/* Casa Oro site: the approved combined direction (abc-combinada), ported from abc.css and abc-pages.css.
   Loads after chrome.css. Asset paths point at the theme; WordPress adapters are at the end. */

/* Combined direction: walk the street (A), step into a house (B), live the day (C), with D's comparison board.
   Rules carried over from a-calle/a.css, b-casas/b.css and c-dia/c.css, renamed under one prefix so they never collide. */

/* ---------- A: hero, the street, the booking bar under it ---------- */
.x-hero { background: var(--arena); padding: var(--space-7) 0 0; overflow: hidden; }
.x-hero-top { display: grid; gap: var(--space-5); }
.x-hero .kick { color: var(--ink-muted); }
.x-hero h1 { margin-top: var(--space-3); max-width: 12ch; }
.x-hero .second { margin-top: var(--space-2); }
.x-hero .t-lead { max-width: 34rem; }
@media (min-width: 1024px) { .x-hero { padding-top: var(--space-8); } .x-hero-top { grid-template-columns: 62fr 38fr; align-items: end; } }
.street { margin-top: var(--space-7); position: relative; }
.street-row { display: grid; grid-auto-flow: column; grid-auto-columns: 58%; align-items: end; overflow-x: auto; scroll-snap-type: x proximity; scroll-behavior: smooth; overscroll-behavior-x: contain; scrollbar-width: none; padding: 0 var(--space-4); gap: 6px; }
.street-row::-webkit-scrollbar { display: none; }
@media (min-width: 900px) { .street-row { grid-auto-columns: 1fr; overflow: visible; padding: 0 var(--space-6); max-width: 1248px; margin: 0 auto; gap: 8px; } }
.fac { scroll-snap-align: center; position: relative; display: flex; flex-direction: column; justify-content: space-between; text-decoration: none; background: var(--casa); color: var(--on-casa); padding: var(--space-4) var(--space-4) 0; transition: transform var(--duration-quick) var(--ease-out); transform-origin: bottom center; }
.fac:hover { transform: translateY(-6px); }
.fac:active { transform: translateY(-2px) scale(0.99); transition-duration: var(--duration-instant); }
.fac-name { font: 700 22px/24px var(--font-display); font-variation-settings: "SOFT" 100, "WONK" 1; }
.fac-line { font-size: 14px; line-height: 20px; margin-top: var(--space-1); }
.fac-win { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: var(--space-4) 0; }
.fac-win i { aspect-ratio: 3 / 4; background: var(--cal); opacity: 0.92; outline: 3px solid rgba(33, 32, 30, 0.18); outline-offset: -3px; }
.fac-door { align-self: center; width: 34%; max-width: 58px; aspect-ratio: 1 / 1.8; background: var(--cal); border-radius: 29px 29px 0 0; }
.fac-go { position: absolute; right: var(--space-3); bottom: var(--space-3); font: 700 22px/1 var(--font-text); }
.fac.h1 { height: 340px; } .fac.h2 { height: 284px; } .fac.h3 { height: 312px; } .fac.h4 { height: 264px; } .fac.h5 { height: 296px; }
.street-ground { height: 14px; background: var(--negro); }
.street-hint { padding: var(--space-3) var(--space-4) 0; color: var(--ink-muted); font-size: 14px; }
@media (min-width: 900px) { .street-hint { display: none; } }
.x-book { background: var(--arena); padding: var(--space-5) 0 var(--space-7); }
.x-book .note { margin-top: var(--space-3); font-size: 14px; line-height: 20px; color: var(--ink-muted); }

/* ---------- A: chooser ---------- */
.x-sec { padding: var(--space-8) 0; }
.x-head { display: grid; gap: var(--space-3); margin-bottom: var(--space-6); max-width: 46rem; }
.x-rule { border-top: var(--stroke-rule) solid var(--ink); padding-top: var(--space-3); }
.chips { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.chip { min-height: 44px; padding: 0 var(--space-4); border-radius: var(--radius-pill); border: 1px solid var(--line-strong); background: var(--surface-raised); color: var(--ink); font: 600 15px/1 var(--font-text); cursor: pointer; transition: background-color var(--duration-quick) var(--ease-out), transform var(--duration-instant) var(--ease-out); }
.chip:active { transform: scale(0.97); }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--surface); border-color: var(--ink); }
.chooser-note { min-height: 26px; margin-top: var(--space-4); color: var(--ink-muted); }

/* ---------- B: one house per screen ---------- */
.x-index { display: none; }
@media (min-width: 1024px) {
  .x-index { display: block; position: sticky; top: 96px; z-index: 40; background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .x-index .wrap { display: flex; align-items: center; gap: var(--space-5); height: 52px; }
  .x-index ol { list-style: none; display: flex; gap: var(--space-5); margin: 0; padding: 0; }
  .x-index a { display: inline-flex; align-items: center; gap: var(--space-2); min-height: 44px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: 15px; border-bottom: 2px solid transparent; transition: border-color var(--duration-quick) var(--ease-out); }
  .x-index a:hover { border-bottom-color: var(--line-strong); }
  .x-index a[aria-current="true"] { border-bottom-color: var(--ink); }
  .x-index .dot { width: 12px; height: 12px; border-radius: 50%; background: var(--casa-mark, var(--casa)); }
  .x-index .x-cmp { display: inline-flex; align-items: center; min-height: 44px; margin-left: auto; color: var(--ink); font-weight: 600; font-size: 15px; }
}
.scene { display: grid; background: var(--casa); color: var(--on-casa); scroll-margin-top: 64px; transition: opacity var(--duration-move) var(--ease-out); }
.scene > .ph { aspect-ratio: 4 / 3; }
.scene-field { display: flex; flex-direction: column; gap: var(--space-4); padding: var(--space-6) var(--space-4) var(--space-7); }
.scene-field .label, .scene-field .facts li, .scene-field .rate, .scene-field .rate .valid { color: var(--on-casa); }
.scene-field .facts { flex-direction: column; gap: var(--space-3); }
.scene-field .facts li { font-size: 16px; }
.scene-tag { display: flex; align-items: center; gap: var(--space-3); }
.scene-tag img { width: 56px; height: 56px; flex: none; }
.scene-rule { border: 0; border-top: 1px solid var(--on-casa); opacity: 0.35; margin: 0; width: 100%; }
.scene-name { max-width: 10ch; }
.co-casa-hostel, .co-casa-nuestra, .co-casa-ruth, .co-casa-grupo { --x-btn-bg: var(--negro); --x-btn-ink: var(--cal); }
.co-casa-andalucia, .co-casa-pacifico, .co-casa-cafe, .co-casa-pita, .co-casa-experiencias { --x-btn-bg: var(--cal); --x-btn-ink: var(--negro); }
.x-btn { background: var(--x-btn-bg); color: var(--x-btn-ink); }
.x-btn:hover { filter: brightness(0.92); }
.x-btn-line { background: transparent; color: var(--on-casa); border-color: var(--on-casa); }
.x-actions { display: flex; flex-wrap: wrap; gap: var(--space-3); }
@media (min-width: 1024px) {
  .scene { grid-template-columns: 62fr 38fr; min-height: clamp(560px, calc(100vh - 148px), 760px); scroll-margin-top: 148px; }
  .scene > .ph { aspect-ratio: auto; height: 100%; }
  .scene.is-flip { grid-template-columns: 38fr 62fr; }
  .scene.is-flip > .ph { order: 2; }
  .scene-field { justify-content: center; padding: var(--space-8) clamp(32px, 4vw, 72px); gap: var(--space-5); }
  .scene-tag img { width: 72px; height: 72px; }
}

/* ---------- D: compare the houses ---------- */
.cmp summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); min-height: 56px; border-top: var(--stroke-rule) solid var(--ink); border-bottom: 1px solid var(--line); font: 700 24px/30px var(--font-display); font-variation-settings: "SOFT" 100, "WONK" 1; }
.cmp summary::-webkit-details-marker { display: none; }
.cmp summary::after { content: "+"; font: 600 28px/1 var(--font-text); }
.cmp[open] summary::after { content: "\2212"; }
.cmp-wrap { overflow-x: auto; margin-top: var(--space-4); }
.cmp table { border-collapse: collapse; width: 100%; min-width: 760px; font-size: 15px; line-height: 21px; }
.cmp th, .cmp td { text-align: left; vertical-align: top; padding: var(--space-3); border-bottom: 1px solid var(--line); }
.cmp thead th { font: 600 14px/18px var(--font-text); letter-spacing: 1px; text-transform: uppercase; color: var(--ink-muted); background: var(--surface-warm); }
.cmp tbody th { min-width: 180px; }
.cmp tbody th span { display: block; border-left: var(--stroke-band) solid var(--casa-mark, var(--casa)); padding-left: var(--space-3); font: 700 18px/22px var(--font-display); font-variation-settings: "SOFT" 100, "WONK" 1; }
.cmp td small { display: block; color: var(--ink-muted); font-size: 14px; }
.cmp .ask { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; display: inline-flex; min-height: 44px; align-items: center; }

/* ---------- C: the day, turning to night ---------- */
.dia { position: relative; }
.stop { display: grid; gap: var(--space-4); padding: 0 0 var(--space-8); }
.stop-time { position: sticky; top: 64px; z-index: 5; display: flex; align-items: baseline; gap: var(--space-3); padding: var(--space-3) 0; background: var(--surface); border-bottom: var(--stroke-rule) solid var(--ink); }
.time { font: 700 32px/1 var(--font-text); letter-spacing: -0.5px; font-variant-numeric: tabular-nums; }
.stop-time .label { color: var(--ink-muted); }
.stop-body { display: grid; gap: var(--space-5); }
.stop-ph { aspect-ratio: 3 / 2; }
.tb { display: flex; flex-direction: column; gap: var(--space-3); }
.tb-k { display: inline-flex; align-items: center; gap: var(--space-2); }
.tb-line { font-size: 17px; line-height: 27px; max-width: 30rem; }
.tb-price { margin-top: auto; padding-top: var(--space-3); border-top: var(--stroke-rule) solid currentColor; display: grid; gap: 2px; }
.tb-price b { font: 700 19px/26px var(--font-text); font-variant-numeric: tabular-nums; }
.tb-price .valid { font-size: 14px; line-height: 20px; color: var(--ink-muted); }
.tb .x-actions { margin-top: var(--space-2); }
.sun { display: none; }
@media (min-width: 1024px) {
  .dia-rail { position: relative; padding-left: 48px; }
  .dia-rail::before { content: ""; position: absolute; left: 11px; top: 0; bottom: 0; width: 2px; background: var(--line-strong); }
  .stop { grid-template-columns: 136px 1fr; gap: var(--space-6); padding-bottom: var(--space-9); }
  .stop-time { top: 160px; align-self: start; flex-direction: column; gap: var(--space-2); padding: 0; border: 0; background: transparent; }
  .stop-time::before { content: ""; position: absolute; left: -43px; top: 14px; width: 14px; height: 14px; border-radius: var(--radius-round); background: var(--surface); border: 2px solid var(--line-strong); }
  .time { font-size: 44px; }
  .stop-body { grid-template-columns: 38fr 62fr; gap: var(--space-6); align-items: stretch; }
  .stop-ph { aspect-ratio: auto; min-height: 420px; }
  .sun { display: block; position: sticky; top: 50vh; height: 0; z-index: 6; margin-left: -48px; }
  .sun i { position: absolute; left: 0; top: -12px; width: 24px; height: 24px; border-radius: var(--radius-round); background: var(--sol); border: 3px solid var(--surface); }
  [data-theme="noche"] .sun i { background: var(--cal); }
}
@media (prefers-reduced-motion: reduce) { .sun { position: relative; top: 0; } }
.x-noche { background: var(--surface); color: var(--ink); }
.x-noche-open { padding: var(--space-8) 0 var(--space-6); }
.x-noche-open .t-lead { color: var(--ink-muted); }
.field { background: var(--casa); color: var(--on-casa); border-top: var(--stroke-band) solid var(--casa-2); padding: var(--space-5); display: flex; flex-direction: column; gap: var(--space-3); }
.field .tb-price .valid { color: var(--on-casa); }
.field .lotus { height: 56px; width: auto; align-self: flex-start; }
@media (min-width: 1024px) { .field { padding: var(--space-6); } }

