/* ==================================================
   AVRE EXPERTISES - GLOBAL DESIGN SYSTEM
   ================================================== */
:root {
  --avre-blue: #114266;
  --avre-blue-dark: #0B304A;
  --avre-blue-light: #EDF3F7;
  --avre-orange: #FF8710;
  --avre-orange-dark: #B85600;
  --avre-red: #E3312D;
  --avre-red-dark: #C62828;
  --avre-text: #172B3A;
  --avre-text-secondary: #526473;
  --avre-bg: #FFFFFF;
  --avre-bg-alt: #F5F7F8;
  --avre-border: #DCE4E9;
  --avre-radius-button: 6px;
  --avre-radius-card: 8px;
  --avre-transition: 220ms ease;
  --avre-font: "Public Sans", sans-serif;
  --avre-form-border: #CCD7DE;
  --avre-gap: 24px;
  --avre-content-max: 1240px;
  --avre-media-overlay: rgba(0,0,0,.68);
  --avre-media-overlay-strong: rgba(0,0,0,.84);
}
/* Q01: ancho estándar desktop en la row directa; full-width conserva Salient. */
@media (min-width: 1000px) {
  #ajax-content-wrap .container-wrap > .container.main-content > .row {
    width: 100%;
    max-width: var(--avre-content-max);
    margin-left: auto;
    margin-right: auto;
  }
}
/* Q02: margen estándar móvil de 20px; full-width conserva el escape nativo Salient. */
@media (max-width: 690px) {
  #ajax-content-wrap .container-wrap > .container.main-content {
    max-width: calc(100% - 40px);
  }
}
/* A03: solo tamaños/interlineados del contenido principal. Redux conserva familia/peso.
   Tokens locales al scope; page_heading y componentes explícitos mantienen su rol. */
#ajax-content-wrap .container-wrap > .container.main-content {
  --avre-type-body-size: 17px;
  --avre-type-h1-size: 48px;
  --avre-type-h2-size: 42px;
  --avre-type-h3-size: 28px;
  --avre-type-h4-size: 22px;
  --avre-type-h5-size: 13px;
  --avre-type-h6-size: 15px;
  font-size: var(--avre-type-body-size);
  line-height: 1.65;
}
#ajax-content-wrap .container-wrap > .container.main-content h1:not(:where(.avre-h1, .avre-h1--hero, .avre-eyebrow, .section-title *, .overlaid-content *)) {
  font-size: var(--avre-type-h1-size);
  line-height: 1.12;
}
#ajax-content-wrap .container-wrap > .container.main-content h2:not(:where(.avre-eyebrow, .section-title *, .overlaid-content *)) {
  font-size: var(--avre-type-h2-size);
  line-height: 1.15;
}
#ajax-content-wrap .container-wrap > .container.main-content h3:not(:where(.post-heading, .avre-eyebrow, .section-title *, .overlaid-content *)) {
  font-size: var(--avre-type-h3-size);
  line-height: 1.25;
}
#ajax-content-wrap .container-wrap > .container.main-content h4:not(:where(.avre-eyebrow, .section-title *, .overlaid-content *)) {
  font-size: var(--avre-type-h4-size);
  line-height: 1.30;
}
#ajax-content-wrap .container-wrap > .container.main-content h5:not(:where(.avre-eyebrow, .section-title *, .overlaid-content *)) {
  font-size: var(--avre-type-h5-size);
  line-height: 1.35;
}
#ajax-content-wrap .container-wrap > .container.main-content h6:not(:where(.avre-eyebrow, .section-title *, .overlaid-content *)) {
  font-size: var(--avre-type-h6-size);
  line-height: 1.35;
}
/* W06: excepción validada para ocultar el toggle desktop nativo, no el móvil. */
@media (min-width: 1000px) {
  #header-outer .slide-out-widget-area-toggle:not(.mobile-icon) {
    display: none !important;
  }
}
/* Componentes explícitos: conservan sus variantes y precedencia frente a A03. */
.avre-h1 {
  font-family: var(--avre-font);
  font-size: 48px;
  font-weight: 600;
  line-height: 1.12;
  margin-top: 0;
  overflow-wrap: anywhere;
}
.avre-h1.avre-h1--hero {
  font-size: 56px;
  line-height: 1.08;
}
/* Controles aislados (icono/enlace de acción), no enlaces dentro de párrafos. */
.avre-target {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  max-width: 100%;
}
/* BOTONES */
/* Salient puede aplicar decoración de enlace dentro de wpb_text_column.
   Los componentes .avre-button nunca deben mostrar subrayado. */
#ajax-content-wrap a.avre-button,
#ajax-content-wrap a.avre-button:link,
#ajax-content-wrap a.avre-button:visited,
#ajax-content-wrap a.avre-button:hover,
#ajax-content-wrap a.avre-button:focus,
#ajax-content-wrap a.avre-button:focus-visible,
#ajax-content-wrap a.avre-button:active {
  text-decoration: none !important;
  text-decoration-line: none !important;
  background-image: none !important;
}
#ajax-content-wrap a.avre-button * {
  text-decoration: none !important;
}

.avre-button { min-width: 44px; }
.avre-button {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  min-height: 48px;
  padding: 14px 26px;
  border: 1px solid transparent;
  border-radius: var(--avre-radius-button);
  font-family: var(--avre-font);
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  text-align: center;
  text-decoration: none;
  white-space: normal;
  overflow-wrap: anywhere;
  cursor: pointer;
  transition: color var(--avre-transition), background-color var(--avre-transition), border-color var(--avre-transition), transform var(--avre-transition), box-shadow var(--avre-transition);
}
.avre-button--primary {
  color: var(--avre-bg) !important;
  background-color: var(--avre-blue);
  background-image: none;
  border-color: var(--avre-blue);
}
.avre-button--primary:is(:hover, :focus, :focus-visible) {
  color: var(--avre-bg) !important;
  background-color: var(--avre-blue-dark);
  border-color: var(--avre-blue-dark);
}
.avre-button--secondary {
  color: var(--avre-secondary-color, var(--avre-blue));
  background-color: transparent;
  background-image: none;
  border-color: var(--avre-secondary-color, var(--avre-blue));
}
.avre-button--secondary:is(:hover, :focus, :focus-visible) {
  color: var(--avre-secondary-text-hover, var(--avre-bg));
  background-color: var(--avre-secondary-bg-hover, var(--avre-blue));
}
#ajax-content-wrap a.avre-button--secondary:is(:hover, :focus, :focus-visible) {
  color: var(--avre-secondary-text-hover, var(--avre-bg)) !important;
  background-color: var(--avre-secondary-bg-hover, var(--avre-blue)) !important;
  border-color: var(--avre-secondary-color, var(--avre-blue)) !important;
}

/* Variante destacada: degradado AVRE reutilizable para CTA de alta prioridad. */
.avre-button--gradient {
  color: var(--avre-bg) !important;
  background-color: var(--avre-blue);
  background-image: linear-gradient(
    120deg,
    var(--avre-blue),
    var(--avre-orange-dark),
    var(--avre-red-dark),
    var(--avre-blue)
  ) !important;
  background-size: 220% 220%;
  border-color: transparent;
  box-shadow: 0 6px 18px rgba(17,66,102,.16);
}
.avre-button--gradient:is(:hover, :focus, :focus-visible) {
  color: var(--avre-bg) !important;
  background-position: 100% 50%;
  animation: avre-gradient-move 3s ease infinite;
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(17,66,102,.22);
}

/* Variante clara para fondos azules, oscuros o fotográficos protegidos. */
.avre-button--light {
  color: var(--avre-blue-dark);
  background-color: var(--avre-bg);
  background-image: none;
  border-color: var(--avre-bg);
  box-shadow: 0 6px 18px rgba(0,0,0,.08);
}
.avre-button--light:is(:hover, :focus, :focus-visible) {
  color: var(--avre-blue-dark);
  background-color: var(--avre-blue-light);
  border-color: var(--avre-blue-light);
  transform: translateY(-1px);
}
/* CTA CONTACTO · 2026-10-23
   Solo botones reales de contacto y CTA de navegacion.
   No convierte enlaces editoriales ni marcadores pendientes en botones.
   Colores oscuros elegidos para preservar contraste con texto blanco. */
:root {
  --avre-contact-cta-start: #B85600;
  --avre-contact-cta-end: #C62828;
  --avre-contact-cta-gradient: linear-gradient(
    120deg, var(--avre-contact-cta-start), var(--avre-contact-cta-end)
  );
}

/* Botones AVRE, botones nativos Salient y Nectar CTA con destino contacto.
   Para destinos de devis alternativos: anadir avre-button--contact al <a>. */
#ajax-content-wrap :is(
  a.avre-button--contact,
  a.avre-button[href*="/contact"],
  a.avre-button[href$="#contact"],
  a.nectar-button[href*="/contact"],
  .nectar-cta a[href*="/contact"]
),
/* El CTA del menu lleva la clase avre-menu-cta en el li. */
#header-outer #top nav > ul > li.avre-menu-cta > a,
#slide-out-widget-area li.avre-menu-cta > a,
#header-outer #mobile-menu li.avre-menu-cta > a {
  box-sizing: border-box;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  max-width: 100%;
  min-height: 48px !important;
  color: #fff !important;
  background-color: var(--avre-contact-cta-start) !important;
  background-image: var(--avre-contact-cta-gradient) !important;
  background-position: center !important;
  background-size: 100% 100% !important;
  border: 1px solid transparent !important;
  border-radius: var(--avre-radius-button, 6px) !important;
  text-decoration: none !important;
  font-family: var(--avre-font, "Public Sans", sans-serif);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.25;
  opacity: 1 !important;
  animation: none !important;
  transform: none;
  box-shadow: 0 3px 12px rgba(184,86,0,.14);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

#ajax-content-wrap :is(
  a.avre-button--contact,
  a.avre-button[href*="/contact"],
  a.avre-button[href$="#contact"],
  a.nectar-button[href*="/contact"],
  .nectar-cta a[href*="/contact"]
) {
  padding: 14px 26px !important;
}

/* Header compacto: no ampliar el alto ni el ancho innecesariamente. */
#header-outer #top nav > ul > li.avre-menu-cta > a,
#slide-out-widget-area li.avre-menu-cta > a,
#header-outer #mobile-menu li.avre-menu-cta > a {
  padding: 12px 20px !important;
  text-align: center;
  white-space: normal;
}

#header-outer #top nav > ul > li.avre-menu-cta > a :is(span, .menu-title-text),
#slide-out-widget-area li.avre-menu-cta > a :is(span, .menu-title-text),
#header-outer #mobile-menu li.avre-menu-cta > a :is(span, .menu-title-text) {
  color: #fff !important;
  opacity: 1 !important;
  text-decoration: none !important;
}

#ajax-content-wrap :is(
  a.avre-button--contact,
  a.avre-button[href*="/contact"],
  a.avre-button[href$="#contact"],
  a.nectar-button[href*="/contact"],
  .nectar-cta a[href*="/contact"]
):is(:hover, :focus),
#header-outer #top nav > ul > li.avre-menu-cta > a:is(:hover, :focus),
#slide-out-widget-area li.avre-menu-cta > a:is(:hover, :focus),
#header-outer #mobile-menu li.avre-menu-cta > a:is(:hover, :focus) {
  color: #fff !important;
  background-image: var(--avre-contact-cta-gradient) !important;
  box-shadow: 0 8px 22px rgba(198,40,40,.24) !important;
  transform: translateY(-1px);
}

