/* =============================================================
   AD2N CLOUD - GSAP & Interactive Motion Styles
   ============================================================= */

/* 1. CUSTOM CURSOR STYLES */
@media (hover: hover) and (pointer: fine) {
    body {
        cursor: default;
    }
    
    .cursor-dot {
        position: fixed;
        top: 0;
        left: 0;
        width: 10px;
        height: 10px;
        background-color: #D50B52;
        border-radius: 50%;
        pointer-events: none;
        z-index: 999999;
        transform: translate3d(-5px, -5px, 0);
        transition: width 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), 
                    height 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275),
                    background-color 0.3s ease;
    }

    .cursor-ring {
        position: fixed;
        top: 0;
        left: 0;
        width: 44px;
        height: 44px;
        border: 2px solid rgba(213, 11, 82, 0.45);
        border-radius: 50%;
        pointer-events: none;
        z-index: 999998;
        transform: translate3d(-22px, -22px, 0);
        transition: width 0.35s ease, height 0.35s ease, border-color 0.35s ease;
        will-change: transform;
    }

    .cursor-dot.is-hovering {
        width: 16px;
        height: 16px;
        background-color: #ffffff;
        mix-blend-mode: difference;
    }

    .cursor-ring.is-hovering {
        width: 56px;
        height: 56px;
        border-color: #D50B52;
        background-color: transparent;
    }
}

/* 2. SPLIT CHAR & WORD ANIMATION CLASSES */
.split-char {
    display: inline-block;
    will-change: transform, opacity;
    backface-visibility: hidden;
}

.split-word-group {
    display: inline-block;
    white-space: nowrap;
}

.split-word {
    display: inline-block;
    will-change: transform, opacity;
    white-space: nowrap;
}

.line-wrapper {
    overflow: hidden;
    display: block;
}

/* OCULTAR BARRA NATIVA DEL NAVEGADOR */
html, body {
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
}

html::-webkit-scrollbar,
body::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
}

/* BARRA DE SCROLL EXCLUSIVA DE LA PÁGINA (INDICADOR INTERACTIVO Y ELEGANTE) */
.global-scroll-progress {
    position: fixed;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 220px;
    background: rgba(4, 7, 20, 0.8);
    border: 1px solid rgba(0, 180, 216, 0.3);
    border-radius: 6px;
    z-index: 99999;
    pointer-events: auto;
    cursor: pointer;
    touch-action: none;
    overflow: hidden;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.6);
    transition: width 0.3s ease, border-color 0.3s ease;
}

.global-scroll-progress:hover {
    width: 10px;
    border-color: rgba(0, 180, 216, 0.8);
}

.global-scroll-progress:focus-visible {
    outline: 2px solid #00B4D8;
    outline-offset: 5px;
}

.global-scroll-bar {
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, #00B4D8 0%, #D50B52 100%);
    border-radius: 6px;
    transform-origin: top center;
    transform: scaleY(0);
    will-change: transform;
}

/* 6. CARD 3D PERSPECTIVE & TRANSITIONS */
.services, .services-2, .wrap-about-border {
    transform-style: preserve-3d;
    transition: box-shadow 0.4s ease, border-color 0.4s ease;
}

.wrap-about-border {
    border-radius: 12px;
    overflow: hidden;
}

/* 7. MAGNETIC BUTTON ENHANCEMENT */
.btn {
    position: relative;
    will-change: transform;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

/* 8. 3D FLIP CARDS (PROPUESTA DE VALOR / FILOSOFÍA) */
.flip-card {
    background-color: transparent;
    perspective: 1000px;
    height: 240px;
    cursor: pointer;
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transform-style: preserve-3d;
    will-change: transform;
}

.flip-card-front, .flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    border-radius: 8px;
    clip-path: polygon(0 0, calc(100% - 35px) 0, 100% 35px, 100% 100%, 0 100%);
    padding: 30px 24px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
    transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
}

.flip-card-front {
    background: #070d24;
    color: #ffffff;
    border: 1px solid rgba(0, 180, 216, 0.2);
}

.flip-card-front .flip-card-icon {
    font-size: 44px;
    color: #00b4d8;
    margin-bottom: 12px;
    transition: transform 0.3s ease, color 0.3s ease;
}

.flip-card-front h3 {
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 10px;
}

.flip-card-front .flip-hint {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.flip-card-back {
    background: linear-gradient(135deg, #0d1738 0%, #050a1b 100%);
    color: #ffffff;
    transform: rotateY(180deg);
    border: 1px solid #D50B52;
    box-shadow: 0 15px 35px rgba(213, 11, 82, 0.3);
}

.flip-card-back h3 {
    font-size: 19px;
    font-weight: 700;
    color: #D50B52;
    margin-bottom: 10px;
}

.flip-card-back p {
    font-size: 14px;
    line-height: 1.5;
    color: #e2e8f0;
    margin-bottom: 12px;
}

.flip-card-back .flip-hint-back {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.flip-card:hover .flip-card-front {
    box-shadow: 0 18px 40px rgba(0, 180, 216, 0.3);
    border-color: #00b4d8;
}

.flip-card:hover .flip-card-front .flip-card-icon {
    transform: scale(1.15) rotate(5deg);
    color: #D50B52;
}

/* 9. 3D CURTAIN MASK WIPE HERO SLIDER */
.hero-slider-section {
    position: relative;
    width: 100%;
    height: 650px;
    overflow: hidden;
    background: #05070e;
}

.slider-bg-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transform: translate3d(0, 0, 0);
    will-change: transform;
    z-index: 1;
}

.slider-bg-layer--image {
    display: block;
    object-fit: cover;
    object-position: center;
}

.hero-slider-section::after {
    content: '';
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(5, 7, 14, 0.65) 0%, rgba(5, 7, 14, 0.85) 100%);
    pointer-events: none;
    z-index: 4;
}

.slider-bg-layer.active {
    opacity: 1;
    z-index: 2;
}

.slider-content-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-slide-item {
    position: absolute;
    inset: 0;
    height: fit-content;
    margin: auto;
    transform: none;
    width: 90%;
    max-width: 950px;
    text-align: center;
    color: #ffffff;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    z-index: 10;
    transition: opacity 0.5s ease 0.1s, visibility 0.5s ease 0.1s;
}

/* All text inside active slide — forced visible with max specificity */
/* Animated entrance via class added by JS */
.slider-slide-item .subheading {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    color: #D50B52 !important;
    letter-spacing: 3px;
    display: inline-block !important;
    margin-bottom: 15px;
}

.slider-slide-item h1 {
    font-size: 52px;
    color: #ffffff !important;
    line-height: 1.2;
    font-weight: 900;
    margin-bottom: 25px;
}

/* HIGH-END FUTURISTIC CTA BUTTON */
.hero-slider-section .btn-hero-glow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 42px;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 1px;
    color: #ffffff !important;
    background: linear-gradient(135deg, #D50B52 0%, #ff2a6d 100%);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 50px;
    box-shadow: 0 10px 25px rgba(213, 11, 82, 0.45);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
    position: relative;
    text-decoration: none !important;
}

.hero-slider-section .btn-hero-glow::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transform: skewX(-25deg);
    transition: left 0.75s ease;
}

