/* ZARHA Site Digitization — Plymouth Residence Styles
   v2.0 — Landing page, adaptive zone detail, 360 viewer
*/

:root {
  --bg: #0a0a0a;
  --surface: #131313;
  --surface-2: #1a1a1a;
  --surface-hover: #202020;
  --border: #252525;
  --border-light: #333;
  --text: #f0f0f0;
  --text-secondary: #aaa;
  --text-muted: #666;
  --accent: #C8966B;
  --accent-dim: rgba(200,150,107,0.12);
  --accent-glow: rgba(200,150,107,0.25);
  --radius: 12px;
  --radius-sm: 8px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --transition: 0.3s ease;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html, body {
  height: 100%;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

#app { min-height: 100vh; }

/* ═══════════════════════════════
   HERO SECTION
   ═══════════════════════════════ */

.hero {
  position: relative;
  height: 85vh;
  min-height: 500px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

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

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
  animation: heroZoom 20s ease-in-out infinite alternate;
}
.hero-image.active {
  opacity: 1;
}

@keyframes heroZoom {
  0% { transform: scale(1); }
  100% { transform: scale(1.08); }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(10,10,10,0.1) 0%,
    rgba(10,10,10,0.3) 40%,
    rgba(10,10,10,0.85) 80%,
    var(--bg) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 32px 60px;
  animation: fadeUp 0.8s ease both;
}

.hero-content .z-mark {
  width: 40px;
  margin: 0 auto 16px;
  color: #fff;
  opacity: 0.9;
  animation: fadeUp 0.6s ease 0.2s both;
}

.hero-title {
  font-size: 42px;
  font-weight: 200;
  letter-spacing: 1px;
  color: #fff;
  margin-bottom: 8px;
  animation: fadeUp 0.6s ease 0.4s both;
}

.hero-subtitle {
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 32px;
  animation: fadeUp 0.6s ease 0.6s both;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  font-size: 13px;
  font-family: var(--font);
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--bg);
  background: var(--accent);
  border: none;
  border-radius: 40px;
  cursor: pointer;
  transition: all 0.3s ease;
  animation: fadeUp 0.6s ease 0.8s both;
}

.hero-cta:hover {
  background: #d4a67a;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(200,150,107,0.3);
}

.cta-arrow {
  font-size: 16px;
  transition: transform 0.3s ease;
}

.hero-cta:hover .cta-arrow {
  transform: translateY(3px);
}

.hero-scroll-hint {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: rgba(255,255,255,0.3);
  cursor: pointer;
  animation: scrollBounce 2s ease-in-out infinite;
}

.hero-scroll-hint svg {
  width: 24px;
  height: 24px;
}

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

@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ═══════════════════════════════
   LANDING PAGE
   ═══════════════════════════════ */

.landing {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ─── SECTION SWITCHER ─── */
.section-switcher-anchor {
  padding-top: 8px;
}

.section-switcher {
  display: flex;
  justify-content: center;
  gap: 4px;
  padding: 12px 32px;
  max-width: 700px;
  margin: 0 auto;
  background: var(--surface);
  border-radius: 50px;
  border: 1px solid var(--border);
}

.section-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  font-family: var(--font);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.5px;
  color: var(--text-muted);
  background: transparent;
  border: none;
  border-radius: 40px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.section-tab svg {
  width: 16px;
  height: 16px;
  opacity: 0.5;
  transition: opacity 0.3s ease;
}

.section-tab:hover {
  color: var(--text-secondary);
  background: var(--surface-hover);
}

.section-tab.active {
  color: var(--bg);
  background: var(--accent);
}

.section-tab.active svg {
  opacity: 1;
  color: var(--bg);
}

/* ─── LANDING SECTIONS (toggle) ─── */
.landing-section {
  display: none;
}

.landing-section.active {
  display: block;
  animation: fadeIn 0.4s ease;
}

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

/* ─── PROJECT TEASER (on Explore Spaces page) ─── */
.project-teaser {
  max-width: 1200px;
  margin: 0 auto 32px;
  padding: 0 32px;
}

.teaser-content {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius-sm);
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.teaser-text {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-secondary);
  font-style: italic;
  flex: 1;
}

.teaser-link {
  background: none;
  border: none;
  color: var(--accent);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  transition: background var(--transition);
  font-family: var(--font);
}

.teaser-link:hover {
  background: var(--accent-dim);
}

/* ─── ABOUT SECTION ─── */
.about-panel {
  padding: 48px 32px;
  max-width: 800px;
  margin: 0 auto;
}

.about-panel h2 {
  font-size: 28px;
  font-weight: 300;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.about-body p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.about-body p:last-child {
  margin-bottom: 0;
}

.about-downloads {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.about-doc-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--accent);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  padding: 12px 20px;
  border: 1px solid var(--accent);
  border-radius: var(--radius-sm);
  transition: background var(--transition), color var(--transition);
}

.about-doc-link:hover {
  background: var(--accent);
  color: var(--bg);
}

.about-doc-link svg {
  width: 18px;
  height: 18px;
}

@media (max-width: 600px) {
  .teaser-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .about-panel {
    padding: 32px 20px;
  }

  .about-panel h2 {
    font-size: 22px;
  }
}

/* ─── SITE SCAN SECTION ─── */
.sitescan-panel {
  padding: 32px;
  max-width: 1200px;
  margin: 0 auto;
}

.sitescan-panel h2 {
  font-size: 22px;
  font-weight: 300;
  margin-bottom: 4px;
}

.section-desc {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.sitescan-embed {
  width: 100%;
  height: 550px;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
}

.sitescan-video {
  margin-top: 40px;
}

.sitescan-video-embed {
  width: 100%;
  height: 0;
  padding-bottom: 56.25%;
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
}

.sitescan-video-embed iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* ─── PLANS SECTION ─── */
.plans-panel {
  padding: 32px;
  max-width: 1200px;
  margin: 0 auto;
}

.plans-panel h2 {
  font-size: 22px;
  font-weight: 300;
  margin-bottom: 4px;
}

.plans-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}

.plan-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s ease;
}

