﻿/* The Miami Hotel Cartagena — consolidated, token-driven stylesheet */

/* ---------- Base ---------- */
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }
*, *::before, *::after { box-sizing: border-box; }

body {
  color: var(--ink);
  background: var(--bg);
  font-family: var(--font-sans);
  line-height: 1.5;
  transition: background .3s var(--ease), color .3s var(--ease);
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; border-radius: var(--radius); }

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* Background constellation canvas */
.bg-net { position: fixed; inset: 0; z-index: -1; pointer-events: none; }
#bg-net { width: 100%; height: 100%; display: block; }
:root { --net-dot: rgba(15,110,107,.35); --net-line: rgba(15,110,107,.12); }
:root[data-theme="dark"] { --net-dot: rgba(47,166,161,.45); --net-line: rgba(47,166,161,.14); }

@media (prefers-reduced-motion: reduce) {
  .bg-net { display: none; }
}

/* ---------- Buttons (shared) ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; padding: 12px 22px; border-radius: var(--radius);
  font-weight: 700; font-size: .95rem; letter-spacing: .2px;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease);
}
.btn.cta {
  background: var(--accent);
  color: var(--ink-inverse);
  box-shadow: var(--shadow-sm);
}
.btn.cta:hover { background: var(--accent-strong); transform: translateY(-1px); box-shadow: var(--shadow); }
.btn.cta:active { transform: translateY(0); }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 1000;
  width: 100%; margin: 0; padding: 0;
  color: var(--header-ink); background: var(--header-bg);
  border: 0; border-bottom: 1px solid var(--header-ring); border-radius: 0;
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  transition: transform .4s var(--ease), background .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.site-header.hide { transform: translateY(-100%); }
.site-header .wrap { display: none; max-width: 1400px; margin: 0 auto; padding: 0 var(--gutter); }

.site-header .head-row {
  display: flex; align-items: center; justify-content: space-between;
  max-width: 1400px; margin: 0 auto; padding: 12px var(--gutter);
}
.menu-toggle {
  display: flex; flex-direction: column; gap: 4px;
  width: 40px; height: 40px; align-items: center; justify-content: center;
  background: transparent; border: 0; cursor: pointer; border-radius: var(--radius-sm);
}
.menu-toggle .bar { width: 20px; height: 2px; background: var(--header-ink); border-radius: 2px; transition: background .2s; }
.menu-toggle:hover { background: var(--header-ring); }

.brand { display: flex; align-items: center; }
.brand img { height: 30px; width: auto; }
.brand-center { display: none; }

.nav-split { display: flex; align-items: center; gap: 32px; padding: 14px 0; }
.links { list-style: none; display: flex; gap: 22px; margin: 0; padding: 0; }
.link { font-weight: 600; font-size: .92rem; opacity: .92; transition: opacity .2s, color .2s; }
.link:hover { opacity: 1; color: var(--accent); }

.header-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }

.theme-toggle, .lang-toggle {
  display: inline-flex; align-items: center; gap: 4px;
}
.theme-toggle button, .lang-toggle button {
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--header-ring); background: transparent;
  color: var(--header-ink); cursor: pointer;
  transition: background .2s, border-color .2s, color .2s;
}
.theme-toggle button {
  width: 36px; height: 36px; border-radius: 50%;
}
.theme-toggle button:hover { background: var(--header-ring-strong); }
.theme-toggle .icon-sun { display: none; }
.theme-toggle .icon-moon { display: block; }
:root[data-theme="dark"] .theme-toggle .icon-sun { display: block; }
:root[data-theme="dark"] .theme-toggle .icon-moon { display: none; }
.theme-toggle svg { width: 18px; height: 18px; fill: currentColor; }

.lang-toggle { border: 1px solid var(--header-ring); border-radius: var(--radius); padding: 2px; }
.lang-toggle button {
  border: 0; border-radius: var(--radius); padding: 5px 10px; font-size: .78rem; font-weight: 800;
  letter-spacing: .04em; opacity: .7;
}
.lang-toggle button.is-active { background: var(--accent); color: var(--ink-inverse); opacity: 1; }

.nav-backdrop {
  position: fixed; inset: 0; z-index: 999; background: var(--overlay);
  opacity: 0; transition: opacity .3s var(--ease);
}
#primary-nav.nav-panel {
  position: fixed; top: 0; right: 0; height: 100%; width: min(320px, 86vw);
  z-index: 1001; background: var(--surface); color: var(--ink);
  display: flex; flex-direction: column; gap: 4px; padding: 90px 22px 22px;
  transform: translateX(100%); transition: transform .35s var(--ease);
  box-shadow: var(--shadow-lg);
}
#primary-nav.nav-panel.open { transform: translateX(0); }
.nav-link {
  padding: 12px 6px; border-bottom: 1px solid var(--header-ring); font-weight: 700;
}
.nav-link.cta { color: var(--accent); }
.nav-panel .header-actions { margin-top: 12px; justify-content: flex-start; }
.nav-panel .theme-toggle button,
.nav-panel .lang-toggle button { color: var(--ink); border-color: var(--ring); }

@media (min-width: 900px) {
  .site-header .wrap { display: block; }
  .site-header .head-row { display: none; }
  #primary-nav.nav-panel { display: none; }
  .nav-backdrop { display: none; }
}
@media (max-width: 899px) {
  .site-header .head-row { display: flex; }
  .nav-split { display: none; }
}

/* ---------- Hero ---------- */
#guest.hero {
  position: relative; z-index: 1;
  width: min(840px, calc(100% - (var(--gutter) * 2)));
  margin: clamp(90px, 14vw, 130px) auto 0;
  padding: clamp(18px, 4vw, 32px) clamp(16px, 3.2vw, 26px);
  color: var(--ink); background: var(--surface);
  border: 1px solid var(--ring); border-radius: var(--radius-lg);
  box-shadow: var(--shadow); text-align: center;
}
.hero-wrap { max-width: 64ch; margin: 0 auto; }
.hero-title {
  margin: 0 auto 10px; font-size: clamp(22px, 5vw, 38px); font-weight: 900;
  line-height: 1.15; letter-spacing: -.01em;
}
.hero-divider {
  display: block; width: min(180px, 40%); height: 2px; margin: 10px auto 14px;
  background: linear-gradient(90deg, transparent, var(--accent-warm), transparent);
}
.hero-subtitle { margin: 4px auto; max-width: 60ch; font-size: clamp(13px, 2.2vw, 16px); color: var(--ink-muted); }

