:root {
  --ink: #10212b;
  --navy: #142a38;
  --navy-2: #203b4c;
  --navy-3: #2e4c5c;
  --wood: #76523f;
  --wood-dark: #51392f;
  --sand: #d6b789;
  --sand-soft: #f2e4cc;
  --paper: #f8f5ef;
  --white: #ffffff;
  --muted: #65727a;
  --line: rgba(16, 33, 43, .12);
  --shadow: 0 24px 70px rgba(11, 25, 34, .16);
  --radius: 28px;
  --radius-sm: 18px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
.container { width: min(var(--max), calc(100% - 40px)); margin-inline: auto; }
.section { padding: 110px 0; }

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 9999;
  transform: translateY(-160%);
  background: var(--white);
  color: var(--ink);
  padding: 10px 14px;
  border-radius: 8px;
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  transition: background .25s ease, box-shadow .25s ease, backdrop-filter .25s ease;
}
.site-header.scrolled {
  background: rgba(15, 31, 42, .92);
  box-shadow: 0 12px 35px rgba(0,0,0,.14);
  backdrop-filter: blur(16px);
}
.header-inner {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand { display: flex; align-items: center; gap: 13px; min-width: 0; color: #fff; }
.brand img {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 8px 24px rgba(0,0,0,.28);
  border: 2px solid rgba(214,183,137,.75);
}
.brand-copy { display: grid; line-height: 1.15; }
.brand-copy strong { font-family: Georgia, "Times New Roman", serif; font-size: 1.06rem; letter-spacing: .02em; }
.brand-copy small { margin-top: 5px; color: rgba(255,255,255,.7); }

.main-nav { display: flex; align-items: center; gap: 24px; color: rgba(255,255,255,.9); font-size: .92rem; font-weight: 650; }
.main-nav a:not(.nav-cta) { position: relative; padding: 10px 0; }
.main-nav a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 5px;
  height: 2px;
  background: var(--sand);
  transition: right .2s ease;
}
.main-nav a:not(.nav-cta):hover::after { right: 0; }
.nav-cta {
  padding: 12px 18px;
  border: 1px solid rgba(214,183,137,.65);
  border-radius: 999px;
  background: rgba(214,183,137,.12);
}
.menu-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.menu-toggle span { display: block; width: 26px; height: 2px; background: #fff; margin: 5px 0; border-radius: 10px; }

.hero {
  min-height: 820px;
  height: 100svh;
  position: relative;
  display: flex;
  align-items: center;
  color: #fff;
  isolation: isolate;
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -3; }
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(8,20,28,.88) 0%, rgba(8,20,28,.72) 42%, rgba(8,20,28,.26) 72%, rgba(8,20,28,.38) 100%),
    linear-gradient(0deg, rgba(8,20,28,.72) 0%, transparent 35%);
}
.hero-content {
  padding-top: 80px;
  display: grid;
  grid-template-columns: minmax(210px, 330px) minmax(0, 620px);
  gap: clamp(34px, 6vw, 82px);
  align-items: center;
}
.hero-logo-wrap { display: flex; justify-content: center; }
.hero-logo-wrap img {
  width: min(100%, 320px);
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 50%;
  box-shadow: 0 30px 70px rgba(0,0,0,.42);
  border: 2px solid rgba(214,183,137,.68);
}
.eyebrow {
  margin: 0 0 12px;
  color: var(--sand-soft);
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: .78rem;
  font-weight: 800;
}
.eyebrow.dark { color: var(--wood); }
.eyebrow.warm { color: var(--sand); }
.hero h1, .section h2, .gallery-section h2, .location-section h2, .contact-section h2 {
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: -.035em;
}
.hero h1 { margin: 0; font-size: clamp(3.6rem, 8vw, 7.5rem); line-height: .88; max-width: 760px; text-wrap: balance; }
.hero-lead { margin: 26px 0 0; font-size: clamp(1.15rem, 2vw, 1.45rem); color: rgba(255,255,255,.88); }
.hero-pills { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.hero-pills span {
  padding: 9px 13px;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(8px);
  font-size: .88rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.btn {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 20px;
  border-radius: 999px;
  font-weight: 800;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--sand); color: var(--ink); box-shadow: 0 12px 30px rgba(214,183,137,.22); }
.btn-primary:hover { background: #e0c79f; }
.btn-ghost { color: #fff; border: 1px solid rgba(255,255,255,.42); background: rgba(255,255,255,.05); }
.btn-dark { background: var(--navy); color: #fff; }
.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 30px;
  transform: translateX(-50%);
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 50%;
  color: #fff;
  animation: bob 1.8s ease-in-out infinite;
}
@keyframes bob { 50% { transform: translate(-50%, 7px); } }

.cabins { background: linear-gradient(180deg, var(--paper), #fff); }
.cabin-layout { display: grid; grid-template-columns: .82fr 1.18fr; gap: 70px; align-items: center; }
.section-copy h2, .section-heading h2 { margin: 0; font-size: clamp(2.4rem, 5vw, 4.6rem); line-height: .98; }
.section-intro { margin: 22px 0 0; color: var(--muted); font-size: 1.08rem; }
.stat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 30px; }
.stat-card { padding: 25px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: rgba(255,255,255,.68); }
.stat-number { display: block; font-family: Georgia, "Times New Roman", serif; font-size: 2.2rem; color: var(--wood); line-height: 1; }
.stat-label { display: block; margin-top: 8px; font-weight: 750; font-size: .9rem; }
.feature-photo { margin: 0; position: relative; }
.feature-photo::before {
  content: "";
  position: absolute;
  inset: 24px -24px -24px 24px;
  border: 1px solid rgba(118,82,63,.34);
  border-radius: var(--radius);
  z-index: -1;
}
.feature-photo img { width: 100%; height: 570px; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }

.services { background: #efe8dd; }
.section-heading.centered { text-align: center; max-width: 780px; margin: 0 auto; }
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 48px; }
.service-card {
  min-height: 240px;
  padding: 28px;
  border-radius: 22px;
  border: 1px solid rgba(81,57,47,.12);
  background: rgba(255,255,255,.72);
  backdrop-filter: blur(8px);
  transition: transform .25s ease, box-shadow .25s ease;
}
.service-card:hover { transform: translateY(-6px); box-shadow: 0 22px 44px rgba(59,42,34,.1); }
.service-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  background: var(--navy);
  color: var(--sand-soft);
  font-weight: 900;
  font-size: 1.35rem;
}
.service-card h3 { margin: 26px 0 8px; font-size: 1.15rem; }
.service-card p { margin: 0; color: var(--muted); }
.barbacoa-card {
  margin-top: 24px;
  padding: 34px;
  display: grid;
  grid-template-columns: 72px 1fr;
  align-items: center;
  gap: 24px;
  border-radius: var(--radius);
  color: #fff;
  background: linear-gradient(115deg, var(--wood-dark), var(--navy));
  box-shadow: var(--shadow);
}
.barbacoa-card h3 { margin: 0 0 8px; font-family: Georgia, "Times New Roman", serif; font-size: 2rem; }
.barbacoa-card p { margin: 0; color: rgba(255,255,255,.78); }
.barbacoa-mark { width: 72px; height: 72px; display: grid; place-items: center; border-radius: 22px; background: rgba(214,183,137,.16); font-size: 2rem; color: var(--sand); }

.gallery-section { padding: 110px 0; color: #fff; background: var(--navy); }
.gallery-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 42px; }
.gallery-heading h2 { margin: 0; font-size: clamp(2.5rem, 5vw, 4.8rem); }
.gallery-grid { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: 210px; gap: 14px; }
.gallery-item {
  grid-column: span 4;
  border: 0;
  padding: 0;
  background: transparent;
  border-radius: 18px;
  overflow: hidden;
  cursor: zoom-in;
  position: relative;
}
.gallery-item::after { content: "+"; position: absolute; right: 16px; top: 16px; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; background: rgba(10,20,27,.64); color: #fff; font-size: 1.35rem; opacity: 0; transform: scale(.8); transition: .2s ease; }
.gallery-item:hover::after { opacity: 1; transform: scale(1); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.gallery-item:hover img { transform: scale(1.035); }
.gallery-large { grid-column: span 8; grid-row: span 2; }
.gallery-wide { grid-column: span 8; }

.pricing { background: #fff; }
.pricing-layout { display: grid; grid-template-columns: 1fr .85fr; gap: 44px; align-items: stretch; }
.pricing-copy { padding: 58px; border-radius: var(--radius); background: var(--sand-soft); }
.pricing-copy h2 { margin: 0; max-width: 650px; font-size: clamp(3rem, 6vw, 5.7rem); line-height: .92; }
.pricing-copy p { color: var(--muted); margin: 20px 0 28px; }
.reservation-card { padding: 58px; border-radius: var(--radius); background: var(--navy); color: #fff; display: flex; flex-direction: column; justify-content: center; }
.reservation-card h3 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: 2.2rem; }
.payment-options { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 28px 0; }
.payment-options span { padding: 18px; text-align: center; border-radius: 16px; border: 1px solid rgba(214,183,137,.3); background: rgba(255,255,255,.04); font-weight: 800; }
.text-link { color: var(--sand); font-weight: 800; }

.location-section { padding: 110px 0; background: linear-gradient(145deg, #1c3949, #10232f); color: #fff; }
.location-layout { display: grid; grid-template-columns: .75fr 1.25fr; gap: 48px; align-items: center; }
.location-copy h2 { margin: 0 0 30px; font-size: clamp(2.6rem, 5vw, 5rem); line-height: .98; }
.map-card { overflow: hidden; border-radius: var(--radius); min-height: 500px; box-shadow: 0 30px 70px rgba(0,0,0,.28); border: 1px solid rgba(255,255,255,.13); }
.location-visual { position: relative; isolation: isolate; display: grid; place-items: center; }
.location-visual > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -3; }
.location-visual-overlay { position: absolute; inset: 0; z-index: -2; background: linear-gradient(145deg, rgba(8,20,28,.28), rgba(8,20,28,.82)); }
.location-pin { width: 94px; height: 94px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--sand); box-shadow: 0 22px 48px rgba(0,0,0,.28); display: grid; place-items: center; }
.location-pin span { width: 32px; height: 32px; border-radius: 50%; background: var(--navy); }
.location-visual-copy { position: absolute; left: 30px; right: 30px; bottom: 26px; display: flex; align-items: baseline; justify-content: space-between; gap: 18px; color: #fff; }
.location-visual-copy strong { font-family: Georgia, "Times New Roman", serif; font-size: 1.55rem; }
.location-visual-copy span { color: var(--sand-soft); font-weight: 800; font-size: .88rem; }

.contact-section { padding: 80px 0; background: #0d1d26; color: #fff; }
.contact-card { padding: 48px; border: 1px solid rgba(214,183,137,.3); border-radius: var(--radius); display: flex; align-items: center; justify-content: space-between; gap: 40px; background: linear-gradient(120deg, rgba(255,255,255,.05), rgba(214,183,137,.06)); }
.contact-card h2 { margin: 0; font-size: clamp(2.4rem, 5vw, 4.4rem); }
.contact-card p { margin: 12px 0 0; color: rgba(255,255,255,.68); }
.contact-actions { display: grid; gap: 12px; min-width: 260px; }
.phone-link { font-family: Georgia, "Times New Roman", serif; text-align: center; font-size: 1.55rem; color: var(--sand-soft); }

.site-footer { padding: 36px 0; color: rgba(255,255,255,.72); background: #071219; border-top: 1px solid rgba(255,255,255,.07); }
.footer-grid { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 28px; }
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand img { width: 50px; height: 50px; object-fit: cover; border-radius: 50%; border: 1px solid rgba(214,183,137,.5); }
.footer-brand div { display: grid; }
.footer-brand strong { color: #fff; font-family: Georgia, "Times New Roman", serif; }
.footer-brand span { font-size: .84rem; }
.footer-nav { display: flex; gap: 16px; font-size: .86rem; }
.footer-nav a:hover, .footer-whatsapp:hover { color: #fff; }
.footer-whatsapp { color: var(--sand); font-weight: 800; font-size: .88rem; }

.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 1200;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 11px 15px 11px 12px;
  border-radius: 999px;
  background: #25D366;
  color: #071b10;
  font-weight: 850;
  box-shadow: 0 16px 38px rgba(0,0,0,.25);
}
.whatsapp-float svg { width: 27px; height: 27px; fill: currentColor; }

.lightbox { padding: 0; border: 0; border-radius: 18px; max-width: min(92vw, 1100px); max-height: 90vh; background: #08131a; box-shadow: 0 28px 90px rgba(0,0,0,.55); }
.lightbox::backdrop { background: rgba(2,8,12,.88); backdrop-filter: blur(6px); }
.lightbox img { max-width: 92vw; max-height: 86vh; width: auto; height: auto; object-fit: contain; }
.lightbox-close { position: absolute; right: 12px; top: 12px; width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); background: rgba(0,0,0,.58); color: #fff; font-size: 1.6rem; cursor: pointer; }

/* Contenido visible por defecto: si JavaScript no carga, la página nunca queda en blanco. */
.reveal { opacity: 1; transform: none; }
.reveal.animate-ready { opacity: 0; transform: translateY(22px); transition: opacity .65s ease, transform .65s ease; }
.reveal.animate-ready.visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: .08s; }
.delay-2 { transition-delay: .16s; }
.delay-3 { transition-delay: .24s; }

@media (max-width: 1020px) {
  .menu-toggle { display: block; z-index: 2; }
  .main-nav {
    position: fixed;
    top: 0;
    right: 0;
    width: min(82vw, 360px);
    height: 100dvh;
    padding: 110px 28px 30px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    background: rgba(10,25,34,.98);
    transform: translateX(105%);
    transition: transform .28s ease;
    box-shadow: -20px 0 60px rgba(0,0,0,.28);
  }
  .main-nav.open { transform: translateX(0); }
  .main-nav a { padding: 12px 0; }
  .nav-cta { margin-top: 10px; text-align: center; }
  .hero { min-height: 760px; }
  .hero-content { grid-template-columns: 220px 1fr; gap: 36px; }
  .hero h1 { font-size: clamp(3.2rem, 9vw, 5.8rem); }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .cabin-layout, .pricing-layout, .location-layout { grid-template-columns: 1fr; }
  .location-copy { max-width: 760px; }
  .map-card { min-height: 430px; height: 430px; }
  .footer-grid { grid-template-columns: 1fr; text-align: center; }
  .footer-brand { justify-content: center; }
  .footer-nav { justify-content: center; flex-wrap: wrap; }
}

@media (max-width: 720px) {
  .container { width: min(100% - 28px, var(--max)); }
  .section, .gallery-section, .location-section { padding: 78px 0; }
  .header-inner { min-height: 76px; }
  .brand img { width: 48px; height: 48px; }
  .brand-copy strong { font-size: .92rem; }
  .brand-copy small { font-size: .76rem; }
  .hero { min-height: 780px; height: auto; padding: 115px 0 78px; }
  .hero-overlay { background: linear-gradient(0deg, rgba(7,18,25,.9) 0%, rgba(7,18,25,.62) 55%, rgba(7,18,25,.48) 100%); }
  .hero-content { padding-top: 0; grid-template-columns: 1fr; gap: 26px; text-align: center; }
  .hero-logo-wrap img { width: 180px; }
  .hero h1 { font-size: clamp(3rem, 14vw, 4.4rem); }
  .hero-lead { margin-top: 17px; }
  .hero-pills, .hero-actions { justify-content: center; }
  .hero-actions .btn { width: 100%; }
  .scroll-cue { display: none; }
  .cabin-layout { gap: 38px; }
  .feature-photo::before { display: none; }
  .feature-photo img { height: 390px; }
  .stat-grid { grid-template-columns: 1fr; }
  .service-grid { grid-template-columns: 1fr; margin-top: 30px; }
  .service-card { min-height: 0; }
  .barbacoa-card { grid-template-columns: 1fr; padding: 28px; }
  .gallery-heading { display: block; }
  .gallery-grid { grid-template-columns: 1fr; grid-auto-rows: 280px; }
  .gallery-item, .gallery-large, .gallery-wide { grid-column: auto; grid-row: auto; }
  .pricing-copy, .reservation-card { padding: 34px 26px; }
  .payment-options { grid-template-columns: 1fr; }
  .map-card { min-height: 360px; height: 360px; }
  .contact-card { padding: 34px 24px; display: grid; }
  .contact-actions { min-width: 0; }
  .footer-nav { gap: 12px; }
  .whatsapp-float span { display: none; }
  .whatsapp-float { width: 56px; height: 56px; padding: 0; justify-content: center; border-radius: 50%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal, .reveal.animate-ready { opacity: 1; transform: none; }
}
