/* ===== Polarizados Ya — base ===== */
:root {
  --bg: #060709;
  --bg-2: #060709;
  --bg-3: #060709;
  --fg: #f0f2f5;
  --fg-dim: #9aa1ad;
  --fg-mute: #5a6270;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.22);
  --accent: #ffffff;
  --accent-2: #e8edf5;
  --white-glow-1: rgba(255, 255, 255, 0.75);
  --white-glow-2: rgba(255, 255, 255, 0.30);
  --white-glow-3: rgba(255, 255, 255, 0.10);
  --silver: linear-gradient(135deg, #ffffff 0%, #c8d0d8 30%, #8a93a0 55%, #cdd6df 80%, #ffffff 100%);
  --petrol-grad: linear-gradient(135deg, #ffffff 0%, #e8edf5 50%, #ffffff 100%);
  --glow: radial-gradient(60% 60% at 50% 50%, var(--white-glow-1) 0%, var(--white-glow-2) 35%, transparent 70%);
  --maxw: 1440px;
  --pad: clamp(20px, 4vw, 64px);
  --radius: 24px;
  --radius-lg: 32px;
  --radius-sm: 16px;
}

[data-theme="light"] {
  --bg: #eef1f4;
  --bg-2: #e3e8ee;
  --bg-3: #d6dde5;
  --fg: #0a0d12;
  --fg-dim: #3a4250;
  --fg-mute: #6a7280;
  --line: rgba(40, 100, 120, 0.18);
  --line-strong: rgba(40, 100, 120, 0.35);
  --silver: linear-gradient(135deg, #0e2228 0%, #345764 30%, #1a3340 55%, #4a6e7a 80%, #0a1a22 100%);
  --petrol-grad: linear-gradient(135deg, #0e4a58 0%, #2c8a9c 40%, #1a5060 75%, #2c8a9c 100%);
  --glow: radial-gradient(60% 60% at 50% 50%, rgba(45,140,165,0.22) 0%, rgba(45,140,165,0.06) 40%, transparent 70%);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  background: var(--bg);
  color: var(--fg);
  font-family: "Montserrat", system-ui, sans-serif;
  font-weight: 400;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
  transition: background 0.4s ease, color 0.4s ease;
  cursor: none;
}
@media (max-width: 880px) {
  html, body { cursor: auto; }
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }

::selection { background: var(--white-glow-1); color: var(--fg); }

/* ===== Ambient backdrop (DESACTIVADO — generaba parches no uniformes) ===== */
body::before { display: none !important; }
.disabled-ambient-backdrop {
  content: "";
  position: fixed;
  inset: -10%;
  background:
    radial-gradient(38% 38% at 18% 22%, rgba(255,255,255,0.14) 0%, transparent 60%),
    radial-gradient(34% 34% at 82% 28%, rgba(220,230,240,0.12) 0%, transparent 60%),
    radial-gradient(48% 48% at 50% 100%, rgba(255,255,255,0.10) 0%, transparent 60%),
    radial-gradient(28% 28% at 30% 75%, rgba(200,220,240,0.10) 0%, transparent 65%);
}
/* body::after light streaks DESACTIVADO — generaba parches diagonales no uniformes */
body::after { display: none !important; }
/* Particle layer */
.particle-layer {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  overflow: hidden;
}
.particle-layer::before,
.particle-layer::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(1.5px 1.5px at 12% 28%, rgba(255,255,255,0.55) 50%, transparent 100%),
    radial-gradient(1px 1px at 82% 62%, rgba(255,255,255,0.42) 50%, transparent 100%),
    radial-gradient(1px 1px at 48% 88%, rgba(255,255,255,0.55) 50%, transparent 100%),
    radial-gradient(1.5px 1.5px at 34% 52%, rgba(255,255,255,0.35) 50%, transparent 100%),
    radial-gradient(1px 1px at 72% 18%, rgba(255,255,255,0.45) 50%, transparent 100%),
    radial-gradient(2px 2px at 92% 78%, rgba(255,255,255,0.4) 50%, transparent 100%),
    radial-gradient(1px 1px at 8% 76%, rgba(255,255,255,0.5) 50%, transparent 100%),
    radial-gradient(1px 1px at 58% 38%, rgba(255,255,255,0.3) 50%, transparent 100%);
  background-size: 700px 700px;
  opacity: 0.9;
  animation: particles 36s linear infinite;
}
.particle-layer::after {
  background-size: 1100px 1100px;
  opacity: 0.55;
  animation: particles 60s linear infinite reverse;
}
/* Slow moving grid for tech feel */
.grid-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -2;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 80px 80px;
  -webkit-mask-image: radial-gradient(ellipse at center, rgba(0,0,0,0.6) 0%, transparent 70%);
          mask-image: radial-gradient(ellipse at center, rgba(0,0,0,0.6) 0%, transparent 70%);
  animation: gridDrift 60s linear infinite;
  opacity: 0.6;
}
@keyframes ambientShift {
  0%   { transform: translate(0%, 0%) rotate(0deg) scale(1); }
  33%  { transform: translate(4%, -3%) rotate(2deg) scale(1.05); }
  66%  { transform: translate(-3%, 4%) rotate(-2deg) scale(0.96); }
  100% { transform: translate(2%, -1%) rotate(1deg) scale(1.03); }
}
@keyframes particles {
  from { transform: translateY(0) translateX(0); }
  to   { transform: translateY(-700px) translateX(-200px); }
}
@keyframes streakDrift {
  0%   { background-position: -20% 50%, 120% 50%; }
  100% { background-position: 120% 50%, -20% 50%; }
}
@keyframes gridDrift {
  from { background-position: 0 0; }
  to   { background-position: 80px 80px; }
}

/* ===== Silver gradient utility ===== */
.silver,
.accent {
  background: var(--silver);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  background-size: 200% 200%;
  animation: silverShift 8s ease-in-out infinite;
}
@keyframes silverShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* ===== Custom cursor ===== */
.cursor-dot, .cursor-ring {
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 100001;
  border-radius: 99px;
  transform: translate(-50%, -50%);
}
.cursor-dot {
  width: 6px;
  height: 6px;
  background: var(--petrol-bright);
  box-shadow: 0 0 12px var(--white-glow-1);
  transition: width 0.2s ease, height 0.2s ease, opacity 0.2s ease;
}
.cursor-ring {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: 0 0 24px var(--white-glow-2), inset 0 0 12px var(--white-glow-3);
  transition: width 0.25s cubic-bezier(0.2,0.7,0.2,1), height 0.25s cubic-bezier(0.2,0.7,0.2,1), border-color 0.25s ease, background 0.25s ease, opacity 0.2s ease;
}
.cursor-hover .cursor-dot { opacity: 0; }
.cursor-hover .cursor-ring {
  width: 72px;
  height: 72px;
  border-color: var(--petrol-bright);
  background: rgba(255,255,255,0.06);
  box-shadow: 0 0 36px var(--white-glow-1), inset 0 0 18px var(--white-glow-2);
}
@media (max-width: 880px), (hover: none) {
  .cursor-dot, .cursor-ring { display: none; }
  html, body { cursor: auto; }
}

.serif { font-family: "Montserrat", sans-serif; font-weight: 300; letter-spacing: -0.02em; }
.mono { font-family: "Montserrat", sans-serif; font-weight: 500; letter-spacing: 0.02em; }

.eyebrow {
  font-family: "Montserrat", sans-serif;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg-dim);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 24px;
  height: 1px;
  background: var(--silver);
  display: inline-block;
}

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding-left: var(--pad);
  padding-right: var(--pad);
}

section {
  padding: clamp(80px, 12vh, 160px) 0;
  position: relative;
}

/* ===== Luminous card frame (petrol blue glow) ===== */
.glow-card {
  position: relative;
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(20,30,38,0.6) 0%, rgba(10,14,18,0.95) 100%);
  border: 1px solid var(--line);
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.05) inset,
    0 20px 50px rgba(0,0,0,0.4);
  transition: border-color 0.4s ease, box-shadow 0.4s ease, transform 0.4s cubic-bezier(0.2,0.7,0.2,1);
  overflow: hidden;
  isolation: isolate;
}
.glow-card::before {
  /* outer rim light */
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(140deg, rgba(255,255,255,0.0) 0%, rgba(255,255,255,0.5) 35%, rgba(45,140,165,0.0) 50%, rgba(255,255,255,0.3) 75%, rgba(255,255,255,0.0) 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  opacity: 0.5;
  transition: opacity 0.4s ease, background-position 0.6s ease;
  background-size: 200% 200%;
  pointer-events: none;
  z-index: 2;
}
.glow-card::after {
  /* radial halo behind */
  content: "";
  position: absolute;
  inset: -30%;
  background: radial-gradient(50% 50% at 30% 20%, var(--white-glow-2) 0%, transparent 60%),
              radial-gradient(40% 50% at 80% 80%, var(--white-glow-3) 0%, transparent 65%);
  filter: blur(28px);
  z-index: -1;
  opacity: 0.6;
  transition: opacity 0.5s ease, transform 0.5s ease;
  pointer-events: none;
}
.glow-card:hover {
  border-color: var(--line-strong);
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.18) inset,
    0 0 32px var(--white-glow-2),
    0 24px 60px rgba(0,0,0,0.5);
  transform: translateY(-4px);
}
.glow-card:hover::before { opacity: 1; background-position: 100% 100%; }
.glow-card:hover::after { opacity: 1; transform: scale(1.05); }

/* gradient frame animation */
@keyframes frameSweep {
  0% { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}
   Progressive enhancement: content is fully visible by default.
   When JS is ready it adds `.js-reveal` on <html>, which enables
   the hidden->visible animation. If JS fails or stalls, content
   still renders normally. */
.js-reveal .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1);
}
/* Per-section reveal handled by .reveal elements inside each section */
.js-reveal .reveal.in {
  opacity: 1;
  transform: translateY(0);
}
.js-reveal .reveal[data-delay="1"] { transition-delay: 0.08s; }
.js-reveal .reveal[data-delay="2"] { transition-delay: 0.16s; }
.js-reveal .reveal[data-delay="3"] { transition-delay: 0.24s; }
.js-reveal .reveal[data-delay="4"] { transition-delay: 0.32s; }
.js-reveal .reveal[data-delay="5"] { transition-delay: 0.40s; }
.js-reveal .reveal[data-delay="6"] { transition-delay: 0.48s; }

@media (prefers-reduced-motion: reduce) {
  .js-reveal .reveal { opacity: 1; transform: none; transition: none; }
}

