/* Fenix ISP Support Styles */
:root {
    --fenix-red: #dd2629;
    --fenix-dark: #1c1c1c;
    --fenix-light: #f8f9fa;
    --fenix-blue: #00aeef;
}

body {
    font-family: 'Open Sans', sans-serif;
    color: #333;
}

h1, h2, h3, h4, h5, h6, .nav-link, .btn {
    font-family: 'Montserrat', sans-serif;
}

/* Navbar */
.navbar {
    background-color: var(--fenix-dark);
    padding: 0.5rem 1rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.navbar-brand img {
    height: 70px;
}

.nav-link {
    color: white !important;
    font-weight: 600;
    padding: 1.5rem 1rem;
    transition: all 0.3s;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 3px;
    bottom: 0;
    left: 0;
    background-color: var(--fenix-red);
    transition: width 0.3s;
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.nav-link:hover, .nav-link.active {
    color: var(--fenix-red) !important;
}

.navbar .btn-cliente {
    background-color: transparent;
    border: 2px solid var(--fenix-red);
    color: var(--fenix-red);
    font-weight: 700;
    transition: all 0.3s;
    border-radius: 50px;
    padding: 0.5rem 1.5rem;
}

.navbar .btn-cliente:hover {
    background-color: var(--fenix-red);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(221, 38, 41, 0.3);
}

/* Page Header */
.page-header {
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('assets/img/banner-bg1.gif') center/cover;
    color: white;
    padding: 100px 0 70px;
    text-align: center;
    animation: fadeIn 1s ease-out;
}

.page-header h1 {
    font-weight: 800;
    margin-bottom: 1rem;
}

.page-header p {
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.1rem;
}

/* Breadcrumb */
.custom-breadcrumb {
    background-color: transparent;
    padding: 1rem 0;
    font-size: 0.9rem;
}

.custom-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
    content: ">";
}

.custom-breadcrumb a {
    color: #6c757d;
    text-decoration: none;
    transition: all 0.3s;
}

.custom-breadcrumb a:hover {
    color: var(--fenix-red);
}

/* Support System */
.support-container {
    padding: 80px 0;
}

.support-tabs {
    margin-bottom: 40px;
}

.nav-tabs {
    border-bottom: 2px solid #e9ecef;
}

.nav-tabs .nav-link {
    color: #6c757d !important;
    border: none;
    padding: 1rem 1.5rem;
    font-weight: 600;
    border-bottom: 3px solid transparent;
    transition: all 0.3s;
}

.nav-tabs .nav-link.active {
    color: var(--fenix-red) !important;
    border-bottom: 3px solid var(--fenix-red);
    background-color: transparent;
}

.nav-tabs .nav-link:hover {
    border-color: transparent;
    color: var(--fenix-red) !important;
}

.nav-tabs .nav-link i {
    margin-right: 0.5rem;
}

/* Tickets */
.ticket-card {
    background-color: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    padding: 2rem;
    margin-bottom: 30px;
    transition: all 0.3s;
    animation: slideInUp 0.6s ease-out;
}

.ticket-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.ticket-form label {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.ticket-form .form-control {
    padding: 0.75rem 1rem;
    border-radius: 10px;
    border: 1px solid #e9ecef;
    transition: all 0.3s;
}

.ticket-form .form-control:focus {
    border-color: var(--fenix-red);
    box-shadow: 0 0 0 0.2rem rgba(221, 38, 41, 0.1);
}

.ticket-form .btn {
    padding: 0.75rem 2rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s;
}

.ticket-form .btn-red {
    background-color: var(--fenix-red);
    border-color: var(--fenix-red);
    color: white;
}

.ticket-form .btn-red:hover {
    background-color: #b61e21;
    border-color: #b61e21;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(221, 38, 41, 0.3);
}

.ticket-status {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
}

.status-open {
    background-color: rgba(0, 174, 239, 0.1);
    color: var(--fenix-blue);
}

.status-closed {
    background-color: rgba(40, 167, 69, 0.1);
    color: #28a745;
}

.status-pending {
    background-color: rgba(255, 193, 7, 0.1);
    color: #ffc107;
}

/* Speed Test Widget */
.speed-test-widget {
    background-color: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    padding: 2rem;
    margin-bottom: 30px;
    transition: all 0.3s;
}

.speed-test-widget:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.speed-test-widget h3 {
    color: var(--fenix-dark);
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.speed-test-widget .btn-speed {
    background-color: var(--fenix-blue);
    color: white;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    transition: all 0.3s;
}

.speed-test-widget .btn-speed:hover {
    background-color: #0096cc;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 174, 239, 0.3);
}

/* Speed Results Display */
.speed-result {
    text-align: center;
    margin-bottom: 1.5rem;
}

.speed-value {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--fenix-dark);
    margin-bottom: 0.5rem;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.download-speed {
    color: var(--fenix-blue);
}

.upload-speed {
    color: var(--fenix-red);
}

.speed-unit {
    color: #6c757d;
    font-size: 0.9rem;
}

.speed-label {
    font-weight: 700;
    margin-bottom: 0.5rem;
}

/* FAQ Accordion */
.faq-container {
    margin-top: 50px;
}

.faq-header {
    text-align: center;
    margin-bottom: 40px;
}

.faq-header h2 {
    font-weight: 800;
    color: var(--fenix-dark);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.faq-header h2::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 4px;
    background-color: var(--fenix-red);
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
}

.accordion-item {
    margin-bottom: 15px;
    border: none;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.accordion-button {
    padding: 1.25rem 1.5rem;
    font-weight: 600;
    background-color: white;
    color: var(--fenix-dark);
    border: none;
    transition: all 0.3s;
}

.accordion-button:not(.collapsed) {
    background-color: white;
    color: var(--fenix-red);
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: none;
    border-color: #e9ecef;
}

.accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23dd2629'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion-body {
    padding: 1.5rem;
    background-color: white;
}

/* Contact Options */
.contact-options {
    margin-top: 80px;
}

.contact-card {
    background-color: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    padding: 2rem;
    text-align: center;
    margin-bottom: 30px;
    transition: all 0.3s;
    height: 100%;
}

.contact-card:hover {
    animation: floatAnimation 2s ease-in-out infinite;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.contact-icon {
    width: 80px;
    height: 80px;
    background-color: rgba(221, 38, 41, 0.1);
    color: var(--fenix-red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 1.5rem;
    transition: all 0.3s;
}

.contact-card:hover .contact-icon {
    background-color: var(--fenix-red);
    color: white;
    transform: scale(1.1);
}

.contact-card h4 {
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--fenix-dark);
}

.contact-card p {
    margin-bottom: 1.5rem;
    color: #6c757d;
}

.contact-card .btn {
    padding: 0.5rem 1.5rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s;
}

/* Troubleshooting */
.troubleshooting {
    margin-top: 80px;
    padding: 50px 0;
    background-color: var(--fenix-light);
}

.troubleshooting-header {
    text-align: center;
    margin-bottom: 40px;
}

.troubleshooting-header h2 {
    font-weight: 800;
    color: var(--fenix-dark);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.troubleshooting-header h2::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 4px;
    background-color: var(--fenix-red);
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
}

.step-card {
    background-color: white;
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: all 0.3s;
    height: 100%;
}

.step-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.step-number {
    width: 40px;
    height: 40px;
    background-color: var(--fenix-red);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.step-card h4 {
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--fenix-dark);
}

/* Footer */
footer {
    background-color: var(--fenix-dark);
    color: white;
    padding: 80px 0 20px;
}

footer h5 {
    color: white;
    font-weight: 700;
    margin-bottom: 1.5rem;
    position: relative;
}

footer h5::after {
    content: '';
    position: absolute;
    width: 40px;
    height: 3px;
    background-color: var(--fenix-red);
    bottom: -10px;
    left: 0;
}

footer ul {
    list-style: none;
    padding: 0;
}

footer ul li {
    margin-bottom: 0.8rem;
}

footer ul li a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: all 0.3s;
    display: inline-block;
}

footer ul li a:hover {
    color: white;
    transform: translateX(5px);
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
}

.footer-contact li i {
    min-width: 20px;
    margin-right: 10px;
    margin-top: 5px;
    color: var(--fenix-red);
}

.social-icons {
    margin-top: 1.5rem;
}

.social-icons a {
    color: rgba(255,255,255,0.7);
    margin-right: 1rem;
    font-size: 1.5rem;
    transition: all 0.3s;
    display: inline-block;
}

.social-icons a:hover {
    color: var(--fenix-red);
    transform: translateY(-5px);
}

.copyright {
    border-top: 1px solid rgba(255,255,255,0.1);
    margin-top: 3rem;
    padding-top: 1.5rem;
    color: rgba(255,255,255,0.7);
    text-align: center;
}

/* Ajuste del logo en el pie de página */
footer .footer-logo {
    display: block;
    margin: 0 auto 20px;
    max-width: 150px;
    height: auto;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .navbar-collapse {
        background-color: var(--fenix-dark);
        padding: 1rem;
        border-radius: 10px;
        margin-top: 1rem;
    }
    
    .nav-link {
        padding: 1rem;
    }
}

@media (max-width: 768px) {
    .page-header {
        padding: 60px 0 40px;
    }
    
    .page-header h1 {
        font-size: 1.8rem;
    }
    
    .faq-header h2::after,
    .troubleshooting-header h2::after,
    footer h5::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-contact li {
        justify-content: center;
    }
    
    footer h5 {
        text-align: center;
    }
}

/* Bloque de Valor del Servicio */
.valor-servicio {
    padding: 80px 0;
    background-color: var(--fenix-light);
}

.valor-servicio-header {
    text-align: center;
    margin-bottom: 50px;
}

.valor-servicio-header h2 {
    font-weight: 800;
    color: var(--fenix-dark);
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.valor-servicio-header h2::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 4px;
    background-color: var(--fenix-red);
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
}

.servicio-card {
    background-color: white;
    border-radius: 15px;
    padding: 2.5rem;
    margin-bottom: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: all 0.3s;
    text-align: center;
    height: 100%;
}

.servicio-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.servicio-icon {
    width: 90px;
    height: 90px;
    background-color: rgba(221, 38, 41, 0.1);
    color: var(--fenix-red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin: 0 auto 1.5rem;
    transition: all 0.3s;
}

.servicio-card:hover .servicio-icon {
    background-color: var(--fenix-red);
    color: white;
    transform: scale(1.1) rotate(360deg);
}

.servicio-card h3 {
    color: var(--fenix-dark);
    font-weight: 700;
    margin-bottom: 1rem;
}

.servicio-card p {
    color: #6c757d;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.servicio-stats {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(0,0,0,0.1);
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--fenix-red);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    color: #6c757d;
    font-weight: 600;
}

/* Responsive para el nuevo bloque */
@media (max-width: 768px) {
    .servicio-card {
        padding: 2rem;
    }
    
    .servicio-stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    .stat-item {
        margin-bottom: 1rem;
    }
}

/* Servicios Destacados en Index */
.servicios-destacados {
    padding: 80px 0;
    background-color: var(--fenix-light);
}

.servicios-header {
    margin-bottom: 50px;
}

.servicios-header h2 {
    color: var(--fenix-dark);
    font-weight: 800;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.servicios-header h2::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 4px;
    background-color: var(--fenix-red);
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
}

.servicio-index-card {
    background-color: white;
    border-radius: 15px;
    padding: 2rem;
    height: 100%;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.servicio-index-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.servicio-index-icon {
    width: 80px;
    height: 80px;
    background-color: rgba(221, 38, 41, 0.1);
    color: var(--fenix-red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 1.5rem;
    transition: all 0.3s;
}

.servicio-index-card:hover .servicio-index-icon {
    background-color: var(--fenix-red);
    color: white;
    transform: scale(1.1);
}

.servicio-index-card h3 {
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--fenix-dark);
}

.servicio-index-card p {
    margin-bottom: 1.5rem;
    color: #6c757d;
}

.servicio-index-card .btn {
    padding: 0.5rem 1.5rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s;
}

/* Sección de Servicios Post-Planes */
.servicios-post-planes {
    padding: 80px 0;
    background-color: var(--fenix-light);
    position: relative;
}

.subtitulo {
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 1rem;
    display: block;
}

.titulo-seccion {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--fenix-dark);
    margin-bottom: 1rem;
}

.descripcion-seccion {
    color: #6c757d;
    max-width: 600px;
    margin: 0 auto;
}

.servicio-post-card {
    background-color: white;
    border-radius: 20px;
    padding: 2.5rem;
    height: 100%;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.servicio-post-card.destacado {
    border: 2px solid var(--fenix-red);
    transform: translateY(-10px);
}

.servicio-post-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.servicio-icono {
    width: 70px;
    height: 70px;
    background-color: rgba(221, 38, 41, 0.1);
    color: var(--fenix-red);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    transition: all 0.3s;
}

.servicio-post-card:hover .servicio-icono {
    background-color: var(--fenix-red);
    color: white;
    transform: rotate(360deg);
}

.servicio-post-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--fenix-dark);
    margin-bottom: 1.5rem;
}

.servicio-detalles {
    margin-bottom: 2rem;
}

.detalle-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    color: #6c757d;
}

.detalle-item i {
    color: var(--fenix-red);
    margin-right: 10px;
    font-size: 1.1rem;
}

.btn-servicio {
    background-color: transparent;
    border: 2px solid var(--fenix-red);
    color: var(--fenix-red);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s;
    display: inline-block;
    text-decoration: none;
}

.btn-servicio:hover {
    background-color: var(--fenix-red);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(221, 38, 41, 0.3);
}

/* Responsive */
@media (max-width: 991px) {
    .servicios-post-planes {
        padding: 60px 0;
    }

    .servicio-post-card.destacado {
        transform: translateY(0);
    }

    .titulo-seccion {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .servicio-post-card {
        margin-bottom: 30px;
    }
}

/* Banner Principal */
.banner-principal {
    position: relative;
    overflow: hidden;
    min-height: 600px;
    display: flex;
    align-items: center;
    background-image: url('../assets/img/@wave-bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 80px 0;
}

/* Contenido del banner */
.banner-content {
    position: relative;
    z-index: 2;
    color: white;
}

.banner-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.banner-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 600px;
}

/* Responsive */
@media (max-width: 991px) {
    .banner-principal {
        min-height: 500px;
    }

    .banner-content h1 {
        font-size: 2.8rem;
    }
}

@media (max-width: 768px) {
    .banner-principal {
        min-height: 400px;
        padding: 60px 0;
    }

    .banner-content h1 {
        font-size: 2.2rem;
    }

    .banner-content p {
        font-size: 1.1rem;
    }
}

/* Banner común para todas las páginas */
.page-banner {
    position: relative;
    overflow: hidden;
    min-height: 300px;
    display: flex;
    align-items: center;
    background-image: url(../assets/img/banner-bg1.gif);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 60px 0;
}

.page-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(221, 38, 41, 0.85), rgba(28, 28, 28, 0.85));
    z-index: 1;
}

