/* =========================================================
   All In One Electrocare — flat, bold, sharp.
   No gradients. No shadows. No rounded corners.
   ========================================================= */

:root {
  --navy: #0B1B36;
  --navy-2: #132A52;
  --navy-3: #1C3766;
  --blue: #1D55B4;
  --amber: #F5941F;
  --amber-dark: #D97A08;
  --white: #FFFFFF;
  --mist: #EEF1F7;
  --steel: #5B6678;
  --line: #D9DDE3;
  /* Theme tokens (light by default; dark overrides at the end of this file) */
  --bg: #FFFFFF;
  --surface: #FFFFFF;
  --bg-alt: #EEF1F7;
  --ink: #0B1B36;
  --link: #1D55B4;
  --btn-navy: #0B1B36;
  --field-line: #AEB6C3;
  --line-dark: #24406F;
  --wa: #25D366;
  --wa-dark: #1DA851;
  --danger: #C62828;

  --f-head: 'Montserrat', 'Arial Black', sans-serif;
  --f-body: 'Poppins', 'Segoe UI', Arial, sans-serif;

  --wrap: 1240px;
  --gutter: 24px;
  --sec: 120px;
}

*, *::before, *::after { box-sizing: border-box; border-radius: 0 !important; box-shadow: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body { overflow-x: clip; margin: 0; font-family: var(--f-body); font-size: 17px; line-height: 1.65; color: var(--ink); background: var(--bg); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--f-head); margin: 0; line-height: 1.12; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 999; background: var(--amber); color: var(--navy); padding: 10px 16px; font-weight: 600; }

.icon { width: 20px; height: 20px; flex: none; }

/* ---------- Section scaffolding ---------- */
.sec { padding: var(--sec) 0; }
.sec-mist { background: var(--bg-alt); }
.sec-navy { background: var(--navy); color: var(--white); }
.sec-tight { padding: 72px 0; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--f-body); font-weight: 600; font-size: 14px;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--steel);
  margin-bottom: 18px;
}
.eyebrow::before { content: ''; width: 6px; height: 22px; background: var(--amber); }
.sec-navy .eyebrow, .page-head .eyebrow, .hero .eyebrow { color: #B9C4D8; }

.h2 { font-size: 40px; font-weight: 800; text-transform: uppercase; }
.h2 .hl, .h1 .hl { color: var(--amber); }
.sec-head { max-width: 760px; margin-bottom: 56px; }
.sec-head p { color: var(--steel); font-size: 18px; margin-top: 16px; margin-bottom: 0; }
.sec-navy .sec-head p { color: #B9C4D8; }
.sec-foot { margin-top: 48px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--f-body); font-weight: 600; font-size: 14px; letter-spacing: 0.08em; text-transform: uppercase;
  text-decoration: none; padding: 16px 26px; border: 2px solid transparent; line-height: 1.2;
  transition: background-color .15s, color .15s, border-color .15s; white-space: nowrap;
}
.btn .icon { width: 18px; height: 18px; }
.btn-amber { background: var(--amber); color: var(--navy); border-color: var(--amber); }
.btn-amber:hover { background: var(--navy); color: var(--white); border-color: var(--navy); }
.sec-navy .btn-amber:hover, .hero .btn-amber:hover, .page-head .btn-amber:hover { background: var(--white); color: var(--navy); border-color: var(--white); }
.btn-navy { background: var(--navy); color: var(--white); border-color: var(--navy); }
.btn-navy:hover { background: var(--white); color: var(--navy); border-color: var(--white); }
.btn-outline { background: transparent; color: var(--white); border-color: var(--white); }
.btn-outline:hover { background: var(--white); color: var(--navy); }
.btn-outline-navy { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-outline-navy:hover { background: var(--navy); color: var(--white); }
.btn-wa { background: var(--wa); color: var(--navy); border-color: var(--wa); }
.btn-wa:hover { background: var(--navy); color: var(--white); border-color: var(--navy); }
.btn-wa-outline { background: transparent; color: var(--ink); border-color: var(--wa); }
.btn-wa-outline .icon { color: var(--wa-dark); }
.btn-wa-outline:hover { background: var(--wa); }
.btn-wa-outline:hover .icon { color: var(--navy); }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 14px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--amber-dark); text-decoration: none; }
.link-arrow .icon { width: 18px; height: 18px; transition: transform .15s; }

