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

:root {
  --green-dark: #2d5016;
  --green: #4a7c2e;
  --green-light: #6a9f4a;
  --green-pale: #e8f0e0;
  --cream: #faf9f6;
  --white: #ffffff;
  --gray-50: #f8f8f7;
  --gray-100: #f0efed;
  --gray-200: #dddbd6;
  --gray-400: #a8a49c;
  --gray-600: #6b6860;
  --gray-800: #3a3832;
  --gray-900: #1a1918;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
  --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
  --radius: 12px;
  --radius-sm: 8px;
  --nav-height: 64px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--gray-800);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  padding-top: var(--nav-height);
}

/* ==============================
   NAV BAR
   ============================== */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  z-index: 1000;
  display: flex;
  align-items: center;
}

.nav-inner {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--green-dark);
  text-decoration: none;
  letter-spacing: -0.02em;
}

.nav-logo span {
  color: var(--green-light);
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 8px;
}

.nav-link {
  text-decoration: none;
  color: var(--gray-600);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 8px;
  transition: all 0.15s ease;
}

.nav-link:hover {
  color: var(--gray-800);
  background: var(--gray-100);
}

.nav-link.active {
  color: var(--green-dark);
  background: var(--green-pale);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--gray-800);
  border-radius: 2px;
  transition: all 0.2s ease;
}

/* ==============================
   PAGES
   ============================== */
.page {
  display: none;
  animation: fadeIn 0.3s ease;
}

.page.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ==============================
   HERO (Home page)
   ============================== */
.hero {
  position: relative;
  background: linear-gradient(150deg, #111f09 0%, #1e3a0d 45%, #2d5016 100%);
  color: var(--white);
  text-align: left;
  padding: 100px 24px;
  min-height: calc(100vh - var(--nav-height));
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.025'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 680px;
  width: 100%;
}

.hero-eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #a8d98a;
  margin-bottom: 16px;
}

.hero h1 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2.6rem, 6vw, 4rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 24px;
}

.hero .accent {
  color: #a8d98a;
}

.hero-sub {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.8);
  margin-bottom: 36px;
  max-width: 520px;
  line-height: 1.7;
}

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

.hero-note {
  margin-top: 20px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.4);
}

/* Ghost button for hero */
.btn-ghost {
  display: inline-block;
  background: transparent;
  color: rgba(255,255,255,0.85);
  font-family: inherit;
  font-size: 1rem;
  font-weight: 500;
  padding: 13px 28px;
  border: 2px solid rgba(255,255,255,0.3);
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-ghost:hover {
  border-color: rgba(255,255,255,0.7);
  color: var(--white);
}

.btn-ghost-dark {
  display: inline-block;
  background: transparent;
  color: var(--green-dark);
  font-family: inherit;
  font-size: 1rem;
  font-weight: 500;
  padding: 13px 28px;
  border: 2px solid var(--green);
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-ghost-dark:hover {
  background: var(--green-pale);
}

.btn-large {
  font-size: 1.1rem;
  padding: 16px 44px;
}

/* ==============================
   HOME PAGE SECTIONS
   ============================== */
.home-section {
  padding: 80px 24px;
}

.section-inner {
  max-width: 960px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.section-label {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--green);
  margin-bottom: 12px;
}

.section-text h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.9rem;
  line-height: 1.3;
  margin-bottom: 16px;
  color: var(--gray-900);
}

.section-text p {
  font-size: 0.95rem;
  color: var(--gray-600);
  line-height: 1.8;
  margin-bottom: 14px;
}

.section-text p em {
  color: var(--gray-800);
  font-style: normal;
  font-weight: 600;
}

/* Stats block */
.section-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.stat {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow-md);
  text-align: center;
  border-top: 4px solid var(--green);
}

.stat-number {
  display: block;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--green-dark);
  line-height: 1;
  margin-bottom: 6px;
}

.stat-label {
  display: block;
  font-size: 0.8rem;
  color: var(--gray-400);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* Why OC section bg */
.why-oc {
  background: var(--cream);
}

/* ==============================
   QUIZ CTA SECTION
   ============================== */
.quiz-cta-section {
  background: var(--white);
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
}

.quiz-cta-inner {
  max-width: 620px;
  margin: 0 auto;
  text-align: center;
}

.quiz-cta-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--green-dark);
  background: var(--green-pale);
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 20px;
}

