:root {
    --cyan: #45c4f9;
    --cyan-glow: rgba(69, 196, 249, 0.5);
    --text-light: #ffffff;
    --text-gray: #a3a3a3;
    --glass-bg: rgba(10, 20, 35, 0.4);
    --glass-border: rgba(69, 196, 249, 0.3);
    --orange: #f29b4d;
    --orange-glow: rgba(242, 155, 77, 0.5);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body,
html {
    font-family: 'Montserrat', sans-serif;
    background-color: #050b14;
    color: var(--text-light);
    min-height: 100vh;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

/* BACKGROUNDS */
.bg-video {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(5, 11, 20, 0.2) 0%, rgba(5, 11, 20, 0.6) 70%, rgba(0, 0, 0, 0.9) 100%);
    z-index: 2;
}

/* NAVBAR */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 40px 10px 45px;
    background: rgba(15, 25, 45, 0.4);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 50px;
    position: fixed;
    top: 30px;
    left: 2.5%;
    right: 2.5%;
    width: auto;
    z-index: 100;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.2);
}

.nav-brand {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    position: relative;
    z-index: 10;
}

.nav-logo-img {
    width: 52px;
    height: 52px;
    object-fit: contain;
    margin: 0;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.nav-brand:hover .nav-logo-img {
    transform: rotate(10deg) scale(1.05);
}

.nav-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: left;
    margin: 0;
}

.nav-text h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin: 0;
    letter-spacing: 0.5px;
}

.nav-text h2 span {
    color: var(--cyan);
}

.nav-text p {
    font-size: 0.6rem;
    font-weight: 500;
    color: var(--text-gray);
    margin: 0;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.nav-links {
    display: flex;
    gap: 30px;
    list-style: none;
}

.nav-links a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
    padding-bottom: 5px;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--cyan);
}

.nav-links a.active {
    color: white;
    font-weight: 700;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0%;
    height: 3px;
    background-color: var(--cyan);
    border-radius: 3px;
    box-shadow: 0 0 10px var(--cyan);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-btn {
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 25px;
    font-size: 0.9rem;
    font-weight: 600;
    color: white;
    text-decoration: none;
    background: rgba(10, 20, 40, 0.5);
    border: 1px solid var(--cyan);
    border-radius: 30px;
    box-shadow: 0 0 15px rgba(69, 196, 249, 0.3), inset 0 0 10px rgba(69, 196, 249, 0.1);
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
    animation: navBtnGlowPulse 6s infinite ease-in-out;
}

.nav-btn::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -120%;
    width: 70%;
    height: 200%;
    background: linear-gradient(
        120deg,
        transparent 0%,
        rgba(255, 255, 255, 0.08) 25%,
        rgba(255, 255, 255, 0.55) 50%,
        rgba(69, 196, 249, 0.4) 70%,
        transparent 100%
    );
    transform: rotate(25deg);
    pointer-events: none;
    z-index: 2;
    animation: btnShineSweep 6s infinite ease-in-out;
}

@keyframes navBtnGlowPulse {
    0%, 100% {
        box-shadow: 0 0 15px rgba(69, 196, 249, 0.3), inset 0 0 10px rgba(69, 196, 249, 0.1);
    }
    15% {
        box-shadow: 0 0 28px rgba(69, 196, 249, 0.8), 0 0 10px rgba(255, 255, 255, 0.35), inset 0 0 12px rgba(69, 196, 249, 0.3);
    }
    32% {
        box-shadow: 0 0 15px rgba(69, 196, 249, 0.3), inset 0 0 10px rgba(69, 196, 249, 0.1);
    }
}

.nav-btn:hover {
    background: rgba(69, 196, 249, 0.15);
    box-shadow: 0 0 20px rgba(69, 196, 249, 0.5), inset 0 0 15px rgba(69, 196, 249, 0.2);
    transform: translateY(-2px);
}

/* MOBILE MENU TOGGLE */
.mobile-toggle {
    display: none;
    font-size: 1.65rem;
    color: white;
    cursor: pointer;
    background: none;
    border: none;
    margin-right: 12px;
    padding: 6px;
    align-items: center;
    justify-content: center;
    transition: color 0.25s ease, transform 0.2s ease;
}

.mobile-toggle:hover {
    color: var(--cyan);
}

/* MAIN CONTENT */
.container {
    padding: 140px 10% 80px 10%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 100vh;
    position: relative;
    z-index: 10;
}

.pill-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 20px;
    border: 1px solid var(--glass-border);
    border-radius: 30px;
    background: rgba(10, 20, 35, 0.4);
    backdrop-filter: blur(8px);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 2px;
    color: var(--text-gray);
    margin-bottom: 25px;
    width: fit-content;
}

.pill-badge i {
    color: var(--cyan);
    font-size: 1rem;
}

.hero-title {
    font-size: 5.5rem;
    font-weight: 700;
    margin-bottom: 5px;
    line-height: 1.1;
}

.hero-title span {
    color: var(--cyan);
    text-shadow: 0 0 20px rgba(69, 196, 249, 0.4);
}


.d-mobile-br {
    display: none;
}
.d-mobile-block {
    display: inline;
}
.hero-subtitle-text {
    display: inline;
}
.hero-subtitle {
    font-size: 1.3rem;
    font-weight: 600;
    letter-spacing: 4px;
    color: #ffffff;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.hero-subtitle::before,
.hero-subtitle::after {
    content: '';
    height: 1px;
    width: 50px;
    background: linear-gradient(90deg, transparent, var(--cyan));
}

.hero-subtitle::after {
    background: linear-gradient(270deg, transparent, var(--cyan));
}

.hero-desc {
    font-size: 1.25rem;
    font-weight: 300;
    color: #d1d5db;
    max-width: 720px;
    line-height: 1.7;
    margin-bottom: 40px;
}

.btn-main {
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    gap: 15px;
    padding: 15px 40px;
    font-size: 1.1rem;
    font-weight: 600;
    color: white;
    text-decoration: none;
    background: linear-gradient(90deg, rgba(10, 30, 50, 0.8), rgba(69, 196, 249, 0.4));
    border: 1px solid var(--cyan);
    border-radius: 35px;
    box-shadow: 0 0 20px rgba(69, 196, 249, 0.4), inset 0 0 10px rgba(69, 196, 249, 0.2);
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
    width: fit-content;
    white-space: nowrap;
    animation: btnGlowPulse 6s infinite ease-in-out;
}

.btn-main::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -120%;
    width: 70%;
    height: 200%;
    background: linear-gradient(
        120deg,
        transparent 0%,
        rgba(255, 255, 255, 0.08) 25%,
        rgba(255, 255, 255, 0.55) 50%,
        rgba(69, 196, 249, 0.4) 70%,
        transparent 100%
    );
    transform: rotate(25deg);
    pointer-events: none;
    z-index: 2;
    animation: btnShineSweep 6s infinite ease-in-out;
}

@keyframes btnShineSweep {
    0% {
        left: -120%;
        opacity: 0;
    }
    4% {
        opacity: 1;
    }
    30% {
        left: 200%;
        opacity: 1;
    }
    32% {
        opacity: 0;
    }
    100% {
        left: 200%;
        opacity: 0;
    }
}

@keyframes btnGlowPulse {
    0%, 100% {
        box-shadow: 0 0 20px rgba(69, 196, 249, 0.4), inset 0 0 10px rgba(69, 196, 249, 0.2);
    }
    15% {
        box-shadow: 0 0 35px rgba(69, 196, 249, 0.85), 0 0 12px rgba(255, 255, 255, 0.4), inset 0 0 15px rgba(69, 196, 249, 0.4);
    }
    32% {
        box-shadow: 0 0 20px rgba(69, 196, 249, 0.4), inset 0 0 10px rgba(69, 196, 249, 0.2);
    }
}

.btn-main:hover {
    background: linear-gradient(90deg, rgba(10, 30, 50, 0.9), rgba(69, 196, 249, 0.6));
    box-shadow: 0 0 30px rgba(69, 196, 249, 0.6);
    transform: translateX(5px);
}

/* ORANGE CTA BUTTON (HERO / ACCENT) */
.btn-main.btn-orange,
.btn-orange {
    background: linear-gradient(90deg, rgba(25, 16, 10, 0.9), rgba(242, 155, 77, 0.28));
    border: 1px solid rgba(242, 155, 77, 0.7);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4), 0 0 10px rgba(242, 155, 77, 0.18);
    animation: btnOrangeGlowPulse 6s infinite ease-in-out;
}

.btn-main.btn-orange::after,
.btn-orange::after {
    background: linear-gradient(
        120deg,
        transparent 0%,
        rgba(255, 255, 255, 0.04) 25%,
        rgba(255, 255, 255, 0.22) 50%,
        rgba(242, 155, 77, 0.18) 70%,
        transparent 100%
    );
}

@keyframes btnOrangeGlowPulse {
    0%, 100% {
        box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4), 0 0 10px rgba(242, 155, 77, 0.18);
    }
    15% {
        box-shadow: 0 4px 18px rgba(0, 0, 0, 0.5), 0 0 16px rgba(242, 155, 77, 0.35);
    }
    32% {
        box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4), 0 0 10px rgba(242, 155, 77, 0.18);
    }
}

