/* ============================================================
   MAKE LEGACY GROUP — Design System
   Colors: Navy #1B2948 | Green #4A7835 | Gold #C4913A
   Fonts: Cinzel (headlines) | Raleway (body)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;500;600;700;800;900&family=Raleway:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400&display=swap');

/* ── Design Tokens ─────────────────────────────────────────── */
:root {
  --navy:        #1B2948;
  --navy-dark:   #131E35;
  --navy-mid:    #243558;
  --navy-light:  #2E4270;
  --green:       #4A7835;
  --green-dark:  #3A5F28;
  --green-light: #5A9040;
  --gold:        #C4913A;
  --gold-dark:   #9E7228;
  --gold-light:  #D4A84A;
  --gold-pale:   #F0E0B8;
  --white:       #FFFFFF;
  --off-white:   #F8F6F2;
  --cream:       #F2EDE5;
  --gray-light:  #ECEAE5;
  --gray-mid:    #C8C4BC;
  --gray-dark:   #7A7670;
  --text-dark:   #1A1A1A;
  --text-body:   #3D3A35;
  --text-muted:  #6B6760;

  --font-head:   'Cinzel', 'Georgia', serif;
  --font-body:   'Raleway', 'Arial', sans-serif;

  --radius-sm:   4px;
  --radius-md:   8px;
  --radius-lg:   16px;
  --radius-xl:   24px;

  --shadow-sm:   0 2px 8px rgba(27,41,72,0.10);
  --shadow-md:   0 4px 20px rgba(27,41,72,0.15);
  --shadow-lg:   0 8px 40px rgba(27,41,72,0.20);

  --transition:  0.25s ease;
  --max-width:   1200px;
}

/* ── Reset ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-body);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: var(--font-body); }
input, textarea, select {
  font-family: var(--font-body);
  font-size: 15px;
}

/* ── Typography ────────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.2;
  color: var(--navy);
}

.make-wordmark {
  font-family: var(--font-head);
  font-weight: 900;
  letter-spacing: 0.08em;
  color: var(--white);
  font-size: 2rem;
  line-height: 1;
}
.make-wordmark .legacy {
  font-weight: 400;
  color: var(--gold);
  font-size: 0.55em;
  letter-spacing: 0.2em;
  display: block;
  text-transform: uppercase;
}

.section-label {
  font-family: var(--font-head);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-head);
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 16px;
}

.section-title.light { color: var(--white); }
.section-title.gold  { color: var(--gold); }

.section-subtitle {
  font-size: 1.05rem;
  font-weight: 400;
  color: var(--text-muted);
  max-width: 640px;
  line-height: 1.75;
}

.section-subtitle.light { color: rgba(255,255,255,0.80); }

/* Gold rule — decorative divider like the logo */
.gold-rule {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}
.gold-rule span {
  font-family: var(--font-head);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}
.gold-rule::before, .gold-rule::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--gold);
  opacity: 0.5;
}
.gold-rule.light::before, .gold-rule.light::after { background: rgba(255,255,255,0.4); }
.gold-rule.light span { color: rgba(255,255,255,0.8); }

/* ── Layout Utilities ──────────────────────────────────────── */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 80px 0;
}
.section-sm { padding: 56px 0; }
.section-lg { padding: 112px 0; }

.section-navy  { background: var(--navy); }
.section-dark  { background: var(--navy-dark); }
.section-cream { background: var(--cream); }
.section-off   { background: var(--off-white); }
.section-white { background: var(--white); }
.section-green { background: var(--green); }

.text-center { text-align: center; }
.text-left   { text-align: left; }

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

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

@media (max-width: 900px) {
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .section { padding: 56px 0; }
  .section-lg { padding: 72px 0; }
}

/* ── Buttons ───────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: var(--radius-sm);
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn-gold {
  background: var(--gold);
  color: var(--white);
}
.btn-gold:hover {
  background: var(--gold-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-white {
  background: var(--white);
  color: var(--navy);
}
.btn-white:hover {
  background: var(--off-white);
  transform: translateY(-1px);
}

.btn-navy {
  background: var(--navy);
  color: var(--white);
}
.btn-navy:hover {
  background: var(--navy-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-outline-gold {
  background: transparent;
  color: var(--gold);
  border: 1.5px solid var(--gold);
}
.btn-outline-gold:hover {
  background: var(--gold);
  color: var(--white);
}

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

.btn-green {
  background: var(--green);
  color: var(--white);
}
.btn-green:hover {
  background: var(--green-dark);
  transform: translateY(-1px);
}

.btn-lg { padding: 16px 36px; font-size: 0.82rem; }
.btn-sm { padding: 9px 20px; font-size: 0.72rem; }

.btn-group {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* ── Navigation ────────────────────────────────────────────── */
#main-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: var(--navy-dark);
  border-bottom: 1px solid rgba(196,145,58,0.25);
  transition: all var(--transition);
}

