:root {
    --primary: #0056b3;
    --primary-dark: #003d82;
    --secondary: #2c3e50;
    --accent: #3498db;
    --light: #f8f9fa;
    --dark: #212529;
    --gray: #6c757d;
    --light-gray: #e9ecef;
    --border-radius: 8px;
    --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: var(--dark);
    background-color: var(--light);
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo {
    font-weight: 700;
    font-size: 1.8rem;
    color: var(--primary);
    text-decoration: none;
    display: flex;
    align-items: center;
}

.logo i {
    margin-right: 10px;
    color: var(--accent);
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-link {
    color: var(--secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
    position: relative;
    padding: 5px 0;
    transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.mobile-menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Carousel */
.hero-carousel {
    position: relative;
    height: 85vh;
    overflow: hidden;
}

.carousel-container {
    position: relative;
    height: 100%;
}

.carousel-slides {
    position: relative;
    height: 100%;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.carousel-slide.active {
    opacity: 1;
    z-index: 2;
}

.slide-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
}

.hero-content {
    text-align: center;
    color: white;
    max-width: 900px;
    padding: 0 20px;
    animation: fadeInUp 1s ease;
}

.hero-title {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 30px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.3);
    border: none;
    color: white;
    font-size: 1.5rem;
    padding: 15px;
    cursor: pointer;
    z-index: 10;
    transition: background 8.0s ease;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-control:hover {
    background: rgba(255, 255, 255, 0.5);
}

.carousel-control.prev {
    left: 30px;
}

.carousel-control.next {
    right: 30px;
}

.carousel-indicators {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background: white;
    transform: scale(1.2);
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.btn {
    display: inline-block;
    padding: 15px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: var(--transition);
    text-align: center;
}

.btn-primary {
    background-color: var(--accent);
    color: white;
}

.btn-primary:hover {
    background-color: white;
    color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
    background-color: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background-color: white;
    color: var(--primary);
    transform: translateY(-3px);
}

/* Features Section */
.features {
    background-color: white;
    padding: 80px 0;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    background-color: var(--light);
    border-radius: var(--border-radius);
    padding: 40px 30px;
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--box-shadow);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    font-size: 3rem;
    color: var(--accent);
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--primary-dark);
}

.feature-card p {
    color: var(--gray);
}

/* Services Section */
.services {
    background-color: var(--light);
    padding: 100px 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--secondary);
    margin-bottom: 20px;
    position: relative;
}

.section-subtitle {
    text-align: center;
    color: var(--gray);
    max-width: 700px;
    margin: 0 auto 50px;
    font-size: 1.1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--accent);
    border-radius: 2px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-card {
    background: rgb(255, 255, 255);
    border-radius: var(--border-radius);
    padding: 40px 30px;
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--box-shadow);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.service-icon {
    width: 80px;
    height: 80px;
    background-color: rgba(0, 0, 1, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    font-size: 2rem;
    color: var(--accent);
}

.service-info h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--primary-dark);
}

.service-info p {
    color: var(--gray);
    line-height: 1.7;
}

/* Clients Section */
.clients {
    background-color: rgb(255, 255, 255);
    padding: 100px 0;
}

.clients-carousel {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    overflow: hidden;
}

.carousel-container {
    overflow: hidden;
    padding: 20px 0;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    gap: 20px;
}

.client-card {
    flex: 0 0 calc(33.333% - 20px);
    background: var(--light);
    border-radius: var(--border-radius);
    padding: 30px;
    text-align: center;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.client-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.client-logo {
    width: 80px;
    height: 80px;
    background-color: transparent;
    border-radius: none;
    display: flex;
    align-items: flex-end;
    /* Mueve el contenido hacia abajo */
    justify-content: center;
    margin: auto;
    font-size: 4rem;
    color: rgb(255, 255, 255);
    padding-bottom: 7px;
    /* Ajusta este valor según lo que necesites */
}

.client-card h3 {
    font-family: 'Exo 2', sans-serif;
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--primary-dark);
}

.client-card p {
    color: var(--gray);
    font-size: 0.95rem;
}

.carousel-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: white;
    border-radius: 50%;
    border: none;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 10;
    transition: var(--transition);
}

.carousel-button:hover {
    background-color: var(--accent);
    color: white;
}

.carousel-button.prev {
    left: -25px;
}