.quiz-cta-inner h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2rem;
  margin-bottom: 14px;
  color: var(--gray-900);
}

.quiz-cta-inner p {
  font-size: 1rem;
  color: var(--gray-600);
  line-height: 1.7;
  margin-bottom: 28px;
}

.quiz-preview-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 32px;
}

.chip {
  display: inline-block;
  font-size: 0.85rem;
  padding: 6px 16px;
  background: var(--gray-100);
  color: var(--gray-600);
  border-radius: 20px;
  font-weight: 500;
}

.quiz-cta-note {
  margin-top: 14px;
  font-size: 0.82rem;
  color: var(--gray-400);
}

/* ==============================
   AGENT INTRO SECTION
   ============================== */
.agent-intro-section {
  background: var(--cream);
}

.agent-inner {
  align-items: start;
}

.agent-intro-text h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.9rem;
  line-height: 1.3;
  margin-bottom: 16px;
  color: var(--gray-900);
}

.agent-intro-text p {
  font-size: 0.95rem;
  color: var(--gray-600);
  line-height: 1.8;
  margin-bottom: 14px;
}

.agent-intro-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
  margin-bottom: 16px;
}

.agent-license {
  font-size: 0.78rem;
  color: var(--gray-400);
  margin-top: 4px !important;
}

.agent-intro-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px 32px;
  box-shadow: var(--shadow-lg);
  border-left: 5px solid var(--green);
  text-align: center;
}

.agent-card-icon {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.agent-intro-card blockquote {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--gray-800);
  font-style: italic;
  margin-bottom: 16px;
}

.agent-intro-card cite {
  font-size: 0.85rem;
  color: var(--gray-400);
  font-style: normal;
}

/* ==============================
   CTA STRIP
   ============================== */
.cta-strip {
  background: linear-gradient(135deg, #1e3a0d 0%, #2d5016 100%);
  padding: 64px 24px;
}

.cta-strip-inner {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.cta-strip-inner h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2rem;
  color: var(--white);
  margin-bottom: 28px;
}

.cta-strip-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ==============================
   BUTTONS
   ============================== */
.btn-primary {
  display: inline-block;
  background: var(--white);
  color: var(--green-dark);
  font-family: inherit;
  font-size: 1.05rem;
  font-weight: 600;
  padding: 14px 40px;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-lg);
}

.btn-primary:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  transform: none;
}

.quiz-section .btn-primary,
.quiz-intro .btn-primary,
.about-section .btn-primary {
  background: var(--green);
  color: var(--white);
}

.quiz-section .btn-primary:hover:not(:disabled),
.quiz-intro .btn-primary:hover:not(:disabled),
.about-section .btn-primary:hover:not(:disabled) {
  background: var(--green-dark);
}

.btn-secondary {
  display: inline-block;
  background: transparent;
  color: var(--gray-600);
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 500;
  padding: 12px 28px;
  border: 2px solid var(--gray-200);
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-secondary:hover {
  border-color: var(--gray-400);
  color: var(--gray-800);
}

.btn-contact, .btn-contact-lg {
  display: inline-block;
  text-decoration: none;
  color: var(--green-dark);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 10px 20px;
  border: 2px solid var(--green);
  border-radius: 50px;
  transition: all 0.2s ease;
}

.btn-contact:hover, .btn-contact-lg:hover {
  background: var(--green);
  color: var(--white);
}

.btn-contact-lg {
  font-size: 1.05rem;
  padding: 14px 28px;
}

/* Back button (top of quiz) */
.btn-back-top {
  background: none;
  border: none;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--green-dark);
  cursor: pointer;
  padding: 8px 16px;
  border-radius: 8px;
  transition: all 0.15s ease;
  margin-bottom: 8px;
}

.btn-back-top:hover {
  background: var(--green-pale);
}

/* ==============================
   QUIZ PAGE BACKGROUND
   ============================== */
#page-quiz {
  background-color: #f4f7f0;
}

