/* ==========================================================================
   Daevo Technologies — Design System
   Nearshore Data, AI & Digital Engineering Partner
   ========================================================================== */

/* -------------------------------- Reset -------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body, h1, h2, h3, h4, p, figure, blockquote, dl, dd { margin: 0; }
ul[class], ol[class] { list-style: none; margin: 0; padding: 0; }
img, picture, svg { display: block; max-width: 100%; }
button, input, textarea, select { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; background: none; border: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ------------------------------ Design Tokens --------------------------- */
:root {
  /* Brand palette */
  --navy-950: #060B14;
  --navy-900: #0A1220;
  --navy-800: #101B2D;
  --navy-700: #17263D;
  --navy-600: #1F3350;

  --slate-900: #0F172A;
  --slate-700: #334155;
  --slate-500: #64748B;
  --slate-400: #94A3B8;
  --slate-300: #CBD5E1;
  --slate-200: #E2E8F0;
  --slate-100: #F1F5F9;
  --slate-50:  #F8FAFC;

  --white: #FFFFFF;

  --blue-600: #2456E5;
  --blue-500: #3468F5;
  --blue-400: #5C8CFF;
  --cyan-400: #4FD7E0;
  --cyan-300: #8FE3EA;
  --brand-teal: #9AD9DE;   /* from Daevo mark */

  /* Highlight / brand accent — replaces blue as the primary interactive
     color sitewide (buttons, links, icons, focus states). Matches the
     Daevo logo mark more closely than the previous blue. */
  --highlight: #09D0DE;
  --highlight-dark: #07A6B2;
  --highlight-rgb: 9, 208, 222;

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-pill: 999px;

  --font-display: 'Space Grotesk', 'Inter', sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  --container: 1240px;
  --header-h: 84px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  /* Light theme (default) */
  --bg: var(--white);
  --bg-elevated: var(--slate-50);
  --bg-inverse: var(--navy-950);
  --text-primary: var(--navy-950);
  --text-secondary: var(--slate-500);
  --text-tertiary: var(--slate-400);
  --text-on-dark: var(--white);
  --border-color: rgba(15, 23, 42, 0.08);
  --border-strong: rgba(15, 23, 42, 0.14);
  --card-bg: var(--white);
  --card-bg-alt: var(--slate-50);
  --nav-bg: rgba(255, 255, 255, 0.72);
  --glass-bg: rgba(255, 255, 255, 0.55);
  --glass-border: rgba(255, 255, 255, 0.6);
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 8px 24px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 24px 64px rgba(15, 23, 42, 0.12);
  --grid-line: rgba(15, 23, 42, 0.06);
  --accent-soft: rgba(var(--highlight-rgb), 0.1);

  /* Hero section — theme-aware tokens so the "premium" treatment adapts
     between Light and Dark instead of always forcing a dark background. */
  --hero-bg: linear-gradient(180deg, #EFFBFC 0%, #FCFEFF 55%, #FFFFFF 100%);
  --hero-grid-line: rgba(15, 23, 42, 0.05);
  --hero-glow-a: radial-gradient(circle, rgba(var(--highlight-rgb), 0.16), transparent 70%);
  --hero-glow-b: radial-gradient(circle, rgba(79, 215, 224, 0.14), transparent 70%);
  --hero-stat-from: var(--navy-950);
  --hero-stat-to: var(--highlight-dark);
  --hero-canvas-opacity: 0.45;
}

[data-theme="dark"] {
  --bg: var(--navy-950);
  --bg-elevated: var(--navy-900);
  --bg-inverse: var(--white);
  --text-primary: #F5F7FA;
  --text-secondary: #9AACC4;
  --text-tertiary: #6B7C99;
  --text-on-dark: var(--white);
  --border-color: rgba(255, 255, 255, 0.09);
  --border-strong: rgba(255, 255, 255, 0.16);
  --card-bg: var(--navy-900);
  --card-bg-alt: var(--navy-800);
  --nav-bg: rgba(6, 11, 20, 0.72);
  --glass-bg: rgba(16, 27, 45, 0.55);
  --glass-border: rgba(255, 255, 255, 0.08);
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 24px 64px rgba(0, 0, 0, 0.45);
  --grid-line: rgba(255, 255, 255, 0.06);
  --accent-soft: rgba(var(--highlight-rgb), 0.14);

  /* Hero section — dark, premium treatment (original design). */
  --hero-bg: var(--navy-950);
  --hero-grid-line: rgba(255, 255, 255, 0.05);
  --hero-glow-a: radial-gradient(circle, rgba(var(--highlight-rgb), 0.28), transparent 70%);
  --hero-glow-b: radial-gradient(circle, rgba(79, 215, 224, 0.2), transparent 70%);
  --hero-stat-from: #fff;
  --hero-stat-to: var(--cyan-300);
  --hero-canvas-opacity: 0.9;
}

/* -------------------------------- Base ---------------------------------- */
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: background-color 0.4s var(--ease), color 0.4s var(--ease);
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--text-primary);
}

p { color: var(--text-secondary); line-height: 1.7; }

::selection { background: var(--highlight); color: var(--navy-950); }

:focus-visible {
  outline: 2px solid var(--highlight);
  outline-offset: 3px;
  border-radius: 4px;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}

@media (min-width: 768px) {
  .container { padding-inline: 40px; }
}

.section { padding: 120px 0; position: relative; }
.section-tight { padding: 88px 0; }
@media (max-width: 768px) {
  .section { padding: 76px 0; }
  .section-tight { padding: 56px 0; }
}

.section-alt { background: var(--bg-elevated); }

.section-header {
  max-width: 680px;
  margin-bottom: 64px;
}
.section-header.center { margin-inline: auto; text-align: center; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--highlight-dark);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: '';
  width: 22px;
  height: 1.5px;
  background: currentColor;
  display: inline-block;
}

.section-title {
  font-size: clamp(1.9rem, 3.2vw, 2.75rem);
  margin-bottom: 18px;
}

.section-lede {
  font-size: 1.125rem;
  color: var(--text-secondary);
  max-width: 620px;
}
.section-header.center .section-lede { margin-inline: auto; }

