/* Franframe Motion · web
   Colores, fuentes y piezas sacados de comercial/fuente/tarifas.html (el PDF de planes y tarifas). */

:root {
  --carbon: #0E100C; --superficie: #1A1D16; --superficie2: #262A21; --lima: #C8F03A; --texto: #F3F4EC;
  --apagado: #9EA394; --neutro: #3A3F33; --tenue: #80857A;
  --papel: #F1F0E8; --papelSuperficie: #FFFFFF; --tinta: #0E100C; --tintaApagada: #5C6152; --limaTinta: #4E6B00;
  --neutroPapel: #D6D5CA;
  --barra: 64px;
}

@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url("fuentes/Inter-400-latin.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 500; font-display: swap; src: url("fuentes/Inter-500-latin.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 700; font-display: swap; src: url("fuentes/Inter-700-latin.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 800; font-display: swap; src: url("fuentes/Inter-800-latin.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 900; font-display: swap; src: url("fuentes/Inter-900-latin.woff2") format("woff2"); }
@font-face { font-family: "EB Garamond"; font-style: italic; font-weight: 400; font-display: swap; src: url("fuentes/EBGaramond-Italic-400-latin.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 500; font-display: swap; src: url("fuentes/IBMPlexMono-500-latin.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 600; font-display: swap; src: url("fuentes/IBMPlexMono-600-latin.woff2") format("woff2"); }

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--barra) + 12px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  font-family: Inter, system-ui, sans-serif; font-size: 17px; line-height: 1.5; font-weight: 400;
  background: var(--carbon); color: var(--texto);
  --dim: var(--apagado); --sup: var(--superficie); --linea: var(--neutro); --acento: var(--lima);
  overflow-x: hidden;
}
p, li { text-wrap: pretty; }
b { font-weight: 700; }
a { color: inherit; }
img, video, svg { display: block; }
ul, ol { list-style: none; }
:focus-visible { outline: 3px solid var(--lima); outline-offset: 3px; border-radius: 4px; }

.saltar { position: absolute; left: 12px; top: -60px; z-index: 50; background: var(--lima); color: var(--carbon);
          padding: 10px 14px; border-radius: 8px; font-weight: 700; text-decoration: none; }
.saltar:focus { top: 12px; }

