/* Estilos generales */
:root {
    --primary-color: #000000;
    --secondary-color: #86868b;
    --accent-color: #0066cc;
    --text-color: #1d1d1f;
    --light-bg: #f5f5f7;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
}

/* Navbar */
.navbar {
    background: rgba(0, 0, 0, 0.98);
    padding: 0;
    height: 90px;
    display: flex;
    align-items: center;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.navbar::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, 
        #0066cc,
        #0095ff,
        #0066cc
    );
    background-size: 200% 100%;
    animation: gradientSlide 3s linear infinite;
}

.navbar-brand {
    padding: 0;
    margin-left: 2rem;
    display: flex;
    align-items: center;
}

.navbar-brand img {
    height: 180px;
    margin-top: -45px;
    margin-bottom: -45px;
    filter: drop-shadow(0 0 20px rgba(0, 102, 204, 0.3));
    transition: all 0.5s ease;
}

.navbar-brand:hover img {
    transform: scale(1.02);
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    padding: 0.5rem 1.2rem;
    color: rgba(255, 255, 255, 0.85) !important;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    position: relative;
    margin: 0 0.3rem;
    transition: all 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: #0066cc;
    transform: translateX(-50%);
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: #ffffff !important;
    text-decoration: none !important;
}

.nav-link:hover::after {
    width: 40%;
}

.navbar-nav {
    margin-right: 2rem;
}

.navbar-toggler {
    border: none;
    padding: 0.5rem;
    margin-right: 1rem;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.navbar-toggler-icon {
    width: 24px;
    height: 24px;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255, 255, 255, 0.9)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Carrusel */
.carousel-container {
    position: relative;
    height: 100vh;
    overflow: hidden;
    background: #000;
}

.carousel-item {
    height: 100vh;
    transition: transform 0.6s ease-in-out;
}

.carousel-item img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    filter: brightness(0.7);
    transform: scale(1.1);
    transition: transform 6s ease-in-out;
}

.carousel-item.active img {
    transform: scale(1);
}

.carousel-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(0,0,0,0.7));
    z-index: 1;
}

.carousel-text {
    position: absolute;
    bottom: 35%;
    left: 0;
    right: 0;
    text-align: center;
    z-index: 2;
    opacity: 1;
    transform: translateY(0);
    pointer-events: none;
}

.carousel-text .lead {
    font-size: 2.5rem;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    margin-bottom: 2rem;
    font-weight: 300;
    letter-spacing: 1px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.4;
}

.carousel-text .btn {
    font-size: 1.2rem;
    padding: 1rem 3rem;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.95);
    color: #000;
    border: none;
    transition: all 0.4s ease;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 500;
    position: relative;
    overflow: hidden;
    pointer-events: auto;
}

.carousel-text .btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transition: 0.5s;
}

.carousel-text .btn:hover {
    background: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.carousel-text .btn:hover::after {
    left: 100%;
}

.carousel-control-prev, .carousel-control-next {
    width: 10%;
    opacity: 0;
    transition: all 0.3s ease;
}

.carousel-container:hover .carousel-control-prev,
.carousel-container:hover .carousel-control-next {
    opacity: 1;
}

.carousel-control-prev-icon, .carousel-control-next-icon {
    width: 40px;
    height: 40px;
    background-color: rgba(0,0,0,0.6);
    border-radius: 50%;
    background-size: 50%;
    transition: all 0.3s ease;
}

.carousel-control-prev:hover .carousel-control-prev-icon,
.carousel-control-next:hover .carousel-control-next-icon {
    background-color: rgba(0,0,0,0.9);
    transform: scale(1.2);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .carousel-container, .carousel-item {
        height: 80vh;
    }
    
    .carousel-text {
        bottom: 30%;
    }
    
    .carousel-text .lead {
        font-size: 1.8rem;
        padding: 0 1rem;
    }
    
    .carousel-text .btn {
        font-size: 1rem;
        padding: 0.8rem 2rem;
    }
}

/* Beneficios */
.beneficios {
    background: #f8f9fa;
    padding: 5rem 0;
    position: relative;
}

.beneficios::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.1), transparent);
}

.beneficios::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.1), transparent);
}

.beneficios h2 {
    font-size: 2.2rem;
    margin-bottom: 4rem;
    text-align: center;
    font-weight: 700;
    color: #1d1d1f;
    position: relative;
}

.beneficio-card {
    background: transparent;
    padding: 2rem;
    text-align: left;
    position: relative;
    border: none;
    box-shadow: none;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
}

.beneficio-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: #0066cc;
    transition: all 0.3s ease;
    display: inline-block;
}

.beneficio-card:hover .beneficio-icon {
    transform: translateY(-5px);
}

