@import url('https://fonts.googleapis.com/css2?family=Caveat:wght@400;600&display=swap');
/* style.css */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    overflow-x: clip; /* clip previene el desborde pero NO rompe el position: sticky como 'hidden' sí lo hace */
    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;
}

/* ========================================
   HERO VIDEO BACKGROUND
======================================== */
.hero-bg-video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    transform: translate(-50%, -50%);
    z-index: -2;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4); /* Oscurece el video un 40% para cuidar el contraste */
    z-index: -1;
}

/* ========================================
   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: none; /* Permite clicks a través de las áreas vacías */
}

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

.main-logo {
    height: 70px; /* Aumentado de 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;
}

/* ========================================
   UI/UX PRO MAX HERO CTAs
======================================== */
.btn-pro-primary {
    background: linear-gradient(135deg, #6700B4 0%, #9028e0 100%) !important;
    color: #FFFFFF !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    box-shadow: 0 8px 32px rgba(103, 0, 180, 0.45), inset 0 2px 4px rgba(255, 255, 255, 0.2) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.btn-pro-primary:hover {
    transform: translateY(-4px) scale(1.02);
    background: linear-gradient(135deg, #7b00d6 0%, #a64dff 100%) !important;
    box-shadow: 0 12px 40px rgba(103, 0, 180, 0.7), inset 0 2px 4px rgba(255, 255, 255, 0.3) !important;
}

.btn-pro-secondary {
    background: rgba(255, 255, 255, 0.04) !important;
    color: #FFFFFF !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.btn-pro-secondary:hover {
    transform: translateY(-4px) scale(1.02);
    background: rgba(255, 255, 255, 0.08) !important;
    border-color: rgba(255, 255, 255, 0.4) !important;
    box-shadow: 0 12px 32px rgba(103, 0, 180, 0.35) !important;
}

/* 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: rgba(103, 0, 180, 0.15) !important;
    box-shadow: 0 0 20px rgba(103, 0, 180, 0.3) !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
======================================== */
/* El contenedor hero ocupa toda la sección */
.hero-content {
    position: absolute;
    inset: 0;
    z-index: 15;
    pointer-events: none;
    overflow: hidden;
}

/* ========================================
   BRAND TEXT (fondo)
======================================== */
/* =========================================
   BRAND TEXT — Grid de 3 columnas
   [DESIGN] | [imagen] | [WEB]
   El hueco central lo define el ancho real
   de la imagen, nunca hay overflow.
========================================= */
.brand-text {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Grid: columnas auto se ajustan al texto, centradas en el viewport */
    display: grid;
    grid-template-columns: auto minmax(240px, 28vw) auto;
    justify-content: center;
    align-items: center;
    font-size: clamp(80px, 13vw, 210px);
    font-weight: 900;
    color: #FFFFFF;
    z-index: 5;
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    user-select: none;
    pointer-events: none;
    /* Centrado vertical sutil */
    transform: translateY(-5vh);
}

/* Columna DESIGN — se ajusta a su propio ancho, pegada al hueco central */
.brand-text .d-text {
    grid-column: 1;
    text-align: right;
    padding-right: 0.15em;
    pointer-events: auto;
    display: block;
    position: relative;
    z-index: 20;
}

/* Columna central — vacía, ocupada por la imagen */
.brand-text .hero-spacer {
    grid-column: 2;
    display: block;
}

/* Columna WEB — se ajusta a su propio ancho, pegada al hueco central */
.brand-text .w-text {
    grid-column: 3;
    text-align: left;
    padding-left: 0.15em;
    pointer-events: auto;
    display: block;
    position: relative;
    z-index: 20;
}

.brand-text .char {
    display: inline-block;
    pointer-events: auto !important;
    position: relative;
    z-index: 20;
}

/* ========================================
   HERO IMAGE WRAPPER + FADE INFERIOR
======================================== */
.hero-image-wrapper {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: auto;
    max-width: min(38vw, 700px);
    z-index: 12;
    pointer-events: none;
    user-select: none;
    /* El fade cubre el corte inferior (difuminado limpio) */
    -webkit-mask-image: linear-gradient(to top, transparent 0%, black 15%, black 100%);
    mask-image: linear-gradient(to top, transparent 0%, black 15%, black 100%);
}

.hero-image {
    display: block;
    width: 100%;
    height: auto;
    max-height: 92vh;
    z-index: 12;
    pointer-events: none;
    user-select: none;
    filter: drop-shadow(0 0 60px rgba(103, 0, 180, 0.55));
    transition: filter 0.5s ease;
}



/* ========================================
   SLOGAN TEXT
======================================== */
.slogan-text {
    position: absolute;
    bottom: 9vh;
    z-index: 50;
    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: transparent;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }

    .main-logo {
        height: 50px; /* Aumentado de 40px */
    }

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

    /* ── Menú hamburguesa desplegable ── */
    .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;
    }

    .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; }

    /* ────────────────────────────────────────
       HERO — MÓVIL: apilado vertical
    ──────────────────────────────────────── */

    /* En móvil la imagen ocupa la parte inferior con posición absoluta */
    .hero-image-wrapper {
        position: absolute !important;
        bottom: 6vh !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        width: 85vw !important;
        max-width: 85vw !important;
        margin: 0 !important;
        z-index: 10 !important;
        display: block !important;
    }

    .hero-image {
        position: relative !important;
        width: 100% !important;
        max-width: 100% !important;
        max-height: 78vh !important;
        height: auto !important;
        display: block !important;
        filter: drop-shadow(0 0 30px rgba(103,0,180,0.4)) !important;
    }

    /* El brand-text pasa a ser un flex vertical centrado */
    .brand-text {
        position: relative !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        grid-template-columns: unset !important;
        width: 100% !important;
        height: auto !important;
        padding-bottom: 0 !important;
        font-size: clamp(52px, 18vw, 110px) !important;
        gap: 0 !important;
        letter-spacing: 0.04em !important;
        z-index: 5;
        top: 0 !important;
        left: 0 !important;
        transform: translateY(-10vh) !important;
    }

    /* En móvil el hero-content es flex column para apilar imagen y texto */
    .hero-content {
        position: absolute;
        inset: 0;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        padding-top: 80px !important;
        gap: 0 !important;
    }

    .brand-text .d-text,
    .brand-text .w-text {
        display: block !important;
        width: auto !important;
        text-align: center !important;
        padding: 0 !important;
        margin: 0 !important;
        line-height: 1 !important;
        grid-column: unset !important;
    }

    .brand-text .hero-spacer {
        display: none !important;
    }

    .slogan-text {
        position: relative !important;
        bottom: auto !important;
        font-size: clamp(18px, 5vw, 24px) !important;
        padding: 0 20px !important;
        margin-top: 16px !important;
        line-height: 1.3 !important;
        opacity: 1 !important;
        transform: none !important;
        text-align: center !important;
        z-index: 20 !important;
    }
}

