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

:root {
  --green:      #2B7A2B;
  --green-dark: #1A4A1A;
  --black:      #0D0D0D;
  --lgray:      #F5F5F5;
  --white:      #FFFFFF;
  --text:       #222222;
  --muted:      #666666;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text);
  background: var(--white);
}

a { color: var(--green); }

/* ── HERO ── */
.hero {
  background: var(--black) url('/assets/nola-map-bg.svg') center center / cover no-repeat;
  color: var(--white);
  padding: 56px 24px 48px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(13,13,13,0.6);
  backdrop-filter: blur(1px);
  z-index: 0;
}
.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
}
.hero-inner > * { min-width: 0; }
.hero-logo { text-align: center; margin-bottom: 24px; }
.hero-logo img { height: 48px; display: inline-block; }
.hero-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--green);
  text-transform: uppercase;
  margin-bottom: 12px;
  text-align: center;
  text-shadow: 0 1px 4px rgba(0,0,0,0.8);
}
.hero h1 {
  font-size: clamp(24px, 4.5vw, 38px);
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  text-shadow: 0 1px 4px rgba(0,0,0,0.8);
  margin-bottom: 12px;
}
.hero h1 span { color: var(--green); }
.hero-sub {
  font-size: 15px;
  color: #BBBBBB;
  line-height: 1.6;
  text-align: center;
  max-width: 560px;
  margin: 0 auto;
}

/* ── BOTTOM LOGO ── */
.bottom-logo { text-align: center; padding: 40px 24px; background: var(--white); }
.bottom-logo img { height: 68px; display: inline-block; }

/* ── FOOTER ── */
footer {
  background: var(--black);
  color: #888;
  text-align: center;
  padding: 28px 24px;
  font-size: 12px;
  line-height: 1.8;
}
footer a { color: var(--green); text-decoration: none; }

/* ── DIRECTORY ACCORDION ── */
.directory { max-width: 720px; margin: 0 auto; padding: 48px 24px 64px; }
.directory-intro { text-align: center; color: var(--muted); font-size: 14px; margin-bottom: 32px; }
.category {
  border: 1px solid #E5E5E5;
  border-radius: 10px;
  margin-bottom: 12px;
  overflow: hidden;
}
.category-header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--white);
  border: none;
  padding: 18px 20px;
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  cursor: pointer;
  font-family: inherit;
  text-align: left;
}
.category-header:hover { background: var(--lgray); }
.category-header .chevron {
  width: 10px; height: 10px;
  border-right: 2px solid var(--green);
  border-bottom: 2px solid var(--green);
  transform: rotate(-45deg);
  transition: transform 0.2s;
  flex-shrink: 0;
}
.category.open .category-header .chevron { transform: rotate(45deg); }
.category-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
  background: var(--lgray);
}
.category.open .category-body { max-height: 2000px; }
.vendor-list { padding: 4px 20px 16px; }
.vendor-item { border-top: 1px solid #E0E0E0; }
.vendor-item:first-child { border-top: none; }
.vendor-toggle {
  width: 100%;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  background: none;
  border: none;
  padding: 14px 4px;
  cursor: pointer;
  font-family: inherit;
  text-align: left;
}
.vendor-name { font-size: 15px; font-weight: 600; color: var(--text); }
.vendor-company { font-size: 13px; color: var(--muted); }
.vendor-contact {
  display: none;
  padding: 0 4px 16px;
  font-size: 14px;
}
.vendor-item.open .vendor-contact { display: block; }
.vendor-contact a {
  display: inline-block;
  margin-right: 16px;
  text-decoration: none;
  font-weight: 600;
}
.vendor-call-script {
  font-style: italic;
  color: var(--muted);
  font-size: 13px;
  margin-top: 8px;
  line-height: 1.5;
}
.empty-category { color: var(--muted); font-size: 14px; padding: 4px; font-style: italic; }

/* ── SUBCATEGORY (nested inside a category, holds the vendor list) ── */
.subcategory-list { padding: 4px 12px 12px; }
.subcategory { background: var(--white); border-radius: 8px; margin: 6px 0; overflow: hidden; }
.subcategory-header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: none;
  border: none;
  padding: 14px 16px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  font-family: inherit;
  text-align: left;
}
.subcategory-header:hover { background: rgba(0,0,0,0.04); }
.subcategory-header .chevron {
  width: 8px; height: 8px;
  border-right: 2px solid var(--green);
  border-bottom: 2px solid var(--green);
  transform: rotate(-45deg);
  transition: transform 0.2s;
  flex-shrink: 0;
}
.subcategory.open .subcategory-header .chevron { transform: rotate(45deg); }
.subcategory-body { max-height: 0; overflow: hidden; transition: max-height 0.25s ease; }
.subcategory.open .subcategory-body { max-height: 2000px; }
.subcategory .vendor-list { padding: 0 16px 14px; }

