/* Health First Wellness Laboratories Inc — homepage styles
   Layout concept: clinical white page, bands of blue that deepen as the visitor moves from
   proof (white) to process (blue) to conversion (deep navy gradient). Lab-label mono details. */
:root {
  --blue: #1457d2;        /* primary accent, buttons, links */
  --blue-600: #0f46b0;
  --navy: #0a2a5e;        /* headings, solid bands */
  --deep: #061a3d;        /* video band, footer */
  --sky: #e9f2fe;         /* light blue section background */
  --ice: #f5f9ff;         /* subtle panels */
  --ink: #13233f;         /* body text */
  --muted: #586a86;       /* secondary text */
  --line: #d8e4f3;        /* hairlines */
  --white: #ffffff;
  --mint: #29c38f;        /* QA "pass" signal, used sparingly */

  --f-display: "Sora", "Segoe UI", system-ui, sans-serif;
  --f-body: "Figtree", "Segoe UI", system-ui, -apple-system, sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --step--1: 0.8125rem;
  --step-0: 1rem;
  --step-1: 1.125rem;
  --step-2: clamp(1.35rem, 1.1rem + 0.9vw, 1.6rem);
  --step-3: clamp(1.8rem, 1.3rem + 2vw, 2.6rem);
  --step-4: clamp(2.1rem, 1.4rem + 3vw, 3.5rem);

  --radius: 14px;
  --shadow: 0 18px 40px -22px rgba(10, 42, 94, 0.35);
  --header-h: 76px;
  --gutter-l: max(16px, env(safe-area-inset-left, 0px));
  --gutter-r: max(16px, env(safe-area-inset-right, 0px));
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: var(--step-0);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body::before {
  content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px);
  z-index: 60; background: var(--white);
}
img, svg, video { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--f-display); color: var(--navy); line-height: 1.15; margin: 0; text-wrap: balance; letter-spacing: -0.015em; }
p { margin: 0; }
:focus-visible { outline: 3px solid #7fb0ff; outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }

.wrap {
  width: 100%; max-width: 1200px; margin-inline: auto;
  padding-left: var(--gutter-l); padding-right: var(--gutter-r);
}
.section { padding-block: clamp(64px, 8vw, 112px); }
.eyebrow {
  font-family: var(--f-mono); font-size: 0.75rem; font-weight: 500; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--blue); display: inline-flex; align-items: center; gap: 10px;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; }
