/* ============================================================
   SHYRO STUDIO — STYLES.CSS
   Base: sistema de diseño de SHYRO Hosting
   (Space Grotesk / Inter / JetBrains Mono, grid de líneas, bento)
   Acento: NARANJA característico de Studio.
   ============================================================ */

/* ---------- 1. TOKENS ---------- */
:root {
  --bg-0: #0A0C10;
  --bg-1: #101318;
  --bg-2: #161A20;
  --bg-3: #1D222A;

  --fg-0: #F2F5F8;
  --fg-1: #C8CFD6;
  --fg-2: #8A929C;
  --fg-3: #565C66;

  /* ===== ACENTO NARANJA SHYRO STUDIO ===== */
  --accent-500: #FF7A00;
  --accent-600: #E66B00;
  --accent-700: #C95A00;
  --accent-800: #A84A00;
  --accent-dim: rgba(255, 122, 0, 0.12);
  --accent-line: rgba(255, 122, 0, 0.32);
  --accent-dim-strong: rgba(255, 122, 0, 0.18);
  --accent-line-strong: rgba(255, 122, 0, 0.5);

  --amber: #FFB454;
  --amber-dim: rgba(255, 180, 84, 0.12);
  --amber-line: rgba(255, 180, 84, 0.4);

  --line-1: rgba(242, 245, 248, 0.08);
  --line-2: rgba(242, 245, 248, 0.14);
  --line-3: rgba(242, 245, 248, 0.24);

  --font-display: 'Space Grotesk', 'Inter', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;

  --t-mega: clamp(2.6rem, 7.5vw, 5.6rem);
  --t-xl: clamp(2rem, 4.2vw, 3.4rem);
  --t-lg: clamp(1.4rem, 2.4vw, 2rem);
  --t-md: clamp(1.05rem, 1.5vw, 1.3rem);
  --t-base: 1rem;
  --t-sm: 0.875rem;
  --t-xs: 0.78rem;
  --t-2xs: 0.68rem;

  --gutter: clamp(16px, 3vw, 32px);
  --container: 1280px;

  --r-1: 2px;
  --r-2: 4px;
  --r-3: 6px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --t-fast: 120ms;
  --t-base: 220ms;
  --t-slow: 420ms;

  /* Botón primario: naranja con texto oscuro (como Studio original) */
  --btn-primary-fg: #14100A;
  --btn-primary-bg: #FF7A00;
  --btn-primary-bg-hover: #E66B00;

  --color-scheme: dark;
}

html[data-theme="light"] {
  --bg-0: #F4F6F8;
  --bg-1: #FFFFFF;
  --bg-2: #ECEEF2;
  --bg-3: #E0E3E8;
  --fg-0: #0A0C10;
  --fg-1: #2A2E34;
  --fg-2: #5A6068;
  --fg-3: #8A9098;

  --accent-500: #E06600;
  --accent-600: #C95A00;
  --accent-700: #A84A00;
  --accent-800: #8A3C00;
  --accent-dim: rgba(224, 102, 0, 0.10);
  --accent-line: rgba(224, 102, 0, 0.30);
  --accent-dim-strong: rgba(224, 102, 0, 0.16);
  --accent-line-strong: rgba(224, 102, 0, 0.5);

  --amber: #B36A00;
  --amber-dim: rgba(179, 106, 0, 0.10);
  --amber-line: rgba(179, 106, 0, 0.35);

  --line-1: rgba(10, 12, 16, 0.08);
  --line-2: rgba(10, 12, 16, 0.14);
  --line-3: rgba(10, 12, 16, 0.24);

  --btn-primary-fg: #FFFFFF;
  --btn-primary-bg: #E06600;
  --btn-primary-bg-hover: #C95A00;

  --color-scheme: light;
}

html { color-scheme: var(--color-scheme); }
html:not([data-theme]) { visibility: hidden; }
html[data-theme] { visibility: visible; }

/* ---------- 2. RESET ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-size: var(--t-base);
  line-height: 1.55;
  color: var(--fg-0);
  background: var(--bg-0);
  overflow-x: hidden;
  transition: background-color var(--t-base) var(--ease), color var(--t-base) var(--ease);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
::selection { background: var(--accent-500); color: var(--bg-0); }

body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(var(--line-1) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-1) 1px, transparent 1px);
  background-size: 96px 96px;
  mask-image: linear-gradient(180deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
  opacity: 0.55;
}

/* ---------- 3. LAYOUT ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: clamp(72px, 10vw, 140px); position: relative; }
.text-center { text-align: center; }
.highlight { color: var(--accent-500); font-weight: 500; }

.section-header { margin-bottom: clamp(32px, 4vw, 48px); }
.section-header h2 {
  font-family: var(--font-display);
  font-size: var(--t-xl);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: var(--fg-0);
  text-wrap: balance;
  margin-bottom: 16px;
}
.section-header p {
  font-size: var(--t-md);
  color: var(--fg-1);
  line-height: 1.6;
  max-width: 62ch;
  margin-inline: auto;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--accent-line-strong);
  background: var(--accent-dim);
  font-family: var(--font-mono);
  font-size: var(--t-2xs);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-500);
  margin-bottom: 20px;
}
.section-badge i { font-size: 0.85em; }

/* ---------- 4. BOTONES ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: var(--r-1);
  font-family: var(--font-mono);
  font-size: var(--t-xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  min-height: 44px;
  transition: background var(--t-base) var(--ease),
              color var(--t-base) var(--ease),
              border-color var(--t-base) var(--ease),
              transform var(--t-fast) var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn i { font-size: 0.9em; }

.btn-primary {
  background: var(--btn-primary-bg);
  color: var(--btn-primary-fg);
  border-color: var(--btn-primary-bg);
  font-weight: 700;
}
.btn-primary:hover {
  background: var(--btn-primary-bg-hover);
  border-color: var(--btn-primary-bg-hover);
}
.btn-secondary {
  background: transparent;
  color: var(--fg-0);
  border-color: var(--line-3);
}
.btn-secondary:hover {
  border-color: var(--accent-500);
  color: var(--accent-500);
  background: var(--accent-dim);
}
.btn-large { padding: 16px 28px; font-size: var(--t-sm); min-height: 52px; }
.btn-sm { padding: 9px 16px; font-size: var(--t-2xs); min-height: 36px; }
.btn-full { width: 100%; }
.btn:focus-visible, a:focus-visible, button:focus-visible {
  outline: 2px solid var(--accent-500);
  outline-offset: 3px;
  border-radius: var(--r-1);
}

/* ---------- 5. NAVBAR ---------- */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 14px 0;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background var(--t-slow) var(--ease),
              border-color var(--t-slow) var(--ease),
              padding var(--t-slow) var(--ease);
}
.navbar.scrolled {
  background: color-mix(in srgb, var(--bg-0) 88%, transparent);
  border-bottom-color: var(--line-2);
  padding: 10px 0;
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
}

