* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #1A1A1A;
    background: #F9FAFB;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: antialiased;
}

/* Animación de aparición de <section> al hacer scroll —
   la clase "visible" la agrega /js/appFlova.js vía IntersectionObserver */
section {
    opacity: 0;
    transform: translateX(-80px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    will-change: opacity, transform;
}

section.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Evita el scroll horizontal SIN romper position:sticky.
   IMPORTANTE: no se toca <html>, y en <body> se usa "clip"
   en vez de "hidden" — "hidden" convierte a body en un
   contenedor de scroll propio y eso rompe el sticky del
   sidebar del artículo. Esta es la razón por la que el
   sidebar dejaba de pegarse. */
body {
    overflow-x: clip;
}

/* ==============================
   BOTÓN "AGENDA" (base completa)
============================== */
.botonAgenda {
    text-align: center;
    margin-top: 0rem;
    background: #F9FAFB;
    width: auto;
    display: flex;
}

.botonAgenda button {
    background: #005ad6;
    color: white;
    border: none;
    border-radius: 1rem;
    padding: 1rem 1rem;
    padding-top: 1.5rem;
    font-size: 2.2rem;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    width: auto;
    max-width: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    transition: background 0.2s, transform 0.2s;
    margin: 0 auto;
}

.botonAgenda button:hover {
    background: #0070f3;
    transform: translateY(-0.1px) scale(1.01);
    transition: background .3s ease transform 0.3s;
}

.botonAgenda button strong {
    font-size: 2.5rem;
    font-weight: 700;
    display: block;
    margin-bottom: 0.5rem;
}

#agenda p {
    display: block;
    font-size: 1.5rem;
    color: #666666;
    text-align: center;
    max-width: 70%;
    margin: 0.5rem auto 0 auto;
}

/* ==============================
   FORMULARIO DE CORREO (base completa)
============================== */
.cta-form {
    display: flex;
    gap: 0.5rem;
}

.cta-form input {
    flex: 1;
    padding: 0.5rem;
    border: 1px solid #555;
    border-radius: 4px;
    background: #222;
    color: #fff;
}

.cta-form button {
    padding: 0.5rem 1rem;
    background: #0070f3;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.cta-form button:hover {
    background: #005bb5;
}

/* ==============================
   HEADER / MENÚ
============================== */
header.barraNegra {
    position: sticky;
    top: 0;
    z-index: 9999;
    display: flex;
    justify-content: center;
    background-color: #000;
    margin-top: 0 !important;
    padding: 0.5rem 0;
    animation: fadeInDown 0.8s ease forwards;
    transition: transform 0.3s ease-in-out;
}

.navCentro {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.logoFlova {
    display: flex;
    justify-content: center;
    align-items: center;
}

.logoFlova img {
    height: 2.2rem;
    object-fit: contain;
    transition: transform 0.2s ease;
}

.logoFlova img:hover {
    transform: scale(1.1);
}

.contenedorNav {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    display: flex;
    justify-content: center;
}

.navegador {
    width: 100%;
    margin: 0 auto;
    padding: 0;
    background: transparent;
    box-shadow: none;
    border-radius: 0;
}

.headerOculto {
    transform: translateY(-100%);
    transition: transform 0.3s ease-in-out;
}

.movil {
    display: none;
}

/* Menú hamburguesa */
.menu-toggle {
    position: absolute;
    right: 4rem;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    z-index: 10000;
}

.menu-toggle .bar {
    height: 3px;
    width: 100%;
    background-color: #fff;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.menu-toggle.active .bar:nth-child(1) {
    transform: rotate(45deg) translate(4px, 4px);
}

.menu-toggle.active .bar:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active .bar:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Overlay del menú */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
    z-index: 9998;
}

.menu-overlay.show {
    opacity: 1;
    visibility: visible;
}

/* Opciones del menú */
.menu-desplegado ul {
    list-style: none;
    text-align: center;
}

