/* ============================================================
   ANIBA SOLAR DOCTOR — home.css (page-specific sections)
   ============================================================ */

/* ---------- HERO (premium redesign) ---------- */
.hero {
  position: relative;
  min-height: min(100svh, 900px);
  display: flex;
  align-items: center;
  padding-top: calc(var(--header-h) + clamp(28px, 3.5vw, 52px));
  padding-bottom: clamp(48px, 6vw, 84px);
  background: #fff;
  overflow: hidden;
}
/* refined, subtle background */
.hero-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hero-glow { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .5; }
.hero-glow--green {
  width: 620px; height: 620px; top: -220px; right: -160px;
  background: radial-gradient(circle, rgba(23,177,105,.28), transparent 68%);
  animation: sun-glow 9s ease-in-out infinite;
}
.hero-glow--blue {
  width: 560px; height: 560px; bottom: -240px; left: -180px;
  background: radial-gradient(circle, rgba(29,111,192,.22), transparent 68%);
  animation: sun-glow 11s ease-in-out infinite;
}
.hero-bg .particle { width: 7px; height: 7px; background: var(--emerald-400); opacity: .35; }

.hero-grid {
  position: relative; z-index: 2;
  display: grid;
  grid-template-columns: 1.12fr 1fr;   /* copy ~53% · image ~47% (bigger image) */
  gap: clamp(30px, 3.4vw, 54px);
  align-items: center;
  width: 100%;
}
.hero-copy { max-width: 680px; }
.hero-title {
  margin: 22px 0 0;
  /* sized so each phrase fits its column on ONE line → exactly 3 clean lines */
  font-size: clamp(2.2rem, 3.7vw, 3.25rem);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.035em;
}
/* each phrase is its own line — no internal wrap on desktop */
.hero-title .hl { display: block; white-space: nowrap; }
.hero-title .hl .text-grad { display: inline; }

/* robust entrance: fade + slide up per line (gradient span never transformed) */
.hero-title .hl { opacity: 0; transform: translateY(30px); animation: hero-line-rise .85s var(--ease-out) forwards; }
.hero-title .hl:nth-child(1) { animation-delay: .12s; }
.hero-title .hl:nth-child(2) { animation-delay: .26s; }
.hero-title .hl:nth-child(3) { animation-delay: .40s; }
@keyframes hero-line-rise { to { opacity: 1; transform: none; } }
.hero-lead {
  margin-top: 28px; max-width: 560px;
  font-size: var(--fs-sub);
  line-height: 1.7; color: var(--ink-500); font-weight: 400;
  letter-spacing: -0.006em;
}
.hero-cta { margin-top: 40px; flex-wrap: wrap; gap: 16px; }