/* ========================================
   RESPONSIVE — MOBILE (≤ 480px)
======================================== */
@media (max-width: 480px) {
    .brand-text {
        font-size: clamp(44px, 17vw, 90px) !important;
    }
}

/* ========================================
   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: 450px;
    height: 2px;
    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: 30px;
}

.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%;
    }
}

/* ========================================
   COLLAGE NEWSPAPER / SCRAPBOOK
======================================== */


.collage-section {
    position: relative;
    width: 100%;
    background: #000000;
    padding: 80px 20px 100px;
    overflow: hidden;
}

/* Textura sutil — mínima */
.collage-texture {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    z-index: 1;
}

/* Sin glow de fondo — negro puro */
/* Sombra tipo mancha violeta que se expande hacia los costados */
.collage-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 140%; /* Se expande más allá de los costados */
    height: 80%;
    background: radial-gradient(
        ellipse at center,
        rgba(103, 0, 180, 0.15) 0%,
        rgba(103, 0, 180, 0.05) 40%,
        transparent 75%
    );
    pointer-events: none;
    z-index: 1;
    filter: blur(40px);
}

.collage-container {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    height: 750px;
    z-index: 2;
}

/* Cada elemento del collage */
.collage-item {
    position: absolute;
    width: 22%;

    cursor: pointer;
    transition:
        transform 0.3s ease-out,
        z-index 0s,
        filter 0.3s ease-out;
    will-change: transform;
    filter: saturate(0.7) contrast(1.05);
}

.collage-item:hover {
    transform: scale(1.1) rotate(0deg) !important;
    z-index: 100 !important;
    filter: saturate(1) contrast(1.1);
}