.contenedor { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.estrecho { max-width: 800px; }

/* ── marca ── */
.logo { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; color: var(--texto); }
.simbolo { flex: none; overflow: visible; height: 30px; width: 19px; }
.trazo-acento { stroke: var(--acento); }
.lg-linea { display: flex; align-items: baseline; gap: 5px; white-space: nowrap; }
.lg-pila { display: flex; flex-direction: column; gap: 4px; white-space: nowrap; }
.lg-nombre { font-weight: 900; letter-spacing: -0.02em; line-height: 1; font-size: 19px; }
.lg-motion { font-family: "EB Garamond", serif; font-style: italic; font-weight: 400; line-height: 1; font-size: 24px; color: var(--acento); }
.lg-bajada { font-family: "IBM Plex Mono", monospace; font-weight: 600; line-height: 1; color: var(--dim); font-size: 10px; letter-spacing: 0.15em; }

.et { font-family: "IBM Plex Mono", monospace; font-weight: 600; font-size: 13px; letter-spacing: 0.1em; line-height: 1.3; color: var(--dim); }
.et i { font-style: normal; margin: 0 0.5em; }
.sello { font-family: "IBM Plex Mono", monospace; font-weight: 600; font-size: 11px; letter-spacing: 0.12em; line-height: 1;
         background: var(--lima); color: var(--tinta); padding: 6px 12px 5px; border-radius: 99px; white-space: nowrap; }
.esq { position: absolute; width: 30px; height: 30px; overflow: visible; color: var(--texto); }
.esq.tr { transform: scaleX(-1); } .esq.br { transform: scale(-1, -1); } .esq.bl { transform: scaleY(-1); }

/* ── botones ── */
.boton { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 26px;
         border-radius: 99px; font-weight: 800; font-size: 16px; letter-spacing: 0.01em; text-decoration: none;
         text-transform: uppercase; transition: transform .15s ease, background-color .15s ease; }
.boton:active { transform: scale(0.97); }
.boton-lima { background: var(--lima); color: var(--carbon); }
.boton-lima:hover { background: #D6F566; }
.boton-linea { border: 2px solid var(--texto); color: var(--texto); }
.boton-linea:hover { background: var(--superficie2); }
.boton-carbon { background: var(--carbon); color: var(--lima); }
.boton-carbon:hover { background: var(--superficie2); }
.boton-chico { min-height: 40px; padding: 0 16px; font-size: 13px; }

/* ── barra superior ── */
.barra { position: sticky; top: 0; z-index: 20; background: rgba(14, 16, 12, 0.94);
         border-bottom: 1px solid var(--neutro); }
@supports (backdrop-filter: blur(8px)) { .barra { background: rgba(14, 16, 12, 0.82); backdrop-filter: blur(10px); } }
.barra-in { height: var(--barra); display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.menu { display: none; gap: 28px; }
.menu a { font-family: "IBM Plex Mono", monospace; font-weight: 600; font-size: 13px; letter-spacing: 0.12em;
          text-transform: uppercase; text-decoration: none; color: var(--apagado); }
.menu a:hover { color: var(--texto); }

/* ── titulares ── */
h2 { font-weight: 900; font-size: clamp(30px, 8vw, 50px); line-height: 1.04; letter-spacing: -0.02em; text-transform: uppercase;
     text-wrap: balance; }
h2::before { content: ""; display: block; width: 48px; height: 8px; background: var(--acento); margin-bottom: 18px; }
h3, .h3 { font-weight: 800; font-size: 22px; line-height: 1.15; letter-spacing: -0.01em; }
.bloque { padding: 72px 0; }
.entradilla { margin-top: 16px; font-size: 18px; max-width: 640px; }

/* ── 1 · portada ── */
.hero { padding: 40px 0 64px; }
.hero-in { display: grid; gap: 44px; }
h1 { font-weight: 900; font-size: clamp(34px, 9.6vw, 64px); line-height: 1; letter-spacing: -0.025em; text-transform: uppercase; }
h1 .linea { display: block; text-wrap: balance; }
h1 .acento { color: var(--lima); }
.hero-frase { margin-top: 20px; font-size: 19px; line-height: 1.4; max-width: 30em; }
.acciones { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.acciones .boton { flex: 1 1 220px; }

/* vídeo del hero en un marco de móvil, con las esquinas de la marca alrededor */
.hero-movil { position: relative; justify-self: center; width: min(300px, 80vw); padding: 22px; }
.hero-movil .esq.tl { left: 0; top: 0; } .hero-movil .esq.tr { right: 0; top: 0; }
.hero-movil .esq.br { right: 0; bottom: 0; } .hero-movil .esq.bl { left: 0; bottom: 0; }
.movil { position: relative; padding: 9px; border-radius: 38px; background: var(--superficie);
         border: 1px solid var(--neutro); box-shadow: 0 30px 70px rgba(0, 0, 0, 0.55); }
.movil::after { content: ""; position: absolute; left: 50%; top: 19px; width: 26%; height: 16px; transform: translateX(-50%);
                border-radius: 99px; background: #000; }
.hero-video { width: 100%; height: auto; aspect-ratio: 9 / 16; object-fit: cover; border-radius: 30px; background: var(--carbon); }

/* entrada del hero al cargar: sutil, y nada si el sistema pide menos movimiento */
@keyframes subir { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes aparecer { from { opacity: 0; transform: translateY(12px) scale(0.98); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: no-preference) {
  .hero h1 .linea, .hero-frase, .acciones .boton { animation: subir 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
  .hero h1 .linea:nth-child(2) { animation-delay: 0.08s; }
  .hero h1 .linea:nth-child(3) { animation-delay: 0.16s; }
  .hero h1 .linea:nth-child(4) { animation-delay: 0.24s; }
  .hero-frase { animation-delay: 0.36s; }
  .acciones .boton:nth-child(1) { animation-delay: 0.48s; }
  .acciones .boton:nth-child(2) { animation-delay: 0.56s; }
  .hero-movil { animation: aparecer 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) 0.3s both; }
}

/* los dos párrafos de presentación, al principio de la sección siguiente */
.intro { max-width: 760px; font-size: 19px; margin-bottom: 72px; }
.intro p + p { margin-top: 16px; }

/* ── 2 · dos formas ── */
.dos { display: grid; gap: 16px; margin-top: 32px; }
.tarjeta { background: var(--sup); border-radius: 16px; padding: 26px 24px 28px; }
.tj-cab { display: flex; align-items: center; gap: 18px; margin-bottom: 16px; }
.picto { height: 64px; width: 36px; flex: none; }

/* ── 3 · ejemplos ── */
.grupo { margin-top: 40px; }
.grupo-titulo { display: flex; align-items: center; gap: 12px; font-size: 20px; }
.picto-chico { width: 18px; height: 32px; flex: none; color: var(--texto); }
.carrusel { display: grid; grid-auto-flow: column; grid-auto-columns: 68%; gap: 14px; margin: 18px -20px 0; padding: 0 20px 14px;
            overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 20px; overscroll-behavior-x: contain;
            scrollbar-width: thin; scrollbar-color: var(--neutro) transparent; }
.carrusel li { scroll-snap-align: start; }
.video video { width: 100%; height: auto; aspect-ratio: 9 / 16; object-fit: cover; border-radius: 14px; background: var(--superficie); }
.video figcaption { margin-top: 10px; font-family: "IBM Plex Mono", monospace; font-weight: 600; font-size: 12.5px;
                    letter-spacing: 0.06em; text-transform: uppercase; color: var(--apagado); }
.aviso-ejemplos { margin-top: 8px; max-width: 640px; font-family: "IBM Plex Mono", monospace; font-weight: 500; font-size: 12px;
                  line-height: 1.45; color: var(--tenue); }
/* ── 1b · antes y después ── */
.antes-despues { border-top: 1px solid var(--neutro); }
.ad-in { display: grid; gap: 24px; justify-items: center; text-align: center; }
.ad-cab h2::before { margin: 0 auto 18px; }
.ad-nota { width: 100%; margin-top: 2px; font-family: "IBM Plex Mono", monospace; font-weight: 500; font-size: 12px; color: var(--tenue); }
.interruptor { position: relative; display: grid; grid-template-columns: 1fr 1fr; width: 100%; max-width: 420px; padding: 6px;
               border-radius: 99px; background: var(--superficie); border: 1px solid var(--neutro); }
.interruptor::before { content: ""; position: absolute; top: 6px; bottom: 6px; left: 6px; width: calc(50% - 6px);
                       border-radius: 99px; background: var(--lima); transition: transform 0.3s cubic-bezier(0.2, 0.7, 0.2, 1); }
.interruptor[data-activo="despues"]::before { transform: translateX(100%); }
.int-op { position: relative; z-index: 1; min-height: 58px; border: 0; border-radius: 99px; background: transparent; cursor: pointer;
          color: var(--texto); font: 800 17px/1 Inter, system-ui, sans-serif; letter-spacing: 0.01em; text-transform: uppercase;
          transition: color 0.3s ease; }
.int-op[aria-pressed="true"] { color: var(--carbon); }
.ad-movil { position: relative; width: min(300px, 80vw); padding: 22px; }
.ad-movil .esq, .hero-movil .esq { width: 26px; height: 26px; }
.ad-movil .esq.tl { left: 0; top: 0; } .ad-movil .esq.tr { right: 0; top: 0; }
.ad-movil .esq.br { right: 0; bottom: 0; } .ad-movil .esq.bl { left: 0; bottom: 0; }
.ad-pantalla { position: relative; aspect-ratio: 9 / 16; border-radius: 30px; overflow: hidden; background: var(--carbon); }
.ad-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 0.25s ease; }
.ad-video.activo { opacity: 1; }
.ad-controles { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.ad-boton { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 20px; border-radius: 99px; cursor: pointer;
            border: 2px solid var(--texto); background: transparent; color: var(--texto); font: 700 15px/1 Inter, system-ui, sans-serif; }
.ad-boton:hover { background: var(--superficie2); }
.ad-boton svg { width: 22px; height: 22px; flex: none; }
.ad-sonido .ico-on, .ad-sonido[aria-pressed="true"] .ico-off { display: none; }
.ad-sonido[aria-pressed="true"] .ico-on { display: block; }
.ad-pausa .ico-play, .ad-pausa[aria-pressed="true"] .ico-pausa { display: none; }
.ad-pausa[aria-pressed="true"] .ico-play { display: block; }
@media (prefers-reduced-motion: reduce) { .interruptor::before, .ad-video { transition: none; } }

/* ── 4 · prueba: precio y botón a un lado, lo que incluye al otro (líneas de 65 caracteres como mucho) ── */
.prueba { display: grid; gap: 28px; background: var(--lima); color: var(--carbon); border-radius: 16px; padding: 30px 24px 32px;
          --acento: var(--carbon); }
.prueba > * { max-width: 31em; }
.pr-precio { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px 18px; margin-top: 22px; }
.pr-precio .cifra { font-weight: 900; font-size: clamp(64px, 19vw, 104px); line-height: 0.85; letter-spacing: -0.03em; white-space: nowrap; }
.pr-detalle { font-family: "IBM Plex Mono", monospace; font-weight: 600; font-size: 18px; line-height: 1.3; letter-spacing: 0.06em;
              text-transform: uppercase; }
.prueba .boton { margin-top: 28px; }
.pr-lista { display: flex; flex-direction: column; gap: 16px; padding-top: 26px; border-top: 2px solid rgba(14, 16, 12, 0.2);
            font-size: 18px; font-weight: 600; line-height: 1.35; }
.pr-lista li { display: flex; align-items: flex-start; gap: 12px; }
.pr-check { width: 26px; height: 26px; flex: none; padding: 5px; border-radius: 99px; background: var(--carbon); color: var(--lima); }

/* ── 5 · planes · papel: tres tarjetas y su desplegable con la tabla completa ── */
.papel { background: var(--papel); color: var(--tinta); padding: 64px 0 72px;
         --dim: var(--tintaApagada); --sup: var(--papelSuperficie); --linea: var(--neutroPapel); --acento: var(--limaTinta); }
.planes-grid { display: grid; gap: 14px; margin-top: 34px; }
.pc { position: relative; display: flex; flex-direction: column; background: var(--sup); border: 1px solid var(--linea);
      border-radius: 16px; padding: 30px 24px 26px; }
.pc.rec { background: var(--carbon); color: var(--texto); border-color: var(--carbon); box-shadow: 0 24px 50px rgba(14, 16, 12, 0.22);
          --dim: var(--apagado); --linea: var(--neutro); --acento: var(--lima); }
.pc > .sello { position: absolute; right: 20px; top: 0; transform: translateY(-50%); }
.pc h3 { text-transform: uppercase; font-weight: 900; font-size: 27px; letter-spacing: -0.02em; line-height: 1; }
.pc-precio { display: flex; align-items: flex-end; gap: 10px; margin-top: 18px; white-space: nowrap; }
.pc-precio .cifra { font-weight: 900; font-size: 56px; line-height: 0.82; letter-spacing: -0.03em; }
.pc-precio .et { font-size: 11px; line-height: 1.3; }
.pc-ritmo { margin-top: 22px; font-size: 16.5px; }
.pc-ritmo b, .pc-pv b { font-weight: 800; }
.pc-pv { margin-top: 2px; font-size: 16.5px; }
.pc-puntos { flex: 1; display: flex; flex-direction: column; gap: 12px; margin: 20px 0 26px; padding-top: 20px;
             border-top: 1px solid var(--linea); }
.pc-puntos li { display: flex; align-items: flex-start; gap: 10px; font-size: 16px; line-height: 1.35; }
.pc-check { width: 20px; height: 20px; flex: none; margin-top: 1px; color: var(--acento); }
.pc-boton { width: 100%; }
.pc-mas { margin-bottom: 26px; }
.pc-mas summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 12px;
                  min-height: 52px; padding: 0 20px; border-radius: 12px; border: 1px solid var(--linea); background: var(--sup);
                  font-weight: 700; font-size: 16px; }
.pc-mas summary::-webkit-details-marker { display: none; }
.pc-mas summary::after { content: ""; flex: none; width: 9px; height: 9px; margin-top: -4px; border-right: 2.5px solid currentColor;
                         border-bottom: 2.5px solid currentColor; transform: rotate(45deg); transition: transform 0.2s ease; }
.pc-mas[open] summary { border-radius: 12px 12px 0 0; border-bottom-color: transparent; }
.pc-mas[open] summary::after { transform: rotate(-135deg); margin-top: 4px; }
.pc-mas summary:hover { border-color: var(--tintaApagada); }
.pc-mas-in { padding: 0 20px 10px; background: var(--sup); border: 1px solid var(--linea); border-top: 0; border-radius: 0 0 12px 12px; }
.pl-texto { font-size: 16px; padding-top: 2px; }
.filas { display: flex; flex-direction: column; margin-top: 16px; font-size: 15.5px; line-height: 1.25; }
.fila { min-height: 46px; display: flex; justify-content: space-between; align-items: center; gap: 14px;
        border-top: 1px solid var(--linea); padding: 8px 0; }
.fila dt { font-weight: 700; white-space: nowrap; }
.fila dd { display: flex; align-items: center; gap: 7px; text-align: right; }
.dato { font-weight: 800; }
.nota { color: var(--dim); font-size: 15px; }
.si { width: 24px; height: 24px; color: var(--acento); overflow: visible; }
.no { color: var(--dim); }

/* ── 6 · extras y condiciones ── */
.dos-col { display: grid; gap: 72px; }
.ex-cab { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 10px 20px; }
.ex-cab .et { font-size: 12px; padding-bottom: 4px; }
.extras { margin-top: 20px; }
.extra { padding: 16px 0 18px; border-top: 1px solid var(--linea); }
.extra:last-child { border-bottom: 1px solid var(--linea); }
.pvp { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; margin-top: 6px; }
.pvp .cifra { font-weight: 800; font-size: 30px; line-height: 1.1; letter-spacing: -0.01em; color: var(--lima); }
.pvp .unidad { font-family: "IBM Plex Mono", monospace; font-weight: 500; font-size: 14px; color: var(--dim); }
.cond { display: flex; flex-direction: column; gap: 14px; margin-top: 24px; font-size: 17px; line-height: 1.45; }
.cond li { position: relative; padding-left: 30px; }
.cond li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 16px; height: 5px; background: var(--lima); }

/* ── 7 · cómo empezamos y contacto ── */
/* cómo trabajamos: nodos numerados unidos por una línea lima; en móvil, en vertical */
.pasos { position: relative; display: grid; gap: 14px; margin-top: 32px; max-width: 34em; }
.paso { position: relative; display: grid; grid-template-columns: 44px 1fr; gap: 16px; align-items: start; }
.nodo { position: relative; z-index: 1; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 99px;
        background: var(--carbon); border: 2px solid var(--lima); color: var(--lima); font-weight: 900; font-size: 18px; line-height: 1; }
.paso.destacado .nodo { background: var(--lima); color: var(--carbon); }
.paso:not(:last-child)::after { content: ""; position: absolute; left: 21px; top: 44px; bottom: -14px; width: 2px;
                                background: var(--lima); transform-origin: top; }
.paso-tarjeta { display: grid; grid-template-columns: 28px 1fr; gap: 14px; align-items: start; padding: 18px 20px 20px;
                border-radius: 16px; border: 1.5px solid transparent; background: var(--sup); font-size: 17px; line-height: 1.45; }
.paso.destacado .paso-tarjeta { border-color: var(--lima); }
.paso-ico { width: 28px; height: 28px; color: var(--lima); }
.paso-tarjeta a { color: var(--lima); font-weight: 600; text-underline-offset: 3px; }
.paso-tarjeta a:hover { color: var(--texto); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }

/* entrada una sola vez al aparecer (main.js pone .anim y luego .visto); nada si se pide menos movimiento */
@media (prefers-reduced-motion: no-preference) {
  .pasos.anim .nodo, .pasos.anim .paso-tarjeta { opacity: 0; transform: translateY(14px);
                                                 transition: opacity 0.5s ease, transform 0.55s cubic-bezier(0.2, 0.7, 0.2, 1); }
  .pasos.anim .paso::after { transform: scaleY(0); transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1); }
  .pasos.anim.visto .nodo, .pasos.anim.visto .paso-tarjeta { opacity: 1; transform: none; }
  .pasos.anim.visto .paso::after { transform: scaleY(1); }
  .pasos.anim .paso:nth-child(2) .nodo, .pasos.anim .paso:nth-child(2) .paso-tarjeta { transition-delay: 0.15s; }
  .pasos.anim .paso:nth-child(3) .nodo, .pasos.anim .paso:nth-child(3) .paso-tarjeta { transition-delay: 0.3s; }
  .pasos.anim .paso:nth-child(1)::after { transition-delay: 0.1s; }
  .pasos.anim .paso:nth-child(2)::after { transition-delay: 0.3s; }
}

.cierre { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 22px;
          margin-top: 64px; padding: 48px 22px 44px; }
.cierre .esq.tl { left: 0; top: 0; } .cierre .esq.tr { right: 0; top: 0; }
.cierre .esq.br { right: 0; bottom: 0; } .cierre .esq.bl { left: 0; bottom: 0; }
.bloque-contacto .cierre { margin-top: 0; }
.logo-grande { gap: 16px; }
.logo-grande .simbolo { height: 64px; width: 40px; }
.logo-grande .lg-nombre { font-size: 34px; }
.logo-grande .lg-motion { font-size: 40px; }
.logo-grande .lg-linea { gap: 10px; }
.firma { font-size: 17px; font-weight: 500; line-height: 2.1; }
.firma b { font-weight: 800; }
.firma .sep { display: none; }
.firma .arroba { display: inline-block; margin-top: 4px; }
.arroba { font-family: "IBM Plex Mono", monospace; font-weight: 600; font-size: 15px; background: var(--lima);
          color: var(--carbon); padding: 6px 14px 5px; border-radius: 99px; white-space: nowrap; }
.contacto-titulo { margin-top: 18px; font-size: clamp(26px, 7vw, 36px); }
.contacto-titulo::before { margin: 0 auto 16px; }
.contactos { display: grid; gap: 12px; width: 100%; max-width: 520px; }
.contacto { display: flex; align-items: center; gap: 12px; min-height: 66px; padding: 12px 16px; border-radius: 14px;
            background: var(--superficie); border: 1px solid var(--neutro); text-decoration: none; text-align: left;
            transition: border-color .15s ease, background-color .15s ease; }
.contacto:hover { border-color: var(--lima); background: var(--superficie2); }
.contacto svg { width: 26px; height: 26px; flex: none; color: var(--lima); }
.contactos li:first-child .contacto { background: var(--lima); border-color: var(--lima); color: var(--carbon); }
.contactos li:first-child .contacto svg { color: var(--carbon); }
.contactos li:first-child .contacto .ct-canal { color: var(--carbon); }
.contactos li:first-child .contacto:hover { background: #D6F566; }
.ct-texto { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.ct-canal { font-family: "IBM Plex Mono", monospace; font-weight: 600; font-size: 12px; letter-spacing: 0.12em;
            text-transform: uppercase; color: var(--apagado); }
.ct-dato { font-weight: 800; font-size: clamp(14px, 4.1vw, 16px); overflow-wrap: anywhere; }

/* ── pie ── */
.pie { border-top: 1px solid var(--neutro); padding: 28px 0 36px; color: var(--apagado); font-size: 15px; }
.pie-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.logo-pie .simbolo { height: 24px; width: 15px; }
.logo-pie .lg-nombre { font-size: 15px; }
.logo-pie .lg-motion { font-size: 19px; }
.pie a { color: var(--texto); text-underline-offset: 3px; }
.pie a:hover { color: var(--lima); }
.pie-contacto { display: flex; flex-wrap: wrap; gap: 4px 10px; }
.pie-contacto a { color: var(--lima); }
.pie-contacto a:hover { color: var(--texto); }

/* ── páginas legales (aviso legal, privacidad y cookies) ── */
.legal { padding: 56px 0 88px; }
.legal h1 { font-size: clamp(34px, 9vw, 60px); padding: 0; }
.legal h2 { font-size: clamp(22px, 5.6vw, 30px); margin-top: 48px; }
.legal h2::before { width: 36px; height: 6px; margin-bottom: 14px; }
.legal a { color: var(--lima); text-underline-offset: 3px; }
.legal .boton { color: var(--texto); }
.legal p, .legal li { margin-top: 14px; max-width: 720px; }
.legal ul { padding-left: 0; }
.legal li { position: relative; padding-left: 26px; }
.legal li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 14px; height: 4px; background: var(--lima); }
.legal .datos { margin-top: 24px; background: var(--superficie); border-radius: 16px; padding: 22px 22px 24px; max-width: 720px; }
.legal .datos div { display: grid; gap: 2px; padding: 10px 0; border-top: 1px solid var(--neutro); }
.legal .datos div:first-child { border-top: 0; padding-top: 0; }
.legal .datos dt { font-family: "IBM Plex Mono", monospace; font-weight: 600; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--apagado); }
.legal .datos dd { font-weight: 700; overflow-wrap: anywhere; }
.legal .actualizado { margin-top: 48px; color: var(--apagado); font-size: 15px; }
.legal .volver { margin-top: 36px; }
.legal .destacado { margin-top: 24px; max-width: 720px; border-left: 5px solid var(--lima); padding: 4px 0 4px 18px; font-weight: 700; }

/* ── pantallas medianas y grandes ── */
@media (min-width: 640px) {
  .contenedor { padding: 0 32px; }
  .carrusel { margin: 18px -32px 0; padding: 0 32px 14px; scroll-padding: 0 32px; grid-auto-columns: 40%; }
  .tarjeta, .prueba { padding: 36px 36px 38px; }
  .pc { padding: 34px 30px 28px; }
  .contactos { grid-template-columns: 1fr 1fr; max-width: 640px; }
  .contactos-3 li:first-child { grid-column: 1 / -1; }
  .ct-dato { font-size: 18px; }
  .firma .sep { display: inline; }
  .firma .arroba { margin-top: 0; }
}
@media (min-width: 900px) {
  :root { --barra: 72px; }
  body { font-size: 18px; }
  .menu { display: flex; }
  .simbolo { height: 34px; width: 21px; }
  .lg-nombre { font-size: 21px; }
  .lg-motion { font-size: 27px; }
  .bloque { padding: 112px 0; }
  /* el hero entero cabe en la primera pantalla: el móvil se dimensiona con la altura disponible */
  .hero { display: flex; align-items: center; min-height: calc(100svh - var(--barra)); padding: 40px 0 48px; }
  .hero-in { grid-template-columns: 1fr auto; align-items: center; gap: 56px; }
  /* el titular se mide contra su columna: cuatro líneas enteras, como en el PDF */
  .hero-texto { container-type: inline-size; }
  h1 { font-size: clamp(40px, 4.2vw, 72px); font-size: clamp(40px, min(8cqi, 8.6vh), 76px); }
  .hero-frase { font-size: 21px; margin-top: 24px; }
  .acciones { margin-top: 32px; }
  .acciones .boton { flex: 0 0 auto; }
  .hero-movil { width: clamp(250px, calc((100svh - var(--barra) - 150px) * 0.5625 + 62px), 330px); }
  .intro { font-size: 21px; margin-bottom: 96px; }
  .dos { grid-template-columns: 1fr 1fr; gap: 24px; }
  .carrusel { display: grid; grid-auto-flow: row; grid-template-columns: repeat(5, 1fr); grid-auto-columns: auto;
              overflow: visible; margin: 22px 0 0; padding: 0; gap: 20px; }
  .papel { padding: 104px 0 112px; }
  .planes-grid { grid-template-columns: repeat(3, 1fr); column-gap: 24px; row-gap: 12px; align-items: start; margin-top: 44px; }
  .pc { align-self: stretch; padding: 36px 28px 28px; }
  .pc-mas { margin-bottom: 0; }
  .col1 { grid-column: 1; } .col2 { grid-column: 2; } .col3 { grid-column: 3; }
  .pc.col1, .pc.col2, .pc.col3 { grid-row: 1; }
  .pc-mas.col1, .pc-mas.col2, .pc-mas.col3 { grid-row: 2; }
  .pc-precio .cifra { font-size: 52px; }
  /* antes y después: el móvil a la izquierda, título e interruptor a la derecha */
  .ad-in { grid-template-columns: auto 1fr; grid-template-rows: 1fr auto auto auto 1fr; column-gap: 80px; row-gap: 28px;
           grid-template-areas: "movil ." "movil cab" "movil int" "movil ctl" "movil ."; justify-items: start; text-align: left; }
  .ad-cab { grid-area: cab; }
  .ad-cab h2::before { margin: 0 0 18px; }
  .interruptor { grid-area: int; }
  .ad-movil { grid-area: movil; width: 330px; }
  .ad-controles { grid-area: ctl; justify-content: flex-start; }
  .dos-col { grid-template-columns: 1fr 1.25fr; gap: 72px; align-items: start; }
  .cierre { margin-top: 96px; padding: 64px 40px 60px; }
  .bloque-contacto .cierre { margin-top: 0; }
  /* prueba a dos columnas */
  .prueba { grid-template-columns: 1fr 1fr; align-items: center; gap: 56px; padding: 48px 48px 50px; }
  .pr-lista { padding: 6px 0 6px 48px; border-top: 0; border-left: 2px solid rgba(14, 16, 12, 0.2); font-size: 19px; }
  /* cómo trabajamos: tres pasos en fila; la línea va de nodo a nodo, de izquierda a derecha */
  .pasos { grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: start; max-width: none; margin-top: 40px; }
  .paso { grid-template-columns: 1fr; gap: 18px; }
  .paso:not(:last-child)::after { left: 52px; top: 21px; bottom: auto; width: calc(100% + 24px - 60px); height: 2px;
                                  transform-origin: left; }
  .logo-grande .simbolo { height: 84px; width: 52px; }
  .logo-grande .lg-nombre { font-size: 44px; }
  .logo-grande .lg-motion { font-size: 52px; }
}
@media (min-width: 900px) and (prefers-reduced-motion: no-preference) {
  .pasos.anim .paso::after { transform: scaleX(0); }
  .pasos.anim.visto .paso::after { transform: scaleX(1); }
}
/* móviles muy estrechos (320 px): el menú y el marco del contacto se compactan para que quepan */
@media (max-width: 359px) {
  .barra-in { gap: 10px; }
  .lg-nombre { font-size: 16px; }
  .lg-motion { font-size: 20px; }
  .simbolo { height: 26px; width: 16px; }
  .boton-chico { padding: 0 12px; font-size: 12px; }
}
@media (max-width: 639px) {
  .cierre { padding-left: 12px; padding-right: 12px; }
}
