:root {
  --ink: #17161d;
  --ink-soft: #5c5964;
  --paper: #ffffff;
  --mist: #f4f5f6;
  --line: #dedfe2;
  --wine: #861f41;
  --wine-dark: #5f1530;
  --gold: #c69b52;
  --green: #214f46;
  --cta: #e4002b;
  --cta-dark: #b80022;
  --font-body: Arial, Helvetica, sans-serif;
  --font-display: Georgia, "Times New Roman", serif;
  --shadow: 0 12px 34px rgba(23, 22, 29, .10);
  --max: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font-body); font-size: 17px; line-height: 1.62; }
body.menu-open { overflow: hidden; }
a { color: inherit; }
img { max-width: 100%; }
button, input, select { font: inherit; }
.skip-link { position: fixed; top: -60px; left: 16px; z-index: 1000; background: #fff; color: #111; padding: 10px 14px; }
.skip-link:focus { top: 12px; }
.wrap { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
.eyebrow { color: var(--wine); font-size: .82rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 500; letter-spacing: 0; line-height: 1.12; margin-top: 0; }
h2 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 20px; }
h3 { font-size: 1.35rem; }
p { margin-top: 0; }
.section { padding: 92px 0; }
.section-head { max-width: 780px; margin-bottom: 42px; }
.section-intro { color: var(--ink-soft); font-size: 1.08rem; }

.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.98); border-bottom: 1px solid var(--line); }
.nav { min-height: 76px; display: flex; align-items: center; gap: 28px; }
.brand { display: flex; flex-direction: column; text-decoration: none; margin-right: auto; }
.brand strong { font-family: var(--font-display); color: var(--wine-dark); font-size: 1.34rem; font-weight: 600; }
.brand span { color: var(--ink-soft); font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; }
.nav-links { display: flex; align-items: center; gap: 22px; list-style: none; margin: 0; padding: 0; }
.nav-links a { text-decoration: none; font-size: .93rem; font-weight: 700; }
.nav-links a:hover { color: var(--wine); }
.lang { display: flex; align-items: center; gap: 7px; font-size: .9rem; }
.lang a { text-decoration: none; padding: 5px; }
.lang .active { font-weight: 800; border-bottom: 2px solid var(--wine); }
.book-btn, .primary-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 12px 22px; background: var(--cta); color: #fff; border: 0; text-decoration: none; font-weight: 800; box-shadow: 0 8px 22px rgba(228,0,43,.22); transition: .2s ease; }
.book-btn:hover, .primary-btn:hover { background: var(--cta-dark); transform: translateY(-2px); }
.hamburger { display: none; width: 46px; height: 46px; padding: 10px; border: 0; background: transparent; cursor: pointer; }
.hamburger span { display: block; height: 2px; background: var(--ink); margin: 6px 0; }

