/* ==========================================================================
   Monserrat Bungalows · Pinamar — "Sombra de pino"
   Sistema: 4 columnas (<768), 6 (768–1023), 12 (≥1024). Los rótulos de sección
   y los H2 arrancan siempre en la columna 1; la columna 7 es el único segundo ancla.
   ========================================================================== */

@font-face { font-family: "Figtree"; font-style: normal; font-weight: 300 900; font-display: swap; src: url("../fonts/figtree.woff2") format("woff2"); }
@font-face { font-family: "Newsreader"; font-style: normal; font-weight: 200 800; font-display: swap; src: url("../fonts/newsreader.woff2") format("woff2"); }
@font-face { font-family: "Newsreader"; font-style: italic; font-weight: 200 800; font-display: swap; src: url("../fonts/newsreader-italic.woff2") format("woff2"); }
/* Fallbacks con métricas ajustadas a Newsreader/Figtree: mientras la fuente web carga, el texto
   ocupa casi lo mismo y no salta al cambiar (CLS móvil). Georgia/Arial medidos en Chrome;
   Noto Serif (Android) es estimado: revisar en un teléfono real. */
@font-face { font-family: "Newsreader Fallback"; src: local("Georgia"); size-adjust: 93.7%; ascent-override: 79%; descent-override: 28%; line-gap-override: 0%; }
@font-face { font-family: "Newsreader Fallback"; font-style: italic; src: local("Georgia Italic"), local("Georgia-Italic"); size-adjust: 93.7%; ascent-override: 79%; descent-override: 28%; line-gap-override: 0%; }
@font-face { font-family: "Newsreader Fallback Android"; src: local("Noto Serif"), local("NotoSerif-Regular"); size-adjust: 88%; ascent-override: 84%; descent-override: 30%; line-gap-override: 0%; }
@font-face { font-family: "Figtree Fallback"; src: local("Arial"), local("Roboto"); size-adjust: 98.4%; ascent-override: 96.5%; descent-override: 25.4%; line-gap-override: 0%; }

:root {
  /* color */
  --paper: #FAF7F1;
  --sand: #F3ECDF;
  --dune: #E6DCCB;
  --ink: #1C2620;
  --body: #3D4741;
  --muted: #66675C;
  --pine: #24402F;
  --pine-deep: #1A3123;
  --atlantic: #3F5B67;
  --clay: #A4502F;
  --lichen: #BFC8B8;
  --line: #D8CCB6;
  --field: #FFFDF9;

  /* type */
  --font-display: "Newsreader", "Newsreader Fallback", "Newsreader Fallback Android", "Iowan Old Style", Georgia, serif;
  --font-text: "Figtree", "Figtree Fallback", system-ui, -apple-system, "Segoe UI", sans-serif;
  --step--1: clamp(0.8125rem, 0.79rem + 0.1vw, 0.875rem);
  --step-0: clamp(1rem, 0.96rem + 0.18vw, 1.125rem);
  --step-1: clamp(1.1875rem, 1.12rem + 0.3vw, 1.375rem);
  --step-2: clamp(1.5rem, 1.35rem + 0.7vw, 2rem);
  --step-3: clamp(2.125rem, 1.5rem + 2.2vw, 3.75rem);
  --step-5: clamp(3rem, 2.3rem + 3.5vw, 5.5rem);
  --measure: 29em;                 /* ≤ 70 caracteres por línea en Figtree, medido (el "ch" de 62ch daba 85) */

  /* layout */
  --cols: 4;
  --gutter: clamp(20px, 5vw, 64px);
  --content: min(1240px, 100vw - 2 * var(--gutter));
  --col-gap: 24px;
  --col: calc((var(--content) - (var(--cols) - 1) * var(--col-gap)) / var(--cols));
  --section-y: clamp(4rem, 3rem + 5vw, 8rem);
  --block-y: clamp(3.5rem, 2.5rem + 4vw, 6.5rem);  /* separación entre bloques dentro de una sección */
  --header-h: 72px;
  --r-photo: 4px;
  --r-card: 8px;
  --ease: cubic-bezier(.2, .7, .2, 1);

  color-scheme: light;
}
@media (max-width: 767px) { :root { --gutter: 20px; --header-h: 64px; --col-gap: 16px; } }
@media (min-width: 768px) { :root { --cols: 6; } }
@media (min-width: 1024px) { :root { --cols: 12; } }
@media (min-width: 1600px) { :root { --content: min(1360px, 100vw - 2 * var(--gutter)); } }

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--body);
  font-family: var(--font-text);
  font-size: var(--step-0);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
p, h1, h2, h3, h4, dl, dd, figure, blockquote, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button, input, textarea, select { font: inherit; color: inherit; }
address { font-style: normal; }
em { font-style: italic; }
.nw { white-space: nowrap; }

:focus-visible { outline: 2px solid var(--atlantic); outline-offset: 3px; border-radius: 2px; }
.site-footer :focus-visible { outline-color: var(--paper); }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 12px; top: -100px; z-index: 100;
  background: var(--pine); color: var(--paper); padding: 10px 16px; border-radius: 999px;
  text-decoration: none; font-weight: 600; transition: top .2s var(--ease);
}
.skip-link:focus { top: 12px; }

.wrap { width: var(--content); margin-inline: auto; }

/* ---------- type ---------- */
.display, .h2, .h2-sm, .h3, .score-num, .facts dd, .unit-facts dd, .night-title, .plans-summary__text {
  font-family: var(--font-display);
  font-optical-sizing: auto;
  color: var(--ink);
  font-weight: 400;
}
.display { font-size: clamp(2.5rem, 1rem + 4.2vw, 5.5rem); line-height: 1; letter-spacing: -0.02em; text-wrap: balance; }
.h2 { font-size: var(--step-3); line-height: 1.05; letter-spacing: -0.015em; text-wrap: balance; }
.h2-sm { font-size: var(--step-2); line-height: 1.12; letter-spacing: -0.01em; text-wrap: balance; }
.h3 { font-size: var(--step-1); line-height: 1.25; font-weight: 500; }
.display em, .h2 em, .h2-sm em, .night-title em { font-style: italic; }
.br-lg { display: none; }
@media (min-width: 768px) { .br-lg { display: inline; } .display { text-wrap: wrap; } }

