/* ============================================================
   Exchange — Modern Redesign
   Shared stylesheet
   ============================================================ */

:root {
  --color-bg: #FAFAF8;
  --color-bg-alt: #F1F0EC;
  --color-surface: #FFFFFF;
  --color-text: #191A19;
  --color-text-muted: #5C5E5A;
  --color-border: #E4E2DC;
  --color-accent: #DE8729;
  --color-accent-dark: #111821;
  --color-accent-soft: #FCEEDF;
  --color-gold: #DE8729;

  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  --font-modern: 'Space Grotesk', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;

  --max-width: 1400px;
  --radius: 4px;
  --transition: 220ms cubic-bezier(0.4, 0, 0.2, 1);

  /* Vertical rhythm: tight gap ties a title to its own content;
     the larger gap separates one subsection from the next. */
  --space-title-gap: 24px;
  --space-block-gap: 72px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

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

ul {
  padding: 0;
  margin: 0;
  list-style: none;
}

h1, h2, h3, h4 {
  font-family: var(--font-modern);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); }
h3 { font-size: 1.3rem; }

p {
  margin: 0 0 1em;
  color: var(--color-text-muted);
}

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

#properties .container {
  max-width: 1920px;
}

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

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--color-accent);
  color: #fff;
}

.btn-primary:hover {
  background: var(--color-accent-dark);
}

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

.btn-outline:hover {
  background: var(--color-text);
  color: var(--color-bg);
}

.btn-outline-light {
  background: transparent;
  border-color: rgba(255,255,255,0.5);
  color: #fff;
}

.btn-outline-light:hover {
  background: #fff;
  color: var(--color-accent-dark);
  border-color: #fff;
}

/* ---------- Header / Nav ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 250, 248, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--color-border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
}

.logo {
  display: inline-flex;
  align-items: center;
}

.logo-img {
  height: 60px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text);
  transition: color var(--transition);
  padding: 4px 0;
  border-bottom: 2px solid transparent;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--color-accent);
  border-bottom-color: var(--color-accent);
}

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

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--color-text);
  transition: transform 200ms ease, opacity 200ms ease;
}

.nav-toggle.is-active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.is-active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.is-active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---------- Homepage transparent header (overlays hero video) ---------- */

.site-header--home {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  background: transparent;
  border-bottom: 1px solid transparent;
  backdrop-filter: none;
  transition: background var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.site-header--home .logo { position: relative; }

.site-header--home .logo-img-dark { display: none; }

.site-header--home .logo-img-light {
  display: block;
  height: 68px;
  filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.4));
  transition: height var(--transition);
}

.site-header--home .nav-links a {
  color: #fff;
}

.site-header--home .nav-links a:hover,
.site-header--home .nav-links a.active {
  color: var(--color-gold);
  border-bottom-color: var(--color-gold);
}

.site-header--home .nav-cta .btn-outline {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.5);
  color: #fff;
}

.site-header--home .nav-cta .btn-outline:hover {
  background: #fff;
  color: var(--color-accent-dark);
  border-color: #fff;
}

.site-header--home .nav-toggle span {
  background: #fff;
}

.site-header--home.is-scrolled {
  position: fixed;
  background: rgba(250, 250, 248, 0.94);
  backdrop-filter: blur(8px);
  border-bottom-color: var(--color-border);
  box-shadow: 0 6px 20px rgba(17, 24, 33, 0.06);
}

.site-header--home.is-scrolled .logo-img-light { display: none; }

.site-header--home.is-scrolled .logo-img-dark {
  display: block;
  height: 60px;
}

.site-header--home.is-scrolled .nav-links a {
  color: var(--color-text);
}

.site-header--home.is-scrolled .nav-links a:hover,
.site-header--home.is-scrolled .nav-links a.active {
  color: var(--color-accent);
  border-bottom-color: var(--color-accent);
}

.site-header--home.is-scrolled .nav-cta .btn-outline {
  border-color: var(--color-text);
  color: var(--color-text);
}

.site-header--home.is-scrolled .nav-cta .btn-outline:hover {
  background: var(--color-text);
  color: var(--color-bg);
}

.site-header--home.is-scrolled .nav-toggle span {
  background: var(--color-text);
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--color-accent-dark);
  color: #fff;
  padding: 160px 0 120px;
  overflow: hidden;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: rgba(0, 0, 0, 0.55);
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 860px;
  width: 100%;
  text-align: left;
}