/* ===== Subtle fade-in a nivel de sección (toda la web) ===== */
.js-reveal section:not(.home-hero):not(.no-reveal) {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.js-reveal section.in:not(.home-hero):not(.no-reveal) {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .js-reveal section { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* ===== Preloader ===== */
#pya-preloader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: #060709;
  display: grid;
  place-items: center;
  opacity: 1;
  transition: opacity 0.7s ease;
  overflow: hidden;
}
#pya-preloader.pya-preloader-out {
  opacity: 0;
  pointer-events: none;
}
/* Resplandor radial detrás del logo */
.pya-preloader-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 720px;
  height: 720px;
  max-width: 90vw;
  max-height: 90vh;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(255,255,255,0.12) 0%, rgba(255,255,255,0.05) 30%, rgba(6,7,9,0) 65%);
  pointer-events: none;
  animation: pya-glow-breathe 3.2s ease-in-out infinite;
}
@keyframes pya-glow-breathe {
  0%, 100% { opacity: 0.7; transform: translate(-50%, -50%) scale(0.95); }
  50%      { opacity: 1;   transform: translate(-50%, -50%) scale(1.05); }
}
.pya-preloader-inner {
  position: relative;
  z-index: 2;
}
/* Contenedor que orbita: logo en el centro, anillos rotando alrededor */
.pya-preloader-orbit {
  position: relative;
  width: 420px;
  height: 420px;
  display: grid;
  place-items: center;
}
.pya-preloader-logo {
  height: 72px;
  width: auto;
  display: block;
  filter: drop-shadow(0 0 28px rgba(255,255,255,0.55)) drop-shadow(0 0 8px rgba(255,255,255,0.3));
  animation: pya-logo-pulse 2.4s ease-in-out infinite;
  position: relative;
  z-index: 3;
}
@keyframes pya-logo-pulse {
  0%, 100% { opacity: 0.85; transform: scale(0.98); }
  50%      { opacity: 1;    transform: scale(1.02); }
}
/* Anillo principal (gira hacia un lado) */
.pya-preloader-ring {
  position: absolute;
  inset: 0;
  border: 1.5px solid rgba(255,255,255,0.08);
  border-top-color: rgba(255,255,255,0.85);
  border-right-color: rgba(255,255,255,0.4);
  border-radius: 50%;
  animation: pya-preloader-spin 1.6s cubic-bezier(0.5, 0.1, 0.5, 0.9) infinite;
}
/* Anillo interior (gira al contrario, más lento) */
.pya-preloader-ring-2 {
  inset: 40px;
  border-width: 1px;
  border-color: rgba(255,255,255,0.06);
  border-bottom-color: rgba(255,255,255,0.55);
  animation: pya-preloader-spin-rev 2.6s cubic-bezier(0.5, 0.1, 0.5, 0.9) infinite;
}
@keyframes pya-preloader-spin {
  to { transform: rotate(360deg); }
}
@keyframes pya-preloader-spin-rev {
  to { transform: rotate(-360deg); }
}
@media (max-width: 720px) {
  .pya-preloader-orbit { width: 300px; height: 300px; }
  .pya-preloader-logo  { height: 48px; }
  .pya-preloader-ring-2 { inset: 30px; }
  .pya-preloader-glow { width: 480px; height: 480px; }
}

/* Botón "Entrar" del preloader */
.pya-preloader-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}
.pya-preloader-enter {
  font-family: "Montserrat", sans-serif;
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--fg);
  background: transparent;
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 99px;
  padding: 14px 38px;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 0.7s ease, transform 0.7s ease, background 0.25s ease, border-color 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
  position: relative;
  z-index: 3;
}
.pya-preloader-enter.ready {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.pya-preloader-enter:hover {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.7);
  box-shadow: 0 0 24px rgba(255,255,255,0.15);
}
.pya-preloader-enter:active {
  transform: translateY(0) scale(0.98);
}

/* ===== Nav ===== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 14px 0;
  transition: background 0.3s ease, border-color 0.3s ease, padding 0.3s ease, box-shadow 0.3s ease;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  background: rgba(8, 10, 14, 0.95);
  backdrop-filter: blur(24px) saturate(140%);
  -webkit-backdrop-filter: blur(24px) saturate(140%);
  box-shadow: 0 0 0 1px rgba(255,255,255,0.04) inset, 0 12px 32px rgba(0,0,0,0.25);
}
.nav.scrolled {
  background: rgba(8, 10, 14, 0.55);
  backdrop-filter: blur(28px) saturate(160%);
  -webkit-backdrop-filter: blur(28px) saturate(160%);
  border-bottom: 1px solid rgba(255,255,255,0.10);
  padding: 10px 0;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.06) inset, 0 16px 44px rgba(0,0,0,0.35);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav-right {
  display: flex;
  align-items: center;
  gap: 16px;
}
.nav-social {
  display: flex;
  gap: 4px;
  align-items: center;
}
.nav-social a {
  width: 32px;
  height: 32px;
  display: inline-grid;
  place-items: center;
  color: var(--fg-dim);
  border-radius: 8px;
  transition: color 0.2s ease, background 0.2s ease;
}
.nav-social a:hover { color: var(--fg); background: rgba(255,255,255,0.06); }
.nav-social svg { width: 16px; height: 16px; }
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -0.01em;
}
.logo-img {
  height: 36px;
  width: auto;
  display: block;
  filter: drop-shadow(0 0 14px rgba(255,255,255,0.20));
  transition: filter 0.3s ease, transform 0.3s ease;
}
.logo:hover .logo-img { filter: drop-shadow(0 0 22px rgba(255,255,255,0.36)); transform: scale(1.02); }
.nav.scrolled .logo-img { height: 36px; }
@media (max-width: 720px) {
  .logo-img { height: 38px; }
}
.logo-mark {
  width: 32px;
  height: 32px;
  display: inline-grid;
  place-items: center;
  background: var(--fg);
  color: var(--bg);
  border-radius: 10px;
  font-family: "Montserrat", sans-serif;
  font-size: 16px;
  font-weight: 800;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.08), 0 4px 16px rgba(255,255,255,0.12);
}
.nav-links {
  display: flex;
  gap: 2px;
  align-items: center;
  font-size: 14px;
}
.nav-links > a, .nav-drop-trigger {
  padding: 8px 14px;
  border-radius: 99px;
  color: var(--fg-dim);
  transition: color 0.2s ease, background 0.2s ease;
  font-family: "Montserrat", sans-serif;
  font-size: 13px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}
.nav-links > a:hover, .nav-drop-trigger:hover { color: var(--fg); background: rgba(255,255,255,0.06); }
.nav-links > a.active, .nav-drop-trigger.active { color: var(--fg); background: rgba(255,255,255,0.08); }

.nav-drop { position: relative; }
.nav-drop-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  background: linear-gradient(180deg, rgba(20,24,30,0.92) 0%, rgba(10,12,16,0.96) 100%);
  border: 1px solid var(--line-strong);
  border-radius: 18px;
  padding: 10px;
  min-width: 320px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 0 0 1px rgba(255,255,255,0.06) inset, 0 24px 64px rgba(0,0,0,0.5), 0 0 32px rgba(255,255,255,0.06);
  z-index: 110;
}
.nav-drop.open .nav-drop-menu { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.nav-drop-menu a {
  display: block;
  padding: 12px 14px;
  border-radius: 12px;
  color: var(--fg-dim);
  transition: background 0.2s ease, color 0.2s ease;
}
.nav-drop-menu a:hover { background: rgba(255,255,255,0.05); color: var(--fg); }
.nav-drop-menu .drop-label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: var(--fg);
  margin-bottom: 2px;
}
.nav-drop-menu .drop-desc {
  display: block;
  font-size: 11px;
  color: var(--fg-mute);
  letter-spacing: 0.02em;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 99px;
  background: var(--fg);
  color: var(--bg);
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  transition: transform 0.15s ease, opacity 0.15s ease, box-shadow 0.25s ease;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.04), 0 8px 24px rgba(255,255,255,0.18);
}
.nav-cta:hover { transform: translateY(-1px); opacity: 0.95; box-shadow: 0 0 0 1px rgba(255,255,255,0.4), 0 12px 36px rgba(255,255,255,0.32); }

.menu-btn {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 99px;
  border: 1px solid var(--line);
  align-items: center;
  justify-content: center;
  color: var(--fg);
}
.menu-btn svg { width: 20px; height: 20px; }

.mobile-menu-backdrop { display: none; }
.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 200;
  transform: translateY(-100%);
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  padding: 24px;
  overflow-y: auto;
}
.mobile-menu.open { transform: translateY(0); }

/* === Mobile (≤980px): el menú entra desde la derecha === */
@media (max-width: 980px) {
  .mobile-menu-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.55);
    backdrop-filter: blur(2px);
    z-index: 199;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
  }
  .mobile-menu-backdrop.open {
    opacity: 1;
    pointer-events: auto;
  }
  .mobile-menu {
    inset: auto;
    top: 0;
    right: 0;
    bottom: 0;
    left: auto;
    width: min(360px, 86vw);
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-left: 1px solid var(--line);
    box-shadow: -20px 0 60px rgba(0,0,0,0.55);
  }
  .mobile-menu.open { transform: translateX(0); }
}
.mobile-menu-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
}
.mobile-menu nav, .mobile-menu .mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: auto;
}
.mobile-menu .mobile-nav > a,
.mobile-menu .mobile-nav .m-services-toggle {
  font-family: "Montserrat", sans-serif;
  font-weight: 400;
  font-size: 22px;
  line-height: 1.1;
  letter-spacing: -0.02em;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  background: transparent;
  color: var(--fg);
  text-align: left;
}
.mobile-menu .m-services-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.mobile-menu .m-chev {
  width: 14px;
  height: 14px;
  color: var(--fg-mute);
  transition: transform 0.3s ease;
}
.mobile-menu .m-services.open .m-chev {
  transform: rotate(180deg);
  color: var(--fg);
}
.mobile-menu .m-num {
  font-family: "Montserrat", sans-serif;
  font-weight: 500;
  font-size: 11px;
  color: var(--fg-mute);
  letter-spacing: 0.12em;
}
.mobile-menu .m-services { display: flex; flex-direction: column; }
.mobile-menu .m-services-list {
  display: flex;
  flex-direction: column;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
  padding-left: 16px;
}
.mobile-menu .m-services.open .m-services-list {
  max-height: 320px;
  padding: 8px 0 8px 16px;
}
.mobile-menu .m-services-list a {
  font-size: 16px;
  color: var(--fg-dim);
  padding: 10px 0;
  border: none;
}
.mobile-menu .m-services-list a:hover { color: var(--fg); }
.mobile-social {
  display: flex;
  gap: 8px;
  margin: 24px 0 16px;
}
.mobile-social a {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  border: 1px solid var(--line);
  color: var(--fg-dim);
}
.mobile-social svg { width: 18px; height: 18px; }
.mobile-menu .nav-cta { width: 100%; justify-content: center; padding: 16px; font-size: 14px; }
.mobile-menu .nav-cta .arrow { width: 14px; height: 14px; flex-shrink: 0; }

@media (max-width: 1100px) {
  .nav-social { display: none; }
}
@media (max-width: 980px) {
  .nav-links, .nav .nav-cta, .nav-social { display: none; }
  .menu-btn { display: inline-flex; }
}

/* ===== Hero — full-screen with video bg ===== */
.hero {
  position: relative;
  min-height: 100vh;
  height: 100svh;
  padding: 0;
  margin: 0;
  overflow: hidden;
}
.hero-video-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: #000;
}
.hero-video-bg video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}
.hero-video-bg video:not([src]),
.hero-video-bg video[src=""] { display: none; }

/* Si el video tiene src, ocultar el placeholder oscuro */
.hero-video-bg video[src]:not([src=""]) ~ .placeholder { display: none; }

