/* ============================================================
   LEGACY EXIT SOLUTIONS — style.css
   Color system, typography, layout, components
   ============================================================ */

/* --- Reset & Base ----------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  color: #1e1e1e;
  background: #f8f6f2;
}

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

a { color: inherit; text-decoration: none; }

/* --- Color tokens ----------------------------------------- */
:root {
  --navy:       #0f2137;
  --navy-mid:   #1a3550;
  --navy-light: #213d5e;
  --gold:       #c9a84c;
  --gold-light: #e8c97a;
  --gold-pale:  #f5edda;
  --off-white:  #f8f6f2;
  --white:      #ffffff;
  --text:       #1e1e1e;
  --muted:      #5a6474;
  --border:     #e2ddd6;
  --shadow:     0 4px 20px rgba(15,33,55,0.10);
  --shadow-lg:  0 8px 40px rgba(15,33,55,0.14);
}

/* --- Typography ------------------------------------------- */
h1, h2, h3, h4 {
  font-family: Georgia, 'Times New Roman', serif;
  line-height: 1.2;
  color: var(--navy);
}
h1 { font-size: clamp(2rem, 4.5vw, 3.2rem); font-weight: normal; }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: normal; }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); font-weight: normal; }
h4 { font-size: 1.1rem; font-weight: bold; }

.eyebrow {
  font-family: Arial, sans-serif;
  font-size: 0.72rem;
  font-weight: bold;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

/* --- Layout helpers --------------------------------------- */
.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 6%;
}

section { padding: 80px 0; }

.section-white { background: var(--white); }
.section-offwhite { background: var(--off-white); }
.section-navy { background: var(--navy); color: var(--white); }
.section-navy h2, .section-navy h3, .section-navy h4 { color: var(--white); }
.section-navy .eyebrow { color: var(--gold-light); }
.section-navy p { color: rgba(255,255,255,0.82); }

/* --- Buttons --------------------------------------------- */
.btn {
  display: inline-block;
  padding: 14px 28px;
  font-family: Arial, sans-serif;
  font-size: 0.8rem;
  font-weight: bold;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, transform 0.15s;
  border: 2px solid transparent;
  text-decoration: none;
}
.btn-gold {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
}
.btn-gold:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  transform: translateY(-2px);
}
.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.6);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--white);
  transform: translateY(-2px);
}
.btn-outline-navy {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-outline-navy:hover {
  background: var(--navy);
  color: var(--white);
  transform: translateY(-2px);
}
.btn-lg { padding: 18px 36px; font-size: 0.85rem; }

/* --- Navigation ------------------------------------------ */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--navy);
  border-bottom: 3px solid var(--gold);
  padding: 0 6%;
}
.nav-inner {
  max-width: 1140px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}
.nav-brand-logo {
  height: 38px;
  width: auto;
}
.nav-brand-text {
  font-family: Georgia, serif;
  font-size: 1.05rem;
  color: var(--white);
  line-height: 1.2;
}
.nav-brand-text span {
  display: block;
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  font-family: Arial, sans-serif;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}
.nav-links a {
  font-family: Arial, sans-serif;
  font-size: 0.78rem;
  font-weight: bold;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  transition: color 0.2s;
}
.nav-links a:hover,
.nav-links a.active { color: var(--gold); }
.nav-cta { margin-left: 8px; }

/* --- Hero ------------------------------------------------- */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(0.35);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15,33,55,0.7) 0%, rgba(15,33,55,0.3) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
}
.hero-content h1 { color: var(--white); margin-bottom: 20px; }
.hero-content p {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.88);
  margin-bottom: 36px;
  line-height: 1.75;
}
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; }

