:root {
  --sea: #0E3A41;
  --sea-2: #16505A;
  --sand: #F6EEE0;
  --ink: #14272B;
  --muted: #3F5357;
  --gold: #F2C98B;
  --sun: #E8A04A;
  --accent: #B9461F;
  --wa: #1B7F46;
  --radius: 20px;
  --display: 'Bricolage Grotesque', 'DM Sans', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0;
  background: var(--sand);
  color: var(--ink);
  font-family: 'DM Sans', system-ui, sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
h1, h2, h3 { font-family: var(--display); margin: 0; line-height: 1.05; }
h2 { font-size: clamp(32px, 4.5vw, 52px); font-weight: 800; }
h3 { font-size: 26px; font-weight: 700; }
a { color: inherit; }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.stack { display: flex; flex-direction: column; gap: 20px; }
.stack--lg { gap: 40px; }
.lead { margin: 0; font-size: 18px; line-height: 1.6; max-width: 540px; }
.muted { margin: 0; color: var(--muted); max-width: 480px; line-height: 1.6; }
.eyebrow { margin: 0; font-size: 14px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }

/* Botones */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 28px; border-radius: 999px;
  font-weight: 700; font-size: 17px; text-decoration: none;
  transition: transform .15s ease, filter .15s ease;
}
.btn:hover { transform: translateY(-1px); filter: brightness(1.08); }
.btn--accent { background: var(--accent); color: #fff; }
.btn--dark { background: var(--sea); color: var(--sand); align-self: flex-start; }
.btn--outline { border: 2px solid var(--gold); color: var(--sand); }
.btn--block { width: 100%; margin-top: auto; }
.btn--lg { min-height: 56px; font-size: 18px; padding: 0 32px; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 20; background: var(--sea); color: var(--sand); }
.nav__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 32px; padding-top: 10px; padding-bottom: 10px; }
.nav__brand { font-family: var(--display); font-weight: 800; font-size: 22px; text-decoration: none; min-height: 44px; display: flex; align-items: center; }
.nav__links { display: flex; flex-wrap: wrap; gap: 0 24px; font-size: 15px; font-weight: 500; }
.nav__links a { text-decoration: none; min-height: 44px; display: flex; align-items: center; }
.nav__links a:hover { text-decoration: underline; }

/* Hero */
.hero { position: relative; color: var(--sand); min-height: min(86vh, 760px); display: flex; align-items: flex-end; overflow: hidden; background: var(--sea); }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__shade { position: absolute; inset: 0; background: linear-gradient(to top, rgba(8,32,36,.88) 0%, rgba(8,32,36,.45) 45%, rgba(8,32,36,.1) 100%); }
.hero__content { position: relative; width: 100%; padding-top: 140px; padding-bottom: 88px; display: flex; flex-direction: column; align-items: flex-start; gap: 22px; }
.hero h1 { font-size: clamp(42px, 7vw, 84px); font-weight: 800; max-width: 760px; text-wrap: balance; }
.hero__lead { margin: 0; font-size: 19px; max-width: 520px; color: #EDE6D8; }

/* Secciones */
.section { padding: 88px 0; }
.section--tight { padding-top: 16px; }
.section--flush { padding-top: 0; }
.section--dark { background: var(--sea); color: var(--sand); }
.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr)); gap: 48px; }
.split--center { align-items: center; }

