/* ======================================================
   Herlan Properties — shared styles
   Used across: index.html, signin.html, portal.html
   ====================================================== */

:root {
  --bg: #fafaf7;
  --surface: #ffffff;
  --ink: #14243b;
  --ink-soft: #52607a;
  --ink-faint: #9aa3b3;
  --line: #e5e4e0;
  --line-soft: #f0efea;
  --accent: #c49b63;
  --accent-soft: #f2e9db;
  --accent-dark: #0e1a2a;
  --ok: #2f7a53;
  --warn: #c27a2b;
  --danger: #a13e2e;
  --max: 1200px;
  --radius: 2px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 400;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5 {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--ink);
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 32px;
}

/* ---------- PROMO STRIP ---------- */
.promo {
  background: var(--ink);
  color: var(--bg);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
  padding: 10px 16px;
}
.promo strong { color: var(--accent); font-weight: 500; }

/* ---------- NAV ---------- */
nav.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 250, 247, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  gap: 24px;
}

.logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: var(--ink);
  transition: opacity 0.2s ease;
}
.logo:hover { opacity: 0.75; }

.logo-img {
  display: block;
  width: 140px;
  height: 54px;
  background: url('logo.svg') no-repeat left center / contain;
}
.footer-brand .logo-img,
.sidebar .logo-img {
  filter: brightness(0) invert(1);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
  font-size: 14px;
}
.nav-links a { color: var(--ink-soft); transition: color 0.2s ease; }
.nav-links a:hover, .nav-links a.active { color: var(--ink); }

.nav-right { display: flex; align-items: center; gap: 20px; }

.lang-toggle { display: inline-flex; align-items: center; gap: 2px; }
.lang-toggle button {
  background: transparent;
  border: none;
  font-family: inherit;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
  cursor: pointer;
  padding: 6px 8px;
  transition: color 0.2s ease;
}
.lang-toggle button.active { color: var(--ink); font-weight: 600; }
.lang-toggle .divider { color: var(--line); padding: 0 2px; }

.nav-cta {
  padding: 10px 20px;
  border: 1px solid var(--ink);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: all 0.2s ease;
  color: var(--ink);
}
.nav-cta:hover { background: var(--ink); color: var(--bg); }

.nav-portal {
  font-size: 13px;
  color: var(--ink);
  padding: 10px 14px;
  transition: color 0.2s ease;
}
.nav-portal:hover { color: var(--accent); }

@media (max-width: 900px) {
  .nav-links { display: none; }
}

