/* ==========================================================================
   Soom International · design system (brand red from the official logo)
   Tokens mirror the Figma variables (Primitives, Color Light/Dark, Spacing, Motion)
   ========================================================================== */

/* ---------- Primitives ---------- */
:root {
  --ink-950: #07090C; --ink-900: #0D1117; --ink-850: #131A22; --ink-800: #1B232D; --ink-700: #2A3440;
  --ink-600: #3D4A58; --ink-500: #5B6878; --ink-400: #8492A3; --ink-300: #B4BDC8;
  --sand-50: #FBF8F2; --sand-100: #F4EFE5; --sand-200: #E9E1D2; --sand-300: #D9CDB8; --sand-400: #BFAF93;
  /* Brand red, taken from the Soom International logo (#F2304D) */
  --red-50: #FFF0F2; --red-300: #FF9AAA; --red-400: #FF4D66; --red-500: #F2304D; --red-600: #D21C3A; --red-700: #A8122B; --red-950: #2B0A10;
  --gulf-50: #E6FAF7; --gulf-300: #6FE3D6; --gulf-400: #2CCFBE; --gulf-500: #00B3A4; --gulf-600: #008F84; --gulf-700: #006B63; --gulf-950: #04231F;
  --white: #FFFFFF;

  /* Type */
  --font-display: "Bricolage Grotesque", ui-sans-serif, system-ui, sans-serif;
  --font-serif: "Instrument Serif", ui-serif, Georgia, serif;
  --font-body: "Hanken Grotesk", ui-sans-serif, system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --font-ar: "Readex Pro", "Hanken Grotesk", sans-serif;

  /* Space + shape */
  --space-2xs: 2px; --space-xs: 4px; --space-sm: 8px; --space-md: 12px; --space-base: 16px;
  --space-lg: 24px; --space-xl: 32px; --space-2xl: 48px; --space-3xl: 64px; --space-4xl: 96px; --space-5xl: 128px;
  --radius-xs: 4px; --radius-sm: 8px; --radius-md: 14px; --radius-lg: 22px; --radius-xl: 32px; --radius-full: 999px;

  /* Motion */
  --duration-instant: 100ms; --duration-quick: 180ms; --duration-base: 280ms; --duration-slow: 480ms; --duration-cinematic: 800ms;
  --ease-out-soft: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-standard: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-in: cubic-bezier(0.55, 0, 1, 0.45);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Layout */
  --px: clamp(20px, 5.5vw, 80px);
  --section-y: clamp(64px, 8vw, 112px);
  --max: 1280px;
}

/* ---------- Semantic: Light ----------
   Applies to the page in light mode, inverted areas in dark mode, and forced-light areas. */
[data-theme="light"],
[data-theme="dark"] .invert,
[data-theme="dark"] .card:hover,
[data-theme="dark"] .card:focus-visible,
.force-light {
  --bg-canvas: var(--sand-50); --bg-surface: var(--white); --bg-raised: var(--sand-100); --bg-inverse: var(--ink-900);
  --bg-brand: var(--red-500); --bg-brand-hover: var(--red-400); --bg-brand-subtle: var(--red-50);
  --bg-accent: var(--gulf-500); --bg-accent-subtle: var(--gulf-50);
  --text-primary: var(--ink-900); --text-secondary: var(--ink-600); --text-tertiary: var(--ink-500); --text-inverse: var(--sand-50);
  --text-brand: var(--red-600); --text-accent: var(--gulf-700); --text-on-brand: var(--ink-950);
  --border-subtle: var(--sand-200); --border-default: var(--sand-300); --border-strong: var(--ink-900); --border-focus: var(--gulf-500);
  --icon-primary: var(--ink-900); --icon-secondary: var(--ink-500); --icon-brand: var(--red-500);
  --logo-ink: var(--ink-900); --logo-red: var(--red-500);
  --shadow-1: 0 1px 2px rgb(13 17 23 / .06), 0 4px 12px -2px rgb(13 17 23 / .06);
  --shadow-2: 0 2px 4px rgb(13 17 23 / .08), 0 16px 40px -8px rgb(13 17 23 / .12);
  color-scheme: light;
}

/* ---------- Semantic: Dark ---------- */
[data-theme="dark"],
[data-theme="light"] .invert,
[data-theme="light"] .card:hover,
[data-theme="light"] .card:focus-visible,
.force-dark {
  --bg-canvas: var(--ink-950); --bg-surface: var(--ink-900); --bg-raised: var(--ink-850); --bg-inverse: var(--sand-100);
  --bg-brand: var(--red-500); --bg-brand-hover: var(--red-400); --bg-brand-subtle: var(--red-950);
  --bg-accent: var(--gulf-400); --bg-accent-subtle: var(--gulf-950);
  --text-primary: var(--sand-50); --text-secondary: var(--ink-300); --text-tertiary: var(--ink-400); --text-inverse: var(--ink-900);
  --text-brand: var(--red-400); --text-accent: var(--gulf-300); --text-on-brand: var(--ink-950);
  --border-subtle: var(--ink-800); --border-default: var(--ink-700); --border-strong: var(--sand-100); --border-focus: var(--gulf-400);
  --icon-primary: var(--sand-50); --icon-secondary: var(--ink-400); --icon-brand: var(--red-400);
  --logo-ink: var(--sand-50); --logo-red: var(--red-400);
  --shadow-1: 0 1px 2px rgb(0 0 0 / .3), 0 4px 12px -2px rgb(0 0 0 / .3);
  --shadow-2: 0 2px 4px rgb(0 0 0 / .3), 0 16px 40px -8px rgb(0 0 0 / .5);
  color-scheme: dark;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0; min-height: 100vh;
  font-family: var(--font-body); font-size: 16px; line-height: 1.625;
  color: var(--text-primary); background: var(--bg-canvas);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  transition: background-color var(--duration-base) var(--ease-standard), color var(--duration-base) var(--ease-standard);
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
ul, ol { margin: 0; padding: 0; list-style: none; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-weight: inherit; }
:focus-visible { outline: 2px solid var(--border-focus); outline-offset: 3px; border-radius: 10px; }
::selection { background: var(--red-500); color: var(--ink-950); }

[hidden] { display: none !important; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.skip-link {
  position: fixed; left: 16px; top: -60px; z-index: 100;
  padding: 10px 16px; border-radius: var(--radius-full);
  background: var(--bg-inverse); color: var(--text-inverse); font-weight: 600;
  transition: top var(--duration-quick) var(--ease-out-soft);
}
.skip-link:focus { top: 16px; }

.container { width: 100%; max-width: calc(var(--max) + var(--px) * 2); margin-inline: auto; padding-inline: var(--px); }
.ic { width: 24px; height: 24px; flex: none; color: var(--icon-primary); }
.muted { color: var(--text-secondary); }

/* ---------- Typography ---------- */
.overline {
  font-family: var(--font-mono); font-weight: 500; font-size: 12px; line-height: 16px;
  letter-spacing: .08em; text-transform: uppercase; color: var(--text-brand);
}
.overline--muted { color: var(--text-tertiary); }
.h1 {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(36px, 4.4vw, 56px); line-height: 1.08; letter-spacing: -0.025em;
  text-wrap: balance;
}
.h3 {
  display: block; font-family: var(--font-display); font-weight: 600;
  font-size: clamp(22px, 2vw, 28px); line-height: 1.22; letter-spacing: -0.01em;
}
.accent {
  font-family: var(--font-serif); font-style: italic; font-weight: 400;
  font-size: 1.14em; letter-spacing: -0.01em; color: var(--text-brand);
}
.lead { font-size: clamp(16px, 1.35vw, 19px); line-height: 1.6; color: var(--text-secondary); }

/* ---------- Tag ---------- */
.tag {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px; border-radius: var(--radius-full);
  font-family: var(--font-mono); font-weight: 500; font-size: 12px; line-height: 16px;
  letter-spacing: .08em; text-transform: uppercase; white-space: nowrap;
  background: var(--bg-raised); color: var(--text-secondary);
}
.tag::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--icon-secondary); flex: none; }
.tag--brand { background: var(--bg-brand-subtle); color: var(--text-brand); }
.tag--brand::before { background: var(--bg-brand); }
.tag--accent { background: var(--bg-accent-subtle); color: var(--text-accent); }
.tag--accent::before { background: var(--bg-accent); }
.tag--live::before { animation: live 2s var(--ease-standard) infinite; }
@keyframes live {
  0%, 100% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--bg-accent) 60%, transparent); }
  50% { box-shadow: 0 0 0 5px color-mix(in srgb, var(--bg-accent) 0%, transparent); }
}

/* ---------- Buttons ---------- */
.btn {
  --chip-bg: var(--ink-950); --chip-fg: var(--sand-50);
  display: inline-flex; align-items: center; gap: 0;
  padding: 8px; border-radius: var(--radius-full);
  font-family: var(--font-body); font-weight: 600; font-size: 16px; line-height: 20px; white-space: nowrap;
  transition: background-color var(--duration-quick) var(--ease-standard), color var(--duration-quick) var(--ease-standard),
              box-shadow var(--duration-quick) var(--ease-standard), transform var(--duration-instant) var(--ease-standard);
}
.btn__label { padding-inline: 20px 18px; }
.btn__chip {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: var(--chip-bg); color: var(--chip-fg);
  transition: background-color var(--duration-quick) var(--ease-standard);
}
.btn__chip .ic { width: 20px; height: 20px; color: var(--chip-fg); transition: transform var(--duration-quick) var(--ease-spring); }
.btn:hover .btn__chip .ic { transform: rotate(45deg); }
.btn--fwd:hover .btn__chip .ic { transform: translateX(3px); }
.btn:active { transform: scale(.97); }
.btn--md { padding: 4px; font-size: 14px; line-height: 18px; }
.btn--md .btn__label { padding-inline: 16px 14px; }
.btn--md .btn__chip { width: 36px; height: 36px; }
.btn--md .btn__chip .ic { width: 18px; height: 18px; }
.btn--block { width: 100%; justify-content: space-between; }

.btn--primary { background: var(--bg-brand); color: var(--text-on-brand); }
.btn--primary:hover { background: var(--bg-brand-hover); box-shadow: 0 12px 40px -6px rgb(242 48 77 / .45); }
.btn--secondary { background: var(--bg-inverse); color: var(--text-inverse); --chip-bg: var(--red-500); --chip-fg: var(--ink-950); }
.btn--secondary:hover { background: var(--ink-950); color: var(--sand-50); --chip-bg: var(--sand-50); --chip-fg: var(--ink-950); }
.btn--ghost { color: var(--text-primary); box-shadow: inset 0 0 0 1.5px var(--border-strong); --chip-bg: var(--red-500); --chip-fg: var(--ink-950); }
.btn--ghost:hover { background: var(--bg-raised); }

.icon-btn {
  display: grid; place-items: center; width: 44px; height: 44px; flex: none;
  border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--border-default);
  transition: box-shadow var(--duration-quick) var(--ease-standard), background-color var(--duration-quick) var(--ease-standard);
}
.icon-btn:hover { box-shadow: inset 0 0 0 1.5px var(--border-strong); background: var(--bg-raised); }
.icon-btn .ic { width: 20px; height: 20px; }
[data-theme="light"] .i-sun, [data-theme="dark"] .i-moon { display: none; }
[data-theme-toggle]:hover .ic { animation: nudge var(--duration-base) var(--ease-spring); }
@keyframes nudge { 50% { transform: rotate(-18deg) scale(.92); } }

/* ---------- Logo (official Soom International FZ-LLC mark) ---------- */
.logo { display: inline-flex; align-items: center; flex: none; }
.logo__svg { display: block; height: 40px; width: auto; aspect-ratio: 1201.27 / 317.23; overflow: visible; }
.logo__svg * { transition: fill var(--duration-base) var(--ease-standard), stroke var(--duration-base) var(--ease-standard); }
.logo:hover .logo__svg { animation: logo-nudge 600ms var(--ease-spring); }
@keyframes logo-nudge { 40% { transform: translateY(-2px); } }
.menu__top .logo__svg { height: 36px; }
.footer__brand .logo__svg { height: 48px; }
@media (max-width: 599px) { .nav .logo__svg { height: 34px; } }