/* ------------------------------- Utilities ------------------------------- */
.text-gradient {
  background: linear-gradient(100deg, var(--highlight-dark), var(--cyan-300) 70%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute;
  top: -48px; left: 16px;
  background: var(--highlight-dark);
  color: #fff;
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  z-index: 999;
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 16px; }

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal-stagger.is-visible > * { opacity: 1; transform: translateY(0); }
.reveal-stagger.is-visible > *:nth-child(1) { transition-delay: 0.04s; }
.reveal-stagger.is-visible > *:nth-child(2) { transition-delay: 0.1s; }
.reveal-stagger.is-visible > *:nth-child(3) { transition-delay: 0.16s; }
.reveal-stagger.is-visible > *:nth-child(4) { transition-delay: 0.22s; }
.reveal-stagger.is-visible > *:nth-child(5) { transition-delay: 0.28s; }
.reveal-stagger.is-visible > *:nth-child(6) { transition-delay: 0.34s; }

/* -------------------------------- Buttons -------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 28px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.95rem;
  white-space: nowrap;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.35s var(--ease), border-color .35s var(--ease), color .35s var(--ease);
  border: 1px solid transparent;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary {
  background: linear-gradient(135deg, var(--highlight-dark), var(--highlight) 60%, var(--cyan-300));
  color: #06222A;
  box-shadow: 0 10px 28px rgba(var(--highlight-rgb), 0.32);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 36px rgba(var(--highlight-rgb), 0.4); }
.btn-secondary {
  background: transparent;
  border-color: var(--border-strong);
  color: var(--text-primary);
}
.btn-secondary:hover { border-color: var(--highlight); color: var(--highlight-dark); transform: translateY(-2px); }
.btn-light { background: #fff; color: var(--navy-950); }
.btn-light:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(0,0,0,0.18); }
.btn-outline-light { background: transparent; border-color: rgba(255,255,255,0.4); color: #fff; }
.btn-outline-light:hover { border-color: #fff; background: rgba(255,255,255,0.08); transform: translateY(-2px); }
.btn-block { width: 100%; }
.btn-sm { padding: 10px 18px; font-size: 0.85rem; }

/* ================================ HEADER ================================= */
#site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: var(--nav-bg);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}
#site-header.is-scrolled { border-bottom-color: var(--border-color); }

/* While resting over the hero (page top, not yet scrolled), the header is
   transparent. In Dark theme the hero stays deep navy, so we force a
   light-on-dark nav treatment for legibility. In Light theme the hero is
   now light too, so the default (dark-on-light) nav styles already apply
   and no override is needed. */
#site-header:not(.is-scrolled) {
  background: transparent;
  border-bottom-color: transparent;
}
[data-theme="dark"] #site-header:not(.is-scrolled) .nav-links a { color: rgba(255,255,255,0.82); }
[data-theme="dark"] #site-header:not(.is-scrolled) .nav-links a:hover { color: #fff; background: rgba(255,255,255,0.1); }
[data-theme="dark"] #site-header:not(.is-scrolled) .icon-btn { border-color: rgba(255,255,255,0.25); color: #fff; }
[data-theme="dark"] #site-header:not(.is-scrolled) .lang-switch { border-color: rgba(255,255,255,0.25); }
[data-theme="dark"] #site-header:not(.is-scrolled) .lang-switch button { color: rgba(255,255,255,0.65); }
[data-theme="dark"] #site-header:not(.is-scrolled) .lang-switch button.is-active { background: #fff; color: var(--navy-950); }
[data-theme="dark"] #site-header:not(.is-scrolled) .menu-toggle { border-color: rgba(255,255,255,0.25); color: #fff; }
[data-theme="dark"] #site-header:not(.is-scrolled) .brand-logo-badge {
  background: rgba(255,255,255,0.96);
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  box-shadow: 0 2px 10px rgba(0,0,0,0.25);
}

.nav-inner {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
@media (min-width: 768px) { .nav-inner { padding-inline: 40px; } }

.brand { display: flex; align-items: center; gap: 10px; }
.brand-logo-badge { display: inline-flex; align-items: center; }
.brand-logo-badge img { height: 46px; width: auto; }
[data-theme="dark"] .brand-logo-badge {
  background: #fff;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  box-shadow: 0 2px 10px rgba(0,0,0,0.25);
}

.nav-links {
  display: none;
  align-items: center;
  gap: 4px;
}
.nav-links a {
  padding: 10px 16px;
  border-radius: var(--radius-pill);
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.25s var(--ease), background 0.25s var(--ease);
}
.nav-links a:hover { color: var(--text-primary); background: var(--accent-soft); }

@media (min-width: 1080px) {
  .nav-links { display: flex; }
}

.nav-actions { display: flex; align-items: center; gap: 10px; }
.nav-cta-desktop { display: none; }
@media (min-width: 1080px) { .nav-cta-desktop { display: inline-flex; } }

.icon-btn {
  width: 40px; height: 40px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  transition: all 0.25s var(--ease);
}
.icon-btn:hover { border-color: var(--highlight); color: var(--highlight); }
.icon-btn svg { width: 18px; height: 18px; }

.lang-switch {
  display: flex;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-pill);
  padding: 3px;
  gap: 2px;
}
.lang-switch button {
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-tertiary);
  transition: all 0.25s var(--ease);
}
.lang-switch button.is-active { background: var(--text-primary); color: var(--bg); }

.theme-toggle { position: relative; overflow: hidden; }
.theme-toggle svg { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); transition: opacity .3s var(--ease), transform .4s var(--ease); }
.theme-toggle .icon-sun { opacity: 1; transform: translate(-50%, -50%) rotate(0deg); }
.theme-toggle .icon-moon { opacity: 0; transform: translate(-50%, -50%) rotate(-60deg); }
[data-theme="dark"] .theme-toggle .icon-sun { opacity: 0; transform: translate(-50%, -50%) rotate(60deg); }
[data-theme="dark"] .theme-toggle .icon-moon { opacity: 1; transform: translate(-50%, -50%) rotate(0deg); }

.menu-toggle {
  display: inline-flex;
  width: 40px; height: 40px;
  align-items: center; justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--border-color);
}
@media (min-width: 1080px) { .menu-toggle { display: none; } }
.menu-toggle svg { width: 20px; height: 20px; }

.mobile-nav {
  position: fixed;
  inset: var(--header-h) 0 0 0;
  background: var(--bg);
  z-index: 99;
  padding: 32px 24px 40px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  overflow-y: auto;
  transform: translateY(-12px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}
.mobile-nav.is-open { opacity: 1; transform: translateY(0); pointer-events: auto; }
.mobile-nav a {
  padding: 16px 4px;
  font-size: 1.15rem;
  font-weight: 600;
  border-bottom: 1px solid var(--border-color);
}
.mobile-nav .btn { margin-top: 20px; }

/* ================================= HERO =================================== */
/* The hero now follows the site-wide light/dark theme (via --hero-* tokens)
   instead of always forcing a dark background, so toggling to Light mode is
   immediately visible above the fold. */
#hero {
  position: relative;
  padding-top: calc(var(--header-h) + 88px);
  padding-bottom: 100px;
  overflow: hidden;
  background: var(--hero-bg);
  isolation: isolate;
  transition: background 0.4s var(--ease);
}
#hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--hero-grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--hero-grid-line) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 0%, black 40%, transparent 90%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 0%, black 40%, transparent 90%);
  pointer-events: none;
  z-index: 0;
}
#hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  opacity: var(--hero-canvas-opacity);
  z-index: 0;
}

.hero-glow {
  position: absolute;
  width: 1000px; height: 1000px;
  border-radius: 50%;
  top: -480px; right: -320px;
  background: var(--hero-glow-a);
  pointer-events: none;
  z-index: 0;
}
.hero-glow-2 {
  position: absolute;
  width: 800px; height: 800px;
  border-radius: 50%;
  bottom: -420px; left: -280px;
  background: var(--hero-glow-b);
  pointer-events: none;
  z-index: 0;
}

/* A faint, non-intrusive photo of the real Daevo team, anchored to one side
   of the Hero so the site feels like a real company from the very first
   scroll — without competing with the headline or CTAs for attention.
   Uses team-headphones-collaboration.jpg, a dedicated photo not reused
   anywhere else on the page, avoiding any visible photo duplication with
   the "Real People, Not Just Words" or "Team Culture" sections below. */
