/* =========================
   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;
}

.container{
    width:100%;
    max-width:1400px;
    margin:0 auto;
    padding:0 40px;
}

/* =========================
   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:0px 80px;

    display:flex;
    align-items:center;
    justify-content:space-between;

    position:relative;
    z-index:10;
}

.logo{
    width:210px;
}

.logo img {
    width: 190px;
    height: auto;
}

/* =========================
   HERO
========================= */

.hero{
    min-height: calc(100vh - 100px);
    display: flex;
    align-items: center;
}

.hero-content {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 80px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 80px;
}

.hero-texto{

    width: 550px;
    flex-shrink: 0;

    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: 4rem;
    line-height:.95;
    font-weight:600;

    margin-bottom:30px;

    max-width:700px;
}

.hero-texto p{
    margin-top: 36px;
    font-size: 1.2rem;
    line-height: 1.5;
    max-width: 520px;

    color:#000000;

}

/* =========================
   HERO SECTION FONDO
========================= */

.hero-section{
    background:#f3f3f3;
    position:relative;
}

/* =========================
   HERO GALERIA
========================= */

.hero-galeria{

    flex:1;

    display:flex;

    justify-content:center;
    align-items:center;
    flex-shrink: 0;
    gap:18px;
}

/* IMAGENES */

.hero-img{

    flex:0 0 auto;

    width:180px;
    height:500px;

    object-fit:cover;

    border-radius:30px;

    transition:width .7s ease;

    box-shadow:0 15px 40px rgba(255,0,0,.08);
}

.hero-img.activa{

    width:320px;
}

.hero-content{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:80px;
}

.hero-texto .btn-negro {
    margin-top: 35px;
}
/* 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;

    gap:80px;

    width:max-content;

    will-change:transform;

    animation:scrollMarcas 10s 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(calc(-50% - 40px));
    }
}


/* =========================
   EQUIPO
========================= */

.equipo{

    position:relative;

    display:flex;

    align-items:flex-start;

    justify-content:center;

    gap:80px;

    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:100%;
    max-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{

    position:relative;

    width:240px;

    height:340px;

    border-radius:20px;

    overflow:hidden;

    flex-shrink:0;
}

.card-equipo img{

    width:100%;

    height:100%;

    object-fit:cover;

    display:block;
}

.equipo-info{

    position:absolute;

    left:50%;

    bottom:18px;

    transform:translateX(-50%);

    width:88%;

    height:70px; /* altura fija */

    background:#fff;

    border-radius:12px;

    display:flex;

    flex-direction:column;

    justify-content:center;

    text-align:center;
}

.equipo-info h3{

    margin:0;

    font-size:18px;

    font-weight:700;

    color:#222;
}

.equipo-info p{

    margin:3px 0 0;

    font-size:14px;

    color:#666;

    white-space:nowrap;

    overflow:hidden;

    text-overflow:ellipsis;
}



/* =========================
   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:#000;
}

.servicio-info p{

    font-size:18px;

    line-height:1.5;

    color:#111;
}

/* 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:#eef1f5;
    position:relative;
    overflow:hidden;

    text-align:center;
}

.canales::before{

    content:"";

    position:absolute;

    width:80px;
    height:80px;

    border-radius:50%;

    background:radial-gradient(
        circle at 30% 30%,
        #d10000,
        #4d0000
    );

    top:-40px;
    left:18%;

    overflow:visible; /* importante */
}

.canales::after{

    content:"";

    position:absolute;

    width:240px;
    height:240px;

    border-radius:50%;

    background:radial-gradient(
        circle at 30% 30%,
        #c00000,
        #3a0000
    );

    bottom:-120px;
    right:-120px;
}

.canales h2,
.canales .subtitulo,
.cards-canales{
    position:relative;
    z-index:2;
}
/* 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:18px;

    padding: 25px 25px 35px;

    height:520px;

    overflow:hidden;

    text-align:left;

    display: flex;

    flex-direction: column;

    transition:.3s;

    position: relative;
}

/* HOVER */

.card-canal{

    background:#fff;
    border-radius:18px;
    padding:20px 25px 90px 25px; /* espacio inferior reservado */
    min-height:520px;

    display:flex;
    flex-direction:column;
    align-items:flex-start;

    position:relative;

    transform:none !important;

     width:340px;
    height:520px;
    overflow:hidden;
    padding:0;
}

