*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

:root{
    --primary:#2952FF;
    --dark:#050505;
    --gray:#6B7280;
    --light:#F5F6F8;
}

html,
body{
    width:100%;
    max-width:100%;
    overflow-x:hidden;
}

body{
    font-family:'Inter',sans-serif;
    background:var(--light);
    color:var(--dark);
    overflow-x:hidden;
}

/* Fondo cuadriculado */

body::before{
    content:'';
    position:fixed;
    inset:0;

    background-image:
    linear-gradient(rgba(0,0,0,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,0,0,.05) 1px, transparent 1px);

    background-size:56px 56px;

    pointer-events:none;
    z-index:-1;
}
/* ==========================
   HEADER
========================== */

.header{
    width:100%;
    height:90px;

    position:sticky;
    top:0;

    background:rgba(245,246,248,.90);

    backdrop-filter:blur(10px);

    border-bottom:1px solid rgba(0,0,0,.08);

    z-index:999;
}

.container{
    width:90%;
    max-width:1400px;

    height:100%;

    margin:auto;

    display:flex;
    align-items:center;
    justify-content:space-between;
}

.logo img{
    height:42px;
}

.nav{
    display:flex;
    gap:10px;
}

.nav a{
    text-decoration:none;
    color:var(--dark);

    font-size:18px;
    font-weight:600;

    padding:14px 22px;

    border-radius:10px;

    transition:.25s ease;
}

.nav a:hover{
    background:rgba(41,82,255,.08);
    color:var(--primary);
}

.nav a.active{
    background:var(--primary);
    color:white;

    box-shadow:
    0 8px 20px rgba(41,82,255,.25);
}


.btn-primary{
    background:var(--primary);

    color:white;

    text-decoration:none;

    padding:15px 28px;

    border-radius:10px;

    font-weight:600;

    transition:.3s;
}

.btn-primary:hover{
    transform:translateY(-2px);
}

/* ==========================
   HERO
========================== */

.hero{
    min-height:calc(100vh - 90px);

    display:flex;
    align-items:center;

    padding:80px 0 120px;
}

.hero-container{
    width:90%;
    max-width:1400px;
    margin:auto;
}

.hero-badge{
    display:inline-flex;
    align-items:center;
    gap:15px;

    background:var(--primary);

    color:white;

    padding:14px 30px;

    border-radius:0 12px 12px 0;

    font-size:14px;
    letter-spacing:2px;

    margin-bottom:50px;

    clip-path:polygon(
        18px 0,
        100% 0,
        100% 100%,
        18px 100%,
        0 50%
    );
}

.badge-dot{
    width:10px;
    height:10px;
    border-radius:50%;
    background:white;
}

.hero-title{
    font-size:clamp(90px,9vw,170px);

    line-height:.95;

    font-weight:400;

    letter-spacing:-6px;
}

.blue{
    color:var(--primary);
}

.italic{
    font-style:italic;
    font-weight:300;
}

.hero-bottom{
    margin-top:60px;

    display:flex;
    justify-content:space-between;
    align-items:flex-end;

    gap:40px;
}

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

.hero-text p{
    font-size:24px;
    line-height:1.6;
    color:#5d6470;
}

.hero-buttons{
    display:flex;
    gap:20px;
}

.btn-dark{
    background:#050505;
    color:white;

    text-decoration:none;

    padding:18px 34px;

    border-radius:10px;

    font-weight:600;
}

.btn-outline{
    border:1px solid rgba(0,0,0,.25);

    color:#050505;

    text-decoration:none;

    padding:18px 34px;

    border-radius:10px;

    font-weight:600;
}

/* ==========================
   RESPONSIVE
========================== */

@media(max-width:992px){

    .hero-title{
        font-size:70px;
    }

    .hero-bottom{
        flex-direction:column;
        align-items:flex-start;
    }

    .hero-buttons{
        width:100%;
    }
}

#typing-word{
    position:relative;
}

#typing-word::after{
    content:'|';
    margin-left:4px;

    animation:blink .7s infinite;
}