#main-nav.scrolled {
  background: rgba(19,30,53,0.97);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}

.nav-logo img {
  height: 64px;
  width: auto;
}

.nav-logo-text {
  font-family: var(--font-head);
  line-height: 1;
}

.nav-logo-text .make {
  font-size: 1.2rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  color: var(--white);
  display: block;
}

.nav-logo-text .legacy {
  font-size: 0.6rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  color: var(--gold);
  display: block;
  text-transform: uppercase;
  margin-top: 2px;
}

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

.nav-links a {
  font-family: var(--font-head);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.80);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  white-space: nowrap;
}

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

/* Dropdown */
.nav-dropdown {
  position: relative;
}
.nav-dropdown > a::after {
  content: ' ▾';
  font-size: 0.6em;
  opacity: 0.7;
}
.dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--navy-dark);
  border: 1px solid rgba(196,145,58,0.2);
  border-radius: var(--radius-md);
  min-width: 200px;
  padding: 8px 0;
  opacity: 0;
  pointer-events: none;
  transition: all var(--transition);
  box-shadow: var(--shadow-lg);
}
.nav-dropdown:hover .dropdown-menu,
.nav-dropdown:focus-within .dropdown-menu {
  opacity: 1;
  pointer-events: all;
  top: calc(100% + 4px);
}
.dropdown-menu a {
  display: block;
  padding: 10px 20px;
  font-size: 0.68rem;
  border-radius: 0;
  border-left: 2px solid transparent;
}
.dropdown-menu a:hover {
  border-left-color: var(--gold);
  background: rgba(196,145,58,0.08);
}

.nav-cta {
  margin-left: 8px;
}

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}
.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition);
}

/* Mobile Nav */
.nav-mobile {
  display: none;
  flex-direction: column;
  background: var(--navy-dark);
  border-top: 1px solid rgba(196,145,58,0.2);
  padding: 16px 24px 24px;
  gap: 4px;
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.80);
  padding: 11px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: color var(--transition);
}
.nav-mobile a:hover { color: var(--gold); }
.nav-mobile a.mobile-cta {
  margin-top: 12px;
  background: var(--gold);
  color: var(--white);
  text-align: center;
  padding: 13px;
  border-radius: var(--radius-sm);
  border-bottom: none;
}

@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
}

/* ── Hero ──────────────────────────────────────────────────── */
.hero {
  position: relative;
  background-color: var(--navy-dark);
  background-image: url('../images/Hero Page.png');
  background-size: cover;
  background-position: center 40px;
  background-repeat: no-repeat;
  padding: 160px 0 100px;
  overflow: hidden;
}

.hero-bg-pattern {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right,
      rgba(19,30,53,0.92) 0%,
      rgba(19,30,53,0.80) 40%,
      rgba(19,30,53,0.30) 70%,
      rgba(19,30,53,0.06) 100%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: flex-start;
}

.hero-content {
  max-width: 560px;
  width: 100%;
}

.hero-logo-icon {
  height: 110px;
  width: auto;
  margin-bottom: 20px;
  display: block;
}

.hero-eyebrow {
  font-family: var(--font-head);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.hero-eyebrow::before {
  content: '';
  width: 32px;
  height: 1px;
  background: var(--gold);
}

.hero-title {
  font-family: var(--font-head);
  font-size: clamp(2.2rem, 5.5vw, 4rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.12;
  margin-bottom: 24px;
  max-width: 760px;
}
.hero-title .gold { color: var(--gold); }
.hero-title .green { color: #7AC55A; }

.hero-subtitle {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.75);
  max-width: 560px;
  margin-bottom: 40px;
  line-height: 1.75;
}

.hero-tagline {
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.50);
  margin-top: 48px;
}

/* ── Stat Bar ──────────────────────────────────────────────── */
.stat-bar {
  background: rgba(196,145,58,0.12);
  border-top: 1px solid rgba(196,145,58,0.25);
  border-bottom: 1px solid rgba(196,145,58,0.25);
  padding: 28px 0;
}
.stat-bar .container {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 24px;
}
.stat-item {
  text-align: center;
  flex: 1;
  min-width: 140px;
}
.stat-number {
  font-family: var(--font-head);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--gold);
  display: block;
  line-height: 1;
  margin-bottom: 4px;
}
.stat-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.60);
}

