/* ==========================================================================
   Manna Home Care: base styles (mobile first)
   Larger-screen adjustments live in responsive.css
   ========================================================================== */

/* ---------- Design tokens ---------- */
:root {
  /* Brand colours: taken from the Manna Home Care logo (teal + leaf green) */
  --brand: #0e5f78;        /* deep teal: primary buttons, links */
  --brand-deep: #0a4a5e;
  --brand-ink: #0a2f3c;    /* headings, dark sections */
  --teal: #0aa6c6;         /* bright logo teal */
  --teal-soft: #dff2f6;
  --leaf: #7ac420;         /* logo green */
  --leaf-deep: #3d8a14;    /* green text / accents (AA on light) */
  --leaf-soft: #e8f4dc;
  --line-green: #a6cf7e;
  --ivory: #f1f6f3;
  --cream: #fafcfa;
  --peach: #f4d8c4;        /* small warm accent */
  --peach-soft: #fbeee4;
  --peach-deep: #a85a2c;
  --charcoal: #283a40;
  --muted: #566a70;
  --line: #d5e3e4;
  --white: #ffffff;
  --wa-green: #25d366;
  --wa-green-dark: #128c4b;
  --error: #b3261e;

  /* Typography */
  --font: "Plus Jakarta Sans", "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --fs-xs: 0.8125rem;
  --fs-sm: 0.9375rem;
  --fs-base: 1rem;
  --fs-md: 1.125rem;
  --fs-lg: clamp(1.25rem, 1.1rem + 0.6vw, 1.5rem);
  --fs-xl: clamp(1.625rem, 1.3rem + 1.4vw, 2.375rem);
  --fs-2xl: clamp(2rem, 1.4rem + 2.8vw, 3.5rem);
  --fs-hero: clamp(2.375rem, 1.5rem + 4.2vw, 4.75rem);
  --lh-tight: 1.08;
  --lh-snug: 1.25;
  --lh-body: 1.65;

  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4rem;
  --section-y: clamp(4rem, 3rem + 5vw, 7.5rem);
  --gutter: 1.25rem;
  --container: 1200px;

  /* Shape */
  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
  --radius-pill: 999px;
  --arch: 999px 999px var(--radius) var(--radius);

  /* Elevation & motion */
  --shadow-sm: 0 1px 2px rgba(10, 47, 60, 0.06), 0 2px 8px rgba(10, 47, 60, 0.05);
  --shadow: 0 12px 32px -12px rgba(10, 47, 60, 0.22);
  --shadow-lg: 0 24px 60px -20px rgba(10, 47, 60, 0.3);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 68px;
}

/* ---------- Reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1rem);
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--fs-base);
  line-height: var(--lh-body);
  color: var(--charcoal);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4, p, ul, ol, figure, blockquote { margin: 0; }
ul[role="list"], ol[role="list"] { list-style: none; padding: 0; }

h1, h2, h3, h4 {
  font-weight: 800;
  line-height: var(--lh-tight);
  letter-spacing: -0.025em;
  color: var(--brand-ink);
  text-wrap: balance;
}
p { text-wrap: pretty; }

:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 3px;
  border-radius: 6px;
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute;
  left: var(--space-4);
  top: -100px;
  z-index: 200;
  padding: var(--space-3) var(--space-4);
  background: var(--brand-ink);
  color: var(--white);
  border-radius: var(--radius-sm);
  font-weight: 700;
  text-decoration: none;
}
.skip-link:focus { top: var(--space-3); }

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--section-y); }
.section--ivory { background: var(--ivory); }
.section--dark { background: var(--brand-deep); color: var(--ivory); }
.section--dark h2,
.section--dark h3 { color: var(--white); }

.section-head {
  max-width: 44rem;
  margin-bottom: var(--space-7);
}
.section-head--center { margin-inline: auto; text-align: center; }
.section-head h2 { font-size: var(--fs-2xl); }
.section-head p {
  margin-top: var(--space-4);
  font-size: var(--fs-md);
  color: var(--muted);
}
.section--dark .section-head p { color: var(--leaf-soft); }


/* ---------- Icons ---------- */
.icon {
  width: 1.25em;
  height: 1.25em;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.icon--fill { fill: currentColor; stroke: none; }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--brand);
  --btn-fg: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  min-height: 52px;
  padding: 0.85rem 1.5rem;
  border: 2px solid transparent;
  border-radius: var(--radius-pill);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-weight: 700;
  font-size: var(--fs-base);
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease),
    border-color 0.3s var(--ease), transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn:active { transform: translateY(0); }