.btn-main.btn-orange:hover,
.btn-orange:hover {
    background: linear-gradient(90deg, rgba(35, 22, 12, 0.95), rgba(242, 155, 77, 0.45));
    border-color: #ffa858;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.5), 0 0 15px rgba(242, 155, 77, 0.35);
    transform: translateX(5px);
}

/* CARDS SECTION */
.cards-container {
    display: flex;
    gap: 20px;
    margin-top: 60px;
    flex-wrap: wrap;
}

.glass-card {
    flex: 1;
    min-width: 200px;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 15px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s, box-shadow 0.3s;
}

.glass-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4), 0 0 15px rgba(69, 196, 249, 0.2);
    border-color: rgba(69, 196, 249, 0.6);
}

.card-icon {
    font-size: 2rem;
    color: var(--cyan);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-text h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 2px;
}

.card-text p {
    font-size: 0.85rem;
    color: var(--text-gray);
}

/* SCROLL DOWN */
.scroll-down {
    position: absolute;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: var(--text-gray);
    font-size: 0.75rem;
    letter-spacing: 2px;
    opacity: 0.7;
    animation: bounce 2s infinite;
}

.scroll-down i {
    font-size: 1.5rem;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0) translateX(-50%);
    }

    40% {
        transform: translateY(-10px) translateX(-50%);
    }

    60% {
        transform: translateY(-5px) translateX(-50%);
    }
}

/* FOOTER */
.site-footer {
    position: relative;
    width: 100%;
    padding: 40px 10% 25px 10%;
    border-top: 1px solid rgba(69, 196, 249, 0.15);
    background: #03070d;
    z-index: 10;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}

.footer-brand h3 {
    font-size: 1.6rem;
    font-weight: 700;
    color: white;
    margin-bottom: 5px;
}

.footer-brand h3 span {
    color: var(--cyan);
}

.footer-tagline {
    font-size: 0.88rem;
    color: var(--text-gray);
    margin-bottom: 6px;
}

.footer-fiscal {
    font-size: 0.82rem;
    color: #94a3b8;
    line-height: 1.4;
}

.footer-fiscal i {
    color: var(--cyan);
    margin-right: 4px;
}

.footer-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(69, 196, 249, 0.2), transparent);
    margin: 25px 0 20px 0;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-legal-links {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.legal-tab-trigger {
    font-size: 0.84rem;
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.2s, text-shadow 0.2s;
}

.legal-tab-trigger:hover {
    color: var(--cyan);
    text-shadow: 0 0 10px rgba(69, 196, 249, 0.4);
}

.legal-sep {
    color: rgba(255, 255, 255, 0.2);
    font-size: 0.75rem;
}

.footer-text {
    font-size: 0.82rem;
    color: var(--text-gray);
    font-weight: 300;
}

.footer-text a {
    color: var(--cyan);
    text-decoration: none;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    color: var(--text-gray);
    font-size: 1.1rem;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s;
}

.social-icons a:hover {
    color: white;
    border-color: var(--cyan);
    background: rgba(69, 196, 249, 0.1);
}

/* RESPONSIVE DESIGN */
@media (max-width: 1200px) {
    .hero-title {
        font-size: 4.5rem;
    }
}

@media (max-width: 992px) {
    .navbar {
        top: 15px;
        left: 10px;
        right: 10px;
        padding: 8px 18px 8px 20px;
    }

    .nav-text p {
        font-size: 0.58rem;
        line-height: 1.25;
        letter-spacing: 0.5px;
        text-transform: none;
        margin-top: 2px;
    }

    .d-mobile-br {
        display: block;
    }

    .d-mobile-block {
        display: block;
    }

    .nav-links {
        display: none;
    }

    .mobile-toggle {
        display: flex;
        font-size: 1.65rem;
        margin-right: 6px;
    }

    .hero-title {
        font-size: 3.5rem;
        margin-bottom: 8px;
    }

    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 22px;
    }

    .hero-subtitle-text {
        display: inline-block;
        text-align: center;
        line-height: 1.35;
    }

    .hero-subtitle::before,
    .hero-subtitle::after {
        width: 30px;
    }

    .container {
        padding: 105px 5% 40px 5%;
        min-height: auto;
        justify-content: flex-start;
    }

    .pill-badge {
        margin-bottom: 20px;
    }

    .nav-btn {
        display: none;
    }

    .btn-main {
        padding: 13px 22px;
        font-size: 0.95rem;
        gap: 10px;
        white-space: nowrap;
        max-width: 100%;
        justify-content: center;
    }

    .hero-desc {
        font-size: 1.05rem;
        line-height: 1.6;
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.8rem;
    }

    
.d-mobile-br {
    display: none;
}
.d-mobile-block {
    display: inline;
}
.hero-subtitle-text {
    display: inline;
}
.hero-subtitle {
        font-size: 0.85rem;
        letter-spacing: 2px;
    }

    .pill-badge {
        font-size: 0.65rem;
        padding: 6px 15px;
        display: inline-flex;
    }

    .cards-container {
        flex-direction: column;
    }

    .site-footer {
        padding: 35px 5% 25px 5%;
    }

    .footer-top {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 20px;
    }

    .footer-brand {
        text-align: center;
    }

    .social-icons {
        justify-content: center;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        gap: 14px;
    }

    .footer-legal-links {
        display: flex;
        justify-content: center;
        align-items: center;
        text-align: center;
        width: 100%;
        gap: 8px 12px;
        flex-wrap: wrap;
    }

    .footer-text {
        text-align: center;
        width: 100%;
    }

    .scroll-down {
        bottom: 150px;
    }
}

@media (max-width: 600px) {
    .footer-legal-links {
        gap: 8px 18px;
    }
    .footer-legal-links .legal-sep {
        display: none;
    }
}

/* Mobile Menu Active State */
.nav-links.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    height: auto;
    max-height: calc(100vh - 130px);
    max-height: calc(100dvh - 130px);
    width: auto;
    border-radius: 20px;
    background: rgba(10, 20, 35, 0.96);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    padding: 20px 18px 22px 18px;
    border: 1px solid var(--glass-border);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.55), 0 0 25px rgba(69, 196, 249, 0.12);
    z-index: 100;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
}

/* Custom scrollbar for mobile menu when scrolling on small screens */
.nav-links.active::-webkit-scrollbar {
    width: 4px;
}
.nav-links.active::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 10px;
}
.nav-links.active::-webkit-scrollbar-thumb {
    background: rgba(69, 196, 249, 0.4);
    border-radius: 10px;
}

.nav-links.active > li > a:not(.nav-btn) {
    padding: 13px 10px;
    font-size: 1.05rem;
    font-weight: 500;
    color: var(--text-light);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    align-items: center;
    transition: color 0.25s ease, padding-left 0.25s ease;
}

.nav-links.active > li > a:not(.nav-btn):hover,
.nav-links.active > li > a:not(.nav-btn).active {
    color: var(--cyan);
    padding-left: 14px;
}

.nav-links.active #mobile-nav-btn-container {
    margin-top: 16px;
    padding-top: 6px;
    width: 100%;
}

.nav-links.active .nav-btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 0;
    margin-bottom: 2px;
    width: 100%;
    padding: 12px 16px;
    font-size: 0.95rem;
    font-weight: 600;
    border-bottom: none;
    background: linear-gradient(90deg, rgba(10, 30, 50, 0.85), rgba(69, 196, 249, 0.55));
    border: 1px solid var(--cyan);
    box-shadow: 0 0 20px rgba(69, 196, 249, 0.35), inset 0 0 10px rgba(69, 196, 249, 0.15);
    border-radius: 30px;
    text-transform: none;
    letter-spacing: 0.3px;
    white-space: nowrap;
    text-align: center;
    transition: all 0.3s ease;
}

.nav-links.active .nav-btn i {
    font-size: 0.9rem;
}

@media (max-width: 360px) {
    .nav-links.active {
        padding: 16px 14px;
    }
    .nav-links.active > li > a:not(.nav-btn) {
        padding: 10px 8px;
        font-size: 0.95rem;
    }
    .nav-links.active .nav-btn {
        font-size: 0.85rem;
        padding: 10px 12px;
        gap: 6px;
    }
}

/* SERVICES SECTION */
.section-container {
    padding: 100px 10% 80px 10%;
    position: relative;
    z-index: 10;
    background: linear-gradient(to bottom, transparent, rgba(5, 11, 20, 0.95) 15%, rgba(3, 7, 13, 1) 100%);
    scroll-margin-top: 120px;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.8rem;
    font-weight: 700;
    color: white;
    display: inline-block;
    position: relative;
}

.section-title h2 span {
    color: var(--cyan);
}

