@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Playfair+Display:ital,wght@1,700&display=swap');

:root {
  --white:     #FFFFFF;
  --gray-50:   #F7F7F7;
  --gray-100:  #F0EEEB;
  --gray-200:  #DDDBD7;
  --gray-300:  #C5C3BF;
  --gray-400:  #717171;
  --gray-600:  #484848;
  --gray-900:  #1A1A1A;
  --brand:     #124536;
  --brand-l:   #1a6b5c;
  --gold:      #D4AF37;
  --gold-h:    #B8972D;

  --font:         'Plus Jakarta Sans', sans-serif;
  --font-display: 'Playfair Display', serif;

  --radius:    12px;
  --radius-lg: 20px;

  --shadow-card: 0 2px 16px rgba(0,0,0,.07), 0 1px 4px rgba(0,0,0,.04);
  --shadow-lg:   0 8px 48px rgba(0,0,0,.13);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--gray-900);
  background: var(--white);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }
button { font-family: var(--font); cursor: pointer; border: none; background: none; }

/* ══════════════════════════════
   NAV
══════════════════════════════ */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 300;
  background: var(--white);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}

.site-nav.scrolled {
  border-bottom-color: var(--gray-200);
  box-shadow: 0 1px 16px rgba(0,0,0,.07);
}

.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 28px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.nav-logo { display: flex; flex-direction: column; line-height: 1; }
.nav-logo-name {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.3rem;
  color: var(--brand);
}
.nav-logo-sub {
  font-size: .62rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gray-400);
  margin-top: 2px;
}

.nav-links { display: flex; align-items: center; gap: 4px; }

.nav-link {
  padding: 8px 14px;
  border-radius: 24px;
  font-size: .84rem;
  font-weight: 500;
  color: var(--gray-600);
  transition: background .18s, color .18s;
}
.nav-link:hover { background: var(--gray-50); color: var(--gray-900); }

.nav-link-admin {
  background: var(--brand);
  color: var(--white) !important;
  padding: 9px 18px;
}
.nav-link-admin:hover { background: var(--brand-l); }

/* ══════════════════════════════
   HERO
══════════════════════════════ */
.hero {
  position: relative;
  height: 92vh;
  min-height: 580px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: url('../img/externa/ext-1.jpg') center / cover no-repeat;
  transform: scale(1.06);
  transition: transform 10s ease;
}
.hero:hover .hero-bg { transform: scale(1); }

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(8,28,18,.25) 0%,
    rgba(8,28,18,.6)  60%,
    rgba(8,28,18,.75) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 0 24px;
  width: 100%;
  max-width: 860px;
}

.hero-eyebrow {
  display: inline-block;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(255,255,255,.8);
  border: 1px solid rgba(255,255,255,.35);
  padding: 6px 18px;
  border-radius: 20px;
  backdrop-filter: blur(8px);
  margin-bottom: 20px;
}

.hero-title {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(3rem, 6vw, 5.2rem);
  color: var(--white);
  line-height: 1.08;
  margin-bottom: 14px;
  text-shadow: 0 2px 24px rgba(0,0,0,.3);
}

.hero-subtitle {
  font-size: 1.05rem;
  color: rgba(255,255,255,.78);
  font-weight: 300;
  margin-bottom: 44px;
  letter-spacing: .01em;
}

/* ── Search Widget ── */
.search-widget {
  background: var(--white);
  border-radius: 80px;
  display: inline-flex;
  align-items: stretch;
  box-shadow: 0 6px 40px rgba(0,0,0,.28);
  max-width: 720px;
  width: 100%;
  overflow: hidden;
}

.sw-field {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 13px 24px;
  flex: 1;
  border-right: 1px solid var(--gray-200);
  cursor: pointer;
  transition: background .15s;
  text-align: left;
  min-width: 0;
}
.sw-field:hover { background: var(--gray-50); }

.sw-label {
  font-size: .64rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--gray-900);
  white-space: nowrap;
  margin-bottom: 2px;
}

.sw-input {
  font-family: var(--font);
  font-size: .875rem;
  color: var(--gray-400);
  border: none;
  background: transparent;
  outline: none;
  width: 100%;
  cursor: pointer;
}
.sw-input:focus { color: var(--gray-900); }
/* hide native calendar icon */
.sw-input[type="date"]::-webkit-calendar-picker-indicator { opacity: 0; position: absolute; right: 0; width: 100%; height: 100%; cursor: pointer; }
.sw-field-date { position: relative; overflow: hidden; }