.carousel-button.next {
    right: -25px;
}

/* Estilos específicos para la galería */
.gallery-section {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.gallery-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 350px;
}

.gallery-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
}

.gallery-item:hover .gallery-image {
    transform: scale(1.05);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 25px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
}

.gallery-category {
    display: inline-block;
    background-color: #3498db;
    color: white;
    padding: 5px 15px;
    border-radius: 30px;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.gallery-title {
    font-family: 'Exo 2', sans-serif;
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.gallery-button-container {
    text-align: center;
}

.gallery-button {
    display: inline-block;
    background-color: #0056b3;
    color: white;
    padding: 15px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: 2px solid #0056b3;
}

.gallery-button:hover {
    background-color: transparent;
    color: #0056b3;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.gallery-button i {
    margin-left: 10px;
    transition: all 0.3s ease;
}

.gallery-button:hover i {
    transform: translateX(5px);
}

/* CTA Section */
.cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #1a2a6c, #2c3e50);
    color: white;
    text-align: center;
}

.cta-content {
    max-width: 700px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

/* Footer */
.footer {
    background-color: var(--dark);
    color: white;
    padding: 70px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}

.footer-logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: white;
    margin-bottom: 20px;
    display: inline-block;
}

.footer-text {
    opacity: 0.7;
    line-height: 1.8;
    margin-bottom: 20px;
}

.footer-title {
    font-size: 1.3rem;
    margin-bottom: 25px;
    color: white;
    position: relative;
    padding-bottom: 10px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--accent);
}

.footer-links {
    list-style: none;
}

.footer-link {
    display: block;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    margin-bottom: 15px;
    transition: var(--transition);
    padding: 5px 0;
}

.footer-link:hover {
    color: white;
    padding-left: 5px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: var(--transition);
}

.social-link:hover {
    background-color: var(--accent);
    transform: translateY(-3px);
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 992px) {
    .hero-title {
        font-size: 2.2rem;
    }

    .carousel-control {
        width: 50px;
        height: 50px;
    }

    .client-card {
        flex: 0 0 calc(50% - 20px);
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
        gap: 15px;
    }

    .nav-links.active {
        display: flex;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .hero-carousel {
        height: 70vh;
    }

    .hero-title {
        font-size: 1.8rem;
    }

    .carousel-control {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .carousel-control.prev {
        left: 15px;
    }

    .carousel-control.next {
        right: 15px;
    }

    .section-title {
        font-size: 2rem;
    }

    .carousel-button.prev {
        left: 10px;
    }

    .carousel-button.next {
        right: 10px;
    }

    .client-card {
        flex: 0 0 calc(100% - 20px);
    }
}

@media (max-width: 576px) {
    .hero-carousel {
        height: 65vh;
    }

    .hero-title {
        font-size: 1.5rem;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .btn {
        padding: 12px 25px;
        font-size: 1rem;
    }

    .feature-grid,
    .services-grid,
    .testimonial-grid {
        grid-template-columns: 1fr;
    }
}

/* Estilos para el botón flotante */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
}

.whatsapp-button {
    background-color: #25D366;
    color: white;
    border: none;
    border-radius: 50%;
    width: 70px;
    height: 70px;
    font-size: 30px;
    cursor: pointer;
    box-shadow: 0 6px 15px rgba(37, 211, 102, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.whatsapp-button:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.7);
}

.whatsapp-button i {
    transition: transform 0.3s ease;
}

.whatsapp-button.active i {
    transform: rotate(180deg);
}

.questions-container {
    position: absolute;
    bottom: 90px;
    right: 0;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    width: 300px;
    padding: 20px;
    transform: scale(0);
    transform-origin: bottom right;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 999;
}

.questions-container.show {
    transform: scale(1);
    opacity: 1;
}

.questions-container h3 {
    color: #075E54;
    margin-bottom: 15px;
    text-align: center;
    font-size: 1.3rem;
    border-bottom: 2px solid #25D366;
    padding-bottom: 10px;
}

.question-list {
    list-style: none;
    max-height: 300px;
    overflow-y: auto;
    padding-right: 5px;
}

.question-list::-webkit-scrollbar {
    width: 6px;
}

.question-list::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.question-list::-webkit-scrollbar-thumb {
    background: #25D366;
    border-radius: 10px;
}

.question-item {
    padding: 12px 15px;
    margin: 10px 0;
    background: #f0f2f5;
    border-radius: 10px;
    color: #3b4a54;
    cursor: pointer;
    transition: all 0.2s ease;
    font-weight: 500;
    text-align: left;
    border-left: 4px solid #25D366;
}

.question-item:hover {
    background: #e6e9ec;
    transform: translateX(-5px);
}

.question-item i {
    margin-right: 8px;
    color: #25D366;
}

@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
    }

    .whatsapp-button {
        width: 60px;
        height: 60px;
        font-size: 26px;
    }

    .questions-container {
        width: 280px;
        bottom: 80px;
    }
}

