/* ===== DESIGN TOKENS ===== */
:root {
  --spd-red: #e3000f;
  --spd-red-dark: #b8000c;
  --spd-red-deeper: #8c0009;
  --spd-black: #1a1a1a;
  --spd-gray-dark: #333333;
  --spd-gray: #666666;
  --spd-gray-light: #f4f4f4;
  --spd-gray-mid: #e8e8e8;
  --spd-white: #ffffff;

  --font-main: 'Segoe UI', Arial, Helvetica, sans-serif;
  --font-size-base: 1rem;
  --line-height-base: 1.6;

  --radius: 8px;
  --radius-lg: 16px;
  --shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
  --shadow-hover: 0 6px 24px rgba(0, 0, 0, 0.18);

  --nav-height: 64px;
  --transition: 0.25s ease;
}

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

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

body {
  font-family: var(--font-main);
  font-size: var(--font-size-base);
  line-height: var(--line-height-base);
  color: var(--spd-black);
  background: var(--spd-white);
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

/* ===== LAYOUT HELPERS ===== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 5rem 0;
}

.section-light {
  background: var(--spd-white);
}

.section-gray {
  background: var(--spd-gray-light);
}

.section-red {
  background: var(--spd-red);
  color: var(--spd-white);
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 0.75rem;
  color: var(--spd-black);
}

.section-title--white {
  color: var(--spd-white);
}

.section-subtitle {
  text-align: center;
  font-size: 1.1rem;
  color: var(--spd-gray);
  max-width: 680px;
  margin: 0 auto 3rem;
}

.section-subtitle--white {
  color: rgba(255, 255, 255, 0.88);
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), transform var(--transition), box-shadow var(--transition);
  border: 2px solid transparent;
}

.btn-primary {
  background: var(--spd-red);
  color: var(--spd-white);
  border-color: var(--spd-red);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--spd-red-dark);
  border-color: var(--spd-red-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

.btn-secondary {
  background: transparent;
  color: var(--spd-white);
  border-color: var(--spd-white);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  background: var(--spd-white);
  color: var(--spd-red);
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

.btn-white {
  background: var(--spd-white);
  color: var(--spd-red);
  border-color: var(--spd-white);
}

.btn-white:hover,
.btn-white:focus-visible {
  background: var(--spd-gray-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

/* ===== NAVBAR ===== */
#site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--spd-red);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-height);
}

