     :root {
      --primary: #0b5ed7;
      --secondary: #f4f6f8;
      --text: #333;
    }

    * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
      font-family: Arial, Helvetica, sans-serif;
   
    }
   .center{
    text-align: center;
   }
   .justify{
    text-align: center;
   }

    header {

      color: #fff;
      padding: 3rem 1rem;
      text-align: center;
    }

    header h1 {
      font-size: 2.2rem;
      margin-bottom: 0.5rem;
    }

    header p {
      font-size: 1.1rem;
      opacity: 0.95;
      text-align: justify;
    }

    .container {
      max-width: 1100px;
      margin: auto;
      padding: 2rem 1rem;
    }

    section {
      background: #fff;
      margin-bottom: 2rem;
      padding: 2rem;
      border-radius: 10px;
      box-shadow: 0 8px 20px rgba(0,0,0,0.06);
    }

    /* Resaltado especial para modalidad */
    .modalidad-destacada {
      background:  linear-gradient(135deg, #0b4f6c, #1389b5);
      color: #fff;
    }

    .modalidad-destacada h2 {
      color: #fff;
    }

    /* Bloque azul para secci¨Žn Etiquetado Correcto */
    .bloque-azul {
      background:linear-gradient(135deg, #0b4f6c, #1389b5);
      color: #fff;
    }

    .bloque-azul h2 {
      color: #fff;
     
    }

    .bloque-azul .pago-item {
      background: rgba(255,255,255,0.15);
      color: #fff;
      text-align: justify;
    }

    section h2 {
      color: var(--primary);
      margin-bottom: 1rem;
      font-size: 1.6rem;
    }

    ul {
      list-style: disc;
      padding-left: 1.5rem;
    }

    .modalidad {
      display: flex;
      gap: 1.5rem;
      flex-wrap: wrap;
    }

    .modalidad div {
      flex: 1 1 250px;
      padding: 1.5rem;
      border-radius: 14px;
      text-align: center;
      font-weight: bold;
      transition: transform 0.3s ease;
    }

    .modalidad div:hover {
      transform: translateY(-5px);
    }

    /* Tonos por modalidad */
    .modalidad .online {
      background: linear-gradient(135deg, #20c997, #0ca678);
      color: #fff;
    }

    .modalidad .presencial {
      background: linear-gradient(135deg, #0b4f6c, #1389b5);
      color: #fff;
    }
    .titulo-centrado {
      text-align: center;
    }

    .ponente {
      display: flex;
      gap: 2rem;
      align-items: center;
      flex-wrap: wrap;
    }

    .ponente img {
      width: 180px;
      height: 180px;
      border-radius: 50%;
      object-fit: cover;
      border: 4px solid var(--primary);
    }

    .pagos {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
      gap: 1rem;
    }

    .pago-item {
      background: var(--secondary);
      padding: 1.5rem 1rem;
      border-radius: 10px;
      text-align: center;
      font-weight: bold;
      display: flex;
      flex-direction: column;
      gap: 0.5rem;
      align-items: center;
    }

    .pago-item .icono {
      font-size: 2rem;
    }

    .contacto {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
      gap: 1.5rem;
    }

    .contacto a {
      display: block;
      background: linear-gradient(135deg, #0b4f6c, #1389b5);
      color: #fff;
      padding: 1rem;
      text-align: center;
      border-radius: 8px;
      text-decoration: none;
      font-weight: bold;
      transition: background 0.3s ease;
    }

    .contacto a:hover {
      background: #084298;
    }


    @media (max-width: 600px) {
      header h1 {
        font-size: 1.8rem;
      }
    }
      /* MODAL  Menu*/
        .modal2 {
            display: none;
            position: fixed;
            inset: 0;
            background: rgba(11,79,108,0.55); /* mismo azul institucional */
            backdrop-filter: blur(4px);
            align-items: center;
            justify-content: center;
            z-index: 2000;
        }
        .modal-content2 {
            background: linear-gradient(180deg, #ffffff, #f4f9fc);
            padding: 32px;
            border-radius: 16px;
            max-width: 520px;
            width: 90%;
            box-shadow: 0 25px 50px rgba(0,0,0,0.25);
            animation: scaleIn 0.25s ease;
        }
        .modal-content2 h3 {
            margin-top: 0;
            color: #0b4f6c;
        }
        .close-modal2 {
            text-align: right;
            font-size: 1.3rem;
            cursor: pointer;
            font-weight: bold;
            color: #0b4f6c;
        }
        @keyframes scaleIn {
            from { transform: scale(0.9); opacity: 0; }
            to { transform: scale(1); opacity: 1; }
        }

            .navbar2 {
            display: flex;
            align-items: center;
            justify-content: space-between;
            background: #ffffff;
            padding: 10px 20px;
            box-shadow: 0 4px 15px rgba(0,0,0,0.1);
            position: sticky;
            top: 0;
            z-index: 1000;
        }
        .nav-img img {
            margin: 0 4px;
            border-radius: 6px;
        }
        .menu {
            list-style: none;
            display: flex;
            gap: 18px;
            margin: 0;
            padding: 0;
        }
        .hamburger {
            display: none;
            background: none;
            border: none;
            font-size: 1.6rem;
            color: #0b4f6c;
            cursor: pointer;
        }
        .menu li {
            position: relative;
        }
        .menu a {
            text-decoration: none;
            color: #0b4f6c;
            font-weight: 600;
            font-size: 0.95rem;
        }
        .menu a:hover {
            color: #1389b5;
        }
        .dropdown-menu {
             list-style: none;
            display: none;
            position: absolute;
            top: 100%;
            left: 0;
            background: #ffffff;
            box-shadow: 0 10px 25px rgba(0,0,0,0.15);
            border-radius: 8px;
            padding: 10px 0;
            min-width: 200px;
        }
        .dropdown-menu li {
            padding: 8px 20px;
        }
        .dropdown-menu li a {
            color: #333;
            font-weight: normal;
        }
        .dropdown:hover .dropdown-menu {
            display: block;
        }
         @media (max-width: 900px) {
            .hamburger {
                display: block;
            }
            .menu {
                position: fixed;
                top: 60px;
                left: 0;
                width: 100%;
                height: calc(100vh - 60px);
                background: #ffffff;
                flex-direction: column;
                gap: 22px;
                padding: 30px 20px;
                transform: translateX(-100%);
                transition: transform 0.35s ease;
                z-index: 999;
            }
            .menu.active {
                transform: translateX(0);
            }
            .dropdown-menu {
                position: static;
                box-shadow: none;
                padding-left: 15px;
            }
            .nav-img {
                display: none;
            }
        }
           
      /* MODAL Fin de Menu*/
      /*footer */
       .footer {
            background: #0b4f6c;
            color: #ffffff;
            margin-top: 80px;
        }
        .footer-container {
            max-width: 1100px;
            margin: auto;
            padding: 40px 20px;
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 30px;
        }
        .footer h4 {
            margin-bottom: 15px;
            color: #eaf6fb;
        }
        .footer p {
            font-size: 0.95rem;
            line-height: 1.6;
        }
        .socials a {
            color: #ffffff;
            margin-right: 12px;
            font-size: 1.3rem;
            transition: color 0.2s;
        }
        .socials a:hover {
            color: #ffd166;
        }
        .footer-bottom {
            background: #08384d;
            text-align: center;
            padding: 15px;
            font-size: 0.85rem;
        }
        @media (max-width: 768px) {
            .footer-container {
                grid-template-columns: 1fr;
                text-align: center;
            }
            .socials {
                margin-top: 10px;
            }
        }
     /* Modal Aviso de Privacidad */
        .modal-privacidad {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0,0,0,0.6);
            justify-content: center;
            align-items: center;
            z-index: 2000;
        }
        .modal-contenido {
            background: #fff;
            padding: 30px;
            max-width: 900px;
            width: 90%;
            max-height: 90vh;
            overflow-y: auto;
            border-radius: 12px;
            box-shadow: 0 20px 40px rgba(0,0,0,0.25);
            position: relative;
        }
        .modal-contenido h3 {
            color: #0b4f6c;
            margin-bottom: 15px;
            text-align: center;
        }
        .modal-contenido p {
            font-size: 0.95rem;
            line-height: 1.6;
            margin-bottom: 10px;
        }
        .cerrar {
            position: absolute;
            top: 12px;
            right: 15px;
            font-size: 1.5rem;
            cursor: pointer;
            color: #666;
        }
        h3{
          text-align: center;
        }
        .center2{
          text-align: justify;
        }