
/* =========================================================
   PUBLICIDAD - PÁGINA DE INICIO
   ========================================================= */

.publicidad-inicio {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 25px 80px;
}

.publicidad-titulo {
    text-align: center;
    margin-bottom: 35px;
}

.publicidad-etiqueta {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    padding: 8px 16px;
    border-radius: 30px;

    background: #eee9ff;
    color: #5b43ff;

    font-size: 13px;
    font-weight: 800;
    letter-spacing: .7px;
}

.publicidad-titulo h2 {
    margin: 14px 0 8px;

    color: #24164f;
    font-size: 32px;
    font-weight: 800;
}

.publicidad-titulo p {
    margin: 0;
    color: #666;
    font-size: 16px;
}

/* Tarjetas */

.publicidad-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.publicidad-card {
    position: relative;
    min-height: 310px;

    display: flex;
    align-items: flex-end;

    overflow: hidden;

    border-radius: 24px;

    box-shadow: 0 12px 30px rgba(36, 22, 79, .16);

    background: #24164f;
}

/* Brillo decorativo */

.publicidad-card::before {
    content: "";

    position: absolute;
    width: 190px;
    height: 190px;

    top: -70px;
    right: -50px;

    border-radius: 50%;

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

.publicidad-card::after {
    content: "";

    position: center;
    width: 120px;
    height: 120px;

    bottom: -55px;
    left: -35px;

    border-radius: 50%;

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

.publicidad-streaming {
    background: linear-gradient(145deg, #5b43ff, #24164f);
}

.publicidad-pulgas {
    background: linear-gradient(145deg, #153f78, #24164f);
}

.publicidad-servicios {
    background: linear-gradient(145deg, #24164f, #07162d);
}

.publicidad-contenido {
    position: relative;
    z-index: 2;

    width: 100%;
    padding: 28px;
}

.publicidad-badge {
    display: inline-block;

    margin-bottom: 12px;
    padding: 6px 12px;

    border-radius: 20px;

    background: #ffc400;
    color: #24164f;

    font-size: 11px;
    font-weight: 800;
}

.publicidad-card h3 {
    margin: 0 0 12px;

    color: #ffffff;

    font-size: 25px;
    line-height: 1.2;
    font-weight: 800;
}

.publicidad-card p {
    margin: 0 0 22px;

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

    font-size: 14px;
    line-height: 1.6;
}

.publicidad-btn {
    display: inline-flex;
    align-items: center;
    gap: 9px;

    padding: 12px 18px;

    border-radius: 11px;

    background: #ffc400;
    color: #24164f;

    text-decoration: none;

    font-size: 14px;
    font-weight: 800;

    transition: .2s ease;
}

.publicidad-btn:hover {
    transform: translateY(-2px);
    background: #ffd633;
    box-shadow: 0 7px 18px rgba(0,0,0,.2);
}

/* =========================================================
   ESPACIO PARA FUTURO VIDEO
   ========================================================= */

.publicidad-video {
    margin-top: 30px;

    min-height: 280px;

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

    border-radius: 25px;

    overflow: hidden;

    background: linear-gradient(135deg, #120b2d, #392276);

    box-shadow: 0 12px 30px rgba(36,22,79,.16);
}

.video-placeholder {
    width: 100%;
    max-width: 700px;

    padding: 50px 25px;

    text-align: center;
}

.video-placeholder > i {
    width: 70px;
    height: 70px;

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

    margin-bottom: 15px;

    border-radius: 50%;

    background: #ffc400;
    color: #24164f;

    font-size: 27px;
}

.video-placeholder h3 {
    margin: 0 0 10px;

    color: #ffffff;
    font-size: 25px;
}

.video-placeholder p {
    margin: 0;

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

    font-size: 15px;
    line-height: 1.6;
}

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

@media (max-width: 900px) {

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

    .publicidad-card {
        min-height: 260px;
    }
}

@media (max-width: 600px) {

    .publicidad-inicio {
        padding: 40px 15px 60px;
    }

    .publicidad-titulo h2 {
        font-size: 27px;
    }

    .publicidad-titulo p {
        font-size: 14px;
    }

    .publicidad-card {
        min-height: 280px;
    }

    .publicidad-contenido {
        padding: 24px;
    }

    .publicidad-card h3 {
        font-size: 23px;
    }

    .publicidad-video {
        min-height: 250px;
    }
}

/* =========================================================
   VIDEO PUBLICITARIO
   ========================================================= */

.video-publicidad {
    width: 100%;
    max-width: 1100px;
    margin: 40px auto;
    padding: 35px 25px;

    text-align: center;

    background: linear-gradient(135deg, #24164f, #392276);

    border-radius: 28px;

    box-shadow: 0 15px 35px rgba(36, 22, 79, .20);
}

.video-publicidad-titulo span {
    display: inline-block;

    padding: 7px 15px;

    border-radius: 20px;

    background: #ffc400;
    color: #24164f;

    font-size: 12px;
    font-weight: 800;
}

.video-publicidad-titulo h2 {
    margin: 12px 0 25px;

    color: #ffffff;

    font-size: 30px;
    font-weight: 800;
}

.video-contenedor {
    width: 100%;
    max-width: 900px;
    margin: auto;

    overflow: hidden;

    border-radius: 20px;

    background: #000;

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

.video-contenedor video {
    display: block;

    width: 100%;
    height: auto;

    max-height: 520px;

    object-fit: contain;
}

/* CELULAR */

@media (max-width: 600px) {

    .video-publicidad {
        margin: 30px auto;
        padding: 25px 15px;

        border-radius: 20px;
    }

    .video-publicidad-titulo h2 {
        font-size: 24px;
    }

    .video-contenedor {
        border-radius: 14px;
    }
}

/* =========================================================
   PUBLICIDAD CON IMAGEN
   ========================================================= */

.publicidad-imagen {
    position: relative;
    width: 100%;
    max-width: 850px;
    margin: 35px auto;

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

    overflow: hidden;

    border-radius: 24px;
    background: #120b2d;

    box-shadow: 0 15px 35px rgba(36, 22, 79, 0.20);
}

.publicidad-imagen img {
    display: block;

    width: auto;
    max-width: 100%;
    height: auto;

    max-height: 700px;

    object-fit: contain;
}


/* BOTÓN SOBRE LA IMAGEN */

.publicidad-imagen-overlay {
    position: absolute;

    left: 0;
    right: 0;
    bottom: 0;

    display: flex;
    justify-content: center;

    padding: 22px;

    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.75),
        transparent
    );

    opacity: 0;
    transition: opacity 0.25s ease;
}

.publicidad-imagen:hover .publicidad-imagen-overlay {
    opacity: 1;
}


/* BOTÓN */

.publicidad-imagen .publicidad-btn {
    display: inline-flex;
    align-items: center;
    gap: 9px;

    padding: 12px 22px;

    border-radius: 12px;

    background: #ffc400;
    color: #24164f;

    text-decoration: none;

    font-weight: 800;
}


/* =========================================================
   CELULAR
   ========================================================= */

@media (max-width: 600px) {

    .publicidad-imagen {
        width: calc(100% - 30px);
        margin: 25px auto;

        border-radius: 16px;
    }

    .publicidad-imagen img {
        width: 100%;
        max-width: 100%;
        max-height: none;
    }

    .publicidad-imagen-overlay {
        opacity: 1;
        padding: 12px;
    }

    .publicidad-imagen .publicidad-btn {
        font-size: 13px;
        padding: 10px 16px;
    }
}
