﻿.canales-page {
    background: #000;
    color: #fff;
}

/* HERO */

.canales-hero {
    position: relative;
    min-height: calc(100vh - 92px);
    background-image: url('/assets/images/CanalesDigitales/canalesdigitales.png');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    overflow: hidden;
}

    .canales-hero::after {
        content: "";
        position: absolute;
        inset: 0;
        background: rgba(0,0,0,.08);
        z-index: 1;
    }

.canales-hero-content {
    width: 55%;
    margin-left: auto;
    margin-right: 4rem;
    text-align: right;
}

    .canales-hero-content p {
        font-size: clamp(1.7rem, 2.8vw, 3.3rem);
        font-weight: 300;
        font-style: italic;
        letter-spacing: 5px;
        margin-bottom: 1rem;
    }

    .canales-hero-content h1 {
        font-size: clamp(3.8rem, 5.8vw, 6.8rem);
        font-weight: 800;
        letter-spacing: 6px;
        line-height: 1.15;
        margin-bottom: 2rem;
    }

    .canales-hero-content span {
        display: block;
        font-size: clamp(1.4rem, 2vw, 2.3rem);
        font-weight: 300;
        line-height: 1.4;
    }

/* SECCIÓN INFO */

.canales-info {
    position: relative;
    background-image: url('/assets/images/CanalesDigitales/Rectangulo10.png');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    padding: 5rem 0 7rem;
    overflow: hidden;
}

.canales-linea {
    position: absolute;
    right: -4%;
    top: 0;
    height: 100%;
    opacity: .35;
    pointer-events: none;
    z-index: 1;
}

.canales-info-content {
    position: relative;
    z-index: 2;
    max-width: 1600px;
}

.canales-intro {
    max-width: 1450px;
    font-size: clamp(1.4rem, 2.2vw, 2.6rem);
    font-weight: 300;
    line-height: 1.4;
    margin-bottom: 5rem;
}

.canal-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
    margin-bottom: 6rem;
}

.canal-image img {
    width: 100%;
    max-width: 720px;
    border-radius: 34px;
    display: block;
}

.canal-webapp .canal-image img {
    margin-left: 0;
}

.canal-core .canal-image img {
    margin-left: auto;
}

.canal-text h2 {
    font-size: clamp(2.2rem, 3.3vw, 4rem);
    font-weight: 800;
    margin-bottom: 2rem;
}

.canal-text p {
    font-size: clamp(1.2rem, 1.8vw, 2rem);
    font-weight: 300;
    line-height: 1.5;
}

/* BOTONES */

.canales-buttons {
    display: flex;
    justify-content: center;
    gap: 5rem;
    flex-wrap: wrap;
    padding-top: 2rem;
}

.canal-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 460px;
    height: 95px;
    border-radius: 999px;
    text-decoration: none;
    font-size: clamp(1.2rem, 1.6vw, 1.8rem);
    font-weight: 800;
    transition: all .3s ease;
}

.canal-btn-orange {
    background: #d5811a;
    color: #f2dea1;
}

.canal-btn-white {
    background: #fff;
    color: #000;
}

.canal-btn:hover {
    transform: translateY(-3px);
    filter: brightness(1.08);
}

/* RESPONSIVE */

@media (max-width: 1199px) {

    .canales-hero-content {
        width: 62%;
        margin-right: 3rem;
    }

    .canal-row {
        gap: 3rem;
    }

    .canal-btn {
        min-width: 420px;
        height: 90px;
    }
}

@media (max-width: 991px) {

    .canales-hero {
        min-height: 85vh;
        background-position: center left;
    }

        .canales-hero::after {
            background: rgba(0,0,0,.45);
        }

    .canales-hero-content {
        width: 100%;
        margin: 0;
        padding: 3rem 1rem;
        text-align: center;
    }

    .canales-intro {
        font-size: 1.5rem;
        margin-bottom: 4rem;
    }

    .canal-row {
        grid-template-columns: 1fr;
        margin-bottom: 5rem;
    }

    .canal-core .canal-text {
        order: 2;
    }

    .canal-core .canal-image {
        order: 1;
    }

    .canal-text h2 {
        font-size: 2.5rem;
    }

    .canal-text p {
        font-size: 1.3rem;
    }

    .canal-btn {
        min-width: 100%;
        height: 85px;
    }

    .canales-buttons {
        gap: 2rem;
    }
}

@media (max-width: 575px) {

    .canales-hero-content h1 {
        font-size: 2.8rem;
        letter-spacing: 2px;
    }

    .canales-hero-content p,
    .canales-hero-content span {
        letter-spacing: 2px;
    }

    .canales-info {
        padding: 3.5rem 0 5rem;
    }

    .canales-intro {
        font-size: 1.1rem;
    }

    .canal-text h2 {
        font-size: 2rem;
    }

    .canal-text p {
        font-size: 1rem;
    }

    .canal-btn {
        height: 70px;
        font-size: 1rem;
    }
}