/* --- Stats bar -------------------------------------------- */
.stats-bar {
  background: var(--navy-mid);
  border-top: 1px solid rgba(201,168,76,0.3);
  border-bottom: 1px solid rgba(201,168,76,0.3);
  padding: 28px 6%;
}
.stats-bar-inner {
  max-width: 1140px;
  margin: 0 auto;
  display: flex;
  justify-content: space-around;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.stat-item { text-align: center; }
.stat-number {
  font-family: Georgia, serif;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  color: var(--gold);
  line-height: 1;
  margin-bottom: 4px;
}
.stat-label {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
}
.stat-divider {
  width: 1px;
  height: 50px;
  background: rgba(201,168,76,0.3);
}

/* --- Cards ------------------------------------------------ */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
  margin-top: 48px;
}
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}
.card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.card-body { padding: 28px; }
.card-body h3 { margin-bottom: 10px; }
.card-body p { color: var(--muted); font-size: 0.95rem; }

/* --- Gold CTA band ---------------------------------------- */
.cta-band {
  background: var(--gold);
  padding: 64px 6%;
  text-align: center;
}
.cta-band h2 { color: var(--navy); margin-bottom: 12px; }
.cta-band p { color: rgba(15,33,55,0.75); margin-bottom: 28px; font-size: 1.05rem; }
.cta-band .btn-outline-navy { border-color: var(--navy); }

/* --- Testimonials ----------------------------------------- */
.testimonials { display: flex; flex-direction: column; gap: 32px; margin-top: 48px; }
.testimonial {
  background: var(--white);
  border-left: 4px solid var(--gold);
  padding: 28px 32px;
  border-radius: 0 8px 8px 0;
  box-shadow: var(--shadow);
}
.testimonial blockquote {
  font-family: Georgia, serif;
  font-size: 1.08rem;
  color: var(--navy);
  font-style: italic;
  line-height: 1.7;
  margin-bottom: 14px;
}
.testimonial cite {
  font-size: 0.8rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--muted);
  font-style: normal;
}

/* --- Process steps --------------------------------------- */
.process-steps { margin-top: 52px; }
.process-step {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 24px;
  margin-bottom: 48px;
  align-items: start;
}
.step-number {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold);
  font-family: Georgia, serif;
  font-size: 1.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 3px solid var(--gold);
}
.step-content h3 { margin-bottom: 8px; }
.step-content p { color: var(--muted); }

/* --- FAQ accordion ---------------------------------------- */
.faq-list { margin-top: 40px; }
.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 4px 0;
}
.faq-question {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 20px 0;
  font-family: Georgia, serif;
  font-size: 1.05rem;
  color: var(--navy);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq-question:hover { color: var(--gold); }
.faq-icon {
  width: 22px;
  height: 22px;
  border: 2px solid var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.9rem;
  color: var(--gold);
  transition: transform 0.25s;
}
.faq-answer {
  display: none;
  padding: 0 0 20px;
  color: var(--muted);
  font-size: 0.97rem;
  line-height: 1.8;
}
.faq-item.open .faq-answer { display: block; }
.faq-item.open .faq-icon { transform: rotate(45deg); }

/* --- About bio section ------------------------------------ */
.bio-grid {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 64px;
  align-items: start;
}
.bio-photo {
  width: 100%;
  border-radius: 8px;
  box-shadow: var(--shadow-lg);
}
.bio-credentials {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.credential {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--muted);
}
.credential-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
}

