/* HERO */
.tech-hero{
    position:relative;
    min-height:680px;
    display:flex;
    align-items:center;
    background:#080808;
    color:#fff;
    overflow:hidden;
}

.tech-hero-grid{
    position:absolute;
    inset:0;
    opacity:.22;
    background-image:
        linear-gradient(
            rgba(255,255,255,.06) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255,255,255,.06) 1px,
            transparent 1px
        );
    background-size:70px 70px;
    animation:techHeroGrid 14s linear infinite;
}

@keyframes techHeroGrid{
    from{
        transform:translate(0,0);
    }

    to{
        transform:translate(70px,70px);
    }
}

.tech-hero-glow{
    position:absolute;
    right:-180px;
    top:50%;
    width:650px;
    height:650px;
    transform:translateY(-50%);
    background:
        radial-gradient(
            circle,
            rgba(220,0,0,.4),
            rgba(220,0,0,.08) 45%,
            transparent 72%
        );
    filter:blur(25px);
    animation:techHeroGlow 5s ease-in-out infinite;
}

@keyframes techHeroGlow{
    0%,100%{
        transform:translateY(-50%) scale(1);
        opacity:.75;
    }

    50%{
        transform:translateY(-50%) scale(1.15);
        opacity:1;
    }
}

.tech-hero-content{
    position:relative;
    z-index:3;
    width:100%;
    display:grid;
    grid-template-columns:
        1fr 1fr;
    gap:50px;
    align-items:center;
    padding:100px 0;
}

.tech-hero-text{
    max-width:680px;
    padding-left:40px;
}

.tech-eyebrow{
    display:inline-block;
    margin-bottom:20px;
    color:var(--red);
    font-size:11px;
    font-weight:bold;
    letter-spacing:3px;
}

.tech-hero h1{
    margin:0 0 25px;
    font-size:64px;
    line-height:1.02;
    letter-spacing:-2px;
}

.tech-hero h1 span{
    display:block;
    color:var(--red);
}

.tech-hero p{
    max-width:620px;
    margin:0 0 35px;
    color:#aaa;
    font-size:18px;
    line-height:1.7;
}

.tech-hero-button{
    display:inline-flex;
    align-items:center;
    gap:12px;
    padding:15px 23px;
    background:var(--red);
    color:#fff;
    text-decoration:none;
    font-size:13px;
    font-weight:bold;
    transition:
        background .25s ease,
        color .25s ease,
        transform .25s ease;
}

.tech-hero-button:hover{
    background:#fff;
    color:#111;

    transform:translateY(-3px);
}

/* HERO VISUAL */

.tech-hero-visual{
    position:relative;
    height:480px;
    display:flex;
    align-items:center;
    justify-content:center;
}

.tech-machine-circle{
    position:relative;
    width:360px;
    height:360px;
    display:flex;
    align-items:center;
    justify-content:center;
    border:1px solid rgba(255,255,255,.12);
    border-radius:50%;
}

.tech-machine-circle::before{
    content:"";
    position:absolute;
    inset:35px;
    border:1px solid rgba(220,0,0,.25);
    border-radius:50%;
}

.tech-machine-circle i{
    position:relative;
    z-index:2;
    color:var(--red);
    font-size:90px;
    filter:
        drop-shadow(
            0 0 25px
            rgba(220,0,0,.35)
        );
    animation:
        machineFloat 4s ease-in-out infinite;
}

@keyframes machineFloat{
    0%,100%{
        transform:translateY(0);
    }

    50%{
        transform:translateY(-10px);
    }
}

.tech-circle-ring{
    position:absolute;
    inset:-25px;
    border:1px dashed rgba(255,255,255,.15);
    border-radius:50%;
    animation:
        techRing 16s linear infinite;
}

.tech-circle-ring::before{
    content:"";
    position:absolute;
    width:9px;
    height:9px;
    top:-5px;
    left:50%;
    background:var(--red);
    border-radius:50%;
    box-shadow:
        0 0 20px var(--red);
}

