/* ============================================================
   KLO Roofing — redesigned visual system, shared by any page
   that opts in via <body class="home"> (currently index.html
   and commercial.html). Scoped to body.home so the rest of the
   site (styles.css pages) is untouched.

   Direction (UI/UX Pro Max skill, variance 8 / motion 7):
   • Pattern: Hero-Centric  • Style: Bento Grids
   • Type: Playfair Display (display) + Inter (UI/body)
   • Motion: parallax + content reveal, hover-scale 1.02
   Brand overrides: navy #1B3F7D + magenta #D71B67 only
   (deeper navy shades/gradients/tints derived from them).
   ============================================================ */

body.home {
  /* Derived deeper-navy shades (no new hues) */
  --navy-900: #0C1B3A;
  --navy-950: #06122A;
  --hair: rgba(255, 255, 255, 0.14);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
body.home.no-scroll { overflow: hidden; }

/* Playfair for the big display headlines only */
.hx-display,
body.home .hx-hero h1,
body.home .hx-section-title {
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  font-weight: 800;
  letter-spacing: -0.015em;
  line-height: 1.04;
}

.hx-wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 22px; }

/* Inline icons (sprite <use>) — stroke follows currentColor */
.ic { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; display: inline-block; vertical-align: middle; flex: 0 0 auto; }

