/* =========================================================
   Barco Hotel · Hoja de estilos
   Paleta aprobada (Paleta de colores.jpeg): dorado, rojo vino,
   azul marino, azul río, marfil y blanco.
   --navy-deep y los tonos -dark son sombras de la misma paleta:
   el logo (BARCO blanco, HOTEL rojo) necesita un fondo más oscuro
   que el azul marino para leerse bien.
   ========================================================= */

:root {
  --navy: #184B8F;           /* Azul marino */
  --navy-deep: #0B2347;      /* sombra del azul marino: cabecera, pie, textos */
  --navy-2: #123A70;
  --crimson: #C12A3A;        /* Rojo vino */
  --crimson-dark: #9E2230;
  --gold: #D4A853;           /* Dorado */
  --gold-text: #85631F;      /* dorado legible sobre fondo claro */
  --river: #3D86C6;          /* Azul río */

  --bg: #F7F3EA;             /* Marfil */
  --bg-alt: #FFFFFF;
  --line: #E7DFCF;
  --ink: #0B2347;
  --ink-2: #33415A;
  --muted: #5A6375;
  --on-dark: #FFFFFF;
  --on-dark-2: rgba(255, 255, 255, 0.82);

  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius: 22px;
  --radius-lg: 28px;
  --shadow: 0 24px 60px rgba(11, 35, 71, 0.18);
  --hdr-h: 84px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--hdr-h) + 12px); -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--sans); color: var(--ink); background: var(--bg); line-height: 1.55; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; margin: 0; letter-spacing: -0.01em; }
em { font-style: italic; color: var(--gold-text); }
p { margin: 0; }
svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding-inline: 32px; }
.section { padding-block: 112px; }
.section-alt { background: var(--bg-alt); border-block: 1px solid var(--line); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--navy); color: var(--on-dark); padding: 12px 18px; border-radius: 10px; font-weight: 700; text-decoration: none; }
.skip:focus { top: 12px; }