@keyframes techRing{
    from{
        transform:rotate(0);
    }

    to{
        transform:rotate(360deg);
    }
}

.tech-machine-label{
    position:absolute;
    bottom:75px;
    display:flex;
    flex-direction:column;
    align-items:center;
    color:#777;
    font-size:8px;
    letter-spacing:2px;
}

.tech-machine-label span{
    margin-bottom:5px;
    color:#fff;
    font-size:17px;
    font-weight:bold;
    letter-spacing:3px;
}

/* FLOATING TAGS */

.tech-floating-tag{
    position:absolute;
    display:flex;
    align-items:center;
    gap:9px;
    padding:11px 15px;
    background:rgba(15,15,15,.9);
    border:1px solid #333;
    color:#ddd;
    font-size:11px;
    box-shadow:
        0 10px 30px
        rgba(0,0,0,.3);
    animation:
        floatingTag 4s ease-in-out infinite;
}

.tech-floating-tag i{
    color:var(--red);
}

.tag-one{
    top:50px;
    left:0;
}

.tag-two{
    right:35px;
    top:160px;
    animation-delay:.7s;
}

.tag-three{
    bottom:65px;
    left:25px;
    animation-delay:1.3s;
}

@keyframes floatingTag{
    0%,100%{
        transform:translateY(0);
    }

    50%{
        transform:translateY(-8px);
    }
}

.tech-scroll{
    position:absolute;
    left:50%;
    bottom:25px;
    transform:translateX(-50%);
    display:flex;
    flex-direction:column;
    align-items:center;
    gap:7px;
    color:#666;
    font-size:9px;
    letter-spacing:2px;
}

.tech-scroll i{
    color:var(--red);
    animation:
        techScroll 1.5s ease-in-out infinite;
}

@keyframes techScroll{
    0%,100%{
        transform:translateY(0);
    }

    50%{
        transform:translateY(6px);
    }
}

/* INTRO */

.tech-intro{
    padding:110px 0;
    background:#fff;
}

.tech-intro-grid{
    display:grid;
    grid-template-columns:
        1fr 1.1fr;
    gap:90px;
    align-items:center;
}

.tech-intro-title h2{
    margin:0;
    font-size:45px;
    line-height:1.1;
    letter-spacing:-1px;
}

.tech-intro-title h2 span{
    display:block;
    color:var(--red);
}

.section-label{
    display:block;
    margin-bottom:15px;
    color:var(--red);
    font-size:11px;
    font-weight:bold;
    letter-spacing:2px;
}

.tech-intro-text p{
    margin:0 0 22px;
    color:#666;
    font-size:16px;
    line-height:1.8;
}

.tech-intro-text .tech-lead{
    color:#111;
    font-size:21px;
    line-height:1.6;
}


/* SERVICIOS */

.tech-services{
    padding:110px 0;
    background:#f3f3f3;
    position:relative;
    overflow:hidden;
}

.tech-section-heading{
    max-width:700px;
    margin-bottom:55px;
}

.tech-section-heading h2{
    margin:0;
    color:#111;
    font-size:45px;
    line-height:1.1;
}

.tech-section-heading h2 span{
    color:var(--red);
}

.tech-services-grid{
    display:grid;
    grid-template-columns:
        repeat(3,1fr);
    gap:18px;
}

.tech-service-card{
    position:relative;
    min-height:370px;
    padding:38px;
    background:#fff;
    overflow:hidden;
    border-bottom:3px solid transparent;
    transition:
        transform .4s ease,
        background .4s ease,
        color .4s ease,
        box-shadow .4s ease,
        border-color .4s ease;
}

.tech-service-card:hover{
    transform:translateY(-8px);
    background:#0c0c0c;
    color:#fff;
    border-color:var(--red);
    box-shadow:
        0 25px 50px
        rgba(0,0,0,.15);
}

.tech-card-number{
    position:absolute;
    right:25px;
    top:15px;
    color:#e7e7e7;
    font-size:65px;
    font-weight:800;
    transition:color .3s ease;
}