.hero-slider-section .btn-hero-glow:hover::before {
    left: 140%;
}

.hero-slider-section .btn-hero-glow:hover {
    background: linear-gradient(135deg, #ff2a6d 0%, #D50B52 100%);
    box-shadow: 0 15px 35px rgba(213, 11, 82, 0.65), 0 0 25px rgba(255, 255, 255, 0.3);
    transform: translateY(-3px) scale(1.04);
}

@media (max-width: 768px) {
    .hero-slider-section { height: 550px; }
    .slider-slide-item h1 { font-size: 32px; }
}

/* MINIMALIST MODERN HUD CONTROLS (01 02 03) */
.slider-hud-controls {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    align-items: center;
    background: rgba(5, 10, 25, 0.55);
    padding: 8px 24px;
    border-radius: 30px;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.hud-numbers-list {
    display: flex;
    align-items: center;
    gap: 24px;
}

.hud-num-btn {
    cursor: pointer;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.45);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 4px 6px;
    transition: color 0.3s ease;
}

.hud-num-btn:hover,
.hud-num-btn.active {
    color: #ffffff;
}

.hud-num-btn .num-bar {
    width: 28px;
    height: 3px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 2px;
    position: relative;
    overflow: hidden;
}

.hud-num-btn .num-fill {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, #D50B52, #ff2a6d);
    transform: scaleX(0);
    transform-origin: left center;
    box-shadow: 0 0 10px #D50B52;
}

/* 10. INTERACTIVE MOTION LINE SVG GRID SERVICES SECTION */
.services-motion-section {
    position: relative;
    background: #070c1d;
    padding: 90px 0;
    overflow: hidden;
    color: #ffffff;
}

.services-motion-section .heading-section h2 {
    color: #ffffff;
}

.services-motion-section .heading-section p {
    color: rgba(255, 255, 255, 0.7);
}

.services-grid-wrapper {
    position: relative;
    width: 100%;
    margin-top: 40px;
}

/* SVG Motion Network Container */
.svc-motion-network-svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.svc-motion-route {
    fill: none;
    stroke: rgba(0, 180, 216, 0.3);
    stroke-width: 2;
    stroke-dasharray: 8, 12;
    transition: stroke 0.4s ease, stroke-width 0.4s ease, filter 0.4s ease;
}

.svc-motion-route.highlighted {
    stroke: #D50B52;
    stroke-width: 3.5;
    filter: drop-shadow(0 0 10px #D50B52);
    stroke-dasharray: none;
}

.svc-motion-signal-dot {
    fill: #00b4d8;
    filter: drop-shadow(0 0 6px #00b4d8);
    transition: fill 0.3s ease;
}

.svc-motion-route.highlighted + .svc-motion-signal-dot,
.svc-motion-signal-dot.highlighted {
    fill: #ff2a6d;
    filter: drop-shadow(0 0 12px #ff2a6d);
}

/* Grid Layout & Cards */
.ad2n-services-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    overflow: hidden;
    background: rgba(7, 13, 36, 0.65);
    backdrop-filter: blur(10px);
}

@media (max-width: 992px) {
    .ad2n-services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .ad2n-services-grid {
        grid-template-columns: 1fr;
    }
}

.ad2n-service-card {
    position: relative;
    padding: 40px 32px;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: transparent;
    cursor: pointer;
    transition: background 0.4s ease, transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 250px;
}

.ad2n-service-card:hover {
    background: rgba(13, 23, 56, 0.95);
    border-color: rgba(213, 11, 82, 0.4);
    box-shadow: inset 0 0 35px rgba(213, 11, 82, 0.15);
}

.svc-card-header {
    position: relative;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}

.svc-card-icon {
    font-size: 38px;
    color: #00b4d8;
    transition: transform 0.4s ease, color 0.4s ease;
    background: transparent !important;
    border-radius: 0 !important;
    width: auto !important;
    height: auto !important;
}

.ad2n-service-card:hover .svc-card-icon {
    transform: scale(1.15) rotate(6deg);
    color: #D50B52;
    background: transparent !important;
}

.svc-card-arrow {
    display: none !important;
}

.ad2n-service-card:hover .svc-card-arrow {
    display: none !important;
}

.svc-card-body {
    position: relative;
    z-index: 5;
}

.svc-card-body h3 {
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 12px;
    transition: color 0.3s ease;
}

.ad2n-service-card:hover .svc-card-body h3 {
    color: #00b4d8;
}

.svc-card-body p {
    font-size: 14px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

/* Card Internal Motion SVG Lines — va detrás de íconos (z-index:1) y texto (z-index:5) */
.card-internal-motion-svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    opacity: 0.15;
    transition: opacity 0.4s ease;
    overflow: visible;
}

.ad2n-service-card:hover .card-internal-motion-svg {
    opacity: 1;
}

.card-svg-line {
    fill: none;
    stroke: rgba(0, 180, 216, 0.5);
    stroke-width: 2.5;
    stroke-dasharray: 400;
    stroke-dashoffset: 400;
    transition: stroke-dashoffset 0.85s cubic-bezier(0.16, 1, 0.3, 1), stroke 0.4s ease, filter 0.4s ease;
}

.ad2n-service-card:hover .card-svg-line {
    stroke-dashoffset: 0;
    stroke: #D50B52;
    stroke-width: 3;
    filter: drop-shadow(0 0 10px #D50B52);
}

/* Pelotita que recorre la línea — visible y animada en hover */
.card-svg-pulse {
    fill: #D50B52;
    opacity: 0;
    filter: drop-shadow(0 0 8px #D50B52);
    transition: opacity 0.3s ease;
    display: block;
}

.ad2n-service-card:hover .card-svg-pulse {
    opacity: 1;
}

/* 11. INTERACTIVE CYBER FOOTER & LETTER MOTION */
.ftco-footer {
    position: relative;
    background: #060913 !important;
    overflow: hidden;
    color: #ffffff;
}

#footer-cyber-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    opacity: 0.62;
}

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

.ftco-footer .ftco-heading-2 {
    color: #ffffff;
    font-weight: 700;
    letter-spacing: 1px;
    position: relative;
    display: inline-block;
}

.ftco-footer .ftco-footer-widget a {
    transition: color 0.3s ease, letter-spacing 0.3s ease;
}

.ftco-footer .ftco-footer-widget a:hover {
    color: #ff2a6d !important;
    letter-spacing: 0.5px;
}

.ftco-footer .subscribe-form .submit {
    background: linear-gradient(135deg, #D50B52 0%, #ff2a6d 100%) !important;
    border: none !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    border-radius: 6px !important;
    box-shadow: 0 5px 15px rgba(213, 11, 82, 0.4);
    transition: all 0.3s ease !important;
}

.ftco-footer .subscribe-form .submit:hover {
    box-shadow: 0 8px 25px rgba(213, 11, 82, 0.6) !important;
    transform: translateY(-2px);
}

.ftco-footer .subscribe-form .footer-contact-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 3.5rem;
    margin: 0;
    padding: 0.75rem 1rem;
    box-sizing: border-box;
    line-height: 1.2;
    text-align: center;
    text-decoration: none !important;
}

.footer-letter-hover {
    display: inline-block;
    will-change: transform;
    transition: color 0.3s ease, transform 0.3s ease, text-shadow 0.3s ease;
    cursor: default;
}

.footer-letter-hover:hover {
    color: #D50B52 !important;
    transform: translateY(-4px) scale(1.15);
    text-shadow: 0 0 12px rgba(213, 11, 82, 0.9);
}

/* 12. AD2N SHARED BACKGROUND PARALLAX */
.ad2n-parallax-wrapper {
    position: relative;
    width: 100%;
    color: #ffffff;
    z-index: 1;
}

.ad2n-parallax-bg-stage {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    clip-path: inset(0 0 0 0);
    -webkit-clip-path: inset(0 0 0 0);
    pointer-events: none;
    z-index: 0;
}

.ad2n-parallax-bg-layer {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    height: 100svh !important;
    z-index: 1 !important;
    pointer-events: none !important;
    
    background-image: url('../images/ad2n_parallax-ultra-1200.webp') !important;
    background-position: center center !important;
    background-size: cover !important;
    background-repeat: no-repeat !important;
    
    opacity: 0.72 !important;
    filter: brightness(1.05) contrast(1.08) !important;
}

.services-motion-section {
    position: relative !important;
    z-index: 10 !important;
    background-color: #040714 !important;
}

.ad2n-parallax-overlay {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: linear-gradient(180deg, rgba(5, 9, 23, 0.45) 0%, rgba(5, 9, 23, 0.25) 50%, rgba(5, 9, 23, 0.45) 100%) !important;
    pointer-events: none !important;
    z-index: 2 !important;
}

.ad2n-parallax-wrapper .ftco-section {
    position: relative !important;
    z-index: 5 !important;
    background: transparent !important;
    color: #ffffff;
}

/* Balanced handoff between both panels without the former empty band. */
#propuesta-valor {
    padding-top: clamp(88px, 7vw, 112px);
    padding-bottom: clamp(56px, 5vw, 80px);
}

#porque-ad2n {
    padding-top: clamp(56px, 5vw, 80px);
    padding-bottom: clamp(88px, 7vw, 112px);
}

@media (max-width: 767.98px) {
    #propuesta-valor {
        padding-top: 72px;
        padding-bottom: 48px;
    }

    #porque-ad2n {
        padding-top: 48px;
        padding-bottom: 72px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ad2n-parallax-bg-layer {
        height: 116% !important;
    }
}

@media (prefers-reduced-motion: reduce) and (max-width: 767.98px) {
    .ad2n-parallax-bg-layer {
        height: 114% !important;
    }
}

.ad2n-parallax-wrapper h2 {
    color: #ffffff !important;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.6);
}

.ad2n-parallax-wrapper p {
    color: rgba(255, 255, 255, 0.95) !important;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.ad2n-parallax-wrapper ul {
    color: rgba(255, 255, 255, 0.95) !important;
}

.ad2n-parallax-wrapper ul li strong {
    color: #00b4d8 !important;
}

/* Deep Dark High Contrast Panel for 100% Crisp Legibility */
.parallax-glass-content {
    position: relative;
    background: rgba(6, 10, 25, 0.92) !important;
    backdrop-filter: blur(24px) !important;
    -webkit-backdrop-filter: blur(24px) !important;
    border-radius: 24px !important;
    padding: 42px 38px !important;
    border: 1px solid rgba(0, 180, 216, 0.3) !important;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.75), inset 0 0 30px rgba(0, 180, 216, 0.08) !important;
    color: #ffffff;
}

.parallax-glass-content h2 {
    color: #ffffff !important;
    font-size: 38px;
    font-weight: 800;
    line-height: 1.3;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.9);
    transition: transform 0.4s ease, text-shadow 0.4s ease;
}

