/* style.css */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    overflow-x: hidden;
    max-width: 100%;
}

body {
    background-color: #000000;
    font-family: 'Roboto', sans-serif;
    color: #FFFFFF;
}

/* ========================================
   HERO SECTION
======================================== */
.hero-section {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

/* ========================================
   TOP BAR (Navbar)
======================================== */
.top-bar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding: 28px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    pointer-events: auto;
}

.logo-container {
    display: flex;
    align-items: center;
}

.main-logo {
    height: 55px;
    width: auto;
}

/* ========================================
   HAMBURGER BUTTON — Solo móvil
======================================== */
.hamburger-btn {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 200;
    padding: 4px;
    order: 2;
    pointer-events: auto;
}
.hamburger-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: #ffffff;
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}
.top-bar.menu-open .hamburger-btn span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.top-bar.menu-open .hamburger-btn span:nth-child(2) {
    opacity: 0;
}
.top-bar.menu-open .hamburger-btn span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ========================================
   NAV MENU WRAPPER — engloba botones + redes
======================================== */
.nav-menu-wrapper {
    display: flex;
    align-items: center;
    gap: 24px;
    pointer-events: auto;
}

/* ========================================
   NAV BUTTONS (CTA Centrados)
======================================== */
.nav-buttons {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 16px;
    align-items: center;
    pointer-events: auto;
}

.btn-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 26px;
    border-radius: 50px;
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    white-space: nowrap;
}

/* Botón 1: Cotizar Proyecto — dark glass con borde violeta brillante */
.btn-primary {
    background: rgba(20, 5, 40, 0.75);
    color: #FFFFFF;
    border: 1.5px solid rgba(103, 0, 180, 0.9);
    box-shadow:
        0 0 18px rgba(103, 0, 180, 0.65),
        inset 0 0 20px rgba(103, 0, 180, 0.12);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow:
        0 0 35px rgba(103, 0, 180, 0.9),
        inset 0 0 30px rgba(103, 0, 180, 0.2);
}

/* Botón 2: Hablar con Especialista — outlined sutil */
.btn-secondary {
    background: transparent;
    color: rgba(255, 255, 255, 0.85);
    border: 1.5px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 0 12px rgba(103, 0, 180, 0.2);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.btn-secondary:hover {
    transform: translateY(-3px) scale(1.03);
    border-color: rgba(103, 0, 180, 0.75);
    box-shadow: 0 0 28px rgba(103, 0, 180, 0.55);
    color: #FFFFFF;
}

/* Social Icons — separación un poco reducida */
.social-icons {
    display: flex;
    gap: 18px;
    align-items: center;
}

.social-link {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: transparent !important;
    box-shadow: none !important;
    color: white;
    text-decoration: none;
    outline: none !important;
    /* GSAP maneja las animaciones */
}

.social-link:hover {
    background-color: transparent !important;
    box-shadow: none !important;
    outline: none !important;
}

.social-svg {
    width: 44px;
    height: 44px;
    fill: currentColor;
    object-fit: contain;
}

/* ========================================
   HERO SECTION — DEGRADADO INFERIOR
======================================== */
.hero-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 45vh;
    background: linear-gradient(to top,
            rgba(0, 0, 0, 1) 0%,
            rgba(0, 0, 0, 1) 15%,
            rgba(0, 0, 0, 0.85) 30%,
            transparent 100%);
    pointer-events: none;
    z-index: 10;
}

/* ========================================
   HERO SECTION — RESPLANDOR CENTRAL
======================================== */
.hero-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    height: 90%;
    background: radial-gradient(
        ellipse at center,
        rgba(103, 0, 180, 0.50) 0%,
        rgba(103, 0, 180, 0.22) 35%,
        rgba(103, 0, 180, 0.06) 60%,
        transparent 75%
    );
    pointer-events: none;
    z-index: 1;
    filter: blur(30px);
}

/* ========================================
   PARTICLES CANVAS
======================================== */
#particles-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

/* ========================================
   HERO CONTENT
======================================== */
.hero-content {
    position: relative;
    z-index: 15;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    max-width: 1200px;
    width: 100%;
    height: 100%;
    padding: 20px;
    pointer-events: none;
    overflow: visible;
}

