/* ==========================================================
   Wathiqa — design tokens (light + night)
   ========================================================== */
:root {
  --brand: #543C72;
  --brand-2: #2E3D98;
  --brand-3: #8f6fd1;
  --accent: #5fd3c6;
  --gold: #f5c451;
  --bg: #f7f5fb;
  --bg-2: #efeaf7;
  --surface: #ffffff;
  --surface-2: #faf8fd;
  --text: #241c33;
  --muted: #6c6380;
  --line: rgba(84, 60, 114, .12);
  --shadow: 0 10px 30px -12px rgba(52, 33, 84, .25);
  --shadow-lg: 0 30px 60px -20px rgba(52, 33, 84, .35);
  --grad: linear-gradient(135deg, #6a4c93 0%, #543C72 45%, #2E3D98 100%);
  --nav-bg: rgba(84, 60, 114, .96);
  --radius: 18px;
  --wrap: 1200px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --spring: cubic-bezier(.34, 1.56, .64, 1);
  --font: "IBM Plex Sans Arabic", system-ui, -apple-system, "Segoe UI", Tahoma, sans-serif;
  --appbar-h: 0px;
  color-scheme: light;
}
[data-theme="dark"] {
  --bg: #0f0c1a;
  --bg-2: #161126;
  --surface: #1b1530;
  --surface-2: #211a3a;
  --text: #ece8f7;
  --muted: #a69dbd;
  --line: rgba(190, 170, 255, .12);
  --shadow: 0 10px 30px -12px rgba(0, 0, 0, .6);
  --shadow-lg: 0 30px 60px -20px rgba(0, 0, 0, .7);
  --grad: linear-gradient(135deg, #3b2a5c 0%, #2b1f47 45%, #1b2463 100%);
  --nav-bg: rgba(22, 17, 38, .9);
  --brand-3: #b39cf0;
  color-scheme: dark;
}

/* ==========================================================
   Base
   ========================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font); color: var(--text); background: var(--bg);
  line-height: 1.85; font-size: 16.5px; overflow-x: hidden;
  transition: background-color .4s var(--ease), color .4s var(--ease);
  padding-bottom: var(--appbar-h);
}
[lang="en"] body { line-height: 1.7; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
h1, h2, h3, h4 { line-height: 1.35; margin: 0 0 .6em; font-weight: 700; }
p { margin: 0 0 1em; }
.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
.ico { width: 1.25em; height: 1.25em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
[dir="rtl"] .flip-rtl { transform: scaleX(-1); }
.skip { position: absolute; inset-inline-start: -999px; top: 8px; background: var(--brand); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 999; }
.skip:focus { inset-inline-start: 8px; }
:focus-visible { outline: 3px solid var(--brand-3); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--brand-3); color: #fff; }
.center { text-align: center; }
.lead { font-size: 1.12em; color: var(--muted); }

/* ==========================================================
   Buttons
   ========================================================== */
.btn {
  display: inline-flex; align-items: center; gap: .55em; padding: .8em 1.5em; border-radius: 999px;
  font-weight: 600; font-size: .95rem; line-height: 1.2; position: relative; overflow: hidden; isolation: isolate;
  transition: transform .35s var(--spring), box-shadow .3s var(--ease), background .3s;
}
.btn::after {
  content: ""; position: absolute; inset: 0; z-index: -1; transform: translateX(-110%) skewX(-20deg);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .35), transparent);
  transition: transform .7s var(--ease);
}
.btn:hover::after { transform: translateX(110%) skewX(-20deg); }
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 8px 24px -8px rgba(84, 60, 114, .7); }
.btn-primary:hover { box-shadow: 0 14px 30px -10px rgba(84, 60, 114, .9); }
.btn-light { background: #fff; color: var(--brand); }
.btn-outline-light { border: 1.5px solid rgba(255, 255, 255, .6); color: #fff; }
.btn-outline-light:hover { background: rgba(255, 255, 255, .12); }
.btn-ghost { border: 1.5px solid var(--line); color: var(--text); }
.btn-ghost:hover { border-color: var(--brand-3); }
.btn:active { transform: scale(.96); }

/* ==========================================================
   Header
   ========================================================== */
#topbar { position: sticky; top: 0; z-index: 50; }
.topstrip { background: var(--surface); border-bottom: 1px solid var(--line); font-size: .85rem; transition: margin .4s var(--ease), opacity .3s; }
.topstrip-in { display: flex; justify-content: flex-end; gap: 4px; height: 38px; align-items: center; }
.ts-link { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); padding: 2px 14px; border-inline-start: 1px solid var(--line); transition: color .2s; }
.ts-link:first-child { border: 0; }
.ts-link:hover { color: var(--brand-3); }
.ts-link .ico { width: 15px; height: 15px; }
body.scrolled .topstrip { margin-top: -39px; opacity: 0; }

.navbar { background: var(--surface); transition: background .4s, box-shadow .4s; }
body.scrolled .navbar { background: color-mix(in srgb, var(--surface) 88%, transparent); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px); box-shadow: 0 6px 24px -14px rgba(0, 0, 0, .35); }
.nav-in { display: flex; align-items: center; gap: 20px; height: 80px; transition: height .4s var(--ease); }
body.scrolled .nav-in { height: 66px; }
.brand { flex: none; display: block; }
.brand-logo { height: 46px; width: auto; transition: height .4s var(--ease), filter .4s; }
body.scrolled .brand-logo { height: 38px; }
[data-theme="dark"] .brand-logo { filter: brightness(0) invert(1) drop-shadow(0 0 12px rgba(179, 156, 240, .35)); }