.nav-container {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: clamp(20px, 4vw, 48px);
}

.logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo-studio {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 500;
  letter-spacing: -0.03em;
}
.logo-shyro { color: var(--fg-0); }
.logo-studio-name {
  color: var(--accent-500);
  font-weight: 600;
  filter: drop-shadow(0 0 10px rgba(255, 122, 0, 0.45));
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(16px, 2vw, 32px);
  font-family: var(--font-mono);
  font-size: var(--t-xs);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--fg-1);
}
.nav-links > a,
.nav-dropdown-toggle {
  color: var(--fg-1);
  font-weight: 500;
  white-space: nowrap;
  padding: 6px 0;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color var(--t-base) var(--ease);
}
.nav-links > a::after,
.nav-dropdown-toggle::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 1px;
  background: var(--accent-500);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t-base) var(--ease);
}
.nav-links > a:hover,
.nav-dropdown-toggle:hover { color: var(--fg-0); }
.nav-links > a:hover::after,
.nav-dropdown-toggle:hover::after { transform: scaleX(1); }

.nav-dropdown { position: relative; display: inline-flex; align-items: center; }
.nav-dropdown-toggle { background: transparent; border: none; cursor: pointer; }
.nav-dropdown-toggle i { font-size: 0.65em; transition: transform var(--t-base) var(--ease); }
.nav-dropdown:hover .nav-dropdown-toggle i,
.nav-dropdown.active .nav-dropdown-toggle i { transform: rotate(180deg); }
.nav-dropdown::after {
  content: '';
  position: absolute;
  top: 100%; left: -20px; right: -20px; height: 20px;
}
.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 14px);
  left: 0;
  min-width: 300px;
  background: var(--bg-1);
  border: 1px solid var(--line-2);
  border-radius: var(--r-2);
  padding: 8px;
  opacity: 0; visibility: hidden; pointer-events: none;
  transform: translateY(-6px);
  transition: opacity var(--t-base) var(--ease),
              visibility var(--t-base) var(--ease),
              transform var(--t-base) var(--ease);
  z-index: 1001;
  box-shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.7);
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown.active .nav-dropdown-menu {
  opacity: 1; visibility: visible; pointer-events: auto; transform: translateY(0);
}
.nav-dropdown-menu a {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px;
  border-radius: var(--r-2);
  transition: background var(--t-fast) var(--ease);
}
.nav-dropdown-menu a:hover { background: var(--bg-2); }
.nav-dropdown-menu a i {
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--line-2);
  border-radius: var(--r-1);
  color: var(--accent-500);
  font-size: 0.85rem;
  flex-shrink: 0;
  background: var(--bg-2);
}
.nav-dropdown-menu a div { display: flex; flex-direction: column; gap: 2px; }
.nav-dropdown-menu a span {
  font-family: var(--font-body);
  font-size: var(--t-sm);
  font-weight: 600;
  color: var(--fg-0);
  text-transform: none;
  letter-spacing: 0;
}
.nav-dropdown-menu a:hover span { color: var(--accent-500); }
.nav-dropdown-menu a small {
  font-family: var(--font-body);
  font-size: var(--t-2xs);
  color: var(--fg-2);
  text-transform: none;
  letter-spacing: 0;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}
.signup-link {
  font-family: var(--font-mono);
  font-size: var(--t-xs);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--fg-1);
  transition: color var(--t-base) var(--ease);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.signup-link:hover { color: var(--accent-500); }

