:root {
  --crema: #FAF6EF;
  --arena: #F1EADD;
  --blanco: #FFFFFF;
  --tinta: #1E2A24;
  --verde: #2F4A3A;
  --verde-2: #3E5E4B;
  --dorado: #B08D57;
  --dorado-2: #D9C29A;
  --gris: #5F625B;
  --linea: #E4DACA;
  --wa: #1FA855;
  --wa-2: #178A45;
  --radio: 18px;
  --sombra: 0 18px 50px -20px rgba(30, 42, 36, .35);
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Jost", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ancho: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--crema);
  color: var(--tinta);
  font: 400 17px/1.65 var(--sans);
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.08; margin: 0 0 .5em; letter-spacing: -.01em; }
h2 { font-size: clamp(2.1rem, 4.4vw, 3.4rem); }
h3 { font-size: 1.6rem; }
p { margin: 0 0 1em; }
svg { flex: none; }

.contenedor { width: min(var(--ancho), 100% - 32px); margin-inline: auto; }
.contenedor--angosto { width: min(820px, 100% - 32px); }
.seccion { padding: clamp(72px, 10vw, 128px) 0; }

.antetitulo {
  display: inline-flex; align-items: center; gap: .5em;
  font: 500 .78rem/1 var(--sans); letter-spacing: .28em; text-transform: uppercase;
  color: var(--dorado-2); margin: 0 0 1.1rem;
}
.antetitulo svg { width: 22px; height: 22px; }
.antetitulo--oscuro { color: var(--dorado); }

.cabeza { text-align: center; max-width: 680px; margin: 0 auto 48px; }
.cabeza p:last-child { color: var(--gris); }

/* ===== Botones ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  padding: .9em 1.6em; border-radius: 999px; border: 1.5px solid transparent;
  font: 500 .98rem/1.1 var(--sans); letter-spacing: .02em; text-decoration: none;
  cursor: pointer; transition: transform .2s, background .2s, color .2s, border-color .2s, box-shadow .2s;
}
.btn svg { width: 1.25em; height: 1.25em; }
.btn:hover { transform: translateY(-2px); }
.btn--wa { background: var(--wa); color: #fff; box-shadow: 0 10px 26px -12px rgba(31, 168, 85, .8); }
.btn--wa:hover { background: var(--wa-2); }
.btn--claro { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.55); backdrop-filter: blur(6px); }
.btn--claro:hover { background: #fff; color: var(--tinta); }
.btn--linea { border-color: var(--verde); color: var(--verde); background: transparent; }
.btn--linea:hover { background: var(--verde); color: #fff; }
.btn--oscuro { background: var(--verde); color: #fff; }
.btn--oscuro:hover { background: var(--tinta); }
.btn--grande { padding: 1.05em 2em; font-size: 1.05rem; }

/* ===== Barra ===== */
.barra {
  position: fixed; inset: 0 0 auto; z-index: 50;
  transition: background .3s, box-shadow .3s, padding .3s;
  padding: 14px 0;
}
.barra.solida { background: rgba(250, 246, 239, .94); backdrop-filter: blur(12px); box-shadow: 0 1px 0 var(--linea); padding: 8px 0; }
.barra__in { width: min(1280px, 100% - 32px); margin: auto; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; transition: color .3s; }
.barra.solida .logo { color: var(--tinta); }
.logo__ramo { width: 38px; height: 38px; color: var(--dorado-2); }
.barra.solida .logo__ramo { color: var(--dorado); }
.logo__txt { display: flex; flex-direction: column; line-height: 1; }
.logo__txt b { font: 600 1.55rem/1 var(--serif); letter-spacing: .06em; text-transform: uppercase; }
.logo__txt small { font: 500 .62rem/1 var(--sans); letter-spacing: .38em; text-transform: uppercase; margin-top: 5px; opacity: .85; }