.beneficio-text {
    font-size: 1.1rem;
    color: #4a4a4a;
    line-height: 1.7;
    margin: 0;
    position: relative;
    padding-left: 2rem;
    border-left: 3px solid #0066cc;
}

.beneficio-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #1d1d1f;
    margin-bottom: 1rem;
    position: relative;
    padding-left: 2rem;
    border-left: 3px solid #0066cc;
}

/* Productos */
.productos {
    background-image: url('img/fondo.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    padding: 5rem 0;
}

.productos::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.95);
    z-index: 1;
}

.productos .container {
    position: relative;
    z-index: 2;
}

.productos h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    position: relative;
    display: block;
    text-align: center;
    width: 100%;
}

.productos h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--accent-color);
    border-radius: 2px;
}

.producto-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: all 0.4s ease;
    height: 100%;
    border: 1px solid rgba(0,0,0,0.05);
    position: relative;
    display: flex;
    flex-direction: column;
}

.producto-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.producto-img {
    position: relative;
    height: 300px;
    overflow: hidden;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.producto-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.4s ease;
    max-width: 80%;
    margin: 0 auto;
    display: block;
}

.producto-card:hover .producto-img img {
    transform: scale(1.05);
}

.vista-rapida {
    position: absolute;
    bottom: -60px;
    left: 0;
    right: 0;
    background: rgba(0,0,0,0.9);
    color: white;
    padding: 1rem;
    text-align: center;
    transition: all 0.4s ease;
    backdrop-filter: blur(5px);
    cursor: pointer;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.producto-card:hover .vista-rapida {
    bottom: 0;
}

.producto-info {
    padding: 1.5rem;
    text-align: center;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.producto-titulo {
    padding: 1rem;
    margin: 0;
    font-size: 1.2rem;
    font-weight: 600;
    text-align: center;
    color: var(--text-color);
}

.producto-precio {
    padding: 0 1rem 1rem;
    margin: 0;
    font-size: 1.4rem;
    color: var(--accent-color);
    font-weight: 700;
    text-align: center;
}

.producto-descripcion {
    color: var(--secondary-color);
    font-size: 0.9rem;
    margin: 0.5rem 0;
}

/* Testimonios */
.testimonios {
    background-color: var(--light-bg);
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.testimonios::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: linear-gradient(135deg, rgba(0,0,0,0.02) 0%, rgba(0,0,0,0.05) 100%);
    z-index: 1;
}

.testimonios .container {
    position: relative;
    z-index: 2;
}

.testimonios h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    position: relative;
    display: block;
    text-align: center;
    width: 100%;
}

.testimonios h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--accent-color);
    border-radius: 2px;
}

.testimonio-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    height: 100%;
    transition: all 0.4s ease;
    position: relative;
    border: 1px solid rgba(0,0,0,0.05);
    overflow: hidden;
}

.testimonio-card::before {
    content: '"';
    position: absolute;
    top: -20px;
    left: 20px;
    font-size: 120px;
    color: var(--accent-color);
    opacity: 0.1;
    font-family: Georgia, serif;
}

.testimonio-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.testimonio-stars {
    color: #ffd700;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    letter-spacing: 2px;
}

.testimonio-text {
    font-style: italic;
    margin-bottom: 2rem;
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-color);
    position: relative;
    z-index: 1;
}

.testimonio-name {
    font-weight: 600;
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.testimonio-role {
    color: var(--secondary-color);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.testimonio-image {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-bottom: 1rem;
    object-fit: cover;
    border: 3px solid var(--accent-color);
    padding: 2px;
}

/* Contacto */
.contacto {
    background: linear-gradient(135deg, #1e1e1e, #2c2c2c, #1a1a1a);
    background-size: 400% 400%;
    animation: gradientBG 15s ease infinite;
    color: white;
    padding: 3rem 0;
    position: relative;
    overflow: hidden;
}

.contacto::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.025) 0%, transparent 25%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.025) 0%, transparent 25%),
        url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
    z-index: 1;
}

.contacto .container {
    position: relative;
    z-index: 2;
}

.contacto h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    text-align: center;
    font-weight: 800;
    background: linear-gradient(135deg, #ffffff 0%, #e0e0e0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -1px;
    position: relative;
}

.contacto h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
}

.contacto-form {
    background: rgba(255, 255, 255, 0.03);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contacto-form:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.1);
}

.contacto-info {
    background: rgba(255, 255, 255, 0.02);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.03);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contacto-info:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.1);
}

.input-custom {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 0.75rem 1rem;
    color: white;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    margin-bottom: 1rem;
    backdrop-filter: blur(5px);
}

.input-custom:focus {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.05);
    transform: translateY(-2px);
}

.input-custom::placeholder {
    color: rgba(255, 255, 255, 0.4);
    font-weight: 400;
}

