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

:root {
  --navy: #1B2D5B;
  --navy-dark: #0F1A38;
  --navy-light: #2A4178;
  --red: #C41E3A;
  --red-dark: #9E1830;
  --red-light: #E8344F;
  --cream: #FAF7F2;
  --warm-white: #FDFCFA;
  --sand: #E8DFD0;
  --earth: #8B7355;
  --earth-light: #A89272;
  --sage: #6B7F5E;
  --text-dark: #1A1A1A;
  --text-mid: #4A4A4A;
  --text-light: #7A7A7A;
  --shadow-sm: 0 1px 3px rgba(27,45,91,0.08);
  --shadow-md: 0 4px 16px rgba(27,45,91,0.1);
  --shadow-lg: 0 8px 32px rgba(27,45,91,0.14);
  --shadow-xl: 0 16px 48px rgba(27,45,91,0.18);
  --radius: 4px;
  --radius-lg: 8px;

  /* Surfaces (light mode defaults) */
  --surface-primary: var(--warm-white);
  --surface-secondary: var(--cream);
  --surface-card: #fff;
  --surface-header: rgba(253,252,250,0.92);
  --surface-header-scrolled: rgba(253,252,250,0.97);
  --surface-input: var(--cream);
  --surface-input-focus: #fff;
  --border-subtle: rgba(27,45,91,0.06);
  --border-card: rgba(232,223,208,0.6);
  --border-meta: #f0ede8;
  --overlay-nav: rgba(0,0,0,0.4);
  --nav-shadow: -8px 0 32px rgba(0,0,0,0.1);
  --footer-bg: var(--navy-dark);

  color-scheme: light dark;
}

/* ─── DARK MODE ─── */
@media (prefers-color-scheme: dark) {
  :root {
    --navy: #94B3E8;
    --navy-dark: #0A0C10;
    --navy-light: #3A5A9A;
    --cream: #1A1D23;
    --warm-white: #12141A;
    --sand: #2A2D35;
    --earth-light: #C4A87A;
    --text-dark: #E8E4DF;
    --text-mid: #A8A4A0;
    --text-light: #787470;
    --surface-primary: #12141A;
    --surface-secondary: #1A1D23;
    --surface-card: #1E2128;
    --surface-header: rgba(18,20,26,0.92);
    --surface-header-scrolled: rgba(18,20,26,0.97);
    --surface-input: #1A1D23;
    --surface-input-focus: #1E2128;
    --border-subtle: rgba(255,255,255,0.06);
    --border-card: rgba(255,255,255,0.08);
    --border-meta: rgba(255,255,255,0.06);
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.2);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.25);
    --shadow-lg: 0 8px 32px rgba(0,0,0,0.3);
    --shadow-xl: 0 16px 48px rgba(0,0,0,0.35);
    --overlay-nav: rgba(0,0,0,0.6);
    --nav-shadow: -8px 0 32px rgba(0,0,0,0.3);
    --footer-bg: #0A0C10;
  }

  .header { border-bottom-color: var(--border-subtle); }

  .menu-toggle span { background: var(--text-dark); }

  .service-card { border-color: var(--border-card); }

  .contact-info-text a { color: var(--red-light); }
  .contact-info-text a:hover { color: var(--red); }

  .form-group select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23A8A4A0' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  }

  .form-group input:focus,
  .form-group textarea:focus,
  .form-group select:focus {
    box-shadow: 0 0 0 3px rgba(148,179,232,0.15);
  }

  .footer-brand img { filter: brightness(0) invert(1); opacity: 0.85; }

  .logo img { filter: brightness(0) invert(1); }

  .properties-section::before {
    background: linear-gradient(to right, transparent, var(--sand), transparent);
  }

  .property-badge.auction { background: var(--navy-light); }
  .contact-info-icon { background: var(--navy-light); }
  .service-icon { background: var(--navy-light); }
}

html { scroll-behavior: smooth; }

/* ── ERROR PAGES ── */
.error-main {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6rem 1.5rem 4rem;
}
.error-wrap {
  max-width: 560px;
  width: 100%;
  text-align: center;
}
.error-wrap h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  color: var(--navy);
  margin-bottom: 1rem;
}
.error-wrap p {
  color: var(--text-mid);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}
.error-actions {
  margin-top: 2rem;
  display: flex;
  gap: 1rem;
  justify-content: center;
}