@keyframes blink{
    0%,100%{
        opacity:1;
    }

    50%{
        opacity:0;
    }
}

#typing-word{
    display:inline-block;
    min-width:0;
}

/* ==========================
   TICKER
========================== */

.ticker-section{
    width:100%;
    overflow:hidden;
}

.ticker{
    background:#050505;

    border-top:2px solid #050505;
    border-bottom:2px solid #050505;

    overflow:hidden;
}

.ticker-track{
    display:flex;
    width:max-content;

    gap:60px;

    padding:18px 0;

    animation:tickerMove 35s linear infinite;
}

.ticker-track span{

    color:white;

    font-size:14px;

    letter-spacing:3px;

    font-weight:500;

    white-space:nowrap;
}

.ticker-track span::first-letter{
    color:var(--primary);
}

@keyframes tickerMove{

    from{
        transform:translateX(0);
    }

    to{
        transform:translateX(-50%);
    }

}

.ticker-track strong{
    color:var(--primary);
    margin-right:8px;
}

.ticker-track span{
    display:flex;
    align-items:center;
}

/* ==========================
   FEATURED SERVICES
========================== */

.featured-services{
    padding:120px 0;
}

.container-column{
    width:90%;
    max-width:1400px;
    margin:auto;
}

.section-header{
    display:flex;
    justify-content:space-between;
    align-items:end;

    padding-bottom:35px;

    border-bottom:1px solid rgba(0,0,0,.10);
}

.section-subtitle{
    font-size:12px;
    font-weight:700;
    letter-spacing:3px;
    color:#777;
    margin-bottom:10px;
}

.section-title{
    font-size:60px;
    font-weight:500;
}

.section-link{
    text-decoration:none;
    color:var(--primary);
    font-weight:700;
    transition:.3s;
}

.section-link:hover{
    opacity:.8;
}

/* ==========================
   CARDS
========================== */

.cards-grid{
    margin-top:50px;

    display:grid;
    grid-template-columns:repeat(3,1fr);

    gap:25px;
}

.service-card{

    min-height:420px;

    padding:40px;

    border-radius:20px;

    display:flex;
    flex-direction:column;
    justify-content:space-between;

    transition:.35s ease;

    cursor:pointer;

    position:relative;
    overflow:hidden;
}

/* Efecto elevación */

.service-card:hover{
    transform:translateY(-8px);
}

/* Efecto brillo premium */

.service-card::before{

    content:'';

    position:absolute;

    top:0;
    left:-120%;

    width:70%;
    height:100%;

    background:
    linear-gradient(
        90deg,
        transparent,
        rgba(255,255,255,.18),
        transparent
    );

    transform:skewX(-20deg);

    transition:1s;
}

.service-card:hover::before{
    left:150%;
}

/* Tarjeta azul */

.primary-card{
    background:var(--primary);
    color:white;
}

/* Tarjeta azul claro */

.secondary-card{
    background:#BFD2FF;
    color:#050505;
}

/* Tarjeta blanca */

.light-card{
    background:white;
    border:1px solid rgba(0,0,0,.10);

    box-shadow:
    0 10px 25px rgba(0,0,0,.03);
}

.card-number{

    font-size:12px;

    letter-spacing:3px;

    font-weight:700;

    opacity:.70;
}

.service-card h3{

    font-size:52px;

    line-height:1;

    margin-bottom:25px;

    font-weight:500;
}

.service-card p{

    line-height:1.8;

    opacity:.9;
}

.card-action{

    font-size:13px;

    letter-spacing:3px;

    font-weight:700;

    text-transform:uppercase;

    transition:.3s;
}

.service-card:hover .card-action{
    transform:translateX(8px);
}

/* ==========================
   RESPONSIVE
========================== */

@media(max-width:1100px){

    .cards-grid{
        grid-template-columns:1fr;
    }

    .service-card{
        min-height:320px;
    }

}

@media(max-width:768px){

    .section-header{
        flex-direction:column;
        align-items:flex-start;
        gap:20px;
    }

    .section-title{
        font-size:42px;
    }

    .service-card h3{
        font-size:38px;
    }

}