.hero-video-bg .placeholder {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(60% 50% at 35% 45%, rgba(255,255,255,0.10) 0%, transparent 60%),
    radial-gradient(45% 40% at 75% 60%, rgba(220,235,255,0.06) 0%, transparent 60%),
    linear-gradient(180deg, #0a0d12 0%, #050608 100%);
  overflow: hidden;
}
.hero-video-bg .placeholder::before {
  content: "";
  position: absolute;
  inset: -20%;
  background: radial-gradient(closest-side, rgba(255,255,255,0.14) 0%, transparent 70%);
  animation: heroBgPulse 7s ease-in-out infinite alternate;
  filter: blur(60px);
}
.hero-video-bg .placeholder::after {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(115deg, transparent 0 14px, rgba(255,255,255,0.04) 14px 15px);
  -webkit-mask-image: linear-gradient(115deg, transparent 0%, #000 30%, #000 70%, transparent 100%);
          mask-image: linear-gradient(115deg, transparent 0%, #000 30%, #000 70%, transparent 100%);
  opacity: 0.5;
}
@keyframes heroBgPulse {
  from { transform: translate(0%, 0%) scale(1); }
  to   { transform: translate(4%, -2%) scale(1.06); }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(180deg, rgba(6,7,9,0.55) 0%, rgba(6,7,9,0.0) 35%, rgba(6,7,9,0.65) 80%, rgba(6,7,9,0.98) 100%),
    radial-gradient(70% 50% at 50% 100%, rgba(6,7,9,0.7) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 3;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  padding-top: clamp(96px, 14vh, 140px);
  padding-bottom: clamp(56px, 10vh, 120px);
}
.hero-content > .container { display: flex; flex-direction: column; flex: 1; }

.hero-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
  flex-wrap: wrap;
}
.hero-meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: right;
  font-size: 12px;
  color: var(--fg-dim);
}
.hero-meta .mono { font-size: 11px; color: var(--fg-mute); letter-spacing: 0.15em; text-transform: uppercase; }

.hero-title {
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  font-size: clamp(40px, 7vw, 104px);
  line-height: 1.0;
  letter-spacing: -0.045em;
  margin: auto 0 32px;
  max-width: 18ch;
  text-wrap: balance;
  color: #fff;
  text-shadow: 0 2px 28px rgba(0,0,0,0.55);
}
.hero-title .serif {
  font-weight: 200;
  letter-spacing: -0.045em;
  color: rgba(255,255,255,0.85);
  -webkit-text-fill-color: initial;
  background: none;
}
.hero-title .accent {
  background: linear-gradient(135deg, #ffffff 0%, #c8d0d8 40%, #8a93a0 65%, #f8fafc 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.hero-bottom {
  display: grid;
  grid-template-columns: 1.2fr auto;
  gap: 48px;
  align-items: end;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.12);
}
.hero-desc {
  font-size: clamp(14px, 1.2vw, 17px);
  max-width: 52ch;
  color: rgba(255,255,255,0.7);
  line-height: 1.55;
}
.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
@media (max-width: 720px) {
  .hero-bottom { grid-template-columns: 1fr; gap: 28px; }
  .hero-actions { justify-content: flex-start; }
}

.scroll-indicator {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-family: "Montserrat", sans-serif;
  font-weight: 500;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  pointer-events: none;
}
.scroll-indicator .line {
  width: 1px;
  height: 48px;
  background: linear-gradient(180deg, rgba(255,255,255,0.4) 0%, transparent 100%);
  position: relative;
  overflow: hidden;
}
.scroll-indicator .line::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 14px;
  background: linear-gradient(180deg, rgba(255,255,255,0.95) 0%, transparent 100%);
  animation: scrollLine 2.2s ease-in-out infinite;
}
@keyframes scrollLine {
  0%   { transform: translateY(-100%); opacity: 0; }
  25%  { opacity: 1; }
  100% { transform: translateY(400%); opacity: 0; }
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 24px;
  border-radius: 99px;
  font-size: 14px;
  font-weight: 600;
  transition: transform 0.15s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  border: 1px solid transparent;
  white-space: nowrap;
}
.btn-primary {
  background: var(--fg);
  color: var(--bg);
  position: relative;
  overflow: hidden;
  isolation: isolate;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.06), 0 12px 32px rgba(255,255,255,0.12);
}
.btn-primary::after {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 99px;
  background: rgba(255,255,255,0.6);
  filter: blur(16px);
  opacity: 0.25;
  z-index: -1;
  transition: opacity 0.25s ease;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 0 0 1px rgba(255,255,255,0.2), 0 18px 44px rgba(255,255,255,0.25); }
.btn-primary:hover::after { opacity: 0.55; }
.btn-ghost {
  background: rgba(255,255,255,0.02);
  color: var(--fg);
  border-color: var(--line);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.btn-ghost:hover { border-color: var(--line-strong); background: rgba(255,255,255,0.05); box-shadow: 0 0 24px rgba(255,255,255,0.06); }
.btn-ghost { background: transparent; color: var(--fg); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--fg); }
.btn-light { background: var(--fg); color: var(--bg); }
.btn-light:hover { transform: translateY(-2px); }

.btn .arrow {
  width: 16px; height: 16px;
  transition: transform 0.2s ease;
}
.btn:hover .arrow { transform: translate(2px, -2px); }

/* ===== Hero video ===== */
.hero-showcase {
  margin-top: clamp(32px, 5vh, 64px);
  position: relative;
}
.hero-video {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 21 / 9;
  width: 100%;
  background: linear-gradient(180deg, #0a0c10 0%, #050608 100%);
  border: 1px solid var(--line-strong);
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.20) inset,
    0 0 100px rgba(255,255,255,0.16),
    0 0 40px rgba(255,255,255,0.20),
    0 30px 80px rgba(0,0,0,0.6);
  isolation: isolate;
}
.hero-video::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(140deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.6) 30%, rgba(255,255,255,0.0) 50%, rgba(255,255,255,0.45) 75%, rgba(255,255,255,0) 100%);
  background-size: 220% 220%;
  animation: frameSweep 10s linear infinite;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  opacity: 0.9;
  pointer-events: none;
  z-index: 4;
}
.hero-video-el {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}
.hero-video-el:not([src]),
.hero-video-el[src=""] { display: none; }
.hero-video-placeholder {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 24px;
  padding: clamp(24px, 4vw, 48px);
}
.hero-video-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 40px 40px;
  -webkit-mask-image: radial-gradient(ellipse at center, rgba(0,0,0,0.8) 0%, transparent 70%);
          mask-image: radial-gradient(ellipse at center, rgba(0,0,0,0.8) 0%, transparent 70%);
  pointer-events: none;
}
.hero-video-pulse {
  position: absolute;
  inset: 18%;
  background: radial-gradient(circle at center, rgba(255,255,255,0.22) 0%, rgba(255,255,255,0.05) 30%, transparent 60%);
  filter: blur(40px);
  animation: heroPulse 5s ease-in-out infinite;
  pointer-events: none;
}
@keyframes heroPulse {
  0%, 100% { opacity: 0.6; transform: scale(0.95); }
  50%      { opacity: 1;   transform: scale(1.08); }
}
.hero-video-play {
  width: 88px;
  height: 88px;
  border-radius: 99px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.3);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--fg);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: transform 0.3s cubic-bezier(0.2,0.7,0.2,1), background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  z-index: 3;
  box-shadow: 0 0 32px rgba(255,255,255,0.10);
}
.hero-video-play:hover {
  transform: scale(1.08);
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.6);
  box-shadow: 0 0 56px rgba(255,255,255,0.30);
}
.hero-video-play svg { width: 36px; height: 36px; }
.hero-video-meta {
  position: absolute;
  top: clamp(20px, 3vw, 32px);
  left: clamp(20px, 3vw, 32px);
  right: clamp(20px, 3vw, 32px);
  display: flex;
  justify-content: space-between;
  font-family: "Montserrat", sans-serif;
  font-weight: 500;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  z-index: 3;
}
.hero-video-label {
  position: absolute;
  bottom: clamp(20px, 3vw, 32px);
  left: clamp(20px, 3vw, 32px);
  right: clamp(20px, 3vw, 32px);
  display: flex;
  flex-direction: column;
  z-index: 3;
}
.hero-video-label p {
  font-size: 13px;
  color: var(--fg-dim);
  max-width: 42ch;
  line-height: 1.5;
}
@media (max-width: 720px) {
  .hero-video { aspect-ratio: 4/5; }
  .hero-video-play { width: 64px; height: 64px; }
  .hero-video-play svg { width: 26px; height: 26px; }
  .hero-video-label p { font-size: 12px; }
}

/* Image placeholders */
.img-ph {
  width: 100%;
  height: 100%;
  position: relative;
  background:
    repeating-linear-gradient(
      135deg,
      color-mix(in oklab, var(--bg-3) 95%, var(--fg) 5%) 0 6px,
      var(--bg-2) 6px 12px
    );
  display: flex;
  align-items: flex-end;
  padding: 16px;
  color: var(--fg-mute);
  font-family: "Montserrat", sans-serif;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.img-ph.dark {
  background:
    repeating-linear-gradient(
      135deg,
      #0a1418 0 6px,
      #14202810 6px 12px
    ),
    radial-gradient(120% 100% at 50% 20%, #1a2a32 0%, #050a0c 100%);
  color: rgba(255,255,255,0.5);
}
.img-ph::after {
  content: attr(data-label);
  margin-left: auto;
}
.img-ph-corner {
  position: absolute;
  top: 12px;
  left: 12px;
  font-family: "Montserrat", sans-serif;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-mute);
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.img-ph-corner b { color: var(--fg-dim); font-weight: 400; }

/* Tinted-glass demo overlay */
.glass-demo {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.04) 0%, rgba(0,8,12,0.55) 60%, rgba(0,8,12,0.85) 100%);
  pointer-events: none;
}
.glass-demo::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 50% at 30% 30%, rgba(255,255,255,0.2) 0%, transparent 60%),
    radial-gradient(40% 30% at 75% 70%, rgba(255,255,255,0.18) 0%, transparent 60%);
}