/* ── FLASH MESSAGES ── */
.message {
  position: fixed;
  top: 100px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  padding: 14px 24px;
  border-radius: 6px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
  max-width: 480px;
  width: calc(100% - 3rem);
  text-align: center;
  animation: flashIn 0.3s cubic-bezier(0.16,1,0.3,1) forwards;
}
.message.success { background: #1B2D5B; color: #fff; }
.message.error   { background: #9E1830; color: #fff; }
.message.warning { background: #b45309; color: #fff; }
.message.info    { background: #1e6091; color: #fff; }
.message.hidden  { display: none; }

@keyframes flashIn {
  from { opacity: 0; transform: translateX(-50%) translateY(-12px); }
  to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}
@keyframes flashOut {
  from { opacity: 1; transform: translateX(-50%) translateY(0); }
  to   { opacity: 0; transform: translateX(-50%) translateY(-12px); }
}
.message.dismissing {
  animation: flashOut 0.4s cubic-bezier(0.16,1,0.3,1) forwards;
}

body {
  font-family: 'Source Sans 3', 'Segoe UI', sans-serif;
  color: var(--text-dark);
  background: var(--surface-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Playfair Display', Georgia, serif;
  line-height: 1.2;
}

/* ─── GRAIN OVERLAY ─── */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ─── HEADER ─── */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--surface-header);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  transition: all 0.4s cubic-bezier(0.16,1,0.3,1);
}

.header.scrolled {
  background: var(--surface-header-scrolled);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  max-width: 1340px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 116px;
  transition: height 0.4s cubic-bezier(0.16,1,0.3,1);
}

.header.scrolled .header-inner { height: 68px; }

.logo img {
  height: 100px;
  width: auto;
  transition: height 0.4s cubic-bezier(0.16,1,0.3,1);
}

.header.scrolled .logo img { height: 58px; }

.nav { display: flex; align-items: center; gap: 0.25rem; }

.nav a {
  text-decoration: none;
  color: var(--navy);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.5rem 1.1rem;
  border-radius: var(--radius);
  transition: all 0.25s ease;
  position: relative;
}

.nav a::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 1.1rem;
  right: 1.1rem;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transition: transform 0.3s cubic-bezier(0.16,1,0.3,1);
}

.nav a:hover::after { transform: scaleX(1); }

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--red);
  color: #fff !important;
  padding: 0.65rem 1.5rem !important;
  border-radius: var(--radius) !important;
  font-weight: 700 !important;
  font-size: 0.85rem !important;
  letter-spacing: 0.05em;
  transition: all 0.3s ease !important;
  margin-left: 0.75rem;
}

.nav-cta::after { display: none !important; }
.nav-cta:hover { background: var(--red-dark) !important; transform: translateY(-1px); }

.nav-cta svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

/* Mobile menu */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 1001;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  margin: 6px 0;
  transition: all 0.3s ease;
  border-radius: 2px;
}

.menu-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(6px, -6px); }

/* ─── HERO ─── */
.hero {
  position: relative;
  height: 92vh;
  min-height: 600px;
  max-height: 1000px;
  overflow: hidden;
  margin-top: 88px;
}

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

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.4s ease-in-out;
  will-change: opacity;
}

.hero-slide.active { opacity: 1; }

.hero-slide-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.05);
  animation: heroZoom 8s ease-in-out infinite alternate;
}

@keyframes heroZoom {
  from { transform: scale(1.0); }
  to { transform: scale(1.08); }
}


.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(15,26,56,0.35) 0%,
    rgba(15,26,56,0.2) 40%,
    rgba(15,26,56,0.55) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  max-width: 1340px;
  margin: 0 auto;
  padding: 0 2rem;
}

.hero-tag {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s 0.3s cubic-bezier(0.16,1,0.3,1) forwards;
}

.hero-tag::before {
  content: '';
  width: 32px;
  height: 2px;
  background: var(--red);
}

.hero h1 {
  font-size: clamp(2.8rem, 5.5vw, 4.5rem);
  font-weight: 900;
  color: #fff;
  max-width: 700px;
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 20px rgba(0,0,0,0.4), 0 4px 60px rgba(0,0,0,0.2);
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 0.8s 0.5s cubic-bezier(0.16,1,0.3,1) forwards;
}

.hero h1 em {
  font-style: italic;
  color: var(--red-light);
  font-weight: 900;
  text-shadow:
    0 0 6px rgba(0,0,0,0.45),
    0 0 14px rgba(0,0,0,0.25),
    0 1px 3px rgba(0,0,0,0.6);
}

.hero-subtitle {
  font-size: 1.2rem;
  color: rgba(255,255,255,0.9);
  max-width: 520px;
  margin-bottom: 2.5rem;
  font-weight: 300;
  line-height: 1.7;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 0.8s 0.7s cubic-bezier(0.16,1,0.3,1) forwards;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 0.8s 0.9s cubic-bezier(0.16,1,0.3,1) forwards;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 1rem 2.25rem;
  font-family: 'Source Sans 3', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: var(--radius);
  transition: all 0.3s cubic-bezier(0.16,1,0.3,1);
  cursor: pointer;
  border: none;
}

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

