/* ==========================================================
   THE AI ACE
   HERO COMPONENTS
   ========================================================== */

/* ---------- BASE HERO ---------- */

.hero {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    min-height: 720px;
    padding: calc(var(--header-height) + var(--space-3xl)) 0 var(--space-3xl);
    background:
        radial-gradient(
            circle at 80% 20%,
            rgba(0, 183, 255, 0.14),
            transparent 34%
        ),
        radial-gradient(
            circle at 15% 35%,
            rgba(255, 180, 0, 0.09),
            transparent 30%
        ),
        var(--bg-primary);
}

/* ---------- CONTAINER ---------- */

.hero-container {
    position: relative;
    z-index: 2;
    width: min(var(--container), 92%);
    margin: 0 auto;
}

/* ---------- CONTENT ---------- */

.hero-content {
    max-width: 860px;
}

.hero-content-centered {
    max-width: 920px;
    margin: 0 auto;
    text-align: center;
}

/* ---------- LABEL ---------- */

.hero-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: var(--space-lg);
    padding: 8px 14px;
    border: 1px solid rgba(0, 183, 255, 0.28);
    border-radius: var(--radius-round);
    background: rgba(0, 183, 255, 0.08);
    color: var(--color-accent);
    font-size: var(--font-size-xs);
    font-weight: var(--fw-black);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

/* ---------- TITLE ---------- */

.hero-title {
    max-width: 760px;
    margin-bottom: var(--space-lg);
    color: var(--text-primary);
    font-size: clamp(2.5rem, 4.4vw, 4.6rem);
    font-weight: var(--fw-black);
    line-height: 1.04;
    letter-spacing: -0.04em;
}

/* ---------- HIGHLIGHT ---------- */

.hero-highlight {
    color: var(--color-primary);
}

.hero-gradient-text {
    background: var(--gradient-gold);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
}

/* ---------- SUBTITLE ---------- */

.hero-subtitle {
    max-width: 760px;
    margin-bottom: var(--space-xl);
    color: var(--text-secondary);
    font-size: clamp(1rem, 2vw, 1.25rem);
    line-height: 1.75;
}

.hero-content-centered .hero-subtitle {
    margin-right: auto;
    margin-left: auto;
}

/* ---------- ACTIONS ---------- */

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--space-md);
}

.hero-content-centered .hero-actions {
    justify-content: center;
}

/* ---------- META ---------- */

.hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-lg);
    margin-top: var(--space-xl);
    color: var(--text-muted);
    font-size: var(--font-size-sm);
}

.hero-content-centered .hero-meta {
    justify-content: center;
}

.hero-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

/* ---------- VISUAL ---------- */

.hero-visual {
    position: absolute;
    top: 50%;
    right: 4%;
    width: min(42vw, 560px);
    transform: translateY(-50%);
    opacity: 0.96;
}

.hero-visual img,
.hero-visual video {
    width: 100%;
    height: auto;
}

/* ---------- GLOW ---------- */

.hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
}

.hero-glow-gold {
    right: 8%;
    bottom: 5%;
    width: 260px;
    height: 260px;
    background: rgba(255, 180, 0, 0.12);
}

.hero-glow-blue {
    top: 8%;
    left: 4%;
    width: 320px;
    height: 320px;
    background: rgba(0, 183, 255, 0.11);
}

/* ---------- GRID VARIANT ---------- */

.hero-split .hero-container {
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
    align-items: center;
    gap: 48px;
}

.hero-visual {
    position: absolute;
    top: 50%;
    right: 2%;
    width: min(49vw, 680px);
    transform: translateY(-50%);
    opacity: 0.96;
}

/* ---------- COMPACT VARIANT ---------- */

.hero-compact {
    min-height: 480px;
    padding-top: calc(var(--header-height) + var(--space-2xl));
    padding-bottom: var(--space-2xl);
}

.hero-compact .hero-title {
    font-size: clamp(2.7rem, 6vw, 5rem);
}

/* ---------- INNER PAGE VARIANT ---------- */

.hero-inner {
    min-height: 520px;
    border-bottom: 1px solid var(--border-color);
}

.hero-inner .hero-content {
    max-width: 960px;
}

/* ---------- RESPONSIVE ---------- */

@media (max-width: 1050px) {
    .hero {
        min-height: auto;
    }

    .hero-split .hero-container {
        grid-template-columns: 1fr;
    }

    .hero-visual {
        position: relative;
        top: auto;
        right: auto;
        width: min(100%, 620px);
        margin: var(--space-2xl) auto 0;
        transform: none;
    }
}

@media (max-width: 768px) {
    .hero {
        padding-top: calc(var(--header-height) + var(--space-2xl));
        padding-bottom: var(--space-2xl);
    }

    .hero-title {
    font-size: clamp(2.25rem, 10vw, 3.8rem);
    }

    .hero-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .hero-meta {
        gap: var(--space-md);
    }
}
/* ==========================================================
   COMPATIBILIDAD CON EL HERO ACTUAL DE INDEX.HTML
   ========================================================== */

.hero {
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
    align-items: center;
    gap: 42px;

    width: min(var(--container), 92%);
    min-height: 560px;
    margin: 0 auto;
    padding: 72px 0 54px;

    }