/* ---------- Header / Nav (full-width, square) ---------- */
.site-header { position: sticky; top: -37px; z-index: 50; }
.topbar { background: var(--bg-canvas); color: var(--text-secondary); border-bottom: 1px solid var(--border-subtle); }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 36px; font-size: 13px; line-height: 16px; }
.topbar__group { display: flex; align-items: center; gap: 24px; min-width: 0; }
.topbar__item { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.topbar__item .ic { width: 14px; height: 14px; color: var(--icon-secondary); }
a.topbar__item { color: var(--text-primary); transition: color var(--duration-instant); }
a.topbar__item:hover { color: var(--text-brand); }
.topbar .lang { font-size: 13px; }
@media (max-width: 1199px) { .topbar__hours, .topbar__mail { display: none; } }
@media (max-width: 767px) { .site-header { top: 0; } .topbar { display: none; } }

.navbar {
  background: color-mix(in srgb, var(--bg-surface) 88%, transparent);
  -webkit-backdrop-filter: blur(20px) saturate(1.4); backdrop-filter: blur(20px) saturate(1.4);
  border-bottom: 1px solid var(--border-subtle);
  transition: box-shadow var(--duration-base) var(--ease-standard), background-color var(--duration-base) var(--ease-standard);
}
.is-scrolled .navbar { box-shadow: var(--shadow-2); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 76px; }
.nav__links { display: flex; align-self: stretch; gap: clamp(20px, 2.6vw, 36px); }
.nav__links li { display: flex; }
.nav__links > li > a {
  position: relative; display: flex; align-items: center;
  font-weight: 600; font-size: 14px; line-height: 18px; color: var(--text-secondary);
  transition: color var(--duration-instant) var(--ease-standard);
}
.nav__links > li > a::after {
  content: ""; position: absolute; inset-inline-start: 0; inset-inline-end: 0; bottom: -1px; height: 2px;
  background: var(--bg-brand); transform: scaleX(0); transform-origin: left;
  transition: transform var(--duration-base) var(--ease-out-soft);
}
.nav__links > li > a:hover, .nav__links > li > a.is-current { color: var(--text-primary); }
.nav__links > li > a:hover::after, .nav__links > li > a.is-current::after { transform: scaleX(1); }
.nav__actions { display: flex; align-items: center; gap: 10px; }
.site-header .icon-btn, .menu__top .icon-btn { border-radius: 10px; }
.nav-cta {
  display: inline-flex; align-items: center; gap: 10px; height: 44px; padding: 0 14px 0 18px; border-radius: 10px;
  background: var(--bg-brand); color: var(--text-on-brand); font-weight: 600; font-size: 14px; line-height: 18px; white-space: nowrap;
  transition: background-color var(--duration-quick) var(--ease-standard), box-shadow var(--duration-quick) var(--ease-standard), transform var(--duration-instant);
}
.nav-cta .ic { width: 18px; height: 18px; color: var(--ink-950); transition: transform var(--duration-quick) var(--ease-spring); }
.nav-cta:hover { background: var(--bg-brand-hover); box-shadow: 0 10px 28px -8px rgb(242 48 77 / .5); }
.nav-cta:hover .ic { transform: rotate(45deg); }
.nav-cta:active { transform: scale(.97); }
@media (min-width: 1024px) { .menu-btn { display: none; } }
@media (max-width: 1023px) {
  .nav__links, .nav__cta { display: none; }
  .nav { height: 64px; }
  .site-header .icon-btn { width: 40px; height: 40px; }
}
@media (max-width: 599px) { .nav .logo__svg { height: 34px; } }

/* ---------- Mobile menu ---------- */
.menu {
  position: fixed; inset: 0; z-index: 60; display: flex; flex-direction: column;
  padding: 12px var(--px) 32px; background: var(--bg-canvas);
  opacity: 0; visibility: hidden;
  transition: opacity var(--duration-base) var(--ease-standard), visibility 0s linear var(--duration-base);
}
.menu.is-open { opacity: 1; visibility: visible; transition-delay: 0s; }
.menu__top { display: flex; justify-content: space-between; align-items: center; height: 64px; }
.menu__links { margin-top: 32px; flex: 1; }
.menu__links a {
  display: block; padding: 12px 0; border-bottom: 1px solid var(--border-subtle);
  font-family: var(--font-display); font-weight: 700; font-size: clamp(36px, 9vw, 56px); line-height: 1.1; letter-spacing: -0.03em;
  opacity: 0; transform: translateY(24px);
  transition: opacity var(--duration-slow) var(--ease-out-soft), transform var(--duration-slow) var(--ease-out-soft), color var(--duration-instant);
}
.menu__links a:hover { color: var(--text-brand); }
.menu.is-open .menu__links a { opacity: 1; transform: none; transition-delay: calc(var(--i) * 50ms + 80ms); }
.menu__foot { display: grid; gap: 16px; }
.menu__meta { font-family: var(--font-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--text-tertiary); text-align: center; }

/* ---------- Hero (animated) ---------- */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.hero { position: relative; isolation: isolate; overflow: hidden; padding-top: clamp(40px, 6vw, 80px); padding-bottom: clamp(64px, 8vw, 120px); }
.hero__inner { display: grid; gap: clamp(40px, 5vw, 56px); align-items: center; }
@media (min-width: 1100px) { .hero__inner { grid-template-columns: minmax(0, 640px) minmax(0, 1fr); gap: 32px; } }

/* background: drifting blobs, fading grid, cursor spotlight */
.hero__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero__blob { position: absolute; border-radius: 50%; filter: blur(90px); will-change: transform; }
.hero__blob--1 { width: 620px; height: 620px; inset-inline-end: -120px; top: -220px; background: var(--red-500); opacity: .2; animation: drift-a 22s ease-in-out infinite alternate; }
.hero__blob--2 { width: 420px; height: 420px; inset-inline-start: 38%; bottom: -160px; background: var(--gulf-400); opacity: .14; animation: drift-b 26s ease-in-out infinite alternate; }
.hero__blob--3 { width: 360px; height: 360px; inset-inline-start: -140px; top: 30%; background: var(--red-400); opacity: .08; animation: drift-a 30s ease-in-out infinite alternate-reverse; }
[data-theme="dark"] .hero__blob--1 { opacity: .24; }
[data-theme="dark"] .hero__blob--2 { opacity: .12; }
@keyframes drift-a { 0% { transform: translate(0, 0) scale(1); } 50% { transform: translate(-60px, 40px) scale(1.08); } 100% { transform: translate(30px, 80px) scale(.95); } }
@keyframes drift-b { 0% { transform: translate(0, 0) scale(1); } 100% { transform: translate(80px, -60px) scale(1.12); } }
.hero__grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(var(--border-subtle) 1px, transparent 1px), linear-gradient(90deg, var(--border-subtle) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 60% 70% at 72% 40%, #000 25%, transparent 75%);
  mask-image: radial-gradient(ellipse 60% 70% at 72% 40%, #000 25%, transparent 75%);
  animation: grid-pan 40s linear infinite;
}
@keyframes grid-pan { to { background-position: 56px 56px, 56px 56px; } }
.hero__spot {
  position: absolute; inset: 0; opacity: 0; transition: opacity var(--duration-slow) var(--ease-standard);
  background: radial-gradient(420px circle at var(--mx, 70%) var(--my, 40%), rgb(242 48 77 / .12), transparent 65%);
}
.hero.is-pointer .hero__spot { opacity: 1; }

/* copy */
.hero__copy { display: grid; gap: 28px; align-content: center; }
.hero__tags { display: flex; flex-wrap: wrap; gap: 10px; }
.hero__title {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(46px, 6.1vw, 86px); line-height: .98; letter-spacing: -0.035em;
}
.w { display: inline-block; overflow: hidden; vertical-align: top; padding: 0 .06em .12em 0; margin: 0 -.06em -.12em 0; }
.w__in { display: inline-block; }
.js .w__in { transform: translateY(110%); transition: transform var(--duration-cinematic) var(--ease-out-soft); transition-delay: calc(var(--i) * 80ms + 120ms); }
.is-ready .w__in { transform: none; }
.w--accent { padding-bottom: .16em; margin-bottom: -.16em; }
.hero__title .accent { font-size: 1.3em; line-height: 1; letter-spacing: -0.015em; }

/* rotating accent word */
.rotator { position: relative; display: inline-grid; vertical-align: bottom; overflow: hidden; padding: 0 .08em .14em 0; transition: width 600ms var(--ease-out-soft); }
.rotator__word { grid-area: 1 / 1; white-space: nowrap; transition: transform 700ms var(--ease-out-soft), opacity 500ms var(--ease-standard); }
.rotator__word.is-enter { transform: translateY(105%); opacity: 0; }
.rotator__word.is-leave { transform: translateY(-105%); opacity: 0; }
.rotator::after {
  content: ""; position: absolute; inset-inline-start: .02em; inset-inline-end: .14em; bottom: .1em; height: max(2px, .025em); border-radius: 2px;
  background: var(--bg-brand); transform: scaleX(0); transform-origin: left; transition: transform 700ms var(--ease-out-soft) 900ms;
}
.is-ready .rotator::after, html:not(.js) .rotator::after { transform: scaleX(1); }
.rotator.is-swapping::after { transform: scaleX(0); transition-delay: 0s; transition-duration: 300ms; }

.hero__lead { max-width: 560px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; }
[data-magnetic] { transition: translate 300ms var(--ease-out-soft), background-color var(--duration-quick) var(--ease-standard), color var(--duration-quick) var(--ease-standard), box-shadow var(--duration-quick) var(--ease-standard), transform var(--duration-instant) var(--ease-standard); }
.live-strip { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 0; padding-top: 16px; border-top: 1px solid var(--border-subtle); font-size: 14px; line-height: 20px; color: var(--text-secondary); }
.live-strip li { display: inline-flex; align-items: center; gap: 8px; padding-inline-end: 18px; margin-inline-end: 18px; border-inline-end: 1px solid var(--border-default); }
.live-strip li:last-child { border-inline-end: 0; margin-inline-end: 0; padding-inline-end: 0; }
.live-strip .ic { width: 16px; height: 16px; color: var(--icon-secondary); }
[data-clock] { font-variant-numeric: tabular-nums; }
.live-dot { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--bg-accent); flex: none; }
.live-dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--bg-accent); animation: ping 1.8s var(--ease-standard) infinite; }
@keyframes ping { 0% { transform: scale(1); opacity: .6; } 100% { transform: scale(2.8); opacity: 0; } }
@media (max-width: 599px) {
  .hero__ctas .btn { width: 100%; justify-content: space-between; }
  .live-strip { display: grid; gap: 10px; }
  .live-strip li { border-inline-end: 0; margin-inline-end: 0; padding-inline-end: 0; }
}

/* orbit visual */
.orbit { position: relative; width: 100%; max-width: 640px; aspect-ratio: 1; justify-self: center; perspective: 1400px; container-type: inline-size; }
@media (min-width: 1100px) { .orbit { justify-self: end; } }
.orbit__stage { position: absolute; inset: 0; transform-style: preserve-3d; transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); }
.orbit__ring {
  position: absolute; left: 50%; top: 50%; width: calc(var(--r) * 2 / 640 * 100%); aspect-ratio: 1; translate: -50% -50%;
  border-radius: 50%; border: 1.25px dashed var(--border-default);
  animation: spin var(--dur) linear infinite; animation-direction: var(--dir);
}
@keyframes spin { to { rotate: 360deg; } }
.orbit__comet {
  position: absolute; inset: -2px; border-radius: 50%;
  background: conic-gradient(from 0deg, transparent 0 70%, var(--bg-brand) 100%);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 2.5px), #000 calc(100% - 2px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 2.5px), #000 calc(100% - 2px));
  animation: spin 7s linear infinite;
}
.orbit__comet::after { content: ""; position: absolute; left: 50%; top: 0; width: 7px; height: 7px; translate: -50% -2px; border-radius: 50%; background: var(--bg-brand); box-shadow: 0 0 12px 2px rgb(242 48 77 / .7); }
.orbit__comet--slow { animation-duration: 11s; animation-direction: reverse; }
.orbit__comet--slower { animation-duration: 15s; }
.orbit__node {
  position: absolute; left: 50%; top: 50%;
  transform: translate(-50%, -50%) rotate(var(--a)) translateX(calc(var(--r) * 100cqw / 640)) rotate(calc(-1 * var(--a)));
}
.orbit__pill {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 6px; border-radius: 999px; white-space: nowrap;
  background: var(--bg-surface); box-shadow: inset 0 0 0 1px var(--border-subtle), var(--shadow-1);
  font-weight: 600; font-size: clamp(11px, 2.1cqw, 14px); line-height: 18px; color: var(--text-primary);
  animation: spin var(--dur) linear infinite; animation-direction: var(--rdir);
  transition: box-shadow var(--duration-base) var(--ease-standard), scale var(--duration-base) var(--ease-spring);
}
.orbit__node:hover .orbit__pill { box-shadow: inset 0 0 0 1.5px var(--bg-brand), var(--shadow-2); scale: 1.06; }
.orbit__ic { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--bg-brand-subtle); }
.orbit__ic .ic { width: 18px; height: 18px; }
.orbit:hover .orbit__ring, .orbit:hover .orbit__pill, .orbit:hover .orbit__comet { animation-play-state: paused; }
.orbit__hub {
  position: absolute; left: 50%; top: 50%; width: calc(124 / 640 * 100%); aspect-ratio: 124 / 150; translate: -50% -54%;
  background: var(--red-500); border-radius: 50% 50% 18% 18% / 41% 41% 15% 15%;
  box-shadow: 0 16px 50px -8px rgb(242 48 77 / .55); transform: translateZ(40px);
}
.orbit__stripe { position: absolute; inset-inline-start: 25%; width: 50%; top: 17%; height: 3.3%; border-radius: 4px; background: rgb(255 255 255 / .4); }
.orbit__stripe--2 { top: 24%; height: 2%; }
.orbit__core { position: absolute; left: 50%; bottom: 10.5%; width: 58%; aspect-ratio: 1; translate: -50% 0; display: grid; place-items: center; border-radius: 50%; background: var(--ink-950); }
.orbit__core .ic { width: 52%; height: 52%; --icon-brand: var(--red-400); animation: twinkle-loop 4s var(--ease-standard) infinite; }
@keyframes twinkle-loop { 0%, 80%, 100% { transform: none; } 88% { transform: scale(.78) rotate(-25deg); } }
.orbit__pulses span {
  position: absolute; left: 50%; top: 50%; width: 30%; aspect-ratio: 1; translate: -50% -50%; border-radius: 50%;
  border: 1.5px solid var(--bg-brand); opacity: 0; animation: pulse-wave 3.6s var(--ease-standard) infinite;
}
.orbit__pulses span:nth-child(2) { animation-delay: 1.2s; }
.orbit__pulses span:nth-child(3) { animation-delay: 2.4s; }
@keyframes pulse-wave { 0% { scale: .7; opacity: .5; } 100% { scale: 2.3; opacity: 0; } }