#ajax-content-wrap :is(
  a.avre-button--contact,
  a.avre-button[href*="/contact"],
  a.avre-button[href$="#contact"],
  a.nectar-button[href*="/contact"],
  .nectar-cta a[href*="/contact"]
):focus-visible,
#header-outer #top nav > ul > li.avre-menu-cta > a:focus-visible,
#slide-out-widget-area li.avre-menu-cta > a:focus-visible,
#header-outer #mobile-menu li.avre-menu-cta > a:focus-visible {
  outline: 3px solid #FFB25C !important;
  outline-offset: 3px !important;
  box-shadow: 0 0 0 2px #114266 !important;
}

@media (prefers-reduced-motion: reduce) {
  #ajax-content-wrap :is(
    a.avre-button--contact,
    a.avre-button[href*="/contact"],
    a.avre-button[href$="#contact"],
    a.nectar-button[href*="/contact"],
    .nectar-cta a[href*="/contact"]
  ),
  #header-outer #top nav > ul > li.avre-menu-cta > a,
  #slide-out-widget-area li.avre-menu-cta > a,
  #header-outer #mobile-menu li.avre-menu-cta > a {
    transition: none !important;
    animation: none !important;
    transform: none !important;
  }
}

@keyframes avre-gradient-move {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
/* SECCIONES */
.avre-section { padding-top: 96px; padding-bottom: 96px; }
.avre-section-sm { padding-top: 64px; padding-bottom: 64px; }
.avre-section-alt { background: var(--avre-bg-alt); }
.avre-section-blue { background: var(--avre-blue); color: #fff; }
.avre-readable, .avre-readable p, .avre-readable-center p { max-width: min(100%, 720px); }
.avre-readable-center { max-width: min(100%, 760px); margin-left: auto; margin-right: auto; }
/* Un grid Avre empieza en una columna; no sustituye filas/column-spacing Salient. */
.avre-grid { display: grid; gap: var(--avre-gap); }
.avre-grid > * { min-width: 0; }
/* TARJETAS */
.avre-card {
  background: var(--avre-bg);
  border: 1px solid var(--avre-border);
  border-radius: var(--avre-radius-card);
  padding: 32px;
  transition: transform var(--avre-transition), box-shadow var(--avre-transition), border-color var(--avre-transition);
}
.avre-card:hover {
  transform: translateY(-3px);
  border-color: rgba(17,66,102,.30);
  box-shadow: 0 12px 35px rgba(17,66,102,.08);
}
/* AVRE · Cards de perfil + navegación contextual. Componentes opt-in,
   reutilizables y sin cambios en tarjetas/menús ajenos a estas clases. */
.avre-profile-card {
  height: 100%;
  display: flex;
  flex-direction: column;
}
.avre-profile-card > .wpb_wrapper {
  display: flex;
  flex: 1 1 auto;
  min-height: 0;
  flex-direction: column;
}
.avre-profile-card > .wpb_wrapper > p:last-child {
  margin-top: auto;
  padding-top: 20px;
}
/* AVRE Contact · Votre profil V7 — directorio editorial, NO tarjetas repetidas.
   Opt-in: exclusivamente #votre-profil.avre-audience.
   Una acción compartida a #demande; los perfiles describen ámbitos, no
   simulan destinos distintos ni exigen JS. El resto de Contact no cambia. */
#ajax-content-wrap .main-content #votre-profil.avre-audience {
  background: #0B304A;
  color: #fff;
}
#ajax-content-wrap .main-content .avre-audience .avre-audience__intro,
#ajax-content-wrap .main-content .avre-audience .avre-audience__roles {
  min-width: 0;
}
#ajax-content-wrap .main-content .avre-audience .avre-audience__heading {
  max-width: 265px;
  padding-right: 20px;
}
#ajax-content-wrap .main-content .avre-audience .avre-audience__heading h2 {
  margin: 0;
  max-width: 255px;
  color: #fff !important;
  font-size: clamp(32px, 3.25vw, 47px);
  font-weight: 600;
  line-height: 1.1;
  text-wrap: balance;
}
#ajax-content-wrap .main-content .avre-audience .avre-audience__rule {
  display: block;
  width: 68px;
  height: 3px;
  margin: 25px 0 30px;
  background: var(--avre-orange, #B85600);
}
#ajax-content-wrap .main-content .avre-audience .avre-audience__cta {
  margin: 0;
}
#ajax-content-wrap .main-content .avre-audience .avre-audience__cta .avre-button {
  margin: 0;
  max-width: 100%;
}
#ajax-content-wrap .main-content .avre-audience .avre-audience__pair {
  margin-bottom: 24px;
}
#ajax-content-wrap .main-content .avre-audience .avre-audience__pair:last-child {
  margin-bottom: 0;
}
#ajax-content-wrap .main-content .avre-audience .avre-audience__item {
  box-sizing: border-box;
  margin-bottom: 0;
  padding: 22px 12px 3px 0;
  border-top: 1px solid rgba(255,255,255,.28);
  background: transparent;
  color: #fff;
}
#ajax-content-wrap .main-content .avre-audience .avre-audience__item h3 {
  color: #fff !important;
  font-size: clamp(21px, 1.7vw, 25px);
  line-height: 1.23;
  margin: 0 0 10px;
  text-wrap: pretty;
}
#ajax-content-wrap .main-content .avre-audience .avre-audience__item p {
  max-width: 35ch;
  margin: 0 0 15px;
  color: rgba(255,255,255,.85) !important;
  font-size: 15px;
  line-height: 1.55;
}
#ajax-content-wrap .main-content .avre-audience .avre-audience__item ul {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  list-style: none;
  margin: 0;
  padding: 0;
}
#ajax-content-wrap .main-content .avre-audience .avre-audience__item ul li {
  box-sizing: border-box;
  margin: 0;
  padding: 5px 9px;
  background: rgba(255,255,255,.09);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 3px;
  color: rgba(255,255,255,.93) !important;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.4;
}
@media (max-width: 999px) {
  #ajax-content-wrap .main-content .avre-audience .avre-audience__heading {
    max-width: none;
    padding: 0 0 20px;
  }
  #ajax-content-wrap .main-content .avre-audience .avre-audience__heading h2 {
    max-width: none;
    font-size: 34px;
  }
  #ajax-content-wrap .main-content .avre-audience .avre-audience__rule {
    margin: 17px 0 20px;
  }
}
@media (max-width: 690px) {
  #ajax-content-wrap .main-content .avre-audience .avre-audience__pair {
    margin-bottom: 0;
  }
  #ajax-content-wrap .main-content .avre-audience .avre-audience__item {
    padding: 21px 0 22px;
  }
  #ajax-content-wrap .main-content .avre-audience .avre-audience__item ul li {
    font-size: 12px;
  }
}

/* AVRE Contact — ritmos corregidos tras revisión visual (23/10/2026).
   Hero fotográfico con media ID 6353 confirmado en la Home; las propiedades
   de media/overlay se declaran en WPBakery, no se repiten como URLs en CSS.
   Clases opt-in y sin efectos sobre Home, otras páginas o el footer. */
.avre-contact-photo-hero .avre-contact-photo-hero__content {
  max-width: 760px;
  color: #fff;
}
.avre-contact-photo-hero .avre-contact-photo-hero__content :is(h1,p,.avre-eyebrow) {
  color: #fff;
}
.avre-contact-photo-hero__content .avre-h1--hero {
  max-width: 730px;
  text-wrap: balance;
}
.avre-contact-photo-hero__content .avre-lead {
  max-width: 640px;
  line-height: 1.55;
}
.avre-contact-photo-hero__content .avre-contact-hero-standfirst {
  font-weight: 600;
  font-size: 18px;
}
.avre-contact-photo-hero__content .avre-button {
  margin-top: 10px;
}
.avre-contact-intro h2 { max-width: 525px; }
.avre-contact-intro__details { max-width: 610px; }
.avre-contact-domain-list {
  columns: 2;
  column-gap: 38px;
  margin-top: 16px;
  margin-bottom: 0;
  padding-left: 22px;
}
.avre-contact-domain-list li {
  break-inside: avoid;
  margin-bottom: 7px;
}
.avre-contact-aside {
  box-sizing: border-box;
  height: 100%;
  color: var(--avre-text);
  overflow-wrap: anywhere;
}
.avre-contact-aside h4 { margin: 0 0 9px; }
.avre-contact-aside .avre-link {
  color: var(--avre-blue);
  overflow-wrap: anywhere;
  text-decoration-thickness: 1px;
}
.avre-contact-aside .avre-link:is(:hover, :focus, :focus-visible) {
  color: var(--avre-orange-dark);
  text-decoration-thickness: 2px;
}
/* C03/FAQ restaurada como sección legible con dos columnas y sombra nativa. */
.avre-contact-faq h2 { margin-bottom: 18px; }
.avre-contact-faq .toggles { margin-top: 0; }
@media (max-width: 999px) {
  .avre-contact-photo-hero__content .avre-h1--hero {
    font-size: clamp(36px, 4.8vw, 52px);
  }
}
@media (max-width: 690px) {
  .avre-contact-photo-hero__content .avre-h1--hero { font-size: 35px; }
  .avre-contact-domain-list { columns: 1; }
  .avre-contact-aside { padding: 26px 24px; }
  .avre-contact-faq .toggles { margin-top: 18px; }
}
/* AVRE Contact — routeur photographique Home H05 / C07 (ID 1263 / 1276 / 1274).
   Structure 2/3 + 1/3 avec deux panneaux empilés : les images, overlays
   et colonnes sont pilotés par Salient; le CSS règle seulement rythme et lisibilité.
   Scope volontairement spécifique à cette page; aucun impact sur la Home. */
.avre-contact-router .avre-contact-router__featured,
.avre-contact-router .avre-contact-router__side {
  min-width: 0;
}
.avre-contact-router .avre-contact-router__featured > .vc_column-inner {
  display: flex;
  align-items: flex-end;
  min-height: 572px;
}
.avre-contact-router .avre-contact-router__side > .vc_column-inner > .wpb_wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  min-width: 0;
}
.avre-contact-router .avre-contact-router__side :is(.inner_row, .vc_row_inner) {
  width: 100%;
  margin-bottom: 0 !important;
}
.avre-contact-router .avre-contact-router__secondary > .vc_column-inner {
  display: flex;
  align-items: flex-end;
  min-height: 274px;
}
.avre-contact-router .avre-contact-router__content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 620px;
  min-width: 0;
}
.avre-contact-router .avre-contact-router__content h3 {
  color: #fff !important;
  margin-bottom: 16px;
  overflow-wrap: normal;
  hyphens: auto;
}
.avre-contact-router .avre-contact-router__content p {
  max-width: 34em;
  color: #fff;
}
.avre-contact-router .avre-contact-router__secondary .avre-contact-router__content h3 {
  font-size: clamp(22px, 2.05vw, 28px) !important;
  line-height: 1.18;
}
.avre-contact-router .avre-contact-router__content .avre-link {
  color: #fff !important;
  text-underline-offset: 5px;
  overflow-wrap: normal;
  word-break: normal;
}
.avre-contact-router .avre-contact-router__content .avre-link:is(:hover,:focus,:focus-visible) {
  color: #fff !important;
  text-decoration-thickness: 2px;
}
@media (max-width: 999px) {
  .avre-contact-router .avre-contact-router__featured > .vc_column-inner {
    min-height: 480px;
  }
  .avre-contact-router .avre-contact-router__secondary > .vc_column-inner {
    min-height: 246px;
  }
}
@media (max-width: 690px) {
  .avre-contact-router .avre-contact-router__featured > .vc_column-inner {
    min-height: 380px;
  }
  .avre-contact-router .avre-contact-router__side > .vc_column-inner > .wpb_wrapper {
    gap: 16px;
  }
  .avre-contact-router .avre-contact-router__secondary > .vc_column-inner {
    min-height: 230px;
  }
  .avre-contact-router .avre-contact-router__content h3 {
    font-size: 23px !important;
    hyphens: none;
  }
}

