/* ============================================================
   TAANAH HOTEL & GLAMPING · SITIO WEB · Fase 2
   Sistema visual aprobado: B · Pizarra & Salvia
   Cormorant Garamond · Manrope · IBM Plex Mono
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,400;1,500&family=Manrope:wght@400;500;600;700&family=IBM+Plex+Mono:wght@400;500&display=swap');

:root {
  /* —— Paleta aprobada —— */
  --pizarra:   #45433C;
  --pizarra-2: #5A574E;
  --tinta:     #25231E;
  --salvia:    #8E9A8A;
  --salvia-2:  #6F7C6B;
  --bronce:    #8F7A4E;
  --bronce-2:  #A98748;
  --lino:      #ECE6DB;
  --bruma:     #F5F3EE;
  --bone:      #FAF8F3;
  --line:      #DED7C9;
  --line-2:    #E9E3D7;

  /* —— Token tweakable —— */
  --accent:    var(--bronce);
  --accent-ink: #FBF8F1;
  /* Acento luminoso para texto sobre imágenes (no se pierde en la foto) */
  --accent-img: #F0DBA4;

  /* —— Fuentes (tweakable) —— */
  --ff-display: 'Cormorant Garamond', Georgia, serif;
  --ff-body: 'Manrope', system-ui, sans-serif;
  --ff-mono: 'IBM Plex Mono', monospace;

  --maxw: 1280px;
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --r-pill: 999px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--ff-body);
  background: var(--bruma);
  color: var(--tinta);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--accent); color: var(--accent-ink); }

.shell { max-width: var(--maxw); margin: 0 auto; padding: 0 32px; }
@media (max-width: 640px) { .shell { padding: 0 20px; } }

/* —— Tipografía utilitaria —— */
.serif { font-family: var(--ff-display); font-weight: 300; letter-spacing: -0.015em; line-height: 1.04; }
.serif em, em.serif { font-style: italic; font-family: var(--ff-display); }
.eyebrow {
  font-family: var(--ff-mono); font-size: 11.5px; letter-spacing: 0.24em;
  text-transform: uppercase; color: var(--bronce); display: inline-flex; align-items: center; gap: 11px;
}
.eyebrow.light { color: var(--bronce-2); }
.eyebrow .pip { width: 6px; height: 6px; border-radius: 99px; background: currentColor; }

h1, h2, h3 { font-family: var(--ff-display); font-weight: 300; letter-spacing: -0.018em; line-height: 1.03; }
h2 em, h1 em, h3 em { font-style: italic; color: var(--accent); }

.lede { font-family: var(--ff-display); font-weight: 300; font-size: clamp(20px, 2.1vw, 27px); line-height: 1.4; color: var(--pizarra); }
.lede em { font-style: italic; color: var(--accent); }

/* —— Botones —— */
.btn {
  display: inline-flex; align-items: center; gap: 10px; cursor: pointer;
  font-family: var(--ff-mono); font-size: 11.5px; letter-spacing: 0.16em; text-transform: uppercase;
  padding: 15px 28px; border-radius: var(--r-pill); border: 1px solid transparent;
  transition: transform .25s ease, background .25s ease, color .25s ease, border-color .25s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: var(--bronce-2); }
.btn-dark { background: var(--pizarra); color: var(--bone); }
.btn-dark:hover { background: var(--tinta); }
.btn-ghost { border-color: currentColor; color: var(--pizarra); }
.btn-ghost:hover { background: var(--pizarra); color: var(--bone); }
.btn-ghost.on-dark { color: var(--bone); }
.btn-ghost.on-dark:hover { background: var(--bone); color: var(--tinta); }
.btn-lg { padding: 18px 36px; font-size: 12px; }

.link-arrow { font-family: var(--ff-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); display: inline-flex; align-items: center; gap: 8px; transition: gap .25s ease; }
.link-arrow:hover { gap: 14px; }