.btn-primary:hover {
  background: var(--red-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(196,30,58,0.35);
}

.btn-outline {
  background: rgba(255,255,255,0.1);
  color: #fff;
  border: 2px solid rgba(255,255,255,0.4);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.btn-outline:hover {
  background: rgba(255,255,255,0.2);
  border-color: rgba(255,255,255,0.7);
  transform: translateY(-2px);
}

.btn svg { width: 18px; height: 18px; fill: currentColor; }

.btn-full-width {
  width: 100%;
  justify-content: center;
}

/* Slideshow indicators */
.hero-indicators {
  position: absolute;
  bottom: 2.5rem;
  right: 2rem;
  z-index: 3;
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.hero-indicator {
  width: 40px;
  height: 3px;
  border-radius: 3px;
  background: rgba(255,255,255,0.3);
  cursor: pointer;
  transition: all 0.4s ease;
  border: none;
  padding: 0;
}

.hero-indicator.active {
  background: #fff;
  width: 56px;
}

/* ─── SECTION STYLES ─── */
.section {
  padding: 7rem 2rem;
}

.section-inner {
  max-width: 1340px;
  margin: 0 auto;
}

.section-header {
  margin-bottom: 4rem;
}

.section-tag {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.section-tag::before {
  content: '';
  width: 24px;
  height: 2px;
  background: var(--red);
}

.section-header h1,
.section-header h2 {
  font-size: clamp(2rem, 3.5vw, 3rem);
  color: var(--navy);
  margin-bottom: 1rem;
}

.section-header p {
  font-size: 1.1rem;
  color: var(--text-mid);
  max-width: 560px;
  line-height: 1.7;
}

/* ─── PROPERTIES ─── */
.properties-section {
  background: var(--surface-secondary);
  position: relative;
}

.properties-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--sand), transparent);
}

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

.property-card {
  background: var(--surface-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.4s cubic-bezier(0.16,1,0.3,1);
  position: relative;
}

.property-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.property-img {
  position: relative;
  height: 240px;
  overflow: hidden;
}

.property-img-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16,1,0.3,1);
}

.property-card:hover .property-img-bg {
  transform: scale(1.06);
}

.property-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--red);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius);
}

.property-badge.auction { background: var(--navy); }

.property-acreage {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  background: rgba(0,0,0,0.65);
  backdrop-filter: blur(8px);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius);
}

.property-info {
  padding: 1.5rem;
}

.property-price {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.35rem;
}

.property-title {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.property-location {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.88rem;
  color: var(--text-light);
  margin-bottom: 1.25rem;
}

.property-location svg {
  width: 14px;
  height: 14px;
  fill: var(--earth-light);
  flex-shrink: 0;
}

.property-meta {
  display: flex;
  gap: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-meta);
}

.property-meta-item {
  font-size: 0.8rem;
  color: var(--text-mid);
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.property-meta-item svg {
  width: 14px;
  height: 14px;
  fill: var(--earth-light);
}

.property-meta-item strong {
  font-weight: 700;
  color: var(--text-dark);
}

.property-card-link {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.properties-cta {
  text-align: center;
  margin-top: 3.5rem;
}

/* ─── SERVICES ─── */
/* ─── ABOUT SERVICES (embedded in about section) ─── */
.about-services {
  margin-top: 4rem;
  padding-top: 3rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.about-services-heading {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  margin-bottom: 1.5rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
}

.service-card {
  position: relative;
  padding: 1.25rem 1.25rem;
  background: rgba(255,255,255,0.06);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255,255,255,0.1);
  transition: all 0.3s cubic-bezier(0.16,1,0.3,1);
  cursor: default;
  overflow: visible;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.service-card:hover {
  background: rgba(255,255,255,0.11);
  border-color: rgba(255,255,255,0.2);
}

.service-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: var(--radius);
  background: rgba(196,30,58,0.75);
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-icon svg {
  width: 18px;
  height: 18px;
  fill: #fff;
}

.service-card h4 {
  font-size: 0.9rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
  margin: 0;
}

/* ─── SERVICE TOOLTIP ─── */
.service-tooltip {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%);
  width: 220px;
  background: #0d1526 !important;
  color: rgba(255,255,255,0.85) !important;
  padding: 0.9rem 1.1rem;
  border-radius: var(--radius);
  font-size: 0.875rem;
  line-height: 1.6;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease;
  z-index: 20;
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}

.service-tooltip::after {
  content: '';
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-bottom-color: #0d1526;
}

.service-card:hover .service-tooltip {
  opacity: 1;
}

/* ─── ABOUT ─── */
.about-section {
  background: var(--navy);
  color: #fff;
  position: relative;
}

.about-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(196,30,58,0.08), transparent 70%);
  pointer-events: none;
}

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

.about-content .section-tag { color: var(--red-light); }

.about-content h2 {
  color: #fff;
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  margin-bottom: 1.5rem;
}