/* ========================================
   BRAND TEXT (fondo)
======================================== */
.brand-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: clamp(80px, 16vw, 260px);
    font-weight: 900;
    color: #FFFFFF;
    /* opacity se mantiene visible — SplitType divide el texto antes de GSAP */
    text-shadow: none;
    z-index: 20;
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    user-select: none;
    text-align: center;
    pointer-events: auto;
    overflow: visible;
}



/* ========================================
   SLOGAN TEXT
======================================== */
.slogan-text {
    position: absolute;
    bottom: 9vh;
    z-index: 20;
    color: #FFFFFF;
    font-weight: 900;
    font-size: clamp(32px, 5vw, 56px);
    text-align: center;
    line-height: 1.15;
    letter-spacing: -0.01em;
    opacity: 0;
    /* GSAP la anima */
    padding: 0 20px;
}


/* ========================================
   RESPONSIVE — TABLET (≤ 768px)
======================================== */
@media (max-width: 768px) {
    /* === TOP BAR: solo logo + hamburguesa en la misma línea === */
    .top-bar {
        padding: 20px 24px;
        flex-wrap: nowrap;
        align-items: center;
        justify-content: space-between;
        position: fixed;
        background: rgba(0,0,0,0.85);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
    }

    .main-logo {
        height: 40px;
    }

    /* Botón hamburguesa visible en móvil */
    .hamburger-btn {
        display: flex;
        order: 2;
    }

    /* El wrapper se oculta hasta que se abra el menú */
    .nav-menu-wrapper {
        display: none;
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        background: rgba(10, 0, 24, 0.97);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border-bottom: 1px solid rgba(103,0,180,0.35);
        flex-direction: column;
        align-items: center;
        gap: 24px;
        padding: 32px 24px;
        z-index: 150;
    }

    .top-bar.menu-open .nav-menu-wrapper {
        display: flex;
    }

    /* Botones dentro del menú: verticales y centrados */
    .nav-menu-wrapper .nav-buttons {
        position: static;
        transform: none;
        flex-direction: column;
        gap: 14px;
        width: 100%;
        align-items: center;
    }

    .nav-menu-wrapper .btn-cta {
        width: 80%;
        justify-content: center;
        padding: 14px 20px;
        font-size: 14px;
    }

    .nav-menu-wrapper .social-icons {
        gap: 28px;
    }

    .nav-menu-wrapper .social-link {
        width: 40px;
        height: 40px;
    }

    .nav-menu-wrapper .social-svg {
        width: 40px;
        height: 40px;
    }

    .brand-text {
        font-size: clamp(50px, 18vw, 120px);
        white-space: normal;
        text-align: center;
        width: 100%;
    }

    .slogan-text {
        font-size: clamp(22px, 4.5vw, 36px);
        padding: 0 16px;
        bottom: 4vh;
        line-height: 1.2;
    }
}

/* ========================================
   RESPONSIVE — MOBILE (≤ 480px)
======================================== */
@media (max-width: 480px) {
    .top-bar {
        padding: 16px 18px;
    }

    .main-logo {
        height: 34px;
    }

    .brand-text {
        font-size: clamp(40px, 20vw, 90px);
    }

    .slogan-text {
        font-size: clamp(18px, 5.5vw, 28px);
        bottom: 3vh;
        line-height: 1.2;
    }
}

/* ========================================
   SERVICIOS SECTION
======================================== */
.services-section {
    position: relative;
    width: 100%;
    background: #000000;
    padding: 120px 50px 100px;
    overflow: hidden;
}

