/* ===================================================
   New to Lexington SC — Clean & Modern Design System
   =================================================== */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* --- Design Tokens --- */
:root {
  /* Colors */
  --navy:        #1B3A5C;
  --navy-dark:   #0F2338;
  --navy-light:  #2C5282;
  --blue:        #3182CE;
  --blue-light:  #EBF4FF;
  --orange:      #E07B39;
  --orange-light:#FFF4EC;
  --green:       #38A169;
  --green-light: #F0FFF4;
  --white:       #FFFFFF;
  --off-white:   #F7F9FC;
  --gray-50:     #F9FAFB;
  --gray-100:    #F3F4F6;
  --gray-200:    #E5E7EB;
  --gray-300:    #D1D5DB;
  --gray-500:    #6B7280;
  --gray-700:    #374151;
  --text:        #1A202C;
  --text-muted:  #718096;

  /* Shadows */
  --shadow-sm:   0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
  --shadow-md:   0 4px 12px rgba(0,0,0,.07), 0 2px 4px rgba(0,0,0,.04);
  --shadow-lg:   0 10px 30px rgba(0,0,0,.09), 0 4px 8px rgba(0,0,0,.04);
  --shadow-xl:   0 20px 40px rgba(0,0,0,.12), 0 8px 16px rgba(0,0,0,.06);

  /* Spacing */
  --section-y:   88px;
  --card-pad:    32px;
  --radius-sm:   8px;
  --radius-md:   14px;
  --radius-lg:   20px;
  --radius-xl:   28px;

  /* Typography */
  --font: 'Inter', system-ui, -apple-system, sans-serif;
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body { font-family: var(--font); color: var(--text); background: var(--white); line-height: 1.7; font-size: 16px; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--navy); }

/* --- Typography Scale --- */
h1, h2, h3, h4, h5 { line-height: 1.2; font-weight: 800; color: var(--navy); letter-spacing: -0.02em; }
h1 { font-size: clamp(2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.4rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.35rem); letter-spacing: -0.01em; }
h4 { font-size: 1.05rem; font-weight: 700; }
p  { margin-bottom: 1rem; color: var(--gray-700); line-height: 1.75; }
strong { color: var(--text); font-weight: 600; }

/* --- Layout Helpers --- */
.container   { max-width: 1160px; margin: 0 auto; padding: 0 28px; }
.section     { padding: var(--section-y) 0; }
.section-alt { background: var(--off-white); }
.section-header { text-align: center; margin-bottom: 56px; }
.section-header h2 { margin-bottom: 14px; }
.section-header p  { font-size: 1.1rem; color: var(--text-muted); max-width: 580px; margin: 0 auto; }
.text-center { text-align: center; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 28px; }

