.block-central {
    padding: 70px 0;
    text-align: center;
}

.block-central.central-type_1 {
    display: flex;
    align-items: center;
    min-height: 586px;
}

.block-central.fondo-white-04 {
    background-color: var(--wp--preset--color--white-04);
    color: var(--wp--preset--color--black);
}

.block-central.fondo-white-02 {
    background-color: var(--wp--preset--color--white-02);
    color: var(--wp--preset--color--black);
}

.block-central.fondo-black {
    background-color: var(--wp--preset--color--black);
    color: var(--wp--preset--color--white);
}

.block-central.fondo-main-blue {
    background-color: var(--wp--preset--color--main--blue);
    color: var(--wp--preset--color--white);
}

.inner-central {
    max-width: 800px;
    margin: 0 auto;
}

.inner-central>div {
    display: flex;
    flex-direction: column;
    align-items: center;
    row-gap: 24px;
}

.central-eyebrow {
    display: inline-flex;
    align-items: center;
    column-gap: 8px;
    padding: 8px 16px;
    border: 1px solid var(--wp--preset--color--transparent--blue);
    border-radius: var(--wp--custom--radius--full);
    background-color: var(--wp--preset--color--transparent--blue);
    color: var(--wp--preset--color--main-blue);
    font-size: var(--wp--preset--font-size--small);
    font-weight: var(--wp--custom--weight-700);
    text-transform: uppercase;
    letter-spacing: 0.02em;
    text-decoration: none;
    margin: 18px 0px;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.central-eyebrow-icon {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.central-heading {
    margin: 0;
    font-size: var(--wp--preset--font-size-h2);
    line-height: var(--wp--preset--line-height-h2);
    font-weight: var(--wp--custom--weight-500);
    color: var(--wp--preset--color--black);
    text-wrap: balance;
}

.central-subtitulo {
    margin: 0;
    font-size: var(--wp--preset--font-size-h5);
    font-weight: var(--wp--custom--weight-500);
    line-height: var(--wp--preset--line-height-h5);
    color: var(--wp--preset--color--main-blue);
    text-wrap: balance;
}

.central-description {
    margin: 0;
    font-size: var(--wp--preset--font-size--medium);
    font-weight: var(--wp--custom--weight-400);
    line-height: var(--wp--preset--line-height--medium);
    color: var(--wp--preset--color--black);
    text-wrap: balance;
}

.central-list {
    display: flex;
    flex-direction: column;
    row-gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
    width: 100%;
    max-width: 560px;
    text-align: left;
    align-items: center;
}

.central-list-item {
    display: flex;
    align-items: baseline;
    column-gap: 10px;
    font-size: var(--wp--preset--font-size--small);
    font-weight: var(--wp--custom--weight-400);
    color: var(--wp--preset--color--black);
}

.central-list-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background-color: var(--wp--preset--color--white-02);
    color: var(--wp--preset--color--black);
}

.central-list-icon img {
    width: 22px;
    height: 22px;
    object-fit: contain;
}

.central-list-icon.is-check svg {
    width: 14px;
    height: 14px;
}

.central-list-texto {
    display: flex;
    flex-direction: column;
    row-gap: 4px;
    min-width: 0;
    padding-top: 4px;
}

.central-list-titulo {
    margin: 0;
    font-size: var(--wp--preset--font-size--medium);
    line-height: var(--wp--preset--line-height--medium);
    font-weight: var(--wp--custom--weight-400);
    color: var(--wp--preset--color--black);
}

.central-list-descripcion {
    margin: 0;
    font-size: var(--wp--preset--font-size--small);
    line-height: var(--wp--preset--line-height--small);
    font-weight: var(--wp--custom--weight-400);
    color: var(--wp--preset--color--text-black);
}

/* ── Contenido inferior: Barras ──────────────────────────────── */
.central-barras {
    display: flex;
    flex-direction: column;
    row-gap: 12px;
    margin-bottom: 12px;
    width: 100%;
    max-width: 560px;
}

.central-barra-item {
    display: flex;
    width: 100%;
    height: 50px;
    padding: 4px 15px;
    justify-content: space-between;
    align-items: center;
    border-radius: var(--wp--custom--radius--full) 999px;
    background: var(--wp--preset--color--main-blue);
    color: var(--wp--preset--color--white);
    overflow: hidden;
}

/* Variante con relleno animado (campo "Porcentaje" relleno) — ver
   .texto-image-barra-item.has-fill en blocks/texto-imagen, mismo mecanismo
   duplicado aquí con nombre propio. */
.central-barra-item.has-fill {
    position: relative;
    background: var(--wp--preset--color--white-02);
}

.block-central.fondo-white-02 .central-barra-item.has-fill {
    background: var(--wp--preset--color--white-03);
}

.block-central.fondo-black .central-barra-item.has-fill,
.block-central.fondo-main-blue .central-barra-item.has-fill {
    background: rgba(255, 255, 255, 0.15);
}

.central-barra-fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0%;
    background-color: var(--wp--preset--color--main-blue);
    transition: width 1.1s ease;
}