/* ===== Marquee ===== */
.marquee {
  overflow: hidden;
  padding: 18px 0;
  font-family: "Montserrat", sans-serif;
  font-weight: 300;
  font-size: clamp(20px, 2.6vw, 32px);
  letter-spacing: -0.02em;
  display: flex;
  white-space: nowrap;
  gap: 48px;
  position: relative;
}
.marquee::before, .marquee::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}
.marquee::before { left: 0; background: linear-gradient(90deg, var(--bg) 0%, transparent 100%); }
.marquee::after { right: 0; background: linear-gradient(270deg, var(--bg) 0%, transparent 100%); }
.marquee-track {
  display: flex;
  gap: 48px;
  flex-shrink: 0;
  animation: marquee 38s linear infinite;
  padding-right: 48px;
}
.marquee span { display: inline-flex; align-items: center; gap: 48px; color: var(--fg); }
.marquee span::after {
  content: "✦";
  font-size: 18px;
  background: var(--silver);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* ===== Services ===== */
.services {
  position: relative;
  overflow: hidden;
}
/* Video de fondo + degradés top/bottom para fundirlo */
.services-video {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}
.services-video video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.30;
}
.services-video-fade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    #060709 0%,
    rgba(6,7,9,0.6) 18%,
    rgba(6,7,9,0) 50%,
    rgba(6,7,9,0.6) 82%,
    #060709 100%);
  pointer-events: none;
}
.services > .container {
  position: relative;
  z-index: 2;
}
.section-head {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 48px;
  align-items: end;
  margin-bottom: clamp(56px, 8vh, 96px);
}
.section-head h2 {
  font-family: "Montserrat", sans-serif;
  font-weight: 500;
  font-size: clamp(30px, 4vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  text-wrap: balance;
}
.section-head h2 .serif { font-weight: 200; letter-spacing: -0.03em; }
.section-head p {
  color: var(--fg-dim);
  font-size: clamp(15px, 1.4vw, 18px);
  max-width: 50ch;
  line-height: 1.6;
}
@media (max-width: 880px) {
  .section-head { grid-template-columns: 1fr; align-items: start; }
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.service-card {
  position: relative;
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(34,40,48,0.65) 0%, rgba(16,20,26,0.95) 100%);
  border: 1px solid var(--line);
  box-shadow: 0 0 0 1px rgba(255,255,255,0.22) inset, 0 0 56px rgba(255,255,255,0.14), 0 0 18px rgba(255,255,255,0.08), 0 16px 40px rgba(0,0,0,0.5);
  padding: 32px;
  cursor: pointer;
  min-height: 360px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  isolation: isolate;
  overflow: hidden;
  transition: border-color 0.4s ease, box-shadow 0.4s ease, transform 0.4s cubic-bezier(0.2,0.7,0.2,1);
}
.service-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(140deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.55) 30%, rgba(45,140,165,0) 50%, rgba(255,255,255,0.35) 75%, rgba(255,255,255,0) 100%);
  background-size: 220% 220%;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  opacity: 0.95;
  transition: opacity 0.5s ease, background-position 0.6s ease;
  pointer-events: none;
  z-index: 2;
}
.service-card::after {
  content: "";
  position: absolute;
  inset: -30%;
  background: radial-gradient(45% 45% at 30% 25%, var(--white-glow-2) 0%, transparent 60%),
              radial-gradient(40% 45% at 75% 80%, var(--white-glow-3) 0%, transparent 65%);
  filter: blur(24px);
  z-index: -1;
  opacity: 0.85;
  transition: opacity 0.5s ease, transform 0.6s ease;
  pointer-events: none;
}
.service-card:hover {
  border-color: var(--line-strong);
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.18) inset,
    0 0 36px var(--white-glow-2),
    0 24px 60px rgba(0,0,0,0.5);
  transform: translateY(-4px);
}
.service-card:hover::before { opacity: 1; background-position: 100% 100%; }
.service-card:hover::after { opacity: 1; transform: scale(1.08); }
.service-card:hover {
  background: var(--bg-2);
}
.service-card:hover .svc-arrow { transform: translate(4px, -4px); color: #fff; }

/* === Sede cards (home: .loc) con foto de fondo === */
.loc-has-img {
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  position: relative !important;
  isolation: isolate;
}
.loc-has-img::after { display: none !important; }
.loc-has-img > * {
  position: relative;
  z-index: 2;
}

/* === Sede cards (página sedes: .sede-card horizontales) === */
.sede-card-has-img {
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  position: relative !important;
  isolation: isolate;
}
.sede-card-has-img::after { display: none !important; }
.sede-card-has-img > * {
  position: relative;
  z-index: 2;
}

/* === Distribuidores internacionales con foto de fondo === */
.dist-card-has-img {
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  position: relative !important;
  isolation: isolate;
}
.dist-card-has-img::after { display: none !important; }
.dist-card-has-img > * {
  position: relative;
  z-index: 2;
}
/* Quitar el dash del eyebrow dentro de las sede-card para alinear país con city */
.sede-card .eyebrow::before { display: none !important; }
.sede-card .eyebrow { padding-left: 0 !important; gap: 0 !important; }

/* === Cards con foto de fondo === */
.service-card-has-img {
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
}
/* Sin overlay — la foto se muestra tal cual */
.service-card-has-img::after { display: none !important; }
.service-card-has-img > * {
  position: relative;
  z-index: 2;
}
.service-num {
  font-family: "Montserrat", sans-serif;
  font-size: 11px;
  color: var(--fg-mute);
  letter-spacing: 0.15em;
}
.service-card h3 {
  font-family: "Montserrat", sans-serif;
  font-weight: 400;
  font-size: clamp(24px, 2.4vw, 32px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin-top: auto;
}
.service-card p {
  font-size: 14px;
  color: var(--fg-dim);
  line-height: 1.55;
  max-width: 38ch;
}
.svc-arrow {
  position: absolute;
  top: 32px;
  right: 32px;
  width: 22px;
  height: 22px;
  color: var(--fg-mute);
  transition: transform 0.25s ease, color 0.25s ease;
}
.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  font-family: "Montserrat", sans-serif;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.service-tags span {
  padding: 4px 10px;
  border: 1px solid var(--line);
  border-radius: 99px;
  color: var(--fg-dim);
  background: rgba(255,255,255,0.04);
}
@media (max-width: 880px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .services-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 260px; padding: 24px; }
}

/* ===== Stats strip ===== */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  padding: 0;
  position: relative;
  isolation: isolate;
}
.stats::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.4) 50%, rgba(255,255,255,0) 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
  z-index: 1;
  opacity: 0.5;
}
.stat {
  padding: clamp(28px, 4vw, 48px);
  background: var(--bg);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.stat-num {
  font-family: "Montserrat", sans-serif;
  font-weight: 300;
  font-size: clamp(36px, 4.4vw, 64px);
  line-height: 1;
  letter-spacing: -0.04em;
}
.stat-num .accent { /* handled by global .accent silver gradient */ }
.stat-label {
  font-family: "Montserrat", sans-serif;
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--fg-dim);
}
@media (max-width: 720px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: none; }
  .stat:nth-child(1), .stat:nth-child(2) { border-bottom: 1px solid var(--line); }
}

/* ===== Tech / Brands ===== */
.tech {
  background: var(--bg-2);
}
.tech-layout {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}
@media (max-width: 880px) {
  .tech-layout { grid-template-columns: 1fr; }
}

.spec-card {
  position: sticky;
  top: 100px;
  background: linear-gradient(180deg, rgba(20,30,38,0.6) 0%, rgba(10,14,18,0.95) 100%);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 3vw, 36px);
  overflow: hidden;
  isolation: isolate;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.08) inset, 0 0 60px var(--white-glow-3), 0 30px 80px rgba(0,0,0,0.5);
}
.spec-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(140deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.6) 30%, rgba(45,140,165,0.0) 50%, rgba(255,255,255,0.4) 75%, rgba(255,255,255,0.1) 100%);
  background-size: 200% 200%;
  animation: frameSweep 8s linear infinite;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  opacity: 0.7;
  pointer-events: none;
  z-index: 2;
}
.spec-card::after {
  content: "";
  position: absolute;
  inset: -40px;
  background:
    radial-gradient(50% 40% at 30% 20%, var(--white-glow-2) 0%, transparent 60%),
    radial-gradient(40% 35% at 80% 80%, var(--white-glow-3) 0%, transparent 65%);
  filter: blur(28px);
  z-index: -1;
  pointer-events: none;
  opacity: 0.8;
}
.spec-window {
  position: relative;
  aspect-ratio: 4/3;
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin-bottom: 24px;
  background: linear-gradient(160deg, #0a1c22 0%, #050a0c 100%);
}
.spec-window .scene {
  position: absolute;
  inset: 12%;
  background:
    radial-gradient(60% 80% at 50% 80%, rgba(255,255,255,0.25) 0%, transparent 70%),
    radial-gradient(40% 60% at 30% 30%, rgba(255,255,255,0.20) 0%, transparent 70%),
    linear-gradient(180deg, #14323a 0%, #08161a 100%);
  border-radius: var(--radius-sm);
}
.spec-window .sun {
  position: absolute;
  top: 18%;
  right: 22%;
  width: 56px;
  height: 56px;
  border-radius: 99px;
  background: radial-gradient(circle, #cbf6ff 0%, #4dc4dc 40%, transparent 70%);
  filter: blur(8px);
}
.spec-readouts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.spec-readout {
  background: rgba(10,18,22,0.6);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  position: relative;
}
.spec-readout::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(255,255,255,0.3) 0%, transparent 50%, rgba(255,255,255,0.2) 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
  opacity: 0.6;
}
.spec-readout .label {
  font-family: "Montserrat", sans-serif;
  font-size: 9px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--fg-mute);
}
.spec-readout .value {
  font-family: "Montserrat", sans-serif;
  font-weight: 300;
  font-size: 32px;
  line-height: 1;
  letter-spacing: -0.03em;
}
.spec-readout .value .accent { /* handled by global .accent silver gradient */ }
.spec-readout .unit {
  font-family: "Montserrat", sans-serif;
  font-size: 10px;
  color: var(--fg-dim);
  font-style: normal;
}

.brands-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line);
}
.brand {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: baseline;
  gap: 32px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
  transition: padding-left 0.3s ease;
  cursor: pointer;
}
.brand:hover { padding-left: 16px; }
.brand:hover .brand-name { background: var(--silver); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
.brand-num {
  font-family: "Montserrat", sans-serif;
  font-size: 11px;
  color: var(--fg-mute);
  letter-spacing: 0.15em;
}
.brand-name {
  font-family: "Montserrat", sans-serif;
  font-weight: 300;
  font-size: clamp(22px, 2.4vw, 32px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  transition: all 0.4s ease;
}
.brand-name em {
  font-style: normal;
  font-weight: 600;
}
.brand-tag {
  font-family: "Montserrat", sans-serif;
  font-size: 11px;
  color: var(--fg-dim);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-align: right;
}
@media (max-width: 560px) {
  .brand { grid-template-columns: auto 1fr; gap: 16px; }
  .brand-tag { display: none; }
}

/* ===== Process ===== */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.process-step {
  position: relative;
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(34,40,48,0.65) 0%, rgba(16,20,26,0.95) 100%);
  border: 1px solid var(--line);
  box-shadow: 0 0 0 1px rgba(255,255,255,0.22) inset, 0 0 56px rgba(255,255,255,0.14), 0 0 18px rgba(255,255,255,0.08), 0 16px 40px rgba(0,0,0,0.5);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 260px;
  isolation: isolate;
  overflow: hidden;
  transition: border-color 0.4s ease, box-shadow 0.4s ease, transform 0.4s cubic-bezier(0.2,0.7,0.2,1);
}
.process-step::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(140deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.55) 30%, rgba(45,140,165,0) 50%, rgba(255,255,255,0.35) 75%, rgba(255,255,255,0) 100%);
  background-size: 220% 220%;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  opacity: 0.95;
  transition: opacity 0.5s ease, background-position 0.6s ease;
  pointer-events: none;
  z-index: 2;
}
.process-step::after {
  content: "";
  position: absolute;
  inset: -30%;
  background: radial-gradient(50% 50% at 50% 30%, var(--white-glow-3) 0%, transparent 65%);
  filter: blur(24px);
  z-index: -1;
  opacity: 0.85;
  transition: opacity 0.5s ease, transform 0.6s ease;
  pointer-events: none;
}
.process-step:hover {
  border-color: var(--line-strong);
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.18) inset,
    0 0 36px var(--white-glow-2),
    0 24px 60px rgba(0,0,0,0.5);
  transform: translateY(-4px);
}
.process-step:hover::before { opacity: 1; background-position: 100% 100%; }
.process-step:hover::after { opacity: 1; transform: scale(1.1); }
.step-num {
  font-family: "Montserrat", sans-serif;
  font-weight: 200;
  font-size: 56px;
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: var(--fg);
}
.step-title {
  font-weight: 600;
  font-size: 18px;
  letter-spacing: -0.01em;
}
.step-desc {
  font-size: 14px;
  color: var(--fg-dim);
  line-height: 1.55;
  margin-top: auto;
}
@media (max-width: 880px) { .process-steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .process-steps { grid-template-columns: 1fr; } }

/* ===== Testimonials ===== */
.testimonials { /* background transparente para uniformidad con body */ }
.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.testi {
  position: relative;
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(34,40,48,0.65) 0%, rgba(16,20,26,0.95) 100%);
  border: 1px solid var(--line);
  box-shadow: 0 0 0 1px rgba(255,255,255,0.22) inset, 0 0 56px rgba(255,255,255,0.14), 0 0 18px rgba(255,255,255,0.08), 0 16px 40px rgba(0,0,0,0.5);
  padding: clamp(24px, 3vw, 32px);
  display: flex;
  flex-direction: column;
  gap: 20px;
  isolation: isolate;
  overflow: hidden;
  transition: border-color 0.4s ease, box-shadow 0.4s ease, transform 0.4s cubic-bezier(0.2,0.7,0.2,1);
}
.testi::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(140deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.55) 30%, rgba(45,140,165,0) 50%, rgba(255,255,255,0.35) 75%, rgba(255,255,255,0) 100%);
  background-size: 220% 220%;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  opacity: 0.95;
  transition: opacity 0.5s ease, background-position 0.6s ease;
  pointer-events: none;
  z-index: 2;
}
.testi::after {
  content: "";
  position: absolute;
  inset: -30%;
  background: radial-gradient(50% 50% at 70% 20%, var(--white-glow-2) 0%, transparent 65%);
  filter: blur(24px);
  z-index: -1;
  opacity: 0.7;
  transition: opacity 0.5s ease, transform 0.6s ease;
  pointer-events: none;
}
.testi:hover {
  border-color: var(--line-strong);
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.18) inset,
    0 0 36px var(--white-glow-2),
    0 24px 60px rgba(0,0,0,0.5);
  transform: translateY(-6px);
}
.testi:hover::before { opacity: 1; background-position: 100% 100%; }
.testi:hover::after { opacity: 1; transform: scale(1.1); }
.testi-quote {
  font-family: "Montserrat", sans-serif;
  font-weight: 300;
  font-size: clamp(14px, 1vw, 16px);
  line-height: 1.5;
  letter-spacing: -0.005em;
  text-wrap: pretty;
  flex: 1;
  color: var(--fg-dim);
}
.testi-foot {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.testi-avatar {
  width: 40px;
  height: 40px;
  border-radius: 99px;
  background: var(--silver);
  display: grid;
  place-items: center;
  font-weight: 600;
  font-size: 14px;
  color: #0a0a0c;
  flex-shrink: 0;
}
.testi-meta { display: flex; flex-direction: column; gap: 2px; }
.testi-name { font-weight: 600; font-size: 14px; }
.testi-car {
  font-family: "Montserrat", sans-serif;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-mute);
}
.testi-stars { color: var(--accent-2); margin-left: auto; font-size: 13px; letter-spacing: 1px; }
@media (max-width: 880px) { .testi-grid { grid-template-columns: 1fr; } }

