/* ============ TOKENS ============ */
:root{
  --teal-deep:#243f3a;
  --teal-deep-2:#1b302c;
  --teal-mid:#427169;
  --sage:#9fa99f;
  --sage-tint:#ecf1f0;
  --amber:#8f7657;
  --gold:#b0a83b;
  --gold-dark:#7f792a;
  --ivory:#f6f2e6;
  --caribbean:#81b7af;
  --ink:#1c2622;
  --white:#ffffff;
  --wa-green:#25d366;

  --font-head:'Poppins',sans-serif;
  --font-body:'Inter',sans-serif;
  --font-accent:'Cormorant Garamond',serif;

  --container:1180px;
  --radius:18px;
  --radius-sm:12px;
  --shadow-soft:0 20px 50px -20px rgba(13,43,54,.35);
}

*,*::before,*::after{box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{
  margin:0;
  font-family:var(--font-body);
  color:var(--ink);
  background:var(--ivory);
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}
img{max-width:100%;display:block;}
a{color:inherit;text-decoration:none;}
h1,h2,h3{font-family:var(--font-head);margin:0 0 .5em;line-height:1.15;color:var(--teal-deep);}
p{margin:0 0 1em;line-height:1.6;}
ul{margin:0;padding:0;list-style:none;}
button{font-family:inherit;border:none;background:none;cursor:pointer;}

.container{
  width:100%;
  max-width:var(--container);
  margin:0 auto;
  padding:0 20px;
}

.section{padding:72px 0;}
.eyebrow{
  font-family:var(--font-accent);
  font-style:italic;
  font-weight:600;
  color:var(--amber);
  font-size:1.15rem;
  margin-bottom:.4em;
}
.eyebrow-light{color:var(--gold);}
h2{font-size:1.7rem;max-width:640px;}
h2.light{color:var(--ivory);}
.lead{font-size:1.05rem;color:#4a5652;max-width:520px;}
.lead-light{color:#cfe0dc;}

/* ============ BUTTONS ============ */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:14px 24px;
  border-radius:100px;
  font-weight:600;
  font-size:.95rem;
  white-space:nowrap;
  transition:transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:active{transform:scale(.97);}
.btn-lg{padding:17px 30px;font-size:1.02rem;}
.btn-gold{
  background:linear-gradient(135deg,var(--gold),var(--gold-dark));
  color:var(--teal-deep);
  box-shadow:0 12px 24px -8px rgba(169,138,56,.55);
}
.btn-gold:hover{box-shadow:0 16px 30px -8px rgba(169,138,56,.7);}
.btn-outline-light{
  border:1.5px solid rgba(255,255,255,.7);
  color:var(--white);
}
.btn-outline-light:hover{background:rgba(255,255,255,.12);}
.btn-outline-dark{
  border:1.5px solid var(--teal-deep);
  color:var(--teal-deep);
}
.btn-outline-dark:hover{background:var(--teal-deep);color:var(--white);}
.btn-dark{background:var(--teal-deep);color:var(--ivory);}
.btn-dark:hover{background:var(--teal-deep-2);}
.btn-ghost-header{color:var(--teal-deep);font-weight:600;padding:10px 6px;display:none;}
.ico-wa{width:19px;height:19px;flex:none;}

/* ============ HEADER ============ */
.site-header{
  position:fixed;top:0;left:0;right:0;z-index:100;
  padding:14px 0;
  transition:background .25s ease, padding .25s ease, box-shadow .25s ease;
}
.site-header.solid{
  background:rgba(246,242,230,.92);
  backdrop-filter:blur(8px);
  box-shadow:0 4px 20px rgba(13,43,54,.08);
  padding:10px 0;
}
.header-inner{display:flex;align-items:center;justify-content:space-between;gap:12px;}
.brand{position:relative;display:block;height:46px;width:82px;flex:none;}
.brand-logo{position:absolute;left:0;top:50%;transform:translateY(-50%);height:100%;width:auto;transition:opacity .2s ease;}
.brand-logo-dark{opacity:0;}
.site-header.solid .brand-logo-light{opacity:0;}
.site-header.solid .brand-logo-dark{opacity:1;}

.main-nav{display:none;}
.header-cta{display:flex;align-items:center;gap:10px;}

.nav-toggle{
  display:flex;flex-direction:column;justify-content:center;gap:5px;
  width:34px;height:34px;flex:none;color:var(--ivory);
}
.site-header.solid .nav-toggle{color:var(--teal-deep);}
.nav-toggle span{display:block;height:2px;width:100%;background:currentColor;border-radius:2px;transition:transform .2s ease, opacity .2s ease;}
.nav-toggle.active span:nth-child(1){transform:translateY(7px) rotate(45deg);}
.nav-toggle.active span:nth-child(2){opacity:0;}
.nav-toggle.active span:nth-child(3){transform:translateY(-7px) rotate(-45deg);}

.main-nav.mobile-open{
  display:flex;flex-direction:column;
  position:fixed;top:0;left:0;right:0;bottom:0;
  background:var(--teal-deep);
  padding:110px 28px 40px;
  gap:6px;
  z-index:90;
  font-family:var(--font-head);
}
.main-nav.mobile-open a{
  color:var(--ivory);font-size:1.3rem;font-weight:500;
  padding:14px 0;border-bottom:1px solid rgba(255,255,255,.12);
}
.main-nav.mobile-open .mobile-cta{
  margin-top:24px;
}

/* ============ HERO ============ */
.hero{
  position:relative;
  min-height:100svh;
  display:flex;
  flex-direction:column;
  justify-content:flex-end;
  color:var(--white);
  padding-top:100px;
  overflow:hidden;
}
.hero-media{position:absolute;inset:0;z-index:0;}
.hero-media picture{display:block;width:100%;height:100%;}
.hero-media img{width:100%;height:100%;object-fit:cover;object-position:center 55%;}
.hero-scrim{
  position:absolute;inset:0;
  background:linear-gradient(180deg, rgba(13,43,54,.55) 0%, rgba(13,43,54,.35) 35%, rgba(13,43,54,.85) 100%);
}
.hero-content{position:relative;z-index:1;padding-bottom:56px;}
.hero h1{color:var(--white);font-size:1.85rem;font-weight:600;margin-bottom:.4em;}
.hero-sub{color:#e7efec;font-size:1.02rem;max-width:520px;}
.hero-actions{display:flex;flex-direction:column;gap:12px;margin:22px 0 26px;}
.hero-actions .btn{width:100%;}

.trust-chips{display:flex;flex-wrap:wrap;gap:10px;max-width:460px;}
.chip{
  flex:1 1 96px;
  background:rgba(255,255,255,.1);
  border:1px solid rgba(255,255,255,.22);
  border-radius:var(--radius-sm);
  padding:10px 12px;
  backdrop-filter:blur(4px);
}
.chip strong{display:block;font-family:var(--font-head);font-size:1.05rem;}
.chip span{font-size:.78rem;color:#cfe0dc;}

.price-float{
  position:relative;
  z-index:1;
  margin:0 20px 20px;
  background:var(--white);
  color:var(--ink);
  border-radius:var(--radius);
  padding:18px 20px;
  box-shadow:var(--shadow-soft);
  display:flex;
  flex-direction:column;
  gap:2px;
}
.price-float-label{font-size:.78rem;text-transform:uppercase;letter-spacing:.06em;color:var(--teal-mid);font-weight:600;}
.price-float-amount{font-family:var(--font-head);font-size:1.7rem;font-weight:700;color:var(--teal-deep);}
.price-float-amount small{font-size:.95rem;font-weight:600;color:var(--amber);}
.price-float-meta{font-size:.85rem;color:#5c6864;margin-bottom:8px;}
.price-float-link{font-size:.9rem;font-weight:700;color:var(--gold-dark);}

/* ============ BENEFICIOS ============ */
.grid-benefits{
  margin-top:32px;
  display:grid;
  grid-template-columns:1fr;
  gap:18px;
}
.benefit-card{
  background:var(--white);
  border-radius:var(--radius);
  padding:26px 22px;
  box-shadow:0 12px 30px -18px rgba(13,43,54,.25);
  border:1px solid rgba(13,43,54,.06);
}
.benefit-icon{
  width:48px;height:48px;
  border-radius:14px;
  background:var(--sage-tint);
  color:var(--teal-mid);
  display:flex;align-items:center;justify-content:center;
  margin-bottom:14px;
}
.benefit-icon svg{width:24px;height:24px;}
.benefit-card h3{font-size:1.08rem;margin-bottom:.3em;}
.benefit-card p{font-size:.92rem;color:#586460;margin:0;}

/* ============ AGENDAR RECORRIDO ============ */
.agendar{background:var(--teal-deep);color:var(--ivory);}
.agendar .eyebrow{color:var(--gold);}
.agendar h2{color:var(--ivory);}
.agendar .lead{color:#cfe0dc;}
.agendar-grid{display:flex;flex-direction:column;gap:32px;}
.agendar-form{
  background:var(--white);
  border-radius:var(--radius);
  padding:28px 24px;
  display:flex;
  flex-direction:column;
  gap:16px;
  box-shadow:var(--shadow-soft);
}
.agendar-form[hidden]{display:none;}
.agendar-form label{display:flex;flex-direction:column;gap:6px;font-size:.85rem;font-weight:600;color:var(--teal-deep);}
.agendar-form input{
  font-family:inherit;font-size:.95rem;color:var(--ink);
  padding:12px 14px;border-radius:var(--radius-sm);
  border:1.5px solid rgba(13,43,54,.15);
  background:var(--ivory);
}
.agendar-form input:focus{outline:none;border-color:var(--teal-mid);}
.agendar-note{font-size:.78rem;color:#7a847f;margin:0;}

.success-card{
  background:var(--white);
  border-radius:var(--radius);
  padding:40px 28px;
  text-align:center;
  box-shadow:var(--shadow-soft);
}
.success-card-icon{width:48px;height:48px;color:var(--teal-mid);margin-bottom:14px;}
.success-card h3{font-size:1.3rem;margin-bottom:.4em;}
.success-card p{font-size:.92rem;color:#586460;max-width:360px;margin:0 auto 20px;}

/* ============ UBICACION ============ */
.ubicacion{background:var(--white);}
.ubicacion-grid{display:flex;flex-direction:column;gap:32px;}
.time-list{margin:22px 0 26px;display:grid;grid-template-columns:1fr;gap:10px;}
.time-list li{
  display:flex;align-items:center;gap:12px;
  font-size:.98rem;
  padding:10px 0;
  border-bottom:1px solid var(--sage-tint);
}
.time-list .time{
  font-family:var(--font-head);font-weight:700;
  color:var(--white);background:var(--teal-mid);
  border-radius:100px;padding:5px 12px;font-size:.8rem;flex:none;
  min-width:56px;text-align:center;
}
.ubicacion-media img{border-radius:var(--radius);box-shadow:var(--shadow-soft);}

/* ============ AMENIDADES ============ */
.amenidades{background:var(--teal-deep);}
.amenity-tags{display:flex;flex-wrap:wrap;gap:10px;margin:24px 0 32px;}
.amenity-tags span{
  font-size:.82rem;font-weight:500;
  color:var(--ivory);
  background:rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.18);
  padding:8px 14px;border-radius:100px;
}
.gallery{display:grid;grid-template-columns:1fr 1fr;gap:10px;}
.gallery-item{
  position:relative;margin:0;border-radius:var(--radius-sm);overflow:hidden;
  aspect-ratio:4/3;
  cursor:pointer;
}
.gallery-item img{width:100%;height:100%;object-fit:cover;transition:transform .3s ease;}
.gallery-item:hover img{transform:scale(1.06);}
.gallery-item figcaption{
  position:absolute;left:0;right:0;bottom:0;
  padding:10px 12px 8px;
  font-size:.78rem;font-weight:600;color:var(--white);
  background:linear-gradient(0deg, rgba(0,0,0,.55), transparent);
}

/* ============ FAQ ============ */
.faq{background:var(--sage-tint);}
.faq-grid{display:flex;flex-direction:column;gap:28px;}
.faq-intro .btn{margin-top:10px;}
.faq-item{
  background:var(--white);
  border-radius:var(--radius-sm);
  margin-bottom:10px;
  overflow:hidden;
  border:1px solid rgba(13,43,54,.08);
}
.faq-question{
  width:100%;text-align:left;
  padding:16px 18px;
  font-family:var(--font-head);
  font-weight:500;
  font-size:.95rem;
  color:var(--teal-deep);
  display:flex;align-items:center;justify-content:space-between;gap:10px;
}
.faq-icon{
  flex:none;width:20px;height:20px;position:relative;
}
.faq-icon::before,.faq-icon::after{
  content:'';position:absolute;background:var(--teal-mid);
  border-radius:2px;transition:transform .2s ease;
}
.faq-icon::before{width:14px;height:2px;top:9px;left:3px;}
.faq-icon::after{width:2px;height:14px;top:3px;left:9px;}
.faq-question[aria-expanded="true"] .faq-icon::after{transform:rotate(90deg);opacity:0;}
.faq-answer{
  max-height:0;overflow:hidden;
  transition:max-height .25s ease;
  padding:0 18px;
}
.faq-answer p{font-size:.9rem;color:#586460;padding-bottom:16px;margin:0;}
.faq-item.open .faq-answer{max-height:260px;}

/* ============ CTA FINAL ============ */
.cta-final{position:relative;padding:90px 0;color:var(--white);overflow:hidden;}
.cta-media{position:absolute;inset:0;z-index:0;}
.cta-media img{width:100%;height:100%;object-fit:cover;object-position:center 70%;}
.cta-final-content{position:relative;z-index:1;text-align:center;display:flex;flex-direction:column;align-items:center;}
.cta-final-content .hero-sub{max-width:480px;margin-left:auto;margin-right:auto;}

/* ============ FOOTER ============ */
.site-footer{background:var(--teal-deep);color:#cfe0dc;padding:50px 0 26px;}
.footer-inner{display:flex;flex-direction:column;align-items:center;text-align:center;gap:14px;}
.footer-logo{height:52px;width:auto;}
.footer-tagline{font-size:.85rem;color:#9db3ad;margin:0;}
.footer-links{display:flex;flex-wrap:wrap;justify-content:center;gap:16px;font-size:.85rem;margin:8px 0;}
.footer-links a:hover{color:var(--gold);}
.footer-wa{
  display:inline-flex;align-items:center;gap:8px;
  color:var(--wa-green);font-weight:600;font-size:.9rem;
  border:1px solid rgba(37,211,102,.4);
  padding:10px 18px;border-radius:100px;
  margin:6px 0 18px;
}
.footer-fine{font-size:.72rem;color:#6d8681;max-width:520px;margin-top:14px;}

/* ============ LEADS ADMIN (uso interno, ?leads=1) ============ */
.leads-admin{
  position:fixed;inset:0;z-index:500;
  background:rgba(13,20,18,.75);
  display:flex;align-items:flex-start;justify-content:center;
  padding:24px 16px;overflow-y:auto;
}
.leads-admin-panel{
  background:var(--white);
  border-radius:var(--radius);
  padding:24px;
  width:100%;max-width:960px;
}
.leads-admin-header{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;margin-bottom:16px;}
.leads-admin-header h3{margin:0;font-size:1.1rem;}
.leads-admin-actions{margin-bottom:16px;}
.leads-admin-table{overflow-x:auto;}
.leads-admin-table table{width:100%;border-collapse:collapse;font-size:.85rem;}
.leads-admin-table th,.leads-admin-table td{
  text-align:left;padding:10px 12px;border-bottom:1px solid var(--sage-tint);white-space:nowrap;
}
.leads-admin-table th{color:var(--teal-deep);font-family:var(--font-head);}

/* ============ WHATSAPP FLOAT ============ */
.wa-float{
  position:fixed;
  right:18px;bottom:18px;
  width:56px;height:56px;
  background:var(--wa-green);
  color:var(--white);
  border-radius:50%;
  display:flex;align-items:center;justify-content:center;
  box-shadow:0 10px 24px -6px rgba(37,211,102,.6);
  z-index:200;
  animation:wa-pulse 2.6s ease-in-out infinite;
}
.wa-float svg{width:28px;height:28px;}
@keyframes wa-pulse{
  0%,100%{box-shadow:0 10px 24px -6px rgba(37,211,102,.6);}
  50%{box-shadow:0 10px 30px -4px rgba(37,211,102,.9);}
}

/* ============ LIGHTBOX ============ */
.lightbox{
  position:fixed;inset:0;z-index:300;
  background:rgba(10,18,16,.94);
  display:flex;align-items:center;justify-content:center;
  padding:60px 20px;
}
.lightbox[hidden]{display:none;}
.lightbox-figure{margin:0;max-width:100%;max-height:100%;display:flex;flex-direction:column;align-items:center;gap:12px;}
.lightbox-figure img{
  max-width:100%;max-height:70vh;
  border-radius:var(--radius-sm);
  box-shadow:0 30px 60px -20px rgba(0,0,0,.6);
}
.lightbox-figure figcaption{color:var(--ivory);font-size:.9rem;text-align:center;}
.lightbox-close{
  position:absolute;top:16px;right:16px;
  width:44px;height:44px;border-radius:50%;
  background:rgba(255,255,255,.12);color:var(--white);
  display:flex;align-items:center;justify-content:center;
}
.lightbox-close svg{width:22px;height:22px;}
.lightbox-nav{
  position:absolute;top:50%;transform:translateY(-50%);
  width:44px;height:44px;border-radius:50%;
  background:rgba(255,255,255,.12);color:var(--white);
  display:flex;align-items:center;justify-content:center;
}
.lightbox-nav svg{width:24px;height:24px;}
.lightbox-prev{left:12px;}
.lightbox-next{right:12px;}
@media (min-width:720px){
  .lightbox-prev{left:32px;}
  .lightbox-next{right:32px;}
  .lightbox-figure img{max-height:80vh;}
}

/* ============================================================
   TABLET / DESKTOP — min-width 720px and up
   ============================================================ */
@media (min-width:720px){
  .section{padding:100px 0;}
  h2{font-size:2.3rem;}
  .hero h1{font-size:2.6rem;max-width:760px;}
  .hero-sub{font-size:1.12rem;max-width:600px;}
  .hero-actions{flex-direction:row;}
  .hero-actions .btn{width:auto;}
  .trust-chips{max-width:640px;}
  .chip{flex:0 1 auto;padding:10px 16px;}

  .price-float{
    position:absolute;
    right:40px;bottom:40px;
    max-width:280px;
    margin:0;
  }

  .brand{height:54px;width:96px;}
  .nav-toggle{display:none;}
  .main-nav{display:flex;gap:28px;font-weight:500;font-size:.92rem;}
  .main-nav .mobile-cta{display:none;}
  .main-nav a{color:var(--ivory);opacity:.9;}
  .site-header.solid .main-nav a{color:var(--teal-deep);}
  .main-nav a:hover{opacity:1;}
  .btn-ghost-header{display:inline-flex;color:var(--ivory);}
  .site-header.solid .btn-ghost-header{color:var(--teal-deep);}

  .grid-benefits{grid-template-columns:repeat(3,1fr);gap:24px;}
  .agendar-grid{flex-direction:row;align-items:center;gap:60px;}
  .agendar-text{flex:1;}
  .agendar-form{flex:0 0 380px;}

  .ubicacion-grid{flex-direction:row;align-items:center;gap:60px;}
  .ubicacion-text{flex:1;}
  .ubicacion-media{flex:1;}
  .time-list{grid-template-columns:1fr 1fr;column-gap:24px;}

  .gallery{grid-template-columns:repeat(4,1fr);}

  .faq-grid{flex-direction:row;gap:60px;}
  .faq-intro{flex:0 0 320px;}
  .faq-list{flex:1;}
}

@media (min-width:720px) and (max-width:959px){
  .header-inner{flex-wrap:wrap;}
}

@media (min-width:960px){
  .hero h1{font-size:3rem;}
}

/* Small phones */
@media (max-width:380px){
  .hero h1{font-size:1.85rem;}
  .container{padding:0 16px;}
}

/* ============ LEGAL PAGES (aviso de privacidad, etc.) ============ */
.legal-page{padding-top:120px;background:var(--white);}
.legal-container{max-width:720px;}
.legal-title{font-size:2rem;}
.legal-updated{font-size:.85rem;color:var(--teal-mid);font-weight:600;margin-bottom:2em;}
.legal-page h2{font-size:1.2rem;margin-top:1.6em;color:var(--teal-deep);}
.legal-page p{color:#3f4a46;}
.legal-list{margin:0 0 1em;padding-left:1.2em;list-style:disc;}
.legal-list li{margin-bottom:.5em;color:#3f4a46;line-height:1.6;}
.legal-page a{color:var(--teal-mid);text-decoration:underline;}
.legal-contact{margin-top:2.2em;font-weight:600;color:var(--teal-deep);}

@media (min-width:720px){
  .legal-page{padding-top:150px;}
  .legal-title{font-size:2.6rem;}
}

/* ============ GRACIAS (thank-you) PAGE ============ */
.gracias-page{
  position:relative;
  min-height:100svh;
  display:flex;align-items:center;justify-content:center;
  padding:120px 20px 60px;
  overflow:hidden;
}
.gracias-media{position:absolute;inset:0;z-index:0;}
.gracias-media img{width:100%;height:100%;object-fit:cover;object-position:center 55%;}
.gracias-container{position:relative;z-index:1;width:100%;max-width:480px;}
.gracias-container .success-card{padding:44px 28px;}
.gracias-container .success-card .btn{
  width:100%;margin-bottom:10px;
  white-space:normal;text-align:center;line-height:1.3;
}