/* ---------- BUTTONS ---------- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 28px;
  background: var(--ink);
  color: var(--bg);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  border: 1px solid var(--ink);
  cursor: pointer;
  font-family: inherit;
  transition: all 0.2s ease;
}
.btn-primary:hover { background: var(--accent-dark); border-color: var(--accent-dark); color: var(--bg); }

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 28px;
  background: transparent;
  color: var(--ink);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  border: 1px solid var(--ink);
  cursor: pointer;
  font-family: inherit;
  transition: all 0.2s ease;
}
.btn-secondary:hover { background: var(--ink); color: var(--bg); }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 0;
  color: var(--ink);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  border: none;
  border-bottom: 1px solid var(--ink);
  background: transparent;
  cursor: pointer;
  font-family: inherit;
}

.btn-accent {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 28px;
  background: var(--accent);
  color: var(--accent-dark);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  border: none;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.2s ease;
}
.btn-accent:hover { background: #d8ad71; }

/* ---------- FORMS ---------- */
.form-field { display: flex; flex-direction: column; }
.form-field label {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 8px;
}
.form-field input,
.form-field select,
.form-field textarea {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  padding: 12px 0;
  font-family: inherit;
  font-size: 15px;
  outline: none;
  transition: border-color 0.2s ease;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus { border-bottom-color: var(--accent); }
.form-field textarea { resize: vertical; min-height: 100px; }

/* Dark form variant (on dark backgrounds) */
.form-dark .form-field label { color: rgba(250,250,247,0.6); }
.form-dark .form-field input,
.form-dark .form-field select,
.form-dark .form-field textarea {
  background: transparent;
  border-bottom-color: rgba(250,250,247,0.3);
  color: var(--bg);
}
.form-dark .form-field input:focus,
.form-dark .form-field select:focus,
.form-dark .form-field textarea:focus { border-bottom-color: var(--accent); }
.form-dark .form-field select {
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 4 5'%3e%3cpath fill='%23c49b63' d='M2 0L0 2h4zm0 5L0 3h4z'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 8px center;
  background-size: 10px;
}
.form-dark .form-field select option { background: var(--ink); color: var(--bg); }

/* ---------- TYPOGRAPHY HELPERS ---------- */
.eyebrow {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
}

/* ---------- BADGES ---------- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 500;
  border-radius: 2px;
}
.badge-available { background: #e5f0ea; color: var(--ok); }
.badge-rented { background: var(--ink); color: var(--bg); }
.badge-pending { background: #faeedb; color: var(--warn); }
.badge-completed { background: #e5f0ea; color: var(--ok); }
.badge-overdue { background: #f5e0dc; color: var(--danger); }

/* ---------- DEMO NOTICE ---------- */
.demo-notice {
  background: var(--accent-soft);
  border-left: 3px solid var(--accent);
  padding: 12px 18px;
  font-size: 13px;
  color: var(--accent-dark);
  margin-bottom: 24px;
}
.demo-notice strong { font-weight: 600; }

/* ---------- FOOTER ---------- */
footer.site-footer {
  background: var(--accent-dark);
  color: rgba(250, 250, 247, 0.7);
  padding: 56px 0 32px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(250, 250, 247, 0.1);
}
.footer-col h4 {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
  font-weight: 500;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; font-size: 14px; }
.footer-col a { color: rgba(250, 250, 247, 0.7); }
.footer-col a:hover { color: var(--bg); }
.footer-brand .logo { color: var(--bg); margin-bottom: 16px; }
.footer-brand p { color: rgba(250, 250, 247, 0.6); font-size: 14px; max-width: 260px; line-height: 1.6; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  font-size: 12px;
  color: rgba(250, 250, 247, 0.5);
  flex-wrap: wrap;
  gap: 12px;
}
.footer-eho { display: inline-flex; align-items: center; gap: 6px; }
.footer-eho svg { flex-shrink: 0; }
@media (max-width: 800px) { .footer-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 500px) { .footer-top { grid-template-columns: 1fr; } }

/* ======================================================
   PROPERTY DETAIL PAGES
   ====================================================== */

.detail-hero {
  position: relative;
  height: 68vh;
  min-height: 520px;
  overflow: hidden;
  background: var(--accent-dark);
}
.detail-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.detail-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(14, 26, 42, 0.15) 0%,
    rgba(14, 26, 42, 0.05) 40%,
    rgba(14, 26, 42, 0.75) 100%
  );
  pointer-events: none;
}
.detail-hero .hero-content {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 48px 0;
  z-index: 2;
  color: var(--bg);
}
.detail-hero .hero-content .container {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.detail-hero .eyebrow-light {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 14px;
}
.detail-hero h1 {
  color: var(--bg);
  font-size: clamp(40px, 5vw, 68px);
  margin-bottom: 14px;
  max-width: 720px;
}
.detail-hero .hero-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 15px;
  color: rgba(250, 250, 247, 0.8);
  flex-wrap: wrap;
}
.detail-hero .hero-meta .dot {
  width: 3px; height: 3px;
  border-radius: 50%;
  background: rgba(250, 250, 247, 0.5);
}
.detail-hero .hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  background: var(--accent);
  color: var(--accent-dark);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 500;
  border-radius: 2px;
}
.detail-hero .hero-badge.rented {
  background: rgba(250, 250, 247, 0.12);
  color: var(--bg);
  border: 1px solid rgba(250, 250, 247, 0.2);
}

.detail-breadcrumb {
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  color: var(--ink-soft);
}
.detail-breadcrumb a {
  color: var(--ink-soft);
  border-bottom: 1px solid transparent;
  transition: all 0.2s ease;
}
.detail-breadcrumb a:hover { color: var(--ink); border-bottom-color: var(--accent); }
.detail-breadcrumb .sep { margin: 0 10px; color: var(--ink-faint); }

.detail-overview {
  padding: 80px 0 60px;
}
.detail-overview .container {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 80px;
  align-items: start;
}
@media (max-width: 900px) {
  .detail-overview .container { grid-template-columns: 1fr; gap: 48px; }
}
.detail-overview h2 {
  font-size: clamp(28px, 3vw, 40px);
  margin-bottom: 20px;
}
.detail-overview p {
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 18px;
}

.specs-card {
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 36px 32px;
  position: sticky;
  top: 100px;
}
.specs-card .rent-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding-bottom: 20px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--line);
}
.specs-card .rent-amount {
  font-family: 'Fraunces', serif;
  font-size: 34px;
  color: var(--ink);
}
.specs-card .rent-per {
  font-size: 13px;
  color: var(--ink-soft);
  letter-spacing: 0.02em;
}
.specs-card dl {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 20px;
  margin-bottom: 28px;
}
.specs-card dt {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 4px;
}
.specs-card dd {
  font-size: 15px;
  color: var(--ink);
  font-weight: 500;
}
.specs-card .specs-cta {
  display: block;
  width: 100%;
  text-align: center;
  justify-content: center;
}
.specs-card .specs-note {
  font-size: 12px;
  color: var(--ink-faint);
  text-align: center;
  margin-top: 14px;
  letter-spacing: 0.02em;
}

