/* ═══════════════════════════════════════════════════
   IMM Employment Solutions — Design System
   Modern & Clean Corporate Theme
   ═══════════════════════════════════════════════════ */

/* ── Variables ── */
:root {
  --brand-blue: #1F4E79;
  --brand-blue-light: #2E86C1;
  --brand-blue-dark: #163A5C;
  --brand-blue-bg: #EBF5FB;
  --brand-blue-hover: #174068;
  --accent: #2E86C1;
  --accent-light: #7FB3D8;
  --text-dark: #1A1A2E;
  --text-body: #333333;
  --text-muted: #6B7280;
  --text-light: #9CA3AF;
  --white: #FFFFFF;
  --off-white: #F8FAFB;
  --light-grey: #F1F5F9;
  --border: #E2E8F0;
  --shadow-sm: 0 2px 8px rgba(31,78,121,0.06);
  --shadow-md: 0 4px 20px rgba(31,78,121,0.08);
  --shadow-lg: 0 12px 40px rgba(31,78,121,0.10);
  --shadow-xl: 0 24px 60px rgba(31,78,121,0.12);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --max-width: 1200px;
  --header-height: 80px;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text-body);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand-blue); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--brand-blue-light); }
ul { list-style: none; }

/* ── Typography ── */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Inter', -apple-system, sans-serif;
  color: var(--text-dark);
  line-height: 1.2;
  font-weight: 700;
}
h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); letter-spacing: -0.03em; }
h2 { font-size: clamp(1.9rem, 3.5vw, 2.8rem); letter-spacing: -0.02em; }
h3 { font-size: clamp(1.25rem, 2vw, 1.6rem); letter-spacing: -0.01em; }
h4 { font-size: 1.1rem; }
p { margin-bottom: 1rem; }
.text-muted { color: var(--text-muted); }
.text-brand { color: var(--brand-blue); }
.text-accent { color: var(--accent); }
.text-center { text-align: center; }
.text-white { color: var(--white); }

/* ── Layout ── */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }
.section { padding: 100px 0; }
.section-sm { padding: 60px 0; }
.section-lg { padding: 120px 0; }

/* ── Header / Nav ── */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-height);
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
  transition: box-shadow var(--transition);
}
.site-header.scrolled { box-shadow: var(--shadow-md); }
.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo { height: 38px; width: auto; }
.logo img { height: 100%; width: auto; }

/* Desktop Nav */
.nav-links { display: flex; align-items: center; gap: 8px; }
.nav-links a {
  padding: 8px 14px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-body);
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}
.nav-links a:hover, .nav-links a.active {
  color: var(--brand-blue);
  background: var(--brand-blue-bg);
}
/* Nav CTA button override */
.nav-links a.btn-primary {
  color: var(--white);
  background: var(--brand-blue);
}
.nav-links a.btn-primary:hover {
  background: var(--brand-blue-hover);
  color: var(--white);
  box-shadow: var(--shadow-md);
}
/* Dropdown */
.nav-dropdown { position: relative; }
.nav-dropdown > a::after { content: ' \25BE'; font-size: 0.7em; }
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  min-width: 220px;
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all var(--transition);
}
.nav-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown-menu a {
  display: block;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
}
.dropdown-menu a:hover { background: var(--brand-blue-bg); }
.dropdown-menu .pillar-num {
  display: inline-block;
  width: 22px;
  height: 22px;
  line-height: 22px;
  text-align: center;
  background: var(--brand-blue);
  color: var(--white);
  border-radius: 50%;
  font-size: 0.7rem;
  font-weight: 700;
  margin-right: 8px;
}

/* Mobile Nav */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 36px;
  height: 36px;
  position: relative;
}
.mobile-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-dark);
  position: absolute;
  left: 6px;
  transition: all var(--transition);
}
.mobile-toggle span:nth-child(1) { top: 10px; }
.mobile-toggle span:nth-child(2) { top: 17px; }
.mobile-toggle span:nth-child(3) { top: 24px; }
.mobile-toggle.open span:nth-child(1) { transform: rotate(45deg); top: 17px; }
.mobile-toggle.open span:nth-child(2) { opacity: 0; }
.mobile-toggle.open span:nth-child(3) { transform: rotate(-45deg); top: 17px; }