/* --- Eyebrow Label --- */
.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 10px;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.97rem;
  font-family: var(--font);
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.18s ease;
  text-align: center;
  white-space: nowrap;
}
.btn-primary  { background: var(--orange); color: #fff; }
.btn-primary:hover  { background: #c96b29; color: #fff; transform: translateY(-1px); box-shadow: 0 6px 18px rgba(224,123,57,.35); }
.btn-secondary{ background: var(--navy);  color: #fff; }
.btn-secondary:hover{ background: var(--navy-dark); color: #fff; transform: translateY(-1px); }
.btn-outline  { background: transparent; color: var(--navy); border-color: var(--gray-300); }
.btn-outline:hover  { border-color: var(--navy); background: var(--navy); color: #fff; }
.btn-ghost    { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.3); }
.btn-ghost:hover    { background: rgba(255,255,255,.22); color: #fff; }
.btn-white    { background: #fff; color: var(--navy); }
.btn-white:hover    { background: var(--gray-100); color: var(--navy); transform: translateY(-1px); }
.btn-sm  { padding: 9px 18px; font-size: 0.875rem; }
.btn-lg  { padding: 17px 36px; font-size: 1.05rem; }

/* --- Navigation --- */
.nav {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--gray-200);
  transition: box-shadow 0.25s;
}
.nav.scrolled { box-shadow: var(--shadow-md); }
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 28px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.03em;
  flex-shrink: 0;
}
.nav-logo .logo-icon {
  width: 34px; height: 34px;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}
.nav-logo span { color: var(--orange); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}
.nav-links a {
  color: var(--gray-700);
  font-weight: 500;
  font-size: 0.9rem;
  padding: 7px 12px;
  border-radius: var(--radius-sm);
  transition: all 0.15s;
}
.nav-links a:hover { color: var(--navy); background: var(--gray-100); }
.nav-links a.active { color: var(--orange); }
.nav-links .nav-cta a {
  background: var(--orange);
  color: #fff !important;
  padding: 8px 18px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  margin-left: 6px;
}
.nav-links .nav-cta a:hover { background: #c96b29 !important; transform: translateY(-1px); box-shadow: 0 4px 12px rgba(224,123,57,.3); }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 6px; border-radius: var(--radius-sm); }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--navy); margin: 5px 0; border-radius: 2px; transition: 0.25s; }

/* --- Hero (Homepage) --- */
.hero {
  background: linear-gradient(145deg, var(--navy-dark) 0%, var(--navy) 45%, #2D6A9F 100%);
  color: #fff;
  padding: 110px 0 0;
  position: relative;
  overflow: hidden;
}
.hero-bg-dots {
  position: absolute; inset: 0; z-index: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 32px 32px;
}
.hero-content { position: relative; z-index: 1; max-width: 680px; padding-bottom: 80px; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(224,123,57,.18);
  border: 1px solid rgba(224,123,57,.35);
  color: #FBCFA4;
  padding: 7px 16px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 22px;
  letter-spacing: 0.02em;
}
.hero h1 { color: #fff; margin-bottom: 22px; }
.hero h1 .accent { color: var(--orange); }
.hero > .container > .hero-content > p {
  font-size: 1.18rem;
  color: rgba(255,255,255,.78);
  margin-bottom: 38px;
  max-width: 540px;
  line-height: 1.7;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-stats {
  display: flex;
  gap: 0;
  margin-top: 64px;
  padding: 28px 0;
  border-top: 1px solid rgba(255,255,255,.12);
  flex-wrap: wrap;
}
.hero-stat {
  flex: 1;
  min-width: 100px;
  padding: 0 28px 0 0;
}
.hero-stat .stat-number {
  font-size: 2rem;
  font-weight: 900;
  color: var(--orange);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 4px;
}
.hero-stat .stat-label { font-size: 0.8rem; color: rgba(255,255,255,.55); }
.hero-wave {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 64px;
  margin-top: -1px;
}

/* --- Page Hero (Inner Pages) --- */
.page-hero {
  background: linear-gradient(145deg, var(--navy-dark) 0%, var(--navy) 100%);
  color: #fff;
  padding: 68px 0 60px;
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 80% 50%, rgba(255,255,255,.04) 0%, transparent 60%);
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: #fff; margin-bottom: 14px; }
.page-hero > .container > p { color: rgba(255,255,255,.75); font-size: 1.12rem; max-width: 560px; margin: 0; }
.breadcrumb { font-size: 0.82rem; color: rgba(255,255,255,.45); margin-bottom: 14px; }
.breadcrumb a { color: rgba(255,255,255,.55); transition: color .15s; }
.breadcrumb a:hover { color: var(--orange); }

/* --- Cards --- */
.card {
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-200);
  overflow: hidden;
  transition: box-shadow 0.22s ease, transform 0.22s ease;
}
.card:hover { box-shadow: var(--shadow-xl); transform: translateY(-4px); }
.card-body { padding: var(--card-pad); }
.card-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.35rem;
  margin-bottom: 18px;
  flex-shrink: 0;
}
.card-icon.blue   { background: var(--blue-light);  }
.card-icon.orange { background: var(--orange-light); }
.card-icon.green  { background: var(--green-light);  }
.card-icon.navy   { background: rgba(27,58,92,.08);  }

/* --- Grids --- */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

/* --- Navigation Cards (Homepage) --- */
.nav-card {
  display: block;
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1.5px solid var(--gray-200);
  padding: 26px 22px;
  text-align: center;
  transition: all 0.2s ease;
  color: var(--text);
  box-shadow: var(--shadow-sm);
}
.nav-card:hover {
  border-color: var(--orange);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  color: var(--text);
}
.nav-card .nav-card-icon { font-size: 2.2rem; margin-bottom: 12px; display: block; }
.nav-card h3 { font-size: 0.95rem; margin-bottom: 5px; color: var(--navy); }
.nav-card p  { font-size: 0.82rem; color: var(--text-muted); margin: 0; line-height: 1.4; }

/* --- Stat Boxes --- */
.stat-box {
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  padding: 28px 24px;
  text-align: center;
  border: 1px solid var(--gray-200);
  position: relative;
  overflow: hidden;
}
.stat-box::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--orange), #f5a469);
  border-radius: var(--radius-md) var(--radius-md) 0 0;
}
.stat-box .number { font-size: 2.1rem; font-weight: 900; color: var(--navy); letter-spacing: -0.04em; line-height: 1; }
.stat-box .label  { font-size: 0.82rem; color: var(--text-muted); margin-top: 6px; line-height: 1.4; }

/* --- CTA / Banner Box --- */
.cta-box {
  background: linear-gradient(145deg, var(--navy-dark) 0%, var(--navy) 60%, #2D6A9F 100%);
  border-radius: var(--radius-xl);
  padding: 64px 56px;
  color: #fff;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-box::before {
  content: '';
  position: absolute;
  top: -40%; right: -10%;
  width: 450px; height: 450px;
  background: rgba(255,255,255,.04);
  border-radius: 50%;
}
.cta-box h2 { color: #fff; margin-bottom: 12px; position: relative; }
.cta-box > p { color: rgba(255,255,255,.75); margin-bottom: 32px; font-size: 1.08rem; position: relative; max-width: 560px; margin-left: auto; margin-right: auto; }

/* --- Email Capture Form --- */
.email-form {
  display: flex;
  gap: 10px;
  max-width: 480px;
  margin: 0 auto;
  flex-wrap: wrap;
}
.email-form input {
  flex: 1;
  min-width: 200px;
  padding: 14px 18px;
  border: 2px solid rgba(255,255,255,.2);
  border-radius: var(--radius-sm);
  font-size: 0.97rem;
  font-family: var(--font);
  outline: none;
  background: rgba(255,255,255,.1);
  color: #fff;
  transition: border-color 0.2s;
}
.email-form input::placeholder { color: rgba(255,255,255,.5); }
.email-form input:focus { border-color: rgba(255,255,255,.5); background: rgba(255,255,255,.15); }

/* --- Affiliate / Sponsor Box --- */
.affiliate-box {
  background: var(--orange-light);
  border: 1.5px solid rgba(224,123,57,.22);
  border-radius: var(--radius-md);
  padding: 32px;
  text-align: center;
}
.affiliate-box .affiliate-label {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--orange);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.affiliate-box h3 { margin-bottom: 8px; color: var(--navy); }
.affiliate-box p  { color: var(--text-muted); font-size: 0.93rem; margin-bottom: 20px; }

/* --- Blog Cards --- */
.blog-card { display: flex; flex-direction: column; }
.blog-tag {
  display: inline-block;
  background: var(--blue-light);
  color: var(--blue);
  padding: 4px 11px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 12px;
}
.blog-meta { font-size: 0.8rem; color: var(--text-muted); margin-bottom: 8px; }
.blog-card h3 { margin-bottom: 10px; font-size: 1.1rem; }
.blog-card h3 a { color: var(--navy); }
.blog-card h3 a:hover { color: var(--orange); }
.blog-card p  { flex: 1; font-size: 0.92rem; color: var(--text-muted); }
.read-more {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--orange);
  font-weight: 600;
  font-size: 0.88rem;
  margin-top: 16px;
  transition: gap 0.15s;
}
.read-more:hover { color: #c96b29; gap: 9px; }

/* --- Business Listing Cards --- */
.business-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px 24px;
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s, transform 0.2s;
}
.business-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.business-icon {
  width: 48px; height: 48px;
  border-radius: 11px;
  background: var(--gray-100);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}
.business-info h4 { margin-bottom: 4px; font-size: 1rem; }
.business-info p  { font-size: 0.87rem; color: var(--text-muted); margin: 0; }
.featured-badge {
  display: inline-block;
  background: var(--orange-light);
  color: var(--orange);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 50px;
  margin-left: 8px;
  vertical-align: middle;
}

/* --- Checklist --- */
.checklist { list-style: none; }
.checklist li {
  padding: 11px 0 11px 36px;
  position: relative;
  border-bottom: 1px solid var(--gray-100);
  font-size: 0.97rem;
  color: var(--gray-700);
}
.checklist li:last-child { border-bottom: none; }
.checklist li::before {
  content: '✓';
  position: absolute;
  left: 0; top: 11px;
  color: var(--green);
  font-weight: 700;
  font-size: 0.75rem;
  background: var(--green-light);
  width: 22px; height: 22px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}

/* --- Tables --- */
.data-table { width: 100%; border-collapse: collapse; font-size: 0.93rem; }
.data-table th {
  background: var(--navy);
  color: #fff;
  padding: 13px 18px;
  text-align: left;
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.data-table th:first-child { border-radius: var(--radius-sm) 0 0 0; }
.data-table th:last-child  { border-radius: 0 var(--radius-sm) 0 0; }
.data-table td { padding: 13px 18px; border-bottom: 1px solid var(--gray-100); }
.data-table tr:last-child td { border-bottom: none; }
.data-table tr:nth-child(even) td { background: var(--gray-50); }
.data-table .positive { color: var(--green);  font-weight: 600; }
.data-table .neutral  { color: var(--blue);   }

/* --- Neighborhood Cards --- */
.neighborhood-card .card-img {
  height: 160px;
  display: flex; align-items: center; justify-content: center;
  font-size: 3rem;
}
.neighborhood-card .card-img.lake     { background: linear-gradient(135deg, #B2D8EA, #5BA4D4); }
.neighborhood-card .card-img.downtown { background: linear-gradient(135deg, #FBDDC5, #F0956A); }
.neighborhood-card .card-img.suburban { background: linear-gradient(135deg, #BDDDB5, #6ABA62); }
.neighborhood-card .card-img.growth   { background: linear-gradient(135deg, #D4C5F9, #8B72D4); }
.vibe-tag {
  display: inline-block;
  padding: 4px 11px;
  border-radius: 50px;
  font-size: 0.76rem;
  font-weight: 600;
  margin-bottom: 10px;
}

/* --- School Rating Badge --- */
.school-rating {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--green-light);
  color: var(--green);
  padding: 4px 11px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 700;
}

/* --- AdSense Placeholder --- */
.ad-unit {
  background: var(--gray-50);
  border: 2px dashed var(--gray-200);
  border-radius: var(--radius-md);
  min-height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-300);
  font-size: 0.8rem;
  text-align: center;
  padding: 20px;
  margin: 36px 0;
}

/* --- Moving Checklist Interaction --- */
.check-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--gray-100);
  transition: background 0.15s;
}
.check-item:last-child { border-bottom: none; }
.check-item:hover { background: var(--gray-50); }
.check-item.done { opacity: .5; }
.check-item.done label { text-decoration: line-through; }
.check-item input[type="checkbox"] {
  width: 20px; height: 20px; margin-top: 2px;
  flex-shrink: 0; cursor: pointer;
  accent-color: var(--green);
}
.check-item label { cursor: pointer; font-size: 0.96rem; line-height: 1.55; }
.check-item label a { color: var(--blue); }
.check-item .note { font-size: 0.81rem; color: var(--text-muted); display: block; margin-top: 3px; }

/* --- Progress Bar --- */
.progress-wrap {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  margin-bottom: 32px;
  box-shadow: var(--shadow-sm);
}
.progress-bar {
  background: var(--gray-100);
  border-radius: 50px; height: 8px;
  margin: 10px 0 6px; overflow: hidden;
}
.progress-bar-fill {
  background: linear-gradient(90deg, var(--green), #4FC38A);
  height: 100%; border-radius: 50px;
  width: 0%; transition: width 0.35s ease;
}
.progress-label { font-size: 0.87rem; color: var(--text-muted); }

/* --- Phase Header --- */
.phase-header {
  background: var(--navy);
  color: #fff;
  padding: 14px 22px;
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
  font-weight: 700;
  font-size: 0.95rem;
  margin-top: 32px;
}
.check-group {
  border: 1px solid var(--gray-200);
  border-top: none;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  overflow: hidden;
  background: var(--white);
}

/* --- Lead Gen Form --- */
.form-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  padding: 40px;
  border: 1.5px solid var(--gray-200);
}
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-weight: 600; font-size: 0.88rem; margin-bottom: 6px; color: var(--gray-700); }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-family: var(--font);
  color: var(--text);
  outline: none;
  transition: border-color 0.18s, box-shadow 0.18s;
  background: var(--white);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(224,123,57,.12);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

/* --- Article Styles --- */
.article-body { max-width: 760px; margin: 0 auto; }
.article-body h2 { margin: 44px 0 16px; }
.article-body h3 { margin: 28px 0 10px; color: var(--navy-dark); }
.article-meta {
  display: flex; gap: 20px; flex-wrap: wrap;
  color: var(--text-muted); font-size: 0.85rem;
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--gray-100);
}
.toc {
  background: var(--blue-light);
  border-radius: var(--radius-md);
  padding: 24px 28px;
  margin-bottom: 40px;
  border: 1px solid rgba(49,130,206,.15);
}
.toc h4 { margin-bottom: 14px; color: var(--navy); }
.toc ol { padding-left: 20px; }
.toc ol li { margin-bottom: 7px; }
.toc a  { color: var(--blue); font-size: 0.93rem; font-weight: 500; }
.pull-quote {
  border-left: 4px solid var(--orange);
  padding: 18px 26px;
  background: var(--orange-light);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 32px 0;
  font-size: 1.08rem;
  font-style: italic;
  color: var(--navy);
  line-height: 1.65;
}

/* --- Footer --- */
.footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,.65);
  padding: 72px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 56px;
}
.footer-brand .logo {
  font-size: 1.25rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 14px;
  letter-spacing: -0.02em;
  display: flex; align-items: center; gap: 8px;
}
.footer-brand .logo span { color: var(--orange); }
.footer-brand p { font-size: 0.88rem; line-height: 1.65; color: rgba(255,255,255,.5); }
.footer h4 { color: #fff; font-size: 0.82rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 18px; }
.footer ul { list-style: none; }
.footer ul li { margin-bottom: 10px; }
.footer ul a { color: rgba(255,255,255,.5); font-size: 0.9rem; transition: color 0.15s; }
.footer ul a:hover { color: var(--orange); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  flex-wrap: wrap;
  gap: 10px;
}
.footer-bottom a { color: rgba(255,255,255,.4); transition: color .15s; }
.footer-bottom a:hover { color: var(--orange); }

/* --- Responsive --- */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 768px) {
  :root { --section-y: 60px; --card-pad: 24px; }
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 68px; left: 0; right: 0;
    background: #fff;
    padding: 16px 20px 20px;
    box-shadow: var(--shadow-lg);
    border-top: 1px solid var(--gray-100);
    gap: 4px;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 10px 14px; width: 100%; }
  .nav-links .nav-cta a { display: block; text-align: center; margin-left: 0; }
  .nav-toggle { display: flex; flex-direction: column; justify-content: center; }
  .nav-inner { position: relative; }
  .hero { padding-top: 72px; }
  .hero-stats { gap: 20px; flex-wrap: wrap; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .cta-box { padding: 40px 28px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero h1 { font-size: 2rem; }
  .form-row { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .grid-4 { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .email-form { flex-direction: column; }
  .email-form input { min-width: unset; }
  .container { padding: 0 20px; }
  .cta-box { padding: 32px 20px; border-radius: var(--radius-lg); }
}