/* Marco de foto estilo recorte de periódico */
.collage-frame {
    position: relative;
    background: #f5f0e8;
    padding: 10px;
    border-radius: 0;
    box-shadow:
        2px 3px 12px rgba(0, 0, 0, 0.45),
        0 1px 3px rgba(0, 0, 0, 0.25),
        inset 0 0 30px rgba(0, 0, 0, 0.05);
    /* Borde rasgado (torn-edge) directamente en el marco */
    clip-path: polygon(
        /* Top edge — rasgado irregular */
        0% 2.5%, 1.5% 0.5%, 3% 2%, 4.5% 0%, 6.5% 1.8%, 8% 0.3%, 10% 2.5%,
        12% 0%, 14% 1.5%, 16% 0.5%, 18.5% 2.8%, 20% 0%, 22% 1%, 24% 2.5%,
        26% 0%, 28% 1.8%, 30.5% 0.5%, 32% 2%, 34% 0%, 36% 2.5%, 38% 0.3%,
        40% 1.5%, 42% 0%, 44.5% 2%, 46% 0.5%, 48% 2.8%, 50% 0%, 52% 1.5%,
        54% 2.5%, 56% 0%, 58% 1%, 60% 2%, 62% 0.5%, 64.5% 2.5%, 66% 0%,
        68% 1.8%, 70% 0.3%, 72% 2%, 74% 0%, 76% 1.5%, 78% 2.8%, 80% 0%,
        82% 1%, 84% 2.5%, 86% 0.5%, 88% 2%, 90% 0%, 92% 1.5%, 94% 2.5%,
        96% 0%, 98% 1.8%, 100% 0.5%,
        /* Right edge */
        99.5% 2%, 100% 5%, 99% 7%, 100% 10%, 98.5% 12%, 100% 15%, 99% 18%,
        100% 20%, 98.5% 23%, 100% 26%, 99% 28%, 100% 31%, 98.5% 34%, 100% 37%,
        99% 40%, 100% 43%, 98.5% 46%, 100% 49%, 99% 52%, 100% 55%, 98.5% 58%,
        100% 61%, 99% 64%, 100% 67%, 98.5% 70%, 100% 73%, 99% 76%, 100% 79%,
        98.5% 82%, 100% 85%, 99% 88%, 100% 91%, 98.5% 94%, 100% 97%,
        /* Bottom edge — rasgado irregular */
        100% 98%, 98% 100%, 96% 98.5%, 94% 100%, 92% 97.5%, 90% 100%,
        88% 98%, 86% 100%, 84% 97.5%, 82% 99.5%, 80% 98%, 78% 100%,
        76% 97.5%, 74% 100%, 72% 98%, 70% 99.5%, 68% 97.5%, 66% 100%,
        64% 98%, 62% 100%, 60% 97.5%, 58% 99.5%, 56% 98%, 54% 100%,
        52% 97.5%, 50% 100%, 48% 98%, 46% 100%, 44% 97.5%, 42% 99.5%,
        40% 98%, 38% 100%, 36% 97.5%, 34% 100%, 32% 98%, 30% 99.5%,
        28% 97.5%, 26% 100%, 24% 98%, 22% 100%, 20% 97.5%, 18% 99.5%,
        16% 98%, 14% 100%, 12% 97.5%, 10% 100%, 8% 98%, 6% 99.5%,
        4% 97.5%, 2% 100%, 0% 98.5%,
        /* Left edge */
        1% 97%, 0% 94%, 1.5% 91%, 0% 88%, 1% 85%, 0% 82%, 1.5% 79%,
        0% 76%, 1% 73%, 0% 70%, 1.5% 67%, 0% 64%, 1% 61%, 0% 58%,
        1.5% 55%, 0% 52%, 1% 49%, 0% 46%, 1.5% 43%, 0% 40%, 1% 37%,
        0% 34%, 1.5% 31%, 0% 28%, 1% 25%, 0% 22%, 1.5% 19%,
        0% 16%, 1% 13%, 0% 10%, 1.5% 7%, 0% 4%
    );
}

/* Textura de fibra de papel sobre el marco */
.collage-frame::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 30%, rgba(139, 119, 101, 0.06) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(139, 119, 101, 0.04) 0%, transparent 50%),
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 3px,
            rgba(0, 0, 0, 0.008) 3px,
            rgba(0, 0, 0, 0.008) 4px
        );
    pointer-events: none;
    z-index: 1;
}

/* Efecto de grano vintage sobre la imagen */
.collage-frame::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        repeating-linear-gradient(
            transparent 0px,
            rgba(0, 0, 0, 0.015) 1px,
            transparent 2px
        );
    opacity: 0.6;
    pointer-events: none;
    z-index: 2;
    mix-blend-mode: multiply;
}

.collage-frame img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 0;
    filter: sepia(0.08) brightness(0.97);
    transition: filter 0.3s ease-out;
}

