/* Casa Marjeleta — estructura de ficha de alojamiento: mosaico de fotos, contenido + panel de reserva fijo. */

:root {
  --background: oklch(97.4% 0.011 85);
  --foreground: oklch(24% 0.035 245);
  --card: oklch(99.3% 0.005 85);
  --surface: oklch(99.6% 0.004 85);
  --sand: oklch(93.5% 0.022 80);
  --primary: oklch(27% 0.045 240);
  --primary-foreground: oklch(96% 0.012 85);
  --secondary: oklch(94% 0.016 82);
  --muted: oklch(91% 0.016 80);
  --muted-foreground: oklch(45% 0.025 245);
  --destructive: oklch(52% 0.19 27);
  --border: oklch(87% 0.018 80);
  --honey: oklch(53% 0.13 42);
  --honey-soft: oklch(93% 0.035 55);
  --on-accent: #fff;
  --section-tint: var(--sand);
  --card-shadow: 0 1px 2px oklch(24% 0.035 245 / .06), 0 18px 40px -22px oklch(24% 0.035 245 / .35);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --radius: .75rem;
  --header-h: 4.25rem;
  --font-display: "Cormorant Garamond", "Iowan Old Style", Georgia, serif;
  --font-body: "Mulish", "Segoe UI", sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --background: oklch(19% 0.022 245); --foreground: oklch(94% 0.012 85); --card: oklch(23% 0.024 245);
    --surface: oklch(25% 0.024 245); --sand: oklch(22% 0.022 245); --primary: oklch(14.5% 0.02 245);
    --primary-foreground: oklch(95% 0.012 85); --secondary: oklch(27% 0.024 245); --muted: oklch(28% 0.02 245);
    --muted-foreground: oklch(74% 0.02 80); --destructive: oklch(70% 0.16 27); --border: oklch(33% 0.022 245);
    --honey: oklch(74% 0.12 50); --honey-soft: oklch(30% 0.04 50); --on-accent: oklch(18% 0.03 245);
    --card-shadow: 0 1px 2px rgba(0,0,0,.3), 0 18px 40px -20px rgba(0,0,0,.7);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --background: oklch(19% 0.022 245); --foreground: oklch(94% 0.012 85); --card: oklch(23% 0.024 245);
  --surface: oklch(25% 0.024 245); --sand: oklch(22% 0.022 245); --primary: oklch(14.5% 0.02 245);
  --primary-foreground: oklch(95% 0.012 85); --secondary: oklch(27% 0.024 245); --muted: oklch(28% 0.02 245);
  --muted-foreground: oklch(74% 0.02 80); --destructive: oklch(70% 0.16 27); --border: oklch(33% 0.022 245);
  --honey: oklch(74% 0.12 50); --honey-soft: oklch(30% 0.04 50); --on-accent: oklch(18% 0.03 245);
  --card-shadow: 0 1px 2px rgba(0,0,0,.3), 0 18px 40px -20px rgba(0,0,0,.7);
  color-scheme: dark;
}