/* Preferencias desktop */
.prefs-wrapper { position: relative; display: inline-block; }
.prefs-toggle {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 12px;
  border: 1px solid var(--line-3);
  border-radius: var(--r-1);
  background: transparent;
  color: var(--fg-1);
  font-family: var(--font-mono);
  font-size: var(--t-2xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all var(--t-base) var(--ease);
  min-height: 38px;
}
.prefs-toggle:hover,
.prefs-wrapper.open .prefs-toggle {
  color: var(--accent-500);
  border-color: var(--accent-500);
  background: var(--accent-dim);
}
.prefs-toggle i.caret { font-size: 0.7em; transition: transform var(--t-base) var(--ease); }
.prefs-wrapper.open .prefs-toggle i.caret { transform: rotate(180deg); }
.prefs-panel {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 320px;
  background: var(--bg-1);
  border: 1px solid var(--line-2);
  border-radius: var(--r-2);
  padding: 14px;
  box-shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.7);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: all var(--t-base) var(--ease);
  z-index: 1005;
}
.prefs-wrapper.open .prefs-panel {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.prefs-group { padding: 10px 4px; border-bottom: 1px solid var(--line-1); }
.prefs-group:last-child { border-bottom: none; }
.prefs-group-label {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--font-mono);
  font-size: var(--t-2xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--fg-2);
  margin-bottom: 10px;
}
.prefs-group-label i { color: var(--accent-500); font-size: 0.75rem; }
.prefs-segmented {
  display: grid; grid-template-columns: 1fr 1fr; gap: 4px;
  background: var(--bg-2);
  padding: 3px;
  border-radius: var(--r-2);
}
.prefs-segmented button {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 8px 10px;
  border-radius: var(--r-1);
  color: var(--fg-1);
  font-family: var(--font-body);
  font-size: var(--t-xs);
  font-weight: 600;
  cursor: pointer;
  transition: all var(--t-base) var(--ease);
}
.prefs-segmented button:hover { color: var(--fg-0); }
.prefs-segmented button.active {
  background: var(--bg-0);
  color: var(--accent-500);
}
.prefs-currency-list { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.prefs-currency-list button {
  display: flex; align-items: center; gap: 8px;
  padding: 9px 12px;
  border: 1px solid var(--line-2);
  border-radius: var(--r-1);
  background: transparent;
  color: var(--fg-0);
  font-family: var(--font-mono);
  font-size: var(--t-xs);
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: all var(--t-base) var(--ease);
  text-align: left;
}
.prefs-currency-list button:hover { border-color: var(--accent-500); color: var(--accent-500); }
.prefs-currency-list button.active {
  border-color: var(--accent-500);
  background: var(--accent-dim);
  color: var(--accent-500);
}
.prefs-currency-list button .flag { font-size: 1rem; line-height: 1; }

/* ---------- 6. MENÚ MÓVIL ---------- */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px; height: 40px;
  border: 1px solid var(--line-3);
  border-radius: var(--r-1);
  background: transparent;
  padding: 0;
  cursor: pointer;
  z-index: 1002;
}
.menu-toggle span {
  display: block;
  width: 18px; height: 1.5px;
  background: var(--fg-0);
  margin: 0 auto;
  transition: all var(--t-base) var(--ease);
}
.menu-toggle.active span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: min(420px, 100vw);
  background: var(--bg-0);
  border-left: 1px solid var(--line-2);
  z-index: 1001;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform var(--t-slow) var(--ease);
  padding: max(80px, calc(40px + 60px)) 24px max(24px, env(safe-area-inset-bottom));
  display: flex;
  flex-direction: column;
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu-inner { display: flex; flex-direction: column; flex: 1; }
.mobile-menu-links { display: flex; flex-direction: column; margin-bottom: 20px; }
.mobile-menu-links > a {
  display: flex; justify-content: space-between; align-items: center;
  padding: 16px 0;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--fg-0);
  border-bottom: 1px solid var(--line-1);
  transition: color var(--t-base) var(--ease), padding-left var(--t-base) var(--ease);
}
.mobile-menu-links > a i { color: var(--fg-2); font-size: 0.85rem; transition: all var(--t-base) var(--ease); }
.mobile-menu-links > a:hover { color: var(--accent-500); padding-left: 6px; }
.mobile-menu-links > a:hover i { color: var(--accent-500); }

.mobile-dropdown { display: flex; flex-direction: column; border-bottom: 1px solid var(--line-1); }
.mobile-dropdown-toggle {
  display: flex; justify-content: space-between; align-items: center;
  width: 100%; padding: 16px 0;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--fg-0);
  text-align: left;
  transition: color var(--t-base) var(--ease);
}
.mobile-dropdown-toggle i { color: var(--fg-2); font-size: 0.85rem; transition: all var(--t-base) var(--ease); }
.mobile-dropdown-toggle:hover,
.mobile-dropdown-toggle[aria-expanded="true"] { color: var(--accent-500); }
.mobile-dropdown-toggle[aria-expanded="true"] i { color: var(--accent-500); transform: rotate(180deg); }
.mobile-dropdown-menu {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--t-slow) var(--ease), padding var(--t-slow) var(--ease);
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 0;
}
.mobile-dropdown.open .mobile-dropdown-menu { max-height: 700px; padding: 0 0 14px; }
.mobile-dropdown-menu a {
  display: flex; align-items: center; gap: 12px;
  padding: 11px 0;
  font-size: var(--t-sm);
  color: var(--fg-1);
  transition: all var(--t-base) var(--ease);
}
.mobile-dropdown-menu a i { color: var(--accent-500); font-size: 0.85rem; width: 18px; text-align: center; }
.mobile-dropdown-menu a:hover { color: var(--accent-500); padding-left: 6px; }

.mobile-menu-cta {
  display: flex; align-items: center; justify-content: center;
  width: 100%;
  padding: 16px 24px;
  margin-top: auto;
  background: var(--btn-primary-bg);
  color: var(--btn-primary-fg);
  border-radius: var(--r-1);
  font-family: var(--font-mono);
  font-size: var(--t-sm);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: background var(--t-base) var(--ease);
}
.mobile-menu-cta:hover { background: var(--btn-primary-bg-hover); }

.mobile-menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 1000;
  opacity: 0; visibility: hidden;
  transition: all var(--t-slow) var(--ease);
}
.mobile-menu-overlay.active { opacity: 1; visibility: visible; }
body.menu-open { overflow: hidden; }

.prefs-mobile {
  width: 100%;
  margin: 8px 0 12px;
  padding: 12px 0;
  border-top: 1px solid var(--line-1);
  border-bottom: 1px solid var(--line-1);
}

/* ---------- 7. SCROLL INDICATOR ---------- */
.scroll-indicator {
  position: fixed;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 999;
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  pointer-events: none;
}
.scroll-indicator-line {
  width: 1px; height: 140px;
  background: var(--line-2);
  position: relative;
}
.scroll-indicator-progress {
  position: absolute; top: 0; left: 0; width: 100%; height: 0%;
  background: var(--accent-500);
  transition: height 100ms linear;
}
.scroll-indicator-label {
  font-family: var(--font-mono);
  font-size: var(--t-2xs);
  font-weight: 500;
  letter-spacing: 0.14em;
  color: var(--fg-2);
  text-transform: uppercase;
  font-variant-numeric: tabular-nums;
  pointer-events: auto;
  user-select: none;
  transition: color var(--t-base) var(--ease);
}
.scroll-indicator-label.active { color: var(--accent-500); }
.scroll-indicator-label.is-end {
  cursor: pointer;
  padding: 4px 8px;
  border: 1px solid var(--accent-line);
  border-radius: var(--r-1);
}
.scroll-indicator-label.is-end:hover { background: var(--accent-dim); }