#hero.hero {
  position: relative; z-index: 1;
  width: min(1120px, calc(100% - (var(--gutter) * 2)));
  margin: clamp(20px, 4vw, 40px) auto; padding: clamp(30px, 5vw, 56px) clamp(16px, 3.2vw, 26px);
  text-align: center; overflow: hidden;
}
.hero-logo { margin: 0 auto 18px; max-width: 420px; height: auto; }
#hero .hero-subtitle { font-size: clamp(15px, 2.4vw, 19px); margin-bottom: 22px; }
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero-deco { display: none; }

/* ---------- Modal shared shell (contact / booking / rentals) ---------- */
.contact-modal, .rm-modal {
  position: fixed; inset: 0; z-index: 9999; display: none;
  align-items: center; justify-content: center; padding: 16px;
}
.contact-modal.is-open, .rm-modal.is-open { display: flex; }
.contact-backdrop, .rm-backdrop {
  position: absolute; inset: 0; background: var(--overlay); backdrop-filter: blur(4px);
}
.contact-dialog, .rm-dialog {
  position: relative; width: min(720px, 94vw); max-height: 90vh; overflow: auto;
  color: var(--ink); background: var(--surface);
  border: 1px solid var(--ring); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); padding: 22px 22px 24px;
}
.contact-close, .rm-close {
  position: absolute; top: 12px; right: 12px; width: 36px; height: 36px; border-radius: var(--radius-sm);
  border: 1px solid var(--ring); background: var(--surface-2); color: var(--ink);
  font-size: 18px; cursor: pointer; display: grid; place-items: center;
  transition: transform .2s, background .2s;
}
.contact-close:hover, .rm-close:hover { transform: scale(1.06); background: var(--ring); }
.contact-title, .rm-title { margin: 2px 2px 6px; font-size: clamp(20px,3vw,26px); font-weight: 800; }
.contact-sub, .rm-sub { margin: 0 2px 16px; color: var(--ink-muted); }
.contact-opts, .rm-opts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 16px; }
.contact-opt, .rm-opt {
  display: flex; flex-direction: column; gap: 2px; padding: 14px; border-radius: var(--radius);
  color: var(--ink); background: var(--surface-2); border: 1px solid var(--ring);
  transition: transform .2s, border-color .2s, box-shadow .2s;
}
.contact-opt:hover, .rm-opt:hover { transform: translateY(-2px); border-color: var(--ring-strong); box-shadow: var(--shadow-sm); }
.co-title, .rm-co-title { font-weight: 800; font-size: .95rem; }
.co-val, .rm-co-val { font-size: .88rem; color: var(--ink-muted); word-break: break-word; }

