/* ============================================================
   NOMADS ROOFTOP — Cancún
   Design system inspired by Generator (generator.com)
   Charcoal + sunset coral + tropical cream
   ============================================================ */

:root {
  /* Palette */
  --ink:        #141210;   /* near-black charcoal */
  --ink-soft:   #2a2622;
  --coral:      #ff5a36;   /* sunset coral accent */
  --coral-dark: #e8421f;
  --teal:       #16b6a4;   /* Cancún turquoise (secondary) */
  --cream:      #f6f1e9;   /* warm off-white sections */
  --sand:       #efe7da;
  --white:      #ffffff;
  --line:       #e6ddd0;
  --muted:      #6f675e;

  /* Type */
  --font-display: "Archivo", system-ui, sans-serif;
  --font-body:    "Inter", system-ui, sans-serif;

  /* Layout */
  --maxw: 1240px;
  --gutter: clamp(18px, 4vw, 56px);
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 18px 50px -20px rgba(20, 18, 16, .35);
  --shadow-sm: 0 8px 24px -12px rgba(20, 18, 16, .25);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 92px; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip; /* clip (not hidden) so it doesn't turn body into a scroll container and break position:sticky */
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { list-style: none; padding: 0; }

/* ---------- Type ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -.02em;
  text-transform: uppercase;
}
.eyebrow {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .22em;
  font-size: .72rem;
  color: var(--coral);
  display: inline-block;
}

/* ---------- Layout helpers ---------- */
.wrap { max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(56px, 9vw, 120px); }
.section--cream { background: var(--cream); }
.section--ink { background: var(--ink); color: var(--cream); }
.section-head { max-width: 720px; margin-bottom: clamp(34px, 5vw, 60px); }
.section-head h2 { font-size: clamp(2rem, 5.2vw, 3.6rem); }
.section-head p { margin-top: 18px; color: var(--muted); font-size: 1.05rem; }
.section--ink .section-head p { color: #c9c0b4; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font-family: var(--font-display);
  font-weight: 700; text-transform: uppercase; letter-spacing: .06em;
  font-size: .82rem;
  padding: 15px 32px; border-radius: 100px;
  transition: transform .18s ease, background .18s ease, color .18s ease, box-shadow .18s ease;
  white-space: nowrap;
}
.btn--coral { background: var(--coral); color: var(--white); }
.btn--coral:hover { background: var(--coral-dark); transform: translateY(-2px); box-shadow: 0 12px 24px -10px rgba(255,90,54,.7); }
.btn--ink { background: var(--ink); color: var(--white); }
.btn--ink:hover { background: var(--ink-soft); transform: translateY(-2px); }
.btn--ghost { background: transparent; color: var(--ink); border: 2px solid var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--white); }
.btn--light { background: var(--white); color: var(--ink); }
.btn--light:hover { background: var(--cream); transform: translateY(-2px); }
.btn--block { width: 100%; }

/* ============================================================
   HEADER
   ============================================================ */
.topbar {
  background: var(--ink); color: var(--cream);
  font-size: .78rem; letter-spacing: .04em;
  text-align: center; padding: 8px 14px;
}
.topbar strong { color: var(--coral); }

.header {
  position: sticky; top: 0; z-index: 50;
  /* NOTE: do NOT use backdrop-filter/filter/transform here — it would make .header the
     containing block for the position:fixed mobile .nav and break its off-canvas hiding. */
  background: rgba(255,255,255,.97);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .25s ease;
}
.header.scrolled { box-shadow: var(--shadow-sm); }
.header__inner {
  display: flex; align-items: center; gap: 18px;
  height: 72px;
  max-width: 1380px; /* header gets a bit more room than the 1240 content wrap so the ES nav fits */
}
.brand { display: flex; align-items: center; gap: 11px; flex-shrink: 0; }
.brand img { height: 42px; width: auto; }
.brand__mark {
  width: 40px; height: 40px; border-radius: 12px; flex-shrink: 0;
  background: var(--coral); color: #fff;
  display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 900; font-size: 1.4rem; line-height: 1;
}
.brand__name { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; letter-spacing: -.01em; font-size: 1.1rem; line-height: 1; }
.brand__name span { display: block; font-size: .58rem; letter-spacing: .28em; color: var(--coral); font-weight: 700; }

