/* ============================================================
   HelpyWeb 4.0 — sistema visual
   Premium Dark UI · Liquid Glass · bordes iridiscentes

   Capas:
   1. Tokens y base        6. Hero de la home (vídeo en bucle)
   2. Tipografía           7. Secciones de la home
   3. Superficies de cristal 8. Páginas interiores y bloques
   4. Botones              9. Formulario, footer, barra móvil
   5. Nav                 10. Apariciones (desenfoque estilo Apple)

   Movimiento reducido: IGNORADO a propósito (megaprompt, bloque 6).
   Tipografía: Inter (oficial) + Instrument Serif cursiva + Pinyon Script,
   las tres OFL y servidas desde el propio dominio.
   ============================================================ */

@font-face { font-family: 'Inter'; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url('../fonts/inter-latin-opsz.woff2') format('woff2'); }
@font-face { font-family: 'Instrument'; font-style: italic; font-weight: 400; font-display: swap;
  src: url('../fonts/instrument-serif-latin-400-italic.woff2') format('woff2'); }
@font-face { font-family: 'Pinyon'; font-style: normal; font-weight: 400; font-display: swap;
  src: url('../fonts/pinyon-script-latin-400-normal.woff2') format('woff2'); }

/* ── 1. TOKENS ─────────────────────────────────────────────── */
@property --ang { syntax: '<angle>'; initial-value: 0deg; inherits: false; }

:root {
  --bg: #05060a;
  --bg-2: #0a0c13;
  --bg-3: #10131c;
  --ink: #f5f7fb;
  --ink-2: rgba(245, 247, 251, 0.74);
  --ink-3: rgba(245, 247, 251, 0.52);
  --line: rgba(255, 255, 255, 0.09);
  --line-2: rgba(255, 255, 255, 0.16);
  --azul: #3b7eff;
  --azul-2: #7aabff;
  --azul-3: #1a52cc;
  --ok: #3ddc97;
  --ko: #ff6b81;
  --iri: conic-gradient(from var(--ang), #7aabff, #b28cff, #ff8fc7, #ffd59a, #8cf5dc, #7aabff);
  --glass: linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.025));
  --glass-strong: linear-gradient(180deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.05));
  --sombra: 0 30px 80px -30px rgba(0, 0, 0, 0.75);
  --brillo: inset 0 1px 0 rgba(255, 255, 255, 0.16), inset 0 -1px 0 rgba(255, 255, 255, 0.03);
  --r-xl: 34px;
  --r-lg: 26px;
  --r-md: 18px;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --serif: 'Instrument', 'Iowan Old Style', Georgia, serif;
  --script: 'Pinyon', 'Snell Roundhand', cursive;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --gutter: clamp(16px, 4vw, 48px);
  --max: 1240px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  font-feature-settings: 'ss01', 'cv11';
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
  text-rendering: optimizeLegibility;
}
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: rgba(122, 171, 255, 0.35); }
:focus-visible { outline: 2px solid var(--azul-2); outline-offset: 3px; border-radius: 8px; }