/* ==========================
   SPLIT SECTION
========================== */

.split-section{

    border-top:1px solid rgba(0,0,0,.08);

    background:oklch(0.97 0.02 262.9);
}

.split-grid{

    width:100%;
    max-width:1400px;

    margin:auto;

    display:grid;

    grid-template-columns:1fr 1fr;
}

.split-card{

    padding:90px 70px;

    transition:.3s;
}

.split-card:hover{

    background:rgba(255,255,255,.55);
}

.split-left{

    border-right:1px solid rgba(0,0,0,.08);
}

.split-label{

    display:block;

    font-size:12px;

    letter-spacing:3px;

    font-weight:700;

    color:#777;

    margin-bottom:20px;
}

.split-card h2{

    font-size:72px;

    font-weight:500;

    line-height:1;

    margin-bottom:25px;
}

.split-right h2{

    color:var(--primary);
}

.split-card p{

    max-width:550px;

    line-height:1.8;

    color:#666;

    margin-bottom:40px;
}

.split-list{

    list-style:none;

    display:grid;

    grid-template-columns:repeat(2,1fr);

    gap:18px;
}

.split-list li{

    position:relative;

    padding-left:22px;

    font-size:15px;
}

.split-list li::before{

    content:'';

    position:absolute;

    left:0;
    top:8px;

    width:8px;
    height:8px;

    border-radius:50%;

    background:var(--primary);
}

/* ==========================
   RESPONSIVE
========================== */

@media(max-width:992px){

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

    .split-left{
        border-right:none;
        border-bottom:1px solid rgba(0,0,0,.08);
    }

    .split-card{
        padding:60px 35px;
    }

    .split-card h2{
        font-size:52px;
    }

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

}

/* ==========================
   CTA FINAL
========================== */

.cta-section{

    padding:140px 0;

    text-align:center;

    background:var(--light);
}

.cta-container{

    width:90%;
    max-width:1200px;

    margin:auto;
}


.cta-badge{
    font-family:'Courier New', monospace;

    position:relative;

    display:inline-flex;
    align-items:center;

    gap:18px;

    background:#050505;
    color:white;

    height:82px;

    padding:0 42px 0 55px;

    border-radius:0 18px 18px 0;

    font-size:15px;
    font-weight:500;

    letter-spacing:4px;

    text-transform:uppercase;

    clip-path:polygon(
        26px 0,
        100% 0,
        100% 100%,
        26px 100%,
        0 50%
    );
}

.badge-dot{

    width:20px;
    height:20px;

    border-radius:50%;

    background:white;

    flex-shrink:0;
}

.cta-title{

    margin-top:40px;

    font-size:clamp(60px,7vw,110px);

    line-height:1.05;

    font-weight:500;

    letter-spacing:-3px;
}

.cta-title span{
    color:var(--primary);
}

.cta-button{

    display:inline-block;

    margin-top:50px;

    background:var(--primary);

    color:white;

    text-decoration:none;

    padding:22px 45px;

    border-radius:12px;

    font-size:18px;
    font-weight:700;

    transition:.3s;
}

.cta-button:hover{

    transform:
    translateX(6px)
    translateY(6px);

    box-shadow:
    0 0 0 transparent;
}

.cta-button{

    box-shadow:
    -6px -6px 0 #050505;
}

/* ==========================
   FOOTER
========================== */

.footer{

    background:#050505;

    color:white;
}

.footer-container{

    width:90%;
    max-width:1400px;

    margin:auto;

    padding:90px 0;

    display:grid;

    grid-template-columns:
    2fr 1fr 1fr;

    gap:80px;
}

.footer-brand img{

    height:55px;

    margin-bottom:30px;
}

.footer-brand p{

    max-width:500px;

    color:rgba(255,255,255,.70);

    line-height:1.8;
}

.footer-links,
.footer-contact{

    display:flex;
    flex-direction:column;

    gap:18px;
}