.page-banner .banner-content {
    position: relative;
    z-index: 2;
    color: white;
    text-align: center;
}

.page-banner h1 {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.page-banner p {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 1rem;
}

.banner-breadcrumb {
    position: relative;
    z-index: 2;
}

.banner-breadcrumb .breadcrumb {
    justify-content: center;
    background: transparent;
    margin: 0;
    padding: 0;
}

.banner-breadcrumb .breadcrumb-item {
    color: rgba(255, 255, 255, 0.8);
}

.banner-breadcrumb .breadcrumb-item a {
    color: white;
    text-decoration: none;
}

.banner-breadcrumb .breadcrumb-item.active {
    color: var(--fenix-red);
}

/* Responsive */
@media (max-width: 991px) {
    .page-banner {
        min-height: 250px;
    }
    
    .page-banner h1 {
        font-size: 2.3rem;
    }
}

@media (max-width: 768px) {
    .page-banner {
        min-height: 200px;
        padding: 40px 0;
    }
    
    .page-banner h1 {
        font-size: 2rem;
    }
    
    .page-banner p {
        font-size: 1rem;
    }
}

/* Banner específico para la página de precios */
.precios-banner {
    position: relative;
    overflow: hidden;
    min-height: 300px;
    display: flex;
    align-items: center;
    background-image: url(../assets/img/banner-bg1.gif);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 60px 0;
}

.precios-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(221, 38, 41, 0.85), rgba(28, 28, 28, 0.85));
    z-index: 1;
}

