/* ============================================================
   Haven Home Care Services — style.css
   Clean rewrite with all mobile nav fixes applied
   ============================================================ */

/* ── GOOGLE FONTS ────────────────────────────────────────── */
/* Loaded via HTML link tag */

/* ── RESET & BASE ────────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

/* ── DESIGN TOKENS ───────────────────────────────────────── */
:root {
  --forest:       #1F4B3F;
  --forest-dark:  #163830;
  --leaf:         #3D7A5C;
  --leaf-light:   #5C9A78;
  --sage:         #7FA582;
  --sage-soft:    #B9D4BE;
  --mint:         #EAF4EC;
  --mint-deep:    #DCEEE0;
  --white:        #FFFFFF;
  --ink:          #1B2B24;
  --ink-soft:     #4C5F57;

  --font-display: "Fraunces", serif;
  --font-body:    "Work Sans", sans-serif;

  --radius-lg:    22px;
  --radius-md:    14px;
  --radius-sm:    8px;
  --shadow-soft:  0 20px 40px -20px rgba(31, 75, 63, 0.25);
  --shadow-card:  0 10px 30px -14px rgba(31, 75, 63, 0.22);
  --wrap:         1160px;
}

/* ── WRAP / CONTAINER ────────────────────────────────────── */
.wrap {
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: 24px;
}

/* ── SKIP LINK ───────────────────────────────────────────── */
.skip-link {
  position: absolute;
  top: -100px;
  left: 0;
  z-index: 9999;
  padding: 10px 16px;
  background: var(--leaf);
  color: var(--white);
  font-weight: 600;
  border-radius: 0 0 8px 0;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 0;
}

/* ── TYPOGRAPHY ──────────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.2;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--leaf);
  margin-bottom: 14px;
}

.eyebrow::before {
  content: "";
  width: 18px;
  height: 2px;
  background: var(--leaf);
  border-radius: 2px;
}

.eyebrow--center {
  display: flex;
  justify-content: center;
}

.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  color: var(--forest);
  margin-bottom: 0.5em;
}

.section-lead {
  font-size: 1.08rem;
  color: var(--ink-soft);
  max-width: 580px;
  margin-bottom: 3rem;
}

/* ── BUTTONS ─────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.98rem;
  padding: 14px 26px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    background 0.18s ease,
    color 0.18s ease;
}

.btn-primary {
  background: var(--leaf);
  color: var(--white);
  box-shadow: var(--shadow-soft);
}

.btn-primary:hover {
  background: var(--forest);
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  color: var(--forest);
  border-color: var(--sage-soft);
}

.btn-ghost:hover {
  border-color: var(--leaf);
  background: var(--mint);
}

.btn-block {
  width: 100%;
  justify-content: center;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: saturate(160%) blur(10px);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--mint-deep);
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
  min-height: 70px;
}

/* Push page content below fixed header */
body {
  padding-top: 70px;
}

.hero {
  position: relative;
  z-index: 1;
}

.main-nav {
  z-index: 9998;
}

.nav-toggle {
  z-index: 10000;
  position: relative;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--forest);
  z-index: 201;
  position: relative;
}

.logo-mark {
  color: var(--leaf);
  display: flex;
  align-items: center;
}

.logo-text {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--forest);
}

.logo-text em {
  font-style: normal;
  color: var(--leaf);
}

/* ── DESKTOP NAV ─────────────────────────────────────────── */
.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.main-nav a {
  font-size: 0.96rem;
  font-weight: 500;
  color: var(--ink);
  position: relative;
  transition: color 0.2s ease;
}

.main-nav a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0%;
  height: 2px;
  background: var(--leaf);
  transition: width 0.2s ease;
}

.main-nav a:not(.nav-cta):hover {
  color: var(--leaf);
}

.main-nav a:not(.nav-cta):hover::after {
  width: 100%;
}

.nav-cta {
  background: var(--leaf);
  color: var(--white) !important;
  padding: 10px 22px;
  border-radius: 999px;
  font-weight: 600;
  transition: background 0.2s ease, transform 0.2s ease;
}

.nav-cta:hover {
  background: var(--forest) !important;
  transform: translateY(-1px);
}

.nav-cta::after {
  display: none !important;
}

/* ── HAMBURGER BUTTON ────────────────────────────────────── */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 6px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 201;
  position: relative;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  flex-shrink: 0;
  border-radius: 10px;
  transition: background 0.2s ease;
}

.nav-toggle:active {
  background: var(--mint);
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--forest);
  border-radius: 3px;
  transition: transform 0.25s ease, opacity 0.25s ease;
  transform-origin: center;
}

