/* ========== BASE STYLES ========== */
.single-publicacion-digital {
    font-family: "Uncut Sans";
    overflow-x: hidden;
}

.single-publicacion-digital main {
    padding: 0 34px;
}

.single-publicacion-digital h2 {
    font-family: "Uncut Sans";
    font-size: 48px;
    line-height: normal;
    margin: 0;
    font-weight: 700;
}

.single-publicacion-digital h3 {
    text-align: center;
    font-size: 32px;
    line-height: normal;
    margin: 0;
    text-wrap: balance;
    font-weight: 700;
}

.single-publicacion-digital h4 {
    font-size: 24px;
    line-height: normal;
    font-weight: 400;
}

.single-publicacion-digital h3,
.single-publicacion-digital strong,
.single-publicacion-digital b {
    font-family: "Uncut Sans";
    font-weight: 700;
}

.single-publicacion-digital p {
    line-height: normal;
    margin: 0;
}

.single-publicacion-digital hr {
    margin: 60px 0;
    border: none;
    border-top: 1px solid #000000;
}

/* ========== SECCIÓN 01: HERO ========== */
#hero-pd {
    text-align: center;
    padding: 30px 34px 0;
    margin: 0 auto;
}

#hero-pd h2 {
    margin-bottom: 40px;
    line-height: normal;
}

#hero-pd h4 {
    line-height: normal;
    max-width: 900px;
    margin: 0 auto 60px;
    font-weight: 400;
}

#hero-pd #logo-clientes {
    width: 100%;
    overflow: hidden !important;
    margin: 80px 0;
}

#hero-pd .marquee-track {
    display: flex;
    flex: 0 0 auto;
}

#hero-pd .marquee-content {
    width: fit-content;
    display: flex;
    justify-content: space-around;
}

#hero-pd .marquee-content img {
    display: block;
    margin: 0 20px;
    max-width: 150px;
    opacity: 1;
    filter: none;
}

#hero-pd .placeholder-video {
    width: 100%;
    max-width: none;
    aspect-ratio: 16/9;
    border-radius: 0;
}

#hero-pd .placeholder-video img,
#hero-pd .placeholder-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ========== SECCIÓN 02: PARA QUIÉN ========== */
#para-quien-pd {
    padding: 130px 20px 60px;
    margin: 0 auto;
    text-align: center;
}

#para-quien-pd h3 {
    margin-bottom: 60px;
}

#para-quien-pd .copy {
    max-width: 875px;
    margin: 0 auto;
}

#para-quien-pd .copy p {
    font-family: "Uncut Sans";
    font-size: 24px;
    font-weight: 400;
    line-height: normal;
    margin-bottom: 30px;
    text-align: center;
}

#para-quien-pd .copy p:last-of-type {
    margin-bottom: 0;
}

/* ========== SECCIÓN 03: SOYUZ.PANEL ========== */
#soyuz-panel-pd {
    padding: 140px 20px 70px;
    text-align: center;
}

#soyuz-panel-pd h3 {
    margin-bottom: 20px;
}

#soyuz-panel-pd .subtitulo {
    font-family: "Uncut Sans";
    font-size: 24px;
    font-weight: 400;
    line-height: normal;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 30px;
    text-wrap: balance;
}

#soyuz-panel-pd .intro {
    font-size: 20px;
    line-height: normal;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 80px;
    text-wrap: balance;
}

#soyuz-panel-pd .panel-slider {
    max-width: 1200px;
    margin: 0 auto;
}

#soyuz-panel-pd .swiper-container {
    width: 100%;
    overflow: hidden;
    padding-bottom: 60px;
}

#soyuz-panel-pd .swiper-slide {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 30px;
    padding: 0 20px;
}

#soyuz-panel-pd .swiper-slide .panel-captura {
    width: 100%;
    max-width: 900px;
    aspect-ratio: 16/10;
    background: #EEEEEE;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

#soyuz-panel-pd .swiper-slide .panel-captura img,
#soyuz-panel-pd .swiper-slide .panel-captura video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#soyuz-panel-pd .swiper-slide .panel-captura.is-placeholder {
    color: #999;
    font-size: 16px;
    font-style: italic;
}

#soyuz-panel-pd .swiper-slide .panel-frase {
    font-family: "Uncut Sans";
    font-size: 22px;
    font-weight: 400;
    line-height: normal;
    text-align: center;
    max-width: 700px;
    text-wrap: balance;
    margin: 0;
}

#soyuz-panel-pd .swiper-pagination {
    position: relative;
    margin-top: 20px;
    bottom: auto;
}

#soyuz-panel-pd .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: #000000;
    opacity: 0.2;
    transition: opacity 0.3s ease;
}

#soyuz-panel-pd .swiper-pagination-bullet-active {
    opacity: 1;
    background: #000000;
}

#soyuz-panel-pd .panel-cta {
    display: inline-block;
    margin-top: 20px;
    font-size: 20px;
    text-decoration: underline;
    color: #000000;
    line-height: normal;
}