.mobile-nav {
  display: none;
  position: fixed;
  top: var(--header-height);
  left: 0; right: 0; bottom: 0;
  background: var(--white);
  z-index: 999;
  padding: 24px;
  overflow-y: auto;
}
.mobile-nav.open { display: block; }
.mobile-nav a {
  display: block;
  padding: 14px 0;
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--text-body);
  border-bottom: 1px solid var(--border);
}
.mobile-nav a:hover { color: var(--brand-blue); }
.mobile-nav .nav-group-title {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-top: 16px;
  padding-bottom: 8px;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  text-align: center;
}
.btn-primary {
  background: var(--brand-blue);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--brand-blue-hover);
  color: var(--white);
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}
.btn-secondary {
  background: transparent;
  color: var(--brand-blue);
  border: 2px solid var(--brand-blue);
}
.btn-secondary:hover {
  background: var(--brand-blue);
  color: var(--white);
}
.btn-white {
  background: var(--white);
  color: var(--brand-blue);
}
.btn-white:hover {
  background: var(--off-white);
  color: var(--brand-blue);
  box-shadow: var(--shadow-md);
}
.btn-sm { padding: 10px 20px; font-size: 0.85rem; }
.btn-lg { padding: 18px 36px; font-size: 1.05rem; }
.btn-group { display: flex; gap: 16px; flex-wrap: wrap; }

/* ── Hero ── */
.hero {
  padding: 140px 0 80px;
  background: linear-gradient(135deg, var(--brand-blue) 0%, var(--brand-blue-dark) 100%);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: '';
  position: absolute;
  top: -50%; right: -20%;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: rgba(46,134,193,0.1);
}
.hero h1 { color: var(--white); margin-bottom: 24px; }
.hero p { font-size: 1.2rem; opacity: 0.9; max-width: 620px; margin-bottom: 40px; line-height: 1.8; }
.hero .label {
  display: inline-block;
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(4px);
  padding: 8px 20px;
  border-radius: 24px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 24px;
  border: 1px solid rgba(255,255,255,0.15);
}
.hero-home { padding: 180px 0 120px; min-height: 85vh; display: flex; align-items: center; }
.hero-home .container { width: 100%; }
.hero-home h1 { font-size: clamp(2.8rem, 5.5vw, 4.2rem); max-width: 750px; line-height: 1.1; }

/* ── Cards ── */
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 32px;
  transition: all var(--transition);
}
.card:hover {
  box-shadow: var(--shadow-lg);
  border-color: transparent;
  transform: translateY(-4px);
}
.card-icon {
  width: 52px; height: 52px;
  background: var(--brand-blue-bg);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 1.4rem;
}
.card h3 { margin-bottom: 12px; }
.card p { color: var(--text-muted); font-size: 0.95rem; }

/* ── Grid ── */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* ── Pillar Cards (Homepage) ── */
.pillar-card { position: relative; }
.pillar-card .pillar-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  background: var(--brand-blue);
  color: var(--white);
  border-radius: 50%;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 16px;
}
.pillar-card .pillar-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 8px;
}
.pillar-card a.card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--brand-blue);
}
.pillar-card a.card-link:hover { gap: 10px; }

/* ── Section Headers ── */
.section-header { text-align: center; max-width: 700px; margin: 0 auto 48px; }
.section-header .label {
  display: inline-block;
  background: var(--brand-blue-bg);
  color: var(--brand-blue);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.section-header h2 { margin-bottom: 16px; }
.section-header p { color: var(--text-muted); font-size: 1.05rem; }

/* ── Stats Bar ── */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  padding: 48px 0;
}
.stat {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.stat-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-blue);
  opacity: 0.7;
  transition: opacity var(--transition);
}
.stat:hover .stat-icon { opacity: 1; }
.stat-number {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--brand-blue);
  line-height: 1;
}
.stat-label {
  font-size: 0.9rem;
  color: var(--text-muted);
}
.stat-label-text {
  font-size: 0.95rem;
  color: var(--text-body);
  font-weight: 500;
  line-height: 1.4;
  max-width: 120px;
}

