/* ============ Reset básico ============ */
* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial;
  color: #0f1b16;
  background: #ffffff; /* fondo blanco */
}

/* ============ Tokens ============ */
:root{
  /* Verde "marca" (para claros) */
  --green-900: #0b2a23;
  --green-800: #0f3d33;
  --green-700: #1e4e3e;
  --green-200: #d6e7dd;
  --green-150: #e4f1ea;
  --green-100: #eef7f2;

  /* Para elementos oscuros (píldora de features, etc.) */
  --panel-dark: rgba(7, 35, 29, 0.48);

  /* Bordes/sombras en fondo claro */
  --stroke-light: rgba(16, 34, 28, 0.10);
  --stroke-light-2: rgba(16, 34, 28, 0.16);

  /* Textos */
  --text-dark: #0f1b16;
  --muted-dark: rgba(15,27,22,0.70);

  /* Acentos */
  --accent: #e7c7a6;
  --accent-2: #b5e3c6;

  /* Sombras suaves para fondo blanco */
  --shadow: 0 18px 40px rgba(0,0,0,0.12);
  --shadow-soft: 0 12px 24px rgba(0,0,0,0.10);

  --r-lg: 22px;
  --r-md: 18px;
  --r-sm: 14px;

  --container: 1100px;
}

/* ============ Helpers ============ */
.container{
  width: min(var(--container), calc(100% - 40px));
  margin-inline: auto;
}

a { color: inherit; text-decoration: none; }
p { line-height: 1.55; }

/* ============ Topbar (clara + verde) ============ */
.topbar{
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(10px);
  background: rgba(214, 231, 221, 0.88); /* verde suave */
  border-bottom: 1px solid var(--stroke-light);
}

