/* ═══════════════════════════════════════════════
   CRAFTED DEVELOPMENTS — styles.css
   Design System: Okanagan editorial real estate
   ═══════════════════════════════════════════════ */

/* ── RESET & BASE ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* Colors */
  --cream:        #F5F1EB;
  --cream-dark:   #EDE8DF;
  --charcoal:     #1A1A1A;
  --charcoal-mid: #2E2E2E;
  --brown:        #8B7355;
  --brown-light:  #A8906E;
  --stone:        #C4B99A;
  --muted:        #736E66;
  --white:        #FFFFFF;
  --dark-section: #1C1917;

  /* Typography */
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans:  'Inter', system-ui, sans-serif;

  /* Spacing */
  --section-pad: clamp(5rem, 10vw, 9rem);
  --container:   1220px;

  /* Transitions */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-sans);
  background-color: var(--cream);
  color: var(--charcoal);
  line-height: 1.65;
  overflow-x: hidden;
}

img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; }

a { text-decoration: none; color: inherit; }

ul { list-style: none; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 3rem);
}

/* ── TYPOGRAPHY ── */
.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  line-height: 1.15;
  color: var(--charcoal);
  margin-bottom: 1rem;
}

.section-title.light { color: var(--white); }

.eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brown);
  margin-bottom: 0.75rem;
}

.eyebrow.light { color: var(--stone); }

.section-body {
  font-size: 0.975rem;
  color: var(--muted);
  line-height: 1.75;
  max-width: 580px;
}

/* ── BUTTONS ── */
.btn {
  display: inline-block;
  padding: 0.8rem 1.75rem;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.25s var(--ease);
  border: 1.5px solid transparent;
  white-space: nowrap;
}

.btn-primary {
  background: var(--charcoal);
  color: var(--white);
  border-color: var(--charcoal);
}

.btn-primary:hover {
  background: var(--charcoal-mid);
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(0,0,0,0.18);
}

.btn-ghost {
  background: rgba(255,255,255,0.12);
  color: var(--white);
  border-color: rgba(255,255,255,0.5);
  backdrop-filter: blur(6px);
}

.btn-ghost:hover {
  background: rgba(255,255,255,0.22);
  border-color: var(--white);
}

.btn-outline {
  background: transparent;
  color: var(--charcoal);
  border-color: var(--charcoal);
}

.btn-outline:hover {
  background: var(--charcoal);
  color: var(--white);
}

.btn-full { width: 100%; text-align: center; }

/* ═══════════════════════ NAVBAR ═══════════════════════ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 1.4rem 0;
  transition: background 0.35s var(--ease), padding 0.35s var(--ease), backdrop-filter 0.35s;
}

.navbar.scrolled {
  background: rgba(245,241,235,0.96);
  backdrop-filter: blur(12px);
  padding: 0.85rem 0;
  box-shadow: 0 1px 0 rgba(0,0,0,0.08);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo */
.logo-img {
  display: block;
  width: auto;
  height: 60px;
  object-fit: contain;
  object-position: left center;
}

/* White logo shown by default (transparent navbar); black logo hidden */
.logo-img.logo-img--white { display: block; }
.logo-img.logo-img--black { display: none; }

/* Once navbar scrolls to tan, swap to black logo */
.navbar.scrolled .logo-img.logo-img--white { display: none; }
.navbar.scrolled .logo-img.logo-img--black { display: block; }

.logo {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.01em;
  transition: color 0.3s;
}

.logo--light { color: var(--charcoal); }

.navbar.scrolled .logo:not(.logo--light) { color: var(--charcoal); }

.logo-slash {
  color: var(--brown);
  margin-right: 1px;
}

/* Nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 2.25rem;
}

.nav-links a {
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.88);
  transition: color 0.2s;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0; right: 0;
  height: 1.5px;
  background: var(--brown);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s var(--ease);
}

.nav-links a:hover::after,
.nav-links a:focus::after { transform: scaleX(1); }
.nav-links a:hover { color: var(--white); }

.navbar.scrolled .nav-links a { color: var(--muted); }
.navbar.scrolled .nav-links a:hover { color: var(--charcoal); }

/* CTA button in nav */
.nav-links .nav-cta {
  background: var(--charcoal);
  color: var(--white) !important;
  padding: 0.6rem 1.25rem;
  border-radius: 4px;
  transition: background 0.25s, transform 0.2s, box-shadow 0.2s;
}

.nav-links .nav-cta:hover {
  background: var(--brown);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(0,0,0,0.2);
}

.nav-links .nav-cta::after { display: none; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s, background 0.3s;
}

.navbar.scrolled .hamburger span { background: var(--charcoal); }

.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ═══════════════════════ HERO ═══════════════════════ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
}

.hero-img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 60%;
  transform: scale(1.04);
  animation: heroZoom 10s var(--ease) forwards;
}

@keyframes heroZoom {
  from { transform: scale(1.04); }
  to   { transform: scale(1); }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(18,14,10,0.72) 0%,
    rgba(18,14,10,0.45) 50%,
    rgba(18,14,10,0.2) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-top: 8rem;
  padding-bottom: 4rem;
  max-width: 680px;
  animation: fadeUp 1s 0.3s both;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-badge {
  display: inline-block;
  background: rgba(139,115,85,0.85);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 0.45rem 1.1rem;
  border-radius: 2px;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(4px);
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 600;
  line-height: 1.05;
  color: var(--white);
  margin-bottom: 1.5rem;
}

.hero-title em {
  font-style: italic;
  color: var(--stone);
}

.hero-sub {
  font-size: clamp(0.95rem, 1.5vw, 1.1rem);
  color: rgba(255,255,255,0.8);
  line-height: 1.75;
  max-width: 520px;
  margin-bottom: 2.25rem;
}

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

/* Hero stats bar */
.hero-stats {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 0;
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(12px);
  border-top: 1px solid rgba(255,255,255,0.12);
  padding: 1.5rem clamp(1.25rem, 4vw, 3rem);
}

.stat-item {
  flex: 1;
  text-align: center;
}

.stat-num {
  display: block;
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 600;
  color: var(--white);
  line-height: 1;
}

.stat-label {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  margin-top: 0.35rem;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.15);
  flex-shrink: 0;
}