.hero p.lead {
  color: rgba(255,255,255,0.82);
  font-size: 1.15rem;
  max-width: 520px;
}

.hero h1 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-style: normal;
  text-transform: capitalize;
  font-size: 67.5px;
  letter-spacing: 0;
  line-height: 1;
  color: #fff;
}

.hero h1 .line {
  display: block;
  white-space: nowrap;
}

@media (max-width: 1200px) {
  .hero h1 { font-size: 54px; }
}

@media (max-width: 991px) {
  .hero h1 { font-size: 47.25px; }
}

@media (max-width: 768px) {
  .hero h1 { font-size: 40.5px; }
}

@media (max-width: 720px) {
  .hero h1 .line {
    white-space: normal;
  }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 33.75px; }
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-top: 36px;
  flex-wrap: wrap;
}

.hero .btn-primary {
  background: var(--color-gold);
}
.hero .btn-primary:hover {
  background: #B96A1A;
}

/* ---------- Page header (interior pages) ---------- */

.page-header {
  background: var(--color-accent-dark);
  color: #fff;
  padding: 90px 0 70px;
}

.page-header .eyebrow {
  color: var(--color-gold);
}

.page-header h1 {
  color: #fff;
  max-width: 640px;
}

.page-header p {
  color: rgba(255,255,255,0.75);
  max-width: 560px;
  font-size: 1.05rem;
}

/* ---------- Privacy policy content ---------- */

.policy-content h2 {
  font-size: 1.5rem;
  margin-top: 48px;
}

.policy-content h2:first-child {
  margin-top: 0;
}

.policy-content h3 {
  font-size: 1.15rem;
  margin-top: 32px;
  color: var(--color-accent-dark);
}

.policy-content p {
  font-size: 1rem;
  line-height: 1.75;
}

.policy-content a {
  color: var(--color-accent);
  text-decoration: underline;
}

.policy-list {
  margin: 0 0 1.2em;
}

.policy-list li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 8px;
  color: var(--color-text-muted);
  line-height: 1.6;
}

.policy-list li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-accent);
}

.page-services .page-header h1,
.page-services .cta-band h2 {
  font-family: var(--font-modern);
  font-weight: 600;
  letter-spacing: -0.02em;
}

.page-services .page-header h1 {
  font-size: clamp(2.8rem, 5.6vw, 4.4rem);
}

.page-services .page-header p {
  font-size: 1.2rem;
  max-width: 1200px;
}

.page-services .page-header {
  position: relative;
  overflow: hidden;
  background: radial-gradient(1100px 480px at 12% -10%, rgba(222,135,41,0.20), transparent 60%),
              linear-gradient(160deg, #16202b 0%, var(--color-accent-dark) 60%);
}

.page-services .page-header::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
                     linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,0.6), transparent 75%);
  mask-image: linear-gradient(180deg, rgba(0,0,0,0.6), transparent 75%);
  pointer-events: none;
}

.page-services .page-header .container {
  position: relative;
}

/* ---------- Full-bleed media rows (Services page) ---------- */

.full-bleed-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 0;
  min-height: 720px;
}

.full-bleed-row.reverse .full-bleed-photo {
  order: 2;
}

.full-bleed-row.reverse .full-bleed-content {
  order: 1;
  background: var(--color-bg-alt);
}

.full-bleed-photo {
  position: relative;
  overflow: hidden;
}

.full-bleed-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(17,24,33,0.04) 0%, rgba(17,24,33,0.22) 100%);
  mix-blend-mode: multiply;
  pointer-events: none;
}

.full-bleed-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.001);
  transition: transform 900ms cubic-bezier(0.16, 1, 0.3, 1);
  filter: saturate(0.9) contrast(1.05);
}

.full-bleed-row:hover .full-bleed-photo img {
  transform: scale(1.06);
}

.full-bleed-content {
  display: flex;
  align-items: center;
  background: var(--color-surface);
  position: relative;
}

.full-bleed-inner {
  max-width: 760px;
  padding: 64px 48px;
  margin: 0 auto;
}

.full-bleed-index {
  display: inline-block;
  font-family: var(--font-modern);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: 18px;
}