.canal-back{
    display:none;
    min-height:450px;

    background:transparent;
}

.canal-front,
.canal-back{
    width:100%;
    height:100%;
    padding:25px;
    box-sizing:border-box;
}

.btn-perfil,
.btn-volver{

    position:absolute;
    left:50%;
    bottom:25px; /* distancia fija desde abajo */

    transform:translateX(-50%);

    width:160px;
    height:44px;

    border:none;
    border-radius:8px;
    background:#000;
    color:#ffffffea;
    cursor:pointer;

    font-size:16px;
    font-weight:550;
}

.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{


    box-shadow:0 15px 35px rgba(0,0,0,.08);

    transform:none !important;
}

.card-canal:hover::before{
    opacity:1;
}

/* ICONO */

/* ICONO PERSONALIZADO */

.icono-card{

    width:100%;

    display:flex;

    justify-content:center;

    margin-bottom:15px;
}

.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:18px;
}

/* 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:22px;

    line-height:0.5;

    color:#222;

    margin-bottom:12px;

    line-height: 1.4;
}

.perfil-lista{

    font-size:22px;

    line-height:1;


    list-style:none;
    padding-left:0;
    margin-top:20px;
}

.perfil-lista li{
    position:relative;

    padding-left:30px;

    margin-bottom:40px; /* separación entre párrafos */

    font-size:18px;

    line-height:1.4;
}

.perfil-lista li::before{

    content:"↗";

    position:absolute;

    left:0;
    top:0;

    color:#1b5e20;

    font-size:24px;

    font-weight:bold;
}

/* =========================
   CTA
========================= */

.cta{

    background:#fff;

    padding:80px 0 100px;

    position:relative;

    overflow:hidden;

    display:flex;

    flex-direction:column;

    align-items:center;

    text-align:center;

    gap:35px;
}

.cta::before{
    content:"";
    position:absolute;
    width:230px;
    height:230px;
    border-radius:50%;
    background:radial-gradient(
        circle at 30% 30%,
        #c00000,
        #3a0000
    );

    top:-110px;
    right:-110px;
}

/* IMAGEN */

.cta-video{

    width:100%;

    display:flex;

    justify-content:center;

    align-items:center;

    margin:0 auto 50px auto;

    margin-bottom:50px;

    width:950px;

    height:500px;


    object-fit:cover;

    border-radius:6px;
}

.cta-video video{

    display:block;

    width:900px;

    max-width:90%;

    margin:0 auto;

    border-radius:8px;

    box-shadow:0 20px 40px rgba(255,0,0,.08);

    object-fit:cover;
}

.cta-texto{

    max-width:800px;
}

.cta-texto h2{

    font-size:64px;

    margin-bottom:20px;
}

.cta-texto p{

    font-size:24px;

    line-height:1.4;
}


/* BOTON */

.cta-boton{

    display:inline-flex;

    align-items:center;

    margin-top:10px;

    justify-content:center;

    gap:10px;

    padding:18px 40px;

    background:#e10600;

    color:#fff;

    text-decoration:none;

    font-weight:600;

    border-radius:8px;

    transition:.3s;
}

.cta-boton:hover{

    background:#c00000;
}

/* =========================
   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
========================= */

/* =========================
   RESPONSIVE MOVIL
========================= */

@media (max-width:768px){

    /* HEADER */

    .header{

        padding:15px 8px;

        
    }

    .logo{
        width:110px !important;
    }

    .logo img{
        width:100% !important;
        max-width:110px !important;
        height:auto;
    }

    .btn-negro{

        padding:12px 18px;

        font-size:14px;
    }

    /* HERO */

    .hero{

        min-height:auto;

        padding:20px 0;
    }

    .hero-content{

        flex-direction:column;

        

        width:100%;

        max-width:100%;

        padding:0 15px;

        overflow:hidden;
    

        text-align:center;
    }

    .hero-texto{

        width:100%;

        max-width:none;

        transform:none;

        animation:none;
    }

    .hero-texto h1{

        font-size:30px;

        line-height:1.1;

        margin-bottom:20px;
    }

    .hero-texto p{

        font-size:16px;

        max-width:100%;

        color: #222222;
    }

    /* GALERIA */

    .hero-galeria{

        justify-content:center;

        gap:8px;
    }

    .hero-img{

        flex:0 0 auto;

        width:80px;

        border-radius:18px;

        height:220px;

        transition:width .7s ease;
    }

    .hero-img.activa{

        width:160px;
    }

    /* REDES */

    .redes{

        position:static;

        transform:none;

        flex-direction:row;

        justify-content:center;

        gap:15px;

        margin-top:20px;
    }

    .redes a{

        width:52px;
        height:52px;
    }

    /* MARCAS */

    .marcas h2{

        font-size:30px;

        line-height:1.15;

        margin-bottom:40px;
    }

    .logo-slider img{
        max-height:60px;
    }

    .marcas-track{
        gap:40px;

        animation:scrollMarcasMobile 10s linear infinite;
    }

    .marcas-track img{

        height:55px;
    }

    @keyframes scrollMarcasMobile{

    from{
        transform:translateX(0);
    }

    to{
        transform:translateX(calc(-50% - 20px));
    }}

}

