/* =====================================================================
   SELIN DIGITAL SOLUTIONS — Design System
   A light, premium, motion-rich theme for a digital/IT/AI agency.
   (Light variant of the main site — identical layout & content, lighter look.)
   Sections: 1) Tokens 2) Reset 3) Layout 4) Background FX 5) Header/Nav
   6) Buttons 7) Hero 8) Components 9) Sections 10) Footer 11) Motion
   12) Responsive
   ===================================================================== */

/* ---------- 1. DESIGN TOKENS ---------- */
:root {
  /* Surfaces */
  --bg: #f5f7fb;
  --bg-2: #ffffff;
  --surface: rgba(15, 23, 42, 0.035);
  --surface-2: rgba(15, 23, 42, 0.06);
  --stroke: rgba(15, 23, 42, 0.1);
  --stroke-strong: rgba(15, 23, 42, 0.18);

  /* Brand */
  --teal: #2dd4bf;
  --cyan: #22d3ee;
  --violet: #8b5cf6;
  --indigo: #6366f1;
  --amber: #f5b13d;
  --rose: #fb7185;

  /* Text */
  --text: #0d1526;
  --muted: #56627a;
  --muted-2: #828ea3;

  /* Gradients */
  --grad-brand: linear-gradient(120deg, var(--teal), var(--cyan) 45%, var(--violet));
  --grad-brand-soft: linear-gradient(120deg, #2dd4bf2e, #22d3ee1f 45%, #8b5cf62e);
  --grad-text: linear-gradient(100deg, #0d9488, #0891b2 40%, #7c3aed);

  /* Typography */
  --font-display: "Space Grotesk", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;

  /* Sizing */
  --maxw: 1240px;
  --radius: 18px;
  --radius-lg: 28px;
  --radius-sm: 12px;

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --dur: 0.6s;

  /* Shadow */
  --shadow: 0 24px 60px -22px rgba(30, 50, 90, 0.22);
  --glow-teal: 0 0 0 1px rgba(45, 212, 191, 0.4), 0 18px 50px -18px rgba(45, 212, 191, 0.4);

  /* Themed surfaces (formerly hard-coded — now swap with the theme) */
  --glass-header: rgba(255, 255, 255, 0.72);
  --glass-card: rgba(255, 255, 255, 0.78);
  --overlay-nav: rgba(245, 247, 251, 0.92);
  --media-shade: rgba(15, 23, 42, 0.35);
  --stat-hover: #eef2f9;
  --modal-backdrop: rgba(15, 23, 42, 0.45);
  --grid-line: rgba(15, 23, 42, 0.04);
  --select-fg: #04121a;

  color-scheme: light;
}

/* ---------- DARK THEME ----------
   Applied when the visitor's OS prefers dark (and they haven't chosen
   manually), or when they explicitly pick dark via the header toggle. */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    --bg: #060912;
    --bg-2: #0a0f1d;
    --surface: rgba(255, 255, 255, 0.035);
    --surface-2: rgba(255, 255, 255, 0.06);
    --stroke: rgba(255, 255, 255, 0.09);
    --stroke-strong: rgba(255, 255, 255, 0.16);
    --text: #eaf0fa;
    --muted: #9aa7bd;
    --muted-2: #6b7891;
    --grad-brand-soft: linear-gradient(120deg, #2dd4bf33, #22d3ee22 45%, #8b5cf633);
    --grad-text: linear-gradient(100deg, #7af0e0, #5bc8f0 40%, #b79bff);
    --shadow: 0 24px 60px -22px rgba(0, 0, 0, 0.7);
    --glow-teal: 0 0 0 1px rgba(45, 212, 191, 0.35), 0 18px 50px -18px rgba(45, 212, 191, 0.45);
    --glass-header: rgba(6, 9, 18, 0.72);
    --glass-card: rgba(10, 15, 29, 0.7);
    --overlay-nav: rgba(6, 9, 18, 0.92);
    --media-shade: rgba(6, 9, 18, 0.8);
    --stat-hover: #0d1426;
    --modal-backdrop: rgba(3, 5, 11, 0.7);
    --grid-line: rgba(255, 255, 255, 0.025);
    --select-fg: #fff;
    color-scheme: dark;
  }
}

:root[data-theme="dark"] {
  --bg: #060912;
  --bg-2: #0a0f1d;
  --surface: rgba(255, 255, 255, 0.035);
  --surface-2: rgba(255, 255, 255, 0.06);
  --stroke: rgba(255, 255, 255, 0.09);
  --stroke-strong: rgba(255, 255, 255, 0.16);
  --text: #eaf0fa;
  --muted: #9aa7bd;
  --muted-2: #6b7891;
  --grad-brand-soft: linear-gradient(120deg, #2dd4bf33, #22d3ee22 45%, #8b5cf633);
  --grad-text: linear-gradient(100deg, #7af0e0, #5bc8f0 40%, #b79bff);
  --shadow: 0 24px 60px -22px rgba(0, 0, 0, 0.7);
  --glow-teal: 0 0 0 1px rgba(45, 212, 191, 0.35), 0 18px 50px -18px rgba(45, 212, 191, 0.45);
  --glass-header: rgba(6, 9, 18, 0.72);
  --glass-card: rgba(10, 15, 29, 0.7);
  --overlay-nav: rgba(6, 9, 18, 0.92);
  --media-shade: rgba(6, 9, 18, 0.8);
  --stat-hover: #0d1426;
  --modal-backdrop: rgba(3, 5, 11, 0.7);
  --grid-line: rgba(255, 255, 255, 0.025);
  --select-fg: #fff;
  color-scheme: dark;
}

/* ---------- 2. RESET ---------- */
*,
*::before,
*::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 16px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { list-style: none; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 4px; }
::selection { background: rgba(45, 212, 191, 0.3); color: var(--select-fg); }

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.08; letter-spacing: -0.02em; overflow-wrap: break-word; }
p, li, a, span { overflow-wrap: break-word; }

/* Custom scrollbar */
::-webkit-scrollbar { width: 11px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: linear-gradient(var(--teal), var(--violet)); border-radius: 20px; border: 3px solid var(--bg); }

/* ---------- 3. LAYOUT ---------- */
.container { width: min(100% - 2.5rem, var(--maxw)); margin-inline: auto; }
.section { padding: clamp(4.5rem, 10vw, 9rem) 0; position: relative; }
.section--tight { padding: clamp(3rem, 6vw, 5rem) 0; }

.grad-text {
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 0.55rem;
  font-family: var(--font-display);
  font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--teal);
  flex-wrap: wrap; max-width: 100%;
}
.eyebrow::before {
  content: ""; width: 1.6rem; height: 1px;
  background: linear-gradient(90deg, var(--teal), transparent);
}
.eyebrow--center::before { display: none; }

.section__head { max-width: 640px; margin-bottom: 3.5rem; }
.section__head--center { margin-inline: auto; text-align: center; }
.section__title {
  font-size: clamp(2rem, 4.6vw, 3.2rem); margin: 1rem 0 1.1rem;
}
.section__lead { color: var(--muted); font-size: 1.07rem; }

/* ---------- 4. BACKGROUND FX ---------- */
.fx-bg {
  position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background:
    radial-gradient(60% 50% at 15% 0%, rgba(45, 212, 191, 0.12), transparent 60%),
    radial-gradient(55% 50% at 85% 10%, rgba(139, 92, 246, 0.12), transparent 60%),
    radial-gradient(50% 50% at 50% 100%, rgba(34, 211, 238, 0.09), transparent 60%),
    var(--bg);
}
.fx-grid {
  position: fixed; inset: 0; z-index: -2; pointer-events: none; opacity: 0.6;
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(120% 90% at 50% 0%, #000 35%, transparent 80%);
}
.fx-noise {
  position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: 0.035; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
/* Cursor glow follower */
.cursor-glow {
  position: fixed; top: 0; left: 0; width: 380px; height: 380px; z-index: -1;
  pointer-events: none; border-radius: 50%;
  background: radial-gradient(circle, rgba(45, 212, 191, 0.12), transparent 65%);
  transform: translate(-50%, -50%);
  transition: opacity 0.4s ease; opacity: 0;
}

/* ---------- 5. HEADER / NAV ---------- */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.1rem clamp(1.25rem, 4vw, 3rem);
  transition: padding 0.4s var(--ease), background 0.4s ease, border-color 0.4s ease;
  border-bottom: 1px solid transparent;
}
.header.is-scrolled {
  background: var(--glass-header);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom-color: var(--stroke);
  padding-block: 0.7rem;
}

.logo { display: flex; align-items: center; gap: 0.7rem; }
.logo__mark {
  width: 42px; height: 42px; border-radius: 12px; flex-shrink: 0;
  display: grid; place-items: center; position: relative;
  background: var(--grad-brand);
  font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; color: #04121a;
  box-shadow: 0 8px 22px -8px rgba(45, 212, 191, 0.7);
}
.logo__mark::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  background: var(--grad-brand); filter: blur(14px); opacity: 0.5; z-index: -1;
}
.logo__name { display: flex; flex-direction: column; line-height: 1.05; }
.logo__name strong { font-family: var(--font-display); font-size: 1.2rem; font-weight: 700; letter-spacing: -0.01em; }
.logo__name small { font-size: 0.62rem; color: var(--muted); letter-spacing: 0.22em; text-transform: uppercase; margin-top: 1px; }
/* Real brand logo lockup: transparent hexagon mark + wordmark text */
.logo__mark-img { width: 40px; height: 40px; object-fit: contain; flex-shrink: 0; transition: width 0.4s var(--ease), height 0.4s var(--ease); filter: drop-shadow(0 4px 14px rgba(37, 117, 255, 0.4)); }
.header.is-scrolled .logo__mark-img { width: 34px; height: 34px; }
.footer .logo__mark-img { width: 48px; height: 48px; }
.nav-overlay__mark { width: 72px; height: 72px; object-fit: contain; margin-bottom: 1.6rem; filter: drop-shadow(0 8px 26px rgba(37, 117, 255, 0.5)); }
.brand-watermark { position: absolute; pointer-events: none; opacity: 0.06; z-index: 0; user-select: none; }

.nav { display: flex; align-items: center; gap: 0.35rem; }
.nav__link {
  position: relative; padding: 0.55rem 0.9rem; border-radius: 10px;
  font-size: 0.92rem; font-weight: 500; color: var(--muted);
  transition: color 0.25s ease, background 0.25s ease;
}
.nav__link:hover { color: var(--text); background: var(--surface); }
.nav__link.is-active { color: var(--text); }
.nav__link.is-active::after {
  content: ""; position: absolute; left: 0.9rem; right: 0.9rem; bottom: 0.3rem; height: 2px;
  background: var(--grad-brand); border-radius: 2px;
}

.header__actions { display: flex; align-items: center; gap: 0.8rem; }

.hamburger {
  display: none; width: 44px; height: 44px; border-radius: 11px;
  border: 1px solid var(--stroke); background: var(--surface);
  position: relative; flex-direction: column; gap: 5px; align-items: center; justify-content: center;
}
.hamburger span { width: 20px; height: 2px; background: var(--text); border-radius: 2px; transition: transform 0.35s var(--ease), opacity 0.25s ease; }
.hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.is-open span:nth-child(2) { opacity: 0; }
.hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav overlay */
.nav-overlay {
  position: fixed; inset: 0; z-index: 99;
  background: var(--overlay-nav);
  backdrop-filter: blur(22px); -webkit-backdrop-filter: blur(22px);
  display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 0.3rem;
  opacity: 0; visibility: hidden; transition: opacity 0.4s ease, visibility 0.4s;
}
.nav-overlay.is-open { opacity: 1; visibility: visible; }
.nav-overlay__link {
  font-family: var(--font-display); font-size: clamp(1.8rem, 8vw, 3rem); font-weight: 700;
  color: var(--text); padding: 0.4rem 1rem; opacity: 0; transform: translateY(24px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease), color 0.25s;
}
.nav-overlay.is-open .nav-overlay__link { opacity: 1; transform: none; }
.nav-overlay__link:nth-child(1) { transition-delay: 0.08s; }
.nav-overlay__link:nth-child(2) { transition-delay: 0.14s; }
.nav-overlay__link:nth-child(3) { transition-delay: 0.2s; }
.nav-overlay__link:nth-child(4) { transition-delay: 0.26s; }
.nav-overlay__link:nth-child(5) { transition-delay: 0.32s; }
.nav-overlay__link:nth-child(6) { transition-delay: 0.38s; }
.nav-overlay__link:hover { color: var(--teal); }
.nav-overlay__meta { margin-top: 2rem; color: var(--muted); text-align: center; font-size: 0.9rem; }

/* Language switch (flags) */
.lang-switch { display: inline-flex; gap: 3px; padding: 3px; border-radius: 999px; border: 1px solid var(--stroke); background: var(--surface); flex-shrink: 0; }
.lang-switch__btn { width: 30px; height: 21px; border-radius: 5px; overflow: hidden; display: grid; place-items: center; opacity: 0.45; transition: opacity 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease; border: 1px solid transparent; }
.lang-switch__btn svg { width: 100%; height: 100%; display: block; object-fit: cover; }
.lang-switch__btn:hover { opacity: 0.85; }
.lang-switch__btn.is-active { opacity: 1; box-shadow: 0 0 0 1px var(--stroke-strong), 0 0 0 3px rgba(45, 212, 191, 0.18); }
@media (max-width: 420px) { .lang-switch { display: none; } }

/* ---------- 6. BUTTONS ---------- */
.btn {
  --b: 0;
  position: relative; display: inline-flex; align-items: center; gap: 0.6rem;
  padding: 0.92rem 1.6rem; border-radius: 999px;
  font-family: var(--font-display); font-weight: 600; font-size: 0.95rem;
  transition: transform 0.3s var(--ease), box-shadow 0.3s ease, background 0.3s ease, color 0.3s;
  white-space: nowrap; overflow: hidden;
}
.btn svg { width: 18px; height: 18px; transition: transform 0.3s var(--ease); }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--primary { background: var(--grad-brand); color: #04121a; box-shadow: 0 14px 34px -12px rgba(45, 212, 191, 0.7); }
.btn--primary:hover { box-shadow: 0 20px 46px -12px rgba(45, 212, 191, 0.85); }
.btn--primary:hover svg { transform: translateX(4px); }
.btn--ghost { background: var(--surface); color: var(--text); border: 1px solid var(--stroke-strong); }
.btn--ghost:hover { background: var(--surface-2); border-color: var(--teal); }
.btn--lg { padding: 1.05rem 2rem; font-size: 1rem; }
.btn--block { width: 100%; justify-content: center; }

.book-btn {
  padding: 0.62rem 1.2rem; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--stroke-strong);
  font-family: var(--font-display); font-weight: 600; font-size: 0.9rem; color: var(--text);
  transition: border-color 0.25s, background 0.25s, transform 0.25s;
}
.book-btn:hover { border-color: var(--teal); background: var(--surface-2); transform: translateY(-1px); }

/* Dark / light theme toggle (injected next to the logo by script.js) */
.theme-toggle {
  width: 40px; height: 40px; border-radius: 999px; flex-shrink: 0;
  display: grid; place-items: center; color: var(--text);
  border: 1px solid var(--stroke-strong); background: var(--surface);
  transition: border-color 0.25s, background 0.25s, transform 0.25s, color 0.25s;
}
.theme-toggle:hover { border-color: var(--teal); background: var(--surface-2); transform: translateY(-1px); }
.theme-toggle svg { width: 18px; height: 18px; }
/* Show the sun in dark mode (click → light), the moon in light mode (click → dark) */
.theme-toggle .ic-sun { display: none; }
.theme-toggle .ic-moon { display: block; }
:root[data-theme="dark"] .theme-toggle .ic-sun,
.theme-toggle.is-dark .ic-sun { display: block; }
:root[data-theme="dark"] .theme-toggle .ic-moon,
.theme-toggle.is-dark .ic-moon { display: none; }

/* ---------- 7. HERO ---------- */
.hero { position: relative; padding-top: clamp(8rem, 16vh, 11rem); padding-bottom: clamp(3rem, 8vw, 6rem); overflow: hidden; }
.hero__canvas { position: absolute; inset: 0; z-index: 0; opacity: 0.8; }
.hero__inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }

.hero__badge {
  display: inline-flex; align-items: center; gap: 0.6rem; margin-bottom: 1.6rem;
  padding: 0.45rem 0.95rem 0.45rem 0.5rem; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--stroke); font-size: 0.84rem; color: var(--muted);
}
.hero__badge b { color: var(--text); font-weight: 600; }
.hero__badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 4px rgba(45, 212, 191, 0.18); animation: pulse 2s infinite; }
.pill-new { font-size: 0.7rem; font-weight: 700; padding: 0.15rem 0.5rem; border-radius: 999px; background: var(--grad-brand); color: #04121a; font-family: var(--font-display); }

.hero__title { font-size: clamp(2.6rem, 6.4vw, 5rem); margin-bottom: 1.4rem; }
.hero__title .line { display: block; overflow: hidden; }
.hero__lead { font-size: clamp(1.05rem, 2vw, 1.25rem); color: var(--muted); max-width: 38ch; margin-bottom: 2.2rem; }
.hero__ctas { display: flex; gap: 0.9rem; flex-wrap: wrap; margin-bottom: 2.6rem; }
.hero__trust { display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; color: var(--muted-2); font-size: 0.85rem; }
.hero__trust strong { color: var(--text); font-family: var(--font-display); }

.hero__visual { position: relative; }
.hero__media {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--stroke-strong); box-shadow: var(--shadow); aspect-ratio: 4 / 5;
}
.hero__media video { width: 100%; height: 100%; object-fit: cover; }
.hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, var(--media-shade)); }
.hero__media-tag {
  position: absolute; left: 1rem; bottom: 1rem; z-index: 2;
  display: flex; align-items: center; gap: 0.6rem; padding: 0.6rem 0.9rem;
  border-radius: 14px; background: var(--glass-card); backdrop-filter: blur(10px);
  border: 1px solid var(--stroke); font-size: 0.82rem;
}
/* Floating glass cards on hero visual */
.hero__float {
  position: absolute; z-index: 3; padding: 0.85rem 1.05rem; border-radius: 16px;
  background: var(--glass-card); backdrop-filter: blur(14px);
  border: 1px solid var(--stroke-strong); box-shadow: var(--shadow);
  display: flex; align-items: center; gap: 0.7rem; font-size: 0.85rem;
  animation: float 6s ease-in-out infinite;
}
.hero__float--a { top: 8%; right: -6%; }
.hero__float--b { bottom: 14%; left: -8%; animation-delay: -3s; }
.hero__float .ic { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--grad-brand-soft); border: 1px solid var(--stroke); }
.hero__float b { display: block; font-family: var(--font-display); }
.hero__float span { color: var(--muted); font-size: 0.76rem; }

