/*
 * Página de suscripción (template-suscripcion.php). Solo estilos fijos: qué país se ve lo decide el
 * <style id="susc-visibility"> que genera la plantilla desde includes/suscripcion-data.php.
 */

.container-wrap.susc-wrap {
    margin-bottom: 0 !important;
    padding-top: 0 !important;
}

.susc {
    text-align: center;
}

.susc h2 {
    color: #214099;
    font-weight: lighter;
}

/* Héroe */
.susc-hero,
.susc-hero img {
    display: block;
    width: 100%;
    height: auto;
}

/* Burbuja "¿Qué es Edye?": solo escritorio, acompaña el scroll bajo el menú. */
.susc-float {
    display: none;
}
@media only screen and (min-width: 992px) {
    .susc-float {
        display: block;
        position: sticky;
        top: 90px;
        height: 0;
        width: 177px;
        z-index: 2;
        line-height: 0;
    }
    .susc-float img {
        display: block;
        width: 177px;
        height: auto;
    }
}

/* Bloques */
.susc-section {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 25px 70px;
}
@media only screen and (min-width: 600px) {
    .susc-section {
        padding-left: 50px;
        padding-right: 50px;
    }
}
/* Escritorio: deja libre el lado izquierdo para la burbuja "¿Qué es Edye?" (177 px). */
@media only screen and (min-width: 992px) {
    .susc-section {
        max-width: 1160px;
        padding-left: 150px;
        padding-right: 150px;
    }
}
.susc-narrow {
    max-width: 860px;
}
.susc-title {
    padding-top: 15px;
    padding-bottom: 40px;
}
.susc-apps {
    padding-bottom: 100px;
}

/* Logos de operadores */
.susc-ops {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    gap: 15px 30px;
    justify-content: center;
    align-items: center;
    margin-top: 15px;
}
@media only screen and (max-width: 1000px) {
    .susc-ops {
        flex-direction: column;
        gap: 20px;
    }
}
.susc-ops img {
    display: block;
    max-height: 60px;
    width: auto;
    padding: 0;
    margin: 0;
}
.susc-ops a {
    display: inline-block;
    max-height: 60px;
    line-height: 0;
    transition: transform 0.2s;
    padding: 0;
    margin: 0;
}
.susc-ops a:hover {
    transform: scale(1.1);
}
.susc-included {
    font-size: 11px;
    display: block;
    margin-top: 3px;
}

/* Suscripción directa */
.susc-btn {
    font-family: Fredoka, sans-serif;
    font-size: 18px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    padding: 5px 20px;
    border-radius: 100px;
    transition: all 0.5s;
    display: inline-block;
    border: 3px solid #f37780;
    min-width: 150px;
    color: #fff;
    background-color: #f37780;
}
.susc-btn:hover {
    color: #323232;
}
.susc-direct-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
}
.susc-direct-logo a {
    display: block;
    width: 30%;
    max-width: 300px;
    min-width: 200px;
    line-height: 0;
    transition: transform 0.2s;
}
.susc-direct-logo a:hover {
    transform: scale(1.1);
}
.susc-direct-logo img {
    display: block;
    width: 100%;
    height: auto;
}

/* Apps */
.susc-badges {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 25px;
    margin-top: 35px;
}
.susc-badges a,
.susc-badges span {
    display: block;
    width: 30%;
    max-width: 200px;
    min-width: 150px;
    line-height: 0;
    transition: transform 0.2s;
}
.susc-badges a:hover {
    transform: scale(1.1);
}
.susc-badges img {
    display: block;
    width: 100%;
    height: auto;
}

/* Lista de países (acordeón sin JS: <details> con un solo panel abierto a la vez) */
.susc-listed,
.susc-section.susc-listed {
    max-width: 1200px;
    padding-bottom: 80px;
}
@media only screen and (min-width: 992px) {
    .susc-section.susc-listed {
        padding-left: 50px;
        padding-right: 50px;
    }
}
.susc-cols {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 373px));
    gap: 0 20px;
    justify-content: center;
    margin-top: 30px;
    text-align: left;
    align-items: start;
}
@media only screen and (max-width: 1000px) {
    .susc-cols {
        grid-template-columns: minmax(0, 373px);
    }
}
.susc-acc {
    margin-bottom: 10px;
    border-radius: 20px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    padding: 0 30px;
}
@media only screen and (max-width: 1000px) {
    .susc-acc {
        padding: 0;
    }
}
.susc-acc summary {
    position: relative;
    cursor: pointer;
    list-style: none;
    font-size: 20px;
    line-height: 1;
    color: #214099;
    padding: 10px 0 10px 40px;
}
.susc-acc summary::-webkit-details-marker {
    display: none;
}
.susc-acc summary::before {
    content: "+";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    text-align: center;
    font-size: 24px;
    color: #214099;
}
.susc-acc[open] summary::before {
    content: "\2212";
}
.susc-ops-mini {
    margin-top: 0;
    padding: 10px 0 25px;
    flex-direction: row;
}
.susc-ops-mini img {
    max-height: 25px;
}
.susc-ops-mini a {
    max-height: 25px;
}
/* País sin operadores: fila de la lista sin acordeón */
.susc-acc-flat {
    font-size: 20px;
    line-height: 1;
    color: #214099;
    padding: 10px 30px 10px 70px;
}
@media only screen and (max-width: 1000px) {
    .susc-acc-flat {
        padding: 10px 0 10px 40px;
    }
}
