/* =========================================================
   DISEÑO — Génesis Films
   Colores: se COMBINAN los de la página original con los del Manual de Identidad.
     · Verde vivo  #3CB944 (página original) → todo lo que se toca: botones, enlaces, hover.
     · Verde marca #8ec045 (manual)          → identidad: palabras resaltadas, logo, etiquetas.
     · Degradado de uno al otro              → lo que se mueve (barras, rellenos, brillos).
     · Fondo negro profundo #0E0F0E (original) con bloques carbón #1d1d1b (manual) encima.
   Letras: títulos en Saira ancha (se parece a Casanova Scotia del manual);
   textos largos en Arial (la de la página original), que se lee mejor.
   El tema (oscuro/claro) se elige en contenido.js → ajustes.tema
   ========================================================= */

:root {
  --verde: #3CB944;
  --verde-hover: #4fd158;
  --verde-marca: #8ec045;
  --verde-texto: #8ec045;
  --degradado: linear-gradient(90deg, #3CB944, #8ec045);
  --fondo: #0E0F0E;
  --fondo-alt: #1d1d1b;
  --superficie: #1d1d1b;
  --superficie-2: #262624;
  --texto: #F2F2F2;
  --texto-suave: #A9ADA9;
  --borde: #2E312E;
  --sombra: 0 20px 60px rgba(0,0,0,.45);
  --radio: 14px;
  --ancho: 1200px;
  --fuente: Arial, "Helvetica Neue", Helvetica, sans-serif;
  --fuente-titulo: "Saira", "Helvetica Neue", Arial, sans-serif;
  color-scheme: dark;
}

:root[data-tema="claro"] {
  --verde-hover: #2fa036;
  --verde-marca: #5f8f22;
  --verde-texto: #4d7a14;   /* verde más oscuro para que el texto se lea bien sobre blanco */
  --degradado: linear-gradient(90deg, #23802A, #5f8f22);
  --fondo: #FFFFFF;
  --fondo-alt: #F6FAF0;
  --superficie: #FFFFFF;
  --superficie-2: #F2F2F2;
  --texto: #1A1A1A;
  --texto-suave: #595959;
  --borde: #D9D9D9;
  --sombra: 0 20px 50px rgba(26,26,26,.10);
  color-scheme: light;
}
:root[data-tema="claro"] .barra__logo img,
:root[data-tema="claro"] .carga img,
:root[data-tema="claro"] .hero__logo-icono { filter: invert(1) brightness(.35); }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--fondo); color: var(--texto);
  font-family: var(--fuente); font-size: 17px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
body.bloqueado { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { line-height: 1.1; margin: 0; letter-spacing: -.01em; }
/* Letra ancha tipo Casanova (manual de marca) para títulos y elementos de marca */
h1, h2, .titulo, .hero__titular, .item-svc__nombre, .servicio__nombre, .cinta__pista span,
.menu__lista a, .claqueta, .hero__marca, .formula2__palabra, .calc__precio, .contador,
.franja, .panel-cotizar__titulo, .carga__frase, .rollo__nombre { font-family: var(--fuente-titulo); font-stretch: 115%; letter-spacing: 0; }
.barra__logo span, .pie__marca span { font-family: var(--fuente-titulo); font-stretch: 125%; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--verde); outline-offset: 3px; border-radius: 4px; }
[hidden] { display: none !important; }

.saltar { position: absolute; left: -999px; top: 8px; background: var(--verde); color: #1d1d1b; padding: 8px 14px; z-index: 300; border-radius: 6px; font-weight: 700; }
.saltar:focus { left: 8px; }
.sinjs { padding: 40px 16px; text-align: center; }

/* ---------- Pantalla de carga ---------- */
/* Entrada «En el principio…» (la animación la hace entrada.js) */
.carga {
  position: fixed; inset: 0; z-index: 400; background: #0c0c0b; overflow: hidden; cursor: pointer;
  transition: opacity .4s ease, visibility .4s ease;
}
html.entrando, html.entrando body { overflow: hidden; }
.carga.fuera { opacity: 0; visibility: hidden; pointer-events: none; }
.carga__lienzo { position: absolute; inset: 0; width: 100%; height: 100%; }
.carga__centro {
  position: absolute; left: 50%; top: 40%; transform: translate(-50%, -50%);
  display: flex; flex-direction: column; align-items: center; gap: 26px; width: min(90vw, 560px);
}
.carga__play { background: none; border: 0; padding: 0; cursor: pointer; position: relative; border-radius: 50%; }
.carga__simbolo { width: clamp(84px, 12vw, 120px); height: auto; overflow: visible; display: block; }
.carga__simbolo .trazo { fill: none; stroke: #f2f2f0; stroke-width: 4.6; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.carga__simbolo .relleno { fill: #8ec045; opacity: 0; transition: opacity .3s; }
/* la chispa inicial: un punto verde antes de que empiece el trazo */
.carga__play::after {
  content: ""; position: absolute; left: 81%; top: 22%; width: 7px; height: 7px; border-radius: 50%;
  background: #8ec045; box-shadow: 0 0 18px 4px rgba(142,192,69,.7); transform: translate(-50%, -50%);
  opacity: var(--chispa, 0); transition: opacity .3s;
}
.carga--play .carga__simbolo { animation: darPlay .35s ease; }
.carga--play .carga__simbolo .trazo { stroke: #8ec045; transition: stroke .2s; }
@keyframes darPlay { 40% { transform: scale(.86); } 100% { transform: scale(1.08); } }
.carga__frase {
  min-height: 1.6em; color: #d9dbd2; text-align: center; font-size: clamp(16px, 2vw, 22px);
  font-style: italic; letter-spacing: .02em; opacity: 0;
}
.carga__frase.ver { animation: fraseEntra .55s ease forwards; }
.carga__frase.final { font-style: normal; text-transform: uppercase; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.carga__frase.final strong { font-size: clamp(22px, 3vw, 34px); font-weight: 700; font-stretch: 125%; letter-spacing: .06em; color: #f2f2f0; line-height: 1; }
.carga__frase.final span { font-size: clamp(10px, 1.1vw, 13px); font-weight: 600; letter-spacing: .3em; color: #8ec045; }
@keyframes fraseEntra { from { opacity: 0; transform: translateY(8px); filter: blur(4px); } to { opacity: 1; transform: none; filter: none; } }
.carga__saltar {
  position: absolute; right: 20px; bottom: 20px; background: rgba(12,12,11,.5); color: #d9dbd2;
  border: 1px solid rgba(242,242,240,.25); border-radius: 999px; padding: 9px 18px; font-size: 13px;
  letter-spacing: .12em; text-transform: uppercase; cursor: pointer; transition: border-color .2s, color .2s;
}
.carga__saltar:hover, .carga__saltar:focus-visible { border-color: #8ec045; color: #8ec045; }
.carga--corta .carga__saltar, .carga--corta .carga__frase { display: none; }
@keyframes cargar { to { transform: translateX(0); } }
@keyframes girar { 50% { transform: scale(.9) rotate(-8deg); opacity: .7; } }

/* ---------- Barra superior ---------- */
.barra {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 16px; transition: background .3s, border-color .3s, backdrop-filter .3s;
  border-bottom: 1px solid transparent;
}
.barra.solida { background: color-mix(in srgb, var(--fondo) 85%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-color: var(--borde); }
.barra__logo { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; letter-spacing: .12em; font-size: 14px; white-space: nowrap; }
@media (max-width: 380px) { .barra__logo span { display: none; } }
.barra__logo b { color: var(--verde-texto); }
.barra__acciones { display: flex; align-items: center; gap: 10px; }
.idioma {
  background: transparent; border: 1px solid var(--borde); border-radius: 999px;
  padding: 7px 12px; cursor: pointer; font-size: 13px; font-weight: 700; letter-spacing: .08em; display: flex; gap: 4px; min-height: 40px; align-items: center;
}
.idioma span { color: var(--texto-suave); }
.idioma span.activo { color: var(--verde-texto); }
.hamburguesa {
  background: var(--verde); color: #1d1d1b; border: 0; border-radius: 999px; cursor: pointer;
  padding: 9px 16px; display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 14px; min-height: 40px;
}
.hamburguesa:hover { background: var(--verde-hover); }
.hamburguesa__lineas { display: grid; gap: 5px; width: 18px; }
.hamburguesa__lineas i { display: block; height: 2px; background: currentColor; border-radius: 2px; transition: transform .3s; }
.hamburguesa[aria-expanded="true"] .hamburguesa__lineas i:first-child { transform: translateY(3.5px) rotate(45deg); }
.hamburguesa[aria-expanded="true"] .hamburguesa__lineas i:last-child { transform: translateY(-3.5px) rotate(-45deg); }

/* ---------- Menú ---------- */
.menu {
  position: fixed; inset: 0; z-index: 150; background: var(--fondo);
  display: flex; flex-direction: column; justify-content: center; padding: 90px 16px 32px;
  animation: aparecer .35s ease;
}
.menu__lista { list-style: none; margin: 0 auto; padding: 0; width: 100%; max-width: var(--ancho); counter-reset: m; }
.menu__lista li { counter-increment: m; border-bottom: 1px solid var(--borde); overflow: hidden; }
.menu__lista a {
  display: flex; align-items: baseline; gap: 16px; padding: 8px 0; text-decoration: none;
  font-size: clamp(24px, min(4.6vw, 5.2vh), 52px); font-weight: 700; letter-spacing: -.02em;
  transform: translateY(100%); animation: subir .5s cubic-bezier(.2,.8,.2,1) forwards;
}
.menu__lista a::before { content: "0" counter(m); font-size: 13px; color: var(--verde-texto); letter-spacing: .1em; font-weight: 700; }
.menu__lista a:hover { color: var(--verde-texto); }
.menu__pie { max-width: var(--ancho); width: 100%; margin: 28px auto 0; display: flex; flex-wrap: wrap; gap: 18px; color: var(--texto-suave); font-size: 15px; }
.menu__pie a { text-decoration: none; }
.menu__pie a:hover { color: var(--verde-texto); }
@keyframes subir { to { transform: translateY(0); } }
@keyframes aparecer { from { opacity: 0; } }

/* ---------- Estructura general ---------- */
.seccion { padding: 96px 16px; }
.seccion--alt { background: var(--fondo-alt); }
.contenedor { max-width: var(--ancho); margin: 0 auto; }
.etiqueta {
  display: inline-flex; align-items: center; gap: 10px; color: var(--verde-texto);
  font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .16em; margin-bottom: 18px;
}
.etiqueta::before { content: ""; width: 26px; height: 2px; background: var(--verde); }
.titulo { font-size: clamp(32px, 5.4vw, 64px); font-weight: 700; text-transform: uppercase; letter-spacing: -.02em; max-width: 16ch; }
.titulo em { font-style: normal; color: var(--verde-texto); background: var(--degradado); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.parrafo { color: var(--texto-suave); font-size: clamp(17px, 1.6vw, 20px); max-width: 62ch; margin-top: 22px; }
.boton {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px;
  padding: 14px 26px; border-radius: 999px; font-weight: 700; text-decoration: none; cursor: pointer;
  border: 2px solid var(--verde); background: var(--verde); color: #1d1d1b; transition: transform .2s, background .2s;
}
.boton:hover { background: var(--verde-hover); border-color: var(--verde-hover); transform: translateY(-2px); }
.boton--borde { background: transparent; color: var(--texto); border-color: var(--borde); }
.boton--borde:hover { background: transparent; border-color: var(--verde); color: var(--verde-texto); }
.boton__play { width: 28px; height: 28px; border-radius: 50%; background: #1d1d1b; color: var(--verde); display: grid; place-items: center; font-size: 11px; padding-left: 2px; }

/* Animación al hacer scroll */
.revelar { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.8,.2,1); }
.revelar.visible { opacity: 1; transform: none; }

/* ---------- Portada ---------- */
.hero {
  min-height: 100svh; display: flex; align-items: flex-end; padding: 120px 16px 56px; position: relative; overflow: hidden;
  background:
    radial-gradient(ellipse 70% 60% at 85% 20%, color-mix(in srgb, var(--verde) 22%, transparent), transparent 70%),
    radial-gradient(ellipse 50% 50% at 0% 100%, color-mix(in srgb, var(--verde) 10%, transparent), transparent 70%),
    var(--fondo);
}
.hero::before { /* líneas tipo película */
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: linear-gradient(var(--borde) 1px, transparent 1px), linear-gradient(90deg, var(--borde) 1px, transparent 1px);
  background-size: 80px 80px; mask-image: radial-gradient(ellipse at 70% 30%, #000 10%, transparent 65%);
  -webkit-mask-image: radial-gradient(ellipse at 70% 30%, #000 10%, transparent 65%);
}
.hero__logo-icono { position: absolute; right: -6vw; top: 12vh; width: min(52vw, 560px); opacity: .07; pointer-events: none; animation: flotar 12s ease-in-out infinite; }
@keyframes flotar { 50% { transform: translateY(-18px) rotate(4deg); } }
.hero .contenedor { position: relative; width: 100%; }
.hero__marca { font-size: clamp(48px, 13vw, 168px); font-weight: 700; line-height: .88; letter-spacing: -.045em; text-transform: uppercase; }
.hero__marca span { display: block; }
.hero__marca span:last-child { color: var(--verde-texto); }
.hero__titulo { font-size: clamp(18px, 2.2vw, 26px); font-weight: 700; margin-top: 22px; text-transform: uppercase; letter-spacing: .06em; }
.hero__frase { color: var(--texto-suave); font-size: clamp(17px, 1.7vw, 21px); max-width: 58ch; margin-top: 14px; }
.hero__botones { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero__abajo { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 20px; margin-top: 56px; padding-top: 22px; border-top: 1px solid var(--borde); color: var(--texto-suave); font-size: 14px; }
.hero__scroll { display: inline-flex; gap: 10px; align-items: center; text-decoration: none; }
.hero__scroll i { width: 1px; height: 34px; background: var(--borde); position: relative; overflow: hidden; }
.hero__scroll i::after { content: ""; position: absolute; left: 0; right: 0; height: 12px; background: var(--verde); animation: bajar 1.8s ease-in-out infinite; }
@keyframes bajar { from { top: -12px; } to { top: 34px; } }

/* Portada en dos columnas: texto + formulario de cotización */
.hero { align-items: center; }
.hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .28; filter: grayscale(.4); pointer-events: none; }
.hero__grid { display: grid; gap: 40px; align-items: center; }
.hero__intro { color: var(--texto-suave); font-size: 16px; max-width: 46ch; }
.hero__intro strong { color: var(--texto); }
.hero__titular { font-size: clamp(38px, 5.4vw, 76px); font-weight: 400; line-height: 1.02; letter-spacing: -.035em; margin-top: 18px; max-width: 13ch; }
.hero__titular em { font-style: normal; color: var(--verde-texto); font-weight: 700; background: var(--degradado); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }

.panel-cotizar {
  scroll-margin-top: 80px;
  position: relative; display: grid; gap: 14px; padding: 24px 20px;
  border: 1px solid var(--borde); border-radius: 18px;
  background: color-mix(in srgb, var(--superficie) 78%, transparent);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: var(--sombra);
}
.panel-cotizar__titulo { font-size: 20px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.campos-2 { display: grid; gap: 16px; }
.campo { display: grid; gap: 6px; font-size: 14px; color: var(--texto-suave); }
.campo input, .campo textarea {
  width: 100%; background: color-mix(in srgb, var(--fondo) 60%, transparent); border: 1px solid var(--borde);
  border-radius: 10px; padding: 11px 12px; color: var(--texto); font-size: 16px; min-height: 46px; resize: vertical;
}
.campo input:focus, .campo textarea:focus { outline: none; border-color: var(--verde); box-shadow: 0 0 0 3px color-mix(in srgb, var(--verde) 25%, transparent); }
.campo input.error { border-color: #e5484d; }
.campo textarea::placeholder { color: var(--texto-suave); opacity: .7; }
.campo-grupo { border: 0; padding: 0; margin: 0; }
.campo-grupo legend { font-size: 14px; color: var(--texto-suave); padding: 0; margin-bottom: 8px; }
.campo-grupo .chips { gap: 8px; }
.chip--peq span { min-height: 38px; padding: 7px 14px; font-size: 14px; background: transparent; }
.acepto--peq { margin-top: 0; font-size: 13px; }
.panel-cotizar .form-acciones { margin-top: 0; }
.panel-cotizar .form-mensaje { font-size: 14px; }

/* ---------- Colaboración ---------- */
.frase-clave {
  margin-top: 40px; padding: 28px; border-left: 4px solid var(--verde); background: var(--superficie);
  border-radius: 0 var(--radio) var(--radio) 0; font-size: clamp(18px, 2vw, 24px); line-height: 1.45; font-weight: 700; max-width: 900px;
}
:root[data-tema="claro"] .frase-clave { background: var(--fondo-alt); }
.subtitulo { font-size: clamp(22px, 2.6vw, 30px); font-weight: 700; margin: 72px 0 24px; }

.fases { display: grid; gap: 0; border: 1px solid var(--borde); border-radius: var(--radio); overflow: hidden; background: var(--superficie); }
.fases__pestanas { display: grid; grid-template-columns: repeat(2, 1fr); border-bottom: 1px solid var(--borde); }
.fases__pestana {
  background: transparent; border: 0; border-right: 1px solid var(--borde); border-bottom: 1px solid var(--borde);
  padding: 18px 16px; text-align: left; cursor: pointer; display: grid; gap: 4px; min-height: 76px; transition: background .25s;
}
.fases__pestana small { color: var(--verde-texto); font-weight: 700; letter-spacing: .14em; font-size: 12px; }
.fases__pestana strong { font-size: 16px; }
.fases__pestana[aria-selected="true"] { background: var(--verde); color: #1d1d1b; }
.fases__pestana[aria-selected="true"] small { color: #1d1d1b; }
.fases__pestana:not([aria-selected="true"]):hover { background: var(--superficie-2); }
.fases__panel { padding: 28px 22px 32px; display: grid; gap: 22px; }
.fases__panel h4 { font-size: clamp(24px, 3vw, 36px); text-transform: uppercase; }
.fases__panel ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.fases__panel li { display: flex; gap: 12px; align-items: flex-start; font-size: 18px; animation: aparecerIzq .45s ease both; }
.fases__panel li:nth-child(2) { animation-delay: .07s; } .fases__panel li:nth-child(3) { animation-delay: .14s; }
.check { flex: none; width: 24px; height: 24px; border-radius: 50%; background: color-mix(in srgb, var(--verde) 18%, transparent); color: var(--verde-texto); display: grid; place-items: center; font-size: 13px; font-weight: 700; margin-top: 2px; }
@keyframes aparecerIzq { from { opacity: 0; transform: translateX(-12px); } }

.niveles { display: grid; gap: 16px; }
.nivel {
  position: relative; padding: 28px 24px; border: 1px solid var(--borde); border-radius: var(--radio); background: var(--superficie);
  display: flex; flex-direction: column; gap: 14px; transition: transform .3s, border-color .3s;
}
.nivel:hover { transform: translateY(-4px); border-color: var(--verde); }
.nivel--destacado { border: 2px solid var(--verde); box-shadow: var(--sombra); }
.nivel__sello { position: absolute; top: -13px; left: 24px; background: var(--verde); color: #1d1d1b; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: 5px 12px; border-radius: 999px; }
.nivel h4 { font-size: 21px; }
.nivel p { color: var(--texto-suave); }
.nivel__precio { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--borde); font-weight: 700; color: var(--verde-texto); font-size: 18px; }
.notas { margin-top: 18px; color: var(--texto-suave); font-size: 15px; display: grid; gap: 4px; }

.dos-col { display: grid; gap: 40px; margin-top: 72px; }
.lista-linea { list-style: none; padding: 0; margin: 0; }
.lista-linea li { padding: 16px 0; border-bottom: 1px solid var(--borde); display: flex; gap: 14px; }
.lista-linea li:first-child { border-top: 1px solid var(--borde); }
.lista-linea .n { color: var(--verde-texto); font-weight: 700; font-size: 13px; letter-spacing: .1em; padding-top: 4px; flex: none; width: 26px; }

/* ---------- Nosotros ---------- */
.nosotros { display: grid; gap: 48px; align-items: end; }
.datos { display: grid; gap: 0; }
.dato { padding: 22px 0; border-bottom: 1px solid var(--borde); display: flex; align-items: baseline; gap: 18px; }
.dato:first-child { border-top: 1px solid var(--borde); }
.dato strong { font-size: clamp(40px, 6vw, 64px); color: var(--verde-texto); line-height: 1; min-width: 3.2ch; }
.dato span { color: var(--texto-suave); font-size: 17px; }

/* ---------- Servicios (bloques que se despliegan) ---------- */
.servicios { margin-top: 48px; border-top: 1px solid var(--borde); }
.servicio { border-bottom: 1px solid var(--borde); }
.servicio__cabeza {
  width: 100%; background: transparent; border: 0; cursor: pointer; text-align: left;
  display: grid; grid-template-columns: auto 1fr auto; gap: 14px 18px; align-items: center; padding: 28px 0; transition: color .25s;
}
.servicio__num { color: var(--verde-texto); font-weight: 700; font-size: 14px; letter-spacing: .1em; align-self: start; padding-top: 8px; }
.servicio__nombre { font-size: clamp(24px, 4.2vw, 52px); font-weight: 700; text-transform: uppercase; letter-spacing: -.02em; line-height: 1.02; display: block; }
.servicio__sub { display: block; color: var(--texto-suave); font-size: 15px; margin-top: 8px; font-weight: 400; }
.servicio__desde { display: block; color: var(--verde-texto); font-weight: 700; font-size: 15px; margin-top: 8px; }
.servicio__mas { width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--borde); display: grid; place-items: center; position: relative; transition: background .3s, border-color .3s, transform .4s; flex: none; }
.servicio__mas::before, .servicio__mas::after { content: ""; position: absolute; width: 16px; height: 2px; background: currentColor; border-radius: 2px; }
.servicio__mas::after { transform: rotate(90deg); transition: transform .3s; }
.servicio__cabeza:hover .servicio__nombre { color: var(--verde-texto); }
.servicio__cabeza:hover .servicio__mas { border-color: var(--verde); }
.servicio__cabeza[aria-expanded="true"] .servicio__mas { background: var(--verde); border-color: var(--verde); color: #1d1d1b; transform: rotate(180deg); }
.servicio__cabeza[aria-expanded="true"] .servicio__mas::after { transform: rotate(0); }
.servicio__cuerpo { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s cubic-bezier(.2,.8,.2,1); }
.servicio__cuerpo > div { overflow: hidden; }
.servicio.abierto .servicio__cuerpo { grid-template-rows: 1fr; }
.servicio__interior { display: grid; gap: 32px; padding: 4px 0 40px; }
.mini-titulo { font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--texto-suave); margin-bottom: 14px; }
.incluye { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.incluye li { display: flex; gap: 10px; align-items: flex-start; }
.planes { display: grid; gap: 12px; }
.plan {
  position: relative; border: 1px solid var(--borde); border-radius: 12px; padding: 18px 18px; background: var(--superficie);
  display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap;
}
.plan--destacado { border-color: var(--verde); border-width: 2px; }
.plan__nombre { font-weight: 700; }
.plan__detalle { color: var(--texto-suave); font-size: 14px; display: block; font-weight: 400; }
.plan__precio { font-weight: 700; font-size: 20px; color: var(--verde-texto); white-space: nowrap; }
.plan__precio small { font-size: 13px; color: var(--texto-suave); font-weight: 400; }
.sello { display: inline-block; background: var(--verde); color: #1d1d1b; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 3px 9px; border-radius: 999px; margin-left: 8px; vertical-align: middle; }
.ejemplos { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; }
.nota-precios { margin-top: 28px; color: var(--texto-suave); font-size: 15px; max-width: 70ch; }

/* Tarjeta de video (proyectos y ejemplos) */
.video-tarjeta {
  position: relative; display: block; aspect-ratio: 16 / 10; border-radius: 12px; overflow: hidden; text-decoration: none;
  background: linear-gradient(135deg, var(--superficie-2), var(--superficie)); border: 1px solid var(--borde);
}
.video-tarjeta img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.video-tarjeta:hover img { transform: scale(1.06); }
.video-tarjeta__info { position: absolute; left: 0; right: 0; bottom: 0; padding: 14px; background: linear-gradient(transparent, rgba(0,0,0,.8)); color: #fff; }
.video-tarjeta__info strong { display: block; font-size: 15px; }
.video-tarjeta__info span { font-size: 13px; opacity: .8; }
.video-tarjeta__play { position: absolute; top: 12px; right: 12px; width: 38px; height: 38px; border-radius: 50%; background: var(--verde); color: #1d1d1b; display: grid; place-items: center; font-size: 12px; padding-left: 2px; transform: scale(.85); transition: transform .3s; }
.video-tarjeta:hover .video-tarjeta__play { transform: scale(1); }
.video-tarjeta--vacia { display: grid; place-items: center; color: var(--texto-suave); font-size: 13px; letter-spacing: .12em; text-transform: uppercase; border-style: dashed; cursor: default; }
section[id] { scroll-margin-top: 0; }

/* ---------- Calculadora ---------- */
.calc { margin-top: 44px; display: grid; gap: 24px; }
.calc__opciones { display: grid; gap: 28px; }
.calc__grupo { border: 0; padding: 0; margin: 0; }
.calc__grupo legend { font-weight: 700; margin-bottom: 14px; font-size: 18px; padding: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; margin: 0; }
.chip span { display: inline-flex; align-items: center; min-height: 46px; padding: 10px 18px; border: 1px solid var(--borde); border-radius: 999px; transition: all .2s; background: var(--superficie); font-size: 15px; }
.chip input:checked + span { background: var(--verde); border-color: var(--verde); color: #1d1d1b; font-weight: 700; }
.chip input:focus-visible + span { outline: 3px solid var(--verde); outline-offset: 3px; }
.chip:hover span { border-color: var(--verde); }
.interruptor { display: flex; gap: 14px; align-items: center; cursor: pointer; padding: 16px 18px; border: 1px solid var(--borde); border-radius: 12px; background: var(--superficie); }
.interruptor input { width: 22px; height: 22px; accent-color: var(--verde); flex: none; }
.calc__resultado {
  border-radius: var(--radio); padding: 30px 26px; background: var(--superficie); border: 2px solid var(--verde);
  display: flex; flex-direction: column; gap: 14px; align-self: start; position: sticky; top: 90px; box-shadow: var(--sombra);
}
.calc__resultado .mini-titulo { margin: 0; }
.calc__servicio { font-weight: 700; font-size: 18px; }
.calc__precio { font-size: clamp(40px, 6vw, 60px); font-weight: 700; color: var(--verde-texto); line-height: 1; letter-spacing: -.02em; }
.calc__precio small { font-size: 16px; color: var(--texto-suave); font-weight: 400; letter-spacing: 0; }
.calc__detalle { color: var(--texto-suave); }
.calc__nota { color: var(--texto-suave); font-size: 13px; }

/* ---------- Proceso ---------- */
.pasos { list-style: none; margin: 48px 0 0; padding: 0; display: grid; gap: 0; counter-reset: p; }
.paso { position: relative; padding: 26px 0 26px 64px; border-top: 1px solid var(--borde); counter-increment: p; }
.paso::before { content: "0" counter(p); position: absolute; left: 0; top: 24px; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--verde); color: var(--verde-texto); display: grid; place-items: center; font-weight: 700; font-size: 14px; }
.paso h3 { font-size: 22px; margin-bottom: 6px; }
.paso p { color: var(--texto-suave); }
.nota-sub { margin-top: 32px; display: inline-flex; gap: 10px; align-items: center; padding: 12px 18px; border-radius: 999px; background: color-mix(in srgb, var(--verde) 14%, transparent); color: var(--verde-texto); font-weight: 700; }

/* ---------- Proyectos ---------- */
.proyectos { margin-top: 44px; display: grid; gap: 14px; grid-template-columns: 1fr; }

/* ---------- Clientes ---------- */
.logos { margin-top: 40px; display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--borde); border-left: 1px solid var(--borde); }
.logo-celda { aspect-ratio: 3 / 2; border-right: 1px solid var(--borde); border-bottom: 1px solid var(--borde); display: grid; place-items: center; padding: 24px; }
.logo-celda img { max-height: 60px; width: auto; object-fit: contain; filter: grayscale(1) opacity(.75); transition: filter .3s; }
.logo-celda:hover img { filter: none; }
.logo-celda--vacia { color: var(--texto-suave); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; opacity: .6; }

/* «Rollo de película»: la tira corre sola; al pasar el mouse (o tocar) un cuadro, frena y muestra su video */
@property --luz { syntax: "<number>"; inherits: true; initial-value: .55; }
.rollo {
  position: relative; margin-top: 44px; overflow: hidden; cursor: grab; touch-action: pan-y;
  user-select: none; -webkit-user-select: none; outline-offset: -3px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.rollo--agarrado { cursor: grabbing; }
.rollo__cinta {
  --hueco: rgba(242, 242, 242, .13);
  display: flex; gap: 14px; width: max-content; padding: 46px 0; will-change: transform;
  background-color: #090a09;
  /* las perforaciones de la película, arriba y abajo (se mueven con la tira) */
  background-image:
    linear-gradient(90deg, transparent 9px, var(--hueco) 9px 21px, transparent 21px),
    linear-gradient(90deg, transparent 9px, var(--hueco) 9px 21px, transparent 21px);
  background-size: 30px 11px, 30px 11px; background-repeat: repeat-x;
  background-position: 0 13px, 0 calc(100% - 13px);
  border-top: 1px solid #1b1c1b; border-bottom: 1px solid #1b1c1b;
}
.rollo__cuadro {
  --luz: .55; --papel: #f3f1e9;
  position: relative; flex: 0 0 auto; transition: --luz .45s ease, transform .45s ease; z-index: 0; width: clamp(210px, 62vw, 270px); aspect-ratio: 4 / 3;
  border-radius: 6px;
  background: #141514;
  box-shadow: 0 0 calc(max(0, var(--luz) - .6) * 150px) calc(max(0, var(--luz) - .6) * 15px) color-mix(in srgb, #8ec045 calc(max(0, var(--luz) - .6) * 90%), transparent);
}
.rollo--pausa .rollo__cuadro { --luz: .22; }
.rollo .rollo__cuadro.activo { --luz: 1; transform: scale(1.06); z-index: 2; }
.rollo__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .5s ease; pointer-events: none; }
.rollo__cuadro.activo .rollo__video { opacity: 1; }
.rollo__codigo {
  position: absolute; left: 2px; top: -24px; font: 700 10px/1 ui-monospace, Menlo, monospace; letter-spacing: .14em;
  color: color-mix(in srgb, #3CB944 calc(var(--luz) * 100%), #8ec045); opacity: calc(.45 + var(--luz) * .55);
}
.rollo__imagen {
  position: absolute; inset: 0; display: grid; place-items: center; padding: 14% 12%; overflow: hidden; border-radius: inherit;
  background: var(--papel);
  /* apagado = diapositiva sin luz; en el centro = mesa de luz encendida */
  filter: grayscale(calc(1 - var(--luz))) brightness(calc(.26 + var(--luz) * .74));
}
.rollo__imagen img { max-width: 100%; max-height: 100%; object-fit: contain; pointer-events: none; transform: scale(calc(.92 + var(--luz) * .08)); }
.rollo__vacio {
  font-family: var(--fuente-titulo); font-stretch: 125%; font-weight: 800; text-transform: uppercase; text-align: center;
  font-size: clamp(20px, 2.4vw, 28px); line-height: 1; padding: .5em .7em; border: 2px dashed currentColor; border-radius: 6px;
  color: #2b6e17;
}
.rollo__pie { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 28px; }
.rollo__ficha { opacity: 0; transition: opacity .3s; flex: 1; min-width: 0; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 6px; min-height: 92px; }
.rollo--viendo .rollo__ficha { opacity: 1; }
.rollo__nombre { font-size: clamp(22px, 3.2vw, 38px); font-weight: 800; line-height: 1.05; text-transform: uppercase; }
.rollo__servicio { color: var(--verde-texto); font-size: 15px; }
.rollo__accion {
  margin-top: 6px; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; text-decoration: none;
  color: #0E0F0E; background: var(--verde); padding: 8px 16px; border-radius: 999px; transition: background .2s;
}
.rollo__accion:hover { background: var(--verde-hover); }
.rollo--cambio .rollo__ficha > * { animation: fichaEntra .45s ease both; }
.rollo--cambio .rollo__servicio { animation-delay: .06s; }
.rollo--cambio .rollo__accion { animation-delay: .12s; }
@keyframes fichaEntra { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.rollo__flecha {
  flex: 0 0 auto; width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--borde); background: var(--superficie);
  font-size: 20px; cursor: pointer; transition: background .2s, color .2s, border-color .2s;
}
.rollo__flecha:hover { background: var(--verde); border-color: var(--verde); color: #0E0F0E; }
.rollo__ayuda { margin-top: 18px; text-align: center; color: var(--texto-suave); font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.rollo__ayuda span { color: var(--verde); }
@media (min-width: 700px) { .rollo__cuadro { width: clamp(240px, 24vw, 330px); } .rollo__cinta { gap: 18px; padding: 52px 0; } }
@media (prefers-reduced-motion: reduce) { .rollo--cambio .rollo__ficha > * { animation: none; } }

/* «La línea de tiempo» (versión de prueba: ?clientes=linea) — parece un programa de edición */
.linea { margin-top: 40px; }
.linea__escena { display: grid; gap: 22px; }
@media (min-width: 900px) { .linea__escena { grid-template-columns: minmax(0, 1.7fr) minmax(260px, 1fr); align-items: center; gap: 40px; } }
.linea__monitor {
  background: #1b1b1c; border: 1px solid #000; border-radius: 8px; overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .5), inset 0 1px 0 rgba(255, 255, 255, .04);
  font-family: -apple-system, "Helvetica Neue", Arial, sans-serif;
}
/* cabecera del visor, como en DaVinci: duración · nombre de la línea de tiempo · código de tiempo */
.linea__visor {
  display: flex; align-items: center; justify-content: space-between; gap: 10px; height: 30px; padding: 0 12px;
  background: #232325; border-bottom: 1px solid #0d0d0e; font: 600 12px/1 ui-monospace, Menlo, monospace; color: #e8e8ea;
  font-variant-numeric: tabular-nums;
}
.linea__visor b { font: 600 11px/1 -apple-system, "Helvetica Neue", Arial, sans-serif; letter-spacing: .06em; color: #c9c9ce; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.linea__visor small { font-size: 11px; color: #77777e; }
.linea__pantalla { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #000; }
/* barra de reproducción y botones debajo del visor */
.linea__transporte { padding: 8px 14px 9px; background: #1f1f21; border-top: 1px solid #0d0d0e; }
.linea__scrub { position: relative; display: block; height: 3px; border-radius: 2px; background: #3a3a3e; margin: 4px 0 10px; }
.linea__scrub i {
  position: absolute; top: 50%; left: calc(var(--p, 0) * 100%); width: 11px; height: 13px; transform: translate(-50%, -62%);
  background: #ff3b30; clip-path: polygon(0 0, 100% 0, 100% 55%, 50% 100%, 0 55%); border-radius: 2px 2px 0 0;
}
.linea__scrub::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: calc(var(--p, 0) * 100%); background: #6b6b72; border-radius: 2px; }
.linea__botones { display: flex; justify-content: center; gap: 20px; }
.linea__botones svg { width: 14px; height: 14px; fill: #b4b4ba; }
.linea__botones svg:nth-child(4) { fill: #f0f0f2; }
.linea__logo {
  --tono: #8ec045;
  position: absolute; inset: 0; display: grid; place-items: center; overflow: hidden; isolation: isolate;
  /* fondo oscuro con un halo del color de la marca */
  background: radial-gradient(60% 70% at 50% 50%, color-mix(in srgb, var(--tono) 26%, transparent), transparent 70%), #0b0c0b;
  transition: background .5s;
}
.linea__logo.vacio::after {
  content: attr(data-texto); font-family: var(--fuente-titulo); font-stretch: 125%; font-weight: 800; text-transform: uppercase;
  font-size: clamp(22px, 3.4vw, 40px); color: var(--verde); border: 2px dashed currentColor; border-radius: 8px; padding: .4em .8em;
}
.linea__logo.vacio .linea__logoimg { display: none; }
.linea__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .25s; }
.linea__pantalla.con-video .linea__video { opacity: 1; }
.linea__destello { position: absolute; inset: 0; background: #fff; opacity: 0; pointer-events: none; }
.linea--corte .linea__destello { animation: corteMonitor .35s ease-out; }
@keyframes corteMonitor { from { opacity: .22; } to { opacity: 0; } }
.linea__ficha { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
@media (min-width: 900px) { .linea__ficha { min-height: 170px; justify-content: center; } }
/* Logo del cliente debajo del video: sin tarjeta, en sus colores, con halo de marca y línea de firma */
.linea__marcaficha {
  --tono: #8ec045;
  position: relative; display: inline-flex; align-items: center; padding: 16px 0 18px;
}
.linea__marcaficha::before {             /* halo suave del color de la marca */
  content: ""; position: absolute; z-index: -1; left: -30px; right: -30px; top: -10px; bottom: -10px; pointer-events: none;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--tono) 30%, transparent), transparent);
  filter: blur(6px); transition: background .5s;
}
.linea__marcaficha::after {              /* línea de firma en el color de la marca */
  content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 44px; border-radius: 2px;
  background: var(--tono); box-shadow: 0 0 12px var(--tono); transition: background .5s;
}
.linea--corte .linea__marcaficha::after { animation: firmaLinea .7s cubic-bezier(.2, .8, .2, 1) .15s both; }
@keyframes firmaLinea { from { width: 0; opacity: 0; } to { width: 44px; opacity: 1; } }
.linea__marcaficha.vacio { padding: 0; }
.linea__marcaficha.vacio::before, .linea__marcaficha.vacio .linea__logoimg { display: none; }
.linea__marcaficha.vacio::after {
  position: static; content: attr(data-texto); width: auto; height: auto; background: none; box-shadow: none; animation: none !important;
  font-family: var(--fuente-titulo); font-stretch: 125%; font-weight: 800; text-transform: uppercase;
  font-size: clamp(22px, 3vw, 34px); color: var(--verde); border: 2px dashed currentColor; border-radius: 8px; padding: .35em .7em;
}
/* el logo y su brillo: la luz pasa SOLO sobre la forma del logo (no sobre un recuadro) */
.linea__logoimg { position: relative; display: block; transition: width .3s, height .3s; }
.linea__logoimg img { display: block; width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 6px 18px rgba(0, 0, 0, .45)); }
.linea__brillo {
  position: absolute; inset: 0; pointer-events: none;
  -webkit-mask-size: 100% 100%; mask-size: 100% 100%; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  background: linear-gradient(110deg, transparent 38%, rgba(255, 255, 255, .95) 50%, transparent 62%) no-repeat;
  background-size: 260% 100%; background-position: 160% 0;
}
.linea--corte .linea__brillo { animation: brilloLogo 4.2s ease-in-out .35s infinite; }
.con-video .linea__brillo { animation: none; }
@keyframes brilloLogo {
  0% { background-position: 160% 0; }
  32%, 100% { background-position: -60% 0; }
}
@media (prefers-reduced-motion: reduce) { .linea__brillo, .linea--corte .linea__marcaficha::after { animation: none !important; } }
.linea__num { font: 700 12px/1 ui-monospace, Menlo, monospace; letter-spacing: .14em; color: var(--verde-texto); }
.linea__nombre { font-family: var(--fuente-titulo); font-stretch: 115%; font-size: clamp(26px, 3.4vw, 44px); font-weight: 800; line-height: 1.02; text-transform: uppercase; }
.linea__servicio { color: var(--verde-texto); font-size: 16px; }
.linea__accion {
  margin-top: 6px; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; text-decoration: none;
  color: #0E0F0E; background: var(--verde); padding: 9px 18px; border-radius: 999px; transition: background .2s;
}
.linea__accion:hover { background: var(--verde-hover); }
.linea--corte .linea__ficha > * { animation: fichaEntra .4s ease both; }
.linea--corte .linea__marcaficha { animation-delay: .04s; }
.linea--corte .linea__servicio { animation-delay: .08s; }
.linea--corte .linea__accion { animation-delay: .12s; }

/* ---- Línea de tiempo con aspecto de editor profesional ---- */
.linea__panel {
  --etq: 150px;
  --ui: #1b1b1c; --ui-2: #232325; --ui-3: #2b2b2e; --linea: #0d0d0e; --txt-ui: #9c9ca3;
  position: relative; margin-top: 18px; background: var(--ui); border: 1px solid #000; border-radius: 8px; overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .5), inset 0 1px 0 rgba(255, 255, 255, .04);
  cursor: ew-resize; user-select: none; -webkit-user-select: none; touch-action: pan-y;
  font-family: -apple-system, "Helvetica Neue", Arial, sans-serif;
}
/* barra de herramientas de la línea de tiempo */
.linea__barra {
  display: flex; align-items: center; gap: 14px; height: 38px; padding: 0 12px 0 calc(var(--etq) + 10px);
  background: linear-gradient(#262628, #1f1f21); border-bottom: 1px solid var(--linea);
}
.linea__tcmovil { display: none; }
.linea__herr { flex: 1; display: flex; align-items: center; gap: 2px; min-width: 0; overflow: hidden; }
.linea__herr svg { flex: 0 0 auto; width: 26px; height: 24px; padding: 5px; border-radius: 4px; fill: var(--txt-ui); color: var(--txt-ui); }
.linea__herr svg:first-child { fill: #ff4d3d; }
.linea__herr svg:nth-child(14), .linea__herr svg:nth-child(15) { fill: #3b8cff; }
.linea__herr svg:nth-child(10), .linea__herr svg:nth-child(11) { fill: #e8e8ea; color: #e8e8ea; }
.linea__sep { flex: 0 0 auto; width: 1px; height: 18px; background: #3a3a3e; margin: 0 7px; }
.linea__zoom, .linea__volumen { display: flex; align-items: center; gap: 8px; }
.linea__zoom svg, .linea__volumen svg { width: 15px; height: 15px; fill: var(--txt-ui); color: var(--txt-ui); }
.linea__zoom > span, .linea__volumen > span { position: relative; width: 90px; height: 3px; border-radius: 2px; background: #3a3a3e; }
.linea__volumen > span { width: 70px; }
.linea__zoom > span span, .linea__volumen > span span { position: absolute; left: 0; top: 0; bottom: 0; width: 55%; border-radius: 2px; background: #6b6b72; }
.linea__volumen > span span { width: 85%; background: #e8b730; }
.linea__zoom > span span::after, .linea__volumen > span span::after { content: ""; position: absolute; right: -5px; top: -4px; width: 11px; height: 11px; border-radius: 50%; background: #d6d6da; box-shadow: 0 1px 3px rgba(0, 0, 0, .6); }

/* pistas */
.linea__pistas { position: relative; }
.linea__fila { display: flex; align-items: stretch; border-bottom: 1px solid var(--linea); }
.linea__fila--a1 { border-top: 3px solid #101011; }          /* separación entre video y audio */
.linea__cab {
  flex: 0 0 var(--etq); display: flex; align-items: center; gap: 10px; padding: 0 10px; min-width: 0;
  background: var(--ui-2); border-right: 1px solid var(--linea); color: var(--txt-ui); font-size: 11px;
}
.linea__cab b {
  font: 700 11px/1 -apple-system, "Helvetica Neue", Arial, sans-serif; color: #fff; padding: 4px 0; width: 28px; text-align: center; border-radius: 3px;
  background: #7d1f1f; box-shadow: inset 0 0 0 1px #e0413a;
}
.linea__cab i { display: flex; align-items: center; gap: 9px; font-style: normal; font-size: 10px; color: #77777e; }
.linea__cab i svg { width: 12px; height: 12px; fill: #77777e; color: #77777e; }
.linea__cab u { text-decoration: none; font-size: 9.5px; font-weight: 700; color: #8a8a90; background: #2f2f32; border-radius: 2px; padding: 2px 4px; }
.linea__cab em { font-style: normal; color: #8a8a90; }
.linea__cab--audio i { gap: 6px; }
.linea__cab--tc { background: var(--ui); }
.linea__tcgrande { font: 600 18px/1 ui-monospace, Menlo, monospace; letter-spacing: .02em; color: #e8e8ea; font-variant-numeric: tabular-nums; }
.linea__carril { flex: 1; min-width: 0; display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); gap: 1px; padding: 3px 0; background: #161617; position: relative; }
.linea__carril--libre { display: block; }
/* líneas verticales de la cuadrícula del editor */
.linea__fila:not(.linea__fila--regla) .linea__carril {
  background-image: repeating-linear-gradient(90deg, rgba(255, 255, 255, .035) 0 1px, transparent 1px calc(100% / var(--n)));
}

/* regla de tiempo */
.linea__fila--regla .linea__carril { padding: 0; height: 34px; background: var(--ui); gap: 0; border-bottom: 3px solid #3a3a3e; }
.linea__marca {
  position: relative; padding: 5px 0 0 5px; font: 10px/1 ui-monospace, Menlo, monospace; color: var(--txt-ui);
  white-space: nowrap; overflow: hidden; border-left: 1px solid #66666c;
  background:
    repeating-linear-gradient(90deg, #3c3c42 0 1px, transparent 1px 5%) left bottom / 100% 5px no-repeat,
    repeating-linear-gradient(90deg, #4c4c52 0 1px, transparent 1px 25%) left bottom / 100% 9px no-repeat;
}
.linea__marcador {
  position: absolute; bottom: 4px; width: 9px; height: 11px; transform: translateX(-50%); background: #3b8cff;
  clip-path: polygon(0 0, 100% 0, 100% 65%, 50% 100%, 0 65%);
}
.linea__marcador.verde { background: #3CB944; }

/* clips: base común */
.linea__titulo, .linea__clip, .linea__audio, .linea__suelta {
  position: relative; overflow: hidden; border-radius: 3px; min-width: 0;
  transition: filter .15s, box-shadow .15s;
}
.linea__clipnom {
  position: relative; z-index: 1; display: flex; align-items: center; gap: 4px; padding: 3px 6px; font-size: 10.5px; line-height: 1.2; color: rgba(255, 255, 255, .95);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-shadow: 0 1px 2px rgba(0, 0, 0, .6);
}
.linea__clipnom svg { flex: 0 0 auto; width: 10px; height: 10px; fill: currentColor; }
/* el clip activo queda seleccionado (borde rojo-naranja, como en el editor) */
.linea__titulo.activo, .linea__clip.activo, .linea__audio.activo { box-shadow: inset 0 0 0 2px #ff5a36; filter: brightness(1.15); }

/* piezas sueltas (V3 efectos, A2 música, A3 sonidos) */
.linea__suelta { position: absolute; top: 3px; bottom: 3px; display: flex; flex-direction: column; }
.linea__fila--v3 .linea__carril { height: 26px; }
.linea__efecto { background: linear-gradient(#1f8fb0, #17779a); }
.linea__efecto.rosa { background: linear-gradient(#d4508f, #b63f78); }
.linea__fila--a3 .linea__carril { height: 26px; }
.linea__sfx { background: linear-gradient(#e07a2e, #c4651f); }
.linea__sfx.rojo { background: linear-gradient(#9b2323, #7d1a1a); }
.linea__sfx .linea__clipnom, .linea__efecto .linea__clipnom { padding: 0 5px; flex: 1; font-size: 10px; }
.linea__fila--a2 .linea__carril { height: 36px; }
.linea__musica { background: #2b5e3e; }
.linea__musica .linea__clipnom { flex: 0 0 auto; padding: 2px 6px; font-size: 10px; }
.linea__musica .linea__onda { fill: #6fc58a; opacity: .75; }

/* V2: títulos Text+ */
.linea__fila--v2 .linea__carril { height: 30px; }
.linea__titulo { background: linear-gradient(#1f8fb0, #17779a); display: flex; align-items: center; }
.linea__titulo--vacio { background: none; outline: 1px dashed #4a4a50; outline-offset: -1px; }
.linea__titulo--vacio .linea__clipnom { color: #77777e; text-shadow: none; }

/* V1: video con tira de miniaturas; cada cliente con su color de clip */
.linea__fila--v1 .linea__carril { height: 66px; }
.linea__clip { --clip: #3f6a8f; display: flex; flex-direction: column; background: var(--clip); }
.linea__clip .linea__clipnom { background: var(--clip); flex: 0 0 auto; }
.linea__tira {
  flex: 1; position: relative; background-color: color-mix(in srgb, var(--clip) 55%, #000);
  background-repeat: repeat-x; background-size: auto 100%; background-position: left center;
  box-shadow: inset 0 1px 0 rgba(0, 0, 0, .35);
}
.linea__clip--sinvideo .linea__tira { display: grid; place-items: center; }
.linea__mini { height: 100%; padding: 6px; display: grid; place-items: center; }
.linea__mini img { max-height: 100%; max-width: 100%; object-fit: contain; opacity: .85; pointer-events: none; }
.linea__clip--vacio, .linea__clip--vacio .linea__clipnom { background: none; }
.linea__clip--vacio { outline: 1px dashed #4a4a50; outline-offset: -1px; }
.linea__clip--vacio .linea__clipnom { color: #77777e; text-shadow: none; }
.linea__clip--vacio .linea__tira { background: none; box-shadow: none; }

/* A1: audio de cada clip */
.linea__fila--a1 .linea__carril { height: 46px; }
.linea__audio { display: flex; flex-direction: column; background: #2f6b45; }
.linea__audio .linea__clipnom { flex: 0 0 auto; padding: 2px 6px; }
.linea__onda { flex: 1; display: block; width: 100%; min-height: 0; fill: #8fe0a6; opacity: .9; }
.linea__audio--vacio { background: none; outline: 1px dashed #3a3a40; outline-offset: -1px; }

/* cabezal de reproducción */
.linea__cabezal {
  position: absolute; top: 0; bottom: 0; width: 1px; pointer-events: none; z-index: 3; background: #ff3b30;
  left: calc(var(--etq) + (100% - var(--etq)) * var(--p, 0));
}
.linea__cabezal::before {
  content: ""; position: absolute; top: 2px; left: 50%; transform: translateX(-50%); width: 13px; height: 16px; background: #ff3b30;
  clip-path: polygon(0 0, 100% 0, 100% 60%, 50% 100%, 0 60%); border-radius: 2px 2px 0 0;
}
.linea__panel.buscando .linea__cabezal { box-shadow: 0 0 10px rgba(255, 59, 48, .7); }
/* barra de desplazamiento de abajo */
.linea__desliz { height: 12px; padding: 3px 8px 3px calc(var(--etq) + 8px); background: var(--ui); }
.linea__desliz span { display: block; width: 34%; height: 100%; border-radius: 3px; background: #3a3a3e; }
.linea__ayuda { margin-top: 16px; text-align: center; color: var(--texto-suave); font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.linea__ayuda span { color: #ff3b30; }

@media (max-width: 899px) {
  .linea__panel { --etq: 34px; }
  .linea__barra { padding: 0 12px; height: 34px; }
  .linea__tcmovil { display: block; font: 600 14px/1 ui-monospace, Menlo, monospace; color: #e8e8ea; font-variant-numeric: tabular-nums; }
  .linea__herr { display: none; }
  .linea__zoom { margin-left: auto; }
  .linea__zoom > span { width: 60px; }
  .linea__volumen { display: none; }
  .linea__cab { justify-content: center; padding: 0 3px; }
  .linea__cab i, .linea__tcgrande { display: none; }
  .linea__cab b { width: 26px; font-size: 10px; padding: 3px 0; }
  .linea__marca { font-size: 0; }
  .linea__fila--regla .linea__carril { height: 18px; }
  .linea__clipnom, .linea__sfx .linea__clipnom, .linea__efecto .linea__clipnom, .linea__musica .linea__clipnom { font-size: 8px; padding: 1px 3px; }
  .linea__clipnom svg { display: none; }
  .linea__fila--v3 .linea__carril, .linea__fila--a3 .linea__carril { height: 18px; }
  .linea__fila--v2 .linea__carril { height: 22px; }
  .linea__fila--v1 .linea__carril { height: 52px; }
  .linea__fila--a1 .linea__carril { height: 36px; }
  .linea__fila--a2 .linea__carril { height: 26px; }
  .linea__botones { gap: 16px; }
  .linea__visor { font-size: 10px; }
  .linea__visor b { font-size: 9.5px; }
}
@media (prefers-reduced-motion: reduce) { .linea--corte .linea__ficha > *, .linea--corte .linea__destello { animation: none; } }

/* ---------- Contacto (formulario en forma de frase) ---------- */
.seccion--contacto { background: var(--fondo); position: relative; overflow: hidden; }
.seccion--contacto::after { content: ""; position: absolute; width: 600px; height: 600px; right: -200px; bottom: -300px; border-radius: 50%; background: radial-gradient(color-mix(in srgb, var(--verde) 18%, transparent), transparent 70%); pointer-events: none; }
.frase-form { position: relative; z-index: 1; margin-top: 40px; font-size: clamp(22px, 3.4vw, 42px); line-height: 1.75; font-weight: 700; letter-spacing: -.01em; max-width: 1100px; }
.frase-form input[type="text"], .frase-form input[type="email"] {
  background: transparent; border: 0; border-bottom: 2px solid var(--borde); color: var(--verde-texto);
  font-weight: 700; font-size: inherit; padding: 0 4px; margin: 0 2px; width: auto; min-width: 5ch; max-width: 100%;
  transition: border-color .2s; border-radius: 0; line-height: 1.2;
}
.frase-form input::placeholder { color: var(--texto-suave); opacity: .55; font-weight: 400; }
.frase-form input:focus { outline: none; border-color: var(--verde); }
.frase-form input.error { border-color: #e5484d; }
.acepto { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; font-weight: 400; color: var(--texto-suave); margin-top: 32px; line-height: 1.5; max-width: 720px; cursor: pointer; }
.acepto input { width: 22px; height: 22px; accent-color: var(--verde); flex: none; margin-top: 1px; }
.form-acciones { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.form-mensaje { font-size: 16px; font-weight: 700; }
.form-mensaje.ok { color: var(--verde-texto); }
.form-mensaje.mal { color: #e5484d; }
.oculto-visual { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Pie ---------- */
.pie { border-top: 1px solid var(--borde); padding: 48px 16px 32px; }
.pie__arriba { display: grid; gap: 28px; }
.pie__logo { width: 110px; }
.pie__marca { display: inline-flex; flex-direction: column; align-items: center; gap: 10px; text-decoration: none; justify-self: start; }
.pie__marca img { width: 64px; height: 64px; transition: transform .6s ease; }
.pie__marca:hover img { transform: rotate(360deg); }
.pie__marca span { color: var(--verde-texto); font-weight: 700; font-stretch: 125%; font-size: 22px; line-height: 1; text-align: center; letter-spacing: .02em; }
:root[data-tema="claro"] .pie__marca img { filter: invert(1) brightness(.35); }
.pie__enlaces { display: flex; flex-wrap: wrap; gap: 12px 28px; }
.pie__enlaces a { text-decoration: none; color: var(--texto-suave); }
.pie__enlaces a:hover { color: var(--verde-texto); }
.pie__abajo { margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--borde); color: var(--texto-suave); font-size: 14px; }

/* ---------- Ventana del reel ---------- */
.ventana { position: fixed; inset: 0; z-index: 500; background: rgba(0,0,0,.94); display: grid; place-items: center; padding: 16px; animation: aparecer .3s ease; }
.ventana__video { width: min(100%, 1280px); aspect-ratio: 16 / 9; background: #000; border-radius: 10px; overflow: hidden; display: grid; place-items: center; color: #ccc; text-align: center; padding: 0; }
.ventana__video iframe { width: 100%; height: 100%; border: 0; }
.ventana__video p { padding: 24px; font-size: 18px; }
.ventana__cerrar { position: absolute; top: 14px; right: 14px; width: 48px; height: 48px; border-radius: 50%; border: 1px solid #444; background: #111; color: #fff; font-size: 28px; line-height: 1; cursor: pointer; }
.ventana__cerrar:hover { background: var(--verde); color: #1d1d1b; border-color: var(--verde); }

/* =========================================================
   PÁGINA DE INICIO Y PÁGINAS DE SERVICIO
   ========================================================= */

/* Menú con dos columnas: secciones + servicios */
.menu__columnas { width: 100%; max-width: var(--ancho); margin: 0 auto; display: grid; gap: 32px; overflow-y: auto; }
.menu__servicios ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.menu__servicios li { overflow: hidden; }
.menu__servicios a { display: inline-block; padding: 6px 0; text-decoration: none; font-size: 20px; color: var(--texto-suave); transform: translateY(100%); animation: subir .5s cubic-bezier(.2,.8,.2,1) forwards; }
.menu__servicios a:hover, .menu__servicios a[aria-current] { color: var(--verde-texto); }

/* Portada con video de fondo */
.hero--video .hero__video { opacity: .55; filter: none; }
.hero__velo { position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(20,20,19,.92) 0%, rgba(20,20,19,.7) 45%, rgba(20,20,19,.35) 100%),
              linear-gradient(0deg, var(--fondo) 0%, transparent 30%); }
:root[data-tema="claro"] .hero__velo { background: linear-gradient(90deg, rgba(255,255,255,.94), rgba(255,255,255,.6)), linear-gradient(0deg, #fff, transparent 30%); }
.hero--video .hero__grid, .hero--video .contenedor { position: relative; z-index: 1; }
.hero--servicio { min-height: 88svh; align-items: flex-end; }
.hero__titular--svc { font-weight: 700; text-transform: uppercase; max-width: 14ch; letter-spacing: -.03em; }
.hero__lema { font-size: clamp(22px, 2.8vw, 34px); margin-top: 16px; max-width: 26ch; line-height: 1.2; }
.hero__lema em { font-style: normal; color: var(--verde-texto); font-weight: 700; }
.volver { display: table; color: var(--texto-suave); text-decoration: none; font-size: 15px; margin-bottom: 26px; }
.volver:hover { color: var(--verde-texto); }

/* Cinta de frases en movimiento */
.cinta { overflow: hidden; border-block: 1px solid var(--borde); background: var(--verde); color: #1d1d1b; padding: 16px 0; }
.cinta__pista { display: flex; width: max-content; gap: 28px; align-items: center; animation: cinta 28s linear infinite; }
.cinta__pista span { font-size: clamp(20px, 2.6vw, 34px); font-weight: 700; text-transform: uppercase; letter-spacing: -.01em; white-space: nowrap; }
.cinta__pista i { font-style: normal; font-size: 20px; }
@keyframes cinta { to { transform: translateX(-50%); } }
.cinta:hover .cinta__pista { animation-play-state: paused; }

/* Lista de servicios estilo "hover con video" */
.lista-svc { list-style: none; margin: 48px 0 0; padding: 0; border-top: 1px solid var(--borde); }
.item-svc {
  display: grid; grid-template-columns: auto 1fr auto; gap: 8px 18px; align-items: center;
  padding: 26px 0; border-bottom: 1px solid var(--borde); text-decoration: none; position: relative; transition: padding .35s ease, color .25s;
}
.item-svc__num { color: var(--verde-texto); font-weight: 700; font-size: 14px; letter-spacing: .1em; align-self: start; padding-top: 10px; }
.item-svc__media { display: none; }
.item-svc__nombre { display: block; font-size: clamp(28px, 5.2vw, 68px); font-weight: 700; text-transform: uppercase; letter-spacing: -.03em; line-height: 1; transition: color .25s, transform .35s; }
.item-svc__corto { display: block; color: var(--texto-suave); margin-top: 8px; font-size: 16px; }
.item-svc__flecha { width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--borde); display: grid; place-items: center; font-size: 20px; transition: all .3s; }
.lista-svc:hover .item-svc { color: var(--texto-suave); }
.lista-svc .item-svc:hover { color: var(--texto); }
.item-svc:hover .item-svc__nombre { color: var(--verde-texto); transform: translateX(10px); }
.item-svc:hover .item-svc__flecha { background: var(--verde); border-color: var(--verde); color: #1d1d1b; transform: rotate(45deg); }

/* =========================================================
   SERVICIOS = LOS DÍAS DE LA CREACIÓN
   Cada tarjeta empieza "en el vacío" (oscura, en gris).
   Al pasar el cursor, la luz sigue al mouse y revela el video
   en color; la tarjeta se inclina como una pantalla.
   ========================================================= */
@property --r { syntax: "<percentage>"; inherits: true; initial-value: 0%; }
.creacion {
  list-style: none; margin: 48px 0 0; padding: 0;
  display: grid; gap: 14px; grid-template-columns: 1fr; grid-auto-rows: minmax(360px, auto);
}
.creacion__celda { display: flex; }
.creacion__celda.revelar { transition-delay: calc(var(--d) * 70ms); }
.creacion { grid-auto-rows: auto; }
.creacion__celda { min-height: 340px; }
.creacion__celda--principal { min-height: 440px; }
@media (min-width: 700px) {
  .creacion { grid-template-columns: 1fr 1fr; }
  .creacion__celda { min-height: 280px; }
  .creacion__celda--principal { min-height: 400px; }
  .creacion__celda:first-child { grid-column: span 2; }
}
/* Escritorio: arriba los 3 principales grandes, abajo los otros 3 y el Día 7 a lo ancho */
@media (min-width: 1000px) {
  .creacion { grid-template-columns: repeat(12, 1fr); }
  .creacion__celda { grid-column: span 3; min-height: 350px; }
  .creacion__celda--principal, .creacion__celda:first-child { grid-column: span 4; }
  .creacion__celda--principal { min-height: 470px; }
  .creacion__celda--siete { grid-column: 1 / -1; min-height: 210px; }
  .creacion__celda:not(.creacion__celda--principal):not(.creacion__celda--siete) .dia__nombre { font-size: clamp(18px, 1.75vw, 24px); }
  .creacion__celda:not(.creacion__celda--principal) .dia__glifo { top: 36%; width: 50px; height: 50px; }
}

.dia {
  --mx: 50%; --my: 45%; --rx: 0deg; --ry: 0deg;
  position: relative; flex: 1; display: block; overflow: hidden; isolation: isolate;
  border-radius: 18px; background: #060706; color: #f2f2f2; text-decoration: none;
  border: 1px solid rgba(255,255,255,.07);
  transform: perspective(1000px) rotateX(var(--rx)) rotateY(var(--ry));
  transition: transform .5s cubic-bezier(.2,.8,.2,1), box-shadow .5s, border-color .5s, --r .8s cubic-bezier(.2,.8,.2,1);
  box-shadow: 0 10px 30px rgba(0,0,0,.25);
}
.dia > span { position: absolute; }
.dia__vacio, .dia__luz, .dia__velo { inset: 0; }
.dia__vacio img, .dia__luz img, .dia__luz video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* El vacío: la imagen apenas se intuye */
.dia__vacio img { filter: grayscale(1) brightness(.26) contrast(1.15); transform: scale(1.06); }
/* La luz: aparece desde donde está el cursor */
.dia__luz {
  -webkit-mask-image: radial-gradient(circle at var(--mx) var(--my), #000 var(--r), transparent calc(var(--r) + 30%));
  mask-image: radial-gradient(circle at var(--mx) var(--my), #000 var(--r), transparent calc(var(--r) + 30%));
}
.dia__luz img, .dia__luz video { transform: scale(1.06); transition: transform 1.2s cubic-bezier(.2,.8,.2,1); }
.dia.encendido { --r: 55%; border-color: rgba(142,192,69,.45); box-shadow: 0 30px 70px rgba(0,0,0,.45), 0 0 0 1px rgba(142,192,69,.25); }
.dia.encendido .dia__luz img, .dia.encendido .dia__luz video { transform: scale(1); }
/* Velo para que el texto se lea + resplandor cálido que sigue al cursor */
.dia__velo { background: linear-gradient(to top, rgba(0,0,0,.88) 0%, rgba(0,0,0,.35) 45%, rgba(0,0,0,.15) 70%, rgba(0,0,0,.5) 100%); }
.dia__velo::after {
  content: ""; position: absolute; inset: 0; opacity: 0; transition: opacity .5s;
  background: radial-gradient(circle at var(--mx) var(--my), rgba(255,250,225,.22), transparent 38%);
  mix-blend-mode: screen;
}
.dia.encendido .dia__velo::after { opacity: 1; }
/* La "semilla": el dibujo del día flotando en el vacío */
.dia__glifo {
  left: 50%; top: 42%; width: 62px; height: 62px; translate: -50% -50%; color: rgba(242,242,242,.32);
  transition: opacity .5s, scale .6s cubic-bezier(.2,.8,.2,1);
  animation: flotaGlifo 5s ease-in-out infinite;
}
.dia__glifo svg { width: 100%; height: 100%; }
.dia__glifo svg * { stroke-dasharray: 70; animation: trazaGlifo 3.2s ease-in-out infinite alternate; }
.creacion__celda--principal .dia__glifo { width: 84px; height: 84px; }
.dia.encendido .dia__glifo { opacity: 0; scale: 1.8; }
@keyframes flotaGlifo { 50% { transform: translateY(-8px); } }
@keyframes trazaGlifo { from { stroke-dashoffset: 70; } to { stroke-dashoffset: 0; } }
/* Esquinas de visor de cámara */
.dia__visor { inset: 14px; pointer-events: none; transition: inset .5s cubic-bezier(.2,.8,.2,1); }
.dia__visor i { position: absolute; width: 18px; height: 18px; border: 0 solid rgba(242,242,242,.4); transition: border-color .4s; }
.dia__visor i:nth-child(1) { top: 0; left: 0; border-top-width: 2px; border-left-width: 2px; }
.dia__visor i:nth-child(2) { top: 0; right: 0; border-top-width: 2px; border-right-width: 2px; }
.dia__visor i:nth-child(3) { bottom: 0; left: 0; border-bottom-width: 2px; border-left-width: 2px; }
.dia__visor i:nth-child(4) { bottom: 0; right: 0; border-bottom-width: 2px; border-right-width: 2px; }
.dia.encendido .dia__visor { inset: 9px; }
.dia.encendido .dia__visor i { border-color: var(--verde); }
/* Arriba: "Día 01" y REC */
.dia__arriba, .dia__abajo { text-shadow: 0 1px 10px rgba(0,0,0,.7); }
.dia__arriba { top: 26px; left: 28px; right: 28px; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.dia__num { font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: #8ec045; }
.dia__rec { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 700; letter-spacing: .12em; opacity: 0; transition: opacity .3s; }
.dia__rec b { width: 8px; height: 8px; border-radius: 50%; background: #e5372b; animation: parpadeoRec 1s steps(2, start) infinite; }
.dia.encendido .dia__rec { opacity: 1; }
@keyframes parpadeoRec { to { visibility: hidden; } }
/* Abajo: frase del día, nombre y descripción */
.dia__abajo { left: 28px; right: 84px; bottom: 26px; display: flex; flex-direction: column; gap: 6px; }
.dia__frase { font-size: 13px; font-style: italic; color: rgba(242,242,242,.6); transition: color .4s; }
.dia.encendido .dia__frase { color: #8ec045; }
.dia__nombre {
  font-family: var(--fuente-titulo); font-stretch: 115%; font-weight: 700; text-transform: uppercase;
  font-size: clamp(22px, 2.1vw, 30px); line-height: 1.02; transition: transform .5s cubic-bezier(.2,.8,.2,1);
}
.creacion__celda--principal .dia__nombre { font-size: clamp(28px, 2.9vw, 42px); }
.dia__corto { font-size: 14px; color: rgba(242,242,242,.72); line-height: 1.4; }
.dia__flecha {
  right: 24px; bottom: 26px; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid rgba(242,242,242,.3); font-size: 18px; transition: all .35s;
}
.dia.encendido .dia__flecha { background: var(--verde); border-color: var(--verde); color: #1d1d1b; transform: rotate(45deg); }
.dia:focus-visible { outline: 3px solid var(--verde); outline-offset: 4px; }

/* Señal "en vivo" (servicio sin video todavía) */
.senal { position: absolute; inset: 0; display: block; overflow: hidden;
  background: radial-gradient(circle at 50% 40%, rgba(229,55,43,.35), transparent 45%), linear-gradient(160deg, #1a0f12, #090909 60%); }
.dia__vacio .senal { filter: grayscale(1) brightness(.45); }
.senal__ondas { position: absolute; left: 50%; top: 32%; }
.senal__ondas i { position: absolute; left: 0; top: 0; width: 60px; height: 60px; margin: -30px 0 0 -30px; border-radius: 50%;
  border: 2px solid rgba(255,120,110,.7); animation: ondaVivo 2.4s ease-out infinite; }
.senal__ondas i:nth-child(2) { animation-delay: .8s; }
.senal__ondas i:nth-child(3) { animation-delay: 1.6s; }
@keyframes ondaVivo { from { transform: scale(.3); opacity: 1; } to { transform: scale(4.5); opacity: 0; } }
.senal__vivo { position: absolute; left: 50%; top: 32%; translate: -50% -50%; display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
  background: #e5372b; color: #fff; font-weight: 700; font-size: 12px; letter-spacing: .14em; padding: 7px 12px; border-radius: 6px; box-shadow: 0 0 30px rgba(229,55,43,.6); }
.senal__vivo b { width: 8px; height: 8px; border-radius: 50%; background: #fff; animation: parpadeoRec 1s steps(2, start) infinite; }
.senal__barras { position: absolute; left: 0; right: 0; bottom: 0; height: 38%; display: flex; align-items: flex-end; gap: 4px; padding: 0 14px; opacity: .35; }
.senal__barras i { flex: 1; height: var(--h); background: linear-gradient(to top, #8ec045, rgba(142,192,69,.1)); border-radius: 2px 2px 0 0;
  transform-origin: bottom; animation: barraVivo 1s ease-in-out infinite alternate; }
@keyframes barraVivo { from { transform: scaleY(.35); } to { transform: scaleY(1); } }
.dia__luz .senal ~ * { display: none; }

/* Día 7: el cierre, una tarjeta que invita a crear juntos */
.dia--siete {
  background: radial-gradient(120% 140% at 100% 0%, rgba(60,185,68,.32), transparent 55%), radial-gradient(80% 90% at 0% 100%, rgba(142,192,69,.14), transparent 60%), #0a0c0a;
  border: 1px dashed rgba(142,192,69,.45);
}
.dia__estrellas { inset: 0; }
.dia__estrellas i { position: absolute; width: var(--t); height: var(--t); border-radius: 50%; background: #fffae1; opacity: .25; animation: titila 3.2s ease-in-out infinite; }
.dia--siete:hover .dia__estrellas i { opacity: .8; }
@keyframes titila { 50% { opacity: .9; transform: scale(1.6); } }
.dia--siete .dia__abajo { right: 28px; }
.dia--siete .dia__nombre { font-size: clamp(24px, 2.4vw, 34px); }
.dia__boton { position: static; align-self: flex-start; margin-top: 10px; pointer-events: none; }
.dia--siete:hover { border-style: solid; border-color: var(--verde); }

/* Celular: la tarjeta que está en pantalla se "enciende" completa */
@media (hover: none), (pointer: coarse) {
  .dia.encendido { --r: 140%; }
}
@media (prefers-reduced-motion: reduce) {
  .dia { transform: none; transition: none; }
  .dia__glifo, .dia__glifo svg *, .dia__estrellas i, .dia__rec b, .senal *, .senal__ondas i { animation: none; }
  .dia.encendido { --r: 140%; }
}

/* Video que sigue al cursor */
.flotante {
  position: fixed; left: 0; top: 0; z-index: 120; width: 240px; height: 300px; border-radius: 14px; overflow: hidden;
  pointer-events: none; opacity: 0; scale: .6; transition: opacity .3s ease, scale .35s cubic-bezier(.2,.8,.2,1);
  box-shadow: 0 30px 80px rgba(0,0,0,.55); background: #000;
}
.flotante video { width: 100%; height: 100%; object-fit: cover; }
.flotante.visible { opacity: 1; scale: 1; }

/* En celular: cada servicio con su imagen */
@media (hover: none), (max-width: 699px) {
  .item-svc { grid-template-columns: 1fr auto; padding: 20px 0; }
  .item-svc__num { display: none; }
  .item-svc__media { display: block; grid-column: 1 / -1; aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; margin-bottom: 8px; }
  .item-svc__media img { width: 100%; height: 100%; object-fit: cover; }
  .flotante { display: none; }
}

/* Etapas (Preproducción, Producción, Posproducción) */
.etapas { border-top: 1px solid var(--borde); }
.etapa { border-bottom: 1px solid var(--borde); }
.etapa__cabeza { width: 100%; background: none; border: 0; cursor: pointer; display: flex; align-items: center; gap: 18px; padding: 22px 0; text-align: left; }
.etapa__num { color: var(--verde-texto); font-weight: 700; font-size: 13px; letter-spacing: .1em; }
.etapa__titulo { flex: 1; font-size: clamp(22px, 3vw, 34px); font-weight: 700; text-transform: uppercase; }
.etapa__cabeza:hover .etapa__titulo { color: var(--verde-texto); }
.etapa__cabeza[aria-expanded="true"] .servicio__mas { background: var(--verde); border-color: var(--verde); color: #1d1d1b; transform: rotate(180deg); }
.etapa__cabeza[aria-expanded="true"] .servicio__mas::after { transform: rotate(0); }
.etapa__cuerpo { padding: 0 0 26px 40px; color: var(--texto-suave); font-size: 18px; max-width: 70ch; animation: aparecer .4s ease; }

/* Fórmula ACTITUD + CREATIVIDAD + INMEDIATEZ + AMOR */
.formula { margin-top: 80px; text-align: center; }
.formula__palabras { display: flex; flex-wrap: wrap; justify-content: center; align-items: baseline; gap: 6px 16px; font-size: clamp(28px, 5vw, 64px); font-weight: 700; text-transform: uppercase; letter-spacing: -.02em; margin: 10px 0 18px; }
.formula__mas { color: var(--verde-texto); }
.formula__palabra { color: var(--texto-suave); animation: brillar 6s infinite; animation-delay: calc(var(--i) * 1.5s); }
@keyframes brillar { 0%, 30%, 100% { color: var(--texto-suave); } 8%, 22% { color: var(--verde-texto); } }
.formula .parrafo { margin: 0 auto; }

/* Fórmula secreta grande e interactiva (inspirada en la camiseta del manual de marca) */
.formula2 { position: relative; overflow: hidden; padding: 110px 16px; background: var(--negro-marca, #1d1d1b); border-block: 1px solid var(--borde); }
.formula2__simbolo { position: absolute; right: -12%; top: 50%; width: min(70vw, 760px); opacity: .05; transform: translateY(-50%) rotate(-20deg); pointer-events: none; transition: transform .2s linear; }
.formula2__grid { position: relative; display: grid; gap: 40px; align-items: center; }
.formula2__titulo { font-style: italic; font-size: clamp(18px, 2vw, 24px); color: var(--texto-suave); margin-bottom: 10px; }
.formula2__palabras { display: grid; justify-items: start; padding-left: clamp(22px, 4vw, 56px); }
.formula2__palabra {
  --p: 0%;
  position: relative; background: none; border: 0; padding: 0 0 0 0; cursor: pointer; text-align: left;
  font-size: clamp(30px, min(9.5vw, 7.2vw + 8px), 100px); font-weight: 800; line-height: .98; text-transform: uppercase;
  color: var(--texto); transition: transform .35s ease, color .25s;
}
.formula2__palabra--borde {
  color: transparent; -webkit-text-stroke: 1.5px var(--verde);
  background-image: linear-gradient(90deg, #3CB944, #8ec045 var(--p), transparent var(--p));
  -webkit-background-clip: text; background-clip: text;
}
.formula2__palabra::before {
  content: "+"; position: absolute; left: -.55em; top: 50%; transform: translateY(-50%) scale(.4); opacity: 0;
  color: var(--verde); font-size: .6em; transition: opacity .25s, transform .35s;
}
.formula2__palabra:hover, .formula2__palabra[aria-selected="true"] { transform: translateX(.5em); }
.formula2__palabra[aria-selected="true"]::before { opacity: 1; transform: translateY(-50%) scale(1); }
/* La palabra elegida (cursor encima o tocada) se pone verde; las demás blancas; AMOR siempre verde */
.formula2__palabra[aria-selected="true"]:not(.formula2__palabra--borde) { color: var(--verde-texto); }
/* AMOR: en contorno verde que se va llenando al bajar (y se llena completo al elegirlo) */
.formula2__palabra--borde[aria-selected="true"] { --p: 100% !important; }
.formula2__palabra:focus-visible { outline-offset: 6px; }
.formula2__panel { border: 1px solid var(--borde); border-radius: var(--radio); padding: 28px; background: rgba(20,20,19,.6); backdrop-filter: blur(6px); }
.formula2__ayuda { color: var(--verde-texto); font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.formula2__num { margin-top: 18px; font-size: 13px; color: var(--texto-suave); letter-spacing: .12em; }
.formula2__significado { margin-top: 8px; font-size: clamp(19px, 1.8vw, 23px); line-height: 1.4; font-weight: 500; min-height: 4.2em; }
.formula2__significado.cambia { animation: aparecer .45s ease; }
.formula2__pie { margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--borde); color: var(--texto-suave); font-size: 15px; }
:root[data-tema="claro"] .formula2 { background: var(--fondo-alt); }
:root[data-tema="claro"] .formula2__panel { background: rgba(255,255,255,.75); }
:root[data-tema="claro"] .formula2__simbolo { filter: invert(1); opacity: .06; }
@media (min-width: 980px) {
  .formula2 { padding: 140px 32px; }
  .formula2__grid { grid-template-columns: minmax(0, 1.5fr) minmax(300px, 1fr); gap: 56px; }

}

/* Franja verde con el lema de la agencia (como la firma de correo del manual) */
.franja {
  background: var(--verde); color: #1d1d1b; text-align: center; text-transform: uppercase;
  font-size: clamp(11px, 1.2vw, 14px); font-weight: 600; letter-spacing: .32em; line-height: 1.5;
  padding: 12px 18px; border-radius: 999px; margin-bottom: 40px; transition: letter-spacing .5s ease;
}
.franja:hover { letter-spacing: .4em; }
@media (max-width: 699px) { .franja { letter-spacing: .14em; border-radius: 14px; } .franja:hover { letter-spacing: .14em; } }

/* Metodología: pasos en fila */
.metodologia { position: relative; background: var(--fondo); }
.metodologia__pin { padding: 96px 16px; }
.metodologia__cab { margin-bottom: 40px; padding: 0; }
.metodologia__pista { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.paso-m { display: flex; gap: 16px; align-items: center; padding: 18px 20px; border: 1px solid var(--borde); border-radius: 14px; background: var(--superficie); }
.paso-m__num { flex: none; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--verde); color: var(--verde-texto); display: grid; place-items: center; font-weight: 700; font-size: 14px; transition: background .3s, color .3s; }
.paso-m__texto { font-weight: 700; font-size: 18px; line-height: 1.25; }
.paso-m--extremo { background: var(--verde); color: #1d1d1b; border-color: var(--verde); justify-content: space-between; }
.paso-m--extremo .paso-m__texto { font-size: 22px; text-transform: uppercase; }
.paso-m__flecha { font-size: 28px; }
.metodologia__barra { display: none; }

.metodologia--horizontal .metodologia__pin { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; justify-content: center; overflow: hidden; padding: 0 32px; }
.metodologia--horizontal .metodologia__pista { display: flex; gap: 20px; width: max-content; will-change: transform; padding-right: 32px; }
.metodologia--horizontal .paso-m { flex-direction: column; align-items: flex-start; justify-content: space-between; width: 280px; height: 300px; padding: 26px; opacity: .45; transition: opacity .4s, border-color .4s, transform .4s; }
.metodologia--horizontal .paso-m.activo { opacity: 1; border-color: var(--verde); }
.metodologia--horizontal .paso-m.activo .paso-m__num { background: var(--verde); color: #1d1d1b; }
.metodologia--horizontal .paso-m__texto { font-size: 24px; }
.metodologia--horizontal .paso-m--extremo { opacity: 1; width: 240px; }
.metodologia--horizontal .metodologia__barra { display: block; margin-top: 36px; height: 2px; background: var(--borde); max-width: var(--ancho); width: 100%; margin-inline: auto; }
.metodologia--horizontal .metodologia__barra i { display: block; height: 100%; background: var(--verde); transform-origin: left; transform: scaleX(0); }
.metodologia--horizontal .metodologia__cab { width: 100%; }

/* Testimonios */
.testimonios { display: grid; gap: 16px; margin-top: 24px; }
.testimonio { margin: 0; padding: 28px; border: 1px solid var(--borde); border-radius: var(--radio); background: var(--superficie); }
.testimonio blockquote { margin: 0 0 16px; font-size: 19px; }
.testimonio figcaption { color: var(--texto-suave); }

/* ---------- El equipo de Génesis (ilustraciones propias, equipo.js) ---------- */
.eq { display: block; height: 100%; width: auto; overflow: visible; fill: var(--eq-cuerpo, #f2f2f0); }
.eq .eq-l { fill: none; stroke: var(--eq-cuerpo, #f2f2f0); stroke-linecap: round; stroke-linejoin: round; }
.eq .eq-acento { fill: var(--eq-acento, #8ec045); }
.eq .eq-suave { opacity: .6; }
.eq .eq-oscuro, .eq .eq-pantalla { fill: #1d1d1b; }
.eq .eq-rec { fill: #e5484d; animation: eqRec 1s steps(2, jump-none) infinite; }
.eq .eq-haz { opacity: var(--eq-luz, .55); transition: opacity .5s; }
.eq .eq-foco, .eq .eq-brazo { transform-box: view-box; transform-origin: 0 0; }
.eq .eq-foco { transform: rotate(var(--eq-giro, 25.8deg)); transition: transform .6s cubic-bezier(.3,1.4,.5,1); }
.eq .eq-brazo { transform: rotate(var(--eq-abre, -26deg)); transition: transform .2s cubic-bezier(.6,0,.4,1.6); }
.eq .eq-cursor { fill: #e5484d; animation: eqCursor 3.2s linear infinite; }
.eq .eq-mano { animation: eqTeclea .5s ease-in-out infinite alternate; animation-play-state: var(--eq-tecleo, paused); transform-origin: .01px -.76px; }
@keyframes eqRec { from { opacity: 1; } to { opacity: .15; } }
@keyframes eqCursor { from { transform: translateX(0); } to { transform: translateX(.28px); } }
@keyframes eqTeclea { from { transform: translateY(0); } to { transform: translateY(.025px); } }
@media (prefers-reduced-motion: reduce) { .eq .eq-rec, .eq .eq-cursor, .eq .eq-mano { animation: none; } }

/* ---------- ¿Qué esperas? ¡Cámara! ¡Luces! ¡Acción! (animado) ---------- */
.accion { text-align: center; overflow: hidden; }
.accion__caja { display: flex; flex-direction: column; align-items: center; gap: 26px; }
.accion .titulo { max-width: none; }
.escena {
  position: relative; display: flex; align-items: flex-end; justify-content: center; gap: clamp(10px, 3vw, 44px);
  padding: 30px 0 0; width: 100%;
}
.escena__piso { position: absolute; left: 50%; bottom: 0; width: min(760px, 100%); height: 1px; transform: translateX(-50%) scaleX(.2); opacity: 0; transition: transform 1s cubic-bezier(.2,.8,.2,1), opacity .6s; background: linear-gradient(90deg, transparent, var(--borde) 15%, var(--borde) 85%, transparent); }
.escena.paso-1 .escena__piso { transform: translateX(-50%); opacity: 1; }
.escena__foco {
  position: absolute; left: 50%; top: 45%; width: min(620px, 120%); aspect-ratio: 1.4; transform: translate(-50%, -50%); pointer-events: none;
  background: radial-gradient(closest-side, rgba(255, 250, 225, .13), rgba(255, 250, 225, .04) 55%, transparent); opacity: 0;
}

/* personajes: fuera de escena hasta que se les nombra; entran caminando */
.escena__p { position: relative; z-index: 1; display: block; opacity: 0; }
.escena__p--camara { height: clamp(120px, 17vw, 210px); }
.escena__p--luces { height: clamp(140px, 20vw, 250px); --eq-giro: -60deg; }
.escena__p .eq-rec { animation-play-state: paused; opacity: 0; }
.escena__p--luces .eq-haz { opacity: 0; }
.escena.paso-1 .escena__p--camara { animation: entraIzq 1s cubic-bezier(.3,.7,.3,1) both; }
.escena.paso-1 .escena__p--camara .eq-rec { opacity: 1; animation-play-state: running; animation-delay: .9s; }
.escena.paso-2 .escena__p--luces { animation: entraDer 1s cubic-bezier(.3,.7,.3,1) both; --eq-giro: -21deg; }
.escena.paso-2 .escena__p--luces .eq-foco { transition-delay: .7s; }
.escena.paso-2 .escena__p--luces .eq-haz { animation: parpadeo 1s steps(1) .95s both; }
.escena.paso-2 .escena__foco { animation: parpadeoFoco 1s steps(1) .95s both; }
.escena.paso-2 .claqueta__cuerpo { background: #232322; box-shadow: 0 0 60px rgba(255, 250, 225, .08); transition-delay: 1.4s; }
@keyframes entraIzq {
  0% { opacity: 0; transform: translateX(-90px); }
  20% { opacity: 1; }
  25%, 75% { translate: 0 -5px; } 50% { translate: 0 0; }
  100% { opacity: 1; transform: none; translate: 0 0; }
}
@keyframes entraDer {
  0% { opacity: 0; transform: translateX(90px); }
  20% { opacity: 1; }
  25%, 75% { translate: 0 -5px; } 50% { translate: 0 0; }
  100% { opacity: 1; transform: none; translate: 0 0; }
}
/* la luz titila al prender, como un foco de verdad */
@keyframes parpadeo { 0% { opacity: .9; } 12% { opacity: 0; } 22% { opacity: .9; } 30% { opacity: .1; } 42%, 100% { opacity: .9; } }
@keyframes parpadeoFoco { 0% { opacity: 1; } 12% { opacity: 0; } 22% { opacity: 1; } 30% { opacity: 0; } 42%, 100% { opacity: 1; } }

/* ¡Acción!: la claqueta se cierra, la escena tiembla y hay un destello */
.escena.clap .claqueta { animation: clap .5s ease-out .12s; }
.escena.clap { animation: tiembla .35s ease-out .15s; }

/* el director: aparece en su silla, alza el megáfono y grita «¡Acción!» */
.escena__p--director { height: clamp(110px, 15vw, 190px); }
.escena.paso-3 .escena__p--director { animation: entraDirector .6s cubic-bezier(.2,.9,.3,1.3) both; }
@keyframes entraDirector { from { opacity: 0; transform: translateY(30px) scale(.85); } to { opacity: 1; transform: none; } }
.eq .eq-megafono { transform-box: view-box; transform-origin: -0.05px -0.82px; }
.escena__p--director .eq-megafono { transform: rotate(28deg); }
.escena.paso-3 .escena__p--director .eq-megafono { animation: alzaMegafono .9s cubic-bezier(.3,1.4,.5,1) .3s both; }
@keyframes alzaMegafono { 0% { transform: rotate(28deg); } 45% { transform: rotate(-8deg); } 60% { transform: rotate(-2deg); } 75% { transform: rotate(-9deg); } 100% { transform: rotate(-5deg); } }
/* globo del grito, saliendo del megáfono */
.escena__grito {
  position: absolute; left: 58%; bottom: 100%; margin-bottom: 4%; padding: 8px 14px; border-radius: 14px; white-space: nowrap;
  background: var(--verde); color: #10110f; font-family: var(--fuente-titulo); font-stretch: 115%; font-weight: 800; text-transform: uppercase;
  font-size: clamp(13px, 1.6vw, 20px); line-height: 1; box-shadow: 0 8px 24px rgba(60, 185, 68, .35);
  opacity: 0; transform: scale(.3) rotate(-8deg); transform-origin: 0% 100%;
}
.escena__grito::after { content: ""; position: absolute; left: 10px; bottom: -7px; width: 14px; height: 10px; background: var(--verde); clip-path: polygon(0 0, 100% 0, 0 100%); }
.escena.paso-3 .escena__grito { animation: grito 2.4s cubic-bezier(.2,.9,.3,1.4) .5s both; }
@keyframes grito {
  0% { opacity: 0; transform: scale(.3) rotate(-8deg); }
  18% { opacity: 1; transform: scale(1.12) rotate(-4deg); }
  26%, 30% { transform: scale(1) rotate(-4deg); } 28% { transform: scale(1.06) rotate(-2deg); }
  80% { opacity: 1; transform: scale(1) rotate(-4deg); }
  100% { opacity: 0; transform: scale(.9) translateY(-8px) rotate(-4deg); }
}
@keyframes clap { 0% { filter: none; } 30% { filter: brightness(1.8) drop-shadow(0 0 26px rgba(60, 185, 68, .6)); } 100% { filter: none; } }
@keyframes tiembla { 0%, 100% { transform: none; } 25% { transform: translate(-3px, 2px); } 50% { transform: translate(3px, -1px); } 75% { transform: translate(-2px, 1px); } }

.claqueta { position: relative; z-index: 1; width: min(320px, 46vw); flex: 0 0 auto; margin-bottom: 4px; opacity: 0; transform: translateY(24px) scale(.94); transition: opacity .6s, transform .7s cubic-bezier(.2,.9,.3,1.2); }
.escena.paso-1 .claqueta { opacity: 1; transform: none; }
.claqueta__brazo {
  height: 46px; border-radius: 8px 8px 0 0; transform-origin: 6% 100%; transform: rotate(-26deg); transition: transform .22s cubic-bezier(.7,0,.5,1.5);
  background: repeating-linear-gradient(-45deg, #F2F2F2 0 22px, #1A1A1A 22px 44px); border: 2px solid #F2F2F2;
}
.escena.paso-2 .claqueta__brazo { transform: rotate(-20deg); transition-duration: .5s; }
.claqueta__cuerpo { height: 170px; background: #1A1A1A; border: 2px solid #F2F2F2; border-top: 0; border-radius: 0 0 10px 10px; display: grid; place-items: center; transition: background .6s, box-shadow .6s; }
.claqueta__num { font-family: var(--fuente-titulo); font-stretch: 115%; font-size: clamp(26px, 4.4vw, 50px); font-weight: 800; color: #F2F2F2; line-height: 1; text-transform: uppercase; padding: 0 10px; white-space: nowrap; }
/* cada palabra entra letra por letra y sale hacia arriba */
.claqueta__num .letra { display: inline-block; animation: letraPop .5s cubic-bezier(.2,.9,.3,1.5) both; animation-delay: calc(var(--i) * 45ms); }
.claqueta__num.sale .letra { animation: letraSale .25s ease-in both; animation-delay: calc(var(--i) * 15ms); }
@keyframes letraPop { from { opacity: 0; transform: translateY(70%) scale(.4) rotate(-12deg); } to { opacity: 1; transform: none; } }
@keyframes letraSale { to { opacity: 0; transform: translateY(-60%) scale(.8); } }
.claqueta.final .claqueta__brazo { transform: rotate(0); }
.claqueta.final .claqueta__num { color: var(--verde); }
.claqueta.final .claqueta__num .letra { animation: letraSello .55s cubic-bezier(.2,.9,.3,1.3) both; animation-delay: calc(.12s + var(--i) * 35ms); }
@keyframes letraSello { from { opacity: 0; transform: scale(2.4); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }

/* después de ¡Acción!: aparecen la pregunta y el botón */
.accion__titulo .palabra { display: inline-block; white-space: nowrap; }
.accion__titulo .letra { display: inline-block; opacity: 0; }
.accion__caja.listo .accion__titulo .letra { animation: letraSube .7s cubic-bezier(.2,.9,.2,1) both; animation-delay: calc(var(--i) * 45ms); }
.accion__boton { opacity: 0; transform: translateY(16px) scale(.9); pointer-events: none; transition: opacity .5s .75s, transform .6s cubic-bezier(.2,.9,.3,1.4) .75s; }
.accion__caja.listo .accion__boton { opacity: 1; transform: none; pointer-events: auto; }
@media (max-width: 599px) {
  .escena { gap: 6px; }
  .claqueta { width: 40vw; }
  .escena__p--director { height: 76px; }
  .escena__grito { font-size: 11px; padding: 6px 9px; left: 45%; }
  .claqueta__brazo { height: 30px; background: repeating-linear-gradient(-45deg, #F2F2F2 0 14px, #1A1A1A 14px 28px); }
  .claqueta__cuerpo { height: 110px; }
  .escena__p--camara { height: 84px; }
  .escena__p--luces { height: 100px; }
}
@media (prefers-reduced-motion: reduce) {
  .escena *, .escena, .accion__titulo .letra { animation: none !important; }
  .escena.paso-3 .escena__p, .escena.paso-3 .claqueta, .accion__titulo .letra, .accion__boton { opacity: 1; transform: none; }
  .escena.paso-3 .escena__p--luces .eq-haz { opacity: .9; }
  .escena.paso-3 .escena__foco { opacity: 1; }
}

/* Páginas de servicio */
.tarjetas { display: grid; gap: 14px; margin-top: 44px; }
.tarjeta { padding: 26px 24px; border: 1px solid var(--borde); border-radius: var(--radio); background: var(--superficie); position: relative; overflow: hidden; transition: transform .3s, border-color .3s; }
.tarjeta::after { content: ""; position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: var(--verde); transform: scaleX(0); transform-origin: left; transition: transform .4s ease; }
.tarjeta:hover { transform: translateY(-4px); border-color: var(--verde); }
.tarjeta:hover::after { transform: scaleX(1); }
.tarjeta__num { color: var(--verde-texto); font-weight: 700; font-size: 13px; letter-spacing: .12em; }
.tarjeta h3 { font-size: 21px; margin: 14px 0 8px; }
.tarjeta p { color: var(--texto-suave); }
.ideal { margin-top: 48px; }
.etiquetas { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.etiquetas li { padding: 10px 18px; border: 1px solid var(--borde); border-radius: 999px; font-size: 15px; }
a.nota-sub { text-decoration: none; }
a.nota-sub:hover { background: var(--verde); color: #1d1d1b; }
.contenedor--estrecho { max-width: 900px; }
.preguntas { margin-top: 36px; border-top: 1px solid var(--borde); }
.pregunta { border-bottom: 1px solid var(--borde); }
.pregunta summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 18px; padding: 22px 0; font-weight: 700; font-size: 19px; }
.pregunta summary::-webkit-details-marker { display: none; }
.pregunta summary:hover { color: var(--verde-texto); }
.pregunta[open] .servicio__mas { background: var(--verde); border-color: var(--verde); color: #1d1d1b; transform: rotate(180deg); }
.pregunta[open] .servicio__mas::after { transform: rotate(0); }
.pregunta p { color: var(--texto-suave); padding: 0 0 22px; max-width: 70ch; }
.seccion--contacto .titulo em { font-style: normal; color: var(--verde-texto); }
.otros { display: grid; gap: 12px; margin-top: 8px; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.otro { position: relative; display: block; aspect-ratio: 4 / 3; border-radius: 12px; overflow: hidden; text-decoration: none; background: var(--superficie); border: 1px solid var(--borde); }
.otro img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; opacity: .75; }
.otro:hover img { transform: scale(1.07); opacity: 1; }
.otro__nombre { position: absolute; left: 0; right: 0; bottom: 0; padding: 14px; font-weight: 700; color: #fff; background: linear-gradient(transparent, rgba(0,0,0,.85)); }
.proyectos--3 { grid-template-columns: 1fr; }

/* Pie con columnas */
.pie__cols { display: grid; gap: 28px; }
.pie__lista { display: grid; gap: 8px; }
.pie__lista a { text-decoration: none; color: var(--texto-suave); }
.pie__lista a:hover { color: var(--verde-texto); }

/* =================== Pantallas más grandes =================== */
@media (min-width: 700px) {
  .menu__columnas { grid-template-columns: 1.4fr 1fr; align-items: center; }
  .tarjetas { grid-template-columns: repeat(2, 1fr); }
  .testimonios { grid-template-columns: repeat(2, 1fr); }
  .proyectos.proyectos--3 { grid-template-columns: repeat(3, 1fr); }
  .proyectos.proyectos--3 > * { grid-column: auto !important; }
  .pie__cols { grid-template-columns: repeat(2, minmax(180px, auto)); justify-content: end; gap: 56px; }
  .metodologia__pin { padding: 128px 32px; }
  .metodologia__pista { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 980px) {
  .tarjetas { grid-template-columns: repeat(3, 1fr); }
  .item-svc { grid-template-columns: 60px 1fr auto; padding: 34px 0; }
  .item-svc:hover { padding-left: 12px; }
}
@media (min-width: 700px) {
  .barra { padding: 18px 32px; }
  .seccion { padding: 128px 32px; }
  .hero { padding: 140px 32px 64px; }
  .menu { padding: 100px 32px 40px; }
  .pie { padding: 56px 32px 32px; }
  .campos-2 { grid-template-columns: 1fr 1fr; }
  .fases__pestanas { grid-template-columns: repeat(4, 1fr); }
  .fases__pestana { border-bottom: 0; }
  .fases__pestana:last-child { border-right: 0; }
  .fases__panel { padding: 40px; grid-template-columns: 1fr 1.4fr; align-items: start; }
  .niveles { grid-template-columns: repeat(3, 1fr); }
  .dos-col { grid-template-columns: 1fr 1fr; gap: 56px; }
  .proyectos { grid-template-columns: repeat(6, 1fr); }
  .proyectos > :nth-child(1), .proyectos > :nth-child(2) { grid-column: span 3; }
  .proyectos > :nth-child(n+3) { grid-column: span 2; }
  .logos { grid-template-columns: repeat(4, 1fr); }
  .pasos { grid-template-columns: repeat(4, 1fr); gap: 24px; }
  .paso { padding: 80px 0 0; border-top: 0; }
  .paso::before { top: 0; }
  .paso::after { content: ""; position: absolute; top: 22px; left: 56px; right: -12px; height: 1px; background: var(--borde); }
  .paso:last-child::after { display: none; }
}
@media (min-width: 980px) {
  .servicio__cabeza { grid-template-columns: 60px 1fr auto; padding: 36px 0; }
  .servicio__interior { grid-template-columns: 1fr 1.2fr; padding-left: 78px; }
  .servicio__interior > .bloque-ejemplos { grid-column: 1 / -1; }
  .calc { grid-template-columns: 1.3fr 1fr; gap: 40px; }
  .hero__grid { grid-template-columns: 1.05fr 1fr; gap: 64px; }
  .solo-movil { display: none; }
  .panel-cotizar { padding: 30px 28px; }
  .nosotros { grid-template-columns: 1.2fr 1fr; gap: 80px; }
  .pie__arriba { grid-template-columns: auto 1fr; align-items: center; }
  .pie__enlaces { justify-content: flex-end; }
}

/* Personas que prefieren menos movimiento */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .revelar { opacity: 1; transform: none; }
}

/* ---------- El equipo en el resto de la página ---------- */
/* Metodología: el personaje de cada etapa camina sobre la barra de avance */
.metodologia--horizontal .metodologia__barra { position: relative; margin-top: 96px; }
.metodologia__caminante { position: absolute; bottom: 2px; left: 0; height: 74px; transform: translateX(-50%); transition: left .12s linear; }
.metodologia__caminante .eq { position: absolute; bottom: 0; left: 50%; height: 100%; translate: -50% 0; opacity: 0; transform: translateY(8px); transition: opacity .35s, transform .35s; }
.metodologia__caminante[data-rol="claqueta"] .eq--claqueta,
.metodologia__caminante[data-rol="camara"] .eq--camara,
.metodologia__caminante[data-rol="editor"] .eq--editor { opacity: 1; transform: none; }
.metodologia__caminante .eq--claqueta { --eq-abre: -10deg; }

/* Contacto: el editor espera tu mensaje y teclea mientras escribes */
.contacto__editor { position: absolute; right: max(16px, calc((100vw - var(--ancho)) / 2)); bottom: 28px; height: clamp(90px, 12vw, 150px); z-index: 1; opacity: .9; pointer-events: none; }
.contacto__editor .eq-cursor { animation-play-state: paused; }
.contacto__editor.tecleando { --eq-tecleo: running; }
.contacto__editor.tecleando .eq-cursor { animation-play-state: running; }
@media (max-width: 899px) { .contacto__editor { position: relative; right: auto; bottom: auto; margin: 30px auto 0; width: max-content; height: 96px; } }

/* Pie de página: el equipo completo se despide encima de la franja */
.pie__equipo { display: flex; justify-content: flex-end; align-items: flex-end; gap: 14px; height: 54px; padding-right: 28px; margin-bottom: -1px; }
.pie__equipo .eq { height: 100%; --eq-luz: 0; }
.pie__equipo .eq--camara { height: 82%; }
.pie__equipo .eq--claqueta { height: 76%; }
.pie__equipo .eq--editor { height: 76%; }
.pie__equipo .eq--luces { height: 100%; }
@media (max-width: 599px) { .pie__equipo { justify-content: center; padding: 0; height: 44px; } }

/* ---------- Título grande «CLIENTES» ---------- */
.clientes__cab { position: relative; }
.clientes__sobre {
  display: inline-flex; align-items: center; gap: 12px; margin: 0 0 6px; color: var(--verde-texto);
  font-family: var(--fuente-titulo); font-stretch: 115%; font-weight: 700; font-size: 13px; letter-spacing: .32em; text-transform: uppercase;
}
.clientes__sobre::before { content: ""; width: 36px; height: 2px; background: var(--degradado); }
.clientes__grande { position: relative; margin: 0; line-height: .86; }
.clientes__palabra, .clientes__sombra {
  display: block; font-family: var(--fuente-titulo); font-stretch: 125%; font-weight: 800; text-transform: uppercase;
  font-size: clamp(64px, 14.5vw, 210px); letter-spacing: -.01em; white-space: nowrap;
}
/* la palabra: cada letra lleva su pedazo del degradado verde de la marca */
.clientes__palabra { position: relative; z-index: 1; }
.clientes__palabra .letra {
  color: transparent; background: var(--degradado); -webkit-background-clip: text; background-clip: text;
  background-size: calc(var(--n) * 100%) 100%; background-position: calc(var(--i) / max(1, var(--n) - 1) * 100%) 0;
}
/* destello de luz que recorre la palabra */
.clientes__brillo, .clientes__palabra, .clientes__sombra { font-family: var(--fuente-titulo); }
.clientes__brillo {
  position: absolute; left: 0; top: 0; z-index: 2; display: block; pointer-events: none; white-space: nowrap;
  font-stretch: 125%; font-weight: 800; text-transform: uppercase; font-size: clamp(64px, 14.5vw, 210px); letter-spacing: -.01em;
  color: transparent; background: linear-gradient(105deg, transparent 42%, rgba(255, 255, 255, .7) 50%, transparent 58%) no-repeat;
  background-size: 260% 100%; background-position: 160% 0; -webkit-background-clip: text; background-clip: text;
}
.clientes__grande.visible .clientes__brillo { animation: brilloTitulo 5.5s ease-in-out 1.6s infinite; }
@keyframes brilloTitulo { 0% { background-position: 160% 0; } 35%, 100% { background-position: -60% 0; } }
/* copia en contorno, corrida, para dar profundidad (como un título de película) */
.clientes__sombra {
  position: absolute; left: 0; top: 0; z-index: 0; color: transparent; -webkit-text-stroke: 1.5px color-mix(in srgb, var(--verde-marca) 40%, transparent);
  transform: translate(.045em, .06em); opacity: 0; transition: opacity 1s .9s;
}
.clientes__grande.visible .clientes__sombra { opacity: 1; }
/* las letras entran una por una */
.clientes__palabra .letra { display: inline-block; }
.clientes__grande.visible .letra { animation: letraSube .9s cubic-bezier(.2,.9,.2,1) both; animation-delay: calc(var(--i) * 70ms); }
@keyframes letraSube { from { opacity: 0; transform: translateY(55%) rotate(5deg); filter: blur(10px); } to { opacity: 1; transform: none; filter: none; } }
.clientes__lema { margin: 22px 0 10px; font-family: var(--fuente-titulo); font-stretch: 115%; font-weight: 700; font-size: clamp(22px, 3vw, 34px); line-height: 1.15; max-width: 22ch; }
.clientes__lema em { font-style: normal; background: var(--degradado); -webkit-background-clip: text; background-clip: text; color: transparent; }
@media (prefers-reduced-motion: reduce) { .clientes__grande.visible .letra, .clientes__grande.visible .clientes__brillo { animation: none; } }

/* ---------- Metodología «La creación» (metodo.js) ---------- */
.metodo { --f: 0; position: relative; background: var(--fondo); }
.metodo__pin {
  position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden;
  display: flex; flex-direction: column; justify-content: center; gap: 18px; padding: 76px 0 24px;
}
/* el fondo «amanece» a medida que se crea: de la oscuridad a la luz */
.metodo__pin::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(42% 52% at 30% 56%, color-mix(in srgb, var(--verde) calc(var(--f) * 22%), transparent), transparent 70%),
    radial-gradient(70% 60% at 30% 56%, rgba(255, 250, 225, calc(var(--f) * .05)), transparent 70%);
  transition: background .3s;
}
.metodo__cab { position: relative; }
.metodo__cab .titulo { margin: 0; }
.metodo__cuerpo { position: relative; flex: 1; min-height: 0; display: grid; gap: 22px; align-items: center; }
@media (min-width: 900px) {
  .metodo__cuerpo { grid-template-columns: minmax(0, 1.1fr) minmax(300px, .9fr); gap: 48px; }
}
.metodo__sistema { position: relative; height: 100%; min-height: 0; display: grid; place-items: center; }
.metodo__svg { width: 100%; height: 100%; max-height: min(64vh, 600px); overflow: visible; font-family: var(--fuente-titulo); }

/* polvo de la creación */
.metodo__polvo circle { fill: #e9f5d8; opacity: 0; transition: opacity .8s; }
.metodo__polvo circle.ve { opacity: .55; animation: titila 3.2s ease-in-out var(--d) infinite; }
@keyframes titila { 0%, 100% { opacity: .55; } 50% { opacity: .15; } }

/* el play del centro: tenue al inicio, se llena al final */
.metodo__play { fill: url(#mtGrad); fill-opacity: calc(.03 + var(--f) * .1); stroke: color-mix(in srgb, var(--verde-marca) 45%, transparent); stroke-width: .5; stroke-dasharray: 1.4 1.4; transition: fill-opacity .6s; }
.metodo--completo .metodo__play { fill-opacity: 1; stroke-dasharray: none; stroke: #8ec045; animation: playLate 1.8s ease-in-out infinite; filter: url(#mtBrillo); }
@keyframes playLate { 0%, 100% { fill-opacity: 1; } 50% { fill-opacity: .82; } }

/* conexiones: cada punto encendido manda energía al centro */
.metodo__linea { stroke: color-mix(in srgb, var(--verde-marca) 55%, transparent); stroke-width: .3; transition: stroke-dashoffset .9s cubic-bezier(.3,.7,.3,1); }
.metodo__linea.on { stroke-dashoffset: 0 !important; }
.metodo--completo .metodo__linea { stroke: rgba(142, 192, 69, .4); }

/* el trazo de la G */
.metodo__guia { fill: none; stroke: #2a2d2a; stroke-width: 1.6; stroke-linecap: round; stroke-dasharray: .1 2.6; }
.metodo__trazo { fill: none; stroke-width: 2.2; stroke-linecap: round; filter: url(#mtBrillo); }
.metodo__flujo { fill: none; stroke: #fffbe6; stroke-width: 1; stroke-linecap: round; stroke-dasharray: 1 7; opacity: .75; animation: flujo 1.6s linear infinite; }
@keyframes flujo { to { stroke-dashoffset: -16; } }

/* nombres de las fases */
.metodo__nomfase { fill: var(--texto-suave); font-size: 3.6px; font-weight: 800; letter-spacing: .5px; text-anchor: middle; font-stretch: 120%; opacity: 0; transition: opacity .6s, fill .6s; }
.metodo__nomfase.ve { opacity: 1; fill: #8ec045; }

/* nodos */
.metodo__nodo { cursor: pointer; outline: none; }
.metodo__bola { fill: #161816; stroke: #3a3e3a; stroke-width: .5; transition: fill .35s, stroke .35s, r .35s; }
.metodo__cifra { fill: #6f746f; font-size: 2.7px; font-weight: 800; text-anchor: middle; pointer-events: none; transition: fill .35s; }
.metodo__onda { fill: none; stroke: #8ec045; stroke-width: .35; opacity: 0; }
.metodo__nodo.hecho .metodo__bola { fill: #1f3a1d; stroke: #3CB944; }
.metodo__nodo.hecho .metodo__cifra { fill: #cfe8b0; }
.metodo__nodo.activo .metodo__bola { fill: url(#mtGrad); stroke: #e9f5d8; r: 4.4px; }
.metodo__nodo.activo .metodo__cifra { fill: #10110f; }
.metodo__nodo.activo .metodo__onda { animation: ondaNodo 1.8s ease-out infinite; }
.metodo__nodo:hover .metodo__bola, .metodo__nodo:focus-visible .metodo__bola { stroke: #fff; stroke-width: .8; }
@keyframes ondaNodo { from { opacity: .9; transform: scale(.55); } to { opacity: 0; transform: scale(1.35); } }

/* la chispa */
.metodo__chispa { pointer-events: none; }
.metodo__chispa-nucleo { fill: #fffbe6; }
.metodo__chispa-halo { fill: rgba(142, 192, 69, .25); animation: halo 1.2s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
@keyframes halo { 0%, 100% { transform: scale(.7); opacity: .9; } 50% { transform: scale(1.25); opacity: .35; } }
.metodo--completo .metodo__chispa { opacity: 0; transition: opacity .6s; }

/* panel de la derecha */
.metodo__panel { position: relative; display: flex; flex-direction: column; gap: 14px; }
.metodo__textos { min-height: 190px; }
.metodo__fase { display: block; color: var(--verde-texto); font-family: var(--fuente-titulo); font-stretch: 115%; font-weight: 700; font-size: 13px; letter-spacing: .26em; text-transform: uppercase; }
.metodo__num { display: block; margin-top: 10px; font: 700 13px/1 ui-monospace, Menlo, monospace; color: var(--texto-suave); letter-spacing: .1em; min-height: 13px; }
.metodo__titulo { margin: 10px 0 10px; font-family: var(--fuente-titulo); font-stretch: 115%; font-weight: 800; font-size: clamp(26px, 3vw, 40px); line-height: 1.08; text-transform: uppercase; }
.metodo__panel[data-fase="fin"] .metodo__titulo, .metodo__panel[data-fase="inicio"] .metodo__titulo { background: var(--degradado); -webkit-background-clip: text; background-clip: text; color: transparent; }
.metodo__texto { margin: 0; color: var(--texto-suave); font-size: 18px; line-height: 1.5; max-width: 38ch; }
.metodo__textos--cambio > * { animation: textoEntra .55s cubic-bezier(.2,.8,.2,1) both; }
.metodo__textos--cambio > :nth-child(2) { animation-delay: .05s; }
.metodo__textos--cambio > :nth-child(3) { animation-delay: .1s; }
.metodo__textos--cambio > :nth-child(4) { animation-delay: .18s; }
@keyframes textoEntra { from { opacity: 0; transform: translateY(14px); filter: blur(4px); } to { opacity: 1; transform: none; filter: none; } }

/* el equipo que acompaña cada etapa */
.metodo__equipo { display: flex; align-items: flex-end; gap: 12px; height: 88px; border-bottom: 1px solid var(--borde); padding-bottom: 2px; }
.metodo__p { display: block; height: 100%; width: 0; overflow: visible; opacity: 0; transform: translateY(14px); transition: opacity .4s, transform .5s cubic-bezier(.2,.9,.3,1.3), width .4s; }
.metodo__p .eq { height: 100%; }
.metodo__p.ve { opacity: 1; transform: none; width: auto; }
.metodo__p[data-rol="luces"] { --eq-giro: -10deg; --eq-luz: .6; }
.metodo__p[data-rol="director"] .eq-megafono { transform: rotate(-5deg); }

/* barrita de progreso con un botón por punto */
.metodo__barra { display: grid; grid-template-columns: repeat(11, 1fr); gap: 4px; }
.metodo__seg { height: 22px; padding: 9px 0; background: none; border: 0; cursor: pointer; }
.metodo__seg i { display: block; height: 4px; border-radius: 2px; background: #2a2d2a; transition: background .3s, transform .3s; }
.metodo__seg.hecho i { background: var(--degradado); }
.metodo__seg.activo i { transform: scaleY(1.8); box-shadow: 0 0 10px rgba(60, 185, 68, .6); }
.metodo__seg:hover i { background: #8ec045; }
.metodo__ayuda { margin: 0; color: var(--texto-suave); font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.metodo__ayuda span { color: var(--verde); }

@media (max-width: 899px) {
  .metodo__pin { padding: 68px 0 14px; gap: 6px; justify-content: flex-start; }
  .metodo__cab .titulo { font-size: clamp(28px, 8vw, 40px); }
  .metodo__cuerpo { grid-template-rows: minmax(0, 1fr) auto; gap: 6px; }
  .metodo__svg { max-height: 42svh; }
  .metodo__textos { min-height: 150px; }
  .metodo__titulo { font-size: 24px; margin: 6px 0; }
  .metodo__texto { font-size: 15.5px; }
  .metodo__num { margin-top: 6px; }
  .metodo__equipo { height: 60px; position: absolute; right: 0; top: 0; border: 0; gap: 6px; }
  .metodo__panel { gap: 8px; }
  .metodo__ayuda { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .metodo__pin { position: relative; height: auto; padding: 96px 0; }
  .metodo__flujo, .metodo__chispa-halo, .metodo__nodo.activo .metodo__onda, .metodo__polvo circle.ve, .metodo--completo .metodo__play { animation: none; }
}
.metodo__pin { padding-inline: 16px; }
@media (min-width: 700px) { .metodo__pin { padding-inline: 32px; } }
@media (max-width: 899px) {
  .metodo__panel { position: static; }
  .metodo__equipo { top: 4px; right: 0; height: 54px; }
  .metodo__p[data-rol="luces"] { --eq-luz: 0; }
}

/* Metodología: el equipo alrededor del círculo, cada uno junto a su punto */
.metodo__cab, .metodo__cuerpo { width: 100%; }
.metodo__fig { opacity: 0; transform-box: fill-box; transform-origin: 50% 100%; transform: translateY(4px) scale(.6); transition: opacity .45s, transform .55s cubic-bezier(.2,.9,.3,1.4), filter .4s; }
.metodo__fig.ve { opacity: .38; transform: none; }
.metodo__fig.activo { opacity: 1; filter: drop-shadow(0 0 2.5px rgba(142, 192, 69, .75)); }
.metodo__fig[data-rol="luces"] { --eq-giro: -32deg; --eq-luz: .3; }
.metodo__fig[data-rol="luces"].activo { --eq-luz: .75; }
.metodo__fig[data-rol="director"] .eq-megafono { transform: rotate(-5deg); }
.metodo__fig[data-rol="claqueta"] { --eq-abre: -24deg; }
.metodo__fig[data-rol="claqueta"].activo { animation: none; }
/* al terminar, todo el equipo celebra alrededor del logo, uno tras otro */
.metodo--completo .metodo__fig { opacity: 1; filter: drop-shadow(0 0 2px rgba(142, 192, 69, .6)); animation: celebra 1.8s ease-in-out calc(var(--k) * .14s) infinite; }
.metodo--completo .metodo__fig[data-rol="claqueta"] { --eq-abre: 0deg; }
@keyframes celebra { 0%, 60%, 100% { transform: none; } 20% { transform: translateY(-3px); } 35% { transform: translateY(0) scale(1.04, .97); } }
@media (prefers-reduced-motion: reduce) { .metodo--completo .metodo__fig { animation: none; } }
.metodo__fig .eq { height: auto; width: auto; }
.metodo__svg { max-height: min(70vh, 640px); }
.metodo__fig[data-rol="luces"] { --eq-giro: 38deg; }
@media (max-width: 899px) { .metodo__svg { max-height: 48svh; } }
.dia--senal .dia__glifo { display: none; }
.servicios__lema { max-width: 30ch; }
/* Las palabras gigantes de sección (Servicios, Quiénes somos, Clientes): mismo tamaño, grande sin exagerar */
.clientes__grande .clientes__palabra, .clientes__grande .clientes__sombra, .clientes__grande .clientes__brillo { font-size: clamp(44px, 8.4vw, 124px); }
.clientes__grande { margin-bottom: 8px; }
#nosotros-g .clientes__grande { margin-bottom: 40px; }

/* =========================================================
   QUIÉNES SOMOS — "Y nació el equipo"
   ========================================================= */
.equipo-g { display: grid; gap: 40px; align-items: center; }
@media (min-width: 1000px) { .equipo-g { grid-template-columns: .9fr 1.1fr; gap: 72px; } }
.equipo-g__foto {
  position: relative; margin: 0; aspect-ratio: 4 / 3.4; border-radius: 18px; overflow: hidden; background: #060706;
  border: 1px solid rgba(255,255,255,.07); box-shadow: 0 30px 70px rgba(0,0,0,.35);
}
@media (min-width: 1000px) { .equipo-g__foto { aspect-ratio: 1 / 1.1; } }
.equipo-g__foto > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.equipo-g__foto .dia__visor { position: absolute; inset: 16px; }
.equipo-g__foto.visible .dia__visor i { border-color: var(--verde); transition-delay: .6s; }
.equipo-g__pie {
  position: absolute; left: 30px; bottom: 28px; display: inline-flex; align-items: center; gap: 8px;
  color: #f2f2f2; font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; text-shadow: 0 1px 8px rgba(0,0,0,.6);
}
.equipo-g__pie b { width: 8px; height: 8px; border-radius: 50%; background: #e5372b; animation: parpadeoRec 1s steps(2, start) infinite; }
/* El set ilustrado (mientras no haya foto del equipo) */
.set { position: absolute; inset: 0; background: radial-gradient(70% 55% at 50% 30%, rgba(142,192,69,.18), transparent 70%), linear-gradient(#0b0d0b, #060706); }
.set__foco { position: absolute; left: 50%; top: -10%; width: 90%; height: 95%; translate: -50% 0;
  background: radial-gradient(50% 100% at 50% 0%, rgba(255,250,225,.16), transparent 75%); clip-path: polygon(42% 0, 58% 0, 100% 100%, 0 100%); }
.set__piso { position: absolute; left: 0; right: 0; bottom: 0; height: 24%; background: linear-gradient(rgba(142,192,69,.08), transparent); border-top: 1px solid rgba(142,192,69,.35); }
.set__fila { position: absolute; left: 7%; right: 7%; bottom: 24%; height: 46%; display: flex; align-items: flex-end; justify-content: space-between; }
.set__p { height: auto; flex: none; }
.set__p--luces    { width: 17%; }
.set__p--camara   { width: 18%; }
.set__p--director { width: 18%; }
.set__p--claqueta { width: 14%; }
.set__p--editor   { width: 22%; }
.set__fila .eq { transform: translateY(14px); opacity: 0; transition: transform .8s cubic-bezier(.2,.8,.2,1), opacity .8s; }
.equipo-g__foto.visible .set__fila .eq { transform: none; opacity: 1; }
.equipo-g__foto.visible .set__fila .eq:nth-child(2) { transition-delay: .12s; }
.equipo-g__foto.visible .set__fila .eq:nth-child(3) { transition-delay: .24s; }
.equipo-g__foto.visible .set__fila .eq:nth-child(4) { transition-delay: .36s; }
.equipo-g__foto.visible .set__fila .eq:nth-child(5) { transition-delay: .48s; }

.equipo-g__hola { font-family: var(--fuente-titulo); font-stretch: 115%; font-size: clamp(26px, 3vw, 38px); color: var(--verde-texto); margin: 10px 0 2px; }
.equipo-g__titulo { font-size: clamp(34px, 4.6vw, 64px); text-transform: uppercase; line-height: 1; letter-spacing: -.01em; }
.equipo-g__bajada { margin-top: 16px; font-size: clamp(17px, 1.6vw, 21px); color: var(--texto-suave); max-width: 36ch; line-height: 1.45; }
.equipo-g__bajada em { font-style: normal; font-weight: 700; color: var(--texto); }
.equipo-g__somos { list-style: none; margin: 30px 0 0; padding: 0; display: grid; gap: 4px; }
.equipo-g__somos li {
  font-family: var(--fuente-titulo); font-stretch: 115%; font-weight: 700; font-size: clamp(24px, 2.6vw, 38px); line-height: 1.18;
}
.equipo-g__somos li.revelar { transition-delay: calc(var(--i) * 180ms); }
.equipo-g__somos span { font-weight: 400; color: var(--texto-suave); }
.equipo-g__somos b {
  font-weight: 800; background: var(--degradado) no-repeat left bottom / 0% 3px; padding-bottom: 2px;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
  transition: background-size .9s cubic-bezier(.2,.8,.2,1);
}
.equipo-g__somos li.visible b { background-size: 100% 3px; transition-delay: calc(var(--i) * 180ms + .5s); }
.equipo-g__porque { display: flex; align-items: center; gap: 26px; margin: 34px 0 22px; }
.equipo-g__porque p { font-family: var(--fuente-titulo); font-stretch: 115%; font-size: clamp(22px, 2.2vw, 30px); }
.equipo-g__video {
  position: relative; flex: none; width: 150px; height: 150px; border-radius: 50%; border: 0; padding: 0; display: block;
  background: radial-gradient(circle at 35% 30%, #f0453a, #b5170f); color: #fff; box-shadow: 0 18px 50px rgba(229,55,43,.35);
  transition: transform .35s cubic-bezier(.2,.8,.2,1);
}
button.equipo-g__video { cursor: pointer; }
button.equipo-g__video:hover { transform: scale(1.06); }
button.equipo-g__video:focus-visible { outline: 3px solid var(--verde); outline-offset: 4px; }
.equipo-g__giro { position: absolute; inset: 0; width: 100%; height: 100%; animation: giroEquipo 16s linear infinite; }
.equipo-g__giro text { fill: #fff; font-size: 7.4px; font-weight: 700; letter-spacing: 1.6px; text-transform: uppercase; font-family: var(--fuente); }
@keyframes giroEquipo { to { transform: rotate(360deg); } }
.equipo-g__centro { position: absolute; inset: 27%; border-radius: 50%; background: #111311; display: grid; place-items: center; overflow: hidden; }
.equipo-g__director { height: 74%; width: auto; transform: translateX(6%); }
.equipo-g__director .eq-megafono { animation: alzaMegafono 1.6s ease-in-out infinite alternate; }
.equipo-g__play { width: 0; height: 0; border-left: 20px solid #fff; border-top: 13px solid transparent; border-bottom: 13px solid transparent; margin-left: 5px; }
.equipo-g__boton { margin-top: 26px; }
.datos--fila { margin-top: 64px; }
@media (min-width: 700px) {
  .datos--fila { grid-template-columns: repeat(3, 1fr); gap: 32px; }
  .datos--fila .dato { flex-direction: column; align-items: flex-start; gap: 8px; }
}

/* =========================================================
   EL HILO DE LA HISTORIA (capítulos)
   ========================================================= */
.hilo { display: none; }
@media (min-width: 1100px) {
  .hilo {
    display: block; position: fixed; right: 18px; top: 50%; translate: 0 -50%; z-index: 90;
    transition: opacity .4s; --avance: 0;
  }
  .hilo--oculto { opacity: 0; pointer-events: none; }
  .hilo ol { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; position: relative; }
  .hilo__linea { position: absolute; right: 3.5px; top: 6px; bottom: 6px; width: 1px; background: var(--borde); }
  .hilo__linea i { position: absolute; left: 0; top: 0; width: 100%; height: calc(var(--avance) * 100%); background: var(--verde); transition: height .6s cubic-bezier(.2,.8,.2,1); }
  .hilo a { display: flex; align-items: center; justify-content: flex-end; gap: 10px; text-decoration: none; height: 12px; }
  .hilo__num, .hilo__nombre { opacity: 0; translate: 8px 0; transition: opacity .3s, translate .3s; white-space: nowrap; pointer-events: none; }
  .hilo__num { font-size: 10px; font-weight: 700; letter-spacing: .12em; color: var(--verde-texto); }
  .hilo__nombre {
    font-size: 12px; font-weight: 700; color: var(--texto); padding: 4px 10px; border-radius: 999px;
    background: color-mix(in srgb, var(--fondo) 85%, transparent); border: 1px solid var(--borde); backdrop-filter: blur(6px);
  }
  .hilo__punto { position: relative; width: 8px; height: 8px; flex: none; border-radius: 50%; border: 1.5px solid color-mix(in srgb, var(--texto) 40%, transparent); background: var(--fondo); transition: all .3s; }
  .hilo a.pasado .hilo__punto { background: var(--verde); border-color: var(--verde); opacity: .55; }
  .hilo a.activo .hilo__punto { background: var(--verde); border-color: var(--verde); transform: scale(1.5); box-shadow: 0 0 0 4px color-mix(in srgb, var(--verde) 25%, transparent); }
  .hilo--anuncia a.activo .hilo__num, .hilo--anuncia a.activo .hilo__nombre,
  .hilo:hover .hilo__num, .hilo:hover .hilo__nombre, .hilo a:focus-visible .hilo__num, .hilo a:focus-visible .hilo__nombre { opacity: 1; translate: 0 0; }
  .hilo:hover a:not(.activo) .hilo__nombre { color: var(--texto-suave); }
  .hilo a:focus-visible { outline: none; }
  .hilo a:focus-visible .hilo__punto { box-shadow: 0 0 0 3px var(--verde); }
}
.hilo-aviso {
  position: fixed; left: 50%; top: 76px; z-index: 90; translate: -50% -10px; opacity: 0; pointer-events: none;
  padding: 7px 14px; border-radius: 999px; font-size: 12px; color: var(--texto); white-space: nowrap; max-width: calc(100vw - 32px); overflow: hidden; text-overflow: ellipsis;
  background: color-mix(in srgb, var(--fondo) 88%, transparent); border: 1px solid var(--borde); backdrop-filter: blur(8px);
  transition: opacity .35s, translate .35s;
}
.hilo-aviso b { color: var(--verde-texto); text-transform: uppercase; letter-spacing: .12em; font-size: 10px; margin-right: 6px; }
.hilo-aviso.visible { opacity: 1; translate: -50% 0; }
@media (min-width: 1100px) { .hilo-aviso { display: none; } }
@media (prefers-reduced-motion: reduce) {
  .equipo-g__giro, .equipo-g__director .eq-megafono, .equipo-g__pie b { animation: none; }
}
/* "Quiénes somos" es más largo: en celular baja un poco para que quepa en una línea */
#nosotros-g .clientes__palabra, #nosotros-g .clientes__sombra, #nosotros-g .clientes__brillo { font-size: clamp(32px, 8.4vw, 124px); }

/* =========================================================
   PÁGINA "SOBRE NOSOTROS" (nosotros.html)
   ========================================================= */
.np-inicio { padding-top: 130px; }
.np-intro { margin-top: 36px; }
.np-intro__texto { margin-top: 18px; color: var(--texto-suave); font-size: clamp(17px, 1.5vw, 20px); line-height: 1.6; max-width: 46ch; }
.np-antes { font-family: var(--fuente-titulo); font-stretch: 115%; font-size: clamp(20px, 2vw, 28px); color: var(--texto-suave); margin-bottom: 22px; }

/* Puntos fuertes: palabra grande + botón "Más" */
.np-fuertes { border-top: 1px solid var(--borde); }
.np-fuerte { border-bottom: 1px solid var(--borde); }
.np-fuerte.revelar { transition-delay: calc(var(--i) * 120ms); }
.np-fuerte__cabeza {
  width: 100%; background: none; border: 0; cursor: pointer; text-align: left; color: inherit;
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 18px; padding: 26px 0;
}
.np-fuerte__num { color: var(--verde-texto); font-weight: 700; font-size: 13px; letter-spacing: .12em; }
.np-fuerte__titulo { font-family: var(--fuente-titulo); font-stretch: 115%; font-weight: 700; text-transform: uppercase; font-size: clamp(26px, 4.6vw, 64px); line-height: 1; transition: color .25s, translate .35s; }
.np-fuerte__cabeza:hover .np-fuerte__titulo { color: var(--verde-texto); translate: 8px 0; }
.np-fuerte__mas {
  display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px; border-radius: 999px;
  background: var(--verde); color: #1d1d1b; font-weight: 700; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; transition: background .25s;
}
.np-fuerte__mas i { position: relative; width: 12px; height: 12px; }
.np-fuerte__mas i::before, .np-fuerte__mas i::after { content: ""; position: absolute; left: 0; top: 5px; width: 12px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .3s; }
.np-fuerte__mas i::after { transform: rotate(90deg); }
.np-fuerte.abierta .np-fuerte__mas i::after { transform: rotate(0); }
.np-fuerte__cabeza:hover .np-fuerte__mas { background: var(--verde-hover); }
.np-fuerte__cuerpo p { padding: 0 0 30px; color: var(--texto-suave); font-size: clamp(16px, 1.4vw, 19px); line-height: 1.65; max-width: 62ch; }
@media (min-width: 700px) { .np-fuerte__cuerpo p { padding-left: 46px; } }

/* La fórmula: las 4 palabras entran una a una */
.np-formula { text-align: center; }
.np-formula .np-antes { margin-bottom: 10px; }
.np-formula__ecuacion {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: baseline; gap: 4px 16px;
  font-family: var(--fuente-titulo); font-stretch: 115%; font-weight: 800; text-transform: uppercase; font-size: clamp(28px, 5vw, 72px); line-height: 1.05;
}
.np-formula__palabra, .np-formula__mas { display: inline-block; opacity: 0; translate: 0 30px; transition: opacity .7s, translate .7s cubic-bezier(.2,.8,.2,1); transition-delay: calc(var(--i) * 220ms); }
.np-formula__mas { color: var(--verde-texto); font-weight: 400; }
.np-formula__palabra--borde { color: transparent; -webkit-text-stroke: 1.5px var(--texto); }
.np-formula__ecuacion.visible .np-formula__palabra, .np-formula__ecuacion.visible .np-formula__mas { opacity: 1; translate: 0 0; }
.np-formula__ecuacion.visible .np-formula__palabra--borde { animation: llenaVerde 1s ease forwards; animation-delay: calc(var(--i) * 220ms + .8s); }
@keyframes llenaVerde { to { color: var(--verde-texto); -webkit-text-stroke-color: var(--verde-texto); } }
.np-formula__despues { margin-top: 18px; font-size: clamp(18px, 1.7vw, 22px); font-weight: 700; }
.np-formula__texto { margin: 18px auto 0; max-width: 60ch; }

/* Detrás de cámaras: galería */
.np-galeria { margin-top: 36px; display: grid; gap: 14px; grid-template-columns: 1fr 1fr; grid-auto-rows: 180px; }
@media (min-width: 900px) { .np-galeria { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 240px; } }
.np-galeria__item {
  position: relative; margin: 0; padding: 0; border: 1px solid rgba(255,255,255,.07); border-radius: 16px; overflow: hidden;
  background: radial-gradient(70% 60% at 50% 35%, rgba(142,192,69,.14), transparent 70%), #080908; color: #f2f2f2; display: block; width: 100%; height: 100%; font: inherit; text-align: left;
}
.np-galeria__item.revelar { transition-delay: calc(var(--i) * 90ms); }
.np-galeria__item:first-child { grid-column: span 2; grid-row: span 2; }
button.np-galeria__item { cursor: pointer; }
.np-galeria__item > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.8,.2,1); }
.np-galeria__item:hover > img { transform: scale(1.05); }
.np-galeria__item .dia__visor { position: absolute; inset: 12px; }
.np-galeria__item:hover .dia__visor i { border-color: var(--verde); }
.np-galeria__vacio { position: absolute; inset: 0; display: grid; place-items: center; }
.np-galeria__p { height: 52%; width: auto; opacity: .55; }
.np-galeria__item:first-child .np-galeria__p { height: 46%; }
.np-galeria__pie {
  position: absolute; left: 22px; bottom: 18px; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; text-shadow: 0 1px 8px rgba(0,0,0,.7);
}
.np-galeria__play { position: absolute; left: 50%; top: 50%; translate: -50% -50%; width: 58px; height: 58px; border-radius: 50%; background: rgba(229,55,43,.9); }
.np-galeria__play::after { content: ""; position: absolute; left: 23px; top: 18px; border-left: 17px solid #fff; border-top: 11px solid transparent; border-bottom: 11px solid transparent; }

/* Cierre */
.np-cierre__caja {
  position: relative; overflow: hidden; border-radius: 20px; padding: 56px 28px; text-align: center;
  background: radial-gradient(120% 140% at 100% 0%, rgba(60,185,68,.32), transparent 55%), radial-gradient(80% 90% at 0% 100%, rgba(142,192,69,.14), transparent 60%), #0a0c0a;
  border: 1px dashed rgba(142,192,69,.45); color: #f2f2f2;
}
.np-cierre__caja > *:not(.dia__estrellas) { position: relative; }
.np-cierre__titulo { margin: 10px 0 12px; font-size: clamp(28px, 4vw, 52px); text-transform: uppercase; }
.np-cierre__texto { color: rgba(242,242,242,.75); margin-bottom: 26px; font-size: 18px; }
.np-cierre .dia__estrellas { position: absolute; inset: 0; }
@media (prefers-reduced-motion: reduce) {
  .np-formula__palabra, .np-formula__mas { opacity: 1; translate: 0 0; transition: none; }
  .np-formula__ecuacion.visible .np-formula__palabra--borde { animation: none; color: var(--verde-texto); }
}
#np-detras .clientes__palabra, #np-detras .clientes__sombra, #np-detras .clientes__brillo { font-size: clamp(26px, 6.6vw, 96px); }
.np-inicio .clientes__palabra, .np-inicio .clientes__sombra, .np-inicio .clientes__brillo { font-size: clamp(32px, 8.4vw, 124px); }

/* =========================================================
   "SOMOS…" — una frase que cambia sola, con botones y barra de tiempo
   ========================================================= */
.somos { margin-top: 34px; }
.somos__frase {
  display: flex; flex-wrap: wrap; align-items: baseline; column-gap: .32em;
  font-family: var(--fuente-titulo); font-stretch: 115%; font-size: clamp(26px, 3vw, 44px); line-height: 1.1;
}
.somos__fijo { font-weight: 300; color: var(--texto-suave); }
.somos__rueda { display: inline-grid; min-width: 0; }
.somos__item {
  grid-area: 1 / 1; font-weight: 800; padding-bottom: .12em;
  color: transparent; background: linear-gradient(90deg, var(--texto) 0%, var(--texto) 40%, #8ec045 100%); -webkit-background-clip: text; background-clip: text;
  opacity: 0; transform: translateY(.55em); filter: blur(8px); clip-path: inset(0 0 0 0);
  transition: opacity .4s ease, transform .45s cubic-bezier(.2,.8,.2,1), filter .4s ease;
}
.somos__item.activo { opacity: 1; transform: none; filter: none; }
.somos__item.sale { transform: translateY(-.55em); }
.somos__item.activo::after { content: ""; }
.somos__puntos { display: flex; gap: 12px; margin-top: 18px; max-width: 420px; }
.somos__punto {
  flex: 1; display: grid; gap: 8px; background: none; border: 0; padding: 6px 0; cursor: pointer; text-align: left; color: var(--texto-suave);
}
.somos__num { font-size: 11px; font-weight: 700; letter-spacing: .16em; transition: color .3s; }
.somos__barra { position: relative; display: block; height: 2px; border-radius: 2px; background: var(--borde); overflow: hidden; }
.somos__barra i { position: absolute; inset: 0; transform-origin: left; transform: scaleX(0); background: var(--degradado); }
.somos__punto.hecho .somos__barra i { transform: scaleX(1); opacity: .45; }
.somos__punto.activo .somos__num { color: var(--verde-texto); }
.somos__punto.activo .somos__barra i { transform: scaleX(1); }
.somos.corriendo .somos__punto.activo .somos__barra i { animation: somosBarra var(--somos-ms, 3200ms) linear both; }
.somos__punto:hover .somos__num { color: var(--texto); }
@keyframes somosBarra { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@media (prefers-reduced-motion: reduce) {
  .somos__rueda { display: grid; gap: 4px; }
  .somos__item { grid-area: auto; opacity: 1; transform: none; filter: none; transition: none; }
  .somos__puntos { display: none; }
}
/* Sin el recuadro verde al hacer clic en 01/02/03 (sí se ve si se navega con teclado) */
.somos__punto:focus:not(:focus-visible) { outline: none; }


/* =========================================================
   CÓMO LO HACEMOS — el camino de la creación en 4 fases
   ========================================================= */
.fases2 { position: relative; border: 1px solid var(--borde); border-radius: var(--radio); background: var(--superficie); overflow: hidden; }
.fases2__camino { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; padding: 26px 12px 20px; border-bottom: 1px solid var(--borde); }
.fases2__linea { position: absolute; top: 44px; left: calc(12px + (100% - 24px) / 8); right: calc(12px + (100% - 24px) / 8); height: 2px; background: var(--borde); border-radius: 2px; }
.fases2__linea i { position: absolute; inset: 0; transform-origin: left; transform: scaleX(var(--avance, 0)); background: var(--degradado); box-shadow: 0 0 12px rgba(60,185,68,.6); transition: transform .7s cubic-bezier(.2,.8,.2,1); }
.fases2__nodo { position: relative; z-index: 1; display: grid; justify-items: center; align-content: start; gap: 10px; padding: 0 4px; background: none; border: 0; color: var(--texto-suave); cursor: pointer; text-align: center; font: inherit; }
.fases2__punto { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid var(--borde); background: var(--superficie); font-size: 12px; font-weight: 700; letter-spacing: .08em; transition: transform .4s cubic-bezier(.2,.8,.2,1), background .3s, border-color .3s, color .3s, box-shadow .4s; }
.fases2__nombre { font-weight: 700; font-size: clamp(12px, 1.4vw, 16px); line-height: 1.2; transition: color .3s; }
.fases2__tiempo { width: 44px; height: 2px; border-radius: 2px; background: transparent; overflow: hidden; }
.fases2__tiempo i { display: block; height: 100%; transform-origin: left; transform: scaleX(0); background: var(--degradado); }
.fases2__nodo.pasado .fases2__punto { border-color: var(--verde); color: var(--verde-texto); }
.fases2__nodo:hover .fases2__punto { border-color: var(--verde); transform: scale(1.08); }
.fases2__nodo:hover .fases2__nombre { color: var(--texto); }
.fases2__nodo[aria-selected="true"] { color: var(--texto); }
.fases2__nodo[aria-selected="true"] .fases2__punto { background: var(--degradado); border-color: transparent; color: #1d1d1b; transform: scale(1.18); box-shadow: 0 0 0 7px rgba(60,185,68,.14), 0 0 26px rgba(60,185,68,.55); }
.fases2__nodo[aria-selected="true"] .fases2__tiempo { background: var(--borde); }
.fases2.corriendo .fases2__nodo[aria-selected="true"] .fases2__tiempo i { animation: somosBarra var(--fase-ms, 5000ms) linear both; }
.fases2__nodo:focus:not(:focus-visible) { outline: none; }

.fases2__panel { position: relative; overflow: hidden; display: grid; gap: 22px; padding: 30px 22px 34px; min-height: 260px;
  background: radial-gradient(420px circle at var(--mx, 85%) var(--my, 30%), rgba(60,185,68,.10), transparent 62%); }
.fases2__num { position: absolute; right: -6px; bottom: -0.22em; font-family: var(--fuente-titulo); font-weight: 800; font-stretch: 115%; font-size: clamp(130px, 20vw, 260px); line-height: 1;
  color: transparent; -webkit-text-stroke: 1px rgba(60,185,68,.28); pointer-events: none; animation: faseNum .8s cubic-bezier(.2,.8,.2,1) both; }
.fases2__glifo { width: 96px; height: 96px; animation: faseEntra .6s cubic-bezier(.2,.8,.2,1) both; }
.fases2__glifo svg { width: 100%; height: 100%; overflow: visible; }
.fases2__cabeza { position: relative; animation: faseEntra .6s .06s cubic-bezier(.2,.8,.2,1) both; }
.fases2__paso { margin: 0 0 6px; color: var(--verde-texto); font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.fases2__cabeza h4 { margin: 0; font-size: clamp(26px, 3.2vw, 40px); text-transform: uppercase; line-height: 1.05; }
.fases2__lema { margin: 10px 0 0; font-family: var(--fuente-titulo); font-weight: 300; font-size: clamp(17px, 1.8vw, 22px); color: var(--verde-texto); }
.fases2__lista { position: relative; list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; align-content: center; }
.fases2__lista li { display: flex; gap: 12px; align-items: flex-start; font-size: 18px; animation: aparecerIzq .5s ease both; animation-delay: calc(.2s + var(--i) * .12s); }
@media (min-width: 900px) {
  .fases2__camino { padding: 30px 24px 22px; }
  .fases2__linea { top: 49px; left: calc(24px + (100% - 48px) / 8); right: calc(24px + (100% - 48px) / 8); }
  .fases2__panel { grid-template-columns: 130px minmax(0, 1fr) minmax(0, 1.15fr); align-items: center; gap: 36px; padding: 44px 48px; }
  .fases2__glifo { width: 130px; height: 130px; }
}
@keyframes faseEntra { from { opacity: 0; transform: translateY(14px); } }
@keyframes faseNum { from { opacity: 0; transform: translateX(40px); } }

/* Los dibujos */
.fases2__glifo .g-trazo { stroke: url(#gfFase); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; animation: gTraza 1.1s .1s cubic-bezier(.6,0,.2,1) forwards; }
.fases2__glifo .g-trazo.g-d2 { animation-delay: .5s; }
.fases2__glifo .g-lleno { fill: url(#gfFase); }
.fases2__glifo .g-onda { stroke: #3CB944; stroke-width: 2; transform-origin: 60px 60px; animation: gOnda 2.4s ease-out infinite; }
.fases2__glifo .g-onda.g-d2 { animation-delay: .8s; }
.fases2__glifo .g-onda.g-d3 { animation-delay: 1.6s; }
.fases2__glifo .g-gira { transform-origin: 60px 60px; animation: gGira 6s linear infinite; }
.fases2__glifo .g-gira.g-lento { animation-duration: 14s; }
.fases2__glifo .g-late { transform-origin: 60px 62px; animation: gLate 1.6s ease-in-out infinite; }
.fases2__glifo .g-barra { stroke: url(#gfFase); stroke-width: 7; stroke-linecap: round; transform-origin: center 80px; transform-box: fill-box; animation: gCrece .6s cubic-bezier(.2,.8,.2,1) both; animation-delay: .4s; }
.fases2__glifo .g-barra.g-d2 { animation-delay: .55s; } .fases2__glifo .g-barra.g-d3 { animation-delay: .7s; } .fases2__glifo .g-barra.g-d4 { animation-delay: .85s; }
.fases2__glifo .g-barra { transform-origin: bottom; }
@keyframes gTraza { to { stroke-dashoffset: 0; } }
@keyframes gOnda { from { transform: scale(.4); opacity: .9; } to { transform: scale(2.6); opacity: 0; } }
@keyframes gGira { to { transform: rotate(360deg); } }
@keyframes gLate { 50% { transform: scale(1.5); } }
@keyframes gCrece { from { transform: scaleY(0); } }
@media (prefers-reduced-motion: reduce) {
  .fases2__glifo *, .fases2__num, .fases2__glifo, .fases2__cabeza, .fases2__lista li { animation: none !important; }
  .fases2__glifo .g-trazo { stroke-dashoffset: 0; }
  .fases2__glifo .g-onda { opacity: .5; }
}

/* =========================================================
   TARIFAS DE EDICIÓN — tarjetas con precio interactivo
   ========================================================= */
.tarifas__ayuda { margin: -6px 0 22px; color: var(--texto-suave); max-width: 60ch; }
.tarifas { display: grid; gap: 14px; }
@media (min-width: 640px) { .tarifas { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .tarifas { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.tarifas .tarifa.revelar { transition-delay: calc(var(--d) * 60ms); }
.tarifa { position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 10px; padding: 24px 22px 22px; min-height: 230px;
  border: 1px solid var(--borde); border-radius: var(--radio);
  background: radial-gradient(260px circle at var(--mx, 110%) var(--my, -10%), rgba(60,185,68,.13), transparent 65%), var(--superficie);
  transition: transform .35s cubic-bezier(.2,.8,.2,1), border-color .3s, box-shadow .35s; }
.tarifa:hover { transform: translateY(-5px); border-color: var(--verde); box-shadow: 0 18px 40px -22px rgba(60,185,68,.55); }
.tarifa__num { position: absolute; top: -10px; right: 6px; font-family: var(--fuente-titulo); font-weight: 800; font-stretch: 115%; font-size: 92px; line-height: 1;
  color: transparent; -webkit-text-stroke: 1px rgba(60,185,68,.22); pointer-events: none; transition: -webkit-text-stroke-color .3s, transform .5s cubic-bezier(.2,.8,.2,1); }
.tarifa:hover .tarifa__num { -webkit-text-stroke-color: rgba(60,185,68,.55); transform: translateY(6px); }
.tarifa h4 { position: relative; margin: 0; font-size: 19px; line-height: 1.2; max-width: 85%; }
.tarifa__detalle { position: relative; margin: 0; color: var(--texto-suave); font-size: 15px; }
.tarifa__precio { position: relative; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--borde); display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 6px; }
.tarifa__valor { display: inline-block; font-family: var(--fuente-titulo); font-weight: 800; font-stretch: 115%; font-size: clamp(34px, 3.4vw, 44px); line-height: 1;
  color: transparent; background: var(--degradado); -webkit-background-clip: text; background-clip: text; }
.tarifa__valor.cambia { animation: tarifaCambia .45s cubic-bezier(.2,.8,.2,1); }
.tarifa__moneda { font-weight: 700; font-size: 13px; letter-spacing: .1em; color: var(--verde-texto); }
.tarifa__unidad { flex-basis: 100%; margin-top: 4px; font-size: 13px; color: var(--texto-suave); }
@keyframes tarifaCambia { from { opacity: 0; transform: translateY(10px) scale(.92); filter: blur(4px); } }
.tarifa__opciones { position: relative; display: flex; flex-wrap: wrap; gap: 6px; }
.tarifa__op { padding: 7px 12px; border-radius: 999px; border: 1px solid var(--borde); background: transparent; color: var(--texto-suave); font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; transition: background .25s, color .25s, border-color .25s; }
.tarifa__op:hover { border-color: var(--verde); color: var(--texto); }
.tarifa__op[aria-pressed="true"] { background: var(--degradado); border-color: transparent; color: #1d1d1b; }
.tarifa__rango { position: relative; display: grid; gap: 10px; font-size: 13px; color: var(--texto-suave); }
.tarifa__rango b { color: var(--texto); font-size: 15px; }
.tarifa__rango input { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 6px; cursor: pointer;
  background: linear-gradient(90deg, #3CB944, #8ec045) 0 / var(--lleno, 21%) 100% no-repeat, var(--borde); }
.tarifa__rango input::-webkit-slider-thumb { -webkit-appearance: none; width: 20px; height: 20px; border-radius: 50%; background: #f2f2f2; border: 3px solid #3CB944; box-shadow: 0 0 14px rgba(60,185,68,.6); }
.tarifa__rango input::-moz-range-thumb { width: 16px; height: 16px; border-radius: 50%; background: #f2f2f2; border: 3px solid #3CB944; }
.tarifas__nota { margin-top: 20px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; padding: 20px 22px; border: 1px dashed var(--borde); border-radius: var(--radio); }
.tarifas__nota p { margin: 0; color: var(--texto-suave); }
@media (prefers-reduced-motion: reduce) { .tarifa, .tarifa__num { transition: none; } .tarifa__valor.cambia { animation: none; } }

/* Servicios de edición: ajustes */
.serv-ed__intro { margin: 8px 0 56px; }
.serv-ed__lema { margin: 0 0 14px; font-size: clamp(26px, 3.6vw, 48px); line-height: 1.05; text-transform: uppercase; }
@media (min-width: 900px) { .serv-ed__intro { grid-template-columns: 1.1fr 1fr; } }
@media (min-width: 1100px) { .tarifas { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.tarifa__num { font-size: 70px; top: -6px; right: 8px; }
.tarifa h4 { max-width: none; padding-right: 96px; }
.tarifa__nota { position: relative; margin: 0; font-size: 13px; line-height: 1.4; color: var(--verde-texto); animation: faseEntra .4s ease both; }
.tarifa__rango input:focus { outline: none; }
.tarifa__rango input:focus-visible { outline: 2px solid var(--verde); outline-offset: 6px; }
.tarifa__op:focus:not(:focus-visible) { outline: none; }

/* Tarifas con clip: la imagen apenas se intuye y el video aparece desde el cursor */
.tarifa--video {
  --texto: #f2f2f2; --texto-suave: #b9bdb9; --borde: rgba(255,255,255,.13); --verde-texto: #8ec045; --degradado: linear-gradient(90deg, #3CB944, #8ec045);
  --mx: 50%; --my: 40%; isolation: isolate; color: #f2f2f2; background: #060706; border-color: rgba(255,255,255,.08); min-height: 300px;
  transition: transform .45s cubic-bezier(.2,.8,.2,1), border-color .4s, box-shadow .45s, --r .8s cubic-bezier(.2,.8,.2,1);
}
.tarifa--video > *:not(.tarifa__vacio):not(.tarifa__luz):not(.tarifa__velo):not(.tarifa__visor):not(.tarifa__rec):not(.tarifa__num) { position: relative; z-index: 2; }
.tarifa__vacio, .tarifa__luz, .tarifa__velo { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.tarifa__vacio img, .tarifa__luz img, .tarifa__luz video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tarifa__vacio img { filter: grayscale(1) brightness(.24) contrast(1.15); transform: scale(1.06); }
.tarifa__luz {
  -webkit-mask-image: radial-gradient(circle at var(--mx) var(--my), #000 var(--r), transparent calc(var(--r) + 30%));
  mask-image: radial-gradient(circle at var(--mx) var(--my), #000 var(--r), transparent calc(var(--r) + 30%));
}
.tarifa__luz img, .tarifa__luz video { transform: scale(1.06); transition: transform 1.2s cubic-bezier(.2,.8,.2,1); }
.tarifa__velo { z-index: 1; background: linear-gradient(to top, rgba(0,0,0,.92) 0%, rgba(0,0,0,.6) 40%, rgba(0,0,0,.45) 65%, rgba(0,0,0,.75) 100%); }
.tarifa__visor { position: absolute; inset: 12px; z-index: 1; pointer-events: none; transition: inset .5s cubic-bezier(.2,.8,.2,1); }
.tarifa__visor i { position: absolute; width: 16px; height: 16px; border: 0 solid rgba(242,242,242,.32); transition: border-color .4s; }
.tarifa__visor i:nth-child(1) { top: 0; left: 0; border-top-width: 2px; border-left-width: 2px; }
.tarifa__visor i:nth-child(2) { top: 0; right: 0; border-top-width: 2px; border-right-width: 2px; }
.tarifa__visor i:nth-child(3) { bottom: 0; left: 0; border-bottom-width: 2px; border-left-width: 2px; }
.tarifa__visor i:nth-child(4) { bottom: 0; right: 0; border-bottom-width: 2px; border-right-width: 2px; }
.tarifa__rec { position: absolute; z-index: 2; right: 22px; bottom: 22px; display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 700; letter-spacing: .12em; color: #f2f2f2; opacity: 0; transition: opacity .3s; }
.tarifa__rec b { width: 8px; height: 8px; border-radius: 50%; background: #e5372b; animation: parpadeoRec 1s steps(2, start) infinite; }
.tarifa--video .tarifa__num { z-index: 1; }
.tarifa--video.encendido { --r: 55%; transform: translateY(-5px); border-color: rgba(142,192,69,.5); box-shadow: 0 26px 60px rgba(0,0,0,.45), 0 0 0 1px rgba(142,192,69,.25); }
.tarifa--video.encendido .tarifa__luz img, .tarifa--video.encendido .tarifa__luz video { transform: scale(1); }
.tarifa--video.encendido .tarifa__visor { inset: 8px; }
.tarifa--video.encendido .tarifa__visor i { border-color: var(--verde); }
.tarifa--video.encendido .tarifa__rec { opacity: 1; }
.tarifa--video.encendido .tarifa__num { -webkit-text-stroke-color: rgba(142,192,69,.7); }
.tarifa--video .tarifa__op:not([aria-pressed="true"]) { background: rgba(0,0,0,.45); }
@media (hover: none), (pointer: coarse) { .tarifa--video.encendido { --r: 140%; transform: none; } }
@media (prefers-reduced-motion: reduce) { .tarifa--video { transition: none; } .tarifa__rec b { animation: none; } }

/* =========================================================
   CLIENTES (Edición): videos verticales u horizontales, botones por cliente, editor animado
   ========================================================= */
.clientes-ed__chips { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 26px; }
.clientes-ed__ayuda { flex-basis: 100%; margin-bottom: 4px; font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--texto-suave); }
.clientes-ed__chip { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--borde); background: transparent; color: var(--texto-suave); font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; transition: background .25s, color .25s, border-color .25s, transform .25s; }
.clientes-ed__chip small { margin-left: 4px; font-size: 11px; opacity: .7; }
.clientes-ed__chip:hover { border-color: var(--verde); color: var(--texto); transform: translateY(-2px); }
.clientes-ed__chip[aria-pressed="true"] { background: var(--degradado); border-color: transparent; color: #1d1d1b; }
.clientes-ed__chip:focus:not(:focus-visible) { outline: none; }

/* El monitor toma la forma del video: vertical (9:16) u horizontal (16:9) */
.linea { --alto-v: min(62vh, 600px); }
@media (max-width: 899px) { .linea { --alto-v: min(58vh, 520px); } }
.linea__monitorcaja { display: grid; align-items: center; justify-items: center; }
.linea--convertical .linea__monitorcaja { min-height: calc(var(--alto-v) + 84px); }
.linea__monitor { width: 100%; transition: width .5s cubic-bezier(.2,.8,.2,1); }
.linea--vertical .linea__monitor { width: min(100%, calc(var(--alto-v) * 9 / 16)); }
.linea--vertical .linea__pantalla { aspect-ratio: 9 / 16; }
.linea--vertical .linea__visor b { display: none; }
.linea__titulovideo { color: var(--texto); font-size: 17px; font-weight: 600; line-height: 1.35; }

/* El editor trabajando: teclea, el cursor corre por la pantalla y cuenta qué está haciendo */
.linea__editor { position: relative; display: flex; align-items: flex-end; gap: 10px; height: 118px; margin-top: 6px; }
.linea__eq { height: 100%; --eq-tecleo: running; animation: editorRespira 2.4s ease-in-out infinite; transform-origin: 30% 100%; }
.linea__eq .eq-mano { animation-duration: .22s; }
.linea__eq .eq-cursor { animation-duration: 1.6s; }
.linea__eq .eq-pantalla { animation: editorPantalla 1.6s steps(2, jump-none) infinite; }
.linea__globo { position: relative; align-self: flex-start; display: inline-flex; align-items: center; gap: 3px; padding: 7px 12px; border-radius: 12px 12px 12px 3px;
  background: var(--superficie-2); border: 1px solid var(--borde); font-size: 12px; font-weight: 700; color: var(--verde-texto); white-space: nowrap; }
.linea__globo b { font-weight: 700; margin-right: 4px; animation: fichaEntra .4s ease both; }
.linea__globo i { width: 4px; height: 4px; border-radius: 50%; background: currentColor; animation: editorPuntos 1s ease-in-out infinite; }
.linea__globo i:nth-of-type(2) { animation-delay: .15s; } .linea__globo i:nth-of-type(3) { animation-delay: .3s; }
.linea__chispas { position: absolute; left: 66px; top: 6px; width: 40px; height: 30px; pointer-events: none; }
.linea__chispas i { position: absolute; bottom: 0; width: 5px; height: 5px; border-radius: 50%; background: #8ec045; opacity: 0; animation: editorChispa 1.8s ease-out infinite; }
.linea__chispas i:nth-child(1) { left: 4px; } .linea__chispas i:nth-child(2) { left: 16px; animation-delay: .6s; background: #3CB944; } .linea__chispas i:nth-child(3) { left: 28px; animation-delay: 1.2s; }
@keyframes editorRespira { 50% { transform: translateY(-2px) rotate(-.6deg); } }
@keyframes editorPantalla { from { fill: #1d1d1b; } to { fill: #23301f; } }
@keyframes editorPuntos { 0%, 100% { transform: translateY(0); opacity: .4; } 50% { transform: translateY(-3px); opacity: 1; } }
@keyframes editorChispa { 0% { opacity: 0; transform: translateY(0) scale(.6); } 20% { opacity: 1; } 100% { opacity: 0; transform: translateY(-26px) scale(1.1); } }
@media (max-width: 899px) { .linea__editor { height: 96px; } }
@media (prefers-reduced-motion: reduce) { .linea__eq, .linea__eq .eq-pantalla, .linea__globo i, .linea__chispas i { animation: none; } .linea__monitor { transition: none; } }

/* WhatsApp con indicativo del país */
.campo-tel { display: flex; gap: 8px; }
.campo-tel select {
  flex: 0 0 auto; max-width: 46%; background: color-mix(in srgb, var(--fondo) 60%, transparent); border: 1px solid var(--borde);
  border-radius: 10px; padding: 11px 30px 11px 12px; color: var(--texto); font-size: 16px; min-height: 46px; cursor: pointer;
  appearance: none; -webkit-appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--texto-suave) 50%), linear-gradient(135deg, var(--texto-suave) 50%, transparent 50%);
  background-position: calc(100% - 17px) 50%, calc(100% - 12px) 50%; background-size: 5px 5px; background-repeat: no-repeat;
}
.campo-tel select option { background: #161816; color: #f2f2f2; }
.campo-tel select:focus { outline: none; border-color: var(--verde); box-shadow: 0 0 0 3px color-mix(in srgb, var(--verde) 25%, transparent); }
.campo-tel input { flex: 1 1 auto; min-width: 0; }
