/* ==========================================================================
   Your Property Assistant — Elevated Southern Design System
   ========================================================================== */

:root {
  --forest: #2C3E2D;
  --forest-deep: #1E2B1F;
  --forest-mid: #384B39;
  --linen: #F9F8F5;
  --linen-warm: #F2EFE7;
  --surface: #FFFFFF;
  --sage-tint: #EEF2EA;
  --ink: #1F2421;
  --ink-muted: #4F5651;
  --brass: #C5A059;
  --brass-deep: #A6823B;
  --border: #E2DDD1;
  --shadow-sm: 0 2px 10px rgba(31, 36, 33, 0.05);
  --shadow-md: 0 12px 32px rgba(31, 36, 33, 0.08);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --font-serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --max-w: 1140px;
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background-color: var(--linen);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

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

/* Typography */
h1, h2, h3, .serif {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.18;
  color: var(--forest-deep);
  margin: 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brass-deep);
  margin-bottom: 14px;
}

.eyebrow::before {
  content: "";
  width: 24px;
  height: 1px;
  background: var(--brass);
}

.section-header {
  max-width: 680px;
  margin-bottom: 44px;
}

.section-header h2 {
  font-size: clamp(2rem, 3.6vw, 2.75rem);
  margin-bottom: 12px;
}

.section-header p {
  margin: 0;
  color: var(--ink-muted);
  font-size: 1.05rem;
}

.section {
  padding: 84px 0;
}

.section--alt {
  background-color: var(--linen-warm);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

/* Header & Navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(249, 248, 245, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-logo-badge {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px;
  box-shadow: var(--shadow-sm);
}

.brand-logo-badge img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-family: var(--font-serif);
  font-size: 1.32rem;
  font-weight: 700;
  color: var(--forest-deep);
  line-height: 1.1;
}

.brand-sub {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brass-deep);
  margin-top: 2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink-muted);
  transition: color 0.18s ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--forest);
}

.nav-cta {
  padding: 9px 18px;
  border-radius: 999px;
  background: var(--forest);
  color: var(--linen) !important;
  font-weight: 500;
}

.nav-cta:hover {
  background: var(--forest-deep);
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 8px 10px;
  cursor: pointer;
  color: var(--forest-deep);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.15s ease, background-color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background: var(--forest);
  color: var(--linen);
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  background: var(--forest-deep);
  box-shadow: var(--shadow-md);
}

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

.btn-outline:hover {
  background: var(--sage-tint);
}

.btn-brass {
  background: var(--brass);
  color: var(--forest-deep);
  font-weight: 600;
}

.btn-brass:hover {
  background: #D4B26F;
}

/* Hero */
.hero {
  padding: 76px 0 84px;
  background:
    radial-gradient(circle at 85% 15%, rgba(197, 160, 89, 0.12), transparent 45%),
    linear-gradient(180deg, var(--linen) 0%, var(--linen-warm) 100%);
  border-bottom: 1px solid var(--border);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.hero-quote-tag {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.2rem;
  color: var(--forest-mid);
  margin: 0 0 10px;
}

.hero h1 {
  font-size: clamp(2.5rem, 4.8vw, 3.65rem);
  letter-spacing: -0.01em;
  margin-bottom: 20px;
}

.hero-lead {
  font-size: 1.1rem;
  color: var(--ink-muted);
  max-width: 580px;
  margin: 0 0 30px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-md);
  position: relative;
}

.hero-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 32px;
  right: 32px;
  height: 3px;
  background: linear-gradient(90deg, var(--brass), var(--forest));
  border-radius: 0 0 3px 3px;
}

.hero-card-header {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 22px;
}

.hero-card-header img {
  width: 52px;
  height: 52px;
  object-fit: contain;
}

.hero-card-title {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--forest-deep);
}

.hero-card-subtitle {
  font-size: 0.85rem;
  color: var(--ink-muted);
}

.stat-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.stat-item {
  padding: 14px;
  border-radius: var(--radius-sm);
  background: var(--linen);
  border: 1px solid var(--border);
}

.stat-value {
  font-family: var(--font-serif);
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--forest);
  line-height: 1.1;
}

.stat-label {
  font-size: 0.82rem;
  color: var(--ink-muted);
  margin-top: 4px;
}

/* The 3rd Option Comparison */
.option-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.option-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
}

.option-card--featured {
  background: var(--forest-deep);
  color: var(--linen);
  border-color: var(--forest-deep);
  box-shadow: var(--shadow-md);
  position: relative;
}

.option-badge {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--sage-tint);
  color: var(--forest);
  margin-bottom: 14px;
}

.option-card--featured .option-badge {
  background: var(--brass);
  color: var(--forest-deep);
}

