@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;1,400&family=Nunito:wght@300;400;500;600;700&display=swap');

:root {
  --navy: #071826;
  --navy-mid: #0d2b3e;
  --teal: #4db8d4;
  --teal-dark: #1a8ba8;
  --teal-xdark: #0f6680;
  --teal-light: #cce8f4;
  --teal-pale: #eaf6fb;
  --cream: #f0f7fa;
  --cream-dark: #daeef6;
  --text: #0d2b3e;
  --text-muted: #4a6f80;
  --white: #ffffff;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 4px 24px rgba(7,24,38,0.10);
  --shadow-sm: 0 2px 10px rgba(7,24,38,0.07);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* ── ACCESSIBILITY: skip link + focus styles ── */
.skip-link {
  position: absolute;
  top: -100px;
  left: 0;
  background: var(--navy);
  color: #ffffff;
  padding: 0.85rem 1.25rem;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  z-index: 1000;
  border-radius: 0 0 8px 0;
  transition: top 0.15s ease;
}
.skip-link:focus {
  top: 0;
  outline: 3px solid var(--teal);
  outline-offset: 2px;
}

/* Visible focus styles for keyboard navigation */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 2px;
  border-radius: 4px;
}

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Nunito', system-ui, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  font-size: 16px;
}

/* ── NAVIGATION ── */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--cream-dark);
  padding: 0 2rem;
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 2rem;
  height: 200px;
  transform: translateX(-100px);
}
.nav-logo { flex-shrink: 0; text-decoration: none; margin-left: -30px; }
.nav-logo svg { height: 48px; width: auto; display: block; }
.nav-links {
  display: flex;
  gap: 0.2rem;
  flex: 1;
  margin-left: 1rem;
}
.nav-links a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 0.5rem 0.8rem;
  border-radius: 8px;
  transition: color 0.2s, background 0.2s;
  white-space: nowrap;
}
.nav-links a:hover, .nav-links a.active {
  color: var(--teal-dark);
  background: var(--teal-pale);
}
.nav-actions {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  flex-shrink: 0;
}

/* ── BUTTONS ── */
.btn {
  display: inline-block;
  text-decoration: none;
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
  line-height: 1;
}
.btn-consult {
  background: var(--teal);
  color: var(--white);
  padding: 0.6rem 1.2rem;
  font-size: 13px;
  letter-spacing: 0.01em;
  box-shadow: 0 2px 12px rgba(77,184,212,0.4);
}
.btn-consult:hover {
  background: var(--teal-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 18px rgba(77,184,212,0.5);
}
.btn-team {
  background: transparent;
  color: var(--navy-mid);
  padding: 0.55rem 1.1rem;
  font-size: 13px;
  border: 1.5px solid var(--cream-dark);
}
.btn-team:hover {
  border-color: var(--teal);
  color: var(--teal-dark);
}
.btn-hero {
  background: var(--teal);
  color: var(--white);
  padding: 1rem 2.5rem;
  font-size: 16px;
  box-shadow: 0 4px 20px rgba(77,184,212,0.45);
}
.btn-hero:hover {
  background: var(--teal-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(77,184,212,0.55);
}
.btn-outline {
  background: transparent;
  color: var(--teal);
  padding: 0.8rem 2rem;
  font-size: 15px;
  border: 2px solid var(--teal);
}
.btn-outline:hover {
  background: var(--teal);
  color: var(--white);
}
.btn-white {
  background: var(--white);
  color: var(--teal-dark);
  padding: 1rem 2.5rem;
  font-size: 16px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}
.btn-white:hover {
  background: var(--teal-pale);
  transform: translateY(-2px);
}

/* ── HERO ── */
.hero {
  background: var(--navy);
  position: relative;
  overflow: hidden;
  padding: 5rem 2rem 0;
  min-height: 560px;
  display: flex;
  align-items: center;
}
.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  padding-bottom: 4rem;
}
.hero-inner--centered {
  grid-template-columns: 1fr;
  max-width: 780px;
}
.hero-inner--centered .hero-text { text-align: center; }
.hero-inner--centered .hero-desc { margin-left: auto; margin-right: auto; }
.hero-inner--centered .hero-actions { justify-content: center; }
.hero-inner--centered h1 { font-size: clamp(2.6rem, 6vw, 5rem); }
.hero-text { position: relative; z-index: 2; text-align: left; }
.hero-eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--teal);
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.hero h1 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(2.4rem, 4.5vw, 3.8rem);
  font-weight: 500;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 1.2rem;
  letter-spacing: -0.01em;
}
.hero h1 em {
  color: var(--teal);
  font-style: normal;
}
.hero-desc {
  color: rgba(255,255,255,0.78);
  font-size: 17px;
  line-height: 1.75;
  margin-bottom: 2rem;
  max-width: 480px;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; align-items: center; }
