/* ============================================================
   IKALI HOSTEL — Home (main landing, all languages)
   Amarillo + cream (both derived from the brand yellow) + colonial arch motif.
   Landing/event pages keep using styles.css + landing.css.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,400;12..96,500;12..96,600;12..96,700;12..96,800&family=Outfit:wght@300;400;500;600;700&display=swap');

/* --- Tokens --- */
:root {
  /* single accent: the paint yellow; bronze is that same hue darkened for text */
  --gold: #F6C973;
  --gold-dark: #E0B45A;
  --bronze: #8A6420;
  --bronze-deep: #6E4E17;
  --cream: #FAF3E3;
  --cream-dark: #EFE1C8;
  --paper: #FFFCF3;
  --ink: #1C1917;
  --muted: #57534E;
  --muted-light: #78716C;

  --font-display: 'Bricolage Grotesque', 'Outfit', system-ui, sans-serif;
  --font-body: 'Outfit', system-ui, sans-serif;

  --max-width: 1160px;
  --radius: 16px;
  --radius-pill: 100px;
  /* Signature: colonial arch of Barrio Antiguo */
  --radius-arch: 999px 999px var(--radius) var(--radius);

  --shadow-soft: 0 10px 30px rgba(28, 25, 23, 0.08);
  --shadow-ink: 0 8px 24px rgba(28, 25, 23, 0.16);
  --shadow-gold: 0 8px 24px rgba(224, 180, 90, 0.35);

  --ease: cubic-bezier(0.16, 1, 0.3, 1);

  /* z-scale: 10 sticky elements, 100 nav, 9000 wa, 10000 modal */
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding-inline: 1.5rem;
}

:focus-visible {
  outline: 3px solid var(--bronze);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection { background: var(--gold); color: var(--ink); }

/* --- Scroll reveal (JS adds .reveal--in; static without JS) --- */
@media (prefers-reduced-motion: no-preference) {
  html.js .reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  }
  html.js .reveal--in { opacity: 1; transform: none; }
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.nav {
  position: fixed;
  top: 0;
  inset-inline: 0;
  z-index: 100;
  padding-block: 0.9rem;
  background: rgba(247, 242, 235, 0.9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(138, 100, 32, 0.16);
}

.nav__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding-inline: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.nav__logo { display: flex; align-items: center; text-decoration: none; }
.nav__logo img { height: 42px; width: auto; }

.nav__links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  margin-inline-start: auto;
}

.nav__links a {
  font-size: 0.92rem;
  font-weight: 500;
  text-decoration: none;
  color: var(--ink);
  transition: color 0.2s;
}

.nav__links a:hover { color: var(--bronze); }

.nav__cta {
  padding: 0.55rem 1.4rem;
  background: var(--gold) !important;
  color: var(--ink) !important;
  border-radius: var(--radius-pill);
  font-weight: 600;
  transition: background 0.2s, transform 0.2s;
}

.nav__cta:hover {
  background: var(--gold-dark) !important;
  transform: translateY(-1px);
}

/* Language picker */
.nav__lang { position: relative; margin-inline-start: 1.5rem; }

.nav__lang-btn {
  background: none;
  border: 1.5px solid rgba(138, 100, 32, 0.4);
  border-radius: var(--radius-pill);
  padding: 0.42rem 0.9rem;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--bronze);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}

.nav__lang-btn:hover { border-color: var(--bronze); background: rgba(246, 201, 115, 0.18); }

.nav__lang-dropdown {
  position: absolute;
  top: 100%;
  padding-top: 0.4rem;
  inset-inline-end: 0;
  background: var(--paper);
  border: 1px solid var(--cream-dark);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  min-width: 150px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-4px);
  transition: opacity 0.2s, transform 0.2s;
  z-index: 200;
  overflow: hidden;
}

.nav__lang:hover .nav__lang-dropdown,
.nav__lang:focus-within .nav__lang-dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.nav__lang-option {
  display: block;
  padding: 0.55rem 1rem;
  font-size: 0.85rem;
  text-decoration: none;
  color: var(--muted);
  transition: background 0.15s, color 0.15s;
}