/* ═══════════════════════ ABOUT ═══════════════════════ */
.about-section {
  background: var(--white);
  padding: var(--section-pad) 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
  margin-bottom: 4rem;
}

.about-text .section-title { margin-top: 0.5rem; }

.about-bullets {
  list-style: none;
  margin-bottom: 2rem;
}

.about-bullets li {
  font-size: 0.925rem;
  color: var(--muted);
  line-height: 1.75;
  padding-left: 1.25rem;
  position: relative;
  margin-bottom: 0.9rem;
}

.about-bullets li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--brown);
  font-weight: 700;
}

.about-image-wrap {
  position: relative;
  overflow: hidden;
  max-height: 560px;
}

.about-full-img {
  width: 100%;
  height: 560px;
  object-fit: cover;
  object-position: center 40%;
  display: block;
}

.about-img-caption {
  position: absolute;
  bottom: 1.5rem; left: 2rem;
  color: rgba(255,255,255,0.75);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ═══════════════════════ PROJECTS ═══════════════════════ */
.projects-section {
  padding: var(--section-pad) 0;
  background: var(--cream);
}

.projects-header {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 3rem;
  align-items: end;
  margin-bottom: 3rem;
}

.projects-header--center {
  display: block;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 4rem;
}

.projects-intro {
  font-size: 0.925rem;
  color: var(--muted);
  line-height: 1.75;
  max-width: 480px;
  align-self: end;
}

.projects-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 1.25rem;
}

.project-card {
  background: var(--white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(0,0,0,0.06);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.project-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.12);
}

.project-img-wrap {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
}

.project-img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.project-card:hover .project-img-wrap img { transform: scale(1.06); }

.project-badge {
  position: absolute;
  top: 1rem; left: 1rem;
  background: var(--brown);
  color: var(--white);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.35rem 0.85rem;
  border-radius: 2px;
}

.project-info {
  padding: 1.5rem;
}

.project-name {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 0.35rem;
}

.project-location {
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 0.4rem;
}

.project-price {
  font-size: 0.875rem;
  color: var(--charcoal);
  margin-bottom: 1.25rem;
}

.project-btn {
  font-size: 0.8rem;
  padding: 0.6rem 1.2rem;
}

/* ═══════════════════════ VISION ═══════════════════════ */
.vision-section {
  background: var(--dark-section);
  padding: var(--section-pad) 0;
}

.vision-header {
  text-align: center;
  margin-bottom: 4.5rem;
}

.vision-intro {
  font-size: 0.975rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.8;
  max-width: 620px;
  margin: 0 auto;
}

.vision-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}

.pillar {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 2rem;
}

.pillar-icon {
  color: var(--stone);
  margin-bottom: 1.25rem;
}

.pillar-title {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--white);
  margin-bottom: 1rem;
  line-height: 1.3;
}

.pillar-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.pillar-list li {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.6);
  padding-left: 1.1rem;
  position: relative;
}

.pillar-list li::before {
  content: '·';
  position: absolute;
  left: 0;
  color: var(--stone);
  font-size: 1.2rem;
  line-height: 1;
  top: -1px;
}

/* ═══════════════════════ TESTIMONIALS ═══════════════════════ */
.testimonials-section {
  background: var(--white);
  padding: var(--section-pad) 0;
  text-align: center;
}

.testimonials-section .eyebrow { margin-bottom: 0.5rem; }
.testimonials-section .section-title { margin-bottom: 3.5rem; }

.testimonials-slider {
  max-width: 760px;
  margin: 0 auto;
  position: relative;
  min-height: 280px;
}

.testimonial-slide {
  display: none;
  animation: fadeIn 0.5s var(--ease);
  flex-direction: column;
  align-items: center;
}

.testimonial-slide.active { display: flex; }

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

.testimonial-avatar {
  width: 68px; height: 68px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--cream-dark);
  margin-bottom: 1.5rem;
  flex-shrink: 0;
}

.testimonial-avatar img {
  width: 100%; height: 100%;
  object-fit: cover;
}

.testimonial-quote {
  font-family: var(--font-serif);
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  font-style: italic;
  color: var(--charcoal);
  line-height: 1.75;
  margin-bottom: 1.75rem;
  quotes: "\201C" "\201D";
}

.testimonial-quote::before { content: open-quote; }
.testimonial-quote::after  { content: close-quote; }

.testimonial-author strong {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--charcoal);
  font-style: normal;
  margin-bottom: 0.2rem;
}

.testimonial-author span {
  display: block;
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 0.5rem;
}

.stars {
  color: var(--brown);
  font-size: 0.9rem;
  letter-spacing: 2px;
}

.slider-controls {
  display: flex;
  justify-content: center;
  gap: 0.6rem;
  margin-top: 2.5rem;
}

.slider-dot {
  width: 24px; height: 4px;
  border-radius: 2px;
  background: var(--cream-dark);
  border: none;
  cursor: pointer;
  transition: background 0.25s, width 0.25s;
}