.plan-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}

.plan-card-img {
  width: 100%;
  aspect-ratio: 7/5;
  overflow: hidden;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.plan-card-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 8px;
}

.plan-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border);
  padding: 0 6px 0 0;
}
.plan-card-label {
  padding: 12px 16px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  flex: 1;
  min-width: 0;
}
.plan-card-dl {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  color: var(--text-secondary);
  transition: all 0.2s;
  flex-shrink: 0;
}
.plan-card-dl:hover {
  background: var(--surface-hover);
  color: var(--accent);
}

.zone-plans-grid {
  margin-bottom: 24px;
}

.content-pane .plans-downloads {
  margin-top: 8px;
}

.plans-downloads {
  padding-top: 8px;
}

.plans-downloads h3 {
  font-size: 16px;
  font-weight: 400;
  color: var(--text-secondary);
  margin-bottom: 12px;
}

.plans-download-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.plan-download-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 12px;
  transition: all 0.2s ease;
}

.plan-download-item:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.plan-download-item svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* ─── EXPLORE SECTION ─── */
.explore-section {
  padding-top: 16px;
}

.floor-plan-section {
  padding: 24px 32px;
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
}

/* ─── HEADER ─── */
.landing-header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 32px;
  background: rgba(10,10,10,0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.logo-link {
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
}

.z-mark {
  width: 26px;
  height: auto;
  color: var(--accent);
  flex-shrink: 0;
}

.logo-wordmark {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.logo-text {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 4px;
  color: var(--accent);
  line-height: 1;
}

.logo-tagline {
  font-size: 8px;
  font-weight: 400;
  letter-spacing: 2.5px;
  color: var(--text-muted);
  text-transform: uppercase;
  line-height: 1;
}

.project-title {
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0.5px;
}

.header-contact {
  font-size: 11px;
  color: var(--text-muted);
  text-decoration: none;
  letter-spacing: 0.3px;
  transition: color 0.2s;
}

.header-contact:hover { color: var(--accent); }

/* ─── HERO / FLOOR PLAN ─── */
.hero-section {
  padding: 32px;
  display: flex;
  justify-content: center;
}

.hero-floor-plan {
  max-width: 1000px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.floor-switcher {
  display: flex;
  gap: 4px;
  background: var(--surface);
  padding: 4px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}

.floor-btn {
  padding: 8px 20px;
  font-size: 13px;
  font-family: var(--font);
  font-weight: 500;
  color: var(--text-muted);
  background: transparent;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: all var(--transition);
}

.floor-btn:hover { color: var(--text); background: var(--surface-hover); }
.floor-btn.active { color: var(--bg); background: var(--accent); }

.floor-plan-wrapper {
  position: relative;
  display: inline-block;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 8px 40px rgba(0,0,0,0.4);
}

.floor-plan-img {
  display: block;
  max-width: 100%;
  max-height: 65vh;
  user-select: none;
  -webkit-user-drag: none;
}

/* ─── MAP PINS ─── */
.map-pin {
  position: absolute;
  transform: translate(-50%, -50%);
  text-decoration: none;
  z-index: 10;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.pin-dot {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--accent);
  border: 3px solid #fff;
  box-shadow: 0 2px 12px rgba(0,0,0,0.5), 0 0 0 5px var(--accent-dim);
  transition: all var(--transition);
  animation: pinPulse 2.5s ease-in-out infinite;
}

@keyframes pinPulse {
  0%, 100% { box-shadow: 0 2px 12px rgba(0,0,0,0.5), 0 0 0 5px rgba(200,150,107,0.12); }
  50% { box-shadow: 0 2px 16px rgba(0,0,0,0.5), 0 0 0 10px rgba(200,150,107,0.2); }
}

.map-pin:hover .pin-dot {
  transform: scale(1.2);
  box-shadow: 0 2px 16px rgba(0,0,0,0.5), 0 0 0 10px var(--accent-glow);
  animation: none;
}

.map-pin .pin-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: #fff;
  background: rgba(0,0,0,0.8);
  padding: 5px 12px;
  border-radius: 6px;
  white-space: nowrap;
  opacity: 1;
  transform: translateY(0);
  transition: all 0.2s ease;
  pointer-events: none;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(200,150,107,0.2);
}

.map-pin:hover .pin-label {
  opacity: 1;
  transform: translateY(0);
  background: rgba(0,0,0,0.9);
  border-color: var(--accent);
}

.map-pin.empty .pin-dot {
  background: var(--text-muted);
  border-color: var(--border-light);
  animation: none;
}

.map-pin.empty .pin-label {
  opacity: 0.5;
}

/* ─── ZONE CARDS ─── */
.zone-cards-section {
  padding: 24px 32px 40px;
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
}

.section-header {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 20px;
}

.section-header h2 {
  font-size: 20px;
  font-weight: 400;
  letter-spacing: 0.3px;
}

.zone-count {
  font-size: 12px;
  color: var(--text-muted);
}

.zone-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}

.zone-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  color: var(--text);
  transition: all var(--transition);
}