/* ── Feature Rows (alternating image + text) ── */
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 60px 0;
}
.feature-row.reverse { direction: rtl; }
.feature-row.reverse > * { direction: ltr; }
.feature-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.feature-img img { width: 100%; height: 300px; object-fit: cover; }
.feature-content h3 { margin-bottom: 16px; }
.feature-content p { color: var(--text-muted); margin-bottom: 16px; }
.feature-content ul { margin-bottom: 20px; }
.feature-content li {
  padding: 6px 0 6px 24px;
  position: relative;
  color: var(--text-muted);
  font-size: 0.95rem;
}
.feature-content li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  color: var(--brand-blue);
  font-weight: 700;
}

/* ── CTA Section ── */
.cta-section {
  background: linear-gradient(135deg, var(--brand-blue) 0%, var(--brand-blue-dark) 100%);
  color: var(--white);
  padding: 80px 0;
  text-align: center;
}
.cta-section h2 { color: var(--white); margin-bottom: 16px; }
.cta-section p { opacity: 0.9; max-width: 600px; margin: 0 auto 32px; font-size: 1.1rem; }

/* ── Lifecycle Connector ── */
.lifecycle-bar {
  display: flex;
  justify-content: center;
  gap: 0;
  padding: 40px 0;
  flex-wrap: wrap;
}
.lifecycle-step {
  display: flex;
  align-items: center;
  gap: 0;
}
.lifecycle-step a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  border: 2px solid var(--border);
  transition: all var(--transition);
}
.lifecycle-step a:hover,
.lifecycle-step a.active {
  background: var(--brand-blue);
  color: var(--white);
  border-color: var(--brand-blue);
}
.lifecycle-step .arrow {
  color: var(--border);
  font-size: 1.2rem;
  padding: 0 4px;
}

/* ── Testimonial ── */
.testimonial-card {
  background: var(--off-white);
  border-radius: var(--radius-lg);
  padding: 40px;
  position: relative;
}
.testimonial-card::before {
  content: '\201C';
  position: absolute;
  top: 16px; left: 24px;
  font-size: 4rem;
  color: var(--accent-light);
  line-height: 1;
}
.testimonial-card blockquote {
  font-size: 1.1rem;
  line-height: 1.8;
  font-style: italic;
  color: var(--text-body);
  margin-bottom: 20px;
  padding-left: 8px;
}
.testimonial-author { font-weight: 600; color: var(--text-dark); }
.testimonial-role { font-size: 0.85rem; color: var(--text-muted); }

/* ── Process Steps ── */
.process-steps { counter-reset: step; }
.process-step {
  display: flex;
  gap: 24px;
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
}
.process-step:last-child { border-bottom: none; }
.step-number {
  flex-shrink: 0;
  width: 48px; height: 48px;
  background: var(--brand-blue);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
}
.step-content h4 { margin-bottom: 6px; }
.step-content p { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 0; }

/* ── Differentiators (3-column) ── */
.diff-card {
  text-align: center;
  padding: 40px 24px;
}
.diff-card .diff-icon {
  font-size: 2rem;
  margin-bottom: 16px;
}
.diff-card h4 { margin-bottom: 10px; color: var(--brand-blue); }
.diff-card p { color: var(--text-muted); font-size: 0.9rem; }

/* ── Services List ── */
.service-item {
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
}
.service-item:last-child { border-bottom: none; }
.service-item h4 { color: var(--brand-blue); margin-bottom: 6px; }
.service-item p { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 0; }

/* ── Industry Cards ── */
.industry-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
}
.industry-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}
.industry-card-img { height: 200px; overflow: hidden; }
.industry-card-img img { width: 100%; height: 100%; object-fit: cover; }
.industry-card-body { padding: 28px; }
.industry-card-body h3 { margin-bottom: 8px; }
.industry-card-body .tagline {
  color: var(--accent);
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 12px;
}
.industry-card-body p { color: var(--text-muted); font-size: 0.95rem; }