/* ── Cards ─────────────────────────────────────────────────── */
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  border: 1px solid var(--gray-light);
}
.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.card-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 1.5rem;
}
.icon-navy { background: rgba(27,41,72,0.1); }
.icon-green { background: rgba(74,120,53,0.1); }
.icon-gold  { background: rgba(196,145,58,0.15); }

.card-body { padding: 32px; }
.card-title {
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
}
.card-text {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.75;
}
.card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  font-family: var(--font-head);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  transition: gap var(--transition);
}
.card-link:hover { gap: 10px; }

/* Feature card (navy background) */
.card-feature {
  background: var(--navy);
  border-color: rgba(196,145,58,0.2);
  color: var(--white);
}
.card-feature .card-title { color: var(--white); }
.card-feature .card-text  { color: rgba(255,255,255,0.70); }
.card-feature .card-link  { color: var(--gold-light); }
.card-feature .card-icon  { background: rgba(255,255,255,0.08); }

/* Accent card (gold left border) */
.card-accent {
  border-left: 4px solid var(--gold);
}

/* ── Value Cards ───────────────────────────────────────────── */
.value-item {
  display: flex;
  gap: 20px;
  padding: 24px;
  border-radius: var(--radius-md);
  background: var(--white);
  border: 1px solid var(--gray-light);
  transition: all var(--transition);
}
.value-item:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow-sm);
}
.value-number {
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 900;
  color: var(--gold);
  opacity: 0.3;
  line-height: 1;
  flex-shrink: 0;
  width: 40px;
}
.value-content h4 {
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 8px;
}
.value-content p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ── Team Cards ────────────────────────────────────────────── */
.team-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--gray-light);
  transition: all var(--transition);
}
.team-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}
.team-card-header {
  background: var(--navy);
  padding: 32px 28px 20px;
  position: relative;
  overflow: hidden;
}
.team-card-header::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--green));
}
.team-photo {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  border: 3px solid var(--gold);
  margin-bottom: 16px;
  object-fit: cover;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-size: 2rem;
  color: var(--gold);
  overflow: hidden;
}
.team-name {
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
}
.team-role {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
}
.team-card-body { padding: 24px 28px 28px; }
.team-lane {
  font-family: var(--font-head);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 12px;
}
.team-bio {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.75;
}

/* ── Process Steps ─────────────────────────────────────────── */
.process-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.process-step {
  display: flex;
  gap: 24px;
  padding: 28px 0;
  border-bottom: 1px solid var(--gray-light);
  position: relative;
}
.process-step:last-child { border-bottom: none; }
.step-number {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  background: var(--navy);
  color: var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.9rem;
  position: relative;
  z-index: 1;
}
.step-content h4 {
  font-family: var(--font-head);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.step-content p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ── Forms ─────────────────────────────────────────────────── */
.form-section {
  background: var(--off-white);
  border-radius: var(--radius-lg);
  padding: 48px;
}
.form-section.dark {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(196,145,58,0.2);
}

.form-group {
  margin-bottom: 20px;
}
.form-group label {
  display: block;
  font-family: var(--font-head);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 8px;
}
.form-group label.light { color: rgba(255,255,255,0.8); }

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--gray-mid);
  border-radius: var(--radius-sm);
  background: var(--white);
  font-size: 0.92rem;
  color: var(--text-dark);
  transition: border-color var(--transition);
  appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(196,145,58,0.15);
}
.form-group textarea { resize: vertical; min-height: 120px; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media (max-width: 600px) {
  .form-row { grid-template-columns: 1fr; }
  .form-section { padding: 28px 20px; }
}

.form-note {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 16px;
  line-height: 1.6;
}
.form-note.light { color: rgba(255,255,255,0.50); }

/* GHL embed container */
.ghl-form-container {
  min-height: 400px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(196,145,58,0.15);
  border-radius: var(--radius-md);
  padding: 20px;
}

/* ── Buy Box Table ─────────────────────────────────────────── */
.buybox-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--gray-light);
  box-shadow: var(--shadow-md);
}
@media (max-width: 700px) {
  .buybox-grid { grid-template-columns: 1fr; }
}
.buybox-col-header {
  padding: 24px 28px;
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--white);
}
.buybox-col-header.navy { background: var(--navy); }
.buybox-col-header.green { background: var(--green); }
.buybox-criteria { padding: 8px 0; }
.buybox-criteria li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 28px;
  border-bottom: 1px solid var(--gray-light);
  font-size: 0.88rem;
}
.buybox-criteria li:last-child { border-bottom: none; }
.crit-label {
  font-weight: 700;
  color: var(--navy);
  min-width: 110px;
  flex-shrink: 0;
  font-size: 0.82rem;
}
.crit-label.green { color: var(--green); }
.crit-value { color: var(--text-body); }