.option-card h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.option-card--featured h3 {
  color: var(--linen);
}

.option-card p {
  margin: 0 0 16px;
  font-size: 0.95rem;
  color: var(--ink-muted);
}

.option-card--featured p {
  color: rgba(249, 248, 245, 0.85);
}

.option-list {
  margin: auto 0 0;
  padding: 16px 0 0;
  border-top: 1px solid var(--border);
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.9rem;
}

.option-card--featured .option-list {
  border-top-color: rgba(249, 248, 245, 0.18);
}

.option-list li {
  display: flex;
  gap: 8px;
  align-items: baseline;
}

.option-list li::before {
  content: "•";
  color: var(--brass-deep);
  font-weight: 700;
}

.option-card--featured .option-list li::before {
  content: "✓";
  color: var(--brass);
}

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.service-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.service-num {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--brass-deep);
  margin-bottom: 8px;
}

.service-card h3 {
  font-size: 1.38rem;
  margin-bottom: 10px;
}

.service-card p {
  margin: 0;
  font-size: 0.94rem;
  color: var(--ink-muted);
}

/* Promise Band */
.promise-band {
  background: var(--forest);
  color: var(--linen);
  padding: 80px 0;
  position: relative;
}

.promise-inner {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}

.promise-band .eyebrow {
  color: var(--brass);
}

.promise-band .eyebrow::before {
  background: var(--brass);
}

.promise-quote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.85rem, 3.6vw, 2.65rem);
  line-height: 1.25;
  color: var(--linen);
  margin: 0 0 22px;
}

.promise-copy {
  font-size: 1.05rem;
  color: rgba(249, 248, 245, 0.86);
  max-width: 680px;
  margin: 0 auto;
}

.promise-rule {
  width: 64px;
  height: 2px;
  background: var(--brass);
  margin: 26px auto 0;
}

/* Principals */
.principals-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.principal-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 30px;
  display: flex;
  gap: 24px;
  align-items: flex-start;
  box-shadow: var(--shadow-sm);
}

.principal-avatar {
  width: 112px;
  height: 112px;
  border-radius: 50%;
  flex-shrink: 0;
  overflow: hidden;
  border: 2px solid var(--brass);
  background: var(--linen-warm);
  box-shadow: var(--shadow-sm);
}

.principal-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
}

.principal-monogram {
  width: 112px;
  height: 112px;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--forest-deep);
  color: var(--brass);
  border: 2px solid var(--brass);
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.principal-role {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--brass-deep);
  margin-bottom: 6px;
}

.principal-info h3 {
  font-size: 1.65rem;
  margin-bottom: 8px;
}

.principal-info p {
  margin: 0;
  font-size: 0.94rem;
  color: var(--ink-muted);
}

.placeholder-note {
  display: inline-block;
  margin-top: 10px;
  font-size: 0.8rem;
  font-style: italic;
  color: var(--brass-deep);
}

/* Rentals & Contact Split */
.cta-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.feature-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 36px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.feature-panel h2 {
  font-size: 2rem;
  margin-bottom: 12px;
}

.feature-panel p {
  margin: 0 0 24px;
  color: var(--ink-muted);
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: auto;
}

.copy-status {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--forest);
  margin-top: 12px;
  min-height: 1.2em;
}

.mailing-line {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  font-size: 0.86rem;
  color: var(--ink-muted);
}

/* Footer */
.site-footer {
  background: var(--forest-deep);
  color: rgba(249, 248, 245, 0.82);
  padding: 52px 0 40px;
  font-size: 0.88rem;
}

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(249, 248, 245, 0.14);
}

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

.footer-logo-wrap {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--linen);
  padding: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.footer-logo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.footer-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--linen);
}

.footer-subtitle {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brass);
}

.footer-legal {
  max-width: 560px;
  line-height: 1.6;
}

.footer-legal strong {
  color: var(--linen);
}

.footer-bottom {
  padding-top: 22px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  font-size: 0.82rem;
  color: rgba(249, 248, 245, 0.65);
}

.eho-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(249, 248, 245, 0.85);
}

/* Responsive Breakpoints */
@media (max-width: 980px) {
  .hero-grid,
  .option-grid,
  .services-grid,
  .principals-grid,
  .cta-split {
    grid-template-columns: 1fr;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 780px) {
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: var(--linen);
    border-bottom: 1px solid var(--border);
    padding: 18px 24px 24px;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    box-shadow: var(--shadow-md);
  }

  .nav-links.is-open {
    display: flex;
  }

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

  .principal-card {
    flex-direction: column;
    align-items: flex-start;
  }

  .section {
    padding: 60px 0;
  }

  .hero {
    padding: 48px 0 56px;
  }

  .stat-list {
    grid-template-columns: 1fr;
  }
}
