/* =========================
   RESET
========================= */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    margin:0;
    font-family:'DM Sans', sans-serif;
    background:#fff;
    color:#111111;
    overflow-x:hidden;
}

img{
    max-width:100%;
    display:block;
}

a{
    text-decoration:none;
}

/* =========================
   VARIABLES
========================= */

:root{
    --rojo:#d60000;
    --negro:#111;
    --gris:#f3f3f3;
    --gris2:#e9e9e9;
}

/* =========================
   BOTONES
========================= */

.btn-negro{
    background:#000;
    color:#fff;

    padding:15px 28px;

    border-radius:12px;

    display:inline-flex;
    align-items:center;
    justify-content:center;

    transition:.3s;
}

.btn-negro:hover{
    transform:translateY(-3px);
}

.btn-rojo{
    background:var(--rojo);
    color:#fff;

    padding:18px 40px;

    border-radius:12px;

    display:inline-flex;
    align-items:center;
    justify-content:center;

    font-weight:600;

    transition:.3s;
}

.btn-rojo:hover{
    transform:translateY(-3px);
}

/* =========================
   HEADER
========================= */

.header{
    width:100%;

    padding:25px 8%;

    display:flex;
    align-items:center;
    justify-content:space-between;

    position:relative;
    z-index:10;
}

.logo{
    width:170px;
}

/* =========================
   HERO
========================= */

.hero{
    width:100%;
    min-height:90vh;

    display:flex;
    align-items:center;
    justify-content:space-between;

    gap:60px;

    padding:30px 8% 80px;
}

.hero-texto{

    flex : 1;

    opacity:1;

    transform:translateX(-80px);

    animation:entradaIzquierda 2s ease forwards;
}

@keyframes entradaIzquierda{

    from{
        opacity:0;

        transform:translateX(-3500px);
    }

    to{

        opacity:1;
        transform:translateX(0);
    }
}

.hero-texto h1{
    font-size:78px;
    line-height:.95;
    font-weight:600;

    margin-bottom:30px;

    max-width:700px;
}

.hero-texto p{
    font-size:26px;
    line-height:1.5;

    color:#111111;

    margin-bottom:40px;

    max-width:700px;
}

/* =========================
   HERO SECTION FONDO
========================= */

.hero-section{
    background:#f3f3f3;
    position:relative;
}

/* =========================
   HERO GALERIA
========================= */

.hero-galeria{

    flex:1;

    display:flex;

    justify-content:center;
    align-items:center;

    gap:20px;
}

/* IMAGENES */

.hero-img{

    width:160px;
    height:500px;

    object-fit:cover;

    border-radius:30px;

    transition:
    width .7s ease,
    transform .4s ease;

    box-shadow:0 15px 40px rgba(255,0,0,.08);
}

/* IMAGEN ACTIVA */

.hero-img.activa{
    width:320px;
}

/* hover */


/* =========================
   REDES
========================= */

.redes{
    position:absolute;

    right:25px;
    top:50%;

    transform:translateY(-50%);

    display:flex;
    flex-direction:column;

    gap:18px;

    z-index:100;
}

.redes a{
    width:58px;
    height:58px;

    border-radius:50%;

    background:#b50000;
    color:#fff;

    display:flex;
    align-items:center;
    justify-content:center;

    font-size:22px;

    transition:.3s;
}

.redes a:hover{
    transform:scale(1.1);
}

/* =========================
   MARCAS
========================= */

.marcas{

    padding:80px 0;

    overflow:hidden;

    background:#fff;
}

.marcas h2{

    text-align:center;

    font-size:52px;

    font-weight:600;

    color:#111;

    margin-bottom:70px;
}

/* CONTENEDOR DEL CARRUSEL */

.marcas-slider{

    width:80%;

    margin:0 auto;

    overflow:hidden;

    position:relative;
}

.marcas-track{

    display:flex;

    align-items:center;

    justify-content:center;

    gap:100px;

    width:max-content;

    animation:scrollMarcas 12s linear infinite;
}

/* LOGOS */

.marcas-track img{

    height:110px;

    width:auto;

    object-fit:contain;

    flex-shrink:0;

    transition:.3s;
}

.marcas-track img:hover{

    transform:scale(1.08);
}



/* ANIMACIÓN */

@keyframes scrollMarcas{

    from{
        transform:translateX(0);
    }

    to{
        transform:translateX(-50%);
    }
}


/* =========================
   EQUIPO
========================= */

.equipo{

    position:relative;

    display:flex;

    align-items:flex-start;

    justify-content:space-between;

    gap:80px;

    overflow:hidden;

    padding:80px 100px;
}