/* ── Property Deal Cards ───────────────────────────────────── */
.deal-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--gray-light);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}
.deal-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.deal-card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  background: var(--gray-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-mid);
  font-size: 2.5rem;
}
.deal-card-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--gold);
  color: var(--white);
  font-family: var(--font-head);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: var(--radius-sm);
}
.deal-card-image-wrap {
  position: relative;
}
.deal-card-body { padding: 24px; }
.deal-card-market {
  font-family: var(--font-head);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 6px;
}
.deal-card-title {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}
.deal-card-price {
  font-family: var(--font-head);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--gold);
  margin-bottom: 12px;
}
.deal-card-specs {
  display: flex;
  gap: 16px;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.deal-card-specs span {
  display: flex;
  align-items: center;
  gap: 5px;
}
.deal-card-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 20px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Deals filter bar */
.deals-filter {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 36px;
  align-items: center;
}
.filter-label {
  font-family: var(--font-head);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-right: 4px;
}
.filter-btn {
  padding: 7px 16px;
  border-radius: 999px;
  font-family: var(--font-head);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--gray-light);
  color: var(--text-muted);
  border: 1.5px solid transparent;
  transition: all var(--transition);
}
.filter-btn:hover,
.filter-btn.active {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

/* No deals state */
.deals-empty {
  text-align: center;
  padding: 80px 24px;
  color: var(--text-muted);
}
.deals-empty-icon { font-size: 3rem; margin-bottom: 16px; opacity: 0.4; }
.deals-empty h3 {
  font-family: var(--font-head);
  font-size: 1rem;
  color: var(--navy);
  margin-bottom: 8px;
}
.deals-empty p { font-size: 0.9rem; }

/* ── Markets Strip ─────────────────────────────────────────── */
.markets-strip {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}
.market-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(196,145,58,0.3);
  color: var(--white);
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.market-pill .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
}
.market-pill .primary-tag {
  font-size: 0.58em;
  background: var(--gold);
  color: var(--white);
  padding: 2px 7px;
  border-radius: 999px;
  letter-spacing: 0.1em;
  margin-left: 4px;
}

/* ── Page Hero (inner pages) ───────────────────────────────── */
.page-hero {
  background: var(--navy-dark);
  padding: 130px 0 72px;
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--green), var(--gold));
}
.page-hero-title {
  font-family: var(--font-head);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 16px;
}
.page-hero-sub {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.70);
  max-width: 560px;
  line-height: 1.75;
}
.page-breadcrumb {
  font-family: var(--font-head);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}
.page-breadcrumb a { color: rgba(255,255,255,0.50); }
.page-breadcrumb a:hover { color: var(--gold); }

/* ── CTA Banner ────────────────────────────────────────────── */
.cta-banner {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy-mid) 100%);
  border-top: 1px solid rgba(196,145,58,0.2);
  border-bottom: 1px solid rgba(196,145,58,0.2);
  padding: 72px 0;
}
.cta-banner.green {
  background: linear-gradient(135deg, var(--green-dark) 0%, var(--green) 100%);
  border-color: rgba(255,255,255,0.15);
}
.cta-banner-title {
  font-family: var(--font-head);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
}
.cta-banner-sub {
  color: rgba(255,255,255,0.70);
  font-size: 1rem;
  max-width: 500px;
  margin: 0 auto 32px;
  line-height: 1.7;
}