.btn .icon { width: 1.2rem; height: 1.2rem; }
.btn .btn__arrow { transition: transform 0.3s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(4px); }

.btn--primary:hover { --btn-bg: var(--brand-deep); }
/* WhatsApp buttons: bright WhatsApp green with dark text (about 8:1 contrast),
   reads clearly on both light sections and the dark hero */
.btn--wa { --btn-bg: var(--wa-green); --btn-fg: #06301a; }
.btn--wa:hover { --btn-bg: #1ebe5a; }
.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--brand-deep);
  border-color: var(--brand);
}
.btn--ghost:hover { --btn-bg: var(--brand); --btn-fg: var(--white); }
.btn--light { --btn-bg: var(--ivory); --btn-fg: var(--brand-ink); }
.btn--light:hover { --btn-bg: var(--white); }
.btn--outline-light {
  --btn-bg: transparent;
  --btn-fg: var(--ivory);
  border-color: rgba(242, 245, 237, 0.5);
}
.btn--outline-light:hover { --btn-bg: rgba(242, 245, 237, 0.12); border-color: var(--ivory); }
.btn--sm { min-height: 44px; padding: 0.6rem 1.1rem; font-size: var(--fs-sm); }
.btn--block { width: 100%; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  min-height: 44px;
  font-weight: 700;
  color: var(--brand);
  text-decoration: none;
}
.text-link .icon { transition: transform 0.3s var(--ease); }
.text-link:hover .icon { transform: translateX(4px); }
.text-link:hover { color: var(--brand-deep); text-decoration: underline; text-underline-offset: 4px; }

/* ---------- Header & navigation ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
/* Blur lives on a pseudo-element: backdrop-filter on the header itself would
   trap the fixed-position mobile menu inside the header's box. */
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(250, 252, 250, 0.92);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  backdrop-filter: saturate(1.4) blur(12px);
}
body.nav-open .site-header::before { background: var(--cream); }
.site-header.is-scrolled {
  border-color: var(--line);
  box-shadow: 0 6px 24px -18px rgba(10, 47, 60, 0.4);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--brand-ink);
  flex-shrink: 0;
}
.brand__mark { width: 46px; height: 46px; }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name {
  font-size: 1.375rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}
.brand__sub {
  margin-top: 4px;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.26em;
  color: var(--leaf-deep);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: var(--space-1);
}
.header-wa {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #dcf8e7;
  color: var(--wa-green-dark);
  transition: background-color 0.25s, transform 0.25s var(--ease);
}
.header-wa:hover { background: #c6f1d7; transform: scale(1.05); }
.header-wa .icon { width: 22px; height: 22px; }

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-right: -6px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--brand-ink);
  cursor: pointer;
}
.nav-toggle__bars { position: relative; width: 24px; height: 14px; }
.nav-toggle__bars span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.35s var(--ease), opacity 0.2s, top 0.35s var(--ease);
}
.nav-toggle__bars span:nth-child(1) { top: 0; }
.nav-toggle__bars span:nth-child(2) { top: 6px; }
.nav-toggle__bars span:nth-child(3) { top: 12px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(1) { top: 6px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(3) { top: 6px; transform: rotate(-45deg); }

/* Mobile menu panel */
.site-nav {
  position: fixed;
  inset: var(--header-h) 0 0 0;
  z-index: 99;
  display: flex;
  flex-direction: column;
  padding: var(--space-6) var(--gutter) var(--space-7);
  background: var(--cream);
  overflow-y: auto;
  visibility: hidden;
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0s linear 0.3s;
}
.site-nav.is-open {
  visibility: visible;
  opacity: 1;
  transform: none;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0s;
}
.site-nav__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}
.site-nav__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  border-bottom: 1px solid var(--line);
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--brand-ink);
  text-decoration: none;
}
.site-nav__link[aria-current="page"] { color: var(--brand); }
.site-nav__link[aria-current="page"]::after {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--leaf);
}
.site-nav__cta { margin-top: var(--space-6); }
.site-nav__meta {
  margin-top: var(--space-5);
  font-size: var(--fs-sm);
  color: var(--muted);
}
.site-nav__meta a { font-weight: 700; color: var(--brand); text-decoration: none; }

body.nav-open { overflow: hidden; }