/* ---------- Top strip + header ---------- */
.topstrip { background: var(--navy); color: #C9D2E3; font-size: 13px; }
.topstrip-inner { display: flex; justify-content: space-between; align-items: center; min-height: 40px; gap: 16px; }
.topstrip span, .topstrip a { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; }
.topstrip .icon { width: 15px; height: 15px; color: var(--amber); }
.topstrip-right { display: inline-flex; gap: 24px; }
.topstrip a:hover { color: var(--white); }

.site-header { position: sticky; top: 0; z-index: 50; background: var(--surface); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; gap: 32px; min-height: 80px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark { width: 52px; height: 52px; display: grid; place-items: center; flex: none; }
.brand-mark img { width: 52px; height: 52px; }
.brand-text { font-family: var(--f-head); font-weight: 800; font-size: 13px; letter-spacing: 0.14em; line-height: 1.1; color: var(--ink); display: flex; flex-direction: column; }
.brand-text strong { font-weight: 900; font-size: 19px; letter-spacing: 0.02em; color: var(--link); }
.brand-text.light { color: var(--white); }
.brand-text.light strong { color: var(--amber); }

.main-nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav-link { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; font-weight: 500; font-size: 15px; text-decoration: none; border-bottom: 3px solid transparent; }
.nav-link:hover, .nav-link.is-active { border-bottom-color: var(--amber); }
.caret { width: 0; height: 0; border-left: 5px solid transparent; border-right: 5px solid transparent; border-top: 6px solid currentColor; }
.nav-drop { position: relative; }
.drop-panel {
  position: absolute; top: 100%; left: 0; width: 330px; background: var(--surface);
  border: 1px solid var(--line); border-top: 4px solid var(--amber);
  visibility: hidden; opacity: 0; transform: translateY(6px); transition: opacity .15s, transform .15s, visibility .15s;
}
.nav-drop:hover .drop-panel, .nav-drop:focus-within .drop-panel { visibility: visible; opacity: 1; transform: none; }
.drop-panel a { display: flex; align-items: center; gap: 14px; padding: 14px 18px; text-decoration: none; font-size: 15px; font-weight: 500; border-bottom: 1px solid var(--line); }
.drop-panel a .icon { color: var(--link); }
.drop-panel a:hover { background: var(--navy); color: var(--white); }
.drop-panel a:hover .icon { color: var(--amber); }
.drop-panel .drop-all { justify-content: space-between; font-weight: 600; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; background: var(--bg-alt); border-bottom: 0; }
.header-cta { padding: 14px 20px; }
.menu-toggle, .menu-close { display: none; background: none; border: 2px solid var(--ink); width: 48px; height: 48px; place-items: center; color: var(--ink); margin-left: auto; }
.menu-toggle .icon, .menu-close .icon { width: 24px; height: 24px; }

.mobile-menu { position: fixed; inset: 0; z-index: 100; background: var(--navy); color: var(--white); padding: 20px var(--gutter) 32px; overflow-y: auto; display: flex; flex-direction: column; }
.mobile-menu[hidden] { display: none; }
.mobile-menu-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 28px; }
.menu-close { display: grid; border-color: var(--white); color: var(--white); margin: 0; }
.mobile-menu nav > a { display: block; font-family: var(--f-head); font-weight: 800; font-size: 30px; text-transform: uppercase; text-decoration: none; padding: 12px 0; border-bottom: 1px solid var(--line-dark); }
.mobile-sub { padding: 6px 0 10px 16px; border-left: 4px solid var(--amber); margin: 10px 0; }
.mobile-sub a { display: block; padding: 8px 0; text-decoration: none; color: #C9D2E3; font-size: 16px; }
.mobile-menu-cta { margin-top: auto; padding-top: 32px; display: grid; gap: 12px; }

/* ---------- Hero ---------- */
.hero { background: var(--navy); color: var(--white); padding: 96px 0 0; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 7fr 5fr; gap: 64px; align-items: end; }
.hero-copy { padding-bottom: 96px; }
.h1 { font-size: 64px; font-weight: 900; text-transform: uppercase; letter-spacing: -0.02em; line-height: 1.02; }
.hero .lead { font-size: 19px; color: #C9D2E3; max-width: 560px; margin: 26px 0 36px; }
.trust-row { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 36px; font-size: 15px; color: #DCE3EF; }
.trust-row li { display: inline-flex; align-items: center; gap: 10px; }
.trust-row .icon { color: var(--amber); width: 18px; height: 18px; }
.hero-media { position: relative; align-self: stretch; display: flex; align-items: flex-end; }
.hero-media::before { content: ''; position: absolute; left: -20px; bottom: 0; width: 70%; height: 72%; background: var(--amber); }
.hero-media img { position: relative; width: 100%; aspect-ratio: 1 / 1; object-fit: cover; object-position: 60% center; margin-bottom: 20px; border: 6px solid var(--navy); }
.hero-badge { position: absolute; z-index: 2; right: 0; top: 40px; background: var(--surface); color: var(--ink); padding: 16px 20px; border-left: 6px solid var(--blue); }
.hero-badge strong { display: block; font-family: var(--f-head); font-weight: 900; font-size: 22px; text-transform: uppercase; }
.hero-badge span { font-size: 13px; color: var(--steel); }

/* ---------- Strips ---------- */
.promise-strip { background: var(--amber); color: var(--navy); }
.promise-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.promise-grid li { display: flex; align-items: center; gap: 14px; padding: 26px 24px; font-weight: 600; font-size: 15px; border-left: 2px solid rgba(11,27,54,.18); }
.promise-grid li:first-child { border-left: 0; padding-left: 0; }
.promise-grid .icon { width: 26px; height: 26px; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stats-grid div { padding: 30px 24px; border-left: 2px solid rgba(11,27,54,.18); }
.stats-grid div:first-child { border-left: 0; padding-left: 0; }
.stats-grid strong { display: block; font-family: var(--f-head); font-weight: 900; font-size: 56px; line-height: 1; }
.stats-grid span { font-size: 14px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }

/* ---------- Pain cards ---------- */
.pain-grid { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); }
.pain-card { padding: 36px 28px; border-left: 1px solid var(--line); }
.pain-card:first-child { border-left: 0; }
.pain-card .pain-icon { width: 56px; height: 56px; background: var(--navy); color: var(--amber); display: grid; place-items: center; margin-bottom: 26px; }
.pain-card .pain-icon .icon { width: 26px; height: 26px; }
.pain-card h3 { font-size: 19px; font-weight: 800; text-transform: uppercase; margin-bottom: 10px; }
.pain-card p { color: var(--steel); font-size: 15px; margin: 0; }
.pain-close { margin-top: 32px; font-size: 20px; font-weight: 500; }
.pain-close strong { font-weight: 600; box-shadow: none; border-bottom: 3px solid var(--amber); }

/* ---------- Service cards ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.svc-card { position: relative; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); padding: 36px 32px 32px; text-decoration: none; transition: background-color .15s, color .15s, border-color .15s; }
.svc-card::before { content: ''; position: absolute; left: -1px; top: -1px; width: 64px; height: 6px; background: var(--amber); }
.svc-card .svc-icon { width: 60px; height: 60px; border: 2px solid var(--ink); color: var(--blue); display: grid; place-items: center; margin-bottom: 28px; transition: border-color .15s, color .15s; }
.svc-card .svc-icon .icon { width: 28px; height: 28px; }
.svc-card h3 { font-size: 22px; font-weight: 800; margin-bottom: 10px; }
.svc-card p { color: var(--steel); font-size: 15px; margin-bottom: 28px; transition: color .15s; }
.svc-card .link-arrow { margin-top: auto; }
.svc-card:hover { background: var(--navy); color: var(--white); border-color: var(--navy); }
.svc-card:hover p { color: #C9D2E3; }
.svc-card:hover .svc-icon { border-color: var(--amber); color: var(--amber); }
.svc-card:hover .link-arrow { color: var(--amber); }
.svc-card:hover .link-arrow .icon { transform: translateX(4px); }

/* ---------- Split / explainer ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; }
.split p { color: #C9D2E3; }
.sec:not(.sec-navy) .split p { color: var(--steel); }
.fact-list { display: grid; gap: 0; border-top: 1px solid var(--line-dark); }
.fact-list li { display: grid; grid-template-columns: 64px 1fr; gap: 20px; padding: 26px 0; border-bottom: 1px solid var(--line-dark); }
.fact-list .num { font-family: var(--f-head); font-weight: 900; font-size: 34px; color: var(--amber); line-height: 1; }
.fact-list h3 { font-size: 19px; font-weight: 800; margin-bottom: 6px; color: var(--white); }
.fact-list p { margin: 0; font-size: 15px; }
.note { font-size: 13px; color: #8E9BB3; margin-top: 18px; }
.note a { color: #B9C4D8; }

/* ---------- Process ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); position: relative; }
.steps::before { content: ''; position: absolute; top: 34px; left: 0; right: 0; height: 2px; background: var(--ink); }
.sec-navy .steps::before { background: var(--line-dark); }
.step { position: relative; padding-right: 32px; }
.step-num { display: inline-block; font-family: var(--f-head); font-weight: 900; font-size: 56px; line-height: 1; color: var(--amber); background: var(--surface); padding-right: 14px; margin-bottom: 20px; }
.sec-navy .step-num { background: var(--navy); }
.sec-mist .step-num { background: var(--bg-alt); }
.step h3 { font-size: 20px; font-weight: 800; margin-bottom: 8px; }
.step p { color: var(--steel); font-size: 15px; margin: 0; }
.sec-navy .step p { color: #B9C4D8; }

/* ---------- Projects, testimonials, brands ---------- */
.proj-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.proj { background: var(--surface); border: 1px solid var(--line); }
.proj img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.proj-body { padding: 22px 24px; border-top: 6px solid var(--amber); }
.proj-body h3 { font-size: 19px; font-weight: 800; }
.proj-body .place { font-size: 14px; color: var(--steel); }
.proj-body p { margin: 10px 0 0; font-weight: 500; }
.quote-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.quote { background: var(--navy-2); padding: 34px 30px; border-top: 6px solid var(--amber); }
.quote p { font-size: 17px; color: #E3E8F2; }
.quote footer strong { display: block; font-family: var(--f-head); font-weight: 800; }
.quote footer span { font-size: 14px; color: #8E9BB3; }
.brand-row { display: flex; flex-wrap: wrap; gap: 0; border: 1px solid var(--line); }
.brand-row span { flex: 1 1 180px; text-align: center; padding: 26px 18px; font-family: var(--f-head); font-weight: 800; font-size: 18px; text-transform: uppercase; letter-spacing: .04em; border-right: 1px solid var(--line); }

.proj-ph { aspect-ratio: 4/3; background: var(--navy); color: var(--amber); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; }
.proj-ph .icon { width: 72px; height: 72px; stroke-width: 1.4; }
.proj-ph span { color: #8E9BB3; font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.rating-block { display: grid; grid-template-columns: 4fr 8fr; gap: 72px; align-items: center; }
.rating-score { background: var(--amber); color: var(--navy); padding: 48px 40px; }
.rating-score strong { display: block; font-family: var(--f-head); font-weight: 900; font-size: 120px; line-height: .9; }
.stars { display: flex; gap: 6px; margin: 18px 0 14px; }
.stars .star { width: 26px; height: 26px; fill: var(--navy); stroke: var(--navy); stroke-width: 1; }
.rating-label { font-weight: 600; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; }

/* ---------- FAQ ---------- */
.faq { border-top: 2px solid var(--ink); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 24px 0; cursor: pointer; list-style: none; font-family: var(--f-head); font-weight: 700; font-size: 19px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-icon { width: 34px !important; height: 34px !important; padding: 7px; border: 2px solid var(--ink); transition: transform .15s, background-color .15s; }
.faq-item[open] .faq-icon { transform: rotate(45deg); background: var(--amber); border-color: var(--amber); }
.faq-item summary:hover .faq-icon { background: var(--amber); border-color: var(--amber); }
.faq-body { padding: 0 64px 26px 0; color: var(--steel); }
.faq-body p { margin: 0; }
.faq-layout { display: grid; grid-template-columns: 4fr 8fr; gap: 64px; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--amber); color: var(--navy); padding: 64px 0; }
.cta-band-inner { display: flex; justify-content: space-between; align-items: center; gap: 32px; }
.cta-band h2 { font-size: 36px; font-weight: 900; text-transform: uppercase; max-width: 680px; }
.cta-band p { margin: 10px 0 0; font-weight: 500; }
.cta-band .btn-outline-navy:hover { background: var(--navy); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #C9D2E3; padding-top: 88px; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 0.8fr 1.3fr; gap: 48px; padding-bottom: 64px; }
.footer-col h3 { font-size: 15px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--white); margin-bottom: 22px; padding-left: 14px; border-left: 4px solid var(--amber); }
.footer-col ul li { margin-bottom: 10px; }
.footer-col a { text-decoration: none; }
.footer-col a:hover { color: var(--amber); }
.footer-line { margin: 22px 0; max-width: 320px; }
.brand-footer .brand-mark { background: transparent; }
.social { display: flex; gap: 10px; }
.social a { width: 44px; height: 44px; display: grid; place-items: center; border: 2px solid var(--line-dark); color: var(--white); }
.social a:hover { background: var(--amber); border-color: var(--amber); color: var(--navy); }
.footer-contact li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; }
.footer-contact .icon { color: var(--amber); width: 18px; height: 18px; margin-top: 3px; }
.footer-bottom { border-top: 1px solid var(--line-dark); padding: 22px 0; font-size: 13px; color: #8E9BB3; }

/* ---------- WhatsApp + mobile bar ---------- */
.wa-float { position: fixed; right: 24px; bottom: 24px; z-index: 60; width: 60px; height: 60px; display: grid; place-items: center; background: var(--wa); color: var(--white); border: 2px solid var(--wa); transition: background-color .15s, color .15s; }
.wa-float .icon { width: 30px; height: 30px; }
.wa-float:hover { background: var(--navy); border-color: var(--navy); }
.wa-nudge { position: fixed; right: 92px; bottom: 32px; z-index: 60; display: flex; align-items: center; gap: 12px; background: var(--navy); color: var(--white); padding: 10px 10px 10px 16px; font-size: 14px; font-weight: 500; border-left: 4px solid var(--wa); animation: nudge .25s ease-out; }
.wa-nudge[hidden] { display: none; }
.wa-nudge button { background: none; border: 0; color: #8E9BB3; padding: 2px; display: grid; }
.wa-nudge button .icon { width: 16px; height: 16px; }
@keyframes nudge { from { opacity: 0; transform: translateX(12px); } to { opacity: 1; transform: none; } }
.mobile-bar { display: none; }

/* ---------- Page head (inner pages) ---------- */
.page-head { background: var(--navy); color: var(--white); padding: 72px 0 80px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 10px; font-size: 14px; color: #8E9BB3; margin-bottom: 26px; }
.crumbs a { text-decoration: none; color: #C9D2E3; }
.crumbs a:hover { color: var(--amber); }
.crumbs [aria-current] { color: var(--amber); }
.page-head .h1 { font-size: 56px; max-width: 900px; }
.page-head .lead { font-size: 19px; color: #C9D2E3; max-width: 700px; margin: 22px 0 0; }

/* ---------- Services hub ---------- */
.filter-bar { position: sticky; top: 80px; z-index: 40; background: var(--surface); border-bottom: 1px solid var(--line); }
.filter-tabs { display: flex; gap: 0; overflow-x: auto; scrollbar-width: none; }
.filter-tabs::-webkit-scrollbar { display: none; }
.filter-tabs button { flex: none; background: none; border: 0; border-right: 1px solid var(--line); padding: 20px 24px; font-weight: 600; font-size: 14px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink); }
.filter-tabs button:first-child { border-left: 1px solid var(--line); }
.filter-tabs button:hover { background: var(--bg-alt); }
.filter-tabs button.is-active { background: var(--amber); }
.svc-row { padding: 96px 0; }
.svc-row:nth-child(even) { background: var(--bg-alt); }
.svc-row[hidden] { display: none; }
.svc-row-grid { display: grid; grid-template-columns: 5fr 7fr; gap: 72px; align-items: center; }
.svc-row:nth-child(even) .svc-row-media { order: 2; }
.svc-row-media { position: relative; aspect-ratio: 4/3; background: var(--navy); display: grid; place-items: center; overflow: hidden; }
.svc-row-media img { width: 100%; height: 100%; object-fit: cover; }
.svc-row-media .media-icon { color: var(--amber); }
.svc-row-media .media-icon .icon { width: 120px; height: 120px; stroke-width: 1.4; }
.svc-row-media .media-tag { position: absolute; left: 0; bottom: 0; background: var(--amber); color: var(--navy); font-weight: 600; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; padding: 10px 16px; }
.svc-row h2 { font-size: 36px; font-weight: 900; text-transform: uppercase; margin-bottom: 16px; }
.svc-row p { color: var(--steel); font-size: 17px; }
.check-list { display: grid; gap: 10px; margin: 22px 0 26px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; font-weight: 500; }
.check-list .icon { color: var(--navy); background: var(--amber); padding: 3px; width: 22px; height: 22px; margin-top: 3px; }
.price-chip { display: inline-block; border: 2px solid var(--ink); padding: 6px 12px; font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 26px; }

.bundle-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.bundle { background: var(--navy-2); padding: 36px 32px; border-top: 6px solid var(--amber); }
.bundle h3 { font-size: 22px; font-weight: 900; text-transform: uppercase; margin-bottom: 18px; }
.bundle ul li { display: flex; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line-dark); color: #DCE3EF; }
.bundle ul li .icon { color: var(--amber); width: 18px; height: 18px; }

.area-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.area-col { border: 1px solid var(--line); padding: 36px 32px; }
.area-col h3 { font-size: 26px; font-weight: 900; text-transform: uppercase; margin-bottom: 20px; }
.area-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.area-tags li { border: 1px solid var(--line); padding: 8px 14px; font-size: 14px; font-weight: 500; }

/* ---------- Service page ---------- */
.svc-hero { background: var(--navy); color: var(--white); padding: 64px 0 80px; }
.svc-hero-grid { display: grid; grid-template-columns: 7fr 5fr; gap: 64px; align-items: start; }
.svc-hero .h1 { font-size: 52px; }
.svc-hero .lead { font-size: 19px; color: #C9D2E3; margin: 22px 0 32px; max-width: 600px; }
.svc-hero-icon { width: 72px; height: 72px; background: var(--amber); color: var(--navy); display: grid; place-items: center; margin-bottom: 28px; }
.svc-hero-icon .icon { width: 36px; height: 36px; }

.form-card { background: var(--surface); color: var(--ink); padding: 36px 32px; border-top: 6px solid var(--amber); }
.form-card h2 { font-size: 24px; font-weight: 900; text-transform: uppercase; margin-bottom: 6px; }
.form-card .form-sub { color: var(--steel); font-size: 15px; margin-bottom: 22px; }

.prob-grid { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); }
.prob { padding: 34px 30px; border-left: 1px solid var(--line); }
.prob:first-child { border-left: 0; }
.prob .icon { color: var(--danger); width: 28px; height: 28px; margin-bottom: 18px; }
.prob h3 { font-size: 19px; font-weight: 800; margin-bottom: 8px; }
.prob p { margin: 0; color: var(--steel); font-size: 15px; }

.inc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.inc { padding: 32px 28px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--surface); }
.inc .inc-icon { width: 44px; height: 44px; background: var(--navy); color: var(--amber); display: grid; place-items: center; margin-bottom: 18px; }
.inc .inc-icon .icon { width: 22px; height: 22px; }
.inc h3 { font-size: 18px; font-weight: 800; margin-bottom: 6px; }
.inc p { margin: 0; font-size: 15px; color: var(--steel); }

.table-wrap { overflow-x: auto; border: 2px solid var(--ink); }
.opt-table { width: 100%; border-collapse: collapse; min-width: 640px; }
.opt-table th { background: var(--navy); color: var(--white); text-align: left; font-family: var(--f-body); font-weight: 600; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; padding: 18px 22px; }
.opt-table td { padding: 20px 22px; border-top: 1px solid var(--line); font-size: 16px; vertical-align: middle; }
.opt-table td:first-child { font-family: var(--f-head); font-weight: 800; font-size: 18px; }
.opt-table tr:hover td { background: var(--bg-alt); }
.opt-table .price-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; text-decoration: none; border: 2px solid var(--wa); padding: 8px 12px; }
.opt-table .price-link .icon { width: 16px; height: 16px; color: var(--wa-dark); }
.opt-table .price-link:hover { background: var(--wa); }
.table-note { font-size: 14px; color: var(--steel); margin-top: 14px; }

.explainer { display: grid; grid-template-columns: 1fr 1fr 1fr; border: 2px solid var(--ink); }
.explainer > div { padding: 30px 28px; border-left: 2px solid var(--ink); }
.explainer > div:first-child { border-left: 0; }
.explainer .label { font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--steel); }
.explainer strong { display: block; font-family: var(--f-head); font-weight: 900; font-size: 30px; margin: 8px 0; }
.explainer p { margin: 0; color: var(--steel); font-size: 15px; }
.explainer .is-new { background: var(--amber); }
.explainer .is-new .label, .explainer .is-new p { color: var(--navy); }

.pairs-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }

/* ---------- Forms ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field-full { grid-column: 1 / -1; }
.field label, .field .label { font-size: 13px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.field .opt { font-weight: 400; text-transform: none; color: var(--steel); letter-spacing: 0; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--ink); background: var(--surface);
  border: 1px solid var(--field-line); padding: 13px 14px; appearance: none; -webkit-appearance: none;
}
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M0 0h12L6 8z' fill='%230B1B36'/%3E%3C/svg%3E"); background-position: right 16px center; background-size: 12px 8px; background-repeat: no-repeat; padding-right: 40px; }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); border-width: 2px; padding: 12px 13px; }
.field select:focus { padding-right: 39px; }
.field.has-error input, .field.has-error select { border: 2px solid var(--danger); padding: 12px 13px; }
.field-error { font-size: 13px; color: var(--danger); min-height: 0; }
.chip-group { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-group input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip-group label { border: 1px solid var(--field-line); padding: 9px 14px; font-size: 14px; font-weight: 500; letter-spacing: 0; text-transform: none; cursor: pointer; }
.chip-group input:checked + label { background: var(--btn-navy); color: var(--white); border-color: var(--btn-navy); }
.chip-group input:focus-visible + label { outline: 3px solid var(--amber); }
.hp { position: absolute; left: -9999px; }
.form-privacy { font-size: 13px; color: var(--steel); margin: 12px 0 0; display: flex; align-items: center; gap: 8px; }
.form-privacy .icon { width: 16px; height: 16px; }
.form-alert { background: #FDECEA; border-left: 6px solid var(--danger); padding: 14px 18px; margin-bottom: 20px; font-size: 15px; }

/* ---------- About ---------- */
.story-grid { display: grid; grid-template-columns: 7fr 5fr; gap: 72px; align-items: center; }
.story-grid p { color: var(--steel); font-size: 18px; }
.story-media { position: relative; }
.story-media::after { content: ''; position: absolute; right: -16px; bottom: -16px; width: 50%; height: 50%; background: var(--amber); z-index: -1; }
.story-media img { aspect-ratio: 1/1; object-fit: cover; width: 100%; }
.ceo-grid { display: grid; grid-template-columns: 5fr 7fr; gap: 72px; align-items: center; }
.ceo-photo { position: relative; aspect-ratio: 1/1; max-width: 480px; background: var(--navy); border-left: 6px solid var(--amber); display: grid; place-items: center; overflow: hidden; }
.ceo-photo img { width: 100%; height: 100%; object-fit: cover; }
.ceo-placeholder { text-align: center; color: #8E9BB3; }
.ceo-placeholder .icon { display: block; width: 110px; height: 110px; stroke-width: 1.4; color: var(--line-dark); margin: 0 auto 14px; }
.ceo-placeholder span { font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.ceo-msg h2 { font-size: 40px; font-weight: 900; text-transform: uppercase; }
.ceo-title { color: var(--link); font-weight: 600; margin: 6px 0 26px; }
.ceo-msg blockquote { margin: 0; font-size: 22px; line-height: 1.55; font-weight: 500; border-left: 4px solid var(--ink); padding-left: 26px; }
.ceo-sign { margin-top: 26px; font-family: var(--f-head); font-weight: 800; font-size: 18px; }
.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); }
.value { padding: 36px 28px; border-left: 1px solid var(--line); }
.value:first-child { border-left: 0; }
.value .num { font-family: var(--f-head); font-weight: 900; font-size: 40px; color: var(--amber); line-height: 1; margin-bottom: 18px; }
.value h3 { font-size: 20px; font-weight: 800; margin-bottom: 8px; }
.value p { margin: 0; color: var(--steel); font-size: 15px; }
.office-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.office { border: 1px solid var(--line); }
.office-body { padding: 30px 28px; border-top: 6px solid var(--amber); }
.office-body h3 { font-size: 24px; font-weight: 900; text-transform: uppercase; margin-bottom: 14px; }
.office-body li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; margin-bottom: 10px; color: var(--steel); }
.office-body .icon { width: 18px; height: 18px; color: var(--link); margin-top: 3px; }
.office-body a { text-decoration: none; }
.office iframe, .map-full iframe { display: block; width: 100%; border: 0; }
.office iframe { height: 280px; }
.office-pending { height: 280px; background: var(--bg-alt); display: grid; place-items: center; color: var(--steel); font-size: 14px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; }

/* ---------- Contact ---------- */
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); }
.tile { padding: 36px 32px; text-decoration: none; display: flex; flex-direction: column; gap: 10px; transition: background-color .15s, color .15s; }
.tile .icon { width: 34px; height: 34px; margin-bottom: 8px; }
.tile h2 { font-size: 26px; font-weight: 900; text-transform: uppercase; }
.tile p { margin: 0; font-size: 15px; }
.tile .link-arrow { margin-top: 10px; color: inherit; }
.tile-wa { background: var(--wa); color: var(--navy); }
.tile-call { background: var(--navy); color: var(--white); }
.tile-visit { background: var(--bg-alt); color: var(--ink); }
.tile-wa:hover, .tile-visit:hover { background: var(--amber); }
.tile-call:hover { background: var(--blue); }
.contact-grid { display: grid; grid-template-columns: 7fr 5fr; gap: 56px; align-items: start; }
.contact-form { background: var(--surface); border: 1px solid var(--line); border-top: 6px solid var(--amber); padding: 44px 40px; }
.contact-form h2 { font-size: 30px; font-weight: 900; text-transform: uppercase; margin-bottom: 6px; }
.contact-form .form-sub { color: var(--steel); margin-bottom: 28px; }
.info-block { background: var(--navy); color: var(--white); padding: 40px 36px; }
.info-block h3 { font-size: 15px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--amber); margin: 0 0 12px; }
.info-block > div + div { margin-top: 28px; padding-top: 28px; border-top: 1px solid var(--line-dark); }
.info-block p { margin: 0; color: #C9D2E3; }
.info-block a { color: var(--white); text-decoration: none; }
.info-block a:hover { color: var(--amber); }
.map-full iframe { height: 420px; }

/* ---------- Thank you / simple pages ---------- */
.thanks { text-align: left; max-width: 760px; }
.thanks .big-check { width: 88px; height: 88px; background: var(--wa); color: var(--navy); display: grid; place-items: center; margin-bottom: 30px; }
.thanks .big-check .icon { width: 44px; height: 44px; stroke-width: 3; }
.prose { max-width: 780px; }
.prose h2 { font-size: 24px; font-weight: 800; text-transform: uppercase; margin: 40px 0 12px; }
.prose p, .prose li { color: var(--steel); }
.prose ul { list-style: square; padding-left: 22px; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1100px) {
  :root { --sec: 96px; }
  .h1 { font-size: 52px; }
  .main-nav { gap: 0; }
  .nav-link { padding: 10px 12px; }
  .header-cta { display: none; }
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .pain-grid, .values-grid { grid-template-columns: repeat(2, 1fr); }
  .pain-card:nth-child(3), .value:nth-child(3) { border-left: 0; }
  .pain-card:nth-child(n+3), .value:nth-child(n+3) { border-top: 1px solid var(--line); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  :root { --sec: 72px; --gutter: 20px; }
  body { font-size: 16px; padding-bottom: 60px; }
  .h1, .page-head .h1, .svc-hero .h1 { font-size: 36px; }
  .h2 { font-size: 28px; }
  .main-nav { display: none; }
  .menu-toggle { display: grid; }
  .header-inner { min-height: 68px; }
  .brand-mark { width: 44px; height: 44px; }
  .brand-mark img { width: 44px; height: 44px; }
  .brand-text { font-size: 11px; }
  .brand-text strong { font-size: 16px; }
  .topstrip .hide-sm { display: none; }
  .filter-bar { top: 68px; }

  .hero { padding-top: 56px; }
  .hero-grid, .rating-block, .split, .svc-row-grid, .svc-hero-grid, .story-grid, .ceo-grid, .contact-grid, .faq-layout { grid-template-columns: 1fr; gap: 40px; }
  .hero-copy { padding-bottom: 0; }
  .hero-media { padding-bottom: 40px; }
  .hero-media::before { left: -20px; }
  .hero .lead, .svc-hero .lead, .page-head .lead { font-size: 17px; }
  .btn-row .btn { flex: 1 1 auto; }

  .promise-grid, .stats-grid { grid-template-columns: 1fr 1fr; }
  .promise-grid li, .stats-grid div { padding: 18px 14px; border-left: 0; border-top: 2px solid rgba(11,27,54,.18); }
  .promise-grid li:nth-child(-n+2), .stats-grid div:nth-child(-n+2) { border-top: 0; }
  .promise-grid li:nth-child(odd), .stats-grid div:nth-child(odd) { padding-left: 0; }
  .stats-grid strong { font-size: 40px; }

  .pain-grid, .svc-grid, .prob-grid, .inc-grid, .values-grid, .proj-grid, .quote-grid, .bundle-grid, .area-grid, .pairs-grid, .tiles, .office-grid, .explainer { grid-template-columns: 1fr; }
  .pain-card, .prob, .value, .explainer > div { border-left: 0 !important; border-top: 1px solid var(--line); }
  .pain-card:first-child, .prob:first-child, .value:first-child, .explainer > div:first-child { border-top: 0; }
  .explainer > div { border-top-width: 2px; border-color: var(--ink); }

  .steps { grid-template-columns: 1fr; gap: 28px; }
  .steps::before { top: 0; bottom: 0; left: 27px; right: auto; width: 2px; height: auto; }
  .step { display: grid; grid-template-columns: 70px 1fr; gap: 16px; padding-right: 0; }
  .step-num { font-size: 40px; padding: 6px 0; margin: 0; text-align: center; }

  .svc-row { padding: 64px 0; }
  .svc-row:nth-child(even) .svc-row-media { order: 0; }
  .svc-row h2 { font-size: 28px; }
  .cta-band-inner { flex-direction: column; align-items: flex-start; }
  .cta-band h2 { font-size: 28px; }
  .contact-form, .form-card { padding: 30px 22px; }
  .form-grid { grid-template-columns: 1fr; }
  .ceo-msg h2 { font-size: 30px; }
  .ceo-msg blockquote { font-size: 19px; }
  .faq-body { padding-right: 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .site-footer { padding-top: 64px; }

  .wa-float, .wa-nudge { display: none !important; }
  .mobile-bar { display: grid; grid-template-columns: 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; height: 60px; }
  .mobile-bar a { display: flex; align-items: center; justify-content: center; gap: 10px; font-weight: 600; font-size: 15px; letter-spacing: .06em; text-transform: uppercase; text-decoration: none; }
  .mobile-bar-call { background: var(--navy); color: var(--white); }
  .mobile-bar-wa { background: var(--wa); color: var(--navy); }
}

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

/* =========================================================
   MOTION SYSTEM
   Only transform / opacity / clip-path are animated (GPU, no layout cost).
   Everything is gated behind html.js so content is visible without JavaScript,
   and switched off for prefers-reduced-motion.
   ========================================================= */
:root {
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-in-out: cubic-bezier(.76, 0, .24, 1);
}

/* ---------- Loader ---------- */
.loader { display: none; }
.first-visit .loader {
  display: grid; place-items: center; position: fixed; inset: 0; z-index: 1000; background: var(--navy);
  animation: loaderFailsafe 0s linear 2.6s forwards; /* never blocks the page longer than 2.6s */
}
.loader-inner { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 22px; }
.loader-mark { width: 88px; height: 88px; display: grid; place-items: center; animation: markIn .5s var(--ease-out) both; }
.loader-mark img { width: 88px; height: 88px; animation: spinIn .7s var(--ease-out) both; }
.loader-word { display: flex; flex-direction: column; align-items: center; color: var(--white); font-family: var(--f-head); line-height: 1.05; overflow: hidden; }
.loader-word b { font-weight: 800; font-size: 13px; letter-spacing: .3em; animation: riseIn .5s var(--ease-out) .12s both; }
.loader-word strong { font-weight: 900; font-size: 30px; letter-spacing: .04em; color: var(--amber); animation: riseIn .5s var(--ease-out) .2s both; }
.loader-bar { width: 200px; height: 4px; background: var(--line-dark); overflow: hidden; }
.loader-bar i { display: block; height: 100%; background: var(--amber); transform-origin: left; animation: barFill .75s var(--ease-in-out) both; }
.loader-panel { position: absolute; left: 0; right: 0; height: 50%; z-index: 1; }
.loader-panel-a { top: 0; background: var(--navy); }
.loader-panel-b { bottom: 0; background: var(--navy); }
.loader.is-done { background: transparent; pointer-events: none; }
.loader.is-done .loader-inner { animation: fadeOutUp .3s var(--ease-in-out) forwards; }
.loader.is-done .loader-panel-a { animation: panelUp .6s var(--ease-in-out) .15s forwards; }
.loader.is-done .loader-panel-b { animation: panelDown .6s var(--ease-in-out) .15s forwards; }
.loader.is-gone { display: none !important; }

@keyframes markIn { from { transform: scale(.6); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes spinIn { from { transform: rotate(-120deg) scale(.7); } to { transform: none; } }
@keyframes riseIn { from { transform: translateY(110%); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes barFill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes fadeOutUp { to { transform: translateY(-24px); opacity: 0; } }
@keyframes panelUp { to { transform: translateY(-100%); } }
@keyframes panelDown { to { transform: translateY(100%); } }
@keyframes loaderFailsafe { to { visibility: hidden; opacity: 0; pointer-events: none; } }

/* ---------- Page transition wipe ---------- */
.page-wipe { position: fixed; inset: 0; z-index: 900; pointer-events: none; display: grid; grid-template-rows: 1fr 1fr; }
.page-wipe span { display: block; background: var(--amber); transform: scaleX(0); }
.page-wipe span:last-child { background: var(--navy); }
.page-wipe span:first-child { transform-origin: left; }
.page-wipe span:last-child { transform-origin: right; }
.page-wipe.is-leaving span { animation: wipeIn .32s var(--ease-in-out) forwards; }
.page-wipe.is-leaving span:last-child { animation-delay: .05s; }
.arriving .page-wipe span { transform: scaleX(1); animation: wipeOut .45s var(--ease-in-out) .02s forwards; }
.arriving .page-wipe span:first-child { transform-origin: right; }
.arriving .page-wipe span:last-child { transform-origin: left; animation-delay: .07s; }
@keyframes wipeIn { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes wipeOut { from { transform: scaleX(1); } to { transform: scaleX(0); } }

/* ---------- Scroll progress ---------- */
.scroll-progress { position: fixed; top: 0; left: 0; right: 0; height: 4px; z-index: 80; pointer-events: none; }
.scroll-progress i { display: block; height: 100%; background: var(--amber); transform-origin: left; transform: scaleX(0); }

/* ---------- Header on scroll ---------- */
.site-header { transition: transform .35s var(--ease-out); }
.site-header.is-hidden { transform: translateY(-100%); }
.site-header.is-scrolled .header-inner { min-height: 68px; }
.header-inner { transition: min-height .25s var(--ease-out); }

/* ---------- Headline split reveal ---------- */
.js [data-split] .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .06em; margin-bottom: -.06em; }
.js [data-split] .w > i { display: inline-block; font-style: normal; transform: translateY(105%); transition: transform .8s var(--ease-out); transition-delay: calc(var(--i) * 55ms + var(--base, 0ms)); }
.js [data-split].is-in .w > i { transform: none; }

/* ---------- Hero entrance ---------- */
.js .hero-anim { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); transition-delay: var(--d, 0ms); }
.js .is-ready .hero-anim { opacity: 1; transform: none; }
.js .hero-frame { clip-path: inset(0 0 100% 0); transition: clip-path .9s var(--ease-in-out) .15s; }
.js .is-ready .hero-frame { clip-path: inset(0 0 0 0); }
.js .hero-media::before { transform: translate(-30px, 30px); opacity: 0; transition: transform .8s var(--ease-out) .4s, opacity .4s ease .4s; }
.js .is-ready .hero-media::before { transform: none; opacity: 1; }
.js .hero-badge { opacity: 0; transform: translateX(30px); transition: opacity .5s var(--ease-out) .8s, transform .5s var(--ease-out) .8s; }
.js .is-ready .hero-badge { opacity: 1; transform: none; }
.hero-frame { position: relative; overflow: hidden; border: 6px solid var(--navy); margin-bottom: 20px; }
.hero-frame img, .hero-frame .img-ph { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; object-position: 60% center; margin: 0; border: 0; will-change: transform; }
.hero-media img { border: 0; margin: 0; }
.hero-badge { animation: badgeFloat 4s ease-in-out 2s infinite; }
@keyframes badgeFloat { 0%,100% { translate: 0 0; } 50% { translate: 0 -8px; } }

/* ---------- Scroll reveals ---------- */
.js .rv { opacity: 0; transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); transition-delay: calc(var(--stagger, 0) * 80ms); }
.js .rv-up { transform: translateY(40px); }
.js .rv-left { transform: translateX(-50px); }
.js .rv-right { transform: translateX(50px); }
.js .rv-scale { transform: scale(.92); }
.js .rv.is-in { opacity: 1; transform: none; }

/* Image wipe reveal */
.rv-img { position: relative; }
.js .rv-img::after { content: ''; position: absolute; inset: 0; z-index: 4; background: var(--amber); transform-origin: right; transition: transform 1s var(--ease-in-out) .1s; pointer-events: none; }
.js .rv-img.is-in::after { transform: scaleX(0); }
.js .rv-img img, .js .rv-img .img-ph { transform: scale(1.15); transition: transform 1.6s var(--ease-out); }
.js .rv-img.is-in img, .js .rv-img.is-in .img-ph { transform: scale(1); }

/* Eyebrow bar grows in */
.js .eyebrow::before { transform: scaleY(0); transform-origin: bottom; transition: transform .5s var(--ease-out) .15s; }
.js .is-in .eyebrow::before, .js .eyebrow.is-in::before, .js .is-ready .eyebrow::before, .js .page-head .eyebrow::before { transform: none; }

/* Process line draws */
.js .steps::before { transform: scaleX(0); transform-origin: left; transition: transform 1.4s var(--ease-in-out) .2s; }
.js .steps.is-in::before { transform: none; }
@media (max-width: 860px) {
  .js .steps::before { transform: scaleY(0); transform-origin: top; }
  .js .steps.is-in::before { transform: none; }
}

/* Highlight word underline sweep */
.h2 .hl, .h1 .hl { position: relative; }

/* ---------- Hover motion ---------- */
.btn { position: relative; overflow: hidden; isolation: isolate; }
.btn::after { content: ''; position: absolute; inset: 0; z-index: -1; background: currentColor; opacity: .14; transform: translateX(-101%); transition: transform .4s var(--ease-out); }
.btn:hover::after { transform: none; }
.btn .icon { transition: transform .25s var(--ease-out); }
.btn:hover .icon:last-child { transform: translateX(4px); }

.svc-card { transition: background-color .25s, color .25s, border-color .25s, transform .35s var(--ease-out); }
.svc-card:hover { transform: translateY(-6px); }
.svc-card::before { transition: width .45s var(--ease-out); }
.svc-card:hover::before { width: calc(100% + 2px); }
.svc-card .svc-icon .icon { transition: transform .5s var(--ease-out); }
.svc-card:hover .svc-icon .icon { transform: rotate(-12deg) scale(1.12); }

.pain-card, .prob, .value, .inc { transition: background-color .25s; }
.pain-card:hover, .value:hover { background: var(--bg-alt); }
.pain-card .pain-icon, .inc .inc-icon { transition: transform .4s var(--ease-out), background-color .25s; }
.pain-card:hover .pain-icon { transform: rotate(-8deg); background: var(--amber); color: var(--navy); }
.inc:hover .inc-icon { background: var(--amber); color: var(--navy); transform: scale(1.1); }

.proj { overflow: hidden; transition: transform .35s var(--ease-out); }
.proj:hover { transform: translateY(-6px); }
.proj-media { position: relative; overflow: hidden; }
.proj-media img, .proj-media .img-ph { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .8s var(--ease-out); }
.proj:hover .proj-media img, .proj:hover .proj-media .img-ph { transform: scale(1.06); }
.proj-num { position: absolute; right: 0; bottom: 0; background: var(--amber); color: var(--navy); font-family: var(--f-head); font-weight: 900; font-size: 22px; padding: 10px 16px; }
.proj-body .place { display: inline-flex; align-items: center; gap: 6px; }
.proj-body .place .icon { width: 15px; height: 15px; color: var(--link); }
.sec-head-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; max-width: none; }

.svc-row-media .img-ph, .svc-row-media img { transition: transform .8s var(--ease-out); }
.svc-row-media:hover img, .svc-row-media:hover .img-ph { transform: scale(1.05); }

.tile .icon:first-child { transition: transform .4s var(--ease-out); }
.tile:hover .icon:first-child { transform: translateY(-4px) rotate(-8deg); }
.social a { transition: background-color .2s, border-color .2s, color .2s, transform .3s var(--ease-out); }
.social a:hover { transform: translateY(-3px); }

/* WhatsApp pulse ring (square, flat) */
.wa-float::before, .wa-float::after { content: ''; position: absolute; inset: -2px; border: 2px solid var(--wa); animation: waPulse 2.4s var(--ease-out) infinite; pointer-events: none; }
.wa-float::after { animation-delay: 1.2s; }
@keyframes waPulse { from { transform: scale(1); opacity: .9; } to { transform: scale(1.7); opacity: 0; } }
.wa-float .icon { animation: waWiggle 6s ease-in-out 3s infinite; }
@keyframes waWiggle { 0%, 92%, 100% { transform: none; } 94% { transform: rotate(-14deg); } 96% { transform: rotate(12deg); } 98% { transform: rotate(-6deg); } }

/* ---------- Brands marquee ---------- */
.brands { display: grid; grid-template-columns: auto 1fr; align-items: stretch; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--surface); }
.brands-label { background: var(--navy); color: var(--white); display: flex; align-items: center; padding: 0 32px; font-weight: 600; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; border-right: 6px solid var(--amber); }
.marquee { overflow: hidden; }
.marquee-track { display: flex; width: max-content; animation: marquee 28s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item { display: inline-flex; align-items: center; gap: 12px; padding: 30px 44px; border-right: 1px solid var(--line); font-family: var(--f-head); font-weight: 900; font-size: 22px; text-transform: uppercase; letter-spacing: .02em; color: var(--ink); white-space: nowrap; }
.marquee-item .icon { color: var(--amber); }
.marquee-item em { font-style: normal; font-family: var(--f-body); font-weight: 600; font-size: 11px; letter-spacing: .1em; color: var(--steel); border: 1px dashed var(--steel); padding: 2px 6px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Rating + quotes ---------- */
.rating-score strong { font-variant-numeric: tabular-nums; }
.js .stars .star { opacity: 0; transform: scale(.3) rotate(-40deg); transition: opacity .3s, transform .5s var(--ease-out); }
.js .is-in .stars .star { opacity: 1; transform: none; }
.js .is-in .stars .star:nth-child(2) { transition-delay: .08s; }
.js .is-in .stars .star:nth-child(3) { transition-delay: .16s; }
.js .is-in .stars .star:nth-child(4) { transition-delay: .24s; }
.js .is-in .stars .star:nth-child(5) { transition-delay: .32s; }
.quote-grid { margin-top: 72px; }
.quote { position: relative; overflow: hidden; transition: transform .35s var(--ease-out), background-color .25s; }
.quote:hover { transform: translateY(-6px); background: var(--navy-3); }
.quote-mark { position: absolute; right: 18px; top: -20px; font-family: var(--f-head); font-weight: 900; font-size: 140px; line-height: 1; color: var(--navy-3); pointer-events: none; }
.quote:hover .quote-mark { color: var(--line-dark); }
.stars-sm { margin: 0 0 16px; }
.stars-sm .star { width: 18px !important; height: 18px !important; fill: var(--amber) !important; stroke: var(--amber) !important; }
.quote p, .quote footer { position: relative; }

/* ---------- Sample tag + image placeholders ---------- */
.sample-tag { position: absolute; left: 0; top: 0; z-index: 3; background: var(--surface); color: var(--ink); border: 2px dashed var(--amber); font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; padding: 4px 10px; }
.quote .sample-tag { left: auto; right: 0; }
.img-ph {
  width: 100%; height: 100%; min-height: 220px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; text-align: center; padding: 24px;
  background-color: var(--navy-2);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24'%3E%3Cpath d='M-6 6l12-12M0 24L24 0M18 30l12-12' stroke='%231C3766' stroke-width='6'/%3E%3C/svg%3E"); /* flat hatch */
  color: var(--amber); outline: 2px dashed rgba(245,148,31,.45); outline-offset: -14px;
}
.img-ph .icon { width: 64px; height: 64px; stroke-width: 1.4; animation: phBreathe 3s ease-in-out infinite; }
.img-ph-label { color: var(--white); font-weight: 600; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; }
.img-ph code, .ceo-placeholder code { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 12px; color: #C9D2E3; background: var(--navy); padding: 4px 8px; word-break: break-all; }
.img-ph-size, .ceo-placeholder small { font-size: 12px; color: #8E9BB3; }
.ceo-placeholder { display: flex; flex-direction: column; align-items: center; gap: 8px; }
@keyframes phBreathe { 0%,100% { transform: none; opacity: 1; } 50% { transform: scale(1.08); opacity: .75; } }
.svc-row-media .img-ph { position: absolute; inset: 0; }
.story-media .img-ph { aspect-ratio: 1 / 1; }

/* ---------- Problem split on service pages ---------- */
.prob-split { display: grid; grid-template-columns: 5fr 7fr; gap: 72px; align-items: center; }
.prob-media { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--navy); }
.prob-media img, .prob-media .img-ph { width: 100%; height: 100%; object-fit: cover; }
.prob-media-tag { position: absolute; left: 0; bottom: 0; z-index: 2; display: inline-flex; align-items: center; gap: 10px; background: var(--amber); color: var(--navy); font-weight: 600; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; padding: 12px 18px; }
.prob-media-tag .icon { width: 18px; height: 18px; }
.prob-split .sec-head { margin-bottom: 32px; }
.prob-list { border-top: 2px solid var(--ink); }
.prob-list .prob { display: grid; grid-template-columns: 40px 1fr; gap: 18px; padding: 26px 0; border: 0; border-bottom: 1px solid var(--line); }
.prob-list .prob .icon { margin: 2px 0 0; }
.prob-list .prob:hover { background: transparent; }
.prob-list .prob:hover .icon { animation: shake .4s; }
@keyframes shake { 25% { transform: translateX(-3px); } 75% { transform: translateX(3px); } }

/* ---------- Background motion on navy sections ---------- */
.hero, .page-head, .svc-hero { position: relative; overflow: hidden; }
.hero::after, .page-head::after, .svc-hero::after {
  content: ''; position: absolute; right: -80px; top: -80px; width: 360px; height: 360px;
  border: 2px solid var(--line-dark); transform: rotate(45deg); pointer-events: none;
  animation: slowSpin 40s linear infinite;
}
.hero > .wrap, .page-head > .wrap, .svc-hero > .wrap { position: relative; z-index: 1; }
@keyframes slowSpin { to { transform: rotate(405deg); } }

@media (max-width: 860px) {
  .prob-split { grid-template-columns: 1fr; gap: 40px; }
  .prob-media { aspect-ratio: 4 / 3; }
  .brands { grid-template-columns: 1fr; }
  .brands-label { padding: 14px 20px; border-right: 0; border-bottom: 4px solid var(--amber); }
  .marquee-item { padding: 22px 28px; font-size: 18px; }
  .sec-head-row { flex-direction: column; align-items: flex-start; }
  .quote-grid { margin-top: 48px; }
  .rating-score strong { font-size: 88px; }
  .hero::after, .page-head::after, .svc-hero::after { width: 220px; height: 220px; }
}

/* ---------- Reduced motion: show everything, no movement ---------- */
.reduced .rv, .reduced .hero-anim, .reduced .hero-badge, .reduced .stars .star { opacity: 1 !important; transform: none !important; }
.reduced .hero-frame { clip-path: none !important; }
.reduced .rv-img::after { display: none; }
.reduced [data-split] .w > i { transform: none !important; }
.reduced .marquee-track, .reduced .wa-float::before, .reduced .wa-float::after { animation: none !important; }
.topstrip a, .topstrip span { white-space: nowrap; }
@media (max-width: 860px) { .topstrip { font-size: 12px; } .topstrip-inner { min-height: 36px; } }

/* ---------- Project types ---------- */
.ptype-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.ptype { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); text-decoration: none; color: inherit; transition: transform .35s var(--ease-out), border-color .15s; }
.ptype:hover { transform: translateY(-6px); border-color: var(--ink); }
.ptype-media { position: relative; overflow: hidden; background: var(--navy); }
.ptype-media img, .ptype-media .img-ph { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; transition: transform .8s var(--ease-out); }
.ptype:hover .ptype-media img, .ptype:hover .ptype-media .img-ph { transform: scale(1.06); }
.ptype-num { position: absolute; left: 0; top: 0; background: var(--amber); color: var(--navy); font-family: var(--f-head); font-weight: 900; font-size: 18px; padding: 10px 16px; }
.ptype-body { padding: 26px 28px 28px; border-top: 6px solid var(--amber); display: flex; flex-direction: column; flex: 1; }
.ptype-tag { display: inline-block; font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--link); margin-bottom: 8px; }
.ptype-body h3 { font-size: 28px; font-weight: 900; text-transform: uppercase; margin-bottom: 10px; }
.ptype-body p { color: var(--steel); font-size: 15px; margin: 0 0 16px; }
.ptype-body ul { list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 8px; }
.ptype-body li { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; font-weight: 500; }
.ptype-body li .icon { width: 18px; height: 18px; color: var(--amber); flex: none; margin-top: 2px; }
.ptype-link { margin-top: auto; display: inline-flex; gap: 10px; align-items: center; font-weight: 600; color: var(--ink); border-bottom: 2px solid var(--amber); align-self: flex-start; padding-bottom: 2px; }
.ptype-link .icon { width: 18px; height: 18px; }
.proj-body .ptype-tag { margin-bottom: 4px; }
@media (max-width: 960px) { .ptype-grid { grid-template-columns: 1fr; } }

.thanks-art { display: block; width: 220px; height: auto; margin: 0 0 28px; }

/* Hero image: 5:4 crop (desktop), 4:3 (mobile) */
.hero-media img, .hero-media .img-ph { aspect-ratio: 5 / 4; object-position: 55% 60%; }
@media (max-width: 960px) { .hero-media img, .hero-media .img-ph { aspect-ratio: 4 / 3; } .hero-badge { top: auto; bottom: 56px; padding: 12px 16px; } .hero-badge strong { font-size: 17px; } }

.urdu-line { margin: -4px 0 28px; color: var(--amber); font-weight: 600; font-size: 17px; letter-spacing: .01em; }

/* =========================================================
   THEME: dark (light is the default; JS sets data-theme on <html>)
   ========================================================= */
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #08111F;
  --surface: #0F1D35;
  --bg-alt: #0B1628;
  --ink: #E9EEF8;
  --steel: #A5B3CB;
  --line: #243653;
  --link: #7FB0FF;
  --btn-navy: #1C3766;
  --field-line: #3A4F72;
}
:root[data-theme="dark"] .field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M0 0h12L6 8z' fill='%23E9EEF8'/%3E%3C/svg%3E"); }
:root[data-theme="dark"] .btn-navy { background: var(--btn-navy); border-color: var(--btn-navy); }
:root[data-theme="dark"] .btn-navy:hover { background: var(--white); color: var(--navy); border-color: var(--white); }
:root[data-theme="dark"] .btn-amber:hover { background: var(--white); color: var(--navy); border-color: var(--white); }
:root[data-theme="dark"] .cta-band .btn-navy { background: var(--navy); border-color: var(--navy); }
:root[data-theme="dark"] .cta-band .btn-outline-navy { color: var(--navy); border-color: var(--navy); }
:root[data-theme="dark"] .cta-band .btn-outline-navy:hover { color: var(--white); }
:root[data-theme="dark"] .hero-media img, :root[data-theme="dark"] .svc-row-media img, :root[data-theme="dark"] .proj img,
:root[data-theme="dark"] .ptype img, :root[data-theme="dark"] .prob-media img, :root[data-theme="dark"] .story-media img,
:root[data-theme="dark"] .ceo-photo img, :root[data-theme="dark"] .svc-card-media img { filter: brightness(.9) contrast(1.04); }
:root[data-theme="dark"] .site-header { border-bottom-color: var(--line); }
:root[data-theme="dark"] .form-card, :root[data-theme="dark"] .contact-form { border-color: var(--line); }

/* ---------- Theme switcher ---------- */
.theme-switch { display: inline-flex; border: 2px solid var(--ink); flex: none; }
.theme-switch button { width: 38px; height: 38px; display: grid; place-items: center; background: transparent; color: var(--ink); border: 0; border-right: 1px solid var(--line); cursor: pointer; padding: 0; transition: background-color .15s, color .15s; }
.theme-switch button:last-child { border-right: 0; }
.theme-switch button .icon { width: 18px; height: 18px; }
.theme-switch button:hover { background: var(--bg-alt); }
.theme-switch button[aria-pressed="true"] { background: var(--amber); color: var(--navy); }
.theme-cycle { display: none; width: 44px; height: 44px; place-items: center; background: transparent; color: var(--ink); border: 2px solid var(--ink); padding: 0; margin-left: auto; cursor: pointer; }
.theme-cycle .icon { width: 20px; height: 20px; }
.theme-cycle .tc-dark { display: none; }
:root[data-theme="dark"] .theme-cycle .tc-light { display: none; }
:root[data-theme="dark"] .theme-cycle .tc-dark { display: grid; }
.theme-cycle .tc-light, .theme-cycle .tc-dark { place-items: center; }
.mobile-theme { margin-top: 28px; display: flex; flex-direction: column; gap: 12px; color: #C9D2E3; font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.mobile-theme .theme-switch { border-color: var(--white); width: 100%; }
.mobile-theme .theme-switch button { flex: 1; width: auto; height: 48px; gap: 8px; display: inline-flex; justify-content: center; align-items: center; color: var(--white); border-right-color: var(--line-dark); font-family: var(--f-body); font-weight: 600; font-size: 14px; letter-spacing: .04em; text-transform: none; }
.mobile-theme .theme-switch button:hover { background: var(--navy-2); }
.mobile-theme .theme-switch button[aria-pressed="true"] { background: var(--amber); color: var(--navy); }
.header-inner .theme-switch { margin-left: 4px; }
.nav-calc { color: var(--ink); }
.nav-calc .icon { width: 18px; height: 18px; color: var(--amber); }
@media (max-width: 1240px) { .header-inner .theme-switch button { width: 34px; height: 34px; } .header-inner { gap: 20px; } }
@media (max-width: 1100px) { .header-inner .theme-switch { margin-left: 0; } }
@media (max-width: 860px) {
  .header-inner .theme-switch { display: none; }
  .theme-cycle { display: grid; }
  .menu-toggle { margin-left: 0; }
}

/* ---------- Menu thumbnails (real service photos) ---------- */
.drop-thumb { width: 44px; height: 33px; object-fit: cover; flex: none; background: var(--navy); display: block; }
.drop-panel a:hover .drop-thumb { outline: 2px solid var(--amber); }

/* ---------- Service cards with real photos ---------- */
.svc-card { padding: 0; }
.svc-card::before { z-index: 2; }
.svc-card-media { display: block; overflow: hidden; background: var(--navy); }
.svc-card-media img, .svc-card-media .img-ph { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; transition: transform .8s var(--ease-out); }
.svc-card:hover .svc-card-media img, .svc-card:hover .svc-card-media .img-ph { transform: scale(1.06); }
.svc-card-body { display: flex; flex-direction: column; flex: 1; padding: 28px 32px 32px; border-top: 6px solid var(--amber); }
.svc-card-body p { flex: 1; }
.svc-hero-eyebrow { margin-bottom: 18px; }
.hero-badge { background: var(--white); color: var(--navy); }
.hero-badge span { color: #5B6678; }
.nav-link { white-space: nowrap; }
.pairs-grid .svc-card-media img, .pairs-grid .svc-card-media .img-ph { aspect-ratio: 16 / 9; }

/* =========================================================
   LOAD CALCULATOR
   ========================================================= */
.calc-layout { display: grid; grid-template-columns: 1fr 380px; gap: 48px; align-items: start; }
.calc-group { border: 1px solid var(--line); background: var(--surface); margin-bottom: 24px; border-top: 6px solid var(--amber); }
.calc-group h2 { font-size: 20px; font-weight: 900; text-transform: uppercase; padding: 22px 28px 14px; }
.calc-actype { display: flex; flex-wrap: wrap; align-items: center; gap: 0; padding: 0 28px 16px; font-size: 14px; font-weight: 600; }
.calc-actype span { margin-right: 14px; color: var(--steel); text-transform: uppercase; letter-spacing: .06em; font-size: 12px; }
.calc-actype input { position: absolute; opacity: 0; pointer-events: none; }
.calc-actype label { padding: 9px 16px; border: 1px solid var(--field-line); margin-right: -1px; cursor: pointer; font-size: 14px; }
.calc-actype input:checked + label { background: var(--btn-navy); color: var(--white); border-color: var(--btn-navy); }
.calc-actype input:focus-visible + label { outline: 3px solid var(--amber); outline-offset: 2px; }
.calc-row { display: grid; grid-template-columns: 1fr auto; gap: 16px; align-items: center; padding: 14px 28px; border-top: 1px solid var(--line); transition: background-color .15s; }
.calc-row.has-qty { background: var(--bg-alt); border-left: 4px solid var(--amber); padding-left: 24px; }
.calc-name { font-weight: 600; font-size: 16px; cursor: pointer; }
.calc-name small { display: block; font-weight: 400; font-size: 13px; color: var(--steel); }
.stepper { display: inline-flex; border: 2px solid var(--ink); }
.stepper button { width: 44px; height: 44px; display: grid; place-items: center; background: var(--surface); color: var(--ink); border: 0; cursor: pointer; padding: 0; }
.stepper button:hover { background: var(--amber); color: var(--navy); }
.stepper button .icon { width: 18px; height: 18px; }
.stepper input, .other-input { width: 60px; height: 44px; text-align: center; font: inherit; font-weight: 600; font-size: 17px; color: var(--ink); background: var(--surface); border: 0; border-left: 1px solid var(--line); border-right: 1px solid var(--line); -moz-appearance: textfield; appearance: textfield; padding: 0; }
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button, .other-input::-webkit-outer-spin-button, .other-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.other-input { width: 130px; border: 2px solid var(--ink); }
.stepper input:focus, .other-input:focus { outline: 3px solid var(--amber); outline-offset: -3px; }

.calc-summary { position: sticky; top: 104px; background: var(--navy); color: var(--white); padding: 36px 32px; border-top: 6px solid var(--amber); }
.calc-summary .eyebrow { color: #C9D2E3; }
.sum-big { display: flex; align-items: baseline; gap: 12px; margin: 10px 0 4px; }
.sum-big strong { font-family: var(--f-head); font-weight: 900; font-size: 68px; line-height: 1; color: var(--amber); }
.sum-big span { font-weight: 600; color: #C9D2E3; }
.sum-count { color: #C9D2E3; margin: 0 0 24px; font-size: 15px; }
.sum-error { background: var(--danger); color: var(--white); padding: 10px 14px; font-size: 14px; font-weight: 600; margin: 0 0 16px; }
.sum-error[hidden] { display: none; }
.calc-reset { display: block; margin: 16px auto 0; background: none; border: 0; color: #C9D2E3; text-decoration: underline; cursor: pointer; font: inherit; font-size: 14px; }
.sum-note { margin: 20px 0 0; font-size: 13px; color: #9FB0CC; border-top: 1px solid var(--line-dark); padding-top: 16px; }

/* Calculate button: label swaps to a progress bar while "calculating" */
.calc-go { position: relative; overflow: hidden; min-height: 58px; }
.calc-go .go-wait { display: none; position: absolute; inset: 0; align-items: center; justify-content: center; padding: 0 16px; }
.calc-go .go-wait i { position: absolute; left: 0; top: 0; bottom: 0; width: 100%; background: var(--navy); transform: scaleX(0); transform-origin: left; opacity: .18; }
.calc-go .go-wait em { position: relative; font-style: normal; font-size: 14px; font-weight: 600; letter-spacing: .02em; text-transform: none; }
.calc-go.is-loading { pointer-events: none; }
.calc-go.is-loading .go-label { visibility: hidden; }
.calc-go.is-loading .go-wait { display: flex; }
.calc-go.is-loading .go-wait i { animation: calcFill 1.6s linear forwards; }
@keyframes calcFill { to { transform: scaleX(1); } }
.reduced .calc-go.is-loading .go-wait i { animation: none; transform: scaleX(1); }

.calc-mobilebar { display: none; }

/* Result pop-up */
body.modal-open { overflow: hidden; }
.calc-modal { position: fixed; inset: 0; z-index: 900; display: grid; place-items: center; padding: 20px; opacity: 0; transition: opacity .2s; }
.calc-modal[hidden] { display: none; }
.calc-modal.is-open { opacity: 1; }
.calc-modal-bg { position: absolute; inset: 0; background: rgba(8, 17, 31, .82); }
.calc-dialog { position: relative; width: 100%; max-width: 620px; max-height: calc(100vh - 40px); overflow-y: auto; background: var(--surface); color: var(--ink); border-top: 8px solid var(--amber); padding: 40px 40px 36px; transform: translateY(24px); transition: transform .3s var(--ease-out); outline: none; }
.calc-modal.is-open .calc-dialog { transform: none; }
.calc-dialog h2 { font-size: 30px; font-weight: 900; text-transform: uppercase; margin-bottom: 24px; }
.calc-x { position: absolute; right: 14px; top: 14px; width: 44px; height: 44px; display: grid; place-items: center; background: none; border: 2px solid var(--ink); color: var(--ink); cursor: pointer; padding: 0; }
.calc-x .icon { width: 20px; height: 20px; }
.calc-x:hover { background: var(--amber); color: var(--navy); border-color: var(--amber); }
.res-grid { display: grid; grid-template-columns: 1fr 1fr; border: 2px solid var(--ink); }
.res { padding: 22px 24px; display: flex; flex-direction: column; gap: 4px; }
.res + .res { border-left: 2px solid var(--ink); }
.res span { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--steel); }
.res strong { font-family: var(--f-head); font-weight: 900; font-size: 44px; line-height: 1.05; }
.res strong b { font-weight: 900; }
.res em { font-style: normal; font-size: 13px; color: var(--steel); }
.res-main { background: var(--amber); color: var(--navy); }
.res-main span, .res-main em { color: var(--navy); }
.res-rec { list-style: none; margin: 20px 0 0; padding: 0; border-top: 1px solid var(--line); }
.res-rec li { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); font-weight: 500; }
.res-rec li .icon { width: 22px; height: 22px; color: var(--amber); flex: none; }
.res-rec li span { flex: 1; }
.res-rec li b { font-family: var(--f-head); font-weight: 900; font-size: 20px; }
.res-note { margin: 16px 0 24px; font-size: 13px; color: var(--steel); }
.res-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.res-actions .btn { flex: 1 1 auto; justify-content: center; }
.res-actions [data-continue] { flex-basis: 100%; }
.calc-how .steps { margin-top: 8px; }
@media (max-width: 1100px) { .calc-layout { grid-template-columns: 1fr 320px; gap: 32px; } }
@media (max-width: 960px) {
  .calc-layout { grid-template-columns: 1fr; }
  .calc-summary { display: none; }
  .calc-mobilebar { display: flex; position: fixed; left: 0; right: 0; bottom: 60px; z-index: 70; align-items: center; justify-content: space-between; gap: 12px; background: var(--navy); color: var(--white); padding: 10px var(--gutter); border-top: 3px solid var(--amber); }
  .calc-mobilebar strong { font-family: var(--f-head); font-weight: 900; font-size: 28px; color: var(--amber); }
  .calc-mobilebar span { display: block; font-size: 11px; color: #C9D2E3; margin-top: -4px; text-transform: uppercase; letter-spacing: .08em; }
  .calc-mobilebar .btn { padding: 12px 22px; }
  .calc-sec { padding-bottom: 150px; }
}
@media (max-width: 560px) {
  .calc-group h2, .calc-row, .calc-actype { padding-left: 18px; padding-right: 18px; }
  .calc-dialog { padding: 32px 22px 26px; }
  .calc-dialog h2 { font-size: 24px; }
  .res strong { font-size: 34px; }
  .res { padding: 16px; }
}

.calc-go-m { min-width: 170px; min-height: 48px; }
.calc-go-m .go-wait em { font-size: 12px; white-space: nowrap; }

/* Load field */
.calc-link { display: inline-flex; align-items: center; gap: 10px; margin-top: 10px; font-weight: 600; font-size: 14px; color: var(--ink); text-decoration: none; border: 2px solid var(--ink); padding: 10px 16px; transition: background-color .15s, color .15s, border-color .15s; }
.calc-link .icon { width: 18px; height: 18px; color: var(--amber); }
.calc-link:hover { background: var(--amber); border-color: var(--amber); color: var(--navy); }
.calc-link:hover .icon { color: var(--navy); }
.load-note { margin: 10px 0 0; padding: 10px 14px; background: var(--bg-alt); border-left: 4px solid var(--amber); font-size: 14px; font-weight: 500; }
.load-note[hidden] { display: none; }
.form-card .calc-link { padding: 8px 14px; }

/* Thank-you: WhatsApp hand-off */
.wa-progress { height: 6px; background: var(--line); margin: 0 0 28px; max-width: 420px; overflow: hidden; }
.wa-progress i { display: block; height: 100%; background: var(--wa); transform: scaleX(0); transform-origin: left; animation: waFill 2.2s linear forwards; }
@keyframes waFill { to { transform: scaleX(1); } }
.reduced .wa-progress i { animation: none; transform: scaleX(1); }
.wa-help { margin-top: 22px; font-size: 14px; color: var(--steel); }
.wa-help a { color: var(--link); font-weight: 600; }
