@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@500;600;700&family=Inter:wght@400;500;600&display=swap');

:root {
  --ink: #1a1a1a;
  --cream: #f7f5f0;
  --line: #e4e1d8;
  --accent: #9c7639;
  --grey: #55524a;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { overflow-x: hidden; }
body { font-family: 'Inter', sans-serif; color: var(--ink); background: #fff; }
svg { display: block; }

.announce {
  background: var(--cream); border-bottom: 1px solid var(--line); border-top: 1.5px solid var(--ink);
  padding: 12px 24px; display: flex; align-items: center; justify-content: center;
  position: relative; font-size: 14px;
}
.announce a { color: inherit; text-decoration: underline; margin-left: 6px; font-weight: 500; }
.announce .close { position: absolute; right: 24px; top: 50%; transform: translateY(-50%); border: none; background: none; font-size: 18px; cursor: pointer; }

.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  box-shadow: 0 0 0 rgba(0,0,0,0);
  transition: box-shadow 0.25s ease;
}
.site-nav.is-stuck { box-shadow: 0 6px 18px -6px rgba(20,18,14,0.16); }

.topbar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 32px;
  position: relative;
  z-index: 200;
}
.logo img { height: 85px; display: block; }
.top-actions { display: flex; align-items: center; gap: 30px; font-size: 14px; font-weight: 500; }
.top-actions span { display: flex; align-items: center; gap: 7px; cursor: pointer; white-space: nowrap; }
.top-actions .top-action-link { display: flex; align-items: center; gap: 7px; white-space: nowrap; text-decoration: none; color: var(--ink); }
.top-actions em { font-style: normal; }

.lang-switcher { position: relative; }
.lang-switcher-toggle {
  display: flex; align-items: center; gap: 7px; background: none; border: none; cursor: pointer;
  font-size: 14px; font-weight: 500; color: var(--ink); font-family: inherit;
}
.lang-switcher-toggle svg { width: 18px; height: 18px; stroke: var(--ink); }
.lang-switcher-menu {
  position: absolute; top: calc(100% + 12px); right: 0; z-index: 500;
  background: #fff; border: 1px solid var(--line); min-width: 150px;
  box-shadow: 0 12px 28px -14px rgba(20,18,14,0.3);
  box-sizing: border-box; overflow: visible;
}
.lang-switcher-menu a {
  display: block; padding: 10px 14px; font-size: 13.5px; text-decoration: none; color: var(--ink);
  white-space: nowrap; box-sizing: border-box;
}
.lang-switcher-menu a:hover { background: var(--cream); }
.lang-switcher-menu a.active { color: var(--accent); font-weight: 600; }
.top-actions svg { width: 18px; height: 18px; stroke: var(--ink); flex-shrink: 0; }