.parallax-glass-content h2:hover {
    color: #ffffff !important;
    text-shadow: 0 0 25px rgba(0, 180, 216, 0.95), 0 0 45px rgba(213, 11, 82, 0.7);
    transform: translateY(-2px);
}

.parallax-glass-content p {
    color: rgba(255, 255, 255, 0.98) !important;
    font-size: 16.5px;
    line-height: 1.85;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.8);
    transition: text-shadow 0.3s ease;
}

.parallax-glass-content p:hover {
    color: #ffffff !important;
    text-shadow: 0 0 12px rgba(255, 255, 255, 0.8);
}

.parallax-glass-content ul li {
    color: rgba(255, 255, 255, 0.98) !important;
    font-size: 17px;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.8);
    transition: transform 0.35s ease, color 0.35s ease;
}

.parallax-glass-content ul li:hover {
    transform: translateX(8px);
    color: #ffffff !important;
}

.parallax-glass-content ul li strong {
    color: #00b4d8 !important;
    text-shadow: 0 0 12px rgba(0, 180, 216, 0.8);
    transition: text-shadow 0.3s ease;
}

.parallax-glass-content ul li:hover strong {
    color: #00b4d8 !important;
    text-shadow: 0 0 18px rgba(0, 180, 216, 0.95);
}