/* SEMICÍRCULO */

.equipo-decoracion{

    position:absolute;

    left:-120px;

    bottom:40px;

    width:240px;

    height:240px;

    border-radius:50%;

    background:linear-gradient(
        180deg,
        #ff0000,
        #9b0000
    );

    z-index:1;
}

/* TEXTO */

.equipo-texto{

    width:500px;

    margin-top:20px;

    margin-left:60px;
}

.equipo-texto h2{

    font-size:42px;

    font-weight:700;

    margin-bottom:25px;

    line-height:1.1;
}

.equipo-texto p{

    font-size:22px;

    line-height:1.3;

    max-width:500px;

    color:#222;
}

/* FLECHAS */

.equipo-botones{

    display:flex;

    justify-content:flex-start;

    gap:10px;

    margin-bottom:20px;

    padding-right:40px;
}

.equipo-botones button{

    width:30px;
    height:30px;

    font-size:11px;

    border-radius:50%;


    border:2px solid #ab0303;

    background:#fff;

    color:#e3000064;

    cursor:pointer;
}

/* BOTÓN DERECHA (ROJO) */

/* BOTÓN IZQUIERDO */

.btn-prev{

    position:absolute;

    top:-55px;
    left:0;

    width:36px;
    height:36px;

    border-radius:50%;

    background:#fff;

    color:#e10000;

    border:2px solid #e10000;

    z-index:10;
}

/* BOTÓN DERECHO */

.btn-next{

    position:absolute;
    top:-55px;
    left:50px;

    width:36px;
    height:36px;

    border-radius:50%;

    background:#e10000;

    color:#fff;

    border:2px solid #e10000;

    z-index:10;
}

/* HOVER */

.btn-prev:hover{

    background:#fff5f5;
}

.btn-next:hover{

    background:#c90000;

    border-color:#c90000;
}

.equipo-slider{

    position:relative;

    display:flex;

    align-items:center;

    margin-left:0;
    
}

.equipo-cards{

    display:flex;

    gap:20px;

    width:780px; /* 3 imágenes de 240px + gaps */

    overflow:hidden;
}

.card-equipo{

    width:240px;

    height:340px;

    object-fit:cover;

    border-radius:20px;

    flex-shrink:0;
}

.card-equipo img{

    width:100%;

    height:100%;

    object-fit:cover;
}



/* =========================
   SERVICIOS
========================= */

.servicios{

    padding:120px 0;

    overflow:hidden;

    text-align:center;

    background:linear-gradient(
        to bottom,
        #ffffff 0%,
        #fff8f8 45%,
        #f7d7d7 100%
    );
}

/* TITULO */

.servicios h2{

    font-size:44px;

    font-weight:600;

    margin-bottom:15px;

    color:#111;
}

/* SUBTITULO */

.servicios-subtitulo{

    font-size:20px;

    color:#444;

    margin-bottom:80px;
}

/* CONTENEDOR GENERAL */

.servicios-slider{

    position:relative;

    width:100%;

    max-width:1400px;

    margin:0 auto;
}

/* FLECHAS */

.servicios-prev,
.servicios-next{

    position:absolute;

    top:50%;

    transform:translateY(-50%);

    width:50px;
    height:50px;

    border-radius:50%;

    display:flex;

    align-items:center;
    justify-content:center;

    cursor:pointer;

    z-index:100;

    font-size:18px;

    transition:.3s;
}

/* IZQUIERDA */

.servicios-prev{

    left:20px;

    background:#fff;

    color:#e10000;

    border:2px solid #e10000;
}

/* DERECHA */

.servicios-next{

    right:20px;

    background:#fff;

    color:#e10000;

    border:2px solid #e10000;
}

/* HOVER */

.servicios-prev:hover,
.servicios-next:hover{

    transform:translateY(-50%) scale(1.08);
}

/* VIEWPORT */

.servicios-viewport{

    width:1300px;

    margin:auto;

    overflow:hidden;
}

/* TRACK */

.servicios-track{

    display:flex;

    justify-content:center;

    align-items:flex-start;

    gap:35px;

    min-height:700px;
}

/* CARD */

.servicio-card{

    width:380px;

    flex:0 0 380px;

    background:#fff;

    border-radius:35px;

    overflow:hidden;

    box-shadow:
        0 20px 45px rgba(0,0,0,.08);

    transition:
        transform .8s cubic-bezier(.22,.61,.36,1),
        box-shadow .8s cubic-bezier(.22,.61,.36,1);

    will-change:transform;
}

/* POSICIONES */

.servicio-card.left{

    order:1;

    transform:translateY(0);
}