.slider-dot.active {
  background: var(--brown);
  width: 36px;
}

.slider-arrows {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.slider-arrow {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1.5px solid var(--cream-dark);
  background: none;
  cursor: pointer;
  font-size: 1rem;
  color: var(--charcoal);
  transition: border-color 0.2s, background 0.2s, transform 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slider-arrow:hover {
  border-color: var(--charcoal);
  background: var(--charcoal);
  color: var(--white);
  transform: scale(1.08);
}

/* ═══════════════════════ CONTACT ═══════════════════════ */
.contact-section {
  background: var(--cream);
  padding: var(--section-pad) 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 5rem;
  align-items: start;
}

.contact-text .section-title { margin-top: 0.5rem; }

.contact-text p {
  font-size: 0.925rem;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 2rem;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: var(--charcoal);
}

.contact-item svg {
  flex-shrink: 0;
  color: var(--brown);
  margin-top: 1px;
}

/* Contact Form */
.contact-form {
  background: var(--white);
  border-radius: 10px;
  padding: 2.5rem;
  box-shadow: 0 4px 32px rgba(0,0,0,0.06);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.form-group label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.form-group input,
.form-group select,
.form-group textarea {
  font-family: var(--font-sans);
  font-size: 0.93rem;
  color: var(--charcoal);
  background: var(--cream);
  border: 1.5px solid var(--cream-dark);
  border-radius: 6px;
  padding: 0.75rem 1rem;
  outline: none;
  transition: border-color 0.2s;
  resize: vertical;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--brown);
}

.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--stone); }

/* ═══════════════════════ FOOTER ═══════════════════════ */
.footer {
  background: var(--charcoal);
  color: rgba(255,255,255,0.7);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3.5rem;
  padding-top: 5rem;
  padding-bottom: 4rem;
}

.footer-brand .logo--light { color: var(--white); }

.footer-tagline {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.7;
  margin: 1rem 0 1.5rem;
  max-width: 260px;
}

.footer-copy {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.35);
  line-height: 1.6;
}

.footer-heading {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  margin-bottom: 1.25rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.footer-links a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.65);
  transition: color 0.2s;
  line-height: 1.4;
}

.footer-links a:hover { color: var(--white); }

.footer-contact-list li {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.footer-contact-note {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.3);
  letter-spacing: 0.05em;
}

/* Footer bottom */
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 1.5rem 0;
}

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.3);
}

/* ═══════════════════════ RESPONSIVE ═══════════════════════ */
@media (max-width: 1024px) {
  .projects-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; gap: 3rem; }
  .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
  .vision-pillars { grid-template-columns: 1fr; gap: 2rem; }
  .projects-header { grid-template-columns: 1fr; gap: 1rem; }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: fixed;
    inset: 0;
    background: var(--charcoal);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    z-index: 999;
  }
  .nav-links.open { display: flex; }
  .nav-links a { font-size: 1.1rem; color: rgba(255,255,255,0.85); }
  .nav-links .nav-cta { font-size: 0.95rem; padding: 0.8rem 2rem; }
  .hamburger { display: flex; z-index: 1001; }
  .projects-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; padding-top: 3rem; padding-bottom: 2rem; }
  .footer-brand { grid-column: auto; }
  .footer-bottom-inner { flex-direction: column; gap: 1rem; text-align: center; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 2.75rem; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { text-align: center; }
  .contact-form { padding: 1.5rem; }
}

/* ═══════════════════════ ANIMATIONS & UTILITIES ═══════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

/* ── FAQ Accordion ── */
.faq-section { padding: var(--section-pad) 0; }
.faq-wrapper { max-width: 800px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid rgba(0,0,0,0.1); padding: 1.5rem 0; }
.faq-item:first-child { border-top: 1px solid rgba(0,0,0,0.1); }
.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 1.125rem;
  color: var(--charcoal);
  cursor: pointer;
  padding: 0;
}
.faq-question::after { content: "+"; font-size: 1.5rem; font-weight: 300; transition: transform 0.3s ease; }
.faq-item.active .faq-question::after { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s ease, margin-top 0.4s ease; color: var(--muted); line-height: 1.6; }
.faq-item.active .faq-answer { max-height: 500px; margin-top: 1rem; }

/* ── Pricing Matrix ── */
.pricing-matrix-wrap { overflow-x: auto; margin-bottom: 4rem; background: var(--white); border-radius: 8px; box-shadow: 0 4px 20px rgba(0,0,0,0.03); }
.pricing-table { width: 100%; border-collapse: collapse; min-width: 600px; }
.pricing-table th, .pricing-table td { padding: 1.25rem 1.5rem; text-align: left; border-bottom: 1px solid rgba(0,0,0,0.05); }
.pricing-table th { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted); }
.pricing-table td.model-name { font-family: var(--font-serif); font-weight: 600; color: var(--charcoal); font-size: 1.125rem; }
.pricing-table td.model-price { font-weight: 600; color: var(--brown); }