.nav__lang-option:hover { background: var(--cream); color: var(--bronze); }
.nav__lang-option--active { font-weight: 700; color: var(--bronze); }

/* ============================================================
   HERO — asymmetric split: copy left, arch photo right
   ============================================================ */
.hero {
  position: relative;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  background: var(--cream);
  padding: 7rem 0 4rem;
  overflow: hidden;
}

/* faint gold wash top-right, grounds the photo */
.hero::before {
  content: '';
  position: absolute;
  inset-block-start: -20%;
  inset-inline-end: -10%;
  width: 60%;
  height: 90%;
  background: radial-gradient(ellipse closest-side, rgba(246, 201, 115, 0.3), transparent 70%);
  pointer-events: none;
}

.hero__inner {
  position: relative;
  max-width: var(--max-width);
  margin: 0 auto;
  padding-inline: 1.5rem;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
  width: 100%;
}

.hero__eyebrow {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--bronze);
  margin-bottom: 1.25rem;
}

.hero h1 {
  font-size: clamp(2.6rem, 5.4vw, 4.4rem);
  font-weight: 750;
  line-height: 1.04;
  color: var(--ink);
  margin-bottom: 1.4rem;
}

/* emphasized word: italic same family + gold marker swipe */
.hero h1 em {
  font-style: italic;
  line-height: 1.1;
  padding-bottom: 0.05em;
  background: linear-gradient(transparent 58%, var(--gold) 58%, var(--gold) 94%, transparent 94%);
}

.hero__subtitle {
  font-size: 1.15rem;
  line-height: 1.65;
  color: var(--muted);
  max-width: 46ch;
  margin-bottom: 2.25rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3rem;
}

.hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem;
  padding-top: 1.75rem;
  border-top: 1.5px solid var(--cream-dark);
}

.hero__stat-value {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

.hero__stat-value .star { color: var(--gold-dark); font-size: 0.85em; }

.hero__stat-label {
  font-size: 0.8rem;
  color: var(--muted-light);
  margin-top: 0.2rem;
}

.hero__media { position: relative; }

.hero__img {
  width: 100%;
  aspect-ratio: 4 / 5.4;
  object-fit: cover;
  border-radius: var(--radius-arch);
  box-shadow: var(--shadow-soft);
}

/* arch echo: thin gold outline offset behind the photo */
.hero__media::before {
  content: '';
  position: absolute;
  inset: 0;
  transform: translate(14px, 14px);
  border: 2px solid var(--gold-dark);
  border-radius: var(--radius-arch);
  pointer-events: none;
}

[dir="rtl"] .hero__media::before { transform: translate(-14px, 14px); }

/* load-in: photo rises, copy fades in after */
@media (prefers-reduced-motion: no-preference) {
  .hero__media { animation: hero-media 0.9s var(--ease) both; }
  .hero__copy > * { animation: hero-copy 0.7s var(--ease) both; }
  .hero__copy > *:nth-child(1) { animation-delay: 0.15s; }
  .hero__copy > *:nth-child(2) { animation-delay: 0.25s; }
  .hero__copy > *:nth-child(3) { animation-delay: 0.35s; }
  .hero__copy > *:nth-child(4) { animation-delay: 0.45s; }
  .hero__copy > *:nth-child(5) { animation-delay: 0.55s; }

  @keyframes hero-media {
    from { opacity: 0; transform: translateY(36px); }
    to { opacity: 1; transform: none; }
  }
  @keyframes hero-copy {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: none; }
  }
}

/* ============================================================
   BUTTONS — interactive = pill
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.95rem 2.1rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.98rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background 0.25s var(--ease), transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
  white-space: nowrap;
}

.btn:active { transform: translateY(1px) scale(0.98); }

.btn--primary {
  background: var(--gold);
  color: var(--ink);
  box-shadow: var(--shadow-gold);
}

.btn--primary:hover {
  background: var(--gold-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(224, 180, 90, 0.45);
}

.btn--gold {
  background: var(--gold);
  color: var(--ink);
  box-shadow: var(--shadow-gold);
}

.btn--gold:hover {
  background: var(--gold-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(224, 180, 90, 0.45);
}

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid rgba(28, 25, 23, 0.35);
}

.btn--ghost:hover { border-color: var(--ink); background: rgba(28, 25, 23, 0.05); }

.btn--ink {
  background: var(--ink);
  color: var(--paper);
  box-shadow: var(--shadow-ink);
}

.btn--ink:hover {
  background: #33302C;
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(28, 25, 23, 0.28);
}

.btn--lg { padding: 1.1rem 2.6rem; font-size: 1.05rem; }

/* ============================================================
   ABOUT
   ============================================================ */