.full-bleed-inner h2 {
  font-family: var(--font-modern);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--color-accent-dark);
  font-size: clamp(2.8rem, 4.4vw, 3.7rem);
  line-height: 1.1;
  position: relative;
  padding-bottom: 22px;
}

.full-bleed-inner h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 56px;
  height: 3px;
  background: var(--color-accent);
  border-radius: 2px;
}

.full-bleed-inner p {
  font-size: 1.3rem;
  margin-top: 26px;
  color: var(--color-text-muted);
  line-height: 1.65;
}

.full-bleed-inner .check-list li {
  font-size: 1.2rem;
}

/* ---------- Sections ---------- */

section {
  padding: 96px 0;
}

.section-alt {
  background: var(--color-bg-alt);
}

.section-head {
  max-width: 640px;
  margin-bottom: 56px;
}

/* Property detail pages: consistent two-tier vertical rhythm.
   Tight gap ties each title to its own content; a larger, uniform
   gap separates one subsection from the next — regardless of
   whether that content is a grid, an iframe wrapper, or a card. */
.page-property .section-head {
  margin-bottom: var(--space-title-gap);
}

.page-property .spec-grid,
.page-property .gallery-grid,
.page-property .gallery-empty,
.page-property .sightmap-frame {
  margin-bottom: var(--space-block-gap);
}

.page-property .location-panel {
  margin-bottom: var(--space-block-gap);
}

.section-head.centered {
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  margin-bottom: 0;
}

.section-head.centered .eyebrow {
  display: block;
}

.check-list {
  margin-top: 28px;
}

.check-list li {
  position: relative;
  padding-left: 40px;
  margin-bottom: 18px;
  color: var(--color-text-muted);
  line-height: 1.5;
}

.check-list li:last-child {
  margin-bottom: 0;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--color-accent);
  box-shadow: 0 4px 12px rgba(222,135,41,0.28);
}

.check-list li::after {
  content: "";
  position: absolute;
  left: 8px;
  top: 9px;
  width: 10px;
  height: 5px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg);
}

/* Scroll reveal (services page) */
.full-bleed-row {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.full-bleed-row.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Properties grid ---------- */

#properties .section-head h2 {
  font-family: var(--font-modern);
  font-weight: 600;
  letter-spacing: -0.02em;
}

.properties-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.property-card {
  display: block;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
  color: inherit;
  text-decoration: none;
}

.property-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(30, 61, 52, 0.1);
}

.property-media {
  aspect-ratio: 1 / 1;
  height: auto;
  background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-dark) 100%);
  position: relative;
  display: flex;
  align-items: flex-end;
  padding: 32px;
}

.property-media::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255,255,255,0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 24px 24px;
}

.property-media.has-photo {
  background-size: cover;
  background-position: center;
}

.property-media.has-photo::before {
  background-image: none;
  background: linear-gradient(180deg, rgba(17, 24, 33, 0) 35%, rgba(17, 24, 33, 0.85) 100%);
}

.property-overlay {
  position: relative;
  z-index: 1;
}

.property-overlay h3 {
  font-family: var(--font-modern);
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #fff;
  margin-bottom: 6px;
}

.property-location {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.85);
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ---------- Feature list (services) ---------- */

.feature-columns {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 48px;
  margin-top: 24px;
}

.feature-block {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 36px;
}

.feature-photo {
  margin: -36px -36px 24px;
  border-radius: var(--radius) var(--radius) 0 0;
  overflow: hidden;
}

.feature-photo img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.services-photo {
  border-radius: var(--radius);
  overflow: hidden;
}

.services-photo img {
  width: 100%;
  height: auto;
  display: block;
}

.feature-block h3 {
  margin-bottom: 16px;
  color: var(--color-accent-dark);
}

.feature-block ul li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 12px;
  color: var(--color-text-muted);
}

.feature-block ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 8px;
  height: 8px;
  background: var(--color-gold);
  border-radius: 50%;
}

.intro-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.intro-split h2 {
  font-family: var(--font-modern);
  font-weight: 600;
  letter-spacing: -0.02em;
}

.stat-row {
  display: flex;
  gap: 48px;
  margin-top: 32px;
  flex-wrap: wrap;
}

.stat-row .stat strong {
  display: block;
  font-family: var(--font-modern);
  font-size: 2.2rem;
  color: var(--color-accent-dark);
}