.hero { min-height: 620px; position: relative; display: grid; align-items: end; background: #24222b; color: #fff; overflow: hidden; }
.hero-media { position: absolute; inset: 0; background: #24222b; overflow: hidden; }
.hero-media-img { width: 100%; height: 100%; object-fit: cover; object-position: center center; display: block; }
.hero-media::after { content: ""; position: absolute; inset: 0; background: rgba(12,11,16,.52); }
.hero-content { position: relative; z-index: 2; padding-block: 104px 84px; max-width: 890px; }
.hero .eyebrow { color: #f2cf92; }
.hero h1 { font-size: clamp(2.65rem, 6vw, 5rem); margin: 15px 0 22px; max-width: 880px; }
.hero p { max-width: 720px; font-size: 1.15rem; color: rgba(255,255,255,.88); }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
.ghost-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 11px 21px; border: 1px solid rgba(255,255,255,.7); color: #fff; text-decoration: none; font-weight: 800; }
.ghost-btn:hover { background: #fff; color: var(--ink); }

.quick-facts { background: var(--paper); border-bottom: 1px solid var(--line); }
.quick-grid { display: grid; grid-template-columns: repeat(5, 1fr); }
.fact { padding: 23px 20px; border-right: 1px solid var(--line); }
.fact:last-child { border-right: 0; }
.fact span { display: block; color: var(--ink-soft); font-size: .76rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.fact strong { display: block; margin-top: 4px; font-family: var(--font-display); font-size: 1.03rem; font-weight: 600; }

.booking { margin-top: -1px; background: var(--mist); padding: 38px 0; border-bottom: 1px solid var(--line); }
.booking-form { display: grid; grid-template-columns: 1.1fr .7fr .8fr auto; gap: 12px; align-items: end; }
.booking-note { margin: 14px 0 0; color: var(--ink-soft); font-size: .92rem; text-align: center; }
.booking-prompt { display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.booking-prompt > *, .intro-grid > *, .location-grid > * { min-width: 0; }
.booking-prompt h2 { margin: 3px 0 7px; font-size: clamp(1.55rem, 2.5vw, 2.15rem); }
.booking-prompt p { margin: 0; color: var(--ink-soft); }
.booking-prompt .primary-btn { flex: 0 0 auto; }
.field label { display: block; font-size: .75rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 7px; }
.field input, .field select { width: 100%; height: 52px; border: 1px solid #c8c9cd; background: #fff; color: var(--ink); padding: 0 13px; border-radius: 0; }
.booking .primary-btn { height: 52px; }

.intro-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 62px; align-items: stretch; }
.notice { border-left: 4px solid var(--gold); background: #fbf6ed; padding: 20px 22px; margin-top: 26px; }
.media-slot { min-height: 460px; background: #e7e2dc; position: relative; overflow: hidden; }
.media-slot::before { content: ""; position: absolute; width: 110px; height: 110px; border: 1px solid rgba(95,21,48,.25); left: 50%; top: 50%; transform: translate(-50%,-50%) rotate(45deg); }
.intro-photo { height: 100%; min-height: 0; }
.intro-photo::before { display: none; }
.intro-photo img { width: 100%; height: 100%; min-height: 100%; object-fit: cover; object-position: center; display: block; }
.meta-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 28px; }
.meta-item { border-top: 1px solid var(--line); padding-top: 13px; }
.meta-item strong { display: block; color: var(--wine-dark); }
.meta-item span { color: var(--ink-soft); }

.rooms { background: var(--mist); }
.rooms-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 20px; }
.room-card { background: #fff; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.room-media { aspect-ratio: 16 / 9; background: #ddd7d0; position: relative; }
.room-media::after { content: ""; position: absolute; inset: 18px; border: 1px solid rgba(95,21,48,.18); }
.room-body { padding: 25px; display: flex; flex: 1; flex-direction: column; }
.room-body p { color: var(--ink-soft); }
.chips { display: flex; flex-wrap: wrap; gap: 7px; margin: 0 0 20px; }
.chip { background: #f0eeeb; color: #3c3942; padding: 5px 9px; font-size: .8rem; }
.room-body .primary-btn { margin-top: auto; width: 100%; }

.amenities-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.amenity { min-height: 150px; padding: 24px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.amenity-mark { width: 38px; height: 4px; background: var(--wine); margin-bottom: 20px; }
.amenity strong { display: block; font-family: var(--font-display); font-size: 1.08rem; }
.amenity span { color: var(--ink-soft); font-size: .9rem; }

.food { background: var(--green); color: #fff; }
.food .eyebrow { color: #e6c784; }
.food .section-intro { color: rgba(255,255,255,.78); }
.food-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.food-card { padding: 28px; border: 1px solid rgba(255,255,255,.28); }
.food-card p { color: rgba(255,255,255,.76); }

.location-grid { display: grid; grid-template-columns: .88fr 1.12fr; gap: 38px; align-items: stretch; }
.distance-list { list-style: none; margin: 28px 0; padding: 0; }
.distance-list li { display: flex; justify-content: space-between; gap: 20px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.distance-list strong { color: var(--wine-dark); white-space: nowrap; }
.map iframe { display: block; width: 100%; height: 100%; min-height: 560px; border: 0; }

.nearby { background: var(--mist); }
.nearby-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.nearby-card { background: #fff; padding: 24px; border: 1px solid var(--line); }
.nearby-card p { color: var(--ink-soft); margin-bottom: 0; }

.faq-list { max-width: 940px; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q { width: 100%; padding: 21px 0; border: 0; background: transparent; text-align: left; display: flex; justify-content: space-between; gap: 20px; font-family: var(--font-display); font-size: 1.15rem; cursor: pointer; }
.faq-q::after { content: "+"; color: var(--wine); font-family: var(--font-body); font-weight: 700; }
.faq-item.open .faq-q::after { content: "−"; }
.faq-a { display: none; color: var(--ink-soft); padding: 0 0 22px; max-width: 800px; }
.faq-item.open .faq-a { display: block; }

.final-cta { background: var(--wine-dark); color: #fff; text-align: center; padding: 80px 0; }
.final-cta p { max-width: 680px; margin: 0 auto 28px; color: rgba(255,255,255,.8); }
.footer { background: #15141a; color: #fff; padding: 58px 0 26px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr .7fr .8fr; gap: 40px; }
.footer h3 { font-family: var(--font-body); font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer a { color: rgba(255,255,255,.76); text-decoration: none; }
.footer .footer-brand strong { color: #fff; }
.footer a:hover { color: #fff; }
.footer-bottom { margin-top: 42px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.14); color: rgba(255,255,255,.58); font-size: .82rem; }
.footer-bottom p { margin: 0 0 8px; max-width: 980px; }
.footer-bottom p:last-child { margin-bottom: 0; }

@media (max-width: 1024px) {
  .nav-links, .nav > .book-btn { display: none; }
  .hamburger { display: block; }
  .nav-links.open { position: fixed; inset: 76px 0 0; z-index: 99; display: flex; flex-direction: column; align-items: stretch; gap: 0; padding: 24px 28px; background: #fff; }
  .nav-links.open a { display: block; padding: 15px 0; border-bottom: 1px solid var(--line); font-size: 1.08rem; }
  .quick-grid { grid-template-columns: repeat(3, 1fr); }
  .fact:nth-child(3) { border-right: 0; }
  .fact:nth-child(-n+3) { border-bottom: 1px solid var(--line); }
  .booking-form { grid-template-columns: repeat(3,1fr); }
  .booking .primary-btn { grid-column: 1 / -1; }
  .rooms-grid { grid-template-columns: repeat(2,1fr); }
  .room-card:last-child { grid-column: 1 / -1; width: calc(50% - 10px); justify-self: center; }
  .amenities-grid { grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 760px) {
  body { font-size: 17px; }
  .wrap { width: min(calc(100% - 28px), var(--max)); }
  .section { padding: 68px 0; }
  .nav { min-height: 68px; gap: 8px; }
  .brand { min-width: 0; }
  .brand strong { font-size: 1.02rem; white-space: nowrap; }
  .brand span { display: none; }
  .lang { flex: 0 0 auto; gap: 1px; margin-left: 2px; font-size: .76rem; }
  .lang a { padding: 3px; }
  .hamburger { flex: 0 0 42px; width: 42px; }
  .hero { min-height: 560px; }
  .hero-content { padding: 90px 0 62px; }
  .hero h1 { font-size: 2.6rem; }
  .hero p { font-size: 1rem; }
  .hero-actions a { width: 100%; }
  .quick-grid { grid-template-columns: 1fr 1fr; }
  .fact, .fact:nth-child(3) { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .fact:nth-child(even) { border-right: 0; }
  .fact:last-child { grid-column: 1 / -1; border-right: 0; }
  .booking-form, .intro-grid, .rooms-grid, .food-grid, .location-grid, .nearby-grid, .footer-grid { grid-template-columns: 1fr; }
  .booking-prompt { align-items: stretch; flex-direction: column; gap: 20px; }
  .booking-prompt .primary-btn { width: 100%; }
  .room-card:last-child { grid-column: auto; width: 100%; }
  .media-slot { min-height: 320px; }
  .intro-photo { height: 320px; }
  .meta-grid { grid-template-columns: 1fr; }
  .amenities-grid { grid-template-columns: 1fr; }
  .map iframe { min-height: 420px; }
  .footer-grid { gap: 28px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

/* Imágenes reales del hotel */
.room-media { width: 100%; height: auto; display: block; object-fit: cover; object-position: center; }
.room-media::after { display: none; }

/* REFERENCIAS SOCIALES */
.reviews { background: var(--paper); }
.reviews-layout { display: grid; grid-template-columns: minmax(260px,.72fr) minmax(0,1.55fr); gap: 32px; align-items: stretch; }
.reviews-summary { background: var(--wine-dark); color: #fff; padding: 34px; display: flex; flex-direction: column; align-items: flex-start; min-height: 100%; }
.reviews-score { font-family: var(--font-display); font-size: clamp(3.6rem,7vw,5.4rem); line-height: .95; font-weight: 600; color: #fff; }
.reviews-verdict { font-family: var(--font-display); font-size: 1.55rem; margin-top: 13px; }
.reviews-count { margin-top: 5px; color: rgba(255,255,255,.78); }
.reviews-source { margin: 24px 0 22px; color: rgba(255,255,255,.64); font-size: .84rem; }
.reviews-summary .primary-btn { margin-top: auto; width: 100%; }
.reviews-breakdown { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 27px 30px; padding: 8px 0; align-content: center; }
.rating-item { min-width: 0; }
.rating-row { display: flex; justify-content: space-between; gap: 18px; align-items: baseline; margin-bottom: 9px; }
.rating-row span { color: var(--ink); font-weight: 700; }
.rating-row strong { color: var(--wine-dark); font-variant-numeric: tabular-nums; }
.rating-track { height: 8px; background: #ecebed; overflow: hidden; }
.rating-track span { display: block; height: 100%; background: var(--wine); }

@media (max-width: 1024px) {
  .reviews-layout { grid-template-columns: minmax(240px,.8fr) minmax(0,1.2fr); }
  .reviews-breakdown { grid-template-columns: 1fr; gap: 20px; }
}

@media (max-width: 760px) {
  .reviews-layout { grid-template-columns: 1fr; gap: 24px; }
  .reviews-summary { padding: 28px 24px; }
  .reviews-breakdown { grid-template-columns: 1fr; gap: 20px; padding: 0; }
}

/* CTA secundario: acciones que no son de reserva */
.route-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 12px 22px;
  background: var(--wine-dark);
  color: #fff;
  border: 1px solid var(--wine-dark);
  text-decoration: none;
  font-weight: 800;
  box-shadow: 0 8px 22px rgba(95,21,48,.16);
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}
.route-btn:hover {
  background: var(--wine);
  border-color: var(--wine);
  transform: translateY(-2px);
}
.route-btn:focus-visible {
  outline: 3px solid rgba(95,21,48,.28);
  outline-offset: 3px;
}

/* Galería hotel: 9 imágenes visibles / 16 totales en lightbox */
.gallery-section { background: var(--paper); }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 150px;
  gap: 10px;
}
.gallery-item {
  position: relative;
  min-width: 0;
  border: 0;
  padding: 0;
  overflow: hidden;
  background: #e7e2dc;
  cursor: pointer;
  border-radius: 2px;
}
.gallery-item--main {
  grid-column: span 2;
  grid-row: span 2;
}
.gallery-image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  transition: transform .25s ease;
}
.gallery-item:focus-visible {
  outline: 3px solid rgba(95,21,48,.35);
  outline-offset: 3px;
}
.gallery-more {
  position: absolute;
  inset: auto 12px 12px auto;
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 8px 14px;
  background: rgba(36,34,43,.9);
  color: #fff;
  font-size: .84rem;
  font-weight: 800;
  border-radius: 2px;
  box-shadow: 0 4px 16px rgba(0,0,0,.18);
}
@media (hover: hover) and (pointer: fine) {
  .gallery-item:hover .gallery-image { transform: scale(1.025); }
}

.gallery-lightbox[hidden] { display: none; }
.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  padding: 20px;
}
.gallery-lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10,10,13,.94);
}
.gallery-lightbox__panel {
  position: relative;
  z-index: 1;
  width: min(1180px, 100%);
  min-height: 68vh;
  display: grid;
  grid-template-columns: 64px minmax(0,1fr) 64px;
  grid-template-rows: minmax(0,1fr) auto;
  align-items: center;
}
.gallery-lightbox__stage {
  grid-column: 2;
  grid-row: 1;
  min-width: 0;
  min-height: 58vh;
  display: grid;
  place-items: center;
  outline: none;
  touch-action: pan-y;
}
.gallery-lightbox__image {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 78vh;
  object-fit: contain;
}
.gallery-lightbox__close,
.gallery-lightbox__nav {
  border: 0;
  color: #fff;
  background: rgba(255,255,255,.10);
  cursor: pointer;
}
.gallery-lightbox__close {
  position: absolute;
  top: -4px;
  right: 0;
  width: 48px;
  height: 48px;
  font-size: 2rem;
  line-height: 1;
  z-index: 2;
}
.gallery-lightbox__nav {
  width: 52px;
  height: 64px;
  font-size: 2.6rem;
  line-height: 1;
  justify-self: center;
}
.gallery-lightbox__nav--prev { grid-column: 1; grid-row: 1; }
.gallery-lightbox__nav--next { grid-column: 3; grid-row: 1; }
.gallery-lightbox__counter {
  grid-column: 1 / -1;
  grid-row: 2;
  justify-self: center;
  padding-top: 14px;
  color: #fff;
  font-weight: 800;
  letter-spacing: .04em;
}
.gallery-lightbox__close:focus-visible,
.gallery-lightbox__nav:focus-visible,
.gallery-lightbox__stage:focus-visible {
  outline: 3px solid rgba(255,255,255,.75);
  outline-offset: 3px;
}
body.gallery-open { overflow: hidden; }

@media (max-width: 900px) {
  .gallery-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-auto-rows: 140px;
  }
  .gallery-item--main {
    grid-column: span 2;
    grid-row: span 2;
  }
}
@media (max-width: 640px) {
  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 118px;
    gap: 7px;
  }
  .gallery-item--main {
    grid-column: span 2;
    grid-row: span 2;
  }
  .gallery-more {
    inset: auto 8px 8px 8px;
    justify-content: center;
  }
  .gallery-lightbox { padding: 10px; }
  .gallery-lightbox__panel {
    min-height: 62vh;
    grid-template-columns: 46px minmax(0,1fr) 46px;
  }
  .gallery-lightbox__stage { min-height: 50vh; }
  .gallery-lightbox__image { max-height: 72vh; }
  .gallery-lightbox__nav {
    width: 42px;
    height: 54px;
    font-size: 2rem;
  }
  .gallery-lightbox__close {
    top: 0;
    right: 0;
  }
}