.footer h4{

    color:rgba(255,255,255,.50);

    font-size:13px;

    letter-spacing:3px;

    margin-bottom:10px;
}

.footer a{

    color:white;

    text-decoration:none;

    transition:.3s;
}

.footer a:hover{

    color:var(--primary);
}

.footer-bottom{

    width:90%;
    max-width:1400px;

    margin:auto;

    padding:25px 0;

    border-top:1px solid rgba(255,255,255,.10);

    display:flex;
    justify-content:space-between;

    color:rgba(255,255,255,.45);

    font-size:14px;
}

@media(max-width:900px){

    .footer-container{

        grid-template-columns:1fr;

        gap:50px;
    }

    .footer-bottom{

        flex-direction:column;

        gap:15px;
    }

}


/* =====================================
   SERVICIOS.HTML
===================================== */

.services-hero{
    padding:90px 0 70px;
}

.services-title{

    margin-top:40px;

    max-width:1100px;

    font-size:clamp(70px,8vw,100px);

    line-height:0.95;

    letter-spacing:-4px;

    font-weight:400;
}

.services-description{

    margin-top:40px;

    max-width:750px;

    font-size:22px;

    line-height:1.8;

    color:#5d6470;
}

/* =====================================
   CATALOGO
===================================== */

.catalog-section{
    padding:70px 0;
}

.catalog-layout{

    width:90%;
    max-width:1400px;

    margin:auto;

    display:grid;

    grid-template-columns:
    260px
    1fr;

    gap:60px;

    align-items:flex-start;
}

/* L O + */

.catalog-letter{

    font-size:150px;

    line-height:1;

    color:var(--primary);

    font-weight:300;

    transition:.35s ease;
}

.catalog-info:hover .catalog-letter{

    transform:
    rotate(5deg)
    scale(1.03);
}

.catalog-info h2{

    font-size:58px;

    line-height:1;

    font-weight:500;

    margin-bottom:20px;
}

.catalog-info p{

    color:#5d6470;

    line-height:1.8;

    margin-bottom:30px;
}

.catalog-info span{

    font-size:13px;

    letter-spacing:4px;

    color:#777;
}

/* TABLA */

.catalog-table{

    display:grid;

    grid-template-columns:
    1fr 1fr;

    background:white;

    border:1px solid rgba(0,0,0,.08);

    border-radius:18px;

    overflow:hidden;
}

.catalog-item{

    min-height:92px;

    padding:0 24px;

    display:flex;
    align-items:center;
    justify-content:space-between;

    border-right:1px solid rgba(0,0,0,.08);
    border-bottom:1px solid rgba(0,0,0,.08);

    transition:.25s ease;

    cursor:pointer;

    font-weight:500;
}

.catalog-item:nth-child(2n){
    border-right:none;
}

.catalog-item:hover{

    background:#f7f9ff;

    color:var(--primary);
}

.catalog-item span{

    transition:.25s ease;

    opacity:.45;
}

.catalog-item:hover span{

    opacity:1;

    transform:translateX(6px);
}

/* Quitar borde inferior última fila */

.catalog-table .catalog-item:last-child{
    border-bottom:none;
}

/* =====================================
   EFECTO PREMIUM
===================================== */

.catalog-table{

    box-shadow:
    0 8px 24px rgba(0,0,0,.03);
}

.catalog-item{

    position:relative;
    overflow:hidden;
}

.catalog-item::before{

    content:'';

    position:absolute;

    top:0;
    left:-120%;

    width:60%;
    height:100%;

    background:
    linear-gradient(
        90deg,
        transparent,
        rgba(41,82,255,.08),
        transparent
    );

    transition:.8s;
}

.catalog-item:hover::before{
    left:150%;
}

/* =====================================
   RESPONSIVE TABLET
===================================== */

@media(max-width:1100px){

    .catalog-layout{

        grid-template-columns:1fr;

        gap:40px;
    }

    .catalog-info{

        text-align:center;
    }

    .catalog-letter{

        font-size:120px;
    }

}

/* =====================================
   RESPONSIVE MOVIL
===================================== */