/* ANTETÍTULOS */
.avre-eyebrow {
  color: var(--avre-eyebrow-color, var(--avre-orange-dark));
  font-family: var(--avre-font);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .08em;
  line-height: 1.35;
  text-transform: uppercase;
  margin-bottom: 16px;
}
/* PALETAS DE CONTENIDO: también resuelven headings de color explícito. */
.avre-content-light, .avre-section-blue {
  --avre-content-color: var(--avre-bg);
  --avre-link-color: var(--avre-bg);
  --avre-link-hover: var(--avre-bg);
  --avre-eyebrow-color: var(--avre-bg);
  --avre-secondary-color: var(--avre-bg);
  --avre-secondary-bg-hover: var(--avre-bg);
  --avre-secondary-text-hover: var(--avre-blue);
  --avre-focus-color: var(--avre-bg);
  color: var(--avre-content-color);
}
.avre-content-dark, .avre-card, .avre-section-alt {
  --avre-content-color: var(--avre-text);
  --avre-link-color: var(--avre-blue);
  --avre-link-hover: var(--avre-orange-dark);
  --avre-eyebrow-color: var(--avre-orange-dark);
  --avre-secondary-color: var(--avre-blue);
  --avre-secondary-bg-hover: var(--avre-blue);
  --avre-secondary-text-hover: var(--avre-bg);
  --avre-focus-color: var(--avre-blue);
  color: var(--avre-content-color);
}
#ajax-content-wrap :is(.avre-content-light, .avre-content-dark, .avre-section-blue, .avre-card, .avre-section-alt) :where(h1,h2,h3,h4,h5,h6,p,li,blockquote,label):not(:where(.avre-eyebrow)) {
  color: var(--avre-content-color);
}
/* Los enlaces nativos tipo botón conservan sus propios componentes. */
.avre-link,
:is(.avre-content-light, .avre-content-dark, .avre-section-blue, .avre-card, .avre-section-alt) :where(a:not(.avre-button, .nectar-button, .nectar-cta, .avre-menu-cta > a, .nectar-cta a)) {
  color: var(--avre-link-color, var(--avre-blue));
  text-decoration: underline;
  text-underline-offset: .2em;
  transition: color var(--avre-transition);
}
.avre-link:is(:hover, :focus, :focus-visible),
:is(.avre-content-light, .avre-content-dark, .avre-section-blue, .avre-card, .avre-section-alt) :where(a:not(.avre-button, .nectar-button, .nectar-cta, .avre-menu-cta > a, .nectar-cta a)):is(:hover, :focus, :focus-visible) {
  color: var(--avre-link-hover, var(--avre-orange-dark));
  text-decoration-thickness: 2px;
}
.avre-link--arrow {
  display: inline-flex;
  align-items: center;
  gap: .45em;
  font-weight: 600;
  text-decoration: none;
}
.avre-link--arrow::after {
  content: "\2192";
  display: inline-block;
  transition: transform var(--avre-transition);
}
.avre-link--arrow:is(:hover, :focus, :focus-visible) {
  text-decoration: none;
}
.avre-link--arrow:is(:hover, :focus, :focus-visible)::after {
  transform: translateX(4px);
}
/* A02: fondo/asset (0), protección (1), contenido (2). Sin clipping de focus. */
.avre-media-bg {
  position: relative;
  isolation: isolate;
  background-color: var(--avre-text);
}
.avre-media-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
  pointer-events: none;
}
.avre-media-bg--overlay::before { background: var(--avre-media-overlay); }
.avre-media-bg--strong::before,
.avre-media-bg--overlay-strong::before { background: var(--avre-media-overlay-strong); }
.avre-media-bg--gradient::before {
  background: linear-gradient(120deg, var(--avre-media-overlay-strong), rgba(0,0,0,.76) 50%, var(--avre-media-overlay));
}
.avre-media-bg > .avre-media-asset {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  overflow: hidden;
  object-fit: cover;
}
.avre-media-asset > :where(img, video) { width: 100%; height: 100%; object-fit: cover; }
.avre-media-bg > .avre-media-content { position: relative; z-index: 2; min-width: 0; }
/* El contenido oscuro recibe una superficie opaca local, independiente del medio. */
.avre-media-bg.avre-content-dark > .avre-media-content,
.avre-media-bg > .avre-media-content.avre-content-dark {
  background: var(--avre-bg);
  padding: 32px;
}
/* FORMULARIOS: opt-in frontend; nunca inputs/labels administrativos globales. */
:where(.main-content) .avre-form :where(input[type="text"],input[type="email"],input[type="tel"],input[type="number"],select,textarea) {
  box-sizing: border-box;
  max-width: 100%;
  font-family: var(--avre-font);
  font-size: 16px;
  color: var(--avre-text);
  background: var(--avre-bg);
  border: 1px solid var(--avre-form-border);
  border-radius: 5px;
  min-height: 50px;
  padding: 12px 14px;
  transition: border-color var(--avre-transition), box-shadow var(--avre-transition);
}
:where(.main-content) .avre-form textarea { min-height: 150px; }
:where(.main-content) .avre-form label {
  font-family: var(--avre-font);
  color: var(--avre-content-color, var(--avre-text));
  font-size: 15px;
  font-weight: 600;
}
/* AVRE Contact V6 — formulaire compact + implantations sans remplissage artificiel.
   Pas de equal_height, flex:1, justify-content:space-around ni height:100%.
   Les blocs prennent leur hauteur naturelle; les données et consentements restent visibles. */
#ajax-content-wrap .main-content .avre-contact-section .row_col_wrap_12 {
  align-items: flex-start;
}
#ajax-content-wrap .main-content .avre-contact-section :is(.avre-contact-section__main, .avre-contact-section__details) {
  min-width: 0;
  align-self: flex-start;
}
#ajax-content-wrap .main-content .avre-contact-section :is(.avre-contact-section__main, .avre-contact-section__details) > .vc_column-inner,
#ajax-content-wrap .main-content .avre-contact-section :is(.avre-contact-section__main, .avre-contact-section__details) > .vc_column-inner > .wpb_wrapper {
  min-width: 0;
  height: auto;
  display: block;
}
#ajax-content-wrap .main-content .avre-contact-section__heading { margin-bottom: 16px; }
#ajax-content-wrap .main-content .avre-contact-section__heading h2 { margin-bottom: 8px; }
#ajax-content-wrap .main-content .avre-contact-section__heading p:last-child {
  margin-bottom: 0;
  color: var(--avre-text-secondary);
}
#ajax-content-wrap .main-content .avre-contact-section__main .avre-form,
#ajax-content-wrap .main-content .avre-contact-section__details .avre-contact-aside { margin-bottom: 0; }
#ajax-content-wrap .main-content .avre-contact-section__details .avre-contact-aside,
#ajax-content-wrap .main-content .avre-contact-section__details .avre-contact-aside > .wpb_wrapper,
#ajax-content-wrap .main-content .avre-contact-aside__inner {
  height: auto;
  min-height: 0;
}
#ajax-content-wrap .main-content .avre-contact-aside__inner {
  display: block;
  min-width: 0;
}
#ajax-content-wrap .main-content .avre-contact-aside__heading h3 {
  font-size: clamp(21px, 2vw, 26px);
  margin: 0;
}
#ajax-content-wrap .main-content .avre-contact-aside__locations {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  flex: none;
  gap: 24px;
  min-height: 0;
  margin: 23px 0 0 5px;
  padding-left: 19px;
  border-left: 1px solid #C5D3DD;
}
#ajax-content-wrap .main-content .avre-contact-aside__location {
  position: relative;
  max-width: 100%;
}
#ajax-content-wrap .main-content .avre-contact-aside__location::before {
  content: "";
  position: absolute;
  left: -25px;
  top: 8px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--avre-orange);
  box-shadow: 0 0 0 4px #EFF3F6;
}
#ajax-content-wrap .main-content .avre-contact-aside__location h4 { margin-bottom: 6px; }
#ajax-content-wrap .main-content .avre-contact-aside__location p {
  margin: 0 0 10px;
  line-height: 1.5;
}
#ajax-content-wrap .main-content .avre-contact-aside__location p:last-child { margin-bottom: 0; }

/* Controls: three paired rows + a short message area; no inner framing.
   Retain original CF7 mail-tags, options and legal/consent copy. */
#ajax-content-wrap .main-content .avre-contact-section .avre-contact-form__grid {
  gap: 13px 16px;
  align-items: end;
}
#ajax-content-wrap .main-content .avre-contact-section .avre-contact-form__primary {
  padding: 0;
  background: none;
  border: 0;
  border-radius: 0;
}
#ajax-content-wrap .main-content .avre-contact-section .avre-contact-form__field > label,
#ajax-content-wrap .main-content .avre-contact-section .avre-contact-form__choice-group > legend {
  margin-bottom: 5px;
  font-size: 14px;
  font-weight: 600;
}
#ajax-content-wrap .main-content .avre-contact-section .avre-contact-form__field :is(input[type="text"], input[type="email"]) {
  box-sizing: border-box;
  min-height: 44px;
  height: 44px;
  padding: 9px 12px;
  background: #fff;
  border-color: #B7CAD6;
}
#ajax-content-wrap .main-content .avre-contact-section .avre-contact-form__choice-group {
  margin: 0;
  align-self: end;
}
#ajax-content-wrap .main-content .avre-contact-section .avre-contact-form__choices .wpcf7-list-item label {
  min-height: 42px;
  padding: 8px 12px;
}
#ajax-content-wrap .main-content .avre-contact-section .avre-contact-form__field--message {
  margin-top: 14px;
}
#ajax-content-wrap .main-content .avre-contact-section .avre-contact-form__field--message textarea {
  box-sizing: border-box;
  min-height: 108px;
  height: 108px;
  max-height: none;
  padding: 10px 12px;
  resize: vertical;
}
#ajax-content-wrap .main-content .avre-contact-section .avre-contact-form__legal {
  margin-top: 16px;
  padding-top: 14px;
}
#ajax-content-wrap .main-content .avre-contact-section .avre-contact-form__legal p {
  font-size: 13px;
  line-height: 1.5;
  margin-bottom: 9px;
}
#ajax-content-wrap .main-content .avre-contact-section .avre-contact-form__consent {
  margin-top: 10px;
}
#ajax-content-wrap .main-content .avre-contact-section .avre-contact-form__consent > legend {
  font-size: 13px;
  line-height: 1.5;
  font-weight: 600;
  margin-bottom: 5px;
}
#ajax-content-wrap .main-content .avre-contact-section .avre-contact-form__consent .wpcf7-list-item label {
  min-height: 28px;
}
#ajax-content-wrap .main-content .avre-contact-section .avre-contact-form__actions {
  margin-top: 16px;
}
#ajax-content-wrap .main-content .avre-contact-section .avre-contact-form input.wpcf7-submit {
  min-width: 154px;
  min-height: 44px;
  padding: 11px 22px;
}
@media (max-width: 999px) {
  #ajax-content-wrap .main-content .avre-contact-aside__locations { padding-left: 18px; }
  #ajax-content-wrap .main-content .avre-contact-aside__location::before { left: -24px; }
}
@media (max-width: 690px) {
  #ajax-content-wrap .main-content .avre-contact-section .avre-contact-form__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }
  #ajax-content-wrap .main-content .avre-contact-section .avre-contact-form__field--message textarea {
    min-height: 104px;
    height: 104px;
  }
  #ajax-content-wrap .main-content .avre-contact-aside__locations {
    gap: 22px;
    margin-top: 18px;
  }
}
/* AVRE / CONTACT FORM 7 #612 — componente reutilizable con opt-in.
   El shortcode de página lleva .avre-form; el template CF7 lleva .avre-contact-form.
   No modifica otros formularios ni administra la lógica, destinatarios o RGPD. */