.precios-banner .banner-content {
    position: relative;
    z-index: 2;
    color: white;
    text-align: center;
}

/* Animaciones Generales */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Clases de animación */
.animate-fade-up {
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
}

.animate-slide-right {
    opacity: 0;
    animation: slideInRight 0.8s ease forwards;
}

.animate-float {
    animation: float 3s ease-in-out infinite;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }

/* Animación del Logo */
.logo-animation-section {
    position: relative;
    padding: 60px 0;
    background: var(--fenix-dark);
    overflow: hidden;
}

.logo-container {
    position: relative;
    width: 200px;
    height: 200px;
    margin: 0 auto;
}

.animated-logo {
    width: 100%;
    height: auto;
    position: relative;
    z-index: 2;
    animation: logoFloat 3s ease-in-out infinite,
               logoGlow 2s ease-in-out infinite;
}

/* Animación de flotación y brillo */
@keyframes logoFloat {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-20px) scale(1.05);
    }
}

@keyframes logoGlow {
    0%, 100% {
        filter: drop-shadow(0 0 15px rgba(221, 38, 41, 0.5));
    }
    50% {
        filter: drop-shadow(0 0 30px rgba(221, 38, 41, 0.8));
    }
}

/* Partículas alrededor del logo */
.logo-particles span {
    position: absolute;
    width: 10px;
    height: 10px;
    background: var(--fenix-red);
    border-radius: 50%;
    pointer-events: none;
    opacity: 0;
}

