/* ===== La Toscana de Tequisquiapan ===== */
:root {
  --green: #26372b;        /* verde olivo profundo */
  --green-2: #33473a;
  --sage: #7b8572;         /* salvia de la marca */
  --sage-light: #e2e6dc;
  --cream: #efede6;
  --card: #ffffff;
  --ink: #1d221e;
  --muted: #6c726b;
  --line: #e3e2da;
  --radius: 22px;
  --radius-sm: 16px;
  --gap: 16px;
  --sans: "Jost", system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "EB Garamond", "Adobe Garamond Pro", Garamond, Georgia, serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font: 400 16px/1.55 var(--sans);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, h5 { margin: 0; font-weight: 400; letter-spacing: -0.01em; }
/* Títulos en Garamond, como el logo y la web actual */
h1, h2, h3, .price { font-family: var(--serif); font-weight: 400; letter-spacing: 0; }
h2 { font-size: clamp(34px, 4vw, 54px); line-height: 1.04; }
h3 { font-size: 23px; line-height: 1.2; }
em { font-family: var(--serif); font-style: italic; }
p { margin: 0; }
svg { width: 18px; height: 18px; flex: none; }

.page {
  background: var(--cream);
  padding: 14px;
  overflow: hidden;
}
/* El contenido se centra; el fondo llega al borde de la ventana */
.section { max-width: 1400px; margin-left: auto; margin-right: auto; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 6px 6px 6px 20px;
  border-radius: 999px;
  font: 500 15px/1 var(--sans);
  border: 1px solid transparent;
  cursor: pointer; white-space: nowrap;
  transition: transform .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn__dot {
  display: grid; place-items: center;
  width: 34px; height: 34px; border-radius: 50%;
}
.btn__dot svg { width: 16px; height: 16px; }
.btn--sm { font-size: 14px; padding-left: 16px; }
.btn--sm .btn__dot { width: 30px; height: 30px; }

.btn--light { background: #fff; color: var(--ink); }
.btn--light .btn__dot { background: var(--green); color: #fff; }
.btn--dark { background: var(--green); color: #fff; }
.btn--dark .btn__dot { background: #fff; color: var(--green); }
.btn--ghost { background: rgba(255,255,255,.14); color: #fff; border-color: rgba(255,255,255,.35); backdrop-filter: blur(6px); }
.btn--ghost .btn__dot { background: #fff; color: var(--green); }
.btn--outline { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--outline .btn__dot { background: var(--sage-light); color: var(--green); }
.btn__dot--light { background: #fff; color: var(--green); width: 28px; height: 28px; }

.link-btn {
  background: none; border: 0; padding: 0; cursor: pointer;
  font: 500 14px var(--sans); color: var(--ink);
  border-bottom: 1px solid currentColor;
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--sage); }
.eyebrow--light { color: rgba(255,255,255,.85); }
.eyebrow--light::before { background: #fff; }

/* ---------- Portada ---------- */
.hero {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  color: #fff;
  min-height: 760px;
  display: flex; flex-direction: column;
  padding: 0 22px 22px;
}
.hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 60%; }
/* Capa oscura sobre el video para que el texto se lea */
.hero__shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(14,20,16,.55) 0%, rgba(14,20,16,0) 30%, rgba(14,20,16,0) 60%, rgba(14,20,16,.55) 100%),
    linear-gradient(90deg, rgba(14,20,16,.45) 0%, rgba(14,20,16,0) 65%),
    rgba(14,20,16,.5);
}
.hero > *:not(.hero__bg):not(.hero__shade) { position: relative; }

.topbar {
  display: flex; align-items: center; gap: 22px;
  padding: 14px 4px 12px;
  font-size: 13px; color: rgba(255,255,255,.82);
  border-bottom: 1px solid rgba(255,255,255,.16);
}
.topbar__item { display: inline-flex; align-items: center; gap: 8px; }
.topbar__item svg { width: 15px; height: 15px; }
a.topbar__item:hover, .topbar__icon:hover { color: #fff; }
.topbar__spacer { flex: 1; }
.topbar__icon { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: rgba(255,255,255,.12); }
.topbar__icon svg { width: 15px; height: 15px; }

.nav { display: flex; align-items: center; gap: 18px; padding: 16px 0; }
.nav__logo img { height: 40px; width: auto; }
.nav__links {
  display: flex; gap: 4px; margin: 0 auto;
  padding: 5px; border-radius: 999px;
  background: rgba(255,255,255,.12); backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.18);
}
.nav__links a { padding: 8px 14px; border-radius: 999px; font-size: 14px; color: rgba(255,255,255,.9); }
.nav__links a:hover { background: rgba(255,255,255,.14); }
.nav__links a.is-active { background: #fff; color: var(--ink); }
.nav__phone { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; }
.nav__phone svg { width: 16px; height: 16px; }
.nav__burger { display: none; background: rgba(255,255,255,.15); border: 0; color: #fff; width: 44px; height: 44px; border-radius: 50%; cursor: pointer; }
.nav__burger svg { width: 22px; height: 22px; margin: auto; }

.hero__body { flex: 1; display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; padding: 40px 6px 28px; }
.hero__text { flex: 1; min-width: 0; }
.hero h1 { font-size: clamp(46px, 6vw, 88px); line-height: 1; font-weight: 400; text-wrap: balance; }
.hero__lead { margin-top: 18px; font-size: 18px; max-width: 860px; color: rgba(255,255,255,.92); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.hero__card {
  width: 250px; flex: none;
  background: rgba(255,255,255,.95); color: var(--ink);
  border-radius: var(--radius-sm); padding: 8px; box-shadow: 0 20px 40px rgba(0,0,0,.25);
}
.hero__card img { width: 100%; height: 140px; object-fit: cover; object-position: center 78%; border-radius: 11px; }
.hero__card-body { padding: 12px 8px 6px; }
.hero__card-tag { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--muted); margin-bottom: 6px; }
.hero__card-tag svg { width: 14px; height: 14px; color: var(--sage); }
.hero__card p { font-size: 15px; line-height: 1.35; }

.booking {
  display: grid; grid-template-columns: repeat(3, 1fr) auto; gap: 8px;
  background: #fff; color: var(--ink);
  border-radius: var(--radius-sm); padding: 8px;
}
.booking__field {
  display: grid; grid-template-columns: 38px 1fr; grid-template-rows: auto auto; column-gap: 10px;
  align-items: center; padding: 8px 12px; border-radius: 12px; cursor: pointer;
  border-right: 1px solid var(--line);
}
.booking__field:hover { background: #f6f5f0; }
.booking__icon { grid-row: span 2; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; background: var(--sage-light); color: var(--green); }
.booking__label { font-size: 12px; color: var(--muted); }
.booking input, .booking select {
  border: 0; background: transparent; padding: 0; margin: 0;
  font: 500 15px var(--sans); color: var(--ink); width: 100%; cursor: pointer; outline: none;
  -webkit-appearance: none; appearance: none;
}
.booking__submit { justify-content: space-between; align-self: stretch; }

/* ---------- Secciones ---------- */
.section { padding: 80px 26px 20px; }
/* El título ocupa todo el espacio que necesite; el texto lateral tiene ancho fijo */
.split-head { display: grid; grid-template-columns: 1fr minmax(300px, 460px); gap: 40px; align-items: end; margin-bottom: 36px; }
h2 { text-wrap: balance; }
.split-head__text { color: var(--muted); display: grid; gap: 12px; max-width: 520px; justify-self: end; }
.row-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 30px; flex-wrap: wrap; }
.row-head__aside { color: var(--muted); max-width: 380px; }
.section-head { margin-bottom: 30px; }
.section-sub { margin-top: 12px; color: var(--muted); font-size: 16px; }
.lead-wide { margin-top: 26px; color: var(--muted); font-size: 17px; line-height: 1.6; }
.note { margin-top: 16px; font-size: 14px; color: var(--muted); }

/* Nosotros */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap); }
.feature {
  background: var(--card); border-radius: var(--radius-sm); padding: 20px;
  min-height: 190px; display: flex; flex-direction: column;
}
.feature h3 { margin-top: auto; font-size: 18px; }
.feature p { color: var(--muted); font-size: 14px; margin-top: 6px; }
.feature--dark { background: var(--green); color: #fff; }
.feature--dark p { color: rgba(255,255,255,.75); }
.feature__icon {
  display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%;
  background: var(--sage-light); color: var(--green); margin-bottom: 26px;
}
.feature--dark .feature__icon, .feature__icon--light { background: rgba(255,255,255,.14); color: #fff; }

/* Habitaciones */
.chips { display: flex; gap: 6px; flex-wrap: wrap; }
.chip {
  border: 1px solid var(--line); background: #fff; color: var(--ink);
  padding: 9px 16px; border-radius: 999px; font: 400 14px var(--sans); cursor: pointer;
}
.chip.is-active { background: var(--green); color: #fff; border-color: var(--green); }
.rooms { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
.room { background: var(--card); border-radius: var(--radius-sm); padding: 8px 8px 16px; display: flex; flex-direction: column; transition: opacity .25s ease; }
.room.is-hidden { display: none; }
/* Carrusel de fotos */
.carousel { position: relative; aspect-ratio: 4 / 4.4; border-radius: 12px; overflow: hidden; background: var(--sage-light); }
.carousel__track {
  display: flex; height: 100%;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__track img { flex: 0 0 100%; width: 100%; height: 100%; object-fit: cover; scroll-snap-align: start; }
.carousel__btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 38px; height: 38px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(255,255,255,.92); color: var(--green);
  display: grid; place-items: center; box-shadow: 0 4px 14px rgba(0,0,0,.15);
  opacity: 0; transition: opacity .2s ease;
}
.carousel__btn--prev { left: 10px; }
.carousel__btn--prev svg { transform: rotate(180deg); }
.carousel__btn--next { right: 10px; }
.carousel:hover .carousel__btn, .carousel__btn:focus-visible { opacity: 1; }
.carousel__dots { position: absolute; left: 0; right: 0; bottom: 12px; display: flex; justify-content: center; gap: 6px; }
.carousel__dots button { width: 7px; height: 7px; padding: 0; border: 0; border-radius: 999px; background: rgba(255,255,255,.6); cursor: pointer; transition: width .25s ease, background .25s ease; }
.carousel__dots button.is-active { width: 20px; background: #fff; }
@media (hover: none) { .carousel__btn { opacity: 1; width: 32px; height: 32px; } }
.room__desc { padding: 0 8px; margin: -6px 0 18px; color: var(--muted); font-size: 14px; }
.room__price { margin: 0; font-size: 13px; color: var(--muted); line-height: 1.1; }
.room__price b { display: block; font-family: var(--serif); font-weight: 500; font-size: 26px; color: var(--ink); }
.room__price small { font-size: 13px; }

/* Opiniones */
.section--tight { padding-top: 56px; }
.rating {
  display: flex; align-items: center; gap: 22px; flex-wrap: wrap;
  background: var(--card); border-radius: var(--radius-sm); padding: 22px 28px;
}
.rating__score { font-family: var(--serif); font-size: 60px; line-height: 1; color: var(--green); }
.rating__body { flex: 1; min-width: 200px; }
.rating__stars { display: flex; gap: 3px; color: #c8962e; margin-bottom: 4px; }
.rating__stars svg { width: 20px; height: 20px; }
.rating__body p { color: var(--muted); }
.rating__link { font-weight: 500; text-decoration: underline; text-underline-offset: 4px; }

/* Botón flotante de WhatsApp (solo celular) */
.wa-float {
  display: none; position: fixed; right: 16px; bottom: 16px; z-index: 50;
  width: 58px; height: 58px; border-radius: 50%;
  background: #25d366; color: #fff; place-items: center;
  box-shadow: 0 8px 24px rgba(0,0,0,.25);
}
.wa-float svg { width: 30px; height: 30px; }
@media (max-width: 960px) { .wa-float { display: grid; } }

/* Aviso de factura */
.notice {
  display: flex; align-items: center; gap: 18px;
  background: #f6eedb; border: 1px solid #e3cf9f; border-left: 5px solid #b8862b;
  border-radius: var(--radius-sm); padding: 18px 20px; margin-bottom: var(--gap);
}
.notice__icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: #b8862b; color: #fff; flex: none; }
.notice__icon svg { width: 22px; height: 22px; }
.notice__text { flex: 1; }
.notice__text strong { display: block; font-family: var(--serif); font-weight: 500; font-size: 24px; line-height: 1.2; }
.notice__text p { color: #5b4a26; }
.room h3 { padding: 16px 8px 8px; font-size: 21px; }
.room__specs { list-style: none; padding: 0 8px; margin: 0 0 18px; display: flex; flex-wrap: wrap; gap: 6px 14px; color: var(--muted); font-size: 13px; }
.room__specs li { display: inline-flex; align-items: center; gap: 6px; }
.room__specs svg { width: 16px; height: 16px; }
.room__actions { margin-top: auto; padding: 0 8px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.room--promo { background: var(--green); color: #fff; padding: 22px; justify-content: space-between; gap: 18px; }
.room--promo h3 { padding: 0 0 10px; font-size: 26px; }
.room--promo p { color: rgba(255,255,255,.78); font-size: 15px; }
.room--promo .btn { align-self: flex-start; }

/* Experiencias */
.mosaic { display: grid; grid-template-columns: 1.35fr 1fr 1fr; grid-template-rows: 280px 280px; gap: var(--gap); }
.tile { position: relative; border-radius: var(--radius-sm); overflow: hidden; color: #fff; }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.tile:hover img { transform: scale(1.05); }
.tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 45%, rgba(15,22,17,.72) 100%); }
.tile--big { grid-row: span 2; }
.tile--big::after { background: linear-gradient(180deg, rgba(0,0,0,0) 30%, rgba(15,22,17,.85) 100%); }
.tile__body { position: absolute; left: 0; right: 0; bottom: 0; padding: 28px; z-index: 1; }
.tile__body h3 { font-size: 34px; margin: 12px 0 8px; }
.tile__body p { color: rgba(255,255,255,.85); max-width: 380px; }
.tile__ctas { margin-top: 18px; }
.tag { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,.16); backdrop-filter: blur(6px); font-size: 12px; }
.tag svg { width: 14px; height: 14px; }
.tile__label { position: absolute; left: 16px; right: 16px; bottom: 16px; z-index: 1; display: flex; align-items: center; justify-content: space-between; font-size: 18px; }

/* Paquetes */
.promo { display: grid; grid-template-columns: 2.1fr 1fr; gap: var(--gap); }
.promo__main { display: grid; grid-template-columns: 1fr 1fr; background: var(--green); color: #fff; border-radius: var(--radius-sm); overflow: hidden; min-height: 360px; }
.promo__text { padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.promo__text .feature__icon { margin-bottom: 8px; }
.promo__text h3 { font-size: 28px; }
.promo__text p { color: rgba(255,255,255,.78); font-size: 15px; }
.promo__text .btn { margin-top: auto; align-self: flex-start; }
.promo__img img { width: 100%; height: 100%; object-fit: cover; }
.promo__side { background: var(--sage-light); border-radius: var(--radius-sm); padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.promo__side h3 { font-size: 26px; margin-top: auto; }
.promo__side p { color: var(--muted); font-size: 15px; }
.promo__side .feature__icon { background: #fff; }
.promo__side .btn { align-self: flex-start; margin-top: 8px; }

.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); margin-top: var(--gap); }
.service { background: var(--card); border-radius: var(--radius-sm); padding: 22px; display: flex; gap: 16px; }
.service > svg { width: 22px; height: 22px; color: var(--sage); margin-top: 2px; }
.service h4 { font-size: 17px; margin-bottom: 6px; }
.service p { color: var(--muted); font-size: 14px; }

/* Vinícola */
.wine { display: grid; grid-template-columns: 1fr 1.25fr; gap: var(--gap); background: var(--card); border-radius: var(--radius); padding: 10px; }
.wine__media { border-radius: var(--radius-sm); overflow: hidden; min-height: 520px; }
.wine__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 75%; }
.wine__content { padding: 34px 30px 30px 20px; display: flex; flex-direction: column; }
.wine__content > p { color: var(--muted); margin-top: 16px; }
.tastings { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 28px; }
.tasting { border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 20px; background: #faf9f5; }
.tasting__head { display: flex; flex-direction: column; gap: 6px; margin-bottom: 12px; }
.tasting p { font-size: 14px; color: var(--muted); }
.tasting--dark { background: var(--green); color: #fff; border-color: var(--green); }
.tasting--dark p { color: rgba(255,255,255,.75); }
.price { font-size: 28px; }
.price small { font-size: 13px; opacity: .7; }
.wine-facts { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); margin-top: var(--gap); }
.wine-facts > div { background: var(--card); border-radius: var(--radius-sm); padding: 22px; }
.wine-facts h4 { font-size: 17px; margin-bottom: 6px; }
.wine-facts p { color: var(--muted); font-size: 14px; }

/* Spa */
.spa { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); }
.spa__img { border-radius: var(--radius); overflow: hidden; min-height: 520px; }
.spa__img img { width: 100%; height: 100%; object-fit: cover; }
.spa__menu { background: var(--sage-light); border-radius: var(--radius); padding: 40px; }
.spa__menu > p { color: var(--muted); margin: 14px 0 24px; }
.spa__menu h4 { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--green); margin: 18px 0 6px; }
.price-list { list-style: none; padding: 0; margin: 0 0 8px; }
.price-list li { display: flex; justify-content: space-between; gap: 20px; padding: 10px 0; border-bottom: 1px solid rgba(38,55,43,.15); }
.price-list b { font-weight: 500; white-space: nowrap; }
.spa__menu .btn { margin-top: 22px; }

/* Galería: carrusel continuo de derecha a izquierda */
/* Sin degradado: el carrusel termina en un borde sólido con esquinas redondeadas */
.marquee { overflow: hidden; border-radius: 14px; }
.marquee__track { display: flex; width: max-content; animation: marquee 90s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
/* margin en vez de gap para que las dos mitades midan exactamente lo mismo */
.marquee__track img { flex: none; height: 360px; width: auto; margin-right: 12px; border-radius: 14px; cursor: zoom-in; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .marquee { overflow-x: auto; }
  .marquee__track { animation: none; }
}

/* Etiqueta sobre tarjetas pequeñas */
.tile__tag { position: absolute; top: 14px; left: 14px; z-index: 1; color: #fff; }
.promo__fine { display: block; margin-top: 6px; font-size: 13px; color: rgba(255,255,255,.65); }

/* Vinícola: sección secundaria, más compacta */
.wine--compact { grid-template-columns: minmax(240px, 1fr) 2.2fr; }
.wine--compact .wine__media { min-height: 0; }
.wine__title { font-size: clamp(26px, 2.6vw, 34px); }
.wine--compact .tastings { margin-top: 20px; }
.wine--compact .tasting h4 { font-family: var(--serif); font-size: 21px; }
.wine--compact .price { font-size: 24px; }
.note--fine { margin-top: 4px; font-size: 13px; }
.wine__cta { align-self: flex-start; margin-top: 20px; white-space: normal; }

/* Ubicación */
.location { display: grid; grid-template-columns: 1fr 1.2fr; gap: var(--gap); background: var(--card); border-radius: var(--radius); padding: 10px; }
.location__info { padding: 30px 24px; }
.contact-list { list-style: none; padding: 0; margin: 26px 0; }
.contact-list li { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.contact-list svg { width: 20px; height: 20px; color: var(--sage); margin-top: 2px; }
.contact-list small { display: block; font-size: 12px; color: var(--muted); }
.contact-list a:hover { text-decoration: underline; }
.location__ctas { display: flex; flex-wrap: wrap; gap: 10px; }
.location__map { border-radius: var(--radius-sm); overflow: hidden; min-height: 460px; background: var(--sage-light); }
.location__map iframe { display: block; width: 100%; height: 100%; min-height: 460px; border: 0; }

.pets { margin-top: var(--gap); background: var(--card); border-radius: var(--radius-sm); padding: 22px; display: flex; align-items: center; gap: 22px; }
.pets .feature__icon { margin: 0; flex: none; }
.pets__text { flex: 1; }
.pets__text h3 { margin-bottom: 4px; }
.pets__text p { color: var(--muted); font-size: 14px; }
.pets__prices { margin-top: 6px; color: var(--ink) !important; }

/* Pie */
.footer { margin: 80px 0 0; background: var(--green); color: #fff; border-radius: var(--radius); padding: 44px 36px 26px; }
.footer__top { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; padding-bottom: 36px; border-bottom: 1px solid rgba(255,255,255,.14); }
.footer__btns { display: flex; align-items: center; gap: 20px; margin-top: 26px; flex-wrap: wrap; }
.footer__phone { font-size: 18px; }
.footer__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.footer__cols h5 { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.55); margin-bottom: 12px; }
.footer__cols a { display: block; padding: 4px 0; color: rgba(255,255,255,.85); font-size: 15px; }
.footer__cols a:hover { color: #fff; }
.footer__bottom { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; padding-top: 22px; font-size: 13px; color: rgba(255,255,255,.6); }
.footer__logo { height: 30px; width: auto; margin-right: auto; }

/* Modal */
.modal { border: 0; padding: 0; border-radius: var(--radius); max-width: 940px; width: calc(100% - 32px); background: var(--cream); color: var(--ink); }
.modal::backdrop { background: rgba(15,22,17,.6); backdrop-filter: blur(3px); }
.modal__close { position: absolute; top: 14px; right: 14px; z-index: 2; width: 40px; height: 40px; border-radius: 50%; border: 0; background: #fff; cursor: pointer; display: grid; place-items: center; }
.modal__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 10px; padding: 10px; }
.modal__imgs { display: grid; gap: 10px; }
.modal__imgs img { width: 100%; height: 100%; max-height: 420px; object-fit: cover; border-radius: var(--radius-sm); }
.modal__text { padding: 30px 24px; display: flex; flex-direction: column; gap: 14px; }
.modal__text h3 { font-size: 32px; }
.modal__text .room__specs { padding: 0; margin: 0; }
.modal__text p:not(.eyebrow) { color: var(--muted); }
.modal__text .btn { align-self: flex-start; margin-top: 8px; }
.modal--img { max-width: 1100px; background: transparent; }
.modal--img img { width: 100%; max-height: 86vh; object-fit: contain; border-radius: var(--radius-sm); }

/* Páginas internas (reservar, mi reservación) */
/* overflow visible para que el menú desplegable del celular no se recorte */
.subhead { position: relative; border-radius: var(--radius); color: #fff; padding: 0 22px 46px; min-height: 380px; display: flex; flex-direction: column; }
.subhead__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
.subhead::before { content: ""; position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(180deg, rgba(20,28,22,.65), rgba(20,28,22,.55)); z-index: 1; }
.subhead > nav.nav { z-index: 5; }
.subhead > *:not(.subhead__bg) { position: relative; z-index: 2; }
.subhead__nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.subhead__nav .btn--ghost { padding: 6px 18px 6px 6px; }
.subhead__logo { height: 36px; width: auto; }
.subhead__text { margin-top: auto; padding-top: 60px; }
.subhead h1 { font-size: clamp(38px, 5vw, 64px); line-height: 1.05; }
.subhead__lead { margin-top: 12px; max-width: 560px; color: rgba(255,255,255,.88); }
.booking-page { display: grid; grid-template-columns: 1fr 340px; gap: var(--gap); align-items: start; padding-top: 30px; }
.booking-page__widget { background: var(--card); border-radius: var(--radius); padding: 24px; min-height: 480px; }
.booking-page__side { display: flex; flex-direction: column; gap: var(--gap); }
.booking-page__side .feature { min-height: 0; gap: 8px; }
.booking-page__side .feature h3 { margin-top: 0; }
.booking-page__btns { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-top: 14px; }
.booking-page__phone { font-size: 14px; color: rgba(255,255,255,.8); text-decoration: underline; text-underline-offset: 3px; }
.pets__contact { margin-top: 6px; }
.pets__contact a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Responsivo ---------- */
@media (max-width: 1180px) {
  .nav__phone { display: none; }
  .features { grid-template-columns: repeat(2, 1fr); }
  .rooms { grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .booking { grid-template-columns: repeat(3, 1fr); }
  .booking__field:nth-child(3) { border-right: 0; }
  .booking__submit { grid-column: 1 / -1; padding: 10px 10px 10px 22px; }
}

@media (max-width: 960px) {
  .page { padding: 10px; }
  .nav__links {
    display: none; position: absolute; top: 100%; left: 0; right: 0; margin: 0;
    flex-direction: column; border-radius: 18px; padding: 8px; z-index: 10;
    background: rgba(38,55,43,.97);
  }
  .nav__links.is-open { display: flex; }
  .nav { position: relative; }
  .nav .btn--light { margin-left: auto; }
  .nav__burger { display: grid; }
  .hero { min-height: 0; }
  .hero__body { flex-direction: column; align-items: flex-start; padding-top: 70px; }
  .hero__card { display: none; }
  .split-head { grid-template-columns: 1fr; gap: 16px; }
  .split-head__text { justify-self: start; }
  .mosaic { grid-template-columns: 1fr 1fr; grid-template-rows: 420px 220px 220px; }
  .tile--big { grid-column: 1 / -1; grid-row: auto; }
  .promo, .promo__main, .spa, .wine, .location, .footer__top { grid-template-columns: 1fr; }
  .promo__img { height: 280px; }
  .services, .wine-facts { grid-template-columns: 1fr; }
  .booking-page { grid-template-columns: 1fr; }
  .booking-page__widget { padding: 14px; }
  .wine__media, .spa__img { min-height: 320px; }
  .wine--compact { grid-template-columns: 1fr; }
  .wine--compact .wine__media { height: 260px; }
  .wine--compact .wine__media img { object-position: center 30%; }
  .location__map, .location__map iframe { min-height: 340px; }
  .marquee__track img { height: 260px; }
  .wine__content { padding: 24px 14px 14px; }
  .spa__menu { padding: 28px 22px; }
  .section { padding: 64px 6px 10px; }
}

@media (max-width: 620px) {
  body { font-size: 15px; }
  .topbar { gap: 12px; font-size: 12px; }
  .topbar__item:first-child, .topbar__hide-sm { display: none; }
  .nav { gap: 10px; }
  .nav__logo img { height: 32px; }
  .nav .btn--light { padding-left: 14px; font-size: 14px; }
  .nav .btn--light .btn__dot { width: 28px; height: 28px; }
  .hero { padding: 0 12px 12px; }
  .hero__body { padding: 50px 2px 22px; }
  .hero__lead { font-size: 15px; }
  .hero__ctas .btn { font-size: 14px; }
  .booking { grid-template-columns: 1fr; }
  .booking__field { border-right: 0; border-bottom: 1px solid var(--line); }
  .features { grid-template-columns: 1fr 1fr; }
  .feature { min-height: 0; padding: 14px 16px; }
  .feature__icon { width: 34px; height: 34px; margin-bottom: 10px; }
  .feature__icon svg { width: 16px; height: 16px; }
  .feature h3 { font-size: 17px; margin-top: 0; }
  .feature p { font-size: 13px; margin-top: 3px; }
  .rooms { grid-template-columns: 1fr; }
  .mosaic { grid-template-columns: 1fr; grid-template-rows: none; grid-auto-rows: 220px; }
  .tile--big { grid-row: span 2; height: auto; }
  .tile__body { padding: 20px; }
  .tile__body h3 { font-size: 28px; }
  .tastings { grid-template-columns: 1fr; }
  .gallery { columns: 2; column-gap: 8px; }
  .gallery img { margin-bottom: 8px; border-radius: 10px; }
  .pets { flex-direction: column; align-items: flex-start; }
  .notice { flex-direction: column; align-items: flex-start; }
  .footer { padding: 32px 20px 22px; }
  .footer__cols { grid-template-columns: 1fr 1fr; }
  .modal__grid { grid-template-columns: 1fr; }
  .modal__imgs img { max-height: 260px; }
  .modal__imgs img + img { display: none; }
  .modal__text { padding: 14px 10px 20px; }
}

@media (max-width: 780px) {
  .rooms { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
}
.room__actions { flex-wrap: wrap; }

/* ---------- Columna junto al motor de reservas ---------- */
/* La columna mide lo mismo que el motor: arriba "¿Tienes alguna pregunta?",
   abajo "¿Ya reservaste?" alineado con el borde inferior del motor. */
.side-card {
  display: flex; align-items: flex-start; gap: 14px;
  background: var(--card); border-radius: var(--radius-sm); padding: 18px 20px;
}
.side-card .feature__icon { width: 40px; height: 40px; margin: 0; flex: none; }
.side-card h3 { font-size: 20px; margin-bottom: 4px; }
.side-card p { color: var(--muted); font-size: 14px; }
.side-card p a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.side-card--dark { background: var(--green); color: #fff; align-items: center; transition: background .2s ease; }
.side-card--dark p { color: rgba(255,255,255,.75); }
.side-card--dark:hover { background: var(--green-2); }
.side-card--end { margin-top: 0; }
.side-card__arrow { margin-left: auto; width: 20px; height: 20px; }

/* "Una noche increíble": texto arriba para que se vea la fogata */
.tile--text-top img { object-position: center 85%; }
.tile--text-top::after { background: linear-gradient(0deg, rgba(0,0,0,0) 40%, rgba(15,22,17,.85) 100%); }
.tile--text-top .tile__body { top: 0; bottom: auto; }

.service__alt { margin-top: 8px; color: var(--ink) !important; }
.wine__call { margin-top: 10px; font-size: 14px; color: var(--muted); }
.wine__call a { color: var(--ink); font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }

/* Barra de fechas: todo el recuadro es clicable */
.booking__field { user-select: none; }

/* "Tu descanso comienza aquí": ícono, título y texto alineados entre tarjetas.
   Cada tarjeta comparte las mismas filas (subgrid); el espacio sobrante queda abajo. */
.features { grid-auto-rows: auto; row-gap: var(--gap); }
.features .feature {
  display: grid; grid-row: span 3; grid-template-rows: subgrid;
  row-gap: 0; align-content: start; min-height: 0; padding-bottom: 26px;
}
.features .feature h3 { margin-top: 0; align-self: start; }
.features .feature p { align-self: start; }
@media (max-width: 620px) {
  .features .feature { padding-bottom: 16px; }
}

/* ---------- Barra de fechas: el campo real cubre todo el recuadro ----------
   Así cualquier toque (también en iPhone/Android) cae sobre el campo y el
   teléfono abre su calendario o lista. Ícono y etiqueta quedan encima, sin
   recibir clics. El valor se dibuja alineado a la izquierda bajo la etiqueta. */
.booking__field { position: relative; grid-template-rows: 18px 22px; min-height: 58px; }
.booking__icon, .booking__label { position: relative; z-index: 2; pointer-events: none; }
.booking__label { align-self: end; }
.booking .booking__field input,
.booking .booking__field select {
  position: absolute; inset: 0; z-index: 1;
  width: 100%; height: 100%; margin: 0;
  padding: 27px 12px 0 60px; border-radius: 12px;
  line-height: 22px; text-align: left; box-sizing: border-box;
  display: block; min-width: 0;
}
/* iPhone: alinea la fecha a la izquierda (Safari la centra por defecto) */
.booking input[type="date"]::-webkit-date-and-time-value { text-align: left; margin: 0; }
/* Chrome: el ícono de calendario ya no hace falta, todo el recuadro abre el calendario */
.booking input[type="date"]::-webkit-calendar-picker-indicator { opacity: 0; position: absolute; inset: 0; width: 100%; height: 100%; cursor: pointer; }

/* WhatsApp flotante: aparece al bajar de la portada (no tapa "Ver disponibilidad") */
.wa-float { transition: opacity .25s ease, transform .25s ease; }
.wa-float.is-hidden { opacity: 0; transform: translateY(12px); pointer-events: none; }
