/* ============================================
   HERO
   ============================================ */
.hero {
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  position: relative;
  background:
    linear-gradient(180deg, rgba(10,20,18,0.5) 0%, rgba(10,20,18,0.18) 38%, rgba(10,20,18,0.78) 100%),
    url('../images/Hero/pexels-leorossatti-2646066.jpg') center 60% / cover no-repeat;
  color: var(--white);
  overflow: hidden;
}
.hero-content {
  padding: var(--space-3xl) 0 var(--space-2xl);
  width: 100%;
}
.hero-eyebrow {
  font-size: 0.8rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  margin-bottom: var(--space-sm);
  display: block;
}
.hero h1 {
  color: var(--white);
  max-width: 15ch;
  margin-bottom: var(--space-md);
}
.hero-sub {
  color: rgba(255,255,255,0.85);
  font-size: 1.15rem;
  max-width: 46ch;
  margin-bottom: var(--space-lg);
}
.hero-ctas { display: flex; gap: var(--space-sm); flex-wrap: wrap; }
.hero-scroll-cue {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,0.75);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.hero-scroll-cue .line {
  width: 1px;
  height: 34px;
  background: rgba(255,255,255,0.5);
  animation: scrollcue 2s ease-in-out infinite;
}
@keyframes scrollcue {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  50.01% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ============================================
   WELCOME STRIP
   ============================================ */
.welcome {
  padding: var(--space-2xl) 0;
  text-align: center;
}
.welcome-mark {
  width: 34px;
  height: auto;
  margin: 0 auto var(--space-md);
  opacity: 0.85;
}
.welcome blockquote {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  line-height: 1.4;
  max-width: 26ch;
  margin: 0 auto var(--space-md);
  color: var(--ink);
}
.welcome cite {
  font-style: normal;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--warm-gray);
}

/* ============================================
   THE SPACE (toggle + floor plan)
   ============================================ */
.space-toggle {
  display: inline-flex;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  padding: 4px;
  margin-bottom: var(--space-lg);
}
.space-toggle button {
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 500;
  padding: 10px 22px;
  border-radius: 999px;
  border: none;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  min-height: 40px;
  transition: background 250ms var(--ease), color 250ms var(--ease);
}
.space-toggle button[aria-selected="true"] {
  background: var(--ink);
  color: var(--cream);
}

.space-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  align-items: center;
}
.space-visual {
  position: relative;
  aspect-ratio: 31/27;
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid rgba(31,36,33,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-lg);
}
.space-copy .stat-row {
  display: none;
  gap: var(--space-lg);
  margin: var(--space-md) 0;
  flex-wrap: wrap;
}
.space-copy .stat-row.is-active { display: flex; }
.space-copy .stat .num {
  font-family: var(--font-display);
  font-size: 2.1rem;
  color: var(--teal);
  display: block;
  line-height: 1;
}
.space-copy .stat .label {
  font-size: 0.8rem;
  color: var(--warm-gray);
  letter-spacing: 0.04em;
}
.space-panel { display: none; }
.space-panel.is-active { display: block; }

.floorplan .fp-room > rect {
  fill: var(--terracotta);
  fill-opacity: 0.55;
  stroke: var(--ink);
  transition: fill 300ms var(--ease), fill-opacity 300ms var(--ease), stroke 300ms var(--ease);
}
.floorplan .fp-room.is-excluded > rect {
  fill: #E3E0D8;
  fill-opacity: 1;
  stroke: #C7C2B6;
}
.floorplan .room-label {
  font-size: 11px;
  fill: var(--ink);
  font-family: var(--font-body);
  letter-spacing: 0.04em;
  transition: fill 300ms var(--ease);
}
.floorplan .room-label-sm {
  font-size: 7.5px;
  fill: var(--ink);
  font-family: var(--font-body);
  letter-spacing: 0.03em;
  transition: fill 300ms var(--ease);
}
.floorplan .fp-room.is-excluded > .room-label,
.floorplan .fp-room.is-excluded > .room-label-sm {
  fill: #A19C90;
}

/* ============================================
   GALLERY
   ============================================ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 220px;
  gap: 10px;
}
.gallery-grid .g-item:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.gallery-grid .g-item:nth-child(4) { grid-column: span 2; }
.g-item {
  border-radius: var(--radius-sm);
  overflow: hidden;
  position: relative;
  background: var(--sand);
}
.g-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 400ms var(--ease);
}
.g-item:hover img { transform: scale(1.04); }
.g-cap {
  position: absolute;
  left: 14px;
  bottom: 14px;
  font-size: 0.78rem;
  color: var(--white);
  letter-spacing: 0.03em;
  text-shadow: 0 1px 6px rgba(0,0,0,0.5);
}

/* ============================================
   AMENITIES
   ============================================ */