.hero-photo-veil {
  position: absolute;
  inset: 0;
  right: 0;
  left: 40%;
  z-index: 1;
  pointer-events: none;
  background-image: url('../images/team-headphones-collaboration.jpg');
  background-repeat: no-repeat;
  background-position: center 30%;
  background-size: cover;
  opacity: 0.22;
  filter: grayscale(0.25);
  mask-image: linear-gradient(90deg, transparent 0%, black 45%, black 80%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 45%, black 80%, transparent 100%);
}
[data-theme="dark"] .hero-photo-veil { opacity: 0.2; filter: grayscale(0.2); }
@media (max-width: 900px) { .hero-photo-veil { display: none; } }

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 880px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 18px;
  border-radius: var(--radius-pill);
  background: rgba(var(--highlight-rgb), 0.08);
  border: 1px solid var(--border-strong);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--text-secondary);
  margin-bottom: 32px;
}
.hero-badge .dot-icon {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--highlight);
  box-shadow: 0 0 0 0 rgba(var(--highlight-rgb), 0.6);
  animation: pulseDot 2.4s infinite;
  flex-shrink: 0;
}
.hero-badge .dot-icon svg { display: none; }
@keyframes pulseDot {
  0% { box-shadow: 0 0 0 0 rgba(var(--highlight-rgb), 0.5); }
  70% { box-shadow: 0 0 0 7px rgba(var(--highlight-rgb), 0); }
  100% { box-shadow: 0 0 0 0 rgba(var(--highlight-rgb), 0); }
}

.hero-title {
  font-size: clamp(2.6rem, 5.6vw, 4.6rem);
  margin-bottom: 26px;
  max-width: 920px;
  color: var(--text-primary);
}

.hero-sub {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  max-width: 620px;
  margin-bottom: 44px;
  color: var(--text-secondary);
}

.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 72px; }
#hero .btn-secondary { border-color: var(--border-strong); color: var(--text-primary); }
#hero .btn-secondary:hover { border-color: var(--highlight); color: var(--highlight-dark); }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  max-width: 640px;
  padding-top: 36px;
  border-top: 1px solid var(--border-color);
}
.hero-stats .stat-value {
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 700;
  background: linear-gradient(100deg, var(--hero-stat-from), var(--hero-stat-to) 80%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-stats .stat-label {
  font-size: 0.85rem;
  color: var(--text-tertiary);
  margin-top: 4px;
}

/* ============================== TRUSTED BY ================================ */
#trusted-by { padding: 64px 0; border-top: 1px solid var(--border-color); border-bottom: 1px solid var(--border-color); }
.trusted-label {
  text-align: center;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-tertiary);
  margin-bottom: 36px;
}
.logo-marquee {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px;
}
.logo-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: var(--radius-md);
  border: 1px dashed var(--border-strong);
  color: var(--text-secondary);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.92rem;
  background: var(--bg-elevated);
}
.logo-chip svg { width: 18px; height: 18px; color: var(--text-tertiary); }

/* ============================== REAL PEOPLE =================================== */
.people-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}
@media (min-width: 960px) { .people-grid { grid-template-columns: 1fr 1fr; gap: 64px; } }
.people-media { position: relative; }
.people-photo-main {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
}
.people-photo-card {
  position: absolute;
  width: 130px; height: 130px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 4px solid var(--bg);
  box-shadow: var(--shadow-md);
  bottom: -24px; left: -20px;
}
.people-photo-card-alt { bottom: auto; left: auto; top: -20px; right: -18px; }
.people-photo-card img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 599px) {
  .people-photo-card { width: 90px; height: 90px; }
}
.people-copy .eyebrow { color: var(--highlight-dark); }
.people-copy .section-lede { margin-bottom: 4px; }
.people-points { display: grid; gap: 30px; margin-top: 48px; }
.people-points li { display: flex; align-items: flex-start; gap: 16px; }
.people-points svg {
  width: 22px; height: 22px; flex-shrink: 0; margin-top: 3px;
  color: var(--highlight-dark);
}
.people-points h3 { font-size: 1rem; margin-bottom: 4px; }
.people-points p { font-size: 0.9rem; margin: 0; }

/* ============================== TEAM CULTURE =================================== */
.culture-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}
@media (min-width: 960px) { .culture-grid { grid-template-columns: 1fr 1fr; gap: 64px; } }
.culture-copy .eyebrow { color: var(--highlight-dark); }
.culture-copy .section-lede { margin-bottom: 4px; }
.culture-points { display: grid; gap: 30px; margin-top: 48px; }
.culture-points li { display: flex; align-items: flex-start; gap: 16px; }
.culture-points svg {
  width: 22px; height: 22px; flex-shrink: 0; margin-top: 3px;
  color: var(--highlight-dark);
}
.culture-points h3 { font-size: 1rem; margin-bottom: 4px; }
.culture-points p { font-size: 0.9rem; margin: 0; }
.culture-media { position: relative; }
.culture-photo-main {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
}
.culture-photo-card {
  position: absolute;
  width: 160px; height: 120px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 4px solid var(--bg);
  box-shadow: var(--shadow-md);
  bottom: -24px; right: -18px;
}
.culture-photo-card img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 599px) {
  .culture-photo-card { width: 110px; height: 84px; }
}

/* ============================== OUTCOMES =================================== */
/* Numbered accordion strip \u2014 one outcome expanded at a time, revealing its
   description below the row. Distinct from the card-grid pattern; puts the
   full list of 6 outcomes on the page at a glance (titles always visible)
   while keeping the section compact and scannable. */
.outcomes-accordion {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  background: var(--card-bg);
  overflow: hidden;
}
.outcome-row {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 22px 26px;
  text-align: left;
  border-bottom: 1px solid var(--border-color);
  transition: background 0.25s var(--ease);
}
.outcome-row:hover { background: var(--bg-elevated); }
.outcome-row-num {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-tertiary);
  min-width: 26px;
  transition: color 0.25s var(--ease);
}
.outcome-row-icon {
  width: 42px; height: 42px;
  border-radius: var(--radius-sm);
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--accent-soft);
  color: var(--highlight-dark);
  flex-shrink: 0;
}
.outcome-row-icon svg { width: 20px; height: 20px; }
.outcome-row-title { flex: 1; font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; color: var(--text-primary); }
.outcome-row-chevron { width: 20px; height: 20px; color: var(--text-tertiary); flex-shrink: 0; transition: transform 0.3s var(--ease), color 0.3s var(--ease); }
.outcome-row.is-active { background: var(--bg-elevated); }
.outcome-row.is-active .outcome-row-num { color: var(--highlight-dark); }
.outcome-row.is-active .outcome-row-chevron { transform: rotate(180deg); color: var(--highlight-dark); }
.outcome-row-panel {
  max-height: 0;
  overflow: hidden;
  border-bottom: 1px solid var(--border-color);
  transition: max-height 0.4s var(--ease);
}
.outcome-row-panel.is-open { max-height: 220px; }
.outcome-row-panel p { padding: 0 26px 26px 90px; font-size: 0.95rem; max-width: 620px; margin: 0; }
@media (max-width: 599px) { .outcome-row-panel p { padding-left: 26px; } }

/* ============================== SOLUTIONS =================================== */
.solutions-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 24px;
}
@media (min-width: 720px) { .solutions-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .solutions-grid { grid-template-columns: repeat(3, 1fr); } }