.collage-item:hover .collage-frame img {
    filter: sepia(0) brightness(1.02);
}

.collage-item:hover .collage-frame {
    box-shadow:
        4px 6px 24px rgba(0, 0, 0, 0.55),
        0 2px 6px rgba(0, 0, 0, 0.3),
        0 0 40px rgba(103, 0, 180, 0.15),
        inset 0 0 30px rgba(0, 0, 0, 0.03);
}

/* Caption estilo manuscrito */
.collage-caption {
    display: block;
    text-align: center;
    font-family: 'Caveat', cursive;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.45);
    margin-top: 8px;
    letter-spacing: 0.5px;
    transition: color 0.3s ease-out;
}

.collage-item:hover .collage-caption {
    color: rgba(255, 255, 255, 0.8);
}

/* Cinta adhesiva simulada en items pares */
.collage-item:nth-child(even)::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%) rotate(-2deg);
    width: 60px;
    height: 18px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 2px;
    z-index: 20;
    backdrop-filter: blur(2px);
}

/* Pin/tachuela en items impares */
.collage-item:nth-child(odd)::after {
    content: '';
    position: absolute;
    top: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 10px;
    height: 10px;
    background: radial-gradient(circle at 35% 35%, #e0d0c0, #8b7355);
    border-radius: 50%;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
    z-index: 20;
}

/* ---- RESPONSIVE COLLAGE ---- */
@media (max-width: 992px) {
    .collage-container {
        height: 700px;
    }

    .collage-item {
        width: 28%;
    }
}

@media (max-width: 768px) {
    .collage-section {
        padding: 60px 16px 60px; /* Reducido para evitar mega-pantalla negra vacia */
        overflow: visible !important; /* CRITICO para CSS Sticky */
    }

    .collage-container {
        padding-top: 10vh;
        padding-bottom: 10vh; /* Reducido drásticamente el espacio sobrante inferior */
        height: auto;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0;
    }

    .collage-item {
        position: -webkit-sticky !important; /* Safari support */
        position: sticky !important;
        width: 75% !important;
        max-width: 320px !important;
        left: auto !important;
        box-shadow: 0 15px 40px rgba(0,0,0,0.6);
        /* El margin, top y scale se manejan por GSAP para ser dinamicos */
    }

    .collage-item:last-child {
        margin-bottom: 0 !important;
    }
}

@media (max-width: 480px) {
    .collage-item {
        width: 90% !important;
    }

    .collage-item:last-child {
        width: 90% !important;
    }

    .collage-caption {
        font-size: 14px;
    }
}

/* ========================================
   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;
    }
}


/* ========================================
   SECCIÓN BENEFICIOS (INTERACTIVE CARDS 3D)
======================================== */
.benefits-section {
    background-color: #000000;
    padding: 100px 20px;
    position: relative;
    overflow: hidden;
}

.benefits-accordion-container {
    display: flex;
    width: 100%;
    max-width: 1200px;
    height: 500px;
    margin: 60px auto 0;
    gap: 12px;
    padding: 0 20px;
}

.b-accordion-item {
    position: relative;
    flex: 1; /* Inicia delgado */
    border-radius: 24px;
    overflow: hidden;
    cursor: pointer;
    transition: flex 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    box-shadow: 0 10px 30px rgba(103, 0, 180, 0.15);
    border: 1px solid rgba(103, 0, 180, 0.2);
    outline: none; /* accesibilidad focus */
}

/* El elemento ACTIVO se expande */
.b-accordion-item:hover,
.b-accordion-item:focus-within {
    flex: 5;
    border-color: rgba(103, 0, 180, 0.6);
    box-shadow: 0 16px 48px rgba(103, 0, 180, 0.3);
}

.b-accordion-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1), filter 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    filter: brightness(0.65) grayscale(20%); /* Sin hacer hover, se ve ligeramente opacado/oscuro */
}

.b-accordion-item:hover .b-accordion-bg,
.b-accordion-item:focus-within .b-accordion-bg {
    transform: scale(1.05); /* Zoom sutil */
    filter: brightness(1) grayscale(0%); /* Cobra vida a todo color */
}

/* Contenedor Inferior Oscuro para Texto */
.b-accordion-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%; /* Todo el alto porque el gradiente arranca de abajo y difumina para arriba */
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 40px 30px;
    background: linear-gradient(to top, rgba(20, 0, 35, 0.95) 0%, rgba(20, 0, 35, 0.6) 35%, transparent 100%);
    opacity: 0; /* Empieza oculto. Variante 1 solicitada */
    transition: opacity 0.5s ease-in-out;
}