/* Glow difuso de fondo */
.services-section::before {
    content: '';
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(103, 0, 180, 0.12) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

/* HEADER */
.services-header {
    text-align: center;
    margin-bottom: 70px;
    position: relative;
    z-index: 1;
}

.services-label {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #6700B4;
    margin-bottom: 14px;
}

.services-title {
    font-size: clamp(32px, 5vw, 56px);
    font-weight: 900;
    color: #FFFFFF;
    line-height: 1.15;
    margin-bottom: 18px;
}

.services-title .highlight,
.highlight {
    background: linear-gradient(90deg, #6700B4, #a64dff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.services-subtitle {
    font-size: clamp(15px, 1.8vw, 18px);
    color: rgba(255, 255, 255, 0.55);
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.7;
}

/* GRID */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* CARD BASE */
.service-card {
    position: relative;
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(103, 0, 180, 0.25);
    border-radius: 24px;
    padding: 44px 36px 40px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    overflow: hidden;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: border-color 0.35s ease, transform 0.35s ease;
    opacity: 0;
    /* GSAP animará esto */
    transform: translateY(40px);
    /* GSAP animará esto */
}

.service-card:hover {
    border-color: rgba(103, 0, 180, 0.65);
    transform: translateY(-6px) !important;
}

/* Glow dentro de cada tarjeta */
.card-glow {
    position: absolute;
    top: -60px;
    left: 50%;
    transform: translateX(-50%);
    width: 260px;
    height: 260px;
    background: radial-gradient(circle, rgba(103, 0, 180, 0.18) 0%, transparent 70%);
    pointer-events: none;
    transition: opacity 0.35s ease;
    opacity: 0.6;
}

.service-card:hover .card-glow {
    opacity: 1;
}

/* TARJETA DESTACADA */
.card-featured {
    background: rgba(103, 0, 180, 0.08);
    border-color: rgba(103, 0, 180, 0.6);
    box-shadow:
        0 0 30px rgba(103, 0, 180, 0.2),
        inset 0 0 40px rgba(103, 0, 180, 0.06);
}

.card-featured:hover {
    box-shadow:
        0 0 55px rgba(103, 0, 180, 0.4),
        inset 0 0 50px rgba(103, 0, 180, 0.1);
}

/* BADGE "Más popular" */
.card-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: linear-gradient(90deg, #6700B4, #9b30ff);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
    padding: 5px 12px;
    border-radius: 30px;
}

/* ICON */
.card-icon {
    width: 58px;
    height: 58px;
    background: rgba(103, 0, 180, 0.15);
    border: 1px solid rgba(103, 0, 180, 0.35);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background 0.3s ease;
}

.card-featured .card-icon {
    background: rgba(103, 0, 180, 0.25);
    border-color: rgba(103, 0, 180, 0.6);
}

.card-icon svg {
    width: 28px;
    height: 28px;
    fill: #a64dff;
}

/* TITLE */
.card-title {
    font-size: 20px;
    font-weight: 700;
    color: #FFFFFF;
    line-height: 1.3;
}

/* DESC */
.card-desc {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.75;
}

/* LIST */
.card-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}

.card-list li {
    font-size: 13.5px;
    color: rgba(255, 255, 255, 0.75);
    padding-left: 20px;
    position: relative;
}

.card-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #6700B4;
    box-shadow: 0 0 8px rgba(103, 0, 180, 0.8);
}

/* CARD BUTTON */
.card-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 8px;
    padding: 13px 28px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.18);
    transition: all 0.3s ease;
    align-self: flex-start;
}

.card-btn:hover {
    color: #fff;
    border-color: rgba(103, 0, 180, 0.7);
    box-shadow: 0 0 22px rgba(103, 0, 180, 0.5);
    transform: translateX(4px);
}

.card-btn-accent {
    background: linear-gradient(90deg, rgba(103, 0, 180, 0.5), rgba(155, 48, 255, 0.4));
    border-color: rgba(103, 0, 180, 0.7);
    color: #fff;
    box-shadow: 0 0 18px rgba(103, 0, 180, 0.35);
}

.card-btn-accent:hover {
    background: linear-gradient(90deg, rgba(103, 0, 180, 0.75), rgba(155, 48, 255, 0.65));
    box-shadow: 0 0 35px rgba(103, 0, 180, 0.65);
}

/* RESPONSIVE SERVICIOS */
@media (max-width: 900px) {
    .services-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
    }

    .services-section {
        padding: 90px 24px 80px;
    }
}

@media (max-width: 480px) {
    .services-section {
        padding: 70px 16px 60px;
    }

    .services-title {
        font-size: 28px;
    }

    .service-card {
        padding: 32px 24px 28px;
    }
}

/* ========================================
   MARQUESINA DE LOGOS IA
======================================== */
.ai-marquee-section {
    width: 100%;
    background-color: #000000;
    padding: 36px 0;
    overflow: hidden;
    position: relative;
    /* Degradado negro en los bordes: efecto "aparece y desaparece" */
    -webkit-mask-image: linear-gradient(
        to right,
        transparent 0%,
        black 22%,
        black 78%,
        transparent 100%
    );
    mask-image: linear-gradient(
        to right,
        transparent 0%,
        black 22%,
        black 78%,
        transparent 100%
    );
}

/* Sin bordes decorativos */

