/* ==========================================================================
   teamOn — estilos globales
   Basado en la guía de estilos teamOn (Style Manual):
   · Tipografía corporativa: Arial
   · Colores corporativos: azul web #009bbf (RGB 39·140·200) y gris RGB 127·127·127 (#7f7f7f)
   · Colores sólidos, sin degradados ni "efectos especiales"
   · La marca se presenta sobre blanco, o en blanco sobre el azul corporativo
   Medidas fluidas con vw (ancho) y vh (alto) para que todo escale con la pantalla.

   Índice
   1. Variables (guía de estilos)
   2. Base
   3. Utilidades (clases que usa el HTML)
   4. Componentes: contenedor, cabecera y menú, hero, cifras, marquesina,
      etiquetas, equipo/LinkedIn, mapa ACS, artículos, páginas antiguas
   ========================================================================== */

/* 1. VARIABLES ------------------------------------------------------------ */
:root {
  /* Colores corporativos (guía de estilos) */
  --azul: #009bbf;            /* azul teamOn, versión web */
  --azul-rgb: #278cc8;        /* azul teamOn, RGB 39 140 200 */
  --gris: #7f7f7f;            /* gris teamOn, RGB 127 127 127 */
  --blanco: #ffffff;
  --negro: #000000;

  /* Tonos sólidos derivados del azul (botones, enlaces y estados) */
  --azul-accion: #00819f;
  --azul-hover: #00687f;
  --azul-oscuro: #005567;
  --gris-accesible: #6b6b6b;  /* gris para texto pequeño: 5,3:1 sobre blanco (WCAG AA) */
  --azul-suave: #e5f5f9;

  /* Grises derivados del gris corporativo (textos, líneas y fondos) */
  --gris-oscuro: #3f3f3f;
  --gris-texto: #595959;
  --gris-medio: #bfbfbf;
  --gris-borde: #d9d9d9;
  --gris-linea: #e6e6e6;
  --gris-fondo: #f2f2f2;
  --gris-fondo-suave: #f9f9f9;

  /* Tipografía corporativa */
  --fuente: Arial, "Helvetica Neue", Helvetica, sans-serif;

  /* Medidas fluidas */
  --ancho-max: 100%;            /* ancho completo, del menú al footer */
  --margen-x: 5vw;              /* margen del 5% a cada lado */
  --seccion-y: clamp(56px, 7.8vw, 112px);
  --alto-topbar: 44px;
  --alto-header: clamp(64px, 5.3vw, 76px);
  --alto-nav: 0px;            /* 2ª fila del menú (solo de 800 a 1279px) */
  --transicion: .2s cubic-bezier(0, 0, .2, 1);

  /* Bloque de cifras bajo la marquesina */
  --cifras-fondo: var(--azul);
  --cifras-texto: var(--blanco);
  --cifras-etiqueta: var(--blanco);
}