#ajax-content-wrap .main-content .avre-form .avre-contact-form {
  max-width: 760px;
  color: var(--avre-text);
}
#ajax-content-wrap .main-content .avre-form .avre-contact-form__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 24px;
}
#ajax-content-wrap .main-content .avre-form .avre-contact-form__grid--spaced,
#ajax-content-wrap .main-content .avre-form .avre-contact-form__field--spaced {
  margin-top: 24px;
}
#ajax-content-wrap .main-content .avre-form .avre-contact-form__field,
#ajax-content-wrap .main-content .avre-form .avre-contact-form__field > .wpcf7-form-control-wrap {
  min-width: 0;
  display: block;
}
#ajax-content-wrap .main-content .avre-form .avre-contact-form__field > label,
#ajax-content-wrap .main-content .avre-form .avre-contact-form :is(.avre-contact-form__choice-group, .avre-contact-form__consent) > legend {
  display: block;
  width: 100%;
  margin: 0 0 8px;
  padding: 0;
  font-family: var(--avre-font);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--avre-text);
}
#ajax-content-wrap .main-content .avre-form .avre-contact-form__required {
  font-size: 13px;
  font-weight: 400;
  color: var(--avre-text-secondary);
}
#ajax-content-wrap .main-content .avre-form .avre-contact-form__field :is(input[type="text"], input[type="email"], input[type="tel"], textarea) {
  display: block;
  width: 100%;
  margin: 0;
  border-color: var(--avre-form-border);
  box-shadow: none;
}
#ajax-content-wrap .main-content .avre-form .avre-contact-form__field textarea {
  min-height: 108px;
  resize: vertical;
}
#ajax-content-wrap .main-content .avre-form .avre-contact-form :is(.avre-contact-form__choice-group, .avre-contact-form__consent) {
  min-width: 0;
  margin: 24px 0 0;
  padding: 0;
  border: 0;
}
#ajax-content-wrap .main-content .avre-form .avre-contact-form__choices .wpcf7-form-control {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
#ajax-content-wrap .main-content .avre-form .avre-contact-form .wpcf7-list-item {
  margin: 0;
}
#ajax-content-wrap .main-content .avre-form .avre-contact-form__choices .wpcf7-list-item label {
  box-sizing: border-box;
  display: inline-flex;
  flex-direction: row-reverse; /* label_first: control visible antes del texto */
  justify-content: flex-end;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 10px 16px;
  border: 1px solid var(--avre-form-border);
  border-radius: var(--avre-radius-button);
  background: var(--avre-bg);
  color: var(--avre-text);
  font-weight: 500;
  cursor: pointer;
  transition: border-color var(--avre-transition), background-color var(--avre-transition);
}
#ajax-content-wrap .main-content .avre-form .avre-contact-form :is(.avre-contact-form__choices, .avre-contact-form__consent) input[type="checkbox"] {
  box-sizing: border-box;
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: var(--avre-blue);
}
#ajax-content-wrap .main-content .avre-form .avre-contact-form__choices .wpcf7-list-item label:has(input:checked) {
  border-color: var(--avre-blue);
  background: var(--avre-blue-light);
}
#ajax-content-wrap .main-content .avre-form .avre-contact-form__legal {
  margin-top: 30px;
  padding-top: 22px;
  border-top: 1px solid var(--avre-border);
}
#ajax-content-wrap .main-content .avre-form .avre-contact-form__legal p {
  margin: 0 0 12px;
  color: var(--avre-text-secondary);
  font-size: 14px;
  line-height: 1.6;
}
#ajax-content-wrap .main-content .avre-form .avre-contact-form__consent {
  margin-top: 18px;
}
#ajax-content-wrap .main-content .avre-form .avre-contact-form__consent .wpcf7-list-item label {
  display: inline-flex;
  flex-direction: row-reverse;
  justify-content: flex-end;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  cursor: pointer;
}
#ajax-content-wrap .main-content .avre-form .avre-contact-form__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 26px;
  gap: 12px;
}
#ajax-content-wrap .main-content .avre-form .avre-contact-form input.wpcf7-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 160px;
  min-height: 48px;
  max-width: 100%;
  margin: 0;
  padding: 14px 26px;
  border: 1px solid transparent;
  border-radius: var(--avre-radius-button);
  color: #fff !important;
  background-color: var(--avre-contact-cta-start) !important;
  background-image: var(--avre-contact-cta-gradient) !important;
  background-size: 100% 100%;
  box-shadow: 0 3px 12px rgba(184,86,0,.14);
  font-family: var(--avre-font);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.25;
  cursor: pointer;
  opacity: 1;
  transition: transform var(--avre-transition), box-shadow var(--avre-transition);
}
#ajax-content-wrap .main-content .avre-form .avre-contact-form input.wpcf7-submit:is(:hover,:focus,:focus-visible) {
  color: #fff !important;
  background-image: var(--avre-contact-cta-gradient) !important;
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(198,40,40,.24);
}
#ajax-content-wrap .main-content .avre-form .avre-contact-form input.wpcf7-submit:focus-visible {
  outline: 3px solid var(--avre-blue) !important;
  outline-offset: 3px;
}
#ajax-content-wrap .main-content .avre-form .avre-contact-form :is(input[aria-invalid="true"], textarea[aria-invalid="true"]) {
  border-color: #B42318;
}
#ajax-content-wrap .main-content .avre-form .avre-contact-form .wpcf7-not-valid-tip {
  display: block;
  margin-top: 6px;
  color: #A01C16;
  font-size: 14px;
  line-height: 1.45;
}
#ajax-content-wrap .main-content .avre-form .wpcf7 form .wpcf7-response-output {
  margin: 20px 0 0;
  padding: 14px 18px;
  border-radius: var(--avre-radius-button);
  border-width: 0 0 0 4px;
  background: var(--avre-blue-light);
  color: var(--avre-text);
}
#ajax-content-wrap .main-content .avre-form .wpcf7 form:is(.invalid,.unaccepted,.failed,.aborted,.spam) .wpcf7-response-output {
  background: #FFF4F1;
  border-color: #B42318;
}
#ajax-content-wrap .main-content .avre-form .wpcf7 form.sent .wpcf7-response-output {
  background: #EAF7F0;
  border-color: #216E4E;
}
@media (max-width: 690px) {
  #ajax-content-wrap .main-content .avre-form .avre-contact-form__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }
  #ajax-content-wrap .main-content .avre-form .avre-contact-form__choices .wpcf7-list-item label {
    width: 100%;
  }
}
@media (prefers-reduced-motion: reduce) {
  #ajax-content-wrap .main-content .avre-form .avre-contact-form input.wpcf7-submit,
  #ajax-content-wrap .main-content .avre-form .avre-contact-form__choices .wpcf7-list-item label {
    transition: none;
    transform: none;
  }
}

/* ACCESIBILIDAD */
.avre-target:focus-visible,
:where(.main-content) :where(a,button,input,select,textarea,[tabindex]):focus-visible,
.avre-button:focus-visible, .avre-link:focus-visible, .avre-menu-cta > a:focus-visible,
:is(.avre-media-content, .avre-card) :where(a,button,input,select,textarea,[tabindex]):focus-visible {
  outline: 3px solid var(--avre-focus-color, var(--avre-blue));
  outline-offset: 3px;
  box-shadow: 0 0 0 3px var(--avre-bg);
}
:where(.main-content) .avre-form :where(input[type="text"],input[type="email"],input[type="tel"],input[type="number"],select,textarea):focus {
  outline: 3px solid var(--avre-blue);
  outline-offset: 3px;
  border-color: var(--avre-blue);
  box-shadow: 0 0 0 3px var(--avre-bg);
}
::selection { background: var(--avre-blue); color: #fff; }
@media (max-width: 999px) {
  #ajax-content-wrap .container-wrap > .container.main-content {
    --avre-type-h1-size: 40px;
    --avre-type-h2-size: 34px;
    --avre-type-h3-size: 25px;
    --avre-type-h4-size: 20px;
  }
  .avre-h1 { font-size: 40px; }
  .avre-h1.avre-h1--hero { font-size: 46px; }
  .avre-section { padding-top: 72px; padding-bottom: 72px; }
}
@media (max-width: 690px) {
  #ajax-content-wrap .container-wrap > .container.main-content {
    --avre-type-body-size: 16px;
    --avre-type-h1-size: 34px;
    --avre-type-h2-size: 29px;
    --avre-type-h3-size: 23px;
    --avre-type-h4-size: 19px;
    --avre-type-h5-size: 12px;
    --avre-type-h6-size: 14px;
  }
  :root { --avre-gap: 16px; }
  .avre-h1 { font-size: 34px; }
  .avre-h1.avre-h1--hero { font-size: 36px; }
  .avre-section { padding-top: 56px; padding-bottom: 56px; }
  .avre-section-sm { padding-top: 40px; padding-bottom: 40px; }
  .avre-card { padding: 24px; }
  .avre-eyebrow { font-size: 12px; }
  .avre-media-bg.avre-content-dark > .avre-media-content,
  .avre-media-bg > .avre-media-content.avre-content-dark { padding: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  .avre-button, .avre-menu-cta > a, .avre-card, .avre-link, .avre-link--arrow::after,
  :is(.avre-content-light, .avre-content-dark, .avre-section-blue, .avre-card, .avre-section-alt) :where(a),
  :where(.main-content) .avre-form :where(input,select,textarea) { animation: none; transition: none; }
  .avre-menu-cta > a:is(:hover, :focus, :focus-visible),
  .avre-button--gradient:is(:hover, :focus, :focus-visible),
  .avre-card:hover,
  .avre-link--arrow:is(:hover, :focus, :focus-visible)::after {
    animation: none;
    transform: none;
  }
}

/* AVRE — LANDING / PAGE COMPOSITION COMPONENTS */
.avre-button-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
}
.avre-button-group .avre-button { margin: 0; }

.avre-hero-copy { max-width: 760px; }
.avre-hero-copy .avre-readable {
  max-width: 680px;
  margin-top: 24px;
  color: rgba(255,255,255,.88);
}
.avre-hero-shell .avre-eyebrow {
  color: #fff;
  margin-bottom: 18px;
}
.avre-capability-row {
  border-top: 1px solid rgba(255,255,255,.28);
  background: rgba(11,48,74,.34);
  backdrop-filter: blur(8px);
  border-radius: var(--avre-radius-card);
  overflow: hidden;
}
.avre-capability-item > .vc_column-inner > .wpb_wrapper {
  min-height: 76px;
  display: flex;
  align-items: center;
}
.avre-capability-item h5 {
  margin: 0 !important;
  color: #fff !important;
  font-size: 14px !important;
  letter-spacing: .02em;
}
.avre-capability-item + .avre-capability-item {
  border-left: 1px solid rgba(255,255,255,.20);
}