/* Hamburger animates into X when open */
.nav-toggle.nav-toggle--open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.nav-toggle--open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.nav-toggle.nav-toggle--open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  position: relative;
  background: linear-gradient(
    180deg,
    var(--mint) 0%,
    #F4FAF5 60%,
    var(--white) 100%
  );
  overflow: hidden;
  padding-top: 64px;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 0.85fr;
  gap: 40px;
  align-items: center;
  padding-bottom: 90px;
}

.hero-copy h1 {
  font-size: clamp(2.2rem, 4.4vw, 3.4rem);
  color: var(--forest);
  margin-bottom: 0.5em;
}

.hero-copy .ink {
  color: var(--leaf);
}

.hero-lead {
  font-size: 1.08rem;
  color: var(--ink-soft);
  max-width: 480px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 1.6em 0 2.2em;
}

.hero-trust {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  padding: 0;
  margin: 0;
}

.hero-trust li {
  font-size: 0.92rem;
  color: var(--ink-soft);
  position: relative;
  padding-left: 20px;
}

.hero-trust li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--sage);
}

.hero-trust strong {
  color: var(--forest);
}

/* Hero visual / orbit */
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 380px;
}

.leaf-orbit {
  position: relative;
  width: 340px;
  height: 340px;
}

.pulse-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1.5px solid var(--sage);
  opacity: 0.6;
  animation: pulse 3.6s ease-out infinite;
}

.pulse-ring--delay {
  animation-delay: 1.8s;
}

@keyframes pulse {
  0%   { transform: scale(0.7); opacity: 0.55; }
  100% { transform: scale(1.25); opacity: 0; }
}

.leaf {
  position: absolute;
  width: 34px;
  height: 34px;
  background: var(--leaf-light);
  border-radius: 0% 60% 0% 60%;
  opacity: 0.85;
  animation: float 7s ease-in-out infinite;
}

.leaf-1 {
  top: 6%;
  left: 10%;
  background: var(--sage);
  animation-delay: 0s;
}

.leaf-2 {
  bottom: 10%;
  left: 0%;
  width: 24px;
  height: 24px;
  background: var(--mint-deep);
  border: 1px solid var(--sage-soft);
  animation-delay: 2.2s;
}

.leaf-3 {
  top: 12%;
  right: 4%;
  width: 26px;
  height: 26px;
  background: var(--forest);
  opacity: 0.15;
  animation-delay: 4s;
}

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50%       { transform: translateY(-14px) rotate(12deg); }
}

.hero-card {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 220px;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 20px 22px;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--mint-deep);
}

.hero-card-label {
  margin: 0 0 6px;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--sage);
  font-weight: 600;
}

.hero-card-name {
  margin: 0 0 4px;
  font-family: var(--font-display);
  color: var(--forest);
  font-size: 1.1rem;
}

.hero-card-time {
  margin: 0;
  font-size: 0.82rem;
  color: var(--ink-soft);
}

.hero-wave {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 70px;
  background: var(--white);
  clip-path: path('M0,40 C 240,90 480,0 720,30 C 960,60 1200,10 1440,40 L1440,100 L0,100 Z');
  width: 100%;
}

/* ============================================================
   GALLERY
   ============================================================ */
.gallery {
  padding: 90px 0;
  background: #f8fafc;
}

.gallery .section-title {
  text-align: center;
  margin-bottom: 50px;
}

.gallery .section-title h2 {
  font-size: 2.3rem;
  color: var(--forest);
  margin-bottom: 15px;
}

.gallery .section-title p {
  color: var(--ink-soft);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
}

.gallery-item {
  overflow: hidden;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.gallery-item img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.gallery-item:hover img {
  transform: scale(1.06);
}

/* ============================================================
   SERVICES
   ============================================================ */
.services {
  padding: 100px 0 90px;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.service-card {
  background: var(--mint);
  border: 1px solid var(--mint-deep);
  border-radius: var(--radius-lg);
  padding: 30px 26px;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card);
  background: var(--white);
}

.service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--white);
  color: var(--leaf);
  margin-bottom: 18px;
}

.service-card:hover .service-icon {
  background: var(--leaf);
  color: var(--white);
}

.service-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.4em;
  color: var(--forest);
}

.service-card p {
  margin: 0;
  font-size: 0.96rem;
  color: var(--ink-soft);
}

/* ============================================================
   PROCESS
   ============================================================ */
.process {
  background: var(--forest);
  padding: 100px 0;
  color: var(--white);
}

.process .eyebrow {
  color: var(--sage-soft);
}

.process .eyebrow::before {
  background: var(--sage-soft);
}

.process .section-title {
  color: var(--white);
}

.process .section-lead {
  color: rgba(255, 255, 255, 0.75);
}

.process-steps {
  list-style: none;
  margin: 3rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.step {
  position: relative;
  padding-top: 20px;
  border-top: 2px solid rgba(255, 255, 255, 0.18);
}

.step-num {
  display: block;
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--sage-soft);
  margin-bottom: 0.5em;
}

