/* =========================================================
   On Time Power Services Limited — Design System
   Direction: "Industrial Precision" — spec-sheet labels,
   diagonal slashes from the brand flyer, navy/signal-red.
   ========================================================= */

:root {
  /* Brand */
  --navy-950: #050d24;
  --navy-900: #0a1a3f;
  --navy-800: #102659;
  --navy-700: #1a3578;
  --navy-100: #e3e9f6;
  --red-600: #d7182a;
  --red-500: #e5293a;
  --red-050: #fdecee;
  --volt: #3d8bff;         /* electric blue accent */
  --volt-soft: #e6f0ff;
  --amber: #ffb020;        /* warnings / energy highlight */

  /* Neutrals */
  --ink: #0d1530;
  --ink-2: #3b4562;
  --ink-3: #5d6683;
  --line: #dde3ef;
  --surface: #ffffff;
  --surface-2: #f4f6fb;
  --surface-3: #eaeef7;

  /* Semantic */
  --bg: var(--surface-2);
  --text: var(--ink);
  --text-muted: var(--ink-2);
  --primary: var(--navy-900);
  --accent: var(--red-600);
  --focus: var(--volt);
  --ok: #138a52;

  /* Type */
  --font-display: "Barlow Condensed", "Arial Narrow", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, Consolas, monospace;

  /* Scale */
  --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px; --s-5: 24px;
  --s-6: 32px; --s-7: 48px; --s-8: 64px; --s-9: 96px;
  --radius: 10px;
  --radius-lg: 18px;
  --shadow-1: 0 1px 2px rgba(10,26,63,.06), 0 2px 8px rgba(10,26,63,.06);
  --shadow-2: 0 10px 30px -10px rgba(10,26,63,.25);
  --shadow-3: 0 24px 60px -20px rgba(10,26,63,.45);
  --container: 1200px;
  --ease: cubic-bezier(.2,.7,.2,1);
}

*,*::before,*::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font-body); font-size: 16px; line-height: 1.6;
  color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--navy-700); text-underline-offset: 3px; }
a:hover { color: var(--red-600); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 4px; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--navy-900); color: #fff; padding: 10px 16px; z-index: 999; border-radius: 6px; }
.skip-link:focus { left: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

h1,h2,h3,h4 { font-family: var(--font-display); font-weight: 800; line-height: 1.02; letter-spacing: .005em; margin: 0 0 var(--s-4); color: var(--ink); text-wrap: balance; }
h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); text-transform: uppercase; }
h2 { font-size: clamp(2rem, 4vw, 3.1rem); text-transform: uppercase; }
h3 { font-size: 1.5rem; font-weight: 700; }
h4 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 var(--s-4); }
.lead { font-size: 1.15rem; color: var(--text-muted); max-width: 62ch; }