.avre-section-heading { max-width: 860px; }
.avre-section-heading h2 { margin-bottom: 18px; }

.avre-problem-card {
  position: relative;
  min-height: 150px;
  display: flex;
  align-items: center;
  border: 0;
  overflow: hidden;
  box-shadow: 0 8px 28px rgba(17,66,102,.08);
}
.avre-problem-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, var(--avre-blue), var(--avre-orange));
}
.avre-problem-card h3 {
  margin: 0;
  font-size: 22px !important;
  line-height: 1.25 !important;
}

.avre-stat-row {
  margin-top: 10px;
  padding-top: 30px;
  border-top: 1px solid var(--avre-border);
}
.avre-stat h2 {
  margin-bottom: 6px !important;
  color: var(--avre-blue) !important;
}
.avre-stat p {
  color: var(--avre-text-secondary) !important;
  line-height: 1.35 !important;
}

.avre-statement {
  background: linear-gradient(135deg, var(--avre-blue-dark) 0%, var(--avre-blue) 100%) !important;
}
.avre-statement h2 {
  max-width: 900px;
  color: #fff !important;
}
.avre-statement .avre-eyebrow { color: rgba(255,255,255,.72); }
.avre-statement .avre-content-light { max-width: 720px; }

.avre-reference-panel {
  max-width: 920px;
  padding: 48px;
  background: var(--avre-bg-alt);
  border: 1px solid var(--avre-border);
  border-radius: var(--avre-radius-card);
  box-shadow: 0 10px 36px rgba(17,66,102,.06);
}
.avre-reference-panel h2 { margin-bottom: 16px; }

.avre-check-list ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 10px 24px;
  margin: 24px 0 28px;
  padding: 0;
  list-style: none !important;
}
.avre-check-list li {
  position: relative;
  margin: 0;
  padding-left: 26px;
  list-style: none !important;
}
.avre-check-list li::marker {
  content: "";
}
.avre-check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--avre-blue);
  font-weight: 600;
}

.avre-ecosystem-grid .avre-card { height: 100%; }
.avre-card--featured {
  --avre-content-color: #fff;
  --avre-link-color: #fff;
  --avre-link-hover: #fff;
  --avre-eyebrow-color: #fff;
  background: var(--avre-blue);
  border-color: var(--avre-blue);
  box-shadow: 0 12px 34px rgba(17,66,102,.16);
}
.avre-card--featured:hover {
  border-color: var(--avre-blue-dark);
  box-shadow: 0 16px 40px rgba(17,66,102,.22);
}

.avre-cta-band {
  background-color: var(--avre-blue-light) !important;
  background-image: linear-gradient(135deg, var(--avre-blue-light) 0%, #fff 78%) !important;
}
.avre-cta-copy {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}
.avre-cta-band h2 { color: var(--avre-blue-dark) !important; }

@media (max-width: 999px) {
  .avre-capability-row { background: rgba(11,48,74,.42); }
  .avre-capability-item + .avre-capability-item {
    border-left: 0;
    border-top: 1px solid rgba(255,255,255,.18);
  }
  .avre-reference-panel { padding: 40px; }
}
@media (max-width: 690px) {
  .avre-button-group { align-items: stretch; }
  .avre-button-group .avre-button { width: 100%; }
  .avre-problem-card { min-height: 118px; }
  .avre-problem-card h3 { font-size: 20px !important; }
  .avre-reference-panel { padding: 28px 24px; }
  .avre-check-list ul { grid-template-columns: 1fr; }
}

/* AVRE — ENJEUX EDITORIAL + CTA VISUAL */
.avre-enjeux-layout {
  background:
    radial-gradient(circle at 85% 15%, rgba(17,66,102,.08), transparent 30%),
    linear-gradient(180deg, #F5F7F8 0%, #EDF3F7 100%) !important;
}
.avre-enjeux-intro {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 100%;
  padding: 52px 46px;
  background: linear-gradient(145deg, var(--avre-blue-dark) 0%, var(--avre-blue) 100%);
  border-radius: 10px;
  box-shadow: 0 20px 50px rgba(11,48,74,.16);
}
.avre-enjeux-intro::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 240px;
  height: 240px;
  right: -110px;
  bottom: -110px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.16);
  box-shadow:
    0 0 0 34px rgba(255,255,255,.035),
    0 0 0 72px rgba(255,255,255,.025);
}
.avre-enjeux-intro .avre-eyebrow {
  color: #FFB25C !important;
}
.avre-enjeux-intro h2 {
  margin: 0 0 24px !important;
  color: #fff !important;
  font-size: 36px !important;
  line-height: 1.12 !important;
}
.avre-enjeux-intro > p:not(.avre-eyebrow):not(.avre-enjeux-cta) {
  max-width: 32ch;
  color: rgba(255,255,255,.80) !important;
}
.avre-enjeux-cta { margin: 34px 0 0; }
.avre-enjeux-intro .avre-button--secondary {
  --avre-secondary-color: #fff;
  --avre-secondary-bg-hover: #fff;
  --avre-secondary-text-hover: var(--avre-blue-dark);
}
.avre-enjeux-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 20px;
}
.avre-enjeu-card {
  position: relative;
  min-height: 168px;
  padding: 30px 30px 28px;
  background: rgba(255,255,255,.94);
  border: 1px solid rgba(17,66,102,.10);
  border-radius: 10px;
  box-shadow: 0 10px 28px rgba(17,66,102,.08);
  overflow: hidden;
  transition:
    transform var(--avre-transition),
    box-shadow var(--avre-transition),
    border-color var(--avre-transition);
}
.avre-enjeu-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: linear-gradient(180deg, var(--avre-blue), var(--avre-orange));
}
.avre-enjeu-card::after {
  content: "";
  position: absolute;
  width: 92px;
  height: 92px;
  right: -48px;
  bottom: -48px;
  border-radius: 50%;
  background: rgba(17,66,102,.04);
  transition: transform var(--avre-transition), background-color var(--avre-transition);
}
.avre-enjeu-card:hover {
  transform: translateY(-4px);
  border-color: rgba(17,66,102,.22);
  box-shadow: 0 18px 38px rgba(17,66,102,.13);
}
.avre-enjeu-card:hover::after {
  transform: scale(1.22);
  background: rgba(255,135,16,.08);
}
.avre-enjeu-index {
  display: block;
  margin-bottom: 24px;
  color: var(--avre-orange-dark);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .12em;
}
.avre-enjeu-card h3 {
  max-width: 17ch;
  margin: 0 !important;
  color: var(--avre-text) !important;
  font-size: 22px !important;
  line-height: 1.25 !important;
}

.avre-cta-visual {
  position: relative;
  min-height: 560px;
  background-color: var(--avre-blue-dark) !important;
}
.avre-cta-visual .avre-cta-copy {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}
.avre-cta-visual .avre-eyebrow {
  margin-bottom: 20px;
  color: var(--avre-orange) !important;
}
.avre-cta-visual h2 {
  margin-bottom: 24px !important;
  color: #fff !important;
  font-size: 48px !important;
  line-height: 1.1 !important;
}
.avre-cta-visual .avre-cta-copy > p:not(.avre-eyebrow) {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  color: rgba(255,255,255,.88) !important;
}
.avre-button-group--center {
  justify-content: center;
  margin-top: 34px;
}
.avre-cta-visual .avre-button--secondary {
  --avre-secondary-color: #fff;
  --avre-secondary-bg-hover: #fff;
  --avre-secondary-text-hover: var(--avre-blue-dark);
}
@media (max-width: 999px) {
  .avre-enjeux-layout .avre-enjeux-intro-col,
  .avre-enjeux-layout .avre-enjeux-grid-col {
    width: 100%;
  }
  .avre-enjeux-grid-col {
    padding-left: 0 !important;
    margin-top: 28px;
  }
  .avre-enjeux-intro {
    padding: 42px 36px;
  }
  .avre-enjeux-intro h2 {
    max-width: 18ch;
    font-size: 32px !important;
  }
  .avre-cta-visual { min-height: 500px; }
  .avre-cta-visual h2 { font-size: 40px !important; }
}
@media (max-width: 690px) {
  .avre-enjeux-intro { padding: 34px 26px; }
  .avre-enjeux-intro h2 { font-size: 29px !important; }
  .avre-enjeux-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .avre-enjeu-card {
    min-height: 126px;
    padding: 24px 24px 22px;
  }
  .avre-enjeu-index { margin-bottom: 14px; }
  .avre-enjeu-card h3 { font-size: 20px !important; }
  .avre-cta-visual { min-height: 460px; }
  .avre-cta-visual h2 { font-size: 34px !important; }
}

/* AVRE — ENJEUX REFINEMENT V2 */
/* La columna de introducción ocupa la misma altura visual que el grid. */
.avre-enjeux-layout .avre-enjeux-intro-col > .vc_column-inner,
.avre-enjeux-layout .avre-enjeux-intro-col > .vc_column-inner > .wpb_wrapper,
.avre-enjeux-layout .avre-enjeux-intro {
  height: 100%;
}
.avre-enjeux-intro > .wpb_wrapper {
  min-height: 100%;
  display: flex;
  flex-direction: column;
}
.avre-enjeux-intro .avre-enjeux-cta {
  margin-top: auto;
  padding-top: 36px;
}

/* CTA principal del bloque: blanco sólido para dar un punto de entrada claro. */
#ajax-content-wrap .avre-enjeux-intro a.avre-button--secondary {
  color: var(--avre-blue-dark) !important;
  background: #fff !important;
  border-color: #fff !important;
  box-shadow: 0 8px 24px rgba(0,0,0,.10);
}
#ajax-content-wrap .avre-enjeux-intro a.avre-button--secondary:is(:hover,:focus,:focus-visible) {
  color: #fff !important;
  background: var(--avre-orange-dark) !important;
  border-color: var(--avre-orange-dark) !important;
  transform: translateY(-1px);
}

/* Watermark numérico: añade profundidad sin inventar contenido. */
.avre-enjeu-card::after {
  content: attr(data-index);
  width: auto;
  height: auto;
  right: 18px;
  bottom: -14px;
  border-radius: 0;
  background: none;
  color: var(--avre-blue);
  font-size: 78px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -.06em;
  opacity: .045;
  transform: none;
}
.avre-enjeu-card:hover::after {
  color: var(--avre-orange-dark);
  background: none;
  opacity: .075;
  transform: translateY(-4px);
}
.avre-enjeu-card:hover {
  background: #fff;
}

/* Un poco más de carácter en la numeración pequeña. */
.avre-enjeu-index {
  display: inline-flex;
  align-items: center;
  min-width: 36px;
  min-height: 28px;
  padding: 0 9px;
  margin-bottom: 24px;
  border: 1px solid rgba(184,86,0,.16);
  border-radius: 999px;
  background: rgba(255,135,16,.08);
}

/* Evita que los títulos más largos se sientan comprimidos. */
.avre-enjeu-card h3 {
  max-width: 19ch;
}