/* floating cards */
.float-card {
  position: absolute; display: flex; gap: 12px; align-items: center; padding: 14px 18px 14px 14px; border-radius: 20px;
  background: var(--bg-surface); color: var(--text-primary); box-shadow: inset 0 0 0 1px var(--border-subtle), var(--shadow-2);
  transform: translateZ(70px); animation: float 6s ease-in-out infinite;
}
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }
.float-card--health { display: grid; gap: 6px; width: min(230px, 40cqw); inset-inline-start: -10%; top: 0; padding: 16px 18px; animation-delay: -1s; }
.float-card--tickets { inset-inline-end: -2%; bottom: 14%; animation-delay: -3s; }
.float-card--enquiry { inset-inline-start: -4%; bottom: 2%; animation-delay: -4.5s; }
.float-card__row { display: flex; justify-content: space-between; align-items: center; }
.float-card__k { font-family: var(--font-mono); font-weight: 500; font-size: 11px; line-height: 16px; letter-spacing: .08em; text-transform: uppercase; color: var(--text-tertiary); }
.float-card__k--plain { display: block; font-family: var(--font-body); font-size: 13px; letter-spacing: 0; text-transform: none; color: var(--text-secondary); }
.float-card__big { font-family: var(--font-display); font-weight: 700; font-size: clamp(24px, 5.6cqw, 36px); line-height: 1.05; letter-spacing: -0.02em; }
.float-card__title { display: block; font-weight: 600; font-size: 14px; line-height: 18px; }
.float-card__tile { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--bg-brand-subtle); flex: none; }
.float-card__tile .ic { width: 22px; height: 22px; }
.float-card__num { display: flex; align-items: center; gap: 8px; font-family: var(--font-display); font-weight: 700; font-size: 24px; line-height: 1.2; font-variant-numeric: tabular-nums; }
.float-card__num [data-ticker].is-bump { animation: bump 500ms var(--ease-spring); }
@keyframes bump { 40% { transform: translateY(-4px); color: var(--text-brand); } }
.float-card__delta { font-size: 11px; padding: 3px 8px; }
.float-card__delta::before { display: none; }
.sparkline { width: 100%; height: 40px; overflow: visible; }
.sparkline__line { fill: none; stroke: var(--gulf-400); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 4s var(--ease-out-soft) infinite; vector-effect: non-scaling-stroke; }
.sparkline__area { opacity: 0; animation: area 4s var(--ease-standard) infinite; }
@keyframes draw { 0% { stroke-dashoffset: 1; } 45%, 85% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 0; opacity: 0; } }
@keyframes area { 0%, 30% { opacity: 0; } 50%, 85% { opacity: 1; } 100% { opacity: 0; } }
@media (max-width: 599px) {
  .orbit__label { display: none; }
  .orbit__pill { padding: 4px; }
  .orbit__ic { width: 30px; height: 30px; }
  .float-card--enquiry { display: none; }
  .float-card--health { inset-inline-start: -2%; top: -2%; padding: 12px 14px; }
  .float-card--tickets { inset-inline-end: -2%; bottom: -2%; padding: 10px 14px 10px 10px; }
  .float-card--tickets .float-card__tile { width: 34px; height: 34px; }
  .float-card__num { font-size: 18px; }
  .sparkline { display: none; }
}

/* scroll cue */
.scroll-cue { position: absolute; inset-inline-start: max(var(--px), calc((100vw - var(--max)) / 2)); bottom: 28px; display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--text-tertiary); }
.scroll-cue__mouse { width: 18px; height: 28px; border-radius: 9px; box-shadow: inset 0 0 0 1.5px var(--border-default); display: grid; justify-items: center; padding-top: 5px; }
.scroll-cue__mouse span { width: 2px; height: 6px; border-radius: 1px; background: var(--bg-brand); animation: wheel 1.8s var(--ease-standard) infinite; }
@keyframes wheel { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(8px); opacity: 0; } 100% { opacity: 0; } }
@media (max-width: 1099px) { .scroll-cue { display: none; } }

/* ---------- Industries marquee ---------- */
.industries {
  position: relative; overflow: hidden;
  padding-block: clamp(32px, 4vw, 44px);
  border-block: 1px solid var(--border-subtle);
}
.industries .overline { margin-bottom: clamp(16px, 2vw, 24px); }
.marquee {
  --gap: clamp(14px, 2vw, 28px);
  display: flex; overflow: hidden; user-select: none;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}
.marquee__track {
  display: flex; align-items: center; gap: var(--gap); padding-inline-end: var(--gap); flex: none;
  animation: marquee 48s linear infinite;
}
.marquee--reverse .marquee__track { animation-direction: reverse; animation-duration: 56s; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-100%); } }
.marquee__item {
  font-family: var(--font-display); font-weight: 700; white-space: nowrap;
  font-size: clamp(20px, 2.8vw, 40px); line-height: 1.2; letter-spacing: -0.02em; color: var(--text-primary);
}
.marquee__item.is-muted { color: var(--text-tertiary); }
.marquee__sep .ic { width: clamp(16px, 2vw, 28px); height: clamp(16px, 2vw, 28px); }
.marquee--reverse { display: none; margin-top: 12px; }
@media (max-width: 767px) { .marquee--reverse { display: flex; } }

/* Signal line: a brand red packet travelling along a divider */
.signal {
  position: absolute; left: 0; top: -1px; width: 180px; height: 2px; z-index: 1; pointer-events: none;
  background: linear-gradient(90deg, transparent, var(--bg-brand)); border-radius: 2px; opacity: 0;
}
.signal::after { content: ""; position: absolute; right: -3px; top: -3px; width: 8px; height: 8px; border-radius: 50%; background: var(--bg-brand); }
.is-live > .signal { animation: signal 4.2s var(--ease-standard) infinite; }
@keyframes signal {
  0% { transform: translateX(-200px); opacity: 0; }
  10% { opacity: 1; }
  70% { opacity: 1; }
  80%, 100% { transform: translateX(calc(100vw + 20px)); opacity: 0; }
}

/* ---------- Sections ---------- */
.section { padding-block: var(--section-y); }
.section-head { display: grid; gap: 24px; margin-bottom: clamp(36px, 4vw, 56px); }
.section-head__main { display: grid; gap: 16px; }
.section-head__side { display: grid; gap: 20px; justify-items: start; }
@media (min-width: 1024px) {
  .section-head { grid-template-columns: minmax(0, 720px) minmax(0, 400px); justify-content: space-between; align-items: end; }
}
.section-head--single { grid-template-columns: 1fr; gap: 16px; }

/* ---------- Service cards ---------- */
.cards { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 700px) { .cards { grid-template-columns: repeat(2, 1fr); gap: 20px; } }
@media (min-width: 1100px) { .cards { grid-template-columns: repeat(3, 1fr); } }
.card {
  display: flex; flex-direction: column; gap: clamp(32px, 3.4vw, 48px);
  padding: clamp(24px, 2.4vw, 32px); border-radius: var(--radius-lg);
  background: var(--bg-surface); color: var(--text-primary);
  box-shadow: inset 0 0 0 1px var(--border-subtle);
  transition: background-color var(--duration-base) var(--ease-out-soft), color var(--duration-base) var(--ease-out-soft),
              box-shadow var(--duration-base) var(--ease-out-soft), translate var(--duration-base) var(--ease-out-soft),
              opacity var(--duration-slow) var(--ease-out-soft);
}
.card:hover, .card:focus-visible { translate: 0 -4px; box-shadow: inset 0 0 0 1.5px var(--bg-brand), 0 24px 48px -18px rgb(7 9 12 / .4); outline: none; }
.card__top { display: flex; justify-content: space-between; align-items: flex-start; }
.card__tile {
  display: grid; place-items: center; width: 56px; height: 56px; border-radius: var(--radius-md);
  background: var(--bg-brand-subtle); transition: background-color var(--duration-base) var(--ease-out-soft);
}
.card__tile .ic { width: 28px; height: 28px; transition: color var(--duration-base); }
.card:hover .card__tile { background: var(--red-500); }
.card:hover .card__tile .ic { color: var(--ink-950); --icon-brand: var(--ink-950); }
.card__num { font-family: var(--font-mono); font-size: 12px; letter-spacing: .08em; color: var(--text-tertiary); }
.card__body { display: grid; gap: 12px; }
.card__text { color: var(--text-secondary); transition: color var(--duration-base); }
.card__link { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; font-weight: 600; font-size: 14px; line-height: 18px; transition: color var(--duration-base); }
.card__link .ic { width: 18px; height: 18px; transition: transform var(--duration-quick) var(--ease-spring); }
.card:hover .card__link { color: var(--text-brand); }
.card:hover .card__link .ic { transform: rotate(45deg); color: var(--text-brand); }

/* ---------- Numbers band ---------- */
.band { background: var(--bg-canvas); color: var(--text-primary); padding-block: clamp(56px, 7vw, 96px); transition: background-color var(--duration-base) var(--ease-standard); }
.band__head { display: flex; align-items: center; gap: 12px; margin-bottom: clamp(28px, 3vw, 40px); }
.band__head .ic { width: 22px; height: 22px; }
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px 16px; }
@media (min-width: 1024px) { .stats { grid-template-columns: repeat(4, 1fr); gap: 24px; } }
.stat { border-top: 1px solid var(--border-default); padding-top: clamp(16px, 2vw, 24px); }
@media (min-width: 1024px) { .stat { padding-inline-start: 24px; } }
.stat__value {
  font-family: var(--font-display); font-weight: 800; font-variant-numeric: tabular-nums;
  font-size: clamp(30px, 5.4vw, 80px); line-height: 1; letter-spacing: -0.035em; white-space: nowrap;
}
.stat__label { margin-top: 12px; font-size: 14px; line-height: 22px; color: var(--text-secondary); }

/* ---------- Process ---------- */
.steps { display: grid; gap: 12px; grid-template-columns: 1fr; counter-reset: step; }
@media (min-width: 600px) { .steps { grid-template-columns: repeat(2, 1fr); gap: 16px; } }
@media (min-width: 1100px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step {
  position: relative; display: grid; gap: 12px; align-content: start;
  padding: 24px 24px 28px; border-radius: var(--radius-lg); background: var(--bg-raised); overflow: hidden;
  transition: background-color var(--duration-base) var(--ease-out-soft), opacity var(--duration-slow) var(--ease-out-soft), translate var(--duration-slow) var(--ease-out-soft);
}
.step .overline { color: var(--text-tertiary); transition: color var(--duration-base); }
.step p:last-child { color: var(--text-secondary); }
.step::after {
  content: ""; position: absolute; inset-inline-start: 0; bottom: 0; height: 3px; width: 100%;
  background: var(--bg-brand); transform: scaleX(0); transform-origin: left;
}
.step.is-active { background: var(--bg-brand-subtle); }
.step.is-active .overline { color: var(--text-brand); }
.step.is-active::after { transform: scaleX(1); transition: transform 2.4s linear; }

/* ---------- CTA ---------- */
.cta { padding-block: clamp(8px, 2vw, 32px) var(--section-y); }
@media (max-width: 599px) { .cta .container { padding-inline: 12px; } }
.cta__block {
  position: relative; overflow: hidden; display: grid; gap: 40px;
  padding: clamp(36px, 5vw, 72px) clamp(24px, 4.5vw, 64px);
  border-radius: clamp(28px, 3vw, 36px); background: var(--red-500); color: var(--ink-950);
}
@media (min-width: 1024px) { .cta__block { grid-template-columns: minmax(0, 700px) auto; justify-content: space-between; align-items: end; } }
.cta__main { position: relative; display: grid; gap: 24px; justify-items: start; }
.cta__block .h1, .cta__block .accent, .cta__block .lead { color: var(--ink-950); }
.cta__contact { position: relative; display: grid; gap: 14px; font-weight: 600; }
.cta__contact li { display: flex; align-items: center; gap: 12px; }
.cta__contact .ic { width: 22px; height: 22px; color: var(--ink-950); --icon-brand: var(--sand-50); }
.cta__contact a { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat; transition: background-size var(--duration-base) var(--ease-out-soft); }
.cta__contact a:hover { background-size: 100% 1.5px; }
.cta__arch {
  position: absolute; inset-inline-end: -40px; top: 26%; width: 320px; height: 520px; pointer-events: none;
  border: 1.5px solid rgb(7 9 12 / .18); border-radius: 160px 160px 0 0;
}
.cta__arch::before { content: ""; position: absolute; inset: 40px 40px 0; border: 1.5px solid rgb(7 9 12 / .1); border-bottom: 0; border-radius: 120px 120px 0 0; }
@media (max-width: 1023px) { .cta__arch { inset-inline-end: -140px; top: 40%; } }
@media (max-width: 599px) { .cta__main .btn { width: 100%; justify-content: space-between; } }

/* ---------- Footer ---------- */
.footer { position: relative; padding-block: clamp(48px, 6vw, 72px) 32px; border-top: 1px solid var(--border-subtle); }
.footer__top { display: grid; gap: 40px; }
@media (min-width: 1024px) { .footer__top { grid-template-columns: 360px auto; justify-content: space-between; } }
.footer__brand { display: grid; gap: 16px; justify-items: start; }
.footer__cols { display: flex; flex-wrap: wrap; gap: 32px clamp(32px, 5vw, 64px); }
.footer__col { display: grid; gap: 12px; align-content: start; }
.footer__col ul { display: grid; gap: 10px; }
.footer__col a { font-weight: 600; font-size: 14px; line-height: 18px; transition: color var(--duration-instant); }
.footer__col a:hover { color: var(--text-brand); }
.footer__bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px;
  margin-top: clamp(40px, 5vw, 56px); padding-top: 24px; border-top: 1px solid var(--border-subtle);
  font-size: 14px; color: var(--text-tertiary);
}
.footer__tools { display: flex; align-items: center; gap: 16px; }
.lang { display: inline-flex; gap: 8px; align-items: center; font-weight: 600; font-size: 14px; color: var(--text-tertiary); }
.lang__on { color: var(--text-primary); }
.lang__ar { font-family: var(--font-ar); color: var(--text-secondary); }
.lang__ar:hover { color: var(--text-brand); }

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 80; translate: -50% 16px; opacity: 0; pointer-events: none;
  padding: 12px 20px; border-radius: var(--radius-full); background: var(--bg-inverse); color: var(--text-inverse);
  font-weight: 600; font-size: 14px; box-shadow: var(--shadow-2);
  transition: opacity var(--duration-base) var(--ease-out-soft), translate var(--duration-base) var(--ease-out-soft);
}
.toast.is-show { opacity: 1; translate: -50% 0; }

/* ---------- Scroll reveal ---------- */
.js [data-reveal] { opacity: 0; translate: 0 24px; transition: opacity var(--duration-slow) var(--ease-out-soft), translate var(--duration-slow) var(--ease-out-soft); }
.js [data-reveal].is-in { opacity: 1; translate: 0 0; }
.js .card[data-reveal].is-in:hover, .js .card[data-reveal].is-in:focus-visible { translate: 0 -4px; }