/* —— HEADER —— */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 32px; transition: background .3s ease, padding .3s ease, box-shadow .3s ease;
}
@media (max-width: 640px) { .site-header { padding: 14px 20px; } }
.site-header.scrolled { background: color-mix(in oklch, var(--bruma) 94%, transparent); backdrop-filter: blur(16px); box-shadow: 0 1px 0 var(--line); padding-top: 12px; padding-bottom: 12px; }
.site-header .logo { height: 52px; width: auto; transition: height .3s ease; }
.site-header.scrolled .logo { height: 40px; }
.site-nav { display: flex; align-items: center; gap: 30px; }
@media (max-width: 1024px) { .site-nav .nav-links { display: none; } }
.nav-links { display: flex; gap: 28px; list-style: none; }
.nav-links a { font-family: var(--ff-mono); font-size: 11px; letter-spacing: 0.13em; text-transform: uppercase; color: var(--pizarra); position: relative; padding: 4px 0; }
.nav-links a::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 0; height: 1px; background: var(--accent); transition: width .25s ease; }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.header-light .logo-dark { display: none; }
.header-light .nav-links a { color: var(--bone); }
.header-light:not(.scrolled) .eyebrow { color: var(--bronce-2); }
.header-light.scrolled .logo-light { display: none; }
.header-light.scrolled .logo-dark { display: block; }
.header-light.scrolled .nav-links a { color: var(--pizarra); }

.nav-toggle { display: none; }
@media (max-width: 1024px) { .nav-toggle { display: inline-flex; } }

/* —— FOOTER —— */
.site-footer { background: var(--tinta); color: var(--bone); padding: 80px 0 36px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 56px; border-bottom: 1px solid rgba(255,255,255,0.12); }
@media (max-width: 900px) { .footer-top { grid-template-columns: 1fr 1fr; gap: 36px; } }
@media (max-width: 560px) { .footer-top { grid-template-columns: 1fr; } }
.site-footer .f-logo { height: 60px; width: auto; margin-bottom: 22px; }
.site-footer .f-tag { font-family: var(--ff-display); font-style: italic; font-size: 21px; color: var(--lino); max-width: 26ch; line-height: 1.3; }
.f-col h4 { font-family: var(--ff-mono); font-size: 10.5px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--bronce-2); margin-bottom: 18px; font-weight: 500; }
.f-col ul { list-style: none; display: grid; gap: 11px; }
.f-col a, .f-col p { font-size: 14px; color: rgba(255,255,255,0.72); transition: color .2s ease; }
.f-col a:hover { color: var(--bone); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 26px; gap: 16px; flex-wrap: wrap; }
.footer-bottom p, .footer-bottom a { font-family: var(--ff-mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.5); }

/* —— SECTION CHROME —— */
.section { padding: clamp(64px, 9vw, 130px) 0; }
.section.tight { padding: clamp(48px, 6vw, 84px) 0; }
.section.alt { background: var(--bone); }
.section.lino { background: var(--lino); }
.section.dark { background: var(--pizarra); color: var(--bone); }
.section.dark h2, .section.dark h3 { color: var(--bone); }
.section.tinta { background: var(--tinta); color: var(--bone); }
.section.tinta h2 { color: var(--bone); }

.sec-intro { max-width: 760px; margin-bottom: 56px; }
.sec-intro.center { margin-left: auto; margin-right: auto; text-align: center; }
.sec-intro h2 { font-size: clamp(34px, 5vw, 64px); margin: 18px 0 22px; }
.sec-intro p { color: var(--pizarra-2); font-size: 17px; max-width: 60ch; }
.section.dark .sec-intro p, .section.tinta .sec-intro p { color: rgba(255,255,255,0.78); }
.sec-intro.center p { margin-left: auto; margin-right: auto; }