/* ── TRANSACTION TIMELINE ── */
.timeline-wrap { max-width: 760px; margin: 0 auto; padding: 48px 24px 0; }
.timeline-track {
  position: relative;
  display: flex;
  justify-content: space-between;
  margin: 40px 0 8px;
}
.timeline-line {
  position: absolute;
  top: 9px;
  left: 0;
  right: 0;
  height: 4px;
  background: #E5E5E5;
  border-radius: 2px;
  z-index: 0;
}
.timeline-fill {
  position: absolute;
  top: 9px;
  left: 0;
  height: 4px;
  background: var(--green);
  border-radius: 2px;
  z-index: 1;
  transition: width 0.4s ease;
}
.milestone { position: relative; z-index: 2; flex: 1; text-align: center; }
.milestone-dot {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--white);
  border: 4px solid #D5D5D5;
  margin: 0 auto 10px;
}
.milestone.complete .milestone-dot { border-color: var(--green); background: var(--green); }
.milestone.current .milestone-dot { border-color: var(--green); background: var(--white); }
.milestone-name { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; color: var(--text); margin-bottom: 2px; }
.milestone.complete .milestone-name, .milestone.current .milestone-name { color: var(--green-dark); }
.milestone-date { font-size: 12px; color: var(--muted); }
.timeline-subscribe { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin: 28px 0 8px; }
.btn-subscribe {
  display: inline-block;
  width: 250px;
  text-align: center;
  background: var(--green);
  color: var(--white);
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  padding: 12px 24px;
  border-radius: 6px;
}
.btn-subscribe:hover { background: var(--green-dark); }

@media (max-width: 700px) {
  .timeline-track { flex-wrap: wrap; row-gap: 24px; }
  .timeline-line, .timeline-fill { display: none; }
  .milestone { flex: 1 1 33%; min-width: 90px; }
  .hero { padding-left: 16px; padding-right: 16px; }
}

/* ── YOUR TEAM (deal hub only) ── */
.team-section {
  max-width: 720px;
  margin: 0 auto;
  padding: 48px 24px 56px;
  border-top: 1px solid #E5E5E5;
}
.team-section h2 { font-size: 18px; font-weight: 700; margin-bottom: 20px; text-align: center; }
.team-agent {
  display: flex;
  gap: 20px;
  align-items: center;
  background: var(--lgray);
  padding: 24px;
  border-radius: 10px;
  margin-bottom: 16px;
}
.team-agent img { width: 76px; height: 76px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.team-agent-name { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; color: var(--muted); margin-bottom: 6px; }
.team-agent-headline { font-size: 17px; font-weight: 800; margin-bottom: 6px; }
.team-agent-body { font-size: 14px; line-height: 1.55; color: var(--text); }
.team-agent-contact { font-size: 14px; font-weight: 600; margin-top: 10px; }
.team-agent.sponsored { background: var(--lgray); } /* same treatment as a half-card once a lender pays for ad space, full-width like the agent */
.team-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.team-card {
  font-size: 14px;
  border: 1px solid #E5E5E5;
  border-radius: 8px;
  padding: 16px;
}
.team-card .ref-label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; color: var(--muted); margin-bottom: 4px; }
.team-card .ref-value { line-height: 1.5; }
@media (max-width: 700px) {
  .team-agent { flex-direction: column; text-align: center; }
  .team-cards { grid-template-columns: 1fr; }
}