@media (max-width: 480px) {
    .questions-container {
        width: 250px;
    }

    .question-item {
        font-size: 0.9rem;
        padding: 10px 12px;
    }
}

/* Accesibilidad: oculto visual pero disponible a lectores */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0
}

/* Header base ya lo tienes; reforzamos nav */
.nav {
    gap: 16px;
}

.mobile-menu-toggle {
    display: none;
    /* visible en responsive */
    background: none;
    border: 0;
    color: var(--secondary);
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
}

/* Contenedor de links (desktop) */
.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
}

/* Grupo con dropdown */
.nav-group {
    position: relative;
}

/* Botón que abre el dropdown (reutiliza estilos de .nav-link) */
.nav-dropdown-toggle {
    background: none;
    border: 0;
    cursor: pointer;
    color: var(--secondary);
    font-weight: 500;
    font-size: 1.1rem;
    padding: 5px 0;
    position: relative;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.nav-dropdown-toggle:hover {
    color: var(--primary);
}

/* --- MENÚ DESPLEGABLE CORREGIDO --- */
.nav-group {
    position: relative;
}

.nav-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    min-width: 260px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 12px 28px rgba(0,0,0,0.15);
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .25s ease, transform .25s ease;
    transform: translateY(6px);
    z-index: 9999; /* IMPORTANTE */
}

/* Mantener el menú abierto mientras el cursor esté encima del botón o el panel */
.nav-group:hover .nav-dropdown,
.nav-dropdown:hover {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

/* Items internos */
.nav-sublink {
    display: block;
    padding: 10px 18px;
    text-decoration: none;
    color: var(--secondary);
    transition: background .25s ease;
}

.nav-sublink:hover {
    background: var(--light-gray);
    color: var(--primary-dark);
}

/* Hover desktop: mostrar dropdown */
@media (hover:hover) {
    .nav-group:hover>.nav-dropdown {
        display: block;
    }
}

/* ---------- MÓVIL / TABLET ---------- */
@media (max-width: 992px) {
    .mobile-menu-toggle {
        display: grid;
    }

    .nav {
        padding: 14px 0;
    }

    /* Backdrop oscuro al abrir */
    .nav-backdrop {
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, .35);
        z-index: 999;
        opacity: 0;
        transition: opacity .25s ease;
    }

    .nav-backdrop.show {
        opacity: 1;
    }

    /* Menú deslizable */
    .nav-links {
        position: fixed;
        inset: 0 0 0 auto;
        width: 86%;
        max-width: 360px;
        background: #fff;
        box-shadow: -8px 0 24px rgba(0, 0, 0, .15);
        display: block;
        padding: 80px 22px 24px;
        overflow-y: auto;
        transform: translateX(100%);
        transition: transform .3s ease;
        z-index: 1000;
    }

    .nav-links.active {
        transform: translateX(0);
    }

    .nav-link,
    .nav-dropdown-toggle {
        display: block;
        width: 100%;
        text-align: left;
        padding: 12px 6px;
        font-size: 1.05rem;
        border-bottom: 1px solid #f1f3f5;
    }

    /* Dropdown como acordeón en móvil */
    .nav-dropdown {
        position: static;
        display: none;
        box-shadow: none;
        padding: 6px 0 10px 8px;
        background: transparent;
    }

    .nav-group.open>.nav-dropdown {
        display: block;
    }

    .nav-sublink {
        padding: 10px 8px 10px 14px;
    }
}

/* Estado activo (página actual, opcional) */
.nav-link.active,
.nav-sublink.active,
.nav-dropdown-toggle[aria-expanded="true"] {
    color: var(--primary);
}