/* ── Uniques Section ───────────────────────────────────────── */
.unique-item {
  display: flex;
  gap: 24px;
  padding: 36px 0;
  border-bottom: 1px solid var(--gray-light);
  align-items: flex-start;
}
.unique-item:last-child { border-bottom: none; }
.unique-icon {
  width: 64px;
  height: 64px;
  flex-shrink: 0;
  background: var(--navy);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
}
.unique-content h3 {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.unique-content p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.75;
}

/* ── Accordion ─────────────────────────────────────────────── */
.accordion-item {
  border-bottom: 1px solid var(--gray-light);
}
.accordion-trigger {
  width: 100%;
  text-align: left;
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-head);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 0.04em;
  cursor: pointer;
  background: none;
  border: none;
  gap: 16px;
}
.accordion-trigger .icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(196,145,58,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  color: var(--gold);
  transition: transform var(--transition);
}
.accordion-trigger.active .icon { transform: rotate(45deg); }
.accordion-body {
  padding-bottom: 20px;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.75;
  display: none;
}
.accordion-body.open { display: block; }

/* ── Footer ────────────────────────────────────────────────── */
.site-footer {
  background: var(--navy-dark);
  border-top: 1px solid rgba(196,145,58,0.2);
  padding: 64px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 500px) {
  .footer-grid { grid-template-columns: 1fr; }
}
.footer-brand .footer-logo {
  font-family: var(--font-head);
  margin-bottom: 16px;
}
.footer-brand .footer-logo .make {
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--white);
  letter-spacing: 0.1em;
}
.footer-brand .footer-logo .legacy {
  font-size: 0.65rem;
  color: var(--gold);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  display: block;
  margin-top: 2px;
}
.footer-tagline {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.65;
  margin-bottom: 20px;
  max-width: 280px;
}
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.60);
  margin-bottom: 10px;
}
.footer-contact-item strong {
  color: rgba(255,255,255,0.85);
  font-weight: 600;
}
.footer-col-title {
  font-family: var(--font-head);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-links a {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--gold); }
.footer-bottom {
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-copy {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.30);
}
.footer-legal {
  display: flex;
  gap: 20px;
}
.footer-legal a {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.30);
  transition: color var(--transition);
}
.footer-legal a:hover { color: rgba(255,255,255,0.60); }

/* Reg D disclaimer */
.reg-d-disclaimer {
  background: rgba(196,145,58,0.08);
  border: 1px solid rgba(196,145,58,0.2);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.65;
  margin-top: 32px;
}

/* ── Utilities / Misc ──────────────────────────────────────── */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
}

.divider {
  width: 48px;
  height: 3px;
  background: var(--gold);
  margin: 20px 0;
  border-radius: 2px;
}
.divider.center { margin: 20px auto; }

.tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  font-family: var(--font-head);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.tag-gold  { background: rgba(196,145,58,0.15); color: var(--gold-dark); }
.tag-navy  { background: rgba(27,41,72,0.10); color: var(--navy); }
.tag-green { background: rgba(74,120,53,0.12); color: var(--green-dark); }

.icon-check::before { content: '✓'; color: var(--green); margin-right: 8px; font-weight: 700; }
.icon-arrow::after  { content: ' →'; }

/* Loading spinner for dynamic content */
.spinner {
  width: 40px;
  height: 40px;
  border: 3px solid var(--gray-light);
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin: 48px auto;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Scroll fade-in */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Section Variants — Additional ─────────────────────────── */
.section-green-dark {
  background: var(--green-dark);
  color: var(--white);
}

/* ── Buy Box Grid ───────────────────────────────────────────── */
.buy-box-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  max-width: 760px;
  margin: 0 auto;
}
.buy-box-grid.two-col {
  grid-template-columns: 1fr 1fr;
}
.buy-box-col {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--gray-light);
  box-shadow: var(--shadow-sm);
}
.buy-box-header {
  padding: 18px 24px;
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--navy);
}
.buy-box-header.green  { background: var(--green); }
.buy-box-header.navy   { background: var(--navy); }
.buy-box-header.gold   { background: var(--gold); color: var(--navy); }
.buy-box-body { background: var(--white); }
.buy-box-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  padding: 13px 24px;
  border-bottom: 1px solid var(--gray-light);
}
.buy-box-row:last-child { border-bottom: none; }
.buy-box-row:nth-child(even) { background: var(--off-white); }
.buy-box-label {
  font-family: var(--font-head);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  flex-shrink: 0;
  min-width: 140px;
  padding-top: 2px;
}
.buy-box-value {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-dark);
  text-align: right;
}