.about {
  padding: 7rem 0;
  background: var(--paper);
}

.about__grid {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 4.5rem;
  align-items: center;
}

.about h2 {
  font-size: clamp(2rem, 3.6vw, 2.9rem);
  font-weight: 700;
  line-height: 1.08;
  margin-bottom: 1.5rem;
}

.about p {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--muted);
  margin-bottom: 1rem;
  max-width: 60ch;
}

.about p strong { color: var(--ink); font-weight: 600; }

.about .btn { margin-top: 1.25rem; }

.about__features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.feature-tile {
  background: var(--cream);
  border-radius: var(--radius);
  padding: 1.6rem 1.4rem;
  transition: transform 0.3s var(--ease), background 0.3s var(--ease);
}

.feature-tile:hover { transform: translateY(-4px); background: var(--cream-dark); }

.feature-tile__icon { font-size: 1.5rem; margin-bottom: 0.75rem; line-height: 1; }

.feature-tile h4 {
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.3rem;
}

.feature-tile p {
  font-size: 0.88rem;
  color: var(--muted-light);
  line-height: 1.5;
  margin: 0;
}

/* ============================================================
   ROOMS — asymmetric gallery, arch on the tall card
   ============================================================ */
.rooms {
  padding: 7rem 0;
  background: var(--cream);
}

.rooms h2 {
  font-size: clamp(2rem, 3.6vw, 2.9rem);
  font-weight: 700;
  line-height: 1.08;
  max-width: 22ch;
  margin-bottom: 3rem;
}

.rooms__grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  grid-template-rows: auto auto;
  gap: 1.75rem;
}

.room-card {
  display: block;
  text-decoration: none;
}

.room-card--tall { grid-row: 1 / 3; }

.room-card__media {
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--cream-dark);
}

.room-card--tall .room-card__media { border-radius: var(--radius-arch); }

.room-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 16 / 10;
  transition: transform 0.6s var(--ease);
}

.room-card--tall .room-card__media img { aspect-ratio: 4 / 5.6; }

.room-card:hover .room-card__media img { transform: scale(1.04); }

.room-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--ink);
  margin: 1.1rem 0 0.25rem;
}

.room-card p {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.55;
  max-width: 48ch;
}

/* ============================================================
   DIRECT BOOKING — painted-wall yellow block with promo code
   ============================================================ */
.direct {
  position: relative;
  padding: 7rem 0;
  background: var(--gold);
  text-align: center;
  overflow: hidden;
}

.direct__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.1;
}

.direct__inner {
  position: relative;
  max-width: 620px;
  margin: 0 auto;
  padding-inline: 1.5rem;
}

.direct h2 {
  font-size: clamp(2.1rem, 4vw, 3.2rem);
  font-weight: 750;
  color: var(--ink);
  line-height: 1.05;
  margin-bottom: 1.25rem;
}

.direct h2 em {
  font-style: italic;
  line-height: 1.1;
  padding-bottom: 0.05em;
  color: var(--bronze-deep);
}

.direct p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: rgba(28, 25, 23, 0.78);
  margin-bottom: 2rem;
}

.direct__code {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.5rem;
  background: rgba(255, 252, 243, 0.5);
  border: 1.5px dashed rgba(28, 25, 23, 0.45);
  border-radius: var(--radius);
  color: var(--ink);
  font-size: 0.98rem;
  margin-bottom: 2rem;
}

.direct__code strong {
  font-family: monospace;
  font-size: 1.25em;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: 0.06em;
}

/* ============================================================
   GROUPS
   ============================================================ */