.solution-card {
  position: relative;
  padding: 36px 32px;
  border-radius: var(--radius-lg);
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  overflow: hidden;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}
.solution-card::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(160deg, rgba(var(--highlight-rgb), 0.08), transparent 55%);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}
.solution-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.solution-card:hover::before { opacity: 1; }
.solution-index {
  font-family: var(--font-display);
  font-size: 0.8rem;
  color: var(--text-tertiary);
  letter-spacing: 0.08em;
  margin-bottom: 18px;
}
.solution-icon {
  width: 52px; height: 52px;
  border-radius: var(--radius-sm);
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--navy-950);
  color: var(--cyan-300);
  margin-bottom: 22px;
}
[data-theme="dark"] .solution-icon { background: var(--bg-elevated); }
.solution-icon svg { width: 24px; height: 24px; }
.solution-card h3 { font-size: 1.3rem; margin-bottom: 12px; position: relative; }
.solution-card p { font-size: 0.96rem; margin-bottom: 20px; position: relative; }
.solution-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; position: relative; }
.solution-tags span {
  font-size: 0.76rem;
  font-weight: 600;
  padding: 5px 11px;
  border-radius: var(--radius-pill);
  background: var(--bg-elevated);
  color: var(--text-tertiary);
  border: 1px solid var(--border-color);
}
.solution-tags .tags-label {
  background: none;
  border: none;
  padding: 0;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.68rem;
  color: var(--text-tertiary);
  opacity: 0.8;
}
.solutions-footnote {
  margin-top: 36px;
  text-align: center;
  font-size: 0.9rem;
  color: var(--text-tertiary);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.solutions-footnote svg { width: 16px; height: 16px; flex-shrink: 0; }
.solutions-footnote a { color: var(--highlight-dark); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.solutions-footnote a:hover { color: var(--highlight); }

/* ============================== PRODUCTS =================================== */
.product-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
  padding: 48px;
  border-radius: var(--radius-xl);
  background: linear-gradient(150deg, var(--navy-950), var(--navy-800));
  color: #fff;
  overflow: hidden;
  position: relative;
}
@media (min-width: 960px) { .product-card { grid-template-columns: 1fr 1fr; padding: 64px; } }
.product-card::after {
  content: '';
  position: absolute;
  width: 500px; height: 500px;
  border-radius: 50%;
  top: -220px; right: -180px;
  background: radial-gradient(circle, rgba(79,215,224,0.18), transparent 70%);
}
.product-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: var(--radius-pill);
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.14);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--cyan-300);
  margin-bottom: 22px;
}
.product-card h3 { color: #fff; font-size: 2rem; margin-bottom: 16px; position: relative; }
.product-card > div > p { color: rgba(255,255,255,0.72); margin-bottom: 28px; position: relative; }
.product-features { display: grid; gap: 14px; margin-bottom: 32px; position: relative; }
.product-features li {
  display: flex; align-items: flex-start; gap: 12px;
  font-size: 0.95rem; color: rgba(255,255,255,0.86);
}
.product-features svg { width: 18px; height: 18px; color: var(--cyan-300); flex-shrink: 0; margin-top: 2px; }

.product-cta {
  margin-top: 12px;
  padding: 17px 32px;
  gap: 12px;
}

.product-preview {
  position: relative;
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 24px;
  backdrop-filter: blur(6px);
}
.preview-bar { display: flex; align-items: center; gap: 8px; margin-bottom: 20px; }
.preview-bar span { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,0.18); }
.preview-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.preview-header .title { font-family: var(--font-display); font-size: 0.9rem; font-weight: 600; color: #fff; }
.preview-header .badge { font-size: 0.68rem; padding: 4px 10px; border-radius: var(--radius-pill); background: rgba(79,215,224,0.16); color: var(--cyan-300); font-weight: 700; }
.preview-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  margin-bottom: 10px;
}
.preview-row .lead-name { font-size: 0.85rem; font-weight: 600; color: #fff; }
.preview-row .lead-meta { font-size: 0.72rem; color: rgba(255,255,255,0.5); }
.preview-score {
  display: flex; align-items: center; gap: 6px;
  font-size: 0.72rem; font-weight: 700; color: var(--cyan-300);
}
.preview-score .bar { width: 44px; height: 5px; border-radius: 3px; background: rgba(255,255,255,0.1); overflow: hidden; }
.preview-score .bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--highlight), var(--cyan-300)); }
.preview-footer { display: flex; align-items: center; justify-content: space-between; margin-top: 18px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,0.08); }
.preview-footer .stat { font-size: 0.72rem; color: rgba(255,255,255,0.55); }
.preview-footer .stat b { color: #fff; font-size: 0.95rem; display: block; font-family: var(--font-display); }

.products-more {
  margin-top: 24px;
  padding: 28px 32px;
  border-radius: var(--radius-lg);
  border: 1.5px dashed var(--border-strong);
  display: flex; align-items: center; gap: 18px;
  color: var(--text-tertiary);
}
.products-more svg { width: 26px; height: 26px; flex-shrink: 0; }

/* ============================== WHY DAEVO =================================== */
.why-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}
@media (min-width: 960px) { .why-layout { grid-template-columns: 320px 1fr; gap: 40px; align-items: start; } }

.why-panel {
  border-radius: var(--radius-xl);
  padding: 36px 30px;
  background: linear-gradient(160deg, var(--navy-950), var(--navy-700));
  color: #fff;
  position: sticky;
  top: 100px;
}
.why-panel-stat { display: flex; align-items: baseline; gap: 10px; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,0.1); }
.why-panel-stat:first-child { padding-top: 0; }
.why-panel-stat-value { font-family: var(--font-display); font-size: 1.8rem; font-weight: 700; color: var(--cyan-300); }
.why-panel-stat-label { font-size: 0.86rem; color: rgba(255,255,255,0.7); }
.why-panel-quote {
  margin-top: 24px;
  font-size: 0.92rem;
  font-style: italic;
  line-height: 1.6;
  color: rgba(255,255,255,0.82);
  position: relative;
  padding-left: 18px;
  border-left: 2px solid var(--highlight);
}

.why-checklist {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--border-color);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
@media (min-width: 640px) { .why-checklist { grid-template-columns: repeat(2, 1fr); } }
.why-checklist li {
  background: var(--card-bg);
  padding: 26px 24px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  transition: background 0.3s var(--ease);
}
.why-checklist li:hover { background: var(--bg-elevated); }
.why-checklist svg { width: 22px; height: 22px; color: var(--highlight-dark); flex-shrink: 0; margin-top: 2px; }
.why-checklist h3 { font-size: 0.98rem; margin-bottom: 6px; }
.why-checklist p { font-size: 0.86rem; margin: 0; }


/* ============================== TESTIMONIALS =================================== */
.testimonial-track {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 24px;
}
@media (min-width: 900px) { .testimonial-track { grid-template-columns: repeat(3, 1fr); } }

.testimonial-card {
  padding: 32px;
  border-radius: var(--radius-lg);
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  height: 100%;
}
.testimonial-card svg.quote-icon { width: 30px; height: 30px; color: var(--cyan-400); margin-bottom: 18px; }
.testimonial-quote { font-size: 1.02rem; color: var(--text-primary); margin-bottom: 28px; flex-grow: 1; line-height: 1.65; }
.testimonial-person { display: flex; align-items: center; gap: 14px; }
.avatar-initials {
  width: 46px; height: 46px;
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--highlight-dark), var(--cyan-400));
  color: #fff; font-weight: 700; font-family: var(--font-display); font-size: 0.9rem;
  flex-shrink: 0;
}
.testimonial-person .name { font-weight: 700; font-size: 0.92rem; color: var(--text-primary); }
.testimonial-person .role { font-size: 0.82rem; color: var(--text-tertiary); }
.testimonial-avatar {
  width: 46px; height: 46px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  border: 2px solid var(--border-color);
}
.testimonial-avatar img { width: 100%; height: 100%; object-fit: cover; }