.about-content p {
  color: rgba(255,255,255,0.75);
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 1.25rem;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.about-stat-number {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: #fff;
  line-height: 1;
  margin-bottom: 0.35rem;
}

.about-stat-label {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
}

.about-image {
  position: relative;
  height: 480px;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.about-image-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-lg);
}

.about-image::before {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  z-index: 1;
  pointer-events: none;
}

/* ─── CONTACT ─── */
.contact-section {
  background: var(--surface-secondary);
  position: relative;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 4rem;
}

.contact-form {
  background: var(--surface-card);
  padding: 3rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

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

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.85rem 1rem;
  font-family: 'Source Sans 3', sans-serif;
  font-size: 1rem;
  color: var(--text-dark);
  background: var(--surface-input);
  border: 1px solid var(--sand);
  border-radius: var(--radius);
  transition: all 0.25s ease;
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--navy);
  background: var(--surface-input-focus);
  box-shadow: 0 0 0 3px rgba(27,45,91,0.08);
}

.form-group textarea {
  resize: vertical;
  min-height: 140px;
}

.form-group select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%234A4A4A' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.contact-sidebar h3 {
  font-size: 1.4rem;
  color: var(--navy);
  margin-bottom: 2rem;
}

.contact-info-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
}

.contact-info-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius);
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-info-icon svg {
  width: 20px;
  height: 20px;
  fill: #fff;
}

.contact-info-text h4 {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 0.25rem;
}

.contact-info-text p {
  font-size: 1rem;
  color: var(--text-dark);
  line-height: 1.5;
}

.contact-info-text a {
  color: var(--navy);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s;
}

.contact-info-text a:hover { color: var(--red); }

.contact-hours {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--sand);
}

.contact-hours h4 {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 1rem;
}

.contact-hours-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
}

.contact-hours-row span:first-child { color: var(--text-mid); }
.contact-hours-row span:last-child { font-weight: 600; color: var(--text-dark); }

/* ─── FOOTER ─── */
.footer {
  background: var(--footer-bg);
  color: rgba(255,255,255,0.6);
  padding: 5rem 2rem 2rem;
}