/* ── Team Cards ── */
.team-card { text-align: center; }
.team-card .team-photo {
  width: 160px; height: 160px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 16px;
  border: 4px solid var(--brand-blue-bg);
}
.team-card h4 { margin-bottom: 4px; }
.team-card .team-role { font-size: 0.85rem; color: var(--accent); font-weight: 600; margin-bottom: 8px; }
.team-card p { font-size: 0.9rem; color: var(--text-muted); }

/* ── Values Grid ── */
.value-card {
  padding: 32px;
  border-left: 4px solid var(--brand-blue);
  background: var(--off-white);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}
.value-card h4 { color: var(--brand-blue); margin-bottom: 8px; }
.value-card p { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 0; }

/* ── Contact Form ── */
.contact-form {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-sm);
}
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 6px;
  color: var(--text-dark);
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-family: inherit;
  transition: border-color var(--transition);
  background: var(--off-white);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--brand-blue);
  box-shadow: 0 0 0 3px rgba(31,78,121,0.1);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* ── Office Cards ── */
.office-card {
  background: var(--off-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.office-map {
  height: 200px;
  background: var(--light-grey);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.9rem;
}
.office-info { padding: 28px; }
.office-info h3 { margin-bottom: 16px; }
.office-info .office-detail {
  display: flex;
  gap: 12px;
  padding: 8px 0;
  font-size: 0.95rem;
  color: var(--text-body);
}
.office-info .office-detail .icon { color: var(--brand-blue); font-size: 1.1rem; min-width: 20px; }

/* ── FAQ ── */
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  cursor: pointer;
  font-weight: 600;
  font-size: 1rem;
  color: var(--text-dark);
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  font-family: inherit;
}
.faq-question:hover { color: var(--brand-blue); }
.faq-question .toggle { font-size: 1.4rem; color: var(--accent); transition: transform var(--transition); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}
.faq-answer.open { max-height: 500px; }
.faq-answer p { padding-bottom: 20px; color: var(--text-muted); line-height: 1.8; }

/* ── Footer ── */
.site-footer {
  background: var(--brand-blue-dark);
  color: rgba(255,255,255,0.7);
  padding: 60px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-col h4 {
  color: var(--white);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}
.footer-col p { font-size: 0.9rem; line-height: 1.7; }
.footer-col a {
  display: block;
  padding: 4px 0;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  transition: color var(--transition);
}
.footer-col a:hover { color: var(--white); }
.footer-col .footer-logo { height: 32px; margin-bottom: 16px; }
.footer-bottom {
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
}
.footer-social { display: flex; gap: 16px; }
.footer-social a {
  width: 36px; height: 36px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  transition: all var(--transition);
}
.footer-social a:hover {
  background: var(--accent);
  color: var(--white);
}

/* ── Background Variants ── */
.bg-light { background: var(--off-white); }
.bg-blue-light { background: var(--brand-blue-bg); }
.bg-dark {
  background: linear-gradient(135deg, var(--brand-blue) 0%, var(--brand-blue-dark) 100%);
  color: var(--white);
}
.bg-dark h2, .bg-dark h3 { color: var(--white); }
.bg-dark p { color: rgba(255,255,255,0.85); }

/* ── Responsive ── */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .feature-row { grid-template-columns: 1fr; gap: 32px; }
  .feature-row.reverse { direction: ltr; }
  .stats-bar { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .mobile-toggle { display: block; }
  .hero { padding: 120px 0 60px; }
  .hero-home { padding: 130px 0 70px; }
  .section { padding: 48px 0; }
  .grid-2 { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .stats-bar { grid-template-columns: 1fr 1fr; gap: 24px; }
  .form-row { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
  .lifecycle-bar { gap: 8px; }
  .lifecycle-step .arrow { display: none; }
  .btn-group { flex-direction: column; }
  .btn-group .btn { width: 100%; justify-content: center; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .stats-bar { grid-template-columns: 1fr; }
}

/* ── Animations ── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
.animate-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.animate-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ═══════════════════════════════════════════════════
   UPGRADE V2 — Professional Enhancements
   ═══════════════════════════════════════════════════ */

/* ── Skip Link (Accessibility) ── */
.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  background: var(--brand-blue);
  color: var(--white);
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  z-index: 9999;
  font-weight: 600;
  font-size: 0.9rem;
  transition: top 0.2s;
}
.skip-link:focus {
  top: 8px;
  color: var(--white);
}

/* ── Top Bar (Phone numbers + CTA) ── */
.top-bar {
  background: var(--brand-blue-dark);
  color: rgba(255,255,255,0.85);
  font-size: 0.8rem;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.top-bar-left {
  display: flex;
  gap: 24px;
  align-items: center;
}
.top-bar-item {
  display: flex;
  align-items: center;
  gap: 6px;
}
.top-bar-item svg {
  opacity: 0.7;
}
.top-bar-cta {
  color: var(--white) !important;
  font-weight: 600;
  font-size: 0.8rem;
  background: var(--accent);
  padding: 4px 14px;
  border-radius: 20px;
  transition: all var(--transition);
}
.top-bar-cta:hover {
  background: var(--brand-blue-light);
  color: var(--white) !important;
}

/* Adjust header position for top bar */
.site-header {
  top: 36px;
}

/* Adjust hero padding for combined top-bar + header height */
.hero { padding-top: 176px; }
.hero-home { padding-top: 196px; }

/* ── Breadcrumbs ── */
.breadcrumbs {
  padding: 12px 0;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: calc(var(--header-height) + 36px);
  background: var(--off-white);
  border-bottom: 1px solid var(--border);
}
.breadcrumbs a {
  color: var(--brand-blue);
  font-weight: 500;
}
.breadcrumbs a:hover { text-decoration: underline; }
.breadcrumb-sep {
  margin: 0 8px;
  color: var(--text-light);
}
.breadcrumb-current {
  color: var(--text-body);
  font-weight: 600;
}
/* On pages with breadcrumbs, hero doesn't need extra top padding */
.breadcrumbs + section.hero,
.breadcrumbs + .hero {
  padding-top: 60px;
  margin-top: 0;
}

/* ── Trust Bar ── */
.trust-bar {
  padding: 48px 0;
  text-align: center;
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.trust-bar-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-light);
  margin-bottom: 24px;
  font-weight: 600;
}
.trust-logos-scroll {
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}
.trust-logos-track {
  display: flex;
  align-items: center;
  gap: 56px;
  animation: scrollLogos 40s linear infinite;
  width: max-content;
}
.trust-logos-track:hover {
  animation-play-state: paused;
}
.trust-logo {
  height: 56px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.5;
  transition: all 0.4s ease;
  flex-shrink: 0;
}
.trust-logo:hover {
  filter: grayscale(0%);
  opacity: 1;
}
@keyframes scrollLogos {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ── Back to Top Button ── */
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 44px;
  height: 44px;
  background: var(--brand-blue);
  color: var(--white);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all var(--transition);
  z-index: 900;
}
.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.back-to-top:hover {
  background: var(--brand-blue-hover);
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

/* ── Responsive for new components ── */
@media (max-width: 768px) {
  .top-bar-left { gap: 12px; flex-wrap: wrap; }
  .top-bar-item:nth-child(3) { display: none; } /* Hide email on small screens */
  .top-bar { padding: 6px 0; }
  .site-header { top: 32px; }
  .hero { padding-top: 152px; }
  .hero-home { padding-top: 162px; }
  .breadcrumbs { margin-top: calc(var(--header-height) + 32px); }
  .trust-logos { gap: 20px; }
  .trust-logo-placeholder { width: 110px; height: 40px; }
  .back-to-top { bottom: 20px; right: 20px; }
}

@media (max-width: 480px) {
  .top-bar-left { display: none; }
  .top-bar-inner { justify-content: center; }
}