.section-title p {
    color: var(--text-gray);
    margin-top: 10px;
    font-size: 1rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.services-category-title {
    font-size: 1.8rem;
    font-weight: 600;
    color: white;
    margin: 60px 0 30px 0;
    border-bottom: 1px solid rgba(69, 196, 249, 0.3);
    padding-bottom: 10px;
}

.services-category-title span {
    color: var(--cyan);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

@media (min-width: 1200px) {
    .services-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .services-grid .service-card:nth-child(5),
    .services-grid .service-card.service-card-centered-first {
        grid-column: 2;
    }

    .services-grid .service-card:nth-child(6),
    .services-grid .service-card.service-card-centered-second {
        grid-column: 3;
    }
}

.service-card {
    background: rgba(15, 25, 45, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(69, 196, 249, 0.1);
    border-radius: 20px;
    padding: 30px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--cyan), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4), 0 0 20px rgba(69, 196, 249, 0.15);
    border-color: rgba(69, 196, 249, 0.4);
}

.service-card:hover::before {
    opacity: 1;
}

.service-icon {
    width: 60px;
    height: 60px;
    background: rgba(69, 196, 249, 0.1);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--cyan);
    margin-bottom: 20px;
    box-shadow: inset 0 0 10px rgba(69, 196, 249, 0.1);
}

.service-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: white;
    margin-bottom: 15px;
}

.service-card p {
    color: var(--text-gray);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Sector Grid for Foto/Video */
.sector-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.sector-box {
    background: rgba(10, 20, 35, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 30px;
    transition: all 0.3s;
}

.sector-box:hover {
    border-color: rgba(69, 196, 249, 0.3);
    background: rgba(15, 25, 45, 0.8);
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.sector-title {
    font-size: 1.4rem;
    color: white;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.sector-title i {
    color: var(--cyan);
    font-size: 1.5rem;
}

.sector-items {
    list-style: none;
}

.sector-items li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 15px;
    color: #d1d5db;
    font-size: 0.95rem;
    line-height: 1.5;
}

.sector-items li:last-child {
    margin-bottom: 0;
}

.sector-items li::before {
    content: '\f105';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 2px;
    color: var(--cyan);
}

.sector-items li strong {
    color: white;
    font-weight: 600;
}

@media (max-width: 768px) {
    .section-container {
        padding: 60px 5% 40px 5%;
    }

    .section-title h2 {
        font-size: 2.2rem;
    }

    .services-category-title {
        font-size: 1.5rem;
        margin: 40px 0 20px 0;
    }
}

/* GALERIA SECTION WOW EFFECT */
/* GALERIA SECTION WOW EFFECT */
.gallery-container {
    padding: 100px 10% 80px 10%;
    position: relative;
    z-index: 10;
    background: linear-gradient(to bottom, rgba(3, 7, 13, 1) 0%, rgba(5, 11, 20, 0.95) 50%, rgba(3, 7, 13, 1) 100%);
    scroll-margin-top: 120px;
}

/* CARRUSEL DE GALERÍA Y NAVEGACIÓN */
.gallery-carousel-wrapper {
    position: relative;
    width: 100%;
    margin-top: 25px;
}

.gallery-nav-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    flex-wrap: wrap;
    gap: 15px;
}

.gallery-filter-tabs {
    display: inline-flex;
    background: rgba(10, 20, 35, 0.7);
    border: 1px solid rgba(69, 196, 249, 0.25);
    border-radius: 12px;
    padding: 5px;
    gap: 6px;
    backdrop-filter: blur(8px);
}

.gallery-tab-btn {
    background: transparent;
    border: none;
    color: var(--text-gray);
    padding: 9px 22px;
    font-size: 0.92rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: inherit;
}

.gallery-tab-btn.active {
    background: linear-gradient(135deg, var(--cyan), #0099ff);
    color: #03070d;
    box-shadow: 0 4px 15px rgba(69, 196, 249, 0.4);
}

.gallery-tab-btn:hover:not(.active) {
    color: white;
    background: rgba(69, 196, 249, 0.1);
}

.gallery-arrows { display: none !important; 
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: rgba(10, 20, 35, 0.7);
    border: 1px solid rgba(69, 196, 249, 0.25);
    padding: 5px 12px;
    border-radius: 50px;
    backdrop-filter: blur(8px);
}

.gallery-arrow-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(69, 196, 249, 0.1);
    border: 1px solid rgba(69, 196, 249, 0.3);
    color: var(--cyan);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.gallery-arrow-btn:hover {
    background: var(--cyan);
    color: #03070d;
    box-shadow: 0 0 15px rgba(69, 196, 249, 0.5);
    transform: scale(1.08);
}

.gallery-counter {
    font-size: 0.88rem;
    font-weight: 600;
    color: #cbd5e1;
    min-width: 45px;
    text-align: center;
}

/* TRACK Y DIAPOSITIVAS */
.gallery-slider-track-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 20px;
    padding: 8px 0;
}

.gallery-slider-side-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(10, 20, 35, 0.85);
    border: 1px solid rgba(69, 196, 249, 0.45);
    color: var(--cyan);
    font-size: 1.15rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 15;
    transition: all 0.3s ease;
    backdrop-filter: blur(8px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.6);
}

.gallery-slider-side-btn:hover {
    background: var(--cyan);
    color: #03070d;
    box-shadow: 0 0 20px rgba(69, 196, 249, 0.7);
    transform: translateY(-50%) scale(1.1);
}

.gallery-slider-side-btn.side-prev {
    left: 8px;
}

.gallery-slider-side-btn.side-next {
    right: 8px;
}

.gallery-slider-track {
    display: flex;
    width: 300%;
    transition: transform 0.85s cubic-bezier(0.25, 1, 0.5, 1);
    will-change: transform;
}

.gallery-slide {
    width: 33.333333%;
    flex-shrink: 0;
    padding: 0 4px;
    box-sizing: border-box;
}

/* VISOR DE FOTOGRAFÍAS UNO A UNO (GRANDE Y ELEGANTE) */
.single-photo-container {
    width: 100%;
    max-width: 960px; /* Más grande en desktop para impacto visual */
    margin: 10px auto 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.single-photo-wrapper {
    position: relative;
    width: 100%;
}

/* Escenario superpuesto para transición lenta, suave y profesional */
.single-photo-stage {
    position: relative;
    width: 100%;
    height: 560px; /* Tamaño grande y profesional */
    border-radius: 20px;
    overflow: hidden;
    background: #03070d;
}

.single-photo-stage .photo-card {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    opacity: 0;
    visibility: hidden;
    transform: scale(1.02);
    transition: opacity 1.3s cubic-bezier(0.4, 0, 0.2, 1), transform 1.3s cubic-bezier(0.4, 0, 0.2, 1), visibility 1.3s ease;
    z-index: 1;
    pointer-events: none;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(69, 196, 249, 0.25);
    background: #03070d;
    animation: none !important;
}

.single-photo-stage .photo-card.active {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
    z-index: 2;
    pointer-events: auto;
}

/* En hover: la tarjeta NO salta ni se desplaza */
.single-photo-stage .photo-card:hover {
    transform: scale(1) !important;
    border-color: rgba(69, 196, 249, 0.5);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.7), 0 0 25px rgba(69, 196, 249, 0.25);
}

/* Imagen dentro de la tarjeta: zoom suave y menor (sin saltos) */
.single-photo-stage .photo-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    padding-top: 0 !important;
    overflow: hidden;
}

.single-photo-stage .photo-wrapper img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transform: scale(1);
    transition: transform 1.2s cubic-bezier(0.25, 1, 0.5, 1), filter 0.8s ease;
}

.single-photo-stage .photo-card:hover .photo-wrapper img {
    transform: scale(1.025) !important; /* Zoom menor y refinado */
    filter: brightness(1.02) contrast(1.05);
}

/* Título de la fotografía al pasar el ratón (Hover) */
.single-photo-stage .photo-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 40px 30px 25px;
    background: linear-gradient(to top, rgba(3, 7, 13, 0.95) 0%, rgba(3, 7, 13, 0.65) 60%, transparent 100%);
    color: white;
    z-index: 5;
    transform: translateY(15px);
    opacity: 0;
    transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    pointer-events: none;
}

.single-photo-stage .photo-card:hover .photo-overlay {
    opacity: 1;
    transform: translateY(0);
}

.single-photo-stage .photo-overlay h4 {
    font-size: 1.45rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 6px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
    letter-spacing: 0.3px;
}

.single-photo-stage .photo-overlay h4 span {
    color: var(--cyan);
}

.single-photo-stage .photo-overlay p {
    font-size: 0.95rem;
    color: #cbd5e1;
    margin: 0;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
    line-height: 1.4;
}

/* Flechas laterales del carrusel general eliminadas */
.gallery-slider-side-btn {
    display: none !important;
}

/* Flechas flotantes EXCLUSIVAS de las fotografías - ESTILO NARANJA SUAVE (SIN EXCESO DE BRILLO) */
.photo-slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    background: rgba(18, 14, 10, 0.88);
    border: 1.5px solid rgba(242, 155, 77, 0.65);
    color: #ffffff;
    border-radius: 8px; /* radio moderno menos redondeado */
    display: flex !important;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    font-size: 1.15rem;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.5), 0 0 6px rgba(242, 155, 77, 0.15);
}