.menu-desplegado li {
    margin: 0rem 0;
}

.menu-desplegado a {
    color: #fff;
    font-size: 3.5rem;
    font-weight: 700;
    text-decoration: none;
    transition: color 0.3s ease;
    letter-spacing: -2px;
}

.menu-desplegado a:hover {
    color: #005ad6;
}

.menu-desplegado a:active {
    color: #0070f3;
}

/* Header responsive — tablet */
@media (min-width: 751px) and (max-width: 1024px) {
    header,
    .contenedorNav {
        margin-bottom: 0;
    }

    .logoFlova img {
        height: 1.7rem;
    }
}

/* Header responsive — móvil */
@media (max-width: 750px) {
    header,
    .contenedorNav {
        margin-bottom: 0;
        padding: 0.4rem 0;
    }

    .logoFlova img {
        width: 12rem;
        margin: -0.4rem;
    }

    .menu-desplegado a {
        font-size: 2.1rem;
        letter-spacing: -1px;
        line-height: 1.2;
    }

    .menu-toggle {
        right: 1.5rem;
        width: 20px;
        height: 14px;
    }

    .menu-toggle .bar {
        height: 2px;
    }

    .menu-desplegado li {
        margin: 0.8rem 0;
    }

    .menu-desplegado {
        transform: translateY(-20%);
    }
}

/* Header responsive — ultra ancho */
@media (min-width: 1920px) {
    header {
        width: 100vw;
    }

    .logoFlova img {
        height: 2.6rem;
    }

    .menu-desplegado a {
        font-size: 4.2rem;
    }
}

/* ==============================
   FOOTER BASE
============================== */
.cierrePagina {
    background: #000;
    color: #ccc;
    padding: 5rem 1rem;
    border-top-left-radius: 1.5rem;
    border-top-right-radius: 1.5rem;
}

.footer-container {
    max-width: 90%;
    margin: auto;
    display: flex;
    flex-wrap: wrap;
    gap: 4rem;
    justify-content: space-between;
}

.footer-column {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    flex: 1 1 200px;
}

.logo {
    max-width: 150px;
    height: auto;
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icons i {
    font-size: 1.5rem;
    color: #ccc;
    transition: color 0.3s ease;
}

.social-icons i:hover {
    color: #0070f3;
}

.language-selector {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.language-selector img {
    width: 24px;
    height: auto;
}

.language-selector select {
    background: transparent;
    color: #ccc;
    border: 1px solid #555;
    border-radius: 4px;
    padding: 0.25rem 0.5rem;
}

.footer-column h4 {
    color: #fff;
    font-size: 1.2rem;
    margin-bottom: 0rem;
    line-height: 1;
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
    line-height: 1;
}

.footer-column li {
    margin-bottom: 0.75rem;
}

.footer-column a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: #0070f3;
}

.call-to-action p {
    font-weight: bold;
    font-size: 1.2rem;
    color: #fff;
    margin-bottom: 1rem;
}

.call-to-action span {
    margin-top: -2.5rem;
    margin-bottom: -1rem;
}

.footer-bottom {
    margin-top: 3rem;
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #FFFF;
}

.footer-bottom p {
    font-size: 0.9rem;
    color: #888;
}

.footer-bottom a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-bottom a:hover {
    color: #0070f3;
}

/* Footer responsive — tablet */
@media (min-width: 751px) and (max-width: 1024px) {
    .footer-container {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
        max-width: 90%;
        margin: auto;
    }

    .footer-column {
        max-width: 100%;
        flex: none;
    }

    .call-to-action {
        grid-column: 1 / -1;
        display: flex;
        flex-direction: column;
    }
}

/* Footer responsive — desktop grande */
@media (min-width: 1200px) {
    .footer-container {
        max-width: 75rem;
        gap: 6rem;
    }

    .footer-column h4 {
        font-size: 1.4rem;
    }

    .footer-column a {
        font-size: 1.1rem;
    }

    .footer-bottom p {
        font-size: 1rem;
    }

    .footer-bottom {
        margin-top: 3rem;
        text-align: center;
        padding-top: 2rem;
        border-top: 1px solid #FFFF;
        max-width: 65rem;
        margin: 3rem auto;
    }
}

/* Footer responsive — ultra ancho */
@media (min-width: 1920px) {
    .footer-container {
        max-width: 75rem;
        gap: 6rem;
    }

    .footer-column h4 {
        font-size: 1.4rem;
    }

    .footer-column a {
        font-size: 1.1rem;
    }

    .footer-bottom p {
        font-size: 1rem;
    }

    .footer-bottom {
        margin-top: 3rem;
        text-align: center;
        padding-top: 2rem;
        border-top: 1px solid #FFFF;
        max-width: 65rem;
        margin: 3rem auto;
    }
}

.post-flova {
    --post-max: 46rem;
    --post-azul: #0070f3;
    --post-tint: rgba(0, 112, 243, 0.06);
    --post-tint-strong: rgba(0, 112, 243, 0.14);
    --post-line: rgba(26, 26, 26, 0.1);
    color: #1A1A1A;
    background: #F9FAFB;
}

/* ==============================
   BARRA DE PROGRESO DE LECTURA
============================== */
.post-flova-progreso {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: #0070f3;
    z-index: 10000;
    transform: scaleX(0);
    transform-origin: left;
    will-change: transform;
}

/* ==============================
   HERO
============================== */
.post-flova-hero {
    position: relative;
    min-height: 30rem;
    display: flex;
    align-items: flex-end;
    background-color: #000;
    background-image: var(--post-hero-img, none);
    background-size: cover;
    background-position: center;
    padding: 8rem 3rem 3rem;
    width: 100%;
    margin-left: 0;
    margin-right: 0;
}

.post-flova-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    z-index: 1;
}