.cases-heading { margin-top: 72px; max-width: 640px; }
.cases-heading h3 { font-size: 1.3rem; margin-bottom: 10px; }
.cases-heading p { font-size: 0.98rem; }

/* ---- Case Studies Carousel ---- */
.case-carousel {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
}
.case-carousel-viewport {
  flex: 1;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.case-carousel-viewport::-webkit-scrollbar { display: none; }
.case-carousel-track {
  display: flex;
  gap: 20px;
  padding: 4px 2px 20px;
}
.case-carousel-arrow {
  flex-shrink: 0;
  width: 46px; height: 46px;
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--border-strong);
  background: var(--card-bg);
  color: var(--text-primary);
  cursor: pointer;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.25s var(--ease);
}
.case-carousel-arrow:hover { background: var(--highlight); border-color: var(--highlight); color: #06222A; transform: translateY(-2px); }
.case-carousel-arrow:disabled { opacity: 0.35; cursor: not-allowed; transform: none; background: var(--card-bg); border-color: var(--border-strong); color: var(--text-primary); }
.case-carousel-arrow svg { width: 20px; height: 20px; }
.case-carousel-dots { display: flex; justify-content: center; gap: 8px; margin-top: 4px; }
.case-carousel-dots button {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--border-strong);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: background 0.25s var(--ease), width 0.25s var(--ease);
}
.case-carousel-dots button.is-active { background: var(--highlight); width: 24px; border-radius: var(--radius-pill); }

.case-card {
  text-align: left;
  padding: 28px 26px;
  border-radius: var(--radius-lg);
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  font-size: 0.9rem;
  cursor: pointer;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
  flex: 0 0 100%;
  width: 100%;
  scroll-snap-align: start;
}
@media (min-width: 640px) { .case-card { flex-basis: calc(50% - 10px); } }
@media (min-width: 1080px) { .case-card { flex-basis: calc(33.333% - 14px); } }
.case-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: var(--border-strong); }
.case-card-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.case-card-top > svg { width: 24px; height: 24px; color: var(--highlight-dark); flex-shrink: 0; }
.case-card-industry {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 5px 11px;
  border-radius: var(--radius-pill);
  background: var(--accent-soft);
  color: var(--highlight-dark);
  white-space: nowrap;
}
.case-card h4 { font-size: 1.02rem; margin-bottom: 8px; }
.case-card p { font-size: 0.88rem; margin-bottom: 16px; }
.case-card-link { display: inline-flex; align-items: center; gap: 6px; font-size: 0.84rem; font-weight: 700; color: var(--highlight-dark); }
.case-card-link svg { width: 14px; height: 14px; }

.cases-note {
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid var(--border-color);
  font-size: 0.82rem;
  color: var(--text-tertiary);
  font-style: italic;
  max-width: 900px;
}

/* Case Study Detail Modal */
.case-modal-box { max-width: 720px; padding: 44px; }
.case-modal-icon {
  width: 52px; height: 52px;
  border-radius: var(--radius-sm);
  background: var(--accent-soft);
  color: var(--highlight-dark);
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.case-modal-icon svg { width: 24px; height: 24px; }
.case-modal-box h3 { font-size: 1.5rem; margin-bottom: 22px; }
.case-modal-box h4 { font-size: 0.95rem; margin: 26px 0 10px; color: var(--highlight-dark); text-transform: uppercase; letter-spacing: 0.06em; font-size: 0.78rem; }
.case-modal-box > p, .case-modal-box #case-modal-challenge, .case-modal-box #case-modal-solution { font-size: 0.96rem; margin: 0; }
.case-modal-meta {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  padding: 20px;
  border-radius: var(--radius-md);
  background: var(--bg-elevated);
  margin-bottom: 8px;
}
@media (min-width: 560px) { .case-modal-meta { grid-template-columns: repeat(4, 1fr); } }
.case-modal-meta-label { display: block; font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-tertiary); margin-bottom: 4px; }
.case-modal-meta > div span:last-child { display: block; font-size: 0.86rem; font-weight: 600; color: var(--text-primary); }
.case-modal-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.tech-chip {
  font-size: 0.78rem;
  font-weight: 600;
  padding: 6px 13px;
  border-radius: var(--radius-pill);
  background: var(--navy-950);
  color: var(--cyan-300);
}
[data-theme="dark"] .tech-chip { background: var(--bg-elevated); }
.case-modal-columns { display: grid; grid-template-columns: 1fr; gap: 24px; margin-top: 10px; }
@media (min-width: 620px) { .case-modal-columns { grid-template-columns: 1fr 1fr; } }
.case-modal-columns ul { display: grid; gap: 10px; }
.case-modal-columns li { display: flex; align-items: flex-start; gap: 10px; font-size: 0.9rem; color: var(--text-secondary); }
.case-modal-columns li svg { width: 16px; height: 16px; flex-shrink: 0; margin-top: 2px; color: var(--highlight-dark); }
.case-modal-outcomes li svg { color: var(--cyan-400); }

/* ============================== HOW WE WORK =================================== */
.partnership-track {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 20px;
  position: relative;
}
@media (min-width: 700px) { .partnership-track { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .partnership-track { grid-template-columns: repeat(4, 1fr); } }

.partnership-item {
  position: relative;
  padding: 32px 26px;
  border-radius: var(--radius-lg);
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
}
.partnership-item:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: var(--border-strong); }
.partnership-icon {
  width: 48px; height: 48px;
  border-radius: var(--radius-sm);
  background: var(--accent-soft);
  color: var(--highlight-dark);
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.partnership-icon svg { width: 22px; height: 22px; }
.partnership-item h3 { font-size: 1.08rem; margin-bottom: 10px; }
.partnership-item p { font-size: 0.88rem; }

.partnership-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid var(--border-color);
  font-size: 0.86rem;
  color: var(--text-tertiary);
  font-style: italic;
  max-width: 760px;
}
.partnership-note svg { width: 16px; height: 16px; flex-shrink: 0; margin-top: 2px; color: var(--highlight-dark); }