@media(max-width:768px){

    .services-hero{
        padding:100px 0 80px;
    }

    .services-title{

        font-size:55px;

        letter-spacing:-2px;
    }

    .services-description{

        font-size:18px;
    }

    .catalog-table{

        grid-template-columns:1fr;
    }

    .catalog-item{

        border-right:none;

        min-height:80px;
    }

    .catalog-letter{

        font-size:90px;
    }

    .catalog-info h2{

        font-size:42px;
    }

}

/* =====================================
   SERVICES PAGE
===================================== */

body.services-page{
    background:#ffffff;
}

body.services-page::before{
    display:none;
}



/* =====================================
   DIGITAL.HTML
===================================== */

body.digital-page{

    background:
    radial-gradient(
        circle at top left,
        rgba(41,82,255,.08),
        transparent 35%
    ),
    #050816;

    color:white;
}

/* Ocultar cuadrícula del home */

body.digital-page::before{
    display:none;
}

/* =====================================
   HERO
===================================== */

.digital-hero{

    padding:100px 0 120px;
}

.digital-title{

    margin-top:25px;

    font-size:clamp(70px,8vw,80px);

    line-height:.95;

    letter-spacing:-4px;

    font-weight:400;

    max-width:900px;

    color:white;
}

.digital-title .blue{

    color:var(--primary);
}

.digital-description{

    margin-top:35px;

    max-width:750px;

    font-size:20px;

    line-height:1.8;

    color:rgba(255,255,255,.65);
}

.digital-buttons{

    margin-top:50px;

    display:flex;

    gap:20px;

    flex-wrap:wrap;
}

.btn-outline-dark{

    display:inline-flex;

    align-items:center;
    justify-content:center;

    padding:14px 28px;

    border:1px solid rgba(255,255,255,.15);

    border-radius:12px;

    color:white;

    text-decoration:none;

    transition:.3s;
}

.btn-outline-dark:hover{

    background:white;

    color:#050816;
}

/* =====================================
   SERVICIOS DIGITALES
===================================== */

.digital-services{

    padding:120px 0;
}

.digital-grid{

    width:90%;
    max-width:1400px;

    margin:auto;

    display:grid;

    grid-template-columns:
    repeat(3,1fr);

    border:1px solid rgba(255,255,255,.06);

    border-radius:24px;

    overflow:hidden;
}

.digital-card{

    min-height:320px;

    padding:35px;

    border-right:1px solid rgba(255,255,255,.06);
    border-bottom:1px solid rgba(255,255,255,.06);

    transition:.35s ease;

    cursor:pointer;

    position:relative;
    overflow:hidden;
}

.digital-card:nth-child(3n){
    border-right:none;
}

.digital-card span{

    font-size:12px;

    letter-spacing:3px;

    color:rgba(255,255,255,.45);
}

.digital-card h3{

    margin-top:35px;
    margin-bottom:25px;

    font-size:42px;

    font-weight:500;

    color:white;
}

.digital-card p{

    color:rgba(255,255,255,.60);

    line-height:1.8;
}

.digital-card small{

    position:absolute;

    bottom:35px;

    left:35px;

    letter-spacing:3px;

    color:white;
}

.digital-card:hover{

    background:var(--primary);

    transform:translateY(-8px);

    box-shadow:
    0 20px 45px rgba(41,82,255,.25);
}

.digital-card:hover p,
.digital-card:hover span,
.digital-card:hover h3,
.digital-card:hover small{

    color:white;
}


/* =====================================
   PROCESS
===================================== */

.process-section{

    padding:5px 0;
}

.process-container{

    width:90%;
    max-width:1400px;

    margin:auto;
}

.process-label{

    letter-spacing:4px;

    font-size:13px;

    color:rgba(255,255,255,.45);
}

.process-container h2{

    margin-top:25px;

    margin-bottom:80px;

    font-size:clamp(50px,5vw,90px);

    font-weight:400;

    color:white;
}

.process-flow{

    display:grid;

    grid-template-columns:
    1fr
    120px
    1fr;

    gap:40px;

    align-items:center;
}