.step h3 {
  color: var(--white);
  font-size: 1.08rem;
  margin-bottom: 0.5em;
}

.step p {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.94rem;
  margin: 0;
}

/* ============================================================
   CAREGIVERS
   ============================================================ */
.caregivers {
  padding: 100px 0;
}

.caregivers-inner {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;
  align-items: center;
}

.caregivers-copy h2 {
  color: var(--forest);
  margin-bottom: 0.5em;
}

.caregivers-copy > p {
  color: var(--ink-soft);
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 1.6em 0 0;
  display: grid;
  gap: 12px;
}

.check-list li {
  position: relative;
  padding-left: 30px;
  color: var(--ink);
  font-weight: 500;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--mint-deep);
  box-shadow: inset 0 0 0 2px var(--leaf);
}

.check-list li::after {
  content: "";
  position: absolute;
  left: 5.5px;
  top: 7px;
  width: 8px;
  height: 4px;
  border-left: 2px solid var(--leaf);
  border-bottom: 2px solid var(--leaf);
  transform: rotate(-45deg);
}

.caregivers-stats {
  display: grid;
  gap: 20px;
}

.stat {
  background: var(--mint);
  border-radius: var(--radius-lg);
  padding: 26px 28px;
  border: 1px solid var(--mint-deep);
}

.stat-num {
  font-family: var(--font-display);
  font-size: 2.2rem;
  color: var(--forest);
  margin: 0;
}

.stat-num span {
  font-size: 1.1rem;
  color: var(--sage);
}

.stat-label {
  margin: 4px 0 0;
  font-size: 0.9rem;
  color: var(--ink-soft);
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials {
  background: var(--mint);
  padding: 100px 0;
  overflow: hidden;
}

.testimonial-track {
  display: flex;
  gap: 26px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 10px;
  scrollbar-width: none;
}

.testimonial-track::-webkit-scrollbar {
  display: none;
}

.testimonial {
  scroll-snap-align: start;
  flex: 0 0 100%;
  max-width: 640px;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px 44px;
  box-shadow: var(--shadow-card);
}

.testimonial p {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--forest);
  line-height: 1.5;
}

.testimonial footer {
  font-size: 0.9rem;
  color: var(--leaf);
  font-weight: 600;
  margin-top: 16px;
  display: block;
}

.testimonial-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 26px;
}

.testimonial-dots button {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: none;
  background: var(--sage-soft);
  cursor: pointer;
  padding: 0;
  transition: width 0.2s ease, background 0.2s ease;
}

.testimonial-dots .dot--active {
  background: var(--leaf);
  width: 24px;
  border-radius: 999px;
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact {
  padding: 100px 0 110px;
}

.contact-inner {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
  align-items: start;
}

.contact-copy h2 {
  color: var(--forest);
  margin-bottom: 0.5em;
}

.contact-copy > p {
  color: var(--ink-soft);
}

.contact-details {
  list-style: none;
  padding: 0;
  margin: 1.6em 0 0;
  display: grid;
  gap: 14px;
}

.contact-details li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--forest);
  font-weight: 600;
  font-size: 0.96rem;
}

.contact-details svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--leaf);
}

.contact-form {
  background: var(--mint);
  border: 1px solid var(--mint-deep);
  border-radius: var(--radius-lg);
  padding: 34px;
  display: grid;
  gap: 18px;
}

.form-row {
  display: grid;
  gap: 6px;
}

.form-row label {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--forest);
}

.form-row input,
.form-row select,
.form-row textarea {
  font-family: var(--font-body);
  font-size: 0.96rem;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--sage-soft);
  background: var(--white);
  color: var(--ink);
  resize: vertical;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  outline: none;
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  border-color: var(--leaf);
  box-shadow: 0 0 0 3px rgba(61, 122, 92, 0.12);
}

.form-note {
  min-height: 1.2em;
  margin: 0;
  font-size: 0.88rem;
  color: var(--leaf);
  font-weight: 600;
}

.form-note--success {
  display: block;
  padding: 12px 16px;
  background: #D1FAE5;
  color: #065F46;
  border: 1px solid #A7F3D0;
  border-radius: 8px;
  font-size: 0.92rem;
  font-weight: 500;
}

.form-note--error {
  display: block;
  padding: 12px 16px;
  background: #FEE2E2;
  color: #991B1B;
  border: 1px solid #FECACA;
  border-radius: 8px;
  font-size: 0.92rem;
  font-weight: 500;
}

.field-error {
  display: block;
  font-size: 0.8rem;
  color: #DC2626;
  margin-top: 4px;
}

.input-error {
  border-color: #DC2626 !important;
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.12) !important;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--forest-dark);
  color: rgba(255, 255, 255, 0.78);
  padding-top: 64px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-brand .logo-text {
  color: var(--white);
}