.logo-particles span:nth-child(1) {
    top: 20%;
    left: 20%;
    animation: particle1 4s linear infinite;
}

.logo-particles span:nth-child(2) {
    top: 60%;
    right: 20%;
    animation: particle2 4s linear infinite 0.5s;
}

.logo-particles span:nth-child(3) {
    bottom: 20%;
    left: 30%;
    animation: particle3 4s linear infinite 1s;
}

.logo-particles span:nth-child(4) {
    top: 30%;
    right: 30%;
    animation: particle4 4s linear infinite 1.5s;
}

.logo-particles span:nth-child(5) {
    bottom: 30%;
    right: 25%;
    animation: particle5 4s linear infinite 2s;
}

/* Animaciones de las partículas */
@keyframes particle1 {
    0% {
        transform: translate(0, 0) scale(0);
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: translate(-50px, -50px) scale(1.5);
        opacity: 0;
    }
}

@keyframes particle2 {
    0% {
        transform: translate(0, 0) scale(0);
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: translate(50px, -50px) scale(1.5);
        opacity: 0;
    }
}

@keyframes particle3 {
    0% {
        transform: translate(0, 0) scale(0);
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: translate(-50px, 50px) scale(1.5);
        opacity: 0;
    }
}

@keyframes particle4 {
    0% {
        transform: translate(0, 0) scale(0);
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: translate(50px, 50px) scale(1.5);
        opacity: 0;
    }
}