.post-flova-hero-inner {
    max-width: 60rem;
    margin: 0 auto;
    width: 100%;
    position: relative;
    z-index: 2;
}

.post-flova-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--post-azul);
    margin-bottom: 1rem;
}

.post-flova-hero h1 {
    font-size: 2.6rem;
    line-height: 1.12;
    font-weight: 700;
    color: #fff;
    max-width: 40rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.post-flova-subtitulo {
    font-size: 1.02rem;
    font-weight: 300;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.82);
    max-width: 32rem;
    margin-bottom: 1.6rem;
}

.post-flova-meta {
    display: flex;
    align-items: center;
    gap: 0.9rem;
}

.post-flova-avatar {
    width: 2.3rem;
    height: 2.3rem;
    border-radius: 50%;
    background: var(--post-azul);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
    flex-shrink: 0;
}

.post-flova-meta-texto {
    font-size: 0.84rem;
    color: rgba(255, 255, 255, 0.75);
}

.post-flova-meta-texto strong {
    color: #fff;
    font-weight: 600;
    display: block;
}

/* ==============================
   LAYOUT DE DOS COLUMNAS
============================== */
.post-flova-layout {
    max-width: 75rem;
    margin: 0 auto;
    padding: 4rem 3rem 5rem;
    display: grid;
    grid-template-columns: minmax(0, var(--post-max)) 17rem;
    gap: 4rem;
    align-items: start;
}

.post-flova-cuerpo p {
    font-size: 1.1rem;
    font-weight: 300;
    line-height: 1.78;
    margin-bottom: 1.35rem;
}

.post-flova-cuerpo section {
    margin-bottom: 3rem;
}

.post-flova-cuerpo h2 {
    font-size: 1.55rem;
    font-weight: 700;
    margin: 0 0 1.3rem;
    text-transform: uppercase;
    padding-left: 1rem;
    border-left: 4px solid var(--post-azul);
}

.post-flova-cuerpo strong {
    font-weight: 600;
}

.post-flova-cuerpo ul {
    margin: 0 0 1.4rem 0;
    padding-left: 0;
    list-style: none;
}