/* ============================== TECH ECOSYSTEM =================================== */
.tech-console {
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--navy-950);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
}
.tech-console-chrome {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 20px;
  background: rgba(255,255,255,0.04);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.tech-console-dot { width: 11px; height: 11px; border-radius: 50%; background: rgba(255,255,255,0.16); }
.tech-console-dot:nth-child(1) { background: #ff5f57; }
.tech-console-dot:nth-child(2) { background: #febc2e; }
.tech-console-dot:nth-child(3) { background: #28c840; }
.tech-console-path {
  margin-left: 12px;
  font-family: 'Space Grotesk', monospace;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.4);
}
.tech-console-body { padding: 32px 28px 36px; }
@media (min-width: 768px) { .tech-console-body { padding: 40px 44px 48px; } }

.tech-search {
  position: relative;
  max-width: 560px;
  margin-bottom: 28px;
}
.tech-search svg {
  position: absolute; left: 18px; top: 50%; transform: translateY(-50%);
  width: 18px; height: 18px; color: rgba(255,255,255,0.4);
  pointer-events: none;
}
.tech-search input {
  width: 100%;
  padding: 14px 18px 14px 48px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.05);
  color: #fff;
  font-size: 0.94rem;
  transition: border-color 0.25s var(--ease);
}
.tech-search input::placeholder { color: rgba(255,255,255,0.35); }
.tech-search input:focus { border-color: var(--highlight); }

.tech-categories { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 44px; }
.tech-tab {
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255,255,255,0.14);
  background: transparent;
  font-size: 0.88rem;
  font-weight: 600;
  color: rgba(255,255,255,0.7);
  transition: all 0.25s var(--ease);
}
.tech-tab.is-active, .tech-tab:hover { background: linear-gradient(135deg, var(--highlight-dark), var(--highlight)); color: #06222A; border-color: transparent; }

.tech-panels { position: relative; }
.tech-panel { display: none; margin-bottom: 32px; }
.tech-panel.is-active { display: block; animation: fadeIn 0.5s var(--ease); }
.tech-panel:last-child { margin-bottom: 0; }
.tech-panel-heading {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--cyan-300);
  margin-bottom: 16px;
}
@keyframes fadeIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }

.tech-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
@media (min-width: 640px) { .tech-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 960px) { .tech-grid { grid-template-columns: repeat(4, 1fr); } }
.tech-pill {
  display: flex; align-items: center; gap: 12px;
  padding: 16px 18px;
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.92);
  font-weight: 600;
  font-size: 0.9rem;
  line-height: 1.3;
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.tech-pill:hover { transform: translateY(-3px); border-color: rgba(255,255,255,0.22); background: rgba(255,255,255,0.07); }
.tech-pill .tech-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan-400); flex-shrink: 0; }

.tech-empty {
  text-align: center;
  padding: 56px 24px;
  border-radius: var(--radius-lg);
  border: 1.5px dashed rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.03);
}
.tech-empty svg {
  width: 34px; height: 34px;
  color: var(--cyan-300);
  margin-bottom: 16px;
  animation: techEmptySpin 3.5s linear infinite;
}
.tech-empty p {
  margin: 0 auto;
  max-width: 460px;
}
.tech-empty p:first-of-type {
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}
.tech-empty-sub { font-size: 0.92rem; color: rgba(255,255,255,0.55); }
@keyframes techEmptySpin {
  0%, 80%, 100% { transform: rotate(0deg); }
  85% { transform: rotate(-12deg); }
  90% { transform: rotate(10deg); }
  95% { transform: rotate(-6deg); }
}

/* ============================== INDUSTRIES =================================== */
/* "Index + spotlight" layout: a numbered vertical index of industries on one
   side, and a large stage panel on the other that reveals the selected
   industry with a big ghost icon and generous copy. Distinct from the plain
   card-grid pattern used elsewhere on the page. */
.industries-explorer {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-color);
  background: var(--card-bg);
  overflow: hidden;
}
@media (min-width: 860px) { .industries-explorer { grid-template-columns: 300px 1fr; } }

.industries-index {
  display: flex;
  flex-direction: column;
  border-bottom: 1px solid var(--border-color);
  background: var(--bg-elevated);
}
@media (min-width: 860px) { .industries-index { border-bottom: none; border-right: 1px solid var(--border-color); } }

.industry-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 24px;
  text-align: left;
  font-size: 0.94rem;
  font-weight: 600;
  color: var(--text-secondary);
  border-left: 3px solid transparent;
  border-bottom: 1px solid var(--border-color);
  transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
}
.industry-row:last-child { border-bottom: none; }
.industry-row-num {
  font-family: var(--font-display);
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--text-tertiary);
  min-width: 22px;
  transition: color 0.25s var(--ease);
}
.industry-row svg { width: 18px; height: 18px; color: var(--text-tertiary); flex-shrink: 0; transition: color 0.25s var(--ease); }
.industry-row:hover { background: var(--card-bg); color: var(--text-primary); }
.industry-row.is-active {
  background: var(--card-bg);
  color: var(--highlight-dark);
  border-left-color: var(--highlight);
}
.industry-row.is-active .industry-row-num,
.industry-row.is-active svg { color: var(--highlight-dark); }

.industries-stage { position: relative; overflow: hidden; }
.industry-panel {
  position: relative;
  padding: 48px 36px;
  min-height: 320px;
  flex-direction: column;
  justify-content: flex-start;
  animation: fadeIn 0.45s var(--ease);
}
.industry-panel[hidden] { display: none; }
.industry-panel:not([hidden]) { display: flex; }
@media (min-width: 640px) { .industry-panel { padding: 60px 56px; } }
.industry-panel-ghost {
  position: absolute;
  top: 50%; right: 4%;
  width: 220px; height: 220px;
  transform: translateY(-50%);
  color: var(--text-primary);
  opacity: 0.04;
  pointer-events: none;
}
[data-theme="dark"] .industry-panel-ghost { opacity: 0.06; }
.industry-panel-icon {
  width: 56px; height: 56px;
  border-radius: var(--radius-sm);
  background: var(--accent-soft);
  color: var(--highlight-dark);
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 24px;
  position: relative;
}
.industry-panel-icon svg { width: 26px; height: 26px; }
.industry-panel h3 { font-size: 1.5rem; margin-bottom: 14px; position: relative; max-width: 480px; }
.industry-panel p { font-size: 1rem; max-width: 520px; position: relative; margin: 0 0 24px; }
.industry-panel-tags { display: flex; flex-wrap: wrap; gap: 10px; position: relative; margin-bottom: 22px; }
.industry-panel-tags span {
  font-size: 0.78rem;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: var(--radius-pill);
  background: var(--accent-soft);
  color: var(--highlight-dark);
  border: 1px solid var(--border-color);
}
.industry-panel-usecases {
  position: relative;
  display: grid;
  gap: 10px;
  max-width: 560px;
  padding-top: 20px;
  border-top: 1px solid var(--border-color);
}
.industry-panel-usecases li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-secondary);
}
.industry-panel-usecases li svg {
  width: 16px; height: 16px; flex-shrink: 0; margin-top: 3px;
  color: var(--highlight-dark);
}
.industry-panel-usecases li strong { color: var(--text-primary); font-weight: 600; }

/* ============================== ENGAGEMENT MODELS =================================== */
/* "Stepper" tabs with a connecting line (numbered 01–04) leading into an
   icon-led intro + spec-list detail panel — replaces the plain 2x2 box grid
   with a more editorial, definition-list style layout. */