/* ---------- 8. HERO ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 0;
  border-bottom: 1px solid var(--line-2);
  overflow: hidden;
  isolation: isolate;
  background: var(--bg-0);
}

.hero-bg-image {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 0;
  background-image: url('assets/hero/studio-hero.webp');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  pointer-events: none;
}

.hero-overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 1;
  background:
    radial-gradient(ellipse 70% 55% at 50% 40%, transparent 0%, rgba(0, 0, 0, 0.45) 100%),
    linear-gradient(
      180deg,
      rgba(10, 12, 16, 0.88) 0%,
      rgba(10, 12, 16, 0.65) 45%,
      rgba(10, 12, 16, 0.95) 100%
    );
  pointer-events: none;
}
html[data-theme="light"] .hero-overlay {
  background:
    radial-gradient(ellipse 70% 55% at 50% 40%, transparent 0%, rgba(255, 255, 255, 0.4) 100%),
    linear-gradient(
      180deg,
      rgba(244, 246, 248, 0.9) 0%,
      rgba(244, 246, 248, 0.72) 45%,
      rgba(244, 246, 248, 0.97) 100%
    );
}

.hero::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 70%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-500), transparent);
  opacity: 0.5;
  z-index: 3;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: clamp(140px, 16vw, 200px) 0 clamp(80px, 10vw, 120px);
  text-align: center;
}

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--accent-line-strong);
  background: rgba(255, 122, 0, 0.10);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  font-family: var(--font-mono);
  font-size: var(--t-2xs);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-500);
  margin-bottom: 28px;
}
html[data-theme="light"] .badge-pill {
  background: rgba(224, 102, 0, 0.12);
}
.badge-pill i { font-size: 0.85em; }

.hero h1 {
  font-family: var(--font-display);
  font-size: var(--t-mega);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 0.98;
  margin-bottom: 32px;
  color: var(--fg-0);
  text-wrap: balance;
}
.hero p {
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  color: var(--fg-1);
  max-width: 62ch;
  margin: 0 auto 40px;
  line-height: 1.6;
  text-wrap: balance;
}
.hero-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
}

/* Typewriter */
.typewriter-text {
  color: var(--accent-500);
  font-weight: 600;
  filter: drop-shadow(0 0 18px rgba(255, 122, 0, 0.45));
}
html[data-theme="light"] .typewriter-text {
  filter: drop-shadow(0 0 14px rgba(224, 102, 0, 0.35));
}
.typewriter-cursor {
  display: inline-block;
  color: var(--accent-500);
  font-weight: 300;
  animation: blink 0.7s step-end infinite;
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

/* ---------- 9. STATS FLOTANTES ---------- */
.stats-floating {
  position: relative;
  margin-top: -60px;
  z-index: 10;
  padding: 0 var(--gutter);
}
.stats-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  background: var(--bg-1);
  border: 1px solid var(--line-2);
  border-radius: var(--r-2);
  padding: clamp(24px, 3vw, 40px) clamp(24px, 4vw, 56px);
  box-shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.7);
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
}
.stats-bar::before {
  content: '';
  position: absolute;
  top: 0; left: 10%; right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-500), transparent);
  pointer-events: none;
}
.stat-item {
  display: flex;
  align-items: center;
  gap: 18px;
  flex: 1;
  min-width: 0;
  justify-content: center;
}
.stat-item .icon-circle {
  width: 48px;
  height: 48px;
  border-radius: var(--r-1);
  background: var(--accent-dim);
  border: 1px solid var(--accent-line);
  color: var(--accent-500);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
  transition: all var(--t-base) var(--ease);
}
.stat-item:hover .icon-circle {
  background: var(--accent-dim-strong);
  border-color: var(--accent-500);
  box-shadow: 0 0 20px -6px rgba(255, 122, 0, 0.6);
}
.stat-info { min-width: 0; }
.stat-info h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 4px;
  color: var(--fg-0);
  white-space: nowrap;
}
.stat-info p {
  font-family: var(--font-mono);
  font-size: var(--t-2xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-2);
  line-height: 1.3;
  white-space: nowrap;
}
.stat-divider {
  width: 1px;
  height: 45px;
  background: var(--line-2);
  flex-shrink: 0;
}

/* ---------- 10. VALUE CARDS (3 PILARES) ---------- */
.value-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line-2);
  border: 1px solid var(--line-2);
  border-radius: var(--r-2);
  overflow: hidden;
}
.value-card {
  background: var(--bg-0);
  padding: clamp(28px, 3vw, 40px) clamp(20px, 2.4vw, 32px);
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: center;
  transition: background var(--t-base) var(--ease);
  position: relative;
}
.value-card:hover { background: var(--bg-1); }
.value-card::after {
  content: '';
  position: absolute;
  top: 0; left: 20%; right: 20%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-500), transparent);
  opacity: 0;
  transition: opacity var(--t-slow) var(--ease);
  pointer-events: none;
}
.value-card:hover::after { opacity: 0.9; }
.value-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--r-1);
  background: var(--accent-dim);
  border: 1px solid var(--accent-line);
  color: var(--accent-500);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  margin: 0 auto 8px;
  transition: all var(--t-base) var(--ease);
}
.value-card:hover .value-icon {
  background: var(--accent-dim-strong);
  border-color: var(--accent-500);
  box-shadow: 0 0 20px -6px rgba(255, 122, 0, 0.6);
}
.value-card h3 {
  font-family: var(--font-display);
  font-size: var(--t-md);
  font-weight: 500;
  letter-spacing: -0.015em;
  color: var(--fg-0);
}
.value-card p {
  font-size: var(--t-sm);
  color: var(--fg-2);
  line-height: 1.65;
}

/* ---------- 11. SERVICE BANNER ---------- */
.studio-services .section-header p { color: var(--fg-1); }