/* ── Review Badge ── */
.review-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--white);
  padding: 0.5rem 1rem;
  border-radius: 100px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  font-size: 0.875rem;
  color: var(--charcoal);
  margin-top: 1.5rem;
  text-decoration: none;
}
.review-stars { color: #FBBC05; letter-spacing: 1px; }

/* ── Sticky Mobile CTA ── */
.sticky-mobile-cta { display: none; position: fixed; bottom: 0; left: 0; width: 100%; padding: 1rem; background: var(--white); border-top: 1px solid rgba(0,0,0,0.05); box-shadow: 0 -4px 12px rgba(0,0,0,0.05); z-index: 90; text-align: center; }
.sticky-mobile-cta .btn { width: 100%; }
@media (max-width: 768px) {
  .sticky-mobile-cta { display: block; }
  body, .footer { padding-bottom: 76px; }
}

/* Model hero styles */
.model-hero { padding-top: 180px; padding-bottom: 100px; text-align: center; position: relative; }
.model-hero::after { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: linear-gradient(to bottom, rgba(0,0,0,0.5), rgba(0,0,0,0.2) 60%, transparent); z-index: 1; pointer-events: none; }
.model-hero-bg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.model-hero-content { position: relative; z-index: 2; max-width: 800px; margin: 0 auto; }
.model-hero-title { font-family: var(--font-serif); font-size: clamp(3rem, 6vw, 5rem); color: var(--white); margin-bottom: 1rem; }
.model-hero-stats { display: flex; justify-content: center; gap: 1.5rem; color: var(--white); font-size: 1.125rem; font-weight: 500; letter-spacing: 0.05em; opacity: 0.9; }
.floorplan-section { padding: 5rem 0; background-color: var(--cream); }
.floorplan-viewer { background: #fff; border-radius: 12px; padding: 2.5rem; box-shadow: 0 20px 40px rgba(0,0,0,0.08); margin-bottom: 2.5rem; text-align: center; }
.floorplan-img { max-width: 100%; height: auto; border-radius: 8px; }
.floorplan-actions { display: flex; justify-content: center; gap: 1rem; margin-top: 3rem; }

/* ═══════════════════════════════════════════════
   PERTOS-INSPIRED REVAMP — New sections
   ═══════════════════════════════════════════════ */

/* ── Hero: centred full-screen variant ── */
/* Override original justify-content:center so hero-center-wrap can flex-grow */
.hero {
  display: flex;
  flex-direction: column;
  justify-content: flex-start; /* hero-center-wrap grows via flex:1 */
}

.hero-center-wrap {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 7rem clamp(1.25rem, 4vw, 3rem) 3rem;
  animation: fadeUp 1s 0.3s both;
}

.hero-center-wrap .hero-title {
  font-size: clamp(3.5rem, 8vw, 7rem);
  line-height: 1.0;
  margin-bottom: 1.5rem;
}

.hero-center-wrap .hero-sub {
  margin: 0 auto 2.25rem;
  max-width: 560px;
  font-size: clamp(0.95rem, 1.5vw, 1.1rem);
}

.hero-center-wrap .hero-actions {
  justify-content: center;
}

/* ── Models Section (Pertos-style) ── */
.models-section {
  padding: var(--section-pad) 0;
  background: var(--white);
}

.models-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: end;
  margin-bottom: 3.5rem;
}

.models-title {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 1.08;
  color: var(--charcoal);
  margin-top: 0.5rem;
}

.models-intro-right {
  padding-bottom: 0.25rem;
}

.models-intro-right p {
  font-size: 0.975rem;
  color: var(--muted);
  line-height: 1.8;
}

/* 4-column card grid */
.models-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

/* Individual model card */
.model-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 3/4;
  cursor: pointer;
  background: var(--charcoal);
}

.model-card-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}

.model-card:hover .model-card-img {
  transform: scale(1.09);
}

.model-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(10,8,5,0.95) 0%,
    rgba(10,8,5,0.5) 40%,
    rgba(10,8,5,0.1) 70%,
    transparent 100%
  );
  transition: opacity 0.3s;
}

.model-card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.6rem 1.5rem;
}

.model-card-name {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.3rem;
  line-height: 1.2;
}

.model-card-specs {
  font-size: 0.73rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 0.2rem;
  letter-spacing: 0.03em;
}

.model-card-price {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.9);
  font-weight: 500;
  margin-bottom: 1rem;
}

.model-card-price span {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.5);
}

.model-card-btn {
  display: inline-block;
  background: var(--brown);
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 0.73rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  padding: 0.5rem 1.2rem;
  border-radius: 100px;
  transition: background 0.2s, transform 0.2s;
  text-decoration: none;
}

.model-card:hover .model-card-btn {
  background: var(--brown-light);
  transform: translateY(-2px);
}

.model-card-btn--muted {
  background: rgba(255,255,255,0.14);
  backdrop-filter: blur(6px);
  cursor: default;
  pointer-events: none;
}

/* ── Community Split (dark left, image right) ── */
.community-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 680px;
}

.community-split-content {
  background: var(--dark-section);
  padding: clamp(4rem, 7vw, 7rem) clamp(2rem, 5vw, 5rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.community-split-content .eyebrow { color: var(--stone); }
.community-split-content .section-title { color: var(--white); }
.community-split-content .section-body { color: rgba(255,255,255,0.65); margin-top: 1rem; }

.amenity-list {
  list-style: none;
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.amenity-list li {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.7);
  padding-left: 1.5rem;
  position: relative;
  line-height: 1.5;
}

.amenity-list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--brown-light);
  font-size: 0.8rem;
  top: 1px;
}

.community-split-img {
  position: relative;
  overflow: hidden;
}

.community-split-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}

