/* Smartwise: public site (landing + legal pages). Everything the site serves lives under /_web/. */
@font-face {
  font-family: GS;
  src: url("/_web/GeneralSans.woff2") format("woff2"), url("/_web/GeneralSans.ttf") format("truetype");
  font-weight: 200 700;
  font-display: swap;
}

:root {
  --noche: #07110B;
  --bosque: #15301F;
  --bosque-2: #1F4430;
  --crema: #E6F2D9;
  --brote: #9BD5A6;
  --tinta: #0D1F14;
  --tinta-2: #3A4D40;
  --tenue: #56695C;
  --papel: #F3F6EE;
  --hoja: #FBFCF8;
  --linea: #DCE4D2;
  --linea-2: #CBD6C0;
  --crema-72: rgba(230, 242, 217, .74);
  --crema-linea: rgba(230, 242, 217, .14);
  --r: 14px;
  --r-grande: 22px;
  --ancho: 1200px;
  --sombra: 0 1px 2px rgba(7, 17, 11, .06), 0 12px 32px -16px rgba(7, 17, 11, .22);
  --alto-cabecera: 64px;
  --sombra-alta: 0 2px 6px rgba(7, 17, 11, .10), 0 40px 80px -32px rgba(7, 17, 11, .45);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
@media (min-width: 768px) { :root { --alto-cabecera: 72px; } }
/* Anchored sections land just below the sticky header. */
[id] { scroll-margin-top: var(--alto-cabecera); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  font-family: GS, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-weight: 420;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--tinta);
  background: var(--papel);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-underline-offset: .18em; text-decoration-thickness: 1px; }
