/* =========================================================
   Quinta La Paloma — Mockup v0.1
   Tokens → base → layout → componentes → páginas → estados
   ========================================================= */

:root {
  /* Paleta de marca (manual de identidad QLP)
     Oficiales: #907935 (Pantone 105 C) · #C8D5A2 (Pantone 7493 C).
     Derivados para web: tonos más oscuros del oliva para texto y botones (contraste AA). */
  --brand: #907935;
  --sage: #C8D5A2;
  --bg: #F5F4EE;
  --cream: #ECEDE1;
  --sand: #DCDCC6;
  --line: #E0DFD0;
  --olive: #776427;
  --olive-600: #65551F;
  --olive-deep: #433915;
  --olive-tint: #E4EACF;
  --earth: #776427;
  --ink: #2B2A20;
  --muted: #67654F;
  --white: #FFFFFF;

  --warn: #8A5A0E;
  --warn-bg: #FBF0D9;
  --warn-dot: #D49A2A;
  --error: #96402A;
  --error-bg: #F7E4DC;
  --ok: #46612F;
  --ok-bg: #EAEFDF;

  /* Manual: Cabana (display, en el logo) + Gill Sans (titulares y textos).
     Web: Gill Sans si está instalada; si no, Cabin (Google Fonts, de la misma familia humanista).
     Para la versión final: licencia web de Gill Sans (Monotype) o quedarse con Cabin. */
  --f-display: "Gill Sans", "Gill Sans MT", "Cabin", "Trebuchet MS", sans-serif;
  --f-body: "Gill Sans", "Gill Sans MT", "Cabin", "Trebuchet MS", sans-serif;

  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 20px;
  --shadow: 0 1px 2px rgba(38, 38, 31, .04), 0 8px 24px rgba(38, 38, 31, .06);
  --shadow-lg: 0 2px 4px rgba(38, 38, 31, .05), 0 18px 48px rgba(38, 38, 31, .12);

  --gutter: 20px;
  --maxw: 1180px;
  --header-h: 68px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 16px/1.6 var(--f-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--f-display); font-weight: 400; line-height: 1.1; margin: 0; letter-spacing: -0.01em; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--olive); outline-offset: 3px; border-radius: 6px; }