/* ---------- Base ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 1rem); overflow-x: hidden; }
body {
  margin: 0; font-family: var(--font-body); font-size: 1rem; line-height: 1.6;
  font-variant-numeric: lining-nums;
  background: var(--background); color: var(--foreground); overflow-x: clip;
  -webkit-font-smoothing: antialiased; transition: background-color .3s ease, color .3s ease;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 2px solid var(--honey); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--honey); color: var(--on-accent); }
.font-display, .intro-title, .h2, .h3, .block-title, .booking-title, .logo-name { font-family: var(--font-display); font-weight: 600; }

.wrap { max-width: 74rem; margin: 0 auto; padding: 0 1.25rem; }
.wrap-wide { max-width: 86rem; margin: 0 auto; padding: 0 1.25rem; }
@media (min-width: 640px) { .wrap, .wrap-wide { padding: 0 2rem; } }

.h2 { margin: 0; font-size: clamp(2.2rem, 4.6vw, 3.3rem); line-height: 1.02; text-wrap: balance; }
.h3 { margin: 0; font-size: 1.6rem; line-height: 1.15; }
.lead { margin: 1.25rem 0 0; font-size: 1.08rem; line-height: 1.75; color: var(--muted-foreground); max-width: 40rem; }
.muted { color: var(--muted-foreground); font-size: .95rem; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 3rem; padding: .8rem 1.4rem; border: 1px solid transparent; border-radius: .5rem;
  font: 700 .92rem/1.2 var(--font-body); cursor: pointer;
  transition: color .25s var(--ease), background-color .25s var(--ease), border-color .25s var(--ease), transform .2s var(--ease);
}
.btn:active { transform: scale(.98); }
.btn-sm { min-height: 2.75rem; padding: .55rem 1.1rem; font-size: .88rem; }
.btn-block { width: 100%; }
.btn-primary { background: var(--honey); color: var(--on-accent); }
.btn-primary:hover { background: var(--foreground); color: var(--background); }
.btn-primary:disabled { opacity: .55; cursor: wait; }
.btn-outline { border-color: var(--border); color: var(--foreground); background: transparent; }
.btn-outline:hover { border-color: var(--foreground); background: var(--foreground); color: var(--background); }

/* ---------- Cabecera ---------- */
.header {
  position: sticky; top: 0; z-index: 30; background: var(--background);
  border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s;
}
.header.scrolled { border-color: var(--border); box-shadow: 0 8px 24px -20px oklch(24% 0.035 245 / .4); }
.header-inner { display: flex; align-items: center; gap: 1.5rem; min-height: var(--header-h); }
.logo { display: flex; align-items: baseline; gap: .35rem; padding: .6rem 0; line-height: 1; }
.logo-eyebrow { font-size: .7rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--honey); }
.logo-name { font-size: 1.65rem; }
.nav { display: none; align-items: center; gap: 1.6rem; margin-left: auto; }
.nav a { position: relative; display: inline-flex; align-items: center; min-height: 2.75rem; font-size: .9rem; font-weight: 600; color: var(--muted-foreground); transition: color .2s; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: .45rem; height: 2px; background: var(--honey); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.nav a:hover, .nav a.activo { color: var(--foreground); }
.nav a.activo::after, .nav a:hover::after { transform: scaleX(1); }
.header-tools { display: flex; align-items: center; gap: .35rem; margin-left: auto; }
@media (min-width: 960px) { .nav { display: flex; } .header-tools { margin-left: 1rem; } .burger { display: none !important; } }

.lang-switch { position: relative; }
.lang-toggle, .theme-toggle, .burger {
  width: 2.75rem; height: 2.75rem; padding: 0; border: 0; border-radius: .5rem; background: transparent; color: inherit;
  display: flex; align-items: center; justify-content: center; cursor: pointer; transition: background-color .2s;
}
.lang-toggle:hover, .theme-toggle:hover, .burger:hover { background: var(--secondary); }
.lang-toggle svg, .lang-opcion svg { width: 1.3rem; height: auto; border-radius: 2px; display: block; box-shadow: 0 0 0 1px var(--border); }
.lang-menu[hidden] { display: none; }
.lang-menu {
  position: absolute; top: calc(100% + .4rem); right: 0; z-index: 60; padding: .3rem;
  display: flex; flex-direction: column; gap: .1rem;
  background: var(--card); border: 1px solid var(--border); border-radius: .6rem; box-shadow: var(--card-shadow);
  animation: pop .22s var(--ease);
}
.lang-opcion { min-height: 2.75rem; padding: 0 .9rem 0 .7rem; border-radius: .4rem; display: flex; align-items: center; gap: .7rem; font-size: .9rem; font-weight: 600; white-space: nowrap; }
.lang-opcion[aria-current="true"] { color: var(--honey); }
.lang-opcion:hover { background: var(--secondary); }
.icon-moon { display: none; }
:root[data-theme="dark"] .icon-sun { display: none; }
:root[data-theme="dark"] .icon-moon { display: block; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .icon-sun { display: none; }
  :root:not([data-theme="light"]) .icon-moon { display: block; }
}
.burger { flex-direction: column; gap: 5px; position: relative; z-index: 45; }
.burger span { width: 20px; height: 1.5px; background: currentColor; transition: transform .3s var(--ease), opacity .2s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.nav.open {
  display: flex; flex-direction: column; align-items: stretch; gap: 0;
  position: fixed; inset: var(--header-h) 0 0 0; z-index: 40; margin: 0; padding: 1rem 1.25rem 2rem;
  background: var(--background); border-top: 1px solid var(--border); animation: menu-in .35s var(--ease);
}
.nav.open a { min-height: 3.5rem; border-bottom: 1px solid var(--border); font-family: var(--font-display); font-size: 1.7rem; font-weight: 600; color: var(--foreground); }
.nav.open a::after { display: none; }
@keyframes menu-in { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
body.menu-abierto { overflow: hidden; }
body.menu-abierto .barra-reserva, body.menu-abierto .whatsapp-fab { display: none; }

/* ---------- Cabecera de ficha ---------- */
.intro { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1rem 2rem; padding-top: 2rem; padding-bottom: 1.5rem; }
.intro-sub { display: block; margin-top: .55rem; font-family: var(--font-body); font-size: clamp(1rem, 2vw, 1.15rem); font-weight: 600; letter-spacing: 0; line-height: 1.4; color: var(--muted-foreground); }
.intro-title { margin: 0; font-size: clamp(2.8rem, 7vw, 5rem); line-height: .95; letter-spacing: -.01em; animation: rise .8s var(--ease) both; }
.intro-meta { margin: .9rem 0 0; display: flex; flex-wrap: wrap; align-items: center; gap: .25rem 1.1rem; font-size: .95rem; color: var(--muted-foreground); animation: rise .8s .1s var(--ease) both; }
.intro-meta > * { display: inline-flex; align-items: center; gap: .35rem; min-height: 2rem; }
.intro-meta > * + *::before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: var(--border); margin-right: .75rem; }
.intro-meta a { color: var(--foreground); text-decoration: underline; text-decoration-color: var(--border); text-underline-offset: 4px; transition: text-decoration-color .2s; }
.intro-meta a:hover { text-decoration-color: var(--honey); }
.intro-rating svg { color: var(--honey); }
.intro-rating b { font-weight: 800; }
.intro-fotos { animation: rise .8s .15s var(--ease) both; }

/* ---------- Mosaico de fotos ---------- */
.mosaic { position: relative; }
.gallery {
  display: grid; grid-auto-flow: column; grid-auto-columns: 84%; gap: .5rem;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  border-radius: var(--radius);
}
.gallery::-webkit-scrollbar { display: none; }
.tile { position: relative; margin: 0; aspect-ratio: 4 / 3; overflow: hidden; background: var(--muted); scroll-snap-align: start; border-radius: var(--radius); cursor: pointer; animation: tile-in .9s calc(var(--i, 0) * 90ms + .15s) var(--ease) both; }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease), filter .4s; }
.tile:hover img, .tile:focus-visible img { transform: scale(1.05); }
.tile::after { content: ""; position: absolute; inset: 0; background: oklch(18% 0.03 245 / .18); opacity: 0; transition: opacity .3s; pointer-events: none; }
.tile:hover::after { opacity: 1; }
@keyframes tile-in { from { opacity: 0; clip-path: inset(8% 8% 8% 8%); } to { opacity: 1; clip-path: inset(0); } }
@media (min-width: 768px) {
  .gallery {
    grid-auto-flow: row; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: repeat(2, minmax(0, 1fr));
    height: clamp(22rem, 44vw, 34rem); overflow: hidden; border-radius: calc(var(--radius) + .25rem);
  }
  .tile { aspect-ratio: auto; border-radius: .25rem; }
  .tile:first-child { grid-row: span 2; }
  .tile:nth-child(n+6) { display: none; }
}