/* 2. BASE ----------------------------------------------------------------- */
*, ::before, ::after, ::backdrop, ::file-selector-button {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border: 0 solid var(--gris-borde);
}
html {
  -webkit-text-size-adjust: 100%;
  tab-size: 4;
  line-height: 1.5;
  font-family: var(--fuente);
  background-color: var(--blanco);
  -webkit-tap-highlight-color: transparent;
}
body {
  min-height: 100vh;
  background-color: var(--blanco);
  color: var(--negro);
  font-family: var(--fuente);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
h1, h2, h3, h4, h5, h6 { font-size: inherit; font-weight: inherit; }
a { color: inherit; text-decoration: inherit; }
b, strong { font-weight: 700; }
small { font-size: 80%; }
sub, sup { font-size: 75%; line-height: 0; position: relative; vertical-align: baseline; }
sub { bottom: -.25em; }
sup { top: -.5em; }
hr { height: 0; color: inherit; border-top-width: 1px; }
table { text-indent: 0; border-color: inherit; border-collapse: collapse; }
ol, ul, menu { list-style: none; }
img, svg, video, canvas, audio, iframe, embed, object { display: block; vertical-align: middle; }
img, video { max-width: 100%; height: auto; }
button, input, select, optgroup, textarea, ::file-selector-button {
  font: inherit;
  letter-spacing: inherit;
  color: inherit;
  background-color: transparent;
  border-radius: 0;
  opacity: 1;
}
button, input:where([type="button"], [type="reset"], [type="submit"]), ::file-selector-button { appearance: button; }
button, [role="button"] { cursor: pointer; }
::placeholder { opacity: 1; color: var(--gris-accesible); }
textarea { resize: vertical; }
summary { display: list-item; }
[hidden]:where(:not([hidden="until-found"])) { display: none !important; }
::selection { background-color: var(--azul-accion); color: var(--blanco); }

/* 3. UTILIDADES ----------------------------------------------------------- */
/* Mismos nombres de clase que ya usa el HTML. Colores = variables de la guía;
   tamaños de letra y espacios grandes = fluidos con vw (clamp). */

/* --- Base (móvil primero) --- */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border-width: 0; }
.absolute { position: absolute; }
.fixed { position: fixed; }
.relative { position: relative; }
.sticky { position: sticky; }
.inset-0 { inset: 0; }
.inset-x-0 { inset-inline: 0; }
.top-0 { top: 0; }
.bottom-0 { bottom: 0; }
.isolate { isolation: isolate; }
.-z-10 { z-index: -10; }
.z-50 { z-index: 50; }
.m-auto { margin: auto; }
.mx-auto { margin-inline: auto; }
.mt-1 { margin-top: 4px; }
.mt-2 { margin-top: 8px; }
.mt-3 { margin-top: 12px; }
.mt-4 { margin-top: 16px; }
.mt-5 { margin-top: 20px; }
.mt-6 { margin-top: 24px; }
.mt-8 { margin-top: 32px; }
.mt-10 { margin-top: clamp(24px, 2.78vw, 40px); }
.mt-12 { margin-top: clamp(29px, 3.33vw, 48px); }
.mt-14 { margin-top: clamp(34px, 3.89vw, 56px); }
.mt-16 { margin-top: clamp(38px, 4.44vw, 64px); }
.mt-auto { margin-top: auto; }
.ml-2 { margin-left: 8px; }
.block { display: block; }
.contents { display: contents; }
.flex { display: flex; }
.grid { display: grid; }
.hidden { display: none; }
.inline-flex { display: inline-flex; }
.aspect-\[3\/2\] { aspect-ratio: 3 / 2; }
.aspect-square { aspect-ratio: 1 / 1; }
.size-full { width: 100%; height: 100%; }
.h-1\.5 { height: 6px; }
.h-4 { height: 16px; }
.h-6 { height: 24px; }
.h-7 { height: 28px; }
.h-8 { height: 32px; }
.h-9 { height: 36px; }
.h-10 { height: 40px; }
.h-12 { height: 48px; }
.h-14 { height: 56px; }
.h-\[76px\] { height: 76px; }
.h-auto { height: auto; }
.h-full { height: 100%; }
.min-h-\[20px\] { min-height: 20px; }
.min-h-\[44px\] { min-height: 44px; }
.min-h-\[220px\] { min-height: 220px; }
.min-h-\[600px\] { min-height: 600px; }
.min-h-\[620px\] { min-height: 620px; }
.w-4 { width: 16px; }
.w-6 { width: 24px; }
.w-9 { width: 36px; }
.w-10 { width: 40px; }
.w-14 { width: 56px; }
.w-auto { width: auto; }
.w-fit { width: fit-content; }
.w-full { width: 100%; }
.w-max { width: max-content; }
.max-w-2xl { max-width: 42rem; }
.max-w-\[14ch\] { max-width: 14ch; }
.max-w-\[22ch\] { max-width: 22ch; }
.max-w-\[24ch\] { max-width: 24ch; }
.max-w-\[38ch\] { max-width: 38ch; }
.max-w-\[40ch\] { max-width: 40ch; }
.max-w-\[42ch\] { max-width: 42ch; }
.max-w-\[46ch\] { max-width: 46ch; }
.max-w-\[56ch\] { max-width: 56ch; }
.max-w-\[58ch\] { max-width: 58ch; }
.max-w-\[60ch\] { max-width: 60ch; }
.max-w-\[62ch\] { max-width: 62ch; }
.max-w-\[65ch\] { max-width: 65ch; }
.max-w-\[68ch\] { max-width: 68ch; }
.max-w-\[70ch\] { max-width: 70ch; }
.max-w-\[640px\] { max-width: 640px; }
.max-w-\[720px\] { max-width: 720px; }
.max-w-\[1180px\] { max-width: 1180px; }
.max-w-full { max-width: 100%; }
.min-w-0 { min-width: 0; }
.flex-1 { flex: 1 1 0%; }
.shrink-0 { flex-shrink: 0; }
.flex-grow { flex-grow: 1; }
.translate-x-\[1px\] { translate: 1px 0; }
.cursor-pointer { cursor: pointer; }
.resize-y { resize: vertical; }
.scroll-mt-24 { scroll-margin-top: 96px; }
.columns-2 { columns: 2; }
.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-cols-\[3rem_1fr\] { grid-template-columns: 3rem 1fr; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.items-baseline { align-items: baseline; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.justify-end { justify-content: flex-end; }
.gap-0\.5 { gap: 2px; }
.gap-1 { gap: 4px; }
.gap-1\.5 { gap: 6px; }
.gap-2 { gap: 8px; }
.gap-3 { gap: 12px; }
.gap-4 { gap: 16px; }
.gap-5 { gap: 20px; }
.gap-6 { gap: 24px; }
.gap-8 { gap: 32px; }
.gap-10 { gap: clamp(24px, 2.78vw, 40px); }
.gap-px { gap: 1px; }
.gap-x-3 { column-gap: 12px; }
.gap-x-6 { column-gap: 24px; }
.gap-x-8 { column-gap: 32px; }
.gap-y-1 { row-gap: 4px; }
.gap-y-2 { row-gap: 8px; }
.gap-y-4 { row-gap: 16px; }
.gap-y-10 { row-gap: clamp(24px, 2.78vw, 40px); }
.gap-y-12 { row-gap: clamp(29px, 3.33vw, 48px); }
.truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.overflow-hidden { overflow: hidden; }
.overflow-x-auto { overflow-x: auto; }
.border { border-width: 1px; }
.border-t { border-top-width: 1px; }
.border-r { border-right-width: 1px; }
.border-b { border-bottom-width: 1px; }
.border-l { border-left-width: 1px; }
.border-l-2 { border-left-width: 2px; }
.border-dashed { border-style: dashed; }
.border-action { border-color: var(--azul-accion); }
.border-black { border-color: var(--negro); }
.border-brand { border-color: var(--azul); }
.border-gray-200 { border-color: var(--gris-linea); }
.border-gray-300 { border-color: var(--gris-borde); }
.border-gray-400 { border-color: var(--gris-medio); }
.border-white\/40 { border-color: rgba(255, 255, 255, .4); }
.border-white\/60 { border-color: rgba(255, 255, 255, .6); }
.bg-action { background-color: var(--azul-accion); }
.bg-black { background-color: var(--negro); }
.bg-black\/60 { background-color: rgba(0, 0, 0, .6); }
.bg-brand { background-color: var(--azul-accion); }
.bg-gray-50 { background-color: var(--gris-fondo-suave); }
.bg-gray-100 { background-color: var(--gris-fondo); }
.bg-gray-200 { background-color: var(--gris-linea); }
.bg-gray-300 { background-color: var(--gris-borde); }
.bg-white { background-color: var(--blanco); }
.object-contain { object-fit: contain; }
.object-cover { object-fit: cover; }
.p-6 { padding: 24px; }
.p-7 { padding: 28px; }
.p-8 { padding: 32px; }
.px-1\.5 { padding-inline: 6px; }
.px-2 { padding-inline: 8px; }
.px-4 { padding-inline: 16px; }
.px-5 { padding-inline: 20px; }
.px-6 { padding-inline: 24px; }
.px-7 { padding-inline: 28px; }
.px-8 { padding-inline: 32px; }
.py-2 { padding-block: 8px; }
.py-3 { padding-block: 12px; }
.py-4 { padding-block: 16px; }
.py-5 { padding-block: 20px; }
.py-6 { padding-block: 24px; }
.py-8 { padding-block: 32px; }
.py-10 { padding-block: clamp(24px, 2.78vw, 40px); }
.py-14 { padding-block: clamp(34px, 3.89vw, 56px); }
.py-16 { padding-block: clamp(38px, 4.44vw, 64px); }
.py-20 { padding-block: clamp(48px, 5.56vw, 80px); }
.py-24 { padding-block: clamp(58px, 6.67vw, 96px); }
.py-\[3px\] { padding-block-start: 3px; padding-block-end: 3px; }
.py-\[10px\] { padding-block-start: 10px; padding-block-end: 10px; }
.py-\[14px\] { padding-block-start: 14px; padding-block-end: 14px; }
.pt-2 { padding-top: 8px; }
.pt-4 { padding-top: 16px; }
.pt-6 { padding-top: 24px; }
.pt-14 { padding-top: clamp(34px, 3.89vw, 56px); }
.pt-20 { padding-top: clamp(48px, 5.56vw, 80px); }
.pt-24 { padding-top: clamp(58px, 6.67vw, 96px); }
.pb-5 { padding-bottom: 20px; }
.pb-6 { padding-bottom: 24px; }
.pb-10 { padding-bottom: clamp(24px, 2.78vw, 40px); }
.pb-12 { padding-bottom: clamp(29px, 3.33vw, 48px); }
.pl-4 { padding-left: 16px; }
.pl-5 { padding-left: 20px; }
.pl-6 { padding-left: 24px; }
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-base { font-size: 1rem; line-height: 1.5; }
.text-\[11px\] { font-size: 11px; }
.text-\[12px\] { font-size: 12px; }
.text-\[13px\] { font-size: 13px; }
.text-\[14px\] { font-size: 14px; }
.text-\[15px\] { font-size: 15px; }
.text-\[16px\] { font-size: 16px; }
.text-\[17px\] { font-size: 17px; }
.text-\[18px\] { font-size: clamp(15px, 4.62vw, 18px); }
.text-\[19px\] { font-size: clamp(16px, 4.87vw, 19px); }
.text-\[20px\] { font-size: clamp(16px, 5.13vw, 20px); }
.text-\[22px\] { font-size: clamp(18px, 5.64vw, 22px); }
.text-\[24px\] { font-size: clamp(20px, 6.15vw, 24px); }
.text-\[26px\] { font-size: clamp(21px, 6.67vw, 26px); }
.text-\[28px\] { font-size: clamp(23px, 7.18vw, 28px); }
.text-\[32px\] { font-size: clamp(26px, 8.21vw, 32px); }
.text-\[34px\] { font-size: clamp(28px, 8.72vw, 34px); }
.text-\[40px\] { font-size: clamp(33px, 10.26vw, 40px); }
.text-\[44px\] { font-size: clamp(36px, 11.28vw, 44px); }
.leading-\[1\.1\] { line-height: 1.1; }
.leading-\[1\.02\] { line-height: 1.02; }
.leading-\[1\.05\] { line-height: 1.05; }
.leading-\[1\.08\] { line-height: 1.08; }
.leading-\[1\.15\] { line-height: 1.15; }
.leading-\[1\.35\] { line-height: 1.35; }
.leading-none { line-height: 1; }
.leading-relaxed { line-height: 1.625; }
.leading-snug { line-height: 1.375; }
.leading-tight { line-height: 1.25; }
.font-bold { font-weight: 700; }
.font-normal { font-weight: 400; }
.tracking-\[-0\.02em\] { letter-spacing: -0.02em; }
.tracking-\[0\.1em\] { letter-spacing: 0.1em; }
.tracking-\[0\.06em\] { letter-spacing: 0.06em; }
.tracking-\[0\.08em\] { letter-spacing: 0.08em; }
.tracking-\[0\.12em\] { letter-spacing: 0.12em; }
.tracking-\[0\.14em\] { letter-spacing: 0.14em; }
.tracking-\[0\.16em\] { letter-spacing: 0.16em; }
.tracking-tight { letter-spacing: -0.025em; }
.text-balance { text-wrap: balance; }
.text-pretty { text-wrap: pretty; }
.break-words { overflow-wrap: break-word; }
.whitespace-nowrap { white-space: nowrap; }
.whitespace-pre-wrap { white-space: pre-wrap; }
.text-action { color: var(--azul-accion); }
.text-black { color: var(--negro); }
.text-brand { color: var(--azul-accion); }
.text-gray-400 { color: var(--gris-medio); }
.text-gray-500 { color: var(--gris-accesible); }
.text-gray-600 { color: var(--gris-texto); }
.text-gray-700 { color: var(--gris-oscuro); }
.text-ink { color: var(--azul-oscuro); }
.text-white { color: var(--blanco); }
.uppercase { text-transform: uppercase; }
.not-italic { font-style: normal; }
.tabular-nums { font-variant-numeric: tabular-nums; }
.underline { text-decoration-line: underline; }
.underline-offset-2 { text-underline-offset: 2px; }
.underline-offset-4 { text-underline-offset: 4px; }
.accent-action { accent-color: var(--azul-accion); }
.opacity-70 { opacity: 0.7; }
.shadow-\[0_-1px_0_rgba\(0\,0\,0\,0\.04\)\] { box-shadow: 0 -1px 0 rgba(0, 0, 0, .04); }
.grayscale { filter: grayscale(100%); }
.transition-colors { transition-property: color, background-color, border-color, outline-color, text-decoration-color, fill, stroke; transition-timing-function: cubic-bezier(.4, 0, .2, 1); transition-duration: .15s; }
.transition-opacity { transition-property: opacity; transition-timing-function: cubic-bezier(.4, 0, .2, 1); transition-duration: .15s; }
.transition-transform { transition-property: transform, translate, scale, rotate; transition-timing-function: cubic-bezier(.4, 0, .2, 1); transition-duration: .15s; }
.duration-200 { transition-duration: 0.2s; }
.ease-out { transition-timing-function: cubic-bezier(0, 0, .2, 1); }
.outline-none { outline: none; }
.placeholder\:text-gray-500::placeholder { color: var(--gris-accesible); }
.first\:pt-0:first-child { padding-top: 0; }
.last\:border-b-0:last-child { border-bottom-width: 0; }
.focus\:border-action:focus { border-color: var(--azul-accion); }
.focus-visible\:border-action:focus-visible { border-color: var(--azul-accion); }
.focus-visible\:outline-2:focus-visible { outline-style: solid; outline-width: 2px; }
.focus-visible\:outline-offset-2:focus-visible { outline-offset: 2px; }
.focus-visible\:outline-offset-\[-2px\]:focus-visible { outline-offset: -2px; }
.focus-visible\:outline-action:focus-visible { outline-color: var(--azul-accion); }
.focus-visible\:outline-white:focus-visible { outline-color: var(--blanco); }
.focus-visible\:outline-none:focus-visible { outline: none; }
.disabled\:cursor-not-allowed:disabled { cursor: not-allowed; }
.disabled\:opacity-40:disabled { opacity: 0.4; }
.disabled\:opacity-60:disabled { opacity: 0.6; }
.aria-pressed\:border-action[aria-pressed="true"] { border-color: var(--azul-accion); }
.aria-pressed\:bg-action[aria-pressed="true"] { background-color: var(--azul-accion); }
.aria-pressed\:text-white[aria-pressed="true"] { color: var(--blanco); }
.text-message + .\[\.text-message\+\&\]\:mt-5 { margin-top: 20px; }
[aria-expanded="true"] .\[\[aria-expanded\=true\]_\&\]\:rotate-180 { rotate: 180deg; }

/* --- Hover (solo en dispositivos con ratón) --- */
@media (hover: hover) {
  .group-hover\:text-action:is(:where(.group):hover *) { color: var(--azul-accion); }
  .hover\:border-action:hover { border-color: var(--azul-accion); }
  .hover\:bg-action:hover { background-color: var(--azul-accion); }
  .hover\:bg-deep:hover { background-color: var(--azul-hover); }
  .hover\:bg-gray-100:hover { background-color: var(--gris-fondo); }
  .hover\:text-action:hover { color: var(--azul-accion); }
  .hover\:text-deep:hover { color: var(--azul-hover); }
  .hover\:text-white:hover { color: var(--blanco); }
  .hover\:underline:hover { text-decoration-line: underline; }
  .hover\:opacity-100:hover { opacity: 1; }
  .disabled\:hover\:no-underline:disabled:hover { text-decoration-line: none; }
}

/* --- sm: desde 640px --- */
@media (min-width: 40rem) {
  .sm\:col-span-2 { grid-column: span 2 / span 2; }
  .sm\:flex { display: flex; }
  .sm\:inline-block { display: inline-block; }
  .sm\:inline-flex { display: inline-flex; }
  .sm\:w-44 { width: 176px; }
  .sm\:w-auto { width: auto; }
  .sm\:max-w-\[26ch\] { max-width: 26ch; }
  .sm\:shrink-0 { flex-shrink: 0; }
  .sm\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sm\:flex-row { flex-direction: row; }
  .sm\:justify-center { justify-content: center; }
  .sm\:gap-3 { gap: 12px; }
  .sm\:self-start { align-self: flex-start; }
  .sm\:text-\[36px\] { font-size: clamp(29px, 4.69vw, 36px); }
  .sm\:text-\[56px\] { font-size: clamp(45px, 7.29vw, 56px); }
  .sm\:leading-\[1\.05\] { line-height: 1.05; }
}

/* --- md: desde 768px --- */
@media (min-width: 48rem) {
  .md\:col-span-2 { grid-column: span 2 / span 2; }
  .md\:col-span-4 { grid-column: span 4 / span 4; }
  .md\:col-span-5 { grid-column: span 5 / span 5; }
  .md\:col-span-6 { grid-column: span 6 / span 6; }
  .md\:col-span-7 { grid-column: span 7 / span 7; }
  .md\:col-span-8 { grid-column: span 8 / span 8; }
  .md\:col-start-8 { grid-column-start: 8; }
  .md\:col-start-9 { grid-column-start: 9; }
  .md\:mt-20 { margin-top: clamp(48px, 5.56vw, 80px); }
  .md\:inline { display: inline; }
  .md\:min-h-\[680px\] { min-height: 680px; }
  .md\:max-w-3xl { max-width: 48rem; }
  .md\:max-w-\[560px\] { max-width: 560px; }
  .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .md\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .md\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .md\:grid-cols-12 { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .md\:grid-cols-\[4rem_1fr\] { grid-template-columns: 4rem 1fr; }
  .md\:grid-cols-\[10rem_1fr\] { grid-template-columns: 10rem 1fr; }
  .md\:flex-row { flex-direction: row; }
  .md\:items-baseline { align-items: baseline; }
  .md\:items-center { align-items: center; }
  .md\:items-end { align-items: flex-end; }
  .md\:justify-between { justify-content: space-between; }
  .md\:justify-start { justify-content: flex-start; }
  .md\:gap-3 { gap: 12px; }
  .md\:gap-4 { gap: 16px; }
  .md\:gap-6 { gap: 24px; }
  .md\:gap-8 { gap: 32px; }
  .md\:gap-10 { gap: clamp(24px, 2.78vw, 40px); }
  .md\:border-l { border-left-width: 1px; }
  .md\:border-gray-300 { border-color: var(--gris-borde); }
  .md\:p-8 { padding: 32px; }
  .md\:p-10 { padding: clamp(24px, 2.78vw, 40px); }
  .md\:px-5 { padding-inline: 20px; }
  .md\:px-10 { padding-inline: clamp(24px, 2.78vw, 40px); }
  .md\:px-16 { padding-inline: clamp(38px, 4.44vw, 64px); }
  .md\:py-10 { padding-block: clamp(24px, 2.78vw, 40px); }
  .md\:py-14 { padding-block: clamp(34px, 3.89vw, 56px); }
  .md\:py-20 { padding-block: clamp(48px, 5.56vw, 80px); }
  .md\:py-28 { padding-block: clamp(67px, 7.78vw, 112px); }
  .md\:py-32 { padding-block: clamp(77px, 8.89vw, 128px); }
  .md\:pt-20 { padding-top: clamp(48px, 5.56vw, 80px); }
  .md\:pt-28 { padding-top: clamp(67px, 7.78vw, 112px); }
  .md\:pb-14 { padding-bottom: clamp(34px, 3.89vw, 56px); }
  .md\:pb-16 { padding-bottom: clamp(38px, 4.44vw, 64px); }
  .md\:pl-8 { padding-left: 32px; }
  .md\:pl-10 { padding-left: clamp(24px, 2.78vw, 40px); }
  .md\:text-\[12px\] { font-size: 12px; }
  .md\:text-\[17px\] { font-size: 17px; }
  .md\:text-\[19px\] { font-size: 19px; }
  .md\:text-\[20px\] { font-size: 20px; }
  .md\:text-\[22px\] { font-size: 22px; }
  .md\:text-\[26px\] { font-size: clamp(21px, 1.81vw, 26px); }
  .md\:text-\[28px\] { font-size: clamp(22px, 1.94vw, 28px); }
  .md\:text-\[30px\] { font-size: clamp(24px, 2.08vw, 30px); }
  .md\:text-\[32px\] { font-size: clamp(26px, 2.22vw, 32px); }
  .md\:text-\[34px\] { font-size: clamp(27px, 2.36vw, 34px); }
  .md\:text-\[36px\] { font-size: clamp(29px, 2.5vw, 36px); }
  .md\:text-\[40px\] { font-size: clamp(32px, 2.78vw, 40px); }
  .md\:text-\[44px\] { font-size: clamp(35px, 3.06vw, 44px); }
  .md\:text-\[52px\] { font-size: clamp(42px, 3.61vw, 52px); }
  .md\:text-\[56px\] { font-size: clamp(45px, 3.89vw, 56px); }
  .md\:text-\[64px\] { font-size: clamp(51px, 4.44vw, 64px); }
  .md\:text-\[80px\] { font-size: clamp(64px, 5.56vw, 80px); }
}

/* --- lg: desde 1024px --- */
@media (min-width: 64rem) {
  .lg\:col-span-4 { grid-column: span 4 / span 4; }
  .lg\:col-span-5 { grid-column: span 5 / span 5; }
  .lg\:col-span-6 { grid-column: span 6 / span 6; }
  .lg\:col-span-7 { grid-column: span 7 / span 7; }
  .lg\:col-span-8 { grid-column: span 8 / span 8; }
  .lg\:min-h-\[760px\] { min-height: 760px; }
  .lg\:max-w-\[40rem\] { max-width: 40rem; }
  .lg\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .lg\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .lg\:grid-cols-12 { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .lg\:px-1 { padding-inline: 4px; }
  .lg\:py-28 { padding-block: clamp(67px, 7.78vw, 112px); }
  .lg\:py-32 { padding-block: clamp(77px, 8.89vw, 128px); }
  .lg\:py-40 { padding-block: clamp(96px, 11.11vw, 160px); }
  .lg\:pt-1 { padding-top: 4px; }
  .lg\:pl-8 { padding-left: 32px; }
  .lg\:text-\[44px\] { font-size: clamp(31px, 3.06vw, 44px); }
  .lg\:text-\[64px\] { font-size: clamp(45px, 4.44vw, 64px); }
  .lg\:text-\[72px\] { font-size: clamp(50px, 5vw, 72px); }
  .lg\:text-\[96px\] { font-size: clamp(67px, 6.67vw, 96px); }
}

/* --- xl: desde 1280px --- */
@media (min-width: 80rem) {
  .xl\:block { display: block; }
  .xl\:hidden { display: none; }
  .xl\:max-w-\[48rem\] { max-width: 48rem; }
  .xl\:px-5 { padding-inline: 20px; }
  .xl\:py-48 { padding-block: clamp(115px, 13.33vw, 192px); }
}

/* --- 2xl: desde 1536px --- */
@media (min-width: 96rem) {
  .\32 xl\:gap-8 { gap: 32px; }
  .\32 xl\:text-\[13px\] { font-size: 13px; }
  .\32 xl\:tracking-\[0\.08em\] { letter-spacing: 0.08em; }
}


/* 4. COMPONENTES ---------------------------------------------------------- */

/* 4.1 Contenedor: ancho completo con un margen del 5% a cada lado
   (menú, todas las secciones y footer) */
.max-w-\[1180px\] { max-width: var(--ancho-max); }
.max-w-\[1180px\].px-5 { padding-inline: var(--margen-x); }

/* Bloque "Somos una boutique…": título arriba y texto debajo en todas las pantallas */
.intro__grid {
  display: flex;
  flex-direction: column;
  gap: clamp(20px, 2.2vw, 32px);
  padding-block: clamp(56px, 7.8vw, 112px);
}
.intro__texto {
  max-width: 62ch;
  font-size: clamp(22px, 2.2vw, 34px);
  line-height: 1.35;
  letter-spacing: -0.025em;
  text-wrap: pretty;
  color: var(--negro);
}

/* 4.2 Cabecera y menú
   - Altura fluida (más baja en móvil).
   - Menú de escritorio desde 1280px con tamaños en vw para que quepa en
     pantallas de 1280–1440px sin que se peguen los enlaces.
   - Menú móvil con altura máxima en vh y scroll propio. */
#site-header > header { z-index: 50; }
#site-header .h-\[76px\] { height: var(--alto-header); gap: clamp(12px, 1.6vw, 32px); }
#site-header .h-\[76px\] > a img { height: clamp(22px, 1.95vw, 28px); width: auto; }
#site-header nav:not(#mobile-nav) { padding-inline: clamp(8px, 1.2vw, 24px); }
#site-header nav:not(#mobile-nav) > ul { gap: clamp(12px, 1.35vw, 32px); }
#site-header nav:not(#mobile-nav) a {
  font-size: clamp(11px, .88vw, 13px);
  letter-spacing: clamp(.03em, .05vw, .08em);
}
#site-header .h-\[76px\] > div { gap: clamp(12px, 1.4vw, 20px); }
#site-header .h-\[76px\] > div > a.bg-action {
  padding: clamp(10px, 1vw, 14px) clamp(14px, 1.6vw, 24px);
  font-size: clamp(13px, 1.05vw, 15px);
}
#mobile-nav {
  max-height: calc(100vh - var(--alto-header));
  max-height: calc(100dvh - var(--alto-header));
  overflow-y: auto;
  overscroll-behavior: contain;
}
#mobile-nav a.block { padding-block: clamp(12px, 1.8vh, 16px); font-size: 16px; }

/* De 800 a 1279px: menú completo visible en dos filas
   fila 1 = logo + idioma + botón · fila 2 = enlaces del menú */
@media (min-width: 50rem) and (max-width: 79.99rem) {
  :root { --alto-nav: 49px; }
  #site-header .h-\[76px\] { flex-wrap: wrap; height: auto; row-gap: 0; }
  #site-header .h-\[76px\] > a { height: var(--alto-header); }
  #site-header nav:not(#mobile-nav) {
    display: block;
    order: 3;
    flex: 0 0 100%;
    padding-inline: 0;
    border-top: 1px solid var(--gris-linea);
  }
  #site-header nav:not(#mobile-nav) > ul {
    height: 48px;
    justify-content: space-between;
    gap: 8px;
  }
  #site-header nav:not(#mobile-nav) a { font-size: clamp(11px, 1.15vw, 13px); }
  #site-header [data-menu-toggle] { display: none; }
  #mobile-nav { display: none !important; }
}