.contact-loc, .rm-loc { margin-top: 10px; }
.loc-title, .rm-loc-title { margin: 2px 2px 6px; font-size: 1rem; font-weight: 800; }
.loc-sub, .rm-loc-sub { margin: 0 2px 10px; font-size: .9rem; color: var(--ink-muted); }
.map-card, .rm-map-card {
  position: relative; width: 100%; aspect-ratio: 16/10; border-radius: var(--radius);
  border: 1px solid var(--ring); overflow: hidden; background: var(--surface-2);
}
.map-frame, .rm-map-frame { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-link, .rm-map-link {
  display: inline-block; margin-top: 10px; font-weight: 700; color: var(--accent);
  border-bottom: 1px dashed var(--accent);
}

@media (max-width: 820px) {
  .contact-opts, .rm-opts { grid-template-columns: 1fr; }
  .map-card, .rm-map-card { aspect-ratio: 4/3; }
}

/* ---------- Booking modals (WuBook iframe) ---------- */
.link-modal {
  position: fixed; inset: 0; display: none; align-items: center; justify-content: center;
  background: var(--overlay); backdrop-filter: blur(8px); z-index: 9999; padding: 12px;
}
.link-modal.active, .link-modal[style*="flex"] { display: flex; }
.link-modal__content {
  position: relative; width: 96vw; max-width: 1100px; height: 96vh; max-height: 800px;
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg);
  display: flex; flex-direction: column; background: var(--surface);
}
.link-modal__close {
  position: absolute; top: 8px; right: 12px; width: 34px; height: 34px; border-radius: 50%;
  border: 0; background: rgba(0,0,0,.55); color: #fff; font-size: 20px; cursor: pointer;
  display: flex; align-items: center; justify-content: center; z-index: 10;
}
#link-frame, #wubook-iframe-container { flex: 1; width: 100%; height: 100%; border: 0; }
#wubook-iframe-container { background: var(--surface-2); }

/* ---------- Lightbox modal (Services gallery) ---------- */
#srvModal {
  position: fixed; inset: 0; z-index: 9999; display: none;
  align-items: center; justify-content: center; background: rgba(8,10,12,.82);
  backdrop-filter: blur(6px) saturate(140%);
}
#srvModal.is-open { display: flex; }

#srvModal .sv-dialog {
  position: relative; width: min(1100px, 94vw); aspect-ratio: 16/9;
  background: #000; border: 1px solid rgba(255,255,255,.18); border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: 0 24px 64px rgba(0,0,0,.6);
}

#srvModal .sv-track { position: relative; width: 100%; height: 100%; }

#srvModal .sv-slide {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transform: scale(1.05); transition: opacity .6s ease, transform 1.6s ease;
}
#srvModal .sv-slide.is-active { opacity: 1; transform: scale(1); }

#srvModal .sv-x, #srvModal .sv-arrow {
  position: absolute; border-radius: 50%; border: 1px solid rgba(255,255,255,.3);
  background: rgba(0,0,0,.45); display: grid; place-items: center; cursor: pointer; z-index: 3;
  transition: background .2s, transform .2s;
}
#srvModal .sv-x:hover, #srvModal .sv-arrow:hover { background: rgba(0,0,0,.7); }
#srvModal .sv-x { top: 10px; right: 10px; width: 40px; height: 40px; }
#srvModal .sv-arrow { top: 50%; transform: translateY(-50%); width: 42px; height: 42px; z-index: 2; }
#srvModal .sv-prev { left: 12px; }
#srvModal .sv-next { right: 12px; }
#srvModal svg { width: 20px; height: 20px; fill: #fff; }

#srvModal .sv-dots {
  position: absolute; left: 0; right: 0; bottom: 12px; display: flex; gap: 8px;
  justify-content: center; align-items: center; padding: 0 12px;
}
#srvModal .sv-dot {
  width: 14px; height: 3px; border-radius: 2px; background: rgba(255,255,255,.5);
  cursor: pointer; transition: transform .2s, background .2s;
}
#srvModal .sv-dot.is-active { background: var(--accent-warm); transform: scaleX(1.6); }