#mainnav { position: relative; margin-inline-start: auto; }
.nav-list { display: flex; list-style: none; margin: 0; padding: 0; gap: 2px; }
.nav-list > li { position: relative; }
.nav-list > li > a { display: flex; align-items: center; gap: 4px; padding: 10px 14px; font-weight: 500; font-size: .95rem; border-radius: 10px; transition: color .25s, background .25s; white-space: nowrap; }
.nav-list > li > a:hover, .nav-list > li > a.active { color: var(--brand-3); }
.nav-list > li > a:hover { background: var(--bg-2); }
.caret { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; transition: transform .3s; }
.has-sub:hover .caret, .has-sub:focus-within .caret { transform: rotate(180deg); }
.nav-ink { position: absolute; bottom: -6px; inset-inline-start: 0; left: 0; height: 3px; border-radius: 3px; background: var(--grad); transition: transform .5s var(--spring), width .5s var(--spring), opacity .3s; pointer-events: none; }
[dir="rtl"] .nav-ink { right: auto; }
.dropdown {
  position: absolute; top: calc(100% + 10px); inset-inline-start: 0; min-width: 250px; list-style: none; margin: 0; padding: 8px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(10px) scale(.97); transform-origin: top; transition: all .3s var(--ease);
}
.has-sub:hover .dropdown, .has-sub:focus-within .dropdown { opacity: 1; visibility: visible; transform: none; }
.dropdown::before { content: ""; position: absolute; inset: -12px 0 auto; height: 12px; }
.dropdown a { display: block; padding: 9px 14px; border-radius: 9px; font-size: .92rem; transition: background .2s, padding .25s var(--ease), color .2s; }
.dropdown a:hover, .dropdown a.active { background: var(--bg-2); color: var(--brand-3); padding-inline-start: 20px; }

.nav-actions { display: flex; gap: 6px; align-items: center; }
.icon-btn { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--bg-2); transition: transform .3s var(--spring), background .3s; font-weight: 700; }
.icon-btn:hover { transform: translateY(-2px) rotate(-4deg); }
.icon-btn .ico { width: 20px; height: 20px; }
.lang-label { font-size: .9rem; }