.stat-row .stat span {
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

/* ---------- CTA band ---------- */

.cta-band {
  background: linear-gradient(135deg, var(--color-accent-dark) 0%, #1c2733 100%);
  color: #fff;
  padding: 72px 0;
}

.page-services .cta-band {
  padding: 96px 0;
}

.page-services .cta-band h2 {
  font-size: clamp(2rem, 3.6vw, 2.8rem);
}

.cta-band-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.cta-band h2 {
  color: #fff;
  margin: 0;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}

.cta-band p {
  color: rgba(255,255,255,0.7);
  margin: 8px 0 0;
}

/* ---------- Contact info / footer ---------- */

.info-strip {
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  padding: 56px 0;
}

.info-item .eyebrow {
  margin-bottom: 8px;
}


.info-item p, .info-item a {
  font-size: 1.05rem;
  color: var(--color-text);
  margin: 0;
}

footer.site-footer {
  background: var(--color-surface);
  color: var(--color-text-muted);
  padding: 48px 0 28px;
  font-size: 0.85rem;
  border-top: 1px solid var(--color-border);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 28px;
  margin-bottom: 24px;
}

.footer-logos {
  display: flex;
  align-items: center;
  gap: 18px;
}

.footer-divider {
  width: 1px;
  height: 26px;
  background: var(--color-border);
}

.footer-parent-img {
  height: 24px;
  width: auto;
  display: block;
}

.footer-logo-img {
  height: 28px;
  width: auto;
  display: block;
}

.footer-links {
  display: flex;
  gap: 28px;
}

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

.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-bottom a:hover {
  color: var(--color-accent);
}

/* ---------- Contact form ---------- */

.contact-layout {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 64px;
  align-items: start;
}

.contact-sidebar {
  position: sticky;
  top: 96px;
}

.contact-photo {
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 16px;
}

.contact-photo img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  object-position: center 12%;
  display: block;
}

.contact-card .eyebrow {
  margin-bottom: 10px;
}

.contact-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 16px;
}

.contact-card h3 {
  font-size: 1rem;
  color: var(--color-accent-dark);
  margin-bottom: 6px;
}

.contact-card p, .contact-card a {
  margin: 0;
}

.contact-card a {
  display: block;
  color: var(--color-accent);
  font-weight: 600;
}

.contact-card a:hover {
  text-decoration: underline;
}

.contact-card p {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

.form-field.full {
  grid-column: 1 / -1;
}

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

.form-field input,
.form-field select,
.form-field textarea {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  padding: 13px 14px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-surface);
  color: var(--color-text);
  transition: border-color var(--transition);
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--color-accent);
}

.form-field textarea {
  resize: vertical;
  min-height: 120px;
}

.radio-row {
  display: flex;
  gap: 24px;
}

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

.form-message {
  padding: 14px 18px;
  border-radius: var(--radius);
  margin-bottom: 20px;
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.5;
}

.form-message--success {
  background: #EAF7EE;
  color: #1E7B34;
  border: 1px solid #BEE6C9;
}

.form-message--error {
  background: #FCEAEA;
  color: #B3261E;
  border: 1px solid #F3C6C4;
}

.radio-row label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  text-transform: none;
  letter-spacing: normal;
  font-weight: 500;
  color: var(--color-text);
}

/* ---------- Location: full-bleed aerial map + floating info card ---------- */

.location-panel {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(17, 24, 33, 0.16);
}

.location-panel .map-frame {
  height: 480px;
  min-height: 480px;
  border-radius: 0;
  border: none;
  box-shadow: none;
}

.location-panel .map-frame iframe {
  width: 100%;
  height: 100%;
  min-height: 480px;
  border: 0;
}

.location-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(17, 24, 33, 0.38) 0%, rgba(17, 24, 33, 0) 38%);
}

.location-card {
  position: absolute;
  left: 6px;
  top: 6px;
  z-index: 2;
  min-width: 270px;
  max-width: 380px;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 14px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: 0 12px 32px rgba(17, 24, 33, 0.2);
}

.location-card .eyebrow {
  margin-bottom: 0;
}

.location-card h3 {
  font-family: var(--font-modern);
  font-weight: 600;
  font-size: 1.3rem;
  color: var(--color-accent-dark);
  margin: 0;
}

.location-card p {
  color: var(--color-text-muted);
  font-size: 0.98rem;
  margin: 0;
  line-height: 1.55;
}