/* Glassmorphism Status Pill Badge */
/* Glassmorphism Status Pill Badge (Unenclosed, Clean Glowing Text) */
.glass-status-pill {
    display: inline-block;
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    color: #00d4ff !important;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    position: relative;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.glass-status-pill:hover {
    color: #ffffff !important;
    letter-spacing: 3.5px;
    transform: translateY(-2px) scale(1.05);
    text-shadow: 0 0 16px rgba(0, 212, 255, 0.95), 0 0 32px rgba(213, 11, 82, 0.7);
}

/* AD2N HERO — GSAP entrance & hover animations */
.hero-cyber-section .hero-reveal {
    will-change: transform, opacity;
}

.hero-cyber-section .cta-title {
    position: relative;
    display: block;
}

.hero-cyber-section .cta-title .hero-char {
    display: inline-block;
    will-change: transform, opacity, color;
    transition: color 0.25s ease;
}

/* Floating Neon Tech Particles & Nodes */
.parallax-floating-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 3;
}

.particle-node {
    position: absolute;
    width: 66px;
    height: 66px;
    border-radius: 50%;
    background: rgba(6, 10, 25, 0.90);
    border: 2px solid rgba(0, 180, 216, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #00b4d8;
    font-size: 30px;
    box-shadow: 0 10px 30px rgba(0, 180, 216, 0.4), inset 0 0 15px rgba(0, 180, 216, 0.2);
    will-change: transform;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.particle-node i {
    color: inherit;
    font-size: 30px;
    line-height: 1;
    text-shadow: 0 0 12px currentColor;
}

.particle-1 { top: 8%; left: 2.5%; }
.particle-2 { top: 20%; right: 2.5%; color: #D50B52; border-color: rgba(213, 11, 82, 0.6); box-shadow: 0 10px 30px rgba(213, 11, 82, 0.4), inset 0 0 15px rgba(213, 11, 82, 0.2); }
.particle-3 { top: 34%; left: 2.5%; }
.particle-4 { top: 48%; right: 2.5%; color: #D50B52; border-color: rgba(213, 11, 82, 0.6); box-shadow: 0 10px 30px rgba(213, 11, 82, 0.4), inset 0 0 15px rgba(213, 11, 82, 0.2); }
.particle-5 { top: 62%; left: 2.5%; }
.particle-6 { top: 74%; right: 2.5%; color: #D50B52; border-color: rgba(213, 11, 82, 0.6); box-shadow: 0 10px 30px rgba(213, 11, 82, 0.4), inset 0 0 15px rgba(213, 11, 82, 0.2); }
.particle-7 { top: 85%; left: 2.5%; }
.particle-8 { top: 94%; right: 2.5%; color: #D50B52; border-color: rgba(213, 11, 82, 0.6); box-shadow: 0 10px 30px rgba(213, 11, 82, 0.4), inset 0 0 15px rgba(213, 11, 82, 0.2); }

.particle-ring {
    position: absolute;
    top: -7px;
    left: -7px;
    right: -7px;
    bottom: -7px;
    border-radius: 50%;
    border: 1.5px dashed rgba(0, 180, 216, 0.6);
    animation: rotateParticleRing 12s linear infinite;
}

.particle-ring.magenta {
    border-color: rgba(213, 11, 82, 0.6);
}

@keyframes rotateParticleRing {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Minimalist Neon Glass Button */
.btn-glass-neon {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 180, 216, 0.15);
    color: #ffffff !important;
    border: 1.5px solid #00b4d8;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    box-shadow: 0 8px 25px rgba(0, 180, 216, 0.25);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    overflow: hidden;
    z-index: 1;
}

.btn-glass-neon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #D50B52 0%, #00b4d8 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

.btn-glass-neon:hover {
    color: #ffffff !important;
    border-color: #D50B52;
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 12px 35px rgba(213, 11, 82, 0.5), 0 0 25px rgba(0, 180, 216, 0.4);
}

.btn-glass-neon:hover::before {
    opacity: 1;
}

.btn-glass-neon .btn-arrow {
    transition: transform 0.35s ease;
}

.btn-glass-neon:hover .btn-arrow {
    transform: translateX(6px);
}

/* Dark Cyber CTA Cotización Section with Parallax Background Scrub */
.cta-cotizacion-section {
    position: relative;
    width: 100%;
    background: #050917 !important;
    border-top: 1px solid rgba(0, 180, 216, 0.3);
    border-bottom: 1px solid rgba(0, 180, 216, 0.3);
    overflow: hidden;
    min-height: 220px;
}

.cta-parallax-bg {
    position: absolute;
    top: -60%;
    left: 0;
    width: 100%;
    height: 220%;
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    opacity: 0.6 !important;
    filter: brightness(0.95) contrast(1.1) !important;
    will-change: transform;
    z-index: 1;
}

.cta-parallax-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(6, 11, 30, 0.7) 0%, rgba(5, 9, 23, 0.75) 100%) !important;
    z-index: 2;
}

.relative-z {
    position: relative;
    z-index: 3;
}

.cta-title {
    color: #ffffff !important;
    font-size: clamp(26px, 2.5vw, 36px);
    font-weight: 800;
    line-height: 1.3;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.8);
}

.cta-subtitle {
    color: rgba(255, 255, 255, 0.85) !important;
    font-size: 16px;
    line-height: 1.6;
}

/* 13. HERO CYBER SECTION (dark parallax hero for interior pages, matching CTA style) */
.hero-cyber-section {
    position: relative;
    width: 100%;
    background: #050917 !important;
    border-bottom: 1px solid rgba(0, 180, 216, 0.3);
    overflow: hidden;
    min-height: 160px;
    display: flex;
    align-items: center;
}

.hero-cyber-section .cta-parallax-bg {
    display: block;
    position: absolute;
    top: -60%;
    left: 0;
    width: 100%;
    height: 220%;
    background-size: cover;
    background-position: center center;
    object-fit: cover;
    object-position: center center;
    will-change: transform;
    z-index: 1;
}

.hero-cyber-section .cta-parallax-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(6, 11, 30, 0.88) 0%, rgba(5, 9, 23, 0.82) 100%);
    z-index: 2;
}

.hero-cyber-section .relative-z {
    position: relative;
    z-index: 3;
    width: 100%;
}

.hero-cyber-section .cta-title {
    color: #ffffff !important;
    font-size: clamp(26px, 2.5vw, 36px);
    font-weight: 800;
    line-height: 1.3;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.8);
}