.tech-service-card:hover
.tech-card-number{
    color:#222;
}

.tech-service-icon{
    width:62px;
    height:62px;
    display:flex;
    align-items:center;
    justify-content:center;
    margin-bottom:45px;
    background:#111;
    color:#fff;
    font-size:23px;
    transition:
        background .3s ease,
        transform .3s ease;
}

.tech-service-card:hover
.tech-service-icon{
    background:var(--red);
    transform:
        rotate(-5deg)
        scale(1.05);
}

.tech-service-card h3{
    margin:0 0 14px;
    font-size:23px;
}

.tech-service-card p{
    margin:0;
    color:#666;
    font-size:14px;
    line-height:1.75;
    transition:color .3s ease;
}

.tech-service-card:hover p{
    color:#aaa;
}

.tech-card-line{
    position:absolute;
    left:38px;
    bottom:28px;
    width:35px;
    height:2px;
    background:var(--red);
    transition:width .35s ease;
}

.tech-service-card:hover
.tech-card-line{
    width:90px;
}


/* CASOS REALES */

.tech-cases{
    position:relative;
    padding:110px 0;
    background:#090909;
    color:#fff;
    overflow:hidden;
}

.tech-cases-bg{
    position:absolute;
    inset:0;
    opacity:.14;
    background-image:
        linear-gradient(
            90deg,
            rgba(255,255,255,.08) 1px,
            transparent 1px
        );
    background-size:100px 100%;
    animation:
        casesGrid 14s linear infinite;
}

@keyframes casesGrid{
    from{
        background-position:0 0;
    }

    to{
        background-position:100px 0;
    }
}

.tech-cases-grid{
    position:relative;
    z-index:2;
    display:grid;
    grid-template-columns:
        1fr 1fr;
    gap:90px;
    align-items:center;
}

.tech-cases-image{
    position:relative;
    min-height:470px;
    display:flex;
    align-items:center;
    justify-content:center;
}

.tech-cases-image img{
    position:relative;
    z-index:2;
    width:70%;
    max-width:300px;
    height:auto;
    object-fit:contain;
    filter:
        drop-shadow(
            0 25px 35px
            rgba(0,0,0,.5)
        );
    transition:
        transform .6s
        cubic-bezier(.22,1,.36,1);
}

.tech-cases-image:hover img{
    transform:
        translateY(-10px)
        scale(1.025);
}

.tech-cases-image-frame{
    position:absolute;
    width:75%;
    height:75%;
    border:1px solid
        rgba(220,0,0,.45);
    transform:
        translate(25px,25px);
}

.tech-image-label{
    position:absolute;
    left:30px;
    bottom:25px;
    z-index:3;
    padding:8px 12px;
    background:var(--red);
    color:#fff;
    font-size:9px;
    font-weight:bold;
    letter-spacing:2px;
}

.tech-cases-content{
    max-width:600px;
}

.tech-cases-content h2{
    margin:0 0 25px;
    font-size:48px;
    line-height:1.08;
    letter-spacing:-1px;
}

.tech-cases-content h2 span{
    display:block;
    color:var(--red);
}

.tech-cases-content p{
    margin:0 0 20px;
    color:#aaa;
    font-size:15px;
    line-height:1.8;
}

.tech-case-highlight{
    display:flex;
    align-items:center;
    gap:15px;
    margin-top:30px;
    padding-top:20px;
    border-top:1px solid #292929;
    color:#ddd;
    font-size:13px;
}

.tech-case-highlight i{
    color:var(--red);
}


/* CODIGOS DE ERROR */

.tech-errors{
    padding:110px 0;
    background:#fff;
}

.tech-section-heading.centered{
    max-width:700px;
    margin-left:auto;
    margin-right:auto;
    text-align:center;
}

.tech-section-heading.centered p{
    margin:18px auto 0;
    color:#666;
    font-size:15px;
    line-height:1.75;
}