.community-img-caption {
  position: absolute;
  bottom: 1.5rem;
  left: 2rem;
  color: rgba(255,255,255,0.7);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ── Site Map ── */
.sitemap-section {
  padding: var(--section-pad) 0;
  background: var(--cream-dark);
}

.sitemap-header {
  text-align: center;
  margin-bottom: 3rem;
}

.sitemap-header .section-body { margin: 0 auto; }

.sitemap-embed-wrap {
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 50px rgba(0,0,0,0.1);
}

.sitemap-iframe {
  width: 100%;
  height: 700px;
  border: none;
  display: block;
}

.sitemap-fallback {
  padding: 1rem 1.5rem;
  background: var(--cream);
  font-size: 0.82rem;
  color: var(--muted);
  text-align: center;
  border-top: 1px solid rgba(0,0,0,0.05);
}

.sitemap-fallback a { color: var(--brown); font-weight: 600; }

/* ── Downloads ── */
.downloads-section {
  padding: var(--section-pad) 0;
  background: var(--white);
}

.downloads-section .section-body { margin: 0 auto; }

.downloads-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2.5rem;
}

.download-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  background: var(--cream);
  border-radius: 14px;
  border: 1.5px solid transparent;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
  text-decoration: none;
  color: var(--charcoal);
}

.download-card:hover {
  border-color: var(--brown);
  box-shadow: 0 6px 24px rgba(0,0,0,0.08);
  transform: translateY(-3px);
}

.dl-icon {
  font-size: 1.65rem;
  flex-shrink: 0;
}

.dl-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.18rem;
}

.dl-info strong {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 600;
  color: var(--charcoal);
}

.dl-info span {
  font-size: 0.76rem;
  color: var(--muted);
}

.dl-arrow {
  font-size: 1rem;
  color: var(--brown);
  flex-shrink: 0;
  transition: transform 0.2s;
}

.download-card:hover .dl-arrow { transform: translateX(4px); }

.download-card--featured {
  background: var(--charcoal);
}

.download-card--featured .dl-info strong { color: var(--white); }
.download-card--featured .dl-info span { color: rgba(255,255,255,0.5); }
.download-card--featured .dl-arrow { color: var(--stone); }
.download-card--featured:hover { border-color: var(--stone); }

/* ── Dark contact section ── */
.contact-dark {
  background: var(--charcoal-mid);
  padding: var(--section-pad) 0;
}

.contact-dark-inner {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 6rem;
  align-items: start;
}

.contact-dark-text .section-title { color: var(--white); margin-top: 0.5rem; }

.contact-dark-details {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.contact-dark-form {
  background: var(--white);
  border-radius: 12px;
  padding: 2.5rem;
}

.contact-dark-form .form-group { margin-bottom: 1.25rem; }

/* ── Pricing table — PDF button ── */
.table-dl-btn {
  display: inline-block;
  background: var(--brown);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.35rem 0.85rem;
  border-radius: 4px;
  text-decoration: none;
  transition: background 0.2s;
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.table-dl-btn:hover { background: var(--brown-light); }

.table-dl-btn--na {
  background: var(--cream-dark);
  color: var(--muted);
  cursor: default;
}

/* ══════════════════════════════════════════════
   INTERACTIVE SITE MAP
   ══════════════════════════════════════════════ */
.sitemap-map-container {
  position: relative;
  width: 100%;
  line-height: 0;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 10px 50px rgba(0,0,0,0.35);
}
.sitemap-bg-img {
  width: 100%;
  height: auto;
  display: block;
}
#sitemap-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
#sitemap-svg .lot-marker {
  pointer-events: all;
  cursor: pointer;
  transition: opacity 0.25s ease;
}
#sitemap-svg.has-hover .lot-marker:not(.is-hovered) {
  opacity: 0.35;
}
#sitemap-svg .lot-marker.is-hovered {
  opacity: 1;
}
#sitemap-svg .lot-marker.is-filtered-out {
  opacity: 0.08 !important;
  pointer-events: none;
}

/* --- Sitemap Status Colors --- */
:root {
  --status-available: #2d9d5e;
  --status-sold:      #c0392b;
  --status-reserved:  #c47d24;
}

/* Glow Ring styling */
.lot-marker-glow {
  fill-opacity: 0.12;
  transition: fill-opacity 0.25s ease;
}
.lot-marker[data-status="available"] .lot-marker-glow { fill: var(--status-available); }
.lot-marker[data-status="sold"] .lot-marker-glow      { fill: var(--status-sold); }
.lot-marker[data-status="reserved"] .lot-marker-glow  { fill: var(--status-reserved); }

.lot-marker.is-hovered .lot-marker-glow {
  fill-opacity: 0.28;
}

/* Inner Circle styling - All solid colored dots with white borders */
.lot-marker-circle {
  fill-opacity: 1;
  stroke: #ffffff;
  stroke-width: 2px;
  transition: stroke-width 0.25s ease, fill-opacity 0.25s ease;
}
.lot-marker[data-status="available"] .lot-marker-circle { fill: var(--status-available); }
.lot-marker[data-status="sold"] .lot-marker-circle      { fill: var(--status-sold); }
.lot-marker[data-status="reserved"] .lot-marker-circle  { fill: var(--status-reserved); }

.lot-marker.is-hovered .lot-marker-circle {
  stroke-width: 3px;
}

/* Diagonal cross slash for Sold units */
.lot-sold-slash {
  stroke: #ffffff;
  stroke-width: 2.5;
  stroke-linecap: round;
  pointer-events: none;
  opacity: 0.9;
  transition: stroke-width 0.25s ease;
}
.lot-marker.is-hovered .lot-sold-slash {
  stroke-width: 3.5;
}

#sitemap-svg text {
  font-size: 11px;
  fill: #ffffff;
  pointer-events: none;
}