/* sun/moon morph */
.sunmoon { width: 22px; height: 22px; overflow: visible; }
.sun-core { fill: var(--gold); transition: r .5s var(--spring), fill .4s; }
.moon-cut { transition: cx .5s var(--ease), cy .5s var(--ease); }
.sun-rays { stroke: var(--gold); stroke-width: 2; stroke-linecap: round; transform-origin: 12px 12px; transition: transform .6s var(--spring), opacity .4s; }
[data-theme="dark"] .sun-core { r: 9px; fill: #d9d2ff; }
[data-theme="dark"] .moon-cut { cx: 17px; cy: 7px; }
[data-theme="dark"] .sun-rays { transform: rotate(90deg) scale(.4); opacity: 0; }
.install-btn { background: var(--grad); color: #fff; animation: wobble 3s 2s infinite; }
@keyframes wobble { 0%, 90%, 100% { transform: none; } 93% { transform: rotate(-12deg); } 96% { transform: rotate(10deg); } }

.burger { display: none; flex-direction: column; gap: 5px; padding: 12px; }
.burger span { display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .4s var(--spring), opacity .3s; }
body.drawer-open .burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.drawer-open .burger span:nth-child(2) { opacity: 0; transform: scaleX(0); }
body.drawer-open .burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

#progress { position: fixed; top: 0; inset-inline: 0; height: 3px; z-index: 60; background: linear-gradient(90deg, var(--accent), var(--brand-3), var(--brand-2)); transform-origin: left; transform: scaleX(0); }
[dir="rtl"] #progress { transform-origin: right; }

/* ==========================================================
   Drawer (mobile menu)
   ========================================================== */
#drawer { position: fixed; inset: 0; z-index: 45; background: rgba(15, 10, 30, .45); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); opacity: 0; visibility: hidden; transition: opacity .4s, visibility .4s; }
.drawer-in {
  position: absolute; top: 0; bottom: 0; inset-inline-end: 0; width: min(380px, 88vw); background: var(--surface); padding: 110px 26px calc(110px + env(safe-area-inset-bottom)); overflow-y: auto;
  clip-path: circle(0% at calc(100% - 40px) 40px); transition: clip-path .7s var(--ease);
}
[dir="rtl"] .drawer-in { clip-path: circle(0% at 40px 40px); }
body.drawer-open #drawer { opacity: 1; visibility: visible; }
body.drawer-open .drawer-in { clip-path: circle(150% at calc(100% - 40px) 40px); }
[dir="rtl"] body.drawer-open .drawer-in { clip-path: circle(150% at 40px 40px); }
.d-item { opacity: 0; transform: translateX(30px); transition: opacity .4s, transform .5s var(--spring); transition-delay: calc(var(--i) * 50ms + .15s); border-bottom: 1px solid var(--line); }
[dir="rtl"] .d-item { transform: translateX(-30px); }
body.drawer-open .d-item { opacity: 1; transform: none; }
.d-link { display: block; padding: 14px 4px; font-size: 1.15rem; font-weight: 600; }
.d-link.active { color: var(--brand-3); }
.d-sub { display: grid; padding: 0 12px 12px; }
.d-sub a { padding: 6px 0; color: var(--muted); font-size: .95rem; }
.d-sub a.active { color: var(--brand-3); }
.d-extra { display: grid; gap: 10px; padding-top: 20px; border: 0; }
.d-extra .btn { justify-content: center; }

/* ==========================================================
   Splash
   ========================================================== */
#splash { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; align-content: center; gap: 20px; background: var(--bg); }
#splash .curtain { position: absolute; top: 0; bottom: 0; width: 50.5%; background: var(--grad); z-index: -1; transition: transform 1s var(--ease); }
#splash .curtain { background-size: 200% 100%; }
.curtain.c1 { left: 0; background-position: left center; } .curtain.c2 { right: 0; background-position: right center; }
#splash.open .c1 { transform: translateX(-101%); }
#splash.open .c2 { transform: translateX(101%); }
#splash.open .splash-shield, #splash.open .splash-logo { opacity: 0; transform: scale(1.3); transition: all .5s var(--ease); }
#splash.open { background: transparent; pointer-events: none; }
.splash-shield { width: 96px; height: 112px; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.s-outline { stroke: #fff; stroke-width: 6; stroke-dasharray: 420; stroke-dashoffset: 420; animation: draw 1.1s .1s var(--ease) forwards, fillin .5s 1s forwards; }
.s-check { stroke: var(--gold); stroke-width: 9; stroke-dasharray: 90; stroke-dashoffset: 90; animation: draw .5s 1s var(--spring) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fillin { to { fill: rgba(255, 255, 255, .12); } }
.splash-logo { width: 220px; filter: brightness(0) invert(1); opacity: 0; animation: rise .7s .7s var(--spring) forwards; }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

/* ==========================================================
   Hero slider
   ========================================================== */
.hero { position: relative; height: min(78vh, 720px); min-height: 440px; overflow: hidden; background: #1d1630; isolation: isolate; }
.slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity 1.1s var(--ease), visibility 1.1s; }
.slide.active { opacity: 1; visibility: visible; z-index: 1; }
.slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.18); }
.slide.active img { animation: kenburns 9s linear forwards; }
@keyframes kenburns { from { transform: scale(1.18) translateX(2%); } to { transform: scale(1.02) translateX(-1%); } }
.slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(25, 15, 45, .88) 0%, rgba(40, 25, 70, .45) 50%, rgba(84, 60, 114, .2) 100%); }
[data-theme="dark"] .slide::after { background: linear-gradient(0deg, rgba(10, 6, 20, .9) 0%, rgba(15, 10, 30, .45) 50%, rgba(15, 10, 30, .35) 100%); }
.slide-cap { position: absolute; z-index: 2; bottom: 15%; inset-inline: 0; width: min(var(--wrap), 100% - 40px); margin-inline: auto; color: #fff; }
.cap-kicker { display: inline-flex; align-items: center; gap: 8px; font-size: .85rem; padding: 6px 14px; border-radius: 999px; background: rgba(255, 255, 255, .14); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border: 1px solid rgba(255, 255, 255, .25); margin-bottom: 16px; opacity: 0; transform: translateY(14px); }
.cap-kicker .ico { color: var(--gold); }
.slide-cap h2 { font-size: clamp(2rem, 5.5vw, 4.2rem); font-weight: 700; margin-bottom: 24px; text-shadow: 0 6px 30px rgba(0, 0, 0, .35); }
.w { display: inline-block; overflow: hidden; vertical-align: bottom; padding-block: .06em; }
.w > span { display: inline-block; transform: translateY(110%) rotate(6deg); }
.slide.active .w > span { animation: wordUp .9s var(--spring) forwards; animation-delay: calc(.35s + var(--i) * .12s); }
.slide.active .cap-kicker { animation: rise .7s .2s var(--spring) forwards; }
.slide-cap .btn { opacity: 0; }
.slide.active .slide-cap .btn { animation: rise .7s .8s var(--spring) forwards; }
@keyframes wordUp { to { transform: none; } }
.rain { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.hero-arrow { position: absolute; z-index: 4; top: 50%; translate: 0 -50%; width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .3); backdrop-filter: blur(6px); transition: background .3s, transform .3s var(--spring); }
.hero-arrow:hover { background: rgba(255, 255, 255, .25); transform: scale(1.1); }
.hero-arrow.prev { inset-inline-start: 20px; } .hero-arrow.next { inset-inline-end: 20px; }
[dir="rtl"] .hero-arrow .ico { transform: scaleX(-1); }
.dots { position: absolute; z-index: 4; bottom: 28px; inset-inline: 0; display: flex; justify-content: center; gap: 10px; }
.dot { width: 34px; height: 5px; border-radius: 4px; background: rgba(255, 255, 255, .35); overflow: hidden; padding: 0; }
.dot i { display: block; height: 100%; width: 0; background: #fff; }
.dot.active i { animation: dotfill 6.5s linear forwards; }
@keyframes dotfill { to { width: 100%; } }
.scroll-cue { position: absolute; z-index: 4; bottom: 26px; inset-inline-end: 34px; width: 24px; height: 38px; border: 2px solid rgba(255, 255, 255, .6); border-radius: 14px; }
.scroll-cue span { position: absolute; top: 7px; left: 50%; width: 4px; height: 8px; margin-left: -2px; background: #fff; border-radius: 2px; animation: cue 1.8s infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ==========================================================
   Stats
   ========================================================== */
.stats { position: relative; z-index: 5; margin-top: -54px; }
.stats-in { display: grid; grid-template-columns: repeat(4, 1fr); background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow-lg); border: 1px solid var(--line); overflow: hidden; }
.stat { padding: 26px 18px; text-align: center; position: relative; }
.stat + .stat { border-inline-start: 1px solid var(--line); }
.stat strong { display: block; font-size: clamp(2rem, 4vw, 2.8rem); line-height: 1.1; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; font-variant-numeric: tabular-nums; }
[data-theme="dark"] .stat strong { background: linear-gradient(135deg, #d9cbff, #8fb0ff); -webkit-background-clip: text; background-clip: text; }
.stat strong.pop { animation: pop .5s var(--spring); }
@keyframes pop { 50% { transform: scale(1.18); } }
.stat > span { color: var(--muted); font-size: .92rem; }

/* ==========================================================
   Sections
   ========================================================== */
.sec { padding: clamp(60px, 9vw, 110px) 0; position: relative; }
.sec-head { text-align: center; margin-bottom: 44px; }
.sec-head h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); margin-bottom: 10px; }
.sec-head p { color: var(--muted); max-width: 680px; margin: 0 auto; }
.sec-line { display: block; width: 70px; height: 4px; margin: 14px auto 0; border-radius: 4px; background: var(--grad); position: relative; overflow: hidden; }
.sec-line::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, #fff, transparent); animation: sweep 2.4s infinite; }
@keyframes sweep { from { transform: translateX(-100%); } to { transform: translateX(100%); } }
.who-text { max-width: 900px; margin: 0 auto 40px; text-align: center; color: var(--muted); font-size: 1.05rem; }

.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 30px; }
.tile { display: grid; justify-items: center; gap: 12px; padding: 24px 12px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); font-weight: 600; text-align: center; transition: transform .4s var(--spring), box-shadow .3s, background .3s, color .3s; position: relative; overflow: hidden; }
.tile::before { content: ""; position: absolute; inset: 0; background: var(--grad); opacity: 0; transition: opacity .4s; z-index: 0; }
.tile > * { position: relative; z-index: 1; }
.tile:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.tile.active { color: #fff; box-shadow: var(--shadow-lg); transform: translateY(-6px); }
.tile.active::before { opacity: 1; }
.tile-ico { width: 52px; height: 52px; background: var(--brand); -webkit-mask: var(--src) center / contain no-repeat; mask: var(--src) center / contain no-repeat; transition: background .3s, transform .5s var(--spring); }
[data-theme="dark"] .tile-ico { background: var(--brand-3); }
.tile.active .tile-ico { background: #fff; transform: scale(1.1) rotate(-6deg); }

.tab-panels { position: relative; display: grid; }
.tab-panel { grid-area: 1 / 1; display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; align-items: center; background: var(--surface); border-radius: calc(var(--radius) + 6px); padding: 26px; border: 1px solid var(--line); box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(20px) scale(.98); transition: opacity .5s var(--ease), transform .6s var(--spring), visibility .5s; }
.tab-panel.active { opacity: 1; visibility: visible; transform: none; }
.tp-img { margin: 0; border-radius: var(--radius); overflow: hidden; aspect-ratio: 3 / 2; }
.tp-img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); transition: transform 1.2s var(--ease); }
.tab-panel.active .tp-img img { transform: scale(1); }
.tp-body h3 { font-size: 1.6rem; color: var(--brand-3); }
.tp-body h4 { margin: .4em 0 .2em; }
.tp-body ul { padding-inline-start: 1.2em; margin: 0 0 1.2em; }
.tp-body p { color: var(--muted); }

/* products */
.products-sec { background: var(--bg-2); overflow: hidden; }
.blob { position: absolute; width: 420px; height: 420px; border-radius: 50%; filter: blur(70px); opacity: .35; pointer-events: none; animation: float 14s ease-in-out infinite alternate; }
.b1 { background: var(--brand-3); top: -120px; inset-inline-start: -120px; }
.b2 { background: var(--accent); bottom: -140px; inset-inline-end: -100px; animation-delay: -6s; opacity: .22; }
@keyframes float { to { transform: translate(60px, 40px) scale(1.15); } }
.prod-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; perspective: 1000px; position: relative; }
.prod-card {
  --rx: 0deg; --ry: 0deg; --gx: 50%; --gy: 50%;
  text-align: start; display: flex; flex-direction: column; gap: 6px; padding: 30px 26px; border-radius: 22px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow);
  position: relative; overflow: hidden; transform-style: preserve-3d; transform: rotateX(var(--rx)) rotateY(var(--ry)); transition: transform .25s ease-out, box-shadow .3s;
}
.prod-card:hover { box-shadow: var(--shadow-lg); }
.glare { position: absolute; inset: 0; background: radial-gradient(circle at var(--gx) var(--gy), rgba(255, 255, 255, .45), transparent 45%); opacity: 0; transition: opacity .3s; pointer-events: none; mix-blend-mode: soft-light; }
.prod-card:hover .glare { opacity: 1; }
.prod-card::before { content: ""; position: absolute; inset-inline-end: -40px; top: -40px; width: 140px; height: 140px; border-radius: 50%; background: var(--grad); opacity: .08; transition: transform .6s var(--spring), opacity .4s; }
.prod-card:hover::before { transform: scale(2.6); opacity: .12; }
.prod-ico { width: 62px; height: 62px; border-radius: 18px; display: grid; place-items: center; background: var(--grad); color: #fff; margin-bottom: 10px; transform: translateZ(40px); box-shadow: 0 10px 20px -8px rgba(84, 60, 114, .7); transition: transform .5s var(--spring); }
.prod-ico .ico { width: 30px; height: 30px; }
.prod-card:hover .prod-ico { transform: translateZ(50px) rotate(-8deg) scale(1.08); }
.prod-card h3 { font-size: 1.25rem; margin: 0; transform: translateZ(25px); }
.prod-card p { color: var(--muted); font-size: .94rem; flex: 1; margin: 0; }
.prod-more { display: inline-flex; align-items: center; gap: 6px; color: var(--brand-3); font-weight: 600; font-size: .9rem; margin-top: 10px; }
.prod-more .ico { transition: transform .3s var(--spring); }
.prod-card:hover .prod-more .ico { transform: translateX(6px); }
[dir="rtl"] .prod-card:hover .prod-more .ico { transform: scaleX(-1) translateX(6px); }

/* beliefs */
.beliefs { position: relative; padding: clamp(80px, 12vw, 150px) 0; color: #fff; overflow: hidden; text-align: center; isolation: isolate; }
.beliefs-bg { position: absolute; inset: -10%; z-index: -1; background: var(--grad); }
.beliefs-bg::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, .12) 1px, transparent 1px); background-size: 26px 26px; animation: drift 30s linear infinite; }
@keyframes drift { to { background-position: 260px 260px; } }
.beliefs-in { max-width: 900px; }
.big-quote { display: inline-grid; place-items: center; width: 74px; height: 74px; border-radius: 50%; background: rgba(255, 255, 255, .12); margin-bottom: 16px; animation: bob 4s ease-in-out infinite; }
.big-quote .ico { width: 34px; height: 34px; color: var(--gold); }
@keyframes bob { 50% { transform: translateY(-10px) rotate(-6deg); } }
.beliefs h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
.scrub { font-size: clamp(1.15rem, 2.3vw, 1.6rem); line-height: 1.9; font-weight: 500; margin-bottom: 30px; }
.bw { opacity: .22; transition: opacity .35s, color .35s, text-shadow .35s; }
.bw.lit { opacity: 1; }