.topbar__inner{
  height: 100%;
  padding: 0;                
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand{
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #173a30;
  font-weight: 750;
  letter-spacing: 0.2px;
}

.brand__dot{
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: linear-gradient(180deg, #dff7ea, #8fe0bf);
  box-shadow: 0 0 0 6px rgba(143, 224, 191, 0.20);
}

.nav{
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(23,58,48,0.82);
  font-weight: 650;
}

.nav__link{
  padding: 10px 10px;
  border-radius: 12px;
  transition: background .2s ease, color .2s ease;
}

.nav__link:hover{
  background: rgba(0,0,0,0.05);
  color: #0f1b16;
}

.nav__cta{
  padding: 10px 14px;
  border-radius: 999px;
  color: #2b1d13;
  background: linear-gradient(180deg, #f1d2b3, #e3b891);
  box-shadow: 0 10px 20px rgba(0,0,0,0.14);
}

.nav__toggle{
  display: none;
  border: 1px solid var(--stroke-light);
  background: rgba(255,255,255,0.55);
  color: #173a30;
  padding: 10px 12px;
  border-radius: 12px;
}

/* ============ Hero ============ */
.hero{
  padding: 42px 0 24px;
  background: #ffffff;
}

.hero__grid{
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 26px;
  align-items: stretch;
}

/* Caja izquierda (verde suave) */
.hero__copy{
  padding: 32px 30px;
  border-radius: var(--r-lg);
  background: linear-gradient(180deg, var(--green-150), var(--green-200));
  border: 1px solid var(--stroke-light);
  box-shadow: var(--shadow);
  color: var(--text-dark);
  position: relative;
  overflow: hidden;
}

.hero__copy::before{
  content:"";
  position:absolute;
  inset:-120px -120px auto auto;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle at 30% 30%, rgba(181,227,198,0.55), rgba(181,227,198,0) 62%);
  filter: blur(2px);
}

/* Badge */
.badge{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.55);
  border: 1px solid var(--stroke-light);
  color: rgba(23,58,48,0.78);
  font-weight: 750;
  font-size: 12px;
}

.hero__title{
  margin: 16px 0 10px;
  font-size: 40px;
  line-height: 1.02;
  letter-spacing: -0.6px;
  color: #1e3f34; /* título oscuro */
}

.hero__text{
  margin: 0;
  max-width: 56ch;
  color: #3f6f60; /* texto legible */
  font-size: 15px;
}

.hero__actions{
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 16px;
  border-radius: 999px;
  font-weight: 850;
  letter-spacing: 0.2px;
  border: 1px solid transparent;
  transition: transform .15s ease, background .2s ease, border-color .2s ease;
}

.btn:active{ transform: translateY(1px); }

.btn--primary{
  color: #2b1d13;
  background: linear-gradient(180deg, #f1d2b3, #e3b891);
  box-shadow: 0 14px 30px rgba(0,0,0,0.14);
}

/* Botón secundario: verde */
.btn--ghost{
  color: #1e3f34;
  background: rgba(255,255,255,0.55);
  border-color: var(--stroke-light-2);
}

.btn--ghost:hover{
  background: rgba(255,255,255,0.70);
}

/* Stats */
.hero__stats{
  display: flex;
  gap: 14px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.stat{
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(255,255,255,0.45);
  border: 1px solid var(--stroke-light);
  min-width: 120px;
  box-shadow: 0 10px 20px rgba(0,0,0,0.06);
}

.stat__num{
  display:block;
  font-weight: 900;
  font-size: 18px;
  color: #1e3f34;
}

.stat__label{
  display:block;
  font-size: 12px;
  color: rgba(30,63,52,0.72);
  margin-top: 2px;
}

/* Panel derecho (verde suave + collage) */
.hero__art{
  border-radius: var(--r-lg);
  background:
    radial-gradient(600px 300px at 20% 0%, rgba(181,227,198,0.45), transparent 55%),
    linear-gradient(180deg, var(--green-100), var(--green-200));
  border: 1px solid var(--stroke-light);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.hero__art::after{
  content:"";
  position:absolute;
  inset: auto -40px -40px auto;
  width: 260px;
  height: 260px;
  background: radial-gradient(circle at 35% 35%, rgba(231,199,166,0.30), rgba(231,199,166,0) 65%);
  filter: blur(2px);
  transform: rotate(8deg);
}

/* “Hojas” decorativas */
.leaf{
  position: absolute;
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(255,255,255,0.70), rgba(255,255,255,0.30));
  border: 1px solid rgba(0,0,0,0.08);
  box-shadow: 0 10px 22px rgba(0,0,0,0.12);
  transform: rotate(var(--rot, 0deg));
}

.leaf{
  backdrop-filter: blur(2px);
}


/* Posiciones */
.leaf--1{ width:220px; height:140px; top:30px; left:30px; --rot:0deg; }
.leaf--2{ width:220px; height:140px; top:30px; left:270px; --rot:0deg; }
.leaf--3{ width:220px; height:140px; top:30px; left:510px; --rot:0deg; }
.leaf--4{ width:220px; height:140px; top:190px; left:30px; --rot:0deg; }
.leaf--5{ width:220px; height:140px; top:190px; left:270px; --rot:0deg; }
.leaf--6{ width:220px; height:140px; top:190px; left:510px; --rot:0deg; }



/* ============ Features bar (píldora) ============ */
.features-bar{
  padding: 16px 0 26px;
}

/* Mantener “barra” verde (como en tu screenshot) */
.pill{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  padding: 18px;
  border-radius: 26px;
  background: #deece4; /* 👈 color solicitado */
  border: 1px solid rgba(0,0,0,0.08);
  box-shadow: 0 12px 24px rgba(0,0,0,0.12);
}


.pill__item{
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 14px;
  border-radius: 18px;
  background: rgba(255,255,255,0.55);
  border: 1px solid rgba(0,0,0,0.06);
  color: #1e3f34;
}


.pill__item h3{
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  color: #1e3f34;
}

.pill__item p{
  margin: 4px 0 0;
  font-size: 12px;
  color: #4f6f63;
}

.icon{
  background: rgba(255,255,255,0.65);
  border: 1px solid rgba(0,0,0,0.08);
  color: #2f5f4f;
}


.icon{
  width: 42px;
  height: 42px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,0.25);
  border: 1px solid rgba(0,0,0,0.10);
  color: rgba(15,27,22,0.80);
}

.icon svg{ width: 22px; height: 22px; }

/* ============ Cards ============ */
.cards{
  padding: 10px 0 46px;
}

.cards__grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.card{
  border-radius: 22px;
  padding: 18px 18px;
  border: 1px solid rgba(0,0,0,0.08);
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow: hidden;
  min-height: 140px;
}

/* Texto en cards: si tus cards siguen oscuras abajo, mantenemos blanco */
.card h3{
  margin: 10px 0 6px;
  font-size: 16px;
  letter-spacing: -0.2px;
  color: #1e3f34;
}

.card p{
  margin: 0;
  font-size: 13px;
  color: #1e3f34;
  max-width: 40ch;
}

.card__icon{
  width: 46px;
  height: 46px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  font-size: 18px;
  background: rgba(255,255,255,0.22);
  border: 1px solid rgba(255,255,255,0.22);
  box-shadow: 0 12px 20px rgba(0,0,0,0.18);
}

/* Variantes (mantienes estilo verde/rústico) */
.card--green{
  background: linear-gradient(180deg, #e7f4ec, #cfe6da);
}

.card--brown{
  background: linear-gradient(180deg, #f3ece6, #e2d1c2);
}

.card--amber{
  background: linear-gradient(180deg, #fbf1df, #ecd9b9);
}

.card--dark{
  background: linear-gradient(180deg, #e8f1ed, #d2e3db);
}

.card--sand{
  background: linear-gradient(180deg, #f6efe7, #e7d7c6);
}

/* Tarjeta foto */
.card--photo{
  padding: 0;
  min-height: 140px;
  background: rgba(0,0,0,0.04);
}

.card__photo{
  width: 100%;
  height: 100%;
  min-height: 140px;
  background:
    radial-gradient(120px 80px at 30% 40%, rgba(255,255,255,0.22), transparent 60%);
  background-size: cover;
  background-position: center;
}

/* ============ Footer (claro) ============ */
.footer{
  border-top: 1px solid rgba(0,0,0,0.08);
  background: #f4f7f6;
}

.footer__inner{
  color: #355f52;
  padding: 18px 0;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.footer__muted{ color: #6b8f84; }

/* ============ Responsive ============ */
@media (max-width: 980px){
  .hero__grid{ grid-template-columns: 1fr; }
  .hero__art{ min-height: 320px; }
  .pill{ grid-template-columns: 1fr 1fr; }
  .cards__grid{ grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px){
  .nav__toggle{ display: inline-flex; }
  .nav{
    position: absolute;
    right: 20px;
    top: 62px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    min-width: 220px;
    padding: 12px;
    border-radius: 18px;
    background: rgba(214, 231, 221, 0.98);
    border: 1px solid rgba(0,0,0,0.10);
    box-shadow: var(--shadow);
  }
  .nav--open{ display: flex; }
  .nav__link{ padding: 12px 12px; }
  .nav__cta{ text-align: center; }

  .pill{ grid-template-columns: 1fr; }
  .cards__grid{ grid-template-columns: 1fr; }
}


.topbar{
  height: 78px;              /* ajusta a gusto */
}
/* ===== Logo en navbar ===== */
.brand__logo{
  height: 104px;              /* ajusta a gusto */
  width: auto;
  display: block;
}


.brand__name {
  font-size: 15px;
  white-space: nowrap;
}

/* ===== Navbar height / logo (PC se mantiene) ===== */
.topbar{
  height: 78px; /* como lo tienes */
}

/* Logo PC: lo dejamos igual */
.brand__logo{
  height: 104px;
  width: auto;
  display: block;
  flex-shrink: 0;
}

.brand__name{
  font-size: 15px;
  white-space: nowrap;
}

/* ===== MOBILE FIX (no se rompe) ===== */
@media (max-width: 640px){
  .topbar{ height: 64px; }          /* barra más baja */
  .brand__name{ display: none; }     /* ocultas texto */
  .brand__logo{ height: 54px; }      /* logo razonable */
  
  /* el menú baja exacto bajo la barra */
  .nav{ top: 70px; }                 /* 64px + pequeño margen */
}


/* ============ Entorno dentro de una "card grande" ============ */

.entorno{
  padding: 28px 0 60px;
}

/* Card grande (contenedor) */
.entorno__panel{
  background: #deece4; /* el color que te gusta */
  border-radius: 26px;
  padding: 26px;
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: 0 18px 40px rgba(0,0,0,0.12);
}

/* Header */
.entorno__title{
  margin: 0;
  font-size: 26px;
  color: #1e3f34;
}

.entorno__subtitle{
  margin: 6px 0 22px;
  color: rgba(30,63,52,0.70);
  font-size: 14px;
}

/* Grid */
.entorno__grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

/* Cards internas */
.entorno__card{
  background: rgba(255,255,255,0.85);
  border-radius: 18px;
  padding: 14px;
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: 0 12px 24px rgba(0,0,0,0.10);
  transition: transform .2s ease, box-shadow .2s ease;
}

.entorno__card:hover{
  transform: translateY(-4px);
  box-shadow: 0 16px 30px rgba(0,0,0,0.14);
}

.entorno__card h3{
  margin: 12px 4px 0;
  font-size: 14px;
  font-weight: 650;
  color: #1e3f34;
}

/* Imagen */
.entorno__image{
  border-radius: 14px;
  overflow: hidden;
  background: #f3f6f5;
}

.entorno__image img{
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

/* Responsive */
@media (max-width: 1100px){
  .entorno__grid{ grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 820px){
  .entorno__grid{ grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px){
  .entorno__panel{ padding: 18px; }
  .entorno__grid{ grid-template-columns: 1fr; }
  .entorno__image img{ height: 210px; }
}
/* ============ Lightbox ============ */

.lightbox{
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
}

.lightbox.active{
  display: flex;
}

/* fondo oscuro */
.lightbox__overlay{
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.65);
  backdrop-filter: none; /* 👈 */
}

.lightbox.active .lightbox__overlay{
  backdrop-filter: blur(2px); /* 👈 SOLO CUANDO ABRE */
}


/* imagen grande */
.lightbox__img{
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  border-radius: 18px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.6);
  animation: zoomIn .25s ease;
}

/* animación */
@keyframes zoomIn{
  from{
    transform: scale(.9);
    opacity: 0;
  }
  to{
    transform: scale(1);
    opacity: 1;
  }
}

/* ====== HERO collage: que sea clickeable ====== */
.hero__photo{
  cursor: zoom-in;
}

/* Por defecto (desktop/tablet): se mantiene collage */
.leaf{
  object-fit: cover;
  border-radius: 18px;
  border: 2px solid rgba(255,255,255,0.55);
}

/* ====== MÓVIL: convertir el collage a grilla ordenada ====== */
/* ===========================
   HERO ART (2 columnas x 3 filas)
   =========================== */

/* Contenedor: grid fijo */
.hero__art{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-auto-rows: 130px;        /* alto base de cada fila (ajusta si quieres) */
  gap: 18px;                    /* separación entre imágenes */
  padding: 22px;                /* margen interno del panel */
  align-content: start;
}

/* Imágenes dentro del grid (anula el collage viejo) */
.hero__art .leaf{
  position: static !important;
  inset: auto !important;
  top: auto !important;
  right: auto !important;
  bottom: auto !important;
  left: auto !important;
  transform: none !important;

  width: 100% !important;
  height: 100% !important;

  display: block;
  object-fit: cover;
  object-position: center center;  /* 👈 Agregar */
  border-radius: 18px;
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: 0 14px 32px rgba(0,0,0,0.14);
  cursor: pointer;
  
  /* 👇 Agregar estas para Safari */
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  image-orientation: from-image;
}

/* Responsive: se mantiene en 2 columnas pero con más alto */
@media (max-width: 640px){
  .hero__art{
    gap: 14px;
    padding: 16px;
    grid-auto-rows: 150px;
  }
}

/* (Opcional) Si quieres que en pantallas MUY chicas sea 1 columna, descomenta:
@media (max-width: 420px){
  .hero__art{ grid-template-columns: 1fr; }
}
*/
.hero__art{ position: relative; }

.hero__art .leaf{
  position: relative !important;
  z-index: 2;
}

/* =========================
   Reservas (Booking Card)
========================= */
/* ============ Booking (Reservas) ============ */
/* ===== Booking card ===== */
.booking { padding: 32px 0 56px; }

.booking__card{
  max-width: 980px;
  margin: 0 auto;
  background: #e6f3ec;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 22px;
  padding: 22px;
  box-shadow: 0 18px 42px rgba(0,0,0,.10);
}

.booking__title{
  margin: 0 0 14px;
  font-size: 22px;
  font-weight: 800;
  color: #1f2b26;
}

.booking__mode{
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  margin: 8px 0 18px;
}

.mode{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,.10);
  background: rgba(255,255,255,.55);
  cursor: pointer;
}

.mode input{ display:none; }
.mode__dot{
  width: 14px; height: 14px;
  border-radius: 50%;
  border: 2px solid rgba(0,0,0,.22);
  position: relative;
}
.mode input:checked + .mode__dot{
  border-color: #e6a370;
}
.mode input:checked + .mode__dot::after{
  content:"";
  position:absolute; inset: 3px;
  border-radius: 50%;
  background: #e6a370;
}

.booking__grid{
  display: grid;
  grid-template-columns: 1.2fr 1fr auto;
  gap: 14px;
  align-items: end;
}

.field__label{
  display: block;
  font-weight: 700;
  font-size: 13px;
  margin: 0 0 8px;
  color: #25352f;
}

.field__control{
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,.75);
  border: 1px solid rgba(0,0,0,.10);
  border-radius: 14px;
  padding: 12px 12px;
}

.field__icon{ opacity: .75; }

.field__input{
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 14px;
  color: #1f2b26;
}

/* Botón buscar */
.booking__btn{
  height: 46px;
  padding: 0 20px;
  border: 0;
  border-radius: 14px;
  font-weight: 800;
  cursor: pointer;
  background: #e6a370;
  color: #1f2b26;
  box-shadow: 0 12px 26px rgba(0,0,0,.12);
}

/* ===== Guests ===== */
.guests__btn{
  width: 100%;
  height: 46px;
  border-radius: 14px;
  border: 1px solid rgba(0,0,0,.10);
  background: rgba(255,255,255,.75);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 0 12px;
  cursor: pointer;
  font-weight: 700;
  color: #1f2b26;
}
.guests__icon{ opacity: .8; }
.guests__chev{ opacity: .6; }

.field--guests{ position: relative; }

.guests__panel{
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  width: min(360px, 100%);
  background: #ffffff;
  border: 1px solid rgba(0,0,0,.10);
  border-radius: 16px;
  box-shadow: 0 24px 60px rgba(0,0,0,.16);
  padding: 12px;
  display: none;
  z-index: 40;
}
.guests__panel.is-open{ display: block; }

.guests__row{
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 6px;
  border-bottom: 1px solid rgba(0,0,0,.06);
}
.guests__row:last-of-type{ border-bottom: 0; }

.guests__label{ font-weight: 800; color:#1f2b26; }
.guests__hint{ font-size: 12px; opacity: .65; }

.stepper{
  display: flex;
  align-items: center;
  gap: 10px;
}
.stepper__btn{
  width: 34px; height: 34px;
  border-radius: 10px;
  border: 1px solid rgba(0,0,0,.14);
  background: rgba(230, 236, 228, .7);
  font-size: 18px;
  cursor: pointer;
}
.stepper__val{
  width: 24px;
  text-align: center;
  font-weight: 800;
}

.guests__done{
  width: 100%;
  margin-top: 10px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,.12);
  background: #e6f3ec;
  font-weight: 800;
  cursor: pointer;
}

/* Responsive */
@media (max-width: 820px){
  .booking__grid{
    grid-template-columns: 1fr;
  }
  .booking__btn{ width: 100%; }
  .guests__panel{ width: 100%; }
}

/* ============ Servicios ============ */
.services{
  padding: 34px 0 54px;
}

.services__header{
  margin-bottom: 14px;
}

.services__title{
  margin: 0;
}

.services__subtitle{
  margin: 8px 0 0;
  color: rgba(15, 27, 22, 0.75);
  max-width: 70ch;
}

/* Panel “card grande” */
.services__panel{
  background: #ffffff;
  border: 1px solid rgba(15, 27, 22, 0.08);
  box-shadow: 0 14px 32px rgba(0,0,0,0.10);
  border-radius: 22px;
  padding: 18px;
  margin-top: 18px;
}

.services__h2{
  margin: 4px 0 10px;
  font-size: 18px;
  letter-spacing: -0.2px;
  color: #0f1b16;
}

.services__p{
  margin: 0 0 14px;
  color: rgba(15, 27, 22, 0.78);
}

/* Nota */
.services__note{
  margin-top: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 16px;
  background: #deece4;
  border: 1px solid rgba(15, 27, 22, 0.08);
}

.services__note p{
  margin: 0;
  color: rgba(15, 27, 22, 0.85);
}

.services__note-dot{
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #2f6b4f;
  box-shadow: 0 0 0 6px rgba(47,107,79,0.12);
}

/* ============ Pricing cards ============ */
.pricing{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.price-card{
  border-radius: 20px;
  border: 1px solid rgba(15, 27, 22, 0.10);
  background: #ffffff;
  box-shadow: 0 12px 26px rgba(0,0,0,0.08);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
  overflow: hidden;
}

.price-card::before{
  content:"";
  position:absolute;
  inset: -120px -120px auto auto;
  width: 240px;
  height: 240px;
  border-radius: 999px;
  filter: blur(2px);
  opacity: .85;
}

.price-card--day::before{
  background: radial-gradient(circle at 30% 30%, rgba(47,107,79,0.22), rgba(47,107,79,0) 62%);
}
.price-card--night::before{
  background: radial-gradient(circle at 30% 30%, rgba(45,74,120,0.16), rgba(45,74,120,0) 62%);
}
.price-card--full::before{
  background: radial-gradient(circle at 30% 30%, rgba(186,132,84,0.18), rgba(186,132,84,0) 62%);
}

.price-card__top{
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.price-card__badge{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 12px;
  background: #deece4;
  border: 1px solid rgba(15, 27, 22, 0.08);
  color: rgba(15, 27, 22, 0.86);
}

.price-card__price{
  text-align: right;
  line-height: 1;
}

.price-card__currency{
  font-weight: 900;
  color: rgba(15, 27, 22, 0.65);
  margin-right: 2px;
}

.price-card__amount{
  font-size: 28px;
  font-weight: 950;
  letter-spacing: -0.5px;
  color: #0f1b16;
}

.price-card__unit{
  display: block;
  margin-top: 4px;
  font-size: 11px;
  font-weight: 800;
  color: rgba(15, 27, 22, 0.55);
}

.price-card__desc{
  margin: 0;
  color: rgba(15, 27, 22, 0.75);
}

.price-card__list{
  margin: 0;
  padding-left: 18px;
  color: rgba(15, 27, 22, 0.72);
}

.price-card__list li{
  margin: 6px 0;
}

.price-card__cta{
  margin-top: auto;
  width: 100%;
  justify-content: center;
}

/* ============ Quinchos features ============ */
.feature-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 10px;
}

.feature-card{
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px;
  border-radius: 18px;
  background: #ffffff;
  border: 1px solid rgba(15, 27, 22, 0.10);
  box-shadow: 0 10px 22px rgba(0,0,0,0.06);
}

.feature-card__icon{
  width: 44px;
  height: 44px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: #deece4;
  border: 1px solid rgba(15, 27, 22, 0.08);
  font-size: 18px;
}

.feature-card h3{
  margin: 0;
  font-size: 14px;
  color: #0f1b16;
}

.feature-card p{
  margin: 6px 0 0;
  font-size: 12px;
  color: rgba(15, 27, 22, 0.72);
}

/* ============ Amenities chips ============ */
.amenities{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.amenity{
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 12px;
  border-radius: 16px;
  background: #ffffff;
  border: 1px solid rgba(15, 27, 22, 0.10);
  box-shadow: 0 10px 22px rgba(0,0,0,0.06);
}

.amenity__icon{
  width: 38px;
  height: 38px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: #deece4;
  border: 1px solid rgba(15, 27, 22, 0.08);
}

.amenity__text{
  font-weight: 800;
  font-size: 13px;
  color: rgba(15, 27, 22, 0.85);
}

.amenity--highlight{
  background: #deece4;
}

/* ============ Responsive ============ */
@media (max-width: 980px){
  .pricing{ grid-template-columns: 1fr; }
  .feature-grid{ grid-template-columns: 1fr 1fr; }
  .amenities{ grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px){
  .feature-grid{ grid-template-columns: 1fr; }
  .amenities{ grid-template-columns: 1fr; }
}

/* ================================
   GALERÍA – GRID 3 POR FILA
================================ */
.gallery__grid3{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: start;
}

/* Responsive */
@media (max-width: 980px){
  .gallery__grid3{
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 640px){
  .gallery__grid3{
    grid-template-columns: 1fr;
  }
}

/* Card */
.gallery__card{
  background: rgba(255,255,255,0.85);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 18px;
  box-shadow: 0 14px 30px rgba(0,0,0,0.08);
  overflow: hidden;
  padding: 12px;
}

/* Imagen */
.gallery__img{
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid rgba(0,0,0,0.06);
  display: block;
  cursor: pointer;
}

/* ================================
   LIGHTBOX CLÁSICO (overlay simple)
================================ */
.lightbox{
  position: fixed;
  inset: 0;
  display: none;
  z-index: 9999;
  pointer-events: none;
}
.lightbox.active{
  display: block;
  pointer-events: auto;
}

.lightbox__overlay{
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.65);
  backdrop-filter: blur(2px);
}

.lightbox__img{
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: min(92vw, 1100px);
  max-height: 88vh;
  border-radius: 18px;
  box-shadow: 0 24px 80px rgba(0,0,0,0.35);
  background: #fff;
}

/* ================================
   LIGHTBOX FLIP (principal)
================================ */
.lb{
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: none;
  pointer-events: none;
}

.lb.is-open{
  display: block;
  pointer-events: auto;
}

/* Fondo oscuro + blur */
.lb__backdrop{
  position: absolute;
  inset: 0;
  background: rgba(10, 14, 12, 0.6);
  backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity .22s ease;
  z-index: 10000;
}

.lb.is-open .lb__backdrop{
  opacity: 1;
}

/* Stage */
.lb__stage{
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  pointer-events: none;
  z-index: 10001;
}

/* Imagen clonada */
.lb__clone{
  position: fixed;
  border-radius: 18px;
  box-shadow: 0 18px 60px rgba(0,0,0,.35);
  will-change: transform, width, height, left, top;
  transition:
    transform .32s cubic-bezier(.2,.9,.2,1),
    width .32s cubic-bezier(.2,.9,.2,1),
    height .32s cubic-bezier(.2,.9,.2,1),
    left .32s cubic-bezier(.2,.9,.2,1),
    top .32s cubic-bezier(.2,.9,.2,1);
  filter: none !important;
  backdrop-filter: none !important;
  background: #fff;
  z-index: 10001;
}

/* ================================
   BOTONES (flechas + cerrar)
================================ */
.lb__btn{
  position: absolute;
  top: 18px;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 14px;
  background: rgba(255,255,255,.9);
  box-shadow: 0 10px 26px rgba(0,0,0,.18);
  cursor: pointer;
  display: grid;
  place-items: center;
  font-size: 22px;
  z-index: 10002;
}

.lb__btn--close{
  right: 18px;
  font-size: 18px;
}

.lb__btn--prev{
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 34px;
}

.lb__btn--next{
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 34px;
}

/* Responsive botones */
@media (max-width: 640px){
  .lb__btn--prev{ left: 10px; }
  .lb__btn--next{ right: 10px; }
}

.contact{
  padding: 60px 0;
}

.contact__title{
  text-align: center;
  font-size: 40px;
  margin-bottom: 10px;
}

.contact__subtitle{
  text-align: center;
  color: #666;
  margin-bottom: 40px;
}

/* Grid */
.contact__grid{
  max-width: 720px;
  margin: 0 auto;
  display: grid;
  gap: 18px;
}

/* Card */
.contact__card{
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 16px 18px;
  background: rgba(255,255,255,0.9);
  border-radius: 18px;
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: 0 14px 30px rgba(0,0,0,0.08);
  text-decoration: none;
  color: inherit;
  transition: transform .18s ease, box-shadow .18s ease;
}

.contact__card:hover{
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(0,0,0,0.12);
}

/* Icon */
.contact__card img{
  width: 48px;
  height: 48px;
  flex-shrink: 0;
}

/* Text */
.contact__card h3{
  margin: 0;
  font-size: 18px;
}

.contact__card p{
  margin: 4px 0 0;
  color: #555;
  font-size: 14px;
}

/* Mobile */
@media (max-width: 640px){
  .contact__title{ font-size: 26px; }
  .contact__grid{ gap: 14px; }
  .contact__card{
    padding: 14px;
  }
}
.location__header{ margin-bottom: 22px; }

.location__panel{
  background: rgba(255,255,255,0.88);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 22px;
  box-shadow: 0 14px 40px rgba(16,24,40,0.08);
  padding: 18px;
}

.location__mapWrap{
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid rgba(0,0,0,0.06);
}

.location__map{
  width: 100%;
  height: 320px;
  border: 0;
  display: block;
}

.location__actions{
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 14px;
}

.location__btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,0.08);
  background: #f2caa7; /* cámbialo por tu color de botón si ya tienes uno */
  color: #1b1b1b;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.location__btn--ghost{
  background: transparent;
}

.location__hint{
  font-size: 14px;
  opacity: 0.85;
}


/* =========================
   CHECKOUT
========================= */

.checkout{
  padding: 56px 0;
}

.checkout__grid{
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 24px;
  align-items: start;
}

.checkout__card{
  background: rgba(255,255,255,0.92);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 20px;
  box-shadow: 0 14px 40px rgba(0,0,0,0.08);
  padding: 22px;
}

.checkout__subtitle{
  margin-top: 6px;
  margin-bottom: 18px;
  color: rgba(0,0,0,0.72);
  font-size: 0.98rem;
  line-height: 1.35;
}

/* Sections */
.checkout__section{
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(0,0,0,0.06);
}

.checkout__h3{
  font-size: 1.05rem;
  margin: 0 0 12px 0;
  color: rgba(0,0,0,0.88);
  letter-spacing: 0.2px;
}

/* Fields grid */
.checkout__fields{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

/* Make last fields full width in some cases (optional helper) */
.checkout__fields .field:nth-child(1),
.checkout__fields .field:nth-child(4),
.checkout__fields .field:nth-child(5){
  grid-column: span 2;
}

/* Switch */
.checkout__switch{
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid rgba(0,0,0,0.08);
  background: rgba(255,255,255,0.75);
}

.checkout__switch input[type="checkbox"]{
  width: 18px;
  height: 18px;
  accent-color: var(--accent, #2d6a4f); /* usa tu variable si existe */
}

.checkout__hint{
  margin-top: 10px;
  font-size: 0.92rem;
  color: rgba(0,0,0,0.7);
}

.checkout__note{
  margin-top: 10px;
  font-size: 0.9rem;
  color: rgba(0,0,0,0.65);
}

/* Summary */
.checkout__summary{
  position: sticky;
  top: 18px;
  background: rgba(255,255,255,0.92);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 20px;
  box-shadow: 0 14px 40px rgba(0,0,0,0.08);
  padding: 18px;
}

.checkout__row{
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 14px;
  padding: 10px 0;
  font-size: 0.98rem;
  color: rgba(0,0,0,0.78);
}

.checkout__row b{
  color: rgba(0,0,0,0.92);
}

.checkout__hr{
  border: 0;
  height: 1px;
  background: rgba(0,0,0,0.08);
  margin: 10px 0;
}

.checkout__total{
  font-size: 1.05rem;
}

.checkout__total b{
  font-size: 1.25rem;
}

.checkout__small{
  margin-top: 10px;
  font-size: 0.9rem;
  color: rgba(0,0,0,0.68);
}

/* Responsive */
@media (max-width: 980px){
  .checkout__grid{
    grid-template-columns: 1fr;
  }
  .checkout__summary{
    position: static;
  }
  .checkout__fields{
    grid-template-columns: 1fr;
  }
  .checkout__fields .field:nth-child(1),
  .checkout__fields .field:nth-child(4),
  .checkout__fields .field:nth-child(5){
    grid-column: auto;
  }
}
/* =========================
   CHECKOUT — INPUTS MODERNOS
========================= */

.checkout .field__label{
  display:block;
  font-weight: 700;
  font-size: 0.92rem;
  color: rgba(0,0,0,0.78);
  margin-bottom: 8px;
  letter-spacing: 0.2px;
}

/* aplica a TODOS los inputs del checkout (forms de Django incluidos) */
.checkout input[type="text"],
.checkout input[type="email"],
.checkout input[type="tel"],
.checkout input[type="number"],
.checkout input[type="date"],
.checkout select,
.checkout textarea{
  width: 100%;
  height: 46px;
  padding: 10px 14px;
  border-radius: 14px;
  border: 1px solid rgba(0,0,0,0.10);
  background: rgba(250,250,250,0.95);
  color: rgba(0,0,0,0.88);
  font-size: 0.98rem;
  outline: none;
  transition: box-shadow .18s ease, border-color .18s ease, background .18s ease;
  box-shadow: 0 8px 18px rgba(0,0,0,0.06);
}

/* textareas un poco más altas */
.checkout textarea{
  height: auto;
  min-height: 110px;
  padding-top: 12px;
}

/* placeholder suave */
.checkout input::placeholder,
.checkout textarea::placeholder{
  color: rgba(0,0,0,0.40);
}

/* focus moderno */
.checkout input:focus,
.checkout select:focus,
.checkout textarea:focus{
  border-color: rgba(45,106,79,0.45); /* verde suave */
  box-shadow: 0 0 0 4px rgba(45,106,79,0.16), 0 12px 26px rgba(0,0,0,0.08);
  background: #fff;
}

/* hover leve */
.checkout input:hover,
.checkout select:hover,
.checkout textarea:hover{
  border-color: rgba(0,0,0,0.16);
}

/* checkbox más limpio (quincho) */
.checkout input[type="checkbox"]{
  width: 18px;
  height: 18px;
  border-radius: 6px;
  accent-color: var(--accent, #2d6a4f);
  box-shadow: none;
}

/* errores de Django más bonitos */
.checkout .errorlist{
  margin: 8px 0 0;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(220, 53, 69, 0.10);
  border: 1px solid rgba(220, 53, 69, 0.18);
  color: rgba(140, 0, 20, 0.90);
  font-size: 0.9rem;
  list-style: none;
}
.checkout .errorlist li{ margin: 0; }


:root { color-scheme: light; }

html, body{
  background: #ffffff;
  color: #0f1b16;
}

/* Iconos pequeños dentro de botones ghost */
/* ===== FIX DEFINITIVO SVG EN BOTONES DE UBICACIÓN ===== */

/* El botón NO cambia tamaño */
.location__btn{
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

/* Botón base */
.location__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  /* tus otros estilos de padding, border, etc. */
}

/* Contenedor del icono - tamaño fijo que NO afecta al botón */
.location__iconWrap {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* El icono en sí */
.location__iconWrap img {
  width: 400%;
  height: 400%;
  display: block;
  object-fit: contain;
}

/* ===== Estados de validación ===== */
.field {
  position: relative; /* 👈 Necesario para el position absolute del error */
}

.field--error .field__control,
.field--error .guests__btn {
  border-color: #ef4444 !important;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.15);
}

.field__error {
  display: none;
  color: #ef4444;
  font-size: 0.75rem;
  position: absolute;
  bottom: -1.8rem;        /* 👈 Cambié de -1.4rem a -1.8rem */
  left: 0;
  align-items: center;
  gap: 0.3rem;
  white-space: nowrap;
}





.field--error .field__error {
  display: flex;
}

.field__error::before {
  content: "⚠";
}

/* Modo sin seleccionar */
.booking__mode {
  position: relative;
}

.booking__mode--error {
  border: 2px solid #ef4444;
  border-radius: 8px;
  padding: 0.5rem;
  background: rgba(239, 68, 68, 0.05);
}

.mode__error {
  display: none;
  color: #ef4444;
  font-size: 0.75rem;
  position: absolute;
  bottom: -1.8rem;        /* 👈 Cambié de -1.4rem a -1.8rem */
  left: 0;
}

.booking__mode--error  .mode__error {
  display: block;
}

/* Espacio extra en el grid para que no se tape el error */
.booking__grid {
  padding-bottom: 2rem;   /* 👈 Aumenté de 1.5rem a 2rem para más espacio */
}
/* Animación de shake para errores */
@keyframes shake {
  0%, 100% { transform: translateX(0); }
  20%, 60% { transform: translateX(-5px); }
  40%, 80% { transform: translateX(5px); }
}

.field--error {
  animation: shake 0.4s ease;
}

/* ===== Hint bajo campos ===== */
.field__hint {
  display: block;
  margin-top: 6px;
  font-size: 0.82rem;
  color: rgba(0,0,0,0.50);
}

/* ===== Errores de formulario ===== */
.checkout .errorlist {
  margin: 6px 0 0;
  padding: 8px 12px;
  border-radius: 10px;
  background: rgba(239, 68, 68, 0.08);
  border: 1px solid rgba(239, 68, 68, 0.18);
  color: #dc2626;
  font-size: 0.85rem;
  list-style: none;
}

.checkout .errorlist li {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 6px;
}

.checkout .errorlist li::before {
  content: "⚠";
}



/* ===== Vista aérea del recinto ===== */
.location__panel--aerial {
  margin-top: 24px;
}

.location__aerialHeader {
  margin-bottom: 16px;
}

.location__aerialTitle {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 700;
  color: #1e3f34;
}

.location__aerialSubtitle {
  margin: 6px 0 0;
  font-size: 0.95rem;
  color: rgba(30, 63, 52, 0.72);
}

.location__aerialWrap {
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.location__aerialImg {
  width: 100%;
  height: auto;
  max-height: 500px;
  object-fit: cover;
  display: block;
  cursor: zoom-in;
  transition: transform 0.3s ease;
}

.location__aerialImg:hover {
  transform: scale(1.02);
}

/* Responsive */
@media (max-width: 640px) {
  .location__aerialImg {
    max-height: 300px;
  }
  
  .location__aerialTitle {
    font-size: 1.1rem;
  }
}

/* =========================================
   OVERRIDE DEFINITIVO HERO ART (anti-conflictos)
   Desde 980px hacia abajo: SIEMPRE grid
========================================= */
@media (max-width: 980px){

  /* Forzar grid solo en el hero con clase --grid */
  .hero__art.hero__art--grid{
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 14px !important;
    padding: 16px !important;

    /* Quitamos grid-auto-rows para evitar bugs de iOS */
    grid-auto-rows: unset !important;
    align-content: start;
  }

  /* Anular TODO lo del collage (posiciones y tamaños) */
  .hero__art.hero__art--grid .leaf,
  .hero__art.hero__art--grid .leaf--1,
  .hero__art.hero__art--grid .leaf--2,
  .hero__art.hero__art--grid .leaf--3,
  .hero__art.hero__art--grid .leaf--4,
  .hero__art.hero__art--grid .leaf--5,
  .hero__art.hero__art--grid .leaf--6{
    position: static !important;
    inset: auto !important;
    top: auto !important;
    right: auto !important;
    bottom: auto !important;
    left: auto !important;
    transform: none !important;

    width: 100% !important;
    height: auto !important;

    /* Estabilidad en iPhone: alto consistente */
    aspect-ratio: 16 / 10 !important;

    display: block !important;
    object-fit: cover !important;
    object-position: center !important;

    border-radius: 18px !important;
    border: 1px solid rgba(0,0,0,0.06) !important;
    box-shadow: 0 14px 32px rgba(0,0,0,0.14) !important;

    -webkit-transform: translateZ(0);
    backface-visibility: hidden;
  }
}

/* Mobile: 1 columna si quieres */
@media (max-width: 400px){
  .hero__art.hero__art--grid{
    grid-template-columns: 1fr !important;
  }
  .hero__art.hero__art--grid .leaf{
    aspect-ratio: 16 / 11 !important;
  }
}