/* —— Page hero (interior pages) —— */
.page-hero { position: relative; min-height: 62vh; display: flex; align-items: flex-end; color: var(--bone); overflow: hidden; }
.page-hero img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.page-hero::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(37,35,30,0.5) 0%, rgba(37,35,30,0.32) 38%, rgba(37,35,30,0.9) 100%); }
.page-hero .shell { position: relative; z-index: 2; padding-bottom: 64px; padding-top: 140px; width: 100%; }
.page-hero h1 { font-size: clamp(44px, 8vw, 104px); color: var(--bone); text-shadow: 0 2px 30px rgba(20,17,14,0.5); }
.page-hero h1 em { color: var(--accent-img); text-shadow: 0 1px 18px rgba(20,17,14,0.55); }
.page-hero .lede { color: rgba(255,255,255,0.92); margin-top: 18px; max-width: 48ch; text-shadow: 0 1px 16px rgba(20,17,14,0.5); }

/* —— Tarjetas de habitación —— */
.room-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 980px) { .room-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .room-grid { grid-template-columns: 1fr; } }
.room-card { background: var(--bruma); border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; display: flex; flex-direction: column; transition: transform .3s ease, box-shadow .3s ease; }
.room-card:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -30px rgba(37,35,30,0.4); }
.room-card .ph { aspect-ratio: 4/3; overflow: hidden; position: relative; }
.room-card .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.room-card:hover .ph img { transform: scale(1.06); }
.room-card .ph .tag { position: absolute; top: 14px; left: 14px; font-family: var(--ff-mono); font-size: 9.5px; letter-spacing: 0.14em; text-transform: uppercase; background: var(--bruma); color: var(--pizarra); padding: 6px 11px; border-radius: var(--r-pill); }
.room-card .body { padding: 24px 26px 26px; display: flex; flex-direction: column; flex: 1; }
.room-card .body .ey { font-family: var(--ff-mono); font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); margin-bottom: 9px; }
.room-card .body h3 { font-size: 28px; margin-bottom: 10px; }
.room-card .body p { font-size: 14.5px; color: var(--pizarra-2); line-height: 1.55; margin-bottom: 18px; flex: 1; }
.room-card .feats { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 20px; }
.room-card .feats span { font-family: var(--ff-mono); font-size: 9.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--pizarra-2); border: 1px solid var(--line); border-radius: var(--r-pill); padding: 5px 10px; }
.room-card .foot { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--line); padding-top: 18px; }
.room-card .price { font-family: var(--ff-display); font-size: 24px; color: var(--tinta); }
.room-card .price span { font-family: var(--ff-mono); font-size: 9.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--pizarra-2); display: block; margin-top: 2px; }
.room-card .cap-foot { font-family: var(--ff-mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--pizarra-2); }

/* —— Animaciones de entrada —— */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ============================================================
   HOME — hero, barra de reserva, features
   ============================================================ */
.home-hero { position: relative; min-height: 100vh; display: flex; align-items: flex-end; color: var(--bone); overflow: hidden; }
.home-hero .bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; transform: scale(1.04); }
.home-hero::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(175deg, rgba(37,35,30,0.42) 0%, rgba(37,35,30,0.08) 38%, rgba(37,35,30,0.20) 62%, rgba(37,35,30,0.86) 100%); }
.home-hero .shell { position: relative; z-index: 2; width: 100%; padding-top: 130px; padding-bottom: 46px; }
.home-hero .eyebrow { color: var(--accent-img); }
.home-hero h1 { font-size: clamp(52px, 10vw, 148px); color: var(--bone); margin: 22px 0 0; max-width: 16ch; }
.home-hero h1 em { color: var(--accent-img); text-shadow: 0 1px 18px rgba(20,17,14,0.55); }
.home-hero .hero-lede { font-family: var(--ff-display); font-weight: 300; font-size: clamp(20px, 2.2vw, 28px); line-height: 1.36; color: rgba(255,255,255,0.9); max-width: 44ch; margin-top: 24px; }
.home-hero .scroll-cue { position: absolute; bottom: 30px; right: 32px; z-index: 3; font-family: var(--ff-mono); font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(255,255,255,0.7); writing-mode: vertical-rl; display: flex; align-items: center; gap: 10px; }
@media (max-width: 720px) { .home-hero .scroll-cue { display: none; } }