/* ===== Locations ===== */
.locations { /* background transparente para uniformidad con body */ }
.loc-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.loc {
  position: relative;
  border-radius: var(--radius-sm);
  background: linear-gradient(180deg, rgba(34,40,48,0.65) 0%, rgba(16,20,26,0.95) 100%);
  border: 1px solid var(--line);
  box-shadow: 0 0 0 1px rgba(255,255,255,0.20) inset, 0 0 42px rgba(255,255,255,0.10), 0 0 14px rgba(255,255,255,0.06), 0 12px 32px rgba(0,0,0,0.45);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 200px;
  cursor: pointer;
  isolation: isolate;
  overflow: hidden;
  transition: border-color 0.4s ease, box-shadow 0.4s ease, transform 0.4s cubic-bezier(0.2,0.7,0.2,1);
}
.loc-link {
  position: absolute;
  inset: 0;
  z-index: 1;
}
.loc > *:not(.loc-link) { position: relative; z-index: 2; }
.loc-phones a { position: relative; z-index: 3; }
.loc::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(140deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.55) 30%, rgba(45,140,165,0) 50%, rgba(255,255,255,0.35) 75%, rgba(255,255,255,0) 100%);
  background-size: 220% 220%;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  opacity: 0.9;
  transition: opacity 0.5s ease, background-position 0.6s ease;
  pointer-events: none;
  z-index: 2;
}
.loc::after {
  content: "";
  position: absolute;
  inset: -30%;
  background: radial-gradient(50% 50% at 50% 30%, var(--white-glow-3) 0%, transparent 65%);
  filter: blur(24px);
  z-index: -1;
  opacity: 0.7;
  transition: opacity 0.5s ease, transform 0.6s ease;
  pointer-events: none;
}
.loc:hover {
  border-color: var(--line-strong);
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.18) inset,
    0 0 28px var(--white-glow-2),
    0 20px 48px rgba(0,0,0,0.5);
  transform: translateY(-3px);
}
.loc:hover::before { opacity: 1; background-position: 100% 100%; }
.loc:hover::after { opacity: 1; transform: scale(1.1); }
.loc:hover { background: var(--bg-3); }
.loc:hover .loc-arrow { color: #fff; transform: translate(3px, -3px); }
.loc-flag {
  font-family: "Montserrat", sans-serif;
  font-size: 10px;
  color: var(--fg-mute);
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.loc-city {
  font-family: "Montserrat", sans-serif;
  font-weight: 400;
  font-size: 26px;
  line-height: 1;
  letter-spacing: -0.025em;
  margin-top: auto;
}
.loc-addr {
  font-size: 13px;
  color: var(--fg-dim);
  line-height: 1.45;
}
.loc-arrow {
  position: absolute;
  top: 22px;
  right: 22px;
  width: 16px; height: 16px;
  color: var(--fg-mute);
  transition: transform 0.25s ease, color 0.25s ease;
}
@media (max-width: 880px) { .loc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .loc-grid { grid-template-columns: 1fr; } }

.distributors {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.distributors .label {
  font-family: "Montserrat", sans-serif;
  font-size: 10px;
  color: var(--fg-mute);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-right: 8px;
}
.distributors span.dist {
  padding: 6px 14px;
  border: 1px solid var(--line);
  border-radius: 99px;
  font-size: 12px;
  color: var(--fg-dim);
  background: var(--bg);
}

/* ===== Final CTA ===== */
.cta {
  background: var(--bg);
  padding: clamp(80px, 14vh, 180px) 0;
  position: relative;
  overflow: hidden;
}
.cta-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}
.cta h2 {
  font-family: "Montserrat", sans-serif;
  font-weight: 500;
  font-size: clamp(36px, 6vw, 80px);
  line-height: 1.02;
  letter-spacing: -0.035em;
  text-wrap: balance;
}
.cta h2 .serif { font-weight: 200; letter-spacing: -0.035em; }
.cta h2 .accent { /* handled by global .accent silver gradient */ }
.cta-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  flex-wrap: wrap;
}
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ===== Footer ===== */
footer {
  padding: 64px 0 32px;
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--line);
}
.foot-brand { display: flex; flex-direction: column; gap: 20px; max-width: 320px; }
.foot-brand p { color: var(--fg-dim); font-size: 13px; line-height: 1.6; }
.foot-social {
  display: flex;
  gap: 8px;
  margin-top: 8px;
}
.foot-social a {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  border: 1px solid var(--line);
  color: var(--fg-dim);
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.foot-social a:hover { color: var(--fg); border-color: var(--line-strong); background: rgba(255,255,255,0.04); }
.foot-social svg { width: 16px; height: 16px; }
.foot-col h4 {
  font-family: "Montserrat", sans-serif;
  font-size: 11px;
  font-weight: 400;
  color: var(--fg-mute);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.foot-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.foot-col a { color: var(--fg-dim); transition: color 0.2s ease; }
.foot-col a:hover { color: var(--fg); }
.foot-bot {
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-family: "Montserrat", sans-serif;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-mute);
}
@media (max-width: 880px) {
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .foot-brand { grid-column: 1 / -1; }
}

/* whatsapp float */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  height: 56px;
  padding: 0 20px 0 16px;
  border-radius: 99px;
  background: #25D366;
  color: #fff;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  z-index: 50;
  box-shadow: 0 12px 32px rgba(37,211,102,0.35), 0 4px 12px rgba(0,0,0,0.3);
  transition: transform 0.2s ease, box-shadow 0.25s ease;
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: -0.01em;
}
.whatsapp-float:hover { transform: scale(1.04); box-shadow: 0 16px 40px rgba(37,211,102,0.5), 0 4px 12px rgba(0,0,0,0.3); }
.whatsapp-float svg { width: 24px; height: 24px; flex-shrink: 0; }
.whatsapp-float .wa-label { white-space: nowrap; }
@media (max-width: 720px) {
  .whatsapp-float { padding: 0; width: 56px; justify-content: center; bottom: 16px; right: 16px; }
  .whatsapp-float .wa-label { display: none; }
}


/* ===== Smooth parallax scroll ===== */
html {
  scroll-behavior: smooth;
}

/* ===== Aurora layer (grayscale soft waves behind hero) ===== */
.aurora {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
  mix-blend-mode: screen;
}
/* === Background global ÚNICO en body, todas las secciones transparentes === */
html, body {
  background: #060709 !important;
}
section,
footer,
main,
#pya-root,
.elementor,
.elementor-element,
.e-con,
.e-con-boxed,
.e-con-inner {
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
}

/* Aurora global: desactivada (reemplazada por particles) */
.aurora-global { display: none !important; }

/* Particles globales: capa de partículas en toda la web, fijas en viewport */
.particle-layer-global {
  position: fixed !important;
  inset: 0 !important;
  pointer-events: none !important;
  z-index: 1 !important; /* arriba del bg sólido del body, debajo de sections */
  overflow: hidden;
}
@media (prefers-reduced-motion: reduce) {
  .aurora-global .wave { animation: none !important; }
}
.aurora .wave {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.55;
  will-change: transform, opacity;
}
/* 4 olas muy grandes y muy desenfocadas */
.aurora .wave-1 {
  width: 80vw;
  height: 80vw;
  top: -10%;
  left: -20%;
  background: radial-gradient(closest-side, rgba(255,255,255,0.35) 0%, rgba(255,255,255,0.0) 70%);
  animation: auroraDrift1 38s ease-in-out infinite alternate;
}
.aurora .wave-2 {
  width: 75vw;
  height: 75vw;
  top: 15%;
  right: -25%;
  background: radial-gradient(closest-side, rgba(230,230,240,0.30) 0%, rgba(230,230,240,0.0) 70%);
  animation: auroraDrift2 44s ease-in-out infinite alternate;
}
.aurora .wave-3 {
  width: 90vw;
  height: 90vw;
  bottom: -30%;
  left: 10%;
  background: radial-gradient(closest-side, rgba(180,180,195,0.28) 0%, rgba(180,180,195,0.0) 70%);
  animation: auroraDrift3 52s ease-in-out infinite alternate;
}
.aurora .wave-4 {
  width: 70vw;
  height: 70vw;
  top: 30%;
  left: 20%;
  background: radial-gradient(closest-side, rgba(255,255,255,0.25) 0%, rgba(255,255,255,0.0) 70%);
  animation: auroraDrift4 36s ease-in-out infinite alternate;
}
/* Movimiento lento y suave en todas direcciones */
@keyframes auroraDrift1 {
  0%   { transform: translate(-10%, -8%) scale(1); }
  50%  { transform: translate(20%, 15%) scale(1.15); }
  100% { transform: translate(-5%, 20%) scale(0.95); }
}
@keyframes auroraDrift2 {
  0%   { transform: translate(15%, -10%) scale(1.05); }
  50%  { transform: translate(-18%, 22%) scale(0.9); }
  100% { transform: translate(10%, -15%) scale(1.18); }
}
@keyframes auroraDrift3 {
  0%   { transform: translate(-8%, 12%) scale(1); }
  50%  { transform: translate(18%, -22%) scale(1.20); }
  100% { transform: translate(-22%, 8%) scale(0.88); }
}
@keyframes auroraDrift4 {
  0%   { transform: translate(12%, 15%) scale(0.95); }
  50%  { transform: translate(-22%, -18%) scale(1.15); }
  100% { transform: translate(15%, -10%) scale(1.05); }
}

/* ===== Aside link arrow sizing fix ===== */
.aside-link .arrow {
  width: 12px;
  height: 12px;
  opacity: 0.7;
}
.aside-link {
  font-size: 14px;
}
.contact-section {
  background: var(--bg);
  position: relative;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: clamp(24px, 4vw, 56px);
}
@media (max-width: 880px) {
  .contact-grid { grid-template-columns: 1fr; }
}

.contact-form {
  position: relative;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(20,24,30,0.6) 0%, rgba(10,12,16,0.95) 100%);
  border: 1px solid var(--line);
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.22) inset,
    0 0 80px rgba(255,255,255,0.14),
    0 0 32px rgba(255,255,255,0.10),
    0 24px 60px rgba(0,0,0,0.5);
  padding: clamp(28px, 4vw, 48px);
  display: flex;
  flex-direction: column;
  gap: 20px;
  isolation: isolate;
  overflow: hidden;
}
.contact-form::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(140deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.85) 28%, rgba(255,255,255,0.15) 50%, rgba(255,255,255,0.65) 75%, rgba(255,255,255,0) 100%);
  background-size: 220% 220%;
  animation: frameSweep 10s linear infinite;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  opacity: 0.6;
  pointer-events: none;
  z-index: 2;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }

.form-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.form-field label {
  font-family: "Montserrat", sans-serif;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg-mute);
}
.form-field input,
.form-field select,
.form-field textarea {
  font-family: "Montserrat", sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: var(--fg);
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 16px;
  width: 100%;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  outline: none;
  resize: vertical;
  font-family: inherit;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: rgba(255,255,255,0.4);
  background: rgba(255,255,255,0.04);
  box-shadow: 0 0 0 4px rgba(255,255,255,0.06), 0 0 24px rgba(255,255,255,0.10);
}
.form-field input::placeholder,
.form-field textarea::placeholder { color: var(--fg-mute); }
.form-field select {
  appearance: none;
  -webkit-appearance: none;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%239aa1ad' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"),
    none;
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

.chip-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.chip {
  font-family: "Montserrat", sans-serif;
  font-size: 12px;
  font-weight: 500;
  padding: 10px 16px;
  border-radius: 99px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.02);
  color: var(--fg-dim);
  cursor: pointer;
  transition: all 0.2s ease;
}
.chip:hover { border-color: rgba(255,255,255,0.3); color: var(--fg); }
.chip.active {
  background: var(--fg);
  color: var(--bg);
  border-color: var(--fg);
  box-shadow: 0 0 24px rgba(255,255,255,0.18);
}

.form-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  margin-top: 8px;
  flex-wrap: wrap;
}
.form-note { font-size: 11px; color: var(--fg-mute); max-width: 32ch; line-height: 1.4; }
.form-foot .btn { padding: 16px 28px; }
.form-foot .btn:disabled { opacity: 0.85; cursor: not-allowed; transform: none; }

.contact-aside {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.aside-block {
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.aside-block:last-child { border-bottom: none; }
.aside-block h3 {
  font-family: "Montserrat", sans-serif;
  font-weight: 400;
  font-size: 22px;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.aside-block p {
  font-size: 13px;
  color: var(--fg-dim);
  line-height: 1.5;
  max-width: 36ch;
}
.aside-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: "Montserrat", sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: var(--fg);
  padding: 6px 0;
  transition: color 0.2s ease, transform 0.2s ease;
}
.aside-link:hover { color: var(--fg); transform: translateX(2px); }
.aside-link:hover .arrow { transform: translate(2px, -2px); }


/* ===== HOME — video first hero ===== */
.home-hero {
  position: relative;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  z-index: 10; /* arriba del aurora-global (z-index 2) para que la aurora no se vea sobre el video */
}
.home-hero .hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(180deg, rgba(6,7,9,0.30) 0%, rgba(6,7,9,0.0) 25%, rgba(6,7,9,0.0) 70%, rgba(6,7,9,1) 100%);
  pointer-events: none;
}
/* Video posicionado un poco más abajo en el frame */
.home-hero .hero-video-bg video { object-position: center 65%; }
/* (Hero-text sin overrides: ahora todos los fondos son iguales con var(--bg), no se necesita el truco del gradient) */
.hero-video-meta-top {
  position: absolute;
  top: clamp(100px, 14vh, 130px);
  left: clamp(20px, 4vw, 64px);
  right: clamp(20px, 4vw, 64px);
  z-index: 5;
  display: flex;
  justify-content: space-between;
  font-family: "Montserrat", sans-serif;
  font-weight: 500;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
}
.hero-video-cta {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  z-index: 5;
  pointer-events: none;
}
.hero-play-cta {
  pointer-events: auto;
  width: 96px;
  height: 96px;
  border-radius: 99px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.3);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--fg);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: transform 0.3s cubic-bezier(0.2,0.7,0.2,1), background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 0 36px rgba(255,255,255,0.10);
  animation: heroPlayPulse 3s ease-in-out infinite;
}
@keyframes heroPlayPulse {
  0%, 100% { box-shadow: 0 0 36px rgba(255,255,255,0.10); }
  50% { box-shadow: 0 0 56px rgba(255,255,255,0.25); }
}
.hero-play-cta:hover {
  transform: scale(1.08);
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.6);
}
.hero-play-cta svg { width: 38px; height: 38px; }
.hero-slides-indicator {
  position: absolute;
  bottom: clamp(80px, 12vh, 110px);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 5;
}
.slide-dot {
  width: 36px;
  height: 3px;
  border-radius: 2px;
  background: rgba(255,255,255,0.25);
  cursor: pointer;
  transition: background 0.3s ease, width 0.3s ease;
}
.slide-dot.active { background: #fff; width: 48px; }
.slide-dot:hover { background: rgba(255,255,255,0.5); }

/* ===== Hero text section (below video) ===== */
.hero-text {
  padding: clamp(80px, 14vh, 160px) 0;
  position: relative;
}
.hero-text .container {
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.hero-text .hero-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
  flex-wrap: wrap;
}
.hero-text .hero-meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: right;
  font-size: 12px;
  color: var(--fg-dim);
}
.hero-text .hero-meta .mono { font-size: 11px; color: var(--fg-mute); letter-spacing: 0.15em; text-transform: uppercase; }
.slides-wrap {
  position: relative;
  min-height: clamp(280px, 38vh, 420px);
}
.slide {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition: opacity 0.8s cubic-bezier(0.2,0.7,0.2,1), transform 0.8s cubic-bezier(0.2,0.7,0.2,1);
}
.slide.active { opacity: 1; transform: translateY(0); pointer-events: auto; }
.hero-text-title {
  font-family: "Montserrat", sans-serif;
  font-weight: 500;
  font-size: clamp(34px, 6vw, 84px);
  line-height: 1.02;
  letter-spacing: -0.04em;
  text-wrap: balance;
  max-width: 22ch;
}
.hero-text-sub {
  font-size: clamp(14px, 1.3vw, 18px);
  color: var(--fg-dim);
  line-height: 1.55;
  max-width: 52ch;
}
.hero-text-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* Mobile: reducir aire entre texto y CTAs del hero-text */
@media (max-width: 720px) {
  .hero-text { padding: 64px 0 56px; }
  .hero-text .container { gap: 28px; }
  .slides-wrap { min-height: 220px; }
}

/* Mobile: forzar ancho completo en Inicio (contenedores de Elementor a 100%) */
@media (max-width: 980px) {
  body.home,
  body.home .elementor,
  body.home .elementor-element,
  body.home .e-con,
  body.home .e-con-boxed,
  body.home .e-con-inner {
    max-width: 100% !important;
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
}

/* ===== Why-us cards ===== */
.why-us {
  padding: clamp(80px, 12vh, 160px) 0;
  position: relative;
}
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
@media (max-width: 980px) { .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .why-grid { grid-template-columns: 1fr; } }
.why-card {
  position: relative;
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(34,40,48,0.65) 0%, rgba(16,20,26,0.95) 100%);
  border: 1px solid var(--line);
  box-shadow: 0 0 0 1px rgba(255,255,255,0.18) inset, 0 0 42px rgba(255,255,255,0.10), 0 0 14px rgba(255,255,255,0.06), 0 12px 32px rgba(0,0,0,0.45);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 240px;
  isolation: isolate;
  overflow: hidden;
  transition: border-color 0.4s ease, box-shadow 0.4s ease, transform 0.4s cubic-bezier(0.2,0.7,0.2,1);
}
.why-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(140deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.85) 28%, rgba(255,255,255,0.15) 50%, rgba(255,255,255,0.65) 75%, rgba(255,255,255,0) 100%);
  background-size: 220% 220%;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  opacity: 0.85;
  transition: opacity 0.5s ease, background-position 0.6s ease;
  pointer-events: none;
  z-index: 2;
}
.why-card:hover {
  border-color: var(--line-strong);
  transform: translateY(-4px);
  box-shadow: 0 0 0 1px rgba(255,255,255,0.3) inset, 0 0 56px rgba(255,255,255,0.18), 0 24px 60px rgba(0,0,0,0.5);
}
.why-card:hover::before { opacity: 1; background-position: 100% 100%; }
.why-num {
  font-family: "Montserrat", sans-serif;
  font-weight: 200;
  font-size: 52px;
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: var(--fg);
  margin-bottom: auto;
}
.why-card h3 {
  font-family: "Montserrat", sans-serif;
  font-weight: 500;
  font-size: 18px;
  letter-spacing: -0.01em;
  line-height: 1.2;
}
.why-card p {
  font-size: 13px;
  color: var(--fg-dim);
  line-height: 1.5;
}

/* ===== Pruebas (videos enlazados) ===== */
.pruebas { padding: clamp(80px, 12vh, 160px) 0; }
.pruebas-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
@media (max-width: 720px) { .pruebas-grid { grid-template-columns: 1fr; } }
.prueba-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
/* Wrapper del video con la misma estética de card que tenía el media-slot */
.prueba-video-wrap {
  position: relative !important;
  width: 100%;
  aspect-ratio: 16/10;
  border-radius: var(--radius) !important;
  overflow: hidden !important;
  background: linear-gradient(180deg, #0a0d12 0%, #050608 100%) !important;
  border: 1px solid var(--line-strong) !important;
  isolation: isolate;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.20) inset,
    0 0 56px rgba(255,255,255,0.12),
    0 0 20px rgba(255,255,255,0.08),
    0 16px 40px rgba(0,0,0,0.5) !important;
}
.prueba-video {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  display: block !important;
  object-fit: cover !important;
  background: #060709 !important;
  z-index: 1;
}
/* Botón Ver en Instagram — overlay top-right del video, estilo pill consistente */
.prueba-ig-btn {
  position: absolute !important;
  top: 14px !important;
  right: 14px !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  padding: 10px 16px !important;
  border-radius: 99px !important;
  background: rgba(0,0,0,0.65) !important;
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  color: #fff !important;
  font-family: "Montserrat", sans-serif !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  letter-spacing: 0.03em !important;
  border: 1px solid rgba(255,255,255,0.25) !important;
  transition: all 0.25s ease !important;
  z-index: 5 !important;
  text-decoration: none !important;
  white-space: nowrap;
  box-shadow: 0 4px 16px rgba(0,0,0,0.4);
}
.prueba-ig-btn:hover {
  background: linear-gradient(135deg, #833ab4, #fd1d1d, #fcb045) !important; /* IG gradient */
  border-color: rgba(255,255,255,0.5) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 24px rgba(225,48,108,0.4);
}
.prueba-ig-btn svg { flex-shrink: 0; }
@media (max-width: 540px) {
  .prueba-ig-btn span { display: none !important; }
  .prueba-ig-btn { padding: 10px !important; }
}
.prueba-info h4 {
  font-family: "Montserrat", sans-serif;
  font-weight: 500;
  font-size: 20px;
  letter-spacing: -0.01em;
}
.prueba-info p {
  font-size: 14px;
  color: var(--fg-dim);
  line-height: 1.5;
  margin-top: 4px;
}

/* ===== Media slot placeholder ===== */
.media-slot {
  position: relative;
  width: 100%;
  border-radius: var(--radius);
  overflow: hidden;
  background: #18191c;
  border: 1px solid rgba(255,255,255,0.06);
  isolation: isolate;
}
.media-slot::before { display: none; }
.media-slot-grid { display: none; }

/* Media-slot con imagen real cargada via DOM enhancer */
.media-slot-has-img .media-slot-meta,
.media-slot-has-img .media-slot-label,
.media-slot-has-img .media-slot-play {
  display: none !important;
}
.media-slot-has-img {
  background-color: transparent !important;
  border: 1px solid rgba(255,255,255,0.06);
}
.media-slot-meta {
  position: absolute;
  top: 20px;
  left: 20px;
  right: 20px;
  display: flex;
  justify-content: space-between;
  font-family: "Montserrat", sans-serif;
  font-weight: 500;
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  z-index: 3;
}
.media-slot-label {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  font-family: "Montserrat", sans-serif;
  font-weight: 400;
  font-size: 14px;
  letter-spacing: -0.01em;
  color: rgba(255,255,255,0.85);
  z-index: 3;
}
.media-slot-play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  z-index: 2;
  pointer-events: none;
}
.media-slot-play svg {
  width: 56px;
  height: 56px;
  color: rgba(255,255,255,0.9);
  filter: drop-shadow(0 0 16px rgba(255,255,255,0.3));
}