.photo-slider-btn:hover {
    background: rgba(242, 155, 77, 0.2);
    border-color: var(--orange, #f29b4d);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.6), 0 0 10px rgba(242, 155, 77, 0.3);
    transform: translateY(-50%) scale(1.05);
    color: #ffffff;
}

.photo-slider-prev {
    left: 20px;
}

.photo-slider-next {
    right: 20px;
}

/* SUBFILTER BAR (Diseño tecnológico acorde a la botonera principal) */
.gallery-subfilter-bar {
    display: flex;
    justify-content: center;
    margin-top: 15px;
    margin-bottom: 35px; /* Separación amplia para que no estén pegadas */
    animation: fadeIn 0.4s ease;
}

.gallery-subfilter-group {
    display: inline-flex;
    background: rgba(10, 20, 35, 0.8);
    border: 1px solid rgba(69, 196, 249, 0.3);
    border-radius: 12px;
    padding: 5px;
    gap: 6px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5), 0 0 15px rgba(69, 196, 249, 0.15);
}

.gallery-subpill-btn {
    background: transparent;
    border: 1px solid transparent;
    color: var(--text-gray);
    padding: 8px 24px;
    font-size: 0.88rem;
    font-weight: 600;
    border-radius: 8px; /* radio moderno acorde */
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: inherit;
}

.gallery-subpill-btn:hover:not(.active) {
    color: white;
    background: rgba(69, 196, 249, 0.12);
    border-color: rgba(69, 196, 249, 0.25);
}

.gallery-subpill-btn.active {
    background: linear-gradient(135deg, rgba(69, 196, 249, 0.35), rgba(0, 153, 255, 0.45));
    border-color: var(--cyan);
    color: #ffffff;
    box-shadow: 0 4px 18px rgba(69, 196, 249, 0.45);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.gallery-grid-photos {
    grid-template-columns: repeat(3, 1fr);
}

@keyframes fadeInVideoGroup {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* CONTROLES DE NAVEGACIÓN DE VÍDEOS EN MÓVIL (FLECHAS NARANJAS SUAVES SIN EXCESO DE BRILLO) */
.video-mobile-nav {
    display: none;
    justify-content: center;
    align-items: center;
    gap: 16px;
    margin-top: 25px;
    width: 100%;
}

.video-nav-btn {
    width: 48px;
    height: 48px;
    background: rgba(18, 14, 10, 0.88);
    border: 1.5px solid rgba(242, 155, 77, 0.65);
    color: #ffffff;
    border-radius: 8px; /* radio moderno menos redondeado */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    font-size: 1.15rem;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.5), 0 0 6px rgba(242, 155, 77, 0.15);
}

.video-nav-btn:hover,
.video-nav-btn:active {
    background: rgba(242, 155, 77, 0.2);
    border-color: var(--orange, #f29b4d);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.6), 0 0 10px rgba(242, 155, 77, 0.3);
    transform: scale(1.05);
    color: #ffffff;
}

.video-nav-indicator {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(10, 20, 35, 0.65);
    border: 1px solid rgba(242, 155, 77, 0.3);
    padding: 7px 16px;
    border-radius: 8px;
}

.video-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: rgba(148, 163, 184, 0.4);
    cursor: pointer;
    transition: all 0.25s ease;
}

.video-dot.active {
    background: var(--orange, #f29b4d);
    width: 22px;
    border-radius: 6px;
    box-shadow: 0 0 10px rgba(242, 155, 77, 0.7);
}

.video-counter-text {
    font-size: 0.85rem;
    font-weight: 600;
    color: #f29b4d;
    margin-left: 6px;
    letter-spacing: 0.5px;
}

/* Disposición de videos en escritorio: 2 en la parte superior y 3 en la parte de abajo */
@media (min-width: 901px) {
    .video-mobile-nav {
        display: none !important;
    }

    .gallery-grid#galleryGridVideos,
    .gallery-grid {
        display: grid !important;
        grid-template-columns: repeat(6, 1fr) !important;
        gap: 25px !important;
    }

    .gallery-grid .video-card {
        display: block !important;
        width: auto !important;
    }

    /* Fila 1: 2 videos en la parte superior (cada uno ocupa 3 columnas de 6 = 50% de ancho) */
    .gallery-grid .video-card:nth-child(1),
    .gallery-grid .video-card:nth-child(2) {
        grid-column: span 3 !important;
    }

    /* Fila 2: 3 videos en la parte de abajo (cada uno ocupa 2 columnas de 6 = 33.3% de ancho) */
    .gallery-grid .video-card:nth-child(3),
    .gallery-grid .video-card:nth-child(4),
    .gallery-grid .video-card:nth-child(5) {
        grid-column: span 2 !important;
    }
}

.video-card,
.photo-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    background: rgba(10, 20, 35, 0.6);
    border: 1px solid rgba(69, 196, 249, 0.2);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
}

.video-card::after,
.photo-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    padding: 2px;
    background: linear-gradient(135deg, var(--cyan), transparent, rgba(255, 255, 255, 0.2));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s;
    pointer-events: none;
}

.video-card:hover,
.photo-card:hover {
    transform: translateY(-10px) scale(1.015);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.6), 0 0 30px rgba(69, 196, 249, 0.3);
    border-color: rgba(69, 196, 249, 0.6);
    z-index: 2;
}

.video-card:hover::after,
.photo-card:hover::after {
    opacity: 1;
}

.video-wrapper,
.photo-wrapper {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    overflow: hidden;
}

.photo-wrapper {
    padding-top: 66%;
}

.video-wrapper video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease-out;
    filter: brightness(0.8) contrast(1.1);
}

.photo-wrapper img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease-out;
    filter: brightness(0.9) contrast(1.05);
}

.video-card:hover .video-wrapper video,
.photo-card:hover .photo-wrapper img {
    transform: scale(1.08);
    filter: brightness(1) contrast(1.1);
}

.video-overlay,
.photo-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 35px 25px 20px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95), rgba(0, 0, 0, 0.45) 70%, transparent);
    color: white;
    z-index: 2;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.4s ease-out;
}

.video-card:hover .video-overlay,
.photo-card:hover .photo-overlay {
    transform: translateY(0);
    opacity: 1;
}

.video-overlay h4,
.photo-overlay h4 {
    font-size: 1.3rem;
    color: white;
    margin-bottom: 6px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    font-weight: 700;
}

.video-overlay h4 span,
.photo-overlay h4 span {
    color: var(--cyan);
}

.video-overlay p,
.photo-overlay p {
    font-size: 0.88rem;
    color: #cbd5e1;
    margin: 0;
    line-height: 1.45;
}

.video-play-btn,
.photo-zoom-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    width: 65px;
    height: 65px;
    background: rgba(10, 20, 35, 0.5);
    backdrop-filter: blur(8px);
    border: 2px solid var(--cyan);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: white;
    z-index: 3;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    pointer-events: none;
}

.video-card:hover .video-play-btn,
.photo-card:hover .photo-zoom-btn {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
    box-shadow: 0 0 25px rgba(69, 196, 249, 0.6);
    background: rgba(69, 196, 249, 0.2);
}

@media (max-width: 900px) {
    .gallery-container {
        padding: 70px 5% 60px 5%;
    }

    .gallery-grid#galleryGridVideos {
        display: flex !important;
        flex-direction: column !important;
        gap: 16px !important;
        max-width: 520px !important;
        margin: 0 auto !important;
        width: 100% !important;
    }

    .gallery-grid#galleryGridVideos .video-card {
        display: none !important;
        width: 100% !important;
        grid-column: auto !important;
        border-radius: 16px;
    }

    /* Página 1 de videos en móvil: Video 1 arriba y Video 2 debajo */
    .gallery-grid#galleryGridVideos[data-video-page="0"] .video-card:nth-child(1),
    .gallery-grid#galleryGridVideos[data-video-page="0"] .video-card:nth-child(2) {
        display: block !important;
        animation: fadeInVideoGroup 0.4s ease;
    }

    /* Página 2 de videos en móvil: Video 3 arriba y Video 4 debajo */
    .gallery-grid#galleryGridVideos[data-video-page="1"] .video-card:nth-child(3),
    .gallery-grid#galleryGridVideos[data-video-page="1"] .video-card:nth-child(4) {
        display: block !important;
        animation: fadeInVideoGroup 0.4s ease;
    }

    /* Página 3 de videos en móvil: Video 5 centrado */
    .gallery-grid#galleryGridVideos[data-video-page="2"] .video-card:nth-child(5) {
        display: block !important;
        animation: fadeInVideoGroup 0.4s ease;
    }

    .video-mobile-nav {
        display: flex !important;
    }

    .video-card {
        border-radius: 16px;
        width: 100%;
    }

    .video-card.video-card-single {
        max-width: 520px;
        margin: 0 auto;
    }

    .video-overlay {
        padding: 24px 16px 14px;
    }

    .video-overlay h4 {
        font-size: 1.15rem;
        margin-bottom: 3px;
    }

    .video-overlay p {
        font-size: 0.82rem;
        line-height: 1.3;
    }

    .video-play-btn {
        width: 36px;
        height: 36px;
        font-size: 0.85rem;
        top: 12px;
        left: 12px;
    }

    .gallery-subfilter-bar {
        flex-wrap: wrap;
    }

    .gallery-slider-side-btn {
        display: none;
    }

    .gallery-nav-bar {
        justify-content: center;
    }

    .video-overlay,
    .photo-overlay {
        opacity: 1;
        transform: none;
        background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    }

    .photo-zoom-btn {
        opacity: 1;
        top: 14px;
        left: 14px;
        transform: none;
        width: 38px;
        height: 38px;
        font-size: 0.88rem;
        background: rgba(10, 20, 35, 0.7);
        backdrop-filter: blur(6px);
        -webkit-backdrop-filter: blur(6px);
        border: 1.5px solid var(--cyan);
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4), 0 0 12px rgba(69, 196, 249, 0.35);
    }

    .video-play-btn i {
        margin-left: 2px;
    }

    .video-card:hover .video-play-btn,
    .photo-card:hover .photo-zoom-btn {
        transform: scale(1.06);
        box-shadow: 0 0 20px rgba(69, 196, 249, 0.6);
        background: rgba(69, 196, 249, 0.3);
    }

    .single-photo-stage {
        height: 420px;
    }

    .gallery-subfilter-bar {
        margin-bottom: 25px;
    }

    .photo-slider-btn {
        width: 42px;
        height: 42px;
        font-size: 1rem;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5), 0 0 6px rgba(242, 155, 77, 0.15);
    }

    .photo-slider-prev {
        left: 12px;
    }

    .photo-slider-next {
        right: 12px;
    }

    .photo-step-pill {
        padding: 6px 14px;
        font-size: 0.8rem;
    }
}


