/* ============================================================
   KEKAL — Construction Chemicals (CLEAN edition)
   Light, minimal, modern. Three clean accent directions:
     blue  — Trust Blue
     teal  — Aqua (waterproofing)
     amber — Warm Amber
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Source+Serif+4:opsz,wght@8..60,400;8..60,500;8..60,600;8..60,700&family=Source+Sans+3:wght@400;500;600;700&family=Libre+Franklin:wght@400;500;600;700;800&display=swap');

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; }

:root {
  --maxw: 1300px;
  --gutter: clamp(20px, 5vw, 60px);
  --ease: cubic-bezier(.22,.61,.36,1);

  --font-display: 'Source Serif 4', Georgia, 'Times New Roman', serif;
  --font-body:    'Source Sans 3', system-ui, sans-serif;
  --font-label:   'Source Sans 3', system-ui, sans-serif;
  --display-spacing: -0.005em;
  --display-weight: 600;
}

/* ---------- Type direction (formal) ---------- */
[data-type="serif"] {
  --font-display: 'Source Serif 4', Georgia, 'Times New Roman', serif;
  --font-body:    'Source Sans 3', system-ui, sans-serif;
  --font-label:   'Source Sans 3', system-ui, sans-serif;
  --display-spacing: -0.005em;
  --display-weight: 600;
}
[data-type="sans"] {
  --font-display: 'Libre Franklin', system-ui, sans-serif;
  --font-body:    'Libre Franklin', system-ui, sans-serif;
  --font-label:   'Libre Franklin', system-ui, sans-serif;
  --display-spacing: -0.018em;
  --display-weight: 700;
}

/* ---------- Clean neutral base shared by all themes ---------- */
[data-theme] {
  --bg:        #FFFFFF;
  --bg-alt:    #F4F7FB;
  --bg-tint:   #EDF3FA;
  --bg-dark:   #0E1A2B;
  --bg-dark-2: #16273D;
  --surface:   #FFFFFF;
  --ink:       #142231;
  --ink-2:     #5F7184;
  --ink-3:     #93A2B2;
  --ink-inv:   #EAF1F8;
  --ink-inv-2: #9DB0C4;
  --line:      #E6ECF3;
  --line-2:    #DCE5EF;
  --line-dark: #21364F;
  --accent-ink:#FFFFFF;

  --radius:    10px;
  --radius-lg: 16px;
  --radius-pill: 100px;
  --shadow-sm: 0 2px 6px rgba(20,40,70,.05);
  --shadow:    0 14px 38px -22px rgba(20,40,70,.30);
  --shadow-lg: 0 30px 70px -30px rgba(20,40,70,.40);
  --eyebrow-spacing: .2em;
}

/* ---------- Accent per direction ---------- */
[data-theme="blue"]  { --accent:#1E63D6; --accent-2:#2BB3D6; --bg-tint:#ECF2FC; --accent-soft:#E7F0FF; }
[data-theme="teal"]  { --accent:#0E9C97; --accent-2:#2FBF8F; --bg-tint:#E7F6F4; --accent-soft:#E2F5F2; }
[data-theme="amber"] { --accent:#E8730C; --accent-2:#F2A93B; --bg-tint:#FBF1E7; --accent-soft:#FCEFE0; }

/* ============================================================
   GLOBAL
   ============================================================ */
.page {
  background: var(--bg); color: var(--ink);
  font-family: var(--font-body); font-size: 17px; line-height: 1.6;
  min-height: 100vh; overflow-x: clip;
  transition: background .3s var(--ease), color .3s var(--ease);
}
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gutter); }

h1,h2,h3,h4 { font-family: var(--font-display); margin: 0; line-height: 1.1;
  letter-spacing: var(--display-spacing); font-weight: var(--display-weight); }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.eyebrow {
  font-family: var(--font-label); font-size: 12px; font-weight: 500;
  letter-spacing: var(--eyebrow-spacing); text-transform: uppercase;
  color: var(--accent); display: inline-flex; align-items: center; gap: 9px; white-space: nowrap;
}
.eyebrow::before { content: ""; width: 18px; height: 2px; background: var(--accent); border-radius: 2px; }
.eyebrow.plain::before { display: none; }

.section { padding-block: clamp(70px, 9vw, 128px); }
.section-head { max-width: 740px; margin-bottom: clamp(40px, 5vw, 62px); }
.section-head h2 { font-size: clamp(32px, 4.6vw, 56px); margin-top: 18px; }
.section-head p { color: var(--ink-2); font-size: clamp(16px,1.6vw,19px); margin-top: 18px; max-width: 56ch; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-body); font-size: 15px; font-weight: 600; letter-spacing: .005em;
  padding: 14px 24px; border-radius: var(--radius); border: 1px solid transparent;
  cursor: pointer; transition: transform .18s var(--ease), box-shadow .2s, border-color .2s;
  white-space: nowrap; line-height: 1;
}
.btn .arr { transition: transform .2s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }
.btn-primary { background: var(--accent); color: var(--accent-ink); box-shadow: var(--shadow); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-ghost.on-dark { color: #fff; border-color: rgba(255,255,255,.32); background: rgba(255,255,255,.06); }
.btn-ghost.on-dark:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.82); backdrop-filter: saturate(1.2) blur(16px);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; gap: 28px; height: 74px; }
.brand { display: flex; align-items: center; gap: 12px; margin-right: auto; }
.brand-mark { width: 40px; height: 40px; flex: none; display: grid; place-items: center;
  background: var(--accent); color: #fff; border-radius: 9px;
  font-family: var(--font-display); font-weight: 700; font-size: 21px; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: var(--font-display); font-weight: 700; font-size: 22px; letter-spacing: .02em; color: var(--ink); }