/* ── GOOD TO KNOW (deal hub only, solid green band) ── */
.resources-band { background: var(--green); color: var(--white); padding: 8px 24px 56px; }
.resources-inner { max-width: 720px; margin: 0 auto; }
.resources-band h2 { font-size: 18px; font-weight: 700; padding: 40px 0 8px; text-align: center; }
.resources-band .directory-intro { color: rgba(255,255,255,0.85); text-align: center; margin-bottom: 24px; }
.res-category { border: 1px solid rgba(255,255,255,0.35); border-radius: 10px; margin-bottom: 12px; overflow: hidden; }
.res-category-header {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  background: rgba(255,255,255,0.08); border: none; padding: 16px 18px;
  font-size: 15px; font-weight: 700; color: var(--white); cursor: pointer; font-family: inherit; text-align: left;
}
.res-category-header:hover { background: rgba(255,255,255,0.15); }
.res-category-header .chevron { width: 9px; height: 9px; border-right: 2px solid var(--white); border-bottom: 2px solid var(--white); transform: rotate(-45deg); transition: transform 0.2s; flex-shrink: 0; }
.res-category.open .res-category-header .chevron { transform: rotate(45deg); }
.res-category-body { max-height: 0; overflow: hidden; transition: max-height 0.25s ease; }
.res-category.open .res-category-body { max-height: 2000px; }
.res-note { font-size: 13px; color: rgba(255,255,255,0.85); padding: 12px 18px 0; font-style: italic; line-height: 1.5; }
.res-subitem { border-top: 1px solid rgba(255,255,255,0.2); }
.res-subitem:first-child { border-top: none; }
.res-sub-header {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  background: none; border: none; padding: 13px 18px; font-size: 14px; font-weight: 600;
  color: var(--white); cursor: pointer; font-family: inherit; text-align: left;
}
.res-sub-body { display: none; padding: 0 18px 16px; font-size: 13px; line-height: 1.6; }
.res-subitem.open .res-sub-body { display: block; }
.res-link-row { display: flex; justify-content: space-between; gap: 12px; padding: 4px 0; }
.res-link-row a { color: var(--white); font-weight: 600; }
.res-flat-list { padding: 4px 18px 16px; font-size: 13px; }
.res-flat-list .res-link-row { border-top: 1px solid rgba(255,255,255,0.15); padding: 10px 0; }
.res-flat-list .res-link-row:first-child { border-top: none; }

/* ── LOGIN GATE ── */
.login-gate {
  max-width: 400px;
  margin: 80px auto;
  padding: 32px 24px;
  text-align: center;
}
.login-gate h1 { font-size: 22px; margin-bottom: 8px; }
.login-gate p { color: var(--muted); font-size: 14px; margin-bottom: 24px; line-height: 1.5; }
.login-gate input {
  display: block;
  width: 100%;
  padding: 12px 13px;
  margin-bottom: 12px;
  border: 1.5px solid #DDDDDD;
  border-radius: 6px;
  font-size: 14px;
  font-family: inherit;
  outline: none;
}
.login-gate input:focus { border-color: var(--green); }
.login-gate button {
  width: 100%;
  background: var(--green);
  color: var(--white);
  border: none;
  padding: 13px;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
}
.login-gate button:hover { background: var(--green-dark); }
.login-status { font-size: 13px; margin-top: 12px; min-height: 18px; }