.service-banner {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
  padding: clamp(28px, 4vw, 48px);
  margin-bottom: 1px;
  background: var(--bg-0);
  border-bottom: 1px solid var(--line-2);
  position: relative;
  transition: background var(--t-base) var(--ease);
}
.service-banner:first-of-type { border-top: 1px solid var(--line-2); }
.service-banner:hover { background: var(--bg-1); }
.service-banner.reverse { direction: rtl; }
.service-banner.reverse > * { direction: ltr; }

.service-banner-content {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
}
.service-banner-number {
  font-family: var(--font-mono);
  font-size: var(--t-2xs);
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--accent-500);
}
.service-banner-content h3 {
  font-family: var(--font-display);
  font-size: var(--t-lg);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--fg-0);
}
.service-banner-content > p {
  font-size: var(--t-sm);
  color: var(--fg-2);
  line-height: 1.65;
  max-width: 56ch;
}

/* Tiers */
.service-banner-tier {
  background: var(--bg-1);
  border: 1px solid var(--line-1);
  border-radius: var(--r-2);
  padding: 14px 18px;
  margin-bottom: 8px;
  transition: all var(--t-base) var(--ease);
}
.service-banner-tier:hover {
  border-color: var(--accent-line);
  background: var(--bg-2);
  box-shadow: 0 0 30px -18px rgba(255, 122, 0, 0.5);
}
.service-banner-tier-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 6px;
}
.service-banner-tier-badge {
  font-family: var(--font-mono);
  font-size: var(--t-2xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 3px 10px;
  border-radius: 999px;
  flex-shrink: 0;
  border: 1px solid transparent;
}
.service-banner-tier-badge.basic {
  color: var(--accent-500);
  background: var(--accent-dim);
  border-color: var(--accent-line);
}
.service-banner-tier-badge.advanced {
  color: var(--amber);
  background: var(--amber-dim);
  border-color: var(--amber-line);
}
.service-banner-tier-badge.complete {
  color: var(--fg-0);
  background: var(--bg-3);
  border-color: var(--line-3);
}
.service-banner-tier-price {
  font-family: var(--font-display);
  font-size: var(--t-md);
  font-weight: 500;
  letter-spacing: -0.015em;
  color: var(--accent-500);
}
.service-banner-tier-desc {
  font-size: var(--t-xs);
  color: var(--fg-2);
  line-height: 1.55;
  margin-bottom: 8px;
}
.service-banner-tier-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: var(--t-2xs);
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--accent-500);
  background: var(--accent-dim);
  padding: 2px 10px;
  border-radius: 999px;
  border: 1px solid var(--accent-line);
  margin-bottom: 8px;
}
.service-banner-tier-features {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
}
.service-banner-tier-features li {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: var(--t-xs);
  color: var(--fg-1);
}
.service-banner-tier-features li i {
  font-size: 0.7rem;
  color: var(--accent-500);
  flex-shrink: 0;
}

/* Extras y notas */
.service-banner-extra {
  background: var(--bg-1);
  border: 1px dashed var(--line-2);
  border-radius: var(--r-2);
  padding: 10px 14px;
  margin: 4px 0;
}
.service-banner-extra.external { border-style: solid; }
.service-banner-extra-label {
  font-family: var(--font-mono);
  font-size: var(--t-2xs);
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--fg-0);
}
.service-banner-extra-price {
  font-family: var(--font-display);
  font-size: var(--t-sm);
  font-weight: 500;
  color: var(--accent-500);
  margin-left: 6px;
}
.service-banner-extra-desc {
  font-size: var(--t-xs);
  color: var(--fg-2);
  margin-top: 4px;
  line-height: 1.5;
}

.service-banner-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 14px;
  background: var(--amber-dim);
  border: 1px solid var(--amber-line);
  border-radius: var(--r-2);
  margin: 4px 0;
}
.service-banner-note i {
  color: var(--amber);
  font-size: 0.85rem;
  margin-top: 2px;
  flex-shrink: 0;
}
.service-banner-note p {
  font-size: var(--t-xs);
  color: var(--fg-1);
  line-height: 1.55;
}
.service-banner-note.quality {
  background: var(--accent-dim);
  border-color: var(--accent-line);
}
.service-banner-note.quality i { color: var(--accent-500); }

.service-banner-features-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  margin: 4px 0 8px;
}
.service-banner-features-list span {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: var(--t-xs);
  color: var(--fg-1);
}
.service-banner-features-list span i {
  font-size: 0.7rem;
  color: var(--accent-500);
}

.service-banner-custom p,
.service-banner-price {
  font-size: var(--t-sm);
  color: var(--fg-2);
  line-height: 1.55;
  margin-bottom: 8px;
}
.service-banner-price {
  padding-top: 10px;
  border-top: 1px solid var(--line-1);
}
.service-banner-price strong {
  font-family: var(--font-display);
  color: var(--accent-500);
  font-weight: 500;
  font-size: var(--t-md);
}

/* ---------- 12. VISUALES TÉCNICOS ---------- */
.service-banner-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}
.service-visual-box {
  width: 100%;
  max-width: 440px;
  background: var(--bg-1);
  border: 1px solid var(--line-2);
  border-radius: var(--r-2);
  overflow: hidden;
  position: relative;
  transition: border-color var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease);
}
.service-visual-box::before {
  content: '';
  position: absolute;
  top: 0; left: 10%; right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-500), transparent);
  z-index: 5;
  pointer-events: none;
}
.service-visual-box:hover {
  border-color: var(--accent-line);
  box-shadow: 0 0 60px -30px rgba(255, 122, 0, 0.6);
}