/* ---------- Ficha: contenido + panel ---------- */
.listing { display: flex; flex-direction: column; padding-top: 1rem; padding-bottom: 4rem; }
.listing-main { display: contents; }
.block-casa { order: 1; } .block-comodidades { order: 2; } .listing-aside { order: 3; }
.block-zona { order: 4; } .block-resenas { order: 5; } .block-ubicacion { order: 6; } .block-faq { order: 7; }
@media (min-width: 1024px) {
  .listing { display: grid; grid-template-columns: minmax(0, 1fr) 23.5rem; gap: 4.5rem; align-items: start; padding-top: 2rem; padding-bottom: 6rem; }
  .listing-main { display: block; }
}
.block { padding: 2.75rem 0; border-top: 1px solid var(--border); }
.block-casa { border-top: 0; padding-top: 1.5rem; }
.block-title { margin: 0; font-size: clamp(1.9rem, 3.4vw, 2.4rem); line-height: 1.05; }
.block-sub { margin: .6rem 0 0; color: var(--muted-foreground); max-width: 38rem; }
.block-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .5rem 1.5rem; }

.facts { list-style: none; margin: 0 0 2rem; padding: 0 0 1.75rem; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; border-bottom: 1px solid var(--border); }
@media (min-width: 640px) { .facts { display: flex; flex-wrap: wrap; gap: 1rem 2.25rem; } }
.facts li { display: flex; align-items: center; gap: .65rem; font-size: .98rem; color: var(--muted-foreground); }
.facts svg { flex-shrink: 0; color: var(--honey); }
.facts b { color: var(--foreground); font-weight: 800; }