.b-accordion-item:hover .b-accordion-overlay,
.b-accordion-item:focus-within .b-accordion-overlay {
    opacity: 1; /* Muestra el gradiente oscuro inferido */
}

/* Titulo del acordeon */
.b-accordion-title {
    font-size: 26px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 12px;
    /* Evita que se quiebre en muchas líneas si el contenedor abre lento, pero permite wrap si la pantalla es muy chica */
    white-space: pre-wrap; 
    transform: translateY(20px);
    transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* Descripción del acordeon */
.b-accordion-desc {
    font-size: 16px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
    transform: translateY(20px);
    transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
    transition-delay: 0.05s; /* Efecto cascada (sale el titulo, dps el parrafo) */
    /* Lo mostramos full width en el expand */
    width: 100%;
    max-width: 400px; /* Limite de lectura util */
}

/* Levitacion del texto cuando está hover */
.b-accordion-item:hover .b-accordion-title,
.b-accordion-item:focus-within .b-accordion-title,
.b-accordion-item:hover .b-accordion-desc,
.b-accordion-item:focus-within .b-accordion-desc {
    transform: translateY(0);
}

@media (max-width: 768px) {
    .benefits-accordion-container {
        flex-direction: column;
        height: 600px; /* Alto manejable en celular */
        margin: 40px auto 0;
        gap: 10px;
        padding: 0 16px;
    }
    
    .b-accordion-item {
        border-radius: 16px;
    }

    /* En mobile, un item activo abarca el 60% del div, los otros el resto */
    .b-accordion-item:hover,
    .b-accordion-item:focus-within,
    .b-accordion-item.active {
        flex: 3;
    }

    .b-accordion-title {
        font-size: 20px;
        white-space: normal; /* Evita que el texto invada a los lados en movil */
    }
    
    .b-accordion-desc {
        font-size: 14px;
        line-height: 1.4;
    }
}


/* ========================================
   SECCIÓN PARA QUIÉN
======================================== */
.target-audience-section {
    background-color: #ffffff;
    color: #111111;
    position: relative;
    padding: 0;
    /* Evitar margin-top, los cortes de nube manejan la transición */
}

/* Divisores de Nubes */
.cloud-divider-top, .cloud-divider-bottom {
    overflow: hidden;
    line-height: 0;
    width: 100%;
}
.cloud-divider-top svg, .cloud-divider-bottom svg {
    display: block;
    width: calc(100% + 1.3px);
    height: 90px;
}
.cloud-divider-top {
    transform: rotate(180deg);
}
.cloud-fill-black {
    fill: #000000;
}

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

.target-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.target-title {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 900;
    color: #111111;
    line-height: 1.1;
    margin: 0;
}
.highlight-purple {
    color: #6700B4;
}

.target-subtitle {
    font-size: 18px;
    line-height: 1.6;
    color: #444444;
    margin-bottom: 20px;
}

.target-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.target-list li {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 24px;
    background: #fdfdfd;
    border: 1px solid rgba(103, 0, 180, 0.1);
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.target-list li:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(103, 0, 180, 0.08);
    border-color: rgba(103, 0, 180, 0.3);
}

.target-icon {
    width: 48px;
    height: 48px;
    background: rgba(103, 0, 180, 0.08);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6700B4;
    font-size: 20px;
    flex-shrink: 0;
}

.target-item-text h4 {
    margin: 0 0 6px 0;
    font-size: 18px;
    font-weight: 700;
    color: #111111;
}

.target-item-text p {
    margin: 0;
    font-size: 15px;
    line-height: 1.5;
    color: #666666;
}

.target-image-wrapper {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.target-image-blob {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 80%;
    background: radial-gradient(circle, rgba(103, 0, 180, 0.15) 0%, transparent 70%);
    filter: blur(40px);
    z-index: 0;
}

.target-image {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 500px;
    height: auto;
    object-fit: cover;
    border-radius: 24px;
    box-shadow: 0 30px 60px rgba(103, 0, 180, 0.35); /* Violet shadow */
    transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
    -webkit-mask-image: linear-gradient(to top, transparent 0%, black 25%); /* Fade at bottom */
    mask-image: linear-gradient(to top, transparent 0%, black 25%);
}

.target-image-wrapper:hover .target-image {
    transform: translateY(-10px) scale(1.02);
}

@media (max-width: 900px) {
    .target-container {
        grid-template-columns: 1fr;
        padding: 50px 24px;
    }
    .target-image-wrapper {
        order: -1; /* Pone la imagen arriba en móviles */
    }
}


/* ========================================
   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-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: 120%;
    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: -10%;
    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: #000000;
    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;
    overflow: hidden;
    height: 0; 
    opacity: 0;
    position: relative;
    z-index: 5;
    /* Forzamos que los hijos sean visibles y centrados */
    display: flex; 
    justify-content: center;
    align-items: center;
}

.social-bottom-content {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 60px 20px 60px;
    width: 100%;
    color: #ffffff; /* Aseguramos que el currentColor para los SVG sea blanco */
    z-index: 50; /* Por encima de cualquier fondo */
}

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

.social-footer-icons .social-link {
    width: 44px; /* Igual que el Hero */
    height: 44px;
    background: transparent; /* Sin fondo, igual que el Hero */
    border-radius: 50%;
    border: none; /* Sin borde, igual que el Hero */
    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: 44px; /* Igual que el Hero */
    height: 44px;
    filter: none; /* Sin filtros para brillo puro */
    transition: all 0.3s ease;
}

.social-footer-icons .social-link:hover .social-svg {
    filter: drop-shadow(0 0 10px rgba(103, 0, 180, 0.8));
}

@media (max-width: 768px) {
    .social-footer-icons {
        gap: 24px;
    }
    .social-footer-icons .social-link,
    .social-footer-icons .social-svg {
        width: 28px;
        height: 28px;
    }
}

.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: #b258ff; /* Tono idéntico a IA Integrada para fondo negro */
}