.skip { position: absolute; left: -9999px; top: 12px; z-index: 999; padding: 10px 18px; border-radius: 999px; background: #fff; color: #000; font-weight: 600; }
.skip:focus { left: 12px; }

/* Fondo de las páginas: auroras fijas en su propia capa (no repintan al hacer scroll) */
.aurora { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.aurora::before, .aurora::after { content: ''; position: absolute; border-radius: 50%; filter: blur(90px); opacity: 0.55; }
.aurora::before { width: 70vmax; height: 70vmax; left: -25vmax; top: -35vmax; background: radial-gradient(circle, rgba(59, 126, 255, 0.55), transparent 62%); }
.aurora::after { width: 60vmax; height: 60vmax; right: -25vmax; top: 20vh; background: radial-gradient(circle, rgba(178, 140, 255, 0.32), transparent 60%); }
.grano { position: fixed; inset: 0; z-index: 90; pointer-events: none; opacity: 0.05; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 240 240' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.container-narrow { width: 100%; max-width: 860px; margin: 0 auto; padding: 0 var(--gutter); }

/* ── 2. TIPOGRAFÍA ─────────────────────────────────────────── */
h1, h2, h3 { font-weight: 600; letter-spacing: -0.035em; line-height: 1.05; text-wrap: balance; }
h1 strong, h2 strong, .h-lvl2 strong { font-weight: 600; }
h1 em, h2 em, h3 em, .serif { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -0.01em; }
.h-lvl2, .section h2 { font-size: clamp(34px, 5vw, 60px); margin-bottom: 22px; }
.h-lvl3, .section h3 { font-size: clamp(21px, 2.2vw, 26px); letter-spacing: -0.025em; margin: 28px 0 10px; }
.tag, .eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.24em; text-transform: uppercase; color: var(--ink-3);
  margin-bottom: 18px;
}
.tag::before, .eyebrow::before { content: ''; width: 22px; height: 1px; background: currentColor; opacity: 0.7; }
.lede { font-size: clamp(18px, 1.6vw, 21px); color: var(--ink-2); max-width: 640px; line-height: 1.55; }
.lede-sm { color: var(--ink-2); font-size: 17px; }
.grad-text { background: linear-gradient(100deg, #ffffff 10%, var(--azul-2) 45%, #c4a8ff 70%, #ffffff 95%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }

/* ── 3. SUPERFICIES DE CRISTAL ─────────────────────────────── */
.glass-card, .lg {
  position: relative;
  background: var(--glass);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--brillo), var(--sombra);
  isolation: isolate;
}
/* Borde iridiscente: un anillo de 1 px recortado con máscara, girando */
.iri::before, .glass-card.iri::before, .price-card::before {
  content: ''; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; pointer-events: none;
  background: var(--iri);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  animation: girar 7s linear infinite; opacity: 0.85;
}
@keyframes girar { to { --ang: 360deg; } }
/* Luz que sigue al cursor sobre las tarjetas (la posición la pone helpy.js) */
.glass-card::after {
  content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: -1;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, -20%), rgba(122, 171, 255, 0.14), transparent 60%);
  opacity: 0; transition: opacity 0.5s var(--ease);
}
.glass-card:hover::after { opacity: 1; }

/* ── 4. BOTONES ────────────────────────────────────────────── */
.btn {
  --alto: 58px;
  position: relative; display: inline-flex; align-items: center; justify-content: space-between; gap: 18px;
  height: var(--alto); padding: 0 7px 0 26px; border-radius: 999px; border: 0; cursor: pointer;
  font-size: 16px; font-weight: 600; letter-spacing: -0.01em; white-space: nowrap;
  transition: transform 0.5s var(--ease), box-shadow 0.4s var(--ease), background 0.4s;
  will-change: transform; isolation: isolate;
}
.btn-content { display: inline-flex; align-items: center; gap: 10px; }
.btn-content svg { width: 18px; height: 18px; }
/* Círculo con flecha al final de cada botón (como en las plantillas Nácar/NIVEL) */
.btn::after {
  content: ''; flex: none; width: 44px; height: 44px; border-radius: 50%;
  background-repeat: no-repeat; background-position: center; background-size: 18px;
  transition: transform 0.5s var(--ease);
}
.btn:hover::after { transform: rotate(-45deg); }
.btn-primary { background: #fff; color: #05060a; box-shadow: 0 10px 40px -10px rgba(122, 171, 255, 0.55), inset 0 -2px 0 rgba(0, 0, 0, 0.08); }
.btn-primary::after { background-color: #05060a;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E"); }
.btn-ghost {
  background: var(--glass-strong); color: var(--ink);
  -webkit-backdrop-filter: blur(18px) saturate(160%); backdrop-filter: blur(18px) saturate(160%);
  box-shadow: var(--brillo), 0 10px 30px -12px rgba(0, 0, 0, 0.6);
}
.btn-ghost::before {
  content: ''; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none;
  background: var(--iri); animation: girar 7s linear infinite;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
}
.btn-ghost::after { background-color: rgba(255, 255, 255, 0.12); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E"); }
.btn-ghost[href^='#']::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 5v14M6 13l6 6 6-6'/%3E%3C/svg%3E"); }
.btn-ghost[href^='#']:hover::after { transform: translateY(2px); }
.btn-xl { --alto: 64px; font-size: 17px; }
.btn.ok { background: var(--ok); color: #03140c; }
.btn.ko { background: var(--ko); color: #1c0208; }
.btn:disabled { opacity: 0.75; cursor: progress; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-actions-center { justify-content: center; }
.text-link { color: var(--azul-2); border-bottom: 1px solid rgba(122, 171, 255, 0.4); transition: border-color 0.3s; }
.text-link:hover { border-color: var(--azul-2); }
/* Flecha de los enlaces de texto: sin esto el navegador la pintaba negra y enorme (un triángulo) */
.text-link { display: inline-flex; align-items: center; gap: 6px; }
.text-link svg { width: 1em; height: 1em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.4s var(--ease); }
.text-link:hover svg { transform: translateX(3px); }

/* ── 5. NAV ────────────────────────────────────────────────── */
#nav { position: fixed; top: 0; left: 0; right: 0; z-index: 80; padding: 18px var(--gutter); pointer-events: none; }
/* Al bajar, una franja que desenfoca y oscurece lo que pasa por debajo del nav
   (desenfoque progresivo: la máscara lo desvanece hacia abajo) */
#nav::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 130px; pointer-events: none; z-index: -1;
  background: linear-gradient(180deg, rgba(5, 6, 10, 0.88), rgba(5, 6, 10, 0.55) 55%, rgba(5, 6, 10, 0));
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  -webkit-mask: linear-gradient(180deg, #000 45%, transparent); mask: linear-gradient(180deg, #000 45%, transparent);
  opacity: 0; transition: opacity 0.5s var(--ease); }
#nav.is-scrolled::before { opacity: 1; }
.liquid-toolbar {
  max-width: 1320px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  pointer-events: auto; transition: transform 0.6s var(--ease);
}
/* Logo: blanco, sin caja azul, con una sombra leve para despegarlo del fondo */
.nav-logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 20px; letter-spacing: -0.03em; color: #fff; text-shadow: 0 1px 10px rgba(0, 0, 0, 0.35); }
.nav-logo-icon { display: grid; place-items: center; }
.nav-logo-icon img { width: 30px; height: 30px; filter: drop-shadow(0 1px 5px rgba(0, 0, 0, 0.4)); }
.nav-logo-name span { color: inherit; }

/* Liquid Glass (menú, teléfono y botón del menú móvil): cristal claro que
   desenfoca y satura lo de detrás, con un borde de luz arriba y otro más
   tenue abajo, y un brillo especular en la mitad superior. */
.nav-glass-pill, .nav-cta, .nav-mobile-toggle {
  position: relative; isolation: isolate;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0.05) 100%);
  border: 1px solid rgba(255, 255, 255, 0.24);
  -webkit-backdrop-filter: blur(10px) saturate(190%) brightness(1.08); backdrop-filter: blur(10px) saturate(190%) brightness(1.08);
  box-shadow:
    inset 0 1px 0.5px rgba(255, 255, 255, 0.7),
    inset 0 -1px 0.5px rgba(255, 255, 255, 0.2),
    inset 0 0 16px rgba(255, 255, 255, 0.1),
    0 10px 30px -10px rgba(0, 0, 0, 0.45);
}
.nav-glass-pill::before, .nav-cta::after, .nav-mobile-toggle::after {
  content: ''; position: absolute; inset: 1px; border-radius: inherit; pointer-events: none; z-index: -1;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.24) 0%, rgba(255, 255, 255, 0) 50%);
}
.nav-glass-pill { border-radius: 999px; padding: 5px; }
.nav-links { list-style: none; display: flex; gap: 2px; }
.nav-links a { display: block; padding: 9px 17px; border-radius: 999px; font-size: 14.5px; font-weight: 500; color: rgba(255, 255, 255, 0.92); text-shadow: 0 1px 6px rgba(0, 0, 0, 0.3); transition: color 0.3s, background 0.3s, box-shadow 0.3s; }
.nav-links a:hover { color: #fff; background: rgba(255, 255, 255, 0.12); }
/* Página actual: una gota de cristal más clara dentro del menú */
.nav-links a.is-active { color: #fff; background: rgba(255, 255, 255, 0.26); box-shadow: inset 0 1px 0.5px rgba(255, 255, 255, 0.7), 0 4px 14px -4px rgba(0, 0, 0, 0.35); }
.nav-cta { display: inline-flex; align-items: center; gap: 9px; height: 46px; padding: 0 18px 0 16px; border-radius: 999px; font-size: 14.5px; font-weight: 600; color: #fff; text-shadow: 0 1px 6px rgba(0, 0, 0, 0.3); transition: transform 0.5s var(--ease); }
.nav-cta svg { width: 16px; height: 16px; color: #fff; }
.nav-shimmer { display: none; }
.nav-mobile-toggle { display: none; width: 50px; height: 50px; border-radius: 50%; cursor: pointer; place-items: center; }
.nav-mobile-toggle span { position: absolute; left: 16px; right: 16px; height: 1.6px; background: var(--ink); border-radius: 2px; transition: transform 0.4s var(--ease), opacity 0.3s; }
.nav-mobile-toggle span:nth-child(1) { top: 18px; } .nav-mobile-toggle span:nth-child(2) { top: 24px; } .nav-mobile-toggle span:nth-child(3) { top: 30px; }
.nav-mobile-toggle[aria-expanded='true'] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-mobile-toggle[aria-expanded='true'] span:nth-child(2) { opacity: 0; }
.nav-mobile-toggle[aria-expanded='true'] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.liquid-mobile-panel {
  position: fixed; z-index: 79; top: 84px; left: 12px; right: 12px; padding: 14px; border-radius: 28px;
  background: rgba(10, 12, 19, 0.82); border: 1px solid var(--line-2);
  -webkit-backdrop-filter: blur(28px) saturate(170%); backdrop-filter: blur(28px) saturate(170%);
  box-shadow: var(--brillo), var(--sombra);
  display: grid; gap: 2px; opacity: 0; transform: translateY(-12px) scale(0.98); filter: blur(8px); pointer-events: none; visibility: hidden;
  transition: opacity 0.45s var(--ease), transform 0.45s var(--ease), filter 0.45s var(--ease), visibility 0s 0.45s;
}
.liquid-mobile-panel.open { opacity: 1; transform: none; filter: none; pointer-events: auto; visibility: visible; transition-delay: 0s; }
.liquid-mobile-panel a { padding: 14px 16px; border-radius: 16px; font-size: 17px; font-weight: 500; }
.liquid-mobile-panel a:hover { background: rgba(255, 255, 255, 0.06); }
.liquid-mobile-panel .nav-cta { margin-top: 8px; justify-content: center; height: 54px; }

/* ── 6. HERO DE LA HOME — vídeo en bucle ───────────────────── */
/* Sin marco: el vídeo va de borde a borde. El contenido es una COLUMNA de
   tres zonas (palabra gigante · hueco para el objeto del vídeo · titular):
   cada una ocupa su sitio, así que no pueden pisarse en ningún tamaño. */
.hero { height: 100svh; min-height: 460px; display: flex; }   /* alto FIJO = la ventana: el contenido se adapta a ella, nunca la desborda */
.hero-frame {
  position: relative; flex: 1; overflow: hidden; isolation: isolate;
  display: flex; flex-direction: column;
  padding: clamp(84px, 12vh, 132px) clamp(24px, 5vw, 80px) clamp(22px, 5vh, 64px);
  background: #0d1424;   /* sin imagen fija: decisión suya, se ve directamente el vídeo */
}
.hero-medio { position: relative; z-index: 5; flex: 1; min-height: 52px; }
/* Capas, de atrás adelante (z): vídeo 0 · lienzo fondo 0 · «IMAGEN» 1 ·
   lienzo frente 2 · sombra 3 · «lo es todo» 4 · titular y botones 5.
   El vídeo apila color (arriba) y máscara (abajo): en una caja del doble
   de alto, alineada arriba, solo asoma la mitad de color. */
.hv { position: absolute; inset: 0; overflow: hidden; z-index: 0; }
.hero-video { position: absolute; left: 0; top: 0; width: 100%; height: 200%; object-fit: cover; object-position: 50% 0; }
.hero-frente { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; opacity: 0; transition: opacity 0.4s; }
.hero-frente { z-index: 2; }
/* Modo WebCodecs (helpy.js §2): el vídeo se pinta en .hero-fondo y el <video> no se usa */
.hero-fondo { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; opacity: 0; transition: opacity 0.4s; }
.con-codecs .hero-fondo { opacity: 1; }
.con-codecs .hv { visibility: hidden; }
.con-capas .hero-frente { opacity: 1; }
/* Sombras para leer: arriba (nav), abajo-izquierda (titular) */
.hero-shade { position: absolute; inset: 0; z-index: 3; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(5, 6, 10, 0.32) 0%, rgba(5, 6, 10, 0) 18%),
    linear-gradient(0deg, rgba(5, 6, 10, 0.8) 0%, rgba(5, 6, 10, 0.45) 26%, rgba(5, 6, 10, 0) 50%),
    radial-gradient(ellipse 60% 50% at 0% 100%, rgba(5, 6, 10, 0.45), transparent 70%); }

/* Palabra gigante en el cielo + caligrafía que la cruza (zona de arriba) */
.hero-giant { position: relative; text-align: center; pointer-events: none; user-select: none; line-height: 0.8; }
.hg-tu { position: relative; z-index: 1; display: block; font-size: clamp(11px, 1vw, 14px); font-weight: 600; letter-spacing: 0.6em; text-indent: 0.6em; color: rgba(255, 255, 255, 0.85); margin-bottom: clamp(8px, 1vw, 16px); text-shadow: 0 1px 12px rgba(0, 0, 0, 0.25); }
.hg-rigid {
  position: relative; z-index: 1; display: block; font-weight: 800; font-size: clamp(48px, min(11.5vw, 16vh), 200px); letter-spacing: -0.06em;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92) 0%, rgba(255, 255, 255, 0.55) 55%, rgba(255, 255, 255, 0.12) 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 10px 40px rgba(12, 30, 80, 0.18));
}
.hg-script {
  position: relative; z-index: 4; display: inline-block; margin-top: -0.22em; left: 9vw; transform: rotate(-6deg);
  font-family: var(--script); font-size: clamp(28px, min(5.4vw, 7.6vh), 96px); color: #fff; letter-spacing: 0; line-height: 1;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.35);
}

.hero-copy { position: relative; z-index: 5; max-width: 660px; margin-top: 10px; }
.hero-h1 { font-size: clamp(28px, min(4vw, 7vh), 62px); letter-spacing: -0.045em; line-height: 1.02; font-weight: 600; text-shadow: 0 2px 30px rgba(0, 0, 0, 0.35); }
.hero-h1 em { font-size: 1.08em; }
.hero-h1 .precio { white-space: nowrap; }
.hero-h1 sup, .ast { font-size: 0.42em; vertical-align: super; color: var(--azul-2); font-weight: 600; margin-left: 2px; }
.hero-h1 small { font-size: 0.34em; font-weight: 500; letter-spacing: 0; color: rgba(255, 255, 255, 0.8); vertical-align: 0.9em; margin-left: 6px; }
.hero-sub { margin-top: clamp(8px, 1.6vh, 16px); max-width: 520px; font-size: clamp(16px, 1.25vw, 19px); color: rgba(255, 255, 255, 0.86); line-height: 1.5; }
.hero-copy .hero-actions { margin-top: clamp(14px, 2.8vh, 28px); }
.hero-foot { margin-top: clamp(8px, 1.8vh, 22px); font-size: 12.5px; color: rgba(255, 255, 255, 0.58); max-width: 470px; line-height: 1.5; }
.hero-foot .ast { font-size: 1em; vertical-align: baseline; margin-right: 4px; }

/* Entrada del hero (al cargar, no al hacer scroll) */
.hero [data-in] { opacity: 0; transform: translateY(26px) scale(0.985); filter: blur(14px); animation: entrar 1.3s var(--ease) forwards; animation-delay: var(--t, 0.1s); }
.hero .hg-script[data-in] { transform: rotate(-6deg) translateY(26px); animation-name: entrar-script; }
@keyframes entrar { to { opacity: 1; transform: none; filter: none; } }
@keyframes entrar-script { to { opacity: 1; transform: rotate(-6deg); filter: none; } }

/* ── 7. SECCIONES DE LA HOME ───────────────────────────────── */
.section { position: relative; padding: clamp(90px, 13vw, 170px) 0; }
.section-alt { background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.018) 20%, rgba(255, 255, 255, 0.018) 80%, transparent); }
.section-title { max-width: 820px; margin-bottom: clamp(40px, 6vw, 70px); }
.section-title.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-title.center .tag { justify-content: center; }
.section-title p { color: var(--ink-2); font-size: clamp(17px, 1.5vw, 20px); margin-top: 6px; }

/* 50 milisegundos */
.ms { text-align: center; }
.ms-num { font-size: clamp(110px, 24vw, 340px); font-weight: 800; letter-spacing: -0.07em; line-height: 0.85;
  background: linear-gradient(180deg, #fff 20%, rgba(122, 171, 255, 0.55) 70%, rgba(122, 171, 255, 0) 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.ms-num span { font-size: 0.32em; letter-spacing: -0.03em; }
.ms h2 { font-size: clamp(30px, 4.4vw, 54px); margin: 10px auto 18px; max-width: 900px; }
.ms p { color: var(--ink-2); max-width: 640px; margin: 0 auto; font-size: clamp(17px, 1.5vw, 20px); }
.ms .fuente { margin-top: 22px; font-size: 13px; color: var(--ink-3); }

/* Antes / después */
.cmp { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.cmp-col { padding: clamp(26px, 3vw, 40px); }
.cmp-col h3 { display: flex; align-items: center; gap: 12px; font-size: 22px; margin: 0 0 22px; }
.cmp-col h3 i { width: 10px; height: 10px; border-radius: 50%; }
.cmp-bad h3 i { background: #ffb15a; box-shadow: 0 0 12px #ffb15a; }
.cmp-good h3 i { background: var(--ok); box-shadow: 0 0 12px var(--ok); }
.cmp-col ul { list-style: none; display: grid; gap: 4px; }
.cmp-col li { display: flex; gap: 14px; padding: 14px 0; border-top: 1px solid var(--line); color: var(--ink-2); }
.cmp-col li svg { flex: none; width: 20px; height: 20px; margin-top: 3px; fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.cmp-bad li svg { stroke: rgba(255, 177, 90, 0.85); }
.cmp-good li svg { stroke: var(--ok); }
.cmp-good { background: linear-gradient(180deg, rgba(59, 126, 255, 0.14), rgba(59, 126, 255, 0.03)); }
.cmp-good li { color: var(--ink); }

/* Tecnología: palabra gigante detrás de tarjetas de cristal */
.tec { overflow: hidden; }
.tec-escena { --tp: clamp(84px, 16vw, 250px); position: relative; padding-top: calc(var(--tp) * 0.5); }
.tec-palabra { position: absolute; left: 50%; top: 0; transform: translateX(-50%); white-space: nowrap; pointer-events: none; user-select: none;
  font-size: var(--tp); font-weight: 800; letter-spacing: -0.065em; line-height: 1; color: rgba(255, 255, 255, 0.92); }
.tec-estilos { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.tec-estilo {
  padding: 28px 26px 26px; min-height: 210px; display: flex; flex-direction: column; justify-content: flex-end;
  background: linear-gradient(180deg, rgba(20, 23, 34, 0.38), rgba(10, 12, 19, 0.7));
  -webkit-backdrop-filter: blur(26px) saturate(150%); backdrop-filter: blur(26px) saturate(150%);
}
.tec-estilo .te-n { position: absolute; top: 22px; left: 26px; font-size: 12px; letter-spacing: 0.2em; color: var(--ink-3); }
.tec-estilo .te-ico { position: absolute; top: 18px; right: 18px; width: 54px; height: 54px; border-radius: 18px; display: grid; place-items: center;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.03)); box-shadow: var(--brillo), 0 10px 30px -10px rgba(0, 0, 0, 0.7); }
.tec-estilo .te-ico svg { width: 24px; height: 24px; stroke: #fff; fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.tec-estilo h3 { font-size: 23px; margin: 0 0 8px; }
.tec-estilo p { color: var(--ink-2); font-size: 15.5px; line-height: 1.5; }
.tec-herr { margin-top: 18px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; border-radius: var(--r-lg); overflow: hidden; background: var(--line); border: 1px solid var(--line); }
.tec-herr > div { background: var(--bg-2); padding: 22px 22px 24px; transition: background 0.4s; }
.tec-herr > div:hover { background: var(--bg-3); }
.tec-herr strong { display: block; font-size: 16.5px; font-weight: 600; letter-spacing: -0.015em; margin-bottom: 4px; }
.tec-herr span { font-size: 14.5px; color: var(--ink-3); line-height: 1.45; display: block; }
.tec-nota { margin-top: 22px; font-size: 14px; color: var(--ink-3); text-align: center; }

/* Precio */
.precio-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 18px; align-items: stretch; }
.price-card { padding: clamp(30px, 3.4vw, 46px); display: flex; flex-direction: column; }
.price-card.featured { background: linear-gradient(170deg, rgba(59, 126, 255, 0.2), rgba(59, 126, 255, 0.04) 60%); }
.price-badge { align-self: flex-start; padding: 7px 14px; border-radius: 999px; font-size: 12px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; background: #fff; color: #05060a; margin-bottom: 22px; }
.price-name { font-size: 15px; font-weight: 600; color: var(--ink-2); letter-spacing: 0.02em; }
.price-for { font-size: 15px; color: var(--ink-3); margin-top: 4px; }
.price-amount { display: flex; align-items: baseline; gap: 10px; margin: 18px 0 4px; font-size: clamp(64px, 8vw, 104px); font-weight: 700; letter-spacing: -0.06em; line-height: 1; }
.price-amount small { font-size: 17px; font-weight: 500; letter-spacing: 0; color: var(--ink-2); }
.price-monthly { color: var(--ink-3); font-size: 14.5px; margin-bottom: 26px; }
.price-list { list-style: none; display: grid; gap: 2px; margin-bottom: 30px; }
.price-list li { display: flex; gap: 12px; padding: 11px 0; border-top: 1px solid var(--line); color: var(--ink-2); font-size: 16px; }
.price-list li strong { color: var(--ink); font-weight: 600; }
.price-list svg { flex: none; width: 19px; height: 19px; margin-top: 3px; fill: none; stroke: var(--azul-2); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.price-card .btn { margin-top: auto; align-self: flex-start; }
.extras { margin-top: 18px; padding: 26px 28px; display: grid; grid-template-columns: auto 1fr; gap: 10px 28px; align-items: center; }
.extras h3 { margin: 0; font-size: 18px; }
.extras ul { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.extras li { padding: 8px 14px; border-radius: 999px; background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line); font-size: 14.5px; color: var(--ink-2); }
.extras p { grid-column: 1 / -1; font-size: 14.5px; color: var(--ink-3); }

/* Pasos */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: paso; }
.step { padding: 32px 28px; }
.step-n { font-family: var(--serif); font-style: italic; font-size: 54px; line-height: 1; color: var(--azul-2); margin-bottom: 26px; }
.step h3 { margin: 0 0 10px; font-size: 23px; }
.step p { color: var(--ink-2); font-size: 16px; }

/* ── 8. PÁGINAS INTERIORES Y BLOQUES ───────────────────────── */
.page-hero { position: relative; padding: clamp(150px, 20vw, 220px) 0 clamp(60px, 8vw, 100px); overflow: hidden; }
.page-hero::before { content: ''; position: absolute; inset: 0; pointer-events: none; z-index: -1;
  background:
    radial-gradient(ellipse 60% 80% at 85% 0%, rgba(178, 140, 255, 0.22), transparent 60%),
    radial-gradient(ellipse 70% 90% at 10% 10%, rgba(59, 126, 255, 0.28), transparent 60%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent);
  -webkit-mask: linear-gradient(180deg, #000 60%, transparent); mask: linear-gradient(180deg, #000 60%, transparent); }
.page-hero h1 { font-size: clamp(42px, 6.4vw, 88px); letter-spacing: -0.05em; max-width: 1000px; margin-bottom: 26px; }
.page-hero h1 strong { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -0.015em; }
.breadcrumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 14px; color: var(--ink-3); margin-bottom: 26px; }
.breadcrumbs a:hover { color: var(--ink); }
.breadcrumbs .sep { opacity: 0.5; }

.prose { color: var(--ink-2); font-size: 18px; }
.prose p + p, .prose p + ul, .prose ul + p, .prose p + ol, .prose ol + p { margin-top: 18px; }
.prose strong { color: var(--ink); font-weight: 600; }
.prose a { color: var(--azul-2); border-bottom: 1px solid rgba(122, 171, 255, 0.35); }
.prose ul, .prose ol { padding-left: 22px; display: grid; gap: 8px; }
.prose li::marker { color: var(--azul-2); }
.section .prose + .h-lvl2, .section .prose + h2, .card-grid + .h-lvl2, .answer-box + .h-lvl2 { margin-top: 70px; }
.answer-box { position: relative; margin: 6px 0 34px; padding: 26px 30px; border-radius: var(--r-md); background: linear-gradient(170deg, rgba(59, 126, 255, 0.16), rgba(59, 126, 255, 0.03)); border: 1px solid rgba(122, 171, 255, 0.28); font-size: 18px; color: var(--ink-2); }
.answer-box strong { color: var(--ink); }

.card-grid, .card-grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 16px; margin: 30px 0; }
.card-grid-2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.feat-card { padding: 28px 26px; }
.feat-card h3 { font-size: 20px; margin: 18px 0 8px; letter-spacing: -0.02em; }
.feat-card p { color: var(--ink-2); font-size: 15.5px; line-height: 1.55; }
.feat-card-icon { width: 50px; height: 50px; border-radius: 16px; display: grid; place-items: center; background: linear-gradient(160deg, rgba(122, 171, 255, 0.28), rgba(122, 171, 255, 0.05)); box-shadow: var(--brillo); }
.feat-card-icon svg { width: 22px; height: 22px; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.feat-num { font-family: var(--serif); font-style: italic; font-size: 44px; color: var(--azul-2); line-height: 1; }

.link-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 10px; margin-top: 26px; }
.link-card { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 18px 22px; border-radius: var(--r-md); background: var(--glass); border: 1px solid var(--line); font-weight: 500; transition: border-color 0.4s, transform 0.5s var(--ease), background 0.4s; }
.link-card svg { width: 18px; height: 18px; fill: none; stroke: var(--azul-2); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.5s var(--ease); }
.link-card:hover { border-color: var(--line-2); background: var(--glass-strong); }
.link-card:hover svg { transform: translateX(4px); }

.faq-list { display: grid; gap: 10px; }
.faq-item { border-radius: var(--r-md); background: var(--glass); border: 1px solid var(--line); transition: border-color 0.4s, background 0.4s; }
.faq-item[open] { border-color: var(--line-2); background: var(--glass-strong); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 18px; align-items: center; padding: 22px 26px; font-weight: 600; font-size: 17.5px; letter-spacing: -0.015em; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: ''; flex: none; width: 30px; height: 30px; border-radius: 50%; background: rgba(255, 255, 255, 0.07) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 14px no-repeat; transition: transform 0.5s var(--ease); }
.faq-item[open] summary::after { transform: rotate(135deg); }
.faq-body { padding: 0 26px 24px; color: var(--ink-2); }
.faq-more { margin-top: 24px; text-align: center; }

.case-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 18px; }
.case-card { overflow: hidden; display: flex; flex-direction: column; transition: transform 0.7s var(--ease); }
.case-card:hover { transform: translateY(-6px); }
.case-img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-bottom: 1px solid var(--line); transition: transform 1.2s var(--ease); }
.case-card:hover .case-img { transform: scale(1.04); }
.case-body { padding: 24px 24px 26px; }
.case-sector { font-size: 12px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--azul-2); margin-bottom: 8px; }
.case-body h3 { font-size: 22px; margin: 0 0 8px; }
.case-body p { color: var(--ink-2); font-size: 15.5px; }
.case-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.case-tag { padding: 5px 11px; border-radius: 999px; font-size: 12.5px; background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line); color: var(--ink-2); }

.post-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; }
.post-card { display: flex; flex-direction: column; padding: 28px; transition: transform 0.6s var(--ease); }
.post-card:hover { transform: translateY(-4px); }
.post-meta { font-size: 13px; color: var(--ink-3); margin-bottom: 12px; }
.post-card h3 { font-size: 22px; margin: 0 0 10px; }
.post-card p { color: var(--ink-2); font-size: 15.5px; flex: 1; }
.post-more { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; color: var(--azul-2); font-weight: 600; font-size: 15px; }
.post-more svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; }

/* Banda CTA */
.cta-band { padding: 40px 0 clamp(80px, 10vw, 130px); }
.cta-band-inner { position: relative; text-align: center; padding: clamp(50px, 7vw, 90px) clamp(24px, 5vw, 70px); border-radius: var(--r-xl); overflow: hidden; isolation: isolate;
  background: radial-gradient(ellipse 80% 120% at 50% 0%, rgba(59, 126, 255, 0.35), transparent 65%), var(--bg-2); border: 1px solid var(--line-2); }
.cta-band-inner::before { content: ''; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; background: var(--iri); animation: girar 8s linear infinite; pointer-events: none;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0.7; }
.cta-band h2 { font-size: clamp(34px, 5vw, 64px); max-width: 860px; margin: 0 auto 18px; }
.cta-band p { color: var(--ink-2); max-width: 600px; margin: 0 auto; font-size: 18px; }
.cta-band .hero-actions { justify-content: center; }

/* ── 9. FORMULARIO, FOOTER, BARRA MÓVIL ────────────────────── */
.section-contact { padding-top: clamp(70px, 9vw, 120px); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(30px, 6vw, 80px); align-items: start; }
.h-contact { font-size: clamp(36px, 4.6vw, 58px); }
.h-contact strong { font-family: var(--serif); font-style: italic; font-weight: 400; }
.contact-tel { display: inline-flex; align-items: center; gap: 16px; margin-top: 30px; padding: 12px 24px 12px 12px; border-radius: 999px; background: var(--glass); border: 1px solid var(--line-2); font-size: 22px; font-weight: 600; letter-spacing: -0.02em; transition: border-color 0.4s; }
.contact-tel:hover { border-color: rgba(122, 171, 255, 0.5); }
.contact-tel small { display: block; font-size: 12.5px; font-weight: 500; color: var(--ink-3); letter-spacing: 0; }
.contact-tel-ico { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(160deg, #4f8dff, #1a52cc); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4); }
.contact-tel-ico svg { width: 22px; height: 22px; color: #fff; }
.contact-trust { list-style: none; margin-top: 30px; display: grid; gap: 12px; color: var(--ink-2); }
.contact-trust li { display: flex; gap: 12px; }
.contact-trust li::before { content: ''; flex: none; width: 20px; height: 20px; margin-top: 3px; border-radius: 50%; background: rgba(61, 220, 151, 0.15) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233ddc97' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat; }
.form-card { padding: clamp(26px, 3.4vw, 40px); display: grid; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-field { display: grid; gap: 7px; }
.form-field label { font-size: 13.5px; font-weight: 600; color: var(--ink-2); }
.form-field .opt { font-weight: 400; color: var(--ink-3); }
.form-field input, .form-field select, .form-field textarea {
  width: 100%; padding: 15px 18px; border-radius: 16px; border: 1px solid var(--line-2); background: rgba(0, 0, 0, 0.28);
  font-size: 16px; transition: border-color 0.3s, background 0.3s, box-shadow 0.3s; outline: none;
}
.form-field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; background-size: 16px; padding-right: 44px; }
.form-field select option { background: var(--bg-2); }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { border-color: var(--azul-2); background: rgba(0, 0, 0, 0.4); box-shadow: 0 0 0 4px rgba(59, 126, 255, 0.18); }
.form-field .is-bad, .form-field input.is-bad { border-color: var(--ko); }
.form-field textarea { resize: vertical; min-height: 96px; }
.form-consent { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--ink-2); }
.form-consent input { flex: none; width: 20px; height: 20px; margin-top: 2px; accent-color: var(--azul); }
.form-consent a { color: var(--azul-2); text-decoration: underline; }
.f-submit { width: 100%; }
.f-note { font-size: 13.5px; color: var(--ink-3); text-align: center; }
.hp-wrap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
#ct-fallback { width: 100%; }

footer { position: relative; margin-top: 40px; padding: clamp(70px, 9vw, 110px) var(--gutter) 120px; border-top: 1px solid var(--line); background: linear-gradient(180deg, var(--bg-2), var(--bg)); }
.ft-call { max-width: var(--max); margin: 0 auto clamp(60px, 8vw, 90px); text-align: center; }
.ft-call-kicker { font-family: var(--script); font-size: clamp(40px, 5vw, 64px); color: var(--azul-2); line-height: 1; margin-bottom: 4px; }
.ft-call-num { display: inline-block; font-size: clamp(44px, 8.5vw, 120px); font-weight: 700; letter-spacing: -0.055em; line-height: 1.05; transition: opacity 0.3s; }
.ft-call-num:hover { opacity: 0.8; }
.ft-call-sub { color: var(--ink-3); margin-top: 10px; }
.ft-grid { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 46px; }
.ft-grid-2 { border-top: 1px solid var(--line); padding-top: 46px; }
.ft-logo { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 19px; letter-spacing: -0.03em; margin-bottom: 16px; }
.ft-logo-icon { display: grid; place-items: center; }
.ft-logo-icon img { width: 28px; height: 28px; filter: drop-shadow(0 1px 5px rgba(0, 0, 0, 0.4)); }
.ft-logo-name span { color: inherit; }
.ft-desc { color: var(--ink-3); font-size: 15px; max-width: 360px; }
.ft-col { display: grid; gap: 10px; align-content: start; font-size: 15px; }
.ft-col a, .ft-col address { color: var(--ink-2); font-style: normal; transition: color 0.3s; }
.ft-col a:hover { color: var(--ink); }
.ft-h { font-size: 12px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 6px; }
.ft-bot { max-width: var(--max); margin: 0 auto; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; padding-top: 28px; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--ink-3); }
.ft-bot div { display: flex; flex-wrap: wrap; gap: 18px; }
.ft-bot a:hover, .ft-link-btn:hover { color: var(--ink); }
.ft-link-btn { background: none; border: 0; cursor: pointer; color: inherit; font-size: inherit; }

/* WhatsApp: botón de cristal (como en las plantillas) */
.wa-fab { position: fixed; right: 20px; bottom: 22px; z-index: 70; width: 62px; height: 62px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255, 255, 255, 0.12); border: 1px solid rgba(255, 255, 255, 0.28);
  -webkit-backdrop-filter: blur(20px) saturate(170%); backdrop-filter: blur(20px) saturate(170%);
  box-shadow: var(--brillo), 0 14px 40px -10px rgba(0, 0, 0, 0.7);
  transition: transform 0.5s var(--ease), opacity 0.4s; }
.wa-fab svg { fill: #25d366; width: 28px; height: 28px; }
.wa-fab:hover { transform: scale(1.06); }
.ver-contacto .wa-fab { opacity: 0; transform: scale(0.8); pointer-events: none; }

.mob-cta-bar { display: none; }

#cookie-banner { position: fixed; right: 96px; bottom: 22px; z-index: 95; max-width: 430px; padding: 20px 22px; border-radius: 22px; font-size: 14px; color: var(--ink-2);
  background: rgba(12, 14, 22, 0.85); border: 1px solid var(--line-2); -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px); box-shadow: var(--brillo), var(--sombra); }
#cookie-banner[hidden] { display: none; }
#cookie-banner a { color: var(--azul-2); text-decoration: underline; }
.cookie-btns { display: flex; gap: 8px; margin-top: 14px; }
.cookie-btns button { flex: 1; height: 44px; border-radius: 999px; border: 1px solid var(--line-2); cursor: pointer; font-weight: 600; font-size: 14px; }
.cookie-reject { background: transparent; }
.cookie-accept { background: #fff; color: #05060a; border-color: #fff; }

/* ── 10. APARICIONES: desenfoque + subida, curva de Apple ──── */
.js .rv { opacity: 0; transform: translateY(34px) scale(0.985); filter: blur(12px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease), filter 1.1s var(--ease); transition-delay: var(--d, 0s); }
.js .rv.in { opacity: 1; transform: none; filter: none; }

/* ── RESPONSIVE ────────────────────────────────────────────── */
@media (max-width: 1080px) {
  .nav-glass-pill { display: none; }
  .tec-estilos { grid-template-columns: repeat(2, 1fr); }
  .tec-herr { grid-template-columns: repeat(2, 1fr); }
  .ft-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .cmp, .precio-grid, .contact-grid, .steps { grid-template-columns: 1fr; }
  .extras { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  body { font-size: 16.5px; }
  #nav { padding: 12px 14px; }
  .nav-tel { display: none; }
  .nav-mobile-toggle { display: grid; }
  .nav-logo-icon { width: 38px; height: 38px; }
  .hero-frame { padding: 88px 22px calc(96px + env(safe-area-inset-bottom)); }   /* abajo: el sitio de la barra de botones */
  .hero-medio { min-height: 52px; }
  .hg-tu { margin-bottom: 10px; font-size: 11px; }
  .hg-rigid { font-size: min(21.5vw, 12vh); }
  .en-hero .wa-fab { opacity: 0; transform: scale(0.8); pointer-events: none; }
  .hg-script { font-size: min(14vw, 7.6vh); left: 10vw; margin-top: -0.2em; }
  .hero-h1 { font-size: clamp(28px, min(9vw, 5.4vh), 42px); }
  .hero-sub { font-size: 15px; margin-top: 10px; }
  .hero-copy .hero-actions { display: none; }
  .hero-foot { font-size: 11.5px; margin-top: 10px; }
  .tec-estilos, .tec-herr { grid-template-columns: 1fr; }
  .tec-estilo { min-height: 0; padding-top: 86px; }
  .form-row { grid-template-columns: 1fr; }
  .ft-grid { grid-template-columns: 1fr; gap: 30px; }
  .btn { --alto: 56px; }
  .hero-actions .btn { width: 100%; }
  /* Barra de dos botones de cristal abajo, como en las plantillas */
  .mob-cta-bar { position: fixed; left: 10px; right: 10px; bottom: 10px; z-index: 75; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 7px; border-radius: 999px;
    background: rgba(12, 14, 22, 0.5); border: 1px solid rgba(255, 255, 255, 0.22);
    -webkit-backdrop-filter: blur(22px) saturate(170%); backdrop-filter: blur(22px) saturate(170%); box-shadow: var(--brillo), 0 16px 40px -12px rgba(0, 0, 0, 0.8);
    padding-bottom: max(7px, env(safe-area-inset-bottom)); }
  .mob-cta-bar a { height: 54px; border-radius: 999px; display: flex; align-items: center; justify-content: center; gap: 8px; font-weight: 600; font-size: 16px; }
  .mob-cta-bar svg { width: 18px; height: 18px; }
  .mbar-primary { background: #fff; color: #05060a; }
  .mbar-ghost { background: rgba(255, 255, 255, 0.1); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2); }
  .wa-fab { bottom: 92px; right: 14px; width: 56px; height: 56px; }
  #cookie-banner { left: 10px; right: 10px; bottom: 86px; max-width: none; }
  footer { padding-bottom: 140px; }
}

/* ── Muestras: capturas en marco de navegador de cristal ───── */
.muestras { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.muestra { overflow: hidden; padding: 0; transition: transform 0.8s var(--ease); }
.muestra:hover { transform: translateY(-6px); }
.muestra-barra { display: flex; gap: 7px; padding: 13px 16px; border-bottom: 1px solid var(--line); background: rgba(255, 255, 255, 0.03); }
.muestra-barra i { width: 11px; height: 11px; border-radius: 50%; background: rgba(255, 255, 255, 0.16); }
.muestra img { width: 100%; height: auto; aspect-ratio: 1200 / 741; object-fit: cover; transition: transform 1.4s var(--ease); }
.muestra:hover img { transform: scale(1.03); }
.muestra figcaption { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 14px; padding: 18px 22px 20px; border-top: 1px solid var(--line); }
.muestra figcaption span { font-size: 12px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--azul-2); }
.muestra figcaption strong { font-size: 20px; font-weight: 600; letter-spacing: -0.02em; }
.muestra figcaption em { margin-left: auto; font-style: normal; font-size: 13px; color: var(--ink-3); }
.center { text-align: center; }
.muestras-mas, .faq-more { margin-top: 30px; }
cite { font-style: italic; }
@media (max-width: 860px) { .muestras { grid-template-columns: 1fr; } }
.tag .ast { font-size: 1.5em; vertical-align: -0.2em; margin: 0; }
.answer-precio { max-width: 860px; margin: -20px auto 40px; text-align: center; }
/* Ventanas muy bajas: la letra pequeña del hero se oculta antes que dejar
   los botones fuera (el «+ IVA» ya va junto al precio en el titular) */
@media (max-height: 620px) { .hero-foot { display: none; } }
@media (max-width: 720px) and (max-height: 600px) { .hero-sub { display: none; } }

/* «TU IMAGEN lo es todo» baja en el plano del ordenador viejo (la colina y el
   ordenador le quedan delante) y sube con el latigazo de cámara hasta quedar
   detrás del MacBook. Se usa «translate» y no «transform»: no choca con la
   animación de entrada y no crea un contexto de apilado (si lo creara, la
   caligrafía dejaría de pasar por delante del ordenador). */
.hg-tu, .hg-rigid, .hg-script { translate: 0 0; transition: translate 0.55s cubic-bezier(0.65, 0, 0.35, 1); }
.plano-retro .hg-tu, .plano-retro .hg-rigid, .plano-retro .hg-script { translate: 0 var(--baja, 0px); }

/* ── Antes / después: comparador arrastrable con capturas reales ───── */
.ba-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }   /* las tres iguales y en fila: ninguna se sale de la pantalla */
.ba { padding: 0; overflow: hidden; }
.ba-marco { position: relative; aspect-ratio: 16 / 10; overflow: hidden; cursor: ew-resize; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.ba-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top center; pointer-events: none; -webkit-user-drag: none; }
.ba-antes { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba-antes .ba-img { filter: saturate(0.85); }
.ba-et { position: absolute; top: 14px; z-index: 2; padding: 7px 13px; border-radius: 999px; font-size: 13px; font-weight: 600; color: #fff; pointer-events: none;
  background: rgba(10, 12, 19, 0.45); border: 1px solid rgba(255, 255, 255, 0.25); -webkit-backdrop-filter: blur(12px) saturate(160%); backdrop-filter: blur(12px) saturate(160%);
  box-shadow: inset 0 1px 0.5px rgba(255, 255, 255, 0.5); transition: opacity 0.3s; }
.ba-et-a { left: 14px; }
.ba-et-d { right: 14px; }
.ba-marco[data-lado='antes'] .ba-et-d, .ba-marco[data-lado='despues'] .ba-et-a { opacity: 0.35; }
.ba-asa { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; z-index: 3; background: rgba(255, 255, 255, 0.9); box-shadow: 0 0 18px rgba(0, 0, 0, 0.45); outline: none; }
.ba-asa span { position: absolute; top: 50%; left: 50%; width: 52px; height: 52px; margin: -26px 0 0 -26px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 6l-6 6 6 6M15 6l6 6-6 6'/%3E%3C/svg%3E") center / 22px no-repeat;
  border: 1px solid rgba(255, 255, 255, 0.6); -webkit-backdrop-filter: blur(10px) saturate(180%); backdrop-filter: blur(10px) saturate(180%);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.7), 0 8px 24px rgba(0, 0, 0, 0.4); transition: transform 0.3s var(--ease); }
.ba-marco:hover .ba-asa span, .ba-asa:focus-visible span { transform: scale(1.08); }
.ba-asa:focus-visible span { outline: 2px solid var(--azul-2); outline-offset: 3px; }
.ba figcaption { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; padding: 16px 22px 18px; border-top: 1px solid var(--line); }
.ba figcaption strong { font-size: 17px; font-weight: 600; letter-spacing: -0.02em; }
.ba figcaption span { font-size: 14px; color: var(--ink-3); }
@media (max-width: 860px) { .ba-grid { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; } .ba-et { font-size: 12px; top: 10px; } .ba-et-a { left: 10px; } .ba-et-d { right: 10px; } }

/* ── Nuestras webs: mosaico de 5 (dos grandes arriba, tres abajo) ── */
.trabajos { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.trabajo { grid-column: span 2; padding: 0; overflow: hidden; transition: transform 0.8s var(--ease); }
.trabajo:nth-child(-n+2) { grid-column: span 3; }
.trabajo:hover { transform: translateY(-6px); }
.trabajo img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: top center; transition: transform 1.4s var(--ease); }
.trabajo:hover img { transform: scale(1.03); }
.trabajo figcaption { padding: 14px 20px 16px; border-top: 1px solid var(--line); font-size: 12px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--azul-2); }
@media (max-width: 860px) { .trabajos { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; } .trabajo, .trabajo:nth-child(-n+2) { grid-column: auto; } }
/* Una sola web de muestra dentro de una página de sector */
.trabajo-solo { max-width: 920px; margin: 10px auto 0; }

/* ══ GALERÍA 3D «Así quedan las webs que hacemos» ═══════════════════
   Sin JS: .anillo no existe a efectos de maquetación (display: contents)
   y queda el mosaico. Con JS (.en-3d): anillo en perspectiva que gira. */
.anillo { display: contents; }
.trabajos.en-3d { --w: clamp(250px, 44vw, 600px); display: block; position: relative; height: var(--alto, 560px); max-width: none; margin: 0;
  perspective: 1700px; perspective-origin: 50% 30%; touch-action: pan-y; cursor: grab; user-select: none; -webkit-user-select: none; outline: none; }
.trabajos.en-3d:active { cursor: grabbing; }
.trabajos.en-3d::before { content: ''; position: absolute; left: 10%; right: 10%; bottom: 0; height: 180px; pointer-events: none;
  background: radial-gradient(ellipse 50% 60% at 50% 100%, rgba(59, 126, 255, 0.22), transparent 70%); }
.en-3d .anillo { display: block; position: absolute; left: 50%; top: 24px; width: 0; height: 0; transform-style: preserve-3d; }
.en-3d .trabajo { position: absolute; left: calc(var(--w) / -2); top: 0; width: var(--w); transition: filter 0.3s;
  backface-visibility: hidden; -webkit-backface-visibility: hidden;
  filter: brightness(calc(0.38 + 0.62 * var(--luz, 1)));
  -webkit-box-reflect: below 16px linear-gradient(transparent 64%, rgba(255, 255, 255, 0.13)); }
.en-3d .trabajo img { pointer-events: none; }
.en-3d .trabajo.al-frente { box-shadow: var(--brillo), 0 40px 90px -30px rgba(59, 126, 255, 0.45); }
.anillo-ctrl { display: none; }
.js .anillo-ctrl { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 18px; }
.anillo-btn { width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; color: #fff;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.05)); border: 1px solid rgba(255, 255, 255, 0.24);
  -webkit-backdrop-filter: blur(10px) saturate(180%); backdrop-filter: blur(10px) saturate(180%);
  box-shadow: inset 0 1px 0.5px rgba(255, 255, 255, 0.7), 0 10px 26px -10px rgba(0, 0, 0, 0.6); transition: transform 0.4s var(--ease); }
.anillo-btn:hover { transform: scale(1.08); }
.anillo-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.anillo-pista { font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-3); }