/* --- Contact form ----------------------------------------- */
.contact-form-wrap {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 48px;
  box-shadow: var(--shadow);
  max-width: 640px;
  margin: 0 auto;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.form-group { margin-bottom: 22px; }
.form-group label {
  display: block;
  font-size: 0.75rem;
  font-weight: bold;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 6px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 4px;
  font-family: Arial, sans-serif;
  font-size: 0.96rem;
  color: var(--text);
  background: var(--off-white);
  transition: border-color 0.2s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: var(--white);
}
.form-group textarea { min-height: 110px; resize: vertical; }
.form-note {
  font-size: 0.82rem;
  color: var(--muted);
  margin-top: 10px;
  line-height: 1.5;
}
.form-confirm {
  display: none;
  text-align: center;
  padding: 40px 20px;
}
.form-confirm-icon {
  font-size: 3rem;
  margin-bottom: 16px;
}
.form-confirm h3 { margin-bottom: 10px; }
.form-confirm p { color: var(--muted); }

/* --- Industries grid ------------------------------------- */
.industries-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 44px;
}
.industry-chip {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 20px 22px;
  text-align: center;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.industry-chip:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow);
}
.industry-chip-icon { font-size: 1.8rem; margin-bottom: 8px; }
.industry-chip-name {
  font-size: 0.82rem;
  font-weight: bold;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--navy);
}

/* --- Value props list ------------------------------------- */
.value-list { margin-top: 36px; display: flex; flex-direction: column; gap: 20px; }
.value-item {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}
.value-icon {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: var(--gold-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
  border: 1px solid rgba(201,168,76,0.3);
}
.value-text h4 { margin-bottom: 4px; font-size: 1rem; }
.value-text p { color: var(--muted); font-size: 0.93rem; }

/* --- Footer ---------------------------------------------- */
.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,0.65);
  padding: 56px 6% 32px;
  border-top: 3px solid var(--gold);
}
.footer-grid {
  max-width: 1140px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 40px;
}
.footer-brand-logo { height: 36px; margin-bottom: 16px; }
.footer-tagline {
  font-family: Georgia, serif;
  font-size: 0.95rem;
  color: rgba(255,255,255,0.75);
  margin-bottom: 14px;
  line-height: 1.6;
}
.footer-contact-line {
  font-size: 0.85rem;
  margin-bottom: 6px;
}
.footer-contact-line a { color: var(--gold); }
.footer-contact-line a:hover { color: var(--gold-light); }
.footer-col-title {
  font-size: 0.72rem;
  font-weight: bold;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}
.footer-nav-list { list-style: none; }
.footer-nav-list li { margin-bottom: 10px; }
.footer-nav-list a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.65);
  transition: color 0.2s;
}
.footer-nav-list a:hover { color: var(--gold); }
.footer-bottom {
  max-width: 1140px;
  margin: 0 auto;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p { font-size: 0.78rem; }
.footer-license { font-size: 0.75rem; color: rgba(255,255,255,0.45); }

/* --- Page hero (interior pages) -------------------------- */
.page-hero {
  background: var(--navy);
  padding: 80px 6%;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light), var(--gold));
}
.page-hero-inner {
  max-width: 1140px;
  margin: 0 auto;
}
.page-hero h1 { color: var(--white); margin-bottom: 14px; }
.page-hero p { color: rgba(255,255,255,0.78); font-size: 1.1rem; max-width: 600px; }

/* --- Two-col text layout --------------------------------- */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.two-col-img { border-radius: 8px; box-shadow: var(--shadow-lg); width: 100%; }

/* --- Sunbelt banner --------------------------------------- */
.sunbelt-bar {
  background: var(--navy-mid);
  padding: 18px 6%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}
.sunbelt-bar img { height: 28px; }
.sunbelt-bar span {
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.65);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .bio-grid { grid-template-columns: 1fr; }
  .bio-photo-wrap { order: -1; max-width: 320px; margin: 0 auto; }
  .two-col { grid-template-columns: 1fr; gap: 36px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  section { padding: 60px 0; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .stat-divider { display: none; }
  .stats-bar-inner { gap: 32px; }
  .process-step { grid-template-columns: 52px 1fr; gap: 16px; }
  .step-number { width: 52px; height: 52px; font-size: 1.2rem; }
  .hero-ctas { flex-direction: column; }
  .contact-form-wrap { padding: 32px 24px; }
}

@media (max-width: 520px) {
  .nav-links { display: none; }
  .nav-cta { margin-left: 0; }
  .nav-inner { gap: 12px; }
}