.hero-copy {
    position: relative;
    z-index: 2;
    max-width: 660px;
}

.hero h1 {
    max-width: 660px;
    margin-bottom: 20px;
    font-size: clamp(2.5rem, 3.2vw, 3.85rem);
    line-height: 1.04;
    letter-spacing: -0.04em;
}

.hero-copy > p {
    max-width: 610px;
    font-size: 1rem;
    line-height: 1.65;
}

.hero-visual {
    position: relative;
    top: auto;
    right: auto;

    width: 100%;
    max-width: 690px;
    margin: 0 auto;

    transform: none;
}

.hero-visual img {
    display: block;
    width: 100%;
    max-width: 690px;
    height: auto;
    margin: 0 auto;
    object-fit: contain;
}

/* Evita que el título invada la imagen */

.hero-copy,
.hero-visual {
    min-width: 0;
}

/* ---------- TABLET ---------- */

@media (max-width: 1050px) {
    .hero {
        grid-template-columns: minmax(0, 1fr) minmax(380px, 0.9fr);
        gap: 30px;
    }

    .hero h1 {
        font-size: clamp(2.25rem, 4vw, 3.4rem);
    }
}

/* ---------- MÓVIL ---------- */

@media (max-width: 820px) {
    .hero {
        grid-template-columns: 1fr;
        min-height: auto;
        padding: 48px 20px;
    }

    .hero-copy {
        max-width: 100%;
    }

    .hero h1 {
        max-width: 100%;
        font-size: clamp(2.15rem, 9vw, 3.25rem);
    }

    .hero-visual {
        max-width: 620px;
        margin: 20px auto 0;
    }
}
.hero{min-height:610px;display:grid;grid-template-columns:43% 57%;
align-items:center;max-width:1480px;margin:auto;padding:42px 46px 18px;position:relative;overflow:hidden}
.hero-copy{padding:22px 10px 40px}.eyebrow{display:inline-block;border:1px solid rgba(255,191,0,.55);color:#ffd34f;
border-radius:24px;padding:8px 14px;font-size:13px;font-weight:700;margin-bottom:22px}.hero h1{font-size:55px;line-height:1.08;
margin:0 0 20px;letter-spacing:-2px}.hero h1 .blue{color:var(--cyan)}.hero h1 .gold{color:var(--gold)}
.hero-copy>p{font-size:18px;line-height:1.65;color:#d4dde7;max-width:630px}.benefit-row{display:flex;gap:26px;
margin:28px 0;color:#d9e5ee;font-size:14px}.benefit-row span::first-letter{color:var(--cyan)}
.hero-actions{display:flex;gap:16px;margin-bottom:24px}.social-proof{color:#d4dce5}.social-proof:first-letter{color:var(--gold)}
.hero-visual{height:540px;position:relative;display:flex;align-items:center;justify-content:center;isolation:isolate}
.hero-visual img{width:100%;height:100%;object-fit:cover;border-radius:30px;mask-image:linear-gradient(90deg,transparent 0%,black 12%,black 100%);
filter:saturate(1.08) contrast(1.05);position:relative;z-index:1}.orbit{position:absolute;left:52%;top:62%;border:2px solid rgba(0,190,255,.75);
border-radius:50%;transform:translate(-50%,-50%);z-index:2;pointer-events:none;box-shadow:0 0 22px rgba(0,180,255,.45)}
.orbit-one{width:420px;height:130px;animation:orbitSpin 8s linear infinite}.orbit-two{width:520px;height:170px;animation:orbitSpinReverse 11s linear infinite}
.orbit-three{width:610px;height:210px;opacity:.45;animation:pulse 3s ease-in-out infinite}.pulse-core{position:absolute;left:52%;top:62%;
width:170px;height:55px;border-radius:50%;background:rgba(0,170,255,.18);box-shadow:0 0 80px 25px rgba(0,140,255,.35);
transform:translate(-50%,-50%);z-index:0;animation:pulse 2.3s ease-in-out infinite}.floating-chip{position:absolute;z-index:3;
background:rgba(2,13,24,.78);border:1px solid rgba(0,190,255,.45);box-shadow:0 0 25px rgba(0,120,255,.2);
padding:9px 12px;border-radius:10px;color:#6adfff;font-size:11px;backdrop-filter:blur(8px);animation:float 4s ease-in-out infinite}
.chip-1{left:14%;top:16%}.chip-2{left:12%;top:37%;animation-delay:.8s}.chip-3{right:10%;top:67%;animation-delay:1.4s}
.quick-access{max-width:1480px;margin:0 auto;padding:16px 46px 50px}.section-heading{display:flex;align-items:center;gap:18px;margin:10px 0 24px}

.page-hero{text-align:center;padding:45px 20px}.page-hero h1{font-size:52px;margin:5px 0 18px}.page-hero p{max-width:760px;margin:auto;color:var(--muted);font-size:18px}

@media(max-width:1050px){

.hero{
    grid-template-columns:1fr;
    padding-top:20px;
}

.hero-visual{
    height:500px;
}

}