/* ---------- Tipografía ---------- */
.eyebrow { font-size: 12.5px; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: var(--crimson); margin-bottom: 16px; }
.eyebrow.on-dark { color: var(--gold); }
.h2 { font-size: clamp(38px, 5vw, 60px); line-height: 1.05; }
.h2.narrow { max-width: 780px; margin-bottom: 48px; }
.body-lg { font-size: 18px; line-height: 1.7; color: var(--ink-2); max-width: 520px; margin-top: 24px; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.stars { color: var(--gold); letter-spacing: 2px; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px; border-radius: 999px; border: 1.5px solid transparent;
  font: 700 14.5px/1 var(--sans); text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .2s var(--ease), background-color .2s, color .2s, border-color .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-lg { min-height: 56px; padding: 0 28px; font-size: 15.5px; }
.btn-block { width: 100%; }
.btn-primary { background: var(--crimson); color: #fff; }
.btn-primary:hover { background: var(--crimson-dark); box-shadow: 0 10px 24px rgba(193, 42, 58, .3); }
.btn-gold { background: var(--gold); color: var(--navy-deep); }
.btn-gold:hover { background: #DDB868; }
.btn-dark { background: var(--navy); color: var(--on-dark); margin-top: 20px; }
.btn-dark:hover { background: var(--navy-2); }
.btn-light { background: #fff; color: var(--crimson); }
.btn-ghost-light { border-color: rgba(255, 255, 255, .45); color: var(--on-dark); }
.btn-ghost-light:hover { background: rgba(255, 255, 255, .1); border-color: var(--on-dark); }
.btn-outline-light { border-color: rgba(255, 255, 255, .7); color: #fff; }
.btn-outline-light:hover { background: rgba(255, 255, 255, .12); }
.btn-outline-gold { border-color: var(--gold); color: var(--on-dark); background: transparent; }
.btn-outline-gold:hover { background: var(--gold); color: var(--navy-deep); }
.btn-ghost-dark { border-color: var(--line); color: var(--navy-deep); background: #fff; }
.btn svg { width: 18px; height: 18px; stroke-width: 2; }

.link-arrow { display: inline-flex; margin-top: 32px; font-weight: 700; text-decoration: none; border-bottom: 2px solid var(--gold); padding-bottom: 4px; }
.link-arrow::after { content: "→"; margin-left: 10px; transition: transform .2s var(--ease); }
.link-arrow:hover::after { transform: translateX(4px); }

/* ---------- Cabecera ---------- */
.hdr { position: sticky; top: 0; z-index: 50; background: var(--navy-deep); color: var(--on-dark); transition: box-shadow .25s; }
.hdr.scrolled { box-shadow: 0 8px 30px rgba(11, 35, 71, .08); }
.hdr-in { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--hdr-h); transition: height .25s var(--ease); }
.hdr.scrolled .hdr-in { height: 68px; }
.brand img { height: 52px; width: auto; transition: height .25s var(--ease); }
.hdr.scrolled .brand img { height: 42px; }
.rings { height: 2px; background: linear-gradient(90deg, transparent, var(--gold) 20%, var(--gold) 80%, transparent); }

.nav { display: flex; align-items: center; gap: 34px; }
.nav a:not(.btn) { position: relative; font-size: 14.5px; font-weight: 600; text-decoration: none; color: var(--on-dark); padding: 8px 0; }
.nav a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
.nav a:not(.btn):hover::after, .nav a.active::after { transform: scaleX(1); }
.nav-cta { display: none; }

.hdr-actions { display: flex; align-items: center; gap: 12px; }
.icon-btn, .menu-btn { width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .3); background: transparent; color: var(--on-dark); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; transition: border-color .2s; }
.icon-btn:hover, .menu-btn:hover { border-color: var(--gold); }
.menu-btn { display: none; }
.menu-btn path { transition: transform .25s var(--ease), opacity .2s; transform-origin: center; }
.menu-btn[aria-expanded="true"] .l1 { transform: translateY(5px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .l2 { opacity: 0; }
.menu-btn[aria-expanded="true"] .l3 { transform: translateY(-5px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: min(86vh, 780px); display: flex; align-items: flex-end; color: var(--on-dark); background: var(--navy-deep); overflow: hidden; }
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; animation: heroZoom 14s var(--ease) both; }
.hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11, 35, 71, .15) 0%, rgba(11, 35, 71, .35) 45%, rgba(11, 35, 71, .96) 100%); }
.hero-content { position: relative; padding-top: 120px; padding-bottom: 150px; }
.hero h1 { font-size: clamp(46px, 7.2vw, 92px); line-height: 1; max-width: 900px; }
.hero h1 em { color: var(--gold); }
.hero .lead { margin-top: 26px; font-size: clamp(16px, 1.6vw, 19px); line-height: 1.65; max-width: 560px; color: var(--on-dark-2); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
@keyframes heroZoom { from { transform: scale(1.08); } to { transform: scale(1); } }

/* ---------- Reserva ---------- */
.booking-band { background: var(--navy-deep); color: var(--on-dark); padding-bottom: 56px; }
.booking { position: relative; margin-top: -84px; z-index: 2; display: grid; grid-template-columns: 1fr 1fr .9fr 1.2fr 1.25fr; background: #fff; color: var(--ink); border-radius: 20px; box-shadow: var(--shadow); overflow: hidden; }
.field { display: flex; flex-direction: column; gap: 6px; padding: 18px 22px; border-right: 1px solid var(--line); transition: background-color .2s; }
.field:focus-within { background: #FBF5E6; }
.field label { font-size: 11.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.field input, .field select { border: 0; background: transparent; font: 600 16px var(--sans); color: var(--ink); padding: 0; min-height: 30px; width: 100%; cursor: pointer; }
.field input:focus, .field select:focus { outline: none; }
.field.invalid label { color: var(--crimson); }
.booking-submit { padding: 12px; display: flex; flex-direction: column; justify-content: center; gap: 6px; }
.booking-submit .btn { min-height: 58px; border-radius: 14px; }
.nights { font-size: 12.5px; font-weight: 600; color: var(--muted); text-align: center; min-height: 1em; }
.booking-error { margin-top: 14px; background: #FDECEE; color: var(--crimson-dark); font-weight: 600; font-size: 14px; padding: 12px 16px; border-radius: 12px; }
.trust { list-style: none; padding: 0; margin: 30px 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 36px; font-size: 14px; color: var(--on-dark-2); }
.trust li { display: flex; align-items: center; gap: 8px; }
.trust li + li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--gold); margin-right: 4px; }

/* ---------- Bienvenida ---------- */
.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 72px; align-items: center; }
.split-top { align-items: start; }
.amenities { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.amenities li { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 24px; display: flex; flex-direction: column; gap: 10px; transition: transform .25s var(--ease), box-shadow .25s; }
.amenities li:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(11, 35, 71, .07); }
.amenities svg { width: 28px; height: 28px; color: var(--crimson); stroke-width: 1.5; margin-bottom: 4px; }
.amenities strong { font-size: 16px; }
.amenities span { font-size: 14px; color: var(--muted); line-height: 1.5; }

/* ---------- Habitaciones ---------- */
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px 40px; margin-bottom: 48px; }
.section-head .muted { max-width: 380px; font-size: 15px; }
.rooms { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.room { display: flex; flex-direction: column; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .3s var(--ease), box-shadow .3s; }
.room:hover { transform: translateY(-4px); box-shadow: 0 22px 44px rgba(11, 35, 71, .1); }
.room-media { position: relative; aspect-ratio: 4 / 3; background: #CDBFA6; overflow: hidden; }
.room-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.room:hover .room-media img { transform: scale(1.05); }
.badge { position: absolute; top: 16px; left: 16px; font-size: 12px; font-weight: 700; padding: 7px 12px; border-radius: 999px; }
.badge-dark { background: var(--navy); color: var(--on-dark); }
.badge-gold { background: var(--gold); color: var(--navy-deep); }
.badge-light { background: #fff; color: var(--navy); }
.room-body { padding: 26px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.room-title { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.room h3 { font-size: 28px; }
.room-body > p { font-size: 15px; color: var(--ink-2); }
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.chips li { font-size: 12.5px; font-weight: 600; color: var(--ink-2); background: #fff; border: 1px solid var(--line); padding: 5px 10px; border-radius: 999px; }
.room-foot { margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.price { font-size: 13.5px; color: var(--muted); }
.price strong { display: block; font-size: 22px; color: var(--ink); }

.occasion { margin-top: 24px; background: var(--navy); color: var(--on-dark); border-radius: var(--radius); padding: 32px 40px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; }
.occasion .eyebrow { margin-bottom: 6px; }
.occasion-title { font-family: var(--serif); font-size: clamp(24px, 2.6vw, 32px); line-height: 1.2; }

/* ---------- Reseñas ---------- */
.rating { font-size: 15px; color: var(--ink-2); }
.reviews { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.review { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 32px; display: flex; flex-direction: column; gap: 18px; }
.review blockquote { margin: 0; font-family: var(--serif); font-size: 21px; line-height: 1.45; }
.review figcaption { margin-top: auto; font-size: 14px; color: var(--muted); }

/* ---------- Experiencias ---------- */
.bento { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: repeat(2, minmax(260px, auto)); gap: 20px; }
.tile { position: relative; border-radius: 24px; overflow: hidden; background: var(--navy); color: var(--on-dark); display: flex; align-items: flex-end; min-height: 260px; }
.tile-big { grid-row: span 2; min-height: 540px; }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.tile:hover img { transform: scale(1.04); }
.tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11, 35, 71, 0) 30%, rgba(11, 35, 71, .9) 100%); }
.tile-body { position: relative; z-index: 1; padding: 30px; max-width: 540px; }
.tile-body .eyebrow { margin-bottom: 8px; }
.tile h3 { font-size: 28px; line-height: 1.12; }
.tile h3 em { color: var(--gold); }
.tile-big .tile-body { padding: 40px; }
.tile-big h3 { font-size: clamp(32px, 3.6vw, 46px); }
.tile-body > p:not(.eyebrow) { margin-top: 12px; color: var(--on-dark-2); }
.tile-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 22px; }
.tile-note { font-size: 14px; color: var(--on-dark-2); }

/* ---------- Restaurante ---------- */
.resto { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); background: var(--navy); color: var(--on-dark); border-radius: var(--radius-lg); overflow: hidden; }
.resto-media { position: relative; min-height: 480px; background: #6B3A2A; }
.resto-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.resto-body { padding: 56px; display: flex; flex-direction: column; gap: 20px; justify-content: center; }
.resto-body .eyebrow { margin-bottom: 0; }
.resto-body em { color: var(--gold); }
.resto-body > p:not(.eyebrow) { color: var(--on-dark-2); line-height: 1.7; }
.stats { display: flex; gap: 32px; margin: 0; padding: 20px 0; border-block: 1px solid rgba(255, 255, 255, .15); }
.stats div { display: flex; flex-direction: column-reverse; }
.stats dd { margin: 0; font-family: var(--serif); font-size: 40px; line-height: 1.1; color: var(--gold); }
.stats dt { font-size: 13px; color: var(--on-dark-2); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Ubicación + FAQ ---------- */
address { font-style: normal; font-size: 17px; line-height: 1.7; color: var(--ink-2); margin-top: 24px; }
.distances { margin: 24px 0 0; }
.distances div { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.distances dt { color: var(--ink-2); }
.distances dd { margin: 0; font-weight: 700; }
.map { width: 100%; height: 300px; border: 0; border-radius: 20px; margin-top: 24px; background: #DCD3C2; }

.faq { display: flex; flex-direction: column; gap: 12px; }
.faq details { background: var(--bg); border: 1px solid var(--line); border-radius: 16px; transition: border-color .2s, background-color .2s; }
.faq details[open] { background: #fff; border-color: #D9CFBD; }
.faq summary { list-style: none; cursor: pointer; padding: 20px 24px; font-weight: 700; font-size: 16px; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 22px; font-weight: 400; color: var(--crimson); transition: transform .25s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 24px 22px; color: var(--ink-2); font-size: 15px; }
.faq-more { margin-top: 8px; font-size: 15px; color: var(--muted); }
.faq-more a { color: var(--crimson); font-weight: 700; }

/* ---------- Cierre ---------- */
.final { max-width: 880px; margin-inline: auto; background: var(--crimson); color: #fff; border-radius: var(--radius-lg); padding: 56px 48px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 28px; }
.final .h2 { max-width: 640px; font-size: clamp(34px, 4.2vw, 52px); }
.final .btn-row { justify-content: center; }
.final em { color: #F1D9A0; }

/* ---------- Pie ---------- */
.ftr { background: var(--navy-deep); color: var(--on-dark-2); padding: 64px 0 40px; font-size: 14px; }
.ftr-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.ftr-grid > * { display: flex; flex-direction: column; gap: 10px; }
.ftr a { color: var(--on-dark-2); text-decoration: none; }
.ftr a:hover { color: var(--gold); }
.ftr-logo { width: 220px; height: auto; margin-bottom: 6px; }
.ftr-title { font-size: 12px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.ftr-bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .12); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 13px; }

/* ---------- Flotantes ---------- */
.wa-float { position: fixed; right: 24px; bottom: 24px; z-index: 40; width: 58px; height: 58px; border-radius: 50%; background: #25D366; color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 12px 28px rgba(0, 0, 0, .22); transition: transform .2s var(--ease), opacity .3s; }
.wa-float:hover { transform: scale(1.06); }
.wa-float svg { width: 28px; height: 28px; stroke-width: 1.8; }
.wa-float.hidden { opacity: 0; pointer-events: none; }
.mbar { display: none; }

/* ---------- Animación al hacer scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* =========================================================
   Responsive
   ========================================================= */
/* ---- Laptop pequeña y tablet horizontal (861–1080 px) ---- */
@media (max-width: 1080px) {
  .wrap { padding-inline: 28px; }
  .nav { gap: 22px; }
  .split { gap: 48px; }

  /* Reserva: 4 campos en una fila, botón debajo a todo el ancho */
  .booking { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .field { border-bottom: 1px solid var(--line); }
  .field:nth-child(4) { border-right: 0; }
  .booking-submit { grid-column: 1 / -1; flex-direction: row; align-items: center; gap: 16px; }
  .booking-submit .btn { flex: 1; }

  /* Habitaciones: tarjetas horizontales, una debajo de otra (nunca una sola en fila) */
  .rooms { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .room { display: grid; grid-template-columns: minmax(0, 42%) minmax(0, 1fr); }
  .room-media { aspect-ratio: auto; min-height: 260px; }
  .room-body { padding: 28px 30px; }

  .reviews { gap: 16px; }
  .review { padding: 26px; }
  .review blockquote { font-size: 19px; }

  .resto-body { padding: 40px; }
  .ftr-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---- Tablet vertical y celular grande (≤ 860 px) ---- */
@media (max-width: 860px) {
  :root { --hdr-h: 70px; }
  .wrap { padding-inline: 32px; }
  .section { padding-block: 80px; }
  .brand img { height: 44px; }
  .hide-m { display: none; }
  .menu-btn { display: inline-flex; }

  .nav {
    position: fixed; inset: calc(var(--hdr-h) + 4px) 0 auto 0; z-index: 49;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--navy-deep); padding: 8px 18px 24px; border-bottom: 1px solid rgba(255, 255, 255, .12);
    box-shadow: 0 24px 40px rgba(11, 35, 71, .3);
    transform: translateY(-12px); opacity: 0; visibility: hidden;
    transition: transform .25s var(--ease), opacity .25s, visibility .25s;
  }
  .nav.open { transform: none; opacity: 1; visibility: visible; }
  .nav a:not(.btn) { font-size: 18px; padding: 16px 0; border-bottom: 1px solid rgba(255, 255, 255, .12); }
  .nav a:not(.btn)::after { display: none; }
  .nav-cta { display: inline-flex; margin-top: 20px; min-height: 54px; }
  .hdr.scrolled .hdr-in { height: var(--hdr-h); }
  .hdr.scrolled .brand img { height: 42px; }

  .hero { min-height: 0; }
  .hero-content { padding-top: 120px; padding-bottom: 130px; }

  .booking { margin-top: -72px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .field:nth-child(2n) { border-right: 0; }
  .field:nth-child(odd) { border-right: 1px solid var(--line); }
  .field { padding: 16px 18px; }

  .split { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .amenities { grid-template-columns: repeat(4, minmax(0, 1fr)); }

  .reviews { grid-template-columns: minmax(0, 1fr); }
  .review blockquote { font-size: 20px; }

  /* Experiencias: kayak arriba a lo ancho, piscina y atardecer lado a lado */
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: none; }
  .tile-big { grid-column: 1 / -1; grid-row: auto; min-height: 440px; }
  .tile { min-height: 300px; }
  .tile-big .tile-body { padding: 32px; }

  .resto { grid-template-columns: minmax(0, 1fr); }
  .resto-media { min-height: 320px; }
  .resto-body { padding: 36px 32px 40px; }

  .occasion { padding: 28px 30px; }
  .final { padding: 48px 32px; }
  .stats { gap: 28px; }

  .wa-float { display: none; }
  .mbar {
    display: grid; grid-template-columns: minmax(0, 240px) minmax(0, 320px); justify-content: center; gap: 10px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 45;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
    background: #fff;
    border-top: 1px solid var(--line); box-shadow: 0 -10px 30px rgba(11, 35, 71, .08);
    transition: transform .3s var(--ease);
  }
  .mbar.hidden { transform: translateY(110%); }
  .mbar .btn { min-height: 50px; }
  .ftr { padding-bottom: 110px; }
}

/* ---- Celular (≤ 600 px) ---- */
@media (max-width: 600px) {
  .wrap { padding-inline: 18px; }
  .section { padding-block: 72px; }
  .mbar { grid-template-columns: 1fr 1.4fr; }

  .hero-content { padding-top: 72px; padding-bottom: 110px; }
  .hero-ctas .btn { flex: 1 1 100%; }

  .booking { margin-top: -64px; }
  .field { padding: 14px 16px; }
  .booking-submit { flex-direction: column; align-items: stretch; gap: 6px; }
  .trust { justify-content: flex-start; flex-direction: column; gap: 10px; }
  .trust li + li::before { display: none; }

  .amenities { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .amenities li { padding: 18px; }

  /* Habitaciones vuelven a tarjeta vertical */
  .room { display: flex; }
  .room-media { aspect-ratio: 4 / 3; min-height: 0; }
  .room-body { padding: 24px; }

  .bento { grid-template-columns: minmax(0, 1fr); }
  .tile-big { min-height: 440px; }
  .tile { min-height: 240px; }
  .tile-big .tile-body, .tile-body { padding: 24px; }

  .resto-media { min-height: 260px; }
  .resto-body { padding: 30px 22px 34px; }
  .stats { gap: 20px; }
  .stats dd { font-size: 32px; }

  .occasion { padding: 26px 22px; }
  .occasion .btn { width: 100%; }
  .final { padding: 40px 22px; }
  .final .btn-row, .final .btn { width: 100%; }
}

/* ---- Celular pequeño (≤ 420 px) ---- */
@media (max-width: 420px) {
  .booking { grid-template-columns: minmax(0, 1fr); }
  .field, .field:nth-child(odd) { border-right: 0; }
  .ftr-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .room-foot { flex-wrap: wrap; }
  .stats { gap: 16px; }
}

/* ---------- Botón del restaurante en la cabecera ---------- */
.resto-btn { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 18px 0 14px; border: 1px solid var(--gold); border-radius: 999px; background: var(--gold); color: var(--navy-deep); font: inherit; text-align: left; cursor: pointer; transition: border-color .2s, background-color .2s; }
.resto-btn:hover { border-color: #E0B968; background: #E0B968; }
.resto-btn svg { color: var(--navy-deep); stroke-width: 2; }
.resto-btn span { display: flex; flex-direction: column; font-size: 14px; font-weight: 700; line-height: 1.15; color: var(--navy-deep); }
.resto-btn small { font-size: 11.5px; font-weight: 600; color: rgba(11, 35, 71, .75); }
@media (max-width: 1240px) { .resto-btn small { display: none; } }
@media (max-width: 600px) {
  .resto-btn { width: 46px; height: 46px; min-height: 0; padding: 0; justify-content: center; border-radius: 50%; }
  .resto-btn span { display: none; }
}

/* Botones claros que ahora son <button>: sin el fondo blanco del navegador */
.btn-ghost-light { background: transparent; }
.btn-ghost-light:hover { background: rgba(255, 255, 255, .1); }

/* Barra de reserva: fecha con calendario y salida desactivada para servicios */
.field input[type=date] { cursor: pointer; }
.field.is-off { opacity: .45; }
.field.is-off input { cursor: not-allowed; }
.nav a { white-space: nowrap; }
@media (max-width: 1120px) and (min-width: 861px) {
  .nav { gap: 22px; }
  .resto-btn { width: 46px; height: 46px; min-height: 0; padding: 0; justify-content: center; border-radius: 50%; }
  .resto-btn span { display: none; }
}

/* ---------- Etapa 1: habitaciones desde configuración ---------- */
.rates { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.rates li { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; color: var(--ink-2); padding: 8px 12px; background: #fff; border: 1px solid var(--line); border-radius: 12px; }
.rates strong { color: var(--ink); }
.room-note { font-size: 12.5px; color: var(--muted); }
.rooms-error { margin-top: 16px; padding: 14px 18px; border-radius: 12px; background: #FBE9EC; color: var(--crimson-dark); font-weight: 600; }
.rooms-error a { color: inherit; }

/* Esqueletos de carga */
.sk { display: block; position: relative; overflow: hidden; background: #ECE5D6; border-radius: 8px; }
.sk::after { content: ""; position: absolute; inset: 0; transform: translateX(-100%); background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .55), transparent); animation: skShine 1.4s infinite; }
.sk-line { height: 14px; width: 100%; }
.sk-line.w60 { width: 60%; height: 24px; }
.sk-line.w80 { width: 80%; }
.sk-block { height: 72px; margin-top: auto; }
.room-skeleton .room-media { border-radius: 0; }
.room-skeleton:hover { transform: none; box-shadow: none; }
@keyframes skShine { to { transform: translateX(100%); } }

/* Estadía por horas */
.hours { margin-top: 24px; background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--river); border-radius: var(--radius); padding: 28px 36px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; }
.hours .eyebrow { margin-bottom: 6px; color: var(--navy); }
.hours-title { font-family: var(--serif); font-size: clamp(24px, 2.6vw, 32px); line-height: 1.2; margin-bottom: 6px; }
.hours .btn-dark { margin-top: 0; }
.distances-note { margin-top: 12px; }
@media (max-width: 600px) {
  .hours { padding: 24px 22px; }
  .hours .btn { width: 100%; }
}
.room .room-foot { flex-wrap: wrap; }
.room .price strong { white-space: nowrap; display: inline; margin-right: 4px; }
.room-actions { flex: 1 1 100%; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.room-actions .btn { padding-inline: 12px; }
a.room-media { display: block; }

/* Rendimiento: el navegador no dibuja las secciones que están fuera de pantalla */
.home main > .section { content-visibility: auto; contain-intrinsic-size: auto 900px; }

/* Tipo de habitación creado en el panel sin fotos todavía */
.room-media.sin-foto { display: grid; place-items: center; align-content: center; gap: 10px; background: var(--navy-deep); text-decoration: none; }
.room-media.sin-foto img { width: 120px; height: auto; position: static; object-fit: contain; }
.room-media.sin-foto span { font-size: 13px; font-weight: 600; color: var(--on-dark-2); }
.room:hover .room-media.sin-foto img { transform: none; }