/* ══ «ACTIVA EL DISEÑO PREMIUM» ══════════════════════════════════════ */
.tec-mando { display: flex; flex-direction: column; align-items: center; gap: 14px; margin: -10px 0 34px; }
.lg-switch { position: relative; isolation: isolate; display: inline-flex; align-items: center; gap: 14px; padding: 8px 24px 8px 8px; border-radius: 999px; cursor: pointer;
  font: 600 16px/1 var(--sans); letter-spacing: -0.01em; color: var(--ink-2);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.04)); border: 1px solid rgba(255, 255, 255, 0.22);
  -webkit-backdrop-filter: blur(12px) saturate(180%); backdrop-filter: blur(12px) saturate(180%);
  box-shadow: inset 0 1px 0.5px rgba(255, 255, 255, 0.6), inset 0 -1px 0.5px rgba(255, 255, 255, 0.15), 0 12px 34px -14px rgba(0, 0, 0, 0.7);
  transition: color 0.5s, box-shadow 0.6s var(--ease), transform 0.5s var(--ease); }
.lg-switch:hover { transform: translateY(-1px); }
.lg-switch::before { content: ''; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; pointer-events: none; opacity: 0; transition: opacity 0.6s;
  background: var(--iri); animation: girar 6s linear infinite;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
.lg-track { position: relative; width: 64px; height: 36px; border-radius: 999px; flex: none;
  background: rgba(0, 0, 0, 0.4); box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.65), inset 0 0 0 1px rgba(255, 255, 255, 0.12); transition: background 0.5s, box-shadow 0.5s; }