.visual-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  background: var(--bg-2);
  border-bottom: 1px solid var(--line-1);
  min-height: 38px;
}
.visual-dots { display: flex; gap: 6px; }
.visual-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  display: inline-block;
}
.visual-dot.red { background: #FF5F56; }
.visual-dot.yellow { background: #FFBD2E; }
.visual-dot.green { background: #27C93F; }

.visual-title {
  font-family: var(--font-mono);
  font-size: var(--t-2xs);
  font-weight: 600;
  color: var(--fg-2);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.visual-status {
  font-family: var(--font-mono);
  font-size: var(--t-2xs);
  font-weight: 600;
  color: var(--accent-500);
  letter-spacing: 0.06em;
}

.visual-body {
  padding: 16px;
  font-family: var(--font-mono);
  font-size: var(--t-xs);
  line-height: 1.7;
  background: var(--bg-0);
  color: var(--fg-1);
}
.visual-line {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 4px;
}
.visual-line:last-child { margin-bottom: 0; }
.visual-line.success { color: var(--accent-500); }
.visual-prompt { color: var(--accent-500); font-weight: 700; }
.visual-cmd { color: var(--fg-0); font-weight: 500; }
.visual-cursor {
  color: var(--accent-500);
  animation: blink 1s step-end infinite;
}

.visual-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 0;
  border-bottom: 1px solid var(--line-1);
}
.visual-row:last-child { border-bottom: none; }
.visual-label { color: var(--fg-2); }
.visual-value { color: var(--fg-0); font-weight: 600; }
.visual-value.success { color: var(--accent-500); }

.visual-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  background: var(--bg-2);
  border-radius: var(--r-1);
  margin-bottom: 6px;
  color: var(--fg-0);
}
.visual-item.highlight {
  background: var(--accent-dim);
  border: 1px solid var(--accent-line);
  color: var(--accent-500);
  font-weight: 600;
}
.visual-divider {
  height: 1px;
  background: var(--line-1);
  margin: 10px 0;
}

.visual-section-title {
  font-size: var(--t-2xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--fg-2);
  display: block;
  margin-bottom: 6px;
}
.visual-section-title.success { color: var(--accent-500); }
.visual-bar-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 6px;
}
.visual-bar-wrapper {
  flex: 1;
  background: var(--bg-3);
  border-radius: var(--r-1);
  height: 18px;
  overflow: hidden;
}
.visual-bar {
  height: 100%;
  display: flex;
  align-items: center;
  padding-left: 8px;
  font-size: var(--t-2xs);
  font-weight: 700;
  color: var(--bg-0);
}
.visual-bar.before-bar { background: #F87171; }
.visual-bar.after-bar { background: var(--accent-500); }
.visual-arrow {
  text-align: center;
  color: var(--accent-500);
  font-size: 0.8rem;
  margin: 6px 0;
}

.visual-node {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 10px;
  background: var(--bg-2);
  border-radius: var(--r-1);
}
.visual-sync {
  text-align: center;
  color: var(--accent-500);
  font-size: var(--t-2xs);
  line-height: 1.2;
  margin: 4px 0;
}
.visual-badge {
  font-family: var(--font-mono);
  font-size: var(--t-2xs);
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--accent-dim);
  color: var(--accent-500);
  font-weight: 700;
}

.visual-status-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 0;
  border-bottom: 1px solid var(--line-1);
}
.visual-status-item:last-child { border-bottom: none; }
.visual-status-icon { margin-right: 8px; font-weight: 700; }
.visual-status-item.success .visual-status-icon { color: var(--accent-500); }
.visual-status-item.support .visual-status-icon { color: var(--amber); }
.visual-status-time {
  font-family: var(--font-mono);
  font-size: var(--t-2xs);
  color: var(--fg-2);
}

/* ---------- 13. PROCESO ---------- */
.process-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  background: var(--line-2);
  border: 1px solid var(--line-2);
  border-radius: var(--r-2);
  overflow: hidden;
}
.process-step {
  background: var(--bg-0);
  padding: clamp(24px, 3vw, 36px) clamp(18px, 2vw, 24px);
  text-align: center;
  transition: background var(--t-base) var(--ease);
  position: relative;
}
.process-step:hover { background: var(--bg-1); }
.process-number {
  font-family: var(--font-mono);
  font-size: var(--t-2xs);
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--fg-3);
  line-height: 1;
  margin-bottom: 12px;
  transition: color var(--t-base) var(--ease);
}
.process-step:hover .process-number { color: var(--accent-500); }
.process-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--r-1);
  background: var(--accent-dim);
  border: 1px solid var(--accent-line);
  color: var(--accent-500);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  margin: 0 auto 14px;
  transition: all var(--t-base) var(--ease);
}
.process-step:hover .process-icon {
  background: var(--accent-dim-strong);
  border-color: var(--accent-500);
  box-shadow: 0 0 20px -6px rgba(255, 122, 0, 0.6);
}
.process-step h3 {
  font-family: var(--font-display);
  font-size: var(--t-md);
  font-weight: 500;
  letter-spacing: -0.015em;
  color: var(--fg-0);
  margin-bottom: 8px;
}
.process-step p {
  font-size: var(--t-xs);
  color: var(--fg-2);
  line-height: 1.6;
}

/* ---------- 14. NETWORK / SYNERGY ---------- */
.network {
  background: var(--bg-1);
  border-top: 1px solid var(--line-2);
  border-bottom: 1px solid var(--line-2);
}
.network-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line-2);
  border: 1px solid var(--line-2);
  border-radius: var(--r-2);
  overflow: hidden;
  margin-bottom: 32px;
}
.network-card {
  background: var(--bg-0);
  padding: clamp(24px, 3vw, 36px) clamp(20px, 2.4vw, 28px);
  text-align: center;
  transition: background var(--t-base) var(--ease);
}
.network-card:hover { background: var(--bg-2); }
.network-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--r-1);
  background: var(--accent-dim);
  border: 1px solid var(--accent-line);
  color: var(--accent-500);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  margin: 0 auto 14px;
  transition: all var(--t-base) var(--ease);
}
.network-card:hover .network-icon {
  background: var(--accent-dim-strong);
  border-color: var(--accent-500);
  box-shadow: 0 0 20px -6px rgba(255, 122, 0, 0.6);
}
.network-card h3 {
  font-family: var(--font-display);
  font-size: var(--t-md);
  font-weight: 500;
  letter-spacing: -0.015em;
  color: var(--fg-0);
  margin-bottom: 8px;
}
.network-card p {
  font-size: var(--t-xs);
  color: var(--fg-2);
  line-height: 1.6;
}