.amenities { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.3rem 2rem; }
@media (min-width: 640px) { .amenities { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.amenities li { display: flex; gap: .9rem; align-items: flex-start; }
.amenity-icon { flex-shrink: 0; width: 1.5rem; padding-top: .15rem; color: var(--honey); display: flex; transition: transform .4s var(--ease); }
.amenity-icon svg { width: 22px; height: 22px; }
.amenities li:hover .amenity-icon { transform: translateY(-2px) rotate(-6deg); }
.amenities b { display: block; font-weight: 700; }
.amenities small { display: block; font-size: .9rem; color: var(--muted-foreground); }

/* Zona */
.zona-list { margin-top: 1.75rem; display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.75rem; }
@media (min-width: 640px) { .zona-list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; } }
.zona-item figure { margin: 0 0 .9rem; overflow: hidden; border-radius: var(--radius); aspect-ratio: 4 / 3; background: var(--muted); }
.zona-item img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); transition: transform 1.4s var(--ease); }
.zona-item.reveal { opacity: 1; transform: none; }
.zona-item.reveal figure { clip-path: inset(0 0 100% 0); transition: clip-path 1s var(--ease); }
.zona-item:nth-child(2).reveal figure { transition-delay: .12s; }
.zona-item:nth-child(3).reveal figure { transition-delay: .24s; }
.zona-item.in-view figure { clip-path: inset(0); }
.zona-item.in-view img { transform: scale(1); }
.zona-item:hover img { transform: scale(1.04); }
.zona-dist { margin: 0 0 .25rem; font-size: .82rem; font-weight: 700; color: var(--honey); }
.zona-item .h3 { font-size: 1.45rem; }
.zona-text { margin: .4rem 0 0; font-size: .93rem; color: var(--muted-foreground); line-height: 1.6; }

/* Reseñas: tira deslizable a mano */
.reviews-resumen { margin: 0; display: inline-flex; align-items: center; gap: .45rem; color: var(--muted-foreground); font-size: .95rem; }
.reviews-resumen b { font-family: var(--font-display); font-size: 2rem; font-weight: 600; line-height: 1; color: var(--foreground); }
.reviews-resumen svg { color: var(--honey); width: 18px; height: 18px; }
.reviews-carousel { margin: 1.5rem -1.25rem 0; padding: 0 1.25rem; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; scrollbar-color: var(--border) transparent; }
@media (min-width: 640px) { .reviews-carousel { margin: 1.5rem 0 0; padding: 0; } }
.reviews-carousel-track { display: flex; gap: 1rem; padding-bottom: 1rem; }
.review-slide { width: min(19rem, 80vw); flex-shrink: 0; scroll-snap-align: start; }
.review-slide[aria-hidden="true"] { display: none; }
.review {
  padding: 1.4rem; display: flex; flex-direction: column; color: inherit;
  background: var(--sand); border: 0; border-radius: var(--radius); box-shadow: none;
  transition: transform .35s var(--ease), background-color .3s;
}
.review:hover { transform: translateY(-3px); background: var(--honey-soft); }
.review-head { order: 3; display: flex; align-items: center; justify-content: space-between; gap: .75rem; margin-top: 1.1rem; padding-top: .9rem; border-top: 1px solid var(--border); font-size: .88rem; }
.review-head b { display: block; font-weight: 800; }
.review-head small { display: block; color: var(--muted-foreground); }
.quote-mark { display: none; }
.review p { order: 2; flex: 1; margin: 0; font-family: var(--font-display); font-size: 1.28rem; font-weight: 500; line-height: 1.35; }
.rating { display: inline-flex; align-items: center; gap: .3rem; flex-shrink: 0; font-size: .85rem; font-weight: 800; }
.rating svg { color: var(--honey); }