.sw-btn {
  background: var(--brand);
  color: var(--white);
  padding: 0 32px;
  font-size: .9rem;
  font-weight: 700;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: background .2s;
  border-radius: 0 80px 80px 0;
  border: none;
  cursor: pointer;
}
.sw-btn:hover { background: var(--brand-l); }

/* ══════════════════════════════
   SHARED SECTION
══════════════════════════════ */
.section {
  max-width: 1280px;
  margin: 0 auto;
  padding: 64px 28px;
}

.section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 36px;
  gap: 16px;
}

.section-title {
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--gray-900);
}

.section-link {
  font-size: .875rem;
  font-weight: 600;
  color: var(--gray-900);
  text-decoration: underline;
  text-underline-offset: 3px;
  white-space: nowrap;
}

/* ══════════════════════════════
   ROOM CARDS
══════════════════════════════ */
.rooms-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 28px 24px;
}

.room-card {
  display: block;
  cursor: pointer;
  border-radius: var(--radius);
}

.room-card:hover .rc-img img { transform: scale(1.05); }

.rc-img {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--gray-100);
  margin-bottom: 12px;
}

.rc-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .45s cubic-bezier(.25,.46,.45,.94);
}

.rc-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--white);
  border-radius: 6px;
  padding: 4px 10px;
  font-size: .7rem;
  font-weight: 700;
  color: var(--gray-900);
  box-shadow: 0 1px 6px rgba(0,0,0,.14);
}

.rc-heart {
  position: absolute;
  top: 10px; right: 10px;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: rgba(255,255,255,.88);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  transition: transform .2s, background .2s;
  box-shadow: 0 1px 4px rgba(0,0,0,.1);
  border: none; cursor: pointer;
}
.rc-heart:hover { transform: scale(1.18); background: var(--white); }

.rc-info {}

.rc-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
}

.rc-name {
  font-size: .9rem;
  font-weight: 600;
  color: var(--gray-900);
  line-height: 1.35;
}

.rc-rating {
  display: flex;
  align-items: center;
  gap: 3px;
  font-size: .84rem;
  font-weight: 500;
  color: var(--gray-900);
  flex-shrink: 0;
}

.rc-meta {
  font-size: .82rem;
  color: var(--gray-400);
  margin-top: 2px;
}

.rc-price {
  margin-top: 7px;
  font-size: .9rem;
  color: var(--gray-900);
}
.rc-price strong { font-weight: 700; }
.rc-price span   { color: var(--gray-400); font-weight: 400; }

/* unavailable room (after search filter) */
.room-card.unavailable .rc-img { opacity: .5; }
.room-card.unavailable .rc-name { color: var(--gray-400); }

.rc-avail-badge {
  position: absolute;
  bottom: 10px; left: 10px;
  font-size: .7rem;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 20px;
  display: none;
}
.rc-avail-badge.disponivel { background: #d1fae5; color: #065f46; display: block; }
.rc-avail-badge.indisponivel { background: #fee2e2; color: #991b1b; display: block; }

/* ══════════════════════════════
   GALLERY SECTION
══════════════════════════════ */
.gallery-section {
  background: var(--gray-50);
  padding: 64px 0;
}

.gallery-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 28px;
}

.gallery-mosaic {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: 260px 260px;
  gap: 6px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
}

.gm-item {
  overflow: hidden;
  cursor: pointer;
  position: relative;
}

.gm-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.gm-item:hover img { transform: scale(1.06); }
.gm-item:hover::after { opacity: 1; }
.gm-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.12);
  opacity: 0;
  transition: opacity .25s;
}

.gm-item:first-child { grid-column: 1; grid-row: 1 / 3; }
.gm-item:nth-child(2) { grid-column: 2; grid-row: 1; }
.gm-item:nth-child(3) { grid-column: 3; grid-row: 1; }
.gm-item:nth-child(4) { grid-column: 2; grid-row: 2; }
.gm-item:nth-child(5) { grid-column: 3; grid-row: 2; }

.gallery-see-all {
  position: absolute;
  bottom: 16px; right: 16px;
  background: var(--white);
  border: 1.5px solid var(--gray-900);
  color: var(--gray-900);
  font-family: var(--font);
  font-size: .78rem;
  font-weight: 700;
  padding: 9px 18px;
  border-radius: 8px;
  cursor: pointer;
  transition: background .18s;
  z-index: 2;
}
.gallery-see-all:hover { background: var(--gray-50); }