/* stats in the left column */
.hero-stats {
  display: flex; flex-wrap: wrap; gap: clamp(22px, 2.6vw, 42px);
  margin-top: clamp(30px, 3.2vw, 44px);
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.hero-stat b {
  font-size: clamp(1.95rem, 2.7vw, 2.5rem);
}
/* number's inner span must inherit the big size (never caught by a label rule) */
.hero-stat b > span { font-size: 1em; color: inherit; }

/* hero image inside a premium floating glass frame — no cropping */
.hero-visual { position: relative; }
.hero-media {
  position: relative;
  padding: 12px;
  border-radius: 34px;
  background: rgba(255,255,255,.55);
  border: 1px solid rgba(255,255,255,.85);
  box-shadow: var(--shadow-lg), inset 0 1px 0 rgba(255,255,255,.7);
  backdrop-filter: blur(6px);
  transform: perspective(1400px) rotateY(calc(var(--px,0) * -1.4deg)) rotateX(calc(var(--py,0) * 1deg));
  transition: transform .4s ease;
}
.hero-media-inner { border-radius: 24px; overflow: hidden; box-shadow: 0 10px 30px rgba(10,37,64,.14); }
.hero-media-inner img { width: 100%; height: auto; display: block; }

/* ============================================================
   PREMIUM FLOATING WIDGETS (Hero) — SaaS dashboard style
   ============================================================ */
/* shared premium look for all 3 floating cards */
.hero-float-card, .hero-float-portrait, .cert-card {
  border-radius: 26px;
  background: rgba(255,255,255,.9);
  border: 1px solid rgba(255,255,255,.75);
  box-shadow:
    0 30px 60px -22px rgba(10,37,64,.30),
    0 14px 30px -14px rgba(10,37,64,.16),
    inset 0 1px 0 rgba(255,255,255,.8);
  backdrop-filter: blur(16px) saturate(1.3);
  -webkit-backdrop-filter: blur(16px) saturate(1.3);
}

/* TOP-LEFT widget — Plant Health Score (compact, near-square) */
.hero-float-card {
  position: absolute; left: -54px; top: -38px;
  width: 184px; padding: 16px 17px; z-index: 3;
  border-radius: 22px;
}
.hfc-head { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.hfc-badge {
  width: 36px; height: 36px; border-radius: 11px; flex-shrink: 0;
  display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(23,177,105,.18), rgba(29,111,192,.14));
  color: var(--green-700);
}
.hfc-badge svg { width: 19px; height: 19px; }
.hfc-head b { font-family: var(--font-head); font-weight: 700; font-size: .98rem; line-height: 1.2; color: var(--navy-800); width: 100%; }
.hfc-live { display: flex; align-items: center; gap: 8px; margin-top: 13px; font-size: .76rem; color: var(--ink-500); font-weight: 500; }
.hfc-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green-500); box-shadow: 0 0 0 3px rgba(23,177,105,.18); flex-shrink: 0; }
.hfc-score { font-family: var(--font-head); font-weight: 800; font-size: 2.05rem; letter-spacing: -.035em; line-height: 1; margin: 11px 0 10px; color: var(--navy-800); }
.hfc-score i { font-style: normal; color: var(--green-600); font-size: 1.05rem; margin-left: 2px; }
.hfc-bar { height: 6px; border-radius: 10px; background: rgba(10,37,64,.1); overflow: hidden; }
.hfc-bar span { display: block; height: 100%; border-radius: 10px; background: var(--grad-brand); }

/* BOTTOM-RIGHT widget — Thermal scan (compact, landscape) */
.hero-float-portrait {
  position: absolute; right: -52px; bottom: -40px;
  width: 188px; padding: 9px; z-index: 3;
  border-radius: 22px;
}
.hfp-media { border-radius: 15px; overflow: hidden; aspect-ratio: 16/9; }
.hfp-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hfp-foot { display: flex; align-items: center; gap: 11px; padding: 12px 6px 6px; }
.hfp-badge {
  width: 36px; height: 36px; border-radius: 11px; flex-shrink: 0;
  display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(23,177,105,.18), rgba(29,111,192,.14));
  color: var(--green-700);
}
.hfp-badge svg { width: 18px; height: 18px; }
.hfp-text b { display: block; font-family: var(--font-head); font-weight: 700; font-size: .95rem; color: var(--navy-800); line-height: 1.2; }
.hfp-status { display: flex; align-items: center; gap: 6px; font-size: .76rem; color: var(--green-600); font-weight: 600; margin-top: 3px; }
.hfp-status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--green-500); flex-shrink: 0; }

/* ---------- TRUST ---------- */
.trust { border-bottom: 1px solid var(--line); }
.trust-kicker { color: var(--ink-400); font-size: .95rem; }
.trust-stats { margin-top: 44px; }