@media (max-width: 999px) {
  .avre-enjeux-layout .avre-enjeux-intro-col > .vc_column-inner,
  .avre-enjeux-layout .avre-enjeux-intro-col > .vc_column-inner > .wpb_wrapper,
  .avre-enjeux-layout .avre-enjeux-intro {
    height: auto;
  }
  .avre-enjeux-intro > .wpb_wrapper {
    min-height: 0;
  }
  .avre-enjeux-intro .avre-enjeux-cta {
    margin-top: 0;
    padding-top: 8px;
  }
}
@media (max-width: 690px) {
  .avre-enjeu-card::after {
    font-size: 64px;
    right: 14px;
    bottom: -10px;
  }
}

/* AVRE — SERVICES / EXPERTISES COMPONENTS
   Promoted from page-drafts/nos-expertises. Global reusable ownership. */
.avre-lead {
  font-family: var(--avre-font);
  font-size: 20px;
  font-weight: 400;
  line-height: 1.55;
}

.avre-services-hero h1 {
  max-width: 19ch;
  margin-inline: auto;
}
.avre-services-hero .avre-lead {
  max-width: 650px;
  margin-inline: auto;
  color: var(--avre-text-secondary);
}
.avre-services-hero .avre-button { margin-top: var(--avre-gap); }
.avre-services-hero .avre-eyebrow::after {
  content: "";
  display: block;
  width: 52px;
  height: 3px;
  margin: 12px auto 0;
  background: linear-gradient(90deg,var(--avre-orange),var(--avre-red));
  border-radius: 2px;
}

.avre-services-method { border-top: 1px solid var(--avre-border); }
.avre-services-method .avre-lead {
  max-width: 720px;
  color: var(--avre-blue);
}
.avre-services-catalogue { background-color: var(--avre-bg-alt); }
.avre-services-catalogue h2::after {
  content: "";
  display: block;
  width: 68px;
  height: 3px;
  margin-top: 20px;
  background: linear-gradient(90deg,var(--avre-orange),var(--avre-red));
  border-radius: 2px;
}

.avre-services-module .avre-eyebrow { color: var(--avre-orange-dark); }
.avre-services-module h2 {
  padding-left: 14px;
  border-left: 3px solid var(--avre-orange);
}
.avre-services-module .avre-services-lead {
  margin: 16px 0 24px;
  color: var(--avre-blue);
  font-size: 20px;
  font-weight: 500;
  line-height: 1.45;
}
.avre-services-module .avre-services-description {
  max-width: 62ch;
  margin-bottom: 16px;
  color: var(--avre-text-secondary);
  line-height: 1.6;
}
.avre-services-module :is(.avre-services-points,.avre-services-audience,.avre-services-uses) h3 {
  margin-bottom: 16px;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.3;
}
.avre-services-module .avre-services-points.avre-check-list > ul {
  display: grid;
  grid-template-columns: minmax(0,1fr);
  gap: 12px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}
.avre-services-module .avre-services-points li {
  padding-left: 24px;
  font-size: 15px;
  line-height: 1.48;
}
.avre-services-module .avre-services-points li::before {
  color: var(--avre-orange-dark);
}
.avre-services-module .avre-services-cta-row {
  padding-top: var(--avre-gap);
  margin-top: 0;
}
.avre-services-module .avre-services-pending-cta {
  opacity: 1;
  cursor: default;
  pointer-events: none;
}
.avre-services-module .avre-button--secondary {
  color: var(--avre-blue);
  background: transparent;
  border-color: var(--avre-blue);
}