/* Logo marquee */
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee__track { display: flex; gap: 3.5rem; width: max-content; animation: marquee 32s linear infinite; }
.marquee__track span { font-family: var(--font-display); font-weight: 600; font-size: 1.1rem; color: var(--muted-2); display: inline-flex; align-items: center; gap: 0.6rem; white-space: nowrap; }
.marquee:hover .marquee__track { animation-play-state: paused; }

/* ---------- 8. COMPONENTS ---------- */

/* Stat band */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--stroke); border: 1px solid var(--stroke); border-radius: var(--radius); overflow: hidden; }
.stat { background: var(--bg-2); padding: 1.8rem 1.5rem; text-align: center; transition: background 0.3s; }
.stat:hover { background: var(--stat-hover); }
.stat strong { display: block; font-family: var(--font-display); font-size: clamp(2rem, 4vw, 2.8rem); line-height: 1; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat span { display: block; margin-top: 0.5rem; color: var(--muted); font-size: 0.9rem; }

/* Card grid */
.grid { display: grid; gap: 1.3rem; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

/* Service card */
.s-card {
  position: relative; padding: 1.8rem; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--stroke);
  transition: transform 0.4s var(--ease), border-color 0.4s, background 0.4s;
  overflow: hidden; display: flex; flex-direction: column; min-height: 240px;
}
.s-card::before {
  content: ""; position: absolute; inset: 0; opacity: 0; transition: opacity 0.4s;
  background: radial-gradient(120% 120% at var(--mx, 50%) var(--my, 0%), rgba(45, 212, 191, 0.12), transparent 55%);
}
.s-card:hover { transform: translateY(-6px); border-color: var(--stroke-strong); background: var(--surface-2); }
.s-card:hover::before { opacity: 1; }
.s-card__icon {
  width: 54px; height: 54px; border-radius: 15px; display: grid; place-items: center; margin-bottom: 1.3rem;
  background: var(--grad-brand-soft); border: 1px solid var(--stroke-strong); color: var(--teal);
}
.s-card__icon svg { width: 26px; height: 26px; }
.s-card__num { position: absolute; top: 1.5rem; right: 1.6rem; font-family: var(--font-display); font-size: 0.85rem; color: var(--muted-2); }
.s-card h3 { font-size: 1.25rem; margin-bottom: 0.6rem; }
.s-card p { color: var(--muted); font-size: 0.94rem; flex-grow: 1; }
.s-card__foot { display: flex; align-items: center; justify-content: space-between; margin-top: 1.3rem; }
.s-card__price { font-family: var(--font-display); font-size: 0.86rem; color: var(--teal); }
.s-card__arrow { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--stroke); display: grid; place-items: center; transition: background 0.3s, transform 0.3s, color 0.3s; }
.s-card:hover .s-card__arrow { background: var(--grad-brand); color: #04121a; transform: rotate(-45deg); }

/* Feature / value card */
.f-card { padding: 1.7rem; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--stroke); transition: border-color 0.3s, transform 0.3s; }
.f-card:hover { border-color: var(--stroke-strong); transform: translateY(-4px); }
.f-card .ic { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; margin-bottom: 1.1rem; background: var(--grad-brand-soft); border: 1px solid var(--stroke); color: var(--teal); }
.f-card h3 { font-size: 1.12rem; margin-bottom: 0.5rem; }
.f-card p { color: var(--muted); font-size: 0.92rem; }