/* ---------- Hero ---------- */
.hero { padding-block: var(--space-3) var(--space-7); }
.hero__card {
  /* mobile: photo on top, text below on a dark panel */
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--brand-ink);
  isolation: isolate;
}
.hero__media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.hero__media::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 40%;
  background: linear-gradient(to top, var(--brand-ink), rgba(10, 47, 60, 0));
}
.hero__media img {
  width: 100%;
  height: 110%;
  object-fit: cover;
  object-position: 60% 30%;
}
.hero__content {
  padding: var(--space-2) var(--space-5) var(--space-6);
  max-width: 36rem;
  color: var(--white);
}
.hero__kicker {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 0.35rem 0.8rem;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.14);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.02em;
}
.hero__kicker::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--leaf);
}
.hero__title {
  margin-top: var(--space-4);
  font-size: var(--fs-hero);
  color: var(--white);
  letter-spacing: -0.035em;
}
.hero__lead {
  margin-top: var(--space-4);
  font-size: var(--fs-md);
  color: rgba(255, 255, 255, 0.86);
  max-width: 30rem;
}
.hero__actions {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin-top: var(--space-6);
}
.hero__services {
  /* one row: swipeable on small screens, fits fully on desktop (responsive.css) */
  display: flex;
  flex-wrap: nowrap;
  gap: var(--space-2);
  margin: var(--space-5) calc(-1 * var(--gutter)) 0;
  padding: 2px var(--gutter);
  list-style: none;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x proximity;
}
.hero__services::-webkit-scrollbar { display: none; }
.hero__services li { flex: 0 0 auto; scroll-snap-align: start; }
.hero__services a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  white-space: nowrap;
  min-height: 40px;
  padding: 0.4rem 0.95rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line);
  background: var(--white);
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--brand-ink);
  text-decoration: none;
  transition: border-color 0.25s, color 0.25s, background-color 0.25s;
}
.hero__services a:hover { border-color: var(--brand); background: var(--teal-soft); }

/* ---------- About ---------- */
.about__grid { display: grid; gap: var(--space-7); align-items: center; }
.about__media { position: relative; }
.about__img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 5 / 4;
}
.about__img img { width: 100%; height: 115%; object-fit: cover; }
.about__img--small {
  position: absolute;
  width: 42%;
  right: -4px;
  bottom: -14%;
  aspect-ratio: 1;
  border-radius: var(--arch);
  border: 6px solid var(--ivory);
  box-shadow: var(--shadow);
}
.about__body h2 { font-size: var(--fs-2xl); }
.about__body > p { margin-top: var(--space-5); color: var(--muted); font-size: var(--fs-md); }
.about__body > p + p { margin-top: var(--space-4); }
.about__values {
  display: grid;
  gap: var(--space-4);
  margin-top: var(--space-6);
  padding: 0;
  list-style: none;
}
.about__values li { display: flex; gap: var(--space-3); align-items: flex-start; }
.about__values .dot {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--brand);
  color: var(--ivory);
  flex-shrink: 0;
}
.about__values .dot .icon { width: 18px; height: 18px; }
.about__values strong { display: block; color: var(--brand-ink); }
.about__values span { font-size: var(--fs-sm); color: var(--muted); }

/* ---------- Service cards (home) ---------- */
.service-grid { display: grid; gap: var(--space-5); }
.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-lg);
  background: var(--white);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.service-card__media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--leaf-soft);
}
.service-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}
.service-card:hover .service-card__media img { transform: scale(1.05); }
.service-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: var(--space-5);
}
.service-card__num {
  font-size: var(--fs-xs);
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--leaf-deep);
}
.service-card h3 { margin-top: var(--space-2); font-size: var(--fs-lg); }
.service-card p { margin-top: var(--space-3); color: var(--muted); flex: 1; }
.service-card .text-link { margin-top: var(--space-4); }
.service-card .text-link::after {
  /* whole card clickable */
  content: "";
  position: absolute;
  inset: 0;
}

/* Extra CTA tile in the services grid */
.service-cta {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: var(--space-5);
  padding: var(--space-6);
  border-radius: var(--radius-lg);
  background: var(--brand);
  color: var(--ivory);
}
.service-cta h3 { color: var(--white); font-size: var(--fs-lg); }
.service-cta p { margin-top: var(--space-3); color: var(--leaf-soft); }