/* 4.3 Etiqueta (eyebrow) */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: clamp(11px, .8vw, 12px);
  line-height: 1;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--gris-texto);
}
.eyebrow::before {
  content: "";
  display: block;
  width: clamp(20px, 1.7vw, 28px);
  height: 2px;
  background-color: var(--azul-accion);
}
.eyebrow--invert { color: var(--blanco); }
.bg-brand .eyebrow::before { background-color: var(--blanco); }

/* 4.4 Hero de la portada: ocupa la primera pantalla (100vh menos barra y cabecera) */
.hero__inner {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: calc(100vh - var(--alto-topbar) - var(--alto-header) - var(--alto-nav) - 1px);
  min-height: calc(100svh - var(--alto-topbar) - var(--alto-header) - var(--alto-nav) - 1px);
  padding-block: clamp(32px, 7vh, 112px);
}
.hero__title {
  margin-top: clamp(16px, 3vh, 28px);
  max-width: none;
  font-size: clamp(28px, 9.6vw, 48px);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.02em;
  color: var(--blanco);
}
/* Cada parte del título en su línea; "Corporate Finance," nunca se parte */
.hero__title span { display: block; white-space: nowrap; }
@media (min-width: 40rem) {
  .hero__title { font-size: clamp(44px, min(7.2vw, 9vh), 104px); }
}
.hero__lead {
  margin-top: clamp(16px, 3.4vh, 32px);
  max-width: 40ch;
  font-size: clamp(17px, min(1.9vw, 3.3vh), 26px);
  line-height: 1.35;
  color: var(--blanco);
}
.hero__actions {
  margin-top: clamp(24px, 4.5vh, 48px);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px clamp(20px, 2.2vw, 32px);
}
.hero__actions > a.bg-action { padding: clamp(14px, 2vh, 16px) clamp(20px, 2vw, 28px); }