.nav-logo-group {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.spd-logo-img {
  height: 48px;
  width: auto;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.nav-logo {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.logo-spd {
  color: var(--spd-white);
  background: rgba(255, 255, 255, 0.18);
  padding: 0.1rem 0.45rem;
  border-radius: 4px;
  margin-right: 0.2rem;
}

.logo-city {
  color: var(--spd-white);
}

.nav-menu {
  display: flex;
  gap: 0.25rem;
  align-items: center;
}

.nav-link {
  color: var(--spd-white);
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-weight: 500;
  transition: background var(--transition);
}

.nav-link:hover,
.nav-link:focus-visible {
  background: rgba(255, 255, 255, 0.18);
}

.nav-cta {
  background: var(--spd-white);
  color: var(--spd-red) !important;
  font-weight: 700;
  padding: 0.5rem 1.2rem;
}

.nav-cta:hover,
.nav-cta:focus-visible {
  background: var(--spd-gray-light);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.nav-toggle span {
  display: block;
  height: 3px;
  background: var(--spd-white);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

/* ===== HERO ===== */
.hero {
  position: relative;
  background: linear-gradient(135deg, var(--spd-red) 0%, var(--spd-red-deeper) 100%);
  color: var(--spd-white);
  padding: 6rem 0 8rem;
  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='%23ffffff' 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");
  pointer-events: none;
}

.hero-content {
  position: relative;
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
}

.hero-eyebrow {
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  opacity: 0.85;
  margin-bottom: 1rem;
}

.hero-title {
  font-size: clamp(2rem, 6vw, 3.6rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1.25rem;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto 2.5rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-wave {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  line-height: 0;
}

.hero-wave svg {
  width: 100%;
  height: 60px;
}

/* ===== THEMES GRID ===== */
.themes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

.theme-card {
  background: var(--spd-white);
  border: 1px solid var(--spd-gray-mid);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.theme-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: var(--spd-red);
}

.theme-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.theme-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
  color: var(--spd-black);
}

.theme-card p {
  font-size: 0.95rem;
  color: var(--spd-gray);
  margin-bottom: 1rem;
}

.theme-card ul {
  list-style: none;
}

.theme-card ul li {
  font-size: 0.9rem;
  color: var(--spd-gray-dark);
  padding: 0.25rem 0;
  padding-left: 1.2rem;
  position: relative;
}

.theme-card ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--spd-red);
  font-weight: 700;
}

/* ===== CANDIDATES ===== */
.candidates-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
}

.candidate-card {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
  transition: background var(--transition), transform var(--transition);
}

.candidate-card:hover {
  background: rgba(255, 255, 255, 0.18);
  transform: translateY(-4px);
}

.candidate-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--spd-white);
}

.candidate-name {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
}

.candidate-role {
  font-size: 0.85rem;
  opacity: 0.8;
  margin-bottom: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.candidate-bio {
  font-size: 0.95rem;
  opacity: 0.9;
}

/* ===== PROGRAM BOX ===== */
.program-box {
  background: var(--spd-gray-light);
  border: 2px solid var(--spd-gray-mid);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.program-icon {
  font-size: 3.5rem;
  flex-shrink: 0;
}

.program-text {
  flex: 1;
  min-width: 200px;
}

.program-text h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.program-text p {
  color: var(--spd-gray);
  font-size: 0.95rem;
}

/* ===== NEWS GRID ===== */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.news-card {
  background: var(--spd-white);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  border: 1px solid var(--spd-gray-mid);
  transition: transform var(--transition), box-shadow var(--transition);
}

.news-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.news-date {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--spd-red);
  margin-bottom: 0.6rem;
}

.news-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
}

.news-card p {
  font-size: 0.93rem;
  color: var(--spd-gray);
  margin-bottom: 1rem;
}

.news-link {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--spd-red);
  transition: color var(--transition);
}

.news-link:hover {
  color: var(--spd-red-dark);
}

/* ===== CONTACT GRID ===== */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.5rem;
}

.contact-card {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
}

.contact-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.contact-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
}

.contact-card p {
  font-size: 0.95rem;
  opacity: 0.9;
  margin-bottom: 1.25rem;
  line-height: 1.7;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--spd-black);
  color: var(--spd-white);
  padding: 2.5rem 0;
}

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

.footer-brand p {
  font-size: 0.85rem;
  opacity: 0.65;
  margin-top: 0.4rem;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  align-items: center;
}

.footer-nav a {
  font-size: 0.9rem;
  opacity: 0.75;
  transition: opacity var(--transition);
}

.footer-nav a:hover {
  opacity: 1;
}

.footer-legal {
  font-size: 0.82rem;
  opacity: 0.6;
  text-align: right;
}

.footer-legal a {
  display: inline-block;
  margin-right: 1rem;
  transition: opacity var(--transition);
}

.footer-legal a:hover {
  opacity: 1;
}

.footer-legal p {
  margin-top: 0.4rem;
}