/* ===== ETR table ===== */
.etr { padding: clamp(80px, 12vh, 160px) 0; }
.etr-table {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(32,38,44,0.6) 0%, rgba(14,18,22,0.95) 100%);
  box-shadow: 0 0 0 1px rgba(255,255,255,0.20) inset, 0 0 48px rgba(255,255,255,0.12), 0 0 18px rgba(255,255,255,0.08), 0 16px 40px rgba(0,0,0,0.5);
}
.etr-row {
  display: grid;
  grid-template-columns: 1.5fr 2fr 0.8fr 1fr;
  gap: 16px;
  padding: 18px 24px;
  border-bottom: 1px solid var(--line);
  align-items: center;
  font-size: 13px;
  color: var(--fg-dim);
}
.etr-row:last-child { border-bottom: none; }
.etr-row.etr-head {
  background: rgba(255,255,255,0.04);
  font-family: "Montserrat", sans-serif;
  font-weight: 500;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg-mute);
}
.etr-row strong { color: var(--fg); font-weight: 500; font-size: 14px; }
.etr-bar {
  height: 22px;
  background: rgba(255,255,255,0.04);
  border-radius: 6px;
  overflow: hidden;
  position: relative;
}
.etr-bar span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, rgba(255,255,255,0.85) 0%, rgba(180,190,200,0.9) 100%);
  border-radius: 6px;
  color: var(--bg);
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  font-size: 11px;
  display: grid;
  place-items: center;
  padding: 0 10px;
  text-align: right;
  justify-content: end;
  transition: width 1s cubic-bezier(0.2,0.7,0.2,1);
  box-shadow: 0 0 16px rgba(255,255,255,0.18);
}
@media (max-width: 720px) {
  .etr-row { grid-template-columns: 1.4fr 1.6fr; gap: 12px; padding: 14px 16px; }
  .etr-row > div:nth-child(3),
  .etr-row > div:nth-child(4) { display: none; }
}

/* ===== Corporate marquee ===== */
.corporate { padding: clamp(60px, 8vh, 100px) 0 clamp(30px, 4vh, 50px); }
.corporate-head { display: flex; flex-direction: column; gap: 12px; margin-bottom: 32px; }
.corporate-head h3 {
  font-family: "Montserrat", sans-serif;
  font-weight: 400;
  font-size: clamp(22px, 2vw, 28px);
  letter-spacing: -0.02em;
}
.corporate-marquee {
  overflow: hidden;
  padding: 28px 0;
  position: relative;
  /* Break out del container y ocupar todo el ancho del viewport */
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}
.corporate-marquee::before, .corporate-marquee::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 120px; z-index: 2; pointer-events: none;
}
.corporate-marquee::before { left: 0; background: linear-gradient(90deg, var(--bg) 0%, transparent 100%); }
.corporate-marquee::after { right: 0; background: linear-gradient(270deg, var(--bg) 0%, transparent 100%); }
.corporate-track {
  display: flex;
  gap: 56px;
  animation: marquee 32s linear infinite;
  white-space: nowrap;
  width: max-content;
}
.corp-logo {
  font-family: "Montserrat", sans-serif;
  font-weight: 200;
  font-size: clamp(28px, 3vw, 42px);
  color: var(--fg-mute);
  letter-spacing: -0.02em;
  transition: color 0.3s ease;
}
.corp-logo:hover { color: var(--fg); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ===== Sedes resumen ===== */
.sedes-resumen { padding: clamp(40px, 6vh, 70px) 0 clamp(80px, 12vh, 160px); }
.sedes-cta { display: flex; justify-content: center; margin-top: 40px; }
.loc-phones { display: flex; flex-direction: column; gap: 2px; font-size: 12px; color: var(--fg-dim); margin-top: 8px; }
.loc-phones a { color: var(--fg-dim); transition: color 0.2s ease; }
.loc-phones a:hover { color: var(--fg); }

/* ===== Home final CTA ===== */
.home-cta {
  padding: clamp(80px, 14vh, 160px) 0;
  position: relative;
  overflow: hidden;
}
/* Video de fondo + degradés top/bottom para fundirlo */
.home-cta-video {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}
.home-cta-video video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.30;
}
.home-cta-video-fade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    #060709 0%,
    rgba(6,7,9,0.6) 18%,
    rgba(6,7,9,0) 50%,
    rgba(6,7,9,0.6) 82%,
    #060709 100%);
  pointer-events: none;
}
.home-cta > .container {
  position: relative;
  z-index: 2;
}
.home-cta h2 {
  font-family: "Montserrat", sans-serif;
  font-weight: 500;
  font-size: clamp(36px, 6vw, 80px);
  line-height: 1.02;
  letter-spacing: -0.04em;
  text-wrap: balance;
  margin: 24px 0 32px;
}
.home-cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* WhatsApp btn */
.btn-whatsapp {
  background: #25D366;
  color: #fff;
  box-shadow: 0 12px 32px rgba(37,211,102,0.3);
}
.btn-whatsapp:hover { transform: translateY(-2px); box-shadow: 0 18px 44px rgba(37,211,102,0.5); }
.btn-whatsapp svg { width: 18px; height: 18px; }

/* ===== Page hero (used on subpages) ===== */
.page-hero {
  position: relative;
  padding: clamp(140px, 22vh, 220px) 0 clamp(60px, 10vh, 120px);
  overflow: hidden;
  /* Máscara que fade el último 4% del page-hero a transparente para eliminar cualquier edge visible */
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 96%, transparent 100%);
          mask-image: linear-gradient(180deg, #000 0%, #000 96%, transparent 100%);
}
/* Forzar que NO se vea ninguna aurora ni capa de luz dentro del page-hero */
.page-hero .aurora,
.page-hero .aurora-global,
.page-hero .wave,
.page-hero .ambient,
.page-hero .glow,
.page-hero [class*="aurora"],
.page-hero [class*="glow"] {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
}
/* Eliminar bordes/separadores entre secciones para evitar líneas visibles */
.page-hero,
.page-content,
section {
  border-top: none !important;
  border-bottom: none !important;
}

/* Eliminar secciones page-content duplicadas/vacías que crean líneas visibles */
section.page-content[style*="padding-top: 0"] {
  display: none !important;
}
section.page-content + section.page-content:empty {
  display: none !important;
}

/* page-hero: margin, outline y pseudo-elements limpios */
html body section.page-hero,
section.page-hero {
  background: transparent !important;
  margin: 0 !important;
  outline: none !important;
}
.page-hero::before,
.page-hero::after {
  display: none !important;
}
/* Eliminar cualquier outline/border/shadow del video y su wrapper */
.page-hero-video,
.page-hero-video *,
.page-hero-video video {
  outline: none !important;
  border: none !important;
  box-shadow: none !important;
}

/* Forzar el .accent del page-hero a estar en línea nueva (debajo del título) */
.page-hero-title .accent,
.page-hero h1 .accent {
  display: block !important;
}

/* Asegurar que el video de fondo del page-hero llene completamente sin bordes visibles */
.page-hero-video {
  margin: 0 !important;
  border: 0 !important;
}
.page-hero-video video {
  margin: 0 !important;
  border: 0 !important;
  vertical-align: top;
}
/* Video de fondo opcional + fades top/bottom — copiado exacto del CTA que funciona bien */
.page-hero-video {
  position: absolute;
  inset: -50px 0 -50px 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}
.page-hero-video video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.30;
}
/* Fade del page-hero — copiado idéntico del CTA bg que funciona bien */
.page-hero-video-fade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    #060709 0%,
    rgba(6,7,9,0.6) 18%,
    rgba(6,7,9,0) 50%,
    rgba(6,7,9,0.6) 82%,
    #060709 100%);
  pointer-events: none;
}
.page-hero > .container {
  position: relative;
  z-index: 2;
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero-title {
  font-family: "Montserrat", sans-serif;
  font-weight: 500;
  font-size: clamp(40px, 7vw, 96px);
  line-height: 1.0;
  letter-spacing: -0.045em;
  text-wrap: balance;
  margin: 20px 0 28px;
  max-width: 20ch;
}
.page-hero-subtitle {
  font-size: clamp(15px, 1.4vw, 18px);
  color: var(--fg-dim);
  line-height: 1.55;
  max-width: 60ch;
}

/* ===== FAQ accordion ===== */
.faq-section { padding: clamp(60px, 10vh, 120px) 0; }
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.02);
  overflow: hidden;
  transition: border-color 0.3s ease, background 0.3s ease;
}
.faq-item.open { border-color: var(--line-strong); background: rgba(255,255,255,0.04); }
.faq-q {
  width: 100%;
  text-align: left;
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-family: "Montserrat", sans-serif;
  font-weight: 500;
  font-size: 15px;
  letter-spacing: -0.01em;
  color: var(--fg);
  cursor: pointer;
  background: transparent;
}
.faq-icon {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 99px;
  border: 1px solid var(--line);
  transition: transform 0.3s ease, background 0.3s ease;
  flex-shrink: 0;
}
.faq-icon svg { width: 12px; height: 12px; }
.faq-item.open .faq-icon { transform: rotate(180deg); background: rgba(255,255,255,0.08); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
}
.faq-item.open .faq-a {
  max-height: 320px;
  padding: 0 24px 24px;
}
.faq-a p {
  color: var(--fg-dim);
  font-size: 14px;
  line-height: 1.6;
}


/* ===== Tabs ===== */
.tab-section { padding: clamp(80px, 12vh, 160px) 0; }
.tabs-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 8px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--line);
  border-radius: 99px;
  margin-bottom: 56px;
  align-self: flex-start;
  width: fit-content;
  max-width: 100%;
}
.tab-btn {
  padding: 14px 24px;
  border-radius: 99px;
  font-family: "Montserrat", sans-serif;
  font-weight: 500;
  font-size: 14px;
  letter-spacing: -0.01em;
  color: var(--fg-dim);
  background: transparent;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color 0.2s ease, background 0.3s ease;
  white-space: nowrap;
}
.tab-btn:hover { color: var(--fg); }
.tab-btn.active {
  background: var(--fg);
  color: var(--bg);
  box-shadow: 0 0 28px rgba(255,255,255,0.18);
}
.tab-num {
  font-size: 10px;
  letter-spacing: 0.15em;
  padding: 4px 8px;
  border-radius: 6px;
  background: rgba(255,255,255,0.08);
  color: var(--fg-mute);
  text-transform: uppercase;
}
.tab-btn.active .tab-num { background: rgba(0,0,0,0.12); color: rgba(0,0,0,0.7); }

.tab-content {
  animation: fadeUp 0.6s cubic-bezier(0.2,0.7,0.2,1);
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}
.tab-layout {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}
@media (max-width: 980px) {
  .tab-layout { grid-template-columns: 1fr; }
}
.tab-media { position: sticky; top: 100px; }
.tab-title {
  font-family: "Montserrat", sans-serif;
  font-weight: 500;
  font-size: clamp(34px, 4.5vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.035em;
  margin-bottom: 16px;
}
.tab-desc {
  font-size: clamp(15px, 1.3vw, 17px);
  color: var(--fg-dim);
  line-height: 1.6;
  margin-bottom: 40px;
  max-width: 60ch;
}
.info-block { display: flex; flex-direction: column; gap: 12px; margin-top: 32px; }
.info-block h3, .block-h {
  font-family: "Montserrat", sans-serif;
  font-weight: 500;
  font-size: 16px;
  letter-spacing: -0.01em;
  color: var(--fg);
}
.info-block .info-text { color: var(--fg-dim); font-size: 14px; line-height: 1.55; }
.check-list { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.check-list li {
  position: relative;
  padding-left: 26px;
  color: var(--fg-dim);
  font-size: 14px;
  line-height: 1.55;
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 14px;
  height: 14px;
  border-radius: 99px;
  border: 1px solid rgba(255,255,255,0.4);
  background: radial-gradient(circle, rgba(255,255,255,0.4) 0%, transparent 60%);
}
.check-list li::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 13px;
  width: 6px;
  height: 4px;
  border-left: 1.5px solid rgba(255,255,255,0.9);
  border-bottom: 1.5px solid rgba(255,255,255,0.9);
  transform: rotate(-45deg);
}
.pct-row, .chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.pct-pill {
  padding: 8px 16px;
  border: 1px solid var(--line);
  border-radius: 99px;
  font-family: "Montserrat", sans-serif;
  font-size: 12px;
  font-weight: 500;
  color: var(--fg-dim);
  background: rgba(255,255,255,0.02);
}
.sublines { margin-top: 80px; }
.sublines-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 20px;
}
@media (max-width: 880px) { .sublines-grid { grid-template-columns: 1fr; } }
.subline-card {
  padding: 24px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.02);
}
.subline-card h4 {
  font-family: "Montserrat", sans-serif;
  font-weight: 500;
  font-size: 18px;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}