/* Hero variante editorial */
.home-hero.editorial { align-items: center; background: var(--pizarra); }
.home-hero.editorial::after { background: linear-gradient(90deg, rgba(37,35,30,0.92) 0%, rgba(37,35,30,0.55) 45%, rgba(37,35,30,0.1) 100%); }
.home-hero.editorial .shell { padding-top: 150px; padding-bottom: 90px; }
.home-hero.editorial h1 { max-width: 14ch; }

/* —— Barra de reserva (Cloudbeds) —— */
.booking-wrap { position: relative; z-index: 30; margin-top: -46px; }
.booking-bar {
  background: var(--bruma); border: 1px solid var(--line); border-radius: var(--r-md);
  box-shadow: 0 30px 70px -34px rgba(37,35,30,0.5);
  display: grid; grid-template-columns: repeat(3, 1fr) auto; gap: 0; overflow: hidden; align-items: stretch;
}
@media (max-width: 860px) { .booking-bar { grid-template-columns: 1fr 1fr; } .booking-bar .bk-submit { grid-column: 1 / -1; } }
@media (max-width: 520px) { .booking-bar { grid-template-columns: 1fr; } }
.bk-field { display: flex; flex-direction: column; gap: 6px; padding: 18px 24px; border-right: 1px solid var(--line); position: relative; }
@media (max-width: 860px) { .bk-field { border-right: none; border-bottom: 1px solid var(--line); } }
.bk-field label { font-family: var(--ff-mono); font-size: 9.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--bronce); }
.bk-field input, .bk-field select { border: none; background: transparent; font-family: var(--ff-display); font-size: 21px; color: var(--tinta); width: 100%; cursor: pointer; }
.bk-field input:focus, .bk-field select:focus { outline: none; }
.bk-field input::-webkit-calendar-picker-indicator { opacity: 0.4; cursor: pointer; }
.bk-submit { display: flex; align-items: center; justify-content: center; padding: 10px; }
.bk-submit .btn { height: 100%; border-radius: var(--r-sm); }
.booking-note { text-align: center; font-family: var(--ff-mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--pizarra-2); margin-top: 16px; }

/* —— Split intro / segmentos —— */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 80px); align-items: center; }
.split.reverse { direction: rtl; } .split.reverse > * { direction: ltr; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 40px; } .split.reverse { direction: ltr; } }
.split .media { border-radius: var(--r-md); overflow: hidden; aspect-ratio: 5/6; }
.split .media img { width: 100%; height: 100%; object-fit: cover; }
.split .media.tall { aspect-ratio: 4/5; }
.split-text h2 { font-size: clamp(32px, 4.4vw, 56px); margin: 18px 0 22px; }
.split-text p { color: var(--pizarra-2); margin-bottom: 18px; }
.split-text .stats { display: flex; gap: 36px; margin: 28px 0; flex-wrap: wrap; }
.split-text .stats .s b { font-family: var(--ff-display); font-size: 40px; font-weight: 400; color: var(--accent); display: block; line-height: 1; }
.split-text .stats .s span { font-family: var(--ff-mono); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--pizarra-2); }

/* —— Segmentos (dos formas de llegar) —— */
.seg-cards { display: grid; grid-template-columns: 1.25fr 1fr; gap: 22px; }
@media (max-width: 860px) { .seg-cards { grid-template-columns: 1fr; } }
.seg-card { position: relative; border-radius: var(--r-md); overflow: hidden; min-height: 440px; display: flex; align-items: flex-end; color: var(--bone); }
.seg-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; transition: transform .7s ease; }
.seg-card:hover img { transform: scale(1.05); }
.seg-card::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(37,35,30,0.05), rgba(37,35,30,0.8)); }
.seg-card .inner { position: relative; z-index: 2; padding: 38px 38px 34px; }
.seg-card .inner h3 { font-size: clamp(30px, 3.4vw, 42px); color: var(--bone); margin: 12px 0 12px; }
.seg-card .inner p { color: rgba(255,255,255,0.85); font-size: 15px; max-width: 40ch; margin-bottom: 22px; }