.section-head { display: grid; gap: 14px; max-width: 760px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head.center { margin-inline: auto; text-align: center; justify-items: center; }
.section-head h2 { font-size: var(--step-3); }
.section-head p { color: var(--muted); font-size: var(--step-1); max-width: 62ch; }
.icon { width: 22px; height: 22px; flex: none; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--f-body); font-weight: 700; font-size: 0.98rem; line-height: 1.2;
  padding: 15px 26px; border-radius: 999px; border: 2px solid transparent; cursor: pointer;
  transition: transform .2s ease, background-color .2s ease, box-shadow .2s ease, color .2s ease;
  text-align: center;
}
.btn .icon { width: 18px; height: 18px; }
.btn-primary { background: var(--blue); color: var(--white); box-shadow: 0 12px 26px -12px rgba(20, 87, 210, .7); }
.btn-primary:hover { background: var(--blue-600); transform: translateY(-2px); }
.btn-light { background: var(--white); color: var(--navy); border-color: var(--white); }
.btn-light:hover { background: transparent; color: var(--white); }
.btn-outline { background: transparent; color: var(--navy); border-color: var(--line); }
.btn-outline:hover { border-color: var(--blue); color: var(--blue); }
.btn-ghost-light { background: rgba(255,255,255,.08); color: var(--white); border-color: rgba(255,255,255,.7); }
.btn-ghost-light:hover { background: var(--white); color: var(--navy); }
.link-arrow { font-weight: 700; display: inline-flex; gap: 8px; align-items: center; }
.link-arrow .icon { width: 18px; height: 18px; transition: transform .2s; }
.link-arrow:hover .icon { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: rgba(255, 255, 255, .97); backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s;
}
.site-header.scrolled { border-color: var(--line); box-shadow: 0 8px 30px -20px rgba(10, 42, 94, .4); }
.site-header::before { content: ""; display: block; height: 3px; background: linear-gradient(90deg, var(--navy), var(--blue) 55%, #4f8dff); }
.header-inner { display: flex; align-items: center; gap: 24px; min-height: var(--header-h); }
.logo { display: flex; align-items: center; gap: 12px; color: var(--navy); min-width: 0; }
.logo-mark { width: 44px; height: 44px; flex: none; }
.logo-text { display: grid; line-height: 1.1; }
.logo-text strong { font-family: var(--f-display); font-size: 1.12rem; letter-spacing: -0.01em; }
.logo-text span { font-size: 0.68rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.nav { margin-left: auto; }
.nav ul { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; }
.nav a { color: var(--ink); font-weight: 600; font-size: 0.92rem; padding: 8px 11px; border-radius: 8px; white-space: nowrap; }
.nav a:hover, .nav a.active { color: var(--blue); background: var(--sky); }
.header-cta { padding: 12px 20px; font-size: 0.9rem; white-space: nowrap; }
.menu-toggle { display: none; margin-left: auto; background: var(--sky); border: 0; border-radius: 10px; width: 46px; height: 46px; color: var(--navy); cursor: pointer; align-items: center; justify-content: center; }
.menu-toggle .icon { width: 24px; height: 24px; }

@media (max-width: 1180px) {
  .nav a { padding: 8px 8px; font-size: 0.86rem; }
}
@media (max-width: 1080px) {
  .menu-toggle { display: inline-flex; }
  .header-cta { display: none; }
  .nav {
    position: fixed; inset: calc(var(--header-h) + 3px + env(safe-area-inset-top, 0px)) 0 auto 0; margin: 0;
    background: var(--white); border-top: 1px solid var(--line); box-shadow: 0 30px 40px -20px rgba(10, 42, 94, .35);
    padding: 12px var(--gutter-r) 24px var(--gutter-l); max-height: calc(100vh - var(--header-h)); overflow: auto;
    transform: translateY(-8px); opacity: 0; visibility: hidden; transition: .2s ease;
  }
  .nav.open { transform: none; opacity: 1; visibility: visible; }
  .nav ul { flex-direction: column; gap: 2px; }
  .nav a { display: block; padding: 14px 12px; font-size: 1.02rem; }
  .nav .nav-cta { display: flex; margin-top: 12px; width: 100%; }
}
.nav .nav-cta { display: none; }
@media (max-width: 1080px) { .nav .nav-cta { display: flex; } }

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate; color: var(--white); overflow: hidden;
  background: linear-gradient(135deg, #0a2a5e 0%, #0f3f93 55%, #1457d2 100%);
}
.hero-media, .hero-media canvas, .hero-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-media { z-index: -2; }
.hero-media video { opacity: 0; transition: opacity 1s ease; }
.hero-media video.ready { opacity: 1; }
.hero::after { /* blue overlay for readability */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(100deg, rgba(6, 26, 61, .92) 0%, rgba(10, 42, 94, .78) 45%, rgba(20, 87, 210, .45) 100%),
    radial-gradient(60% 80% at 85% 20%, rgba(79, 141, 255, .35), transparent 60%);
}
.hero-inner { padding-block: clamp(72px, 10vw, 128px) clamp(40px, 5vw, 56px); display: grid; gap: 28px; }
.hero-copy { max-width: 820px; display: grid; gap: 22px; }
.hero .eyebrow { color: #a9c8ff; }
.hero h1 { color: var(--white); font-size: var(--step-4); font-weight: 700; letter-spacing: -0.025em; }
.hero h1 em { font-style: normal; color: #9cc2ff; }
.hero .sub { font-size: clamp(1.05rem, 0.95rem + 0.5vw, 1.25rem); color: #dbe7fb; max-width: 66ch; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 6px; }
.trust-strip {
  display: flex; flex-wrap: wrap; gap: 10px 28px; padding-top: 26px; margin-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, .18); list-style: none; padding-left: 0; margin-bottom: 0;
}
.trust-strip li { display: inline-flex; align-items: center; gap: 9px; font-weight: 600; font-size: 0.95rem; color: #eef4ff; }
.trust-strip .tick { width: 22px; height: 22px; border-radius: 50%; background: rgba(41, 195, 143, .18); color: #6fe3b8; display: grid; place-items: center; flex: none; }
.trust-strip .tick .icon { width: 14px; height: 14px; }
.reel {
  display: inline-flex; align-items: center; gap: 12px; font-family: var(--f-mono); font-size: 0.74rem;
  letter-spacing: .08em; text-transform: uppercase; color: #bcd3fb; background: rgba(6, 26, 61, .45);
  border: 1px solid rgba(255, 255, 255, .15); padding: 8px 14px; border-radius: 999px; justify-self: start;
}
.reel .rec { width: 8px; height: 8px; border-radius: 50%; background: #ff5a6a; box-shadow: 0 0 0 4px rgba(255, 90, 106, .2); animation: pulse 1.6s infinite; }
.reel b { color: var(--white); font-weight: 500; min-width: 15ch; }
@keyframes pulse { 50% { opacity: .35; } }

/* ---------- Trust & authority ---------- */
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--white); }
.stat { padding: clamp(28px, 4vw, 44px); display: grid; gap: 10px; align-content: start; position: relative; }
.stat + .stat { border-left: 1px solid var(--line); }
.stat-icon { width: 58px; height: 58px; border-radius: 16px; background: var(--sky); color: var(--blue); display: grid; place-items: center; margin-bottom: 10px; }
.stat-icon .icon { width: 28px; height: 28px; animation: float 4s ease-in-out infinite; }
.stat:nth-child(2) .stat-icon .icon { animation-delay: -1.3s; }
.stat:nth-child(3) .stat-icon .icon { animation-delay: -2.6s; }
@keyframes float { 50% { transform: translateY(-4px) rotate(-4deg); } }
.stat-value { font-family: var(--f-display); font-size: clamp(2.4rem, 1.8rem + 2.4vw, 3.4rem); font-weight: 700; color: var(--navy); line-height: 1; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.stat-value span { color: var(--blue); }
.stat-label { color: var(--muted); font-weight: 600; }
.trust-lead { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 72px); align-items: end; margin-bottom: clamp(36px, 5vw, 56px); }
.trust-lead .section-head { margin-bottom: 0; }
.trust-lead p { color: var(--muted); }
.trust-lead p + p { margin-top: 12px; }

/* ---------- Placeholder media (illustrated, clearly marked) ---------- */
.ph {
  position: relative; overflow: hidden; border-radius: var(--radius);
  background: radial-gradient(120% 90% at 20% 10%, #ffffff 0%, #e4eefc 45%, #cddff8 100%);
  background-size: cover; background-position: center;
}
.ph-tag {
  position: absolute; left: 12px; bottom: 12px; z-index: 2; font-family: var(--f-mono); font-size: 0.66rem; letter-spacing: .08em;
  text-transform: uppercase; background: rgba(255, 255, 255, .9); color: var(--muted); padding: 5px 9px; border-radius: 6px; border: 1px solid var(--line);
}
.ph svg.art { width: 100%; height: 100%; }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.about-media { position: relative; }
.about-media .ph { aspect-ratio: 4 / 4.4; max-width: 100%; }
.about-badge {
  position: absolute; right: -14px; bottom: 34px; background: var(--white); border-radius: 14px; padding: 16px 20px; box-shadow: var(--shadow);
  display: flex; gap: 14px; align-items: center; border: 1px solid var(--line);
}
.about-badge strong { font-family: var(--f-display); font-size: 2rem; color: var(--blue); line-height: 1; }
.about-badge span { font-size: .85rem; color: var(--muted); font-weight: 600; line-height: 1.3; }
.about-copy { display: grid; gap: 18px; }
.about-copy h2 { font-size: var(--step-3); }
.about-copy p { color: var(--muted); max-width: 62ch; }
.about-copy .lead { color: var(--ink); font-size: var(--step-1); font-weight: 500; }

/* ---------- Products ---------- */
.products { background: var(--sky); }
.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.product {
  background: var(--white); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column;
  border: 1px solid #d5e3f6; transition: transform .25s ease, box-shadow .25s ease;
}
.product:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.product .ph { border-radius: 0; aspect-ratio: 16 / 10.5; }
.product .ph svg.art { transition: transform .5s ease; }
.product:hover .ph svg.art { transform: scale(1.05); }
.product-body { padding: 24px 24px 26px; display: grid; gap: 10px; flex: 1; align-content: start; }
.product-code { font-family: var(--f-mono); font-size: .7rem; letter-spacing: .1em; color: var(--blue); text-transform: uppercase; }
.product h3 { font-size: 1.25rem; }
.product p { color: var(--muted); }
.product .link-arrow { margin-top: 6px; font-size: .92rem; }

/* ---------- Solutions / process ---------- */
.solutions { background: linear-gradient(160deg, #0d3a8a 0%, var(--blue) 70%, #2a6be0 100%); color: var(--white); position: relative; overflow: hidden; }
.solutions::before {
  content: ""; position: absolute; inset: 0; opacity: .12; pointer-events: none;
  background-image: radial-gradient(circle at 1px 1px, #fff 1px, transparent 0); background-size: 26px 26px;
}
.solutions .wrap { position: relative; }
.solutions h2 { color: var(--white); }
.solutions .eyebrow { color: #bcd5ff; }
.solutions .section-head p { color: #d4e3fd; }
.process { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 14px; position: relative; counter-reset: step; }
.process::before { content: ""; position: absolute; top: 31px; left: 7%; right: 7%; height: 2px; background: repeating-linear-gradient(90deg, rgba(255,255,255,.55) 0 8px, transparent 8px 16px); }
.process li { position: relative; display: grid; justify-items: center; text-align: center; gap: 14px; counter-increment: step; }
.process .node {
  width: 64px; height: 64px; border-radius: 50%; background: var(--white); color: var(--blue); display: grid; place-items: center;
  box-shadow: 0 0 0 6px rgba(255, 255, 255, .14); position: relative; z-index: 1; transition: transform .25s;
}
.process li:hover .node { transform: scale(1.08); }
.process .node .icon { width: 28px; height: 28px; }
.process .node::after {
  content: counter(step, decimal-leading-zero); position: absolute; top: -6px; right: -8px; font-family: var(--f-mono); font-size: .66rem;
  background: var(--navy); color: var(--white); border-radius: 999px; padding: 2px 6px; border: 2px solid var(--white);
}
.process h3 { color: var(--white); font-size: .98rem; font-family: var(--f-body); font-weight: 700; line-height: 1.3; display: flex; gap: 6px; align-items: flex-start; justify-content: center; }
.process h3 .icon { width: 16px; height: 16px; color: #8ff0c9; margin-top: 2px; }
.solutions-note {
  margin-top: clamp(44px, 6vw, 64px); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px 40px; align-items: center;
  background: rgba(6, 26, 61, .32); border: 1px solid rgba(255, 255, 255, .18); border-radius: var(--radius); padding: clamp(24px, 4vw, 36px);
}
.solutions-note p { color: #dce8fd; font-size: var(--step-1); max-width: 70ch; }
.solutions-note p strong { color: var(--white); display: block; font-family: var(--f-display); font-size: var(--step-2); font-weight: 600; margin-bottom: 6px; }

/* ---------- Why choose ---------- */
.why-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.why-card {
  border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 28px; display: grid; gap: 12px; align-content: start;
  background: linear-gradient(180deg, var(--white), var(--ice)); transition: border-color .2s, transform .25s, box-shadow .25s;
}
.why-card:hover { border-color: #9dbff3; transform: translateY(-4px); box-shadow: var(--shadow); }
.why-card .why-icon { width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center; background: var(--blue); color: var(--white); margin-bottom: 6px; }
.why-card .why-icon .icon { width: 26px; height: 26px; }
.why-card h3 { font-size: 1.18rem; }
.why-card p { color: var(--muted); }

/* ---------- Featured video ---------- */
.video-band { background: radial-gradient(90% 70% at 50% 0%, #0f3576 0%, var(--deep) 70%); color: var(--white); }
.video-band h2 { color: var(--white); }
.video-band .eyebrow { color: #8fb6ff; }
.video-band .section-head p { color: #b9cbea; }
.video-frame { position: relative; border-radius: 18px; overflow: hidden; aspect-ratio: 16 / 9; max-width: 1000px; margin-inline: auto; background: #0b2350; box-shadow: 0 40px 80px -40px rgba(0,0,0,.8); border: 1px solid rgba(255,255,255,.12); }
.video-frame video, .video-frame .poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.video-frame .poster svg { width: 100%; height: 100%; }
.play {
  position: absolute; inset: 0; margin: auto; width: 96px; height: 96px; border-radius: 50%; border: 0; cursor: pointer; z-index: 2;
  background: var(--white); color: var(--blue); display: grid; place-items: center; box-shadow: 0 0 0 14px rgba(255,255,255,.18), 0 0 0 28px rgba(255,255,255,.07);
  transition: transform .2s;
}
.play:hover { transform: scale(1.06); }
.play .icon { width: 34px; height: 34px; margin-left: 5px; }
.video-meta { position: absolute; left: 18px; right: 18px; bottom: 16px; z-index: 2; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-family: var(--f-mono); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: #cfe0ff; }
.video-meta span { background: rgba(6, 26, 61, .65); padding: 6px 10px; border-radius: 6px; }
.video-msg { position: absolute; left: 50%; top: calc(50% + 78px); transform: translateX(-50%); z-index: 2; background: rgba(6,26,61,.85); color: var(--white); padding: 10px 16px; border-radius: 10px; font-size: .9rem; text-align: center; width: max-content; max-width: 90%; }
.chapters { list-style: none; padding: 0; margin: 28px auto 0; max-width: 1000px; display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.chapters li { font-size: .85rem; font-weight: 600; color: #d6e3fb; border: 1px solid rgba(255,255,255,.2); border-radius: 999px; padding: 7px 14px; display: inline-flex; gap: 8px; align-items: center; }
.chapters li span { font-family: var(--f-mono); color: #8fb6ff; font-weight: 500; font-size: .75rem; }
.center-cta { display: flex; justify-content: center; margin-top: 40px; }

/* ---------- Success story ---------- */
.story-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.quote {
  position: relative; margin: 0; padding: clamp(32px, 5vw, 56px); border-radius: 20px; background: var(--sky); border: 1px solid #d3e3f8;
}
.quote .qmark { font-family: var(--f-display); font-size: 7rem; line-height: .6; color: var(--blue); opacity: .25; position: absolute; top: 42px; left: 30px; }
.quote p { position: relative; font-family: var(--f-display); font-size: clamp(1.25rem, 1rem + 1vw, 1.7rem); line-height: 1.45; color: var(--navy); font-weight: 500; letter-spacing: -0.01em; }
.quote footer { margin-top: 22px; display: flex; gap: 12px; align-items: center; color: var(--muted); font-weight: 600; font-size: .92rem; }
.quote footer .logo-mark { width: 36px; height: 36px; }
.tiers { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.tier { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 16px; align-items: start; padding: 20px 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.tier .tick { width: 36px; height: 36px; border-radius: 50%; background: var(--blue); color: var(--white); display: grid; place-items: center; }
.tier .tick .icon { width: 18px; height: 18px; }
.tier h3 { font-size: 1.1rem; }
.tier p { color: var(--muted); font-size: .95rem; margin-top: 4px; }

/* ---------- Consultation band ---------- */
.consult { position: relative; isolation: isolate; color: var(--white); overflow: hidden; background: var(--navy); }
.consult .consult-bg { position: absolute; inset: 0; z-index: -2; }
.consult .consult-bg svg { width: 100%; height: 100%; }
.consult::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(105deg, rgba(6, 26, 61, .95) 0%, rgba(10, 42, 94, .86) 45%, rgba(20, 87, 210, .7) 100%); }
.consult-inner { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.consult h2 { color: var(--white); font-size: var(--step-4); }
.consult .eyebrow { color: #a9c8ff; }
.consult-copy { display: grid; gap: 20px; }
.consult-copy p { color: #dbe7fb; font-size: var(--step-1); max-width: 60ch; }
.consult-card { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.2); border-radius: 18px; padding: 28px; display: grid; gap: 14px; backdrop-filter: blur(6px); }
.consult-card h3 { color: var(--white); font-size: 1.1rem; }
.consult-card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.consult-card li { display: flex; gap: 10px; color: #e6eefc; }
.consult-card li .icon { width: 20px; height: 20px; color: #8ff0c9; margin-top: 3px; }
.consult-card .btn { width: 100%; }

/* ---------- Contact ---------- */
.contact { background: linear-gradient(180deg, var(--ice), var(--white)); }
.contact-grid { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.4fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.contact-info { display: grid; gap: 18px; }
.contact-info h2 { font-size: var(--step-3); }
.contact-info > p { color: var(--muted); }
.info-list { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 14px; }
.info-list li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 14px; align-items: start; }
.info-list .ic { width: 44px; height: 44px; border-radius: 12px; background: var(--sky); color: var(--blue); display: grid; place-items: center; }
.info-list small { display: block; font-family: var(--f-mono); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.info-list a, .info-list span { color: var(--ink); font-weight: 600; overflow-wrap: anywhere; }
.info-list a:hover { color: var(--blue); }
.form-card { background: var(--white); border: 1px solid var(--line); border-radius: 20px; padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.field { display: grid; gap: 7px; min-width: 0; }
.field.full { grid-column: 1 / -1; }
.field label { font-weight: 700; font-size: .88rem; color: var(--navy); }
.field label .req { color: var(--blue); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: var(--ice); border: 1.5px solid var(--line);
  border-radius: 10px; padding: 13px 14px; transition: border-color .2s, background-color .2s, box-shadow .2s;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); background: var(--white); box-shadow: 0 0 0 4px rgba(20, 87, 210, .12); }
.field .err { color: #c0283c; font-size: .82rem; font-weight: 600; }
.field.invalid input, .field.invalid select { border-color: #e0566a; }
.form-foot { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; margin-top: 24px; }
.form-foot small { color: var(--muted); max-width: 40ch; }
.form-success { display: grid; gap: 12px; justify-items: start; padding: 10px 0; }
.form-success .tick { width: 56px; height: 56px; border-radius: 50%; background: rgba(41, 195, 143, .14); color: var(--mint); display: grid; place-items: center; }
.form-success .tick .icon { width: 28px; height: 28px; }
.form-success h3 { font-size: 1.5rem; }
.form-success p { color: var(--muted); }

/* ---------- Footer ---------- */
.site-footer { background: var(--deep); color: #b8c8e4; padding-block: 72px 28px; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(0, 1fr)); gap: 40px; }
.site-footer .logo { color: var(--white); }
.site-footer .logo-text span { color: #8fa6cc; }
.footer-about p { margin-top: 18px; max-width: 36ch; font-size: .95rem; }
.site-footer h4 { color: var(--white); font-size: .95rem; margin-bottom: 16px; font-family: var(--f-body); font-weight: 700; letter-spacing: .02em; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer a { color: #b8c8e4; }
.site-footer a:hover { color: var(--white); }
.footer-contact li { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 10px; font-size: .93rem; }
.footer-contact .icon { width: 18px; height: 18px; color: #6fa0ff; margin-top: 4px; }
.footer-contact a, .footer-contact span { overflow-wrap: anywhere; }
.social { display: flex; gap: 10px; margin-top: 20px; }
.social a { width: 42px; height: 42px; border-radius: 50%; background: rgba(255,255,255,.08); display: grid; place-items: center; color: var(--white); }
.social a:hover { background: var(--blue); }
.footer-bottom { margin-top: 56px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1); display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; font-size: .85rem; }

/* ---------- Floating buttons ---------- */
.floating {
  position: fixed; z-index: 40; right: calc(18px + env(safe-area-inset-right, 0px)); bottom: calc(22px + env(safe-area-inset-bottom, 0px));
  display: grid; gap: 12px; justify-items: end;
}
.fab {
  position: relative; width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; color: var(--white);
  box-shadow: 0 12px 24px -10px rgba(6, 26, 61, .55); transition: transform .2s;
}
.fab:hover { transform: scale(1.08); }
.fab .icon { width: 26px; height: 26px; }
.fab .tip {
  position: absolute; right: calc(100% + 12px); top: 50%; transform: translateY(-50%) translateX(6px); white-space: nowrap; background: var(--navy); color: var(--white);
  font-size: .82rem; font-weight: 600; padding: 7px 11px; border-radius: 8px; opacity: 0; pointer-events: none; transition: .2s;
}
.fab:hover .tip, .fab:focus-visible .tip { opacity: 1; transform: translateY(-50%); }
.fab-messenger { background: linear-gradient(135deg, #0a7cff, #7a3cff); }
.fab-whatsapp { background: #1fa855; }
.fab-call { background: var(--navy); }
.fab-quote { width: auto; height: auto; border-radius: 999px; padding: 14px 20px; background: var(--blue); font-weight: 700; font-size: .92rem; display: inline-flex; gap: 8px; }
.fab-quote .icon { width: 18px; height: 18px; }

/* ---------- Lead popup ---------- */
.modal { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 20px max(16px, env(safe-area-inset-right, 0px)) 20px max(16px, env(safe-area-inset-left, 0px)); }
.modal-backdrop { position: absolute; inset: 0; background: rgba(6, 26, 61, .6); backdrop-filter: blur(3px); animation: fade .3s ease; }
.modal-card {
  position: relative; width: min(560px, 100%); background: var(--white); border-radius: 22px; overflow: hidden; box-shadow: 0 40px 80px -30px rgba(0,0,0,.5);
  animation: rise .4s cubic-bezier(.2,.8,.2,1);
}
.modal-top { background: linear-gradient(135deg, var(--navy), var(--blue)); color: var(--white); padding: 30px 30px 26px; position: relative; }
.modal-top .eyebrow { color: #a9c8ff; }
.modal-top h2 { color: var(--white); font-size: clamp(1.4rem, 1.1rem + 1.2vw, 1.85rem); margin-top: 10px; }
.modal-body { padding: 26px 30px 30px; display: grid; gap: 18px; }
.modal-body p { font-size: 1.08rem; color: var(--ink); }
.modal-body p strong { color: var(--blue); }
.modal-body ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; color: var(--muted); font-size: .95rem; }
.modal-body li { display: flex; gap: 10px; }
.modal-body li .icon { width: 18px; height: 18px; color: var(--mint); margin-top: 3px; }
.modal-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.modal-actions .btn-primary { flex: 1 1 220px; }
.modal-dismiss { background: none; border: 0; color: var(--muted); font: inherit; font-weight: 600; cursor: pointer; padding: 10px; }
.modal-close { position: absolute; top: 14px; right: 14px; width: 38px; height: 38px; border-radius: 50%; border: 0; background: rgba(255,255,255,.15); color: var(--white); cursor: pointer; display: grid; place-items: center; }
.modal-close .icon { width: 20px; height: 20px; }
@keyframes fade { from { opacity: 0; } }
@keyframes rise { from { opacity: 0; transform: translateY(24px) scale(.98); } }

/* ---------- Reveal (content visible at rest; motion only enhances) ---------- */
.reveal { transition: transform .7s cubic-bezier(.2,.7,.2,1); }
.js .reveal.pre { transform: translateY(18px); }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .process { grid-template-columns: minmax(0, 1fr); gap: 0; max-width: 520px; margin-inline: auto; }
  .process::before { top: 32px; bottom: 32px; left: 31px; right: auto; width: 2px; height: auto; background: repeating-linear-gradient(180deg, rgba(255,255,255,.55) 0 8px, transparent 8px 16px); }
  .process li { grid-template-columns: 64px minmax(0, 1fr); justify-items: start; text-align: left; align-items: center; gap: 18px; padding-block: 10px; }
  .process h3 { justify-content: flex-start; font-size: 1.05rem; }
  .product-grid, .why-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .consult-inner, .story-grid, .contact-grid, .trust-lead { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 820px) {
  .about-grid { grid-template-columns: minmax(0, 1fr); }
  .about-media .ph { aspect-ratio: 16 / 12; }
  .about-badge { right: 12px; bottom: 12px; }
  .stats { grid-template-columns: minmax(0, 1fr); }
  .stat + .stat { border-left: 0; border-top: 1px solid var(--line); }
  .solutions-note { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 680px) {
  :root { --header-h: 66px; }
  .logo-mark { width: 38px; height: 38px; }
  .logo-text strong { font-size: 1rem; }
  .logo-text span { font-size: .6rem; }
  .product-grid, .why-grid, .form-grid, .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-ctas .btn, .consult .hero-ctas .btn { flex: 1 1 100%; }
  .trust-strip { gap: 10px 18px; }
  .trust-strip li { font-size: .9rem; }
  .play { width: 72px; height: 72px; }
  .video-meta { display: none; }
  .video-msg { top: auto; bottom: 12px; }
  /* floating buttons become a bottom action bar */
  body { padding-bottom: calc(64px + env(safe-area-inset-bottom, 0px)); }
  .floating {
    left: 0; right: 0; bottom: 0; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; background: var(--white);
    border-top: 1px solid var(--line); box-shadow: 0 -10px 30px -20px rgba(6,26,61,.5);
    padding: 0 var(--gutter-r) env(safe-area-inset-bottom, 0px) var(--gutter-l);
  }
  .fab, .fab-quote { width: auto; height: 64px; border-radius: 0; box-shadow: none; background: none; color: var(--navy); display: grid; justify-items: center; align-content: center; gap: 3px; padding: 0; font-size: .7rem; font-weight: 700; }
  .fab:hover { transform: none; }
  .fab .tip { position: static; opacity: 1; transform: none; background: none; color: inherit; padding: 0; font-size: .7rem; }
  .fab-messenger .icon { color: #0a7cff; } .fab-whatsapp .icon { color: #1fa855; } .fab-call .icon { color: var(--navy); }
  .fab-quote { color: var(--blue); }
  .fab-quote .label-long { display: none; }
  .fab .icon, .fab-quote .icon { width: 22px; height: 22px; }
}
@media (min-width: 681px) { .fab-quote .label-short { display: none; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* ================= Conversion boosters ================= */
/* Top contact bar */
.topbar { background: var(--navy); color: #cfe0ff; font-size: .82rem; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 36px; }
.topbar .icon { width: 15px; height: 15px; }
.topbar-offer { display: inline-flex; gap: 8px; align-items: center; font-weight: 600; min-width: 0; }
.topbar-offer .icon { color: #8ff0c9; }
.topbar-contact { display: inline-flex; gap: 20px; flex: none; }
.topbar a { color: var(--white); display: inline-flex; gap: 6px; align-items: center; font-weight: 600; }
.topbar a:hover { color: #9cc2ff; }
.site-header::before { display: none; }
@media (max-width: 1080px) { .nav { inset: var(--nav-top, calc(var(--header-h) + 36px)) 0 auto 0; } }
@media (max-width: 760px) { .hide-sm { display: none !important; } .topbar-offer { display: none; } .topbar-inner { justify-content: center; } }

/* FAQ */
.faq { background: var(--ice); border-top: 1px solid var(--line); }
.faq-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.3fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.faq .section-head { margin-bottom: 0; justify-items: start; position: sticky; top: calc(var(--header-h) + 60px); }
.faq-list { display: grid; gap: 12px; }
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: 12px; transition: border-color .2s, box-shadow .2s; }
.faq details[open] { border-color: #9dbff3; box-shadow: var(--shadow); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 54px 18px 22px; font-weight: 700; color: var(--navy); position: relative; font-size: 1.02rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; border-radius: 50%; background: var(--sky); color: var(--blue); display: grid; place-items: center; font-size: 1.2rem; font-weight: 600; line-height: 1; transition: transform .2s; }
.faq details[open] summary::after { content: "–"; background: var(--blue); color: var(--white); }
.faq details p { padding: 0 22px 20px; color: var(--muted); max-width: 64ch; }

/* Product planner */
.planner { background: linear-gradient(180deg, var(--white), var(--sky)); }
.planner-card { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); border-radius: 20px; overflow: hidden; border: 1px solid #cfe0f6; box-shadow: var(--shadow); background: var(--white); }
.planner-qs { padding: clamp(22px, 4vw, 40px); display: grid; gap: 26px; }
.planner fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.planner legend { font-weight: 700; color: var(--navy); font-family: var(--f-display); font-size: 1.05rem; display: flex; gap: 10px; align-items: center; margin-bottom: 12px; padding: 0; }
.planner legend span { width: 26px; height: 26px; border-radius: 50%; background: var(--blue); color: var(--white); display: grid; place-items: center; font-size: .8rem; font-family: var(--f-mono); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip span { display: inline-block; padding: 9px 15px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--ice); font-weight: 600; font-size: .92rem; color: var(--ink); transition: .15s; }
.chip:hover span { border-color: #9dbff3; }
.chip input:checked + span { background: var(--blue); border-color: var(--blue); color: var(--white); }
.chip input:focus-visible + span { outline: 3px solid #7fb0ff; outline-offset: 2px; }
.planner-result { background: linear-gradient(160deg, var(--navy), var(--blue)); color: var(--white); padding: clamp(22px, 4vw, 40px); display: grid; gap: 14px; align-content: start; }
.planner-result .eyebrow { color: #a9c8ff; }
.planner-result h3 { color: var(--white); font-size: var(--step-2); }
.planner-result p { color: #dbe7fb; }
.planner-result small { color: #b9cdee; }
.plan-steps { list-style: none; margin: 4px 0 6px; padding: 0; display: grid; gap: 8px; counter-reset: ps; }
.plan-steps li { counter-increment: ps; display: flex; gap: 10px; align-items: center; font-weight: 600; color: #eef4ff; font-size: .95rem; }
.plan-steps li::before { content: counter(ps); width: 24px; height: 24px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.5); display: grid; place-items: center; font-size: .75rem; font-family: var(--f-mono); flex: none; }
.plan-steps li.hl::before { background: #29c38f; border-color: #29c38f; color: var(--deep); }

/* Contact: what happens next */
.next-steps { margin-top: 8px; padding: 22px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); }
.next-steps h3 { font-size: 1.02rem; margin-bottom: 12px; }
.next-steps ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; counter-reset: ns; }
.next-steps li { counter-increment: ns; display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 2px 12px; color: var(--muted); font-size: .93rem; }
.next-steps li::before { content: counter(ns); grid-row: span 2; width: 28px; height: 28px; border-radius: 50%; background: var(--sky); color: var(--blue); font-weight: 700; display: grid; place-items: center; font-size: .82rem; }
.next-steps b { color: var(--navy); }
.form-success .hero-ctas { margin-top: 4px; }

@media (max-width: 1000px) {
  .faq-grid, .planner-card { grid-template-columns: minmax(0, 1fr); }
  .faq .section-head { position: static; }
}
.footer-grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, .7fr) minmax(0, 1fr) minmax(0, 1.35fr); }
@media (max-width: 1000px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 680px) { .footer-grid { grid-template-columns: minmax(0, 1fr); } }
@media (min-width: 1001px) { .process h3 > .icon { display: none; } }

/* logo badge */
.logo-mark { width: 54px; height: 54px; border-radius: 50%; object-fit: contain; }
.site-footer .logo-mark { width: 64px; height: 64px; }
.quote footer .logo-mark { width: 40px; height: 40px; }
@media (max-width: 680px) { .logo-mark { width: 46px; height: 46px; } }

/* real photos */
.ph[style*="background-image"] svg.art { opacity: 0; }
.reel { display: none; }
@media (min-width: 681px) { .reel { display: inline-flex; } }