/* Ubicación */
.location-grid { margin-top: 1.5rem; display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }
.location-map { order: -1; overflow: hidden; border-radius: var(--radius); background: var(--muted); }
.location-map iframe { width: 100%; height: 300px; border: 0; display: block; filter: saturate(.7); }
:root[data-theme="dark"] .location-map iframe { filter: invert(.9) hue-rotate(180deg) saturate(.5); }
.location-info { display: grid; grid-template-columns: minmax(0, 1fr); gap: .9rem 2rem; background: none; border: 0; box-shadow: none; padding: 0; }
@media (min-width: 640px) { .location-info { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .distance-list { grid-column: 2; grid-row: 1 / span 4; } }
.location-line { display: flex; align-items: center; gap: .8rem; margin: 0; }
.location-icon-box { flex-shrink: 0; color: var(--honey); display: flex; }
.location-info a[href^="tel"], .location-info a[href^="mailto"] { text-decoration: underline; text-decoration-color: var(--honey); text-underline-offset: 4px; word-break: break-word; }
.location-btn { justify-self: start; }
.distance-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.distance-list li { display: flex; align-items: baseline; justify-content: space-between; gap: .75rem; padding: .55rem 0; border-bottom: 1px dashed var(--border); font-size: .93rem; color: var(--muted-foreground); }
.distance-list li span:last-child { text-align: right; }
.distance-num { order: 2; flex-shrink: 0; font-weight: 800; color: var(--foreground); }

/* FAQ */
.faq-list { margin-top: 1rem; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item summary {
  cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  min-height: 3.25rem; padding: 1rem 0; font-weight: 700; transition: color .2s;
}
.faq-item summary:hover { color: var(--honey); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: ""; flex-shrink: 0; width: .6rem; height: .6rem; margin-right: .3rem;
  border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-3px); transition: transform .35s var(--ease);
}
.faq-item[open] summary::after { transform: rotate(-135deg) translateY(-3px); }
.faq-item p { margin: 0 0 1.25rem; color: var(--muted-foreground); line-height: 1.7; animation: rise .4s var(--ease); }

/* ---------- Panel de reserva ---------- */
.listing-aside { padding: 2.75rem 0; border-top: 1px solid var(--border); }
@media (min-width: 1024px) {
  .listing-aside { position: sticky; top: calc(var(--header-h) + 1.25rem); padding: 0; border: 0; }
}
.booking-card {
  padding: 1.5rem; background: var(--card); border: 1px solid var(--border); border-radius: calc(var(--radius) + .25rem);
  box-shadow: var(--card-shadow); display: flex; flex-direction: column; gap: .8rem;
  animation: rise .9s .35s var(--ease) both;
}
.booking-kicker { margin: 0; font-size: .85rem; font-weight: 700; color: var(--honey); }
.booking-title { margin: -.4rem 0 .4rem; font-size: 1.9rem; line-height: 1.05; }
.price-cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: .5rem; }
.price-cal-head button, .dp-month-head button {
  width: 2.75rem; height: 2.75rem; border: 1px solid var(--border); border-radius: .5rem; background: none;
  color: var(--foreground); font-size: 1.2rem; line-height: 1; cursor: pointer; transition: background-color .2s, color .2s, border-color .2s;
}
.price-cal-head button:hover, .dp-month-head button:hover:not(:disabled) { background: var(--foreground); border-color: var(--foreground); color: var(--background); }
.price-cal-head span { font-family: var(--font-display); font-weight: 600; font-size: 1.45rem; text-transform: capitalize; }
.dp-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 2px; text-align: center; }
.dp-dow { font-size: .7rem; font-weight: 800; text-transform: uppercase; color: var(--muted-foreground); padding: .25rem 0 .4rem; }
.price-day {
  min-height: 2.9rem; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .1rem;
  padding: 0; border: 1px solid transparent; border-radius: .45rem; background: none; appearance: none; -webkit-appearance: none;
  font: 600 .85rem/1 var(--font-body); color: var(--foreground);
}
.price-day .precio { font-size: .6rem; font-weight: 800; color: var(--honey); }
.price-day.price-pasado { opacity: .3; }
.price-day.price-ocupado { background: repeating-linear-gradient(-45deg, var(--muted) 0 3px, transparent 3px 7px); color: var(--muted-foreground); text-decoration: line-through; }
.price-day.price-ocupado .precio { display: none; }
.price-day.price-click { cursor: pointer; transition: background-color .15s, border-color .15s, transform .2s var(--ease); }
.price-day.price-click:hover, .price-day.price-click:focus-visible { background: var(--honey-soft); border-color: var(--honey); transform: translateY(-1px); outline: none; }
.price-day.price-en-rango { background: var(--honey-soft); border-radius: 0; }
.price-day.price-inicio, .price-day.price-fin { background: var(--foreground); color: var(--background); }
.price-day.price-inicio .precio, .price-day.price-fin .precio { color: var(--background); }
.price-day.price-inicio { border-radius: .45rem 0 0 .45rem; }
.price-day.price-fin { border-radius: 0 .45rem .45rem 0; }
.price-day.price-inicio.price-fin { border-radius: .45rem; }
.price-cal-seleccion { margin: .75rem 0 0; padding: .7rem .85rem; border-radius: .5rem; background: var(--honey-soft); font-size: .88rem; font-weight: 700; animation: rise .35s var(--ease); }
.price-cal-disponibilidad { margin: .6rem 0 0; font-size: .88rem; font-weight: 700; color: var(--honey); }
.price-cal-nota { margin: 0; font-size: .82rem; }
.conditions { list-style: none; margin: .4rem 0 0; padding: .9rem 0 0; border-top: 1px solid var(--border); font-size: .85rem; color: var(--muted-foreground); }
.conditions li { padding: .15rem 0; }