/* 4.5 Marquesina de sectores */
@keyframes teamon-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.animate-marquee {
  animation: teamon-marquee 48s linear infinite;
  will-change: transform;
}
.animate-marquee ul { padding-block: clamp(16px, 1.6vw, 22px); }

/* 4.6 Cifras (debajo de la marquesina): fondo azul corporativo y texto gris.
   Cada cifra: el número (div) arriba y el texto (p) debajo, como en Servicios. */
.cifras { background-color: var(--cifras-fondo); }
.cifras__grid {
  display: grid;
  grid-template-columns: 1fr;
}
.cifras__item {
  display: flex;
  flex-direction: column;
  padding-block: clamp(24px, 4vw, 64px);
  border-top: 1px solid rgba(255, 255, 255, .35);
}
.cifras__item:first-child { border-top: 0; }
.cifras__numero {
  font-size: clamp(36px, 5vw, 72px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.025em;
  font-variant-numeric: tabular-nums;
  color: var(--cifras-texto);
}
.cifras__texto {
  margin-top: clamp(10px, 1vw, 16px);
  font-size: clamp(11px, .9vw, 13px);
  font-weight: 700;
  line-height: 1.3;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--cifras-etiqueta);
}
@media (min-width: 40rem) {
  .cifras__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  /* Cifras centradas en su columna: así +515 queda más cerca de 7.000 M€ */
  .cifras__item {
    align-items: center;
    text-align: center;
    border-top: 0;
    border-left: 1px solid rgba(255, 255, 255, .35);
    padding-inline: clamp(12px, 2vw, 32px);
  }
  .cifras__item:first-child { border-left: 0; }
}