#soyuz-panel-pd .panel-cta:hover {
    color: var(--color-green);
}

/* ========== SECCIÓN 04: QUÉ ENTREGAMOS ========== */
#que-entregamos {
    padding: 130px 34px 100px;
    text-align: center;
}

#que-entregamos h3 {
    margin-bottom: 40px;
}

#que-entregamos .copy {
    max-width: 875px;
    margin: 0 auto 60px;
}

#que-entregamos .copy p {
    font-family: "Uncut Sans";
    font-size: 20px;
    font-weight: 400;
    line-height: normal;
    margin-bottom: 25px;
    text-align: center;
}

#que-entregamos .copy p:last-of-type {
    margin-bottom: 0;
}

#que-entregamos .entregables {
    list-style: none;
    padding: 0;
    margin: 0 auto 60px;
    max-width: 1100px;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    row-gap: 50px;
    column-gap: 20px;
    justify-items: center;
}

#que-entregamos .entregable {
    text-align: center;
    max-width: 280px;
}

#que-entregamos .entregable::before {
    content: "";
    display: block;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--color-green);
    margin: 0 auto 18px;
}

#que-entregamos .entregable p {
    font-size: 18px;
    line-height: 1.3;
    margin: 0;
    text-align: center;
    text-wrap: balance;
}

/* Layout 3 + 2: tres arriba, dos centrados abajo.
   Grid de 6 columnas, cada ítem ocupa 2 columnas. Los items 4 y 5 se desplazan
   a las columnas 2-4 y 4-6 para quedar centrados. */
#que-entregamos .entregable:nth-child(1) { grid-column: 1 / 3; }
#que-entregamos .entregable:nth-child(2) { grid-column: 3 / 5; }
#que-entregamos .entregable:nth-child(3) { grid-column: 5 / 7; }
#que-entregamos .entregable:nth-child(4) { grid-column: 2 / 4; }
#que-entregamos .entregable:nth-child(5) { grid-column: 4 / 6; }

#que-entregamos .precio {
    font-family: "Uncut Sans";
    font-size: 24px;
    font-weight: 400;
    line-height: normal;
    text-align: center;
    max-width: 900px;
    text-wrap: balance;
    margin: 60px auto 0;
}

/* ========== SECCIÓN 05: TESTIMONIAL ========== */
/* Misma estructura visual que #testimoniales en CP: h3 + subtítulo arriba,
   icono circular + quote/author en flex debajo. Sin swiper porque hay 1 sola quote. */
#testimonial-quote {
    background: rgba(208, 156, 250, 0.12);
    padding: 60px 20px;
    margin: 130px 34px;
    text-align: center;
}

#testimonial-quote h3 {
    margin-bottom: 20px;
}

#testimonial-quote .subtitulo {
    font-family: "Uncut Sans";
    font-size: 24px;
    font-weight: 400;
    line-height: normal;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 20px;
    text-wrap: balance;
}

#testimonial-quote .testimonial-slot {
    padding: 40px 0 0 0;
    display: flex;
    justify-content: center;
    gap: 60px;
    align-items: center;
    max-width: 900px;
    margin: 0 auto;
}

#testimonial-quote .testimonial-slot img {
    border-radius: 50%;
    max-width: 250px;
}

#testimonial-quote .testimonial-text {
    text-align: left;
}

/* Sin icono: quote centrada (no left-aligned junto a un hueco vacío) */
#testimonial-quote .testimonial-slot.no-icon .testimonial-text,
#testimonial-quote .testimonial-slot.no-icon .quote,
#testimonial-quote .testimonial-slot.no-icon .author {
    text-align: center;
}

#testimonial-quote .testimonial-slot.no-icon .quote {
    max-width: 700px;
    margin: 0 auto;
}

#testimonial-quote .quote {
    font-family: "Uncut Sans";
    font-size: 18px;
    font-weight: 400;
    line-height: normal;
    max-width: 450px;
    margin: 0;
    text-align: left;
}

#testimonial-quote .author {
    font-family: "Uncut Sans";
    font-size: 18px;
    font-weight: 400;
    line-height: normal;
    margin: 10px 0 0 0;
    text-align: left;
}

/* ========== SECCIÓN 06: FAQ ========== */
#faq-pd {
    padding: 130px 20px;
}

#faq-pd .faq-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    gap: 40px;
}

#faq-pd .faq-intro {
    flex: 0 0 350px;
}

#faq-pd h3 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 20px;
    text-align: left;
}

#faq-pd .faq-intro p {
    font-size: 18px;
    line-height: normal;
    text-align: left;
}

#faq-pd .faq-lista {
    flex: 1;
}

#faq-pd .faq-lista ol {
    list-style: none;
    padding: 0;
    margin: 0;
}

#faq-pd .faq-item {
    margin-bottom: 10px;
}

#faq-pd .faq-pregunta {
    font-size: 22px;
    font-weight: 400;
    cursor: pointer;
    text-decoration: underline;
    line-height: normal;
    margin-bottom: 10px;
}