/* ---------- Solicitud de reserva ---------- */
.reserva { background: var(--primary); color: var(--primary-foreground); padding: 4.5rem 0; }
@media (min-width: 768px) { .reserva { padding: 6.5rem 0; } }
.reserva-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2.5rem; }
@media (min-width: 1024px) { .reserva-grid { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 5rem; align-items: start; } }
.reserva .lead { color: oklch(84% 0.015 85); }
.check-list { list-style: none; margin: 2rem 0 0; padding: 0; display: flex; flex-direction: column; gap: .8rem; }
.check-list li { display: flex; align-items: center; gap: .8rem; }
.check-dot { flex-shrink: 0; width: 1.5rem; height: 1.5rem; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--honey); color: var(--on-accent); }
.highlight-box { margin-top: 2.25rem; padding-top: 1.5rem; border-top: 1px solid oklch(100% 0 0 / .15); display: flex; align-items: center; gap: 1.25rem; }
.highlight-num { flex-shrink: 0; font-family: var(--font-display); font-weight: 600; font-size: 3.4rem; line-height: 1; color: oklch(80% 0.1 55); }
.highlight-text { font-size: .9rem; color: oklch(84% 0.015 85); }
.card { background: var(--card); border: 1px solid var(--border); border-radius: calc(var(--radius) + .25rem); }
.form { padding: 1.5rem; color: var(--foreground); box-shadow: 0 30px 60px -30px rgba(0,0,0,.5); }
@media (min-width: 640px) { .form { padding: 2.25rem; } }
.form-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.1rem; margin-bottom: 1.5rem; }
@media (min-width: 640px) { .form-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.field { display: flex; flex-direction: column; gap: .4rem; }
.field-full { grid-column: 1 / -1; }
.field label { font-size: .85rem; font-weight: 700; }
.field input, .field textarea, .dp-trigger {
  width: 100%; min-height: 3rem; padding: .75rem .95rem; border: 1px solid var(--border); border-radius: .5rem;
  background: var(--surface); color: var(--foreground); font: 500 1rem/1.4 var(--font-body); outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.field input::placeholder, .field textarea::placeholder { color: var(--muted-foreground); opacity: .75; }
.field input:focus, .field textarea:focus, .dp-trigger:focus-visible, .dp-trigger.dp-activo {
  border-color: var(--honey); box-shadow: 0 0 0 4px color-mix(in oklch, var(--honey) 18%, transparent); outline: none;
}
.form-note { margin: .9rem 0 0; text-align: center; font-size: .82rem; color: var(--muted-foreground); }
.form-note.form-error { color: var(--destructive); font-weight: 700; }

.dp-field { position: relative; }
.dp-trigger { display: flex; align-items: center; justify-content: space-between; gap: .5rem; cursor: pointer; text-align: left; }
.dp-icon { color: var(--honey); display: flex; }
.dp-panel { margin-top: .5rem; padding: 1rem; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--card-shadow); animation: pop .25s var(--ease); }
.dp-months { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }
@media (min-width: 640px) { .dp-months { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.dp-month-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: .5rem; }
.dp-month-head button:disabled { opacity: .25; cursor: default; }
.dp-month-head span { font-family: var(--font-display); font-weight: 600; font-size: 1.3rem; text-transform: capitalize; }
.dp-day {
  min-height: 2.6rem; display: flex; align-items: center; justify-content: center; padding: 0;
  border: 1px solid transparent; border-radius: .45rem; background: none; color: var(--foreground);
  font: 600 .88rem/1 var(--font-body); cursor: pointer; transition: background-color .15s;
}
.dp-day:hover:not(:disabled) { background: var(--honey-soft); }
.dp-day:disabled { opacity: .35; cursor: not-allowed; text-decoration: line-through; }
.dp-day.dp-empty { visibility: hidden; }
.dp-day.dp-en-rango { background: var(--honey-soft); border-radius: 0; }
.dp-day.dp-inicio, .dp-day.dp-fin { background: var(--foreground); color: var(--background); }
.dp-day.dp-inicio { border-radius: .45rem 0 0 .45rem; }
.dp-day.dp-fin { border-radius: 0 .45rem .45rem 0; }
.dp-day.dp-inicio.dp-fin { border-radius: .45rem; }
.dp-day.dp-hoy:not(.dp-inicio):not(.dp-fin) { box-shadow: inset 0 0 0 1.5px var(--honey); }
.dp-legend { margin-top: .9rem; display: flex; flex-wrap: wrap; gap: 1rem; font-size: .78rem; color: var(--muted-foreground); }
.dp-legend span { display: inline-flex; align-items: center; gap: .4rem; }
.dot { width: .7rem; height: .7rem; border-radius: 50%; display: inline-block; border: 1px solid var(--border); }
.dot-libre { background: var(--surface); }
.dp-swatch { width: .95rem; height: .7rem; border-radius: .2rem; display: inline-block; }
.dp-swatch-range { background: var(--honey-soft); }
.dp-swatch-ocupado { background: var(--muted); }
.dp-foot { margin-top: .9rem; padding-top: .9rem; border-top: 1px solid var(--border); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem; }
.dp-foot-actions { display: flex; gap: .5rem; }
.btn-ghost-sm, .btn-primary-sm { min-height: 2.75rem; padding: .5rem 1.1rem; border-radius: .5rem; font: 700 .85rem/1 var(--font-body); cursor: pointer; transition: background-color .2s, color .2s; }
.btn-ghost-sm { background: none; border: 1px solid var(--border); color: var(--foreground); }
.btn-ghost-sm:hover { background: var(--secondary); }
.btn-primary-sm { background: var(--honey); color: var(--on-accent); border: 0; }
.btn-primary-sm:hover:not(:disabled) { background: var(--foreground); color: var(--background); }
.btn-primary-sm:disabled { opacity: .4; cursor: not-allowed; }

/* ---------- Pie ---------- */
.footer { background: var(--sand); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2rem; padding-top: 3.5rem; padding-bottom: 2rem; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 1fr); gap: 3rem; } }
.footer-brand { display: flex; flex-direction: column; gap: .8rem; }
.footer-tagline { margin: 0; max-width: 22rem; font-size: .92rem; color: var(--muted-foreground); }
.footer-col-title { margin: 0 0 .25rem; font-size: .9rem; font-weight: 800; }
.footer-col { display: flex; flex-direction: column; font-size: .92rem; }
.footer-nav { flex-direction: row; flex-wrap: wrap; column-gap: 1.25rem; }
.footer-nav .footer-col-title { width: 100%; }
.footer-col a { display: inline-flex; align-items: center; min-height: 2.75rem; color: var(--muted-foreground); transition: color .2s; word-break: break-word; }
.footer-col a:hover { color: var(--honey); }
.footer-col span { color: var(--muted-foreground); padding-top: .5rem; }
.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem; padding-top: 1.25rem; padding-bottom: 6rem; border-top: 1px solid var(--border); font-size: .8rem; color: var(--muted-foreground); }
.footer-bottom a { text-decoration: underline; text-underline-offset: 3px; }
@media (min-width: 1024px) { .footer-bottom { padding-bottom: 1.5rem; } }
.footer-watermark { font-size: .62rem; letter-spacing: .1em; opacity: .35; user-select: none; }