.lead, .body-lg { font-size: var(--step-1); line-height: 1.55; max-width: var(--measure); text-wrap: pretty; }
.body-lg { font-size: clamp(1.0625rem, 1rem + .3vw, 1.25rem); }

/* un solo rótulo en mayúsculas para todo el sitio (review B P2-8) */
.eyebrow, .level-tag, .preview-label, .footer-label, .info-list dt, .plan figcaption span {
  font-family: var(--font-text);
  font-size: var(--step--1);
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  line-height: 1.3;
  text-wrap: balance;
}
.eyebrow { color: var(--clay); margin-bottom: 1.25rem; }

.text-link {
  display: inline-flex; align-items: center; gap: .45em;
  color: var(--pine); font-weight: 600; text-decoration: none;
  min-height: 44px;
}
.text-link .tl-text {
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px;
  text-decoration-color: color-mix(in srgb, var(--pine) 45%, transparent);
  transition: text-decoration-thickness .15s var(--ease), text-decoration-color .15s var(--ease);
}
.text-link:hover .tl-text { text-decoration-thickness: 2px; text-decoration-color: var(--pine); }
.arrow { width: 1em; height: 1em; flex: none; transition: transform .2s var(--ease); }
.text-link:hover .arrow, .btn:hover .arrow { transform: translateX(2px); }

/* ---------- buttons ---------- */
.btn {
  --btn-h: 48px;
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: var(--btn-h); padding: 0 1.5em;
  border-radius: 999px; border: 1.5px solid transparent;
  font-family: var(--font-text); font-weight: 600; font-size: 1rem; letter-spacing: .01em;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .15s var(--ease), color .15s var(--ease), border-color .15s var(--ease), transform .15s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--pine); color: var(--paper); }
.btn-primary:hover { background: var(--pine-deep); }
.btn-outline { background: transparent; color: var(--pine); border-color: var(--pine); }
.btn-outline:hover { background: var(--pine); color: var(--paper); }
.btn-sm { --btn-h: 40px; padding: 0 1.1em; font-size: .9375rem; }
.btn-lg { --btn-h: 56px; padding: 0 1.75em; }
.icon { width: 1.25em; height: 1.25em; flex: none; }

/* ---------- header ----------
   El fondo y el blur van en ::before: un backdrop-filter en el header lo convertía en
   bloque contenedor del menú fijo, y el panel se achicaba a 64px (review B P0-1). */
.site-header {
  position: sticky; top: 0; z-index: 50;
  height: var(--header-h);
}
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: transparent; border-bottom: 1px solid transparent;
  transition: background-color .2s var(--ease), border-color .2s var(--ease);
}
.site-header.is-scrolled::before {
  background: color-mix(in srgb, var(--paper) 97%, transparent);
  -webkit-backdrop-filter: saturate(1.2) blur(10px);
  backdrop-filter: saturate(1.2) blur(10px);
  border-bottom-color: var(--line);
}
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }

/* logo: versión de un color, en pino (la de 4 colores chocaba con la paleta) */
.brand { display: inline-flex; align-items: center; min-height: 44px; flex: none; text-decoration: none; }
.brand-logo { width: auto; height: 46px; }
.brand-logo--cream { display: none; }
.site-header:not(.is-scrolled) .brand-logo--pine { display: none; }
.site-header:not(.is-scrolled) .brand-logo--cream { display: block; }
body.nav-open .site-header .brand-logo--pine { display: block; }
body.nav-open .site-header .brand-logo--cream { display: none; }
.site-header:not(.is-scrolled) .nav-toggle { color: #fffdf8; }
body.nav-open .site-header .nav-toggle { color: var(--ink); }
@media (min-width: 960px) {
  .site-header:not(.is-scrolled) .site-nav ul a { color: #fffdf8; text-shadow: 0 1px 10px rgb(0 0 0 / .3); }
  .site-header:not(.is-scrolled) .header-cta { background: #fffdf8; color: var(--pine-deep); }
}
.brand-logo-footer { width: 168px; height: auto; }
@media (max-width: 767px) { .brand-logo { height: 38px; } }
@media (max-width: 359px) { .brand-logo { height: 36px; } }

.site-nav ul { display: flex; gap: clamp(16px, 2.4vw, 36px); }
.site-nav ul a {
  display: inline-flex; align-items: center; min-height: 44px;
  text-decoration: none; font-weight: 500; color: var(--ink); font-size: .9375rem;
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 0 1px; background-repeat: no-repeat; background-position: 0 calc(50% + .8em);
  transition: background-size .25s var(--ease);
}
.site-nav ul a:hover, .site-nav ul a[aria-current="true"] { background-size: 100% 1px; }
.header-actions { display: flex; align-items: center; gap: 8px; }
.nav-wa { display: none; }

.nav-toggle {
  display: none; align-items: center; gap: 10px;
  min-height: 44px; padding: 0 4px 0 12px; background: none; border: 0; cursor: pointer;
  font-weight: 600; color: var(--ink);
}
.nav-toggle-icon { position: relative; width: 22px; height: 12px; }
.nav-toggle-icon span {
  position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor; border-radius: 2px;
  transition: transform .25s var(--ease), top .25s var(--ease);
}
.nav-toggle-icon span:first-child { top: 0; }
.nav-toggle-icon span:last-child { top: 10px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-icon span:first-child { top: 5px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-icon span:last-child { top: 5px; transform: rotate(-45deg); }

@media (min-width: 960px) {
  .site-nav { display: flex; align-items: center; gap: 32px; margin-left: auto; }
}
@media (max-width: 959px) {
  .header-inner { gap: 12px; }
  .header-actions { gap: 4px; flex: none; }
  .header-cta { --btn-h: 40px; padding: 0 1em; font-size: .875rem; }
  .nav-toggle { display: inline-flex; padding: 0 0 0 8px; gap: 8px; min-width: 44px; justify-content: center; }
  .site-nav {
    position: fixed; inset: var(--header-h) 0 0 0; z-index: 49;
    background: var(--sand);
    display: flex; flex-direction: column; justify-content: space-between;
    padding: 32px var(--gutter) calc(32px + env(safe-area-inset-bottom));
    visibility: hidden; opacity: 0; transform: translateY(-8px);
    transition: opacity .25s var(--ease), transform .25s var(--ease), visibility 0s linear .25s;
    overflow-y: auto; overscroll-behavior: contain;
  }
  .site-nav.is-open { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
  .site-nav ul { flex-direction: column; gap: 4px; }
  .site-nav ul a {
    font-family: var(--font-display); font-size: var(--step-3); font-weight: 400; letter-spacing: -0.015em;
    min-height: 56px; background-position: 0 85%;
  }
  .site-nav ul li { border-bottom: 1px solid var(--line); }
  .nav-wa { display: inline-flex; width: 100%; margin-top: 32px; --btn-h: 56px; }
  body.nav-open .site-header::before { background: var(--sand); border-bottom-color: var(--line); -webkit-backdrop-filter: none; backdrop-filter: none; }
}
@media (min-width: 600px) and (max-width: 959px) {
  .site-nav { justify-content: flex-start; gap: 48px; }
  .nav-wa { max-width: 360px; margin-top: 0; }
}
@media (max-width: 359px) {
  .nav-toggle-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
}

/* ---------- media frames ---------- */
.media { position: relative; display: block; overflow: hidden; border-radius: var(--r-photo); background: var(--dune); }
.media picture, .media img { width: 100%; height: 100%; }
.media img { object-fit: cover; transition: transform .7s var(--ease); }
@media (hover: hover) and (pointer: fine) {
  a.media:hover img, a:hover > .media img { transform: scale(1.03); }
}
.thumb-label {
  position: absolute; left: 12px; bottom: 12px; z-index: 1;
  padding: 6px 12px; border-radius: 999px; background: var(--paper); color: var(--ink);
  font-size: var(--step--1); font-weight: 600; opacity: 0; transform: translateY(4px);
  transition: opacity .25s var(--ease), transform .25s var(--ease);
}
a.media:hover .thumb-label, a.media:focus-visible .thumb-label { opacity: 1; transform: none; }
/* parche de color mientras no se re-exporten las exteriores con el grado del brief (review A P1-8) */
.hero-media img, .mosaic img, .unit-photo img { filter: saturate(.92) contrast(.98); }

/* ---------- sections ---------- */
.section { padding-block: var(--section-y); }
.section-paper { background: var(--paper); }
.section-sand { background: var(--sand); }
/* dos secciones claras seguidas: una línea fina a lo ancho del contenido, no un cambio de fondo */
.section-lined { padding-top: 0; }
.section-lined > .wrap { border-top: 1px solid var(--line); padding-top: var(--section-y); }

/* encabezado partido: título en col 1, texto en col 7 */
.split-head { display: grid; gap: .25rem; }
.split-head .h2 { margin-bottom: 1.25rem; }
@media (min-width: 1024px) {
  .split-head { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap); align-items: end; }
  .split-head__title { grid-column: 1 / 7; }
  .split-head__title .h2 { margin-bottom: 0; }
  .split-head__body { grid-column: 7 / 13; padding-bottom: .35rem; }
}

/* ---------- 1 · hero: banner a pantalla completa, texto sobre degradé ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; align-items: flex-end;
  margin-top: calc(var(--header-h) * -1);
  min-height: max(560px, 100svh); background: #1a2a20; color: var(--paper);
}
.hero-media { position: absolute; inset: 0; z-index: -2; background: #1a2a20; }
.hero-media picture, .hero-media img { width: 100%; height: 100%; }
.hero-media img { object-fit: cover; object-position: 50% 50%; filter: none; }
.hero-shade {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(to bottom, rgb(12 20 15 / .55) 0, rgb(12 20 15 / 0) 160px),
    linear-gradient(to top, rgb(12 20 15 / .86) 0%, rgb(12 20 15 / .6) 32%, rgb(12 20 15 / .12) 62%, rgb(12 20 15 / 0) 78%);
}
.hero-text { display: grid; gap: 1.25rem; padding: calc(var(--header-h) + 2rem) 0 clamp(2rem, 1.5rem + 3vw, 4rem); }
/* el H1 envuelve el rótulo y el título (dos span en bloque): no aporta estilo propio */
.hero-title { font-size: inherit; font-weight: inherit; line-height: inherit; }
.hero-title > .eyebrow, .hero-title > .display { display: block; }
.hero .eyebrow { margin-bottom: .75rem; color: #f3d9c6; text-shadow: 0 1px 12px rgb(0 0 0 / .35); }
.hero .display { color: #fffdf8; text-shadow: 0 2px 24px rgb(0 0 0 / .28); }
.hero .lead { font-size: var(--step-0); margin-bottom: 1.25rem; color: rgb(255 253 248 / .92); }
.hero-ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; margin-bottom: 1rem; }
.hero .text-link { color: #fffdf8; }
.hero .text-link .tl-text { text-decoration-color: rgb(255 253 248 / .55); }
.hero .text-link:hover .tl-text { text-decoration-color: #fffdf8; }
.hero :focus-visible { outline-color: #fffdf8; }
.btn-light { background: #fffdf8; color: var(--pine-deep); }
.btn-light:hover { background: var(--sand); }
/* en teléfonos angostos la dirección baja a su propio renglón, sin un "·" colgando */
@media (max-width: 389px) { .hero .eyebrow .sep { display: block; height: 0; overflow: hidden; } }
.proof { font-size: var(--step--1); color: var(--muted); letter-spacing: .01em; }
.hero .proof { color: rgb(255 253 248 / .78); }
.proof .dot { margin-inline: .5em; }
@media (max-width: 767px) {
  .hero { min-height: max(520px, 100svh); }
  .hero-media img { object-position: 50% 0%; }
  .hero .lead { font-size: .9375rem; line-height: 1.5; }
}
@media (max-width: 767px) and (max-height: 700px) {
  .hero .display { font-size: 2.25rem; }
  .hero-text { gap: .75rem; }
  .hero .proof { display: none; }
}
@media (min-width: 768px) {
  .hero { min-height: clamp(600px, 100svh, 1080px); }
  .hero-text { grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); column-gap: var(--col-gap); align-items: end; }
  .hero-title, .hero-aside { grid-column: 1 / -1; }
  .hero .lead { margin-bottom: 1.5rem; }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .hero-aside { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); column-gap: var(--col-gap); }
  .hero-aside .lead { grid-column: 1 / 6; }
  .hero-aside .hero-ctas, .hero-aside .proof { grid-column: 1 / -1; }
}
@media (min-width: 1024px) {
  .hero-title { grid-column: 1 / 8; }
  .hero-aside { grid-column: 8 / 13; padding-bottom: .4rem; }
  .hero .display { margin: 0; }
  .hero .lead { max-width: none; }
}
@media (min-width: 1024px) and (max-width: 1279px) { .hero .display { font-size: clamp(3rem, 5vw, 3.75rem); } }
@media (min-width: 1280px) {
  .hero-title { grid-column: 1 / 9; }
  .hero-aside { grid-column: 9 / 13; }
}

/* ---------- 2 · el complejo ---------- */
.facts {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem var(--col-gap);
  margin-top: clamp(2.5rem, 2rem + 2vw, 3.5rem); padding-top: 1.75rem; border-top: 1px solid var(--line);
}
.facts div { display: flex; flex-direction: column; }
.facts dd { order: -1; font-size: var(--step-2); line-height: 1; letter-spacing: -0.01em; margin-bottom: .45rem; }
.facts dt { font-size: var(--step--1); color: var(--muted); line-height: 1.35; }
@media (min-width: 768px) { .facts { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .facts dd { font-size: clamp(2rem, 1.4rem + 1vw, 2.5rem); } }

.mosaic { display: grid; gap: 2.5rem var(--col-gap); margin-top: clamp(3rem, 2rem + 3vw, 4.5rem); }
.mosaic .media { aspect-ratio: 3 / 2; }
.m-b .media { aspect-ratio: 4 / 5; }
.m-c .media, .m-d .media { aspect-ratio: 4 / 3; }
.mosaic figcaption { margin-top: 1rem; max-width: var(--measure); }
.mosaic figcaption .h3 { margin-bottom: .3rem; }
.more-link { margin-top: 1.5rem; }
@media (min-width: 768px) and (max-width: 1023px) {
  .mosaic { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .m-a, .m-c { grid-column: 1 / -1; }
  .m-c .media { aspect-ratio: 16 / 10; }
  .m-b, .m-d { grid-row: 2; }
  .m-d { grid-column: 2; }
  .m-c { grid-row: 3; }
  .m-b .media, .m-d .media { aspect-ratio: 4 / 5; }
}
@media (min-width: 1024px) {
  .mosaic {
    grid-template-columns: repeat(12, minmax(0, 1fr)); row-gap: 3.5rem;
    --row1-h: calc((8 * var(--col) + 7 * var(--col-gap)) / 1.5);   /* alto de m-a en 3:2 */
  }
  .m-a { grid-column: 1 / 9; }
  .m-b { grid-column: 9 / 13; }
  .m-a .media, .m-b .media { aspect-ratio: auto; height: var(--row1-h); }
  .m-c { grid-column: 1 / 7; }
  .m-d { grid-column: 7 / 13; }
  .m-c .media, .m-d .media { aspect-ratio: 4 / 3; }
}

/* ---------- 3 · el bungalow ---------- */
.unit-hero { display: grid; gap: 2.5rem; }
.unit-intro .h2 { margin-bottom: 1.25rem; }
.unit-fit { margin-top: 1rem; color: var(--ink); font-weight: 500; max-width: var(--measure); }
.unit-photo { aspect-ratio: 4 / 5; }
/* en el teléfono la foto de afuera ya está en El complejo: el primer interior llega antes */
@media (max-width: 767px) { .unit-photo { display: none; } }
.unit-facts {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem var(--col-gap);
  margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--line); max-width: 30rem;
}
.unit-facts div { display: flex; flex-direction: column; }
.unit-facts dd { order: -1; font-size: var(--step-3); line-height: 1; letter-spacing: -0.015em; margin-bottom: .4rem; }
.unit-facts dt { font-size: var(--step--1); color: var(--muted); line-height: 1.3; }
@media (min-width: 768px) {
  .unit-hero { grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); column-gap: var(--col-gap); align-items: start; }
  .unit-intro { grid-column: 1 / 4; }
  .unit-photo { grid-column: 4 / 7; }
}
@media (min-width: 1024px) {
  .unit-intro { grid-column: 1 / 7; padding-top: clamp(0rem, -2rem + 4vw, 3rem); }
  .unit-photo { grid-column: 8 / 13; }
}

/* recorrido por nivel: cada nivel con su foto grande */
.tour { display: grid; gap: clamp(3rem, 2rem + 4vw, 6rem); margin-top: var(--block-y); scroll-margin-top: 1.5rem; }
.tour-item { display: grid; gap: 1.25rem; }
.tour-media { aspect-ratio: 3 / 2; }
.tour-media--pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; aspect-ratio: auto; background: none; border-radius: 0; overflow: visible; }
.tour-media--pair .media { aspect-ratio: 4 / 5; }
.tour-text .h2-sm { margin: .6rem 0 .6rem; }
.tour-text p:not(.level-tag) { max-width: var(--measure); }
.level-tag { display: flex; align-items: center; gap: .6rem; color: var(--clay); }
.level-mark { width: 21px; height: 18px; flex: none; fill: none; stroke: var(--line); stroke-width: 2; stroke-linecap: round; }
.level-mark .on { stroke: var(--clay); stroke-width: 2.5; }
@media (min-width: 768px) and (max-width: 1023px) {
  .tour-text { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); column-gap: var(--col-gap); }
  .tour-text > * { grid-column: 1 / 6; }
}
@media (min-width: 1024px) {
  .tour-item { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap); align-items: end; }
  .tour-media { grid-column: 1 / 8; grid-row: 1; }
  .tour-text { grid-column: 9 / 13; grid-row: 1; padding-bottom: .5rem; }
  .tour-item--flip .tour-media { grid-column: 6 / 13; }
  .tour-item--flip .tour-text { grid-column: 1 / 5; }
}

.unit-more { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2rem; margin-top: var(--block-y); padding-top: 2rem; border-top: 1px solid var(--line); }
.included { display: grid; gap: 1.25rem; }
.included-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 var(--col-gap); }
.included-list li { position: relative; padding: .6rem 0 .6rem 1.1rem; border-bottom: 1px solid var(--line); color: var(--ink); line-height: 1.4; }
.included-list li::before { content: ""; position: absolute; left: 0; top: calc(.6rem + .7em); width: .55rem; height: 1px; background: var(--clay); }
@media (max-width: 359px) { .included-list { grid-template-columns: 1fr; } }
.li-note { display: block; font-size: var(--step--1); color: var(--muted); line-height: 1.4; margin-top: 2px; }
@media (min-width: 1024px) {
  .included { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap); }
  .included .h2-sm { grid-column: 1 / 4; }
  .included-list { grid-column: 4 / 13; grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* planos detrás de un desplegable; legibles: nunca menos de ~12px de texto */
.plans { border-block: 1px solid var(--line); }
.plans-summary {
  display: grid; grid-template-columns: 1fr auto; align-items: center; column-gap: 1rem;
  padding: 1.1rem 0; min-height: 56px; cursor: pointer; list-style: none;
}
.plans-summary::-webkit-details-marker { display: none; }
.plans-summary__text { font-size: var(--step-2); line-height: 1.15; letter-spacing: -0.01em; }
.plans-summary__hint { grid-row: 2; color: var(--muted); font-size: var(--step--1); margin-top: .25rem; }
.plans-summary .chevron { grid-column: 2; grid-row: 1 / span 2; width: 28px; height: 28px; padding: 4px; border-radius: 999px; border: 1px solid var(--pine); color: var(--pine); transition: transform .25s var(--ease), background-color .15s var(--ease), color .15s var(--ease); }
.plans-summary:hover .chevron { background: var(--pine); color: var(--paper); }
.plans[open] .plans-summary .chevron { transform: rotate(180deg); }
.plans-summary:focus-visible { outline-offset: 4px; }
.plans-body { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2.5rem; padding: 1rem 0 2.5rem; }
.plan { min-width: 0; }
.plan-scroll { overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: thin; }
.plan-scroll:focus-visible { outline-offset: 2px; }
.plan svg { width: 100%; height: auto; overflow: visible; }
.plan svg text { font-size: 15px; }
.plan svg text[font-size="10.5"] { font-size: 13.5px; }
.plan figcaption { margin-top: .9rem; font-size: var(--step--1); color: var(--muted); line-height: 1.4; }
.plan figcaption span { display: block; color: var(--ink); margin-bottom: .15rem; }
.plans-note { font-size: var(--step--1); color: var(--muted); font-style: italic; }
.plan-pair { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2.5rem; }
@media (max-width: 767px) {
  /* en el teléfono, el plano conserva una escala legible y se desliza */
  .plan-scroll { margin-inline: calc(var(--gutter) * -1); padding: 4px var(--gutter) 12px; }
  .plan-corte svg { min-width: 660px; }
  .plan-baja svg { min-width: 620px; }
  .plan-alta svg { min-width: 380px; }
  .plan-scroll {
    -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 40px), transparent);
    mask-image: linear-gradient(to right, #000 calc(100% - 40px), transparent);
  }
  .plans-swipe { font-size: var(--step--1); color: var(--pine); font-weight: 600; margin-bottom: -1.25rem; }
}
@media (min-width: 768px) {
  .plans-swipe { display: none; }
  .plan-scroll { overflow: visible; }
  .plan-corte { max-width: 900px; }
  .plan-alta { max-width: 460px; }
}
@media (min-width: 1280px) {
  .plan-pair { grid-template-columns: 670fr 412fr; column-gap: clamp(3rem, 1rem + 4vw, 6rem); align-items: end; }
  .plan-alta { max-width: none; }
}

/* ---------- 4 · opiniones ---------- */
.reviews { display: grid; gap: 2.5rem; }
.reviews-head .h2 { margin: 0; }
.score { display: grid; gap: .75rem 2.5rem; }
.score-num { font-size: var(--step-5); line-height: .85; letter-spacing: -0.02em; }
.score-meta { color: var(--ink); font-weight: 500; margin-bottom: 1.25rem; }
.bars { display: grid; gap: .8rem; max-width: 24rem; }
.bars li { display: grid; grid-template-columns: 7.5rem 1fr 2rem; align-items: center; gap: 12px; font-size: var(--step--1); color: var(--body); }
.bars li span:last-child { text-align: right; font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; }
.bar { height: 2px; background: var(--line); position: relative; }
.bar::after { content: ""; position: absolute; inset: 0 auto 0 0; width: calc(var(--v) * 100%); background: var(--atlantic); }
.quote-featured blockquote p {
  font-family: var(--font-display); font-style: italic; font-size: var(--step-2);
  line-height: 1.3; color: var(--ink); letter-spacing: -0.01em; max-width: 24em; text-wrap: balance;
}
figcaption { font-size: var(--step--1); color: var(--body); margin-top: 1rem; }
.mosaic figcaption, .contact-photo figcaption { font-size: var(--step-0); }
.quote-row { display: grid; gap: 2rem var(--col-gap); }
.quote { padding-top: 1.25rem; border-top: 1px solid var(--line); display: flex; flex-direction: column; }
.quote figcaption { margin-top: auto; padding-top: 1rem; }
.quote blockquote p { color: var(--ink); line-height: 1.55; max-width: var(--measure); }
.reviews-link { margin-top: -1rem; }
@media (min-width: 768px) {
  .score { grid-template-columns: auto minmax(0, 24rem); align-items: end; }
  .score-meta { margin-bottom: 1rem; }
}
@media (min-width: 1024px) {
  .reviews { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap); row-gap: 3.5rem; }
  .reviews-head { grid-column: 1 / 7; align-self: end; }
  .score { grid-column: 7 / 13; align-self: end; grid-template-columns: auto minmax(0, 1fr); }
  .quote-featured { grid-column: 1 / 13; padding-top: 2.5rem; border-top: 1px solid var(--line); }
  .quote-row { grid-column: 1 / 13; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: -1rem; }
  .reviews-link { grid-column: 1 / 13; margin-top: -2rem; }
}

/* ---------- 5 · pinamar, antes de venir, preguntas ---------- */
.location { display: grid; gap: 2.5rem; }
.location-text .h2 { margin-bottom: 1.25rem; }
.location-text address { margin: 1.75rem 0; color: var(--ink); line-height: 1.6; padding-left: 1rem; border-left: 2px solid var(--clay); }
@media (min-width: 768px) {
  .location { grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); column-gap: var(--col-gap); align-items: start; }
  .location-text { grid-column: 1 / 4; }
  .map { grid-column: 4 / 7; margin-top: .25rem; }
}
@media (min-width: 1024px) {
  .location-text { grid-column: 1 / 6; }
  .map { grid-column: 7 / 13; margin-top: 0; }
}

.map { position: relative; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--r-photo); background: var(--sand); border: 1px solid var(--line); }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-facade { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; padding: 0; margin: 0; cursor: pointer; background: var(--sand); color: var(--pine); }
.map-art { position: absolute; inset: 0; width: 100%; height: 100%; }
.map-sea { fill: color-mix(in srgb, var(--atlantic) 16%, var(--sand)); }
.map-coast { fill: none; stroke: var(--atlantic); stroke-width: 1.25; opacity: .55; }
.map-street { fill: none; stroke: var(--paper); stroke-width: 9; stroke-linecap: round; }
.map-street--minor { stroke-width: 4; }
.map-route { fill: none; stroke: var(--clay); stroke-width: 2.4; stroke-dasharray: .5 6; stroke-linecap: round; }
.map-t { font-family: var(--font-text); font-size: 12px; font-weight: 600; letter-spacing: .03em; fill: var(--body); }
.map-t--route { fill: var(--clay); }
.map-t--sea { fill: var(--atlantic); text-transform: uppercase; letter-spacing: .24em; font-size: 10.5px; }
.map-pin path { fill: var(--pine); }
.map-pin circle { fill: var(--paper); }
.map-pin { transition: transform .3s var(--ease); }
.map-facade:hover .map-pin { transform: translateY(-3px); }
.map-label {
  position: absolute; left: 50%; bottom: 16px; transform: translateX(-50%);
  display: inline-flex; align-items: center; min-height: 40px; padding: 0 18px; white-space: nowrap;
  border-radius: 999px; background: var(--pine); color: var(--paper); font-weight: 600; font-size: .9375rem;
  transition: background-color .15s var(--ease);
}
.map-facade:hover .map-label { background: var(--pine-deep); }
.map-note { position: absolute; left: 12px; top: 10px; font-size: .75rem; color: var(--muted); letter-spacing: .02em; }
.map-facade:focus-visible { outline: 3px solid var(--atlantic); outline-offset: -6px; }
@media (max-width: 1023px) { .map-t { font-size: 17px; } .map-t--sea { font-size: 14px; } }
@media (min-width: 1024px) { .map-t { font-size: 10px; } .map-t--sea { font-size: 9px; } }

.pinamar-photo { margin-top: var(--block-y); }
.pinamar-photo .media { aspect-ratio: 4 / 3; }
.pinamar-photo figcaption { color: var(--muted); margin-top: .75rem; }
@media (min-width: 768px) { .pinamar-photo .media { aspect-ratio: 21 / 9; } }

.good-to-know { display: grid; gap: var(--block-y); margin-top: var(--block-y); }
.good-to-know .h2-sm { margin-bottom: 1.25rem; }
.info-list { display: grid; gap: 0 var(--col-gap); }
.info-list div { padding: 1rem 0; border-top: 1px solid var(--line); display: grid; gap: .25rem; align-content: start; }
.info-list dt { color: var(--muted); }
.info-list dd { color: var(--ink); line-height: 1.45; }
@media (min-width: 560px) { .info-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.faq-list details { border-top: 1px solid var(--line); }
.faq-list details:last-child { border-bottom: 1px solid var(--line); }
.faq-list summary {
  display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem;
  padding: 1rem 0; min-height: 44px; cursor: pointer; list-style: none;
  font-weight: 600; color: var(--ink); line-height: 1.45;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary .chevron { width: 20px; height: 20px; flex: none; margin-top: .15em; color: var(--pine); transition: transform .25s var(--ease); }
.faq-list details[open] summary .chevron { transform: rotate(180deg); }
.faq-list summary:hover span { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; text-decoration-color: color-mix(in srgb, var(--ink) 40%, transparent); }
.faq-list details p { padding: 0 2.25rem 1.25rem 0; max-width: var(--measure); }
#preguntas { scroll-margin-top: 1.5rem; }
.faq-list details p a, .guide-strip__text a {
  color: var(--pine); font-weight: 500; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px;
  text-decoration-color: color-mix(in srgb, var(--pine) 45%, transparent);
}
.faq-list details p a:hover { text-decoration-thickness: 2px; text-decoration-color: var(--pine); }

/* guía para tu estadía: links a las páginas internas */
.guide-strip { display: grid; gap: 1.5rem; margin-top: var(--block-y); padding-top: 2rem; border-top: 1px solid var(--line); scroll-margin-top: 1.5rem; }
.guide-strip .h2-sm { margin-bottom: .9rem; }
.guide-strip__text { max-width: var(--measure); }
.guide-strip .guide-links { display: grid; grid-template-columns: minmax(0, 1fr); column-gap: var(--col-gap); }
.guide-strip .guide-links li { border-bottom: 1px solid var(--line); }
.guide-strip .text-link {
  display: flex; justify-content: space-between; gap: 1rem; width: 100%; min-height: 56px; padding-block: .5rem;
  font-family: var(--font-display); font-weight: 400; font-size: var(--step-1); color: var(--ink); line-height: 1.25;
}
.guide-strip .text-link .tl-text { text-decoration-color: transparent; }
.guide-strip .text-link:hover .tl-text { text-decoration-color: var(--ink); text-decoration-thickness: 1px; }
.guide-strip .text-link .arrow { color: var(--clay); }
@media (max-width: 767px) { .guide-strip .guide-links li:first-child { border-top: 1px solid var(--line); } }
@media (min-width: 768px) and (max-width: 1023px) {
  .guide-strip .guide-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .guide-strip .guide-links li:nth-child(-n+2) { border-top: 1px solid var(--line); }
}
@media (min-width: 1024px) {
  .guide-strip { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap); align-items: start; }
  .guide-strip__head { grid-column: 1 / 6; }
  .guide-strip .guide-links { grid-column: 7 / 13; border-top: 1px solid var(--line); }
}
@media (min-width: 1024px) {
  .good-to-know { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap); align-items: start; }
  .before { grid-column: 1 / 6; }
  .faq { grid-column: 7 / 13; }
}

/* ---------- 6 · consultá (con la fachada de noche como cierre) ---------- */
.contact-grid { display: grid; gap: 2.5rem; }
.contact-head .h2 { margin-bottom: 1rem; }
.contact-photo .media { aspect-ratio: 4 / 5; background: #0f1d14; }
@media (max-width: 1023px) {
  .contact-grid > .form { order: 2; }
  .contact-photo { order: 3; }
}
.contact-photo figcaption { margin-top: 1rem; display: grid; gap: .35rem; }
.night-title { font-size: var(--step-2); line-height: 1.15; letter-spacing: -0.01em; }
.night-text { color: var(--body); max-width: var(--measure); }
@media (min-width: 768px) and (max-width: 1023px) {
  .contact-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); column-gap: var(--col-gap); }
  .contact-head, .form { grid-column: 1 / -1; }
  .contact-photo { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); column-gap: var(--col-gap); align-items: end; }
  .contact-photo .media { grid-column: 1 / 4; }
  .contact-photo figcaption { grid-column: 4 / 7; margin-top: 0; }
}
@media (min-width: 1024px) {
  .contact-grid { grid-template-columns: repeat(12, minmax(0, 1fr)); grid-template-rows: auto 1fr; column-gap: var(--col-gap); row-gap: 2.5rem; align-items: start; }
  .contact-head { grid-column: 1 / 7; grid-row: 1; }
  .form { grid-column: 1 / 7; grid-row: 2; }
  .contact-photo { grid-column: 8 / 13; grid-row: 1 / span 2; position: sticky; top: calc(var(--header-h) + 24px); }
  .contact-photo .media { width: 100%; aspect-ratio: 4 / 5; max-height: calc(100svh - var(--header-h) - 13rem); min-height: 320px; }
}

