/* ============================================================
   Conder, Kletchka & Associates, CPAs — Amarillo, TX
   Shared stylesheet — Classic Professional (navy + gold)
   ============================================================ */

:root {
  --navy: #0e2a47;
  --navy-dark: #0a1f36;
  --navy-light: #16406b;
  --gold: #c8a24a;
  --gold-dark: #a9863a;
  --gold-light: #e3c982;
  --ink: #1c2733;
  --muted: #5a6672;
  --line: #dfe4ea;
  --bg: #ffffff;
  --bg-alt: #f5f7fa;
  --bg-navy-tint: #eef2f7;
  --success: #2f7d4f;
  --radius: 8px;
  --shadow: 0 6px 24px rgba(14, 42, 71, 0.10);
  --shadow-sm: 0 2px 8px rgba(14, 42, 71, 0.08);
  --serif: "Georgia", "Times New Roman", serif;
  --sans: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --maxw: 1140px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 17px;
}

h1, h2, h3, h4 {
  font-family: var(--serif);
  color: var(--navy);
  line-height: 1.2;
  margin: 0 0 0.5em;
  font-weight: 700;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.35rem; }

p { margin: 0 0 1.1em; }

a { color: var(--navy-light); text-decoration: none; }
a:hover { color: var(--gold-dark); text-decoration: underline; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }

.section { padding: 68px 0; }
.section-alt { background: var(--bg-alt); }
.section-navy { background: var(--navy); color: #eaf0f7; }
.section-navy h1, .section-navy h2, .section-navy h3 { color: #fff; }
.section-navy p { color: #cdd8e6; }

.eyebrow {
  display: inline-block;
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--gold-dark);
  margin-bottom: 10px;
}
.section-navy .eyebrow { color: var(--gold-light); }

.lead { font-size: 1.2rem; color: var(--muted); max-width: 760px; }
.section-navy .lead { color: #d6e0ec; }

.center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 14px 26px;
  border-radius: var(--radius);
  font-weight: 700;
  font-family: var(--sans);
  font-size: 1rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.18s ease;
  text-align: center;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-gold { background: var(--gold); color: var(--navy-dark); border-color: var(--gold); }
.btn-gold:hover { background: var(--gold-dark); border-color: var(--gold-dark); color: #fff; }
.btn-navy { background: var(--navy); color: #fff; border-color: var(--navy); }
.btn-navy:hover { background: var(--navy-dark); color: #fff; }
.btn-outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-outline-light { background: transparent; color: #fff; border-color: #fff; }
.btn-outline-light:hover { background: #fff; color: var(--navy); }
.btn-lg { padding: 16px 34px; font-size: 1.08rem; }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.btn-row.center { justify-content: center; }

/* ---------- Top bar ---------- */
.topbar {
  background: var(--navy-dark);
  color: #d8e2ee;
  font-size: 0.9rem;
  padding: 7px 0;
}
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.topbar a { color: var(--gold-light); font-weight: 600; }
.topbar .topbar-note { font-weight: 600; color: #fff; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: #fff;
  border-bottom: 3px solid var(--gold);
  box-shadow: var(--shadow-sm);
}
.nav { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
  width: 46px; height: 46px; flex: 0 0 46px;
  background: var(--navy); color: var(--gold-light);
  border-radius: 6px; display: grid; place-items: center;
  font-family: var(--serif); font-weight: 700; font-size: 1.15rem; letter-spacing: 1px;
}
.brand-logo { height: 66px; width: auto; max-width: 360px; display: block; }
@media (max-width: 560px) { .brand-logo { height: 48px; max-width: 230px; } }
/* count-up: keep numbers from reflowing while animating */
.stat-num { font-variant-numeric: tabular-nums; }
.brand-text strong { display: block; font-family: var(--serif); color: var(--navy); font-size: 1.15rem; line-height: 1.1; }
.brand-text span { font-size: 0.76rem; color: var(--muted); letter-spacing: 0.04em; }

.menu { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.menu a {
  display: block; padding: 10px 14px; color: var(--navy); font-weight: 600; border-radius: 6px;
}
.menu a:hover, .menu a.active { background: var(--bg-navy-tint); color: var(--navy); text-decoration: none; }
.menu .menu-cta a { background: var(--gold); color: var(--navy-dark); }
.menu .menu-cta a:hover { background: var(--gold-dark); color: #fff; }
/* keep the 6-item nav on one line on mid-width desktops */
@media (min-width: 901px) and (max-width: 1200px) {
  .menu { gap: 0; }
  .menu a { padding: 10px 10px; font-size: 0.95rem; }
  .brand-logo { height: 56px; }
}

.nav-toggle { display: none; background: var(--navy); color: #fff; border: 0; padding: 10px 14px; border-radius: 6px; font-size: 1.2rem; cursor: pointer; }

/* ---------- Hero ---------- */
.hero {
  background:
    linear-gradient(rgba(10, 31, 54, 0.86), rgba(10, 31, 54, 0.92)),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60'%3E%3Cpath d='M0 59h60M0 0v60' stroke='%23ffffff' stroke-opacity='0.05' fill='none'/%3E%3C/svg%3E");
  color: #fff;
  padding: 92px 0;
}
.hero h1 { color: #fff; max-width: 900px; }
.hero .lead { color: #dbe6f2; }
.hero-highlight { color: var(--gold-light); }
/* hero background video */
.hero { position: relative; overflow: hidden; }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.hero-overlay { position: absolute; inset: 0; z-index: 1; background: linear-gradient(rgba(10,31,54,0.82), rgba(10,31,54,0.90)); }
.hero-content { position: relative; z-index: 2; }
@media (prefers-reduced-motion: reduce) { .hero-video { display: none; } }

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

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow-sm); height: 100%;
}
.card h3 { margin-top: 6px; }
.card .card-icon {
  width: 52px; height: 52px; border-radius: 10px; background: var(--bg-navy-tint);
  display: grid; place-items: center; margin-bottom: 14px; font-size: 1.5rem;
}

/* ---------- Stat band ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
@media (max-width: 900px) and (min-width: 561px) { .stats { grid-template-columns: repeat(2, 1fr); } }
.stat .stat-num { font-family: var(--serif); font-size: 2.9rem; color: var(--gold-light); font-weight: 700; line-height: 1; }
.stat .stat-label { color: #cdd8e6; margin-top: 8px; font-weight: 600; letter-spacing: 0.03em; }

/* ---------- Feature list ---------- */
.checklist { list-style: none; padding: 0; margin: 0; }
.checklist li { position: relative; padding: 8px 0 8px 34px; }
.checklist li::before {
  content: "✓"; position: absolute; left: 0; top: 8px;
  color: var(--gold-dark); font-weight: 800; background: var(--bg-navy-tint);
  width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-size: 0.85rem;
}

/* ---------- Human-first callout ---------- */
.human-band {
  background: var(--gold);
  color: var(--navy-dark);
  border-radius: var(--radius);
  padding: 30px 34px;
  display: flex; align-items: center; gap: 24px; flex-wrap: wrap;
  box-shadow: var(--shadow);
}
.human-band .hb-icon { font-size: 2.6rem; }
.human-band h3 { color: var(--navy-dark); margin: 0 0 4px; }
.human-band p { margin: 0; color: #3a2f12; font-weight: 500; }
.human-band .hb-text { flex: 1 1 320px; }

/* ---------- Split section ---------- */
.split { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: center; }

/* ---------- Boxes for CTA (SafeSend / Newsletter) ---------- */
.cta-box {
  background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--gold);
  border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow-sm); height: 100%;
}
.cta-box h3 { margin-top: 0; }

/* ---------- Forms ---------- */
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 600; margin-bottom: 6px; color: var(--navy); font-size: 0.95rem; }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 6px;
  font-size: 1rem; font-family: var(--sans); background: #fff; color: var(--ink);
}
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--gold); border-color: var(--gold); }
.field textarea { min-height: 130px; resize: vertical; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.newsletter-inline { display: flex; gap: 10px; flex-wrap: wrap; }
.newsletter-inline input { flex: 1 1 220px; }

.placeholder-note {
  font-size: 0.82rem; color: var(--muted); background: #fff7e6; border: 1px dashed var(--gold-dark);
  border-radius: 6px; padding: 8px 12px; margin-top: 10px;
}

/* ---------- Breadcrumb / page hero ---------- */
.page-hero { background: var(--navy); color: #fff; padding: 56px 0; }
.page-hero h1 { color: #fff; margin-bottom: 8px; }
.page-hero p { color: #cdd8e6; margin: 0; max-width: 760px; }
.crumb { font-size: 0.85rem; color: var(--gold-light); margin-bottom: 14px; letter-spacing: 0.03em; }
.crumb a { color: var(--gold-light); }

/* ---------- Info rows ---------- */
.info-list { list-style: none; padding: 0; margin: 0; }
.info-list li { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.info-list li:last-child { border-bottom: 0; }
.info-list .ico { color: var(--gold-dark); font-weight: 800; flex: 0 0 22px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-dark); color: #b9c6d6; padding: 56px 0 26px; font-size: 0.95rem; }
.site-footer h4 { color: #fff; font-family: var(--sans); font-size: 1rem; letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: 14px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 34px; }
.site-footer a { color: #cdd8e6; }
.site-footer a:hover { color: var(--gold-light); }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 9px; }
.footer-brand strong { color: #fff; font-family: var(--serif); font-size: 1.2rem; display: block; margin-bottom: 8px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.12); margin-top: 34px; padding-top: 20px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; color: #8ea0b4; font-size: 0.85rem; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

/* ---------- Deadlines table ---------- */
.dates-table { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.dates-table th, .dates-table td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
.dates-table thead th { background: var(--navy); color: #fff; font-family: var(--sans); font-size: 0.82rem; letter-spacing: 0.06em; text-transform: uppercase; }
.dates-table tbody tr:last-child td { border-bottom: 0; }
.dates-table tbody tr:nth-child(even) { background: var(--bg-alt); }
.dates-table .date-cell { white-space: nowrap; font-weight: 700; color: var(--navy); font-family: var(--serif); width: 130px; }
.date-tag { display: inline-block; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; padding: 3px 9px; border-radius: 20px; }
.date-tag.personal { background: #e6eefb; color: #16406b; }
.date-tag.business { background: #eaf4ec; color: #1d5c37; }
.date-tag.payroll { background: #fff2d6; color: #8a6a12; }
.dates-note { font-size: 0.85rem; color: var(--muted); margin-top: 14px; }
@media (max-width: 640px) {
  .dates-table th, .dates-table td { padding: 11px 12px; font-size: 0.92rem; }
  .dates-table .date-cell { width: auto; }
}

/* ---------- IRS deadline ticker ---------- */
.irs-ticker { display: flex; align-items: stretch; background: var(--navy-dark); color: #eaf0f7; border-bottom: 1px solid rgba(255,255,255,0.12); font-size: 0.9rem; overflow: hidden; }
.irs-ticker-label { display: flex; align-items: center; gap: 6px; background: var(--gold); color: var(--navy-dark); font-weight: 800; letter-spacing: 0.05em; text-transform: uppercase; font-size: 0.72rem; padding: 0 16px; white-space: nowrap; flex: 0 0 auto; }
.irs-ticker-viewport { position: relative; overflow: hidden; flex: 1 1 auto; }
.irs-ticker-track { display: inline-flex; align-items: center; white-space: nowrap; will-change: transform; animation: irs-scroll 60s linear infinite; }
.irs-ticker:hover .irs-ticker-track { animation-play-state: paused; }
.irs-chip { display: inline-flex; align-items: center; gap: 8px; padding: 9px 20px; cursor: pointer; border-right: 1px solid rgba(255,255,255,0.08); }
.irs-chip:hover { background: rgba(255,255,255,0.10); }
.irs-chip .irs-date { color: var(--gold-light); font-weight: 700; }
.irs-chip strong { color: #fff; font-weight: 700; }
.irs-chip .irs-soon { background: var(--gold); color: var(--navy-dark); font-size: 0.64rem; font-weight: 800; letter-spacing: 0.05em; text-transform: uppercase; padding: 2px 7px; border-radius: 20px; }
@keyframes irs-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.irs-tip { position: fixed; z-index: 200; max-width: 320px; background: #fff; color: var(--ink); border: 1px solid var(--line); border-top: 3px solid var(--gold); border-radius: 8px; box-shadow: var(--shadow); padding: 12px 14px; font-size: 0.9rem; line-height: 1.5; pointer-events: none; opacity: 0; transform: translateY(4px); transition: opacity 0.12s ease, transform 0.12s ease; }
.irs-tip.show { opacity: 1; transform: translateY(0); }
.irs-tip .irs-tip-title { font-family: var(--serif); color: var(--navy); font-weight: 700; margin-bottom: 4px; display: block; }
@media (prefers-reduced-motion: reduce) { .irs-ticker-track { animation: none; } .irs-ticker-viewport { overflow-x: auto; } }
@media (max-width: 560px) { .irs-ticker-label { font-size: 0.64rem; padding: 0 10px; } .irs-chip { padding: 9px 14px; } }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  h1 { font-size: 2rem; } h2 { font-size: 1.6rem; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; gap: 30px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .nav-toggle { display: block; }
  .menu {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; background: #fff;
    border-bottom: 3px solid var(--gold); padding: 10px 16px 18px; gap: 2px;
    box-shadow: var(--shadow);
  }
  .menu.open { display: flex; }
  .site-header .container { position: relative; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
  .topbar { font-size: 0.82rem; }
}
