/* ============================================
   Jefferson County Tax Assistance
   Palette: Crimson #9E1B32 / White / Charcoal
   ============================================ */

:root {
  --crimson: #9E1B32;
  --crimson-dark: #7d1527;
  --crimson-deep: #5e1d2a;
  --charcoal: #1f2328;
  --gray-900: #1f2328;
  --gray-700: #3d4148;
  --gray-600: #5b616b;
  --gray-400: #9aa0a6;
  --gray-200: #e5e7eb;
  --gray-100: #f3f4f6;
  --gray-50:  #f8f9fb;
  --white: #ffffff;
  --shadow-sm: 0 1px 2px rgba(15,17,21,.06);
  --shadow-md: 0 6px 24px rgba(15,17,21,.08);
  --radius: 6px;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  color: var(--gray-900);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  font-size: 17px;
}

h1, h2, h3, h4 {
  font-family: 'Source Serif 4', 'Source Serif Pro', Georgia, serif;
  font-weight: 700;
  color: var(--charcoal);
  line-height: 1.2;
  margin: 0 0 .6em;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2rem, 4.4vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
h3 { font-size: 1.25rem; }
h4 { font-size: 1rem; }

p { margin: 0 0 1em; }
a { color: var(--crimson); text-decoration: none; }
a:hover { text-decoration: underline; }

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: .01em;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all .18s ease;
  text-decoration: none !important;
  white-space: nowrap;
}
.btn-large { padding: 15px 28px; font-size: 16px; }
.btn-block { width: 100%; }

.btn-primary {
  background: var(--crimson);
  color: #fff;
  border-color: var(--crimson);
  box-shadow: 0 2px 0 rgba(0,0,0,.04);
}
.btn-primary:hover { background: var(--crimson-dark); border-color: var(--crimson-dark); }

.btn-ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,.7);
}
.btn-ghost:hover { background: rgba(255,255,255,.12); border-color: #fff; }

.btn-white {
  background: #fff;
  color: var(--crimson);
  border-color: #fff;
}
.btn-white:hover { background: #f3f3f3; color: var(--crimson-dark); }

.btn-header { padding: 10px 18px; font-size: 14px; }

/* ============================================
   TOP BAR + HEADER
   ============================================ */
.topbar {
  background: var(--charcoal);
  color: #d4d7dd;
  font-size: 13px;
}
.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 8px;
  padding-bottom: 8px;
}
.topbar-phone { color: #fff; font-weight: 600; }
.topbar-phone:hover { color: #fff; text-decoration: underline; }

.header {
  background: #fff;
  border-bottom: 1px solid var(--gray-200);
  position: sticky;
  top: 0;
  z-index: 50;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  padding-bottom: 16px;
  gap: 24px;
}
.logo {
  display: flex;
  align-items: center;
  text-decoration: none !important;
}
.logo-img {
  height: 56px;
  width: auto;
  display: block;
}
@media (max-width: 560px) {
  .logo-img { height: 44px; }
}
.nav {
  display: flex;
  gap: 28px;
  margin-left: auto;
  margin-right: 24px;
}
.nav a {
  color: var(--gray-700);
  font-weight: 500;
  font-size: 15px;
}
.nav a:hover { color: var(--crimson); text-decoration: none; }

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: center;
  color: #fff;
  overflow: hidden;
}
.hero-image {
  position: absolute;
  inset: 0;
  background-image: url('images/hero-skyline.png');
  background-size: cover;
  background-position: center;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, rgba(94,29,42,.92) 0%, rgba(158,27,50,.78) 45%, rgba(31,35,40,.55) 100%);
}
.hero-content {
  position: relative;
  padding: 90px 24px 100px;
  max-width: 880px;
}
.hero h1 {
  color: #fff;
  margin-bottom: 18px;
}
.hero-sub {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: clamp(1.15rem, 1.9vw, 1.45rem);
  font-weight: 400;
  color: #fff;
  margin-bottom: 14px;
  max-width: 720px;
  line-height: 1.4;
}
.hero-body {
  font-size: 1.05rem;
  color: rgba(255,255,255,.92);
  max-width: 660px;
  margin-bottom: 32px;
}
.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(255,255,255,.15);
  padding: 6px 14px;
  border-radius: 30px;
  margin-bottom: 22px;
}
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }

/* ============================================
   VIDEO SECTION
   ============================================ */
.video-section { background: var(--gray-50); padding: 80px 0; }
.video-wrap {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 56px;
  align-items: center;
}
.video-intro p { color: var(--gray-700); font-size: 1.02rem; }
.video-player {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: #000;
  aspect-ratio: 16 / 9;
}
.video-player video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
@media (max-width: 900px) {
  .video-wrap { grid-template-columns: 1fr; gap: 28px; }
}

/* ============================================
   STRIP
   ============================================ */
.strip {
  background: var(--crimson);
  color: #fff;
}
.strip-inner {
  padding: 22px 24px;
  text-align: center;
}
.strip p { margin: 0; font-size: 15px; }
.strip strong { font-weight: 600; }

/* ============================================
   SECTIONS
   ============================================ */