@media (max-width:768px){

    .equipo{

        flex-direction:column;

        align-items:center;

        gap:25px;

        padding:60px 15px;

        text-align:center;
    }

    .equipo-texto{

        max-width:100%;

        width:100%;

        margin:0;
    }

    .equipo-texto h2{

        font-size:28px;

        margin-bottom:15px;
    }

    .equipo-texto p{

        font-size:16px;

        max-width:100%;
    }

    .equipo-slider{

        position:relative;

        padding-top:60px;
    }

    .btn-prev{

        top:10px !important;

        left:50% !important;

        transform:translateX(-120%);
    }

    .btn-next{

        top:10px !important;

        left:50% !important;

        transform:translateX(20%);
    }

    .equipo-cards{

        width:100%;

        max-width:300px;

        gap:0;
    }

    .card-equipo{

        width:300px;

        height:380px;
    }

    .equipo-decoracion{

        width:140px;

        height:140px;

        left:-70px;

        bottom:120px;

        z-index:0;
    }

    .equipo-slider,
    .equipo-cards{

        position:relative;

        z-index:2;
    }

}

@media (max-width:768px){

    .servicios h2{

        font-size:25px;

        line-height:1.2;
    }

    .servicios p{

        max-width:320px;

        margin:0 auto;

        font-size:16px;

        padding-bottom: 40px;
    }

}

@media (max-width:768px){

    /* SECCIÓN CANALES */

.canales{

    padding:60px 20px;
}

.canales h2{

    font-size:26px;

        line-height:1.15;

        max-width:340px;

        margin:0 auto 20px;

        white-space:normal !important;
}

.canales .subtitulo{

     font-size:16px;

        line-height:1.5;

        max-width:380px;

        margin:0 auto 40px;

        white-space:normal !important;
}

/* CARDS */

.cards-canales{

    display:flex;

    justify-content:center;

    flex-wrap:wrap;

    gap:20px;
}

.card-canal{

    width:100%;

    max-width:310px;

    min-height:480px;

    padding:25px 20px 90px;

    margin:0 auto;
}

/* ICONO */

.icono-card img{

    width:60px;

    height:60px;
}

/* TITULO */

.card-canal h3{

    font-size:22px;

    text-align:center;

    margin-bottom:25px;
}

/* TEXTO */

.card-canal p{

    font-size:20px;

    line-height:1.25;
}

/* BOTÓN */

.btn-perfil{

    width:160px;

    height:40px;

    font-size:15px;

    bottom:30px;
}

}

@media (max-width:768px){

    .canales::after{

    width:120px;
    height:120px;

    right:-60px;
    bottom:-60px;
}

/* INICIO DE CTA */

.cta::before{

    width:120px;
    height:120px;

    right:-60px;
    top:-60px;
}

}

@media (max-width:768px){

    .cta-video{

        width:100%;

        height:auto;

        display:block;

        margin:0 auto;
    }

    .cta h2{

        font-size:32px;

        max-width:250px;

        margin:0 auto 15px;

        line-height:1.15;
    }

    .cta p{

        font-size:18px;

        line-height:1.5;

        max-width:90%;

        margin:0 auto 25px;

        color: #222222;
    }

}

@media (max-width:768px){

    .footer{

        flex-direction:column;

        gap:15px;

        padding:30px 20px 70px;

        text-align:center;

    }

    .footer img{

        width:170px;
    }

    .footer-info{

        flex-direction:column;

        gap:35px;

        align-items:center;
    }

    .footer-info span{

        font-size:18px;

        justify-content:center;
    }

}




html,
body{
    overflow-x:hidden;
}