/* —— Experiencias grid —— */
.exp-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 980px) { .exp-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .exp-grid { grid-template-columns: 1fr; } }
.exp-tile { position: relative; border-radius: var(--r-md); overflow: hidden; aspect-ratio: 3/4; display: flex; align-items: flex-end; color: var(--bone); }
.exp-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; transition: transform .7s ease; }
.exp-tile:hover img { transform: scale(1.07); }
.exp-tile::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(37,35,30,0) 35%, rgba(37,35,30,0.82)); }
.exp-tile .inner { position: relative; z-index: 2; padding: 22px 22px 24px; }
.exp-tile .inner .n { font-family: var(--ff-mono); font-size: 10px; letter-spacing: 0.12em; color: var(--accent-img); margin-bottom: 8px; }
.exp-tile .inner h4 { font-family: var(--ff-display); font-weight: 400; font-size: 25px; color: var(--bone); }

/* —— Feature franja (spa / restaurante) —— */
.feature { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; min-height: 540px; }
@media (max-width: 860px) { .feature { grid-template-columns: 1fr; } }
.feature .media { position: relative; overflow: hidden; min-height: 360px; }
.feature .media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.feature .text { padding: clamp(40px, 6vw, 92px); display: flex; flex-direction: column; justify-content: center; }
.feature .text h2 { font-size: clamp(32px, 4.4vw, 58px); margin: 18px 0 22px; }
.feature .text p { color: var(--pizarra-2); margin-bottom: 20px; max-width: 46ch; }
.feature.on-dark .text p { color: rgba(255,255,255,0.8); }
.feature .menu-list { list-style: none; display: grid; gap: 14px; margin: 8px 0 30px; }
.feature .menu-list li { display: flex; justify-content: space-between; gap: 16px; padding-bottom: 13px; border-bottom: 1px solid rgba(255,255,255,0.16); }
.feature.on-light .menu-list li { border-bottom-color: var(--line); }
.feature .menu-list .d { font-family: var(--ff-display); font-size: 20px; }
.feature .menu-list .p { font-family: var(--ff-mono); font-size: 12px; color: var(--bronce-2); align-self: center; }

/* —— Amenities row —— */
.amenities { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
@media (max-width: 980px) { .amenities { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 520px) { .amenities { grid-template-columns: repeat(2, 1fr); } }
.amenity { text-align: center; padding: 26px 14px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--bruma); }
.amenity svg { width: 34px; height: 34px; color: var(--accent); margin: 0 auto 14px; }
.amenity .t { font-family: var(--ff-display); font-size: 19px; }
.amenity .s { font-family: var(--ff-mono); font-size: 9px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--pizarra-2); margin-top: 4px; }

/* —— Testimonios —— */
.quote-block { max-width: 920px; margin: 0 auto; text-align: center; }
.quote-block .q { font-family: var(--ff-display); font-weight: 300; font-size: clamp(28px, 3.6vw, 46px); line-height: 1.18; color: var(--bone); }
.quote-block .q em { font-style: italic; color: var(--accent-img); }
.quote-block .cite { margin-top: 30px; font-family: var(--ff-mono); font-size: 10.5px; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(255,255,255,0.6); }
.stars { display: flex; gap: 5px; justify-content: center; margin-bottom: 28px; color: var(--bronce-2); }