.amenities { margin: 4px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.amenities li { position: relative; padding-left: 28px; font-size: 16px; }
.amenities li::before { content: ""; position: absolute; left: 0; top: 7px; width: 12px; height: 12px; border-radius: 50%; background: var(--sun); }

.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(160px, 100%), 1fr)); gap: 16px; align-content: start; }
.fact { background: #fff; border-radius: 16px; padding: 24px; display: flex; flex-direction: column; gap: 6px; }
.fact--wide { grid-column: 1 / -1; }
.fact__num { font-family: var(--display); font-size: 44px; font-weight: 800; color: var(--sea); line-height: 1; }
.fact__label { font-size: 15px; color: var(--muted); }
.fact__label strong { color: var(--ink); }

/* Carrusel */
.carousel { position: relative; height: clamp(380px, 62vw, 600px); border-radius: 24px; overflow: hidden; background: var(--sea); }
.carousel__track { position: absolute; inset: 0; }
.slide { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity .5s ease; overflow: hidden; }
.slide.is-active { opacity: 1; }
.slide__bg { position: absolute; inset: -40px; background-size: cover; background-position: center; filter: blur(28px) brightness(.7); transform: scale(1.1); }
.slide img { position: relative; width: 100%; height: 100%; object-fit: contain; }
.carousel__bar { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 24px 20px; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: center; gap: 16px; background: linear-gradient(to top, rgba(10,30,34,.55), rgba(10,30,34,0)); }
.carousel__caption { margin: 0; color: #fff; font-size: 18px; font-weight: 500; }
.carousel__dots { display: flex; align-items: center; gap: 8px; }
.carousel__dots button { width: 12px; height: 12px; border-radius: 6px; border: 0; padding: 0; cursor: pointer; background: rgba(255,255,255,.55); transition: width .2s ease; }
.carousel__dots button[aria-current="true"] { width: 28px; background: #fff; }
.carousel__arrow { position: absolute; top: 50%; margin-top: -24px; width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--sand); color: var(--sea); cursor: pointer; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 14px rgba(0,0,0,.2); }
.carousel__arrow--prev { left: 16px; }
.carousel__arrow--next { right: 16px; }

/* Precios */
.prices { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 20px; }
.price-card { background: var(--sea-2); border-radius: var(--radius); padding: 32px; display: flex; flex-direction: column; gap: 24px; }
.price-card--featured { background: var(--sand); color: var(--ink); }
.price-card--note { background: transparent; border: 2px solid var(--sea-2); }
.price-card__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.badge { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; background: var(--ink); color: var(--sand); padding: 6px 12px; border-radius: 999px; }
.price-list { margin: 0; display: grid; gap: 12px; }
.price-list div { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding-bottom: 12px; border-bottom: 1px solid rgba(207,224,223,.25); }
.price-card--featured .price-list div { border-bottom-color: rgba(20,39,43,.15); }
.price-list dt { font-size: 17px; font-weight: 500; }
.price-list dd { margin: 0; font-family: var(--display); font-size: 44px; font-weight: 800; color: var(--gold); line-height: 1; }
.price-card--featured .price-list dd { color: #8F3515; }
.checks { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; font-size: 16px; }
.checks li { position: relative; padding-left: 28px; color: #E3ECEB; }
.checks li::before { content: ""; position: absolute; left: 2px; top: 5px; width: 12px; height: 7px; border-left: 2.5px solid var(--gold); border-bottom: 2.5px solid var(--gold); transform: rotate(-45deg); }
.checks strong { color: #fff; }

/* Mapa */
.map { border-radius: 24px; overflow: hidden; background: #E9D5AE; aspect-ratio: 4 / 3; width: 100%; }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }

/* CTA */
.cta { background: var(--sun); border-radius: 28px; padding: 56px 32px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 20px; }
.cta h2 { font-size: clamp(30px, 4.5vw, 52px); max-width: 680px; text-wrap: balance; }
.cta p { margin: 0; font-size: 18px; max-width: 480px; }
.cta .btn--dark { align-self: center; }
.cta__phone { font-size: 16px; font-weight: 500; }

/* Footer */
.footer { background: var(--sea); color: #CFE0DF; padding: 32px 0; font-size: 14px; }
.footer__inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }

/* WhatsApp flotante */
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 30; width: 60px; height: 60px; border-radius: 50%; background: var(--wa); display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 18px rgba(0,0,0,.28); }

@media (max-width: 640px) {
  .nav__links { gap: 0 16px; font-size: 14px; }
  .section { padding: 64px 0; }
  .carousel__arrow { width: 44px; height: 44px; margin-top: -22px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .slide, .btn { transition: none; }
}