.nav { display: flex; align-items: center; gap: 16px; margin-left: auto; }
.nav__link {
  font-family: var(--font-display); font-weight: 600; text-transform: uppercase;
  font-size: .76rem; letter-spacing: .04em; color: var(--ink);
  position: relative; padding: 4px 0; white-space: nowrap;
}
.nav__link::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 2px; width: 0;
  background: var(--coral); transition: width .22s ease;
}
.nav__link:hover::after { width: 100%; }
.nav .btn--coral { display: none; } /* only shown inside the mobile off-canvas menu */

.header__actions { display: flex; align-items: center; gap: 14px; }
.lang {
  display: inline-flex; border: 1.5px solid var(--line); border-radius: 100px; overflow: hidden;
  font-family: var(--font-display); font-weight: 700; font-size: .72rem;
}
.lang button { padding: 6px 11px; color: var(--muted); transition: background .15s, color .15s; }
.lang button.active { background: var(--ink); color: var(--white); }

.burger { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.burger span { width: 24px; height: 2px; background: var(--ink); transition: transform .25s, opacity .2s; }
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; color: var(--white); overflow: hidden; }
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__bgimg { position: absolute; inset: 0; opacity: 0; transition: opacity 1s ease; }
.hero__bgimg.is-active { opacity: 1; }
.hero__bgimg img { width: 100%; height: 100%; object-fit: cover; }
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20,18,16,.5) 0%, rgba(20,18,16,.25) 38%, rgba(20,18,16,.8) 100%);
}
.hero__inner { position: relative; z-index: 1; padding-top: clamp(64px, 12vh, 124px); padding-bottom: clamp(32px, 5vw, 56px); }
.hero__text { display: none; }
.hero__text.is-active { display: block; animation: heroIn .7s ease both; }
@keyframes heroIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.hero__tag { color: #ffd9cd; }
.hero h1, .hero__title {
  font-family: var(--font-display); font-weight: 800; line-height: 1.02; letter-spacing: -.02em; text-transform: uppercase;
  font-size: clamp(2.3rem, 5.6vw, 4.6rem); max-width: 20ch; margin-top: 14px; color: #fff;
  text-shadow: 0 4px 30px rgba(0,0,0,.4);
}
.hero__sub { margin-top: 16px; font-size: clamp(1rem, 1.6vw, 1.2rem); max-width: 46ch; color: #f1ece4; }
.hero__text .btn { margin-top: 24px; }

/* awards slide badge: gold trophy + Hostelworld logo */
.hero__award { display: flex; align-items: center; gap: 15px; margin-bottom: 4px; }
.hero__trophy { width: 48px; height: 48px; flex: 0 0 auto; }
.hero__hwlogo { height: 23px; width: auto; filter: brightness(0) invert(1); opacity: .95; }
.hero__bgimg--award img { object-position: center; }
.hero__bgimg--award::after { content: ""; position: absolute; inset: 0; background: rgba(20,18,16,.4); }

/* slider dots + best-price guarantee */
.hero__dots { display: flex; gap: 9px; margin-top: clamp(22px, 4vw, 36px); }
.hero__dot { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,.5); border: none; padding: 0; cursor: pointer; transition: background .25s ease, width .25s ease; }
.hero__dot.is-active { background: var(--coral); width: 26px; border-radius: 6px; }
.bestprice {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 18px;
  padding: 9px 18px; border-radius: 100px; background: rgba(255,90,54,.96); color: #fff;
  font-family: var(--font-display); font-weight: 700; text-transform: uppercase; font-size: .76rem; letter-spacing: .05em;
  box-shadow: 0 10px 24px -10px rgba(255,90,54,.85);
}
.bestprice__check { font-size: .95rem; }

/* Booking widget */
.booking {
  margin-top: clamp(28px, 4vw, 44px);
  background: rgba(255,255,255,.96);
  color: var(--ink);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 16px;
  display: grid;
  grid-template-columns: repeat(4, 1fr) auto;
  gap: 12px; align-items: end;
  max-width: 920px;
}
.field { display: flex; flex-direction: column; gap: 5px; text-align: left; }
.field label {
  font-family: var(--font-display); font-weight: 700; text-transform: uppercase;
  font-size: .66rem; letter-spacing: .12em; color: var(--muted);
}
.field input, .field select {
  font: inherit; font-size: .95rem; padding: 11px 12px;
  border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  background: var(--white); color: var(--ink); width: 100%;
}
.field input:focus, .field select:focus { outline: none; border-color: var(--coral); }
.booking .btn { height: 46px; }

/* ============================================================
   GALLERY STRIP
   ============================================================ */
.gallery { padding-block: clamp(40px, 6vw, 72px); }
.gallery__track {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(260px, 30%);
  gap: 16px; overflow-x: auto; padding-bottom: 14px;
  scroll-snap-type: x mandatory; scrollbar-width: thin;
}
.gallery__track figure { scroll-snap-align: start; position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/3; }
.gallery__track img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.gallery__track figure:hover img { transform: scale(1.06); }
.gallery__track figcaption {
  position: absolute; left: 12px; bottom: 12px; color: var(--white);
  font-family: var(--font-display); font-weight: 700; text-transform: uppercase;
  font-size: .8rem; letter-spacing: .04em; text-shadow: 0 2px 12px rgba(0,0,0,.6);
}

/* ============================================================
   INTRO / SPLIT
   ============================================================ */
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.split__media img { border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.split h2 { font-size: clamp(2rem, 4.6vw, 3.3rem); }
.split p { margin-top: 18px; color: var(--muted); font-size: 1.06rem; }
.split .btn { margin-top: 26px; }

/* ============================================================
   FEATURES GRID
   ============================================================ */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.feature {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 20px; transition: transform .2s, box-shadow .2s, border-color .2s;
}
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); border-color: var(--coral); }
.feature__icon { font-size: 1.6rem; }
.feature h3 { font-size: 1rem; margin-top: 12px; letter-spacing: 0; }
.feature p { color: var(--muted); font-size: .9rem; margin-top: 6px; }