.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 #6700B4;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover, .faq-item.active {
    background-color: rgba(103, 0, 180, 0.08);
    border-color: #b258ff;
    box-shadow: 0 0 20px rgba(103, 0, 180, 0.2);
}

.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: #6700B4;
    font-size: 28px;
    font-weight: 500;
    line-height: 1;
    transition: all 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;
    }
}

/* ========================================
   SECCIÓN SCROLL LINE CTA (Skiper19 style)
======================================== */
.scrollline-section {
    background-color: #000000;
    height: 300vh;          /* Altura explícita — el scroll ocurre DENTRO del layout */
    padding-top: 25vh;      /* Espacio negro antes de que aparezca el contenido */
    position: relative;
    overflow: visible;
}

/* El inner ocupa todo el alto de la sección */
.scrollline-inner {
    width: 100%;
    height: 100%;
    position: relative;
    display: grid;
    grid-template-columns: 100%;
}

/* El texto se pineará con CSS sticky o con GSAP */
.scrollline-text-block {
    grid-area: 1 / 1;
    position: sticky;
    top: 30vh;
    left: 0;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 24px;
    z-index: 10;
    will-change: transform;
}

/* Eliminados .scrollline-headline y .scrollline-sub porque ahora usamos .services-title y .services-subtitle */

.scrollline-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

/* SVG: Sticky, centrado, a lo largo de toda la sección de scroll */
.scrollline-svg-wrapper {
    grid-area: 1 / 1;
    position: sticky;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 5;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

#scrollline-svg-desktop,
#scrollline-svg-mobile {
    width: 100%;
    height: 100%;
    overflow: visible;
    max-width: 1400px;
    padding-bottom: 60px; /* Padding extra para que el punto no toque el borde */
}

#scrollline-svg-mobile {
    display: none;
}

.scroll-line-dot {
    filter: drop-shadow(0 0 10px #00ff88) drop-shadow(0 0 25px rgba(0,255,136,0.6));
}

@media (max-width: 768px) {
    .scrollline-section {
        height: 300vh;
    }
    .scrollline-svg-wrapper {
        display: flex;
    }
    .scrollline-text-block {
        max-width: 100%;
        padding-left: 24px;
        padding-right: 24px;
    }
    #scrollline-svg-desktop {
        display: none;
    }
    #scrollline-svg-mobile {
        display: block;
    }
}