.zone-card:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.3);
}

.zone-card-img {
  height: 180px;
  background-size: cover;
  background-position: center;
  background-color: var(--surface-2);
}

.zone-card-empty {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.zone-card-empty svg {
  width: 32px;
  height: 32px;
  color: var(--border-light);
}

.zone-card-body {
  padding: 16px;
}

.zone-card-floor {
  font-size: 10px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.zone-card-name {
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 8px;
}

.zone-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.content-tag {
  font-size: 10px;
  padding: 3px 8px;
  border-radius: 4px;
  background: var(--accent-dim);
  color: var(--accent);
  font-weight: 500;
}

.content-tag.empty-tag {
  background: var(--surface-2);
  color: var(--text-muted);
}

/* ─── COMING SOON CARD ─── */
.coming-soon-card {
  cursor: default;
  opacity: 0.6;
  border-style: dashed;
}

.coming-soon-card:hover {
  transform: none;
  border-color: var(--border);
  box-shadow: none;
  opacity: 0.7;
}

.coming-soon-img {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface-2) !important;
}

.coming-soon-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--surface);
  border: 2px dashed var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
}

.coming-soon-icon svg {
  width: 24px;
  height: 24px;
  color: var(--text-muted);
}

/* ─── FOOTER ─── */
.landing-footer {
  margin-top: auto;
  padding: 24px 32px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--text-muted);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-brand .z-mark {
  width: 20px;
  color: var(--accent);
  opacity: 0.7;
}

.footer-brand-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.footer-brand-text .logo-text {
  font-size: 11px;
  letter-spacing: 3px;
}

.footer-tagline {
  font-size: 7px;
  letter-spacing: 2px;
  color: var(--text-muted);
  text-transform: uppercase;
}

.footer-contact { display: flex; align-items: center; gap: 8px; }
.footer-contact a { color: var(--accent); text-decoration: none; }
.footer-contact a:hover { text-decoration: underline; }
.footer-sep { color: var(--border-light); }


/* ═══════════════════════════════
   ZONE DETAIL PAGE
   ═══════════════════════════════ */