.subline-card p { font-size: 13px; color: var(--fg-dim); line-height: 1.55; }

/* ===== Page content (generic wrapper) ===== */
.page-content { padding: clamp(60px, 10vh, 120px) 0; }
.content-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}
@media (max-width: 980px) { .content-grid { grid-template-columns: 1fr; } }
.content-media { position: sticky; top: 100px; }
.content-info h2 {
  font-family: "Montserrat", sans-serif;
  font-weight: 500;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.05;
  letter-spacing: -0.035em;
  margin-bottom: 20px;
}
.content-info > p {
  font-size: clamp(14px, 1.2vw, 16px);
  color: var(--fg-dim);
  line-height: 1.6;
  margin-bottom: 16px;
  max-width: 62ch;
}
@media (max-width: 980px) {
  .content-media { position: static; }
}

/* ===== Zones grid ===== */
.zones-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}
@media (max-width: 880px) { .zones-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 540px) { .zones-grid { grid-template-columns: repeat(2, 1fr); } }
.zone-card {
  padding: 18px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.02);
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 110px;
  transition: border-color 0.3s ease, background 0.3s ease;
}
.zone-card:hover { border-color: var(--line-strong); background: rgba(255,255,255,0.05); }
.zone-num {
  font-family: "Montserrat", sans-serif;
  font-weight: 500;
  font-size: 10px;
  letter-spacing: 0.15em;
  color: var(--fg-mute);
}
.zone-card > span:last-child {
  font-family: "Montserrat", sans-serif;
  font-weight: 400;
  font-size: 14px;
  letter-spacing: -0.01em;
  color: var(--fg);
  margin-top: auto;
}

/* ===== Brand stamp ===== */
.brand-stamp {
  padding: 32px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.02);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.brand-stamp h3 {
  font-family: "Montserrat", sans-serif;
  font-weight: 400;
  font-size: clamp(20px, 2vw, 28px);
  letter-spacing: -0.02em;
}

/* ===== Cifras (Nosotros) ===== */
.cifras-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
@media (max-width: 980px) { .cifras-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .cifras-grid { grid-template-columns: 1fr; } }
.cifra-card {
  padding: 32px 28px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(34,40,48,0.65) 0%, rgba(16,20,26,0.95) 100%);
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.18) inset, 0 0 42px rgba(255,255,255,0.10), 0 0 14px rgba(255,255,255,0.06), 0 12px 32px rgba(0,0,0,0.45);
  min-height: 200px;
  transition: border-color 0.3s ease, transform 0.3s ease;
}
.cifra-card:hover { border-color: var(--line-strong); transform: translateY(-3px); }
.cifra-num {
  font-family: "Montserrat", sans-serif;
  font-weight: 200;
  font-size: clamp(36px, 4vw, 56px);
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--fg);
}
.cifra-card p { font-size: 13px; color: var(--fg-dim); line-height: 1.5; margin-top: auto; }

/* ===== Brands grid ===== */
.brands-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  margin-top: 24px;
}
@media (max-width: 880px) { .brands-grid { grid-template-columns: repeat(2, 1fr); } }
.brand-tile {
  padding: 32px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.02);
  display: grid;
  place-items: center;
  font-family: "Montserrat", sans-serif;
  font-weight: 300;
  font-size: clamp(20px, 2vw, 28px);
  letter-spacing: -0.02em;
  color: var(--fg);
  transition: border-color 0.3s ease, background 0.3s ease, color 0.3s ease;
}
.brand-tile:hover { border-color: var(--line-strong); background: rgba(255,255,255,0.05); }

/* ===== Distributors grid ===== */
.dist-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 24px;
}
@media (max-width: 880px) { .dist-grid { grid-template-columns: 1fr; } }
.dist-card {
  padding: 28px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.02);
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: border-color 0.3s ease, background 0.3s ease;
}
.dist-card:hover { border-color: var(--line-strong); background: rgba(255,255,255,0.04); }
.dist-card h3 {
  font-family: "Montserrat", sans-serif;
  font-weight: 500;
  font-size: 20px;
  letter-spacing: -0.02em;
  margin-top: 8px;
}
.dist-contact { font-size: 14px; color: var(--fg); font-weight: 500; }
.dist-addr { font-size: 13px; color: var(--fg-dim); line-height: 1.5; }
.dist-phones { display: flex; flex-direction: column; gap: 4px; margin-top: 8px; }
.dist-phones a { font-size: 13px; color: var(--fg-dim); transition: color 0.2s ease; }
.dist-phones a:hover { color: var(--fg); }

/* ===== Sedes list (full page) ===== */
.sedes-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.sede-card {
  padding: 28px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(34,40,48,0.65) 0%, rgba(16,20,26,0.95) 100%);
  display: grid;
  grid-template-columns: auto 1.4fr 1fr;
  gap: 32px;
  align-items: center;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.20) inset, 0 0 48px rgba(255,255,255,0.10), 0 0 16px rgba(255,255,255,0.06), 0 12px 32px rgba(0,0,0,0.4);
  transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}
.sede-card:hover {
  border-color: var(--line-strong);
  transform: translateY(-2px);
  box-shadow: 0 0 0 1px rgba(255,255,255,0.2) inset, 0 0 32px rgba(255,255,255,0.08), 0 16px 40px rgba(0,0,0,0.45);
}
@media (max-width: 880px) {
  .sede-card { grid-template-columns: 1fr; gap: 16px; }
}
.sede-num {
  font-family: "Montserrat", sans-serif;
  font-weight: 200;
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--fg);
}
.sede-info { display: flex; flex-direction: column; gap: 6px; }
.sede-info h3 {
  font-family: "Montserrat", sans-serif;
  font-weight: 400;
  font-size: clamp(22px, 2.4vw, 32px);
  letter-spacing: -0.025em;
  line-height: 1.1;
}
.sede-addr { font-size: 13px; color: var(--fg-dim); line-height: 1.5; }
.sede-contact { display: flex; flex-direction: column; gap: 12px; align-items: stretch; }
.sede-phones { display: flex; flex-direction: column; gap: 6px; }
.sede-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: "Montserrat", sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: var(--fg);
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 99px;
  background: rgba(255,255,255,0.02);
  transition: border-color 0.2s ease, background 0.2s ease;
  width: fit-content;
}
.sede-phone:hover { border-color: var(--line-strong); background: rgba(255,255,255,0.05); }
.sede-contact .btn-whatsapp { padding: 12px 18px; font-size: 13px; }

/* Map placeholder uses MediaSlot styles already */
.map-placeholder { width: 100%; }
.sedes-map {
  width: 100%;
  aspect-ratio: 21/9;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: block;
  background: #060709;
}
@media (max-width: 720px) {
  .sedes-map { aspect-ratio: 4/3; }
}

/* ===== Accesorios grid ===== */
.acc-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
@media (max-width: 980px) { .acc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .acc-grid { grid-template-columns: 1fr; } }
.acc-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.acc-card .media-slot { aspect-ratio: 1/1; }
.acc-info { display: flex; flex-direction: column; gap: 6px; }
.acc-info h3 {
  font-family: "Montserrat", sans-serif;
  font-weight: 500;
  font-size: 15px;
  letter-spacing: -0.01em;
}
.acc-info p { font-size: 12px; color: var(--fg-dim); line-height: 1.45; }
.acc-link {
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  font-size: 12px;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
  padding: 10px 18px;
  background: #25D366;
  border-radius: 99px;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.25s ease;
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.25);
  align-self: flex-start;
  transition: opacity 0.2s ease;
}
.acc-link .arrow { width: 11px; height: 11px; }
.acc-link:hover {
  background: #1ebd58;
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.4);
}

/* ===== Thickness table ===== */
.thickness-table {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  overflow: hidden;
  background: linear-gradient(180deg, rgba(32,38,44,0.6) 0%, rgba(14,18,22,0.95) 100%);
  box-shadow: 0 0 0 1px rgba(255,255,255,0.20) inset, 0 0 48px rgba(255,255,255,0.10), 0 0 16px rgba(255,255,255,0.06), 0 12px 32px rgba(0,0,0,0.4);
  margin-bottom: 24px;
}
.th-row {
  display: grid;
  grid-template-columns: 1fr 1.2fr 2fr 1.2fr;
  gap: 16px;
  padding: 18px 24px;
  border-bottom: 1px solid var(--line);
  align-items: center;
  font-size: 13px;
  color: var(--fg-dim);
  cursor: pointer;
  transition: background 0.2s ease;
}
.th-row:last-child { border-bottom: none; }
.th-row.th-head {
  background: rgba(255,255,255,0.04);
  font-family: "Montserrat", sans-serif;
  font-weight: 500;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg-mute);
  cursor: default;
}
.th-row:not(.th-head):hover { background: rgba(255,255,255,0.04); }
.th-row.active { background: rgba(255,255,255,0.08); }
.th-row strong { color: var(--fg); font-weight: 500; font-size: 15px; }
@media (max-width: 720px) {
  .th-row { grid-template-columns: 1fr 1fr; padding: 14px 16px; }
  .th-row > div:nth-child(3) { display: none; }
}

/* ===== PQRS ===== */
.pqrs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
@media (max-width: 880px) { .pqrs-grid { grid-template-columns: repeat(2, 1fr); } }
.pqrs-card {
  padding: 28px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.02);
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 220px;
  transition: border-color 0.3s ease, transform 0.3s ease;
}
.pqrs-card:hover { border-color: var(--line-strong); transform: translateY(-3px); }
.pqrs-letter {
  font-family: "Montserrat", sans-serif;
  font-weight: 200;
  font-size: 64px;
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: var(--fg);
}
.pqrs-card h3 {
  font-family: "Montserrat", sans-serif;
  font-weight: 500;
  font-size: 18px;
  letter-spacing: -0.01em;
}
.pqrs-card p { font-size: 13px; color: var(--fg-dim); line-height: 1.55; margin-top: auto; }

/* ===== Aurora (overrides for non-hero placements) ===== */
.page-hero .aurora { position: absolute; inset: 0; }

/* ===== Responsive nav adjustments ===== */
@media (max-width: 1240px) {
  .nav-links { gap: 0; }
  .nav-links > a, .nav-drop-trigger { padding: 8px 10px; font-size: 12px; }
}

/* Ensure aside-link text isn't huge */
.aside-link { font-size: 14px; font-weight: 500; }
.aside-link .arrow { width: 12px; height: 12px; opacity: 0.7; }

/* Testimonio testimonial small additions */
.testi-stars { color: #ffd166; font-size: 13px; letter-spacing: 2px; margin-bottom: 4px; }
.testi-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  color: var(--fg-mute);
  margin-top: 12px;
  font-family: "Montserrat", sans-serif;
  font-weight: 500;
  letter-spacing: 0.04em;
}
.testi-link .arrow { width: 10px; height: 10px; }
.testi-link:hover { color: var(--fg); }