.central-barra-content {
    display: flex;
    width: 100%;
    height: 100%;
    padding: 4px 15px;
    justify-content: space-between;
    align-items: center;
}

.central-barra-content--base {
    position: relative;
    z-index: 1;
    color: var(--wp--preset--color--main-blue);
}

.central-barra-content--top {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    color: var(--wp--preset--color--white);
    clip-path: inset(0 100% 0 0);
    transition: clip-path 1.1s ease;
}

.central-barra-label {
    font-size: var(--wp--preset--font-size--medium);
    line-height: var(--wp--preset--line-height--medium);
    font-weight: var(--wp--custom--weight-400);
}

.central-barra-valor {
    font-size: var(--wp--preset--font-size--medium);
    line-height: var(--wp--preset--line-height--medium);
    font-weight: var(--wp--custom--weight-500);
}

.central-barras-leyenda {
    display: flex;
    flex-direction: column;
    row-gap: 2px;
    margin: 4px 0 0;
    padding: 0;
    list-style: none;
    font-size: var(--wp--preset--font-size--extra--small);
    line-height: 1.5;
    color: var(--wp--preset--color--text-secondary);
    text-align: center;
}

/* ── Contenido inferior: Galería ─────────────────────────────── */
.central-galeria {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    column-gap: 30px;
    row-gap: 16px;
    margin: 12px 0 0;
    padding: 0;
    width: 100%;
}

.central-galeria-item {
    border-radius: unset;
    height: 75px;
    max-width: 100%;
    object-fit: contain;
}

/* Layout del grupo (fila / columna+ancho completo): centralizado en
   assets/css/base.css ("Grupos de 2 botones"). */
.central-botones {
    margin-top: 12px;
}

/* El botón secundario puede ser un <button> (popup de lista de espera, ver
   template.php): simple.min.css da a todo <button> un margin de 8px arriba
   y abajo, que agrandaba la fila y estiraba el <a> de al lado. */
button.central-boton {
    margin: 0;
}

/* .central-boton / .central-boton--secundario y sus variantes sobre
   fondo oscuro: estilo desde "Botón unificado" (assets/css/base.css).
   Aquí solo el contenedor .central-botones (arriba). */

/* Sobre fondo negro o azul, el texto y los "chips" que antes contrastaban
   sobre blanco pasan a sus variantes claras (mismo criterio que .block-caracteristicas) */
.block-central.fondo-black .central-heading,
.block-central.fondo-black .central-subtitulo,
.block-central.fondo-black .central-list-titulo,
.block-central.fondo-main-blue .central-heading,
.block-central.fondo-main-blue .central-subtitulo,
.block-central.fondo-main-blue .central-list-titulo {
    color: var(--wp--preset--color--white);
}

.block-central.fondo-black .central-description,
.block-central.fondo-black .central-list-descripcion,
.block-central.fondo-black .central-barras-leyenda,
.block-central.fondo-main-blue .central-description,
.block-central.fondo-main-blue .central-list-descripcion,
.block-central.fondo-main-blue .central-barras-leyenda {
    color: var(--wp--preset--color--grey-05);
}

.block-central.fondo-white-02 .central-list-icon {
    background-color: var(--wp--preset--color--white);
}

.fondo-gradient {
    background: linear-gradient(0deg, rgba(255, 255, 255, 0.00) -27.39%, rgba(184, 233, 255, 0.34) 89.59%), var(--wp--preset--color--white-04);
}

.fondo-image {
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.p-140 {
    padding-top: 118px;
}

/* Versión <img> del fondo para móvil: oculta fuera del breakpoint de 920px. */
.central-image-mvl {
    display: none;
}

@media (min-width: 1441px) {
    .central-type_1 .inner-central {
        max-width: 1200px;
    }
}

@media (max-width: 920px) {

    .block-central,
    .block-central.central-type_2 {
        padding: 50px 20px;
    }

    .block-central.central-type_1 {
        min-height: auto;
    }

    /* En móvil se oculta el fondo de imagen CSS y se muestra un <img> real en
       su lugar (mejor accesibilidad/carga) — mismo patrón que hero-design,
       fusionado aquí para la opción "background_type = image". */
    .block-central.fondo-image {
        /* background-image: none; */
    }

    .central-image-mvl {
        display: block;
        margin-top: 24px;
    }

    .central-image-mvl img {
        width: 100%;
        height: auto;
        display: block;
        border-radius: var(--wp--custom--radius--md);
    }

    .central-heading {
        font-size: var(--wp--preset--font-size-h4);
        line-height: var(--wp--preset--line-height-h4);
    }

    .central-barra-item {
        height: 40px;
    }

    .central-barra-label {
        max-width: 230px;
        font-size: var(--wp--preset--font-size--small);
        line-height: var(--wp--preset--line-height--small);
    }

    .central-barra-valor {
        font-size: var(--wp--preset--font-size--small);
        line-height: var(--wp--preset--line-height--small);
    }
}