.brand-sub { font-family: var(--font-label); font-size: 9.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); margin-top: 4px; }

.nav-links { display: flex; gap: 2px; }
.nav-links a { font-size: 15px; font-weight: 500; padding: 9px 15px; border-radius: 8px; color: var(--ink); transition: background .2s, color .2s; white-space: nowrap; }
.nav-links a:hover { background: var(--bg-alt); color: var(--accent); }
.nav-links a.has-menu::after { content: "▾"; margin-left: 6px; font-size: 10px; opacity: .4; }
.nav-cta { display: flex; align-items: center; gap: 16px; }
.nav-phone { font-family: var(--font-label); font-size: 13px; color: var(--ink-2); display: flex; align-items: center; gap: 7px; }
.nav-phone b { font-weight: 600; color: var(--ink); }
.nav-burger { display: none; }

/* ============================================================
   HERO — full-width image carousel (competitor-style banner)
   ============================================================ */
.hero { position: relative; background: var(--bg-dark); }
.slider { position: relative; width: 100%; height: clamp(500px, 80vh, 760px); overflow: hidden; }
.slides { position: relative; width: 100%; height: 100%; }
.slide {
  position: absolute; inset: 0; opacity: 0; visibility: hidden;
  transition: opacity .9s var(--ease), visibility .9s var(--ease);
}
.slide.is-active { opacity: 1; visibility: visible; }
.slide image-slot { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 0; }
.slide-scrim {
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(8,16,28,.86) 0%, rgba(8,16,28,.55) 42%, rgba(8,16,28,.12) 72%, rgba(8,16,28,0) 100%),
    linear-gradient(0deg, rgba(8,16,28,.45) 0%, rgba(8,16,28,0) 40%);
}
.slide-inner { position: relative; z-index: 3; height: 100%; display: flex; align-items: center; }
.slide-content { max-width: 660px; }
.slide-content .eyebrow { color: #fff; }
.slide-content .eyebrow::before { background: var(--accent-2); }
.slide-content h1 { color: #fff; font-size: clamp(40px, 6vw, 78px); margin: 22px 0 0; letter-spacing: -0.025em; line-height: 1.04; }
.slide-content h1 .accent { color: var(--accent-2); }
.slide-content p { color: rgba(255,255,255,.86); font-size: clamp(17px,1.9vw,21px); max-width: 48ch; margin-top: 22px; line-height: 1.6; }
.slide-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }

/* slide entrance for active */
@media (prefers-reduced-motion: no-preference) {
  .slide.is-active .slide-content > * { animation: slideUp .8s var(--ease) backwards; }
  .slide.is-active .slide-content > *:nth-child(2) { animation-delay: .1s; }
  .slide.is-active .slide-content > *:nth-child(3) { animation-delay: .2s; }
  .slide.is-active .slide-content > *:nth-child(4) { animation-delay: .3s; }
  @keyframes slideUp { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
}

/* arrows */
.slider-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 6;
  width: 52px; height: 52px; border-radius: 50%; cursor: pointer;
  background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.3); color: #fff;
  display: grid; place-items: center; backdrop-filter: blur(6px); transition: background .2s, transform .2s;
}
.slider-arrow:hover { background: var(--accent); border-color: var(--accent); }
.slider-arrow.prev { left: clamp(14px, 3vw, 34px); }
.slider-arrow.next { right: clamp(14px, 3vw, 34px); }
.slider-arrow svg { width: 22px; height: 22px; }

