/* ==========================================================================
   Adom iTechnology — public site styles
   Brand colours measured from the original site, extended into tokens.
   ========================================================================== */

@font-face { font-family: "Barlow"; font-weight: 500; font-display: swap; src: url("../fonts/barlow-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 600; font-display: swap; src: url("../fonts/barlow-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 700; font-display: swap; src: url("../fonts/barlow-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 800; font-display: swap; src: url("../fonts/barlow-latin-800-normal.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-weight: 400; font-display: swap; src: url("../fonts/montserrat-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-weight: 500; font-display: swap; src: url("../fonts/montserrat-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-weight: 600; font-display: swap; src: url("../fonts/montserrat-latin-600-normal.woff2") format("woff2"); }

:root {
  --bg-900: #0E0D12;
  --bg-850: #15161F;
  --bg-800: #1D202B;
  --bg-700: #262937;
  --bg-600: #30344A;
  /* Brand colours sampled from the Adom iTechnology logo */
  --brand-purple: #A800C0;
  --brand-blue: #0868F8;
  --brand-grey: #E8E8E8;
  --magenta: #A800C0;
  --purple: #C25BDB;       /* lighter tint of logo purple for small text/icons on dark */
  --violet-deep: #8E00A3;
  --blue: #5A9CFF;         /* lighter tint of logo blue for links/highlights on dark */
  --blue-strong: #0868F8;
  --text-100: #F2F3F8;
  --text-200: #A8AEC4;
  --text-400: #8A90A6; /* lightened from #686D80 to pass WCAG AA on dark */
  --white: #FFFFFF;
  --success: #2BD49A;
  --warning: #FFB547;
  --danger: #FF5C7A;

  /* Flat accents: one deep magenta for actions, one lighter tint for highlighted words. */
  --accent: #A800C0;          /* logo purple: main actions (white text 6.1:1) */
  --accent-hover: #8E00A3;
  --accent-text: #5A9CFF;     /* logo blue, lightened: highlighted words (7:1 on dark) */
  --line: linear-gradient(90deg, #A800C0, #0868F8); /* the logo's purple→blue connector, used only as thin rules */
  --grad: var(--accent);
  --grad-soft: rgba(255, 255, 255, .04);

  --bg: var(--bg-900);
  --bg-alt: var(--bg-850);
  --surface: rgba(38, 41, 55, .6);
  --surface-solid: var(--bg-700);
  --border: rgba(168, 174, 196, .14);
  --text: var(--text-200);
  --heading: var(--white);
  --muted: var(--text-400);

  --font-head: "Barlow", system-ui, sans-serif;
  --font-body: "Montserrat", system-ui, sans-serif;
  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 20px 60px -20px rgba(0,0,0,.6);
  --glow: 0 18px 40px -22px rgba(0,0,0,.75);
  --container: 1240px;
  --header-h: 84px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

[data-theme="light"] {
  --bg: #F6F7FB;
  --bg-alt: #ECEEF6;
  --surface: rgba(255,255,255,.75);
  --surface-solid: #FFFFFF;
  --border: rgba(38,41,55,.1);
  --text: #4A4F63;
  --heading: #262937;
  --muted: #5F6478;
  --shadow: 0 20px 50px -24px rgba(38,41,55,.25);
  --accent-text: #0868F8;
  --blue: #0860E0;
  --purple: #8E00A3;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: auto; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 clamp(15px, .95rem, 17px)/1.7 var(--font-body);
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
  transition: background-color .4s var(--ease), color .4s var(--ease);
}
img, svg, video { max-width: 100%; display: block; }
img { height: auto; }
a { color: var(--blue); text-decoration: none; transition: color .25s var(--ease); }
a:hover { color: var(--heading); }
h1, h2, h3, h4, h5 { font-family: var(--font-head); color: var(--heading); line-height: 1.1; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.5rem, 6vw, 5rem); font-weight: 800; }
h2 { font-size: clamp(2rem, 4vw, 3.25rem); font-weight: 800; }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); font-weight: 700; }
p { margin: 0 0 1em; }
ul { padding-left: 1.2em; }
:focus-visible { outline: 3px solid var(--blue-strong); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--accent); color: #fff; }
.ic { width: 1.25em; height: 1.25em; flex: none; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hp { position: absolute; left: -9999px; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 1000; background: var(--accent); color: #fff; padding: 10px 18px; border-radius: 10px; }
.skip-link:focus { top: 16px; color: #fff; }

.container { width: min(var(--container), 100% - 40px); margin-inline: auto; }
.section { padding: clamp(72px, 10vw, 140px) 0; position: relative; overflow-x: clip; }
main, .site-footer { overflow-x: clip; }
.section--alt { background: var(--bg-alt); }
.section--tight { padding: clamp(48px, 6vw, 80px) 0; }
.grad-text { color: var(--accent-text); }
/* Accent colour only in page headlines; section headings stay plain for a calmer rhythm. */
h2 .grad-text, h3 .grad-text { color: inherit; }
.eyebrow { display: inline-flex; align-items: center; gap: 12px; font: 600 .78rem/1 var(--font-body); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; }
.eyebrow::before { content: ""; width: 32px; height: 2px; background: var(--line); border-radius: 2px; }
.lead { font-size: clamp(1.05rem, 1.4vw, 1.2rem); color: var(--text); max-width: 720px; }
.section-head { max-width: 760px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.muted { color: var(--muted); }

/* Background decorations */
.orb { display: none; } /* decorative glow blobs removed for a cleaner look */
.orb--m { background: var(--magenta); }
.orb--b { background: var(--blue-strong); }
.grid-bg { position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: linear-gradient(rgba(98,160,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(98,160,255,.06) 1px, transparent 1px);
  background-size: 56px 56px; mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%); }
.section > .container { position: relative; z-index: 1; }

/* Buttons */
.btn { --b: transparent; position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 15px 28px; border-radius: 999px;
  font: 600 .95rem/1 var(--font-body); border: 1px solid var(--b); cursor: pointer; white-space: nowrap; color: var(--heading); background: transparent;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background-color .3s, color .3s; isolation: isolate; }
.btn .ic { transition: transform .35s var(--ease); }
.btn:hover .ic { transform: translateX(4px); }
.btn--primary { background: var(--accent); color: #fff; }
.btn--primary:hover { background: var(--accent-hover); color: #fff; transform: translateY(-2px); }
.btn--ghost { --b: var(--border); background: var(--surface); backdrop-filter: blur(10px); }
.btn--ghost:hover { --b: rgba(168,174,196,.5); color: var(--heading); }
.btn--sm { padding: 10px 18px; font-size: .85rem; }
.btn--block { width: 100%; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--heading); }
.link-arrow .ic { color: var(--blue); transition: transform .3s var(--ease); }
.link-arrow:hover .ic { transform: translateX(5px); }

/* Glass cards */
.card { position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: clamp(24px, 3vw, 36px); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: var(--shadow);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .4s; transform-style: preserve-3d; }
.card:hover { box-shadow: var(--glow); border-color: rgba(168,174,196,.32); }
.card h3 { margin-bottom: .4em; }
.card p:last-child { margin-bottom: 0; }
.icon-badge { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: rgba(255,255,255,.04); color: var(--heading); margin-bottom: 22px; border: 1px solid var(--border); transition: background-color .3s, color .3s, border-color .3s; }
.icon-badge .ic { width: 26px; height: 26px; }
.card:hover .icon-badge { color: var(--blue); border-color: rgba(90,156,255,.45); }

.grid { display: grid; gap: clamp(18px, 2.2vw, 28px); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1024px) { .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 680px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.split--rev > :first-child { order: 2; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .split--rev > :first-child { order: 0; } }

.check-list { list-style: none; padding: 0; margin: 0 0 1.5em; display: grid; gap: 12px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; color: var(--heading); font-weight: 500; }
.check-list li .ic { color: var(--blue); margin-top: 3px; }
.check-list.two { grid-template-columns: 1fr 1fr; }
@media (max-width: 560px) { .check-list.two { grid-template-columns: 1fr; } }

/* ---------- Preloader ---------- */
.preloader { position: fixed; inset: 0; z-index: 9999; display: grid; place-items: center; background: var(--bg-900); transition: opacity .6s var(--ease), visibility .6s; }
.preloader img { width: 92px; height: auto; animation: pl 1.1s var(--ease) both; }
@keyframes pl { from { opacity: 0; transform: scale(.9); } to { opacity: 1; transform: none; } }
.preloader.done { opacity: 0; visibility: hidden; }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* ---------- Header ---------- */
.topbar { background: var(--bg-800); font-size: .8rem; color: var(--text-200); border-bottom: 1px solid rgba(168,174,196,.08); position: relative; z-index: 60; }
[data-theme="light"] .topbar { background: #262937; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 40px; }
.topbar a { color: var(--text-200); display: inline-flex; gap: 6px; align-items: center; }
.topbar a:hover { color: #fff; }
.topbar .tb-left, .topbar .tb-right { display: flex; gap: 22px; align-items: center; }
.topbar .ic { width: 15px; height: 15px; color: var(--muted); }
@media (max-width: 760px) { .topbar .hide-sm { display: none; } }

.site-header { position: sticky; top: 0; z-index: 50; transition: background-color .4s var(--ease), box-shadow .4s, backdrop-filter .4s; }
.site-header .container { display: flex; align-items: center; gap: 28px; height: var(--header-h); transition: height .4s var(--ease); }
.site-header.scrolled::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--line); opacity: .55; }
.site-header.scrolled { background: rgba(14,13,18,.72); backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4); box-shadow: 0 1px 0 var(--border); }
[data-theme="light"] .site-header.scrolled { background: rgba(246,247,251,.8); }
.site-header.scrolled .container { height: 68px; }
.has-hero .site-header { position: fixed; left: 0; right: 0; top: 40px; }
.has-hero .site-header.scrolled { top: 0; }
.logo { display: inline-flex; align-items: center; flex: none; }
.logo svg, .logo img { height: 46px; width: auto; }
.logo .logo-on-light { display: none; }
[data-theme="light"] .site-header.scrolled .logo .logo-on-dark, [data-theme="light"] .nav .logo .logo-on-dark { display: none; }
[data-theme="light"] .site-header.scrolled .logo .logo-on-light { display: block; }

.nav { margin-left: auto; }
.nav > ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav > ul > li { position: relative; }
.nav a.nav-link, .nav button.nav-link { display: inline-flex; align-items: center; gap: 6px; padding: 10px 14px; border-radius: 999px; font: 500 .92rem/1 var(--font-body); color: var(--heading); background: none; border: 0; cursor: pointer; }
.has-hero .site-header:not(.scrolled) .nav-link { color: #fff; }
.nav .nav-link:hover { color: var(--blue); }
.nav .nav-link[aria-current="page"] { color: #fff; box-shadow: inset 0 -2px 0 var(--brand-blue); border-radius: 0; }
[data-theme="light"] .site-header.scrolled .nav .nav-link[aria-current="page"] { color: var(--heading); }
.nav .nav-link .ic { width: 16px; height: 16px; transition: transform .3s; }
.nav li.open > .nav-link .ic { transform: rotate(180deg); }
.mega { position: absolute; top: calc(100% + 14px); left: 50%; width: min(880px, 92vw); transform: translate(-50%, 10px); opacity: 0; visibility: hidden;
  background: rgba(21,22,31,.96); border: 1px solid var(--border); border-radius: 24px; padding: 28px; box-shadow: 0 30px 80px -20px rgba(0,0,0,.7);
  display: grid; grid-template-columns: repeat(3, 1fr) 1.1fr; gap: 24px; transition: opacity .35s var(--ease), transform .35s var(--ease), visibility .35s; backdrop-filter: blur(20px); }
[data-theme="light"] .mega { background: rgba(255,255,255,.98); }
.nav li.open > .mega, .nav li:focus-within > .mega { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.mega h4 { font: 600 .72rem/1 var(--font-body); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin: 0 0 14px; }
.mega ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.mega a { display: flex; gap: 10px; align-items: center; padding: 8px 10px; border-radius: 12px; color: var(--heading); font-size: .9rem; font-weight: 500; }
.mega a .ic { width: 18px; height: 18px; color: var(--muted); }
.mega a:hover .ic { color: var(--blue); }
.mega a:hover { background: rgba(255,255,255,.05); color: var(--heading); }
.mega-cta { position: relative; overflow: hidden; border-radius: 18px; padding: 22px; background: var(--bg-700); border: 1px solid var(--border); color: #fff; display: flex; flex-direction: column; justify-content: space-between; }
[data-theme="light"] .mega-cta { background: #262937; }
.mega-cta h5 { color: #fff; font-size: 1.25rem; margin: 0 0 6px; }
.mega-cta p { font-size: .85rem; color: var(--text-200); }
.mega-cta::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--line); }
.mega-cta a { color: var(--blue); font-weight: 600; padding: 0; }
.mega-cta a:hover { background: none; color: #fff; }

.header-actions { display: flex; align-items: center; gap: 8px; }
.icon-btn { position: relative; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--surface); border: 1px solid var(--border); color: var(--heading); cursor: pointer; transition: border-color .3s, transform .3s var(--ease); }
.icon-btn:hover { border-color: rgba(168,174,196,.45); color: var(--heading); transform: translateY(-2px); }
.has-hero .site-header:not(.scrolled) .icon-btn { color: #fff; background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.18); }
.icon-btn .ic { width: 19px; height: 19px; }
.icon-btn .count { position: absolute; top: -4px; right: -4px; min-width: 20px; height: 20px; border-radius: 10px; background: var(--brand-blue); color: #fff; font: 700 .7rem/20px var(--font-body); text-align: center; padding: 0 5px; }
.icon-btn .count:empty, .icon-btn .count[data-n="0"] { display: none; }
.theme-toggle .sun { display: none; }
[data-theme="light"] .theme-toggle .sun { display: block; }
[data-theme="light"] .theme-toggle .moon { display: none; }

.region-switch { position: relative; }
.region-btn { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--border); color: var(--heading); font: 600 .82rem/1 var(--font-body); cursor: pointer; }
.has-hero .site-header:not(.scrolled) .region-btn { color: #fff; background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.18); }
.region-btn .flag { font-size: 1.1rem; line-height: 1; }
.region-menu { position: absolute; right: 0; top: calc(100% + 10px); min-width: 230px; background: var(--surface-solid); border: 1px solid var(--border); border-radius: 16px; padding: 8px; box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(8px); transition: .3s var(--ease); z-index: 70; }
.region-switch.open .region-menu { opacity: 1; visibility: visible; transform: none; }
.region-menu a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 10px; color: var(--heading); font-size: .9rem; }
.region-menu a:hover, .region-menu a[aria-current="true"] { background: rgba(255,255,255,.05); }
.region-menu small { display: block; color: var(--muted); font-size: .75rem; }

.burger { display: none; }
@media (max-width: 1100px) {
  .nav { position: fixed; inset: 0 0 0 auto; width: min(420px, 100%); background: var(--bg-850); padding: 100px 24px 40px; transform: translateX(100%); transition: transform .5s var(--ease); overflow-y: auto; z-index: 80; margin: 0; }
  [data-theme="light"] .nav { background: #fff; }
  .nav.open { transform: none; box-shadow: -30px 0 80px rgba(0,0,0,.5); }
  .nav > ul { flex-direction: column; gap: 2px; }
  .nav .nav-link, .has-hero .site-header:not(.scrolled) .nav .nav-link { color: var(--heading); width: 100%; justify-content: space-between; font-size: 1.05rem; padding: 14px 12px; border-radius: 12px; }
  .mega { position: static; transform: none; width: auto; display: none; grid-template-columns: 1fr; opacity: 1; visibility: visible; padding: 12px; margin: 4px 0 10px; box-shadow: none; }
  .nav li.open > .mega { display: grid; transform: none; }
  .mega-cta { display: none; }
  .burger { display: grid; margin-left: auto; }
  .header-actions { margin-left: 0; }
  .nav-close { position: absolute; top: 24px; right: 24px; }
  .hide-md { display: none !important; }
}
@media (min-width: 1101px) { .nav-close { display: none; } }
.nav-open .site-header { z-index: 90; }
.nav-backdrop { position: fixed; inset: 0; background: rgba(0,0,0,.5); opacity: 0; visibility: hidden; transition: .4s; z-index: 75; }
.nav-backdrop.show { opacity: 1; visibility: visible; }

/* ---------- Heroes ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; overflow: hidden; color: #fff; background: var(--bg-900); isolation: isolate; }
.hero .container { position: relative; z-index: 3; padding: 180px 0 120px; }
.hero h1 { color: #fff; max-width: 15ch; margin-bottom: 24px; }
.hero .hero-sub { font-size: clamp(1.05rem, 1.5vw, 1.25rem); color: rgba(255,255,255,.82); max-width: 620px; margin-bottom: 36px; }
.hero .eyebrow { color: #fff; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; }
.hero .btn--ghost { color: #fff; background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.25); }
.hero-badges { display: flex; flex-wrap: wrap; gap: 24px; margin-top: 48px; color: rgba(255,255,255,.75); font-size: .88rem; }
.hero-badges span { display: inline-flex; align-items: center; gap: 8px; }
.hero-badges .ic { color: var(--blue); }
.hero-overlay { position: absolute; inset: 0; z-index: 1; background: linear-gradient(100deg, rgba(14,13,18,.92) 0%, rgba(14,13,18,.7) 45%, rgba(14,13,18,.15) 100%), linear-gradient(0deg, rgba(14,13,18,.9) 0%, transparent 40%); }
.scroll-cue { position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%); z-index: 3; width: 26px; height: 42px; border: 2px solid rgba(255,255,255,.4); border-radius: 14px; }
.scroll-cue::after { content: ""; position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: #fff; animation: cue 1.8s infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* Slider */
.hero-slider .slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity 1.2s var(--ease), visibility 1.2s; }
.hero-slider .slide.active { opacity: 1; visibility: visible; z-index: 2; }
.hero-slider .slide-bg { position: absolute; inset: 0; z-index: 0; }
.hero-slider .slide-bg img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); transition: transform 7s linear; }
.hero-slider .slide.active .slide-bg img { transform: scale(1); }
.hero-slider .slide .container { display: flex; flex-direction: column; justify-content: center; min-height: 100svh; }
.hero-slider .reveal-line { display: block; overflow: hidden; }
.hero-slider .reveal-line > * { display: inline-block; transform: translateY(105%); transition: transform 1s var(--ease); }
.hero-slider .slide.active .reveal-line > * { transform: none; }
.hero-slider .slide.active .reveal-line:nth-child(2) > * { transition-delay: .12s; }
.hero-slider .slide.active .reveal-line:nth-child(3) > * { transition-delay: .24s; }
.hero-slider .slide.active .reveal-line:nth-child(4) > * { transition-delay: .36s; }
.hero-slider .slide.active .reveal-line:nth-child(5) > * { transition-delay: .48s; }
.slide-bullets { list-style: none; padding: 0; margin: 0 0 32px; display: flex; flex-wrap: wrap; gap: 12px 30px; }
.slide-bullets li { display: inline-flex; align-items: center; gap: 8px; color: rgba(255,255,255,.9); font-weight: 500; }
.slide-bullets .ic { color: var(--blue); }
.slider-ui { position: absolute; z-index: 5; bottom: 40px; left: 0; right: 0; }
.slider-ui .container { padding: 0; display: flex; align-items: center; gap: 24px; }
.slider-dots { display: flex; gap: 10px; flex: 1; max-width: 520px; }
.slider-dots button { flex: 1; height: 3px; border: 0; padding: 12px 0; background: none; cursor: pointer; position: relative; }
.slider-dots button::before, .slider-dots button span { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 3px; border-radius: 3px; background: rgba(255,255,255,.25); }
.slider-dots button span { background: var(--line); transform-origin: left; transform: scaleX(0); }
.slider-dots button.active span { animation: progress var(--dur, 6s) linear forwards; }
.slider-dots button.done span { transform: scaleX(1); }
.paused .slider-dots button.active span { animation-play-state: paused; }
@keyframes progress { to { transform: scaleX(1); } }
.slider-arrows { display: flex; gap: 10px; }
.slider-arrows button { width: 50px; height: 50px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); background: rgba(255,255,255,.06); color: #fff; display: grid; place-items: center; cursor: pointer; transition: .3s; backdrop-filter: blur(8px); }
.slider-arrows button:hover { background: #fff; color: #0E0D12; border-color: #fff; }
.slide-count { font: 700 1rem var(--font-head); color: rgba(255,255,255,.7); }
.slide-count b { color: #fff; font-size: 1.4rem; }
.hero-slider .scroll-cue { display: none; }

/* Video */
.hero-video video, .hero-video .poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.hero-video video { opacity: 0; transition: opacity 1.2s var(--ease); }
.hero-video video.ready { opacity: 1; }
.hero-video .scanline { position: absolute; inset: 0; z-index: 2; pointer-events: none; background: repeating-linear-gradient(0deg, rgba(255,255,255,.025) 0 1px, transparent 1px 3px); }
.video-toggle { position: absolute; right: 32px; bottom: 32px; z-index: 5; }
.play-reel { display: inline-flex; align-items: center; gap: 14px; color: #fff; font-weight: 600; background: none; border: 0; cursor: pointer; }
.play-reel .pr-ring { position: relative; width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: #0E0D12; }
.play-reel .pr-ring::before { content: ""; position: absolute; inset: -8px; border-radius: 50%; border: 1px solid rgba(255,255,255,.35); animation: ping 2.4s infinite; }
@keyframes ping { 0% { transform: scale(.85); opacity: 1; } 100% { transform: scale(1.35); opacity: 0; } }

/* Tech */
.hero-tech { background: radial-gradient(ellipse 70% 60% at 72% 42%, rgba(169,1,197,.14), transparent 65%), var(--bg-900); }
.hero-tech canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.hero-tech .grid-floor { position: absolute; left: -50%; right: -50%; bottom: -10%; height: 55%; z-index: 0; transform: perspective(600px) rotateX(70deg); transform-origin: bottom;
  background-image: linear-gradient(rgba(168,174,196,.22) 1px, transparent 1px), linear-gradient(90deg, rgba(168,174,196,.22) 1px, transparent 1px); background-size: 60px 60px;
  mask-image: linear-gradient(to top, #000 10%, transparent 90%); animation: floor 6s linear infinite; opacity: .45; }
@keyframes floor { to { background-position: 0 60px, 0 0; } }
.hero-tech .hero-overlay { background: linear-gradient(100deg, rgba(14,13,18,.85) 0%, rgba(14,13,18,.4) 55%, transparent 100%); }
.typing { font: 600 clamp(1rem, 1.6vw, 1.25rem)/1.4 ui-monospace, SFMono-Regular, Menlo, monospace; color: var(--blue); margin: -8px 0 28px; min-height: 1.4em; }
.typing::before { content: "> "; color: var(--muted); }
.typing .caret { display: inline-block; width: .6ch; background: var(--blue); animation: blink 1s steps(1) infinite; margin-left: 2px; }
@keyframes blink { 50% { opacity: 0; } }
.hero-floaters { position: absolute; right: max(4vw, calc((100vw - var(--container)) / 2)); top: 50%; transform: translateY(-50%); z-index: 3; display: grid; gap: 18px; }
.floater { width: 230px; padding: 18px 22px; border-radius: 18px; background: rgba(38,41,55,.45); border: 1px solid rgba(255,255,255,.12); backdrop-filter: blur(14px); color: #fff; animation: float 6s ease-in-out infinite; }
.floater:nth-child(2) { margin-left: -60px; animation-delay: -2s; }
.floater:nth-child(3) { animation-delay: -4s; }
.floater b { display: block; font: 800 2rem/1 var(--font-head); }
.floater > span { font-size: .82rem; color: rgba(255,255,255,.7); }
.floater b span { font: inherit; color: inherit; }
@keyframes float { 50% { transform: translateY(-12px); } }
@media (max-width: 1100px) { .hero-floaters { display: none; } }

.page-hero { position: relative; padding: calc(var(--header-h) + 100px) 0 90px; overflow: hidden; background: var(--bg-900); color: #fff; }
.page-hero h1 { color: #fff; font-size: clamp(2.4rem, 5vw, 4rem); max-width: 18ch; }
.page-hero p { color: rgba(255,255,255,.8); max-width: 640px; font-size: 1.1rem; }
.page-hero.has-tech { min-height: 520px; display: flex; align-items: flex-end; }
.page-hero canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0 0 22px; font-size: .85rem; color: rgba(255,255,255,.6); }
.breadcrumbs a { color: rgba(255,255,255,.75); }
.breadcrumbs li + li::before { content: "/"; margin-right: 8px; opacity: .5; }
.has-hero .page-hero { padding-top: calc(var(--header-h) + 140px); }

/* ---------- Sections ---------- */
.trust { padding: 0; margin-top: -1px; }
.stats-strip { display: grid; grid-template-columns: repeat(4, 1fr); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); background: var(--surface); backdrop-filter: blur(16px); transform: translateY(-50%); position: relative; z-index: 5; box-shadow: var(--shadow); }
.stat { padding: 30px 28px; border-right: 1px solid var(--border); }
.stat:last-child { border-right: 0; }
.stat b { display: block; font: 800 clamp(2rem, 3.4vw, 2.8rem)/1 var(--font-head); color: var(--heading); margin-bottom: 6px; }
.stat > span { font-size: .88rem; color: var(--muted); }
.stat b span { font: inherit; color: inherit; }
@media (max-width: 860px) { .stats-strip { grid-template-columns: 1fr 1fr; transform: translateY(-30%); } .stat:nth-child(2) { border-right: 0; } .stat:nth-child(-n+2) { border-bottom: 1px solid var(--border); } }

.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; gap: 64px; width: max-content; animation: marquee 40s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee img { height: 38px; width: auto; filter: grayscale(1) brightness(1.6); opacity: .6; transition: .3s; }
.marquee img:hover { filter: none; opacity: 1; }
@keyframes marquee { to { transform: translateX(-50%); } }

.feature-media { position: relative; border-radius: 28px; overflow: hidden; aspect-ratio: 5 / 4; box-shadow: var(--shadow); }
.feature-media img { width: 100%; height: 100%; object-fit: cover; }

.float-chip { position: absolute; z-index: 2; display: flex; gap: 12px; align-items: center; padding: 14px 18px; border-radius: 16px; background: rgba(21,22,31,.8); border: 1px solid rgba(255,255,255,.12); color: #fff; backdrop-filter: blur(12px); font-size: .85rem; box-shadow: var(--shadow); }
.float-chip b { display: block; font: 700 1.1rem var(--font-head); }
.float-chip .icon-badge { width: 42px; height: 42px; margin: 0; border-radius: 12px; color: var(--blue); }

.services-grid .card { display: flex; flex-direction: column; min-height: 100%; }
.services-grid .card p { flex: 1; }
.services-grid .num { position: absolute; top: 24px; right: 28px; font: 800 3rem/1 var(--font-head); color: transparent; -webkit-text-stroke: 1px var(--border); }
.wide-cards { margin-top: clamp(18px, 2.2vw, 28px); }
.wide-card { display: grid; grid-template-columns: auto 1fr auto; gap: 24px; align-items: center; }
@media (max-width: 680px) { .wide-card { grid-template-columns: 1fr; } }

.why-list { display: grid; gap: 14px; counter-reset: why; }
.why-item { display: grid; grid-template-columns: 64px 1fr; gap: 20px; padding: 22px 24px; border-radius: var(--radius); border: 1px solid var(--border); background: var(--surface); transition: .4s var(--ease); }
.why-item:hover { border-color: rgba(168,174,196,.32); transform: translateX(6px); }
.why-item .n { font: 800 1.6rem/1 var(--font-head); counter-increment: why; }
.why-item .n::before { content: "0" counter(why); }
.why-item h3 { font-size: 1.15rem; margin-bottom: 4px; }
.why-item p { margin: 0; font-size: .95rem; }

.showcase { position: relative; border-radius: 32px; overflow: hidden; padding: clamp(36px, 6vw, 80px); background: var(--bg-700); border: 1px solid var(--border); color: #fff; }
[data-theme="light"] .showcase { background: #262937; }
.showcase p { color: var(--text-200) !important; }
.showcase h2, .showcase p { color: #fff; }
.showcase .btn--ghost { color: #fff; background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.25); }
.devices { position: relative; height: 100%; min-height: 320px; }
.device { position: absolute; border-radius: 14px; overflow: hidden; box-shadow: 0 30px 60px -20px rgba(0,0,0,.6); border: 6px solid #15161F; background: #15161F; }
.device img { width: 100%; height: 100%; object-fit: cover; }
.device.laptop { width: 88%; aspect-ratio: 16/10; right: 0; top: 0; }
.device.phone { width: 26%; aspect-ratio: 9/19; left: 0; bottom: -10px; border-radius: 22px; border-width: 5px; }

.cat-tiles { display: grid; grid-template-columns: repeat(7, 1fr); gap: 14px; }
@media (max-width: 1100px) { .cat-tiles { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 560px) { .cat-tiles { grid-template-columns: repeat(2, 1fr); } }
.cat-tile { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 24px 12px; border-radius: 18px; border: 1px solid var(--border); background: var(--surface); color: var(--heading); text-align: center; font-weight: 600; font-size: .9rem; transition: .4s var(--ease); }
.cat-tile .ic { width: 30px; height: 30px; color: var(--muted); transition: transform .4s var(--ease), color .3s; }
.cat-tile:hover { border-color: rgba(168,174,196,.32); color: var(--heading); transform: translateY(-4px); }
.cat-tile:hover .ic { transform: scale(1.1); color: var(--blue); }

/* Products */
.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
@media (max-width: 1100px) { .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 800px) { .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .product-grid { grid-template-columns: 1fr; } }
.product-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.product-card .pc-media { position: relative; aspect-ratio: 1; background: var(--bg-alt); display: grid; place-items: center; overflow: hidden; }
.product-card .pc-media img { width: 78%; height: 78%; object-fit: contain; transition: transform .6s var(--ease); }
.product-card:hover .pc-media img { transform: scale(1.08); }
.badge { position: absolute; top: 14px; left: 14px; padding: 6px 12px; border-radius: 999px; font: 700 .7rem/1 var(--font-body); letter-spacing: .06em; text-transform: uppercase; background: rgba(255,255,255,.08); color: var(--heading); border: 1px solid var(--border); z-index: 2; }
.badge--accent { background: var(--accent); border-color: var(--accent); color: #fff; }
.badge--muted { background: var(--bg-600); }
.product-card .pc-body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.product-card .pc-cat { font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-bottom: 6px; }
.product-card h3 { font-size: 1.08rem; margin-bottom: 10px; }
.product-card h3 a { color: var(--heading); }
.product-card .pc-foot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.price { font: 800 1.25rem/1 var(--font-head); color: var(--heading); }
.price del { font-size: .85rem; color: var(--muted); font-weight: 500; margin-left: 6px; }
.add-btn { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: transparent; color: var(--heading); border: 1px solid var(--border); cursor: pointer; transition: transform .3s var(--ease), background-color .3s, border-color .3s; }
.add-btn:hover { background: var(--accent); border-color: var(--accent); color: #fff; transform: rotate(90deg); }

/* Pricing */
.billing-toggle { display: inline-flex; padding: 6px; border-radius: 999px; border: 1px solid var(--border); background: var(--surface); margin-bottom: 40px; }
.pricing-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; align-items: stretch; }
@media (max-width: 960px) { .pricing-grid { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; } }
.price-card { display: flex; flex-direction: column; }
.price-card.popular { border-color: rgba(168,174,196,.3); overflow: visible; }
.price-card.popular::after { content: ""; position: absolute; left: 24px; right: 24px; top: -1px; height: 2px; background: var(--line); border-radius: 2px; }
.price-card .pc-name { font: 700 1.3rem var(--font-head); color: var(--heading); }
.price-card .pc-tag { font-size: .9rem; color: var(--muted); min-height: 3em; }
.price-card .amount { font: 800 clamp(2.4rem, 4vw, 3.2rem)/1 var(--font-head); color: var(--heading); margin: 18px 0 4px; }
.price-card .per { font-size: .85rem; color: var(--muted); margin-bottom: 24px; }
.price-card .check-list { margin-bottom: 28px; flex: 1; }
.price-card .check-list li { font-weight: 400; color: var(--text); font-size: .95rem; }
.price-card .pop-badge { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); }
.price-card .pop-badge.badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--bg-700); }
.price-note { text-align: center; font-size: .85rem; color: var(--muted); margin-top: 24px; }

/* Testimonials */
.t-slider { position: relative; overflow: hidden; }
.t-track { display: flex; transition: transform .8s var(--ease); }
.t-slide { flex: 0 0 100%; padding: 4px; }
.t-card { max-width: 860px; margin: 0 auto; text-align: center; }
.t-card .ic-quote { width: 48px; height: 48px; color: var(--muted); margin: 0 auto 18px; }
.t-card blockquote { margin: 0 0 26px; font: 500 clamp(1.15rem, 2vw, 1.55rem)/1.5 var(--font-head); color: var(--heading); }
.t-person { display: inline-flex; align-items: center; gap: 14px; text-align: left; }
.t-person img, .t-person .avatar { width: 54px; height: 54px; border-radius: 50%; object-fit: cover; }
.avatar { display: grid; place-items: center; background: var(--bg-600); color: #fff; font: 700 1.1rem var(--font-head); }
.stars { display: flex; gap: 2px; justify-content: center; margin-bottom: 14px; color: var(--warning); }
.stars .ic { width: 18px; height: 18px; fill: currentColor; }
.t-dots { display: flex; justify-content: center; gap: 10px; margin-top: 30px; }
.t-dots button { width: 10px; height: 10px; border-radius: 50%; border: 0; background: var(--border); cursor: pointer; transition: .3s; padding: 0; }
.t-dots button.active { width: 32px; border-radius: 5px; background: var(--line); }

/* Blog cards */
.post-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.post-card .pm { aspect-ratio: 16/10; overflow: hidden; background: var(--bg-alt); }
.post-card .pm img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.post-card:hover .pm img { transform: scale(1.06); }
.post-card .pb { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.post-meta { font-size: .8rem; color: var(--muted); display: flex; gap: 14px; margin-bottom: 10px; }
.post-card h3 a { color: var(--heading); }

/* Callback / CTA band */
.cta-band { position: relative; border-radius: 32px; overflow: hidden; padding: clamp(36px, 5vw, 64px); background: var(--bg-700); border: 1px solid var(--border); display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; }
[data-theme="light"] .cta-band { background: #262937; }
.cta-band h2, .cta-band .big-phone { color: #fff; }
.cta-band p { color: var(--text-200); }
.big-phone { display: inline-flex; align-items: center; gap: 14px; font: 800 clamp(1.8rem, 3.4vw, 2.6rem)/1 var(--font-head); margin: 8px 0 18px; }
.big-phone .ic { width: 38px; height: 38px; padding: 8px; border-radius: 50%; background: rgba(255,255,255,.08); color: var(--blue); }
.big-phone:hover { color: #fff; }
@media (max-width: 900px) { .cta-band { grid-template-columns: 1fr; } }

/* Forms */
.form { display: grid; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
.field label { display: block; font-size: .82rem; font-weight: 600; color: var(--heading); margin-bottom: 7px; }
.field input, .field select, .field textarea { width: 100%; padding: 14px 16px; border-radius: 12px; border: 1px solid var(--border); background: rgba(14,13,18,.45); color: var(--heading); font: 500 .95rem var(--font-body); transition: border-color .3s, box-shadow .3s; }
[data-theme="light"] .field input, [data-theme="light"] .field select, [data-theme="light"] .field textarea { background: #fff; }
.cta-band .field input, .cta-band .field select { background: rgba(14,13,18,.5); color: #fff; }
.cta-band .field label { color: #fff; }
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand-blue); box-shadow: 0 0 0 4px rgba(8,104,248,.18); }
.field .err { color: var(--danger); font-size: .8rem; margin-top: 6px; display: none; }
.field.invalid input, .field.invalid textarea, .field.invalid select { border-color: var(--danger); }
.field.invalid .err { display: block; }
.consent { display: block; position: relative; padding-left: 28px; font-size: .82rem; color: var(--muted); line-height: 1.55; cursor: pointer; }
.consent input { position: absolute; left: 0; top: 2px; margin: 0; accent-color: var(--accent); width: 16px; height: 16px; }
.form-status { display: none; padding: 14px 16px; border-radius: 12px; font-size: .92rem; }
.form-status.ok { display: block; background: rgba(43,212,154,.12); border: 1px solid rgba(43,212,154,.4); color: var(--success); }
.form-status.bad { display: block; background: rgba(255,92,122,.12); border: 1px solid rgba(255,92,122,.4); color: var(--danger); }
.btn[disabled] { opacity: .65; pointer-events: none; }
.btn .spinner { width: 18px; height: 18px; border: 2px solid rgba(255,255,255,.35); border-top-color: #fff; border-radius: 50%; animation: spin .8s linear infinite; display: none; }
.btn.loading .spinner { display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }

/* FAQ */
.faq-list { display: grid; gap: 12px; }
.faq-item { border: 1px solid var(--border); border-radius: 16px; background: var(--surface); overflow: hidden; transition: border-color .3s; }
.faq-item[open] { border-color: rgba(168,174,196,.32); }
.faq-item summary { list-style: none; cursor: pointer; padding: 20px 24px; display: flex; justify-content: space-between; gap: 16px; align-items: center; font: 600 1.05rem var(--font-head); color: var(--heading); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .ic { transition: transform .35s var(--ease); color: var(--blue); }
.faq-item[open] summary .ic { transform: rotate(45deg); }
.faq-item .faq-a { padding: 0 24px 22px; }

/* Process steps */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; counter-reset: step; position: relative; }
.steps::before { content: ""; position: absolute; top: 28px; left: 8%; right: 8%; height: 1px; background: var(--border); }
.step { position: relative; text-align: center; padding: 0 8px; }
.step .dot { width: 56px; height: 56px; margin: 0 auto 18px; border-radius: 50%; display: grid; place-items: center; background: var(--bg); border: 2px solid var(--brand-blue); font: 800 1.2rem var(--font-head); color: var(--heading); position: relative; z-index: 1; }
.step h3 { font-size: 1.05rem; }
.step p { font-size: .9rem; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr; text-align: left; } .steps::before { display: none; } .step { display: grid; grid-template-columns: 56px 1fr; gap: 18px; text-align: left; } .step .dot { margin: 0; } }

/* Timeline */
.timeline { position: relative; display: grid; gap: 28px; padding-left: 34px; }
.timeline::before { content: ""; position: absolute; left: 8px; top: 6px; bottom: 6px; width: 2px; background: linear-gradient(180deg, #A800C0, #0868F8); opacity: .6; }
.tl-item { position: relative; }
.tl-item::before { content: ""; position: absolute; left: -32px; top: 6px; width: 14px; height: 14px; border-radius: 50%; background: var(--bg); border: 3px solid var(--brand-blue); }
.tl-item b { font: 800 1.4rem var(--font-head); color: var(--heading); display: block; }

/* Offices map */
.offices-map { position: relative; border-radius: 28px; overflow: hidden; background: var(--bg-850); border: 1px solid var(--border); aspect-ratio: 2 / 1; }
.offices-map svg { width: 100%; height: 100%; }
.offices-map .arc { stroke-dasharray: 8 8; animation: dash 1.2s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -16; } }
.offices-map .pin { animation: pulse 2s infinite; transform-box: fill-box; transform-origin: center; }
@keyframes pulse { 50% { transform: scale(1.6); opacity: .4; } }

/* Team */
.team-card { text-align: center; }
.team-card .tp { width: 120px; height: 120px; margin: 0 auto 18px; border-radius: 50%; overflow: hidden; padding: 3px; background: var(--border); }
.team-card .tp img, .team-card .tp .avatar { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; font-size: 2rem; border: 3px solid var(--bg); }

/* Portfolio */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }
.chip { padding: 10px 18px; border-radius: 999px; border: 1px solid var(--border); background: var(--surface); color: var(--heading); font: 600 .85rem var(--font-body); cursor: pointer; transition: .3s; }
.chip:hover { border-color: rgba(168,174,196,.4); }
.chip.active { background: #fff; color: #0E0D12; border-color: #fff; }
.project-card { position: relative; border-radius: 24px; overflow: hidden; aspect-ratio: 4/3; display: block; background: var(--bg-alt); }
.project-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.project-card .pc-ov { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; padding: 26px; background: linear-gradient(0deg, rgba(14,13,18,.92), transparent 60%); color: #fff; }
.project-card h3 { color: #fff; margin: 4px 0 0; }
.project-card small { color: var(--blue); text-transform: uppercase; letter-spacing: .12em; font-weight: 600; font-size: .72rem; }
.project-card:hover img { transform: scale(1.07); }
.project-card.hidden { display: none; }

/* Contact */
.office-card .ic-row { display: flex; gap: 14px; margin-bottom: 14px; color: var(--heading); }
.office-card .ic-row .ic { color: var(--muted); margin-top: 3px; }
.office-card .hours { display: grid; grid-template-columns: auto 1fr; gap: 4px 16px; font-size: .92rem; }
.map-embed { border-radius: 20px; overflow: hidden; border: 1px solid var(--border); aspect-ratio: 16/9; background: var(--bg-alt); display: grid; place-items: center; text-align: center; padding: 20px; }
.map-embed iframe { width: 100%; height: 100%; border: 0; }

/* Prose */
.prose { max-width: 760px; font-size: 1.04rem; }
.prose h2 { font-size: 1.8rem; margin-top: 1.6em; }
.prose h3 { margin-top: 1.4em; }
.prose img { border-radius: 16px; margin: 1.5em 0; }
.prose a { text-decoration: underline; text-underline-offset: 3px; }
.prose blockquote { border-left: 3px solid var(--magenta); margin: 1.5em 0; padding: .5em 1.2em; color: var(--heading); font-style: italic; }
.prose table { width: 100%; border-collapse: collapse; }
.prose th, .prose td { border: 1px solid var(--border); padding: 10px; text-align: left; }

/* Store layout */
.store-layout { display: grid; grid-template-columns: 260px 1fr; gap: 36px; align-items: start; }
.store-side { position: sticky; top: 100px; }
.store-side h4 { font: 600 .75rem var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 0 0 12px; }
.store-side ul { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 4px; }
.store-side a { display: flex; gap: 10px; align-items: center; justify-content: space-between; padding: 9px 12px; border-radius: 10px; color: var(--heading); font-size: .92rem; }
.store-side a.active, .store-side a:hover { background: rgba(255,255,255,.05); }
.store-side a.active { box-shadow: inset 2px 0 0 var(--brand-blue); }
.store-side .cnt { font-size: .75rem; color: var(--muted); }
.store-toolbar { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: center; margin-bottom: 24px; }
.store-toolbar select, .store-toolbar input { padding: 11px 14px; border-radius: 12px; border: 1px solid var(--border); background: var(--surface); color: var(--heading); font: 500 .9rem var(--font-body); }
@media (max-width: 900px) { .store-layout { grid-template-columns: 1fr; } .store-side { position: static; } }

.pd { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
@media (max-width: 900px) { .pd { grid-template-columns: 1fr; } }
.pd-gallery .main { border-radius: 28px; background: var(--bg-alt); aspect-ratio: 1; display: grid; place-items: center; overflow: hidden; border: 1px solid var(--border); cursor: zoom-in; }
.pd-gallery .main img { width: 80%; height: 80%; object-fit: contain; transition: transform .4s var(--ease); }
.pd-gallery .main.zoom img { transform: scale(1.8); cursor: zoom-out; }
.pd-thumbs { display: flex; gap: 10px; margin-top: 14px; }
.pd-thumbs button { width: 76px; height: 76px; border-radius: 14px; border: 1px solid var(--border); background: var(--bg-alt); padding: 8px; cursor: pointer; }
.pd-thumbs button.active { border-color: var(--heading); }
.pd-thumbs img { width: 100%; height: 100%; object-fit: contain; }
.pd .price { font-size: 2rem; margin: 10px 0 18px; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--border); border-radius: 999px; background: var(--surface); }
.qty button { width: 44px; height: 48px; border: 0; background: none; color: var(--heading); cursor: pointer; display: grid; place-items: center; }
.qty input { width: 48px; text-align: center; border: 0; background: none; color: var(--heading); font: 700 1rem var(--font-body); -moz-appearance: textfield; }
.qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.stock { display: inline-flex; gap: 8px; align-items: center; font-size: .88rem; font-weight: 600; color: var(--success); }
.stock.out { color: var(--danger); }
.specs { width: 100%; border-collapse: collapse; font-size: .92rem; }
.specs th, .specs td { text-align: left; padding: 12px 0; border-bottom: 1px solid var(--border); }
.specs th { color: var(--muted); font-weight: 500; width: 40%; }
.specs td { color: var(--heading); }

.cart-table { width: 100%; border-collapse: collapse; }
.cart-table th { text-align: left; font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); padding: 0 12px 14px; }
.cart-table td { padding: 18px 12px; border-top: 1px solid var(--border); vertical-align: middle; color: var(--heading); }
.cart-item { display: flex; gap: 16px; align-items: center; }
.cart-item img { width: 72px; height: 72px; object-fit: contain; border-radius: 12px; background: var(--bg-alt); padding: 6px; }
.summary-card dl { display: grid; grid-template-columns: 1fr auto; gap: 10px; margin: 0 0 20px; }
.summary-card dt { color: var(--muted); }
.summary-card dd { margin: 0; text-align: right; color: var(--heading); font-weight: 600; }
.summary-card .total { font: 800 1.5rem var(--font-head); }
.pay-logos { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 14px; font-size: .78rem; color: var(--muted); }
.pay-logos span { padding: 6px 10px; border-radius: 8px; border: 1px solid var(--border); }

/* Footer */
.site-footer { position: relative; background: var(--bg-850); color: var(--text-200); padding-top: 90px; overflow: hidden; }
[data-theme="light"] .site-footer { background: #1D202B; }
.site-footer h5 { color: #fff; font: 700 1.05rem var(--font-head); margin-bottom: 22px; }
.site-footer a { color: var(--text-200); }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 48px; }
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-grid ul a { display: inline-flex; align-items: center; gap: 8px; font-size: .93rem; }
.footer-grid ul a .ic { width: 14px; height: 14px; color: var(--muted); transition: transform .3s; }
.footer-grid ul a:hover .ic { transform: translateX(3px); }
.site-footer .logo .lw-text { fill: #fff; }
.socials { display: flex; gap: 10px; margin-top: 22px; }
.socials a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.14); transition: .3s; }
.socials a:hover { background: #fff; color: #0E0D12; border-color: #fff; transform: translateY(-3px); }
.socials .ic { width: 18px; height: 18px; }
.newsletter { display: grid; grid-template-columns: 1fr 1.2fr; gap: 32px; align-items: center; padding: 36px 40px; border-radius: 24px; background: rgba(38,41,55,.6); border: 1px solid rgba(255,255,255,.08); margin-bottom: 70px; }
.newsletter h3 { color: #fff; margin: 0; }
.newsletter form { display: flex; gap: 10px; }
.newsletter input[type=email] { flex: 1; padding: 15px 20px; border-radius: 999px; border: 1px solid rgba(255,255,255,.14); background: rgba(14,13,18,.6); color: #fff; font: 500 .95rem var(--font-body); }
@media (max-width: 800px) { .newsletter { grid-template-columns: 1fr; } .newsletter form { flex-direction: column; } }
.footer-bottom { margin-top: 70px; padding: 26px 0; border-top: 1px solid rgba(255,255,255,.08); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; font-size: .85rem; }
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 20px; }
.footer-wordmark { font: 800 clamp(4rem, 16vw, 15rem)/.8 var(--font-head); text-align: center; letter-spacing: -.04em; color: rgba(255,255,255,.035); user-select: none; margin-top: 20px; }

/* Floating actions */
.fab-stack { position: fixed; right: 22px; bottom: 22px; z-index: 40; display: grid; gap: 12px; }
.fab { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; color: #fff; box-shadow: 0 14px 30px -8px rgba(0,0,0,.5); transition: transform .3s var(--ease), opacity .3s; border: 0; cursor: pointer; }
.fab:hover { transform: scale(1.08); color: #fff; }
.fab--wa { background: #25D366; }
.fab--top { background: var(--bg-700); border: 1px solid var(--border); opacity: 0; pointer-events: none; }
.fab--top.show { opacity: 1; pointer-events: auto; }
.fab .ic { width: 24px; height: 24px; }

/* Modal & toast & drawer */
.modal { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 20px; background: rgba(8,8,12,.72); backdrop-filter: blur(6px); opacity: 0; visibility: hidden; transition: .35s var(--ease); }
.modal.open { opacity: 1; visibility: visible; }
.modal-box { position: relative; width: min(520px, 100%); max-height: 90vh; overflow: auto; background: var(--surface-solid); border: 1px solid var(--border); border-radius: 24px; padding: 34px; transform: translateY(20px) scale(.98); transition: .4s var(--ease); }
.modal.open .modal-box { transform: none; }
.modal-box.video { width: min(1000px, 100%); padding: 0; aspect-ratio: 16/9; overflow: hidden; background: #000; }
.modal-box.video iframe, .modal-box.video video { width: 100%; height: 100%; border: 0; }
.modal-close { position: absolute; top: 14px; right: 14px; z-index: 2; }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 140%); z-index: 300; display: flex; gap: 14px; align-items: center; max-width: calc(100% - 32px); padding: 14px 18px; border-radius: 16px; background: var(--surface-solid); border: 1px solid var(--border); color: var(--heading); box-shadow: var(--shadow); transition: transform .5s var(--ease), opacity .4s, visibility .4s; font-size: .92rem; opacity: 0; visibility: hidden; }
.toast.show { transform: translate(-50%, 0); opacity: 1; visibility: visible; }
.toast .btn { padding: 9px 14px; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(420px, 100%); z-index: 210; background: var(--surface-solid); border-left: 1px solid var(--border); transform: translateX(100%); transition: transform .5s var(--ease); display: flex; flex-direction: column; }
.drawer.open { transform: none; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 22px 24px; border-bottom: 1px solid var(--border); }
.drawer-body { flex: 1; overflow: auto; padding: 18px 24px; }
.drawer-foot { padding: 20px 24px; border-top: 1px solid var(--border); }
.search-modal .modal-box { width: min(720px, 100%); align-self: start; margin-top: 10vh; }
.search-modal input { width: 100%; padding: 18px 20px; font: 600 1.2rem var(--font-body); border-radius: 14px; border: 1px solid var(--border); background: var(--bg); color: var(--heading); }
.search-results { margin-top: 16px; display: grid; gap: 6px; }
.search-results a { display: flex; gap: 12px; align-items: center; padding: 12px; border-radius: 12px; color: var(--heading); }
.search-results a:hover, .search-results a.sel { background: rgba(255,255,255,.05); }
.search-results small { color: var(--muted); display: block; }

/* Cookie banner */
.cookie { position: fixed; left: 22px; bottom: 22px; z-index: 150; width: min(380px, calc(100% - 44px)); padding: 18px 20px; font-size: .82rem; border-radius: 20px; background: var(--surface-solid); border: 1px solid var(--border); box-shadow: var(--shadow); font-size: .88rem; display: none; }
.cookie.show { display: block; animation: rise .6s var(--ease); }
.cookie .row { display: flex; gap: 10px; margin-top: 14px; }
@keyframes rise { from { transform: translateY(20px); opacity: 0; } }

/* Reveal animations (progressive enhancement: only hidden when JS is ready) */
.js [data-reveal] { opacity: 0; transform: translateY(36px); }
.js [data-reveal].in { opacity: 1; transform: none; transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }

/* Cursor glow */
.cursor-glow { display: none !important; position: fixed; left: 0; top: 0; width: 420px; height: 420px; border-radius: 50%; pointer-events: none; z-index: 1; background: radial-gradient(circle, rgba(226,85,249,.12), transparent 60%); transform: translate(-50%, -50%); transition: opacity .4s; mix-blend-mode: screen; }
@media (hover: none) { .cursor-glow { display: none; } }

/* View transitions */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: .35s var(--ease) both vt-out; }
::view-transition-new(root) { animation: .45s var(--ease) both vt-in; }
@keyframes vt-out { to { opacity: 0; transform: translateY(-8px); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(8px); } }

.empty-state { text-align: center; padding: 60px 20px; border: 1px dashed var(--border); border-radius: var(--radius); }
.empty-state .ic { width: 48px; height: 48px; margin: 0 auto 14px; color: var(--muted); }
.pagination { display: flex; gap: 8px; justify-content: center; margin-top: 40px; }
.pagination a, .pagination span { min-width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; border: 1px solid var(--border); color: var(--heading); padding: 0 12px; }
.pagination .current { background: #fff; color: #0E0D12; border-color: #fff; }
.notice { padding: 16px 20px; border-radius: 14px; background: rgba(8,104,248,.08); border: 1px solid rgba(90,156,255,.3); color: var(--heading); }

.err-page { min-height: 80vh; display: grid; place-items: center; text-align: center; }
.err-code { font: 800 clamp(7rem, 22vw, 14rem)/1 var(--font-head); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .cursor-glow, .hero-tech .grid-floor { display: none; }
}
@media print { .site-header, .topbar, .site-footer, .fab-stack, .cookie { display: none !important; } body { background: #fff; color: #000; } }