/* ---------- Theme switch: sunset wipe (View Transitions) ---------- */
::view-transition-old(root), ::view-transition-new(root) { animation: none; mix-blend-mode: normal; }
::view-transition-new(root) { z-index: 2; }
.vt-running *, .vt-running *::before, .vt-running *::after { transition: none !important; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important; animation-iteration-count: 1 !important;
    transition-duration: 120ms !important; transition-delay: 0s !important;
  }
  .js [data-reveal] { translate: none; }
  .js .w__in { transform: none; }
  .marquee__track { animation: none !important; }
  .marquee { overflow-x: auto; }
  .hero__blob, .hero__grid, .orbit__ring, .orbit__pill, .orbit__comet, .orbit__pulses span, .float-card, .sparkline__line, .sparkline__area { animation: none !important; }
  .sparkline__line { stroke-dashoffset: 0; }
  .sparkline__area { opacity: 1; }
  .orbit__pulses { display: none; }
}

/* ==========================================================================
   Contact page
   ========================================================================== */
.page-intro { padding-top: clamp(40px, 6vw, 72px); padding-bottom: clamp(28px, 4vw, 56px); }
.crumbs { display: flex; gap: 10px; margin-bottom: clamp(16px, 2vw, 24px); font-family: var(--font-mono); font-weight: 500; font-size: 12px; line-height: 16px; letter-spacing: .08em; text-transform: uppercase; color: var(--text-tertiary); }
.crumbs a:hover { color: var(--text-primary); }
.crumbs [aria-current] { color: var(--text-brand); }
.page-title {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(48px, 6.2vw, 84px); line-height: .98; letter-spacing: -0.035em;
  margin-bottom: clamp(18px, 2vw, 24px);
}
.page-title .accent { position: relative; }
.page-title .accent::after {
  content: ""; position: absolute; inset-inline-start: .02em; inset-inline-end: .12em; bottom: .04em; height: max(2px, .03em); border-radius: 2px;
  background: var(--bg-brand); transform: scaleX(0); transform-origin: left; transition: transform 700ms var(--ease-out-soft) 760ms;
}
.is-ready .page-title .accent::after, html:not(.js) .page-title .accent::after { transform: scaleX(1); }
.page-intro__row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px 48px; }
.page-intro__row .lead { max-width: 620px; }
.page-intro__tags { display: flex; flex-wrap: wrap; gap: 8px; }
.h2 { font-family: var(--font-display); font-weight: 700; font-size: clamp(30px, 3.2vw, 40px); line-height: 1.12; letter-spacing: -0.02em; }

.contact { padding-bottom: clamp(56px, 8vw, 112px); }
@media (max-width: 599px) { .contact__container { padding-inline: 12px; } }
.contact__grid { display: grid; gap: 16px; align-items: start; }
@media (min-width: 1024px) { .contact__grid { grid-template-columns: minmax(0, 1fr) 420px; gap: 28px; } }

/* Urgent bar (mobile + tablet) */
.urgent-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px;
  padding: 14px 10px 14px 18px; border-radius: 20px; background: var(--bg-surface); color: var(--text-primary);
}
.urgent-bar__title { font-weight: 600; font-size: 16px; line-height: 20px; }
.urgent-bar__sub { font-size: 14px; line-height: 20px; color: var(--text-secondary); }
@media (min-width: 1024px) { .urgent-bar { display: none; } }

/* Form card */
.form-card {
  position: relative; border-radius: clamp(24px, 3vw, 32px); background: var(--bg-surface);
  box-shadow: inset 0 0 0 1px var(--border-subtle), var(--shadow-1);
  padding: clamp(28px, 4vw, 48px) clamp(20px, 4vw, 48px);
}
.request-form { display: grid; gap: clamp(28px, 3vw, 36px); }
.form-card__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; }
.form-card__hint { margin-top: 4px; font-size: 14px; line-height: 22px; color: var(--text-tertiary); }
.form-divider { border: 0; height: 1px; margin: 0; background: var(--border-subtle); }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.field-group { display: grid; gap: 16px; }
.field-group__legend { padding: 0; font-weight: 600; font-size: 16px; line-height: 20px; color: var(--text-primary); }
.field-group__legend span { margin-inline-start: 8px; font-weight: 400; font-size: 14px; color: var(--text-tertiary); }
legend.field-group__legend { margin-bottom: 14px; }
#services-group { display: block; }

