* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: #2C3E50;
    line-height: 1.6;
    overflow-x: hidden;
    background: #52abeb;
    min-height: 100vh;
}


/* Header y Navegación */
header {
    display: flex;
    align-items: center;
    justify-content: space-between; /* Logo a la izquierda, nav a la derecha */
    padding: 10px 5%;
    background-color: transparent;
    position: relative;
    z-index: 100;
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
}


.logo {
    width: 150px; /* MUCHO más pequeño */
    height: 150px;
}

.logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Estilos del Navbar Centrado */
nav {
    flex: 1; /* Ocupa el espacio restante */
    display: flex;
    justify-content: flex-end; /* Alinea a la derecha */
}

.nav-menu {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 25px; /* Espacio moderado entre items */
    margin: 0;
    padding: 0;
    flex-wrap: wrap; /* Permite que bajen de línea si es necesario */
    justify-content: flex-end;
}

nav li {
    position: relative;
}

/* Enlaces normales */
nav a {
    text-decoration: none;
    color: #ae7b51;
    font-weight: 500;
    font-size: 15px; /* Tamaño normal */
    font-weight: bold;
    transition: all 0.3s ease;
    padding: 5px 0;
    display: block;
    white-space: nowrap;
}

nav a:hover {
    color: #c79558 !important;
}

nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    transition: width 0.3s ease;
}

nav a:hover::after {
    width: 100%;
    color: #c79558 !important;
}

/* Estilos del Menú Desplegable Centrado */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0; /* Alineado a la derecha del padre */
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    min-width: 200px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    padding: 10px 0;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    margin: 0;
    border-bottom: 1px solid rgba(79, 195, 161, 0.1);
    width: 100%;
}

.dropdown-menu li:last-child {
    border-bottom: none;
}

.dropdown-menu a {
    color: #a37a48;
    padding: 10px 20px;
    font-size: 14px;
    display: block;
    transition: all 0.3s ease;
    text-align: left;
}

.dropdown-menu a::after {
    display: none;
    color: #c79558 !important;
}

.dropdown-menu a:hover {
    color: #c79558 !important;
    background: rgba(79, 195, 161, 0.1);
}

/* Main Section - IMAGEN MÁS GRANDE */
.main-section {
    display: flex;
    align-items: center;
    padding: 80px 5%;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
    min-height: 100vh;
}

.photo-container {
    flex: 1;
    display: flex;
    justify-content: center;
    position: relative;
}

.photo-frame {
    width: 400px;  /* AUMENTADO de 350px */
    height: 500px; /* AUMENTADO de 450px */
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.1));
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.photo {
    width: 95%;    /* AUMENTADO de 90% */
    height: 95%;   /* AUMENTADO de 90% */
    background: linear-gradient(135deg, #8FD8D2, #4FC3A1);
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
    font-weight: 500;
    text-align: center;
    padding: 20px;
    overflow: hidden; /* Para que la imagen no se salga */
}

/* Asegurar que la imagen dentro del marco se vea bien */
.photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 5px;
}

.description {
    flex: 1;
    padding: 0 40px;
    color: white;
}

.description h1 {
    font-family: 'Playfair Display', serif;
    font-size: 42px;
    margin-bottom: 25px;
    color: white;
    line-height: 1.2;
}

.description p {
    font-size: 18px;
    margin-bottom: 25px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
}

/* Footer */
footer {
    background-color: rgba(19, 61, 104, 0.9);
    color: white;
    padding: 5px 5%;
    text-align: center;
    position: relative;
    z-index: 10;
    margin-top: 50px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: white;
}

.footer-logo {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    margin-bottom: 25px;
    color: white;
}

.footer-links {
    display: flex;
    margin-bottom: 25px;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-links a {
    color: white;
    margin: 0 20px;
    text-decoration: none;
    transition: color 0.3s;
    font-size: 16px;
}

.footer-links a:hover {
    color: #8FD8D2;
}

.social-icons {
    display: flex;
    margin-bottom: 25px;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    margin: 0 12px;
    transition: all 0.3s;
    color: white;
    text-decoration: none;
    font-weight: bold;
}

.social-icons a:hover {
    background-color: #4FC3A1;
    transform: translateY(-5px);
}

.copyright {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 25px;
}

/* Imagen de fondo - tamaño ajustado */
.image-background {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

#backgroundImage {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 200%;
    height: 100%;
    transform: translateX(-50%) translateY(-50%);
    object-fit: contain;
    object-position: center;
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(2px);
}

/* ========== RESPONSIVE DESIGN ========== */

/* Tablets y laptops pequeñas */
@media (max-width: 1024px) {
    .nav-menu {
        gap: 30px;
    }
    
    nav a {
        font-size: 15px;
    }
}

/* Tablets en vertical y móviles grandes */
@media (max-width: 900px) {
    .main-section {
        flex-direction: column;
        padding: 50px 5%;
    }

    .description {
        padding: 40px 0 0 0;
        text-align: center;
    }

    .photo-frame {
        width: 350px;  /* AUMENTADO de 300px */
        height: 450px; /* AUMENTADO de 400px */
    }
}

/* Móviles y tablets pequeñas */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        gap: 20px;
    }
    
    .nav-menu {
        flex-direction: column;
        gap: 15px;
        width: 100%;
    }
    
    nav li {
        width: 100%;
        text-align: center;
    }
    
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        background: rgba(255, 255, 255, 0.1);
        backdrop-filter: blur(5px);
        margin-top: 10px;
        left: auto;
        transform: none;
        width: 90%;
        margin-left: auto;
        margin-right: auto;
    }
    
    .dropdown-menu a {
        color: #a37a48 !important;
        padding: 10px 15px;
    }
}

/* Móviles pequeños */
@media (max-width: 600px) {
    header {
        flex-direction: column;
        padding: 15px 5%;
    }

    .logo-container {
        margin-bottom: 15px;
    }

    .description h1 {
        font-size: 32px;
    }

    .description p {
        font-size: 16px;
    }

    .photo-frame {
        width: 280px;  /* AUMENTADO de 250px */
        height: 380px; /* AUMENTADO de 350px */
    }
}

/* Móviles muy pequeños */
@media (max-width: 480px) {
    .nav-menu {
        gap: 10px;
    }
    
    nav a {
        font-size: 14px;
        padding: 6px 0;
    }
    
    .dropdown-menu {
        min-width: 250px;
    }

    .photo-frame {
        width: 260px;  /* Un poco más pequeño para móviles muy pequeños */
        height: 360px;
    }

    .description h1 {
        font-size: 28px;
    }

    .description p {
        font-size: 15px;
    }
}

/* Pantallas muy grandes */
@media (min-width: 1400px) {
    .main-section {
        max-width: 1400px;
    }

    .photo-frame {
        width: 450px;
        height: 550px;
    }
}



