@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;700&display=swap");

.concurso2-section {
    background: #fdfdfd;
    font-family: "Roboto", sans-serif;
}

.concurso2-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #343a40;
    margin-bottom: 0.5rem;
}

.concurso2-subtitle {
    font-size: 1.1rem;
    color: #6c757d;
    margin-bottom: 1.5rem;
}

.concurso2-download-btn {
    display: inline-block;
    background: #ffc107;
    color: #212529;
    padding: 10px 25px;
    border-radius: 6px;
    font-weight: 500;
    text-decoration: none;
    transition: background 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.concurso2-download-btn:hover {
    background: #e0a800;
    color: #fff;
}

.concurso2-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
    height: 100%;
}

.concurso2-card:hover {
    transform: translateY(-5px);
}

.concurso2-icon {
    font-size: 2.5rem;
    color: #ffc107;
    margin-bottom: 1rem;
}

.concurso2-card-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #343a40;
    margin-bottom: 0.5rem;
}

.concurso2-card-date {
    font-size: 0.95rem;
    color: #6c757d;
}

/* Responsive */
@media (max-width: 768px) {
    .concurso2-title {
        font-size: 2rem;
    }

    .concurso2-icon {
        font-size: 2rem;
    }
}
/* ===== Cuenta Regresiva ===== */
.cuenta-regresiva-section {
    background: linear-gradient(to right, #1b4191, #0e76a8);
    color: #ffffff;
    text-align: center;
    padding: 60px 20px;
}

.countdown-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
}

.countdown-container {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.countdown-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    border-radius: 12px;
    min-width: 100px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.countdown-item span {
    display: block;
    font-size: 2.5rem;
    font-weight: bold;
}

.countdown-item small {
    font-size: 1rem;
    margin-top: 0.5rem;
}

/* Responsive */
@media (max-width: 600px) {
    .countdown-container {
        gap: 1rem;
    }

    .countdown-item {
        padding: 1rem;
    }

    .countdown-item span {
        font-size: 2rem;
    }
}

/* ======= Sección Eventos/Cursos ======= */
.estilo-minimal {
    background: linear-gradient(180deg, #ffffff, #f4f6f9);
    padding: 60px 20px;
    font-family: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI",
        Roboto, sans-serif;
}

.estilo-minimal h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1b4191;
    text-align: center;
    margin-bottom: 1rem;
    letter-spacing: 0.5px;
}

.estilo-minimal .subtitle {
    font-size: 1.15rem;
    color: #6c757d;
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem;
    line-height: 1.6;
}

/* Grid de eventos */
.minimal-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding-bottom: 10px;
}

/* Tarjeta de evento */
.minimal-card {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.minimal-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.15);
}

/* Imagen del evento */
.minimal-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;
    background: linear-gradient(135deg, #1b4191, #0ea5e9);
}

.minimal-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.minimal-card:hover .minimal-image img {
    transform: scale(1.08);
}

/* Contenido de la tarjeta */
.minimal-content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

/* Fecha del evento */
.minimal-date {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: #0ea5e9;
    font-weight: 600;
    margin-bottom: 12px;
    padding: 6px 12px;
    background: rgba(14, 165, 233, 0.1);
    border-radius: 6px;
    width: fit-content;
}

.minimal-date i {
    font-size: 1.1rem;
}

/* Título del evento */
.minimal-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1b1b1b;
    margin-bottom: 16px;
    line-height: 1.4;
    min-height: 60px;
}

/* Tabla de precios */
.pricing-table {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 12px 16px;
    margin-bottom: 16px;
}

.pricing-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.pricing-row span {
    color: #6c757d;
    font-size: 0.95rem;
    font-weight: 500;
}

.pricing-row strong {
    color: #1b4191;
    font-size: 1.5rem;
    font-weight: 700;
}