.form-alert {
  display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: var(--radius-md);
  background: rgb(240 68 58 / .08); box-shadow: inset 0 0 0 1px #F0443A; font-weight: 600; font-size: 14px;
  animation: shake 400ms var(--ease-standard);
}
.form-alert[hidden] { display: none; }
.form-alert__dot { width: 8px; height: 8px; border-radius: 50%; background: #F0443A; flex: none; }
@keyframes shake { 20%, 60% { transform: translateX(-4px); } 40%, 80% { transform: translateX(4px); } }

/* Chips */
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.chip__face {
  display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px 10px 12px; border-radius: var(--radius-full);
  background: var(--bg-surface); box-shadow: inset 0 0 0 1px var(--border-default);
  font-weight: 600; font-size: 14px; line-height: 18px; user-select: none;
  transition: background-color var(--duration-quick) var(--ease-standard), box-shadow var(--duration-quick) var(--ease-standard), transform var(--duration-instant) var(--ease-standard);
}
.chip__face > .ic { width: 20px; height: 20px; }
.chip:hover .chip__face { box-shadow: inset 0 0 0 1px var(--border-strong); }
.chip:active .chip__face { transform: scale(.97); }
.chip__check {
  display: grid; place-items: center; width: 0; height: 18px; border-radius: 50%; margin-inline-start: -10px; overflow: hidden;
  background: var(--red-500); transition: width var(--duration-quick) var(--ease-spring), margin var(--duration-quick) var(--ease-spring);
}
.chip__check .ic { width: 12px; height: 12px; color: var(--ink-950); }
.chip input:checked + .chip__face { background: var(--bg-brand-subtle); box-shadow: inset 0 0 0 1.5px var(--bg-brand); }
.chip input:checked + .chip__face .chip__check { width: 18px; margin-inline-start: 0; }
.chip input:focus-visible + .chip__face { outline: 2px solid var(--border-focus); outline-offset: 3px; }
.is-invalid .chip__face { box-shadow: inset 0 0 0 1px #F0443A; }

/* Fields */
.fields { display: grid; gap: 16px; }
@media (min-width: 700px) { .fields { grid-template-columns: 1fr 1fr; gap: 20px; } }
.field { display: grid; gap: 8px; align-content: start; }
.field--full { grid-column: 1 / -1; }
.field > label:not(.check) { font-weight: 600; font-size: 14px; line-height: 18px; }
.control {
  width: 100%; height: 52px; padding: 0 16px; border: 0; border-radius: var(--radius-md);
  background: var(--bg-surface); color: var(--text-primary);
  font-family: var(--font-body); font-size: 16px; line-height: 24px;
  box-shadow: inset 0 0 0 1px var(--border-default);
  transition: box-shadow var(--duration-quick) var(--ease-standard), background-color var(--duration-base) var(--ease-standard);
  -webkit-appearance: none; appearance: none;
}
.control::placeholder { color: var(--text-tertiary); opacity: 1; }
.control:hover { box-shadow: inset 0 0 0 1px var(--border-strong); }
.control:focus { outline: none; box-shadow: inset 0 0 0 2px var(--border-focus), 0 0 0 4px rgb(0 179 164 / .18); }
.field.is-invalid .control { box-shadow: inset 0 0 0 1.5px #F0443A; }
.field.is-invalid .control:focus { box-shadow: inset 0 0 0 2px #F0443A, 0 0 0 4px rgb(240 68 58 / .15); }
.field__error { min-height: 0; font-size: 14px; line-height: 20px; color: #F0443A; }
.field__error:empty { display: none; }
[data-theme="dark"] .field__error { color: #FF7A72; }

.select { position: relative; }
.select .control { padding-inline-end: 44px; cursor: pointer; }
.select .control:invalid, .select .control.is-empty { color: var(--text-tertiary); }
.select option { color: var(--text-primary); background: var(--bg-surface); }
.select .ic { position: absolute; inset-inline-end: 14px; top: 50%; width: 20px; height: 20px; translate: 0 -50%; pointer-events: none; transition: rotate var(--duration-quick) var(--ease-standard); }
.select:focus-within .ic { rotate: 180deg; }

.textarea { position: relative; }
.textarea .control { height: auto; min-height: 148px; padding: 14px 16px 36px; resize: vertical; }
.textarea__count { position: absolute; inset-inline-start: 16px; bottom: 12px; font-family: var(--font-mono); font-size: 13px; color: var(--text-tertiary); pointer-events: none; }
.textarea__count.is-near { color: var(--text-brand); }

/* Segmented control */
.pref { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 16px; }
.pref legend { float: left; margin: 0; }
.segmented { display: inline-flex; padding: 4px; gap: 4px; border-radius: var(--radius-full); background: var(--bg-raised); }
.segmented label { position: relative; cursor: pointer; }
.segmented input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.segmented span {
  display: block; padding: 10px 18px; border-radius: var(--radius-full); white-space: nowrap;
  font-weight: 600; font-size: 14px; line-height: 18px; color: var(--text-secondary);
  transition: background-color var(--duration-quick) var(--ease-standard), color var(--duration-quick) var(--ease-standard);
}
.segmented label:hover span { color: var(--text-primary); }
.segmented input:checked + span { background: var(--bg-inverse); color: var(--text-inverse); }
.segmented input:focus-visible + span { outline: 2px solid var(--border-focus); outline-offset: 2px; }
@media (max-width: 599px) {
  .pref { display: grid; }
  .segmented { display: flex; width: 100%; }
  .segmented label { flex: 1; }
  .segmented span { text-align: center; padding-inline: 8px; }
}

/* Checkbox */
.check { display: flex; align-items: flex-start; gap: 12px; cursor: pointer; font-size: 14px; line-height: 22px; color: var(--text-secondary); }
.check input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.check__box {
  display: grid; place-items: center; flex: none; width: 22px; height: 22px; border-radius: var(--radius-sm);
  background: var(--bg-surface); box-shadow: inset 0 0 0 1.5px var(--border-strong);
  transition: background-color var(--duration-quick) var(--ease-standard), box-shadow var(--duration-quick) var(--ease-standard);
}
.check__box .ic { width: 16px; height: 16px; color: var(--ink-950); transform: scale(0); transition: transform var(--duration-quick) var(--ease-spring); }
.check input:checked + .check__box { background: var(--red-500); box-shadow: none; }
.check input:checked + .check__box .ic { transform: scale(1); }
.check input:focus-visible + .check__box { outline: 2px solid var(--border-focus); outline-offset: 3px; }
.field.is-invalid .check__box { box-shadow: inset 0 0 0 1.5px #F0443A; }

/* Submit */
.form-submit { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 20px; }
.form-submit__note { display: flex; align-items: center; gap: 8px; font-size: 14px; line-height: 20px; color: var(--text-tertiary); }
.form-submit__note .ic { width: 18px; height: 18px; color: var(--icon-secondary); }
.btn .btn__chip { position: relative; }
.spinner { position: absolute; inset: 9px; border-radius: 50%; border: 2px solid rgb(251 248 242 / .25); border-top-color: var(--sand-50); opacity: 0; }
.btn.is-loading { pointer-events: none; }
.btn.is-loading .btn__chip .ic { opacity: 0; }
.btn.is-loading .spinner { opacity: 1; animation: spin 700ms linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (max-width: 599px) { .form-submit .btn { width: 100%; justify-content: space-between; } }

/* Success */
.success { display: grid; gap: 28px; justify-items: start; outline: none; animation: rise var(--duration-slow) var(--ease-out-soft); }
.success[hidden] { display: none; }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } }
.success__badge {
  display: grid; place-items: center; width: 72px; height: 72px; border-radius: 50%;
  background: var(--red-500); box-shadow: 0 12px 40px -6px rgb(242 48 77 / .45);
  animation: pop 600ms var(--ease-spring) 120ms both;
}
.success__badge .ic { width: 36px; height: 36px; color: var(--ink-950); }
@keyframes pop { from { transform: scale(.4); opacity: 0; } }
.success__head { display: grid; gap: 12px; }
.success__summary { width: 100%; margin: 0; padding: 8px 24px; border-radius: var(--radius-lg); background: var(--bg-raised); }
.success__summary div { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px 0; }
.success__summary div + div { border-top: 1px solid var(--border-default); }
.success__summary dt { font-family: var(--font-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--text-tertiary); }
.success__summary dd { margin: 0; font-weight: 600; text-align: end; }
.success__summary .mono { font-family: var(--font-mono); font-weight: 500; }
.success__actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 599px) { .success__actions .btn { width: 100%; justify-content: space-between; } .success__summary { padding-inline: 16px; } }

/* Aside */
.contact-aside { display: grid; gap: 16px; }
.urgent-card { display: grid; gap: 16px; justify-items: start; padding: 28px; border-radius: 28px; background: var(--bg-surface); color: var(--text-primary); box-shadow: inset 0 0 0 1px var(--border-default); }
.urgent-card p { color: var(--text-secondary); }
.urgent-card__phone { font-family: var(--font-display); font-weight: 700; font-size: 32px; line-height: 1.1; letter-spacing: -0.02em; }
.urgent-card__phone a { color: var(--text-primary); }
@media (max-width: 1023px) { .urgent-card { display: none; } }

.info-list { padding: 4px 24px; border-radius: 28px; background: var(--bg-surface); box-shadow: inset 0 0 0 1px var(--border-subtle); }
.info-list li { display: flex; align-items: center; gap: 14px; padding: 16px 0; }
.info-list li + li { border-top: 1px solid var(--border-subtle); }
.info-list__tile { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 12px; background: var(--bg-brand-subtle); }
.info-list__tile .ic { width: 22px; height: 22px; }
.info-list__k { display: block; font-family: var(--font-mono); font-size: 12px; line-height: 16px; letter-spacing: .08em; text-transform: uppercase; color: var(--text-tertiary); }
.info-list__v { display: block; font-weight: 600; font-size: 16px; line-height: 22px; overflow-wrap: anywhere; }
a.info-list__v:hover { color: var(--text-brand); }
@media (max-width: 599px) { .info-list { padding-inline: 20px; } }

/* Registered office: live Google map + address */
.office-card { margin: 0; overflow: hidden; border-radius: 28px; background: var(--bg-surface); box-shadow: inset 0 0 0 1px var(--border-subtle); }
.office-map { position: relative; height: 240px; background: var(--bg-raised); border-bottom: 1px solid var(--border-subtle); overflow: hidden; }
.office-map iframe {
  position: absolute; inset: 0; width: 100%; height: 100%; border: 0; opacity: 0;
  filter: saturate(.8) contrast(1.02);
  transition: opacity var(--duration-slow) var(--ease-out-soft);
}
.office-map iframe.is-loaded { opacity: 1; }
[data-theme="dark"] .office-map iframe { filter: invert(.92) hue-rotate(180deg) saturate(.55) brightness(.92) contrast(.95); }
.office-map__fallback {
  position: absolute; inset: 0; display: grid; place-items: center;
  background-image: linear-gradient(var(--border-subtle) 1px, transparent 1px), linear-gradient(90deg, var(--border-subtle) 1px, transparent 1px);
  background-size: 32px 32px; background-position: center;
}
.office-map__ring { position: absolute; width: 120px; height: 120px; border-radius: 50%; border: 1px dashed var(--border-default); }
.office-map__ring--2 { width: 200px; height: 200px; }
.office-map__pin {
  position: relative; width: 34px; height: 42px; border-radius: 17px 17px 6px 6px; background: var(--red-500);
  display: grid; place-items: center; box-shadow: 0 8px 20px -6px rgb(242 48 77 / .6);
}
.office-map__pin span { width: 14px; height: 14px; border-radius: 50%; background: var(--ink-950); margin-top: 4px; }
.office-map__pin::after { content: ""; position: absolute; inset: -14px; border-radius: 50%; background: var(--red-500); opacity: .2; z-index: -1; animation: map-pulse 2.4s var(--ease-standard) infinite; }
@keyframes map-pulse { 0% { transform: scale(.6); opacity: .35; } 100% { transform: scale(2); opacity: 0; } }
.office-map__open {
  position: absolute; inset-inline-end: 12px; bottom: 12px; z-index: 2; display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 12px; border-radius: var(--radius-full); background: var(--bg-surface); color: var(--text-primary);
  box-shadow: var(--shadow-2); font-weight: 600; font-size: 13px; line-height: 16px;
  transition: background-color var(--duration-quick) var(--ease-standard);
}
.office-map__open .ic { width: 16px; height: 16px; }
.office-map__open:hover { background: var(--bg-raised); }
.office-card__body { display: grid; gap: 14px; padding: 22px 24px 24px; }
.office-card__address { font-style: normal; font-size: 15px; line-height: 24px; color: var(--text-secondary); }
.office-card__unit { display: block; font-weight: 600; font-size: 16px; color: var(--text-primary); }
.office-card__actions { display: flex; align-items: center; gap: 10px; }
@media (max-width: 599px) { .office-card__body { padding: 20px; } .office-map { height: 220px; } }

.next-steps { display: grid; gap: 16px; padding: 24px; border-radius: 28px; background: var(--bg-raised); }
.next-steps ol { display: grid; gap: 14px; counter-reset: none; }
.next-steps li { display: flex; align-items: center; gap: 14px; font-weight: 600; }
.next-steps li span {
  display: grid; place-items: center; flex: none; width: 36px; height: 36px; border-radius: 50%;
  font-family: var(--font-mono); font-weight: 400; font-size: 14px; color: var(--text-secondary);
  background: var(--bg-surface); box-shadow: inset 0 0 0 1px var(--border-default);
}
.next-steps li.is-first span { background: var(--red-500); color: var(--ink-950); box-shadow: none; }

/* FAQ */
.faq { padding-bottom: clamp(64px, 8vw, 112px); }
.faq__grid { display: grid; gap: 28px; }
@media (min-width: 1024px) { .faq__grid { grid-template-columns: 420px minmax(0, 1fr); gap: 64px; align-items: start; } }
.faq__intro { display: grid; gap: 16px; }
.accordion { border-bottom: 1px solid var(--border-subtle); }
.acc-item { border-top: 1px solid var(--border-subtle); }
.acc-item h3 { margin: 0; }
.acc-item__btn {
  display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 0; text-align: start;
  font-family: var(--font-display); font-weight: 600; font-size: clamp(17px, 1.6vw, 20px); line-height: 1.35; color: var(--text-primary);
}
.acc-item__btn:hover { color: var(--text-brand); }
.acc-item__icon {
  display: grid; place-items: center; flex: none; width: 36px; height: 36px; border-radius: 50%;
  box-shadow: inset 0 0 0 1px var(--border-default);
  transition: background-color var(--duration-base) var(--ease-standard), box-shadow var(--duration-base) var(--ease-standard);
}
.acc-item__icon .ic { width: 18px; height: 18px; transition: transform var(--duration-base) var(--ease-out-soft); }
.acc-item.is-open .acc-item__icon { background: var(--red-500); box-shadow: none; }
.acc-item.is-open .acc-item__icon .ic { transform: rotate(180deg); color: var(--ink-950); }
.acc-item__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows var(--duration-base) var(--ease-out-soft); }
.acc-item.is-open .acc-item__panel { grid-template-rows: 1fr; }
.acc-item__panel > div { overflow: hidden; }
.acc-item__panel p { padding-bottom: 22px; max-width: 680px; color: var(--text-secondary); }
.acc-item:not(.is-open) .acc-item__panel > div { visibility: hidden; transition: visibility 0s linear var(--duration-base); }
@media (max-width: 599px) {
  .pref { display: block; }
  .pref legend { float: none; margin-bottom: 12px; }
  .segmented { display: flex; width: 100%; }
  .field-group__legend span { display: block; margin: 4px 0 0; }
}

/* =====================================================================
   PAGES: big Home, mega menu, service detail template
   ===================================================================== */
.h1--xl { font-size: clamp(38px, 5vw, 68px); line-height: 1.02; letter-spacing: -0.035em; }
.section--tight-top { padding-top: clamp(24px, 3vw, 48px); }
.section--raised { background: var(--bg-surface); border-block: 1px solid var(--border-subtle); }
.u-link { color: var(--text-primary); font-weight: 600; background: linear-gradient(var(--bg-brand), var(--bg-brand)) 0 100% / 100% 1.5px no-repeat; transition: color var(--duration-instant); }
.u-link:hover { color: var(--text-brand); }
.text-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15px; }
.text-link .ic { width: 18px; height: 18px; transition: transform var(--duration-quick) var(--ease-spring); }
.text-link:hover { color: var(--text-brand); }
.text-link:hover .ic { transform: translateX(4px); color: var(--text-brand); }

/* ---------- Mega menu ---------- */
.has-mega { position: static; }
.nav__mega-trigger { gap: 6px; }
.nav__chev { width: 16px; height: 16px; color: var(--icon-secondary); transition: transform var(--duration-base) var(--ease-out-soft); }
.has-mega:hover .nav__chev, .has-mega:focus-within .nav__chev { transform: rotate(180deg); color: var(--icon-brand); }
.mega {
  position: absolute; inset-inline-start: 0; inset-inline-end: 0; top: 100%; z-index: 5;
  background: var(--bg-surface); border-bottom: 1px solid var(--border-subtle); box-shadow: 0 30px 60px -30px rgb(7 9 12 / .35);
  opacity: 0; visibility: hidden; translate: 0 -8px; pointer-events: none;
  transition: opacity var(--duration-base) var(--ease-out-soft), translate var(--duration-base) var(--ease-out-soft), visibility 0s linear var(--duration-base);
}
.has-mega:hover .mega, .has-mega:focus-within .mega, .mega.is-open {
  opacity: 1; visibility: visible; translate: 0 0; pointer-events: auto; transition-delay: 60ms, 60ms, 0s;
}
.mega__inner { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 32px; padding-block: 28px 32px; }
.mega__cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.mega__col { display: grid; gap: 12px; align-content: start; }
.mega__col ul { display: grid; gap: 4px; }
.mega__link { display: flex; align-items: flex-start; gap: 12px; padding: 10px; margin-inline: -10px; border-radius: 12px; transition: background-color var(--duration-quick) var(--ease-standard); }
.mega__link:hover, .mega__link.is-current { background: var(--bg-raised); }
.mega__ic { display: grid; place-items: center; width: 40px; height: 40px; flex: none; border-radius: 10px; background: var(--bg-brand-subtle); transition: background-color var(--duration-quick); }
.mega__ic .ic { width: 20px; height: 20px; }
.mega__link:hover .mega__ic { background: var(--red-500); }
.mega__link:hover .mega__ic .ic { color: var(--ink-950); --icon-brand: var(--ink-950); }
.mega__name { display: block; font-weight: 600; font-size: 15px; line-height: 20px; color: var(--text-primary); }
.mega__desc { display: block; margin-top: 2px; font-weight: 400; font-size: 13px; line-height: 18px; color: var(--text-tertiary); }
.mega__promo { position: relative; overflow: hidden; display: grid; gap: 10px; align-content: end; padding: 24px; border-radius: 18px; background: var(--bg-canvas); color: var(--text-primary); min-height: 220px; }
.mega__promo::before { content: ""; position: absolute; inset-inline-end: -60px; top: -60px; width: 200px; height: 200px; border-radius: 50%; background: var(--red-500); opacity: .3; filter: blur(50px); }
.mega__promo-ic { position: absolute; inset-inline-start: 24px; top: 24px; }
.mega__promo-ic .ic { width: 28px; height: 28px; animation: twinkle-loop 4s var(--ease-standard) infinite; }
.mega__promo-title { font-family: var(--font-display); font-weight: 700; font-size: 22px; line-height: 1.15; }
.mega__promo-text { font-size: 14px; line-height: 20px; color: var(--text-secondary); }
.mega__promo-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 14px; color: var(--text-brand); }
.mega__promo-link .ic { width: 16px; height: 16px; color: var(--text-brand); transition: transform var(--duration-quick) var(--ease-spring); }
.mega__promo:hover .mega__promo-link .ic { transform: rotate(45deg); }
@media (max-width: 1199px) { .mega__inner { grid-template-columns: 1fr; } .mega__promo { display: none; } }
@media (max-width: 1023px) { .mega { display: none; } }

/* mobile menu: services list */
.menu { overflow-y: auto; }
.menu__links { flex: none; }
.menu__svc { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 24px 0 32px; }
.menu__svc a {
  display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding: 12px; border-radius: 12px;
  background: var(--bg-raised); font-weight: 600; font-size: 13px; line-height: 16px;
  opacity: 0; transform: translateY(12px); transition: opacity var(--duration-slow) var(--ease-out-soft), transform var(--duration-slow) var(--ease-out-soft), background-color var(--duration-quick);
}
.menu__svc a .ic { width: 20px; height: 20px; }
.menu__svc a:hover { background: var(--bg-brand-subtle); }
.menu.is-open .menu__svc a { opacity: 1; transform: none; transition-delay: 300ms; }
.menu__foot { margin-top: auto; }

/* ---------- Capabilities ticker ---------- */
.ticker .marquee__item { font-size: clamp(22px, 3vw, 44px); }

/* ---------- Services: filter + groups ---------- */
.segs { position: relative; display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 4px; margin-bottom: clamp(28px, 3.4vw, 48px); border-radius: var(--radius-full); background: var(--bg-raised); isolation: isolate; }
.seg { position: relative; z-index: 1; padding: 10px 18px; border-radius: var(--radius-full); font-weight: 600; font-size: 14px; line-height: 18px; color: var(--text-secondary); white-space: nowrap; transition: color var(--duration-base) var(--ease-standard); }
.seg:hover { color: var(--text-primary); }
.seg.is-on { color: var(--text-inverse); }
.segs__thumb { position: absolute; z-index: 0; left: 0; top: 0; height: 0; border-radius: var(--radius-full); background: var(--bg-inverse); transition: translate 450ms var(--ease-out-soft), width 450ms var(--ease-out-soft), height 450ms var(--ease-out-soft); }
html:not(.js) .seg.is-on { background: var(--bg-inverse); }
@media (max-width: 599px) {
  .segs { display: flex; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; border-radius: 14px; }
  .segs::-webkit-scrollbar { display: none; }
}
.svc-groups { display: grid; gap: clamp(40px, 5vw, 64px); }
.svc-group { display: grid; gap: 20px; transition: opacity 400ms var(--ease-out-soft), translate 400ms var(--ease-out-soft); }
.svc-group.is-hiding { opacity: 0; translate: 0 16px; }
.svc-group__head { display: flex; align-items: baseline; gap: 16px; padding-bottom: 16px; border-bottom: 1px solid var(--border-subtle); }
.svc-group__line { font-size: 14px; color: var(--text-secondary); }
.svc-group__count { margin-inline-start: auto; font-family: var(--font-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--text-tertiary); white-space: nowrap; }
@media (max-width: 599px) { .svc-group__line { display: none; } }
.card__tag { font-family: var(--font-mono); font-size: 11px; line-height: 16px; letter-spacing: .08em; text-transform: uppercase; color: var(--text-tertiary); padding: 4px 10px; border-radius: var(--radius-full); box-shadow: inset 0 0 0 1px var(--border-subtle); }
.card { position: relative; overflow: hidden; isolation: isolate; }
.card::before { content: ""; position: absolute; z-index: -1; left: var(--cx, 50%); top: var(--cy, 50%); width: 340px; height: 340px; translate: -50% -50%; border-radius: 50%; background: radial-gradient(closest-side, rgb(242 48 77 / .14), transparent); opacity: 0; transition: opacity var(--duration-base); }
.card:hover::before { opacity: 1; }

/* ---------- Why Soom bento ---------- */
.bento { display: grid; gap: 16px; }
@media (min-width: 1024px) { .bento { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 20px; } }
.bento__main {
  position: relative; overflow: hidden; isolation: isolate; display: grid; gap: 16px; align-content: start;
  padding: clamp(28px, 3.4vw, 44px); border-radius: var(--radius-xl); background: var(--bg-canvas); color: var(--text-primary); min-height: 460px;
}
.bento__glow { position: absolute; z-index: -1; inset-inline-end: -120px; bottom: -160px; width: 420px; height: 420px; border-radius: 50%; background: var(--red-500); opacity: .22; filter: blur(80px); animation: drift-a 18s ease-in-out infinite alternate; }
.bento__ic { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: var(--bg-brand-subtle); }
.bento__ic .ic { width: 26px; height: 26px; }
.bento__t { font-family: var(--font-display); font-weight: 700; font-size: clamp(26px, 2.6vw, 36px); line-height: 1.1; letter-spacing: -0.02em; margin-top: 8px; }
.bento__d { max-width: 460px; color: var(--text-secondary); }
.bento__chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; padding-top: 32px; max-width: 520px; }
.bento__chips li { animation: chip-bob 5s ease-in-out infinite; animation-delay: calc(var(--i) * -0.55s); }
.bento__chips a {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px 8px 10px; border-radius: var(--radius-full);
  background: color-mix(in srgb, var(--bg-surface) 70%, transparent); box-shadow: inset 0 0 0 1px var(--border-default);
  font-weight: 600; font-size: 14px; line-height: 18px;
  transition: background-color var(--duration-quick), box-shadow var(--duration-quick), scale var(--duration-base) var(--ease-spring);
}
.bento__chips a .ic { width: 18px; height: 18px; }
.bento__chips a:hover { background: var(--red-500); color: var(--ink-950); box-shadow: none; scale: 1.06; }
.bento__chips a:hover .ic { color: var(--ink-950); --icon-brand: var(--ink-950); }
@keyframes chip-bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -5px; } }
.reasons { display: grid; gap: 16px; }
.reason {
  display: flex; gap: 18px; align-items: flex-start; padding: clamp(22px, 2.4vw, 30px); border-radius: var(--radius-lg);
  background: var(--bg-surface); box-shadow: inset 0 0 0 1px var(--border-subtle);
  transition: box-shadow var(--duration-base) var(--ease-out-soft), translate var(--duration-base) var(--ease-out-soft), opacity var(--duration-slow) var(--ease-out-soft);
}
.js .reason[data-reveal].is-in:hover, .reason:hover { translate: 6px 0; box-shadow: inset 3px 0 0 var(--bg-brand), inset 0 0 0 1px var(--border-default); }
.reason__ic { display: grid; place-items: center; width: 48px; height: 48px; flex: none; border-radius: 12px; background: var(--bg-brand-subtle); }
.reason__t { display: block; font-family: var(--font-display); font-weight: 600; font-size: 19px; line-height: 1.3; }
.reason__d { display: block; margin-top: 6px; color: var(--text-secondary); font-size: 15px; line-height: 1.55; }