@media (max-width: 768px) {
  #srvModal .sv-dialog { width: 94vw; aspect-ratio: 4/3; border-radius: var(--radius-lg); }
}
@media (max-width: 480px) {
  #srvModal .sv-dialog { width: 98vw; aspect-ratio: 1/1; border-radius: var(--radius); }
}

/* ---------- Rooms (uniform card grid for every bookable unit) ---------- */
.rooms-section { }
.rooms-head, .cb-head, .srv-head {
  text-align: center; margin: 0 auto 32px; max-width: 720px;
}
.rooms-eyebrow, .eyebrow {
  display: block; margin: 0 0 8px; font-size: .78rem; letter-spacing: .22em;
  text-transform: uppercase; color: var(--accent-warm); font-weight: 700;
}
.rooms-title, .cb-title, .srv-title {
  margin: 0 0 10px; font-size: clamp(24px, 3.6vw, 38px); font-weight: 900; letter-spacing: -.01em;
}
.rooms-subtitle, .cb-subtitle, .srv-subtitle {
  margin: 0; color: var(--ink-muted); font-size: clamp(14px, 1.6vw, 16px); line-height: 1.6;
}

.rooms-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 24px;
  max-width: 1180px; margin: 0 auto;
}
.room-card {
  background: var(--surface); border: 1px solid var(--ring); border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .25s var(--ease), box-shadow .25s var(--ease);
  display: flex; flex-direction: column;
}
.room-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.room-card__media { position: relative; aspect-ratio: 4/3; overflow: hidden; background: var(--surface-2); }
.room-card__media img { width: 100%; height: 100%; object-fit: cover; border-radius: 0; }
.room-card__price {
  position: absolute; top: 14px; left: 14px; z-index: 2; padding: 6px 12px; border-radius: var(--radius);
  background: var(--accent); color: var(--ink-inverse); font-weight: 800; font-size: .78rem; letter-spacing: .04em;
}
.room-card__body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.room-card__name { margin: 0; font-size: clamp(17px, 2vw, 20px); font-weight: 800; }
.room-card__meta { margin: 0 0 4px; color: var(--ink-muted); font-size: .88rem; flex: 1; }
.room-card__reserve { align-self: flex-start; }

section[id] { padding: clamp(48px, 6vw, 84px) var(--gutter); scroll-margin-top: 110px; }
#reservar { padding-top: 0; padding-bottom: 0; }