.post-flova-cuerpo ul li {
    position: relative;
    font-size: 1.05rem;
    font-weight: 300;
    line-height: 1.6;
    padding-left: 1.4rem;
    margin-bottom: 0.8rem;
}

.post-flova-cuerpo ul li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.55rem;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--post-azul);
}

.post-flova-intro {
    font-size: 1.25rem !important;
    font-weight: 300;
    line-height: 1.6 !important;
    margin-bottom: 2.6rem !important;
}

.post-flova-toc-inline {
    background: var(--post-tint);
    border: 1px solid var(--post-tint-strong);
    border-radius: 0.8rem;
    padding: 1.5rem 1.7rem;
    margin-bottom: 3rem;
}

.post-flova-toc-inline p {
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--post-azul);
    margin-bottom: 0.8rem !important;
}

.post-flova-toc-inline ul {
    columns: 2;
    column-gap: 2rem;
    margin: 0;
}

.post-flova-toc-inline a {
    color: #1A1A1A;
    text-decoration: none;
    border-bottom: 1px solid transparent;
}

.post-flova-toc-inline a:hover {
    color: var(--post-azul);
    border-bottom-color: var(--post-azul);
}

/* FAQ */
.post-flova-faq details {
    border-bottom: 1px solid var(--post-line);
    padding: 1.1rem 0;
}

.post-flova-faq details:first-of-type {
    border-top: 1px solid var(--post-line);
}

.post-flova-faq summary {
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    cursor: pointer;
    font-size: 1.05rem;
    font-weight: 600;
}

.post-flova-faq summary::-webkit-details-marker {
    display: none;
}

.post-flova-faq summary::after {
    content: "+";
    flex-shrink: 0;
    width: 1.6rem;
    height: 1.6rem;
    border-radius: 50%;
    border: 1px solid var(--post-azul);
    color: var(--post-azul);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    font-weight: 400;
    transition: transform 0.25s ease;
}

.post-flova-faq details[open] summary::after {
    transform: rotate(45deg);
}

.post-flova-faq details p {
    margin-top: 0.8rem !important;
    font-size: 1rem !important;
    color: #555;
}

/* Fuentes (colapsable, discreto) */
.post-flova-fuentes {
    margin-top: 3rem;
}

.post-flova-fuentes summary {
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 600;
    color: #666;
    list-style: none;
}

.post-flova-fuentes summary::-webkit-details-marker {
    display: none;
}

.post-flova-fuentes summary::before {
    content: "▸ ";
    color: var(--post-azul);
}

.post-flova-fuentes[open] summary::before {
    content: "▾ ";
}

.post-flova-fuentes ol {
    margin-top: 1rem;
    padding-left: 1.3rem;
    font-size: 0.82rem;
    color: rgba(26, 26, 26, 0.55);
    line-height: 1.7;
}

.post-flova-fuentes ol a {
    color: var(--post-azul);
}

/* Autor */
.post-flova-autor {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    background: #F3F3F4;
    border-radius: 0.8rem;
    padding: 1.5rem 1.7rem;
    margin-top: 3rem;
}

.post-flova-autor-avatar {
    width: 2.8rem;
    height: 2.8rem;
    border-radius: 50%;
    background: #000;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
}

/* Tarjeta "Lo que deberías hacer ahora" */
.post-flova-siguiente-paso {
    background: #F3F3F4;
    border-radius: 0.8rem;
    padding: 1.6rem 1.8rem;
    margin-top: 3.5rem;
}

.post-flova-siguiente-paso h3 {
    font-size: 1.55rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: normal;
    color: #1A1A1A;
    border-left: 4px solid var(--post-azul);
    padding-left: 1rem;
    margin-bottom: 1.3rem;
}

.post-flova-siguiente-paso p {
    font-size: 0.95rem;
    font-weight: 300;
    line-height: 1.6;
    color: #555;
    margin-bottom: 1.2rem;
}