/* Estilos específicos para la página de Contacto */
        .contacto-hero {
            position: relative;
            min-height: 60vh;
            display: flex;
            align-items: center;
            justify-content: center;
            text-align: center;
            padding: 100px 5% 80px;
        }

        .contacto-content {
            max-width: 1000px;
            margin: 0 auto;
            position: relative;
            z-index: 10;
        }

        .contacto-text {
            background: rgba(255, 255, 255, 0.1);
            backdrop-filter: blur(10px);
            padding: 40px;
            border-radius: 20px;
            border: 1px solid rgba(255, 255, 255, 0.2);
            margin-bottom: 40px;
        }

        .contacto-text h1 {
            font-family: 'Playfair Display', serif;
            font-size: 2.8rem;
            color: white;
            margin-bottom: 15px;
            font-weight: 600;
        }

        .contacto-text .subtitle {
            font-size: 1.3rem;
            color: rgba(255, 255, 255, 0.9);
            margin-bottom: 30px;
            font-weight: 300;
        }

        .contacto-text p {
            font-size: 1.2rem;
            line-height: 1.8;
            color: rgba(255, 255, 255, 0.95);
            margin-bottom: 0;
        }

        /* Grid de contacto */
        .contacto-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 30px;
            margin: 40px 0;
        }

        .contacto-card {
            background: rgba(255, 255, 255, 0.1);
            backdrop-filter: blur(10px);
            padding: 30px;
            border-radius: 15px;
            border: 1px solid rgba(255, 255, 255, 0.2);
            text-align: center;
            transition: all 0.3s ease;
        }

        .contacto-card:hover {
            transform: translateY(-5px);
            background: rgba(255, 255, 255, 0.15);
        }

        .contacto-icon {
            font-size: 3rem;
            margin-bottom: 20px;
        }

        .contacto-card h3 {
            font-family: 'Playfair Display', serif;
            color: white;
            font-size: 1.5rem;
            margin-bottom: 15px;
            font-weight: 600;
        }

        .contacto-card p {
            color: rgba(255, 255, 255, 0.9);
            margin-bottom: 20px;
            font-size: 1.1rem;
        }

        .contacto-link {
            display: inline-block;
            padding: 12px 25px;
            background: linear-gradient(135deg, #4FC3A1, #8FD8D2);
            color: white;
            text-decoration: none;
            border-radius: 25px;
            font-weight: 600;
            transition: all 0.3s ease;
            border: none;
            cursor: pointer;
        }

        .contacto-link:hover {
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
        }

        /* Formulario de contacto */
        .formulario-section {
            background: rgba(255, 255, 255, 0.1);
            backdrop-filter: blur(10px);
            padding: 40px;
            border-radius: 20px;
            border: 1px solid rgba(255, 255, 255, 0.2);
            margin-top: 40px;
        }

        .formulario-section h2 {
            font-family: 'Playfair Display', serif;
            color: white;
            font-size: 2.2rem;
            margin-bottom: 30px;
            text-align: center;
            font-weight: 600;
        }

        .form-group {
            margin-bottom: 25px;
        }

        .form-label {
            display: block;
            color: white;
            margin-bottom: 8px;
            font-weight: 500;
            font-size: 1.1rem;
        }

        .form-input, .form-textarea {
            width: 100%;
            padding: 15px;
            background: rgba(255, 255, 255, 0.9);
            border: 1px solid rgba(255, 255, 255, 0.3);
            border-radius: 10px;
            font-size: 1rem;
            font-family: 'Montserrat', sans-serif;
            transition: all 0.3s ease;
        }

        .form-input:focus, .form-textarea:focus {
            outline: none;
            background: white;
            border-color: #4FC3A1;
            box-shadow: 0 0 0 3px rgba(79, 195, 161, 0.3);
        }

        .form-textarea {
            min-height: 120px;
            resize: vertical;
        }

        .submit-btn {
            display: block;
            width: 100%;
            padding: 16px;
            background: linear-gradient(135deg, #4FC3A1, #8FD8D2);
            color: white;
            border: none;
            border-radius: 25px;
            font-size: 1.1rem;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            font-family: 'Montserrat', sans-serif;
        }

        .submit-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
        }

        /* Información adicional */
        .info-section {
            margin-top: 50px;
            text-align: center;
        }

        .info-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 20px;
            margin-top: 30px;
        }

        .info-item {
            background: rgba(255, 255, 255, 0.05);
            padding: 20px;
            border-radius: 10px;
            border: 1px solid rgba(255, 255, 255, 0.1);
        }

        .info-item h4 {
            color: #8FD8D2;
            margin-bottom: 10px;
            font-size: 1.1rem;
        }

        .info-item p {
            color: rgba(255, 255, 255, 0.8);
            margin: 0;
        }

        .back-button {
            display: inline-block;
            margin-top: 40px;
            padding: 12px 30px;
            background: rgba(255, 255, 255, 0.1);
            color: white;
            text-decoration: none;
            border-radius: 25px;
            border: 1px solid rgba(255, 255, 255, 0.3);
            transition: all 0.3s ease;
        }

        .back-button:hover {
            background: rgba(255, 255, 255, 0.2);
            transform: translateY(-2px);
        }

        /* Responsive */
        @media (max-width: 768px) {
            .contacto-hero {
                min-height: 50vh;
                padding: 80px 5% 60px;
            }

            .contacto-text h1 {
                font-size: 2.2rem;
            }

            .contacto-text .subtitle {
                font-size: 1.1rem;
            }

            .contacto-text p {
                font-size: 1.1rem;
            }

            .contacto-text, .formulario-section {
                padding: 30px 25px;
            }

            .contacto-grid {
                grid-template-columns: 1fr;
            }
        }

        @media (max-width: 480px) {
            .contacto-text h1 {
                font-size: 1.8rem;
            }

            .contacto-card {
                padding: 20px;
            }

            .contacto-icon {
                font-size: 2.5rem;
            }
        }

        /* Estilos para el logo en el popup */
.popup-logo {
    position: absolute;
    top: 20px;
    left: 5px;
    width: 80px;
    height: 80px;
}

.popup-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: 0.9;
}

/* Ajustar el close button para que no se superponga */
.close-btn {
    position: absolute;
    top: 20px;
    right: 25px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    z-index: 10; /* Para que esté sobre el logo */
}


.popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(156, 210, 248, 0.9) !important;
    backdrop-filter: blur(10px);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    overflow: hidden; /* 🔥 EVITA SCROLL EXTERNO */
}

.popup-container {
    background: white;
    border-radius: 20px;
    padding: 0;
    width: 90%;
    max-width: 500px;
    max-height: 85vh; /* 🔥 ALTURA MÁXIMA */
    overflow: hidden; /* 🔥 OCULTA SCROLL EXTERNO */
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    position: relative;
    animation: popupAppear 0.6s ease-out;
    display: flex;
    flex-direction: column; /* 🔥 FLEX PARA SCROLL INTERNO */
}

.popup-header {
    color: white;
    padding: 30px 40px 20px 40px;
    text-align: center;
    position: relative;
    flex-shrink: 0; /* 🔥 NO SE ENCOGE */
}

.popup-body {
    padding: 25px 40px 30px 40px;
    overflow-y: auto; /* 🔥 SCROLL SOLO DENTRO DEL BODY */
    flex-grow: 1; /* 🔥 OCUPA ESPACIO DISPONIBLE */
}

/* 🔥 ESTILOS PARA EL SCROLL BONITO */
.popup-body::-webkit-scrollbar {
    width: 6px;
}

.popup-body::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.popup-body::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #c56505, #6e3904);
    border-radius: 10px;
}


/* 🔐 ESTILOS PARA EL MODAL DE LOGIN ADMIN */
.login-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(143, 201, 242, 0.95);
    backdrop-filter: blur(10px);
    z-index: 2000;
    justify-content: center;
    align-items: center;
    animation: modalAppear 0.5s ease-out;
}

@keyframes modalAppear {
    from {
        opacity: 0;
        backdrop-filter: blur(0px);
    }
    to {
        opacity: 1;
        backdrop-filter: blur(10px);
    }
}

