/* ACS Abogados: estilos del tema. Tokens del manual de marca. */
:root {
	--tinta: #14171c;
	--verde-recaudo: #0b5c45;
	--blanco: #fff;
	--bronce: #9e7b53;
	--acero: #5b6570;
	--verde-senal: #63c99a;
	--niebla: #e4e7ea;
	--linea-fuerte: #ced3d8;
	--serif: var(--wp--preset--font-family--serif);
	--sans: var(--wp--preset--font-family--sans);
	--mono: var(--wp--preset--font-family--mono);
	--margen: clamp(20px, 3vw, 32px);
	--ancho: 1216px;
	--lateral: max(var(--margen), calc((100% - var(--ancho)) / 2));
	--superficie: var(--blanco);
	--texto: var(--tinta);
	--texto-suave: var(--acero);
	--acento: var(--verde-recaudo);
	--linea: var(--niebla);
}
.es-oscuro {
	--superficie: var(--tinta);
	--texto: var(--blanco);
	--texto-suave: #b8bec6;
	--acento: var(--verde-senal);
	--linea: rgba(255, 255, 255, .22);
	--linea-fuerte: rgba(255, 255, 255, .35);
}
.es-panel {
	--superficie: var(--verde-recaudo);
	--texto: var(--blanco);
	--texto-suave: rgba(255, 255, 255, .78);
	--acento: var(--blanco);
	--linea: rgba(255, 255, 255, .28);
}

body { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
:where(.wp-site-blocks) > * { margin-block-start: 0; }
.wp-site-blocks { overflow-x: clip; }
main.acs-principal { margin: 0; }
:focus-visible { outline: 2px solid var(--acento); outline-offset: 2px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.acs-saltar { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--tinta); color: #fff; padding: 10px 16px; }
.acs-saltar:focus { left: 8px; }

/* ---------- Encabezado ---------- */
.acs-cab { position: relative; z-index: 50; background: var(--blanco); color: var(--tinta); border-bottom: 1px solid var(--niebla); font-family: var(--sans); transition: background-color .28s ease, border-color .28s ease, color .28s ease; }
.acs-cab.es-portada { position: absolute; top: 0; left: 0; right: 0; background: transparent; color: var(--blanco); border-bottom-color: transparent; }
.acs-cab.es-portada.mega-abierto, .acs-cab.es-portada.menu-abierto { background: var(--blanco); color: var(--tinta); border-bottom-color: var(--niebla); }
.acs-cab.es-portada.menu-abierto { background: var(--tinta); color: var(--blanco); border-bottom-color: rgba(255,255,255,.22); }
.wp-site-blocks { position: relative; }
.acs-cab-barra { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 24px var(--lateral); }
.acs-cab a { color: inherit; text-decoration: none; transition: opacity .2s ease, color .28s ease; }
.acs-cab-logo { display: flex; }
.acs-logo { display: block; height: auto; }
.acs-nav { display: flex; align-items: center; gap: 40px; font-size: 15px; line-height: 21px; font-weight: 500; }
.acs-nav a { padding: 8px 0; }
.acs-nav a:hover, .acs-mega-col a:hover { opacity: .65; }
.acs-nav a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--verde-recaudo); text-underline-offset: 8px; text-decoration-thickness: 1px; }
.acs-cab-boton { display: none; width: 44px; height: 44px; margin-right: -10px; align-items: center; justify-content: center; padding: 0; background: transparent; border: 0; color: inherit; cursor: pointer; }
.acs-cab-cerrar { display: none; }
.acs-cab.menu-abierto .acs-cab-abrir { display: none; }
.acs-cab.menu-abierto .acs-cab-cerrar { display: block; }

.acs-mega { position: absolute; top: 100%; left: 0; right: 0; z-index: 10; background: var(--blanco); color: var(--tinta); border-bottom: 1px solid var(--niebla); opacity: 0; visibility: hidden; transform: translateY(-6px); pointer-events: none; transition: opacity .22s ease, transform .26s cubic-bezier(.2,.7,.2,1), visibility 0s linear .26s; }
.acs-cab.mega-abierto .acs-mega { opacity: 1; visibility: visible; transform: none; pointer-events: auto; transition: opacity .22s ease, transform .26s cubic-bezier(.2,.7,.2,1), visibility 0s; }
.acs-mega-reticula { padding: 40px var(--lateral) 48px; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 32px; }
.acs-mega-col { min-width: 0; display: flex; flex-direction: column; gap: 10px; font-size: 15px; line-height: 21px; opacity: 0; transform: translateY(6px); transition: opacity .24s ease, transform .3s cubic-bezier(.2,.7,.2,1); }
.acs-cab.mega-abierto .acs-mega-col { opacity: 1; transform: none; }
.acs-cab.mega-abierto .acs-mega-col:nth-child(2) { transition-delay: .03s; }
.acs-cab.mega-abierto .acs-mega-col:nth-child(3) { transition-delay: .06s; }
.acs-cab.mega-abierto .acs-mega-col:nth-child(4) { transition-delay: .09s; }
.acs-cab.mega-abierto .acs-mega-col:nth-child(5) { transition-delay: .12s; }
.acs-cab .acs-mega a { color: var(--tinta); }
.acs-mega-titulo { margin: 0 0 8px; font-family: var(--serif); font-weight: 300; font-size: 22px; line-height: 1.2; letter-spacing: -0.01em; }

.acs-menu-movil { position: absolute; top: 100%; left: 0; right: 0; z-index: 10; min-height: calc(100vh - 92px); background: var(--tinta); color: var(--blanco); padding: 8px 20px 40px; display: flex; flex-direction: column; border-top: 1px solid rgba(255,255,255,.22); overflow-y: auto; max-height: calc(100vh - 92px); box-sizing: border-box; }
.acs-menu-movil[hidden] { display: none; }
.acs-cab .acs-menu-movil a { color: #b8bec6; }
.acs-cab .acs-menu-movil a.acs-menu-movil-titulo { display: block; padding: 10px 0 4px; font-family: var(--serif); font-size: 28px; line-height: 34px; color: var(--blanco); }
.acs-menu-movil-grupo { display: flex; flex-direction: column; margin-bottom: 10px; }
.acs-menu-movil-grupo a { display: block; padding: 6px 0; font-size: 16px; line-height: 24px; }
.acs-menu-movil-pie { margin-top: 20px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.22); display: flex; flex-direction: column; gap: 8px; align-items: flex-start; --acento: var(--verde-senal); --texto: var(--blanco); }
.acs-cab .acs-menu-movil-pie .acs-enlace a { color: var(--blanco); }
.acs-menu-movil-correo { display: block; padding: 10px 0; font-size: 16px; }

@media (max-width: 959px) {
	.acs-nav, .acs-mega { display: none; }
	.acs-cab-boton { display: flex; }
	.acs-cab-barra { padding-top: 20px; padding-bottom: 20px; }
	.acs-cab .acs-logo { width: 150px; }
}
@media (prefers-reduced-motion: reduce) {
	.acs-cab, .acs-cab a, .acs-mega, .acs-mega-col { transition: none; }
}

