/* base.css: tokens, reset, type, buttons, components. TRUE ON EVERY SCREEN. No layout here (RULES.md §3).
   Three colours only: blue (and its tints), white, black (and its greys). */
:root {
  --blue: #085098; --blue-dark: #063B70; --blue-ink: #0B2A4A; --blue-tint: #EEF4FB; --blue-line: #CFE0F3;
  --ink: #111111; --soft: #4A5563; --faint: #5E6A79; --line: #E6EAF0; --bg: #FFFFFF;
  --radius: 16px; --radius-sm: 10px; --shadow: 0 8px 24px rgba(11, 42, 74, .07); --shadow-lg: 0 18px 44px rgba(11, 42, 74, .14);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --wrap: 1200px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
:target, [id] { scroll-margin-top: 96px; }
html.no-scroll { overflow: hidden; }
body { margin: 0; font: 400 16px/1.6 var(--font); color: var(--ink); background: var(--bg); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-dark); }
h1, h2, h3, h4, p, figure { margin: 0; }
h1, h2, h3, h4 { color: var(--blue); font-weight: 800; letter-spacing: -.015em; line-height: 1.15; text-wrap: balance; }
p, li { text-wrap: pretty; }
h3 { font-size: 1.15rem; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; cursor: pointer; }
input, select, textarea { font: inherit; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: .76rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--blue); }
.eyebrow::before { content: ""; width: 20px; height: 2px; background: var(--blue); }
.lead { color: var(--soft); font-size: 1.05rem; max-width: 60ch; }
.small { color: var(--soft); font-size: .92rem; }
.sec-head { display: grid; gap: 10px; }
.sec-head.center { text-align: center; justify-items: center; margin-inline: auto; }