.location-card .btn {
  align-self: flex-start;
}

.location-directions {
  align-self: flex-start;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-accent);
  text-decoration: none;
}

.location-directions:hover {
  text-decoration: underline;
}

@media (max-width: 960px) {
  .location-panel .map-frame,
  .location-panel .map-frame iframe { height: 400px; min-height: 400px; }
}

@media (max-width: 720px) {
  .location-panel { border-radius: 12px; }
  .location-panel .map-frame,
  .location-panel .map-frame iframe { height: 320px; min-height: 320px; }
  .location-panel::after { display: none; }
  .location-card {
    position: static;
    max-width: none;
    margin: 16px;
    width: calc(100% - 32px);
    background: var(--color-bg-alt);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border: 1px solid var(--color-border);
    box-shadow: none;
  }
}

/* ---------- Responsive ---------- */

@media (max-width: 960px) {
  .properties-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .feature-columns { grid-template-columns: 1fr; }
  .intro-split { grid-template-columns: 1fr; gap: 32px; }
  .contact-layout { grid-template-columns: 1fr; }
  .info-grid { grid-template-columns: 1fr; gap: 24px; padding: 40px 0; }
  .full-bleed-row { grid-template-columns: 1fr; min-height: 0; }
  .full-bleed-row.reverse .full-bleed-photo { order: 0; }
  .full-bleed-row.reverse .full-bleed-content { order: 0; }
  .full-bleed-photo { height: 540px; }
  .full-bleed-inner { padding: 48px 40px; max-width: none; }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 720px) {
  .nav-links, .nav-cta .btn-outline { display: none; }
  .nav-toggle { display: flex; }
  .site-header .container.nav { position: relative; }

  .nav-links.is-open {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--color-surface);
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
    box-shadow: 0 16px 32px rgba(17, 24, 33, 0.12);
    padding: 8px 32px 16px;
  }

  .nav-links.is-open a {
    width: 100%;
    padding: 16px 0;
    border-bottom: 1px solid var(--color-border);
  }

  .nav-links.is-open a:last-child {
    border-bottom: none;
  }

  .site-header--home .nav-links.is-open {
    background: var(--color-accent-dark);
    border-color: rgba(255,255,255,0.15);
  }

  .site-header--home .nav-links.is-open a {
    color: #fff;
    border-bottom-color: rgba(255,255,255,0.15);
  }

  .site-header--home.is-scrolled .nav-links.is-open {
    background: var(--color-surface);
    border-color: var(--color-border);
  }

  .site-header--home.is-scrolled .nav-links.is-open a {
    color: var(--color-text);
    border-bottom-color: var(--color-border);
  }
  .properties-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .hero { min-height: auto; padding: 100px 0 80px; }
  .hero-video { display: none; }
  section { padding: 64px 0; }
  .cta-band-inner { flex-direction: column; align-items: flex-start; }
  .footer-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 24px;
    padding-bottom: 24px;
  }
  .footer-links {
    flex-wrap: wrap;
    justify-content: center;
    row-gap: 12px;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px;
    padding-top: 20px;
  }
}

/* ---------- 404 page ---------- */

.not-found {
  padding: 140px 0 160px;
  text-align: center;
}

.not-found .container {
  max-width: 560px;
}

.not-found-code {
  display: block;
  font-family: var(--font-modern);
  font-weight: 700;
  font-size: clamp(4rem, 12vw, 7rem);
  line-height: 1;
  color: var(--color-accent-soft);
  letter-spacing: -0.03em;
}

.not-found h1 {
  margin-top: 8px;
}

.not-found p {
  margin: 0 auto 32px;
}

.not-found .hero-actions {
  justify-content: center;
}

/* ---------- Breadcrumb ---------- */

.breadcrumb {
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  margin-bottom: 18px;
}

.breadcrumb a {
  color: rgba(255,255,255,0.85);
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.property-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-size: 1.2rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  margin-top: 16px;
}

/* ---------- Photo gallery ---------- */
/* Hero + supporting-thumbnail layout: the first photo runs larger
   (2x2) so the building's best angle leads; the rest fill in as
   uniform 1x1 tiles alongside it. */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 56px;
}

.gallery-item {
  display: block;
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--color-border);
  cursor: zoom-in;
  background: var(--color-bg-alt);
  aspect-ratio: 3 / 2;
}

