/* Cabañas Vaimihi — sitio público. Mobile first. */
:root {
  --sand: #f4ede1;
  --sand-2: #ebe1cf;
  --paper: #fffdf9;
  --ink: #1f2a2e;
  --ink-2: #4a5552;
  --muted: #6e7368;
  --ocean: #0e5e7a;
  --ocean-d: #0a4659;
  --lava: #b9502a;
  --lava-d: #9a3f1f;
  --leaf: #3e7d3a;
  --sun: #f2a516;
  --line: #e4dccd;
  --ok: #2f7d4f;
  --err: #b3261e;
  --r: 16px;
  --r-sm: 10px;
  --shadow: 0 1px 2px rgba(31, 42, 46, .06), 0 8px 28px rgba(31, 42, 46, .08);
  --shadow-lg: 0 6px 16px rgba(31, 42, 46, .10), 0 24px 60px rgba(31, 42, 46, .16);
  --serif: 'Fraunces', Georgia, serif;
  --sans: 'Outfit', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --wrap: 1180px;
  --t: .25s cubic-bezier(.4, 0, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--sans); font-size: 16px; line-height: 1.6; color: var(--ink);
  background: var(--sand); -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--ocean); }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.12; letter-spacing: -.01em; margin: 0 0 .5em; color: var(--ink); }
