:root{
    --home-orange:#f59b1e;
    --home-orange-hot:#ffb84d;
    --home-black:#0a0906;
    --home-cream:#fff8ef;
}

.home-page{
    overflow-x:hidden;
}

.home-header{
    background:linear-gradient(to bottom,rgba(10,9,6,.98),rgba(10,9,6,.76),transparent);
}

.language-button{
    min-width:48px;
    height:42px;
    padding:0 14px;
    border:1px solid rgba(255,248,239,.32);
    border-radius:999px;
    background:rgba(10,9,6,.58);
    color:var(--cream);
    font-weight:800;
    transition:transform .2s ease,border-color .2s ease,color .2s ease,background .2s ease;
}

.language-button:hover{
    transform:translateY(-2px);
    border-color:var(--orange);
    background:var(--orange);
    color:var(--black);
}

.header-menu-link{
    padding:10px 17px;
    border-radius:999px;
    background:var(--orange);
    color:var(--black);
    font-weight:800;
    transition:transform .2s ease,background .2s ease;
}

.header-menu-link:hover{
    transform:translateY(-2px);
    background:var(--cream);
}

.header-text-link{
    color:var(--cream);
    transition:color .2s ease;
}

.header-text-link:hover{
    color:var(--orange);
}

.home-hero{
    position:relative;
    min-height:100svh;
    isolation:isolate;
    overflow:hidden;
    background:
        radial-gradient(circle at 78% 28%,rgba(245,155,30,.2),transparent 28%),
        linear-gradient(145deg,#24150b 0%,#0a0906 58%,#070604 100%);
}

.hero-grid{
    position:absolute;
    inset:0;
    z-index:-3;
    opacity:.11;
    background-image:
        linear-gradient(rgba(255,255,255,.12) 1px,transparent 1px),
        linear-gradient(90deg,rgba(255,255,255,.12) 1px,transparent 1px);
    background-size:58px 58px;
    transform:perspective(700px) rotateX(62deg) scale(1.8) translateY(17%);
    transform-origin:center bottom;
}

.hero-light{
    position:absolute;
    z-index:-2;
    border-radius:50%;
    filter:blur(70px);
    pointer-events:none;
    animation:floatLight 8s ease-in-out infinite alternate;
}

.hero-light-one{
    width:420px;
    height:420px;
    right:-110px;
    top:8%;
    background:rgba(245,155,30,.18);
}

.hero-light-two{
    width:300px;
    height:300px;
    left:-120px;
    bottom:6%;
    background:rgba(255,184,77,.1);
    animation-delay:-3s;
}

@keyframes floatLight{
    from{transform:translate3d(0,0,0) scale(1)}
    to{transform:translate3d(-30px,30px,0) scale(1.1)}
}

.home-hero-content{
    width:min(1050px,100%);
}

.typing-heading{
    min-height:2.05em;
    max-width:1000px;
}

.typing-cursor{
    display:inline-block;
    width:5px;
    height:.82em;
    margin-left:8px;
    background:var(--orange);
    vertical-align:-.05em;
    animation:blinkCursor .75s steps(1) infinite;
}

@keyframes blinkCursor{
    0%,49%{opacity:1}
    50%,100%{opacity:0}
}

.hero-description{
    max-width:650px;
}

.reveal-up{
    opacity:0;
    transform:translateY(24px);
    animation:revealUp .75s ease forwards;
}

.delay-one{animation-delay:.25s}
.delay-two{animation-delay:.45s}
.delay-three{animation-delay:.65s}

@keyframes revealUp{
    to{opacity:1;transform:translateY(0)}
}

.button-3d{
    position:relative;
    min-height:54px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:13px;
    padding:0 24px;
    border-radius:15px;
    font-weight:800;
    text-transform:uppercase;
    letter-spacing:.035em;
    transform:translateY(0);
    transition:
        transform .18s ease,
        box-shadow .18s ease,
        background .18s ease,
        color .18s ease,
        opacity .25s ease;
    will-change:transform;
}

.button-3d i{
    font-style:normal;
    font-size:20px;
    transition:transform .2s ease;
}

.button-orange{
    background:var(--orange);
    color:var(--black);
    box-shadow:
        0 7px 0 #9d5907,
        0 16px 30px rgba(245,155,30,.24);
}

.button-orange:hover{
    background:var(--cream);
    color:var(--black);
    transform:translateY(-4px);
    box-shadow:
        0 11px 0 #bdb3a7,
        0 22px 38px rgba(0,0,0,.4);
}

.button-cream{
    background:var(--cream);
    color:var(--black);
    box-shadow:
        0 7px 0 #aca294,
        0 16px 30px rgba(0,0,0,.32);
}

.button-cream:hover{
    background:var(--orange);
    color:var(--black);
    transform:translateY(-4px);
    box-shadow:
        0 11px 0 #9d5907,
        0 22px 38px rgba(245,155,30,.23);
}

.button-3d:hover i{
    transform:translateX(4px);
}

.button-3d:active{
    transform:translateY(6px);
    box-shadow:0 2px 0 rgba(0,0,0,.55);
}

.button-3d.leaving{
    opacity:0;
    transform:scale(.72) rotateX(35deg);
    pointer-events:none;
}

.hero-stats{
    display:flex;
    gap:40px;
    margin-top:44px;
    padding-top:25px;
    border-top:1px solid rgba(255,248,239,.12);
    max-width:760px;
}

.hero-stats div{
    display:flex;
    flex-direction:column;
    gap:4px;
}

.hero-stats strong{
    font-family:'Anton';
    font-size:30px;
    color:var(--orange);
}

.hero-stats span{
    color:var(--muted);
    font-size:13px;
}

.scroll-indicator{
    position:absolute;
    left:50%;
    bottom:24px;
    width:28px;
    height:46px;
    border:2px solid rgba(255,248,239,.4);
    border-radius:999px;
    transform:translateX(-50%);
}

.scroll-indicator span{
    position:absolute;
    left:50%;
    top:8px;
    width:5px;
    height:9px;
    border-radius:999px;
    background:var(--orange);
    transform:translateX(-50%);
    animation:scrollDot 1.6s ease-in-out infinite;
}

@keyframes scrollDot{
    0%{opacity:0;transform:translate(-50%,0)}
    25%{opacity:1}
    100%{opacity:0;transform:translate(-50%,18px)}
}

.story-intro{
    max-width:800px;
    margin-bottom:25px;
}

.story-intro h2{
    font-family:'Anton';
    text-transform:uppercase;
    font-size:clamp(45px,8vw,90px);
    line-height:1;
    margin:0;
}

.story-card{
    position:relative;
    overflow:hidden;
}

.story-card::before{
    content:"";
    position:absolute;
    inset:18px;
    border:1px solid rgba(245,155,30,.08);
    border-radius:26px;
    pointer-events:none;
}

.page-transition{
    position:fixed;
    inset:0;
    z-index:1000;
    display:grid;
    place-items:center;
    background:var(--black);
    opacity:0;
    visibility:hidden;
    pointer-events:none;
    transition:opacity .35s ease,visibility .35s ease;
}

.page-transition.active{
    opacity:1;
    visibility:visible;
}

.transition-logo{
    display:flex;
    flex-direction:column;
    align-items:center;
    line-height:.88;
    transform:scale(.7);
    opacity:0;
}

.page-transition.active .transition-logo{
    animation:transitionLogo .55s ease forwards;
}

.transition-logo span,
.transition-logo strong{
    font-family:'Anton';
}

.transition-logo span{
    font-size:38px;
}

.transition-logo strong{
    font-size:54px;
    color:var(--orange);
}

@keyframes transitionLogo{
    to{opacity:1;transform:scale(1)}
}

@media(max-width:700px){
    .home-hero{
        padding-top:115px;
        align-items:center;
    }

    .typing-heading{
        min-height:3.15em;
    }

    .hero-actions{
        display:grid;
        grid-template-columns:1fr;
    }

    .button-3d{
        width:100%;
    }

    .hero-stats{
        gap:14px;
        justify-content:space-between;
    }

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

    .hero-stats span{
        font-size:11px;
    }

    .header-text-link{
        display:none;
    }

    .header-menu-link{
        display:none;
    }
}

@media(prefers-reduced-motion:reduce){
    *,
    *::before,
    *::after{
        animation-duration:.01ms !important;
        animation-iteration-count:1 !important;
        scroll-behavior:auto !important;
    }
}


/* =========================================================
   INDEX DINÁMICO — CONTENIDO FLOTANTE
   ========================================================= */

.scroll-indicator,
.scroll-indicator span {
    display: none !important;
}

.home-story {
    overflow: hidden;
}

.story-card,
.story-card.reverse {
    min-height: 76vh;
    padding: 105px 0;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

.story-card::before,
.story-card::after {
    display: none !important;
    content: none !important;
}

.story-card > div {
    max-width: 720px;
}

.story-card.reverse > div {
    margin-left: auto;
}

.story-card .year {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

.scroll-reveal {
    opacity: 0;
    transform: translate3d(0, 78px, 0);
    filter: blur(12px);
    transition:
        opacity .95s cubic-bezier(.16,1,.3,1),
        transform .95s cubic-bezier(.16,1,.3,1),
        filter .95s cubic-bezier(.16,1,.3,1);
    will-change: opacity, transform, filter;
}

.scroll-reveal.is-visible {
    opacity: 1;
    transform: translate3d(0, 0, 0);
    filter: blur(0);
}

.scroll-reveal.is-visible .reveal-child {
    animation: revealStoryChild .8s cubic-bezier(.16,1,.3,1) both;
    animation-delay: var(--child-delay, 0ms);
}

@keyframes revealStoryChild {
    from {
        opacity: 0;
        transform: translate3d(0, 34px, 0);
        filter: blur(8px);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
        filter: blur(0);
    }
}

.site-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.powered-by {
    color: var(--muted);
    font-size: 13px;
    text-decoration: none;
    transition: color .2s ease, transform .2s ease;
}

.powered-by strong {
    color: var(--orange);
    letter-spacing: .08em;
}

.powered-by:hover {
    color: var(--cream);
    transform: translateY(-2px);
}

@media (max-width: 700px) {
    .story-card,
    .story-card.reverse {
        min-height: 70svh;
        padding: 78px 0;
    }

    .story-card.reverse > div {
        margin-left: 0;
    }

    .scroll-reveal {
        transform: translate3d(0, 46px, 0);
    }

    .site-footer {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (prefers-reduced-motion: reduce) {
    .scroll-reveal,
    .scroll-reveal.is-visible,
    .scroll-reveal.is-visible .reveal-child {
        opacity: 1;
        transform: none;
        filter: none;
        animation: none;
        transition: none;
    }
}