/* —— CTA final —— */
.cta-final { position: relative; text-align: center; padding: clamp(80px,11vw,150px) 0; overflow: hidden; }
.cta-final img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.cta-final::after { content: ""; position: absolute; inset: 0; z-index: 1; background: rgba(37,35,30,0.66); }
.cta-final .shell { position: relative; z-index: 2; }
.cta-final h2 { font-size: clamp(38px, 6vw, 84px); color: var(--bone); max-width: 18ch; margin: 0 auto 14px; }
.cta-final h2 em { color: var(--accent-img); text-shadow: 0 1px 18px rgba(20,17,14,0.55); }
.cta-final p { color: rgba(255,255,255,0.82); max-width: 50ch; margin: 0 auto 36px; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* —— Mapa / ubicación —— */
.locate { display: grid; grid-template-columns: 1fr 1fr; gap: 0; align-items: stretch; border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; }
@media (max-width: 860px) { .locate { grid-template-columns: 1fr; } }
.locate .info { padding: clamp(34px,5vw,64px); background: var(--bruma); }
.locate .info h2 { font-size: clamp(30px, 4vw, 50px); margin: 16px 0 20px; }
.locate .info .rows { display: grid; gap: 18px; margin: 26px 0 30px; }
.locate .info .rows .r { display: grid; grid-template-columns: 130px 1fr; gap: 14px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.locate .info .rows .k { font-family: var(--ff-mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--bronce); padding-top: 3px; }
.locate .info .rows .v { font-size: 15px; color: var(--pizarra-2); }
.locate .map { position: relative; min-height: 380px; background: var(--lino); }
.locate .map img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.locate .map .pin { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); z-index: 2; }

/* —— Tweaks panel (vanilla) —— */
#tweaks-panel { position: fixed; right: 18px; bottom: 18px; z-index: 9999; width: 310px; max-width: calc(100vw - 36px); background: var(--bone); border: 1px solid var(--line); border-radius: var(--r-md); box-shadow: 0 30px 70px -24px rgba(37,35,30,0.5); display: none; overflow: hidden; }
#tweaks-panel.open { display: block; }
#tweaks-panel .tp-head { display: flex; align-items: center; justify-content: space-between; padding: 15px 18px; border-bottom: 1px solid var(--line); cursor: move; }
#tweaks-panel .tp-head b { font-family: var(--ff-mono); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--tinta); }
#tweaks-panel .tp-head button { background: none; border: none; cursor: pointer; font-size: 18px; color: var(--pizarra-2); line-height: 1; }
#tweaks-panel .tp-body { padding: 18px; display: grid; gap: 20px; max-height: 70vh; overflow-y: auto; }
.tp-group > .tp-label { font-family: var(--ff-mono); font-size: 9.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--bronce); display: block; margin-bottom: 10px; }
.tp-swatches { display: flex; gap: 8px; }
.tp-swatches button { width: 34px; height: 34px; border-radius: 50%; border: 2px solid transparent; cursor: pointer; transition: transform .2s ease; }
.tp-swatches button:hover { transform: scale(1.1); }
.tp-swatches button.sel { border-color: var(--tinta); box-shadow: inset 0 0 0 2px var(--bone); }
.tp-seg { display: flex; border: 1px solid var(--line); border-radius: var(--r-pill); overflow: hidden; }
.tp-seg button { flex: 1; padding: 9px 8px; background: var(--bruma); border: none; cursor: pointer; font-family: var(--ff-mono); font-size: 9.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--pizarra-2); }
.tp-seg button.sel { background: var(--accent); color: var(--accent-ink); }
.tp-text input { width: 100%; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--r-sm); font-family: var(--ff-display); font-size: 17px; background: var(--bruma); color: var(--tinta); }
.tp-text input:focus { outline: none; border-color: var(--accent); }
.tp-toggle { display: flex; align-items: center; justify-content: space-between; }
.tp-toggle .sw { width: 42px; height: 24px; border-radius: 99px; background: var(--line); position: relative; cursor: pointer; transition: background .2s ease; }
.tp-toggle .sw.on { background: var(--accent); }
.tp-toggle .sw::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; transition: transform .2s ease; }
.tp-toggle .sw.on::after { transform: translateX(18px); }
.tp-toggle .tp-label { margin: 0; }