/* Section backgrounds: white pages with a few dark-blue bands (RULES.md §9) */
.sec { background: var(--bg); }
.sec.dark { background: var(--blue-dark); color: #fff; }
.sec.dark h2, .sec.dark h3, .sec.dark .eyebrow { color: #fff; }
.sec.dark .eyebrow::before { background: #fff; }
.sec.dark .lead, .sec.dark .small, .sec.dark > .wrap > p, .sec.dark .story-text p, .sec.dark .sec-head p, .sec.dark .why-grid p { color: rgba(255, 255, 255, .82); }
/* white cards keep their own colours inside a dark band */
.sec.dark .review, .sec.dark .offer, .sec.dark .contact-card, .sec.dark .faq-item, .sec.dark .arro { color: var(--ink); }
.sec.dark .review p, .sec.dark .offer p, .sec.dark .contact-card p, .sec.dark .faq-a { color: var(--soft); }
.sec.dark .review .who b, .sec.dark .offer h3, .sec.dark .contact-card h3, .sec.dark .faq-item summary { color: var(--blue); }
.sec.dark .review .who span { color: var(--faint); }
.sec.dark .offer .eyebrow, .sec.dark .contact-card .eyebrow { color: var(--blue); }
.sec.dark .offer .eyebrow::before, .sec.dark .contact-card .eyebrow::before { background: var(--blue); }
.sec.dark .offer .chip, .sec.dark .contact-card .chip { background: var(--blue-tint); border-color: var(--blue-line); color: var(--blue); }
.sec.dark .chip { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .3); color: #fff; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 22px; border-radius: 999px; font-weight: 700; font-size: .95rem; border: 2px solid transparent; transition: transform .18s ease, background .18s ease, color .18s ease, box-shadow .18s ease; white-space: nowrap; }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn:hover { transform: translateY(-2px); }
.btn-sm { min-height: 48px; padding: 0 20px; font-size: .9rem; }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 8px 20px rgba(8, 80, 152, .25); }
.btn-primary:hover { background: var(--blue-dark); color: #fff; }
.btn-outline { background: #fff; color: var(--blue); border-color: var(--blue); }
.btn-outline:hover { background: var(--blue-tint); color: var(--blue-dark); }
.btn-ghost { background: rgba(255, 255, 255, .1); color: #fff; border-color: rgba(255, 255, 255, .6); backdrop-filter: blur(6px); }
.btn-ghost:hover { background: #fff; color: var(--blue); }
.btn-white { background: #fff; color: var(--blue); }
.btn-white:hover { background: var(--blue-tint); color: var(--blue-dark); }

/* Chips, ticks */
.chip { display: inline-flex; align-items: center; padding: 7px 13px; border-radius: 999px; background: var(--blue-tint); border: 1px solid var(--blue-line); font-weight: 600; font-size: .86rem; color: var(--blue); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.ticks { display: grid; gap: 8px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; color: var(--soft); font-size: .95rem; }
.ticks li::before { content: ""; flex: none; width: 20px; height: 20px; margin-top: 2px; border-radius: 50%; background: var(--blue-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23085098' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 13l4 4L19 7'/%3E%3C/svg%3E") center / 12px no-repeat; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .95); backdrop-filter: blur(10px); border-bottom: 1px solid transparent; transition: box-shadow .2s, border-color .2s; }
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 20px rgba(11, 42, 74, .07); }
.logo { display: inline-flex; border-radius: 8px; }
.logo:focus { outline: none; } .logo:focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; }
.logo img { height: 42px; width: auto; }
.nav a { font-weight: 600; color: var(--blue-ink); padding: 8px 2px; position: relative; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform .2s; }
.nav a:hover::after, .nav a.is-active::after { transform: scaleX(1); }
.header-phone { font-weight: 800; color: var(--blue); display: inline-flex; align-items: center; gap: 8px; }
.header-phone svg { width: 20px; height: 20px; }
.burger { width: 48px; height: 48px; border-radius: 12px; border: 1px solid var(--line); background: #fff; display: inline-grid; place-items: center; }
.burger span { display: block; width: 20px; height: 2px; background: var(--blue-ink); margin: 2.5px 0; border-radius: 2px; }
.round-call { width: 48px; height: 48px; border-radius: 50%; background: var(--blue); color: #fff; display: inline-grid; place-items: center; }
.round-call svg { width: 20px; height: 20px; }

/* Drawer */
.drawer-overlay { position: fixed; inset: 0; background: rgba(11, 42, 74, .55); opacity: 0; pointer-events: none; transition: opacity .25s; z-index: 60; }
.drawer-overlay.is-open { opacity: 1; pointer-events: auto; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(86vw, 360px); background: #fff; z-index: 70; transform: translateX(100%); visibility: hidden; transition: transform .3s ease, visibility .3s; display: flex; flex-direction: column; padding: 20px; }
.drawer.is-open { transform: translateX(0); visibility: visible; }
.drawer .nav { display: grid; gap: 4px; margin-top: 18px; }
.drawer .nav a { font-size: 1.1rem; padding: 14px 8px; border-bottom: 1px solid var(--line); }
.drawer-foot { margin-top: auto; display: grid; gap: 10px; }
.drawer-close { align-self: flex-end; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line); background: #fff; font-size: 1.4rem; line-height: 1; }

/* Hero banner */
.hero { position: relative; color: #fff; overflow: hidden; background: var(--blue-dark); text-align: center; }
.hero-media { position: absolute; inset: 0; }
.hero-media img, .hero-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-media video { opacity: 0; transition: opacity .8s ease; }
.hero-media video.is-ready { opacity: 1; }
.hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6, 59, 112, .72) 0%, rgba(6, 59, 112, .78) 60%, rgba(6, 59, 112, .9) 100%); }
.hero-body { justify-items: center; }
.hero-actions { justify-content: center; }
.hero .eyebrow::before { display: none; }
.hero-body { position: relative; display: grid; }
.hero .eyebrow { color: #fff; } .hero .eyebrow::before { background: #fff; }
.hero h1 { color: #fff; }
.hero p { color: rgba(255, 255, 255, .9); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* Offer row */
.offer { display: grid; align-content: start; gap: 10px; padding: 24px; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; color: inherit; transition: transform .2s, box-shadow .2s, border-color .2s; }
.js .reveal.is-in.offer:hover, .offer:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--blue-line); color: inherit; }
.offer .ico, .why-grid .ico { width: 52px; height: 52px; border-radius: 14px; background: var(--blue-tint); color: var(--blue); display: grid; place-items: center; }
.offer .ico svg, .why-grid .ico svg { width: 26px; height: 26px; }
.offer p, .why-grid p { color: var(--soft); font-size: .95rem; }

/* Story block */
.story-media { border-radius: var(--radius); overflow: hidden; background: var(--blue-tint); position: relative; box-shadow: var(--shadow); }
.story-media img { width: 100%; height: 100%; object-fit: cover; }
.story-media figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 32px 16px 12px; color: #fff; font-size: .85rem; font-weight: 600; background: linear-gradient(180deg, transparent, rgba(6, 59, 112, .85)); }
.story-text { display: grid; gap: 16px; align-content: center; justify-items: start; }
.story-text p { color: var(--soft); }
.sec.dark .story-text p { color: rgba(255, 255, 255, .85); }
.panel-list { display: grid; gap: 8px; }
.panel-list li { display: flex; align-items: center; gap: 10px; padding: 9px 14px; border-radius: var(--radius-sm); background: var(--blue-tint); border: 1px solid var(--blue-line); font-weight: 600; font-size: .92rem; color: var(--blue-ink); }
.panel-list li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--blue); flex: none; }

/* Why */
.why-grid li { display: grid; align-content: start; gap: 10px; padding: 24px; border-radius: var(--radius); background: var(--blue-tint); border: 1px solid var(--blue-line); }

/* Gallery + clients (dark) */
.tile { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--blue-dark); }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease; }
.tile:hover img { transform: scale(1.05); }
.tile figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 32px 14px 12px; color: #fff; font-size: .85rem; font-weight: 600; background: linear-gradient(180deg, transparent, rgba(6, 59, 112, .88)); }
.clients { display: grid; gap: 14px; justify-items: center; text-align: center; }
.clients-label { font-size: .76rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: rgba(255, 255, 255, .7); }
/* Client logo marquee: real logos from PowerZone's own brochure, grey at rest, colour on hover */
.logo-marquee { width: 100%; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.logo-track { display: flex; align-items: center; width: max-content; animation: logoscroll 54s linear infinite; }
.logo-track li { flex: none; display: grid; place-items: center; }
.logo-track img { width: auto; object-fit: contain; opacity: 1; mix-blend-mode: multiply; transition: opacity .35s ease, transform .35s ease; }
.logo-track li:hover img { transform: scale(1.07); }
.logo-marquee:hover .logo-track { animation-play-state: paused; }
@keyframes logoscroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.clients-also { color: var(--soft); font-size: .95rem; text-align: center; }
@media (prefers-reduced-motion: reduce) { .logo-track { animation: none; flex-wrap: wrap; width: 100%; justify-content: center; } .logo-track li[aria-hidden] { display: none; } }

/* Reviews */
.rating-card { background: var(--blue-tint); border-radius: var(--radius); padding: 24px; border: 1px solid var(--blue-line); display: grid; gap: 8px; align-content: start; justify-items: start; }
.rating-card .big { font-size: 3rem; font-weight: 800; color: var(--blue); line-height: 1; letter-spacing: -.03em; }
.rating-card .big small { font-size: 1rem; color: var(--faint); margin-left: 6px; font-weight: 600; }
.stars { color: var(--blue); letter-spacing: 2px; font-size: 1.1rem; }
.review { background: #fff; border-radius: var(--radius); padding: 24px; border: 1px solid var(--line); box-shadow: var(--shadow); display: grid; gap: 12px; }
.review .who { display: flex; align-items: center; gap: 12px; }
.review .avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--blue); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: .9rem; }
.review .who b { display: block; color: var(--blue-ink); } .review .who span { color: var(--faint); font-size: .82rem; }
.review p { color: var(--soft); font-size: .97rem; }

/* FAQ */
.faq-item { border: 1px solid var(--blue-line); border-radius: var(--radius-sm); background: #fff; padding: 0 18px; }
.faq-item[open] { border-color: var(--blue); box-shadow: var(--shadow); }
.faq-item summary { cursor: pointer; list-style: none; padding: 16px 36px 16px 0; font-weight: 700; color: var(--blue-ink); position: relative; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); width: 26px; height: 26px; border-radius: 50%; background: var(--blue-tint); color: var(--blue); display: grid; place-items: center; font-weight: 800; }
.faq-item[open] summary::after { content: "–"; }
.faq-a { color: var(--soft); padding: 0 0 16px; font-size: .97rem; }

/* Contact */
.contact-card { background: #fff; border-radius: var(--radius); padding: 24px; border: 1px solid var(--blue-line); box-shadow: var(--shadow); display: grid; gap: 16px; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 600; font-size: .9rem; color: var(--blue-ink); }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; padding: 11px 14px; border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: #fff; color: var(--ink); }
.field textarea { min-height: 100px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(8, 80, 152, .12); }
.field input.is-error, .field select.is-error, .field textarea.is-error { border-color: var(--ink); border-width: 2px; }
.field-error { color: var(--ink); font-size: .86rem; font-weight: 600; display: flex; gap: 6px; align-items: center; }
.field-error::before { content: "!"; flex: none; width: 16px; height: 16px; border-radius: 50%; background: var(--ink); color: #fff; font-size: .72rem; display: grid; place-items: center; }
.form-step { display: grid; gap: 12px; }
.form-hint { font-size: .84rem; color: var(--faint); }
.form-done, .form-fail { padding: 16px; border-radius: var(--radius-sm); display: grid; gap: 4px; }
.form-done { background: var(--blue-tint); color: var(--blue-ink); border: 1px solid var(--blue-line); }
.form-fail { background: #fff; color: var(--ink); border: 1.5px solid var(--ink); }
.contact-list { display: grid; gap: 14px; }
.contact-list li { display: grid; grid-template-columns: 44px 1fr; gap: 12px; align-items: start; }
.contact-list .ico { width: 44px; height: 44px; border-radius: 12px; background: var(--blue-tint); color: var(--blue); display: grid; place-items: center; }
.contact-list .ico svg { width: 20px; height: 20px; }
.contact-list b { display: block; color: var(--blue-ink); font-size: .88rem; }
.contact-list a, .contact-list span { color: var(--soft); }
.map { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--blue-line); background: var(--blue-tint); }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }

/* Footer */
.footer { background: var(--blue-dark); color: rgba(255, 255, 255, .82); }
.footer a { color: rgba(255, 255, 255, .82); } .footer a:hover { color: #fff; }
.footer h4 { color: #fff; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 12px; }
.footer .logo img { height: 40px; }
.footer-col p { margin-top: 12px; max-width: 38ch; font-size: .95rem; }
.footer-col ul { display: grid; gap: 8px; font-size: .95rem; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .14); padding: 16px 0; font-size: .84rem; color: rgba(255, 255, 255, .6); }
.socials { display: flex; gap: 10px; margin-top: 16px; }
.socials a { width: 48px; height: 48px; border-radius: 50%; background: rgba(255, 255, 255, .1); display: grid; place-items: center; }
.socials a:hover { background: #fff; color: var(--blue); }
.socials svg { width: 17px; height: 17px; }

/* Sticky bar + floating WhatsApp */
.sticky-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .94); backdrop-filter: blur(10px); border-top: 1px solid var(--line); transform: translateY(110%); transition: transform .3s ease; }
.sticky-bar.is-visible { transform: translateY(0); }
.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 45; width: 54px; height: 54px; border-radius: 50%; background: #fff; color: var(--blue); display: grid; place-items: center; box-shadow: 0 0 0 1px rgba(11,42,74,.08), 0 10px 26px rgba(11, 42, 74, .28); }
.wa-float svg { width: 28px; height: 28px; }
.wa-float:hover { background: var(--blue); color: #fff; transform: translateY(-2px); }

/* Motion */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; transition-delay: var(--d, 0s); }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* dark variants */
.sec.dark .panel-list li { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.22); color: #fff; }
.sec.dark .panel-list li::before { background: #fff; }
.sec.dark .ticks li { color: rgba(255,255,255,.85); }
.sec.dark .ticks li::before { background-color: rgba(255,255,255,.14); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 13l4 4L19 7'/%3E%3C/svg%3E"); }
.sec.dark .why-grid li { background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.2); }
.sec.dark .why-grid .ico { background: #fff; color: var(--blue); }
.sec.dark .why-grid p { color: rgba(255,255,255,.82); }
.sec.dark .story-media { box-shadow: none; }
.sec.dark .rating-card { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.22); }
.sec.dark .rating-card .big, .sec.dark .stars { color: #fff; }
.sec.dark .rating-card .big small { color: rgba(255,255,255,.7); }
.sec.dark .btn-outline { background: transparent; color: #fff; border-color: rgba(255,255,255,.7); }
.sec.dark .btn-outline:hover { background: #fff; color: var(--blue); }
.sec.dark .clients-list li { border-color: var(--blue-line); background: var(--blue-tint); color: var(--blue-ink); }
.sec.dark .clients-label { color: rgba(255,255,255,.7); }
.sec:not(.dark) .clients-label { color: var(--faint); }
.sec:not(.dark) .clients-list li { border: 1px solid var(--blue-line); background: var(--blue-tint); color: var(--blue-ink); }
.sec:not(.dark) .tile { background: var(--blue-tint); }
.sec.dark .faq-item { background: #fff; border-color: transparent; }
.sec.dark .faq-item[open] { box-shadow: none; }
.faq-head { margin-top: 64px; }

/* Counters strip */
.counters { display: grid; gap: 16px; text-align: center; }
.counters li { display: grid; align-content: start; gap: 4px; padding: 20px 16px; border-radius: var(--radius); background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.18); }
.counters b { font-size: 2.6rem; font-weight: 800; color: #fff; line-height: 1; letter-spacing: -.02em; }
.counters b small { font-size: 1rem; font-weight: 700; color: rgba(255,255,255,.75); margin-left: 4px; }
.counters li > span { color: rgba(255,255,255,.82); font-size: .95rem; }
/* CTA band */
.cta-row { display: grid; gap: 20px; align-items: center; }
.cta-row h2 { margin-bottom: 8px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Premium finish: quieter weights, finer lines, softer depth, a little light on the dark bands */
body { line-height: 1.7; color: var(--ink); }
h2 { font-weight: 700; letter-spacing: -.02em; }
h3 { font-weight: 700; }
.lead { color: var(--soft); }
.eyebrow { font-weight: 600; letter-spacing: .2em; font-size: .78rem; }
.btn { font-weight: 600; letter-spacing: .01em; }
.btn-primary { box-shadow: 0 6px 18px rgba(8, 80, 152, .22); }
.btn-primary:hover { box-shadow: 0 10px 24px rgba(8, 80, 152, .28); }
.offer, .review, .contact-card, .faq-item, .rating-card, .why-grid li, .story-media, .tile { border-radius: 14px; }
.offer, .review, .contact-card { border: 1px solid #E3E8EF; box-shadow: 0 1px 2px rgba(11, 42, 74, .04), 0 12px 32px rgba(11, 42, 74, .06); }
.offer:hover { box-shadow: 0 1px 2px rgba(11, 42, 74, .05), 0 20px 44px rgba(11, 42, 74, .10); }
.offer .ico, .why-grid .ico, .contact-list .ico { border-radius: 12px; }
.sec.dark { background-image: radial-gradient(900px 420px at 15% 0%, rgba(255,255,255,.07), transparent 60%), radial-gradient(700px 380px at 90% 100%, rgba(255,255,255,.05), transparent 60%); }
.sec.dark .why-grid li, .counters li { backdrop-filter: blur(4px); }
.story-media { box-shadow: 0 1px 2px rgba(11, 42, 74, .06), 0 18px 40px rgba(11, 42, 74, .12); }
.story-media img { transition: transform 1.2s ease; }
.story-media:hover img { transform: scale(1.03); }
.panel-list li { font-weight: 600; }
.clients-list li { font-weight: 500; }
.site-header { background: rgba(255,255,255,.9); }
.site-header.is-scrolled { box-shadow: 0 1px 0 #E6EAF0, 0 8px 24px rgba(11, 42, 74, .06); }
.footer { background-image: linear-gradient(180deg, rgba(255,255,255,.03), transparent); }
.hero h1 { font-weight: 800; text-shadow: 0 2px 24px rgba(0,0,0,.25); }
.hero p { text-shadow: 0 1px 12px rgba(0,0,0,.25); }

/* Hero video pause control (WCAG 2.2.2) */
.video-toggle { position: absolute; right: 16px; bottom: 16px; z-index: 4; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,.5); background: rgba(6,59,112,.5); color: #fff; backdrop-filter: blur(6px); display: none; place-items: center; }
.video-toggle svg { width: 16px; height: 16px; }
.video-toggle.is-shown { display: grid; }
.video-toggle:hover { background: #fff; color: var(--blue); }

/* About block with their own video */
.about-text p + p { margin-top: 14px; }
.about-text .lead { color: var(--ink); font-weight: 600; }
.video-card { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--blue-ink); box-shadow: 0 1px 2px rgba(11,42,74,.06), 0 18px 40px rgba(11,42,74,.14); aspect-ratio: 16 / 9; }
.video-card img, .video-card iframe { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; }
.video-card button { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: rgba(6,59,112,.3); display: grid; place-items: center; cursor: pointer; transition: background .3s; }
.video-card button:hover { background: rgba(6,59,112,.15); }
.video-card .play { width: 74px; height: 74px; border-radius: 50%; background: #fff; color: var(--blue); display: grid; place-items: center; box-shadow: 0 10px 30px rgba(0,0,0,.3); transition: transform .3s; }
.video-card button:hover .play { transform: scale(1.08); }
.video-card .play svg { width: 28px; height: 28px; margin-left: 4px; }
.video-card .vcap { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 16px 14px; color: #fff; font-size: .9rem; font-weight: 600; background: linear-gradient(180deg, transparent, rgba(6,59,112,.9)); pointer-events: none; }

/* Review slider */
.slider { display: grid; gap: 16px; align-content: start; }
.slider-window { overflow: hidden; border-radius: var(--radius); }
.slider-track { display: flex; transition: transform .5s cubic-bezier(.3,.7,.2,1); }
.slider-slide { flex: 0 0 100%; min-width: 100%; }
.slider-ui { display: flex; align-items: center; gap: 12px; justify-content: center; }
.slider-dots { display: flex; gap: 0; }
.slider-dot { width: 44px; height: 44px; padding: 0; border: 0; background: none; cursor: pointer; display: grid; place-items: center; }
.slider-dot::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--blue-line); transition: background .25s, transform .25s; }
.slider-dot.is-on::before { background: var(--blue); transform: scale(1.3); }
.slider-prev, .slider-next { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--blue-line); background: #fff; color: var(--blue); display: grid; place-items: center; cursor: pointer; transition: background .25s, border-color .25s; }
.slider-prev:hover, .slider-next:hover { background: var(--blue-tint); border-color: var(--blue); }
.slider-prev svg, .slider-next svg { width: 18px; height: 18px; }
.slider-prev svg { transform: rotate(180deg); }
@media (prefers-reduced-motion: reduce) { .slider-track { transition: none; } }

/* About facts */
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 20px; }
.facts li { display: grid; gap: 2px; padding: 14px 16px; border-radius: var(--radius-sm); background: var(--blue-tint); border: 1px solid var(--blue-line); }
.facts b { color: var(--blue); font-size: 1.15rem; line-height: 1.1; }
.facts span { color: var(--soft); font-size: .86rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; }

/* Hero text animation: staggered entrance, then a rotating line */
.hero-step { opacity: 0; transform: translateY(14px); animation: heroIn .7s cubic-bezier(.2,.7,.2,1) forwards; }
.hero-step:nth-child(1) { animation-delay: .05s; }
.hero-step:nth-child(2) { animation-delay: .18s; }
.hero-step:nth-child(3) { animation-delay: .31s; }
.hero-step:nth-child(4) { animation-delay: .44s; }
.hero-step:nth-child(5) { animation-delay: .57s; }
@keyframes heroIn { to { opacity: 1; transform: none; } }
.hero-rotate { display: inline-block; }
.hero-rotate-text { display: inline-block; opacity: 1; transform: translateY(0); transition: opacity .35s ease, transform .35s ease; }
.hero-rotate-text.swap { opacity: 0; transform: translateY(8px); }
@media (prefers-reduced-motion: reduce) {
  .hero-step { opacity: 1; transform: none; animation: none; }
  .hero-rotate-text { transition: none; }
}

/* the rotating half of the headline, in a light tint of the brand blue */
.hero h1 { line-height: 1.04; }
.hero-accent { color: #8FC2FF; display: inline-block; }
.hero-accent .hero-rotate-text { display: inline-block; }

/* Inner page banner */
.page-hero { background: var(--blue-dark); color: #fff; text-align: center; }
.page-hero .wrap { display: grid; justify-items: center; gap: 12px; }
.page-hero h1 { color: #fff; }
.page-hero p { color: rgba(255,255,255,.85); max-width: 62ch; }
.page-hero .eyebrow { color: #fff; }
.page-hero .eyebrow::before { background: #fff; }

/* Linked service cards */
.offer-more { color: var(--blue); font-weight: 700; font-size: .9rem; display: inline-flex; align-items: center; gap: 6px; }
.offer-more::after { content: "\2192"; transition: transform .25s ease; }
.offer:hover .offer-more::after { transform: translateX(4px); }

/* How we work */
.steps { display: grid; gap: 16px; counter-reset: step; }
.steps li { display: grid; gap: 8px; padding: 24px; border-radius: var(--radius); background: var(--blue-tint); border: 1px solid var(--blue-line); align-content: start; }
.steps b { color: var(--blue); font-size: .85rem; letter-spacing: .14em; }
.steps p { color: var(--soft); font-size: .95rem; }

/* Where we work */
.areas { display: grid; gap: 16px; }
.areas li { display: grid; gap: 6px; padding: 24px; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow); align-content: start; }
.areas b { color: var(--blue); font-size: 1.15rem; }
.areas p { color: var(--soft); font-size: .95rem; }
.center { text-align: center; }

/* Panel cards on the services page */
.panel-cards { display: grid; gap: 14px; }
.panel-cards li { display: grid; gap: 6px; align-content: start; padding: 20px; border-radius: var(--radius); background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.2); }
.panel-cards b { color: #fff; font-size: 1.02rem; }
.panel-cards p { color: rgba(255,255,255,.82); font-size: .92rem; }
.facts.center-facts { max-width: 820px; margin-inline: auto; }

/* the button row that closes a section */
.svc-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 28px; }
.story-text .svc-cta, .about-text .svc-cta { justify-content: flex-start; }

.sec-head .btn { justify-self: start; margin-top: 8px; }

.sec-head:last-child { margin-bottom: 0; }
.wrap > .sec-head:only-child { margin-bottom: 0; }

/* Quote popup: a dialog carrying the enquiry form (RULES: structure here, colour in theme.css) */
.quote-modal { border: 0; padding: 0; background: transparent; max-width: none; width: min(560px, calc(100% - 32px)); }
.quote-modal::backdrop { background: rgba(5, 12, 28, .72); backdrop-filter: blur(6px); }
.quote-box { position: relative; padding: 28px 24px 24px; border-radius: var(--radius); background: #fff; max-height: 92vh; overflow: auto; }
.quote-close { position: absolute; top: 12px; right: 12px; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: #fff; font-size: 1.3rem; line-height: 1; z-index: 1; }
.quote-head { display: grid; gap: 6px; margin-bottom: 18px; padding-right: 48px; }
.quote-head h3 { font-size: 1.45rem; }
.quote-box .contact-card { padding: 0; border: 0; box-shadow: none; background: transparent; backdrop-filter: none; }
.quote-modal[open] { animation: quoteIn .38s cubic-bezier(.2, .8, .2, 1); }
.quote-modal[open]::backdrop { animation: quoteFade .3s ease; }
@keyframes quoteIn { from { opacity: 0; transform: translateY(18px) scale(.98); } }
@keyframes quoteFade { from { opacity: 0; } }