.form { display: grid; gap: 1.5rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-items: start; }
.field { position: relative; display: grid; gap: .5rem; align-content: start; min-width: 0; border: 0; padding: 0; margin: 0; }
.field label, .field .label, .field legend { font-size: .9375rem; font-weight: 600; color: var(--ink); padding: 0; }
.opt { font-weight: 400; color: var(--muted); }
.field input[type="date"], .field input[type="text"], .field textarea {
  width: 100%; min-height: 48px; padding: 10px 14px;
  background: var(--field); border: 1px solid var(--muted); border-radius: var(--r-card);
  color: var(--ink); font-size: 1rem; line-height: 1.4;
  transition: border-color .15s var(--ease), box-shadow .15s var(--ease);
  -webkit-appearance: none; appearance: none;
}
.field input[type="date"] { min-width: 0; }
.field input[type="date"]::-webkit-date-and-time-value { text-align: left; }
@supports (-webkit-touch-callout: none) {
  .field input[type="date"] {
    display: flex; align-items: center; padding-right: 40px;
    background: var(--field) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2324402F' stroke-width='1.8'%3E%3Crect x='3' y='5' width='18' height='16' rx='2'/%3E%3Cpath d='M3 10h18M8 3v4M16 3v4'/%3E%3C/svg%3E") no-repeat right 12px center / 20px;
  }
  .field input[type="date"].is-empty::before { content: "dd/mm/aaaa"; color: var(--muted); }
}
@media (max-width: 359px) {
  .field-row { gap: 8px; }
  .field input[type="date"] { padding-inline: 8px; }
}
.field textarea { resize: vertical; min-height: 96px; }
.field input:hover, .field textarea:hover { border-color: var(--ink); }
.field input:focus-visible, .field textarea:focus-visible { outline: 2px solid var(--atlantic); outline-offset: 2px; border-color: var(--atlantic); }
.stepper input:focus-visible { outline: none; }
.stepper:has(input:focus-visible) { outline: 2px solid var(--atlantic); outline-offset: 2px; }
::placeholder { color: var(--muted); opacity: 1; }
.field-error { color: var(--clay); font-size: .875rem; font-weight: 500; line-height: 1.35; }
.field-error:empty { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.nights { margin-top: -1rem; font-size: .875rem; color: var(--muted); }
.nights:empty { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.helper-dates { margin-top: -.75rem; }
.nights:not(:empty) + .helper-dates { margin-top: -1.25rem; }

.guests-note {
  margin-top: -.5rem; padding: .85rem 1rem; border-radius: var(--r-card);
  background: var(--sand); border: 1px solid var(--line);
  font-size: .9375rem; line-height: 1.5; color: var(--ink);
}
.guests-note:empty { position: absolute; width: 1px; height: 1px; padding: 0; border: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.stepper {
  display: grid; grid-template-columns: 44px 1fr 44px; align-items: center;
  min-height: 48px; background: var(--field);
  border: 1px solid var(--muted); border-radius: var(--r-card); padding: 1px;
}
.stepper button {
  width: 44px; height: 44px; border-radius: 6px; border: 0; background: transparent; color: var(--pine);
  display: grid; place-items: center; cursor: pointer; transition: background-color .15s var(--ease);
}
.stepper button:hover:not([aria-disabled="true"]) { background: var(--sand); }
.stepper input {
  width: 100%; border: 0; background: transparent; text-align: center; padding: 0;
  font-family: var(--font-display); font-size: 1.375rem; color: var(--ink);
  -moz-appearance: textfield; appearance: textfield; pointer-events: none;
}
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.preview { background: var(--sand); border-radius: var(--r-card); padding: 1.25rem 1.25rem 1.35rem; border: 1px solid var(--line); }
.preview-label { color: var(--clay); margin-bottom: .6rem; }
.preview-text { white-space: pre-line; color: var(--ink); font-size: .9375rem; line-height: 1.6; max-width: var(--measure); }

.form-actions { display: grid; gap: 12px; }
@media (min-width: 560px) { .form-actions { grid-template-columns: auto auto; justify-content: start; } }
.helper { font-size: .875rem; color: var(--muted); margin-top: -.5rem; max-width: var(--measure); }
.form-status { font-size: .9375rem; color: var(--pine); font-weight: 600; }
.form-status:empty { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* ---------- footer ---------- */
.site-footer { background: var(--pine); color: var(--lichen); padding: clamp(3.5rem, 3rem + 3vw, 6rem) 0 1.5rem; }
.site-footer a { color: var(--paper); text-decoration-color: color-mix(in srgb, var(--paper) 40%, transparent); text-underline-offset: 4px; }
.site-footer a:hover { text-decoration-color: var(--paper); }
.footer-grid { display: grid; gap: 2.5rem; padding-bottom: 3rem; border-bottom: 1px solid color-mix(in srgb, var(--lichen) 25%, transparent); }
.footer-claim { margin-top: 1.5rem; font-family: var(--font-display); font-style: italic; font-size: var(--step-1); color: var(--paper); }
.footer-sub { margin-top: .25rem; color: var(--lichen); }
.footer-label { color: var(--lichen); margin-bottom: .6rem; }
.footer-col p:not(.footer-label) { color: var(--paper); line-height: 1.6; }
/* mismo renglón base en las dos columnas: el área táctil crece con padding, no con flex */
.footer-col a { display: inline-block; padding-block: 10px; margin-block: -10px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 4px 12px; padding-top: 1rem; font-size: var(--step--1); }
.footer-top { display: inline-flex; align-items: center; gap: .4em; min-height: 44px; text-decoration: none; }
.footer-top__text { text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--paper) 40%, transparent); text-underline-offset: 4px; }
.footer-top:hover .footer-top__text { text-decoration-color: var(--paper); }
/* guías en el footer: links de todo el sitio a cada página interna */
.footer-guides .guide-links { display: grid; margin-top: -10px; }
.footer-guides .guide-links a { color: var(--paper); line-height: 1.5; padding-block: 10px; margin-block: 0; }
.footer-guides .guide-links a[aria-current="page"] { text-decoration: none; color: var(--lichen); }
@media (min-width: 768px) { .footer-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); column-gap: var(--col-gap); } }
@media (min-width: 768px) and (max-width: 1023px) {
  .footer-brand { grid-column: 1 / -1; }
  .footer-guides { grid-column: 1 / 4; grid-row: 2 / span 2; }
  .footer-where, .footer-contact { grid-column: 4 / 7; }
}
@media (min-width: 1024px) {
  .footer-grid { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / 4; }
  .footer-guides { grid-column: 4 / 7; }
  .footer-where { grid-column: 7 / 9; }
  .footer-contact { grid-column: 9 / 13; }
}
@media (min-width: 1280px) {
  .footer-brand { grid-column: 1 / 5; }
  .footer-guides { grid-column: 5 / 8; }
  .footer-where { grid-column: 8 / 10; }
  .footer-contact { grid-column: 10 / 13; }
}

/* ---------- sticky mobile CTA ---------- */
.sticky-cta { display: none; }
@media (max-width: 767px) {
  .sticky-cta {
    position: fixed; left: 16px; right: 16px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 40;
    display: flex; align-items: center; justify-content: center; gap: .6em;
    max-width: 440px; margin-inline: auto;
    min-height: 56px; border-radius: 999px; background: var(--pine); color: var(--paper);
    font-weight: 600; text-decoration: none;
    box-shadow: 0 6px 24px rgb(28 38 32 / .18), 0 0 0 1px rgb(250 247 241 / .16);
  }
  .sticky-cta:focus-visible { outline: 2px solid var(--atlantic); outline-offset: 3px; }
  html { scroll-padding-bottom: calc(84px + env(safe-area-inset-bottom)); }
  /* hidden/visible state lives in components.css (driven by main.js) */
  body.nav-open .sticky-cta { opacity: 0; pointer-events: none; }
}
@media (prefers-reduced-motion: reduce) {
  .media img { transition: none; }
}