.hero-image { display: flex; align-items: center; justify-content: center; }
.hero-wave-divider {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  line-height: 0;
}

/* ── SECTIONS ── */
.section {
  padding: 5rem 2rem;
}
.section-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.section-cream { background: var(--cream); }
.section-teal-pale { background: var(--teal-pale); }
.section-navy { background: var(--navy); }

.section-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--teal-dark);
  text-transform: uppercase;
  margin-bottom: 0.7rem;
}
.section-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(1.9rem, 3.5vw, 2.8rem);
  font-weight: 500;
  color: var(--navy-mid);
  line-height: 1.2;
  letter-spacing: -0.01em;
}
.section-title-light { color: var(--white); }
.section-subtitle {
  font-size: 17px;
  color: var(--text-muted);
  margin-top: 1rem;
  max-width: 600px;
  line-height: 1.75;
}
.section-subtitle-light { color: rgba(255,255,255,0.72); }
.section-head { margin-bottom: 3rem; }
.section-head.centered { text-align: center; }
.section-head.centered .section-subtitle { margin: 1rem auto 0; }

/* ── CARDS ── */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.cards-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.cards-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid var(--cream-dark);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s, box-shadow 0.25s;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.card-icon {
  width: 52px;
  height: 52px;
  background: var(--teal-pale);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}
.card-icon svg { width: 26px; height: 26px; }
.card h3 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--navy-mid);
  margin-bottom: 0.6rem;
}
.card p {
  font-size: 14.5px;
  color: var(--text-muted);
  line-height: 1.75;
}
.card-navy {
  background: var(--navy-mid);
  border-color: rgba(77,184,212,0.2);
}
.card-navy h3 { color: var(--white); }
.card-navy p { color: rgba(255,255,255,0.68); }
.card-navy .card-icon { background: rgba(77,184,212,0.18); }

/* ── CONDITIONS LIST ── */
.conditions-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}
.condition-tag {
  background: var(--teal-pale);
  color: var(--teal-xdark);
  border: 1px solid var(--teal-light);
  border-radius: 50px;
  padding: 0.45rem 1.1rem;
  font-size: 14px;
  font-weight: 600;
}

/* ── TWO COLUMN ── */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.two-col.reverse { direction: rtl; }
.two-col.reverse > * { direction: ltr; }

/* ── PROCESS STEPS ── */
.steps { display: flex; flex-direction: column; gap: 1.5rem; }
.step {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}
.step-num {
  width: 36px;
  height: 36px;
  background: var(--teal);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  flex-shrink: 0;
  margin-top: 2px;
}
.step-content h4 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--navy-mid);
  margin-bottom: 0.3rem;
}
.step-content p { font-size: 14.5px; color: var(--text-muted); }

/* ── QUOTE BAND ── */
.quote-band {
  background: var(--teal);
  padding: 4rem 2rem;
  text-align: center;
}
.quote-band blockquote {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 400;
  font-style: italic;
  color: var(--white);
  max-width: 740px;
  margin: 0 auto;
  line-height: 1.5;
}
.quote-band cite {
  display: block;
  font-family: 'Nunito', sans-serif;
  font-style: normal;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  margin-top: 1.5rem;
}

/* ── CTA BAND ── */
.cta-band {
  background: var(--navy);
  padding: 5rem 2rem;
  text-align: center;
}
.cta-band h2 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 500;
  color: var(--white);
  margin-bottom: 1rem;
}
.cta-band p {
  color: rgba(255,255,255,0.7);
  font-size: 17px;
  margin-bottom: 2rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}