/* ============================================================
   GRUPO · barra superior de unidades de negocio
   ============================================================ */
.group-bar {
  position: fixed; top: 0; left: 0; right: 0; height: 42px; z-index: 101;
  background: var(--tinta); display: flex; align-items: center; justify-content: space-between;
  padding: 0 32px; transition: transform .35s ease; gap: 18px;
}
@media (max-width: 640px) { .group-bar { padding: 0 16px; } }
.group-bar.hide { transform: translateY(-100%); }
.group-bar .gb-logo { height: 15px; width: auto; opacity: 0.92; }
.group-bar .gb-units { display: flex; gap: 24px; overflow-x: auto; scrollbar-width: none; }
.group-bar .gb-units::-webkit-scrollbar { display: none; }
.group-bar .gb-units a {
  font-family: var(--ff-mono); font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase;
  color: rgba(255,255,255,0.62); white-space: nowrap; transition: color .2s ease; padding: 4px 0;
}
.group-bar .gb-units a:hover { color: #fff; }
.group-bar .gb-units a.current { color: var(--bronce-2); }
@media (max-width: 640px) { .group-bar .gb-logo { display: none; } .group-bar .gb-units { gap: 16px; } }

/* Header se recorre 42px por la barra de grupo; al hacer scroll sube a 0 */
.site-header { top: 42px; }
.site-header.scrolled { top: 0; }

/* ============================================================
   CLOUDBEDS — botón popup estilizado como pill de marca
   ============================================================ */
cb-book-now-button {
  display: inline-flex; align-items: center; justify-content: center; cursor: pointer;
  font-family: var(--ff-mono); font-size: 11.5px; letter-spacing: 0.16em; text-transform: uppercase;
  background: var(--accent); color: var(--accent-ink);
  padding: 15px 28px; border-radius: var(--r-pill); line-height: 1;
  transition: transform .25s ease, background .25s ease; white-space: nowrap;
  --cb-primary-color: var(--accent); --cb-button-bg: var(--accent); --cb-button-color: var(--accent-ink);
  --cb-button-radius: 999px;
}
cb-book-now-button:hover { transform: translateY(-2px); background: var(--bronce-2); }
cb-book-now-button.cb-lg { padding: 18px 36px; font-size: 12px; }
cb-book-now-button.cb-on-dark { background: var(--accent); color: var(--accent-ink); }
cb-book-now-button::part(button) {
  background: transparent; color: var(--accent-ink); border: none; padding: 0; margin: 0;
  font: inherit; letter-spacing: 0.16em; text-transform: uppercase; cursor: pointer; width: 100%; height: 100%;
}
/* Algunas builds del componente renderizan un <button>/<input> hijo con fondo oscuro: lo neutralizamos */
cb-book-now-button button, cb-book-now-button input, cb-book-now-button a, cb-book-now-button div {
  background: transparent !important; color: var(--accent-ink) !important; border: none !important; box-shadow: none !important;
}

/* ============================================================
   360° — recorrido virtual
   ============================================================ */
.tour-360 { position: relative; border-radius: var(--r-md); overflow: hidden; border: 1px solid var(--line); background: var(--lino); }
.tour-360 iframe { display: block; width: 100%; height: 640px; border: 0; }
@media (max-width: 640px) { .tour-360 iframe { height: 440px; } }

/* Página /reservas — contenedor del motor embebido */
.reservas-stage { min-height: 70vh; background: var(--bone); border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; }
cb-immersive-experience { display: block; width: 100%; min-height: 70vh; }

/* —— Botones flotantes de redes / WhatsApp —— */
.social-fab { position: fixed; left: 18px; bottom: 18px; z-index: 90; display: flex; flex-direction: column; gap: 11px; }
.social-fab a { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; box-shadow: 0 12px 30px -8px rgba(37,35,30,0.5); transition: transform .2s ease; }
.social-fab a:hover { transform: translateY(-3px) scale(1.06); }
.social-fab .wa { background: #25D366; }
.social-fab .ig { background: linear-gradient(48deg, #FEDA75, #FA7E1E, #D62976, #962FBF); }
.social-fab svg { width: 27px; height: 27px; color: #fff; }
@media (max-width: 640px) { .social-fab a { width: 46px; height: 46px; } .social-fab svg { width: 24px; height: 24px; } }

/* ============================================================
   GALERÍAS DE HABITACIÓN + LIGHTBOX
   ============================================================ */
[data-gallery] .ph { cursor: zoom-in; }
.gal-count { position: absolute; bottom: 12px; right: 12px; display: inline-flex; align-items: center; gap: 7px; font-family: var(--ff-mono); font-size: 9.5px; letter-spacing: 0.14em; text-transform: uppercase; background: rgba(20,17,14,0.62); color: #fff; padding: 7px 12px; border-radius: 100px; border: 0; cursor: zoom-in; backdrop-filter: blur(6px); }
.gal-count svg { width: 13px; height: 13px; }
.gal-thumbs { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 5px; padding: 5px; background: var(--bruma); border-bottom: 1px solid var(--line); }
.gal-thumbs button { display: block; aspect-ratio: 4 / 3; overflow: hidden; border: 0; padding: 0; background: var(--lino); cursor: zoom-in; border-radius: 3px; }
.gal-thumbs img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease, opacity .3s ease; }
.gal-thumbs button:hover img { transform: scale(1.08); opacity: 0.88; }

/* Galería en layout split (cabaña) */
.gal-split .media { cursor: zoom-in; }
.gal-split .gal-thumbs { border: 1px solid var(--line); border-top: 0; border-radius: 0 0 var(--r-md) var(--r-md); }

/* Lightbox */
.lb { position: fixed; inset: 0; z-index: 300; background: rgba(20,17,14,0.94); display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 56px 18px 30px; opacity: 0; pointer-events: none; transition: opacity .25s ease; }
.lb.open { opacity: 1; pointer-events: auto; }
.lb-stage { position: relative; width: min(1100px, 100%); flex: 1; min-height: 0; display: flex; align-items: center; justify-content: center; }
.lb-stage img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 6px; box-shadow: 0 40px 90px -30px rgba(0,0,0,0.8); }
.lb-meta { width: min(1100px, 100%); display: flex; align-items: baseline; justify-content: space-between; gap: 18px; padding-top: 16px; }
.lb-cap { font-family: var(--ff-display); font-size: 19px; color: rgba(255,255,255,0.92); font-style: italic; }
.lb-num { font-family: var(--ff-mono); font-size: 10.5px; letter-spacing: 0.18em; color: rgba(255,255,255,0.55); white-space: nowrap; }
.lb button { border: 0; background: rgba(255,255,255,0.08); color: #fff; cursor: pointer; display: grid; place-items: center; border-radius: 50%; transition: background .2s ease, transform .2s ease; }
.lb button:hover { background: rgba(255,255,255,0.18); transform: scale(1.05); }
.lb-close { position: absolute; top: 18px; right: 18px; width: 46px; height: 46px; font-size: 20px; z-index: 2; }
.lb-prev, .lb-next { position: absolute; top: 50%; transform: translateY(-50%); width: 52px; height: 52px; font-size: 22px; z-index: 2; }
.lb-prev { left: 6px; }
.lb-next { right: 6px; }
.lb-prev:hover, .lb-next:hover { transform: translateY(-50%) scale(1.07); }
@media (max-width: 640px) {
  .lb { padding: 64px 10px 22px; }
  .lb-prev, .lb-next { width: 44px; height: 44px; }
  .lb-cap { font-size: 16px; }
}