.login-modal-content {
    background: linear-gradient(135deg, #1a5276 0%, #0a3d62 100%);
    border-radius: 20px;
    padding: 0;
    width: 90%;
    max-width: 400px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.login-header {
    background: linear-gradient(135deg, #4FC3A1, #8FD8D2);
    padding: 40px 30px 30px 30px;
    text-align: center;
    position: relative;
}

.login-close-btn {
    position: absolute;
    top: 15px;
    right: 20px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.login-close-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.login-logo {
    width: 180px;
    height: 180px;
    margin: 0 auto 0px auto;
}

.login-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain; 
}

.login-header h2 {
    font-family: 'Playfair Display', serif;
    color: white;
    font-size: 1.8rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.login-header p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    margin: 0;
}

.login-form {
    padding: 40px 30px 30px 30px;
}

.input-group {
    position: relative;
    margin-bottom: 25px;
}

.input-icon {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #4f2808;
    font-size: 1.1rem;
}

.input-group input {
    width: 100%;
    padding: 16px 20px 16px 50px;
    background: rgba(21, 20, 20, 0.1);
    border: 2px solid rgb(232, 108, 13);
    border-radius: 12px;
    font-size: 1rem;
    font-family: 'Montserrat', sans-serif;
    color: black;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.input-group input::placeholder {
    color: rgb(112, 51, 5);
}

.input-group input:focus {
    outline: none;
    border-color: rgb(71, 32, 3);
    background: rgba(0, 0, 0, 0.15);
    box-shadow: 0 0 0 3px rgba(79, 195, 161, 0.2);
}

.login-submit-btn {
    width: 100%;
    padding: 18px;
    background: linear-gradient(135deg, #4FC3A1, #8FD8D2);
    color: white;
    border: none;
    border-radius: 15px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Montserrat', sans-serif;
    position: relative;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(79, 195, 161, 0.3);
}

.login-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(79, 195, 161, 0.4);
}

.login-submit-btn:active {
    transform: translateY(0);
}

.btn-loading {
    display: none;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.loading-spinner {
    width: 20px;
    height: 20px;
    border: 2px solid transparent;
    border-top: 2px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.login-submit-btn.loading .btn-text {
    opacity: 0;
}

.login-submit-btn.loading .btn-loading {
    display: block;
}

.login-footer {
    padding: 20px 30px 30px 30px;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.login-footer p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    margin: 0;
}


    /* Estilos del Popup - ESTILO ELEGANTE */
    .popup-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(10, 61, 98, 0.9);
        backdrop-filter: blur(10px);
        z-index: 1000;
        justify-content: center;
        align-items: center;
    }

    .popup-container {
        background: white;
        border-radius: 20px;
        padding: 0;
        width: 90%;
        max-width: 500px;
        box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
        position: relative;
        animation: popupAppear 0.6s ease-out;
        overflow: hidden;
    }

    @keyframes popupAppear {
        from {
            opacity: 0;
            transform: scale(0.8) translateY(-30px);
        }
        to {
            opacity: 1;
            transform: scale(1) translateY(0);
        }
    }

    .popup-header {
        background: linear-gradient(135deg, #4FC3A1, #8FD8D2);
        color: white;
        padding: 40px 40px 30px 40px;
        text-align: center;
        position: relative;
    }

    .popup-header h2 {
        font-family: 'Playfair Display', serif;
        color: white;
        font-size: 2.3rem;
        margin-bottom: 10px;
        font-weight: 700;
        line-height: 1.2;
    }

    .popup-header p {
        color: rgba(255, 255, 255, 0.95);
        font-size: 1.2rem;
        margin: 0;
        font-weight: 300;
    }

    .close-btn {
        position: absolute;
        top: 20px;
        right: 25px;
        background: rgba(255, 255, 255, 0.2);
        border: none;
        color: white;
        font-size: 24px;
        cursor: pointer;
        transition: all 0.3s ease;
        width: 40px;
        height: 40px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        backdrop-filter: blur(10px);
    }

    .close-btn:hover {
        background: rgba(255, 255, 255, 0.3);
        transform: scale(1.1);
    }

    .popup-body {
        padding: 40px;
    }

    .form-group {
        margin-bottom: 25px;
    }

    .form-label {
        display: block;
        color: #2C3E50;
        margin-bottom: 10px;
        font-weight: 600;
        font-size: 1rem;
        font-family: 'Montserrat', sans-serif;
    }

    .form-input, .form-select {
        width: 100%;
        padding: 16px 20px;
        background: #f8f9fa;
        border: 2px solid #e9ecef;
        border-radius: 12px;
        font-size: 1rem;
        font-family: 'Montserrat', sans-serif;
        transition: all 0.3s ease;
        color: #000000;
    }

    .form-input:focus, .form-select:focus {
        outline: none;
        background: white;
        box-shadow: 0 0 0 3px rgba(79, 195, 161, 0.1);
        transform: translateY(-2px);
    }

    .form-input::placeholder {
        color: #000000;
    }

    .submit-btn {
        width: 100%;
        padding: 18px;
        background: linear-gradient(135deg, #4FC3A1, #8FD8D2);
        color: white;
        border: none;
        border-radius: 15px;
        font-size: 1.2rem;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.3s ease;
        font-family: 'Montserrat', sans-serif;
        margin-top: 10px;
        box-shadow: 0 5px 15px rgba(79, 195, 161, 0.3);
    }

    .submit-btn:hover {
        transform: translateY(-3px);
        box-shadow: 0 8px 25px rgba(79, 195, 161, 0.4);
    }

    .submit-btn:active {
        transform: translateY(-1px);
    }

    .submit-btn:disabled {
        opacity: 0.7;
        cursor: not-allowed;
        transform: none;
        box-shadow: none;
    }

    /* Estilo para el enlace de consulta gratuita */
    .consulta-link {
        cursor: pointer;
        transition: all 0.3s ease;
    }

    .consulta-link:hover {
        color: #ae7b51 !important;
    }

     /* Estilos específicos para la página de Contacto */
        .contacto-hero {
            position: relative;
            min-height: 60vh;
            display: flex;
            align-items: center;
            justify-content: center;
            text-align: center;
            padding: 100px 5% 80px;
        }

        .contacto-content {
            max-width: 1000px;
            margin: 0 auto;
            position: relative;
            z-index: 10;
        }

        .contacto-text {
            background: rgba(255, 255, 255, 0.1);
            backdrop-filter: blur(10px);
            padding: 40px;
            border-radius: 20px;
            border: 1px solid rgba(255, 255, 255, 0.2);
            margin-bottom: 40px;
        }

        .contacto-text h1 {
            font-family: 'Playfair Display', serif;
            font-size: 2.8rem;
            color: white;
            margin-bottom: 15px;
            font-weight: 600;
        }

        .contacto-text .subtitle {
            font-size: 1.3rem;
            color: rgba(255, 255, 255, 0.9);
            margin-bottom: 30px;
            font-weight: 300;
        }

        .contacto-text p {
            font-size: 1.2rem;
            line-height: 1.8;
            color: rgba(255, 255, 255, 0.95);
            margin-bottom: 0;
        }

        /* Grid de contacto */
        .contacto-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 30px;
            margin: 40px 0;
        }

        .contacto-card {
            background: rgba(255, 255, 255, 0.1);
            backdrop-filter: blur(10px);
            padding: 30px;
            border-radius: 15px;
            border: 1px solid rgba(255, 255, 255, 0.2);
            text-align: center;
            transition: all 0.3s ease;
        }

        .contacto-card:hover {
            transform: translateY(-5px);
            background: rgba(255, 255, 255, 0.15);
        }

        .contacto-icon {
            font-size: 3rem;
            margin-bottom: 20px;
        }

        .contacto-card h3 {
            font-family: 'Playfair Display', serif;
            color: white;
            font-size: 1.5rem;
            margin-bottom: 15px;
            font-weight: 600;
        }

        .contacto-card p {
            color: rgba(255, 255, 255, 0.9);
            margin-bottom: 20px;
            font-size: 1.1rem;
        }

        .contacto-link {
            display: inline-block;
            padding: 12px 25px;
            background: linear-gradient(135deg, #4FC3A1, #8FD8D2);
            color: white;
            text-decoration: none;
            border-radius: 25px;
            font-weight: 600;
            transition: all 0.3s ease;
            border: none;
            cursor: pointer;
        }

        .contacto-link:hover {
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
        }

        /* Formulario de contacto */
        .formulario-section {
            background: rgba(255, 255, 255, 0.1);
            backdrop-filter: blur(10px);
            padding: 40px;
            border-radius: 20px;
            border: 1px solid rgba(255, 255, 255, 0.2);
            margin-top: 40px;
        }

        .formulario-section h2 {
            font-family: 'Playfair Display', serif;
            color: white;
            font-size: 2.2rem;
            margin-bottom: 30px;
            text-align: center;
            font-weight: 600;
        }

        .form-group {
            margin-bottom: 25px;
        }

        .form-label {
            display: block;
            color: white;
            margin-bottom: 8px;
            font-weight: 500;
            font-size: 1.1rem;
        }

        .form-input, .form-textarea {
            width: 100%;
            padding: 15px;
            background: rgba(255, 255, 255, 0.9);
            border: 1px solid rgba(255, 255, 255, 0.3);
            border-radius: 10px;
            font-size: 1rem;
            font-family: 'Montserrat', sans-serif;
            transition: all 0.3s ease;
        }

        .form-input:focus, .form-textarea:focus {
            outline: none;
            background: white;
            border-color: #4FC3A1;
            box-shadow: 0 0 0 3px rgba(79, 195, 161, 0.3);
        }

        .form-textarea {
            min-height: 120px;
            resize: vertical;
        }

        .submit-btn {
            display: block;
            width: 100%;
            padding: 16px;
            background: linear-gradient(135deg, #4FC3A1, #8FD8D2);
            color: white;
            border: none;
            border-radius: 25px;
            font-size: 1.1rem;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            font-family: 'Montserrat', sans-serif;
        }

        .submit-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
        }

        /* Información adicional */
        .info-section {
            margin-top: 50px;
            text-align: center;
            font-weight: bold;
        }

        .info-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 20px;
            margin-top: 30px;
        }

        .info-item {
            background: rgba(255, 255, 255, 0.05);
            padding: 20px;
            border-radius: 10px;
            border: 1px solid rgba(255, 255, 255, 0.1);
        }

        .info-item h4 {
            color: #8FD8D2;
            margin-bottom: 10px;
            font-size: 1.1rem;
        }

        .info-item p {
            color: rgba(255, 255, 255, 0.8);
            margin: 0;
        }

        .back-button {
            display: inline-block;
            margin-top: 40px;
            padding: 12px 30px;
            background: rgba(255, 255, 255, 0.1);
            color: white;
            text-decoration: none;
            border-radius: 25px;
            border: 1px solid rgba(255, 255, 255, 0.3);
            transition: all 0.3s ease;
        }

        .back-button:hover {
            background: rgba(255, 255, 255, 0.2);
            transform: translateY(-2px);
        }

        /* Responsive */
        @media (max-width: 768px) {
            .contacto-hero {
                min-height: 50vh;
                padding: 80px 5% 60px;
            }

            .contacto-text h1 {
                font-size: 2.2rem;
            }

            .contacto-text .subtitle {
                font-size: 1.1rem;
            }

            .contacto-text p {
                font-size: 1.1rem;
            }

            .contacto-text, .formulario-section {
                padding: 30px 25px;
            }

            .contacto-grid {
                grid-template-columns: 1fr;
            }
        }

        @media (max-width: 480px) {
            .contacto-text h1 {
                font-size: 1.8rem;
            }

            .contacto-card {
                padding: 20px;
            }

            .contacto-icon {
                font-size: 2.5rem;
            }
        }


        * { 
            margin: 0; 
            padding: 0; 
            box-sizing: border-box; 
        }
        
        body { 
            font-family: 'Montserrat', sans-serif; 
            background: linear-gradient(135deg, #0f2b46 0%, #1a365d 50%, #2d3748 100%);
            color: #e2e8f0; 
            min-height: 100vh;
            line-height: 1.6;
        }

        .admin-container {
            display: grid;
            grid-template-columns: 280px 1fr;
            min-height: 100vh;
        }

        /* Sidebar Elegante */
        .sidebar {
            background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%);
            padding: 2rem 1.5rem;
            border-right: 1px solid #334155;
            box-shadow: 4px 0 20px rgba(0,0,0,0.3);
            position: fixed;
            width: 280px;
            height: 100vh;
            overflow-y: auto;
        }

        .logo-section {
            text-align: center;
            margin-bottom: 3rem;
            padding-bottom: 2rem;
            border-bottom: 1px solid #334155;
        }

        .logo-section h1 {
            font-family: 'Playfair Display', serif;
            font-size: 1.8rem;
            color: #ffffff;
            margin-bottom: 0.5rem;
        }

        .logo-section p {
            color: #94a3b8;
            font-size: 0.9rem;
        }

        .nav-section {
            margin-bottom: 2rem;
        }

        .nav-title {
            color: #64748b;
            font-size: 0.8rem;
            text-transform: uppercase;
            letter-spacing: 1px;
            margin-bottom: 1rem;
            font-weight: 600;
        }

        .nav-item {
            display: flex;
            align-items: center;
            padding: 0.8rem 1rem;
            color: #ffffff;
            text-decoration: none;
            border-radius: 8px;
            margin-bottom: 0.5rem;
            transition: all 0.3s ease;
            cursor: pointer;
        }

        .nav-item:hover, .nav-item.active {
            color: white;
            transform: translateX(5px);
        }

        .nav-item-meses {
            display: flex;
            align-items: center;
            padding: 0.8rem 1rem;
            color: #ffffff;
            text-decoration: none;
            border-radius: 8px;
            margin-bottom: 0.5rem;
            transition: all 0.3s ease;
            cursor: pointer;
        }

        .nav-item-meses:hover, .nav-item-meses.active {
            color: white;
            transform: translateX(5px);
        }

        .nav-item i {
            margin-right: 0.8rem;
            width: 20px;
            text-align: center;
        }

        /* Main Content */
        .main-content {
            grid-column: 2;
            padding: 2rem;
            margin-left: 100px;
            margin-right: 100px;
        }

        .header-bar {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 2rem;
            padding-bottom: 1.5rem;
            border-bottom: 1px solid #334155;
            border-radius: 20px;
        }

        .welcome-section h2 {
            font-family: 'Playfair Display', serif;
            font-size: 3rem;
            color: #ffffff;
            margin-bottom: 0.5rem;
            margin-left: 20px;
        }

        .welcome-section p {
            margin-left: 20px;
            font-size: 1.5rem;
        }
        .header-actions {
            margin-right: 20px;
            margin-top: 20px;
        }

        /* Stats Grid */
        .stats-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
            gap: 1.5rem;
            margin-bottom: 2rem;
        }

        .stat-card {
            background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
            padding: 1.5rem;
            border-radius: 16px;
            border: 1px solid #475569;
            box-shadow: 0 8px 25px rgba(0,0,0,0.2);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }

        .stat-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 12px 35px rgba(0,0,0,0.3);
        }

        .stat-header {
            display: flex;
            justify-content: between;
            align-items: center;
            margin-bottom: 1rem;
        }

        .stat-icon {
            width: 50px;
            height: 50px;
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.5rem;
            margin-right: 1rem;
        }

        .icon-primary { background: linear-gradient(135deg, #4FC3A1, #8FD8D2); }
        .icon-warning { background: linear-gradient(135deg, #f59e0b, #fbbf24); }
        .icon-success { background: linear-gradient(135deg, #10b981, #34d399); }
        .icon-danger { background: linear-gradient(135deg, #ef4444, #f87171); }

        .stat-info { flex: 1;
            margin-bottom: -15px;
        }

        .stat-number {
            font-size: 2rem;
            font-weight: 700;
            color: #ffffff;
            line-height: 1;
        }

        .stat-label {
            color: #94a3b8;
            font-size: 1.2rem;
            font-weight: bolder;
            margin-top: 0.25rem;
        }

        /* Content Sections */
        .content-section {
            background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
            border-radius: 16px;
            border: 1px solid #475569;
            padding: 2rem;
            margin-bottom: 2rem;
            box-shadow: 0 8px 25px rgba(0,0,0,0.2);
        }

        .section-header {
            display: flex;
            justify-content: between;
            align-items: center;
            margin-bottom: 1.5rem;
        }

        .section-title {
            font-family: 'Playfair Display', serif;
            font-size: 2rem;
            margin-left: 470px;
        }

        /* Tables and Lists */
        .citas-table {
            width: 100%;
            border-collapse: collapse;
        }

        .citas-table th {
            text-align: left;
            padding: 1rem;
            font-weight: 600;
            font-size: 1.2rem;
        }

        .citas-table td {
            padding: 1rem;
            border-bottom: 1px solid #475569;
            font-size: 1.2rem;
        }

        .status-badge {
            padding: 0.4rem 0.8rem;
            border-radius: 20px;
            font-size: 1rem;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        .status-pending { background: #fef3c7; color: #92400e; }
        .status-confirmed { background: #d1fae5; color: #065f46; }
        .status-cancelled { background: #fee2e2; color: #991b1b; }

        .action-buttons {
            display: flex;
            gap: 0.5rem;
        }

        .btn {
            padding: 0.5rem 1rem;
            border: none;
            border-radius: 8px;
            cursor: pointer;
            font-weight: 600;
            font-size: 0.8rem;
            transition: all 0.3s ease;
        }

        .btn-sm { padding: 0.4rem 0.8rem; font-size: 0.75rem; }

        .btn-primary { background: linear-gradient(135deg, #4FC3A1, #8FD8D2); color: white; }
        .btn-success { background: linear-gradient(135deg, #10b981, #34d399); color: white; }
        .btn-danger { background: linear-gradient(135deg, #ef4444, #f87171); color: white; }
        .btn-warning { background: linear-gradient(135deg, #f59e0b, #fbbf24); color: white; }

        .btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(0,0,0,0.3);
        }

        /* Login Form */
        .login-container {
            display: flex;
            justify-content: center;
            align-items: center;
            min-height: 100vh;
            background: linear-gradient(135deg, #0f2b46 0%, #1a365d 100%);
        }

        .login-card {
            background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
            padding: 3rem;
            border-radius: 20px;
            border: 1px solid #475569;
            box-shadow: 0 20px 50px rgba(0,0,0,0.3);
            width: 100%;
            max-width: 400px;
            text-align: center;
        }

        .login-logo {
            font-family: 'Playfair Display', serif;
            font-size: 2.5rem;
            margin-bottom: 1rem;
        }

        .login-subtitle {
            color: #94a3b8;
            margin-bottom: 2rem;
        }

        .login-input {
            width: 100%;
            padding: 1rem;
            background: #475569;
            border: 1px solid #64748b;
            border-radius: 10px;
            color: #e2e8f0;
            font-size: 1rem;
            margin-bottom: 1.5rem;
            transition: all 0.3s ease;
        }

        .login-input:focus {
            outline: none;
            border-color: #4FC3A1;
            box-shadow: 0 0 0 3px rgba(79, 195, 161, 0.1);
        }

        .login-btn {
            width: 100%;
            padding: 1rem;
            background: linear-gradient(135deg, #4FC3A1, #8FD8D2);
            color: white;
            border: none;
            border-radius: 10px;
            font-size: 1rem;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .login-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 25px rgba(79, 195, 161, 0.3);
        }

        /* Responsive */
        @media (max-width: 1024px) {
            .admin-container {
                grid-template-columns: 1fr;
            }
            
            .sidebar {
                position: relative;
                width: 100%;
                height: auto;
            }
            
            .main-content {
                margin-left: 0;
                grid-column: 1;
            }
        }



        /* POPUP NUEVA CITA - ESTILOS */
.nueva-cita-popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.nueva-cita-content {
    position: relative;
    max-width: 600px;
    margin: 50px auto;
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    border-radius: 20px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    border: 1px solid rgba(79, 195, 161, 0.2);
    animation: slideUp 0.4s ease;
}

@keyframes slideUp {
    from { transform: translateY(50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.nueva-cita-header {
    background: linear-gradient(135deg, #92400e, #b66a3a);
    padding: 10px 30px;
    text-align: center;
    position: relative;
}

.nueva-cita-header h3 {
    color: rgba(255, 255, 255, 0.9);
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    margin: 0;
    font-weight: 600;
}

.nueva-cita-header p {
    color: rgba(255, 255, 255, 0.9);
    margin: 10px 0 0 0;
    font-size: 0.95rem;
}

.close-popup {
    position: absolute;
    right: 20px;
    top: 20px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.close-popup:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.nueva-cita-body {
    padding: 30px;
    margin-top: -30px;
}

.nueva-cita-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 0;
}

.form-group.full-width {
    grid-column: span 2;
}

.form-label {
    display: block;
    color: #000000;
    margin-bottom: 1px;
    font-size: 1rem;
    font-weight: 500;
    margin-top: 1rem;
    margin-left: 0.8rem;
}

.nueva-cita-input,
.nueva-cita-select {
    width: 100%;
    padding: 14px 16px;
    border-radius: 12px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    font-weight: bold;
    color: black;
}

.nueva-cita-footer {
    padding: 20px 30px;
    display: flex;
    justify-content: flex-end;
    gap: 15px;
}

.btn-cancelar {
    background: linear-gradient(135deg, #D68C45, #9B5C27);
    color: white;
    border: none;
    padding: 12px 28px;
    border-radius: 10px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.btn-cancelar:hover {
    transform: translateY(-2px);
    color: #9B5C27;
}

.btn-guardar {
    color: white;
    border: none;
    padding: 12px 28px;
    border-radius: 10px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.btn-guardar:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(79, 195, 161, 0.3);
}

.loading-spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s ease infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Responsive */
@media (max-width: 768px) {
    .nueva-cita-content {
        margin: 20px;
        max-width: calc(100% - 40px);
    }
    
    .nueva-cita-form {
        grid-template-columns: 1fr;
    }
    
    .form-group.full-width {
        grid-column: span 1;
    }
}
/* 🔥 FIX PARA SELECTS EN POPUP NUEVA CITA */
.nueva-cita-select {
    width: 100%;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid #475569;
    border-radius: 12px;
    color: #f8fafc;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234FC3A1' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 16px;
    padding-right: 40px;
}

.nueva-cita-select:focus {
    outline: none;
    border-color: #FFE6CF;
    box-shadow: 0 0 0 3px rgba(79, 195, 161, 0.2);
}

/* 🔥 COLOR DE LAS OPCIONES */
.nueva-cita-select option {
    background-color: #FFE6CF !important;
    color: black !important;
    padding: 10px;
    font-size: 0.95rem;
    font-weight: bold;
}

/* ========== ESTILOS ESPECÍFICOS PARA PÁGINA DE TRANSGENERACIONAL ========== */

/* Clase para el body con fondo personalizado - COLOR CALIDO */
body.pagina-especial-transgeneracional {
    background: #fee6d2 !important; 
}

/* Estilos específicos para el nav en página de transgeneracional */
body.pagina-especial-transgeneracional nav a {
    font-size: 20px; /* Reducido de 25px */
}

body.pagina-especial-transgeneracional nav a:hover {
    color: #c79558 !important;
}

body.pagina-especial-transgeneracional nav a::after {
    color: #c79558 !important;
}

/* Estilos para el dropdown en página de transgeneracional */
body.pagina-especial-transgeneracional .dropdown-menu a:hover {
    color: #a37a48 !important;
    background: rgba(214, 140, 69, 0.1);
}

/* Estilos específicos para la main section en página de transgeneracional */
body.pagina-especial-transgeneracional .main-section {
    background-color: #562c05;
}

body.pagina-especial-transgeneracional .description {
    color: #4A3C31;
}

body.pagina-especial-transgeneracional .description h1 {
    color: #D68C45;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

body.pagina-especial-transgeneracional .description p {
    color: #4A3C31;
    line-height: 1.7;
}

body.pagina-especial-transgeneracional .description strong {
    color: #9B5C27;
    font-size: 1.1em;
}

/* CAMBIO DEL BORDE VERDE DE LA FOTO - COLORES CÁLIDOS */
body.pagina-especial-transgeneracional .photo {
    background: linear-gradient(135deg, #FFE8CC, #FFD7A8) !important;
    border: 2px solid rgba(214, 140, 69, 0.3);
}

body.pagina-especial-transgeneracional .photo-frame {
    border: 2px solid rgba(214, 140, 69, 0.4);
    box-shadow: 0 15px 35px rgba(214, 140, 69, 0.15);
}

body.pagina-especial-transgeneracional .photo img {
    border: 1px solid rgba(255, 242, 230, 0.3);
}

/* FOOTER COLORIDO Y DESTACADO - Página transgeneracional */
body.pagina-especial-transgeneracional footer {
    background: linear-gradient(135deg, #FFE8CC, #FFD7A8) !important;
    background-image: linear-gradient(135deg, rgba(214, 140, 69, 0.9), rgba(155, 92, 39, 0.9));
    box-shadow: 0 -5px 20px rgba(155, 92, 39, 0.2);
}

body.pagina-especial-transgeneracional .footer-content {
    position: relative;
    overflow: hidden;
}



/* Logo del footer con efecto especial */
body.pagina-especial-transgeneracional .footer-logo {
    color: #6f4b29 !important;
    font-weight: bold;
    font-size: 22px;
    text-shadow: 2px 2px 3px rgba(155, 92, 39, 0.4);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
    padding: 0 20px;
}

/* Decoración alrededor del logo */
body.pagina-especial-transgeneracional .footer-logo::before,
body.pagina-especial-transgeneracional .footer-logo::after {
    content: "❖";
    color: #6f4b29;
    margin: 0 10px;
    font-size: 18px;
}

/* Iconos sociales más destacados */
body.pagina-especial-transgeneracional .social-icons {
    margin: 20px 0;
}

body.pagina-especial-transgeneracional .social-icons a {
    background-color: #FFF2E6 !important;
    color: #6f4b29 !important;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 10px;
    font-weight: bold;
    border: 2px solid #6f4b29;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(155, 92, 39, 0.2);
}

body.pagina-especial-transgeneracional .social-icons a:hover {
    background-color: #9B5C27 !important;
    color: #FFF2E6 !important;
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(155, 92, 39, 0.3);
    border-color: #FFF2E6;
}

.whatsapp-icon {
    font-size: 28px !important;
}

.instagram-icon {
    font-size: 28px !important;
}


/* Copyright destacado con fondo */
body.pagina-especial-transgeneracional .copyright {
    color: #6f4b29 !important;
    font-size: 16px;
    font-weight: bold;
    margin-top: 20px;
    padding: 15px 25px;
    border-radius: 10px;
    display: inline-block;
    position: relative;
}

/* Símbolos decorativos en el copyright */
body.pagina-especial-transgeneracional .copyright::before {
    color: #6f4b29;
    font-size: 16px;
}

/* Responsive para móviles */
@media (max-width: 768px) {
    body.pagina-especial-transgeneracional .footer-logo {
        font-size: 18px;
    }
    
    body.pagina-especial-transgeneracional .social-icons a {
        width: 35px;
        height: 35px;
        margin: 0 5px;
    }
    
    body.pagina-especial-transgeneracional .copyright {
        font-size: 12px;
        padding: 10px 15px;
    }
}

/* Estilo especial para el enlace de consulta gratuita */
body.pagina-especial-transgeneracional .consulta-link:hover {
    color: #a37a48 !important;
}

/* Admin nav item con colores especiales */
body.pagina-especial-transgeneracional .admin-nav-link {
    color: #a37a48 !important;
    background: rgba(214, 140, 69, 0.3);
    padding: 8px 15px !important;
    border-radius: 20px;
    border: 1px solid rgba(214, 140, 69, 0.4);
}

body.pagina-especial-transgeneracional .admin-nav-link:hover {
    background: rgba(214, 140, 69, 0.4);
    color: white !important;
}

/* Responsive para página de transgeneracional */
@media (max-width: 768px) {
    body.pagina-especial-transgeneracional .dropdown-menu a {
        color: #a37a48 !important;
    }
    
    body.pagina-especial-transgeneracional .dropdown-menu li:first-child a {
        background: rgba(214, 140, 69, 0.15);
    }
}

/* Ajuste para móviles */
@media (max-width: 600px) {
    body.pagina-especial-transgeneracional .description h1 {
        font-size: 32px;
    }
    
    body.pagina-especial-transgeneracional .description p {
        font-size: 16px;
    }
}


/* ========== ESTILOS ESPECÍFICOS PARA PÁGINA DE CONTACTO - PALETA CÁLIDA ========== */

/* Estructura principal */
body.pagina-especial-transgeneracional .contacto-hero {
    background: #e0c2a9;
    padding: 50px 20px;
    min-height: calc(100vh - 300px);
}

body.pagina-especial-transgeneracional .contacto-content {
    max-width: 1200px;
    margin: 0 auto;
}

/* Texto principal */
body.pagina-especial-transgeneracional .contacto-text {
    background: white;
    border: 2px solid rgba(214, 140, 69, 0.3);
    border-radius: 15px;
    padding: 40px;
    margin-bottom: 40px;
    box-shadow: 0 10px 30px rgba(214, 140, 69, 0.1);
    text-align: center;
}

body.pagina-especial-transgeneracional .contacto-text h1 {
    color: #9B5C27;
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    margin-bottom: 15px;
}

body.pagina-especial-transgeneracional .contacto-text .subtitle {
    color: #D68C45;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 20px;
}

body.pagina-especial-transgeneracional .contacto-text p {
    color: #4A3C31;
    font-size: 1.1rem;
    line-height: 1.7;
    max-width: 800px;
    margin: 0 auto;
}

/* Grid de contacto (WhatsApp) */
body.pagina-especial-transgeneracional .contacto-grid {
    display: flex;
    justify-content: center;
    margin-bottom: 50px;
}

body.pagina-especial-transgeneracional .contacto-card {
    background: white;
    border: 2px solid rgba(214, 140, 69, 0.3);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    width: 100%;
    max-width: 400px;
    box-shadow: 0 8px 25px rgba(214, 140, 69, 0.1);
    transition: all 0.3s ease;
}

body.pagina-especial-transgeneracional .contacto-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(214, 140, 69, 0.2);
    border-color: rgba(214, 140, 69, 0.5);
}

body.pagina-especial-transgeneracional .contacto-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    color: #D68C45;
}

body.pagina-especial-transgeneracional .contacto-card h3 {
    color: #9B5C27;
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    margin-bottom: 15px;
}

body.pagina-especial-transgeneracional .contacto-card p {
    color: #4A3C31;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 25px;
}

body.pagina-especial-transgeneracional .contacto-link {
    display: inline-block;
    background: linear-gradient(135deg, #D68C45, #FFA726);
    color: white;
    text-decoration: none;
    padding: 12px 30px;
    border-radius: 25px;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
    transition: all 0.3s ease;
    border: none;
}

body.pagina-especial-transgeneracional .contacto-link:hover {
    background: linear-gradient(135deg, #9B5C27, #D68C45);
    box-shadow: 0 8px 20px rgba(214, 140, 69, 0.3);
    transform: scale(1.05);
}

/* Formulario de contacto */
body.pagina-especial-transgeneracional .formulario-section {
    background: white;
    border: 2px solid rgba(214, 140, 69, 0.3);
    border-radius: 15px;
    padding: 40px;
    margin-bottom: 50px;
    box-shadow: 0 10px 30px rgba(214, 140, 69, 0.1);
}

body.pagina-especial-transgeneracional .formulario-section h2 {
    color: #9B5C27;
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    text-align: center;
    margin-bottom: 30px;
}

body.pagina-especial-transgeneracional .form-group {
    margin-bottom: 25px;
}

body.pagina-especial-transgeneracional .form-label {
    display: block;
    color: #4A3C31;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    margin-bottom: 8px;
    font-size: 1rem;
}

body.pagina-especial-transgeneracional .form-input,
body.pagina-especial-transgeneracional .form-textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid rgba(214, 140, 69, 0.4);
    border-radius: 10px;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    color: #4A3C31;
    background: white;
    transition: all 0.3s ease;
}

body.pagina-especial-transgeneracional .form-input:focus,
body.pagina-especial-transgeneracional .form-textarea:focus {
    outline: none;
    border-color: #D68C45;
    box-shadow: 0 0 0 3px rgba(214, 140, 69, 0.2);
}

body.pagina-especial-transgeneracional .form-textarea {
    min-height: 150px;
    resize: vertical;
}

body.pagina-especial-transgeneracional .submit-btn {
    background: linear-gradient(135deg, #D68C45, #FFA726);
    color: white;
    border: none;
    padding: 15px 40px;
    border-radius: 25px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    display: block;
    margin: 30px auto 0;
    transition: all 0.3s ease;
    width: 100%;
    max-width: 300px;
}

body.pagina-especial-transgeneracional .submit-btn:hover {
    background: linear-gradient(135deg, #9B5C27, #D68C45);
    box-shadow: 0 8px 20px rgba(214, 140, 69, 0.3);
    transform: scale(1.05);
}

/* Información adicional */
body.pagina-especial-transgeneracional .info-section {
    background: linear-gradient(135deg, rgba(214, 140, 69, 0.9), rgba(155, 92, 39, 0.9));
    border-radius: 15px;
    padding: 40px;
    margin-top: 50px;
}

body.pagina-especial-transgeneracional .info-section h3 {
    color: white !important;
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    text-align: center;
    margin-bottom: 30px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
}

body.pagina-especial-transgeneracional .info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

body.pagina-especial-transgeneracional .info-item {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    transition: all 0.3s ease;
}

body.pagina-especial-transgeneracional .info-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

body.pagina-especial-transgeneracional .info-item h4 {
    color: #9B5C27;
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

body.pagina-especial-transgeneracional .info-item p {
    color: #4A3C31;
    font-size: 1rem;
    line-height: 1.6;
}

/* Responsive */
@media (max-width: 768px) {
    body.pagina-especial-transgeneracional .contacto-text {
        padding: 25px;
    }
    
    body.pagina-especial-transgeneracional .contacto-text h1 {
        font-size: 2.2rem;
    }
    
    body.pagina-especial-transgeneracional .formulario-section {
        padding: 25px;
    }
    
    body.pagina-especial-transgeneracional .formulario-section h2 {
        font-size: 1.8rem;
    }
    
    body.pagina-especial-transgeneracional .info-grid {
        grid-template-columns: 1fr;
    }
    
    body.pagina-especial-transgeneracional .info-section {
        padding: 25px;
    }
}

/* Select estilizado */
body.pagina-especial-transgeneracional select.form-input {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23D68C45' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 16px;
    padding-right: 45px;
    appearance: none;
    cursor: pointer;
}


/* =========================================
   TEMA CÁLIDO – DASHBOARD ADMIN
   ========================================= */

body.admin-transgeneracional {
    background: #fff2e6;
    color: #4A3C31;
}

/* ===== SIDEBAR ===== */
body.admin-transgeneracional .sidebar {
    background: linear-gradient(180deg, #D68C45, #9B5C27);
    color: #fff;
}

body.admin-transgeneracional .sidebar h1,
body.admin-transgeneracional .sidebar p {
    color: #fff;
}

body.admin-transgeneracional .nav-item {
    background: rgba(255, 242, 230, 0.15);
    color: #fff;
    border: 1px solid rgba(255, 242, 230, 0.3);
}

body.admin-transgeneracional .nav-item:hover {
    background: rgba(255, 242, 230, 0.3);
}

/* ===== HEADER ===== */
body.admin-transgeneracional .header-bar {
    background: #FFE8CC;
    border-bottom: 2px solid rgba(214, 140, 69, 0.3);
}

body.admin-transgeneracional .welcome-section h2 {
    color: #9B5C27;
}

body.admin-transgeneracional .welcome-section p {
    color: #4A3C31;
}

/* ===== BOTONES ===== */
body.admin-transgeneracional .btn-primary {
    background: linear-gradient(135deg, #D68C45, #9B5C27);
    border: none;
    color: #fff;
}

body.admin-transgeneracional .btn-primary:hover {
    opacity: 0.9;
}

body.admin-transgeneracional .btn-success {
    background: #075e2b;
    color: #fff;
}

body.admin-transgeneracional .btn-warning {
    background: #D68C45;
    color: #fff;
}

body.admin-transgeneracional .btn-danger {
    background: #c70606;
    color: #fff;
}

/* ===== TARJETAS DE ESTADÍSTICAS ===== */
body.admin-transgeneracional .stat-card {
    background: #FFE8CC;
    border: 1px solid rgba(214, 140, 69, 0.3);
}

body.admin-transgeneracional .stat-number {
    color: #9B5C27;
}

body.admin-transgeneracional .stat-label {
    color: #4A3C31;
}

/* ===== SECCIONES ===== */
body.admin-transgeneracional .content-section {
    background: #fff;
    border: 1px solid rgba(214, 140, 69, 0.25);
}

body.admin-transgeneracional .section-title {
    color: #D68C45;
}

/* ===== TABLAS ===== */
body.admin-transgeneracional .citas-table thead {
    background: #FFE8CC;
}

body.admin-transgeneracional .citas-table th {
    color: #9B5C27;
}

body.admin-transgeneracional .citas-table td {
    color: #4A3C31;
}

body.admin-transgeneracional .citas-table tr:hover {
    background: rgba(214, 140, 69, 0.08);
}

/* ===== BADGES DE ESTADO ===== */
body.admin-transgeneracional .status-pendiente {
    background: rgba(214, 140, 69, 0.2);
    color: #9B5C27;
}

body.admin-transgeneracional .status-confirmada {
    background: #075e2b;
    color: white;
}

body.admin-transgeneracional .status-cancelada {
    background: #b80202;
    color: white;
}

/* ===== POPUP NUEVA CITA ===== */
body.admin-transgeneracional .nueva-cita-content {
    background: #fff2e6;
    border: 2px solid rgba(214, 140, 69, 0.3);
}

body.admin-transgeneracional .nueva-cita-header h3 {
    color: #9B5C27;
}

body.admin-transgeneracional .nueva-cita-input,
body.admin-transgeneracional .nueva-cita-select {
    background: #fff;
    border: 1px solid rgba(214, 140, 69, 0.4);
    color: #4A3C31;
}

body.admin-transgeneracional .btn-guardar {
    background: linear-gradient(135deg, #D68C45, #9B5C27);
    color: white;
    font-size: 16px;
    font-weight: bold;
}

body.admin-transgeneracional .btn-cancelar {
    color: white;
    font-size: 16px;
    font-weight: bold;
}

body.admin-transgeneracional .sidebar .nav-item {
    background: linear-gradient(135deg, #9B5C27, #9B5C27) !important;
    color: white !important;
    border: 1px solid rgb(255, 255, 255);
}

body.admin-transgeneracional .sidebar .nav-item:hover {
    background: linear-gradient(135deg, #9B5C27, #7a451c) !important;
}

body.admin-transgeneracional .sidebar .nav-item-meses {
    background: linear-gradient(135deg, #9B5C27, #9B5C27) !important;
    color: white !important;
    border: 1px solid rgb(255, 255, 255);
    
}

body.admin-transgeneracional .sidebar .nav-item-meses:hover {
    background: linear-gradient(135deg, #9B5C27, #7a451c) !important;
}

body.admin-transgeneracional .content-section {
    background: #FFE8CC;
    border: 1px solid rgba(214, 140, 69, 0.35);
}

/* Contenedores internos (bloqueo horarios) */
body.admin-transgeneracional .content-section > div[style*="background"] {
    background: #fff2e6 !important;
    border: 1px solid rgba(214, 140, 69, 0.3);
}
/* ===== HORARIOS BLOQUEADOS ===== */
body.admin-transgeneracional .content-section div[style*="background: #475569"] {
    background: #fff2e6 !important;
    border: 1px solid rgba(214, 140, 69, 0.35);
}

body.admin-transgeneracional .content-section div[style*="background: #475569"] div {
    color: #4A3C31;
}
/* ===== TABLA PRÓXIMAS CITAS ===== */
body.admin-transgeneracional .citas-table {
    background: #fff2e6;
}

body.admin-transgeneracional .citas-table tbody tr {
    background: #fff;
}

body.admin-transgeneracional .citas-table tbody tr:hover {
    background: rgba(214, 140, 69, 0.12);
}



/* ===========================
   FORZAR CAMBIO DE GRISES
   =========================== */

/* HEADER TABLA */
body.admin-transgeneracional table thead tr {
    background-color: #E6A66B !important;
}

body.admin-transgeneracional table thead th {
    background-color: #E6A66B !important;
    color: #4A2E16 !important;
}

/* CONTENEDOR BLOQUEAR HORARIO */
body.admin-transgeneracional .content-section > div {
    background-color: #FFF1E4 !important;
    border: 1px solid #E6A66B !important;
    border-radius: 20px;
}

/* INPUT FECHA */
body.admin-transgeneracional input[type="date"] {
    background-color: #FFE6CF !important;
    color: #4A2E16 !important;
    border: 1px solid #D08A4A !important;
    border-radius: 10px;
}

/* SELECT HORA */
body.admin-transgeneracional select {
    background-color: #FFE6CF !important;
    color: #4A2E16 !important;
    border: 1px solid #D08A4A !important;
}

/* INPUT TEXTO (MOTIVO) */
body.admin-transgeneracional input[type="text"] {
    background-color: #FFE6CF !important;
    color: #4A2E16 !important;
    border: 1px solid #D08A4A !important;
}

body.admin-transgeneracional input[type="email"] {
    background-color: #FFE6CF !important;
    color: #4A2E16 !important;
    border: 1px solid #D08A4A !important;
}

body.admin-transgeneracional input[type="tel"] {
    background-color: #FFE6CF !important;
    color: #4A2E16 !important;
    border: 1px solid #D08A4A !important;
}
/* PLACEHOLDER */
body.admin-transgeneracional input::placeholder {
    color: rgba(74, 46, 22, 0.6) !important;
}

/* ========== ESTILOS ESPECÍFICOS PARA PÁGINA PRINCIPAL (INDEX) - PALETA CÁLIDA ========== */

/* Video de fondo con overlay cálido */
body.pagina-especial-transgeneracional .video-overlay {
    background: rgba(214, 140, 69, 0.3); /* Overlay naranja suave */
}

/* Sección principal del index */
body.pagina-especial-transgeneracional .main-section {
    background: rgba(255, 242, 230, 0.85); /* Fondo beige semitransparente */
    backdrop-filter: blur(10px);
    border-radius: 20px;
    margin: 50px auto;
    padding: 40px;
    max-width: 1200px;
    border: 2px solid rgba(214, 140, 69, 0.3);
    box-shadow: 0 20px 50px rgba(214, 140, 69, 0.15);
}

/* Contenedor de la foto */
body.pagina-especial-transgeneracional .photo-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Foto principal (Sam) */
body.pagina-especial-transgeneracional .photo {
    background: linear-gradient(135deg, #FFE8CC, #FFD7A8) !important;
    border: 2px solid rgba(214, 140, 69, 0.4);
    border-radius: 10px;
    width: 350px;
    height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 15px 35px rgba(214, 140, 69, 0.2);
    overflow: hidden;
}

body.pagina-especial-transgeneracional .photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

/* Descripción */
body.pagina-especial-transgeneracional .description {
    color: #4A3C31;
    padding: 20px 40px;
    font-size: 1.1rem;
    line-height: 1.7;
    text-align: justify;
}

body.pagina-especial-transgeneracional .description p {
    color: #4A3C31;
    margin-bottom: 20px;
    font-family: 'Montserrat', sans-serif;
}

/* Partículas con colores cálidos */
body.pagina-especial-transgeneracional .particle {
    background: rgba(255, 232, 204, 0.6) !important;
}

/* Popup del index con colores cálidos */
body.pagina-especial-transgeneracional .popup-header {
    background: linear-gradient(135deg, #D68C45, #9B5C27) !important;
}

body.pagina-especial-transgeneracional .popup-body {
    background: #FFF2E6;
}

body.pagina-especial-transgeneracional .popup-body .form-input,
body.pagina-especial-transgeneracional .popup-body .form-select {
    background: white;
    border: 1px solid rgba(214, 140, 69, 0.4);
    color: #4A3C31;
}

body.pagina-especial-transgeneracional .popup-body .form-input:focus,
body.pagina-especial-transgeneracional .popup-body .form-select:focus {
    border-color: #D68C45;
    box-shadow: 0 0 0 3px rgba(214, 140, 69, 0.2);
}

body.pagina-especial-transgeneracional .submit-btn {
    background: linear-gradient(135deg, #D68C45, #FFA726) !important;
}

body.pagina-especial-transgeneracional .submit-btn:hover {
    background: linear-gradient(135deg, #9B5C27, #D68C45) !important;
}

/* Modal admin con colores cálidos */
body.pagina-especial-transgeneracional .login-header {
    background: linear-gradient(135deg, #D68C45, #9B5C27) !important;
}

body.pagina-especial-transgeneracional .login-form {
    background: #FFF2E6;
}

body.pagina-especial-transgeneracional .login-submit-btn {
    background: linear-gradient(135deg, #D68C45, #9B5C27) !important;
}

/* Efecto hover en enlaces del nav */
body.pagina-especial-transgeneracional nav a:hover {
    color: #FFD7A8 !important;
}

/* Consulta gratuita en el nav con color especial */
body.pagina-especial-transgeneracional .consulta-link {
    color: #a37a48 !important;
    font-weight: 600;
}

body.pagina-especial-transgeneracional .consulta-link:hover {
    color: #c79558 !important;
}

/* Responsive para el index */
@media (max-width: 768px) {
    body.pagina-especial-transgeneracional .main-section {
        flex-direction: column;
        padding: 30px 20px;
        margin: 30px 15px;
    }
    
    body.pagina-especial-transgeneracional .photo {
        width: 280px;
        height: 380px;
        margin-bottom: 30px;
    }
    
    body.pagina-especial-transgeneracional .description {
        padding: 0;
        text-align: center;
    }
    
    body.pagina-especial-transgeneracional .description p {
        font-size: 1rem;
    }
}

/* Para pantallas muy pequeñas */
@media (max-width: 480px) {
    body.pagina-especial-transgeneracional .photo {
        width: 250px;
        height: 350px;
    }
    
    body.pagina-especial-transgeneracional .description p {
        font-size: 0.95rem;
    }
}



/* ========== ESTILOS PARA PÁGINA PRINCIPAL (INDEX) - SIN RECUADRO ========== */




/* Contenedor de la foto - con borde individual */
body.pagina-especial-transgeneracional .photo-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 40px;
}

/* Foto principal (Sam) - CON SU PROPIO MARCO */
body.pagina-especial-transgeneracional .photo {
    background: linear-gradient(135deg, #FFE8CC, #FFD7A8) !important;
    border: 3px solid rgba(214, 140, 69, 0.5);
    border-radius: 15px;
    width: 350px;
    height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 15px 35px rgba(214, 140, 69, 0.25);
    overflow: hidden;
    padding: 10px; /* Espacio interior para el efecto de marco */
}

body.pagina-especial-transgeneracional .photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    border: 1px solid rgba(214, 140, 69, 0.3);
}

/* Descripción - CON SU PROPIO FONDO */
body.pagina-especial-transgeneracional .description {
    background: rgba(255, 242, 230, 0.9); /* Fondo beige semitransparente */
    border-radius: 15px;
    padding: 40px;
    color: #4A3C31;
    font-size: 1.1rem;
    line-height: 1.7;
    text-align: justify;
    border: 2px solid rgba(214, 140, 69, 0.3);
    box-shadow: 0 10px 30px rgba(214, 140, 69, 0.15);
}

body.pagina-especial-transgeneracional .description p {
    color: #4A3C31;
    margin-bottom: 20px;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.05rem;
}

/* Destacar el último párrafo con el corazón */
body.pagina-especial-transgeneracional .description p:last-child {
    text-align: center;
    font-size: 1.2rem;
    color: #9B5C27;
    font-weight: 600;
    margin-top: 30px;
}

body.pagina-especial-transgeneracional .description p:last-child::before {
    content: "💞 ";
    font-size: 1.3rem;
}

/* Partículas con colores cálidos */
body.pagina-especial-transgeneracional .particle {
    background: rgba(255, 232, 204, 0.6) !important;
}

/* Popup del index con colores cálidos (ya lo tenías) */
body.pagina-especial-transgeneracional .popup-header {
    background: linear-gradient(135deg, #D68C45, #9B5C27) !important;
}

body.pagina-especial-transgeneracional .popup-body {
    background: #FFF2E6;
}

body.pagina-especial-transgeneracional .popup-body .form-input,
body.pagina-especial-transgeneracional .popup-body .form-select {
    background: white;
    border: 1px solid rgba(214, 140, 69, 0.4);
    color: #4A3C31;
}

body.pagina-especial-transgeneracional .popup-body .form-input:focus,
body.pagina-especial-transgeneracional .popup-body .form-select:focus {
    border-color: #D68C45;
    box-shadow: 0 0 0 3px rgba(214, 140, 69, 0.2);
}

body.pagina-especial-transgeneracional .submit-btn {
    background: linear-gradient(135deg, #D68C45, #FFA726) !important;
}

body.pagina-especial-transgeneracional .submit-btn:hover {
    background: linear-gradient(135deg, #9B5C27, #D68C45) !important;
}

/* Responsive para el index */
@media (max-width: 768px) {
    body.pagina-especial-transgeneracional .main-section {
        flex-direction: column;
        padding: 20px 3%;
        margin: 30px auto;
    }
    
    body.pagina-especial-transgeneracional .photo {
        width: 280px;
        height: 380px;
        margin-bottom: 30px;
    }
    
    body.pagina-especial-transgeneracional .description {
        padding: 25px;
        text-align: left;
    }
    
    body.pagina-especial-transgeneracional .description p {
        font-size: 1rem;
        text-align: justify;
    }
    
    body.pagina-especial-transgeneracional .description p:last-child {
        text-align: center;
    }
}

/* Para pantallas muy pequeñas */
@media (max-width: 480px) {
    body.pagina-especial-transgeneracional .photo {
        width: 250px;
        height: 350px;
    }
    
    body.pagina-especial-transgeneracional .description {
        padding: 20px;
    }
    
    body.pagina-especial-transgeneracional .description p {
        font-size: 0.95rem;
    }
}


/* ========== ESTILOS ESPECÍFICOS PARA EL VIDEO  ========== */

/* Estilos para el contenedor de video */
.video-container {
    flex: 1;
    max-width: 500px; /* Reducido de 600px */
    min-width: 400px; /* Reducido de 500px */
    padding: 10px; /* Reducido de 20px */
}

.video-frame {
    border: 10px solid #8a6d3b;
    border-radius: 10px;
    padding: 5px;
    background: #f5f0e1;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* Relación 16:9 */
    height: 0;
    overflow: hidden;
    border-radius: 5px;
}

.video-wrapper video,
.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 5px;
}

.video-embed {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%;
}

/* Estilos responsivos */
@media (max-width: 768px) {
    .main-section {
        flex-direction: column;
    }
    
    .video-container {
        max-width: 100%;
        margin-bottom: 30px;
    }
    
    .video-frame {
        border-width: 5px;
    }
}

/* Botón CTA para video */
.cta-button {
    background: linear-gradient(135deg, #8a6d3b 0%, #6b4c2a 100%);
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 30px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 16px;
    cursor: pointer;
    margin-top: 20px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(138, 109, 59, 0.4);
    background: linear-gradient(135deg, #6b4c2a 0%, #8a6d3b 100%);
}

.main-section {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: -5px;
}


/* ============================================
   SWEETALERT2 - ESTILOS PERSONALIZADOS
   Para que aparezcan encima de todo
   ============================================ */

/* SOLUCIÓN DEFINITIVA PARA Z-INDEX */
.swal2-container {
    z-index: 999999 !important;
}

.swal2-popup {
    z-index: 9999999 !important;
    font-family: 'Montserrat', sans-serif !important;
    border-radius: 15px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2) !important;
}

.swal2-backdrop {
    z-index: 999998 !important;
    background-color: rgba(44, 62, 80, 0.8) !important;
}

/* Asegurar que esté encima del modal de login */
.login-modal {
    z-index: 1000; /* Bajamos este valor */
}

/* Cuando SweetAlert está abierto, bajar el modal */
body.swal2-shown .login-modal {
    z-index: 100 !important;
}

/* Estilos bonitos para los alerts */
.swal2-title {
    font-family: 'Playfair Display', serif !important;
    font-weight: 600 !important;
    color: #2C3E50 !important;
    font-size: 1.8rem !important;
}

.swal2-html-container {
    font-family: 'Montserrat', sans-serif !important;
    color: #555 !important;
    font-size: 1rem !important;
}

.swal2-confirm {
    background-color: #4FC3A1 !important;
    border: none !important;
    border-radius: 8px !important;
    padding: 12px 30px !important;
    font-weight: 600 !important;
    font-family: 'Montserrat', sans-serif !important;
    transition: all 0.3s ease !important;
}

.swal2-confirm:hover {
    background-color: #3DA88A !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 5px 15px rgba(79, 195, 161, 0.4) !important;
}

.swal2-cancel {
    background-color: #95a5a6 !important;
    border: none !important;
    border-radius: 8px !important;
    padding: 12px 30px !important;
    font-weight: 600 !important;
    font-family: 'Montserrat', sans-serif !important;
    transition: all 0.3s ease !important;
}

.swal2-cancel:hover {
    background-color: #7f8c8d !important;
    transform: translateY(-2px) !important;
}

/* Iconos más grandes */
.swal2-icon {
    transform: scale(1.2);
    margin-bottom: 10px;
}

/* Para el loading spinner */
.swal2-loading {
    border-color: #4FC3A1 transparent #4FC3A1 transparent !important;
}