/* ==============================
   QUIZ PAGE BANNER
   ============================== */
.quiz-page-banner {
  background: linear-gradient(150deg, #111f09 0%, #1e3a0d 50%, #2d5016 100%);
  color: var(--white);
  padding: 72px 24px;
  text-align: center;
}

.quiz-page-banner-inner {
  max-width: 600px;
  margin: 0 auto;
}

.quiz-page-eyebrow {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #a8d98a;
  margin-bottom: 16px;
}

.quiz-page-banner h1 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 16px;
}

.quiz-page-banner p {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.8);
  margin-bottom: 32px;
  line-height: 1.65;
}

.btn-white-outline {
  display: inline-block;
  background: transparent;
  color: var(--white);
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  padding: 13px 36px;
  border: 2px solid rgba(255,255,255,0.6);
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-white-outline:hover {
  background: rgba(255,255,255,0.12);
  border-color: var(--white);
}

/* ==============================
   HOW IT WORKS
   ============================== */
.how-it-works {
  padding: 64px 24px;
  background: #f4f7f0;
}

.how-it-works-inner {
  max-width: 680px;
  margin: 0 auto;
}

.how-it-works h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.7rem;
  text-align: center;
  margin-bottom: 40px;
  color: var(--gray-900);
}

.steps {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-bottom: 44px;
}

.step {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px 28px;
  box-shadow: var(--shadow-sm);
}

.step-number {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  background: var(--green);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  margin-top: 2px;
}

.step-text h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: 4px;
}

.step-text p {
  font-size: 0.9rem;
  color: var(--gray-600);
  line-height: 1.6;
}

.how-cta {
  text-align: center;
}

.how-note {
  margin-top: 12px;
  font-size: 0.8rem;
  color: var(--gray-400);
}

/* ==============================
   QUIZ INTRO (legacy — keep for fallback)
   ============================== */
.quiz-intro {
  min-height: auto;
  display: block;
  padding: 0;
  text-align: left;
}

.quiz-intro-content {
  max-width: 540px;
}

.quiz-intro-content h1 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2.4rem;
  margin-bottom: 16px;
}

.quiz-intro-content p {
  font-size: 1.05rem;
  color: var(--gray-600);
  margin-bottom: 32px;
  line-height: 1.7;
}

/* ==============================
   QUIZ ACTIVE
   ============================== */
.quiz-section {
  min-height: calc(100vh - var(--nav-height));
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
}

.quiz-container {
  width: 100%;
  max-width: 600px;
}

.quiz-top-bar {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 4px;
}

.progress-bar {
  flex: 1;
  height: 6px;
  background: var(--gray-200);
  border-radius: 3px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: var(--green);
  border-radius: 3px;
  transition: width 0.3s ease;
  width: 0%;
}

.question-count {
  font-size: 0.85rem;
  color: var(--gray-400);
  margin-bottom: 32px;
}

.question-card {
  animation: fadeIn 0.3s ease;
}

.question-card h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: 8px;
}

.question-card p.question-desc {
  font-size: 0.9rem;
  color: var(--gray-600);
  margin-bottom: 24px;
}

/* Option buttons */
.options {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: var(--white);
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.15s ease;
  font-size: 0.95rem;
  color: var(--gray-800);
  text-align: left;
}

.option:hover {
  border-color: var(--green-light);
  background: var(--green-pale);
}

.option.selected {
  border-color: var(--green);
  background: var(--green-pale);
  font-weight: 500;
}

.option .option-icon {
  font-size: 1.3rem;
  flex-shrink: 0;
  width: 28px;
  text-align: center;
}

/* Quiz nav */
.quiz-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 36px;
  gap: 12px;
}

.quiz-nav .btn-primary {
  margin-left: auto;
}

/* ==============================
   LOADING
   ============================== */
.loading-section {
  min-height: calc(100vh - var(--nav-height));
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
  text-align: center;
}

.loading-content h2 {
  font-family: 'Playfair Display', Georgia, serif;
  margin-top: 24px;
  margin-bottom: 8px;
}

.loading-content p {
  color: var(--gray-600);
}