.zone-detail {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ─── DETAIL HEADER ─── */
.detail-header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 24px;
  background: rgba(10,10,10,0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.back-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-size: 13px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s;
}

.back-btn svg { width: 16px; height: 16px; }
.back-btn:hover { background: var(--surface-hover); border-color: var(--border-light); }

.detail-title-group { flex: 1; }
.detail-floor-tag {
  font-size: 10px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.detail-title {
  font-size: 20px;
  font-weight: 400;
  letter-spacing: 0.3px;
}

.zone-code-badge {
  font-size: 11px;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-dim);
  padding: 4px 10px;
  border-radius: 6px;
  letter-spacing: 0.5px;
}

/* ─── TABS ─── */
.detail-tabs {
  display: flex;
  gap: 8px;
  padding: 16px 24px;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}

.tab-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 14px 24px 12px;
  font-family: var(--font);
  font-weight: 500;
  color: var(--text-muted);
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.25s ease;
  min-width: 100px;
}

.tab-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--surface);
  border: 1px solid var(--border);
  transition: all 0.25s ease;
}

.tab-icon svg { width: 18px; height: 18px; }

.tab-label {
  font-size: 12px;
  letter-spacing: 0.3px;
}

.tab-btn:hover {
  color: var(--text);
  background: var(--surface-hover);
  border-color: var(--border-light);
  transform: translateY(-1px);
}

.tab-btn:hover .tab-icon {
  border-color: var(--border-light);
}

.tab-btn.active {
  color: var(--accent);
  background: var(--accent-dim);
  border-color: rgba(200,150,107,0.3);
}

.tab-btn.active .tab-icon {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--bg);
}

.tab-btn.active .tab-icon svg { color: var(--bg); }

/* ─── CONTENT PANELS ─── */
.detail-content { flex: 1; display: flex; flex-direction: column; }

.content-panel { display: none; flex: 1; }
.content-panel.active { display: flex; flex-direction: column; }

/* ─── GALLERY ─── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 12px;
  padding: 24px;
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 16/10;
  background: var(--surface);
  border: 1px solid var(--border);
  cursor: pointer;
  transition: all var(--transition);
}

.gallery-item:hover {
  border-color: var(--accent);
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery-item:hover img { transform: scale(1.03); }

.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 8px 14px;
  background: linear-gradient(transparent, rgba(0,0,0,0.7));
  font-size: 12px;
  color: var(--text-secondary);
}

/* ─── PANO VIEWER ─── */
.pano-panel { position: relative; }

.pano-container {
  flex: 1;
  min-height: 70vh;
  background: #000;
  position: relative;
}

.pano-container canvas { display: block; width: 100%; height: 100%; }

.pano-loading {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 14px;
}

.pano-switcher {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 4px;
  background: rgba(10,10,10,0.85);
  backdrop-filter: blur(12px);
  padding: 4px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  z-index: 20;
}

.pano-btn {
  padding: 8px 16px;
  font-size: 12px;
  font-family: var(--font);
  font-weight: 500;
  color: var(--text-muted);
  background: transparent;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  text-transform: capitalize;
  transition: all 0.2s;
}

.pano-btn:hover { color: var(--text); }
.pano-btn.active { color: var(--bg); background: var(--accent); }

/* ─── INTERACTIVE HERO (3D / 360° switchable) ─── */
.zone-hero-interactive {
  position: relative;
  width: 100%;
  height: 50vh;
  min-height: 320px;
  background: #000;
}

.hero-viewer {
  position: absolute;
  inset: 0;
  display: none;
}

.hero-viewer.active {
  display: block;
}

.hero-viewer iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.hero-viewer .pano-container {
  width: 100%;
  height: 100%;
  min-height: unset;
}

.hero-viewer .pano-switcher {
  bottom: 56px;
}