.network-note,
.synergy-note {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px 24px;
  background: var(--bg-0);
  border: 1px solid var(--line-2);
  border-radius: var(--r-2);
  max-width: 820px;
  margin: 0 auto;
}
.network-note i,
.synergy-note i {
  color: var(--accent-500);
  font-size: 1rem;
  margin-top: 2px;
  flex-shrink: 0;
}
.network-note p,
.synergy-note p {
  font-size: var(--t-sm);
  color: var(--fg-1);
  line-height: 1.65;
}

.synergy-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line-2);
  border: 1px solid var(--line-2);
  border-radius: var(--r-2);
  overflow: hidden;
  max-width: 800px;
  margin: 32px auto;
}
.synergy-card {
  background: var(--bg-0);
  padding: clamp(28px, 3vw, 40px) clamp(20px, 2.4vw, 32px);
  text-align: center;
  transition: background var(--t-base) var(--ease);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.synergy-card:hover { background: var(--bg-1); }
.synergy-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--r-1);
  background: var(--accent-dim);
  border: 1px solid var(--accent-line);
  color: var(--accent-500);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 4px;
  transition: all var(--t-base) var(--ease);
}
.synergy-card:hover .synergy-icon {
  background: var(--accent-dim-strong);
  border-color: var(--accent-500);
  box-shadow: 0 0 20px -6px rgba(255, 122, 0, 0.6);
}
.synergy-card h3 {
  font-family: var(--font-display);
  font-size: var(--t-md);
  font-weight: 500;
  letter-spacing: -0.015em;
  color: var(--fg-0);
}
.synergy-card p {
  font-size: var(--t-sm);
  color: var(--fg-2);
  line-height: 1.65;
}
.synergy-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: var(--t-2xs);
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--accent-500);
  background: var(--accent-dim);
  padding: 4px 12px;
  border-radius: 999px;
  border: 1px solid var(--accent-line);
  margin: 6px 0;
}

/* ---------- 15. CAPACIDADES / PROYECTOS ---------- */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line-2);
  border: 1px solid var(--line-2);
  border-radius: var(--r-2);
  overflow: hidden;
}
.project-card {
  background: var(--bg-0);
  transition: background var(--t-base) var(--ease);
  overflow: hidden;
}
.project-card:hover { background: var(--bg-1); }
.project-image {
  height: 90px;
  background: var(--bg-1);
  border-bottom: 1px solid var(--line-1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--accent-500);
  transition: background var(--t-base) var(--ease);
}
.project-card:hover .project-image { background: var(--bg-2); }
.project-content { padding: 20px; }
.project-content h3 {
  font-family: var(--font-display);
  font-size: var(--t-md);
  font-weight: 500;
  letter-spacing: -0.015em;
  color: var(--fg-0);
  margin-bottom: 8px;
}
.project-content p {
  font-size: var(--t-xs);
  color: var(--fg-2);
  line-height: 1.6;
  margin-bottom: 14px;
}
.project-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: var(--t-2xs);
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--accent-500);
  background: var(--accent-dim);
  padding: 3px 10px;
  border-radius: 999px;
  border: 1px solid var(--accent-line);
}

/* ---------- 16. FINAL CTA ---------- */
.final-cta {
  padding: clamp(80px, 10vw, 140px) 0;
  background: var(--bg-0);
  border-top: 1px solid var(--line-2);
  border-bottom: 1px solid var(--line-2);
  position: relative;
  overflow: hidden;
}
.final-cta::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 800px; height: 800px;
  background: radial-gradient(circle, rgba(255, 122, 0, 0.08), transparent 60%);
  pointer-events: none;
}
.final-cta .container {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  max-width: 900px;
  margin-inline: auto;
}
.final-cta h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.6vw, 3.6rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1.02;
  color: var(--fg-0);
  text-wrap: balance;
}
.final-cta p {
  font-size: var(--t-md);
  color: var(--fg-1);
  line-height: 1.6;
  max-width: 60ch;
}
.final-cta-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 8px;
}
.final-cta-signature {
  font-family: var(--font-mono);
  font-size: var(--t-2xs);
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--fg-2);
  margin-top: 16px;
}

/* ---------- 17. FAQ ---------- */
.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
}
.faq-text h2 {
  font-family: var(--font-display);
  font-size: var(--t-xl);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: var(--fg-0);
  margin-bottom: 20px;
  text-wrap: balance;
}
.faq-text p {
  font-size: var(--t-sm);
  color: var(--fg-2);
  line-height: 1.65;
  margin-bottom: 28px;
  max-width: 42ch;
}
.faq-buttons { display: flex; gap: 10px; flex-wrap: wrap; }

.faq-accordion {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line-2);
}
.accordion-item {
  border-bottom: 1px solid var(--line-1);
  transition: background var(--t-base) var(--ease);
}
.accordion-item:hover { background: var(--bg-1); }
.accordion-item.active { background: var(--bg-1); }
.accordion-header {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 20px 8px;
  cursor: pointer;
  user-select: none;
}
.accordion-header h4 {
  font-family: var(--font-display);
  font-size: var(--t-md);
  font-weight: 500;
  letter-spacing: -0.015em;
  color: var(--fg-0);
  transition: color var(--t-base) var(--ease);
}
.accordion-item.active .accordion-header h4 { color: var(--accent-500); }
.accordion-header i {
  color: var(--fg-2);
  font-size: 0.9rem;
  transition: transform var(--t-slow) var(--ease), color var(--t-base) var(--ease);
}
.accordion-item.active .accordion-header i { color: var(--accent-500); transform: rotate(180deg); }
.accordion-body {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transition: grid-template-rows var(--t-slow) var(--ease), opacity var(--t-slow) var(--ease);
  overflow: hidden;
}
.accordion-item.active .accordion-body { grid-template-rows: 1fr; opacity: 1; }
.accordion-body > p {
  overflow: hidden;
  padding: 0 8px 24px 0;
  color: var(--fg-1);
  font-size: var(--t-sm);
  line-height: 1.7;
  max-width: 70ch;
  min-height: 0;
}

