    body {
      margin: 0;
      font-family: Arial, Helvetica, sans-serif;
    }

    /* ========== VARIABLES DE COLORES ========== */
    :root {
      --primary-color: #8B0000;
      /* Rojo institucional */
      --primary-light: #A52A2A;
      /* Rojo claro */
      --primary-dark: #660000;
      /* Rojo oscuro */
      --secondary-color: #1E3A5F;
      /* Azul corporativo */
      --secondary-light: #2E4A6F;
      /* Azul claro */
      --accent-color: #FF6B35;
      /* Naranja vibrante */
      --success-color: #27AE60;
      /* Verde éxito */
      --warning-color: #F39C12;
      /* Amarillo advertencia */
      --text-primary: #2C3E50;
      /* Texto principal */
      --text-secondary: #7F8C8D;
      /* Texto secundario */
      --background-light: #F8F9FA;
      /* Fondo claro */
      --background-white: #FFFFFF;
      /* Fondo blanco */
      --border-color: #E9ECEF;
      /* Bordes */
      --shadow-light: rgba(0, 0, 0, 0.1);
      --shadow-medium: rgba(0, 0, 0, 0.15);
      --shadow-dark: rgba(0, 0, 0, 0.25);
    }

    /* ========== CARRUSEL ========== */
    .carousel-hero {
      position: relative;
      width: 100%;
      height: 600px;
      overflow: hidden;
      border-radius: 0 0 20px 20px;
      box-shadow: 0 10px 30px var(--shadow-medium);
      margin-bottom: 0;
      max-width: 100%;
      z-index: 1;
    }

    .carousel-slide {
      position: absolute;
      width: 100%;
      height: 100%;
      background-size: cover;
      background-position: center top;
      background-attachment: fixed;
      /* Hace que la imagen se mueva con el scroll */
      opacity: 0;
      transition: opacity 1.5s ease-in-out;
    }

    .carousel-slide.active {
      opacity: 1;
    }

    .carousel-slide::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background: linear-gradient(135deg,
          rgba(139, 0, 0, 0.7) 0%,
          rgba(30, 58, 95, 0.6) 50%,
          rgba(0, 0, 0, 0.4) 100%);
      z-index: 1;
    }

    .hero-content {
      position: absolute;
      bottom: 40px;
      left: 0;
      right: 0;
      z-index: 2;
      text-align: center;
      width: 100%;
    }

    .text-bg {
      background: linear-gradient(135deg, rgba(139, 0, 0, 0.226), rgba(30, 58, 95, 0.253));
      padding: 5px 0;
      border-radius: 0;
      margin-bottom: 0;
      color: white;
      backdrop-filter: blur(10px);
      border: none;
      width: 100%;
      max-width: 100%;
      margin: 0;
    }

    .programa-titulo {
      font-size: 0.4rem;
      font-weight: 100;
      text-transform: uppercase;
      letter-spacing: 0.5px;
      margin-bottom: 1px;
      opacity: 0.8;
    }

    .hero-content h3 {
      font-weight: 700;
      text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.3);
      line-height: 1.1;
      margin: 0;
    }

    /* ========== ÍCONOS DESTACADOS ========== */
    .hero-icons {
      background: var(--background-white);
      padding: 10px 40px;
      border-radius: 20px;
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
      gap: 5px;
      box-shadow: 0 15px 40px var(--shadow-medium);
      margin: -130px auto 40px;
      max-width: 1200px;
      position: relative;
      z-index: 3;
      border: 1px solid var(--border-color);
    }

    .hero-icons::before {
      content: '';
      position: absolute;
      top: -50%;
      left: -50%;
      width: 200%;
      height: 200%;
      background: linear-gradient(45deg,
          transparent,
          rgba(153, 0, 31, 0.03),
          transparent);
      animation: shimmer 8s linear infinite;
      pointer-events: none;
    }

    .hero-icons::after {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background:
        radial-gradient(circle at 25% 25%, rgba(153, 0, 31, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(153, 0, 31, 0.05) 0%, transparent 50%);
      pointer-events: none;
      opacity: 0.6;
    }

    @keyframes containerFloat {

      0%,
      100% {
        transform: translateY(0px);
      }

      50% {
        transform: translateY(-5px);
      }
    }

    @keyframes shimmer {
      0% {
        transform: translateX(-100%) translateY(-100%) rotate(45deg);
      }

      100% {
        transform: translateX(100%) translateY(100%) rotate(45deg);
      }
    }

    .icon-box {
      text-align: center;
      flex: 1 1 180px;
      margin: 8px;
      /* Reducido el margen a 8px */
      position: relative;
      padding: 15px 20px;
      /* Reducido el padding vertical a 15px */
      border-radius: 15px;
      background: linear-gradient(145deg, #ffffff 0%, #f8f9fa 100%);
      transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
      cursor: pointer;
      border: 1px solid rgba(153, 0, 31, 0.1);
      overflow: hidden;
    }

    .icon-box::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background: linear-gradient(135deg, rgba(153, 0, 31, 0.85), rgba(153, 0, 31, 0.65));
      opacity: 0;
      transition: opacity 0.3s ease;
      z-index: -1;
    }

    .icon-box::after {
      content: '';
      position: absolute;
      top: 50%;
      left: 50%;
      width: 0;
      height: 0;
      background: radial-gradient(circle, rgba(153, 0, 31, 0.2) 0%, transparent 70%);
      transition: all 0.6s ease;
      transform: translate(-50%, -50%);
      z-index: -1;
    }

    .icon-box:hover {
      transform: translateY(-8px) scale(1.02);
      box-shadow:
        0 20px 40px rgba(153, 0, 31, 0.2),
        0 0 20px rgba(153, 0, 31, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
      border-color: rgba(153, 0, 31, 0.3);
      animation: none;
    }

    .icon-box:hover::before {
      opacity: 1;
    }

    .icon-box:hover::after {
      width: 200px;
      height: 200px;
    }

    .icon-box:nth-child(odd) {
      animation: floatUp 4s ease-in-out infinite;
    }

    .icon-box:nth-child(even) {
      animation: floatDown 4s ease-in-out infinite 2s;
    }

    @keyframes floatUp {

      0%,
      100% {
        transform: translateY(0px);
      }

      50% {
        transform: translateY(-3px);
      }
    }

    @keyframes floatDown {

      0%,
      100% {
        transform: translateY(0px);
      }

      50% {
        transform: translateY(3px);
      }
    }

    .icon-box i {
      font-size: 28px;
      /* Reducido el tamaño de fuente a 28px */
      color: #99001f;
      margin-bottom: 10px;
      /* Reducido el margen inferior a 10px */
      position: relative;
      z-index: 3;
      transition: all 0.3s ease;
      text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
      display: inline-block;
      transform-style: preserve-3d;
    }

    .icon-box:hover i {
      color: #fff;
      text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
      animation: iconPulse 1s ease infinite;
      transform: scale(1.1) rotateY(10deg);
    }

    @keyframes iconPulse {

      0%,
      100% {
        transform: scale(1.1) rotateY(10deg);
      }

      50% {
        transform: scale(1.15) rotateY(10deg);
      }
    }

    .icon-box p {
      margin: 0;
      font-size: 14px;
      line-height: 1.5;
      color: #333;
      font-weight: 500;
      transition: all 0.3s ease;
      position: relative;
      z-index: 3;
    }

    .icon-box:hover p {
      color: #fff;
      text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    }

    .modal-banner {
      display: none;
      /* oculto por defecto */
      position: fixed;
      z-index: 9999;
      left: 0;
      top: 0;
      width: 100%;
      height: 100%;
      overflow: auto;
      background-color: rgba(0, 0, 0, 0.6);
      /* fondo semi-transparente */
    }

    .modal-content {
      position: relative;
      background-color: #fff;
      margin: 10% auto;
      padding: 0;
      border-radius: 10px;
      width: 80%;
      max-width: 600px;
      box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
      animation: fadeIn 0.3s;
    }

    .close-button {
      color: #aaa;
      font-size: 28px;
      font-weight: bold;
      position: absolute;
      right: 15px;
      top: 10px;
      cursor: pointer;
    }

    .close-button:hover {
      color: #000;
    }

    .btn-mas-info {
      display: inline-block;
      background-color: #99001f;
      color: #fff;
      text-decoration: none;
      padding: 10px 20px;
      margin-top: 10px;
      border-radius: 5px;
      transition: background-color 0.3s;
    }

    .btn-mas-info:hover {
      background-color: #c20029;
    }

    @keyframes fadeIn {
      from {
        opacity: 0;
      }

      to {
        opacity: 1;
      }
    }

    /* --------- SECCIONES --------- */
    .presentation,
    .programs,
    .contact-section {
      padding: 40px 5%;
      background-color: var(--background-white);
      position: relative;
      z-index: 2;
    }

    .presentation h3,
    .programs h3,
    .contact-info h3 {
      color: #99001f;
      margin-top: 0;
    }

    /* --------- MENÚ DE PROGRAMAS --------- */
    .program-item {
      background: #99001f;
      color: #fff;
      padding: 15px;
      border-bottom: 1px solid #fff;
      cursor: pointer;
      transition: background .3s;
    }

    .program-item:hover {
      background: #3c3b3c;
    }

    .program-item.active {
      background: #2b2a2b;
    }

    /* --------- BOTÓN VER MÁS --------- */
    .btn-vermas {
      display: inline-block;
      margin-top: 15px;
      padding: 10px 20px;
      background: #000;
      color: #fff;
      font-weight: bold;
      border-radius: 5px;
      text-decoration: none;
      transition: background .3s;
    }

    .btn-vermas:hover {
      background: #807380;
    }

    /* --------- FORMULARIO CONTACTO --------- */
    .contact-container {
      display: flex;
      flex-wrap: wrap;
      gap: 40px;
      justify-content: center;
    }

    .contact-info,
    .contact-form {
      flex: 1 1 320px;
    }

    .form-group {
      margin-bottom: 15px;
    }

    .form-input {
      width: 100%;
      padding: 10px;
      border: 1px solid #ccc;
      border-radius: 4px;
    }

    .form-textarea {
      resize: vertical;
    }

    .btn-submit {
      background: #99001f;
      color: #fff;
      border: none;
      padding: 10px 20px;
      border-radius: 4px;
      cursor: pointer;
      font-weight: bold;
    }

    /* --------- RESPONSIVE MÓVIL --------- */
    /* Para pantallas grandes, forzar 6 columnas */
    @media (min-width: 1024px) {
      .hero-icons {
        grid-template-columns: repeat(6, 1fr);
        gap: 20px;
      }
    }

    /* Para tablets */
    @media (min-width: 768px) and (max-width: 1023px) {
      .hero-icons {
        grid-template-columns: repeat(3, 1fr);
      }
      
      .carousel-hero {
        height: 500px;
      }
      
      .presentation p, .programs div {
        padding: 0 15px;
      }
    }

    /* Para móviles */
    @media (max-width: 767px) {
      .hero-icons {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        padding: 20px 15px;
        margin: -100px 20px 40px;
      }
      
      .carousel-hero {
        height: 400px;
      }
      
      .presentation h3, .programs h3 {
        padding: 0 15px;
        text-align: center;
      }
      
      .presentation p {
        padding: 0 15px;
        display: block !important;
        text-align: justify;
      }
      
      .programs div {
        padding: 0 15px;
      }
    }

    @media (max-width: 480px) {
      .carousel-hero {
        height: 350px;
      }

      .hero-content {
        left: 20px;
        right: 20px;
        bottom: 40px;
      }

      .text-bg {
        padding: 15px 20px;
      }

      .hero-content h3 {
        font-size: 1.5rem;
      }

      .hero-icons {
        grid-template-columns: 1fr;
        margin: -80px 15px 30px;
      }

      .icon-box {
        padding: 10px 15px;
      }

      .icon-box i {
        font-size: 24px;
      }
      
      .programa-titulo {
        font-size: 0.8rem;
      }
      
      /* Ajustes para la sección de programas en móvil */
      .programs div[style*="display:flex"] {
        flex-direction: column;
      }
      
      #program-content {
        margin-top: 20px;
      }
    }

      .map-container {
        width: 100%;
        max-width: 460px;
        height: 310px;
        margin-top: 20px;
        border: 3px solid #99001f;
        border-radius: 15px;
        overflow: hidden;
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15), inset 0 0 10px rgba(153, 0, 31, 0.1);
        transition: transform 0.4s ease, box-shadow 0.4s ease;
      }

      .map-container:hover {
        transform: scale(1.02);
        box-shadow: 0 8px 25px rgba(153, 0, 31, 0.4);
      }

      .map-container iframe {
        border: none;
        width: 100%;
        height: 100%;
        display: block;
      }
      /* Estilo para el modal que se oculta inicialmente */
.modal-banner {
  display: none;
  /* Otros estilos */
}