/* ---------- Experience / amenity cards ---------- */
.cards-blue { }
.cb-wrap { max-width: 1180px; margin: 0 auto; }
.cb-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.cb-card {
  background: var(--surface); border: 1px solid var(--ring); border-radius: var(--radius-lg);
  padding: 24px; box-shadow: var(--shadow-sm); transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.cb-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.cb-name { margin: 0 0 10px; font-size: 1.15rem; font-weight: 800; }
.cb-text { margin: 0; color: var(--ink-muted); line-height: 1.6; }
.cb-actions { margin-top: 14px; }
.ig-circle {
  display: inline-flex; width: 40px; height: 40px; border-radius: 50%; align-items: center; justify-content: center;
  background: var(--accent); color: var(--ink-inverse); transition: transform .2s, background .2s;
}
.ig-circle:hover { transform: scale(1.08); background: var(--accent-strong); }
.ig-circle svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.cb-video { padding: 0; overflow: hidden; }
.cb-media.yt-embed { position: relative; aspect-ratio: 16/9; }
.yt-frame { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.cb-video .cb-body { padding: 20px 22px; }


/* ---------- Services ---------- */
.srv-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; max-width: 1180px; margin: 0 auto; }
.srv-card {
  background: var(--surface); border: 1px solid var(--ring); border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.srv-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.srv-media { position: relative; aspect-ratio: 4/3; overflow: hidden; }
.srv-media img { width: 100%; height: 100%; object-fit: cover; }
.srv-body { padding: 18px 20px 22px; text-align: left; }
.srv-body h3 { margin: 0 0 10px; font-size: 1.1rem; font-weight: 800; }
.srv-body p { margin: 0 0 16px; color: var(--ink-muted); line-height: 1.55; font-size: .94rem; }
.srv-highlight:empty { display: none; }

/* ---------- About ---------- */
#about-ghost { display: flex; justify-content: center; }
.ag-wrap {
  width: min(1000px, 100%); margin: 0 auto; text-align: center;
  background: var(--surface); border: 1px solid var(--ring); border-radius: var(--radius-lg);
  padding: clamp(30px, 4vw, 48px) clamp(20px, 4vw, 44px); box-shadow: var(--shadow);
}
.ag-eyebrow { margin: 0 0 10px; font-size: .8rem; letter-spacing: .22em; text-transform: uppercase; color: var(--accent-warm); font-weight: 700; }
.ag-title { margin: 0; font-size: clamp(26px, 4.6vw, 44px); font-weight: 900; line-height: 1.15; }
.ag-divider { display: block; width: min(180px, 40%); height: 2px; margin: 16px auto; background: linear-gradient(90deg, transparent, var(--accent-warm), transparent); }
.ag-body { max-width: 68ch; margin: 0 auto; }
.ag-text { margin: 0 0 14px; color: var(--ink-muted); line-height: 1.68; }
.ag-kicker { margin: 12px 0 0; font-size: 1.1rem; font-weight: 800; color: var(--accent); }

/* ---------- Reserve CTA ---------- */
.reserve-cta { display: flex; align-items: center; justify-content: center; padding: 28px var(--gutter); }
.cta-circle {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  width: 64px; height: 64px; border-radius: 50%; background: var(--whatsapp);
  box-shadow: var(--shadow); transition: transform .2s;
}
.cta-circle:hover { transform: scale(1.06); }
.circle-icon { width: 32px; height: 32px; filter: brightness(0) invert(1); }
.circle-glow { position: absolute; inset: -6px; border-radius: 50%; border: 2px solid var(--whatsapp); opacity: .5; }

/* ---------- Footer ---------- */
.site-footer {
  position: relative; margin-top: 32px; padding: 56px var(--gutter) 32px;
  background: var(--surface-2); border-top: 1px solid var(--ring); overflow: hidden;
}
.footer-waves { position: absolute; inset: 0; opacity: .5; pointer-events: none; z-index: 0; }
.footer-waves .wave-svg { width: 100%; height: 60px; fill: var(--ring); }
.footer-inner {
  position: relative; z-index: 1; max-width: 1180px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px;
}
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-logo { width: 44px; height: 44px; border-radius: var(--radius-sm); }
.footer-copy { margin: 0; font-weight: 700; color: var(--ink-muted); }
.footer-nav .f-link {
  display: inline-flex; padding: 10px 20px; border-radius: var(--radius); font-weight: 700;
  background: var(--accent); color: var(--ink-inverse);
}
.footer-nav .f-link:hover { background: var(--accent-strong); }

/* ---------- WhatsApp floating widget ---------- */
.whatsapp-float {
  position: fixed; right: 22px; bottom: 22px; width: 58px; height: 58px; border-radius: 50%;
  background: var(--whatsapp); border: 0; display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow); transition: transform .25s ease, box-shadow .3s ease; z-index: 11000; cursor: pointer;
}
.whatsapp-float:hover { transform: scale(1.08) translateY(-2px); }
.whatsapp-float svg path { fill: #fff; }

.wa-dialog[hidden] { display: none; }
.wa-dialog { position: fixed; inset: 0; z-index: 12000; }
.wa-backdrop { position: absolute; inset: 0; background: var(--overlay); }
.wa-card {
  position: absolute; right: 22px; bottom: 92px; width: min(420px, calc(100% - 32px));
  background: var(--surface); color: var(--ink); border: 1px solid var(--ring);
  border-radius: var(--radius); box-shadow: var(--shadow-lg); overflow: hidden;
  display: flex; flex-direction: column; gap: 12px;
}
.wa-card__head { display: flex; align-items: center; justify-content: space-between; padding: 16px 16px 4px; }
.wa-card__title { margin: 0; font-size: 18px; font-weight: 800; }
.wa-card__sub { margin: 0 16px; font-size: 13px; color: var(--ink-muted); }
.wa-close { border: 0; background: transparent; font-size: 24px; line-height: 1; cursor: pointer; color: var(--ink-muted); padding: 4px 6px; border-radius: var(--radius-sm); }
.wa-close:hover { background: var(--surface-2); }
.wa-quick { display: flex; gap: 8px; flex-wrap: wrap; padding: 0 16px; }
.wa-chip {
  border: 1px solid var(--ring); background: var(--surface-2); color: var(--ink);
  padding: 6px 12px; border-radius: var(--radius); font-size: 12px; cursor: pointer;
}
.wa-chip:hover { background: var(--ring); }
.wa-label { display: block; padding: 0 16px; font-size: 12px; color: var(--ink-muted); }
.wa-input {
  margin: 0 16px; width: calc(100% - 32px); resize: vertical; min-height: 96px; max-height: 40vh;
  padding: 10px 12px; border-radius: var(--radius); border: 1px solid var(--ring); outline: none;
  font: inherit; line-height: 1.5; background: var(--surface); color: var(--ink);
}
.wa-input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--ring); }
.wa-meta { display: flex; align-items: center; justify-content: space-between; padding: 0 16px; font-size: 12px; color: var(--ink-muted); }
.wa-actions { display: flex; gap: 10px; justify-content: flex-end; padding: 8px 16px 16px; }
.wa-btn {
  appearance: none; border: 0; cursor: pointer; padding: 10px 16px; border-radius: var(--radius-sm); font-weight: 700;
  background: var(--whatsapp); color: #fff; transition: transform .2s, filter .2s;
}
.wa-btn:hover { transform: translateY(-1px); filter: brightness(1.05); }
.wa-btn--ghost { background: var(--surface-2); color: var(--ink); border: 1px solid var(--ring); }