.groups {
  padding: 7rem 0;
  background: var(--paper);
}

.groups__inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
}

.groups__overline {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--bronze);
  display: block;
  margin-bottom: 0.9rem;
}

.groups__text h2 {
  font-size: clamp(1.9rem, 3.4vw, 2.6rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1rem;
}

.groups__text p {
  font-size: 1.05rem;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 1.75rem;
  max-width: 52ch;
}

.groups__actions { display: flex; flex-wrap: wrap; gap: 1rem; }

.groups__highlights {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.groups__highlight {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  padding: 1.1rem 1.25rem;
  border-radius: var(--radius);
  transition: background 0.25s var(--ease);
}

.groups__highlight:hover { background: var(--cream); }

.groups__highlight-icon {
  font-size: 1.4rem;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(246, 201, 115, 0.35);
  border-radius: 50% 50% 8px 8px;
  flex-shrink: 0;
}

.groups__highlight strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink);
}

.groups__highlight p {
  font-size: 0.88rem;
  color: var(--muted-light);
  margin: 0;
  line-height: 1.4;
}

/* ============================================================
   WALKING DISTANCES
   ============================================================ */
.walk {
  padding: 7rem 0;
  background: var(--paper);
}

.walk h2 {
  font-size: clamp(2rem, 3.6vw, 2.9rem);
  font-weight: 700;
  line-height: 1.08;
  margin-bottom: 3rem;
}

.walk__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem 3.5rem;
  margin-bottom: 2.75rem;
}

.walk-item {
  display: flex;
  align-items: flex-start;
  gap: 1.4rem;
}

.walk-item__time {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 750;
  color: var(--ink);
  line-height: 1;
  min-width: 4.4rem;
  font-variant-numeric: tabular-nums;
}

.walk-item__time span {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--bronze);
  margin-top: 0.3rem;
}

.walk-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.2rem;
}

.walk-item p {
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.55;
  max-width: 40ch;
}

/* ============================================================
   FAQ
   ============================================================ */
.faq {
  padding: 7rem 0;
  background: var(--cream);
}

.faq h2 {
  font-size: clamp(2rem, 3.6vw, 2.9rem);
  font-weight: 700;
  line-height: 1.08;
  margin-bottom: 3rem;
}

.faq__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem 3.5rem;
}

.faq-item h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.45rem;
}

.faq-item p {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.65;
  max-width: 55ch;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--ink);
  color: var(--muted-light);
  padding: 4rem 0 2rem;
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.2fr;
  gap: 3rem;
  margin-bottom: 2.5rem;
}

.footer__logo { margin-bottom: 0.9rem; }

.footer__logo img {
  height: 38px;
  width: auto;
  filter: brightness(0) invert(1);
}

.footer__brand p {
  font-size: 0.9rem;
  line-height: 1.65;
  max-width: 34ch;
  color: #A8A29E;
}

.footer__col h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--cream);
  margin-bottom: 1rem;
}

.footer__col a {
  display: block;
  font-size: 0.88rem;
  text-decoration: none;
  color: #A8A29E;
  padding-block: 0.3rem;
  transition: color 0.2s;
}

.footer__col a:hover { color: var(--gold); }

.footer__bottom {
  border-top: 1px solid rgba(255, 253, 249, 0.1);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-size: 0.82rem;
  color: #A8A29E;
}

.footer__legal { display: flex; gap: 1.5rem; }

.footer__legal a {
  text-decoration: none;
  color: #A8A29E;
  transition: color 0.2s;
}

.footer__legal a:hover { color: var(--gold); }

/* ============================================================
   WHATSAPP FLOATING WIDGET (markup unchanged)
   ============================================================ */
.wa-widget {
  position: fixed;
  bottom: 1.5rem;
  inset-inline-end: 1.5rem;
  z-index: 9000;
  font-family: var(--font-body);
}

.wa-widget__btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.35);
  transition: transform 0.2s, box-shadow 0.2s;
  color: #fff;
  position: relative;
  z-index: 2;
}

.wa-widget__btn:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.45);
}

