/* =========================================================
   Raksha Friend — shared stylesheet (all pages)
   Sections: tokens · base · layout · components · header ·
   hero · sections · footer · utilities · motion
   ========================================================= */

/* ---------- Design tokens ---------- */
:root {
  --navy-950: #071427;
  --navy-900: #0b1f3a;
  --navy-800: #13294b;
  --navy-700: #1d3a66;
  --emerald-700: #047857;
  --emerald-600: #059669;
  --emerald-500: #10b981;
  --emerald-100: #d1fae5;
  --emerald-50: #ecfdf5;
  --sky-50: #f4f7fb;
  --ink: #0f172a;
  --text: #334155;
  --muted: #5b6b82;
  --line: #e5eaf1;
  --white: #ffffff;
  --gold: #c8a24a;

  --font-sans: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;

  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
  --shadow-sm: 0 1px 2px rgba(11, 31, 58, .06), 0 2px 8px rgba(11, 31, 58, .04);
  --shadow: 0 10px 30px -12px rgba(11, 31, 58, .18), 0 4px 10px -6px rgba(11, 31, 58, .08);
  --shadow-lg: 0 30px 60px -24px rgba(11, 31, 58, .35);

  --container: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --section-y: clamp(64px, 9vw, 120px);
  --header-h: 72px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--emerald-700); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--emerald-600); }
h1, h2, h3, h4 { color: var(--navy-900); line-height: 1.15; margin: 0 0 .5em; font-weight: 700; letter-spacing: -.02em; }
h1, h2 { font-family: var(--font-display); font-weight: 600; letter-spacing: -.025em; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--emerald-500); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--emerald-100); color: var(--navy-900); }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--navy-900); color: #fff; padding: 10px 16px; border-radius: 10px; font-weight: 600;
  transition: top .2s;
}
.skip-link:focus { top: 12px; color: #fff; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); }
.section--tint { background: var(--sky-50); }
.section-head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head h2 { font-size: clamp(1.9rem, 4vw, 2.75rem); }
.section-head p { font-size: 1.075rem; color: var(--muted); margin: 0; }
.section-head p.eyebrow { font-size: .8rem; color: var(--emerald-700); margin-bottom: 14px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--emerald-700); margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }
.section-head--center .eyebrow::after { content: ""; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }

.grid { display: grid; gap: clamp(18px, 2.4vw, 28px); }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--emerald-600); --btn-fg: #fff; --btn-bd: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 22px; border-radius: 999px;
  background: var(--btn-bg); color: var(--btn-fg); border: 1.5px solid var(--btn-bd);
  font-weight: 700; font-size: .975rem; text-decoration: none; line-height: 1.2; cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .2s, color .2s, border-color .2s;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn:hover { color: var(--btn-fg); transform: translateY(-2px); box-shadow: 0 12px 24px -12px rgba(5, 150, 105, .6); }
