/* Estilos del hero de la portada (/).
   Todo el CSS esta scopeado bajo .fdc-hero para no afectar el resto del sitio. */

.fdc-hero,
.fdc-hero * {
    box-sizing: border-box;
}

.fdc-hero {
    --hero-nav: 65px;
    --hero-blue: #0866ff;
    --hero-white: #f4f5fa;
    --hero-muted: #9ba3b5;
    position: relative;
    isolation: isolate;
    overflow: hidden;
    min-height: calc(100vh - var(--hero-nav));
    min-height: calc(100svh - var(--hero-nav));
    background: var(--pub-bg-dark, #060d1c);
    color: var(--hero-white);
    color-scheme: dark;
}

.fdc-hero h1,
.fdc-hero p,
.fdc-hero figure {
    margin: 0;
}

.fdc-hero a {
    color: inherit;
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
}

.fdc-hero a:focus-visible {
    outline: 3px solid #81b5ff;
    outline-offset: 5px;
}

/* Fondo continuo de la seccion. El retrato es un PNG con transparencia real. */
.fdc-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -2;
    background:
        radial-gradient(ellipse 33% 55% at 75% 43%, rgb(7 83 200 / 0.42) 0%, rgb(7 83 200 / 0.30) 42%, transparent 80%),
        radial-gradient(ellipse 50% 70% at 100% 10%, rgb(7 83 200 / 0.40) 0%, transparent 70%),
        var(--pub-bg-dark, #060d1c);
}

.fdc-hero::after {
    content: "";
    position: absolute;
    inset: -25% -10% -25% 32%;
    z-index: -1;
    pointer-events: none;
    transform: skewX(-36deg);
    background: linear-gradient(90deg, transparent 15%, #123b7826 15%, #2e79b536 42%, #4894d449 46%, #163c7121 47%, transparent 48%, transparent 58%, #1a4a8928 58%, #3273ab30 74%, transparent 74%);
    -webkit-mask-image: radial-gradient(ellipse at 59% 32%, #000 10%, #000a 42%, transparent 77%);
    mask-image: radial-gradient(ellipse at 59% 32%, #000 10%, #000a 42%, transparent 77%);
}

.fdc-hero .hero-inner {
    position: relative;
    width: 100%;
    max-width: 1664px;
    margin: 0 auto;
    min-height: calc(100vh - var(--hero-nav));
    min-height: calc(100svh - var(--hero-nav));
    padding: 120px 9.75% 72px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    align-items: center;
}

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

.fdc-hero .badge {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    border-radius: 25px;
    background: #132457;
    color: #97bfff;
    padding: 10px 15px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .1px;
    margin-bottom: 34px;
}

.fdc-hero .dot {
    width: 8px;
    height: 8px;
    flex-shrink: 0;
    background: #226bff;
    border-radius: 50%;
}

.fdc-hero h1 {
    font-size: clamp(43px, 3.9vw, 67px);
    font-weight: 800;
    letter-spacing: -2px;
    line-height: 1.19;
}

.fdc-hero .word {
    display: block;
    width: fit-content;
    margin: 14px 0 16px;
    background: linear-gradient(110deg, #066aff, #5740ff);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}

.fdc-hero .cursor {
    display: inline-block;
    height: .87em;
    width: 4px;
    background: #0875ff;
    margin-left: 6px;
    vertical-align: -.04em;
    animation: fdc-hero-caret 1s step-end infinite;
}

@keyframes fdc-hero-caret {
    50% {
        opacity: 0;
    }
}

.fdc-hero .last-line {
    display: block;
    font-size: .93em;
    white-space: nowrap;
}

.fdc-hero .description {
    color: var(--hero-muted);
    font-size: clamp(17px, 1.28vw, 22px);
    line-height: 1.65;
    max-width: 630px;
    margin: 32px 0;
}

.fdc-hero .description strong {
    color: var(--hero-white);
}

.fdc-hero .ctas {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin: 36px 0 42px;
}

.fdc-hero .ctas a {
    display: flex;
    gap: 10px;
    align-items: center;
    font-weight: 700;
    font-size: 17px;
    padding: 18px 23px;
    border-radius: 12px;
    transition: transform .2s, background .2s, filter .2s;
}

.fdc-hero .ctas .primary {
    background: #1462ff;
    border: 1px solid #1462ff;
    box-shadow: 0 8px 22px #0a4bff25;
}

.fdc-hero .ctas .primary:hover {
    background: #3178ff;
    transform: translateY(-2px);
}

.fdc-hero .ctas .youtube {
    border: 2px solid #364152;
}

.fdc-hero .ctas .spotify {
    border: 2px solid #008864;
    color: #59e4b6;
}

.fdc-hero .ctas .youtube:hover,
.fdc-hero .ctas .spotify:hover {
    background: #ffffff08;
    transform: translateY(-2px);
}

.fdc-hero .ctas svg {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.fdc-hero .ctas .arrow {
    width: 12px;
    height: 12px;
    margin-left: 6px;
}

.fdc-hero .stats {
    display: flex;
    gap: 36px;
    border-top: 1px solid #ffffff22;
    padding-top: 30px;
    max-width: 660px;
}

.fdc-hero .stats strong {
    display: block;
    font-size: 30px;
    letter-spacing: -.5px;
    color: #2777ff;
}

.fdc-hero .stats span {
    display: block;
    color: #929baa;
    font-size: 15px;
    margin-top: 6px;
}

.fdc-hero .portrait {
    position: absolute;
    right: 9%;
    bottom: 0;
    width: 42%;
    height: calc(100% - 40px);
    pointer-events: none;
}

.fdc-hero .portrait img {
    position: absolute;
    display: block;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: bottom center;
    -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 80%, #000c 89%, transparent 100%);
    mask-image: linear-gradient(to bottom, #000 0%, #000 80%, #000c 89%, transparent 100%);
}

.fdc-hero .host {
    position: absolute;
    left: 25%;
    bottom: 32px;
    z-index: 3;
    font-size: 16px;
    font-weight: 700;
    color: var(--hero-white);
    line-height: 1.25;
    text-shadow: 0 2px 12px #050b16;
}

.fdc-hero .host span {
    display: block;
    font-size: 13px;
    font-weight: 400;
    color: #a6afc2;
    margin-top: 6px;
}

@media (min-width: 1800px) {
    .fdc-hero .hero-inner {
        padding-left: 162px;
        padding-right: 162px;
    }

    .fdc-hero .portrait {
        right: 7%;
        width: 46%;
    }
}

@media (min-width: 761px) and (max-width: 1200px) {
    .fdc-hero,
    .fdc-hero .hero-inner {
        min-height: 740px;
    }

    .fdc-hero .hero-inner {
        padding: 76px 5% 70px;
    }

    .fdc-hero .portrait {
        right: 0;
        width: 51%;
        height: 90%;
    }

    .fdc-hero .copy {
        max-width: 510px;
    }

    .fdc-hero h1 {
        font-size: clamp(38px, 4.3vw, 52px);
    }

    .fdc-hero .description {
        font-size: 17px;
        max-width: 440px;
    }

    .fdc-hero .ctas {
        max-width: 430px;
    }

    .fdc-hero .ctas a {
        font-size: 14px;
        padding: 15px;
    }

    .fdc-hero .stats {
        gap: 27px;
    }

    .fdc-hero .host {
        left: 32%;
        bottom: 30px;
    }
}

@media (min-width: 761px) and (max-width: 920px) {
    .fdc-hero .hero-inner {
        grid-template-columns: 1.05fr 1fr;
    }

    .fdc-hero .copy {
        padding-right: 10px;
    }

    .fdc-hero .last-line {
        white-space: normal;
    }

    .fdc-hero .portrait {
        width: 52%;
        right: -5%;
    }

    .fdc-hero .description {
        font-size: 16px;
    }

    .fdc-hero .ctas .primary {
        flex-basis: 100%;
        justify-content: center;
    }

    .fdc-hero .ctas .youtube,
    .fdc-hero .ctas .spotify {
        flex: 1;
        justify-content: center;
    }

    .fdc-hero .host {
        left: 27%;
    }
}

@media (max-width: 760px) {
    .fdc-hero,
    .fdc-hero .hero-inner {
        min-height: 0;
    }

    .fdc-hero::before {
        background:
            radial-gradient(ellipse 85% 35% at 72% 79%, rgb(7 83 200 / 0.42) 0%, rgb(7 83 200 / 0.30) 42%, transparent 80%),
            var(--pub-bg-dark, #060d1c);
    }

    .fdc-hero::after {
        inset: 44% -30% -20% -35%;
        -webkit-mask-image: radial-gradient(ellipse at 58% 42%, #000, #0009 40%, transparent 78%);
        mask-image: radial-gradient(ellipse at 58% 42%, #000, #0009 40%, transparent 78%);
    }

    .fdc-hero .hero-inner {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        padding: 104px 24px 0;
    }

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

    .fdc-hero .badge {
        font-size: 11px;
        margin-bottom: 24px;
        padding: 9px 12px;
    }

    .fdc-hero h1 {
        font-size: clamp(35px, 7.65vw, 54px);
        letter-spacing: -1.4px;
    }

    .fdc-hero .word {
        margin: 10px 0 12px;
    }

    .fdc-hero .last-line {
        white-space: normal;
        font-size: .93em;
    }

    .fdc-hero .description {
        font-size: 16px;
        margin: 24px 0;
        max-width: 520px;
    }

    .fdc-hero .ctas {
        margin: 26px 0 28px;
        max-width: none;
    }

    .fdc-hero .ctas a {
        padding: 14px 15px;
        font-size: 13px;
    }

    .fdc-hero .ctas .primary {
        flex-basis: 100%;
        justify-content: center;
    }

    .fdc-hero .ctas .youtube,
    .fdc-hero .ctas .spotify {
        flex: 1;
        justify-content: center;
    }

    .fdc-hero .stats {
        justify-content: space-between;
        gap: 15px;
        padding-top: 24px;
    }

    .fdc-hero .stats strong {
        font-size: 27px;
    }

    .fdc-hero .portrait {
        position: relative;
        right: auto;
        bottom: auto;
        width: 108%;
        height: auto;
        aspect-ratio: 1150 / 1367;
        margin: 30px -4% 0;
    }

    .fdc-hero .portrait img {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }

    .fdc-hero .host {
        left: 25%;
        bottom: 33px;
        font-size: 15px;
    }

    .fdc-hero .host span {
        font-size: 12px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .fdc-hero .cursor {
        animation: none;
    }

    .fdc-hero .ctas a {
        transition: none;
    }
}