.sr-only { 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 { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: var(--white); padding: 10px 14px; border-radius: 8px; }
.skip:focus { top: 12px; }
.icon { width: 20px; height: 20px; flex: none; stroke: currentColor; fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: 72px; }
.section--cream { background: var(--cream); }
.section-head { display: grid; gap: 12px; margin-bottom: 36px; max-width: 640px; }
.eyebrow { font: 600 12px/1.2 var(--f-body); letter-spacing: .16em; text-transform: uppercase; color: var(--earth); }
.h-xl { font-size: clamp(2.6rem, 8vw, 5rem); }
.h-lg { font-size: clamp(2rem, 5vw, 3.2rem); }
.h-md { font-size: clamp(1.5rem, 3vw, 2rem); }
.lead { font-size: 1.125rem; color: var(--muted); max-width: 56ch; }
@media (min-width: 768px) {
  :root { --gutter: 32px; }
  .section { padding-block: 112px; }
}

/* ---------- Etiquetas DEMO / PENDIENTE ---------- */
.tag {
  display: inline-flex; align-items: center; gap: 4px;
  font: 700 10px/1 var(--f-body); letter-spacing: .1em; text-transform: uppercase;
  padding: 4px 7px; border-radius: 999px; vertical-align: middle; white-space: nowrap;
}
.tag--demo { background: #EDE3F7; color: #5B3A82; }
.tag--pending { background: var(--warn-bg); color: var(--warn); border: 1px dashed #DDB66A; }
.pending { color: var(--warn); font-style: italic; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 24px; border-radius: 999px; border: 1px solid transparent;
  font-weight: 600; font-size: 15px; text-decoration: none; cursor: pointer;
  transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease);
}
.btn:active { transform: scale(.98); }
.btn--primary { background: var(--olive); color: var(--white); }
.btn--primary:hover { background: var(--olive-600); }
.btn--ghost { border-color: currentColor; background: transparent; }
.btn--ghost:hover { background: rgba(255, 255, 255, .12); }
.btn--light { background: var(--bg); color: var(--ink); }
.btn--light:hover { background: var(--white); }
.btn--outline { border-color: var(--line); background: var(--white); color: var(--ink); }
.btn--outline:hover { border-color: var(--ink); }
.btn--block { width: 100%; }
.btn--sm { min-height: 40px; padding: 0 16px; font-size: 14px; }
.btn[aria-disabled="true"], .btn:disabled { opacity: .5; cursor: not-allowed; }
.link-arrow { white-space: nowrap; display: inline-flex; align-items: center; gap: 6px; font-weight: 600; text-decoration: none; color: var(--olive-deep); }
.link-arrow .icon { transition: transform .25s var(--ease); }
.link-arrow:hover .icon { transform: translateX(4px); }

/* ---------- Placeholders de foto ---------- */
.ph {
  position: relative; overflow: hidden; background-color: var(--sand);
  background-image:
    radial-gradient(120% 80% at 80% 10%, rgba(255, 244, 222, .75), transparent 55%),
    linear-gradient(180deg, transparent 55%, rgba(59, 69, 39, .35)),
    var(--ph-base, linear-gradient(160deg, #CFC3A6, #9EA383));
}
.ph::after { /* colinas suaves */
  content: ""; position: absolute; inset: auto -10% -2% -10%; height: 46%;
  background:
    radial-gradient(60% 100% at 25% 100%, rgba(59, 69, 39, .55) 60%, transparent 61%),
    radial-gradient(70% 90% at 80% 100%, rgba(76, 89, 49, .45) 60%, transparent 61%);
  pointer-events: none;
}
.ph--pool   { --ph-base: linear-gradient(165deg, #D9E0D3, #8FA79B 60%, #6F8A7E); }
.ph--room   { --ph-base: linear-gradient(160deg, #EFE5D4, #CDB89A 70%, #A88F6E); }
.ph--dusk   { --ph-base: linear-gradient(170deg, #F2D6B3, #C99872 55%, #7C6447); }
.ph--garden { --ph-base: linear-gradient(160deg, #DCE0C4, #A3AC7C 60%, #6D7A46); }
.ph--detail { --ph-base: linear-gradient(150deg, #F1E9DC, #D6C3A5); }
.ph--room::after, .ph--detail::after { opacity: .35; }
.ph__label {
  position: absolute; left: 12px; bottom: 12px; z-index: 1; max-width: calc(100% - 24px);
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(251, 248, 243, .9); color: var(--ink); backdrop-filter: blur(4px);
  font-size: 11px; line-height: 1.3; padding: 6px 9px; border-radius: 8px;
}
.ph__label b { font-weight: 700; letter-spacing: .06em; text-transform: uppercase; font-size: 10px; color: var(--warn); }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--header-h);
  display: flex; align-items: center; color: var(--white);
  transition: background .3s var(--ease), color .3s var(--ease), box-shadow .3s var(--ease);
}
.header.is-solid, .header--solid { background: rgba(251, 248, 243, .94); color: var(--ink); backdrop-filter: blur(10px); box-shadow: 0 1px 0 var(--line); }
.header__inner { display: flex; align-items: center; gap: 16px; }
.logo { display: inline-flex; align-items: center; text-decoration: none; margin-right: auto; }
.logo img { height: 54px; width: auto; display: block; }
.logo .logo__on-light { display: none; }
.header.is-solid .logo__on-photo, .header--solid .logo__on-photo { display: none; }
.header.is-solid .logo__on-light, .header--solid .logo__on-light { display: block; }
.footer .logo img { height: 72px; }
.nav { display: none; gap: 28px; }
.nav a { text-decoration: none; font-size: 15px; opacity: .9; position: relative; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
.nav a:hover::after { transform: scaleX(1); }
.header .btn--primary { display: none; }
.icon-btn { width: 44px; height: 44px; display: inline-grid; place-items: center; border-radius: 999px; border: 1px solid transparent; background: transparent; cursor: pointer; text-decoration: none; }
.icon-btn:hover { background: rgba(127, 127, 127, .12); }
.menu-panel { position: fixed; inset: var(--header-h) 0 auto 0; background: var(--bg); color: var(--ink); padding: 12px var(--gutter) 28px; box-shadow: var(--shadow-lg); display: none; }
.menu-panel.is-open { display: grid; }
.menu-panel a { padding: 14px 0; border-bottom: 1px solid var(--line); text-decoration: none; font: 400 22px/1.2 var(--f-display); }
@media (min-width: 960px) {
  .nav { display: flex; }
  .header .btn--primary { display: inline-flex; }
  .js-menu, .header .icon-btn--wa { display: none; }
}

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 88svh; display: flex; align-items: flex-end; color: var(--white); }
.hero .ph { position: absolute; inset: 0; }
.hero .ph::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(20, 22, 14, .35) 0%, transparent 30%, transparent 45%, rgba(20, 22, 14, .55) 100%); }
.hero .ph__label { left: auto; right: 12px; top: calc(var(--header-h) + 8px); bottom: auto; z-index: 2; }
.hero__content { position: relative; z-index: 2; padding-bottom: 56px; display: grid; gap: 20px; }
.hero__content .eyebrow { color: var(--cream); display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.hero h1 { max-width: 12ch; }
.hero h1 em { font-style: italic; font-weight: 300; }
.hero p { max-width: 44ch; font-size: 1.1rem; opacity: .92; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
@media (max-width: 479px) { .hero__ctas .btn { flex: 1 1 100%; } }
.scroll-cue { position: absolute; z-index: 2; right: var(--gutter); bottom: 56px; display: none; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; writing-mode: vertical-rl; opacity: .8; }
@media (min-width: 768px) { .scroll-cue { display: block; } .hero__content { padding-bottom: 88px; } }

/* ---------- Tarjeta de alojamiento ---------- */
.units-grid { display: grid; gap: 28px; }
@media (min-width: 680px) { .units-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .units-grid { grid-template-columns: repeat(3, 1fr); } }
.unit-card { display: flex; flex-direction: column; background: var(--white); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow); text-decoration: none; transition: box-shadow .3s var(--ease), transform .3s var(--ease); }
.unit-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.unit-card__media { aspect-ratio: 4 / 3; overflow: hidden; position: relative; }
.unit-card__media .ph { position: absolute; inset: 0; transition: transform .8s var(--ease); }
.unit-card:hover .unit-card__media .ph { transform: scale(1.04); }
.unit-card__media .tag { position: absolute; top: 12px; left: 12px; z-index: 1; }
.unit-card__body { padding: 22px 22px 20px; display: grid; gap: 14px; flex: 1; }
.unit-card__title { display: grid; gap: 4px; }
.unit-card__title h3 { font-size: 1.6rem; }
.unit-card__type { font-size: 14px; color: var(--muted); }
.specs { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 14px; color: var(--ink); }
.specs li { display: inline-flex; align-items: center; gap: 6px; }
.specs .icon { width: 18px; height: 18px; color: var(--olive); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { font-size: 13px; padding: 5px 10px; border-radius: 999px; background: var(--cream); color: var(--muted); }
.unit-card__foot { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; }
.price-from { display: grid; gap: 2px; }
.price-from small { font-size: 12px; color: var(--muted); }
.price-from strong { font: 500 1.25rem/1.1 var(--f-display); }
.price-from strong span { font: 400 13px var(--f-body); color: var(--muted); }
ul.clean { list-style: none; margin: 0; padding: 0; }

/* ---------- La quinta ---------- */
.intro { display: grid; gap: 32px; }
.intro__statement { font: 300 clamp(1.8rem, 4.4vw, 3rem)/1.18 var(--f-display); }
.intro__statement em { color: var(--earth); }
.intro__side { display: grid; gap: 24px; align-content: start; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; border-top: 1px solid var(--line); padding-top: 20px; }
.facts dt { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; }
.facts dd { margin: 6px 0 0; font: 400 1.3rem/1.2 var(--f-display); }
@media (min-width: 900px) { .intro { grid-template-columns: 1.3fr 1fr; gap: 72px; } }
.mosaic { margin-top: 56px; display: grid; gap: 12px; grid-template-columns: 1fr 1fr; grid-auto-rows: 160px; }
.mosaic figure { margin: 0; border-radius: var(--r-md); overflow: hidden; position: relative; }
.mosaic figure .ph { position: absolute; inset: 0; }
.mosaic figure:first-child { grid-column: span 2; grid-row: span 2; }
@media (min-width: 768px) {
  .mosaic { grid-template-columns: 2fr 1fr 1fr; grid-auto-rows: 220px; }
  .mosaic figure:first-child { grid-column: 1; grid-row: span 2; }
  .mosaic figure:nth-child(4) { grid-column: span 2; }
}
.amenities { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 16px; }
.amenities li { display: flex; align-items: center; gap: 12px; font-size: 15px; }
.amenities .icon { width: 22px; height: 22px; color: var(--olive); }
.amenities--boxed { margin-top: 48px; padding: 28px; background: var(--white); border-radius: var(--r-lg); }
@media (min-width: 768px) { .amenities--boxed { grid-template-columns: repeat(4, 1fr); } }
.amenities-head { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 4px; }

/* ---------- Ubicación ---------- */
.location { display: grid; gap: 32px; align-items: center; }
@media (min-width: 900px) { .location { grid-template-columns: 1.2fr 1fr; gap: 64px; } }
.map {
  aspect-ratio: 4 / 3; border-radius: var(--r-lg); position: relative; overflow: hidden;
  background:
    linear-gradient(90deg, rgba(92, 107, 60, .08) 1px, transparent 1px) 0 0 / 32px 32px,
    linear-gradient(0deg, rgba(92, 107, 60, .08) 1px, transparent 1px) 0 0 / 32px 32px,
    radial-gradient(60% 50% at 30% 70%, #DCE0C4, transparent),
    var(--cream);
}
.map::before { content: ""; position: absolute; left: -10%; right: -10%; top: 58%; height: 10px; background: var(--white); transform: rotate(-12deg); box-shadow: 0 0 0 1px var(--line); }
.map__pin { position: absolute; left: 54%; top: 40%; transform: translate(-50%, -100%); display: grid; justify-items: center; gap: 6px; }
.map__pin span { width: 44px; height: 44px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--olive); box-shadow: var(--shadow-lg); display: grid; place-items: center; }
.map__pin span::after { content: ""; width: 14px; height: 14px; border-radius: 50%; background: var(--bg); }
.map .ph__label { z-index: 2; }
.info-list { display: grid; gap: 0; margin: 24px 0 28px; }
.info-list li { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.info-list .icon { color: var(--olive); margin-top: 2px; }
.info-list strong { display: block; font-weight: 600; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 0; font: 400 1.25rem/1.3 var(--f-display); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { transition: transform .3s var(--ease); color: var(--olive); }
.faq details[open] summary .icon { transform: rotate(45deg); }
.faq details > div { padding: 0 0 22px; color: var(--muted); max-width: 64ch; display: grid; gap: 8px; }

/* ---------- CTA final + footer ---------- */
.cta-band { background: var(--olive-deep); color: var(--cream); text-align: center; }
.cta-band .container { display: grid; justify-items: center; gap: 20px; }
.cta-band p { opacity: .85; max-width: 46ch; }
.cta-band .hero__ctas { justify-content: center; }
.footer { background: var(--ink); color: #CFCABD; padding: 64px 0 32px; font-size: 14px; }
.footer__grid { display: grid; gap: 36px; }
@media (min-width: 768px) { .footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.footer h4 { font: 600 12px/1 var(--f-body); letter-spacing: .14em; text-transform: uppercase; color: var(--white); margin-bottom: 14px; }
.footer ul { display: grid; gap: 8px; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--white); }
.footer .logo { color: var(--white); margin-bottom: 14px; }
.footer__bottom { margin-top: 48px; padding-top: 20px; border-top: 1px solid #3A3A31; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; color: #8E897C; }

.fab {
  position: fixed; right: 18px; bottom: 18px; z-index: 40; width: 58px; height: 58px; border-radius: 999px;
  display: grid; place-items: center; background: var(--olive); color: var(--white); box-shadow: var(--shadow-lg); text-decoration: none;
  transition: transform .25s var(--ease);
}
.fab:hover { transform: scale(1.06); }
.fab .icon { width: 26px; height: 26px; }

/* ---------- Detalle: galería ---------- */
.detail-top { padding-top: calc(var(--header-h) + 16px); }
.back { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; color: var(--muted); text-decoration: none; margin-bottom: 16px; }
.back:hover { color: var(--ink); }
.gallery { display: flex; gap: 8px; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scrollbar-width: none; position: relative; }
.gallery::-webkit-scrollbar { display: none; }
.gallery figure { margin: 0; flex: 0 0 88%; aspect-ratio: 4 / 3; scroll-snap-align: center; border-radius: var(--r-md); overflow: hidden; position: relative; }
.gallery figure .ph { position: absolute; inset: 0; }
.gallery-wrap { position: relative; }
.gallery-count { position: absolute; right: 12px; top: 12px; z-index: 2; background: rgba(38, 38, 31, .7); color: var(--white); font-size: 12px; padding: 4px 10px; border-radius: 999px; }
.gallery-all { display: none; }
@media (min-width: 768px) {
  .gallery { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 220px 220px; overflow: visible; margin: 0; padding: 0; border-radius: var(--r-lg); overflow: hidden; }
  .gallery figure { aspect-ratio: auto; border-radius: 0; }
  .gallery figure:first-child { grid-row: span 2; }
  .gallery figure:nth-child(n+6) { display: none; }
  .gallery-count { display: none; }
  .gallery-all { display: inline-flex; position: absolute; right: 16px; bottom: 16px; z-index: 3; }
}
@media (min-width: 1100px) { .gallery { grid-template-rows: 260px 260px; } }

/* ---------- Detalle: layout ---------- */
.detail-head { display: grid; gap: 10px; padding-block: 28px 8px; }
.detail-head h1 { font-size: clamp(2.2rem, 6vw, 3.6rem); }
.detail-head .specs { font-size: 15px; }
.detail-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; padding-bottom: 96px; }
.detail-main { min-width: 0; }
.detail-main > section { padding-block: 32px; border-top: 1px solid var(--line); }
.detail-main > section:first-child { border-top: 0; padding-top: 8px; }
.detail-main h2 { font-size: 1.75rem; margin-bottom: 18px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.detail-main .lead { color: var(--ink); opacity: .85; }
@media (min-width: 1024px) {
  .detail-layout { grid-template-columns: minmax(0, 1fr) 400px; gap: 64px; align-items: start; }
  .booking-col { position: sticky; top: calc(var(--header-h) + 20px); }
}
.rates { width: 100%; border-collapse: collapse; font-size: 15px; }
.rates th, .rates td { text-align: left; padding: 13px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.rates th { font-weight: 400; color: var(--muted); }
.rates td { text-align: right; font-weight: 600; white-space: nowrap; }
.rates small { display: block; font-size: 12px; color: var(--muted); font-weight: 400; }
.rules { display: grid; gap: 12px; grid-template-columns: 1fr 1fr; }
.rules li { background: var(--cream); border-radius: var(--r-md); padding: 14px 16px; font-size: 14px; }
.rules strong { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 600; margin-bottom: 4px; }

/* ---------- Banner de sincronización ---------- */
.sync { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border-radius: var(--r-md); font-size: 14px; margin-bottom: 18px; }
.sync .icon { margin-top: 1px; }
.sync p { flex: 1; }
.sync strong { font-weight: 600; }
.sync .btn { min-height: 34px; padding: 0 12px; font-size: 13px; }
.sync--ok { background: var(--ok-bg); color: var(--ok); }
.sync--loading { background: var(--cream); color: var(--muted); }
.sync--partial { background: var(--warn-bg); color: var(--warn); }
.sync--error { background: var(--error-bg); color: var(--error); }
.spin { animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Calendario ---------- */
.cal { position: relative; background: var(--white); border-radius: var(--r-lg); padding: 18px 14px 16px; box-shadow: var(--shadow); }
.cal__nav { position: absolute; top: 18px; left: 14px; right: 14px; display: flex; justify-content: space-between; pointer-events: none; z-index: 2; }
.cal__nav button { pointer-events: auto; }
.cal__nav .icon-btn { border-color: var(--line); }
.cal__nav .icon-btn:disabled { opacity: .35; cursor: default; }
.cal__months { display: grid; gap: 28px; }
.cal__month:nth-child(2) { display: none; }
@media (min-width: 640px) {
  .cal { padding: 22px 24px 20px; }
  .cal__nav { top: 22px; left: 24px; right: 24px; }
  .cal__months { grid-template-columns: 1fr 1fr; }
  .cal__month:nth-child(2) { display: block; }
}
.cal__title { text-align: center; font: 400 1.15rem/1 var(--f-display); text-transform: capitalize; height: 44px; display: grid; place-items: center; margin: 0 0 10px; }
.cal__grid { display: grid; grid-template-columns: repeat(7, 1fr); row-gap: 4px; }
.cal__dow { text-align: center; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); padding-bottom: 8px; }
.day {
  --size: 44px;
  position: relative; height: var(--size); border: 0; background: transparent; padding: 0; cursor: pointer;
  display: grid; place-items: center; font-size: 15px; font-variant-numeric: tabular-nums;
}
.day span { width: var(--size); height: var(--size); max-width: 100%; display: grid; place-items: center; border-radius: 999px; position: relative; z-index: 1; transition: background .15s var(--ease), color .15s var(--ease); }
.day:hover:not(:disabled) span { background: var(--cream); }
.day.is-today span { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; font-weight: 600; }
.day.is-past { color: #C3BDB0; cursor: default; }
.day.is-busy { cursor: not-allowed; }
.day.is-busy span { color: #A7A193; text-decoration: line-through; text-decoration-color: rgba(107, 103, 92, .6); }
.day.is-busy::before { content: ""; position: absolute; inset: 3px 1px; border-radius: 8px; background: repeating-linear-gradient(-45deg, var(--cream) 0 5px, #EDE5D7 5px 10px); }
.day.is-checkout-only { cursor: pointer; }
.day.is-checkout-only span { color: var(--olive-deep); text-decoration: none; outline: 1.5px dashed var(--olive); outline-offset: -4px; }
.day.is-unverified span::after { content: ""; position: absolute; bottom: 5px; left: 50%; width: 5px; height: 5px; margin-left: -2.5px; border-radius: 50%; background: var(--warn-dot); }
.day.is-dim { opacity: .4; }
.day.is-range::before { content: ""; position: absolute; inset: 3px 0; background: var(--olive-tint); }
.day.is-start::before, .day.is-end::before { content: ""; position: absolute; inset: 3px 0; background: var(--olive-tint); }
.day.is-start::before { left: 50%; }
.day.is-end::before { right: 50%; }
.day.is-start.is-end::before, .day.is-start:not(.has-range)::before { display: none; }
.day.is-start span, .day.is-end span { background: var(--olive) !important; color: var(--white) !important; font-weight: 600; text-decoration: none; outline: 0; }
.day.is-start span::after, .day.is-end span::after { background: var(--white); }
.cal.is-loading .day span { color: transparent; background: linear-gradient(90deg, var(--cream) 0%, #FBF7F0 50%, var(--cream) 100%) 0 0 / 200% 100%; animation: shimmer 1.2s linear infinite; }
.cal.is-loading .day::before { display: none; }
@keyframes shimmer { to { background-position: -200% 0; } }
.cal__foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 16px; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); }
.cal__hint { font-size: 14px; font-weight: 600; color: var(--olive-deep); }
.text-btn { border: 0; background: none; padding: 6px 0; font-size: 14px; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; color: var(--muted); }
.legend { display: flex; flex-wrap: wrap; gap: 10px 18px; margin-top: 14px; font-size: 13px; color: var(--muted); }
.legend li { display: inline-flex; align-items: center; gap: 8px; }
.sw { width: 18px; height: 18px; border-radius: 6px; display: inline-block; position: relative; flex: none; }
.sw--free { background: var(--white); box-shadow: inset 0 0 0 1px var(--line); }
.sw--busy { background: repeating-linear-gradient(-45deg, var(--cream) 0 4px, #E6DCCB 4px 8px); }
.sw--sel { background: var(--olive); border-radius: 999px; }
.sw--range { background: var(--olive-tint); }
.sw--unv { background: var(--white); box-shadow: inset 0 0 0 1px var(--line); }
.sw--unv::after { content: ""; position: absolute; left: 50%; top: 50%; width: 6px; height: 6px; margin: -3px 0 0 -3px; border-radius: 50%; background: var(--warn-dot); }
.sw--out { background: var(--white); outline: 1.5px dashed var(--olive); outline-offset: -3px; border-radius: 999px; }

.demo-box { margin-top: 18px; border: 1px dashed #B79BD8; background: #F7F2FC; border-radius: var(--r-md); padding: 12px 14px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 13px; color: #5B3A82; }
.demo-box select { padding: 8px 10px; border-radius: 8px; border: 1px solid #CDB8E6; background: var(--white); }

/* ---------- Tarjeta de reserva ---------- */
.booking { background: var(--white); border-radius: var(--r-lg); box-shadow: var(--shadow-lg); padding: 22px; display: grid; gap: 18px; }
.booking__head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.booking__head h2 { font-size: 1.5rem; white-space: nowrap; }
.booking__head .price-from strong { font-size: 1.1rem; }
.price-from strong, .summary__total strong { white-space: nowrap; }
.dates { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; }
.dates button { border: 0; background: transparent; text-align: left; padding: 10px 14px; cursor: pointer; display: grid; gap: 2px; min-height: 60px; }
.dates button + button { border-left: 1px solid var(--line); }
.dates button:hover { background: var(--bg); }
.dates small { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.dates span { font-size: 15px; }
.dates span.is-empty { color: #A7A193; }
.guests { display: grid; gap: 4px; }
.guest-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 0; }
.guest-row > div:first-child { display: grid; }
.guest-row small { font-size: 13px; color: var(--muted); }
.stepper { display: flex; align-items: center; gap: 12px; }
.stepper button { width: 40px; height: 40px; border-radius: 999px; border: 1px solid var(--line); background: var(--white); display: grid; place-items: center; cursor: pointer; }
.stepper button:hover:not(:disabled) { border-color: var(--ink); }
.stepper button:disabled { opacity: .35; cursor: not-allowed; }
.stepper output { min-width: 20px; text-align: center; font-weight: 600; font-variant-numeric: tabular-nums; }
.cap-note { font-size: 13px; color: var(--muted); }

.summary { background: var(--bg); border-radius: var(--r-md); padding: 16px; display: grid; gap: 10px; font-size: 14px; }
.summary__title { display: flex; justify-content: space-between; align-items: center; font-weight: 600; font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.summary__line { display: flex; justify-content: space-between; gap: 12px; }
.summary__line small { display: block; color: var(--muted); font-size: 12.5px; }
.summary__line strong { font-weight: 500; white-space: nowrap; font-variant-numeric: tabular-nums; }
.summary__total { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; border-top: 1px solid var(--line); padding-top: 12px; margin-top: 2px; }
.summary__total span { font-weight: 600; }
.summary__total strong { font: 500 1.6rem/1 var(--f-display); font-variant-numeric: tabular-nums; }
.summary__empty { color: var(--muted); display: grid; gap: 8px; }
.skel { height: 10px; border-radius: 6px; background: var(--cream); }
.notice { display: flex; gap: 10px; font-size: 13px; line-height: 1.45; padding: 10px 12px; border-radius: var(--r-sm); }
.notice .icon { width: 18px; height: 18px; margin-top: 1px; }
.notice--info { background: var(--olive-tint); color: var(--olive-deep); }
.notice--warn { background: var(--warn-bg); color: var(--warn); }
.notice--error { background: var(--error-bg); color: var(--error); }

.form { display: grid; gap: 12px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.field { display: grid; gap: 6px; }
.field label { font-size: 13px; font-weight: 600; }
.field input { width: 100%; min-height: 48px; padding: 0 14px; border-radius: var(--r-sm); border: 1px solid var(--line); background: var(--white); font-size: 16px; }
.field input:focus { outline: 2px solid var(--olive); outline-offset: 0; border-color: transparent; }
.field input[aria-invalid="true"] { border-color: var(--error); background: #FFF9F7; }
.field .err { font-size: 12.5px; color: var(--error); min-height: 0; }
.fine { font-size: 12.5px; color: var(--muted); text-align: center; line-height: 1.45; }

/* Barra inferior móvil */
.bookbar {
  position: fixed; inset: auto 0 0 0; z-index: 45; background: var(--white); border-top: 1px solid var(--line);
  box-shadow: 0 -8px 24px rgba(38, 38, 31, .08); padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  transform: translateY(0); transition: transform .3s var(--ease);
}
.bookbar.is-hidden { transform: translateY(110%); }
.bookbar__info { display: grid; line-height: 1.25; }
.bookbar__info strong { font: 500 1.15rem var(--f-display); }
.bookbar__info small { color: var(--muted); font-size: 13px; }
.bookbar .btn { min-height: 46px; }
body[data-page="detail"] { padding-bottom: 76px; }
@media (min-width: 1024px) { .bookbar { display: none; } body[data-page="detail"] { padding-bottom: 0; } }

/* Modal de WhatsApp */
dialog.wa { border: 0; padding: 0; border-radius: var(--r-lg); width: min(520px, calc(100% - 24px)); box-shadow: var(--shadow-lg); background: var(--bg); color: var(--ink); }
dialog.wa::backdrop { background: rgba(20, 22, 14, .5); backdrop-filter: blur(2px); }
.wa__head { display: flex; justify-content: space-between; align-items: center; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.wa__head h2 { font-size: 1.35rem; }
.wa__body { padding: 20px; display: grid; gap: 14px; }
.wa__bubble { background: #DCF2C8; color: #1E2A17; border-radius: 14px 14px 4px 14px; padding: 14px 16px; white-space: pre-wrap; font-size: 14px; line-height: 1.5; box-shadow: 0 1px 1px rgba(0, 0, 0, .06); max-height: 46vh; overflow: auto; }
.wa__actions { display: grid; gap: 10px; }
@media (min-width: 480px) { .wa__actions { grid-template-columns: 1fr 1fr; } }

.toast { position: fixed; left: 50%; bottom: 96px; z-index: 70; transform: translate(-50%, 16px); opacity: 0; pointer-events: none; background: var(--ink); color: var(--white); padding: 10px 16px; border-radius: 999px; font-size: 14px; max-width: calc(100% - 32px); text-align: center; transition: opacity .25s var(--ease), transform .25s var(--ease); }
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* ---------- v0.2 ---------- */
.tag--kind { background: rgba(251, 248, 243, .92); color: var(--olive-deep); }
.filters { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: -12px calc(var(--gutter) * -1) 28px; padding: 2px var(--gutter); }
.filters::-webkit-scrollbar { display: none; }
.filter { flex: none; min-height: 42px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--white); cursor: pointer; font-size: 14px; display: inline-flex; align-items: center; gap: 8px; transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease); }
.filter span { font-size: 12px; color: var(--muted); }
.filter:hover { border-color: var(--ink); }
.filter[aria-pressed="true"] { background: var(--olive); border-color: var(--olive); color: var(--white); }
.filter[aria-pressed="true"] span { color: var(--olive-tint); }
.unit-card[hidden] { display: none; }

.table-scroll { overflow-x: auto; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); }
.rates--grid { min-width: 520px; }
.rates--grid thead th { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; text-align: right; padding-top: 0; }
.rates--grid thead th:first-child { text-align: left; }
.rates--grid tbody th { color: var(--ink); }
.rates--grid tr.is-current th, .rates--grid tr.is-current td { background: var(--olive-tint); }
.rates--grid tr.is-current th { border-radius: 8px 0 0 8px; padding-left: 10px; }
.rates--grid tr.is-current td:last-child { border-radius: 0 8px 8px 0; padding-right: 10px; }
.rates td.is-missing, .summary__line.is-missing strong { color: var(--warn); font-style: italic; font-weight: 500; }

.sync { flex-wrap: wrap; }
.sync__body { flex: 1 1 200px; display: grid; gap: 6px; }
.sync > .btn { margin-left: 32px; }
@media (min-width: 640px) { .sync > .btn { margin-left: 0; } }
.src i { flex: none; }
.sync__sources { display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: 13px; }
.src { display: inline-flex; align-items: center; gap: 6px; }
.src i { width: 8px; height: 8px; border-radius: 50%; background: currentColor; opacity: .5; }
.src--ok i { background: var(--ok); opacity: 1; }
.src--error i { background: var(--error); opacity: 1; }
.src--error { font-weight: 600; }
.demo-box label { display: inline-flex; align-items: center; gap: 6px; }

.summary__line.is-fee { color: var(--muted); padding-top: 8px; border-top: 1px dashed var(--line); }
.bookbar.is-blocked { background: var(--error-bg); }
.bar-warn { color: var(--error); }
.btn[aria-disabled="true"] { opacity: .55; }

/* ---------- v0.3: sedes ---------- */
.muted { color: var(--muted); }
.hero__locs { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 4px; }
.hero__locs a { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; font-weight: 600; font-size: 15px; padding: 6px 0; border-bottom: 1px solid rgba(255, 255, 255, .45); }
.hero__locs a span { font-weight: 400; opacity: .75; font-size: 13px; }
.hero__locs a:hover { border-color: var(--white); }

.filters { display: grid; gap: 8px; overflow: visible; margin: -12px 0 32px; padding: 0; }
.filters__row { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin-inline: calc(var(--gutter) * -1); padding: 2px var(--gutter); }
.filters__row::-webkit-scrollbar { display: none; }
.filters__row + .filters__row .filter { min-height: 36px; font-size: 13px; background: transparent; }
.filters__row + .filters__row .filter[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); }

.loc-group + .loc-group { margin-top: 56px; }
.loc-group[hidden] { display: none; }
.loc-group__head { display: grid; gap: 4px; margin-bottom: 20px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.loc-group__head h3 { font-size: clamp(1.6rem, 3.5vw, 2.2rem); }
.loc-group__head h3 span { font: 400 1rem var(--f-body); color: var(--muted); }
.loc-group__head p { color: var(--muted); }
.loc-group__count { white-space: nowrap; color: var(--earth); font-weight: 600; font-size: 14px; margin-left: 4px; }
.chip--hl { background: var(--olive-tint); color: var(--olive-deep); font-weight: 600; }

.locations { display: grid; gap: 28px; }
@media (min-width: 900px) { .locations { grid-template-columns: 1fr 1fr; } }
.loc-card { background: var(--white); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow); display: grid; }
.loc-card .map { border-radius: 0; aspect-ratio: 16 / 9; }
.loc-card__body { padding: 22px; display: grid; gap: 8px; align-content: start; }
.loc-card__units { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0; }
.loc-card__units a { display: inline-block; font-size: 13px; padding: 5px 10px; border-radius: 999px; background: var(--cream); text-decoration: none; }
.loc-card__units a:hover { background: var(--sand); }
.loc-card .btn { justify-self: start; }
.loc-mini { display: grid; gap: 18px; align-items: center; }
.loc-mini .map { aspect-ratio: 16 / 9; }
@media (min-width: 640px) { .loc-mini { grid-template-columns: 220px 1fr; } .loc-mini .map { aspect-ratio: 4 / 3; } }

/* ---------- v0.4: marca ---------- */
h1, h2, h3, h4 { letter-spacing: 0; }
.hero h1 em, .intro__statement em { font-style: italic; color: inherit; }
.intro__statement em { color: var(--brand); }
#la-quinta .intro > div:first-child::before { content: ""; display: block; width: 44px; height: 72px; margin-bottom: 18px; background: url(assets/symbol.png) no-repeat left center / contain; }
.cta-band { position: relative; overflow: hidden; }
.cta-band::after { content: ""; position: absolute; right: -30px; bottom: -50px; width: 200px; height: 330px; background: url(assets/symbol-white.png) no-repeat center / contain; opacity: .14; pointer-events: none; }
.cta-band .container { position: relative; z-index: 1; }
.btn--primary { background: var(--olive); }
.filter[aria-pressed="true"] span { color: var(--sage); }
.ph--garden { --ph-base: linear-gradient(160deg, #E0E5C8, #B4BF8C 60%, #7D7A3E); }
.ph--dusk   { --ph-base: linear-gradient(170deg, #EBD7B0, #B89A68 55%, #6E5F2C); }

/* ---------- v0.5: fotos reales ---------- */
.ph--photo { background: var(--sand); }
.ph--photo::after { display: none; }
.ph--photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero .ph--photo::before { z-index: 1; }
.hero__credit { position: absolute; right: 12px; bottom: 12px; z-index: 2; font-size: 11px; color: rgba(255, 255, 255, .8); letter-spacing: .06em; }
.mosaic figure figcaption { position: absolute; left: 10px; bottom: 10px; z-index: 1; font-size: 12px; color: var(--white); background: rgba(30, 28, 18, .55); padding: 4px 9px; border-radius: 999px; backdrop-filter: blur(3px); opacity: 0; transition: opacity .3s var(--ease); }
.mosaic figure:hover figcaption, .mosaic figure:focus-within figcaption { opacity: 1; }
@media (hover: none) { .mosaic figure figcaption { opacity: 1; } }
.loc-card__media { position: relative; aspect-ratio: 16 / 9; overflow: hidden; }
.loc-card__media .ph { position: absolute; inset: 0; }
.loc-mini .loc-card__media { border-radius: var(--r-md); }
@media (min-width: 640px) { .loc-mini .loc-card__media { aspect-ratio: 4 / 3; } }
.gallery figure .ph--photo img { transition: transform .8s var(--ease); }
.gallery figure:hover .ph--photo img { transform: scale(1.03); }

/* ---------- v0.6: políticas por sede ---------- */
.guest-row[hidden], .tag[hidden] { display: none; }
.rules li { line-height: 1.45; }
.rules .rules__promo { grid-column: 1 / -1; background: var(--olive-tint); color: var(--olive-deep); }
@media (max-width: 479px) { .rules { grid-template-columns: 1fr; } }

/* ---------- v0.9: buscador ---------- */
.hero__content { padding-bottom: 96px; }
@media (min-width: 768px) { .hero__content { padding-bottom: 128px; } }
.search-wrap { position: relative; z-index: 5; margin-top: -56px; }
.search { background: var(--white); border-radius: var(--r-lg); box-shadow: var(--shadow-lg); padding: 16px; display: grid; gap: 12px; grid-template-columns: 1fr 1fr; }
.search__field { display: grid; gap: 6px; align-content: start; min-width: 0; }
.search__field label, .search__label { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.search__label small { text-transform: none; letter-spacing: 0; font-weight: 400; }
.search input[type="date"] { width: 100%; min-height: 46px; padding: 0 10px; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--bg); font-size: 15px; }
.search input[type="date"]:focus { outline: 2px solid var(--olive); outline-offset: 0; border-color: transparent; }
.stepper--sm { min-height: 46px; justify-content: space-between; border: 1px solid var(--line); border-radius: var(--r-sm); padding: 0 4px; background: var(--bg); }
.stepper--sm button { width: 36px; height: 36px; border: 0; background: transparent; }
.search .btn { grid-column: 1 / -1; }
@media (min-width: 960px) {
  .search { grid-template-columns: 1fr 1fr 150px 150px auto; align-items: end; padding: 18px 22px; }
  .search .btn { grid-column: auto; }
}
.search-result { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 16px; padding: 14px 16px; border-radius: var(--r-md); background: var(--olive-tint); color: var(--olive-deep); margin: -8px 0 24px; }
.search-result[hidden] { display: none; }
.search-result p { display: flex; gap: 10px; align-items: center; }
.unit-card__quote { display: flex; gap: 8px; align-items: center; font-size: 14px; padding: 10px 12px; border-radius: var(--r-sm); }
.unit-card__quote[hidden] { display: none; }
.unit-card__quote .icon { width: 18px; height: 18px; }
.unit-card__quote.is-ok { background: var(--olive-tint); color: var(--olive-deep); }
.unit-card__quote.is-no { background: var(--cream); color: var(--muted); }
.unit-card.is-unfit { opacity: .6; }
.unit-card.is-unfit:hover { opacity: .9; }

/* ---------- Animación de entrada ---------- */
.reveal { opacity: 0; transform: translateY(12px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Hoja de estados ---------- */
.states-grid { display: grid; gap: 20px; }
@media (min-width: 900px) { .states-grid--3 { grid-template-columns: repeat(3, 1fr); } .states-grid--2 { grid-template-columns: repeat(2, 1fr); } }
.state-card { background: var(--white); border-radius: var(--r-lg); padding: 20px; box-shadow: var(--shadow); display: grid; gap: 12px; align-content: start; }
.state-card h3 { font: 600 13px/1.2 var(--f-body); text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.day-demo { display: flex; flex-wrap: wrap; gap: 16px; }
.day-demo figure { margin: 0; display: grid; justify-items: center; gap: 8px; width: 92px; text-align: center; font-size: 12.5px; color: var(--muted); }
.day-demo .day { width: 56px; }

/* =========================================================
   v1.0 · DIRECCIÓN B — EDITORIAL CÁLIDO (aprobada 15/10/2026)
   Títulos: Cormorant Garamond · Textos: Jost
   Marca (manual): oliva #907935 y salvia #C8D5A2 → logo, estados, etiquetas.
   Acento: terracota #9A4F30 (ladrillo y madera de las fotos) → acciones principales.
   Este bloque sobrescribe los tokens y componentes anteriores.
   ========================================================= */
:root {
  --bg: #F7F2EA;
  --cream: #EFE6D8;
  --sand: #E3D5C0;
  --line: #E6DACA;
  --white: #FFFDF9;
  --ink: #2A241C;
  --muted: #6E6253;

  --accent: #9A4F30;
  --accent-600: #85432A;
  --accent-deep: #6E3620;
  --accent-tint: #F3E3D8;

  --olive: #776427;          /* oliva de marca, versión AA para texto/estados */
  --olive-600: #65551F;
  --olive-deep: #4A3F17;
  --olive-tint: #E7EBD3;
  --earth: var(--accent);

  --f-display: "Cormorant Garamond", "Cormorant", Georgia, "Times New Roman", serif;
  --f-body: "Jost", "Gill Sans", "Gill Sans MT", system-ui, sans-serif;

  --r-sm: 4px;
  --r-md: 6px;
  --r-lg: 10px;
  --arch: 999px 999px var(--r-sm) var(--r-sm);
  --shadow: 0 1px 2px rgba(42, 36, 28, .04), 0 10px 28px rgba(42, 36, 28, .07);
  --shadow-lg: 0 2px 4px rgba(42, 36, 28, .05), 0 20px 52px rgba(42, 36, 28, .13);
}

/* Tipografía */
body { font-family: var(--f-body); font-weight: 400; letter-spacing: .005em; }
h1, h2, h3, h4 { font-family: var(--f-display); font-weight: 500; letter-spacing: -.005em; line-height: 1.02; }
.h-xl { font-size: clamp(3rem, 10vw, 6rem); }
.h-lg { font-size: clamp(2.4rem, 6vw, 3.8rem); }
.h-md { font-size: clamp(1.7rem, 3.4vw, 2.3rem); }
.hero h1 em, .h-lg em, .intro__statement em { font-style: italic; font-weight: 500; }
.eyebrow { font: 500 12px/1.2 var(--f-body); letter-spacing: .22em; color: var(--accent); }
.hero__content .eyebrow { color: #F3E7DA; }
.lead { color: var(--muted); font-weight: 400; }
.intro__statement { font: 500 clamp(2rem, 4.8vw, 3.3rem)/1.1 var(--f-display); }
.intro__statement em { color: var(--accent); }
.price-from strong, .summary__total strong, .bookbar__info strong, .facts dd, .unit-card__quote b {
  font-family: var(--f-display); font-weight: 600; font-variant-numeric: lining-nums tabular-nums; }
.price-from strong { font-size: 1.45rem; }
.summary__total strong { font-size: 1.9rem; }
.bookbar__info strong { font-size: 1.35rem; }
.facts dd { font-size: 1.6rem; }

/* Botones: rectos, mayúsculas espaciadas; acción principal en terracota */
.btn { border-radius: var(--r-sm); font: 500 13px/1 var(--f-body); letter-spacing: .1em; text-transform: uppercase; min-height: 50px; padding: 0 26px; }
.btn--sm { min-height: 40px; padding: 0 16px; font-size: 12px; }
.btn--primary { background: var(--accent); color: #FFF8F1; }
.btn--primary:hover { background: var(--accent-600); }
.btn--light { background: #FFF8F1; color: var(--accent-deep); }
.btn--ghost { border-color: rgba(255, 255, 255, .7); }
.btn--outline { background: transparent; border-color: var(--ink); color: var(--ink); }
.btn--outline:hover { background: var(--ink); color: var(--white); }
.link-arrow { color: var(--accent); font-weight: 500; text-transform: uppercase; letter-spacing: .1em; font-size: 12px; }
.fab { background: var(--accent); }
.text-btn { color: var(--accent-deep); }

/* Header */
.header.is-solid, .header--solid { background: rgba(247, 242, 234, .95); box-shadow: 0 1px 0 var(--line); }
.nav a { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; }
.menu-panel a { font: 500 28px/1.2 var(--f-display); }

/* Hero */
.hero .ph::before { background: linear-gradient(180deg, rgba(30, 20, 12, .35) 0%, transparent 30%, transparent 42%, rgba(40, 22, 12, .62) 100%); }
.hero h1 { max-width: 11ch; }
.hero p { font-weight: 300; font-size: 1.15rem; }

/* Buscador */
.search { border-radius: var(--r-md); border: 1px solid var(--line); background: var(--white); }
.search input[type="date"], .stepper--sm { border-radius: var(--r-sm); background: var(--bg); }
.search__field label, .search__label { font-weight: 500; letter-spacing: .16em; }
.search-result { background: var(--accent-tint); color: var(--accent-deep); border-radius: var(--r-md); }

/* Filtros y etiquetas */
.filter { border-radius: 999px; font-size: 13px; letter-spacing: .04em; background: transparent; border-color: var(--sand); }
.filter[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--white); }
.filter[aria-pressed="true"] span { color: var(--sand); }
.filters__row + .filters__row .filter[aria-pressed="true"] { background: var(--olive); border-color: var(--olive); }
.tag { border-radius: 2px; }
.tag--kind { background: rgba(255, 253, 249, .94); color: var(--accent-deep); letter-spacing: .14em; }
.chip { border-radius: 2px; background: var(--cream); font-size: 12.5px; }
.chip--hl { background: var(--olive-tint); color: var(--olive-deep); }

/* Tarjeta de alojamiento: foto en arco */
.unit-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); box-shadow: none; padding: 12px 12px 0; }
.unit-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.unit-card__media { aspect-ratio: 4 / 3.6; border-radius: var(--arch); }
.unit-card__media .tag { top: auto; bottom: 12px; left: 50%; transform: translateX(-50%); }
.unit-card__body { padding: 18px 8px 16px; gap: 12px; }
.unit-card__title h3 { font-size: 2rem; }
.unit-card__type { font-size: 14.5px; }
.unit-card__foot { border-top-color: var(--line); }
.unit-card__quote { border-radius: var(--r-sm); }
.unit-card__quote.is-ok { background: var(--accent-tint); color: var(--accent-deep); }
.specs .icon, .amenities .icon, .info-list .icon { color: var(--accent); }

/* Grupos por sede */
.loc-group__head h3 { font-size: clamp(2rem, 4.2vw, 2.8rem); }
.loc-group__count { color: var(--accent); font-weight: 500; }

/* La quinta */
.section--cream { background: var(--cream); }
#la-quinta .intro > div:first-child::before { width: 40px; height: 66px; }
.mosaic figure { border-radius: var(--r-md); }
.mosaic figure:first-child { border-radius: var(--arch); }
.amenities--boxed { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); }
.amenities-head h3 { font-size: 2rem; }

/* Sedes */
.loc-card { border: 1px solid var(--line); border-radius: var(--r-md); box-shadow: none; padding: 12px 12px 0; background: var(--white); }
.loc-card .map, .loc-card__media { border-radius: var(--arch); }
.loc-card__body { padding: 18px 8px 20px; }
.loc-card__units a { border-radius: 2px; background: var(--cream); }

/* FAQ */
.faq summary { font: 500 1.55rem/1.2 var(--f-display); }
.faq summary .icon { color: var(--accent); }

/* CTA final y footer */
.cta-band { background: var(--accent-deep); color: #F6E9DD; }
.cta-band .eyebrow { color: #E9C9B2 !important; }
.cta-band .btn--light { color: var(--accent-deep); }
.footer { background: #231E17; color: #CBBFAE; }
.footer h4 { font: 500 11px/1 var(--f-body); letter-spacing: .2em; }
.footer__bottom { border-top-color: #3A3127; color: #9A8D7B; }

/* Detalle */
.detail-head h1 { font-size: clamp(2.8rem, 8vw, 4.6rem); }
.detail-main h2 { font-size: 2.2rem; }
.gallery figure:first-child { border-radius: var(--arch); }
@media (min-width: 768px) {
  .gallery { border-radius: var(--r-md); }
  .gallery figure:first-child { border-radius: 260px 260px 0 0; }
}
.rules li { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); }
.rules strong { color: var(--accent); letter-spacing: .14em; font-weight: 500; }
.rules .rules__promo { background: var(--accent-tint); color: var(--accent-deep); border-color: transparent; }
.rates th { font-weight: 400; }
.rates--grid tr.is-current th, .rates--grid tr.is-current td { background: var(--accent-tint); }
.loc-mini .loc-card__media, .loc-mini .map { border-radius: var(--arch); }

/* Calendario y reserva */
.cal { border-radius: var(--r-md); border: 1px solid var(--line); box-shadow: none; background: var(--white); }
.cal__title { font-size: 1.5rem; font-weight: 600; }
.day { font-family: var(--f-body); }
.day.is-start span, .day.is-end span { background: var(--accent) !important; }
.day.is-range::before, .day.is-start::before, .day.is-end::before { background: var(--accent-tint); }
.day.is-checkout-only span { outline-color: var(--accent); color: var(--accent-deep); }
.sw--sel { background: var(--accent); }
.sw--range { background: var(--accent-tint); }
.sw--out { outline-color: var(--accent); }
.booking { border-radius: var(--r-md); border: 1px solid var(--line); box-shadow: var(--shadow-lg); background: var(--white); }
.booking__head h2 { font-size: 2rem; }
.dates { border-radius: var(--r-sm); }
.summary { border-radius: var(--r-sm); background: var(--bg); }
.field input { border-radius: var(--r-sm); background: var(--bg); }
.field input:focus, .search input[type="date"]:focus, :focus-visible { outline-color: var(--accent); }
.stepper button { border-radius: 999px; }
.bookbar { background: var(--white); }
.bookbar .btn { min-height: 46px; }
dialog.wa { border-radius: var(--r-md); }
.wa__head h2 { font-size: 1.8rem; }
.sync { border-radius: var(--r-sm); }
.demo-box { border-radius: var(--r-sm); }

/* Ajuste: el pie de la tarjeta (precio + enlace) no debe ensanchar la columna */
.unit-card__body { grid-template-columns: minmax(0, 1fr); }
.unit-card__foot { flex-wrap: wrap; row-gap: 10px; }

/* =========================================================
   v1.1 · SEGUNDA REVISIÓN DE DISEÑO
   Hero equilibrado · buscador compacto · tarjetas con foto protagonista
   · carruseles por sede · "La quinta" editorial · sedes inmersivas · movimiento sutil
   ========================================================= */

/* ---------- Ritmo vertical: menos vacío ---------- */
.section { padding-block: 56px; }
.section--tight { padding-block: 48px; }
.section-head { margin-bottom: 22px; gap: 8px; }
@media (min-width: 768px) {
  .section { padding-block: 88px; }
  .section--tight { padding-block: 72px; }
  .section-head { margin-bottom: 30px; }
}

/* ---------- Header y logo ---------- */
:root { --header-h: 64px; }
.header { height: var(--header-h); }
.logo img { height: 44px; }
@media (min-width: 768px) { :root { --header-h: 76px; } .logo img { height: 52px; } }
.header:not(.is-solid):not(.header--solid) { background: linear-gradient(180deg, rgba(20, 14, 8, .38), rgba(20, 14, 8, 0)); }
.header .icon-btn { color: inherit; }

/* ---------- Hero: foto protagonista, texto contenido abajo a la izquierda ---------- */
.hero { min-height: min(86svh, 760px); align-items: flex-end; }
@media (min-width: 768px) { .hero { min-height: min(88svh, 820px); } }
.hero .ph::before { background:
  linear-gradient(180deg, rgba(20, 14, 8, .28) 0%, transparent 22%),
  linear-gradient(0deg, rgba(30, 18, 10, .72) 0%, rgba(30, 18, 10, .35) 32%, transparent 58%),
  linear-gradient(90deg, rgba(30, 18, 10, .30) 0%, transparent 55%); }
.hero__content { padding-top: calc(var(--header-h) + 24px); padding-bottom: 72px; gap: 14px; max-width: var(--maxw); }
@media (min-width: 768px) { .hero__content { padding-bottom: 104px; gap: 16px; } }
.hero__eyebrow { margin: 0; font-size: 11px; letter-spacing: .26em; }
.hero__title { font-size: clamp(2.5rem, 8.6vw, 4.6rem); line-height: 1; max-width: 12ch; margin: 0; text-shadow: 0 1px 24px rgba(0, 0, 0, .18); }
.hero__title em { display: inline; }
.hero__lead { font-size: 1.05rem; font-weight: 300; max-width: 34ch; margin: 0; opacity: .95; }
.hero__ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; margin-top: 6px; }
.hero__ctas .btn { flex: 0 0 auto; }
@media (max-width: 479px) { .hero__ctas .btn { flex: 0 0 auto; } }
.hero__link { display: inline-flex; align-items: center; gap: 8px; color: #fff; font-size: 14px; text-decoration: none; border-bottom: 1px solid rgba(255, 255, 255, .5); padding: 4px 0; transition: border-color .25s var(--ease); }
.hero__link:hover { border-color: #fff; }
.hero__locs, .scroll-cue { display: none; }
.hero__credit { bottom: 56px; }
@media (min-width: 768px) { .hero__credit { bottom: 88px; } }

/* ---------- Buscador compacto ---------- */
.search-wrap { margin-top: -40px; }
.search { grid-template-columns: 1fr 1fr; gap: 10px; padding: 12px; box-shadow: var(--shadow-lg); border: 0; border-radius: var(--r-lg); }
.search__field { gap: 4px; }
.search__field label, .search__label { font-size: 10.5px; padding-left: 2px; }
.search input[type="date"], .guests-toggle { min-height: 48px; font-size: 15px; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--bg); padding: 0 12px; color: var(--ink); }
.search__field--guests { grid-column: 1 / -1; position: relative; }
.guests-toggle { width: 100%; display: flex; align-items: center; justify-content: space-between; cursor: pointer; text-align: left; transition: border-color .2s var(--ease); }
.guests-toggle:hover { border-color: var(--ink); }
.guests-toggle .icon { transform: rotate(90deg); transition: transform .25s var(--ease); width: 18px; height: 18px; color: var(--muted); }
.search__field--guests.is-open .guests-toggle .icon { transform: rotate(-90deg); }
.guests-pop { position: absolute; z-index: 30; top: calc(100% + 8px); left: 0; right: 0; background: var(--white); border-radius: var(--r-md); box-shadow: var(--shadow-lg); border: 1px solid var(--line); padding: 8px 16px 12px; display: grid; animation: pop .22s var(--ease); }
.guests-pop[hidden] { display: none; }
@keyframes pop { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.guests-pop__row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.guests-pop__row > div:first-child { display: grid; }
.guests-pop__row small { color: var(--muted); font-size: 12.5px; }
.guests-pop__done { justify-self: end; margin-top: 6px; font-weight: 500; text-decoration: none; color: var(--accent); text-transform: uppercase; letter-spacing: .12em; font-size: 12px; }
.search__submit { grid-column: 1 / -1; min-height: 50px; }
@media (min-width: 900px) {
  .search { grid-template-columns: 1fr 1fr 1.15fr auto; align-items: end; padding: 14px 16px; }
  .search__field--guests { grid-column: auto; }
  .search__submit { grid-column: auto; }
  .guests-pop { left: auto; width: 320px; }
}

/* ---------- Alojamientos: arranque cercano al buscador ---------- */
#alojamientos { padding-top: 44px; }
@media (min-width: 768px) { #alojamientos { padding-top: 64px; } }
.filters { margin: 0 0 22px; }

/* ---------- Grupos por sede + carrusel ---------- */
.loc-group + .loc-group { margin-top: 36px; }
.loc-group__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; border-bottom: 0; padding-bottom: 0; margin-bottom: 14px; }
.loc-group__head h3 { font-size: clamp(1.9rem, 4vw, 2.6rem); }
.loc-group__head p { font-size: 14.5px; margin-top: 2px; max-width: 52ch; }
.rail-nav { display: none; gap: 8px; flex: none; }
@media (hover: hover) and (min-width: 768px) { .loc-group.is-scrollable .rail-nav { display: flex; } }
.rail-btn { width: 44px; height: 44px; border-radius: 999px; border: 1px solid var(--sand); background: var(--white); color: var(--ink); display: grid; place-items: center; cursor: pointer; transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), opacity .2s; }
.rail-btn:hover:not(:disabled) { background: var(--ink); color: var(--white); border-color: var(--ink); }
.rail-btn:disabled { opacity: .35; cursor: default; }

.rail {
  display: flex; gap: 16px; overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); scroll-behavior: smooth;
  margin-inline: calc(var(--gutter) * -1); padding: 6px var(--gutter) 18px;
  scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.rail::-webkit-scrollbar { display: none; }
.rail:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
.rail > .unit-card { flex: 0 0 80%; scroll-snap-align: start; }
@media (min-width: 560px) { .rail > .unit-card { flex-basis: 56%; } }
@media (min-width: 900px) { .rail > .unit-card { flex-basis: calc((100% - 2 * var(--gutter) - 32px) / 2.6); } }
@media (min-width: 1200px) { .rail > .unit-card { flex-basis: calc((100% - 2 * var(--gutter) - 32px) / 3.2); } }
.rail > .unit-card[hidden] { display: none; }

/* ---------- Tarjeta: foto protagonista, poco texto ---------- */
.unit-card { background: transparent; border: 0; border-radius: 0; padding: 0; box-shadow: none; display: flex; flex-direction: column; gap: 14px; color: var(--ink); transition: transform .45s var(--ease); }
.unit-card:hover { transform: translateY(-4px); box-shadow: none; }
.unit-card__media { aspect-ratio: 4 / 5; border-radius: 14px; overflow: hidden; position: relative; box-shadow: 0 1px 2px rgba(42, 36, 28, .06); transition: box-shadow .45s var(--ease); }
.unit-card:hover .unit-card__media { box-shadow: 0 18px 40px rgba(42, 36, 28, .18); }
.unit-card__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20, 14, 8, .25) 0%, transparent 28%, transparent 70%, rgba(20, 14, 8, .35) 100%); pointer-events: none; }
.ph--photo img { transition: transform 1s var(--ease); }
.unit-card:hover .ph--photo img { transform: scale(1.06); }
.unit-card__media .tag--kind { position: absolute; z-index: 1; top: 12px; left: 12px; bottom: auto; transform: none; background: rgba(255, 253, 249, .92); color: var(--ink); font-size: 10px; letter-spacing: .16em; padding: 6px 9px; }
.unit-card__hl { position: absolute; z-index: 1; left: 12px; bottom: 12px; font-size: 12.5px; color: #fff; padding: 6px 10px; border-radius: 999px; background: rgba(30, 20, 12, .45); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.unit-card__body { padding: 0 2px; display: grid; gap: 6px; grid-template-columns: minmax(0, 1fr); }
.unit-card__name { font-size: clamp(1.7rem, 3.4vw, 2rem); line-height: 1; }
.unit-card__meta { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; font-size: 14px; color: var(--muted); }
.unit-card__meta .icon { width: 15px; height: 15px; color: var(--accent); }
.unit-card__foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 6px 12px; margin-top: 4px; padding-top: 0; border: 0; }
.unit-card__price { font-size: 13.5px; color: var(--muted); }
.unit-card__price b { font: 600 1.35rem/1 var(--f-display); color: var(--ink); font-variant-numeric: lining-nums; }
.unit-card__cta { display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 500; text-transform: uppercase; letter-spacing: .14em; color: var(--accent); }
.unit-card__cta .icon { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.unit-card:hover .unit-card__cta .icon { transform: translateX(4px); }
.unit-card__quote { font-size: 13.5px; padding: 8px 10px; }
.unit-card.is-unfit { opacity: .5; }
.unit-card.is-unfit .unit-card__media { filter: grayscale(.4); }
/* En la ficha (Otros alojamientos) se mantiene la grilla */
.units-grid { gap: 28px 20px; }

/* ---------- La quinta: editorial ---------- */
.quinta { background: var(--cream); }
.quinta__head { display: grid; gap: 14px; margin-bottom: 28px; }
.quinta__title { font-size: clamp(2rem, 5vw, 3.2rem); line-height: 1.06; max-width: 20ch; margin-top: 10px; }
.quinta__title em { color: var(--accent); font-style: italic; }
@media (min-width: 900px) { .quinta__head { grid-template-columns: 1.4fr 1fr; align-items: end; gap: 56px; margin-bottom: 40px; } }
#la-quinta .intro > div:first-child::before { display: none; }

.quinta__gallery { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: calc(var(--gutter) * -1); padding: 0 var(--gutter) 6px; scroll-padding-inline: var(--gutter); scrollbar-width: none; }
.quinta__gallery::-webkit-scrollbar { display: none; }
.qg { margin: 0; position: relative; overflow: hidden; border-radius: 14px; flex: 0 0 82%; aspect-ratio: 4 / 5; scroll-snap-align: start; }
.qg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.qg:hover img { transform: scale(1.04); }
.qg figcaption { position: absolute; left: 12px; bottom: 12px; z-index: 1; font-size: 12px; color: #fff; padding: 5px 10px; border-radius: 999px; background: rgba(30, 20, 12, .45); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
@media (min-width: 900px) {
  .quinta__gallery { display: grid; overflow: visible; margin: 0; padding: 0; grid-template-columns: repeat(12, 1fr); grid-auto-rows: 120px; gap: 16px; }
  .qg { aspect-ratio: auto; }
  .qg--a { grid-column: 1 / 8; grid-row: span 4; border-radius: 260px 260px 14px 14px; }
  .qg--b { grid-column: 8 / 13; grid-row: span 2; }
  .qg--c { grid-column: 8 / 13; grid-row: span 2; }
  .qg--d { grid-column: 1 / 6; grid-row: span 3; }
  .qg--e { grid-column: 6 / 13; grid-row: span 3; }
}
.features { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.features li { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; padding: 8px 14px 8px 12px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); }
.features .icon { width: 18px; height: 18px; color: var(--accent); }

/* ---------- Sedes: imagen de fondo + contenido superpuesto ---------- */
.locations { gap: 16px; }
.loc-card { position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: flex-end; min-height: 440px; padding: 0; border: 0; border-radius: 14px; background: #2A241C; color: #FFF8F1; box-shadow: none; }
@media (min-width: 900px) { .loc-card { min-height: 520px; } }
.loc-card__bg { position: absolute; inset: 0; z-index: -1; }
.loc-card__bg .ph { position: absolute; inset: 0; }
.loc-card__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(24, 14, 6, .85) 0%, rgba(24, 14, 6, .45) 42%, rgba(24, 14, 6, 0) 72%); }
.loc-card__bg img { transition: transform 1.4s var(--ease); }
.loc-card:hover .loc-card__bg img { transform: scale(1.05); }
.loc-card__content { width: 100%; padding: 24px; display: grid; gap: 8px; transition: transform .5s var(--ease); }
@media (min-width: 768px) { .loc-card__content { padding: 32px; } }
.loc-card:hover .loc-card__content { transform: translateY(-4px); }
.loc-card__dept { font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: #F0D2BC; }
.loc-card__name { font-size: clamp(2.4rem, 6vw, 3.4rem); line-height: .95; color: #fff; }
.loc-card__meta { font-size: 14.5px; line-height: 1.7; opacity: .92; }
.loc-card__meta .icon { width: 15px; height: 15px; vertical-align: -2px; margin-right: 4px; }
.loc-card__units { font-size: 13px; opacity: .78; letter-spacing: .02em; }
.loc-card__ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; margin-top: 8px; }
.loc-card__link { color: #fff; font-size: 14px; text-decoration: none; border-bottom: 1px solid rgba(255, 255, 255, .5); padding: 3px 0; }
.loc-card__link:hover { border-color: #fff; }

/* ---------- Microinteracciones ---------- */
.btn { transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease); }
.btn:hover { transform: translateY(-1px); }
.btn--primary:hover { box-shadow: 0 8px 20px rgba(154, 79, 48, .28); }
.btn .icon { transition: transform .3s var(--ease); }
.btn:hover .icon { transform: translateX(3px); }
.filter { transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease); }
.filter:active { transform: scale(.97); }

/* ---------- Aparición al hacer scroll (escalonada con --d) ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0ms); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal--img { transform: translateY(24px) scale(.985); }
.reveal--img.is-in { transform: none; }
.unit-card.reveal.is-in:hover { transform: translateY(-4px); transition-delay: 0ms; }
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal--img { opacity: 1 !important; transform: none !important; }
  .rail, .quinta__gallery { scroll-behavior: auto; }
  .unit-card:hover, .unit-card:hover .ph--photo img, .qg:hover img, .loc-card:hover .loc-card__bg img, .loc-card:hover .loc-card__content, .btn:hover, .btn:hover .icon { transform: none !important; }
}

@media (max-width: 479px) { .hero__eyebrow { letter-spacing: .18em; font-size: 10.5px; } }
@media (max-width: 559px) { .unit-card__media { aspect-ratio: 5 / 6; } }
@media (min-width: 900px) { .hero__title { max-width: 15ch; } }