.btn:active { transform: translateY(0); }
.btn--primary:hover { --btn-bg: var(--emerald-700); }
.btn--navy { --btn-bg: var(--navy-900); }
.btn--navy:hover { --btn-bg: var(--navy-800); box-shadow: 0 12px 24px -12px rgba(11, 31, 58, .6); }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--navy-900); --btn-bd: #cdd6e3; }
.btn--ghost:hover { --btn-bg: var(--navy-900); --btn-fg: #fff; --btn-bd: var(--navy-900); box-shadow: none; }
.btn--light { --btn-bg: #fff; --btn-fg: var(--navy-900); }
.btn--light:hover { --btn-bg: var(--emerald-50); }
.btn--outline-light { --btn-bg: transparent; --btn-fg: #fff; --btn-bd: rgba(255,255,255,.35); }
.btn--outline-light:hover { --btn-bg: rgba(255,255,255,.1); --btn-bd: #fff; box-shadow: none; }
.btn--sm { min-height: 42px; padding: 9px 18px; font-size: .9rem; }
.btn--block { width: 100%; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 6px; font-weight: 700; text-decoration: none; color: var(--emerald-700);
}
.link-arrow svg { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- Brand logo ---------- */
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy-900); }
.brand__mark { width: 40px; height: 40px; flex: none; }
.brand__text { display: flex; flex-direction: column; line-height: 1.05; }
.brand__name { font-family: var(--font-display); font-weight: 600; font-size: 1.35rem; letter-spacing: -.02em; }
.brand__name span { color: var(--emerald-600); }
.brand__tag { font-size: .66rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-top: 3px; }
.brand--light { color: #fff; }
.brand--light .brand__tag { color: rgba(255,255,255,.6); }
.brand--light .brand__name span { color: var(--emerald-500); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.86);
  backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px -18px rgba(11,31,58,.4); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: var(--header-h); }

.nav { display: none; }
.nav__list { list-style: none; display: flex; align-items: center; gap: 4px; }
.nav__link {
  position: relative; display: block; padding: 10px 14px; border-radius: 999px;
  color: var(--navy-900); font-weight: 600; font-size: .95rem; text-decoration: none;
  transition: background-color .2s, color .2s;
}
.nav__link:hover { background: var(--sky-50); color: var(--navy-900); }
.nav__link[aria-current="page"] { color: var(--emerald-700); }
.nav__link[aria-current="page"]::after {
  content: ""; position: absolute; left: 50%; bottom: 4px; width: 5px; height: 5px; margin-left: -2.5px;
  border-radius: 50%; background: var(--emerald-500);
}
.header-actions { display: flex; align-items: center; gap: 10px; }
.header-phone { display: none; align-items: center; gap: 8px; font-weight: 700; color: var(--navy-900); text-decoration: none; font-size: .95rem; }
.header-phone svg { width: 18px; height: 18px; color: var(--emerald-600); }
.header-cta { display: none; }

.menu-toggle {
  display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 12px;
  border: 1px solid var(--line); background: #fff; cursor: pointer; color: var(--navy-900);
}
.menu-toggle__bars { position: relative; width: 20px; height: 14px; }
.menu-toggle__bars span {
  position: absolute; left: 0; width: 100%; height: 2px; border-radius: 2px; background: currentColor;
  transition: transform .3s var(--ease), opacity .2s, top .3s var(--ease);
}
.menu-toggle__bars span:nth-child(1) { top: 0; }
.menu-toggle__bars span:nth-child(2) { top: 6px; }
.menu-toggle__bars span:nth-child(3) { top: 12px; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars span:nth-child(1) { top: 6px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars span:nth-child(3) { top: 6px; transform: rotate(-45deg); }

/* Mobile drawer */
.mobile-nav {
  position: fixed; inset: var(--header-h) 0 auto 0; z-index: 99;
  max-height: calc(100dvh - var(--header-h)); overflow-y: auto;
  background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg);
  padding: 12px var(--gutter) 24px;
  transform: translateY(-8px); opacity: 0; visibility: hidden;
  transition: opacity .25s var(--ease), transform .25s var(--ease), visibility 0s linear .25s;
}
.mobile-nav.is-open { transform: none; opacity: 1; visibility: visible; transition-delay: 0s; }
.mobile-nav__list { list-style: none; display: grid; gap: 2px; margin-bottom: 18px; }
.mobile-nav__list a {
  display: flex; justify-content: space-between; align-items: center; padding: 14px 8px;
  font-weight: 700; font-size: 1.1rem; color: var(--navy-900); text-decoration: none; border-bottom: 1px solid var(--line);
}
.mobile-nav__list a[aria-current="page"] { color: var(--emerald-700); }
.mobile-nav__actions { display: grid; gap: 10px; }
.nav-backdrop {
  position: fixed; inset: 0; z-index: 98; background: rgba(7,20,39,.35);
  opacity: 0; visibility: hidden; transition: opacity .25s, visibility 0s linear .25s;
}
.nav-backdrop.is-open { opacity: 1; visibility: visible; transition-delay: 0s; }
body.nav-open { overflow: hidden; }

@media (min-width: 980px) {
  .nav { display: block; }
  .menu-toggle, .mobile-nav, .nav-backdrop { display: none; }
  .header-cta { display: inline-flex; }
}
@media (min-width: 1140px) { .header-phone { display: inline-flex; } }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  padding-block: clamp(40px, 7vw, 96px) clamp(56px, 8vw, 112px);
  background:
    radial-gradient(900px 480px at 100% 0%, rgba(16,185,129,.12), transparent 60%),
    radial-gradient(700px 420px at 0% 100%, rgba(29,58,102,.08), transparent 60%),
    #fff;
}
.hero__grid { display: grid; gap: clamp(40px, 6vw, 72px); align-items: center; }
.hero__title { font-size: clamp(2.3rem, 6.2vw, 4.1rem); margin-bottom: 20px; }
.hero__title em { font-style: italic; color: var(--emerald-600); }
.hero__lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--muted); max-width: 560px; margin-bottom: 30px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 34px; }
.hero__points { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 22px; }
.hero__points li { display: inline-flex; align-items: center; gap: 8px; font-size: .92rem; font-weight: 600; color: var(--navy-800); }
.hero__points svg { width: 18px; height: 18px; color: var(--emerald-600); flex: none; }

.hero__media { position: relative; }
.hero__frame {
  position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 4.4; background: linear-gradient(135deg, var(--navy-800), var(--emerald-700));
}
.hero__frame img { width: 100%; height: 100%; object-fit: cover; }
.hero__frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(7,20,39,.35)); }
.hero__deco {
  position: absolute; z-index: -1; width: 70%; aspect-ratio: 1; right: -12%; top: -8%;
  border-radius: 50%; background: radial-gradient(circle, rgba(16,185,129,.18), transparent 70%);
}
.float-card {
  position: absolute; z-index: 2; display: flex; align-items: center; gap: 12px;
  background: rgba(255,255,255,.96); border: 1px solid var(--line); border-radius: 16px;
  padding: 12px 16px; box-shadow: var(--shadow); max-width: 260px;
}
.float-card__icon { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; flex: none; }
.float-card__icon svg { width: 22px; height: 22px; }
.float-card strong { display: block; color: var(--navy-900); font-size: .92rem; line-height: 1.25; }
.float-card span { font-size: .8rem; color: var(--muted); }
.float-card--a { left: -10px; bottom: 28px; }
.float-card--a .float-card__icon { background: var(--emerald-50); color: var(--emerald-600); }
.float-card--b { right: -10px; top: 26px; }
.float-card--b .float-card__icon { background: #eef3fb; color: var(--navy-700); }

@media (min-width: 980px) {
  .hero__grid { grid-template-columns: 1.05fr .95fr; }
  .float-card--a { left: -36px; }
  .float-card--b { right: -28px; }
}
@media (max-width: 479px) {
  .float-card { max-width: 220px; padding: 10px 12px; }
  .float-card--a { left: 10px; bottom: 14px; }
  .float-card--b { right: 10px; top: 14px; }
  .hero__actions .btn { flex: 1 1 100%; }
}

/* ---------- Service cards ---------- */
.services-grid { grid-template-columns: 1fr; }
@media (min-width: 640px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .services-grid { grid-template-columns: repeat(4, 1fr); } }

.card {
  position: relative; display: flex; flex-direction: column; height: 100%;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: #d6dfea; }
.card__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: linear-gradient(135deg, var(--navy-800), var(--emerald-700)); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.card:hover .card__media img { transform: scale(1.05); }
.card__icon {
  position: relative; z-index: 1; margin: -24px 0 14px;
  width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center;
  background: #fff; color: var(--emerald-600); box-shadow: var(--shadow);
}
.card__icon svg { width: 24px; height: 24px; }
.card__body { display: flex; flex-direction: column; flex: 1; padding: 0 22px 24px; }
.card__body h3 { font-size: 1.2rem; margin-bottom: 8px; }
.card__body p { font-size: .95rem; color: var(--muted); }
.checklist { list-style: none; display: grid; gap: 8px; margin: 4px 0 22px; }
.checklist li { position: relative; padding-left: 26px; font-size: .92rem; color: var(--text); }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: .32em; width: 16px; height: 16px; border-radius: 50%;
  background: var(--emerald-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23059669' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 10px no-repeat;
}
.card__cta { margin-top: auto; }

/* ---------- Insurers ---------- */
.insurers { display: grid; gap: clamp(28px, 4vw, 56px); align-items: center; }
@media (min-width: 980px) { .insurers { grid-template-columns: .9fr 1.1fr; } }
.insurer-list { list-style: none; display: grid; gap: 14px; }
@media (min-width: 640px) { .insurer-list { grid-template-columns: repeat(3, 1fr); } }
.insurer {
  display: flex; flex-direction: column; justify-content: space-between; gap: 18px; min-height: 150px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px;
  box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.insurer:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.insurer__monogram {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  font-weight: 800; font-size: .9rem; letter-spacing: .02em; color: var(--navy-900);
  background: linear-gradient(135deg, #eef3fb, var(--emerald-50)); border: 1px solid var(--line);
}
.insurer__name { font-weight: 700; color: var(--navy-900); font-size: 1.02rem; line-height: 1.3; margin: 0; }
.note {
  display: flex; gap: 12px; align-items: flex-start; margin-top: 18px;
  font-size: .86rem; color: var(--muted); background: #fff; border: 1px dashed #cfd8e4; border-radius: 14px; padding: 14px 16px;
}
.note svg { width: 18px; height: 18px; flex: none; margin-top: 2px; color: var(--navy-700); }
.note p { margin: 0; }

/* ---------- Wellness split ---------- */
.split { display: grid; gap: clamp(36px, 5vw, 72px); align-items: center; }
@media (min-width: 980px) { .split { grid-template-columns: 1fr 1fr; } .split--reverse .split__media { order: 2; } }
.split__media { position: relative; }
.collage { display: grid; grid-template-columns: 1.2fr 1fr; grid-template-rows: auto auto; gap: 14px; }
.collage__item { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: linear-gradient(135deg, var(--emerald-700), var(--navy-800)); }
.collage__item img { width: 100%; height: 100%; object-fit: cover; }
.collage__item--tall { grid-row: span 2; min-height: 100%; }
.collage__item--sq { aspect-ratio: 1 / 1; }
.millet-tags { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 26px; }
.millet-tags li {
  padding: 7px 14px; border-radius: 999px; font-size: .86rem; font-weight: 600;
  background: var(--emerald-50); color: var(--emerald-700); border: 1px solid var(--emerald-100);
}
.pillars { display: grid; gap: 14px; margin: 26px 0; }
@media (min-width: 560px) { .pillars { grid-template-columns: 1fr 1fr; } }
.pillar { display: flex; gap: 14px; align-items: flex-start; }
.pillar__icon { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; flex: none; background: var(--navy-900); color: var(--emerald-500); }
.pillar__icon svg { width: 20px; height: 20px; }
.pillar h3 { font-size: 1rem; margin: 2px 0 2px; }
.pillar p { font-size: .9rem; color: var(--muted); margin: 0; }

/* ---------- Why choose us ---------- */
.why-grid { grid-template-columns: 1fr; }
@media (min-width: 640px) { .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .why-grid { grid-template-columns: repeat(3, 1fr); } }
.feature {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 26px;
  box-shadow: var(--shadow-sm); transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.feature__icon {
  width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 18px;
  background: linear-gradient(135deg, var(--emerald-50), #e6f0fb); color: var(--emerald-700);
}
.feature__icon svg { width: 26px; height: 26px; }
.feature h3 { font-size: 1.12rem; }
.feature p { color: var(--muted); font-size: .95rem; margin: 0; }

/* ---------- How it works ---------- */
.steps { list-style: none; display: grid; gap: 18px; counter-reset: step; }
@media (min-width: 720px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step {
  position: relative; counter-increment: step; padding: 28px 24px 26px; border-radius: var(--radius);
  background: #fff; border: 1px solid var(--line);
}
.step::before {
  content: counter(step, decimal-leading-zero);
  display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; margin-bottom: 18px;
  font-family: var(--font-display); font-weight: 600; font-size: 1.05rem;
  color: #fff; background: var(--navy-900); box-shadow: 0 0 0 6px var(--emerald-50);
}
.step h3 { font-size: 1.08rem; }
.step p { font-size: .93rem; color: var(--muted); margin: 0; }
@media (min-width: 1100px) {
  .step:not(:last-child)::after {
    content: ""; position: absolute; top: 52px; left: 84px; right: -18px; height: 2px;
    background: repeating-linear-gradient(90deg, var(--emerald-500) 0 6px, transparent 6px 12px); opacity: .5;
  }
}

/* ---------- Consultation CTA ---------- */
.cta-band {
  position: relative; overflow: hidden; border-radius: var(--radius-lg); color: #dbe5f3;
  background:
    radial-gradient(600px 300px at 90% 10%, rgba(16,185,129,.28), transparent 60%),
    radial-gradient(500px 300px at 0% 100%, rgba(29,58,102,.9), transparent 70%),
    var(--navy-900);
  padding: clamp(28px, 5vw, 64px);
  display: grid; gap: clamp(28px, 4vw, 56px);
}
@media (min-width: 980px) { .cta-band { grid-template-columns: 1fr 1fr; align-items: center; } }
.cta-band h2 { color: #fff; font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
.cta-band .eyebrow { color: var(--emerald-500); }
.cta-band__lead { font-size: 1.05rem; color: #b9c7db; }
.cta-band__contacts { list-style: none; display: grid; gap: 12px; margin: 24px 0 0; }
.cta-band__contacts a { display: inline-flex; align-items: center; gap: 12px; color: #fff; text-decoration: none; font-weight: 600; }
.cta-band__contacts a:hover { color: var(--emerald-500); }
.cta-band__contacts span.ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: rgba(255,255,255,.08); flex: none; }
.cta-band__contacts svg { width: 18px; height: 18px; }
.cta-band__contacts a { word-break: break-word; }

.form-card { background: #fff; border-radius: var(--radius); padding: clamp(22px, 3vw, 32px); box-shadow: var(--shadow-lg); color: var(--text); }
.form-card h3 { font-size: 1.2rem; margin-bottom: 4px; }
.form-card > p { font-size: .9rem; color: var(--muted); }
.form-grid { display: grid; gap: 14px; }
@media (min-width: 560px) { .form-grid { grid-template-columns: 1fr 1fr; } .field--full { grid-column: 1 / -1; } }
.field label { display: block; font-size: .85rem; font-weight: 700; color: var(--navy-900); margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 12px 14px; border-radius: 12px; border: 1.5px solid #d5dde8; background: #fbfcfe;
  transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.field textarea { min-height: 96px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--emerald-500); background: #fff; box-shadow: 0 0 0 4px rgba(16,185,129,.15); }
.field [aria-invalid="true"] { border-color: #dc2626; }
.field__error { display: block; min-height: 1em; font-size: .8rem; color: #b91c1c; margin-top: 4px; }
.form-foot { font-size: .8rem; color: var(--muted); margin: 12px 0 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-950); color: #a9b6c9; padding-top: clamp(56px, 7vw, 88px); font-size: .95rem; }
.site-footer a { color: #d7e0ec; text-decoration: none; }
.site-footer a:hover { color: var(--emerald-500); }
.footer-grid { display: grid; gap: 40px; }
@media (min-width: 720px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .footer-grid { grid-template-columns: 1.3fr .8fr 1fr 1.4fr; } }
.footer-col h2 { font-family: var(--font-sans); font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #fff; margin-bottom: 18px; }
.footer-about p { margin: 18px 0 20px; max-width: 340px; }
.footer-links { list-style: none; display: grid; gap: 10px; }
.contact-list { list-style: none; display: grid; gap: 14px; }
.contact-list li { display: flex; gap: 12px; align-items: flex-start; }
.contact-list svg { width: 18px; height: 18px; flex: none; margin-top: 4px; color: var(--emerald-500); }
.contact-list a, .contact-list address { word-break: break-word; font-style: normal; }
.socials { display: flex; gap: 10px; }
.socials a { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; background: rgba(255,255,255,.06); }
.socials a:hover { background: var(--emerald-600); color: #fff; }
.socials svg { width: 18px; height: 18px; }
.map-embed {
  position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3;
  background: #10223d; border: 1px solid rgba(255,255,255,.08);
}
.map-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(.2) contrast(1.05); }
.map-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 12px; font-weight: 600; }
.map-link svg { width: 16px; height: 16px; }
.disclaimers { margin-top: 48px; padding-block: 24px; border-top: 1px solid rgba(255,255,255,.08); font-size: .8rem; line-height: 1.6; color: #8595ab; display: grid; gap: 8px; }
.disclaimers p { margin: 0; }
.disclaimers strong { color: #c3cfdf; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; padding-block: 20px 28px; border-top: 1px solid rgba(255,255,255,.08); font-size: .85rem; }

/* ---------- Floating WhatsApp ---------- */
.fab-wa {
  position: fixed; right: 18px; bottom: 18px; z-index: 90;
  width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center;
  background: #25d366; color: #fff; box-shadow: 0 14px 30px -10px rgba(37,211,102,.7);
  transition: transform .3s var(--ease);
}
.fab-wa:hover { transform: scale(1.07); color: #fff; }
.fab-wa svg { width: 28px; height: 28px; }

/* ---------- Placeholder pages ---------- */
.page-hero { padding-block: clamp(56px, 9vw, 120px); background: linear-gradient(180deg, var(--sky-50), #fff); text-align: center; }
.page-hero h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
.page-hero p { color: var(--muted); max-width: 560px; margin: 0 auto 28px; font-size: 1.08rem; }
.page-hero .btn-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

/* ---------- Image fallback ---------- */
.img-fallback { position: relative; }
.img-fallback img { opacity: 0; }
.img-fallback::before {
  content: attr(data-fallback); position: absolute; inset: 0; display: grid; place-items: center; padding: 16px; text-align: center;
  color: rgba(255,255,255,.85); font-weight: 600; font-size: .95rem; z-index: 0;
}

/* ---------- Motion ---------- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.is-visible { opacity: 1; transform: none; }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.float-card--a { animation: floaty 6s ease-in-out infinite; }
.float-card--b { animation: floaty 7s ease-in-out -2s infinite; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  .card:hover, .feature:hover, .insurer:hover, .btn:hover { transform: none; }
  .card:hover .card__media img { transform: none; }
}

/* ---------- Utilities ---------- */
.title-lg { font-size: clamp(1.9rem, 4vw, 2.6rem); }
.lead { color: var(--muted); font-size: 1.05rem; }
.optional { font-weight: 500; color: var(--muted); }
.form-card .btn[type="submit"] { margin-top: 6px; }

/* =========================================================
   Contact page
   ========================================================= */
.contact-hero {
  position: relative; isolation: isolate; overflow: hidden; color: #dbe5f3;
  padding-block: clamp(56px, 9vw, 112px) clamp(120px, 14vw, 170px);
  background: var(--navy-900);
}
.contact-hero__bg { position: absolute; inset: 0; z-index: -2; }
.contact-hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.contact-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(100deg, rgba(7,20,39,.94) 0%, rgba(11,31,58,.86) 45%, rgba(4,120,87,.62) 100%),
    radial-gradient(600px 300px at 90% 100%, rgba(16,185,129,.35), transparent 70%);
}
.contact-hero__inner { max-width: var(--container); }
.contact-hero h1 { color: #fff; font-size: clamp(2.4rem, 6vw, 4rem); max-width: 14ch; margin-bottom: 18px; }
.contact-hero h1 em { font-style: italic; color: var(--emerald-500); }
.contact-hero__lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); max-width: 600px; color: #c3d0e2; margin-bottom: 30px; }
.contact-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 479px) { .contact-hero__actions .btn { flex: 1 1 100%; } }

.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 22px; padding: 0; font-size: .88rem; font-weight: 600; }
.breadcrumb li { display: inline-flex; align-items: center; gap: 8px; color: var(--emerald-500); }
.breadcrumb li + li::before { content: "/"; color: rgba(255,255,255,.4); }
.breadcrumb a { color: #c3d0e2; text-decoration: none; }
.breadcrumb a:hover { color: #fff; text-decoration: underline; }

/* Cards overlapping the hero */
.contact-cards-wrap { position: relative; z-index: 2; margin-top: clamp(-110px, -10vw, -72px); }
.contact-cards { list-style: none; display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .contact-cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .contact-cards { grid-template-columns: repeat(4, 1fr); } }
.contact-card {
  position: relative; display: flex; flex-direction: column; gap: 6px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px;
  box-shadow: var(--shadow); transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.contact-card:hover, .contact-card:focus-within { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.contact-card::after { content: ""; position: absolute; left: 24px; right: 24px; top: 0; height: 3px; border-radius: 0 0 3px 3px; background: linear-gradient(90deg, var(--emerald-500), var(--navy-700)); }
.contact-card__icon {
  width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 10px;
  background: var(--navy-900); color: var(--emerald-500);
}
.contact-card--wa .contact-card__icon { background: #25d366; color: #fff; }
.contact-card__icon svg { width: 24px; height: 24px; }
.contact-card h3 { font-size: 1.12rem; margin: 0; }
.contact-card p, .contact-card address { font-size: .92rem; color: var(--muted); margin: 0 0 8px; font-style: normal; }
.contact-card__link { margin-top: auto; font-weight: 700; color: var(--emerald-700); text-decoration: none; }
.contact-card__link:hover { text-decoration: underline; }
.contact-card__link--wrap, .break { overflow-wrap: anywhere; }

/* Form + aside layout */
.contact-layout { display: grid; gap: clamp(24px, 3vw, 36px); align-items: start; }
@media (min-width: 1024px) { .contact-layout { grid-template-columns: 1.25fr .95fr; } }
.contact-form { border: 1px solid var(--line); box-shadow: var(--shadow); padding: clamp(24px, 4vw, 44px); }
.contact-form .title-lg { margin-bottom: 14px; }
.contact-form__note {
  display: flex; gap: 10px; align-items: flex-start; font-size: .88rem; color: var(--navy-800);
  background: var(--emerald-50); border: 1px solid var(--emerald-100); border-radius: 12px; padding: 12px 14px; margin-bottom: 14px;
}
.contact-form__note svg { width: 18px; height: 18px; flex: none; margin-top: 2px; color: var(--emerald-700); }
.form-required-note { font-size: .82rem; color: var(--muted); margin-bottom: 16px; }
.req, .form-required-note span { color: #b91c1c; }
.contact-form__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
@media (max-width: 559px) { .contact-form__actions .btn { flex: 1 1 100%; } }

.contact-aside { display: grid; gap: 22px; }
.info-panel { background: var(--navy-900); color: #c3d0e2; border-radius: var(--radius); padding: clamp(24px, 3vw, 32px); box-shadow: var(--shadow); }
.info-panel__title { font-family: var(--font-sans); font-size: 1.15rem; font-weight: 700; letter-spacing: -.01em; color: #fff; margin-bottom: 20px; }
.info-list { list-style: none; display: grid; gap: 18px; }
.info-list li { display: flex; gap: 14px; align-items: flex-start; }
.info-list__icon { width: 40px; height: 40px; flex: none; border-radius: 12px; display: grid; place-items: center; background: rgba(255,255,255,.08); color: var(--emerald-500); }
.info-list__icon svg { width: 18px; height: 18px; }
.info-list__label { display: block; font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #8ea0b8; margin-bottom: 2px; }
.info-list a, .info-list address { color: #fff; font-weight: 600; font-style: normal; text-decoration: none; overflow-wrap: anywhere; }
.info-list a:hover { color: var(--emerald-500); text-decoration: underline; }
.info-panel a:focus-visible, .contact-hero a:focus-visible, .contact-cta a:focus-visible { outline-color: #fff; }
.hours-box { display: flex; gap: 14px; margin-top: 24px; padding: 18px; border-radius: 14px; background: rgba(16,185,129,.1); border: 1px solid rgba(16,185,129,.25); }
.hours-box__icon { width: 40px; height: 40px; flex: none; border-radius: 12px; display: grid; place-items: center; background: var(--emerald-600); color: #fff; }
.hours-box__icon svg { width: 20px; height: 20px; }
.hours-box h3 { color: #fff; font-size: 1rem; margin: 2px 0 4px; }
.hours-box p { font-size: .9rem; margin: 0; }

.map-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.map-card__frame { position: relative; aspect-ratio: 16 / 11; background: linear-gradient(135deg, #e6eef8, var(--emerald-50)); }
.map-card__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-card__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; }
.map-card__foot p { margin: 0; font-weight: 600; color: var(--navy-900); font-size: .92rem; }

/* Bottom CTA */
.contact-cta-section { padding-top: 0; }
.contact-cta {
  display: grid; gap: 24px; align-items: center; border-radius: var(--radius-lg); padding: clamp(28px, 5vw, 56px);
  color: #c3d0e2;
  background:
    radial-gradient(500px 260px at 100% 0%, rgba(16,185,129,.35), transparent 65%),
    linear-gradient(120deg, var(--navy-900), var(--navy-800));
}
@media (min-width: 900px) { .contact-cta { grid-template-columns: 1.4fr auto; } }
.contact-cta .eyebrow { color: var(--emerald-500); }
.contact-cta h2 { color: #fff; font-size: clamp(1.7rem, 3.4vw, 2.4rem); }
.contact-cta p:last-child { margin: 0; max-width: 560px; }
.contact-cta__actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 479px) { .contact-cta__actions .btn { flex: 1 1 100%; } }
.contact-form > p.eyebrow { color: var(--emerald-700); font-size: .8rem; }

/* Contact form: send states & spam trap */
.hp-field { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status:empty { display: none; }
.form-status { margin-top: 14px; padding: 12px 14px; border-radius: 12px; font-size: .9rem; background: var(--sky-50); color: var(--navy-800); }
.form-status.is-success { background: var(--emerald-50); color: var(--emerald-700); border: 1px solid var(--emerald-100); font-weight: 600; }
.form-status.is-error { background: #fef2f2; color: #b91c1c; border: 1px solid #fecaca; }
.btn[disabled] { opacity: .7; cursor: progress; transform: none; }