/* Hero interaction hint */
.hero-interact-hint {
  position: absolute;
  bottom: 16px;
  left: 16px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: rgba(10,10,10,0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 8px;
  border: 1px solid var(--border);
  font-size: 11px;
  font-weight: 400;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.3px;
  pointer-events: none;
  transition: opacity 0.6s ease;
  z-index: 10;
}

.hero-interact-hint svg {
  color: var(--accent);
  flex-shrink: 0;
}

/* Hero mode switcher (3D ↔ 360°) */
.hero-mode-switcher {
  position: absolute;
  bottom: 12px;
  right: 16px;
  display: flex;
  gap: 4px;
  background: rgba(10,10,10,0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 4px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  z-index: 10;
}

.hero-mode-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  font-size: 12px;
  font-family: var(--font);
  font-weight: 500;
  color: var(--text-muted);
  background: transparent;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s;
}

.hero-mode-btn svg { width: 15px; height: 15px; }
.hero-mode-btn:hover { color: var(--text); }
.hero-mode-btn.active { color: var(--bg); background: var(--accent); }

/* ─── CONTENT SECTION (Renders / Plans toggle) ─── */
.content-section {
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
  padding: 0 24px 32px;
}

.content-toggle {
  display: flex;
  gap: 4px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
  margin-bottom: 20px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.content-toggle::-webkit-scrollbar { display: none; }

.content-toggle-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  font-size: 13px;
  white-space: nowrap;
  flex-shrink: 0;
  font-family: var(--font);
  font-weight: 500;
  color: var(--text-muted);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.25s ease;
}

.content-toggle-btn svg { width: 16px; height: 16px; }

.content-toggle-btn:hover {
  color: var(--text);
  background: var(--surface-hover);
  border-color: var(--border-light);
}

.content-toggle-btn.active {
  color: var(--accent);
  background: var(--accent-dim);
  border-color: rgba(200,150,107,0.3);
}

.toggle-count {
  font-size: 11px;
  background: var(--surface-2);
  padding: 2px 7px;
  border-radius: 10px;
  color: var(--text-muted);
}

.content-toggle-btn.active .toggle-count {
  background: rgba(200,150,107,0.15);
  color: var(--accent);
}

.content-pane {
  display: none;
}

.content-pane.active {
  display: block;
}

/* ─── PLANS COMING SOON ─── */
.coming-soon-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 48px 24px;
  border: 1px dashed var(--border-light);
  border-radius: var(--radius);
  background: var(--surface);
}

.coming-soon-placeholder svg {
  width: 32px;
  height: 32px;
  color: var(--text-muted);
  opacity: 0.5;
}

.coming-soon-placeholder p {
  font-size: 13px;
  color: var(--text-muted);
  letter-spacing: 0.5px;
}

/* ─── 3D EMBED (legacy panel) ─── */
.embed-container {
  flex: 1;
  min-height: 70vh;
}

.embed-container iframe {
  width: 100%;
  height: 100%;
  min-height: 70vh;
  border: none;
}

/* ─── DOCUMENTS ─── */
.docs-list {
  padding: 24px;
  max-width: 800px;
  width: 100%;
  margin: 0 auto;
}

.docs-category { margin-bottom: 24px; }
.docs-category h3 {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.doc-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  text-decoration: none;
  color: var(--text);
  margin-bottom: 6px;
  transition: all 0.2s;
}

.doc-item:hover { border-color: var(--accent); background: var(--surface-hover); }
.doc-item svg { width: 18px; height: 18px; color: var(--accent); flex-shrink: 0; }
.doc-name { font-size: 14px; }

/* ─── LIGHTBOX ─── */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lb-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.92);
  backdrop-filter: blur(8px);
}

.lb-img {
  position: relative;
  z-index: 1;
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: var(--radius);
}

.lb-close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.lb-close svg { width: 20px; height: 20px; }
.lb-close:hover { background: var(--surface-hover); }

.lb-download {
  position: absolute;
  top: 16px;
  right: 68px;
  z-index: 2;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s;
  border: 1px solid rgba(255,255,255,0.2);
}
.lb-download:hover { background: rgba(255,255,255,0.3); }

.lb-prev, .lb-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(20,20,20,0.7);
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.lb-prev { left: 16px; }
.lb-next { right: 16px; }
.lb-prev:hover, .lb-next:hover { background: var(--surface); }

.lb-counter {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  font-size: 13px;
  color: var(--text-muted);
  background: rgba(10,10,10,0.7);
  padding: 6px 14px;
  border-radius: 20px;
}

/* ─── EMPTY STATE ─── */
.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 50vh;
  color: var(--text-muted);
  font-size: 15px;
  gap: 12px;
}

.empty-state svg { width: 48px; height: 48px; color: var(--border-light); }
.empty-state .muted { font-size: 13px; color: var(--text-muted); }

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  color: var(--accent);
  text-decoration: none;
  font-size: 14px;
}

.back-link svg { width: 16px; height: 16px; }
.back-link:hover { text-decoration: underline; }


/* ═══════════════════════════════
   MOBILE
   ═══════════════════════════════ */

