
    :root {
      --primary: #943132;      /* Rojo principal */
      --primary-dark: #862b2c;
      --secondary: #AE3454;    /* Rosado/terroso */
      --accent: #C33539;       /* Rojo vibrante */
      --green: #1F6546;        /* Verde institucional */
      --light: #f9f7f5;
      --white: #FFFFFF;
      --dark: #212121;
      --gray: #666666;
    }

    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    body {
      font-family: 'Roboto', sans-serif;
      line-height: 1.6;
      color: var(--dark);
      background-color: var(--white);
      scroll-behavior: smooth;
    }

    .container {
      width: 100%;
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 1.5rem;
    }

    /* Hero */
   .hero {
  position: relative;
  color: var(--white);
  padding: 5rem 0;
  text-align: center;
  overflow: hidden;
}

    .hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-repeat: no-repeat;
    background-size: cover;
    background: url('imagenes/banner.png');
  z-index: -1;
}

    .hero h1 {
      font-family: 'Anton', sans-serif;
      font-size: 3.2rem;
      font-weight: 900;
      margin-bottom: 1rem;
      letter-spacing: 4px;
    }

    .hero .slogan {
  font-family: 'Oswald', sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-shadow: 0 2px 3px rgba(0,0,0,0.4);
}

.hero p {
  font-size: 1.25rem;
  max-width: 700px;
  margin: 0 auto 2rem;
  opacity: 0.95;
  text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

    /* Badge flotante */
    .vote-badge {
      position: fixed;
      top: 20px;
      right: 20px;
      background: var(--accent);
      color: white;
      font-family: 'Anton', sans-serif;
      font-size: 1.6rem;
      padding: 0.6rem 1.2rem;
      border-radius: 50px;
      box-shadow: 0 4px 15px rgba(195, 53, 57, 0.5);
      z-index: 1000;
      animation: pulse 2s infinite;
    }

    @keyframes pulse {
      0% { box-shadow: 0 0 0 0 rgba(195,53,57,0.7); }
      70% { box-shadow: 0 0 0 12px rgba(195,53,57,0); }
      100% { box-shadow: 0 0 0 0 rgba(195,53,57,0); }
    }

    .btn {
      display: inline-block;
      background: var(--green);
      color: var(--white);
      padding: 0.95rem 2.2rem;
      border-radius: 50px;
      text-decoration: none;
      font-weight: 700;
      font-size: 1.2rem;
      transition: all 0.3s ease;
      border: none;
      cursor: pointer;
      font-family: 'Roboto', sans-serif;
    }

    .btn:hover {
      background: #185038;
      transform: translateY(-3px) scale(1.03);
      box-shadow: 0 6px 18px rgba(31,101,70,0.4);
    }

    section {
      padding: 4.5rem 0;
    }

    .section-title {
      text-align: center;
      font-family: 'Anton', sans-serif;
      font-size: 2.3rem;
      margin-bottom: 2.8rem;
      color: var(--primary);
    }

    /* === Contador armonizado === */
    .election-countdown-section {
      background: linear-gradient(135deg, #fff5f5 0%, #fdecec 100%);
      padding: 3.5rem 0;
      margin: 3rem 0;
      border-top: 2px solid #f0d0d0;
      border-bottom: 2px solid #f0d0d0;
    }

    .countdown-card {
      max-width: 900px;
      margin: 0 auto;
      text-align: center;
      padding: 2rem;
    }

    .election-date {
      font-size: 0.95rem;
      color: var(--gray);
      margin-bottom: 1.2rem;
      letter-spacing: 0.5px;
    }

    .countdown-headline {
      font-family: 'Oswald', sans-serif;
      font-size: 1.9rem;
      color: var(--primary);
      margin-bottom: 2rem;
      font-weight: 700;
      line-height: 1.3;
      text-transform: uppercase;
      letter-spacing: 1px;
    }

    .countdown-row {
      display: flex;
      justify-content: center;
      align-items: stretch;
      gap: 2.5rem;
      margin: 2.5rem 0;
    }

    .countdown-days-block,
    .candidate-identity-block {
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      height: 180px;
      border-radius: 16px;
      overflow: hidden;
    }

    .countdown-days-block {
      background: var(--primary);
      color: white;
      padding: 0 2rem;
      text-align: center;
      min-width: 180px;
    }

    .countdown-days-block .timer-value {
      font-family: 'Anton', sans-serif;
      font-size: 3.4rem;
      font-weight: 900;
      line-height: 1;
    }

    .countdown-days-block .timer-label {
      font-size: 0.95rem;
      text-transform: uppercase;
      letter-spacing: 1px;
    }

    .candidate-identity-block {
      background: var(--light);
      padding: 0 1.5rem;
      text-align: center;
      min-width: 220px;
    }

    /* Placeholder para logo (reemplaza con <img> cuando tengas el archivo) */
    .party-logo-placeholder {
     
      color: white;
      padding: 0.6rem 1.2rem;
      border-radius: 12px;
      font-weight: 700;
      font-size: 1.05rem;
      letter-spacing: 0.5px;
      min-height: 60px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-family: 'Roboto', sans-serif;
   
    }
    .party-logo-img {
  height: 60px;
  object-fit: contain;
  margin-bottom: 0.5rem;
}

    .candidate-number {
      background: var(--accent);
      color: white;
      font-family: 'Anton', sans-serif;
      font-weight: 900;
      font-size: 3.2rem;
      padding: 0.7rem 1.3rem;
      border-radius: 12px;
      box-shadow: 0 4px 14px rgba(195, 53, 57, 0.5);
      margin-top: 0.8rem;
      animation: pulseNumber 2s infinite;
    }

    @keyframes pulseNumber {
      0% { transform: scale(1); }
      50% { transform: scale(1.04); }
      100% { transform: scale(1); }
    }

    .countdown-cta {
      font-family: 'Oswald', sans-serif;
      font-size: 1.3rem;
      color: var(--primary);
      margin-top: 1.8rem;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 1px;
    }

    /* Propuestas */
    .pillars {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 2.2rem;
    }

    .pillar {
      background: var(--light);
      padding: 2rem;
      border-radius: 16px;
      width: 100%;
      max-width: 320px;
      text-align: center;
      box-shadow: 0 6px 16px rgba(0,0,0,0.06);
      border-top: 4px solid var(--primary);
    }

    .pillar h3 {
      color: var(--primary);
      margin-bottom: 1rem;
      font-family: 'Oswald', sans-serif;
      font-size: 1.4rem;
    }

    /* Formulario */
    .form-container {
      max-width: 620px;
      margin: 0 auto;
      background: var(--white);
      padding: 2.5rem;
      border-radius: 16px;
      box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    }

    .form-group {
      margin-bottom: 1.4rem;
    }

    .form-group label {
      display: block;
      margin-bottom: 0.6rem;
      font-weight: 700;
      color: var(--dark);
    }

    .form-group input {
      width: 100%;
      padding: 0.85rem;
      border: 1px solid #ccc;
      border-radius: 8px;
      font-size: 1.05rem;
    }

    /* Testimonios */
    .testimonials {
      background: var(--light);
    }

    .testimonial-list {
      display: flex;
      flex-wrap: wrap;
      gap: 2rem;
      justify-content: center;
    }

    .testimonial {
      background: var(--white);
      padding: 1.8rem;
      border-radius: 14px;
      width: 100%;
      max-width: 360px;
      box-shadow: 0 4px 14px rgba(0,0,0,0.07);
      border-left: 4px solid var(--primary);
    }

    .testimonial p {
      font-style: italic;
      margin-bottom: 1rem;
      color: var(--dark);
    }

    .testimonial .author {
      font-weight: 700;
      color: var(--primary);
    }

    /* Redes */
    .socials {
      text-align: center;
      padding: 2.5rem 0;
    }

    .social-icons {
      display: flex;
      justify-content: center;
      gap: 1.6rem;
      margin-top: 1.2rem;
    }

    .social-icon {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 56px;
      height: 56px;
      background: var(--primary);
      color: var(--white);
      border-radius: 50%;
      font-size: 1.4rem;
      text-decoration: none;
      transition: all 0.3s ease;
    }

    .social-icon:hover {
      background: var(--accent);
      transform: translateY(-4px);
    }

    footer {
      background: var(--dark);
      color: var(--white);
      text-align: center;
      padding: 1.8rem 0;
      font-size: 0.95rem;
    }

    /* Responsive */
    @media (max-width: 768px) {
      .hero h1 { font-size: 2.4rem; }
      .hero .slogan { font-size: 1.5rem; }
      .countdown-headline { font-size: 1.6rem; }
      .countdown-row {
        flex-direction: column;
        align-items: center;
      }
      .countdown-days-block,
      .candidate-identity-block {
        width: 100%;
        max-width: 300px;
      }
      .timer-value { font-size: 2.8rem; }
      .candidate-number { font-size: 2.4rem; }
    }

    @media (max-width: 480px) {
      .vote-badge {
        top: 10px;
        right: 10px;
        font-size: 1.3rem;
        padding: 0.5rem 1rem;
      }
    }