.footer-brand .logo-text em {
  color: var(--sage-soft);
}

.footer-brand p {
  max-width: 280px;
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.92rem;
}

.footer-links {
  display: flex;
  gap: 60px;
}

.footer-links h4 {
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 14px;
}

.footer-links a {
  display: block;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.94rem;
  margin-bottom: 10px;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--sage-soft);
}

.footer-bottom {
  padding: 22px 0;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.5);
}

/* ============================================================
   RESPONSIVE — TABLET (≤960px)
   ============================================================ */
@media (max-width: 960px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 300px;
    order: -1;
  }

  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .caregivers-inner {
    grid-template-columns: 1fr;
  }

  .contact-inner {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   RESPONSIVE — MOBILE (≤720px)
   ============================================================ */
@media (max-width: 720px) {

  /* Show hamburger, hide desktop nav */
  .nav-toggle {
    display: flex !important;
  }

  /* The original header-nested nav is not used as the mobile dropdown
     (nesting it inside the header made it unreliable across browsers).
     It's fully hidden on mobile; script.js builds an independent
     overlay panel (see .mobile-nav-overlay below) instead. */
  .main-nav {
    display: none !important;
  }

  /* Mobile menu panel — a floating panel that sits on top of the content
     without covering the entire screen. */
  .mobile-nav-overlay {
    display: flex;
    position: fixed;
    top: 80px;
    right: 16px;
    left: 16px;
    max-height: calc(100vh - 100px);
    max-width: 420px;
    margin: 0 auto;
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--mint-deep);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 8px 20px;
    z-index: 500;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    box-shadow: 0 25px 50px -12px rgba(31, 75, 63, 0.25);

    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    pointer-events: none;
    transition: opacity 0.28s ease, transform 0.28s ease, visibility 0.28s;
  }

  /* JS toggles this class open/closed */
  .mobile-nav-overlay.nav--open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
  }

  /* Each nav link — staggered fade/slide in when the menu opens */
  .mobile-nav-overlay a {
    display: block;
    padding: 15px 16px;
    font-size: 1.05rem;
    font-weight: 500;
    color: var(--ink);
    border-bottom: 1px solid var(--mint-deep);
    border-radius: 0;
    transition: background 0.15s ease, color 0.15s ease,
      opacity 0.25s ease, transform 0.25s ease;
    opacity: 0;
    transform: translateY(8px);
  }

  .mobile-nav-overlay.nav--open a {
    opacity: 1;
    transform: translateY(0);
  }

  .mobile-nav-overlay.nav--open a:nth-child(1) { transition-delay: 0.05s; }
  .mobile-nav-overlay.nav--open a:nth-child(2) { transition-delay: 0.1s; }
  .mobile-nav-overlay.nav--open a:nth-child(3) { transition-delay: 0.15s; }
  .mobile-nav-overlay.nav--open a:nth-child(4) { transition-delay: 0.2s; }
  .mobile-nav-overlay.nav--open a:nth-child(5) { transition-delay: 0.25s; }

  .mobile-nav-overlay a::after {
    display: none;
  }

  .mobile-nav-overlay a:hover {
    background: var(--mint);
    color: var(--leaf);
    border-radius: 8px;
  }

  /* Get started CTA pill */
  .mobile-nav-overlay .nav-cta {
    margin-top: 16px;
    background: var(--leaf);
    color: var(--white) !important;
    text-align: center;
    border-radius: 999px;
    border-bottom: none;
    padding: 13px 22px;
  }

  .mobile-nav-overlay .nav-cta:hover {
    background: var(--forest) !important;
  }

  /* Other layout fixes */
  .card-grid {
    grid-template-columns: 1fr;
  }

  .process-steps {
    grid-template-columns: 1fr;
  }

  .testimonial {
    padding: 30px 26px;
  }

  .testimonial p {
    font-size: 1.1rem;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    justify-content: center;
  }

  .footer-links {
    gap: 32px;
    flex-wrap: wrap;
  }
}

/* ============================================================
   DESKTOP — ensure nav shows correctly (≥721px)
   ============================================================ */
@media (min-width: 721px) {
  .nav-toggle {
    display: none !important;
  }

  .main-nav {
    display: flex !important;
    position: static;
    flex-direction: row;
    align-items: center;
    gap: 28px;
    background: none;
    padding: 0;
    border: none;
    backdrop-filter: none;
    overflow: visible;
    opacity: 1;
    visibility: visible;
    transform: none;
    pointer-events: auto;
  }

  .main-nav a {
    border-bottom: none;
    padding: 0;
    opacity: 1;
    transform: none;
  }
}

/* ============================================================
   BODY SCROLL LOCK when mobile menu is open
   ============================================================ */
body.nav-open {
  overflow: hidden;
}