/* Descripción del evento */
.minimal-description {
    font-size: 0.95rem;
    color: #555555;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.minimal-description strong {
    color: #1b4191;
    font-weight: 600;
}
/* ===== SECCIÓN DE REQUISITOS ===== */
.requirements-compact {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.requirement-badge {
    position: relative;
    flex: 1;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 8px;
    padding: 10px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.requirement-badge:hover {
    border-color: #1b4191;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(27, 65, 145, 0.15);
}

.requirement-badge i {
    font-size: 1.8rem;
    color: #1b4191;
    display: block;
    margin-bottom: 4px;
}

.requirement-badge span {
    font-size: 0.75rem;
    color: #555;
    font-weight: 600;
    display: block;
}

/* Tooltip mejorado */
.requirement-badge .tooltip {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(-8px);
    background: #1b4191;
    color: white;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 0.8rem;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 100;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.requirement-badge .tooltip::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-top-color: #1b4191;
}

.requirement-badge:hover .tooltip {
    opacity: 1;
}

/* Alerta DNI  */
.dni-alert {
    background: linear-gradient(90deg, #fff3cd 0%, #ffeaa7 100%);
    border-left: 3px solid #ffc107;
    border-radius: 6px;
    padding: 10px 12px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.dni-alert i {
    font-size: 1.5rem;
    color: #856404;
    flex-shrink: 0;
}

.dni-alert-text {
    font-size: 0.85rem;
    color: #856404;
    line-height: 1.4;
}

.dni-alert-text strong {
    font-weight: 700;
}
/* Botón CTA */
.cta-button {
    display: inline-block;
    width: 100%;
    padding: 14px 24px;
    background: linear-gradient(135deg, #1b4191, #0ea5e9);
    color: #ffffff;
    text-align: center;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(27, 65, 145, 0.3);
    margin-top: auto;
}

.cta-button:hover {
    background: linear-gradient(135deg, #0ea5e9, #1b4191);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(27, 65, 145, 0.4);
    color: #ffffff;
}

.cta-button:active {
    transform: translateY(0);
}
/* Badge general */
.badge-grupo {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 6px 12px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    color: #fff;
    z-index: 10;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

/* Colores por grupo */
.grupo-1 {
    background-color: #007bff; /* azul */
}

.grupo-2 {
    background-color: #28a745; /* verde */
}

/* Asegura que las tarjetas tengan posición relativa */
.minimal-card {
    position: relative;
}

@media (max-width: 1024px) {
    .minimal-grid {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
    }

    .minimal-card {
        flex: 0 0 80%; /* o 300px, según el tamaño deseado */
        scroll-snap-align: start;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .estilo-minimal h1 {
        font-size: 2rem;
    }

    .estilo-minimal .subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .minimal-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .minimal-title {
        font-size: 1.2rem;
        min-height: auto;
    }

    .minimal-content {
        padding: 20px;
    }

    .pricing-row strong {
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    .estilo-minimal {
        padding: 40px 15px;
    }

    .minimal-image {
        height: 180px;
    }

    .cta-button {
        padding: 12px 20px;
        font-size: 0.95rem;
    }
}
/* ======= Sección Cena Científica ======= */
.cena-section {
    position: relative;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    padding: 80px 0;
    overflow: hidden;
    font-family: "Montserrat", sans-serif;
}

/* Efecto de partículas/estrellas de fondo */
.cena-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(2px 2px at 20% 30%, white, transparent),
        radial-gradient(2px 2px at 60% 70%, white, transparent),
        radial-gradient(1px 1px at 50% 50%, white, transparent),
        radial-gradient(1px 1px at 80% 10%, white, transparent),
        radial-gradient(2px 2px at 90% 60%, white, transparent),
        radial-gradient(1px 1px at 33% 85%, white, transparent);
    background-size: 200% 200%;
    opacity: 0.3;
    animation: sparkle 20s ease-in-out infinite;
}



.cena-container {
    position: relative;
    z-index: 2;
}

@keyframes pulse {
    0%,
    100% {
        transform: scale(1);
        box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 6px 20px rgba(255, 215, 0, 0.6);
    }
}

.cena-title {
    font-family: "Playfair Display", serif;
    font-size: 3.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 15px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    line-height: 1.2;
}

.cena-subtitle {
    font-size: 1.3rem;
    color: #ffd700;
    font-weight: 300;
    margin-bottom: 40px;
    letter-spacing: 2px;
}

.cena-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}



.cena-image {
    position: relative;
    height: 400px;
    overflow: hidden;
}

.cena-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.cena-card:hover .cena-image img {
    transform: scale(1.1);
}

.cena-image::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to bottom,
        transparent 0%,
        rgba(26, 26, 46, 0.7) 100%
    );
}

.cena-content {
    padding: 40px;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
}

.cena-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 25px;
    margin-bottom: 35px;
}

.detail-item {
    background: white;
    padding: 20px;
    border-radius: 12px;
    text-align: center;
    border: 2px solid #e9ecef;
    transition: all 0.3s ease;
}

.detail-item:hover {
    border-color: #ffd700;
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(255, 215, 0, 0.2);
}

.detail-item i {
    font-size: 2.5rem;
    color: #1b4191;
    margin-bottom: 10px;
    display: block;
}

.detail-item .label {
    font-size: 0.85rem;
    color: #6c757d;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.detail-item .precio,
.detail-item .value {
    font-size: 2rem;
    color: #1b4191;
    font-weight: 700;
}

.cena-description {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 25px;
    border-radius: 12px;
    margin-bottom: 30px;
}

.cena-description p {
    font-size: 1.05rem;
    color: #495057;
    line-height: 1.8;
    margin: 0;
}

.cena-description strong {
    color: #1b4191;
}

.features-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    margin-bottom: 35px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.feature-item i {
    font-size: 1.5rem;
    color: #ffd700;
}

.feature-item span {
    font-size: 0.95rem;
    color: #495057;
    font-weight: 500;
}

.btn-inscripcion {
    display: inline-block;
    background: linear-gradient(135deg, #1b4191, #0ea5e9);
    color: white;
    padding: 18px 50px;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 10px 30px rgba(27, 65, 145, 0.4);
    transition: all 0.4s ease;
    border: none;
    position: relative;
    overflow: hidden;
}

.btn-inscripcion::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
    transition: left 0.6s ease;
}

.btn-inscripcion:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(27, 65, 145, 0.5);
    color: white;
}

.btn-inscripcion:hover::before {
    left: 100%;
}

.btn-inscripcion i {
    margin-left: 10px;
    transition: transform 0.3s ease;
}

.btn-inscripcion:hover i {
    transform: translateX(5px);
}
/* Contenedor de botones */
.cena-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

/* Botón de ubicación */
.btn-ubicacion {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: white;
    color: #1b4191;
    padding: 18px 40px;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 3px solid #1b4191;
    box-shadow: 0 10px 30px rgba(27, 65, 145, 0.2);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.btn-ubicacion::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(27, 65, 145, 0.1),
        transparent
    );
    transition: left 0.6s ease;
}

.btn-ubicacion:hover {
    background: linear-gradient(135deg, #1b4191, #0ea5e9);
    color: white;
    border-color: #0ea5e9;
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(27, 65, 145, 0.4);
}

.btn-ubicacion:hover::before {
    left: 100%;
}

.btn-ubicacion i {
    font-size: 1.3rem;
    transition: transform 0.3s ease;
}

.btn-ubicacion:hover i {
    transform: scale(1.1);
}

/* Responsive para botones */
@media (max-width: 768px) {
    .cena-actions {
        flex-direction: column;
        gap: 15px;
    }

    .btn-inscripcion,
    .btn-ubicacion {
        width: 100%;
        padding: 15px 30px;
        font-size: 1rem;
        justify-content: center;
    }
}
/* Responsive */
@media (max-width: 768px) {
    .cena-title {
        font-size: 2.5rem;
    }

    .cena-subtitle {
        font-size: 1.1rem;
    }

    .cena-image {
        height: 300px;
    }

    .cena-content {
        padding: 25px;
    }

    .cena-details {
        grid-template-columns: 1fr;
    }

    .btn-inscripcion {
        width: 100%;
        padding: 15px 30px;
        font-size: 1rem;
    }
}