.section {
  padding: 84px 0;
}
.section-gray { background: var(--gray-50); }

.section-eyebrow {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--crimson);
  margin-bottom: 14px;
}

.two-col {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: center;
}
.two-col.reverse .two-col-text { order: 2; }
.two-col.reverse .two-col-image { order: 1; }

.two-col-text p { color: var(--gray-700); font-size: 1.02rem; }
.two-col-image img {
  width: 100%;
  height: 100%;
  max-height: 460px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow-md);
  display: block;
}

.checklist {
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
}
.checklist li {
  padding: 8px 0 8px 32px;
  position: relative;
  color: var(--gray-700);
}
.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  width: 20px;
  height: 20px;
  background: var(--crimson);
  border-radius: 50%;
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='white' d='M9 16.2l-3.5-3.5L4 14.2 9 19.2 20 8.2l-1.5-1.5z'/></svg>") center/14px no-repeat;
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='white' d='M9 16.2l-3.5-3.5L4 14.2 9 19.2 20 8.2l-1.5-1.5z'/></svg>") center/14px no-repeat;
}

/* ============================================
   PILLARS
   ============================================ */
.pillar-header { text-align: center; margin-bottom: 48px; }
.pillar-header .section-eyebrow { display: block; }

.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.pillar {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease;
}
.pillar:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.pillar-icon {
  width: 52px;
  height: 52px;
  border-radius: 8px;
  background: rgba(158,27,50,.08);
  color: var(--crimson);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.pillar-icon svg { width: 26px; height: 26px; }
.pillar h3 { margin-bottom: 10px; }
.pillar p { color: var(--gray-700); font-size: .98rem; margin: 0; }

/* ============================================
   CTA BANNER
   ============================================ */
.cta-banner {
  background: linear-gradient(135deg, var(--crimson-deep) 0%, var(--crimson) 100%);
  color: #fff;
  padding: 56px 0;
}
.cta-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.cta-banner h2 { color: #fff; margin-bottom: 8px; font-size: clamp(1.4rem, 2.4vw, 1.9rem); }
.cta-banner p { margin: 0; color: rgba(255,255,255,.92); }
.cta-banner p a { color: #fff; text-decoration: underline; font-weight: 600; }
.cta-banner .btn-white { color: var(--crimson); text-decoration: none; }
.cta-banner .btn-white:hover { color: var(--crimson-dark); }

/* ============================================
   FORM
   ============================================ */
.form-wrap {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 56px;
  align-items: start;
}
.form-intro p { color: var(--gray-700); }
.contact-line { margin-top: 10px; font-size: 1rem; color: var(--gray-700); }
.contact-line strong { color: var(--charcoal); }

.lead-form {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: 10px;
  padding: 32px;
  box-shadow: var(--shadow-md);
}
.row { margin-bottom: 16px; }
.row.two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.lead-form label { display: block; }
.lead-form span {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 6px;
  letter-spacing: .02em;
}
.lead-form input, .lead-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--gray-200);
  border-radius: 6px;
  font-size: 15px;
  font-family: inherit;
  color: var(--charcoal);
  background: #fff;
  transition: border-color .15s, box-shadow .15s;
}
.lead-form input:focus, .lead-form textarea:focus {
  outline: none;
  border-color: var(--crimson);
  box-shadow: 0 0 0 3px rgba(158,27,50,.15);
}
.lead-form textarea { resize: vertical; }
.form-note { font-size: 12px; color: var(--gray-600); margin: 14px 0 0; text-align: center; }
.form-success {
  margin-top: 16px;
  padding: 12px 16px;
  background: #e8f5ec;
  color: #1c6b34;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--charcoal);
  color: #c7cad0;
  padding-top: 56px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
}
.footer-logo {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  display: block;
  margin-bottom: 10px;
}
.footer-brand p { font-size: .95rem; color: #b3b7be; max-width: 380px; }
.footer-col h4 { color: #fff; margin-bottom: 12px; font-family: 'Inter', sans-serif; font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; }
.footer-col p { font-size: .95rem; margin: 4px 0; }
.footer a { color: #d4d7dd; }
.footer a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 20px 0;
  font-size: 13px;
  color: #9aa0a6;
}
.footer-bottom .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 900px) {
  .nav { display: none; }
  .btn-header { display: none; }
  .two-col { grid-template-columns: 1fr; gap: 36px; }
  .two-col.reverse .two-col-text { order: 2; }
  .two-col.reverse .two-col-image { order: 1; }
  .pillars { grid-template-columns: 1fr; }
  .form-wrap { grid-template-columns: 1fr; gap: 32px; }
  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
  .hero-content { padding: 70px 24px 80px; }
  .section { padding: 60px 0; }
  .cta-banner-inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 560px) {
  .topbar-inner { flex-direction: column; gap: 4px; padding-top: 10px; padding-bottom: 10px; text-align: center; }
  .logo-line1 { font-size: 14px; }
  .logo-line2 { font-size: 16px; }
  .row.two { grid-template-columns: 1fr; }
  .lead-form { padding: 22px; }
}