/* NOSOTROS SECTION */
.nosotros-container {
    padding: 100px 10% 80px 10%;
    position: relative;
    z-index: 10;
    background: #050b14;
    scroll-margin-top: 120px;
}

.nosotros-layout {
    display: flex;
    flex-wrap: wrap;
    gap: 60px;
    align-items: center;
}

.nosotros-text-content {
    flex: 1 1 500px;
}

.nosotros-subtitle {
    font-size: 0.85rem;
    color: var(--text-gray);
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.nosotros-title {
    font-size: 3.2rem;
    font-weight: 700;
    color: white;
    line-height: 1.15;
    margin-bottom: 25px;
}

.nosotros-title span {
    color: var(--cyan);
}

.nosotros-intro {
    font-size: 1.1rem;
    color: #d1d5db;
    line-height: 1.6;
    margin-bottom: 40px;
}

.nosotros-cards-vertical {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.nosotros-card {
    background: rgba(15, 25, 45, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 25px;
    border-radius: 15px;
    display: flex;
    align-items: flex-start;
    gap: 20px;
    transition: all 0.3s;
}

.nosotros-card:hover {
    background: rgba(15, 25, 45, 0.8);
    border-color: rgba(69, 196, 249, 0.3);
    transform: translateX(10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.nosotros-card-icon {
    font-size: 1.5rem;
    color: var(--cyan);
    background: rgba(69, 196, 249, 0.1);
    width: 55px;
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    flex-shrink: 0;
    box-shadow: inset 0 0 10px rgba(69, 196, 249, 0.1);
}

.nosotros-card-content h4 {
    font-size: 1.1rem;
    color: white;
    margin-bottom: 8px;
    font-weight: 600;
}

.nosotros-card-content p {
    font-size: 0.9rem;
    color: var(--text-gray);
    line-height: 1.5;
}

.nosotros-image-wrapper {
    flex: 1 1 400px;
    position: relative;
}

.nosotros-image {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.05);
    object-fit: cover;
}

.nosotros-badge {
    position: absolute;
    bottom: -20px;
    right: 20px;
    background: rgba(10, 20, 35, 0.85);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(69, 196, 249, 0.3);
    padding: 20px 25px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.nosotros-badge i {
    font-size: 2rem;
    color: var(--cyan);
}

.nosotros-badge-text {
    color: white;
}

.nosotros-badge-text strong {
    display: block;
    font-size: 1.1rem;
    font-weight: 600;
}

.nosotros-badge-text span {
    font-size: 0.8rem;
    color: var(--text-gray);
}

.nosotros-cta {
    margin-top: 80px;
    background: linear-gradient(90deg, rgba(10, 20, 35, 0.8), rgba(15, 25, 45, 0.9));
    border: 1px solid rgba(69, 196, 249, 0.2);
    padding: 40px 50px;
    border-radius: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.nosotros-cta-text h3 {
    font-size: 1.6rem;
    color: white;
    margin-bottom: 8px;
    font-weight: 700;
}

.nosotros-cta-text p {
    color: #d1d5db;
    font-size: 1.05rem;
}

.nosotros-cta .btn-main {
    white-space: nowrap;
    flex-shrink: 0;
}

@media (max-width: 992px) {
    .nosotros-container {
        padding: 80px 5% 60px 5%;
    }

    .nosotros-title {
        font-size: 2.8rem;
    }

    .nosotros-cta {
        flex-direction: column;
        text-align: center;
        padding: 35px 24px;
        gap: 22px;
    }

    .nosotros-cta-text h3 {
        font-size: 1.35rem;
    }

    .nosotros-cta-text p {
        font-size: 0.95rem;
    }

    .nosotros-badge {
        right: 0;
        left: 0;
        bottom: -30px;
        margin: 0 auto;
        width: fit-content;
    }
}

@media (max-width: 768px) {
    .nosotros-container {
        padding: 60px 4% 50px 4%;
    }

    .nosotros-cta {
        padding: 28px 16px;
        gap: 18px;
    }

    .nosotros-cta .btn-main {
        font-size: 0.92rem;
        padding: 12px 20px;
        white-space: nowrap;
    }
}

@media (max-width: 480px) {
    .nosotros-container {
        padding: 50px 3% 40px 3%;
    }

    .nosotros-cta {
        padding: 22px 12px;
        border-radius: 16px;
        gap: 16px;
    }

    .nosotros-cta .btn-main {
        font-size: 0.86rem;
        padding: 11px 16px;
        gap: 8px;
        white-space: nowrap;
        max-width: 100%;
        letter-spacing: 0.2px;
    }
}

@media (max-width: 360px) {
    .nosotros-cta .btn-main {
        font-size: 0.8rem;
        padding: 10px 12px;
        gap: 6px;
    }
}

/* CONTACTO SECTION */
.contacto-container {
    padding: 100px 10% 80px 10%;
    position: relative;
    z-index: 10;
    background: linear-gradient(to bottom, #050b14 0%, rgba(5, 11, 20, 0.95) 50%, rgba(3, 7, 13, 1) 100%);
    scroll-margin-top: 120px;
}

.contacto-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr 0.8fr;
    gap: 40px;
}

.contacto-subtitle {
    font-size: 0.85rem;
    color: var(--text-gray);
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.contacto-title {
    font-size: 3.2rem;
    font-weight: 700;
    color: white;
    line-height: 1.15;
    margin-bottom: 20px;
}

.contacto-title span {
    color: var(--cyan);
}

.contacto-intro {
    font-size: 1.05rem;
    color: #d1d5db;
    line-height: 1.6;
    margin-bottom: 40px;
}

.contacto-details {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.contact-icon {
    font-size: 1.2rem;
    color: var(--cyan);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 1px solid rgba(69, 196, 249, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(10, 20, 35, 0.5);
    flex-shrink: 0;
    box-shadow: 0 0 15px rgba(69, 196, 249, 0.1);
}

.contact-text h4 {
    font-size: 1.05rem;
    color: white;
    margin-bottom: 5px;
    font-weight: 600;
}

.contact-text p {
    font-size: 0.9rem;
    color: var(--text-gray);
    line-height: 1.5;
}

/* FORM */
.contacto-form-wrapper {
    background: rgba(15, 25, 45, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 35px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
}

.form-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
}

.form-header-icon {
    font-size: 2.2rem;
    color: var(--cyan);
    width: auto;
    height: auto;
    border-radius: 0;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    box-shadow: none;
    padding: 0;
}

.form-header-text h3 {
    font-size: 1.2rem;
    color: white;
    margin-bottom: 5px;
}

.form-header-text p {
    font-size: 0.85rem;
    color: var(--text-gray);
}

.contacto-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form-group-row {
    display: flex;
    gap: 15px;
}

.contacto-form input,
.contacto-form textarea {
    width: 100%;
    background: rgba(10, 20, 35, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 15px;
    color: white;
    font-family: inherit;
    font-size: 0.9rem;
    transition: all 0.3s;
}

.contacto-form input:focus,
.contacto-form textarea:focus {
    outline: none;
    border-color: var(--cyan);
    box-shadow: 0 0 15px rgba(69, 196, 249, 0.2);
    background: rgba(15, 25, 45, 0.8);
}

.btn-submit {
    background: linear-gradient(90deg, rgba(10, 30, 50, 0.8), rgba(69, 196, 249, 0.6));
    border: 1px solid var(--cyan);
    color: white;
    padding: 15px;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
    transition: all 0.3s;
    box-shadow: 0 0 20px rgba(69, 196, 249, 0.3);
}

.btn-submit:hover {
    box-shadow: 0 0 30px rgba(69, 196, 249, 0.6);
    transform: translateY(-2px);
}

.form-footer {
    text-align: center;
    font-size: 0.75rem;
    color: var(--text-gray);
    margin-top: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

/* EXTRA COL */
.contacto-extra {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.whatsapp-box {
    background: transparent;
}

.whatsapp-box h4 {
    font-size: 1.1rem;
    color: white;
    margin-bottom: 10px;
}

.whatsapp-box p {
    font-size: 0.9rem;
    color: var(--text-gray);
    margin-bottom: 20px;
    line-height: 1.5;
}

.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 25px;
    background: linear-gradient(90deg, rgba(30, 20, 10, 0.85), rgba(242, 155, 77, 0.35));
    border: 1px solid var(--orange, #f29b4d);
    border-radius: 30px;
    color: white;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 0 15px rgba(242, 155, 77, 0.3);
}

.btn-whatsapp:hover {
    background: linear-gradient(90deg, rgba(40, 25, 12, 0.95), rgba(242, 155, 77, 0.6));
    border-color: #ffa858;
    box-shadow: 0 0 25px rgba(242, 155, 77, 0.6);
    transform: translateY(-2px);
    color: white;
}

.map-box {
    background: rgba(15, 25, 45, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 30px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.5);
    position: relative;
    overflow: hidden;
}

.map-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(69, 196, 249, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.map-image {
    font-size: 4rem;
    color: rgba(69, 196, 249, 0.3);
    margin-bottom: 20px;
}

.map-text h4 {
    font-size: 1.05rem;
    color: white;
    margin-bottom: 10px;
}

.map-text p {
    font-size: 0.85rem;
    color: var(--text-gray);
    line-height: 1.5;
}

/* FEATURES BAR */
.contacto-features {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    margin-top: 60px;
    background: rgba(15, 25, 45, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 30px 40px;
    flex-wrap: wrap;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    flex: 1;
    min-width: 200px;
}

.feature-icon {
    font-size: 1.5rem;
    color: var(--cyan);
}

.feature-text h4 {
    font-size: 1rem;
    color: white;
    margin-bottom: 5px;
    font-weight: 600;
}

.feature-text p {
    font-size: 0.8rem;
    color: var(--text-gray);
    line-height: 1.4;
}

@media (max-width: 1200px) {
    .contacto-grid {
        grid-template-columns: 1fr 1fr;
    }

    .contacto-extra {
        grid-column: 1 / -1;
        flex-direction: row;
    }

    .whatsapp-box,
    .map-box {
        flex: 1;
    }
}

@media (max-width: 992px) {
    .contacto-container {
        padding: 70px 5% 60px 5%;
    }

    .contacto-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .contacto-form-wrapper {
        padding: 28px 20px;
    }

    .contacto-extra {
        flex-direction: column;
    }

    .form-group-row {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .contacto-container {
        padding: 50px 3% 40px 3%;
    }

    .contacto-grid {
        gap: 22px;
    }

    /* Reducción de márgenes interiores para desahogar el centro hacia los lados */
    .contacto-form-wrapper {
        padding: 22px 14px;
        border-radius: 16px;
        width: 100%;
        box-sizing: border-box;
    }

    .form-header {
        gap: 12px;
        margin-bottom: 18px;
    }

    .form-header-icon {
        font-size: 1.7rem;
    }

    .form-header-text h3 {
        font-size: 1.15rem;
        margin-bottom: 2px;
    }

    .form-header-text p {
        font-size: 0.84rem;
        line-height: 1.35;
    }

    .contacto-form {
        gap: 12px;
        width: 100%;
    }

    .contacto-form input,
    .contacto-form textarea {
        padding: 12px 14px;
        font-size: 0.88rem;
        width: 100%;
        box-sizing: border-box;
    }

    .privacy-unlock-hint {
        font-size: 0.74rem;
        margin-left: 0;
        line-height: 1.35;
    }

    .rgpd-info-layer {
        padding: 8px 10px;
        font-size: 0.7rem;
        line-height: 1.4;
        width: 100%;
        box-sizing: border-box;
    }

    .btn-submit {
        padding: 13px 16px;
        font-size: 0.95rem;
        width: 100%;
        box-sizing: border-box;
    }
}

@media (max-width: 480px) {
    .contacto-container {
        padding: 38px 2% 32px 2%;
    }

    /* Márgenes laterales mínimos para máxima amplitud en pantallas móviles */
    .contacto-form-wrapper {
        padding: 18px 10px;
        border-radius: 14px;
    }

    .form-header {
        gap: 10px;
        margin-bottom: 15px;
    }

    .form-header-icon {
        font-size: 1.5rem;
    }

    .form-header-text h3 {
        font-size: 1.08rem;
    }

    .form-header-text p {
        font-size: 0.8rem;
    }

    .contacto-form input,
    .contacto-form textarea {
        padding: 11px 11px;
        font-size: 0.86rem;
    }

    .checkbox-text {
        font-size: 0.76rem;
        line-height: 1.35;
    }

    .privacy-unlock-hint {
        font-size: 0.7rem;
    }

    .rgpd-info-layer {
        padding: 7px 8px;
        font-size: 0.67rem;
        line-height: 1.36;
    }

    .btn-submit {
        padding: 12px 14px;
        font-size: 0.9rem;
        gap: 8px;
    }
}

/* MODAL SISTEMA (SOLICITAR INFORMACIÓN & LEGAL) */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(3, 7, 13, 0.88);
    backdrop-filter: blur(8px);
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    display: flex;
    opacity: 1;
}

.modal-content {
    background: rgba(15, 25, 45, 0.96);
    border: 1px solid rgba(69, 196, 249, 0.35);
    border-radius: 20px;
    padding: 35px 40px;
    width: 92%;
    max-width: 580px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7), 0 0 35px rgba(69, 196, 249, 0.15);
    transform: translateY(-20px);
    transition: transform 0.3s ease;
    scrollbar-width: thin;
    scrollbar-color: rgba(69, 196, 249, 0.3) rgba(10, 20, 35, 0.5);
}

.modal-content::-webkit-scrollbar,
.legal-modal-body::-webkit-scrollbar {
    width: 6px;
}

.modal-content::-webkit-scrollbar-track,
.legal-modal-body::-webkit-scrollbar-track {
    background: rgba(10, 20, 35, 0.5);
    border-radius: 4px;
}

.modal-content::-webkit-scrollbar-thumb,
.legal-modal-body::-webkit-scrollbar-thumb {
    background: rgba(69, 196, 249, 0.3);
    border-radius: 4px;
}

.modal-overlay.active .modal-content {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: transparent;
    border: none;
    color: var(--text-gray);
    font-size: 1.5rem;
    cursor: pointer;
    transition: color 0.3s;
    line-height: 1;
}

.modal-close:hover {
    color: white;
}

#contactModal .form-header-icon {
    background: transparent;
    border: none;
    box-shadow: none;
    width: auto;
    height: auto;
    border-radius: 0;
    font-size: 2.2rem;
    padding: 0;
}

/* CAPTCHA MATEMÁTICO */
.captcha-group {
    background: rgba(15, 30, 55, 0.6);
    border: 1px dashed rgba(69, 196, 249, 0.4);
    border-radius: 12px;
    padding: 11px 16px;
    margin: 0;
}

.captcha-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.86rem;
    font-weight: 600;
    color: var(--cyan);
    margin-bottom: 10px;
}

.captcha-question-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

.captcha-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(69, 196, 249, 0.12);
    border: 1px solid rgba(69, 196, 249, 0.25);
    border-radius: 8px;
    padding: 8px 14px;
    font-size: 0.95rem;
    font-weight: 600;
    color: #ffffff;
    letter-spacing: 0.5px;
}

.btn-refresh-captcha {
    background: transparent;
    border: none;
    color: var(--cyan);
    cursor: pointer;
    font-size: 0.95rem;
    padding: 2px 5px;
    border-radius: 4px;
    transition: transform 0.35s ease, color 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-refresh-captcha:hover {
    color: white;
    transform: rotate(180deg);
}

.captcha-question-container input {
    width: 120px;
    padding: 9px 12px;
    font-size: 1.1rem;
    font-weight: 700;
    text-align: center;
    background: rgba(10, 20, 35, 0.8);
    border: 1px solid rgba(69, 196, 249, 0.4);
    border-radius: 8px;
    color: white;
    outline: none;
    transition: all 0.3s;
    -moz-appearance: textfield;
}

.captcha-question-container input::-webkit-outer-spin-button,
.captcha-question-container input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.captcha-question-container input:focus {
    border-color: var(--cyan);
    box-shadow: 0 0 15px rgba(69, 196, 249, 0.35);
}

/* =============================================================
   CAPTCHA DESLIZANTE (SLIDE TO VERIFY - ARRASTRAR DE IZQUIERDA A DERECHA)
   ============================================================= */
.slide-captcha-group {
    background: rgba(10, 20, 35, 0.6);
    border: 1px solid rgba(69, 196, 249, 0.25);
    border-radius: 12px;
    padding: 12px 16px;
    margin: 0;
}

.slide-captcha-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.86rem;
    font-weight: 600;
    color: var(--cyan);
    margin-bottom: 10px;
    user-select: none;
}

.slider-captcha-container {
    position: relative;
    width: 100%;
    height: 48px;
    background: rgba(8, 16, 28, 0.85);
    border: 1px solid rgba(69, 196, 249, 0.3);
    border-radius: 30px;
    display: flex;
    align-items: center;
    overflow: hidden;
    user-select: none;
    touch-action: pan-y;
    box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.5);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.slider-captcha-container:focus-within {
    border-color: var(--cyan);
}

.slider-track-fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, rgba(69, 196, 249, 0.2), rgba(69, 196, 249, 0.45));
    border-radius: 30px 0 0 30px;
    pointer-events: none;
    transition: width 0.05s linear;
}

.slider-track-text {
    position: absolute;
    width: 100%;
    text-align: center;
    font-size: 0.85rem;
    font-weight: 600;
    color: #94a3b8;
    letter-spacing: 0.5px;
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding-left: 20px;
    transition: opacity 0.2s ease, color 0.3s ease;
}

.slider-arrow-anim {
    color: var(--cyan);
    animation: sliderArrowMove 1.6s infinite ease-in-out;
}

@keyframes sliderArrowMove {
    0%, 100% { transform: translateX(0); opacity: 0.5; }
    50% { transform: translateX(5px); opacity: 1; }
}

.slider-handle {
    position: absolute;
    top: 3px;
    left: 4px;
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, #45c4f9 0%, #0284c7 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #050b14;
    cursor: grab;
    z-index: 5;
    box-shadow: 0 0 15px rgba(69, 196, 249, 0.45), 0 2px 6px rgba(0, 0, 0, 0.4);
    transition: background 0.3s ease, transform 0.05s linear, box-shadow 0.3s ease;
    outline: none;
}

.slider-handle:hover {
    box-shadow: 0 0 20px rgba(69, 196, 249, 0.7);
    color: #ffffff;
}

.slider-handle:focus-visible {
    outline: 2px solid var(--cyan);
    outline-offset: 2px;
}

.slider-handle:active,
.slider-captcha-container.is-dragging .slider-handle {
    cursor: grabbing;
    transform: scale(1.04);
}

.slider-handle i {
    font-size: 0.95rem;
    pointer-events: none;
    transition: transform 0.2s ease, color 0.2s ease;
}

/* Estado Verificado Exitoso */
.slider-captcha-container.is-verified {
    border-color: rgba(16, 185, 129, 0.6);
    background: rgba(6, 24, 18, 0.85);
    box-shadow: 0 0 16px rgba(16, 185, 129, 0.2);
}

.slider-captcha-container.is-verified .slider-track-fill {
    width: 100% !important;
    background: linear-gradient(90deg, rgba(16, 185, 129, 0.25), rgba(16, 185, 129, 0.45));
    border-radius: 30px;
}

.slider-captcha-container.is-verified .slider-track-text {
    color: #34d399;
    font-weight: 700;
}

.slider-captcha-container.is-verified .slider-arrow-anim {
    display: none;
}

.slider-captcha-container.is-verified .slider-handle {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #ffffff;
    cursor: default;
    box-shadow: 0 0 18px rgba(16, 185, 129, 0.6);
}

/* Animación de alerta / shake si intentan enviar sin verificar */
@keyframes captchaShake {
    0%, 100% { transform: translateX(0); }
    15%, 45%, 75% { transform: translateX(-6px); }
    30%, 60%, 90% { transform: translateX(6px); }
}

.shake-captcha {
    animation: captchaShake 0.45s ease-in-out;
    border-color: rgba(239, 68, 68, 0.6) !important;
    box-shadow: 0 0 15px rgba(239, 68, 68, 0.3) !important;
}

/* CASILLA RGPD Y BLOQUEO DE PRIVACIDAD */
.privacidad-group {
    margin: -3px 0 5px 0;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.84rem;
    color: #cbd5e1;
    cursor: pointer;
    line-height: 1.45;
    user-select: none;
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    accent-color: var(--cyan);
    cursor: pointer;
    flex-shrink: 0;
}

.checkbox-label a,
.link-legal-modal {
    color: var(--cyan);
    text-decoration: underline;
    text-underline-offset: 3px;
    font-weight: 600;
    transition: color 0.2s ease, background 0.2s ease;
    padding: 1px 3px;
    border-radius: 4px;
    display: inline;
}

.checkbox-label a:hover,
.link-legal-modal:hover {
    color: #ffffff;
    background: rgba(69, 196, 249, 0.15);
    text-decoration: none;
    transform: none !important;
}

.checkbox-label a:active,
.link-legal-modal:active {
    transform: none !important;
}

/* PÍLDORAS LEGALES UNIFORMES EN MODAL SOLICITAR INFORMACIÓN */
.modal-legal-pills-bar {
    display: flex;
    align-items: stretch;
    gap: 8px;
    margin: 10px 0 8px 0;
    width: 100%;
    box-sizing: border-box;
}

.modal-legal-pill-btn {
    flex: 1 1 0;
    min-width: 0;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 6px 4px;
    background: rgba(15, 30, 55, 0.65);
    border: 1px solid rgba(69, 196, 249, 0.25);
    border-radius: 8px;
    color: #cbd5e1;
    font-size: 0.72rem;
    letter-spacing: -0.2px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
    box-sizing: border-box;
    transform: none !important;
    white-space: nowrap;
}

.modal-legal-pill-btn:hover {
    background: rgba(69, 196, 249, 0.18);
    border-color: var(--cyan);
    color: #ffffff;
    transform: none !important;
}

.modal-legal-pill-btn:focus-visible {
    outline: 2px solid var(--cyan);
    outline-offset: 1px;
}

.modal-legal-pill-btn:active,
.modal-legal-pill-btn.active {
    background: rgba(69, 196, 249, 0.28);
    border-color: var(--cyan);
    color: var(--cyan);
    box-shadow: 0 0 10px rgba(69, 196, 249, 0.3);
    transform: none !important;
}

.modal-legal-pill-btn i {
    font-size: 0.85rem;
    color: var(--cyan);
    flex-shrink: 0;
}

.modal-legal-pill-btn span {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.privacy-lock-indicator {
    display: inline-flex;
    align-items: center;
    margin-left: 6px;
    font-size: 0.85rem;
    color: #f59e0b;
    transition: all 0.3s ease;
}

.checkbox-label.is-unlocked .privacy-lock-indicator {
    color: #10b981;
}

.privacy-unlock-hint {
    font-size: 0.76rem;
    color: #f59e0b;
    margin-top: 6px;
    margin-left: 4px;
    line-height: 1.35;
    transition: all 0.3s ease;
}

.privacy-unlock-hint.is-unlocked {
    display: none;
}

.rgpd-info-layer {
    font-size: 0.72rem;
    color: #94a3b8;
    line-height: 1.45;
    margin-top: 10px;
    padding: 8px 12px;
    background: rgba(10, 20, 35, 0.5);
    border-radius: 6px;
    border-left: 3px solid var(--cyan);
}

.rgpd-info-layer a {
    color: var(--cyan);
}

.accepted-pulse {
    animation: acceptedGlow 1.2s ease;
}

@keyframes acceptedGlow {
    0% { box-shadow: 0 0 0 rgba(16, 185, 129, 0); }
    50% { box-shadow: 0 0 14px rgba(16, 185, 129, 0.45); }
    100% { box-shadow: 0 0 0 rgba(16, 185, 129, 0); }
}

/* ALERTAS DENTRO DEL MODAL */
.modal-alert {
    display: none;
    padding: 10px 15px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 15px;
    line-height: 1.4;
}

.modal-alert.error {
    display: block;
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.4);
    color: #fca5a5;
}

.modal-alert.success {
    display: block;
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.4);
    color: #6ee7b7;
}

.modal-footer-actions {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 12px;
    margin-top: 15px;
}

.modal-footer-actions .btn-modal-cancel,
.modal-footer-actions .btn-submit,
.legal-footer-actions .btn-modal-cancel,
.legal-footer-actions .btn-submit {
    height: 46px;
    padding: 0 24px;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 0;
    box-sizing: border-box;
}

.btn-modal-cancel {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #cbd5e1;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-modal-cancel:hover {
    background: rgba(255, 255, 255, 0.16);
    color: white;
    border-color: rgba(255, 255, 255, 0.35);
}

/* MODAL INTEGRAL LEGAL HUB */
.legal-modal-overlay {
    z-index: 10050;
    background: rgba(3, 7, 13, 0.92);
}

.legal-modal-content {
    max-width: 820px;
    width: 94%;
    max-height: 86vh;
    padding: 30px;
    display: flex;
    flex-direction: column;
}

.legal-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    border-bottom: 1px solid rgba(69, 196, 249, 0.2);
    padding-bottom: 15px;
    margin-bottom: 15px;
}

.legal-header-kicker {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--cyan);
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 5px;
}

.legal-header-titles h3 {
    font-size: 1.35rem;
    color: white;
    margin: 0;
}

.legal-close-btn {
    background: transparent;
    border: none;
    color: var(--text-gray);
    font-size: 1.8rem;
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s;
}

.legal-close-btn:hover {
    color: white;
}

.legal-tabs-bar {
    display: flex;
    align-items: stretch;
    gap: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 14px;
    margin-bottom: 18px;
    width: 100%;
    box-sizing: border-box;
}

.legal-tab-btn {
    flex: 1 1 0;
    min-width: 0;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 8px 12px;
    background: rgba(15, 25, 45, 0.7);
    border: 1px solid rgba(69, 196, 249, 0.25);
    border-radius: 12px;
    color: #94a3b8;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    box-sizing: border-box;
    text-align: center;
    transform: none !important;
}

.legal-tab-btn:hover {
    color: #ffffff;
    background: rgba(69, 196, 249, 0.12);
    border-color: var(--cyan);
    transform: none !important;
}

.legal-tab-btn:focus-visible {
    outline: 2px solid var(--cyan);
    outline-offset: 2px;
}

.legal-tab-btn:active {
    transform: none !important;
}

.legal-tab-btn.active {
    background: rgba(69, 196, 249, 0.2);
    border-color: var(--cyan);
    color: var(--cyan);
    box-shadow: 0 0 16px rgba(69, 196, 249, 0.25);
    transform: none !important;
}

.legal-tab-btn i {
    font-size: 0.95rem;
    color: var(--cyan);
    flex-shrink: 0;
}

.legal-tab-btn span {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.legal-modal-body {
    flex: 1;
    overflow-y: auto;
    padding-right: 12px;
    margin-bottom: 15px;
}

.legal-tab-panel {
    display: none;
}

.legal-tab-panel.active {
    display: block;
    animation: fadeInLegal 0.3s ease;
}

@keyframes fadeInLegal {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}

.legal-doc-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--cyan);
    background: rgba(69, 196, 249, 0.1);
    border: 1px solid rgba(69, 196, 249, 0.3);
    padding: 4px 12px;
    border-radius: 15px;
    margin-bottom: 15px;
}

.legal-tab-panel h4 {
    font-size: 1.05rem;
    color: white;
    margin: 18px 0 8px 0;
    font-weight: 600;
}

.legal-tab-panel h4:first-of-type {
    margin-top: 5px;
}

.legal-tab-panel p {
    font-size: 0.88rem;
    line-height: 1.6;
    color: #cbd5e1;
    margin-bottom: 12px;
}

.legal-tab-panel a {
    color: var(--cyan);
    text-decoration: underline;
}

.legal-table-wrapper {
    margin: 15px 0 18px 0;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(69, 196, 249, 0.2);
}

.legal-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.86rem;
}

.legal-table th, .legal-table td {
    padding: 10px 14px;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.legal-table th {
    background: rgba(15, 30, 55, 0.8);
    color: var(--cyan);
    font-weight: 600;
    width: 32%;
}

.legal-table td {
    background: rgba(10, 20, 35, 0.6);
    color: #e2e8f0;
}

.legal-modal-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 15px;
    flex-wrap: wrap;
}

.legal-footer-info {
    font-size: 0.78rem;
    color: #94a3b8;
    display: flex;
    align-items: center;
    gap: 8px;
}

.legal-footer-info i {
    color: #10b981;
}

.legal-footer-actions {
    display: flex;
    gap: 10px;
}

/* VIDEO LIGHTBOX MODAL */
.video-modal-overlay {
    z-index: 10060;
    background: rgba(2, 6, 12, 0.94);
    backdrop-filter: blur(12px);
}

.video-modal-content {
    background: rgba(10, 20, 35, 0.98);
    border: 1px solid rgba(69, 196, 249, 0.4);
    border-radius: 16px;
    width: 92%;
    max-width: 1050px;
    padding: 22px 26px;
    position: relative;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 40px rgba(69, 196, 249, 0.2);
    display: flex;
    flex-direction: column;
    gap: 15px;
    transform: scale(0.95);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.video-modal-overlay.active .video-modal-content {
    transform: scale(1);
}

.video-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 12px;
}

.video-modal-tag {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--cyan);
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 4px;
}

.video-modal-header h3 {
    font-size: 1.25rem;
    color: white;
    margin: 0;
    font-weight: 700;
}

.video-modal-close {
    background: transparent;
    border: none;
    color: var(--text-gray);
    font-size: 2rem;
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s, transform 0.2s;
    padding: 0 5px;
}

.video-modal-close:hover {
    color: white;
    transform: scale(1.1);
}

.video-modal-player-wrapper {
    position: relative;
    width: 100%;
    border-radius: 10px;
    overflow: hidden;
    background: #000;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}

.video-modal-player-wrapper video {
    width: 100%;
    max-height: 72vh;
    display: block;
    object-fit: contain;
    background: #000;
}

/* RESPONSIVE PARA MODAL LEGAL, PESTAÑAS Y BOTONES */
@media (max-width: 640px) {
    .legal-modal-content {
        padding: 22px 16px;
        width: 95%;
        max-height: 90vh;
    }
    .legal-tabs-bar {
        flex-direction: column;
        gap: 8px;
    }
    .legal-tab-btn {
        width: 100%;
        height: 40px;
    }
    .modal-legal-pills-bar {
        flex-direction: column;
        gap: 6px;
    }
    .modal-legal-pill-btn {
        width: 100%;
        height: 36px;
    }
    .legal-modal-footer {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        padding-top: 12px;
    }
    .legal-footer-info {
        font-size: 0.72rem;
        line-height: 1.35;
        width: 100%;
    }
    .legal-footer-actions {
        display: flex;
        gap: 8px;
        width: 100%;
        align-items: stretch;
    }
    .legal-footer-actions .btn-modal-cancel {
        height: auto;
        min-height: 40px;
        padding: 8px 14px;
        font-size: 0.85rem;
        flex-shrink: 0;
    }
    .legal-footer-actions .btn-submit {
        height: auto;
        min-height: 40px;
        padding: 8px 12px;
        font-size: 0.8rem;
        font-weight: 600;
        flex: 1;
        max-width: 100%;
        line-height: 1.25;
        text-align: center;
        white-space: normal;
        gap: 6px;
        box-sizing: border-box;
    }
    .legal-footer-actions .btn-submit i {
        font-size: 0.8rem;
        flex-shrink: 0;
    }
}

@media (max-width: 360px) {
    .legal-modal-content {
        padding: 18px 12px;
    }
    .legal-footer-actions {
        gap: 6px;
    }
    .legal-footer-actions .btn-modal-cancel {
        padding: 6px 10px;
        font-size: 0.8rem;
    }
    .legal-footer-actions .btn-submit {
        font-size: 0.75rem;
        padding: 6px 8px;
    }
}

/* =============================================================
   SISTEMA DE EFECTOS Y TRANSICIONES AL HACER SCROLL (AESTHETICS)
   ============================================================= */

/* Evitar desbordamiento horizontal en secciones con animaciones laterales */
.nosotros-container,
.contacto-container,
.section-container,
.gallery-container,
.container {
    overflow-x: clip;
}

/* Elementos animados solo cuando JavaScript está habilitado */
.js-enabled .reveal-on-scroll {
    opacity: 0;
    transition-property: opacity, transform;
    transition-duration: 1.15s;
    transition-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
    will-change: opacity, transform;
}

/* Efecto 1: De Abajo hacia Arriba (Hero, Formulario, CTA) */
.js-enabled .reveal-from-bottom {
    transform: translateY(28px);
}

/* Efecto 2: De Arriba hacia Abajo (Nuestros Servicios, Títulos de Sección) */
.js-enabled .reveal-from-top {
    transform: translateY(-28px);
}

/* Efecto 3: De Izquierda a Derecha (Mitad izquierda de Nosotros, Contacto Info) */
.js-enabled .reveal-from-left {
    transform: translateX(-35px);
}

/* Efecto 4: De Derecha a Izquierda (Mitad derecha de Nosotros, Columna WhatsApp) */
.js-enabled .reveal-from-right {
    transform: translateX(35px);
}

/* Efecto 5: Zoom In Suave (Galería y Componentes Destacados) */
.js-enabled .reveal-zoom-in {
    transform: scale(0.96) translateY(18px);
}

/* Estado Activo / Revelado */
.js-enabled .reveal-on-scroll.is-revealed {
    opacity: 1;
    transform: translate(0, 0) scale(1);
}

/* Delays escalonados para efecto cascada fluido y elegante */
.delay-100 { transition-delay: 0.08s; }
.delay-150 { transition-delay: 0.12s; }
.delay-200 { transition-delay: 0.16s; }
.delay-250 { transition-delay: 0.20s; }
.delay-300 { transition-delay: 0.24s; }
.delay-350 { transition-delay: 0.28s; }
.delay-400 { transition-delay: 0.32s; }
.delay-450 { transition-delay: 0.36s; }
.delay-500 { transition-delay: 0.40s; }
.delay-550 { transition-delay: 0.44s; }
.delay-600 { transition-delay: 0.48s; }

/* Soporte de accesibilidad para reducción de movimiento */
@media (prefers-reduced-motion: reduce) {
    .js-enabled .reveal-on-scroll {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
}



@media (max-width: 480px) {
    .btn-main {
        padding: 12px 16px;
        font-size: 0.88rem;
        gap: 8px;
    }

    .gallery-container {
        padding: 50px 3% 40px 3%;
    }

    .gallery-grid {
        gap: 10px !important;
    }

    .video-overlay {
        padding: 16px 8px 8px;
    }

    .video-overlay h4 {
        font-size: 0.82rem;
    }

    .video-overlay p {
        font-size: 0.68rem;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .single-photo-stage {
        height: 290px;
    }

    .photo-slider-btn {
        width: 38px;
        height: 38px;
        font-size: 0.95rem;
    }

    .photo-slider-prev {
        left: 8px;
    }

    .photo-slider-next {
        right: 8px;
    }
}