/* Process steps */
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.3rem; counter-reset: step; }
.p-step { position: relative; padding: 2rem 1.5rem 1.7rem; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--stroke); }
.p-step__num { font-family: var(--font-display); font-size: 2.6rem; font-weight: 700; line-height: 1; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; opacity: 0.85; }
.p-step h3 { font-size: 1.12rem; margin: 0.7rem 0 0.5rem; }
.p-step p { color: var(--muted); font-size: 0.9rem; }
.p-step__line { position: absolute; top: 2.7rem; right: -0.85rem; width: 1.7rem; height: 1px; background: linear-gradient(90deg, var(--teal), transparent); z-index: 2; }

/* Split / showcase */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.split__media { position: relative; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--stroke-strong); box-shadow: var(--shadow); aspect-ratio: 16 / 11; }
.split__media video, .split__media img { width: 100%; height: 100%; object-fit: cover; }
.split ul.checklist { margin-top: 1.6rem; display: grid; gap: 0.85rem; }
.checklist li { display: flex; gap: 0.75rem; align-items: flex-start; color: var(--muted); }
.checklist li svg { width: 22px; height: 22px; color: var(--teal); flex-shrink: 0; margin-top: 1px; }
.checklist li b { color: var(--text); font-weight: 600; }

/* Testimonials */
.t-card { padding: 1.9rem; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--stroke); display: flex; flex-direction: column; gap: 1.3rem; }
.t-card__stars { color: var(--amber); letter-spacing: 2px; }
.t-card__quote { font-size: 1.05rem; color: var(--text); line-height: 1.6; }
.t-card__who { display: flex; align-items: center; gap: 0.85rem; margin-top: auto; }
.t-card__who img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; border: 1px solid var(--stroke-strong); }
.t-card__who b { display: block; font-family: var(--font-display); font-size: 0.95rem; }
.t-card__who span { color: var(--muted); font-size: 0.82rem; }