/* Shared bits ------------------------------------------------ */
.hx-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  text-transform: uppercase; letter-spacing: .22em; font-weight: 700;
  font-size: .72rem; color: var(--magenta);
}
.hx-eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--magenta); display: inline-block; }
.hx-eyebrow.on-dark { color: #FF8FB6; }
.hx-eyebrow.on-dark::before { background: #FF8FB6; }

.hx-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: inherit; font-weight: 700; font-size: 1.02rem; line-height: 1;
  padding: 17px 30px; border-radius: 999px; border: 2px solid transparent; cursor: pointer;
  min-height: 56px; text-decoration: none; white-space: nowrap;
  transition: transform .18s cubic-bezier(.2,.7,.2,1), background .2s ease, box-shadow .2s ease, color .2s ease;
}
.hx-btn svg { width: 19px; height: 19px; }
.hx-btn-primary { background: var(--magenta); color: #fff; box-shadow: 0 10px 30px -8px rgba(215,27,103,.6); }
.hx-btn-primary:hover { background: #E93B7E; transform: translateY(-2px); box-shadow: 0 16px 40px -10px rgba(215,27,103,.7); color:#fff; text-decoration:none; }
.hx-btn-ghost { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.55); backdrop-filter: blur(4px); }
.hx-btn-ghost:hover { background: #fff; color: var(--navy); transform: translateY(-2px); text-decoration:none; }
.hx-btn-navy { background: var(--navy); color:#fff; }
.hx-btn-navy:hover { background: var(--navy-dark); color:#fff; transform: translateY(-2px); text-decoration:none; }
.hx-btn-white { background:#fff; color: var(--navy); }
.hx-btn-white:hover { background: var(--navy-950); color:#fff; transform: translateY(-2px); text-decoration:none; }

/* ================= HERO ===================================== */
.hx-hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: 92vh; display: flex; align-items: flex-end;
  background: var(--navy-950);
}
.hx-hero-media {
  position: absolute; inset: -8% 0 0 0; width: 100%; height: 116%;
  object-fit: cover; object-position: 50% 42%; z-index: -2;
  will-change: transform;
}
.hx-hero-overlay {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(6,18,42,.42) 0%, rgba(6,18,42,.12) 34%, rgba(6,18,42,.72) 78%, rgba(6,18,42,.94) 100%),
    linear-gradient(90deg, rgba(12,27,58,.72) 0%, rgba(12,27,58,.10) 62%);
}
.hx-hero-inner { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 22px 68px; }
.hx-hero .hx-eyebrow { color: #FF8FB6; margin-bottom: 20px; }
.hx-hero .hx-eyebrow::before { background: #FF8FB6; }
.hx-hero h1 {
  color: #fff; margin: 0 0 20px; max-width: 16ch;
  font-size: clamp(2.7rem, 8.2vw, 5.6rem);
  text-shadow: 0 2px 40px rgba(0,0,0,.35);
}
.hx-hero h1 .accent { color: #FF8FB6; font-style: italic; }
.hx-hero-sub {
  color: #E6ECF7; font-size: clamp(1.05rem, 2.4vw, 1.4rem); line-height: 1.5;
  max-width: 46ch; margin: 0 0 34px; text-wrap: pretty;
}
.hx-hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 30px; }
.hx-hero-chips { display: flex; flex-wrap: wrap; gap: 10px 22px; align-items: center; }
.hx-chip {
  display: inline-flex; align-items: center; gap: 9px; color: #EAF0FA;
  font-weight: 600; font-size: .92rem;
}
.hx-chip svg { width: 18px; height: 18px; color: #FF8FB6; flex: 0 0 auto; }
.hx-scroll-cue {
  position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); z-index: 1;
  color: rgba(255,255,255,.65); font-size: .7rem; letter-spacing: .2em; text-transform: uppercase;
  display: flex; flex-direction: column; align-items: center; gap: 7px;
}
.hx-scroll-cue span { width: 1px; height: 34px; background: linear-gradient(rgba(255,255,255,.7), transparent); }

/* Geometric roofline edges — a shallow center peak that echoes a roofline.
   Negative margin pulls the section up so the previous one shows through the
   clipped corners; extra padding keeps content clear of the clip. */
.hx-peak-top {
  --peak: 4.2vw;
  clip-path: polygon(0 var(--peak), 50% 0, 100% var(--peak), 100% 100%, 0 100%);
  margin-top: calc(var(--peak) * -1);
  padding-top: calc(clamp(64px, 9vw, 112px) + var(--peak)) !important;
}
.hx-peak-both {
  --peak: 4.2vw;
  clip-path: polygon(0 var(--peak), 50% 0, 100% var(--peak), 100% 100%, 50% calc(100% - var(--peak)), 0 100%);
  margin-top: calc(var(--peak) * -1);
  padding-top: calc(clamp(64px, 9vw, 112px) + var(--peak)) !important;
  padding-bottom: calc(clamp(64px, 9vw, 112px) + var(--peak)) !important;
}

/* ================= SECTION FRAME ============================ */
.hx-sec { position: relative; padding: clamp(64px, 9vw, 112px) 0; }
.hx-sec-dark { background: linear-gradient(180deg, var(--navy-900) 0%, var(--navy-950) 100%); color: #E6ECF7; }
.hx-sec-light { background: #fff; }
.hx-sec-soft { background: var(--bg-soft); }
.hx-section-title { font-size: clamp(1.9rem, 4.6vw, 3.1rem); margin: 8px 0 0; }
.hx-sec-light .hx-section-title, .hx-sec-soft .hx-section-title { color: var(--navy); }
.hx-sec-dark .hx-section-title { color: #fff; }
.hx-sec-head { max-width: 720px; margin-bottom: clamp(34px, 5vw, 56px); }
.hx-sec-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.hx-sec-head p { font-size: 1.12rem; line-height: 1.6; margin: 16px 0 0; }
.hx-sec-light .hx-sec-head p, .hx-sec-soft .hx-sec-head p { color: var(--muted); }
.hx-sec-dark .hx-sec-head p { color: #B8C6E0; }

/* Roofline (geometric) dividers ----------------------------- */
.hx-roofline { position: relative; height: clamp(34px, 6vw, 66px); margin: 0; padding: 0; z-index: 2; }
.hx-roofline svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.hx-roofline--up { margin-top: calc(clamp(34px, 6vw, 66px) * -1); }

/* ================= VALUE STRIP (bento) ====================== */
.hx-strip-grid {
  display: grid; gap: 16px;
  grid-template-columns: 1.4fr 1fr 1fr;
}
.hx-bento {
  background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 30px;
  box-shadow: 0 10px 30px -18px rgba(20,47,94,.35);
}
.hx-bento.lead { background: linear-gradient(150deg, var(--navy) 0%, var(--navy-900) 100%); color: #fff; border: 0; }
.hx-bento.lead h3 { color: #fff; font-size: 1.55rem; }
.hx-bento.lead p { color: #C7D3EC; }
.hx-bento h3 { font-size: 1.15rem; color: var(--navy); margin: 0 0 8px; letter-spacing: -0.01em; }
.hx-bento p { color: var(--muted); margin: 0; font-size: .98rem; line-height: 1.55; }
.hx-bento .hx-ico {
  width: 46px; height: 46px; border-radius: 13px; display: flex; align-items: center; justify-content: center;
  background: rgba(215,27,103,.10); color: var(--magenta); margin-bottom: 16px;
}
.hx-bento .hx-ico svg { width: 24px; height: 24px; }

/* ================= SERVICES (photo bento) ================== */
.hx-services-grid { display: grid; gap: 16px; grid-template-columns: repeat(2, 1fr); }
.hx-svc {
  position: relative; display: block; overflow: hidden; border-radius: 20px;
  min-height: 340px; color: #fff; text-decoration: none; isolation: isolate;
  box-shadow: 0 18px 44px -22px rgba(6,18,42,.7);
}
.hx-svc:first-child { grid-row: span 2; }
.hx-svc img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.hx-svc::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(6,18,42,.10) 0%, rgba(6,18,42,.30) 45%, rgba(6,18,42,.90) 100%);
}
.hx-svc:hover img, .hx-svc:focus-visible img { transform: scale(1.06); }
.hx-svc-body { margin-top: auto; padding: 28px; position: relative; z-index: 1; }
.hx-svc { display: flex; flex-direction: column; }
.hx-svc-kicker { text-transform: uppercase; letter-spacing: .16em; font-size: .72rem; font-weight: 700; color: #FF8FB6; }
.hx-svc h3 { color: #fff; font-size: 1.5rem; margin: 8px 0 8px; letter-spacing: -0.01em; }
.hx-svc p { color: #D7E0F0; font-size: .98rem; margin: 0 0 14px; line-height: 1.5; }
.hx-svc-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: #fff; font-size: .95rem; }
.hx-svc-link svg { width: 16px; height: 16px; transition: transform .2s ease; }
.hx-svc:hover .hx-svc-link svg { transform: translateX(4px); }

/* ================= CREDIBILITY BAND ======================== */
.hx-cred-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(36px, 6vw, 72px); align-items: center; }
.hx-cred-badges { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.hx-badge {
  background: rgba(255,255,255,.05); border: 1px solid var(--hair); border-radius: 16px; padding: 22px;
  display: flex; flex-direction: column; gap: 10px;
}
.hx-badge .hx-ico { width: 44px; height: 44px; border-radius: 12px; background: rgba(215,27,103,.18); color: #FF8FB6; display: flex; align-items: center; justify-content: center; }
.hx-badge .hx-ico svg { width: 24px; height: 24px; }
.hx-badge b { color: #fff; font-size: 1.05rem; font-weight: 700; }
.hx-badge span { color: #A9BAD8; font-size: .88rem; }
.hx-license {
  margin-top: 20px; display: inline-flex; align-items: baseline; gap: 12px;
  background: rgba(215,27,103,.12); border: 1px solid rgba(255,143,182,.35);
  border-radius: 14px; padding: 14px 20px;
}
.hx-license .lbl { text-transform: uppercase; letter-spacing: .14em; font-size: .72rem; color: #FF8FB6; font-weight: 700; }
.hx-license .num { font-family: "Playfair Display", serif; font-weight: 800; font-size: 1.5rem; color: #fff; letter-spacing: .02em; }

/* ================= WHY / SPLIT ============================= */
.hx-split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 6vw, 68px); align-items: center; }
.hx-split-media { position: relative; border-radius: 22px; overflow: hidden; box-shadow: 0 30px 60px -30px rgba(20,47,94,.5); aspect-ratio: 5/4; }
.hx-split-media img { width: 100%; height: 100%; object-fit: cover; }
.hx-split-media .hx-badge-float {
  position: absolute; left: 18px; bottom: 18px; background: rgba(6,18,42,.82); backdrop-filter: blur(6px);
  color: #fff; border-radius: 14px; padding: 14px 18px; border: 1px solid var(--hair);
  font-weight: 700; display: flex; align-items: center; gap: 10px; font-size: .95rem;
}
.hx-split-media .hx-badge-float svg { width: 20px; height: 20px; color: #FF8FB6; }
.hx-feature { list-style: none; padding: 0; margin: 22px 0 30px; display: grid; gap: 16px; }
.hx-feature li { position: relative; padding-left: 40px; font-size: 1.06rem; line-height: 1.5; }
.hx-feature li b { color: var(--navy); }
.hx-feature li svg { position: absolute; left: 0; top: 1px; width: 26px; height: 26px; color: var(--magenta); }

/* ================= GALLERY TEASER ========================= */
.hx-teaser-strip {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(200px, 1fr);
  gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding-bottom: 8px; -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.hx-teaser-strip::-webkit-scrollbar { display: none; }
.hx-teaser-item {
  position: relative; border-radius: 16px; overflow: hidden; aspect-ratio: 3/4;
  scroll-snap-align: start; display: block; text-decoration: none;
}
.hx-teaser-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.2,.7,.2,1); }
.hx-teaser-item::after { content:""; position:absolute; inset:0; background: linear-gradient(180deg, transparent 55%, rgba(6,18,42,.75)); }
.hx-teaser-item:hover img, .hx-teaser-item:focus-visible img { transform: scale(1.08); }
.hx-teaser-item .cap { position:absolute; left:0; right:0; bottom:0; padding:14px; color:#fff; font-weight:700; font-size:.85rem; z-index:1; }
.hx-teaser-foot { margin-top: 30px; text-align: center; }

/* ================= FINAL CTA ============================== */
.hx-final { position: relative; overflow: hidden; text-align: center; color: #fff;
  background: linear-gradient(135deg, var(--magenta) 0%, #A9134F 100%); padding: clamp(70px, 10vw, 130px) 0; }
.hx-final::before { content:""; position:absolute; inset:0; opacity:.16;
  background: radial-gradient(60% 120% at 80% 0%, #fff 0%, transparent 60%); }
.hx-final h2 { position: relative; color:#fff; font-size: clamp(2.1rem, 6vw, 3.6rem); margin: 0 0 16px; }
.hx-final p { position: relative; color: #FCE1EC; font-size: 1.2rem; max-width: 620px; margin: 0 auto 34px; }
.hx-final-cta { position: relative; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hx-final .hx-phone { position: relative; display:block; margin-top: 26px; color:#fff; font-weight: 800; font-size: 1.05rem; letter-spacing:.02em; }
.hx-final .hx-phone a { color:#fff; }

/* ================= STICKY MOBILE CALL BAR ================= */
.hx-callbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: none;
  gap: 10px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  background: rgba(12,27,58,.96); backdrop-filter: blur(8px); border-top: 1px solid var(--hair);
}
.hx-callbar .hx-btn { min-height: 50px; border-radius: 12px; font-size: .9rem; padding: 13px 12px; gap: 7px; }
.hx-callbar .hx-btn svg { width: 17px; height: 17px; }
.hx-callbar .hx-btn-primary { flex: 1.35; }
.hx-callbar .hx-btn-ghost { flex: 1; border-color: rgba(255,255,255,.6); }

/* ================= REVEAL MOTION (JS-gated, safe) =========
   home.js adds .hx-in to targets only when it runs AND motion is
   allowed. If JS fails or reduced-motion is set, nothing is hidden. */
body.home.js-motion [data-reveal] { opacity: 0; transform: translateY(26px); }
body.home.js-motion [data-reveal].hx-in { opacity: 1; transform: none; transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
body.home.js-motion [data-reveal-stagger] > * { opacity: 0; transform: translateY(22px); }
body.home.js-motion [data-reveal-stagger].hx-in > * { opacity: 1; transform: none; transition: opacity .6s ease, transform .6s cubic-bezier(.2,.7,.2,1); }
@media (prefers-reduced-motion: reduce) {
  body.home.js-motion [data-reveal],
  body.home.js-motion [data-reveal].hx-in,
  body.home.js-motion [data-reveal-stagger] > *,
  body.home.js-motion [data-reveal-stagger].hx-in > * { opacity: 1 !important; transform: none !important; transition: none !important; }
  .hx-hero-media { transform: none !important; }
}

/* ================= RESPONSIVE ============================= */
@media (max-width: 900px) {
  .hx-strip-grid { grid-template-columns: 1fr; }
  .hx-services-grid { grid-template-columns: 1fr; }
  .hx-svc:first-child { grid-row: auto; }
  .hx-cred-grid { grid-template-columns: 1fr; }
  .hx-split { grid-template-columns: 1fr; }
  .hx-split-media { order: -1; aspect-ratio: 16/10; }
}
@media (max-width: 860px) {
  .hx-callbar { display: flex; }
  body.home { padding-bottom: 76px; } /* room for the sticky call bar */
  body.home .site-footer { margin-bottom: 0; }
}
@media (max-width: 860px) {
  .hx-scroll-cue { display: none; } /* decorative; also collides with hero chips + call bar */
}
@media (max-width: 560px) {
  .hx-hero { min-height: 88vh; }
  .hx-hero-inner { padding-bottom: 104px; } /* clear the sticky mobile call bar */
  .hx-hero h1 { font-size: clamp(2.5rem, 12vw, 3.4rem); }
  .hx-hero-cta { flex-direction: column; }
  .hx-hero-cta .hx-btn { width: 100%; }
  .hx-hero-chips { gap: 8px 16px; }
  .hx-chip { font-size: .85rem; }
  .hx-cred-badges { grid-template-columns: 1fr; }
  .hx-final-cta { flex-direction: column; }
  .hx-final-cta .hx-btn { width: 100%; }
}

/* ============================================================
   COMMERCIAL PAGE components (commercial.html) — same visual
   system as above, new component classes for content shapes the
   homepage doesn't need (stat strip, case-study grid, numbered
   difference cards, process track).
   ============================================================ */

/* ---- Stat strip (capability stats: two scale stats + timeline stat) ---- */
.hx-stat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.hx-stat-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.hx-stat-grid.cols-4 .hx-stat { padding: 26px 22px; }
.hx-stat-grid.cols-4 .hx-stat .num { font-size: clamp(1.5rem, 2.6vw, 1.9rem); }
.hx-stat {
  background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 30px 26px;
  box-shadow: 0 10px 30px -18px rgba(20,47,94,.35); text-align: left;
}
.hx-stat .num {
  font-family: "Playfair Display", serif; font-weight: 800; font-size: clamp(2.1rem, 4.2vw, 2.7rem);
  color: var(--navy); line-height: 1; display: block; margin-bottom: 10px; letter-spacing: -0.01em;
}
.hx-stat .lbl { font-weight: 700; font-size: 1rem; color: var(--ink); display: block; margin-bottom: 6px; }
.hx-stat .scope {
  font-size: .84rem; color: var(--muted); line-height: 1.4; display: block;
  padding-top: 10px; margin-top: 4px; border-top: 1px solid var(--line);
}
.hx-stat.accent .num { color: var(--magenta); }

/* Dark variant, used inside the case-study section */
.hx-stat-inline { display: flex; flex-wrap: wrap; gap: 14px; margin: 26px 0; }
.hx-stat-pill {
  display: flex; flex-direction: column; gap: 2px;
  background: rgba(255,255,255,.06); border: 1px solid var(--hair); border-radius: 14px;
  padding: 14px 20px;
}
.hx-stat-pill .num { font-family: "Playfair Display", serif; font-weight: 800; font-size: 1.5rem; color: #fff; }
.hx-stat-pill .lbl { font-size: .78rem; color: #A9BAD8; text-transform: uppercase; letter-spacing: .08em; font-weight: 700; }

/* ---- Case study ---- */
.hx-case-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 40px; }
.hx-case-item {
  position: relative; border-radius: 16px; overflow: hidden; aspect-ratio: 4/3;
  box-shadow: 0 14px 34px -18px rgba(0,0,0,.55);
}
.hx-case-item img { width: 100%; height: 100%; object-fit: cover; }
.hx-case-item::after { content:""; position:absolute; inset:0; background: linear-gradient(180deg, transparent 60%, rgba(6,18,42,.82)); }
.hx-case-item .cap { position:absolute; left:0; right:0; bottom:0; padding:12px; color:#fff; font-weight:700; font-size:.78rem; line-height:1.3; z-index:1; }

/* ---- Numbered "difference" cards (Why GCs Choose KLO) ---- */
.hx-num-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px 22px; }
.hx-num-card { padding: 4px 0; }
.hx-num-card .n {
  font-family: "Playfair Display", serif; font-weight: 800; font-size: 1.7rem;
  color: var(--magenta); display: block; margin-bottom: 10px; opacity: .85;
}
.hx-num-card h3 { font-size: 1.05rem; margin: 0 0 6px; color: var(--navy); letter-spacing: -0.01em; }
.hx-num-card p { font-size: .92rem; color: var(--muted); margin: 0; line-height: 1.5; }

/* ---- Process track (How KLO Works) ---- */
.hx-process-track { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; margin-top: 46px; position: relative; }
.hx-process-track.steps-5 { grid-template-columns: repeat(5, 1fr); }
.hx-process-track::before {
  content: ""; position: absolute; top: 17px; left: 6%; right: 6%; height: 1px;
  background: var(--hair); z-index: 0;
}
.hx-process-step { position: relative; z-index: 1; text-align: center; }
.hx-process-step .dot {
  width: 34px; height: 34px; border-radius: 50%; background: var(--magenta); color: #fff;
  display: flex; align-items: center; justify-content: center; margin: 0 auto 14px;
  font-weight: 800; font-size: .92rem; box-shadow: 0 0 0 6px var(--navy-950);
}
.hx-process-step .t { font-size: .86rem; font-weight: 700; color: #fff; line-height: 1.3; }

/* ---- Reused card grid for Safety & Compliance (icon + heading + text) ---- */
.hx-icon-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.hx-icon-card {
  background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 26px;
  box-shadow: 0 8px 22px -16px rgba(20,47,94,.3);
}
.hx-icon-card .hx-ico { width: 44px; height: 44px; border-radius: 12px; background: rgba(215,27,103,.10); color: var(--magenta); display: flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.hx-icon-card .hx-ico svg { width: 22px; height: 22px; }
.hx-icon-card h3 { font-size: 1.05rem; margin: 0 0 6px; color: var(--navy); }
.hx-icon-card p { font-size: .92rem; color: var(--muted); margin: 0; line-height: 1.5; }
.hx-insurance-note { margin-top: 30px; text-align: center; color: var(--muted); font-size: .95rem; }

@media (max-width: 900px) {
  .hx-stat-grid { grid-template-columns: 1fr; }
  .hx-stat-grid.cols-4 { grid-template-columns: repeat(2, 1fr); }
  .hx-case-grid { grid-template-columns: repeat(2, 1fr); }
  .hx-num-grid { grid-template-columns: repeat(2, 1fr); }
  .hx-icon-grid { grid-template-columns: 1fr 1fr; }
  .hx-process-track { grid-template-columns: repeat(4, 1fr); row-gap: 30px; }
  .hx-process-track.steps-5 { grid-template-columns: repeat(3, 1fr); }
  .hx-process-track::before { display: none; }
}
@media (max-width: 560px) {
  .hx-case-grid { grid-template-columns: 1fr 1fr; }
  .hx-num-grid { grid-template-columns: 1fr; }
  .hx-icon-grid { grid-template-columns: 1fr; }
  .hx-process-track { grid-template-columns: repeat(2, 1fr); }
  .hx-process-track.steps-5 { grid-template-columns: repeat(2, 1fr); }
  .hx-stat-inline { flex-direction: column; }
  .hx-stat-grid.cols-4 { grid-template-columns: 1fr; }
}