.post-flova-siguiente-paso a {
    color: var(--post-azul);
    font-weight: 600;
    text-decoration: underline;
}

.post-flova-siguiente-paso .cta-form {
    display: flex;
    gap: 0.5rem;
    max-width: 28rem;
    margin: 0 auto;
}

.post-flova-siguiente-paso .cta-form input {
    flex: 1;
    padding: 0.7rem 1rem;
    border: 1px solid #ddd;
    border-radius: 0.5rem;
    background: #fff;
    color: #1A1A1A;
    font-size: 0.95rem;
}

.post-flova-siguiente-paso .cta-form input::placeholder {
    color: #999;
}

.post-flova-siguiente-paso .cta-form button {
    padding: 0.7rem 1.2rem;
    background: var(--post-azul);
    color: #fff;
    border: none;
    border-radius: 0.5rem;
    font-weight: 700;
    font-size: 0.95rem;
    white-space: nowrap;
    cursor: pointer;
    transition: background 0.2s;
}

.post-flova-siguiente-paso .cta-form button:hover {
    background: #005bb5;
}

.post-flova-siguiente-paso .textoAgenda {
    display: block;
    font-size: 0.85rem;
    color: #888;
    text-align: center;
    white-space: nowrap;
    margin: 0.7rem auto 0 auto;
}

.post-flova-autor p {
    font-size: 0.9rem !important;
    color: #555 !important;
    line-height: 1.6 !important;
    margin-bottom: 0 !important;
}

.post-flova-autor strong {
    display: block;
    font-size: 1rem;
    color: #1A1A1A;
    margin-bottom: 0.2rem;
}

/* Sidebar */
.post-flova-sidebar {
    position: sticky;
    top: 6rem;
    display: flex;
    flex-direction: column;
    gap: 1.8rem;
}

.post-flova-sidebar-titulo {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #888;
    margin-bottom: 0.8rem;
}

.post-flova-toc .post-flova-sidebar-titulo {
    padding-left: 1rem;
}

.post-flova-toc {
    border-left: 2px solid var(--post-line);
}

.post-flova-toc ul {
    list-style: none;
}

.post-flova-toc a {
    display: block;
    font-size: 0.85rem;
    color: #555;
    text-decoration: none;
    padding: 0.4rem 0 0.4rem 1rem;
    margin-left: -2px;
    border-left: 2px solid transparent;
}

.post-flova-toc a:hover {
    color: var(--post-azul);
    border-left-color: var(--post-azul);
}

.post-flova-toc a.activo {
    color: var(--post-azul);
    border-left-color: var(--post-azul);
    font-weight: 600;
}

.post-flova-ficha {
    background: #000;
    border-radius: 0.8rem;
    padding: 1.4rem 1.4rem 0.6rem;
}

.post-flova-ficha-dato {
    display: flex;
    justify-content: space-between;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding: 0.85rem 0;
}

.post-flova-ficha-dato span {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
}

.post-flova-ficha-dato strong {
    font-size: 1rem;
    color: #fff;
}

.post-flova-cta-sidebar {
    background: var(--post-tint);
    border: 1px solid var(--post-tint-strong);
    border-radius: 0.8rem;
    padding: 1.4rem;
    text-align: center;
}