.spinner {
  width: 48px;
  height: 48px;
  border: 4px solid var(--gray-200);
  border-top-color: var(--green);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin: 0 auto;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ==============================
   RESULTS
   ============================== */
.results-section {
  padding: 60px 24px 40px;
}

.results-container {
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
}

.results-heading {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2rem;
  text-align: center;
  margin-bottom: 8px;
}

.results-sub {
  text-align: center;
  color: var(--gray-600);
  margin-bottom: 40px;
}

/* Result cards */
.result-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 32px;
  margin-bottom: 20px;
  animation: fadeIn 0.4s ease;
  animation-fill-mode: backwards;
  border-left: 5px solid var(--green);
}

.result-card:nth-child(1) { animation-delay: 0.1s; }
.result-card:nth-child(2) { animation-delay: 0.25s; }
.result-card:nth-child(3) { animation-delay: 0.4s; }

.result-rank {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--green);
  margin-bottom: 8px;
}

.result-card h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.5rem;
  margin-bottom: 2px;
}

.result-tagline {
  color: var(--gray-600);
  font-size: 0.9rem;
  font-style: italic;
  margin-bottom: 16px;
}

.result-description {
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 20px;
}

.result-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 20px;
}

.meta-item {
  font-size: 0.85rem;
}

.meta-label {
  color: var(--gray-400);
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 2px;
}

.meta-value {
  font-weight: 600;
  color: var(--gray-800);
}

.result-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.highlight-tag {
  display: inline-block;
  font-size: 0.8rem;
  padding: 4px 12px;
  background: var(--green-pale);
  color: var(--green-dark);
  border-radius: 20px;
  font-weight: 500;
}

.match-score {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--white);
  background: var(--green);
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 12px;
  margin-left: 8px;
}

.result-actions {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--gray-100);
}

.result-agent-nudge {
  font-size: 0.88rem;
  color: var(--gray-600);
  margin-bottom: 12px;
}

.result-agent-nudge a {
  color: var(--green-dark);
  font-weight: 600;
  text-decoration: none;
}

.result-agent-nudge a:hover {
  text-decoration: underline;
}

.btn-browse {
  display: inline-block;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--green-dark);
  background: var(--green-pale);
  padding: 10px 20px;
  border-radius: 8px;
  transition: all 0.15s ease;
}

.btn-browse:hover {
  background: var(--green);
  color: var(--white);
}

/* ==============================
   CTA / AGENT CARD
   ============================== */
.cta-card {
  margin-top: 40px;
  margin-bottom: 32px;
}

.cta-inner {
  background: var(--white);
  border: 2px solid var(--green);
  border-radius: var(--radius);
  padding: 36px 32px;
  text-align: center;
}

.cta-inner h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.4rem;
  margin-bottom: 12px;
}

.cta-inner > p {
  color: var(--gray-600);
  font-size: 0.95rem;
  max-width: 520px;
  margin: 0 auto 24px;
  line-height: 1.7;
}

.agent-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.agent-details {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.agent-details strong {
  font-size: 1.1rem;
  color: var(--gray-900);
}

.agent-details span {
  font-size: 0.85rem;
  color: var(--gray-600);
}

.agent-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

/* ==============================
   ABOUT PAGE
   ============================== */
.about-section {
  padding: 60px 24px;
  min-height: calc(100vh - var(--nav-height));
}

.about-inner {
  max-width: 680px;
  margin: 0 auto;
}

.about-inner h1 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2.2rem;
  margin-bottom: 32px;
}

.about-inner h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.3rem;
  margin-top: 32px;
  margin-bottom: 12px;
}

.about-content p {
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--gray-600);
  margin-bottom: 16px;
}

.about-cta {
  margin-top: 36px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* ==============================
   CONTACT PAGE
   ============================== */
.contact-section {
  padding: 60px 24px;
  min-height: calc(100vh - var(--nav-height));
  background: #f4f7f0;
}

.contact-inner-wide {
  max-width: 960px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 60px;
  align-items: start;
}

.contact-left h1 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2.2rem;
  margin-bottom: 12px;
}

.contact-sub {
  color: var(--gray-600);
  margin-bottom: 36px;
  font-size: 1rem;
  line-height: 1.7;
}