@keyframes particle5 {
    0% {
        transform: translate(0, 0) scale(0);
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: translate(0, -50px) scale(1.5);
        opacity: 0;
    }
}

/* Efecto de resplandor adicional */
.logo-container::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
}

/* Estilos del Login */
.login-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.8);
    display: none;
    z-index: 1000;
}

.login-modal.show {
    display: flex;
}

.login-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--fenix-dark), var(--fenix-red));
    padding: 20px;
}

.login-box {
    background: white;
    border-radius: 20px;
    padding: 40px;
    width: 100%;
    max-width: 400px;
    box-shadow: 0 15px 50px rgba(0,0,0,0.1);
}

.login-header {
    text-align: center;
    margin-bottom: 30px;
}

.login-logo {
    width: 150px;
    height: auto;
    margin-bottom: 20px;
}

.login-form .form-group {
    margin-bottom: 20px;
}

.input-icon {
    position: relative;
}

.input-icon i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--fenix-red);
}

.input-icon input {
    padding-left: 45px;
    height: 50px;
    border-radius: 25px;
    border: 2px solid #eee;
    transition: all 0.3s;
}

.input-icon input:focus {
    border-color: var(--fenix-red);
    box-shadow: 0 0 0 0.2rem rgba(221, 38, 41, 0.25);
}

/* Checkbox personalizado */
.custom-checkbox {
    display: flex;
    align-items: center;
    cursor: pointer;
    user-select: none;
    color: #666;
}

.custom-checkbox input {
    display: none;
}

.checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid #ddd;
    border-radius: 4px;
    margin-right: 10px;
    position: relative;
    transition: all 0.3s;
}

.custom-checkbox input:checked + .checkmark {
    background-color: var(--fenix-red);
    border-color: var(--fenix-red);
}

.custom-checkbox input:checked + .checkmark:after {
    content: '';
    position: absolute;
    left: 6px;
    top: 2px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.btn-login {
    width: 100%;
    height: 50px;
    border-radius: 25px;
    background: var(--fenix-red);
    color: white;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.btn-login i {
    margin-left: 10px;
    transition: transform 0.3s;
}

.btn-login:hover {
    background: #b61e21;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(221, 38, 41, 0.3);
}

.btn-login:hover i {
    transform: translateX(5px);
}

.login-footer {
    text-align: center;
    margin-top: 30px;
}

.forgot-password {
    color: #666;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.forgot-password:hover {
    color: var(--fenix-red);
}

.register-text {
    margin-top: 15px;
    color: #666;
}

.register-text a {
    color: var(--fenix-red);
    text-decoration: none;
    font-weight: 600;
}

/* Responsive */
@media (max-width: 480px) {
    .login-box {
        padding: 30px 20px;
    }
    
    .login-logo {
        width: 120px;
    }
}

/* Responsive */
@media (max-width: 991px) {
    .page-banner {
        min-height: 250px;
    }
    
    .banner-content h1 {
        font-size: 2.3rem;
    }
}

@media (max-width: 768px) {
    .page-banner {
        min-height: 200px;
        padding: 40px 0;
    }
    
    .page-banner h1 {
        font-size: 2rem;
    }
    
    .page-banner p {
        font-size: 1rem;
    }

    .logo-container {
        width: 150px;
        height: 150px;
    }
}