/* ---------- 18. FOOTER ---------- */
.footer {
  background: var(--bg-0);
  border-top: 1px solid var(--line-2);
  padding-top: clamp(56px, 7vw, 96px);
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) repeat(4, minmax(0, 1fr));
  gap: clamp(28px, 4vw, 56px);
  padding-bottom: clamp(40px, 5vw, 64px);
  border-bottom: 1px solid var(--line-2);
}
.footer-col h4 {
  font-family: var(--font-mono);
  font-size: var(--t-2xs);
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--fg-2);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer-col h4::before {
  content: '';
  width: 4px; height: 4px;
  background: var(--accent-500);
}
.footer-col p {
  font-size: var(--t-sm);
  color: var(--fg-2);
  line-height: 1.65;
  margin-bottom: 24px;
  max-width: 42ch;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a {
  font-size: var(--t-sm);
  color: var(--fg-1);
  transition: color var(--t-base) var(--ease), padding-left var(--t-base) var(--ease);
  display: inline-block;
}
.footer-col ul li a:hover { color: var(--accent-500); padding-left: 4px; }

.social-media { margin-top: 24px; }
.social-media h4 { margin-bottom: 14px; }
.social-icons { display: flex; gap: 8px; flex-wrap: wrap; }
.social-icons a {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--line-2);
  border-radius: var(--r-1);
  color: var(--fg-1);
  font-size: 0.85rem;
  transition: all var(--t-base) var(--ease);
}
.social-icons a:hover {
  border-color: var(--accent-500);
  color: var(--accent-500);
  background: var(--accent-dim);
  transform: translateY(-2px);
}

.footer-bottom {
  padding: 24px 0;
}
.footer-bottom-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-bottom-flex p {
  font-family: var(--font-mono);
  font-size: var(--t-2xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-2);
}
.payment-gateway {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
}
.payment-gateway > span {
  font-family: var(--font-mono);
  font-size: var(--t-2xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-2);
}
.payment-gateway i {
  font-size: 1.2rem;
  color: var(--fg-2);
  transition: color var(--t-base) var(--ease);
}
.payment-gateway i:hover { color: var(--accent-500); }

.footer-badges { display: flex; align-items: center; gap: 16px; }
.dmca-link { display: inline-block; opacity: 0.5; transition: opacity var(--t-base) var(--ease); }
.dmca-link:hover { opacity: 1; }
.dmca-link img { height: auto; width: 90px; filter: grayscale(100%) brightness(1.4); }
html[data-theme="light"] .dmca-link img { filter: grayscale(100%) brightness(0.5); }

/* ---------- 19. REVEAL ---------- */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms var(--ease), transform 700ms var(--ease);
  will-change: opacity, transform;
}
.animate-on-scroll.is-visible { opacity: 1; transform: translateY(0); }

/* ---------- 20. SCROLLBAR ---------- */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg-0); }
::-webkit-scrollbar-thumb { background: var(--bg-3); border-radius: 0; }
::-webkit-scrollbar-thumb:hover { background: var(--line-3); }

/* ============================================================
   21. RESPONSIVE
   ============================================================ */
@media (max-width: 1200px) {
  .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
  .footer-grid .footer-col:last-child { grid-column: 1 / -1; }
  .footer-grid .footer-col:last-child ul { display: flex; flex-wrap: wrap; gap: 12px 32px; }
  .process-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 1024px) {
  .nav-links, .nav-actions { display: none !important; }
  .menu-toggle { display: flex !important; }
  .nav-container { display: flex; justify-content: space-between; gap: 16px; }

  .hero h1 { font-size: clamp(2.2rem, 6vw, 4rem); }
  .hero-buttons .btn { flex: 1 1 auto; }

  .value-grid { grid-template-columns: 1fr; max-width: 540px; margin-inline: auto; }
  .value-card { text-align: left; }
  .value-icon { margin: 0 0 8px; }

  .service-banner {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .service-banner.reverse { direction: ltr; }

  .network-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .projects-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .process-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .synergy-grid { grid-template-columns: 1fr; max-width: 480px; }
  .faq-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .scroll-indicator { display: none; }
}

@media (max-width: 720px) {
  body { font-size: 0.95rem; }

  .hero { min-height: auto; padding-top: 40px; }
  .hero-content { padding: 120px 0 80px; }
  .hero-buttons { flex-direction: column; }
  .hero-buttons .btn { width: 100%; }

  .stats-floating { margin-top: -40px; }
  .stats-bar {
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
    padding: 24px;
  }
  .stat-item { justify-content: flex-start; }
  .stat-divider { width: 100%; height: 1px; }

  .value-grid,
  .network-grid,
  .projects-grid,
  .process-grid { grid-template-columns: 1fr; }

  .service-banner { padding: 24px 18px; }
  .service-banner-tier { padding: 12px 14px; }
  .service-banner-tier-features { gap: 4px 12px; }

  .final-cta-buttons { flex-direction: column; width: 100%; }
  .final-cta-buttons .btn { width: 100%; }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px 20px; }
  .footer-grid .footer-col.brand-col { grid-column: 1 / -1; }
  .footer-grid .footer-col:last-child { grid-column: 1 / -1; }

  .footer-bottom-flex { flex-direction: column; align-items: flex-start; gap: 16px; }
}

@media (max-width: 480px) {
  .mobile-menu { width: 100%; }
  .mobile-menu-links > a, .mobile-dropdown-toggle { font-size: 1.1rem; padding: 14px 0; }
  .hero h1 { font-size: clamp(2rem, 9vw, 3rem); }

  .footer-grid { grid-template-columns: 1fr; }
  .footer-grid .footer-col:last-child { grid-column: auto; }

  .service-banner-number { font-size: 0.65rem; }
  .service-banner-content h3 { font-size: 1.35rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .typewriter-cursor, .visual-cursor { animation: none; }
}