/* =====================================================================
   DVM Techno — Homepage (research-based palette: trust blue + action orange)
   Header + footer styles live in js/header.js and js/footer.js (site-wide).
   ===================================================================== */
:root {
  --navy: #0b1b3f;
  --navy-2: #13254f;
  --dark: #0a1631;
  --text: #4a5468;
  --muted: #5f6879;         /* 5.3:1 on mist, 5.7:1 on white */
  /* Colour psychology: blue = trust & competence, orange = action.
     Orange is reserved for lead-generating buttons so they stand out (isolation effect);
     every text/background pair meets WCAG AA contrast. */
  --trust: #2563eb;          /* accents, links, icons, highlights — 5.2:1 on white */
  --trust-d: #1d4ed8;        /* hover / small text — 6.7:1 on white */
  --trust-50: #eef3ff;       /* soft chips and icon backgrounds */
  --trust-light: #60a5fa;    /* accents on navy */
  --action: #d0460b;         /* CTA orange — white text 4.6:1 */
  --action-d: #b23c09;       /* CTA hover */
  --action-glow: rgba(208, 70, 11, .55);
  --mist: #f5f8fd;           /* calm alternate section background */
  --line: #e7eaf1;
  --soft: #f6f8fc;
  --radius: 14px;
  --shadow: 0 14px 34px -18px rgba(11, 27, 63, .28);
  --shadow-lg: 0 26px 50px -24px rgba(11, 27, 63, .38);
  --ease: cubic-bezier(.23, 1, .32, 1);
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --script: "Caveat", "Segoe Script", cursive;
  --header-h: 76px;
  --gutter: clamp(18px, 4.5vw, 140px);   /* side margin: ~4.5% of the screen, like the mockup */
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body.dvm-home { margin: 0; font-family: var(--font); font-size: clamp(16px, 8.8px + 0.5vw, 20.8px); line-height: 1.6; color: var(--text); background: #fff; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
/* base resets use :where() so they carry zero specificity — component classes always win */
:where(.dvm-home) img { max-width: 100%; height: auto; display: block; }
:where(.dvm-home) a { color: inherit; text-decoration: none; }
:where(.dvm-home) :where(h1, h2, h3, p, figure, blockquote, ol, ul) { margin: 0; }
:where(.dvm-home) :where(ol, ul) { padding: 0; list-style: none; }
:where(.dvm-home) button { font: inherit; }
:where(.dvm-home) svg { flex: 0 0 auto; }
.dvm-home :focus-visible { outline: 3px solid var(--trust); outline-offset: 3px; border-radius: 6px; }
.dvm-home main section { scroll-margin-top: calc(var(--header-h) + 8px); }

.h-skip { position: absolute; left: 12px; top: -60px; z-index: 2000; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 8px; font-weight: 600; }
.h-skip:focus { top: 12px; }

.h-container { width: 100%; padding-inline: var(--gutter); }   /* full width at every resolution */
.hl { color: var(--trust); }   /* highlighted words in headings */

/* ---------- shared type ---------- */
.h-eyebrow { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 14px; font-size: clamp(12.5px, 6.875px + 0.391vw, 16.25px); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); line-height: 1.4; }
.h-eyebrow::before { content: ""; width: 26px; height: 3px; border-radius: 3px; background: var(--trust); flex: 0 0 auto; }
.h-eyebrow.is-light::before { background: var(--trust-light); }
.h-eyebrow.is-light { color: rgba(255, 255, 255, .72); }
.h-title { font-size: clamp(28px, 2.8vw, 64px); line-height: 1.12; font-weight: 800; letter-spacing: -.03em; color: var(--navy); }
.h-title.is-light { color: #fff; }
.h-title-line { display: flex; align-items: center; gap: 14px; }
.h-title-line::before { content: ""; width: 30px; height: 3px; border-radius: 3px; background: var(--trust); flex: 0 0 auto; }
.h-sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px 48px; margin-bottom: 28px; }
.h-sec-head > p { max-width: 26em; font-size: clamp(14.5px, 7.975px + 0.453vw, 18.85px); color: var(--muted); }

/* ---------- buttons ---------- */
.h-btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 24px; border-radius: 10px; font-size: clamp(15.5px, 8.525px + 0.484vw, 20.15px); font-weight: 700; letter-spacing: -.01em; border: 0; cursor: pointer; overflow: hidden; isolation: isolate; transition: transform .45s var(--ease), box-shadow .45s var(--ease), background-color .3s, color .3s; }
.h-btn svg { width: 18px; height: 18px; transition: transform .45s var(--ease); }
.h-btn-primary { background: var(--action); color: #fff; box-shadow: 0 14px 26px -14px var(--action-glow); }
.h-btn-primary:hover { background: var(--action-d); box-shadow: 0 18px 32px -12px var(--action-glow); }
.h-btn-ghost { background: #fff; color: var(--navy); box-shadow: inset 0 0 0 1.5px var(--line), 0 10px 24px -18px rgba(11, 27, 63, .5); }
.h-btn-ghost:hover { box-shadow: inset 0 0 0 1.5px var(--navy), 0 16px 28px -18px rgba(11, 27, 63, .6); }
.h-btn-outline-light { background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .55); }
.h-btn-outline-light:hover { background: #fff; color: var(--navy); }
.h-btn-play { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 50%; background: var(--navy); color: #fff; }
.h-btn-play svg { width: 11px; height: 11px; margin-left: 2px; }
.h-btn::after { content: ""; position: absolute; top: 0; left: -80%; width: 55%; height: 100%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .38), transparent); transform: skewX(-20deg); pointer-events: none; z-index: 1; }
@media (prefers-reduced-motion: no-preference) {
  .h-btn:hover { transform: translateY(-3px); }
  .h-btn:active { transform: translateY(0) scale(.97); transition-duration: .12s; }
  .h-btn:hover::after { animation: hSweep .85s var(--ease); }
  .h-btn:hover svg.h-arrow { transform: translateX(4px); }
}
@keyframes hSweep { from { left: -80%; } to { left: 130%; } }

.h-link { display: inline-flex; align-items: center; gap: 8px; font-size: clamp(15px, 8.25px + 0.469vw, 19.5px); font-weight: 700; color: var(--navy); }
.h-link svg { width: 17px; height: 17px; transition: transform .35s var(--ease); }
.h-link:hover { color: var(--trust); }
.h-link:hover svg { transform: translateX(4px); }
.h-link.is-light { color: #fff; }
.h-link.is-light:hover { color: #93c5fd; }
.h-link.is-accent:hover { color: var(--navy); }
.h-link.is-accent { color: var(--trust-d); font-size: clamp(14px, 7.7px + 0.438vw, 18.2px); }

/* =====================================================================
   1. HERO
   ===================================================================== */
.h-hero { position: relative; padding: calc(var(--header-h) + 56px) 0 64px; min-height: 600px; overflow: hidden; background: #fff; }
.h-hero-media { position: absolute; top: var(--header-h); right: 0; bottom: 0; width: 57%; overflow: hidden; }
.h-hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
.h-hero-media::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, #fff 0%, rgba(255, 255, 255, .86) 12%, rgba(255, 255, 255, 0) 34%), linear-gradient(0deg, rgba(255, 255, 255, .55), rgba(255, 255, 255, 0) 22%); }
.h-hero-script { position: absolute; z-index: 2; top: 34px; right: 5%; font-family: var(--script); font-size: clamp(38px, 20.9px + 1.188vw, 49.4px); line-height: 1.02; color: rgba(11, 27, 63, .62); text-align: right; transform: rotate(-9deg); pointer-events: none; }
.h-hero-inner { position: relative; z-index: 3; }
.h-hero-copy { max-width: clamp(560px, 41vw, 1040px); }
.h-hero-title { font-size: clamp(38px, 3.95vw, 92px); line-height: 1.04; font-weight: 800; letter-spacing: -.04em; color: var(--navy); margin: 4px 0 0; }
.h-hero-lead { font-size: clamp(17.5px, 9.625px + 0.547vw, 22.75px); line-height: 1.65; color: var(--text); max-width: 29em; margin-top: 26px; }
.h-hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.h-hero-proof { display: flex; align-items: center; gap: 16px; margin-top: 34px; }
.h-avatars { display: flex; }
.h-avatars span { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 50%; border: 3px solid #fff; margin-left: -10px; font-size: clamp(13px, 7.15px + 0.406vw, 16.9px); font-weight: 700; color: #fff; box-shadow: 0 6px 14px -8px rgba(11, 27, 63, .6); }
.h-avatars span:first-child { margin-left: 0; }
.h-avatars span:nth-child(1) { background: #1e40af; }
.h-avatars span:nth-child(2) { background: var(--navy); }
.h-avatars span:nth-child(3) { background: var(--trust); }
.h-avatars span:nth-child(4) { background: #475569; }
.h-hero-proof b { display: block; font-size: clamp(19px, 10.45px + 0.594vw, 24.7px); font-weight: 800; color: var(--navy); line-height: 1.2; }
.h-hero-proof small { font-size: clamp(13.5px, 7.425px + 0.422vw, 17.55px); color: var(--muted); }

/* intro choreography (JS adds .h-js to <html>) */
@media (prefers-reduced-motion: no-preference) {
  .h-js .h-hero-copy > * { opacity: 0; animation: hRise .9s var(--ease) forwards; }
  .h-js .h-hero-copy > :nth-child(1) { animation-delay: .1s; }
  .h-js .h-hero-copy > :nth-child(2) { animation-delay: .2s; }
  .h-js .h-hero-copy > :nth-child(3) { animation-delay: .34s; }
  .h-js .h-hero-copy > :nth-child(4) { animation-delay: .46s; }
  .h-js .h-hero-copy > :nth-child(5) { animation-delay: .58s; }
  .h-js .h-hero-media img { animation: hZoom 1.8s var(--ease) both; }
  .h-js .h-hero-script { opacity: 0; animation: hFade 1.2s .9s var(--ease) forwards; }
}
@keyframes hRise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes hZoom { from { transform: scale(1.08); opacity: .4; } to { transform: scale(1); opacity: 1; } }
@keyframes hFade { to { opacity: 1; } }

/* =====================================================================
   2. STATS STRIP
   ===================================================================== */
.h-stats { position: relative; z-index: 4; background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.h-stats-list { display: grid; grid-template-columns: repeat(6, 1fr); }
.h-stat { display: flex; align-items: center; gap: 14px; padding: 22px 12px; }
.h-stat svg { width: 32px; height: 32px; color: var(--trust); stroke-width: 1.6; }
.h-stat b { display: block; font-size: clamp(22px, 12.1px + 0.688vw, 28.6px); font-weight: 800; line-height: 1.1; color: var(--navy); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.h-stat > div > span { display: block; font-size: clamp(13px, 7.15px + 0.406vw, 16.9px); color: var(--muted); line-height: 1.35; }
.h-stat b span { display: inline; }

/* =====================================================================
   3. SERVICES
   ===================================================================== */
.h-services { padding: 68px 0; }
.h-services-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 2fr); gap: 48px; align-items: center; }
.h-services-intro p { margin: 18px 0 28px; font-size: clamp(16px, 8.8px + 0.5vw, 20.8px); max-width: 22.5em; }
.h-svc-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.h-svc { position: relative; display: flex; flex-direction: column; min-height: 196px; padding: 22px 22px 20px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 6px 18px -14px rgba(11, 27, 63, .3); transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .3s; }
.h-svc:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: rgba(37, 99, 235, .35); }
.h-svc-ico { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 10px; margin-bottom: 16px; }
.h-svc-ico svg { width: 22px; height: 22px; }
.ico-dark { background: var(--navy); color: #fff; }
.ico-soft { background: var(--trust-50); color: var(--trust); }
.ico-outline { background: #fff; color: var(--navy); box-shadow: inset 0 0 0 1.5px var(--navy); }
.ico-blue { background: var(--trust); color: #fff; }
.h-svc h3 { font-size: clamp(16.5px, 9.075px + 0.516vw, 21.45px); font-weight: 800; line-height: 1.3; color: var(--navy); letter-spacing: -.01em; }
.h-svc p { margin-top: 8px; font-size: clamp(13.5px, 7.425px + 0.422vw, 17.55px); line-height: 1.55; color: var(--muted); padding-right: 36px; }
.h-svc-go { position: absolute; right: 18px; bottom: 18px; display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 50%; border: 1.5px solid var(--line); color: var(--navy); transition: background .3s, color .3s, border-color .3s, transform .45s var(--ease); }
.h-svc-go svg { width: 15px; height: 15px; }
.h-svc:hover .h-svc-go { background: var(--trust); border-color: var(--trust); color: #fff; transform: translateX(3px); }

/* =====================================================================
   4. PRODUCTS (dark) + shared carousel
   ===================================================================== */
.h-products { position: relative; padding: 64px 0 72px; background: var(--dark); color: #fff; overflow: hidden; isolation: isolate; }
.h-products-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .22; z-index: -2; }
.h-products::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10, 22, 49, .82), rgba(10, 22, 49, .96) 60%), radial-gradient(600px 300px at 85% 0%, rgba(37, 99, 235, .18), transparent 70%); }
.h-products .h-sec-head { margin-bottom: 38px; }

.h-carousel { position: relative; }
.h-car-track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 3 * 22px) / 4); gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; overscroll-behavior-x: contain; scrollbar-width: none; padding: 6px 2px 18px; margin: -6px -2px -18px; }
.h-car-track::-webkit-scrollbar { display: none; }
.h-car-track > * { scroll-snap-align: start; }
.h-car-btn { position: absolute; top: 42%; z-index: 3; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; border: 0; background: #fff; color: var(--navy); cursor: pointer; box-shadow: 0 12px 26px -12px rgba(0, 0, 0, .55); transition: transform .35s var(--ease), background .3s, color .3s, opacity .3s; }
.h-car-btn svg { width: 20px; height: 20px; }
.h-car-btn:hover { background: var(--trust); color: #fff; transform: scale(1.06); }
.h-car-btn.prev { left: -22px; }
.h-car-btn.next { right: -22px; }
.h-car-btn[aria-disabled="true"] { opacity: .35; pointer-events: none; }

.h-prod { display: flex; flex-direction: column; background: #fff; color: var(--text); border-radius: var(--radius); overflow: hidden; transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.h-prod:hover { transform: translateY(-6px); box-shadow: 0 30px 50px -26px rgba(0, 0, 0, .8); }
.h-media { position: relative; overflow: hidden; background: #dfe4ee; }
.h-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.h-prod:hover .h-media img, .h-case:hover .h-media img, .h-ind:hover .h-media img, .h-post:hover .h-media img { transform: scale(1.06); }
.h-prod .h-media { aspect-ratio: 3 / 2; }
.h-prod-body { display: flex; flex-direction: column; flex: 1; padding: 18px 20px 20px; }
.h-prod h3 { font-size: clamp(16.5px, 9.075px + 0.516vw, 21.45px); font-weight: 800; color: var(--navy); line-height: 1.3; }
.h-prod p { margin: 6px 0 16px; font-size: clamp(13.5px, 7.425px + 0.422vw, 17.55px); color: var(--muted); line-height: 1.55; flex: 1; }

/* =====================================================================
   5. PROCESS
   ===================================================================== */
.h-process { padding: 68px 0 52px; }
.h-steps { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; counter-reset: step; }
.h-step { position: relative; display: flex; gap: 14px; align-items: flex-start; }
.h-step:not(:last-child)::after { content: ""; position: absolute; top: 20px; right: -4px; width: 8px; height: 8px; border-top: 2px solid var(--trust); border-right: 2px solid var(--trust); transform: rotate(45deg); opacity: .8; }
.h-step-ico { display: inline-flex; align-items: center; justify-content: center; width: 50px; height: 50px; border-radius: 50%; background: var(--trust-50); color: var(--trust); flex: 0 0 auto; transition: transform .5s var(--ease), background .3s, color .3s; }
.h-step-ico svg { width: 22px; height: 22px; }
.h-step:hover .h-step-ico { background: var(--trust); color: #fff; transform: translateY(-4px) rotate(-6deg); }
.h-step .n { display: block; font-size: clamp(20px, 11px + 0.625vw, 26px); font-weight: 800; color: var(--navy); line-height: 1.1; }
.h-step h3 { font-size: clamp(15.5px, 8.525px + 0.484vw, 20.15px); font-weight: 800; color: var(--navy); margin-top: 2px; }
.h-step p { font-size: clamp(13px, 7.15px + 0.406vw, 16.9px); color: var(--muted); line-height: 1.5; margin-top: 4px; padding-right: 10px; }

/* =====================================================================
   6. INDUSTRIES
   ===================================================================== */
.h-industries { padding: 48px 0 68px; }
.h-ind-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 3.4fr); gap: 36px; align-items: center; }
.h-ind-intro .h-title { position: relative; padding-top: 18px; font-size: clamp(26px, 2.2vw, 50px); }
.h-ind-intro .h-title::before { content: ""; position: absolute; top: 0; left: 0; width: 30px; height: 3px; border-radius: 3px; background: var(--trust); }
.h-ind-intro p { margin-top: 16px; font-size: clamp(14.5px, 7.975px + 0.453vw, 18.85px); color: var(--muted); }
.h-ind-cards { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.h-ind { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.h-ind:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.h-ind .h-media { aspect-ratio: 16 / 10; }
.h-ind h3 { font-size: clamp(14.5px, 7.975px + 0.453vw, 18.85px); font-weight: 800; color: var(--navy); padding: 14px 14px 0; line-height: 1.3; }
.h-ind p { font-size: clamp(12.5px, 6.875px + 0.391vw, 16.25px); color: var(--muted); padding: 4px 14px 16px; line-height: 1.5; }

/* =====================================================================
   7. TECH STRIP (dark)
   ===================================================================== */
.h-tech { position: relative; padding: 44px 0; background: var(--dark); color: #fff; overflow: hidden; }
.h-tech::before { content: ""; position: absolute; inset: 0; background: radial-gradient(420px 220px at 12% 50%, rgba(37, 99, 235, .25), transparent 70%), radial-gradient(360px 200px at 95% 50%, rgba(37, 99, 235, .16), transparent 70%); }
.h-tech-inner { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 3fr) auto; gap: 32px; align-items: center; }
.h-tech-intro .h-title { font-size: clamp(24px, 2.2vw, 50px); }
.h-tech-intro p { margin-top: 10px; font-size: clamp(13.5px, 7.425px + 0.422vw, 17.55px); color: rgba(255, 255, 255, .7); max-width: 21.5em; }
.h-tech-logos { display: grid; grid-template-columns: repeat(12, 1fr); gap: 6px; }
.h-tech-logos li { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 10px 2px; border-radius: 12px; transition: background .3s, transform .45s var(--ease); }
.h-tech-logos li:hover { background: rgba(255, 255, 255, .07); transform: translateY(-4px); }
.h-tech-logos img { width: 32px; height: 32px; object-fit: contain; }
.h-tech-logos span { font-size: clamp(11.5px, 6.325px + 0.359vw, 14.95px); color: rgba(255, 255, 255, .8); white-space: nowrap; }
.h-tech-script { font-family: var(--script); font-size: clamp(30px, 16.5px + 0.938vw, 39px); line-height: 1; color: rgba(255, 255, 255, .8); transform: rotate(-9deg); text-align: center; }

/* =====================================================================
   8. CASE STUDIES
   ===================================================================== */
.h-work { padding: 68px 0 64px; }
.h-work .h-car-track { grid-auto-columns: calc((100% - 2 * 24px) / 3); gap: 24px; }
.h-work .h-car-btn { top: 36%; }
.h-case { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.h-case:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.h-case .h-media { aspect-ratio: 16 / 9.4; }
.h-case-body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.h-case h3 { font-size: clamp(16.5px, 9.075px + 0.516vw, 21.45px); font-weight: 800; color: var(--navy); }
.h-case p { margin: 6px 0 14px; font-size: clamp(13.5px, 7.425px + 0.422vw, 17.55px); color: var(--muted); flex: 1; }

/* =====================================================================
   9. WHY US / ABOUT
   ===================================================================== */
.h-why { padding: 0 0 64px; }
.h-why-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.25fr); gap: 40px; align-items: center; }
.h-why-intro p { margin-top: 16px; font-size: clamp(15px, 8.25px + 0.469vw, 19.5px); color: var(--muted); max-width: 22em; }
.h-why-list { display: grid; gap: 20px; }
.h-why-item { display: flex; gap: 14px; align-items: flex-start; }
.h-why-item .ic { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 10px; background: var(--trust-50); color: var(--trust); flex: 0 0 auto; transition: transform .45s var(--ease), background .3s, color .3s; }
.h-why-item:hover .ic { background: var(--trust); color: #fff; transform: rotate(-8deg) scale(1.05); }
.h-why-item .ic svg { width: 20px; height: 20px; }
.h-why-item h3 { font-size: clamp(15.5px, 8.525px + 0.484vw, 20.15px); font-weight: 800; color: var(--navy); line-height: 1.3; }
.h-why-item p { font-size: clamp(13.5px, 7.425px + 0.422vw, 17.55px); color: var(--muted); margin-top: 2px; }
.h-why-media { position: relative; border-radius: 18px; overflow: hidden; aspect-ratio: 4 / 3; box-shadow: var(--shadow-lg); }
.h-why-media img { width: 100%; height: 100%; object-fit: cover; }
.h-why-badge { position: absolute; left: 18px; bottom: 18px; display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 12px; background: rgba(255, 255, 255, .94); box-shadow: var(--shadow); font-size: clamp(13px, 7.15px + 0.406vw, 16.9px); font-weight: 700; color: var(--navy); }
.h-why-badge b { color: var(--trust); font-size: clamp(18px, 9.9px + 0.562vw, 23.4px); }

/* =====================================================================
   10. TESTIMONIALS
   ===================================================================== */
.h-testimonials { padding: 64px 0 56px; background: var(--mist); }
.h-testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.h-testi { display: flex; flex-direction: column; gap: 16px; padding: 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.h-testi:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.h-testi-top { display: flex; gap: 14px; align-items: center; }
.h-testi-ava { display: inline-flex; align-items: center; justify-content: center; width: 54px; height: 54px; border-radius: 50%; font-size: clamp(17px, 9.35px + 0.531vw, 22.1px); font-weight: 800; color: #fff; flex: 0 0 auto; }
.h-testi:nth-child(1) .h-testi-ava { background: #1e40af; }
.h-testi:nth-child(2) .h-testi-ava { background: var(--navy); }
.h-testi:nth-child(3) .h-testi-ava { background: var(--trust); }
.h-stars { display: flex; gap: 2px; color: #f59e0b; }
.h-stars svg { width: 15px; height: 15px; }
.h-testi-top strong { display: block; margin-top: 3px; font-size: clamp(15px, 8.25px + 0.469vw, 19.5px); font-weight: 800; color: var(--navy); line-height: 1.3; }
.h-testi-top span.role { display: block; font-size: clamp(12.5px, 6.875px + 0.391vw, 16.25px); color: var(--muted); }
.h-testi blockquote { font-size: clamp(14.5px, 7.975px + 0.453vw, 18.85px); line-height: 1.65; color: var(--text); }

/* =====================================================================
   11. BLOG
   ===================================================================== */
.h-blog { padding: 56px 0 28px; }
.h-blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.h-post { display: grid; grid-template-columns: clamp(120px, 9.5vw, 240px) 1fr; gap: 16px; align-items: center; padding: 12px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.h-post:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.h-post .h-media { aspect-ratio: 4 / 3; border-radius: 10px; }
.h-post h3 { font-size: clamp(14.5px, 7.975px + 0.453vw, 18.85px); font-weight: 800; line-height: 1.4; color: var(--navy); }
.h-post h3 a:hover { color: var(--trust); }
.h-post .meta { margin-top: 8px; font-size: clamp(12.5px, 6.875px + 0.391vw, 16.25px); color: var(--muted); }

/* =====================================================================
   12. FAQ
   ===================================================================== */
.h-faq { padding: 52px 0 68px; }
.h-faq-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.6fr); gap: 56px; align-items: start; }
.h-faq-intro p { margin-top: 16px; font-size: clamp(15px, 8.25px + 0.469vw, 19.5px); color: var(--muted); }
.h-faq-call { display: flex; gap: 14px; align-items: center; margin-top: 26px; padding: 18px; border-radius: var(--radius); background: var(--navy); color: #fff; }
.h-faq-call .ic { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; background: var(--action); flex: 0 0 auto; }
.h-faq-call .ic svg { width: 20px; height: 20px; }
.h-faq-call small { display: block; font-size: clamp(12.5px, 6.875px + 0.391vw, 16.25px); color: rgba(255, 255, 255, .7); }
.h-faq-call a { font-size: clamp(17px, 9.35px + 0.531vw, 22.1px); font-weight: 800; }
.h-faq-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.h-faq-tab { min-height: 42px; padding: 0 18px; border-radius: 100px; border: 1.5px solid var(--line); background: #fff; color: var(--navy); font-size: clamp(14.5px, 7.975px + 0.453vw, 18.85px); font-weight: 700; cursor: pointer; transition: background .3s, color .3s, border-color .3s; }
.h-faq-tab:hover { border-color: var(--navy); }
.h-faq-tab[aria-selected="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.h-faq-item { border: 1px solid var(--line); border-radius: 12px; background: #fff; margin-bottom: 10px; transition: box-shadow .3s, border-color .3s; }
.h-faq-item[open] { border-color: rgba(37, 99, 235, .45); box-shadow: 0 16px 30px -24px rgba(11, 27, 63, .5); }
.h-faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 18px; cursor: pointer; list-style: none; }
.h-faq-item summary::-webkit-details-marker { display: none; }
.h-faq-item summary h3 { font-size: clamp(15.5px, 8.525px + 0.484vw, 20.15px); font-weight: 700; color: var(--navy); line-height: 1.4; }
.h-faq-item summary .pm { position: relative; width: 26px; height: 26px; border-radius: 50%; background: var(--trust-50); flex: 0 0 auto; transition: background .3s, transform .4s var(--ease); }
.h-faq-item summary .pm::before, .h-faq-item summary .pm::after { content: ""; position: absolute; left: 50%; top: 50%; width: 11px; height: 2px; border-radius: 2px; background: var(--trust); transform: translate(-50%, -50%); transition: transform .4s var(--ease), background .3s; }
.h-faq-item summary .pm::after { transform: translate(-50%, -50%) rotate(90deg); }
.h-faq-item[open] summary .pm { background: var(--trust); transform: rotate(180deg); }
.h-faq-item[open] summary .pm::before, .h-faq-item[open] summary .pm::after { background: #fff; }
.h-faq-item[open] summary .pm::after { transform: translate(-50%, -50%) rotate(0deg); }
.h-faq-item .a p { max-width: 80ch; }
.h-faq-item .a { padding: 0 18px 18px; font-size: clamp(14.5px, 7.975px + 0.453vw, 18.85px); line-height: 1.7; color: var(--text); }
.h-faq-item .a a { color: var(--trust-d); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* =====================================================================
   13. CTA BAND
   ===================================================================== */
.h-cta { position: relative; padding: 56px 0; background: var(--dark); color: #fff; overflow: hidden; isolation: isolate; }
.h-cta-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .75; z-index: -2; }
.h-cta::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(10, 22, 49, .96) 0%, rgba(10, 22, 49, .7) 50%, rgba(10, 22, 49, .25) 100%); }
.h-cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px 40px; flex-wrap: wrap; }
.h-cta h2 { font-size: clamp(24px, 2.4vw, 54px); font-weight: 800; letter-spacing: -.03em; line-height: 1.15; color: #fff; }
.h-cta p { margin-top: 8px; font-size: clamp(15.5px, 8.525px + 0.484vw, 20.15px); color: rgba(255, 255, 255, .78); }
.h-cta-btns { display: flex; gap: 14px; flex-wrap: wrap; }

/* =====================================================================
   VIDEO MODAL
   ===================================================================== */
.h-modal { position: fixed; inset: 0; z-index: 3000; display: flex; align-items: center; justify-content: center; padding: 20px; background: rgba(10, 22, 49, .72); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.h-modal[hidden] { display: none; }
.h-modal-box { position: relative; width: min(760px, 100%); background: #fff; border-radius: 18px; overflow: hidden; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .6); animation: hRise .5s var(--ease); }
.h-modal-video { aspect-ratio: 16 / 9; background: #000; }
.h-modal-video iframe { width: 100%; height: 100%; border: 0; display: block; }
.h-modal-msg { padding: 34px 32px 30px; }
.h-modal-msg h2 { font-size: clamp(24px, 13.2px + 0.75vw, 31.2px); font-weight: 800; color: var(--navy); letter-spacing: -.02em; }
.h-modal-msg p { margin: 10px 0 22px; color: var(--muted); }
.h-modal-close { position: absolute; top: 12px; right: 12px; z-index: 2; width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .92); color: var(--navy); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.h-modal-close svg { width: 18px; height: 18px; }

/* =====================================================================
   SCROLL REVEAL (JS adds .h-js; content stays visible without JS / with reduced motion)
   ===================================================================== */
@media (prefers-reduced-motion: no-preference) {
  .h-js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--i, 0) * 80ms); }
  .h-js [data-reveal].is-in { opacity: 1; transform: none; }
}

/* =====================================================================
   RESPONSIVE
   ===================================================================== */
@media (max-width: 1279px) {
  .h-car-btn.prev { left: -10px; }
  .h-car-btn.next { right: -10px; }
  .h-tech-inner { grid-template-columns: 1fr; gap: 22px; text-align: left; }
  .h-tech-script { display: none; }
  .h-steps { grid-template-columns: repeat(3, 1fr); row-gap: 30px; }
  .h-step:nth-child(3)::after { display: none; }
}
@media (max-width: 1099px) {
  .h-hero { min-height: 0; padding-bottom: 0; display: flex; flex-direction: column; }
  .h-hero-media { order: 2; }
  .h-hero-media { position: relative; top: auto; width: 100%; height: 360px; margin-top: 44px; }
  .h-hero-media::before { background: linear-gradient(180deg, #fff 0%, rgba(255, 255, 255, 0) 30%); }
  .h-hero-copy { max-width: 680px; }
  .h-stats-list { grid-template-columns: repeat(3, 1fr); }
  .h-stat { padding: 18px 10px; }
  .h-services-grid { grid-template-columns: 1fr; gap: 32px; }
  .h-services-intro p { max-width: 35em; }
  .h-svc-cards { grid-template-columns: repeat(2, 1fr); }
  .h-car-track { grid-auto-columns: calc((100% - 2 * 22px) / 3); }
  .h-work .h-car-track { grid-auto-columns: calc((100% - 24px) / 2); }
  .h-ind-grid { grid-template-columns: 1fr; }
  .h-ind-cards { grid-template-columns: repeat(3, 1fr); }
  .h-why { padding-top: 0; }
  .h-why-grid { grid-template-columns: 1fr 1fr; }
  .h-why-media { grid-column: 1 / -1; aspect-ratio: 16 / 8; }
  .h-testi-grid, .h-blog-grid { grid-template-columns: 1fr 1fr; }
  .h-faq-grid { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 767px) {
  :root { --header-h: 64px; }
  .h-hero { padding-top: calc(var(--header-h) + 38px); }
  .h-hero-title { font-size: clamp(40px, 22px + 1.25vw, 52px); }
  .h-hero-lead { font-size: clamp(16.5px, 9.075px + 0.516vw, 21.45px); }
  .h-hero-cta .h-btn { flex: 1 1 auto; }
  .h-hero-media { height: 260px; margin-top: 36px; }
  .h-hero-script { font-size: clamp(28px, 15.4px + 0.875vw, 36.4px); top: 20px; }
  .h-stats-list { grid-template-columns: repeat(2, 1fr); }
  .h-stat { gap: 10px; padding: 16px 6px; }
  .h-stat svg { width: 26px; height: 26px; }
  .h-stat b { font-size: clamp(19px, 10.45px + 0.594vw, 24.7px); }
  .h-services, .h-work, .h-testimonials { padding: 64px 0; }
  .h-products { padding: 64px 0 70px; }
  .h-svc-cards { grid-template-columns: 1fr 1fr; gap: 12px; }
  .h-svc { min-height: 0; padding: 16px 14px; }
  .h-svc-ico { width: 38px; height: 38px; margin-bottom: 12px; }
  .h-svc h3 { font-size: clamp(14.5px, 7.975px + 0.453vw, 18.85px); }
  .h-svc p { font-size: clamp(12.5px, 6.875px + 0.391vw, 16.25px); padding-right: 0; }
  .h-svc-go { display: none; }
  .h-sec-head { flex-direction: column; align-items: flex-start; }
  .h-car-track, .h-work .h-car-track { grid-auto-columns: 82%; gap: 16px; }
  .h-car-btn { display: none; }
  .h-steps { grid-template-columns: 1fr 1fr; gap: 26px 16px; }
  .h-step { flex-direction: column; gap: 10px; }
  .h-step::after { display: none !important; }
  .h-ind-cards { grid-template-columns: 1fr 1fr; }
  .h-tech-logos { grid-template-columns: repeat(4, 1fr); row-gap: 10px; }
  .h-why-grid { grid-template-columns: 1fr; gap: 28px; }
  .h-why-media { aspect-ratio: 4 / 3; }
  .h-testi-grid, .h-blog-grid { grid-template-columns: 1fr; }
  .h-post { grid-template-columns: 110px 1fr; }
  .h-faq { padding: 56px 0 64px; }
  .h-cta-inner { flex-direction: column; align-items: flex-start; }
  .h-cta-btns .h-btn { flex: 1 1 auto; }
}
@media (max-width: 420px) {
  .h-hero-title { font-size: clamp(35px, 19.25px + 1.094vw, 45.5px); }
}

/* =====================================================================
   LARGE SCREENS — controls and icons grow with the type
   ===================================================================== */
@media (min-width: 1680px) {
  .h-btn { min-height: 56px; padding: 0 28px; }
  .h-btn svg { width: 20px; height: 20px; }
  .h-stat svg { width: 38px; height: 38px; }
  .h-svc-ico, .h-why-item .ic { width: 48px; height: 48px; }
  .h-step-ico { width: 58px; height: 58px; }
  .h-tech-logos img { width: 40px; height: 40px; }
  .h-avatars span { width: 48px; height: 48px; }
  .h-testi-ava { width: 60px; height: 60px; }
  .h-car-btn { width: 50px; height: 50px; }
  .h-faq-tab { min-height: 46px; padding: 0 22px; }
}
/* very wide screens: show one more card instead of stretching them */
@media (min-width: 2000px) {
  .h-car-track { grid-auto-columns: calc((100% - 4 * 22px) / 5); }
  .h-work .h-car-track { grid-auto-columns: calc((100% - 3 * 24px) / 4); }
}

/* =====================================================================
   INNER PAGES (service / location pages) — built on the homepage components
   ===================================================================== */
.h-hero.is-inner { min-height: 560px; }
.h-hero.is-inner .h-hero-copy { max-width: clamp(560px, 45vw, 1100px); }
.h-hero.is-inner .h-hero-title { font-size: clamp(34px, 3.35vw, 80px); }
body:not(.dvm-page) .h-hero.is-inner .h-hero-title .hl { display: block; }   /* hand-built inner pages only */
.h-crumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 0 0 18px; padding: 0; list-style: none; font-size: clamp(13px, 7.15px + .406vw, 16.9px); color: var(--muted); }
.h-crumbs li + li::before { content: "/"; margin-right: 6px; color: #b3bac8; }
.h-crumbs a { color: var(--navy); font-weight: 600; }
.h-crumbs a:hover { color: var(--trust); }
.h-hero-points { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 30px; }
.h-hero-points li { display: inline-flex; align-items: center; gap: 8px; font-size: clamp(14.5px, 7.975px + .453vw, 18.85px); font-weight: 600; color: var(--navy); }
.h-hero-points svg { width: 19px; height: 19px; color: #16a34a; }
.h-btn-wa { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 50%; background: #25d366; color: #fff; }
.h-btn .h-btn-wa svg { width: 15px; height: 15px; }
.h-stats-list.is-4 { grid-template-columns: repeat(4, 1fr); }
.h-svc .h-meta { display: flex; align-items: center; gap: 6px; margin-top: 8px; font-size: clamp(12.5px, 6.875px + .391vw, 16.25px); font-weight: 700; color: var(--navy); }
.h-svc .h-price { margin-top: auto; padding-top: 14px; font-size: clamp(14px, 7.7px + .4375vw, 18.2px); font-weight: 800; color: var(--trust-d); }
.h-city { min-height: 0; }
.h-city h3 { font-size: clamp(19px, 10.45px + .594vw, 24.7px); }
.h-kicker { display: block; margin-bottom: 2px; font-size: clamp(11.5px, 6.325px + .359vw, 14.95px); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.h-svc-cards.is-3 { grid-template-columns: repeat(3, 1fr); }
@media (min-width: 768px) { .h-offer .h-svc { min-height: 250px; } }
/* long city list: keep the intro pinned beside the cards on desktop */
@media (min-width: 1100px) {
  .h-cities .h-services-grid { align-items: start; }
  .h-cities .h-services-intro { position: sticky; top: calc(var(--header-h) + 40px); }
}
.h-article { padding: 84px 0; }
.h-article-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(32px, 4.5vw, 110px); align-items: start; }
.h-prose .h-title { margin-bottom: 8px; }
.h-prose p:not(.h-eyebrow) { margin-top: 18px; font-size: clamp(16px, 8.8px + .5vw, 20.8px); line-height: 1.8; color: var(--text); max-width: 68ch; }
.h-prose a { color: var(--trust-d); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.h-reasons { padding: clamp(24px, 2.2vw, 44px); border: 1px solid var(--line); border-radius: 18px; background: var(--soft); }
.h-reasons > h3 { margin-bottom: 22px; font-size: clamp(20px, 11px + .625vw, 26px); font-weight: 800; letter-spacing: -.02em; color: var(--navy); }
.h-reasons .h-why-item h4 { margin: 0; font-size: clamp(15.5px, 8.525px + .484vw, 20.15px); font-weight: 800; line-height: 1.3; color: var(--navy); }
@media (max-width: 1099px) {
  .h-article-grid { grid-template-columns: 1fr; }
  .h-svc-cards.is-3 { grid-template-columns: repeat(2, 1fr); }
  .h-city:last-child:nth-child(odd) { grid-column: 1 / -1; }   /* no lonely last card in 2 columns */
}
@media (max-width: 900px) { .h-stats-list.is-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 767px) {
  .h-hero.is-inner { min-height: 0; }
  .h-svc-cards.is-3 { grid-template-columns: 1fr; }
  .h-city .h-price { padding-top: 10px; }
  .h-title br { display: none; }   /* let section headings wrap naturally on phones */
  .h-article { padding: 60px 0; }
}

/* =====================================================================
   GENERIC PAGE COMPONENTS — used by every converted inner page
   (service, city, village, blog, legal pages). Same tokens as the homepage.
   ===================================================================== */
.h-i { width: 1.1em; height: 1.1em; vertical-align: -.18em; flex: 0 0 auto; }

/* ---- inner hero extras ---- */
.h-hero.is-inner.is-plain { min-height: 0; padding-bottom: clamp(44px, 4vw, 72px); background: radial-gradient(700px 320px at 88% 0%, rgba(37, 99, 235, .12), transparent 70%), linear-gradient(180deg, #fff 0%, var(--mist) 100%); }
.h-hero.is-inner.is-plain .h-hero-copy { max-width: 920px; }
.h-hero-copy > .h-btn-row { margin-top: 30px; }
.h-hero-note { margin-top: 12px; font-size: clamp(15px, 8.25px + .469vw, 19.5px); color: var(--muted); }
.h-hero-note a { color: var(--trust-d); font-weight: 700; }
.h-stats-list.is-auto { grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); }
.h-stat > svg { width: 30px; height: 30px; color: var(--trust); stroke-width: 1.6; }

/* ---- sections ---- */
.h-sec { position: relative; padding: clamp(56px, 5vw, 100px) 0; }
.h-sec.is-mist { background: var(--mist); }
.h-sec.is-dark { background: var(--dark); color: rgba(255, 255, 255, .8); isolation: isolate; overflow: hidden; }
.h-sec.is-dark::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(640px 320px at 88% 0%, rgba(37, 99, 235, .3), transparent 70%), radial-gradient(520px 260px at 0% 100%, rgba(96, 165, 250, .12), transparent 70%); }
.h-shead { max-width: 900px; margin-bottom: clamp(28px, 2.6vw, 48px); }
.h-shead > p:not(.h-eyebrow) { margin-top: 14px; font-size: clamp(16px, 8.8px + .5vw, 20.8px); line-height: 1.7; color: var(--muted); }
.h-sec.is-dark .h-shead > p:not(.h-eyebrow) { color: rgba(255, 255, 255, .72); }
.h-title span:not(.hl) { color: var(--trust); }
.h-title.is-light span:not(.hl) { color: #93c5fd; }

/* ---- flowing content (sections + blog articles) ---- */
:where(.h-flow, .h-article-body) > * + * { margin-top: 18px; }
:where(.h-flow, .h-article-body) :is(h2, h3, h4, h5, h6) { color: var(--navy); font-weight: 800; letter-spacing: -.015em; line-height: 1.3; }
:where(.h-flow, .h-article-body) h2 { margin-top: 44px; font-size: clamp(24px, 13.2px + .75vw, 36px); }
:where(.h-flow, .h-article-body) h3 { margin-top: 30px; font-size: clamp(19px, 10.45px + .594vw, 25px); }
:where(.h-flow, .h-article-body) :is(h4, h5, h6) { margin-top: 24px; font-size: clamp(16.5px, 9.08px + .516vw, 21.5px); }
:where(.h-flow, .h-article-body) > :first-child { margin-top: 0; }
:where(.h-flow, .h-article-body) p { font-size: clamp(16px, 8.8px + .5vw, 20.8px); line-height: 1.75; color: var(--text); max-width: 78ch; }
:where(.h-flow, .h-article-body) a:not(.h-btn):not(.h-chip):not(.h-card):not(.h-link) { color: var(--trust-d); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
:where(.h-flow, .h-article-body) strong { color: var(--navy); }
:where(.h-flow, .h-article-body) blockquote { padding: 6px 0 6px 20px; border-left: 4px solid var(--trust); font-style: italic; color: var(--navy); }
.h-sec.is-dark .h-flow :is(h2, h3, h4, h5, h6) { color: #fff; }
.h-sec.is-dark .h-flow p { color: rgba(255, 255, 255, .78); }
.h-sec.is-dark .h-flow strong { color: #fff; }
.h-sec.is-dark .h-flow a:not(.h-btn):not(.h-chip):not(.h-card):not(.h-link) { color: #93c5fd; }
.h-price { font-weight: 800; color: var(--trust-d); }
.h-group-title { display: flex; align-items: center; gap: 8px; margin-top: 34px !important; font-size: 13px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--trust-d); }
.h-sec.is-dark .h-group-title { color: #93c5fd; }

/* ---- checklists ---- */
.h-list { display: grid; gap: 10px; list-style: none; padding: 0; }
.h-list li { position: relative; padding-left: 32px; font-size: clamp(15.5px, 8.53px + .484vw, 20.15px); line-height: 1.65; color: var(--text); }
.h-list:not(.is-num) li::before { content: ""; position: absolute; left: 0; top: .22em; width: 21px; height: 21px; border-radius: 50%; background: var(--trust-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232563eb' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat; }
.h-list.is-num { counter-reset: n; }
.h-list.is-num li { counter-increment: n; }
.h-list.is-num li::before { content: counter(n); position: absolute; left: 0; top: .15em; display: flex; align-items: center; justify-content: center; width: 23px; height: 23px; border-radius: 50%; background: var(--trust); color: #fff; font-size: 12px; font-weight: 800; }
.h-sec.is-dark .h-flow .h-list li { color: rgba(255, 255, 255, .82); }
.h-sec.is-dark .h-flow .h-list:not(.is-num) li::before { background-color: rgba(96, 165, 250, .2); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2393c5fd' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E"); }

/* ---- cards ---- */
.h-cards { display: grid; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); gap: clamp(16px, 1.4vw, 26px); }
.h-card { display: flex; flex-direction: column; gap: 10px; padding: clamp(20px, 1.7vw, 32px); background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 6px 18px -14px rgba(11, 27, 63, .3); color: var(--text); text-decoration: none; transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .3s; }
.h-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: rgba(37, 99, 235, .35); }
.h-card-ico { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; margin-bottom: 4px; border-radius: 12px; background: var(--trust-50); color: var(--trust); transition: background .3s, color .3s, transform .45s var(--ease); }
.h-card-ico svg { width: 23px; height: 23px; }
.h-card:hover .h-card-ico { background: var(--trust); color: #fff; transform: rotate(-6deg); }
.h-card .h-card-title { margin: 0; font-size: clamp(17px, 9.35px + .531vw, 22.1px); font-weight: 800; line-height: 1.3; color: var(--navy); letter-spacing: -.01em; }
.h-card p, .h-sec.is-dark .h-flow .h-card p { max-width: none; margin: 0; font-size: clamp(14.5px, 7.98px + .453vw, 18.85px); line-height: 1.6; color: var(--text); }
.h-card .h-card-sub { font-weight: 800; color: var(--navy); }
.h-card .h-price, .h-sec.is-dark .h-flow .h-card .h-price { font-weight: 800; color: var(--trust-d); font-size: clamp(16px, 8.8px + .5vw, 20.8px); }
.h-card .h-badge { align-self: flex-start; padding: 4px 11px; border-radius: 999px; background: var(--trust-50); color: var(--trust-d) !important; font-size: 12px !important; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.h-card .h-list { gap: 7px; }
.h-card .h-list li, .h-sec.is-dark .h-flow .h-card .h-list li { font-size: clamp(14.5px, 7.98px + .453vw, 18.85px); color: var(--text); }
.h-sec.is-dark .h-flow .h-card .h-list:not(.is-num) li::before { background-color: var(--trust-50); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232563eb' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E"); }
.h-card .h-link { margin-top: auto; padding-top: 6px; }
.h-card.is-link:hover .h-link svg { transform: translateX(4px); }
.h-card-img { width: 100%; height: auto; border-radius: 10px; }
.h-sec.is-dark .h-flow .h-card :is(h3, h4, h5, h6) { color: var(--navy); }

/* ---- chips (nearby cities, related links) ---- */
.h-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.h-chip { display: inline-flex; align-items: center; gap: 6px; padding: 9px 17px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--navy); font-size: clamp(14.5px, 7.98px + .453vw, 18.85px); font-weight: 600; text-decoration: none; transition: border-color .25s, color .25s, transform .35s var(--ease), box-shadow .35s var(--ease); }
.h-chip:hover { border-color: var(--trust); color: var(--trust-d); transform: translateY(-2px); box-shadow: 0 10px 20px -14px rgba(37, 99, 235, .6); }
.h-sec.is-dark .h-chip { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .16); color: #fff; }
.h-sec.is-dark .h-chip:hover { border-color: #93c5fd; color: #93c5fd; }
span.h-chip { cursor: default; }
span.h-chip:hover { transform: none; box-shadow: none; border-color: var(--line); color: var(--navy); }
.h-chips .h-chips-label { flex-basis: 100%; max-width: none; width: 100%; margin: 14px 0 0; font-size: 12.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.h-chips-label:first-child { margin-top: 0; }

/* ---- stats inside sections ---- */
.h-stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 14px; list-style: none; padding: 0; }
.h-stat-grid li { display: flex; flex-direction: column; gap: 4px; padding: 18px 20px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.h-stat-grid li svg { width: 22px; height: 22px; color: var(--trust); margin-bottom: 4px; }
.h-stat-grid b { font-size: clamp(26px, 14.3px + .8125vw, 36px); font-weight: 800; line-height: 1.1; color: var(--trust-d); letter-spacing: -.02em; }
.h-stat-grid span { font-size: clamp(13.5px, 7.43px + .422vw, 17.5px); line-height: 1.45; color: var(--muted); }
.h-sec.is-dark .h-stat-grid li { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .14); }
.h-sec.is-dark .h-stat-grid b { color: #fff; }
.h-sec.is-dark .h-stat-grid span { color: rgba(255, 255, 255, .7); }

/* ---- layout helpers ---- */
.h-split { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(28px, 3.5vw, 72px); align-items: start; }
.h-callout { padding: clamp(22px, 2vw, 36px); border: 1px solid var(--line); border-radius: 18px; background: var(--mist); }
.h-callout > * + * { margin-top: 12px; }
.h-sec.is-mist .h-callout { background: #fff; }
.h-sec.is-dark .h-callout { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .14); }
.h-btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
:where(.h-flow, .h-article-body) > .h-btn-row { margin-top: 26px; }
.h-figure img { display: block; width: 100%; height: auto; border-radius: 16px; box-shadow: var(--shadow); }
.h-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 16px; }
.h-gallery img { display: block; width: 100%; height: auto; border-radius: 12px; box-shadow: var(--shadow); }
.h-gallery figcaption { margin-top: 8px; font-size: 13px; text-align: center; color: var(--muted); }
.h-table { overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.h-table table { width: 100%; min-width: 520px; border-collapse: collapse; font-size: 15px; }
.h-table th { background: var(--mist); color: var(--navy); font-weight: 800; text-align: left; }
.h-table th, .h-table td { padding: 12px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.h-table tr:last-child td { border-bottom: 0; }
.h-embed iframe { display: block; width: 100%; min-height: 360px; border: 0; border-radius: 16px; }

/* ---- FAQ lists ---- */
.h-faq-list { max-width: 980px; }
.h-faq-item .a > * + * { margin-top: 10px; }
.h-faq-item .a p { max-width: none; font-size: clamp(15px, 8.25px + .469vw, 19.5px); }
.h-sec.is-dark .h-faq-item { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .14); }
.h-sec.is-dark .h-faq-item summary h3 { color: #fff; }
.h-sec.is-dark .h-faq-item .a, .h-sec.is-dark .h-faq-item .a p { color: rgba(255, 255, 255, .8); }

/* ---- forms ---- */
.h-form { display: grid; gap: 14px; max-width: 760px; }
.h-form label { font-size: 14px; font-weight: 700; color: var(--navy); }
.h-input { width: 100%; min-height: 50px; padding: 12px 16px; border: 1.5px solid #dfe4ee; border-radius: 12px; background: #fff; color: var(--navy); font: inherit; font-size: 16px; transition: border-color .2s, box-shadow .2s; }
textarea.h-input { min-height: 140px; resize: vertical; }
.h-input:focus { outline: none; border-color: var(--trust); box-shadow: 0 0 0 4px rgba(37, 99, 235, .15); }
.h-check { width: 18px; height: 18px; accent-color: var(--trust); }
.h-form .h-btn { justify-self: start; }

/* ---- blog articles ---- */
.h-article-sec { padding-top: clamp(40px, 3.5vw, 64px); }
.h-article-body { max-width: 820px; margin: 0 auto; }
.h-article-meta { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 14.5px !important; color: var(--muted) !important; }
.h-article-meta span { display: inline-flex; align-items: center; gap: 7px; }
.h-article-meta svg { color: var(--trust); }
.h-toc { padding: 22px 26px; border: 1px solid var(--line); border-radius: 16px; background: var(--mist); }
.h-toc-title { margin: 0 0 12px !important; font-weight: 800; color: var(--navy) !important; }
.h-toc .h-list li { font-size: 15.5px; }

/* ---- school-bus app screenshots (tabs + lightbox, kept from the original pages) ---- */
.sbt-app-preview { text-align: center; }
.app-tab-btns { display: inline-flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-bottom: 34px; padding: 6px; border: 1px solid rgba(255, 255, 255, .14); border-radius: 999px; background: rgba(255, 255, 255, .07); }
.app-tab-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 20px; border: 0; border-radius: 999px; background: transparent; color: rgba(255, 255, 255, .78); font: inherit; font-size: 15px; font-weight: 700; cursor: pointer; transition: background .25s, color .25s; }
.app-tab-btn:hover { color: #fff; }
.app-tab-btn.active { background: #fff; color: var(--navy); }
.app-panel.hidden { display: none; }
.phone-reel, .desktop-reel { display: flex; justify-content: safe center; gap: 22px; padding: 8px 4px 24px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.phone-mock, .desktop-mock { flex: 0 0 auto; scroll-snap-align: center; }
.phone-shell { width: 196px; padding: 8px; border-radius: 30px; background: #0b1224; box-shadow: 0 24px 50px -24px rgba(0, 0, 0, .8), inset 0 0 0 1.5px rgba(255, 255, 255, .14); transition: transform .45s var(--ease); }
.phone-shell:hover, .desktop-shell:hover { transform: translateY(-6px); }
.phone-shell img { display: block; width: 100%; height: auto; aspect-ratio: 195 / 400; object-fit: cover; object-position: top; border-radius: 22px; background: #fff; }
.phone-mock p, .desktop-mock p { margin-top: 12px; font-size: 14px; font-weight: 600; color: rgba(255, 255, 255, .75); }
.desktop-shell { width: min(540px, 82vw); overflow: hidden; border-radius: 14px; background: #fff; box-shadow: 0 24px 50px -24px rgba(0, 0, 0, .8); transition: transform .45s var(--ease); }
.desktop-bar { display: flex; align-items: center; gap: 6px; padding: 9px 12px; background: #eef1f6; }
.desktop-dot { width: 10px; height: 10px; border-radius: 50%; }
.desktop-dot.r { background: #ff5f57; } .desktop-dot.y { background: #febc2e; } .desktop-dot.g { background: #28c840; }
.desktop-url { flex: 1; margin-left: 10px; padding: 3px 12px; border-radius: 999px; background: #fff; color: var(--muted); font-size: 12px; text-align: left; }
.desktop-screen img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
.sbt-lightbox { position: fixed; inset: 0; z-index: 3000; display: none; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 24px; background: rgba(10, 22, 49, .92); }
.sbt-lightbox.lb-open { display: flex; }
.sbt-lightbox img { max-width: min(1100px, 94vw); max-height: 80vh; border-radius: 14px; background: #fff; }
.sbt-lb-close { position: absolute; top: 16px; right: 16px; width: 44px; height: 44px; border: 0; border-radius: 50%; background: #fff; color: var(--navy); font-size: 20px; cursor: pointer; }
.sbt-lb-caption { color: #fff; font-weight: 600; }
.btn-demo-dvm { display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 26px; border-radius: 10px; background: var(--action); color: #fff !important; font-weight: 700; text-decoration: none !important; box-shadow: 0 14px 26px -14px var(--action-glow); transition: background .3s, transform .45s var(--ease); }
.btn-demo-dvm:hover { background: var(--action-d); transform: translateY(-3px); }
.mt-32 { margin-top: 32px; }

/* ---- responsive ---- */
@media (max-width: 1099px) {
  .h-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .h-split { grid-template-columns: minmax(0, 1fr); }
  .h-stats-list.is-auto { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
}
@media (max-width: 767px) {
  .h-stats-list.is-auto { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .h-cards { grid-template-columns: 1fr; }
  .h-sec { padding: 52px 0; }
  .h-stat-grid { grid-template-columns: 1fr 1fr; }
  .h-card { padding: 20px; }
  .phone-shell { width: 170px; }
}

/* ---- hand-built pages: lead form, team, plans, contact ---- */
.h-form-card { padding: clamp(22px, 2.2vw, 40px); background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); }
.h-form-note { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 8px; padding: 5px 12px; border-radius: 999px; background: var(--trust-50); color: var(--trust-d); font-size: 13px; font-weight: 700; }
.h-form-note svg { width: 15px; height: 15px; }
.h-form-title { margin: 0 0 18px; font-size: clamp(20px, 11px + .63vw, 27px); font-weight: 800; color: var(--navy); letter-spacing: -.01em; }
.h-form-card .h-form { max-width: none; }
.h-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.h-field { display: grid; gap: 6px; }
.h-form textarea.h-input { min-height: 120px; resize: vertical; }
.h-check-row { display: flex; align-items: center; gap: 10px; font-weight: 500 !important; color: var(--muted) !important; }
.h-form-person { display: flex; align-items: center; gap: 12px; margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); }
.h-form-person strong { display: block; color: var(--navy); }
.h-form-person small { color: var(--muted); font-size: 13px; }
.h-mono { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(135deg, var(--trust), var(--navy)); color: #fff; font-weight: 800; letter-spacing: .02em; flex: 0 0 auto; }
.h-mono.is-lg { width: 72px; height: 72px; font-size: 24px; margin-bottom: 6px; }
.h-team-card { align-items: flex-start; }
.h-consult .h-title { margin-bottom: 4px; }
.h-muted { color: var(--muted); }
.h-lead-p { font-size: clamp(16px, 8.8px + .5vw, 20.8px) !important; line-height: 1.75 !important; }
.h-contact-mini { display: grid; gap: 12px; margin-top: 22px !important; padding: 0; list-style: none; }
.h-contact-mini li { display: flex; align-items: center; gap: 12px; font-weight: 600; color: var(--navy); }
.h-contact-mini svg { width: 38px; height: 38px; padding: 9px; border-radius: 50%; background: var(--trust-50); color: var(--trust); flex: 0 0 auto; }
.h-contact-mini a { color: var(--navy) !important; text-decoration: none !important; }
.h-contact-mini a:hover { color: var(--trust-d) !important; }
.h-chips.is-sm { gap: 6px; }
.h-chips.is-sm .h-chip { padding: 5px 11px; font-size: 13px; }
.h-card.is-link .h-link { margin-top: auto; }
.h-plans { align-items: stretch; }
.h-plan .h-btn { align-self: flex-start; margin-top: auto; }
.h-plan .h-list { margin: 6px 0 14px; }
.h-plan.is-featured { border: 2px solid var(--trust); box-shadow: var(--shadow-lg); }
.h-price.is-lg { font-size: clamp(26px, 14px + .9vw, 38px) !important; letter-spacing: -.02em; }
.h-steps.is-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.h-steps.is-3 .h-link { display: inline-flex; margin-top: 10px; }
.h-stat-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 1.4vw, 26px); padding: 0; list-style: none; }
.h-stat-tile { display: flex; align-items: center; gap: 16px; padding: clamp(20px, 1.7vw, 30px); background: #fff; border: 1px solid var(--line); border-radius: var(--radius); font-weight: 700; color: var(--navy); font-size: clamp(15.5px, 8.53px + .484vw, 20.15px); line-height: 1.4; }
.h-stat-tile svg { width: 48px; height: 48px; padding: 12px; border-radius: 12px; background: var(--trust-50); color: var(--trust); flex: 0 0 auto; }
.h-note { display: flex; gap: 14px; align-items: flex-start; margin-top: clamp(20px, 2vw, 34px); }
.h-note svg { width: 26px; height: 26px; color: var(--trust); flex: 0 0 auto; margin-top: 2px; }
.h-note p { margin: 0; }
@media (max-width: 1024px) {
  .h-cards[style*="--cols:5"] { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .h-steps.is-3, .h-stat-tiles { grid-template-columns: 1fr; }
  .h-steps.is-3 .h-step { flex-direction: row; }
}
@media (max-width: 640px) {
  .h-form-row { grid-template-columns: 1fr; }
  .h-cards[style*="--cols:5"] { grid-template-columns: 1fr; }
}

/* ==== Homepage services explorer (.h-sx) ==================================== */
.h-sx { position: relative; padding: clamp(64px, 6vw, 110px) 0; background: linear-gradient(180deg, #fff 0%, var(--mist) 38%, var(--mist) 100%); overflow: hidden; isolation: isolate; }
.h-sx-glow { position: absolute; z-index: -1; top: 10%; right: -10%; width: 55vw; height: 55vw; max-width: 900px; max-height: 900px; border-radius: 50%; background: radial-gradient(closest-side, rgba(37, 99, 235, .12), transparent 70%); pointer-events: none; }
.h-sx-head { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 80px); align-items: end; margin-bottom: clamp(30px, 3vw, 54px); }
.h-sx-head .h-title { max-width: 15em; }
.h-sx-head-side p { margin: 0 0 22px; font-size: clamp(16px, 8.8px + .5vw, 20.8px); line-height: 1.7; color: var(--muted); max-width: 32em; }

.h-sx-explorer { display: grid; grid-template-columns: minmax(270px, .78fr) minmax(0, 2.2fr); gap: clamp(18px, 2vw, 36px); align-items: start; }
.h-sx-side { position: sticky; top: calc(var(--header-h) + 20px); }
.h-sx-tabs { position: relative; display: grid; gap: 6px; }
.h-sx-ind { position: absolute; left: 0; top: 0; width: 100%; height: 0; border-radius: 16px; background: #fff; box-shadow: 0 18px 40px -22px rgba(11, 27, 63, .45), inset 0 0 0 1px var(--line); transition: transform .6s var(--ease), height .6s var(--ease); pointer-events: none; }
.h-sx-ind::before { content: ""; position: absolute; left: 0; top: 16px; bottom: 16px; width: 3px; border-radius: 3px; background: var(--trust); }
html:not(.h-js) .h-sx-ind { display: none; }
.h-sx-tab { position: relative; z-index: 1; display: flex; gap: 14px; align-items: center; width: 100%; padding: 14px 16px 16px 20px; border: 0; border-radius: 16px; background: transparent; font: inherit; text-align: left; color: var(--muted); cursor: pointer; transition: color .3s, transform .45s var(--ease); -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
.h-sx-tab:hover { color: var(--navy); transform: translateX(4px); }
.h-sx-tab.is-active { color: var(--navy); transform: none; }
.h-sx-tab:focus-visible { outline: 2px solid var(--trust); outline-offset: 2px; }
.h-sx-tab-ico { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 12px; background: rgba(37, 99, 235, .08); color: var(--trust); flex: 0 0 auto; transition: background .35s, color .35s, transform .6s var(--ease); }
.h-sx-tab-ico svg { width: 21px; height: 21px; }
.h-sx-tab.is-active .h-sx-tab-ico { background: var(--trust); color: #fff; transform: rotate(-8deg) scale(1.04); }
.h-sx-tab-txt { display: grid; gap: 2px; min-width: 0; }
.h-sx-tab-txt b { font-size: clamp(15px, 8.25px + .469vw, 19.5px); font-weight: 800; line-height: 1.3; letter-spacing: -.01em; }
.h-sx-tab-txt small { font-size: clamp(12.5px, 6.875px + .391vw, 16.25px); color: var(--muted); line-height: 1.4; }
.h-sx-bar { position: absolute; left: 20px; right: 16px; bottom: 7px; height: 2px; border-radius: 2px; background: rgba(37, 99, 235, .12); overflow: hidden; opacity: 0; transition: opacity .3s; }
.h-sx-bar i { display: block; width: 100%; height: 100%; background: var(--trust); transform: scaleX(0); transform-origin: left; }
.h-sx.is-live .h-sx-tab.is-active .h-sx-bar { opacity: 1; }
.h-sx.is-live .h-sx-tab.is-active .h-sx-bar i { animation: sx-progress 8s linear forwards; }
.h-sx-explorer:hover .h-sx-bar i, .h-sx-explorer:focus-within .h-sx-bar i, .h-sx.is-paused .h-sx-bar i { animation-play-state: paused !important; }
.h-sx.is-manual .h-sx-bar { display: none; }
@keyframes sx-progress { to { transform: scaleX(1); } }
.h-sx-toggle { display: inline-flex; align-items: center; gap: 8px; margin: 14px 0 0 20px; padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; background: #fff; font: inherit; font-size: 13px; font-weight: 700; color: var(--navy); cursor: pointer; transition: border-color .25s, color .25s; }
.h-sx-toggle:hover { border-color: var(--trust); color: var(--trust-d); }
.h-sx-toggle:focus-visible { outline: 2px solid var(--trust); outline-offset: 2px; }
.h-sx-toggle svg { width: 14px; height: 14px; }
.h-sx-toggle .i-play, .h-sx-toggle[aria-pressed="true"] .i-pause { display: none; }
.h-sx-toggle[aria-pressed="true"] .i-play { display: block; }
html:not(.h-js) .h-sx-toggle, .h-sx.is-manual .h-sx-toggle { display: none; }

.h-sx-stage { position: relative; min-width: 0; }
.h-sx-panel { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: clamp(22px, 2.6vw, 50px); align-items: center; padding: clamp(24px, 2.6vw, 48px); background: #fff; border: 1px solid var(--line); border-radius: 22px; box-shadow: 0 30px 60px -36px rgba(11, 27, 63, .35); }
.h-sx-panel:focus-visible { outline: 2px solid var(--trust); outline-offset: 3px; }
.h-js .h-sx-panel:not(.is-active) { display: none; }
html:not(.h-js) .h-sx-panel + .h-sx-panel { margin-top: 18px; }
.h-sx-kicker { margin: 0; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.h-sx-kicker span { color: var(--trust-d); font-weight: 800; }
.h-sx-copy h3 { margin: 10px 0 0; font-size: clamp(24px, 13.2px + .75vw, 31.2px); font-weight: 800; line-height: 1.2; letter-spacing: -.02em; color: var(--navy); }
.h-sx-desc { margin: 14px 0 0; font-size: clamp(15.5px, 8.53px + .484vw, 20.15px); line-height: 1.7; color: var(--text); }
.h-sx-label { margin: 22px 0 10px; font-size: 12.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--navy); }
.h-sx-builds { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 18px; margin: 0; padding: 0; list-style: none; }
.h-sx-builds li { position: relative; padding-left: 28px; font-size: clamp(14.5px, 7.98px + .453vw, 18.85px); line-height: 1.5; color: var(--navy); font-weight: 600; }
.h-sx-builds li::before { content: ""; position: absolute; left: 0; top: .2em; width: 18px; height: 18px; border-radius: 50%; background: var(--trust-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232563eb' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 11px no-repeat; }
.h-sx-stack { display: flex; flex-wrap: wrap; gap: 7px; margin: 20px 0 0; padding: 0; list-style: none; }
.h-sx-stack li { padding: 5px 12px; border-radius: 999px; background: var(--mist); border: 1px solid var(--line); font-size: 13px; font-weight: 700; color: var(--navy); }
.h-sx-meta { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 18px 0 0; padding: 16px 0 0; border-top: 1px dashed var(--line); list-style: none; }
.h-sx-meta li { display: inline-flex; align-items: center; gap: 8px; font-size: clamp(14px, 7.7px + .4375vw, 18.2px); font-weight: 700; color: var(--navy); }
.h-sx-meta svg { width: 18px; height: 18px; color: var(--trust); }
.h-sx-links { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; margin-top: 22px; }

/* code window */
.h-sx-code { position: relative; align-self: stretch; display: flex; flex-direction: column; min-height: 300px; border-radius: 18px; background: linear-gradient(160deg, #0f2250, var(--dark) 70%); box-shadow: 0 30px 60px -28px rgba(11, 27, 63, .7), inset 0 0 0 1px rgba(255, 255, 255, .06); transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .5s var(--ease); }
.h-sx-code-bar { display: flex; align-items: center; gap: 7px; padding: 14px 16px; border-bottom: 1px solid rgba(255, 255, 255, .07); }
.h-sx-code-bar i { width: 10px; height: 10px; border-radius: 50%; background: #ff5f57; }
.h-sx-code-bar i:nth-child(2) { background: #febc2e; }
.h-sx-code-bar i:nth-child(3) { background: #28c840; }
.h-sx-code-bar span { margin-left: 10px; font-size: 12.5px; font-weight: 600; color: rgba(255, 255, 255, .6); font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.h-sx-code pre { flex: 1; margin: 0; padding: 20px 20px 70px; overflow: hidden; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: clamp(12.5px, 6.875px + .391vw, 16.25px); line-height: 1.85; color: #dbe6ff; white-space: pre; }
.h-sx-code .ln { display: block; width: max-content; max-width: 100%; }
.h-sx-code .ln:last-child::after { content: ""; display: inline-block; width: 8px; height: 1.1em; margin-left: 3px; vertical-align: -.2em; background: var(--trust-light); animation: sx-caret 1s steps(1) infinite; }
.tk-c { color: #8fa1c9; font-style: italic; }
.tk-s { color: #fcd29f; }
.tk-t, .tk-k { color: #93c5fd; font-weight: 600; }
.tk-n { color: #f9a8d4; }
.tk-f { color: #86efac; }
.h-sx-badge { position: absolute; right: 18px; bottom: 18px; display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px 10px 10px; border-radius: 14px; background: #fff; color: var(--navy); box-shadow: 0 18px 36px -16px rgba(0, 0, 0, .5); font-size: 14px; }
.h-sx-badge svg { width: 34px; height: 34px; padding: 8px; border-radius: 10px; background: var(--trust); color: #fff; }
.h-sx-badge b { font-weight: 800; }
@keyframes sx-caret { 50% { opacity: 0; } }

/* principles strip */
.h-sx-principles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 1.4vw, 26px); margin: clamp(30px, 3vw, 56px) 0 0; padding: 0; list-style: none; }
.h-sx-pr { display: flex; gap: 14px; align-items: flex-start; padding: clamp(18px, 1.5vw, 28px); border-radius: 16px; background: rgba(255, 255, 255, .7); border: 1px solid var(--line); transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .3s, background .3s; }
.h-sx-pr:hover { transform: translateY(-5px); background: #fff; border-color: rgba(37, 99, 235, .35); box-shadow: var(--shadow-lg); }
.h-sx-pr .ic { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 12px; background: var(--navy); color: #fff; flex: 0 0 auto; transition: background .3s, transform .5s var(--ease); }
.h-sx-pr:hover .ic { background: var(--trust); transform: rotate(-8deg); }
.h-sx-pr .ic svg { width: 20px; height: 20px; }
.h-sx-pr h3 { margin: 0; font-size: clamp(15px, 8.25px + .469vw, 19.5px); font-weight: 800; color: var(--navy); line-height: 1.3; }
.h-sx-pr p { margin: 5px 0 0; font-size: clamp(13.5px, 7.425px + .422vw, 17.55px); line-height: 1.55; color: var(--muted); }

/* motion — only with JS, only when motion is allowed */
@media (prefers-reduced-motion: no-preference) {
  .h-sx.is-live .h-sx-panel.is-active .sx-a { animation: sx-in .7s var(--ease) both; animation-delay: calc(var(--d, 0) * 70ms); }
  .h-sx.is-live .h-sx-panel.is-active .h-sx-code { animation: sx-code-in .9s var(--ease) backwards; }
  .h-sx.is-live .h-sx-panel.is-active .ln { animation: sx-type .5s steps(26, end) both; animation-delay: calc(.35s + var(--n) * .24s); }
  .h-sx.is-live .h-sx-panel.is-active .h-sx-badge { animation: sx-pop .8s cubic-bezier(.34, 1.56, .64, 1) 1.5s both, sx-float 4s ease-in-out 2.4s infinite; }
  .h-sx.is-live .h-sx-panel.is-active .h-sx-builds li { animation: sx-in .6s var(--ease) both; animation-delay: calc(.25s + var(--k, 0) * 60ms); }
  .h-sx-builds li:nth-child(2) { --k: 1; }
  .h-sx-builds li:nth-child(3) { --k: 2; }
  .h-sx-builds li:nth-child(4) { --k: 3; }
  .h-js .h-sx:not(.is-live) .h-sx-panel .sx-a, .h-js .h-sx:not(.is-live) .h-sx-code { opacity: 0; }
}
@keyframes sx-in { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes sx-code-in { from { opacity: 0; transform: perspective(900px) translateX(30px) rotateY(-10deg); } to { opacity: 1; transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); } }
@keyframes sx-type { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes sx-pop { from { opacity: 0; transform: translateY(14px) scale(.8); } to { opacity: 1; transform: none; } }
@keyframes sx-float { 50% { transform: translateY(-6px); } }

@media (max-width: 1180px) {
  .h-sx-panel { grid-template-columns: minmax(0, 1fr); }
  .h-sx-code { min-width: 0; }
  .h-sx-code pre { overflow-x: auto; }
  .h-sx-code { min-height: 250px; }
  .h-sx-principles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .h-sx-head { grid-template-columns: 1fr; align-items: start; }
  .h-sx-explorer { grid-template-columns: 1fr; }
  .h-sx-side { position: relative; top: 0; min-width: 0; }
  .h-sx-tabs { display: flex; gap: 8px; min-width: 0; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin: 0 calc(var(--gutter) * -1); padding: 2px var(--gutter) 6px; scroll-padding: 0 var(--gutter); }
  .h-sx-tabs::-webkit-scrollbar { display: none; }
  .h-sx-ind { display: none; }
  .h-sx-tab { flex: 0 0 auto; width: auto; padding: 9px 16px 11px 9px; gap: 10px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); scroll-snap-align: start; }
  .h-sx-tab:hover { transform: none; }
  .h-sx-tab.is-active { background: var(--navy); color: #fff; box-shadow: none; }
  .h-sx-tab.is-active .h-sx-tab-ico { background: var(--trust); transform: none; }
  .h-sx-tab-ico { width: 34px; height: 34px; border-radius: 50%; }
  .h-sx-tab-ico svg { width: 17px; height: 17px; }
  .h-sx-tab-txt small { display: none; }
  .h-sx-tab-txt b { font-size: 14.5px; white-space: nowrap; }
  .h-sx-bar { left: 16px; right: 16px; bottom: 4px; background: rgba(255, 255, 255, .2); }
  .h-sx-bar i { background: #fff; }
  .h-sx-toggle { display: none !important; }
}
@media (max-width: 640px) {
  .h-sx-panel { padding: 20px; border-radius: 18px; }
  .h-sx-builds { grid-template-columns: 1fr; }
  .h-sx-code pre { padding: 16px 16px 66px; font-size: 12px; }
  .h-sx-principles { grid-template-columns: 1fr; }
  .h-sx-links .h-btn { width: 100%; justify-content: center; }
}

/* ==== Homepage products bento (.h-pd) ======================================= */
.h-pd { padding: clamp(64px, 6vw, 110px) 0; }
.h-pd::before { background: radial-gradient(900px 480px at 88% -10%, rgba(37, 99, 235, .32), transparent 60%), radial-gradient(700px 420px at -5% 105%, rgba(96, 165, 250, .14), transparent 60%), linear-gradient(180deg, #0a1631, #081228); }
.h-pd-bg { position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px); background-size: 56px 56px; -webkit-mask-image: radial-gradient(ellipse at 50% 30%, #000 20%, transparent 75%); mask-image: radial-gradient(ellipse at 50% 30%, #000 20%, transparent 75%); pointer-events: none; }
.h-pd .h-title .hl { color: var(--trust-light); }
.h-pd-head { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 80px); align-items: end; margin-bottom: clamp(30px, 3vw, 54px); }
.h-pd-head-side p { margin: 0 0 22px; font-size: clamp(16px, 8.8px + .5vw, 20.8px); line-height: 1.7; color: rgba(255, 255, 255, .72); max-width: 32em; }
.h-pd-head-side .h-btn-row { align-items: center; gap: 14px 26px; }

.h-pd-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(14px, 1.3vw, 24px); }
.h-pc { --mx: 50%; --my: 0%; position: relative; display: flex; flex-direction: column; gap: 18px; min-width: 0; padding: clamp(20px, 1.8vw, 32px); border-radius: 22px; background: linear-gradient(180deg, rgba(255, 255, 255, .065), rgba(255, 255, 255, .025)); border: 1px solid rgba(255, 255, 255, .09); color: #fff; overflow: hidden; isolation: isolate; transition: border-color .4s, transform .6s var(--ease), box-shadow .6s var(--ease); }
.h-pc::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(420px circle at var(--mx) var(--my), rgba(96, 165, 250, .16), transparent 60%); opacity: 0; transition: opacity .4s; }
.h-pc:hover { border-color: rgba(147, 197, 253, .35); transform: translateY(-4px); box-shadow: 0 40px 70px -40px rgba(0, 0, 0, .9); }
.h-pc:hover::before { opacity: 1; }
.h-pc.is-fleet { grid-column: span 7; grid-row: span 2; }
.h-pc.is-cctv, .h-pc.is-erp { grid-column: span 5; }
.h-pc.is-crm, .h-pc.is-vada, .h-pc.is-machine { grid-column: span 4; }
.h-pc-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.h-pc-ico { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 13px; background: rgba(96, 165, 250, .14); color: #93c5fd; box-shadow: inset 0 0 0 1px rgba(147, 197, 253, .2); transition: background .35s, color .35s, transform .6s var(--ease); }
.h-pc-ico svg { width: 22px; height: 22px; }
.h-pc:hover .h-pc-ico { background: var(--trust); color: #fff; transform: rotate(-8deg); }
.h-pc-tag { display: inline-flex; align-items: center; gap: 7px; padding: 5px 11px; border-radius: 999px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); font-size: 12px; font-weight: 700; letter-spacing: .04em; color: rgba(255, 255, 255, .8); white-space: nowrap; }
.h-pc-tag i { width: 7px; height: 7px; border-radius: 50%; background: #34d399; box-shadow: 0 0 0 3px rgba(52, 211, 153, .2); }
.h-pc h3 { margin: 0; font-size: clamp(19px, 10.45px + .594vw, 24.7px); font-weight: 800; line-height: 1.25; letter-spacing: -.015em; color: #fff; }
.h-pc.is-fleet h3 { font-size: clamp(24px, 13.2px + .75vw, 31.2px); }
.h-pc-copy p { margin: 8px 0 0; font-size: clamp(14.5px, 7.98px + .453vw, 18.85px); line-height: 1.6; color: rgba(255, 255, 255, .72); }
.h-pc-feat { display: flex; flex-wrap: wrap; gap: 7px; margin: 14px 0 0; padding: 0; list-style: none; }
.h-pc-feat li { padding: 5px 11px; border-radius: 999px; background: rgba(255, 255, 255, .06); font-size: 12.5px; font-weight: 600; color: #dbe6ff; }
.h-pc-foot { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: auto; }
.h-pc-link { display: inline-flex; align-items: center; gap: 8px; font-size: clamp(14px, 7.7px + .4375vw, 18.2px); font-weight: 700; color: rgba(255, 255, 255, .78); transition: color .25s; }
.h-pc-link.is-primary { color: #93c5fd; }
.h-pc-link:hover { color: #fff; }
.h-pc-link .h-arrow { transition: transform .35s var(--ease); }
.h-pc-link:hover .h-arrow { transform: translateX(4px); }
.h-pc-link:focus-visible { outline: 2px solid #93c5fd; outline-offset: 3px; border-radius: 4px; }

/* preview widgets */
.pw { position: relative; flex: 0 0 auto; border-radius: 16px; background: rgba(4, 10, 26, .55); border: 1px solid rgba(255, 255, 255, .07); overflow: hidden; }
.h-pd:not(.is-live) .pw *, .h-pd.is-offscreen .pw * { animation-play-state: paused !important; }

/* fleet map */
.pw-map { flex: 1 1 auto; min-height: 280px; background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px); background-size: 28px 28px; background-position: center; }
.pw-map-svg { padding: 56px 18px 76px; box-sizing: border-box; }
.pw-map-svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.pw-road { fill: none; stroke: rgba(255, 255, 255, .14); stroke-width: 12; stroke-linecap: round; }
.pw-road-live { fill: none; stroke: var(--trust-light); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 6 9; animation: pw-dash 1.2s linear infinite; }
.pw-stop circle { fill: #0a1631; stroke: #93c5fd; stroke-width: 3; }
.pw-stop.is-school circle { stroke: #34d399; }
.pw-stop .pw-ping { fill: none; stroke: #93c5fd; stroke-width: 2; transform-box: fill-box; transform-origin: center; animation: pw-ping 2.4s var(--ease) infinite; }
.pw-stop.is-school .pw-ping { stroke: #34d399; }
.pw-eta { position: absolute; left: 16px; top: 16px; display: inline-flex; align-items: center; gap: 8px; padding: 8px 13px; border-radius: 999px; background: rgba(255, 255, 255, .95); color: var(--navy); font-size: 13px; font-weight: 600; box-shadow: 0 12px 24px -12px rgba(0, 0, 0, .6); }
.pw-eta i { width: 8px; height: 8px; border-radius: 50%; background: #16a34a; animation: pw-blink 1.4s steps(1) infinite; }
.pw-toast { position: absolute; right: 16px; bottom: 16px; display: flex; align-items: center; gap: 10px; padding: 10px 14px 10px 10px; border-radius: 14px; background: #fff; color: var(--navy); box-shadow: 0 18px 36px -16px rgba(0, 0, 0, .7); animation: pw-toast 10s var(--ease) infinite; }
.pw-toast svg { width: 32px; height: 32px; padding: 7px; border-radius: 10px; background: #25d366; color: #fff; }
.pw-toast b { display: block; font-size: 13.5px; }
.pw-toast small { font-size: 12px; color: var(--muted); }

/* cctv wall */
.pw-cams { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; aspect-ratio: 16 / 9; }
.pw-cam { position: relative; overflow: hidden; border-radius: 10px; background: #000; }
.pw-cam img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.15) brightness(.85); transform: scale(1.08); animation: pw-pan 14s ease-in-out infinite alternate; }
.pw-cam:nth-child(2) img { animation-delay: -4s; }
.pw-cam:nth-child(3) img { animation-delay: -8s; }
.pw-cam:nth-child(4) img { animation-delay: -11s; }
.pw-cam.is-night img { filter: grayscale(1) sepia(1) hue-rotate(60deg) saturate(3) brightness(.75); }
.pw-cam::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(0deg, rgba(255, 255, 255, .05) 0 1px, transparent 1px 3px), linear-gradient(180deg, transparent 40%, rgba(147, 197, 253, .18) 50%, transparent 60%); background-size: auto, 100% 300%; animation: pw-scan 4s linear infinite; }
.pw-cam-lbl { position: absolute; left: 8px; bottom: 6px; z-index: 1; font: 700 10.5px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; color: #fff; text-shadow: 0 1px 2px #000; }
.pw-rec { position: absolute; left: 12px; top: 12px; z-index: 2; display: inline-flex; align-items: center; gap: 6px; padding: 4px 8px; border-radius: 6px; background: rgba(0, 0, 0, .6); font: 800 11px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; color: #fff; }
.pw-rec i { width: 8px; height: 8px; border-radius: 50%; background: #ef4444; animation: pw-blink 1s steps(1) infinite; }
.pw-clock { position: absolute; right: 12px; top: 12px; z-index: 2; padding: 4px 8px; border-radius: 6px; background: rgba(0, 0, 0, .6); font: 700 11px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; color: #fff; }

/* school erp */
.pw-erp { display: grid; grid-template-columns: auto 1fr; gap: 20px; align-items: center; padding: 18px 20px; }
.pw-ring { position: relative; width: 108px; height: 108px; }
.pw-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.pw-ring circle { fill: none; stroke-width: 10; }
.pw-ring-bg { stroke: rgba(255, 255, 255, .08); }
.pw-ring-fg { stroke: var(--trust-light); stroke-linecap: round; stroke-dasharray: 96 100; }
.pw-ring span { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; color: #fff; }
.pw-ring em { font-style: normal; font-size: 14px; font-weight: 800; }
.pw-ring b { font-size: 26px; font-weight: 800; line-height: 1; }
.pw-ring small { margin-top: 3px; font-size: 10.5px; font-weight: 600; color: rgba(255, 255, 255, .6); }
.pw-bars { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.pw-bars li { display: grid; gap: 5px; font-size: 12px; font-weight: 600; color: rgba(255, 255, 255, .7); }
.pw-bars i { display: block; height: 7px; border-radius: 7px; background: linear-gradient(90deg, var(--trust), var(--trust-light)) 0 0 / var(--w) 100% no-repeat, rgba(255, 255, 255, .08); }

/* crm pipeline */
.pw-crm { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; padding: 12px; min-height: 150px; }
.pw-col { display: flex; flex-direction: column; gap: 7px; padding: 8px; border-radius: 10px; background: rgba(255, 255, 255, .04); }
.pw-col small { font-size: 10.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: rgba(255, 255, 255, .55); }
.pw-lead { display: grid; gap: 5px; padding: 8px; border-radius: 8px; background: rgba(255, 255, 255, .08); }
.pw-lead i { display: block; height: 5px; border-radius: 5px; background: rgba(255, 255, 255, .22); }
.pw-lead i + i { width: 60%; background: rgba(255, 255, 255, .12); }
.pw-lead.is-moving { position: absolute; left: 20px; top: 40px; width: calc((100% - 88px) / 3); grid-template-columns: auto 1fr; align-items: center; gap: 7px; background: #fff; box-shadow: 0 12px 24px -10px rgba(0, 0, 0, .6); animation: pw-move 7s var(--ease) infinite; }
.pw-lead.is-moving svg { width: 18px; height: 18px; padding: 3px; border-radius: 5px; background: #25d366; color: #fff; }
.pw-lead.is-moving i { background: #cbd5e1; width: 100%; }

/* vada gauge */
.pw-gauge { display: grid; place-items: center; padding: 16px 16px 12px; min-height: 150px; }
.pw-gauge svg { width: min(100%, 210px); height: auto; overflow: visible; }
.pw-g-bg, .pw-g-fg { fill: none; stroke-width: 12; stroke-linecap: round; }
.pw-g-bg { stroke: rgba(255, 255, 255, .08); }
.pw-g-fg { stroke: var(--trust-light); stroke-dasharray: 78 100; }
.pw-needle { transform-origin: 100px 100px; transform: rotate(50deg); animation: pw-needle 6s var(--ease) infinite; }
.pw-needle line { stroke: #fff; stroke-width: 4; stroke-linecap: round; }
.pw-needle circle { fill: #fff; }
.pw-g-lbl { margin-top: 4px; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: rgba(255, 255, 255, .6); }

/* machine radar */
.pw-radar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 22px; min-height: 150px; background: radial-gradient(circle at 30% 50%, rgba(37, 99, 235, .2), transparent 60%), rgba(4, 10, 26, .55); }
.pw-pin { position: relative; display: grid; place-items: center; width: 104px; height: 104px; flex: 0 0 auto; }
.pw-pin i { position: absolute; inset: 0; border-radius: 50%; border: 2px solid rgba(147, 197, 253, .5); animation: pw-radar 3s var(--ease) infinite; }
.pw-pin i:nth-child(2) { animation-delay: 1s; }
.pw-pin i:nth-child(3) { animation-delay: 2s; }
.pw-pin b { width: 18px; height: 18px; border-radius: 50%; background: #d0460b; box-shadow: 0 0 0 5px rgba(208, 70, 11, .3); }
.pw-hours { display: grid; text-align: right; font-size: 13px; font-weight: 700; color: rgba(255, 255, 255, .7); }
.pw-hours small { font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: rgba(255, 255, 255, .55); }
.pw-hours em { font-style: normal; white-space: nowrap; }
.pw-hours b { font: 800 clamp(22px, 12px + .7vw, 30px)/1.1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; color: #fff; font-variant-numeric: tabular-nums; }

@keyframes pw-dash { to { stroke-dashoffset: -30; } }
@keyframes pw-ping { from { transform: scale(1); opacity: .9; } to { transform: scale(2.8); opacity: 0; } }
@keyframes pw-blink { 50% { opacity: .25; } }
@keyframes pw-toast { 0%, 12% { opacity: 0; transform: translateY(14px) scale(.96); } 20%, 88% { opacity: 1; transform: none; } 100% { opacity: 0; transform: translateY(-6px); } }
@keyframes pw-pan { from { transform: scale(1.08) translateX(-3%); } to { transform: scale(1.08) translateX(3%); } }
@keyframes pw-scan { from { background-position: 0 0, 0 100%; } to { background-position: 0 0, 0 -200%; } }
@keyframes pw-move { 0%, 12% { transform: none; opacity: 1; } 30%, 50% { transform: translateX(calc(100% + 24px)); } 68%, 88% { transform: translateX(calc(200% + 48px)); opacity: 1; } 100% { transform: translateX(calc(200% + 48px)); opacity: 0; } }
@keyframes pw-needle { 0% { transform: rotate(-70deg); } 30% { transform: rotate(58deg); } 45% { transform: rotate(44deg); } 70% { transform: rotate(52deg); } 100% { transform: rotate(-70deg); } }
@keyframes pw-radar { from { transform: scale(.25); opacity: 1; } to { transform: scale(1); opacity: 0; } }
@keyframes pw-ring { from { stroke-dasharray: 0 100; } }

@media (prefers-reduced-motion: no-preference) {
  .h-pd.is-live .pw-ring-fg { animation: pw-ring 1.6s var(--ease) .3s both; }
  .h-pd.is-live .pw-bars i { animation: pw-bar 1.4s var(--ease) .4s both; }
}
@keyframes pw-bar { from { background-size: 0 100%, auto; } }
@media (prefers-reduced-motion: reduce) {
  .pw *, .pw *::after { animation: none !important; }
  .pw-toast { opacity: 1; }
}

@media (max-width: 1100px) {
  .h-pc.is-fleet { grid-column: span 12; grid-row: auto; }
  .h-pc.is-cctv, .h-pc.is-erp { grid-column: span 6; }
  .h-pc.is-crm, .h-pc.is-vada, .h-pc.is-machine { grid-column: span 4; }
}
@media (max-width: 900px) {
  .h-pd-head { grid-template-columns: 1fr; align-items: start; }
  .h-pc.is-cctv, .h-pc.is-erp, .h-pc.is-crm, .h-pc.is-vada { grid-column: span 6; }
  .h-pc.is-machine { grid-column: span 12; }
}
@media (max-width: 640px) {
  .h-pc.is-fleet, .h-pc.is-cctv, .h-pc.is-erp, .h-pc.is-crm, .h-pc.is-vada, .h-pc.is-machine { grid-column: span 12; }
  .pw-map { min-height: 270px; }
  .pw-map-svg { padding: 52px 4px 62px; }
  .pw-toast { right: 10px; bottom: 10px; padding: 7px 11px 7px 7px; gap: 8px; }
  .pw-toast svg { width: 26px; height: 26px; padding: 5px; }
  .pw-toast b { font-size: 12.5px; }
  .pw-ring { width: 92px; height: 92px; }
}

/* ==== Homepage process timeline (.h-proc) =================================== */
.h-proc { position: relative; padding: clamp(64px, 6vw, 110px) 0; background: #fff; overflow: hidden; }
.h-proc-head { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 80px); align-items: end; margin-bottom: clamp(36px, 3.4vw, 64px); }
.h-proc-head-side p { margin: 0 0 22px; font-size: clamp(16px, 8.8px + .5vw, 20.8px); line-height: 1.7; color: var(--muted); max-width: 32em; }
.h-proc-wrap { --p: 0; position: relative; }
.h-proc-line { position: absolute; z-index: 0; left: 8.33%; right: 8.33%; top: 27px; height: 3px; border-radius: 3px; background: var(--line); pointer-events: none; }
.h-proc-line i { position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(90deg, var(--trust), var(--trust-light)); transform-origin: left center; transform: scaleX(var(--p)); box-shadow: 0 0 14px rgba(37, 99, 235, .45); }
.h-proc-line.is-v i { transform-origin: center top; transform: scaleY(var(--p)); background: linear-gradient(180deg, var(--trust), var(--trust-light)); }
html:not(.h-js) .h-proc-line i { transform: none; }
.h-proc-steps { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: clamp(12px, 1.2vw, 22px); margin: 0; padding: 0; list-style: none; }
.h-proc-step { display: flex; flex-direction: column; align-items: center; gap: 18px; min-width: 0; }
.h-proc-node { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 50%; background: #fff; color: var(--muted); box-shadow: inset 0 0 0 2px var(--line); flex: 0 0 auto; transition: background .5s var(--ease), color .5s, box-shadow .5s, transform .6s var(--ease); }
.h-proc-node svg { width: 23px; height: 23px; }
.h-proc-node::after { content: ""; position: absolute; inset: -7px; border-radius: 50%; border: 2px solid var(--trust); opacity: 0; transform: scale(.7); }
.h-proc-card { position: relative; display: flex; flex-direction: column; width: 100%; flex: 1; padding: clamp(18px, 1.4vw, 26px); border-radius: 18px; background: #fff; border: 1px solid var(--line); box-shadow: 0 8px 20px -16px rgba(11, 27, 63, .3); transition: border-color .5s, box-shadow .6s var(--ease), transform .6s var(--ease); }
.h-proc-n { position: absolute; right: 16px; top: 10px; font-size: clamp(30px, 16.5px + .94vw, 39px); font-weight: 800; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px #d6dcea; transition: -webkit-text-stroke-color .5s; }
.h-proc-card h3 { margin: 0; font-size: clamp(17px, 9.35px + .531vw, 22.1px); font-weight: 800; color: var(--navy); letter-spacing: -.01em; }
.h-proc-sum { margin: 6px 0 0; font-size: clamp(14px, 7.7px + .4375vw, 18.2px); font-weight: 700; line-height: 1.45; color: var(--trust-d); }
.h-proc-det { margin: 10px 0 0; font-size: clamp(13.5px, 7.425px + .422vw, 17.55px); line-height: 1.6; color: var(--muted); }
.h-proc-get { display: flex; align-items: flex-start; gap: 8px; margin: auto 0 0; padding-top: 14px; font-size: clamp(12.5px, 6.875px + .391vw, 16.25px); line-height: 1.45; color: var(--navy); }
.h-proc-get svg { width: 16px; height: 16px; margin-top: 1px; color: var(--muted); flex: 0 0 auto; transition: color .4s; }
.h-proc-get b { font-weight: 800; }
.h-proc-step.is-on .h-proc-node, html:not(.h-js) .h-proc-node { background: var(--trust); color: #fff; box-shadow: 0 10px 24px -8px rgba(37, 99, 235, .7); }
.h-proc-step.is-on .h-proc-card { border-color: rgba(37, 99, 235, .35); box-shadow: 0 24px 44px -28px rgba(37, 99, 235, .55); transform: translateY(-4px); }
.h-proc-step.is-on .h-proc-n { -webkit-text-stroke-color: rgba(37, 99, 235, .45); }
.h-proc-step.is-on .h-proc-get svg { color: #16a34a; }
@media (prefers-reduced-motion: no-preference) {
  .h-proc-step.is-on .h-proc-node { animation: proc-pop .7s cubic-bezier(.34, 1.56, .64, 1); }
  .h-proc-step.is-on .h-proc-node::after { animation: proc-ring 1s var(--ease); }
}
@keyframes proc-pop { 40% { transform: scale(1.18); } }
@keyframes proc-ring { from { opacity: .8; transform: scale(.8); } to { opacity: 0; transform: scale(1.5); } }
@media (max-width: 1100px) {
  .h-proc-head { grid-template-columns: 1fr; align-items: start; }
  .h-proc-steps { grid-template-columns: 1fr; gap: 16px; }
  .h-proc-step { flex-direction: row; align-items: flex-start; gap: 18px; }
  .h-proc-line { left: 26.5px; right: auto; top: 28px; width: 3px; height: calc(100% - 56px); }
}
@media (max-width: 640px) {
  .h-proc-node { width: 48px; height: 48px; }
  .h-proc-node svg { width: 20px; height: 20px; }
  .h-proc-line { left: 22.5px; }
  .h-proc-step { gap: 14px; }
}

/* ==== Homepage industries accordion (.h-inx) ================================ */
.h-inx { padding: clamp(64px, 6vw, 110px) 0; background: var(--mist); }
.h-inx-head { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 80px); align-items: end; margin-bottom: clamp(30px, 3vw, 54px); }
.h-inx-head > p { margin: 0; font-size: clamp(16px, 8.8px + .5vw, 20.8px); line-height: 1.7; color: var(--muted); max-width: 32em; }
.h-inx-list { display: flex; gap: clamp(10px, .9vw, 16px); height: clamp(460px, 34vw, 640px); }
.h-inx-item { position: relative; flex: 1 1 0; min-width: 0; border-radius: 22px; overflow: hidden; background: var(--navy); color: #fff; isolation: isolate; transition: flex-grow .8s var(--ease), box-shadow .6s var(--ease); }
.h-inx-item.is-active { flex-grow: 3.6; box-shadow: 0 34px 60px -34px rgba(11, 27, 63, .7); }
.h-inx-img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; filter: saturate(.55) brightness(.8); transform: scale(1.12); transition: transform 1.2s var(--ease), filter .8s; }
.h-inx-item.is-active .h-inx-img { filter: none; transform: scale(1); }
.h-inx-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(11, 27, 63, .15) 0%, rgba(11, 27, 63, .35) 40%, rgba(8, 18, 40, .94) 100%); transition: background .6s; }
.h-inx-item:not(.is-active) .h-inx-shade { background: linear-gradient(180deg, rgba(11, 27, 63, .45), rgba(8, 18, 40, .9)); }
.h-inx-num { position: absolute; top: 18px; left: 20px; font-size: 13px; font-weight: 800; letter-spacing: .1em; color: #fff; text-shadow: 0 1px 6px rgba(0, 0, 0, .55); }
.h-inx-vert { position: absolute; left: 50%; bottom: 26px; font-size: clamp(15px, 8.25px + .469vw, 19.5px); font-weight: 800; white-space: nowrap; writing-mode: vertical-rl; transform: translateX(-50%) rotate(180deg); transition: opacity .35s, transform .6s var(--ease); }
.h-inx-item.is-active .h-inx-vert { opacity: 0; transform: translateX(-50%) rotate(180deg) translateY(-20px); pointer-events: none; }
.h-inx-body { position: absolute; left: 0; bottom: 0; width: min(100%, 520px); min-width: 340px; padding: clamp(22px, 2vw, 36px); }
.h-inx-item:not(.is-active) .h-inx-body { visibility: hidden; opacity: 0; transform: translateY(24px); transition: opacity .25s, transform .25s, visibility 0s .25s; }
.h-inx-item.is-active .h-inx-body { visibility: visible; opacity: 1; transform: none; transition: opacity .6s var(--ease) .25s, transform .7s var(--ease) .25s; }
.h-inx-ico { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; margin-bottom: 14px; border-radius: 13px; background: var(--trust); color: #fff; box-shadow: 0 12px 24px -10px rgba(37, 99, 235, .8); }
.h-inx-ico svg { width: 22px; height: 22px; }
.h-inx-body h3 { margin: 0; font-size: clamp(24px, 13.2px + .75vw, 31.2px); font-weight: 800; line-height: 1.2; letter-spacing: -.02em; color: #fff; }
.h-inx-body > p:not(.h-inx-label) { margin: 8px 0 0; font-size: clamp(15px, 8.25px + .469vw, 19.5px); line-height: 1.6; color: rgba(255, 255, 255, .82); }
.h-inx-label { margin: 18px 0 8px; font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #93c5fd; }
.h-inx-sol { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.h-inx-sol a { display: inline-flex; padding: 7px 13px; border-radius: 999px; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .18); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); font-size: 13.5px; font-weight: 700; color: #fff; transition: background .25s, border-color .25s, transform .35s var(--ease); }
.h-inx-sol a:hover { background: #fff; color: var(--navy); transform: translateY(-2px); }
.h-inx-go { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; font-size: clamp(14.5px, 7.98px + .453vw, 18.85px); font-weight: 800; color: #fff; }
.h-inx-go:hover { color: #93c5fd; }
.h-inx-go .h-arrow { transition: transform .35s var(--ease); }
.h-inx-go:hover .h-arrow { transform: translateX(4px); }
.h-inx a:focus-visible { outline: 2px solid #93c5fd; outline-offset: 3px; border-radius: 6px; }
.h-inx-item.is-active .h-inx-sol li { animation: inx-in .6s var(--ease) both; }
.h-inx-item.is-active .h-inx-sol li:nth-child(2) { animation-delay: .38s; }
.h-inx-item.is-active .h-inx-sol li:nth-child(3) { animation-delay: .46s; }
.h-inx-item.is-active .h-inx-sol li:first-child { animation-delay: .3s; }
@keyframes inx-in { from { opacity: 0; transform: translateY(10px); } }
@media (prefers-reduced-motion: reduce) {
  .h-inx-item, .h-inx-img, .h-inx-body { transition: none !important; }
  .h-inx-sol li { animation: none !important; }
}
/* touch screens and narrower layouts: every panel open, stacked as cards */
@media (max-width: 1024px), (hover: none) {
  .h-inx-head { grid-template-columns: 1fr; align-items: start; }
  .h-inx-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); height: auto; }
  .h-inx-item, .h-inx-item.is-active { min-height: 440px; box-shadow: none; }
  .h-inx-img, .h-inx-item.is-active .h-inx-img { filter: none; transform: none; }
  .h-inx-item .h-inx-shade { background: linear-gradient(180deg, rgba(8, 18, 40, .15) 0%, rgba(8, 18, 40, .82) 36%, rgba(8, 18, 40, .96) 100%) !important; }
  .h-inx-vert { display: none; }
  .h-inx-item .h-inx-body, .h-inx-item:not(.is-active) .h-inx-body { visibility: visible; opacity: 1; transform: none; width: 100%; min-width: 0; }
  .h-inx-item .h-inx-sol li { animation: none; }
}
@media (max-width: 640px) {
  .h-inx-list { grid-template-columns: 1fr; }
  .h-inx-item, .h-inx-item.is-active { min-height: 420px; }
}

/* ==== Homepage tech stack (.h-tk) =========================================== */
.h-tk { padding: clamp(64px, 6vw, 110px) 0 clamp(44px, 4vw, 70px); isolation: isolate; }
.h-tk::before { background: radial-gradient(800px 420px at 10% 0%, rgba(37, 99, 235, .3), transparent 60%), radial-gradient(700px 380px at 100% 100%, rgba(96, 165, 250, .14), transparent 60%); }
.h-tk-bg { position: absolute; inset: 0; z-index: 0; background-image: radial-gradient(rgba(255, 255, 255, .09) 1px, transparent 1.5px); background-size: 26px 26px; -webkit-mask-image: linear-gradient(180deg, #000, transparent 70%); mask-image: linear-gradient(180deg, #000, transparent 70%); pointer-events: none; }
.h-tk .h-container { position: relative; z-index: 1; }
.h-tk .h-title .hl { color: var(--trust-light); }
.h-tk-head { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 80px); align-items: end; margin-bottom: clamp(30px, 3vw, 54px); }
.h-tk-head-side > p:first-child { margin: 0; font-size: clamp(16px, 8.8px + .5vw, 20.8px); line-height: 1.7; color: rgba(255, 255, 255, .72); max-width: 32em; }
.h-tk-words { display: flex; align-items: baseline; gap: .3em; margin: 14px 0 0; font-family: var(--script); font-size: clamp(34px, 18.7px + 1.06vw, 44px); line-height: 1.1; color: rgba(255, 255, 255, .85); }
.h-tk-rot { display: inline-block; height: 1.15em; overflow: hidden; color: var(--trust-light); }
.h-tk-rot i { display: block; height: 1.15em; font-style: normal; animation: tk-rot 7.5s var(--ease) infinite; }
@keyframes tk-rot { 0%, 26% { transform: translateY(0); } 33%, 59% { transform: translateY(-100%); } 66%, 92% { transform: translateY(-200%); } 100% { transform: translateY(-300%); } }

.h-tk-layers { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(12px, 1.2vw, 22px); }
.h-tk-layer { position: relative; display: flex; flex-direction: column; padding: clamp(20px, 1.6vw, 28px); border-radius: 20px; background: linear-gradient(180deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .025)); border: 1px solid rgba(255, 255, 255, .09); transition: transform .6s var(--ease), border-color .4s, background .4s; }
.h-tk-layer::after { content: ""; position: absolute; left: 22px; right: 22px; top: 0; height: 2px; border-radius: 2px; background: linear-gradient(90deg, transparent, var(--trust-light), transparent); opacity: 0; transition: opacity .4s; }
.h-tk-layer:hover { transform: translateY(-6px); border-color: rgba(147, 197, 253, .35); background: linear-gradient(180deg, rgba(255, 255, 255, .1), rgba(255, 255, 255, .04)); }
.h-tk-layer:hover::after { opacity: 1; }
.h-tk-ico { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 12px; background: rgba(96, 165, 250, .14); color: #93c5fd; margin-bottom: 16px; transition: background .35s, color .35s, transform .6s var(--ease); }
.h-tk-ico svg { width: 21px; height: 21px; }
.h-tk-layer:hover .h-tk-ico { background: var(--trust); color: #fff; transform: rotate(-8deg); }
.h-tk-layer h3 { margin: 0; font-size: clamp(17px, 9.35px + .531vw, 22.1px); font-weight: 800; color: #fff; }
.h-tk-layer > p { margin: 6px 0 18px; font-size: clamp(13.5px, 7.425px + .422vw, 17.55px); line-height: 1.5; color: rgba(255, 255, 255, .66); }
.h-tk-tools { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.h-tk-tools li { display: flex; align-items: center; gap: 10px; font-size: clamp(13.5px, 7.425px + .422vw, 17.55px); font-weight: 700; color: #e5edff; }
.h-tk-tools li.is-text { padding-left: 2px; font-weight: 600; color: rgba(255, 255, 255, .7); }
.h-tk-tools li.is-text::before { content: ""; width: 6px; height: 6px; margin: 0 13px 0 11px; border-radius: 50%; background: var(--trust-light); }
.h-tk-logo { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 10px; background: #fff; box-shadow: 0 8px 18px -10px rgba(0, 0, 0, .6); flex: 0 0 auto; }
.h-tk-logo img { width: 24px; height: 24px; object-fit: contain; }

/* logo marquee */
.h-tk-marquee { position: relative; z-index: 1; display: grid; gap: 14px; margin-top: clamp(36px, 3.4vw, 60px); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.h-tk-row { display: flex; width: max-content; }
.h-tk-belt { display: flex; gap: 14px; margin: 0; padding: 0 14px 0 0; list-style: none; animation: tk-belt 38s linear infinite; }
.h-tk-row.is-rev .h-tk-belt { animation-direction: reverse; animation-duration: 44s; }
.h-tk-marquee:hover .h-tk-belt { animation-play-state: paused; }
.h-tk-belt li { display: inline-flex; align-items: center; gap: 12px; padding: 10px 20px 10px 10px; border-radius: 999px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); font-size: clamp(14px, 7.7px + .4375vw, 18.2px); font-weight: 700; color: #fff; white-space: nowrap; transition: background .3s, border-color .3s; }
.h-tk-belt li:hover { background: rgba(255, 255, 255, .12); border-color: rgba(147, 197, 253, .4); }
@keyframes tk-belt { to { transform: translateX(-100%); } }
.h-tk.is-offscreen .h-tk-belt, .h-tk.is-offscreen .h-tk-rot i { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) {
  .h-tk-belt, .h-tk-rot i { animation: none !important; }
  .h-tk-row .h-tk-belt[aria-hidden] { display: none; }
  .h-tk-row { width: auto; flex-wrap: wrap; }
  .h-tk-marquee { -webkit-mask-image: none; mask-image: none; padding: 0 var(--gutter); }
}

@media (max-width: 1180px) {
  .h-tk-layers { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .h-tk-head { grid-template-columns: 1fr; align-items: start; }
  .h-tk-layers { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .h-tk-layers { grid-template-columns: 1fr; }
  .h-tk-layer { padding: 18px; }
  .h-tk-layer > p { margin-bottom: 14px; }
  .h-tk-tools { display: flex; flex-wrap: wrap; gap: 8px 16px; }
  .h-tk-tools li.is-text { padding: 5px 11px; border-radius: 999px; background: rgba(255, 255, 255, .07); }
  .h-tk-tools li.is-text::before { display: none; }
  .h-tk-belt li { padding: 8px 16px 8px 8px; }
  .h-tk-logo { width: 32px; height: 32px; }
  .h-tk-logo img { width: 20px; height: 20px; }
}

/* ==== Homepage case studies: sticky stacking cards (.h-wk) ================== */
.h-wk { padding: clamp(64px, 6vw, 110px) 0; background: #fff; }
.h-wk-head { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 80px); align-items: end; margin-bottom: clamp(30px, 3vw, 54px); }
.h-wk-head-side p { margin: 0 0 22px; font-size: clamp(16px, 8.8px + .5vw, 20.8px); line-height: 1.7; color: var(--muted); max-width: 32em; }
.h-wk-stack-list { display: grid; gap: clamp(22px, 2vw, 36px); }
.h-wk-card { --s: 1; --b: 1; position: sticky; top: calc(var(--header-h) + 22px + var(--i) * 14px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); min-height: min(480px, calc(100vh - var(--header-h) - 120px)); border-radius: 26px; background: #fff; border: 1px solid var(--line); box-shadow: 0 -10px 40px -24px rgba(11, 27, 63, .35), 0 30px 60px -40px rgba(11, 27, 63, .45); overflow: hidden; transform-origin: 50% 0; transform: scale(var(--s)); will-change: transform; }
.h-wk-card::after { content: ""; position: absolute; inset: 0; background: #0b1b3f; opacity: calc((1 - var(--b)) * 1); pointer-events: none; transition: opacity .2s linear; }
.h-wk-body { display: flex; flex-direction: column; padding: clamp(24px, 2.6vw, 48px); }
.h-wk-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 18px; }
.h-wk-n { margin-right: 6px; font-size: 13px; font-weight: 800; letter-spacing: .08em; color: var(--trust-d); }
.h-wk-tag { padding: 5px 11px; border-radius: 999px; background: var(--navy); color: #fff; font-size: 12px; font-weight: 700; }
.h-wk-tag.is-soft { background: var(--trust-50); color: var(--trust-d); }
.h-wk-body h3 { margin: 0; font-size: clamp(24px, 13.2px + .75vw, 31.2px); font-weight: 800; line-height: 1.2; letter-spacing: -.02em; color: var(--navy); }
.h-wk-body > p:not(.h-wk-label) { margin: 12px 0 0; font-size: clamp(15.5px, 8.53px + .484vw, 20.15px); line-height: 1.65; color: var(--text); }
.h-wk-label { margin: 22px 0 10px; font-size: 12.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--navy); }
.h-wk-done { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.h-wk-done li { position: relative; padding-left: 28px; font-size: clamp(14.5px, 7.98px + .453vw, 18.85px); font-weight: 600; color: var(--navy); }
.h-wk-done li::before { content: ""; position: absolute; left: 0; top: .2em; width: 18px; height: 18px; border-radius: 50%; background: var(--trust-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232563eb' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 11px no-repeat; }
.h-wk-stack { display: flex; flex-wrap: wrap; gap: 7px; margin: 18px 0 0; padding: 0; list-style: none; }
.h-wk-stack li { padding: 5px 12px; border-radius: 999px; background: var(--mist); border: 1px solid var(--line); font-size: 13px; font-weight: 700; color: var(--navy); }
.h-wk-link { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 22px; font-size: clamp(15px, 8.25px + .469vw, 19.5px); font-weight: 800; color: var(--trust-d); align-self: flex-start; }
.h-wk-link:hover { color: var(--navy); }
.h-wk-link .h-arrow { transition: transform .35s var(--ease); }
.h-wk-link:hover .h-arrow { transform: translateX(5px); }
.h-wk-media { position: relative; overflow: hidden; background: var(--mist); }
.h-wk-media img { position: absolute; inset: -6% 0; width: 100%; height: 112%; object-fit: cover; transform: translateY(var(--py, 0px)) scale(1.02); transition: transform .9s var(--ease); }
.h-wk-card:hover .h-wk-media img { transform: translateY(var(--py, 0px)) scale(1.07); }
.h-wk-stat { position: absolute; left: 22px; bottom: 22px; display: grid; padding: 14px 18px; border-radius: 16px; background: rgba(255, 255, 255, .95); box-shadow: 0 18px 36px -16px rgba(0, 0, 0, .5); }
.h-wk-stat b { font-size: clamp(24px, 13.2px + .75vw, 31.2px); font-weight: 800; line-height: 1.1; color: var(--navy); }
.h-wk-stat span { font-size: 13px; font-weight: 600; color: var(--muted); }

@media (max-width: 900px), (max-height: 700px) {
  .h-wk-head { grid-template-columns: 1fr; align-items: start; }
  .h-wk-card { position: relative; top: 0; transform: none; min-height: 0; }
  .h-wk-card::after { display: none; }
}
@media (max-width: 900px) {
  .h-wk-card { grid-template-columns: 1fr; }
  .h-wk-media { order: -1; aspect-ratio: 16 / 9; }
  .h-wk-media img { inset: 0; height: 100%; transform: none !important; }
}
@media (prefers-reduced-motion: reduce) {
  .h-wk-card { transform: none !important; }
  .h-wk-card::after { display: none; }
  .h-wk-media img { transform: none !important; }
}

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

/* ==== Homepage testimonials slider (.h-ts) ================================== */
.h-ts { position: relative; padding: clamp(64px, 6vw, 110px) 0; background: var(--mist); overflow: hidden; isolation: isolate; }
.h-ts::before { content: ""; position: absolute; z-index: -1; right: -12%; top: -30%; width: 60vw; height: 60vw; max-width: 900px; max-height: 900px; border-radius: 50%; background: radial-gradient(closest-side, rgba(37, 99, 235, .1), transparent 70%); }
.h-ts-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.6fr); gap: clamp(28px, 4vw, 90px); align-items: center; }
.h-ts-intro > p:not(.h-eyebrow) { margin: 16px 0 26px; font-size: clamp(16px, 8.8px + .5vw, 20.8px); line-height: 1.7; color: var(--muted); max-width: 26em; }
.h-ts-intro .h-btn-row { align-items: center; gap: 14px 24px; }
.h-ts-stage { position: relative; padding: clamp(26px, 3vw, 56px); border-radius: 28px; background: #fff; border: 1px solid var(--line); box-shadow: 0 40px 80px -48px rgba(11, 27, 63, .45); }
.h-ts-slides { position: relative; display: grid; }
.h-ts-slide { grid-area: 1 / 1; margin: 0; }
.h-js .h-ts-slide:not(.is-active) { display: none; }
html:not(.h-js) .h-ts-slide + .h-ts-slide { margin-top: 36px; padding-top: 36px; border-top: 1px solid var(--line); }
.h-ts-mark { display: block; width: clamp(44px, 3.4vw, 60px); height: auto; margin-bottom: 20px; color: var(--trust); opacity: .9; }
.h-ts-quote { margin: 0; font-size: clamp(20px, 11px + .63vw, 27px); font-weight: 600; line-height: 1.55; letter-spacing: -.01em; color: var(--navy); }
.h-ts-quote .w { display: inline-block; }
.h-ts-cap { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; margin-top: 28px; padding-top: 24px; border-top: 1px dashed var(--line); }
.h-ts-ava { display: inline-flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 50%; background: linear-gradient(135deg, var(--trust), var(--navy)); color: #fff; font-size: 18px; font-weight: 800; flex: 0 0 auto; }
.h-ts-who { display: grid; gap: 2px; margin-right: auto; }
.h-ts-who strong { font-size: clamp(16px, 8.8px + .5vw, 20.8px); font-weight: 800; color: var(--navy); }
.h-ts-who span { font-size: clamp(13px, 7.15px + .406vw, 16.9px); color: var(--muted); }
.h-ts-rate { display: grid; justify-items: end; gap: 8px; }
.h-ts-rate .h-stars svg { width: 17px; height: 17px; }
.h-ts-result { display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px; border-radius: 999px; background: #ecfdf5; color: #047857; font-size: 13px; font-weight: 800; }
.h-ts-result svg { width: 15px; height: 15px; }
.h-ts-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: clamp(26px, 2.6vw, 40px); }
html:not(.h-js) .h-ts-bar { display: none; }
.h-ts-tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.h-ts-tab { display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px; border: 1px solid var(--line); border-radius: 999px; background: #fff; font: inherit; text-align: left; color: var(--muted); cursor: pointer; transition: border-color .3s, background .3s, color .3s; }
.h-ts-tab:hover { border-color: rgba(37, 99, 235, .4); color: var(--navy); }
.h-ts-tab.is-active { border-color: var(--trust); background: var(--trust-50); color: var(--navy); }
.h-ts-tab:focus-visible, .h-ts-btn:focus-visible { outline: 2px solid var(--trust); outline-offset: 2px; }
.h-ts-tab-ava { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; flex: 0 0 auto; }
.h-ts-tab-ava b { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 50%; background: var(--navy); color: #fff; font-size: 11px; font-weight: 800; }
.h-ts-tab.is-active .h-ts-tab-ava b { background: var(--trust); }
.h-ts-tab-ava svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.h-ts-tab-ava circle { fill: none; stroke: var(--trust); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 0 139; }
.h-ts-tab-txt { display: grid; }
.h-ts-tab-txt b { font-size: 13.5px; font-weight: 800; }
.h-ts-tab-txt small { font-size: 11.5px; }
.h-ts-ctrl { display: flex; gap: 8px; margin-left: auto; }
.h-ts-btn { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; background: #fff; color: var(--navy); cursor: pointer; transition: background .3s, color .3s, border-color .3s, transform .4s var(--ease); }
.h-ts-btn:hover { background: var(--navy); border-color: var(--navy); color: #fff; }
.h-ts-btn:active { transform: scale(.94); }
.h-ts-btn svg { width: 18px; height: 18px; }
.h-ts-toggle .i-play, .h-ts-toggle[aria-pressed="true"] .i-pause { display: none; }
.h-ts-toggle[aria-pressed="true"] .i-play { display: block; }
.h-ts.is-manual .h-ts-toggle { display: none; }
@media (prefers-reduced-motion: no-preference) {
  .h-ts.is-live .h-ts-slide.is-active .h-ts-mark { animation: ts-mark .9s cubic-bezier(.34, 1.56, .64, 1) both; }
  .h-ts.is-live .h-ts-slide.is-active .h-ts-quote .w { animation: ts-word .6s var(--ease) both; animation-delay: calc(.1s + var(--w) * 22ms); }
  .h-ts.is-live .h-ts-slide.is-active .h-ts-cap { animation: ts-up .7s var(--ease) .45s both; }
  .h-ts.is-live:not(.is-manual) .h-ts-tab.is-active .h-ts-tab-ava circle { animation: ts-ring 8s linear forwards; }
  .h-ts-stage:hover .h-ts-tab-ava circle, .h-ts-stage:focus-within .h-ts-tab-ava circle, .h-ts.is-paused .h-ts-tab-ava circle { animation-play-state: paused !important; }
}
@keyframes ts-mark { from { opacity: 0; transform: scale(.5) rotate(-12deg); } }
@keyframes ts-word { from { opacity: 0; transform: translateY(.45em); filter: blur(4px); } }
@keyframes ts-up { from { opacity: 0; transform: translateY(14px); } }
@keyframes ts-ring { from { stroke-dasharray: 0 139; } to { stroke-dasharray: 139 139; } }
@media (max-width: 1024px) {
  .h-ts-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .h-ts-stage { padding: 22px; border-radius: 20px; }
  .h-ts-rate { justify-items: start; width: 100%; }
  .h-ts-tab-txt small { display: none; }
  .h-ts-bar { flex-direction: column; align-items: stretch; }
  .h-ts-ctrl { justify-content: flex-end; }
}

/* ==== Homepage blog (.h-bl) ================================================= */
.h-bl { padding: clamp(64px, 6vw, 110px) 0 clamp(48px, 4.4vw, 80px); background: #fff; }
.h-bl-head { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 80px); align-items: end; margin-bottom: clamp(30px, 3vw, 54px); }
.h-bl-head-side p { margin: 0 0 16px; font-size: clamp(16px, 8.8px + .5vw, 20.8px); line-height: 1.7; color: var(--muted); max-width: 32em; }
.h-bl-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(16px, 1.6vw, 28px); }
.h-bl-title { color: inherit; background: linear-gradient(currentColor, currentColor) 0 100% / 0 2px no-repeat; transition: background-size .5s var(--ease), color .3s; }
.h-bl-title::after { content: ""; position: absolute; inset: 0; z-index: 2; border-radius: inherit; }
.h-bl-feat:hover .h-bl-title, .h-bl-post:hover .h-bl-title, .h-bl-title:focus-visible { background-size: 100% 2px; }
.h-bl-title:focus-visible { outline: none; }
.h-bl-feat:focus-within, .h-bl-post:focus-within { outline: 2px solid var(--trust); outline-offset: 3px; }
.h-bl-tag { display: inline-flex; align-self: flex-start; padding: 5px 11px; border-radius: 999px; background: var(--trust); color: #fff; font-size: 12px; font-weight: 800; letter-spacing: .03em; }
.h-bl-tag.is-soft { background: var(--trust-50); color: var(--trust-d); }
.h-bl-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 12px 0 0; font-size: 13px; font-weight: 600; color: var(--muted); }
.h-bl-meta svg { width: 14px; height: 14px; }

.h-bl-feat { position: relative; display: flex; min-height: clamp(420px, 34vw, 600px); border-radius: 24px; overflow: hidden; background: var(--navy); color: #fff; isolation: isolate; transition: transform .6s var(--ease), box-shadow .6s var(--ease); }
.h-bl-feat > img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.h-bl-feat:hover > img { transform: scale(1.06); }
.h-bl-feat:hover { transform: translateY(-4px); box-shadow: 0 40px 70px -40px rgba(11, 27, 63, .7); }
.h-bl-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(8, 18, 40, .05) 20%, rgba(8, 18, 40, .7) 58%, rgba(8, 18, 40, .95) 100%); }
.h-bl-feat-body { display: flex; flex-direction: column; justify-content: flex-end; padding: clamp(24px, 2.4vw, 44px); }
.h-bl-feat h3 { margin: 16px 0 0; font-size: clamp(22px, 12.1px + .69vw, 28.6px); font-weight: 800; line-height: 1.3; letter-spacing: -.015em; }
.h-bl-feat .h-bl-ex { margin: 12px 0 0; font-size: clamp(15px, 8.25px + .469vw, 19.5px); line-height: 1.6; color: rgba(255, 255, 255, .8); max-width: 38em; }
.h-bl-feat .h-bl-meta { color: rgba(255, 255, 255, .7); }
.h-bl-read { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; font-weight: 800; color: #fff; }
.h-bl-read .h-arrow, .h-bl-post .h-arrow { transition: transform .35s var(--ease); }
.h-bl-feat:hover .h-bl-read .h-arrow { transform: translateX(5px); }

.h-bl-side { display: grid; gap: clamp(16px, 1.6vw, 28px); }
.h-bl-post { position: relative; display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1fr); gap: clamp(16px, 1.6vw, 26px); align-items: center; padding: 14px; border-radius: 22px; background: #fff; border: 1px solid var(--line); transition: transform .6s var(--ease), box-shadow .6s var(--ease), border-color .4s; }
.h-bl-post:hover { transform: translateY(-4px); border-color: rgba(37, 99, 235, .35); box-shadow: var(--shadow-lg); }
.h-bl-thumb { position: relative; height: 100%; min-height: 190px; border-radius: 14px; overflow: hidden; background: var(--mist); }
.h-bl-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.h-bl-post:hover .h-bl-thumb img { transform: scale(1.07); }
.h-bl-post-body { display: flex; flex-direction: column; padding: 6px 10px 6px 0; }
.h-bl-post h3 { margin: 12px 0 0; font-size: clamp(17px, 9.35px + .531vw, 22.1px); font-weight: 800; line-height: 1.35; color: var(--navy); }
.h-bl-post .h-bl-ex { margin: 8px 0 0; font-size: clamp(14px, 7.7px + .4375vw, 18.2px); line-height: 1.55; color: var(--muted); }

.h-bl-topics { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: clamp(26px, 2.6vw, 44px); padding-top: clamp(22px, 2vw, 32px); border-top: 1px solid var(--line); }
.h-bl-topics p { margin: 0; font-size: 12.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--navy); }
.h-bl-topics ul { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.h-bl-topics a { display: inline-flex; padding: 8px 15px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-size: 14px; font-weight: 700; color: var(--navy); transition: border-color .25s, color .25s, background .25s, transform .35s var(--ease); }
.h-bl-topics a:hover { border-color: var(--trust); color: var(--trust-d); background: var(--trust-50); transform: translateY(-2px); }
.h-bl-topics a:focus-visible { outline: 2px solid var(--trust); outline-offset: 2px; }

@media (max-width: 1024px) {
  .h-bl-head { grid-template-columns: 1fr; align-items: start; }
  .h-bl-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .h-bl-feat { min-height: 440px; }
  .h-bl-post { grid-template-columns: 1fr; }
  .h-bl-thumb { min-height: 0; aspect-ratio: 16 / 9; }
  .h-bl-post-body { padding: 4px 6px 8px; }
}

/* ==== Homepage FAQ restyle (.h-fq — scoped so inner pages keep their FAQ look) === */
.h-fq { position: relative; padding: clamp(64px, 6vw, 110px) 0; background: var(--mist); isolation: isolate; }
.h-fq::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: radial-gradient(rgba(11, 27, 63, .07) 1px, transparent 1.5px); background-size: 24px 24px; -webkit-mask-image: linear-gradient(90deg, #000, transparent 45%); mask-image: linear-gradient(90deg, #000, transparent 45%); pointer-events: none; }
.h-fq .h-faq-grid { gap: clamp(28px, 4vw, 90px); }
.h-fq-intro { position: sticky; top: calc(var(--header-h) + 24px); }
.h-fq-intro > p:not(.h-eyebrow):not(.h-fq-status) { margin: 16px 0 0; font-size: clamp(16px, 8.8px + .5vw, 20.8px); line-height: 1.7; color: var(--muted); max-width: 26em; }
.h-fq-search { position: relative; margin-top: 26px; }
.h-fq-search svg { position: absolute; left: 18px; top: 50%; width: 19px; height: 19px; color: var(--muted); transform: translateY(-50%); pointer-events: none; transition: color .25s; }
.h-fq-search input { width: 100%; min-height: 56px; padding: 0 18px 0 50px; border: 1.5px solid var(--line); border-radius: 16px; background: #fff; font: inherit; font-size: 16px; color: var(--navy); box-shadow: 0 10px 24px -20px rgba(11, 27, 63, .45); transition: border-color .25s, box-shadow .25s; }
.h-fq-search input::placeholder { color: #8a93a6; }
.h-fq-search input:focus { outline: none; border-color: var(--trust); box-shadow: 0 0 0 4px rgba(37, 99, 235, .15); }
.h-fq-search:focus-within svg { color: var(--trust); }
.h-fq-status { min-height: 1.4em; margin: 10px 2px 0; font-size: 13.5px; font-weight: 600; color: var(--muted); }
.h-fq-help { position: relative; margin-top: 18px; padding: clamp(22px, 2vw, 30px); border-radius: 22px; background: linear-gradient(150deg, #13254f, var(--navy) 60%); color: #fff; overflow: hidden; isolation: isolate; }
.h-fq-help::after { content: ""; position: absolute; z-index: -1; right: -60px; top: -60px; width: 200px; height: 200px; border-radius: 50%; background: radial-gradient(closest-side, rgba(96, 165, 250, .35), transparent); }
.h-fq-help-ico { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; margin-bottom: 14px; border-radius: 13px; background: rgba(96, 165, 250, .16); color: #93c5fd; }
.h-fq-help-ico svg { width: 22px; height: 22px; }
.h-fq-help-t { margin: 0; font-size: clamp(18px, 9.9px + .5625vw, 23.4px); font-weight: 800; }
.h-fq-help > p:not(.h-fq-help-t) { margin: 6px 0 0; font-size: clamp(14px, 7.7px + .4375vw, 18.2px); line-height: 1.55; color: rgba(255, 255, 255, .75); }
.h-fq-help-btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.h-fq-help-btns .h-btn svg { width: 17px; height: 17px; }

/* tabs: segmented control with sliding pill */
.h-fq .h-faq-tabs { position: relative; display: inline-flex; flex-wrap: nowrap; gap: 4px; max-width: 100%; margin-bottom: 22px; padding: 5px; border-radius: 999px; background: #fff; border: 1px solid var(--line); box-shadow: 0 10px 24px -20px rgba(11, 27, 63, .45); overflow-x: auto; scrollbar-width: none; }
.h-fq .h-faq-tabs::-webkit-scrollbar { display: none; }
.h-fq-pill { position: absolute; z-index: 0; left: 0; top: 5px; bottom: 5px; width: 0; border-radius: 999px; background: var(--navy); box-shadow: 0 8px 18px -8px rgba(11, 27, 63, .6); transition: transform .55s var(--ease), width .55s var(--ease); }
html:not(.h-js) .h-fq-pill { display: none; }
.h-fq .h-faq-tab { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 8px; flex: 0 0 auto; min-height: 44px; padding: 0 16px 0 18px; border: 0; background: transparent; color: var(--navy); white-space: nowrap; transition: color .35s; }
.h-fq .h-faq-tab[aria-selected="true"] { background: transparent; color: #fff; }
html:not(.h-js) .h-fq .h-faq-tab[aria-selected="true"] { background: var(--navy); }
.h-fq .h-faq-tab .n { display: inline-flex; align-items: center; justify-content: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--trust-50); color: var(--trust-d); font-size: 12px; font-weight: 800; transition: background .35s, color .35s; }
.h-fq .h-faq-tab[aria-selected="true"] .n { background: rgba(255, 255, 255, .16); color: #fff; }
.h-fq .h-faq-tab:focus-visible { outline: 2px solid var(--trust); outline-offset: 2px; }
.h-fq.is-searching .h-faq-tabs { opacity: .45; pointer-events: none; }

/* accordion items */
.h-fq .h-faq-item { position: relative; margin-bottom: 12px; border-radius: 18px; border-color: var(--line); overflow: hidden; transition: border-color .35s, box-shadow .5s var(--ease), transform .5s var(--ease); }
.h-fq .h-faq-item::before { content: ""; position: absolute; left: 0; top: 18px; bottom: 18px; width: 3px; border-radius: 0 3px 3px 0; background: var(--trust); transform: scaleY(0); transition: transform .5s var(--ease); }
.h-fq .h-faq-item:hover { border-color: rgba(37, 99, 235, .3); }
.h-fq .h-faq-item[open] { border-color: rgba(37, 99, 235, .4); box-shadow: 0 26px 46px -32px rgba(11, 27, 63, .55); }
.h-fq .h-faq-item[open]::before { transform: scaleY(1); }
.h-fq .h-faq-item summary { justify-content: flex-start; gap: 16px; padding: 20px 22px; }
.h-fq .h-faq-item summary:focus-visible { outline: 2px solid var(--trust); outline-offset: -2px; border-radius: 18px; }
.h-fq-n { flex: 0 0 auto; min-width: 2ch; font-size: 13px; font-weight: 800; letter-spacing: .06em; color: #9aa3b5; font-variant-numeric: tabular-nums; transition: color .35s; }
.h-fq .h-faq-item[open] .h-fq-n { color: var(--trust); }
.h-fq .h-faq-item summary h3 { flex: 1; font-weight: 800; }
.h-fq .h-faq-item summary .pm { width: 32px; height: 32px; }
.h-fq .h-faq-item .a { padding: 0 22px 22px calc(22px + 2ch + 16px); }
.h-fq .h-faq-item[open] .a > * { animation: fq-in .5s var(--ease) both; }
@keyframes fq-in { from { opacity: 0; transform: translateY(-6px); } }
/* smooth open/close where the browser supports animating details content */
@supports (interpolate-size: allow-keywords) {
  .h-fq { interpolate-size: allow-keywords; }
  .h-fq .h-faq-item::details-content { block-size: 0; overflow: hidden; transition: block-size .45s var(--ease), content-visibility .45s allow-discrete; }
  .h-fq .h-faq-item[open]::details-content { block-size: auto; }
}
.h-fq .h-faq-item.is-hidden { display: none; }
.h-fq-empty { display: grid; justify-items: center; gap: 10px; padding: 40px 20px; border: 1.5px dashed #cfd6e4; border-radius: 18px; text-align: center; color: var(--muted); }
.h-fq-empty[hidden] { display: none; }
.h-fq-empty .ic { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 50%; background: #fff; color: var(--trust); }
.h-fq-empty .ic svg { width: 22px; height: 22px; }
.h-fq-empty p { margin: 0; font-weight: 700; color: var(--navy); }
@media (prefers-reduced-motion: reduce) {
  .h-fq .h-faq-item::details-content { transition: none !important; }
  .h-fq .h-faq-item .a > * { animation: none !important; }
  .h-fq-pill { transition: none; }
}
@media (max-width: 1024px) {
  .h-fq-intro { position: static; }
}
@media (max-width: 640px) {
  .h-fq .h-faq-item summary { padding: 16px; gap: 12px; }
  .h-fq .h-faq-item .a { padding: 0 16px 18px; }
  .h-fq .h-faq-tabs { display: flex; }
  .h-fq .h-faq-tab { padding: 0 12px 0 14px; }
}
.h-fq .h-faq-main, .h-fq-intro { min-width: 0; }
@media (max-width: 1024px) {
  .h-fq .h-faq-grid { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
  .h-fq-intro { display: contents; }
  .h-fq .h-faq-main { order: 1; margin-top: 22px; }
  .h-fq-help { order: 2; margin-top: 26px; }
}

/* ==== Homepage why / about (.h-wy) ========================================== */
.h-wy { position: relative; padding: clamp(64px, 6vw, 110px) 0; background: linear-gradient(160deg, #0f2250 0%, var(--navy) 45%, #081228 100%); color: #fff; overflow: hidden; isolation: isolate; }
.h-wy-glow { position: absolute; z-index: -1; inset: 0; background: radial-gradient(700px 500px at 18% 30%, rgba(37, 99, 235, .3), transparent 65%), radial-gradient(600px 420px at 100% 100%, rgba(96, 165, 250, .14), transparent 60%); pointer-events: none; }
.h-wy .h-title .hl { color: var(--trust-light); }
.h-wy-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr); gap: clamp(32px, 4.4vw, 96px); align-items: center; }

.h-wy-media { position: relative; padding: 0 12% 16% 0; }
.h-wy-img { position: relative; overflow: hidden; border-radius: 26px; box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .8); transform: translateY(var(--ty, 0px)); will-change: transform; }
.h-wy-img img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.h-wy-img.is-main { aspect-ratio: 4 / 4.2; }
.h-wy-img.is-sub { position: absolute; right: 0; bottom: 0; width: 52%; aspect-ratio: 4 / 3; border: 6px solid #0f2250; border-radius: 22px; }
.h-wy-media:hover .h-wy-img.is-main img { transform: scale(1.05); }
.h-wy-badge { position: absolute; left: -4%; top: 12%; z-index: 2; display: flex; align-items: center; gap: 12px; margin: 0; padding: 14px 18px; border-radius: 18px; background: #fff; color: var(--navy); box-shadow: 0 24px 44px -20px rgba(0, 0, 0, .7); font-size: 13.5px; font-weight: 700; line-height: 1.3; animation: wy-float 6s ease-in-out infinite; }
.h-wy-badge b { font-size: clamp(30px, 16.5px + .94vw, 39px); font-weight: 800; line-height: 1; color: var(--trust); letter-spacing: -.02em; }
.h-wy-chip { position: absolute; left: 6%; bottom: 6%; z-index: 2; display: inline-flex; align-items: center; gap: 8px; margin: 0; padding: 10px 16px; border-radius: 999px; background: rgba(11, 27, 63, .85); border: 1px solid rgba(255, 255, 255, .16); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); font-size: 13.5px; font-weight: 700; color: #fff; animation: wy-float 7s ease-in-out -3s infinite; }
.h-wy-chip svg { width: 16px; height: 16px; color: #93c5fd; }
@keyframes wy-float { 50% { transform: translateY(-8px); } }

.h-wy-intro { margin: 16px 0 0; font-size: clamp(16px, 8.8px + .5vw, 20.8px); line-height: 1.7; color: rgba(255, 255, 255, .74); max-width: 32em; }
.h-wy-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(12px, 1.2vw, 20px); margin: clamp(26px, 2.4vw, 40px) 0 0; padding: 0; list-style: none; }
.h-wy-card { position: relative; padding: clamp(18px, 1.6vw, 26px); border-radius: 20px; background: linear-gradient(180deg, rgba(255, 255, 255, .075), rgba(255, 255, 255, .025)); border: 1px solid rgba(255, 255, 255, .1); transition: transform .6s var(--ease), border-color .4s, background .4s; }
.h-wy-card:hover { transform: translateY(-5px); border-color: rgba(147, 197, 253, .35); background: linear-gradient(180deg, rgba(255, 255, 255, .11), rgba(255, 255, 255, .04)); }
.h-wy-ico { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin-bottom: 14px; border-radius: 12px; background: rgba(96, 165, 250, .15); color: #93c5fd; transition: background .35s, color .35s, transform .6s var(--ease); }
.h-wy-ico svg { width: 21px; height: 21px; }
.h-wy-card:hover .h-wy-ico { background: var(--trust); color: #fff; transform: rotate(-8deg); }
.h-wy-card h3 { margin: 0; font-size: clamp(16.5px, 9.075px + .516vw, 21.45px); font-weight: 800; line-height: 1.3; color: #fff; }
.h-wy-card p { margin: 6px 0 0; font-size: clamp(13.5px, 7.425px + .422vw, 17.55px); line-height: 1.55; color: rgba(255, 255, 255, .66); }
.h-wy-card .h-wy-lead { font-weight: 700; color: #bfdbfe; }
.h-wy-promise { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 22px 0 0; padding: 18px 0 0; border-top: 1px solid rgba(255, 255, 255, .1); list-style: none; }
.h-wy-promise li { display: inline-flex; align-items: center; gap: 8px; font-size: clamp(13.5px, 7.425px + .422vw, 17.55px); font-weight: 700; color: #e5edff; }
.h-wy-promise svg { width: 17px; height: 17px; color: #34d399; }
.h-wy-cta { align-items: center; gap: 14px 26px; margin-top: 26px; }
@media (prefers-reduced-motion: reduce) {
  .h-wy-badge, .h-wy-chip { animation: none; }
  .h-wy-img { transform: none !important; }
}
@media (max-width: 1024px) {
  .h-wy-grid { grid-template-columns: 1fr; }
  .h-wy-media { max-width: 640px; }
}
@media (max-width: 560px) {
  .h-wy-cards { grid-template-columns: 1fr; }
  .h-wy-media { padding: 0 8% 18% 0; }
  .h-wy-badge { left: 4%; top: 6%; padding: 10px 14px; }
  .h-wy-chip { left: 4%; bottom: 4%; font-size: 12.5px; }
}


/* ==== Our Services: editorial service directory (.h-dr) ===================== */
.h-dr { --acc-web: #60a5fa; --acc-biz: #2dd4bf; --acc-mkt: #a78bfa; --acc-sec: #fbbf24; position: relative; padding: clamp(70px, 6.4vw, 120px) 0; background: linear-gradient(180deg, #081228 0%, var(--navy) 30%, #0a1631 100%); color: #fff; isolation: isolate; }
.h-dr-bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; background: radial-gradient(900px 520px at 85% 0%, rgba(37, 99, 235, .28), transparent 60%), radial-gradient(700px 420px at 0% 45%, rgba(45, 212, 191, .08), transparent 60%), radial-gradient(700px 420px at 100% 80%, rgba(167, 139, 250, .1), transparent 60%); }
.h-dr-bg::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .03) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .03) 1px, transparent 1px); background-size: 64px 64px; -webkit-mask-image: linear-gradient(180deg, #000, transparent 40%); mask-image: linear-gradient(180deg, #000, transparent 40%); }
.h-dr .h-title .hl { color: var(--trust-light); }
.h-dr-head { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 80px); align-items: end; margin-bottom: clamp(28px, 2.8vw, 48px); }
.h-dr-head .h-title { font-size: clamp(32px, 17.6px + 1.25vw, 52px); }
.h-dr-head > p { margin: 0; font-size: clamp(15.5px, 8.53px + .484vw, 20.15px); line-height: 1.75; color: rgba(255, 255, 255, .7); }

/* filters */
.h-dr-filters { position: sticky; top: calc(var(--header-h) + 12px); z-index: 5; display: flex; flex-wrap: wrap; gap: 6px; width: max-content; max-width: 100%; margin-bottom: clamp(20px, 2vw, 34px); padding: 6px; border-radius: 999px; background: rgba(10, 22, 49, .82); border: 1px solid rgba(255, 255, 255, .1); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: 0 18px 40px -24px rgba(0, 0, 0, .8); }
.h-dr-filter { display: inline-flex; align-items: center; gap: 9px; min-height: 42px; padding: 0 12px 0 18px; border: 0; border-radius: 999px; background: transparent; font: inherit; font-size: clamp(14px, 7.7px + .4375vw, 18.2px); font-weight: 700; color: rgba(255, 255, 255, .78); cursor: pointer; transition: background .3s, color .3s; }
.h-dr-filter:hover { color: #fff; background: rgba(255, 255, 255, .07); }
.h-dr-filter .n { display: inline-flex; align-items: center; justify-content: center; min-width: 24px; height: 24px; padding: 0 7px; border-radius: 999px; background: rgba(255, 255, 255, .1); font-size: 12px; font-weight: 800; }
.h-dr-filter.is-on { background: #fff; color: var(--navy); }
.h-dr-filter.is-on .n { background: var(--trust); color: #fff; }
.h-dr-filter:focus-visible { outline: 2px solid #93c5fd; outline-offset: 2px; }

/* groups */
.h-dr-group { position: relative; }
.h-dr-group + .h-dr-group { margin-top: clamp(40px, 4vw, 72px); }
.h-dr-group.is-out { display: none; }
.h-dr-ghead { display: grid; grid-template-columns: auto minmax(0, 1fr) minmax(0, 1.2fr) auto; gap: 12px 28px; align-items: end; padding-bottom: 20px; border-bottom: 1px solid rgba(255, 255, 255, .14); }
.h-dr-gnum { font-size: 13px; font-weight: 800; letter-spacing: .12em; color: var(--acc); }
.h-dr-gtitle { margin: 0; font-size: clamp(26px, 14.3px + .81vw, 40px); font-weight: 800; line-height: 1.1; letter-spacing: -.025em; color: #fff; }
.h-dr-ghead p { margin: 0; font-size: clamp(14.5px, 7.98px + .453vw, 18.85px); line-height: 1.55; color: rgba(255, 255, 255, .62); }
.h-dr-gcount { padding: 6px 12px; border-radius: 999px; border: 1px solid color-mix(in srgb, var(--acc) 45%, transparent); color: var(--acc); font-size: 12.5px; font-weight: 800; white-space: nowrap; }

/* rows */
.h-dr-row { position: relative; display: grid; grid-template-columns: 64px minmax(0, 1fr) minmax(0, 1.25fr) 60px; gap: clamp(16px, 2vw, 40px); align-items: center; padding: clamp(24px, 2.2vw, 36px) clamp(8px, 1vw, 20px); border-bottom: 1px solid rgba(255, 255, 255, .09); isolation: isolate; }
.h-dr-row::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: 18px; background: linear-gradient(90deg, color-mix(in srgb, var(--acc) 14%, transparent), rgba(255, 255, 255, .03) 60%, transparent); opacity: 0; transform: scaleX(.96); transform-origin: left; transition: opacity .45s, transform .6s var(--ease); }
.h-dr-row::after { content: ""; position: absolute; left: 0; top: 22%; bottom: 22%; width: 3px; border-radius: 3px; background: var(--acc); transform: scaleY(0); transition: transform .5s var(--ease); }
.h-dr-row:hover::before, .h-dr-row:focus-within::before { opacity: 1; transform: none; }
.h-dr-row:hover::after, .h-dr-row:focus-within::after { transform: scaleY(1); }
.h-dr-num { font-size: clamp(28px, 15.4px + .875vw, 42px); font-weight: 800; line-height: 1; color: transparent; -webkit-text-stroke: 1.4px rgba(255, 255, 255, .28); font-variant-numeric: tabular-nums; transition: -webkit-text-stroke-color .4s, color .4s; }
.h-dr-row:hover .h-dr-num { color: var(--acc); -webkit-text-stroke-color: var(--acc); }
.h-dr-img { display: none; }
.h-dr-cat { display: flex; align-items: center; gap: 8px; margin: 0 0 8px; font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--acc); }
.h-dr-ico { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 8px; background: color-mix(in srgb, var(--acc) 16%, transparent); }
.h-dr-ico svg { width: 14px; height: 14px; }
.h-dr-main h4 { margin: 0; font-size: clamp(21px, 11.55px + .656vw, 30px); font-weight: 800; line-height: 1.2; letter-spacing: -.02em; color: #fff; transition: transform .55s var(--ease), color .3s; }
.h-dr-row:hover .h-dr-main h4 { transform: translateX(8px); }
.h-dr-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 14px 0 0; padding: 0; list-style: none; }
.h-dr-tags li { padding: 4px 10px; border-radius: 999px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); font-size: 12px; font-weight: 700; color: rgba(255, 255, 255, .82); }
.h-dr-desc { margin: 0; font-size: clamp(14.5px, 7.98px + .453vw, 18.85px); line-height: 1.65; color: rgba(255, 255, 255, .74); }
.h-dr-key { display: flex; align-items: center; gap: 8px; margin: 12px 0 0; font-size: clamp(13.5px, 7.425px + .422vw, 17.55px); font-weight: 800; color: #fff; }
.h-dr-key svg { width: 17px; height: 17px; color: var(--acc); flex: 0 0 auto; }
.h-dr-best { margin: 4px 0 0; font-size: clamp(13px, 7.15px + .406vw, 16.9px); color: rgba(255, 255, 255, .55); }
.h-dr-best b { margin-right: 4px; font-weight: 800; color: rgba(255, 255, 255, .78); }
.h-dr-go { position: static; display: inline-flex; align-items: center; justify-content: center; justify-self: end; width: 56px; height: 56px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .22); color: #fff; transition: background .35s, border-color .35s, color .35s, transform .5s var(--ease); }
.h-dr-go::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: 18px; }
.h-dr-go svg { width: 20px; height: 20px; transform: rotate(-45deg); transition: transform .5s var(--ease); }
.h-dr-row:hover .h-dr-go { background: var(--acc); border-color: var(--acc); color: #0a1631; transform: scale(1.06); }
.h-dr-row:hover .h-dr-go svg { transform: rotate(0deg); }
.h-dr-go:focus-visible { outline: 2px solid #93c5fd; outline-offset: 3px; }

/* cursor-following preview (fine pointers only) */
.h-dr-preview { position: fixed; left: 0; top: 0; z-index: 30; width: clamp(240px, 19vw, 340px); aspect-ratio: 16 / 11; border-radius: 18px; overflow: hidden; pointer-events: none; opacity: 0; transform: translate3d(-50%, -50%, 0) scale(.6); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .75), 0 0 0 1px rgba(255, 255, 255, .12); transition: opacity .35s, transform .45s var(--ease); }
.h-dr-preview img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.h-dr-preview.is-on { opacity: 1; }
@media (hover: none), (pointer: coarse), (prefers-reduced-motion: reduce) { .h-dr-preview { display: none; } }

@media (max-width: 1100px) {
  .h-dr-head { grid-template-columns: 1fr; align-items: start; }
  .h-dr-ghead { grid-template-columns: auto minmax(0, 1fr) auto; }
  .h-dr-ghead p { grid-column: 1 / -1; grid-row: 2; }
  .h-dr-row { grid-template-columns: 52px minmax(0, 1fr) 56px; }
  .h-dr-info { grid-column: 2 / 3; }
  .h-dr-go { grid-column: 3; grid-row: 1; }
}
/* phones / touch: rows become image cards */
@media (max-width: 760px), (hover: none) and (max-width: 1100px) {
  .h-dr-filters { position: relative; top: 0; width: auto; flex-wrap: nowrap; overflow-x: auto; margin-left: calc(var(--gutter) * -1); margin-right: calc(var(--gutter) * -1); border-radius: 0; border-left: 0; border-right: 0; scrollbar-width: none; padding-left: var(--gutter); padding-right: var(--gutter); }
  .h-dr-filters::-webkit-scrollbar { display: none; }
  .h-dr-filter { flex: 0 0 auto; white-space: nowrap; }
  .h-dr-group { display: grid; gap: 14px; }
  .h-dr-group.is-out { display: none; }
  .h-dr-ghead { border-bottom: 0; padding-bottom: 6px; }
  .h-dr-row { grid-template-columns: 1fr; gap: 14px; padding: 0 0 20px; border: 1px solid rgba(255, 255, 255, .1); border-radius: 20px; background: rgba(255, 255, 255, .04); overflow: hidden; }
  .h-dr-row::after { display: none; }
  .h-dr-img { display: block; aspect-ratio: 16 / 9; overflow: hidden; }
  .h-dr-img img { width: 100%; height: 100%; object-fit: cover; }
  .h-dr-num { position: absolute; top: 14px; right: 16px; z-index: 2; font-size: 30px; -webkit-text-stroke-color: rgba(255, 255, 255, .85); text-shadow: 0 2px 10px rgba(0, 0, 0, .4); }
  .h-dr-main, .h-dr-info { padding: 0 20px; grid-column: 1; }
  .h-dr-go { grid-column: 1; grid-row: auto; justify-self: end; width: 46px; height: 46px; margin: -6px 20px 0 0; }
  .h-dr-row:hover .h-dr-main h4 { transform: none; }
}
@media (max-width: 760px), (hover: none) and (max-width: 1100px) {
  .h-dr-ghead { grid-template-columns: minmax(0, 1fr) auto; gap: 8px 14px; }
  .h-dr-gnum { grid-column: 1 / -1; }
  .h-dr-gtitle { grid-column: 1; }
  .h-dr-gcount { grid-column: 2; grid-row: 2; align-self: center; }
  .h-dr-ghead p { grid-column: 1 / -1; grid-row: 3; }
}
.h-dr-list { position: relative; z-index: 2; }
.h-dr-preview { z-index: 1; }
.h-dr-preview img { filter: brightness(.72) saturate(1.1); }
.h-dr-row:hover .h-dr-main h4, .h-dr-row:hover .h-dr-cat, .h-dr-row:hover .h-dr-num { text-shadow: 0 2px 18px rgba(4, 10, 26, .65); }

/* ==== Website Development Haryana page (.h-wd-*) ============================ */
.h-wd-head { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 80px); align-items: end; margin-bottom: clamp(30px, 3vw, 54px); }
.h-wd-head > p { margin: 0; font-size: clamp(15.5px, 8.53px + .484vw, 20.15px); line-height: 1.75; color: var(--muted); }

/* intro + browser mockup */
.h-wd-intro { padding: clamp(64px, 6vw, 110px) 0; background: #fff; overflow: hidden; }
.h-wd-intro-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 110px); align-items: center; }
.h-wd-intro-copy > p:not(.h-eyebrow) { margin: 16px 0 0; font-size: clamp(15.5px, 8.53px + .484vw, 20.15px); line-height: 1.8; color: var(--text); }
.h-wd-intro-copy a:not(.h-btn):not(.h-link) { color: var(--trust-d); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.h-wd-intro-copy .h-btn-row { align-items: center; gap: 14px 26px; margin-top: 28px; }
.h-wd-browser-wrap { position: relative; padding: 8% 6% 12% 4%; }
.h-wd-browser-wrap::before { content: ""; position: absolute; inset: 0 0 4% 8%; border-radius: 32px; background: linear-gradient(145deg, var(--trust-50), #dbe7ff); transform: rotate(3deg); }
.h-wd-browser { position: relative; border-radius: 18px; overflow: hidden; background: #fff; box-shadow: 0 40px 80px -36px rgba(11, 27, 63, .55), 0 0 0 1px rgba(11, 27, 63, .06); transform: perspective(1100px) rotateY(-8deg) rotateX(3deg) translateY(var(--ty, 0px)); transition: transform .8s var(--ease); }
.h-wd-browser-wrap:hover .h-wd-browser { transform: perspective(1100px) rotateY(-2deg) rotateX(1deg) translateY(var(--ty, 0px)); }
.h-wd-browser-bar { display: flex; align-items: center; gap: 6px; padding: 11px 14px; background: #f1f4fa; border-bottom: 1px solid var(--line); }
.h-wd-browser-bar i { width: 9px; height: 9px; border-radius: 50%; background: #ff5f57; }
.h-wd-browser-bar i:nth-child(2) { background: #febc2e; }
.h-wd-browser-bar i:nth-child(3) { background: #28c840; }
.h-wd-browser-bar span { flex: 1; margin-left: 10px; padding: 4px 12px; border-radius: 999px; background: #fff; font-size: 12px; font-weight: 600; color: var(--muted); }
.h-wd-browser img { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.h-wd-chip { position: absolute; z-index: 2; display: inline-flex; align-items: center; gap: 8px; padding: 10px 15px; border-radius: 999px; background: #fff; box-shadow: 0 18px 36px -16px rgba(11, 27, 63, .45); font-size: 13.5px; font-weight: 800; color: var(--navy); animation: wd-float 6s ease-in-out infinite; }
.h-wd-chip svg { width: 17px; height: 17px; color: var(--trust); }
.h-wd-chip.is-a { left: -2%; top: 14%; }
.h-wd-chip.is-b { right: 0; top: 2%; animation-delay: -2s; }
.h-wd-chip.is-c { left: 8%; bottom: 4%; animation-delay: -4s; }
.h-wd-chip.is-c svg { color: #16a34a; }
.h-wd-speed { position: absolute; z-index: 2; right: 2%; bottom: 14%; display: grid; place-items: center; width: 108px; height: 108px; border-radius: 50%; background: var(--navy); color: #fff; box-shadow: 0 20px 40px -16px rgba(11, 27, 63, .7); animation: wd-float 7s ease-in-out -3s infinite; }
.h-wd-speed svg { position: absolute; inset: 8px; width: calc(100% - 16px); height: calc(100% - 16px); transform: rotate(-90deg); }
.h-wd-speed circle { fill: none; stroke-width: 5; stroke: rgba(255, 255, 255, .12); }
.h-wd-speed circle.fg { stroke: #34d399; stroke-linecap: round; stroke-dasharray: 92 100; }
.h-wd-speed b { margin-top: 18px; font-size: 26px; font-weight: 800; line-height: 1; }
.h-wd-speed small { margin-bottom: 22px; font-size: 9.5px; font-weight: 700; letter-spacing: .04em; color: rgba(255, 255, 255, .7); }
@keyframes wd-float { 50% { transform: translateY(-9px); } }
@keyframes wd-ring { from { stroke-dasharray: 0 100; } }
.h-wd-browser-wrap.is-in .h-wd-speed circle.fg { animation: wd-ring 1.8s var(--ease) .4s both; }

/* website types bento */
.h-wd-types { padding: clamp(64px, 6vw, 110px) 0; background: var(--mist); }
.h-wd-bento { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 1.4vw, 24px); }
.h-wd-type { position: relative; display: flex; flex-direction: column; border-radius: 24px; background: #fff; border: 1px solid var(--line); overflow: hidden; transition: transform .6s var(--ease), box-shadow .6s var(--ease), border-color .4s; }
.h-wd-type:hover { transform: translateY(-6px); border-color: rgba(37, 99, 235, .35); box-shadow: 0 34px 60px -36px rgba(11, 27, 63, .55); }
.h-wd-type.is-feat { grid-column: span 2; grid-row: span 2; display: grid; grid-template-rows: minmax(220px, 1fr) auto; background: var(--navy); border-color: transparent; color: #fff; }
.h-wd-type-img { position: relative; overflow: hidden; }
.h-wd-type-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.h-wd-type-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, var(--navy)); }
.h-wd-type.is-feat:hover .h-wd-type-img img { transform: scale(1.05); }
.h-wd-type-body { display: flex; flex-direction: column; flex: 1; padding: clamp(22px, 2vw, 34px); }
.h-wd-type-ico { display: inline-flex; align-items: center; justify-content: center; width: 50px; height: 50px; margin-bottom: 16px; border-radius: 14px; background: var(--trust-50); color: var(--trust); transition: background .35s, color .35s, transform .6s var(--ease); }
.h-wd-type-ico svg { width: 23px; height: 23px; }
.h-wd-type:hover .h-wd-type-ico { background: var(--trust); color: #fff; transform: rotate(-8deg); }
.h-wd-type.is-feat .h-wd-type-ico { background: var(--trust); color: #fff; }
.h-wd-type h3 { margin: 0; font-size: clamp(18px, 9.9px + .5625vw, 23.4px); font-weight: 800; line-height: 1.3; letter-spacing: -.01em; color: var(--navy); }
.h-wd-type.is-feat h3 { font-size: clamp(24px, 13.2px + .75vw, 32px); color: #fff; }
.h-wd-type p { margin: 10px 0 0; font-size: clamp(14.5px, 7.98px + .453vw, 18.85px); line-height: 1.65; color: var(--text); }
.h-wd-type.is-feat p { color: rgba(255, 255, 255, .78); max-width: 40em; }
.h-wd-type-list { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 0; padding: 0; list-style: none; }
.h-wd-type-list li { padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .16); font-size: 13px; font-weight: 700; }
.h-wd-type-link { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 18px; font-size: clamp(14.5px, 7.98px + .453vw, 18.85px); font-weight: 800; color: var(--trust-d); align-self: flex-start; }
.h-wd-type.is-feat .h-wd-type-link { color: #93c5fd; }
.h-wd-type-link::after { content: ""; position: absolute; inset: 0; border-radius: 24px; }
.h-wd-type-link .h-arrow { transition: transform .35s var(--ease); }
.h-wd-type:hover .h-wd-type-link .h-arrow { transform: translateX(5px); }
.h-wd-type:focus-within { outline: 2px solid var(--trust); outline-offset: 3px; }
.h-wd-type-link:focus-visible { outline: none; }

/* included features (dark) */
.h-wd-feats { position: relative; padding: clamp(64px, 6vw, 110px) 0; background: linear-gradient(160deg, #0f2250, var(--navy) 50%, #081228); color: #fff; overflow: hidden; isolation: isolate; }
.h-wd-feats-bg { position: absolute; inset: 0; z-index: -1; background: radial-gradient(700px 420px at 90% 0%, rgba(37, 99, 235, .3), transparent 60%), radial-gradient(600px 360px at 0% 100%, rgba(52, 211, 153, .1), transparent 60%); }
.h-wd-feats .h-title .hl { color: var(--trust-light); }
.h-wd-feats .h-wd-head > p { color: rgba(255, 255, 255, .72); }
.h-wd-feat-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; margin: 0; padding: 0; list-style: none; border-radius: 24px; overflow: hidden; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .1); }
.h-wd-feat { position: relative; padding: clamp(22px, 2vw, 34px); background: #0c1a3c; transition: background .4s; }
.h-wd-feat:hover { background: #12244d; }
.h-wd-feat .ic { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; margin-bottom: 18px; border-radius: 14px; background: rgba(96, 165, 250, .14); color: #93c5fd; box-shadow: 0 0 0 0 rgba(96, 165, 250, .4); transition: background .35s, color .35s, box-shadow .6s var(--ease), transform .6s var(--ease); }
.h-wd-feat .ic svg { width: 22px; height: 22px; }
.h-wd-feat:hover .ic { background: var(--trust); color: #fff; box-shadow: 0 0 0 8px rgba(96, 165, 250, .12); transform: rotate(-8deg); }
.h-wd-feat h3 { margin: 0; font-size: clamp(16.5px, 9.075px + .516vw, 21.45px); font-weight: 800; color: #fff; }
.h-wd-feat p { margin: 6px 0 0; font-size: clamp(13.5px, 7.425px + .422vw, 17.55px); line-height: 1.55; color: rgba(255, 255, 255, .66); }

/* cities + map */
.h-wd-cities { padding: clamp(64px, 6vw, 110px) 0; background: #fff; }
.h-wd-cities-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(24px, 3vw, 60px); align-items: start; }
.h-wd-map { position: sticky; top: calc(var(--header-h) + 24px); padding: clamp(14px, 1.4vw, 24px); border-radius: 28px; background: radial-gradient(circle at 70% 40%, rgba(37, 99, 235, .25), transparent 60%), linear-gradient(160deg, #0f2250, var(--navy)); box-shadow: 0 40px 80px -44px rgba(11, 27, 63, .7); }
.h-wd-map svg { display: block; width: 100%; height: auto; }
.h-wd-map pattern circle { fill: rgba(255, 255, 255, .09); }
.h-wd-link { fill: none; stroke: rgba(147, 197, 253, .5); stroke-width: 1.5; stroke-dasharray: 3 5; transition: stroke .3s, stroke-width .3s; }
.h-wd-map.is-live .h-wd-link { animation: wd-dash 1.6s linear infinite; }
.h-wd-link.is-hot { stroke: #fbbf24; stroke-width: 2.5; stroke-dasharray: none; }
@keyframes wd-dash { to { stroke-dashoffset: -16; } }
.h-wd-node .dot { fill: #60a5fa; stroke: #0b1b3f; stroke-width: 2; transition: fill .3s, r .3s; }
.h-wd-node .ping { fill: none; stroke: #60a5fa; stroke-width: 1.5; opacity: 0; transform-box: fill-box; transform-origin: center; }
.h-wd-map.is-live .h-wd-node .ping { animation: wd-ping 2.8s var(--ease) infinite; }
.h-wd-node:nth-of-type(2n) .ping { animation-delay: -1.4s; }
.h-wd-node text { fill: rgba(255, 255, 255, .85); font: 700 13px var(--font); paint-order: stroke; stroke: #0b1b3f; stroke-width: 4px; }
.h-wd-node.is-hq .dot { fill: #d0460b; stroke: #fff; }
.h-wd-node.is-hq .ping { stroke: #fb923c; }
.h-wd-node.is-hq text { fill: #fff; font-size: 15px; font-weight: 800; }
.h-wd-node.is-minor text { font-size: 11px; fill: rgba(255, 255, 255, .6); }
.h-wd-node.is-minor .dot { fill: #93c5fd; }
.h-wd-node.is-hot .dot { fill: #fbbf24; }
.h-wd-node.is-hot text { fill: #fbbf24; }
.h-wd-ref circle { fill: rgba(255, 255, 255, .35); }
.h-wd-ref text { fill: rgba(255, 255, 255, .45); font: 600 11px var(--font); letter-spacing: .08em; text-transform: uppercase; }
@keyframes wd-ping { 0% { opacity: .9; transform: scale(.6); } 100% { opacity: 0; transform: scale(2.4); } }
.h-wd-map-note { display: flex; align-items: center; gap: 8px; margin: 6px 6px 2px; font-size: 13px; font-weight: 700; color: rgba(255, 255, 255, .75); }
.h-wd-map-note svg { width: 16px; height: 16px; color: #fb923c; }
.h-wd-city-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(12px, 1.2vw, 20px); }
.h-wd-city { position: relative; display: flex; flex-direction: column; padding: clamp(18px, 1.6vw, 26px); border-radius: 20px; background: var(--mist); border: 1px solid var(--line); transition: transform .5s var(--ease), background .35s, border-color .35s, box-shadow .5s var(--ease); }
.h-wd-city:hover, .h-wd-city.is-hot { transform: translateY(-4px); background: #fff; border-color: rgba(37, 99, 235, .35); box-shadow: 0 26px 46px -30px rgba(11, 27, 63, .5); }
.h-wd-city-dist { display: flex; align-items: center; gap: 6px; margin: 0; font-size: 12px; font-weight: 800; letter-spacing: .04em; color: var(--trust-d); }
.h-wd-city-dist svg { width: 14px; height: 14px; }
.h-wd-city h3 { margin: 10px 0 0; font-size: clamp(17px, 9.35px + .531vw, 22.1px); font-weight: 800; line-height: 1.3; color: var(--navy); }
.h-wd-city > p:not(.h-wd-city-dist) { margin: 8px 0 0; font-size: clamp(14px, 7.7px + .4375vw, 18.2px); line-height: 1.6; color: var(--text); }
.h-wd-city-link { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 14px; font-size: 14.5px; font-weight: 800; color: var(--trust-d); }
.h-wd-city-link::after { content: ""; position: absolute; inset: 0; border-radius: 20px; }
.h-wd-city-link .h-arrow { transition: transform .35s var(--ease); }
.h-wd-city:hover .h-wd-city-link .h-arrow { transform: translateX(5px); }
.h-wd-city:focus-within { outline: 2px solid var(--trust); outline-offset: 3px; }
.h-wd-city-link:focus-visible { outline: none; }

/* shared-section variants used on this page */
.h-proc.is-mist { background: var(--mist); }
.h-proc.is-mist .h-proc-node { background: #fff; }
@media (min-width: 1101px) { .h-proc-steps.is-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.h-fq.is-white { background: #fff; }

@media (prefers-reduced-motion: reduce) {
  .h-wd-chip, .h-wd-speed, .h-wd-link, .h-wd-node .ping { animation: none !important; }
  .h-wd-browser { transform: none !important; }
}
@media (max-width: 1100px) {
  .h-wd-head, .h-wd-intro-grid, .h-wd-cities-grid { grid-template-columns: 1fr; align-items: start; }
  .h-wd-browser-wrap { max-width: 640px; }
  .h-wd-map { position: relative; top: 0; max-width: 640px; }
  .h-wd-feat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .h-wd-bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .h-wd-bento, .h-wd-city-list, .h-wd-feat-grid { grid-template-columns: 1fr; }
  .h-wd-type.is-feat { grid-column: auto; grid-row: auto; grid-template-rows: 200px auto; }
  .h-wd-chip { font-size: 12px; padding: 8px 12px; }
  .h-wd-speed { width: 88px; height: 88px; }
  .h-wd-speed b { font-size: 21px; margin-top: 14px; }
  .h-wd-speed small { font-size: 8px; margin-bottom: 18px; }
}
@media (max-width: 640px) {
  .h-wd-speed small { display: none; }
  .h-wd-speed b { margin: 0; }
}

/* ==== Mobile App Development Haryana extras (.h-ma-*) ======================= */
/* animated phone mockup */
.h-ma-phone-wrap { position: relative; display: grid; place-items: center; padding: 6% 0 10%; }
.h-ma-phone-wrap::before { content: ""; position: absolute; width: 78%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(closest-side, rgba(37, 99, 235, .22), rgba(37, 99, 235, .06) 60%, transparent); }
.h-ma-phone { position: relative; width: min(300px, 70%); aspect-ratio: 9 / 18.5; padding: 12px; border-radius: 46px; background: linear-gradient(160deg, #1b2c55, #0b1b3f); box-shadow: 0 50px 90px -40px rgba(11, 27, 63, .75), inset 0 0 0 2px rgba(255, 255, 255, .08); transform: rotate(-4deg) translateY(var(--ty, 0px)); transition: transform .8s var(--ease); }
.h-ma-phone-wrap:hover .h-ma-phone { transform: rotate(0deg) translateY(var(--ty, 0px)); }
.h-ma-notch { position: absolute; left: 50%; top: 20px; z-index: 3; width: 34%; height: 22px; border-radius: 999px; background: #050b1c; transform: translateX(-50%); }
.h-ma-screen { position: relative; display: flex; flex-direction: column; gap: 12px; height: 100%; padding: 42px 14px 14px; border-radius: 36px; background: linear-gradient(180deg, #f5f8fd, #fff); overflow: hidden; }
.h-ma-status { position: absolute; left: 22px; right: 22px; top: 16px; display: flex; justify-content: space-between; font-size: 11px; font-weight: 800; color: var(--navy); }
.h-ma-bars { display: inline-flex; align-items: flex-end; gap: 2px; }
.h-ma-bars i { width: 3px; border-radius: 1px; background: var(--navy); }
.h-ma-bars i:nth-child(1) { height: 5px; } .h-ma-bars i:nth-child(2) { height: 8px; } .h-ma-bars i:nth-child(3) { height: 11px; }
.h-ma-apphead { display: flex; align-items: center; justify-content: space-between; }
.h-ma-apphead b { font-size: 17px; font-weight: 800; color: var(--navy); }
.h-ma-avatar { width: 30px; height: 30px; border-radius: 50%; background: linear-gradient(135deg, var(--trust), var(--navy)); }
.h-ma-banner { position: relative; display: grid; gap: 2px; padding: 14px; border-radius: 18px; background: linear-gradient(135deg, var(--trust), #1e40af); color: #fff; overflow: hidden; }
.h-ma-banner small { font-size: 10.5px; font-weight: 700; opacity: .8; }
.h-ma-banner b { font-size: 16px; font-weight: 800; }
.h-ma-spark { display: flex; align-items: flex-end; gap: 5px; height: 38px; margin-top: 8px; }
.h-ma-spark i { flex: 1; height: var(--h); border-radius: 4px 4px 2px 2px; background: rgba(255, 255, 255, .85); transform-origin: bottom; }
.h-ma-rows { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.h-ma-rows li { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 10px; padding: 10px; border-radius: 14px; background: #fff; box-shadow: 0 6px 14px -10px rgba(11, 27, 63, .35); }
.h-ma-rows .d { width: 28px; height: 28px; border-radius: 9px; background: color-mix(in srgb, var(--c) 22%, #fff); box-shadow: inset 0 0 0 7px color-mix(in srgb, var(--c) 22%, #fff), inset 0 0 0 14px var(--c); }
.h-ma-rows .l { display: grid; gap: 5px; }
.h-ma-rows .l i { display: block; height: 6px; border-radius: 6px; background: #dfe5f0; }
.h-ma-rows .l i + i { width: 60%; background: #edf1f7; }
.h-ma-rows .t { font-size: 10px; font-weight: 800; color: var(--muted); }
.h-ma-nav { display: flex; justify-content: space-around; margin-top: auto; padding: 10px 6px 4px; border-top: 1px solid var(--line); }
.h-ma-nav i { width: 22px; height: 22px; border-radius: 7px; background: #dfe5f0; }
.h-ma-nav i.on { background: var(--trust); }
.h-ma-toast { position: absolute; left: -18%; top: 30%; z-index: 4; display: flex; align-items: center; gap: 10px; padding: 11px 16px 11px 11px; border-radius: 16px; background: #fff; box-shadow: 0 24px 44px -18px rgba(11, 27, 63, .55); animation: ma-toast 7s var(--ease) infinite; }
.h-ma-toast svg { width: 34px; height: 34px; padding: 8px; border-radius: 10px; background: #d0460b; color: #fff; }
.h-ma-toast b { display: block; font-size: 13.5px; color: var(--navy); }
.h-ma-toast small { font-size: 11.5px; color: var(--muted); }
@keyframes ma-toast { 0%, 8% { opacity: 0; transform: translateX(-16px) scale(.95); } 16%, 78% { opacity: 1; transform: none; } 88%, 100% { opacity: 0; transform: translateY(-8px); } }
@media (prefers-reduced-motion: no-preference) {
  .h-ma-phone-wrap.is-in .h-ma-spark i { animation: ma-bar 1.2s var(--ease) both; }
  .h-ma-phone-wrap.is-in .h-ma-spark i:nth-child(2) { animation-delay: .08s; } .h-ma-phone-wrap.is-in .h-ma-spark i:nth-child(3) { animation-delay: .16s; }
  .h-ma-phone-wrap.is-in .h-ma-spark i:nth-child(4) { animation-delay: .24s; } .h-ma-phone-wrap.is-in .h-ma-spark i:nth-child(5) { animation-delay: .32s; }
  .h-ma-phone-wrap.is-in .h-ma-spark i:nth-child(6) { animation-delay: .4s; }
  .h-ma-phone-wrap.is-in .h-ma-rows li { animation: ma-row .7s var(--ease) both; }
  .h-ma-phone-wrap.is-in .h-ma-rows li:nth-child(2) { animation-delay: .15s; } .h-ma-phone-wrap.is-in .h-ma-rows li:nth-child(3) { animation-delay: .3s; }
}
@keyframes ma-bar { from { transform: scaleY(0); } }
@keyframes ma-row { from { opacity: 0; transform: translateX(24px); } }
.h-ma-phone-wrap .h-wd-chip.is-a { left: 4%; top: 12%; }
.h-ma-phone-wrap .h-wd-chip.is-b { right: 6%; top: 22%; }
.h-ma-phone-wrap .h-wd-chip.is-c { left: auto; right: 2%; bottom: 14%; }
.h-wd-chip svg { flex: 0 0 auto; }

/* platform cards */
.h-ma-plats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 1.4vw, 24px); }
.h-ma-plat { position: relative; display: flex; flex-direction: column; padding: clamp(22px, 2vw, 34px); border-radius: 24px; background: linear-gradient(180deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .025)); border: 1px solid rgba(255, 255, 255, .1); transition: transform .6s var(--ease), border-color .4s; }
.h-ma-plat:hover { transform: translateY(-6px); border-color: rgba(147, 197, 253, .4); }
.h-ma-plat.is-rec { background: linear-gradient(180deg, rgba(37, 99, 235, .28), rgba(37, 99, 235, .08)); border-color: rgba(147, 197, 253, .45); }
.h-ma-rec { position: absolute; right: 20px; top: 20px; padding: 5px 11px; border-radius: 999px; background: #fbbf24; color: #0b1b3f; font-size: 11.5px; font-weight: 800; }
.h-ma-plat-logo { display: inline-flex; align-items: center; justify-content: center; width: 54px; height: 54px; margin-bottom: 18px; border-radius: 16px; background: #fff; box-shadow: 0 12px 24px -12px rgba(0, 0, 0, .6); }
.h-ma-plat-logo img { width: 30px; height: 30px; }
.h-ma-plat-logo.is-ico { color: var(--navy); }
.h-ma-plat-logo.is-ico svg { width: 28px; height: 28px; }
.h-ma-plat h3 { margin: 0; font-size: clamp(20px, 11px + .625vw, 26px); font-weight: 800; color: #fff; }
.h-ma-plat-tech { margin: 4px 0 0; font-size: 13px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: #93c5fd; }
.h-ma-plat > p:not(.h-ma-plat-tech) { margin: 12px 0 0; font-size: clamp(14.5px, 7.98px + .453vw, 18.85px); line-height: 1.6; color: rgba(255, 255, 255, .72); }
.h-ma-plat ul { display: grid; gap: 9px; margin: 18px 0 0; padding: 16px 0 0; border-top: 1px solid rgba(255, 255, 255, .1); list-style: none; }
.h-ma-plat li { display: flex; align-items: center; gap: 9px; font-size: clamp(13.5px, 7.425px + .422vw, 17.55px); font-weight: 700; color: #e5edff; }
.h-ma-plat li svg { width: 17px; height: 17px; color: #34d399; flex: 0 0 auto; }
.h-ma-sub { margin: clamp(40px, 4vw, 64px) 0 20px; font-size: clamp(20px, 11px + .625vw, 26px); font-weight: 800; color: #fff; }
@media (prefers-reduced-motion: reduce) { .h-ma-toast { animation: none; } .h-ma-phone { transform: none !important; } }
@media (max-width: 1100px) { .h-ma-plats { grid-template-columns: 1fr; } .h-ma-phone-wrap { max-width: 560px; } }
@media (max-width: 640px) {
  .h-ma-phone { width: 64%; border-radius: 38px; padding: 10px; }
  .h-ma-screen { border-radius: 30px; }
  .h-ma-toast { left: 0; top: 34%; padding: 8px 12px 8px 8px; }
  .h-ma-toast svg { width: 28px; height: 28px; padding: 6px; }
  .h-ma-toast b { font-size: 12px; }
}
@media (max-width: 640px) {
  .h-ma-phone-wrap .h-wd-chip.is-a { left: 0; top: 2%; }
  .h-ma-phone-wrap .h-wd-chip.is-b { right: 0; top: 2%; }
  .h-ma-phone-wrap .h-wd-chip.is-c { right: 0; bottom: 6%; }
}

/* ==== E-Commerce Development page extras (.h-ec-*) ========================== */
/* animated storefront */
.h-ec-store-wrap { position: relative; padding: 8% 4% 14% 6%; }
.h-ec-store-wrap::before { content: ""; position: absolute; inset: 2% 2% 6% 10%; border-radius: 32px; background: linear-gradient(145deg, #fff7ed, #ffe4d1); transform: rotate(-3deg); }
.h-ec-store { transform: perspective(1100px) rotateY(8deg) rotateX(3deg) translateY(var(--ty, 0px)); }
.h-ec-store-wrap:hover .h-ec-store { transform: perspective(1100px) rotateY(2deg) rotateX(1deg) translateY(var(--ty, 0px)); }
.h-ec-shop { display: grid; gap: 12px; padding: 14px; background: #fff; }
.h-ec-shop-top { display: flex; align-items: center; gap: 12px; }
.h-ec-shop-top b { font-size: 15px; font-weight: 800; color: var(--navy); }
.h-ec-search { flex: 1; height: 28px; border-radius: 999px; background: var(--mist); border: 1px solid var(--line); }
.h-ec-cart { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 10px; background: var(--navy); color: #fff; }
.h-ec-cart svg { width: 17px; height: 17px; }
.h-ec-cart em { position: absolute; right: -6px; top: -6px; display: grid; place-items: center; min-width: 18px; height: 18px; border-radius: 999px; background: #d0460b; color: #fff; font-size: 10.5px; font-style: normal; font-weight: 800; animation: ec-bump 5s var(--ease) infinite; }
.h-ec-hero-strip { display: grid; gap: 2px; padding: 12px 14px; border-radius: 14px; background: linear-gradient(120deg, #0b1b3f, #2563eb); color: #fff; }
.h-ec-hero-strip b { font-size: 15px; font-weight: 800; }
.h-ec-hero-strip small { font-size: 11px; opacity: .8; }
.h-ec-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 0; padding: 0; list-style: none; }
.h-ec-grid li { position: relative; display: grid; gap: 7px; padding: 8px; border-radius: 12px; border: 1px solid var(--line); background: #fff; }
.h-ec-grid .p-img { aspect-ratio: 1; border-radius: 9px; background: radial-gradient(circle at 50% 60%, var(--b) 0 28%, transparent 29%), var(--a); }
.h-ec-grid .p-l { display: grid; gap: 4px; }
.h-ec-grid .p-l i { display: block; height: 5px; border-radius: 5px; background: #dfe5f0; }
.h-ec-grid .p-l i + i { width: 55%; background: var(--b); opacity: .55; }
.h-ec-grid .p-add { position: absolute; right: 12px; top: 12px; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: #fff; color: var(--navy); font-size: 14px; font-weight: 800; box-shadow: 0 4px 10px -4px rgba(11, 27, 63, .4); }
.h-ec-toast { position: absolute; z-index: 3; left: 0; bottom: 6%; display: flex; align-items: center; gap: 10px; padding: 11px 16px 11px 11px; border-radius: 16px; background: #fff; box-shadow: 0 24px 44px -18px rgba(11, 27, 63, .55); animation: ma-toast 7s var(--ease) -2s infinite; }
.h-ec-toast svg { width: 34px; height: 34px; padding: 8px; border-radius: 10px; background: #16a34a; color: #fff; }
.h-ec-toast b { display: block; font-size: 13.5px; color: var(--navy); }
.h-ec-toast small { font-size: 11.5px; color: var(--muted); }
.h-ec-store-wrap .h-wd-chip.is-a { left: 0; top: 4%; }
.h-ec-store-wrap .h-wd-chip.is-b { right: 0; top: 16%; }
.h-ec-store-wrap .h-wd-chip.is-c { left: auto; right: 4%; bottom: 0; }
@keyframes ec-bump { 0%, 60% { transform: none; } 66% { transform: scale(1.35); } 72%, 100% { transform: none; } }
@media (prefers-reduced-motion: no-preference) {
  .h-ec-store-wrap.is-in .h-ec-grid li { animation: ec-pop .6s var(--ease) both; animation-delay: calc(.2s + var(--i) * 80ms); }
}
@keyframes ec-pop { from { opacity: 0; transform: translateY(12px) scale(.96); } }

/* 4-column feature bento */
.h-wd-bento.is-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.h-wd-type.is-sm .h-wd-type-body { padding: clamp(20px, 1.6vw, 28px); }
.h-wd-type.is-sm h3 { font-size: clamp(16.5px, 9.075px + .516vw, 21.45px); }
.h-wd-type.is-sm p { font-size: clamp(13.5px, 7.425px + .422vw, 17.55px); }

/* platforms + integration groups */
.h-ma-plats.is-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.h-ec-groups { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(12px, 1.2vw, 20px); }
.h-ec-group { padding: clamp(18px, 1.6vw, 26px); border-radius: 20px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); }
.h-ec-group-t { display: flex; align-items: center; gap: 10px; margin: 0 0 14px; font-size: clamp(16px, 8.8px + .5vw, 20.8px); font-weight: 800; color: #fff; }
.h-ec-group-t svg { width: 34px; height: 34px; padding: 8px; border-radius: 10px; background: rgba(96, 165, 250, .16); color: #93c5fd; }
.h-ec-group ul { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.h-ec-group li { padding: 5px 11px; border-radius: 999px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .1); font-size: 12.5px; font-weight: 700; color: #e5edff; transition: background .3s, border-color .3s; }
.h-ec-group li:hover { background: rgba(96, 165, 250, .18); border-color: rgba(147, 197, 253, .4); }

/* store tiers (no prices) */
.h-ec-tiers { padding: clamp(64px, 6vw, 110px) 0; background: #fff; }
.h-ec-tier-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 1.4vw, 24px); align-items: stretch; }
.h-ec-tier { position: relative; display: flex; flex-direction: column; padding: clamp(24px, 2.2vw, 38px); border-radius: 26px; background: var(--mist); border: 1px solid var(--line); transition: transform .6s var(--ease), box-shadow .6s var(--ease), border-color .4s; }
.h-ec-tier:hover { transform: translateY(-6px); border-color: rgba(37, 99, 235, .35); box-shadow: 0 34px 60px -36px rgba(11, 27, 63, .5); }
.h-ec-tier.is-rec { background: linear-gradient(165deg, var(--navy), #13306b); border-color: transparent; color: #fff; box-shadow: 0 40px 70px -40px rgba(11, 27, 63, .8); }
.h-ec-tier-badge { position: absolute; right: 22px; top: 22px; padding: 5px 11px; border-radius: 999px; background: #fbbf24; color: #0b1b3f; font-size: 11.5px; font-weight: 800; }
.h-ec-tier-for { margin: 0; font-size: 12.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--trust-d); }
.h-ec-tier.is-rec .h-ec-tier-for { color: #93c5fd; }
.h-ec-tier h3 { margin: 8px 0 0; font-size: clamp(24px, 13.2px + .75vw, 31.2px); font-weight: 800; letter-spacing: -.02em; color: var(--navy); }
.h-ec-tier.is-rec h3 { color: #fff; }
.h-ec-tier ul { display: grid; gap: 10px; margin: 20px 0 26px; padding: 20px 0 0; border-top: 1px dashed #cfd6e4; list-style: none; }
.h-ec-tier.is-rec ul { border-top-color: rgba(255, 255, 255, .18); }
.h-ec-tier li { display: flex; align-items: center; gap: 10px; font-size: clamp(14.5px, 7.98px + .453vw, 18.85px); font-weight: 600; color: var(--navy); }
.h-ec-tier.is-rec li { color: #e5edff; }
.h-ec-tier li svg { width: 18px; height: 18px; color: #16a34a; flex: 0 0 auto; }
.h-ec-tier.is-rec li svg { color: #34d399; }
.h-ec-tier .h-btn { align-self: flex-start; margin-top: auto; }

/* cities */
.h-ec-cities { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: clamp(20px, 2.4vw, 44px); align-items: start; }
.h-ec-cities-t { display: flex; align-items: center; gap: 10px; margin: 0 0 16px; font-size: 13px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--navy); }
.h-ec-cities-t svg { width: 20px; height: 20px; color: var(--trust); }
.h-ec-hcards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 1.2vw, 20px); }
.h-ec-cities-in { padding: clamp(20px, 2vw, 32px); border-radius: 24px; background: linear-gradient(160deg, #0f2250, var(--navy)); color: #fff; }
.h-ec-cities-in .h-ec-cities-t { color: #fff; }
.h-ec-cities-in .h-ec-cities-t svg { color: #93c5fd; }
.h-ec-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.h-ec-chips a { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14); font-size: 13.5px; font-weight: 700; color: #fff; transition: background .3s, border-color .3s, transform .35s var(--ease); }
.h-ec-chips a svg { width: 14px; height: 14px; color: #93c5fd; }
.h-ec-chips a:hover { background: #fff; color: var(--navy); transform: translateY(-2px); }
.h-ec-chips a:focus-visible { outline: 2px solid #93c5fd; outline-offset: 2px; }

/* related links in FAQ column */
.h-ec-related-t { margin: 26px 0 10px !important; font-size: 12.5px !important; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--navy) !important; }
.h-ec-related { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
.h-ec-related a { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 16px; border-radius: 14px; background: var(--mist); border: 1px solid var(--line); font-size: 14.5px; font-weight: 700; color: var(--navy); transition: border-color .3s, color .3s, transform .35s var(--ease); }
.h-ec-related a:hover { border-color: var(--trust); color: var(--trust-d); transform: translateX(4px); }

@media (prefers-reduced-motion: reduce) { .h-ec-toast, .h-ec-cart em { animation: none; } .h-ec-store { transform: none !important; } }
@media (max-width: 1100px) {
  .h-wd-bento.is-4, .h-ec-groups { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .h-ma-plats.is-2, .h-ec-tier-grid, .h-ec-cities { grid-template-columns: 1fr; }
  .h-ec-store-wrap { max-width: 640px; }
}
@media (max-width: 760px) { .h-ec-hcards { grid-template-columns: 1fr; } }
@media (max-width: 640px) {
  .h-wd-bento.is-4, .h-ec-groups { grid-template-columns: 1fr; }
  .h-wd-bento.is-4 .h-wd-type.is-feat { grid-column: auto; grid-row: auto; }
  .h-ec-toast { padding: 8px 12px 8px 8px; }
  .h-ec-toast svg { width: 28px; height: 28px; padding: 6px; }
  .h-ec-store-wrap .h-wd-chip.is-b { top: 2%; }
}
.h-ec-grid .p-img { aspect-ratio: 4 / 3; background: radial-gradient(circle at 50% 58%, var(--b) 0 22%, transparent 23%), var(--a); }

/* ==== UI/UX Design page: Figma-style canvas mockup (.h-ux-*) ================ */
.h-ux-canvas-wrap { position: relative; padding: 8% 3% 12% 5%; }
.h-ux-canvas-wrap::before { content: ""; position: absolute; inset: 2% 4% 6% 8%; border-radius: 32px; background: linear-gradient(145deg, #f3e8ff, #e0e7ff); transform: rotate(3deg); }
.h-ux-canvas { position: relative; border-radius: 18px; overflow: hidden; background: #1e1e2a; box-shadow: 0 40px 80px -36px rgba(11, 27, 63, .6), 0 0 0 1px rgba(11, 27, 63, .08); transform: perspective(1100px) rotateY(-7deg) rotateX(3deg) translateY(var(--ty, 0px)); transition: transform .8s var(--ease); }
.h-ux-canvas-wrap:hover .h-ux-canvas { transform: perspective(1100px) rotateY(-2deg) rotateX(1deg) translateY(var(--ty, 0px)); }
.h-ux-toolbar { display: flex; align-items: center; gap: 12px; padding: 10px 14px; background: #2c2c3a; }
.h-ux-logo { display: grid; grid-template-columns: repeat(2, 7px); gap: 2px; }
.h-ux-logo i { width: 7px; height: 7px; border-radius: 50%; }
.h-ux-logo i:nth-child(1) { background: #f24e1e; } .h-ux-logo i:nth-child(2) { background: #a259ff; } .h-ux-logo i:nth-child(3) { background: #1abcfe; }
.h-ux-file { flex: 1; font-size: 12px; font-weight: 700; color: rgba(255, 255, 255, .8); }
.h-ux-share { padding: 4px 12px; border-radius: 6px; background: #2563eb; font-size: 11px; font-weight: 800; color: #fff; }
.h-ux-body { display: grid; grid-template-columns: 70px minmax(0, 1fr) 76px; min-height: 290px; }
.h-ux-layers, .h-ux-props { display: flex; flex-direction: column; gap: 8px; padding: 12px 10px; background: #252533; }
.h-ux-layers b, .h-ux-props b { font-size: 10px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: rgba(255, 255, 255, .55); }
.h-ux-layers i, .h-ux-props > i { display: block; height: 6px; border-radius: 6px; background: rgba(255, 255, 255, .12); }
.h-ux-layers i.on { background: #2563eb; }
.h-ux-props .sw { display: grid; grid-template-columns: repeat(2, 1fr); gap: 5px; }
.h-ux-props .sw i { aspect-ratio: 1; border-radius: 5px; background: var(--c); }
.h-ux-props .ty { font-size: 22px; font-weight: 800; color: #fff; }
.h-ux-board { position: relative; display: flex; align-items: center; justify-content: center; gap: 4%; padding: 26px 16px; background-color: #1a1a24; background-image: radial-gradient(rgba(255, 255, 255, .08) 1px, transparent 1.2px); background-size: 16px 16px; }
.h-ux-frame { position: relative; display: grid; gap: 8px; width: 38%; aspect-ratio: 9 / 16; padding: 12px 10px; border-radius: 12px; background: #fff; }
.h-ux-frame small { position: absolute; left: 0; top: -18px; font-size: 10px; font-weight: 700; color: rgba(255, 255, 255, .6); }
.h-ux-frame.is-wire span { border-radius: 5px; background: #e5e7eb; border: 1.5px dashed #9ca3af; }
.h-ux-frame .w1, .h-ux-frame .u1 { height: 16%; }
.h-ux-frame .w2, .h-ux-frame .u2 { height: 30%; }
.h-ux-frame .w3, .h-ux-frame .u3 { height: 12%; }
.h-ux-frame .w4, .h-ux-frame .u4 { height: 12%; }
.h-ux-frame.is-ui .u1 { border-radius: 8px; background: linear-gradient(120deg, #0b1b3f, #2563eb); }
.h-ux-frame.is-ui .u2 { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.h-ux-frame.is-ui .u2 i { border-radius: 8px; background: #dbeafe; }
.h-ux-frame.is-ui .u2 i + i { background: #fde68a; }
.h-ux-frame.is-ui .u3 { border-radius: 8px; background: #eef3ff; }
.h-ux-frame.is-ui .u4 { border-radius: 999px; background: #d0460b; }
.h-ux-flow { width: 12%; height: auto; overflow: visible; }
.h-ux-flow path { fill: none; stroke: #a259ff; stroke-width: 2; stroke-dasharray: 4 4; animation: pw-dash 1.2s linear infinite; }
.h-ux-sel { position: absolute; right: calc(16px + 1%); top: 22px; width: 40%; aspect-ratio: 9 / 16.6; border: 1.5px solid #1abcfe; border-radius: 12px; pointer-events: none; animation: ux-sel 6s var(--ease) infinite; }
.h-ux-sel::before, .h-ux-sel::after { content: ""; position: absolute; width: 7px; height: 7px; background: #fff; border: 1.5px solid #1abcfe; }
.h-ux-sel::before { left: -4px; top: -4px; } .h-ux-sel::after { right: -4px; bottom: -4px; }
.h-ux-cursor { position: absolute; left: 30%; top: 60%; z-index: 2; display: inline-flex; align-items: flex-start; gap: 2px; color: #a259ff; animation: ux-cursor 6s var(--ease) infinite; }
.h-ux-cursor svg { width: 18px; height: 18px; transform: rotate(-135deg); filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .5)); }
.h-ux-cursor em { margin-top: 12px; padding: 2px 7px; border-radius: 6px 6px 6px 0; background: #a259ff; font-size: 10px; font-style: normal; font-weight: 800; color: #fff; }
@keyframes ux-cursor { 0%, 10% { transform: translate(0, 0); } 35%, 50% { transform: translate(120%, -120%); } 75%, 88% { transform: translate(210%, 20%); } 100% { transform: translate(0, 0); } }
@keyframes ux-sel { 0%, 30% { opacity: 0; } 40%, 85% { opacity: 1; } 100% { opacity: 0; } }
@media (prefers-reduced-motion: no-preference) {
  .h-ux-canvas-wrap.is-in .h-ux-frame.is-ui span { animation: ux-fill .7s var(--ease) both; }
  .h-ux-canvas-wrap.is-in .h-ux-frame.is-ui .u2 { animation-delay: .12s; } .h-ux-canvas-wrap.is-in .h-ux-frame.is-ui .u3 { animation-delay: .24s; } .h-ux-canvas-wrap.is-in .h-ux-frame.is-ui .u4 { animation-delay: .36s; }
}
@keyframes ux-fill { from { opacity: 0; transform: scale(.9); } }
.h-ux-canvas-wrap .h-wd-chip.is-a { left: 0; top: 2%; }
.h-ux-canvas-wrap .h-wd-chip.is-b { right: 0; top: 14%; }
.h-ux-canvas-wrap .h-wd-chip.is-c { left: 6%; bottom: 2%; }
@media (prefers-reduced-motion: reduce) { .h-ux-cursor, .h-ux-sel, .h-ux-flow path { animation: none; } .h-ux-canvas { transform: none !important; } }
@media (max-width: 1100px) { .h-ux-canvas-wrap { max-width: 640px; } }
@media (max-width: 640px) {
  .h-ux-body { grid-template-columns: 48px minmax(0, 1fr); }
  .h-ux-props { display: none; }
  .h-ux-canvas-wrap .h-wd-chip.is-b { top: 2%; }
}
.h-ux-sel { display: none; }
.h-ux-frame.is-ui { outline: 1.5px solid transparent; outline-offset: 5px; animation: ux-outline 6s var(--ease) infinite; }
@keyframes ux-outline { 0%, 30% { outline-color: transparent; } 40%, 85% { outline-color: #1abcfe; } 100% { outline-color: transparent; } }
@media (prefers-reduced-motion: reduce) { .h-ux-frame.is-ui { animation: none; outline-color: #1abcfe; } }
.h-ux-frame { grid-template-rows: 1fr 1.9fr .8fr .7fr; align-content: stretch; padding-top: 14px; padding-bottom: 14px; }
.h-ux-frame span { height: auto !important; }

/* ==== SEO Services page: animated Google results mockup (.h-seo-*) ========== */
.h-seo-serp-wrap { position: relative; padding: 8% 4% 16% 6%; }
.h-seo-serp-wrap::before { content: ""; position: absolute; inset: 2% 3% 8% 9%; border-radius: 32px; background: linear-gradient(145deg, #ecfdf5, #dbeafe); transform: rotate(-3deg); }
.h-seo-serp { position: relative; display: grid; gap: 12px; padding: 16px; border-radius: 20px; background: #fff; box-shadow: 0 40px 80px -36px rgba(11, 27, 63, .55), 0 0 0 1px rgba(11, 27, 63, .06); transform: perspective(1100px) rotateY(-7deg) rotateX(3deg) translateY(var(--ty, 0px)); transition: transform .8s var(--ease); }
.h-seo-serp-wrap:hover .h-seo-serp { transform: perspective(1100px) rotateY(-2deg) rotateX(1deg) translateY(var(--ty, 0px)); }
.h-seo-bar { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 999px; border: 1px solid var(--line); box-shadow: 0 6px 16px -10px rgba(11, 27, 63, .35); }
.h-seo-bar .g { display: grid; grid-template-columns: repeat(2, 7px); gap: 2px; }
.h-seo-bar .g i { width: 7px; height: 7px; border-radius: 50%; }
.h-seo-bar .g i:nth-child(1) { background: #4285f4; } .h-seo-bar .g i:nth-child(2) { background: #ea4335; } .h-seo-bar .g i:nth-child(3) { background: #fbbc05; } .h-seo-bar .g i:nth-child(4) { background: #34a853; }
.h-seo-bar .q { flex: 1; min-width: 0; overflow: hidden; }
.h-seo-bar svg { width: 17px; height: 17px; color: #4285f4; }
.h-seo-type { display: inline-block; max-width: 100%; overflow: hidden; white-space: nowrap; font-size: 13.5px; font-weight: 600; color: var(--navy); border-right: 2px solid var(--trust); }
.h-seo-map { position: relative; height: 96px; border-radius: 14px; overflow: hidden; background: linear-gradient(135deg, #e8f0e3 0 30%, #dfe9f5 30% 55%, #eef1e6 55%); }
.h-seo-map::before { content: ""; position: absolute; inset: 0; background: linear-gradient(20deg, transparent 46%, #fff 46% 50%, transparent 50%), linear-gradient(110deg, transparent 62%, #fff 62% 65%, transparent 65%); }
.h-seo-map .pin { position: absolute; width: 16px; height: 16px; border-radius: 50% 50% 50% 0; background: #ea4335; transform: rotate(-45deg); box-shadow: 0 4px 8px -3px rgba(0, 0, 0, .4); }
.h-seo-map .p1 { left: 22%; top: 34%; } .h-seo-map .p2 { left: 68%; top: 20%; }
.h-seo-map .pin.is-you { left: 46%; top: 44%; width: 22px; height: 22px; background: var(--trust); animation: seo-drop 6s var(--ease) infinite; }
.h-seo-map small { position: absolute; left: 10px; bottom: 8px; padding: 3px 8px; border-radius: 6px; background: #fff; font-size: 10.5px; font-weight: 700; color: var(--navy); }
.h-seo-res { position: relative; display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.h-seo-res li { position: relative; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--line); background: #fff; }
.h-seo-res .fav { width: 22px; height: 22px; border-radius: 50%; background: #e5e7eb; }
.h-seo-res .t { display: grid; gap: 5px; }
.h-seo-res .t b { font-size: 12px; font-weight: 700; color: #1a0dab; }
.h-seo-res .t i { display: block; height: 5px; border-radius: 5px; background: #e5e7eb; }
.h-seo-res .t i + i { width: 70%; }
.h-seo-res li.is-you { border-color: rgba(37, 99, 235, .45); background: #f5f8ff; box-shadow: 0 12px 24px -16px rgba(37, 99, 235, .6); }
.h-seo-res li.is-you .fav { background: var(--trust); }
.h-seo-res li.is-you .t b { color: var(--trust-d); }
.h-seo-res em { padding: 3px 9px; border-radius: 999px; background: #16a34a; color: #fff; font-size: 11px; font-style: normal; font-weight: 800; }
.h-seo-rank { position: absolute; z-index: 2; right: 0; bottom: 2%; width: 44%; padding: 12px 14px; border-radius: 16px; background: var(--navy); box-shadow: 0 24px 44px -18px rgba(11, 27, 63, .7); animation: wd-float 7s ease-in-out -2s infinite; }
.h-seo-rank small { display: block; margin-bottom: 6px; font-size: 11px; font-weight: 700; color: rgba(255, 255, 255, .7); }
.h-seo-rank svg { display: block; width: 100%; height: 50px; }
.h-seo-rank .area { fill: rgba(52, 211, 153, .18); }
.h-seo-rank .line { fill: none; stroke: #34d399; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; stroke-dasharray: 100; }
.h-seo-serp-wrap .h-wd-chip.is-a { left: 0; top: 2%; }
.h-seo-serp-wrap .h-wd-chip.is-b { right: 0; top: 12%; }
.h-seo-serp-wrap .h-wd-chip.is-c { left: 2%; bottom: 4%; }
@keyframes seo-drop { 0%, 8% { transform: rotate(-45deg) translateY(-24px); opacity: 0; } 18%, 90% { transform: rotate(-45deg); opacity: 1; } 100% { transform: rotate(-45deg); opacity: 1; } }
@keyframes seo-type { from { width: 0; } }
@keyframes seo-caret { 50% { border-color: transparent; } }
@keyframes seo-climb { 0%, 20% { transform: translateY(calc(100% + 8px)); } 34%, 100% { transform: none; } }
@keyframes seo-sink { 0%, 20% { transform: translateY(calc(-100% - 8px)); } 34%, 100% { transform: none; } }
@keyframes seo-line { from { stroke-dashoffset: 100; } }
@media (prefers-reduced-motion: no-preference) {
  .h-seo-serp-wrap.is-in .h-seo-type { animation: seo-type 1.6s steps(22, end) .3s both, seo-caret .8s steps(1) infinite; }
  .h-seo-serp-wrap.is-in .h-seo-res li.is-you { animation: seo-climb 6s var(--ease) infinite; z-index: 1; }
  .h-seo-serp-wrap.is-in .h-seo-res li:nth-child(2) { animation: seo-sink 6s var(--ease) infinite; }
  .h-seo-serp-wrap.is-in .h-seo-rank .line { animation: seo-line 2s var(--ease) .6s both; }
}
@media (prefers-reduced-motion: reduce) { .h-seo-rank, .h-seo-map .pin.is-you { animation: none; } .h-seo-serp { transform: none !important; } }
@media (max-width: 1100px) { .h-seo-serp-wrap { max-width: 640px; } }
@media (max-width: 640px) {
  .h-seo-rank { width: 56%; }
  .h-seo-serp-wrap .h-wd-chip.is-b { top: 2%; }
  .h-seo-serp-wrap .h-wd-chip.is-c { display: none; }
}

/* ==== Digital Marketing page: campaign dashboard mockup (.h-dm-*) =========== */
.h-dm-dash-wrap { position: relative; padding: 8% 4% 14% 6%; }
.h-dm-dash-wrap::before { content: ""; position: absolute; inset: 2% 3% 7% 9%; border-radius: 32px; background: linear-gradient(145deg, #fce7f3, #dbeafe); transform: rotate(3deg); }
.h-dm-dash { position: relative; display: grid; gap: 14px; padding: 18px; border-radius: 22px; background: var(--navy); color: #fff; box-shadow: 0 40px 80px -36px rgba(11, 27, 63, .7); transform: perspective(1100px) rotateY(-7deg) rotateX(3deg) translateY(var(--ty, 0px)); transition: transform .8s var(--ease); }
.h-dm-dash-wrap:hover .h-dm-dash { transform: perspective(1100px) rotateY(-2deg) rotateX(1deg) translateY(var(--ty, 0px)); }
.h-dm-top { display: flex; align-items: center; justify-content: space-between; }
.h-dm-top b { font-size: 15px; font-weight: 800; }
.h-dm-live { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; background: rgba(52, 211, 153, .15); color: #34d399; font-size: 11.5px; font-weight: 800; }
.h-dm-live i { width: 7px; height: 7px; border-radius: 50%; background: #34d399; animation: pw-blink 1.2s steps(1) infinite; }
.h-dm-kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.h-dm-kpis > div { display: grid; gap: 2px; padding: 12px; border-radius: 14px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .08); }
.h-dm-kpis > div.is-hot { background: linear-gradient(160deg, rgba(37, 99, 235, .45), rgba(37, 99, 235, .15)); border-color: rgba(147, 197, 253, .4); }
.h-dm-kpis small { font-size: 11px; font-weight: 700; color: rgba(255, 255, 255, .6); }
.h-dm-kpis b { font-size: clamp(20px, 11px + .625vw, 26px); font-weight: 800; line-height: 1.1; }
.h-dm-kpis em { font-size: 11px; font-style: normal; font-weight: 800; color: #34d399; }
.h-dm-label { margin: 2px 0 0; font-size: 11.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: rgba(255, 255, 255, .6); }
.h-dm-bars { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.h-dm-bars li { display: grid; grid-template-columns: 84px 1fr; align-items: center; gap: 10px; font-size: 12px; font-weight: 700; color: rgba(255, 255, 255, .8); }
.h-dm-bars i { display: block; height: 10px; border-radius: 10px; background: linear-gradient(90deg, var(--c), color-mix(in srgb, var(--c) 55%, #fff)) 0 0 / var(--w) 100% no-repeat, rgba(255, 255, 255, .08); }
.h-dm-toast { position: absolute; z-index: 3; left: 0; bottom: 4%; display: flex; align-items: center; gap: 10px; padding: 11px 16px 11px 11px; border-radius: 16px; background: #fff; box-shadow: 0 24px 44px -18px rgba(11, 27, 63, .55); animation: ma-toast 7s var(--ease) -1s infinite; }
.h-dm-toast svg { width: 34px; height: 34px; padding: 8px; border-radius: 10px; background: #e1306c; color: #fff; }
.h-dm-toast b { display: block; font-size: 13.5px; color: var(--navy); }
.h-dm-toast small { font-size: 11.5px; color: var(--muted); }
.h-dm-dash-wrap .h-wd-chip.is-a { left: 0; top: 2%; }
.h-dm-dash-wrap .h-wd-chip.is-b { right: 0; top: 14%; }
.h-dm-dash-wrap .h-wd-chip.is-c { left: auto; right: 4%; bottom: 0; }
@media (prefers-reduced-motion: no-preference) {
  .h-dm-dash-wrap.is-in .h-dm-bars i { animation: pw-bar 1.4s var(--ease) .3s both; }
  .h-dm-dash-wrap.is-in .h-dm-bars li:nth-child(2) i { animation-delay: .45s; }
  .h-dm-dash-wrap.is-in .h-dm-bars li:nth-child(3) i { animation-delay: .6s; }
  .h-dm-dash-wrap.is-in .h-dm-bars li:nth-child(4) i { animation-delay: .75s; }
}
@media (prefers-reduced-motion: reduce) { .h-dm-toast { animation: none; } .h-dm-dash { transform: none !important; } }
@media (max-width: 1100px) { .h-dm-dash-wrap { max-width: 640px; } }
@media (max-width: 640px) {
  .h-dm-kpis { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
  .h-dm-kpis > div { padding: 9px; }
  .h-dm-bars li { grid-template-columns: 70px 1fr; }
  .h-dm-dash-wrap .h-wd-chip.is-b { top: 2%; }
}
/* cities block without the "Across India" panel */
.h-ec-cities.is-solo { grid-template-columns: 1fr; }

/* ==== Custom software: live system diagram (.h-cs-*) ======================== */
.h-cs-wrap { position: relative; padding: 8% 4% 12% 6%; }
.h-cs-wrap::before { content: ""; position: absolute; inset: 2% 3% 6% 9%; border-radius: 32px; background: linear-gradient(145deg, #e0f2fe, #ede9fe); transform: rotate(-3deg); }
.h-cs-board { position: relative; aspect-ratio: 4 / 3; border-radius: 24px; background: radial-gradient(circle at 50% 50%, rgba(37, 99, 235, .35), transparent 60%), linear-gradient(160deg, #0f2250, var(--dark)); box-shadow: 0 40px 80px -36px rgba(11, 27, 63, .7); overflow: hidden; transform: perspective(1100px) rotateY(-6deg) rotateX(3deg) translateY(var(--ty, 0px)); transition: transform .8s var(--ease); }
.h-cs-wrap:hover .h-cs-board { transform: perspective(1100px) rotateY(-2deg) rotateX(1deg) translateY(var(--ty, 0px)); }
.h-cs-board::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, .08) 1px, transparent 1.2px); background-size: 18px 18px; }
.h-cs-svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.h-cs-wire { fill: none; stroke: rgba(147, 197, 253, .35); stroke-width: 1.5; stroke-dasharray: 4 5; vector-effect: non-scaling-stroke; }
.h-cs-pkt { fill: #34d399; filter: drop-shadow(0 0 4px #34d399); }
.h-cs-core { position: absolute; left: 50%; top: 50%; display: grid; justify-items: center; gap: 4px; width: 34%; padding: 16px 10px; border-radius: 20px; background: #fff; color: var(--navy); text-align: center; transform: translate(-50%, -50%); box-shadow: 0 0 0 8px rgba(37, 99, 235, .25), 0 20px 40px -16px rgba(0, 0, 0, .6); animation: cs-pulse 3s ease-in-out infinite; }
.h-cs-core svg { width: 36px; height: 36px; padding: 8px; border-radius: 12px; background: var(--trust); color: #fff; }
.h-cs-core b { font-size: 14px; font-weight: 800; }
.h-cs-core small { font-size: 10.5px; font-weight: 700; color: var(--muted); }
.h-cs-node { position: absolute; display: inline-flex; align-items: center; gap: 7px; padding: 7px 11px 7px 7px; border-radius: 12px; background: rgba(255, 255, 255, .95); color: var(--navy); font-size: 12px; font-weight: 800; transform: translate(-50%, -50%); box-shadow: 0 10px 22px -10px rgba(0, 0, 0, .6); }
.h-cs-node svg { width: 26px; height: 26px; padding: 5px; border-radius: 8px; background: var(--trust-50); color: var(--trust); }
.h-cs-node em { font-style: normal; }
.h-cs-node.n-web { left: 15%; top: 16.7%; } .h-cs-node.n-mob { left: 85%; top: 16.7%; }
.h-cs-node.n-pay { left: 12%; top: 50%; } .h-cs-node.n-wa { left: 88%; top: 50%; }
.h-cs-node.n-db { left: 15%; top: 83.3%; } .h-cs-node.n-rep { left: 85%; top: 83.3%; }
.h-cs-node.n-wa svg { background: #dcfce7; color: #16a34a; }
@keyframes cs-pulse { 50% { box-shadow: 0 0 0 14px rgba(37, 99, 235, .12), 0 20px 40px -16px rgba(0, 0, 0, .6); } }
.h-cs-wrap .h-wd-chip.is-a { left: 0; top: 2%; } .h-cs-wrap .h-wd-chip.is-b { right: 0; top: 12%; } .h-cs-wrap .h-wd-chip.is-c { left: 4%; bottom: 2%; }

/* ==== ERP: module dashboard (.h-erp-*) ====================================== */
.h-erp-wrap { position: relative; padding: 8% 4% 14% 6%; }
.h-erp-wrap::before { content: ""; position: absolute; inset: 2% 3% 7% 9%; border-radius: 32px; background: linear-gradient(145deg, #dcfce7, #dbeafe); transform: rotate(3deg); }
.h-erp-app { transform: perspective(1100px) rotateY(-7deg) rotateX(3deg) translateY(var(--ty, 0px)); }
.h-erp-wrap:hover .h-erp-app { transform: perspective(1100px) rotateY(-2deg) rotateX(1deg) translateY(var(--ty, 0px)); }
.h-erp-body { display: grid; grid-template-columns: 58px minmax(0, 1fr); background: #f5f8fd; }
.h-erp-side { display: flex; flex-direction: column; gap: 10px; padding: 14px 10px; background: var(--navy); }
.h-erp-side b { font-size: 12px; font-weight: 800; color: #fff; }
.h-erp-side i { display: block; height: 22px; border-radius: 7px; background: rgba(255, 255, 255, .1); }
.h-erp-side i.on { background: var(--trust); }
.h-erp-main { display: grid; gap: 12px; padding: 14px; }
.h-erp-mods { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.h-erp-mod { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 10px; align-items: center; padding: 12px; border-radius: 14px; background: #fff; box-shadow: 0 8px 18px -12px rgba(11, 27, 63, .35); }
.h-erp-mod .i { grid-row: span 2; display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 10px; background: color-mix(in srgb, var(--c) 18%, #fff); color: color-mix(in srgb, var(--c) 70%, #0b1b3f); }
.h-erp-mod .i svg { width: 17px; height: 17px; }
.h-erp-mod small { font-size: 10.5px; font-weight: 700; color: var(--muted); }
.h-erp-mod b { font-size: 14px; font-weight: 800; color: var(--navy); }
.h-erp-chart { padding: 12px; border-radius: 14px; background: #fff; box-shadow: 0 8px 18px -12px rgba(11, 27, 63, .35); }
.h-erp-chart small { font-size: 10.5px; font-weight: 700; color: var(--muted); }
.h-erp-chart .bars { display: flex; align-items: flex-end; gap: 8px; height: 70px; margin-top: 8px; }
.h-erp-chart .bars i { flex: 1; height: var(--h); border-radius: 6px 6px 2px 2px; background: linear-gradient(180deg, var(--trust-light), var(--trust)); transform-origin: bottom; }
.h-erp-toast { position: absolute; z-index: 3; left: 0; bottom: 4%; display: flex; align-items: center; gap: 10px; padding: 11px 16px 11px 11px; border-radius: 16px; background: #fff; box-shadow: 0 24px 44px -18px rgba(11, 27, 63, .55); animation: ma-toast 7s var(--ease) -1.5s infinite; }
.h-erp-toast svg { width: 34px; height: 34px; padding: 8px; border-radius: 10px; background: #f59e0b; color: #fff; }
.h-erp-toast b { display: block; font-size: 13.5px; color: var(--navy); }
.h-erp-toast small { font-size: 11.5px; color: var(--muted); }
.h-erp-wrap .h-wd-chip.is-a { left: 0; top: 2%; } .h-erp-wrap .h-wd-chip.is-b { right: 0; top: 14%; } .h-erp-wrap .h-wd-chip.is-c { left: auto; right: 4%; bottom: 0; }
@media (prefers-reduced-motion: no-preference) {
  .h-erp-wrap.is-in .h-erp-chart .bars i { animation: ma-bar 1.2s var(--ease) both; }
  .h-erp-wrap.is-in .h-erp-chart .bars i:nth-child(2) { animation-delay: .08s; } .h-erp-wrap.is-in .h-erp-chart .bars i:nth-child(3) { animation-delay: .16s; }
  .h-erp-wrap.is-in .h-erp-chart .bars i:nth-child(4) { animation-delay: .24s; } .h-erp-wrap.is-in .h-erp-chart .bars i:nth-child(5) { animation-delay: .32s; }
  .h-erp-wrap.is-in .h-erp-chart .bars i:nth-child(6) { animation-delay: .4s; }
  .h-erp-wrap.is-in .h-erp-mod { animation: ec-pop .6s var(--ease) both; }
  .h-erp-wrap.is-in .h-erp-mod:nth-child(2) { animation-delay: .1s; } .h-erp-wrap.is-in .h-erp-mod:nth-child(3) { animation-delay: .2s; } .h-erp-wrap.is-in .h-erp-mod:nth-child(4) { animation-delay: .3s; }
}

/* ==== CRM: moving sales pipeline (.h-crm-*) ================================= */
.h-crm-wrap { position: relative; padding: 8% 4% 14% 6%; }
.h-crm-wrap::before { content: ""; position: absolute; inset: 2% 3% 7% 9%; border-radius: 32px; background: linear-gradient(145deg, #fef3c7, #dbeafe); transform: rotate(-3deg); }
.h-crm-board { position: relative; display: grid; gap: 12px; padding: 16px; border-radius: 22px; background: #fff; box-shadow: 0 40px 80px -36px rgba(11, 27, 63, .55), 0 0 0 1px rgba(11, 27, 63, .06); transform: perspective(1100px) rotateY(-7deg) rotateX(3deg) translateY(var(--ty, 0px)); transition: transform .8s var(--ease); }
.h-crm-wrap:hover .h-crm-board { transform: perspective(1100px) rotateY(-2deg) rotateX(1deg) translateY(var(--ty, 0px)); }
.h-crm-top { display: flex; align-items: center; justify-content: space-between; }
.h-crm-top b { font-size: 15px; font-weight: 800; color: var(--navy); }
.h-crm-top span { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; color: var(--muted); }
.h-crm-top svg { width: 15px; height: 15px; color: var(--trust); }
.h-crm-cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.h-crm-col { display: flex; flex-direction: column; gap: 7px; min-height: 190px; padding: 8px; border-radius: 12px; background: var(--mist); }
.h-crm-col small { display: flex; align-items: center; justify-content: space-between; font-size: 10.5px; font-weight: 800; color: var(--navy); }
.h-crm-col small em { font-style: normal; padding: 1px 6px; border-radius: 999px; background: #fff; color: var(--muted); }
.h-crm-col:last-child { background: #ecfdf5; }
.h-crm-lead { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 6px; padding: 7px; border-radius: 9px; background: #fff; box-shadow: 0 4px 10px -6px rgba(11, 27, 63, .35); }
.h-crm-lead .av { width: 18px; height: 18px; border-radius: 50%; background: linear-gradient(135deg, var(--trust-light), var(--trust)); }
.h-crm-lead .l { display: grid; gap: 4px; }
.h-crm-lead .l i { display: block; height: 4px; border-radius: 4px; background: #dfe5f0; }
.h-crm-lead .l i + i { width: 60%; }
.h-crm-lead.is-moving { position: absolute; left: 24px; top: 78px; width: calc((100% - 32px - 24px) / 4 - 16px); background: #fff; box-shadow: 0 12px 24px -8px rgba(37, 99, 235, .55), 0 0 0 2px var(--trust); animation: crm-move 8s var(--ease) infinite; }
@keyframes crm-move { 0%, 10% { transform: none; opacity: 1; } 25%, 35% { transform: translateX(calc(100% + 24px)); } 50%, 60% { transform: translateX(calc(200% + 48px)); } 75%, 90% { transform: translateX(calc(300% + 72px)); opacity: 1; } 100% { transform: translateX(calc(300% + 72px)); opacity: 0; } }
.h-crm-toast { position: absolute; z-index: 3; left: 0; bottom: 4%; display: flex; align-items: center; gap: 10px; padding: 11px 16px 11px 11px; border-radius: 16px; background: #fff; box-shadow: 0 24px 44px -18px rgba(11, 27, 63, .55); animation: ma-toast 8s var(--ease) -2s infinite; }
.h-crm-toast svg { width: 34px; height: 34px; padding: 8px; border-radius: 10px; background: #25d366; color: #fff; }
.h-crm-toast b { display: block; font-size: 13.5px; color: var(--navy); }
.h-crm-toast small { font-size: 11.5px; color: var(--muted); }
.h-crm-wrap .h-wd-chip.is-a { left: 0; top: 2%; } .h-crm-wrap .h-wd-chip.is-b { right: 0; top: 14%; } .h-crm-wrap .h-wd-chip.is-c { left: auto; right: 4%; bottom: 0; }

@media (prefers-reduced-motion: reduce) {
  .h-cs-core, .h-erp-toast, .h-crm-toast, .h-crm-lead.is-moving { animation: none; }
  .h-cs-board, .h-erp-app, .h-crm-board { transform: none !important; }
}
@media (max-width: 1100px) { .h-cs-wrap, .h-erp-wrap, .h-crm-wrap { max-width: 640px; } }
@media (max-width: 640px) {
  .h-cs-node { font-size: 10.5px; padding: 5px 8px 5px 5px; }
  .h-cs-node svg { width: 20px; height: 20px; padding: 3px; }
  .h-cs-core { width: 40%; padding: 12px 8px; }
  .h-crm-col { min-height: 150px; }
  .h-cs-wrap .h-wd-chip.is-b, .h-erp-wrap .h-wd-chip.is-b, .h-crm-wrap .h-wd-chip.is-b { top: 2%; }
}
.h-cs-wrap .h-wd-chip.is-b { top: -1%; }

/* ==== School ERP: principal dashboard + parent app mockup (.h-sm-*) ========= */
.h-sm-wrap { position: relative; padding: 8% 18% 14% 4%; }
.h-sm-wrap::before { content: ""; position: absolute; inset: 2% 3% 7% 9%; border-radius: 32px; background: linear-gradient(145deg, #fef9c3, #dbeafe); transform: rotate(-3deg); }
.h-sm-app { transform: perspective(1100px) rotateY(-6deg) rotateX(3deg) translateY(var(--ty, 0px)); }
.h-sm-body { display: grid; gap: 12px; padding: 16px; background: #f5f8fd; }
.h-sm-head { display: flex; justify-content: space-between; align-items: center; }
.h-sm-head b { font-size: 15px; font-weight: 800; color: var(--navy); }
.h-sm-head span { padding: 3px 10px; border-radius: 999px; background: #fff; font-size: 11px; font-weight: 700; color: var(--muted); }
.h-sm-kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.h-sm-kpis div { display: grid; gap: 2px; padding: 12px; border-radius: 14px; background: #fff; box-shadow: 0 8px 18px -12px rgba(11, 27, 63, .35); }
.h-sm-kpis small { font-size: 10.5px; font-weight: 700; color: var(--muted); }
.h-sm-kpis b { font-size: clamp(18px, 10px + .56vw, 24px); font-weight: 800; color: var(--navy); }
.h-sm-kpis div:nth-child(2) b { color: #16a34a; }
.h-sm-rows { display: grid; gap: 9px; padding: 12px; border-radius: 14px; background: #fff; }
.h-sm-rows p { display: grid; grid-template-columns: 76px 1fr; align-items: center; gap: 10px; margin: 0; font-size: 11.5px; font-weight: 700; color: var(--navy); }
.h-sm-rows i { display: block; height: 8px; border-radius: 8px; background: linear-gradient(90deg, var(--trust), var(--trust-light)) 0 0 / var(--w) 100% no-repeat, #e5ebf5; }
.h-sm-phone { position: absolute; z-index: 2; right: 2%; top: 20%; width: 30%; aspect-ratio: 9 / 17; padding: 7px; border-radius: 28px; background: linear-gradient(160deg, #1b2c55, #0b1b3f); box-shadow: 0 30px 60px -24px rgba(11, 27, 63, .8); transform: rotate(4deg); animation: wd-float 7s ease-in-out infinite; }
.h-sm-screen { display: flex; flex-direction: column; gap: 8px; height: 100%; padding: 14px 10px; border-radius: 22px; background: #fff; }
.h-sm-screen > b { font-size: 12.5px; font-weight: 800; color: var(--navy); }
.h-sm-bus { display: grid; justify-items: center; gap: 4px; padding: 10px 6px; border-radius: 14px; background: linear-gradient(135deg, #fbbf24, #f59e0b); color: #0b1b3f; text-align: center; }
.h-sm-bus svg { width: 22px; height: 22px; animation: sm-bus 2.4s ease-in-out infinite; }
.h-sm-bus em { font-size: 10px; font-style: normal; font-weight: 800; line-height: 1.2; }
.h-sm-card { display: grid; padding: 8px 9px; border-radius: 10px; background: var(--mist); }
.h-sm-card small { font-size: 9px; font-weight: 700; color: var(--muted); }
.h-sm-card b { font-size: 11.5px; font-weight: 800; color: var(--navy); }
.h-sm-toast { position: absolute; z-index: 3; left: 0; bottom: 4%; display: flex; align-items: center; gap: 10px; padding: 11px 16px 11px 11px; border-radius: 16px; background: #fff; box-shadow: 0 24px 44px -18px rgba(11, 27, 63, .55); animation: ma-toast 7s var(--ease) -1s infinite; }
.h-sm-toast svg { width: 34px; height: 34px; padding: 8px; border-radius: 10px; background: #d0460b; color: #fff; }
.h-sm-toast b { display: block; font-size: 13.5px; color: var(--navy); }
.h-sm-toast small { font-size: 11.5px; color: var(--muted); }
.h-sm-wrap .h-wd-chip.is-a { left: 0; top: 2%; }
.h-sm-wrap .h-wd-chip.is-c { left: auto; right: 0; bottom: 0; }
@keyframes sm-bus { 50% { transform: translateX(4px); } }
@media (prefers-reduced-motion: no-preference) {
  .h-sm-wrap.is-in .h-sm-rows i { animation: pw-bar 1.3s var(--ease) .3s both; }
}
@media (prefers-reduced-motion: reduce) { .h-sm-phone, .h-sm-toast, .h-sm-bus svg { animation: none; } .h-sm-app { transform: none !important; } }
@media (max-width: 1100px) { .h-sm-wrap { max-width: 640px; } }
@media (max-width: 640px) {
  .h-sm-wrap { padding-right: 24%; }
  .h-sm-phone { width: 34%; top: 14%; }
  .h-sm-kpis { gap: 6px; } .h-sm-kpis div { padding: 8px; }
  .h-sm-rows p { grid-template-columns: 60px 1fr; }
}

/* ==== School bus tracking (SchoolTrack) page (.h-sbt-*) ===================== */
@media (min-width: 1101px) { .h-proc-steps.is-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.h-sbt-wrap { position: relative; display: grid; place-items: center; padding: 6% 0 10%; }
.h-sbt-wrap::before { content: ""; position: absolute; width: 80%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(closest-side, rgba(251, 191, 36, .3), rgba(37, 99, 235, .08) 60%, transparent); }
.h-sbt-phone { position: relative; width: min(310px, 72%); aspect-ratio: 9 / 18.5; padding: 12px; border-radius: 46px; background: linear-gradient(160deg, #1b2c55, #0b1b3f); box-shadow: 0 50px 90px -40px rgba(11, 27, 63, .75), inset 0 0 0 2px rgba(255, 255, 255, .08); transform: rotate(3deg) translateY(var(--ty, 0px)); transition: transform .8s var(--ease); }
.h-sbt-wrap:hover .h-sbt-phone { transform: rotate(0deg) translateY(var(--ty, 0px)); }
.h-sbt-screen { display: flex; flex-direction: column; height: 100%; border-radius: 36px; overflow: hidden; background: #fff; }
.h-sbt-app { display: flex; align-items: center; justify-content: space-between; padding: 30px 16px 10px; }
.h-sbt-app b { font-size: 16px; font-weight: 800; color: var(--navy); }
.h-sbt-map { position: relative; flex: 1; min-height: 0; background: #f3f6fb; }
.h-sbt-map svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.h-sbt-road { fill: none; stroke: #cfd8e8; stroke-width: 12; stroke-linecap: round; }
.h-sbt-road-live { fill: none; stroke: var(--trust); stroke-width: 3.5; stroke-linecap: round; stroke-dasharray: 6 8; animation: pw-dash 1.2s linear infinite; }
.h-sbt-map .pw-stop circle { fill: #fff; stroke: var(--trust); }
.h-sbt-map .pw-stop.is-school circle { stroke: #16a34a; }
.h-sbt-eta { position: relative; z-index: 1; display: flex; align-items: center; gap: 10px; margin: -28px 12px 0; padding: 12px; border-radius: 16px; background: #fff; box-shadow: 0 14px 30px -14px rgba(11, 27, 63, .45); }
.h-sbt-eta > span { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 12px; background: #fbbf24; color: #0b1b3f; flex: 0 0 auto; }
.h-sbt-eta svg { width: 20px; height: 20px; }
.h-sbt-eta b { display: block; font-size: 13px; font-weight: 800; color: var(--navy); }
.h-sbt-eta small { font-size: 11px; color: var(--muted); }
.h-sbt-acts { display: grid; grid-template-columns: 1fr auto; gap: 8px; padding: 10px 12px 16px; }
.h-sbt-acts span { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 10px; border-radius: 12px; background: var(--trust-50); color: var(--trust-d); font-size: 12px; font-weight: 800; }
.h-sbt-acts svg { width: 14px; height: 14px; }
.h-sbt-acts .is-sos { padding: 10px 16px; background: #dc2626; color: #fff; animation: sbt-sos 2s ease-in-out infinite; }
.h-sbt-toast { position: absolute; z-index: 3; left: 0; top: 32%; display: flex; align-items: center; gap: 10px; padding: 11px 16px 11px 11px; border-radius: 16px; background: #fff; box-shadow: 0 24px 44px -18px rgba(11, 27, 63, .55); animation: ma-toast 7s var(--ease) infinite; }
.h-sbt-toast svg { width: 34px; height: 34px; padding: 8px; border-radius: 10px; background: #16a34a; color: #fff; }
.h-sbt-toast b { display: block; font-size: 13.5px; color: var(--navy); }
.h-sbt-toast small { font-size: 11.5px; color: var(--muted); }
.h-sbt-wrap .h-wd-chip.is-a { left: 2%; top: 8%; }
.h-sbt-wrap .h-wd-chip.is-b { right: 2%; top: 20%; }
.h-sbt-wrap .h-wd-chip.is-c { left: auto; right: 0; bottom: 12%; }
@keyframes sbt-sos { 50% { box-shadow: 0 0 0 6px rgba(220, 38, 38, .2); } }

/* comparison table */
.h-sbt-vs { padding: clamp(64px, 6vw, 110px) 0; background: #fff; }
.h-sbt-table { border-radius: 24px; overflow: hidden; border: 1px solid var(--line); box-shadow: 0 30px 60px -44px rgba(11, 27, 63, .45); }
.h-sbt-thead, .h-sbt-table li { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.15fr); }
.h-sbt-thead span { padding: 18px 22px; font-size: clamp(14px, 7.7px + .4375vw, 18.2px); font-weight: 800; }
.h-sbt-thead .old { background: var(--mist); color: var(--muted); }
.h-sbt-thead .new { display: flex; align-items: center; gap: 8px; background: var(--navy); color: #fff; }
.h-sbt-thead .new svg { width: 20px; height: 20px; color: #fbbf24; }
.h-sbt-table ul { margin: 0; padding: 0; list-style: none; }
.h-sbt-table li { border-top: 1px solid var(--line); transition: background .3s; }
.h-sbt-table li:hover { background: #fafcff; }
.h-sbt-table li > span { display: flex; align-items: center; gap: 10px; padding: 16px 22px; font-size: clamp(14px, 7.7px + .4375vw, 18.2px); }
.h-sbt-table .k { font-weight: 800; color: var(--navy); }
.h-sbt-table .old { color: var(--muted); background: rgba(245, 248, 253, .6); }
.h-sbt-table .old svg { width: 18px; height: 18px; color: #dc2626; flex: 0 0 auto; }
.h-sbt-table .new { font-weight: 700; color: var(--navy); background: rgba(37, 99, 235, .04); }
.h-sbt-table .new svg { width: 18px; height: 18px; color: #16a34a; flex: 0 0 auto; }

/* testimonials */
.h-sbt-testi { padding: clamp(64px, 6vw, 110px) 0; background: var(--mist); }
.h-sbt-quotes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 1.4vw, 24px); }
.h-sbt-quote { display: flex; flex-direction: column; gap: 16px; margin: 0; padding: clamp(22px, 2vw, 34px); border-radius: 24px; background: #fff; border: 1px solid var(--line); transition: transform .6s var(--ease), box-shadow .6s var(--ease); }
.h-sbt-quote:hover { transform: translateY(-5px); box-shadow: 0 30px 56px -36px rgba(11, 27, 63, .5); }
.h-sbt-quote .h-ts-mark { width: 40px; margin: 0; }
.h-sbt-quote blockquote { margin: 0; font-size: clamp(15.5px, 8.53px + .484vw, 20.15px); font-weight: 600; line-height: 1.6; color: var(--navy); flex: 1; }
.h-sbt-quote figcaption { display: flex; align-items: center; gap: 12px; padding-top: 16px; border-top: 1px dashed var(--line); }
.h-sbt-quote .h-ts-ava { width: 46px; height: 46px; font-size: 15px; }
.h-sbt-quote strong { display: block; font-size: 15px; font-weight: 800; color: var(--navy); }
.h-sbt-quote small { font-size: 13px; color: var(--muted); }

@media (prefers-reduced-motion: reduce) { .h-sbt-toast, .h-sbt-acts .is-sos, .h-sbt-road-live { animation: none; } .h-sbt-phone { transform: none !important; } }
@media (max-width: 1100px) { .h-sbt-quotes { grid-template-columns: 1fr; } .h-sbt-wrap { max-width: 560px; } }
@media (max-width: 760px) {
  .h-sbt-thead { display: none; }
  .h-sbt-table li { grid-template-columns: 1fr 1fr; }
  .h-sbt-table .k { grid-column: 1 / -1; padding-bottom: 4px; }
  .h-sbt-table li > span { padding: 10px 14px; font-size: 13.5px; }
}
@media (max-width: 640px) {
  .h-sbt-phone { width: 66%; border-radius: 38px; padding: 10px; }
  .h-sbt-screen { border-radius: 30px; }
  .h-sbt-toast { top: 26%; padding: 8px 12px 8px 8px; }
  .h-sbt-toast svg { width: 28px; height: 28px; padding: 6px; }
}

/* ==== CCTV page: phone live-view mockup (.h-cc-*) + village directory (.h-vil) === */
.h-cc-wrap { position: relative; display: grid; place-items: center; padding: 6% 0 10%; }
.h-cc-wrap::before { content: ""; position: absolute; width: 80%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(closest-side, rgba(37, 99, 235, .25), rgba(11, 27, 63, .06) 60%, transparent); }
.h-cc-phone { position: relative; width: min(320px, 74%); aspect-ratio: 9 / 17; padding: 12px; border-radius: 46px; background: linear-gradient(160deg, #1b2c55, #0b1b3f); box-shadow: 0 50px 90px -40px rgba(11, 27, 63, .75), inset 0 0 0 2px rgba(255, 255, 255, .08); transform: rotate(-3deg) translateY(var(--ty, 0px)); transition: transform .8s var(--ease); }
.h-cc-wrap:hover .h-cc-phone { transform: rotate(0deg) translateY(var(--ty, 0px)); }
.h-cc-screen { display: flex; flex-direction: column; gap: 10px; height: 100%; padding: 30px 10px 12px; border-radius: 36px; background: #0a1226; }
.h-cc-top { display: flex; align-items: center; justify-content: space-between; padding: 0 6px; }
.h-cc-top b { font-size: 15px; font-weight: 800; color: #fff; }
.h-cc-top .pw-rec { position: static; }
.h-cc-cams { flex: 1; aspect-ratio: auto; border-radius: 14px; }
.h-cc-ctrl { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.h-cc-ctrl span { display: grid; justify-items: center; gap: 4px; padding: 9px 4px; border-radius: 12px; background: rgba(255, 255, 255, .07); font-size: 10.5px; font-weight: 700; color: rgba(255, 255, 255, .8); }
.h-cc-ctrl svg { width: 17px; height: 17px; color: #93c5fd; }
.h-cc-toast { position: absolute; z-index: 3; left: 0; top: 30%; display: flex; align-items: center; gap: 10px; padding: 11px 16px 11px 11px; border-radius: 16px; background: #fff; box-shadow: 0 24px 44px -18px rgba(11, 27, 63, .55); animation: ma-toast 7s var(--ease) infinite; }
.h-cc-toast svg { width: 34px; height: 34px; padding: 8px; border-radius: 10px; background: #dc2626; color: #fff; }
.h-cc-toast b { display: block; font-size: 13.5px; color: var(--navy); }
.h-cc-toast small { font-size: 11.5px; color: var(--muted); }
.h-cc-wrap .h-wd-chip.is-a { left: 2%; top: 8%; }
.h-cc-wrap .h-wd-chip.is-b { right: 0; top: 18%; }
.h-cc-wrap .h-wd-chip.is-c { left: auto; right: 0; bottom: 10%; }
@media (prefers-reduced-motion: reduce) { .h-cc-toast { animation: none; } .h-cc-phone { transform: none !important; } }
@media (max-width: 1100px) { .h-cc-wrap { max-width: 560px; } }
@media (max-width: 640px) {
  .h-cc-phone { width: 68%; border-radius: 38px; padding: 10px; }
  .h-cc-screen { border-radius: 30px; }
  .h-cc-toast { top: 24%; padding: 8px 12px 8px 8px; }
  .h-cc-toast svg { width: 28px; height: 28px; padding: 6px; }
  .h-cc-wrap .h-wd-chip.is-c { display: none; }
}

.h-vil { background: #fff; }
.h-vil-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(12px, 1.2vw, 20px); }
.h-vil .h-wd-city > p:not(.h-wd-city-dist) { margin: 4px 0 0; font-size: 13.5px; font-weight: 600; color: var(--muted); }
.h-vil .h-wd-city h3 { margin-top: 8px; }
@media (max-width: 1100px) { .h-vil-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) { .h-vil-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 420px) { .h-vil-grid { grid-template-columns: 1fr; } }

/* ==== Broadband page: speed-test mockup (.h-bb-*) =========================== */
.h-bb-wrap { position: relative; padding: 8% 6% 14% 6%; }
.h-bb-wrap::before { content: ""; position: absolute; inset: 2% 3% 7% 9%; border-radius: 32px; background: linear-gradient(145deg, #dcfce7, #dbeafe); transform: rotate(3deg); }
.h-bb-card { position: relative; display: grid; gap: 14px; padding: 20px; border-radius: 24px; background: var(--navy); color: #fff; box-shadow: 0 40px 80px -36px rgba(11, 27, 63, .7); transform: perspective(1100px) rotateY(-7deg) rotateX(3deg) translateY(var(--ty, 0px)); transition: transform .8s var(--ease); }
.h-bb-wrap:hover .h-bb-card { transform: perspective(1100px) rotateY(-2deg) rotateX(1deg) translateY(var(--ty, 0px)); }
.h-bb-top { display: flex; align-items: center; justify-content: space-between; }
.h-bb-top b { font-size: 15px; font-weight: 800; }
.h-bb-gauge { position: relative; display: grid; place-items: center; }
.h-bb-gauge svg { width: min(100%, 300px); height: auto; overflow: visible; }
.h-bb-gauge path { fill: none; stroke-width: 14; stroke-linecap: round; }
.h-bb-gauge .bg { stroke: rgba(255, 255, 255, .1); }
.h-bb-gauge .fg { stroke: #34d399; stroke-dasharray: 72 100; filter: drop-shadow(0 0 8px rgba(52, 211, 153, .5)); }
.h-bb-read { position: absolute; bottom: 4px; display: grid; justify-items: center; }
.h-bb-read b { font-size: clamp(36px, 20px + 1.1vw, 48px); font-weight: 800; line-height: 1; }
.h-bb-read small { font-size: 12px; font-weight: 700; color: rgba(255, 255, 255, .65); }
.h-bb-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.h-bb-stats span { display: grid; gap: 2px; padding: 10px; border-radius: 12px; background: rgba(255, 255, 255, .06); text-align: center; }
.h-bb-stats small { font-size: 10.5px; font-weight: 700; color: rgba(255, 255, 255, .6); }
.h-bb-stats b { font-size: 14px; font-weight: 800; }
.h-bb-devs { display: grid; gap: 7px; margin: 0; padding: 0; list-style: none; }
.h-bb-devs li { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 12px; background: rgba(255, 255, 255, .05); font-size: 12.5px; font-weight: 700; color: rgba(255, 255, 255, .85); }
.h-bb-devs svg { width: 16px; height: 16px; color: #93c5fd; }
.h-bb-devs i { width: 8px; height: 8px; border-radius: 50%; background: #34d399; box-shadow: 0 0 0 3px rgba(52, 211, 153, .2); animation: pw-blink 1.6s steps(1) infinite; }
.h-bb-devs li:nth-child(2) i { animation-delay: -.5s; } .h-bb-devs li:nth-child(3) i { animation-delay: -1s; }
.h-bb-toast { position: absolute; z-index: 3; left: 0; bottom: 4%; display: flex; align-items: center; gap: 10px; padding: 11px 16px 11px 11px; border-radius: 16px; background: #fff; box-shadow: 0 24px 44px -18px rgba(11, 27, 63, .55); animation: ma-toast 7s var(--ease) -1s infinite; }
.h-bb-toast svg { width: 34px; height: 34px; padding: 8px; border-radius: 10px; background: var(--trust); color: #fff; }
.h-bb-toast b { display: block; font-size: 13.5px; color: var(--navy); }
.h-bb-toast small { font-size: 11.5px; color: var(--muted); }
.h-bb-wrap .h-wd-chip.is-a { left: 0; top: 2%; }
.h-bb-wrap .h-wd-chip.is-b { right: 0; top: 12%; }
.h-bb-wrap .h-wd-chip.is-c { left: auto; right: 4%; bottom: 0; }
@keyframes bb-gauge { from { stroke-dasharray: 0 100; } }
@media (prefers-reduced-motion: no-preference) { .h-bb-wrap.is-in .h-bb-gauge .fg { animation: bb-gauge 1.8s var(--ease) .3s both; } }
@media (prefers-reduced-motion: reduce) { .h-bb-toast, .h-bb-devs i { animation: none; } .h-bb-card { transform: none !important; } }
@media (max-width: 1100px) { .h-bb-wrap { max-width: 560px; } }
@media (max-width: 640px) { .h-bb-wrap .h-wd-chip.is-b { top: 2%; } .h-bb-wrap .h-wd-chip.is-c { display: none; } }
.h-bb-wrap .h-wd-chip.is-b { top: -2%; right: 10%; }

/* ==== School bus page: Pan-Haryana district explorer (.h-cov) =============== */
.h-cov { position: relative; padding: clamp(64px, 6vw, 110px) 0; background: linear-gradient(180deg, #fff, var(--mist)); }
.h-cov-head { display: grid; grid-template-columns: minmax(0, 1.3fr) auto; gap: clamp(24px, 4vw, 80px); align-items: end; margin-bottom: clamp(26px, 2.6vw, 44px); }
.h-cov-head > div > p:not(.h-eyebrow) { margin: 14px 0 0; font-size: clamp(15.5px, 8.53px + .484vw, 20.15px); line-height: 1.7; color: var(--muted); max-width: 40em; }
.h-cov-stats { display: flex; gap: 10px; margin: 0; padding: 0; list-style: none; }
.h-cov-stats li { display: grid; gap: 2px; min-width: 112px; padding: 14px 18px; border-radius: 18px; background: #fff; border: 1px solid var(--line); box-shadow: 0 12px 26px -20px rgba(11, 27, 63, .45); }
.h-cov-stats b { font-size: clamp(24px, 13.2px + .75vw, 32px); font-weight: 800; line-height: 1; color: var(--trust-d); }
.h-cov-stats span:not([data-count]) { font-size: 12.5px; font-weight: 700; color: var(--muted); }

.h-cov-box { display: grid; grid-template-columns: minmax(250px, .32fr) minmax(0, 1fr); border-radius: 26px; background: #fff; border: 1px solid var(--line); box-shadow: 0 40px 80px -52px rgba(11, 27, 63, .5); overflow: hidden; }
.h-cov-side { display: flex; flex-direction: column; gap: 10px; padding: 20px; background: linear-gradient(180deg, #0f2250, var(--navy)); color: #fff; }
.h-cov-search { position: relative; }
.h-cov-search svg { position: absolute; left: 14px; top: 50%; width: 17px; height: 17px; color: rgba(255, 255, 255, .6); transform: translateY(-50%); pointer-events: none; }
.h-cov-search input { width: 100%; min-height: 48px; padding: 0 14px 0 42px; border: 1px solid rgba(255, 255, 255, .18); border-radius: 14px; background: rgba(255, 255, 255, .08); font: inherit; font-size: 15px; color: #fff; transition: border-color .25s, background .25s; }
.h-cov-search input::placeholder { color: rgba(255, 255, 255, .55); }
.h-cov-search input:focus { outline: none; border-color: #93c5fd; background: rgba(255, 255, 255, .12); }
.h-cov-status { min-height: 1.2em; margin: 0 2px; font-size: 12.5px; font-weight: 700; color: #93c5fd; }
.h-cov-tabs { display: grid; gap: 3px; margin: 0; padding: 0 4px 0 0; list-style: none; max-height: 560px; overflow-y: auto; scrollbar-width: thin; scrollbar-color: rgba(255, 255, 255, .25) transparent; }
.h-cov-tab { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 12px; border-radius: 12px; font-size: 14.5px; font-weight: 700; color: rgba(255, 255, 255, .82); transition: background .25s, color .25s, transform .35s var(--ease); }
.h-cov-tab em { min-width: 28px; padding: 2px 8px; border-radius: 999px; background: rgba(255, 255, 255, .1); font-size: 12px; font-style: normal; font-weight: 800; text-align: center; }
.h-cov-tab:hover { background: rgba(255, 255, 255, .08); color: #fff; transform: translateX(3px); }
.h-cov-tab.is-on { background: #fff; color: var(--navy); }
.h-cov-tab.is-on em { background: var(--trust); color: #fff; }
.h-cov-tab:focus-visible { outline: 2px solid #93c5fd; outline-offset: 2px; }
.h-cov.is-searching .h-cov-tabs { opacity: .45; pointer-events: none; }

.h-cov-panel { display: grid; gap: 26px; align-content: start; padding: clamp(20px, 2.2vw, 36px); max-height: 690px; overflow-y: auto; scrollbar-width: thin; }
html:not(.h-js) .h-cov-panel { max-height: none; }
.h-cov-group.is-out { display: none; }
.h-cov-ghead { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 14px; padding-bottom: 12px; border-bottom: 1px dashed var(--line); }
.h-cov-ghead h3 { margin: 0; font-size: clamp(19px, 10.45px + .594vw, 24.7px); font-weight: 800; letter-spacing: -.015em; color: var(--navy); }
.h-cov-ghead span { font-size: 13px; font-weight: 700; color: var(--muted); }
.h-cov-cities { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 8px; margin: 0; padding: 0; list-style: none; }
.h-cov-cities li.is-out { display: none; }
.h-cov-city { display: flex; align-items: center; gap: 8px; padding: 11px 12px; border-radius: 12px; border: 1px solid var(--line); background: var(--mist); font-size: 14.5px; font-weight: 700; color: var(--navy); transition: background .25s, border-color .25s, color .25s, transform .35s var(--ease), box-shadow .35s var(--ease); }
.h-cov-city > svg:first-child { width: 16px; height: 16px; color: var(--trust); flex: 0 0 auto; }
.h-cov-city span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.h-cov-city .h-arrow { width: 15px; height: 15px; opacity: 0; transform: translateX(-4px); transition: opacity .25s, transform .35s var(--ease); }
.h-cov-city:hover { background: #fff; border-color: var(--trust); color: var(--trust-d); transform: translateY(-2px); box-shadow: 0 12px 22px -16px rgba(37, 99, 235, .6); }
.h-cov-city:hover .h-arrow { opacity: 1; transform: none; }
.h-cov-city:focus-visible { outline: 2px solid var(--trust); outline-offset: 2px; }
.h-cov-city mark { padding: 0; background: #fde68a; color: inherit; border-radius: 3px; }
.h-cov-empty { display: grid; justify-items: center; gap: 8px; padding: 40px 16px; text-align: center; color: var(--muted); }
.h-cov-empty[hidden] { display: none; }
.h-cov-empty > svg { width: 30px; height: 30px; color: var(--trust); }
.h-cov-empty p { margin: 0; font-weight: 700; color: var(--navy); }
@media (prefers-reduced-motion: no-preference) {
  .h-cov-group.is-anim .h-cov-cities li { animation: cov-in .45s var(--ease) both; animation-delay: calc(min(var(--k), 24) * 22ms); }
}
@keyframes cov-in { from { opacity: 0; transform: translateY(10px) scale(.97); } }
@media (max-width: 1024px) {
  .h-cov-head { grid-template-columns: 1fr; align-items: start; }
  .h-cov-box { grid-template-columns: 1fr; }
  .h-cov-tabs { display: flex; gap: 6px; max-height: none; overflow-x: auto; overflow-y: hidden; padding: 2px 0 6px; scrollbar-width: none; }
  .h-cov-tabs::-webkit-scrollbar { display: none; }
  .h-cov-tabs li { flex: 0 0 auto; }
  .h-cov-tab { white-space: nowrap; padding: 8px 12px; }
  .h-cov-tab:hover { transform: none; }
  .h-cov-panel { max-height: 560px; }
}
@media (max-width: 640px) {
  .h-cov-stats { flex-wrap: wrap; }
  .h-cov-stats li { min-width: 0; flex: 1; padding: 12px; }
  .h-cov-cities { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .h-cov-city { padding: 10px; font-size: 13.5px; }
}
@media (max-width: 1024px) {
  .h-cov-box { grid-template-columns: minmax(0, 1fr); }
  .h-cov-side, .h-cov-panel, .h-cov-side nav { min-width: 0; }
}
@media (max-width: 640px) {
  .h-cov-city span { white-space: normal; overflow: visible; text-overflow: clip; line-height: 1.25; }
  .h-cov-city .h-arrow { display: none; }
}

/* ==== City page template (tools/city-pages) — .h-cty-* ====================== */
/* location card */
.h-cty-card { position: relative; border-radius: 26px; overflow: hidden; background: linear-gradient(160deg, #0f2250, var(--navy) 60%, #081228); color: #fff; box-shadow: 0 40px 80px -40px rgba(11, 27, 63, .7); }
.h-cty-map { position: relative; aspect-ratio: 300 / 230; background: radial-gradient(circle at 50% 55%, rgba(37, 99, 235, .35), transparent 60%); }
.h-cty-map svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.h-cty-map pattern circle { fill: rgba(255, 255, 255, .1); }
.h-cty-route { fill: none; stroke: #fbbf24; stroke-width: 2; stroke-dasharray: 5 6; animation: pw-dash 1.4s linear infinite; }
.h-cty-office circle { fill: #d0460b; stroke: #fff; stroke-width: 2.5; }
.h-cty-office text { fill: #fff; font: 800 12px var(--font); paint-order: stroke; stroke: #0b1b3f; stroke-width: 4px; }
.h-cty-pin .dot { fill: #60a5fa; stroke: #fff; stroke-width: 3; }
.h-cty-pin .r1, .h-cty-pin .r2 { fill: none; stroke: #60a5fa; stroke-width: 2; transform-box: fill-box; transform-origin: center; animation: pw-radar 2.8s var(--ease) infinite; }
.h-cty-pin .r2 { animation-delay: 1.4s; }
.h-cty-name { position: absolute; left: 50%; top: 57%; padding: 6px 14px; border-radius: 999px; background: #fff; color: var(--navy); font-size: 15px; font-weight: 800; transform: translate(-50%, 18px); box-shadow: 0 12px 24px -10px rgba(0, 0, 0, .6); white-space: nowrap; }
.h-cty-body { display: grid; gap: 14px; padding: 0 clamp(20px, 2vw, 30px) clamp(22px, 2vw, 30px); }
.h-cty-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 0; padding: 0; list-style: none; }
.h-cty-facts li { display: grid; gap: 2px; padding: 12px; border-radius: 14px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); }
.h-cty-facts small { font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: rgba(255, 255, 255, .55); }
.h-cty-facts b { font-size: clamp(15px, 8.25px + .469vw, 19.5px); font-weight: 800; }
.h-cty-dist { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 14px; font-weight: 700; color: #fcd34d; }
.h-cty-dist svg { width: 17px; height: 17px; }
.h-cty-lbl { margin: 4px 0 0; font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: #93c5fd; }
.h-cty-areas { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.h-cty-areas li { padding: 5px 11px; border-radius: 999px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .12); font-size: 12.5px; font-weight: 700; color: #e5edff; }

/* industries */
.h-cty-inds { padding: clamp(64px, 6vw, 110px) 0; background: var(--mist); }
.h-cty-ind-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 1.4vw, 24px); }
.h-cty-ind { position: relative; padding: clamp(22px, 2vw, 32px); border-radius: 22px; background: #fff; border: 1px solid var(--line); overflow: hidden; transition: transform .6s var(--ease), box-shadow .6s var(--ease), border-color .4s; }
.h-cty-ind::after { content: ""; position: absolute; right: -40px; bottom: -40px; width: 120px; height: 120px; border-radius: 50%; background: radial-gradient(closest-side, rgba(37, 99, 235, .12), transparent); transition: transform .8s var(--ease); }
.h-cty-ind:hover { transform: translateY(-5px); border-color: rgba(37, 99, 235, .35); box-shadow: 0 30px 56px -36px rgba(11, 27, 63, .5); }
.h-cty-ind:hover::after { transform: scale(1.8); }
.h-cty-ind-ico { display: inline-flex; align-items: center; justify-content: center; width: 50px; height: 50px; margin-bottom: 16px; border-radius: 14px; background: var(--trust-50); color: var(--trust); transition: background .35s, color .35s, transform .6s var(--ease); }
.h-cty-ind-ico svg { width: 23px; height: 23px; }
.h-cty-ind:hover .h-cty-ind-ico { background: var(--trust); color: #fff; transform: rotate(-8deg); }
.h-cty-ind h3 { margin: 0; font-size: clamp(17px, 9.35px + .531vw, 22.1px); font-weight: 800; color: var(--navy); }
.h-cty-ind p { margin: 8px 0 0; font-size: clamp(14px, 7.7px + .4375vw, 18.2px); line-height: 1.6; color: var(--text); }

/* local SEO */
.h-cty-seo { background: #fff; }
.h-cty-list { display: grid; gap: 10px; margin: 18px 0 0; padding: 0; list-style: none; }
.h-cty-list li { display: flex; align-items: flex-start; gap: 10px; font-size: clamp(15px, 8.25px + .469vw, 19.5px); font-weight: 600; color: var(--navy); }
.h-cty-list svg { width: 20px; height: 20px; margin-top: 2px; color: #16a34a; flex: 0 0 auto; }

/* nearby cities */
.h-cty-near { padding: 0 0 clamp(64px, 6vw, 110px); background: #fff; }
.h-cty-near-box { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.6fr); gap: clamp(20px, 3vw, 56px); align-items: center; padding: clamp(26px, 3vw, 52px); border-radius: 28px; background: radial-gradient(600px 300px at 90% 0%, rgba(37, 99, 235, .35), transparent 60%), linear-gradient(160deg, #0f2250, var(--navy)); }
.h-cty-near-box .h-title .hl { color: var(--trust-light); }
.h-cty-near-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 0; padding: 0; list-style: none; }
.h-cty-near-list a { display: flex; align-items: center; gap: 9px; padding: 12px 14px; border-radius: 14px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); font-size: 14.5px; font-weight: 700; color: #fff; transition: background .25s, color .25s, transform .35s var(--ease); }
.h-cty-near-list a > svg:first-child { width: 16px; height: 16px; color: #93c5fd; flex: 0 0 auto; }
.h-cty-near-list a .h-arrow { width: 15px; height: 15px; margin-left: auto; opacity: .5; transition: opacity .25s, transform .35s var(--ease); }
.h-cty-near-list a:hover { background: #fff; color: var(--navy); transform: translateY(-2px); }
.h-cty-near-list a:hover .h-arrow { opacity: 1; transform: translateX(3px); }
.h-cty-near-list a.is-hub { background: var(--trust); border-color: transparent; }
.h-cty-near-list a.is-hub > svg:first-child { color: #fff; }
.h-cty-near-list a:focus-visible { outline: 2px solid #93c5fd; outline-offset: 2px; }

@media (prefers-reduced-motion: reduce) { .h-cty-route, .h-cty-pin .r1, .h-cty-pin .r2 { animation: none; } }
@media (max-width: 1100px) {
  .h-cty-ind-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .h-cty-card { max-width: 560px; }
  .h-cty-near-box { grid-template-columns: 1fr; }
  .h-cty-seo .h-wd-intro-grid > .h-seo-serp-wrap { order: 2; }
}
@media (max-width: 640px) {
  .h-cty-ind-grid, .h-cty-near-list { grid-template-columns: 1fr; }
  .h-cty-facts { gap: 6px; } .h-cty-facts li { padding: 10px; }
}

/* ==== Bus city template (tools/city-pages/build_bus.py) ===================== */
.h-bus-local { background: #fff; }
.h-bus-near { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 20px 0 0; padding: 0; list-style: none; }
.h-bus-near a { display: flex; align-items: center; gap: 9px; padding: 12px 14px; border-radius: 14px; background: var(--mist); border: 1px solid var(--line); font-size: 14.5px; font-weight: 700; color: var(--navy); text-decoration: none !important; transition: background .25s, border-color .25s, color .25s, transform .35s var(--ease); }
.h-bus-near a > svg:first-child { width: 16px; height: 16px; color: var(--trust); flex: 0 0 auto; }
.h-bus-near a .h-arrow { width: 15px; height: 15px; margin-left: auto; opacity: .5; transition: opacity .25s, transform .35s var(--ease); }
.h-bus-near a:hover { background: #fff; border-color: var(--trust); color: var(--trust-d); transform: translateY(-2px); }
.h-bus-near a:hover .h-arrow { opacity: 1; transform: translateX(3px); }
.h-bus-near a.is-hub { background: var(--navy); border-color: var(--navy); color: #fff; }
.h-bus-near a.is-hub > svg:first-child { color: #fbbf24; }
.h-bus-near a:focus-visible { outline: 2px solid var(--trust); outline-offset: 2px; }
@media (max-width: 640px) { .h-bus-near { grid-template-columns: 1fr; } }
.h-wd-intro-copy .h-bus-near a { color: var(--navy) !important; text-decoration: none !important; font-weight: 700; }
.h-wd-intro-copy .h-bus-near a:hover { color: var(--trust-d) !important; }
.h-wd-intro-copy .h-bus-near a.is-hub { color: #fff !important; }
.h-bus-local .h-cty-card { align-self: stretch; }
/* fix: active timeline nodes on mist sections must stay blue (white node rule above was overriding them) */
.h-proc.is-mist .h-proc-step.is-on .h-proc-node { background: var(--trust); color: #fff; box-shadow: 0 10px 24px -8px rgba(37, 99, 235, .7); }

/* ==== City templates v2: quick answer, all services, areas ================= */
.h-qa { padding: clamp(36px, 3.4vw, 60px) 0 0; background: #fff; }
.h-qa-box { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(20px, 3vw, 56px); padding: clamp(22px, 2.4vw, 40px); border-radius: 24px; background: linear-gradient(135deg, var(--trust-50), #fff 70%); border: 1px solid rgba(37, 99, 235, .2); }
.h-qa-tag { display: inline-flex; align-items: center; gap: 7px; margin: 0 0 10px; padding: 5px 12px; border-radius: 999px; background: #fff; border: 1px solid rgba(37, 99, 235, .25); font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--trust-d); }
.h-qa-tag svg { width: 15px; height: 15px; color: #16a34a; }
.h-qa-ans h2 { margin: 0; font-size: clamp(20px, 11px + .63vw, 27px); font-weight: 800; line-height: 1.3; color: var(--navy); }
.h-qa-ans p:not(.h-qa-tag) { margin: 10px 0 0; font-size: clamp(15px, 8.25px + .469vw, 19.5px); line-height: 1.7; color: var(--text); }
.h-qa-facts { display: grid; gap: 10px; margin: 0; align-content: center; }
.h-qa-facts div { display: grid; grid-template-columns: 140px 1fr; gap: 12px; padding: 12px 14px; border-radius: 14px; background: #fff; border: 1px solid var(--line); }
.h-qa-facts dt { font-size: 12.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--trust-d); }
.h-qa-facts dd { margin: 0; font-size: clamp(14px, 7.7px + .4375vw, 18.2px); font-weight: 600; color: var(--navy); }

.h-cty-svcs { padding: clamp(64px, 6vw, 110px) 0; background: #fff; }
.h-cty-svc-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(12px, 1.2vw, 20px); }
.h-cty-svc { position: relative; display: flex; flex-direction: column; padding: clamp(20px, 1.8vw, 28px); border-radius: 20px; background: var(--mist); border: 1px solid var(--line); transition: transform .5s var(--ease), background .35s, border-color .35s, box-shadow .5s var(--ease); }
.h-cty-svc:hover { transform: translateY(-5px); background: #fff; border-color: rgba(37, 99, 235, .35); box-shadow: 0 26px 46px -30px rgba(11, 27, 63, .5); }
.h-cty-svc-ico { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; margin-bottom: 14px; border-radius: 13px; background: #fff; color: var(--trust); box-shadow: 0 8px 18px -12px rgba(11, 27, 63, .35); transition: background .35s, color .35s, transform .6s var(--ease); }
.h-cty-svc-ico svg { width: 22px; height: 22px; }
.h-cty-svc:hover .h-cty-svc-ico { background: var(--trust); color: #fff; transform: rotate(-8deg); }
.h-cty-svc h3 { margin: 0; font-size: clamp(16px, 8.8px + .5vw, 20.8px); font-weight: 800; line-height: 1.3; color: var(--navy); }
.h-cty-svc p { margin: 8px 0 0; font-size: clamp(13.5px, 7.425px + .422vw, 17.55px); line-height: 1.55; color: var(--text); flex: 1; }
.h-cty-svc-link, .h-cty-svc-sub { display: inline-flex; align-items: center; gap: 7px; margin-top: 14px; font-size: 14px; font-weight: 800; color: var(--trust-d); }
.h-cty-svc-sub { margin-top: 6px; font-weight: 700; color: var(--navy); }
.h-cty-svc-link::after { content: ""; position: absolute; inset: 0; border-radius: 20px; }
.h-cty-svc-sub { position: relative; z-index: 1; }
.h-cty-svc .h-arrow { width: 15px; height: 15px; transition: transform .35s var(--ease); }
.h-cty-svc:hover .h-cty-svc-link .h-arrow { transform: translateX(4px); }
.h-cty-svc:focus-within { outline: 2px solid var(--trust); outline-offset: 3px; }
.h-cty-svc-link:focus-visible, .h-cty-svc-sub:focus-visible { outline: none; }

.h-cty-area { padding: clamp(56px, 5vw, 90px) 0; background: var(--mist); }
.h-cty-area-list { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.h-cty-area-list li { display: inline-flex; align-items: center; gap: 7px; padding: 9px 15px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: clamp(13.5px, 7.425px + .422vw, 17.55px); font-weight: 700; color: var(--navy); transition: border-color .25s, transform .35s var(--ease); }
.h-cty-area-list li:hover { border-color: var(--trust); transform: translateY(-2px); }
.h-cty-area-list svg { width: 15px; height: 15px; color: var(--trust); }
@media (max-width: 1100px) { .h-cty-svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .h-qa-box { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .h-cty-svc-grid { grid-template-columns: 1fr; } .h-qa-facts div { grid-template-columns: 1fr; gap: 4px; } }

/* school ERP block on bus pages */
.h-bus-erp { padding: clamp(64px, 6vw, 110px) 0; background: #fff; }
.h-bus-erp-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: clamp(24px, 4vw, 80px); align-items: center; }
.h-bus-erp-copy > p:not(.h-eyebrow) { margin: 14px 0 0; font-size: clamp(15.5px, 8.53px + .484vw, 20.15px); line-height: 1.75; color: var(--text); }
.h-bus-erp-copy .h-btn-row { margin-top: 24px; align-items: center; gap: 12px 24px; }
.h-bus-erp-mods { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 0; padding: 0; list-style: none; }
.h-bus-erp-mods li { display: flex; align-items: flex-start; gap: 12px; padding: 16px; border-radius: 16px; background: var(--mist); border: 1px solid var(--line); transition: transform .45s var(--ease), border-color .3s, background .3s; }
.h-bus-erp-mods li:hover { transform: translateY(-3px); background: #fff; border-color: rgba(37, 99, 235, .35); }
.h-bus-erp-mods .ic { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 12px; background: var(--navy); color: #fff; flex: 0 0 auto; }
.h-bus-erp-mods .ic svg { width: 19px; height: 19px; }
.h-bus-erp-mods b { display: block; font-size: 15px; font-weight: 800; color: var(--navy); }
.h-bus-erp-mods small { display: block; margin-top: 2px; font-size: 13px; line-height: 1.45; color: var(--muted); }
.h-bus-erp-mods li.is-link { background: var(--navy); border-color: var(--navy); }
.h-bus-erp-mods li.is-link .ic { background: #fbbf24; color: #0b1b3f; }
.h-bus-erp-mods li.is-link b { color: #fff; }
.h-bus-erp-mods li.is-link small { color: rgba(255, 255, 255, .7); }
@media (max-width: 1024px) { .h-bus-erp-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .h-bus-erp-mods { grid-template-columns: 1fr; } }
.h-all22 { background: #fff; }
.h-all22-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin: 0; padding: 0; list-style: none; }
.h-all22-list a { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-radius: 16px; background: var(--mist); border: 1px solid var(--line); color: var(--navy); transition: background .25s, border-color .25s, transform .35s var(--ease); }
.h-all22-list a > svg:first-child { width: 18px; height: 18px; color: var(--trust); flex: 0 0 auto; }
.h-all22-list b { display: block; font-size: 15.5px; font-weight: 800; }
.h-all22-list small { display: block; font-size: 12.5px; color: var(--muted); }
.h-all22-list .h-arrow { width: 15px; height: 15px; margin-left: auto; opacity: .5; transition: opacity .25s, transform .35s var(--ease); }
.h-all22-list a:hover { background: #fff; border-color: var(--trust); transform: translateY(-2px); }
.h-all22-list a:hover .h-arrow { opacity: 1; transform: translateX(3px); }
@media (max-width: 1100px) { .h-all22-list { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) { .h-all22-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 420px) { .h-all22-list { grid-template-columns: 1fr; } }

/* ==== Homepage portfolio (.h-pf) ============================================ */
.h-pf { padding: clamp(64px, 6vw, 110px) 0; background: var(--mist); }
.h-pf-head { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 80px); align-items: end; margin-bottom: clamp(22px, 2.2vw, 36px); }
.h-pf-head-side p { margin: 0 0 20px; font-size: clamp(16px, 8.8px + .5vw, 20.8px); line-height: 1.7; color: var(--muted); max-width: 32em; }
.h-pf-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: clamp(22px, 2vw, 34px); }
.h-pf-filter { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 12px 0 16px; border: 1.5px solid var(--line); border-radius: 999px; background: #fff; font: inherit; font-size: 14.5px; font-weight: 700; color: var(--navy); cursor: pointer; transition: background .25s, border-color .25s, color .25s, transform .35s var(--ease); }
.h-pf-filter span { min-width: 22px; padding: 1px 7px; border-radius: 999px; background: var(--trust-50); color: var(--trust-d); font-size: 12px; font-weight: 800; text-align: center; }
.h-pf-filter:hover { border-color: var(--navy); transform: translateY(-2px); }
.h-pf-filter.is-on { background: var(--navy); border-color: var(--navy); color: #fff; }
.h-pf-filter.is-on span { background: rgba(255, 255, 255, .18); color: #fff; }
.h-pf-filter:focus-visible { outline: 2px solid var(--trust); outline-offset: 2px; }

.h-pf-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 1.6vw, 28px); }
.h-pf-card { display: flex; flex-direction: column; border-radius: 22px; background: #fff; border: 1px solid var(--line); overflow: hidden; transition: transform .6s var(--ease), box-shadow .6s var(--ease), border-color .4s; }
.h-pf-card:hover { transform: translateY(-6px); border-color: rgba(37, 99, 235, .35); box-shadow: 0 34px 60px -36px rgba(11, 27, 63, .55); }
.h-pf-card.is-out { display: none; }
.h-pf-card.is-feat { grid-column: span 2; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); }
.h-pf-shot { position: relative; display: block; margin: 14px 14px 0; border-radius: 14px; overflow: hidden; background: #0b1b3f; box-shadow: 0 16px 34px -22px rgba(11, 27, 63, .6); }
.h-pf-card.is-feat .h-pf-shot { margin: 16px 0 16px 16px; }
.h-pf-bar { display: flex; align-items: center; gap: 6px; padding: 9px 12px; background: #eef2f8; border-bottom: 1px solid var(--line); }
.h-pf-bar i { width: 8px; height: 8px; border-radius: 50%; background: #ff5f57; }
.h-pf-bar i:nth-child(2) { background: #febc2e; }
.h-pf-bar i:nth-child(3) { background: #28c840; }
.h-pf-bar span { flex: 1; margin-left: 8px; padding: 3px 10px; border-radius: 999px; background: #fff; font-size: 11.5px; font-weight: 700; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.h-pf-view { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; background: #f3f6fb; }
.h-pf-card.is-feat .h-pf-view { aspect-ratio: auto; height: calc(100% - 35px); min-height: 320px; }
.h-pf-view img { display: block; width: 100%; height: auto; transform: translateY(0); transition: transform var(--dur, 6s) cubic-bezier(.45, .05, .35, 1); will-change: transform; }
.h-pf-shot:hover .h-pf-view img, .h-pf-shot:focus-visible .h-pf-view img { transform: translateY(var(--shift, 0px)); transition-duration: var(--dur, 6s); }
.h-pf-shot:not(:hover) .h-pf-view img { transition-duration: .9s; }
.h-pf-shot:focus-visible { outline: 3px solid var(--trust); outline-offset: 3px; }
.h-pf-hint { position: absolute; right: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px; background: rgba(11, 27, 63, .82); color: #fff; font-size: 12px; font-weight: 700; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); transition: opacity .3s; }
.h-pf-hint svg { width: 13px; height: 13px; transform: rotate(90deg); animation: pf-nudge 1.6s ease-in-out infinite; }
.h-pf-shot:hover .h-pf-hint { opacity: 0; }
@keyframes pf-nudge { 50% { transform: rotate(90deg) translateX(3px); } }
.h-pf-body { display: flex; flex-direction: column; flex: 1; padding: clamp(18px, 1.6vw, 26px); }
.h-pf-card.is-feat .h-pf-body { justify-content: center; padding: clamp(22px, 2.4vw, 40px); }
.h-pf-tag { align-self: flex-start; margin: 0 0 10px; padding: 4px 11px; border-radius: 999px; background: var(--trust-50); color: var(--trust-d); font-size: 12px; font-weight: 800; letter-spacing: .04em; }
.h-pf-card.is-feat .h-pf-tag { background: #fef3c7; color: #92400e; }
.h-pf-body h3 { margin: 0; font-size: clamp(18px, 9.9px + .5625vw, 23.4px); font-weight: 800; line-height: 1.3; color: var(--navy); }
.h-pf-card.is-feat .h-pf-body h3 { font-size: clamp(22px, 12.1px + .69vw, 29px); }
.h-pf-body > p:not(.h-pf-tag) { margin: 8px 0 0; font-size: clamp(14px, 7.7px + .4375vw, 18.2px); line-height: 1.6; color: var(--text); }
.h-pf-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 14px 0 0; padding: 0; list-style: none; }
.h-pf-chips li { padding: 4px 10px; border-radius: 999px; background: var(--mist); border: 1px solid var(--line); font-size: 12px; font-weight: 700; color: var(--navy); }
.h-pf-link { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 16px; font-size: 14.5px; font-weight: 800; color: var(--trust-d); align-self: flex-start; }
.h-pf-link:hover { color: var(--navy); }
.h-pf-link .h-arrow { transition: transform .35s var(--ease); }
.h-pf-link:hover .h-arrow { transform: translateX(4px); }
.h-pf-cta { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 12px; padding: clamp(24px, 2.4vw, 40px); border-radius: 22px; background: radial-gradient(400px 260px at 100% 0%, rgba(37, 99, 235, .45), transparent 60%), linear-gradient(160deg, #0f2250, var(--navy)); color: #fff; }
.h-pf-cta.is-out { display: none; }
.h-pf-cta-ico { display: inline-flex; align-items: center; justify-content: center; width: 50px; height: 50px; border-radius: 14px; background: rgba(96, 165, 250, .18); color: #93c5fd; }
.h-pf-cta-ico svg { width: 24px; height: 24px; }
.h-pf-cta h3 { margin: 0; font-size: clamp(20px, 11px + .63vw, 27px); font-weight: 800; color: #fff; }
.h-pf-cta p { margin: 0; font-size: clamp(14.5px, 7.98px + .453vw, 18.85px); line-height: 1.6; color: rgba(255, 255, 255, .75); }
@media (hover: none), (prefers-reduced-motion: reduce) { .h-pf-hint { display: none; } .h-pf-shot:hover .h-pf-view img { transform: none; } }
@media (max-width: 1100px) {
  .h-pf-head { grid-template-columns: 1fr; align-items: start; }
  .h-pf-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .h-pf-card.is-feat { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .h-pf-card.is-feat { grid-template-columns: 1fr; }
  .h-pf-card.is-feat .h-pf-shot { margin: 14px 14px 0; }
  .h-pf-card.is-feat .h-pf-view { aspect-ratio: 16 / 10; height: auto; min-height: 0; }
}
@media (max-width: 640px) {
  .h-pf-grid { grid-template-columns: 1fr; }
  .h-pf-filters { flex-wrap: nowrap; overflow-x: auto; margin-left: calc(var(--gutter) * -1); margin-right: calc(var(--gutter) * -1); padding: 2px var(--gutter) 6px; scrollbar-width: none; }
  .h-pf-filters::-webkit-scrollbar { display: none; }
  .h-pf-filter { flex: 0 0 auto; white-space: nowrap; }
}
.h-pf-card.is-feat { align-items: center; }
.h-pf-card.is-feat .h-pf-view { aspect-ratio: 16 / 10.5; height: auto; min-height: 0; }

/* ==== DVM VigiCore product page (.h-vc-*) =================================== */
.h-vc-meta { display: flex; align-items: center; gap: 8px; margin: 16px 0 0; font-size: clamp(13.5px, 7.4px + .42vw, 17.5px); font-weight: 600; color: var(--muted); }
.h-vc-meta svg { width: 18px; height: 18px; flex: 0 0 auto; color: #16a34a; }
.h-vc-dl svg { width: 19px; height: 19px; }

/* intro mockup: live view with animated detection boxes */
.h-vc-live { position: relative; }
.h-vc-live img { aspect-ratio: 16 / 10; object-fit: cover; }
.h-vc-box { position: absolute; border: 2px solid #22c55e; border-radius: 3px; box-shadow: 0 0 0 1px rgba(0, 0, 0, .25); animation: vc-box 5s ease-in-out infinite; }
.h-vc-box em { position: absolute; left: -2px; bottom: 100%; padding: 2px 6px; border-radius: 3px 3px 0 0; background: #22c55e; color: #fff; font-size: 10px; font-style: normal; font-weight: 800; white-space: nowrap; }
.h-vc-box.is-a { left: 72.6%; top: 33%; width: 15.6%; height: 15%; border-color: #3b82f6; animation-delay: -2.5s; }
.h-vc-box.is-a em { background: #3b82f6; }
.h-vc-box.is-b { left: 36.7%; top: 17%; width: 21%; height: 33%; }
@keyframes vc-box { 0%, 12% { opacity: 0; transform: scale(1.08); } 20%, 80% { opacity: 1; transform: none; } 90%, 100% { opacity: 0; } }
.h-vc-toast { position: absolute; z-index: 2; right: 0; bottom: 6%; display: flex; align-items: center; gap: 10px; max-width: 250px; padding: 11px 14px; border-radius: 14px; background: var(--navy); color: #fff; box-shadow: 0 22px 40px -18px rgba(11, 27, 63, .7); animation: vc-toast 5s ease-in-out infinite; }
.h-vc-toast > svg { width: 20px; height: 20px; flex: 0 0 auto; padding: 7px; box-sizing: content-box; border-radius: 10px; background: rgba(239, 68, 68, .2); color: #fca5a5; }
.h-vc-toast b { display: block; font-size: 13px; font-weight: 800; }
.h-vc-toast small { display: block; font-size: 11.5px; color: rgba(255, 255, 255, .7); }
@keyframes vc-toast { 0%, 20% { opacity: 0; transform: translateY(10px); } 30%, 85% { opacity: 1; transform: none; } 95%, 100% { opacity: 0; transform: translateY(-6px); } }
.h-vc-mock-wrap .h-wd-chip.is-c { bottom: auto; top: 2%; left: auto; right: 4%; }

/* reliability */
.h-vc-rel { padding: clamp(64px, 6vw, 110px) 0; background: #fff; }
.h-vc-rel-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(32px, 5vw, 100px); align-items: center; }
.h-vc-rel-lead { margin: 16px 0 0; font-size: clamp(15.5px, 8.53px + .484vw, 20.15px); line-height: 1.75; color: var(--text); max-width: 34em; }
.h-vc-rel-list { margin: 26px 0 0; padding: 0; list-style: none; counter-reset: rel; display: grid; gap: 12px; }
.h-vc-rel-list li { position: relative; padding: 16px 18px 16px 62px; border-radius: 16px; background: var(--mist); border: 1px solid var(--line); font-size: clamp(14.5px, 7.98px + .453vw, 18.85px); line-height: 1.6; color: var(--text); counter-increment: rel; transition: border-color .3s, transform .4s var(--ease); }
.h-vc-rel-list li:hover { border-color: rgba(37, 99, 235, .35); transform: translateX(4px); }
.h-vc-rel-list li::before { content: counter(rel, decimal-leading-zero); position: absolute; left: 16px; top: 15px; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; background: var(--navy); color: #fff; font-size: 12px; font-weight: 800; }
.h-vc-rel-list b { color: var(--navy); }
.h-vc-status { padding: clamp(20px, 2vw, 32px); border-radius: 24px; background: linear-gradient(160deg, #0f2250, var(--navy) 60%, #081228); color: #fff; box-shadow: 0 40px 70px -40px rgba(11, 27, 63, .75); }
.h-vc-status-t { display: flex; align-items: center; justify-content: space-between; flex-direction: row-reverse; margin: 0 0 16px; font-size: 15px; font-weight: 800; }
.h-vc-status ul { margin: 0; padding: 0; list-style: none; }
.h-vc-status li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 13px 0; border-top: 1px solid rgba(255, 255, 255, .1); font-size: clamp(14px, 7.7px + .4375vw, 18.2px); color: rgba(255, 255, 255, .8); }
.h-vc-status li b { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 800; letter-spacing: .04em; color: #6ee7b7; }
.h-vc-status li b::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #34d399; box-shadow: 0 0 0 4px rgba(52, 211, 153, .18); }
.h-vc-status-f { margin: 14px 0 0; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 12.5px; color: rgba(255, 255, 255, .6); }

/* screenshot gallery */
.h-vc-gal { padding: clamp(64px, 6vw, 110px) 0; background: var(--mist); }
.h-vc-gal-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 1.6vw, 28px); }
.h-vc-shot { margin: 0; border-radius: 18px; overflow: hidden; background: #fff; border: 1px solid var(--line); box-shadow: 0 24px 50px -38px rgba(11, 27, 63, .55); transition: transform .6s var(--ease), box-shadow .6s var(--ease); }
.h-vc-shot:hover { transform: translateY(-6px); box-shadow: 0 34px 60px -36px rgba(11, 27, 63, .55); }
.h-vc-shot.is-wide { grid-column: 1 / -1; }
.h-vc-shot img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
.h-vc-shot figcaption { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; padding: 14px 18px 16px; border-top: 1px solid var(--line); font-size: clamp(13.5px, 7.4px + .42vw, 17.5px); color: var(--muted); }
.h-vc-shot figcaption b { font-size: clamp(15px, 8.25px + .469vw, 19.5px); font-weight: 800; color: var(--navy); }

/* use cases */
.h-vc-uses { padding: clamp(64px, 6vw, 110px) 0; background: #fff; }
.h-vc-use-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 1.6vw, 28px); }
.h-vc-use { position: relative; min-height: 280px; border-radius: 22px; overflow: hidden; display: flex; align-items: flex-end; isolation: isolate; }
.h-vc-use img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.h-vc-use::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(11, 27, 63, 0) 25%, rgba(11, 27, 63, .92)); }
.h-vc-use:hover img { transform: scale(1.06); }
.h-vc-use div { padding: clamp(18px, 1.6vw, 26px); color: #fff; }
.h-vc-use h3 { margin: 0; font-size: clamp(18px, 9.9px + .5625vw, 23.4px); font-weight: 800; color: #fff; }
.h-vc-use p { margin: 6px 0 0; font-size: clamp(14px, 7.7px + .4375vw, 18.2px); line-height: 1.55; color: rgba(255, 255, 255, .82); }

/* download */
.h-vc-download { padding: clamp(64px, 6vw, 110px) 0; background: var(--mist); }
.h-vc-dl-box { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(28px, 4vw, 80px); padding: clamp(26px, 3.4vw, 64px); border-radius: 28px; background: radial-gradient(600px 360px at 100% 0%, rgba(37, 99, 235, .42), transparent 60%), linear-gradient(160deg, #0f2250, var(--navy) 55%, #081228); color: #fff; box-shadow: 0 50px 90px -50px rgba(11, 27, 63, .8); }
.h-vc-dl-main > p:not(.h-eyebrow):not(.h-vc-sha) { margin: 16px 0 0; font-size: clamp(15.5px, 8.53px + .484vw, 20.15px); line-height: 1.7; color: rgba(255, 255, 255, .78); max-width: 32em; }
.h-vc-dl-box .h-title .hl { color: var(--trust-light, #93c5fd); }
.h-vc-dl-file { display: flex; align-items: center; gap: 14px; margin: 24px 0 0; padding: 14px 16px; border-radius: 16px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .12); }
.h-vc-dl-ico { display: grid; place-items: center; width: 46px; height: 46px; flex: 0 0 auto; border-radius: 12px; background: rgba(96, 165, 250, .2); color: #93c5fd; }
.h-vc-dl-ico svg { width: 22px; height: 22px; }
.h-vc-dl-file b { display: block; font-size: clamp(15px, 8.25px + .469vw, 19.5px); font-weight: 800; overflow-wrap: anywhere; }
.h-vc-dl-file small { display: block; margin-top: 2px; font-size: clamp(12.5px, 6.9px + .39vw, 16.25px); color: rgba(255, 255, 255, .65); }
.h-vc-dl-main .h-btn-row { margin-top: 22px; }
.h-vc-sha { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin: 18px 0 0; font-size: 12px; color: rgba(255, 255, 255, .6); }
.h-vc-sha span { font-weight: 800; letter-spacing: .06em; }
.h-vc-sha code { min-width: 0; padding: 4px 8px; border-radius: 8px; background: rgba(0, 0, 0, .25); font-family: Consolas, "SFMono-Regular", monospace; font-size: 11.5px; color: rgba(255, 255, 255, .85); overflow-wrap: anywhere; }
.h-vc-dl-steps { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; align-content: center; }
.h-vc-dl-steps li { display: flex; gap: 14px; align-items: flex-start; padding: 14px 16px; border-radius: 16px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); }
.h-vc-dl-steps li > span { flex: 0 0 auto; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--trust); font-size: 12.5px; font-weight: 800; }
.h-vc-dl-steps b { display: block; font-size: clamp(15px, 8.25px + .469vw, 19.5px); font-weight: 800; }
.h-vc-dl-steps small { display: block; margin-top: 2px; font-size: clamp(13px, 7.15px + .406vw, 16.9px); line-height: 1.5; color: rgba(255, 255, 255, .7); }

@media (prefers-reduced-motion: reduce) { .h-vc-box, .h-vc-toast { animation: none !important; opacity: 1; } }
@media (max-width: 1100px) {
  .h-vc-rel-grid, .h-vc-dl-box { grid-template-columns: 1fr; }
  .h-vc-gal-grid, .h-vc-use-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .h-vc-gal-grid, .h-vc-use-grid { grid-template-columns: 1fr; }
  .h-vc-meta { align-items: flex-start; }
  .h-vc-toast { display: none; }
  .h-vc-use { min-height: 230px; }
}

/* ==== Homepage: VigiCore product card + portfolio CTA row ================== */
.h-pc.is-vms { grid-column: span 12; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); grid-template-rows: auto 1fr; gap: 18px clamp(22px, 3vw, 56px); }
.h-pc.is-vms .h-pc-copy { grid-column: 1; grid-row: 1; }
.h-pc.is-vms .h-pc-foot { grid-column: 1; grid-row: 2; align-self: end; }
.h-pc.is-vms .h-pc-foot .h-pc-link > svg:first-child { width: 18px; height: 18px; }
.h-pc.is-vms h3 { font-size: clamp(22px, 12.1px + .69vw, 29px); }
.pw-vms { grid-column: 2; grid-row: 1 / span 2; align-self: center; }
.pw-vms img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; opacity: .92; }
.pw-vms .pw-rec { left: auto; right: 12px; }
.pw-vms .pw-rec i { width: 7px; height: 7px; border-radius: 50%; background: #ef4444; animation: pw-blink 1.2s steps(1) infinite; }
.pw-vms-box { position: absolute; left: 72.6%; top: 33%; width: 15.6%; height: 15%; border: 2px solid #3b82f6; border-radius: 3px; animation: vc-box 5s ease-in-out infinite; }
.pw-vms-box em { position: absolute; left: -2px; bottom: 100%; padding: 2px 6px; border-radius: 3px 3px 0 0; background: #3b82f6; color: #fff; font-size: 10px; font-style: normal; font-weight: 800; white-space: nowrap; }
@media (max-width: 900px) {
  .h-pc.is-vms { grid-template-columns: 1fr; grid-template-rows: none; }
  .h-pc.is-vms .h-pc-copy, .h-pc.is-vms .h-pc-foot, .pw-vms { grid-column: 1; grid-row: auto; }
}
@media (min-width: 1101px) {
  .h-pf-cta { grid-column: 1 / -1; flex-direction: row; align-items: center; gap: 18px 28px; }
  .h-pf-cta p { flex: 1; }
  .h-pf-cta h3 { flex: 0 0 auto; }
  .h-pf-cta .h-btn { flex: 0 0 auto; }
}

/* ==== VigiCore TV (Android TV) section ===================================== */
.h-vc-tv { padding: clamp(64px, 6vw, 110px) 0; background: #fff; overflow: hidden; }
.h-vc-tv-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 100px); align-items: center; }
.h-vc-tv-lead { margin: 16px 0 0; font-size: clamp(15.5px, 8.53px + .484vw, 20.15px); line-height: 1.75; color: var(--text); max-width: 34em; }
.h-vc-tv-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 22px; margin: 26px 0 0; padding: 0; list-style: none; }
.h-vc-tv-list li { display: flex; gap: 12px; align-items: flex-start; }
.h-vc-tv-list .ic { flex: 0 0 auto; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 11px; background: var(--trust-50); color: var(--trust-d); }
.h-vc-tv-list .ic svg { width: 19px; height: 19px; }
.h-vc-tv-list b { display: block; font-size: clamp(14.5px, 7.98px + .453vw, 18.85px); font-weight: 800; color: var(--navy); }
.h-vc-tv-list small { display: block; margin-top: 3px; font-size: clamp(13px, 7.15px + .406vw, 16.9px); line-height: 1.55; color: var(--muted); }
.h-vc-tv-copy .h-btn-row { align-items: center; gap: 14px 26px; margin-top: 28px; }
.h-vc-tv-vis { position: relative; padding: 4% 4% 12%; }
.h-vc-tv-vis::before { content: ""; position: absolute; inset: 8% 0 0 6%; border-radius: 32px; background: linear-gradient(145deg, var(--trust-50), #dbe7ff); transform: rotate(-3deg); }
.h-vc-tv-set { position: relative; }
.h-vc-tv-screen { position: relative; padding: 10px; border-radius: 16px; background: #05070d; box-shadow: 0 50px 90px -40px rgba(11, 27, 63, .7), inset 0 0 0 2px #1d2433; }
.h-vc-tv-bar { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 6px 8px 9px; font-size: 11.5px; color: rgba(255, 255, 255, .7); }
.h-vc-tv-bar b { color: #fff; }
.h-vc-tv-live { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: #6ee7b7; }
.h-vc-tv-live i { width: 7px; height: 7px; border-radius: 50%; background: #34d399; animation: pw-blink 1.2s steps(1) infinite; }
.h-vc-tv-wall { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px; }
.h-vc-tv-wall figure { position: relative; margin: 0; overflow: hidden; aspect-ratio: 16 / 9; background: #111; }
.h-vc-tv-wall img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.75) brightness(.9); }
.h-vc-tv-wall figcaption { position: absolute; left: 8px; bottom: 6px; font: 700 10.5px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; color: #fff; text-shadow: 0 1px 2px #000; }
.h-vc-tv-wall figure.is-on { outline: 3px solid var(--trust-light, #60a5fa); outline-offset: -3px; animation: vc-focus 8s steps(1) infinite; }
@keyframes vc-focus { 0%, 100% { outline-color: #60a5fa; } 50% { outline-color: transparent; } }
.h-vc-tv-stand { display: block; width: 26%; height: 14px; margin: 0 auto; border-radius: 0 0 10px 10px; background: linear-gradient(#1d2433, #0b0f18); }
.h-vc-remote { position: absolute; right: 2%; bottom: 0; display: flex; flex-direction: column; align-items: center; gap: 10px; width: 74px; padding: 14px 0 18px; border-radius: 30px; background: linear-gradient(#1f2937, #0b1220); box-shadow: 0 24px 40px -18px rgba(0, 0, 0, .7); transform: rotate(8deg); animation: wd-float 6s ease-in-out infinite; }
.h-vc-remote-pad { position: relative; width: 48px; height: 48px; border-radius: 50%; background: #111827; box-shadow: inset 0 0 0 2px #374151; }
.h-vc-remote-pad i { position: absolute; inset: 14px; border-radius: 50%; background: var(--trust); box-shadow: 0 0 0 4px rgba(37, 99, 235, .25); }
.h-vc-remote-k { padding: 0 6px; font-size: 9px; font-weight: 800; letter-spacing: .04em; text-align: center; color: rgba(255, 255, 255, .7); }
.h-vc-dl-file.is-tv { margin-top: 22px; }
.h-vc-dl-file.is-tv > div { flex: 1; min-width: 0; }
.h-vc-dl-file.is-tv .h-btn { flex: 0 0 auto; min-height: 42px; padding: 0 16px; }
.h-vc-mail { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 20px 0 0; font-size: clamp(13.5px, 7.4px + .42vw, 17.5px); color: rgba(255, 255, 255, .75); }
.h-vc-mail svg { width: 18px; height: 18px; color: #93c5fd; }
.h-vc-mail a, .h-cta p a { color: #fff; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { .h-vc-remote, .h-vc-tv-wall figure.is-on, .h-vc-tv-live i { animation: none !important; } }
@media (max-width: 1100px) { .h-vc-tv-grid { grid-template-columns: 1fr; } }
@media (max-width: 640px) {
  .h-vc-tv-list { grid-template-columns: 1fr; }
  .h-vc-remote { width: 58px; right: 0; }
  .h-vc-dl-file.is-tv { flex-wrap: wrap; }
}
@media (min-width: 901px) {
  .h-pc.is-fx { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); }
  .h-pc.is-fx .h-pc-copy, .h-pc.is-fx .h-pc-foot { grid-column: 2; }
  .h-pc.is-fx .pw-vms { grid-column: 1; }
}

/* ==== About page (.h-ab-*) ================================================= */
.h-ab-story-vis { position: relative; padding: 4% 6% 10% 2%; }
.h-ab-story-vis::before { content: ""; position: absolute; inset: 0 0 4% 10%; border-radius: 32px; background: linear-gradient(145deg, var(--trust-50), #dbe7ff); transform: rotate(3deg); }
.h-ab-photo { position: relative; margin: 0; border-radius: 22px; overflow: hidden; box-shadow: 0 40px 80px -40px rgba(11, 27, 63, .6); }
.h-ab-photo img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.h-ab-badge { position: absolute; z-index: 2; right: 0; bottom: 0; display: flex; align-items: center; gap: 12px; max-width: 250px; padding: 16px 20px; border-radius: 18px; background: var(--navy); color: #fff; box-shadow: 0 24px 44px -20px rgba(11, 27, 63, .8); }
.h-ab-badge b { font-size: clamp(30px, 16.5px + .94vw, 39px); font-weight: 800; line-height: 1; color: #93c5fd; }
.h-ab-badge span { font-size: 13px; font-weight: 600; line-height: 1.4; color: rgba(255, 255, 255, .8); }

.h-ab-prods { padding: clamp(64px, 6vw, 110px) 0; background: #fff; }
.h-ab-prod-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 1.4vw, 24px); }
.h-ab-prod { display: flex; flex-direction: column; border-radius: 20px; overflow: hidden; background: var(--mist); border: 1px solid var(--line); color: inherit; transition: transform .6s var(--ease), box-shadow .6s var(--ease), border-color .4s; }
.h-ab-prod:hover { transform: translateY(-6px); border-color: rgba(37, 99, 235, .35); box-shadow: 0 34px 60px -36px rgba(11, 27, 63, .55); }
.h-ab-prod:focus-visible { outline: 3px solid var(--trust); outline-offset: 3px; }
.h-ab-prod-img { display: block; margin: 12px 12px 0; border-radius: 12px; overflow: hidden; background: #0b1b3f; }
.h-ab-prod-img img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; transition: transform 1s var(--ease); }
.h-ab-prod:hover .h-ab-prod-img img { transform: scale(1.05); }
.h-ab-prod-body { display: flex; flex-direction: column; flex: 1; gap: 6px; padding: 16px 18px 18px; }
.h-ab-prod-body b { font-size: clamp(17px, 9.35px + .53vw, 22px); font-weight: 800; color: var(--navy); }
.h-ab-prod-body small { font-size: clamp(13.5px, 7.4px + .42vw, 17.5px); line-height: 1.55; color: var(--muted); }
.h-ab-prod-body em { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 8px; font-style: normal; font-size: 14px; font-weight: 800; color: var(--trust-d); }
.h-ab-prod:hover em .h-arrow { transform: translateX(4px); }
.h-ab-prod em .h-arrow { transition: transform .35s var(--ease); }

.h-ab-team { padding: clamp(64px, 6vw, 110px) 0; background: #fff; }
.h-ab-team-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 1.4vw, 24px); margin: 0; padding: 0; list-style: none; }
.h-ab-member { padding: clamp(22px, 2vw, 32px); border-radius: 20px; background: var(--mist); border: 1px solid var(--line); text-align: center; transition: transform .6s var(--ease), border-color .4s; }
.h-ab-member:hover { transform: translateY(-6px); border-color: rgba(37, 99, 235, .35); }
.h-ab-mono { display: grid; place-items: center; width: 84px; height: 84px; margin: 0 auto 16px; border-radius: 50%; background: linear-gradient(145deg, var(--trust), var(--navy)); color: #fff; font-size: 26px; font-weight: 800; letter-spacing: .02em; box-shadow: 0 0 0 6px #fff, 0 18px 34px -16px rgba(11, 27, 63, .6); }
.h-ab-member h3 { margin: 0; font-size: clamp(17px, 9.35px + .53vw, 22px); font-weight: 800; color: var(--navy); }
.h-ab-member p { margin: 4px 0 0; font-size: clamp(13.5px, 7.4px + .42vw, 17.5px); color: var(--muted); }

.h-ab-cover { padding: clamp(64px, 6vw, 110px) 0; background: var(--mist); }
.h-ab-cover-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 80px); align-items: center; }
.h-ab-cover .h-btn-row { margin-top: 26px; }
.h-ab-cities { display: flex; flex-wrap: wrap; gap: 10px; }
.h-ab-cities .h-chip { display: inline-flex; align-items: center; gap: 7px; }
.h-ab-cities .h-chip svg { width: 15px; height: 15px; color: var(--trust); }

@media (max-width: 1100px) {
  .h-ab-prod-grid, .h-ab-team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .h-ab-cover-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .h-ab-prod-grid { grid-template-columns: 1fr; }
  .h-ab-badge { max-width: 210px; padding: 12px 14px; }
}

/* ==== Contact page (.h-ct-*) =============================================== */
.h-ct-hero .h-hero-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); gap: clamp(28px, 4vw, 80px); align-items: end; }
.h-ct-quick-grid { display: grid; gap: 12px; }
.h-ct-quick { display: flex; align-items: center; gap: 16px; padding: 16px 18px; border-radius: 18px; background: #fff; border: 1px solid var(--line); box-shadow: 0 18px 40px -30px rgba(11, 27, 63, .5); color: inherit; transition: transform .5s var(--ease), border-color .3s, box-shadow .5s var(--ease); }
.h-ct-quick:hover { transform: translateY(-3px); border-color: rgba(37, 99, 235, .35); box-shadow: 0 28px 50px -30px rgba(11, 27, 63, .55); }
.h-ct-quick:focus-visible { outline: 3px solid var(--trust); outline-offset: 3px; }
.h-ct-quick .ic { flex: 0 0 auto; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--trust-50); color: var(--trust-d); }
.h-ct-quick.is-wa .ic { background: #dcfce7; color: #16a34a; }
.h-ct-quick .ic svg { width: 22px; height: 22px; }
.h-ct-quick > span:nth-child(2) { flex: 1; min-width: 0; }
.h-ct-quick small { display: block; font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.h-ct-quick b { display: block; font-size: clamp(16px, 8.8px + .5vw, 20.8px); font-weight: 800; color: var(--navy); overflow-wrap: anywhere; }
.h-ct-quick em { display: block; font-style: normal; font-size: 13px; color: var(--muted); }
.h-ct-quick > .h-arrow { flex: 0 0 auto; color: var(--trust); transition: transform .35s var(--ease); }
.h-ct-quick:hover > .h-arrow { transform: translateX(4px); }

.h-ct-main { padding: clamp(48px, 5vw, 90px) 0; background: #fff; }
.h-ct-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 3vw, 48px); align-items: stretch; }
.h-ct-panel { padding: clamp(22px, 2.2vw, 34px); border-radius: 22px; background: radial-gradient(420px 260px at 100% 0%, rgba(37, 99, 235, .42), transparent 60%), linear-gradient(160deg, #0f2250, var(--navy) 60%, #081228); color: #fff; }
.h-ct-info { display: grid; gap: 16px; margin: 14px 0 22px; padding: 0; list-style: none; }
.h-ct-info li { display: flex; gap: 14px; align-items: center; }
.h-ct-info .ic { flex: 0 0 auto; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: rgba(96, 165, 250, .16); color: #93c5fd; }
.h-ct-info .ic svg { width: 19px; height: 19px; }
.h-ct-info small { display: block; font-size: 12px; font-weight: 700; color: rgba(255, 255, 255, .6); }
.h-ct-info b { display: block; font-size: clamp(14.5px, 7.98px + .453vw, 18.85px); font-weight: 700; color: #fff; overflow-wrap: anywhere; }
.h-ct-info a { color: #fff; }
.h-ct-info a:hover { color: #93c5fd; }
.h-ct-panel-wa { width: 100%; justify-content: center; }
.h-ct-next { padding: clamp(20px, 2vw, 28px); border-radius: 22px; background: var(--mist); border: 1px solid var(--line); }
.h-ct-next-t { margin: 0; font-size: 16px; font-weight: 800; color: var(--navy); }
.h-ct-next .h-vc-rel-list { margin-top: 14px; }
.h-ct-next .h-vc-rel-list li { background: #fff; }

.h-ct-routes { padding: clamp(64px, 6vw, 110px) 0; background: var(--mist); }
.h-ct-route-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 1.4vw, 24px); }
.h-ct-route { display: flex; flex-direction: column; gap: 6px; padding: clamp(20px, 1.8vw, 28px); border-radius: 20px; background: #fff; border: 1px solid var(--line); color: inherit; transition: transform .5s var(--ease), border-color .3s, box-shadow .5s var(--ease); }
.h-ct-route:hover { transform: translateY(-5px); border-color: rgba(37, 99, 235, .35); box-shadow: 0 30px 56px -36px rgba(11, 27, 63, .55); }
.h-ct-route:focus-visible { outline: 3px solid var(--trust); outline-offset: 3px; }
.h-ct-route .ic { display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 8px; border-radius: 13px; background: var(--trust-50); color: var(--trust-d); }
.h-ct-route .ic svg { width: 22px; height: 22px; }
.h-ct-route b { font-size: clamp(17px, 9.35px + .53vw, 22px); font-weight: 800; color: var(--navy); }
.h-ct-route small { font-size: clamp(13.5px, 7.4px + .42vw, 17.5px); line-height: 1.55; color: var(--muted); }
.h-ct-route em { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 12px; font-style: normal; font-size: 14px; font-weight: 800; color: #16a34a; }
.h-ct-route em svg:first-child { width: 17px; height: 17px; }

.h-ct-offices { padding: clamp(64px, 6vw, 110px) 0; background: #fff; }
.h-ct-off-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 4vw, 80px); align-items: center; }
.h-ct-office { display: flex; gap: 16px; margin-top: 22px; padding: 18px 20px; border-radius: 18px; background: var(--mist); border: 1px solid var(--line); }
.h-ct-office .ic { flex: 0 0 auto; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 13px; background: var(--navy); color: #fff; }
.h-ct-office .ic svg { width: 21px; height: 21px; }
.h-ct-office b { display: block; font-size: clamp(16px, 8.8px + .5vw, 20.8px); font-weight: 800; color: var(--navy); }
.h-ct-office p { margin: 4px 0 8px; font-size: clamp(14px, 7.7px + .4375vw, 18.2px); color: var(--text); }
.h-ct-serve { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 22px 0 0; font-size: 14.5px; color: var(--muted); }
.h-ct-serve svg { width: 18px; height: 18px; color: var(--trust); }
.h-ct-serve a { color: var(--trust-d); font-weight: 700; }
.h-ct-map { border-radius: 24px; overflow: hidden; border: 1px solid var(--line); box-shadow: 0 40px 70px -46px rgba(11, 27, 63, .6); aspect-ratio: 4 / 3; background: var(--mist); }
.h-ct-map iframe { display: block; width: 100%; height: 100%; border: 0; }

@media (max-width: 1100px) {
  .h-ct-hero .h-hero-inner, .h-ct-grid, .h-ct-off-grid { grid-template-columns: 1fr; }
  .h-ct-route-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .h-ct-route-grid { grid-template-columns: 1fr; }
}

/* ==== Blog hub (.h-bg-*) ================================================== */
.h-bg-search { position: relative; max-width: 620px; margin-top: 28px; }
.h-bg-search > svg { position: absolute; left: 18px; top: 50%; width: 20px; height: 20px; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.h-bg-search input { width: 100%; min-height: 58px; padding: 0 20px 0 50px; border: 1.5px solid var(--line); border-radius: 999px; background: #fff; font: inherit; font-size: 16px; color: var(--navy); box-shadow: 0 20px 40px -30px rgba(11, 27, 63, .45); transition: border-color .2s, box-shadow .2s; }
.h-bg-search input:focus { outline: none; border-color: var(--trust); box-shadow: 0 0 0 4px rgba(37, 99, 235, .15); }

.h-bg-tag { align-self: flex-start; margin: 0 0 10px; padding: 4px 11px; border-radius: 999px; background: var(--trust-50); color: var(--trust-d); font-size: 12px; font-weight: 800; letter-spacing: .04em; }
.h-bg-tag.is-light { background: rgba(255, 255, 255, .14); color: #dbeafe; }
.h-bg-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; margin: 12px 0 0; font-size: 13px; font-weight: 600; color: var(--muted); }
.h-bg-meta span { display: inline-flex; align-items: center; gap: 6px; }
.h-bg-meta svg { width: 15px; height: 15px; }
.h-bg-meta.is-light { color: rgba(255, 255, 255, .7); }

.h-bg-feat { padding: clamp(40px, 4vw, 72px) 0 0; background: #fff; }
.h-bg-feat-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(16px, 1.8vw, 30px); }
.h-bg-lead { position: relative; display: flex; align-items: flex-end; min-height: 460px; border-radius: 26px; overflow: hidden; isolation: isolate; }
.h-bg-lead-img { position: absolute; inset: 0; z-index: -2; }
.h-bg-lead-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.h-bg-lead:hover .h-bg-lead-img img { transform: scale(1.05); }
.h-bg-lead::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(11, 27, 63, .05) 20%, rgba(11, 27, 63, .94)); pointer-events: none; }
.h-bg-lead-body { padding: clamp(22px, 2.6vw, 44px); color: #fff; }
.h-bg-lead h3 { margin: 0; font-size: clamp(22px, 12.1px + .9vw, 34px); font-weight: 800; line-height: 1.2; letter-spacing: -.02em; }
.h-bg-lead h3 a { color: #fff; }
.h-bg-lead h3 a::after { content: ""; position: absolute; inset: 0; }
.h-bg-lead-body > p:not(.h-bg-tag):not(.h-bg-meta) { margin: 10px 0 0; max-width: 40em; font-size: clamp(14.5px, 7.98px + .453vw, 18.85px); line-height: 1.6; color: rgba(255, 255, 255, .8); }
.h-bg-side { display: grid; gap: 14px; align-content: start; }
.h-bg-mini { position: relative; display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 16px; align-items: center; padding: 12px; border-radius: 20px; background: var(--mist); border: 1px solid var(--line); transition: transform .5s var(--ease), border-color .3s; }
.h-bg-mini:hover { transform: translateY(-3px); border-color: rgba(37, 99, 235, .35); }
.h-bg-mini-img { border-radius: 14px; overflow: hidden; }
.h-bg-mini-img img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.h-bg-mini h3 { margin: 0; font-size: clamp(15.5px, 8.53px + .484vw, 20.15px); font-weight: 800; line-height: 1.35; }
.h-bg-mini h3 a { color: var(--navy); }
.h-bg-mini h3 a::after { content: ""; position: absolute; inset: 0; }
.h-bg-mini .h-bg-tag { margin-bottom: 6px; }
.h-bg-mini .h-bg-meta { margin-top: 6px; }
.h-bg-side-cta { display: flex; align-items: center; gap: 14px; padding: 18px 20px; border-radius: 20px; background: linear-gradient(160deg, #0f2250, var(--navy)); color: #fff; transition: transform .5s var(--ease); }
.h-bg-side-cta:hover { transform: translateY(-3px); }
.h-bg-side-cta > span { flex: 0 0 auto; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: rgba(96, 165, 250, .18); color: #93c5fd; }
.h-bg-side-cta > span svg { width: 21px; height: 21px; }
.h-bg-side-cta div { flex: 1; }
.h-bg-side-cta b { display: block; font-size: 15.5px; }
.h-bg-side-cta small { display: block; font-size: 13px; color: rgba(255, 255, 255, .7); }

.h-bg-list { padding: clamp(56px, 5.5vw, 100px) 0; background: #fff; }
.h-bg-list-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 12px 24px; margin-bottom: clamp(18px, 1.8vw, 28px); }
.h-bg-status { margin: 0; font-size: 14px; font-weight: 700; color: var(--muted); }
.h-bg-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 1.6vw, 28px); }
.h-bg-card { position: relative; display: flex; flex-direction: column; border-radius: 20px; background: #fff; border: 1px solid var(--line); overflow: hidden; transition: transform .6s var(--ease), box-shadow .6s var(--ease), border-color .4s; }
.h-bg-card:hover { transform: translateY(-6px); border-color: rgba(37, 99, 235, .35); box-shadow: 0 34px 60px -36px rgba(11, 27, 63, .55); }
.h-bg-card.is-out, .h-bg-card.is-more { display: none; }
.h-bg-img { display: block; margin: 12px 12px 0; border-radius: 14px; overflow: hidden; background: var(--mist); }
.h-bg-img img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform 1s var(--ease); }
.h-bg-card:hover .h-bg-img img { transform: scale(1.05); }
.h-bg-body { display: flex; flex-direction: column; flex: 1; padding: 18px 20px 20px; }
.h-bg-body h3 { margin: 0; font-size: clamp(17px, 9.35px + .53vw, 22px); font-weight: 800; line-height: 1.35; letter-spacing: -.01em; }
.h-bg-body h3 a { color: var(--navy); }
.h-bg-body h3 a::after { content: ""; position: absolute; inset: 0; }
.h-bg-body h3 a:focus-visible { outline: none; }
.h-bg-card:focus-within { outline: 3px solid var(--trust); outline-offset: 3px; }
.h-bg-ex { margin: 8px 0 0; font-size: clamp(14px, 7.7px + .4375vw, 18.2px); line-height: 1.6; color: var(--text); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.h-bg-body .h-bg-meta { margin-top: auto; padding-top: 14px; }
.h-bg-empty { margin: 24px 0 0; padding: 22px; border-radius: 18px; background: var(--mist); text-align: center; color: var(--muted); font-weight: 600; }
.h-bg-empty a { color: var(--trust-d); font-weight: 800; }
.h-bg-empty[hidden], .h-bg-more [hidden] { display: none; }
.h-bg-more { display: flex; justify-content: center; margin-top: clamp(24px, 2.4vw, 40px); }
.h-bg-more svg { width: 18px; height: 18px; }

.h-bg-hubs { padding: clamp(64px, 6vw, 110px) 0; background: var(--mist); }
.h-bg-hub-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 1.4vw, 24px); }
.h-bg-hub { display: flex; flex-direction: column; gap: 8px; padding: clamp(20px, 1.8vw, 28px); border-radius: 20px; background: #fff; border: 1px solid var(--line); transition: transform .5s var(--ease), border-color .3s; }
.h-bg-hub:hover { transform: translateY(-5px); border-color: rgba(37, 99, 235, .35); }
.h-bg-hub .ic { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 6px; border-radius: 14px; background: var(--navy); color: #fff; }
.h-bg-hub .ic svg { width: 22px; height: 22px; }
.h-bg-hub h3 { margin: 0; font-size: clamp(18px, 9.9px + .5625vw, 23.4px); font-weight: 800; color: var(--navy); }
.h-bg-hub p { margin: 0; font-size: clamp(14px, 7.7px + .4375vw, 18.2px); line-height: 1.6; color: var(--muted); }
.h-bg-hub-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 12px; }
.h-bg-hub-foot button { padding: 0; border: 0; background: none; font: inherit; font-weight: 800; cursor: pointer; }
.h-bg-hub-foot a { font-size: 14px; font-weight: 700; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.h-bg-hub-foot a:hover { color: var(--navy); }

@media (max-width: 1100px) {
  .h-bg-feat-grid { grid-template-columns: 1fr; }
  .h-bg-grid, .h-bg-hub-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .h-bg-grid, .h-bg-hub-grid { grid-template-columns: 1fr; }
  .h-bg-lead { min-height: 380px; }
  .h-bg-mini { grid-template-columns: 110px minmax(0, 1fr); }
}

/* ==== Blog post layout v2 (.h-post-*) ====================================== */
.h-post-layout { display: grid; grid-template-columns: minmax(0, 1fr) 290px; gap: clamp(28px, 4vw, 72px); align-items: start; }
.h-post-body { max-width: 780px; margin: 0; }
.h-post-body > h2 { scroll-margin-top: calc(var(--header-h, 72px) + 20px); }
.h-post-body #faq { scroll-margin-top: calc(var(--header-h, 72px) + 20px); }
.h-post-body p a:not(.h-btn), .h-post-body li a { color: var(--trust-d); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.h-post-aside { position: sticky; top: calc(var(--header-h, 72px) + 24px); display: grid; gap: 16px; }
.h-post-toc { padding: 20px 22px; border-radius: 18px; background: var(--mist); border: 1px solid var(--line); }
.h-post-toc-t { margin: 0 0 10px; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.h-post-toc ol, .h-post-toc-m ol { margin: 0; padding: 0; list-style: none; display: grid; gap: 2px; counter-reset: t; }
.h-post-toc li, .h-post-toc-m li { counter-increment: t; }
.h-post-toc a, .h-post-toc-m a { display: flex; gap: 10px; padding: 7px 8px; border-radius: 10px; font-size: 14px; font-weight: 600; line-height: 1.4; color: var(--text); transition: background .2s, color .2s; }
.h-post-toc a::before, .h-post-toc-m a::before { content: counter(t, decimal-leading-zero); flex: 0 0 auto; font-size: 11.5px; font-weight: 800; color: var(--trust); padding-top: 2px; }
.h-post-toc a:hover, .h-post-toc a.is-on { background: #fff; color: var(--navy); }
.h-post-toc a.is-on { box-shadow: inset 3px 0 0 var(--trust); }
.h-post-svc { display: grid; gap: 4px; padding: 20px 22px; border-radius: 18px; background: radial-gradient(300px 200px at 100% 0%, rgba(37, 99, 235, .45), transparent 60%), linear-gradient(160deg, #0f2250, var(--navy)); color: #fff; transition: transform .5s var(--ease); }
.h-post-svc:hover { transform: translateY(-3px); }
.h-post-svc small { font-size: 12px; font-weight: 700; color: rgba(255, 255, 255, .6); }
.h-post-svc b { font-size: 17px; font-weight: 800; }
.h-post-svc span { display: inline-flex; align-items: center; gap: 8px; margin-top: 6px; font-size: 14px; font-weight: 700; color: #93c5fd; }
.h-post-toc-m { display: none; margin-bottom: 20px; border-radius: 16px; background: var(--mist); border: 1px solid var(--line); }
.h-post-toc-m summary { display: flex; align-items: center; gap: 10px; padding: 14px 18px; font-weight: 800; color: var(--navy); cursor: pointer; list-style: none; }
.h-post-toc-m summary::-webkit-details-marker { display: none; }
.h-post-toc-m summary svg { width: 18px; height: 18px; color: var(--trust); }
.h-post-toc-m ol { padding: 0 10px 12px; }
.h-post-take { margin: 0 0 8px; padding: clamp(18px, 2vw, 28px); border-radius: 18px; background: linear-gradient(145deg, var(--trust-50), #eef4ff); border: 1px solid rgba(37, 99, 235, .18); }
.h-post-take-t { display: flex; align-items: center; gap: 8px; margin: 0 0 12px; font-size: 13px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--trust-d); }
.h-post-take-t svg { width: 18px; height: 18px; }
.h-post-tip { display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; border-radius: 14px; background: #f0fdf4; border: 1px solid #bbf7d0; }
.h-post-tip svg { flex: 0 0 auto; width: 20px; height: 20px; margin-top: 3px; color: #16a34a; }
.h-post-tip p { margin: 0; }
.h-post-author { display: flex; gap: 16px; align-items: center; margin-top: 36px; padding: 20px; border-radius: 18px; background: var(--mist); border: 1px solid var(--line); }
.h-post-author .h-ab-mono { width: 60px; height: 60px; margin: 0; font-size: 18px; flex: 0 0 auto; }
.h-post-author b { color: var(--navy); font-size: 16px; }
.h-post-author p { margin: 4px 0 0; font-size: 14.5px; color: var(--muted); }
.h-post-rel { margin-top: 24px; }
.h-post-rel-t { margin: 0 0 10px; font-size: 13px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.h-post-rel ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.h-post-rel a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; border-radius: 14px; border: 1px solid var(--line); background: #fff; font-weight: 700; color: var(--navy) !important; text-decoration: none !important; transition: border-color .2s, transform .3s var(--ease); }
.h-post-rel a:hover { border-color: rgba(37, 99, 235, .4); transform: translateX(3px); }
.h-post-rel a .h-arrow { flex: 0 0 auto; color: var(--trust); }
.h-post-cta { margin-top: 28px; }
@media (max-width: 1100px) {
  .h-post-layout { grid-template-columns: 1fr; }
  .h-post-aside { display: none; }
  .h-post-toc-m { display: block; }
  .h-post-body { margin: 0 auto; }
}

/* ==== Packers & movers website design page (.h-mv-*) ======================= */
.h-mv-quote { position: relative; padding: 6% 8% 12% 6%; }
.h-mv-quote::before { content: ""; position: absolute; inset: 0 0 4% 10%; border-radius: 32px; background: linear-gradient(145deg, var(--trust-50), #dbe7ff); transform: rotate(3deg); }
.h-mv-quote-card { position: relative; display: grid; gap: 12px; padding: clamp(20px, 2vw, 30px); border-radius: 22px; background: #fff; box-shadow: 0 40px 80px -40px rgba(11, 27, 63, .6), 0 0 0 1px rgba(11, 27, 63, .06); }
.h-mv-quote-t { display: flex; align-items: center; gap: 10px; margin: 0; font-size: clamp(17px, 9.35px + .53vw, 22px); font-weight: 800; color: var(--navy); }
.h-mv-quote-t svg { width: 22px; height: 22px; color: var(--action); }
.h-mv-steps { display: flex; gap: 6px; }
.h-mv-steps span { flex: 1; padding: 6px 8px; border-radius: 999px; background: var(--mist); font-size: 11.5px; font-weight: 800; text-align: center; color: var(--muted); }
.h-mv-steps span.is-on { background: var(--trust); color: #fff; }
.h-mv-field { padding: 10px 14px; border-radius: 12px; border: 1.5px solid var(--line); background: #fff; }
.h-mv-field small { display: block; font-size: 11px; font-weight: 700; color: var(--muted); }
.h-mv-field b { display: block; font-size: 14.5px; font-weight: 700; color: var(--navy); }
.h-mv-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.h-mv-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; border-radius: 12px; background: var(--action); color: #fff; font-weight: 800; }
.h-mv-toast { position: absolute; z-index: 2; right: 0; bottom: 2%; display: flex; align-items: center; gap: 10px; padding: 11px 14px; border-radius: 14px; background: #fff; box-shadow: 0 22px 40px -18px rgba(11, 27, 63, .6); animation: vc-toast 6s ease-in-out infinite; }
.h-mv-toast > svg { width: 20px; height: 20px; padding: 7px; box-sizing: content-box; border-radius: 10px; background: #dcfce7; color: #16a34a; }
.h-mv-toast b { display: block; font-size: 13px; color: var(--navy); }
.h-mv-toast small { display: block; font-size: 11.5px; color: var(--muted); }
.h-mv-quote .h-wd-chip.is-a { left: 0; top: 2%; }

.h-mv-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.h-mv-grid .h-pf-cta { grid-column: auto; flex-direction: column; align-items: flex-start; }

.h-mv-seo { padding: clamp(64px, 6vw, 110px) 0; background: #fff; }
.h-mv-seo-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 80px); align-items: center; }
.h-mv-seo .h-list { margin-top: 22px; }
.h-mv-seo .h-btn-row { margin-top: 26px; }
.h-mv-areas { padding: clamp(20px, 2.2vw, 34px); border-radius: 24px; background: var(--mist); border: 1px solid var(--line); }
.h-mv-areas-t { display: flex; align-items: center; gap: 8px; margin: 0 0 12px; font-size: 14px; font-weight: 800; color: var(--navy); }
.h-mv-areas-t svg { width: 18px; height: 18px; color: var(--trust); }
.h-mv-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 22px; padding: 0; list-style: none; }
.h-mv-chips:last-child { margin-bottom: 0; }
.h-mv-chips li { padding: 7px 13px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: 13.5px; font-weight: 700; color: var(--navy); }
.h-mv-chips.is-route li { background: var(--navy); border-color: var(--navy); color: #fff; }

.h-mv-pages { background: var(--mist); }
.h-mv-table table { min-width: 0; font-size: clamp(14.5px, 7.98px + .453vw, 18.85px); }
.h-mv-table td:first-child { width: 32%; color: var(--navy); }

.h-mv-guides { padding: clamp(64px, 6vw, 110px) 0; background: #fff; }
.h-mv-guide-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(12px, 1.2vw, 20px); margin: 0; padding: 0; list-style: none; }
.h-mv-guide-grid a { display: flex; flex-direction: column; gap: 10px; height: 100%; padding: 20px; border-radius: 18px; background: var(--mist); border: 1px solid var(--line); color: var(--navy); transition: transform .5s var(--ease), border-color .3s; }
.h-mv-guide-grid a:hover { transform: translateY(-4px); border-color: rgba(37, 99, 235, .35); }
.h-mv-guide-grid .ic { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--trust-50); color: var(--trust-d); }
.h-mv-guide-grid .ic svg { width: 19px; height: 19px; }
.h-mv-guide-grid b { font-size: clamp(15px, 8.25px + .469vw, 19.5px); font-weight: 800; line-height: 1.35; }
.h-mv-guide-grid em { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; font-style: normal; font-size: 14px; font-weight: 800; color: var(--trust-d); }

@media (max-width: 1100px) {
  .h-mv-seo-grid { grid-template-columns: 1fr; }
  .h-mv-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .h-mv-guide-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .h-mv-grid, .h-mv-guide-grid { grid-template-columns: 1fr; }
  .h-mv-table td:first-child { width: 40%; }
}
.h-post-layout > * { min-width: 0; }
.h-post-body { width: 100%; }
@media (min-width: 901px) {
  .h-pc.is-crm.is-wide { grid-column: span 12; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); grid-template-rows: auto 1fr; gap: 18px clamp(22px, 3vw, 56px); }
  .h-pc.is-crm.is-wide .h-pc-copy { grid-column: 1; grid-row: 1; }
  .h-pc.is-crm.is-wide .h-pc-foot { grid-column: 1; grid-row: 2; align-self: end; }
  .h-pc.is-crm.is-wide .pw { grid-column: 2; grid-row: 1 / span 2; align-self: center; min-height: 220px; }
}
.h-stat-grid li { min-width: 0; } .h-stat-grid span, .h-stat-grid b { overflow-wrap: anywhere; }
/* About: founder card */
.h-ab-founder { display: flex; gap: clamp(20px, 3vw, 44px); align-items: center; max-width: 920px; padding: clamp(22px, 2.6vw, 40px); border-radius: 24px; background: var(--mist); border: 1px solid var(--line); }
.h-ab-founder .h-ab-mono { flex: 0 0 auto; width: 120px; height: 120px; margin: 0; font-size: 36px; }
.h-ab-founder h3 { margin: 0; font-size: clamp(22px, 12.1px + .69vw, 29px); font-weight: 800; color: var(--navy); }
.h-ab-founder-role { margin: 4px 0 0; font-size: 14px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: var(--trust-d); }
.h-ab-founder p:not(.h-ab-founder-role) { margin: 12px 0 0; font-size: clamp(15px, 8.25px + .469vw, 19.5px); line-height: 1.7; color: var(--text); }
.h-ab-founder .h-btn-row { margin-top: 18px; }
@media (max-width: 640px) { .h-ab-founder { flex-direction: column; align-items: flex-start; } .h-ab-founder .h-ab-mono { width: 84px; height: 84px; font-size: 26px; } }
/* Blog quick-answer block (older posts) */
.h-post-qa { margin-bottom: 28px; }
.h-post-answer { margin: 0 0 12px; font-size: clamp(16.5px, 9.08px + .516vw, 21.5px) !important; line-height: 1.65; font-weight: 600; color: var(--navy) !important; max-width: none !important; }
.h-hero-proof small a { color: inherit; text-decoration: underline; text-underline-offset: 3px; } .h-hero-proof small a:hover { color: var(--trust-d); }
/* Contact: Google Business Profile QR */
.h-ct-google { display: flex; gap: 20px; align-items: center; margin-top: 22px; padding: 18px 20px; border-radius: 18px; background: #fff; border: 1px solid var(--line); box-shadow: 0 18px 40px -30px rgba(11, 27, 63, .5); }
.h-ct-google img { flex: 0 0 auto; width: 150px; height: auto; }
.h-ct-google b { display: block; font-size: clamp(16px, 8.8px + .5vw, 20.8px); font-weight: 800; color: var(--navy); }
.h-ct-google p { margin: 4px 0 0; font-size: 14.5px; color: var(--text); }
.h-ct-google .h-btn-row { margin-top: 12px; gap: 10px; }
.h-ct-google .h-btn { min-height: 44px; padding: 0 16px; font-size: 14px; }
.h-ct-also { font-size: 13.5px !important; color: var(--muted) !important; }
.h-ct-also a { color: var(--trust-d); font-weight: 700; }
@media (max-width: 560px) { .h-ct-google { flex-direction: column; align-items: flex-start; } .h-ct-google img { width: 200px; } }
/* Hero background video */
.h-hero-video { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; opacity: 0; transition: opacity .8s ease; }
.h-hero-video.is-playing { opacity: 1; }
.h-hero-media img { position: relative; z-index: 0; }
/* Demo video sections */
.h-demo { padding: clamp(56px, 5.5vw, 100px) 0; background: var(--mist); }
.h-demo-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 4vw, 72px); align-items: center; }
.h-demo-copy p:not(.h-eyebrow) { margin: 14px 0 0; font-size: clamp(15.5px, 8.53px + .484vw, 20.15px); line-height: 1.7; color: var(--text); }
.h-demo-yt a { color: var(--trust-d); font-weight: 800; }
.h-demo-video { margin: 0; border-radius: 22px; overflow: hidden; background: var(--navy); box-shadow: 0 40px 80px -40px rgba(11, 27, 63, .6); }
.h-demo-video video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; background: var(--navy); }
.h-demo-video figcaption { padding: 12px 18px; font-size: 14px; font-weight: 700; color: rgba(255, 255, 255, .8); }
.h-modal-video video { display: block; width: 100%; aspect-ratio: 16 / 9; background: #000; }
@media (max-width: 900px) { .h-demo-grid { grid-template-columns: 1fr; } }
/* GEO quick-answer table (tools/postbuild/geo.py) + post reviewer line */
.h-qa-tbl { margin-top: clamp(22px, 2.4vw, 36px); }
.h-qa-tbl h3 { margin: 0 0 12px; font-size: clamp(18px, 10px + .5vw, 23px); font-weight: 800; color: var(--navy); }
.h-qa-tbl .h-table th[scope="row"] { background: transparent; white-space: nowrap; }
.h-qa-note { margin: 10px 0 0; font-size: 14px; color: var(--muted); }
.h-post-rev { margin: 6px 0 0; font-size: 14px; color: var(--muted); }
.h-post-rev a, .h-post-reviewed a { color: inherit; font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }
@media (max-width: 640px) {
  .h-qa-tbl .h-table { overflow: visible; border: 0; border-radius: 0; background: none; }
  .h-qa-tbl .h-table table { min-width: 0; }
  .h-qa-tbl thead { display: none; }
  .h-qa-tbl tr { display: block; margin-bottom: 12px; border: 1px solid var(--line); border-radius: 14px; background: #fff; overflow: hidden; }
  .h-qa-tbl .h-table th[scope="row"], .h-qa-tbl .h-table td { display: block; padding: 9px 14px; border-bottom: 0; }
  .h-qa-tbl .h-table th[scope="row"] { background: var(--mist); white-space: normal; }
  .h-qa-tbl td::before { content: attr(data-label); display: block; margin-bottom: 2px; font-size: 11.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--trust-d); }
}