/* People / contact cards */
.people { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem; }
.person-card {
  display: flex; gap: 1.4rem; align-items: center;
  padding: 1.6rem; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--stroke);
  transition: border-color 0.3s, transform 0.3s, background 0.3s;
}
.person-card:hover { border-color: var(--stroke-strong); transform: translateY(-4px); background: var(--surface-2); }
.person-card__photo {
  width: 116px; height: 116px; border-radius: 18px; overflow: hidden; flex-shrink: 0;
  border: 1px solid var(--stroke-strong); box-shadow: var(--shadow);
}
.person-card__photo img { width: 100%; height: 100%; object-fit: cover; }
.person-card__body { display: flex; flex-direction: column; min-width: 0; }
.person-card__body h3 { font-size: 1.35rem; }
.person-card__role { color: var(--muted); font-size: 0.9rem; margin: 0.2rem 0 1rem; }
.person-card__mail {
  display: inline-flex; align-items: center; gap: 0.55rem; align-self: flex-start; max-width: 100%;
  padding: 0.6rem 1.1rem; border-radius: 999px;
  background: var(--surface-2); border: 1px solid var(--stroke-strong);
  font-family: var(--font-display); font-weight: 600; font-size: 0.92rem; color: var(--text);
  transition: border-color 0.25s, background 0.25s, transform 0.25s;
}
.person-card__mail svg { width: 17px; height: 17px; color: var(--teal); flex-shrink: 0; }
.person-card__mail span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.person-card__mail:hover { border-color: var(--teal); background: var(--grad-brand-soft); transform: translateY(-1px); }
@media (max-width: 1024px) { .people { grid-template-columns: 1fr; } }
@media (max-width: 420px) {
  .person-card { flex-direction: column; text-align: center; align-items: center; }
  .person-card__body { align-items: center; }
  .person-card__mail { align-self: center; }
}