b, strong { font-weight: 600; }
h1, h2, h3 { font-weight: 560; margin: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
:focus-visible { outline: 2px solid var(--bosque); outline-offset: 3px; border-radius: 6px; }
.oscuro :focus-visible, .cabecera :focus-visible, .pie :focus-visible { outline-color: var(--crema); }

.envuelve { width: 100%; max-width: var(--ancho); margin: 0 auto; padding: 0 20px; }
@media (min-width: 768px) { .envuelve { padding: 0 32px; } }

.sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.saltar { position: absolute; left: 12px; top: -60px; z-index: 50; background: var(--crema); color: var(--noche); padding: 10px 16px; border-radius: 999px; font-weight: 560; text-decoration: none; }
.saltar:focus { top: 12px; }

/* ---------- grain gradient ---------- */
.grano { position: relative; isolation: isolate; overflow: hidden; color: var(--crema); background-color: var(--noche); }
.grano::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .38; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='300' height='300'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/><feColorMatrix type='saturate' values='0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
.grano::before { content: ""; position: absolute; inset: 0; z-index: -2; pointer-events: none; }

/* ---------- buttons ---------- */
.boton {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px;
  border-radius: 999px; border: 1px solid transparent; font-weight: 560; font-size: 1rem; line-height: 1; text-decoration: none; white-space: nowrap;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease, transform .15s ease;
}
.boton svg { width: 18px; height: 18px; flex: none; }
.boton-claro { background: var(--crema); color: var(--noche); }
.boton-claro:hover { background: #F3FAEC; }
.boton-contorno { color: var(--crema); border-color: rgba(230, 242, 217, .32); }
.boton-contorno:hover { border-color: rgba(230, 242, 217, .7); background: rgba(230, 242, 217, .06); }
.boton-bosque { background: var(--bosque); color: var(--crema); }
.boton-bosque:hover { background: var(--bosque-2); }
@media (prefers-reduced-motion: no-preference) { .boton:active { transform: translateY(1px); } }

/* ---------- header ----------
   Sticky, no JS. On the landing it sits over the dark hero: transparent at the top and it turns solid
   (blur + hairline) as you scroll, via a scroll-driven animation; where that isn't supported it's simply solid.
   The solid layer lives on ::before so backdrop-filter doesn't become the containing block of the fixed mobile menu.
   Mobile menu: #menu:target, so tapping a section link also closes it. */
.cabecera { position: sticky; top: 0; z-index: 20; color: var(--crema); }
.cabecera::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: rgba(7, 17, 11, .94); border-bottom: 1px solid var(--crema-linea);
  -webkit-backdrop-filter: blur(16px) saturate(1.5); backdrop-filter: blur(16px) saturate(1.5);
}
.sobre-hero { margin-bottom: calc(-1 * var(--alto-cabecera)); }
@supports (animation-timeline: scroll()) {
  .sobre-hero::before { animation: solidifica linear both; animation-timeline: scroll(root); animation-range: 0 96px; }
  @keyframes solidifica { from { opacity: 0; } to { opacity: 1; } }
}
.cabecera .envuelve { display: flex; align-items: center; gap: 8px; height: var(--alto-cabecera); }
.cabecera .logo { display: block; flex: none; margin: 0 auto 0 -6px; }
.cabecera .logo img { height: 40px; width: auto; }
.cabecera a { text-decoration: none; }

.secciones { display: none; }
.secciones ul { display: flex; gap: 2px; margin: 0; padding: 0; list-style: none; }
.secciones a { display: block; padding: 8px 12px; border-radius: 999px; font-size: .92rem; font-weight: 480; color: var(--crema-72); transition: color .15s ease, background-color .15s ease; }
@media (hover: hover) { .secciones a:hover { color: var(--crema); background: rgba(230, 242, 217, .08); } }

.acceso { display: flex; align-items: center; gap: 4px; }
.cabecera .entrar { display: none; font-size: .92rem; font-weight: 500; padding: 8px 14px; border-radius: 999px; color: var(--crema); transition: background-color .15s ease; }
@media (hover: hover) { .cabecera .entrar:hover { background: rgba(230, 242, 217, .08); } }
.acceso .boton { min-height: 38px; padding: 0 14px; font-size: .9rem; }
@media (max-width: 359px) { .acceso .boton { display: none; } }

.menu-boton { display: grid; place-items: center; width: 44px; height: 44px; margin-right: -8px; border-radius: 999px; color: var(--crema); }
@media (hover: hover) { .menu-boton:hover { background: rgba(230, 242, 217, .08); } }
.menu-boton svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.menu-cerrar { display: none; }

.menu {
  position: fixed; top: var(--alto-cabecera); left: 0; right: 0; bottom: 0; z-index: -2;
  display: flex; flex-direction: column; overflow-y: auto; overscroll-behavior: contain;
  padding: 8px 20px max(24px, env(safe-area-inset-bottom)); background: var(--noche);
  visibility: hidden; opacity: 0; transform: translateY(-8px);
  transition: opacity .18s ease, transform .18s ease, visibility 0s linear .18s;
}
.menu ul { margin: 0; padding: 0; list-style: none; }
.menu li { border-bottom: 1px solid var(--crema-linea); }
.menu ul a { display: flex; align-items: center; min-height: 60px; font-size: 1.3rem; font-weight: 500; letter-spacing: -.01em; color: var(--crema); }
.menu-acciones { display: grid; gap: 12px; margin-top: auto; padding-top: 32px; }
.menu-acciones .boton { width: 100%; min-height: 52px; font-size: 1.04rem; }
.menu:target { visibility: visible; opacity: 1; transform: none; transition: opacity .18s ease, transform .18s ease; }
@media (prefers-reduced-motion: reduce) { .menu, .menu:target { transform: none; transition: none; } }
.cabecera:has(.menu:target)::before { animation: none; opacity: 1; background: var(--noche); }
.cabecera:has(.menu:target) :is(.menu-abrir, .acceso .boton) { display: none; }
.cabecera:has(.menu:target) .menu-cerrar { display: grid; }
html:has(.menu:target) { overflow: hidden; }

@media (min-width: 768px) {
  .cabecera .logo img { height: 46px; }
  .menu { padding-left: 32px; padding-right: 32px; }
  .cabecera .entrar { display: block; }
  .acceso .boton { padding: 0 18px; font-size: .94rem; }
  .acceso { gap: 8px; }
}
@media (min-width: 1024px) {
  .cabecera .envuelve { display: grid; grid-template-columns: 1fr auto 1fr; gap: 16px; }
  .cabecera .logo { justify-self: start; margin-right: 0; }
  .secciones { display: block; }
  .acceso { justify-self: end; }
  .menu-boton, .menu { display: none !important; }
  html:has(.menu:target) { overflow: visible; }
}

/* Current section highlighted in the nav while you scroll (scroll-driven; skipped where unsupported). */
@supports (timeline-scope: --a) and (view-timeline: --a) {
  body:has(.sobre-hero) { timeline-scope: --v-como, --v-funciones, --v-quien, --v-seguridad, --v-preguntas; }
  #como-funciona { view-timeline: --v-como; }
  #funciones { view-timeline: --v-funciones; }
  #para-quien { view-timeline: --v-quien; }
  #seguridad { view-timeline: --v-seguridad; }
  #preguntas { view-timeline: --v-preguntas; }
  :is(#como-funciona, #funciones, #para-quien, #seguridad, #preguntas) { view-timeline-inset: 30% 69%; }
  .sobre-hero .secciones a { animation: seccion-actual linear; animation-range: cover; }
  .sobre-hero .secciones li:nth-child(1) a { animation-timeline: --v-como; }
  .sobre-hero .secciones li:nth-child(2) a { animation-timeline: --v-funciones; }
  .sobre-hero .secciones li:nth-child(3) a { animation-timeline: --v-quien; }
  .sobre-hero .secciones li:nth-child(4) a { animation-timeline: --v-seguridad; }
  .sobre-hero .secciones li:nth-child(5) a { animation-timeline: --v-preguntas; }
  @keyframes seccion-actual { from, to { color: var(--crema); background-color: rgba(230, 242, 217, .1); } }
}

/* ---------- hero ---------- */
.hero { padding: calc(44px + var(--alto-cabecera)) 0 64px; }
.hero::before {
  background:
    radial-gradient(38rem 30rem at 82% 42%, rgba(155, 213, 166, .20), transparent 70%),
    radial-gradient(34rem 26rem at 8% 18%, rgba(70, 140, 96, .30), transparent 70%),
    linear-gradient(180deg, var(--noche) 0%, #0C1D13 38%, var(--bosque) 100%);
}
.hero-rejilla { display: grid; gap: 48px; align-items: center; }
.etiqueta {
  display: inline-flex; align-items: center; gap: 10px; font-size: .86rem; font-weight: 500; color: var(--crema-72);
  border: 1px solid var(--crema-linea); background: rgba(230, 242, 217, .04); padding: 6px 12px 6px 10px; border-radius: 999px; margin-bottom: 22px;
}
.punto { width: 8px; height: 8px; border-radius: 50%; background: var(--brote); box-shadow: 0 0 0 0 rgba(155, 213, 166, .6); flex: none; }
@media (prefers-reduced-motion: no-preference) { .punto { animation: late 2.4s ease-out infinite; } }
@keyframes late { 0% { box-shadow: 0 0 0 0 rgba(155, 213, 166, .55); } 70%, 100% { box-shadow: 0 0 0 9px rgba(155, 213, 166, 0); } }
.hero h1 { font-size: clamp(2.45rem, 9.6vw, 4.6rem); line-height: 1.02; letter-spacing: -.035em; max-width: 13ch; }
.hero .bajada { font-size: clamp(1.08rem, 2.4vw, 1.3rem); line-height: 1.5; color: var(--crema-72); max-width: 40ch; margin: 22px 0 32px; }
.acciones { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 599px) { .acciones .boton { flex: 1 1 100%; } }
.sellos { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 32px 0 0; padding: 0; list-style: none; font-size: .9rem; color: var(--crema-72); }
.sellos li { display: inline-flex; align-items: center; gap: 8px; }
.sellos svg { width: 16px; height: 16px; color: var(--brote); flex: none; }

/* phone frame */
.escena { position: relative; justify-self: center; width: min(310px, 84vw); }
.telefono {
  position: relative; padding: 9px; border-radius: 46px; background: linear-gradient(160deg, #1D2A22, #0A120D 60%);
  box-shadow: inset 0 0 0 1px rgba(230, 242, 217, .16), 0 0 0 1px rgba(0, 0, 0, .6), 0 50px 90px -30px rgba(0, 0, 0, .8), 0 24px 40px -24px rgba(0, 0, 0, .6);
}
.pantalla { position: relative; border-radius: 38px; overflow: hidden; background: #F8F6F4; padding-top: 34px; }
.pantalla::before { content: ""; position: absolute; top: 10px; left: 50%; width: 88px; height: 24px; margin-left: -44px; border-radius: 999px; background: #0A120D; }
.pantalla img { width: 100%; }
.nota {
  display: none; position: absolute; z-index: 2; max-width: 230px; padding: 12px 14px; border-radius: 14px; font-size: .88rem; line-height: 1.4;
  color: var(--tinta); background: rgba(251, 252, 248, .96); box-shadow: var(--sombra-alta);
}
.nota b { display: flex; align-items: center; gap: 6px; font-weight: 560; margin-bottom: 2px; }
.nota svg { width: 16px; height: 16px; color: #1F7A3D; flex: none; }
@media (min-width: 960px) {
  .hero { padding: calc(72px + var(--alto-cabecera)) 0 96px; }
  .hero-rejilla { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 32px; }
  .escena { width: 340px; }
  .nota-cifras { display: block; left: -150px; bottom: 15%; max-width: 200px; }
}
@media (min-width: 1360px) { .nota-porque { display: block; right: -162px; top: 38.5%; max-width: 210px; } }

/* ---------- sections ---------- */
.seccion { padding: 80px 0; }
@media (min-width: 960px) { .seccion { padding: 120px 0; } }
.seccion + .seccion:not(.grano) { border-top: 1px solid var(--linea); }
.antetitulo { display: inline-block; font-size: .82rem; font-weight: 560; letter-spacing: .08em; text-transform: uppercase; color: #2F6B45; margin-bottom: 14px; }
.oscuro .antetitulo { color: var(--brote); }
.seccion h2 { font-size: clamp(1.95rem, 5.2vw, 3.1rem); line-height: 1.08; letter-spacing: -.03em; max-width: 20ch; }
.seccion .intro { font-size: clamp(1.04rem, 1.8vw, 1.16rem); color: var(--tinta-2); max-width: 58ch; margin-top: 16px; }
.oscuro .intro { color: var(--crema-72); }
.cabeza { margin-bottom: 44px; }
@media (min-width: 960px) { .cabeza { margin-bottom: 64px; } }

/* how it works */
.pasos { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; counter-reset: paso; }
.paso { position: relative; background: var(--hoja); border: 1px solid var(--linea); border-radius: var(--r-grande); padding: 26px 24px 28px; box-shadow: var(--sombra); }
.paso .num {
  display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; margin-bottom: 18px;
  font-weight: 560; font-size: .95rem; color: var(--crema); background: var(--bosque);
}
.paso h3 { font-size: 1.24rem; letter-spacing: -.01em; line-height: 1.25; margin-bottom: 8px; }
.paso p { color: var(--tinta-2); }
@media (min-width: 960px) {
  .pasos { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .paso { padding: 30px 28px 32px; }
  .paso:not(:last-child)::after { content: ""; position: absolute; top: 47px; left: calc(28px + 36px + 12px); right: -20px; height: 1px; background: repeating-linear-gradient(90deg, var(--linea-2) 0 6px, transparent 6px 12px); }
}

/* features */
.funciones { display: grid; gap: 16px; }
.tarjeta { background: var(--hoja); border: 1px solid var(--linea); border-radius: var(--r-grande); padding: 26px 22px; box-shadow: var(--sombra); min-width: 0; }
.tarjeta h3 { font-size: 1.28rem; line-height: 1.22; letter-spacing: -.015em; }
.tarjeta p { color: var(--tinta-2); margin-top: 8px; }
.icono { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: #E3EEDA; color: var(--bosque); margin-bottom: 18px; }
.icono svg { width: 21px; height: 21px; }
.destacada { display: grid; gap: 28px; overflow: hidden; padding-bottom: 0; }
.destacada .texto { max-width: 42ch; }
.destacada h3 { font-size: clamp(1.4rem, 3vw, 1.85rem); letter-spacing: -.025em; line-height: 1.12; }
.destacada .puntos { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 8px; color: var(--tinta-2); font-size: .98rem; }
.destacada .puntos li { display: flex; gap: 10px; }
.destacada .puntos svg { width: 18px; height: 18px; color: #2F6B45; flex: none; margin-top: 3px; }
.ventana {
  margin: 0; border-radius: 14px 14px 0 0; overflow: hidden; background: #E6E1D8; border: 1px solid var(--linea-2); border-bottom: 0;
  box-shadow: 0 -1px 0 rgba(255, 255, 255, .8) inset, 0 24px 60px -30px rgba(7, 17, 11, .45);
}
.ventana .barra { display: flex; gap: 6px; padding: 10px 12px; }
.ventana .barra i { width: 9px; height: 9px; border-radius: 50%; background: #CFC8BC; }
.ventana img { width: 100%; }
.recorte { margin: 0 -22px; padding: 0 22px; }
.mini { display: grid; gap: 16px; }
.detalle { border: 1px solid var(--linea); border-radius: 14px; overflow: hidden; margin: 22px 0 0; background: #F8F6F4; box-shadow: var(--sombra); }
.detalle img { width: 100%; }
.cuenta { margin: 22px 0 0; padding: 18px 18px 16px; border-radius: 14px; background: var(--noche); color: var(--crema); font-variant-numeric: tabular-nums; }
.cuenta dl { margin: 0; display: grid; gap: 10px; }
.cuenta .fila { display: flex; justify-content: space-between; gap: 12px; font-size: .96rem; }
.cuenta dt { color: var(--crema-72); }
.cuenta dd { margin: 0; font-weight: 500; white-space: nowrap; }
.cuenta .total { border-top: 1px dashed rgba(230, 242, 217, .28); padding-top: 12px; font-size: 1.06rem; }
.cuenta .total dt { color: var(--crema); }
.cuenta .total dd { color: var(--brote); font-weight: 600; }
.cuenta small { display: block; margin-top: 12px; font-size: .8rem; color: var(--crema-72); }
@media (min-width: 768px) {
  .tarjeta { padding: 32px 30px; }
  .destacada { padding-bottom: 0; }
  .recorte { margin: 0 -30px; padding: 0 30px; }
  .mini { grid-template-columns: repeat(2, 1fr); }
  .tres { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 960px) {
  .destacada { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 40px; padding: 40px 0 0 40px; align-items: end; }
  .destacada .texto { align-self: center; padding-bottom: 40px; }
  .destacada .recorte { margin: 0; padding: 0; }
  .destacada .ventana { border-right: 0; border-radius: 14px 0 0 0; }
  .destacada.invertida { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); padding: 40px 40px 0 0; }
  .destacada.invertida .recorte { order: -1; }
  .destacada.invertida .ventana { border-left: 0; border-right: 1px solid var(--linea-2); border-radius: 0 14px 0 0; }
}

/* who it's for */
.giros { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr; gap: 1px; background: var(--linea); border: 1px solid var(--linea); border-radius: var(--r-grande); overflow: hidden; }
.giros li { background: var(--hoja); padding: 20px 22px; }
.giros b { display: block; font-weight: 560; font-size: 1.06rem; letter-spacing: -.01em; }
.giros span { display: block; color: var(--tenue); font-size: .94rem; margin-top: 2px; }
@media (min-width: 600px) { .giros { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .giros { grid-template-columns: repeat(3, 1fr); } .giros li { padding: 26px 28px; } }

/* 9x */
.cifra::before {
  background:
    radial-gradient(40rem 30rem at 12% 60%, rgba(155, 213, 166, .20), transparent 70%),
    linear-gradient(160deg, var(--bosque) 0%, #0C1D13 55%, var(--noche) 100%);
}
.cifra-rejilla { display: grid; gap: 12px; align-items: center; }
.cifra .numero { font-size: clamp(8rem, 44vw, 19rem); font-weight: 600; line-height: .85; letter-spacing: -.07em; margin: 0 0 12px -.04em; }
.cifra .numero span { font-size: .56em; font-weight: 500; letter-spacing: 0; margin-left: .04em; color: var(--brote); }
.cifra h2 { font-size: clamp(1.7rem, 4.4vw, 2.6rem); max-width: 18ch; }
.cifra .intro { max-width: 52ch; }
@media (min-width: 960px) { .cifra-rejilla { grid-template-columns: auto 1fr; gap: 72px; } .cifra .numero { margin: 0; } }

/* security */
.seguridad { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.seguridad li { display: grid; grid-template-columns: auto 1fr; gap: 0 16px; align-items: start; }
.seguridad .icono { margin: 2px 0 0; }
.seguridad b { font-weight: 560; font-size: 1.08rem; display: block; }
.seguridad div > span { color: var(--tinta-2); display: block; margin-top: 4px; }
.legales { margin-top: 36px; color: var(--tinta-2); }
@media (min-width: 768px) { .seguridad { grid-template-columns: repeat(2, 1fr); gap: 28px 40px; } }

/* FAQ */
.faq-rejilla { display: grid; gap: 24px; }
.faq { border-top: 1px solid var(--linea-2); }
.faq details { border-bottom: 1px solid var(--linea-2); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 20px 2px; font-weight: 560; font-size: 1.08rem; line-height: 1.35;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 22px; height: 22px; border-radius: 50%; border: 1px solid var(--linea-2);
  background: linear-gradient(var(--tinta), var(--tinta)) center / 10px 1.5px no-repeat, linear-gradient(var(--tinta), var(--tinta)) center / 1.5px 10px no-repeat;
}
.faq details[open] summary::after { background: linear-gradient(var(--tinta), var(--tinta)) center / 10px 1.5px no-repeat; }
.faq details p { color: var(--tinta-2); padding: 0 40px 22px 2px; max-width: 62ch; }
@media (min-width: 960px) { .faq-rejilla { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 64px; } }

/* final CTA */
.final::before {
  background:
    radial-gradient(36rem 24rem at 50% 110%, rgba(155, 213, 166, .26), transparent 70%),
    linear-gradient(180deg, var(--bosque) 0%, var(--noche) 100%);
}
.final { text-align: center; }
.final h2 { margin: 0 auto; max-width: 16ch; font-size: clamp(2.1rem, 6vw, 3.6rem); }
.final .intro { margin: 18px auto 34px; }
.final .acciones { justify-content: center; }
.final .marca { width: 56px; height: auto; margin: 0 auto 28px; opacity: .95; }

/* footer */
.pie { background: var(--noche); color: var(--crema-72); font-size: .94rem; padding: 48px 0 40px; border-top: 1px solid var(--crema-linea); }
.pie .rejilla { display: grid; gap: 28px; }
.pie .logo img { height: 44px; width: auto; margin-left: -6px; }
.pie nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 24px; }
.pie a { color: var(--crema); text-decoration: none; }
.pie a:hover { text-decoration: underline; }
.pie .derechos { border-top: 1px solid var(--crema-linea); margin-top: 32px; padding-top: 24px; }
@media (min-width: 768px) { .pie .rejilla { grid-template-columns: 1fr auto; align-items: center; } }

/* ---------- legal pages ---------- */
.legal { max-width: 760px; margin: 0 auto; padding: 48px 20px 96px; }
.legal h1 { font-weight: 560; font-size: clamp(2rem, 5vw, 2.8rem); letter-spacing: -.03em; line-height: 1.1; margin: 8px 0 6px; }
.legal h2 { font-weight: 560; font-size: 1.24rem; letter-spacing: -.01em; margin: 2.2rem 0 .5rem; }
.legal p, .legal li { color: var(--tinta-2); }
.legal p + p { margin-top: .9rem; }
.legal ul { padding-left: 1.2rem; }
.legal li + li { margin-top: .4rem; }
.legal a { color: #1F5A36; }
.legal .fecha { color: var(--tenue); font-size: .94rem; margin: 0 0 2rem; }
.legal .caja { background: var(--hoja); border: 1px solid var(--linea); border-left: 3px solid var(--bosque); border-radius: 0 var(--r) var(--r) 0; padding: 14px 18px; }
@media (min-width: 768px) { .legal { padding: 72px 32px 120px; } }