.engagement-selector {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  background: var(--card-bg);
  overflow: hidden;
}
.engagement-tabs {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-bottom: 1px solid var(--border-color);
  background: var(--bg-elevated);
}
@media (min-width: 720px) { .engagement-tabs { grid-template-columns: repeat(4, 1fr); } }
.engagement-tab {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 28px 16px 22px;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--text-secondary);
  border-right: 1px solid var(--border-color);
  transition: all 0.3s var(--ease);
  text-align: center;
}
.engagement-tab::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 3px;
  background: var(--highlight);
  transform: scaleX(0);
  transition: transform 0.3s var(--ease);
}
.engagement-tab.is-active::after { transform: scaleX(1); }
.engagement-tab-num {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-tertiary);
  letter-spacing: 0.04em;
  transition: color 0.3s var(--ease);
}
.engagement-tab:nth-child(2n) { border-right: none; }
@media (min-width: 720px) {
  .engagement-tab:nth-child(2n) { border-right: 1px solid var(--border-color); }
  .engagement-tab:last-child { border-right: none; }
}
.engagement-tab svg { width: 22px; height: 22px; color: var(--text-tertiary); transition: color 0.3s var(--ease); }
.engagement-tab.is-active, .engagement-tab:hover { color: var(--highlight-dark); background: var(--accent-soft); }
.engagement-tab.is-active svg, .engagement-tab:hover svg { color: var(--highlight-dark); }
.engagement-tab.is-active .engagement-tab-num, .engagement-tab:hover .engagement-tab-num { color: var(--highlight-dark); }

.engagement-detail { padding: 40px 32px; animation: fadeIn 0.4s var(--ease); }
@media (min-width: 640px) { .engagement-detail { padding: 48px 44px; } }
.engagement-detail-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
}
@media (min-width: 780px) { .engagement-detail-inner { grid-template-columns: 260px 1fr; gap: 48px; } }
.engagement-detail-intro { display: flex; flex-direction: column; align-items: flex-start; }
.engagement-detail-icon {
  width: 54px; height: 54px;
  border-radius: var(--radius-sm);
  background: linear-gradient(150deg, var(--navy-950), var(--navy-700));
  color: var(--cyan-300);
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
  flex-shrink: 0;
}
.engagement-detail-icon svg { width: 24px; height: 24px; }
.engagement-detail-desc { font-size: 1.1rem; color: var(--text-primary); font-weight: 500; margin: 0; max-width: 320px; }

.engagement-spec-list {
  display: grid;
  gap: 1px;
  background: var(--border-color);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin: 0;
}
.engagement-spec-row {
  background: var(--card-bg);
  display: grid;
  grid-template-columns: 1fr;
  gap: 4px;
  padding: 18px 22px;
}
@media (min-width: 560px) { .engagement-spec-row { grid-template-columns: 200px 1fr; gap: 16px; align-items: baseline; } }
.engagement-spec-row dt {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--highlight-dark);
}
.engagement-spec-row dt svg { width: 16px; height: 16px; flex-shrink: 0; }
.engagement-spec-row dd { font-size: 0.92rem; color: var(--text-secondary); margin: 0; }

/* ============================== EXPERTISE LEVELS =================================== */
/* Three equal-weight, top-aligned cards \u2014 each step slightly taller/elevated
   with alignment identical across languages (no per-card padding/margin
   offsets that could drift when EN/ES copy lengths differ); seniority is
   communicated purely through escalating accent color intensity. */
.expertise-staircase {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  align-items: stretch;
}
@media (min-width: 860px) { .expertise-staircase { grid-template-columns: repeat(3, 1fr); gap: 24px; } }

.expertise-step {
  position: relative;
  overflow: hidden;
  padding: 32px 28px;
  border-radius: var(--radius-lg);
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
}
.expertise-step::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 5px;
  background: var(--step-accent, var(--highlight));
}
.expertise-step:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--border-strong); }

/* Each level gets its own accent color, and all three cards share identical
   size/padding and top alignment — no staircase offset, so English and
   Spanish copy (which run different lengths) never throw the row out of
   alignment. Color intensity still escalates: teal (Core) -> indigo
   (Advanced) -> amber (Principal) to hint at rising seniority. */
.expertise-step-1 { --step-accent: var(--highlight); }
.expertise-step-2 { --step-accent: #6366F1; }
.expertise-step-3 { --step-accent: #F59E0B; }

.expertise-step-dots { display: flex; gap: 6px; margin-bottom: 22px; }
.expertise-step-dots span { width: 20px; height: 4px; border-radius: var(--radius-pill); background: var(--border-strong); }
.expertise-step-1 .expertise-step-dots span.is-filled { background: var(--highlight); }
.expertise-step-2 .expertise-step-dots span.is-filled { background: #6366F1; }
.expertise-step-3 .expertise-step-dots span.is-filled { background: #F59E0B; }

.expertise-step-icon {
  width: 50px; height: 50px;
  border-radius: var(--radius-sm);
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
  flex-shrink: 0;
}
.expertise-step-icon svg { width: 24px; height: 24px; }
.expertise-step-1 .expertise-step-icon { background: rgba(9, 208, 222, 0.12); color: var(--highlight-dark); }
.expertise-step-2 .expertise-step-icon { background: rgba(99, 102, 241, 0.12); color: #6366F1; }
.expertise-step-3 .expertise-step-icon { background: rgba(245, 158, 11, 0.14); color: #B45309; }
[data-theme="dark"] .expertise-step-3 .expertise-step-icon { color: #F59E0B; }

.expertise-step-tier {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 6px;
}
.expertise-step-1 .expertise-step-tier { color: var(--highlight-dark); }
.expertise-step-2 .expertise-step-tier { color: #6366F1; }
.expertise-step-3 .expertise-step-tier { color: #B45309; }
[data-theme="dark"] .expertise-step-3 .expertise-step-tier { color: #F59E0B; }
.expertise-step h3 { font-size: 1.3rem; margin-bottom: 12px; }
.expertise-step p { font-size: 0.92rem; margin: 0; flex-grow: 1; }

.expertise-footnote {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--border-color);
  font-size: 0.9rem;
  color: var(--text-tertiary);
  font-style: italic;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  max-width: 860px;
}
.expertise-footnote svg { width: 16px; height: 16px; flex-shrink: 0; margin-top: 2px; color: var(--highlight-dark); }

/* ============================== LEADERSHIP =================================== */
.leadership-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
  padding: 48px;
  border-radius: var(--radius-xl);
  background: var(--card-bg);
  border: 1px solid var(--border-color);
}
@media (min-width: 800px) { .leadership-card { grid-template-columns: 240px 1fr; padding: 56px; } }
.leadership-photo {
  width: 180px; height: 180px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid var(--bg-elevated);
  box-shadow: var(--shadow-md);
  margin-inline: auto;
}
@media (min-width: 800px) { .leadership-photo { width: 200px; height: 200px; margin-inline: 0; } }
.leadership-photo img { width: 100%; height: 100%; object-fit: cover; }
.leadership-name { font-size: 1.6rem; margin-bottom: 4px; }
.leadership-role { color: var(--highlight-dark); font-weight: 600; font-size: 0.95rem; margin-bottom: 20px; display: block; }
.leadership-quote { font-size: 1.08rem; color: var(--text-primary); line-height: 1.7; }
.leadership-social { display: inline-flex; align-items: center; gap: 8px; margin-top: 22px; font-size: 0.88rem; font-weight: 600; color: var(--highlight-dark); }
.leadership-social svg { width: 16px; height: 16px; }

/* ============================== FAQ =================================== */
.faq-list { max-width: 780px; margin-inline: auto; }
.faq-item {
  border-bottom: 1px solid var(--border-color);
}
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 26px 4px;
  text-align: left;
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--text-primary);
}
.faq-question svg { width: 20px; height: 20px; flex-shrink: 0; transition: transform 0.35s var(--ease); color: var(--text-tertiary); }
.faq-item.is-open .faq-question svg { transform: rotate(45deg); color: var(--highlight-dark); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease);
}
.faq-answer p { padding: 0 4px 26px; font-size: 0.96rem; max-width: 680px; }
.faq-item.is-open .faq-answer { max-height: 320px; }

/* ============================== FINAL CTA =================================== */
#final-cta {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  margin: 0 24px;
  padding: 96px 40px;
  text-align: center;
  background: linear-gradient(150deg, var(--navy-950), var(--navy-700));
  color: #fff;
}
@media (min-width: 768px) { #final-cta { margin: 0 40px; padding: 120px 40px; } }
#final-cta::before {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.08) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: radial-gradient(ellipse at center, black 10%, transparent 72%);
}
.final-cta-inner { position: relative; z-index: 2; max-width: 720px; margin-inline: auto; }
.final-cta-inner h2 { color: #fff; font-size: clamp(2.2rem, 4.4vw, 3.4rem); margin-bottom: 20px; }
.final-cta-inner p { color: rgba(255,255,255,0.72); font-size: 1.08rem; margin-bottom: 40px; }
.final-cta-actions { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; }
.final-cta-contact { margin-top: 48px; display: flex; flex-wrap: wrap; gap: 28px; justify-content: center; font-size: 0.92rem; color: rgba(255,255,255,0.65); }
.final-cta-contact a { display: inline-flex; align-items: center; gap: 8px; color: rgba(255,255,255,0.9); font-weight: 500; }
.final-cta-contact svg { width: 16px; height: 16px; }

/* ================================ FOOTER =================================== */
footer {
  background: var(--bg-elevated);
  border-top: 1px solid var(--border-color);
  padding: 80px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--border-color);
}
@media (min-width: 860px) { .footer-grid { grid-template-columns: 1.4fr repeat(4, 1fr); } }

.footer-brand img { height: 44px; }
.footer-logo-badge { margin-bottom: 18px; }
.footer-brand p { font-size: 0.92rem; max-width: 280px; margin-bottom: 20px; }
.footer-social { display: flex; gap: 10px; }
.footer-schedule-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--highlight-dark);
  transition: color 0.25s var(--ease), gap 0.25s var(--ease);
}
.footer-schedule-link svg { width: 16px; height: 16px; }
.footer-schedule-link:hover { color: var(--highlight); gap: 11px; }
.footer-col h4 { font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-tertiary); margin-bottom: 18px; }
.footer-col ul { display: grid; gap: 12px; list-style: none; margin: 0; padding: 0; }
.footer-col ul li { margin: 0; padding: 0; }
.footer-col a { display: inline-block; font-size: 0.92rem; color: var(--text-secondary); transition: color 0.25s var(--ease); }
.footer-col a:hover { color: var(--highlight-dark); }
.footer-col address { font-style: normal; font-size: 0.88rem; color: var(--text-secondary); margin-bottom: 16px; }
.footer-col address strong { display: block; color: var(--text-primary); margin-bottom: 4px; }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  align-items: center;
  padding-top: 32px;
  font-size: 0.82rem;
  color: var(--text-tertiary);
}
.footer-bottom-links { display: flex; gap: 20px; }