/* ══════════════════════════════
   WHY SECTION (features)
══════════════════════════════ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.feature-card {
  padding: 32px;
  background: var(--gray-50);
  border-radius: var(--radius);
  border: 1px solid var(--gray-200);
}

.feature-icon { font-size: 2rem; margin-bottom: 16px; }
.feature-title { font-size: 1rem; font-weight: 700; margin-bottom: 8px; }
.feature-desc  { font-size: .875rem; color: var(--gray-400); line-height: 1.7; }

/* ══════════════════════════════
   LIGHTBOX
══════════════════════════════ */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.94);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s;
}
.lightbox.active { opacity: 1; pointer-events: auto; }

.lb-wrap {
  position: relative;
  max-width: min(92vw, 1100px);
  max-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lb-wrap img {
  max-width: 100%;
  max-height: 82vh;
  object-fit: contain;
  border-radius: 6px;
  display: block;
}

.lb-close {
  position: fixed;
  top: 20px; right: 24px;
  color: var(--white);
  font-size: 2.2rem;
  cursor: pointer;
  line-height: 1;
  opacity: .85;
  transition: opacity .2s;
  z-index: 2;
}
.lb-close:hover { opacity: 1; }

.lb-prev, .lb-next {
  position: fixed;
  top: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,.12);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,.2);
  color: var(--white);
  width: 48px; height: 48px;
  border-radius: 50%;
  font-size: 1.3rem;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background .2s;
  z-index: 2;
}
.lb-prev { left: 16px; }
.lb-next { right: 16px; }
.lb-prev:hover, .lb-next:hover { background: rgba(255,255,255,.22); }

.lb-counter {
  position: fixed;
  bottom: 20px; left: 50%; transform: translateX(-50%);
  color: rgba(255,255,255,.65);
  font-size: .82rem;
  letter-spacing: .06em;
}

/* ══════════════════════════════
   FOOTER
══════════════════════════════ */
.site-footer {
  border-top: 1px solid var(--gray-200);
}

.footer-main {
  max-width: 1280px;
  margin: 0 auto;
  padding: 56px 28px 40px;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 48px;
}

.footer-brand-name {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.5rem;
  color: var(--brand);
  margin-bottom: 10px;
}
.footer-brand-desc {
  font-size: .86rem;
  color: var(--gray-400);
  line-height: 1.75;
  max-width: 280px;
}

.footer-col-title {
  font-size: .72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--gray-900);
  margin-bottom: 18px;
}
.footer-col a {
  display: block;
  font-size: .86rem;
  color: var(--gray-400);
  margin-bottom: 11px;
  transition: color .18s;
}
.footer-col a:hover { color: var(--gray-900); }

.footer-bottom {
  max-width: 1280px;
  margin: 0 auto;
  padding: 20px 28px;
  border-top: 1px solid var(--gray-100);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .8rem;
  color: var(--gray-400);
}

/* ══════════════════════════════
   BUTTONS
══════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 12px 22px;
  border-radius: 8px;
  font-family: var(--font);
  font-size: .875rem;
  font-weight: 600;
  transition: all .2s;
  cursor: pointer;
  border: none;
}
.btn-brand { background: var(--brand); color: var(--white); }
.btn-brand:hover { background: var(--brand-l); }
.btn-outline { background: var(--white); border: 1.5px solid var(--gray-900); color: var(--gray-900); }
.btn-outline:hover { background: var(--gray-50); }
.btn-lg { padding: 16px 32px; font-size: .95rem; border-radius: 10px; }
.btn-full { width: 100%; justify-content: center; }

/* form inputs shared */
.fi-group { margin-bottom: 14px; }
.fi-label { display: block; font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--gray-900); margin-bottom: 5px; }
.fi-input {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--gray-200);
  border-radius: 8px;
  font-family: var(--font);
  font-size: .875rem;
  color: var(--gray-900);
  background: var(--white);
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.fi-input:focus { border-color: var(--gray-900); box-shadow: 0 0 0 3px rgba(18,69,54,.08); }
textarea.fi-input { resize: vertical; min-height: 80px; }

/* ══════════════════════════════
   QUARTO PAGE — PHOTO GRID
══════════════════════════════ */
.qp-photo-wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding: 24px 28px 0;
}

/* 5-photo Airbnb grid */
.qp-photo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 300px 300px;
  gap: 6px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
}

.qp-ph {
  overflow: hidden;
  cursor: pointer;
  position: relative;
}
.qp-ph img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.qp-ph:hover img { transform: scale(1.04); }
.qp-ph::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0);
  transition: background .22s;
}
.qp-ph:hover::after { background: rgba(0,0,0,.07); }