.input-custom textarea {
    min-height: 100px;
    resize: vertical;
}

.btn-primary {
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 100%);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 0.75rem 2rem;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.btn-primary:hover {
    background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0.1) 100%);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    color: white;
}

.contacto-icon {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1rem;
    transition: all 0.3s ease;
    background: linear-gradient(135deg, rgba(255,255,255,1) 0%, rgba(255,255,255,0.8) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.contacto-text {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1.5rem;
    font-weight: 400;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .contacto {
        padding: 2.5rem 1rem;
    }

    .contacto h2 {
        font-size: 1.75rem;
        margin-bottom: 1.5rem;
    }

    .contacto-form, .contacto-info {
        padding: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .input-custom {
        padding: 0.625rem 0.875rem;
        font-size: 0.9rem;
    }

    .btn-primary {
        width: 100%;
        padding: 0.625rem 1.25rem;
    }

    .contacto-text {
        font-size: 0.9rem;
    }
}

/* Footer */
.footer-custom {
    background: var(--primary-color);
    color: white;
}

.footer-text {
    color: var(--secondary-color);
}

.input-footer {
    border-radius: 25px;
    padding: 0.8rem 1.5rem;
    border: none;
    background: rgba(255,255,255,0.1);
    color: white;
}

.input-footer::placeholder {
    color: rgba(255,255,255,0.7);
}

/* Responsive */
@media (max-width: 768px) {
    .carousel-container {
        height: 400px;
    }
    
    .carousel-item img {
        height: 400px;
    }
    
    .carousel-text h1 {
        font-size: 2.5rem;
    }
    
    .carousel-text .lead {
    font-size: 1rem;
}

    .beneficios {
        padding: 3rem 0;
    }

    .beneficios h2 {
        font-size: 1.8rem;
        margin-bottom: 2.5rem;
    }

    .beneficio-card {
        padding: 1.5rem;
        margin-bottom: 1rem;
    }

    .beneficio-icon {
        font-size: 2rem;
        margin-bottom: 1rem;
    }

    .beneficio-title {
    font-size: 1.2rem;
}

    .beneficio-text {
        font-size: 1rem;
        padding-left: 1.5rem;
    }

    .productos {
        padding: 4rem 0;
    }

    .productos h2 {
        font-size: 2rem;
        margin-bottom: 2rem;
    }

    .producto-img {
        height: 250px;
        padding: 1.5rem;
    }

    .producto-info {
        padding: 1rem;
    }

    .producto-titulo {
        font-size: 1.1rem;
    }

    .producto-precio {
    font-size: 1.2rem;
}

    .testimonios {
        padding: 4rem 0;
    }

    .testimonios h2 {
        font-size: 2rem;
        margin-bottom: 2rem;
    }

    .testimonio-card {
        padding: 2rem;
        margin-bottom: 1.5rem;
    }

    .testimonio-text {
        font-size: 1rem;
    }

    .testimonio-name {
    font-size: 1.1rem;
    }
}

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

.beneficio-card, .producto-card, .testimonio-card {
    animation: fadeIn 0.6s ease-out forwards;
}

/* Filtros de Productos */
.filtros-productos {
    margin-bottom: 2rem;
}

.filtro-btn {
    border-radius: 25px;
    padding: 0.5rem 1.5rem;
    margin: 0.25rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 2px solid var(--accent-color);
    color: var(--accent-color);
    background: transparent;
}

.filtro-btn:hover {
    background: var(--accent-color);
    color: white;
    transform: translateY(-2px);
}

.filtro-btn.active {
    background: var(--accent-color);
    color: white;
}

.producto-item {
    transition: all 0.4s ease;
}

.producto-item.hide {
    display: none;
}

.producto-item.show {
    display: block;
    animation: fadeIn 0.5s ease-out forwards;
}

/* Estilos para Modales */
.modal-content {
    border-radius: 20px;
    border: none;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.modal-header {
    border-bottom: 1px solid rgba(0,0,0,0.1);
    padding: 1.5rem;
}

.modal-title {
    font-size: 1.5rem;
    color: var(--text-color);
    font-weight: 700;
}

.modal-body {
    padding: 2rem;
}

.modal-body img {
    max-width: 80%;
    height: auto;
    margin-bottom: 2rem;
    transition: transform 0.3s ease;
}

.modal-body img:hover {
    transform: scale(1.05);
}

.modal-body p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-color);
}

.modal-body strong {
    color: var(--accent-color);
    font-weight: 600;
}

.btn-close {
    background-color: var(--accent-color);
    opacity: 0.8;
    border-radius: 50%;
    padding: 0.5rem;
    transition: all 0.3s ease;
}

.btn-close:hover {
    opacity: 1;
    transform: rotate(90deg);
}

/* Animación de entrada del modal */
.modal.fade .modal-dialog {
    transform: scale(0.8);
    transition: transform 0.3s ease-in-out;
}

.modal.show .modal-dialog {
    transform: scale(1);
}

/* Animaciones y Efectos */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

@keyframes shine {
    0% { background-position: -100% 0; }
    100% { background-position: 200% 0; }
}

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

/* Efectos para las tarjetas de productos */
.producto-card {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.producto-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.producto-img img {
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.producto-card:hover .producto-img img {
    transform: scale(1.1);
    filter: brightness(1.1);
}

/* Efectos para los testimonios */
.testimonio-card {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    animation: fadeInUp 0.6s ease-out forwards;
}

.testimonio-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.testimonio-stars i {
    animation: pulse 2s infinite;
    animation-delay: calc(var(--i) * 0.2s);
}

/* Efectos para los beneficios */
.beneficio-card {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    animation: fadeInUp 0.6s ease-out forwards;
}

.beneficio-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

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

/* Efectos para los botones */
.btn-primary, .filtro-btn {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.btn-primary::after, .filtro-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: 0.5s;
}

.btn-primary:hover::after, .filtro-btn:hover::after {
    left: 100%;
}

/* Efectos para el navbar */
.navbar {
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.navbar-scrolled {
    background: rgba(0, 0, 0, 0.9) !important;
    box-shadow: 0 2px 20px rgba(0,0,0,0.2);
}

.nav-link {
    position: relative;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: width 0.3s ease;
}

.nav-link:hover::before {
    width: 100%;
}

/* Efectos para los modales */
.modal-content {
    animation: fadeInUp 0.4s ease-out;
}

.modal-body img {
    transition: all 0.4s ease;
}

.modal-body img:hover {
    transform: scale(1.05) rotate(2deg);
}

/* Efectos para el carrusel */
.carousel-item {
    transition: all 0.6s ease;
}

.carousel-text {
    animation: fadeInUp 0.8s ease-out;
}

.carousel-text h1 {
    animation: float 3s ease-in-out infinite;
}

/* Efectos para los inputs */
.input-custom {
    transition: all 0.3s ease;
}

.input-custom:focus {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Efectos para el footer */
.footer-custom {
    position: relative;
    overflow: hidden;
}

.footer-custom::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    animation: shine 3s infinite;
}

/* Efectos para las imágenes con lazy loading */
.lazy-image {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.lazy-image.loaded {
    opacity: 1;
    transform: translateY(0);
}

/* Efectos para los filtros */
.filtro-btn {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.filtro-btn:hover {
    transform: translateY(-2px) scale(1.05);
}

.filtro-btn.active {
    animation: pulse 1s infinite;
}

/* Responsive para modales */
@media (max-width: 768px) {
.modal-body {
        padding: 1.5rem;
}

.modal-body img {
        max-width: 90%;
    }

    .modal-title {
        font-size: 1.3rem;
}

.modal-body p {
    font-size: 1rem;
    }
}

@keyframes gradientBG {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

@keyframes gradientSlide {
    0% {
        background-position: 0% 0%;
    }
    100% {
        background-position: 200% 0%;
    }
}

@media (max-width: 991px) {
    .navbar-collapse {
        background: rgba(0, 0, 0, 0.98);
        padding: 1rem;
        border-radius: 0 0 15px 15px;
    }
    
    .nav-link {
        padding: 0.8rem 1rem;
        border-radius: 8px;
    }
    
    .nav-link:hover {
        background: rgba(255, 255, 255, 0.05);
    }
}

.carousel-indicators-minimal {
    position: absolute;
    bottom: 40px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 12px;
    margin: 0;
    padding: 0;
    z-index: 2;
}

.carousel-indicators-minimal button {
    width: 40px;
    height: 3px;
    border: none;
    background: rgba(255, 255, 255, 0.3);
    padding: 0;
    margin: 0;
    transition: all 0.3s ease;
    position: relative;
    cursor: pointer;
}

.carousel-indicators-minimal button::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: #fff;
    transition: width 4s linear;
}

.carousel-indicators-minimal button.active {
    background: #fff;
}

.carousel-indicators-minimal button.active::after {
    width: 100%;
}

.carousel-item {
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

@media (max-width: 768px) {
    .carousel-indicators-minimal {
        bottom: 20px;
        gap: 8px;
    }

    .carousel-indicators-minimal button {
        width: 30px;
        height: 2px;
    }
}

/* Ajuste de la animación del carrusel */
#carouselExample {
    animation: fadeIn 0.5s ease-out;
}

.carousel.slide {
    opacity: 1;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.text-blue {
    color: #007AFF;
    font-weight: 600;
}
