/* Quinta Pichón · Hospedaje
   Tokens tomados del tema real de quintapichon.com (style.css):
   rosa #FFB6AF, coral #F28076, verde #4EB09B, crema #FFF2E8, negro #1F1F1F.
   Tipografías del sitio: Countryside (menú, pie y cifras) y Graphik (títulos y texto). */

@font-face { font-family: "countryside"; src: url("fonts/Countryside_QP-Regular.woff2") format("woff2"); font-weight: normal; font-style: normal; font-display: swap; }
@font-face { font-family: "graphik"; src: url("fonts/GraphikRegular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "graphik"; src: url("fonts/GraphikMedium.woff2") format("woff2"); font-weight: 500 700; font-style: normal; font-display: swap; }

:root {
  --rosa: #FFB6AF;
  --rosa-claro: #FFDBD8;
  --coral: #F28076;
  --coral-fuerte: #E8685D;
  --verde: #4EB09B;
  --verde-hondo: #2E7D6B;
  --verde-noche: #1F5C4E;
  --verde-claro: #D1F3EC;
  --crema: #FFF2E8;
  --crema-2: #FAE0C7;
  --blanco: #FBFAF8;
  --negro: #1F1F1F;
  --gris: #4B4B4B;
  --gris-suave: #DBDBDB;
  --radio: 24px;
  --sombra: 0 18px 44px rgba(90, 50, 25, .12);
  --fuente-sitio: "countryside", Georgia, "Times New Roman", serif;
  --fuente: "graphik", "Helvetica Neue", Arial, system-ui, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 100px; }
body {
  margin: 0; font-family: var(--fuente); font-size: 17px; line-height: 1.6; color: var(--negro);
  background: var(--blanco); overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-family: var(--fuente); font-weight: 500; }
h1 { font-size: clamp(2.5rem, 10.2vw, 5.4rem); line-height: 1.02; letter-spacing: -.03em; }
h2 { font-size: clamp(1.95rem, 7vw, 3.4rem); line-height: 1.08; letter-spacing: -.025em; }
h3 { font-size: 1.15rem; line-height: 1.3; letter-spacing: -.005em; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--verde-hondo); outline-offset: 3px; border-radius: 8px; }

.contenedor { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 22px; }
.contenedor--angosto { max-width: 840px; }

.etiqueta {
  font-weight: 500; font-size: .78rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--verde-hondo); margin: 0 0 1rem; display: flex; align-items: center; gap: 12px;
}
.etiqueta::before { content: ""; width: 28px; height: 2px; background: currentColor; border-radius: 2px; }
.etiqueta--clara { color: var(--verde-claro); }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--fuente); font-weight: 500; font-size: 1rem; line-height: 1.1; letter-spacing: .005em;
  text-decoration: none; text-align: center;
  min-height: 50px; padding: 12px 26px; border-radius: 999px; border: 2px solid transparent;
  cursor: pointer; transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease), box-shadow .3s var(--ease);
}
.btn:active { transform: scale(.98); }
.btn--primario { background: var(--coral); color: var(--negro); border-color: var(--coral); box-shadow: 0 8px 22px rgba(242,128,118,.38); }
.btn--primario:hover { background: var(--coral-fuerte); border-color: var(--coral-fuerte); transform: translateY(-2px); box-shadow: 0 12px 28px rgba(242,128,118,.5); }
.btn--contorno { background: transparent; color: var(--verde-hondo); border-color: var(--verde-hondo); }
.btn--contorno:hover { background: var(--verde-hondo); color: #fff; }
.btn--wa { background: rgba(255,255,255,.14); color: #fff; border-color: rgba(255,255,255,.85); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.btn--wa:hover { background: #fff; color: var(--verde-hondo); }
.btn--chico { min-height: 42px; padding: 8px 22px; font-size: .95rem; box-shadow: none; }
.btn--grande { min-height: 58px; padding: 14px 32px; font-size: 1.05rem; }
.btn--enorme { min-height: 68px; padding: 16px 44px; font-size: 1.2rem; }
.btn--bloque { width: 100%; }
.ico-wa { width: 22px; height: 22px; fill: currentColor; flex: none; }

.acciones { display: flex; flex-direction: column; gap: 12px; align-items: stretch; margin-top: 1.6rem; }
.acciones--centro { align-items: center; }

/* ---------- Cinta + encabezado ---------- */
.top { position: sticky; top: 0; z-index: 60; }
.cinta {
  background: var(--negro); color: #fff; text-align: center;
  font-size: .74rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; padding: 5px 12px; line-height: 1.3;
}
.nav {
  position: relative; height: 60px; display: flex; align-items: center; justify-content: space-between;
  padding: 0 16px 0 112px; background: rgba(255,255,255,.93);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 1px 0 rgba(0,0,0,.06);
}
.nav__logo { position: absolute; left: 20px; top: 0; width: 84px; height: 78px; display: flex; align-items: center; justify-content: center; background: var(--rosa); border-radius: 0 0 28px 28px; transition: background-color .3s var(--ease); }
.nav__logo:hover { background: var(--coral); }
.nav__logo img { width: 52px; height: 52px; }
.nav__links { display: none; }
.nav__acciones { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.nav__burger { width: 44px; height: 44px; border-radius: 12px; border: 0; background: var(--verde); cursor: pointer; display: inline-flex; flex-direction: column; justify-content: center; align-items: center; gap: 5px; padding: 0; }
.nav__burger span { display: block; width: 22px; height: 2.5px; background: #fff; border-radius: 2px; transition: transform .25s ease, opacity .25s ease; }
.nav__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
.nav__links.is-abierto {
  display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: #fff;
  padding: 12px 20px 20px; gap: 2px; box-shadow: 0 14px 24px rgba(0,0,0,.12); font-family: var(--fuente-sitio); font-size: 1.4rem; color: var(--gris);
}
.nav__links.is-abierto a { padding: 10px 4px 10px 100px; text-decoration: none; border-bottom: 1px solid var(--gris-suave); }
.nav__links a[aria-current="page"] { color: var(--verde-hondo); }

/* ---------- Hero con slideshow ---------- */
.hero { position: relative; display: flex; align-items: flex-end; min-height: calc(100svh - 84px); background: #1b1510; color: #fff; overflow: hidden; isolation: isolate; }
.hero__fotos { position: absolute; inset: 0; z-index: -3; }
.slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.9s ease-in-out; overflow: hidden; }
.slide.is-active, .slide.is-saliendo { opacity: 1; }
.slide.is-saliendo { z-index: 0; }
.slide.is-active { z-index: 1; }
.slide img { width: 100%; height: 100%; object-fit: cover; object-position: var(--pm); transform: scale(1.03); transform-origin: 55% 50%; will-change: transform; }
.slide.is-active img, .slide.is-saliendo img { animation: kenburns 11s ease-out forwards; }
.slide:nth-child(even).is-active img, .slide:nth-child(even).is-saliendo img { animation-name: kenburns-b; }
@keyframes kenburns { from { transform: scale(1.03) translate3d(0, 0, 0); } to { transform: scale(1.12) translate3d(-1.4%, -1%, 0); } }
@keyframes kenburns-b { from { transform: scale(1.12) translate3d(1.2%, 0, 0); } to { transform: scale(1.03) translate3d(0, 0, 0); } }
.slide--luz::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(12,8,5,.3) 0%, rgba(12,8,5,.5) 40%, rgba(12,8,5,.72) 100%); }
.hero__velo { position: absolute; inset: 0; z-index: -2; pointer-events: none;
  background:
    radial-gradient(120% 70% at 50% 100%, rgba(12,8,5,.92) 0%, rgba(12,8,5,.66) 45%, rgba(12,8,5,.18) 75%),
    linear-gradient(180deg, rgba(12,8,5,.42) 0%, rgba(12,8,5,.18) 30%, rgba(12,8,5,.22) 100%); }
.hero__texto { position: relative; z-index: 2; padding-top: 36px; padding-bottom: 28px; }
.hero__texto .etiqueta {
  display: inline-flex; color: #fff; background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.4);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); padding: 7px 14px; border-radius: 999px; letter-spacing: .12em; font-size: .7rem; margin-bottom: 1rem;
}
.hero__texto .etiqueta::before { display: none; }
.hero__texto h1 { color: #fff; text-shadow: 0 2px 30px rgba(0,0,0,.4); max-width: 14ch; }
.hero__sub { font-size: 1.05rem; line-height: 1.5; color: #F7EFE8; margin: .9rem 0 0; max-width: 46ch; text-shadow: 0 1px 14px rgba(0,0,0,.4); }
.hero__precio {
  display: inline-flex; align-items: baseline; gap: 7px; flex-wrap: wrap; margin: 1rem 0 1.1rem; padding: 9px 18px; border-radius: 999px; line-height: 1.1;
  background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.38); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); font-size: .95rem;
}
.hero__precio strong { font-size: 1.55rem; font-weight: 500; letter-spacing: -.03em; }
.hero__precio small { font-size: .8rem; opacity: .9; }

/* Barra de reserva estilo hotel (cristal) */
.reserva {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; padding: 14px; border-radius: 28px; max-width: 920px; width: 100%;
  background: rgba(255,255,255,.9); backdrop-filter: blur(20px) saturate(1.4); -webkit-backdrop-filter: blur(20px) saturate(1.4);
  border: 1px solid rgba(255,255,255,.7); box-shadow: 0 24px 60px rgba(0,0,0,.35); color: var(--negro);
}
.reserva__campo { position: relative; min-width: 0; display: flex; flex-direction: column; justify-content: center; gap: 2px; min-height: 64px; padding: 9px 16px; border-radius: 18px; background: #F5EFE9; cursor: pointer; transition: background-color .25s var(--ease), box-shadow .25s var(--ease); }
.reserva__campo:hover { background: #F0E7DE; }
.reserva__campo:focus-within { background: #fff; box-shadow: 0 0 0 2px var(--verde-hondo); }
.reserva__campo span { font-size: .66rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--gris); }
.reserva__campo input, .reserva__campo select { font: 500 1.05rem/1.3 var(--fuente); color: var(--negro); border: 0; background: transparent; padding: 0; width: 100%; min-width: 0; max-width: 100%; min-height: 28px; appearance: none; -webkit-appearance: none; outline: none; color-scheme: light; cursor: pointer; }
.reserva__campo input[type="date"] { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%231F1F1F' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='16' rx='3'/%3E%3Cpath d='M16 3v4M8 3v4M3 10h18'/%3E%3C/svg%3E") no-repeat right 0 center; padding-right: 26px; font-size: 1rem; position: relative; }
.reserva__campo input[type="date"]::-webkit-calendar-picker-indicator { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.reserva__campo input[type="date"]::-webkit-date-and-time-value { text-align: left; }
.reserva__campo.vacio::after { content: "Elige fecha"; position: absolute; left: 16px; bottom: 9px; font: 500 1rem/1.3 var(--fuente); color: var(--gris); pointer-events: none; }
.reserva__campo.vacio input[type="date"] { color: transparent; }
.reserva__campo.vacio input[type="date"]::-webkit-datetime-edit { color: transparent; }
.reserva__campo--huespedes { grid-column: 1 / -1; }
.reserva__campo--huespedes select { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1.5 7 7.5 13 1.5' fill='none' stroke='%231F1F1F' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 2px center; padding-right: 26px; }
.reserva__boton { grid-column: 1 / -1; width: 100%; min-height: 60px; }
.hero__wa { margin-top: 14px; width: 100%; }

.hero__puntos { display: none; }

/* ---------- Datos rápidos ---------- */
.datos { background: var(--crema-2); }
.datos__lista { list-style: none; margin: 0 auto; padding: 22px; display: grid; grid-template-columns: 1fr 1fr; gap: 18px 14px; }
.datos__lista li { display: flex; flex-direction: column; line-height: 1.25; }
.datos__lista strong { font-family: var(--fuente-sitio); font-weight: normal; font-size: 1.7rem; letter-spacing: .03em; color: var(--verde-hondo); }
.datos__lista span { font-size: .9rem; color: var(--gris); }

/* ---------- Secciones ---------- */
.seccion { padding: 76px 0; }
.seccion--crema { background: var(--crema); }
.seccion--teal { background: var(--verde-noche); color: #fff; }
.seccion--teal h2 { color: #fff; }
.encabezado { margin-bottom: 2.4rem; max-width: 780px; }
.encabezado p:last-child { color: var(--gris); margin-bottom: 0; }
.encabezado h2 + p { margin-top: 1.1rem; font-size: 1.05rem; }

/* Video */
.video { display: grid; gap: 36px; align-items: center; }
.video__tel { margin: 0 auto; width: min(260px, 70vw); }
.video__pantalla { position: relative; aspect-ratio: 9 / 16; border-radius: 32px; overflow: hidden; border: 6px solid #fff; box-shadow: 0 26px 56px rgba(0,0,0,.35); background: #000; }
.video__pantalla img { width: 100%; height: 100%; object-fit: cover; }
.video__pantalla::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.05) 40%, rgba(0,0,0,.62)); }
.video__play { position: absolute; z-index: 2; left: 50%; top: 46%; transform: translate(-50%, -50%); width: 78px; height: 78px; border-radius: 50%; border: 0; cursor: pointer; background: var(--coral); display: grid; place-items: center; transition: transform .3s var(--ease), background-color .3s var(--ease); box-shadow: 0 0 0 10px rgba(255,255,255,.28); }
.video__play:hover { transform: translate(-50%, -50%) scale(1.08); background: var(--coral-fuerte); }
.video__play svg { width: 34px; height: 34px; fill: var(--negro); margin-left: 4px; }
.video__rotulo { position: absolute; z-index: 2; left: 12px; right: 12px; bottom: 14px; text-align: center; background: #fff; color: var(--negro); font-weight: 500; font-size: .85rem; border-radius: 999px; padding: 8px 12px; }
.video__texto p { color: #DDF1EA; }
.video__texto h2 { margin-bottom: 1.1rem; }
.video__pendiente { font-size: .85rem; border: 1px dashed rgba(255,255,255,.65); border-radius: 14px; padding: 10px 14px; color: #fff !important; }
.video__texto .btn { margin-top: .8rem; }
.video.is-pendiente .video__rotulo { background: var(--coral); }

/* Galería en mosaico */
.galeria { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.galeria figure { margin: 0; border-radius: var(--radio); overflow: hidden; background: var(--crema-2); position: relative; }
.galeria img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.galeria figure:hover img { transform: scale(1.05); }
.galeria figcaption { position: absolute; z-index: 1; left: 14px; bottom: 12px; color: #fff; font-size: .8rem; font-weight: 500; letter-spacing: .04em; text-shadow: 0 1px 12px rgba(0,0,0,.6); }
.galeria figure::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 60%, rgba(0,0,0,.35)); pointer-events: none; }
.g1 { grid-column: 1 / -1; aspect-ratio: 4 / 3; }
.g2, .g3 { aspect-ratio: 1 / 1; }
.g4 { grid-column: 1 / -1; aspect-ratio: 16 / 10; }
.g4 img { object-position: 50% 60%; }

.amenidades { list-style: none; margin: 40px 0 0; padding: 0; display: grid; gap: 14px; grid-template-columns: 1fr; }
.amenidades li { background: var(--crema); border-radius: var(--radio); padding: 22px 22px 22px 88px; position: relative; transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.amenidades li:hover { transform: translateY(-3px); box-shadow: var(--sombra); }
.amenidades svg { position: absolute; left: 22px; top: 22px; width: 48px; height: 48px; padding: 11px; border-radius: 50%; background: #fff; fill: none; stroke: var(--verde-hondo); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; box-shadow: 0 4px 14px rgba(120,70,40,.1); }
.amenidades p { margin: .3rem 0 0; color: var(--gris); font-size: .98rem; line-height: 1.5; }

/* Habitaciones */
.cuartos { display: grid; gap: 28px; }
.cuarto { background: #fff; border-radius: 30px; overflow: hidden; box-shadow: var(--sombra); display: flex; flex-direction: column; }
.cuarto__foto { position: relative; aspect-ratio: 4 / 3; background: var(--crema-2); overflow: hidden; }
.cuarto__foto img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.cuarto:hover .cuarto__foto img { transform: scale(1.05); }
.cuarto__pie { position: absolute; left: 14px; bottom: 14px; background: rgba(255,255,255,.94); font-size: .75rem; font-weight: 500; padding: 5px 12px; border-radius: 999px; }
.cuarto__cuerpo { padding: 26px 24px 28px; display: flex; flex-direction: column; flex: 1; }
.cuarto h3 { font-size: 1.7rem; letter-spacing: -.02em; }
.cuarto__cupo { display: inline-flex; align-self: flex-start; background: var(--verde-claro); color: var(--verde-noche); font-weight: 500; font-size: .88rem; border-radius: 999px; padding: 5px 14px; margin: .7rem 0 0; }
.precio__imp { margin: 0 0 1.3rem; font-size: .86rem; color: var(--gris); }
.precio { margin: 1.1rem 0 .4rem; display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; line-height: 1; }
.precio strong { font-size: 3.3rem; font-weight: 500; letter-spacing: -.04em; }
.precio__desde, .precio__noche { color: var(--gris); font-size: 1rem; }
.incluye { list-style: none; margin: 0 0 1.6rem; padding: 1.2rem 0 0; border-top: 1px solid #EFE3D8; display: grid; gap: 9px; flex: 1; }
.incluye li { position: relative; padding-left: 28px; font-size: .97rem; line-height: 1.45; }
.incluye li::before { content: ""; position: absolute; left: 3px; top: .36em; width: 8px; height: 13px; border: solid var(--verde-hondo); border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); }
.notas { list-style: none; margin: 30px 0 0; padding: 0; display: grid; gap: 6px; font-size: .92rem; color: var(--gris); }
.notas li:last-child { color: #A8372D; font-weight: 500; }

/* Ubicación */
.ubicacion { display: grid; gap: 30px; }
.ubicacion__tarjeta { background: var(--rosa-claro); border-radius: 30px; padding: 32px 26px; }
.ubicacion__tarjeta h2 { margin-bottom: 1.1rem; font-size: clamp(1.75rem, 6vw, 2.5rem); }
.ubicacion address { font-style: normal; font-size: 1.1rem; margin-bottom: 1.5rem; }
.ubicacion__tip { margin: 1.3rem 0 0; color: var(--gris); font-size: .95rem; }
.ubicacion__datos h3 { font-size: 1.35rem; margin-bottom: .9rem; }
.distancias { list-style: none; margin: 0 0 2.2rem; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.distancias li { background: var(--verde-claro); border-radius: 18px; padding: 16px 18px; display: flex; flex-direction: column; line-height: 1.25; }
.distancias strong { font-family: var(--fuente-sitio); font-weight: normal; font-size: 2.1rem; color: var(--verde-hondo); letter-spacing: .02em; }
.distancias span { font-size: .92rem; }
.etiquetas { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.etiquetas li { border: 1.5px solid var(--verde-hondo); color: var(--negro); border-radius: 999px; padding: 7px 15px; font-size: .92rem; line-height: 1.3; transition: background-color .3s var(--ease), color .3s var(--ease); }
.etiquetas li:hover { background: var(--verde-hondo); color: #fff; }

/* Preguntas */
.faq { display: grid; gap: 10px; }
.faq details { background: #fff; border-radius: 18px; border: 1px solid #EBD8C7; overflow: hidden; transition: box-shadow .3s var(--ease); }
.faq details[open] { box-shadow: var(--sombra); }
.faq summary { list-style: none; cursor: pointer; padding: 19px 60px 19px 22px; position: relative; font-weight: 500; line-height: 1.4; min-height: 58px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 16px; top: 50%; transform: translateY(-50%); width: 30px; height: 30px; border-radius: 50%; background: var(--verde-hondo); color: #fff; display: grid; place-items: center; font-size: 1.3rem; line-height: 1; padding-bottom: 2px; }
.faq details[open] summary::after { content: "\2212"; background: var(--coral); color: var(--negro); }
.faq details p { margin: 0; padding: 0 22px 22px; color: var(--gris); }
.faq__pie { margin-top: 1.8rem; color: var(--gris); font-size: .95rem; }
.faq__pie a { color: var(--verde-hondo); font-weight: 500; }

/* Pendiente de reseñas */
.pendiente { border: 2px dashed var(--coral); background: #FFF6F4; border-radius: var(--radio); padding: 24px 26px; }
.pendiente strong { display: inline-block; background: var(--coral); color: var(--negro); border-radius: 999px; padding: 3px 12px; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; margin-bottom: .7rem; }
.pendiente p { margin: 0; color: var(--gris); }

/* Cierre */
.cierre { position: relative; background: var(--verde-noche); color: #fff; padding: 88px 0 96px; text-align: center; overflow: hidden; isolation: isolate; }
.cierre::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 80% at 50% 0%, rgba(78,176,155,.45), transparent 70%); }
.cierre__caja { display: flex; flex-direction: column; align-items: center; }
.cierre h2 { color: #fff; max-width: 16em; }
.cierre p { max-width: 46ch; margin: 1.1rem 0 0; color: #DDF1EA; }
.cierre .acciones { width: 100%; }
.cierre .btn--enorme, .cierre .btn--wa { width: 100%; max-width: 420px; }
.terciarios { margin-top: 2.4rem; display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 20px; font-size: .88rem; color: #BFE0D6; }
.terciarios > span { flex-basis: 100%; text-align: center; }
.terciarios a { color: #fff; text-underline-offset: 4px; padding: 6px 2px; opacity: .92; }
.terciarios a:hover { color: var(--rosa); opacity: 1; }

/* Pie */
.pie { position: relative; background: var(--coral); color: var(--negro); padding: 96px 0 124px; }
.pie__sello { position: absolute; left: 50%; top: -42px; transform: translateX(-50%); width: 100px; height: 100px; border-radius: 50%; background: var(--rosa); display: grid; place-items: center; border: 6px solid var(--coral); }
.pie__sello img { width: 62px; height: 62px; }
.pie__grid { display: grid; gap: 28px; text-align: center; justify-items: center; }
.pie__titulo { font-family: var(--fuente-sitio); font-size: 1.9rem; margin-bottom: .4rem; }
.pie__contacto { display: flex; flex-direction: column; gap: 6px; align-items: center; }
.pie__contacto p { margin: 0; }
.pie a { text-decoration: none; padding: 4px 2px; }
.pie a:hover { text-decoration: underline; text-underline-offset: 4px; }
.pie__menu, .pie__redes { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 20px; font-family: var(--fuente-sitio); font-size: 1.2rem; }
.pie__redes { font-family: var(--fuente); font-size: .95rem; font-weight: 500; }
.pie__legal { display: flex; flex-wrap: wrap; justify-content: center; gap: 2px 18px; margin-top: 26px; font-size: .85rem; }
.pie__copy { text-align: center; font-size: .8rem; margin: 18px 20px 0; }

/* ---------- Barra fija en celular ---------- */
.barra {
  position: fixed; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); z-index: 70;
  display: flex; align-items: center; gap: 10px; padding: 8px 8px 8px 18px;
  background: rgba(255,255,255,.92); backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4);
  border: 1px solid rgba(0,0,0,.06); border-radius: 26px; box-shadow: 0 14px 40px rgba(30,20,10,.28);
}
.barra__precio { display: flex; flex-direction: column; line-height: 1.15; flex: none; }
.barra__precio small { font-size: .7rem; color: var(--gris); letter-spacing: .02em; }
.barra__precio strong { font-size: 1.15rem; font-weight: 500; letter-spacing: -.02em; }
.barra .btn--primario { flex: 1; min-height: 52px; padding: 10px 16px; border-radius: 20px; box-shadow: none; font-size: 1rem; }
.btn--wa-barra { flex: none; width: 52px; height: 52px; min-height: 0; padding: 0; border-radius: 20px; background: var(--verde-hondo); border-color: var(--verde-hondo); color: #fff; backdrop-filter: none; }
.btn--wa-barra:hover { background: var(--verde-noche); color: #fff; }
.btn--wa-barra .ico-wa { width: 26px; height: 26px; }

/* ---------- Franjas de llamada a la acción ---------- */
.cta { position: relative; isolation: isolate; overflow: hidden; margin: 52px 0; border-radius: 32px; padding: 32px 26px; display: grid; gap: 22px; color: #fff;
  background: linear-gradient(135deg, var(--verde-noche) 0%, var(--verde-hondo) 100%); box-shadow: 0 26px 56px rgba(31,92,78,.3); }
.cta::before { content: ""; position: absolute; z-index: -1; right: -80px; top: -120px; width: 320px; height: 320px; border-radius: 50%; background: radial-gradient(circle, rgba(242,128,118,.5), transparent 70%); }
.cta h3 { font-size: clamp(1.5rem, 5.6vw, 2.2rem); letter-spacing: -.025em; line-height: 1.12; max-width: 22ch; }
.cta p { margin: .7rem 0 0; color: #DDF1EA; max-width: 46ch; }
.cta__botones { display: flex; flex-direction: column; gap: 10px; }
.cta--foto { background: linear-gradient(90deg, rgba(15,50,42,.94) 0%, rgba(15,50,42,.7) 55%, rgba(15,50,42,.35) 100%), url("img/hero-2.webp") center / cover; margin: 64px 0 0; padding: 44px 26px; }
.cta--foto::before { display: none; }
.cta--compacta { margin: 0 0 28px; padding: 22px 22px; border-radius: 26px; background: #fff; color: var(--negro); box-shadow: var(--sombra); gap: 16px; }
.cta--compacta::before { display: none; }
.cta--compacta h3 { font-size: 1.3rem; }
.cta--compacta p { color: var(--gris); margin-top: .3rem; }
.cta--compacta .btn--wa { background: transparent; color: var(--verde-hondo); border-color: var(--verde-hondo); backdrop-filter: none; }
.cta--compacta .btn--wa:hover { background: var(--verde-hondo); color: #fff; }
.cta--compacta .btn--grande { min-height: 54px; }

/* ---------- Encabezado compacto al bajar ---------- */
.top.is-compact .nav { height: 54px; box-shadow: 0 8px 24px rgba(30,20,10,.12); }
.top.is-compact .nav__logo { width: 66px; height: 60px; border-radius: 0 0 22px 22px; }
.top.is-compact .nav__logo img { width: 40px; height: 40px; }
.top.is-compact .cinta { padding-top: 3px; padding-bottom: 3px; }
.nav, .nav__logo, .nav__logo img, .cinta { transition: height .35s var(--ease), width .35s var(--ease), padding .35s var(--ease), box-shadow .35s var(--ease), border-radius .35s var(--ease), background-color .3s var(--ease); }

/* ---------- Panel de depuración del Pixel (?pixel_debug=1) ---------- */
.pixel-debug { position: fixed; left: 8px; bottom: 100px; z-index: 90; width: min(340px, calc(100vw - 16px)); max-height: 42vh; overflow: auto; background: rgba(20,20,20,.94); color: #d6f5e8; font: 12px/1.45 ui-monospace, Menlo, Consolas, monospace; border-radius: 12px; padding: 10px 12px; box-shadow: 0 10px 30px rgba(0,0,0,.4); }
.pixel-debug h4 { margin: 0 0 6px; font: 600 12px var(--fuente); color: #fff; letter-spacing: .06em; text-transform: uppercase; }
.pixel-debug small { color: #ffd9a6; display: block; margin-bottom: 6px; }
.pixel-debug ol { margin: 0; padding-left: 18px; }
.pixel-debug li { margin-bottom: 6px; word-break: break-word; }
.pixel-debug b { color: #9be7ff; }
.pixel-debug i { color: #aaa; font-style: normal; }

/* ---------- Microanimaciones al hacer scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--i, 0) * 90ms); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .hero__texto > * { opacity: 0; transform: translateY(22px); animation: entra .95s var(--ease) forwards; }
.js .hero__texto > *:nth-child(1) { animation-delay: .1s; }
.js .hero__texto > *:nth-child(2) { animation-delay: .22s; }
.js .hero__texto > *:nth-child(3) { animation-delay: .36s; }
.js .hero__texto > *:nth-child(4) { animation-delay: .5s; }
.js .hero__texto > *:nth-child(5) { animation-delay: .62s; }
.js .hero__texto > *:nth-child(6) { animation-delay: .74s; }
.js .hero__texto > *:nth-child(7) { animation-delay: .86s; }
@keyframes entra { to { opacity: 1; transform: none; } }
@keyframes progreso { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* ---------- Pantallas más grandes ---------- */
@media (min-width: 640px) {
  body { font-size: 18px; }
  .acciones { flex-direction: row; flex-wrap: wrap; }
  .datos__lista { grid-template-columns: repeat(4, 1fr); }
  .amenidades { grid-template-columns: 1fr 1fr; }
  .cierre .acciones { flex-direction: row; justify-content: center; }
  .cierre .btn--enorme, .cierre .btn--wa { width: auto; max-width: none; }
}

@media (min-width: 900px) {
  body { padding-bottom: 0; }
  .barra { display: none; }
  .pixel-debug { bottom: 12px; }
  .cinta { font-size: .78rem; }
  .nav { height: 80px; padding: 0 clamp(20px, 4vw, 60px) 0 200px; background: rgba(255,255,255,.9); }
  .nav__logo { left: clamp(20px, 5vw, 80px); width: 130px; height: 102px; border-radius: 0 0 40px 40px; }
  .nav__logo img { width: 74px; height: 74px; }
  .nav__burger { display: none; }
  .nav__links { display: flex; gap: clamp(18px, 2.6vw, 44px); margin-left: auto; margin-right: 28px; font-family: var(--fuente-sitio); font-size: 1.2rem; color: var(--gris); }
  .nav__links a { text-decoration: none; padding: 6px 0; position: relative; }
  .nav__links a::after { content: ""; position: absolute; left: 50%; bottom: -6px; width: 8px; height: 8px; border-radius: 50%; background: var(--verde); transform: translateX(-50%) scale(0); transition: transform .3s ease; }
  .nav__links a:hover::after, .nav__links a[aria-current="page"]::after { transform: translateX(-50%) scale(1); }
  .nav__acciones { margin-left: 0; }

  .hero { min-height: max(700px, calc(100svh - 108px)); align-items: center; }
  .slide img { object-position: var(--pd); }
  .slide--luz::after { display: none; }
  .hero__velo { background:
    linear-gradient(90deg, rgba(12,8,5,.84) 0%, rgba(12,8,5,.62) 36%, rgba(12,8,5,.24) 70%, rgba(12,8,5,.14) 100%),
    linear-gradient(180deg, rgba(12,8,5,.38) 0%, rgba(12,8,5,.1) 24%, rgba(12,8,5,.5) 100%); }
  .hero__texto { padding-top: 80px; padding-bottom: 96px; }
  .hero__sub { font-size: 1.25rem; }
  .hero__precio { margin: 1.3rem 0 1.4rem; }
  .reserva { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1.15fr) minmax(0, 1fr) auto; gap: 0; padding: 10px; border-radius: 999px; align-items: stretch; }
  .reserva__campo { border-radius: 999px; padding: 10px 26px; background: transparent; min-height: 66px; position: relative; }
  .reserva__campo + .reserva__campo::before { content: ""; position: absolute; left: 0; top: 18%; bottom: 18%; width: 1px; background: #DCCFC3; }
  .reserva__campo:hover { background: #F5EFE9; }
  .reserva__campo--huespedes { grid-column: auto; }
  .reserva__boton { grid-column: auto; width: auto; min-height: 66px; padding: 0 38px; }
  .hero__wa { width: auto; }
  .hero__puntos { display: flex; gap: 8px; list-style: none; margin: 0; padding: 0; position: absolute; right: clamp(24px, 5vw, 80px); bottom: 36px; z-index: 3; }
  .hero__puntos li { width: 34px; height: 3px; border-radius: 3px; background: rgba(255,255,255,.35); overflow: hidden; position: relative; }
  .hero__puntos li.is-activo::after { content: ""; position: absolute; inset: 0; background: #fff; transform-origin: left; animation: progreso var(--dur, 7s) linear forwards; }
  .seccion { padding: 120px 0; }
  .datos__lista { padding: 30px 22px; }

  .video { grid-template-columns: 300px 1fr; gap: 88px; }
  .video__tel { width: 300px; }
  .galeria { grid-template-columns: repeat(4, 1fr); grid-template-rows: 280px 280px; gap: 14px; }
  .g1 { grid-column: 1 / 3; grid-row: 1 / 3; aspect-ratio: auto; }
  .g4 { grid-column: 3; grid-row: 1 / 3; aspect-ratio: auto; }
  .g2 { grid-column: 4; grid-row: 1; aspect-ratio: auto; }
  .g3 { grid-column: 4; grid-row: 2; aspect-ratio: auto; }
  .amenidades { grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 56px; }
  .amenidades li { padding: 92px 24px 26px; }
  .amenidades svg { left: 24px; top: 24px; }
  .cuartos { grid-template-columns: 1fr 1fr; gap: 36px; }
  .cta { grid-template-columns: 1fr auto; align-items: center; gap: 40px; padding: 44px 52px; margin: 72px 0; }
  .cta__botones { flex-direction: row; }
  .cta--foto { padding: 64px 56px; margin: 80px 0 0; }
  .cta--compacta { margin: 0 0 36px; padding: 26px 34px; }
  .top.is-compact .nav { height: 64px; }
  .top.is-compact .nav__logo { width: 104px; height: 80px; border-radius: 0 0 32px 32px; }
  .top.is-compact .nav__logo img { width: 58px; height: 58px; }
  .cuarto__foto { aspect-ratio: 16 / 11; }
  .ubicacion { grid-template-columns: 5fr 6fr; gap: 64px; align-items: start; }
  .ubicacion__tarjeta { padding: 48px 44px; }
  .cierre { padding: 120px 0 128px; }
  .pie { padding-bottom: 48px; }
  .pie__grid { grid-template-columns: 1fr 1.3fr 1fr; align-items: start; text-align: left; justify-items: stretch; }
  .pie__contacto { align-items: flex-start; }
  .pie__menu { justify-content: center; }
  .pie__redes { justify-content: flex-end; }
}

@media (max-width: 359px) { .barra__precio { display: none; } .barra { padding-left: 8px; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .js .reveal, .js .hero__texto > * { opacity: 1 !important; transform: none !important; }
}


/* ===== 1.0.3 · revisión de marca de Quinta Pichón (28-oct-2026) =====
   Verde oficial del brandbook: #4EB09B (el #2E7D6B no era de la marca).
   Sobre el verde de marca el texto va oscuro: blanco sobre #4EB09B no se lee (contraste 2.6:1). */
:root { --verde-hondo: #4EB09B; --verde-noche: #4EB09B; }
.seccion--teal, .seccion--teal h2, .cierre, .cierre h2 { color: var(--negro); }
.video__texto p, .cierre p { color: var(--gris-oscuro, #2E2E2E); }
.etiqueta--clara { color: var(--negro); }
.seccion--teal .btn--wa, .cierre .btn--wa { background: transparent; color: var(--negro); border-color: var(--negro); backdrop-filter: none; -webkit-backdrop-filter: none; }
.seccion--teal .btn--wa:hover, .cierre .btn--wa:hover { background: var(--negro); color: #fff; }
/* sombras de color mas suaves (botones y recuadros) */
.btn--primario { box-shadow: 0 3px 10px rgba(242,128,118,.16); }
.btn--primario:hover { box-shadow: 0 5px 14px rgba(242,128,118,.22); }
.cta { background: var(--verde-hondo); color: var(--negro); box-shadow: 0 6px 18px rgba(31,31,31,.07); }
.cta p { color: #2E2E2E; }
.cta .btn--wa { background: transparent; color: var(--negro); border-color: var(--negro); backdrop-filter: none; -webkit-backdrop-filter: none; }
.cta .btn--wa:hover { background: var(--negro); color: #fff; }
/* fuera la mancha de color difuminada de las esquinas */
.cta::before, .cierre::before { display: none; }
/* la de foto sigue con velo oscuro neutro (no verde) y texto blanco */
.cta--foto { background: linear-gradient(90deg, rgba(20,20,20,.82) 0%, rgba(20,20,20,.55) 55%, rgba(20,20,20,.22) 100%), url("img/hero-2.webp") center / cover; color: #fff; box-shadow: none; }
.cta--foto p { color: rgba(255,255,255,.88); }
.cta--foto .btn--wa { background: rgba(255,255,255,.14); color: #fff; border-color: rgba(255,255,255,.85); }
.cta--foto .btn--wa:hover { background: #fff; color: var(--negro); }
.cta--compacta { background: #fff; color: var(--negro); box-shadow: var(--sombra); }
.cta--compacta p { color: var(--gris); }
.cta--compacta .btn--wa { color: var(--negro); border-color: var(--verde-hondo); }
.cta--compacta .btn--wa:hover { background: var(--verde-hondo); color: var(--negro); }
/* preguntas: + y − dibujados al centro exacto del circulo */
.faq summary::after { content: ""; padding: 0; font-size: 0;
  background: linear-gradient(var(--negro), var(--negro)) center / 12px 2px no-repeat, linear-gradient(var(--negro), var(--negro)) center / 2px 12px no-repeat, var(--verde-hondo); }
.faq details[open] summary::after { content: ""; background: linear-gradient(var(--negro), var(--negro)) center / 12px 2px no-repeat, var(--coral); }
/* pie: icono de la marca y todo centrado en renglones */
.pie__sello { background: var(--rosa); }
.pie__icono { width: 66px; height: 66px; color: var(--negro); display: block; }
.pie__grid, .pie__contacto { text-align: center; justify-items: center; align-items: center; }
.pie__contacto { gap: 4px; }
.pie__datos { display: flex; flex-wrap: wrap; justify-content: center; gap: 2px 22px; margin-top: 6px; }
.pie__legal { border-top: 1px solid rgba(31,31,31,.18); padding-top: 22px; }
@media (min-width: 900px) {
  .pie__grid { grid-template-columns: 1fr; gap: 22px; text-align: center; justify-items: center; }
  .pie__contacto { align-items: center; }
  .pie__menu, .pie__redes { justify-content: center; }
}
.terciarios { color: #2E2E2E; }
.terciarios a { color: var(--negro); opacity: 1; font-weight: 500; }
.terciarios a:hover { color: #fff; }
