/* ============================================================
   Terre Haute Restoration — Main Stylesheet
   Color Palette: Navy #0A1F44 | Gold #C9952A | White #FFFFFF
   Light BG: #F4F6FA | Text: #1A1A2E | Accent Light: #EAF0FF
   ============================================================ */

:root {
  --navy: #0A1F44;
  --navy-dark: #061430;
  --navy-mid: #1A3A6E;
  --gold: #C9952A;
  --gold-light: #E8B84B;
  --gold-pale: #FFF8EC;
  --white: #FFFFFF;
  --light-bg: #F4F6FA;
  --text: #1A1A2E;
  --text-muted: #5A6A7A;
  --border: #DDE3EE;
  --shadow: 0 4px 20px rgba(10,31,68,0.10);
  --shadow-lg: 0 8px 40px rgba(10,31,68,0.18);
  --radius: 8px;
  --radius-lg: 14px;
  --transition: 0.22s ease;
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--gold-light); }
ul { list-style: none; }

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5 {
  font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
  color: var(--navy);
  line-height: 1.2;
  font-weight: 700;
}
h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }
h4 { font-size: 1.15rem; }
p { margin-bottom: 1rem; color: var(--text); }
p:last-child { margin-bottom: 0; }

.section-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.6rem;
}

/* ===== LAYOUT ===== */
.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.section { padding: 5rem 0; }
.section--alt { background: var(--light-bg); }
.section--navy { background: var(--navy); }
.section--gold { background: var(--gold-pale); }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
  text-decoration: none;
  white-space: nowrap;
}
.btn-primary {
  background: var(--gold);
  color: var(--navy-dark);
  border-color: var(--gold);
}
.btn-primary:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  color: var(--navy-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}
.btn-outline:hover {
  background: var(--white);
  color: var(--navy);
  transform: translateY(-2px);
}
.btn-navy {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}
.btn-navy:hover {
  background: var(--navy-mid);
  border-color: var(--navy-mid);
  color: var(--white);
  transform: translateY(-2px);
}
.btn-lg { padding: 1.1rem 2.5rem; font-size: 1.1rem; }
.btn-sm { padding: 0.6rem 1.4rem; font-size: 0.9rem; }

/* ===== TOP BAR ===== */
.topbar {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.82);
  font-size: 0.83rem;
  padding: 0.5rem 0;
  border-bottom: 2px solid var(--gold);
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.topbar a { color: var(--gold-light); font-weight: 600; }
.topbar a:hover { color: var(--white); }
.topbar-badge {
  background: var(--gold);
  color: var(--navy-dark);
  font-weight: 700;
  font-size: 0.75rem;
  padding: 0.2rem 0.7rem;
  border-radius: 50px;
  letter-spacing: 0.04em;
}

/* ===== HEADER / NAV ===== */
.site-header {
  background: var(--navy);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 16px rgba(10,31,68,0.22);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  max-width: 1140px;
  margin: 0 auto;
  gap: 1.5rem;
}
.logo {
  display: flex;
  flex-direction: column;
  line-height: 1;
  color: var(--white);
  font-weight: 800;
  font-size: 1.35rem;
  text-decoration: none;
  letter-spacing: -0.01em;
}
.logo span {
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-top: 0.15rem;
}
.logo:hover { color: var(--white); }

.nav-menu {
  display: flex;
  align-items: center;
  gap: 0.2rem;
}
.nav-menu a {
  color: rgba(255,255,255,0.88);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius);
  transition: all var(--transition);
  white-space: nowrap;
}
.nav-menu a:hover,
.nav-menu a.active {
  color: var(--gold-light);
  background: rgba(255,255,255,0.07);
}

/* Dropdown */
.nav-item { position: relative; }
.nav-item > a::after { content: ' ▾'; font-size: 0.7rem; opacity: 0.7; }
.dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 0.4rem);
  left: 0;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  min-width: 220px;
  border: 1px solid var(--border);
  z-index: 200;
  overflow: hidden;
}
.dropdown a {
  display: block;
  color: var(--text) !important;
  padding: 0.7rem 1.2rem;
  font-size: 0.88rem;
  font-weight: 600;
  border-radius: 0;
  background: none;
}
.dropdown a:hover {
  background: var(--light-bg) !important;
  color: var(--navy) !important;
}
.nav-item:hover .dropdown { display: block; }

.header-cta { display: flex; align-items: center; gap: 0.75rem; }
.header-phone {
  color: var(--gold-light);
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: 0.02em;
  text-decoration: none;
}
.header-phone:hover { color: var(--white); }

/* Mobile Menu */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: var(--white);
  font-size: 1.5rem;
}

/* ===== HERO ===== */
.hero {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 55%, var(--navy-mid) 100%);
  color: var(--white);
  padding: 5.5rem 0 4.5rem;
  position: relative;
  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='%23C9952A' fill-opacity='0.04'%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");
}
.hero .container { position: relative; z-index: 1; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(201,149,42,0.18);
  border: 1px solid rgba(201,149,42,0.4);
  color: var(--gold-light);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0.4rem 1rem;
  border-radius: 50px;
  margin-bottom: 1.2rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.hero h1 { color: var(--white); margin-bottom: 1.2rem; }
.hero h1 em { color: var(--gold-light); font-style: normal; }
.hero p.lead {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.85);
  max-width: 600px;
  margin-bottom: 2rem;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 2.5rem; }