/* Accordion / FAQ */
.acc { border: 1px solid var(--stroke); border-radius: var(--radius); overflow: hidden; background: var(--surface); }
.acc__item + .acc__item { border-top: 1px solid var(--stroke); }
.acc__q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.3rem 1.5rem; text-align: left; font-family: var(--font-display); font-weight: 600; font-size: 1.02rem; transition: color 0.25s; }
.acc__q:hover { color: var(--teal); }
.acc__q .chev { width: 30px; height: 30px; flex-shrink: 0; border-radius: 50%; border: 1px solid var(--stroke); display: grid; place-items: center; transition: transform 0.4s var(--ease), background 0.3s; }
.acc__item.is-open .chev { transform: rotate(45deg); background: var(--grad-brand); color: #04121a; }
.acc__a { max-height: 0; overflow: hidden; transition: max-height 0.45s var(--ease); }
.acc__a-inner { padding: 0 1.5rem 1.4rem; color: var(--muted); }
.acc__a-inner p + p { margin-top: 0.85rem; }

/* Badge / chip */
.chip { display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.35rem 0.8rem; border-radius: 999px; background: var(--surface); border: 1px solid var(--stroke); font-size: 0.8rem; color: var(--muted); }
.chip--teal { color: var(--teal); border-color: rgba(45, 212, 191, 0.3); background: rgba(45, 212, 191, 0.08); }

/* CTA band */
.cta-band {
  position: relative; overflow: hidden; border-radius: var(--radius-lg);
  padding: clamp(2.6rem, 6vw, 4.5rem); text-align: center;
  background: linear-gradient(120deg, rgba(45, 212, 191, 0.12), rgba(139, 92, 246, 0.14));
  border: 1px solid var(--stroke-strong);
}
.cta-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(50% 120% at 50% 0%, rgba(45, 212, 191, 0.18), transparent 60%); }
.cta-band > * { position: relative; }
.cta-band h2 { font-size: clamp(1.9rem, 4.5vw, 3rem); margin-bottom: 1rem; }
.cta-band p { color: var(--muted); max-width: 50ch; margin: 0 auto 2rem; }
.cta-band__actions { display: flex; gap: 0.9rem; justify-content: center; flex-wrap: wrap; }