.process-box{

    padding:45px;

    border:1px solid rgba(255,255,255,.08);

    border-radius:20px;

    background:rgba(255,255,255,.02);

    backdrop-filter:blur(10px);
}

.process-box span{

    display:block;

    margin-bottom:20px;

    letter-spacing:3px;

    font-size:12px;

    color:rgba(255,255,255,.45);
}

.process-box h3{

    font-size:42px;

    margin-bottom:15px;

    color:white;
}

.process-box p{

    color:rgba(255,255,255,.65);
}

.process-box.primary{

    background:var(--primary);

    border:none;
}

.process-box.primary span,
.process-box.primary p,
.process-box.primary h3{

    color:white;
}

/* Flecha */

.process-arrow{

    font-size:90px;

    color:var(--primary);

    text-align:center;

    animation:
    pulseArrow
    2s infinite;
}

@keyframes pulseArrow{

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

    50%{
        transform:translateX(12px);
    }

}

/* =====================================
   FOOTER DIGITAL
===================================== */

.digital-page .footer{

    background:#040611;

    border-top:1px solid rgba(255,255,255,.05);
}

/* =====================================
   RESPONSIVE
===================================== */

@media(max-width:1100px){

    .digital-grid{

        grid-template-columns:1fr 1fr;
    }

    .process-flow{

        grid-template-columns:1fr;
    }

    .process-arrow{

        transform:rotate(90deg);
    }

}

@media(max-width:768px){

    .digital-title{

        font-size:58px;

        letter-spacing:-2px;
    }

    .digital-description{

        font-size:18px;
    }

    .digital-grid{

        grid-template-columns:1fr;
    }

    .digital-card{

        min-height:260px;
    }

    .digital-card h3{

        font-size:32px;
    }

    .process-box h3{

        font-size:32px;
    }

    .process-arrow{

        font-size:70px;
    }

}

.digital-page .footer{

    background:#040611;

    border-top:1px solid white;
}

/* =====================================
   CONTACTO.HTML
===================================== */

.contact-section{

    padding:50px 0 120px;
}

.contact-layout{

    width:90%;
    max-width:1500px;

    margin:auto;

    display:grid;

    grid-template-columns:
    1fr
    1.2fr;

    gap:80px;

    align-items:start;
}

/* =====================================
   INFO IZQUIERDA
===================================== */

.contact-title{

    margin-top:35px;

    font-size:clamp(70px,7vw,110px);

    line-height:.95;

    letter-spacing:-4px;

    font-weight:400;

    max-width:700px;
}

.contact-description{

    margin-top:35px;

    max-width:500px;

    color:#5d6470;

    font-size:24px;

    line-height:1.8;
}

.contact-divider{

    width:100%;

    height:1px;

    background:rgba(0,0,0,.08);

    margin:20px 0;
}

.contact-data{

    display:flex;
    flex-direction:column;

    gap:40px;
}

.contact-item span{

    display:block;

    margin-bottom:12px;

    font-size:13px;

    letter-spacing:4px;

    color:#666;
}

.contact-item h3{

    font-size:24px;

    font-weight:500;

    color:#050505;
}

/* =====================================
   FORMULARIO
===================================== */

.contact-form-wrapper{

    position:relative;
}

.contact-form-wrapper::before{

    content:'';

    position:absolute;

    top:12px;
    left:12px;

    width:100%;
    height:100%;

    background:var(--primary);

    border-radius:28px;

    z-index:0;
}

.contact-form{

    position:relative;

    z-index:2;

    background:white;

    padding:45px;

    border-radius:28px;

    border:1px solid rgba(0,0,0,.08);

    box-shadow:
    0 15px 40px rgba(0,0,0,.05);
}

.form-group{

    margin-bottom:28px;
}

.form-group label{

    display:block;

    margin-bottom:12px;

    font-size:13px;

    letter-spacing:4px;

    text-transform:uppercase;

    color:#666;
}