/* ===== RESPONSIVE – MOBILE ===== */
@media (max-width: 768px) {
  .spd-logo-img {
    height: 36px;
  }

  .nav-logo {
    font-size: 1.25rem;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-menu {
    display: none;
    flex-direction: column;
    position: absolute;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: var(--spd-red-dark);
    padding: 1rem 1.5rem 1.5rem;
    gap: 0.25rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  }

  .nav-menu.is-open {
    display: flex;
  }

  #site-header {
    position: sticky;
  }

  .nav-link {
    width: 100%;
    text-align: left;
    padding: 0.75rem 1rem;
  }

  .nav-cta {
    margin-top: 0.5rem;
    text-align: center;
  }

  /* hamburger animation */
  .nav-toggle.is-open span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  .nav-toggle.is-open span:nth-child(2) {
    opacity: 0;
  }
  .nav-toggle.is-open span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
  }

  .hero {
    padding: 4rem 0 6rem;
  }

  .themes-grid,
  .candidates-grid,
  .news-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .program-box {
    flex-direction: column;
    text-align: center;
  }

  .footer-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-legal {
    text-align: center;
  }
}

@media (max-width: 480px) {
  .section {
    padding: 3rem 0;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 100%;
    text-align: center;
  }
}

/* ===== ACCESSIBILITY ===== */
:focus-visible {
  outline: 3px solid var(--spd-white);
  outline-offset: 3px;
}

.section-red :focus-visible {
  outline-color: var(--spd-white);
}

.section-light :focus-visible,
.section-gray :focus-visible {
  outline-color: var(--spd-red);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition: none !important;
    animation: none !important;
  }
  html {
    scroll-behavior: auto;
  }
}

/* ===== HERO ENHANCED ===== */
.hero-title em {
  font-style: italic;
  opacity: 0.7;
}

/* ===== TICKER ===== */
.ticker {
  background: var(--spd-black);
  overflow: hidden;
  white-space: nowrap;
  padding: 0.7rem 0;
}

.ticker-inner {
  display: inline-flex;
  animation: ticker 35s linear infinite;
}

.ticker-item {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0 3rem;
}

.ticker-item span {
  color: var(--spd-red);
  margin-right: 1rem;
}

@keyframes ticker {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ===== STATEMENT SECTION ===== */
.statement {
  background: var(--spd-gray-light);
  padding: 5rem 2rem;
}

.statement-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}

.section-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--spd-red);
  margin-bottom: 0.8rem;
  display: block;
}

.statement-quote {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 1rem;
}

.statement-quote em {
  color: var(--spd-red);
  font-style: italic;
}

.red-line {
  width: 50px;
  height: 4px;
  background: var(--spd-red);
  margin: 1.5rem 0;
}

.statement-body {
  font-size: 1.05rem;
  line-height: 1.75;
  color: #444;
  font-weight: 300;
}

.statement-body p + p {
  margin-top: 1.2rem;
}

/* ===== STATS BAR ===== */
.stats-bar {
  background: var(--spd-red);
  padding: 4rem 2rem;
}

.stats-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2rem;
  text-align: center;
}

.stat-value {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 900;
  color: var(--spd-white);
  line-height: 1;
}

.stat-label {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
  margin-top: 0.5rem;
}

/* ===== HIGHLIGHT BAND ===== */
.highlight-band {
  background: var(--spd-black);
  padding: 4.5rem 2rem;
  text-align: center;
}

.highlight-band h2 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  color: var(--spd-white);
  font-weight: 900;
  max-width: 760px;
  margin: 0 auto 1.2rem;
  line-height: 1.2;
}

.highlight-band p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 1rem;
  max-width: 560px;
  margin: 0 auto 2rem;
  line-height: 1.7;
  font-weight: 300;
}

.pill {
  display: inline-block;
  background: var(--spd-red);
  color: var(--spd-white);
  font-size: 0.88rem;
  font-weight: 700;
  padding: 0.7rem 1.8rem;
  border-radius: 2px;
  letter-spacing: 0.05em;
}

/* ===== RESPONSIVE ADJUSTMENTS ===== */
@media (max-width: 900px) {
  .statement-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}
.program-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0 0;
}

.program-list li {
  padding: 0.5rem 0 0.5rem 1.75rem;
  position: relative;
  line-height: 1.6;
}

.program-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--spd-red);
  font-weight: 700;
}
