/*
Theme Name: La Barba
Author: La Barba Comunicación
Description: Tema la Barba.
Version: 1.0
*/

@import "css/fonts.css";

/* --- VARIABLES --- */
:root {
    --max-width: 1320px;
    --nav-height: 80px;

    --ff-body: "Open Sans", sans-serif;
    --ff-heading: "MADE Outer Sans", sans-serif;

    --fs-body: 16px;
    --fs-lg: 24px;
    --fs-md: 14px;
    --fs-sm: 12px;

    --lh-body: 130%;
    --lh-md: 20px;

    --white: #FFF;
    --accent: #F8F9FA;
    --blue: #3973B9;
    --blue-light: #BCCDEB;
    --blue-dark: #0d181c;
    --blue-medium: #56A8DD;
    --blue--accent: #0A2540;
    --green: #0AC38F;
    --gray: #C8D3D9;
    --black: #000;

}

/* --- REBOOT / RESET ESTILO BOOTSTRAP (Sin fuentes ni estilos propios) --- */
*, *::before, *::after {box-sizing: border-box; margin: 0; padding: 0;}
html {text-size-adjust: 100%; -webkit-tap-highlight-color: transparent;}
body {text-align: left; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;}
h1, h2, h3, h4, h5, h6 {margin-top: 0; margin-bottom: 0; font-size: inherit; font-weight: inherit;}
p {margin-top: 0; margin-bottom: 0;}
ul, ol {list-style: none; margin: 0; padding: 0;}
a {text-decoration: none; color: inherit;}
img, svg {vertical-align: middle; max-width: 100%; height: auto;}
button, input, optgroup, select, textarea {margin: 0; font-family: inherit; font-size: inherit; line-height: inherit;}
button {background: none; border: none; padding: 0; cursor: pointer; text-transform: none;}
.grecaptcha-badge {z-index: 10;}

/* --- FILO BARBA --- */
.foomov {  display: none;  background-color: var(--blue-dark);}
@media (max-width: 940px) {
    .foomov {    display: flex;    position: fixed;    bottom: 0;    z-index: 111;    width: 100%;    display: grid;    padding: 0 10px;    box-sizing: border-box;    grid-template-columns: repeat(auto-fit, minmax(calc(100% / 7 - 10px), 1fr));  }
    .foomov .iflex {    height: 60px;    width: 100%;    background-size: auto 50%;    background-repeat: no-repeat;    background-position: center;    background-color: var(--blue-dark);    border-left: 1px solid var(--white);  }
    .foomov .iflex:first-child {    border-left: none;  }
}

/* --- GENERALES ----- */
body {font-family: var(--ff-body); font-size: var(--fs-body); line-height: var(--lh-body); background: var(--white); color: var(--black); padding-top: var(--nav-height);}
.container {max-width: var(--max-width); margin-inline: auto; width: 100%; padding-inline: 1rem;}
h1,h2,h3,h4,h5,h6 {font-family: var(--ff-heading); margin-bottom: 20px; font-weight: 300; color: var(--blue--accent);}
h1 {font-size: 60px; line-height: 59px;}
h2 {font-size: 40px; line-height: 110%;}
h3 {font-size: 26px; line-height: 110%;}
p, ul, ol {margin-bottom: 20px;}
a {color: var(--black); text-decoration: underline;}
a:hover {text-decoration: none;}
.label {font-family: var(--ff-heading); font-weight: 300; font-size: var(--fs-md);line-height: 110%; text-transform: uppercase; color: var(--blue);}