.hero-cyber-breadcrumbs,
.breadcrumbs {
    color: rgba(255, 255, 255, 0.7) !important;
    font-size: 14px;
    text-align: center !important;
    width: 100% !important;
    display: block !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

.hero-cyber-breadcrumbs a,
.breadcrumbs a {
    color: rgba(255, 255, 255, 0.85) !important;
    text-decoration: none !important;
    transition: color 0.3s ease;
}

.hero-cyber-breadcrumbs a:hover,
.breadcrumbs a:hover {
    color: #D50B52 !important;
}

/* Smart Hide / Show Header */
.bg-top, #ftco-navbar, nav.navbar {
    position: relative !important;
    z-index: 99999999 !important;
}

.hero-slider-section, #hero-slider {
    position: relative !important;
    z-index: 1 !important;
}

.slider-content-wrapper {
    z-index: 5 !important;
}

.slider-slide-item {
    z-index: 6 !important;
}

#ftco-navbar {
    transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), 
                background-color 0.4s ease, 
                box-shadow 0.4s ease !important;
    will-change: transform;
}

#ftco-navbar.smart-header-sticky {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    z-index: 99999999 !important;
    background: rgba(6, 10, 25, 0.95) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    border-bottom: 1px solid rgba(0, 180, 216, 0.35) !important;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.8) !important;
    transform: translateY(0) !important;
}

#ftco-navbar.smart-header-sticky.smart-header-hidden {
    transform: translateY(-100%) !important;
}

/* Header & Navbar Interactive Text Effects (Clean Glow, No Underline) */
#ftco-navbar .nav-link {
    position: relative;
    color: rgba(255, 255, 255, 0.85) !important;
    font-weight: 700;
    transition: color 0.35s ease, text-shadow 0.35s ease, transform 0.35s ease !important;
}

#ftco-navbar .nav-link:hover {
    color: #ffffff !important;
    text-shadow: 0 0 14px rgba(0, 180, 216, 0.85), 0 0 25px rgba(213, 11, 82, 0.4);
    transform: translateY(-2px);
}

#ftco-navbar .nav-item.active .nav-link {
    color: #ffffff !important;
    text-shadow: 0 0 12px rgba(0, 180, 216, 0.8);
}

/* Header Top Brand Logo & Topper Effects */
.bg-top a:hover {
    color: #00b4d8 !important;
    text-shadow: 0 0 15px rgba(0, 180, 216, 0.6);
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

/* CAPITAL MARKETING EXCLUSIVE MEGAMENU ENTRANCE (EXCLUSIVELY FOR SERVICIOS) */
.nav-item.dropdown {
    position: relative !important;
}

.mega-menu {
    display: block !important;
    position: absolute;
    top: 100% !important;
    left: 0;
    background: #ffffff !important;
    color: #111111 !important;
    padding: 32px 30px !important;
    border-radius: 24px !important;
    border: 1px solid rgba(0, 0, 0, 0.1) !important;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.28) !important;
    z-index: 99999999 !important;
    min-width: 650px !important;
    
    /* Capital Marketing scale(0.15 -> 1) smooth landing transition */
    transform-origin: 15% 0 !important;
    transform: scale(0.15) rotate(0.001deg) !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transition: transform 0.55s cubic-bezier(0.165, 0.84, 0.44, 1), 
                opacity 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), 
                visibility 0.4s ease !important;
}

.nav-item.dropdown:hover .mega-menu,
.mega-menu:hover {
    transform: scale(1) rotate(0.001deg) !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
}

.mega-menu::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 0;
    width: 100%;
    height: 25px;
    background: transparent;
}

/* Staggered Smooth Column & Sub-item Entrance */
.mega-menu .col-md-6,
.mega-menu .mega-sub-menu li {
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.nav-item.dropdown:hover .mega-menu .col-md-6,
.nav-item.dropdown:hover .mega-menu .mega-sub-menu li {
    opacity: 1;
    transform: translateY(0);
}

.nav-item.dropdown:hover .mega-menu .col-md-6:nth-child(1) { transition-delay: 0.05s; }
.nav-item.dropdown:hover .mega-menu .col-md-6:nth-child(2) { transition-delay: 0.12s; }

.nav-item.dropdown:hover .mega-menu .mega-sub-menu li:nth-child(1) { transition-delay: 0.08s; }
.nav-item.dropdown:hover .mega-menu .mega-sub-menu li:nth-child(2) { transition-delay: 0.12s; }
.nav-item.dropdown:hover .mega-menu .mega-sub-menu li:nth-child(3) { transition-delay: 0.16s; }
.nav-item.dropdown:hover .mega-menu .mega-sub-menu li:nth-child(4) { transition-delay: 0.20s; }
.nav-item.dropdown:hover .mega-menu .mega-sub-menu li:nth-child(5) { transition-delay: 0.24s; }
.nav-item.dropdown:hover .mega-menu .mega-sub-menu li:nth-child(6) { transition-delay: 0.28s; }
.nav-item.dropdown:hover .mega-menu .mega-sub-menu li:nth-child(7) { transition-delay: 0.32s; }
.nav-item.dropdown:hover .mega-menu .mega-sub-menu li:nth-child(8) { transition-delay: 0.36s; }

/* Interactive Hover Effects on Individual Services */
.mega-menu-link {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 8px 14px !important;
    border-radius: 10px !important;
    color: #2b2b2b !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    background: transparent;
    transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease !important;
}

.mega-menu-link .link-text {
    transition: transform 0.3s ease, color 0.3s ease;
}

.mega-menu-link .link-arrow {
    opacity: 0;
    transform: translateX(-8px);
    font-size: 12px;
    color: #D50B52;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.mega-menu-link:hover {
    background: rgba(213, 11, 82, 0.07) !important;
    color: #D50B52 !important;
    transform: translateX(5px) !important;
    box-shadow: 0 4px 15px rgba(213, 11, 82, 0.12);
}

.mega-menu-link:hover .link-text {
    color: #D50B52 !important;
    font-weight: 700;
}

.mega-menu-link:hover .link-arrow {
    opacity: 1;
    transform: translateX(0);
}

.mega-menu h5 a {
    color: #D50B52 !important;
    font-size: 16px !important;
    font-weight: 800 !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-decoration: none !important;
    transition: color 0.3s ease, text-shadow 0.3s ease !important;
}

.mega-menu h5 a:hover {
    color: #00b4d8 !important;
    text-shadow: 0 0 12px rgba(0, 180, 216, 0.4);
}

.mega-sub-menu li a,
.mega-menu-link {
    position: relative;
    color: #2b2b2b !important;
    font-size: 14.5px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
    transition: color 0.3s ease, transform 0.35s cubic-bezier(0.165, 0.84, 0.44, 1), text-shadow 0.3s ease !important;
}

.mega-sub-menu li a::before,
.mega-menu-link::before {
    content: '';
    display: inline-block;
    width: 0;
    height: 6px;
    border-radius: 50%;
    background: #D50B52;
    margin-right: 0;
    opacity: 0;
    transition: width 0.3s ease, margin-right 0.3s ease, opacity 0.3s ease;
}

.mega-sub-menu li a:hover,
.mega-menu-link:hover {
    color: #D50B52 !important;
    transform: translateX(6px) !important;
    text-shadow: 0 0 8px rgba(213, 11, 82, 0.25);
}

.mega-sub-menu li a:hover::before,
.mega-menu-link:hover::before {
    width: 6px;
    margin-right: 8px;
    opacity: 1;
}

/* =========================================================================
   PARTNER LOGOS GLASS GRID
   ========================================================================= */
.partner-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin: 0 auto;
    padding: 20px 0;
}