/* ── Process Step Aliases ───────────────────────────────────── */
/* .step-body / .step-title / .step-desc map to existing step-content styles */
.step-body { flex: 1; }
.step-title {
  font-family: var(--font-head);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.step-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ── Buttons — Additional ───────────────────────────────────── */
.btn-full { width: 100%; display: block; text-align: center; }
.btn-navy {
  background: var(--navy);
  color: var(--white);
  border: 2px solid var(--navy);
}
.btn-navy:hover {
  background: var(--navy-dark);
  border-color: var(--navy-dark);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

/* ── Core Values ────────────────────────────────────────────── */
.value-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 28px;
  border-radius: var(--radius-lg);
  transition: var(--transition);
}
.value-number {
  font-family: var(--font-head);
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--gold);
  opacity: 0.5;
  line-height: 1;
  flex-shrink: 0;
}
.value-content h4 {
  font-family: var(--font-head);
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.value-content p {
  font-size: 0.88rem;
  line-height: 1.7;
}

/* ── Team Bio Cards ─────────────────────────────────────────── */
.team-lane {
  font-family: var(--font-head);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-dark);
}

/* ── Intake Form ────────────────────────────────────────────── */
.intake-form { display: flex; flex-direction: column; }

/* ── Responsive Fine-Tuning ────────────────────────────────── */
@media (max-width: 768px) {
  .hero { padding: 130px 0 72px; }
  .stat-bar .container { justify-content: center; }
  .cta-banner { padding: 48px 0; }
  .unique-item { flex-direction: column; gap: 16px; }
  .unique-icon { width: 52px; height: 52px; font-size: 1.3rem; }
  .buy-box-grid.two-col { grid-template-columns: 1fr; }
  .buy-box-row { flex-direction: column; gap: 4px; }
  .buy-box-value { text-align: left; }
}

/* ── Modal Overlay ───────────────────────────────────────────── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10,20,38,0.75);
  backdrop-filter: blur(4px);
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}
.modal-box {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px;
  max-width: 480px;
  width: 100%;
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 24px 64px rgba(0,0,0,0.35);
  transform: translateY(20px);
  transition: transform 0.25s ease;
}
.modal-overlay.open .modal-box {
  transform: translateY(0);
}
.modal-close {
  position: absolute;
  top: 16px;
  right: 20px;
  background: none;
  border: none;
  font-size: 1.1rem;
  color: var(--text-muted);
  cursor: pointer;
  line-height: 1;
  padding: 4px;
  border-radius: 4px;
  transition: var(--transition);
}
.modal-close:hover {
  color: var(--navy);
  background: var(--off-white);
}

/* ── Reg D Disclaimer ────────────────────────────────────────── */
.reg-d-disclaimer {
  background: var(--off-white);
  border-top: 1px solid var(--gray-light);
  padding: 24px 0;
}
.reg-d-disclaimer p {
  font-size: 0.72rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 900px;
}

/* ── Deal Card (deals.html) ──────────────────────────────────── */
.deal-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-light);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.deal-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.deal-card-badge-row {
  display: flex;
  gap: 6px;
  padding: 14px 16px 10px;
  background: var(--off-white);
  border-bottom: 1px solid var(--gray-light);
}
.deal-card-body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.deal-card-market {
  font-family: var(--font-head);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 6px;
}
.deal-card-title {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
  line-height: 1.3;
}
.deal-card-address {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 14px;
}
.deal-card-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}
.deal-card-spec {
  background: var(--off-white);
  border: 1px solid var(--gray-light);
  border-radius: 20px;
  padding: 4px 10px;
  font-size: 0.75rem;
  color: var(--text-dark);
  font-weight: 500;
}
.deal-card-price {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--green);
  margin-bottom: 16px;
}
.deal-card-footer {
  padding: 14px 20px;
  border-top: 1px solid var(--gray-light);
  background: var(--off-white);
}

/* ── Filter Bar ──────────────────────────────────────────────── */
.filter-bar {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 8px;
  padding-bottom: 32px;
}

@media (max-width: 768px) {
  .modal-box { padding: 24px; }
  .filter-bar { gap: 6px; }
  .deal-card-specs { gap: 6px; }
}