/* --- HEADER --- */
.site-header {background: var(--white); position: fixed; top: 0; left: 0; right: 0; z-index: 100;}
.customize-support .site-header {top: 32px;}
.site-header .container {display: flex; justify-content: space-between; align-items: stretch; position: relative;}
.site-header .container .logo{padding-block: 17px;}
.site-header .container .logo img{max-width: 217px;}
.main-navigation .menu {display: flex; gap: 1.5rem; height: 100%;}
.main-navigation .menu > li{height: 100%; align-items: center; padding-block: 17px; display: flex; font-family: var(--ff-heading); font-size: var(--fs-md); line-height: var(--lh-md); border-bottom: 5px solid var(--white);}
.main-navigation .menu > li.current-menu-item, .main-navigation .menu > li:has( > a:hover){border-color: var(--blue);}
.main-navigation .menu > li > a{color: #0A2540B2; text-decoration: none;}
.menu-toggle {display: none;}

@media screen and (max-width: 782px) {
    html #wpadminbar {position: fixed;}
    .customize-support .site-header {top: 46px;}
}

@media (max-width: 940px) {
    .menu-toggle {display: flex; font-size: 40px; color: var(--blue-dark); align-items: center; height: 100%; padding-block: 17px;}
    .main-navigation {display: none; width: 100%; position: absolute; top: 100%; left: 0;}
    .main-navigation.is-active {display: block;}
    .main-navigation .menu {flex-direction: column; gap: 1rem; min-height: 100vh; background: var(--white); justify-content: flex-start; align-items: center;}
    .main-navigation .menu > li {font-size: var(--fs-lg); line-height: var(--lh-body);}
}

/* --- FOOTER --- */
.form-footer {padding-block: 90px; background: url("images/fondo-form-footer.jpg") no-repeat bottom center; background-size: auto 170%; position: relative;}
.form-footer:not(:has(.form-cta)) {background-size: auto;}
.form-footer:before {background: #0A254091; position: absolute; top: 0; bottom: 0; left: 0; right: 0; content: ""; z-index: 1;}
.form-footer > * {position: relative; z-index: 2;}
.form-footer .form-cta {display: flex; flex-direction: column; gap: 21px; justify-content: center; align-items: center; padding-bottom: 90px; border-bottom: 1px solid var(--white); color: var(--white); margin-bottom: 90px;}
.form-footer .form-cta > * {margin-bottom: 0 !important; text-align: center;}
.form-footer .form-cta > h2 {color: var(--white);}
.form-footer .form-cta > a {display: inline-block; margin-top: 26px; padding: 10px 24px; background: var(--white); font-family: var(--ff-heading); font-weight: 300;font-size: var(--fs-md); line-height: var(--lh-md); border-radius: 9999px; color: var(--black); text-decoration: none;  }
.form-footer .form-cta > a:hover {background: var(--blue); color: var(--white); box-shadow: 0 4px 4px 0 #00000040;}
.form-footer .form-container {display: grid; grid-template-columns: 1fr; gap: 39px;}
.form-footer .form-container > .form-text {display: flex; flex-direction: column; gap: 21px;}
.form-footer .form-container > .form-text > * {margin-bottom: 0 !important; color: var(--white);}
.form-footer .form-container > .form {border-radius: 12px; padding: 40px 40px 28px; backdrop-filter: blur(4px); background: var(--white);}
.form-footer .form-container > .form form  {display: flex; flex-direction: column; gap: 20px;}
.form-footer .form-container > .form form > * {margin-bottom: 0 !important;}
.form-footer .form-container > .form form .form-row {display: grid; grid-template-columns: 1fr; gap: 20px;}
.form-footer .form-container > .form form .form-group {display: flex; flex-direction: column; gap: 8px;}
.form-footer .form-container > .form form .form-group label {font-family: var(--ff-heading); font-weight: 300; font-size: var(--fs-md); line-height: var(--lh-body); color: var(--blue--accent);}
.form-footer .form-container > .form form .form-group :is(input:not([type="checkbox"]):not([type="submit"]),textarea) {width: 100%; border-radius: 8px; border: 1px solid #0A254075; padding: 10px 15px; font-size: var(--fs-md); line-height: var(--lh-body);}
.form-footer .form-container > .form form .form-group .wpcf7-list-item {margin-left: 0;}
.form-footer .form-container > .form form .form-group .wpcf7-list-item label {display: flex; align-items: center; gap: 8px;}
.form-footer .form-container > .form form .form-group .wpcf7-list-item label input {width: 23px; height: 23px; border-radius: 4px; border: 1px solid #0A254075;}
.form-footer .form-container > .form form .form-group:has(input[type="submit"]) {flex-direction: row; margin-block: 8px;}
.form-footer .form-container > .form form .form-group input[type="submit"] {border-radius: 9999px; padding: 10px 24px; background: var(--blue-medium); border: 0; font-family: var(--ff-heading); font-weight: 300; font-size: var(--fs-md); line-height: var(--lh-md); color: var(--white);}
.form-footer .form-container > .form form .form-group input[type="submit"]:hover {background: var(--blue); box-shadow: 0 4px 4px 0 #00000040;}
.form-footer .form-container > .form form .form-group input[type="submit"][disabled] {background: var(--gray); color: var(--black); pointer-events: none; opacity: .75;}

footer {padding-block: 40px; background: var(--blue--accent);}
footer > .container > div + div {margin-top: 20px; padding-top:20px; border-top: 1px solid #FFFFFF21;}
footer .partners {display: flex; flex-wrap: nowrap; justify-content: space-between; gap: 15%;}
footer .partners > div {display: flex; align-items: center; font-size: var(--fs-md); line-height: var(--lh-body); flex-basis: auto; flex-grow: 1; max-width: 50%; color: var(--white); gap: 35px;}
footer .partners > div > *{margin-bottom: 0!important;}
footer .partners .navarra img {max-width: 291px; height: auto;}
footer .partners .aranguren img {max-width: 38px; height: auto;}
footer .info-nav {display: flex; gap: 5%;}
footer .info-nav > div{flex-basis: auto; flex-grow: 0; display: flex; justify-content: center; max-width: 20%; flex-direction: column;}
footer .info-nav .info{display: flex; flex-direction: column; gap: 18px; color: var(--white); font-size: var(--fs-md); line-height: var(--lh-body);}
footer .info-nav .info > *, footer .navigation > div > *{margin-bottom: 0 !important;}
footer .navigation > div, footer .navigation > div > ul{flex-direction: column; display: flex; gap: 4px;}
footer .navigation > div > .title{font-family: var(--ff-heading); font-weight: 300; font-size: var(--fs-md); line-height: var(--lh-body); text-transform: uppercase; color: var(--white);}
footer .navigation > div > ul > li, footer .navigation > div > ul > li > a{text-decoration: none; font-size: var(--fs-sm); line-height: var(--lh-body); color: #FFFFFF70;}
footer .navigation:not(.contact) > div > ul > li, footer .navigation:not(.contact) > div > ul > li > a{text-transform: uppercase;}
footer .info-nav .contact {margin-left: auto;}
footer .legal {font-size: var(--fs-sm); line-height: var(--lh-body); color: #FFFFFF70; display: flex; justify-content: space-between; align-items: center;}
footer .legal > div {flex-basis: auto; flex-grow: 1; max-width: 50%;}

@media (min-width: 941px) {
    .form-footer .form-cta > h2 {max-width: 60%;}
    .form-footer .form-cta > :is(p,ul,ol) {max-width: 55%;}
    .form-footer .form-container:has( > .form-text) {grid-template-columns: 1fr 1fr;}
    .form-footer .form-container > .form form .form-row {grid-template-columns: 1fr 1fr;}
}

@media (max-width: 940px) {
    footer {padding-bottom: 70px;}
    footer .partners {flex-wrap: wrap; gap: 20px;}
    footer .partners > div {min-width: 100%;}
    footer .partners .navarra > img{max-width: 33.333%;}
    footer .info-nav {flex-wrap: wrap; gap: 20px;}
    footer .info-nav > div {min-width: 40%; max-width: 40%;}
    footer .info-nav .member {margin-left: auto;}
    footer .legal {flex-wrap: wrap; gap: 10px;}
    footer .legal > div {min-width: 100%; max-width: 100%; gap: 10px;}
}

/* --- BLOQUES GUTENBERG --- */
/* Generales */
.block-header-center, .type-page .has-background, .list-highlighted, .block-cta, .block-header, .block-info-list {position: relative; width: 100vw; left: 50%; right: 50%; margin-left: -50vw; margin-right: -50vw;}
.block-header-center > .wp-block-cover__inner-container, .type-page .has-background > *, .block-cta > .wp-block-cover__inner-container, .block-header > .wp-block-cover__inner-container, .block-info-list > .wp-block-cover__inner-container {margin-inline: auto; width: 100%; padding-inline: 1rem;}
.type-page .has-background > *, .block-cta > .wp-block-cover__inner-container, .block-header > .wp-block-cover__inner-container, .block-info-list > .wp-block-cover__inner-container {max-width: var(--max-width); }
.wp-block-buttons > .wp-block-button > .wp-block-button__link {border-radius: 9999px; padding: 10px 24px; background: var(--blue-medium); border: 1px solid var(--blue-medium); font-family: var(--ff-heading); font-weight: 300; font-size: var(--fs-md); line-height: var(--lh-md); color: var(--white);}
.wp-block-buttons > .wp-block-button > .wp-block-button__link:hover {background: var(--blue); border-color: var(--blue); box-shadow: 0 4px 4px 0 #00000040;}
.wp-block-buttons > .wp-block-button.is-style-outline > .wp-block-button__link {border-color: var(--white); background-color: transparent;}
.wp-block-buttons > .wp-block-button.is-style-outline > .wp-block-button__link:hover {background: var(--white); box-shadow: 0 4px 4px 0 #00000040; color: var(--blue--accent);}
.wp-block-buttons > .wp-block-button > .wp-block-button__link {display: flex; align-items: center; gap: 11px;}
.wp-block-buttons > .wp-block-button > .wp-block-button__link > img {max-height: 13px; width: auto !important;}
:is(.wp-block-group,.wp-block-columns):is(.has-blue-accent-background-color,.has-blue-dark-background-color) {color: var(--white);}
:is(.wp-block-group,.wp-block-columns):is(.has-blue-accent-background-color,.has-blue-dark-background-color) .wp-block-heading {color: var(--white);}


/* Cabecera contenido centrado */
.block-header-center {padding-block: 70px; min-height: 75vh;}
.block-header-center > .wp-block-cover__inner-container {max-width: 800px; text-align: center; display: flex; flex-direction: column; gap: 25px; line-height: 100%; color: var(--white);}
.block-header-center > .wp-block-cover__inner-container > * {margin-bottom: 0 !important;}
.block-header-center > .wp-block-cover__inner-container > .wp-block-heading:is(h1) {color: var(--white);}
.block-header-center > .wp-block-cover__inner-container > .wp-block-heading:is(h2) {color: var(--white); font-family: var(--ff-body); font-weight: 700; font-size: var(--fs-lg); line-height: var(--fs-lg);}
.block-header-center > .wp-block-cover__inner-container > .wp-block-buttons {justify-content: center; gap: 26px;}
.block-header-center > .wp-block-cover__inner-container > .wp-block-buttons > .wp-block-button:not(.is-style-outline) > .wp-block-button__link {background: var(--white); border-color: var(--white); color: var(--black);}
.block-header-center > .wp-block-cover__inner-container > .wp-block-buttons > .wp-block-button:not(.is-style-outline) > .wp-block-button__link:hover {background: var(--blue); border-color: var(--blue); box-shadow: 0 4px 4px 0 #00000040; color: var(--white);}

@media (max-width: 940px) {
    .block-header-center > .wp-block-cover__inner-container > .wp-block-heading:is(h1) {font-size: 50px; line-height: 49px;}
}

/* Bloque presentación */
.block-presentation {padding-block: 70px;}
.block-presentation > .wp-block-columns > .wp-block-column {display: flex; flex-direction: column; gap: 27px;}
.block-presentation > .wp-block-columns > .wp-block-column > * {margin-bottom: 0 !important;}
.block-presentation > .wp-block-columns > .wp-block-column :last-child {margin-top: auto;}
.block-presentation > .wp-block-columns > .wp-block-column .lead {font-style: italic; font-size: var(--fs-lg); line-height: var(--lh-body); color: #000000A3;}
.block-presentation > .wp-block-columns > .wp-block-column > .wp-block-columns {display: grid; grid-template-columns: repeat(2,1fr); gap: 9px;}
.block-presentation > .wp-block-columns > .wp-block-column > .wp-block-columns > .wp-block-column {padding: 6px 18px; background: var(--white); border-top: 1px solid #0A25401A; border-radius: 16px; font-size: var(--fs-md); line-height: var(--lh-body); color: var(--ff-heading);}
.block-presentation > .wp-block-columns > .wp-block-column > .wp-block-columns > .wp-block-column > .wp-block-heading {font-size: var(--fs-body); line-height: 32px; margin-bottom: 0;}

/* Lista de elementos destacados */
.list-highlighted {display: flex; flex-wrap: nowrap; overflow: auto; padding: 10px 24px; margin-bottom: 0; gap: 30px; background: var(--blue--accent); align-items: center; justify-content: center; scrollbar-width: none; -ms-overflow-style: none; user-select: none;}
.list-highlighted::-webkit-scrollbar {display: none;}
.list-highlighted > li {display: flex; gap: 40px; align-items: center; font-weight: 300; font-size: var(--fs-md); line-height: 36px; letter-spacing: 1.25px; color: #FFFFFFE5; flex-shrink: 0;}
.list-highlighted > li:after{content: ""; display: block; background-image: url("data:image/svg+xml,%3Csvg width='14' height='24' viewBox='0 0 14 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6.64 18.672C6.52267 17.9787 6.21333 17.232 5.712 16.432C5.21067 15.6213 4.496 14.8693 3.568 14.176C2.65067 13.4827 1.73333 13.04 0.816 12.848V12.176C1.72267 11.9627 2.592 11.568 3.424 10.992C4.26667 10.4053 4.97067 9.70133 5.536 8.88C6.112 8.03733 6.48 7.20533 6.64 6.384H7.312C7.408 6.91733 7.6 7.46667 7.888 8.032C8.176 8.58667 8.544 9.12 8.992 9.632C9.45067 10.1333 9.96267 10.5867 10.528 10.992C11.3707 11.5893 12.2293 11.984 13.104 12.176V12.848C12.5173 12.9653 11.9093 13.2053 11.28 13.568C10.6613 13.9307 10.0853 14.3627 9.552 14.864C9.01867 15.3547 8.58133 15.872 8.24 16.416C7.73867 17.216 7.42933 17.968 7.312 18.672H6.64Z' fill='%234A90E2'/%3E%3C/svg%3E%0A"); width: 14px; height: 24px;}
.list-highlighted > li:last-child:after{display: none;}

/* Bloque con imagen */
.block-img {padding-block: 75px;}
.block-img .wp-block-columns  {gap: 56px;}
.block-img .wp-block-columns:has( > .wp-block-column > figure + .lead) {align-items: center !important;}
.block-img .wp-block-columns > .wp-block-column > * {margin-bottom: 0 !important;}
.block-img .wp-block-columns > .wp-block-column {display: flex; flex-direction: column; gap: 21px;}
.block-img .wp-block-columns > .wp-block-column > figure {width: 100%; overflow: hidden; position: relative; border-radius: 23px;}
.block-img .wp-block-columns > .wp-block-column > figure:not(:has( + .lead)) {height: 100%;}
.block-img .wp-block-columns > .wp-block-column > figure:has( + .lead) {height: auto;}
.block-img .wp-block-columns > .wp-block-column > figure > img {width: 100%; height: 100%; object-fit: cover;}
.block-img .wp-block-columns > .wp-block-column > figure:not(:has( + .lead)) > img {position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);}
.block-img .wp-block-columns > .wp-block-column > .lead {font-size: 20px; line-height: var(--lh-body); color: #0A254091;}

@media (max-width: 940px) {
    .block-img .wp-block-columns > .wp-block-column > figure {height: auto; aspect-ratio: 544 / 410; }
}

/* Bloque texto */
.block-text {padding-block: 67px;}
.block-text .wp-block-columns {gap: 26px;}

/* Bloque con puntos destacados */
.block-points {padding-block: 80px;}
.block-points :is(.label, .wp-block-heading) {max-width: 50%; margin-left: unset !important; margin-right: unset !important;}
.block-points :is(.label, .wp-block-heading):has( + .wp-block-columns){margin-bottom: 0 !important;}
.block-points :is(.label, .wp-block-heading) + .wp-block-columns {margin-top: 35px;}
.block-points > .wp-block-columns {gap: 48px;}
.block-points > .wp-block-columns > .wp-block-column > :last-child {margin-bottom: 0 !important;}
.block-points > .wp-block-columns > .wp-block-column > figure {width: 100%; height: 100%; overflow: hidden; position: relative; border-radius: 23px;}
.block-points > .wp-block-columns > .wp-block-column > figure > img {width: 100%; height: 100%; object-fit: cover; position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);}
.block-points > .wp-block-columns > .wp-block-column > .wp-block-list {margin: 0; padding: 0; counter-reset: numbered;}
.block-points > .wp-block-columns > .wp-block-column > .wp-block-list > li {counter-increment: numbered; display: flex; align-items: center; gap: 14px; padding: 20px 15px 20px 5px; border-bottom: 1px solid #0A25401A; margin: 0; line-height: var(--lh-body);}
.block-points > .wp-block-columns > .wp-block-column > .wp-block-list > li:before {content: counter(numbered,decimal-leading-zero); font-family: var(--ff-heading); font-weight: 300; color: var(--blue-medium); text-wrap: nowrap;}
.block-points > .wp-block-columns > .wp-block-column > .wp-block-list + .lead {margin-top: 20px;}
.block-points > .wp-block-columns > .wp-block-column > .lead {color: #000000A3; font-style: italic; font-size: var(--fs-lg); line-height: var(--lh-body);}

@media (max-width: 940px) {
    .block-points :is(.label, .wp-block-heading) {max-width: unset;}
    .block-points > .wp-block-columns > .wp-block-column > figure {height: auto; aspect-ratio: 604 / 478;}
}

/* Bloque con destacados en varios niveles */
.block-highlighted {padding-block: 100px;}
.block-highlighted > .wp-block-columns {gap: 72px;}
.block-highlighted > .wp-block-columns > .wp-block-column:nth-child(1) {display: flex; flex-direction: column; gap: 27px;}
.block-highlighted > .wp-block-columns > .wp-block-column:nth-child(1) > * {margin-bottom: 0 !important;}
.block-highlighted > .wp-block-columns > .wp-block-column:nth-child(2) {display: flex; flex-direction: column; gap: 11px; padding-top: 48px;}
.block-highlighted > .wp-block-columns > .wp-block-column:nth-child(2) > .large {display: flex; flex-direction: column; gap: 11px; flex-wrap: wrap !important;}
.block-highlighted > .wp-block-columns > .wp-block-column:nth-child(2) > .large > .wp-block-column {flex-basis: 100% !important; min-width: 100%; padding: 15px 30px; background: var(--blue--accent); color: var(--white); border-radius: 23px; display: flex; flex-direction: column; gap: 10px;}
.block-highlighted > .wp-block-columns > .wp-block-column:nth-child(2) > .large > .wp-block-column > *{margin-bottom: 0 !important;}
.block-highlighted > .wp-block-columns > .wp-block-column:nth-child(2) > .large > .wp-block-column > p:not(.label):not(.lead) {font-style: Italic; font-size: 18px; line-height: var(--lh-body); letter-spacing: -1%; }
.block-highlighted > .wp-block-columns > .wp-block-column:nth-child(2) > .large > .wp-block-column > .label {font-weight: 250; font-size: var(--fs-body); line-height: var(--lh-body); letter-spacing: 30%; color: var(--white);}
.block-highlighted > .wp-block-columns > .wp-block-column:nth-child(2) > .large > .wp-block-column > .lead {font-family: var(--ff-heading); font-weight: 250; font-size: 128.14px; line-height: 110%; letter-spacing: 6%;}
.block-highlighted > .wp-block-columns > .wp-block-column:nth-child(2) > .small {gap: 12px; flex-wrap: wrap !important;}
.block-highlighted > .wp-block-columns > .wp-block-column:nth-child(2) > .small > .wp-block-column {max-width: 100%; flex-basis: auto !important; width: fit-content; flex-grow: 0; min-width: calc(50% - 6px); border-radius: 16px; border-top: 1px solid #0A25401A; background: #FFF; padding: 10px; font-size: var(--fs-md); line-height: var(--lh-md);}
.block-highlighted > .wp-block-columns > .wp-block-column:nth-child(2) > .small > .wp-block-column > * {margin-bottom: 0 !important;}
.block-highlighted > .wp-block-columns > .wp-block-column:nth-child(2) > .small > .wp-block-column > .title {font-family: var(--ff-heading); font-weight: 300; line-height: 32px;}

@media (max-width: 940px) {
    .block-highlighted > .wp-block-columns > .wp-block-column:nth-child(2) > .large > .wp-block-column > .lead {font-size: 95px;}
}

/* Bloque CTA */
.block-cta {min-height: unset !important; padding-block: 85px;}
.block-cta > .wp-block-cover__background {background: #0A2540; background-blend-mode: multiply; opacity: .57 !important;}
.block-cta > .wp-block-cover__inner-container{display: flex; flex-direction: column; justify-content: center; gap: 21px; line-height: var(--lh-body); text-align: center; color: var(--white);}
.block-cta > .wp-block-cover__inner-container > *{margin-bottom: 0 !important;}
.block-cta > .wp-block-cover__inner-container > .label{color: var(--white);}

/* Bloque cabecera */
.block-header {min-height: 75vh; padding-block: 65px; align-items: flex-end;}
.block-header > .wp-block-cover__background{background: linear-gradient(360deg, #3973B9 40.87%, #ffffff 100%) !important; mix-blend-mode: multiply;opacity: 1 !important;}
.block-header > .wp-block-cover__inner-container > :is(.wp-block-heading,p,ul,ol){color: var(--white); margin-bottom: 0;}
.block-header > .wp-block-cover__inner-container > :is(.wp-block-heading,p,ul,ol) + :is(.wp-block-heading,p,ul,ol){margin-top: 10px;}
.block-header > .wp-block-cover__inner-container > :is(.wp-block-heading,p,ul,ol) + .wp-block-buttons{margin-top: 40px;}
.block-header > .wp-block-cover__inner-container > :is(p,ul,li){font-size: var(--fs-lg); line-height: var(--lh-body);}
.block-header > .wp-block-cover__inner-container > .wp-block-buttons {gap: 28px;}

@media (min-width: 941px) {
    .block-header > .wp-block-cover__inner-container > :is(.wp-block-heading,p,ul,ol){max-width: 50%; margin-left: unset !important;; margin-right: unset !important;}
}

@media (max-width: 940px) {
    .block-header > .wp-block-cover__inner-container > .wp-block-heading {font-size: 50px; line-height: 49px;}
}

/* Bloque completo con destacados con iconos */
.block-highlighted-icons {padding-block: 75px;}
.block-highlighted-icons > .heading > .wp-block-column {display: flex; justify-content: center; flex-direction: column; gap: 20px; text-align: center; line-height: var(--lh-body);}
.block-highlighted-icons > .heading > .wp-block-column > * {margin-bottom: 0 !important;}
.block-highlighted-icons > .heading > .wp-block-column > .wp-block-buttons {justify-content: center;}
.block-highlighted-icons > .wp-block-columns + .wp-block-columns {margin-top: 60px;}
.block-highlighted-icons > .wp-block-columns:has(.small, .large) {gap: 18px;}
.block-highlighted-icons > .wp-block-columns:has(.small, .large) > .wp-block-column > .small {display: grid; gap: 10px; grid-template-columns: repeat(2,1fr);}
.block-highlighted-icons > .wp-block-columns:has(.small, .large) > .wp-block-column > :is(.small,.large) > .wp-block-column {background: var(--accent); display: flex; flex-direction: column;}
.block-highlighted-icons > .wp-block-columns:has(.small, .large) > .wp-block-column > :is(.small,.large) > .wp-block-column > * {margin-bottom: 0 !important;}
.block-highlighted-icons > .wp-block-columns:has(.small, .large) > .wp-block-column > .small > .wp-block-column {border-radius: 15px; padding: 13px 15px; gap: 10px; font-weight: 600; font-size: 17px; line-height: 32px; letter-spacing: -0.2px; color: var(--blue--accent);}
.block-highlighted-icons > .wp-block-columns:has(.small, .large) > .wp-block-column > .small > .wp-block-column .svg-inner {width: 42px; height: 42px; display: flex; justify-content: center; align-items: center; background: var(--blue-medium); border-radius: 53px; color: var(--white);}
.block-highlighted-icons > .wp-block-columns:has(.small, .large) > .wp-block-column:nth-child(2) > .small > .wp-block-column .svg-inner {background: var(--green);}
.block-highlighted-icons > .wp-block-columns:has(.small, .large) > .wp-block-column > .small > .wp-block-column .svg-inner svg {height: 20px; width: auto;}
.block-highlighted-icons > .wp-block-columns:has(.small, .large) > .wp-block-column > .small + .large {margin-top: 10px;}
.block-highlighted-icons > .wp-block-columns:has(.small, .large) > .wp-block-column > .large {display: grid; gap: 10px; grid-template-columns: 1fr;}
.block-highlighted-icons > .wp-block-columns:has(.small, .large) > .wp-block-column > .large > .wp-block-column {border-radius: 19px; padding: 35px; gap: 21px; font-size: 20px; line-height: var(--lh-body); color: #000000A3; border-bottom: 1px solid #BCCDEB;}
.block-highlighted-icons > .wp-block-columns:has(.small, .large) > .wp-block-column:nth-child(2) > .large > .wp-block-column {border-color: #C4EADF;}
.block-highlighted-icons > .wp-block-columns:has(.small, .large) > .wp-block-column > .large > .wp-block-column .svg-inner {color: var(--blue-medium);}
.block-highlighted-icons > .wp-block-columns:has(.small, .large) > .wp-block-column:nth-child(2) > .large > .wp-block-column .svg-inner {color: var(--green);}
.block-highlighted-icons > .wp-block-columns:has(.small, .large) > .wp-block-column > .large > .wp-block-column .svg-inner svg {height: 42px; width: auto;}
.block-highlighted-icons > .wp-block-columns:has(.small, .large) > .wp-block-column > .large > .wp-block-column .wp-block-heading {font-weight: 300; font-size: 40px;line-height: 110%;}
.block-highlighted-icons > .wp-block-columns:has(.small, .large) > .wp-block-column > .large > .wp-block-column .wp-block-heading > strong {font-weight: 300; color: var(--blue-medium);}
.block-highlighted-icons > .wp-block-columns:has(.small, .large) > .wp-block-column:nth-child(2) > .large > .wp-block-column .wp-block-heading > strong {fcolor: var(--green);}

@media (min-width: 941px) {
    .block-highlighted-icons > .heading > .wp-block-column > :is(.wp-block-heading, p, ul, ol) {max-width: 73%; margin-inline: auto;}
    .block-highlighted-icons > .wp-block-columns:has(.small, .large) > .wp-block-column > .small {grid-template-columns: repeat(3,1fr);}
}

/* Destacados en 4 columnas */
.block-4cols {padding-block: 65px;}
.block-4cols > .wp-block-heading {text-align: center; margin-bottom: 0; font-size: 40px; line-height: 110%;}
.block-4cols > .wp-block-heading + .wp-block-columns {margin-top: 40px;}
.block-4cols > .wp-block-columns {display: grid; grid-template-columns: 1fr 1fr; gap: 15px;}
.block-4cols > .wp-block-columns > .wp-block-column{ border-radius: 16px; border-top: 1px solid #0A25401A; padding: 20px 15px; background: var(--white); display: flex; flex-direction: column; gap: 0; font-size: var(--fs-md); line-height: var(--lh-body); color: var(--blue--accent);}
.block-4cols > .wp-block-columns > .wp-block-column:has(figure){gap: 35px;}
.block-4cols > .wp-block-columns > .wp-block-column > figure{height: 125px; width: auto; display: flex; justify-content: flex-start; align-items: center;}
.block-4cols > .wp-block-columns > .wp-block-column > figure > img{width: 100%; height: 100%; object-fit: contain; object-position: left center;}
.block-4cols > .wp-block-columns > .wp-block-column > *{ margin-bottom: 0;}
.block-4cols > .wp-block-columns > .wp-block-column > .wp-block-heading{ font-size: 18px; line-height: var(--lh-body);}

@media (min-width: 941px) {
    .block-4cols > .wp-block-columns {grid-template-columns: repeat(4,1fr);}
}

/* Bloque con listado informativo */
.block-info-list {min-height: unset !important; padding-block: 75px;}
.block-info-list > .wp-block-cover__inner-container > .wp-block-columns {gap: 60px;}
.block-info-list > .wp-block-cover__inner-container > .wp-block-columns > .wp-block-column {display: flex; flex-direction: column; gap: 10px; justify-content: space-between;}
.block-info-list > .wp-block-cover__inner-container > .wp-block-columns > .wp-block-column > *{margin-bottom: 0 !important;}
.block-info-list > .wp-block-cover__inner-container > .wp-block-columns > .wp-block-column > .wp-block-heading{font-size: 40px; line-height: 110%; color: var(--white);}
.block-info-list > .wp-block-cover__inner-container > .wp-block-columns > .wp-block-column > .wp-block-list{line-height: var(--lh-body); color: var(--white); display: flex; flex-direction: column; gap: 5px;}

@media (max-width: 940px) {
    .block-info-list > .wp-block-cover__inner-container > .wp-block-columns > .wp-block-column > figure + .wp-block-buttons{ margin-top: 40px;}
}

/* Bloque FAQS */
.block-faqs {padding-block: 90px;}
.block-faqs  > .wp-block-heading {text-align: center; margin-bottom: 0;}
.block-faqs  > .wp-block-heading + .wp-block-yoast-faq-block {margin-top: 40px;}
.block-faqs  > .wp-block-yoast-faq-block > .schema-faq-section {padding: 13px 19px 30px; border-bottom: 1px solid #0A25401A; background: #FFFFFF7A; display: flex; flex-direction: column; gap: 30px;}
.block-faqs  > .wp-block-yoast-faq-block > .schema-faq-section:nth-child(1) {border-top-left-radius: 7px; border-top-right-radius: 7px;}
.block-faqs  > .wp-block-yoast-faq-block > .schema-faq-section:last-child {border-bottom-left-radius: 7px; border-bottom-right-radius: 7px;}
.block-faqs  > .wp-block-yoast-faq-block > .schema-faq-section > * {margin-bottom: 0;}
.block-faqs  > .wp-block-yoast-faq-block > .schema-faq-section > .schema-faq-question {display: flex; justify-content: space-between; gap: 20px; font-weight: 600; font-size: 18px; line-height: 28px; letter-spacing: -0.36px; cursor: pointer;}
.block-faqs  > .wp-block-yoast-faq-block > .schema-faq-section > .schema-faq-question:after {display: block; background-image: url("data:image/svg+xml,%3Csvg width='9' height='6' viewBox='0 0 9 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0.664816 0.665061L4.49707 4.49731L8.32932 0.665061' stroke='%23282828' stroke-width='1.33' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A"); width: 9px; height: 6px; content: ""; transition: transform 300ms ease-in-out;}
.block-faqs  > .wp-block-yoast-faq-block > .schema-faq-section.open > .schema-faq-question:after {transform: rotate(180deg);}
.block-faqs  > .wp-block-yoast-faq-block > .schema-faq-section > .schema-faq-answer {font-size: 18px; line-height: var(--lh-body); display: none;}

/* Bloque de descargas */
.block-downloads{padding-block: 80px;}
.block-downloads > .wp-block-heading{margin-bottom: 0; text-align: center;}
.block-downloads > .wp-block-heading + .wp-block-buttons{margin-top: 40px;}
.block-downloads > .wp-block-buttons{justify-content: center; gap: 19px;}