.avre-services-module .avre-services-audience {
  position: relative;
  min-height: 100%;
  overflow: hidden;
}
.avre-services-module .avre-services-audience::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg,var(--avre-orange),var(--avre-red));
}
.avre-services-module .avre-services-audience--light {
  --avre-content-color: var(--avre-blue-dark);
  --avre-link-color: var(--avre-blue);
  background: var(--avre-blue-light);
  color: var(--avre-blue-dark);
  border: 1px solid var(--avre-border);
  box-shadow: 0 10px 25px rgba(17,66,102,.06);
}
.avre-services-module ul.avre-services-persona-list {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.avre-services-module ul.avre-services-persona-list li {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  margin: 0;
  padding: 7px 11px;
  border-radius: 999px;
  list-style: none;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.3;
  overflow-wrap: anywhere;
}
.avre-services-module ul.avre-services-persona-list li::marker { content: ""; }
.avre-services-module ul.avre-services-persona-list li::before {
  content: none;
  display: none;
}
.avre-services-module .avre-services-audience--blue li {
  color: #fff;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.38);
}
.avre-services-module .avre-services-audience--light li {
  color: var(--avre-blue-dark);
  background: #fff;
  border: 1px solid rgba(17,66,102,.18);
}
.avre-services-module .avre-services-uses {
  padding: 24px 20px;
  background: var(--avre-bg-alt);
  border: 1px solid var(--avre-border);
  border-top: 3px solid var(--avre-orange);
  border-radius: var(--avre-radius-card);
}

.avre-services-difference .avre-services-benefits {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 16px;
  margin-top: var(--avre-gap);
}
.avre-services-difference .avre-services-benefits > div {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px 18px;
  color: #fff;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: var(--avre-radius-card);
  font-weight: 500;
  line-height: 1.45;
}
.avre-services-difference .avre-services-benefits span {
  flex: 0 0 auto;
  color: var(--avre-orange);
  font-weight: 600;
}

.avre-services-final-cta .avre-eyebrow { color: #FFB25C; }

@media (max-width:999px) {
  .avre-services-hero .avre-lead,
  .avre-services-method .avre-lead,
  .avre-services-module .avre-services-lead { font-size: 19px; }
  .avre-services-difference .avre-services-benefits { grid-template-columns: 1fr; }
}
@media (max-width:690px) {
  .avre-services-hero h1 { max-width: 100%; }
  .avre-services-hero .avre-lead,
  .avre-services-method .avre-lead,
  .avre-services-module .avre-services-lead { font-size: 18px; }
  .avre-services-module .avre-services-pending-cta,
  .avre-services-final-cta .avre-button { width: 100%; }
}
@media(prefers-reduced-motion:reduce) {
  .avre-services-module .avre-services-pending-cta { transition: none; }
}
/* P14 — AVRE FOOTER COMPACT · WPBakery V2, staging visual correction.
   Native Salient rows organize columns/paddings. CSS owns only component
   hierarchy, colors, links and the single legal-section divider.
   Salient Global Section removes row el_class in observed DOM, so anchor to
   the preserved vc_column_text class .avre-footer__brand. */
:is(.avre-footer, .wpb_row.vc_row:not(.inner_row):has(.avre-footer__brand)) {
  --avre-footer-accent: #FFB25C;
  --avre-footer-muted: #D4DFE7;
  --avre-footer-rule: rgba(255,255,255,.20);
  background: var(--avre-blue-dark);
  color: var(--avre-bg);
  font-family: var(--avre-font);
}

:is(.avre-footer, .wpb_row.vc_row:not(.inner_row):has(.avre-footer__brand)) :is(.avre-footer__main, .wpb_row.vc_row.inner_row:has(.avre-footer__brand)),
:is(.avre-footer, .wpb_row.vc_row:not(.inner_row):has(.avre-footer__brand)) :is(.avre-footer__regulatory-row, .wpb_row.vc_row.inner_row:has(.avre-footer__company-legal)),
:is(.avre-footer, .wpb_row.vc_row:not(.inner_row):has(.avre-footer__brand)) :is(.avre-footer__bottom-row, .wpb_row.vc_row.inner_row:has(.avre-footer__credit)) {
  width: 100%;
  max-width: var(--avre-content-max);
  margin-inline: auto;
}

:is(.avre-footer, .wpb_row.vc_row:not(.inner_row):has(.avre-footer__brand)) .wpb_text_column { margin-bottom: 0; }
:is(.avre-footer, .wpb_row.vc_row:not(.inner_row):has(.avre-footer__brand)) .wpb_text_column p { margin-bottom: 0; }

:is(.avre-footer, .wpb_row.vc_row:not(.inner_row):has(.avre-footer__brand)) .avre-footer__wordmark {
  margin: 0 0 12px;
  color: #fff;
  font-weight: 600;
  font-size: 17px;
  line-height: 1.3;
}
:is(.avre-footer, .wpb_row.vc_row:not(.inner_row):has(.avre-footer__brand)) .avre-footer__wordmark span {
  color: var(--avre-footer-accent);
  font-weight: 400;
}

#ajax-content-wrap :is(.avre-footer, .wpb_row.vc_row:not(.inner_row):has(.avre-footer__brand)) h2.avre-footer__heading,
:is(.avre-footer, .wpb_row.vc_row:not(.inner_row):has(.avre-footer__brand)) h2.avre-footer__heading {
  max-width: 540px;
  margin: 0 0 12px;
  color: #fff;
  font-family: var(--avre-font);
  font-size: 28px;
  line-height: 1.22;
  letter-spacing: -.02em;
  font-weight: 600;
}

:is(.avre-footer, .wpb_row.vc_row:not(.inner_row):has(.avre-footer__brand)) .avre-footer__eyebrow {
  margin: 2px 0 12px;
  color: var(--avre-footer-muted);
  font-size: 11px;
  line-height: 1.45;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
}

:is(.avre-footer, .wpb_row.vc_row:not(.inner_row):has(.avre-footer__brand)) .avre-footer__links,
:is(.avre-footer, .wpb_row.vc_row:not(.inner_row):has(.avre-footer__brand)) .avre-footer__links li {
  padding: 0;
  margin: 0;
  list-style: none;
}
:is(.avre-footer, .wpb_row.vc_row:not(.inner_row):has(.avre-footer__brand)) .avre-footer__links li + li { margin-top: 3px; }

:is(.avre-footer, .wpb_row.vc_row:not(.inner_row):has(.avre-footer__brand)) .avre-footer__links a,
:is(.avre-footer, .wpb_row.vc_row:not(.inner_row):has(.avre-footer__brand)) .avre-footer__action a,
:is(.avre-footer, .wpb_row.vc_row:not(.inner_row):has(.avre-footer__brand)) .avre-footer__contact-details a,
:is(.avre-footer, .wpb_row.vc_row:not(.inner_row):has(.avre-footer__brand)) .avre-footer__legal a {
  color: #fff;
  text-decoration: none;
  transition: color var(--avre-transition);
}

:is(.avre-footer, .wpb_row.vc_row:not(.inner_row):has(.avre-footer__brand)) .avre-footer__links a,
:is(.avre-footer, .wpb_row.vc_row:not(.inner_row):has(.avre-footer__brand)) .avre-footer__links .avre-footer__pending {
  display: inline-flex;
  align-items: center;
  min-height: 27px;
  max-width: 100%;
  font-size: 14px;
  line-height: 1.4;
  font-weight: 500;
}
:is(.avre-footer, .wpb_row.vc_row:not(.inner_row):has(.avre-footer__brand)) .avre-footer__links .avre-footer__pending {
  color: var(--avre-footer-muted);
  font-weight: 400;
}

:is(.avre-footer, .wpb_row.vc_row:not(.inner_row):has(.avre-footer__brand)) .avre-footer__action a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  border-bottom: 1px solid var(--avre-footer-accent);
  font-size: 14px;
  line-height: 1.4;
  font-weight: 600;
}
:is(.avre-footer, .wpb_row.vc_row:not(.inner_row):has(.avre-footer__brand)) .avre-footer__action a span { color: var(--avre-footer-accent); }

:is(.avre-footer, .wpb_row.vc_row:not(.inner_row):has(.avre-footer__brand)) .avre-footer__contact-details {
  margin-top: 20px;
}
:is(.avre-footer, .wpb_row.vc_row:not(.inner_row):has(.avre-footer__brand)) .avre-footer__contact-details address {
  margin: 0;
  font-style: normal;
  color: var(--avre-footer-muted);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.75;
}
:is(.avre-footer, .wpb_row.vc_row:not(.inner_row):has(.avre-footer__brand)) .avre-footer__contact-details a {
  font-size: 13px;
  font-weight: 500;
}

/* El separador distingue el cierre (copyright/legales), no los datos de la sociedad. */
:is(.avre-footer, .wpb_row.vc_row:not(.inner_row):has(.avre-footer__brand)) .avre-footer__bottom-row,
:is(.avre-footer, .wpb_row.vc_row:not(.inner_row):has(.avre-footer__brand)) .wpb_row.vc_row.inner_row:has(.avre-footer__credit) {
  border-top: 1px solid var(--avre-footer-rule);
}

/* Datos societarios y mediador: un único grupo legal, sin otra caja o divisor. */
:is(.avre-footer, .wpb_row.vc_row:not(.inner_row):has(.avre-footer__brand)) .avre-footer__company-legal p,
:is(.avre-footer, .wpb_row.vc_row:not(.inner_row):has(.avre-footer__brand)) .avre-footer__mediator p {
  margin: 0;
  color: var(--avre-footer-muted);
  font-size: 12.5px;
  font-weight: 400;
  line-height: 1.65;
  overflow-wrap: anywhere;
}
:is(.avre-footer, .wpb_row.vc_row:not(.inner_row):has(.avre-footer__brand)) .avre-footer__company-legal strong,
:is(.avre-footer, .wpb_row.vc_row:not(.inner_row):has(.avre-footer__brand)) .avre-footer__mediator strong {
  color: #fff;
  font-weight: 600;
}
:is(.avre-footer, .wpb_row.vc_row:not(.inner_row):has(.avre-footer__brand)) .avre-footer__mediator a {
  color: #fff;
  text-decoration: none;
  transition: color var(--avre-transition);
}
:is(.avre-footer, .wpb_row.vc_row:not(.inner_row):has(.avre-footer__brand)) .avre-footer__mediator a:is(:hover,:focus-visible) {
  color: var(--avre-footer-accent);
}

:is(.avre-footer, .wpb_row.vc_row:not(.inner_row):has(.avre-footer__brand)) .avre-footer__credit p,
:is(.avre-footer, .wpb_row.vc_row:not(.inner_row):has(.avre-footer__brand)) .avre-footer__legal p {
  margin: 0;
  color: var(--avre-footer-muted);
  font-size: 12.5px;
  line-height: 1.55;
}
:is(.avre-footer, .wpb_row.vc_row:not(.inner_row):has(.avre-footer__brand)) .avre-footer__legal p { text-align: right; }
:is(.avre-footer, .wpb_row.vc_row:not(.inner_row):has(.avre-footer__brand)) .avre-footer__legal a { font-size: 12.5px; }

:is(.avre-footer, .wpb_row.vc_row:not(.inner_row):has(.avre-footer__brand)) .avre-footer__links a:is(:hover,:focus-visible),
:is(.avre-footer, .wpb_row.vc_row:not(.inner_row):has(.avre-footer__brand)) .avre-footer__action a:is(:hover,:focus-visible),
:is(.avre-footer, .wpb_row.vc_row:not(.inner_row):has(.avre-footer__brand)) .avre-footer__contact-details a:is(:hover,:focus-visible),
:is(.avre-footer, .wpb_row.vc_row:not(.inner_row):has(.avre-footer__brand)) .avre-footer__legal a:is(:hover,:focus-visible) {
  color: var(--avre-footer-accent);
}
:is(.avre-footer, .wpb_row.vc_row:not(.inner_row):has(.avre-footer__brand)) a:focus-visible {
  outline: 3px solid var(--avre-footer-accent);
  outline-offset: 3px;
}

@media (max-width: 999px) {
  :is(.avre-footer, .wpb_row.vc_row:not(.inner_row):has(.avre-footer__brand)) :is(.avre-footer__main, .wpb_row.vc_row.inner_row:has(.avre-footer__brand)),
  :is(.avre-footer, .wpb_row.vc_row:not(.inner_row):has(.avre-footer__brand)) :is(.avre-footer__regulatory-row, .wpb_row.vc_row.inner_row:has(.avre-footer__company-legal)),
:is(.avre-footer, .wpb_row.vc_row:not(.inner_row):has(.avre-footer__brand)) :is(.avre-footer__bottom-row, .wpb_row.vc_row.inner_row:has(.avre-footer__credit)) { max-width: calc(100% - 48px); }
  #ajax-content-wrap :is(.avre-footer, .wpb_row.vc_row:not(.inner_row):has(.avre-footer__brand)) h2.avre-footer__heading,
  :is(.avre-footer, .wpb_row.vc_row:not(.inner_row):has(.avre-footer__brand)) h2.avre-footer__heading { font-size: 26px; }
  :is(.avre-footer, .wpb_row.vc_row:not(.inner_row):has(.avre-footer__brand)) .avre-footer__legal p { text-align: left; }
}
@media (max-width: 690px) {
  :is(.avre-footer, .wpb_row.vc_row:not(.inner_row):has(.avre-footer__brand)) :is(.avre-footer__main, .wpb_row.vc_row.inner_row:has(.avre-footer__brand)),
  :is(.avre-footer, .wpb_row.vc_row:not(.inner_row):has(.avre-footer__brand)) :is(.avre-footer__regulatory-row, .wpb_row.vc_row.inner_row:has(.avre-footer__company-legal)),
:is(.avre-footer, .wpb_row.vc_row:not(.inner_row):has(.avre-footer__brand)) :is(.avre-footer__bottom-row, .wpb_row.vc_row.inner_row:has(.avre-footer__credit)) { max-width: calc(100% - 40px); }
  #ajax-content-wrap :is(.avre-footer, .wpb_row.vc_row:not(.inner_row):has(.avre-footer__brand)) h2.avre-footer__heading,
  :is(.avre-footer, .wpb_row.vc_row:not(.inner_row):has(.avre-footer__brand)) h2.avre-footer__heading { font-size: 23px; }
  :is(.avre-footer, .wpb_row.vc_row:not(.inner_row):has(.avre-footer__brand)) .avre-footer__links a,
  :is(.avre-footer, .wpb_row.vc_row:not(.inner_row):has(.avre-footer__brand)) .avre-footer__links .avre-footer__pending { min-height: 36px; }
  :is(.avre-footer, .wpb_row.vc_row:not(.inner_row):has(.avre-footer__brand)) .avre-footer__contact-details { margin-top: 18px; }
  :is(.avre-footer, .wpb_row.vc_row:not(.inner_row):has(.avre-footer__brand)) .avre-footer__company-legal p,
  :is(.avre-footer, .wpb_row.vc_row:not(.inner_row):has(.avre-footer__brand)) .avre-footer__mediator p { font-size: 12px; line-height: 1.6; }
  :is(.avre-footer, .wpb_row.vc_row:not(.inner_row):has(.avre-footer__brand)) .avre-footer__credit p,
  :is(.avre-footer, .wpb_row.vc_row:not(.inner_row):has(.avre-footer__brand)) .avre-footer__legal p { font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  :is(.avre-footer, .wpb_row.vc_row:not(.inner_row):has(.avre-footer__brand)) a { transition: none; }
}

/* AVRE · Nos engagements · pestañas Salient vertical_modern
   Parche local para staging. No afecta a las demás tabs ni a los CTA.
   Añadir después del CSS activo, SIN etiqueta <style>. */

/* Navegación: dar aspecto de opciones accesibles, no de botones deshabilitados. */
#nos-engagements .tabbed[data-style="vertical_modern"] .wpb_tabs_nav li {
  margin-bottom: 10px !important;
}

#nos-engagements .tabbed[data-style="vertical_modern"] .wpb_tabs_nav li a {
  box-sizing: border-box;
  display: flex !important;
  align-items: center;
  min-height: 56px;
  padding: 16px 20px !important;
  border: 1px solid #dce4e9 !important;
  border-radius: 5px !important;
  background: #ffffff !important;
  background-image: none !important;
  box-shadow: none !important;
  color: #172b3a !important;
  font-weight: 600;
  font-size: 15px;
  line-height: 1.35;
  text-align: left;
  white-space: normal;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}

/* Estado hover: señal de navegación, no CTA de conversión. */
#nos-engagements .tabbed[data-style="vertical_modern"] .wpb_tabs_nav li:not(.active-tab) > a:not(.active-tab):hover {
  color: #114266 !important;
  border-color: #114266 !important;
  background: #edf3f7 !important;
}

/* Salient puede marcar el estado activo en el li o en el enlace. */
#nos-engagements .tabbed[data-style="vertical_modern"] .wpb_tabs_nav li.active-tab > a,
#nos-engagements .tabbed[data-style="vertical_modern"] .wpb_tabs_nav li > a.active-tab {
  background: #114266 !important;
  background-image: none !important;
  border-color: #114266 !important;
  border-left: 4px solid #ff8710 !important;
  padding-left: 17px !important;
  color: #ffffff !important;
  box-shadow: 0 5px 16px rgba(17, 66, 102, .12) !important;
}

#nos-engagements .tabbed[data-style="vertical_modern"] .wpb_tabs_nav li.active-tab > a span,
#nos-engagements .tabbed[data-style="vertical_modern"] .wpb_tabs_nav li > a.active-tab span {
  color: #ffffff !important;
}

#nos-engagements .tabbed[data-style="vertical_modern"] .wpb_tabs_nav a:focus-visible {
  outline: 3px solid #ff8710 !important;
  outline-offset: 3px;
}

/* Contenido editorial: ritmo compacto y estable. */
#nos-engagements .tabbed[data-style="vertical_modern"] .wpb_tab .avre-eyebrow {
  margin-bottom: 14px;
}
#nos-engagements .tabbed[data-style="vertical_modern"] .wpb_tab h3 {
  margin-bottom: 14px;
}
#nos-engagements .tabbed[data-style="vertical_modern"] .wpb_tab p {
  line-height: 1.65;
}
#nos-engagements .tabbed[data-style="vertical_modern"] .wpb_tab ul {
  margin-top: 12px;
  padding-left: 22px;
}
#nos-engagements .tabbed[data-style="vertical_modern"] .wpb_tab li {
  margin-bottom: 6px;
  line-height: 1.5;
}
#nos-engagements .tabbed[data-style="vertical_modern"] .wpb_tab img {
  max-width: 100%;
  height: auto;
}

@media (max-width: 999px) {
  #nos-engagements .tabbed[data-style="vertical_modern"] .wpb_tabs_nav li a {
    min-height: 50px;
    padding: 13px 16px !important;
  }
  #nos-engagements .tabbed[data-style="vertical_modern"] .wpb_tabs_nav li.active-tab > a,
  #nos-engagements .tabbed[data-style="vertical_modern"] .wpb_tabs_nav li > a.active-tab {
    padding-left: 13px !important;
  }
}