/* ================================ MODAL (Discovery Call) =================================== */
.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(6,11,20,0.66);
  backdrop-filter: blur(4px);
  z-index: 200;
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s var(--ease);
}
.modal-overlay.is-open { opacity: 1; pointer-events: auto; }
.modal-box {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  max-width: 560px;
  width: 100%;
  max-height: 88vh;
  overflow-y: auto;
  padding: 40px;
  position: relative;
  transform: translateY(16px) scale(0.98);
  transition: transform 0.35s var(--ease);
}
.modal-overlay.is-open .modal-box { transform: translateY(0) scale(1); }
.modal-close {
  position: absolute; top: 20px; right: 20px;
  width: 36px; height: 36px;
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
}
.modal-box h3 { font-size: 1.4rem; margin-bottom: 8px; }
.modal-box > p { margin-bottom: 28px; font-size: 0.95rem; }
.form-grid { display: grid; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 480px) { .form-row { grid-template-columns: 1fr; } }
.form-field label { display: block; font-size: 0.82rem; font-weight: 600; margin-bottom: 8px; }
.form-field input, .form-field textarea {
  width: 100%;
  padding: 13px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  background: var(--bg-elevated);
  color: var(--text-primary);
  font-size: 0.94rem;
  transition: border-color 0.25s var(--ease);
}
.form-field input:focus, .form-field textarea:focus { border-color: var(--highlight); }
.form-field textarea { resize: vertical; min-height: 96px; }
.form-note { font-size: 0.78rem; color: var(--text-tertiary); margin-top: 4px; }
.form-success { display: none; text-align: center; padding: 20px 0; }
.form-success.is-visible { display: block; }
.form-success svg { width: 48px; height: 48px; color: var(--cyan-400); margin: 0 auto 16px; }

/* Calendly scheduling step — shown after successful lead submission so the
   visitor can immediately book a time without waiting for a follow-up email. */
#discovery-modal .modal-box.is-scheduling { max-width: 780px; }
.discovery-schedule { display: none; }
.discovery-schedule.is-visible { display: block; }
.discovery-schedule h3 { font-size: 1.25rem; margin-bottom: 6px; }
.calendly-embed { min-width: 280px; height: 640px; margin-top: 12px; }
.calendly-embed .calendly-inline-widget { border-radius: var(--radius-md); overflow: hidden; }

/* ================================ MISC =================================== */
.back-to-top {
  position: fixed;
  bottom: 28px; right: 28px;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--text-primary);
  color: var(--bg);
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-md);
  opacity: 0; pointer-events: none;
  transform: translateY(10px);
  transition: all 0.3s var(--ease);
  z-index: 60;
}
.back-to-top.is-visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
.back-to-top svg { width: 20px; height: 20px; }

[lang-hidden] { display: none !important; }

.divider-dot { width: 4px; height: 4px; border-radius: 50%; background: var(--text-tertiary); display: inline-block; }

/* ================================ LEGAL PAGES (Privacy / Terms) =================================== */
.legal-page main { padding-top: 40px; }
.legal-hero {
  padding: 64px 0 32px;
  border-bottom: 1px solid var(--border-color);
}
.legal-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--highlight-dark);
  margin-bottom: 24px;
  transition: gap 0.25s var(--ease);
}
.legal-back:hover { gap: 10px; }
.legal-hero h1 { font-size: clamp(2rem, 4vw, 2.75rem); margin-bottom: 12px; }
.legal-updated { font-size: 0.9rem; color: var(--text-tertiary); }
.legal-intro {
  font-size: 1.08rem;
  color: var(--text-secondary);
  max-width: 720px;
  margin-top: 20px;
}
.legal-content {
  max-width: 760px;
  padding: 56px 0 100px;
  display: grid;
  gap: 40px;
}
.legal-section h2 {
  font-size: 1.25rem;
  margin-bottom: 12px;
  color: var(--text-primary);
}
.legal-section p {
  font-size: 0.98rem;
  line-height: 1.75;
  color: var(--text-secondary);
}
.legal-section p a { color: var(--highlight-dark); font-weight: 600; }
.legal-section p a:hover { text-decoration: underline; }
@media (max-width: 768px) {
  .legal-hero { padding: 40px 0 24px; }
  .legal-content { padding: 40px 0 72px; }
}