/* Price table */
.ptable-wrap { overflow-x: auto; border: 1px solid var(--stroke); border-radius: var(--radius); }
.ptable { width: 100%; border-collapse: collapse; min-width: 640px; }
.ptable thead th { background: var(--bg-2); text-align: left; padding: 1rem 1.2rem; font-family: var(--font-display); font-size: 0.82rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); border-bottom: 1px solid var(--stroke); }
.ptable tbody td { padding: 1.05rem 1.2rem; border-bottom: 1px solid var(--stroke); font-size: 0.93rem; vertical-align: top; }
.ptable tbody tr:last-child td { border-bottom: none; }
.ptable tbody tr { transition: background 0.25s; }
.ptable tbody tr:hover { background: var(--surface); }
.ptable td b { font-weight: 600; }
.ptable .price { font-family: var(--font-display); color: var(--teal); white-space: nowrap; }
.ptable .price--max { color: var(--violet); }
/* Phones: price tables become stacked, labelled cards (no horizontal scroll) */
@media (max-width: 680px) {
  .ptable-wrap { overflow: visible; border: 0; border-radius: 0; }
  .ptable { min-width: 0; }
  .ptable, .ptable tbody, .ptable tr, .ptable td { display: block; width: auto; }
  .ptable thead { display: none; }
  .ptable tbody tr { border: 1px solid var(--stroke); border-radius: var(--radius-sm); background: var(--surface); padding: 1rem 1.1rem; margin-bottom: 0.8rem; }
  .ptable tbody tr:hover { background: var(--surface); }
  .ptable tbody td { border: 0; padding: 0.12rem 0; font-size: 0.95rem; }
  .ptable td:first-child { font-size: 1.05rem; margin-bottom: 0.25rem; }
  .ptable td[data-label]:not(:first-child)::before {
    content: attr(data-label); display: block; font-family: var(--font-display);
    font-size: 0.66rem; text-transform: uppercase; letter-spacing: 0.06em;
    color: var(--muted-2); margin: 0.5rem 0 0.05rem;
  }
  .ptable .price { white-space: normal; font-size: 1rem; }
}

/* Pricing tier cards */
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem; align-items: stretch; }
.tier { position: relative; padding: 2rem; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--stroke); display: flex; flex-direction: column; }
.tier--featured { border-color: rgba(45, 212, 191, 0.4); background: linear-gradient(180deg, rgba(45, 212, 191, 0.08), var(--surface)); box-shadow: var(--glow-teal); }
.tier__badge { position: absolute; top: -0.8rem; left: 50%; transform: translateX(-50%); padding: 0.3rem 0.9rem; border-radius: 999px; background: var(--grad-brand); color: #04121a; font-family: var(--font-display); font-weight: 700; font-size: 0.74rem; }
.tier h3 { font-size: 1.3rem; }
.tier__price { font-family: var(--font-display); font-size: 2.4rem; font-weight: 700; margin: 0.8rem 0 0.2rem; }
.tier__price small { font-size: 0.95rem; color: var(--muted); font-weight: 400; }
.tier__desc { color: var(--muted); font-size: 0.9rem; margin-bottom: 1.4rem; }
.tier ul { display: grid; gap: 0.7rem; margin-bottom: 1.7rem; }
.tier li { display: flex; gap: 0.6rem; font-size: 0.9rem; color: var(--muted); }
.tier li svg { width: 19px; height: 19px; color: var(--teal); flex-shrink: 0; }
.tier .btn { margin-top: auto; }

/* Page hero (interior pages) */
.page-hero { padding-top: clamp(8rem, 16vh, 11rem); padding-bottom: clamp(2.5rem, 6vw, 4rem); position: relative; }
.page-hero__inner { max-width: 760px; }
.page-hero h1 { font-size: clamp(2.4rem, 5.5vw, 4rem); margin: 1.1rem 0 1.2rem; }
.page-hero p { font-size: clamp(1.05rem, 2vw, 1.2rem); color: var(--muted); max-width: 54ch; }
.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; font-size: 0.85rem; color: var(--muted-2); }
.breadcrumb a:hover { color: var(--teal); }

/* Service hero: two columns — copy on the left, the FULL service image on the
   right (nothing cropped). The image's left edge (where its own text sits) is
   feathered into the dark so it melts into the page instead of a stiff frame. */
/* Service hero: copy on the left, a larger framed service image on the right
   with a soft brand glow behind it and a subtle 3D tilt that straightens on
   hover. */
.svc-hero { position: relative; overflow: hidden; }
.svc-hero__grid { display: grid; grid-template-columns: 0.74fr 1.26fr; gap: clamp(1.5rem, 3vw, 2.8rem); align-items: center; }
.svc-hero .page-hero__inner { max-width: 560px; position: relative; z-index: 2; }
.svc-hero__media { position: relative; z-index: 1; perspective: 1300px; }
.svc-hero__media img {
  width: 100%; height: auto; display: block; border-radius: var(--radius-lg);
  border: 1px solid var(--stroke-strong); box-shadow: var(--shadow);
  transform: rotateY(-7deg) rotateX(3deg) scale(1.08); transition: transform 0.5s var(--ease);
}
.svc-hero__media:hover img { transform: rotateY(0deg) rotateX(0deg) scale(1.12); }
.svc-hero__media::before {
  content: ""; position: absolute; inset: -16% -10%; z-index: -1;
  background: var(--grad-brand); filter: blur(72px); opacity: 0.34; border-radius: 50%;
}
@media (max-width: 860px) {
  .svc-hero__grid { grid-template-columns: 1fr; }
  .svc-hero .page-hero__inner { max-width: none; }
  .svc-hero__media { margin-top: 0.5rem; }
  .svc-hero__media img { transform: none; }
}

/* Service content figures (webb image story) */
.svc-figure { margin-top: 2.8rem; }
.svc-figure__head { max-width: 760px; margin-bottom: 1.1rem; }
.svc-figure__head h3 { font-size: clamp(1.35rem, 3vw, 2rem); }
.svc-figure__head p { color: var(--muted); margin-top: 0.6rem; }
.svc-figure__img { border-radius: var(--radius-lg); border: 1px solid var(--stroke); box-shadow: var(--shadow); overflow: hidden; background: var(--surface); }
.svc-figure__img img { width: 100%; height: auto; display: block; }
.svc-figure--narrow { max-width: 1120px; margin-inline: auto; }
.svc-split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.8rem, 4vw, 3.5rem); align-items: center; margin-top: 2.8rem; }
.svc-split .svc-figure__head { margin-bottom: 0; }
@media (max-width: 860px) { .svc-split { grid-template-columns: 1fr; gap: 1.4rem; } }