.footer-inner {
  max-width: 1340px;
  margin: 0 auto;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.footer-brand img {
  height: 120px;
  width: auto;
  margin-bottom: 1.25rem;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}

.footer-brand p {
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.footer-tagline {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 1rem;
  color: rgba(255,255,255,0.35);
}

.footer-col h4 {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 1.5rem;
}

.footer-col a {
  display: block;
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
  transition: all 0.2s;
}

.footer-col a:hover {
  color: #fff;
  padding-left: 4px;
}

.footer-social {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: var(--radius);
  background: rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  margin: 0;
  padding: 0;
}

.footer-social a:hover {
  background: var(--red);
  padding-left: 0;
}

.footer-social svg {
  width: 18px;
  height: 18px;
  fill: rgba(255,255,255,0.7);
}

.footer-social a:hover svg { fill: #fff; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  font-size: 0.85rem;
}

.footer-bottom a {
  color: rgba(255,255,255,0.4);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-bottom a:hover { color: #fff; }

.footer-legal {
  display: flex;
  gap: 2rem;
}

/* ─── SCROLL ANIMATIONS ─── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.7s cubic-bezier(0.16,1,0.3,1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
  .properties-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: repeat(3, 1fr); }
  .about-grid { grid-template-columns: 1fr; gap: 3rem; }
  .about-image { height: 360px; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .header-inner { height: 80px; }
  .header.scrolled .header-inner { height: 60px; }
  .logo img { height: 52px; }
  .header.scrolled .logo img { height: 38px; }

  .nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 360px;
    height: 100vh;
    background: var(--surface-primary);
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 2rem 2.5rem;
    gap: 0.25rem;
    transition: right 0.4s cubic-bezier(0.16,1,0.3,1);
    box-shadow: var(--nav-shadow);
  }

  .nav.open { right: 0; }

  .nav a {
    font-size: 1.1rem;
    padding: 0.75rem 0;
  }

  .nav a::after { bottom: 0; left: 0; right: auto; width: 0; }
  .nav a:hover::after { width: 24px; transform: scaleX(1); }

  .nav-cta {
    margin-left: 0 !important;
    margin-top: 1rem;
  }

  .menu-toggle { display: block; }

  .hero { margin-top: 72px; height: 80vh; min-height: 500px; }
  .hero h1 { font-size: clamp(2rem, 7vw, 3rem); }

  .section { padding: 5rem 1.5rem; }
  .properties-grid { grid-template-columns: 1fr; max-width: 480px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .form-row { grid-template-columns: 1fr; }
  .contact-form { padding: 2rem; }
  .about-stats { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
  .about-stat-number { font-size: 2rem; }

  .footer-top { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
  .footer-legal { gap: 1.25rem; }
}

@media (max-width: 480px) {
  .hero { height: 75vh; min-height: 440px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .hero-indicators { display: none; }
}

/* Mobile nav overlay */
.nav-overlay {
  position: fixed;
  inset: 0;
  background: var(--overlay-nav);
  z-index: 998;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.nav-overlay.visible {
  opacity: 1;
  pointer-events: all;
}

/* ── PROSE (privacy policy, content pages) ── */
.prose { max-width: 100%; }
.prose h2 { font-family: 'Playfair Display', serif; font-size: 1.4rem; color: var(--navy); margin: 2rem 0 0.5rem; }
.prose p, .prose li { color: var(--text-mid); line-height: 1.8; margin-bottom: 0.75rem; }
.prose ul { padding-left: 1.5rem; }
.prose a { color: var(--red); }

/* ── SITEMAP ── */
.sitemap-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 2rem; margin-top: 2rem; }
.sitemap-section--full { grid-column: 1 / -1; }
.sitemap-section h3 { font-family: 'Playfair Display', serif; font-size: 1.1rem; color: var(--navy); margin-bottom: 0.75rem; padding-bottom: 0.5rem; border-bottom: 2px solid var(--gold); }
.sitemap-list { list-style: none; padding: 0; margin: 0; }
.sitemap-list li { padding: 0.3rem 0; }
.sitemap-list a { color: var(--text-mid); text-decoration: none; font-size: 0.95rem; }
.sitemap-list a:hover { color: var(--red); }
.sitemap-list--cols { columns: 2; column-gap: 2rem; }

/* ── TEAM SECTION ── */
.team-section { background: var(--off-white); }
.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 2rem; margin-top: 2.5rem; }
.team-card { background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 2px 12px rgba(0,0,0,.07); text-align: center; padding: 2rem 1.5rem 1.5rem; position: relative; text-decoration: none; display: block; transition: box-shadow .18s, transform .18s; }
.team-card:hover { box-shadow: 0 6px 24px rgba(0,0,0,.12); transform: translateY(-2px); }
.team-bio-hint { font-size: .75rem; color: var(--red); font-weight: 600; }
.team-photo { margin: 0 auto 1.25rem; width: 100px; height: 100px; }
.team-photo img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.team-photo-placeholder { width: 100%; height: 100%; border-radius: 50%; background: var(--sand); display: flex; align-items: center; justify-content: center; }
.team-photo-placeholder svg { width: 48px; height: 48px; fill: var(--gold); }
.team-info h3 { font-family: 'Playfair Display', serif; font-size: 1.1rem; color: var(--navy); margin: 0 0 .25rem; }
.team-title { font-size: .85rem; font-weight: 600; color: var(--gold); margin-bottom: .75rem; text-transform: uppercase; letter-spacing: .04em; }

/* ── ADMIN BAR (public layout) ── */
.admin-bar { position:fixed; top:0; left:0; right:0; z-index:1001; background:#1B2D5B; color:#e8dfd0; font-size:.8rem; }
.admin-bar-inner { max-width:1340px; margin:0 auto; padding:5px 2rem; display:flex; align-items:center; gap:20px; }
.admin-bar a { color:#e8dfd0; text-decoration:none; }
.admin-bar-title { font-weight:600; }
.admin-bar-logout { margin-left:auto; }

/* ── PROPERTY CARD: NO PHOTO STATE ── */
.property-img-bg--empty { background:#e8dfd0; display:flex; align-items:center; justify-content:center; }
.property-img-bg--empty svg { width:48px; height:48px; fill:#a89272; }

/* ── PROPERTY BADGE: SOLD ── */
.property-badge--sold { background:#c41e3a; }

/* ── PROPERTIES EMPTY STATE ── */
.properties-empty { text-align:center; padding:3rem 0; }
.properties-empty-icon { width:56px; height:56px; fill:var(--sand); margin-bottom:1rem; }
.properties-empty h3 { font-family:'Playfair Display',serif; color:var(--navy); margin-bottom:.75rem; }
.properties-empty p { color:var(--text-mid); max-width:480px; margin:0 auto 1.5rem; }
.properties-list-empty { text-align:center; color:var(--text-light); padding:3rem 0; }
.properties-list-page { padding-top:5rem; }

/* ── PROPERTY UNAVAILABLE PAGE ── */
.property-unavailable-layout { display:grid; grid-template-columns:1fr 1fr; gap:4rem; align-items:center; min-height:55vh; }
.property-unavailable-message h1 { margin-top:.75rem; }
.property-unavailable-message p { margin-bottom:2rem; color:var(--text-mid); font-size:1.05rem; }
.property-unavailable-message a:not(.btn) { color:var(--navy); }
.property-unavailable-message a:not(.btn):hover { color:var(--red); }
.property-unavailable-message a:not(.btn):visited { color:var(--navy-light); }
.property-unavailable-card-label { font-size:.8rem; font-weight:700; text-transform:uppercase; letter-spacing:.08em; color:var(--text-light); margin-bottom:1rem; }
@media (max-width:768px) {
  .property-unavailable-layout { grid-template-columns:1fr; gap:2.5rem; }
}

/* ── PAGING ── */
.paging { display:flex; justify-content:center; gap:8px; margin-top:20px; }

/* ── THANKS PAGE ── */
.thanks-section { padding:8rem 1.5rem; text-align:center; }
.thanks-inner { max-width:560px; margin:0 auto; }
.thanks-icon { width:56px; height:56px; fill:#1B2D5B; margin-bottom:1rem; }
.thanks-heading { font-family:'Playfair Display',serif; color:var(--navy); margin-bottom:1rem; }
.thanks-text { color:var(--text-mid); font-size:1.1rem; line-height:1.7; margin-bottom:2rem; }

/* ── SITEMAP LINKS ── */
.sitemap-link { color:var(--red); }

/* ── PROPERTY DETAIL PAGE ── */
.property-hero { position:relative; height:460px; background:#1b2d5b; overflow:hidden; margin-top:88px; }
.property-hero img { width:100%; height:100%; object-fit:cover; opacity:.85; }
.property-hero-overlay { position:absolute; inset:0; background:linear-gradient(to top, rgba(0,0,0,.6) 0%, transparent 60%); }
.property-hero-content { position:absolute; bottom:0; left:0; right:0; color:#fff; }
.property-hero-content-inner { max-width:1340px; margin:0 auto; padding:2rem 1.5rem; }
.property-hero-content h1 { font-family:'Playfair Display',serif; font-size:2rem; margin:0 0 .5rem; }
.property-hero-meta { display:flex; gap:1rem; flex-wrap:wrap; font-size:.9rem; opacity:.9; }
.property-status-pill { background:rgba(255,255,255,.2); padding:2px 10px; border-radius:20px; }
.property-detail-section { background:#fff; }
.property-detail-wrap { max-width:1340px; margin:0 auto; padding:2.5rem 1.5rem; display:grid; grid-template-columns:1fr 340px; gap:2.5rem; }
.property-price-big { font-size:1.8rem; font-weight:800; color:var(--red); margin-bottom:1rem; }
.property-meta-grid { display:grid; grid-template-columns:1fr 1fr 1fr; gap:1rem; margin-bottom:1.5rem; }
.property-meta-item { background:#faf7f2; border:1px solid #e8dfd0; border-radius:6px; padding:.75rem; text-align:center; }
.property-meta-item .value { font-size:1.1rem; font-weight:800; color:var(--navy); }
.property-meta-item .label { font-size:.75rem; color:var(--text-light); margin-top:2px; }
.property-description { line-height:1.75; color:var(--text-mid); margin-bottom:1.5rem; }
.gallery-heading { font-family:'Playfair Display',serif; color:var(--navy); margin-bottom:.5rem; }
.gallery-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(160px,1fr)); gap:8px; margin-top:1.5rem; }
.gallery-grid img { width:100%; height:120px; object-fit:cover; border-radius:4px; cursor:pointer; transition:opacity .15s; }
.gallery-grid img:hover { opacity:.85; }
.sidebar-card { background:#fff; border:1px solid #e8dfd0; border-radius:8px; padding:1.5rem; margin-bottom:1.25rem; box-shadow:0 2px 12px rgba(27,45,91,.07); }
.sidebar-card h3 { font-size:1rem; font-weight:700; margin:0 0 1rem; color:var(--navy); }
.sidebar-card-desc { font-size:.875rem; color:var(--text-mid); margin-bottom:.75rem; }
.sidebar-card--agent { text-align:center; }
.sidebar-agent-photo { width:80px; height:80px; object-fit:cover; border-radius:50%; display:block; }
.sidebar-agent-photo-link .sidebar-agent-photo { margin:0; }
.sidebar-agent-name { margin-bottom:.25rem; }
.sidebar-agent-name a { color:inherit; text-decoration:none; }
.sidebar-agent-name a:hover { text-decoration:underline; }
.sidebar-agent-photo-link { display:block; width:80px; margin-left:auto; margin-right:auto; margin-bottom:.75rem; }
.sidebar-agent-title { font-size:.85rem; color:var(--gold); font-weight:600; text-transform:uppercase; letter-spacing:.04em; }
.sidebar-agent-link { display:inline-block; margin-top:.75rem; font-size:.85rem; font-weight:600; color:var(--navy); text-decoration:none; }
.sidebar-agent-link:hover { text-decoration:underline; }
.contact-form-mini label { display:block; font-size:.8rem; font-weight:600; color:#4a4f66; margin-bottom:4px; }
.contact-form-mini input,
.contact-form-mini textarea,
.contact-form-mini select { width:100%; padding:9px 12px; border:1px solid #d0d5e8; border-radius:4px; font-size:.875rem; margin-bottom:12px; background:#faf7f2; font-family:inherit; }
.contact-form-mini input:focus,
.contact-form-mini textarea:focus { outline:none; border-color:var(--navy); background:#fff; }
.property-details-table { width:100%; font-size:.85rem; border-collapse:collapse; }
.property-details-table td { padding:5px 0; }
.property-details-table td:first-child { color:#6b7280; width:50%; }
.property-details-table td:last-child { font-weight:700; color:#1a1f36; }
.btn-block { width:100%; justify-content:center; text-align:center; display:flex; }
.btn-block + .btn-block { margin-top:8px; }
.btn-icon { width:16px; height:16px; fill:currentColor; }
.lightbox { display:none; position:fixed; inset:0; background:rgba(0,0,0,.92); z-index:9999; align-items:center; justify-content:center; }
.lightbox-img { max-width:88vw; max-height:88vh; object-fit:contain; border-radius:4px; user-select:none; }
.lightbox-close { position:absolute; top:16px; right:20px; background:none; border:none; color:#fff; font-size:2.4rem; line-height:1; cursor:pointer; opacity:.8; padding:4px 8px; }
.lightbox-close:hover { opacity:1; }
.lightbox-prev, .lightbox-next { position:absolute; top:50%; transform:translateY(-50%); background:rgba(0,0,0,.45); border:none; color:#fff; font-size:3rem; line-height:1; cursor:pointer; padding:12px 18px; border-radius:4px; display:flex; align-items:center; user-select:none; opacity:.75; transition:opacity .15s; }
.lightbox-prev:hover, .lightbox-next:hover { opacity:1; background:rgba(0,0,0,.7); }
.lightbox-prev { left:16px; }
.lightbox-next { right:16px; }
.lightbox-counter { position:absolute; bottom:16px; left:50%; transform:translateX(-50%); color:rgba(255,255,255,.75); font-size:.9rem; letter-spacing:.05em; pointer-events:none; }

/* meta item with smaller text (MLS #) */
.property-meta-item--mls { font-size:1rem; word-break:break-all; }

/* ── VIRTUAL TOUR / FLYOVER ── */
.property-tour-section { margin:2.5rem 0 0; }
.property-section-heading { font-family:'Playfair Display',serif; font-size:1.5rem; color:var(--navy); margin:0 0 1.25rem; }
.property-tour-embed { position:relative; padding-bottom:56.25%; height:0; overflow:hidden; border-radius:8px; }
.property-tour-embed iframe { position:absolute; inset:0; width:100%; height:100%; border:0; }

/* ── WHERE YOU'LL FIND IT ── */
.property-location-section { background:#f7f8fa; padding:4rem 1.5rem; border-top:1px solid #e8eaf0; }
.property-location-inner { max-width:1340px; margin:0 auto; }
.property-section-heading--centered { text-align:center; margin-bottom:2rem; }
.property-section-heading--centered::after { content:''; display:block; width:56px; height:3px; background:var(--green); margin:.75rem auto 0; border-radius:2px; }
.property-location-wrap { display:flex; align-items:center; gap:2rem; margin-bottom:2rem; flex-wrap:wrap; }
.property-location-table { border-collapse:collapse; flex:1; min-width:260px; }
.property-location-table tr { border-bottom:1px solid #e0e3eb; }
.property-location-table td { padding:.75rem 1rem; font-size:.95rem; color:#555; }
.property-location-table td:first-child { color:#888; white-space:nowrap; }
.property-location-table td:last-child strong { color:var(--navy); font-size:1.05rem; }
.property-map-embed { border-radius:12px; overflow:hidden; border:1px solid #e0e3eb; }
.property-map-embed iframe { display:block; width:100%; height:400px; border:0; }

@media (max-width:768px) {
  .property-detail-wrap { grid-template-columns:1fr; }
  .property-hero { height:280px; }
  .property-meta-grid { grid-template-columns:1fr 1fr; }
  .property-location-wrap { flex-direction:column; align-items:stretch; }
  .property-map-embed iframe { height:260px; }
}

/* ── AGENT PROFILE PAGE ── */
.agent-hero { position:relative; background:var(--navy); margin-top:88px; overflow:hidden; }
.agent-hero::before { content:''; position:absolute; top:-40%; right:-10%; width:600px; height:600px; border-radius:50%; background:radial-gradient(circle, rgba(196,30,58,0.1), transparent 65%); pointer-events:none; }
.agent-hero-inner { max-width:1340px; margin:0 auto; padding:3.5rem 1.5rem 3rem; display:flex; align-items:center; gap:3rem; position:relative; z-index:1; }
.agent-hero-photo { flex-shrink:0; width:180px; height:180px; border-radius:50%; overflow:hidden; border:4px solid rgba(255,255,255,0.15); box-shadow:0 8px 32px rgba(0,0,0,0.3); }
.agent-hero-photo img { width:100%; height:100%; object-fit:cover; }
.agent-hero-photo-placeholder { width:100%; height:100%; background:rgba(255,255,255,0.08); display:flex; align-items:center; justify-content:center; }
.agent-hero-photo-placeholder svg { width:80px; height:80px; fill:rgba(255,255,255,0.3); }
.agent-hero-text { color:#fff; }
.agent-hero-text .section-tag { color:rgba(255,255,255,0.5); margin-bottom:.75rem; display:block; }
.agent-hero-text h1 { font-family:'Playfair Display',serif; font-size:clamp(2rem, 5vw, 3rem); margin:0 0 .5rem; color:#fff; }
.agent-hero-title { font-size:.85rem; font-weight:700; letter-spacing:.1em; text-transform:uppercase; color:#fff; margin-bottom:1.5rem; }
.agent-hero-contact { display:flex; flex-wrap:wrap; gap:1rem; }
.agent-hero-contact a { display:inline-flex; align-items:center; gap:.4rem; color:rgba(255,255,255,0.85); text-decoration:none; font-size:.9rem; font-weight:500; background:rgba(255,255,255,0.1); border:1px solid rgba(255,255,255,0.15); padding:.45rem 1rem; border-radius:99px; transition:background .15s, color .15s; }
.agent-hero-contact a:hover { background:rgba(255,255,255,0.18); color:#fff; }
.agent-hero-contact a svg { width:15px; height:15px; fill:#fff; flex-shrink:0; }
.agent-body { background:#fff; }
.agent-body-inner { max-width:1340px; margin:0 auto; padding:3rem 1.5rem 4rem; display:grid; grid-template-columns:1fr 320px; gap:3rem; align-items:start; }
.agent-bio-section h2 { font-family:'Playfair Display',serif; font-size:1.4rem; color:var(--navy); margin:0 0 1rem; padding-bottom:.75rem; border-bottom:2px solid var(--sand); }
.agent-bio-text { color:var(--text-mid); line-height:1.8; font-size:1rem; }
.agent-listings-heading { margin-top:3rem; }
.agent-sidebar-card { background:var(--off-white); border:1px solid #e8dfd0; border-radius:10px; padding:1.5rem; margin-bottom:1.25rem; }
.agent-sidebar-card h3 { font-size:.75rem; font-weight:700; letter-spacing:.1em; text-transform:uppercase; color:var(--text-light); margin:0 0 1rem; }
.agent-sidebar-card p { font-size:.875rem; color:var(--text-mid); margin:0 0 1rem; line-height:1.6; }
.agent-sidebar-card--dark { background:var(--navy); border-color:transparent; }
.agent-sidebar-card--dark h3 { color:rgba(255,255,255,.5); }
.agent-listings-count { font-size:2rem; font-weight:800; color:#fff; line-height:1; }
.agent-listings-label { font-size:.8rem; color:rgba(255,255,255,.55); margin-top:.25rem; }
.agent-sidebar-contact-item { display:flex; align-items:center; gap:.75rem; padding:.65rem 0; border-bottom:1px solid #e8dfd0; text-decoration:none; color:var(--navy); font-weight:600; font-size:.9rem; transition:color .15s; }
.agent-sidebar-contact-item:last-child { border-bottom:none; }
.agent-sidebar-contact-item:hover { color:var(--red); }
.agent-sidebar-contact-item svg { width:18px; height:18px; fill:var(--red); flex-shrink:0; }
.agent-sidebar-back { display:flex; align-items:center; gap:.4rem; font-size:.85rem; font-weight:600; color:var(--text-mid); text-decoration:none; margin-bottom:1.5rem; transition:color .15s; }
.agent-sidebar-back:hover { color:var(--navy); }
.agent-sidebar-back svg { width:16px; height:16px; fill:currentColor; }
.agent-no-listings { padding:3rem 0; text-align:center; color:var(--text-mid); }
.agent-no-listings .btn { margin-top:1rem; }
@media (max-width:768px) {
  .agent-hero-inner { flex-direction:column; text-align:center; gap:1.5rem; }
  .agent-hero-contact { justify-content:center; }
  .agent-body-inner { grid-template-columns:1fr; }
  .agent-hero-photo { width:140px; height:140px; }
}


/* 2FA VERIFY PAGE */
.totp-verify-wrap { display:flex; justify-content:center; align-items:center; min-height:70vh; }
.totp-verify-card { width:100%; max-width:380px; }
.totp-verify-card-inner { padding:32px; }
.totp-verify-instructions { font-size:.9rem; color:#6b7280; margin-bottom:1rem; }
.totp-code-input { font-size:1.4rem; letter-spacing:.3em; text-align:center; }
.totp-remember-wrap { margin-top:12px; margin-bottom:0; }
.totp-verify-cancel { text-align:center; margin-top:16px; font-size:.85rem; }
.totp-verify-cancel a { color:#6b7280; }