.post-flova-cta-sidebar p {
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.post-flova-cta-sidebar a {
    display: inline-flex;
    justify-content: center;
    width: 100%;
    background: var(--post-azul);
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    padding: 0.8rem 1rem;
    border-radius: 0.4rem;
}

.post-flova-cta-sidebar a:hover {
    background: #005bb5;
}

/* ==============================================================
   CTA FINAL — botón autocontenido (no depende de styles.css)
================================================================== */
.post-flova-cta-final {
    background: #000;
    padding: 3rem;
    text-align: center;
    width: 100%;
    margin-left: 0;
    margin-right: 0;
}

.post-flova-cta-final .botonAgenda {
    background: transparent;
    justify-content: center;
}

.post-flova-cta-final .botonAgenda button {
    flex-direction: row;
    width: 100%;
    margin: 0;
    padding: 1.1rem 2.2rem;
    padding-top: 1.1rem;
    font-size: 1.4rem;
    white-space: nowrap;
}

.post-flova-cta-final .botonAgenda button strong {
    font-size: 2.5rem;
    margin-bottom: 0;
}

.post-flova-cta-final .textoAgenda {
    display: block;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.65);
    text-align: center;
    width: 100%;
    white-space: nowrap;
    margin: 0.5rem auto 0 auto;
}

.post-flova-cta-final-inner {
    max-width: 42rem;
    margin: 0 auto;
    text-align: center;
}

.post-flova-cta-final h2 {
    font-size: 1.6rem;
    color: #fff;
    text-transform: uppercase;
    margin-bottom: 0.6rem;
}

.post-flova-cta-final p {
    color: rgba(255, 255, 255, 0.92);
    margin-bottom: 1.4rem;
}

.post-flova-cta-final a {
    display: inline-flex;
    background: #fff;
    color: var(--post-azul);
    text-decoration: none;
    font-weight: 700;
    padding: 0.9rem 1.7rem;
    border-radius: 2rem;
}

/* Desktop (1025px+): el botón se ajusta al texto y el
   contenedor se libera para que el texto quepa en una línea */
@media (min-width: 1025px) {
    .post-flova-cta-final .botonAgenda button {
        width: auto;
    }

    .post-flova-cta-final-inner {
        max-width: none;
        width: 100%;
    }

    .post-flova-cta-final h2,
    .post-flova-cta-final p {
        max-width: 42rem;
        margin-left: auto;
        margin-right: auto;
    }
}

/* Tablet (751px–1024px) */
@media (min-width: 751px) and (max-width: 1024px) {
    .post-flova-cta-final .botonAgenda button {
        width: auto;
        margin: 0 auto;
        font-size: 1.2rem;
        flex-direction: column;
        line-height: 1.1;
    }

    .post-flova-cta-final .botonAgenda button strong {
        font-size: 1.7rem;
        line-height: 1;
    }
}

/* ==============================
   FOOTER REESTRUCTURADO
============================== */
.cierrePagina {
    border-radius: 0 !important;
    width: 100%;
    margin-left: 0;
    margin-right: 0;
}

.cierrePagina .footer-bottom {
    border-top: none;
}

.footer-flova-inner {
    max-width: 87.5rem;
    width: 100%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 2fr;
    gap: 4rem;
    align-items: start;
}

.footer-flova-brand {
    display: flex;
    flex-direction: column;
    gap: 1.4rem;
}

.footer-flova-brand .logo {
    max-width: 150px;
    height: auto;
}

.footer-flova-brand .social-icons {
    gap: 1.1rem;
}

.footer-flova-brand .social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #0070f3;
    font-size: 2.2rem;
    transition: color 0.2s;
}

.footer-flova-brand .social-icons a:hover {
    color: #4d94ff;
}

.footer-flova-heading {
    color: #fff;
    font-size: 2.4rem;
    font-weight: 700;
    line-height: 1.15;
    margin: 0.4rem 0 0;
}

.footer-flova-tagline {
    color: #ccc;
    font-size: 1rem;
    line-height: 1.5;
    max-width: 24rem;
}

.footer-flova-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.8rem 3rem;
}

.footer-flova-col h4 {
    color: #fff;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 1.3rem;
}

.footer-flova-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-flova-col li {
    margin-bottom: 0.85rem;
}

.footer-flova-col a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-flova-col a:hover {
    color: #0070f3;
}

