    /* ======================= VARIABLES Y PALETA ======================= */
    :root {
      --azul-principal: #1663a9;
      --amarillo-acento: #feec59;
      --blanco: #ffffff;
      --texto-oscuro: #0f1f2e;
      --fondo-secundario: #eef2f7;
    }  

    /* ======================= GLOBAL ======================= */
    * {
      box-sizing: border-box;
    }  

    body {
      margin: 0;
      padding: 0;
      font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
      color: var(--texto-oscuro);
      background-color: var(--blanco);
      overflow-x: hidden; /* Evita scroll horizontal no deseado */
    }

    /* ======================= BANNER ======================= */
    .banner {
      position: relative;
      width: 100%;
      min-height: 85vh;
      overflow: hidden;
      background: var(--azul-principal);
      margin: 0 auto;
    }  

    .banner-slides {
      position: absolute;
      inset: 0;
    }  

    .banner-slide {
      position: absolute;
      inset: 0;
      opacity: 0;
      background-size: cover;
      background-position: center;
      transition: opacity 1.2s ease-in-out;
    }  

    .banner-slide:first-child {
      opacity: 1;
    }  

    /* ======================= CONTENIDO (ABAJO - IZQUIERDA) ======================= */
    .banner-content {
      position: absolute;
      bottom: 15%;
      right: 8%;
      max-width: 620px;
      color: var(--blanco);
      opacity: 0;
      transition: opacity 0.8s ease;
      z-index: 10;
      text-align: right;
    }  

    .banner-content.active {
      opacity: 1;
    }  

    .banner-content h1 {
      font-size: clamp(2rem, 4.5vw, 2.8rem);
      margin-bottom: 0.8rem;
      font-weight: 700;
      text-shadow: 0 2px 8px rgba(0,0,0,0.5);
    }  

    .banner-content p {
      font-size: clamp(1.05rem, 2.2vw, 1.2rem);
      line-height: 1.65;
      text-shadow: 0 1px 6px rgba(0,0,0,0.5);
      margin: 0;
    }  

    /* Dots */
    .banner-dots {
      position: absolute;
      bottom: 5%;
      left: 50%;
      transform: translateX(-50%);
      display: flex;
      gap: 0.9rem;
      z-index: 15;
    }  

    .banner-dot {
      width: 13px;
      height: 13px;
      border-radius: 50%;
      background: rgba(255,255,255,0.5);
      cursor: pointer;
      transition: all 0.3s ease;
      border: 1.5px solid rgba(255,255,255,0.8);
    }  

    .banner-dot.active {
      background: var(--amarillo-acento);
      transform: scale(1.3);
    }  

/* ======================= TARJETAS MEJORADAS ======================= */
.features-container {
  display: flex;
  justify-content: center;
  gap: 2.5rem;
  padding: 4rem 1rem;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
  background: var(--fondo-secundario);
}

.feature-card {
  background: var(--blanco);
  border-radius: 16px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  padding: 2.8rem 2.2rem;
  flex: 1 1 360px;
  max-width: 380px;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(22, 99, 169, 0.08);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--azul-principal), var(--amarillo-acento));
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.feature-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 20px 40px rgba(22, 99, 169, 0.18);
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.card-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  background: rgba(22, 99, 169, 0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.4rem;
  transition: all 0.4s ease;
}

.feature-card:hover .card-icon {
  background: var(--amarillo-acento);
  transform: scale(1.1) rotate(8deg);
  color: var(--azul-principal);
}

.feature-card h2 {
  color: var(--azul-principal);
  margin-bottom: 1.1rem;
  font-size: 1.55rem;
  font-weight: 700;
}

.feature-card p {
  color: #334155;
  line-height: 1.65;
  margin-bottom: 2rem;
  font-size: 1.02rem;
}

/* ======================= RESPONSIVE TARJETAS ======================= */
@media (max-width: 768px) {
  .features-container {
    gap: 1.8rem;
    padding: 3rem 1rem;
  }

  .feature-card {
    padding: 2.2rem 1.8rem;
    max-width: 100%;
  }
}

    /* ======================= BOTONES ======================= */
    .btn {
      display: inline-block;
      padding: 0.9rem 2rem;
      background-color: var(--amarillo-acento);
      color: var(--azul-principal);
      text-decoration: none;
      border-radius: 25px;
      font-weight: 700;
      font-size: 1rem;
      transition: all 0.3s ease;
      border: none;
      cursor: pointer;
    }  

    .btn:hover {
      background-color: #ffe83d;
      transform: scale(1.05);
    }  

    /* ======================= CARRUSEL ======================= */
    .carousel-section {
      padding: 2.5rem 0;
      background-color: var(--fondo-secundario);
      width: calc(100vw - 8px);
      position: relative;
      left: 50%;
      right: 50%;
      margin-left: -50vw;
      margin-right: -50vw;
    }  

    .carousel-section h2 {
      text-align: center;
      margin-bottom: 2rem;
      color: var(--azul-principal);
      font-size: 1.6rem;
      font-weight: 600;
    }  

    .carousel {
      width: 100%;
      overflow: hidden;
      position: relative;
    }  

    .carousel-track {
      display: flex;
      width: max-content;
      animation: scroll 70s linear infinite;
    }  

    .carousel-track:hover {
      animation-play-state: paused;
    }  

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

    .carousel-slide {
      min-width: 480px;
      max-width: 480px;
      background: var(--blanco);
      border-radius: 10px;
      overflow: hidden;
      margin: 0 0.8rem;
      box-shadow: 0 4px 10px rgba(0,0,0,0.1);
      display: flex;
      flex-direction: column;
      flex-shrink: 0;
    }  

    .carousel-slide img,
    .carousel-slide .video-wrapper {
      width: 100%;
      height: 240px;
      object-fit: cover;
    }  

    .video-wrapper {
      position: relative;
    }  

    .video-overlay {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      display: flex;
      justify-content: center;
      align-items: center;
      background: rgba(0,0,0,0.2);
      color: var(--azul-principal);
      font-size: 3rem;
      transition: background 0.3s;
      border-radius: 10px;
      cursor: pointer;
    }  

    .video-overlay:hover {
      background: rgba(254, 236, 89, 0.8);
    }  

    .slide-text {
      padding: 1.3rem;
      background-color: var(--blanco);
    }  

    .slide-text h3 {
      color: var(--azul-principal);
      margin-bottom: 0.5rem;
      font-size: 1.1rem;
    }  

    .slide-text p {
      font-size: 0.9rem;
      color: var(--texto-oscuro);
      line-height: 1.5;
    }  

    /* ======================= RESPONSIVE ======================= */
    @media (max-width: 768px) {
      .banner {
        min-height: 58vh;
      }  

      .banner-content {
        bottom: 12%;
        left: 5%;
        max-width: 85%;
        text-align: center;
        right: auto;
      }  

      .banner-content h1 {
        font-size: 1.9rem;
      }  

      .banner-content p {
        font-size: 1rem;
      }

      .features-container {
        gap: 1.5rem;
        padding: 2rem 1rem;
      }
    }  

    @media (max-width: 480px) {
      .banner {
        min-height: 55vh;
      }

      .carousel-slide {
        min-width: 90vw;
        max-width: 90vw;
        margin: 0 2%;
      }
    }