/* clients */
.clients-sec { overflow: hidden; }
.marquee { overflow: hidden; -webkit-mask: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); direction: ltr; }
.marquee-track { display: flex; gap: 24px; width: max-content; animation: marquee 30s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.client { flex: none; width: 200px; height: 110px; border-radius: 16px; background: #fff; border: 1px solid var(--line); display: grid; place-items: center; padding: 8px; filter: grayscale(1); opacity: .75; transition: filter .4s, opacity .4s, transform .4s var(--spring), box-shadow .3s; }
.client:hover { filter: none; opacity: 1; transform: translateY(-6px) scale(1.04); box-shadow: var(--shadow); }
.client-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 22px; }
.client.big { width: auto; height: 150px; filter: none; opacity: 1; }

/* CTA */
.cta { padding: 0 0 clamp(60px, 8vw, 100px); }
.beliefs + .sec + .cta, .sec + .cta { padding-top: 0; }
.cta-in { display: grid; grid-template-columns: auto 1fr auto; gap: 26px; align-items: center; padding: 38px 40px; border-radius: 28px; background: var(--grad); color: #fff; position: relative; overflow: hidden; box-shadow: var(--shadow-lg); }
.cta-in::before { content: ""; position: absolute; width: 300px; height: 300px; border-radius: 50%; background: rgba(255, 255, 255, .08); inset-inline-end: -80px; top: -150px; animation: float 10s ease-in-out infinite alternate; }
.cta h2 { font-size: clamp(1.3rem, 2.4vw, 1.8rem); margin-bottom: 6px; }
.cta p { margin: 0; opacity: .85; }
.cta-shield { width: 74px; height: 74px; border-radius: 22px; background: rgba(255, 255, 255, .14); display: grid; place-items: center; animation: bob 5s ease-in-out infinite; }
.cta-shield .ico { width: 38px; height: 38px; color: var(--gold); }
.cta-btns { display: flex; gap: 12px; flex-wrap: wrap; position: relative; }

/* ==========================================================
   Inner pages
   ========================================================== */
.page-hero { position: relative; padding: clamp(60px, 10vw, 110px) 0 clamp(50px, 8vw, 90px); background: var(--grad); color: #fff; overflow: hidden; isolation: isolate; }
.page-hero h1 { font-size: clamp(1.9rem, 4.5vw, 3.2rem); margin-bottom: 12px; }
.ph-title .w > span { animation: wordUp .9s var(--spring) forwards; animation-delay: calc(.1s + var(--i) * .1s); }
.crumbs { display: flex; gap: 10px; opacity: 0; animation: rise .6s .45s var(--spring) forwards; font-size: .95rem; }
.crumbs a { opacity: .8; } .crumbs a:hover { opacity: 1; text-decoration: underline; }
.ph-shapes i { position: absolute; z-index: -1; border: 2px solid rgba(255, 255, 255, .18); border-radius: 30%; animation: spin 18s linear infinite; }
.ph-shapes i:nth-child(1) { width: 220px; height: 220px; inset-inline-end: 6%; top: -60px; }
.ph-shapes i:nth-child(2) { width: 120px; height: 120px; inset-inline-end: 22%; bottom: -40px; animation-duration: 12s; animation-direction: reverse; border-radius: 50%; }
.ph-shapes i:nth-child(3) { width: 60px; height: 60px; inset-inline-start: 46%; top: 30px; background: rgba(255, 255, 255, .08); border: 0; animation-duration: 9s; }
.ph-shapes i:nth-child(4) { width: 340px; height: 340px; inset-inline-start: -120px; bottom: -220px; border-radius: 50%; border-style: dashed; animation-duration: 40s; }
@keyframes spin { to { transform: rotate(360deg); } }

.with-side { display: grid; grid-template-columns: 1fr 300px; gap: 40px; align-items: start; }
.article { min-width: 0; }
.hero-img { margin: 0 0 30px; border-radius: 22px; overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 16 / 9; }
.hero-img img { width: 100%; height: 100%; object-fit: cover; }
.subnav { position: sticky; top: 100px; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 22px; box-shadow: var(--shadow); display: grid; gap: 4px; }
.subnav h3 { font-size: 1.05rem; color: var(--brand-3); margin-bottom: 8px; }
.subnav a:not(.btn) { display: flex; align-items: center; gap: 8px; padding: 9px 10px; border-radius: 10px; font-size: .95rem; transition: background .2s, color .2s, padding .3s var(--ease); }
.subnav a:not(.btn) .ico { width: 14px; height: 14px; opacity: .4; transition: opacity .3s, transform .3s; }
.subnav a:not(.btn):hover, .subnav a.on { background: var(--bg-2); color: var(--brand-3); padding-inline-start: 16px; }
.subnav a.on .ico { opacity: 1; }
.subnav .btn { margin-top: 14px; justify-content: center; }

.prose { font-size: 1.04rem; }
.prose p { color: var(--muted); }
.prose h3 { font-size: 1.45rem; margin-top: 1.2em; color: var(--brand-3); }
.checks { list-style: none; padding: 0; margin: 0 0 1.4em; display: grid; gap: 12px; }
.checks li { position: relative; padding: 14px 18px; padding-inline-start: 56px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; transition: transform .35s var(--spring), box-shadow .3s, border-color .3s; }
.checks li:hover { transform: translateX(6px); box-shadow: var(--shadow); border-color: var(--brand-3); }
[dir="rtl"] .checks li:hover { transform: translateX(-6px); }
.checks li::before { content: ""; position: absolute; inset-inline-start: 16px; top: 15px; width: 26px; height: 26px; border-radius: 8px; background: var(--grad); }
.checks li::after { content: ""; position: absolute; inset-inline-start: 25px; top: 20px; width: 6px; height: 11px; border: solid #fff; border-width: 0 2.5px 2.5px 0; transform: rotate(45deg) scale(0); transition: transform .4s .25s var(--spring); }
.checks li.in::after, .modal-card .checks li::after { transform: rotate(45deg) scale(1); }
.values { display: grid; gap: 14px; margin: 0 0 1.4em; }
.values dt { font-weight: 700; font-size: 1.12rem; display: flex; align-items: center; gap: 10px; color: var(--text); }
.values dt::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--grad); box-shadow: 0 0 0 5px color-mix(in srgb, var(--brand-3) 20%, transparent); }
.values dd { margin: -6px 0 6px; padding-inline-start: 20px; color: var(--muted); border-inline-start: 2px dashed var(--line); margin-inline-start: 4px; }
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 30px; }
.duo-card { padding: 28px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); position: relative; overflow: hidden; }
.duo-card h3 { margin-top: .4em !important; }
.duo-ico { display: inline-grid; place-items: center; width: 54px; height: 54px; border-radius: 16px; background: var(--grad); color: #fff; }
.duo-ico .ico { width: 26px; height: 26px; }
.promise-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.promise { padding: 28px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); position: relative; overflow: hidden; transition: transform .4s var(--spring), box-shadow .3s; }
.promise:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.promise .num { position: absolute; inset-inline-end: 18px; top: 4px; font-size: 3.6rem; font-weight: 700; opacity: .08; line-height: 1.2; }
.promise h3 { margin-top: 0 !important; }
.promise p { margin: 0; font-size: .97rem; }