h1 { font-size: clamp(2rem, 6vw, 3.4rem); }
h2 { font-size: clamp(1.55rem, 3.6vw, 2.35rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; color: inherit; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
.muted { color: var(--muted); }
.fine { font-size: .85rem; color: var(--muted); }
.center { text-align: center; }
.lead { font-size: 1.08rem; color: var(--ink-2); }
.kicker { font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--lava); margin-bottom: .6em; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; z-index: 999; background: #fff; padding: 8px 12px; border-radius: 8px; }
.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 2px; border-radius: 6px; }

/* Botones */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .85rem 1.4rem; border-radius: 12px; border: 1.5px solid transparent;
  font-weight: 600; text-decoration: none; cursor: pointer; transition: transform var(--t), background var(--t), box-shadow var(--t);
  line-height: 1.2; white-space: nowrap;
}
.btn:active { transform: scale(.98); }
.btn-primary { background: linear-gradient(180deg, #c45a32, var(--lava)); color: #fff; box-shadow: 0 6px 18px rgba(185, 80, 42, .28); }
.btn-primary:hover { background: var(--lava-d); }
.btn-primary[disabled] { opacity: .6; cursor: progress; }
.btn-ghost { background: transparent; border-color: var(--ink); color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #fff; }
.btn-light { background: #fff; color: var(--ink); }
.btn-danger-ghost { background: transparent; border-color: var(--err); color: var(--err); }
.btn-block { width: 100%; }
.btn-lg { padding: 1.05rem 1.6rem; font-size: 1.05rem; width: 100%; }
.link-btn { background: none; border: 0; padding: 0; text-decoration: underline; font-weight: 600; cursor: pointer; color: var(--ink); }

/* Header */
.dev-strip { position: relative; z-index: 60; background: var(--ink); color: #f4ede1; text-align: center; font-size: .82rem; line-height: 1.4; padding: 8px 16px; }
.dev-strip a { color: var(--sun); font-weight: 600; white-space: nowrap; }
.dev-strip ~ .site-header.is-over:not(.scrolled) { top: auto; }
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(244, 237, 225, .92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.site-header.is-over { position: absolute; left: 0; right: 0; background: transparent; border-color: transparent; backdrop-filter: none; }
.site-header.is-over.scrolled { position: fixed; background: rgba(244, 237, 225, .94); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.header-in { display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: 68px; }
.brand { display: flex; align-items: center; gap: .55rem; text-decoration: none; color: var(--ink); font-family: var(--serif); font-size: 1.2rem; }
.brand b { color: var(--lava); font-weight: 700; }
.brand img { width: 44px; height: 44px; object-fit: contain; }
.is-over:not(.scrolled) .brand, .is-over:not(.scrolled) .main-nav a, .is-over:not(.scrolled) .header-tools a { color: #fff; }
.is-over:not(.scrolled) .brand b { color: var(--sun); }
.main-nav { display: none; gap: 1.6rem; }
.main-nav a { color: var(--ink); text-decoration: none; font-weight: 500; font-size: .95rem; }
.main-nav a:hover { text-decoration: underline; text-underline-offset: 4px; }
.header-tools { display: flex; align-items: center; gap: .9rem; }
.header-tools a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: .9rem; }
.lang { border: 1.5px solid currentColor; border-radius: 999px; padding: .15rem .55rem; font-size: .78rem !important; }
.my-link { display: none; }
@media (min-width: 900px) { .main-nav { display: flex; } .my-link { display: inline; } }

/* Hero postal */
.hero { position: relative; min-height: 92svh; display: flex; flex-direction: column; justify-content: flex-end; color: #fff; padding-bottom: 28px; }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.hero-shade { position: absolute; inset: 0; background:
  linear-gradient(180deg, rgba(10, 30, 38, .55) 0%, rgba(10, 30, 38, .25) 25%, rgba(10, 30, 38, .55) 50%, rgba(10, 30, 38, .88) 100%); }
@media (min-width: 900px) { .hero-shade { background:
  linear-gradient(180deg, rgba(10, 30, 38, .55) 0%, rgba(10, 30, 38, .05) 30%, rgba(10, 30, 38, .15) 55%, rgba(10, 30, 38, .78) 100%),
  linear-gradient(90deg, rgba(10, 30, 38, .45) 0%, transparent 60%); } }
.hero-in { position: relative; padding-top: 120px; padding-bottom: 22px; }
.hero h1 { color: #fff; font-size: clamp(2.4rem, 9vw, 5.4rem); font-weight: 600; max-width: 13ch; margin-bottom: .3em; text-shadow: 0 2px 30px rgba(0, 0, 0, .25); }
.hero h1 em { font-style: italic; color: var(--sun); font-weight: 400; }
.hero-sub { font-size: clamp(1.02rem, 2.4vw, 1.25rem); max-width: 40ch; color: rgba(255, 255, 255, .92); }
.eyebrow { display: inline-flex; align-items: center; gap: .5rem; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; margin-bottom: 1rem; }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--sun); box-shadow: 0 0 0 4px rgba(242, 165, 22, .3); }
.hero-rating { display: inline-flex; gap: .4rem; align-items: center; color: #fff; text-decoration: none; font-size: .95rem; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .28); padding: .4rem .8rem; border-radius: 999px; backdrop-filter: blur(6px); }
.stars { color: var(--sun); letter-spacing: 1px; }

/* Buscador estilo Airbnb */
.searchbar {
  position: relative; z-index: 5; display: grid; grid-template-columns: 1fr 1fr; gap: 0;
  background: #fff; color: var(--ink); border-radius: 22px; box-shadow: var(--shadow-lg); padding: 8px; max-width: 920px;
}
.sb-field { padding: .65rem .9rem; border-radius: 14px; cursor: pointer; display: flex; flex-direction: column; min-width: 0; }
.sb-field:hover { background: var(--sand); }
.sb-dates + .sb-dates { border-left: 1px solid var(--line); }
.sb-guests { grid-column: 1 / -1; border-top: 1px solid var(--line); flex-direction: row; align-items: center; justify-content: space-between; cursor: default; }
.sb-guests:hover { background: transparent; }
.sb-label { font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink); }
.sb-value { color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sb-value.set { color: var(--ink); font-weight: 600; }
.sb-go { grid-column: 1 / -1; margin-top: 6px; border-radius: 14px; }
@media (min-width: 760px) {
  .searchbar { grid-template-columns: 1fr 1fr 1fr auto; border-radius: 999px; align-items: center; padding: 8px 8px 8px 12px; }
  .sb-field { border-radius: 999px; padding: .55rem 1.2rem; }
  .sb-guests { grid-column: auto; border-top: 0; border-left: 1px solid var(--line); border-radius: 999px; }
  .sb-go { grid-column: auto; margin: 0; border-radius: 999px; padding: 1rem 1.5rem; }
}

.stepper { display: inline-flex; align-items: center; gap: .4rem; }
.stepper button { width: 34px; height: 34px; border-radius: 50%; border: 1.5px solid var(--line); background: #fff; cursor: pointer; font-size: 1.1rem; line-height: 1; }
.stepper button:hover { border-color: var(--ink); }
.stepper button:disabled { opacity: .35; cursor: not-allowed; }
.stepper input { width: 2.2rem; text-align: center; border: 0; background: transparent; font-weight: 600; -moz-appearance: textfield; }
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

/* Franja de confianza */
.trust { background: var(--paper); border-bottom: 1px solid var(--line); }
.trust-in { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 24px; padding-top: 26px; padding-bottom: 26px; }
.trust-in div { display: flex; flex-direction: column; padding-left: 14px; border-left: 3px solid var(--sun); }
.trust-in b { font-size: .98rem; }
.trust-in span { font-size: .86rem; color: var(--muted); }
@media (min-width: 900px) { .trust-in { grid-template-columns: repeat(4, 1fr); } }

/* Secciones */
.section { padding: 64px 0; }
@media (min-width: 900px) { .section { padding: 96px 0; } }
.sec-head { max-width: 680px; margin-bottom: 32px; }

/* Tarjetas de cabañas */
.cards { display: grid; gap: 28px; }
@media (min-width: 640px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .cards { grid-template-columns: repeat(3, 1fr); } .cards.n-2 { grid-template-columns: repeat(2, 1fr); gap: 36px; } .cards.n-2 .card-media { aspect-ratio: 16 / 11; } .cards.n-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .cards.n-4 { grid-template-columns: repeat(4, 1fr); gap: 24px; } .cards.n-4 .card-media { aspect-ratio: 1 / 1; } }
.card { position: relative; }
.card-media { position: relative; display: block; aspect-ratio: 4 / 3.4; border-radius: var(--r); overflow: hidden; background: var(--sand-2); }
.slides { display: flex; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.slides::-webkit-scrollbar { display: none; }
.slides img { flex: 0 0 100%; width: 100%; height: 100%; object-fit: cover; scroll-snap-align: start; transition: transform .6s; }
.card:hover .slides img { transform: scale(1.03); }
.badge { position: absolute; top: 12px; left: 12px; background: #fff; color: var(--ink); font-size: .8rem; font-weight: 600; padding: .3rem .7rem; border-radius: 999px; box-shadow: var(--shadow); }
.badge.no { background: var(--ink); color: #fff; }
.dots { display: flex; gap: 5px; justify-content: center; margin: -22px 0 16px; position: relative; z-index: 2; pointer-events: none; }
.dots i { width: 6px; height: 6px; border-radius: 50%; background: rgba(255, 255, 255, .6); }
.dots i.on { background: #fff; }
.card-body { padding-top: 14px; }
.card-body p { margin: 0 0 .15rem; font-size: .95rem; }
.card-top { display: flex; justify-content: space-between; gap: 8px; align-items: baseline; }
.card-top h3 { margin: 0; font-family: var(--sans); font-size: 1.08rem; font-weight: 600; }
.card-top h3 a { color: var(--ink); text-decoration: none; }
.rating-sm { font-size: .9rem; white-space: nowrap; }
.price { margin-top: .4rem !important; }
.price b { font-size: 1.05rem; }
.price .tot { color: var(--muted); text-decoration: underline; }
.card.unavailable .card-media { opacity: .55; }

/* Anfitrión */
.host { background: var(--paper); }
.host-grid { display: grid; gap: 36px; align-items: center; }
@media (min-width: 900px) { .host-grid { grid-template-columns: 1fr 1.05fr; gap: 64px; } }
.host-photo { margin: 0; position: relative; }
.host-photo img { border-radius: 26px 26px 26px 120px; aspect-ratio: 4 / 4.2; object-fit: cover; width: 100%; box-shadow: var(--shadow-lg); }
.host-photo figcaption { position: absolute; right: 16px; bottom: 16px; background: #fff; padding: .55rem .9rem; border-radius: 12px; font-size: .88rem; box-shadow: var(--shadow); }
.host-facts { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 14px; }
.host-facts li { display: flex; flex-direction: column; padding: 14px 16px; background: var(--sand); border-radius: var(--r-sm); }
.host-facts span { color: var(--muted); font-size: .92rem; }

/* Ubicación */
.loc-grid { display: grid; gap: 32px; }
@media (min-width: 900px) { .loc-grid { grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: start; } }
.poi { list-style: none; padding: 0; margin: 20px 0; display: grid; gap: 2px; }
.poi li { display: grid; grid-template-columns: 34px 1fr auto; gap: 10px; align-items: center; padding: 10px 0; border-bottom: 1px dashed var(--line); }
.poi-name { font-weight: 500; }
.poi-dist { font-size: .88rem; color: var(--muted); text-align: right; }
.poi-ic { width: 30px; height: 30px; border-radius: 9px; background: var(--sand-2) center / 18px no-repeat; }
.poi-church { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230e5e7a' stroke-width='2'%3E%3Cpath d='M12 2v6M9 5h6M5 21V11l7-4 7 4v10M9 21v-5h6v5'/%3E%3C/svg%3E"); }
.poi-beach { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230e5e7a' stroke-width='2'%3E%3Cpath d='M2 18c2 0 2-1.5 4-1.5S8 18 10 18s2-1.5 4-1.5 2 1.5 4 1.5 2-1.5 4-1.5M12 3a7 7 0 0 1 7 7H5a7 7 0 0 1 7-7Zm0 7v6'/%3E%3C/svg%3E"); }
.poi-moai { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230e5e7a' stroke-width='2'%3E%3Cpath d='M8 22V9c0-4 2-7 5-7s4 2 4 5l-1 3 1 2-2 1v9M3 22h18M11 12h3'/%3E%3C/svg%3E"); }
.poi-museum { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230e5e7a' stroke-width='2'%3E%3Cpath d='M3 10 12 4l9 6M5 10v9M9 10v9M15 10v9M19 10v9M3 21h18'/%3E%3C/svg%3E"); }
.poi-plane { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230e5e7a' stroke-width='2'%3E%3Cpath d='M10 13 3 11l1-2 8 1 4-6h2l-2 7 5 1 1 2-6 1-2 7h-2l-1-7Z'/%3E%3C/svg%3E"); }
.poi-volcano { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230e5e7a' stroke-width='2'%3E%3Cpath d='M2 21 9 9h6l7 12ZM10 9l2 3 2-3M12 3v2M8 4l1 2M16 4l-1 2'/%3E%3C/svg%3E"); }
.map { position: relative; border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); background: var(--sand-2); }
.map iframe { width: 100%; height: 380px; border: 0; display: block; }
@media (min-width: 900px) { .map iframe { height: 520px; } }
.map-link { position: absolute; bottom: 12px; left: 12px; background: #fff; padding: .45rem .8rem; border-radius: 10px; font-weight: 600; font-size: .88rem; text-decoration: none; color: var(--ink); box-shadow: var(--shadow); }

/* La isla */
.isle { background: var(--paper); }
.isle h2 em { font-style: italic; font-weight: 400; color: var(--lava); }
.isle-grid { display: grid; gap: 18px; }
@media (min-width: 760px) { .isle-grid { grid-template-columns: repeat(3, 1fr); gap: 22px; } }
.isle-card { position: relative; margin: 0; border-radius: var(--r); overflow: hidden; aspect-ratio: 16 / 11; background: var(--sand-2); box-shadow: var(--shadow); }
@media (min-width: 760px) { .isle-card { aspect-ratio: 3 / 4; } }
.isle-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.4, 0, .2, 1); }
.isle-card:hover img { transform: scale(1.04); }
.isle-anakena img { object-position: 72% 50%; }
.isle-card figcaption { position: absolute; inset: auto 0 0; padding: 60px 20px 18px; display: flex; flex-direction: column; gap: 2px; color: #fff; background: linear-gradient(180deg, rgba(10, 30, 38, 0), rgba(10, 30, 38, .85)); }
.isle-card b { font-family: var(--serif); font-size: 1.3rem; font-weight: 600; }
.isle-card span { font-size: .88rem; color: rgba(255, 255, 255, .85); }

/* Experiencias */
.exp { background: var(--ocean); color: #fff; }
.exp h2, .exp h3 { color: #fff; }
.exp .kicker { color: var(--sun); }
.exp-grid { display: grid; gap: 18px; }
@media (min-width: 900px) { .exp-grid { grid-template-columns: 1.3fr 1fr 1fr; } }
.exp-card { position: relative; border-radius: var(--r); padding: 28px 24px; min-height: 280px; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; background: var(--ocean-d); isolation: isolate; }
.exp-card > * { position: relative; }
.exp-card::before { content: ""; position: absolute; inset: 0; opacity: .5; background-size: 56px; background-repeat: no-repeat; background-position: left 24px top 26px; }
.exp-card.has-photo { background-size: cover; background-position: center; }
.exp-card.has-photo::before { opacity: 1; background: linear-gradient(180deg, rgba(10, 30, 38, .1), rgba(10, 30, 38, .55) 40%, rgba(10, 30, 38, .9)); }
.exp-moai.has-photo { background-image: url('/assets/img/isla/tongariki-card.webp'); }
.exp-sunset.has-photo { background-image: url('/assets/img/isla/tahai-card.webp'); }
.exp-kayak { background: linear-gradient(160deg, #127394, #0a4659); }
.exp-kayak::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='1.4'%3E%3Cpath d='M2 15c3 2 17 2 20 0M5 13l14-8M17 3l3 3M4 14l-2 2M2 20c2 0 2-1 4-1s2 1 4 1 2-1 4-1 2 1 4 1 2-1 4-1'/%3E%3C/svg%3E"); }
.exp-moai { background: linear-gradient(160deg, #a24723, #7d3518); }
.exp-moai::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='1.4'%3E%3Cpath d='M8 22V9c0-4 2-7 5-7s4 2 4 5l-1 3 1 2-2 1v9M3 22h18M11 12h3'/%3E%3C/svg%3E"); }
.exp-sunset { background: linear-gradient(160deg, #d98a14, #a8550f); }
.exp-sunset::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='1.4'%3E%3Cpath d='M17 18a5 5 0 0 0-10 0M12 2v7M4.2 10.2l1.4 1.4M1 18h2M21 18h2M18.4 11.6l1.4-1.4M23 22H1M8 6l4-4 4 4'/%3E%3C/svg%3E"); }
.exp-card p { color: rgba(255, 255, 255, .88); margin-bottom: .6rem; }
.exp-card a { color: #fff; font-weight: 600; }

/* Reseñas */
.reviews-in { display: grid; gap: 28px; align-items: center; background: var(--paper); border-radius: 28px; padding: 36px 24px; box-shadow: var(--shadow); }
@media (min-width: 800px) { .reviews-in { grid-template-columns: 260px 1fr; padding: 48px 56px; } }
.score { display: flex; flex-direction: column; align-items: center; text-align: center; }
.score-num { font-family: var(--serif); font-size: 4.6rem; line-height: 1; font-weight: 700; color: var(--ocean); }
.stars.big { font-size: 1.4rem; margin: .3rem 0; }

/* FAQ */
.faq-wrap { max-width: 860px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 36px 18px 0; font-weight: 600; font-size: 1.04rem; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 14px; font-size: 1.5rem; color: var(--lava); transition: transform var(--t); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--ink-2); padding-bottom: 18px; margin: 0; }

/* CTA final */
.cta-final { background: linear-gradient(135deg, var(--lava), #8f3a18); color: #fff; padding: 64px 0; text-align: center; }
.cta-final h2 { color: #fff; }
.cta-final p { color: rgba(255, 255, 255, .9); max-width: 46ch; margin: 0 auto 1.4rem; }
.cta-btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 14px; }
.cta-final .cta-btns, .cta-btns.center { justify-content: center; }
.cta-final .btn-primary { background: #fff; color: var(--lava); box-shadow: none; }

/* Footer */
.site-footer { background: #17282d; color: rgba(255, 255, 255, .78); padding: 56px 0 24px; font-size: .94rem; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer h3 { color: #fff; font-family: var(--sans); font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; }
.brand-foot { color: #fff; margin-bottom: .8rem; }
.brand-foot b { color: var(--sun); }
.footer-grid { display: grid; gap: 28px; }
@media (min-width: 800px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.site-footer .muted { color: rgba(255, 255, 255, .6); }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; border-top: 1px solid rgba(255, 255, 255, .12); margin-top: 36px; padding-top: 18px; font-size: .84rem; }

/* WhatsApp flotante */
.wa-float { position: fixed; right: 16px; bottom: 16px; z-index: 40; width: 56px; height: 56px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 8px 24px rgba(0, 0, 0, .22); transition: transform var(--t); }
.wa-float:hover { transform: scale(1.06); }
.v-cabin .wa-float { bottom: 88px; }
@media (min-width: 900px) { .v-cabin .wa-float { bottom: 16px; } }

/* ===== Ficha de cabaña ===== */
.cabin-page { padding-top: 18px; padding-bottom: 60px; }
.crumbs { font-size: .88rem; color: var(--muted); margin-bottom: 10px; }
.crumbs a { color: var(--muted); }
.cabin-title { font-size: clamp(1.7rem, 4.6vw, 2.6rem); margin-bottom: .2em; }
.cabin-meta { display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: .95rem; margin-bottom: 18px; }
.gallery { position: relative; display: grid; gap: 8px; border-radius: var(--r); overflow: hidden; grid-template-columns: 1fr; }
.g-item { padding: 0; border: 0; cursor: zoom-in; background: var(--sand-2); display: block; overflow: hidden; }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: filter var(--t); }
.g-item:hover img { filter: brightness(.9); }
.gallery .g-item:not(:first-child) { display: none; }
.gallery .g-item:first-child { aspect-ratio: 4 / 3; }
.g-all { position: absolute; right: 14px; bottom: 14px; background: #fff; border: 1px solid var(--ink); border-radius: 10px; padding: .45rem .85rem; font-weight: 600; font-size: .86rem; cursor: pointer; }
@media (min-width: 760px) {
  .gallery { height: 440px; }
  .gallery .g-item:not(:first-child) { display: block; }
  .gallery .g-item:first-child { aspect-ratio: auto; }
  .g-2 { grid-template-columns: 2fr 1fr; }
  .g-3 { grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; }
  .g-3 .g-item:first-child { grid-row: 1 / 3; }
  .g-4, .g-5 { grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 1fr 1fr; }
  .g-4 .g-item:first-child, .g-5 .g-item:first-child { grid-row: 1 / 3; }
  .g-4 .g-item:nth-child(4) { grid-column: 2 / 4; }
}
.cabin-grid { display: grid; gap: 32px; margin-top: 28px; }
@media (min-width: 960px) { .cabin-grid { grid-template-columns: 1fr 380px; gap: 64px; } }
.cabin-main > section, .cabin-main > ul { padding: 26px 0; border-bottom: 1px solid var(--line); margin: 0; }
.cabin-main > section:first-child { padding-top: 0; }
.cabin-main h2 { font-size: 1.4rem; }
.cabin-head h2 { margin-bottom: .2em; }
.host-row { display: flex; gap: 14px; align-items: center; }
.host-row img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; }
.host-row div { display: flex; flex-direction: column; }
.highlights { list-style: none; padding-left: 0 !important; display: grid; gap: 18px; }
.highlights li { display: flex; gap: 16px; }
.highlights div { display: flex; flex-direction: column; }
.highlights span:not(.hl) { color: var(--muted); font-size: .94rem; }
.hl { flex: 0 0 28px; height: 28px; background: center / 26px no-repeat; }
.hl-pin { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f2a2e' stroke-width='1.8'%3E%3Cpath d='M12 22s7-6.2 7-12a7 7 0 1 0-14 0c0 5.8 7 12 7 12Z'/%3E%3Ccircle cx='12' cy='10' r='2.5'/%3E%3C/svg%3E"); }
.hl-key { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f2a2e' stroke-width='1.8'%3E%3Ccircle cx='8' cy='15' r='4'/%3E%3Cpath d='m11 12 9-9M17 6l3 3M15 8l2 2'/%3E%3C/svg%3E"); }
.hl-cal { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f2a2e' stroke-width='1.8'%3E%3Crect x='3' y='5' width='18' height='16' rx='2'/%3E%3Cpath d='M3 10h18M8 3v4M16 3v4m-7 9 2 2 4-4'/%3E%3C/svg%3E"); }
.cabin-desc p { color: var(--ink-2); }
.amenities { list-style: none; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 20px; margin: 0; }
.amenities li { display: flex; align-items: center; gap: 12px; }
.am { width: 24px; height: 24px; flex: 0 0 24px; background: center / 22px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f2a2e' stroke-width='1.8'%3E%3Cpath d='m5 12 4 4L19 6'/%3E%3C/svg%3E"); }
.am-wifi { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f2a2e' stroke-width='1.8'%3E%3Cpath d='M2 9a15 15 0 0 1 20 0M5 12.5a10 10 0 0 1 14 0M8.5 16a5 5 0 0 1 7 0'/%3E%3Ccircle cx='12' cy='19' r='1'/%3E%3C/svg%3E"); }
.am-kitchen, .am-fridge { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f2a2e' stroke-width='1.8'%3E%3Cpath d='M7 2v8a2 2 0 0 0 2 2v10M5 2v6M9 2v6M17 22V2c-2 1-3 4-3 8h3'/%3E%3C/svg%3E"); }
.am-terrace, .am-garden { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f2a2e' stroke-width='1.8'%3E%3Cpath d='M12 22v-9M12 13c-5 0-8-3-8-9 5 0 8 3 8 9Zm0 0c5 0 8-3 8-9-5 0-8 3-8 9ZM5 22h14'/%3E%3C/svg%3E"); }
.am-hot_water { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f2a2e' stroke-width='1.8'%3E%3Cpath d='M12 3s6 6.5 6 11a6 6 0 0 1-12 0c0-4.5 6-11 6-11Z'/%3E%3C/svg%3E"); }
.am-parking { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f2a2e' stroke-width='1.8'%3E%3Crect x='3' y='3' width='18' height='18' rx='3'/%3E%3Cpath d='M9 17V7h4a3 3 0 0 1 0 6H9'/%3E%3C/svg%3E"); }
.am-bedding, .am-towels { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f2a2e' stroke-width='1.8'%3E%3Cpath d='M2 18v-7a3 3 0 0 1 3-3h14a3 3 0 0 1 3 3v7M2 14h20M2 18v2M22 18v2M6 8V5h5v3'/%3E%3C/svg%3E"); }
.rules { padding-left: 1.1rem; margin: 0; color: var(--ink-2); }
.rules li { margin-bottom: .35rem; }

/* Tarjeta de reserva */
.book-card { position: sticky; top: 92px; align-self: start; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 24px; box-shadow: var(--shadow-lg); display: none; }
@media (min-width: 960px) { .book-card { display: block; } }
.bc-price { font-size: 1.05rem; }
.bc-price b { font-size: 1.45rem; }
.bc-box { border: 1px solid #c9c0b0; border-radius: 12px; margin: 14px 0; overflow: hidden; }
.bc-dates { display: grid; grid-template-columns: 1fr 1fr; cursor: pointer; }
.bc-dates > div { padding: .65rem .8rem; display: flex; flex-direction: column; min-width: 0; }
.bc-dates > div + div { border-left: 1px solid #c9c0b0; }
.bc-dates span:last-child { font-size: .95rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bc-guests { border-top: 1px solid #c9c0b0; padding: .55rem .8rem; display: flex; justify-content: space-between; align-items: center; }
.bc-note { text-align: center; font-size: .88rem; color: var(--muted); margin: 10px 0 0; }
.bc-break { margin-top: 14px; }
.bc-err { color: var(--err); font-size: .92rem; margin: 10px 0 0; }
.row { display: flex; justify-content: space-between; gap: 12px; padding: 5px 0; }
.row span:first-child { text-decoration: underline dotted; text-underline-offset: 3px; }
.row.total { border-top: 1px solid var(--line); margin-top: 8px; padding-top: 14px; font-weight: 700; }
.row.total span:first-child, .row.sub span:first-child { text-decoration: none; }
.row.sub { color: var(--muted); font-size: .92rem; }

.mobile-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; background: #fff; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); }
.mobile-bar > div { display: block; font-size: .95rem; line-height: 1.35; }
.mobile-bar > div .muted { display: block; }
.mobile-bar .muted { font-size: .84rem; text-decoration: underline; }
.v-cabin .site-footer { padding-bottom: 100px; }
@media (min-width: 960px) { .mobile-bar { display: none; } .v-cabin .site-footer { padding-bottom: 24px; } }

/* Calendario (popover y en línea) */
.inline-cal { margin-top: 10px; }
.cal { display: grid; gap: 28px; user-select: none; }
.cal.two { grid-template-columns: 1fr; }
@media (min-width: 700px) { .cal.two { grid-template-columns: 1fr 1fr; } }
.cal-month h4 { text-align: center; font-family: var(--sans); font-weight: 600; margin: 0 0 12px; text-transform: capitalize; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); row-gap: 2px; }
.cal-wd { text-align: center; font-size: .74rem; color: var(--muted); font-weight: 600; padding-bottom: 6px; }
.cal-d { position: relative; aspect-ratio: 1; border: 0; background: none; padding: 0; cursor: pointer; font-size: .93rem; font-weight: 500; display: grid; place-items: center; }
.cal-d span { width: 100%; max-width: 44px; aspect-ratio: 1; display: grid; place-items: center; border-radius: 50%; border: 1.5px solid transparent; }
.cal-d:hover:not(:disabled) span { border-color: var(--ink); }
.cal-d:disabled { cursor: default; color: #b7b0a3; text-decoration: line-through; }
.cal-d.past:disabled { text-decoration: none; }
.cal-d.in-range { background: var(--sand-2); }
.cal-d.start, .cal-d.end { background: linear-gradient(90deg, transparent 50%, var(--sand-2) 50%); }
.cal-d.end { background: linear-gradient(90deg, var(--sand-2) 50%, transparent 50%); }
.cal-d.start.end { background: none; }
.cal-d.start span, .cal-d.end span { background: var(--ink); color: #fff; }
.cal-d.checkout-only { color: var(--ink); text-decoration: none; }
.cal-d.checkout-only:disabled { color: #b7b0a3; }
.cal-nav { display: flex; justify-content: space-between; margin-bottom: -34px; position: relative; z-index: 2; }
.cal-nav button { width: 34px; height: 34px; border-radius: 50%; border: 0; background: transparent; cursor: pointer; font-size: 1.3rem; }
.cal-nav button:hover:not(:disabled) { background: var(--sand); }
.cal-nav button:disabled { opacity: .25; cursor: default; }
.cal-legend { font-size: .85rem; color: var(--muted); margin-top: 8px; }

.popover { position: fixed; z-index: 100; inset: auto 0 0 0; background: #fff; border-radius: 22px 22px 0 0; padding: 18px 16px calc(16px + env(safe-area-inset-bottom)); box-shadow: var(--shadow-lg); max-height: 88svh; overflow: auto; color: var(--ink); }
@media (min-width: 760px) { .popover { position: absolute; inset: auto; border-radius: 22px; width: min(760px, calc(100vw - 32px)); padding: 24px 28px; } }
.pop-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 14px; }
.pop-head b { font-family: var(--serif); font-size: 1.3rem; display: block; }
.pop-x { width: 36px; height: 36px; border-radius: 50%; border: 0; background: var(--sand); cursor: pointer; font-size: 1rem; flex: 0 0 36px; }
.pop-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 14px; }
.backdrop { position: fixed; inset: 0; background: rgba(15, 25, 28, .45); z-index: 99; }
@media (min-width: 760px) { .backdrop { background: transparent; } }

/* Checkout */
.co-page, .my-page { padding-top: 22px; padding-bottom: 72px; }
.back { display: inline-block; margin-bottom: 12px; color: var(--ink); text-decoration: none; font-weight: 600; }
.co-grid { display: grid; gap: 28px; }
@media (min-width: 960px) { .co-grid { grid-template-columns: 1fr 400px; gap: 56px; align-items: start; } }
.co-box { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 22px 20px; margin-bottom: 18px; }
.co-box h2 { font-size: 1.3rem; }
.co-trip { display: grid; gap: 12px; }
.co-trip div { display: flex; flex-direction: column; }
.fgrid { display: grid; gap: 14px; }
@media (min-width: 640px) { .fgrid { grid-template-columns: 1fr 1fr; } .f-full { grid-column: 1 / -1; } }
.f { display: flex; flex-direction: column; gap: 5px; font-size: .9rem; font-weight: 600; }
.f input, .f select, .f textarea { font-weight: 400; font-size: 1rem; border: 1.5px solid #cfc6b6; border-radius: 10px; padding: .75rem .85rem; background: #fff; width: 100%; }
.f input:focus, .f select:focus, .f textarea:focus { border-color: var(--ocean); outline: none; box-shadow: 0 0 0 3px rgba(14, 94, 122, .15); }
.f.bad input, .f.bad select { border-color: var(--err); }
.f .ferr { color: var(--err); font-weight: 500; font-size: .84rem; }
.steps { padding-left: 1.2rem; margin: 0 0 12px; display: grid; gap: 10px; }
.steps li { display: flex; flex-direction: column; }
.steps span { color: var(--muted); font-size: .94rem; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; margin: 8px 0 16px; }
.consent input { width: 20px; height: 20px; margin-top: 2px; flex: 0 0 20px; accent-color: var(--lava); }
.form-err { color: var(--err); font-weight: 600; }
.co-sum { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 22px; box-shadow: var(--shadow); }
@media (min-width: 960px) { .co-sum { position: sticky; top: 92px; } }
.co-sum-head { display: flex; gap: 14px; padding-bottom: 16px; border-bottom: 1px solid var(--line); margin-bottom: 16px; }
.co-sum-head img { width: 120px; height: 90px; object-fit: cover; border-radius: 10px; }
.co-sum-head div { display: flex; flex-direction: column; font-size: .92rem; }
.co-sum h3 { font-family: var(--sans); font-size: 1.1rem; }
.alert { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 22px; }
.done { text-align: center; max-width: 620px; margin: 30px auto; background: #fff; border-radius: 24px; padding: 40px 24px; box-shadow: var(--shadow-lg); }
.done-ic { width: 64px; height: 64px; border-radius: 50%; background: var(--ok); color: #fff; font-size: 2rem; display: grid; place-items: center; margin: 0 auto 16px; }

/* Mi reserva */
.my-page { max-width: 760px; }
.my-top { display: flex; gap: 16px; align-items: center; margin-bottom: 18px; }
.my-top img { width: 140px; height: 105px; object-fit: cover; border-radius: 12px; }
.my-top h2 { margin: .3rem 0; }
.status { display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; padding: .25rem .6rem; border-radius: 999px; background: var(--sand-2); }
.st-confirmed { background: #dcefe2; color: var(--ok); }
.st-accepted { background: #fff1d6; color: #8a5a00; }
.st-rejected, .st-cancelled, .st-expired { background: #f6dede; color: var(--err); }
.timeline { list-style: none; padding: 0; display: flex; gap: 8px; margin: 0 0 18px; counter-reset: s; }
.timeline li { flex: 1; font-size: .85rem; padding-top: 10px; border-top: 4px solid var(--line); color: var(--muted); }
.timeline li.done, .timeline li.now { border-color: var(--ok); color: var(--ink); }
.timeline li.now { font-weight: 700; }
.bank { background: var(--sand); border-radius: 12px; padding: 16px; margin: 14px 0; }
.bank pre { white-space: pre-wrap; font-family: inherit; margin: 8px 0 12px; }

/* Lightbox */
.lightbox { border: 0; padding: 0; background: #0d1416; width: 100vw; height: 100svh; max-width: 100vw; max-height: 100svh; }
.lightbox::backdrop { background: #0d1416; }
.lightbox img { width: 100%; height: 100%; object-fit: contain; }
.lb-close, .lb-nav { position: absolute; z-index: 2; background: rgba(255, 255, 255, .14); color: #fff; border: 0; border-radius: 50%; width: 46px; height: 46px; font-size: 1.6rem; cursor: pointer; }
.lb-close { top: 14px; right: 14px; }
.lb-prev { left: 14px; top: 50%; }
.lb-next { right: 14px; top: 50%; }

/* Texto largo */
.prose { max-width: 760px; padding-top: 34px; padding-bottom: 72px; }
.prose h2 { font-size: 1.3rem; margin-top: 1.6em; }
.nf { padding-top: 90px; }
.v-home main { margin-top: 0; }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