/* ---------- Digital spotlight ---------- */
.spot__grid { display: grid; gap: clamp(40px, 5vw, 64px); align-items: center; }
@media (min-width: 1100px) { .spot__grid { grid-template-columns: minmax(0, 560px) minmax(0, 1fr); } }
.spot__copy { display: grid; gap: 24px; justify-items: start; }
.spot__list { width: 100%; border-top: 1px solid var(--border-subtle); }
.spot__row { display: flex; align-items: center; gap: 16px; padding: 16px 4px; border-bottom: 1px solid var(--border-subtle); transition: padding var(--duration-base) var(--ease-out-soft), background-color var(--duration-base); }
.spot__row:hover { padding-inline-start: 14px; background: linear-gradient(90deg, var(--bg-brand-subtle), transparent); }
.spot__ic { display: grid; place-items: center; width: 44px; height: 44px; flex: none; border-radius: 12px; background: var(--bg-brand-subtle); }
.spot__ic .ic { width: 22px; height: 22px; }
.spot__t { display: block; font-weight: 600; line-height: 1.3; }
.spot__s { display: block; font-size: 14px; line-height: 1.4; color: var(--text-secondary); }
.spot__arrow { margin-inline-start: auto; width: 20px; height: 20px; transition: transform var(--duration-quick) var(--ease-spring); }
.spot__row:hover .spot__arrow { transform: rotate(45deg); color: var(--text-brand); }
@media (max-width: 599px) { .spot__copy .btn { width: 100%; justify-content: space-between; } }

/* digital visual: browser + phone + toast */
.dv { position: relative; aspect-ratio: 616 / 520; width: 100%; max-width: 640px; margin-inline: auto; border-radius: var(--radius-xl); background: var(--bg-raised); container-type: inline-size; overflow: hidden; isolation: isolate; }
.dv::before { content: ""; position: absolute; z-index: -1; inset: 0; background-image: radial-gradient(var(--border-default) 1px, transparent 1.2px); background-size: 22px 22px; opacity: .7; }
.dv__browser { position: absolute; inset-inline-start: 6%; top: 13%; width: 73%; height: 62%; border-radius: 14px; background: var(--bg-surface); box-shadow: inset 0 0 0 1px var(--border-subtle), var(--shadow-2); overflow: hidden; animation: float 7s ease-in-out infinite; }
.dv__bar { display: flex; align-items: center; gap: 6px; height: 13%; padding-inline: 4%; border-bottom: 1px solid var(--border-subtle); }
.dv__bar > span:not(.dv__url) { width: 2cqw; max-width: 9px; aspect-ratio: 1; border-radius: 50%; background: var(--border-default); }
.dv__bar > span:first-child { background: var(--red-500); }
.dv__url { margin-inline-start: 3%; padding: 3px 10px; border-radius: 6px; background: var(--bg-raised); font-family: var(--font-mono); font-size: clamp(9px, 2cqw, 12px); color: var(--text-tertiary); }
.dv__page { position: relative; display: grid; gap: 4.5%; align-content: start; height: 87%; padding: 7% 7%; }
.dv__line { display: block; height: 3.2cqw; max-height: 18px; border-radius: 6px; background: color-mix(in srgb, var(--text-primary) 13%, transparent); transform-origin: left; animation: type-in 6s var(--ease-out-soft) infinite; }
.dv__line--tag { width: 22%; height: 1.4cqw; background: var(--bg-brand-subtle); }
.dv__line--h1 { width: 78%; animation-delay: .2s; }
.dv__line--h2 { width: 62%; animation-delay: .4s; }
.dv__line--p { width: 52%; height: 1.6cqw; animation-delay: .6s; }
@keyframes type-in { 0% { transform: scaleX(0); } 18%, 88% { transform: scaleX(1); } 100% { transform: scaleX(1); opacity: 0; } }
.dv__btns { display: flex; gap: 3%; margin-top: 4%; }
.dv__btn { width: 23%; height: 5.4cqw; max-height: 34px; border-radius: 999px; background: color-mix(in srgb, var(--text-primary) 13%, transparent); }
.dv__btn--brand { background: var(--red-500); animation: btn-pulse 6s ease-in-out infinite; }
@keyframes btn-pulse { 0%, 55%, 100% { box-shadow: 0 0 0 0 rgb(242 48 77 / 0); } 62% { box-shadow: 0 0 0 8px rgb(242 48 77 / .25); } 70% { box-shadow: 0 0 0 14px rgb(242 48 77 / 0); } }
.dv__cursor { position: absolute; inset-inline-start: 60%; top: 90%; width: 14px; height: 18px; background: var(--text-primary); clip-path: polygon(0 0, 100% 62%, 52% 64%, 72% 100%, 56% 100%, 38% 68%, 0 90%); animation: cursor-go 6s var(--ease-out-soft) infinite; }
@keyframes cursor-go { 0%, 20% { translate: 0 0; } 50%, 62% { translate: -230% -150%; } 58% { scale: .85; } 100% { translate: 0 0; } }
.dv__phone { position: absolute; inset-inline-end: 6%; top: 24%; width: 28%; height: 64%; padding: 4.5% 3%; border-radius: 22px; background: var(--bg-canvas); color: var(--text-primary); box-shadow: 0 0 0 4px var(--ink-950), var(--shadow-2); display: flex; flex-direction: column; gap: 5%; animation: float 7s ease-in-out infinite; animation-delay: -2.5s; }
.dv__notch { width: 30%; height: 4px; margin: 0 auto 4%; border-radius: 4px; background: var(--border-default); }
.dv__ph-title { font-weight: 600; font-size: clamp(9px, 2.2cqw, 14px); }
.dv__stat { display: grid; gap: 2px; padding: 8% 9%; border-radius: 10px; background: var(--bg-surface); }
.dv__k { font-size: clamp(8px, 1.7cqw, 11px); color: var(--text-tertiary); }
.dv__v { font-family: var(--font-display); font-weight: 700; font-size: clamp(14px, 3.8cqw, 24px); line-height: 1.1; font-variant-numeric: tabular-nums; }
.dv__v.is-bump { animation: bump 500ms var(--ease-spring); }
.dv__bars { display: flex; align-items: flex-end; gap: 6%; height: 22%; margin-top: auto; }
.dv__bars span, .sv__chart span { flex: 1; height: var(--h); border-radius: 3px 3px 1px 1px; background: var(--gulf-400); transform-origin: bottom; animation: bar-grow 5s var(--ease-out-soft) infinite; animation-delay: calc(var(--i) * 90ms); }
.dv__bars span:last-child, .sv__chart span:last-child { background: var(--red-500); }
@keyframes bar-grow { 0% { transform: scaleY(.1); } 25%, 85% { transform: scaleY(1); } 100% { transform: scaleY(.1); } }
.dv__toast, .sv__toast { position: absolute; display: flex; align-items: center; gap: 12px; padding: 12px 18px 12px 12px; border-radius: 16px; background: var(--bg-surface); box-shadow: inset 0 0 0 1px var(--border-subtle), var(--shadow-2); animation: toast-loop 6s var(--ease-out-soft) infinite; }
.dv__toast { inset-inline-start: 4%; bottom: 6%; }
.dv__toast-ic, .sv__toast-ic { display: grid; place-items: center; width: 36px; height: 36px; flex: none; border-radius: 10px; background: var(--bg-brand-subtle); }
.dv__toast-ic .ic, .sv__toast-ic .ic { width: 18px; height: 18px; }
.dv__toast-t, .sv__toast-t { display: block; font-weight: 600; font-size: clamp(12px, 2.3cqw, 15px); line-height: 1.3; }
.dv__toast-s, .sv__toast-s { display: block; font-size: clamp(11px, 2cqw, 13px); color: var(--text-secondary); white-space: nowrap; }
@keyframes toast-loop { 0%, 8% { opacity: 0; translate: 0 16px; scale: .96; } 16%, 82% { opacity: 1; translate: 0 0; scale: 1; } 92%, 100% { opacity: 0; translate: 0 -8px; } }
.dv__live { position: absolute; inset-inline-end: 5%; top: 5%; }

/* ---------- Process (home) ---------- */
.step__ic { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 20px; border-radius: 12px; background: var(--bg-surface); transition: background-color var(--duration-base); }
.step.is-active .step__ic { background: var(--red-500); }
.step.is-active .step__ic .ic { color: var(--ink-950); --icon-brand: var(--ink-950); }

