@font-face { font-family: "Titular"; src: url("/fuentes/titular-800.woff2") format("woff2"); font-weight: 800; font-display: swap; }
@font-face { font-family: "Texto"; src: url("/fuentes/texto-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Texto"; src: url("/fuentes/texto-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Texto"; src: url("/fuentes/texto-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --esmalte: #0f4a3a;
  --esmalte-hondo: #0a3529;
  --esmalte-claro: #dcebdf;
  --tinta: #13211c;
  --papel: #f4f2e9;
  --amarillo: #ffc928;
  --tomate: #f2603a;
  --celeste: #9bd8f2;
  --laton: #d9b35c;
  --laton-hondo: #7f6424;
  --sombra-colgado: 0 18px 28px -10px rgba(4, 22, 16, .55), 0 3px 6px rgba(4, 22, 16, .3);
  --margen: clamp(16px, 4vw, 64px);
  --salida: cubic-bezier(.16, 1, .3, 1);
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--esmalte); color: var(--papel);
  font: 400 1.0625rem/1.55 "Texto", system-ui, sans-serif; -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
::selection { background: var(--amarillo); color: var(--tinta); }
html { scrollbar-color: var(--laton) var(--esmalte-hondo); }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3 { margin: 0; font-family: "Titular", "Arial Narrow", sans-serif; font-weight: 800; line-height: .98; text-wrap: balance; }
h1 { font-size: clamp(3.1rem, min(6vw, 9.4vh), 6rem); letter-spacing: -.005em; }
h2 { font-size: clamp(2.5rem, 5.2vw, 4.75rem); }
h3 { font-size: clamp(1.7rem, 2.4vw, 2.2rem); line-height: 1.02; }
p { margin: 0; text-wrap: pretty; }
a { color: inherit; text-underline-offset: .18em; }
:focus-visible { outline: 3px solid var(--amarillo); outline-offset: 3px; border-radius: 3px; }

.saltar { position: absolute; left: 12px; top: -60px; z-index: 20; display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; background: var(--amarillo); color: var(--tinta); border-radius: 6px; font-weight: 700; }
.saltar:focus { top: 8px; }

/* Riel de latón con el menú en llaveros */
.riel {
  position: relative; z-index: 5; display: flex; align-items: flex-start; justify-content: space-between; gap: 16px;
  padding: 18px var(--margen) 0; min-height: 96px;
}
.riel::before {
  content: ""; position: absolute; left: 0; right: 0; top: 12px; height: 7px;
  background: linear-gradient(var(--laton) 55%, var(--laton-hondo)); box-shadow: 0 5px 8px rgba(4, 22, 16, .35);
}
.logotipo { position: relative; display: block; flex: none; margin-top: 18px; }
.logotipo img { display: block; width: auto; height: 46px; }
.menu { list-style: none; display: flex; gap: clamp(8px, 1.6vw, 22px); margin: 0; padding: 0; position: relative; }
.llavero-menu {
  position: relative; display: block; margin-top: -2px; padding: 26px 14px 12px; min-width: 76px; text-align: center;
  border-radius: 6px 6px 16px 16px; color: var(--tinta); text-decoration: none; font-weight: 700; font-size: .95rem; line-height: 1.1;
  box-shadow: var(--sombra-colgado); transform-origin: 50% 0; transition: transform .5s var(--salida);
}
.llavero-menu::before {
  content: ""; position: absolute; left: 50%; top: 8px; width: 11px; height: 11px; margin-left: -5.5px;
  border-radius: 50%; background: var(--laton-hondo); box-shadow: inset 0 2px 2px rgba(0, 0, 0, .45);
}
.llavero-menu:hover, .llavero-menu:focus-visible { transform: rotate(-7deg); }
.amarillo { background: var(--amarillo); color: var(--tinta); }
.celeste { background: var(--celeste); color: var(--tinta); }
.tomate { background: var(--tomate); color: var(--tinta); }
.papel { background: var(--papel); color: var(--tinta); }

/* Primera pantalla */
.apertura {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: clamp(24px, 4vw, 72px); align-items: start;
  padding: clamp(8px, 2vw, 28px) var(--margen) clamp(56px, 7vw, 104px);
}
.apertura-texto { padding-top: clamp(16px, 4vh, 76px); max-width: 40rem; }
.entradilla { margin-top: 26px; font-size: clamp(1.15rem, 1.5vw, 1.35rem); line-height: 1.45; max-width: 34em; }
.precio-apertura { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; max-width: 34em; }
.precio-cifras { padding: 8px 14px; border-radius: 10px; background: var(--esmalte-hondo); box-shadow: inset 0 0 0 1px rgba(220, 235, 223, .18); font-size: 1.05rem; }
.precio-apertura strong { color: var(--amarillo); font-weight: 700; font-size: 1.2em; font-variant-numeric: tabular-nums; }
.precio-apertura .plazo { flex-basis: 100%; color: var(--esmalte-claro); font-size: .95rem; }
.acciones { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.boton {
  display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 26px; border: 0; border-radius: 10px;
  font: 700 1.0625rem/1 "Texto", sans-serif; text-decoration: none; cursor: pointer;
  transition: transform .4s var(--salida), box-shadow .4s var(--salida), background-color .2s;
}
.boton.principal { background: var(--amarillo); color: var(--tinta); box-shadow: 0 8px 16px -6px rgba(4, 22, 16, .7); }
.boton.principal:hover { transform: translateY(-2px); box-shadow: 0 13px 20px -7px rgba(4, 22, 16, .75); }
.boton.secundario { background: transparent; color: var(--papel); box-shadow: inset 0 0 0 2px var(--papel); }
.boton.secundario:hover { background: var(--papel); color: var(--tinta); }

/* El llavero grande */
.llavero-grande {
  position: relative; margin: -62px 0 0; display: flex; flex-direction: column; align-items: center;
  transform-origin: 50% 0; animation: balanceo 2.6s var(--salida) both;
}
@keyframes balanceo {
  0% { transform: rotate(-5deg); }
  28% { transform: rotate(3deg); }
  52% { transform: rotate(-1.4deg); }
  76% { transform: rotate(.6deg); }
  100% { transform: rotate(0); }
}
.llavero-grande::before {  /* varilla que une el gancho al riel */
  content: ""; position: absolute; left: calc(50% - 3.6px); top: -74px; width: 7.2px; height: 80px;
  background: linear-gradient(90deg, var(--laton), #e9cc86 45%, var(--laton-hondo));
}
.gancho { width: 72px; height: 120px; margin-bottom: -44px; position: relative; z-index: 2; filter: drop-shadow(0 4px 3px rgba(4, 22, 16, .45)); }
.llavero-cuerpo {
  position: relative; width: 100%; padding: 58px clamp(12px, 1.6vw, 22px) 0; border-radius: 34px 34px 22px 22px;
  background: var(--amarillo); color: var(--tinta); box-shadow: var(--sombra-colgado);
}
.agujero {
  position: absolute; left: 50%; top: 14px; width: 28px; height: 28px; margin-left: -14px; border-radius: 50%;
  background: var(--esmalte-hondo); box-shadow: inset 0 3px 4px rgba(0, 0, 0, .6);
}
.comparador {
  position: relative; aspect-ratio: 630 / 460; overflow: hidden; border-radius: 12px; background: var(--papel);
  box-shadow: inset 0 0 0 2px rgba(19, 33, 28, .55); --corte: 48%;
}
.vista-3d, .capa-plano { position: absolute; inset: 0; width: 100%; height: 100%; }
.vista-3d { object-fit: cover; }
.capa-plano { clip-path: inset(0 calc(100% - var(--corte)) 0 0); font-family: "Texto", sans-serif; }
.plano-svg { width: 100%; height: 100%; }
.tirador { position: absolute; top: 0; bottom: 0; left: var(--corte); width: 3px; margin-left: -1.5px; background: var(--amarillo); box-shadow: 0 0 0 1px var(--tinta); pointer-events: none; }
.tirador svg { position: absolute; top: 50%; left: 50%; width: 44px; max-width: none; height: 44px; margin: -22px 0 0 -22px; filter: drop-shadow(0 3px 4px rgba(4, 22, 16, .4)); }
.lado { position: absolute; top: 10px; padding: 3px 9px; border-radius: 5px; background: var(--tinta); color: var(--papel); font-weight: 700; font-size: .82rem; pointer-events: none; }
.lado-plano { left: 10px; }
.lado-3d { right: 10px; }
.control { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; touch-action: pan-y; }
.comparador:has(.control:focus-visible) { outline: 3px solid var(--tinta); outline-offset: 3px; }
.ficha-llavero { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 16px; padding: 12px 6px 14px; font-size: .95rem; font-variant-numeric: tabular-nums; }
.ficha-llavero strong { font-weight: 700; }

/* Cómo funciona */
.como { padding: clamp(56px, 7vw, 104px) var(--margen); background: var(--esmalte-hondo); }
.pasos { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 4vw, 60px); margin: clamp(32px, 4vw, 56px) 0 0; padding: 0; position: relative; }
.pasos::before { content: ""; position: absolute; left: 0; right: 0; top: clamp(52px, 5.5vw, 76px); height: 3px; background: var(--laton); }
.numero {
  display: block; width: fit-content; padding: 0 .12em 0 0; background: var(--esmalte-hondo); position: relative; color: var(--amarillo);
  font: 800 clamp(6rem, 11vw, 9.5rem)/.82 "Titular", sans-serif; font-variant-numeric: tabular-nums;
}
.pasos h3 { margin-top: 20px; }
.pasos p { margin-top: 10px; max-width: 32em; color: var(--esmalte-claro); }

/* Prueba del piso */
.prueba { padding: clamp(64px, 8vw, 120px) var(--margen) clamp(48px, 6vw, 84px); }
.prueba-texto { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px clamp(24px, 4vw, 72px); align-items: end; }
.prueba-texto p { max-width: 34em; font-size: 1.15rem; }
.visor-marco {
  position: relative; margin-top: clamp(24px, 3vw, 40px); height: min(76vh, 760px); min-height: 440px; overflow: hidden;
  border-radius: 20px; background: #2a2e31; box-shadow: var(--sombra-colgado);
}
.visor-cartel {
  width: 100%; height: 100%; object-fit: contain;
}
.visor-cartel[hidden], .abrir[hidden] { display: none; }
.abrir { position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%); white-space: nowrap; }
.abrir.boton.principal:hover { transform: translateX(-50%) translateY(-2px); }
.visor-marco iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.prueba-pie { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 18px 32px; margin-top: 18px; }
.prueba-nota { display: flex; flex-wrap: wrap; gap: 12px; }
.prueba-accion { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.prueba-accion p { font-size: 1.15rem; color: var(--esmalte-claro); }
.boton[hidden] { display: none; }

/* Proporciones reales */
.rigor { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 80px); align-items: center; padding: clamp(64px, 8vw, 120px) var(--margen); background: var(--papel); color: var(--tinta); }
.rigor :focus-visible { outline-color: var(--tinta); }
.rigor-entrada { margin-top: 20px; font-size: clamp(1.1rem, 1.4vw, 1.25rem); line-height: 1.45; max-width: 34em; }
.rigor-lista { grid-template-columns: minmax(0, 1fr); gap: 18px; }
.rigor-prueba { margin: 0; }
.rigor-prueba img { width: 100%; border-radius: 12px; box-shadow: 0 24px 34px -18px rgba(4, 22, 16, .55); }
.rigor-prueba figcaption { margin-top: 12px; font-size: .95rem; }

/* Lo que ve el comprador */
.comprador {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: center;
  padding: clamp(64px, 8vw, 120px) var(--margen); background: var(--amarillo); color: var(--tinta);
}
.moviles { display: flex; justify-content: center; align-items: flex-start; width: 100%; max-width: 720px; justify-self: center; }
.movil { position: relative; flex: 1 1 0; min-width: 0; margin: 0; }
.movil + .movil { z-index: 1; margin: clamp(40px, 5vw, 72px) 0 0 -5%; }
.movil-marco { container-type: inline-size; padding: 3.2%; border-radius: 13% / 6.5%; background: var(--tinta); box-shadow: 0 30px 40px -18px rgba(0, 0, 0, .45); transform: rotate(3.5deg); }
.movil + .movil .movil-marco { transform: rotate(-3deg); }
.movil-marco > img, .chat { width: 100%; aspect-ratio: 1 / 2; border-radius: 10% / 5%; }
.movil figcaption { display: flex; align-items: flex-start; gap: 10px; margin-top: 30px; padding-right: 6%; font-size: 1rem; line-height: 1.35; }
.movil + .movil figcaption { padding: 0 0 0 8%; }
.movil figcaption strong { font-weight: 700; }
.paso { flex: none; font: 800 3.1rem/.82 "Titular", sans-serif; font-variant-numeric: tabular-nums; }

/* Ejemplo de inserción en una web */
.en-tu-web { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: center; margin-top: clamp(16px, 3vw, 40px); padding-top: clamp(32px, 4vw, 56px); border-top: 2px solid var(--tinta); }
.navegador { overflow: hidden; border: 3px solid var(--tinta); border-radius: 14px; background: #fff; box-shadow: 0 30px 40px -18px rgba(0, 0, 0, .45); }
.navegador-barra { display: flex; align-items: center; gap: 6px; padding: 10px 12px; background: var(--tinta); }
.navegador-barra i { flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--esmalte-claro); }
.navegador-barra span { flex: 1; min-width: 0; margin-left: 8px; padding: 2px 12px; overflow: hidden; border-radius: 99px; background: var(--esmalte-hondo); color: var(--papel); font-size: .84rem; text-overflow: ellipsis; white-space: nowrap; }
.navegador-ficha { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 2px 16px; padding: 12px 16px; color: var(--tinta); font-size: .95rem; }
.navegador-ficha strong { font-weight: 700; font-size: 1.05rem; }
.en-tu-web-texto p { margin-top: 12px; max-width: 34em; }
.en-tu-web-texto pre { margin: 18px 0 0; padding: 14px 16px; overflow-wrap: anywhere; white-space: pre-wrap; border-radius: 10px; background: var(--tinta); color: var(--papel); font: 500 .88rem/1.5 ui-monospace, Consolas, Menlo, monospace; }

/* Redes sociales: sección propia */
.redes {
  position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: center;
  padding: clamp(72px, 9vw, 132px) var(--margen); background: var(--celeste); color: var(--tinta);
}
.redes :focus-visible { outline-color: var(--tinta); }
.redes-entrada { margin-top: 20px; max-width: 32em; font-size: clamp(1.1rem, 1.4vw, 1.25rem); line-height: 1.45; }
.redes-canales { display: flex; flex-wrap: wrap; gap: 8px; margin: 26px 0 0; padding: 0; list-style: none; }
.redes-canales li { padding: 7px 14px; border-radius: 99px; background: var(--tinta); color: var(--papel); font-weight: 700; font-size: .95rem; }
.redes-ventajas { display: grid; gap: 14px; margin: clamp(28px, 3vw, 40px) 0 0; }
.redes-ventajas div { padding: 16px 18px 16px 20px; border-left: 5px solid var(--tinta); border-radius: 4px 12px 12px 4px; background: rgba(255, 255, 255, .55); }
.redes-ventajas dt { font-weight: 700; font-size: 1.1rem; }
.redes-ventajas dd { margin: 4px 0 0; }
.redes-escena { position: relative; display: flex; justify-content: center; align-items: center; min-height: clamp(460px, 44vw, 640px); }
.redes-escena .historia { position: relative; z-index: 2; max-width: clamp(220px, 20vw, 290px); margin: 0 0 0 36%; }
.publicacion {
  position: absolute; z-index: 1; left: 0; top: 50%; width: min(56%, 330px); margin: 0; overflow: hidden; border-radius: 16px;
  background: #fff; color: var(--tinta); box-shadow: 0 30px 40px -18px rgba(0, 0, 0, .45); transform: translateY(-54%) rotate(-5deg); font-size: .9rem; line-height: 1.3;
}
.publicacion-cabecera { display: flex; align-items: center; gap: 10px; padding: 12px 14px 8px; }
.publicacion-cabecera .chat-avatar { width: 34px; height: 34px; background: var(--tomate); }
.publicacion-cabecera p { display: flex; flex-direction: column; }
.publicacion-cabecera strong { font-weight: 700; }
.publicacion-cabecera small { color: #56645e; font-size: .8rem; }
.publicacion-texto { padding: 0 14px 10px; }
.publicacion img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.publicacion-enlace { display: flex; align-items: center; gap: 10px; padding: 10px 14px; background: var(--papel); }
.publicacion-enlace p { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.publicacion-enlace small { color: #56645e; font-size: .72rem; letter-spacing: .04em; }
.publicacion-enlace strong { font-weight: 700; }
.publicacion-enlace span { flex: none; padding: 7px 10px; border-radius: 6px; background: var(--amarillo); font-weight: 700; font-size: .8rem; }
.publicacion-acciones { display: flex; gap: 14px; padding: 10px 14px 12px; }
.publicacion-acciones svg { width: 22px; height: 22px; }
.redes-chip {
  position: absolute; z-index: 3; right: 0; top: 4%; display: flex; flex-direction: column; padding: 10px 16px; border-radius: 12px;
  background: var(--tinta); color: var(--papel); font: 600 .9rem/1.3 ui-monospace, Consolas, Menlo, monospace; box-shadow: 0 16px 24px -12px rgba(0, 0, 0, .55); transform: rotate(3deg);
}
.redes-chip span { color: var(--amarillo); font: 700 .78rem/1.3 "Texto", sans-serif; }
.historia { width: 100%; margin: 0; }
.historia .movil-marco { transform: rotate(-3deg); }
.historia-pantalla { position: relative; overflow: hidden; width: 100%; aspect-ratio: 1 / 2; border-radius: 10% / 5%; background: var(--tinta); color: #fff; font-size: 4.6cqw; line-height: 1.2; }
.historia-pantalla > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.historia-pantalla::after { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(19, 33, 28, .55), transparent 22%, transparent 55%, rgba(19, 33, 28, .7)); }
.historia-barras, .historia-perfil, .historia-texto, .historia-enlace { position: absolute; z-index: 1; }
.historia-barras { top: 1.4em; left: .8em; right: .8em; display: flex; gap: .3em; }
.historia-barras i { flex: 1; height: .18em; border-radius: .1em; background: rgba(255, 255, 255, .45); }
.historia-barras i:first-child { background: #fff; }
.historia-perfil { top: 2.1em; left: .8em; display: flex; align-items: center; gap: .5em; font-size: .9em; }
.historia-perfil .chat-avatar { width: 2em; height: 2em; border: .12em solid #fff; }
.historia-perfil strong { font-weight: 700; }
.historia-texto { left: .9em; right: .9em; bottom: 2.3em; font: 800 2.1em/1 "Titular", sans-serif; }
.historia-texto span { display: block; margin-top: .25em; font: 700 .45em/1.2 "Texto", sans-serif; }
.historia-enlace { left: 50%; bottom: 2em; transform: translateX(-50%) rotate(-2deg); padding: .55em 1em; border-radius: .6em; background: var(--amarillo); color: var(--tinta); font-weight: 700; white-space: nowrap; box-shadow: 0 .3em .6em rgba(0, 0, 0, .35); }

/* Conversación dibujada: todo se mide en em para que escale con el ancho del móvil */
.chat { display: flex; flex-direction: column; overflow: hidden; background: #e9e6da; color: var(--tinta); font-size: 4.1cqw; line-height: 1.3; }
.chat-cabecera { display: flex; align-items: center; gap: .6em; padding: 1.5em .9em .8em; background: var(--esmalte); color: var(--papel); }
.chat-cabecera svg { width: .6em; height: 1em; flex: none; }
.chat-avatar { flex: none; width: 2.4em; height: 2.4em; border-radius: 50%; background: var(--celeste); }
.chat-contacto { display: flex; flex-direction: column; }
.chat-contacto strong { font-weight: 700; }
.chat-contacto small { font-size: .8em; color: var(--esmalte-claro); }
.chat-hilo { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; gap: .6em; padding: .9em .7em; }
.burbuja { max-width: 88%; padding: .5em .65em; border-radius: .9em; box-shadow: 0 1px 1px rgba(19, 33, 28, .18); }
.burbuja small { display: block; margin-top: .1em; text-align: right; font-size: .76em; color: #4c5a54; }
.recibida { align-self: flex-start; border-bottom-left-radius: .2em; background: #fff; }
.enviada { align-self: flex-end; width: 88%; padding: .3em .3em .5em; border-bottom-right-radius: .2em; background: var(--esmalte-claro); }
.enviada > p { padding: .45em .4em 0; }
.previa { overflow: hidden; border-radius: .7em; background: #fff; }
.previa img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; background: #e7e5e0; }
.previa p { display: flex; flex-direction: column; gap: .15em; padding: .5em .6em .6em; }
.previa strong { font-weight: 700; line-height: 1.2; }
.previa span { font-size: .8em; color: #4c5a54; }
.chat-enlace { color: var(--esmalte); font-weight: 700; text-decoration: underline; }
.chat-pie { display: flex; align-items: center; gap: .5em; padding: 0 .7em 1.1em; }
.chat-pie span { flex: 1; padding: .55em .9em; border-radius: 2em; background: #fff; color: #4c5a54; }
.chat-pie i { flex: none; width: 2.3em; height: 2.3em; border-radius: 50%; background: var(--esmalte); }
.rasgos { margin: clamp(24px, 3vw, 40px) 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px clamp(20px, 3vw, 44px); }
.rasgos dt { font-weight: 700; font-size: 1.1rem; }
.rasgos dd { margin: 4px 0 0; }
.tarjetas { gap: clamp(12px, 1.6vw, 18px); }
.tarjetas > div { padding: 18px 18px 20px; border-radius: 14px; background: var(--papel); box-shadow: 0 2px 0 var(--tinta), 0 14px 22px -16px rgba(19, 33, 28, .6); }
.tarjetas .icono { width: 34px; height: 34px; margin-bottom: 12px; padding: 6px; border-radius: 9px; background: var(--tinta); color: var(--amarillo); }
.tarjetas dd { font-size: .98rem; }
.para-quien { margin-top: clamp(26px, 3vw, 40px); padding-top: 20px; border-top: 2px solid var(--tinta); max-width: 44em; }
.para-quien strong { font-weight: 700; }

/* Informe mensual de visitas */
.informe { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(32px, 5vw, 80px); align-items: center; padding: clamp(64px, 8vw, 120px) var(--margen); background: var(--esmalte-hondo); }
.informe-entrada { margin-top: 20px; font-size: clamp(1.1rem, 1.4vw, 1.25rem); line-height: 1.45; max-width: 34em; }
.informe-nota { margin-top: clamp(22px, 3vw, 32px); padding-top: 18px; border-top: 2px solid var(--laton); max-width: 34em; color: var(--esmalte-claro); }
.informe-nota strong { font-weight: 700; color: var(--papel); }
.informe-lista { grid-column: 1 / -1; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 0; padding-top: clamp(28px, 3vw, 44px); border-top: 2px solid rgba(220, 235, 223, .25); }
.informe-lista dd { color: var(--esmalte-claro); }

/* Correo de ejemplo dibujado */
.correo-ejemplo { margin: 0; width: 100%; max-width: 600px; justify-self: center; }
.correo-ventana { overflow: hidden; border-radius: 14px; background: #fff; color: var(--tinta); box-shadow: 0 30px 40px -18px rgba(0, 0, 0, .55); transform: rotate(1.2deg); }
.correo-cabecera { display: grid; gap: 4px; padding: 12px 20px; border-bottom: 1px solid #ddd8c8; background: var(--papel); font-size: .86rem; }
.correo-cabecera span { display: inline-block; width: 4.6em; color: #56645e; }
.correo-cabecera strong { font-weight: 700; }
.correo-marca { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 22px; background: var(--esmalte); color: var(--esmalte-claro); font-size: .8rem; }
.correo-marca img { height: 22px; width: auto; }
.correo-cuerpo { padding: 20px 22px 24px; font-size: .94rem; }
.correo-periodo { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 2px 12px; margin-bottom: 14px; }
.correo-periodo strong { font: 800 1.9rem/1 "Titular", sans-serif; }
.correo-periodo span { color: #56645e; font-size: .84rem; }
.correo-cifras { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 0 0 14px; }
.correo-cifras div { display: flex; flex-direction: column; padding: 12px 14px; border-radius: 8px; background: var(--papel); line-height: 1.2; }
.correo-cifras span { font-size: .76rem; color: #56645e; }
.correo-cifras strong { margin: 6px 0 4px; font: 800 2.1rem/1 "Titular", sans-serif; font-variant-numeric: tabular-nums; }
.correo-cifras em { font-style: normal; font-size: .74rem; color: #56645e; }
.correo-cifras em.sube { color: #1d7a4f; }
.correo-destacado { font-size: .9rem; }
.correo-destacado strong { font-weight: 700; }
.correo-rotulo { margin: 18px 0 8px; font-weight: 700; font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; color: var(--esmalte); }
/* Como en el correo: nombre, barra y cifra en una fila; la barra es la parte del total */
.filas { display: grid; gap: 7px; margin: 0; padding: 0; list-style: none; font-size: .84rem; line-height: 1.2; }
.filas li { display: grid; grid-template-columns: minmax(0, 44%) minmax(0, 1fr) auto; align-items: center; gap: 10px; }
.filas i { height: 8px; background: linear-gradient(90deg, var(--esmalte) max(var(--v), 2px), #ebe8dc max(var(--v), 2px)); }
.filas.embudo i { background: linear-gradient(90deg, var(--amarillo) var(--v), #ebe8dc var(--v)); }
.filas b { min-width: 5.2em; text-align: right; font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.filas small { margin-right: 4px; font-weight: 400; font-size: .76rem; color: #56645e; }
.correo-tabla { width: 100%; border-collapse: collapse; font-size: .84rem; font-variant-numeric: tabular-nums; }
.correo-tabla th, .correo-tabla td { padding: 7px 6px; border-bottom: 1px solid #e3dfd0; text-align: right; vertical-align: top; white-space: nowrap; }
.correo-tabla thead th { padding-top: 0; color: #56645e; font-weight: 400; font-size: .74rem; }
.correo-tabla th:first-child { padding-left: 0; text-align: left; white-space: normal; }
.correo-tabla td:last-child { padding-right: 0; }
.correo-tabla tbody th { font-weight: 600; }
.correo-tabla tbody th small { display: block; margin-top: 2px; font-weight: 400; font-size: .74rem; color: #56645e; }
.correo-tabla tbody td:nth-child(2) { font-weight: 700; }
.correo-aparte { display: flex; align-items: center; gap: 10px; margin-top: 20px; padding: 10px 14px; border-radius: 8px; background: var(--esmalte-claro); font-size: .84rem; }
.correo-aparte span { flex: none; padding: 3px 6px; border-radius: 4px; background: var(--tomate); color: #fff; font-weight: 700; font-size: .68rem; letter-spacing: .04em; }

/* Precios */
.precios { padding: clamp(64px, 8vw, 120px) var(--margen) clamp(64px, 8vw, 110px); }
.precios-entrada { margin-top: 12px; font-size: 1.15rem; }
.tarifas {
  list-style: none; position: relative; display: grid; grid-template-columns: 1.15fr 1fr 1fr 1.15fr; gap: clamp(12px, 2vw, 28px); align-items: start;
  margin: clamp(44px, 5vw, 68px) calc(var(--margen) * -1) 0; padding: 18px var(--margen) 0;
}
.tarifas::before { content: ""; position: absolute; left: 0; right: 0; top: 18px; height: 7px; background: linear-gradient(var(--laton) 55%, var(--laton-hondo)); box-shadow: 0 5px 8px rgba(4, 22, 16, .35); }
.tarifa {
  position: relative; padding: 56px clamp(16px, 1.8vw, 26px) 24px; border-radius: 10px 10px 26px 26px; box-shadow: var(--sombra-colgado);
  transform-origin: 50% 0; transition: transform .6s var(--salida);
}
.tarifa:nth-child(2) { margin-top: 26px; }
.tarifa:nth-child(3) { margin-top: 10px; }
.tarifa:nth-child(4) { margin-top: 40px; }
.tarifa:hover { transform: rotate(-2deg); }
.tarifa:nth-child(even):hover { transform: rotate(2deg); }
.tarifa .agujero { top: 16px; width: 20px; height: 20px; margin-left: -10px; }
.importe { margin: 8px 0 8px; font: 800 clamp(3.4rem, 5.4vw, 5rem)/.95 "Titular", sans-serif; font-variant-numeric: tabular-nums; }
.importe small { font: 700 1rem/1 "Texto", sans-serif; margin-left: 3px; }
.precios-pie { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 80px); align-items: end; margin-top: clamp(40px, 5vw, 64px); }
.precios-accion p { margin-bottom: 16px; font-size: 1.15rem; max-width: 26em; }
.extras { margin: 0; }
.extras div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 12px 0; border-top: 1px solid rgba(244, 242, 233, .35); }
.extras div:last-child { border-bottom: 1px solid rgba(244, 242, 233, .35); }
.extras dt { color: var(--papel); }
.extras dd { margin: 0; font-weight: 700; white-space: nowrap; font-variant-numeric: tabular-nums; }

/* Dudas */
.dudas { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 80px); padding: clamp(64px, 8vw, 120px) var(--margen); background: var(--papel); color: var(--tinta); }
.dudas :focus-visible, .pie :focus-visible, .comprador :focus-visible, .cierre :focus-visible { outline-color: var(--tinta); }
.dudas details { border-top: 2px solid var(--tinta); }
.dudas details:last-child { border-bottom: 2px solid var(--tinta); }
.dudas summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 0; cursor: pointer; list-style: none; font-weight: 700; font-size: 1.15rem; }
.dudas summary::-webkit-details-marker { display: none; }
.dudas summary::after { content: ""; flex: none; width: 14px; height: 14px; border-right: 3px solid var(--tinta); border-bottom: 3px solid var(--tinta); transform: rotate(45deg) translate(-3px, -3px); transition: transform .35s var(--salida); }
.dudas details[open] summary::after { transform: rotate(225deg) translate(-3px, -3px); }
.dudas details p { padding: 0 0 20px; max-width: 42em; }

/* Cierre */
.cierre { padding: clamp(72px, 10vw, 148px) var(--margen); background: var(--tomate); color: var(--tinta); }
.cierre h2 { font-size: clamp(3.1rem, 8vw, 6rem); max-width: 12em; }
.cierre p { margin-top: 18px; font-size: 1.2rem; max-width: 34em; }
.correo { display: inline-block; margin-top: 24px; padding-block: 6px; font: 800 clamp(1.9rem, 5.2vw, 4rem)/1.05 "Titular", sans-serif; overflow-wrap: anywhere; text-decoration-thickness: 3px; transition: text-decoration-thickness .2s; }
.correo:hover { text-decoration-thickness: 6px; }

.pie { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 0 24px; padding: 12px var(--margen); background: var(--tinta); color: var(--papel); font-size: .95rem; }
.pie > * { padding-block: 10px; }
.pie a { display: inline-flex; align-items: center; min-height: 44px; padding-block: 0; }
.pie :focus-visible { outline-color: var(--amarillo); }

/* Páginas de texto */
.ficha-texto { max-width: 46rem; margin: 0 auto; padding: clamp(28px, 5vw, 64px) var(--margen) clamp(56px, 8vw, 96px); }
.pagina-texto { background: var(--esmalte); }
.pagina-texto main { margin: 0 auto clamp(40px, 6vw, 80px); max-width: 52rem; width: calc(100% - 2 * var(--margen)); border-radius: 12px 12px 24px 24px; background: var(--papel); color: var(--tinta); box-shadow: var(--sombra-colgado); }
.ficha-texto h1 { font-size: clamp(2.6rem, 6vw, 4.5rem); }
.ficha-texto h2 { margin-top: 36px; font-size: clamp(1.7rem, 3vw, 2.3rem); }
.ficha-texto p, .ficha-texto ul { margin: 12px 0 0; }
.ficha-texto :focus-visible { outline-color: var(--tinta); }
.pendiente { padding: 1px 6px; border-radius: 4px; background: var(--amarillo); }

@media (max-width: 960px) {
  html { scroll-padding-top: 20px; }
  .apertura { grid-template-columns: minmax(0, 1fr); }
  .apertura-texto { padding-top: 16px; }
  .llavero-grande { margin-top: 6px; }
  .llavero-grande::before { left: calc(-1 * var(--margen)); right: calc(-1 * var(--margen)); top: 0; width: auto; height: 7px; background: linear-gradient(var(--laton) 55%, var(--laton-hondo)); box-shadow: 0 5px 8px rgba(4, 22, 16, .35); }
  .gancho { margin-top: 2px; }
  .precios-pie { grid-template-columns: minmax(0, 1fr); }
  .prueba-texto, .dudas { grid-template-columns: minmax(0, 1fr); }
  .comprador { grid-template-columns: minmax(0, 1fr); }
  .comprador-texto { order: -1; }
  .rigor, .informe { grid-template-columns: minmax(0, 1fr); }
  .informe-lista { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .en-tu-web, .redes { grid-template-columns: minmax(0, 1fr); }
  .redes-escena { min-height: 0; padding: 20px 0 40px; }
  .tarifas { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tarifa:nth-child(n) { margin-top: 0; }
}
@media (max-width: 620px) {
  .riel { min-height: 88px; }
  .logotipo { margin-top: 16px; padding-block: 6px; }
  .logotipo img { height: 32px; }
  .menu { gap: 6px; }
  .llavero-menu { min-width: 52px; padding: 24px 6px 10px; font-size: .84rem; white-space: nowrap; }
  .pasos { grid-template-columns: minmax(0, 1fr); }
  .pasos::before { display: none; }
  .numero { font-size: 5.5rem; padding-left: 0; }
  .rasgos { grid-template-columns: minmax(0, 1fr); }
  .correo-ventana { transform: none; }
  .redes-escena .historia { max-width: 180px; margin-left: 42%; }
  .publicacion { width: 60%; font-size: .74rem; }
  .publicacion-acciones { display: none; }
  .redes-chip { top: auto; right: auto; left: 0; bottom: 0; font-size: .74rem; }
  .correo-cabecera { padding: 10px 14px; font-size: .8rem; }
  .correo-cuerpo { padding: 16px 14px 18px; font-size: .88rem; }
  .correo-cifras div { padding: 10px 10px 9px; }
  .correo-marca { padding: 12px 14px; }
  .movil + .movil { margin: 28px 0 0 -6%; }
  .movil-marco { transform: rotate(2deg); }
  .movil + .movil .movil-marco { transform: rotate(-2deg); }
  .movil figcaption { gap: 6px; margin-top: 18px; padding: 0 12% 0 0; font-size: .84rem; line-height: 1.3; }
  .movil + .movil figcaption { padding: 0 0 0 10%; }
  .paso { font-size: 2.2rem; }
  .tarifas { grid-template-columns: minmax(0, 1fr); }
  .tarifas::before { display: none; }
  .tarifa { border-radius: 26px; }
  .boton { width: 100%; }
  .prueba-nota, .prueba-accion { width: 100%; }
  .abrir { width: auto; }
  /* Con el cartel, el recuadro tiene su proporción (13:18, la de vivienda-movil.webp) para que no sobre hueco bajo la vivienda; con el visor abierto, el 70 % de la pantalla */
  .visor-marco { height: auto; min-height: 0; aspect-ratio: 13 / 18; }
  .visor-marco.abierto { height: 70vh; min-height: 420px; aspect-ratio: auto; }
  .ficha-llavero span { font-size: .88rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
