/* Variables de Color */
:root {
    --morado-oscuro: #2A0A4A;
    --violeta: #6A1B9A;
    --violeta-claro: #9C27B0;
    --blanco: #FFFFFF;
    --negro-transparente: rgba(0, 0, 0, 0.7);
    --gris-claro: #F5F5F5;
}

/* Reset y Tipografía */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: var(--blanco);
}

h1, h2, h3, h4 {
    font-weight: 700;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Header Empresarial */
.header-empresarial {
    background-color: var(--blanco);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    z-index: 1000;
    padding: 1rem 0;
}

.header-empresarial .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 80px;
}

.logo span {
    display: block;
    font-size: 0.8rem;
    color: var(--violeta);
    margin-top: 0.3rem;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 1.5rem;
}

nav a {
    text-decoration: none;
    color: #333;
    font-weight: 600;
    transition: color 0.3s;
}

nav a:hover {
    color: var(--violeta);
}

.btn-contacto {
    background-color: transparent;
    color: var(--violeta);
    padding: 0.5rem 1.5rem;
    border-radius: 30px;
    border: 2px solid var(--violeta);
    transition: background 0.3s, color 0.3s;
}

.btn-contacto:hover {
    background-color: var(--violeta);
    color: var(--blanco);
}

.btn-diplomados {
    background-color: transparent;
    color: var(--violeta);
    padding: 0.5rem 1.5rem;
    border-radius: 30px;
    border: 2px solid var(--violeta);
    transition: background 0.3s, color 0.3s;
}

.btn-diplomados:hover{
    background-color: var(--violeta);
    color: var(--blanco);
}

.btn-eventos {
    background-color: transparent;
    color: var(--violeta);
    padding: 0.5rem 1.5rem;
    border-radius: 30px;
    border: 2px solid var(--violeta);
    transition: background 0.3s, color 0.3s;
}

.btn-eventos:hover{
    background-color: var(--violeta);
    color: var(--blanco);
}

.btn-nosotros {
    background-color: transparent;
    color: var(--violeta);
    padding: 0.5rem 1.5rem;
    border-radius: 30px;
    border: 2px solid var(--violeta);
    transition: background 0.3s, color 0.3s;
}

.btn-nosotros:hover{
    background-color: var(--violeta);
    color: var(--blanco);
}

.btn-admin {
    background-color: var(--morado-oscuro);
    color: var(--blanco) !important;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    font-size: 0.9rem;
}

/* Hero con Video */
.hero-video {
    position: relative;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--blanco);
}

.hero-video video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url(../img/banner2026.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    padding: 0 2rem;
}