.footer-flova-guias {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.footer-flova-contacto li {
    color: #ccc;
    font-size: 0.95rem;
    line-height: 1.5;
}

.footer-flova-newsletter {
    grid-column: span 2;
}

.footer-flova-newsletter p {
    color: #aaa;
    font-size: 0.92rem;
    line-height: 1.5;
    margin-bottom: 1rem;
    max-width: 26rem;
}

.footer-flova-newsletter .cta-form {
    max-width: 26rem;
}

/* Responsive del footer nuevo */
@media (max-width: 1024px) {
    .footer-flova-inner {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .footer-flova-links {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-flova-newsletter {
        grid-column: span 2;
    }
}

@media (max-width: 750px) {
    .footer-flova-links {
        grid-template-columns: 1fr;
        gap: 1.8rem;
    }

    .footer-flova-newsletter {
        grid-column: span 1;
    }
}

/* ==============================
   RESPONSIVE GENERAL DEL ARTÍCULO
============================== */
@media (max-width: 1024px) {
    .post-flova-layout {
        grid-template-columns: 1fr;
        padding: 3rem 2rem 4rem;
        gap: 2.5rem;
    }

    .post-flova-sidebar {
        position: static;
        flex-direction: row;
        flex-wrap: wrap;
    }

    .post-flova-toc {
        display: none;
    }

    .post-flova-ficha,
    .post-flova-cta-sidebar {
        display: none;
    }

    .post-flova-hero {
        padding: 7rem 2rem 2.5rem;
        min-height: 24rem;
    }

    .post-flova-hero h1 {
        font-size: 2.1rem;
    }
}

@media (max-width: 750px) {
    .post-flova-hero {
        padding: 6.5rem 1.5rem 2.2rem;
        min-height: 22rem;
    }

    .post-flova-hero h1 {
        font-size: 1.7rem;
    }

    .post-flova-subtitulo {
        font-size: 0.95rem;
    }

    .post-flova-sidebar {
        flex-direction: column;
    }

    .post-flova-toc-inline ul {
        columns: 1;
    }

    .post-flova-cta-final {
        padding: 2.5rem 1rem;
    }

    .post-flova-cta-final .botonAgenda button {
        width: auto;
        margin: 0 auto;
        flex-direction: column;
        white-space: normal;
        font-size: 1.15rem;
        line-height: 1.3;
        padding: 1.1rem 1.4rem;
    }

    .post-flova-cta-final .botonAgenda button strong {
        font-size: 1.15rem;
    }

    .post-flova-cta-final-inner {
        max-width: 100%;
    }

    .post-flova-cta-final .textoAgenda {
        font-size: 0.75rem;
    }
}

/* Pantallas muy angostas (350px y similares: iPhone SE, Android chicos) */
@media (max-width: 400px) {
    .post-flova-hero {
        padding: 6rem 1rem 1.8rem;
    }

    .post-flova-hero h1 {
        font-size: 1.4rem;
    }

    .post-flova-subtitulo {
        font-size: 0.9rem;
    }

    .post-flova-layout {
        padding: 2.5rem 1rem 3rem;
    }

    .post-flova-cta-final {
        padding: 2rem 1rem;
    }

    .post-flova-cta-final h2 {
        font-size: 1.2rem;
    }

    .post-flova-cta-final-inner {
        max-width: 100%;
    }

    .post-flova-cta-final .botonAgenda button {
        width: auto;
        margin: 0 auto;
        flex-direction: column;
        white-space: normal;
        font-size: 1rem;
        line-height: 1.25;
        padding: 1rem 1rem;
    }

    .post-flova-cta-final .botonAgenda button strong {
        font-size: 1rem;
    }

    .post-flova-cta-final .textoAgenda {
        font-size: 0.62rem;
        white-space: normal;
    }

    .post-flova-siguiente-paso {
        padding: 1.2rem 1rem;
    }

    .post-flova-siguiente-paso .cta-form {
        flex-direction: column;
    }

    .footer-flova-inner {
        max-width: 100%;
        padding: 0 1rem;
    }

    .footer-flova-heading {
        font-size: 1.7rem;
    }
}