/* ============================================================
   VENUE CARDS (Eat & Drink)
   ============================================================ */
.eat-head { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(28px, 4vw, 56px); align-items: center; margin-bottom: clamp(34px, 5vw, 58px); }
.eat-head h2 { font-size: clamp(2rem, 5vw, 3.4rem); }
.eat-head p { margin-top: 16px; color: var(--muted); font-size: 1.05rem; max-width: 46ch; }
.eat-head__img img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }

/* eat section: 2 venues + a guest-reviews column */
.eat-venues { display: grid; grid-template-columns: 1fr 1fr 0.92fr; gap: 22px; align-items: stretch; }
.reviews { display: flex; flex-direction: column; gap: 14px; }
.reviews__head { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; font-size: .72rem; letter-spacing: .12em; color: var(--coral); }
.review { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: 9px; flex: 1; }
.review__stars { color: #f5b301; font-size: .9rem; letter-spacing: 2px; }
.review__text { color: var(--ink-soft); font-size: .92rem; line-height: 1.5; }
.review__author { font-size: .8rem; color: var(--muted); margin-top: auto; }
.review__author b { color: var(--ink); }

.venues { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.venue {
  background: var(--white); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-sm); display: flex; flex-direction: column;
  transition: transform .2s;
}
.venue:hover { transform: translateY(-5px); }
.venue__img { aspect-ratio: 16/11; overflow: hidden; }
.venue__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.venue:hover .venue__img img { transform: scale(1.05); }
.venue__body { padding: 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.venue__body h3 { font-size: 1.35rem; }
.venue__hours { font-size: .82rem; font-weight: 600; color: var(--coral); letter-spacing: .03em; }
.venue__body p { color: var(--muted); font-size: .94rem; flex: 1; }

/* ============================================================
   ROOMS
   ============================================================ */
.rooms { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.room {
  display: grid; grid-template-columns: 42% 1fr; background: var(--white);
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  transition: box-shadow .2s, transform .2s;
}
.room:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.room__img { overflow: hidden; }
.room__img img { width: 100%; height: 100%; object-fit: cover; min-height: 220px; transition: transform .5s; }
.room:hover .room__img img { transform: scale(1.05); }
.room__body { padding: 22px; display: flex; flex-direction: column; gap: 10px; }
.room__tag {
  align-self: flex-start; font-family: var(--font-display); font-weight: 700;
  font-size: .62rem; letter-spacing: .12em; text-transform: uppercase;
  background: var(--sand); color: var(--ink-soft); padding: 5px 11px; border-radius: 100px;
}
.room__body h3 { font-size: 1.35rem; }
.room__feat { display: flex; flex-wrap: wrap; gap: 7px; }
.room__feat li { font-size: .76rem; font-weight: 600; color: var(--muted); background: var(--cream); padding: 5px 10px; border-radius: 8px; }
.room__cta { margin-top: auto; display: flex; gap: 10px; flex-wrap: wrap; }

/* ============================================================
   ACTIVITIES (ink section)
   ============================================================ */
.acts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.act { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 3/4; }
.act img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.act:hover img { transform: scale(1.06); }
.act::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, rgba(20,18,16,.85)); }
.act__txt { position: absolute; left: 20px; right: 20px; bottom: 20px; z-index: 2; color: var(--white); }
.act__txt h3 { font-size: 1.3rem; }
.act__txt p { font-size: .88rem; color: #e7e0d6; margin-top: 4px; }

/* ============================================================
   LOCATION
   ============================================================ */
.loc { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(26px, 4vw, 48px); align-items: center; }
.loc__map { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); min-height: 360px; border: 1px solid var(--line); }
.loc__map iframe { width: 100%; height: 100%; min-height: 360px; border: 0; display: block; }
.loc__list { display: grid; gap: 14px; margin-top: 22px; margin-bottom: 28px; }
.loc .reveal > .btn { margin-top: 4px; }
.loc__list li { display: flex; gap: 12px; align-items: flex-start; }
.loc__list .ico { color: var(--coral); font-weight: 800; }

/* ============================================================
   FAQ
   ============================================================ */
.faq { max-width: 820px; margin-inline: auto; }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q {
  width: 100%; text-align: left; display: flex; justify-content: space-between; align-items: center;
  gap: 16px; padding: 22px 4px;
  font-family: var(--font-display); font-weight: 700; text-transform: uppercase;
  font-size: 1.02rem; letter-spacing: -.01em;
}
.faq__q .plus { color: var(--coral); font-size: 1.5rem; transition: transform .25s; flex-shrink: 0; }
.faq__item.open .faq__q .plus { transform: rotate(45deg); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq__a p { padding: 0 4px 22px; color: var(--muted); }

/* ============================================================
   WHY  (three blurbs)
   ============================================================ */
.why { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.why h3 { font-size: 1.3rem; color: var(--coral); }
.why p { margin-top: 10px; color: #c9c0b4; font-size: .98rem; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--ink); color: var(--cream); padding-block: clamp(48px, 7vw, 84px) 28px; }
.footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 36px; }
.footer__brand img { height: 56px; }
.footer__brand p { color: #b8afa3; font-size: .92rem; margin-top: 16px; max-width: 32ch; }
.footer h4 { font-size: .82rem; letter-spacing: .14em; color: #fff; margin-bottom: 16px; }
.footer__links li { margin-bottom: 10px; }
.footer__links a { color: #c9c0b4; font-size: .92rem; transition: color .15s; }
.footer__links a:hover { color: var(--coral); }
.footer__contact li { display: flex; gap: 9px; color: #c9c0b4; font-size: .92rem; margin-bottom: 10px; }
.socials { display: flex; gap: 12px; margin-top: 18px; }
.socials a {
  width: 38px; height: 38px; border-radius: 50%; border: 1.5px solid #3a352f;
  display: grid; place-items: center; transition: background .18s, border-color .18s, transform .18s;
}
.socials a:hover { background: var(--coral); border-color: var(--coral); transform: translateY(-2px); }
.socials svg { width: 17px; height: 17px; fill: currentColor; }
.newsletter { display: flex; gap: 8px; margin-top: 14px; }
.newsletter input { flex: 1; padding: 11px 13px; border-radius: 100px; border: 1.5px solid #3a352f; background: #1f1c18; color: var(--white); font: inherit; font-size: .9rem; }
.newsletter input:focus { outline: none; border-color: var(--coral); }
.footer__bottom { margin-top: 44px; padding-top: 22px; border-top: 1px solid #2b2722; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .82rem; color: #948b7f; }

/* ============================================================
   NAV DROPDOWNS
   ============================================================ */
.nav__item { position: relative; display: flex; align-items: center; }
.nav__item > .nav__link { display: inline-flex; align-items: center; gap: 5px; }
.caret { font-size: .65em; transition: transform .2s ease; }
.dropdown {
  position: absolute; top: 100%; left: 0; min-width: 230px;
  background: var(--white); border: 1px solid var(--line); border-radius: 14px;
  box-shadow: var(--shadow); padding: 8px; display: flex; flex-direction: column;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s; z-index: 60;
}
.nav__item:hover .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.nav__item:hover .caret { transform: rotate(180deg); }
.dropdown a {
  font-family: var(--font-display); font-weight: 600; text-transform: uppercase;
  font-size: .74rem; letter-spacing: .03em; color: var(--ink);
  padding: 10px 12px; border-radius: 9px; white-space: nowrap; transition: background .15s, color .15s;
}
.dropdown a:hover { background: var(--cream); color: var(--coral); }

/* ============================================================
   DETAIL PAGES
   ============================================================ */
.subhero { position: relative; color: #fff; min-height: 60vh; display: flex; align-items: flex-end; }
.subhero__media { position: absolute; inset: 0; z-index: -1; }
.subhero__media img { width: 100%; height: 100%; object-fit: cover; }
.subhero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,18,16,.30), rgba(20,18,16,.82)); }
.subhero__inner { padding-block: clamp(40px, 7vw, 88px); width: 100%; }
.subhero h1 { font-size: clamp(2.2rem, 5.5vw, 4rem); max-width: 18ch; margin-top: 12px; text-shadow: 0 4px 30px rgba(0,0,0,.4); }
.subhero__facts { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 16px; font-weight: 600; font-size: .95rem; }
.subhero__facts span { display: inline-flex; align-items: center; gap: 7px; }
.subhero__cta { margin-top: 24px; display: flex; gap: 12px; flex-wrap: wrap; }
.subhero .booking { margin-top: 26px; }

.breadcrumb { font-size: .8rem; color: #e7ddd0; margin-bottom: 4px; font-weight: 600; }
.breadcrumb a { color: #e7ddd0; } .breadcrumb a:hover { color: var(--coral); }

.prose p { color: var(--muted); font-size: 1.06rem; margin-top: 16px; max-width: 65ch; }
.amenities { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 28px; margin-top: 10px; max-width: 640px; }
.amenities li { display: flex; gap: 10px; align-items: center; font-weight: 500; }
.amenities .ico { color: var(--coral); font-weight: 800; }

.detail-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.detail-gallery img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--radius-sm); cursor: zoom-in; transition: transform .3s, box-shadow .3s; }
.detail-gallery img:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); }

/* home cards now link to detail pages */
a.room__img { display: block; }
.venue__img { display: block; }
.room__body h3 a, .venue__body h3 a { color: inherit; }
.room__body h3 a:hover, .venue__body h3 a:hover { color: var(--coral); }
.venue__more { margin-top: auto; align-self: flex-start; font-family: var(--font-display); font-weight: 700; text-transform: uppercase; font-size: .76rem; letter-spacing: .05em; color: var(--coral); }
.venue__more:hover { color: var(--coral-dark); }

/* cross-links (other rooms / venues) */
.cross { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.cross a { display: block; border-radius: var(--radius); overflow: hidden; background: var(--white); border: 1px solid var(--line); transition: transform .2s, box-shadow .2s; }
.cross a:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.cross img { width: 100%; aspect-ratio: 16/11; object-fit: cover; }
.cross b { display: block; padding: 14px 16px; font-family: var(--font-display); font-weight: 700; text-transform: uppercase; font-size: .92rem; letter-spacing: -.01em; }

/* ============================================================
   BRAND LOGO
   ============================================================ */
.brand__logo { height: 30px; width: auto; }
.brand__tag {
  font-family: var(--font-display); font-weight: 700; text-transform: uppercase;
  font-size: .56rem; letter-spacing: .2em; color: var(--coral);
  border-left: 1.5px solid var(--line); padding-left: 10px;
}

/* ============================================================
   RATINGS BAND
   ============================================================ */
.ratings { padding-block: clamp(32px, 5vw, 56px); }
.ratings__eyebrow { display: block; text-align: center; color: var(--muted); margin-bottom: 22px; }
.ratings__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.rating {
  display: flex; align-items: center; gap: 12px; padding: 16px 18px;
  border-top: 3px solid var(--c, var(--coral)); border-bottom: 3px solid var(--c, var(--coral));
  transition: transform .2s ease;
}
.rating:hover { transform: translateY(-3px); }
.rating__val { font-family: var(--font-display); font-weight: 900; font-size: clamp(1.7rem, 3vw, 2.2rem); line-height: 1; color: var(--ink); white-space: nowrap; }
.rating__val small { font-size: .55em; font-weight: 700; color: var(--muted); }
.rating__brand { font-family: var(--font-display); font-weight: 800; font-size: 1.02rem; color: var(--c, var(--ink)); letter-spacing: -.01em; }
.rating__chev { margin-left: auto; font-size: 1.5rem; color: var(--muted); transition: transform .2s ease, color .2s ease; }
.rating:hover .rating__chev { transform: translateX(4px); color: var(--c, var(--coral)); }

/* ============================================================
   CONTACT FORMS (groups / volunteering)
   ============================================================ */
.cform { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: 14px; }
.cform__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.cform .field input, .cform .field select, .cform .field textarea {
  font: inherit; font-size: .95rem; padding: 11px 12px; border: 1.5px solid var(--line);
  border-radius: var(--radius-sm); background: var(--white); color: var(--ink); width: 100%;
}
.cform .field textarea { resize: vertical; min-height: 70px; }
.cform .field input:focus, .cform .field select:focus, .cform .field textarea:focus { outline: none; border-color: var(--coral); }
.cform__alt { font-size: .85rem; color: var(--muted); text-align: center; margin-top: 2px; }
.cform__alt a { color: var(--coral); font-weight: 600; }

/* ============================================================
   GUEST CHAT
   ============================================================ */
.chat { max-width: 760px; margin-inline: auto; background: #1f1c18; border: 1px solid #322d27; border-radius: var(--radius); overflow: hidden; }
.chat__log { height: 340px; overflow-y: auto; padding: 18px; display: flex; flex-direction: column; gap: 12px; }
.chat__empty { color: #948b7f; text-align: center; margin: auto; }
.chat__msg { display: grid; grid-template-columns: auto 1fr auto; gap: 9px; align-items: baseline; }
.chat__msg-name { font-family: var(--font-display); font-weight: 700; font-size: .8rem; color: var(--coral); white-space: nowrap; }
.chat__msg-text { color: #ece6dd; font-size: .95rem; word-break: break-word; line-height: 1.45; }
.chat__msg-time { font-size: .68rem; color: #6f675e; white-space: nowrap; }
.chat__form { display: grid; grid-template-columns: 160px 1fr auto; gap: 10px; padding: 14px; border-top: 1px solid #322d27; }
.chat__form input { font: inherit; font-size: .92rem; padding: 11px 13px; border-radius: var(--radius-sm); border: 1.5px solid #3a352f; background: #15110e; color: #fff; width: 100%; }
.chat__form input::placeholder { color: #7d756b; }
.chat__form input:focus { outline: none; border-color: var(--coral); }
.chat__form .btn { height: 44px; }
.chat__note { text-align: center; color: #948b7f; font-size: .8rem; padding: 0 14px 14px; }

/* ============================================================
   BLOG
   ============================================================ */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.blog-card {
  display: flex; flex-direction: column; background: var(--white);
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease;
}
.blog-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.blog-card__banner {
  height: 120px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--c, var(--coral)) 0%, rgba(20,18,16,.6) 135%);
}
.blog-card__icon { font-size: 2.7rem; filter: drop-shadow(0 4px 10px rgba(0,0,0,.3)); }
.blog-card__body { padding: 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.blog-card__cat { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; letter-spacing: .12em; font-size: .66rem; color: var(--c, var(--coral)); }
.blog-card__title { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; letter-spacing: -.01em; font-size: 1.16rem; line-height: 1.1; color: var(--ink); }
.blog-card__excerpt { color: var(--muted); font-size: .92rem; flex: 1; }
.blog-card__meta { font-size: .78rem; font-weight: 600; color: var(--muted); }

/* ============================================================
   AMENITIES MARQUEE
   ============================================================ */
.marquee-rows { display: grid; gap: 2px; }
.marquee {
  overflow: hidden;
  padding-block: 12px; /* room so the hover lift + coral border + shadow aren't clipped */
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.marquee__track { display: flex; gap: 14px; width: max-content; animation: marquee 48s linear infinite; }
.marquee--rev .marquee__track { animation-direction: reverse; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.amenity {
  display: inline-flex; align-items: center; gap: 11px; flex: 0 0 auto; white-space: nowrap;
  padding: 12px 20px; border: 1px solid var(--line); border-radius: 100px; background: var(--white);
  transition: border-color .2s ease, color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.amenity:hover { border-color: var(--coral); color: var(--coral); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.amenity__i { width: 26px; height: 26px; display: grid; place-items: center; color: var(--ink); transition: color .2s ease; flex: 0 0 auto; }
.amenity:hover .amenity__i { color: var(--coral); }
.amenity__i svg { width: 25px; height: 25px; }
.amenity__t { font-family: var(--font-display); font-weight: 600; text-transform: uppercase; font-size: .74rem; letter-spacing: .04em; }
@media (prefers-reduced-motion: reduce) { .marquee__track { animation: none; } }

/* blog post hero (gradient, no photo) */
.post-hero { color: #fff; position: relative; overflow: hidden; }
.post-hero::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(135deg, var(--c, var(--coral)) 0%, var(--ink) 130%); }
.post-hero__inner { padding-block: clamp(40px, 7vw, 78px); }
.post-hero__icon { font-size: 2.6rem; display: block; }
.post-hero .breadcrumb, .post-hero .breadcrumb a { color: rgba(255,255,255,.85); }
.post-hero .eyebrow { color: rgba(255,255,255,.95); margin-top: 6px; }
.post-hero h1 { font-size: clamp(1.9rem, 4.6vw, 3.2rem); max-width: 22ch; margin-top: 10px; text-shadow: 0 3px 24px rgba(0,0,0,.25); }
.post-hero__meta { margin-top: 14px; font-weight: 600; font-size: .92rem; opacity: .92; }

/* article prose */
.prose-article { max-width: 760px; margin-inline: auto; }
.prose-article > :first-child { margin-top: 0; }
.prose-article h2 { font-size: clamp(1.4rem, 3vw, 1.9rem); margin-top: 38px; }
.prose-article h3 { font-size: 1.15rem; margin-top: 26px; letter-spacing: 0; text-transform: none; }
.prose-article p { margin-top: 14px; color: #34302b; font-size: 1.06rem; line-height: 1.75; }
.prose-article ul { margin-top: 14px; padding-left: 0; display: grid; gap: 9px; }
.prose-article li { position: relative; padding-left: 26px; color: #34302b; line-height: 1.6; }
.prose-article li::before { content: "›"; position: absolute; left: 7px; top: -1px; color: var(--coral); font-weight: 800; font-size: 1.1em; }
.prose-article strong { color: var(--ink); }
.prose-article blockquote {
  margin: 28px 0; padding: 18px 22px; border-left: 4px solid var(--coral);
  background: var(--cream); border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-family: var(--font-display); font-weight: 600; font-size: 1.12rem; line-height: 1.4; color: var(--ink);
}
.prose-article a { color: var(--coral-dark); font-weight: 600; text-decoration: underline; }

/* ============================================================
   MOBILE
   ============================================================ */
/* The nav collapses to the off-canvas hamburger BEFORE the content grids do, because the
   Spanish labels (Habitaciones / Comer & Beber / Experiencias) make the full nav too wide
   to fit on one line on mid-size screens. */
@media (max-width: 1120px) {
  .nav { position: fixed; inset: 0 0 0 auto; width: min(300px, 82vw); height: 100dvh;
    background: var(--white); flex-direction: column; align-items: flex-start; justify-content: flex-start;
    padding: 96px 28px 28px; gap: 22px; transform: translateX(100%); transition: transform .3s ease;
    box-shadow: -20px 0 60px -30px rgba(0,0,0,.5); margin-left: 0; }
  .nav.open { transform: translateX(0); }
  .nav__link { font-size: 1.1rem; white-space: normal; }
  .burger { display: flex; margin-left: auto; }
  /* hide the inline CTA so the lang toggle + burger fit; Reservar lives in the menu */
  .header__actions > .btn--coral { display: none; }
  .nav .btn--coral { display: inline-flex; margin-top: 8px; }
  /* dropdowns become inline expanded lists inside the off-canvas menu */
  .nav__item { flex-direction: column; align-items: flex-start; width: 100%; }
  .dropdown { position: static; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border: none; background: transparent; padding: 2px 0 6px 14px; min-width: 0; }
  .dropdown a { font-size: .92rem; padding: 7px 0; text-transform: none; letter-spacing: 0; }
  .caret { display: none; }
}

/* On mid-size screens, drop the "Rooftop · Cancún" tag so the nav has room before collapsing */
@media (max-width: 1280px) {
  .brand__tag { display: none; }
}

@media (max-width: 980px) {
  .features { grid-template-columns: repeat(2, 1fr); }
  .venues, .acts, .why, .rooms, .eat-venues { grid-template-columns: 1fr; }
  .split, .loc, .eat-head { grid-template-columns: 1fr; }
  .booking { grid-template-columns: 1fr 1fr; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .detail-gallery, .cross { grid-template-columns: 1fr 1fr; }
  .ratings__grid { grid-template-columns: repeat(2, 1fr); }
  .venues--2 { grid-template-columns: 1fr; max-width: none; }
  .cform__row { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .chat__form { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .booking { grid-template-columns: 1fr; }
  .features { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; }
  .room { grid-template-columns: 1fr; }
  .room__img img { min-height: 200px; }
  .hero__inner { padding-top: 48px; }
  .cross, .amenities { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .ratings__grid { grid-template-columns: 1fr; }
}

/* ============================================================
   LIGHTBOX
   ============================================================ */
.lightbox {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(15, 13, 11, .93);
  display: none; align-items: center; justify-content: center;
  opacity: 0; transition: opacity .2s ease;
}
.lightbox.open { display: flex; opacity: 1; }
.lb__img {
  max-width: min(92vw, 1200px); max-height: 86vh;
  border-radius: 10px; box-shadow: 0 30px 80px -20px rgba(0,0,0,.8);
  object-fit: contain;
}
.lb__close, .lb__nav {
  position: absolute; color: #fff; line-height: 1; cursor: pointer;
  transition: color .15s ease, transform .15s ease; user-select: none;
}
.lb__close { top: 16px; right: 22px; font-size: 2.6rem; }
.lb__nav { top: 50%; transform: translateY(-50%); font-size: 2rem; padding: 18px; }
.lb__prev { left: 6px; } .lb__next { right: 6px; }
.lb__close:hover { color: var(--coral); transform: scale(1.12); }
.lb__nav:hover { color: var(--coral); }
.lb__count {
  position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%);
  color: #fff; font-family: var(--font-display); font-weight: 700;
  letter-spacing: .12em; font-size: .78rem;
}
@media (max-width: 560px) {
  .lb__nav { font-size: 1.5rem; padding: 12px; }
  .lb__close { font-size: 2.2rem; }
}

/* zoom hint on enlargeable images */
.gallery__track figure, [data-images] { cursor: zoom-in; }
[data-images] { position: relative; }
[data-images]::after {
  content: "⤢"; position: absolute; top: 10px; right: 10px; z-index: 2;
  width: 30px; height: 30px; border-radius: 50%;
  background: rgba(20, 18, 16, .55); color: #fff;
  display: grid; place-items: center; font-size: .95rem;
  opacity: 0; transition: opacity .2s ease; pointer-events: none;
}
[data-images]:hover::after { opacity: 1; }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