.partner-item {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 115px;
    padding: 10px;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 2;
}

.partner-item img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.partner-item:hover img {
    transform: scale(1.08);
}

@media (max-width: 1200px) {
    .partner-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 900px) {
    .partner-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .partner-grid {
        grid-template-columns: 1fr;
    }
}

/* Connection Nodes Canvas Background */
#partner-section {
    position: relative;
    background: #ffffff !important;
    overflow: hidden;
}

#partner-nodes-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    opacity: 0.7;
}

/* =========================================================================
   CONTACT SECTION GSAP ANIMATION & CYBER DARK DASHBOARD REDESIGN
   ========================================================================= */

#contact-section {
    position: relative;
    background: radial-gradient(circle at 50% 20%, #08102b 0%, #050917 100%) !important;
    overflow: hidden;
    padding: 80px 0;
}

#contact-nodes-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    opacity: 0.95;
}

.text-gradient-cyan {
    background: linear-gradient(135deg, #00d4ff 0%, #ffffff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.contact-heading {
    perspective: 1000px;
    z-index: 2;
    position: relative;
    line-height: 1.3;
}

/* Cyber Dashboard Glass Panels */
.cyber-contact-info-panel,
.cyber-contact-form-panel {
    background: rgba(9, 15, 38, 0.85) !important;
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(0, 180, 216, 0.25);
    border-radius: 28px !important;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 2;
    transition: transform 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}

.cyber-contact-info-panel:hover,
.cyber-contact-form-panel:hover {
    border-color: rgba(0, 212, 255, 0.45);
    box-shadow: 0 30px 70px rgba(0, 180, 216, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.panel-title {
    color: #ffffff;
    font-weight: 800;
    font-size: 22px;
    letter-spacing: 0.5px;
}

/* Clean Status Badge (Unenclosed, No dot, Pure Glowing Text) */
.status-badge-clean {
    display: inline-block;
}

.badge-text-clean {
    color: #00d4ff;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-shadow: 0 0 12px rgba(0, 212, 255, 0.4);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    display: inline-block;
    cursor: default;
}

.badge-text-clean:hover {
    color: #ffffff;
    text-shadow: 0 0 20px rgba(0, 212, 255, 0.9), 0 0 35px rgba(213, 11, 82, 0.6);
    transform: translateY(-2px) scale(1.03);
    letter-spacing: 1.5px;
}

/* =========================================================================
   TEXT HOVER ANIMATIONS FOR CONTACT SECTION
   ========================================================================= */

.contact-heading {
    transition: transform 0.4s ease, text-shadow 0.4s ease;
    cursor: default;
}

.contact-heading:hover {
    text-shadow: 0 0 25px rgba(0, 212, 255, 0.8), 0 0 45px rgba(213, 11, 82, 0.5);
    transform: translateY(-3px);
}

.panel-title {
    transition: color 0.35s ease, text-shadow 0.35s ease, transform 0.35s ease;
    cursor: default;
}

.panel-title:hover {
    color: #00d4ff;
    text-shadow: 0 0 18px rgba(0, 212, 255, 0.7);
    transform: translateX(6px);
}

.form-label-cyber {
    transition: color 0.35s ease, letter-spacing 0.35s ease, text-shadow 0.35s ease;
    cursor: pointer;
}

.form-label-cyber:hover {
    color: #00d4ff;
    letter-spacing: 1.5px;
    text-shadow: 0 0 12px rgba(0, 212, 255, 0.6);
}

.info-text-box p {
    transition: color 0.35s ease, transform 0.35s ease, text-shadow 0.35s ease;
}

.cyber-info-item:hover .info-text-box p {
    color: #ffffff !important;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.4);
}

.panel-footer-note p {
    transition: color 0.35s ease, text-shadow 0.35s ease, transform 0.35s ease;
    cursor: default;
}

.panel-footer-note p:hover {
    color: #00d4ff !important;
    text-shadow: 0 0 12px rgba(0, 212, 255, 0.5);
    transform: translateX(4px);
}

/* Cyber Info Item Cards */
.cyber-info-item {
    display: flex;
    align-items: center;
    gap: 18px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    padding: 16px 20px;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.cyber-info-item:hover {
    background: rgba(0, 180, 216, 0.1);
    border-color: rgba(0, 212, 255, 0.4);
    transform: translateX(8px);
    box-shadow: 0 12px 30px rgba(0, 180, 216, 0.15);
}

.info-icon-box {
    width: 48px;
    height: 48px;
    min-width: 48px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(0, 180, 216, 0.2), rgba(213, 11, 82, 0.2));
    border: 1px solid rgba(0, 212, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #00d4ff;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.cyber-info-item:hover .info-icon-box {
    transform: scale(1.12) rotate(6deg);
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.4);
    color: #ffffff;
}

.info-text-box p {
    color: rgba(255, 255, 255, 0.9) !important;
    font-size: 14px;
    line-height: 1.5;
}

.info-text-box p span {
    display: block;
    font-weight: 800;
    color: #00d4ff !important;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 2px;
}

.info-text-box a {
    color: #ffffff !important;
    text-decoration: none !important;
    font-weight: 600;
    transition: color 0.3s ease;
}

.info-text-box a:hover {
    color: #00d4ff !important;
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
}

.border-top-cyber {
    border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
}

/* Cyber Form Inputs */
.form-label-cyber {
    color: rgba(255, 255, 255, 0.85);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 8px;
}

.cyber-input {
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1.5px solid rgba(0, 180, 216, 0.25) !important;
    border-radius: 12px !important;
    color: #ffffff !important;
    padding: 14px 18px !important;
    font-size: 15px !important;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.cyber-input::placeholder {
    color: rgba(255, 255, 255, 0.4) !important;
}

.cyber-input:focus {
    background: rgba(255, 255, 255, 0.09) !important;
    border-color: #00d4ff !important;
    box-shadow: 0 0 25px rgba(0, 212, 255, 0.35), 0 0 0 4px rgba(0, 212, 255, 0.1) !important;
    transform: translateY(-2px);
    outline: none !important;
}

/* Button Cyber Glow */
.btn-cyber-glow {
    background: linear-gradient(135deg, #00b4d8 0%, #d50b52 100%) !important;
    border: none !important;
    border-radius: 14px !important;
    color: #ffffff !important;
    font-weight: 800 !important;
    font-size: 15px !important;
    letter-spacing: 1px !important;
    text-transform: uppercase !important;
    box-shadow: 0 12px 35px rgba(0, 180, 216, 0.35) !important;
    transition: all 0.4s ease !important;
}

.btn-cyber-glow:hover {
    box-shadow: 0 18px 45px rgba(213, 11, 82, 0.5), 0 0 25px rgba(0, 212, 255, 0.6) !important;
    transform: translateY(-3px) scale(1.02) !important;
}

/* Map Frame */
.map-wrapper-gsap {
    overflow: hidden;
    position: relative;
    border-top: 1px solid rgba(0, 212, 255, 0.3);
    border-bottom: 1px solid rgba(0, 212, 255, 0.3);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8);
}

/* =========================================================================
   RESPONSIVE DESIGN ADAPTATIONS FOR MOBILE & TABLET (ALL EDITED COMPONENTS)
   ========================================================================= */

/* Desktop & Laptop Tweaks (1200px and up) */
@media (min-width: 1200px) {
    .partner-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 24px;
    }
}

/* Tablets Landscape & Medium Screens (992px to 1199px) */
@media (max-width: 1199px) and (min-width: 992px) {
    .partner-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
    
    .cyber-contact-info-panel,
    .cyber-contact-form-panel {
        padding: 36px 28px !important;
    }
}

/* Tablets Portrait & Small Tablets (768px to 991px) */
@media (max-width: 991px) {
    #contact-section {
        padding: 50px 0;
    }

    .partner-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }

    .partner-item {
        height: 100px;
        padding: 8px;
    }

    .cyber-contact-info-panel,
    .cyber-contact-form-panel {
        padding: 30px 24px !important;
        border-radius: 22px !important;
    }

    .contact-heading {
        font-size: clamp(22px, 4.5vw, 32px) !important;
    }

    .map-wrapper-gsap iframe {
        height: 380px !important;
    }

    /* Mobile Navigation (Full Glass Dropdown, Scrollable & Unclipped) */
    #ftco-navbar {
        position: relative !important;
        width: 100% !important;
        overflow: visible !important;
    }

    #ftco-navbar .container {
        position: relative !important;
        width: 100% !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
        box-sizing: border-box !important;
    }

    /* Kill Bootstrap's height transition on mobile — GSAP handles all animation */
    .ftco-navbar-light .navbar-collapse.collapsing {
        transition: none !important;
        height: auto !important;
        display: block !important;
        opacity: 0 !important;
    }

    .ftco-navbar-light .navbar-collapse {
        position: absolute !important;
        top: 100% !important;
        left: 12px !important;
        right: 12px !important;
        width: calc(100% - 24px) !important;
        max-height: 80vh !important;
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch !important;
        background: rgba(5, 9, 23, 0.97) !important;
        backdrop-filter: blur(22px) !important;
        -webkit-backdrop-filter: blur(22px) !important;
        padding: 16px 20px !important;
        border-radius: 20px !important;
        border: 1.5px solid rgba(0, 180, 216, 0.4) !important;
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.95), 0 0 35px rgba(0, 180, 216, 0.2) !important;
        margin-top: 10px !important;
        z-index: 99999 !important;
        box-sizing: border-box !important;
    }

    .ftco-navbar-light .navbar-nav {
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .ftco-navbar-light .navbar-nav .nav-item {
        width: 100% !important;
        margin: 0 !important;
    }

    .ftco-navbar-light .navbar-nav .nav-item .nav-link {
        padding: 14px 10px !important;
        color: #ffffff !important;
        font-weight: 700 !important;
        font-size: 15px !important;
        letter-spacing: 0.5px !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        width: 100% !important;
        box-sizing: border-box !important;
        transition: all 0.3s ease !important;
    }

    .ftco-navbar-light .navbar-nav .nav-item:last-child .nav-link {
        border-bottom: none !important;
    }

    .ftco-navbar-light .navbar-nav .nav-item .nav-link:hover,
    .ftco-navbar-light .navbar-nav .nav-item .nav-link:focus {
        color: #00d4ff !important;
        padding-left: 14px !important;
    }

    /* Accordion / Mega Menu formatting for Mobile (Full Vertical Stack & Toggleable) */
    .ftco-navbar-light .dropdown-menu.mega-menu {
        display: none !important;
        position: static !important;
        float: none !important;
        width: 100% !important;
        max-width: 100% !important;
        background: rgba(9, 15, 38, 0.95) !important;
        border: 1px solid rgba(0, 180, 216, 0.3) !important;
        border-radius: 14px !important;
        padding: 14px 12px !important;
        margin: 10px 0 !important;
        box-shadow: none !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    .ftco-navbar-light .dropdown-menu.mega-menu.show,
    .ftco-navbar-light .dropdown.show > .dropdown-menu.mega-menu {
        display: block !important;
    }

    .ftco-navbar-light .dropdown-menu.mega-menu .container {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    .ftco-navbar-light .dropdown-menu.mega-menu .row {
        display: block !important;
        flex-direction: column !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .ftco-navbar-light .dropdown-menu.mega-menu .col-md-6 {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        flex: 0 0 100% !important;
        float: none !important;
        padding: 0 !important;
        margin-bottom: 20px !important;
    }

    .ftco-navbar-light .dropdown-menu.mega-menu h5 a {
        color: #00d4ff !important;
        font-size: 13.5px !important;
        font-weight: 800 !important;
        text-transform: uppercase !important;
        letter-spacing: 0.8px !important;
        display: block !important;
        margin-bottom: 8px !important;
        word-break: break-word !important;
    }

    .ftco-navbar-light .mega-sub-menu {
        list-style: none !important;
        padding-left: 5px !important;
        margin: 0 !important;
        width: 100% !important;
    }

    .ftco-navbar-light .mega-sub-menu li {
        margin-bottom: 8px !important;
        width: 100% !important;
    }

    .ftco-navbar-light .mega-sub-menu li a {
        color: rgba(255, 255, 255, 0.85) !important;
        font-size: 13px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        padding: 6px 4px !important;
        width: 100% !important;
        white-space: normal !important;
        word-break: break-word !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
    }

    .ftco-navbar-light .mega-sub-menu li a .link-text {
        white-space: normal !important;
        word-break: break-word !important;
    }

    .ftco-navbar-light .mega-sub-menu li a:hover {
        color: #00d4ff !important;
        padding-left: 6px !important;
    }
}

/* Mobile Devices (Portrait & Landscape under 767px) */
@media (max-width: 767px) {
    #contact-section {
        padding: 40px 0;
    }

    .partner-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .partner-item {
        height: 85px;
        padding: 6px;
    }

    .cyber-contact-info-panel,
    .cyber-contact-form-panel {
        padding: 24px 18px !important;
        border-radius: 18px !important;
    }

    .contact-heading {
        font-size: clamp(19px, 5.5vw, 26px) !important;
        line-height: 1.4 !important;
    }

    .cyber-info-item {
        padding: 14px 14px;
        gap: 12px;
        border-radius: 14px;
    }

    .info-icon-box {
        width: 40px;
        height: 40px;
        min-width: 40px;
        font-size: 17px;
        border-radius: 10px;
    }

    .info-text-box p {
        font-size: 13px;
        word-break: break-word;
    }

    .info-text-box p span {
        font-size: 10px;
    }

    .cyber-input {
        padding: 12px 14px !important;
        font-size: 14px !important;
    }

    .btn-cyber-glow {
        padding: 14px 18px !important;
        font-size: 13.5px !important;
        letter-spacing: 0.5px !important;
    }

    .glass-status-pill {
        font-size: 11px !important;
        letter-spacing: 1.2px !important;
    }

    .badge-text-clean {
        font-size: 12px !important;
        letter-spacing: 0.8px !important;
    }

    .map-wrapper-gsap iframe {
        height: 320px !important;
    }

    /* CTA Cotización / Contacto Alignment for Mobile */
    .cta-cotizacion-section,
    .st-detail-cta,
    .ed-detail-cta {
        padding: 45px 15px !important;
        text-align: center !important;
        overflow: hidden !important;
    }

    .cta-cotizacion-section .row,
    .st-detail-cta .row,
    .ed-detail-cta .row {
        text-align: center !important;
        justify-content: center !important;
    }

    .cta-cotizacion-section .col-lg-8,
    .cta-cotizacion-section .col-lg-4,
    .cta-cotizacion-section .col-md-7,
    .cta-cotizacion-section .col-md-5,
    .st-detail-cta .col-lg-8,
    .st-detail-cta .col-lg-4,
    .ed-detail-cta .col-lg-8,
    .ed-detail-cta .col-lg-4 {
        text-align: center !important;
        width: 100% !important;
        margin: 0 auto !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
    }

    .cta-title {
        font-size: clamp(20px, 5.2vw, 26px) !important;
        text-align: center !important;
        width: 100% !important;
        max-width: 100% !important;
        padding-inline: 2px !important;
        margin-bottom: 15px !important;
        text-wrap: balance;
        overflow-wrap: normal !important;
        word-break: normal !important;
        hyphens: none;
    }

    .cta-subtitle {
        text-align: center !important;
        font-size: 14px !important;
        width: 100% !important;
        max-width: 34rem !important;
        overflow-wrap: break-word;
        word-break: normal;
    }

    .btn-glass-neon {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        margin: 18px auto 0 auto !important;
        text-align: center !important;
        width: auto !important;
        max-width: 92% !important;
        padding: 12px 24px !important;
        font-size: 13.5px !important;
        line-height: 1.35 !important;
        white-space: normal !important;
        overflow-wrap: normal !important;
        word-break: normal !important;
    }

    .st-detail-cta::after,
    .ed-detail-cta::after {
        display: none !important;
    }
}

/* Extra Small Phones (under 480px) */
@media (max-width: 479px) {
    .partner-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .partner-item {
        height: 75px;
    }

    .cyber-contact-info-panel,
    .cyber-contact-form-panel {
        padding: 20px 14px !important;
    }
}

/* Premium Split Text 3D Utilities */
.split-char {
    display: inline-block;
    will-change: transform, opacity;
    backface-visibility: hidden;
}

.split-word {
    display: inline-block;
    will-change: transform, opacity;
}

.cta-title,
#identity-heading,
.contact-heading,
.panel-title {
    perspective: 1000px;
    will-change: transform, text-shadow;
}

/* Continuous Cyan/Magenta Gradient Flow for Contact Heading */
.text-gradient-cyan-flow {
    background: linear-gradient(135deg, #00b4d8 0%, #8ce7f8 40%, #d50b52 70%, #00b4d8 100%);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientFlowAnim 6s ease infinite;
}

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

/* Cyber Form Label Interactive Transitions */
.form-label-cyber {
    transition: color 0.3s ease, transform 0.3s ease, text-shadow 0.3s ease;
    will-change: transform, color, text-shadow;
}

/* Justificación Tipográfica de Párrafos en Todo el Sitio (Excluyendo botones y componentes centrados) */
.parallax-glass-content p,
.identity-panel p,
#propuesta-valor p,
#porque-ad2n p,
.heading-section p,
.cyber-contact-info-panel p,
.cyber-contact-form-panel p,
.ftco-footer-widget p {
    text-align: justify !important;
    text-justify: inter-word !important;
}

/* ALINEACIÓN RIGUROSA DE COMPONENTES CENTRADOS (HERO SLIDER Y TARJETAS FLIP) */
.slider-slide-item,
.slider-slide-item p,
.slider-slide-item .subheading,
.slider-slide-item h1 {
    text-align: center !important;
}

.hero-slider-section .btn-hero-glow,
.slider-slide-item .btn-hero-glow {
    display: inline-block !important;
    margin-left: auto !important;
    margin-right: auto !important;
    text-align: center !important;
    float: none !important;
}

.flip-card-front p,
.flip-card-back p,
.svc-flip-card-front p,
.svc-flip-card-back p,
.ed-flip-card-front p,
.ed-flip-card-back p,
.st-flip-card-front p,
.st-flip-card-back p,
.svc-card-body,
.svc-card-body p,
.flip-hint,
.flip-hint-back {
    text-align: center !important;
    width: 100% !important;
    display: block !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* Section-specific HD Parallax Background Layer */
.section-parallax-layer {
    position: absolute !important;
    top: -45% !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    height: 190% !important;
    z-index: 0 !important;
    pointer-events: none !important;
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    will-change: transform !important;
}