.tech-development{
    position:relative;
    display:flex;
    align-items:center;
    gap:30px;
    max-width:900px;
    margin:0 auto 35px;
    padding:35px;
    background:#f4f4f4;
    border-left:3px solid var(--red);
}

.development-icon{
    flex:0 0 65px;
    width:65px;
    height:65px;
    display:flex;
    align-items:center;
    justify-content:center;
    background:#111;
    color:var(--red);
    font-size:24px;
}

.development-content{
    flex:1;
}

.development-content > span{
    display:block;
    margin-bottom:7px;
    color:var(--red);
    font-size:9px;
    font-weight:bold;
    letter-spacing:2px;
}

.development-content h3{
    margin:0 0 8px;
    color:#111;
    font-size:20px;
}

.development-content p{
    margin:0;
    color:#666;
    font-size:13px;
    line-height:1.6;
}

.development-progress{
    position:absolute;
    left:0;
    right:0;
    bottom:0;
    height:3px;
    background:#ddd;
    overflow:hidden;
}

.development-progress span{
    display:block;
    width:35%;
    height:100%;
    background:var(--red);
    animation:
        developmentProgress 3s ease-in-out infinite;
}

@keyframes developmentProgress{

    0%{
        transform:translateX(-100%);
    }

    100%{
        transform:translateX(300%);
    }
}


/* PREVIEW */

.tech-error-preview{
    display:grid;
    grid-template-columns:
        repeat(3,1fr);
    gap:15px;
    max-width:900px;
    margin:auto;
}

.error-preview-item{
    position:relative;
    padding:30px;
    background:#fafafa;
    border:1px solid #eee;
    transition:
        border-color .3s ease,
        transform .3s ease;
}

.error-preview-item:hover{
    border-color:var(--red);
    transform:translateY(-5px);
}

.error-status{
    display:block;
    margin-bottom:15px;
    color:#aaa;
    font-size:8px;
    font-weight:bold;
    letter-spacing:2px;
}

.error-preview-item strong{
    color:#222;
    font-size:16px;
}

.error-preview-item i{
    position:absolute;
    right:25px;
    top:50%;
    transform:translateY(-50%);
    color:#ccc;
}

/* PROCESO */

.tech-process{
    position:relative;
    padding:110px 0;
    background:#f3f3f3;
    overflow:hidden;
}

.tech-process-grid{
    position:relative;
    display:grid;
    grid-template-columns:
        repeat(4,1fr);
    gap:20px;
}

.tech-process-line{
    position:absolute;
    left:12%;
    right:12%;
    top:265px;
    height:1px;
    background:#ccc;
}

.tech-process-step{
    position:relative;
    z-index:2;
    padding:20px;
    text-align:center;
}

.tech-process-step > span{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    width:46px;
    height:46px;
    margin-bottom:25px;
    background:#111;
    color:#fff;
    border-radius:50%;
    font-size:11px;
    font-weight:bold;
    transition:
        background .3s ease,
        transform .3s ease;
}

.tech-process-step:hover > span{
    background:var(--red);
    transform:scale(1.1);
}

.tech-process-step > i{
    display:block;
    margin-bottom:18px;
    color:var(--red);
    font-size:28px;
}

.tech-process-step h3{
    margin:0 0 10px;
    color:#111;
    font-size:19px;
}

.tech-process-step p{
    margin:0;
    color:#777;
    font-size:12px;
    line-height:1.6;
}


/* FINAL */

.tech-final{
    position:relative;
    padding:105px 0;
    background:#080808;
    color:#fff;
    text-align:center;
    overflow:hidden;
}

.tech-final-glow{
    position:absolute;
    left:50%;
    top:50%;
    width:600px;
    height:600px;
    transform:
        translate(-50%,-50%);
    background:
        radial-gradient(
            circle,
            rgba(220,0,0,.2),
            transparent 70%
        );
    filter:blur(20px);
}

.tech-final-content{
    position:relative;
    z-index:2;
    max-width:760px;
    margin:auto;
}