/* ---------- SPLIT (shared) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(34px, 5vw, 72px); align-items: center; }
/* split (half-column) headings sit smaller than full-width section titles → 2–3 clean lines */
.split-copy h2, .split-copy .h2 { font-size: clamp(1.6rem, 1rem + 2vw, 2.4rem); line-height: 1.16; letter-spacing: -0.02em; }
/* "Who We Are" — clean, compact enterprise hierarchy (left-aligned, vertically centred) */
.about-copy { align-self: center; text-align: left; }
.about-copy > * { margin: 0; max-width: 480px; }
.about-copy .h2 {
  margin-top: 16px;
  font-size: clamp(1.5rem, 1rem + 1.5vw, 2rem);   /* compact — stays 2 lines */
  line-height: 1.2;
  letter-spacing: -0.02em;
}
.about-copy .lead {
  margin-top: 14px;
  max-width: 452px;
  font-size: 1.02rem;
  line-height: 1.7;
  color: var(--ink-500);
}
.about-copy .check-list { margin-top: 26px; }
.about-copy .check-list li { align-items: flex-start; }   /* tidy multi-line items */
.about-copy .check-list li svg { margin-top: 1px; }
.about-copy .btn-row { margin-top: 26px; flex-wrap: wrap; }
.split-img { border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--shadow-md); aspect-ratio: 4/3; }
.split-img img, .split-media img { width: 100%; height: 100%; object-fit: cover; }
.split-media { position: relative; }
.about-badge { position: absolute; right: -20px; bottom: -22px; display: flex; align-items: center; gap: 14px; padding: 16px 20px; max-width: 260px; }
.ab-icon { width: 44px; height: 44px; border-radius: 12px; background: var(--grad-brand); color: #fff; display: grid; place-items: center; flex-shrink: 0; }
.ab-icon svg { width: 24px; height: 24px; }
.about-badge b { display: block; font-family: var(--font-head); font-size: .95rem; color: var(--navy-800); }
.about-badge span { font-size: .8rem; color: var(--ink-400); }

.check-list { display: grid; gap: 14px; margin-top: 6px; }
.check-list li { display: flex; align-items: center; gap: 13px; font-weight: 500; color: var(--navy-700); }
.check-list svg { width: 22px; height: 22px; flex-shrink: 0; padding: 4px; border-radius: 50%; background: rgba(23,177,105,.12); color: var(--green-600); }
/* dark sections: make the list text + ticks legible */
.section-dark .check-list li { color: rgba(255,255,255,.88); }
.section-dark .check-list svg { color: var(--emerald-400); background: rgba(53,208,138,.16); }

/* ---------- SERVICES ---------- */
.services-head { gap: 24px; flex-wrap: wrap; }
.services-viewall { flex-shrink: 0; }

/* ---------- SOLAR HEALTH SCORE ---------- */
.health { position: relative; }
.gauges { grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 26px); }
.gauge-card { padding: 30px 24px; text-align: center; position: relative; }
.gauge-svg { width: 150px; height: 150px; margin: 0 auto; transform: rotate(-90deg); }
.gauge-track { fill: none; stroke: rgba(255,255,255,.1); stroke-width: 9; }
.gauge-value { fill: none; stroke: url(#g-grad); stroke-width: 9; stroke-linecap: round; }
.gauge-card { --dummy: 0; }
.gauge-center { position: absolute; top: 30px; left: 0; right: 0; height: 150px; display: grid; place-items: center; pointer-events: none; }
.gauge-num { font-family: var(--font-head); font-weight: 800; font-size: 1.9rem; color: #fff; letter-spacing: -.03em; }
.gauge-card p { margin-top: 14px; color: rgba(255,255,255,.7); font-weight: 500; font-size: .96rem; }

/* gradient stroke via SVG defs injected globally */

/* ---------- WHY MAINTENANCE ---------- */
.why-split { grid-template-columns: 1fr 1fr; align-items: start; }
.loss-meter { padding: 24px; margin-top: 10px; }
.lm-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; font-weight: 500; color: var(--navy-700); }
.lm-head b { font-family: var(--font-head); font-size: 1.5rem; }
.lm-bar { height: 12px; border-radius: 10px; background: var(--gray-100); overflow: hidden; margin: 16px 0 14px; }
.lm-bar span { display: block; height: 100%; border-radius: 10px; background: linear-gradient(90deg, var(--solar-500), #ef6a3d); }
.lm-foot { display: flex; align-items: center; gap: 10px; font-size: .88rem; color: var(--ink-500); }
.lm-foot svg { width: 18px; height: 18px; color: var(--green-600); flex-shrink: 0; }

.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.why-item { display: flex; gap: 15px; padding: 22px; border-radius: var(--r-md); border: 1px solid var(--line); background: #fff; transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.why-item:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.why-ic { width: 44px; height: 44px; border-radius: 12px; flex-shrink: 0; display: grid; place-items: center; background: rgba(245,179,1,.12); color: #d9820a; }
.why-ic svg { width: 22px; height: 22px; }
.why-item b { font-family: var(--font-head); font-size: 1rem; color: var(--navy-800); }
.why-item p { font-size: .86rem; margin-top: 3px; }

/* ---------- PROCESS TIMELINE ---------- */
.process { position: relative; }
.timeline { display: grid; grid-template-columns: repeat(7, 1fr); gap: 14px; position: relative; counter-reset: step; }
.timeline::before { content: ""; position: absolute; top: 26px; left: 3%; right: 3%; height: 2px; background: linear-gradient(90deg, transparent, rgba(23,177,105,.5), rgba(56,182,230,.5), transparent); }
.tl-step { position: relative; padding-top: 60px; text-align: center; }
.tl-num { position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-head); font-weight: 700; font-size: 1rem; color: #fff; background: var(--grad-brand); box-shadow: 0 8px 24px rgba(15,154,168,.4); border: 4px solid var(--navy-900); }
.tl-step h3 { font-size: 1.02rem; color: #fff; margin-bottom: 6px; }
.tl-step p { font-size: .82rem; color: rgba(255,255,255,.62); }

/* ---------- BEFORE / AFTER ---------- */
.ba-split { grid-template-columns: 1fr 1.1fr; }
.ba-stats { display: flex; gap: 40px; margin-top: 6px; }
.ba-stats > div > span { max-width: 160px; }
.ba-stats .stat-num { font-size: clamp(2rem, 3.4vw, 2.8rem); }

.ba-compare { position: relative; border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 3/2.2; touch-action: none; cursor: ew-resize; user-select: none; }
.cmp-img { position: absolute; inset: 0; }
.cmp-img img { width: 100%; height: 100%; object-fit: cover; }
.cmp-after { clip-path: inset(0 0 0 50%); }
.cmp-handle { position: absolute; top: 0; bottom: 0; left: 50%; width: 3px; background: #fff; transform: translateX(-50%); box-shadow: 0 0 16px rgba(0,0,0,.3); pointer-events: none; }
.cmp-grip { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 46px; height: 46px; border-radius: 50%; background: #fff; display: grid; place-items: center; color: var(--navy-800); box-shadow: var(--shadow-md); }
.cmp-grip svg { width: 22px; height: 22px; }
.cmp-badge { position: absolute; bottom: 16px; z-index: 4; font-size: .74rem; font-weight: 600; padding: 6px 14px; border-radius: var(--r-pill); background: rgba(7,27,48,.7); color: #fff; backdrop-filter: blur(6px); pointer-events: none; }
.cmp-badge-l { left: 16px; } .cmp-badge-r { right: 16px; }
.cmp-range { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; }

/* ---------- INDUSTRIES ---------- */
.ind-split { grid-template-columns: 1fr 1fr; }
.ind-chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 6px 0; }
.section-dark .chip { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.14); color: rgba(255,255,255,.82); }
.section-dark .chip svg { color: var(--emerald-400); }
.ind-media { position: relative; }
.ind-img { border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4/3.2; }
.ind-img img { width: 100%; height: 100%; object-fit: cover; }
.ind-float { position: absolute; left: -18px; bottom: 26px; padding: 18px 22px; }
.ind-float b { display: block; font-family: var(--font-head); color: #fff; font-size: 1.05rem; }
.ind-float span { font-size: .84rem; color: rgba(255,255,255,.7); }

/* ---------- COVERAGE ---------- */
.coverage-panel { display: grid; grid-template-columns: 1.4fr .9fr; gap: 40px; align-items: center; background: var(--grad-navy); border-radius: var(--r-xl); padding: clamp(28px, 4vw, 52px); overflow: hidden; position: relative; }
.coverage-map { position: relative; }
.india-svg { width: 100%; height: auto; max-height: 480px; }
.hub-dot { fill: #fff; }
.map-hub .hub-glow { fill: var(--green-500); opacity: .25; transform-origin: center; animation: sun-glow 3s ease-in-out infinite; }
.map-hub.central .hub-glow { fill: var(--sky-400); }
.map-hub text { fill: rgba(255,255,255,.85); font-family: var(--font-head); font-size: 12px; font-weight: 600; opacity: 0; transition: opacity .25s ease; }
.map-hub:hover text, .map-hub.active text, .map-hub.central text { opacity: 1; }
.map-hub:hover .hub-dot, .map-hub.active .hub-dot { fill: var(--emerald-400); }
.map-hub { cursor: pointer; }
.coverage-side { color: #fff; }
.cv-stat { padding: 18px 0; border-bottom: 1px solid rgba(255,255,255,.12); }
.cv-stat .stat-num { font-size: 2.2rem; }
.cv-stat p { color: rgba(255,255,255,.65); font-size: .9rem; margin-top: 2px; }

/* ---------- NUMBERS ---------- */
.numbers-grid { gap: 30px 20px; }

/* ---------- PROJECTS ---------- */
.proj-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 22px; }
.proj-card { position: relative; border-radius: var(--r-lg); overflow: hidden; min-height: 300px; box-shadow: var(--shadow-sm); }
.proj-lg { grid-row: span 1; min-height: 380px; }
.proj-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.proj-card:hover img { transform: scale(1.06); }
.proj-info { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; padding: 26px; background: linear-gradient(to top, rgba(7,27,48,.85), rgba(7,27,48,.1) 55%, transparent); color: #fff; }
.proj-tag { font-size: .72rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--emerald-400); margin-bottom: 8px; }
.proj-info h3 { color: #fff; font-size: 1.2rem; }
.proj-info p { color: rgba(255,255,255,.75); font-size: .88rem; margin-top: 5px; }

/* ---------- TESTIMONIALS ---------- */
.section-soft { background: var(--bg-soft); }
.carousel { position: relative; }
.carousel-viewport { overflow: hidden; padding: 6px; margin: -6px; }
.carousel-track { display: flex; transition: transform .55s var(--ease); }
.carousel-slide { flex: 0 0 33.333%; padding: 0 12px; box-sizing: border-box; }
.carousel-nav { display: flex; align-items: center; justify-content: space-between; margin-top: 34px; }
.carousel-dots { display: flex; gap: 8px; }
.carousel-dots button { width: 9px; height: 9px; border-radius: 50%; background: var(--line-strong); transition: .3s ease; }
.carousel-dots button.active { width: 26px; border-radius: 6px; background: var(--grad-brand); }
.carousel-arrows { display: flex; gap: 10px; }
.carousel-arrows button { width: 50px; height: 50px; border-radius: 50%; border: 1px solid var(--line-strong); background: #fff; color: var(--navy-800); display: grid; place-items: center; transition: .25s ease; }
.carousel-arrows button:hover { background: var(--navy-800); color: #fff; border-color: transparent; transform: translateY(-2px); }
.carousel-arrows svg { width: 20px; height: 20px; }

/* ---------- AMC PLANS ---------- */
.plans { align-items: stretch; }
.plan { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 30px 26px; display: flex; flex-direction: column; transition: transform .3s var(--ease), box-shadow .3s var(--ease); position: relative; }
.plan:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.plan-featured { background: var(--grad-navy); border-color: transparent; color: #fff; box-shadow: var(--shadow-lg); }
.plan.plan-featured .plan-for { color: rgba(255,255,255,.65); }
.plan.plan-featured ul li { color: rgba(255,255,255,.85); border-color: rgba(255,255,255,.12); }
.plan.plan-featured ul li::before { background: rgba(255,255,255,.2); }
.plan.plan-featured ul li::after { border-color: #fff; }
.plan-badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); font-size: .72rem; font-weight: 600; padding: 6px 16px; border-radius: var(--r-pill); background: var(--grad-brand); color: #fff; white-space: nowrap; }
.plan-name { font-family: var(--font-head); font-weight: 700; font-size: 1.5rem; color: inherit; }
.plan .plan-name { color: var(--navy-800); }
.plan.plan-featured .plan-name { color: #fff; }
.plan-for { font-size: .86rem; color: var(--ink-400); margin: 4px 0 20px; }
.plan ul { display: grid; gap: 0; margin-bottom: 24px; flex: 1; }
.plan ul li { font-size: .92rem; padding: 11px 0 11px 26px; position: relative; border-bottom: 1px solid var(--line); color: var(--navy-700); }
.plan ul li::before { content: ""; position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 16px; height: 16px; border-radius: 50%; background: rgba(23,177,105,.15); }
.plan ul li::after { content: ""; position: absolute; left: 5px; top: 50%; transform: translateY(-50%) rotate(45deg); width: 4px; height: 8px; border-right: 2px solid var(--green-600); border-bottom: 2px solid var(--green-600); }

/* ---------- FAQ ---------- */
.faq-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(30px, 5vw, 70px); align-items: start; }
.faq-layout .acc { background: #fff; border-radius: var(--r-lg); padding: 8px 28px; box-shadow: var(--shadow-xs); border: 1px solid var(--line); }

/* ---------- CONTACT CTA ---------- */
.cta-inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(34px, 5vw, 64px); align-items: center; }
.cta-copy .h2 { margin: 16px 0; }
.cta-contacts { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 26px; }
.cta-contact { display: flex; align-items: center; gap: 13px; color: #fff; }
.cta-contact svg { width: 40px; height: 40px; padding: 10px; border-radius: 12px; background: rgba(255,255,255,.1); color: var(--emerald-400); flex-shrink: 0; }
.cta-contact span { display: block; font-size: .76rem; color: rgba(255,255,255,.6); }
.cta-contact b { font-family: var(--font-head); font-size: .98rem; }
.cta-form { padding: 30px; }
.cta-form h3 { color: #fff; margin-bottom: 20px; font-size: 1.25rem; }
.cta-form .field { margin-bottom: 14px; }
.cta-form input, .cta-form select { width: 100%; padding: 15px 18px; border-radius: 14px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); color: #fff; }
.cta-form input::placeholder { color: rgba(255,255,255,.5); }
.cta-form select { color: rgba(255,255,255,.85); }
.cta-form select option { color: #17242f; }
.cta-form input.invalid, .cta-form select.invalid { border-color: #ff7a6b; background: rgba(255,122,107,.1); }
.form-status { margin-top: 12px; font-size: .88rem; min-height: 1em; }
.form-status.ok { color: var(--emerald-400); }
.form-status.err { color: #ff9d8f; }

/* ---------- Responsive overrides for home sections ---------- */
@media (max-width: 1024px) {
  .gauges { grid-template-columns: repeat(3, 1fr); }
  .timeline { grid-template-columns: repeat(4, 1fr); row-gap: 34px; }
  .timeline::before { display: none; }
  .proj-grid { grid-template-columns: 1fr 1fr; }
  .proj-lg { grid-column: span 2; }
  .carousel-slide { flex-basis: 50%; }
}
@media (max-width: 860px) {
  .why-split, .ba-split, .ind-split, .coverage-panel, .cta-inner, .faq-layout, .why-grid { grid-template-columns: 1fr; }
  /* single-column hero: let the headline wrap instead of overflowing */
  .hero-title .hl { white-space: normal; }
  .hero-title { font-size: clamp(2.3rem, 7vw, 3.4rem); }
  .hero-media { max-width: 680px; margin-inline: auto; }
  .hero-float-card { left: -16px; top: -18px; width: 166px; padding: 15px 16px; }
  .hero-float-card .hfc-score { font-size: 1.9rem; }
  .hero-float-portrait { right: -16px; bottom: -24px; width: 170px; padding: 9px; }
  .cert-card { left: -14px; right: auto; bottom: -22px; width: 178px; padding: 16px; }
  .gauges { grid-template-columns: repeat(2, 1fr); }
  .coverage-side { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 24px; }
  .coverage-side .btn { grid-column: span 2; }
}
@media (max-width: 640px) {
  .hero-grid { gap: 30px; }
  .hero-media { padding: 8px; border-radius: 26px; }
  .hero-float-card { left: -10px; top: -14px; width: 150px; padding: 13px 14px; }
  .hero-float-card .hfc-badge { width: 34px; height: 34px; }
  .hero-float-card .hfc-head b { font-size: .9rem; }
  .hero-float-card .hfc-live { margin-top: 11px; font-size: .72rem; }
  .hero-float-card .hfc-score { font-size: 1.72rem; margin: 10px 0 9px; }
  .hero-float-portrait { right: -10px; bottom: -18px; width: 154px; padding: 8px; }
  .hero-float-portrait .hfp-badge { width: 32px; height: 32px; }
  .hero-float-portrait .hfp-text b { font-size: .86rem; }
  .cert-card { left: -10px; right: auto; bottom: -16px; width: 166px; padding: 15px; }
  .cert-card .cert-ic { width: 40px; height: 40px; margin-bottom: 11px; }
  .cert-card .cert-ic svg { width: 21px; height: 21px; }
  .cert-card b { font-size: 1rem; }
  .cert-card .cert-sub { font-size: .78rem; margin-top: 5px; }
  .cert-divider { margin: 11px 0 10px; }
  .cert-badge { padding: 7px 12px; font-size: .74rem; }
  .hero-stats { gap: 20px 30px; }
  .hero-stat { flex: 1 0 40%; }
  .gauges { grid-template-columns: 1fr 1fr; }
  .timeline { grid-template-columns: 1fr 1fr; }
  .proj-grid { grid-template-columns: 1fr; }
  .proj-lg { grid-column: span 1; }
  .carousel-slide { flex-basis: 100%; }
  .ba-stats { gap: 24px; }
  .cv-stat .stat-num { font-size: 1.8rem; }
}
@media (max-width: 420px) {
  .gauges { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: 1fr; }
  .hero-float-portrait { display: none; }
}