.hero-trust {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 1.5rem;
}
.hero-trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.75);
}
.hero-trust-item strong { color: var(--gold-light); }

.hero-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-lg);
  padding: 2rem;
  backdrop-filter: blur(8px);
}
.hero-card h3 { color: var(--gold-light); font-size: 1.1rem; margin-bottom: 1.2rem; }
.hero-card ul li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.6rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.88);
  font-size: 0.95rem;
}
.hero-card ul li:last-child { border-bottom: none; }
.checkmark { color: var(--gold); font-size: 1rem; flex-shrink: 0; }

/* ===== TRUST BAR ===== */
.trust-bar {
  background: var(--gold);
  padding: 1rem 0;
}
.trust-bar .container {
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
  align-items: center;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--navy-dark);
  font-weight: 700;
  font-size: 0.95rem;
}
.trust-item .icon { font-size: 1.3rem; }

/* ===== CARDS ===== */
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 2rem;
  border: 1px solid var(--border);
  transition: all var(--transition);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gold);
}
.card-icon {
  width: 56px;
  height: 56px;
  background: var(--gold-pale);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 1.2rem;
}
.card h3 { margin-bottom: 0.6rem; font-size: 1.15rem; }
.card p { color: var(--text-muted); font-size: 0.93rem; margin-bottom: 1rem; }
.card-link {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--navy);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}
.card-link:hover { color: var(--gold); }

/* ===== SECTION HEADER ===== */
.section-header { text-align: center; margin-bottom: 3rem; }
.section-header h2 { margin-bottom: 0.75rem; }
.section-header p { color: var(--text-muted); max-width: 600px; margin: 0 auto; font-size: 1.05rem; }

/* ===== PROCESS STEPS ===== */
.process-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.step {
  text-align: center;
  padding: 1.5rem 1rem;
}
.step-num {
  width: 52px;
  height: 52px;
  background: var(--navy);
  color: var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  font-weight: 800;
  margin: 0 auto 1rem;
}
.step h4 { margin-bottom: 0.4rem; color: var(--navy); }
.step p { font-size: 0.88rem; color: var(--text-muted); }

/* ===== TESTIMONIALS ===== */
.testimonial {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.8rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.testimonial-stars { color: var(--gold); font-size: 1.1rem; margin-bottom: 0.8rem; }
.testimonial-text { font-size: 0.95rem; color: var(--text); font-style: italic; margin-bottom: 1rem; }
.testimonial-author { font-weight: 700; color: var(--navy); font-size: 0.9rem; }
.testimonial-location { font-size: 0.82rem; color: var(--text-muted); }

/* ===== FAQ ===== */
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 0.75rem;
  overflow: hidden;
}
.faq-question {
  background: var(--white);
  padding: 1.1rem 1.4rem;
  cursor: pointer;
  font-weight: 700;
  color: var(--navy);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.97rem;
  transition: background var(--transition);
}
.faq-question:hover { background: var(--light-bg); }
.faq-question .faq-icon { transition: transform var(--transition); font-size: 0.8rem; color: var(--gold); }
.faq-item.open .faq-icon { transform: rotate(180deg); }
.faq-answer {
  display: none;
  padding: 1rem 1.4rem 1.2rem;
  color: var(--text-muted);
  font-size: 0.93rem;
  border-top: 1px solid var(--border);
  background: var(--light-bg);
  line-height: 1.7;
}
.faq-item.open .faq-answer { display: block; }

/* ===== CTA BANNER ===== */
.cta-banner {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%);
  padding: 4rem 0;
  text-align: center;
}
.cta-banner h2 { color: var(--white); margin-bottom: 0.75rem; }
.cta-banner p { color: rgba(255,255,255,0.8); margin-bottom: 2rem; font-size: 1.05rem; max-width: 600px; margin-left: auto; margin-right: auto; }
.cta-banner .actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ===== SERVICE AREA MAP SECTION ===== */
.area-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.area-chip {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.85rem 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--navy);
  transition: all var(--transition);
  text-decoration: none;
}
.area-chip:hover {
  background: var(--gold-pale);
  border-color: var(--gold);
  color: var(--navy);
  transform: translateY(-2px);
}
.area-chip .pin { color: var(--gold); }

/* ===== PAGE HERO (inner pages) ===== */
.page-hero {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy-mid) 100%);
  padding: 4rem 0 3rem;
  text-align: center;
  color: var(--white);
}
.page-hero h1 { color: var(--white); margin-bottom: 0.75rem; }
.page-hero p { color: rgba(255,255,255,0.8); font-size: 1.1rem; max-width: 680px; margin: 0 auto 1.5rem; }
.breadcrumb {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
  margin-bottom: 1.2rem;
}
.breadcrumb a { color: rgba(255,255,255,0.75); }
.breadcrumb a:hover { color: var(--gold-light); }
.breadcrumb span { color: var(--gold-light); }

