/* ============================================
   GIVING TAX DAY — givingtaxday.org
   Style system: navy #0d2240 + gold #e8a830
   Fonts: Playfair Display + DM Sans
   ============================================ */

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #1a1a1a;
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

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

/* TYPOGRAPHY */
h1, h2, h3 {
  font-family: 'Playfair Display', serif;
  line-height: 1.2;
}

h1 { font-size: clamp(2rem, 5vw, 2.9rem); font-weight: 700; }
h2 { font-size: clamp(1.5rem, 3vw, 1.9rem); font-weight: 700; color: #0d2240; margin-bottom: 1.25rem; }
h3 { font-size: 1rem; font-weight: 500; font-family: 'DM Sans', sans-serif; }

p {
  font-size: 0.95rem;
  line-height: 1.8;
  color: #555;
}

p + p {
  margin-top: 0.75rem;
}

cite {
  display: block;
  font-size: 0.8rem;
  color: #b07a00;
  margin-top: 0.5rem;
  font-style: normal;
}

/* LAYOUT */
.container {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 3.5rem 0;
}

.section-alt {
  background: #f8f6f1;
}

.section-dark {
  background: #0d2240;
}

.section-dark h2 {
  color: #fff;
}

.section-dark p {
  color: rgba(255, 255, 255, 0.65);
}

/* EYEBROW */
.eyebrow {
  display: block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #e8a830;
  margin-bottom: 1rem;
}

/* HERO */
.hero {
  background: #0d2240;
  color: #fff;
  padding: 4rem 2rem 3.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(0deg, transparent, transparent 59px, rgba(255,255,255,0.025) 59px, rgba(255,255,255,0.025) 60px),
    repeating-linear-gradient(90deg, transparent, transparent 59px, rgba(255,255,255,0.025) 59px, rgba(255,255,255,0.025) 60px);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #e8a830, #f5c842, #e8a830);
}

.logo-line {
  display: block;
  font-size: 10px;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: rgba(232, 168, 48, 0.7);
  margin-bottom: 2.5rem;
  font-weight: 400;
  position: relative;
}

.hero-date {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(232, 168, 48, 0.12);
  border: 1px solid rgba(232, 168, 48, 0.35);
  color: #e8a830;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  padding: 7px 20px;
  border-radius: 40px;
  margin-bottom: 2rem;
  position: relative;
}

.hero h1 {
  color: #fff;
  max-width: 640px;
  margin: 0 auto 1.25rem;
  position: relative;
}

.hero h1 em {
  color: #e8a830;
  font-style: italic;
}

.hero-lead {
  font-size: 1rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.7);
  max-width: 500px;
  margin: 0 auto;
  line-height: 1.8;
  position: relative;
}

/* INSIGHT BOX */
.insight-box {
  border-left: 3px solid #e8a830;
  padding: 1.1rem 1.25rem;
  background: #fef9ef;
  margin: 1.75rem 0;
  border-radius: 0 8px 8px 0;
}

.insight-box p {
  color: #5a3d00;
  font-style: italic;
  font-size: 0.9rem;
  margin: 0;
}

/* DEDUCTION VISUAL */
.deduction-visual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 1.75rem 0;
}

.ded-box {
  border-radius: 10px;
  padding: 1.5rem 1.25rem;
  text-align: center;
}

.ded-box.single {
  background: #f0f4fa;
  border: 1px solid #c8d8ee;
}

.ded-box.joint {
  background: #fef4e0;
  border: 1px solid #f0d080;
}

.ded-amount {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: #0d2240;
  line-height: 1;
}

.ded-type {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #888;
  margin-top: 8px;
}

.ded-saving {
  font-size: 12px;
  color: #4a7c40;
  font-weight: 500;
  margin-top: 10px;
}

/* MARÍA CARD */
.maria-wrap {
  background: #fff;
  border: 1px solid #e8dcc8;
  border-radius: 14px;
  overflow: hidden;
  margin: 2rem 0;
  box-shadow: 0 2px 20px rgba(13, 34, 64, 0.06);
}