/* ---------- Barra de reserva (móvil) y WhatsApp (escritorio) ---------- */
.barra-reserva {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 35; display: flex; align-items: center; gap: .6rem;
  padding: .65rem 1rem calc(.65rem + env(safe-area-inset-bottom)); background: var(--background);
  border-top: 1px solid var(--border); box-shadow: 0 -10px 30px -20px oklch(24% 0.035 245 / .4);
  transform: translateY(110%); transition: transform .45s var(--ease);
}
.barra-reserva.visible { transform: none; }
.barra-reserva p { margin: 0 auto 0 0; display: flex; flex-direction: column; line-height: 1.25; font-size: .78rem; color: var(--muted-foreground); }
.barra-reserva b { font-size: .95rem; color: var(--foreground); }
.barra-wa { width: 2.75rem; height: 2.75rem; display: flex; align-items: center; justify-content: center; border-radius: .5rem; border: 1px solid var(--border); color: #1f9e52; }
.barra-wa svg { width: 22px; height: 22px; }
.whatsapp-fab { display: none; }
@media (min-width: 1024px) {
  .barra-reserva { display: none; }
  .whatsapp-fab {
    position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 35; width: 3.25rem; height: 3.25rem; border-radius: 50%;
    display: flex; align-items: center; justify-content: center; background: #1f9e52; color: #fff;
    box-shadow: 0 10px 24px -8px rgba(0,0,0,.35); transition: transform .3s var(--ease);
  }
  .whatsapp-fab:hover { transform: translateY(-3px); }
}

/* ---------- Aviso ---------- */
.cookie-aviso[hidden] { display: none; }
.cookie-aviso {
  position: fixed; left: 1rem; right: 1rem; bottom: 5rem; z-index: 50; max-width: 34rem; margin: 0 auto;
  padding: 1rem 1.1rem; display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; font-size: .85rem;
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--card-shadow);
  animation: rise .6s 1s var(--ease) both;
}
@media (min-width: 1024px) { .cookie-aviso { bottom: 1.25rem; } }
.cookie-aviso p { margin: 0; flex: 1 1 16rem; }
.cookie-aviso a { text-decoration: underline; }