.wa-widget__icon-close { display: none; }
.wa-widget__toggle:checked ~ .wa-widget__btn .wa-widget__icon-wa { display: none; }
.wa-widget__toggle:checked ~ .wa-widget__btn .wa-widget__icon-close { display: block; }

.wa-widget__popup {
  position: absolute;
  bottom: 76px;
  inset-inline-end: 0;
  width: 340px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.15);
  overflow: hidden;
  opacity: 0;
  transform: translateY(12px) scale(0.95);
  transform-origin: bottom right;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

[dir="rtl"] .wa-widget__popup { transform-origin: bottom left; }

.wa-widget__toggle:checked ~ .wa-widget__popup {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.wa-widget__header {
  background: #075E54;
  padding: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.wa-widget__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}

.wa-widget__avatar img { width: 30px; height: auto; }

.wa-widget__name { color: #fff; font-weight: 600; font-size: 0.95rem; }

.wa-widget__status {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.78rem;
  margin-top: 0.1rem;
}

.wa-widget__body {
  padding: 1.25rem;
  background: #E5DDD5;
}

.wa-widget__bubble {
  background: #fff;
  padding: 0.75rem 1rem;
  border-radius: 0 10px 10px 10px;
  font-size: 0.88rem;
  line-height: 1.5;
  color: #333;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
  max-width: 85%;
}

.wa-widget__send {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem;
  background: #25D366;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: background 0.2s;
}

.wa-widget__send:hover { background: #1EBE57; }

/* ============================================================
   DIRECT-BOOKING MODAL (same ids/classes, new look)
   ============================================================ */
.modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal--visible { opacity: 1; pointer-events: auto; }

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(28, 25, 23, 0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.modal__card {
  position: relative;
  background: var(--paper);
  border-radius: var(--radius);
  max-width: 440px;
  width: calc(100% - 2rem);
  padding: 2.75rem 2rem 2rem;
  text-align: center;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.25);
  transform: translateY(20px) scale(0.96);
  transition: transform 0.35s var(--ease);
  overflow: hidden;
}

.modal--visible .modal__card { transform: none; }

.modal__accent {
  position: absolute;
  top: 0;
  inset-inline: 0;
  height: 6px;
  background: linear-gradient(90deg, var(--gold), var(--gold-dark));
}

.modal__close {
  position: absolute;
  top: 0.85rem;
  inset-inline-end: 0.85rem;
  width: 36px;
  height: 36px;
  border: none;
  background: var(--cream);
  border-radius: 50%;
  font-size: 1.4rem;
  color: var(--muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, color 0.2s;
  line-height: 1;
}

.modal__close:hover { background: var(--cream-dark); color: var(--ink); }

.modal__tag {
  display: inline-block;
  padding: 0.35rem 1rem;
  background: var(--gold);
  color: var(--ink);
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1.25rem;
}

.modal__title {
  font-size: 1.7rem;
  font-weight: 750;
  color: var(--ink);
  line-height: 1.12;
  margin-bottom: 0.9rem;
}

.modal__text {
  font-size: 0.98rem;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 1.25rem;
}

.modal__text strong { color: var(--ink); }

.modal__code-box {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 1rem 1.25rem;
  background: var(--cream);
  border: 1.5px dashed var(--gold-dark);
  border-radius: var(--radius);
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
  color: var(--muted);
}

.modal__code-box > strong {
  font-family: monospace;
  font-size: 1.2em;
  color: var(--ink);
  letter-spacing: 0.05em;
}

.modal__cta {
  width: 100%;
  margin-bottom: 0.75rem;
}

.modal__dismiss {
  background: none;
  border: none;
  font-family: var(--font-body);
  font-size: 0.82rem;
  color: var(--muted-light);
  cursor: pointer;
  padding: 0.5rem;
  transition: color 0.2s;
}

.modal__dismiss:hover { color: var(--muted); }

/* ============================================================
   BOOKING BAR (custom range picker, redirects to direct-book.com)
   ============================================================ */
.bw {
  position: fixed;
  bottom: 1.25rem;
  left: 0;
  right: 0;
  z-index: 95;
  display: flex;
  justify-content: center;
  padding: 0 1rem;
  pointer-events: none;
}

.bw__bar {
  pointer-events: auto;
  position: relative;
  display: flex;
  align-items: center;
  background: rgba(255, 253, 249, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(138, 100, 32, 0.22);
  border-radius: var(--radius-pill);
  box-shadow: 0 12px 40px rgba(28, 25, 23, 0.18);
  padding: 0.45rem 0.45rem;
  padding-inline-start: 0.45rem;
}

@media (prefers-reduced-motion: no-preference) {
  html.js .bw__bar { animation: bw-rise 0.7s var(--ease) 0.6s both; }

  @keyframes bw-rise {
    from { opacity: 0; transform: translateY(60px); }
    to { opacity: 1; transform: none; }
  }
}

.bw__field {
  display: flex;
  flex-direction: column;
  padding-inline: 1.4rem;
  padding-block: 0.15rem;
  cursor: pointer;
  border: none;
  background: none;
  font-family: var(--font-body);
  text-align: start;
  border-radius: var(--radius-pill);
  transition: background 0.2s;
}

.bw__field:hover { background: rgba(246, 201, 115, 0.2); }

.bw__field + .bw__field { border-inline-start: 1px solid var(--cream-dark); border-start-start-radius: 0; border-end-start-radius: 0; }

.bw__field label,
.bw__field .bw__label {
  font-size: 0.66rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--bronze);
  cursor: pointer;
}

.bw__value {
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
  padding: 0.1rem 0;
  min-width: 4.5rem;
}

.bw__btn {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.98rem;
  background: var(--gold);
  color: var(--ink);
  border: none;
  border-radius: var(--radius-pill);
  padding: 0.85rem 1.9rem;
  margin-inline-start: 0.6rem;
  cursor: pointer;
  transition: background 0.25s var(--ease), transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
  box-shadow: 0 4px 16px rgba(224, 180, 90, 0.35);
  white-space: nowrap;
}

.bw__btn:hover {
  background: var(--gold-dark);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(224, 180, 90, 0.45);
}

.bw__btn:active {
  transform: translateY(1px) scale(0.98);
}

/* --- Calendar & guests popups --- */
.bw-cal,
.bw-guests {
  position: absolute;
  bottom: calc(100% + 0.9rem);
  left: 50%;
  transform: translateX(-50%);
  background: var(--paper);
  border: 1px solid rgba(138, 100, 32, 0.18);
  border-radius: var(--radius);
  box-shadow: 0 18px 48px rgba(28, 25, 23, 0.22);
  padding: 1.25rem;
}

.bw-cal[hidden],
.bw-guests[hidden] { display: none !important; }

.bw-cal__months {
  display: flex;
  gap: 1.75rem;
}

.bw-cal__month { width: 258px; }

.bw-cal__title {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--ink);
  text-align: center;
  margin-bottom: 0.6rem;
}

.bw-cal__title::first-letter { text-transform: uppercase; }

.bw-cal__grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  row-gap: 2px;
}

.bw-cal__wd {
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--muted-light);
  text-align: center;
  padding-bottom: 0.35rem;
  text-transform: uppercase;
}

.bw-cal__day {
  aspect-ratio: 1;
  border: none;
  background: transparent;
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--ink);
  cursor: pointer;
  border-radius: 50%;
  position: relative;
  transition: background 0.15s;
}