.maria-top {
  background: #0d2240;
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.maria-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #e8a830;
  color: #0d2240;
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.maria-name {
  color: #fff;
  font-size: 0.95rem;
  font-weight: 500;
}

.maria-role {
  color: rgba(255, 255, 255, 0.55);
  font-size: 12px;
  margin-top: 2px;
}

.maria-body {
  padding: 1.25rem 1.5rem;
}

.maria-body p {
  font-size: 0.875rem;
  color: #555;
  line-height: 1.75;
}

.maria-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1px;
  background: #f0ece4;
  margin-top: 1.25rem;
  border-radius: 8px;
  overflow: hidden;
}

.maria-cell {
  background: #fff;
  padding: 1rem;
  text-align: center;
}

.maria-cell.highlight {
  background: #fef9ef;
}

.maria-cell-num {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #0d2240;
}

.maria-cell.highlight .maria-cell-num {
  color: #c88a00;
}

.maria-cell-lbl {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #aaa;
  margin-top: 4px;
}

.maria-question {
  background: #0d2240;
  padding: 1rem 1.5rem;
  text-align: center;
}

.maria-question p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.875rem;
  font-style: italic;
  margin: 0;
}

.maria-question em {
  color: #e8a830;
}

/* BAND */
.band {
  background: #e8a830;
  padding: 1.75rem 2rem;
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
}

.band-stat {
  text-align: center;
}

.band-num {
  font-family: 'Playfair Display', serif;
  font-size: 1.7rem;
  font-weight: 700;
  color: #0d2240;
}

.band-lbl {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: rgba(13, 34, 64, 0.65);
  margin-top: 4px;
}

/* BIG NUMBER */
.big-number {
  text-align: center;
  padding: 2rem 0 1.5rem;
}

.big-n {
  font-family: 'Playfair Display', serif;
  font-size: clamp(3.5rem, 10vw, 5rem);
  font-weight: 700;
  color: #e8a830;
  line-height: 1;
}

.big-n-sub {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.4);
  margin-top: 8px;
  letter-spacing: 0.5px;
}

.opportunity-close {
  color: #e8a830 !important;
  font-weight: 500;
  margin-top: 1rem;
}

/* CREDIBILITY BAR */
.credibility-bar {
  display: flex;
  gap: 0;
  margin-top: 2.5rem;
  border: 1px solid rgba(232, 168, 48, 0.2);
  border-radius: 10px;
  overflow: hidden;
  flex-wrap: wrap;
}

.cred-item {
  flex: 1;
  min-width: 160px;
  padding: 1rem 1.25rem;
  background: rgba(255, 255, 255, 0.04);
}

.cred-divider {
  width: 1px;
  background: rgba(232, 168, 48, 0.2);
}

.cred-source {
  display: block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #e8a830;
  margin-bottom: 4px;
}

.cred-fact {
  display: block;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.5;
}

/* WHY CARDS */
.why-card {
  background: #fff;
  border: 1px solid #e8dcc8;
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 1rem;
}

.why-card h3 {
  font-size: 0.95rem;
  font-weight: 500;
  color: #0d2240;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.why-card h3 i {
  color: #e8a830;
  font-size: 18px;
}

.why-card p {
  font-size: 0.875rem;
  color: #666;
  margin: 0;
  line-height: 1.75;
}

/* VISION SPLIT */
.vision-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: #e8dcc8;
  border-radius: 12px;
  overflow: hidden;
  margin: 1.75rem 0;
}

.vs-cell {
  padding: 1.5rem;
  background: #fff;
}

.vs-cell-dark {
  background: #0d2240;
}

.vs-label {
  display: block;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 600;
  color: #bbb;
  margin-bottom: 0.75rem;
}

.vs-label-gold {
  color: #e8a830;
}