/* ---------- Why choose ---------- */
.why__grid { display: grid; gap: var(--space-7); }
.why__intro h2 { font-size: var(--fs-2xl); }
.why__intro p { margin-top: var(--space-4); color: var(--leaf-soft); font-size: var(--fs-md); }
.why__intro .btn { margin-top: var(--space-6); }
.why__list {
  display: grid;
  gap: 1px;
  margin: 0;
  padding: 0;
  list-style: none;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: rgba(166, 207, 126, 0.25);
}
.why__item {
  display: flex;
  gap: var(--space-4);
  padding: var(--space-5);
  background: var(--brand-deep);
}
.why__icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(122, 196, 32, 0.16);
  color: var(--leaf);
  flex-shrink: 0;
}
.why__item h3 { font-size: var(--fs-md); letter-spacing: -0.01em; }
.why__item p { margin-top: var(--space-1); color: var(--leaf-soft); font-size: var(--fs-sm); }

/* ---------- How it works ---------- */
.steps {
  display: grid;
  gap: var(--space-5);
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}
.step {
  position: relative;
  padding: var(--space-6) var(--space-5) var(--space-5);
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1px solid var(--line);
}
.step__num {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--teal-soft);
  color: var(--brand-ink);
  font-size: 1.375rem;
  font-weight: 800;
}
.step h3 { margin-top: var(--space-5); font-size: var(--fs-lg); }
.step p { margin-top: var(--space-2); color: var(--muted); }
.steps__cta { margin-top: var(--space-7); text-align: center; }

/* ---------- Testimonials ---------- */
.testimonials { display: grid; gap: var(--space-5); }
.testimonial {
  overflow-wrap: anywhere;
  display: flex;
  flex-direction: column;
  padding: var(--space-6) var(--space-5) var(--space-5);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}
.testimonial__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
}
.testimonial__stars { color: #e7a521; font-size: 1.05rem; letter-spacing: 2px; }
.testimonial blockquote {
  margin-top: var(--space-4);
  flex: 1;
  font-size: var(--fs-base);
  line-height: 1.7;
  color: var(--charcoal);
}
.testimonial figcaption {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-top: var(--space-5);
  padding-top: var(--space-4);
  border-top: 1px solid var(--line);
  font-size: var(--fs-sm);
  color: var(--muted);
}
.testimonial__avatar {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--teal-soft);
  color: var(--brand);
  font-weight: 800;
  font-size: var(--fs-sm);
  flex-shrink: 0;
}
.testimonial figcaption strong { display: block; color: var(--brand-ink); }

/* ---------- FAQ (native <details> accordion) ---------- */
.faq { max-width: 52rem; }
.faq__list { display: grid; gap: var(--space-3); }
.faq__item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  transition: border-color 0.25s, box-shadow 0.25s;
}
.faq__item[open] { border-color: var(--line-green); box-shadow: var(--shadow-sm); }
.faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  min-height: 60px;
  padding: var(--space-4) var(--space-5);
  cursor: pointer;
  list-style: none;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:hover h3 { color: var(--brand); }
.faq__item summary:focus-visible { border-radius: var(--radius); }
.faq__item h3 {
  font-size: var(--fs-md);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.35;
  transition: color 0.2s;
}
.faq__icon {
  position: relative;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--teal-soft);
  flex-shrink: 0;
}
.faq__icon::before,
.faq__icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 2px;
  margin: -1px 0 0 -6px;
  border-radius: 2px;
  background: var(--brand);
  transition: transform 0.3s var(--ease);
}
.faq__icon::after { transform: rotate(90deg); }
.faq__item[open] .faq__icon::after { transform: rotate(0deg); }
.faq__answer { padding: 0 var(--space-5) var(--space-5); }
.faq__answer p { color: var(--muted); max-width: 46rem; }
.faq__more { margin-top: var(--space-6); color: var(--muted); }
.faq__more a { font-weight: 700; color: var(--brand); }

/* ---------- Coverage ---------- */
.coverage {
  display: grid;
  gap: var(--space-6);
  padding: var(--space-6) var(--space-5);
  border-radius: var(--radius-lg);
  background: var(--leaf-soft);
  overflow: hidden;
}
.coverage h2 { font-size: var(--fs-xl); }
.coverage p { margin-top: var(--space-3); color: var(--charcoal); }
.coverage__chips {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin: var(--space-5) 0 0;
  padding: 0;
  list-style: none;
}
.coverage__chips li {
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-pill);
  background: var(--white);
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--brand-ink);
}
.coverage__note { margin-top: var(--space-4); font-size: var(--fs-sm); color: var(--muted) !important; }
.coverage__map { position: relative; max-width: 340px; margin-inline: auto; width: 100%; }
.coverage__map svg { width: 100%; height: auto; }