.features-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 28px;
  margin-top: 24px;
}
.features-list li {
  font-size: 14px;
  color: var(--ink-soft);
  padding-left: 18px;
  position: relative;
  line-height: 1.5;
}
.features-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 1px;
  background: var(--accent);
}
@media (max-width: 640px) {
  .features-list { grid-template-columns: 1fr; }
}

/* GALLERY — editorial carousel (hero + thumb rail + lightbox) */
.gallery-section {
  padding: 60px 0 100px;
  background: var(--line-soft);
}
.gallery-section .gallery-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 36px;
  gap: 20px;
  flex-wrap: wrap;
}
.gallery-section h2 {
  font-size: clamp(28px, 3vw, 40px);
}
.gallery-section .gallery-count {
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

/* Hero stage */
.gallery-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  background: var(--ink);
  overflow: hidden;
  margin-bottom: 14px;
  cursor: zoom-in;
}
.gallery-stage .stage-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.35s ease;
  display: block;
}
.gallery-stage .stage-img.loaded { opacity: 1; }
.gallery-stage .stage-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(23, 32, 45, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: var(--bg);
  border: 1px solid rgba(250, 250, 247, 0.18);
  width: 46px;
  height: 46px;
  cursor: pointer;
  font-family: inherit;
  font-size: 22px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.25s ease, background 0.2s ease;
  z-index: 2;
}
.gallery-stage:hover .stage-arrow,
.gallery-stage:focus-within .stage-arrow { opacity: 1; }
.gallery-stage .stage-arrow:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--accent-dark);
}
.gallery-stage .stage-arrow.prev { left: 16px; }
.gallery-stage .stage-arrow.next { right: 16px; }

.gallery-stage .stage-counter {
  position: absolute;
  bottom: 18px;
  left: 20px;
  color: var(--bg);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 6px 12px;
  background: rgba(23, 32, 45, 0.5);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  font-feature-settings: "tnum" 1;
  z-index: 2;
}
.gallery-stage .stage-expand {
  position: absolute;
  bottom: 18px;
  right: 20px;
  color: var(--bg);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 6px 12px;
  background: rgba(23, 32, 45, 0.5);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 2;
  pointer-events: none;
}
.gallery-stage .stage-expand::before {
  content: "";
  width: 10px;
  height: 10px;
  border: 1px solid currentColor;
  border-right: none;
  border-bottom: none;
  display: inline-block;
  transform: rotate(45deg);
  margin-right: 2px;
}

/* Thumbnail rail */
.gallery-rail {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 6px;
  scrollbar-width: thin;
  scrollbar-color: var(--line) transparent;
}
.gallery-rail::-webkit-scrollbar { height: 4px; }
.gallery-rail::-webkit-scrollbar-track { background: transparent; }
.gallery-rail::-webkit-scrollbar-thumb { background: var(--line); border-radius: 2px; }

.gallery-item {
  flex: 0 0 auto;
  width: 128px;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  cursor: pointer;
  background: var(--line);
  border: none;
  padding: 0;
  position: relative;
  scroll-snap-align: start;
  opacity: 0.55;
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.gallery-item:hover { opacity: 0.85; }
.gallery-item.active {
  opacity: 1;
  outline: 1px solid var(--accent);
  outline-offset: -1px;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.3s ease;
  opacity: 0;
  display: block;
}
.gallery-item img.loaded { opacity: 1; }
.gallery-item.wide { width: 128px; }  /* normalize — `wide` was used in old grid */

@media (max-width: 800px) {
  .gallery-stage { aspect-ratio: 4 / 3; }
  .gallery-stage .stage-arrow { opacity: 1; }  /* always visible on touch */
  .gallery-item { width: 96px; }
}

/* LIGHTBOX */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(14, 26, 42, 0.97);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 60px 40px;
}
.lightbox.open { display: flex; }
.lightbox img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  background: transparent;
  border: 1px solid rgba(250, 250, 247, 0.3);
  color: var(--bg);
  width: 48px;
  height: 48px;
  cursor: pointer;
  font-family: inherit;
  font-size: 20px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}
.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover { background: var(--accent); border-color: var(--accent); color: var(--accent-dark); }
.lightbox-close { top: 24px; right: 24px; }
.lightbox-prev { left: 24px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 24px; top: 50%; transform: translateY(-50%); }
.lightbox-counter {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(250, 250, 247, 0.7);
  font-size: 13px;
  letter-spacing: 0.08em;
}
@media (max-width: 600px) {
  .lightbox { padding: 20px 10px; }
  .lightbox-close { top: 10px; right: 10px; width: 40px; height: 40px; }
  .lightbox-prev { left: 10px; }
  .lightbox-next { right: 10px; }
}