.form-group input,
.form-group textarea{

    width:100%;

    padding:18px 20px;

    border:1px solid rgba(0,0,0,.10);

    border-radius:12px;

    background:#fafafa;

    font-size:16px;

    outline:none;

    transition:.25s;
}

.form-group input:focus,
.form-group textarea:focus{

    border-color:var(--primary);

    background:white;
}

.form-group textarea{

    resize:vertical;

    min-height:160px;
}

/* =====================================
   TAGS
===================================== */

.service-tags{

    display:flex;

    flex-wrap:wrap;

    gap:12px;
}

.service-tags button{

    border:1px solid rgba(0,0,0,.12);

    background:white;

    padding:12px 18px;

    border-radius:999px;

    cursor:pointer;

    font-size:15px;

    transition:.25s;
}

.service-tags button:hover{

    background:var(--primary);

    border-color:var(--primary);

    color:white;
}

/* =====================================
   BOTON
===================================== */

.contact-submit{

    width:100%;

    border:none;

    background:#050505;

    color:white;

    padding:22px;

    border-radius:12px;

    font-size:18px;

    font-weight:600;

    cursor:pointer;

    transition:.3s;
}

.contact-submit:hover{

    background:var(--primary);
}

/* =====================================
   MAPA
===================================== */

.contact-map{

    padding:0px 0;
}

.map-container{

    width:90%;
    max-width:1500px;

    margin:auto;
}

.map-header{

    text-align:center;

    margin-bottom:50px;
}

.map-header span{

    font-size:13px;

    letter-spacing:4px;

    color:#666;
}

.map-header h2{

    margin-top:20px;

    font-size:clamp(40px,5vw,70px);

    font-weight:400;

    line-height:1.1;
}

.map-header p{

    max-width:700px;

    margin:25px auto 0;

    color:#666;

    line-height:1.8;
}

/* =====================================
   CARDS INFO
===================================== */

.location-cards{

    display:grid;

    grid-template-columns:
    repeat(3,1fr);

    gap:20px;

    margin-bottom:40px;
}

.location-card{

    background:white;

    padding:30px;

    border-radius:18px;

    border:1px solid rgba(0,0,0,.08);

    text-align:center;
}

.location-card h4{

    margin-bottom:12px;

    color:var(--primary);
}

.location-card p{

    color:#555;
}

/* =====================================
   MAPA
===================================== */

.map-wrapper{

    overflow:hidden;

    border-radius:24px;

    border:1px solid rgba(0,0,0,.08);

    box-shadow:
    0 15px 40px rgba(0,0,0,.05);
}

.map-wrapper iframe{

    width:100%;

    height:550px;

    border:none;

    display:block;
}

/* =====================================
   RESPONSIVE
===================================== */

@media(max-width:1100px){

    .contact-layout{

        grid-template-columns:1fr;

        gap:60px;
    }

    .location-cards{

        grid-template-columns:1fr;
    }

}

@media(max-width:768px){

    .contact-title{

        font-size:58px;

        letter-spacing:-2px;
    }

    .contact-description{

        font-size:18px;
    }

    .contact-form{

        padding:30px;
    }

    .service-tags{

        gap:10px;
    }

    .service-tags button{

        font-size:14px;
    }

    .map-wrapper iframe{

        height:400px;
    }

}

/* =====================================
   MENU RESPONSIVE
===================================== */

.menu-toggle{

    display:none;

    width:50px;
    height:50px;

    border:none;

    background:transparent;

    cursor:pointer;

    flex-direction:column;

    justify-content:center;

    gap:6px;
}

.menu-toggle span{

    width:30px;
    height:3px;

    background:#111;

    border-radius:20px;

    transition:.3s;
}

/* MOBILE */

@media(max-width:900px){

    .nav{

        position:fixed;

        top:0;
        right:-100%;

        width:280px;
        height:100vh;

        background:white;

        box-shadow:
        -10px 0 30px rgba(0,0,0,.08);

        display:flex;

        flex-direction:column;

        justify-content:center;

        align-items:center;

        gap:30px;

        transition:.35s;

        z-index:999;
    }

    .nav.active{

        right:0;
    }

    .nav a{

        font-size:22px;
    }

    .btn-primary{

        display:none;
    }

    .menu-toggle{

        display:flex;
    }
}