@media (max-width: 690px) {
  #nos-engagements .tabbed[data-style="vertical_modern"] .wpb_tabs_nav li {
    margin-bottom: 8px !important;
  }
  #nos-engagements .tabbed[data-style="vertical_modern"] .wpb_tabs_nav li a {
    font-size: 14px;
    min-height: 48px;
    padding: 12px 14px !important;
  }
  #nos-engagements .tabbed[data-style="vertical_modern"] .wpb_tabs_nav li.active-tab > a,
  #nos-engagements .tabbed[data-style="vertical_modern"] .wpb_tabs_nav li > a.active-tab {
    padding-left: 11px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  #nos-engagements .tabbed[data-style="vertical_modern"] .wpb_tabs_nav li a {
    transition: none !important;
  }
}

/* AVRE · Formulaire CF7 « Diagnostic immobilier » (scoped opt-in).
   Clase raíz dentro de la pestaña Formulario de CF7: .avre-diagnostic-form
   No altera el formulario genérico #612 ni los demás componentes de la web.
   No implementa condicionales, multi-step ni gestión de datos. */
#ajax-content-wrap .main-content .avre-diagnostic-form {
  max-width: 1080px;
  margin: 0 auto;
  color: var(--avre-text, #172B3A);
  font-family: var(--avre-font, "Public Sans", sans-serif);
}
#ajax-content-wrap .main-content .avre-diagnostic-form *,
#ajax-content-wrap .main-content .avre-diagnostic-form *::before,
#ajax-content-wrap .main-content .avre-diagnostic-form *::after {
  box-sizing: border-box;
}
#ajax-content-wrap .main-content .avre-diagnostic-form__section {
  margin: 0;
  padding: 30px 0 34px;
  border-top: 1px solid var(--avre-border, #DCE4E9);
}
#ajax-content-wrap .main-content .avre-diagnostic-form__section:first-child {
  padding-top: 0;
  border-top: 0;
}
#ajax-content-wrap .main-content .avre-diagnostic-form__section-heading {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
}
#ajax-content-wrap .main-content .avre-diagnostic-form__number {
  display: inline-grid;
  flex: 0 0 42px;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--avre-border, #DCE4E9);
  border-radius: 50%;
  color: var(--avre-orange-dark, #B85600);
  background: var(--avre-blue-light, #EDF3F7);
  font-size: 13px;
  font-weight: 600;
}
#ajax-content-wrap .main-content .avre-diagnostic-form__section-heading h3 {
  margin: 0;
  color: var(--avre-blue, #114266);
  font-size: clamp(22px, 2vw, 27px);
  font-weight: 600;
  line-height: 1.25;
}
#ajax-content-wrap .main-content .avre-diagnostic-form__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 18px 24px;
  margin-bottom: 18px;
}
#ajax-content-wrap .main-content .avre-diagnostic-form__grid:last-child { margin-bottom: 0; }
#ajax-content-wrap .main-content .avre-diagnostic-form__field,
#ajax-content-wrap .main-content .avre-diagnostic-form__choice,
#ajax-content-wrap .main-content .avre-diagnostic-form__field > .wpcf7-form-control-wrap {
  display: block;
  min-width: 0;
}
#ajax-content-wrap .main-content .avre-diagnostic-form__field--full { grid-column: 1 / -1; }
#ajax-content-wrap .main-content .avre-diagnostic-form__field > label,
#ajax-content-wrap .main-content .avre-diagnostic-form__choice > legend {
  display: block;
  width: 100%;
  margin: 0 0 7px;
  padding: 0;
  color: var(--avre-text, #172B3A);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
}
#ajax-content-wrap .main-content .avre-diagnostic-form__required {
  color: var(--avre-text-secondary, #526473);
  font-size: 12px;
  font-weight: 400;
}
#ajax-content-wrap .main-content .avre-diagnostic-form__field :is(input[type="text"], input[type="email"], textarea) {
  display: block;
  width: 100%;
  max-width: 100%;
  min-height: 46px;
  margin: 0;
  padding: 11px 13px;
  color: var(--avre-text, #172B3A);
  background: #fff;
  border: 1px solid var(--avre-form-border, #CCD7DE);
  border-radius: 5px;
  box-shadow: none;
  font-family: var(--avre-font, "Public Sans", sans-serif);
  font-size: 15px;
  line-height: 1.5;
}
#ajax-content-wrap .main-content .avre-diagnostic-form__field textarea {
  min-height: 126px;
  resize: vertical;
}
#ajax-content-wrap .main-content .avre-diagnostic-form__field :is(input[type="text"], input[type="email"], textarea):is(:focus,:focus-visible) {
  outline: 3px solid var(--avre-blue, #114266);
  outline-offset: 2px;
  border-color: var(--avre-blue, #114266);
}
#ajax-content-wrap .main-content .avre-diagnostic-form__choice,
#ajax-content-wrap .main-content .avre-diagnostic-form__consent {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}
#ajax-content-wrap .main-content .avre-diagnostic-form__choice .wpcf7-form-control {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
#ajax-content-wrap .main-content .avre-diagnostic-form .wpcf7-list-item { margin: 0; }
#ajax-content-wrap .main-content .avre-diagnostic-form__choice .wpcf7-list-item label,
#ajax-content-wrap .main-content .avre-diagnostic-form__consent .wpcf7-list-item label {
  display: inline-flex;
  flex-direction: row-reverse; /* label_first de CF7: mostrar control antes del texto */
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  max-width: 100%;
  min-height: 44px;
  margin: 0;
  padding: 9px 13px;
  border: 1px solid var(--avre-form-border, #CCD7DE);
  border-radius: var(--avre-radius-button, 6px);
  background: #fff;
  color: var(--avre-text, #172B3A);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  cursor: pointer;
  transition: border-color var(--avre-transition, 220ms ease), background-color var(--avre-transition, 220ms ease);
}
#ajax-content-wrap .main-content .avre-diagnostic-form__choice .wpcf7-list-item label:has(input:checked) {
  border-color: var(--avre-blue, #114266);
  background: var(--avre-blue-light, #EDF3F7);
}
#ajax-content-wrap .main-content .avre-diagnostic-form :is(.avre-diagnostic-form__choice, .avre-diagnostic-form__consent) input[type="checkbox"] {
  flex: 0 0 auto;
  width: 17px;
  height: 17px;
  min-width: 17px;
  min-height: 17px;
  margin: 0;
  accent-color: var(--avre-blue, #114266);
}
#ajax-content-wrap .main-content .avre-diagnostic-form__choice .wpcf7-list-item label:focus-within {
  outline: 2px solid var(--avre-blue, #114266);
  outline-offset: 2px;
}
#ajax-content-wrap .main-content .avre-diagnostic-form__intro {
  margin: 0 0 18px;
  color: var(--avre-blue, #114266);
  font-size: 15px;
  font-weight: 600;
}
#ajax-content-wrap .main-content .avre-diagnostic-form__legal {
  margin: 24px 0 18px;
  padding: 18px 20px;
  background: var(--avre-bg-alt, #F5F7F8);
  border-left: 3px solid var(--avre-border, #DCE4E9);
}
#ajax-content-wrap .main-content .avre-diagnostic-form__legal p {
  margin: 0 0 10px;
  color: var(--avre-text-secondary, #526473);
  font-size: 13px;
  line-height: 1.65;
}
#ajax-content-wrap .main-content .avre-diagnostic-form__legal p:last-child { margin-bottom: 0; }
#ajax-content-wrap .main-content .avre-diagnostic-form__consent {
  padding: 0;
}
#ajax-content-wrap .main-content .avre-diagnostic-form__consent > legend {
  width: 100%;
  margin: 0 0 10px;
  padding: 0;
  color: var(--avre-text, #172B3A);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.55;
}
#ajax-content-wrap .main-content .avre-diagnostic-form__consent .wpcf7-list-item label {
  border: none;
  padding: 6px 0;
}
#ajax-content-wrap .main-content .avre-diagnostic-form__actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}
#ajax-content-wrap .main-content .avre-diagnostic-form input.wpcf7-submit {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 165px;
  min-height: 48px;
  max-width: 100%;
  margin: 0;
  padding: 13px 28px;
  border: 0;
  border-radius: var(--avre-radius-button, 6px);
  color: #fff !important;
  background: linear-gradient(120deg, #B85600, #C62828) !important;
  box-shadow: 0 3px 12px rgba(184,86,0,.14);
  font-family: var(--avre-font, "Public Sans", sans-serif);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
}
#ajax-content-wrap .main-content .avre-diagnostic-form input.wpcf7-submit:is(:hover, :focus, :focus-visible) {
  color: #fff !important;
  background: linear-gradient(120deg, #A54B00, #B42318) !important;
}
#ajax-content-wrap .main-content .avre-diagnostic-form input.wpcf7-submit:focus-visible {
  outline: 3px solid var(--avre-blue, #114266);
  outline-offset: 3px;
}
#ajax-content-wrap .main-content .avre-diagnostic-form :is(input[aria-invalid="true"], textarea[aria-invalid="true"]) {
  border-color: #B42318;
}
#ajax-content-wrap .main-content .avre-diagnostic-form .wpcf7-not-valid-tip {
  display: block;
  margin-top: 6px;
  color: #A01C16;
  font-size: 13px;
  line-height: 1.45;
}
#ajax-content-wrap .main-content .wpcf7 form:has(.avre-diagnostic-form) .wpcf7-response-output {
  margin: 18px 0 0;
  padding: 13px 16px;
  border-width: 0 0 0 4px;
  border-radius: var(--avre-radius-button, 6px);
  color: var(--avre-text, #172B3A);
  background: var(--avre-blue-light, #EDF3F7);
}
#ajax-content-wrap .main-content .wpcf7 form:has(.avre-diagnostic-form):is(.invalid,.unaccepted,.failed,.aborted,.spam) .wpcf7-response-output {
  border-color: #B42318;
  background: #FFF4F1;
}
#ajax-content-wrap .main-content .wpcf7 form:has(.avre-diagnostic-form).sent .wpcf7-response-output {
  border-color: #216E4E;
  background: #EAF7F0;
}
@media (max-width: 767px) {
  #ajax-content-wrap .main-content .avre-diagnostic-form__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }
  #ajax-content-wrap .main-content .avre-diagnostic-form__section {
    padding: 24px 0 28px;
  }
  #ajax-content-wrap .main-content .avre-diagnostic-form__section-heading {
    gap: 12px;
    margin-bottom: 20px;
  }
  #ajax-content-wrap .main-content .avre-diagnostic-form__number {
    width: 38px;
    height: 38px;
    flex-basis: 38px;
  }
  #ajax-content-wrap .main-content .avre-diagnostic-form__choice .wpcf7-list-item label {
    font-size: 13px;
    padding: 9px 11px;
  }
  #ajax-content-wrap .main-content .avre-diagnostic-form__legal {
    padding: 16px;
  }
}
@media (prefers-reduced-motion: reduce) {
  #ajax-content-wrap .main-content .avre-diagnostic-form__choice .wpcf7-list-item label {
    transition: none;
  }
}/* AVRE — Botón claro sobre fondos oscuros */

#ajax-content-wrap a.avre-button.avre-button--light {
    background: #ffffff !important;
    color: #0B304A !important;
    border: 1px solid #ffffff !important;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.10);
}

#ajax-content-wrap a.avre-button.avre-button--light:hover,
#ajax-content-wrap a.avre-button.avre-button--light:focus {
    background: #EDF3F7 !important;
    color: #0B304A !important;
    border-color: #EDF3F7 !important;
}