/* Track con animación */
.ai-marquee-track {
    display: flex;
    width: max-content;
    animation: scroll-ai 20s linear infinite;
    will-change: transform;
}

@keyframes scroll-ai {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-10%); }
}

.ai-marquee-section:hover .ai-marquee-track {
    animation-play-state: paused;
}

/* Grupo de logos */
.ai-marquee-group {
    display: flex;
    align-items: center;
    gap: 72px;
    padding: 0 36px; /* La mitad del gap (36 + 36 = 72) para unión perfecta */
    flex-shrink: 0;
}

/* Logo individual */
/* Logo base — ya vienen en blanco */
.ai-logo {
    width: 80px;
    height: 80px;
    object-fit: contain;
    opacity: 0.60;
    transition: opacity 0.3s ease, transform 0.3s ease;
    flex-shrink: 0;
}

/* ChatGPT tiene fondo negro nativo — añade radio para integrarlo */
.ai-logo--dark {
    width: 80px;
    height: 80px;
    border-radius: 16px;
}

.ai-logo:hover {
    opacity: 1;
    transform: scale(1.15);
}



/* ========================================
   VIDEO OJOS
======================================== */
.ojos-section {
    position: relative;
    width: 100%;
    background: #000000;
    padding: 100px 20px 0; /* padding bottom 0 */
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px; /* gap reducido */
    overflow: hidden;
}

/* Resplandor sutil de fondo */
.ojos-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(103, 0, 180, 0.10) 0%, transparent 70%);
    pointer-events: none;
}

/* ── Texto + flecha intro ── */
.ojos-intro {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    position: relative;
    z-index: 2;
}

/* Divisor con gradiente violeta */
.ojos-divider {
    width: 220px;
    height: 1px;
    background: linear-gradient(
        to right,
        transparent 0%,
        rgba(103, 0, 180, 0.4) 25%,
        rgba(103, 0, 180, 1) 50%,
        rgba(103, 0, 180, 0.4) 75%,
        transparent 100%
    );
    margin-bottom: 4px;
}

.ojos-intro-text {
    font-family: 'Roboto', sans-serif;
    font-size: clamp(18px, 2.5vw, 28px);
    font-weight: 300;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: transparent;
    background: linear-gradient(90deg, rgba(255,255,255,0.5), #ffffff, rgba(255,255,255,0.5));
    -webkit-background-clip: text;
    background-clip: text;
    text-align: center;
}

/* Flecha SVG animada con bounce */
.ojos-arrow {
    width: 36px;
    height: 36px;
    animation: arrowBounce 1.6s ease-in-out infinite;
}

.ojos-arrow svg {
    width: 100%;
    height: 100%;
    fill: none;
    stroke: rgba(103, 0, 180, 0.9);
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    filter: drop-shadow(0 0 8px rgba(103, 0, 180, 0.7));
}

@keyframes arrowBounce {
    0%, 100% { transform: translateY(0);   opacity: 1;    }
    50%       { transform: translateY(10px); opacity: 0.6; }
}

/* ── Wrapper del video ── */
.ojos-video-wrapper {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 520px;
    display: flex;
    justify-content: center;
}

#ojos-video {
    width: 100%;
    height: auto;
    display: block;
    border: none;
    outline: none;
    border-radius: 0;
    background: transparent;
    /* Sin borde, totalmente integrado al fondo negro */
}

/* ── Responsive móvil ── */
@media (max-width: 768px) {
    .ojos-section {
        padding: 70px 16px 0;
        gap: 20px;
    }

    .ojos-video-wrapper {
        max-width: 100%;
        margin-bottom: -40px;
    }
}


/* ========================================
   IA INTEGRADA
======================================== */
.ia-section {
    position: relative;
    width: 100%;
    background: #000000;
    padding: 20px 20px 120px; /* padding top muy reducido */
    margin-top: -80px; /* Margen negativo para anular el gap negro del video */
    overflow: hidden;
}

.ia-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 60px;
    position: relative;
    z-index: 2;
}

.ia-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 24px;
    position: relative;
    z-index: 10; /* Asegura que el texto esté por encima de cualquier brillo o imagen de la otra columna */
}

.ia-badge {
    display: inline-block;
    align-self: flex-start;
    padding: 8px 16px;
    background: rgba(103, 0, 180, 0.15);
    border: 1px solid rgba(103, 0, 180, 0.4);
    border-radius: 30px;
    color: #b258ff;
    font-size: 14px;
    font-weight: 500;
    font-family: 'Inter', sans-serif;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    box-shadow: 0 0 20px rgba(103, 0, 180, 0.2);
}