/* ---------- A: people, the town, groups ---------- */
.people { display: grid; gap: var(--space-6); align-items: center; }
@media (min-width: 900px) { .people { grid-template-columns: 38fr 62fr; } }
.people .ph { aspect-ratio: 4 / 5; }
.people-fig { position: relative; }
.people-fig .stk { left: -12px; bottom: -18px; } /* bottom-left, clear of the heading beside the photo */
.town { display: grid; gap: var(--space-6); }
@media (min-width: 900px) { .town { grid-template-columns: 62fr 38fr; align-items: start; } }
/* The town map: streets from OpenStreetMap, the houses as numbered pins that open Google Maps. */
.town-map { margin: 0; }
.town-map-in { position: relative; border: 1px solid var(--line); background: #f5ecd8; }
.town-map-in img { display: block; width: 100%; height: auto; }
.town-map .pin { position: absolute; transform: translate(-50%, -50%); display: flex; align-items: center; gap: 6px; text-decoration: none; color: var(--ink); min-height: 44px; min-width: 44px; justify-content: center; }
.town-map .pin-n { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--casa-mark, var(--casa)); color: var(--on-casa, #fff); font: 700 15px/1 var(--font-text); box-shadow: 0 0 0 3px #fffaf0, 0 2px 6px rgba(0,0,0,.25); transition: transform .2s; }
.town-map .pin-l { position: absolute; left: calc(50% + 20px); white-space: nowrap; background: #fffaf0; padding: 2px 8px; border-radius: 4px; font: 600 13px/1.4 var(--font-text); box-shadow: 0 1px 3px rgba(0,0,0,.2); }
.town-map .pin:hover .pin-n, .town-map .pin:focus-visible .pin-n { transform: scale(1.15); }
@media (max-width: 599px) { .town-map .pin-l { font-size: 11px; padding: 1px 5px; left: calc(50% + 14px); } }
.town-map figcaption { margin-top: var(--space-2); font-size: 13px; color: var(--ink-muted); }
.town .dot.n { display: grid; place-items: center; width: 26px; height: 26px; margin-top: 0; color: var(--on-casa, #fff); font: 700 13px/1 var(--font-text); }
.town ol { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--space-3); }
.town li { display: grid; grid-template-columns: 28px 1fr; gap: var(--space-3); padding-bottom: var(--space-3); border-bottom: 1px solid var(--line); }
.dot { width: 18px; height: 18px; border-radius: 50%; background: var(--casa-mark, var(--casa)); margin-top: 4px; }
.grp { position: relative; background: var(--arena); overflow: hidden; }
.grp::before { content: ""; position: absolute; inset: 0; background: url("../patterns/granada-tile-bronze.svg") center / 96px repeat; opacity: 0.15; }
.grp .wrap { position: relative; padding-top: var(--space-8); padding-bottom: var(--space-8); display: grid; gap: var(--space-5); }
@media (min-width: 900px) { .grp .wrap { grid-template-columns: 62fr 38fr; align-items: end; } }

/* ---------- Where it started: the full circle ---------- */
.circle { display: grid; gap: var(--space-4); }
@media (min-width: 900px) { .circle { grid-template-columns: repeat(3, 1fr); } }
.circle a { display: grid; grid-template-rows: auto 1fr; background: var(--surface-raised); color: var(--ink); text-decoration: none; transition: transform var(--duration-instant) var(--ease-out); }
.circle a:active { transform: scale(0.99); }
.circle .ph { aspect-ratio: 4 / 3; }
.circle .in { padding: var(--space-5); display: grid; gap: var(--space-2); align-content: start; }

/* ---------- The day bar: the itinerary at a glance, sticky while the day is read ---------- */
/* One authored moment: it sits under the header across the day and night sections, marks the stop in view,
   and its evening cells are already night. Native scroll; on phones it scrolls sideways and snaps. */
.day-wrap { position: relative; }
.daybar { position: sticky; top: 64px; z-index: 30; background: var(--surface-raised); border-bottom: 1px solid var(--line); }
.daybar ol { list-style: none; margin: 0 auto; padding: 0 var(--space-4); max-width: 1248px; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(104px, 1fr); overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; }
.daybar ol::-webkit-scrollbar { display: none; }
.daybar li { scroll-snap-align: start; }
.daybar a { position: relative; display: flex; flex-direction: column; justify-content: center; gap: 2px; min-height: 60px; padding: var(--space-2) var(--space-3); color: var(--ink); text-decoration: none; border-top: 3px solid transparent; transition: background-color var(--duration-quick) var(--ease-out), border-color var(--duration-quick) var(--ease-out); }
.daybar a:active { background: var(--surface-warm); transition-duration: var(--duration-instant); }
.daybar b { font: 700 18px/22px var(--font-text); font-variant-numeric: tabular-nums; }
.daybar span { font-size: 14px; line-height: 18px; color: var(--ink-muted); white-space: nowrap; }
.daybar .is-night a { background: var(--negro); color: var(--cal); }
.daybar .is-night span { color: #c9bb9c; }
.daybar a[aria-current="true"] { border-top-color: var(--sol); }
.daybar .is-night a[aria-current="true"] { border-top-color: var(--cal); }
.daybar a:hover { background: var(--surface-warm); }
.daybar .is-night a:hover { background: #2c2a27; }
@media (min-width: 1024px) {
  .daybar { top: 96px; }
  .daybar ol { padding: 0 var(--space-6); }
  .stop-time { top: 180px; }
}
.stop { scroll-margin-top: 140px; }
@media (min-width: 1024px) { .stop { scroll-margin-top: 176px; } }
.houses-wrap { position: relative; }
/* Inside the day, the day bar already carries the time: stop times stay in the flow on phones. */
@media (max-width: 1023px) { .day-wrap .stop-time { position: static; } }


/* ======== Pages: house, groups (abc-pages.css) ======== */
/* Combined direction, inner pages: the house (B's magazine, C's day, D's row, A's street) and groups (A's builder, C's program).
   Builds on abc.css (street, scene, cmp, stop/tb/dia-rail, field, x-btn). Prefix pg-. */

.co-btn:active { transition-duration: var(--duration-instant); transform: scale(0.98); }
.pg-sec { padding: var(--space-8) 0; }
@media (min-width: 1024px) { .pg-sec { padding: var(--space-9) 0; } }
.pg-crumb { font-size: 15px; color: var(--on-casa); }
.pg-crumb a { color: var(--on-casa); display: inline-flex; min-height: 44px; align-items: center; }

/* ---------- House: magazine hero (B), the name on its casa field, never on the photo ---------- */
.pg-hero > .ph { aspect-ratio: 4 / 3; }
.pg-hero > .ph img { object-position: 50% 70%; }
.pg-hero-field { background: var(--casa); color: var(--on-casa); display: grid; }
/* The fan stencil is El Pacifico's alone (brand book section 9); every other house gets the Granada tile, cal at 20%. */
.pg-hero-pat { position: relative; height: 40px; background: var(--casa); overflow: hidden; }
.pg-hero-pat::before { content: ""; position: absolute; inset: 0; background: url("../patterns/granada-tile-cal.svg") 0 0 / 56px repeat; opacity: 0.2; }
.co-casa-pacifico .pg-hero-pat::before { background: url("../patterns/abanico-tile-azafran.svg") 0 0 / 84px 57px repeat; opacity: 1; }
.pg-hero-text { padding: var(--space-4) var(--space-4) var(--space-7); display: grid; gap: var(--space-4); }
.pg-hero-text .label { color: var(--on-casa); }
.pg-hero-text h1 { max-width: 9ch; }
@media (max-width: 1023px) { .pg-hero .wrap { padding: 0; } }
@media (min-width: 1024px) {
  .pg-hero > .ph { aspect-ratio: auto; height: clamp(520px, 70vh, 700px); }
  .pg-hero .wrap { margin-top: -220px; position: relative; z-index: 2; }
  .pg-hero-field { width: 72%; grid-template-columns: 1fr 120px; }
  .pg-hero-pat { height: auto; order: 2; }
  .pg-hero-text { padding: var(--space-7); }
}

/* Facts row under the hero: icons always with words */
.pg-facts { border-bottom: 1px solid var(--line); }
.pg-facts .facts { padding: var(--space-5) 0; gap: var(--space-3) var(--space-6); }
.pg-facts .facts li { font-size: 16px; }
@media (max-width: 899px) { .pg-facts .facts { display: grid; grid-template-columns: 1fr 1fr; } }

/* ---------- House: the feature with its sticky booking card ---------- */
.pg-feature { display: grid; gap: var(--space-7); padding-top: var(--space-7); padding-bottom: var(--space-8); }
.pg-main { display: grid; gap: var(--space-9); min-width: 0; }
.pg-opening { font: 400 24px/34px var(--font-display); font-variation-settings: "SOFT" 100, "WONK" 1; max-width: 36rem; }
@media (min-width: 1024px) {
  .pg-feature { grid-template-columns: minmax(0, 1fr) 360px; column-gap: var(--space-8); padding-top: var(--space-8); padding-bottom: var(--space-9); }
  .pg-main { grid-column: 1; grid-row: 1; }
  /* Sticky only as tall as the screen allows: the card is sized to fit a 650 px laptop screen; anything shorter scrolls
     inside the card rather than hiding its button. */
  .pg-book { grid-column: 2; grid-row: 1; align-self: start; position: sticky; top: 104px; max-height: calc(100dvh - 120px); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; }
}
.pg-book { background: var(--surface-raised); border: 1px solid var(--line); border-top: var(--stroke-band) solid var(--casa); display: grid; gap: var(--space-4); padding: var(--space-5); scroll-margin-top: 80px; }
.pg-book .lockup { width: 200px; height: auto; }
.pg-book .bw { border: 0; padding: 0; background: transparent; }
.pg-book .co-btn-casa { width: 100%; }
.pg-book .rate b { font-size: 24px; }
.pg-book .help { font-size: 15px; border-top: 1px solid var(--line); padding-top: var(--space-3); margin: 0; }
.pg-book .help a { font-weight: 600; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; display: inline-flex; align-items: center; min-height: 44px; }
.pg-book .bw-dates { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-3); }
.pg-book .bw-dates input { min-width: 0; padding: 0 var(--space-2); }
@media (min-width: 1024px) {
  .pg-book { gap: var(--space-3); padding: var(--space-4) var(--space-5); }
  .pg-book .bw { gap: var(--space-3); }
}
@media (min-width: 1024px) and (max-height: 860px) { .pg-book .lockup, .pg-book .lockup.is-logo { display: none; } }

.pg-head { display: grid; gap: var(--space-3); margin-bottom: var(--space-6); max-width: 40rem; }
.pg-head .t-lead { color: var(--ink-muted); }

/* Rooms: one live rate per room, straight from Sirvoy */
.pg-rooms { display: grid; gap: var(--space-5); }
.pg-rooms > .ph { aspect-ratio: 3 / 2; }
.pg-room-list { list-style: none; margin: 0; padding: 0; border-top: var(--stroke-rule) solid var(--ink); }
.pg-room-list li { display: grid; grid-template-columns: 1fr auto; gap: var(--space-2) var(--space-4); align-items: center; padding: var(--space-4) 0; border-bottom: 1px solid var(--line); }
.pg-room-list .nm { font: 600 24px/30px var(--font-display); font-variation-settings: "SOFT" 100, "WONK" 1; }
.pg-room-list .sub { grid-column: 1; color: var(--ink-muted); font-size: 15px; }
.pg-room-list .rate { grid-column: 1 / -1; }
.pg-room-list .co-btn { grid-column: 1 / -1; justify-self: start; }
@media (min-width: 640px) { .pg-room-list .rate { grid-column: 2; grid-row: 1 / span 2; text-align: right; } .pg-room-list .co-btn { grid-column: 2; justify-self: end; } }
.pg-note { font-size: 14px; line-height: 20px; color: var(--ink-muted); }
.mock.pg-note, .pg-pol .mock { display: inline-block; margin-top: var(--space-1); }

/* The day of the house (C), inside the reading column: one column per stop */
.pg-day .dia-rail { padding-left: 0; }
.pg-day .stop-body { grid-template-columns: 1fr; }
.pg-day .stop-ph { aspect-ratio: 3 / 2; min-height: 0; }
.pg-day .tb-line { max-width: 34rem; }
.pg-day .stop-fig { position: relative; }
.pg-day .stk { right: var(--space-4); top: var(--space-4); }
@media (min-width: 1024px) {
  .pg-day .dia-rail { padding-left: 48px; }
  .pg-day .stop { grid-template-columns: 112px 1fr; padding-bottom: var(--space-8); }
  .pg-day .stop-time { top: 120px; }
  .pg-day .time { font-size: 32px; }
  .pg-day .sun { top: 50vh; }
}
.pg-night { background: var(--surface); color: var(--ink); padding: var(--space-6) var(--space-4) var(--space-2); margin: 0 calc(-1 * var(--space-4)); }
.pg-night .pg-night-open { padding-bottom: var(--space-5); display: grid; gap: var(--space-2); }
.pg-night .pg-night-open .label { color: var(--ink-muted); }
@media (min-width: 1024px) { .pg-night { margin: 0; padding: var(--space-7) var(--space-6) var(--space-2); } }

/* Practical facts and policies */
.pg-prac { display: grid; gap: var(--space-6); }
@media (min-width: 900px) { .pg-prac { grid-template-columns: 1fr 1fr; column-gap: var(--space-6); } }
.pg-prac h3 { font: 600 24px/30px var(--font-display); font-variation-settings: "SOFT" 100, "WONK" 1; margin-bottom: var(--space-3); }
.pg-list { list-style: none; margin: 0; padding: 0; border-top: var(--stroke-rule) solid var(--ink); }
.pg-list li { display: flex; gap: var(--space-3); align-items: flex-start; padding: var(--space-3) 0; border-bottom: 1px solid var(--line); }
.pg-list li .ico { margin-top: 1px; }
.pg-list b { display: block; }
.pg-pol li { display: grid; gap: 2px; }

/* D, one row: this house against the others */
.pg-cmp table { min-width: 680px; }
.pg-cmp tr.is-this th, .pg-cmp tr.is-this td { background: var(--surface-raised); font-weight: 600; }
.pg-cmp .this { display: block; font: 600 14px/18px var(--font-text); letter-spacing: 1px; text-transform: uppercase; color: var(--ink-muted); margin-top: var(--space-1); border: 0; padding: 0; }
.pg-cmp-more { margin-top: var(--space-3); }
.pg-cmp-more a { color: var(--ink); font-weight: 600; display: inline-flex; min-height: 44px; align-items: center; }

/* FAQ: the four booking questions, visible in the HTML */
.pg-faq { display: grid; gap: 0; border-top: var(--stroke-rule) solid var(--ink); }
.pg-faq > div { display: grid; gap: var(--space-2); padding: var(--space-5) 0; border-bottom: 1px solid var(--line); }
.pg-faq h3 { font: 600 24px/30px var(--font-display); font-variation-settings: "SOFT" 100, "WONK" 1; }
.pg-faq p { max-width: 38rem; }
.pg-faq .x-actions { margin-top: var(--space-2); }
@media (min-width: 900px) { .pg-faq > div { grid-template-columns: 38fr 62fr; column-gap: var(--space-6); } .pg-faq > div > :not(h3) { grid-column: 2; } .pg-faq h3 { grid-row: 1 / span 4; } }

/* How to get here */
.pg-where { display: grid; gap: var(--space-5); }
.pg-where > .ph { aspect-ratio: 3 / 2; }
.pg-aerial { aspect-ratio: 16 / 9; margin-top: var(--space-5); }
.pg-where dl { margin: 0; display: grid; border-top: var(--stroke-rule) solid var(--ink); }
.pg-where dl > div { display: grid; grid-template-columns: 112px 1fr; gap: var(--space-3); padding: var(--space-3) 0; border-bottom: 1px solid var(--line); }
.pg-where dt { font-weight: 700; }
.pg-where dd { margin: 0; }

/* A: the mini street to the other houses */
.pg-street { background: var(--arena); padding: var(--space-8) 0 0; overflow: hidden; }
.pg-street .pg-head .t-lead { color: var(--ink-muted); }
.pg-street .street { margin-top: var(--space-5); }
/* The footer is the street: the houses stand on it, no pavement strip and no band of sand under it. */
.pg-street .street { padding-bottom: 0; }
.pg-street .street-ground { display: none; }
.pg-street .street-hint { padding: 0 var(--space-4) var(--space-3); }

/* Phone booking bar that carries the house, the dates and the party */
.pg-bar { align-items: center; }
.pg-bar .sum { flex: 1; min-width: 0; display: grid; font-size: 14px; line-height: 18px; }
.pg-bar .sum b { font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pg-bar .sum span { color: var(--ink-muted); white-space: nowrap; }
.book-bar.pg-bar .co-btn-casa { flex: 0 0 auto; }
body.has-bar.pg-has-sum { padding-bottom: 76px; }
@media (min-width: 1024px) { body.has-bar.pg-has-sum { padding-bottom: 0; } }

/* ---------- Groups: hero split (B grammar, arena field) ---------- */
.pg-ghero { display: grid; background: var(--casa); color: var(--on-casa); }
.pg-ghero > .ph { aspect-ratio: 4 / 3; }
.pg-ghero-field { padding: var(--space-6) var(--space-4) var(--space-7); display: grid; gap: var(--space-4); align-content: center; }
.pg-ghero-field .label { color: var(--on-casa); }
.pg-ghero-field h1 { max-width: 7ch; }
@media (min-width: 1024px) {
  .pg-ghero { grid-template-columns: 38fr 62fr; min-height: clamp(560px, calc(100vh - 96px), 720px); }
  .pg-ghero > .ph { aspect-ratio: auto; height: 100%; order: 2; }
  .pg-ghero-field { padding: var(--space-8) clamp(32px, 4vw, 72px) var(--space-8) max(var(--space-6), calc((100vw - 1200px) / 2)); }
}

/* A: the facade builder. Each house shows its rooms, how many people fit, A/C and pool. */
.pg-builder .fac .fac-tags { font-size: 13px; font-weight: 700; margin-top: var(--space-1); opacity: .85; }
.pg-builder { background: var(--surface-raised); border: 1px solid var(--line); }
.pg-builder-top { padding: var(--space-5) var(--space-4) 0; display: grid; gap: var(--space-2); }
@media (min-width: 900px) { .pg-builder-top { padding: var(--space-6) var(--space-6) 0; } }
.pg-builder .street-row { padding-top: var(--space-6); }
@media (min-width: 900px) { .pg-builder .street-row { padding-left: var(--space-6); padding-right: var(--space-6); } }
.pg-builder .fac { cursor: pointer; border: 0; text-align: left; font: inherit; }
.pg-builder .fac[aria-pressed="false"] { background: var(--surface-raised); color: var(--ink-muted); outline: 2px dashed var(--line-strong); outline-offset: -2px; }
.pg-builder .fac[aria-pressed="false"] .fac-name { color: var(--ink); }
.pg-builder .fac[aria-pressed="false"] .fac-win i { background: var(--line); outline: 0; }
.pg-builder .fac[aria-pressed="false"] .fac-door { background: var(--line); }
.pg-builder .fac .fac-name { padding-right: 36px; }
.pg-builder .fac .fac-line { font-size: 15px; }
.pg-builder .fac .tick { position: absolute; top: var(--space-3); right: var(--space-3); width: 28px; height: 28px; border-radius: 50%; background: var(--cal); border: 2px solid var(--negro); }
.pg-builder .fac .tick::after { content: ""; position: absolute; left: 8px; top: 3px; width: 7px; height: 13px; border: solid var(--negro); border-width: 0 3px 3px 0; transform: rotate(45deg); }
.pg-builder .fac[aria-pressed="false"] .tick { background: transparent; border-color: var(--line-strong); }
.pg-builder .fac[aria-pressed="false"] .tick::after { display: none; }
.pg-builder .street-ground { margin: 0; }
.pg-builder-sum { display: grid; gap: var(--space-4); padding: var(--space-5) var(--space-4); border-top: 1px solid var(--line); }
@media (min-width: 900px) { .pg-builder-sum { grid-template-columns: 1fr auto; align-items: end; padding: var(--space-5) var(--space-6) var(--space-6); } }
.pg-chosen { list-style: none; margin: var(--space-2) 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--space-2); min-height: 44px; }
.pg-chosen li { display: inline-flex; align-items: center; gap: var(--space-2); min-height: 40px; padding: 0 var(--space-3) 0 var(--space-2); border: 1px solid var(--line-strong); border-radius: var(--radius-pill); font-size: 15px; }
.pg-chosen li .dot { margin: 0; width: 14px; height: 14px; }
.pg-chosen li b { font-weight: 700; }
.pg-chosen .none { border: 0; padding: 0; color: var(--ink-muted); }

/* What we arrange */
.pg-arr { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-5); }
.pg-arr li { display: grid; gap: var(--space-2); border-top: var(--stroke-rule) solid var(--ink); padding-top: var(--space-4); align-content: start; }
.pg-arr h3 { display: flex; align-items: center; gap: var(--space-3); }
@media (min-width: 900px) { .pg-arr { grid-template-columns: repeat(4, 1fr); gap: var(--space-6); } }

/* C: the sample program, two days, the evening on noche */
.pg-ex { display: inline-flex; align-items: center; gap: var(--space-2); align-self: start; justify-self: start; min-height: 40px; padding: 0 var(--space-3); border: 1px dashed var(--line-strong); font-weight: 600; font-size: 15px; }
.pg-prog { display: grid; gap: var(--space-6); }
@media (min-width: 1024px) { .pg-prog { grid-template-columns: 1fr 1fr; gap: var(--space-6); align-items: start; } }
.pg-pday { background: var(--surface-raised); border-top: var(--stroke-band) solid var(--ink); }
.pg-pday-head { padding: var(--space-5) var(--space-4) var(--space-3); display: grid; gap: var(--space-1); }
@media (min-width: 900px) { .pg-pday-head { padding: var(--space-5) var(--space-5) var(--space-3); } }
.pg-prow { display: grid; grid-template-columns: 72px 1fr; gap: var(--space-1) var(--space-3); padding: var(--space-4); border-top: 1px solid var(--line); }
@media (min-width: 900px) { .pg-prow { grid-template-columns: 88px 1fr auto; padding: var(--space-4) var(--space-5); } }
.pg-prow .time { font-size: 24px; grid-row: 1 / span 3; line-height: 30px; }
.pg-prow .nm { font-weight: 700; font-size: 17px; line-height: 24px; }
.pg-prow .ln { color: var(--ink-muted); font-size: 15px; line-height: 22px; grid-column: 2; }
.pg-prow .pr { grid-column: 2; font-size: 15px; line-height: 22px; font-variant-numeric: tabular-nums; }
.pg-prow .pr span { display: block; color: var(--ink-muted); font-size: 14px; line-height: 20px; }
@media (min-width: 900px) { .pg-prow .pr { grid-column: 3; grid-row: 1 / span 2; text-align: right; } }
.pg-pnight { background: var(--surface); color: var(--ink); }
.pg-pnight .pg-psub { padding: var(--space-4) var(--space-4) 0; color: var(--ink-muted); }
@media (min-width: 900px) { .pg-pnight .pg-psub { padding: var(--space-4) var(--space-5) 0; } }
.pg-pnight .pg-prow { border-top-color: var(--line); }

/* Three steps, the deposit terms in them */
.pg-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-5); counter-reset: s; }
.pg-steps li { counter-increment: s; display: grid; grid-template-columns: 56px 1fr; gap: var(--space-2) var(--space-4); align-content: start; }
.pg-steps li::before { content: counter(s); grid-row: 1 / span 2; width: 56px; height: 56px; border-radius: 50%; background: var(--sol); color: var(--on-light); display: flex; align-items: center; justify-content: center; font: 800 24px/1 var(--font-display); }
.pg-steps p { color: var(--ink-muted); }
@media (min-width: 900px) { .pg-steps { grid-template-columns: repeat(3, 1fr); gap: var(--space-6); } .pg-steps li { grid-template-columns: 1fr; } .pg-steps li::before { grid-row: auto; margin-bottom: var(--space-2); } }

/* The inquiry form and the human beside it */
.pg-formsec { background: var(--surface-warm); position: relative; }
.pg-tiles { height: 72px; background: url("../patterns/granada-tile-bronze.svg") 0 0 / 72px 72px repeat var(--arena); }
.pg-formwrap { display: grid; gap: var(--space-6); }
@media (min-width: 1024px) { .pg-formwrap { grid-template-columns: minmax(0, 1fr) 340px; column-gap: var(--space-8); align-items: start; } .pg-side { position: sticky; top: 120px; } }
.pg-form { background: var(--surface-raised); padding: var(--space-5) var(--space-4); display: grid; gap: var(--space-6); scroll-margin-top: 80px; }
@media (min-width: 900px) { .pg-form { padding: var(--space-7); } }
.pg-form fieldset { border: 0; margin: 0; padding: 0; display: grid; gap: var(--space-4); min-width: 0; }
.pg-form legend { font: 600 24px/30px var(--font-display); font-variation-settings: "SOFT" 100, "WONK" 1; padding: 0; margin-bottom: var(--space-4); }
.pg-row { display: grid; gap: var(--space-4); }
@media (min-width: 640px) { .pg-row { grid-template-columns: 1fr 1fr; } }
.pg-form label.f, .pg-form .q { display: grid; gap: var(--space-1); font-weight: 600; font-size: 15px; }
.pg-form input[type="text"], .pg-form input[type="date"], .pg-form input[type="email"], .pg-form input[type="tel"], .pg-form select, .pg-form textarea { min-height: 48px; padding: 0 var(--space-3); border: 1px solid var(--line-strong); border-radius: var(--radius-sm); background: var(--surface-raised); color: var(--ink); font: 400 16px/1.4 var(--font-text); width: 100%; }
.pg-form textarea { padding: var(--space-3); min-height: 120px; resize: vertical; }
.pg-form .hint { font-weight: 400; color: var(--ink-muted); font-size: 14px; }
.pg-checks { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.pg-check { display: inline-flex; align-items: center; gap: var(--space-2); min-height: 44px; padding: 0 var(--space-4); border: 1px solid var(--line-strong); border-radius: var(--radius-sm); font-size: 15px; font-weight: 600; cursor: pointer; transition: background-color var(--duration-quick) var(--ease-out); }
.pg-check:has(input:checked) { background: var(--ink); color: var(--surface); border-color: var(--ink); }
.pg-check:active { transition-duration: var(--duration-instant); }
.pg-check input { accent-color: var(--sol); width: 18px; height: 18px; margin: 0; }
.pg-consent { display: flex; gap: var(--space-3); align-items: flex-start; font-size: 15px; }
.pg-consent input { width: 22px; height: 22px; margin-top: 2px; accent-color: var(--ink); flex: none; }
.pg-send { display: flex; flex-wrap: wrap; gap: var(--space-4); align-items: center; }
.pg-send p { color: var(--ink-muted); font-size: 15px; }
.pg-side { background: var(--negro); color: var(--cal); padding: var(--space-6) var(--space-5); display: grid; gap: var(--space-4); }
.pg-side .label { color: #c9bb9c; }
.pg-side .co-btn-outline { color: var(--cal); border-color: var(--cal); }
.pg-side .co-btn-outline:hover { background: transparent; text-decoration: underline; }
.pg-side .co-btn { justify-self: start; }
.pg-side img { width: 56px; height: 56px; }
@media (max-width: 1023px) { .pg-feature { grid-template-columns: minmax(0, 1fr); } }
.pg-bar .sum span { overflow: hidden; text-overflow: ellipsis; }
.book-bar.pg-bar .pg-wa { flex: 0 0 48px; padding: 0; justify-content: center; }
.pg-main { grid-template-columns: minmax(0, 1fr); }
.pg-builder .fac.h1 { height: 410px; } .pg-builder .fac.h2 { height: 340px; } .pg-builder .fac.h3 { height: 370px; } .pg-builder .fac.h4 { height: 320px; } .pg-builder .fac.h5 { height: 355px; }
.pg-builder .fac .fac-win { margin: var(--space-3) 0; }
@media (max-width: 1023px) { .pg-main { gap: var(--space-8); } }
.pg-builder .fac.h3 { height: 385px; } .pg-builder .fac.h4 { height: 340px; }
.pg-street .fac.h1 { height: 400px; } .pg-street .fac.h3 { height: 370px; } .pg-street .fac.h4 { height: 330px; } .pg-street .fac.h5 { height: 345px; }
.pg-builder .fac.h2 { height: 360px; } .pg-builder .fac.h5 { height: 372px; } .pg-builder .fac.h3 { height: 392px; } .pg-builder .fac.h1 { height: 420px; }
@media (min-width: 900px) { .pg-street .fac-win i { aspect-ratio: 4 / 3; } }


/* ======== WordPress adapters (not in the prototype) ======== */
/* Photos are <picture> (WebP with the JPEG fallback) inside .ph: the picture fills the frame and the image
   fades in like the prototype's, except the hero, which the server marks is-loaded so the LCP never waits. */
.ph > picture { display: block; width: 100%; height: 100%; }
.ph > picture > img { display: block; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity var(--duration-scene) var(--ease-out); }
.ph > picture > img.is-loaded { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .ph > picture > img { opacity: 1; } }
/* Icons are inlined SVG with stroke="currentColor" (the prototype loaded them as <img>). */
.ico svg { display: block; width: 100%; height: 100%; }
/* The house narrative (post content) sits in the page's main column as if it were written there. */
.pg-main > .wp-block-post-content { display: contents; }
/* "Where" without a photo is a single column. */
.pg-where.is-text { grid-template-columns: minmax(0, 1fr); }
.x-book .note a { color: var(--ink); }
/* Section grounds the prototype set inline, as classes the templates can carry. */
.x-sec-raised { background: var(--surface-raised); }
.town > .town-map { display: block; }

/* A facade never pushes its door off the street: windows shrink and clip a row before the door moves. */
.fac { overflow: hidden; }
.fac-win { flex: 1 1 auto; min-height: 0; overflow: hidden; align-content: start; }
.fac-door { flex: none; }

/* 404: the street that does not exist, then the street that does. */
.x-404 { padding-block: var(--space-9) var(--space-7); }
.x-404 .t-lead { margin-block: var(--space-4) var(--space-5); }
.pg-book .book-h { margin: var(--space-3) 0 var(--space-2); }
/* The spec line under the house name (copy deck S1): numbers, not adjectives. */
.pg-hero-text .pg-spec { margin-top: var(--space-3); font-size: var(--wp--preset--font-size--body); font-weight: 600; }

/* The booking page: the stay in words beside the house's own Sirvoy engine. */
.rv { padding: var(--space-6) 0 var(--space-8); }
/* Phone: the stay in one compact card, then the engine, then the extras. Desktop: stay and extras beside it. */
.rv-grid { display: grid; gap: var(--space-4); grid-template-areas: "sum" "engine" "more"; }
.rv-sum { grid-area: sum; } .rv-engine { grid-area: engine; } .rv-more { grid-area: more; display: grid; gap: var(--space-3); padding: 0 var(--space-1); }
@media (min-width: 960px) {
  .rv-grid { grid-template-columns: 320px 1fr; grid-template-rows: auto 1fr; grid-template-areas: "sum engine" "more engine"; column-gap: var(--space-6); row-gap: var(--space-4); align-items: start; }
}
.rv-sum { background: var(--surface-raised); border: 1px solid var(--line); border-top: 6px solid var(--casa-mark, var(--casa)); padding: var(--space-4) var(--space-5); display: grid; gap: var(--space-3); }
@media (max-width: 959px) {
  .rv { padding-top: var(--space-4); }
  .rv-sum .lockup, .rv-sum .label { display: none; }
  .rv-sum .rv-dl { display: none; }
  .rv-sum h1 { font-size: 24px; line-height: 30px; }
}
.rv-line { margin: 0; font-weight: 600; font-size: 15px; line-height: 22px; }
@media (min-width: 960px) { .rv-sum .rv-line { display: none; } }
.rv-sum .lockup { height: 32px; width: auto; }
.rv-sum h1 { margin: 0; }
.rv-dl { margin: 0; display: grid; gap: var(--space-2); }
.rv-dl > div { display: flex; justify-content: space-between; gap: var(--space-3); padding-bottom: var(--space-2); border-bottom: 1px solid var(--line); }
.rv-dl dt { color: var(--ink-muted); }
.rv-dl dd { margin: 0; font-weight: 600; text-align: right; }
.rv-note, .rv-links, .rv-out { font-size: 14px; color: var(--ink-muted); margin: 0; }
.rv-more .help { display: grid; gap: var(--space-2); }
.rv-more .help p { margin: 0; }
.rv-other summary { cursor: pointer; font-weight: 600; min-height: 44px; display: flex; align-items: center; }
.rv-other ul { margin: 0; padding-left: var(--space-4); display: grid; gap: var(--space-2); }
.rv-engine { min-height: 640px; background: var(--surface-raised); border: 1px solid var(--line); }
.rv-engine iframe { display: block; width: 100%; border: 0; }
.rv-out { padding: var(--space-3) var(--space-4); }
.rv-pick ol { list-style: none; padding: 0; margin: var(--space-5) 0; display: grid; gap: var(--space-3); }
@media (min-width: 900px) { .rv-pick ol { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); } }
.rv-pick li a { display: flex; gap: var(--space-3); align-items: flex-start; padding: var(--space-4); border: 1px solid var(--line); background: var(--surface-raised); color: inherit; text-decoration: none; min-height: 44px; }
.rv-pick li a:hover { border-color: var(--casa-mark, var(--casa)); }
.rv-pick b { display: block; }
.rv .dot.n { display: grid; place-items: center; width: 26px; height: 26px; flex: none; margin-top: 0; color: var(--on-casa, #fff); font: 700 13px/1 var(--font-text); }

/* Home: the bay from the air, full width, before the map. */
.aerial-band { margin: 0; position: relative; }
.aerial-band img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
@media (min-width: 900px) { .aerial-band img { aspect-ratio: 21 / 8; } }
.aerial-band figcaption { padding-top: var(--space-2); font-size: 14px; color: var(--ink-muted); }
@media (min-width: 900px) { .pg-where:not(.is-text) { grid-template-columns: 3fr 2fr; align-items: start; } }

/* Experiences page: the bay at sunset, the groups as card grids, transport, one booking form. */
.exp-hero { position: relative; min-height: 72vh; display: grid; align-items: end; color: var(--cal); overflow: hidden; }
.exp-hero > .ph { position: absolute; inset: 0; }
.exp-hero > .ph img { width: 100%; height: 100%; object-fit: cover; }
.exp-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(33, 32, 30, .78), rgba(33, 32, 30, .1) 60%); }
.exp-hero-in { position: relative; z-index: 1; padding-bottom: var(--space-8); max-width: 900px; }
.exp-hero .t-lead { max-width: 36rem; margin-top: var(--space-3); }
.exp-nav { display: flex; gap: var(--space-2); overflow-x: auto; padding-top: var(--space-5); padding-bottom: var(--space-2); scrollbar-width: none; }
.exp-nav a { flex: none; min-height: 44px; display: inline-flex; align-items: center; padding: 0 var(--space-4); border: 1px solid var(--line-strong); border-radius: 999px; color: var(--ink); text-decoration: none; font-weight: 600; }
.exp-nav a:hover { background: var(--surface-raised); }
.exp-group { padding-top: var(--space-8); scroll-margin-top: 96px; }
.exp-grid { display: grid; gap: var(--space-4); margin-top: var(--space-5); }
@media (min-width: 700px) { .exp-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .exp-grid { grid-template-columns: repeat(3, 1fr); } }
.exp { background: var(--surface-raised); border: 1px solid var(--line); display: flex; flex-direction: column; scroll-margin-top: 110px; transition: box-shadow .2s, transform .2s; }
.exp:target { box-shadow: 0 0 0 3px var(--sol); }
.exp-ph { aspect-ratio: 3 / 2; }
.exp-in { padding: var(--space-5); display: flex; flex-direction: column; gap: var(--space-3); flex: 1; }
.exp-in h3, .exp-in p { margin: 0; }
.exp-ico { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--sol); color: var(--ink); }
.exp-ico svg, .exp-ico .ico { width: 26px; height: 26px; }
.exp-prices, .exp-times { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.exp-prices { border-top: var(--stroke-rule) solid var(--ink); padding-top: var(--space-3); font-weight: 600; font-variant-numeric: tabular-nums; }
.exp-times { font-size: 15px; color: var(--ink-muted); }
.exp .valid { font-size: 13px; color: var(--ink-muted); }
.exp-note { font-size: 15px; padding: var(--space-2) var(--space-3); background: var(--arena); }
.exp-in .co-btn { margin-top: auto; align-self: flex-start; }
.exp-trans { display: grid; gap: var(--space-5); margin-top: var(--space-5); }
@media (min-width: 900px) { .exp-trans { grid-template-columns: repeat(3, 1fr); } }
.exp-trans ul { list-style: none; padding: 0; margin: var(--space-3) 0 0; display: grid; gap: 4px; font-variant-numeric: tabular-nums; }
.exp-form { padding: var(--space-8) 0; scroll-margin-top: 96px; max-width: 760px; }
.exp-form fieldset { border: 0; padding: 0; margin: var(--space-5) 0; }
.exps { padding-bottom: var(--space-8); }
.exp-valid { font-size: 14px; color: var(--ink-muted); margin-top: var(--space-2); }

/* Experiences, v2 (owner 2026-10-09: our own experiences lead; the rest is a tight photo grid). */
.feats { display: grid; gap: var(--space-8); margin-top: var(--space-6); }
.feat { display: grid; gap: var(--space-5); align-items: center; scroll-margin-top: 110px; }
@media (min-width: 1024px) {
  .feat { grid-template-columns: 7fr 5fr; gap: var(--space-7); }
  .feat.is-flip { grid-template-columns: 5fr 7fr; }
  .feat.is-flip .feat-pics { order: 2; }
}
.feat-pics { position: relative; }
.feat-ph { aspect-ratio: 4 / 3; border-radius: 4px; overflow: hidden; }
.feat-ph2 { position: absolute; width: 38%; aspect-ratio: 1; right: -12px; bottom: -28px; border: 6px solid var(--surface); border-radius: 4px; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,.18); }
.feat.is-flip .feat-ph2 { right: auto; left: -12px; }
.feat-when { position: absolute; top: -16px; left: -10px; z-index: 2; background: var(--sol); color: var(--ink); font: 800 18px/1.1 var(--font-display); padding: 14px 16px; border-radius: 50%; width: 104px; height: 104px; display: grid; place-items: center; text-align: center; transform: rotate(-8deg); border: 4px solid var(--surface); }
.feat-txt { display: flex; flex-direction: column; gap: var(--space-4); }
.feat-txt h1, .feat-txt h3 { margin: 0; }
.feat-txt .t-lead { margin: 0; }
.feat-prices { list-style: none; margin: 0; padding: var(--space-3) 0 0; border-top: var(--stroke-rule) solid var(--ink); display: grid; gap: 6px; font: 700 20px/1.35 var(--font-text); font-variant-numeric: tabular-nums; }
.feat-more { font-weight: 600; align-self: center; }
.feat .exp-ico { width: 64px; height: 64px; }
.feat .exp-ico svg, .feat .exp-ico .ico { width: 34px; height: 34px; }

/* The shuttle's departure board: a black board with sol-yellow times, like the stop sign it replaces. */
.board { background: var(--negro); color: var(--cal); border-radius: 8px; padding: var(--space-4); box-shadow: inset 0 0 0 1px rgba(255,255,255,.06); }
.board-h { margin: 0 0 var(--space-3); font: 700 13px/1 var(--font-text); letter-spacing: .12em; text-transform: uppercase; color: #c9bb9c; display: flex; align-items: center; gap: 8px; }
.board-dot { width: 8px; height: 8px; border-radius: 50%; background: #58b488; box-shadow: 0 0 0 0 rgba(88,180,136,.6); animation: board-live 2s infinite; }
@keyframes board-live { 70% { box-shadow: 0 0 0 8px rgba(88,180,136,0); } 100% { box-shadow: 0 0 0 0 rgba(88,180,136,0); } }
.board table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.board th, .board td { text-align: left; padding: 8px 6px; border-top: 1px solid rgba(255,255,255,.1); vertical-align: top; font-size: 15px; }
.board thead th { border-top: 0; font-size: 12px; color: #c9bb9c; font-weight: 600; }
.board tbody th { font-weight: 700; }
.board td b { display: inline-block; font: 700 16px/1 ui-monospace, "SF Mono", Menlo, monospace; background: #2c2a27; color: var(--sol); padding: 6px 7px; border-radius: 3px; margin: 0 4px 4px 0; }
.board td span { display: inline-block; font: 500 14px/1 ui-monospace, "SF Mono", Menlo, monospace; color: var(--cal); opacity: .8; margin: 0 6px 4px 0; padding-top: 6px; }
@media (prefers-reduced-motion: no-preference) {
  .feat.is-in .board td b { animation: flap .5s cubic-bezier(.3, 1.4, .5, 1) both; }
  .feat.is-in .board tr:nth-child(2) td b { animation-delay: .12s; } .feat.is-in .board tr:nth-child(3) td b { animation-delay: .24s; }
  .board-dot { animation: board-live 2s infinite; }
}
@media (prefers-reduced-motion: reduce) { .board-dot { animation: none; } }
@keyframes flap { from { transform: rotateX(90deg); opacity: 0; } to { transform: none; opacity: 1; } }

/* Partner tours: compact photo cards, four across on wide screens. */
#g-mas .exp-grid { gap: var(--space-4); }
@media (min-width: 1100px) { #g-mas .exp-grid { grid-template-columns: repeat(4, 1fr); } }
#g-mas .exp { border: 0; background: transparent; }
#g-mas .exp-ph { aspect-ratio: 4 / 3; border-radius: 4px; overflow: hidden; }
#g-mas .exp-in { padding: var(--space-3) 0 0; gap: var(--space-2); }
#g-mas .exp-in p { font-size: 15px; line-height: 22px; color: var(--ink-muted); }
#g-mas .exp-prices { border-top: 0; padding-top: 0; font-size: 15px; }
#g-mas .exp .co-btn { min-height: 40px; }

/* Transport: routes with price chips, on a warm band. */
.exp-trans-sec { background: var(--arena); margin-top: var(--space-8); padding-bottom: var(--space-8); }
.route { list-style: none; padding: 0; margin: var(--space-3) 0 0; display: grid; gap: 0; }
.route li { padding: 8px 0; border-bottom: 1px dashed var(--line-strong); font-variant-numeric: tabular-nums; }
.exp-any .co-btn { margin-top: var(--space-3); }

/* The booking form as its own warm card. */
.exp-form { max-width: none; }
.exp-form-in { background: var(--surface-raised); border: 1px solid var(--line); border-top: 6px solid var(--sol); padding: var(--space-6); max-width: 820px; }
.exp-crumb { padding-top: var(--space-5); margin-bottom: var(--space-4); }
.exps.is-detail .feat { margin-bottom: var(--space-6); }
.exp-others { padding: var(--space-6) 0 var(--space-8); }
.exp-others ul { list-style: none; padding: 0; margin: var(--space-3) 0; display: flex; flex-wrap: wrap; gap: var(--space-3); }
.exp-others li a { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 6px 16px 6px 6px; border: 1px solid var(--line-strong); border-radius: 999px; color: var(--ink); text-decoration: none; font-weight: 600; }
.exp-others .exp-ico { width: 36px; height: 36px; }
.exp-others .exp-ico svg { width: 20px; height: 20px; }

/* Terms: a readable column. */
.terms { max-width: 46rem; padding-bottom: var(--space-8); }
.terms h2 { font: 700 24px/1.25 var(--font-display); margin: var(--space-6) 0 var(--space-2); }
.terms ul { padding-left: 1.2em; display: grid; gap: 6px; }

/* Reviews: quotes on cards, the house's color as a mark; no stars. */
.reviews { padding: var(--space-7) 0; }
.reviews.is-home { background: var(--surface-warm); }
.rv-qs { display: grid; gap: var(--space-4); margin-top: var(--space-5); }
@media (min-width: 800px) { .rv-qs { grid-template-columns: repeat(2, 1fr); } .reviews.is-home .rv-qs { grid-template-columns: repeat(4, 1fr); } }
.rv-q { margin: 0; background: var(--surface-raised); border: 1px solid var(--line); border-top: 6px solid var(--casa-mark, var(--casa)); padding: var(--space-5); display: flex; flex-direction: column; gap: var(--space-4); }
.rv-q blockquote { margin: 0; font: 600 19px/1.45 var(--font-display); }
.rv-q blockquote p { margin: 0; }
.rv-q blockquote p::before { content: "“"; } .rv-q blockquote p::after { content: "”"; }
.rv-q figcaption { margin-top: auto; font-size: 14px; color: var(--ink-muted); display: grid; gap: 4px; }
.rv-q figcaption b { color: var(--ink); font-weight: 600; }
@media (prefers-reduced-motion: no-preference) {
  .rv-q { transition: transform .3s; }
  .rv-q:hover { transform: translateY(-4px) rotate(-.4deg); }
}

/* Room types: photo cards with how many fit, straight into the booking page. */
.rooms { display: grid; gap: var(--space-4); margin-top: var(--space-5); }
@media (min-width: 640px) { .rooms { grid-template-columns: repeat(2, 1fr); } }
.room { background: var(--surface-raised); border: 1px solid var(--line); display: flex; flex-direction: column; overflow: hidden; }
.room-ph { position: relative; aspect-ratio: 3 / 2; }
.room-guests { position: absolute; left: 12px; bottom: 12px; background: var(--surface); color: var(--ink); font: 700 13px/1 var(--font-text); padding: 7px 10px; border-radius: 999px; box-shadow: 0 2px 8px rgba(0,0,0,.18); }
.room-in { padding: var(--space-4); display: flex; flex-direction: column; gap: var(--space-2); flex: 1; }
.room-in h3, .room-in p { margin: 0; }
.room-in p { color: var(--ink-muted); font-size: 15px; line-height: 22px; }
.room-book { margin-top: auto; padding-top: var(--space-2); font-weight: 700; color: var(--ink); text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; gap: 6px; }
.room-book span { transition: transform .2s; }
.room-book:hover span { transform: translateX(4px); }
.room.is-whole { background: var(--arena); border-color: transparent; justify-content: center; }
@media (prefers-reduced-motion: no-preference) { .room { transition: transform .25s, box-shadow .25s; } .room:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(0,0,0,.08); } }

/* Chooser: the matching houses get a sol outline and a lift; nothing is dimmed (every house suits everyone). */
.scene { transition: box-shadow .35s ease, transform .35s ease; }
.scene.is-match { box-shadow: 0 0 0 4px var(--sol); }
@media (prefers-reduced-motion: no-preference) { .scene.is-match { transform: translateY(-4px); } }

/* Comparison: house names link to their page; on phones each house is a card with labelled lines. */
.cmp tbody th a { color: inherit; text-decoration: none; }
.cmp tbody th a:hover span { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 899px) {
  .cmp-wrap { overflow: visible; }
  .cmp table { min-width: 0; }
  .cmp thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .cmp tr { display: block; margin-bottom: var(--space-4); background: var(--surface-raised); border: 1px solid var(--line); border-left: 6px solid var(--casa-mark, var(--casa)); }
  .cmp tbody th { display: block; min-width: 0; padding: var(--space-3) var(--space-4); border-bottom: 1px solid var(--line); }
  .cmp tbody th span { border-left: 0; padding-left: 0; }
  .cmp td { display: grid; grid-template-columns: 9rem 1fr; gap: var(--space-3); padding: var(--space-2) var(--space-4); border-bottom: 1px dashed var(--line); }
  .cmp td::before { content: attr(data-label); font-weight: 600; color: var(--ink-muted); }
  .cmp td:last-child { border-bottom: 0; }
}

/* Where: icon lines beside the map, then the route button. */
.pg-where dl > div { grid-template-columns: 28px 104px 1fr; align-items: start; }
.pg-where dl > div .ico { width: 22px; height: 22px; margin-top: 2px; }
.pg-where dl > div.where-go { display: block; border-bottom: 0; padding-top: var(--space-4); }

/* Experience pages, in full: intro, includes + details, questions. */
.exp-body { display: grid; gap: var(--space-7); max-width: 1000px; margin: var(--space-6) 0 var(--space-4); }
.exp-intro { display: grid; gap: var(--space-4); max-width: 42rem; font-size: 19px; line-height: 30px; }
.exp-intro p { margin: 0; }
.exp-facts { display: grid; gap: var(--space-6); }
@media (min-width: 900px) { .exp-facts { grid-template-columns: 1fr 1fr; } }
.exp-incl { list-style: none; padding: 0; margin: var(--space-3) 0 0; display: grid; gap: var(--space-2); }
.exp-incl li { padding-left: 30px; position: relative; }
.exp-incl li::before { content: ""; position: absolute; left: 0; top: 6px; width: 18px; height: 10px; border-left: 3px solid var(--selva); border-bottom: 3px solid var(--selva); transform: rotate(-45deg); }
.exp-dl { margin: var(--space-3) 0 0; display: grid; }
.exp-dl > div { display: grid; grid-template-columns: 9rem 1fr; gap: var(--space-3); padding: var(--space-2) 0; border-bottom: 1px solid var(--line); }
.exp-dl dt { font-weight: 600; color: var(--ink-muted); }
.exp-dl dd { margin: 0; }
.exp-faq { display: grid; gap: 0; max-width: 46rem; }
.exp-faq h2 { margin: 0 0 var(--space-3); }
.exp-faq-q { border-top: 1px solid var(--line); }
.exp-faq-q:last-child { border-bottom: 1px solid var(--line); }
.exp-faq-q summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: var(--space-4); padding: var(--space-4) 0; font: 700 19px/1.35 var(--font-display); min-height: 44px; }
.exp-faq-q summary::-webkit-details-marker { display: none; }
.exp-faq-q summary::after { content: "+"; font: 600 24px/1 var(--font-text); transition: transform .25s; }
.exp-faq-q[open] summary::after { transform: rotate(45deg); }
.exp-faq-q p { margin: 0 0 var(--space-4); max-width: 40rem; color: var(--ink); }


/* Plain pages (story, terms): the page title as a real headline. */
main > .wp-block-post-title { font-family: var(--font-display); font-variation-settings: "SOFT" 100, "WONK" 1; font-weight: 800; font-size: clamp(44px, 7vw, 88px); line-height: 1; letter-spacing: -0.01em; margin: var(--space-7) auto var(--space-2); padding: 0 var(--space-4); }

/* Brand-book checks (page_evals.mjs): square photo walls, type never under 14px, tap targets 44px, shadows only on
   floating layers, label contrast on photos. These override the rules above. */
.feat-ph, .feat-ph2, .exp-ph, #g-mas .exp-ph, .room-ph { border-radius: 0; }
.feat-ph2 { box-shadow: none; }
.town-map .pin-l { font-size: 14px; }
@media (max-width: 599px) { .town-map .pin-l { font-size: 14px; padding: 2px 6px; } }
.town-map figcaption, .aerial-band figcaption { font-size: 14px; }
.town-map figcaption a { display: inline-block; min-height: 44px; line-height: 44px; }
.board thead th, .board-h, .room-guests { font-size: 14px; }
.town li a, .rooms .room-book, .feat-more, .exp-others > a, .pg-crumb a, .rv-links a, .rv-q figcaption a, .cmp tbody th a { display: inline-flex; align-items: center; min-height: 44px; }
#g-mas .exp .co-btn { min-height: 44px; }
.pg-form input:not([type="checkbox"]):not([type="radio"]), .pg-form select { min-height: 44px; }
.pg-check { min-height: 44px; }
.pg-check input { width: 22px; height: 22px; }
.town-map .pin-n { box-shadow: none; border: 3px solid #fffaf0; }
.town-map .pin-l { box-shadow: none; border: 1px solid var(--line-strong); }
.exp-hero .label { display: inline-block; background: var(--sol); color: var(--ink); padding: 4px 10px; }
.board { box-shadow: none; border: 1px solid #3a3835; }
.room-guests { box-shadow: none; border: 1px solid var(--line-strong); }
.board-dot { box-shadow: none; animation: none; }
@media (prefers-reduced-motion: no-preference) { .board-dot { animation: board-blink 1.6s ease-in-out infinite; } }
@keyframes board-blink { 50% { opacity: .35; } }
.exp-hero::after { background: linear-gradient(to top, rgba(33, 32, 30, .85), rgba(33, 32, 30, .45) 70%); }

/* Review B (2026-10-10). B02: focus never hides under the fixed booking bar or the sticky header. */
html { scroll-padding-top: 120px; }
@media (max-width: 1023px) { html { scroll-padding-bottom: 96px; } }
/* B03: the day sticker is a pill that grows with its words, readable in both languages. */
.feat-when { width: auto; height: auto; min-width: 0; border-radius: 999px; padding: 10px 16px; white-space: nowrap; font-size: 17px; }
/* B08: footer and standalone links reach 44px. */
.site-foot ul a, .site-foot .fine a, .x-book-wa, .pg-book .note a { display: inline-flex; align-items: center; min-height: 44px; }
/* B11: a pin near the right edge puts its label on the left, inside the map. */
.town-map .pin.is-left .pin-l { left: auto; right: calc(50% + 20px); }

/* Editorial pages: Nuestra historia, Comer y beber, Oro Chocolate (2026-10-10). One vocabulary for the three:
   a hero in the speaking casa's color, numbered chapters that alternate photo and words, a process strip, venue
   blocks, a quote band and a closing band. Built from the same tokens and type as the house pages. */
.ed-hero h1 { max-width: 12ch; }
.ed-hero .pg-ghero-field .t-lead { max-width: 34rem; }
.ed-chap { display: grid; gap: var(--space-5); align-items: center; padding: var(--space-7) 0; }
.ed-chap + .ed-chap { border-top: 1px solid var(--line, rgba(33, 32, 30, 0.12)); }
.ed-chap .ed-pics { display: grid; grid-template-columns: 2fr 1fr; gap: var(--space-2); align-items: end; }
.ed-chap .ed-pics .ph:first-child { aspect-ratio: 4 / 5; }
.ed-chap .ed-pics .ph:nth-child(2) { aspect-ratio: 3 / 4; }
.ed-chap .ed-pics.is-one { grid-template-columns: 1fr; }
.ed-chap .ed-pics.is-one .ph { aspect-ratio: 3 / 2; }
.ed-chap .ed-txt { display: grid; gap: var(--space-3); max-width: 36rem; }
.ed-num { font: 800 15px/1 var(--font-display); font-variation-settings: "SOFT" 100, "WONK" 1; color: var(--ink); display: flex; align-items: center; gap: 10px; }
.ed-num::before { content: ""; width: 28px; height: 3px; background: var(--casa-2, var(--sol)); }
.ed-txt p { margin: 0; }
.ed-txt .x-actions { margin-top: var(--space-2); }
.ed-more { font-weight: 700; color: var(--ink); text-decoration: underline; text-decoration-color: var(--casa-2, var(--sol)); text-decoration-thickness: 3px; text-underline-offset: 4px; }
@media (min-width: 900px) {
  .ed-chap { grid-template-columns: 7fr 5fr; gap: var(--space-7); padding: var(--space-8) 0; }
  .ed-chap.is-flip .ed-pics { order: 2; }
  .ed-chap.is-flip { grid-template-columns: 5fr 7fr; }
}
.ed-band { background: var(--casa); color: var(--on-casa); padding: var(--space-8) 0; position: relative; overflow: hidden; }
.ed-band blockquote { margin: 0; max-width: 22ch; font: 800 clamp(30px, 5vw, 56px)/1.05 var(--font-display); font-variation-settings: "SOFT" 100, "WONK" 1; letter-spacing: -0.5px; }
.ed-band p { max-width: 38rem; margin-top: var(--space-4); }
.ed-loop { list-style: none; margin: var(--space-6) 0 0; padding: 0; display: grid; gap: var(--space-3); counter-reset: loop; }
.ed-loop li { counter-increment: loop; border: 1px solid currentColor; padding: var(--space-4); display: grid; gap: 6px; align-content: start; position: relative; }
.ed-loop li::before { content: counter(loop); font: 800 28px/1 var(--font-display); color: var(--casa-2, var(--sol)); }
.ed-loop b { font-size: 18px; }
@media (min-width: 900px) {
  .ed-loop { grid-template-columns: repeat(4, 1fr); }
  .ed-loop li:not(:last-child)::after { content: "→"; position: absolute; right: -18px; top: 50%; transform: translateY(-50%); font-size: 22px; color: var(--casa-2, var(--sol)); }
  .ed-loop li:last-child::after { content: "↺"; position: absolute; right: 12px; top: 12px; font-size: 22px; color: var(--casa-2, var(--sol)); }
}
.ed-steps { display: grid; grid-auto-flow: column; grid-auto-columns: 78%; gap: var(--space-3); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: var(--space-3); list-style: none; margin: 0; padding-left: 0; counter-reset: step; }
.ed-steps li { scroll-snap-align: start; counter-increment: step; display: grid; gap: var(--space-2); align-content: start; }
.ed-steps .ph { aspect-ratio: 4 / 5; }
.ed-steps h3 { margin: 0; display: flex; gap: 10px; align-items: baseline; }
.ed-steps h3::before { content: counter(step, decimal-leading-zero); font: 800 14px/1 var(--font-text); color: var(--casa-mark, var(--ink)); }
.ed-steps p { margin: 0; color: var(--ink-muted); }
.ed-steps .ed-where { font: 600 14px/18px var(--font-text); letter-spacing: 1px; text-transform: uppercase; color: var(--casa-mark, var(--ink)); }
@media (min-width: 1024px) { .ed-steps { grid-auto-flow: row; grid-template-columns: repeat(3, 1fr); overflow: visible; row-gap: var(--space-6); } }
.ed-venue { display: grid; gap: var(--space-5); padding: var(--space-7) 0; }
.ed-venue + .ed-venue { border-top: 1px solid var(--line, rgba(33, 32, 30, 0.12)); }
.ed-venue .ed-mosaic { display: grid; grid-template-columns: repeat(6, 1fr); gap: var(--space-2); }
.ed-venue .ed-mosaic .ph { aspect-ratio: 1; grid-column: span 2; }
.ed-venue .ed-mosaic .ph:first-child { grid-column: span 6; aspect-ratio: 16 / 10; }
.ed-venue .ed-mosaic.is-field { display: block; }
.ed-venue .ed-mosaic .field { min-height: 320px; justify-content: flex-end; }
.ed-venue .ed-mosaic .field .ico { width: 64px; height: 64px; }
.ed-venue dl { margin: var(--space-2) 0 0; display: grid; gap: var(--space-2); }
.ed-venue dl div { display: grid; grid-template-columns: 8rem 1fr; gap: var(--space-3); padding: var(--space-2) 0; border-bottom: 1px solid var(--line, rgba(33, 32, 30, 0.12)); }
.ed-venue dt { font: 600 14px/20px var(--font-text); letter-spacing: 1px; text-transform: uppercase; color: var(--ink-muted); }
.ed-venue dd { margin: 0; }
.ed-tag { display: inline-block; align-self: start; justify-self: start; background: var(--casa); color: var(--on-casa); font: 700 14px/1 var(--font-text); letter-spacing: 1px; text-transform: uppercase; padding: 8px 10px; }
@media (min-width: 900px) {
  .ed-venue { grid-template-columns: 7fr 5fr; gap: var(--space-7); align-items: start; padding: var(--space-8) 0; }
  .ed-venue.is-flip .ed-mosaic { order: 2; }
  .ed-venue.is-flip { grid-template-columns: 5fr 7fr; }
}
.ed-products { display: grid; gap: var(--space-5); align-items: center; }
.ed-products ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.ed-products li { display: grid; grid-template-columns: 14px 1fr; gap: 12px; align-items: baseline; padding: var(--space-3) 0; border-bottom: 1px solid var(--line, rgba(33, 32, 30, 0.12)); }
.ed-products li i { width: 14px; height: 14px; border-radius: 50%; display: block; background: var(--dot, var(--oro)); transform: translateY(2px); }
.ed-products .ph { aspect-ratio: 3 / 4; }
@media (min-width: 900px) { .ed-products { grid-template-columns: 5fr 7fr; gap: var(--space-7); } }
.ed-faq { display: grid; gap: var(--space-2); max-width: 52rem; }
.ed-faq details { border-bottom: 1px solid var(--line, rgba(33, 32, 30, 0.12)); padding: var(--space-3) 0; }
.ed-faq summary { cursor: pointer; font-weight: 700; font-size: 18px; list-style: none; display: flex; justify-content: space-between; gap: var(--space-3); }
.ed-faq summary::after { content: "+"; font-size: 24px; line-height: 1; color: var(--casa-mark, var(--ink)); }
.ed-faq summary::after { transition: transform .2s var(--ease-out, ease); } .ed-faq details[open] summary::after { transform: rotate(45deg); }
.ed-faq details p { margin: var(--space-2) 0 0; max-width: 44rem; }
.ed-end { background: var(--arena); padding: var(--space-8) 0; position: relative; overflow: hidden; }
.ed-end::before { content: ""; position: absolute; inset: 0; background: url("../patterns/granada-tile-bronze.svg") center / 96px repeat; opacity: 0.12; }
.ed-end .wrap { position: relative; display: grid; gap: var(--space-4); }
.ed-end h2 { max-width: 16ch; }
@media (min-width: 900px) { .ed-end .wrap { grid-template-columns: 7fr 5fr; align-items: end; } }

/* Experiences hub, the other tours (2026-10-10): grouped, one price per card, the whole card opens its page. */
.exp-ride[hidden] { display: none !important; }
.exp-sub { margin-top: var(--space-7); }
.exp-sub-h { display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--space-3); border-bottom: var(--stroke-rule, 2px) solid var(--ink); padding-bottom: var(--space-2); }
.exp-sub-h h3, .exp-sub-h p { margin: 0; }
#g-mas .exp { position: relative; }
#g-mas .exp-link { color: inherit; text-decoration: none; }
#g-mas .exp-link::after { content: ""; position: absolute; inset: 0; z-index: 1; }
#g-mas .exp .x-actions { position: relative; z-index: 2; }
#g-mas .exp:hover .exp-link { text-decoration: underline; text-decoration-color: var(--sol); text-decoration-thickness: 3px; text-underline-offset: 4px; }
#g-mas .exp:hover .exp-ph img { transform: scale(1.03); }
#g-mas .exp-ph img { transition: transform var(--duration-scene, .4s) var(--ease-out, ease); }
.exp-from { font-weight: 700; font-variant-numeric: tabular-nums; margin: 0; }
@media (prefers-reduced-motion: reduce) { #g-mas .exp:hover .exp-ph img { transform: none; } }

/* Experience categories (owner review 2026-10-10): one accent per group, the same on the hub, the cards, the detail
   pages and the booking form. Ours = sol, sea = mar, land = selva, rest = buganvilia. */
.co-cat-nuestras { --cat: var(--sol); --on-cat: var(--on-light); }
.co-cat-mar { --cat: var(--mar); --on-cat: var(--on-dark); }
.co-cat-tierra { --cat: var(--selva); --on-cat: var(--on-dark); }
.co-cat-descanso { --cat: var(--buganvilia); --on-cat: var(--on-dark); }
.exp-sub-h { border-bottom-color: var(--cat, var(--ink)); }
.exp-sub-h h3 { display: flex; align-items: center; gap: 10px; }
.exp-sub-h h3::before { content: ""; width: 14px; height: 14px; border-radius: 50%; background: var(--cat, var(--ink)); }
#g-mas .exp { border-top: 4px solid var(--cat, transparent); padding-top: var(--space-2); }
.exp-pick { margin-top: var(--space-3); padding: var(--space-3) var(--space-3) var(--space-2); border-left: 4px solid var(--cat, var(--line)); background: color-mix(in srgb, var(--cat, transparent) 7%, transparent); }
.exp-pick-h { margin: 0 0 var(--space-2); font: 700 14px/18px var(--font-text); letter-spacing: 1px; text-transform: uppercase; }
.exp-pick .pg-check input { accent-color: var(--cat, var(--ink)); }
.exp-pick .pg-check:has(input:checked) { border-color: var(--cat, var(--ink)); box-shadow: inset 0 0 0 1px var(--cat, var(--ink)); }

/* Experience detail as a product page: how it goes, the facts as cards, photos, questions. */
.is-detail .feat-txt .x-actions { margin-top: var(--space-4); }
.exp-steps { padding: var(--space-7) 0 var(--space-4); }
.exp-steps ol { list-style: none; margin: var(--space-4) 0 0; padding: 0; display: grid; gap: var(--space-4); counter-reset: st; }
.exp-steps li { counter-increment: st; position: relative; padding-left: 56px; }
.exp-steps li::before { content: counter(st); position: absolute; left: 0; top: 0; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--cat, var(--sol)); color: var(--on-cat, var(--ink)); font: 800 18px/1 var(--font-display); }
.exp-steps li:not(:last-child)::after { content: ""; position: absolute; left: 19px; top: 44px; bottom: calc(-1 * var(--space-4) + 4px); width: 2px; background: var(--line-strong, rgba(33,32,30,.2)); }
.exp-steps h3 { margin: 6px 0 4px; }
.exp-steps p { margin: 0; color: var(--ink-muted); max-width: 40rem; }
@media (min-width: 1024px) {
  .exp-steps ol { grid-auto-flow: column; grid-auto-columns: 1fr; gap: var(--space-5); }
  .exp-steps li { padding-left: 0; padding-top: 56px; }
  .exp-steps li:not(:last-child)::after { left: 48px; right: calc(-1 * var(--space-5) + 4px); top: 19px; bottom: auto; width: auto; height: 2px; }
}
.exp-cards { display: grid; gap: var(--space-3); padding: var(--space-5) 0; }
@media (min-width: 760px) { .exp-cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .exp-cards { grid-template-columns: repeat(4, 1fr); } }
.exp-card { background: var(--surface-raised); border-top: 4px solid var(--cat, var(--sol)); padding: var(--space-4); }
.exp-card h2 { margin: 0 0 var(--space-2); }
.exp-card p { margin: 0; }
.exp-card .exp-dl > div { grid-template-columns: 1fr; gap: 2px; }
.exp-gallery { display: grid; grid-auto-flow: column; grid-auto-columns: 80%; gap: var(--space-3); overflow-x: auto; scroll-snap-type: x mandatory; padding: var(--space-3) 0; margin: 0; }
.exp-gallery .ph { margin: 0; aspect-ratio: 4 / 3; scroll-snap-align: start; }
@media (min-width: 1024px) { .exp-gallery { grid-auto-flow: row; grid-template-columns: repeat(3, 1fr); overflow: visible; } }
.exp-others h2 { margin: 0 0 var(--space-4); }
.exp-others ul { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-3); }
@media (min-width: 1024px) { .exp-others ul { grid-template-columns: repeat(4, 1fr); } }
.exp-others li a { display: grid; gap: 4px; padding: 0 0 var(--space-2); border: 0; border-radius: 0; border-bottom: 4px solid var(--cat, var(--sol)); min-height: 0; }
.exp-others li .ph { aspect-ratio: 4 / 3; margin-bottom: var(--space-2); }
.exp-others li b { font-family: var(--font-display); font-size: 19px; line-height: 1.2; }

/* The booking card answers a "choose dates" click with a short pulse. */
@keyframes co-pulse { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--casa, var(--sol)) 70%, transparent); } 100% { box-shadow: 0 0 0 18px transparent; } }
#reservar.is-pulse { animation: co-pulse 0.9s var(--ease-out, ease-out) 2; }
@media (prefers-reduced-motion: reduce) { #reservar.is-pulse { animation: none; outline: 3px solid var(--casa, var(--sol)); } }

/* House rules grid (replaces the policy list). */
.pg-rules { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-3); }
.pg-rules li { display: grid; gap: 2px; align-content: start; background: var(--surface-raised); border-top: 3px solid var(--casa, var(--sol)); padding: var(--space-3); }
.pg-rules .ico { width: 28px; height: 28px; color: var(--casa-mark, var(--ink)); margin-bottom: 4px; }
.pg-rules b { font-size: 16px; }
.pg-rules span { color: var(--ink-muted); font-size: 15px; }
@media (min-width: 1100px) { .pg-rules { grid-template-columns: repeat(3, 1fr); } }


/* One pattern per house (owner review 2026-10-10): Casa Oro the Granada tile, El Pacífico the fan (brand book §9),
   and three new tiles drawn from each house: waves for Nuestra Casa, arches for Casa Andalucía, brick for Casa Ruth. */
.co-casa-nuestra .pg-hero-pat::before { background: url("../patterns/olas-tile-cal.svg") 0 50% / 64px 32px repeat; opacity: 0.35; }
.co-casa-andalucia .pg-hero-pat::before { background: url("../patterns/arcos-tile-cal.svg") 0 0 / 48px 48px repeat-x; opacity: 0.3; }
.co-casa-ruth .pg-hero-pat::before { background: url("../patterns/ladrillo-tile-ink.svg") 0 0 / 56px 28px repeat; opacity: 0.18; }
.ed-quote { margin: var(--space-2) 0; padding-left: var(--space-4); border-left: 4px solid var(--casa-2, var(--sol)); font: 700 24px/1.3 var(--font-display); font-variation-settings: "SOFT" 100, "WONK" 1; }
.ed-quote span { display: block; margin-top: var(--space-2); font: 400 15px/1.4 var(--font-text); color: var(--ink-muted); }
.ed-products .ph.is-wide { aspect-ratio: 4 / 3; }

/* Room photo strip: swipe on phones, scroll-snap on desktop; the dots jump to a photo. */
.room-ph > .ph { position: absolute; inset: 0; }
.room-car { position: absolute; inset: 0; display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.room-car::-webkit-scrollbar { display: none; }
.room-car .ph { flex: 0 0 100%; margin: 0; scroll-snap-align: start; }
.room-car:focus-visible { outline: 3px solid var(--casa, var(--sol)); outline-offset: -3px; }
.room-dots { position: absolute; left: 0; right: 0; bottom: 10px; display: flex; justify-content: center; gap: 6px; z-index: 2; }
.room-dots a { width: 8px; height: 8px; border-radius: 50%; background: rgba(250, 246, 238, 0.7); box-shadow: 0 0 0 1px rgba(33, 32, 30, 0.25); }
.room-dots a.is-on { background: var(--cal); width: 20px; border-radius: 4px; }
.co-loop { display: block; width: 100%; height: 100%; object-fit: cover; background: var(--casa, var(--arena)); }
.room-book.co-btn { padding-top: 0; align-self: flex-start; color: var(--on-casa, var(--on-light)); }
.room-book.co-btn-outline { color: var(--ink); }

/* Packages (2026-10-10) */
.pk-grid { display: grid; gap: var(--space-4); }
@media (min-width: 900px) { .pk-grid { grid-template-columns: repeat(3, 1fr); } }
.pk { background: var(--surface-raised); border-top: 6px solid var(--sol); padding: var(--space-5); display: grid; gap: var(--space-3); align-content: start; }
.pk-n { margin: 0; font: 600 18px/1 var(--font-text); }
.pk-n b { font: 800 64px/1 var(--font-display); font-variation-settings: "SOFT" 100, "WONK" 1; margin-right: 6px; }
.pk-price { margin: 0; font: 800 28px/1.1 var(--font-display); }
.pk-price span { display: block; font: 400 15px/1.4 var(--font-text); color: var(--ink-muted); margin-top: 4px; }
.pk .co-btn { justify-self: start; margin-top: var(--space-2); }
.pk-eg { margin-top: var(--space-4); color: var(--ink-muted); max-width: 46rem; }
.pk-nights { display: flex; flex-wrap: wrap; gap: var(--space-2); border: 0; padding: 0; }
.pk-band { display: grid; gap: var(--space-2); align-items: center; margin-top: var(--space-6); padding: var(--space-5); background: var(--mar); color: var(--on-dark, #fff); text-decoration: none; }
.pk-band .label { color: inherit; }
.pk-band .co-btn { justify-self: start; }
@media (min-width: 900px) { .pk-band { grid-template-columns: auto 1fr auto; gap: var(--space-5); } }
/* Photo dots: a 24px tap area around the small dot (Lighthouse target-size). */
.room-dots { gap: 0; }
.room-dots a { position: relative; width: 24px; height: 24px; background: none; box-shadow: none; border-radius: 0; }
.room-dots a::before { content: ""; position: absolute; left: 50%; top: 50%; width: 8px; height: 8px; transform: translate(-50%, -50%); border-radius: 4px; background: rgba(250, 246, 238, 0.7); box-shadow: 0 0 0 1px rgba(33, 32, 30, 0.25); transition: width .2s; }
.room-dots a.is-on { width: 24px; border-radius: 0; background: none; }
.room-dots a.is-on::before { width: 18px; background: var(--cal); }
.pg-where .where-go { margin-top: var(--space-4); }