/* ---------- Visor de fotos ---------- */
.lightbox { border: 0; padding: 0; margin: 0; max-width: none; max-height: none; width: 100vw; height: 100dvh; background: oklch(14% 0.02 245 / .95); color: #fff; }
.lightbox[open] { display: flex; align-items: center; justify-content: center; animation: fade .3s ease; }
.lightbox::backdrop { background: transparent; }
.lightbox img { max-width: min(92vw, 80rem); max-height: 80dvh; object-fit: contain; border-radius: .4rem; animation: pop .35s var(--ease); }
.lightbox p { position: absolute; left: 0; right: 0; bottom: 1.25rem; margin: 0; text-align: center; font-size: .9rem; opacity: .85; }
.lightbox button { position: absolute; width: 3rem; height: 3rem; border-radius: 50%; border: 1px solid rgba(255,255,255,.35); background: oklch(14% 0.02 245 / .6); color: #fff; font-size: 1.4rem; line-height: 1; cursor: pointer; transition: background-color .2s, color .2s; }
.lightbox button:hover { background: #fff; color: oklch(24% 0.035 245); }
.lb-close { top: 1rem; right: 1rem; }
.lb-prev { left: 1rem; top: 50%; translate: 0 -50%; }
.lb-next { right: 1rem; top: 50%; translate: 0 -50%; }

/* ---------- Movimiento ---------- */
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes pop { from { opacity: 0; transform: translateY(-6px) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes hero-zoom { from { transform: scale(1.08); } to { transform: scale(1); } }
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in-view { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .zona-item.reveal figure { clip-path: none; }
}

/* Ajustes de cascada: estos bloques no son tarjetas */
.location-grid .card { border: 0; box-shadow: none; background: none; border-radius: 0; }
.location-grid .location-map { border-radius: var(--radius); background: var(--muted); }
.reviews-carousel .review { background: var(--sand); border: 0; }
.reviews-carousel .review:hover { background: var(--honey-soft); }
@media (max-width: 639px) { .intro-meta { flex-direction: column; align-items: flex-start; gap: 0; } .intro-meta > * + *::before { display: none; } }