.lg-knob { position: absolute; top: 3px; left: 3px; width: 30px; height: 30px; border-radius: 50%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(214, 222, 240, 0.78));
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.45), inset 0 1px 1px #fff; transition: transform 0.55s var(--ease), box-shadow 0.5s; }
.lg-label { display: inline-grid; }
.lg-label > span { grid-area: 1 / 1; transition: opacity 0.4s, filter 0.4s; }
.lg-on { opacity: 0; filter: blur(4px); }
.lg-switch[aria-checked="true"] { color: #fff; box-shadow: inset 0 1px 0.5px rgba(255, 255, 255, 0.7), 0 0 40px -6px rgba(122, 171, 255, 0.55), 0 12px 34px -14px rgba(0, 0, 0, 0.7); }
.lg-switch[aria-checked="true"]::before { opacity: 1; }
.lg-switch[aria-checked="true"] .lg-track { background: linear-gradient(90deg, #3b7eff, #b28cff); box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.3), 0 0 22px rgba(122, 171, 255, 0.6); }
.lg-switch[aria-checked="true"] .lg-knob { transform: translateX(28px); box-shadow: 0 3px 10px rgba(0, 0, 0, 0.4), 0 0 14px rgba(255, 255, 255, 0.7), inset 0 1px 1px #fff; }
.lg-switch[aria-checked="true"] .lg-off { opacity: 0; filter: blur(4px); }
.lg-switch[aria-checked="true"] .lg-on { opacity: 1; filter: none; }

/* Transición entre los dos modos: se desenfoca, cambia y vuelve */
.tec-escena { transition: opacity 0.38s var(--ease), filter 0.38s var(--ease), transform 0.38s var(--ease); }
.tec-escena.cambiando { opacity: 0; filter: blur(14px); transform: scale(0.97); }
.tec-caption { display: none; }

/* APAGADO: una web corriente (a propósito: fuente de sistema, cajas grises) */
.tec-escena:not(.premium) { padding-top: 0; }
.tec-escena:not(.premium) .tec-palabra { display: none; }
.tec-3d:not(.on) { background: #f1f1f1; border: 1px solid #c9c9c9; padding: 22px; display: grid; gap: 14px; color: #222; font-family: Arial, Helvetica, sans-serif; }
.tec-3d:not(.on) .anillo { display: grid; gap: 10px; }
.tec-3d:not(.on) .anillo-estilos { grid-template-columns: repeat(3, 1fr); }
.tec-3d:not(.on) .anillo-herr { grid-template-columns: repeat(4, 1fr); }
.tec-3d:not(.on) .tec-estilo, .tec-3d:not(.on) .herr-item { background: #fff; border: 1px solid #b9b9b9; border-radius: 0; box-shadow: none; min-height: 0; padding: 14px 16px;
  -webkit-backdrop-filter: none; backdrop-filter: none; color: #222; font-family: Arial, Helvetica, sans-serif; display: block; }
.tec-3d:not(.on) .tec-estilo::after, .tec-3d:not(.on) .tec-estilo::before { display: none; }
.tec-3d:not(.on) .te-n, .tec-3d:not(.on) .te-ico { display: none; }
.tec-3d:not(.on) .tec-estilo h3 { font: 700 17px/1.3 Arial, Helvetica, sans-serif; letter-spacing: 0; color: #000; margin: 0 0 6px; }
.tec-3d:not(.on) .tec-estilo p { font-size: 14px; line-height: 1.45; color: #444; }
.tec-3d:not(.on) .herr-item strong { display: block; font: 700 15px/1.3 Arial, Helvetica, sans-serif; color: #000; margin-bottom: 4px; }
.tec-3d:not(.on) .herr-item span { display: block; font-size: 13px; line-height: 1.4; color: #555; }

/* ENCENDIDO: modelo 3D que gira (dos anillos en sentidos opuestos) */
.tec-escena.premium { padding-top: calc(var(--tp) * 0.35); }
.tec-3d.on { position: relative; height: var(--alto, 620px); perspective: 1400px; perspective-origin: 50% 25%; touch-action: pan-y; cursor: grab; user-select: none; -webkit-user-select: none; }
.tec-3d.on:active { cursor: grabbing; }
.tec-3d.on::before { content: ''; position: absolute; left: 50%; top: 42%; width: min(70vw, 760px); height: min(70vw, 760px); transform: translate(-50%, -50%); pointer-events: none; border-radius: 50%;
  background: radial-gradient(circle, rgba(59, 126, 255, 0.26), rgba(178, 140, 255, 0.1) 40%, transparent 68%); filter: blur(10px); }
.tec-3d.on .anillo { display: block; position: absolute; left: 50%; width: 0; height: 0; transform-style: preserve-3d; }
.tec-3d.on .anillo-estilos { top: 30px; }
.tec-3d.on .anillo-herr { bottom: 200px; }
.tec-3d.on .tec-estilo { position: absolute; top: 0; left: -125px; width: 250px; min-height: 0; height: 215px; padding: 74px 22px 20px; transition: none;
  backface-visibility: hidden; -webkit-backface-visibility: hidden; -webkit-backdrop-filter: none; backdrop-filter: none;
  background: linear-gradient(165deg, rgba(122, 171, 255, 0.24), rgba(20, 24, 38, 0.86) 55%); border-color: rgba(255, 255, 255, 0.22);
  filter: brightness(calc(0.45 + 0.55 * var(--luz, 1))); }
.tec-3d.on .tec-estilo::before { content: ''; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; pointer-events: none; background: var(--iri); animation: girar 7s linear infinite;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: calc(0.25 + 0.75 * var(--luz, 1)); }
.tec-3d.on .tec-estilo h3 { font-size: 20px; }
.tec-3d.on .tec-estilo p { font-size: 14px; }
.tec-3d.on .herr-item { position: absolute; top: 0; left: -105px; width: 210px; padding: 14px 16px; border-radius: 18px; transition: none;
  backface-visibility: hidden; -webkit-backface-visibility: hidden;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.04)); border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: inset 0 1px 0.5px rgba(255, 255, 255, 0.55), 0 14px 30px -16px rgba(0, 0, 0, 0.8);
  filter: brightness(calc(0.4 + 0.6 * var(--luz, 1))); }
.tec-3d.on .herr-item strong { display: block; font-size: 15px; font-weight: 600; letter-spacing: -0.01em; margin-bottom: 3px; }
.tec-3d.on .herr-item span { display: block; font-size: 12.5px; line-height: 1.4; color: var(--ink-3); }
.tec-escena.premium .tec-caption { display: block; position: relative; margin-top: -40px; text-align: center; pointer-events: none;
  font-size: clamp(28px, 4vw, 52px); font-weight: 600; letter-spacing: -0.04em; opacity: 0; filter: blur(12px); transform: translateY(20px); animation: entrar 1.1s var(--ease) 0.25s forwards; }
.tec-caption em { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--azul-2); }

@media (max-width: 720px) {
  .tec-3d:not(.on) .anillo-estilos, .tec-3d:not(.on) .anillo-herr { grid-template-columns: 1fr 1fr; }
  .tec-3d.on .tec-estilo { left: -95px; width: 190px; height: 200px; padding: 64px 16px 16px; }
  .tec-3d.on .tec-estilo h3 { font-size: 17px; }
  .tec-3d.on .tec-estilo p { font-size: 12.5px; }
  .tec-3d.on .herr-item { left: -80px; width: 160px; padding: 12px 13px; }
  .tec-3d.on .herr-item span { font-size: 11.5px; }
  .anillo-pista { font-size: 11px; }
}
/* En modo premium, «tecnología» queda de fondo: tenue, para no competir con el modelo */
.tec-escena.premium .tec-palabra { color: transparent; background: linear-gradient(180deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.02) 85%); -webkit-background-clip: text; background-clip: text; }
/* La galería en arco usa opacidad por pieza: sin transición para que siga al dedo */
.en-3d .trabajo { transition: none; }
/* La galería en arco asoma por los lados: se recorta en el borde de la pantalla, sin scroll lateral */
.section:has(.trabajos.en-3d) { overflow-x: clip; }
@media (max-width: 720px) { .trabajos.en-3d { --w: 74vw; } }

/* Debajo del interruptor: web corriente (apagado) → web premium (encendido) */
/* Dos pares antes/después lado a lado (uno debajo del otro en móvil) */
.tec-pares { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 18px; width: min(100%, 1120px); margin: 14px auto 0; }
.tec-pares .tec-comparar { margin: 0; width: 100%; }
.tec-comparar { width: min(100%, 860px); margin: 14px auto 0; padding: 0; overflow: hidden; transition: box-shadow 0.8s var(--ease); }
.tec-comparar.on { box-shadow: var(--brillo), 0 40px 100px -40px rgba(59, 126, 255, 0.6); }
.tc-imgs { position: relative; aspect-ratio: 16 / 10; background: #dcdcdc; }
.tc-imgs img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: opacity 0.9s var(--ease), filter 0.9s var(--ease), transform 1.2s var(--ease); }
/* Activación (≈1,9 s, el tiempo que le gusta): estilo «pop-up» de Apple. El
   interruptor se enciende; el hero nuevo se abre en un círculo desde el botón
   saliendo de un desenfoque fuerte y con un pequeño rebote de escala (como al
   abrir una app en iPhone), con una onda de luz en el borde y un destello final;
   la web antigua se hunde hacia atrás desenfocándose. */
.tc-imgs .tc-premium { clip-path: circle(0% at 50% 50%); filter: blur(26px) saturate(1.6) brightness(1.15); transform: scale(0.9); will-change: clip-path, transform, filter;
  transition: clip-path 1.25s cubic-bezier(0.7, 0, 0.2, 1), filter 1.15s cubic-bezier(0.4, 0, 0.2, 1) 0.1s, transform 1.3s cubic-bezier(0.34, 1.56, 0.64, 1); }
.tec-comparar.on .tc-premium { clip-path: circle(75% at 50% 50%); filter: none; transform: none; }
.tec-comparar.on .tc-normal { opacity: 0; filter: blur(22px) saturate(0.6); transform: scale(1.05);
  transition: opacity 0.9s ease 0.25s, filter 0.9s ease 0.1s, transform 1.2s cubic-bezier(0.16, 1, 0.3, 1); }
.tc-imgs::before, .tc-imgs::after { content: ''; position: absolute; pointer-events: none; z-index: 2; opacity: 0; }
.tc-imgs::before { left: 50%; top: 50%; width: 160%; aspect-ratio: 1; border-radius: 50%; translate: -50% -50%; scale: 0; filter: blur(1px);
  box-shadow: 0 0 0 2px rgba(190, 215, 255, 0.85), 0 0 34px 6px rgba(122, 171, 255, 0.55), inset 0 0 40px rgba(122, 171, 255, 0.35); }
.tc-imgs::after { inset: 0; background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, 0.28) 48%, rgba(255, 255, 255, 0.05) 56%, transparent 66%); translate: -100% 0; }
.tec-comparar.on .tc-imgs::before { animation: tc-onda 1.25s cubic-bezier(0.7, 0, 0.2, 1) forwards; }
.tec-comparar.on .tc-imgs::after { animation: tc-destello 1s cubic-bezier(0.45, 0, 0.25, 1) 0.95s forwards; }
@keyframes tc-onda { 0% { scale: 0; opacity: 1; } 70% { opacity: 0.8; } 100% { scale: 1; opacity: 0; } }
@keyframes tc-destello { 0% { translate: -100% 0; opacity: 1; } 100% { translate: 100% 0; opacity: 1; } }
/* El botón va DENTRO de la web de antes, centrado; cristal oscuro para leerse sobre fondos claros.
   Al pulsarlo da un «pop» (crece con rebote) y se disuelve en desenfoque. */
.tc-activar { position: absolute; left: 50%; top: 50%; translate: -50% -50%; z-index: 3; white-space: nowrap; color: #fff;
  background: linear-gradient(180deg, rgba(20, 26, 44, 0.62), rgba(8, 12, 24, 0.5));
  transition: color 0.5s, box-shadow 0.6s var(--ease), transform 0.5s var(--ease), opacity 0.6s ease, scale 0.6s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.6s ease; }
.tc-activar[aria-checked="true"] { scale: 1.06; }
.tc-activar:disabled { cursor: default; }
.tec-comparar.on .tc-activar { opacity: 0; scale: 1.14; filter: blur(12px); pointer-events: none; transition-delay: 0.35s; }
@media (max-width: 560px) { .tc-activar { scale: 0.8; } .tc-activar[aria-checked="true"] { scale: 0.85; } .tec-comparar.on .tc-activar { scale: 0.92; } }
.tec-comparar figcaption { display: grid; padding: 14px 20px 16px; border-top: 1px solid var(--line); font-size: 12px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; }
.tec-comparar figcaption span { grid-area: 1 / 1; transition: opacity 0.5s; }
.tc-c-normal { color: var(--ink-3); }
.tc-c-premium { color: var(--azul-2); opacity: 0; }
.tec-comparar.on .tc-c-normal { opacity: 0; }
.tec-comparar.on .tc-c-premium { opacity: 1; }

/* Contador 0,00 s → 0,05 s: cifras de ancho fijo (no bailan al cambiar) y destello al llegar */
.ms-valor { font-weight: inherit; font-variant-numeric: tabular-nums; font-feature-settings: "tnum"; display: inline-block; }
.ms-num.llega { animation: ms-destello 1.1s var(--ease); }
@keyframes ms-destello { 0% { filter: drop-shadow(0 0 0 rgba(122, 171, 255, 0)); } 25% { filter: drop-shadow(0 0 38px rgba(122, 171, 255, 0.85)); } 100% { filter: drop-shadow(0 0 0 rgba(122, 171, 255, 0)); } }
.price-monthly .gratis { color: var(--ok); font-weight: 600; }