.cta-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ── FOOTER ── */
.site-footer {
  background: var(--navy-mid);
  color: rgba(255,255,255,0.6);
  padding: 3rem 2rem;
  text-align: center;
  font-size: 14px;
}
.site-footer a { color: var(--teal-light); text-decoration: none; }
.site-footer a:hover { color: var(--teal); }
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 2rem;
  text-align: left;
  margin-bottom: 2.5rem;
}
.footer-col h4 {
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.footer-col p, .footer-col li {
  font-size: 14px;
  line-height: 2;
  list-style: none;
}
.footer-divider {
  border: none;
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 1.5rem;
}

/* ── ILLUSTRATIONS ── */
.illustration-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.illustration-wrap svg {
  max-width: 100%;
  height: auto;
}

/* ── JOIN TEAM PAGE ── */
.positions-list { display: flex; flex-direction: column; gap: 1rem; }
.position-card {
  background: var(--white);
  border: 1px solid var(--cream-dark);
  border-radius: var(--radius);
  padding: 1.5rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.2s, transform 0.2s;
}
.position-card:hover {
  border-color: var(--teal);
  transform: translateX(4px);
}
.position-info h3 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--navy-mid);
  margin-bottom: 0.3rem;
}
.position-info p { font-size: 14px; color: var(--text-muted); }
.position-tags { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-top: 0.5rem; }
.position-tag {
  font-size: 12px;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  background: var(--teal-pale);
  color: var(--teal-xdark);
}

/* ── INTEROCEPTION ── */
.body-signals {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}
.signal-card {
  background: var(--navy-mid);
  border-radius: var(--radius);
  padding: 1.5rem;
  border: 1px solid rgba(77,184,212,0.2);
}
.signal-card h4 {
  color: var(--teal);
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.signal-card p { color: rgba(255,255,255,0.68); font-size: 14px; }
.signal-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--teal);
  display: inline-block;
  margin-right: 0.4rem;
  box-shadow: 0 0 8px var(--teal);
}



/* ── NAV DROPDOWN ── */
.nav-dropdown {
  position: relative;
  display: flex;
  align-items: center;
}
/* Invisible pad below trigger so mouse can reach dropdown without it closing */
.nav-dropdown::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 18px;
}
.nav-dropdown-trigger {
  cursor: pointer;
  user-select: none;
  display: flex;
  align-items: center;
  height: 100%;
  /* same style as other nav links */
  text-decoration: none;
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 0.5rem 0.8rem;
  border-radius: 8px;
  transition: color 0.2s, background 0.2s;
  white-space: nowrap;
  line-height: 1;
}
.nav-dropdown-trigger:hover,
.nav-dropdown-trigger.active {
  color: var(--teal-dark);
  background: var(--teal-pale);
}
.nav-dropdown-menu {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  position: absolute;
  top: calc(100% + 14px);
  left: 0;
  background: white;
  border: 1px solid var(--cream-dark);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  min-width: 230px;
  padding: 0.5rem 0;
  z-index: 200;
  transition: opacity 0.15s ease, visibility 0s linear 0.4s;
}
.nav-dropdown:hover .nav-dropdown-menu {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transition: opacity 0.15s ease, visibility 0s linear 0s;
}
.nav-dropdown-menu a {
  display: block !important;
  padding: 0.55rem 1.1rem !important;
  font-size: 13px !important;
  color: var(--text-muted) !important;
  border-radius: 0 !important;
  white-space: nowrap;
}
.nav-dropdown-menu a:first-child {
  font-weight: 700 !important;
  color: var(--teal-dark) !important;
  border-bottom: 1px solid var(--cream-dark);
  padding-bottom: 0.65rem !important;
}
.nav-dropdown-menu a:hover {
  background: var(--teal-pale) !important;
  color: var(--teal-dark) !important;
}

/* ── HERO PHOTO ── */
.hero-photo-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-photo {
  width: 100%;
  max-width: 480px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  object-fit: cover;
  max-height: 380px;
}

/* ── FOOTER 2-COL SERVICES ── */
.footer-services-cols {
  display: flex;
  gap: 1.5rem;
}
.footer-services-cols ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