.bw-cal__day:hover:not(:disabled) { background: var(--cream-dark); }

.bw-cal__day:disabled {
  color: #C9C2B6;
  cursor: default;
}

.bw-cal__day.is-today::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--bronze);
}

/* selected endpoints echo the arch: rounded top, squared bottom */
.bw-cal__day.is-start,
.bw-cal__day.is-end {
  background: var(--gold);
  color: var(--ink);
  font-weight: 600;
  border-radius: 50% 50% 10px 10px;
}

.bw-cal__day.is-start:hover,
.bw-cal__day.is-end:hover { background: var(--gold-dark); }

.bw-cal__day.is-range {
  background: rgba(246, 201, 115, 0.4);
  border-radius: 0;
}

.bw-cal__nav {
  position: absolute;
  top: 1.1rem;
  width: 32px;
  height: 32px;
  border: 1.5px solid var(--cream-dark);
  background: var(--paper);
  border-radius: 50%;
  color: var(--bronze);
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}

.bw-cal__nav:hover:not(:disabled) { border-color: var(--bronze); background: var(--cream); }
.bw-cal__nav:disabled { color: #C9C2B6; cursor: default; }
.bw-cal__nav--prev { inset-inline-start: 1.1rem; }
.bw-cal__nav--next { inset-inline-end: 1.1rem; }
[dir="rtl"] .bw-cal__nav--prev,
[dir="rtl"] .bw-cal__nav--next { transform: scaleX(-1); }

/* guests stepper */
.bw-guests {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  padding: 0.9rem 1.15rem;
  left: auto;
  inset-inline-end: 6.5rem;
  transform: none;
}

.bw-guests__btn {
  width: 34px;
  height: 34px;
  border: 1.5px solid rgba(138, 100, 32, 0.45);
  background: none;
  border-radius: 50%;
  color: var(--bronze);
  font-size: 1.15rem;
  line-height: 1;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}

.bw-guests__btn:hover:not(:disabled) { border-color: var(--bronze); background: rgba(246, 201, 115, 0.18); }
.bw-guests__btn:disabled { border-color: var(--cream-dark); color: #C9C2B6; cursor: default; }

.bw-guests__num {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ink);
  min-width: 1.5rem;
  text-align: center;
  font-variant-numeric: tabular-nums;
}

@media (max-width: 670px) {
  .bw {
    bottom: 0.75rem;
    padding: 0 0.75rem;
  }

  .bw__bar {
    width: 100%;
    padding: 0.4rem 0.4rem;
  }

  .bw__field {
    flex: 1;
    min-width: 0;
    padding-inline: 0.75rem;
  }

  .bw__value {
    font-size: 0.86rem;
    min-width: 0;
    white-space: nowrap;
  }

  .bw__btn {
    flex-shrink: 0;
    padding: 0.7rem 1.1rem;
    font-size: 0.9rem;
    margin-inline-start: 0.25rem;
  }

  .bw-cal {
    width: calc(100vw - 2rem);
    max-width: 330px;
    padding: 1rem;
  }

  .bw-cal__month { width: 100%; }

  .bw-guests { inset-inline-end: 0; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .hero__inner { gap: 2.5rem; }
  .rooms__grid { gap: 1.25rem; }
}

@media (max-width: 768px) {
  .nav__links { display: none; }
  .nav__lang { margin-inline-start: 0; }

  .hero {
    min-height: 0;
    padding: 6.5rem 0 3.5rem;
  }

  .hero__inner {
    grid-template-columns: 1fr;
    gap: 2.25rem;
  }

  .hero__media { order: -1; max-width: 420px; margin-inline: auto; width: 100%; }
  .hero__img { aspect-ratio: 4 / 4.4; }
  .hero__actions { margin-bottom: 2rem; }
  .hero__stats { gap: 1.5rem 2rem; }
  .hero__stat { flex: 0 0 calc(50% - 1rem); }

  .about, .rooms, .direct, .groups, .walk, .faq { padding: 4.5rem 0; }

  .walk__grid,
  .faq__grid { grid-template-columns: 1fr; gap: 1.75rem; }

  .about__grid,
  .groups__inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .rooms__grid { grid-template-columns: 1fr; }
  .room-card--tall { grid-row: auto; }
  .room-card--tall .room-card__media img { aspect-ratio: 4 / 4.6; }

  .footer__grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer__bottom { flex-direction: column; text-align: center; }

  .wa-widget { display: none; }

  /* keep content clear of the fixed Lobby booking bar */
  .footer { padding-bottom: 7rem; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 2.3rem; }
  .hero__actions { flex-direction: column; align-items: stretch; }
  .btn { white-space: normal; }
  .about__features { grid-template-columns: 1fr; }
  .groups__actions { flex-direction: column; }
  .direct { padding: 4rem 0; }
  .modal__card { padding: 2.25rem 1.5rem 1.5rem; }
  .modal__title { font-size: 1.45rem; }
}