.amenities-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
}
.amenity {
  padding: var(--space-md);
  border: 1px solid rgba(31,36,33,0.1);
  border-radius: var(--radius-md);
  background: var(--white);
}
.amenity .icon {
  width: 26px; height: 26px;
  margin-bottom: var(--space-sm);
  color: var(--teal);
}
.amenity h4 { font-family: var(--font-body); font-size: 0.98rem; font-weight: 500; margin-bottom: 4px; }
.amenity p { font-size: 0.85rem; color: var(--warm-gray); }

/* ============================================
   LOCATION
   ============================================ */
.location-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  align-items: stretch;
}
.map-frame {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(31,36,33,0.12);
  min-height: 360px;
}
.map-frame iframe { width: 100%; height: 100%; min-height: 360px; border: 0; }
.location-list { list-style: none; margin-top: var(--space-md); }
.location-list li {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid rgba(31,36,33,0.1);
  font-size: 0.92rem;
}
.location-list li span:last-child { color: var(--warm-gray); }

/* ============================================
   REVIEWS
   ============================================ */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}
.review-card {
  background: var(--white);
  border: 1px solid rgba(31,36,33,0.1);
  border-radius: var(--radius-md);
  padding: var(--space-md);
}
.review-stars { color: var(--terracotta); font-size: 0.9rem; margin-bottom: 10px; letter-spacing: 2px; }
.review-card p { font-size: 0.95rem; margin-bottom: var(--space-sm); }
.review-name { font-size: 0.82rem; color: var(--warm-gray); }

/* ============================================
   GUIDE TEASER
   ============================================ */
.guide-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}
.guide-card { display: block; }
.guide-card .thumb {
  aspect-ratio: 4/3;
  border-radius: var(--radius-md);
  margin-bottom: var(--space-sm);
  background: linear-gradient(135deg, var(--sand), #e7dccb);
  position: relative;
  overflow: hidden;
  transition: transform 400ms var(--ease);
}
.guide-card:hover .thumb { transform: translateY(-4px); }
.guide-card .cat {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
  font-weight: 500;
}
.guide-card h3 { font-size: 1.15rem; margin: 6px 0; }
.guide-card p { font-size: 0.9rem; color: var(--warm-gray); }

/* ============================================
   FAQ
   ============================================ */
.faq-list { max-width: 760px; }
.faq-item {
  border-bottom: 1px solid rgba(31,36,33,0.12);
}
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  background: none;
  border: none;
  text-align: left;
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--ink);
  padding: var(--space-md) 4px;
  cursor: pointer;
  min-height: 44px;
}
.faq-q .plus {
  flex-shrink: 0;
  width: 22px; height: 22px;
  position: relative;
}
.faq-q .plus::before, .faq-q .plus::after {
  content: '';
  position: absolute;
  background: var(--ink);
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  transition: transform 250ms var(--ease), opacity 250ms var(--ease);
}
.faq-q .plus::before { width: 14px; height: 1.5px; }
.faq-q .plus::after { width: 1.5px; height: 14px; }
.faq-item[data-open="true"] .plus::after { transform: translate(-50%,-50%) rotate(90deg); opacity: 0; }

.faq-a {
  overflow: hidden;
  max-height: 0;
  transition: max-height 350ms var(--ease);
}
.faq-item[data-open="true"] .faq-a { max-height: 240px; }
.faq-a p { padding: 0 4px var(--space-md); color: var(--warm-gray); max-width: 62ch; font-size: 0.96rem; }

/* ============================================
   FINAL CTA
   ============================================ */
.final-cta {
  background: var(--teal);
  color: var(--white);
  text-align: center;
  padding: var(--space-2xl) 0;
}
.final-cta h2 { color: var(--white); margin-bottom: var(--space-sm); }
.final-cta p { color: rgba(255,255,255,0.82); margin-bottom: var(--space-lg); }
.final-cta .btn-primary { background: var(--cream); color: var(--ink); }
.final-cta .btn-primary:hover { background: var(--white); }
.final-cta .avail-hint {
  margin-top: var(--space-md);
  font-size: 0.85rem;
  color: rgba(255,255,255,0.65);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 860px) {
  .nav-links { position: fixed; inset: 0 0 0 auto; width: min(320px, 82vw); background: var(--cream); flex-direction: column; align-items: flex-start; padding: 100px 32px 32px; gap: var(--space-md); transform: translateX(100%); transition: transform 350ms var(--ease); box-shadow: -8px 0 24px rgba(0,0,0,0.08); }
  .nav-links.is-open { transform: translateX(0); }
  .nav-links .nav-link { color: var(--ink) !important; font-size: 1.05rem; }
  .nav-toggle { display: block; color: var(--ink); }
  .site-nav.is-hero .nav-toggle { color: var(--white); }
  .site-nav.is-hero.is-scrolled .nav-toggle,
  .site-nav.is-hero.is-scrolled .nav-logo-word { color: var(--ink); }

  .space-grid, .location-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; }
  .gallery-grid .g-item:nth-child(1) { grid-column: span 2; }
  .amenities-grid { grid-template-columns: repeat(2, 1fr); }
  .reviews-grid, .guide-grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .hero-content { padding-top: var(--space-2xl); }
  .hero-ctas .btn { width: 100%; }
}