.contact-section {
    padding: 120px 24px;
    background-color: #000000;
    position: relative;
    display: flex;
    justify-content: center;
    z-index: 20;
    transition: padding-bottom 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.contact-section.form-open {
    padding-bottom: 420px; /* Extra espacio para el popup del form */
}

.contact-container {
    width: 100%;
    max-width: 1100px;
    position: relative;
    z-index: 2;
}

.contact-horizontal-card {
    display: flex;
    align-items: center;
    background: linear-gradient(90deg, #6700B4, #a64dff);
    border-radius: 36px;
    padding: 60px 40px 60px 540px; /* Mas aire para el Mockup sobresaliente */
    position: relative;
    box-shadow: 0 30px 60px rgba(88, 48, 203, 0.3), inset 0 2px 20px rgba(255, 255, 255, 0.2);
    min-height: 440px;
}

.contact-image-wrapper {
    position: absolute;
    left: -180px;            /* Sobresale un poco más */
    top: 50%;
    transform: translateY(-50%) perspective(1500px) rotateY(18deg); 
    width: 680px;           /* Más tamaño para ese impacto 3D */
    z-index: 5;
    pointer-events: none;
    filter: drop-shadow(40px 50px 60px rgba(0,0,0,0.6));
    transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.contact-image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    /* Eliminado mix-blend-mode para permitir transparencia nativa del AVIF */
}

.contact-info-right {
    position: relative;
    z-index: 10;
    width: 100%;
}

.contact-h-title {
    font-size: 36px;
    color: #FFFFFF;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.contact-h-title span {
    color: #000000;
    background: #00ff88;
    padding: 0 10px;
    border-radius: 8px;
    display: inline-block;
}

.contact-h-desc {
    color: rgba(255, 255, 255, 0.9);
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 30px;
}

/* Mini Cards */
.contact-mini-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 30px;
    align-items: stretch;
}

.mini-card-btn {
    display: flex;
    align-items: center;
    background: #ffffff;
    border-radius: 16px;
    padding: 16px 20px;
    text-decoration: none;
    color: #111111;
    width: 100%;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-sizing: border-box;
}

.mini-card-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
}

.mini-icon {
    font-size: 24px;
    color: #6700B4;
    margin-right: 15px;
    background: rgba(103,0,180,0.1);
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
}

.whatsapp-mini .mini-icon { color: #25d366; background: rgba(37,211,102,0.1); }
.email-mini .mini-icon { color: #ff5e00; background: rgba(255,94,0,0.1); }

.mini-text {
    display: flex;
    flex-direction: column;
}

.mini-label {
    font-size: 13px;
    color: #555555;
    font-weight: 500;
    margin-bottom: 4px;
}

.mini-val {
    font-size: 15px;
    font-weight: 800;
    color: #111111;
}

/* Expand Button */
.expand-btn-wrapper {
    display: flex;
    justify-content: center;
    width: 100%;
    position: relative;
}

.expand-form-btn {
    background: #111111;
    border: 1px solid #00ff88;
    border-radius: 30px;
    padding: 16px 32px;
    color: #00ff88;
    font-size: 16px;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
}

.expand-form-btn:hover {
    background: #00ff88;
    color: #000000;
    box-shadow: 0 10px 25px rgba(0, 255, 136, 0.4);
}

.toggle-icon {
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.expand-form-btn.active .toggle-icon {
    transform: rotate(180deg);
}

/* Expandable Form */
.expandable-form-container {
    position: absolute;
    top: calc(100% + 20px);
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 600px;
    z-index: 100;

    max-height: 0;
    overflow: hidden;
    transition: max-height 0.6s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s ease, margin-top 0.4s ease, visibility 0.6s;
    opacity: 0;
    visibility: hidden;
    margin-top: 0;
}

.expandable-form-container.active {
    max-height: 500px;
    opacity: 1;
    visibility: visible;
    margin-top: 10px;
}

.minimal-form {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(166, 77, 255, 0.4);
    padding: 30px;
    border-radius: 20px;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.6), 0 0 30px rgba(103, 0, 180, 0.3);
}

.minimal-form .form-row {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
}

.minimal-form .input-group {
    flex: 1;
}

.minimal-form input,
.minimal-form textarea {
    width: 100%;
    background: rgba(255, 255, 255, 0.8);
    border: none;
    padding: 16px;
    border-radius: 12px;
    font-family: 'Roboto', sans-serif;
    font-size: 15px;
    color: #111;
    box-sizing: border-box;
    transition: box-shadow 0.3s ease, background 0.3s ease;
}

.minimal-form input::placeholder,
.minimal-form textarea::placeholder {
    color: #555;
}

.minimal-form input:focus,
.minimal-form textarea:focus {
    outline: none;
    background: #FFFFFF;
    box-shadow: 0 0 0 3px rgba(0, 255, 136, 0.5);
}

.minimal-submit {
    width: 100%;
    margin-top: 16px;
    padding: 16px;
    background: #00ff88;
    color: #000;
    font-weight: 800;
    font-size: 16px;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    justify-content: center;
    gap: 10px;
    align-items: center;
}

.minimal-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 255, 136, 0.4);
}