/* ---------- Room detail page ---------- */
.room-detail { padding: clamp(32px, 5vw, 56px) var(--gutter) clamp(48px, 6vw, 84px); }
.room-detail__wrap { max-width: 1180px; margin: 0 auto; }
.room-detail__back {
  display: inline-flex; align-items: center; gap: 6px; margin-bottom: 20px;
  font-weight: 700; color: var(--accent);
}
.room-detail__back:hover { text-decoration: underline; }

.room-detail__layout {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: start;
}
@media (max-width: 900px) { .room-detail__layout { grid-template-columns: 1fr; } }

.room-gallery__main {
  position: relative; aspect-ratio: 4/3; border-radius: var(--radius-lg); overflow: hidden;
  background: var(--surface-2); box-shadow: var(--shadow);
}
.room-gallery__main img { width: 100%; height: 100%; object-fit: cover; border-radius: 0; }
.room-gallery__nav {
  position: absolute; top: 50%; transform: translateY(-50%); width: 42px; height: 42px;
  border-radius: 50%; border: 1px solid rgba(255,255,255,.3); background: rgba(0,0,0,.45);
  color: #fff; font-size: 22px; line-height: 1; display: grid; place-items: center; cursor: pointer;
  transition: background .2s;
}
.room-gallery__nav:hover { background: rgba(0,0,0,.7); }
.room-gallery__prev { left: 12px; }
.room-gallery__next { right: 12px; }

.room-gallery__thumbs { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.room-gallery__thumb {
  width: 72px; height: 56px; padding: 0; border-radius: var(--radius); overflow: hidden;
  border: 2px solid transparent; cursor: pointer; opacity: .7; transition: opacity .2s, border-color .2s;
}
.room-gallery__thumb img { width: 100%; height: 100%; object-fit: cover; border-radius: 0; }
.room-gallery__thumb:hover { opacity: 1; }
.room-gallery__thumb.is-active { opacity: 1; border-color: var(--accent); }

.room-detail__info { display: flex; flex-direction: column; gap: 10px; }
.room-detail__price {
  align-self: flex-start; padding: 6px 14px; border-radius: var(--radius);
  background: var(--accent); color: var(--ink-inverse); font-weight: 800; font-size: .85rem; letter-spacing: .04em;
}
.room-detail__name { margin: 4px 0 0; font-size: clamp(26px, 3.6vw, 38px); font-weight: 900; }
.room-detail__meta { margin: 0; font-weight: 700; color: var(--accent); }
.room-detail__desc { margin: 8px 0; color: var(--ink-muted); line-height: 1.7; }
.room-detail__amenities-title { margin: 8px 0 4px; font-size: 1rem; font-weight: 800; }
.room-detail__amenities { margin: 0 0 8px; padding-left: 20px; color: var(--ink-muted); line-height: 1.8; }
.room-detail__book { align-self: flex-start; margin-top: 8px; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}