/* dots + progress */
.slider-dots { position: absolute; left: 50%; transform: translateX(-50%); bottom: 28px; z-index: 6; display: flex; gap: 10px; }
.slider-dots button { width: 34px; height: 4px; border-radius: 4px; border: 0; cursor: pointer;
  background: rgba(255,255,255,.32); padding: 0; overflow: hidden; position: relative; transition: background .2s; }
.slider-dots button.active { background: rgba(255,255,255,.5); }
.slider-dots button.active::after { content: ""; position: absolute; inset: 0; width: 0; background: #fff; }
.slider-dots button.active.run::after { width: 100%; transition: width 5s linear; }

/* trust bar under hero */
.trust { background: var(--bg); border-bottom: 1px solid var(--line); }
.trust-grid { display: grid; grid-template-columns: repeat(4,1fr); }
.trust .stat { padding: 30px 6px 32px; border-right: 1px solid var(--line); }
.trust .stat:last-child { border-right: 0; }
.trust .stat .n { font-family: var(--font-display); font-weight: 700; font-size: clamp(28px,3vw,40px); color: var(--ink); letter-spacing: var(--display-spacing); }
.trust .stat .n .accent { color: var(--accent); }
.trust .stat .l { font-family: var(--font-label); font-size: 12px; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-2); margin-top: 7px; }

/* ============================================================
   PRODUCTS
   ============================================================ */
.products { background: var(--bg); }
.prod-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px,2vw,26px); }
@media (max-width: 980px) { .prod-grid { grid-template-columns: repeat(2, 1fr); } }
.prod-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-sm); display: flex; flex-direction: column;
  transition: transform .25s var(--ease), box-shadow .25s, border-color .25s;
}
.prod-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--line-2); }
.prod-media { position: relative; aspect-ratio: 16/10; background: var(--bg-alt); }
.prod-media image-slot { width: 100%; height: 100%; border-radius: 0; }
.prod-num { position: absolute; top: 14px; left: 14px; z-index: 2; font-family: var(--font-label);
  font-size: 12px; letter-spacing: .06em; color: #fff; background: var(--accent); padding: 5px 10px; border-radius: 7px; }
.prod-body { padding: clamp(22px,2.4vw,30px); display: flex; flex-direction: column; gap: 11px; flex: 1; }
.prod-body h3 { font-size: clamp(21px,2.1vw,27px); }
.prod-body p { color: var(--ink-2); font-size: 15.5px; }
.prod-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 2px; }
.prod-tags span { font-family: var(--font-label); font-size: 11px; letter-spacing: .02em; text-transform: uppercase;
  color: var(--accent); background: var(--accent-soft); padding: 5px 10px; border-radius: var(--radius-pill); }
.prod-link { margin-top: auto; padding-top: 6px; font-size: 14px; font-weight: 600; color: var(--accent);
  display: inline-flex; align-items: center; gap: 8px; }
.prod-card:hover .prod-link .arr { transform: translateX(4px); }
.prod-link .arr { transition: transform .2s var(--ease); }

/* ============================================================
   VALUES — editorial dark band
   ============================================================ */
.values { background: var(--bg-dark); color: var(--ink-inv); position: relative; overflow: hidden; }
.values::before { content: ""; position: absolute; right: -140px; top: -120px; width: 480px; height: 480px;
  border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--accent) 38%, transparent), transparent 66%);
  opacity: .4; filter: blur(10px); pointer-events: none; }