/* ── HERO VIDEO ── */
.hero-video-wrap {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  overflow: hidden;
  z-index: 0;
}
.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-video-overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: linear-gradient(135deg, rgba(7,24,38,0.75) 0%, rgba(7,24,38,0.55) 100%);
}

/* ── LOGO IMAGE — 1.5x ── */
.nav-logo-img {
  height: 180px;
  width: auto;
  display: block;
  padding: 4px 0;
}
.nav-inner {
  height: 200px;
  transform: translateX(-100px);
}

/* ── PAGE HERO ── */
.page-hero {
  background: var(--navy);
  padding: 4rem 2rem;
  text-align: center;
}
.page-hero h1 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 500;
  color: var(--white);
  margin-bottom: 0.75rem;
}
.page-hero p {
  color: rgba(255,255,255,0.75);
  font-size: 17px;
  max-width: 560px;
  margin: 0 auto;
}

/* ── PROGRESS GALLERY ── */
.progress-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.progress-gallery img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s, box-shadow 0.3s;
}
.progress-gallery img:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}


/* ── HOME PAGE NAV — floats over hero ── */
.nav--home {
  position: absolute;
  width: 100%;
  background: transparent;
  border-bottom: none;
  backdrop-filter: none;
}
.nav--home .nav-links a {
  color: rgba(255,255,255,0.88);
}
.nav--home .nav-links a:hover,
.nav--home .nav-links a.active {
  color: #ffffff;
  background: rgba(255,255,255,0.12);
}
.nav--home .nav-dropdown-trigger {
  color: rgba(255,255,255,0.88) !important;
}
.nav--home .nav-dropdown-trigger:hover,
.nav--home .nav-dropdown-trigger.active {
  color: #ffffff !important;
  background: rgba(255,255,255,0.12) !important;
}
.nav--home .btn-consult {
  background: rgba(255,255,255,0.18);
  border: 1.5px solid rgba(255,255,255,0.4);
  color: #ffffff;
}
.nav--home .btn-consult:hover {
  background: rgba(255,255,255,0.28);
}


/* ── HOME HERO — extra top padding so content clears the absolute nav ── */
body.home-page .hero {
  padding-top: 200px;
  min-height: 760px;
}