/* ---------- Pie ---------- */
.acs-pie { background: var(--tinta); color: var(--blanco); font-family: var(--sans); }
.acs-pie-dentro { max-width: 1280px; margin: 0 auto; padding: 64px var(--margen) 32px; box-sizing: border-box; display: flex; flex-direction: column; gap: 48px; }
.acs-pie-columnas { display: flex; flex-wrap: wrap; gap: 48px 32px; justify-content: space-between; }
.acs-pie-marca { flex: 1 1 280px; display: flex; flex-direction: column; gap: 16px; }
.acs-pie-marca a { color: var(--blanco); display: inline-flex; }
.acs-pie-lema { margin: 0; font-family: var(--serif); font-weight: 300; font-size: 26px; line-height: 1.2; letter-spacing: -0.01em; }
.acs-pie-col { flex: 1 1 180px; display: flex; flex-direction: column; gap: 10px; font-size: 15px; line-height: 21px; }
.acs-pie-col p { margin: 0; }
.acs-pie-col a { color: var(--blanco); text-decoration: none; }
.acs-pie-col a:hover { color: var(--verde-senal); }
.acs-pie .acs-pie-titulo { margin: 0 0 8px; font-family: var(--serif); font-weight: 300; font-size: 22px; line-height: 1.2; letter-spacing: -0.01em; }
.acs-pie-suave { color: #b8bec6; }
.acs-pie-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px 32px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.22); font-size: 14px; line-height: 21px; color: #b8bec6; }
.acs-pie-legal p { margin: 0; }
.acs-pie-legal nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.acs-pie-legal a { color: #b8bec6; text-decoration: none; }
.acs-pie-legal a:hover { color: var(--blanco); }

/* ---------- Secciones ---------- */
.acs-seccion { padding-top: clamp(64px, 8vw, 112px) !important; padding-bottom: clamp(64px, 8vw, 112px) !important; background: var(--superficie); color: var(--texto); }
.acs-seccion.es-compacta { padding-top: clamp(64px, 8vw, 96px) !important; padding-bottom: clamp(64px, 8vw, 96px) !important; }
.acs-seccion.sin-arriba { padding-top: 0 !important; }
.acs-seccion.sin-abajo { padding-bottom: 0 !important; }
.acs-seccion.es-niebla { background: var(--niebla); }
.acs-cuadricula, .acs-seccion.es-cuadricula { background-image: linear-gradient(rgba(20,23,28,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(20,23,28,.05) 1px, transparent 1px); background-size: 24px 24px; }
.es-oscuro.es-cuadricula { background-image: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px); }
.acs-seccion > * + * { margin-block-start: 56px; }
.acs-seccion > .acs-pila-corta + *, .acs-seccion.es-pila-media > * + * { margin-block-start: 48px; }
.es-oscuro a:not(.wp-element-button), .es-panel a:not(.wp-element-button) { color: var(--texto); }
.es-oscuro .wp-element-button { background: var(--verde-senal); color: var(--tinta); }
.es-oscuro .wp-element-button:hover { background: var(--blanco); color: var(--tinta); }
.es-panel .wp-element-button { background: var(--blanco); color: var(--verde-recaudo); }

/* Titulares */
.acs-h2, h1.acs-h2, h2.acs-h2 { margin: 0; font-family: var(--serif); font-weight: 300; font-size: clamp(44px, 6vw, 84px); line-height: 1; letter-spacing: -0.03em; text-wrap: balance; }
.acs-h2.es-mediano { font-size: clamp(40px, 5vw, 72px); }
.acs-h2.es-pequeno { font-size: clamp(36px, 4vw, 56px); line-height: 1.05; }
.acs-gigante { margin: 0; font-family: var(--serif); font-weight: 400; font-size: clamp(50px, 6.6vw, 104px); line-height: 1; letter-spacing: -0.02em; }
.acs-h3 { margin: 0; font-family: var(--serif); font-weight: 500; font-size: 26px; line-height: 33px; }
.acs-antetitulo { margin: 0; font-size: 14px; line-height: 21px; color: var(--texto-suave); }
.acs-entradilla { font-size: 20px !important; line-height: 30px !important; }
.acs-suave { color: var(--texto-suave); }
.acs-nota { font-size: 14px !important; line-height: 21px !important; color: var(--texto-suave); }
.acs-dato { font-family: var(--mono); font-size: 14px; color: var(--texto-suave); }

/* Cabecera de sección: titular + introducción */
.acs-cabecera { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px 64px; }
.acs-cabecera.arriba { align-items: flex-start; }
.acs-cabecera > .acs-h2 { flex: 1 1 520px; max-width: 860px; }
.acs-intro { flex: 0 1 400px; display: flex; flex-direction: column; gap: 16px; align-items: flex-start; color: var(--texto-suave); }
.acs-intro > * { margin: 0 !important; }
.acs-intro .es-fuerte { color: var(--texto); }

/* Cifras */
.acs-cifras { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 40px 48px; }
.acs-cifra { display: flex; flex-direction: column; gap: 8px; }
.acs-cifra > * { margin: 0 !important; }
.acs-cifra-valor { font-family: var(--serif); font-weight: 300; font-size: clamp(48px, 5vw, 72px) !important; line-height: 1 !important; letter-spacing: -0.02em; }
.acs-cifra-desc { font-size: 15px; line-height: 1.4; max-width: 280px; }
.acs-cifra-fuente { font-size: 12px; line-height: 1.4; color: var(--texto-suave); }
.acs-cifra.con-linea .acs-cifra-valor { padding-bottom: 12px; border-bottom: 4px solid var(--acento); }

/* Enlace con flecha */
.acs-enlace { margin: 0; }
.acs-enlace a { display: inline-flex; align-items: center; gap: 14px; font-family: var(--sans); font-size: 16px; font-weight: 500; color: var(--texto); text-decoration: none; padding-bottom: 3px; background: linear-gradient(var(--acento), var(--acento)) left bottom / calc(100% - 36px) 1px no-repeat; }
.acs-enlace a::after { content: ""; flex: none; width: 22px; height: 12px; background: var(--acento); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 12'%3E%3Cpath d='M0 6h20M15 1l5 5-5 5' fill='none' stroke='%23000' stroke-width='1.5'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 12'%3E%3Cpath d='M0 6h20M15 1l5 5-5 5' fill='none' stroke='%23000' stroke-width='1.5'/%3E%3C/svg%3E") center / contain no-repeat; }
.acs-enlace a:hover { background-size: calc(100% - 36px) 2px; }
.acs-enlace-claro { margin: 0; }
.acs-enlace-claro a { color: var(--texto); font-weight: 600; text-decoration: underline; text-underline-offset: 6px; }
.acs-enlace-claro a::after { content: " →"; }

/* Botones */
.wp-block-buttons.acs-botones { gap: 12px 24px; align-items: center; }
.wp-element-button { transition: background-color .2s ease, color .2s ease; }

/* Filas de servicio */
.acs-servicios > * { margin: 0 !important; }
.acs-servicio { position: relative; display: grid !important; grid-template-columns: minmax(0, 1fr) 24px; align-items: center; column-gap: 24px; row-gap: 4px; padding: 18px 0; border-top: 1px solid var(--linea); }
.acs-servicio > * { grid-column: 1; margin: 0 !important; }
.acs-servicio::after { content: ""; grid-column: 2; grid-row: 1 / span 2; width: 22px; height: 12px; background: var(--texto); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 12'%3E%3Cpath d='M0 6h20M15 1l5 5-5 5' fill='none' stroke='%23000' stroke-width='1.5'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 12'%3E%3Cpath d='M0 6h20M15 1l5 5-5 5' fill='none' stroke='%23000' stroke-width='1.5'/%3E%3C/svg%3E") center / contain no-repeat; }
.acs-servicio h3 { font-family: var(--serif); font-weight: 400; font-size: 30px; line-height: 1.15; }
.acs-servicio h3 a { color: var(--texto); text-decoration: none; }
.acs-servicio h3 a::before { content: ""; position: absolute; inset: 0; }
.acs-servicio:hover h3 a { text-decoration: underline; text-decoration-color: var(--acento); text-decoration-thickness: 1px; text-underline-offset: 6px; }
.acs-servicio p { font-size: 15px; line-height: 1.5; color: var(--texto-suave); }

/* Tarjetas con ícono */
.acs-tarjetas { display: flex !important; flex-wrap: wrap; gap: 48px 32px; }
.acs-tarjetas > * { flex: 1 1 300px; margin: 0 !important; }
.acs-tarjeta { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.acs-tarjeta > * { margin: 0 !important; }
.acs-tarjeta .acs-dato { margin-bottom: -4px !important; }
.acs-icono { display: block; flex: none; color: var(--texto); }

/* Razones (ícono + texto) */
.acs-razones { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 40px 48px; }
.acs-razones > * { margin: 0 !important; }
.acs-razon { display: flex; gap: 16px; align-items: flex-start; }
.acs-razon > * { margin: 0 !important; }
.acs-razon-texto > * { margin: 0 !important; }
.acs-razon-texto > p:first-child { font-weight: 600; }
.acs-razon-texto > p + p { color: var(--texto-suave); }

/* Bloques divididos */
.acs-dividido { display: flex !important; flex-wrap: wrap; align-items: stretch; gap: 48px clamp(32px, 5vw, 80px); }
.acs-dividido > * { margin: 0 !important; }
.acs-panel-servicios { flex: 1 1 360px; min-height: clamp(320px, 30vw, 440px); background: var(--verde-recaudo); color: var(--blanco); padding: clamp(32px, 4vw, 48px); box-sizing: border-box; display: flex !important; flex-direction: column; justify-content: space-between; gap: 48px; --texto: var(--blanco); --texto-suave: rgba(255,255,255,.78); }
.acs-panel-servicios > * { margin: 0 !important; }
.acs-panel-servicios .acs-h2 { font-size: clamp(44px, 5vw, 72px); }
.acs-dividido > .acs-servicios { flex: 999 1 520px; min-width: 0; align-self: center; }

.acs-dos-col { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); align-items: end; gap: 32px clamp(48px, 6vw, 96px); }
.acs-dos-col > * { margin: 0 !important; }
.acs-pila { display: flex; flex-direction: column; gap: 20px; align-items: flex-start; }
.acs-pila > * { margin: 0 !important; }
.acs-pila.es-corta { gap: 12px; }

/* Portada de inicio */
.acs-hero { display: flex !important; flex-wrap: wrap; min-height: clamp(560px, min(56vw, 100svh - var(--wp-admin--admin-bar--height, 0px)), 820px); margin-block: 0 !important; }
.acs-hero > * { margin: 0 !important; }
.acs-hero-texto { flex: 3 1 560px; min-width: 0; background: var(--tinta); color: var(--blanco); padding: clamp(120px, 11vw, 160px) clamp(20px, 4vw, 64px) clamp(40px, 5vw, 72px) max(var(--margen), calc((100vw - 1216px) / 2)); box-sizing: border-box; display: flex !important; flex-direction: column; justify-content: center; gap: clamp(40px, 5vw, 72px); }
.acs-hero-texto > * { margin: 0 !important; }
.acs-hero-pie { display: flex !important; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px 48px; }
.acs-hero-pie > * { margin: 0 !important; }
.acs-hero-pie h1 { flex: 1 1 280px; max-width: 440px; font-family: var(--sans); font-weight: 400; font-size: 16px; line-height: 25px; letter-spacing: 0; }
.acs-hero-mapa { flex: 2 1 360px; min-width: 0; background: var(--verde-recaudo); padding: 112px clamp(20px, 4vw, 64px) clamp(32px, 4vw, 56px); box-sizing: border-box; display: flex !important; align-items: center; justify-content: center; }
.acs-hero-mapa .acs-mapa { height: min(600px, calc(56vw - 200px)); width: auto; max-width: 100%; }
@media (max-width: 959px) { .acs-hero-mapa { padding-top: 40px; } .acs-hero-mapa .acs-mapa { height: 320px; } }

/* Mapa de puntos */
.acs-mapa-marco { display: flex; justify-content: center; }
.acs-mapa { display: block; overflow: visible; }
.acs-mapa .mapa-puntos { fill: rgba(255,255,255,.26); animation: acs-mapa-aparece 1.2s ease-out .1s both; }
.acs-mapa .mapa-linea { fill: none; stroke: rgba(255,255,255,.42); stroke-width: .35; stroke-dasharray: 1; stroke-dashoffset: 1; animation: acs-mapa-traza .9s cubic-bezier(.4,0,.2,1) both; }
.acs-mapa .mapa-nodo { fill: var(--verde-senal); transform-box: fill-box; transform-origin: center; animation: acs-mapa-nodo .4s ease-out both; }
.acs-mapa .mapa-centro { fill: var(--blanco); }
.acs-mapa .mapa-pulso { fill: none; stroke: var(--verde-senal); stroke-width: .5; transform-box: fill-box; transform-origin: center; animation: acs-mapa-pulso 2.4s ease-out .8s both; }
@keyframes acs-mapa-aparece { from { opacity: 0; } to { opacity: 1; } }
@keyframes acs-mapa-traza { to { stroke-dashoffset: 0; } }
@keyframes acs-mapa-nodo { from { opacity: 0; transform: scale(0); } to { opacity: 1; transform: scale(1); } }
@keyframes acs-mapa-pulso { from { opacity: .9; transform: scale(1); } to { opacity: 0; transform: scale(6); } }
@media (prefers-reduced-motion: reduce) { .acs-mapa .mapa-puntos, .acs-mapa .mapa-linea, .acs-mapa .mapa-nodo, .acs-mapa .mapa-pulso { animation: none; } .acs-mapa .mapa-linea { stroke-dashoffset: 0; } .acs-mapa .mapa-pulso { display: none; } }

/* Fundador */
.acs-fundador { display: flex !important; flex-wrap: wrap; align-items: center; gap: 48px; }
.acs-fundador > * { margin: 0 !important; }
.acs-fundador > figure { flex: 1 1 320px; min-width: 0; max-width: 440px; }
.acs-fundador > figure img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center top; display: block; }
.acs-fundador > .acs-pila { flex: 999 1 480px; min-width: 0; }
.acs-fundador .acs-pila p { max-width: 560px; }

/* Lista de artículos */
.acs-articulos { display: flex; flex-wrap: wrap; gap: 48px 32px; }
.acs-articulo { flex: 1 1 300px; display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.acs-articulo > * { margin: 0; }
.acs-articulo h3 { font-family: var(--serif); font-weight: 500; font-size: 24px; line-height: 31px; }
.acs-articulo h3 a { color: var(--texto); text-decoration: none; }
.acs-articulo h3 a:hover { text-decoration: underline; text-decoration-color: var(--acento); text-underline-offset: 5px; }
.acs-articulo-resumen { color: var(--texto-suave); }

/* Cierre con llamada a la acción */
.acs-cierre { display: flex !important; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 32px; }
.acs-cierre > * { margin: 0 !important; }
.acs-cierre > .acs-h2 { flex: 999 1 480px; }
.acs-cierre-accion { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.acs-cierre-accion > * { margin: 0 !important; }
.acs-cierre-accion p { font-size: 15px; line-height: 22px; color: var(--texto-suave); }
.acs-cierre-accion p a { color: var(--texto); text-underline-offset: 4px; }

/* Migas */
.acs-migas ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 0; font-size: 14px; line-height: 21px; color: var(--texto-suave); }
.acs-migas li + li::before { content: "/"; margin: 0 10px; color: var(--linea-fuerte); }
.acs-migas a { color: var(--texto-suave); text-decoration: none; }
.acs-migas a:hover { color: var(--texto); text-decoration: underline; }
.acs-migas [aria-current] { color: var(--texto); }

/* Trazabilidad: etapas de un proceso */
.acs-traza { list-style: none; margin: 0; padding: 0; position: relative; display: grid; grid-template-columns: repeat(var(--etapas, 5), minmax(0, 1fr)); gap: 0 16px; counter-reset: etapa; }
.acs-traza::before { content: ""; position: absolute; left: 0; right: 0; top: 7px; height: 2px; background: var(--acento); }
.acs-traza li { position: relative; display: flex; flex-direction: column; gap: 12px; font-size: 14px; line-height: 1.35; padding-top: 28px; }
.acs-traza li::before { content: ""; position: absolute; top: 0; left: 0; width: 16px; height: 16px; border-radius: 50%; box-sizing: border-box; border: 2px solid var(--acento); background: var(--acento); }
@media (max-width: 760px) { .acs-traza { grid-template-columns: minmax(0, 1fr); gap: 20px; padding-left: 32px; } .acs-traza::before { top: 0; bottom: 0; left: 7px; right: auto; width: 2px; height: auto; } .acs-traza li { padding-top: 0; } .acs-traza li::before { left: -32px; } }

/* Marco con esquinas */
.acs-marco { position: relative; padding: 32px; }
.acs-marco::before, .acs-marco::after { content: ""; position: absolute; width: 20px; height: 20px; border: 0 solid var(--acento); }
.acs-marco::before { top: 0; left: 0; border-top-width: 2px; border-left-width: 2px; }
.acs-marco::after { bottom: 0; right: 0; border-bottom-width: 2px; border-right-width: 2px; }

/* Placeholder de foto pendiente */
.acs-foto-pendiente img { background: var(--niebla); }

/* Utilidades de contenido largo (páginas legales y artículos) */
.acs-prosa { max-width: 760px; }
.acs-prosa h2 { font-size: clamp(28px, 3vw, 36px); margin-top: 56px; }
.acs-prosa h3 { font-size: 22px; margin-top: 32px; }
.acs-prosa p, .acs-prosa li { max-width: 68ch; }

@media (max-width: 600px) {
	.acs-servicio h3 { font-size: 24px; }
}

/* ---------- Páginas de servicio ---------- */
.acs-seccion--hero { padding-top: 32px !important; padding-bottom: clamp(64px, 8vw, 96px) !important; }
.acs-h1 { margin: 0; font-family: var(--serif); font-weight: 300; font-size: clamp(40px, 4.6vw, 64px); line-height: 1.04; letter-spacing: -0.03em; text-wrap: balance; }
.acs-hero-servicio { display: flex !important; flex-wrap: wrap; align-items: center; gap: 48px; }
.acs-hero-servicio > * { margin: 0 !important; }
.acs-hero-servicio-texto { flex: 999 1 560px; min-width: 0; display: flex !important; flex-direction: column; gap: 24px; align-items: flex-start; }
.acs-hero-servicio-texto > * { margin: 0 !important; }
.acs-hero-servicio-texto .acs-entradilla { max-width: 600px; }
.acs-hero-servicio-panel { flex: 1 1 400px; min-width: 0; align-self: stretch; background: var(--verde-recaudo); color: var(--blanco); padding: clamp(28px, 3vw, 40px); box-sizing: border-box; display: flex !important; flex-direction: column; justify-content: space-between; gap: 32px; }
.acs-hero-servicio-panel > * { margin: 0 !important; }
.acs-hero-servicio-panel .acs-cifra-valor { font-size: clamp(56px, 5vw, 72px) !important; }
.acs-hero-servicio-panel .acs-cifra-fuente { color: rgba(255,255,255,.72); }
.acs-mapa-marco.es-garantias .acs-mapa { height: clamp(280px, 28vw, 380px); width: auto; max-width: 100%; }
.acs-mapa .mapa-activo { fill: var(--verde-senal); animation: acs-mapa-aparece .5s ease-out both; }
@media (prefers-reduced-motion: reduce) { .acs-mapa .mapa-activo { animation: none; } }

.acs-dolores { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 40px 48px; margin-top: 16px !important; }
.acs-dolores > * { margin: 0 !important; }
.acs-dolor { display: flex; flex-direction: column; gap: 20px; }
.acs-dolor > * { margin: 0 !important; }
.acs-dolor .acs-icono { color: var(--acento); }
.acs-dolor-texto { font-family: var(--serif); font-weight: 300; font-size: clamp(22px, 2vw, 26px) !important; line-height: 1.25 !important; letter-spacing: -0.01em; }

.acs-tarjetas.es-tres > * { flex: 1 1 280px; }
.acs-recibe { display: flex; flex-direction: column; gap: 12px; }
.acs-recibe > * { margin: 0 !important; }
.acs-h4, h3.acs-h4 { margin: 0; font-family: var(--sans); font-size: 17px; line-height: 27px; font-weight: 600; letter-spacing: 0; }

.acs-dos-col.es-estirado { align-items: stretch; }
.acs-dos-col.es-estirado > .acs-pila { justify-content: center; }
.acs-panel-ilustracion { min-height: 360px; background: var(--verde-recaudo); display: flex !important; padding: 32px; box-sizing: border-box; }
.acs-ilustracion { width: 100%; display: flex; }
.acs-ilustracion svg { display: block; width: 100%; height: 100%; }

.acs-por-que { display: flex !important; flex-wrap: wrap; gap: 48px; }
.acs-por-que > * { margin: 0 !important; }
.acs-por-que-titulo { flex: 1 1 320px; }
.acs-por-que-titulo .acs-h2 { margin-bottom: 8px !important; }
.acs-por-que-texto { flex: 999 1 560px; min-width: 0; gap: 24px; }

.acs-faqs { display: flex; flex-direction: column; gap: 24px; }
.acs-faqs > * { margin: 0 !important; }
.acs-faqs details { border-bottom: 1px solid var(--linea); padding-bottom: 16px; }
.acs-faqs summary { font-weight: 600; cursor: pointer; }
.acs-faqs details p { margin: 12px 0 0; color: var(--texto-suave); }

/* Etapas: sin JS se ven todas; con JS, pista interactiva */
.acs-etapas { display: flex; flex-direction: column; gap: 32px; }
.acs-etapas > * { margin: 0 !important; }
.acs-etapa { background: var(--niebla); padding: clamp(28px, 4vw, 48px); box-sizing: border-box; display: flex; flex-direction: column; gap: 24px; }
.acs-etapa > * { margin: 0 !important; }
.acs-etapa[hidden] { display: none; }
.acs-etapa-num { font-size: 14px; line-height: 21px; color: var(--texto-suave); }
.acs-etapa-titulo { font-family: var(--serif); font-weight: 300 !important; font-size: clamp(30px, 3vw, 40px) !important; line-height: 1.1; letter-spacing: -0.02em; }
.acs-etapa-detalle { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px 64px; }
.acs-etapa-detalle > * { margin: 0 !important; }
.acs-etapa-rotulo { font-weight: 600; }
.acs-etapas-pista { position: relative; }
.acs-etapas-lista { position: relative; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(var(--n, 6), minmax(0, 1fr)); gap: 0 16px; }
.acs-etapas-base, .acs-etapas-avance { position: absolute; left: 8px; top: 7px; height: 2px; }
.acs-etapas-base { right: calc((100% - (var(--n, 6) - 1) * 16px) / var(--n, 6) - 8px); background: var(--linea-fuerte); }
.acs-etapas-avance { background: var(--acento); transition: width .4s ease; }
.acs-etapa-boton { width: 100%; min-height: 44px; margin: 0; padding: 0 0 8px; border: 0; background: none; font: inherit; color: var(--texto-suave); text-align: left; cursor: pointer; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.acs-etapa-boton:hover { color: var(--texto); }
.acs-etapa-boton:focus-visible { outline: 2px solid var(--acento); outline-offset: 4px; }
.acs-etapa-nodo { position: relative; width: 16px; height: 16px; box-sizing: border-box; border-radius: 50%; border: 2px solid var(--linea-fuerte); background: var(--superficie); transition: background .2s, border-color .2s; }
.acs-etapa-numero { font-family: var(--serif); font-weight: 300; font-size: 28px; line-height: 1; letter-spacing: -0.01em; }
.acs-etapa-nombre { font-size: 15px; line-height: 1.35; }
.acs-etapa-boton.es-hecha .acs-etapa-nodo { border-color: var(--acento); background: var(--acento); }
.acs-etapa-boton.es-actual { color: var(--texto); }
.acs-etapa-boton.es-actual .acs-etapa-nodo { border-color: var(--acento); background: var(--acento); outline: 2px solid var(--acento); outline-offset: 3px; }
.acs-etapa-boton.es-actual .acs-etapa-nombre { font-weight: 600; }
.acs-etapas.es-interactiva .acs-etapa-num { display: none; }
@media (max-width: 720px) {
	.acs-etapas-lista { grid-template-columns: minmax(0, 1fr); gap: 0; }
	.acs-etapas-base, .acs-etapas-avance { display: none; }
	.acs-etapa-boton { flex-direction: row; align-items: center; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--linea); }
}
@media (prefers-reduced-motion: reduce) { .acs-etapas-avance, .acs-etapa-nodo { transition: none; } }

/* ---------- Resultados ---------- */
.acs-panel-cifras { background: var(--verde-recaudo); color: var(--blanco); padding: clamp(32px, 5vw, 64px); box-sizing: border-box; display: flex !important; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 48px; --texto: var(--blanco); --texto-suave: rgba(255,255,255,.72); --acento: var(--blanco); }
.acs-panel-cifras > * { margin: 0 !important; }
.acs-panel-cifras > .acs-pila { flex: 999 1 520px; min-width: 0; gap: 40px; }
.acs-panel-cifras .acs-cifras { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.acs-panel-cifras .acs-nota { color: rgba(255,255,255,.72); font-size: 13px !important; }
.acs-q-figura { flex: 1 1 300px; max-width: 400px; margin: 0 !important; display: flex; flex-direction: column; gap: 24px; }
.acs-q-rejilla { display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); gap: 6px; }
.acs-q { display: block; aspect-ratio: 1; box-sizing: border-box; animation: acs-q-entra .35s ease-out both; }
.acs-q-ejec { border: 2px solid rgba(255,255,255,.85); }
.acs-q-pago { background: var(--verde-senal); }
.acs-q-figura figcaption { display: flex; flex-direction: column; gap: 10px; font-size: 14px; line-height: 20px; }
.acs-q-figura figcaption > span { display: flex; align-items: center; gap: 12px; }
.acs-q-muestra { display: block; flex: none; width: 14px; height: 14px; box-sizing: border-box; }
@keyframes acs-q-entra { from { opacity: 0; transform: scale(.4); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .acs-q { animation: none; } }
.acs-medida h3 { font-family: var(--serif); font-weight: 300; font-size: 28px; line-height: 1.2; }
.acs-medida .acs-icono, .acs-dolor .acs-icono, .acs-ruta .acs-icono, .acs-sector-fila .acs-icono { color: var(--acento); }
.acs-sobre-cuerpo{animation:acs-sobre-entra .8s ease-out .1s both}
.acs-sobre-v{fill:#fff;animation:acs-sobre-entra .3s ease-out both}
.acs-sobre-sello{fill:#63c99a;transform-box:fill-box;transform-origin:center;animation:acs-sobre-sello .4s ease-out both}
.acs-sobre-pulso{fill:none;stroke:#63c99a;stroke-width:1.2;transform-box:fill-box;transform-origin:center;animation:acs-sobre-pulso 1.8s ease-out both}
@keyframes acs-sobre-entra{from{opacity:0}to{opacity:1}}
@keyframes acs-sobre-sello{from{opacity:0;transform:scale(0)}to{opacity:1;transform:scale(1)}}
@keyframes acs-sobre-pulso{from{opacity:.9;transform:scale(1)}to{opacity:0;transform:scale(8)}}
@media (prefers-reduced-motion: reduce){.acs-sobre-cuerpo,.acs-sobre-v,.acs-sobre-sello,.acs-sobre-pulso{animation:none}.acs-sobre-pulso{display:none}}

/* ---------- Componentes de páginas internas ---------- */
.acs-pila.es-media { gap: 16px; }
.acs-pila.es-amplia { gap: 32px; }
.acs-pila-32 > * + * { margin-block-start: 32px !important; }
.acs-h2.es-seccion { font-size: clamp(30px, 3vw, 40px); line-height: 1.1; }
.acs-h2.es-sector { font-size: clamp(32px, 3.4vw, 46px); line-height: 1.06; }
.acs-h3.es-24 { font-size: 24px; line-height: 31px; }
.acs-h3.es-26, .acs-rasgo.es-26 { font-size: 26px !important; line-height: 1.2 !important; }
.acs-frase { font-family: var(--serif); font-weight: 300; font-size: clamp(24px, 2.4vw, 30px) !important; line-height: 1.3 !important; }
.acs-nota-15 { font-size: 15px !important; line-height: 23px !important; }
.acs-nombre { font-family: var(--serif); font-size: 26px !important; line-height: 33px !important; }
.acs-hero-simple { gap: 24px; }
.acs-seccion--hero.es-alto { padding-top: clamp(48px, 6vw, 96px) !important; }
.acs-dos-col.es-arriba { align-items: start; }
.acs-col { min-width: 0; }
.acs-enlaces-fila { display: flex !important; flex-wrap: wrap; gap: 16px 40px; }
.acs-enlaces-fila > * { margin: 0 !important; }

.acs-hero-servicio-panel.es-centrado { justify-content: center; gap: 36px; }
.acs-hero-servicio-panel .acs-icono { color: var(--blanco); }
.acs-panel-rotulo { font-weight: 600; }
.acs-panel-lista { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; font-family: var(--serif); font-weight: 300; font-size: clamp(22px, 2vw, 26px); line-height: 1.25; }
.acs-panel-lista li { padding-top: 10px; border-top: 1px solid rgba(255,255,255,.28); }
.acs-hero-sector-texto { justify-content: center; gap: 24px; }

.acs-dolores.es-cuatro { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 48px; }
.acs-ruta { align-items: flex-start; }
.acs-dolor-simple { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 32px; }
.acs-dolor-simple > * { margin: 0 !important; }

.acs-lista-check { list-style: none; margin: 0 !important; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px 48px; }
.acs-lista-check li { position: relative; padding-left: 32px; }
.acs-lista-check li::before { content: ""; position: absolute; left: 0; top: 6px; width: 16px; height: 16px; border-radius: 50%; border: 2px solid var(--acento); box-sizing: border-box; background: var(--acento); }

.acs-reportes { display: flex !important; flex-wrap: wrap; align-items: center; gap: 48px; }
.acs-reportes > * { margin: 0 !important; }
.acs-reportes > .acs-pila { flex: 999 1 480px; min-width: 0; gap: 24px; }
.acs-reportes > .acs-rep { flex: 1 1 420px; min-width: 0; }
.acs-cifra.es-mediana .acs-cifra-valor { font-size: 48px !important; }
.acs-cifra.con-linea.es-mediana .acs-cifra-valor { border-bottom-width: 2px; }

.acs-sectores > * { margin: 0 !important; }
.acs-sector-fila { display: grid !important; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px 64px; align-items: start; padding: 40px 0; border-top: 1px solid var(--linea); }
.acs-sector-fila:first-child { border-top: 0; }
.acs-sector-fila > * { margin: 0 !important; }

.acs-tarjetas.es-cajas { align-items: stretch; gap: 32px; }
.acs-caja { background: var(--blanco); padding: 32px; box-sizing: border-box; display: flex; flex-direction: column; gap: 12px; }
.acs-caja > * { margin: 0 !important; }
.acs-cifras.es-dos { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
.es-oscuro .acs-cifra-desc { color: var(--texto-suave); }
.acs-funciones { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 32px; font-size: 15px; line-height: 22px; }
.acs-funciones > * { margin: 0 !important; }
.acs-funcion { display: flex; gap: 12px; align-items: flex-start; }
.acs-funcion > * { margin: 0 !important; }
@media (max-width: 600px) { .acs-funciones, .acs-cifras.es-dos { grid-template-columns: minmax(0, 1fr); } }

.acs-seguridad { display: flex !important; flex-wrap: wrap; align-items: center; gap: 48px; }
.acs-seguridad > * { margin: 0 !important; }
.acs-seguridad-texto { flex: 999 1 480px; min-width: 0; gap: 24px; }
.acs-seguridad-foto { flex: 1 1 360px; gap: 16px; }
.acs-foto-169 img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.acs-foto-ancha img { display: block; width: 100%; aspect-ratio: 960 / 411; object-fit: cover; }
figure.wp-block-image { margin: 0; }

.acs-rasgos { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 40px 48px; }
.acs-rasgos > * { margin: 0 !important; }
.acs-rasgo { margin: 0; font-family: var(--serif); font-weight: 300 !important; font-size: clamp(32px, 3vw, 44px) !important; line-height: 1.05 !important; letter-spacing: -0.02em; }

.acs-fundador.es-360 > figure { max-width: 360px; }
.acs-fundador.es-perfil { align-items: flex-end; }
.acs-fundador.es-perfil > figure { max-width: 420px; }
.acs-h1.es-perfil { font-size: clamp(44px, 5.4vw, 76px); }
.acs-seccion.es-angosta { padding-top: clamp(48px, 6vw, 72px) !important; padding-bottom: clamp(48px, 6vw, 72px) !important; }
.acs-cifras .acs-cifra-valor { white-space: nowrap; }

.acs-personas { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 48px; }
.acs-personas > * { margin: 0 !important; }
.acs-persona { gap: 12px; }
.acs-foto-persona img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.acs-foto-texto { display: flex !important; flex-wrap: wrap; align-items: center; gap: 48px; }
.acs-foto-texto > * { margin: 0 !important; }
.acs-col-foto { flex: 1 1 520px; min-width: 0; }
.acs-col-texto { flex: 1 1 320px; }

.acs-hitos { display: flex; flex-direction: column; gap: 40px; }
.acs-hitos > * { margin: 0 !important; }
.acs-hito { display: grid !important; grid-template-columns: 200px minmax(0, 1fr); gap: 8px 48px; padding-top: 24px; border-top: 1px solid var(--linea-fuerte); }
.acs-hito > * { margin: 0 !important; }
.acs-hito-anos { font-family: var(--serif); font-weight: 300; font-size: 24px !important; line-height: 1.2 !important; }
.acs-hito-titulo { font-family: var(--sans) !important; font-size: 17px !important; font-weight: 600 !important; line-height: 27px !important; }
@media (max-width: 700px) { .acs-hito { grid-template-columns: minmax(0, 1fr); } }
.acs-formacion { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 32px 48px; }
.acs-formacion > * { margin: 0 !important; }
.acs-formacion-titulo { font-family: var(--serif); font-weight: 300; font-size: 28px !important; line-height: 1.2 !important; }

/* Recursos */
.acs-filtros { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; }
.acs-filtro { display: inline-block; padding: 8px 16px; border: 1px solid var(--linea-fuerte); font-size: 15px; line-height: 20px; color: var(--tinta); text-decoration: none; }
.acs-filtro:hover { border-color: var(--tinta); color: var(--tinta); }
.acs-filtro.es-activo { background: var(--tinta); border-color: var(--tinta); color: var(--blanco); }
.acs-articulos-lista .acs-articulos { display: flex; flex-direction: column; gap: 0; }
.acs-articulo-fila { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 12px 64px; align-items: start; padding: 28px 0; border-top: 1px solid var(--linea); }
.acs-articulo-fila > .acs-pila > * { margin: 0; }
.acs-articulo-fila h3 { margin: 0; font-family: var(--serif); font-weight: 300; font-size: clamp(26px, 2.4vw, 32px); line-height: 1.2; letter-spacing: -0.01em; }
.acs-articulo-fila h3 a { color: var(--texto); text-decoration: none; }
.acs-articulo-fila h3 a:hover { text-decoration: underline; text-decoration-color: var(--acento); text-underline-offset: 5px; }
.acs-articulo-meta { font-size: 14px; color: var(--texto-suave); }
.acs-paginas { margin-top: 32px; display: flex; gap: 16px; }
.acs-panel-calculadora { position: relative; overflow: hidden; background: var(--verde-recaudo); color: var(--blanco); padding: clamp(32px, 5vw, 56px); box-sizing: border-box; --texto: var(--blanco); --acento: var(--blanco); }
.acs-panel-calculadora > * { margin: 0 !important; max-width: 560px; position: relative; }
.acs-panel-calculadora::after { content: "%"; position: absolute; right: clamp(24px, 6vw, 96px); top: 50%; transform: translateY(-50%); font-family: var(--serif); font-weight: 200; font-size: clamp(160px, 18vw, 260px); line-height: 1; color: rgba(255,255,255,.16); pointer-events: none; }
@media (max-width: 700px) { .acs-panel-calculadora::after { display: none; } }

/* Calculadora */
.acs-calc { display: flex; flex-wrap: wrap; align-items: stretch; gap: 32px; }
.acs-calc-form { flex: 999 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 20px; padding: clamp(24px, 3vw, 40px); box-sizing: border-box; background: var(--niebla); }
.acs-calc-resultado { flex: 1 1 360px; min-width: 0; background: var(--verde-recaudo); color: var(--blanco); padding: clamp(24px, 3vw, 40px); box-sizing: border-box; display: flex; flex-direction: column; justify-content: space-between; gap: 32px; }
.acs-calc-resultado p { margin: 0; }
.acs-calc-interes { font-family: var(--serif); font-weight: 300; font-size: clamp(40px, 4.4vw, 60px); line-height: 1; letter-spacing: -0.02em; }
.acs-calc-resultado dl { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 24px; }
.acs-calc-resultado dt { font-size: 14px; color: rgba(255,255,255,.75); }
.acs-calc-resultado dd { margin: 4px 0 0; }
.acs-calc-aviso { font-size: 14px; line-height: 21px; }

/* Formularios */
.acs-campo { display: flex; flex-direction: column; gap: 6px; font-size: 15px; font-weight: 500; }
.acs-campos-fila > .acs-campo { flex: 1 1 260px; }
.acs-campo small { font-size: 13px; font-weight: 400; color: var(--texto-suave); }
.acs-campo input, .acs-campo select, .acs-campo textarea { font: inherit; font-weight: 400; font-size: 16px; padding: 12px 14px; border: 1px solid var(--linea-fuerte); border-radius: 0; background: var(--blanco); color: var(--tinta); width: 100%; box-sizing: border-box; }
.acs-campo textarea { resize: vertical; }
.acs-campo input:focus, .acs-campo select:focus, .acs-campo textarea:focus { outline: 2px solid var(--verde-recaudo); outline-offset: 2px; }
.acs-campos-fila { display: flex; flex-wrap: wrap; gap: 20px; }
.acs-form { display: flex; flex-direction: column; gap: 20px; }
.acs-form-trampa { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.acs-check { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; line-height: 23px; }
.acs-check input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--verde-recaudo); flex: none; }
.acs-form button.wp-element-button { border: 0; cursor: pointer; font-family: var(--sans); font-size: 16px; font-weight: 600; padding: 14px 24px; background: var(--verde-recaudo); color: var(--blanco); }
.acs-form button.wp-element-button:hover { background: var(--tinta); }
.acs-form-error { margin: 0; padding: 12px 16px; background: rgba(158,123,83,.14); border-left: 3px solid var(--bronce); font-size: 15px; }
.acs-form-layout { display: flex !important; flex-wrap: wrap; align-items: flex-start; gap: 64px; }
.acs-form-layout > * { margin: 0 !important; }
.acs-form-col { flex: 999 1 560px; min-width: 0; max-width: 720px; }
.acs-aside { flex: 1 1 280px; background: var(--niebla); padding: 32px; box-sizing: border-box; display: flex !important; flex-direction: column; gap: 24px; }
.es-niebla .acs-aside { background: var(--blanco); }
.acs-aside > * { margin: 0 !important; }
.acs-aside-pie { padding-top: 24px; border-top: 1px solid var(--linea-fuerte); }
.acs-aside-pie a { color: var(--tinta); text-decoration: none; }
.acs-datos { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 32px 48px; align-content: center; }
.acs-datos > * { margin: 0 !important; }
.acs-correo-grande { font-family: var(--serif); font-weight: 300; font-size: clamp(20px, 1.9vw, 26px); line-height: 1.2; color: var(--tinta) !important; text-decoration: none; overflow-wrap: anywhere; }
.acs-panel-ilustracion.es-centrado { align-items: center; justify-content: center; padding: 40px; }
.acs-ilustracion.es-sobre svg { height: clamp(260px, 24vw, 340px); width: auto; max-width: 100%; overflow: visible; }
.acs-traza.es-inicio li:not(:first-child)::before { background: var(--blanco); border-color: var(--linea-fuerte); }
.acs-traza.es-inicio::before { background: linear-gradient(90deg, var(--acento) 0 12%, var(--linea-fuerte) 12%); }
.acs-traza { --etapas: 4; max-width: 760px; }

/* Páginas legales y artículos */
.acs-legal > * + * { margin-block-start: 20px; }
.acs-legal h1 { margin-block-start: 32px; }
.acs-legal h2 { margin-block-start: 48px; font-size: clamp(26px, 2.6vw, 32px); }
.acs-mapa-sitio ul { margin: 0; padding-left: 20px; }
.acs-mapa-sitio > ul, .acs-mapa-sitio .rank-math-html-sitemap > div > ul, .acs-mapa-sitio .rank-math-html-sitemap__list { padding-left: 20px; }
.acs-mapa-sitio li { margin: 6px 0; }
.acs-mapa-sitio .rank-math-html-sitemap__section--page .rank-math-html-sitemap__title { display: none; }
.acs-mapa-sitio h2, .acs-mapa-sitio .rank-math-html-sitemap__title { font-family: var(--serif); font-weight: 400; font-size: 26px; line-height: 1.2; margin: 32px 0 12px; }
.acs-404 { padding-top: clamp(64px, 8vw, 120px) !important; padding-bottom: clamp(64px, 8vw, 120px) !important; position: relative; overflow: hidden; }
.acs-404::after { content: "404"; position: absolute; right: max(var(--margen), calc((100% - 1216px) / 2)); top: 50%; transform: translateY(-50%); font-family: var(--serif); font-weight: 200; font-size: clamp(140px, 18vw, 280px); line-height: 1; letter-spacing: -0.04em; color: rgba(255,255,255,.14); pointer-events: none; }
.acs-404-texto { max-width: 640px; gap: 24px; position: relative; z-index: 1; }
.acs-articulo-completo > * + * { margin-block-start: 24px; }
.acs-articulo-meta.wp-block-group { gap: 16px; font-size: 14px; }

/* Las secciones a todo el ancho van pegadas, sin el espacio entre bloques. */
.wp-block-post-content > .alignfull { margin-block-start: 0 !important; margin-block-end: 0 !important; }
.acs-lista-check.es-una { grid-template-columns: minmax(0, 1fr); align-self: center; }

.acs-hero-simple > * { max-width: 880px; }
.acs-seccion .acs-prosa:not(.acs-legal) { max-width: var(--ancho) !important; }
.acs-seccion .acs-prosa:not(.acs-legal) > * { max-width: 760px; }
.acs-pila > .acs-cifras, .acs-pila > .acs-funciones, .acs-pila > .acs-lista-check { align-self: stretch; }
.acs-articulo-cuerpo > * + * { margin-block-start: 20px; }
.acs-articulo-cuerpo h2 { margin-block-start: 48px; font-size: clamp(28px, 3vw, 36px); }
.acs-articulo-cuerpo h3 { margin-block-start: 32px; font-size: 22px; }
.acs-ilustracion .mapa-activo { fill: var(--verde-senal); animation: acs-mapa-aparece .5s ease-out both; }
@media (prefers-reduced-motion: reduce) { .acs-ilustracion .mapa-activo { animation: none; } }

/* Contacto: datos anchos y panel con el sobre */
.acs-contacto-datos { display: flex !important; flex-wrap: wrap; align-items: center; gap: 48px; }
.acs-contacto-datos > * { margin: 0 !important; }
.acs-contacto-datos > .acs-datos { flex: 999 1 520px; min-width: 0; }
.acs-contacto-datos > .acs-panel-ilustracion { flex: 1 1 360px; min-width: 0; align-self: stretch; min-height: 0; }

/* Simetría: tarjetas en rejilla para que no quede una sola en la última fila */
.acs-tarjetas { display: grid !important; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 48px 32px; }
.acs-tarjetas.es-cajas { gap: 32px; }
.acs-pie-columnas { display: grid; grid-template-columns: minmax(240px, 1.4fr) repeat(4, minmax(0, 1fr)); gap: 48px 32px; }
@media (max-width: 1100px) { .acs-pie-columnas { grid-template-columns: repeat(4, minmax(0, 1fr)); } .acs-pie-marca { grid-column: 1 / -1; } }
@media (max-width: 640px) { .acs-pie-columnas { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.acs-cifras > * { margin: 0 !important; }
/* Contacto (también para páginas creadas con la versión 1.0.0) */
.acs-dos-col:has(> .acs-datos) { display: flex !important; flex-wrap: wrap; align-items: center; gap: 48px; }
.acs-dos-col:has(> .acs-datos) > .acs-datos { flex: 999 1 520px; min-width: 0; }
.acs-dos-col:has(> .acs-datos) > .acs-panel-ilustracion { flex: 1 1 360px; min-width: 0; align-self: stretch; }

/* Editor: los bloques dinámicos llegan envueltos en dos divs extra; que la ilustración y el mapa llenen su panel igual que en el sitio. */
.wp-block-acs-ilustracion:not(.acs-ilustracion), .wp-block-acs-mapa.wp-block { flex: 1 1 auto; display: flex; width: 100%; max-width: none; margin: 0 !important; }
.wp-block-acs-ilustracion:not(.acs-ilustracion) > .components-disabled, .wp-block-acs-ilustracion:not(.acs-ilustracion) > .components-disabled > div,
.wp-block-acs-mapa.wp-block > .components-disabled, .wp-block-acs-mapa.wp-block > .components-disabled > div { display: contents; }

/* AURA en Cómo trabajamos: cifras al tamaño del mockup. */
.acs-cifras.es-dos .acs-cifra-valor { font-size: clamp(44px, 4.4vw, 64px) !important; }

/* Aviso de cookies: arriba y dentro del flujo, empuja la página en lugar de taparla. */
.acs-cookies { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 32px; padding: 14px max(var(--margen), calc((100vw - 1216px) / 2)); background: var(--niebla); color: var(--tinta); font-family: var(--sans); font-size: 15px; line-height: 22px; }
.acs-cookies p { margin: 0; flex: 1 1 420px; }
.acs-cookies a { color: var(--verde-recaudo); }
.acs-cookies-botones { display: flex; gap: 8px; }
.acs-cookies-boton { min-height: 44px; padding: 10px 20px; border: 1px solid var(--tinta); background: transparent; color: var(--tinta); font: inherit; font-weight: 500; cursor: pointer; }
.acs-cookies-boton.es-principal { background: var(--verde-recaudo); border-color: var(--verde-recaudo); color: #fff; }
.acs-cookies-boton:hover { background: var(--tinta); border-color: var(--tinta); color: #fff; }
.acs-cookies-boton:focus-visible { outline: 2px solid var(--verde-recaudo); outline-offset: 2px; }
.acs-cookies-decidido .acs-cookies { display: none; }
@media (max-width: 640px) { .acs-cookies { font-size: 14px; line-height: 20px; } .acs-cookies-botones { width: 100%; } .acs-cookies-boton { flex: 1; } }

/* Inicio: el menú de escritorio va siempre dentro del panel verde, con 80 px de aire antes de "Firma".
   El panel mide el margen lateral + el ancho del menú (447 px) + 80 px. Si se agrega un ítem al menú, sube 528px. */
@media (min-width: 1200px) { .acs-hero-mapa { flex: 0 0 calc(max(var(--margen), (100vw - 1216px) / 2) + 528px); } }
/* Entre 960 y 1199 px no caben lado a lado sin pisar el menú: el mapa pasa abajo, como en móvil. */
@media (max-width: 1199px) { .acs-hero-texto { flex-basis: 100%; min-height: clamp(480px, 60vw, 640px); } .acs-hero-mapa { flex-basis: 100%; padding-top: 40px; } .acs-hero-mapa .acs-mapa { height: clamp(320px, 44vw, 480px); } }