/* contact */
.c-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; margin-bottom: 60px; }
.c-card { text-align: center; padding: 28px 16px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); transition: transform .4s var(--spring); overflow-wrap: anywhere; }
.c-card:hover { transform: translateY(-8px); }
.c-card h3 { font-size: 1rem; margin: 12px 0 4px; }
.c-card a, .c-card span:not(.c-ico) { color: var(--muted); font-size: .92rem; }
.c-card a:hover { color: var(--brand-3); }
.c-ico { display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--grad); color: #fff; position: relative; }
.c-ico::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--brand-3); animation: ping 2.4s infinite; }
@keyframes ping { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(1.6); opacity: 0; } }
.map-big { position: relative; border-radius: 24px; overflow: hidden; box-shadow: var(--shadow-lg); height: 420px; border: 1px solid var(--line); }
.map-big iframe, .map-wrap iframe { width: 100%; height: 100%; border: 0; display: block; }
[data-theme="dark"] .map-big iframe, [data-theme="dark"] .map-wrap iframe { filter: invert(.9) hue-rotate(180deg) saturate(.7); }

/* ==========================================================
   Footer
   ========================================================== */
#footer { position: relative; background: #1e1533; color: #d8d0ea; margin-top: 30px; }
[data-theme="dark"] #footer { background: #0a0814; }
.foot-wave { position: absolute; top: -79px; inset-inline: 0; height: 80px; color: #1e1533; }
[data-theme="dark"] .foot-wave { color: #0a0814; }
.foot-wave svg { width: 100%; height: 100%; fill: currentColor; display: block; }
.foot-grid { display: grid; grid-template-columns: 1fr 1.2fr 1.3fr; gap: 40px; padding: 40px 0 50px; }
.foot-grid h3 { color: #fff; font-size: 1.15rem; margin-bottom: 18px; }
.fb-1 { color: #fff; font-weight: 600; margin: 16px 0 0; }
.fb-2 { opacity: .7; font-size: .92rem; }
.fb-lic { display: inline-flex; align-items: center; gap: 8px; font-size: .85rem; padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .08); }
.fb-lic .ico { color: var(--gold); }
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; font-size: .94rem; }
.contact-list li { display: flex; gap: 12px; align-items: flex-start; }
.contact-list a:hover { color: #fff; }
.ci { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: rgba(255, 255, 255, .08); flex: none; transition: background .3s, transform .3s var(--spring); }
.contact-list li:hover .ci { background: var(--brand-3); transform: rotate(-8deg); }
.ci .ico { width: 17px; height: 17px; }
.map-wrap { border-radius: 16px; overflow: hidden; height: 220px; background: rgba(255, 255, 255, .05); }
.foot-bottom { border-top: 1px solid rgba(255, 255, 255, .08); padding: 18px 0; font-size: .85rem; text-align: center; opacity: .8; }

/* ==========================================================
   Floating UI
   ========================================================== */
#toTop { position: fixed; z-index: 40; bottom: calc(24px + var(--appbar-h)); inset-inline-end: 22px; width: 50px; height: 50px; border-radius: 50%; background: var(--surface); box-shadow: var(--shadow); display: grid; place-items: center; transform: scale(0) rotate(-180deg); transition: transform .5s var(--spring); }
#toTop.show { transform: none; }
#toTop svg { position: absolute; inset: 3px; width: 44px; height: 44px; transform: rotate(-90deg); fill: none; stroke-width: 3; }
#toTop .ring-bg { stroke: var(--line); }
#toTop .ring { stroke: var(--brand-3); stroke-linecap: round; transition: stroke-dashoffset .1s; }
#toTop:hover > i { animation: hop .6s var(--spring); }
@keyframes hop { 50% { transform: translateY(-5px); } }
#glow { position: fixed; top: -200px; left: -200px; width: 400px; height: 400px; border-radius: 50%; pointer-events: none; z-index: 1; background: radial-gradient(circle, rgba(143, 111, 209, .13), transparent 65%); opacity: 0; transition: opacity .4s; }
#glow.on { opacity: 1; }
[data-theme="dark"] #glow { background: radial-gradient(circle, rgba(143, 111, 209, .2), transparent 65%); }
#fx { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 300; }
#toast { position: fixed; z-index: 310; left: 50%; bottom: calc(30px + var(--appbar-h)); transform: translate(-50%, 150%); background: var(--text); color: var(--bg); padding: 12px 22px; border-radius: 999px; font-weight: 600; box-shadow: var(--shadow-lg); transition: transform .5s var(--spring); max-width: calc(100% - 40px); text-align: center; }
#toast.show { transform: translate(-50%, 0); }
#toast:empty { display: none; }

/* product modal */
#modal { border: 0; padding: 0; background: transparent; max-width: min(860px, calc(100% - 24px)); width: 100%; max-height: calc(100dvh - 24px); overflow: visible; color: var(--text); }
#modal::backdrop { background: rgba(15, 10, 30, .55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); animation: fadein .3s; }
#modal[open] .modal-card { animation: modalIn .55s var(--spring); }
#modal.closing .modal-card { animation: modalOut .26s var(--ease) forwards; }
#modal.closing::backdrop { opacity: 0; transition: opacity .26s; }
@keyframes fadein { from { opacity: 0; } }
@keyframes modalIn { from { opacity: 0; transform: scale(.6) translateY(40px) rotateX(18deg); } }
@keyframes modalOut { to { opacity: 0; transform: scale(.85) translateY(20px); } }
.modal-card { position: relative; display: grid; grid-template-columns: 1fr 1.15fr; background: var(--surface); border-radius: 26px; overflow: hidden; box-shadow: 0 40px 80px -20px rgba(0, 0, 0, .5); max-height: calc(100dvh - 24px); }
.m-img { margin: 0; position: relative; min-height: 260px; }
.m-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; animation: kenburns 9s linear forwards; }
.m-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(40, 25, 70, .6), transparent 60%); }
.m-ico { position: absolute; z-index: 1; bottom: 18px; inset-inline-start: 18px; width: 58px; height: 58px; border-radius: 18px; background: var(--grad); color: #fff; display: grid; place-items: center; animation: rise .5s .3s var(--spring) both; }
.m-ico .ico { width: 28px; height: 28px; }
.m-body { padding: 34px 30px; overflow-y: auto; }
.m-body h2 { font-size: 1.6rem; color: var(--brand-3); padding-inline-end: 40px; }
.m-body p { color: var(--muted); }
.m-body .checks li { padding: 9px 14px; padding-inline-start: 46px; font-size: .95rem; animation: rise .5s var(--d) var(--spring) both; }
.m-body .checks li::before { width: 22px; height: 22px; top: 10px; inset-inline-start: 12px; border-radius: 7px; }
.m-body .checks li::after { top: 14px; inset-inline-start: 20px; width: 5px; height: 10px; }
.m-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.m-close { position: absolute; z-index: 3; top: 14px; inset-inline-end: 14px; width: 40px; height: 40px; border-radius: 50%; background: var(--bg-2); display: grid; place-items: center; transition: transform .4s var(--spring); }
.m-close:hover { transform: rotate(90deg); }
body.modal-open { overflow: hidden; }

/* mobile app bar */
#appbar { display: none; }

/* ==========================================================
   Reveal animations (scroll)
   ========================================================== */
[data-reveal] { opacity: 0; transition: opacity .8s var(--ease), transform .9s var(--spring), filter .8s var(--ease), clip-path 1.1s var(--ease); transition-delay: var(--d, 0s); }
[data-reveal="up"] { transform: translateY(40px); }
[data-reveal="side"] { transform: translateX(-40px); }
[dir="rtl"] [data-reveal="side"] { transform: translateX(40px); }
[data-reveal="zoom"] { transform: scale(.85); filter: blur(6px); }
[data-reveal="flip"] { transform: perspective(900px) rotateX(-35deg) translateY(40px); transform-origin: top; }
[data-reveal="wipe"] { opacity: 1; }
[data-reveal="wipe"] img { clip-path: inset(0 0 100% 0); transform: scale(1.15); transition: clip-path 1.2s var(--ease), transform 1.6s var(--ease); }
[data-reveal].in { opacity: 1; transform: none; filter: none; }
[data-reveal="wipe"].in img { clip-path: inset(0 0 0 0); transform: none; }
[data-reveal="flip"].in { transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: opacity .8s var(--ease), transform .25s ease-out; transition-delay: var(--d, 0s), 0s; }
.prod-card[data-reveal="flip"]:not(.in) { transition: opacity .8s var(--ease), transform 1s var(--spring); }
.page-enter { animation: pageIn .6s var(--ease); }
@keyframes pageIn { from { opacity: 0; transform: translateY(14px); } }

/* easter egg shockwave */
body.shockwave #main { animation: shake .6s; }
body.shockwave::after { content: ""; position: fixed; left: 50%; top: 40px; width: 40px; height: 40px; margin: -20px; border-radius: 50%; border: 4px solid var(--brand-3); z-index: 400; pointer-events: none; animation: shock 1.1s var(--ease) forwards; }
@keyframes shock { to { transform: scale(60); opacity: 0; border-width: 1px; } }
@keyframes shake { 20% { transform: translate(-6px, 2px) rotate(-.5deg); } 40% { transform: translate(6px, -2px) rotate(.5deg); } 60% { transform: translate(-4px, 1px); } 80% { transform: translate(3px, 0); } }

/* View transitions: theme circle reveal + route crossfade */
html.vt-theme::view-transition-old(root), html.vt-theme::view-transition-new(root) { animation: none; mix-blend-mode: normal; }
::view-transition-old(root) { animation-duration: .35s; }
::view-transition-new(root) { animation-duration: .45s; }

/* ==========================================================
   Responsive
   ========================================================== */
@media (max-width: 1100px) {
  .nav-list > li > a { padding: 10px 9px; font-size: .9rem; }
  .c-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 960px) {
  :root { --appbar-h: calc(68px + env(safe-area-inset-bottom)); }
  #mainnav { display: none; }
  .burger { display: flex; }
  .nav-actions { margin-inline-start: auto; }
  .topstrip { display: none; }
  .nav-in, body.scrolled .nav-in { height: 64px; }
  .brand-logo, body.scrolled .brand-logo { height: 32px; }
  .nav-actions .install-btn { display: none !important; }
  .icon-btn { width: 38px; height: 38px; border-radius: 11px; }
  body.hide-bar:not(.drawer-open) #topbar { transform: translateY(-100%); }
  #topbar { transition: transform .4s var(--ease); }
  .navbar { padding-top: env(safe-area-inset-top); }
  #appbar {
    display: grid; grid-template-columns: repeat(5, 1fr); align-items: end; position: fixed; z-index: 48; bottom: 0; inset-inline: 0;
    height: var(--appbar-h); padding: 0 6px env(safe-area-inset-bottom);
    background: color-mix(in srgb, var(--surface) 90%, transparent); backdrop-filter: saturate(1.6) blur(16px); -webkit-backdrop-filter: saturate(1.6) blur(16px);
    border-top: 1px solid var(--line); box-shadow: 0 -8px 30px -18px rgba(0, 0, 0, .4);
  }
  #appbar > a, #appbar > button { display: grid; justify-items: center; gap: 2px; padding: 8px 0 10px; font-size: .7rem; color: var(--muted); position: relative; transition: color .3s; }
  #appbar .ico { width: 23px; height: 23px; transition: transform .4s var(--spring); }
  #appbar a.active { color: var(--brand-3); }
  #appbar a.active .ico { transform: translateY(-3px) scale(1.1); }
  #appbar a.active::before { content: ""; position: absolute; top: 0; width: 26px; height: 3px; border-radius: 0 0 3px 3px; background: var(--grad); }
  #appbar .fab { color: #fff; }
  #appbar .fab .ico { width: 58px; height: 58px; padding: 16px; border-radius: 50%; background: var(--grad); margin-top: -30px; box-shadow: 0 10px 24px -8px rgba(84, 60, 114, .8), 0 0 0 5px var(--bg); animation: breathe 3s ease-in-out infinite; }
  #appbar .fab span { color: var(--brand-3); font-weight: 600; }
  @keyframes breathe { 50% { box-shadow: 0 10px 24px -8px rgba(84, 60, 114, .8), 0 0 0 5px var(--bg), 0 0 0 12px rgba(143, 111, 209, .2); } }

  .hero { height: 72vh; min-height: 420px; }
  .hero-arrow, .scroll-cue { display: none; }
  .slide-cap { bottom: 70px; }
  .stats-in { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-inline-start: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .tiles { grid-template-columns: repeat(2, 1fr); }
  .tab-panel { grid-template-columns: 1fr; gap: 20px; padding: 18px; }
  .prod-grid { grid-template-columns: repeat(2, 1fr); }
  .with-side { grid-template-columns: 1fr; }
  .subnav { position: static; }
  .cta-in { grid-template-columns: 1fr; text-align: center; justify-items: center; padding: 34px 24px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
  .c-grid { grid-template-columns: repeat(2, 1fr); }
  .modal-card { grid-template-columns: 1fr; overflow-y: auto; }
  .m-img { min-height: 200px; }
  .m-body { overflow: visible; }
  #glow { display: none; }
}
@media (max-width: 600px) {
  body { font-size: 15.5px; }
  .prod-grid, .duo, .promise-grid, .foot-grid { grid-template-columns: 1fr; }
  .tile { padding: 18px 8px; font-size: .9rem; }
  .tile-ico { width: 40px; height: 40px; }
  .c-grid { grid-template-columns: 1fr 1fr; }
  .c-card:first-child { grid-column: 1 / -1; }
  .map-big { height: 320px; }
  .client.big { height: 120px; }
  .cta-btns { justify-content: center; }
  .dots { bottom: 22px; }
  #modal { max-width: 100%; margin: auto 0 0; max-height: 92dvh; }
  .modal-card { border-radius: 26px 26px 0 0; max-height: 92dvh; }
  @keyframes modalIn { from { transform: translateY(100%); } }
}

/* Reduced motion: keep it calm */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  [data-reveal], [data-reveal] img { opacity: 1; transform: none; filter: none; clip-path: none; }
  .w > span { transform: none; }
  .marquee-track { animation: none; }
}

@media print {
  #topbar, #appbar, #toTop, #footer iframe, .hero, #fx, #glow, .cta { display: none !important; }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
}