.navbar { display: flex; align-items: center; justify-content: space-between; padding: 0 32px; background: #fff; border-bottom: 1px solid var(--line); position: relative; }
.nav-links { display: flex; gap: 40px; }
.nav-links a { text-decoration: none; color: var(--ink); font-size: 15px; padding: 20px 0; display: inline-block; border-bottom: 2px solid transparent; }
.nav-links a:hover { border-color: var(--accent); }
.contact-btn { background: var(--ink); color: #fff; border: none; padding: 14px 26px; font-size: 14px; font-weight: 600; cursor: pointer; text-decoration: none; display: inline-block; }

/* Desktop shows the standalone contact button; mobile swaps to the one inside the menu */
.nav-desktop-contact { display: inline-block; }
.nav-links a.nav-mobile-contact {
  display: none;
  color: #fff;
  padding: 14px 26px;
  border-bottom: none;
}
.nav-links a.nav-mobile-contact:hover { border-color: transparent; }

.nav-toggle {
  display: none !important;
  flex-direction: column; justify-content: center; gap: 5px;
  width: 40px; height: 40px; background: none; border: none; cursor: pointer; padding: 0;
}
.nav-toggle span { width: 22px; height: 2px; background: var(--ink); transition: transform 0.25s ease, opacity 0.25s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.hero { display: flex; align-items: center; justify-content: space-between; gap: 40px; padding: 90px 32px 110px; flex-wrap: wrap; }
.hero h1 { font-family: 'Playfair Display', serif; font-weight: 500; font-size: 60px; line-height: 1.08; max-width: 600px; }
.search-panel { flex: 1; min-width: 0; max-width: 520px; }
.tabs { display: flex; gap: 28px; margin-bottom: 18px; font-size: 13px; font-weight: 600; }
.tabs .tab {
  padding-bottom: 10px; color: var(--grey); cursor: pointer;
  background: none; border: none; border-bottom: 2.5px solid transparent;
  font: inherit; font-size: 13px; font-weight: 600;
}
.tabs .tab.active { color: var(--ink); border-bottom: 2.5px solid var(--accent); }
.tabs .tab.ai { display: flex; align-items: center; gap: 6px; }
.tabs .tab.ai svg { width: 14px; height: 14px; stroke: var(--grey); }
.search-box { display: flex; align-items: center; border: 1px solid #d6d3c9; height: 62px; max-width: 100%; }
.search-box .type-select { display: flex; align-items: center; gap: 8px; padding: 0 16px; border-right: 1px solid #d6d3c9; height: 100%; cursor: pointer; flex-shrink: 0; }
.search-box .type-select svg { width: 20px; height: 20px; stroke: var(--grey); }
.search-box .type-select .chevron { width: 14px; height: 14px; }
.search-box input { flex: 1; min-width: 0; border: none; outline: none; padding: 0 18px; font-size: 15px; }
.search-box .search-btn { background: var(--accent); height: 100%; width: 62px; flex-shrink: 0; border: none; color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.search-box .search-btn svg { width: 20px; height: 20px; stroke: #fff; }

.page-head {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 24px;
  padding: 32px 32px 24px; flex-wrap: wrap; border-bottom: 1px solid var(--line);
}
.page-head h1 { font-family: 'Playfair Display', serif; font-weight: 500; font-size: 44px; }
.page-head .search-panel { flex: 1; max-width: 440px; min-width: 300px; }

/* ---------- Hero video carousel ---------- */
.hero-carousel { padding: 24px 32px 0; }
.carousel-stage {
  position: relative;
  height: 420px;
  overflow: hidden;
  background: #0d0d0d;
}
.carousel-video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.6s ease;
  pointer-events: none;
}
.carousel-video.active { opacity: 1; pointer-events: auto; }

.carousel-overlay {
  position: absolute; inset: 0;
  padding: 24px 28px;
  background: linear-gradient(180deg, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0) 22%, rgba(0,0,0,0) 65%, rgba(0,0,0,0.25) 100%);
  color: #fff;
  pointer-events: none;
}
.carousel-info { position: absolute; top: 24px; left: 28px; }
.carousel-location { font-family: 'Playfair Display', serif; font-size: 24px; font-weight: 600; margin-bottom: 6px; }
.carousel-price { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; letter-spacing: 0.4px; }
.carousel-price svg { width: 15px; height: 15px; stroke: #fff; }

.carousel-toggle {
  position: absolute; top: 22px; right: 28px;
  width: 26px; height: 26px;
  background: transparent; border: none;
  color: #fff; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  pointer-events: auto;
  filter: drop-shadow(0 1px 3px rgba(0,0,0,0.5));
}
.carousel-toggle svg { width: 18px; height: 18px; }

.carousel-indicators {
  position: absolute; left: 0; right: 0; bottom: 100px;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  pointer-events: auto;
}
.indicator {
  width: 46px; height: 2px; background: rgba(255,255,255,0.4);
  cursor: pointer; overflow: hidden;
}
.indicator-fill { display: block; height: 100%; width: 0%; background: #fff; }
.indicator.active .indicator-fill { transition: width 0.1s linear; }

.hero-cards {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
  padding: 0 32px 60px; margin-top: -70px; position: relative; z-index: 2;
}
.hero-card {
  display: flex; align-items: center; gap: 12px;
  background: #fff; text-decoration: none; color: var(--ink);
  padding: 14px 16px; box-shadow: 0 12px 28px -10px rgba(20,18,14,0.3);
  font-size: 14px; font-weight: 500;
}
.hero-card img { width: 44px; height: 44px; object-fit: cover; flex-shrink: 0; background: var(--cream); }
.hero-card span { flex: 1; }
.hero-card svg { width: 16px; height: 16px; stroke: var(--ink); flex-shrink: 0; }

.listings { padding: 40px 32px 80px; }
.listings h1, .listings h2 { font-family: 'Playfair Display', serif; font-weight: 500; margin-bottom: 24px; }
.listing-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 28px; }
.listing-card { text-decoration: none; color: var(--ink); border: 1px solid var(--line); display: block; }
.listing-image { height: 200px; background-size: cover; background-position: center; background-color: var(--cream); }
.listing-body { padding: 16px; }
.listing-price { font-weight: 600; margin-bottom: 4px; }
.listing-title { font-size: 15px; margin-bottom: 4px; }
.listing-location { font-size: 13px; color: var(--grey); }

.property-detail { padding: 40px 32px 80px; max-width: 900px; }
.property-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px,1fr)); gap: 12px; margin: 24px 0; }
.property-gallery img { width: 100%; height: 200px; object-fit: cover; }
.property-facts { display: flex; gap: 24px; margin-bottom: 20px; font-size: 14px; color: var(--grey); }
.property-description { line-height: 1.6; margin-bottom: 20px; }

.contact { padding: 40px 32px 80px; max-width: 480px; }
.contact-form { display: flex; flex-direction: column; gap: 14px; margin-top: 20px; }
.contact-form input, .contact-form textarea { border: 1px solid #d6d3c9; padding: 12px 14px; font-family: inherit; font-size: 15px; }
.contact-form textarea { min-height: 120px; resize: vertical; }
.form-success { color: var(--accent); font-weight: 600; margin-top: 16px; }

.site-footer { padding: 30px 32px; border-top: 1px solid var(--line); color: var(--grey); font-size: 13px; }

/* ---------- Recently viewed slider ---------- */
.recently-viewed { padding: 64px 32px 60px; text-align: center; }
.rv-eyebrow { font-size: 12px; font-weight: 600; letter-spacing: 1.5px; color: var(--grey); margin-bottom: 14px; text-transform: uppercase; }
.rv-heading { font-family: 'Playfair Display', serif; font-weight: 500; font-size: 36px; margin-bottom: 40px; }

.rv-scroller { position: relative; }
.rv-track {
  display: flex; gap: 20px; overflow-x: auto; scroll-behavior: smooth;
  scroll-snap-type: x mandatory; text-align: left;
  padding-bottom: 4px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.rv-track::-webkit-scrollbar { display: none; }

.rv-card {
  flex: 0 0 calc((100% - 40px) / 3);
  scroll-snap-align: start;
  border: 1px solid var(--line);
  display: flex; flex-direction: column;
}
.rv-media { position: relative; height: 300px; overflow: hidden; background: var(--cream); }
.rv-photo {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transition: opacity 0.3s ease;
}
.rv-photo.active { opacity: 1; }

.rv-badge {
  position: absolute; top: 14px; left: 14px;
  background: #4a5d3a; color: #fff; font-size: 11px; font-weight: 700;
  letter-spacing: 0.5px; text-transform: uppercase; padding: 4px 10px;
}
.rv-heart {
  position: absolute; top: 12px; right: 12px;
  width: 32px; height: 32px; border-radius: 50%;
  background: rgba(255,255,255,0.9); border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center; color: var(--ink);
}
.rv-heart svg { width: 16px; height: 16px; }
.rv-heart.saved svg { fill: var(--accent); stroke: var(--accent); }

.rv-dots { position: absolute; bottom: 14px; left: 14px; display: flex; gap: 5px; }
.rv-dot { width: 16px; height: 2px; background: rgba(255,255,255,0.45); }
.rv-dot.active { background: #fff; }

.rv-media-prev, .rv-media-next {
  position: absolute; top: 0; bottom: 0; width: 50%;
  background: transparent; border: none; cursor: pointer;
}
.rv-media-prev { left: 0; }
.rv-media-next { right: 0; }

.rv-body { padding: 18px; text-decoration: none; color: var(--ink); display: block; }
.rv-location { font-size: 13px; color: var(--grey); margin-bottom: 6px; }
.rv-title {
  font-family: 'Playfair Display', serif; font-size: 17px; margin-bottom: 12px;
  display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden;
}
.rv-price { font-size: 19px; font-weight: 600; margin-bottom: 10px; }
.rv-facts { font-size: 13px; color: var(--grey); }

.rv-arrow {
  position: absolute; top: 130px; right: -18px;
  width: 40px; height: 40px; border-radius: 50%;
  background: #fff; border: 1px solid var(--line); cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 20px -8px rgba(20,18,14,0.3);
}
.rv-arrow svg { width: 18px; height: 18px; stroke: var(--ink); }

.rv-page-dots { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 28px; }
.rv-page-dots span { width: 7px; height: 7px; border-radius: 50%; background: var(--line); }
.rv-page-dots span.active { background: var(--accent); }

/* ---------- Sell property page ---------- */
.sell-cta { text-align: center; padding: 20px 32px 90px; }
.sell-cta .contact-btn { padding: 16px 34px; }

/* ---------- Reusable text intro block ---------- */
.text-intro { max-width: 720px; margin: 0 auto; padding: 70px 32px 20px; text-align: center; }
.text-intro-eyebrow { font-size: 12px; font-weight: 600; letter-spacing: 1.5px; color: var(--accent); text-transform: uppercase; margin-bottom: 18px; }
.text-intro-heading { font-family: 'Playfair Display', serif; font-weight: 500; font-size: 38px; line-height: 1.25; margin-bottom: 20px; }
.text-intro-lead { font-size: 15px; line-height: 1.7; color: var(--grey); }

/* ---------- Reusable value props row ---------- */
.value-props {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px;
  max-width: 1100px; margin: 30px auto 0; padding: 20px 32px 70px; text-align: center;
}
.value-prop svg { width: 38px; height: 38px; stroke: var(--ink); margin: 0 auto 20px; }
.value-prop h3 { font-family: 'Playfair Display', serif; font-weight: 500; font-size: 21px; margin-bottom: 12px; }
.value-prop p { font-size: 14px; line-height: 1.7; color: var(--grey); }

/* 5-item variant: 3 across the top row, 2 centered on the row below (like the sell page) */
.value-props-wide {
  max-width: 980px; grid-template-columns: repeat(6, 1fr); row-gap: 48px;
}
.value-props-wide .value-prop:nth-child(1) { grid-column: span 2; }
.value-props-wide .value-prop:nth-child(2) { grid-column: span 2; }
.value-props-wide .value-prop:nth-child(3) { grid-column: span 2; }
.value-props-wide .value-prop:nth-child(4) { grid-column: 2 / span 2; }
.value-props-wide .value-prop:nth-child(5) { grid-column: 4 / span 2; }

@media (max-width: 860px) {
  .text-intro-heading { font-size: 28px; }
  .value-props { grid-template-columns: 1fr; gap: 40px; }
  .value-props-wide { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .value-props-wide .value-prop:nth-child(1),
  .value-props-wide .value-prop:nth-child(2),
  .value-props-wide .value-prop:nth-child(3),
  .value-props-wide .value-prop:nth-child(4),
  .value-props-wide .value-prop:nth-child(5) { grid-column: auto; }
}

@media (max-width: 480px) {
  .value-props-wide { grid-template-columns: 1fr; }
}

/* ---------- Section divider (animates on scroll) ---------- */
.section-divider {
  width: 1px; height: 0; background: var(--accent);
  margin: 0 auto; transition: height 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}
.section-divider.in-view { height: 56px; }

/* ---------- Scroll-reveal (fade + rise) ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in-view { opacity: 1; transform: translateY(0); }

.reveal-item { opacity: 0; transform: translateY(18px); transition: opacity 0.55s ease, transform 0.55s ease; }
.reveal-item.in-view { opacity: 1; transform: translateY(0); }

/* ---------- Sharper hover polish ---------- */
.listing-card, .region-card, .hero-card, .rv-card {
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}
.listing-card:hover, .rv-card:hover {
  box-shadow: 0 16px 32px -18px rgba(20,18,14,0.28);
  transform: translateY(-3px);
}
.hero-card:hover { transform: translateY(-2px); box-shadow: 0 16px 32px -14px rgba(20,18,14,0.35); }
.region-card { overflow: hidden; }
.region-card img { transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1); }
.region-card:hover img { transform: scale(1.06); }

/* ---------- Reusable promo block ---------- */
.promo {
  display: flex; align-items: center; gap: 60px;
  padding: 20px 32px 70px; max-width: 1200px; margin: 0 auto;
}
.promo-reverse { flex-direction: row-reverse; }
.promo-media { flex: 1; min-width: 0; }
.promo-media img { width: 100%; height: 420px; object-fit: cover; display: block; }
.promo-content { flex: 1; min-width: 0; }
.promo-eyebrow { font-size: 12px; font-weight: 600; letter-spacing: 1.5px; color: var(--grey); text-transform: uppercase; margin-bottom: 16px; }
.promo-heading { font-family: 'Playfair Display', serif; font-weight: 500; font-size: 26px; line-height: 1.3; margin-bottom: 16px; }
.promo-body { font-size: 14px; line-height: 1.7; color: var(--grey); margin-bottom: 22px; }
.promo-cta { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 14px; color: var(--ink); text-decoration: none; border-bottom: 1.5px solid var(--accent); padding-bottom: 3px; }
.promo-cta svg { width: 16px; height: 16px; stroke: var(--ink); }

/* Card variant — boxed cream card, e.g. "Become an agent" */
.promo-card {
  background: var(--cream); padding: 28px; gap: 40px;
  max-width: 1000px;
}
.promo-card .promo-media img { height: 340px; }
.promo-card .contact-btn { display: inline-block; }

@media (max-width: 860px) {
  .promo, .promo-reverse { flex-direction: column; gap: 24px; padding: 16px 20px 50px; }
  .promo-media img { height: 240px; }
  .promo-card { padding: 18px; }
}

/* ---------- Region grid ---------- */
.regions { padding: 20px 32px 70px; max-width: 1100px; margin: 0 auto; text-align: center; }
.regions-eyebrow { font-size: 12px; font-weight: 600; letter-spacing: 1.5px; color: var(--accent); text-transform: uppercase; margin-bottom: 16px; }
.regions-heading { font-family: 'Playfair Display', serif; font-weight: 500; font-size: 32px; margin-bottom: 14px; }
.regions-lead { font-size: 14px; color: var(--grey); max-width: 560px; margin: 0 auto 40px; line-height: 1.7; }
.regions-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; text-align: left; }
.region-card { display: block; text-decoration: none; color: var(--ink); }
.region-card img { width: 100%; height: 160px; object-fit: cover; display: block; margin-bottom: 12px; }
.region-info h3 { font-family: 'Playfair Display', serif; font-size: 17px; font-weight: 600; margin-bottom: 4px; }
.region-info p { font-size: 13px; color: var(--accent); display: flex; align-items: center; gap: 6px; }
.region-info svg { width: 13px; height: 13px; stroke: var(--accent); }
.regions-viewall {
  display: inline-block; margin-top: 40px; font-weight: 600; font-size: 13px;
  color: var(--ink); text-decoration: none; border: 1px solid var(--ink);
  padding: 13px 30px; letter-spacing: 0.3px;
}
.regions-viewall:hover { background: var(--ink); color: #fff; }

@media (max-width: 860px) {
  .regions-grid { grid-template-columns: 1fr 1fr; }
}

/* ---------- Lifestyle gallery ---------- */
.gallery { padding: 20px 0 80px; text-align: center; }
.gallery-track {
  display: flex; gap: 2px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.gallery-track::-webkit-scrollbar { display: none; }
.gallery-card { position: relative; flex: 0 0 20%; scroll-snap-align: start; text-align: left; }
.gallery-card img { width: 100%; height: 420px; object-fit: cover; display: block; }
.gallery-card p {
  position: absolute; left: 16px; bottom: 16px; right: 16px;
  color: #fff; font-family: 'Playfair Display', serif; font-size: 16px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}
.gallery-view-btn {
  position: absolute; top: 16px; left: 16px; z-index: 2;
  display: flex; align-items: center; gap: 7px;
  background: #fff; border: none; padding: 9px 16px;
  font-size: 12px; font-weight: 600; cursor: pointer;
}
.gallery-view-btn svg { width: 13px; height: 13px; stroke: var(--ink); }

@media (max-width: 860px) {
  .gallery-card { flex: 0 0 78%; }
  .gallery-card img { height: 300px; }
}

/* ---------- Related links ---------- */
.related-links { padding: 60px 32px; max-width: 1200px; margin: 0 auto; border-top: 1px solid var(--line); }
.related-eyebrow { font-size: 12px; font-weight: 600; letter-spacing: 1.5px; color: var(--grey); text-transform: uppercase; margin-bottom: 16px; }
.related-heading { font-family: 'Playfair Display', serif; font-weight: 500; font-size: 26px; margin-bottom: 32px; }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.related-col h3 { font-size: 14px; font-weight: 600; margin-bottom: 16px; }
.related-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.related-col a { font-size: 14px; color: var(--grey); text-decoration: none; }
.related-col a:hover { color: var(--ink); text-decoration: underline; }

@media (max-width: 860px) {
  .related-grid { grid-template-columns: 1fr; gap: 28px; }
}

/* ---------- Advisor contact ---------- */
.advisor-contact { padding: 64px 32px 50px; text-align: center; background: var(--cream); }
.advisor-eyebrow { font-size: 12px; font-weight: 600; letter-spacing: 1.5px; color: var(--accent); text-transform: uppercase; margin-bottom: 16px; }
.advisor-heading { font-family: 'Playfair Display', serif; font-weight: 500; font-size: 28px; margin-bottom: 24px; }
.advisor-photos { display: flex; justify-content: center; margin-bottom: 20px; }
.advisor-photos img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; border: 2px solid #fff; margin-left: -10px; }
.advisor-photos img:first-child { margin-left: 0; }
.mini-divider { display: block; width: 1px; height: 30px; background: var(--accent); margin: 0 auto 20px; }
.advisor-office { font-size: 13px; line-height: 1.9; color: var(--grey); margin-bottom: 24px; }
.advisor-office strong { color: var(--ink); font-size: 14px; }
.advisor-office a { color: var(--ink); text-decoration: none; }

/* ---------- Equalizer decoration (animates in on scroll) ---------- */
.equalizer {
  display: flex; align-items: flex-end; justify-content: center; gap: 3px;
  height: 90px; padding: 0 32px; background: var(--cream);
  mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent);
}
.equalizer span {
  width: 2px; height: 0; background: var(--line);
  transition: height 0.6s ease; transition-delay: calc(var(--i, 0) * 6ms);
}
.equalizer.in-view span { height: var(--h, 40%); }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); }
.footer-contact-row {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px;
  max-width: 1200px; margin: 0 auto; padding: 28px 32px; border-bottom: 1px solid var(--line);
  font-size: 13px;
}
.footer-contact-label { font-weight: 600; color: var(--ink); }
.footer-company { color: var(--grey); }
.footer-company a { color: var(--ink); text-decoration: none; }
.footer-social { display: flex; align-items: center; gap: 12px; }
.footer-social a, .footer-totop {
  width: 30px; height: 30px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; color: #fff;
  background: var(--ink); border: none; cursor: pointer;
}
.footer-social svg, .footer-totop svg { width: 14px; height: 14px; }

.footer-top { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; max-width: 1200px; margin: 0 auto; padding: 40px 32px; }
.footer-col h4 { font-size: 12px; font-weight: 600; letter-spacing: 0.5px; text-transform: uppercase; color: var(--grey); margin-bottom: 16px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: 13px; color: var(--ink); text-decoration: none; }
.footer-col a:hover { text-decoration: underline; }
.footer-bottom {
  max-width: 1200px; margin: 0 auto; padding: 20px 32px 30px; border-top: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  font-size: 12px; color: var(--grey);
}
.footer-legal { display: flex; gap: 20px; }
.footer-legal a { color: var(--grey); text-decoration: none; }
.footer-legal a:hover { text-decoration: underline; }

@media (max-width: 860px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-contact-row { flex-direction: column; align-items: flex-start; }
}

/* ============================================================
   RESPONSIVE — tablet (≤860px)
   ============================================================ */
@media (max-width: 860px) {
  .announce { padding: 10px 44px 10px 16px; font-size: 12.5px; line-height: 1.5; text-align: left; }
  .announce .close { right: 12px; }

  .topbar { padding: 14px 20px; flex-wrap: nowrap; }
  .top-actions { gap: 14px; flex-shrink: 0; }
  .logo { min-width: 0; flex-shrink: 1; }
  .logo img { height: 40px; max-width: 100%; }

  .navbar { padding: 0 20px; }
  .nav-toggle { display: flex !important; }
  .nav-links {
    position: absolute; top: 100%; left: 0; right: 0;
    background: #fff; flex-direction: column; gap: 0;
    max-height: 0; overflow: hidden;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 12px 24px -12px rgba(20,18,14,0.18);
    transition: max-height 0.3s ease;
  }
  .nav-links.open { max-height: 420px; }
  .nav-links a { padding: 16px 20px; width: 100%; border-bottom: 1px solid var(--line); }
  .nav-desktop-contact { display: none; }
  .nav-links a.nav-mobile-contact {
    display: block; margin: 16px 20px; width: auto;
    padding: 14px 26px; text-align: center; border-bottom: none;
  }

  .hero { flex-direction: column; align-items: stretch; padding: 50px 20px 70px; gap: 28px; }
  .hero h1 { font-size: 36px; max-width: none; }
  .search-panel { min-width: 0; max-width: none; width: 100%; }

  .page-head { padding: 24px 20px 20px; }
  .page-head h1 { font-size: 32px; }
  .page-head .search-panel { min-width: 0; }

  .hero-carousel { padding: 16px 20px 0; }
  .carousel-stage { height: 340px; }
  .hero-cards { grid-template-columns: 1fr; padding: 0 20px 50px; margin-top: 16px; gap: 12px; }

  .listings { padding: 32px 20px 60px; }
  .listing-grid { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 20px; }

  .property-detail { padding: 32px 20px 60px; }
  .contact { padding: 32px 20px 60px; }

  .recently-viewed { padding: 48px 20px 40px; }
  .rv-heading { font-size: 28px; }
  .rv-card { flex-basis: 78%; }
  .rv-arrow { display: none; }

  .text-intro { padding: 50px 20px 16px; }
  .text-intro-heading { font-size: 28px; }
  .value-props { grid-template-columns: 1fr; gap: 36px; padding: 16px 20px 50px; }

  .promo, .promo-reverse { flex-direction: column; gap: 22px; padding: 16px 20px 44px; }
  .promo-media img { height: 220px; }
  .promo-heading { font-size: 24px; }
  .promo-card { padding: 16px; }

  .regions { padding: 16px 20px 50px; }
  .regions-heading { font-size: 27px; }
  .regions-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .region-card img { height: 130px; }

  .gallery { padding: 16px 0 56px; }
  .gallery-card { flex: 0 0 70%; }
  .gallery-card img { height: 300px; }

  .related-links { padding: 44px 20px; }
  .related-grid { grid-template-columns: 1fr; gap: 26px; }

  .advisor-contact { padding: 48px 20px 36px; }
  .advisor-heading { font-size: 24px; }

  .footer-top { grid-template-columns: 1fr 1fr; gap: 26px; padding: 32px 20px; }
  .footer-contact-row { flex-direction: column; align-items: flex-start; padding: 20px; }
  .footer-bottom { padding: 16px 20px 24px; }
}

/* ============================================================
   RESPONSIVE — phone (≤480px)
   ============================================================ */
@media (max-width: 480px) {
  .announce { font-size: 11.5px; }

  .topbar { padding: 12px 16px; }
  .logo img { height: 34px; }
  .top-actions { gap: 10px; }
  .top-actions em { display: none; }
  .top-actions svg, .lang-switcher-toggle svg { width: 20px; height: 20px; }
  .lang-switcher-toggle { gap: 0; }
  .lang-switcher-menu { right: -8px; }

  .hero h1 { font-size: 29px; }
  .tabs { gap: 18px; font-size: 12px; }
  .search-box { height: 54px; }
  .search-box input { font-size: 13px; padding: 0 12px; }
  .search-box .type-select { padding: 0 10px; }
  .search-box .search-btn { width: 52px; }

  .page-head h1 { font-size: 26px; }

  .carousel-stage { height: 280px; }
  .carousel-location { font-size: 19px; }
  .carousel-indicators { bottom: 90px; gap: 6px; }
  .indicator { width: 30px; }

  .hero-card { padding: 12px 14px; font-size: 13px; }
  .hero-card img { width: 36px; height: 36px; }

  .listing-grid { grid-template-columns: 1fr; }

  .rv-card { flex-basis: 90%; }
  .rv-media { height: 240px; }

  .text-intro-heading { font-size: 23px; }
  .value-prop h3 { font-size: 18px; }

  .promo-heading { font-size: 21px; }
  .promo-body { font-size: 13.5px; }

  .regions-grid { grid-template-columns: 1fr; }
  .regions-heading { font-size: 23px; }

  .gallery-card { flex: 0 0 84%; }

  .footer-top { grid-template-columns: 1fr; }
  .footer-contact-row { gap: 12px; }
  .footer-social { flex-wrap: wrap; }
}

/* ============================================================
   Policy modal (Privacy / Cookie policy)
   ============================================================ */
.policy-modal { position: fixed; inset: 0; z-index: 300; }
.policy-modal[hidden] { display: none; }

.policy-modal-backdrop {
  position: absolute; inset: 0;
  background: rgba(20,18,14,0.45);
  opacity: 0; transition: opacity 0.25s ease;
}
.policy-modal.is-open .policy-modal-backdrop { opacity: 1; }

.policy-modal-panel {
  position: relative; z-index: 1;
  width: min(640px, calc(100% - 40px));
  max-height: min(80vh, 700px);
  margin: 6vh auto 0;
  background: #fff;
  display: flex; flex-direction: column;
  box-shadow: 0 30px 60px -20px rgba(20,18,14,0.35);
  opacity: 0; transform: translateY(16px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.policy-modal.is-open .policy-modal-panel { opacity: 1; transform: translateY(0); }

.policy-modal-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 26px; border-bottom: 1px solid var(--line); flex-shrink: 0;
}
.policy-modal-header h2 { font-family: 'Playfair Display', serif; font-weight: 500; font-size: 22px; }
.policy-modal-close {
  width: 34px; height: 34px; border-radius: 50%;
  background: none; border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center; color: var(--ink);
  flex-shrink: 0;
}
.policy-modal-close:hover { background: var(--cream); }
.policy-modal-close svg { width: 18px; height: 18px; }

.policy-modal-body { padding: 24px 26px 30px; overflow-y: auto; font-size: 14px; line-height: 1.7; color: var(--grey); }
.policy-modal-body h3 { font-size: 15px; font-weight: 600; color: var(--ink); margin: 22px 0 8px; }
.policy-modal-body h3:first-child { margin-top: 0; }
.policy-modal-body p { margin-bottom: 4px; }
.policy-modal-body a { color: var(--ink); }
.policy-table { width: 100%; border-collapse: collapse; margin: 12px 0 20px; font-size: 12.5px; }
.policy-table th, .policy-table td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.policy-table th { color: var(--ink); font-weight: 600; font-size: 11.5px; text-transform: uppercase; letter-spacing: 0.3px; }
.policy-table td:first-child { font-weight: 600; color: var(--ink); white-space: nowrap; }
@media (max-width: 480px) {
  .policy-table { display: block; overflow-x: auto; }
}
.policy-placeholder-note {
  margin-top: 24px; padding: 12px 14px; background: var(--cream);
  font-size: 12.5px; font-style: italic;
}

@media (max-width: 480px) {
  .policy-modal-panel { margin-top: 0; max-height: 100vh; height: 100%; width: 100%; }
}

/* ============================================================
   Cookie consent bar — minimal, bottom strip, one-time
   ============================================================ */
.cookie-bar {
  position: fixed; left: 20px; right: 20px; bottom: 20px; z-index: 250;
  max-width: 560px;
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  background: var(--ink); color: #fff;
  padding: 16px 18px;
  box-shadow: 0 16px 36px -14px rgba(0,0,0,0.4);
  opacity: 0; transform: translateY(16px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}
.cookie-bar[hidden] { display: none; }
.cookie-bar.is-visible { opacity: 1; transform: translateY(0); }
.cookie-bar p { font-size: 13px; line-height: 1.5; flex: 1; min-width: 200px; }
.cookie-bar a { color: #fff; text-decoration: underline; }
.cookie-bar-accept {
  background: #fff; color: var(--ink); border: none;
  padding: 9px 18px; font-size: 13px; font-weight: 600; cursor: pointer; flex-shrink: 0;
}

@media (max-width: 480px) {
  .cookie-bar { left: 12px; right: 12px; bottom: 12px; }
}

/* ============================================================
   Filter bar (buy.php toolbar)
   ============================================================ */
.filter-bar {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap;
  gap: 12px; padding: 20px 32px; border-bottom: 1px solid var(--line);
}
.filter-form { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }

.filter-ai {
  display: flex; align-items: center; gap: 8px;
  border: 1px solid var(--accent); padding: 9px 14px;
  font-size: 13px; font-weight: 600; color: var(--accent); cursor: not-allowed;
}
.filter-ai input { display: none; }
.filter-ai-track {
  width: 28px; height: 16px; border-radius: 10px; background: var(--line); position: relative; flex-shrink: 0;
}
.filter-ai-track::after {
  content: ''; position: absolute; top: 2px; left: 2px; width: 12px; height: 12px;
  border-radius: 50%; background: #fff;
}

.filter-pill {
  display: flex; align-items: center; gap: 8px;
  border: 1px solid #d6d3c9; padding: 9px 14px;
  font-size: 13px; font-weight: 500; color: var(--ink);
  background: none; cursor: pointer; white-space: nowrap;
}
.filter-pill svg { width: 14px; height: 14px; stroke: var(--grey); flex-shrink: 0; }
.filter-pill-purpose { font-weight: 600; }

.filter-pill-search { flex: 1; min-width: 160px; }
.filter-pill-search input { border: none; outline: none; font-size: 13px; width: 100%; min-width: 0; background: none; }

.filter-pill-select { position: relative; padding: 0; }
.filter-pill-select select {
  appearance: none; border: none; background: none; outline: none;
  font-size: 13px; font-weight: 500; color: var(--ink); padding: 9px 30px 9px 14px; cursor: pointer;
}
.filter-pill-select svg { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); pointer-events: none; }

.filter-pill-more { display: flex; align-items: center; gap: 8px; }

.filter-pill-dropdown { position: relative; padding: 0; border: none; }
.filter-pill-trigger {
  display: flex; align-items: center; gap: 8px;
  border: 1px solid #d6d3c9; padding: 9px 14px; background: none; cursor: pointer;
  font-size: 13px; font-weight: 500; color: var(--ink); white-space: nowrap; font-family: inherit;
}
.filter-pill-trigger svg { width: 14px; height: 14px; stroke: var(--grey); flex-shrink: 0; }
.filter-pill-dropdown.is-open .filter-pill-trigger { border-color: var(--accent); }

.filter-pill-panel {
  position: absolute; top: calc(100% + 8px); left: 0; z-index: 60;
  background: #fff; border: 1px solid var(--line); padding: 16px;
  display: flex; flex-direction: column; gap: 12px; min-width: 220px;
  box-shadow: 0 12px 28px -14px rgba(20,18,14,0.3);
}
.filter-pill-panel[hidden] { display: none; }
.filter-pill-panel label { display: flex; flex-direction: column; gap: 6px; font-size: 12px; font-weight: 600; color: var(--grey); }
.filter-pill-panel input {
  border: 1px solid #d6d3c9; padding: 9px 11px; font-size: 13px; font-family: inherit;
  color: var(--ink); outline: none;
}
.filter-pill-apply {
  margin-top: 4px; background: var(--ink); color: #fff; border: none;
  padding: 10px 14px; font-size: 13px; font-weight: 600; cursor: pointer;
}

@media (max-width: 860px) {
  .filter-bar { padding: 14px 20px; }
  .filter-form { gap: 8px; }
  .filter-pill, .filter-pill-trigger { padding: 8px 11px; font-size: 12.5px; }
  .filter-pill-panel { left: auto; right: 0; }
}

/* ============================================================
   Rich listing cards (buy.php grid, matches "New/Reserved" style)
   ============================================================ */
.listing-grid-rich { grid-template-columns: repeat(3, 1fr); gap: 24px; }

.listing-card-rich { text-decoration: none; color: var(--ink); display: block; }
.lc-media {
  position: relative; height: 220px; background-size: cover; background-position: center;
  background-color: var(--cream); margin-bottom: 14px;
  transition: box-shadow 0.25s ease;
}
.listing-card-rich:hover .lc-media { box-shadow: 0 16px 32px -16px rgba(20,18,14,0.3); }

.lc-badge {
  position: absolute; top: 12px; left: 12px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.4px; text-transform: uppercase;
  padding: 4px 10px; color: #fff;
}
.lc-badge-new { background: #4a5d3a; }
.lc-badge-reserved { background: #7a2e2e; }

.lc-heart {
  position: absolute; top: 10px; right: 10px;
  width: 32px; height: 32px; border-radius: 50%;
  background: rgba(255,255,255,0.92); border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center; color: var(--ink);
}
.lc-heart svg { width: 16px; height: 16px; }
.lc-heart.is-favorited { color: #c23b3b; }
.lc-heart.is-favorited svg { fill: #c23b3b; }

.lc-location { font-size: 12.5px; color: var(--accent); margin-bottom: 6px; }
.lc-title {
  font-family: 'Playfair Display', serif; font-size: 16px; font-weight: 600; margin-bottom: 10px;
  display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden;
}
.lc-price { font-size: 17px; font-weight: 600; margin-bottom: 8px; }
.lc-facts { font-size: 12.5px; color: var(--grey); line-height: 1.6; }

@media (max-width: 860px) {
  .listing-grid-rich { grid-template-columns: 1fr 1fr; gap: 16px; }
  .lc-media { height: 170px; }
}

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

/* ============================================================
   Property detail page
   ============================================================ */
.pd-topbar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 32px; max-width: 1200px; margin: 0 auto;
}
.pd-back { display: flex; align-items: center; gap: 8px; text-decoration: none; color: var(--ink); font-size: 14px; font-weight: 500; }
.pd-back svg { width: 16px; height: 16px; stroke: var(--ink); }
.pd-actions { display: flex; gap: 24px; }
.pd-action-btn { display: flex; align-items: center; gap: 7px; background: none; border: none; cursor: pointer; font-size: 14px; color: var(--ink); }
.pd-action-btn svg { width: 16px; height: 16px; stroke: var(--ink); }
.pd-favorite-btn.is-favorited { color: #c23b3b; }
.pd-favorite-btn.is-favorited svg { fill: #c23b3b; stroke: #c23b3b; }

.pd-layout {
  display: grid; grid-template-columns: 1fr 320px; gap: 32px;
  max-width: 1200px; margin: 0 auto; padding: 0 32px 20px;
}

.pd-gallery { display: grid; grid-template-columns: 2fr 1fr; gap: 8px; margin-bottom: 24px; }
.pd-gallery-main {
  position: relative; height: 400px; background-size: cover; background-position: center; background-color: var(--cream);
  border: none; padding: 0; width: 100%; cursor: pointer; display: block;
}
.pd-gallery-side { display: grid; grid-template-rows: 1fr 1fr; gap: 8px; }
.pd-gallery-thumb {
  position: relative; height: 196px; background-size: cover; background-position: center; background-color: var(--cream);
  border: none; padding: 0; width: 100%; cursor: pointer; display: block;
}
.pd-gallery-main::after, .pd-gallery-thumb::after {
  content: ''; position: absolute; inset: 0; background: rgba(0,0,0,0); transition: background 0.2s ease;
}
.pd-gallery-main:hover::after, .pd-gallery-thumb:hover::after { background: rgba(0,0,0,0.08); }
.pd-gallery-count {
  position: absolute; bottom: 12px; right: 12px;
  display: flex; align-items: center; gap: 6px;
  background: #fff; padding: 6px 12px; font-size: 13px; font-weight: 600;
}
.pd-gallery-count svg { width: 15px; height: 15px; stroke: var(--ink); }

.pd-breadcrumb { font-size: 13px; color: var(--grey); margin-bottom: 16px; }
.pd-breadcrumb span:first-child { color: var(--accent); }
.pd-breadcrumb-sep { margin: 0 6px; color: var(--grey); }

.pd-title { font-family: 'Playfair Display', serif; font-weight: 500; font-size: 30px; line-height: 1.25; margin-bottom: 18px; }
.pd-price { font-size: 24px; font-weight: 600; margin-bottom: 18px; }

.pd-facts {
  display: flex; flex-wrap: wrap; gap: 20px;
  padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  margin-bottom: 32px; font-size: 13.5px; color: var(--ink);
}
.pd-facts span { display: flex; align-items: center; gap: 7px; }
.pd-facts svg { width: 17px; height: 17px; stroke: var(--grey); }

.pd-description h2 { font-family: 'Playfair Display', serif; font-weight: 500; font-size: 20px; margin-bottom: 14px; }
.pd-description p { font-size: 14px; line-height: 1.8; color: var(--grey); }

.pd-sidebar { align-self: start; }
.pd-agent-card {
  background: var(--cream); padding: 26px 22px; text-align: center;
  position: sticky; top: 90px;
}
.pd-agent-photo { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; margin: 0 auto 14px; display: block; }
.pd-agent-photo-placeholder {
  display: flex; align-items: center; justify-content: center;
  background: var(--accent); color: #fff; font-family: 'Playfair Display', serif; font-size: 24px; font-weight: 600;
}
.pd-agent-office { font-family: 'Playfair Display', serif; font-weight: 600; font-size: 16px; margin-bottom: 6px; }
.pd-agent-email { display: block; font-size: 13px; color: var(--accent); text-decoration: none; margin-bottom: 18px; }
.pd-request-btn { width: 100%; display: flex; align-items: center; justify-content: center; gap: 8px; margin-bottom: 18px; }
.pd-request-btn svg { width: 16px; height: 16px; stroke: #fff; }
.pd-agent-meta { font-size: 12px; color: var(--grey); margin-bottom: 4px; }

@media (max-width: 860px) {
  .pd-layout { grid-template-columns: 1fr; padding: 0 20px 16px; }
  .pd-topbar { padding: 16px 20px; }
  .pd-gallery { grid-template-columns: 1fr; }
  .pd-gallery-main { height: 260px; }
  .pd-gallery-side { grid-template-columns: 1fr 1fr; grid-template-rows: none; }
  .pd-gallery-thumb { height: 130px; }
  .pd-agent-card { position: static; }
  .pd-title { font-size: 24px; }
}

/* ---------- Request details form ---------- */
.pd-request { max-width: 640px; margin: 0 auto; padding: 60px 32px 70px; }
.pd-request-form { margin-top: 32px; }
.pd-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.pd-form-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.pd-form-row .pd-form-field { margin-bottom: 0; }
.pd-form-field label { font-size: 13px; font-weight: 500; color: var(--ink); }
.pd-form-field input, .pd-form-field textarea {
  border: 1px solid #d6d3c9; padding: 11px 13px; font-family: inherit; font-size: 14px; outline: none;
}
.pd-form-field textarea { min-height: 90px; resize: vertical; }
.pd-form-consent { font-size: 12px; color: var(--grey); line-height: 1.6; margin: 4px 0 22px; }
.pd-form-submit { width: 100%; }

.pd-form-trust {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px;
  margin-top: 28px; padding: 20px; background: var(--cream);
  font-size: 12.5px; color: var(--ink);
}
.pd-form-trust span { display: flex; align-items: center; gap: 8px; flex: 1; min-width: 150px; }
.pd-form-trust svg { width: 16px; height: 16px; stroke: #4a5d3a; flex-shrink: 0; }

@media (max-width: 480px) {
  .pd-request { padding: 40px 20px 50px; }
  .pd-form-row { grid-template-columns: 1fr; }
}

/* ============================================================
   Lightbox — full-screen photo viewer for the property gallery
   ============================================================ */
.lightbox {
  position: fixed; inset: 0; z-index: 400;
  background: rgba(10,9,7,0.94);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity 0.25s ease;
}
.lightbox[hidden] { display: none; }
.lightbox.is-open { opacity: 1; }

.lightbox-image {
  max-width: min(90vw, 1100px); max-height: 82vh;
  object-fit: contain; display: block;
  opacity: 0; transform: scale(0.98); transition: opacity 0.2s ease, transform 0.2s ease;
}
.lightbox-image.is-loaded { opacity: 1; transform: scale(1); }

.lightbox-close {
  position: absolute; top: 20px; right: 24px;
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255,255,255,0.1); border: none; color: #fff; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.lightbox-close:hover { background: rgba(255,255,255,0.2); }
.lightbox-close svg { width: 18px; height: 18px; }

.lightbox-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 46px; height: 46px; border-radius: 50%;
  background: rgba(0,0,0,0.35); border: 1px solid rgba(255,255,255,0.4); color: #fff; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.lightbox-nav:hover { background: rgba(0,0,0,0.55); }
.lightbox-nav svg { width: 20px; height: 20px; }
.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }

.lightbox-counter {
  position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%);
  color: #fff; font-size: 13px; letter-spacing: 0.4px;
}

@media (max-width: 600px) {
  .lightbox-nav { width: 38px; height: 38px; }
  .lightbox-prev { left: 8px; }
  .lightbox-next { right: 8px; }
  .lightbox-close { top: 12px; right: 12px; }
  .lightbox-image { max-width: 94vw; max-height: 76vh; }
  
}

/* ============================================================
   Auth pages (login / register)
   ============================================================ */
.auth-page { max-width: 420px; margin: 0 auto; padding: 70px 32px 90px; text-align: center; }
.auth-page h1 { font-family: 'Playfair Display', serif; font-weight: 500; font-size: 32px; margin-bottom: 12px; }
.auth-lead { font-size: 14px; color: var(--grey); margin-bottom: 30px; line-height: 1.6; }

.auth-form { display: flex; flex-direction: column; gap: 16px; text-align: left; }
.auth-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.auth-switch { margin-top: 24px; font-size: 13.5px; color: var(--grey); }
.auth-switch a { color: var(--accent); text-decoration: none; font-weight: 600; }

@media (max-width: 480px) {
  .auth-form-row { grid-template-columns: 1fr; }
}

/* ============================================================
   Sell page hero (cream text panel + photo, two CTAs)
   ============================================================ */
.sell-hero {
  display: grid; grid-template-columns: 1fr 1.15fr; gap: 24px;
  max-width: 1200px; margin: 40px auto 0; padding: 0 32px;
  align-items: stretch;
}
.sell-hero-text {
  background: var(--cream); padding: 44px 40px; display: flex; flex-direction: column; justify-content: center;
}
.sell-hero-text h1 { font-family: 'Playfair Display', serif; font-weight: 500; font-size: 30px; line-height: 1.25; margin-bottom: 18px; }
.sell-hero-text p { font-size: 14px; line-height: 1.7; color: var(--grey); margin-bottom: 26px; }
.sell-hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.sell-hero-btn { padding: 13px 22px; font-size: 13.5px; font-weight: 600; text-decoration: none; text-align: center; flex: 1; min-width: 140px; }
.sell-hero-btn-outline { border: 1px solid var(--ink); color: var(--ink); }
.sell-hero-btn-outline:hover { background: var(--ink); color: #fff; }
.sell-hero-btn-solid { background: var(--accent); color: #fff; border: 1px solid var(--accent); }
.sell-hero-btn-solid:hover { opacity: 0.9; }
.sell-hero-media img { width: 100%; height: 100%; min-height: 320px; object-fit: cover; display: block; }

@media (max-width: 860px) {
  .sell-hero { grid-template-columns: 1fr; padding: 0 20px; margin-top: 24px; gap: 0; }
  .sell-hero-media { order: -1; }
  .sell-hero-media img { min-height: 220px; }
  .sell-hero-text { padding: 28px 22px; }
  .sell-hero-text h1 { font-size: 24px; }
  .sell-hero-actions { flex-direction: column; }
  .sell-hero-btn { min-width: 0; }
}

/* ============================================================
   FAQ accordion
   ============================================================ */
.faq { max-width: 760px; margin: 0 auto; padding: 70px 32px 90px; text-align: center; }
.faq-eyebrow { font-size: 12px; font-weight: 600; letter-spacing: 1.5px; color: var(--accent); text-transform: uppercase; margin-bottom: 16px; }
.faq-heading { font-family: 'Playfair Display', serif; font-weight: 500; font-size: 30px; margin-bottom: 40px; }

.faq-list { text-align: left; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-question {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  background: none; border: none; cursor: pointer; padding: 20px 4px; text-align: left;
  font-size: 15px; font-weight: 500; color: var(--ink); font-family: inherit;
}
.faq-toggle {
  width: 22px; height: 22px; border-radius: 50%; border: 1px solid var(--accent); color: var(--accent);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  transition: transform 0.25s ease;
}
.faq-toggle svg { width: 12px; height: 12px; transition: transform 0.25s ease; }
.faq-question[aria-expanded="true"] .faq-toggle { transform: rotate(45deg); }

.faq-answer {
  max-height: 0; overflow: hidden; transition: max-height 0.3s ease;
}
.faq-answer p { font-size: 14px; line-height: 1.7; color: var(--grey); padding: 0 4px 20px; }

@media (max-width: 480px) {
  .faq { padding: 50px 20px 60px; }
  .faq-heading { font-size: 24px; }
  .faq-question { font-size: 14px; padding: 16px 2px; }
}

/* ============================================================
   Video promo card
   ============================================================ */
.video-promo { max-width: 1200px; margin: 0 auto; padding: 20px 32px 70px; }
.video-promo-card {
  position: relative; display: block; height: 460px; overflow: hidden;
  text-decoration: none; background: #0d0d0d;
}
.video-promo-card img { width: 100%; height: 100%; object-fit: cover; display: block; opacity: 0.85; transition: transform 0.5s ease; }
.video-promo-card:hover img { transform: scale(1.04); }
.video-promo-overlay {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: linear-gradient(180deg, rgba(0,0,0,0.25), rgba(0,0,0,0.5));
  text-align: center; color: #fff; padding: 24px;
}
.video-promo-play {
  width: 62px; height: 62px; border-radius: 50%; background: rgba(255,255,255,0.92);
  border: none; display: flex; align-items: center; justify-content: center; margin-bottom: 22px;
  color: var(--accent); pointer-events: none;
}
.video-promo-play svg { width: 24px; height: 24px; margin-left: 3px; }
.video-promo-text h3 { font-family: 'Playfair Display', serif; font-size: 26px; font-weight: 600; margin-bottom: 8px; }
.video-promo-text p { font-size: 14px; max-width: 420px; }
.video-promo-source {
  position: absolute; bottom: 18px; right: 22px; font-size: 12px; font-weight: 600;
  display: flex; align-items: center; gap: 6px;
}

@media (max-width: 860px) {
  .video-promo { padding: 16px 20px 50px; }
  .video-promo-card { height: 320px; }
  .video-promo-text h3 { font-size: 20px; }
}
@media (max-width: 480px) {
  .video-promo-card { height: 260px; }
  .video-promo-play { width: 50px; height: 50px; margin-bottom: 16px; }
}

/* ============================================================
   Profile accordion (career page)
   ============================================================ */
.profile-block {
  display: grid; grid-template-columns: 1fr 0.8fr; gap: 40px;
  max-width: 1100px; margin: 70px auto; padding: 0 32px; align-items: start;
}
.profile-heading { font-family: 'Playfair Display', serif; font-weight: 500; font-size: 22px; color: var(--accent); margin-bottom: 8px; }
.profile-list { border-top: 1px solid var(--line); }
.profile-item { border-bottom: 1px solid var(--line); }
.profile-question {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  background: none; border: none; cursor: pointer; padding: 16px 2px; text-align: left;
  font-size: 14px; font-weight: 500; color: var(--accent); font-family: inherit;
}
.profile-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.profile-answer p { font-size: 13.5px; line-height: 1.7; color: var(--grey); padding: 0 2px 16px; }
.profile-image-col img { width: 100%; height: 100%; min-height: 320px; object-fit: cover; display: block; }

@media (max-width: 860px) {
  .profile-block { grid-template-columns: 1fr; gap: 24px; padding: 0 20px; margin: 50px auto; }
  .profile-image-col { order: -1; }
  .profile-image-col img { min-height: 240px; }
}

/* ============================================================
   Good to know callout
   ============================================================ */
.good-to-know {
  display: flex; align-items: flex-start; gap: 18px;
  max-width: 1100px; margin: 0 auto 40px; padding: 26px 30px;
  background: var(--cream); margin-left: 32px; margin-right: 32px;
}
.gtk-icon { width: 30px; height: 30px; flex-shrink: 0; color: var(--accent); }
.gtk-icon svg { width: 100%; height: 100%; }
.good-to-know h3 { font-family: 'Playfair Display', serif; font-size: 16px; font-weight: 600; margin-bottom: 8px; }
.good-to-know p { font-size: 13.5px; line-height: 1.7; color: var(--grey); }

@media (max-width: 860px) {
  .good-to-know { margin-left: 20px; margin-right: 20px; padding: 20px; }
}
@media (max-width: 480px) {
  .good-to-know { flex-direction: column; }
}

/* ============================================================
   Career gallery (mixed-size photo grid)
   ============================================================ */
.career-gallery {
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
  max-width: 1100px; margin: 0 auto 80px; padding: 0 32px;
}
.cg-large img { width: 100%; height: 100%; min-height: 340px; object-fit: cover; display: block; }
.cg-medium-stack { display: grid; grid-template-rows: 1fr 1fr; gap: 8px; }
.cg-medium-stack img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cg-small-row { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.cg-small-row img { width: 100%; height: 200px; object-fit: cover; display: block; }

@media (max-width: 860px) {
  .career-gallery { padding: 0 20px; gap: 6px; margin-bottom: 60px; }
  .cg-large img { min-height: 220px; }
  .cg-small-row { grid-template-columns: 1fr 1fr; }
  .cg-small-row img:nth-child(3) { grid-column: 1 / -1; }
}
@media (max-width: 480px) {
  .career-gallery { grid-template-columns: 1fr; }
  .cg-medium-stack { grid-template-rows: none; grid-template-columns: 1fr 1fr; }
  .cg-small-row { grid-template-columns: 1fr; }
  .cg-small-row img:nth-child(3) { grid-column: auto; }
}

/* ============================================================
   Search hero (split panel with embedded search — commercial page)
   ============================================================ */
.search-hero {
  display: grid; grid-template-columns: 1fr 1.15fr; gap: 0;
  max-width: 1200px; margin: 40px auto 0; padding: 0 32px;
}
.search-hero-text { background: var(--cream); padding: 44px 40px; display: flex; flex-direction: column; justify-content: center; }
.search-hero-text h1 { font-family: 'Playfair Display', serif; font-weight: 500; font-size: 30px; line-height: 1.25; margin-bottom: 16px; }
.search-hero-text p { font-size: 14px; line-height: 1.7; color: var(--grey); margin-bottom: 24px; }
.search-hero-text .search-panel { max-width: none; }
.search-hero-media img { width: 100%; height: 100%; min-height: 340px; object-fit: cover; display: block; }

@media (max-width: 860px) {
  .search-hero { grid-template-columns: 1fr; padding: 0 20px; margin-top: 24px; }
  .search-hero-media { order: -1; }
  .search-hero-media img { min-height: 220px; }
  .search-hero-text { padding: 28px 22px; }
  .search-hero-text h1 { font-size: 24px; }
}

.commercial-feature-image { max-width: 1200px; margin: 50px auto 0; padding: 0 32px; }
.commercial-feature-image img { width: 100%; height: 460px; object-fit: cover; display: block; }
@media (max-width: 860px) {
  .commercial-feature-image { padding: 0 20px; margin-top: 30px; }
  .commercial-feature-image img { height: 280px; }
}

/* ============================================================
   Stats row (icon + label + number, divider lines between)
   ============================================================ */
.stats-row {
  display: grid; grid-template-columns: repeat(5, 1fr);
  max-width: 1000px; margin: 60px auto; padding: 0 32px; text-align: center;
}
.stat-item { position: relative; padding: 0 12px; }
.stat-divider { position: absolute; left: 0; top: 4px; margin: 0; }
.stat-item svg { width: 32px; height: 32px; stroke: var(--ink); margin: 0 auto 14px; }
.stat-label { font-size: 11px; font-weight: 600; letter-spacing: 0.6px; text-transform: uppercase; color: var(--grey); margin-bottom: 8px; }
.stat-value { font-family: 'Playfair Display', serif; font-size: 22px; font-weight: 500; }

@media (max-width: 860px) {
  .stats-row { grid-template-columns: repeat(3, 1fr); gap: 30px 0; margin: 44px auto; padding: 0 20px; }
  .stat-item:nth-child(4) .stat-divider, .stat-item:nth-child(1) .stat-divider { display: none; }
}
@media (max-width: 480px) {
  .stats-row { grid-template-columns: 1fr 1fr; }
  .stat-divider { display: none; }
}

/* ============================================================
   Valuation promo (centered intro + image/text row + links row)
   ============================================================ */
.valuation-promo { max-width: 1100px; margin: 0 auto; padding: 20px 32px 70px; text-align: center; }
.valuation-eyebrow { font-size: 12px; font-weight: 600; letter-spacing: 1.5px; color: var(--accent); text-transform: uppercase; margin-bottom: 16px; }
.valuation-heading { font-family: 'Playfair Display', serif; font-weight: 500; font-size: 32px; margin-bottom: 44px; }

.valuation-row { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; text-align: left; margin-bottom: 50px; }
.valuation-media img { width: 100%; height: 340px; object-fit: cover; display: block; }
.valuation-content h3 { font-family: 'Playfair Display', serif; font-size: 22px; font-weight: 600; margin-bottom: 16px; }
.valuation-content p { font-size: 14px; line-height: 1.7; color: var(--grey); margin-bottom: 24px; }

.valuation-links { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: left; }
.valuation-link { display: block; text-decoration: none; border-top: 1px solid var(--accent); padding-top: 14px; }
.valuation-link-eyebrow { display: block; font-size: 11px; font-weight: 600; letter-spacing: 0.5px; text-transform: uppercase; color: var(--grey); margin-bottom: 6px; }
.valuation-link-label { display: flex; align-items: center; gap: 6px; font-family: 'Playfair Display', serif; font-size: 16px; font-weight: 600; color: var(--ink); }
.valuation-link-label svg { width: 15px; height: 15px; stroke: var(--accent); }

@media (max-width: 860px) {
  .valuation-promo { padding: 16px 20px 50px; }
  .valuation-row { grid-template-columns: 1fr; gap: 20px; margin-bottom: 36px; }
  .valuation-media img { height: 220px; }
  .valuation-links { grid-template-columns: 1fr 1fr; gap: 24px; }
}
@media (max-width: 480px) {
  .valuation-links { grid-template-columns: 1fr; }
  .valuation-heading { font-size: 25px; }
}

/* ============================================================
   Commercial listings preview
   ============================================================ */
.commercial-listings { background: var(--cream); padding: 60px 32px 70px; text-align: center; }
.commercial-tabs { display: flex; justify-content: center; gap: 24px; margin: 30px 0 40px; font-size: 13px; font-weight: 600; }
.commercial-tabs a { color: var(--grey); text-decoration: none; padding-bottom: 8px; border-bottom: 2.5px solid transparent; }
.commercial-tabs a.active { color: var(--ink); border-color: var(--accent); }
.commercial-listing-grid { max-width: 1000px; margin: 0 auto; text-align: left; }
.commercial-empty { color: var(--grey); font-size: 14px; }

@media (max-width: 860px) {
  .commercial-listings { padding: 44px 20px 50px; }
}

/* ============================================================
   Company page hero (single full-width image)
   ============================================================ */
.company-hero { max-width: 1200px; margin: 30px auto 0; padding: 0 32px; }
.company-hero img { width: 100%; height: 480px; object-fit: cover; display: block; }
@media (max-width: 860px) {
  .company-hero { padding: 0 20px; margin-top: 16px; }
  .company-hero img { height: 260px; }
}

/* ============================================================
   Timeline (company history)
   ============================================================ */
.timeline { max-width: 900px; margin: 0 auto; padding: 20px 32px 20px; text-align: center; }
.timeline-eyebrow { font-size: 12px; font-weight: 600; letter-spacing: 1.5px; color: var(--accent); text-transform: uppercase; margin-bottom: 16px; }
.timeline-heading { font-family: 'Playfair Display', serif; font-weight: 500; font-size: 30px; margin-bottom: 50px; }

.timeline-list { display: flex; flex-direction: column; gap: 44px; text-align: left; }
.timeline-item { display: grid; grid-template-columns: 220px 1fr; gap: 32px; align-items: center; }
.timeline-media img { width: 100%; height: 140px; object-fit: cover; display: block; }
.timeline-text h3 { font-family: 'Playfair Display', serif; font-size: 19px; font-weight: 600; margin-bottom: 10px; }
.timeline-text p { font-size: 13.5px; line-height: 1.7; color: var(--grey); }

.timeline-extra { display: none; }
.timeline-list.is-expanded .timeline-extra { display: grid; }

.timeline-toggle {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 40px;
  border: 1px solid var(--ink); background: none; padding: 12px 22px;
  font-size: 13px; font-weight: 600; cursor: pointer; color: var(--ink);
}
.timeline-toggle svg { width: 15px; height: 15px; transition: transform 0.25s ease; }
.timeline-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }

@media (max-width: 860px) {
  .timeline { padding: 16px 20px 20px; }
  .timeline-item { grid-template-columns: 1fr; gap: 14px; }
  .timeline-media img { height: 180px; }
}

/* ============================================================
   Global map narrative
   ============================================================ */
.global-map { max-width: 760px; margin: 0 auto; padding: 20px 32px; text-align: center; }
.global-map-heading { font-family: 'Playfair Display', serif; font-weight: 500; font-size: 28px; margin-bottom: 20px; }
.global-map-body { font-size: 14px; line-height: 1.8; color: var(--grey); margin-bottom: 40px; }
.global-map-illustration { max-width: 900px; margin: 0 auto; opacity: 0.7; }
.global-map-illustration svg { width: 100%; height: auto; display: block; }

@media (max-width: 860px) {
  .global-map { padding: 16px 20px; }
  .global-map-heading { font-size: 23px; }
}

/* ============================================================
   Founder spotlight
   ============================================================ */
.founder { max-width: 900px; margin: 0 auto; padding: 20px 32px 70px; text-align: center; }
.founder-eyebrow { font-family: 'Playfair Display', serif; font-weight: 500; font-size: 28px; margin-bottom: 20px; }
.founder-body { font-size: 14px; line-height: 1.8; color: var(--grey); margin-bottom: 44px; }

.founder-row { display: grid; grid-template-columns: 1fr 1.4fr; gap: 0; text-align: left; }
.founder-photo img { width: 100%; height: 100%; min-height: 320px; object-fit: cover; display: block; }
.founder-quote-box { background: var(--cream); padding: 40px; display: flex; flex-direction: column; justify-content: center; }
.founder-quote { font-family: 'Playfair Display', serif; font-size: 19px; font-style: italic; line-height: 1.6; margin-bottom: 20px; }
.founder-name { font-size: 13px; font-weight: 600; color: var(--accent); }

@media (max-width: 860px) {
  .founder { padding: 16px 20px 50px; }
  .founder-eyebrow { font-size: 22px; }
  .founder-row { grid-template-columns: 1fr; }
  .founder-photo img { min-height: 220px; }
  .founder-quote-box { padding: 26px 22px; }
}

/* ============================================================
   Team callout + newsletter
   ============================================================ */
.team-callout { max-width: 700px; margin: 0 auto; padding: 60px 32px 0; text-align: center; }
.team-callout-btn { margin-top: 8px; display: inline-block; }

.newsletter { max-width: 560px; margin: 60px auto 0; padding: 60px 32px 70px; text-align: center; background: var(--cream); }
.newsletter-icon { width: 34px; height: 34px; margin: 0 auto 18px; color: var(--accent); }
.newsletter-icon svg { width: 100%; height: 100%; }
.newsletter-form { display: flex; gap: 10px; margin-top: 26px; max-width: 420px; margin-left: auto; margin-right: auto; }
.newsletter-form input {
  flex: 1; min-width: 0; border: 1px solid #d6d3c9; padding: 12px 14px; font-size: 14px; font-family: inherit; outline: none;
}
.newsletter-form button { background: var(--ink); color: #fff; border: none; padding: 12px 22px; font-size: 13.5px; font-weight: 600; cursor: pointer; flex-shrink: 0; }
.newsletter-consent { font-size: 11.5px; color: var(--grey); margin-top: 16px; line-height: 1.6; }

@media (max-width: 480px) {
  .newsletter-form { flex-direction: column; }
  .newsletter { padding: 44px 22px 50px; }
}

/* ============================================================
   Contact wizard
   ============================================================ */
.contact-wizard-page { display: flex; justify-content: center; padding: 50px 20px 90px; }
.wizard-panel { width: 100%; max-width: 620px; background: var(--cream); padding: 40px; position: relative; }

.contact-success { text-align: center; max-width: 480px; margin: 60px auto; }
.contact-success h1 { font-family: 'Playfair Display', serif; font-weight: 500; font-size: 30px; margin-bottom: 14px; }

/* Step 0: entry menu */
.wizard-close {
  position: absolute; top: 20px; right: 20px;
  width: 30px; height: 30px; background: none; border: none; cursor: pointer; color: var(--ink);
  display: flex; align-items: center; justify-content: center;
}
.wizard-close svg { width: 18px; height: 18px; }
.wizard-greeting { font-family: 'Playfair Display', serif; font-weight: 500; font-size: 26px; text-align: center; margin: 10px 0 34px; }

.wizard-menu { display: flex; flex-direction: column; gap: 12px; }
.wizard-menu-item {
  display: flex; align-items: center; gap: 14px;
  background: #fff; border: 1px solid var(--line); padding: 16px 18px;
  font-size: 15px; font-weight: 500; color: var(--ink); cursor: pointer; text-align: left;
}
.wizard-menu-item:hover { border-color: var(--accent); }
.wizard-menu-item svg { width: 22px; height: 22px; stroke: var(--ink); flex-shrink: 0; }

/* Progress header (steps 1–3) */
.wizard-progress { display: flex; align-items: center; gap: 14px; margin-bottom: 30px; }
.wizard-back { background: none; border: none; cursor: pointer; color: var(--ink); flex-shrink: 0; display: flex; }
.wizard-back svg { width: 18px; height: 18px; }
.wizard-progress-track { flex: 1; position: relative; height: 3px; background: var(--line); }
.wizard-progress-bar { position: absolute; left: 0; top: 0; height: 100%; background: var(--accent); transition: width 0.3s ease; }
.wizard-progress-label {
  position: absolute; left: 0; bottom: 10px; font-size: 11px; font-weight: 600; color: var(--grey);
}
.wizard-panel .wizard-close { position: static; margin-left: auto; }

.wizard-question { font-family: 'Playfair Display', serif; font-weight: 500; font-size: 24px; margin-bottom: 26px; }
.wizard-hint { font-size: 13px; color: var(--grey); margin-bottom: 20px; margin-top: -14px; }

/* Radio options */
.wizard-options { display: flex; flex-direction: column; gap: 16px; margin-bottom: 30px; }
.wizard-radio { display: flex; align-items: center; gap: 12px; cursor: pointer; font-size: 15px; }
.wizard-radio input { position: absolute; opacity: 0; width: 0; height: 0; }
.wizard-radio-dot {
  width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid #b8b3a6; flex-shrink: 0; position: relative;
}
.wizard-radio input:checked + .wizard-radio-dot { border-color: var(--ink); }
.wizard-radio input:checked + .wizard-radio-dot::after {
  content: ''; position: absolute; inset: 4px; border-radius: 50%; background: var(--ink);
}

.wizard-label { display: block; font-size: 13px; font-weight: 500; margin-bottom: 10px; }
.wizard-textarea, .wizard-input {
  width: 100%; border: 1px solid #d6d3c9; background: #fff; padding: 12px 14px;
  font-size: 14px; font-family: inherit; outline: none; box-sizing: border-box;
}
.wizard-textarea { min-height: 130px; resize: vertical; margin-bottom: 6px; }

.wizard-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.wizard-contact-form .pd-form-field { margin-bottom: 16px; }
.wizard-contact-form .pd-form-field input { background: #fff; }

/* Footer nav (prev square button + next black button) */
.wizard-footer { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 30px; }
.wizard-nav-btn {
  display: inline-flex; align-items: center; gap: 8px;
  border: none; cursor: pointer; font-size: 14px; font-weight: 600; font-family: inherit;
}
.wizard-nav-back {
  width: 46px; height: 46px; justify-content: center; background: #fff; border: 1px solid var(--line); color: var(--ink);
}
.wizard-nav-back svg { width: 16px; height: 16px; }
.wizard-nav-next {
  background: var(--ink); color: #fff; padding: 13px 26px;
}
.wizard-nav-next:disabled { background: #cfcabd; cursor: not-allowed; }
.wizard-nav-next svg { width: 16px; height: 16px; stroke: #fff; }

@media (max-width: 600px) {
  .contact-wizard-page { padding: 24px 14px 60px; }
  .wizard-panel { padding: 26px 20px; }
  .wizard-greeting { font-size: 21px; }
  .wizard-question { font-size: 19px; }
  .wizard-menu-item { padding: 14px; font-size: 14px; }
  .wizard-form-row { grid-template-columns: 1fr; gap: 0; }
}

/* ============================================================
   Password show/hide toggle
   ============================================================ */
.password-field { position: relative; }
.password-field input { width: 100%; padding-right: 42px; box-sizing: border-box; }
.password-toggle {
  position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  width: 32px; height: 32px; background: none; border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center; color: var(--grey);
}
.password-toggle:hover { color: var(--ink); }
.password-toggle svg { width: 18px; height: 18px; }

/* ============================================================
   Pagination
   ============================================================ */
.pagination {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  margin-top: 40px; padding-top: 30px; border-top: 1px solid var(--line);
}
.pagination-arrow {
  width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid var(--line); background: #fff; color: var(--ink);
  display: flex; align-items: center; justify-content: center; text-decoration: none;
  flex-shrink: 0;
}
.pagination-arrow:hover { border-color: var(--accent); color: var(--accent); }
.pagination-arrow.is-disabled { opacity: 0.35; pointer-events: none; }
.pagination-arrow svg { width: 16px; height: 16px; }

.pagination-numbers { display: flex; align-items: center; gap: 4px; }
.pagination-number {
  min-width: 36px; height: 36px; padding: 0 6px;
  display: flex; align-items: center; justify-content: center;
  text-decoration: none; color: var(--ink); font-size: 14px; font-weight: 500;
  border-radius: 50%;
}
.pagination-number:hover { background: var(--cream); }
.pagination-number.is-active { background: var(--ink); color: #fff; font-weight: 600; }
.pagination-ellipsis { color: var(--grey); padding: 0 4px; font-size: 14px; }

@media (max-width: 480px) {
  .pagination { gap: 6px; margin-top: 28px; padding-top: 20px; }
  .pagination-numbers { gap: 2px; }
  .pagination-number { min-width: 30px; height: 30px; font-size: 13px; }
  .pagination-arrow { width: 32px; height: 32px; }
}

/* ============================================================
   Reduced motion — respect the user's OS setting
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  .reveal, .section-divider, .equalizer span, .region-card img,
  .site-nav, .topbar, .logo img, .carousel-video, .nav-links,
  .policy-modal-backdrop, .policy-modal-panel, .cookie-bar,
  .lc-media, .lightbox, .lightbox-image, .faq-answer, .faq-toggle,
  .profile-answer, .video-promo-card img, .timeline-toggle svg,
  .wizard-progress-bar {
    transition: none !important;
  }
}