/* Web de Dígame24. Misma identidad que el panel: superficies frías, menta clínica y fosforito para lo que hace Lucía.
   Plan de diseño: 00_gestion/decisiones/web.md */

@font-face { font-family: "Plex Sans"; src: url("/fuentes/plex-sans.woff2") format("woff2"); font-weight: 100 700; font-display: swap; }
@font-face { font-family: "Plex Serif"; src: url("/fuentes/plex-serif-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Plex Serif"; src: url("/fuentes/plex-serif-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }

:root {
  --hielo: #F5F8F9;
  --blanco: #FFFFFF;
  --tinta: #12343B;
  --tinta-80: #2E4E55;
  --pizarra: #5B7177;
  --linea: #DCE6E8;
  --linea-suave: #E9F0F1;
  --menta: #0E7C70;
  --menta-oscura: #0A5F56;
  --menta-claro: #E3F2EF;
  --fosforito: #FFF06A;
  --fosforito-claro: #FFFDE8;
  --ambar: #E7A512;
  --ambar-claro: #FFF6DD;
  --alerta: #B3261E;
  --alerta-claro: #FBE9E7;
  --serif: "Plex Serif", Georgia, "Times New Roman", serif;
  --sans: "Plex Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --curva: cubic-bezier(.2, .7, .2, 1);
  --sombra: 0 1px 0 rgba(18, 52, 59, .04), 0 30px 60px -36px rgba(18, 52, 59, .45);
  color-scheme: light;
  font-size: 112.5%; /* 18 px */
}
@media (max-width: 640px) { :root { font-size: 106.25%; } } /* 17 px */
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

* { box-sizing: border-box; }
html { scroll-padding-top: 84px; }
body {
  margin: 0; background: var(--hielo); color: var(--tinta);
  font-family: var(--sans); line-height: 1.55;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
[hidden] { display: none !important; }
img, svg { max-width: 100%; }
h1, h2, h3 { margin: 0; text-wrap: balance; }
h1, h2 { font-family: var(--serif); font-weight: 600; line-height: 1.1; letter-spacing: -.012em; }
h3 { font-size: 1.1rem; font-weight: 600; line-height: 1.3; }
p { text-wrap: pretty; }
a { color: var(--menta); text-underline-offset: .18em; }
a:hover { color: var(--menta-oscura); }
:focus-visible { outline: 3px solid var(--menta); outline-offset: 3px; border-radius: 4px; }

.envoltura { max-width: 1180px; margin-inline: auto; padding-inline: 24px; }
.saltar {
  position: absolute; left: 12px; top: -60px; z-index: 30; padding: 8px 14px; border-radius: 8px;
  background: var(--tinta); color: #fff; font-weight: 600; text-decoration: none;
}
.saltar:focus { top: 12px; color: #fff; }

/* ---------- marca: "Dígame" con el 24 como el globo de avisos de un móvil ---------- */
.marca {
  display: inline-flex; align-items: flex-start; gap: .14em;
  font-family: var(--serif); font-weight: 600; font-size: 1.4rem; line-height: 1; letter-spacing: -.01em;
  color: var(--tinta); text-decoration: none;
}
.marca:hover { color: var(--tinta); }
.marca__24 {
  font-family: var(--sans); font-size: .56em; font-weight: 600; letter-spacing: 0; line-height: 1;
  padding: .2em .36em .22em; margin-top: -.3em; border-radius: .7em; background: var(--menta); color: #fff;
}

/* ---------- botones ---------- */
.boton {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  padding: .85em 1.3em; border: 1.5px solid transparent; border-radius: 10px;
  font: 600 1rem/1.2 var(--sans); text-decoration: none; cursor: pointer;
  transition: background-color .15s, color .15s, border-color .15s;
}
.boton:active { transform: translateY(1px); }
.boton:disabled { cursor: default; opacity: .7; }
.boton--principal { background: var(--menta); color: #fff; }
.boton--principal:hover { background: var(--menta-oscura); color: #fff; }
.boton--borde { background: transparent; color: var(--tinta); border-color: rgba(18, 52, 59, .25); }
.boton--borde:hover { color: var(--tinta); border-color: var(--tinta); }
.boton--claro { background: #fff; color: var(--tinta); }
.boton--claro:hover { background: var(--menta-claro); color: var(--tinta); }
.boton--peq { padding: .55em .95em; font-size: .9rem; }
.boton--grande { padding: 1em 1.6em; font-size: 1.05rem; }
.icono { width: 1.15em; height: 1.15em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- cabecera ---------- */
.cabecera {
  position: sticky; top: 0; z-index: 20;
  background: color-mix(in srgb, var(--hielo) 86%, transparent);
  -webkit-backdrop-filter: saturate(1.4) blur(12px); backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--linea);
}
.cabecera__dentro { max-width: 1180px; margin: 0 auto; padding: 12px 24px; display: flex; align-items: center; gap: 28px; }
.menu { display: flex; gap: 26px; margin-left: auto; }
.menu a { color: var(--tinta); text-decoration: none; font-size: .9rem; font-weight: 500; }
.menu a:hover { color: var(--menta); }

/* ---------- portada ---------- */
.portada {
  display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center;
  padding-block: clamp(40px, 7vw, 96px) clamp(56px, 8vw, 112px);
}
.portada h1 { font-size: clamp(2.3rem, 1.15rem + 3.7vw, 3.8rem); max-width: 13.5ch; margin-bottom: .45em; }
.entradilla { font-size: 1.16rem; color: var(--tinta-80); max-width: 33em; margin: 0 0 1.7em; }
.acciones { display: flex; flex-wrap: wrap; gap: 12px; }
.portada__nota { margin: 1.2em 0 0; font-size: .85rem; color: var(--pizarra); }

/* registro de llamadas: el único momento animado de la página */
.registro {
  margin: 0; padding: 18px 20px 16px; border: 1px solid var(--linea); border-radius: 18px;
  background: var(--blanco); box-shadow: var(--sombra);
}
.registro__cabecera { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--linea); }
.registro__titulo { font-weight: 600; }
.registro__clinica { font-size: .8rem; color: var(--pizarra); }
.registro__lista { list-style: none; margin: 0; padding: 0; }
.llamada {
  display: grid; grid-template-columns: 3.2rem 1.9rem minmax(0, 1fr); column-gap: 12px; align-items: start;
  padding: 13px 0; border-bottom: 1px solid var(--linea-suave);
}
.llamada:last-child { border-bottom: 0; }
.llamada__hora { padding-top: .32em; font-weight: 600; font-variant-numeric: tabular-nums; }
.llamada__icono {
  display: grid; place-items: center; width: 1.9rem; height: 1.9rem; margin-top: .1em; border-radius: 50%;
  background: var(--menta-claro); color: var(--menta);
}
.llamada__icono svg { grid-area: 1 / 1; width: 1rem; height: 1rem; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.llamada__icono .icono-perdida { color: var(--alerta); opacity: 0; }
.llamada__cuerpo { display: grid; gap: 2px; min-width: 0; }
.llamada__contexto { font-size: .8rem; color: var(--pizarra); }
.llamada__estado { display: grid; overflow: hidden; }
.llamada__perdida, .llamada__atendida { grid-area: 1 / 1; font-size: .95rem; font-weight: 500; line-height: 1.4; }
.llamada__perdida { color: var(--alerta); opacity: 0; }
.llamada__atendida mark {
  color: inherit; padding: 0 .16em; margin: 0 -.16em;
  background: linear-gradient(transparent 10%, var(--fosforito) 10%, var(--fosforito) 92%, transparent 92%) no-repeat 0 0 / 100% 100%;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.registro__total { margin: 12px 0 0; padding-top: 12px; border-top: 1px solid var(--linea); font-size: .85rem; font-weight: 600; color: var(--menta); }

@media (prefers-reduced-motion: no-preference) {
  .llamada__hora { animation: hora .3s linear var(--espera) both; }
  .llamada__icono { animation: fondo-icono .3s linear var(--espera) both; }
  .llamada__icono .icono-perdida { animation: desvanecer .2s linear var(--espera) both; }
  .llamada__icono .icono-atendida { animation: aparecer .25s linear calc(var(--espera) + .1s) both; }
  .llamada__perdida { animation: salir .35s var(--curva) var(--espera) both; }
  .llamada__atendida { animation: entrar .45s var(--curva) calc(var(--espera) + .1s) both; }
  .llamada__atendida mark { animation: subrayar .7s cubic-bezier(.3, .6, .3, 1) calc(var(--espera) + .45s) both; }
  .registro__total { animation: aparecer .5s ease 5.2s both; }
  .registro.en-espera, .registro.en-espera * { animation-play-state: paused !important; }
}
@keyframes hora { from { color: var(--alerta); } to { color: var(--tinta); } }
@keyframes fondo-icono { from { background-color: var(--alerta-claro); } to { background-color: var(--menta-claro); } }
@keyframes desvanecer { from { opacity: 1; } to { opacity: 0; } }
@keyframes aparecer { from { opacity: 0; } to { opacity: 1; } }
@keyframes salir { from { opacity: 1; transform: none; } to { opacity: 0; transform: translateY(-110%); } }
@keyframes entrar { from { opacity: 0; transform: translateY(110%); } to { opacity: 1; transform: none; } }
@keyframes subrayar { from { background-size: 0% 100%; } to { background-size: 100% 100%; } }

/* ---------- secciones ---------- */
.seccion { padding-block: clamp(56px, 8vw, 112px); }
.seccion h2, .contacto h2 { font-size: clamp(1.85rem, 1.1rem + 2.3vw, 2.75rem); max-width: 20ch; margin-bottom: .6em; }
.seccion p { max-width: 36em; }

/* demo en vivo */
.prueba { background: var(--blanco); border-block: 1px solid var(--linea); }
.prueba__dentro { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.prueba__texto p { margin: 0; }
.frases { list-style: none; margin: 1.3em 0 0; padding: 0; display: grid; gap: 10px; justify-items: start; }
.frases li {
  max-width: 32em; padding: 11px 16px; border: 1px solid var(--linea); border-radius: 4px 16px 16px 16px;
  background: var(--hielo); color: var(--tinta-80);
}
.prueba__llamar {
  display: grid; justify-items: center; gap: 16px; padding: clamp(28px, 4vw, 44px) 28px; text-align: center;
  border: 1px solid var(--linea); border-radius: 20px; background: var(--hielo);
}
.microfono {
  position: relative; display: grid; place-items: center; width: 76px; height: 76px; border-radius: 50%;
  background: var(--menta-claro); color: var(--menta);
}
.microfono svg { width: 32px; height: 32px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.prueba__estado { margin: 0; font-weight: 600; color: var(--menta-oscura); max-width: 26em; }
.prueba__estado:empty { display: none; }
.prueba__nota { margin: 0; font-size: .82rem; color: var(--pizarra); max-width: 28em; }
/* cuando la llamada está lista, el micro late (responde a lo que ha pulsado el visitante) */
@media (prefers-reduced-motion: no-preference) {
  .en-llamada .microfono::after {
    content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--menta);
    animation: latido 1.6s ease-out infinite;
  }
}
@keyframes latido { from { transform: scale(1); opacity: .7; } to { transform: scale(1.55); opacity: 0; } }

/* cómo funciona: secuencia, una línea con un punto por paso */
.pasos { list-style: none; counter-reset: paso; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; margin: 2.2rem 0 0; padding: 0; }
.pasos li { counter-increment: paso; position: relative; padding-top: 4rem; border-top: 2px solid var(--linea); }
.pasos li::before {
  content: counter(paso); position: absolute; top: 1rem; left: 0;
  font-family: var(--serif); font-weight: 600; font-size: 2.1rem; line-height: 1; color: var(--menta);
}
.pasos li::after { content: ""; position: absolute; top: -6px; left: 0; width: 10px; height: 10px; border-radius: 50%; background: var(--menta); }
.pasos h3 { margin-bottom: .45em; }
.pasos p { margin: 0; color: var(--pizarra); }

/* la agenda de verdad */
.agenda { background: var(--blanco); border-block: 1px solid var(--linea); }
.agenda__dentro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.85fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.agenda__texto p { margin: 0; }
.leyenda { list-style: none; margin: 1.7em 0 0; padding: 0; display: grid; gap: 16px; }
.leyenda li { display: grid; grid-template-columns: 3.3rem minmax(0, 1fr); gap: 14px; align-items: start; font-size: .95rem; }
.muestra { display: grid; place-items: center; height: 1.45rem; margin-top: .05em; border-radius: 5px; }
.muestra--lucia { justify-self: start; padding: 0 7px; background: var(--fosforito); color: #4a4300; font-size: .72rem; font-weight: 600; }
.muestra--resumen { background: var(--fosforito-claro); box-shadow: inset 4px 0 0 var(--fosforito); }
.muestra--devolver { background: var(--ambar-claro); box-shadow: inset 4px 0 0 var(--ambar), inset 0 0 0 1px #f1cf7a; }
.capturas { position: relative; margin: 0; padding: 0 9% 44px 0; }
.captura { display: block; height: auto; border: 1px solid var(--linea); border-radius: 12px; background: #fff; }
.captura--ordenador { width: 100%; box-shadow: var(--sombra); }
.captura--movil {
  position: absolute; right: 0; bottom: 0; width: 26%; border: 5px solid var(--tinta); border-radius: 22px;
  box-shadow: 0 24px 48px -22px rgba(18, 52, 59, .6);
}
.capturas__pie { margin-top: 14px; max-width: 60%; font-size: .78rem; color: var(--pizarra); }

/* lo que hace y lo que no (va seguida del precio, con el mismo fondo: sin hueco doble) */
.limites { padding-bottom: 0; }
.limites__columnas { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 64px); margin-top: 2rem; }
.limites h3 { font-size: 1rem; color: var(--pizarra); margin-bottom: .8em; }
.lista { list-style: none; margin: 0; padding: 0; }
.lista li { position: relative; padding: .8em 0 .8em 2.2em; border-top: 1px solid var(--linea); }
.lista li:last-child { border-bottom: 1px solid var(--linea); }
.lista li::before {
  content: ""; position: absolute; left: 0; top: .92em; width: 1.35em; height: 1.35em; border-radius: 50%;
  background: var(--menta-claro) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230E7C70' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / .8em no-repeat;
}
.lista--no li::before {
  background: var(--linea-suave) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235B7177' stroke-width='3.2' stroke-linecap='round'%3E%3Cpath d='M18 6 6 18M6 6l12 12'/%3E%3C/svg%3E") center / .7em no-repeat;
}

/* precio */
.precio {
  display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); margin-top: 2rem; overflow: hidden;
  border: 1px solid var(--linea); border-radius: 20px; background: var(--blanco);
}
.precio__plan { padding: clamp(24px, 4vw, 48px); }
.precio__cifra { margin: 0; font-size: 1.15rem; color: var(--pizarra); }
.precio__numero {
  margin-right: .12em; font-family: var(--serif); font-weight: 600; font-size: clamp(3.2rem, 2rem + 4.2vw, 4.8rem);
  line-height: 1; letter-spacing: -.02em; color: var(--tinta);
}
.precio__alta { margin: .8em 0 1.5em; }
.precio__iva { margin: 1.1em 0 0; font-size: .8rem; color: var(--pizarra); }
.piloto { display: grid; align-content: start; gap: 14px; padding: clamp(24px, 4vw, 48px); background: var(--menta-claro); border-left: 1px solid var(--linea); }
.piloto h3 { font-family: var(--serif); font-size: 1.55rem; line-height: 1.15; }
.piloto p { margin: 0; }
.piloto .boton { justify-self: start; margin-top: 8px; }

/* cerca de ti */
.cerca { background: var(--blanco); border-block: 1px solid var(--linea); }
.cerca__dentro { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.cerca__texto > p { margin: 0; }
.garantias { display: grid; gap: 18px; margin: 1.8em 0 0; }
.garantias div { padding-left: 16px; border-left: 3px solid var(--menta); }
.garantias dt { font-weight: 600; }
.garantias dd { margin: .2em 0 0; color: var(--pizarra); max-width: 34em; }
.mapa { margin: 0; }
.mapa svg { display: block; width: 100%; max-width: 480px; height: auto; margin-inline: auto; }
.mapa text { font-family: var(--sans); font-size: 16px; font-weight: 600; fill: var(--tinta); }
.mapa__zona { fill: var(--menta-claro); }
.mapa__hacia { fill: none; stroke: var(--pizarra); stroke-width: 2; stroke-dasharray: 1 8; stroke-linecap: round; opacity: .6; }
.mapa__madrid { fill: var(--pizarra); }
.mapa .mapa__nombre--gris { font-size: 15px; font-weight: 500; fill: var(--pizarra); }
.mapa__pueblo circle { fill: var(--menta); }
.mapa__pueblo .mapa__halo { opacity: .18; }
.mapa__pueblo--casa text { font-size: 19px; }

/* preguntas */
.preguntas { max-width: 820px; margin-top: 1.6rem; border-top: 1px solid var(--linea); }
.preguntas details { border-bottom: 1px solid var(--linea); }
.preguntas summary {
  position: relative; padding: 1.05em 2.6em 1.05em 0; list-style: none; cursor: pointer;
  font-size: 1.05rem; font-weight: 600;
}
.preguntas summary::-webkit-details-marker { display: none; }
.preguntas summary::after {
  content: ""; position: absolute; right: 6px; top: 50%; width: 14px; height: 14px; margin-top: -7px;
  background: linear-gradient(var(--menta), var(--menta)) center / 100% 2px no-repeat, linear-gradient(var(--menta), var(--menta)) center / 2px 100% no-repeat;
  transition: transform .2s var(--curva);
}
.preguntas details[open] summary::after { transform: rotate(45deg); }
.preguntas details p { margin: 0 0 1.25em; max-width: 64ch; color: var(--tinta-80); }

/* ---------- contacto (oscuro) ---------- */
.contacto { padding-block: clamp(56px, 8vw, 112px); background: var(--tinta); color: #E9F1F2; }
.contacto :focus-visible { outline-color: var(--fosforito); }
.contacto__dentro { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.4fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.contacto h2 { color: #fff; }
.contacto__texto p { margin: 0; color: #C9D8DB; max-width: 26em; }
.contacto__texto .contacto__otra { margin-top: 1.4em; font-size: .95rem; }
.contacto a { color: #fff; }
.contacto a:hover { color: var(--fosforito); }
.formulario { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 18px; }
.campo { display: grid; gap: 6px; align-content: start; min-width: 0; }
.campo--ancho { grid-column: 1 / -1; }
.campo > label, .preferencia legend { font-size: .86rem; font-weight: 500; color: #DCE6E8; }
.opcional { font-weight: 400; color: #9DB3B7; }
.formulario input[type="text"], .formulario input[type="tel"], .formulario input[type="email"], .formulario select, .formulario textarea {
  width: 100%; min-height: 48px; padding: .68em .85em; border: 1.5px solid transparent; border-radius: 10px;
  background: #fff; color: var(--tinta); font: inherit; font-size: 1rem;
}
.formulario input::placeholder { color: #8FA3A8; }
.formulario textarea { min-height: 96px; resize: vertical; }
.formulario select {
  appearance: none; padding-right: 2.4em; cursor: pointer;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2312343B' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right .8em center / 1em no-repeat;
}
.formulario [aria-invalid="true"] { border-color: #FF8A80; box-shadow: 0 0 0 3px rgba(255, 138, 128, .3); }
.error-campo { margin: 0; font-size: .8rem; color: #FFB4AB; }
.preferencia { display: flex; flex-wrap: wrap; gap: 8px 10px; margin: 0; padding: 0; border: 0; }
.preferencia legend { float: left; width: 100%; margin-bottom: 8px; padding: 0; }
.preferencia label {
  display: inline-flex; align-items: center; gap: 8px; padding: .5em .95em; cursor: pointer;
  border: 1.5px solid rgba(255, 255, 255, .28); border-radius: 999px; color: #fff; font-size: .92rem;
}
.preferencia label:has(input:checked) { background: #fff; border-color: #fff; color: var(--tinta); }
.preferencia input { margin: 0; accent-color: var(--menta); }
.acepto { display: grid; grid-template-columns: auto 1fr; gap: 10px; align-items: start; font-size: .92rem; color: #E9F1F2; cursor: pointer; }
.acepto input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--fosforito); }
.acepto[data-error="true"] span { text-decoration: underline wavy #FF8A80; text-underline-offset: .3em; }
.formulario__info { margin: 0; font-size: .74rem; line-height: 1.55; color: #9DB3B7; }
.formulario__info a { color: #DCE6E8; }
.formulario__enviar { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; margin-top: 4px; }
.formulario__estado { margin: 0; font-size: .92rem; color: #DCE6E8; }
.formulario__estado.es-error { color: #FFB4AB; }
.trampa { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.pendiente { padding: 0 .2em; border-radius: 3px; background: #FFE08A; color: #3b2a00; }
.hecho {
  display: grid; justify-items: start; gap: 12px; padding: clamp(24px, 4vw, 40px);
  border: 1px solid rgba(255, 255, 255, .16); border-radius: 18px; background: rgba(255, 255, 255, .05);
}
.hecho:focus { outline: none; }
.hecho__icono { width: 48px; height: 48px; padding: 11px; border-radius: 50%; background: var(--fosforito); fill: none; stroke: var(--tinta); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.hecho__titulo { font-family: var(--serif); font-size: 1.65rem; font-weight: 600; line-height: 1.2; color: #fff; }
.hecho__texto { margin: 0; color: #C9D8DB; }

/* ---------- pie ---------- */
.pie { padding-block: 40px 48px; }
.pie__dentro { display: grid; grid-template-columns: auto 1fr auto; gap: 10px 32px; align-items: center; }
.marca--pie { font-size: 1.2rem; }
.pie__lema { margin: 0; font-size: .9rem; color: var(--pizarra); }
.pie__legal { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: .88rem; }
.pie__legal a { color: var(--tinta); }
.pie__copy { grid-column: 1 / -1; margin: 10px 0 0; font-size: .8rem; color: var(--pizarra); }

/* ---------- páginas legales ---------- */
.documento { max-width: 760px; margin: 0 auto; padding: clamp(40px, 6vw, 80px) 24px clamp(56px, 8vw, 96px); }
.documento h1 { font-size: clamp(2rem, 1.4rem + 2vw, 2.7rem); margin-bottom: .3em; }
.documento .fecha { margin: 0 0 2.2em; color: var(--pizarra); font-size: .9rem; }
.documento h2 { margin: 2em 0 .5em; font-family: var(--sans); font-size: 1.2rem; letter-spacing: 0; }
.documento p, .documento li { line-height: 1.65; }
.documento ul { padding-left: 1.2em; }
.documento li + li { margin-top: .35em; }
.documento dl { display: grid; grid-template-columns: max-content 1fr; gap: .4em 1.2em; margin: 0; }
.documento dt { font-weight: 600; }
.documento dd { margin: 0; }
.documento table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.documento th, .documento td { text-align: left; vertical-align: top; padding: .6em .8em .6em 0; border-bottom: 1px solid var(--linea); }
.volver { display: inline-block; margin-bottom: 2rem; font-weight: 600; }

/* ---------- pantallas medianas y móviles ---------- */
@media (max-width: 960px) {
  .portada, .prueba__dentro, .agenda__dentro, .cerca__dentro, .contacto__dentro { grid-template-columns: minmax(0, 1fr); }
  .portada { padding-top: 32px; }
  .registro { max-width: 560px; }
  .pasos { grid-template-columns: 1fr 1fr; row-gap: 44px; }
  .capturas { max-width: 760px; }
  .mapa svg { max-width: 420px; }
}
@media (max-width: 760px) {
  .menu { display: none; }
  .cabecera .boton { margin-left: auto; }
}
@media (max-width: 640px) {
  .envoltura, .cabecera__dentro, .documento { padding-inline: 16px; }
  .marca { font-size: 1.3rem; }
  .acciones .boton { flex: 1 1 auto; }
  .registro { padding: 14px 14px 12px; }
  .llamada { grid-template-columns: 2.9rem 1.7rem minmax(0, 1fr); column-gap: 10px; }
  .llamada__icono { width: 1.7rem; height: 1.7rem; }
  .pasos { grid-template-columns: minmax(0, 1fr); row-gap: 0; margin-left: 6px; }
  .pasos li { padding: 0 0 2rem 3.4rem; border-top: 0; border-left: 2px solid var(--linea); }
  .pasos li:last-child { padding-bottom: 0; border-left-color: transparent; }
  .pasos li::before { top: -.15rem; left: 1.1rem; font-size: 1.7rem; }
  .pasos li::after { top: .2rem; left: -6px; }
  .limites__columnas, .precio, .formulario { grid-template-columns: minmax(0, 1fr); }
  .piloto { border-left: 0; border-top: 1px solid var(--linea); }
  .captura--movil { width: 34%; border-width: 4px; border-radius: 16px; }
  .capturas { padding-right: 6%; }
  .capturas__pie { max-width: 58%; }
  .pie__dentro { grid-template-columns: minmax(0, 1fr); }
  .documento dl { grid-template-columns: minmax(0, 1fr); }
  .documento dd { margin-bottom: .6em; }
}