.sitemap-lot-tooltip {
  position: absolute;
  background: var(--charcoal);
  color: var(--white);
  padding: 0.5rem 0.85rem;
  border-radius: 8px;
  font-size: 0.8rem;
  line-height: 1.4;
  pointer-events: none;
  white-space: nowrap;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.15s, transform 0.15s;
  z-index: 20;
  box-shadow: 0 4px 20px rgba(0,0,0,0.5);
  border: 1px solid rgba(255,255,255,0.1);
}
.sitemap-lot-tooltip.visible {
  opacity: 1;
  transform: translateY(0);
}
.sitemap-lot-tooltip strong {
  display: block;
  font-size: 0.88rem;
  margin-bottom: 0.1rem;
}

/* ── Sitemap Filters ── */
.sitemap-filter-bar {
  display: flex;
  justify-content: center;
  gap: 0.65rem;
  margin: 0 auto 2.25rem;
  flex-wrap: wrap;
}
.sitemap-filter-btn {
  background: var(--white);
  border: 1.5px solid var(--cream-dark);
  padding: 0.5rem 1.15rem;
  border-radius: 100px;
  font-family: var(--font-sans);
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 2px 6px rgba(0,0,0,0.02);
}
.sitemap-filter-btn:hover {
  border-color: var(--brown-light);
  color: var(--charcoal);
}
.sitemap-filter-btn.active {
  background: var(--charcoal);
  color: var(--white);
  border-color: var(--charcoal);
  box-shadow: 0 4px 12px rgba(26,26,26,0.15);
}