.gallery-item:first-child {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform var(--transition);
}

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

.gallery-empty {
  padding: 48px;
  text-align: center;
  border: 1px dashed var(--color-border);
  border-radius: var(--radius);
  color: var(--color-text-muted);
  background: var(--color-surface);
  margin-bottom: 56px;
}

/* ---------- Lightbox ---------- */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(10, 14, 12, 0.92);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.lightbox.is-open {
  display: flex;
}

.lightbox-img {
  max-width: min(1800px, 96vw);
  max-height: 92vh;
  object-fit: contain;
  border-radius: 2px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.25);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
  background: rgba(255,255,255,0.22);
}

.lightbox-close {
  top: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 1.3rem;
}

.lightbox-prev,
.lightbox-next {
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  font-size: 1.5rem;
}

.lightbox-prev { left: 24px; }
.lightbox-next { right: 24px; }

.lightbox-counter {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.7);
  font-size: 0.8rem;
  letter-spacing: 0.05em;
}

/* ---------- Property page: collapsed sticky header ---------- */
/* Sits just under the nav; fades in once the full hero has scrolled
   past, acting as a "collapsed" stand-in for it. */

.property-sticky-bar {
  position: fixed;
  left: 0;
  right: 0;
  z-index: 90;
  background: var(--color-accent-dark);
  padding: 16px 0;
  transform: translateY(-100%);
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
  box-shadow: 0 8px 24px rgba(17, 24, 33, 0.15);
}

.property-sticky-bar.is-visible {
  transform: translateY(0);
  opacity: 1;
}

.property-sticky-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.property-sticky-bar-name {
  font-family: var(--font-modern);
  font-weight: 600;
  font-size: 1.1rem;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (max-width: 480px) {
  .property-sticky-bar-name { display: none; }
  .property-sticky-bar-inner { justify-content: center; }
}

@media (max-width: 720px) {
  /* Swipeable full-width carousel instead of a cramped grid. */
  .gallery-grid {
    display: flex;
    grid-template-columns: none;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 12px;
    padding-bottom: 4px;
  }
  .gallery-grid::-webkit-scrollbar { display: none; }
  .gallery-item,
  .gallery-item:first-child {
    grid-column: unset;
    grid-row: unset;
    flex: 0 0 82%;
    scroll-snap-align: center;
  }
  .lightbox-prev, .lightbox-next { width: 40px; height: 40px; font-size: 1.2rem; }
  .lightbox { padding: 16px; }
}

/* ---------- Property detail: brochure button + spec grid ---------- */

.property-actions {
  margin-top: 28px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.spec-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 24px;
  margin-bottom: 56px;
}

.spec-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 32px;
}

.spec-card h3 {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-accent);
  font-family: var(--font-sans);
  margin-bottom: 20px;
}

.spec-card--stat {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  background: var(--color-accent-soft);
  border-color: var(--color-accent-soft);
}

.spec-stat {
  font-family: var(--font-modern);
  font-weight: 700;
  font-size: 2.6rem;
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--color-accent-dark);
}

.spec-card--stat .spec-sub {
  margin-top: 8px;
}

.leasing-contact {
  padding-bottom: 16px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--color-border);
}

.leasing-contact:last-child {
  padding-bottom: 0;
  margin-bottom: 0;
  border-bottom: none;
}

.leasing-contact .agent-name {
  font-weight: 600;
  color: var(--color-text);
  display: block;
}

.leasing-contact .agent-company {
  font-size: 0.88rem;
  color: var(--color-text-muted);
  display: block;
  margin-bottom: 6px;
}

.leasing-contact a {
  font-size: 0.88rem;
  color: var(--color-accent);
  display: block;
  text-decoration: none;
}

.leasing-contact a:hover {
  text-decoration: underline;
}

.spec-card .spec-value {
  font-family: var(--font-modern);
  font-size: 1.8rem;
  color: var(--color-accent-dark);
}

.spec-card .spec-sub {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  margin-top: 4px;
}

.sightmap-frame {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--color-border);
  margin-bottom: 56px;
}

.sightmap-frame iframe {
  width: 100%;
  height: 620px;
  border: 0;
  display: block;
}

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

@media (max-width: 720px) {
  .sightmap-frame iframe { height: 420px; }
}