/* 4.7 Equipo: icono de LinkedIn azul y gris al pasar el ratón */
a[href*="linkedin.com"] {
  color: var(--azul-accion);
  border-color: var(--azul-accion);
  transition: color var(--transicion), border-color var(--transicion), background-color var(--transicion);
}
a[href*="linkedin.com"]:hover,
a[href*="linkedin.com"]:focus-visible {
  color: var(--gris);
  border-color: var(--gris);
}
a[href*="linkedin.com"].h-9 { width: clamp(36px, 2.6vw, 40px); height: clamp(36px, 2.6vw, 40px); }

/* 4.8 Mapa ACS Partners */
.rsm-svg { width: 100%; height: auto; display: block; }
.acs-stage svg { touch-action: manipulation; }
.acs-country {
  fill: var(--gris-fondo);
  stroke: var(--gris-borde);
  stroke-width: .5;
  vector-effect: non-scaling-stroke;
  transition: fill var(--transicion);
}
[data-state="world"] .acs-country[data-region] { fill: #cceaf2; cursor: pointer; }
.acs-country.is-hot { fill: #80cddf !important; }
[data-state="region"] .acs-country[data-region] { cursor: pointer; }
[data-state="region"] .acs-country.in-region { fill: var(--azul-suave); }
[data-state="region"] .acs-country.in-region[data-partner] { fill: #a6dcea; }
.acs-country.is-hover { fill: #4dbad2 !important; }
.acs-country.is-active { fill: var(--azul) !important; }
.acs-marker { cursor: pointer; display: none; }
[data-state="region"] .acs-marker.in-region { display: inline; }
.acs-dot { fill: var(--azul); stroke: var(--blanco); stroke-width: 1; vector-effect: non-scaling-stroke; }
.acs-dot--spain { fill: var(--azul-oscuro); }
.acs-ring {
  stroke: var(--azul-oscuro);
  stroke-width: 1.5;
  vector-effect: non-scaling-stroke;
  opacity: 0;
  transition: opacity .16s ease-out;
}
.acs-marker.is-hover .acs-ring,
.acs-marker.is-active .acs-ring { opacity: 1; }
.acs-spain-label {
  pointer-events: none;
  font: 700 11px var(--fuente);
  fill: var(--azul-oscuro);
  paint-order: stroke;
  stroke: var(--blanco);
  stroke-width: 3px;
}
.acs-region-pill {
  position: absolute;
  transform: translate(-50%, -50%);
  display: inline-flex;
  align-items: center;
  gap: clamp(5px, .6vw, 8px);
  padding: clamp(5px, .5vw, 7px) clamp(5px, .6vw, 8px) clamp(5px, .5vw, 7px) clamp(8px, .85vw, 12px);
  background: var(--blanco);
  border: 1px solid var(--azul);
  color: var(--azul-oscuro);
  font: 700 clamp(10px, .85vw, 12px)/1 var(--fuente);
  letter-spacing: .08em;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color var(--transicion), color var(--transicion), border-color var(--transicion);
}
.acs-region-pill__count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: clamp(16px, 1.4vw, 20px);
  height: clamp(16px, 1.4vw, 20px);
  background: var(--azul-accion);
  color: var(--blanco);
  font-size: clamp(10px, .78vw, 11px);
  letter-spacing: 0;
}
.acs-region-pill:hover,
.acs-region-pill.is-hot,
.acs-region-pill:focus-visible {
  background: var(--azul-accion);
  border-color: var(--azul-accion);
  color: var(--blanco);
  outline: none;
}
.acs-region-pill:hover .acs-region-pill__count,
.acs-region-pill.is-hot .acs-region-pill__count { background: var(--blanco); color: var(--azul-accion); }
[data-state="region"] .acs-region-pill { display: none; }
.acs-toolbar {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 8px;
}
.acs-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  background: var(--blanco);
  border: 1px solid var(--gris-borde);
  font: 700 13px/1 var(--fuente);
  color: var(--azul-accion);
  cursor: pointer;
  transition: border-color var(--transicion), color var(--transicion);
}
.acs-back:hover,
.acs-back:focus-visible { border-color: var(--azul-accion); color: var(--azul-hover); outline: none; }
.acs-back--list {
  padding: 0;
  border: 0;
  background: none;
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.acs-crumb {
  padding: 6px 8px;
  background: rgba(255, 255, 255, .92);
  font: 700 11px/1 var(--fuente);
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gris-texto);
}
.acs-crumb:empty { display: none; }
.acs-list-item {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: clamp(12px, 1vw, 14px) 0;
  text-align: left;
  cursor: pointer;
  transition: color var(--transicion), padding var(--transicion);
}
.acs-list-item:hover,
.acs-list-item.is-hot,
.acs-list-item:focus-visible { padding-left: 6px; outline: none; }
.acs-list-item:hover > span:first-child,
.acs-list-item.is-hot > span:first-child { color: var(--azul-accion); }
.acs-list-item--country { gap: 8px; padding: clamp(9px, .8vw, 11px) 0; }
.acs-list-item--country.is-hover .text-gray-700,
.acs-list-item--country:hover .text-gray-700 {
  color: var(--azul-hover);
  text-decoration: underline;
  text-underline-offset: 4px;
}
.acs-list-item--country.is-active { background: var(--gris-fondo); padding-left: 10px; }
.acs-list-item--country.is-active .text-gray-700 { color: var(--azul-oscuro); font-weight: 700; }
.acs-list-dot { display: inline-block; width: 8px; height: 8px; flex-shrink: 0; }

/* Europa: lista de países en 2 columnas (se lee de arriba abajo) */
[data-acs-panel="europe"] > ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: repeat(7, auto);
  grid-auto-flow: column;
  column-gap: clamp(16px, 2.2vw, 32px);
}
[data-acs-panel="europe"] .acs-list-item--country .text-\[15px\] { font-size: clamp(13px, 1vw, 15px); }

.acs-banner {
  position: relative;
  z-index: 20;
  margin-top: 12px;
  background: var(--blanco);
  border: 1px solid var(--gris-borde);
  border-top: 3px solid var(--azul-oscuro);
  animation: acs-drop .26s ease-out;
}
.acs-banner__arrow { display: none; }
.acs-banner__img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: var(--azul-suave);
}
.acs-banner__body { padding: 18px 20px 20px; }
.acs-banner__tag {
  font: 700 11px/1 var(--fuente);
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--azul-accion);
}
.acs-banner__title {
  margin-top: 8px;
  font-size: clamp(19px, 1.55vw, 22px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -.01em;
  color: var(--negro);
}
.acs-banner__text { margin-top: 10px; font-size: 14px; line-height: 1.55; color: var(--gris-oscuro); }
.acs-banner__cta {
  margin-top: 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 18px;
  background: var(--azul-accion);
  color: var(--blanco);
  font-size: 14px;
  font-weight: 700;
  transition: background-color var(--transicion);
}
.acs-banner__cta:hover,
.acs-banner__cta:focus-visible { background: var(--azul-hover); }
.acs-banner__close {
  position: absolute;
  top: 8px;
  right: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  background: rgba(255, 255, 255, .95);
  border: 1px solid var(--gris-borde);
  font: 400 20px/1 var(--fuente);
  color: var(--gris-oscuro);
  cursor: pointer;
}
.acs-banner__close:hover { border-color: var(--azul-accion); color: var(--azul-accion); }
@keyframes acs-drop {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: none; }
}
@keyframes acs-pop {
  from { opacity: 0; transform: scale(.4); }
  to { opacity: 1; transform: none; }
}
@media (min-width: 40rem) {
  .acs-banner {
    position: absolute;
    margin: 0;
    width: clamp(260px, 22vw, 320px);
    animation: acs-pop .28s cubic-bezier(.2, .8, .3, 1);
  }
  .acs-banner__arrow {
    display: block;
    position: absolute;
    width: 0;
    height: 0;
    border: 8px solid transparent;
  }
  .acs-banner--right .acs-banner__arrow { left: -17px; border-right: 9px solid var(--azul-oscuro); }
  .acs-banner--left .acs-banner__arrow { right: -17px; border-left: 9px solid var(--azul-oscuro); }
}
@media (max-width: 39.99rem) {
  .acs-spain-label { display: none; }
}