@media (max-width: 768px) {
  .hero { height: 70vh; min-height: 400px; }
  .hero-title { font-size: 28px; }
  .hero-subtitle { font-size: 10px; letter-spacing: 2px; }
  .hero-content { padding: 0 20px 48px; }
  .hero-cta { padding: 12px 24px; font-size: 12px; }
  .landing-header {
    padding: 12px 16px;
    flex-wrap: wrap;
    gap: 8px;
  }
  .header-right { display: none; }
  .floor-plan-section { padding: 16px; }
  .zone-cards-section { padding: 16px; }
  .zone-cards-grid { grid-template-columns: 1fr; }
  .section-header h2 { font-size: 18px; }
  .gallery-grid {
    grid-template-columns: 1fr;
    padding: 16px;
  }
  .detail-header { padding: 10px 16px; }
  .detail-title { font-size: 17px; }
  .detail-tabs { padding: 12px 16px; overflow-x: auto; gap: 6px; }
  .tab-btn { padding: 10px 16px 8px; min-width: 80px; }
  .tab-icon { width: 30px; height: 30px; border-radius: 8px; }
  .tab-icon svg { width: 15px; height: 15px; }
  .tab-label { font-size: 11px; }
  .landing-footer {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero { height: 60vh; }
  .hero-title { font-size: 24px; }
  .floor-plan-img { max-height: 45vh; }
  .zone-card-img { height: 140px; }
  .zone-hero-interactive { height: 35vh; min-height: 240px; }
  .hero-mode-switcher { bottom: 8px; right: 8px; }
  .hero-mode-btn { padding: 6px 10px; font-size: 11px; }
  .hero-interact-hint { bottom: 8px; left: 8px; font-size: 10px; padding: 6px 10px; }
  .content-section { padding: 0 16px 24px; }
  .content-toggle-btn { padding: 8px 12px; font-size: 11px; }
  .content-toggle { gap: 3px; padding: 12px 0; }
  .progress-video-embed { height: 0; padding-bottom: 56.25%; }
}

/* ══════ PROJECT PROGRESS SECTION ══════ */
.progress-panel {
  padding: 32px;
  max-width: 1200px;
  margin: 0 auto;
}
.progress-panel h2 {
  font-size: 22px;
  font-weight: 300;
  margin-bottom: 4px;
}
.progress-panel h3 {
  font-size: 15px;
  font-weight: 400;
  color: var(--text-secondary);
  margin: 32px 0 16px;
}
.progress-video {
  margin-top: 24px;
}
.progress-video-embed {
  width: 100%;
  height: 0;
  padding-bottom: 56.25%;
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
}
.progress-video-embed iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.progress-photos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
}
.progress-photos-grid .gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  background: var(--surface);
  transition: transform 0.2s;
}
.progress-photos-grid .gallery-item:hover {
  transform: scale(1.02);
}
.progress-photos-grid .gallery-item img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}
.progress-photos-grid .gallery-caption {
  padding: 8px 12px;
  font-size: 12px;
  color: var(--text-secondary);
}


/* ═══════════════════════════════
   SPECIFICATIONS PANEL
   ═══════════════════════════════ */

.specs-panel {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}

.spec-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.spec-card:hover {
  border-color: rgba(200,150,107,0.35);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
  background: rgba(255,255,255,0.06);
}

.spec-card-img {
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: rgba(255,255,255,0.02);
  position: relative;
}

.spec-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

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

.spec-card-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.03);
}

.spec-card-placeholder span {
  font-size: 40px;
  opacity: 0.4;
  filter: grayscale(0.5);
}

.spec-card-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}

.spec-card-cat {
  display: inline-block;
  width: fit-content;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 4px;
}

.spec-card-name {
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  line-height: 1.3;
}

.spec-card-detail {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.5;
  flex: 1;
}

.spec-card-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.spec-card-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 500;
  color: var(--accent);
  text-decoration: none;
  padding: 6px 12px;
  border-radius: 6px;
  background: rgba(200,150,107,0.08);
  border: 1px solid rgba(200,150,107,0.15);
  transition: all 0.2s ease;
}

.spec-card-link:hover {
  background: rgba(200,150,107,0.15);
  border-color: rgba(200,150,107,0.3);
}

.spec-card-link svg {
  width: 14px;
  height: 14px;
}

.spec-card-link.spec-sheet {
  color: var(--text-secondary);
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.08);
}

.spec-card-link.spec-sheet:hover {
  color: var(--accent);
  background: rgba(200,150,107,0.08);
  border-color: rgba(200,150,107,0.15);
}

@media (max-width: 768px) {
  .specs-panel {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 12px;
  }
}

@media (max-width: 480px) {
  .specs-panel {
    grid-template-columns: 1fr;
  }
}