/* Service detail layout */
.svc-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 3rem; align-items: start; }
.svc-main, .svc-aside { min-width: 0; }
.svc-aside { position: sticky; top: 6rem; display: grid; gap: 1.3rem; }
.aside-card { padding: 1.6rem; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--stroke); }
.aside-card h4 { font-size: 1.05rem; margin-bottom: 0.4rem; }
.aside-card p { color: var(--muted); font-size: 0.88rem; margin-bottom: 1rem; }
.aside-nav a { display: flex; align-items: center; justify-content: space-between; padding: 0.7rem 0; border-bottom: 1px solid var(--stroke); font-size: 0.92rem; color: var(--muted); transition: color 0.25s, padding 0.25s; }
.aside-nav a:last-child { border-bottom: none; }
.aside-nav a:hover { color: var(--teal); padding-left: 0.3rem; }
.prose h2 { font-size: clamp(1.6rem, 3.5vw, 2.2rem); margin: 2.5rem 0 1rem; }
.prose h2:first-child { margin-top: 0; }
.prose p { color: var(--muted); margin-bottom: 1.1rem; }
.prose ul.bullets { display: grid; gap: 0.7rem; margin: 1rem 0 1.5rem; }
.prose ul.bullets li { display: flex; gap: 0.7rem; color: var(--muted); }
.prose ul.bullets li svg { width: 20px; height: 20px; color: var(--teal); flex-shrink: 0; margin-top: 2px; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-size: 0.85rem; font-weight: 500; margin-bottom: 0.45rem; color: var(--text); }
.field input, .field textarea, .field select {
  width: 100%; padding: 0.85rem 1rem; border-radius: 12px; font-family: inherit; font-size: 0.95rem;
  background: var(--bg-2); border: 1px solid var(--stroke); color: var(--text); transition: border-color 0.25s, box-shadow 0.25s;
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(45, 212, 191, 0.15); }
.field textarea { resize: vertical; min-height: 130px; }
.field--row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-note { font-size: 0.82rem; color: var(--muted-2); margin-top: 0.8rem; }
.contact-info { display: grid; gap: 1.1rem; }
.info-row { display: flex; gap: 1rem; padding: 1.3rem; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--stroke); }
.info-row .ic { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; background: var(--grad-brand-soft); border: 1px solid var(--stroke); color: var(--teal); flex-shrink: 0; }
.info-row b { display: block; font-family: var(--font-display); }
.info-row span { color: var(--muted); font-size: 0.9rem; }

/* Toast */
.toast { position: fixed; bottom: 1.5rem; left: 50%; transform: translate(-50%, 150%); z-index: 200; padding: 0.95rem 1.4rem; border-radius: 14px; background: var(--bg-2); border: 1px solid var(--stroke-strong); box-shadow: var(--shadow); display: flex; align-items: center; gap: 0.7rem; font-size: 0.92rem; transition: transform 0.5s var(--ease); }
.toast.is-show { transform: translate(-50%, 0); }
.toast .ic { color: var(--teal); display: grid; place-items: center; }

/* Modal */
.modal { position: fixed; inset: 0; z-index: 150; display: grid; place-items: center; padding: 1.5rem; opacity: 0; visibility: hidden; transition: opacity 0.35s, visibility 0.35s; }
.modal.is-open { opacity: 1; visibility: visible; }
.modal__backdrop { position: absolute; inset: 0; background: var(--modal-backdrop); backdrop-filter: blur(8px); }
.modal__box { position: relative; width: min(520px, 100%); padding: 2.2rem; border-radius: var(--radius-lg); background: var(--bg-2); border: 1px solid var(--stroke-strong); box-shadow: var(--shadow); transform: translateY(20px) scale(0.98); transition: transform 0.4s var(--ease); }
.modal.is-open .modal__box { transform: none; }
.modal__close { position: absolute; top: 1.1rem; right: 1.1rem; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--stroke); display: grid; place-items: center; transition: background 0.25s; }
.modal__close:hover { background: var(--surface-2); }
.modal h3 { font-size: 1.5rem; margin-bottom: 0.4rem; }
.modal p.sub { color: var(--muted); margin-bottom: 1.6rem; font-size: 0.93rem; }

/* Calendar booking */
.cal-box { width: min(540px, 100%); max-height: 88vh; overflow-y: auto; }
.cal { margin-top: 0.2rem; }
.cal__bar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 0.9rem; }
.cal__bar strong { font-family: var(--font-display); font-size: 1.05rem; text-transform: capitalize; }
.cal__nav { width: 36px; height: 36px; border-radius: 10px; border: 1px solid var(--stroke); display: grid; place-items: center; color: var(--text); transition: background 0.2s, border-color 0.2s; }
.cal__nav:hover:not(:disabled) { background: var(--surface-2); border-color: var(--teal); }
.cal__nav:disabled { opacity: 0.35; cursor: not-allowed; }
.cal__week, .cal__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.cal__week { margin-bottom: 4px; }
.cal__week span { text-align: center; font-size: 0.72rem; font-weight: 600; color: var(--muted-2); text-transform: uppercase; letter-spacing: 0.04em; padding: 4px 0; }
.cal__day { aspect-ratio: 1; border-radius: 10px; display: grid; place-items: center; font-size: 0.92rem; font-family: var(--font-display); }
button.cal__day { border: 1px solid var(--stroke); background: var(--surface); color: var(--text); transition: background 0.2s, border-color 0.2s; }
button.cal__day:hover { border-color: var(--teal); background: var(--surface-2); }
button.cal__day.is-sel { background: var(--grad-brand); color: #04121a; border-color: transparent; }
.cal__day--off { color: var(--muted-2); opacity: 0.4; }
.cal__day--empty { visibility: hidden; }
.cal__panel { margin-top: 1.4rem; }
.cal__panel h4 { font-size: 0.95rem; margin-bottom: 0.7rem; text-transform: capitalize; }
.cal__slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(76px, 1fr)); gap: 6px; }
.cal__slot { padding: 0.5rem 0; border-radius: 9px; border: 1px solid var(--stroke); background: var(--surface); color: var(--text); font-family: var(--font-display); font-size: 0.88rem; transition: background 0.2s, border-color 0.2s; }
.cal__slot:hover { border-color: var(--teal); background: var(--surface-2); }
.cal__slot.is-sel { background: var(--grad-brand); color: #04121a; border-color: transparent; }
.cal__form { margin-top: 1.5rem; }
.cal__summary { padding: 0.8rem 1rem; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--stroke-strong); font-family: var(--font-display); font-weight: 600; margin-bottom: 1.1rem; text-transform: capitalize; }