/* 4.9 Artículos y noticias */
.wp-article-hero {
  padding: clamp(64px, 8vw, 115px) var(--margen-x) clamp(40px, 4.2vw, 60px);
  background: var(--azul-accion);
  color: var(--blanco);
}
.wp-article-hero small {
  color: var(--blanco);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .17em;
}
.wp-article-hero h1 {
  max-width: 1000px;
  margin: clamp(16px, 1.5vw, 22px) 0 14px;
  color: var(--blanco);
  font-size: clamp(30px, 4.6vw, 58px);
  line-height: 1.08;
  letter-spacing: -.03em;
}
.wp-article-hero time,
.wp-article-hero p { color: var(--blanco); font-size: clamp(15px, 1.2vw, 17px); }
.wp-article-featured { margin: 0; padding: 0 var(--margen-x); background: var(--gris-fondo); }
.wp-article-featured img {
  display: block;
  width: 100%;
  max-width: 1100px;
  height: auto;
  margin: 0 auto;
  transform: translateY(clamp(-30px, -2vw, -12px));
}
.wpprose {
  max-width: 820px;
  margin: 0 auto;
  padding: clamp(40px, 4.2vw, 60px) var(--margen-x) clamp(56px, 5.6vw, 80px);
  color: var(--gris-oscuro);
  font-size: clamp(16px, 1.25vw, 18px);
  line-height: 1.7;
}
.wpprose h2 { margin: clamp(32px, 3.3vw, 48px) 0 16px; font-size: clamp(24px, 2.1vw, 30px); line-height: 1.2; letter-spacing: -.02em; color: var(--negro); }
.wpprose h3 { margin: clamp(26px, 2.5vw, 36px) 0 12px; font-size: clamp(20px, 1.6vw, 23px); color: var(--negro); }
.wpprose h4 { margin: 28px 0 10px; font-size: clamp(17px, 1.3vw, 19px); color: var(--negro); }
.wpprose p { margin: 0 0 20px; }
.wpprose a { color: var(--azul-accion); text-decoration: underline; }
.wpprose a:hover { color: var(--azul-hover); }
.wpprose ul, .wpprose ol { margin: 0 0 20px; padding-left: 24px; }
.wpprose ul { list-style: disc; }
.wpprose ol { list-style: decimal; }
.wpprose li { margin-bottom: 8px; }
.wpprose strong, .wpprose b { color: var(--negro); }
.wpprose img { max-width: 100%; height: auto; margin: 28px 0; }
.wpprose blockquote {
  margin: 28px 0;
  padding: 4px 0 4px 22px;
  border-left: 3px solid var(--azul);
  color: var(--gris-texto);
  font-size: clamp(18px, 1.4vw, 20px);
}
.wpprose table { display: block; width: 100%; margin: 28px 0; overflow-x: auto; border-collapse: collapse; font-size: 16px; }
.wpprose thead th { padding: 12px 14px; background: var(--azul-accion); color: var(--blanco); font-weight: 700; text-align: left; white-space: nowrap; }
.wpprose tbody td { padding: 12px 14px; border-bottom: 1px solid var(--gris-borde); vertical-align: top; }
.wpprose tbody tr:nth-child(2n) td { background: var(--gris-fondo); }
.wpprose figure { margin: 28px 0; }
.wpprose figcaption { margin-top: 8px; font-size: 14px; color: var(--gris-texto); }
.wpprose hr { margin: 40px 0; border: 0; border-top: 1px solid var(--gris-borde); }
.wpprose iframe, .wp-legacy iframe { max-width: 100%; height: auto; aspect-ratio: 16 / 9; }
.wp-article-back { max-width: 820px; margin: 0 auto; padding: 0 var(--margen-x) clamp(60px, 6.25vw, 90px); }
.wp-article-back a { color: var(--azul-accion); font-weight: 700; text-decoration: none; }
.wp-article-back a:hover { color: var(--azul-hover); }
.wp-index-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(24px, 2.4vw, 34px);
  margin: 0;
  padding: clamp(48px, 4.9vw, 70px) var(--margen-x) clamp(64px, 7vw, 100px);
  list-style: none;
}
@media (min-width: 40rem) { .wp-index-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 62.5rem) { .wp-index-grid { grid-template-columns: repeat(3, 1fr); } }
.wp-index-card { display: block; padding-top: 18px; border-top: 3px solid var(--azul); color: inherit; text-decoration: none; }
.wp-index-card:hover h2 { color: var(--azul-accion); }
.wp-index-thumb { display: block; margin-bottom: 14px; background: var(--gris-fondo); }
.wp-index-thumb img { display: block; width: 100%; height: clamp(170px, 13.2vw, 220px); object-fit: cover; }
.wp-index-card time { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--gris-texto); }
.wp-index-card h2 { margin-top: 8px; font-size: clamp(18px, 1.4vw, 20px); font-weight: 700; line-height: 1.3; color: var(--negro); }