.menu { display: flex; align-items: center; gap: 4px; }
.menu a {
  color: #fff; text-decoration: none; font-size: .93rem; padding: .55em .85em; border-radius: 999px;
  transition: background .2s, color .2s;
}
.menu a:hover { background: rgba(255,255,255,.15); }
.barra.solida .menu a { color: var(--tinta); }
.barra.solida .menu a:hover { background: var(--arena); }
.menu .menu__cta { background: var(--wa); color: #fff !important; margin-left: 6px; padding-inline: 1.2em; }
.menu .menu__cta:hover { background: var(--wa-2) !important; }

.hamburguesa { display: none; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; padding: 10px; border-radius: 12px; }
.hamburguesa span { display: block; height: 2px; background: #fff; margin: 5px 0; border-radius: 2px; transition: transform .3s, opacity .3s; }
.barra.solida .hamburguesa span { background: var(--tinta); }

/* ===== Portada ===== */
.portada { position: relative; min-height: 100svh; display: grid; align-items: end; color: #fff; overflow: hidden; isolation: isolate; }
.portada__foto, .portada__foto img { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; }
.portada__foto img { object-fit: cover; object-position: center 55%; animation: acercar 18s ease-out both; }
@keyframes acercar { from { transform: scale(1.12); } to { transform: scale(1); } }
.portada__velo {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(14, 20, 17, .55) 0%, rgba(14, 20, 17, 0) 28%),
    linear-gradient(0deg, rgba(14, 20, 17, .88) 0%, rgba(14, 20, 17, .35) 48%, rgba(14, 20, 17, 0) 75%);
}
.portada__txt { width: min(var(--ancho), 100% - 32px); margin: 0 auto; padding: 0 0 clamp(80px, 12vh, 130px); }
.portada h1 {
  font-size: clamp(4rem, 12vw, 9.5rem); font-weight: 500; letter-spacing: .02em; line-height: .9;
  margin: 0 0 .25em; text-shadow: 0 4px 30px rgba(0,0,0,.35);
}
.portada__lema { font-size: clamp(1.05rem, 1.8vw, 1.3rem); font-weight: 300; max-width: 560px; opacity: .95; }
.portada__lugar { font-size: .9rem; letter-spacing: .2em; text-transform: uppercase; color: var(--dorado-2); }
.portada__botones { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.portada .antetitulo, .portada h1, .portada__lema, .portada__lugar, .portada__botones, .nota-booking { animation: subir 1s cubic-bezier(.2,.7,.2,1) both; }
.portada h1 { animation-delay: .1s; }
.portada__lema { animation-delay: .25s; }
.portada__botones { animation-delay: .4s; }
@keyframes subir { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }

.nota-booking { display: inline-flex; align-items: center; gap: 12px; margin-top: 26px; padding: 10px 16px 10px 10px; border-radius: 14px; background: rgba(255,255,255,.12); backdrop-filter: blur(8px); animation-delay: .55s; }
.nota-booking__num { background: #003B95; color: #fff; font-weight: 600; font-size: 1.1rem; border-radius: 10px 10px 10px 2px; padding: 8px 10px; }
.nota-booking b { display: block; font-weight: 500; }
.nota-booking small { opacity: .8; font-size: .82rem; }

.portada__bajar { position: absolute; left: 50%; bottom: 22px; translate: -50% 0; width: 26px; height: 42px; border: 1.5px solid rgba(255,255,255,.7); border-radius: 20px; }
.portada__bajar span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: #fff; animation: rueda 1.8s infinite; }
@keyframes rueda { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ===== Franja ===== */
.franja { background: var(--verde); color: #fff; }
.franja__lista {
  list-style: none; margin: 0 auto; padding: 26px 16px; width: min(1280px, 100%);
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px;
}
.franja li { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; font-size: .92rem; letter-spacing: .02em; }
.franja svg { width: 34px; height: 34px; fill: none; stroke: var(--dorado-2); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }

/* ===== Intro ===== */
.intro__grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.intro__txt > p { color: var(--gris); }
.checks { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 10px; }
.checks li { display: flex; gap: 12px; align-items: center; }
.checks li::before {
  content: ""; width: 22px; height: 22px; flex: none; border-radius: 50%;
  background: var(--arena) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23B08D57' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round' d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E") center/14px no-repeat;
}
.intro__fotos { position: relative; aspect-ratio: 1 / 1.02; }
.intro__fotos img { position: absolute; object-fit: cover; border-radius: var(--radio); box-shadow: var(--sombra); }
.intro__f1 { inset: 0 30% 14% 0; width: 70%; height: 86%; }
.intro__f2 { right: 0; bottom: 0; width: 52%; height: 50%; border: 8px solid var(--crema); border-radius: calc(var(--radio) + 6px) !important; }
.intro__sello {
  position: absolute; right: 6%; top: 8%; width: 118px; height: 118px; border-radius: 50%;
  background: var(--verde); color: #fff; display: grid; place-items: center; align-content: center; gap: 2px;
  font: 600 1.05rem/1 var(--serif); letter-spacing: .12em; text-transform: uppercase; text-align: center;
  box-shadow: var(--sombra); outline: 1px solid var(--dorado-2); outline-offset: -8px;
}
.intro__sello svg { width: 30px; height: 30px; color: var(--dorado-2); }

/* ===== Día y noche ===== */
.dianoche { display: grid; grid-template-columns: 1fr 1fr; }
.dianoche__panel { margin: 0; position: relative; height: clamp(360px, 62vh, 620px); overflow: hidden; }
.dianoche__panel img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(.2,.7,.2,1); }
.dianoche__panel:hover img { transform: scale(1.05); }
.dianoche__panel::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(14,20,17,.75), rgba(14,20,17,0) 55%); }
.dianoche figcaption { position: absolute; left: clamp(20px, 4vw, 48px); right: 20px; bottom: clamp(20px, 4vw, 44px); z-index: 1; color: #fff; font-size: 1.05rem; max-width: 380px; }
.dianoche figcaption span { display: block; font: 500 clamp(2.4rem, 4.5vw, 3.6rem)/1 var(--serif); font-style: italic; margin-bottom: 8px; color: var(--dorado-2); }

/* ===== Habitaciones ===== */
.habitaciones { background: var(--blanco); }
.hab__grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.hab__foto { position: relative; }
.hab__foto img { width: 100%; aspect-ratio: 4 / 3.3; object-fit: cover; border-radius: var(--radio); box-shadow: var(--sombra); }
.hab__foto::before { content: ""; position: absolute; inset: 24px -24px -24px 24px; border: 1px solid var(--dorado-2); border-radius: var(--radio); z-index: -1; }
.hab__txt > p { color: var(--gris); }
.iconos { list-style: none; padding: 0; margin: 24px 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 20px; }
.iconos li { display: flex; align-items: center; gap: 12px; font-size: .97rem; }
.iconos svg { width: 40px; height: 40px; padding: 9px; border-radius: 12px; background: var(--arena); fill: none; stroke: var(--verde); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.pequeno { font-size: .95rem; }

/* ===== Planes ===== */
.planes { background: var(--arena); }
.planes__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.plan { background: var(--blanco); border-radius: var(--radio); overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 8px 30px -22px rgba(30,42,36,.5); transition: transform .3s, box-shadow .3s; }
.plan:hover { transform: translateY(-6px); box-shadow: var(--sombra); }
.plan__foto { aspect-ratio: 4 / 3; overflow: hidden; }
.plan__foto img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s; }
.plan:hover .plan__foto img { transform: scale(1.06); }
.plan__cuerpo { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.plan__cuerpo p { color: var(--gris); font-size: .96rem; }
.plan__precio { font: 600 1.35rem/1.2 var(--serif) !important; color: var(--verde) !important; margin-top: auto; }
.plan__precio:empty { display: none; }
.plan .btn { margin-top: auto; align-self: flex-start; padding: .75em 1.2em; font-size: .92rem; }
.plan__precio:not(:empty) + .btn { margin-top: 0; }
.plan--destacado { background: var(--verde); color: #fff; }
.plan--destacado .plan__cuerpo p { color: rgba(255,255,255,.82); }
.plan--destacado .plan__precio { color: var(--dorado-2) !important; }
.plan__chip { align-self: flex-start; font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--dorado-2); margin-bottom: 8px; }

/* ===== Galería ===== */
.filtros { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: -16px 0 34px; }
.filtro { border: 1px solid var(--linea); background: var(--blanco); color: var(--tinta); font: 500 .92rem/1 var(--sans); padding: .8em 1.25em; border-radius: 999px; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.filtro:hover { border-color: var(--dorado); }
.filtro.activo { background: var(--verde); border-color: var(--verde); color: #fff; }
.mosaico { columns: 3 300px; column-gap: 16px; }
.mosaico figure { margin: 0 0 16px; break-inside: avoid; position: relative; border-radius: 14px; overflow: hidden; cursor: zoom-in; background: var(--arena); }
.mosaico figure[hidden] { display: none; }
.mosaico img { width: 100%; height: auto; transition: transform .7s cubic-bezier(.2,.7,.2,1); }
.mosaico figure:hover img { transform: scale(1.05); }
.mosaico figcaption {
  position: absolute; inset: auto 0 0; padding: 40px 16px 14px; color: #fff; font-size: .92rem;
  background: linear-gradient(0deg, rgba(14,20,17,.75), transparent);
  opacity: 0; transform: translateY(8px); transition: opacity .3s, transform .3s;
}
.mosaico figure:hover figcaption, .mosaico figure:focus-visible figcaption { opacity: 1; transform: none; }
.mosaico figure:focus-visible { outline: 3px solid var(--dorado); outline-offset: 3px; }

/* ===== Eventos ===== */
.eventos { position: relative; display: grid; grid-template-columns: 1.2fr 1fr; background: var(--tinta); color: #fff; }
.eventos__foto { min-height: 560px; position: relative; }
.eventos__foto img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.eventos__txt { padding: clamp(56px, 7vw, 100px) clamp(24px, 5vw, 80px); align-self: center; }
.eventos__txt > p { color: rgba(255,255,255,.78); }
.eventos__lista { list-style: none; padding: 0; margin: 24px 0 32px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 20px; }
.eventos__lista li { padding-left: 20px; position: relative; }
.eventos__lista li::before { content: ""; position: absolute; left: 0; top: .62em; width: 8px; height: 8px; border: 1.5px solid var(--dorado-2); transform: rotate(45deg); }

/* ===== Reservar ===== */
.reservar { background: var(--crema); }
.reservar__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(36px, 6vw, 80px); align-items: start; }
.reservar__txt > p { color: var(--gris); }
.info { margin: 26px 0; padding: 22px 24px; border-radius: var(--radio); background: var(--blanco); border: 1px solid var(--linea); }
.info h3 { font-size: 1.35rem; margin-bottom: .6em; }
.info dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 10px 18px; font-size: .95rem; }
.info dt { color: var(--gris); }
.info dd { margin: 0; font-weight: 500; }
.enlace-booking { display: inline-flex; align-items: center; gap: 8px; color: var(--verde); font-weight: 500; text-decoration: none; border-bottom: 1px solid var(--dorado-2); padding-bottom: 3px; margin-top: 8px; }
.enlace-booking svg { width: 18px; height: 18px; transition: transform .2s; }
.enlace-booking:hover svg { transform: translateX(4px); }

.formulario { background: var(--blanco); border-radius: 24px; padding: clamp(20px, 4vw, 40px); box-shadow: var(--sombra); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.campo { display: grid; min-width: 0; gap: 6px; font-size: .85rem; font-weight: 500; color: var(--gris); letter-spacing: .02em; }
.campo--ancho { grid-column: 1 / -1; }
.campo[hidden] { display: none; }
.campo input, .campo select, .campo textarea {
  width: 100%; min-width: 0; font: 400 1rem/1.3 var(--sans); color: var(--tinta);
  background: var(--crema); border: 1.5px solid var(--linea); border-radius: 12px; padding: .8em .9em; min-height: 50px;
  transition: border-color .2s, background .2s;
}
.campo textarea { resize: vertical; min-height: 70px; }
.campo input:focus, .campo select:focus, .campo textarea:focus { outline: none; border-color: var(--dorado); background: #fff; }
.formulario__error { grid-column: 1 / -1; margin: 0; color: #B3261E; font-size: .9rem; min-height: 0; }
.formulario__error:empty { display: none; }

/* ===== Preguntas ===== */
.preguntas { background: var(--blanco); }
.acordeon { display: grid; gap: 12px; }
.acordeon details { border: 1px solid var(--linea); border-radius: 16px; padding: 0 22px; background: var(--crema); transition: background .2s; }
.acordeon details[open] { background: #fff; }
.acordeon summary { cursor: pointer; list-style: none; padding: 20px 30px 20px 0; position: relative; font-weight: 500; font-size: 1.04rem; }
.acordeon summary::-webkit-details-marker { display: none; }
.acordeon summary::after { content: "+"; position: absolute; right: 0; top: 50%; translate: 0 -50%; font: 300 1.7rem/1 var(--sans); color: var(--dorado); transition: rotate .25s; }
.acordeon details[open] summary::after { rotate: 45deg; }
.acordeon details p { color: var(--gris); margin: 0 0 20px; }

/* ===== Ubicación ===== */
.ubic__grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(36px, 6vw, 80px); align-items: center; }
.ubic__dir { font: 500 1.5rem/1.35 var(--serif); }
.ubic__sin { color: var(--gris); }
.ubic__botones { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }
.ubic__mapa { border-radius: var(--radio); overflow: hidden; box-shadow: var(--sombra); aspect-ratio: 4 / 3; background: var(--arena); }
.ubic__mapa img, .ubic__mapa iframe { width: 100%; height: 100%; object-fit: cover; border: 0; display: block; }

/* ===== Cierre ===== */
.cierre { position: relative; min-height: 70vh; display: grid; place-items: center; text-align: center; color: #fff; overflow: hidden; isolation: isolate; padding: 80px 16px; }
.cierre > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 0%; z-index: -2; }
.cierre::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse at center, rgba(14,20,17,.55), rgba(14,20,17,.82)); }
.cierre__ramo { width: 56px; height: 56px; color: var(--dorado-2); margin: 0 auto 14px; display: block; }
.cierre h2 { font-size: clamp(2.4rem, 6vw, 4.6rem); font-weight: 500; }
.cierre p { font-size: 1.15rem; opacity: .9; margin-bottom: 28px; }

/* ===== Pie ===== */
.pie { background: var(--tinta); color: rgba(255,255,255,.8); padding: 56px 0 28px; font-size: .95rem; }
.pie__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; align-items: start; }
.logo--pie { color: #fff; margin-bottom: 14px; }
.pie__nav, .pie__redes { display: grid; gap: 8px; }
.pie a { text-decoration: none; }
.pie__nav a:hover, .pie__redes a:hover { color: var(--dorado-2); }
.pie__credito { width: min(var(--ancho), 100% - 32px); margin: 44px auto 0; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12); font-size: .84rem; color: rgba(255,255,255,.55); text-align: center; }
.pie__credito a { color: var(--dorado-2); }

/* ===== WhatsApp flotante ===== */
.wa-flotante {
  position: fixed; right: 18px; bottom: 18px; z-index: 60; width: 60px; height: 60px; border-radius: 50%;
  display: grid; place-items: center; background: var(--wa); color: #fff; box-shadow: 0 10px 30px -8px rgba(0,0,0,.45);
  transition: transform .2s; animation: aparecer .5s 1.2s both;
}
.wa-flotante svg { width: 32px; height: 32px; }
.wa-flotante::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--wa); z-index: -1; animation: pulso 2.4s infinite; }
.wa-flotante:hover { transform: scale(1.08); }
@keyframes pulso { 0% { transform: scale(1); opacity: .6; } 100% { transform: scale(1.7); opacity: 0; } }
@keyframes aparecer { from { opacity: 0; transform: scale(.5); } to { opacity: 1; transform: none; } }

/* ===== Visor de fotos ===== */
.visor { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100dvh; margin: 0; }
.visor[open] { display: grid; place-items: center; }
.visor::backdrop { background: rgba(10, 14, 12, .94); }
.visor figure { margin: 0; display: grid; justify-items: center; gap: 12px; padding: 60px 70px; }
.visor img { max-width: min(1400px, 100%); max-height: calc(100dvh - 150px); object-fit: contain; border-radius: 10px; }
.visor figcaption { color: #fff; font-size: 1rem; text-align: center; }
.visor button { position: fixed; border: 0; background: rgba(255,255,255,.1); color: #fff; cursor: pointer; border-radius: 50%; display: grid; place-items: center; transition: background .2s; }
.visor button:hover { background: rgba(255,255,255,.22); }
.visor__cerrar { top: 16px; right: 16px; width: 48px; height: 48px; font: 300 2rem/1 var(--sans); }
.visor__nav { top: 50%; translate: 0 -50%; width: 52px; height: 52px; font: 300 2.4rem/1 var(--sans); padding-bottom: 4px; }
.visor__ant { left: 14px; }
.visor__sig { right: 14px; }

/* ===== Aparición al bajar ===== */
.js .reveal { opacity: 0; transform: translateY(32px); transition: opacity .9s cubic-bezier(.2,.7,.2,1), transform .9s cubic-bezier(.2,.7,.2,1); }
.js .reveal.visible { opacity: 1; transform: none; }
.planes__grid .reveal:nth-child(2), .dianoche .reveal:nth-child(2) { transition-delay: .1s; }
.planes__grid .reveal:nth-child(3) { transition-delay: .2s; }
.planes__grid .reveal:nth-child(4) { transition-delay: .3s; }

[hidden] { display: none !important; }

/* ===== Pantallas medianas ===== */
@media (max-width: 1080px) {
  .planes__grid { grid-template-columns: repeat(2, 1fr); }
  .franja__lista { grid-template-columns: repeat(3, 1fr); row-gap: 22px; }
}

@media (max-width: 960px) {
  .hamburguesa { display: block; position: relative; z-index: 2; }
  .menu {
    position: fixed; inset: 0; flex-direction: column; justify-content: center; gap: 6px;
    background: var(--tinta); opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s;
  }
  .menu a, .barra.solida .menu a { color: #fff; font: 500 1.9rem/1.2 var(--serif); padding: .35em 1em; }
  .menu .menu__cta { margin: 14px 0 0; font: 500 1.1rem/1 var(--sans) !important; padding: 1em 2em !important; }
  .menu-abierto .menu { opacity: 1; visibility: visible; }
  .menu-abierto .hamburguesa span { background: #fff !important; }
  .menu-abierto .hamburguesa span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-abierto .hamburguesa span:nth-child(2) { opacity: 0; }
  .menu-abierto .hamburguesa span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .menu-abierto .logo { color: #fff !important; position: relative; z-index: 2; }

  .intro__grid, .hab__grid, .reservar__grid, .ubic__grid { grid-template-columns: minmax(0, 1fr); }
  .intro__fotos { max-width: 560px; width: 100%; margin: 0 auto; }
  .eventos { grid-template-columns: 1fr; }
  .eventos__foto { min-height: 380px; }
  .pie__grid { grid-template-columns: 1fr 1fr; }
  .pie__grid > div:first-child { grid-column: 1 / -1; }
}

/* ===== Celular ===== */
@media (max-width: 640px) {
  body { font-size: 16px; }
  .logo__txt b { font-size: 1.3rem; }
  .logo__ramo { width: 32px; height: 32px; }
  .portada__txt { padding-bottom: 92px; }
  .portada__foto img { object-position: center 30%; }
  .portada__botones .btn { flex: 1 1 100%; }
  .franja__lista { grid-template-columns: repeat(2, 1fr); }
  .dianoche { grid-template-columns: 1fr; }
  .dianoche__panel { height: 380px; }
  .planes__grid { grid-template-columns: 1fr; }
  .iconos { grid-template-columns: 1fr; }
  .hab__foto::before { inset: 14px -10px -14px 10px; }
  .mosaico { columns: 2; column-gap: 10px; }
  .mosaico figure { margin-bottom: 10px; border-radius: 10px; }
  .mosaico figcaption { display: none; }
  .eventos__lista { grid-template-columns: 1fr; }
  .formulario { gap: 14px; }
  .intro__sello { width: 92px; height: 92px; font-size: .85rem; }
  .intro__sello svg { width: 24px; height: 24px; }
  .visor figure { padding: 70px 8px 90px; }
  .visor__nav { top: auto; bottom: 18px; translate: none; }
  .visor__ant { left: calc(50% - 64px); }
  .visor__sig { right: calc(50% - 64px); }
  .wa-flotante { width: 56px; height: 56px; right: 14px; bottom: 14px; }
}

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

/* ===== Tipos de habitación ===== */
.cuartos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: clamp(56px, 7vw, 84px); }
.cuarto { position: relative; display: flex; flex-direction: column; padding: 26px 24px 22px; border: 1px solid var(--linea); border-radius: var(--radio); background: var(--crema); transition: transform .3s, box-shadow .3s, border-color .3s; }
.cuarto:hover { transform: translateY(-4px); box-shadow: var(--sombra); border-color: var(--dorado-2); }
.cuarto h3 { font-size: 1.55rem; margin-bottom: .25em; }
.cuarto__cap { font-size: .74rem; letter-spacing: .18em; text-transform: uppercase; color: var(--dorado); margin: 0 0 10px; }
.cuarto__camas { color: var(--gris); font-size: .97rem; margin-bottom: 14px; }
.cuarto--top { background: var(--verde); color: #fff; border-color: var(--verde); }
.cuarto--top .cuarto__cap { color: var(--dorado-2); }
.cuarto--top .cuarto__camas { color: rgba(255,255,255,.8); }
.chips { list-style: none; padding: 0; margin: 0 0 20px; display: flex; flex-wrap: wrap; gap: 6px; }
.chips li { font-size: .8rem; padding: .35em .8em; border-radius: 999px; background: var(--blanco); border: 1px solid var(--linea); color: var(--tinta); }
.cuarto--top .chips li { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.2); color: #fff; }
.cuarto__btn { margin-top: auto; align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; color: var(--wa-2); font-weight: 500; text-decoration: none; font-size: .95rem; }
.cuarto__btn svg { width: 20px; height: 20px; }
.cuarto__btn:hover { text-decoration: underline; }
.cuarto--top .cuarto__btn { color: #7BE3A5; }

/* ===== Qué hay cerca ===== */
.ubic__botones .btn svg { width: 1.3em; height: 1.3em; }
.cerca { margin-top: 34px; }
.cerca h3 { font-size: 1.35rem; margin-bottom: .5em; }
.cerca ul { list-style: none; padding: 0; margin: 0; }
.cerca li { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; border-bottom: 1px dashed var(--linea); font-size: .95rem; }
.cerca li span { color: var(--gris); }
.cerca li b { font-weight: 500; white-space: nowrap; }
.ubic__grid { align-items: start; }
.ubic__mapa { position: sticky; top: 96px; aspect-ratio: 4 / 4.2; }

@media (max-width: 960px) {
  .cuartos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ubic__mapa { position: static; aspect-ratio: 4 / 3.4; }
}
@media (max-width: 640px) {
  .cuartos { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .cuarto { padding: 22px 20px 20px; }
}
.portada .antetitulo, .portada__lugar { text-shadow: 0 1px 12px rgba(0,0,0,.6); }
@media (max-width: 640px) {
  .portada__velo { background: linear-gradient(180deg, rgba(14,20,17,.5) 0%, rgba(14,20,17,0) 22%), linear-gradient(0deg, rgba(14,20,17,.94) 0%, rgba(14,20,17,.72) 50%, rgba(14,20,17,.2) 72%, rgba(14,20,17,0) 85%); }
}