/* ── MOBILE MENU TOGGLE (hamburger) ── */
.nav-toggle {
  display: none;
  background: transparent;
  border: 0;
  padding: 0.5rem;
  cursor: pointer;
  margin-left: auto;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
}
.nav-toggle span {
  display: block;
  position: relative;
  width: 24px;
  height: 2px;
  background: var(--navy-mid);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.2s ease, background 0.2s ease;
}
.nav-toggle span::before,
.nav-toggle span::after {
  content: '';
  position: absolute;
  left: 0;
  width: 24px;
  height: 2px;
  background: var(--navy-mid);
  border-radius: 2px;
  transition: transform 0.25s ease, top 0.2s ease, background 0.2s ease;
}
.nav-toggle span::before { top: -7px; }
.nav-toggle span::after  { top:  7px; }
.nav--home .nav-toggle span,
.nav--home .nav-toggle span::before,
.nav--home .nav-toggle span::after { background: #ffffff; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after  { top: 0; transform: rotate(-45deg); }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .hero-inner, .two-col, .cards-grid-3, .cards-grid-2, .footer-inner {
    grid-template-columns: 1fr;
  }
  .hero-image { display: none; }
  .two-col.reverse { direction: ltr; }

  /* Reset desktop nav offset & height on mobile */
  .site-nav { padding: 0 1rem; }
  .nav-inner {
    height: 72px;
    transform: none;
    gap: 0.5rem;
    justify-content: space-between;
  }
  .nav-logo { margin-left: 0; }
  .nav-logo-img { height: 56px; padding: 0; }

  /* Show hamburger, hide desktop nav links by default on mobile */
  .nav-toggle { display: inline-flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    background: #ffffff;
    border-bottom: 1px solid var(--cream-dark);
    box-shadow: var(--shadow);
    padding: 0.75rem 1rem 1.25rem;
    gap: 0.25rem;
    max-height: calc(100vh - 72px);
    overflow-y: auto;
    z-index: 150;
  }
  .nav-links.is-open { display: flex; }
  .nav-links a {
    font-size: 16px;
    padding: 0.85rem 0.75rem;
    border-radius: 10px;
    width: 100%;
  }

  /* Dropdowns: expand inline on mobile (no hover needed) */
  .nav-dropdown { width: 100%; flex-direction: column; align-items: stretch; }
  .nav-dropdown::after { display: none; }
  .nav-dropdown-trigger {
    width: 100%;
    font-size: 16px;
    padding: 0.85rem 0.75rem;
    border-radius: 10px;
  }
  .nav-dropdown-menu {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    position: static;
    box-shadow: none;
    border: 0;
    background: var(--cream);
    border-radius: 10px;
    margin: 0.25rem 0 0.5rem 0.75rem;
    padding: 0.25rem 0;
    min-width: 0;
    transition: none;
  }
  .nav-dropdown-menu a {
    font-size: 14.5px !important;
    padding: 0.65rem 0.85rem !important;
  }

  /* Mobile nav-actions: keep CTA inline next to hamburger, just a bit smaller */
  .nav-actions { gap: 0.5rem; }
  .btn-consult { padding: 0.55rem 0.95rem; font-size: 12.5px; }

  /* Home page nav variant on mobile: white menu sheet (links readable) */
  .nav--home { position: absolute; }
  .nav--home .nav-links {
    background: var(--navy);
    border-bottom-color: rgba(255,255,255,0.1);
  }
  .nav--home .nav-links a,
  .nav--home .nav-dropdown-trigger { color: rgba(255,255,255,0.92) !important; }
  .nav--home .nav-dropdown-menu { background: rgba(255,255,255,0.08); }
  .nav--home .nav-dropdown-menu a { color: rgba(255,255,255,0.85) !important; }

  /* Home hero top padding — undo the 200px desktop offset */
  body.home-page .hero { padding-top: 100px; min-height: 0; }

  /* Footer columns on mobile */
  .footer-inner { text-align: center; gap: 1.5rem; }
  .footer-services-cols { justify-content: center; flex-wrap: wrap; }

  /* Position cards: stack content on small screens */
  .position-card { flex-direction: column; align-items: flex-start; gap: 1rem; }
}

@media (max-width: 600px) {
  .section { padding: 3rem 1.25rem; }
  .hero { padding: 3rem 1.25rem 0; }
  .btn-hero { padding: 0.85rem 1.75rem; font-size: 15px; }

  /* Smaller logo on the smallest phones */
  .nav-inner { height: 64px; }
  .nav-links { top: 64px; }
  .nav-logo-img { height: 44px; }

  /* Intro stat strip on the home page — stack on phones */
  .home-page .section [style*="grid-template-columns: repeat(3,1fr)"] {
    grid-template-columns: 1fr !important;
    gap: 1.25rem !important;
  }
  .home-page .section [style*="border-left"] {
    border-left: 0 !important;
    border-right: 0 !important;
    border-top: 1px solid var(--cream-dark);
    border-bottom: 1px solid var(--cream-dark);
    padding: 1rem 0;
  }

  /* Hero typography tightens on small screens */
  .hero h1 { font-size: clamp(2rem, 8vw, 2.8rem); }
  .hero-desc { font-size: 15.5px; }

  /* Quote band & CTA band */
  .quote-band { padding: 3rem 1.25rem; }
  .cta-band { padding: 3.5rem 1.25rem; }

  /* Buttons full-width-ish in stacked hero actions */
  .hero-actions .btn { width: 100%; text-align: center; }

  /* Page hero padding */
  .page-hero { padding: 3rem 1.25rem; }

  /* Site footer padding */
  .site-footer { padding: 2.5rem 1.25rem; }
}

@media (max-width: 900px) {
  .progress-gallery { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 600px) {
  .progress-gallery { grid-template-columns: 1fr; }
  .progress-gallery img { height: 220px; }
}

/* Prevent horizontal overflow on small screens (catch-all safety net) */
@media (max-width: 900px) {
  html, body { overflow-x: hidden; }
  img, video, svg { max-width: 100%; height: auto; }
}