/* main photo occupies full left column */
.qp-ph:first-child {
  grid-column: 1;
  grid-row: 1 / 3;
}

/* right column: 2x2 */
.qp-ph:nth-child(2) { grid-column: 2; grid-row: 1 / 2; }
.qp-ph:nth-child(3) { grid-column: 2; grid-row: 2 / 3; }

/* if 5 photos: split right into 2x2 */
.qp-photo-grid.five .qp-ph:nth-child(2) { grid-column: 2; grid-row: 1; }
.qp-photo-grid.five .qp-ph:nth-child(3) { grid-column: 3; grid-row: 1; }
.qp-photo-grid.five .qp-ph:nth-child(4) { grid-column: 2; grid-row: 2; }
.qp-photo-grid.five .qp-ph:nth-child(5) { grid-column: 3; grid-row: 2; }

.qp-photo-grid.five {
  grid-template-columns: 1fr 1fr 1fr;
}

.qp-see-all {
  position: absolute;
  bottom: 16px; right: 16px;
  background: var(--white);
  border: 1.5px solid var(--gray-900);
  color: var(--gray-900);
  font-family: var(--font);
  font-size: .78rem;
  font-weight: 700;
  padding: 9px 18px;
  border-radius: 8px;
  cursor: pointer;
  transition: background .18s;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 6px;
}
.qp-see-all:hover { background: var(--gray-50); }

/* single photo fallback */
.qp-photo-single {
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 480px;
  cursor: pointer;
  position: relative;
}
.qp-photo-single img { width: 100%; height: 100%; object-fit: cover; }

/* ══════════════════════════════
   QUARTO PAGE — BODY
══════════════════════════════ */
.qp-body {
  max-width: 1280px;
  margin: 0 auto;
  padding: 36px 28px 80px;
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 80px;
  align-items: start;
}

.qp-main {}

/* breadcrumb */
.qp-breadcrumb {
  font-size: .82rem;
  color: var(--gray-400);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.qp-breadcrumb a { text-decoration: underline; text-underline-offset: 2px; }
.qp-breadcrumb a:hover { color: var(--gray-900); }

.qp-title {
  font-size: 1.85rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 10px;
  line-height: 1.2;
}

.qp-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .9rem;
  color: var(--gray-600);
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.qp-meta-dot { color: var(--gray-300); font-size: .7rem; }

.qp-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 24px; }
.qp-tag {
  background: var(--gray-100);
  color: var(--gray-600);
  font-size: .75rem;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 20px;
}
.qp-tag.brand { background: rgba(18,69,54,.08); color: var(--brand); }

.qp-divider { height: 1px; background: var(--gray-200); margin: 28px 0; }

/* host card */
.qp-host {
  display: flex;
  align-items: center;
  gap: 16px;
}
.qp-host-avatar {
  width: 56px; height: 56px;
  background: var(--brand);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  font-size: 1.5rem;
  flex-shrink: 0;
}
.qp-host-info strong { display: block; font-size: .95rem; font-weight: 700; }
.qp-host-info span   { font-size: .82rem; color: var(--gray-400); }

/* description */
.qp-desc {
  font-size: .935rem;
  color: var(--gray-600);
  line-height: 1.85;
}

/* amenities */
.qp-section-label {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--gray-900);
}

.amenities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.amenity {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--gray-200);
  border-radius: 10px;
  font-size: .845rem;
  color: var(--gray-600);
  transition: border-color .18s;
}
.amenity:hover { border-color: var(--gray-400); }
.amenity-icon { font-size: 1.25rem; flex-shrink: 0; }

/* ══════════════════════════════
   RESERVATION SIDEBAR
══════════════════════════════ */
.res-sidebar {
  position: sticky;
  top: 88px;
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: 0 4px 40px rgba(0,0,0,.09);
}

.res-price-row {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 24px;
}
.res-price { font-size: 1.5rem; font-weight: 700; }
.res-night { font-size: .9rem; color: var(--gray-400); }
.res-rating { display: flex; align-items: center; gap: 4px; font-size: .84rem; font-weight: 500; margin-left: auto; }