.vs-cell p {
  font-size: 0.875rem;
  color: #bbb;
  line-height: 1.7;
  text-decoration: line-through;
  text-decoration-color: #ddd;
}

.vs-cell-dark p {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
}

/* JOURNEY / ROADMAP */
.journey {
  display: grid;
  gap: 1rem;
  margin: 2rem 0;
}

.j-card {
  border: 1px solid #e8dcc8;
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  transition: border-color 0.2s;
}

.j-card-active {
  border-color: #0d2240;
  background: #f5f7fa;
}

.j-card-future {
  border-color: #e8a830;
  background: #fef9ef;
}

.j-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #f0ece4;
  color: #0d2240;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.j-icon-active {
  background: #0d2240;
  color: #e8a830;
}

.j-icon-future {
  background: #e8a830;
  color: #0d2240;
}

.j-you {
  display: inline-block;
  background: #e8a830;
  color: #0d2240;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 6px;
}

.j-tag {
  display: block;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 600;
  color: #aaa;
  margin-bottom: 5px;
}

.j-tag-active { color: #0d2240; }
.j-tag-future { color: #c88a00; }

.j-card h3 {
  font-size: 0.9rem;
  font-weight: 500;
  color: #0d2240;
  margin-bottom: 5px;
}

.j-card p {
  font-size: 0.83rem;
  color: #777;
  line-height: 1.65;
}

.j-card p em {
  color: #0d2240;
  font-style: italic;
}

/* CTA SECTION */
.cta-section {
  background: #e8a830;
  padding: 3rem 2rem;
  text-align: center;
}

.cta-section h2 {
  color: #0d2240;
  margin-bottom: 0.75rem;
}

.cta-section p {
  color: rgba(13, 34, 64, 0.72);
  max-width: 520px;
  margin: 0 auto 1.75rem;
  font-size: 0.95rem;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-navy {
  display: inline-block;
  background: #0d2240;
  color: #fff;
  padding: 13px 32px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.2s, transform 0.1s;
}

.btn-navy:hover {
  background: #1a3d6e;
  transform: translateY(-1px);
}

.btn-ghost {
  display: inline-block;
  background: transparent;
  color: #0d2240;
  padding: 12px 28px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  border: 2px solid rgba(13, 34, 64, 0.4);
  text-decoration: none;
  transition: border-color 0.2s, transform 0.1s;
}

.btn-ghost:hover {
  border-color: #0d2240;
  transform: translateY(-1px);
}

/* FOOTER */
.site-footer {
  background: #0d2240;
  padding: 2rem 0;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
  flex-wrap: wrap;
}

.footer-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  font-weight: 700;
  color: #e8a830;
  display: block;
  margin-bottom: 4px;
}

.footer-tagline {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.35);
  letter-spacing: 1px;
}

.footer-sources p {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.35);
  line-height: 1.7;
  text-align: right;
}

.footer-sources p strong {
  color: rgba(255, 255, 255, 0.55);
}

/* ANIMATIONS */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero h1,
.hero-lead,
.hero-date {
  animation: fadeUp 0.7s ease both;
}

.hero-date { animation-delay: 0.1s; }
.hero h1   { animation-delay: 0.25s; }
.hero-lead { animation-delay: 0.45s; }

/* RESPONSIVE */
@media (max-width: 600px) {
  .deduction-visual {
    grid-template-columns: 1fr;
  }

  .vision-split {
    grid-template-columns: 1fr;
  }

  .vs-cell p {
    text-decoration: none;
    color: #aaa;
  }

  .band {
    gap: 1.5rem;
  }

  .credibility-bar {
    flex-direction: column;
  }

  .cred-divider {
    width: 100%;
    height: 1px;
  }

  .footer-inner {
    flex-direction: column;
  }

  .footer-sources p {
    text-align: left;
  }

  .j-card {
    flex-direction: column;
    gap: 0.75rem;
  }
}

@media (max-width: 400px) {
  .maria-row {
    grid-template-columns: 1fr;
  }
}