.ia-title {
    font-size: clamp(32px, 4vw, 48px);
    font-family: 'Inter', sans-serif;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.2;
    margin: 0;
}

.ia-title .highlight-violet {
    color: transparent;
    background: linear-gradient(90deg, #d38dff, #7300ff);
    -webkit-background-clip: text;
    background-clip: text;
}

.ia-desc {
    font-size: clamp(16px, 2vw, 18px);
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.7);
    font-family: 'Roboto', sans-serif;
    max-width: 500px;
}

.ia-features {
    list-style: none;
    padding: 0;
    margin: 20px 0 0 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.ia-features li {
    display: flex;
    align-items: center;
    gap: 16px;
    background: rgba(255, 255, 255, 0.04); /* Subimos un poco para compensar */
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 16px 24px;
    border-radius: 16px;
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    position: relative;
    z-index: 10; /* Superpone la lista entera por sobre la niebla violeta */
}

.ia-features li:hover {
    transform: translateX(10px);
    background: rgba(103, 0, 180, 0.15);
    border-color: rgba(103, 0, 180, 0.5);
    box-shadow: 0 8px 32px rgba(103, 0, 180, 0.2);
}

.ia-feature-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(103, 0, 180, 0.4), rgba(178, 88, 255, 0.2));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #e0acff;
    font-size: 18px;
    flex-shrink: 0;
    border: 1px solid rgba(178, 88, 255, 0.3);
}

.ia-feature-text {
    color: #ffffff;
    font-family: 'Inter', sans-serif;
    font-size: 17px;
    font-weight: 500;
}

.ia-image-wrapper {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.ia-image {
    width: 100%;
    max-width: 550px;
    border-radius: 20px;
    position: relative;
    z-index: 2;
    mask-image: radial-gradient(circle, rgba(0,0,0,1) 50%, rgba(0,0,0,0) 100%);
    -webkit-mask-image: radial-gradient(circle, rgba(0,0,0,1) 50%, rgba(0,0,0,0) 100%);
}

.ia-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(103, 0, 180, 0.35) 0%, transparent 60%);
    z-index: 1;
    filter: blur(50px);
    border-radius: 50%;
}

@media (max-width: 992px) {
    .ia-container {
        flex-direction: column;
        gap: 60px; /* Aumentado de 30px a 60px para darle más respiro a la imagen */
    }
    
    .ia-image-wrapper {
        width: 100%;
        /* Eliminamos el 'order: -1' para que siga el flujo natural del HTML (y quede por debajo del contenido) */
    }

    .ia-image {
        max-width: 400px;
    }
    
    .ia-glow {
        width: 100%;
        height: 100%;
    }
}

/* ========================================
   MARQUESINA
======================================== */