.contact-direct {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}

.contact-direct-label {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gray-400);
  margin-bottom: 4px;
}

.contact-agent-block {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding-top: 24px;
  border-top: 1px solid var(--gray-200);
}

.contact-agent-block strong {
  font-size: 1rem;
  color: var(--gray-900);
}

.contact-agent-block span {
  font-size: 0.82rem;
  color: var(--gray-400);
}

/* Contact form */
.contact-form {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow-md);
}

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

.form-group label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--gray-800);
}

.optional {
  font-weight: 400;
  color: var(--gray-400);
}

.form-group input,
.form-group textarea {
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--gray-800);
  background: var(--gray-50);
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-sm);
  padding: 11px 14px;
  transition: border-color 0.15s ease;
  outline: none;
  width: 100%;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--green);
  background: var(--white);
}

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

.btn-submit {
  width: 100%;
  background: var(--green);
  color: var(--white);
  font-size: 1rem;
  padding: 14px;
  border-radius: var(--radius-sm);
  margin-top: 4px;
}

.btn-submit:hover {
  background: var(--green-dark);
}

.form-note {
  text-align: center;
  font-size: 0.8rem;
  color: var(--gray-400);
  margin-top: 10px;
}

.form-success {
  background: var(--white);
  border-radius: var(--radius);
  padding: 48px 36px;
  box-shadow: var(--shadow-md);
  text-align: center;
}

.form-success-icon {
  width: 52px;
  height: 52px;
  background: var(--green);
  color: var(--white);
  border-radius: 50%;
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.form-success h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.4rem;
  margin-bottom: 8px;
}

.form-success p {
  color: var(--gray-600);
  font-size: 0.95rem;
}

/* ==============================
   FOOTER
   ============================== */
footer {
  background: var(--gray-900);
  color: var(--gray-400);
  padding: 32px 24px;
  text-align: center;
  font-size: 0.85rem;
}

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

.footer-nav {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 20px;
}

.footer-nav a {
  color: var(--gray-400);
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.15s;
}

.footer-nav a:hover {
  color: var(--white);
}

.footer-social {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 20px;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-400);
  transition: color 0.15s ease;
}

.social-link:hover {
  color: var(--white);
}

footer p {
  margin-bottom: 8px;
}

.fair-housing {
  font-size: 0.78rem;
  color: var(--gray-600);
  max-width: 520px;
  margin: 0 auto 8px;
  line-height: 1.5;
}

.disclaimer {
  font-size: 0.75rem;
  color: var(--gray-600);
  line-height: 1.5;
}

/* ==============================
   RETAKE
   ============================== */
.retake {
  display: block;
  margin: 0 auto;
}

/* ==============================
   RESPONSIVE
   ============================== */
@media (max-width: 768px) {
  .section-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .section-stats {
    grid-template-columns: 1fr 1fr;
  }

  .hero {
    text-align: center;
    padding: 70px 24px;
  }

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

  .agent-inner {
    gap: 32px;
  }
}

@media (max-width: 860px) {
  .contact-inner-wide {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

@media (max-width: 600px) {
  .hamburger {
    display: flex;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: var(--nav-height);
    right: 0;
    width: 220px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-top: none;
    border-radius: 0 0 0 var(--radius);
    flex-direction: column;
    padding: 8px 12px 16px;
    gap: 4px;
    box-shadow: var(--shadow-lg);
  }

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

  .nav-links li {
    width: 100%;
  }

  .nav-link {
    display: block;
    width: 100%;
    padding: 12px 16px;
    font-size: 1rem;
  }

  .hero {
    padding: 60px 20px;
  }

  .quiz-container {
    padding: 0 4px;
  }

  .result-card {
    padding: 24px 20px;
  }

  .result-meta {
    grid-template-columns: 1fr;
  }

  .cta-inner {
    padding: 28px 20px;
  }

  .agent-contact {
    flex-direction: column;
    align-items: stretch;
  }

  .btn-contact, .btn-contact-lg {
    text-align: center;
  }

  .about-cta {
    flex-direction: column;
  }
}