/* ---------- Final CTA ---------- */
.final-cta {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--brand);
  color: var(--ivory);
  isolation: isolate;
}
.final-cta__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
}
.final-cta__bg img { width: 100%; height: 120%; object-fit: cover; opacity: 0.22; }
.final-cta__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, var(--brand-deep) 30%, rgba(10, 74, 94, 0.6));
}
.final-cta__inner { padding: var(--space-7) var(--space-5); max-width: 40rem; }
.final-cta h2 { color: var(--white); font-size: var(--fs-2xl); }
.final-cta p { margin-top: var(--space-4); color: var(--leaf-soft); font-size: var(--fs-md); }
.final-cta__actions {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin-top: var(--space-6);
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  position: relative;
  padding-block: var(--space-7) var(--space-7);
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -30%;
  width: 90%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(closest-side, var(--leaf-soft), transparent 70%);
  z-index: -1;
}
.page-hero h1 { font-size: var(--fs-2xl); max-width: 22ch; }
.page-hero p { margin-top: var(--space-4); max-width: 40rem; font-size: var(--fs-md); color: var(--muted); }

.breadcrumb {
  display: flex;
  gap: var(--space-2);
  margin: 0 0 var(--space-4);
  padding: 0;
  list-style: none;
  font-size: var(--fs-sm);
  color: var(--muted);
}
.breadcrumb a { color: var(--brand); font-weight: 600; text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb li + li::before { content: "/"; margin-right: var(--space-2); color: var(--line-green); }

/* Services jump navigation */
.jump-nav {
  position: sticky;
  top: var(--header-h);
  z-index: 50;
  background: rgba(250, 252, 250, 0.95);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.jump-nav__list {
  display: flex;
  gap: var(--space-2);
  margin: 0;
  padding: var(--space-3) var(--gutter);
  list-style: none;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  max-width: var(--container);
  margin-inline: auto;
}
.jump-nav__list::-webkit-scrollbar { display: none; }
.jump-nav__list a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0.4rem 1rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line);
  background: var(--white);
  font-size: var(--fs-sm);
  font-weight: 700;
  white-space: nowrap;
  text-decoration: none;
  color: var(--brand-ink);
  transition: background-color 0.25s, color 0.25s, border-color 0.25s;
}
.jump-nav__list a:hover,
.jump-nav__list a.is-active {
  background: var(--brand);
  border-color: var(--brand);
  color: var(--white);
}

/* ---------- Service detail sections ---------- */
.service-detail {
  padding-block: var(--section-y);
  scroll-margin-top: calc(var(--header-h) + 64px);
}
.service-detail:nth-of-type(even) { background: var(--ivory); }
.service-detail__grid { display: grid; gap: var(--space-6); align-items: center; }
.service-detail__media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--leaf-soft);
}
.service-detail__media img { width: 100%; height: 115%; object-fit: cover; }
.service-detail h2 { font-size: var(--fs-xl); }
.service-detail__lead { margin-top: var(--space-4); color: var(--muted); font-size: var(--fs-md); }
.offer-list {
  display: grid;
  gap: var(--space-3);
  margin: var(--space-5) 0 0;
  padding: 0;
  list-style: none;
}
.offer-list li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  font-weight: 600;
  color: var(--charcoal);
}
.offer-list .icon {
  width: 22px;
  height: 22px;
  padding: 3px;
  margin-top: 1px;
  border-radius: 50%;
  background: var(--leaf-soft);
  color: var(--brand);
  stroke-width: 2.6;
}
.service-detail__actions {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin-top: var(--space-6);
}

/* Callout distinguishing GDA from nursing */
.callout {
  display: flex;
  gap: var(--space-3);
  margin-top: var(--space-5);
  padding: var(--space-4);
  border-radius: var(--radius);
  background: var(--peach-soft);
  font-size: var(--fs-sm);
  color: var(--charcoal);
}
.callout .icon { color: var(--peach-deep); margin-top: 2px; }
.callout strong { color: var(--brand-ink); }