/* 4.10 Páginas antiguas importadas de WordPress */
.wp-legacy .entry-content,
.wp-legacy .et-l--post,
.wp-legacy > .et_builder_inner_content {
  max-width: 860px;
  margin: 0 auto;
  padding: clamp(32px, 3.3vw, 48px) var(--margen-x);
  font-family: var(--fuente);
  font-size: 16px;
  line-height: 1.75;
  color: var(--gris-oscuro);
}
.wp-legacy .et_pb_section { padding: 0 !important; background: none !important; }
.wp-legacy .et_pb_row { width: 100%; max-width: none; margin: 0; padding: 0; }
.wp-legacy img { max-width: 100%; height: auto; }
.wp-legacy h1 { margin: 0 0 24px; font-size: clamp(26px, 2.2vw, 32px); line-height: 1.2; color: var(--negro); }
.wp-legacy h2 { margin: 40px 0 16px; font-size: clamp(21px, 1.7vw, 24px); line-height: 1.3; color: var(--negro); }
.wp-legacy h3 { margin: 32px 0 12px; font-size: clamp(18px, 1.35vw, 19px); color: var(--negro); }
.wp-legacy p { margin: 0 0 16px; }
.wp-legacy a { color: var(--azul-accion); }
.wp-legacy ul, .wp-legacy ol { margin: 0 0 16px; padding-left: 24px; }
.wp-legacy ul { list-style: disc; }
.wp-legacy ol { list-style: decimal; }
.wp-legacy table { width: 100%; margin: 24px 0; border-collapse: collapse; }
.wp-legacy td, .wp-legacy th { padding: 10px 12px; border: 1px solid var(--gris-borde); text-align: left; }
.wp-legacy .et_pb_tabs, .wp-legacy .et_pb_accordion { margin: 16px 0; }
.wp-legacy .et_pb_toggle { margin: 0 0 12px; padding: 16px 20px; border: 1px solid var(--gris-borde); }
.wp-legacy .et_pb_toggle_title, .wp-legacy .et_pb_tab > a { font-weight: 700; color: var(--negro); }