/* VIRTUAL TOUR — "Step inside" section
   A tasteful teaser (still image + play badge) that expands to a full
   iframe tour. Minimalist: no busy chrome, relies on typography + one
   accent line to frame the moment. */
.tour-section {
  background: var(--bg);
  padding: 100px 0;
  position: relative;
}
.tour-section::before {
  content: "";
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 80px; height: 1px;
  background: var(--accent);
}
.tour-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 48px;
}
.tour-header .eyebrow {
  display: block;
  margin-bottom: 14px;
}
.tour-header h2 {
  font-size: clamp(28px, 3vw, 42px);
  margin-bottom: 16px;
}
.tour-header p {
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.7;
}

.tour-frame {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  aspect-ratio: 16 / 10;
  background: var(--ink);
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.35s ease;
}
.tour-frame:hover { transform: translateY(-2px); }
.tour-frame .poster {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: opacity 0.4s ease;
}
.tour-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(23, 32, 45, 0.10) 0%,
    rgba(23, 32, 45, 0.55) 100%);
  transition: opacity 0.4s ease;
}
.tour-badge {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  color: var(--bg);
  transition: transform 0.35s ease;
}
.tour-frame:hover .tour-badge { transform: translate(-50%, calc(-50% - 4px)); }
.tour-badge .play-ring {
  width: 88px;
  height: 88px;
  border: 1px solid rgba(250, 250, 247, 0.55);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: all 0.25s ease;
}
.tour-frame:hover .play-ring {
  border-color: var(--accent);
  background: rgba(196, 155, 99, 0.12);
}
.tour-badge .play-ring::before {
  content: "";
  border-style: solid;
  border-width: 12px 0 12px 20px;
  border-color: transparent transparent transparent var(--bg);
  margin-left: 5px;
}
.tour-frame:hover .play-ring::before {
  border-left-color: var(--accent);
}
.tour-badge .play-label {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(250, 250, 247, 0.85);
}

.tour-caption {
  position: absolute;
  bottom: 28px;
  left: 36px;
  right: 36px;
  color: var(--bg);
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.tour-caption .host {
  color: rgba(250, 250, 247, 0.6);
  font-family: inherit;
}

/* Active (playing) state — poster fades away, iframe fills the frame */
.tour-frame.playing { cursor: default; }
.tour-frame.playing .poster,
.tour-frame.playing::after,
.tour-frame.playing .tour-badge,
.tour-frame.playing .tour-caption { opacity: 0; pointer-events: none; }
.tour-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  opacity: 0;
  transition: opacity 0.45s ease;
}
.tour-frame.playing iframe { opacity: 1; }

@media (max-width: 700px) {
  .tour-section { padding: 72px 0; }
  .tour-frame { aspect-ratio: 4 / 3; }
  .tour-badge .play-ring { width: 68px; height: 68px; }
  .tour-badge .play-ring::before { border-width: 9px 0 9px 15px; }
  .tour-caption { left: 20px; right: 20px; bottom: 18px; font-size: 11.5px; }
}

/* CTA STRIP */
.detail-cta {
  background: var(--accent-dark);
  color: var(--bg);
  padding: 80px 0;
  text-align: center;
}
.detail-cta h2 {
  color: var(--bg);
  font-size: clamp(30px, 3.5vw, 46px);
  margin-bottom: 16px;
}
.detail-cta p {
  color: rgba(250, 250, 247, 0.75);
  font-size: 16px;
  max-width: 560px;
  margin: 0 auto 32px;
  line-height: 1.7;
}
.detail-cta .cta-buttons {
  display: inline-flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
}
.detail-cta .btn-primary { background: var(--accent); color: var(--accent-dark); border-color: var(--accent); }
.detail-cta .btn-primary:hover { background: #d8ad71; border-color: #d8ad71; }
.detail-cta .btn-secondary { color: var(--bg); border-color: rgba(250, 250, 247, 0.35); }
.detail-cta .btn-secondary:hover { background: var(--bg); color: var(--accent-dark); border-color: var(--bg); }

/* OTHER PROPERTIES */
.other-props {
  padding: 80px 0;
  background: var(--bg);
}
.other-props h3 {
  font-size: 26px;
  margin-bottom: 28px;
}
.other-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 800px) {
  .other-grid { grid-template-columns: 1fr; }
}
.other-card {
  display: block;
  background: var(--surface);
  border: 1px solid var(--line);
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.other-card:hover { border-color: var(--accent); transform: translateY(-2px); }
.other-card .other-img {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--line);
}
.other-card .other-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.other-card .other-body {
  padding: 20px 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.other-card .other-name {
  font-family: 'Fraunces', serif;
  font-size: 19px;
  color: var(--ink);
}
.other-card .other-sub {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-top: 4px;
}
.other-card .other-status {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.other-card .other-status.available { color: var(--accent); font-weight: 500; }