/* Sub-blocks (doctor vs physio) */
.sub-blocks { display: grid; gap: var(--space-4); margin-top: var(--space-5); }
.sub-block {
  padding: var(--space-5);
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--line);
}
.sub-block h3 { font-size: var(--fs-md); letter-spacing: -0.01em; }
.sub-block .offer-list { margin-top: var(--space-3); }
.sub-block .btn { margin-top: var(--space-4); }

/* Comparison (nursing vs GDA) */
.compare { display: grid; gap: var(--space-4); }
.compare__col {
  padding: var(--space-5);
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1px solid var(--line);
}
.compare__col h3 { font-size: var(--fs-lg); }
.compare__col p { margin-top: var(--space-2); color: var(--muted); }
.compare__col .offer-list { margin-top: var(--space-4); }
.compare__col--nurse { border-top: 6px solid var(--brand); }
.compare__col--gda { border-top: 6px solid var(--leaf); }

/* ---------- Contact ---------- */
.contact__grid { display: grid; gap: var(--space-7); }
.contact-panel {
  padding: var(--space-6) var(--space-5);
  border-radius: var(--radius-lg);
  background: var(--ivory);
}
.contact-panel h2 { font-size: var(--fs-xl); }
.contact-panel > p { margin-top: var(--space-2); color: var(--muted); }
.contact-panel__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3);
  margin-top: var(--space-5);
}
.contact-panel__actions .btn { padding-inline: 1rem; }
.contact-list { margin: var(--space-6) 0 0; }
.contact-list > div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-4);
  min-height: 52px;
  border-top: 1px solid var(--line);
}
.contact-list dt { font-size: var(--fs-sm); color: var(--muted); }
.contact-list dd {
  margin: 0;
  font-weight: 700;
  color: var(--brand-ink);
  text-align: right;
}
.contact-list dd a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--brand);
  text-decoration: none;
}
.contact-list dd a:hover { text-decoration: underline; text-underline-offset: 3px; }
.contact-list dd.is-placeholder { font-weight: 500; font-style: italic; color: var(--muted); }

.form-card {
  padding: var(--space-6) var(--space-5);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow);
}
.form-card h2 { font-size: var(--fs-xl); }
.form-card > p { margin-top: var(--space-2); color: var(--muted); }
.form { display: grid; gap: var(--space-5); margin-top: var(--space-6); }
.form__row { display: grid; gap: var(--space-5); }
.field { display: grid; gap: var(--space-2); }
.field label {
  font-weight: 700;
  font-size: var(--fs-sm);
  color: var(--brand-ink);
}
.field .req { color: var(--peach-deep); }
.field .optional { font-weight: 500; color: var(--muted); }
.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 52px;
  padding: 0.8rem 1rem;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--cream);
  font-size: 1rem; /* prevents iOS zoom */
  transition: border-color 0.2s, box-shadow 0.2s, background-color 0.2s;
}
.field textarea { min-height: 120px; resize: vertical; }
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230E5F78' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 18px;
  padding-right: 2.75rem;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--brand);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(14, 95, 120, 0.15);
}
.field [aria-invalid="true"] { border-color: var(--error); background: #fdf5f4; }
.field__error {
  display: none;
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--error);
}
.field__error.is-visible { display: block; }
.field__hint { font-size: var(--fs-xs); color: var(--muted); }
.form__status {
  padding: var(--space-4);
  border-radius: var(--radius-sm);
  background: #e6f6ec;
  color: var(--brand-ink);
  font-size: var(--fs-sm);
  font-weight: 600;
}
.form__status[hidden] { display: none; }
.form__status a { color: var(--brand); }
.form__privacy { font-size: var(--fs-xs); color: var(--muted); text-align: center; }

/* ---------- Footer ---------- */
.site-footer {
  margin-top: var(--section-y);
  padding-block: var(--space-8) calc(var(--space-6) + 72px); /* room for the floating WhatsApp button */
  background: var(--brand-ink);
  color: var(--leaf-soft);
  font-size: var(--fs-sm);
}
.site-footer--flush { margin-top: 0; }
.footer__grid { display: grid; gap: var(--space-7); }
.footer__brand .brand { color: var(--ivory); }
.footer__brand .brand__sub { color: var(--line-green); }
.footer__brand p { margin-top: var(--space-4); max-width: 22rem; }
.footer__col h2 {
  font-size: var(--fs-xs);
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--leaf);
}
.footer__col ul { margin: var(--space-4) 0 0; padding: 0; list-style: none; display: grid; gap: var(--space-1); }
.footer__col a {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  min-height: 36px;
  color: var(--ivory);
  text-decoration: none;
}
.footer__col a:hover { color: var(--leaf); text-decoration: underline; text-underline-offset: 3px; }
.footer__bottom {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  margin-top: var(--space-7);
  padding-top: var(--space-5);
  border-top: 1px solid rgba(166, 207, 126, 0.2);
  font-size: var(--fs-xs);
  color: var(--line-green);
}
.footer__bottom a { color: var(--leaf-soft); }