.container { width: min(100% - 32px, var(--container)); margin-inline: auto; }
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section--white { background: var(--surface); }
.section--dark { background: var(--navy-900); color: #dfe6f5; }
.section--dark h2, .section--dark h3, .section--dark h4 { color: #fff; }
.section--dark .lead { color: #b9c4de; }
.section-head { max-width: 760px; margin-bottom: var(--s-7); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .lead { margin-inline: auto; }

/* Spec label — mono tag used as eyebrow */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-mono);
  font-size: .78rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase;
  color: var(--red-600); margin-bottom: var(--s-3);
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; transform: skewX(-30deg); }
.section--dark .eyebrow { color: #ff6b77; }

/* Buttons */
.btn {
  --bg-btn: var(--red-600); --fg-btn: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 22px; border-radius: 8px; border: 2px solid transparent;
  background: var(--bg-btn); color: var(--fg-btn); font-family: var(--font-display);
  font-weight: 700; font-size: 1.12rem; letter-spacing: .04em; text-transform: uppercase;
  text-decoration: none; cursor: pointer; transition: transform .18s var(--ease), box-shadow .18s var(--ease), background .18s;
}
.btn:hover { color: #fff; background: var(--red-500); transform: translateY(-2px); box-shadow: 0 10px 24px -10px rgba(215,24,42,.7); }
.btn:active { transform: translateY(0); }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn--navy { --bg-btn: var(--navy-900); }
.btn--navy:hover { background: var(--navy-700); box-shadow: 0 10px 24px -10px rgba(10,26,63,.6); }
.btn--ghost { background: transparent; color: var(--navy-900); border-color: var(--navy-900); }
.btn--ghost:hover { background: var(--navy-900); color: #fff; }
.btn--light { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }
.btn--light:hover { background: #fff; color: var(--navy-900); }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.icon { width: 24px; height: 24px; stroke: currentColor; fill: none; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* ---------- Top bar & header ---------- */
.topbar { background: var(--navy-950); color: #b9c4de; font-size: .85rem; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 40px; flex-wrap: wrap; }
.topbar a { color: #fff; text-decoration: none; }
.topbar a:hover { color: #ff8892; }
.topbar .status { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: #2bd47d; box-shadow: 0 0 0 0 rgba(43,212,125,.6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(43,212,125,0); } 100% { box-shadow: 0 0 0 0 rgba(43,212,125,0); } }
.topbar-links { display: flex; gap: 20px; align-items: center; }
.topbar-links span { display: inline-flex; align-items: center; gap: 6px; }
.topbar-links .icon { width: 15px; height: 15px; }

.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.96); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); transition: box-shadow .2s; }
.site-header.scrolled { box-shadow: var(--shadow-1); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--navy-900); }
.brand svg { width: 50px; height: 50px; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: .95; font-family: var(--font-display); text-transform: uppercase; }
.brand-text strong { font-size: 1.55rem; font-weight: 800; color: var(--navy-900); letter-spacing: .01em; }
.brand-text span { font-size: .9rem; font-weight: 700; color: var(--red-600); letter-spacing: .06em; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav > a, .nav .dd > button {
  font-family: var(--font-display); font-size: 1.08rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase;
  color: var(--ink); text-decoration: none; padding: 10px 14px; border-radius: 6px; background: none; border: 0; cursor: pointer;
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px;
}
.nav > a:hover, .nav .dd > button:hover, .nav > a[aria-current="page"] { color: var(--red-600); }
.nav > a[aria-current="page"] { box-shadow: inset 0 -3px 0 var(--red-600); border-radius: 0; }
.dd { position: relative; }
.dd > button .icon { width: 16px; height: 16px; transition: transform .2s; }
.dd[data-open="true"] > button .icon { transform: rotate(180deg); }
.mega {
  position: absolute; top: calc(100% + 10px); left: 50%; transform: translate(-50%, 8px); width: 640px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-3);
  padding: 14px; display: grid; grid-template-columns: 1fr 1fr; gap: 4px; opacity: 0; visibility: hidden; transition: opacity .18s, transform .18s var(--ease), visibility .18s;
}
.dd[data-open="true"] .mega { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.mega a { display: flex; gap: 14px; padding: 12px; border-radius: 10px; text-decoration: none; color: var(--ink); align-items: flex-start; }
.mega a:hover { background: var(--surface-2); color: var(--ink); }
.mega .mi { width: 42px; height: 42px; border-radius: 50%; background: var(--navy-900); color: #fff; display: grid; place-items: center; flex: none; }
.mega a:hover .mi { background: var(--red-600); }
.mega .mi .icon { width: 21px; height: 21px; }
.mega strong { display: block; font-family: var(--font-display); font-size: 1.1rem; text-transform: uppercase; letter-spacing: .02em; }
.mega small { color: var(--ink-3); font-size: .84rem; line-height: 1.4; display: block; }
.header-cta { display: flex; align-items: center; gap: 10px; }
.menu-toggle { display: none; width: 48px; height: 48px; border-radius: 8px; border: 1px solid var(--line); background: #fff; cursor: pointer; align-items: center; justify-content: center; color: var(--navy-900); }

/* Mobile drawer */
.drawer { position: fixed; inset: 0; z-index: 200; visibility: hidden; }
.drawer[data-open="true"] { visibility: visible; }
.drawer-backdrop { position: absolute; inset: 0; background: rgba(5,13,36,.55); opacity: 0; transition: opacity .25s; }
.drawer[data-open="true"] .drawer-backdrop { opacity: 1; }
.drawer-panel { position: absolute; right: 0; top: 0; bottom: 0; width: min(88vw, 380px); background: #fff; padding: 20px; overflow-y: auto; transform: translateX(100%); transition: transform .3s var(--ease); display: flex; flex-direction: column; gap: 6px; }
.drawer[data-open="true"] .drawer-panel { transform: none; }
.drawer-panel .drawer-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.drawer-panel a.dl { display: flex; align-items: center; gap: 12px; min-height: 48px; padding: 8px 10px; border-radius: 8px; text-decoration: none; color: var(--ink); font-family: var(--font-display); font-weight: 600; font-size: 1.2rem; text-transform: uppercase; }
.drawer-panel a.dl:hover { background: var(--surface-2); }
.drawer-panel .dl-label { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); margin: 14px 10px 4px; }

/* Mobile sticky call bar */
.callbar { display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; background: var(--navy-950); padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); gap: 10px; box-shadow: 0 -8px 24px rgba(0,0,0,.25); }
.callbar .btn { flex: 1; min-height: 50px; font-size: 1.05rem; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--navy-950); color: #fff; isolation: isolate; }
.hero::before { /* grid lines */
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5;
  background-image: linear-gradient(rgba(61,139,255,.09) 1px, transparent 1px), linear-gradient(90deg, rgba(61,139,255,.09) 1px, transparent 1px);
  background-size: 48px 48px; mask-image: radial-gradient(ellipse at 30% 40%, #000 30%, transparent 75%);
}
.hero::after { content: ""; position: absolute; z-index: -1; width: 720px; height: 720px; left: -200px; top: -260px; background: radial-gradient(circle, rgba(61,139,255,.35), transparent 60%); }
.hero .container { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; padding: clamp(56px, 8vw, 110px) 0; }
.hero h1 { color: #fff; }
.hero h1 em { font-style: normal; color: var(--red-500); display: block; }
.hero .lead { color: #c3cde4; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px; margin: 28px 0 0; padding: 0; list-style: none; }
.hero-badges li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border: 1px solid rgba(255,255,255,.18); border-radius: 999px; font-size: .9rem; color: #dfe6f5; background: rgba(255,255,255,.04); }
.hero-badges .icon { width: 17px; height: 17px; color: #ff6b77; }

.hero-collage { position: relative; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 210px 150px 150px; gap: 12px; }
.hero-collage figure { margin: 0; position: relative; overflow: hidden; border-radius: 12px; clip-path: polygon(6% 0, 100% 0, 94% 100%, 0 100%); }
.hero-collage figure img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.hero-collage figure:hover img { transform: scale(1.06); }
.hero-collage figcaption { position: absolute; left: 14px; bottom: 10px; font-family: var(--font-mono); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; background: rgba(5,13,36,.75); padding: 4px 8px; border-radius: 4px; }
.hero-collage .f1 { grid-column: 1 / -1; }
.badge-247 {
  position: absolute; right: -10px; top: 170px; width: 128px; height: 128px; border-radius: 50%; background: #fff; color: var(--red-600);
  display: grid; place-items: center; text-align: center; box-shadow: var(--shadow-3); border: 6px solid var(--navy-900); z-index: 2;
}
.badge-247 strong { font-family: var(--font-display); font-size: 2.6rem; line-height: .8; display: block; }
.badge-247 span { font-family: var(--font-mono); font-size: .62rem; letter-spacing: .1em; color: var(--navy-900); text-transform: uppercase; }

/* Page hero (inner pages) */
.page-hero { position: relative; background: var(--navy-950); color: #fff; overflow: hidden; isolation: isolate; }
.page-hero .bg { position: absolute; inset: 0; z-index: -2; }
.page-hero .bg img { width: 100%; height: 100%; object-fit: cover; opacity: .38; }
.page-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, var(--navy-950) 30%, rgba(5,13,36,.65) 65%, rgba(5,13,36,.2)); }
.page-hero .container { padding: clamp(48px, 7vw, 96px) 0; }
.page-hero h1 { color: #fff; max-width: 15ch; }
.page-hero .lead { color: #c9d2e8; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0 0 18px; font-family: var(--font-mono); font-size: .76rem; letter-spacing: .1em; text-transform: uppercase; }
.crumbs a { color: #9fb0d4; text-decoration: none; }
.crumbs a:hover { color: #fff; }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: #5a6a92; }
.crumbs [aria-current] { color: #ff8892; }
.hero-specs { display: flex; flex-wrap: wrap; gap: 0; margin-top: 32px; border: 1px solid rgba(255,255,255,.15); border-radius: 12px; width: fit-content; max-width: 100%; background: rgba(5,13,36,.5); }
.hero-specs div { padding: 14px 22px; border-right: 1px solid rgba(255,255,255,.15); }
.hero-specs div:last-child { border-right: 0; }
.hero-specs dt { font-family: var(--font-mono); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: #8d9cc0; }
.hero-specs dd { margin: 2px 0 0; font-family: var(--font-display); font-size: 1.4rem; font-weight: 700; color: #fff; }

/* Slash divider */
.slash { height: 14px; background: repeating-linear-gradient(-60deg, var(--red-600) 0 14px, transparent 14px 28px); opacity: .9; }
.slash--navy { background: repeating-linear-gradient(-60deg, var(--navy-900) 0 14px, transparent 14px 28px); }

/* Trust strip */
.trust { background: var(--surface); border-bottom: 1px solid var(--line); }
.trust .container { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-item { display: flex; gap: 14px; align-items: center; padding: 24px 18px; border-right: 1px solid var(--line); }
.trust-item:last-child { border-right: 0; }
.trust-item .ti { width: 46px; height: 46px; border-radius: 10px; display: grid; place-items: center; background: var(--red-050); color: var(--red-600); flex: none; }
.trust-item strong { display: block; font-family: var(--font-display); font-size: 1.2rem; text-transform: uppercase; line-height: 1.1; }
.trust-item span { font-size: .88rem; color: var(--ink-3); }

/* ---------- Cards ---------- */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow-1); position: relative; }
.card h3 { margin-bottom: 10px; }
.card p:last-child { margin-bottom: 0; }
.card .ci { width: 52px; height: 52px; border-radius: 50%; background: var(--navy-900); color: #fff; display: grid; place-items: center; margin-bottom: 18px; }
.card--hover { transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s; }
.card--hover:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); border-color: #c6d0e6; }
.card--hover:hover .ci { background: var(--red-600); }

/* Service card (home) */
.svc-card { display: flex; flex-direction: column; background: var(--surface); border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); text-decoration: none; color: var(--ink); box-shadow: var(--shadow-1); transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.svc-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-3); color: var(--ink); }
.svc-card .media { position: relative; aspect-ratio: 16/9; overflow: hidden; background: var(--navy-900); }
.svc-card .media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.svc-card:hover .media img { transform: scale(1.07); }
.svc-card .num { position: absolute; top: 12px; left: 12px; font-family: var(--font-mono); font-size: .72rem; letter-spacing: .12em; background: var(--red-600); color: #fff; padding: 4px 8px; border-radius: 4px; }
.svc-card .chip-icon { position: absolute; right: 16px; bottom: -24px; width: 52px; height: 52px; border-radius: 50%; background: var(--navy-900); color: #fff; display: grid; place-items: center; border: 4px solid #fff; transition: background .2s; }
.svc-card:hover .chip-icon { background: var(--red-600); }
.svc-card .body { padding: 26px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.svc-card h3 { font-size: 1.65rem; text-transform: uppercase; margin-bottom: 4px; }
.svc-card .tag { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--red-600); margin-bottom: 12px; }
.svc-card p { color: var(--ink-2); font-size: .97rem; }
.svc-card ul { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 6px; font-size: .92rem; color: var(--ink-2); }
.svc-card ul li { display: flex; gap: 8px; align-items: flex-start; }
.svc-card ul .icon { width: 18px; height: 18px; color: var(--ok); margin-top: 3px; }
.svc-card .more { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-display); font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--navy-900); }
.svc-card:hover .more { color: var(--red-600); }
.svc-card .more .icon { width: 18px; height: 18px; transition: transform .2s; }
.svc-card:hover .more .icon { transform: translateX(4px); }

/* Checklist */
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; }
.checks .icon { color: var(--ok); width: 22px; height: 22px; margin-top: 2px; }
.section--dark .checks .icon { color: #45e09a; }

/* Split media block */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split--rev > :first-child { order: 2; }
.media-frame { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-3); }
.media-frame img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/3; }
.media-frame::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 10px; background: repeating-linear-gradient(-60deg, var(--red-600) 0 12px, var(--navy-900) 12px 24px); }
.media-tag { position: absolute; left: 18px; top: 18px; background: #fff; border-radius: 10px; padding: 10px 14px; box-shadow: var(--shadow-2); display: flex; gap: 10px; align-items: center; }
.media-tag strong { font-family: var(--font-display); font-size: 1.2rem; text-transform: uppercase; line-height: 1; display: block; }
.media-tag small { font-size: .78rem; color: var(--ink-3); }
.media-tag .icon { color: var(--red-600); }

/* Process steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: step; position: relative; }
.step { padding: 0 20px 0 0; position: relative; }
.step .sn { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--surface); border: 2px solid var(--navy-900); font-family: var(--font-display); font-weight: 800; font-size: 1.5rem; color: var(--navy-900); position: relative; z-index: 1; margin-bottom: 18px; }
.step:not(:last-child)::before { content: ""; position: absolute; top: 28px; left: 56px; right: 0; height: 2px; background: repeating-linear-gradient(90deg, var(--navy-100) 0 8px, transparent 8px 14px); }
.step h4 { text-transform: uppercase; margin-bottom: 6px; }
.step p { color: var(--ink-2); font-size: .95rem; }
.section--dark .step .sn { background: var(--navy-900); border-color: #ff6b77; color: #fff; }
.section--dark .step p { color: #b9c4de; }
.section--dark .step:not(:last-child)::before { background: repeating-linear-gradient(90deg, rgba(255,255,255,.2) 0 8px, transparent 8px 14px); }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(255,255,255,.12); border-radius: var(--radius-lg); overflow: hidden; }
.stat { background: var(--navy-900); padding: 28px 24px; }
.stat strong { display: block; font-family: var(--font-display); font-size: clamp(2.4rem, 4.5vw, 3.4rem); font-weight: 800; color: #fff; line-height: 1; }
.stat strong sup { font-size: .45em; color: #ff6b77; vertical-align: top; margin-left: 2px; }
.stat span { font-family: var(--font-mono); font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: #9fb0d4; }

/* Tabs */
.tabs { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-1); }
.tablist { display: flex; overflow-x: auto; border-bottom: 1px solid var(--line); background: var(--surface-2); scrollbar-width: thin; }
.tablist button { flex: 1 0 auto; min-height: 56px; padding: 0 22px; border: 0; background: none; cursor: pointer; font-family: var(--font-display); font-size: 1.12rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--ink-3); border-bottom: 3px solid transparent; display: inline-flex; align-items: center; gap: 8px; justify-content: center; }
.tablist button:hover { color: var(--ink); }
.tablist button[aria-selected="true"] { color: var(--navy-900); border-bottom-color: var(--red-600); background: var(--surface); }
.tabpanel { padding: 32px; }
.tabpanel[hidden] { display: none; }

/* Accordion */
.acc { display: grid; gap: 12px; }
.acc details { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; transition: border-color .2s, box-shadow .2s; }
.acc details[open] { border-color: #b8c4df; box-shadow: var(--shadow-1); }
.acc summary { list-style: none; cursor: pointer; padding: 18px 22px; display: flex; justify-content: space-between; align-items: center; gap: 16px; font-weight: 600; font-size: 1.04rem; min-height: 56px; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary .plus { width: 30px; height: 30px; border-radius: 50%; background: var(--surface-3); display: grid; place-items: center; flex: none; transition: transform .25s var(--ease), background .2s; }
.acc summary .plus .icon { width: 16px; height: 16px; }
.acc details[open] summary .plus { transform: rotate(45deg); background: var(--red-600); color: #fff; }
.acc .acc-body { padding: 0 22px 20px; color: var(--ink-2); }
.acc .acc-body p:last-child { margin-bottom: 0; }

/* Table */
.table-wrap { overflow-x: auto; border-radius: var(--radius-lg); border: 1px solid var(--line); background: var(--surface); box-shadow: var(--shadow-1); }
table.spec { width: 100%; border-collapse: collapse; min-width: 640px; font-size: .95rem; }
table.spec caption { text-align: left; padding: 16px 20px; font-family: var(--font-mono); font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); border-bottom: 1px solid var(--line); }
table.spec th, table.spec td { padding: 14px 20px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
table.spec thead th { background: var(--navy-900); color: #fff; font-family: var(--font-display); font-size: 1.05rem; text-transform: uppercase; letter-spacing: .04em; font-weight: 700; }
table.spec tbody th { font-weight: 600; color: var(--ink); }
table.spec tbody tr:last-child > * { border-bottom: 0; }
table.spec tbody tr:hover { background: var(--surface-2); }
table.spec .yes { color: var(--ok); font-weight: 600; }
.pill { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: .78rem; font-weight: 600; background: var(--volt-soft); color: var(--navy-700); }
.pill--red { background: var(--red-050); color: var(--red-600); }
.pill--ok { background: #e3f6ec; color: var(--ok); }

/* Calculator / tool */
.tool { display: grid; grid-template-columns: 1.1fr .9fr; background: var(--surface); border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-2); }
.tool-form { padding: 32px; display: grid; gap: 20px; align-content: start; }
.tool-out { background: var(--navy-900); color: #dfe6f5; padding: 32px; display: flex; flex-direction: column; gap: 16px; position: relative; overflow: hidden; }
.tool-out::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(61,139,255,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(61,139,255,.08) 1px, transparent 1px); background-size: 28px 28px; pointer-events: none; }
.tool-out > * { position: relative; }
.readout { border: 1px solid rgba(255,255,255,.15); border-radius: 12px; padding: 16px 18px; background: rgba(5,13,36,.45); }
.readout dt { font-family: var(--font-mono); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: #8d9cc0; }
.readout dd { margin: 4px 0 0; font-family: var(--font-display); font-size: 2.2rem; font-weight: 800; color: #fff; line-height: 1.05; }
.readout dd small { font-size: .5em; color: #9fb0d4; font-weight: 600; margin-left: 4px; }
.readout.hl { border-color: rgba(229,41,58,.6); background: rgba(215,24,42,.12); }
.readouts { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.tool-note { font-size: .82rem; color: #9fb0d4; margin: 0; }
.tool-out .btn { margin-top: auto; }

.field { display: grid; gap: 6px; }
.field label, .field .label { font-weight: 600; font-size: .95rem; color: var(--ink); }
.field .hint { font-size: .84rem; color: var(--ink-3); }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field input[type="number"], .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 12px 14px; border: 1.5px solid #c9d2e5; border-radius: 8px; font: inherit; color: var(--ink); background: #fff; transition: border-color .15s, box-shadow .15s;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--volt); box-shadow: 0 0 0 4px rgba(61,139,255,.18); }
.field input[aria-invalid="true"], .field select[aria-invalid="true"] { border-color: var(--red-600); }
.field .err { color: var(--red-600); font-size: .85rem; font-weight: 500; min-height: 1em; }
.range-row { display: flex; align-items: center; gap: 14px; }
.range-row output { font-family: var(--font-mono); font-weight: 500; min-width: 88px; text-align: right; color: var(--navy-900); background: var(--surface-2); padding: 6px 10px; border-radius: 6px; font-size: .9rem; }
input[type="range"] { flex: 1; accent-color: var(--red-600); height: 28px; }
.seg { display: flex; flex-wrap: wrap; gap: 8px; }
.seg label { position: relative; }
.seg input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.seg span { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 16px; border: 1.5px solid #c9d2e5; border-radius: 8px; font-weight: 500; font-size: .93rem; cursor: pointer; transition: all .15s; background: #fff; }
.seg input:checked + span { background: var(--navy-900); border-color: var(--navy-900); color: #fff; }
.seg input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 2px; }
.checkgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.checkgrid label { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1.5px solid var(--line); border-radius: 8px; cursor: pointer; font-size: .93rem; min-height: 48px; transition: border-color .15s, background .15s; }
.checkgrid label:hover { border-color: #b8c4df; }
.checkgrid input { width: 20px; height: 20px; accent-color: var(--red-600); flex: none; }
.checkgrid label:has(input:checked) { border-color: var(--navy-900); background: var(--surface-2); }
.checkgrid small { margin-left: auto; font-family: var(--font-mono); font-size: .74rem; color: var(--ink-3); white-space: nowrap; }

.meter { height: 12px; background: rgba(255,255,255,.12); border-radius: 999px; overflow: hidden; }
.meter i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #45e09a, var(--amber), var(--red-500)); border-radius: inherit; transition: width .5s var(--ease); }
.verdict { font-family: var(--font-display); font-size: 1.6rem; font-weight: 800; text-transform: uppercase; color: #fff; line-height: 1.1; }
.verdict-text { color: #c3cde4; font-size: .95rem; }

/* Callouts */
.callout { display: flex; gap: 16px; padding: 20px 22px; border-radius: 12px; background: var(--volt-soft); border-left: 4px solid var(--volt); }
.callout .icon { color: var(--volt); margin-top: 2px; }
.callout--warn { background: #fff6e5; border-left-color: var(--amber); }
.callout--warn .icon { color: #c27800; }
.callout--red { background: var(--red-050); border-left-color: var(--red-600); }
.callout--red .icon { color: var(--red-600); }
.callout p:last-child { margin: 0; }
.callout strong { display: block; margin-bottom: 2px; }

/* Signs / warning cards */
.sign { display: flex; gap: 14px; padding: 18px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); }
.sign .si { width: 40px; height: 40px; border-radius: 8px; display: grid; place-items: center; background: #fff6e5; color: #c27800; flex: none; }
.sign h4 { font-family: var(--font-body); font-size: 1rem; font-weight: 700; margin: 0 0 4px; line-height: 1.3; }
.sign p { margin: 0; color: var(--ink-2); font-size: .92rem; }

/* CTA band */
.cta-band { position: relative; background: var(--red-600); color: #fff; overflow: hidden; isolation: isolate; }
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: repeating-linear-gradient(-60deg, rgba(255,255,255,.06) 0 22px, transparent 22px 44px); }
.cta-band .container { display: flex; justify-content: space-between; align-items: center; gap: 32px; padding: 56px 0; flex-wrap: wrap; }
.cta-band h2 { color: #fff; margin: 0 0 6px; }
.cta-band p { margin: 0; color: #ffe0e3; font-size: 1.1rem; }
.cta-band .btn { --bg-btn: #fff; color: var(--red-600); }
.cta-band .btn:hover { background: var(--navy-900); color: #fff; }
.cta-band .btn--light:hover { color: var(--red-600); }

/* Related services */
.related { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.related a { display: flex; flex-direction: column; gap: 10px; padding: 18px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); text-decoration: none; color: var(--ink); font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; text-transform: uppercase; transition: all .2s; }
.related a:hover { border-color: var(--navy-900); transform: translateY(-3px); box-shadow: var(--shadow-2); color: var(--red-600); }
.related a .icon { color: var(--red-600); }

/* Location cards */
.loc { background: var(--surface); border-radius: var(--radius-lg); border: 1px solid var(--line); overflow: hidden; box-shadow: var(--shadow-1); }
.loc .map { height: 220px; background: var(--navy-900); position: relative; overflow: hidden; }
.loc .map svg { width: 100%; height: 100%; }
.loc .body { padding: 24px; }
.loc h3 { text-transform: uppercase; display: flex; align-items: center; gap: 10px; }
.loc h3 .icon { color: var(--red-600); }

/* Forms */
.form-card { background: var(--surface); border-radius: var(--radius-lg); border: 1px solid var(--line); padding: 32px; box-shadow: var(--shadow-2); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
.form-success { display: none; padding: 18px; border-radius: 10px; background: #e3f6ec; color: #0b5e37; font-weight: 500; }
.form-success.show { display: block; }

/* Knowledge base */
.kb-search { position: relative; max-width: 640px; }
.kb-search input { width: 100%; min-height: 60px; padding: 0 20px 0 56px; border-radius: 12px; border: 0; font: inherit; font-size: 1.1rem; box-shadow: var(--shadow-3); }
.kb-search .icon { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); color: var(--ink-3); }
.kb-filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 24px; }
.kb-filters button { min-height: 44px; padding: 8px 16px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--surface); font: inherit; font-weight: 500; font-size: .92rem; cursor: pointer; }
.kb-filters button[aria-pressed="true"] { background: var(--navy-900); border-color: var(--navy-900); color: #fff; }
.kb-count { font-family: var(--font-mono); font-size: .8rem; color: var(--ink-3); letter-spacing: .06em; margin-bottom: 16px; }
.kb-empty { display: none; padding: 32px; text-align: center; color: var(--ink-3); background: var(--surface); border-radius: 12px; border: 1px dashed var(--line); }
.glossary { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.glossary dl { margin: 0; }
.glossary div { background: var(--surface); padding: 18px 20px; border-radius: 12px; border: 1px solid var(--line); }
.glossary dt { font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; text-transform: uppercase; color: var(--navy-900); }
.glossary dd { margin: 4px 0 0; color: var(--ink-2); font-size: .93rem; }

/* Values */
.value { padding: 28px; border-radius: var(--radius-lg); background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.12); }
.value .vi { width: 48px; height: 48px; border-radius: 10px; background: var(--red-600); display: grid; place-items: center; color: #fff; margin-bottom: 16px; }
.value p { color: #b9c4de; margin: 0; }

/* Footer */
.site-footer { background: var(--navy-950); color: #9fb0d4; padding: 72px 0 0; font-size: .95rem; }
.site-footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
.site-footer h4 { color: #fff; text-transform: uppercase; font-size: 1.15rem; letter-spacing: .04em; margin-bottom: 16px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.site-footer a { color: #c9d2e8; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; min-height: 32px; }
.site-footer a:hover { color: #fff; }
.site-footer .brand-text strong { color: #fff; }
.site-footer .tagline { margin: 16px 0; max-width: 34ch; }
.site-footer .contact-line { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 10px; }
.site-footer .contact-line .icon { color: #ff6b77; width: 20px; height: 20px; margin-top: 4px; }
.footer-bottom { margin-top: 56px; border-top: 1px solid rgba(255,255,255,.08); padding: 22px 0; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .85rem; }
.footer-bottom .motto { font-family: var(--font-display); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #fff; }

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .08s; } .reveal-d2 { transition-delay: .16s; } .reveal-d3 { transition-delay: .24s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

@media (min-width: 901px) { .split--contact { grid-template-columns: .85fr 1.15fr; } }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav, .header-cta .btn--ghost { display: none; }
  .menu-toggle { display: inline-flex; }
  .related { grid-template-columns: repeat(3, 1fr); }
  .site-footer .cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .hero .container, .split, .tool { grid-template-columns: 1fr; }
  .split--rev > :first-child { order: 0; }
  .grid-3, .grid-4, .glossary { grid-template-columns: 1fr 1fr; }
  .trust .container { grid-template-columns: 1fr 1fr; }
  .trust-item:nth-child(2) { border-right: 0; }
  .trust-item:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .steps { grid-template-columns: 1fr 1fr; gap: 32px; }
  .step::before { display: none; }
  .stats { grid-template-columns: 1fr 1fr; }
  .badge-247 { right: 8px; top: 140px; width: 108px; height: 108px; }
}
@media (max-width: 640px) {
  body { padding-bottom: 74px; }
  .callbar { display: flex; }
  .topbar .topbar-links .hide-sm { display: none; }
  .header-cta .btn { display: none; }
  .brand svg { width: 42px; height: 42px; }
  .brand-text strong { font-size: 1.3rem; }
  .brand-text span { font-size: .78rem; }
  .grid-2, .grid-3, .grid-4, .glossary, .form-grid, .checkgrid, .readouts { grid-template-columns: 1fr; }
  .related { grid-template-columns: 1fr 1fr; }
  .trust .container { grid-template-columns: 1fr; }
  .trust-item { border-right: 0 !important; border-bottom: 1px solid var(--line); }
  .steps { grid-template-columns: 1fr; }
  .site-footer .cols { grid-template-columns: 1fr; }
  .hero-collage { grid-template-rows: 170px 120px 120px; }
  .hero-specs div { flex: 1 1 45%; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.15); }
  .tabpanel, .tool-form, .tool-out, .form-card, .card { padding: 22px; }
  .cta-band .container { padding: 44px 0; }
}
