/* Landing 4 · prueba de tipografía (Master, 2026-10-22): la Opción 3 tal cual, solo cambia la letra
   a la corporativa Obviously (manual pág. 17–20). Licencia web 500k vistas/mes. Sin Bold en el pedido:
   titulares en Semibold (600). font-synthesis:none para que el navegador no invente una negrita. */
@font-face { font-family: "Obviously"; src: url("fonts/Obviously-Regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Obviously"; src: url("fonts/Obviously-Medium.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Obviously"; src: url("fonts/Obviously-Semibold.woff2") format("woff2"); font-weight: 600 900; font-style: normal; font-display: swap; }
:root { --display: "Obviously", Arial, sans-serif; }
html, body { font-synthesis: none; }
body, input, select, textarea, button { font-family: "Obviously", Arial, sans-serif; }

/* Obviously es ancha: los tamaños de Barlow Condensed desbordan. Manual pág. 17 y 20: titulares en
   minúscula (tipo frase), sin interletraje e interlineado al 100 % del tamaño. Se escala ~0,7. */
h1, h2, h3, .tesela-palabra, .pie-lema, .panel-titulo, .proof-strip strong, .home-specs dd, .lugar-cifra {
  text-transform: none; letter-spacing: 0; }
h1 { font-size: clamp(2.4rem, min(6.4cqi, 10.5vh), 7rem); line-height: 1; }
.hero-line { padding-bottom: .06em; }
.section-heading h2, .home-copy h2, .community-title-wrap h2, .visit-copy h2 { font-size: clamp(2.6rem, 4.6cqi, 5rem); line-height: 1; }
.community-title-wrap h2 { font-size: clamp(2.4rem, 4.2cqi, 4.6rem); }
.title-voices { font-size: clamp(2.2rem, 3.8cqi, 4rem); line-height: 1; }
.day-copy h3 { font-size: clamp(1.6rem, 2cqi, 2.1rem); line-height: 1.05; }
.home-specs dd { font-size: min(2.1rem, 9.8cqi); white-space: nowrap; } /* contenedor = su casilla; Obviously es ~35 % más ancha */
.proof-strip strong { font-size: clamp(3rem, 5cqi, 5.4rem); line-height: 1; }
.proof-strip div:nth-child(2) strong, .proof-strip div:nth-child(4) strong { font-size: clamp(2.7rem, 4cqi, 4.3rem); }
.place-list .lugar-cifra { font-size: clamp(3rem, 5cqi, 5.4rem); line-height: 1; }
.mosaico .tesela .tesela-palabra { font-size: min(3.4rem, calc((100cqi - 2.6rem) / (var(--letras, 9) * 0.7))); line-height: 1; }
.pie-lema { font-size: clamp(2.2rem, 3.8cqi, 4rem); line-height: 1; }
.panel-titulo { line-height: 1; }
/* etiquetas pequeñas en mayúscula (Semibold, manual pág. 19): menos interletraje que con la condensada */
.proof-strip span, .title-place, .lugar-pre, .lugar-resto, .pie-titulo, .dossier-label, .idiomas, .idiomas-movil, .panel-pestana { letter-spacing: .02em; }
@media (max-width: 1099px) {
  h1 { font-size: clamp(2.3rem, min(8cqi, 11vh), 5.6rem); }
  .section-heading h2, .home-copy h2, .community-title-wrap h2, .visit-copy h2 { font-size: clamp(2.2rem, 9cqi, 3.6rem); }
  .proof-strip strong, .proof-strip div:nth-child(2) strong, .proof-strip div:nth-child(4) strong { font-size: clamp(2.6rem, 12cqi, 3.8rem); }
}
@media (max-width: 640px) {
  main .proof-strip div strong, main .proof-strip div:nth-child(n) strong { font-size: clamp(1.7rem, 7.6cqi, 2.6rem); }
  .proof-strip span { font-size: 1rem; }
  h1 { font-size: clamp(2rem, min(10.4cqi, 6.6vh), 3.6rem); }
}

/* Álvaro, 2026-10-22: «en líneas generales las tipografías más pequeñas».
   Base de la página al 93,75 % (16 → 15 px: todo lo que va en rem baja ~6 %) y titulares ~15 % más pequeños. */
html { font-size: 93.75%; }
h1 { font-size: clamp(2.1rem, min(5.5cqi, 9vh), 6rem); }
.section-heading h2, .home-copy h2, .community-title-wrap h2, .visit-copy h2 { font-size: clamp(2.2rem, 3.9cqi, 4.2rem); }
.community-title-wrap h2 { font-size: clamp(2.1rem, 3.6cqi, 3.9rem); }
.title-voices { font-size: clamp(1.9rem, 3.2cqi, 3.4rem); }
.day-copy h3 { font-size: clamp(1.4rem, 1.7cqi, 1.8rem); }
main .proof-strip div strong, main .proof-strip div:nth-child(n) strong { font-size: clamp(2.6rem, 4.3cqi, 4.6rem); }
.place-list .lugar-cifra { font-size: clamp(2.6rem, 4.3cqi, 4.6rem); }
.mosaico .tesela .tesela-palabra { font-size: min(2.9rem, calc((100cqi - 2.6rem) / (var(--letras, 9) * 0.7))); }
.pie-lema { font-size: clamp(1.9rem, 3.2cqi, 3.4rem); }
.home-specs dd { font-size: min(1.8rem, 9.8cqi); }
@media (max-width: 1099px) {
  h1 { font-size: clamp(2rem, min(7cqi, 9.5vh), 4.8rem); }
  .section-heading h2, .home-copy h2, .community-title-wrap h2, .visit-copy h2 { font-size: clamp(1.9rem, 7.6cqi, 3.1rem); }
}
@media (max-width: 640px) {
  h1 { font-size: clamp(1.8rem, min(9cqi, 5.8vh), 3.1rem); }
  main .proof-strip div strong, main .proof-strip div:nth-child(n) strong { font-size: clamp(1.6rem, 7cqi, 2.3rem); }
}

/* Álvaro, 2026-10-22: «las etiquetas en no bold y más pequeñas» (formulario del panel). */
#panel form label:not(.check-label):not(:has(input)) { font-weight: 400; font-size: .875rem; letter-spacing: 0; margin-bottom: .3rem; }

/* Álvaro, 2026-10-22: «Quiero conocerlo» de la cabecera «más pequeño el texto, en mayúscula y no bold». */
.site-header .header-action { font-weight: 500; font-size: .8125rem; text-transform: uppercase; letter-spacing: .06em; }
/* Álvaro, 2026-10-22: idiomas de la cabecera «más pequeño, no bold». Zona de pulsación intacta. */
.idiomas, .idiomas-movil { font-weight: 400; font-size: .8125rem; letter-spacing: .06em; }
/* Álvaro, 2026-10-22: subtítulo del panel «Luego, tómate tu tiempo.» «no bold, aire a la línea». */
.panel-titulo-resto { font-weight: 400; margin-top: .5rem; padding-bottom: .75rem; line-height: 1.25; }
/* Álvaro, 2026-10-22: desplegable «¿Qué te gustaría conocer?» «más pequeño». */
#panel select { font-size: .8125rem; }
/* Álvaro, 2026-10-22: aviso de privacidad del formulario «letra pequeña». La casilla sigue de 44 px. */
#panel .consent span { font-size: .75rem; line-height: 1.4; }
/* Álvaro, 2026-10-22: «todos los botones en mayúscula, no bold» (mismo estilo que «Quiero conocerlo»). */
.button, .site-header .header-action, .panel-pestana { font-weight: 500; font-size: .8125rem; text-transform: uppercase; letter-spacing: .06em; }
.button { white-space: nowrap; }
#panel .panel-pestana { font-weight: 500; font-size: .8125rem; letter-spacing: .06em; }
#panel #visit-form .button { font-weight: 500; font-size: .8125rem; text-transform: uppercase; letter-spacing: .06em; }
/* Álvaro, 2026-10-22: «Tu espacio privado. / Tu vida abierta.» del dossier del hero «no bold, más pequeño». */
.dossier-note { font-weight: 400; font-size: .75rem; letter-spacing: .06em; }
/* Álvaro, 2026-10-22: entradilla del hero «más pequeño» (18 → ~16 px). */
.hero-intro { font-size: clamp(.95rem, 1.1cqi, 1.1rem); line-height: 1.4; }
/* Álvaro, 2026-10-22: titular del hero «más grande» (51 → ~66 px a 1440). */
h1 { font-size: clamp(2.6rem, min(7cqi, 11.5vh), 7.6rem); }
@media (max-width: 1099px) { h1 { font-size: clamp(2.3rem, min(8.6cqi, 11vh), 5.8rem); } }
@media (max-width: 640px) { h1 { font-size: clamp(2rem, min(10.5cqi, 6.6vh), 3.6rem); } }

/* Álvaro, 2026-10-22: «pégalo un poco al titular, ajusta el interlineado del titular y el interletrado… esto es para todos».
   Todos los titulares: interlineado .95 e interletraje −0,02 em; el texto que va debajo, más cerca. */
h1, h2, h3, .pie-lema, .tesela-palabra, .panel-titulo { line-height: .95; letter-spacing: -.02em; }
.hero-line { padding-bottom: .04em; }
h1 { margin-bottom: .55em; }                       /* antes ~1.55rem fijo: ahora proporcional y más cerca */
h1 { margin-bottom: clamp(.8rem, 1.2cqi, 1.1rem); }
.hero-intro { margin-top: 0; }
.home-lead { margin-top: clamp(.9rem, 1.2cqi, 1.2rem); }
.day-copy h3 { margin-bottom: .7rem; }
.title-voices { margin-bottom: clamp(1.6rem, 3cqi, 2.6rem); }
.panel-titulo-resto { margin-top: .35rem; }
@media (max-width: 1099px) {
  .section-heading, .community-title-wrap { row-gap: .9rem; }
}

/* Álvaro, 2026-10-22: «el tamaño del primero en los demás» → todo el texto corrido al tamaño de la entradilla del hero. */
:root { --texto: .95rem; /* 14,25 px: el tamaño de la entradilla que eligió Álvaro */ }
body, .hero-intro, .section-heading p, .home-lead, .community-title-wrap p, .day-copy p, #day-body,
.community-list p, .inst p, .gallery-section p, .voices-section p:not(blockquote p), .place-section p, .pie-direccion, .pie p {
  font-size: var(--texto); line-height: 1.45; }
.hero-intro { line-height: 1.4; }
.pie .pie-direccion, .pie .pie-direccion span { font-size: var(--texto); }

/* Álvaro, 2026-10-22, tira de cifras: «alineamos centro, más grande el número y más junto al texto, que se vea un bloque». */
.proof-strip > div { align-items: center; text-align: center; }
main .proof-strip div strong, main .proof-strip div:nth-child(n) strong { font-size: clamp(3.2rem, 5.6cqi, 6rem); line-height: .9; }
.proof-strip span { margin-top: .35rem; max-width: 16ch; line-height: 1.05; }
@media (max-width: 640px) {
  main .proof-strip div strong, main .proof-strip div:nth-child(n) strong { font-size: clamp(2.1rem, 9cqi, 2.9rem); }
}
main .proof-strip div strong, main .proof-strip div:nth-child(n) strong { font-size: clamp(3.6rem, 6.8cqi, 7.2rem); }
@media (max-width: 640px) { main .proof-strip div strong, main .proof-strip div:nth-child(n) strong { font-size: clamp(2.2rem, 9.6cqi, 3.1rem); } }
/* Álvaro, 2026-10-22: tira de cifras «ajusta el interlineado y quita las líneas de arriba de las numeraciones». */
.proof-strip > div { border-top: 0; padding-top: 0; }
main .proof-strip div strong, main .proof-strip div:nth-child(n) strong { line-height: .85; }
.proof-strip span { margin-top: .5rem; line-height: 1.15; }
/* Álvaro, 2026-10-22: frase del mosaico «quita puntos y el bold, y en mayúscula» (el «·» se quita del HTML de la Landing 4). */
.tesela-frase { font-weight: 400; text-transform: uppercase; letter-spacing: .06em; font-size: .8125rem; }
/* Álvaro, 2026-10-22: etiquetas de cifras «una línea o DÍAS DE SOL / AL AÑO, ajusta el interlineado». */
.proof-strip span { max-width: 13ch; text-wrap: balance; line-height: 1; margin-top: .45rem; }
/* Álvaro: «interletrado» en las etiquetas de cifras → sin espaciado extra. */
.proof-strip span { letter-spacing: 0; max-width: none; }

/* Álvaro, 2026-10-22: el sello «es como un sello: sin fondo azul, medio foto medio fondo, un poco torcido y más grande».
   Centrado sobre el borde derecho de la foto principal (80 % del ancho útil + su relleno), girado −8°. */
.home-photo-stack { --sello-p: clamp(2rem, 5cqi, 5rem); }
.home-sello { background: none; box-shadow: none; padding: 0;
  width: clamp(11rem, 17cqi, 15.5rem);
  top: calc(var(--sello-p) + 6%); right: auto;
  left: calc(80% + .2 * var(--sello-p));
  transform: translateX(-50%) rotate(-8deg);
  filter: drop-shadow(0 3px 8px rgba(0, 0, 0, .35)); }
@media (max-width: 760px) {
  .home-photo-stack { --sello-p: 1.25rem; }
  .home-sello { width: 9.5rem; padding: 0; top: 2.5rem; left: calc(88% + .12 * var(--sello-p)); right: auto; }
}
/* Sello: posición real la pone marca-sello.js; animación «cae como un sello». */
.home-sello { transform: translate(-50%, -50%) rotate(-8deg); transform-origin: center; animation: none; }
.home-sello.montar { opacity: 1 !important; }                 /* el sello no usa el montaje general: tiene su caída */
.home-sello.sello-espera { opacity: 0 !important; transform: translate(-50%, -50%) rotate(-18deg) scale(1.9); }
.home-sello.sello-cae { animation: sello-cae .55s cubic-bezier(.5, 0, .75, 0) both, sello-golpe .35s .55s ease-out both; }
@keyframes sello-cae {
  from { opacity: 0; transform: translate(-50%, -50%) rotate(-18deg) scale(1.9); filter: drop-shadow(0 30px 30px rgba(0,0,0,.25)); }
  to   { opacity: 1; transform: translate(-50%, -50%) rotate(-8deg) scale(.96); filter: drop-shadow(0 2px 4px rgba(0,0,0,.45)); }
}
@keyframes sello-golpe {
  0%   { transform: translate(-50%, -50%) rotate(-8deg) scale(.96); }
  45%  { transform: translate(-50%, -50%) rotate(-8.6deg) scale(1.03); }
  100% { transform: translate(-50%, -50%) rotate(-8deg) scale(1); filter: drop-shadow(0 3px 8px rgba(0,0,0,.35)); }
}
@media (prefers-reduced-motion: reduce) { .home-sello, .home-sello.sello-espera, .home-sello.sello-cae { opacity: 1 !important; animation: none; transform: translate(-50%, -50%) rotate(-8deg); } }
/* «Un día. Tu día.»: altura fija, no cambia con la foto (Álvaro 2026-10-22). La foto deja de empujar la caja. */
.day-stage { height: 590px; min-height: 0; }
.day-image-wrap { min-height: 0; height: 100%; }
.day-image-wrap img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.day-copy { overflow: hidden; }
@media (max-width: 1099px) { .day-stage { height: auto; grid-template-rows: 380px auto; } .day-copy { min-height: 300px; } }
@media (max-width: 640px)  { .day-stage { grid-template-rows: 300px auto; } .day-copy { min-height: 330px; } }
/* Pestañas de horas: interlineado del titular y la hora pegada */
.day-tab span { margin-bottom: .3rem; line-height: 1; }
.day-tab strong { line-height: .95; letter-spacing: -.02em; }
/* Sin línea entre «Tu casa» y las cifras (Álvaro 2026-10-22) */
main .proof-strip { border-top: 0; }
/* «Un día»: texto de cada hora con jerarquía de marca — antetítulo fino con raya, titular apretado, texto corrido */
.day-copy > p:first-child, #day-time { display: flex; align-items: center; gap: .6rem; margin-bottom: 1.1rem; font-weight: 400; font-size: .8125rem; letter-spacing: .08em; line-height: 1; color: #005C6E; }
#day-time::before { content: ""; flex: none; width: 1.6rem; height: 2px; border-radius: 2px; background: #009AB0; }
.day-copy h3, #day-heading { margin-bottom: 1rem; font-size: clamp(1.9rem, 2.4cqi, 2.5rem); line-height: .95; letter-spacing: -.02em; text-wrap: balance; overflow-wrap: normal; }
.day-copy p:last-child, #day-body { max-width: 30ch; line-height: 1.45; opacity: .85; }
/* Logo: grande en la portada, se encoge al quedarse fijo en la cabecera (Álvaro 2026-10-22) */
.brand .logo-svg { width: clamp(180px, 15cqi, 230px); transition: color .25s ease, width .35s cubic-bezier(.2,.8,.2,1); }
.site-header.fija .brand .logo-svg { width: 136px; }
@media (max-width: 640px) { .brand .logo-svg { width: 132px; } .site-header.fija .brand .logo-svg { width: 96px; } }
@media (prefers-reduced-motion: reduce) { .brand .logo-svg { transition: none; } }
/* «La comunidad»: una sola separación (la del mosaico) entre titular, foto grande y mosaico (Álvaro 2026-10-22) */
#comunidad { --sep-fotos: 11.25px; }
#comunidad .mosaico { gap: var(--sep-fotos); }
#comunidad .community-title-wrap { margin-bottom: var(--sep-fotos); }
#comunidad .community-destacada { margin-bottom: var(--sep-fotos); }
/* Esquinas redondeadas en las fotos — «rectángulo redondeado» del manual, pág. 27 (Álvaro 2026-10-22).
   No se tocan la foto de portada (a sangre) ni la de «Un día» (va encajada en la tabla de horas). */
:root { --radio-foto: 14px; }
main img:not(.hero-slide):not(#day-image),
.community-destacada, .mosaico .tesela, .place-plano { border-radius: var(--radio-foto); }
.community-destacada, .mosaico .tesela { overflow: clip; }
.home-photo-detail { border-radius: calc(var(--radio-foto) + 4px); }
@media (max-width: 640px) { :root { --radio-foto: 10px; } }
/* Botones y campos redondeados (Álvaro 2026-10-22). Mismo radio de las fotos para que todo hable igual. */
.button, #panel #visit-form .button, .site-header .header-action, .hero-pause, .panel-pestana { border-radius: 10px; }
#panel .form-row input, #panel .form-row select, .form-row input, .form-row select, textarea { border-radius: 10px; }
#panel .consent input[type="checkbox"], .consent input[type="checkbox"] { border-radius: 4px; }
/* Más redondeos (Álvaro 2026-10-22): flecha del panel, vídeo y su «play», recuadros del pie */
.panel-ocultar { border-radius: 10px; }
.video, .video button { border-radius: var(--radio-foto, 14px); overflow: clip; }
.video .play { border-radius: 14px; }
/* Pie: cada recuadro del tamaño de su texto (no tres iguales) y sin negrita en teléfono, correo y dirección */
.pie .pie-contacto { display: flex; flex-wrap: wrap; align-items: stretch; }
.pie .pie-contacto .pie-boton, .pie .pie-contacto .pie-direccion { width: auto; flex: 0 0 auto; max-width: 100%; border-radius: 10px; font-weight: 400; }
.pie .pie-contacto .pie-boton span, .pie .pie-contacto .pie-direccion span { font-weight: 400; }
@container (max-width: 760px) { .pie .pie-contacto .pie-boton, .pie .pie-contacto .pie-direccion { width: 100%; } }
/* Plano «Dónde estamos» (Álvaro: «cuidado»): con Obviously, más ancha, titular y etiquetas se pisaban.
   Titular en minúscula y más contenido; etiquetas finas, más pequeñas y sin negrita, como el resto de antetítulos. */
.place-section .title-place { text-transform: none; font-weight: 600; font-size: clamp(2rem, 3.2cqi, 3.4rem); line-height: .95; letter-spacing: -.02em; }
.plano-etiqueta { font-weight: 500; font-size: 27px; letter-spacing: .06em; }
.plano-etiqueta-comm { font-weight: 600; font-size: 34px; letter-spacing: .04em; }
/* Pie: logotipo VERTICAL del manual, en amarillo (Álvaro 2026-10-22) */
.pie .pie-logo-vertical, .pie .pie-logo.pie-logo-vertical { width: clamp(96px, 9cqi, 128px); color: var(--sun) !important; }
.pie .pie-logo-vertical svg { width: 100%; height: auto; }
/* Pie: los tres recuadros alineados, misma altura y mismo cuerpo de letra; entran a la vez */
.pie .pie-contacto { align-items: center; }
.pie .pie-contacto > .pie-boton, .pie .pie-contacto > .pie-direccion { --i: 1 !important; height: 3.25rem; min-height: 0; margin: 0; padding-block: 0; align-items: center; line-height: 1; }
.pie .pie-contacto > * , .pie .pie-contacto > * span { font-size: var(--texto) !important; }
.pie .pie-contacto .pie-direccion span { white-space: nowrap; }
@container (max-width: 760px) { .pie .pie-contacto .pie-direccion span { white-space: normal; } .pie .pie-contacto > .pie-direccion { height: auto; min-height: 3.25rem; padding-block: .6rem; line-height: 1.3; } }
/* Pie: «Contacto» sin negrita; lema del pie quitado (Álvaro 2026-10-22) — oculto con CSS, el HTML no se toca */
.pie .pie-titulo { font-weight: 400; font-size: .9375rem; letter-spacing: .08em; margin-bottom: 1rem; }
.pie .pie-lema { display: none; }
/* Pie según el boceto de Álvaro (2026-10-22): logo vertical a la izquierda; a su derecha «Contacto:» arriba y los tres recuadros abajo,
   a la altura de «COMM»; debajo, una sola línea legal en letra pequeña: © Copyright … | Aviso Legal | Políticas */
.pie .pie-rejilla { display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-rows: auto 1fr; column-gap: clamp(3rem, 8cqi, 7rem); align-items: start; }
.pie .pie-firma { grid-row: 1 / span 2; margin: 0; }
.pie .pie-titulo { grid-column: 2; align-self: start; margin: .2rem 0 0; text-transform: none; letter-spacing: 0; font-size: 1.25rem; }
.pie .pie-contacto { grid-column: 2; align-self: end; margin-bottom: 1.6rem; }
.pie .pie-legal { margin-top: clamp(2rem, 4cqi, 3rem); padding: 1rem 0 1.4rem; border-top: 0; font-size: .75rem; letter-spacing: .02em; color: rgba(255, 255, 255, .7); gap: 0; }
.pie .pie-legales { gap: 0; }
.pie .pie-legales a { min-height: 0; color: inherit; text-decoration: none; }
.pie .pie-legales a::before, .pie .pie-legal > p:first-child + .pie-legales a:first-child::before { content: "|"; margin: 0 .7em; opacity: .6; }
.pie .pie-legales a:hover { color: var(--sun); }
.pie .pie-nota { font-size: .75rem; }
@container (max-width: 760px) {
  .pie .pie-rejilla { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto; row-gap: 1rem; }
  .pie .pie-firma { grid-row: auto; margin-bottom: 1.5rem; }
  .pie .pie-titulo, .pie .pie-contacto { grid-column: 1; margin-bottom: 0; }
}
/* Testimonios más ricos (Álvaro 2026-10-22): tarjetas Luz Gray redondeadas, comilla grande en Viva Blue,
   cita en Regular (se lee como una voz, no como un titular) y firma con su raya. Sin tocar los textos. */
.voices-quotes { gap: clamp(.9rem, 1.6cqi, 1.25rem); }
.voices-quotes .cita { position: relative; padding: clamp(1.4rem, 2.4cqi, 2rem) clamp(1.4rem, 2.6cqi, 2.2rem) clamp(1.2rem, 2cqi, 1.6rem);
  border: 0; border-radius: var(--radio-foto, 14px); background: #EEE8E1; overflow: hidden; }
.voices-quotes .cita::before { content: "\201C"; position: absolute; top: -.18em; right: .12em; font-family: var(--display); font-weight: 600;
  font-size: clamp(7rem, 11cqi, 10rem); line-height: 1; color: #009AB0; opacity: .22; pointer-events: none; }
.voices-quotes .cita blockquote p { position: relative; font-weight: 400; font-size: clamp(1.15rem, 1.55cqi, 1.4rem); line-height: 1.32; letter-spacing: -.01em; color: #002D41; }
.voices-quotes .cita figcaption { display: flex; align-items: center; gap: .6rem; margin-top: 1.1rem; color: #005C6E; font-weight: 600; font-size: .8125rem; letter-spacing: .08em; text-transform: uppercase; }
.voices-quotes .cita figcaption::before { content: ""; width: 1.6rem; height: 2px; border-radius: 2px; background: #009AB0; }
.voices-quotes .cita:nth-child(2) { background: #002D41; }
.voices-quotes .cita:nth-child(2) blockquote p { color: #fff; }
.voices-quotes .cita:nth-child(2) figcaption { color: #92D3E7; }
.voices-quotes .cita:nth-child(2)::before { color: #FDD15F; opacity: .35; }
.voices-grid { align-items: stretch; }
/* «Dónde estamos» rehecho (Álvaro 2026-10-22: «este no me gusta»). Sin tocar textos:
   - plano más grande y limpio: etiquetas con contorno fino (no el halo emborronado), punto THE COMM en Viva Blue;
   - las tres distancias como tarjetas iguales: «a 45″» en una línea, el destino debajo; sin rayas. */
.place-section { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(1.5rem, 3cqi, 2.5rem); align-items: stretch; border-top: 0; }
.place-plano { border-radius: var(--radio-foto, 14px); min-height: 22rem; }
.plano-etiqueta, .plano-etiqueta-comm { filter: none; paint-order: stroke fill; stroke: #f5f7f8; stroke-width: 7px; stroke-linejoin: round; fill: #002D41; }
.plano-etiqueta { font-weight: 500; font-size: 25px; letter-spacing: .07em; }
.plano-etiqueta-comm { font-weight: 600; font-size: 32px; letter-spacing: .05em; fill: #005C6E; }
.plano-punto-comm { fill: #FDD15F; stroke: #002D41; }
.plano-halo { fill: #FDD15F; opacity: .35; }
.place-list { display: grid; grid-template-rows: repeat(3, 1fr); gap: clamp(.6rem, 1.2cqi, .9rem); border-top: 0; }
.place-list li { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; align-content: center; column-gap: .5rem;
  padding: clamp(1rem, 2cqi, 1.6rem) clamp(1.2rem, 2.4cqi, 2rem); border: 0; border-radius: var(--radio-foto, 14px); background: #fff; }
.place-list .lugar-pre { grid-column: 1; grid-row: 1; align-self: end; padding-bottom: .5em; font-weight: 400; font-size: 1rem; letter-spacing: .04em; text-transform: none; color: #005C6E; }
.place-list .lugar-cifra { grid-column: 2; grid-row: 1; justify-self: start; font-weight: 600; font-size: clamp(2.8rem, 4.4cqi, 4.2rem); line-height: .9; letter-spacing: -.03em; color: #005C6E; }
.place-list .contador { min-width: 0; }
.place-list .lugar-resto { grid-column: 1 / -1; grid-row: 2; flex-basis: auto; margin-top: .55rem; font-weight: 400; font-size: .8125rem; line-height: 1.3; letter-spacing: .08em; text-transform: uppercase; color: #002D41; }
.place-list li:nth-child(1) { background: #002D41; } .place-list li:nth-child(1) * { color: #fff; } .place-list li:nth-child(1) .lugar-cifra { color: #FDD15F; }
@media (max-width: 760px) { .place-section { grid-template-columns: minmax(0, 1fr); } }
/* «Pausar imágenes»: es un enlace, no un botón — línea recta amarilla como «Así se vive un día» (Álvaro 2026-10-22) */
.hero-pause { border-radius: 0; border-bottom: 2px solid var(--sun); border-bottom-color: var(--sun) !important; }
.hero-pause { border-bottom: 0 !important; }
.hero-pause span { text-decoration: underline; text-decoration-color: var(--sun); text-decoration-thickness: 2px; text-underline-offset: .4rem; }
/* Titulares de sección más grandes y más pegados a su bloque, con su texto al lado (Álvaro 2026-10-22).
   Texto de entrada justificado a ambos lados, con guiones y caja ajustada para que no se abran huecos entre palabras. */
:root { --tit-seccion: clamp(2.6rem, 5.2cqi, 5.2rem); }
.title-day, .title-community, .title-voices { font-size: var(--tit-seccion) !important; line-height: .95; letter-spacing: -.02em; }
.title-home { font-size: clamp(2.6rem, 4.6cqi, 4.6rem); }
.day-section .section-heading { margin-bottom: clamp(1.1rem, 2cqi, 1.6rem); align-items: end; }
.title-voices { margin-bottom: clamp(1.1rem, 2cqi, 1.6rem) !important; }
.section-heading > p, .community-title-wrap > p { align-self: end; justify-self: end; width: min(100%, 31em) !important; max-width: 31em !important; margin-bottom: .35em;
  text-align: justify; text-align-last: left; hyphens: auto; -webkit-hyphens: auto; hyphenate-limit-chars: 7 3 3; word-spacing: -.01em; }
.community-title-wrap { align-items: end; }
@media (max-width: 760px) { .section-heading > p, .community-title-wrap > p { justify-self: start; width: 100% !important; max-width: none !important; } }
.title-home { font-size: clamp(3rem, 6.2cqi, 5.2rem) !important; }
.title-home { font-size: clamp(2.9rem, 5.2cqi, 4.6rem) !important; }
/* Interlineado de titulares de sección: un poco más de aire para que las tildes no toquen la línea de arriba */
.title-day, .title-home, .title-community, .title-voices, .title-day span, .title-home span, .title-community span { line-height: 1.04 !important; }
/* Casilla de privacidad: pequeña, a la medida del texto, redondeada y a juego con los campos (Álvaro 2026-10-22) */
#panel .consent { align-items: center; gap: .55rem; }
#panel .consent input[type="checkbox"] { -webkit-appearance: none; appearance: none; flex: 0 0 auto; width: .95rem; height: .95rem; margin: 0;
  border: 1px solid rgba(255, 255, 255, .7); border-radius: 4px; background: transparent; cursor: pointer; display: grid; place-content: center; }
#panel .consent input[type="checkbox"]::before { content: ""; width: .5rem; height: .5rem; clip-path: polygon(14% 44%, 0 65%, 40% 100%, 100% 22%, 84% 8%, 38% 68%); background: var(--ink); transform: scale(0); transition: transform .12s ease-out; }
#panel .consent input[type="checkbox"]:checked { background: var(--sun); border-color: var(--sun); }
#panel .consent input[type="checkbox"]:checked::before { transform: scale(1); }
#panel .consent input[type="checkbox"]:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
/* Etiquetas del formulario al mismo tamaño que el texto del desplegable (Álvaro 2026-10-22) */
#panel form label:not(.check-label):not(:has(input)) { font-size: .8125rem; }
/* Portada: la máscara de cada línea cortaba la cola de la «g» (Álvaro 2026-10-22). Hueco abajo para los trazos descendentes, sin mover el interlineado. */
.hero-line { padding-bottom: .2em; margin-bottom: -.2em; }
/* Panel: fuera la línea blanca bajo el botón de enviar (era el borde inferior del formulario) */
#panel #visit-form { border-bottom: 0; }
/* Formulario con todos los textos del de la home actual (Álvaro 2026-10-22): habitaciones, pregunta, información RGPD y aceptación */
#panel .form-row textarea { width: 100%; min-height: 3.6rem; padding: .6rem .8rem; border: 1px solid rgba(255, 255, 255, .55); border-radius: 10px; background: rgba(255, 255, 255, .07); color: var(--white); font: inherit; font-size: .8125rem; resize: vertical; }
#panel .form-row #rooms { font-size: .8125rem; }
#panel .form-rgpd { margin: 0; font-size: .6875rem; line-height: 1.4; color: rgba(255, 255, 255, .72); }
#panel .form-rgpd strong { font-weight: 500; color: rgba(255, 255, 255, .9); }
#panel .form-rgpd a { color: inherit; text-decoration-color: var(--sun); text-underline-offset: .2em; }
#panel .consent { align-items: flex-start; }
#panel .consent input[type="checkbox"] { margin-top: .1rem; }
/* «La comunidad»: un pelín más de aire entre el titular y la foto grande (Álvaro 2026-10-22) */
#comunidad .community-title-wrap { margin-bottom: 1.5rem; }
/* Aceptación con la misma letra pequeña que el bloque de protección de datos (Álvaro 2026-10-22) */
#panel .consent span { font-size: .6875rem !important; line-height: 1.4; color: rgba(255, 255, 255, .72); }
#panel .consent input[type="checkbox"] { margin-top: .05rem; width: .85rem; height: .85rem; }
/* Iconos de instalaciones como dice el manual, pág. 30 (Álvaro 2026-10-22): icono simple en Océano Blue, trazo grueso
   redondeado en las esquinas y recto en los acabados, enmarcado en un cuadrado de vértices redondeados de color secundario. */
.community-list .inst { grid-template-columns: 3.25rem minmax(0, 1fr); column-gap: 1.1rem; align-items: center; }
.community-list .inst-icono { box-sizing: border-box; width: 3.25rem; height: 3.25rem; padding: .62rem; border-radius: 12px;
  color: #002D41; stroke-width: 2.1; stroke-linejoin: round; stroke-linecap: butt; overflow: visible; }
.community-list .inst:nth-child(4n+1) .inst-icono { background: #F0846E; }
.community-list .inst:nth-child(4n+2) .inst-icono { background: #92D3E7; }
.community-list .inst:nth-child(4n+3) .inst-icono { background: #FDD15F; }
.community-list .inst:nth-child(4n+4) .inst-icono { background: #C8DC98; }
.community-list p { padding-top: 0; }
/* Cabecera del panel más pequeña (Álvaro 2026-10-22) */
#panel .panel-titulo > span:first-child { font-size: 1.85rem !important; line-height: 1; }
#panel .panel-titulo-resto { font-size: .9375rem !important; margin-top: .25rem; padding-bottom: .6rem; }
#panel .panel-ocultar { width: 2.1rem; height: 2.1rem; border-radius: 8px; }
#panel .panel-ocultar svg { width: 1rem; height: 1rem; }
/* «THE COMM PARA TI» quitado (Álvaro 2026-10-22) — oculto con CSS, el HTML no se toca */
.community-list-title { display: none; }
/* Flecha de ocultar el panel: más arriba y en amarillo (Álvaro 2026-10-22) */
#panel .panel-ocultar { position: relative; top: -.9rem; color: var(--sun); border-color: var(--sun); }
#panel .panel-ocultar:hover { background: rgba(214, 180, 93, .14); }
/* Formulario: aire sobre la aceptación; la letra pequeña de protección de datos va debajo del botón (Álvaro 2026-10-22) */
#panel .consent { margin-top: .6rem; }
#panel .form-rgpd { margin-top: .2rem; }
/* Distancias: las tres tarjetas en color corporativo, cada una distinta (Álvaro 2026-10-22).
   1 Océano Blue (la principal) · 2 Marino Blue · 3 Calma Blue con texto Océano (el blanco sobre Viva Blue no se lee en pequeño). */
.place-list li:nth-child(2) { background: #005C6E; }
.place-list li:nth-child(2) * { color: #fff; }
.place-list li:nth-child(2) .lugar-cifra { color: #92D3E7; }
.place-list li:nth-child(3) { background: #92D3E7; }
.place-list li:nth-child(3) * { color: #002D41; }
.place-list li:nth-child(3) .lugar-cifra { color: #002D41; }
/* Pie: colocación explícita (una regla vieja de @container ponía el logo a todo el ancho y lo apilaba todo) */
.pie .pie-rejilla { grid-template-columns: auto minmax(0, 1fr); grid-template-rows: auto 1fr; }
.pie .pie-firma { grid-column: 1 !important; grid-row: 1 / span 2 !important; }
.pie .pie-titulo { grid-column: 2 !important; grid-row: 1 !important; }
.pie .pie-contacto { grid-column: 2 !important; grid-row: 2 !important; align-self: end; margin-bottom: .35rem; }
@container (max-width: 760px) {
  .pie .pie-rejilla { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto; }
  .pie .pie-firma { grid-column: 1 !important; grid-row: 1 !important; }
  .pie .pie-titulo { grid-column: 1 !important; grid-row: 2 !important; }
  .pie .pie-contacto { grid-column: 1 !important; grid-row: 3 !important; }
}
/* Distancias: colores secundarios cálidos, no azules ni verdes (Álvaro 2026-10-22): 2 Verano Orange · 3 Sol Yellow, texto Océano */
.place-list li:nth-child(2) { background: #F0846E; }
.place-list li:nth-child(2) *, .place-list li:nth-child(2) .lugar-cifra { color: #002D41; }
.place-list li:nth-child(3) { background: #FDD15F; }
.place-list li:nth-child(3) *, .place-list li:nth-child(3) .lugar-cifra { color: #002D41; }
/* Pie: «Contacto:» y los recuadros juntos, como un bloque centrado en vertical con el logo (sin el hueco grande) */
.pie .pie-rejilla { grid-template-rows: 1fr auto auto 1fr; row-gap: 0; }
.pie .pie-firma { grid-row: 1 / -1 !important; }
.pie .pie-titulo { grid-row: 2 !important; margin: 0 0 1rem !important; }
.pie .pie-contacto { grid-row: 3 !important; align-self: start; margin: 0 !important; }
@container (max-width: 760px) {
  .pie .pie-rejilla { grid-template-rows: auto; }
  .pie .pie-firma { grid-row: 1 !important; }
  .pie .pie-titulo { grid-row: 2 !important; }
  .pie .pie-contacto { grid-row: 3 !important; }
}
/* La pestaña del panel no es un botón: va pegada al borde, solo redondeada por fuera (Álvaro 2026-10-22) */
#panel .panel-pestana { border-radius: 10px 0 0 10px !important; }
/* Línea legal del pie: siempre visible (su animación de entrada no llegaba a dispararse al final de la página) */
.pie .pie-legal, .pie .pie-legal.montar { opacity: 1 !important; transform: none !important; translate: none !important; animation: none !important; padding-bottom: 1.6rem; }
/* Pestaña: va girada 180°, así que sus esquinas «izquierdas» en pantalla son las derechas del elemento (estaba al revés) */
@media (min-width: 1100px) { html.panel-plegado #panel .panel-pestana { border-radius: 0 10px 10px 0 !important; } }
/* Móvil/tablet: la pestaña es una barra a todo el ancho en el flujo, sin redondeo */
@media (max-width: 1099px) { #panel .panel-pestana { border-radius: 0 !important; } }
/* Distancias: la primera también en color secundario (Álvaro: «otro color») → Menta Green, texto Océano */
.place-list li:nth-child(1) { background: #C8DC98; }
.place-list li:nth-child(1) *, .place-list li:nth-child(1) .lugar-cifra { color: #002D41; }
/* Línea legal en móvil: letra pequeña, cada cosa en su línea, sin «|» colgando al principio */
@container (max-width: 760px) {
  .pie .pie-legal, .pie .pie-legal p, .pie .pie-legales a { font-size: .75rem !important; }
  .pie .pie-legal { flex-direction: column; align-items: flex-start; gap: .5rem; }
  .pie .pie-legales { gap: .25rem 1rem; }
  .pie .pie-legales a::before { content: none !important; }
  .pie .pie-nota { margin-left: 0 !important; }
}
/* ===== Móvil y tablet (Álvaro 2026-10-22): menú hamburguesa + «Quiero conocerlo»; todos los textos más pequeños ===== */
.menu-boton, .menu-movil { display: none; }
@media (max-width: 1099px) {
  .menu-boton { display: grid; place-items: center; width: 2.5rem; height: 2.5rem; padding: 0; border: 0; border-radius: 10px; background: transparent; color: inherit; cursor: pointer; }
  .menu-boton svg { width: 1.5rem; height: 1.5rem; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: butt; }
  .menu-boton path { transition: transform .25s ease, opacity .2s ease; transform-origin: 12px 12px; }
  .menu-abierto .menu-boton .l1 { transform: translateY(5px) rotate(45deg); }
  .menu-abierto .menu-boton .l2 { opacity: 0; }
  .menu-abierto .menu-boton .l3 { transform: translateY(-5px) rotate(-45deg); }
  .menu-boton:focus-visible { outline: 2px solid var(--sun); outline-offset: 2px; }
  .site-header .idiomas, .site-header .idiomas-movil { display: none !important; }
  .site-header.menu-abierto { background: var(--white); color: var(--ink); }
  html[data-logo="auto"] .site-header.menu-abierto .logo-svg { color: #035b6e; }
  .menu-movil:not([hidden]) { display: block; position: absolute; top: 100%; left: 0; right: 0; padding: .5rem clamp(1.25rem, 5vw, 2rem) 1.4rem;
    background: var(--white); color: var(--ink); box-shadow: 0 12px 24px rgba(var(--scrim), .14); }
  .menu-movil-nav { display: grid; }
  .menu-movil-nav a { display: block; padding: .9rem 0; border-bottom: 1px solid var(--rule); color: var(--ink); font-family: var(--display); font-weight: 600; font-size: 1.25rem; letter-spacing: -.01em; text-decoration: none; }
  .menu-movil-idiomas { display: flex; align-items: center; gap: .2rem; margin-top: .9rem; font-size: .8125rem; letter-spacing: .06em; }
  .menu-movil-idiomas a { min-width: 2.5rem; min-height: 2.5rem; display: inline-flex; align-items: center; justify-content: center; color: var(--ink); text-decoration: none; }
  .menu-movil-idiomas a[aria-current] { text-decoration: underline; text-decoration-color: var(--sun); text-decoration-thickness: 2px; text-underline-offset: .35rem; }
  .menu-movil-idiomas span { opacity: .45; }
  .cab-derecha { gap: .35rem; }
}
@media (max-width: 640px) {
  html { font-size: 87.5%; }                                   /* todo lo que va en rem baja ~7 % */
  .site-header .header-action { min-height: 2.4rem; padding: .45rem .8rem; font-size: .6875rem; letter-spacing: .05em; }
  .site-header { padding-top: .6rem; padding-bottom: .6rem; }
}
/* «Pausar imágenes» quitado en móvil y escritorio (Álvaro 2026-10-22). Con «reducir movimiento» activado, las fotos ya no cambian solas (script.js). */
.hero-pause { display: none !important; }
@media (max-width: 640px) { .site-header .header-action { font-size: .75rem; } }
/* Móvil: todos los botones del mismo tamaño que «Quiero conocerlo» de la cabecera (Álvaro 2026-10-22) */
@media (max-width: 640px) {
  .button, #panel #visit-form .button, main .button { width: auto !important; min-height: 2.4rem !important; height: auto; padding: .45rem .8rem !important;
    font-size: .75rem !important; letter-spacing: .05em !important; line-height: 1.2; justify-self: start; white-space: nowrap; }
}
/* Móvil: la columna es demasiado estrecha para justificar sin abrir huecos → entradillas alineadas a la izquierda */
@media (max-width: 640px) { .section-heading > p, .community-title-wrap > p { text-align: left; } }
/* Línea legal en letra pequeña también en escritorio (la regla general «.pie p» le ponía el tamaño de texto corrido) */
.pie .pie-legal, .pie .pie-legal p, .pie .pie-legal span, .pie .pie-legales a { font-size: .75rem !important; line-height: 1.4; }
/* «Propuesta creativa de nueva home · Octubre 2026» quitado (Álvaro 2026-10-22) — oculto con CSS, el HTML no se toca */
.pie .pie-nota { display: none !important; }
/* Portada: la raya vertical del bloque «03 / 03 · Fase II» solo del alto de su texto (sin el botón de pausa sobraba 150 px) */
.hero-dossier { min-height: 0 !important; height: auto !important; align-self: end; padding-top: .2rem; padding-bottom: .2rem; }
/* Móvil: el bloque «03 / 03» ya iba oculto y solo quedaba el botón de pausa; sin él, se quita entero para que no quede una rayita suelta */
@media (max-width: 640px) { .hero-dossier { display: none !important; } }
/* Móvil: sello un poco más pequeño para que quepa entero */
@media (max-width: 640px) { .home-sello { width: 8rem !important; } }
/* Pie: recuadros de contacto más pequeños y en una sola línea (Álvaro 2026-10-22) */
.pie .pie-contacto { flex-wrap: nowrap; gap: .5rem; }
.pie .pie-contacto > .pie-boton, .pie .pie-contacto > .pie-direccion { height: 2.6rem; padding-inline: .75rem; gap: .45rem; }
.pie .pie-contacto > *, .pie .pie-contacto > * span { font-size: .8125rem !important; }
.pie .pie-contacto svg { width: 1rem !important; height: 1rem !important; }
@container (max-width: 760px) { .pie .pie-contacto { flex-wrap: wrap; } }
/* Pie: «Contacto:» + recuadros abajo, con la base de los recuadros en la base del logo (Álvaro 2026-10-22) */
.pie .pie-rejilla { grid-template-rows: 1fr auto auto; }
.pie .pie-firma { line-height: 0; }
.pie .pie-logo-vertical { display: block; }
.pie .pie-titulo { grid-row: 2 !important; }
.pie .pie-contacto { grid-row: 3 !important; align-self: end; }
@container (max-width: 760px) { .pie .pie-rejilla { grid-template-rows: auto; } }
.pie .pie-logo, .pie .pie-logo-vertical { margin: 0 !important; }
.pie .pie-firma { padding: 0 !important; margin: 0 !important; }
/* Pie: «Contacto:» al tamaño de los recuadros y en blanco; textos de contacto en blanco, iconos en amarillo (Álvaro 2026-10-22) */
.pie .pie-titulo { font-size: .8125rem !important; color: #fff !important; letter-spacing: .02em; }
.pie .pie-contacto > *, .pie .pie-contacto > * span { color: #fff !important; opacity: 1; }
.pie .pie-contacto svg { color: var(--sun) !important; }
.pie .pie-titulo { color: var(--sun) !important; }   /* «Contacto:» en amarillo (Álvaro) */
/* Pie: datos de contacto con más fuerza (Álvaro: «sin fuerza»): Medium, blanco pleno, borde más visible */
.pie .pie-contacto > *, .pie .pie-contacto > * span { font-weight: 500 !important; }
.pie .pie-contacto > .pie-boton, .pie .pie-contacto > .pie-direccion { border-color: rgba(255, 255, 255, .5) !important; }
.pie .pie-contacto svg { stroke-width: 2; }
.pie .pie-contacto > .montar { opacity: 1 !important; }

/* ===== Cambios del cliente (correo a Álvaro, 2026-10-22) =====
   «Usar los colores corporativos del manual»: texto sobre claro = Océano Blue; lugares en gris = Luz Gray;
   letras y botones en ocre = Sol Yellow; los azules de bloque pasan a Marino Blue (los demás secundarios ya se usan).
   «Por ahorrar scroll»: fuera la galería de fotos y la franja de cifras (20 años · 220 viviendas · 300 residentes · 300 días). */
:root {
  --ink: #002D41;  --scrim: 0, 45, 65;  --rule: rgba(0, 45, 65, .2);
  --sun: #FDD15F;  --focus: #FDD15F;
  --cobalt: #005C6E;  --cobalt-deep: #005C6E;  --leaf: #005C6E;  --coral: #005C6E;
  --paper: #FFFFFF;  --paper-warm: #EEE8E1;  --tinte-15: #EEE8E1;
}
body { color: var(--ink); }
.button-sun:hover, .site-header .header-action:hover { background: #FEE08F; }
.gallery-section, main .proof-strip { display: none !important; }
/* Sin la franja de cifras, «Tu casa» y «La comunidad» quedaban pegadas en el mismo azul → comunidad en Océano Blue */
.community-section { background: #002D41 !important; }
/* Paleta 100 % del manual: sin restos de otros colores (contenedores SVG y contorno de etiquetas del plano) */
svg.route-line, svg.pie-linea { fill: none; }
.plano-svg, .plano-marca { fill: #002D41; }
.plano-etiqueta, .plano-etiqueta-comm { stroke: #FFFFFF !important; }
html[data-logo="auto"] .site-header.fija .logo-svg, html[data-logo="auto"] .site-header.menu-abierto .logo-svg { color: #005C6E !important; }
#panel .consent input[type="checkbox"], .video button, .video img { color: inherit; }
/* Sin el menú de la cabecera (Álvaro 2026-10-23: «innecesario, no es un menú real»). En móvil, el ☰ queda solo para los idiomas. */
.site-header .site-nav, .menu-movil-nav { display: none !important; }
.site-header { grid-template-columns: auto 1fr; }
.site-header .cab-derecha { justify-self: end; }
/* Portada: el bloque «02 / 03 · Fase II» termina a ras de las cifras de la izquierda (Álvaro 2026-10-23) */
.hero-dossier { padding-bottom: 0 !important; }
.hero-dossier .dossier-note { margin-bottom: 0 !important; }
/* Mosaico de comunidad (Álvaro 2026-10-23): sin casilla vertical, 2 arriba y 3 abajo; palabras un poco más pequeñas */
@container (min-width: 901px) {
  .mosaico .tesela:nth-child(n) { grid-row: auto; }
  .mosaico .tesela:nth-child(1) { grid-column: 1 / span 3; }
  .mosaico .tesela:nth-child(2) { grid-column: 4 / span 3; }
  .mosaico .tesela:nth-child(3) { grid-column: 1 / span 2; }
  .mosaico .tesela:nth-child(4) { grid-column: 3 / span 2; }
  .mosaico .tesela:nth-child(5) { grid-column: 5 / span 2; }
}
.mosaico .tesela .tesela-palabra { font-size: min(2.4rem, calc((100cqi - 2.6rem) / (var(--letras, 9) * 0.7))); }
.mosaico .tesela img[src*="bienestar"] { object-position: 50% 30%; }

/* Álvaro, 2026-10-29 (Dirección, punto 3): llamada en la cabecera. Botón cuadrado amarillo con el teléfono; el primer
   clic despliega el número (marca-menu.js) y, ya desplegado, el clic llama (tel:). */
.site-header .header-tel { display: inline-flex; align-items: center; justify-content: flex-start; height: 2.875rem; min-width: 2.875rem; padding: 0 .85rem; border: 0; border-radius: 10px; background: var(--sun); color: var(--ink); text-decoration: none; white-space: nowrap; font-weight: 500; font-size: .8125rem; letter-spacing: .04em; cursor: pointer; transition: background .18s ease-out, padding .35s ease; }
.site-header .header-tel svg { width: 1.15rem; height: 1.15rem; flex: none; stroke-width: 2; }
.site-header .header-tel span { display: inline-block; max-width: 0; margin-left: 0; overflow: hidden; opacity: 0; transition: max-width .4s cubic-bezier(.2, .8, .2, 1), margin .4s cubic-bezier(.2, .8, .2, 1), opacity .25s ease; }
.site-header .header-tel.abierto span { max-width: 10rem; margin-left: .5rem; opacity: 1; }
.site-header .header-tel:hover { background: #FEE08F; }
.site-header .header-tel:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
@media (max-width: 1100px) { .site-header .header-tel { height: 2.4rem; min-width: 2.4rem; padding: 0 .62rem; } }
/* en móvil no cabe todo: mientras el número está desplegado, «Quiero conocerlo» se aparta */
@media (max-width: 760px) { .site-header .cab-derecha:has(.header-tel.abierto) .header-action { display: none; } }

/* Dirección, 2026-10-29 (punto 7): equipo comercial en el pie (lo genera equipo.py desde equipo.md). */
.pie-equipo { max-width: 1440px; margin: clamp(3rem, 5cqi, 4.5rem) auto 0; padding-top: clamp(2rem, 3.5cqi, 3rem); border-top: 1px solid rgba(255, 255, 255, .16); }
.pie-equipo .pie-titulo { margin-bottom: 1.4rem; }
.pie-equipo-rejilla { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.5rem, 4cqi, 4rem); max-width: 60rem; }
.pie-persona { display: flex; gap: 1.2rem; align-items: flex-start; }
.pie-persona-foto { flex: none; width: 88px; height: 88px; border-radius: 50%; object-fit: cover; border: 2px solid var(--sun); }
.pie-persona-iniciales { display: grid; place-items: center; background: rgba(255, 255, 255, .08); color: var(--sun); font-family: var(--display); font-weight: 800; font-size: 1.6rem; letter-spacing: .04em; }
.pie-persona-datos { min-width: 0; }
.pie-persona-nombre { margin: 0; font-family: var(--display); font-weight: 700; font-size: 1.2rem; line-height: 1.15; color: #fff; }
.pie-persona-banderas { display: flex; gap: .35rem; margin: .55rem 0 .7rem; }
.pie-persona-banderas svg { width: 1.45rem; height: auto; border-radius: 2px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .25); }
/* contacto del equipo: misma letra, tamaño, peso e icono que «Contacto:» pero sin recuadro, en una columna y con
   interlineado junto (Álvaro, 2026-10-29) */
.pie-persona-contacto { display: flex; flex-direction: column; align-items: flex-start; gap: .3rem; }
.pie .pie-persona-contacto a { display: inline-flex; align-items: center; gap: .45rem; color: #fff; text-decoration: none; font-size: .8125rem; font-weight: 500; line-height: 1.25; white-space: nowrap; }
.pie .pie-persona-contacto a:hover span { text-decoration: underline; text-decoration-color: var(--sun); text-underline-offset: .25rem; }
.pie .pie-persona-contacto svg { width: 1rem; height: 1rem; flex: none; color: var(--sun); stroke-width: 2; }
.pie .pie-persona-contacto a, .pie .pie-persona-contacto a span { font-size: .8125rem !important; font-weight: 500 !important; color: #fff !important; }  /* = .pie-contacto */
.pie .pie-persona-contacto svg { width: 1rem !important; height: 1rem !important; }
@media (max-width: 760px) { .pie-equipo-rejilla { grid-template-columns: minmax(0, 1fr); } }

/* Álvaro, 2026-10-29: «el sello con animación, que quede guay». Encima de la caída de siempre:
   suspendido grande → cae de golpe → se aplasta al tocar → dos ondas de tinta salen del borde → la foto da un respingo
   → rebote y se asienta. Las ondas son ::before/::after del propio sello (giran con él). */
.home-sello.sello-cae { animation: sello-cae2 .62s cubic-bezier(.7, 0, .84, 0) both, sello-golpe2 .7s .62s cubic-bezier(.2, .9, .3, 1.3) forwards; }
/* ojo: el golpe y las ondas van con forwards, no both: con both su primer fotograma tapa la caída mientras esperan */
@keyframes sello-cae2 {
  0%   { opacity: 0; transform: translate(-50%, -50%) rotate(-22deg) scale(2.3); filter: drop-shadow(0 40px 34px rgba(0,0,0,.18)); }
  35%  { opacity: 1; transform: translate(-50%, -50%) rotate(-20deg) scale(2.15); }
  100% { opacity: 1; transform: translate(-50%, -50%) rotate(-8deg) scale(.9); filter: drop-shadow(0 1px 2px rgba(0,0,0,.5)); }
}
@keyframes sello-golpe2 {
  0%   { transform: translate(-50%, -50%) rotate(-8deg) scale(.9, .86); }
  30%  { transform: translate(-50%, -50%) rotate(-9deg) scale(1.06); }
  60%  { transform: translate(-50%, -50%) rotate(-7.6deg) scale(.985); }
  100% { transform: translate(-50%, -50%) rotate(-8deg) scale(1); filter: drop-shadow(0 3px 8px rgba(0,0,0,.35)); }
}
.home-sello::before, .home-sello::after { content: ""; position: absolute; inset: -2%; border: 2px solid currentColor; opacity: 0; pointer-events: none; }
.home-sello.sello-cae::before { animation: sello-onda .75s .6s ease-out forwards; }
.home-sello.sello-cae::after  { animation: sello-onda .95s .7s ease-out forwards; }
@keyframes sello-onda { 0% { opacity: .85; transform: scale(1); } 100% { opacity: 0; transform: scale(1.45, 1.6); } }
.home-photo-stack.sello-impacto .home-photo-main, .home-photo-stack.sello-impacto .home-photo-detail { animation: sello-respingo .38s ease-out; }
@keyframes sello-respingo { 0% { transform: translateY(0); } 25% { transform: translateY(5px) rotate(.25deg); } 55% { transform: translateY(-2px); } 100% { transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) {
  .home-sello.sello-cae, .home-sello.sello-cae::before, .home-sello.sello-cae::after,
  .home-photo-stack.sello-impacto .home-photo-main, .home-photo-stack.sello-impacto .home-photo-detail { animation: none; }
}
/* móvil estrecho: con el botón de llamada, cabecera más compacta para que el menú no se salga (Master, 2026-10-29) */
@media (max-width: 420px) {
  .site-header .cab-derecha { gap: .3rem; }
  .site-header .header-action { padding: .45rem .6rem; font-size: .6875rem !important; letter-spacing: .03em; }
  .site-header .header-tel { height: 2.2rem; min-width: 2.2rem; padding: 0 .55rem; margin-left: .35rem; }
}


/* Equipo comercial con 3 personas (Ilse, 18-nov): en escritorio, las tres en una fila; tablet 2; móvil 1 */
.pie-equipo-rejilla { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 72rem; }
@media (max-width: 1100px) { .pie-equipo-rejilla { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) { .pie-equipo-rejilla { grid-template-columns: minmax(0, 1fr); } }
