/* ==========================================================
   Beach Homes Perú — estilos del sitio de reservas directas
   Marca: carbón #121417 · arena #FBF6EE · sol #FFC94A (acento puntual)
   Tipos: Anton (titulares, MAYÚSCULAS) + Inter (texto)
   ========================================================== */
:root {
  --carbon: #121417;
  --carbon-2: #23262b;
  --arena: #fbf6ee;
  --arena-2: #f3ece0;
  --arena-3: #e9e0d1;
  --sol: #ffc94a;
  --suave: #5b554d;
  --suave-c: #bdb6aa;
  --linea: #e4dccf;
  --linea-c: #4a4d52;
  --velo: rgba(18, 20, 23, 0.72);
  --blanco: #fffdf9;
  --sombra: 0 14px 32px rgba(18, 20, 23, 0.22);
  --sombra-s: 0 6px 20px rgba(18, 20, 23, 0.12);
  --sombra-pop: 0 18px 50px rgba(18, 20, 23, 0.22);
  --r-card: 20px;
  --r-foto: 16px;
  --display: "Anton", Impact, sans-serif;
  --texto: "Inter", Arial, sans-serif;
  --max: 1280px;
  --gutter: clamp(16px, 4vw, 48px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--arena);
  color: var(--carbon);
  font-family: var(--texto);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
input, select { font: inherit; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.display { font-family: var(--display); font-weight: 400; text-transform: uppercase; line-height: 0.95; letter-spacing: 0.2px; }
.eyebrow { font-weight: 600; text-transform: uppercase; letter-spacing: 0.32em; font-size: 12px; color: var(--suave); }
.sol { color: var(--sol); }
.muted { color: var(--suave); }
:focus-visible { outline: 2px solid var(--carbon); outline-offset: 2px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 246, 238, 0.94);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--linea);
}
.site-header .bar { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: 52px; height: auto; }
.brand .name { font-family: var(--display); font-size: 20px; letter-spacing: 0.06em; line-height: 1; text-transform: uppercase; }
.brand .name small { display: block; font-family: var(--texto); font-weight: 600; font-size: 10px; letter-spacing: 0.34em; color: var(--suave); margin-top: 4px; }
.nav { display: flex; gap: 4px; }
.nav a {
  text-decoration: none; font-weight: 600; font-size: 15px; padding: 10px 16px; border-radius: 999px; color: var(--suave);
  transition: background .2s, color .2s;
}
.nav a:hover { background: var(--arena-2); color: var(--carbon); }
.nav a.active { color: var(--carbon); position: relative; }
.nav a.active::after { content: ""; position: absolute; left: 16px; right: 16px; bottom: 2px; height: 2px; background: var(--carbon); border-radius: 2px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  border: 0; border-radius: 999px; padding: 12px 20px; font-weight: 600; font-size: 15px; text-decoration: none;
  transition: transform .15s ease, box-shadow .2s, background .2s;
}
.btn:active { transform: scale(0.97); }
.btn-dark { background: var(--carbon); color: var(--arena); }
.btn-dark:hover { background: #000; box-shadow: var(--sombra-s); }
.btn-light { background: var(--blanco); color: var(--carbon); border: 1px solid var(--carbon); }
.btn-light:hover { background: var(--arena-2); }
.btn-ghost { background: transparent; border: 1px solid var(--linea); }
.btn svg { width: 18px; height: 18px; flex: none; }
.header-cta .label-long { display: inline; }
@media (max-width: 760px) {
  .nav { display: none; }
  .brand .name { font-size: 17px; }
  .header-cta .label-long { display: none; }
  .header-cta { padding: 12px; }
}
.mobile-tabs { display: none; }
@media (max-width: 760px) {
  .mobile-tabs { display: flex; border-top: 1px solid var(--linea); }
  .mobile-tabs a { flex: 1; text-align: center; padding: 10px; font-weight: 600; font-size: 14px; text-decoration: none; color: var(--suave); }
  .mobile-tabs a.active { color: var(--carbon); box-shadow: inset 0 -2px 0 var(--carbon); }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: min(78vh, 720px); display: flex; align-items: flex-end;
  color: var(--arena); overflow: hidden; background: var(--carbon);
}
.hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(18,20,23,0.15) 0%, rgba(18,20,23,0.05) 35%, rgba(18,20,23,0.78) 100%);
}
.hero .wrap { position: relative; z-index: 2; width: 100%; padding-bottom: 120px; }
.hero .eyebrow { color: var(--arena); opacity: .9; }
.hero h1 { font-size: clamp(54px, 9vw, 128px); margin: 14px 0 18px; max-width: 11ch; }
.hero p.lead { font-size: clamp(16px, 2vw, 20px); max-width: 36ch; margin: 0; color: #efe8dc; }
.zone-pill {
  display: inline-flex; align-items: center; gap: 8px; background: var(--velo); color: var(--arena);
  border-radius: 999px; padding: 8px 14px; font-size: 12px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase;
  backdrop-filter: blur(6px);
}

/* ---------- Barra de búsqueda (estilo app de reservas) ---------- */
.search-dock { position: relative; z-index: 20; margin-top: -48px; }
.searchbar {
  position: relative;
  display: grid; grid-template-columns: 1.25fr 1fr 1fr 1.35fr; align-items: center;
  background: var(--blanco); border: 1px solid var(--linea); border-radius: 999px;
  box-shadow: var(--sombra-pop); max-width: 920px; margin: 0 auto;
}
.searchbar .seg {
  position: relative; display: block; text-align: left; border: 0; background: transparent;
  padding: 14px 26px; border-radius: 999px; min-width: 0; transition: background .15s;
}
.searchbar .seg:hover { background: var(--arena-2); }
.searchbar .seg.on { background: var(--blanco); box-shadow: var(--sombra-s); }
.searchbar.focus { background: var(--arena-2); }
.searchbar .seg + .seg::before { content: ""; position: absolute; left: 0; top: 22%; bottom: 22%; width: 1px; background: var(--linea); }
.searchbar .seg.on::before, .searchbar .seg.on + .seg::before, .searchbar .seg:hover::before, .searchbar .seg:hover + .seg::before { opacity: 0; }
.seg .k { display: block; font-size: 12px; font-weight: 700; letter-spacing: .02em; }
.seg .v { display: block; font-size: 14px; color: var(--suave); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.seg .v.set { color: var(--carbon); font-weight: 500; }
.seg-last { display: flex !important; align-items: center; justify-content: space-between; gap: 8px; padding-right: 8px !important; }
.search-go {
  flex: none; display: inline-flex; align-items: center; gap: 8px; height: 48px; min-width: 48px; padding: 0 16px;
  border-radius: 999px; border: 0; background: var(--carbon); color: var(--arena); font-weight: 600;
}
.search-go svg { width: 18px; height: 18px; }
.search-go .txt { display: none; }
.searchbar.focus .search-go .txt { display: inline; }

.pop {
  position: absolute; top: calc(100% + 12px); z-index: 60; background: var(--blanco); border-radius: 28px;
  box-shadow: var(--sombra-pop); border: 1px solid var(--linea); padding: 24px; display: none;
}
.pop.open { display: block; animation: popIn .16s ease-out; }
@keyframes popIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.pop-zone { left: 0; width: 420px; }
.pop-dates { left: 50%; transform: translateX(-50%); width: 780px; max-width: calc(100vw - 32px); }
.pop-dates.open { animation: none; }
.pop-guests { right: 0; width: 400px; }
.zone-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.zone-opt { border: 0; background: transparent; text-align: left; padding: 0; border-radius: 16px; }
.zone-opt .ph { aspect-ratio: 2.2; border-radius: 14px; overflow: hidden; border: 2px solid transparent; transition: border-color .15s; }
.zone-opt .ph img { width: 100%; height: 100%; object-fit: cover; }
.zone-opt span { display: block; font-size: 14px; font-weight: 600; margin-top: 6px; }
.zone-opt:hover .ph { border-color: var(--arena-3); }
.zone-opt.sel .ph { border-color: var(--carbon); }
.zone-all { grid-column: 1 / -1; border: 1px solid var(--linea); background: var(--arena); border-radius: 14px; padding: 12px 16px; text-align: left; font-weight: 600; }
.zone-all.sel { border-color: var(--carbon); }

@media (max-width: 860px) {
  .search-dock { margin-top: -36px; }
  .searchbar { grid-template-columns: 1fr 1fr; border-radius: 26px; }
  .searchbar .seg { padding: 12px 18px; }
  .searchbar .seg:nth-child(1) { grid-column: 1 / -1; }
  .searchbar .seg:nth-child(4) { grid-column: 1 / -1; }
  .searchbar .seg + .seg::before { display: none; }
  .searchbar .seg:nth-child(n+2) { border-top: 1px solid var(--linea); border-radius: 0; }
  .searchbar .seg:nth-child(3) { border-left: 1px solid var(--linea); }
  .searchbar .seg:nth-child(4) { border-radius: 0 0 26px 26px; }
  .searchbar .seg:nth-child(1) { border-radius: 26px 26px 0 0; }
  .search-go .txt { display: inline; }
  .pop { position: fixed; left: 8px !important; right: 8px !important; top: auto; bottom: 8px; width: auto !important; transform: none !important; max-height: 82vh; overflow: auto; border-radius: 24px; }
}

/* ---------- Guest stepper ---------- */
.guest-row { display: flex; align-items: center; justify-content: space-between; padding: 16px 0; border-bottom: 1px solid var(--linea); gap: 12px; }
.guest-row:last-of-type { border-bottom: 0; }
.guest-row b { display: block; font-size: 16px; }
.guest-row small { color: var(--suave); font-size: 14px; }
.stepper { display: flex; align-items: center; gap: 14px; }
.stepper button {
  width: 34px; height: 34px; border-radius: 50%; border: 1px solid #b7afa3; background: var(--blanco);
  display: grid; place-items: center; font-size: 18px; line-height: 1; color: var(--suave);
}
.stepper button:hover:not(:disabled) { border-color: var(--carbon); color: var(--carbon); }
.stepper button:disabled { opacity: .3; cursor: not-allowed; }
.stepper output { min-width: 18px; text-align: center; font-variant-numeric: tabular-nums; }
.guest-note { font-size: 13px; color: var(--suave); margin: 8px 0 0; }

/* ---------- Calendario de rango ---------- */
.cal { display: grid; grid-template-columns: repeat(var(--months, 2), 1fr); gap: 40px; position: relative; }
.cal-month h4 { text-align: center; margin: 4px 0 16px; font-size: 16px; font-weight: 600; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); row-gap: 2px; }
.cal-dow { text-align: center; font-size: 12px; color: var(--suave); font-weight: 600; padding-bottom: 8px; }
.cal-day {
  position: relative; aspect-ratio: 1; border: 0; background: transparent; padding: 0; font-size: 14px; font-weight: 600;
  display: grid; place-items: center; z-index: 0;
}
.cal-day span { width: 100%; height: 100%; display: grid; place-items: center; border-radius: 50%; border: 1.5px solid transparent; }
.cal-day:not(:disabled):hover span { border-color: var(--carbon); }
.cal-day:disabled { cursor: default; color: #c4bcb0; font-weight: 400; }
.cal-day.blocked span { text-decoration: line-through; }
.cal-day.in-range::before { content: ""; position: absolute; inset: 0; background: var(--arena-2); z-index: -1; }
.cal-day.start::before { content: ""; position: absolute; inset: 0 0 0 50%; background: var(--arena-2); z-index: -1; }
.cal-day.end::before { content: ""; position: absolute; inset: 0 50% 0 0; background: var(--arena-2); z-index: -1; }
.cal-day.start.end::before { display: none; }
.cal-day.start span, .cal-day.end span { background: var(--carbon); color: var(--arena); }
.cal-day.today span { box-shadow: inset 0 0 0 1px var(--arena-3); }
.cal-day.checkout-only { color: var(--suave); }
.cal-nav { position: absolute; top: 0; left: 0; right: 0; display: flex; justify-content: space-between; pointer-events: none; }
.cal-nav button {
  pointer-events: auto; width: 32px; height: 32px; border-radius: 50%; border: 0; background: transparent; display: grid; place-items: center;
}
.cal-nav button:hover:not(:disabled) { background: var(--arena-2); }
.cal-nav button:disabled { opacity: .25; cursor: default; }
.cal-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 16px; flex-wrap: wrap; }
.cal-foot .hint { font-size: 13px; color: var(--suave); }
.linkbtn { border: 0; background: transparent; text-decoration: underline; font-weight: 600; padding: 6px 4px; }
@media (max-width: 720px) { .cal { --months: 1 !important; } }

/* ---------- Chips de zona ---------- */
.chips { display: flex; gap: 8px; overflow-x: auto; padding: 4px 0 8px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip {
  flex: none; display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--linea); background: var(--blanco);
  border-radius: 999px; padding: 9px 16px; font-weight: 600; font-size: 14px; color: var(--suave);
}
.chip:hover { border-color: var(--carbon); color: var(--carbon); }
.chip.on { background: var(--carbon); border-color: var(--carbon); color: var(--arena); }
.chip .n { font-weight: 500; opacity: .7; font-size: 12px; }

/* ---------- Resultados ---------- */
.results-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin: 56px 0 18px; flex-wrap: wrap; }
.results-head h2 { font-size: clamp(34px, 5vw, 56px); margin: 6px 0 0; }
.results-head .sub { color: var(--suave); margin: 6px 0 0; font-size: 15px; }
.status-line { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--suave); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: #9a9286; }
.dot.live { background: #3aa76d; box-shadow: 0 0 0 4px rgba(58,167,109,.15); }
.grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 40px 24px; margin-bottom: 80px;
}
.card { text-decoration: none; color: inherit; display: block; min-width: 0; }
.card .media { position: relative; aspect-ratio: 20 / 19; border-radius: var(--r-foto); overflow: hidden; background: var(--arena-3); }
.card .track { display: flex; height: 100%; transition: transform .35s ease; }
.card .track img { flex: 0 0 100%; width: 100%; height: 100%; object-fit: cover; }
.card .arrow {
  position: absolute; top: 50%; transform: translateY(-50%); width: 32px; height: 32px; border-radius: 50%; border: 0;
  background: rgba(255,253,249,.92); display: grid; place-items: center; opacity: 0; transition: opacity .2s; box-shadow: var(--sombra-s);
}
.card .arrow svg { width: 14px; height: 14px; }
.card .arrow.prev { left: 10px; }
.card .arrow.next { right: 10px; }
.card:hover .arrow { opacity: 1; }
.card .dots { position: absolute; bottom: 10px; left: 0; right: 0; display: flex; justify-content: center; gap: 5px; }
.card .dots i { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,253,249,.6); }
.card .dots i.on { background: var(--blanco); }
.card .badge {
  position: absolute; top: 12px; left: 12px; background: var(--blanco); color: var(--carbon); border-radius: 999px;
  padding: 5px 11px; font-size: 12px; font-weight: 700; box-shadow: var(--sombra-s);
}
.card .badge.zone { background: var(--velo); color: var(--arena); letter-spacing: .14em; text-transform: uppercase; font-size: 10px; font-weight: 600; }
.card .info { padding-top: 12px; }
.card .row1 { display: flex; justify-content: space-between; gap: 8px; font-weight: 600; font-size: 15px; }
.card .row1 .rt { flex: none; font-weight: 500; display: inline-flex; align-items: center; gap: 4px; }
.card .row1 .rt svg { width: 12px; height: 12px; }
.card .nm { color: var(--suave); font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: 2px; }
.card .meta { color: var(--suave); font-size: 15px; margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card .cta { margin-top: 6px; font-size: 15px; }
.card .cta b { font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.card.unavailable .media { filter: grayscale(.6); opacity: .65; }
.empty { text-align: center; padding: 64px 16px 96px; }
.empty h3 { font-family: var(--display); font-size: 40px; font-weight: 400; margin: 0 0 8px; text-transform: uppercase; }
.skeleton .media { animation: pulse 1.4s infinite ease-in-out; }
@keyframes pulse { 50% { opacity: .55; } }

/* ---------- Secciones de marca ---------- */
.band-dark { background: var(--carbon); color: var(--arena); }
.band-dark .eyebrow { color: var(--suave-c); }
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section h2.display { font-size: clamp(44px, 7vw, 96px); margin: 12px 0 20px; }
.zones { display: grid; grid-template-columns: 1.4fr 1fr 1fr; grid-template-rows: 260px 260px; gap: 16px; margin-top: 36px; }
.zone-tile { position: relative; border-radius: var(--r-foto); overflow: hidden; display: block; text-decoration: none; color: var(--arena); background: var(--carbon-2); border: 0; padding: 0; text-align: left; }
.zone-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.zone-tile:hover img { transform: scale(1.04); }
.zone-tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(18,20,23,.85)); }
.zone-tile .lbl { position: absolute; left: 20px; bottom: 18px; z-index: 2; }
.zone-tile .lbl b { display: block; font-family: var(--display); font-weight: 400; font-size: 40px; line-height: 1; text-transform: uppercase; }
.zone-tile .lbl small { font-size: 14px; color: #e7dfd2; }
.zone-tile.big { grid-row: span 2; }
.zone-tile.big .lbl b { font-size: 64px; }
@media (max-width: 860px) {
  .zones { grid-template-columns: 1fr 1fr; grid-template-rows: 300px 180px 180px; }
  .zone-tile.big { grid-row: auto; grid-column: 1 / -1; }
  .zone-tile.big .lbl b { font-size: 48px; }
}
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.stat { background: var(--carbon-2); border-radius: var(--r-card); padding: 28px 24px; }
.stat b { display: block; font-family: var(--display); font-weight: 400; font-size: clamp(44px, 5vw, 64px); line-height: 1; }
.stat span { color: var(--suave-c); font-size: 15px; }
.stats.light .stat { background: var(--carbon); color: var(--arena); box-shadow: var(--sombra); }
@media (max-width: 860px) { .stats { grid-template-columns: 1fr 1fr; } }
.why { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-top: 48px; }
.why .n { font-family: var(--display); font-size: 28px; color: var(--suave-c); }
.why h3 { font-size: 20px; margin: 10px 0 6px; }
.why p { margin: 0; color: var(--suave-c); }
@media (max-width: 860px) { .why { grid-template-columns: 1fr; gap: 28px; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--carbon); color: var(--suave-c); padding: 64px 0 40px; font-size: 15px; }
.site-footer .cols { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 32px; }
.site-footer h4 { color: var(--arena); font-size: 13px; text-transform: uppercase; letter-spacing: .28em; margin: 0 0 14px; }
.site-footer a { color: var(--suave-c); text-decoration: none; display: block; padding: 3px 0; }
.site-footer a:hover { color: var(--arena); }
.site-footer .legal { border-top: 1px solid var(--linea-c); margin-top: 48px; padding-top: 24px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; }
.site-footer .logo { width: 64px; margin-bottom: 16px; }
@media (max-width: 860px) { .site-footer .cols { grid-template-columns: 1fr 1fr; } }

/* ---------- Botón flotante de WhatsApp ---------- */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 80; display: flex; align-items: center; gap: 10px;
  background: var(--carbon); color: var(--arena); border-radius: 999px; padding: 8px 8px 8px 18px; text-decoration: none;
  box-shadow: 0 12px 30px rgba(18,20,23,.35); font-weight: 600; font-size: 14px; transition: transform .2s;
}
.wa-float:hover { transform: translateY(-2px); }
.wa-float .ic { width: 46px; height: 46px; border-radius: 50%; background: #25d366; display: grid; place-items: center; position: relative; }
.wa-float .ic svg { width: 26px; height: 26px; color: #fff; }
.wa-float .ic::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid #25d366; animation: ring 2.4s infinite; }
@keyframes ring { 0% { opacity: .8; transform: scale(.9); } 80%, 100% { opacity: 0; transform: scale(1.35); } }
@media (max-width: 760px) { .wa-float .lbl { display: none; } .wa-float { padding: 6px; } }
body.has-bookbar .wa-float { bottom: 96px; }

/* ---------- Página de casa ---------- */
.pdp { padding-top: 28px; }
.pdp-title { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; }
.pdp-title h1 { font-family: var(--texto); font-size: clamp(22px, 3vw, 28px); font-weight: 600; margin: 0; line-height: 1.25; }
.pdp-actions { display: flex; gap: 4px; flex: none; }
.pdp-actions button { border: 0; background: transparent; display: inline-flex; gap: 8px; align-items: center; padding: 8px 10px; border-radius: 8px; font-weight: 600; font-size: 14px; text-decoration: underline; }
.pdp-actions button:hover { background: var(--arena-2); }
.pdp-actions svg { width: 16px; height: 16px; }
.gallery { position: relative; display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 8px; height: clamp(300px, 46vw, 520px); margin-top: 20px; border-radius: var(--r-foto); overflow: hidden; }
.gallery button { border: 0; padding: 0; background: var(--arena-3); overflow: hidden; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: filter .2s; }
.gallery button:hover img { filter: brightness(.88); }
.gallery .g0 { grid-row: span 2; }
.gallery .all { position: absolute; right: 20px; bottom: 20px; background: var(--blanco); border: 1px solid var(--carbon); border-radius: 10px; padding: 8px 14px; font-weight: 600; font-size: 14px; display: inline-flex; gap: 8px; align-items: center; }
.gallery .all svg { width: 16px; height: 16px; }
@media (max-width: 760px) {
  .pdp { padding-top: 0; }
  .pdp-head { order: 2; }
  .gallery { grid-template-columns: 1fr; grid-template-rows: 1fr; height: 300px; margin: 0 calc(var(--gutter) * -1); border-radius: 0; }
  .gallery .g1, .gallery .g2, .gallery .g3, .gallery .g4 { display: none; }
  .pdp-title { margin-top: 18px; }
}
.pdp-body { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 80px; margin-top: 40px; }
@media (max-width: 1000px) { .pdp-body { grid-template-columns: 1fr; gap: 0; } .book-col { display: none; } }
.pdp-sec { padding: 32px 0; border-bottom: 1px solid var(--linea); }
.pdp-sec:first-child { padding-top: 0; }
.pdp-sec h2 { font-size: 22px; font-weight: 600; margin: 0 0 6px; }
.pdp-sec h2.big { font-size: 24px; }
.overview-line { font-size: 16px; margin: 4px 0 0; }
.rating-line { display: flex; align-items: center; gap: 6px; font-weight: 600; margin-top: 8px; }
.rating-line svg { width: 14px; height: 14px; }
.rating-line a { color: inherit; }
.host { display: flex; align-items: center; gap: 16px; }
.host img { width: 48px; height: 48px; border-radius: 50%; background: var(--carbon); padding: 8px; object-fit: contain; }
.host b { display: block; }
.host small { color: var(--suave); font-size: 14px; }
.hls { display: grid; gap: 24px; }
.hl { display: flex; gap: 24px; align-items: flex-start; }
.hl .i { width: 28px; flex: none; }
.hl .i svg { width: 26px; height: 26px; stroke-width: 1.5; }
.hl b { display: block; }
.hl small { color: var(--suave); font-size: 14px; }
.desc { white-space: normal; font-size: 16px; line-height: 1.6; max-height: 11.2em; overflow: hidden; position: relative; }
.desc b { display: block; margin-top: 12px; }
.more { margin-top: 16px; display: inline-flex; align-items: center; gap: 6px; border: 0; background: transparent; padding: 0; font-weight: 600; text-decoration: underline; }
.more svg { width: 14px; height: 14px; }
.sleep { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 16px; margin-top: 20px; }
.sleep .box { border: 1px solid var(--linea); border-radius: 12px; padding: 20px; background: var(--blanco); }
.sleep .box svg { width: 26px; height: 26px; stroke-width: 1.5; margin-bottom: 14px; }
.sleep .box b { display: block; margin-bottom: 4px; }
.sleep .box small { color: var(--suave); font-size: 14px; }
.amen-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 24px; margin-top: 20px; }
.amen { display: flex; gap: 16px; align-items: center; }
.amen svg { width: 24px; height: 24px; stroke-width: 1.5; flex: none; }
.amen.off { text-decoration: line-through; color: var(--suave); }
@media (max-width: 560px) { .amen-grid { grid-template-columns: 1fr; } }
.cats { display: grid; grid-template-columns: repeat(6, 1fr); gap: 0; margin-top: 24px; }
.cat { padding: 0 16px; border-left: 1px solid var(--linea); }
.cat:first-child { border-left: 0; padding-left: 0; }
.cat small { display: block; font-size: 14px; }
.cat b { display: block; font-size: 18px; margin-top: 2px; }
.cat svg { width: 28px; height: 28px; stroke-width: 1.4; margin-top: 18px; }
@media (max-width: 860px) { .cats { grid-template-columns: repeat(3, 1fr); row-gap: 20px; } .cat:nth-child(4) { border-left: 0; padding-left: 0; } }
.score-big { display: flex; align-items: center; gap: 10px; }
.score-big b { font-family: var(--display); font-weight: 400; font-size: 64px; line-height: 1; }
.score-big svg { width: 34px; height: 34px; }
.map { height: 420px; border-radius: var(--r-foto); overflow: hidden; margin-top: 20px; background: var(--arena-3); z-index: 0; }
.know { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 20px; }
.know h3 { font-size: 16px; margin: 0 0 12px; }
.know ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.know li { color: var(--carbon); }
@media (max-width: 860px) { .know { grid-template-columns: 1fr; } }

/* Tarjeta de reserva */
.book-col { position: relative; }
.book {
  position: sticky; top: 104px; border: 1px solid var(--linea); border-radius: var(--r-card); padding: 24px;
  background: var(--blanco); box-shadow: var(--sombra-s);
}
.book h3 { font-size: 22px; margin: 0 0 4px; font-weight: 600; }
.book .sub { color: var(--suave); font-size: 14px; margin: 0 0 20px; }
.book-fields { border: 1px solid #b7afa3; border-radius: 12px; display: grid; grid-template-columns: 1fr 1fr; overflow: visible; position: relative; }
.book-fields > button {
  border: 0; background: transparent; text-align: left; padding: 10px 12px; min-width: 0; border-radius: 0;
}
.book-fields > button:nth-child(1) { border-right: 1px solid #b7afa3; border-radius: 12px 0 0 0; }
.book-fields > button:nth-child(3) { grid-column: 1 / -1; border-top: 1px solid #b7afa3; display: flex; justify-content: space-between; align-items: center; border-radius: 0 0 12px 12px; }
.book-fields > button.on { outline: 2px solid var(--carbon); outline-offset: -1px; border-radius: 12px; z-index: 2; position: relative; }
.book-fields .k { display: block; font-size: 10px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.book-fields .v { display: block; font-size: 14px; color: var(--suave); white-space: nowrap; }
.book-fields .v.set { color: var(--carbon); }
.book-fields svg { width: 16px; height: 16px; }
.book .go { width: 100%; margin-top: 16px; padding: 15px; font-size: 16px; }
.book .go:disabled { background: #6f6a63; cursor: not-allowed; }
.book .fine { text-align: center; font-size: 13px; color: var(--suave); margin: 12px 0 0; }
.avail { display: flex; gap: 10px; align-items: flex-start; border-radius: 12px; padding: 12px 14px; margin-top: 14px; font-size: 14px; background: var(--arena); }
.avail svg { width: 18px; height: 18px; flex: none; margin-top: 1px; }
.avail.ok { background: #eaf4ec; color: #1f5a37; }
.avail.no { background: #f7e9e4; color: #8a2d16; }
.summary { margin-top: 16px; border-top: 1px solid var(--linea); padding-top: 14px; display: grid; gap: 6px; font-size: 14px; }
.summary div { display: flex; justify-content: space-between; gap: 12px; }
.summary span:first-child { color: var(--suave); }
.book .pop { left: auto; right: -24px; top: calc(100% + 8px); }
.book .pop-dates { width: 700px; transform: none; right: -24px; left: auto; }
.book .pop-guests { width: 100%; right: 0; }
.book-fields > button.mdates { display: none; }

/* Barra inferior móvil */
.bookbar { display: none; }
@media (max-width: 1000px) {
  .bookbar {
    display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; background: var(--blanco); border-top: 1px solid var(--linea);
    padding: 12px var(--gutter); align-items: center; justify-content: space-between; gap: 12px;
  }
  .bookbar .l b { display: block; font-size: 15px; }
  .bookbar .l button { border: 0; background: transparent; padding: 0; text-decoration: underline; font-size: 14px; font-weight: 600; }
  .bookbar .btn { padding: 13px 18px; }
  body.has-bookbar { padding-bottom: 80px; }
}

/* ---------- Modales ---------- */
.modal { position: fixed; inset: 0; z-index: 100; display: none; }
.modal.open { display: block; }
.modal .scrim { position: absolute; inset: 0; background: rgba(18,20,23,.55); animation: fade .2s; }
@keyframes fade { from { opacity: 0; } }
.modal .sheet {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: min(780px, calc(100vw - 32px)); max-height: calc(100vh - 64px);
  background: var(--blanco); border-radius: 20px; overflow: hidden; display: flex; flex-direction: column; animation: sheetIn .25s ease-out;
}
@keyframes sheetIn { from { transform: translate(-50%, -46%); opacity: 0; } }
.modal .sheet-head { display: flex; align-items: center; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--linea); }
.modal .sheet-head h3 { margin: 0; font-size: 18px; }
.modal .x { width: 36px; height: 36px; border-radius: 50%; border: 0; background: transparent; display: grid; place-items: center; }
.modal .x:hover { background: var(--arena-2); }
.modal .x svg { width: 18px; height: 18px; }
.modal .sheet-body { padding: 24px 28px 32px; overflow: auto; }
.modal.full .sheet { inset: 0; left: 0; top: 0; transform: none; width: 100%; max-height: none; height: 100%; border-radius: 0; animation: none; }
@media (max-width: 760px) { .modal .sheet { inset: auto 0 0 0; left: 0; top: auto; transform: none; width: 100%; max-height: 92vh; border-radius: 20px 20px 0 0; animation: none; } }
.amen-group h4 { font-size: 18px; margin: 28px 0 8px; }
.amen-group:first-child h4 { margin-top: 0; }
.amen-group .amen { padding: 18px 0; border-bottom: 1px solid var(--linea); align-items: flex-start; }
.amen-group .amen small { display: block; color: var(--suave); font-size: 14px; }
.photo-tour { max-width: 860px; margin: 0 auto; width: 100%; }
.photo-tour h4 { font-size: 22px; margin: 40px 0 16px; }
.pt-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.pt-grid button { border: 0; padding: 0; background: var(--arena-3); }
.pt-grid button:nth-child(3n+1) { grid-column: 1 / -1; }
.pt-grid img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 3 / 2; }
.pt-grid button:nth-child(3n+1) img { aspect-ratio: 16 / 9; }
.lightbox { position: fixed; inset: 0; z-index: 120; background: var(--carbon); color: var(--arena); display: none; flex-direction: column; }
.lightbox.open { display: flex; }
.lightbox .top { display: flex; justify-content: space-between; align-items: center; padding: 16px 20px; }
.lightbox .top button { border: 0; background: transparent; color: var(--arena); display: inline-flex; gap: 8px; align-items: center; font-weight: 600; padding: 8px; border-radius: 8px; }
.lightbox .top button:hover { background: var(--carbon-2); }
.lightbox .stage { flex: 1; display: flex; align-items: center; justify-content: center; position: relative; min-height: 0; padding: 0 72px 32px; }
.lightbox .stage img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 4px; }
.lightbox .nav-b { position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--linea-c); background: transparent; color: var(--arena); display: grid; place-items: center; }
.lightbox .nav-b:hover { background: var(--carbon-2); }
.lightbox .nav-b.p { left: 16px; } .lightbox .nav-b.n { right: 16px; }
.lightbox .cap { text-align: center; padding-bottom: 24px; color: var(--suave-c); font-size: 14px; }
@media (max-width: 760px) { .lightbox .stage { padding: 0 8px 16px; } .lightbox .nav-b { display: none; } }

/* Toast */
.toast { position: fixed; left: 50%; bottom: 28px; transform: translateX(-50%) translateY(20px); background: var(--carbon); color: var(--arena); border-radius: 12px; padding: 12px 18px; font-size: 14px; font-weight: 600; opacity: 0; transition: .25s; z-index: 200; pointer-events: none; }
.toast.show { opacity: 1; transform: translateX(-50%); }

/* ---------- Servicios ---------- */
.svc-hero { min-height: min(70vh, 640px); }
.svc-hero .wrap { padding-bottom: 72px; }
.svc-tabs { display: flex; gap: 12px; margin-top: 28px; flex-wrap: wrap; }
.svc-tabs a { background: rgba(251,246,238,.12); color: var(--arena); border: 1px solid rgba(251,246,238,.35); backdrop-filter: blur(6px); }
.svc-tabs a:hover { background: var(--arena); color: var(--carbon); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.split .ph { border-radius: var(--r-foto); overflow: hidden; aspect-ratio: 4 / 5; }
.split .ph img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .split .ph { aspect-ratio: 4 / 3; } }
.lead-p { font-size: clamp(17px, 1.6vw, 20px); color: var(--suave); max-width: 52ch; }
.band-dark .lead-p { color: var(--suave-c); }
.feat { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 56px; border-top: 1px solid var(--linea); }
.feat > div { padding: 28px 28px 28px 0; border-bottom: 1px solid var(--linea); }
.feat > div:not(:nth-child(3n+1)) { padding-left: 28px; border-left: 1px solid var(--linea); }
.feat svg { width: 28px; height: 28px; stroke-width: 1.5; }
.feat h3 { margin: 16px 0 6px; font-size: 18px; }
.feat p { margin: 0; color: var(--suave); font-size: 15px; }
@media (max-width: 860px) { .feat { grid-template-columns: 1fr; } .feat > div { padding: 22px 0 !important; border-left: 0 !important; } }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 48px; }
.steps > div { padding: 0 28px 0 0; }
.steps > div + div { padding-left: 28px; border-left: 1px solid var(--linea-c); }
.steps .n { font-family: var(--display); font-size: 48px; line-height: 1; color: var(--suave-c); }
.steps h3 { margin: 14px 0 6px; font-size: 18px; }
.steps p { margin: 0; color: var(--suave-c); font-size: 15px; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr 1fr; row-gap: 32px; } .steps > div:nth-child(3) { border-left: 0; padding-left: 0; } }
.flex-split { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 48px; }
.flex-split .stat:first-child b { color: var(--sol); }
.cycle { position: relative; width: min(500px, 100%); aspect-ratio: 1; margin: 0 auto; }
.cycle svg.ring { position: absolute; inset: 0; width: 100%; height: 100%; }
.cycle .node {
  position: absolute; transform: translate(-50%, -50%); background: var(--carbon); color: var(--arena); border-radius: 999px;
  padding: 10px 18px; font-family: var(--display); font-size: clamp(16px, 2vw, 21px); line-height: 1.05; text-align: center; text-transform: uppercase; white-space: nowrap; box-shadow: var(--sombra); z-index: 2;
}
.cycle .loop { position: absolute; left: 21%; top: 27%; font-size: 12px; font-weight: 600; color: var(--suave); text-transform: uppercase; letter-spacing: .12em; line-height: 1.4; }
.cycle .center { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; }
.cycle .center b { display: block; font-family: var(--display); font-weight: 400; font-size: clamp(48px, 6vw, 72px); line-height: .95; }
.cycle .center small { color: var(--suave); font-size: 13px; display: block; max-width: 16ch; margin: 8px auto 0; }
.cta-band { text-align: center; }
.cta-band h2 { font-size: clamp(56px, 10vw, 140px) !important; }
.cta-band .btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 28px; }
.cta-band .btn-light { background: var(--arena); border-color: var(--arena); }
.cycle-cap { display: none; text-align: center; font-size: 13px; color: var(--suave); margin-top: 16px; }
@media (max-width: 600px) {
  .cycle { width: calc(100% - 56px); }
  .cycle .node { font-size: 14px; padding: 8px 12px; }
  .cycle .loop { display: none; }
  .cycle-cap { display: block; }
}
.zone-dist { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px; border-top: 1px solid var(--linea); padding-top: 12px; margin-top: 4px; }
.zone-dist .eyebrow { width: 100%; }
.zone-dist .chip { padding: 7px 13px; font-size: 13px; }
.pop-zone { width: 460px; }

/* ---------- Cabecera oscura (v2) ---------- */
.site-header { background: rgba(18, 20, 23, 0.97); border-bottom: 1px solid #23262b; color: var(--arena); }
.site-header .brand .name { color: var(--arena); }
.site-header .brand .name small { color: var(--suave-c); }
.site-header .nav a { color: var(--suave-c); }
.site-header .nav a:hover { background: var(--carbon-2); color: var(--arena); }
.site-header .nav a.active { color: var(--arena); }
.site-header .nav a.active::after { background: var(--arena); }
.site-header .header-cta { background: var(--arena); color: var(--carbon); }
.site-header .header-cta:hover { background: #fff; }
@media (max-width: 760px) {
  .mobile-tabs { border-top: 1px solid #23262b; }
  .mobile-tabs a { color: var(--suave-c); }
  .mobile-tabs a.active { color: var(--arena); box-shadow: inset 0 -2px 0 var(--arena); }
}

/* ---------- Sobre nosotros ---------- */
.stats.six { grid-template-columns: repeat(3, 1fr); }
.stats.six .stat span { font-size: 16px; }
.stats.three { grid-template-columns: repeat(3, 1fr); gap: 12px; }
.stats.three .stat { background: var(--carbon); color: var(--arena); padding: 20px 18px; box-shadow: var(--sombra); }
.stats.three .stat b { font-size: clamp(34px, 3.6vw, 48px); margin: 4px 0; }
.stats.three .brand-t { color: var(--arena) !important; font-weight: 700; font-size: 15px; }
.leader .ph { aspect-ratio: 3 / 4; }
.leader .ph img { object-position: center top; }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.ticks li { display: flex; gap: 14px; align-items: center; font-size: 17px; }
.ticks svg { width: 26px; height: 26px; flex: none; stroke-width: 1.5; }
@media (max-width: 860px) { .stats.six { grid-template-columns: 1fr 1fr; } .stats.three { grid-template-columns: 1fr; } }

/* ---------- Cotización ---------- */
.quote { display: grid; gap: 8px; font-size: 15px; }
.quote > div { display: flex; justify-content: space-between; gap: 12px; }
.quote > div span:first-child { color: var(--suave); text-decoration: underline; text-decoration-color: var(--linea); text-underline-offset: 3px; }
.quote .tot { border-top: 1px solid var(--linea); padding-top: 12px; margin-top: 4px; font-weight: 700; font-size: 17px; }
.quote .tot span:first-child { color: var(--carbon); text-decoration: none; }
.quote-note { font-size: 12.5px; color: var(--suave); margin: 4px 0 0; }
.summary .quote { display: grid; }
.summary .quote > div { display: flex; }
.summary:empty { display: none; }
.quote > div span:last-child { white-space: nowrap; }

/* ===== Pago en línea ===== */
.pay-head { display: grid; gap: 2px; margin-bottom: 16px; font-size: 14px; color: var(--suave); }
.pay-head b { color: var(--carbon); font-size: 16px; }
.pay .quote { margin-bottom: 20px; }
.pay-form { display: grid; gap: 14px; border-top: 1px solid var(--linea); padding-top: 18px; }
.pay-form label { display: grid; gap: 6px; font-size: 13px; font-weight: 600; }
.pay-form label small { font-weight: 400; color: var(--suave); }
.pay-form input:not([type=checkbox]) { font: inherit; font-size: 16px; padding: 12px 14px; border: 1px solid #b9b2a8; border-radius: 10px; background: var(--blanco); color: var(--carbon); }
.pay-form input:focus { outline: 2px solid var(--carbon); outline-offset: 1px; }
.pay-form .chk { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-size: 14px; }
.pay-form .chk input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--carbon); }
.pay-err { color: #b42318; font-size: 14px; min-height: 0; }
.pay-err:empty { display: none; }
.pay-form .go { margin-top: 2px; }
.book .go + .go { margin-top: 10px; }
/* Página de reserva */
.rsv { padding: 48px 16px 80px; display: flex; justify-content: center; }
.rsv-card { width: 100%; max-width: 560px; background: var(--blanco); border: 1px solid var(--linea); border-radius: 20px; padding: 32px 28px; box-shadow: var(--sombra-s); }
.rsv-card h1 { font-size: 26px; margin: 12px 0 6px; }
.rsv-card .lead { color: var(--suave); margin: 0 0 20px; }
.rsv-card .go { width: 100%; margin-top: 14px; padding: 15px; }
.rsv-ic svg { width: 44px; height: 44px; }
.rsv-ic.ok { color: #1a7f37; } .rsv-ic.bad { color: #b42318; } .rsv-ic.warn { color: #b54708; }
.rsv-ic.spin svg { animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.rsv-detail { display: grid; gap: 4px; padding: 14px 0; border-top: 1px solid var(--linea); border-bottom: 1px solid var(--linea); margin-bottom: 16px; font-size: 14px; color: var(--suave); }
.rsv-detail b { color: var(--carbon); }
/* Condiciones */
.legal { max-width: 760px; padding-top: 48px; padding-bottom: 80px; }
.legal h1 { margin: 8px 0 4px; }
.legal h2 { font-size: 19px; margin: 28px 0 8px; }
.legal p, .legal li { line-height: 1.65; }
.legal ul { padding-left: 20px; }
.pay-form .fine { font-size: 13px; color: var(--suave); text-align: center; margin: 0; line-height: 1.5; }
.pay-cond { display: flex; gap: 10px; background: var(--arena-2, #f3ece0); border-radius: 12px; padding: 14px 16px; margin: 0 0 18px; font-size: 14px; line-height: 1.5; }
.pay-cond svg { width: 18px; height: 18px; flex: none; margin-top: 2px; }
.pay-cond ul { margin: 4px 0 0; padding-left: 18px; }
.rsv-proof { display: grid; gap: 4px; font-size: 14px; color: var(--suave); background: #eef7f0; border-radius: 12px; padding: 12px 14px; margin: 0 0 16px; }
.rsv-proof b { color: var(--carbon); }
.pay-times { display: grid; grid-template-columns: 1fr 1fr; border: 1.5px solid var(--carbon); border-radius: 12px; margin: 0 0 18px; overflow: hidden; }
.pay-times > div { display: grid; gap: 2px; padding: 12px 14px; font-size: 14px; }
.pay-times > div + div { border-left: 1px solid var(--linea); }
.pay-times .k { display: flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.pay-times .k svg { width: 15px; height: 15px; }
.pay-times .h { font-size: 17px; font-weight: 800; color: var(--carbon); }
@media (max-width: 480px) { .pay-times { grid-template-columns: 1fr; } .pay-times > div + div { border-left: 0; border-top: 1px solid var(--linea); } }