/* 4.11 Movimiento reducido */
@media (prefers-reduced-motion: reduce) {
  .animate-marquee, .acs-banner { animation: none; }
}

@media (min-width:64rem){.lg\:grid-cols-5{grid-template-columns:repeat(5,minmax(0,1fr))}}

/* Vídeos de YouTube con carga al hacer clic (sin cookies hasta reproducir) */
.yt-lite { position: relative; display: block; width: 100%; max-width: 1080px; aspect-ratio: 16 / 9; margin: 1.5rem auto; padding: 0; border: 0; background: #000; cursor: pointer; overflow: hidden; }
.yt-lite img { width: 100%; height: 100%; object-fit: cover; opacity: .9; transition: opacity var(--transicion, .2s); }
.yt-lite:hover img, .yt-lite:focus-visible img { opacity: 1; }
.yt-lite:focus-visible { outline: 2px solid var(--azul-accion); outline-offset: 3px; }
.yt-lite__play { position: absolute; top: 50%; left: 50%; width: 68px; height: 48px; transform: translate(-50%, -50%); background: rgba(0,0,0,.75); border-radius: 12px; }
.yt-lite__play::after { content: ""; position: absolute; top: 50%; left: 54%; transform: translate(-50%, -50%); border-style: solid; border-width: 10px 0 10px 18px; border-color: transparent transparent transparent #fff; }
.yt-lite-frame { display: block; width: 100%; max-width: 1080px; aspect-ratio: 16 / 9; height: auto; margin: 1.5rem auto; border: 0; }

/* Título H1 añadido a páginas heredadas que no lo tenían (país, Miami/Florida, inmobiliario, servicios EN) */
.page-h1 { max-width: 820px; margin: 48px auto 24px; padding: 0; font-family: Arial, Helvetica, sans-serif; font-size: clamp(28px, 3.4vw, 40px); font-weight: 700; line-height: 1.15; letter-spacing: -.01em; color: var(--negro, #000); text-wrap: balance; }
/* Rótulos que en WordPress eran <H1> mal cerrados: mismo aspecto, sin competir con el H1 real */
.et_pb_text_inner .legacy-h1 { margin: 0 0 24px; font-size: 30px; line-height: 1.2; font-weight: 400; color: #000; }

/* Botones de la franja azul final (servicios y FAQ) */
.tm-svc-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 24px; }
.tm-svc-foot .tm-btn, .tm-btn { display: inline-flex; align-items: center; justify-content: center; padding: 14px 24px; background: var(--blanco); color: var(--azul-oscuro); font-size: 15px; font-weight: 700; text-decoration: none; transition: background-color var(--transicion, .2s); }
.tm-svc-foot .tm-btn:hover, .tm-btn:hover { background: #e8f3f6; }
.tm-btn:focus-visible, .tm-link:focus-visible { outline: 2px solid var(--blanco); outline-offset: 3px; }
.tm-svc-foot .tm-link, .tm-link { font-size: 15px; font-weight: 700; color: var(--blanco); text-decoration: underline; text-underline-offset: 4px; }

/* Enlace "Saltar al contenido": invisible hasta que se navega con teclado */
.skip-link { position: absolute; left: 16px; top: -100px; z-index: 100; padding: 12px 18px; background: var(--azul-oscuro); color: var(--blanco); font-size: 14px; font-weight: 700; text-decoration: none; }
.skip-link:focus { top: 12px; outline: 2px solid var(--blanco); outline-offset: 2px; }
main:focus { outline: none; }

/* Barra de newsletter de la home: solo en tablet y escritorio (en móvil se apilaba con el banner de cookies sobre el hero) */
@media (max-width: 767px) { .newsletter-bar { display: none; } }

/* Bloque "Te puede interesar" al final de los artículos (sustituye la frase de «guía completa» del principio) */
.te-puede-interesar { margin: 48px 0 8px; padding: 22px 24px; border-left: 3px solid var(--azul-accion); background: #f4f8f9; }
.te-puede-interesar__k { margin: 0 0 6px !important; font-size: 11px !important; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gris-texto) !important; }
.te-puede-interesar a { font-size: 17px; font-weight: 700; color: var(--azul-oscuro); text-decoration: none; }
.te-puede-interesar a:hover { text-decoration: underline; text-underline-offset: 4px; }

/* Utilidades usadas en las páginas legales reconstruidas */
.text-\[20px\] { font-size: 20px; }
.list-disc { list-style-type: disc; }
.\[overflow-wrap\:anywhere\] { overflow-wrap: anywhere; }

/* LinkedIn en el pie: mismo aspecto que el resto de enlaces de contacto */
#site-footer a[href*="linkedin.com"] { color: var(--gris-texto); border: 0; }
#site-footer a[href*="linkedin.com"]:hover { color: var(--azul-accion); }

/* ==========================================================================
   Botones azules: azul corporativo #009bbf
   ========================================================================== */
:root { --azul-boton: #009bbf; }

/* Botones normales (Programa una cita, Aceptar cookies, formularios, CTAs…) */
a.bg-action,
button.bg-action,
a.bg-brand,
button.bg-brand { background-color: var(--azul-boton); }

/* Botones de opción seleccionados (diagnóstico / decisión) */
.aria-pressed\:bg-action[aria-pressed="true"] {
  background-color: var(--azul-boton);
  border-color: var(--azul-boton);
}

/* Botón blanco con borde azul: el borde y el relleno al pasar el ratón */
a.border-action,
button.border-action { border-color: var(--azul-boton); }
@media (hover: hover) {
  .hover\:bg-action:hover { background-color: var(--azul-boton); }
  .hover\:border-action:hover { border-color: var(--azul-boton); }
}

/* Mapa ACS: botones de región y CTA del aviso */
.acs-region-pill:hover,
.acs-region-pill.is-hot,
.acs-region-pill:focus-visible {
  background: var(--azul-boton);
  border-color: var(--azul-boton);
}
.acs-region-pill__count { background: var(--azul-boton); }
.acs-banner__cta { background: var(--azul-boton); }

/* Botones con estilo en línea de las páginas antiguas (guías, países, FAQ…) */
a[style*="background:#00819f"],
a[style*="background: #00819f"] { background: var(--azul-boton) !important; }