.servicio-card.active{

    order:2;

    transform:translateY(70px);

    box-shadow:
        0 30px 60px rgba(0,0,0,.12);
}

.servicio-card.right{

    order:3;

    transform:translateY(0);
}

/* IMAGEN */

.servicio-card img{

    width:100%;

    height:260px;

    object-fit:cover;

    display:block;
}

/* TEXTO */

.servicio-info{

    padding:28px;
}

.servicio-info h3{

    font-size:24px;

    font-weight:600;

    margin-bottom:15px;

    color:#111;
}

.servicio-info p{

    font-size:16px;

    line-height:1.5;

    color:#444;
}

/* RESPONSIVE */

@media(max-width:1200px){

    .servicios-viewport{

        width:900px;
    }

    .servicio-card{

        width:280px;

        flex-basis:280px;
    }
}

@media(max-width:900px){

    .servicios h2{

        font-size:38px;
    }

    .servicios-subtitulo{

        font-size:18px;
    }

    .servicios-viewport{

        width:320px;
    }

    .servicio-card{

        width:320px;

        flex-basis:320px;
    }

    .servicio-card.left,
    .servicio-card.right{

        display:none !important;
    }

    .servicio-card.active{

        transform:translateY(0);
    }

    .servicios-prev{

        left:0;
    }

    .servicios-next{

        right:0;
    }
}

/* =========================
   CANALES
========================= */

.canales{

    padding:110px 8%;

    background:#fff;

    text-align:center;
}

/* TITULO */

.canales h2{

    font-size:40px;

    font-weight:600;

    margin-bottom:14px;

    color:#000;

    white-space:nowrap;
}

/* SUBTITULO */

.subtitulo{

    font-size:22px;

    line-height:1.4;

    color:#000;

    margin:0 auto 55px auto;

    white-space:nowrap;
}

/* CONTENEDOR */

.cards-canales{

    display:flex;

    justify-content:center;

    align-items:stretch;

    gap:28px;

    flex-wrap:nowrap;
}

/* CARD */

.card-canal{

    width:340px;

    background:#fff;

    border:1px solid #ececec;

    border-radius:14px;

    padding:32px 24px;

    min-height:470px;

    text-align:left;

    transition:.3s;
}

/* HOVER */

.card-canal{

    position:relative;

    overflow:hidden;

    transition:.35s;
}

.card-canal::before{

    content:"";

    position:absolute;

    inset:0;

    background:linear-gradient(
        to top,
        rgba(255,0,0,.22),
        transparent 45%
    );

    opacity:0;

    transition:.35s;

    pointer-events:none;
}

/* EFECTO HOVER */

.card-canal:hover{

    transform:translateY(-6px);

    box-shadow:0 15px 35px rgba(0,0,0,.08);
}

.card-canal:hover::before{
    opacity:1;
}

/* ICONO */

/* ICONO PERSONALIZADO */

.icono-card{

    width:100%;

    display:flex;

    justify-content:center;

    margin-bottom:28px;
}

.icono-card img{

    width:64px;
    height:64px;

    object-fit:contain;
}

/* TITULO CARD */

.card-canal h3{

    font-size:26px;

    text-align:center;

    font-weight:600;

    color:#111;

    margin-bottom:20px;
}

/* SUBTITULO PERFIL */

.card-canal h4{

    font-size:17px;

    font-weight:700;

    margin-top:26px;

    margin-bottom:12px;

    color:#111;
}

/* TEXTO */

.card-canal p{

    font-size:17px;

    line-height:1.5;

    color:#222;

    margin-bottom:16px;
}

/* =========================
   CTA
========================= */

.cta{
    padding:140px 8%;

    text-align:center;
}

.cta h2{
    font-size:75px;

    margin-bottom:30px;
}

.cta p{
    font-size:30px;

    color:#111;

    margin-bottom:50px;
}

/* =========================
   FOOTER
========================= */

/* =========================
   FOOTER
========================= */

.footer{

    width:100%;

    background:#222;

    padding:35px ;

    display:flex;

    align-items:center;
    justify-content:center;

    gap:220px;

    flex-wrap:wrap;
}

/* LOGO */

.footer img{

    width:170px;
}

/* INFO */

.footer-info{

    display:flex;

    align-items:center;

    gap:120px;

    flex-wrap:wrap;
}

/* ITEMS */

.footer-info span{

    color:#fff;

    display:flex;

    align-items:center;

    gap:14px;

    font-size:22px;

    font-weight:500;
}

/* ICONOS */

.footer-info i{

    font-size:20px;
}