/* ---------- 10. FOOTER ---------- */
.footer { border-top: 1px solid var(--stroke); margin-top: 2rem; padding: clamp(3rem, 6vw, 5rem) 0 2rem; position: relative; overflow: hidden; }
.footer .container { position: relative; z-index: 1; }
.footer__top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2.5rem; margin-bottom: 3rem; }
.footer__brand p { color: var(--muted); font-size: 0.92rem; margin: 1.1rem 0 1.4rem; max-width: 34ch; }
.footer__social { display: flex; gap: 0.6rem; }
.footer__social a { width: 40px; height: 40px; border-radius: 11px; border: 1px solid var(--stroke); display: grid; place-items: center; color: var(--muted); transition: color 0.25s, border-color 0.25s, transform 0.25s; }
.footer__social a:hover { color: var(--teal); border-color: var(--teal); transform: translateY(-2px); }
.footer__col h4 { font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted-2); margin-bottom: 1.1rem; }
.footer__col a { display: block; color: var(--muted); font-size: 0.92rem; padding: 0.35rem 0; transition: color 0.25s, padding 0.25s; }
.footer__col a:hover { color: var(--text); padding-left: 0.25rem; }
.footer__bottom { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding-top: 1.8rem; border-top: 1px solid var(--stroke); color: var(--muted-2); font-size: 0.85rem; }

/* Back to top */
.to-top { position: fixed; right: 1.4rem; bottom: 1.4rem; z-index: 90; width: 48px; height: 48px; border-radius: 14px; background: var(--bg-2); border: 1px solid var(--stroke-strong); display: grid; place-items: center; color: var(--text); opacity: 0; transform: translateY(20px); transition: opacity 0.3s, transform 0.3s, background 0.25s; }
.to-top.is-show { opacity: 1; transform: none; }
.to-top:hover { background: var(--surface-2); }

/* ---------- 11. MOTION ---------- */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 0.08s; }
.reveal[data-delay="2"] { transition-delay: 0.16s; }
.reveal[data-delay="3"] { transition-delay: 0.24s; }
.reveal[data-delay="4"] { transition-delay: 0.32s; }
.reveal[data-delay="5"] { transition-delay: 0.4s; }

@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(45, 212, 191, 0.4); } 50% { box-shadow: 0 0 0 6px rgba(45, 212, 191, 0); } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes spin-slow { to { transform: rotate(360deg); } }

/* Animated gradient orb decoration */
.orb { position: absolute; border-radius: 50%; filter: blur(60px); opacity: 0.5; z-index: 0; pointer-events: none; }
.orb--teal { background: radial-gradient(circle, var(--teal), transparent 70%); }
.orb--violet { background: radial-gradient(circle, var(--violet), transparent 70%); }

/* ---------- 12. RESPONSIVE ---------- */
@media (max-width: 1024px) {
  .hero__inner { grid-template-columns: 1fr; gap: 3rem; }
  .hero__visual { max-width: 460px; }
  .hero__float--a { right: 2%; }
  .hero__float--b { left: 2%; }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .process { grid-template-columns: repeat(2, 1fr); }
  .p-step__line { display: none; }
  .svc-layout { grid-template-columns: minmax(0, 1fr); }
  .svc-aside { position: static; grid-template-columns: repeat(2, 1fr); display: grid; }
  .footer__top { grid-template-columns: 1fr 1fr; gap: 2rem; }
}
@media (max-width: 760px) {
  .nav, .header__actions .book-btn { display: none; }
  .hamburger { display: flex; }
  .grid--3, .grid--2, .grid--4 { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .process { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  .split__media { order: -1; }
  .tiers { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .svc-aside { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .field--row { grid-template-columns: 1fr; }
}
@media (max-width: 460px) {
  .stats { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; }
  .hero__float { display: none; }
}

/* ---------- 13. MOBILE PERFORMANCE & POLISH ----------
   Phones only — the desktop look is untouched. Backdrop-blur, blend modes and
   large blur filters are the main source of scroll jank on mobile GPUs, so we
   swap them for cheap solid equivalents and drop purely-decorative layers. */
@media (max-width: 760px) {
  .cursor-glow, .fx-noise, .orb { display: none !important; }
  .fx-grid { opacity: 0.4; }
  .header.is-scrolled { background: var(--bg); -webkit-backdrop-filter: none; backdrop-filter: none; }
  .nav-overlay { background: var(--bg); -webkit-backdrop-filter: none; backdrop-filter: none; }
  .hero__media-tag, .hero__float { -webkit-backdrop-filter: none; backdrop-filter: none; }
  .modal__backdrop { -webkit-backdrop-filter: none; backdrop-filter: none; }
  .svc-hero__media::before { display: none; }
  .svc-figure__img, .split__media, .hero__media { box-shadow: none; }
}