/* ===== CONTENT / ARTICLE AREA ===== */
.content-body { max-width: 820px; }
.content-body h2 { margin-top: 2.5rem; margin-bottom: 1rem; }
.content-body h3 { margin-top: 2rem; margin-bottom: 0.75rem; color: var(--navy-mid); }
.content-body ul {
  list-style: disc;
  padding-left: 1.5rem;
  margin-bottom: 1.2rem;
}
.content-body ul li { margin-bottom: 0.4rem; color: var(--text-muted); }
.content-body p { margin-bottom: 1.1rem; color: var(--text); }

/* ===== SIDEBAR ===== */
.sidebar-card {
  background: var(--navy);
  border-radius: var(--radius-lg);
  padding: 1.8rem;
  margin-bottom: 1.5rem;
  color: var(--white);
}
.sidebar-card h4 { color: var(--gold-light); margin-bottom: 1rem; font-size: 1rem; }
.sidebar-card p { color: rgba(255,255,255,0.8); font-size: 0.9rem; }
.sidebar-card .btn { width: 100%; justify-content: center; margin-top: 0.75rem; }
.sidebar-links a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.8);
  font-size: 0.9rem;
  font-weight: 600;
}
.sidebar-links a:hover { color: var(--gold-light); }
.sidebar-links a:last-child { border-bottom: none; }

/* ===== EMERGENCY BAND ===== */
.emergency-band {
  background: #B91C1C;
  color: var(--white);
  padding: 0.9rem 0;
  text-align: center;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
}
.emergency-band a {
  color: #FEF08A;
  text-decoration: underline;
  font-size: 1.05rem;
}

/* ===== STATS ===== */
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.stat-item { text-align: center; }
.stat-num {
  font-size: 2.6rem;
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
  display: block;
  margin-bottom: 0.3rem;
}
.stat-label { font-size: 0.88rem; color: rgba(255,255,255,0.75); font-weight: 600; }

/* ===== FOOTER ===== */
.site-footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.75);
  padding: 4rem 0 0;
  border-top: 3px solid var(--gold);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer-brand p { font-size: 0.9rem; margin-top: 0.8rem; line-height: 1.7; }
.footer-brand .logo { margin-bottom: 0.5rem; }
.footer-col h4 {
  color: var(--gold-light);
  font-size: 0.88rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
  font-weight: 700;
}
.footer-col ul li { margin-bottom: 0.5rem; }
.footer-col ul li a {
  color: rgba(255,255,255,0.65);
  font-size: 0.88rem;
  transition: color var(--transition);
}
.footer-col ul li a:hover { color: var(--gold-light); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 1.2rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.45);
}
.footer-bottom a { color: rgba(255,255,255,0.55); }
.footer-bottom a:hover { color: var(--gold-light); }

/* ===== UTILITY ===== */
.text-center { text-align: center; }
.text-gold { color: var(--gold); }
.text-navy { color: var(--navy); }
.text-white { color: var(--white); }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-4 { margin-bottom: 2rem; }
.highlight-box {
  background: var(--gold-pale);
  border-left: 4px solid var(--gold);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.2rem 1.5rem;
  margin: 1.5rem 0;
}
.highlight-box p { color: var(--text); margin: 0; font-weight: 600; }
.badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.badge-gold { background: var(--gold-pale); color: var(--gold); border: 1px solid var(--gold); }
.badge-navy { background: var(--navy); color: var(--white); }
.badge-red { background: #FEE2E2; color: #B91C1C; border: 1px solid #FCA5A5; }

/* ===== TWO-COL LAYOUT (service pages) ===== */
.content-with-sidebar {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 3rem;
  align-items: start;
}

/* ===== MOBILE ===== */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .process-steps { grid-template-columns: repeat(2, 1fr); }
  .content-with-sidebar { grid-template-columns: 1fr; }
  .content-with-sidebar .sidebar { order: -1; }
}
@media (max-width: 768px) {
  .grid-2 { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
  .area-grid { grid-template-columns: repeat(2, 1fr); }
  .hero { padding: 3.5rem 0 2.5rem; }
  .section { padding: 3.5rem 0; }
  .nav-menu { display: none; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: var(--navy-dark); padding: 1rem; gap: 0.25rem; }
  .nav-menu.open { display: flex; }
  .menu-toggle { display: block; }
  .header-cta .btn { display: none; }
  .trust-bar .container { gap: 1.5rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .process-steps { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .dropdown { position: static; box-shadow: none; border: none; background: rgba(255,255,255,0.05); }
  .dropdown a { color: rgba(255,255,255,0.8) !important; }
}
@media (max-width: 480px) {
  .area-grid { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  h1 { font-size: 1.8rem; }
  .hero p.lead { font-size: 1rem; }
}

/* ===== STICKY MOBILE CTA ===== */
.sticky-mobile-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--navy-dark);
  border-top: 2px solid var(--gold);
  padding: 0.75rem 1rem;
  z-index: 999;
  gap: 0.75rem;
}
@media (max-width: 768px) {
  .sticky-mobile-cta { display: flex; }
  .sticky-mobile-cta a { flex: 1; text-align: center; justify-content: center; }
}