.hero-content h1 {
    font-size: 3.2rem;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-content h1 span {
    color: var(--violeta-claro);
}

.hero-content p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.btn-hero {
    background-color: var(--violeta-claro);
    color: var(--blanco);
    padding: 1rem 2.5rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-hero:hover {
    background-color: var(--blanco);
    color: var(--violeta);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Sección de Valores */
.valores {
    padding: 5rem 0;
    background-color: var(--gris-claro);
}

.valores h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
}

.valores h2 span {
    color: var(--violeta);
}

.grid-valores {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}
.grid-valores p {
    text-align: justify;
}

.valor-card {
    background-color: var(--blanco);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}

.valor-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.valor-card i {
    font-size: 3rem;
    color: var(--violeta);
    margin-bottom: 1.5rem;
}

.valor-card h3 {
    margin-bottom: 1rem;
    color: var(--morado-oscuro);
}

/* Diplomados en Grid */
.diplomados-grid {
    padding: 5rem 0;
    background-color: var(--blanco);
}

.diplomados-grid h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
}

.diplomados-grid h2 span {
    color: var(--violeta);
}

.grid-diplomados {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
}

.diploma-card {
    background-color: var(--blanco);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.diploma-card:hover {
    transform: translateY(-10px);
}

.diploma-card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.diploma-info {
    padding: 1.5rem;
}

.diploma-info h3 {
    color: var(--morado-oscuro);
    margin-bottom: 0.5rem;
}

.diploma-info .diploma-meta {
    display: flex;
    justify-content: space-between;
    margin: 1rem 0;
    color: #666;
    font-size: 0.9rem;
}

.diploma-info .btn-diploma {
    display: inline-block;
    background-color: var(--violeta);
    color: var(--blanco);
    padding: 0.5rem 1.5rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s;
}

.diploma-info .btn-diploma:hover {
    background-color: var(--morado-oscuro);
}

.btn-diploma2 {
    display: block;
    background-color: var(--violeta);
    color: var(--blanco);
    padding: 0.5rem 1.5rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s;
    margin: 1rem auto;
    text-align: center;
    width: fit-content;
}

.btn-diploma2:hover {
    background-color: var(--morado-oscuro);
}

/* Timeline de Eventos */
.eventos-timeline {
    padding: 5rem 0;
    background-color: var(--gris-claro);
}

.eventos-timeline h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
}

.eventos-timeline h2 span {
    color: var(--violeta);
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background-color: var(--violeta);
}

.evento-timeline-card {
    position: relative;
    width: 50%;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.evento-timeline-card:nth-child(odd) {
    left: 0;
    text-align: right;
}

.evento-timeline-card:nth-child(even) {
    left: 50%;
}

.evento-timeline-card::after {
    content: '';
    position: absolute;
    top: 2rem;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: var(--violeta);
    z-index: 1;
}

.evento-timeline-card:nth-child(odd)::after {
    right: -30px;
}

.evento-timeline-card:nth-child(even)::after {
    left: -30px;
}

.evento-content {
    background-color: var(--blanco);
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.evento-content h3 {
    color: var(--morado-oscuro);
    margin-bottom: 0.5rem;
}

.evento-date {
    color: var(--violeta);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.evento-content img {
    display: block;
    margin: 0 auto 1rem auto;
    border-radius: 10px;
    max-width: 100%;
    height: auto;
}

/* Formulario de Contacto */
.contacto-card {
    padding: 5rem 0;
    background-color: var(--blanco);
}

.contacto-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    background-color: var(--gris-claro);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.contacto-info {
    padding: 3rem;
    background-color: var(--morado-oscuro);
    color: var(--blanco);
}

.contacto-info h2 {
    margin-bottom: 2rem;
    font-size: 2rem;
}

.contacto-info p {
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contacto-info i {
    font-size: 1.2rem;
    color: var(--violeta-claro);
}

.form-contacto {
    padding: 3rem;
}

.form-contacto input,
.form-contacto textarea {
    width: 100%;
    padding: 1rem;
    margin-bottom: 1.5rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: 'Montserrat', sans-serif;
}

.form-contacto textarea {
    min-height: 150px;
    resize: vertical;
}

.btn-form {
    background-color: var(--violeta);
    color: var(--blanco);
    border: none;
    padding: 1rem 2rem;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
    width: 100%;
}

.btn-form:hover {
    background-color: var(--morado-oscuro);
}

.btn-form i {
    margin-left: 0.5rem;
}

/* Footer Empresarial */
.footer-empresarial {
    background-color: var(--morado-oscuro);
    color: var(--blanco);
    padding: 3rem 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-logo img {
    height: 100px;
    margin: 0 auto 1rem;
    display: block;
}

.footer-links h3,
.footer-social h3 {
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: var(--blanco);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--violeta-claro);
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--blanco);
    transition: all 0.3s;
}

.social-icons a:hover {
    background-color: var(--violeta-claro);
    transform: translateY(-3px);
}

.footer-copyright {
    text-align: center;
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
}

/* Animaciones base AOS */
[data-aos] {
    transition: opacity 0.5s ease, transform 0.5s ease;
}

[data-aos="fade-up"] {
    transform: translateY(30px);
    opacity: 0;
}

[data-aos="fade-up"].aos-animate {
    transform: translateY(0);
    opacity: 1;
}

/* Responsive General */
@media (max-width: 992px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .contacto-wrapper {
        grid-template-columns: 1fr;
    }
    
    .contacto-info {
        text-align: center;
    }
    
    .timeline::before {
        left: 31px;
    }
    
    .evento-timeline-card {
        width: 100%;
        padding-left: 70px;
        padding-right: 0;
        text-align: left !important;
    }
    
    .evento-timeline-card:nth-child(even) {
        left: 0;
    }
    
    .evento-timeline-card::after {
        left: 20px !important;
    }
}

@media (max-width: 768px) {
    .header-empresarial .container {
        flex-direction: column;
    }
    
    nav ul {
        margin-top: 1.5rem;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content p {
        font-size: 1.2rem;
    }
    
    .grid-diplomados {
        grid-template-columns: 1fr;
    }

    .logo img {
        align-self: center;
    }
}

/* Estilos para los botones de valores */
.valor-btn {
    background-color: transparent;
    color: var(--violeta);
    border: 2px solid var(--violeta);
    padding: 8px 20px;
    border-radius: 30px;
    cursor: pointer;
    font-size: 14px;
    margin-top: 15px;
    transition: all 0.3s ease;
    font-weight: 600;
    display: inline-block;
}

.valor-btn:hover {
    background-color: transparent;
    color: #6A1B9A;
}

/* Estilos para los modals de valores */
.valor-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s ease;
    align-items: center;
    justify-content: center;
}

.valor-modal.show {
    display: flex;
    opacity: 1;
}

.valor-modal-content {
    background-color: white;
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    position: relative;
    animation: modalSlideIn 0.4s ease-out;
    overflow: hidden;
}

@keyframes modalSlideIn {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.valor-modal-header {
    background-color: var(--morado-oscuro);
    color: white;
    padding: 25px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.valor-modal-header i {
    font-size: 2rem;
    background-color: rgba(255, 255, 255, 0.2);
    padding: 15px;
    border-radius: 50%;
}

.valor-modal-header h2 {
    margin: 0;
    font-size: 1.8rem;
}

.valor-modal-body {
    padding: 25px;
    overflow-y: auto;
    max-height: calc(90vh - 150px);
}

.valor-modal-body p {
    margin-bottom: 15px;
    line-height: 1.7;
    text-align: justify !important;
}

.valor-modal-body ul {
    margin: 20px 0;
    padding-left: 20px;
}

.valor-modal-body li {
    margin-bottom: 10px;
    line-height: 1.6;
}

.valor-close-btn {
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 28px;
    color: #ffffff;
    cursor: pointer;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.2);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.valor-close-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.valor-modal-body::-webkit-scrollbar {
    width: 8px;
}

.valor-modal-body::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.valor-modal-body::-webkit-scrollbar-thumb {
    background: var(--violeta);
    border-radius: 4px;
}

.valor-modal-body::-webkit-scrollbar-thumb:hover {
    background: var(--morado-oscuro);
}

@media (max-width: 768px) {
    .valor-modal-header {
        flex-direction: column;
        text-align: center;
        padding: 20px 15px;
    }
    
    .valor-modal-header h2 {
        font-size: 1.4rem;
    }
    
    .valor-modal-body {
        padding: 20px 15px;
    }
}

.map-container {
    position: relative;
    padding-bottom: 47%;
    height: 0;
    overflow: hidden;
    max-width: 97%;
}
  
.map-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

@media (min-width: 320px) and (max-width: 375px) {
    .map-container {
        position: relative;
        padding-bottom: 45%;
        height: 0;
        overflow: hidden;
        max-width: 95%;
    }
    
    .map-container iframe {
        position: absolute;
        top: 0;
        left: 0;
        width: 90%;
        height: 90%;
    }

    .contacto-info h2 {
        margin-bottom: 1.5rem;
        font-size: 1.5rem;
    }

    .contacto-info p {
        font-size: .9rem;
        margin-bottom: .6rem;
        display: flex;
        align-items: center;
        gap: .6rem;
    }

    .contacto-info i {
        font-size: .9rem;
        color: var(--violeta-claro);
    }
}

.hamburger {
    display: none;
    cursor: pointer;
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1001;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: black;
    margin: 5px 0;
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
    .hamburger {
        display: block;
    }

    .nav-list {
        position: fixed;
        top: 90px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 110px);
        background-color: white;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding-top: 30px;
        transition: left 0.3s ease;
    }

    .nav-list.active {
        left: 0;
    }

    .nav-list li {
        margin: 15px 0;
    }

    .hamburger.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
}

#btnScrollTop {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 100;
    display: none;
    background-color: #780072;
    color: white;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 18px;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    transition: opacity 0.3s ease-in-out;
}

#btnScrollTop:hover {
    background-color: #7e7e7e;
}

.logout-container {
    text-align: right;
    margin-bottom: 20px;
}

@media (max-width: 320px) {
    .hero-content h1 {
        font-size: 1.2rem;
        margin-bottom: .5rem;
        text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    }

    .hero-content h1 span {
        color: var(--violeta-claro);
    }

    .hero-content p {
        font-size: 1rem;
        margin-bottom: 2rem;
        opacity: 0.9;
    }
}

/* ========== NUEVAS ADICIONES PARA ANIVERSARIO ========== */

/* Badge de aniversario */
.aniversario-badge {
    display: inline-block;
    background: linear-gradient(135deg, #D4AF37, #FFD700);
    color: #2A0A4A;
    font-weight: bold;
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    animation: pulse 1.5s infinite;
}

@media (max-width: 768px) {
    .ribbon-aniversario { font-size: 0.7rem; padding: 5px 40px; top: 15px; right: -35px; }
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* Botones hero dual */
.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-celebrar {
    background-color: #FFD700;
    color: #2A0A4A !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.btn-celebrar:hover {
    background-color: #FFC107;
    transform: translateY(-3px);
}

/* Sección de hitos */
.hitos-aniversario {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.hitos-aniversario h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
}

.hitos-aniversario h2 span {
    color: var(--violeta);
}

.grid-hitos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
}

.hito-card {
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(8px);
    border-radius: 20px;
    padding: 2rem 1rem;
    text-align: center;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(255,215,0,0.3);
}

.hito-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 30px rgba(0,0,0,0.15);
}

.hito-card i {
    font-size: 3rem;
    color: var(--violeta);
    margin-bottom: 1rem;
}

.hito-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--morado-oscuro);
}

.contador {
    font-size: 2.8rem;
    font-weight: 800;
    color: #D4AF37;
    margin: 0.5rem 0;
    line-height: 1;
}

/* CTA flotante WhatsApp */
.whatsapp-cta {
    position: fixed;
    bottom: 100px;
    right: 20px;
    background-color: #25D366;
    color: white;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    z-index: 99;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.whatsapp-cta i {
    font-size: 1.4rem;
}

.whatsapp-cta:hover {
    transform: scale(1.05);
    background-color: #128C7E;
}

/* Switch Modo Festivo */
.festivo-switch {
    position: fixed;
    bottom: 30px;
    left: 20px;
    background: var(--violeta);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    z-index: 100;
    transition: all 0.2s;
    color: white;
    font-size: 1.5rem;
}

.festivo-switch i {
    font-size: 1.8rem;
    color: white;
}

.festivo-switch:hover {
    transform: scale(1.05);
}

/* Modo Festivo activado (cambia colores a dorado) */
.festivo-mode .btn-hero,
.festivo-mode .btn-diploma,
.festivo-mode .btn-form {
    background: linear-gradient(45deg, #D4AF37, #FFD700);
    color: #2A0A4A;
    border: none;
}

.festivo-mode .violeta,
.festivo-mode .valor-card i,
.festivo-mode .hito-card i {
    color: #D4AF37;
}

.festivo-mode .hero-content h1 span,
.festivo-mode .valores h2 span,
.festivo-mode .diplomados-grid h2 span,
.festivo-mode .eventos-timeline h2 span,
.festivo-mode .hitos-aniversario h2 span {
    color: #D4AF37;
}

.festivo-mode .valor-card,
.festivo-mode .diploma-card,
.festivo-mode .evento-content,
.festivo-mode .hito-card {
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.4);
    border: 1px solid rgba(212, 175, 55, 0.5);
}

.festivo-mode .countdown-label {
    color: #FFD700;
    text-shadow: 0 0 5px rgba(255,215,0,0.8);
    animation: brightPulse 1.5s infinite;
}
@keyframes brightPulse {
    0% { text-shadow: 0 0 2px #FFD700; }
    50% { text-shadow: 0 0 12px #FFD700; }
    100% { text-shadow: 0 0 2px #FFD700; }
}

/* Efecto Ripple en botones */
.btn-hero, .btn-diploma, .btn-form, .valor-btn, .btn-celebrar {
    position: relative;
    overflow: hidden;
}

.ripple {
    position: absolute;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.6);
    transform: scale(0);
    animation: ripple-animation 0.5s linear;
    pointer-events: none;
}

@keyframes ripple-animation {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* Ajustes responsivos adicionales para móviles pequeños */
@media (max-width: 480px) {
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    .btn-hero, .btn-celebrar {
        width: 80%;
        text-align: center;
    }
    .aniversario-badge {
        font-size: 0.9rem;
        padding: 0.3rem 1rem;
    }
    .hito-card {
        padding: 1rem;
    }
    .contador {
        font-size: 2rem;
    }
    .whatsapp-cta span {
        display: none;
    }
    .whatsapp-cta {
        padding: 12px;
        border-radius: 50%;
        bottom: 100px;
    }
    .festivo-switch {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
        bottom: 20px;
        left: 20px;
    }
}

@media (max-width: 320px) {
    .hero-content h1 {
        font-size: 1.5rem;
    }
    .hero-content p {
        font-size: 1rem;
    }
    .grid-hitos {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    .whatsapp-cta {
        bottom: 90px;
        right: 10px;
    }
}
.countdown-wrapper {
    margin-bottom: 1.8rem;
}
.countdown-badge {
    display: inline-flex;
    gap: 1rem;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(12px);
    padding: 0.8rem 1.8rem;
    border-radius: 60px;
    border: 1px solid rgba(255, 215, 0, 0.7);
}
.countdown-item {
    text-align: center;
    min-width: 65px;
}
.countdown-item span {
    font-size: 2rem;
    font-weight: 800;
    color: #FFD700;
    display: block;
    line-height: 1.1;
    text-shadow: 0 0 5px rgba(0,0,0,0.5);
}
.countdown-item small {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: white;
}
.countdown-label {
    font-size: 0.8rem;
    margin-top: 8px;
    color: white;
    text-shadow: 0 1px 2px black;
}
@media (max-width: 550px) {
    .countdown-badge { gap: 0.5rem; padding: 0.5rem 1rem; }
    .countdown-item { min-width: 50px; }
    .countdown-item span { font-size: 1.4rem; }
}
@media (max-width: 380px) {
    .countdown-badge { gap: 0.3rem; padding: 0.4rem 0.8rem; }
    .countdown-item { min-width: 42px; }
    .countdown-item span { font-size: 1.2rem; }
}


/* Animación para globos que suben */
@keyframes subirGlobo {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 1;
    }
    100% {
        transform: translateY(-100vh) rotate(15deg);
        opacity: 0;
    }
}