.values-head { max-width: 760px; margin-bottom: clamp(44px,5vw,68px); position: relative; z-index: 2; }
.values-head .eyebrow { color: var(--accent-2); }
.values-head h2 { font-size: clamp(32px,4.4vw,54px); color: #fff; margin-top: 18px; }
.values-head p { color: var(--ink-inv-2); margin-top: 18px; font-size: 18px; max-width: 52ch; }
.values-row { display: grid; grid-template-columns: repeat(3,1fr); border-top: 1px solid var(--line-dark);
  position: relative; z-index: 2; }
.value { position: relative; overflow: hidden;
  padding: clamp(36px,3vw,50px) clamp(28px,2.4vw,40px) clamp(34px,3vw,46px);
  border-left: 1px solid var(--line-dark); transition: background .35s var(--ease); }
.value:first-child { border-left: 0; padding-left: 0; }
.value::after { content: ""; position: absolute; top: -1px; left: 0; right: 0; height: 2px;
  background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.value:hover { background: rgba(255,255,255,.028); }
.value:hover::after { transform: scaleX(1); }
.value-idx { position: absolute; top: clamp(28px,2.4vw,42px); right: clamp(18px,1.8vw,30px);
  font-family: var(--font-display); font-weight: 600; font-size: clamp(58px,7vw,98px); line-height: 1;
  color: #fff; opacity: .07; pointer-events: none; }
.value:first-child .value-idx { right: clamp(18px,1.8vw,30px); }
.value-ico { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  border: 1.5px solid color-mix(in srgb, var(--accent-2) 55%, transparent); color: var(--accent-2);
  margin-bottom: 28px; transition: background .3s, color .3s, border-color .3s, transform .3s var(--ease); }
.value:hover .value-ico { background: var(--accent); border-color: var(--accent); color: #fff; transform: translateY(-2px); }
.value-ico svg { width: 26px; height: 26px; }
.value h3 { font-size: clamp(23px,2.2vw,30px); color: #fff; margin-bottom: 14px; }
.value p { color: var(--ink-inv-2); font-size: 16px; max-width: 38ch; line-height: 1.62; }

/* ============================================================
   VISION / MISSION — clean split
   ============================================================ */
.vm { background: var(--bg); overflow: hidden; }
.vm-inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(36px,5vw,76px); align-items: center; }
.vm-media { position: relative; }
.vm-media image-slot { width: 100%; height: clamp(380px, 42vw, 540px); border-radius: var(--radius-lg);
  border: 1px solid var(--line); box-shadow: var(--shadow); }
.vm-badge { position: absolute; right: -18px; bottom: 28px; background: var(--accent); color: #fff;
  border-radius: var(--radius); padding: 16px 20px; box-shadow: var(--shadow-lg); max-width: 210px; }
.vm-badge .num { font-family: var(--font-display); font-weight: 700; font-size: 30px; line-height: 1; }
.vm-badge .lbl { font-family: var(--font-label); font-size: 11px; text-transform: uppercase; letter-spacing: .05em; margin-top: 6px; opacity: .92; }
.vm-block { margin-bottom: 38px; padding-left: 22px; border-left: 2px solid var(--line-2); }
.vm-block:last-child { margin-bottom: 0; }
.vm-block.active { border-left-color: var(--accent); }
.vm-block h2 { font-size: clamp(26px,3vw,38px); margin: 14px 0 12px; }
.vm-block p { color: var(--ink-2); font-size: 17px; max-width: 50ch; line-height: 1.62; }

/* ============================================================
   SHOWCASE GALLERY
   ============================================================ */
.showcase { background: var(--bg-alt); border-top: 1px solid var(--line); }
.showcase-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 200px; gap: clamp(12px,1.4vw,18px); }
.shot { position: relative; overflow: hidden; border-radius: var(--radius-lg); border: 1px solid var(--line); }
.shot image-slot { width: 100%; height: 100%; border-radius: 0; }
.shot.big { grid-column: span 2; grid-row: span 2; }
.shot.tall { grid-row: span 2; }
.shot.wide { grid-column: span 2; }
.shot.wide3 { grid-column: span 3; }
.shot-tag { position: absolute; left: 12px; bottom: 12px; z-index: 3; font-family: var(--font-label);
  font-size: 11px; text-transform: uppercase; letter-spacing: .04em; color: #fff;
  background: rgba(8,16,28,.6); padding: 5px 11px; border-radius: var(--radius-pill); backdrop-filter: blur(4px); }

/* ============================================================
   CTA BAND — clean dark
   ============================================================ */
.cta { background: var(--bg-dark); color: #fff; position: relative; overflow: hidden; }
.cta::after { content: ""; position: absolute; right: -120px; top: -120px; width: 460px; height: 460px; border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--accent) 60%, transparent), transparent 65%); opacity: .5; filter: blur(8px); }
.cta-inner { display: grid; grid-template-columns: 1.2fr auto; gap: 40px; align-items: center;
  padding-block: clamp(56px,6vw,90px); position: relative; z-index: 2; }
.cta .eyebrow { color: var(--accent-2); }
.cta h2 { font-size: clamp(32px,4.4vw,56px); color: #fff; margin-top: 18px; }
.cta p { margin-top: 16px; max-width: 48ch; font-size: 18px; color: var(--ink-inv-2); }
.cta-actions { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.cta-phone { font-family: var(--font-label); font-size: 13px; text-transform: uppercase; letter-spacing: .04em; color: var(--ink-inv-2); }
.cta-phone b { font-size: 22px; display: block; font-family: var(--font-display); font-weight: 700; letter-spacing: -.01em; color: #fff; margin-top: 5px; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--bg-dark-2); color: var(--ink-inv); padding-top: clamp(56px,6vw,82px); }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 52px; border-bottom: 1px solid var(--line-dark); }
.footer .brand-name { color: #fff; }
.footer .brand-sub { color: var(--ink-inv-2); }
.footer-about { color: var(--ink-inv-2); margin-top: 20px; max-width: 34ch; font-size: 15.5px; }
.footer-col h4 { font-family: var(--font-label); font-weight: 500; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-inv-2); margin-bottom: 18px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.footer-col a { color: var(--ink-inv); font-size: 15.5px; transition: color .2s; }
.footer-col a:hover { color: var(--accent-2); }
.footer-contact { display: flex; flex-direction: column; gap: 15px; }
.footer-contact .row { display: flex; gap: 12px; color: var(--ink-inv); font-size: 15px; align-items: flex-start; }
.footer-contact .row .ico { color: var(--accent-2); flex: none; margin-top: 2px; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding-block: 24px; flex-wrap: wrap; }
.footer-bottom small { color: var(--ink-inv-2); font-family: var(--font-label); font-size: 12px; }
.footer-social { display: flex; gap: 10px; }
.footer-social a { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 9px; border: 1px solid var(--line-dark); color: var(--ink-inv); transition: all .2s; }
.footer-social a:hover { background: var(--accent); color: #fff; border-color: var(--accent); }

/* ============================================================
   DIRECTION SWITCHER
   ============================================================ */
.switcher { position: fixed; left: 50%; bottom: 22px; transform: translateX(-50%); z-index: 100;
  display: flex; align-items: center; gap: 4px; background: rgba(20,34,49,.94); backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,.12); border-radius: 100px; padding: 6px; box-shadow: var(--shadow-lg);
  font-family: var(--font-label); }
.switcher .sw-label { color: rgba(255,255,255,.5); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; padding: 0 8px 0 12px; }
.switcher .sw-div { width: 1px; height: 22px; background: rgba(255,255,255,.16); margin: 0 4px; }
.switcher button { border: 0; cursor: pointer; background: transparent; color: rgba(255,255,255,.7);
  font-family: inherit; font-size: 12px; padding: 9px 13px; border-radius: 100px; display: flex; align-items: center; gap: 7px;
  transition: all .2s; text-transform: uppercase; }
.switcher button .dot { width: 9px; height: 9px; border-radius: 50%; }
.switcher button:hover { color: #fff; background: rgba(255,255,255,.08); }
.switcher button.active { background: #fff; color: #142231; }

/* ============================================================
   WHATSAPP FLOATING BUTTON
   ============================================================ */
.wa-fab {
  position: fixed; right: 24px; bottom: 24px; z-index: 110;
  display: flex; align-items: center; gap: 0; overflow: hidden;
  height: 58px; width: 58px; padding: 0 17px; border-radius: 100px;
  background: #25D366; color: #fff;
  box-shadow: 0 10px 26px rgba(37,211,102,.42), 0 2px 8px rgba(8,16,28,.18);
  transition: width .28s var(--ease), box-shadow .25s, transform .25s var(--ease);
}
.wa-fab svg { width: 26px; height: 26px; flex: none; }
.wa-fab-label { font-family: var(--font-label); font-weight: 600; font-size: 15px;
  white-space: nowrap; margin-left: 11px; opacity: 0; transition: opacity .2s; }
@media (hover: hover) {
  .wa-fab:hover { width: 168px; box-shadow: 0 14px 32px rgba(37,211,102,.5), 0 3px 10px rgba(8,16,28,.2); transform: translateY(-2px); }
  .wa-fab:hover .wa-fab-label { opacity: 1; }
}
@media (max-width: 600px) {
  .wa-fab { right: 16px; bottom: 86px; height: 52px; width: 52px; padding: 0 13px; }
  .wa-fab svg { width: 24px; height: 24px; }
}

/* ============================================================
   REVEAL
   ============================================================ */
@media (prefers-reduced-motion: no-preference) {
  .js-ready .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
  .js-ready .reveal.in { opacity: 1; transform: none; }
  .reveal.d1 { transition-delay: .08s; }
  .reveal.d2 { transition-delay: .16s; }
  .reveal.d3 { transition-delay: .24s; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1000px) {
  .vm-inner { grid-template-columns: 1fr; }
  .vm-media { order: -1; }
  .prod-grid { grid-template-columns: 1fr; }
  .nav-links, .nav-phone { display: none; }
  .nav-burger { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--line-2); border-radius: 9px; background: transparent; cursor: pointer; }
  .nav-links.open {
    flex-direction: column; gap: 4px; align-items: stretch;
    position: absolute; top: 100%; left: 0; right: 0;
    background: rgba(255,255,255,.98); backdrop-filter: saturate(1.2) blur(16px);
    border-bottom: 1px solid var(--line);
    padding: 12px var(--gutter) 18px;
    box-shadow: 0 16px 34px rgba(8,16,28,.12);
  }
  .nav-links.open a { padding: 13px 14px; font-size: 16px; border-radius: 9px; }
  .values-row { grid-template-columns: 1fr; }
  .value { border-left: 0; border-top: 1px solid var(--line-dark); padding-left: 0; padding-right: 0; }
  .value:first-child { border-top: 0; }
  .value::after { right: auto; width: 60px; }
  .cta-inner { grid-template-columns: 1fr; }
  .showcase-grid { grid-template-columns: repeat(2,1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .trust .stat:nth-child(2) { border-right: 0; }
  .trust .stat:nth-child(1), .trust .stat:nth-child(2) { border-bottom: 1px solid var(--line); }
}
@media (max-width: 560px) {
  .showcase-grid { grid-template-columns: 1fr; }
  .shot.big, .shot.wide, .shot.wide3 { grid-column: span 1; }
  .footer-top { grid-template-columns: 1fr; }
  .switcher .sw-label { display: none; }
  .slider-arrow { display: none; }
}
@media (max-width: 600px) {
  .nav-inner { gap: 12px; }
  .brand-sub { display: none; }
  .nav-cta { gap: 8px; }
  .nav-cta .btn-primary { padding: 9px 14px; font-size: 14px; }
  .nav-cta .btn-primary .arr { display: none; }
  .subhero-inner { padding-block: clamp(54px,12vw,78px); }
  .subhero-stats { gap: 22px 32px; margin-top: 32px; }
  .trust-grid { gap: 0; }
  .switcher { gap: 2px; padding: 5px; max-width: calc(100vw - 24px); }
  .switcher button { padding: 8px 11px; font-size: 11px; }
  .switcher .sw-div { margin: 0 2px; }
}

/* ============================================================
   ACTIVE NAV
   ============================================================ */
.nav-links a.active { color: var(--accent); }
.nav-links a.active::after { content: ""; }

/* ============================================================
   SUBPAGE HERO
   ============================================================ */
.subhero { position: relative; overflow: hidden; background: #081019; isolation: isolate; }
.subhero-bg { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 0; z-index: 0; }
.subhero-bg img { width: 100%; height: 100%; object-fit: cover; }
.subhero-scrim { position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(102deg, rgba(8,16,25,.90) 0%, rgba(8,16,25,.72) 36%, rgba(8,16,25,.34) 70%, rgba(8,16,25,.12) 100%),
    linear-gradient(to top, rgba(8,16,25,.45), transparent 40%); }
.subhero-scrim::after { content: ""; position: absolute; right: -140px; top: -130px; width: 460px; height: 460px; border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--accent) 26%, transparent), transparent 66%); }
.subhero-inner { padding-block: clamp(78px,9vw,138px); position: relative; z-index: 2; max-width: 880px; }
.crumb { font-family: var(--font-label); font-size: 12px; letter-spacing: .08em; text-transform: uppercase;
  color: rgba(255,255,255,.55); display: flex; gap: 9px; align-items: center; margin-bottom: 22px; }
.crumb a { color: rgba(255,255,255,.82); } .crumb a:hover { color: var(--accent-2); }
.subhero .eyebrow { color: #fff; }
.subhero .eyebrow::before { background: var(--accent-2); }
.subhero h1 { font-size: clamp(38px,5.4vw,72px); color: #fff; }
.subhero h1 .accent { color: var(--accent-2); }
.subhero .lead { color: rgba(255,255,255,.84); font-size: clamp(17px,1.8vw,20px); margin-top: 22px; max-width: 62ch; }
.subhero-stats { display: flex; flex-wrap: wrap; gap: clamp(28px,4vw,56px); margin-top: 44px; }
.subhero-stats .s .n { font-family: var(--font-display); font-weight: 700; font-size: clamp(28px,3vw,40px); color: #fff; }
.subhero-stats .s .n .accent { color: var(--accent-2); }
.subhero-stats .s .l { font-family: var(--font-label); font-size: 12px; letter-spacing: .05em; text-transform: uppercase; color: rgba(255,255,255,.68); margin-top: 6px; }

/* generic section intro centered */
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head.center p { margin-inline: auto; }

/* ============================================================
   ABOUT — story split
   ============================================================ */
.story { background: var(--bg); }
.story-inner { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(36px,5vw,76px); align-items: center; }
.story-media { position: relative; }
.story-media image-slot { width: 100%; height: clamp(360px,42vw,540px); border-radius: var(--radius-lg); border: 1px solid var(--line); box-shadow: var(--shadow); }
.story-body h2 { font-size: clamp(28px,3.6vw,46px); margin-bottom: 20px; }
.story-body p { color: var(--ink-2); font-size: 17px; margin-bottom: 16px; max-width: 56ch; }
.story-points { display: grid; gap: 14px; margin-top: 26px; }
.story-points .pt { display: flex; gap: 13px; align-items: flex-start; }
.story-points .pt .tick { width: 26px; height: 26px; flex: none; border-radius: 50%; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; margin-top: 1px; }
.story-points .pt .tick svg { width: 15px; height: 15px; }
.story-points .pt span { color: var(--ink); font-size: 16px; }

/* ============================================================
   PRODUCTS PAGE — alternating category rows
   ============================================================ */
.pcats { background: var(--bg); }
.pcat { padding-block: clamp(48px,5vw,76px); border-bottom: 1px solid var(--line); }
.pcat:last-child { border-bottom: 0; }
.pcat-row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px,5vw,72px); align-items: center; }
.pcat:nth-child(even) .pcat-media { order: 2; }
.pcat-media { position: relative; }
.pcat-media image-slot { width: 100%; height: clamp(320px,38vw,470px); border-radius: var(--radius-lg); border: 1px solid var(--line); box-shadow: var(--shadow); }
.pcat-tag { position: absolute; top: 16px; left: 16px; white-space: nowrap; font-family: var(--font-label); font-size: 12px; letter-spacing: .05em;
  text-transform: uppercase; color: #fff; background: var(--accent); padding: 6px 12px; border-radius: var(--radius-pill); }
.pcat-idx { font-family: var(--font-display); font-weight: 600; font-size: 15px; color: var(--accent); letter-spacing: .04em; }
.pcat-body h2 { font-size: clamp(28px,3.6vw,46px); margin: 12px 0 16px; }
.pcat-body > p { color: var(--ink-2); font-size: 17px; max-width: 52ch; }
.pcat-products { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 24px; }
.pcat-products span { font-size: 14px; color: var(--ink); border: 1px solid var(--line-2); background: var(--surface); padding: 9px 15px; border-radius: var(--radius-pill); }
.pcat-apps { display: flex; flex-wrap: wrap; gap: 18px 28px; margin-top: 26px; }
.pcat-apps .app { display: flex; gap: 10px; align-items: center; color: var(--ink-2); font-size: 15px; }
.pcat-apps .app .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }

/* ============================================================
   FAQ
   ============================================================ */
.faq { background: var(--bg); }
.faq-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(36px,5vw,72px); align-items: start; }
.faq-aside { position: sticky; top: 100px; }
.faq-aside h2 { font-size: clamp(28px,3.4vw,44px); margin: 16px 0 16px; }
.faq-aside p { color: var(--ink-2); font-size: 16.5px; max-width: 40ch; margin-bottom: 24px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q { width: 100%; text-align: left; background: none; border: 0; cursor: pointer; padding: 26px 0; gap: 24px;
  display: flex; justify-content: space-between; align-items: center; color: var(--ink);
  font-family: var(--font-display); font-size: clamp(18px,1.8vw,23px); font-weight: var(--display-weight); letter-spacing: var(--display-spacing); }
.faq-q .ic { flex: none; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line-2); position: relative; transition: transform .35s var(--ease), border-color .2s, background .2s; }
.faq-q .ic::before, .faq-q .ic::after { content: ""; position: absolute; background: var(--accent); border-radius: 2px; top: 50%; left: 50%; transform: translate(-50%,-50%); }
.faq-q .ic::before { width: 12px; height: 2px; }
.faq-q .ic::after { width: 2px; height: 12px; transition: opacity .3s; }
.faq-item.open .faq-q .ic { transform: rotate(90deg); background: var(--accent-soft); border-color: transparent; }
.faq-item.open .faq-q .ic::after { opacity: 0; }
.faq-a { overflow: hidden; max-height: 0; transition: max-height .4s var(--ease); }
.faq-a-inner { padding: 0 56px 28px 0; color: var(--ink-2); font-size: 16.5px; line-height: 1.65; max-width: 66ch; }

/* ============================================================
   CONTACT
   ============================================================ */
.contact { background: var(--bg); }
.contact-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px,4vw,60px); align-items: start; }
.cform-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(28px,3vw,42px); box-shadow: var(--shadow-sm); }
.cform-card h2 { font-size: clamp(24px,2.6vw,32px); margin-bottom: 8px; }
.cform-card > p { color: var(--ink-2); margin-bottom: 26px; font-size: 16px; }
.cform { display: grid; gap: 18px; }
.cform .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field label { font-family: var(--font-label); font-size: 12px; letter-spacing: .05em; text-transform: uppercase; color: var(--ink-2); display: block; margin-bottom: 8px; }
.field input, .field select, .field textarea { width: 100%; padding: 13px 15px; border: 1px solid var(--line-2); border-radius: var(--radius);
  font-family: var(--font-body); font-size: 15.5px; color: var(--ink); background: var(--surface); transition: border-color .2s, box-shadow .2s; }
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.cform .btn-primary { justify-content: center; margin-top: 4px; }
.cform-note { font-size: 13px; color: var(--ink-3); text-align: center; }
.cinfo { display: flex; flex-direction: column; gap: 26px; }
.cinfo-block { background: var(--bg-alt); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(24px,2.6vw,32px); }
.cinfo-block h3 { font-size: 21px; margin-bottom: 18px; }
.cinfo .row { display: flex; gap: 14px; padding: 14px 0; border-top: 1px solid var(--line); align-items: flex-start; }
.cinfo .row:first-of-type { border-top: 0; padding-top: 0; }
.cinfo .row .ico { width: 40px; height: 40px; flex: none; border-radius: 10px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; }
.cinfo .row .ico svg { width: 19px; height: 19px; }
.cinfo .row .meta { display: flex; flex-direction: column; }
.cinfo .row .meta .k { font-family: var(--font-label); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 3px; }
.cinfo .row .meta .v { color: var(--ink); font-size: 15.5px; }
.cmap { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); height: 220px; }
.cmap image-slot { width: 100%; height: 100%; border-radius: 0; }

/* ============================================================
   PAGE-COMPONENT RESPONSIVE
   ============================================================ */
@media (max-width: 1000px) {
  .story-inner, .pcat-row, .faq-wrap, .contact-grid { grid-template-columns: 1fr; }
  .story-media { order: -1; }
  .pcat:nth-child(even) .pcat-media { order: -1; }
  .faq-aside { position: static; }
  .cform .row2 { grid-template-columns: 1fr; }
}