/* Keyframes: derecha → izquierda */
@keyframes scroll-rtl {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Keyframes: izquierda → derecha */
@keyframes scroll-ltr {
    0%   { transform: translateX(-50%); }
    100% { transform: translateX(0); }
}

.marquee-section {
    width: 100%;
    overflow: hidden;
    /* Inclinación — más pronunciada */
    transform: rotate(-7deg);
    margin: 170px -80px 190px;
    width: calc(100% + 160px);
}

/* Cada fila */
.marquee-row {
    width: 100%;
    overflow: hidden;
    padding: 6px 0;
}

.marquee-row--dark {
    background-color: #000000;
    border: none;
}

.marquee-row--purple {
    background-color: #6700B4;
    margin-top: 4px;   /* Separación mínima entre filas */
}

/* Track que contiene las dos copias */
.marquee-track {
    display: flex;
    width: max-content;
    will-change: transform;
}

.marquee-track--rtl {
    animation: scroll-rtl 50s linear infinite;
}

.marquee-track--ltr {
    animation: scroll-ltr 50s linear infinite;
}

/* Pausa al hover */
.marquee-row:hover .marquee-track {
    animation-play-state: paused;
}

/* Grupo de items */
.marquee-items {
    display: flex;
    align-items: center;
    gap: 28px;
    padding: 0 28px;
    white-space: nowrap;
    flex-shrink: 0;
}

/* Texto */
.marquee-text {
    font-family: 'Roboto', sans-serif;
    font-size: clamp(20px, 3vw, 40px);
    font-weight: 700;
    color: #FFFFFF;
    letter-spacing: 0.03em;
    line-height: 1;
}

/* Logo en marquesina */
.marquee-logo {
    width: 32px;
    height: 32px;
    object-fit: contain;
    flex-shrink: 0;
}

/* ========================================
   RESPONSIVE MARQUESINAS — MOBILE
======================================== */
@media (max-width: 768px) {
    /* Marquesina de logos IA: más compacta */
    .ai-marquee-section {
        padding: 20px 0;
    }

    .ai-marquee-group {
        gap: 40px;
        padding: 0 20px;
    }

    .ai-logo {
        width: 48px;
        height: 48px;
    }

    .ai-logo--dark {
        width: 48px;
        height: 48px;
    }

    /* Marquesina doble: más inclinada y compensada */
    .marquee-section {
        margin: 70px -80px 90px;
    }

    .marquee-text {
        font-size: clamp(18px, 5vw, 32px);
    }

    .marquee-logo {
        width: 26px;
        height: 26px;
    }

    .marquee-items {
        gap: 20px;
        padding: 0 20px;
    }
}


/* ========================================
   PORTAFOLIO - DOBLE FILA CON SCROLL
======================================== */
#jcr-portfolio-section {
  --jcr-purple:      #6700B4;
  --jcr-purple-glow: rgba(103, 0, 180, 0.55);
  --jcr-bg:          #000000;
  --jcr-card-w:      520px;
  --jcr-card-h:      340px;
  --jcr-gap:         28px;

  background:     var(--jcr-bg);
  padding:        70px 0 80px;
  overflow:       hidden;
  position:       relative;
  width:          100%;
  box-sizing:     border-box;
  display:        flex;
  flex-direction: column;
  gap:            24px;
}

#jcr-portfolio-section::before {
  content:       '';
  position:      absolute;
  top: 0; left: 50%;
  transform:     translateX(-50%);
  width:         160px; height: 3px;
  background:    linear-gradient(90deg, transparent, var(--jcr-purple), transparent);
  border-radius: 2px;
}