/* Video play icon */
.gallery-item.video {
    position: relative;
}

.video-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2.8rem;
    color: white;
    opacity: 0;
    transition: .3s ease;
    pointer-events: none;
    z-index: 3;
}

.gallery-item.video:hover .video-icon {
    opacity: 1;
}

/* Asegurar que GIF y MP4 se comporten igual que imágenes */
.gallery-media {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* BOTÓN DE MÚSICA */

.music-button {
    position: fixed;
    bottom: 120px;
    right: 30px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: none;
    background: rgba(0, 86, 179, 0.9);
    color: white;
    font-size: 24px;
    cursor: pointer;
    z-index: 1000;
    box-shadow: 0 6px 15px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.music-button:hover {
    transform: scale(1.1);
    background: rgba(0, 86, 179, 1);
}

.music-button.playing {
    background: #25D366;
}

@media (max-width: 768px) {
    .music-button {
        bottom: 100px;
        right: 20px;
        width: 55px;
        height: 55px;
        font-size: 22px;
    }
}

.feature-video {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
    border-radius: 10px;
    cursor: pointer;
    margin-bottom: 10px;
}

.feature-video video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #000;
}

.play-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.35);
    display: flex;
    align-items: center;
    justify-content: center;
}

.play-overlay i {
    color: white;
    font-size: 50px;
}

.video-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    inset: 0;
    background: rgba(0,0,0,.9);
    justify-content: center;
    align-items: center;
}

.video-modal video {
    max-width: 90vw;
    max-height: 85vh;
    width: auto;
    height: auto;
    object-fit: contain;
    background: #000;
    border-radius: 10px;
}

.close-video {
    position: absolute;
    top: 20px;
    right: 40px;
    color: white;
    font-size: 40px;
    cursor: pointer;
}

.song-notification {
    position: fixed;
    bottom: 190px;
    right: 30px;
    background: rgba(0,0,0,0.85);
    color: white;
    padding: 12px 18px;
    border-radius: 10px;
    font-size: 14px;
    z-index: 1001;

    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease;
}

.song-notification.show {
    opacity: 1;
    transform: translateY(0);
}

.service-video {
    position: relative;
    width: 100%;
    height: 260px;
    overflow: hidden;
    border-radius: 12px;
    cursor: pointer;
    margin-bottom: 25px;
    background: #000;
}

.service-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-video .play-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.35);
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-video .play-overlay i {
    color: white;
    font-size: 45px;
}

/* CORRECCIÓN MENÚ RESPONSIVE */

@media (max-width: 992px) {
    .logo {
        font-size: 1.2rem;
    }

    .logo img {
        height: 80px !important;
    }

    .mobile-menu-toggle {
        display: grid !important;
        background: none;
        border: none;
        color: var(--primary);
        font-size: 1.8rem;
        cursor: pointer;
        z-index: 1002;
    }

    .nav-links {
        position: fixed !important;
        top: 0 !important;
        right: 0 !important;
        left: auto !important;
        width: 85% !important;
        max-width: 360px;
        height: 100vh;
        background: white;
        display: block !important;
        padding: 100px 25px 25px;
        transform: translateX(100%);
        transition: transform 0.3s ease;
        z-index: 1001;
        overflow-y: auto;
    }

    .nav-links.active {
        transform: translateX(0);
    }

    .nav-link,
    .nav-dropdown-toggle {
        display: block;
        width: 100%;
        padding: 14px 0;
        font-size: 1.1rem;
        text-align: left;
        border-bottom: 1px solid #eee;
    }

    .nav-dropdown {
        position: static !important;
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
        transform: none !important;
        display: none;
        box-shadow: none;
        padding-left: 15px;
    }

    .nav-group.open .nav-dropdown {
        display: block;
    }
}

/* FIX FINAL DROPDOWN SERVICIOS EN CELULAR */

@media (max-width: 992px) {
    .nav-dropdown {
        position: static !important;
        display: none !important;
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
        transform: none !important;
        box-shadow: none !important;
        background: transparent !important;
        padding: 8px 0 8px 18px !important;
    }

    .nav-group.open > .nav-dropdown {
        display: block !important;
    }

    .nav-sublink {
        display: block !important;
        padding: 12px 10px !important;
        color: var(--secondary) !important;
        border-bottom: 1px solid #eee;
    }
}