@media (max-width: 900px) {
    .contact-horizontal-card {
        flex-direction: column;
        padding: 50px 30px;
        text-align: center;
    }
    .contact-image-wrapper {
        position: relative;
        left: 0;
        bottom: 0;
        width: 100%; /* Corregido de 110% para que no se desplace hacia la izquierda */
        max-width: 380px; /* Reducido para que entre perfecto sin colapsar */
        margin: -80px auto 0px; 
        filter: drop-shadow(0 20px 40px rgba(0,0,0,0.5));
        transform: perspective(1000px) rotateX(8deg);
    }
    .contact-h-title {
        font-size: 28px;
        line-height: 1.5; /* Más espacio entre líneas de texto */
        margin-bottom: 24px;
    }
    .contact-h-title span {
        font-size: 24px; /* Tamaño más pequeño para el bloque verde */
        padding: 4px 14px;
        margin: 8px 0; /* Separación vertical extra para el bloque */
        border-radius: 6px;
    }
    .contact-mini-cards {
        grid-template-columns: 1fr; /* Apiladas en móvil */
        width: 100%;
    }
    .minimal-form .form-row {
        flex-direction: column;
    }
}

/* ========================================
   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;
}

/* ========================================
   COPY PORTAFOLIO
======================================== */
.portfolio-copy-wrapper {
    width: 100%;
    background: #000000;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 24px 10px;
    position: relative;
    z-index: 10;
}

.portfolio-copy-text {
    font-family: 'Roboto', sans-serif;
    font-size: clamp(16px, 2.2vw, 22px);
    font-weight: 400;
    color: rgba(255, 255, 255, 0.55);
    text-align: center;
    max-width: 900px;
    line-height: 1.7;
    margin: 0;
    position: relative;
    padding: 20px;
}

.portfolio-copy-text strong {
    color: #b258ff;
    font-weight: 700;
}

@media (max-width: 768px) {
    .portfolio-copy-wrapper {
        padding: 30px 20px 8px;
    }
    .portfolio-copy-text {
        padding: 10px;
        font-size: 16px;
    }
}

/* ========================================
   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;
    }
}

/* ========================================
   SECCIÓN TESTIMONIOS
======================================== */
.testimonials-section {
    padding: 100px 50px;
    background-color: #000000;
    position: relative;
    overflow: hidden;
}

.testimonials-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    position: relative;
    z-index: 10;
}

.testimonials-content {
    flex: 1;
    max-width: 600px;
}

.testimonials-marquee-container {
    height: 600px;
    overflow: hidden;
    position: relative;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 5%, black 95%, transparent 100%);
    mask-image: linear-gradient(to bottom, transparent 0%, black 5%, black 95%, transparent 100%);
}

.testimonials-marquee-track {
    display: flex;
    flex-direction: column;
    gap: 30px;
    animation: marquee-vertical 40s linear infinite;
}

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

@keyframes marquee-vertical {
    0% { transform: translateY(0); }
    100% { transform: translateY(calc(-50% - 15px)); }
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(103, 0, 180, 0.25);
    border-radius: 20px;
    padding: 30px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    border-color: rgba(103, 0, 180, 0.65);
    box-shadow: 0 10px 30px rgba(103, 0, 180, 0.2);
}

.stars {
    color: #FFD700;
    font-size: 14px;
    margin-bottom: 15px;
    display: flex;
    gap: 5px;
}

.testimonial-text {
    font-size: 16px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
    font-style: italic;
    margin-bottom: 20px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-info h4 {
    font-size: 16px;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 5px;
}

.author-info span {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.55);
}

.testimonials-image-wrapper {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: flex-end; /* Align the image to the bottom so the fade works properly */
    max-width: 500px;
}

.testimonials-image-wrapper::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 180px;
    background: linear-gradient(to top, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 100%);
    pointer-events: none;
    z-index: 5;
}

.testimonials-shape {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(103, 0, 180, 0.3) 0%, transparent 60%);
    z-index: 0;
    pointer-events: none;
}

.testimonials-img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    position: relative;
    z-index: 1;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
    filter: drop-shadow(0 0 30px rgba(103, 0, 180, 0.2));
}

@media (max-width: 992px) {
    .testimonials-container {
        flex-direction: column;
        gap: 50px;
    }

    .testimonials-content {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .testimonials-section {
        padding: 80px 24px;
    }
}

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