.jcr-fade-left,
.jcr-fade-right {
  position: absolute; top: 0;
  height: 100%; width: 180px;
  z-index: 2; pointer-events: none;
}
.jcr-fade-left  { left:  0; background: linear-gradient(90deg,  #000 20%, transparent 100%); }
.jcr-fade-right { right: 0; background: linear-gradient(270deg, #000 20%, transparent 100%); }

.jcr-row   { overflow: hidden; width: 100%; }
.jcr-track { display: flex; gap: var(--jcr-gap); width: max-content; will-change: transform; }

.jcr-card {
  flex:          0 0 var(--jcr-card-w);
  height:        var(--jcr-card-h);
  border-radius: 16px;
  overflow:      hidden;
  position:      relative;
  cursor:        pointer;
  box-shadow:    0 0 0 1px rgba(103,0,180,0.25), 0 8px 32px rgba(0,0,0,0.6);
  transition:    box-shadow 0.4s ease, transform 0.4s ease;
}

.jcr-card:hover {
  box-shadow:
    0 0 0 2px var(--jcr-purple),
    0 0 40px var(--jcr-purple-glow),
    0 16px 48px rgba(0,0,0,0.8);
  transform: translateY(-8px) scale(1.03);
  z-index: 3;
}

.jcr-img-wrap { width: 100%; height: 100%; overflow: hidden; position: relative; }

.jcr-img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: top center;
  display: block;
  transition: transform 0.6s cubic-bezier(0.25,0.46,0.45,0.94);
  filter: brightness(0.92) saturate(1.05);
}
.jcr-card:hover .jcr-img-wrap img {
  transform: scale(1.08);
  filter: brightness(1) saturate(1.15);
}

.jcr-shine {
  position: absolute; inset: 0;
  background: linear-gradient(135deg,rgba(255,255,255,0) 0%,rgba(255,255,255,0.05) 40%,rgba(255,255,255,0) 60%);
  opacity: 0; transition: opacity 0.4s ease; pointer-events: none;
}
.jcr-card:hover .jcr-shine { opacity: 1; }

.jcr-card::after {
  content: ''; position: absolute;
  bottom: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, transparent, var(--jcr-purple), transparent);
  transform: scaleX(0); transition: transform 0.4s ease;
}
.jcr-card:hover::after { transform: scaleX(1); }

@media (max-width: 768px) {
  #jcr-portfolio-section { --jcr-card-w:320px; --jcr-card-h:215px; --jcr-gap:18px; gap:16px; padding:50px 0 60px; }
  .jcr-fade-left, .jcr-fade-right { width: 80px; }
}
@media (max-width: 480px) {
  #jcr-portfolio-section { --jcr-card-w:240px; --jcr-card-h:162px; --jcr-gap:14px; gap:14px; }
}
@media (prefers-reduced-motion: reduce) {
  .jcr-track { transform: none !important; }
  .jcr-card:hover { transform: none; }
}


/* ========================================
   SECCIÓN SOBRE MÍ
======================================== */
.about-section {
    background-color: #FFFFFF;
    color: #111111;
    padding: 120px 50px;
    width: 100%;
    overflow: hidden;
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: center;
}

.about-image-wrapper {
    position: relative;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: flex-end;
}

.about-shape {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 130%;
    height: 130%;
    background: radial-gradient(circle, rgba(103,0,180,0.4) 0%, rgba(166,77,255,0.2) 40%, transparent 70%);
    z-index: 0;
    filter: blur(25px);
}

.about-img {
    width: 160%;
    max-width: none;
    height: auto;
    position: relative;
    z-index: 1;
    object-fit: cover;
    filter: drop-shadow(0 20px 30px rgba(0,0,0,0.15));
    margin-left: -30%;
    transform-origin: bottom center;
    transform: translateY(30px);
    /* Desvanecido más amplio en la parte inferior para evitar cortes bruscos */
    -webkit-mask-image: linear-gradient(to top, transparent 0%, black 40%);
    mask-image: linear-gradient(to top, transparent 0%, black 40%);
}

.about-text-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 40px;
}

.about-text-content p {
    font-size: 16px;
    line-height: 1.8;
    color: #444444;
}

.about-text-content strong {
    color: #111111;
    font-weight: 700;
}

.about-stats {
    display: flex;
    gap: 40px;
    margin-bottom: 30px;
    border-top: 1px solid rgba(0,0,0,0.1);
    padding-top: 30px;
}

.stat-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.stat-number {
    font-size: 36px;
    font-weight: 900;
    color: #6700B4;
    line-height: 1;
}

.stat-desc {
    font-size: 13px;
    color: #666666;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Redefinición del botón para fondo blanco */
.btn-primary.about-btn {
    border: 1.5px solid #6700B4;
    color: #FFFFFF;
    background: #6700B4;
    box-shadow: 0 8px 20px rgba(103, 0, 180, 0.4);
    align-self: flex-start;
}
.btn-primary.about-btn:hover {
    box-shadow: 0 15px 30px rgba(103, 0, 180, 0.6);
    background: #550099;
    border-color: #550099;
    color: #FFFFFF;
}

/* RESPONSIVE ABOUT */
@media (max-width: 900px) {
    .about-container {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .about-image-wrapper {
        max-width: 500px;
        margin: 0 auto;
    }
}

@media (max-width: 480px) {
    .about-section {
        padding: 80px 24px;
    }
    
    .about-stats {
        flex-direction: column;
        gap: 20px;
    }
    
    .about-badge {
        right: 0;
        bottom: -20px;
    }
}

/* ========================================
   FAQ & WHATSAPP
======================================== */
/* ========================================
   FAQ & WHATSAPP
======================================== */
.faq-gradient-border {
    position: relative;
    width: 100%;
    margin-bottom: 0;
    padding-bottom: 3px; /* El grosor exacto de la línea de neón */
    background: linear-gradient(90deg, #ff007f, #7300ff, #00d4ff, #00ff88);
    border-bottom-left-radius: 43px;
    border-bottom-right-radius: 43px;
    z-index: 10;
}

.faq-section {
    padding: 60px 24px 60px;
    background-color: #6700B4; /* Solicitado: Mismo color del footer */
    display: flex;
    justify-content: center;
    border-bottom-left-radius: 40px;
    border-bottom-right-radius: 40px;
}

/* ========================================
   SECCIÓN REDES SOCIALES (EFECTO ACORDEÓN PARALLAX)
======================================== */
.social-bottom-section {
    width: 100%;
    background-color: #000000; /* Fondo negro como se ve en el Hero */
    overflow: hidden; /* Esto es IMPRESCINDIBLE para que el efecto acordeón revele sin saltos */
    height: 0; /* GSAP lo incrementará hasta el 100% de la altura de su contenido interior */
    opacity: 0;
    position: relative;
    z-index: 5;
}

.social-bottom-content {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 60px 20px 60px;
    width: 100%;
}

.social-footer-icons {
    display: flex;
    gap: 32px;
    justify-content: center;
}

.social-footer-icons .social-link {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
}

.social-footer-icons .social-link:hover {
    background: rgba(103, 0, 180, 0.2);
    border-color: #7300ff;
    box-shadow: 0 0 25px rgba(115, 0, 255, 0.4), inset 0 0 10px rgba(115, 0, 255, 0.2);
    transform: translateY(-5px) scale(1.05);
}

.social-footer-icons .social-svg {
    width: 28px;
    height: 28px;
    filter: drop-shadow(0 0 5px rgba(255,255,255,0.3));
    transition: all 0.3s ease;
}

.social-footer-icons .social-link:hover .social-svg {
    filter: drop-shadow(0 0 8px #ffffff);
}

.faq-container {
    width: 100%;
    max-width: 900px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}
.services-label {
    letter-spacing: 2px;
    text-transform: uppercase;
}
.faq-section .services-label {
    color: rgba(255,255,255,0.7); /* Ahora el fondo es morado oscuro */
}

.faq-section .services-title {
    color: #FFFFFF;
}

.faq-section .services-subtitle {
    color: rgba(255,255,255,0.8);
}

/* Acordeón de FAQs */
.faq-accordion {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    overflow: hidden;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.faq-item:hover, .faq-item.active {
    background-color: rgba(255, 255, 255, 0.07);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #FFFFFF;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    font-family: 'Roboto', sans-serif;
    text-align: left;
    transition: color 0.3s ease;
}

.faq-icon {
    color: #FFFFFF;
    font-size: 28px;
    font-weight: 400;
    line-height: 1;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease;
    padding: 0 24px;
}

.faq-item.active .faq-answer {
    padding: 0 24px 24px 24px;
    max-height: 500px;
}

.faq-answer p {
    margin: 0;
    color: rgba(255, 255, 255, 0.8);
    font-size: 16px;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .faq-question {
        font-size: 16px;
        padding: 20px;
    }
}

/* ========================================
   FOOTER
======================================== */
.site-footer {
    width: 100%;
    box-sizing: border-box;
    background-color: #6700B4;
    color: #FFFFFF;
    text-align: center;
    padding: 24px 20px;
    font-size: clamp(14px, 2vw, 16px);
    font-weight: 500;
}

.site-footer p {
    margin: 0;
    opacity: 0.9;
    letter-spacing: 0.02em;
}

/* ========================================
   CTA DOBLE (Múltiples Secciones)
======================================== */
.cta-dual-section {
    width: 100%;
    background: #000000;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 10;
    /* Ajuste de márgenes para que encajen perfectos */
    margin-top: 20px;
    padding-bottom: 60px;
}

.cta-dual-container {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    max-width: 800px;
}

.cta-dual-btn {
    font-family: 'Inter', 'Roboto', sans-serif;
    font-weight: 700;
    font-size: 15px;
    color: #ffffff;
    text-decoration: none;
    padding: 14px 32px;
    border-radius: 40px;
    transition: all 0.3s ease;
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.cta-dual-primary {
    background: rgba(45, 12, 65, 0.4);
    border: 1px solid #7300ff;
    box-shadow: 0 0 25px rgba(103, 0, 180, 0.5), inset 0 0 10px rgba(103, 0, 180, 0.3);
}

.cta-dual-primary:hover {
    background: rgba(103, 0, 180, 0.6);
    box-shadow: 0 0 35px rgba(103, 0, 180, 0.8), inset 0 0 15px rgba(103, 0, 180, 0.5);
    transform: translateY(-2px);
}

.cta-dual-secondary {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.cta-dual-secondary:hover {
    border-color: rgba(255, 255, 255, 0.8);
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .cta-dual-container {
        flex-direction: column;
        gap: 16px;
        width: 100%;
        max-width: 350px;
        padding: 0 20px; /* Prevenir que toquen los bordes */
    }
    
    .cta-dual-btn {
        width: 100%;
        padding: 16px 20px;
        box-sizing: border-box;
    }
}