.menu-toggle.active span:nth-child(1){

    transform:
    rotate(45deg)
    translateY(12px);
}

.menu-toggle.active span:nth-child(2){

    opacity:0;
}

.menu-toggle.active span:nth-child(3){

    transform:
    rotate(-45deg)
    translateY(-12px);
}

@media (max-width: 900px){

    .nav{

        position:fixed !important;

        top:90px;

        left:0;

        width:100%;

        background:white;

        display:flex;

        flex-direction:column;

        align-items:center;

        gap:25px;

        padding:40px 0;

        z-index:9999;

        transform:translateY(-150%);

        transition:.35s ease;
    }

    .nav.active{

        transform:translateY(0);
    }

    .nav a{

        display:block;

        font-size:22px;

        font-weight:600;

        color:#111;
    }
}

/* =====================================
   404 PAGE
===================================== */

body.error-page{

    min-height:100vh;

    display:flex;
    justify-content:center;
    align-items:center;

    flex-direction:column;

    overflow:hidden;
}

body.error-page::before{
    display:block;
}

.error-container{

    width:90%;
    max-width:1000px;

    text-align:center;

    margin:auto;
}

.error-code{

    font-size:clamp(180px,25vw,300px);

    line-height:.85;

    color:var(--primary);

    font-weight:800;

    letter-spacing:-12px;

    margin:0;

    animation:float404 4s ease-in-out infinite;
}

.error-title{

    font-size:clamp(42px,5vw,72px);

    line-height:1;

    margin-top:15px;

    font-weight:600;
}

.error-description{

    max-width:650px;

    margin:25px auto 0;

    font-size:22px;

    line-height:1.7;

    color:#666;
}

.error-buttons{

    margin-top:45px;

    display:flex;

    justify-content:center;

    gap:20px;

    flex-wrap:wrap;
}

@keyframes float404{

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

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

.service-tags button.selected{

    background:var(--primary);

    border-color:var(--primary);

    color:white;
}


/* =====================================
   THANK YOU PAGE
===================================== */

body.thanks-page{
    min-height:100vh;
    display:flex;
    justify-content:center;
    align-items:center;
}

.thanks-container{

    width:90%;

    max-width:900px;

    text-align:center;
}

.thanks-check{

    width:130px;
    height:130px;

    margin:10px auto 20px;

    border-radius:50%;

    background:var(--primary);

    color:white;

    display:flex;

    justify-content:center;
    align-items:center;

    font-size:70px;

    font-weight:700;

    animation:
    pulseSuccess
    2.5s infinite;
}

.thanks-title{

    font-size:clamp(70px,8vw,100px);

    line-height:.95;

    font-weight:500;

    letter-spacing:-4px;
}

.thanks-subtitle{

    margin-top:20px;

    font-size:clamp(28px,3vw,38px);

    font-weight:500;
}

.thanks-description{

    max-width:650px;

    margin:20px auto;

    color:#666;

    line-height:1.8;

    font-size:20px;
}

.thanks-buttons{

    margin-top:40px;

    display:flex;

    justify-content:center;

    gap:20px;

    flex-wrap:wrap;
}

@keyframes pulseSuccess{

    0%,100%{

        transform:scale(1);
    }

    50%{

        transform:scale(1.06);
    }

}

/* =====================================
   FIX IOS / MOBILE OVERFLOW
===================================== */

@media(max-width:768px){

    .hero-title,
    .services-title,
    .digital-title,
    .contact-title{

        width:100%;
        max-width:100%;
        overflow-wrap:break-word;
    }

    .hero-container,
    .container,
    .container-column,
    .catalog-layout,
    .contact-layout,
    .footer-container{

        max-width:100%;
    }

    body{
        overflow-x:hidden;
    }
}

/* =====================================
   PARA RESALTAR LINEAS ROJAS DE LOS CONTORNOS
*{
    outline:1px solid red;
}===================================== */