/* date grid */
.res-dates {
  border: 1.5px solid var(--gray-900);
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 10px;
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.res-date-f {
  padding: 11px 14px;
  cursor: pointer;
}
.res-date-f:first-child { border-right: 1px solid var(--gray-200); }
.res-date-label {
  font-size: .62rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--gray-900);
  display: block;
  margin-bottom: 2px;
}
.res-date-input {
  width: 100%;
  border: none;
  outline: none;
  font-family: var(--font);
  font-size: .875rem;
  color: var(--gray-600);
  background: transparent;
  cursor: pointer;
}
.res-date-input:focus { color: var(--gray-900); }
.res-date-input[type="date"]::-webkit-calendar-picker-indicator { opacity: 0; position: absolute; right: 0; width: 100%; cursor: pointer; }
.res-date-f { position: relative; overflow: hidden; }

/* guests */
.res-guests {
  border: 1.5px solid var(--gray-900);
  border-radius: 10px;
  padding: 11px 14px;
  margin-bottom: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.res-guests-label { font-size: .62rem; font-weight: 800; text-transform: uppercase; letter-spacing: .07em; color: var(--gray-900); }
.res-guests-ctrl { display: flex; align-items: center; gap: 12px; }
.res-guests-btn {
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 1.5px solid var(--gray-400);
  color: var(--gray-600);
  font-size: 1rem;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: border-color .18s, color .18s;
}
.res-guests-btn:hover { border-color: var(--gray-900); color: var(--gray-900); }
.res-guests-btn:disabled { opacity: .35; cursor: not-allowed; }
.res-guests-count { font-weight: 600; min-width: 20px; text-align: center; }

/* avail message */
.res-avail-msg {
  padding: 10px 14px;
  border-radius: 8px;
  font-size: .82rem;
  font-weight: 500;
  margin-bottom: 12px;
  display: none;
}
.res-avail-msg.ok  { background: #d1fae5; color: #065f46; display: block; }
.res-avail-msg.err { background: #fee2e2; color: #991b1b; display: block; }

/* breakdown */
.res-breakdown {
  border-top: 1px solid var(--gray-200);
  margin-top: 16px;
  padding-top: 16px;
  display: none;
}
.res-bd-row {
  display: flex;
  justify-content: space-between;
  font-size: .875rem;
  color: var(--gray-600);
  margin-bottom: 8px;
}
.res-bd-row.total {
  font-weight: 700;
  color: var(--gray-900);
  font-size: .95rem;
  padding-top: 12px;
  border-top: 1px solid var(--gray-200);
  margin-top: 8px;
  margin-bottom: 0;
}

/* personal data (step 2) */
.res-personal { display: none; margin-top: 16px; }
.res-personal.show { display: block; }

/* ══════════════════════════════
   SIMILAR ROOMS
══════════════════════════════ */
.similar-section {
  border-top: 1px solid var(--gray-200);
  padding-top: 36px;
  margin-top: 48px;
}
.similar-title { font-size: 1.2rem; font-weight: 700; margin-bottom: 24px; }
.similar-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
}

/* ══════════════════════════════
   RESPONSIVE
══════════════════════════════ */
@media (max-width: 1024px) {
  .qp-body { grid-template-columns: 1fr; gap: 40px; }
  .res-sidebar { position: static; }
  .features-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-inner { padding: 0 16px; height: 60px; }
  .nav-links .nav-link:not(.nav-link-admin) { display: none; }
  .hero { height: 78vh; }
  .hero-subtitle { display: none; }
  .search-widget { flex-direction: column; border-radius: 18px; }
  .sw-field { border-right: none; border-bottom: 1px solid var(--gray-200); }
  .sw-btn { border-radius: 0 0 18px 18px; padding: 16px; justify-content: center; }
  .section { padding: 48px 16px; }
  .gallery-mosaic { grid-template-columns: 1fr 1fr; grid-template-rows: 200px 200px; }
  .gallery-mosaic .gm-item:first-child { grid-column: 1/3; grid-row: 1; }
  .gallery-mosaic .gm-item:nth-child(n+4) { display: none; }
  .features-grid { grid-template-columns: 1fr; }
  .qp-photo-grid { grid-template-columns: 1fr; grid-template-rows: auto; }
  .qp-ph:first-child { grid-column: 1; grid-row: 1; aspect-ratio: 4/3; height: auto; }
  .qp-ph:not(:first-child) { display: none; }
  .qp-photo-grid.five { grid-template-columns: 1fr; }
  .amenities-grid { grid-template-columns: 1fr 1fr; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 6px; text-align: center; }
  .rooms-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
}

@media (max-width: 480px) {
  .rooms-grid { grid-template-columns: 1fr; }
  .hero-title { font-size: 2.6rem; }
  .footer-main { grid-template-columns: 1fr; }
  .amenities-grid { grid-template-columns: 1fr; }
}