/* ---------- Industries grid ---------- */
.inds { display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 768px) { .inds { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; } }
@media (min-width: 1100px) { .inds { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.ind {
  display: grid; gap: 10px; align-content: start; padding: clamp(18px, 2vw, 24px); border-radius: var(--radius-lg); min-height: 200px;
  background: var(--bg-surface); box-shadow: inset 0 0 0 1px var(--border-subtle);
  transition: box-shadow var(--duration-base) var(--ease-out-soft), translate var(--duration-base) var(--ease-out-soft), opacity var(--duration-slow) var(--ease-out-soft), background-color var(--duration-base);
}
.ind:hover, .js .ind[data-reveal].is-in:hover { translate: 0 -4px; box-shadow: inset 0 0 0 1.5px var(--bg-brand), var(--shadow-2); }
.ind__ic { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 14px; border-radius: 12px; background: var(--bg-brand-subtle); transition: background-color var(--duration-base); }
.ind__ic .ic { width: 22px; height: 22px; transition: transform 500ms var(--ease-spring); }
.ind:hover .ind__ic { background: var(--red-500); }
.ind:hover .ind__ic .ic { color: var(--ink-950); --icon-brand: var(--ink-950); transform: rotate(-10deg) scale(1.1); }
.ind__t { display: block; font-family: var(--font-display); font-weight: 600; font-size: clamp(16px, 1.5vw, 19px); line-height: 1.25; }
.ind__d { display: block; font-size: 14px; line-height: 1.5; color: var(--text-secondary); }
.ind--cta { padding: 0; background: var(--bg-canvas); color: var(--text-primary); box-shadow: none; position: relative; overflow: hidden; }
.ind--cta a { display: grid; gap: 10px; align-content: start; height: 100%; padding: clamp(18px, 2vw, 24px); }
.ind--cta::after { content: ""; position: absolute; inset-inline-end: -50px; bottom: -50px; width: 160px; height: 160px; border-radius: 50%; background: var(--red-500); opacity: .28; filter: blur(40px); transition: opacity var(--duration-base); }
.ind--cta:hover::after { opacity: .5; }
.ind__link { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 24px; font-weight: 600; font-size: 14px; color: var(--text-brand); }
.ind__link .ic { width: 16px; height: 16px; color: var(--text-brand); transition: transform var(--duration-quick) var(--ease-spring); }
.ind--cta:hover .ind__link .ic { transform: rotate(45deg); }

/* ---------- Footer extras ---------- */
.footer__addr { font-style: normal; font-size: 14px; line-height: 1.6; color: var(--text-tertiary); }
.footer__col--wide ul { grid-template-columns: repeat(2, auto); column-gap: 32px; }
@media (max-width: 599px) { .footer__col--wide ul { grid-template-columns: 1fr; } }

/* =====================================================================
   SERVICE DETAIL
   ===================================================================== */
.shero { position: relative; isolation: isolate; overflow: hidden; padding-block: clamp(24px, 3vw, 40px) clamp(56px, 7vw, 96px); }
.shero .hero__grid { -webkit-mask-image: radial-gradient(ellipse 50% 70% at 78% 45%, #000 20%, transparent 75%); mask-image: radial-gradient(ellipse 50% 70% at 78% 45%, #000 20%, transparent 75%); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 8px; font-family: var(--font-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--text-tertiary); }
.crumbs li + li::before { content: "/"; margin-inline-end: 8px; color: var(--border-strong); }
.crumbs a:hover { color: var(--text-brand); }
.crumbs [aria-current] { color: var(--text-primary); }
.shero__grid { display: grid; gap: clamp(40px, 5vw, 56px); align-items: center; margin-top: clamp(28px, 4vw, 48px); }
@media (min-width: 1100px) { .shero__grid { grid-template-columns: minmax(0, 600px) minmax(0, 1fr); gap: 48px; } }
.shero__copy { display: grid; gap: 26px; align-content: start; }
.shero__title { font-family: var(--font-display); font-weight: 800; font-size: clamp(42px, 5.6vw, 80px); line-height: 1; letter-spacing: -0.035em; }
.shero__title .accent { font-size: 1.16em; line-height: 1; }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); padding-top: 20px; border-top: 1px solid var(--border-subtle); }
.facts li { display: grid; gap: 4px; padding-inline-end: 16px; }
.facts li + li { padding-inline-start: 16px; border-inline-start: 1px solid var(--border-subtle); }
.facts__k { font-family: var(--font-mono); font-size: 11px; line-height: 16px; letter-spacing: .08em; text-transform: uppercase; color: var(--text-tertiary); }
.facts__v { font-family: var(--font-display); font-weight: 700; font-size: clamp(15px, 1.5vw, 19px); line-height: 1.25; }
@media (max-width: 479px) { .facts { grid-template-columns: 1fr; gap: 12px; } .facts li + li { padding-inline-start: 0; border-inline-start: 0; } }

/* dashboard visual */
.sv { position: relative; width: 100%; max-width: 600px; margin-inline: auto; padding: 17% 6% 15%; container-type: inline-size; }
.sv__glow { position: absolute; z-index: -1; inset-inline-start: 20%; top: 10%; width: 70%; aspect-ratio: 1; border-radius: 50%; background: var(--red-500); opacity: .18; filter: blur(70px); animation: drift-b 16s ease-in-out infinite alternate; }
.sv__panel { position: relative; padding: 6%; border-radius: 24px; background: var(--bg-surface); box-shadow: inset 0 0 0 1px var(--border-subtle), var(--shadow-2); animation: float 8s ease-in-out infinite; }
.sv__head { display: flex; align-items: center; gap: 12px; padding-bottom: 5%; margin-bottom: 3%; border-bottom: 1px solid var(--border-subtle); }
.sv__tile { display: grid; place-items: center; width: 44px; height: 44px; flex: none; border-radius: 12px; background: var(--red-500); }
.sv__tile .ic { width: 22px; height: 22px; color: var(--ink-950); --icon-brand: var(--sand-50); }
.sv__title { font-family: var(--font-display); font-weight: 700; font-size: clamp(16px, 3.4cqw, 22px); line-height: 1.2; margin-inline-end: auto; }
.sv__chart { display: flex; align-items: flex-end; gap: 3%; height: 110px; padding: 3% 0 4%; border-bottom: 1px solid var(--border-subtle); margin-bottom: 2%; }
.sv__rows li { display: flex; align-items: center; gap: 12px; padding: 3.2% 0; border-bottom: 1px solid var(--border-subtle); animation: row-in 9s var(--ease-out-soft) infinite; animation-delay: calc(var(--i) * 140ms); }
.sv__rows li:last-child { border-bottom: 0; padding-bottom: 0; }
@keyframes row-in { 0% { opacity: 0; translate: -10px 0; } 6%, 94% { opacity: 1; translate: 0 0; } 100% { opacity: 0; } }
.sv__row-ic { display: grid; place-items: center; width: 36px; height: 36px; flex: none; border-radius: 10px; background: var(--bg-raised); }
.sv__row-ic .ic { width: 18px; height: 18px; }
.sv__row-main { display: grid; min-width: 0; margin-inline-end: auto; }
.sv__row-t { font-weight: 600; font-size: clamp(13px, 2.6cqw, 15px); line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sv__row-s { font-size: clamp(12px, 2.3cqw, 13px); color: var(--text-tertiary); }
.sv__pill { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; font-family: var(--font-mono); font-size: 11px; line-height: 14px; letter-spacing: .04em; white-space: nowrap; }
.sv__pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.sv__pill--ok { background: var(--bg-accent-subtle); color: var(--text-accent); }
.sv__pill--rec { background: var(--bg-brand-subtle); color: var(--text-brand); }
.sv__pill--rec::before { animation: blink 1.2s steps(2, start) infinite; }
.sv__pill--warn { background: var(--bg-raised); color: var(--text-secondary); }
.sv__pill--warn::before { animation: blink 1.6s ease-in-out infinite; }
@keyframes blink { 50% { opacity: .2; } }
.sv__metric { position: absolute; inset-inline-end: 0; top: 0; display: grid; gap: 2px; min-width: 42%; padding: 14px 18px; border-radius: 18px; background: var(--bg-surface); color: var(--text-primary); box-shadow: var(--shadow-2); animation: float 6s ease-in-out infinite; animation-delay: -2s; }
.sv__metric-k { font-family: var(--font-mono); font-size: 11px; line-height: 16px; letter-spacing: .08em; text-transform: uppercase; color: var(--text-tertiary); }
.sv__metric-v { font-family: var(--font-display); font-weight: 700; font-size: clamp(22px, 5.4cqw, 34px); line-height: 1.1; letter-spacing: -0.02em; }
.sv__spark svg { width: 100%; height: 26px; overflow: visible; }
.sv__spark path { fill: none; stroke: var(--gulf-400); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 4s var(--ease-out-soft) infinite; }
.sv__toast { inset-inline-start: 0; bottom: 2%; animation-duration: 7s; }
@media (max-width: 599px) {
  .sv { padding: 24% 0 20%; }
  .sv__metric { inset-inline-end: 4%; padding: 10px 14px; }
  .sv__toast { inset-inline-start: 4%; }
}

/* included features */
.feats { display: grid; gap: 16px; grid-template-columns: 1fr; counter-reset: feat; }
@media (min-width: 700px) { .feats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .feats { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; } }
.feat {
  position: relative; overflow: hidden; display: grid; gap: 10px; align-content: start; padding: clamp(24px, 2.6vw, 32px); border-radius: var(--radius-lg);
  background: var(--bg-surface); box-shadow: inset 0 0 0 1px var(--border-subtle);
  transition: box-shadow var(--duration-base) var(--ease-out-soft), translate var(--duration-base) var(--ease-out-soft), opacity var(--duration-slow) var(--ease-out-soft);
}
.feat::after { content: ""; position: absolute; inset-inline-start: 0; bottom: 0; height: 3px; width: 100%; background: var(--bg-brand); transform: scaleX(0); transform-origin: left; transition: transform 500ms var(--ease-out-soft); }
.feat:hover, .js .feat[data-reveal].is-in:hover { translate: 0 -4px; box-shadow: inset 0 0 0 1px var(--border-default), var(--shadow-2); }
.feat:hover::after { transform: scaleX(1); }
.feat__ic { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 18px; border-radius: 14px; background: var(--bg-brand-subtle); transition: background-color var(--duration-base); }
.feat__ic .ic { width: 26px; height: 26px; transition: transform 500ms var(--ease-spring); }
.feat:hover .feat__ic { background: var(--red-500); }
.feat:hover .feat__ic .ic { color: var(--ink-950); --icon-brand: var(--ink-950); transform: scale(1.12) rotate(-8deg); }
.feat__t { font-family: var(--font-display); font-weight: 600; font-size: clamp(19px, 1.7vw, 22px); line-height: 1.25; }
.feat__d { color: var(--text-secondary); font-size: 15px; line-height: 1.6; }

/* timeline */
.tl { position: relative; display: grid; gap: 28px; grid-template-columns: 1fr; padding-inline-start: 28px; }
@media (min-width: 900px) { .tl { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; padding-inline-start: 0; padding-top: 36px; } }
.tl__line { position: absolute; inset-inline-start: 7px; top: 8px; bottom: 8px; width: 2px; background: var(--border-subtle); border-radius: 2px; overflow: hidden; }
.tl__line span { position: absolute; inset: 0; background: var(--bg-brand); transform: scaleY(var(--p, 0)); transform-origin: top; transition: transform 1.6s var(--ease-out-soft); }
@media (min-width: 900px) {
  .tl__line { inset-inline-start: 0; inset-inline-end: 0; top: 7px; bottom: auto; width: auto; height: 2px; }
  .tl__line span { transform: scaleX(var(--p, 0)); transform-origin: left; }
}
.tl.is-run .tl__line span { --p: 1; }
.tl__step { position: relative; display: grid; gap: 8px; align-content: start; }
.tl__dot { position: absolute; inset-inline-start: -28px; top: 2px; width: 16px; height: 16px; border-radius: 50%; background: var(--bg-canvas); box-shadow: inset 0 0 0 2px var(--border-default); transition: box-shadow 400ms var(--ease-out-soft), background-color 400ms; z-index: 1; }
@media (min-width: 900px) { .tl__dot { inset-inline-start: 0; top: -36px; } }
.tl.is-run .tl__dot { background: var(--red-500); box-shadow: 0 0 0 5px var(--bg-brand-subtle); }
.tl.is-run .tl__step:nth-child(1) .tl__dot { transition-delay: 0ms; }
.tl.is-run .tl__step:nth-child(2) .tl__dot { transition-delay: 400ms; }
.tl.is-run .tl__step:nth-child(3) .tl__dot { transition-delay: 800ms; }
.tl.is-run .tl__step:nth-child(4) .tl__dot { transition-delay: 1200ms; }
.tl__step .muted { font-size: 15px; line-height: 1.6; }

/* fit + stack */
.fit-grid { display: grid; gap: 16px; }
@media (min-width: 1024px) { .fit-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; } }
.fit, .stack { position: relative; overflow: hidden; display: grid; gap: 20px; align-content: start; padding: clamp(28px, 3.4vw, 44px); border-radius: var(--radius-xl); }
.fit { background: var(--bg-brand-subtle); }
.fit__list { display: grid; gap: 4px; }
.fit__list li { display: flex; gap: 14px; align-items: flex-start; padding: 14px 0; border-bottom: 1px solid color-mix(in srgb, var(--text-brand) 18%, transparent); font-weight: 500; font-size: 17px; line-height: 1.5; }
.fit__list li:last-child { border-bottom: 0; }
.fit__ic { display: grid; place-items: center; width: 28px; height: 28px; flex: none; border-radius: 50%; background: var(--red-500); }
.fit__ic .ic { width: 16px; height: 16px; color: var(--ink-950); }
.stack { background: var(--bg-canvas); color: var(--text-primary); isolation: isolate; }
.stack__glow { position: absolute; z-index: -1; inset-inline-end: -100px; top: -120px; width: 320px; height: 320px; border-radius: 50%; background: var(--red-500); opacity: .2; filter: blur(70px); animation: drift-a 20s ease-in-out infinite alternate; }
.stack__d { color: var(--text-secondary); max-width: 460px; }
.stack__list { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.stack__list li {
  padding: 10px 16px; border-radius: 999px; background: color-mix(in srgb, var(--bg-surface) 60%, transparent); box-shadow: inset 0 0 0 1px var(--border-default);
  font-weight: 600; font-size: 14px; line-height: 18px; animation: chip-bob 6s ease-in-out infinite; animation-delay: calc(var(--i) * -0.7s);
  transition: background-color var(--duration-quick), color var(--duration-quick);
}
.stack__list li:hover { background: var(--red-500); color: var(--ink-950); }

.rel-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: clamp(28px, 3vw, 40px); }

@media (prefers-reduced-motion: reduce) {
  .bento__chips li, .stack__list li, .dv__browser, .dv__phone, .dv__line, .dv__btn--brand, .dv__cursor, .dv__bars span, .sv__chart span,
  .dv__toast, .sv__toast, .sv__panel, .sv__metric, .sv__rows li, .sv__spark path, .bento__glow, .stack__glow, .sv__glow { animation: none !important; }
  .sv__spark path { stroke-dashoffset: 0; }
  .dv__cursor { display: none; }
}

@media (max-width: 599px) {
  .step { padding: 20px; }
  .step__ic { width: 40px; height: 40px; margin-bottom: 8px; }
}

/* ---------- Numbers band: stat cards ---------- */
.stats-band { position: relative; overflow: hidden; isolation: isolate; padding-block: clamp(64px, 8vw, 112px); }
.stats-band__glow { position: absolute; z-index: -1; inset-inline-end: -160px; top: -260px; width: 640px; height: 640px; border-radius: 50%; background: var(--red-500); opacity: .2; filter: blur(140px); animation: drift-a 22s ease-in-out infinite alternate; }
.stats-band__grid {
  position: absolute; inset: 0; z-index: -1;
  background-image: linear-gradient(var(--border-subtle) 1px, transparent 1px), linear-gradient(90deg, var(--border-subtle) 1px, transparent 1px);
  background-size: 64px 64px; opacity: .6;
  -webkit-mask-image: radial-gradient(ellipse 60% 80% at 80% 0%, #000, transparent 70%); mask-image: radial-gradient(ellipse 60% 80% at 80% 0%, #000, transparent 70%);
}
.stats-head { display: grid; gap: 20px; margin-bottom: clamp(32px, 4vw, 48px); }
.stats-head__main { display: grid; gap: 16px; justify-items: start; }
.stats-head .muted { max-width: 400px; }
@media (min-width: 1024px) { .stats-head { grid-template-columns: 1fr auto; align-items: end; } }
.scards { display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 1100px) { .scards { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; } }
.scard {
  position: relative; overflow: hidden; isolation: isolate; display: flex; flex-direction: column; gap: clamp(14px, 1.6vw, 20px);
  padding: clamp(16px, 2.2vw, 28px); border-radius: clamp(18px, 2vw, 24px);
  background: var(--bg-surface); box-shadow: inset 0 0 0 1px var(--border-subtle);
  transition: box-shadow var(--duration-base) var(--ease-out-soft), translate var(--duration-base) var(--ease-out-soft), opacity var(--duration-slow) var(--ease-out-soft);
}
.scard:hover, .js .scard[data-reveal].is-in:hover { translate: 0 -6px; box-shadow: inset 0 0 0 1.5px var(--bg-brand), 0 30px 60px -30px rgb(242 48 77 / .45); }
.scard__glow { position: absolute; z-index: -1; left: 50%; top: -40%; width: 120%; aspect-ratio: 1; translate: -50% 0; border-radius: 50%; background: radial-gradient(closest-side, rgb(242 48 77 / .18), transparent); opacity: 0; transition: opacity 500ms var(--ease-out-soft); }
.scard:hover .scard__glow { opacity: 1; }
.scard__top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.scard__ic { display: grid; place-items: center; width: clamp(36px, 3.2vw, 44px); height: clamp(36px, 3.2vw, 44px); flex: none; border-radius: 12px; background: var(--bg-brand-subtle); transition: background-color var(--duration-base); }
.scard__ic .ic { width: 22px; height: 22px; transition: transform 600ms var(--ease-spring); }
.scard:hover .scard__ic { background: var(--red-500); }
.scard:hover .scard__ic .ic { color: var(--ink-950); --icon-brand: var(--ink-950); transform: rotate(-12deg) scale(1.1); }
.scard__kick { font-family: var(--font-mono); font-size: 11px; line-height: 16px; letter-spacing: .08em; text-transform: uppercase; color: var(--text-tertiary); text-align: end; }
.scard__value { font-family: var(--font-display); font-weight: 800; font-size: clamp(30px, 4.4vw, 60px); line-height: 1; letter-spacing: -0.035em; white-space: nowrap; font-variant-numeric: tabular-nums; }
.scard__label { margin-top: -6px; flex: 1; font-size: 14px; line-height: 1.55; color: var(--text-secondary); }
.scard__vis { display: grid; gap: 10px; padding-top: clamp(12px, 1.4vw, 18px); border-top: 1px solid var(--border-subtle); }
.scard__cap { display: flex; justify-content: space-between; gap: 8px; font-family: var(--font-mono); font-size: 11px; line-height: 16px; letter-spacing: .08em; text-transform: uppercase; color: var(--text-tertiary); }
.scard__up { display: inline-flex; align-items: center; gap: 6px; color: var(--text-accent); }
@media (max-width: 599px) { .scard__up { display: none; } .scard__kick { font-size: 10px; } }

/* bars: grow in, last bar is today */
.sbars { display: flex; align-items: flex-end; gap: clamp(3px, .4vw, 5px); height: clamp(26px, 2.6vw, 36px); }
.sbars span { flex: 1; height: var(--h); border-radius: 2px 2px 1px 1px; background: var(--bg-accent); transform: scaleY(0); transform-origin: bottom; }
.sbars span:last-child { background: var(--red-500); }
.is-in .sbars span { animation: sbar 900ms var(--ease-spring) forwards; animation-delay: calc(var(--i) * 45ms + 200ms); }
@keyframes sbar { to { transform: scaleY(1); } }
.scard:hover .sbars span:last-child { animation: sbar-pulse 1.2s ease-in-out infinite; transform: scaleY(1); }
@keyframes sbar-pulse { 50% { transform: scaleY(.6); } }
@media (max-width: 599px) { .sbars span:nth-child(-n+4) { display: none; } }

/* uptime strip: fills left to right */
.sstrip { display: flex; gap: 3px; height: clamp(26px, 2.6vw, 36px); }
.sstrip span { flex: 1; border-radius: 2px; background: var(--bg-accent); opacity: .15; }
.sstrip span.is-warn { background: #F5A524; }
.is-in .sstrip span { animation: sfill 400ms var(--ease-out-soft) forwards; animation-delay: calc(var(--i) * 25ms + 200ms); }
@keyframes sfill { to { opacity: 1; } }
.scard:hover .sstrip span { animation: sscan 1.6s ease-in-out infinite; animation-delay: calc(var(--i) * 30ms); opacity: 1; }
@keyframes sscan { 0%, 100% { transform: scaleY(1); } 15% { transform: scaleY(.55); } }
@media (max-width: 599px) { .sstrip span:nth-child(-n+10) { display: none; } }

/* coverage: day pills light up in turn */
.sdays { display: grid; grid-template-columns: repeat(7, 1fr); gap: clamp(3px, .45vw, 6px); }
.sdays span {
  display: grid; place-items: center; height: clamp(24px, 2.6vw, 36px); border-radius: 999px;
  font-family: var(--font-mono); font-size: clamp(10px, .9vw, 13px); color: var(--text-accent); background: var(--bg-accent-subtle);
}
.is-in .sdays span { animation: sday 7s linear infinite; animation-delay: calc(var(--i) * 1s); }
@keyframes sday { 0%, 12% { background: var(--bg-accent); color: var(--ink-950); } 16%, 100% { background: var(--bg-accent-subtle); color: var(--text-accent); } }
.scard__up .live-dot { width: 6px; height: 6px; }

/* timeline: track draws in, dots pop */
.sline { position: relative; height: clamp(26px, 2.6vw, 36px); display: flex; align-items: center; justify-content: space-between; }
.sline__track, .sline__fill { position: absolute; inset-inline-start: 0; inset-inline-end: 0; top: 50%; height: 2px; margin-top: -1px; border-radius: 2px; background: var(--border-default); }
.sline__fill { background: var(--bg-accent); transform: scaleX(0); transform-origin: left; }
.is-in .sline__fill { transition: transform 1.6s var(--ease-out-soft) 300ms; transform: scaleX(1); }
.sline__dot { position: relative; width: 10px; height: 10px; border-radius: 50%; background: var(--bg-accent); scale: 0; }
.sline__dot.is-now { width: 14px; height: 14px; background: var(--red-500); }
.sline__dot.is-now::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--red-500); animation: ping 1.8s var(--ease-standard) infinite; }
.is-in .sline__dot { transition: scale 500ms var(--ease-spring); transition-delay: calc(var(--i) * 350ms + 300ms); scale: 1; }

/* ---------- Custom cursor (dot + lagging ring) ---------- */
html.has-cursor, html.has-cursor body, html.has-cursor a, html.has-cursor button, html.has-cursor label, html.has-cursor [role="button"], html.has-cursor select { cursor: none; }
html.has-cursor input, html.has-cursor textarea, html.has-cursor [contenteditable] { cursor: text; }
html.has-cursor input[type="checkbox"], html.has-cursor input[type="radio"] { cursor: none; }
.cursor-dot, .cursor-ring { position: fixed; left: 0; top: 0; z-index: 9999; pointer-events: none; border-radius: 50%; opacity: 0; will-change: transform; }
.cursor-dot { width: 8px; height: 8px; margin: -4px 0 0 -4px; background: var(--red-500); transition: opacity 200ms, width 250ms var(--ease-out-soft), height 250ms var(--ease-out-soft), margin 250ms var(--ease-out-soft); }
.cursor-ring {
  width: 36px; height: 36px; margin: -18px 0 0 -18px; border: 1.5px solid rgb(255 255 255 / .75); mix-blend-mode: difference;
  transition: opacity 200ms, width 260ms var(--ease-out-soft), height 260ms var(--ease-out-soft), margin 260ms var(--ease-out-soft), background-color 260ms, border-color 260ms;
}
.cursor-on .cursor-dot, .cursor-on .cursor-ring { opacity: 1; }
.cursor-hover .cursor-ring { width: 56px; height: 56px; margin: -28px 0 0 -28px; mix-blend-mode: normal; border-color: var(--red-500); background: rgb(242 48 77 / .12); }
.cursor-hover .cursor-dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; }
.cursor-press .cursor-ring { width: 26px; height: 26px; margin: -13px 0 0 -13px; border-color: var(--red-500); }
.cursor-text .cursor-dot, .cursor-text .cursor-ring { opacity: 0; }
@media (hover: none), (pointer: coarse) { .cursor-dot, .cursor-ring { display: none; } }

@media (prefers-reduced-motion: reduce) {
  .stats-band__glow, .sdays span, .sbars span, .sstrip span { animation: none !important; }
  .sbars span { transform: none; } .sstrip span { opacity: 1; }
  .sline__fill { transform: none; } .sline__dot { scale: 1; }
}

/* =====================================================================
   ARABIC / RTL
   ===================================================================== */
html[lang="ar"] {
  --font-display: "Readex Pro", "IBM Plex Sans Arabic", system-ui, sans-serif;
  --font-body: "IBM Plex Sans Arabic", "Readex Pro", system-ui, sans-serif;
  --font-serif: "Amiri", "Readex Pro", serif;
  --font-mono: "IBM Plex Sans Arabic", "Readex Pro", system-ui, sans-serif;
}
html[lang="ar"] body, html[lang="ar"] body * { letter-spacing: 0 !important; }
html[lang="ar"] body { line-height: 1.75; }
html[lang="ar"] .accent { font-style: normal; font-weight: 700; font-size: 1.06em; }
html[lang="ar"] .h1, html[lang="ar"] .h2, html[lang="ar"] .h3 { line-height: 1.3; }
html[lang="ar"] .h1--xl { line-height: 1.22; }
html[lang="ar"] .hero__title, html[lang="ar"] .shero__title { font-weight: 700; line-height: 1.24; }
html[lang="ar"] .hero__title { font-size: clamp(40px, 5.4vw, 76px); }
html[lang="ar"] .hero__title .accent { font-size: 1.12em; }
html[lang="ar"] .w { padding: 0 0 .3em; margin: 0 0 -.3em; }
html[lang="ar"] .w--accent { padding-bottom: .34em; margin-bottom: -.34em; }
html[lang="ar"] .rotator { padding: 0 0 .3em; }
html[lang="ar"] .rotator::after { inset-inline: 0; bottom: .12em; }
html[lang="ar"] .overline, html[lang="ar"] .scard__kick, html[lang="ar"] .scard__cap, html[lang="ar"] .facts__k, html[lang="ar"] .crumbs ol,
html[lang="ar"] .svc-group__count, html[lang="ar"] .float-card__k, html[lang="ar"] .menu__meta, html[lang="ar"] .sv__metric-k,
html[lang="ar"] .scroll-cue, html[lang="ar"] .card__tag { font-size: 13px; line-height: 1.5; text-transform: none; font-weight: 500; }
html[lang="ar"] .stat__value, html[lang="ar"] .scard__value, html[lang="ar"] .float-card__big, html[lang="ar"] .sv__metric-v { font-weight: 700; }
html[lang="ar"] .marquee__item { font-weight: 600; line-height: 1.5; }
html[lang="ar"] .menu__links a { line-height: 1.4; }
html[lang="ar"] .acc-item__btn, html[lang="ar"] .feat__t, html[lang="ar"] .ind__t, html[lang="ar"] .reason__t { line-height: 1.5; }
html[lang="ar"] .btn { font-weight: 600; }
.lang__en { font-family: var(--font-body); color: var(--text-secondary); }
html[lang="ar"] .lang__en { font-family: "Hanken Grotesk", system-ui, sans-serif; }
.lang__en:hover { color: var(--text-brand); }
.menu__lang { display: flex; justify-content: center; }

/* numbers, phones and emails always read left to right */
[dir="rtl"] a[href^="tel:"], [dir="rtl"] bdi, [dir="rtl"] .urgent-card__phone { direction: ltr; unicode-bidi: isolate; }
[dir="rtl"] input[type="tel"], [dir="rtl"] input[type="email"] { direction: ltr; text-align: right; }

/* arrows point the reading direction */
[dir="rtl"] svg.ic:has(> use[href="#i-arrow-r"]), [dir="rtl"] svg.ic:has(> use[href="#i-arrow-ur"]) { scale: -1 1; }

/* growth animations start from the right */
[dir="rtl"] .nav__links > li > a::after, [dir="rtl"] .rotator::after, [dir="rtl"] .step::after, [dir="rtl"] .feat::after,
[dir="rtl"] .page-title .accent::after { transform-origin: right; }
@media (min-width: 900px) { [dir="rtl"] .tl__line span { transform-origin: right; } }
[dir="rtl"] .spot__row:hover { background: linear-gradient(270deg, var(--bg-brand-subtle), transparent); }
[dir="rtl"] .reason:hover, [dir="rtl"].js .reason[data-reveal].is-in:hover { translate: -6px 0; box-shadow: inset -3px 0 0 var(--bg-brand), inset 0 0 0 1px var(--border-default); }
[dir="rtl"] .nav-cta { padding: 0 18px 0 14px; }
[dir="rtl"] .hero__grid { -webkit-mask-image: radial-gradient(ellipse 60% 70% at 28% 40%, #000 25%, transparent 75%); mask-image: radial-gradient(ellipse 60% 70% at 28% 40%, #000 25%, transparent 75%); }
[dir="rtl"] .shero .hero__grid { -webkit-mask-image: radial-gradient(ellipse 50% 70% at 22% 45%, #000 20%, transparent 75%); mask-image: radial-gradient(ellipse 50% 70% at 22% 45%, #000 20%, transparent 75%); }
[dir="rtl"] .stats-band__grid { -webkit-mask-image: radial-gradient(ellipse 60% 80% at 20% 0%, #000, transparent 70%); mask-image: radial-gradient(ellipse 60% 80% at 20% 0%, #000, transparent 70%); }
[dir="rtl"] .sdays { direction: rtl; }
/* the wordmark and graphic numbers keep their own direction */
[dir="rtl"] .logo, [dir="rtl"] .logo__svg { direction: ltr; }
[dir="rtl"] .scard__value, [dir="rtl"] .stat__value, [dir="rtl"] .float-card__big, [dir="rtl"] .float-card__num,
[dir="rtl"] .sv__metric-v, [dir="rtl"] .facts__v, [dir="rtl"] .dv__v { unicode-bidi: plaintext; }
/* hero cards swap sides so nothing hangs off the page edge (the orbit itself is LTR) */
[dir="rtl"] .float-card--health { inset-inline-start: auto; inset-inline-end: -10%; }
[dir="rtl"] .float-card--tickets { inset-inline-end: auto; inset-inline-start: -2%; }
[dir="rtl"] .float-card--enquiry { inset-inline-start: auto; inset-inline-end: -4%; }
@media (max-width: 599px) {
  [dir="rtl"] .float-card--health { inset-inline-end: -2%; }
  [dir="rtl"] .float-card--tickets { inset-inline-start: -2%; }
}
[dir="rtl"] .sline__fill { transform-origin: right; }