/* ── Sitemap Drawer ── */
.sitemap-drawer {
  position: fixed;
  top: 0;
  right: -420px;
  width: 400px;
  max-width: 100%;
  height: 100%;
  background: var(--white);
  box-shadow: -10px 0 40px rgba(0,0,0,0.15);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 2.25rem 2rem;
  overflow-y: auto;
}
.sitemap-drawer.open {
  right: 0;
}
.sitemap-drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(10, 8, 5, 0.4);
  backdrop-filter: blur(4px);
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.sitemap-drawer-backdrop.open {
  opacity: 1;
  pointer-events: all;
}
.sitemap-drawer-close {
  align-self: flex-end;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--muted);
  transition: color 0.2s;
  line-height: 1;
  margin-bottom: 1rem;
}
.sitemap-drawer-close:hover {
  color: var(--charcoal);
}
.sitemap-drawer-header {
  margin-bottom: 1.5rem;
}
.sitemap-drawer-badge {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.3rem 0.75rem;
  border-radius: 4px;
  margin-bottom: 0.75rem;
}
.sitemap-drawer-badge.available { background: rgba(45,157,94,0.12); color: #2d9d5e; }
.sitemap-drawer-badge.sold { background: rgba(192,57,43,0.12); color: #c0392b; }
.sitemap-drawer-badge.reserved { background: rgba(196,125,36,0.12); color: #c47d24; }

.sitemap-drawer-title {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  color: var(--charcoal);
  line-height: 1.1;
  margin-bottom: 0.35rem;
}
.sitemap-drawer-subtitle {
  font-size: 0.85rem;
  color: var(--muted);
}
.sitemap-drawer-divider {
  height: 1px;
  background: var(--cream-dark);
  margin: 1.5rem 0;
}
.sitemap-drawer-spec-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}
.sitemap-drawer-spec {
  display: flex;
  flex-direction: column;
}
.sitemap-drawer-spec span {
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
}
.sitemap-drawer-spec strong {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--charcoal);
}
.sitemap-drawer-suitability {
  background: var(--cream);
  padding: 1.25rem;
  border-radius: 10px;
  border: 1px solid var(--cream-dark);
  margin-bottom: 1.5rem;
}
.sitemap-drawer-suitability h4 {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 0.6rem;
}
.sitemap-drawer-models-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.sitemap-drawer-model-pill {
  font-size: 0.74rem;
  font-weight: 600;
  background: var(--white);
  border: 1px solid var(--cream-dark);
  padding: 0.25rem 0.65rem;
  border-radius: 100px;
  color: var(--charcoal-mid);
  text-decoration: none;
  transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
}
.sitemap-drawer-model-pill.clickable-pill:hover {
  background: var(--charcoal);
  color: var(--white);
  border-color: var(--charcoal);
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}
.sitemap-drawer-inquiry-box {
  margin-top: auto;
  padding-top: 1.5rem;
}
.sitemap-ui-bar {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-top: 1.25rem;
  flex-wrap: wrap;
  padding: 0 0.25rem;
}
.sitemap-legend {
  display: flex;
  gap: 1.25rem;
  align-items: center;
}
.legend-item {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.85);
}
.legend-swatch {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 0 0 2px rgba(255,255,255,0.2);
}
.sitemap-counts {
  display: flex;
  gap: 1.75rem;
  margin-left: auto;
}
.sitemap-count {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1.15;
  gap: 0.1rem;
}
.sitemap-count strong {
  font-size: 1.5rem;
  font-weight: 700;
  color: #2d9d5e;
}
.sitemap-count.sold strong  { color: #c0392b; }
.sitemap-count.reserved strong { color: #c47d24; }
.sitemap-count span {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
}
.sitemap-pdf-link {
  color: var(--brown-light);
  font-size: 0.85rem;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  letter-spacing: 0.01em;
}
.sitemap-pdf-link:hover { text-decoration: underline; }

/* ── Responsive additions ── */
@media (max-width: 1100px) {
  .models-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .community-split { grid-template-columns: 1fr; }
  .community-split-img { min-height: 420px; }
  .contact-dark-inner { grid-template-columns: 1fr; gap: 3rem; }
  .models-intro { grid-template-columns: 1fr; gap: 1.5rem; }
}

@media (max-width: 768px) {
  .downloads-grid { grid-template-columns: 1fr 1fr; }
  .sitemap-counts { gap: 1rem; }
  .sitemap-ui-bar { gap: 1rem; }
}

@media (max-width: 540px) {
  .models-grid { grid-template-columns: 1fr; }
  .downloads-grid { grid-template-columns: 1fr; }
  .hero-center-wrap .hero-title { font-size: 3rem; }
  .sitemap-counts { margin-left: 0; }
}
/* ═══════════════════════════════════════════════
   INTERACTIVE FLOOR PLAN EXPLORER
   ═══════════════════════════════════════════════ */
.explorer-section {
  padding: var(--section-pad) 0;
  background: linear-gradient(180deg, var(--cream) 0%, var(--cream-dark) 100%);
  position: relative;
  overflow: hidden;
}
.explorer-section::before {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(circle at 80% 10%, rgba(168,144,110,0.12), transparent 45%),
                    radial-gradient(circle at 10% 90%, rgba(139,115,85,0.10), transparent 45%);
  pointer-events: none;
}
.explorer-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 3.5rem;
  position: relative;
}
.explorer-header .section-body { margin: 0 auto; }

.explorer {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 2rem;
  background: var(--white);
  border-radius: 18px;
  padding: clamp(1.25rem, 3vw, 2.25rem);
  box-shadow: 0 40px 80px -30px rgba(26,26,26,0.25);
  position: relative;
  overflow: hidden;
}
@media (max-width: 880px) {
  .explorer { grid-template-columns: 1fr; }
}

.explorer-stage {
  position: relative;
  background: #FAF7F1;
  border-radius: 12px;
  padding: 1.25rem;
  aspect-ratio: 5 / 4;
  overflow: hidden;
  transition: background 0.7s var(--ease);
}
.explorer-stage[data-time="night"] {
  background: #11151B;
}
.explorer-stage::before {
  content: '';
  position: absolute; inset: 0;
  background:
    repeating-linear-gradient(45deg, rgba(139,115,85,0.04) 0 1px, transparent 1px 12px);
  pointer-events: none;
  transition: opacity 0.7s var(--ease);
}
.explorer-stage[data-time="night"]::before { opacity: 0.15; }

.explorer-svg {
  width: 100%;
  height: 100%;
  display: block;
  position: relative;
  z-index: 1;
}

.explorer-svg .floor-outline {
  fill: none;
  stroke: var(--charcoal);
  stroke-width: 3.5;
  stroke-linejoin: round;
  transition: stroke 0.6s var(--ease);
}
.explorer-stage[data-time="night"] .explorer-svg .floor-outline {
  stroke: #E8DCC4;
}

.explorer-svg .room { cursor: pointer; outline: none; }
.explorer-svg .room-shape {
  fill: #EDE8DF;
  stroke: var(--brown);
  stroke-width: 1.2;
  stroke-dasharray: 3 3;
  transition: fill 0.35s var(--ease), filter 0.35s var(--ease), stroke 0.35s var(--ease);
}
.explorer-stage[data-time="night"] .explorer-svg .room-shape {
  fill: #1F262F;
  stroke: #6B5C44;
}

.explorer-svg .room:hover .room-shape,
.explorer-svg .room.is-active .room-shape {
  fill: var(--brown-light);
  stroke: var(--charcoal);
  stroke-dasharray: 0;
  filter: drop-shadow(0 6px 16px rgba(139,115,85,0.45));
}
.explorer-stage[data-time="night"] .explorer-svg .room:hover .room-shape,
.explorer-stage[data-time="night"] .explorer-svg .room.is-active .room-shape {
  fill: #C29A66;
  stroke: #E8DCC4;
  filter: drop-shadow(0 0 18px rgba(255,200,120,0.6));
}

.explorer-svg .room-label {
  font-family: var(--font-sans);
  font-size: 12.5px;
  font-weight: 600;
  fill: var(--charcoal);
  text-anchor: middle;
  pointer-events: none;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: fill 0.35s var(--ease);
}
.explorer-svg .room-dim {
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 400;
  fill: var(--muted);
  text-anchor: middle;
  pointer-events: none;
  letter-spacing: 0.03em;
  transition: fill 0.35s var(--ease);
}
.explorer-stage[data-time="night"] .explorer-svg .room-label { fill: #F0E6D2; }
.explorer-stage[data-time="night"] .explorer-svg .room-dim { fill: #B8A786; }
.explorer-svg .room.is-active .room-label,
.explorer-svg .room:hover .room-label { fill: var(--charcoal); }
.explorer-stage[data-time="night"] .explorer-svg .room.is-active .room-label { fill: #1A1A1A; }

.explorer-svg .window {
  fill: var(--stone);
  transition: fill 0.7s var(--ease), filter 0.7s var(--ease);
}
.explorer-stage[data-time="night"] .explorer-svg .window {
  fill: #FFC97A;
  filter: drop-shadow(0 0 12px rgba(255,180,90,0.85)) drop-shadow(0 0 24px rgba(255,180,90,0.45));
}

.explorer-svg .door {
  stroke: var(--white);
  stroke-width: 4;
  fill: none;
}
.explorer-stage[data-time="night"] .explorer-svg .door { stroke: #11151B; }

.explorer-svg .compass {
  font-family: var(--font-serif);
  font-size: 10px;
  fill: var(--muted);
  letter-spacing: 0.15em;
}
.explorer-stage[data-time="night"] .explorer-svg .compass { fill: #8A7F68; }

.explorer-controls {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  display: flex;
  background: rgba(255,255,255,0.96);
  border-radius: 999px;
  padding: 4px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.12);
  z-index: 3;
  backdrop-filter: blur(6px);
}
.explorer-stage[data-time="night"] ~ .explorer-controls,
.explorer-stage[data-time="night"] .explorer-controls {
  background: rgba(17,21,27,0.85);
}
.explorer-controls button {
  border: none;
  background: transparent;
  padding: 7px 14px;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 999px;
  cursor: pointer;
  color: var(--muted);
  transition: all 0.3s var(--ease);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.explorer-controls button.is-active {
  background: var(--charcoal);
  color: var(--cream);
}
.explorer-stage[data-time="night"] .explorer-controls button.is-active {
  background: #FFC97A;
  color: var(--charcoal);
}
.explorer-controls button svg { width: 13px; height: 13px; }

.explorer-detail {
  padding: 0.5rem 0.25rem;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}
.explorer-detail-eyebrow {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brown);
  margin-bottom: 0.5rem;
}
.explorer-detail-name {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  font-weight: 600;
  line-height: 1.05;
  margin-bottom: 1.25rem;
  color: var(--charcoal);
}
.explorer-detail-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  padding: 1.1rem 1.25rem;
  background: var(--cream);
  border-radius: 10px;
  border: 1px solid var(--cream-dark);
}
.explorer-detail-stat { display: flex; flex-direction: column; }
.explorer-detail-stat span {
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.explorer-detail-stat strong {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 600;
  margin-top: 4px;
  color: var(--charcoal);
}
.explorer-detail-features {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
}
.explorer-detail-features li {
  position: relative;
  padding-left: 1.25rem;
  margin-bottom: 0.6rem;
  font-size: 0.93rem;
  line-height: 1.55;
  color: var(--charcoal-mid);
}
.explorer-detail-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 9px;
  height: 1.5px;
  background: var(--brown);
}
.explorer-detail-tip {
  margin-top: auto;
  font-size: 0.78rem;
  color: var(--muted);
  font-style: italic;
  padding: 0.9rem 1rem;
  background: var(--cream);
  border-left: 3px solid var(--brown-light);
  border-radius: 0 6px 6px 0;
  line-height: 1.55;
}
.explorer-detail.is-fading .explorer-detail-name,
.explorer-detail.is-fading .explorer-detail-stats,
.explorer-detail.is-fading .explorer-detail-features {
  opacity: 0.1;
  transform: translateY(4px);
}
.explorer-detail-name,
.explorer-detail-stats,
.explorer-detail-features {
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
}
.explorer-hint {
  text-align: center;
  margin-top: 1.5rem;
  font-size: 0.78rem;
  color: var(--muted);
  letter-spacing: 0.05em;
}
.explorer-hint kbd {
  display: inline-block;
  padding: 1px 7px;
  background: var(--white);
  border: 1px solid var(--cream-dark);
  border-radius: 4px;
  font-family: var(--font-sans);
  font-size: 0.7rem;
  color: var(--charcoal);
  box-shadow: 0 1px 0 rgba(0,0,0,0.05);
}

/* ─── Real-floorplan variant ─── */
.explorer-stage--plan {
  aspect-ratio: auto;
  background: #FFFEFB;
  padding: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 360px;
}
.explorer-plan-img {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 550px;
  object-fit: contain;
  object-position: center;
  display: block;
}
.explorer-room-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1.5rem;
}
.explorer-room-list .room {
  border: 1px solid var(--cream-dark);
  background: var(--white);
  color: var(--charcoal-mid);
  padding: 6px 13px;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.25s var(--ease);
  outline: none;
}
.explorer-room-list .room:hover,
.explorer-room-list .room.is-active {
  background: var(--charcoal);
  color: var(--cream);
  border-color: var(--charcoal);
}
.explorer-room-list .room:focus-visible {
  box-shadow: 0 0 0 3px rgba(139,115,85,0.35);
}
.explorer-detail-divider {
  height: 1px;
  background: var(--cream-dark);
  margin: 0 0 1.25rem;
}
.explorer-coming-soon {
  background: var(--white);
  border-radius: 18px;
  padding: 3rem 2rem;
  text-align: center;
  box-shadow: 0 20px 40px -25px rgba(26,26,26,0.18);
  max-width: 720px;
  margin: 0 auto;
}
.explorer-coming-soon h3 {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  margin-bottom: 0.75rem;
}
.explorer-coming-soon p {
  font-size: 0.95rem;
  color: var(--muted);
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

/* ─── Floor plan hotspots ─── */
.plan-wrap {
  position: relative;
  display: inline-block;
  max-width: 100%;
  line-height: 0;
}
.plan-wrap img.explorer-plan-img {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 550px;
  display: block;
}
.explorer-actions {
  display: flex;
  justify-content: center;
  gap: 1.25rem;
  margin: 2.5rem 0 1rem;
  flex-wrap: wrap;
}
.hotspot {
  position: absolute;
  border: 2px solid transparent;
  background: transparent;
  border-radius: 6px;
  cursor: pointer;
  padding: 0;
  margin: 0;
  outline: none;
  transition: all 0.3s var(--ease);
}
.hotspot:hover {
  background: rgba(139,115,85,0.14);
  border-color: rgba(139,115,85,0.55);
}
.hotspot.is-active {
  background: rgba(139,115,85,0.22);
  border-color: var(--brown);
  box-shadow: 0 0 0 3px rgba(139,115,85,0.18), 0 6px 20px rgba(139,115,85,0.35);
  z-index: 2;
}
.hotspot:focus-visible {
  outline: 2px solid var(--brown);
  outline-offset: 2px;
}