#faq-pd .faq-pregunta:hover {
    color: var(--color-green);
}

#faq-pd .faq-respuesta {
    font-size: 18px;
    line-height: normal;
    margin-bottom: 20px;
    padding-left: 0;
}

#faq-pd .faq-respuesta p {
    margin: 0 0 1em 0;
}

#faq-pd .faq-respuesta p:last-child {
    margin-bottom: 0;
}

/* ========== SECCIÓN 07: CTA FINAL ========== */
#cta-final-pd {
    margin: 130px auto;
    text-align: center;
}

#cta-final-pd h3,
#cta-final-pd p {
    max-width: 900px;
    text-align: center;
    text-wrap: balance;
    margin: 0 auto;
    font-family: "Uncut Sans";
    font-weight: 400;
    font-size: 24px;
    line-height: normal;
}

#cta-final-pd .btn-soyuz {
    display: inline-flex;
    justify-content: center;
    margin-top: 40px;
    padding: 0.5rem 1rem;
    font-size: 24px;
    font-weight: 400;
    text-decoration: none;
    border: 1px solid #000000;
    border-radius: 60px;
    color: #000000;
    background: transparent;
    transition: all 0.3s ease;
}

#cta-final-pd .btn-soyuz:hover {
    background: var(--color-green);
    color: #000000;
    border-color: var(--color-green);
}

/* Footer button visibility */
.btn-soyuz-footer {
    display: none;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
    .single-publicacion-digital main {
        padding: 0 20px;
    }

    .single-publicacion-digital h2 {
        font-size: 32px;
        line-height: 0.8;
    }

    .single-publicacion-digital h3 {
        font-size: 24px;
    }

    .single-publicacion-digital h4 {
        font-size: 18px;
    }

    .single-publicacion-digital hr {
        margin: 60px 0;
    }

    /* Hero */
    #hero-pd {
        padding: 20px 20px 40px;
    }

    #hero-pd #logo-clientes {
        margin: 50px 0;
    }

    #hero-pd .marquee-content img {
        max-width: 120px;
        margin: 0;
    }

    #hero-pd .placeholder-video {
        width: 100%;
        margin: 0;
    }

    /* Para quién */
    #para-quien-pd {
        padding: 60px 20px;
    }

    #para-quien-pd .copy p {
        font-size: 18px;
    }

    /* Soyuz Panel */
    #soyuz-panel-pd {
        padding: 60px 20px;
    }

    #soyuz-panel-pd .subtitulo {
        font-size: 18px;
    }

    #soyuz-panel-pd .intro {
        font-size: 16px;
        margin-bottom: 40px;
    }

    #soyuz-panel-pd .swiper-slide {
        gap: 20px;
        padding: 0 10px;
    }

    #soyuz-panel-pd .swiper-slide .panel-frase {
        font-size: 18px;
    }

    /* Qué entregamos */
    #que-entregamos {
        padding: 60px 20px;
    }

    #que-entregamos .copy p {
        font-size: 18px;
    }

    /* En móvil colapsamos el grid a una columna y desactivamos los grid-column
       específicos. Cada ítem queda centrado vertical, dot arriba. */
    #que-entregamos .entregables {
        grid-template-columns: 1fr;
        row-gap: 30px;
    }

    #que-entregamos .entregable,
    #que-entregamos .entregable:nth-child(1),
    #que-entregamos .entregable:nth-child(2),
    #que-entregamos .entregable:nth-child(3),
    #que-entregamos .entregable:nth-child(4),
    #que-entregamos .entregable:nth-child(5) {
        grid-column: auto;
    }

    #que-entregamos .entregable p {
        font-size: 16px;
    }

    #que-entregamos .precio {
        font-size: 20px;
    }

    /* Testimonial */
    #testimonial-quote {
        margin: 60px 20px;
        padding: 60px 20px;
    }

    #testimonial-quote .subtitulo {
        font-size: 18px;
    }

    #testimonial-quote .testimonial-slot {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 30px;
    }

    #testimonial-quote .testimonial-slot img {
        max-width: 120px;
    }

    #testimonial-quote .quote,
    #testimonial-quote .author {
        font-size: 16px;
        text-align: center;
    }

    /* FAQ */
    #faq-pd {
        padding: 60px 20px;
    }

    #faq-pd .faq-wrapper {
        flex-direction: column;
        gap: 40px;
    }

    #faq-pd .faq-intro {
        flex: 1;
    }

    #faq-pd h3 {
        text-align: center;
    }

    #faq-pd .faq-intro p {
        text-align: center;
    }

    #faq-pd .faq-pregunta {
        font-size: 20px;
    }

    #faq-pd .faq-respuesta {
        font-size: 16px;
    }

    /* CTA Final */
    #cta-final-pd {
        margin: 60px auto;
    }

    #cta-final-pd h3,
    #cta-final-pd p {
        font-size: 20px;
    }
}