/* ---------- Floating WhatsApp ---------- */
.wa-float {
  position: fixed;
  right: 16px;
  bottom: 16px;
  bottom: calc(16px + env(safe-area-inset-bottom));
  z-index: 90;
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  height: 58px;
  min-width: 58px;
  padding: 0 1rem;
  border-radius: var(--radius-pill);
  background: var(--wa-green);
  color: #08311b;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 12px 28px -8px rgba(18, 140, 75, 0.55);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.wa-float:hover { transform: translateY(-3px) scale(1.03); box-shadow: 0 16px 34px -8px rgba(18, 140, 75, 0.6); }
.wa-float .icon { width: 28px; height: 28px; }
.wa-float__label { display: none; }
.wa-float::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 2px solid var(--wa-green);
  animation: wa-ring 2.8s var(--ease) infinite;
  pointer-events: none;
}
@keyframes wa-ring {
  0% { transform: scale(1); opacity: 0.7; }
  70%, 100% { transform: scale(1.35); opacity: 0; }
}
body.nav-open .wa-float { opacity: 0; pointer-events: none; }

/* ---------- Reveal helpers (GSAP) ---------- */
/* Content is visible by default. Reveal targets start transparent only when
   motion is allowed (html.gsap-on); opacity (not visibility) keeps them
   focusable for keyboard users. */
.gsap-on [data-reveal] { opacity: 0; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .gsap-on [data-reveal] { opacity: 1; }
}

/* ---------- Supplied logo image ---------- */
img.brand__mark { object-fit: contain; }
.brand__mark--badge {
  /* the logo's navy roof needs a light backdrop on the dark footer */
  width: 52px !important;
  height: 52px !important;
  padding: 4px;
  border-radius: 50%;
  background: var(--white);
}

/* ---------- Comfortable touch targets (44px minimum) ---------- */
.footer__col a { min-height: 44px; }
.site-nav__meta a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.contact-list dd a { word-break: break-all; }
.contact-list__stack { flex-direction: column; align-items: flex-start !important; justify-content: center; gap: var(--space-1) !important; padding-block: var(--space-3); }
.contact-list__stack dd { text-align: left; font-weight: 600; }
.contact-list address { font-style: normal; line-height: 1.5; }

/* ---------- Robustness with large system text sizes ---------- */
/* Let grid/flex columns shrink below their longest word, and wrap long words
   (e.g. the email address) instead of pushing the page sideways. */
body { overflow-wrap: break-word; }
:where(.hero__grid, .about__grid, .service-grid, .why__grid, .why__list, .steps, .testimonials,
  .coverage, .service-detail__grid, .compare, .sub-blocks, .contact__grid, .form__row,
  .footer__grid, .contact-panel__actions) > * { min-width: 0; }
.why__item > div,
.contact-list dd,
.testimonial figcaption > span { min-width: 0; }

/* ---------- Google review band (above the footer on every page) ---------- */
.review-band { padding-bottom: var(--space-7); }
.review-band__card {
  display: grid;
  gap: var(--space-4);
  justify-items: start;
  padding: var(--space-6) var(--space-5);
  border-radius: var(--radius-lg);
  background: var(--ivory);
  border: 1px solid var(--line);
}
.review-band__stars { display: flex; gap: 2px; color: #e7a521; }
.review-band__stars .icon { width: 22px; height: 22px; }
.review-band h2 { font-size: var(--fs-lg); letter-spacing: -0.02em; }
.review-band p { margin-top: var(--space-2); color: var(--muted); }
.review-band__btn { white-space: nowrap; }
.review-band__btn .icon { width: 1rem; height: 1rem; }

.testimonials__more { margin-top: var(--space-6); color: var(--muted); }
.testimonials__more a {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  min-height: 44px;
  font-weight: 700;
  color: var(--brand);
}
.testimonials__more .icon { width: 1rem; height: 1rem; }