.tech-final-content > span{
    display:block;
    margin-bottom:15px;
    color:var(--red);
    font-size:10px;
    font-weight:bold;
    letter-spacing:2px;
}

.tech-final h2{
    margin:0 0 20px;
    font-size:50px;
    line-height:1.05;
    letter-spacing:-1px;
}

.tech-final h2 strong{
    color:var(--red);
}

.tech-final p{
    max-width:620px;
    margin:0 auto 30px;
    color:#aaa;
    font-size:15px;
    line-height:1.8;
}

.tech-final-button{
    display:inline-flex;
    align-items:center;
    gap:11px;
    padding:15px 24px;
    background:#fff;
    color:#111;
    text-decoration:none;
    font-size:13px;
    font-weight:bold;
    transition:
        background .25s ease,
        color .25s ease,
        transform .25s ease;
}

.tech-final-button:hover{
    background:var(--red);
    color:#fff;
    transform:translateY(-3px);
}

.tech-final-button i{
    transition:transform .25s ease;
}

.tech-final-button:hover i{
    transform:translateX(5px);
}

/* REVEAL */

.reveal{
    opacity:1;
    transform:none;
}

html.js .reveal{
    opacity:0;
    transform:
        translateY(40px);
    transition:
        opacity .8s ease,
        transform .8s
        cubic-bezier(.22,1,.36,1);
}

html.js .reveal.visible{
    opacity:1;
    transform:
        translateY(0);
}


/* RESPONSIVE */

@media (max-width:900px){

    .tech-hero{
        min-height:650px;
    }

    .tech-hero-content{
        grid-template-columns:1fr;
    }

    .tech-hero-visual{
        display:none;
    }

    .tech-hero h1{
        font-size:52px;
    }

    .tech-intro-grid{
        grid-template-columns:1fr;

        gap:50px;
    }

    .tech-services-grid{
        grid-template-columns:1fr;
    }

    .tech-cases-grid{
        grid-template-columns:1fr;

        gap:50px;
    }

    .tech-process-grid{
        grid-template-columns:
            repeat(2,1fr);
    }

    .tech-process-line{
        display:none;
    }
}


@media (max-width:600px){

    .tech-hero{
        min-height:620px;
    }

    .tech-hero-content{
        padding:80px 0;
    }

    .tech-hero-text{
        padding-left:25px;
    }


    .tech-hero h1{
        font-size:40px;
        letter-spacing:-1px;
    }

    .tech-hero p{
        font-size:16px;
    }

    .tech-scroll{
        display:none;
    }

    .tech-intro,
    .tech-services,
    .tech-cases,
    .tech-errors,
    .tech-process{
        padding:75px 0;
    }

    .tech-intro-title h2,
    .tech-section-heading h2{
        font-size:34px;
    }

    .tech-service-card{
        min-height:340px;
        padding:30px;
    }

    .tech-cases-image img{
        width:80%;
        max-width:360px;
    }

    .tech-cases-content h2{
        font-size:36px;
    }

    .tech-development{
        flex-direction:column;
        align-items:flex-start;
        padding:25px;
    }

    .tech-error-preview{
        grid-template-columns:1fr;
    }

    .tech-process-grid{
        grid-template-columns:1fr;
    }

    .tech-final{
        padding:75px 0;
    }

    .tech-final h2{
        font-size:37px;
    }

}

.tech-large-symbol{
    position:absolute;
    right:-90px;
    top:50%;
    width:500px;
    height:500px;
    display:flex;
    align-items:center;
    justify-content:center;
    transform:
        translateY(-50%)
        translateX(100px);
    color:rgba(220,0,0,0);
    font-size:420px;
    pointer-events:none;
    z-index:1;
    transition:
        transform .7s cubic-bezier(.22,1,.36,1),
        color .5s ease;
}

.tech-large-symbol.active{
    transform:
        translateY(-50%)
        translateX(0);
    color:rgba(220,0,0,.07);
}