/* =========================
   RESPONSIVE
========================= */

@media(max-width:1200px){

    .hero-texto h1{
        font-size:60px;
    }

    .hero-texto p{
        font-size:20px;
    }

    .hero-galeria img{
        width:150px;
        height:420px;
    }

    .cta h2{
        font-size:65px;
    }

    .cards-canales{
        grid-template-columns:1fr;
    }
}

@media(max-width:900px){

    .hero,
    .equipo,
    .servicios{
        flex-direction:column;
    }

    .hero{
        text-align:center;
    }

    .hero-texto h1{
        font-size:50px;
        max-width:100%;
    }

    .hero-texto p{
        max-width:100%;
    }

    .hero-galeria{
        width:100%;
    }

    .hero-galeria img{
        width:30%;
        height:340px;
    }

    .marcas h2,
    .servicios-info h2,
    .canales h2{
        font-size:42px;
    }

    .cta h2{
        font-size:52px;
    }

    .equipo-texto p{
        font-size:26px;
    }

    .logos{
        justify-content:center;
    }

    .footer{
        flex-direction:column;
        text-align:center;
    }

    .footer-info{
        justify-content:center;
    }
}

@media(max-width:600px){

    .header{
        padding:20px;
    }

    .hero,
    .marcas,
    .equipo,
    .servicios,
    .canales,
    .cta{
        padding-left:20px;
        padding-right:20px;
    }

    .hero-texto h1{
        font-size:38px;
    }

    .hero-texto p{
        font-size:18px;
    }

    .hero-galeria{
        flex-direction:column;
    }

    .hero-galeria img{
        width:100%;
        height:300px;
    }

    .servicio-box h3{
        font-size:28px;
    }

    .card-canal h3{
        font-size:28px;
    }

    .cta h2{
        font-size:42px;
    }

    .cta p{
        font-size:22px;
    }

    .btn-negro,
    .btn-rojo{
        width:100%;
    }

    .redes{
        bottom:20px;
        top:auto;

        transform:none;

        right:50%;

        flex-direction:row;

        transform:translateX(50%);
    }

    .footer-info span{
        font-size:18px;
    }
}

@media(max-width:900px){

    .hero-slider{
        width:100%;
        height:420px;
    }

    .slide img:nth-child(1),
    .slide img:nth-child(3){
        width:110px;
        height:300px;
    }

    .slide img:nth-child(2){
        width:220px;
        height:420px;
    }
}

@media(max-width:600px){

    .hero-slider{
        height:320px;
    }

    .slide{
        gap:10px;
    }

    .slide img:nth-child(1),
    .slide img:nth-child(3){
        width:70px;
        height:220px;
    }

    .slide img:nth-child(2){
        width:160px;
        height:320px;
    }
}

@media(max-width:900px){

    .equipo{

        grid-template-columns:1fr;

        gap:50px;
    }

    .equipo-cards{

        overflow:auto;
    }
}

@media(max-width:900px){

    .equipo{

        grid-template-columns:1fr;

        gap:50px;
    }

    .equipo-texto{

        text-align:center;
    }

    .equipo-texto p{

        max-width:100%;
    }

    .equipo-derecha h2{

        text-align:center;
    }

    .equipo-cards{

        justify-content:center;
    }
}

@media(max-width:600px){

    .card-equipo{

        max-width:100%;

        height:380px;
    }

    .equipo-texto p{

        font-size:22px;
    }

    .equipo-derecha h2{

        font-size:38px;
    }
}

@media(max-width:900px){

    /* =========================
       EQUIPO
    ========================= */

    .equipo{

        grid-template-columns:1fr;

        gap:40px;
    }

    .equipo-texto{

        text-align:center;
    }

    .equipo-texto p{

        max-width:100%;
    }

    .equipo-derecha h2{

        text-align:center;
    }

    .equipo-cards{

        flex-direction:column;

        align-items:center;

        gap:20px;
    }

    .card-equipo{

        width:100%;

        max-width:320px;
    }

    /* =========================
       CANALES
    ========================= */

    .cards-canales{

        flex-direction:column;

        align-items:center;

        gap:22px;
    }

    .card-canal{

        width:100%;

        max-width:350px;
    }

    /* TITULOS */

    .canales h2{

        white-space:normal;
    }

    .subtitulo{

        white-space:normal;
    }
}
/* =========================
   RESPONSIVE
========================= */

@media(max-width:768px){

    .marcas h2{

        font-size:36px;

        margin-bottom:50px;
    }

    .marcas-track{

        gap:70px;

        animation-duration:18s;
    }

    .marcas-track img{

        height:55px;
    }
}