/* Landing 11ars — versión clara. Fondo crema/piedra, texto verde corporativo, acentos terracota. */
:root {
  --fondo: #f4f1ea;          /* crema cálida */
  --papel: #fbfaf6;          /* tarjetas */
  --piedra: #c4c1b2;         /* PANTONE 178-1 C */
  --piedra-clara: #e6e2d6;
  --linea: rgba(19, 50, 43, .14);
  --texto: #13322b;          /* PANTONE 627 C */
  --suave: #5d6b64;
  --acento: #c67c52;         /* PANTONE 35-5 C */
  --mono: 'JetBrains Mono', ui-monospace, monospace;
  --gutter: clamp(16px, 4vw, 56px);
  --curva: cubic-bezier(.2, .7, .2, 1);
  --logo-marca: var(--acento);   /* el logotipo siempre en terracota */
  --logo-lema: var(--suave);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--fondo); color: var(--texto); font: 300 17px/1.6 Strawford, system-ui, sans-serif; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; }
img, video { max-width: 100%; display: block; }
em { font-family: Novela, Georgia, serif; font-style: italic; font-weight: 400; color: var(--acento); letter-spacing: -.01em; }
.oculto { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- Entrada ---------- */
.intro { position: fixed; inset: 0; z-index: 100; background: var(--fondo); display: grid; place-items: center; transition: transform 1s var(--curva) .2s; }
.intro-logo { width: min(48vw, 420px); }
.intro-logo svg { width: 100%; height: auto; overflow: visible; }
.intro-logo path { opacity: 0; transform: translateY(60%); animation: letra .9s var(--curva) forwards; }
.intro-logo path:nth-child(1) { animation-delay: .05s; } .intro-logo path:nth-child(2) { animation-delay: .15s; }
.intro-logo path:nth-child(3) { animation-delay: .3s; } .intro-logo path:nth-child(4) { animation-delay: .4s; } .intro-logo path:nth-child(5) { animation-delay: .5s; }
.intro-barra { position: absolute; left: 50%; bottom: 14vh; width: 160px; height: 1px; background: var(--linea); transform: translateX(-50%); overflow: hidden; }
.intro-barra span { display: block; height: 100%; background: var(--acento); transform-origin: left; animation: barra 1.4s var(--curva) forwards; }
html:not(.cargando) .intro { transform: translateY(-100%); }
.sin-intro .intro { display: none; }
@keyframes letra { to { opacity: 1; transform: none; } }
@keyframes barra { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* ---------- Navegación ---------- */

/* ---------- Índice lateral ---------- */
.indice { position: fixed; right: calc(var(--gutter) - 6px); top: 50%; transform: translateY(-50%); z-index: 20; display: flex; flex-direction: column; align-items: flex-end; gap: 3px; transition: opacity .3s; }
.indice a { font: 500 11px/1.3 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: rgba(19,50,43,.4); text-decoration: none; transition: .3s var(--curva); }
.indice a.activo { color: var(--texto); font: 700 24px/1.1 Strawford, sans-serif; letter-spacing: -.01em; }
.indice.fuera { opacity: 0; pointer-events: none; }

/* ---------- Hero ---------- */
/* La portada ocupa exactamente la primera pantalla: el vídeo rellena lo que queda y se ve entero */
.hero { padding: 84px var(--gutter) 20px; position: relative; height: 100svh; min-height: 560px; display: flex; flex-direction: column; }
.hero-meta { display: flex; justify-content: space-between; gap: 16px; font: 500 11px/1.4 var(--mono); letter-spacing: .12em; color: var(--suave); border-bottom: 1px solid var(--linea); padding-bottom: 12px; }
.hero-palabra { margin: 2.2vh 0 0; line-height: 0; --logo-marca: var(--acento); }
.hero-palabra .palabra { width: clamp(120px, 12vw, 210px); height: auto; overflow: visible; }
.hero-palabra .palabra path { transform: translateY(105%); opacity: 0; }
.listo .hero-palabra .palabra path { animation: letra 1.1s var(--curva) forwards; }
.listo .hero-palabra .palabra path:nth-child(2) { animation-delay: .07s; }
.listo .hero-palabra .palabra path:nth-child(3) { animation-delay: .14s; }
.listo .hero-palabra .palabra path:nth-child(4) { animation-delay: .21s; }
.listo .hero-palabra .palabra path:nth-child(5) { animation-delay: .28s; }
.hero-pie { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin: 14px 0 18px; }
.hero-lema { font: 400 clamp(22px, 2.2vw, 32px)/1.15 Novela, Georgia, serif; margin: 0; max-width: 30ch; }
.hero-acciones { display: flex; gap: 10px; flex-wrap: wrap; }
.hero-video { position: relative; flex: 1 1 auto; min-height: 240px; border-radius: 22px; overflow: hidden; background: var(--piedra-clara); transform-origin: center top; will-change: transform; }
.hero-video video { width: 100%; height: 100%; object-fit: cover; }
.hero-video-etq { position: absolute; inset: auto 18px 16px; display: flex; justify-content: space-between; font: 500 11px/1 var(--mono); letter-spacing: .12em; color: #fff; text-shadow: 0 1px 8px rgba(0,0,0,.35); }

/* ---------- Botones ---------- */
.boton { display: inline-flex; align-items: center; gap: 10px; font: 500 12px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; text-decoration: none; padding: 16px 22px; border-radius: 999px; border: 1px solid var(--texto); cursor: pointer; transition: .25s var(--curva); background: none; }
.boton.oscuro { background: var(--texto); color: var(--fondo); }
.boton.oscuro:hover { background: var(--acento); border-color: var(--acento); color: #fff; }
.boton.linea { color: var(--texto); }
.boton.linea:hover { background: var(--texto); color: var(--fondo); }

/* ---------- Cintas ---------- */
.cinta { overflow: hidden; border-top: 1px solid var(--linea); border-bottom: 1px solid var(--linea); margin-top: 64px; padding: 16px 0; background: var(--papel); }
.cinta-pista { display: flex; width: max-content; animation: cinta 38s linear infinite; }
.cinta-pista.inversa { animation-direction: reverse; animation-duration: 46s; }
.cinta-grupo { display: flex; }
.cinta span { font: 500 13px/1 var(--mono); letter-spacing: .16em; white-space: nowrap; padding-right: 28px; }
.cinta i { font-style: normal; color: var(--acento); padding-left: 28px; }
.cinta.grande { background: none; border: 0; padding: 40px 0; margin: 40px 0 0; }
.cinta.grande span { font: 700 clamp(56px, 9vw, 150px)/1 Strawford, sans-serif; letter-spacing: -.03em; text-transform: lowercase; }
.cinta.grande em { font-size: 1.04em; }
.cinta.grande i { color: var(--piedra); }
@keyframes cinta { to { transform: translateX(-50%); } }

/* ---------- Secciones ---------- */
.seccion { padding: 120px var(--gutter) 40px; position: relative; }
.etiquetas { display: flex; justify-content: space-between; font: 500 11px/1 var(--mono); letter-spacing: .12em; color: var(--suave); margin-bottom: 40px; padding-bottom: 12px; border-bottom: 1px solid var(--linea); }
.cabecera-seccion { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: end; margin-bottom: 56px; }
.titular { font: 700 clamp(40px, 6.4vw, 96px)/1.02 Strawford, system-ui, sans-serif; letter-spacing: -.03em; margin: 0; }
.titular em { font-size: 1.05em; }
.entradilla { color: var(--suave); max-width: 44ch; margin: 0; font-size: 18px; }
.centrar { display: flex; justify-content: center; margin-top: 56px; }

/* ---------- Viviendas ---------- */
.rejilla-viviendas { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.vivienda { display: flex; flex-direction: column; text-decoration: none; background: var(--papel); border: 1px solid var(--linea); border-radius: 18px; padding: 16px; transition: transform .5s var(--curva), box-shadow .5s var(--curva); }
.vivienda:hover { transform: translateY(-4px); box-shadow: 0 24px 50px -28px rgba(19,50,43,.35); }
.vivienda-etq { display: flex; justify-content: space-between; font: 500 11px/1 var(--mono); letter-spacing: .12em; color: var(--suave); margin-bottom: 12px; }
.vivienda-foto { position: relative; aspect-ratio: 16/10; overflow: hidden; border-radius: 12px; background: var(--piedra-clara); }
.vivienda-foto img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--curva), opacity .6s; }
.vivienda-foto .segunda { opacity: 0; }
.vivienda:hover .vivienda-foto img { transform: scale(1.04); }
.vivienda:hover .vivienda-foto .segunda { opacity: 1; }
.sello { position: absolute; left: 12px; top: 12px; font: 500 11px/1 var(--mono); letter-spacing: .1em; background: var(--fondo); color: var(--texto); padding: 8px 11px; border-radius: 999px; z-index: 2; }
.ver { position: absolute; right: 12px; bottom: 12px; z-index: 2; font: 500 11px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; background: var(--acento); color: #fff; padding: 9px 13px; border-radius: 999px; opacity: 0; transform: translateY(8px); transition: .4s var(--curva); }
.vivienda:hover .ver { opacity: 1; transform: none; }
.vivienda-pie { display: grid; grid-template-columns: 1fr auto; gap: 2px 16px; padding: 16px 4px 2px; }
.vivienda-pie h3 { margin: 0; font: 700 26px/1.1 Strawford, sans-serif; letter-spacing: -.01em; }
.vivienda-pie .precio { margin: 0; font: 400 25px/1.1 Novela, serif; color: var(--acento); }
.vivienda-pie .datos { grid-column: 1 / -1; margin: 6px 0 0; color: var(--suave); font-size: 15px; }

/* ---------- Método: tarjetas con vídeo ---------- */
.rejilla-metodo { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.tarjeta-video { background: var(--papel); border: 1px solid var(--linea); border-radius: 18px; padding: 16px 16px 22px; }
.tarjeta-video .marco { aspect-ratio: 4/5; border-radius: 12px; overflow: hidden; background: var(--piedra-clara); }
.tarjeta-video video { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--curva); }
.tarjeta-video:hover video { transform: scale(1.04); }
.tarjeta-video h3 { font: 700 22px/1.15 Strawford, sans-serif; margin: 18px 0 6px; letter-spacing: -.01em; }
.tarjeta-video p { margin: 0; color: var(--suave); font-size: 15px; line-height: 1.5; }

/* ---------- Podcast ---------- */
.podcast { display: grid; grid-template-columns: 1.4fr 1fr; gap: 18px; align-items: start; }
.podcast-principal { position: relative; display: block; border-radius: 18px; overflow: hidden; background: #000; text-decoration: none; aspect-ratio: 16/9; }
.podcast-principal img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--curva), opacity .4s; }
.podcast-principal:hover img { transform: scale(1.03); opacity: .9; }
.play { position: absolute; left: 50%; top: 50%; width: 84px; height: 84px; margin: -42px 0 0 -42px; border-radius: 50%; background: var(--acento); color: #fff; display: grid; place-items: center; font-size: 26px; padding-left: 5px; box-shadow: 0 10px 40px rgba(0,0,0,.3); transition: transform .4s var(--curva); }
.podcast-principal:hover .play { transform: scale(1.1); }
.podcast-texto { position: absolute; inset: auto 0 0; padding: 60px 22px 20px; background: linear-gradient(transparent, rgba(0,0,0,.75)); color: #fff; }
.podcast-texto span { font: 500 11px/1 var(--mono); letter-spacing: .14em; color: var(--piedra); }
.podcast-texto h3 { margin: 8px 0 0; font: 400 clamp(22px, 2.2vw, 32px)/1.15 Novela, serif; }
.podcast-lista { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.podcast-lista a { display: grid; grid-template-columns: 132px 1fr; gap: 14px; align-items: center; text-decoration: none; background: var(--papel); border: 1px solid var(--linea); border-radius: 14px; padding: 8px; transition: .3s var(--curva); }
.podcast-lista a:hover { border-color: var(--acento); transform: translateX(4px); }
.podcast-lista img { width: 132px; aspect-ratio: 16/9; object-fit: cover; border-radius: 8px; }
.podcast-lista span { font-size: 15px; line-height: 1.35; font-weight: 500; }
.podcast-lista b { display: block; font: 500 10px/1 var(--mono); letter-spacing: .14em; color: var(--acento); margin-bottom: 6px; }
.visor-yt { border: 0; padding: 0; width: min(1100px, 94vw); background: #000; border-radius: 16px; overflow: hidden; }
.visor-yt::backdrop { background: rgba(19,50,43,.75); backdrop-filter: blur(4px); }
.visor-yt .marco-yt { aspect-ratio: 16/9; }
.visor-yt iframe { width: 100%; height: 100%; border: 0; display: block; }
.visor-yt .cerrar { position: absolute; right: 10px; top: 10px; z-index: 2; width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--fondo); color: var(--texto); font-size: 16px; cursor: pointer; }

/* ---------- Zonas: pista horizontal fija al hacer scroll ---------- */
.zonas-pin { position: relative; height: 300vh; }
.zonas-fijo { position: sticky; top: 0; height: 100vh; overflow: hidden; padding: 96px var(--gutter) 40px; display: flex; flex-direction: column; }
.zonas-fijo .titular { margin-bottom: 36px; }
.zonas-pista { display: flex; gap: 18px; flex: 1; min-height: 0; will-change: transform; }
.zona { position: relative; flex: 0 0 min(62vw, 760px); border-radius: 22px; overflow: hidden; text-decoration: none; background: var(--piedra-clara); }
.zona-fotos { position: absolute; inset: 0; }
.zona-fotos img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; animation: pase 12s infinite; }
.zona-fotos img:nth-child(1) { animation-delay: 0s; } .zona-fotos img:nth-child(2) { animation-delay: 4s; } .zona-fotos img:nth-child(3) { animation-delay: 8s; }
.zona-fotos img:only-child { opacity: 1; animation: none; }
@keyframes pase { 0% { opacity: 0; transform: scale(1.08); } 8% { opacity: 1; } 33% { opacity: 1; } 41% { opacity: 0; transform: scale(1); } 100% { opacity: 0; } }
.zona video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.zona-capa { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: space-between; padding: 20px; color: #fff;
  background: linear-gradient(rgba(19,50,43,.35), transparent 35%, rgba(19,50,43,.75)); }
.zona-capa .vivienda-etq { color: #fff; }
.zona h3 { font: 400 clamp(40px, 5vw, 76px)/1 Novela, serif; margin: 0 0 8px; }
.zona p { margin: 0; color: rgba(255,255,255,.85); font-size: 15px; }

/* ---------- Carrusel de reels ---------- */
.reels { padding: 100px 0 20px; overflow: hidden; }
.reels .etiquetas { margin: 0 var(--gutter) 32px; }
.reels-pista { display: flex; width: max-content; animation: cinta 60s linear infinite; }
.reels:hover .reels-pista { animation-play-state: paused; }
.reels-grupo { display: flex; gap: 14px; padding-right: 14px; }
.reel { width: clamp(180px, 17vw, 260px); aspect-ratio: 9/16; border-radius: 16px; overflow: hidden; background: var(--piedra-clara); }
.reel:nth-child(even) { margin-top: 48px; }
.reel video { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Pasos ---------- */
.pasos { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.pasos li { padding: 22px 20px 26px; background: var(--papel); border: 1px solid var(--linea); border-radius: 16px; min-height: 190px; transition: .4s var(--curva); }
.pasos li:hover { border-color: var(--acento); transform: translateY(-3px); }
.pasos .num { font: 500 12px/1 var(--mono); color: var(--acento); letter-spacing: .1em; }
.pasos h3 { font: 700 20px/1.2 Strawford, sans-serif; margin: 40px 0 8px; }
.pasos p { margin: 0; color: var(--suave); font-size: 15px; line-height: 1.5; }
.pasos .paso-cta { background: var(--texto); border-color: var(--texto); display: flex; }
.pasos .paso-cta a { color: var(--fondo); text-decoration: none; font: 400 26px/1.15 Novela, serif; align-self: flex-end; }
.pasos .paso-cta:hover { background: var(--acento); border-color: var(--acento); }

/* ---------- Reseñas ---------- */
.resenas { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.resenas figure { margin: 0; }
.resenas blockquote { margin: 0; font: 400 23px/1.4 Novela, serif; }
.resenas figcaption { margin-top: 16px; font: 500 11px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--acento); }

/* ---------- Contacto ---------- */
.contacto-seccion { background: var(--papel); border-top: 1px solid var(--linea); margin-top: 80px; padding-bottom: 100px; }
.contacto { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; }
.datos-contacto { list-style: none; padding: 0; margin: 48px 0 0; border-top: 1px solid var(--linea); }
.datos-contacto li { display: flex; justify-content: space-between; align-items: baseline; padding: 18px 0; border-bottom: 1px solid var(--linea); gap: 12px; }
.datos-contacto span { font: 500 11px/1 var(--mono); letter-spacing: .12em; color: var(--suave); }
.datos-contacto a { font: 400 clamp(20px, 2.2vw, 28px)/1 Novela, serif; text-decoration: none; }
.datos-contacto a:hover { color: var(--acento); }
.formulario { display: grid; gap: 18px; }
.formulario .fila { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.formulario label { display: grid; gap: 8px; font: 500 11px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--suave); }
.formulario input, .formulario select, .formulario textarea { font: 300 17px/1.4 Strawford, sans-serif; color: var(--texto); background: transparent; border: 0; border-bottom: 1px solid rgba(19,50,43,.3); padding: 10px 0; border-radius: 0; }
.formulario input:focus, .formulario select:focus, .formulario textarea:focus { outline: none; border-bottom-color: var(--acento); }
.formulario .check { display: flex; gap: 10px; align-items: flex-start; text-transform: none; letter-spacing: 0; font: 300 14px/1.4 Strawford, sans-serif; }
.formulario .check input { width: 18px; height: 18px; accent-color: var(--acento); margin-top: 1px; }
.formulario button { justify-self: start; }
.w-form-done, .w-form-fail { padding: 28px; border: 1px solid var(--linea); border-radius: 16px; font: 400 24px/1.3 Novela, serif; }
.w-form-fail { font-size: 17px; color: #9b2c2c; }

/* ---------- Pie ---------- */
.pie { background: var(--texto); color: var(--fondo); padding: 56px var(--gutter) 0; overflow: hidden; --logo-marca: var(--acento); }
.pie-enlaces { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.pie-enlaces a { font: 500 11px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; text-decoration: none; color: var(--piedra); padding: 6px 0; }
.pie-enlaces a:hover { color: #fff; }
.pie-legal { font: 500 11px/1.9 var(--mono); letter-spacing: .08em; color: rgba(196,193,178,.6); margin: 18px 0 0; }
.pie-legal a { color: inherit; text-decoration: none; }
.pie-logo { margin: 48px auto -2.2vw; }
.pie-logo svg { width: 100%; height: auto; }

/* ---------- Apariciones ---------- */
.revelar { opacity: 0; transform: translateY(32px); transition: opacity 1s var(--curva), transform 1s var(--curva); }
.revelar.visto { opacity: 1; transform: none; }
.revelar-texto { clip-path: inset(0 0 100% 0); transform: translateY(24px); transition: clip-path 1.2s var(--curva), transform 1.2s var(--curva); }
.revelar-texto.visto { clip-path: inset(0 0 -10% 0); transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .intro { display: none; }
  .revelar, .revelar-texto { opacity: 1; transform: none; clip-path: none; transition: none; }
  .hero-palabra .palabra path { transform: none; opacity: 1; animation: none !important; }
  .cinta-pista, .reels-pista { animation: none; }
  .zonas-pin { height: auto; }
  .zonas-fijo { position: static; height: auto; }
  .zonas-pista { overflow-x: auto; }
  .zona { min-height: 60vh; }
}

/* ---------- Responsive ---------- */
@media (min-width: 1101px) { .seccion, .zonas-fijo { padding-right: calc(var(--gutter) + 130px); } }
@media (max-width: 1100px) {
  .indice { display: none; }
  .rejilla-metodo { grid-template-columns: repeat(2, 1fr); }
  .pasos { grid-template-columns: repeat(2, 1fr); }
  .podcast { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .solo-ancho { display: none; }
  .cabecera-seccion, .contacto { grid-template-columns: 1fr; gap: 24px; }
  .rejilla-viviendas, .resenas { grid-template-columns: 1fr; }
  .hero { height: auto; min-height: 0; }
  .hero-video { flex: none; height: 56vh; border-radius: 16px; }
  .seccion { padding-top: 88px; }
  .zonas-pin { height: auto; }
  .zonas-fijo { position: static; height: auto; overflow: visible; }
  .zonas-pista { flex-direction: column; transform: none !important; }
  .zona { flex: none; min-height: 380px; }
  .reel:nth-child(even) { margin-top: 24px; }
}
@media (max-width: 560px) {
  .rejilla-metodo, .pasos { grid-template-columns: 1fr; }
  .pasos li { min-height: 0; }
  .pasos h3 { margin-top: 16px; }
  .formulario .fila { grid-template-columns: 1fr; }
  .podcast-lista a { grid-template-columns: 104px 1fr; }
  .podcast-lista img { width: 104px; }
  .hero-meta { font-size: 10px; }
}

/* Podcast con vídeo del estudio */
.podcast { grid-template-areas: "principal lista" "clips lista"; }
.podcast-principal { grid-area: principal; }
.podcast-principal video { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--curva); }
.podcast-principal:hover video { transform: scale(1.03); }
.podcast-lista { grid-area: lista; }
.podcast-clips { grid-area: clips; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.podcast-clips .marco { position: relative; aspect-ratio: 16/9; border-radius: 14px; overflow: hidden; background: #000; }
.podcast-clips video { width: 100%; height: 100%; object-fit: cover; }
.podcast-clips span { position: absolute; left: 12px; bottom: 10px; font: 500 10px/1 var(--mono); letter-spacing: .14em; color: #fff; text-shadow: 0 1px 6px rgba(0,0,0,.5); }
@media (max-width: 1100px) { .podcast { grid-template-areas: "principal" "clips" "lista"; } }

/* Portada: fundido entre clips de la secuencia */
.hero-video video.secuencia { transition: opacity .45s ease; }
.hero-video video.secuencia.cambiando { opacity: 0; }

/* ---------- Vuelo por la costa: vídeo controlado por el scroll ---------- */
.vuelo { position: relative; height: 420vh; margin-top: 64px; }
.vuelo-fijo { position: sticky; top: 0; height: 100vh; overflow: hidden; background: var(--texto); color: #fff; }
.vuelo-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.vuelo-velo { position: absolute; inset: 0; background:
  linear-gradient(90deg, rgba(19,50,43,.72) 0%, rgba(19,50,43,.25) 45%, transparent 70%),
  linear-gradient(transparent 60%, rgba(19,50,43,.55)); }
.vuelo-etq { position: absolute; top: 84px; left: var(--gutter); right: var(--gutter); display: flex; justify-content: space-between; gap: 12px;
  font: 500 11px/1 var(--mono); letter-spacing: .14em; color: rgba(255,255,255,.85); border-bottom: 1px solid rgba(255,255,255,.25); padding-bottom: 12px; }
.vuelo-textos { position: absolute; left: var(--gutter); top: 50%; transform: translateY(-50%); width: min(560px, 80vw); }
.vuelo-texto { position: absolute; left: 0; top: 50%; transform: translate(0, -40%); opacity: 0; transition: opacity .6s var(--curva), transform .8s var(--curva); pointer-events: none; }
.vuelo-texto.activo { opacity: 1; transform: translate(0, -50%); pointer-events: auto; }
.vuelo-texto .num { font: 500 11px/1 var(--mono); letter-spacing: .14em; color: var(--piedra); }
.vuelo-texto h2 { font: 700 clamp(40px, 5.6vw, 84px)/1.02 Strawford, sans-serif; letter-spacing: -.03em; margin: 14px 0 16px; }
.vuelo-texto h2 em { color: #e3a27c; }
.vuelo-texto p { font-size: 19px; line-height: 1.5; margin: 0 0 22px; color: rgba(255,255,255,.88); max-width: 40ch; }
.boton.claro { background: var(--fondo); color: var(--texto); border-color: var(--fondo); }
.boton.claro:hover { background: var(--acento); border-color: var(--acento); color: #fff; }
.vuelo-hitos { position: absolute; left: var(--gutter); right: var(--gutter); bottom: 44px; display: flex; justify-content: space-between; font: 500 11px/1 var(--mono); letter-spacing: .14em; color: rgba(255,255,255,.5); }
.vuelo-hitos span { transition: color .4s; }
.vuelo-hitos span.activo { color: #fff; }
.vuelo-barra { position: absolute; left: var(--gutter); right: var(--gutter); bottom: 30px; height: 2px; background: rgba(255,255,255,.25); }
.vuelo-barra i { display: block; height: 100%; background: var(--acento); transform-origin: left; transform: scaleX(0); }
.vuelo-pista { position: absolute; right: var(--gutter); top: 50%; font: 500 11px/1 var(--mono); letter-spacing: .14em; writing-mode: vertical-rl; color: rgba(255,255,255,.7); transition: opacity .4s; }
.vuelo.empezado .vuelo-pista { opacity: 0; }
@media (max-width: 860px) {
  .vuelo { height: 360vh; }
  .vuelo-velo { background: linear-gradient(rgba(19,50,43,.2), rgba(19,50,43,.15) 35%, rgba(19,50,43,.8)); }
  .vuelo-textos { top: auto; bottom: 90px; transform: none; width: auto; right: var(--gutter); }
  .vuelo-texto { top: auto; bottom: 0; transform: translateY(20px); }
  .vuelo-texto.activo { transform: none; }
  .vuelo-texto p { font-size: 16px; }
  .vuelo-etq span:last-child, .vuelo-pista { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .vuelo { height: auto; }
  .vuelo-fijo { position: relative; height: 100vh; }
  .vuelo-texto { transition: none; }
}

/* ---------- Constelación de viviendas (/comprar) ---------- */
.constelacion { position: relative; height: 100svh; min-height: 640px; overflow: hidden; perspective: 1200px; }
.orbitas { position: absolute; inset: 0; width: 100%; height: 100%; }
.orbitas ellipse { fill: none; stroke: rgba(19,50,43,.10); stroke-width: .18; vector-effect: non-scaling-stroke; }
.orbitas ellipse:nth-child(2) { stroke-dasharray: 2 3; }
.astros { position: absolute; inset: 0; transform-style: preserve-3d; }
.astro { position: absolute; left: 0; top: 0; width: 220px; aspect-ratio: 4/3; border-radius: 14px; overflow: hidden; display: block;
  background: var(--piedra-clara); box-shadow: 0 18px 40px -22px rgba(19,50,43,.45); will-change: transform; text-decoration: none;
  transition: box-shadow .4s, filter .4s; outline: none; }
.astro-fotos img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.2s ease; }
.astro-fotos img.activa { opacity: 1; animation: acerca 7s ease-out both; }
@keyframes acerca { from { transform: scale(1.12); } to { transform: scale(1); } }
.astro-info { position: absolute; inset: auto 0 0; padding: 26px 12px 10px; background: linear-gradient(transparent, rgba(19,50,43,.85));
  color: #fff; display: grid; gap: 2px; opacity: 0; transform: translateY(8px); transition: .35s var(--curva); }
.astro-info b { font: 700 15px/1.1 Strawford, sans-serif; letter-spacing: .02em; }
.astro-info span { font: 500 10px/1.2 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.85); }
.astro:hover, .astro:focus-visible { box-shadow: 0 30px 70px -24px rgba(19,50,43,.6), 0 0 0 2px var(--acento); }
.astro:hover .astro-info, .astro:focus-visible .astro-info { opacity: 1; transform: none; }
.constelacion-centro { position: absolute; left: 50%; top: 52%; transform: translate(-50%, -50%); width: min(640px, 88vw); text-align: center; z-index: 20;
  pointer-events: none; }
.constelacion-centro::before { content: ''; position: absolute; inset: -60px -90px; z-index: -1;
  background: radial-gradient(closest-side, var(--fondo) 55%, rgba(244,241,234,0)); }
.constelacion-centro > * { pointer-events: auto; }
.constelacion-etq { font: 500 11px/1 var(--mono); letter-spacing: .14em; color: var(--suave); }
.constelacion-centro h1 { font: 700 clamp(48px, 7.5vw, 112px)/1 Strawford, sans-serif; letter-spacing: -.035em; margin: 18px 0 18px; }
.constelacion-centro h1 em { font-size: 1.04em; }
.constelacion-centro p { color: var(--suave); font-size: 18px; margin: 0 auto 28px; max-width: 42ch; }
.constelacion-centro .hero-acciones { justify-content: center; }
.filtros-zona { display: flex; flex-wrap: wrap; gap: 8px; margin: -10px 0 32px; }
.filtros-zona a { font: 500 12px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; text-decoration: none; padding: 11px 16px;
  border-radius: 999px; border: 1px solid var(--linea); background: var(--papel); transition: .2s; }
.filtros-zona a:hover { border-color: var(--texto); }
.filtros-zona a[aria-current=page] { background: var(--texto); color: var(--fondo); border-color: var(--texto); }
.rejilla-viviendas.tres { grid-template-columns: repeat(3, 1fr); }
.vivienda.vendida .vivienda-foto img { filter: grayscale(.6); }
.vivienda.vendida .sello { background: var(--texto); color: #fff; }
@media (max-width: 1100px) { .rejilla-viviendas.tres { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 860px) {
  .rejilla-viviendas.tres { grid-template-columns: 1fr; }
  .constelacion { min-height: 560px; }
  .astro { width: 120px; border-radius: 10px; }
  .astro-info { display: none; }
  .constelacion-centro p { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) { .astro-fotos img.activa { animation: none; } }
html:has(.constelacion) .nav { background: rgba(244, 241, 234, .82); backdrop-filter: blur(10px); box-shadow: 0 1px 0 var(--linea); }
.solo-tactil { display: none; } @media (hover: none) { .solo-raton { display: none; } .solo-tactil { display: inline; } }
.espiral { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.espiral path { fill: none; stroke: rgba(19,50,43,.16); stroke-width: 1.2; vector-effect: non-scaling-stroke; }

/* Constelación en WebGL: el lienzo dibuja todo; los enlaces quedan para lectores de pantalla y teclado */
.lienzo-gl { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.con-webgl .constelacion .espiral { display: none; }
.con-webgl .constelacion .astros { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.astro-ficha { position: absolute; left: 0; top: 0; z-index: 30; pointer-events: none; background: var(--texto); color: #fff; border-radius: 12px;
  padding: 10px 14px; display: grid; gap: 3px; opacity: 0; transition: opacity .25s; box-shadow: 0 12px 30px -12px rgba(19,50,43,.5); }
.astro-ficha.visible { opacity: 1; }
.astro-ficha b { font: 700 16px/1.1 Strawford, sans-serif; letter-spacing: .02em; }
.astro-ficha span { font: 500 10px/1.2 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--piedra); }

/* ======================= VENDER (/vender-casa) ======================= */
:root { --oscuro: #0f2a24; }   /* verde oscuro de los bloques (vender, reseñas) */
.boton.terracota { background: var(--acento); border-color: var(--acento); color: #fff; }
.boton.terracota:hover { background: #b06a42; border-color: #b06a42; }
.v-etq { display: inline-flex; align-items: center; gap: 12px; font: 500 11px/1 var(--mono); letter-spacing: .16em; color: var(--acento); }
.v-etq::after { content: ''; width: 34px; height: 1px; background: currentColor; opacity: .6; }
.vender h2 { font: 400 clamp(34px, 4.4vw, 60px)/1.05 Novela, Georgia, serif; margin: 14px 0 0; letter-spacing: -.01em; }

.v-hero { background: var(--oscuro); color: #fff; text-align: center; padding: 150px var(--gutter) 90px; }
.v-hero h1 { font: 400 clamp(54px, 8vw, 116px)/.95 Novela, Georgia, serif; margin: 22px 0 26px; }
.v-lema { font: italic 400 clamp(17px, 1.6vw, 22px)/1.4 Novela, serif; color: #e3a27c; margin: 0 0 22px; }
.v-sub { font: 400 clamp(24px, 2.6vw, 36px)/1.2 Novela, serif; margin: 0 0 34px; }
.v-hero .v-etq { color: var(--piedra); }

.v-bloque { padding: 90px var(--gutter); }
.v-cabecera { display: flex; justify-content: space-between; align-items: end; gap: 20px; flex-wrap: wrap; margin-bottom: 40px; }
.v-enlace { font: 500 12px/1 var(--mono); letter-spacing: .08em; text-decoration: none; text-transform: uppercase; }
.v-enlace:hover { color: var(--acento); }
.v-ejemplos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.v-ejemplo { text-decoration: none; background: var(--papel); border: 1px solid var(--linea); border-radius: 6px; overflow: hidden; transition: .4s var(--curva); }
.v-ejemplo:hover { transform: translateY(-4px); box-shadow: 0 24px 50px -28px rgba(19,50,43,.35); }
.v-ejemplo-foto { position: relative; aspect-ratio: 16/10; overflow: hidden; }
.v-ejemplo-foto img { width: 100%; height: 100%; object-fit: cover; }
.v-cinta { position: absolute; inset: 0 0 auto; background: rgba(198,124,82,.92); color: #fff; text-align: center; font: 500 11px/1 var(--mono); letter-spacing: .2em; padding: 7px; }
.v-ejemplo-cab { display: flex; justify-content: space-between; padding: 16px 16px 8px; font: 700 15px/1 Strawford, sans-serif; letter-spacing: .02em; }
.v-ejemplo dl { margin: 0; padding: 0 16px 14px; }
.v-ejemplo dl div { display: flex; justify-content: space-between; padding: 7px 0; border-top: 1px solid var(--linea); font-size: 14px; color: var(--suave); }
.v-ejemplo dd { margin: 0; color: var(--texto); }

.v-oscuro { background: var(--oscuro); color: #fff; text-align: center; padding: 90px var(--gutter); }
.v-oscuro .v-etq { color: #e3a27c; }
.v-intro { color: rgba(255,255,255,.75); max-width: 56ch; margin: 18px auto 46px; font-size: 17px; }
.v-pasos { display: grid; grid-template-columns: 1fr 1fr; gap: 0 56px; max-width: 1100px; margin: 0 auto; text-align: left; }
.v-pasos ol { list-style: none; margin: 0; padding: 0; }
.v-pasos li { border-bottom: 1px solid rgba(255,255,255,.18); }
.v-pasos summary { display: grid; grid-template-columns: 56px 1fr 20px; align-items: center; padding: 16px 0; cursor: pointer; list-style: none; font: 300 19px/1.3 Strawford, sans-serif; }
.v-pasos summary::-webkit-details-marker { display: none; }
.v-pasos summary .num { font: 400 24px/1 Novela, serif; color: #e3a27c; }
.v-pasos summary i { font-style: normal; color: var(--piedra); transition: transform .3s; }
.v-pasos details[open] summary i { transform: rotate(45deg); }
.v-pasos summary:hover span:nth-child(2) { color: #e3a27c; }
.v-pasos details p { margin: 0 0 18px 56px; color: rgba(255,255,255,.75); font-size: 15px; line-height: 1.55; }

.v-diferentes { display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: center; }
.v-diferentes p { color: var(--suave); font-size: 16px; line-height: 1.6; max-width: 52ch; }
.v-video { position: relative; display: block; width: 100%; padding: 0; border: 0; cursor: pointer; border-radius: 6px; overflow: hidden; aspect-ratio: 16/10; background: #000; }
.v-video img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--curva); }
.v-video:hover img { transform: scale(1.04); }
.v-play { position: absolute; left: 18px; bottom: 18px; width: 54px; height: 38px; border-radius: 8px; background: rgba(15,42,36,.85); color: #fff; display: grid; place-items: center; font-size: 15px; }
.v-video:hover .v-play { background: var(--acento); }
.v-video-titulo { position: absolute; right: 16px; bottom: 22px; font: 500 11px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: #fff; text-shadow: 0 1px 8px rgba(0,0,0,.6); }
.v-valores { list-style: none; padding: 40px 0 0; margin: 50px 0 0; border-top: 1px solid var(--linea); display: grid; grid-template-columns: repeat(5, 1fr); gap: 28px; }
.v-valores li, .v-ventajas li { display: grid; gap: 8px; align-content: start; }
.v-valores b, .v-ventajas b { font: 500 15px/1.25 Strawford, sans-serif; }
.v-valores span:last-child, .v-ventajas span:last-child { font-size: 13px; color: var(--suave); line-height: 1.45; }
.v-icono { color: var(--acento); }
.v-etq-videos { margin: 70px 0 20px; }
.v-videos { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }

.v-opiniones .v-etq { margin-bottom: 40px; }
.v-resenas { display: grid; grid-template-columns: repeat(3, 1fr); text-align: left; }
.v-resenas figure { margin: 0; padding: 0 32px; border-left: 1px solid rgba(255,255,255,.18); }
.v-resenas figure:first-child { border-left: 0; padding-left: 0; }
.v-estrellas { color: #e3a27c; letter-spacing: 3px; font-size: 15px; }
.v-resenas blockquote { margin: 14px 0; font: 400 19px/1.45 Novela, serif; }
.v-resenas figcaption { font: 500 11px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--piedra); }

.v-final { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; background: var(--papel); border-top: 1px solid var(--linea); }
.v-final p { color: var(--suave); }
.v-ventajas { list-style: none; padding: 0; margin: 36px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }

@media (max-width: 1000px) {
  .v-ejemplos, .v-resenas { grid-template-columns: 1fr; }
  .v-resenas figure { border-left: 0; padding: 22px 0; border-top: 1px solid rgba(255,255,255,.18); }
  .v-resenas figure:first-child { border-top: 0; }
  .v-pasos, .v-diferentes, .v-videos, .v-final { grid-template-columns: 1fr; }
  .v-valores { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .v-hero { padding-top: 120px; }
  .v-valores, .v-ventajas { grid-template-columns: 1fr; }
  .v-pasos summary { font-size: 17px; }
}
html:has(.vender) .nav { background: rgba(244, 241, 234, .9); backdrop-filter: blur(10px); box-shadow: 0 1px 0 var(--linea); }

/* ======================= SOBRE NOSOTROS ======================= */
html:has(.nosotros) .nav { background: rgba(244, 241, 234, .9); backdrop-filter: blur(10px); box-shadow: 0 1px 0 var(--linea); }
.n-equipo { position: relative; overflow: hidden; padding: 130px var(--gutter) 90px; background: #f7f4ee; }
.n-marca { position: absolute; right: -2vw; top: 60px; width: min(46vw, 640px); opacity: .05; --logo-marca: var(--texto); pointer-events: none; }
.n-marca svg { width: 100%; height: auto; }
.n-cabecera { position: relative; text-align: center; max-width: 980px; margin: 0 auto 50px; }
.n-etq { display: inline-block; font: 500 12px/1 Strawford, sans-serif; letter-spacing: .32em; color: var(--suave); padding-bottom: 16px; position: relative; }
.n-etq::after { content: ''; position: absolute; left: 50%; bottom: 0; width: 36px; height: 1px; background: var(--acento); transform: translateX(-50%); }
.n-cabecera h1 { font: 400 clamp(38px, 4.6vw, 70px)/1.05 Novela, Georgia, serif; margin: 24px 0 20px; letter-spacing: -.01em; }
.n-cabecera p { color: var(--suave); font-size: 18px; line-height: 1.6; margin: 0 auto; max-width: 860px; }
.n-tarjetas { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.n-tarjeta { background: rgba(255,255,255,.55); box-shadow: 0 18px 40px -30px rgba(19,50,43,.35); display: flex; flex-direction: column; }
.n-tarjeta img { width: 100%; aspect-ratio: 1.04; object-fit: cover; display: block; }
.n-cuerpo { padding: 30px 24px 34px; text-align: center; display: flex; flex-direction: column; align-items: center; flex: 1; }
.n-cuerpo h2 { font: 400 26px/1 Novela, Georgia, serif; letter-spacing: .3em; text-transform: uppercase; margin: 0 0 16px; padding-bottom: 16px; position: relative; padding-left: .3em; }
.n-cuerpo h2::after { content: ''; position: absolute; left: 50%; bottom: 0; width: 30px; height: 1px; background: var(--acento); transform: translateX(-50%); }
.n-cuerpo p { color: var(--suave); font-size: 15.5px; line-height: 1.55; margin: 0 0 22px; }
.n-zona { margin-top: auto; display: inline-flex; align-items: center; gap: 12px; font: 500 12px/1 Strawford, sans-serif; letter-spacing: .3em; text-transform: uppercase; color: var(--suave); }
.n-zona svg { color: #8b6a43; }

.n-entrevistas { padding: 100px var(--gutter); }
.n-titulo { font: 400 clamp(34px, 4.4vw, 58px)/1.05 Novela, Georgia, serif; margin: 14px 0 44px; }
.n-entrevistas-rejilla { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.n-entrevista header { display: flex; align-items: center; gap: 16px; margin-bottom: 16px; }
.n-entrevista header img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; }
.n-entrevista h3 { font: 400 28px/1.1 Novela, serif; margin: 0; }
.n-entrevista details { border-top: 1px solid var(--linea); }
.n-entrevista details:last-child { border-bottom: 1px solid var(--linea); }
.n-entrevista summary { display: grid; grid-template-columns: 40px 1fr 20px; align-items: center; padding: 16px 0; cursor: pointer; list-style: none; font: 500 17px/1.35 Strawford, sans-serif; }
.n-entrevista summary::-webkit-details-marker { display: none; }
.n-entrevista summary .num { font: 400 20px/1 Novela, serif; color: var(--acento); }
.n-entrevista summary i { font-style: normal; color: var(--suave); transition: transform .3s; }
.n-entrevista details[open] summary i { transform: rotate(45deg); }
.n-entrevista details p { margin: 0 0 18px 40px; color: var(--suave); line-height: 1.6; }
.n-final { text-align: center; padding: 90px var(--gutter) 110px; }
.n-final p { color: var(--suave); margin: -24px 0 28px; }
.n-final .hero-acciones { justify-content: center; }
@media (max-width: 1100px) { .n-tarjetas { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 760px) {
  .n-tarjetas, .n-entrevistas-rejilla { grid-template-columns: 1fr; }
  .n-equipo { padding-top: 110px; }
}

/* ---------- Carrusel de reseñas (Google) ---------- */
.resenas-g { text-align: center; }
.rg-resumen { margin: 18px 0 0; font-size: 17px; color: rgba(255,255,255,.85); }
.rg-resumen b { font: 400 30px/1 Novela, serif; color: #fff; margin-right: 6px; }
.rg-marco { position: relative; max-width: 1240px; margin: 40px auto 0; }
.rg-pista { display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; text-align: left; padding: 4px 2px; }
.rg-pista::-webkit-scrollbar { display: none; }
.rg-tarjeta { flex: 0 0 calc((100% - 48px) / 3); scroll-snap-align: start; margin: 0; padding: 28px; border: 1px solid rgba(255,255,255,.16); border-radius: 14px; background: rgba(255,255,255,.03); display: flex; flex-direction: column; }
.rg-tarjeta blockquote { margin: 14px 0 20px; font: 400 18px/1.5 Novela, serif; flex: 1; display: -webkit-box; -webkit-line-clamp: 8; -webkit-box-orient: vertical; overflow: hidden; }
.rg-tarjeta figcaption { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 12px; align-items: center; }
.rg-tarjeta figcaption img { grid-row: span 2; width: 38px; height: 38px; border-radius: 50%; }
.rg-nombre, .rg-nombre a { font: 500 12px/1.2 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--piedra); text-decoration: none; }
.rg-cuando { font-size: 13px; color: rgba(255,255,255,.55); }
.rg-flecha { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,.3); background: var(--oscuro); color: #fff; cursor: pointer; font-size: 18px; z-index: 2; }
.rg-flecha:hover { background: var(--acento); border-color: var(--acento); }
.rg-flecha.anterior { left: -56px; } .rg-flecha.siguiente { right: -56px; }
.rg-google { display: inline-block; margin-top: 34px; font: 500 12px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: #fff; text-decoration: none; border: 1px solid rgba(255,255,255,.35); padding: 14px 20px; border-radius: 999px; }
.rg-google:hover { background: #fff; color: var(--texto); }
@media (max-width: 1360px) { .rg-flecha.anterior { left: 4px; } .rg-flecha.siguiente { right: 4px; } .rg-marco { padding: 0 56px; } }
@media (max-width: 900px) { .rg-tarjeta { flex-basis: calc((100% - 24px) / 2); } }
@media (max-width: 600px) { .rg-tarjeta { flex-basis: 88%; } .rg-marco { padding: 0; } .rg-flecha { display: none; } }

/* ---------- Textos legales ---------- */
.legal { max-width: 820px; margin: 0 auto; padding: 130px var(--gutter) 90px; }
.legal-nav { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 36px; }
.legal-nav a { font: 500 12px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; text-decoration: none; color: var(--suave); padding: 10px 14px; border: 1px solid var(--linea); border-radius: 999px; }
.legal-nav a[aria-current] { background: var(--texto); border-color: var(--texto); color: var(--fondo); }
.legal h1 { font: 400 clamp(38px, 6vw, 64px)/1.05 Novela, Georgia, serif; margin: 0; letter-spacing: -.01em; }
.legal-fecha { font: 500 12px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--suave); margin: 18px 0 44px; }
.legal h2 { font: 400 26px/1.2 Novela, Georgia, serif; margin: 48px 0 12px; }
.legal h3 { font-size: 17px; font-weight: 600; margin: 26px 0 6px; }
.legal p, .legal li { line-height: 1.7; }
.legal ul { padding-left: 1.2em; }
.legal a { color: var(--acento); }
.legal .legal-tabla { width: 100%; overflow-x: auto; }
.legal table { width: 100%; border-collapse: collapse; font-size: 15px; margin: 12px 0; }
.legal th, .legal td { text-align: left; vertical-align: top; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--linea); }
.legal th { font: 500 11px/1.3 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--suave); }
.legal-ficha { list-style: none; padding: 20px 24px !important; border: 1px solid var(--linea); border-radius: 14px; background: rgba(255,255,255,.4); }
.legal-ficha li { padding: 3px 0; }
.legal-pendiente { background: #ffe58a; color: #5a4300; padding: 0 4px; border-radius: 4px; }
.legal .boton { margin-top: 8px; }
.form-rgpd { font-size: 12px; line-height: 1.5; color: var(--suave); margin: 4px 0 8px; } .form-rgpd a { color: inherit; }
