/*
Theme Name:   Electrocertifica
Theme URI:    https://www.electrocertifica.cl
Description:  Tema hijo de Astra para Electrocertifica — ensayos y mediciones eléctricas en Chile. Sistema de diseño sobrio, optimizado para Core Web Vitals y SEO, con el grafo JSON-LD del sitio.
Author:       Actitec SpA
Template:     astra
Version: 2.97.0
Text Domain:  electrocertifica
*/

/* ==========================================================================
   Variables del sistema de diseño (fuente única: marca/guia-estilo.md)
   ========================================================================== */
:root {
  --color-primario: #091482;
  --color-primario-oscuro: #07105F;
  --color-acento: #2DA82C;
  --color-texto: #1C2431;
  --color-texto-sec: #646668;
  --color-fondo: #FFFFFF;
  --color-fondo-alt: #F4F6F8;
  --color-borde: #DDE3EA;
  --color-exito: #2DA82C;
  --color-alerta: #C62828;
  --fuente-base: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --radio: 8px;
  --sombra: 0 1px 3px rgba(16,24,40,.08), 0 1px 2px rgba(16,24,40,.06);
  --ancho-max: 1120px;
}

/* ==========================================================================
   Base
   ========================================================================== */
body { font-family: var(--fuente-base); color: var(--color-texto); }
h1,h2,h3 { color: var(--color-primario); line-height: 1.25; }
a { color: var(--color-primario); }
a:hover { color: var(--color-primario-oscuro); }

.ec-contenedor { max-width: var(--ancho-max); margin-inline: auto; padding-inline: 20px; }
.ec-seccion { padding-block: 56px; }
.ec-seccion--alt { background: var(--color-fondo-alt); }

/* ==========================================================================
   Botones / CTA
   ========================================================================== */
.ec-btn {
  display: inline-block; font-weight: 600; text-decoration: none;
  padding: 12px 22px; border-radius: var(--radio); line-height: 1.2;
  transition: background-color .15s ease, transform .05s ease;
}
.ec-btn:active { transform: translateY(1px); }
.ec-btn--primario { background: var(--color-primario); color: #fff; }
.ec-btn--primario:hover { background: var(--color-primario-oscuro); color:#fff; }
/* Acción: verde oscuro con texto BLANCO (5,4:1, AA) — máximo 1-2 por pantalla */
.ec-btn--accion { background: var(--color-acento); color: #fff; }
.ec-btn--accion:hover { background: #195F18; color: #fff; }
/* WhatsApp: verde de marca con texto OSCURO (7,9:1; con blanco daba 2,0:1) */
.ec-btn--wa { background: #25D366; color: var(--color-texto); }
.ec-btn--wa:hover { background:#1da851; color: var(--color-texto); }
/* Fantasma: para el CTA secundario sobre el azul del hero, sin robarle jerarquía al verde de acción */
.ec-btn--fantasma { background: transparent; color:#fff; box-shadow: inset 0 0 0 2px rgba(255,255,255,.7); }
.ec-btn--fantasma:hover { background: rgba(255,255,255,.12); color:#fff; }
.ec-btn:focus-visible { outline: 3px solid var(--color-acento); outline-offset: 2px; }
/* Sobre azul oscuro el verde de acción no se ve (2,7:1): el foco pasa a blanco */
.ec-hero .ec-btn:focus-visible,
.ec-cta-final .ec-btn:focus-visible,
.ec-hero a:focus-visible,
.ec-cta-final a:focus-visible { outline-color: #fff; }

/* ==========================================================================
   Hero
   ========================================================================== */
.ec-hero { background: var(--color-primario); color:#fff; padding-block: 64px; }
.ec-hero h1 { color:#fff; font-size: 2.1rem; margin-bottom: 12px; }
.ec-hero p { color:#e8eef5; font-size: 1.15rem; max-width: 62ch; }
.ec-hero .ec-btns { margin-top: 24px; display:flex; gap:12px; flex-wrap:wrap; }

/* ==========================================================================
   Migas de navegación
   ========================================================================== */
.ec-migas { font-size:.875rem; color: var(--color-texto-sec); margin-bottom:20px; }
.ec-migas a { text-decoration:none; }
.ec-migas a:hover { text-decoration:underline; }
.ec-migas__sep { color: var(--color-borde); margin-inline:4px; }

/* ==========================================================================
   Accesos directos por problema — el enrutador de la home
   El problema del cliente manda tipográficamente; el nombre del ensayo va debajo.
   ========================================================================== */
.ec-accesos-bloque { padding-block: 48px; }
.ec-accesos__titulo { text-align:center; margin-bottom:32px; }
.ec-accesos { display:grid; gap:16px; grid-template-columns: repeat(auto-fit, minmax(260px,1fr)); }
.ec-accesos[data-columnas="4"] { grid-template-columns: repeat(auto-fit, minmax(220px,1fr)); }
.ec-accesos[data-columnas="2"] { grid-template-columns: repeat(auto-fit, minmax(320px,1fr)); }
.ec-acceso-envoltura { display:flex; flex-direction:column; }
.ec-acceso-envoltura .ec-acceso { flex:1; }
.ec-acceso {
  display:flex; flex-direction:column; gap:6px; text-decoration:none;
  background:#fff; border:1px solid var(--color-borde); border-left:4px solid var(--color-primario);
  border-radius: var(--radio); padding:20px; box-shadow: var(--sombra);
  transition: border-left-color .15s ease, transform .05s ease, box-shadow .15s ease;
}
.ec-acceso:hover { border-left-color: var(--color-acento); box-shadow:0 4px 12px rgba(16,24,40,.10); }
.ec-acceso:active { transform: translateY(1px); }
.ec-acceso:focus-visible { outline:3px solid var(--color-acento); outline-offset:2px; }
.ec-acceso__problema { font-weight:700; font-size:1.05rem; color: var(--color-primario); line-height:1.3; }
.ec-acceso__texto { color: var(--color-texto-sec); font-size:.95rem; }
/* El nombre técnico es referencia, no titular: va último, pequeño y en mayúsculas */
.ec-acceso__servicio {
  margin-top:auto; padding-top:10px; font-size:.75rem; letter-spacing:.04em;
  text-transform:uppercase; color: var(--color-texto-sec);
}
/* Avería: el teléfono cuelga de la tarjeta, no dentro del enlace — dos destinos distintos */
.ec-acceso--urgente { border-left-color: var(--color-alerta); border-bottom-left-radius:0; border-bottom-right-radius:0; }
.ec-acceso--urgente:hover { border-left-color: var(--color-alerta); }
.ec-acceso__tel {
  display:block; text-align:center; text-decoration:none; font-weight:700; font-size:.9rem;
  background: var(--color-alerta); color:#fff; padding:12px;
  border-radius:0 0 var(--radio) var(--radio);
}
.ec-acceso__tel:hover { background:#a71d1d; color:#fff; }
.ec-acceso__tel:focus-visible { outline:3px solid var(--color-acento); outline-offset:2px; }

/* ==========================================================================
   Franja de credenciales — hechos verificables, sin adjetivos
   ========================================================================== */
.ec-credenciales {
  display:grid; gap:20px; grid-template-columns: repeat(auto-fit, minmax(240px,1fr));
  background: var(--color-fondo-alt); border:1px solid var(--color-borde);
  border-radius: var(--radio); padding:24px; margin-block:32px;
}
.ec-credenciales__item { margin:0; display:flex; flex-direction:column; gap:2px; }
.ec-credenciales__item strong { color: var(--color-primario); font-size:1rem; line-height:1.35; }
.ec-credenciales__item span { color: var(--color-texto-sec); font-size:.9rem; }

/* ==========================================================================
   Cita normativa
   ========================================================================== */
.ec-norma {
  border-left:4px solid var(--color-acento); background: var(--color-fondo-alt);
  padding:16px 20px; border-radius:0 var(--radio) var(--radio) 0; margin-block:24px;
}
.ec-norma__ref {
  display:block; font-size:.75rem; letter-spacing:.04em; text-transform:uppercase;
  font-weight:700; color: var(--color-texto-sec); margin-bottom:6px;
}
.ec-norma__cuerpo p:last-child { margin-bottom:0; }

/* ==========================================================================
   Tarjetas de certificación
   ========================================================================== */
.ec-cards { display:grid; grid-template-columns: repeat(auto-fit, minmax(240px,1fr)); gap:20px; }
.ec-card {
  background:#fff; border:1px solid var(--color-borde); border-radius: var(--radio);
  padding:24px; box-shadow: var(--sombra); display:flex; flex-direction:column;
}
.ec-card__icono { width:44px; height:44px; color: var(--color-primario); margin-bottom:12px; }
.ec-card h3 { margin:0 0 8px; font-size:1.15rem; }
.ec-card p { color: var(--color-texto-sec); margin:0 0 16px; flex:1; }
.ec-card a.ec-card__link { font-weight:600; text-decoration:none; }

/* ==========================================================================
   Proceso (pasos)
   ========================================================================== */
.ec-proceso { display:grid; grid-template-columns: repeat(auto-fit, minmax(200px,1fr)); gap:24px; counter-reset: paso; }
.ec-paso { position:relative; padding-left:52px; }
.ec-paso::before {
  counter-increment: paso; content: counter(paso);
  position:absolute; left:0; top:0; width:36px; height:36px; border-radius:50%;
  background: var(--color-primario); color:#fff; font-weight:700;
  display:flex; align-items:center; justify-content:center;
}
.ec-paso h3 { font-size:1.05rem; margin:0 0 6px; }
.ec-paso p { color: var(--color-texto-sec); margin:0; }

/* ==========================================================================
   FAQ (acordeón accesible con <details>)
   ========================================================================== */
.ec-faq details {
  border:1px solid var(--color-borde); border-radius: var(--radio);
  margin-bottom:12px; background:#fff;
}
.ec-faq summary {
  cursor:pointer; padding:16px 20px; font-weight:600; color: var(--color-primario);
  list-style:none;
}
.ec-faq summary::-webkit-details-marker { display:none; }
.ec-faq summary::after { content:"+"; float:right; font-size:1.3rem; line-height:1; }
.ec-faq details[open] summary::after { content:"–"; }
.ec-faq details > div { padding: 0 20px 16px; color: var(--color-texto); }

/* ==========================================================================
   Bloque de contacto / CTA final
   ========================================================================== */
.ec-cta-final { background: var(--color-primario-oscuro); color:#fff; text-align:center; border-radius: var(--radio); padding:40px 24px; }
.ec-cta-final h2 { color:#fff; }
.ec-cta-final .ec-btns { margin-top:20px; display:flex; gap:12px; justify-content:center; flex-wrap:wrap; }
.ec-cta-final__pie { margin-top:18px; margin-bottom:0; font-size:.9rem; color:#c9d7e5; }
.ec-cta-final__pie a { color:#fff; }

/* Botón flotante de WhatsApp (móvil-first) */
.ec-wa-flotante {
  position:fixed; right:16px; bottom:16px; z-index:999;
  background:#25D366; color: var(--color-texto); width:56px; height:56px; border-radius:50%;
  display:flex; align-items:center; justify-content:center; box-shadow: var(--sombra);
}
.ec-wa-flotante:hover { background:#1da851; color: var(--color-texto); }
/* Flota sobre cualquier fondo: anillo azul con halo blanco para que se vea en claro y en oscuro */
.ec-wa-flotante:focus-visible { outline: 3px solid var(--color-primario); outline-offset: 3px; box-shadow: 0 0 0 3px #fff; }

@media (max-width:600px){
  .ec-hero h1 { font-size:1.7rem; }
  .ec-seccion { padding-block:40px; }
}

/* ==========================================================================
   Correo ofuscado — el enlace lo inserta JS, así que el hueco no debe saltar
   ========================================================================== */
.ec-correo { display:inline; }
.ec-correo--claro a { color:#fff; }

/* Electrocertifica 2.1.0 — mejora visual de la Home */
:root { --radio: 12px; --ancho-max: 1200px; }
.ec-hero { padding: clamp(72px, 10vw, 144px) 0; background: linear-gradient(110deg,rgba(7,16,95,.96),rgba(9,20,130,.78)), var(--ec-hero-image, none), #091482; background-size:cover; background-position:center; }
.ec-hero .ec-contenedor { max-width:1200px; }
.ec-hero h1 { font-size:clamp(2.2rem,5vw,3.75rem); max-width:16ch; line-height:1.08; letter-spacing:-.035em; }
.ec-hero p { max-width:62ch; font-size:clamp(1rem,1.7vw,1.25rem); line-height:1.65; }
.ec-hero .ec-btns { margin-top:32px; }
.ec-btn { padding:15px 24px; border-radius:8px; }
.ec-accesos-bloque { padding-block:32px 48px; }
.ec-accesos { gap:18px; }
.ec-acceso { padding:24px; border-radius:12px; box-shadow:0 6px 24px rgba(9,20,130,.06); }
.ec-acceso__problema { font-size:1.1rem; }
.ec-home-section { padding:clamp(44px,6vw,88px) 0; }
.ec-home-section--muted { background:#f4f6f8; }
.ec-home-section__intro { max-width:750px; margin-bottom:32px; }
.ec-home-section__intro h2 { font-size:clamp(1.75rem,3.2vw,2.6rem); letter-spacing:-.025em; }
.ec-service-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:20px; }
.ec-service-card { display:flex; flex-direction:column; overflow:hidden; min-height:220px; background:#fff; border:1px solid #dde3ea; border-radius:14px; padding:26px; text-decoration:none; box-shadow:0 6px 24px rgba(9,20,130,.06); }
.ec-service-card:hover { border-color:#2da82c; transform:translateY(-2px); }
.ec-service-card__number { color:#2da82c; font-weight:800; font-size:.85rem; margin-bottom:26px; }
.ec-service-card__title { color:#091482; font-size:1.22rem; font-weight:750; line-height:1.3; }
.ec-service-card__link { color:#091482; margin-top:auto; padding-top:22px; font-weight:650; }
.ec-deliverables { display:grid; grid-template-columns:1fr 1fr; gap:30px; align-items:start; }
.ec-deliverables__panel { padding:28px; background:#f4f6f8; border:1px solid #dde3ea; border-radius:14px; }
.ec-deliverables__panel li { margin-bottom:10px; }
.ec-home-legal { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:20px; }
.ec-home-legal > li { padding:24px; border:1px solid #dde3ea; border-radius:12px; background:white; }
.ec-home-legal > li::marker { color:#2da82c; }
.ec-coverage { padding:32px; background:linear-gradient(110deg,#091482,#07105f); border-radius:16px; color:white; }
.ec-coverage h2,.ec-coverage a { color:white; }
@media(max-width:900px){ .ec-service-grid,.ec-home-legal {grid-template-columns:repeat(2,minmax(0,1fr));} }
@media(max-width:620px){ .ec-service-grid,.ec-home-legal,.ec-deliverables {grid-template-columns:1fr;} .ec-hero {padding:72px 0;} .ec-hero h1 {font-size:2.2rem;} }
@media(prefers-reduced-motion:reduce){ .ec-service-card,.ec-btn {transition:none!important;} }


/* 2.2.0 — Portada editorial y fotografías configurables. */
.home .ec-hero { position:relative; min-height:clamp(430px,45vw,560px); display:flex; align-items:center; background-image:linear-gradient(100deg,rgba(7,16,95,.98) 0%,rgba(9,20,130,.91) 42%,rgba(9,20,130,.3) 100%),var(--ec-hero-image,linear-gradient(135deg,#07105f,#1839a6)); background-size:cover; background-position:center; border-radius:16px; overflow:hidden; }
.home .ec-hero .ec-contenedor { width:100%; }
.home .ec-hero__copy { max-width:670px; }
.home .ec-hero__heading { color:#fff; font-size:clamp(2.2rem,4.5vw,3.7rem); max-width:19ch; line-height:1.09; letter-spacing:-.035em; margin:0 0 22px; }
.home .ec-hero p { color:#f2f5ff; }
.home .ec-hero .ec-btn--accion { background:#2da82c; color:#fff; }
.home .ec-service-card { padding:0; min-height:300px; }
.home .ec-service-card__visual { position:relative; display:block; height:155px; overflow:hidden; background:linear-gradient(130deg,#091482,#4a6fb3); }
.home .ec-service-card__visual--2 { background:linear-gradient(130deg,#07105f,#23788c); }
.home .ec-service-card__visual--3 { background:linear-gradient(130deg,#091482,#6374a9); }
.home .ec-service-card__visual--4 { background:linear-gradient(130deg,#0b3c70,#368a9c); }
.home .ec-service-card__visual--5 { background:linear-gradient(130deg,#0b475d,#2da82c); }
.home .ec-service-card__visual--6 { background:linear-gradient(130deg,#091482,#4a5dc0); }
.home .ec-service-card__visual::after { content:''; position:absolute; inset:0; background:linear-gradient(0deg,rgba(4,13,54,.3),transparent 65%); pointer-events:none; }
.home .ec-service-card__photo { display:block; width:100%; height:100%; object-fit:cover; transition:transform .25s ease; }
.home .ec-service-card:hover .ec-service-card__photo { transform:scale(1.035); }
.home .ec-service-card__number { position:absolute; top:16px; left:18px; z-index:1; color:#fff; background:rgba(9,20,130,.85); padding:5px 9px; border-radius:5px; margin:0; }
.home .ec-service-card__body { padding:24px; flex:1; display:flex; flex-direction:column; }
.home .ec-service-card__link { color:#091482; text-decoration:none; }
.home .ec-service-card:focus-visible { outline:3px solid #2da82c; outline-offset:3px; }
@media(max-width:620px) { .home .ec-hero { min-height:410px; background-position:60% center; } .home .ec-hero__heading { font-size:clamp(2rem,8vw,2.6rem); } }
@media(prefers-reduced-motion:reduce) { .home .ec-service-card__photo { transition:none; } }


/* v2.3.0 — Portada corporativa y enrutador editorial */
.ec-router-intro{max-width:760px;margin:0 auto 28px;text-align:center;padding:12px 16px}
.ec-router-intro h2{font-size:clamp(1.9rem,3.2vw,2.7rem);line-height:1.2;color:#091482;margin-bottom:12px}
.ec-router-group{margin:32px 0 56px}
.ec-router-group__heading{display:flex;align-items:center;gap:14px;margin:0 0 18px}
.ec-router-group__heading span{background:#edf1fb;color:#091482;border-radius:40px;padding:7px 12px;font-size:.78rem;font-weight:800;white-space:nowrap}
.ec-router-group__heading h3{font-size:clamp(1.25rem,2vw,1.6rem);margin:0;color:#091482}
.ec-router-group__desc{color:#646668;margin:-5px 0 20px}
.ec-router-group .ec-accesos-bloque{padding:0}
.ec-router-group .ec-accesos{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:18px}
.ec-router-group .ec-acceso-envoltura{grid-column:span 2;min-width:0}
.ec-router-group--five .ec-acceso-envoltura:nth-last-child(2){grid-column:2 / span 2}
.ec-router-group--five .ec-acceso-envoltura:last-child{grid-column:4 / span 2}
.ec-router-group .ec-acceso{padding:0;display:flex;flex-direction:column;overflow:hidden;border:1px solid #dce3ed;border-radius:14px;background:#fff;text-decoration:none;box-shadow:0 8px 28px rgba(9,20,130,.06);transition:transform .18s,box-shadow .18s}
.ec-router-group .ec-acceso:hover{transform:translateY(-4px);box-shadow:0 14px 36px rgba(9,20,130,.12)}
.ec-router-group .ec-acceso__visual{display:block;width:100%;height:150px;overflow:hidden;background:#e9eef6}
.ec-router-group .ec-acceso__visual img{width:100%;height:100%;object-fit:cover;display:block}
.ec-router-group .ec-acceso__problema{font-size:1.12rem;padding:18px 20px 0;text-decoration:none;color:#091482}
.ec-router-group .ec-acceso__texto{padding:10px 20px 0;line-height:1.55;color:#566172;flex:1}
.ec-router-group .ec-acceso__servicio{margin:18px 20px 20px;border-top:1px solid #e6eaf0;padding-top:13px;text-decoration:none;font-size:.79rem;letter-spacing:.025em;font-weight:800;color:#091482}
.ec-router-group .ec-acceso__servicio:after{content:' →'}
.ec-router-group .ec-acceso__tel{border-radius:0 0 14px 14px;padding:12px;text-align:center}
.ec-corp-section{padding:clamp(35px,5vw,68px) 0;margin:20px 0}
.ec-corp-section h2{font-size:clamp(1.7rem,3vw,2.35rem);color:#091482;letter-spacing:-.025em;margin:0 0 18px}
.ec-corp-section__lead{font-size:1.08rem;line-height:1.7;color:#495567;max-width:780px;margin-bottom:26px}
.ec-corp-section--muted{background:#f4f6f8;border-radius:20px;padding:clamp(24px,4vw,50px)}
.ec-corp-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.ec-corp-card{padding:24px;background:#fff;border:1px solid #e0e5ee;border-radius:14px;box-shadow:0 3px 12px rgba(9,20,130,.04)}
.ec-corp-card__number{font-size:.82rem;color:#2da82c;font-weight:800;letter-spacing:.08em}
.ec-corp-card h3{font-size:1.13rem;color:#091482;margin:10px 0}
.ec-corp-card p{margin:0;color:#566172;line-height:1.6}
.ec-corp-grid--two{grid-template-columns:repeat(2,minmax(0,1fr))}
.ec-corp-coverage{display:grid;grid-template-columns:1.2fr .8fr;gap:28px;align-items:center}
.ec-corp-coverage__visual{border-radius:18px;background:linear-gradient(145deg,#091482,#2455b4);padding:28px;color:#fff;min-height:250px;display:flex;flex-direction:column;justify-content:center}
.ec-corp-coverage__visual strong{font-size:clamp(1.6rem,3vw,2.5rem);line-height:1.15;color:#fff}
.ec-corp-coverage__visual span{margin-top:18px;color:#e7eafc}
.ec-corp-link{display:inline-flex;background:#2da82c;color:#fff!important;padding:12px 18px;border-radius:8px;text-decoration:none!important;font-weight:700;margin-top:18px}
.ec-corp-link:hover{background:#217e21}
.ec-corp-section .ec-credenciales{margin-top:22px}
@media(max-width:900px){.ec-router-group .ec-acceso-envoltura{grid-column:span 3}.ec-router-group--five .ec-acceso-envoltura:nth-last-child(2),.ec-router-group--five .ec-acceso-envoltura:last-child{grid-column:span 3}.ec-corp-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:620px){.ec-router-group .ec-acceso-envoltura,.ec-router-group--five .ec-acceso-envoltura:nth-last-child(2),.ec-router-group--five .ec-acceso-envoltura:last-child{grid-column:span 6}.ec-corp-grid,.ec-corp-grid--two,.ec-corp-coverage{grid-template-columns:1fr}.ec-router-group__heading{align-items:flex-start;flex-direction:column}}

.ec-corp-coverage__map{display:block;width:100%;height:auto;border-radius:18px;box-shadow:0 12px 30px rgba(9,20,130,.12)}

/* v2.4.0 — refinamiento visual de portada basado en referencia corporativa */
.home .entry-header .entry-title,.home .entry-title:not(.ec-hero__heading){display:none}
.home .site-content .ast-container{max-width:1280px}
.home .ec-hero{border-radius:0;min-height:490px;box-shadow:0 14px 35px rgba(9,20,130,.1)}
.home .ec-hero__heading{max-width:22ch;letter-spacing:-.04em}
.home .ec-hero .ec-btn,.home .ec-corp-link{border-radius:6px;text-decoration:none!important}
.home .ec-router-intro{text-align:left;max-width:none;border-left:4px solid #2da82c;padding-left:20px}
.home .ec-router-group{margin:26px 0 44px}
.home .ec-router-group__heading span{background:#e9f3ec;color:#176d26}
.home .ec-router-group .ec-acceso__visual{height:130px}
.home .ec-router-group .ec-acceso__problema{font-size:1.02rem;font-weight:750;line-height:1.35}
.home .ec-router-group .ec-acceso__servicio{font-size:.78rem}
.home .ec-service-card{min-height:265px;box-shadow:0 6px 18px rgba(9,20,130,.05)}
.home .ec-service-card__visual{height:140px}
.home .ec-service-card__body{padding:19px}
.home .ec-service-card__title,.home .ec-service-card__title a,.home .ec-service-card a{text-decoration:none!important}
.home .ec-service-card__link{padding-top:14px}
.home .ec-corp-section{margin:20px 0}
.home .ec-corp-card{border-top:3px solid #2da82c}
.home .ec-credenciales{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.home .ec-credenciales__item{background:#f4f8f5;border:1px solid #dcebe0;border-radius:12px;padding:25px;display:flex;flex-direction:column;gap:10px}
.home .ec-credenciales__item strong{color:#091482;font-size:1.15rem}
.home .ec-credenciales__item span{color:#566172}
.home .ec-corp-coverage__map{object-fit:contain;max-height:410px}
.home .ec-editorial-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin:25px 0}
.home .ec-editorial-card{background:#fff;border:1px solid #dde3ea;border-radius:12px;overflow:hidden;box-shadow:0 6px 20px rgba(9,20,130,.05)}
.home .ec-editorial-card img{width:100%;height:160px;object-fit:cover;display:block}
.home .ec-editorial-card__body{padding:20px}
.home .ec-editorial-card h3{font-size:1.13rem;margin:0 0 12px}
.home .ec-editorial-card p{font-size:.94rem;color:#566172;line-height:1.55}
.home .ec-editorial-card a{text-decoration:none;font-weight:700;color:#091482}
@media(max-width:850px){.home .ec-editorial-grid,.home .ec-credenciales{grid-template-columns:1fr 1fr}}
@media(max-width:620px){.home .ec-editorial-grid,.home .ec-credenciales{grid-template-columns:1fr}.home .ec-hero{min-height:460px}.home .ec-router-group .ec-acceso__visual{height:170px}}

/* ========================================================================== 
   2.5.0 — Portada visual corporativa: secciones editoriales, tarjetas y proceso
   ========================================================================== */
.home .ec25-section{margin:clamp(35px,5vw,72px) 0;padding:clamp(28px,4vw,56px);border-radius:18px;overflow:hidden}
.home .ec25-section h2{font-size:clamp(1.7rem,3vw,2.65rem);font-weight:800;letter-spacing:-.035em;line-height:1.15;color:#091482;margin:7px 0 13px}
.home .ec25-section h3{font-size:1.05rem;line-height:1.3;font-weight:800;color:#091482;margin:10px 0}
.home .ec25-section p{line-height:1.6}
.home .ec25-eyebrow{display:inline-block;font-size:.76rem;font-weight:850;letter-spacing:.12em;color:#25862b;text-transform:uppercase}
.home .ec25-lead{max-width:760px;font-size:1.06rem;color:#536076;margin:0 0 26px}
.home .ec25-router-intro{margin:55px 0 32px;padding:32px clamp(22px,4vw,54px);border-radius:20px;background:linear-gradient(112deg,#f1f6ff,#f7fbf8);border:1px solid #e3ebf4;position:relative;overflow:hidden}
.home .ec25-router-intro:before{content:'';position:absolute;top:0;left:0;width:7px;height:100%;background:#2da82c}
.home .ec25-router-intro h2{font-size:clamp(2rem,3.9vw,3.3rem);line-height:1.13;letter-spacing:-.045em;font-weight:850;max-width:840px;margin:12px 0;color:#091482}
.home .ec25-router-intro h2 em{font-style:normal;color:#2da82c}
.home .ec25-router-intro>p{font-size:clamp(1rem,1.55vw,1.17rem);color:#42516b;line-height:1.65;max-width:780px;margin:0 0 22px}
.home .ec25-router-quick{display:flex;gap:12px;flex-wrap:wrap}
.home .ec25-router-quick a{display:inline-flex;align-items:center;gap:12px;border-radius:30px;padding:11px 16px;background:white;border:1px solid #d7e4ed;text-decoration:none!important;color:#091482;font-weight:750;box-shadow:0 3px 10px #0914820b;transition:transform .2s,box-shadow .2s}
.home .ec25-router-quick a:hover{transform:translateY(-3px);box-shadow:0 8px 20px #09148220}
.home .ec25-router-quick a span{color:#2da82c}
.home .ec25-router-group{padding:24px;border-radius:20px;border:1px solid #e3eaf2;background:linear-gradient(140deg,#f8fbff,#fff);scroll-margin-top:120px}
.home .ec25-router-group--02{background:linear-gradient(140deg,#f3faf5,#fff)}
.home .ec25-router-group--03{background:linear-gradient(140deg,#fffaf1,#fff)}
.home .ec25-router-heading{display:flex;align-items:center;gap:20px;margin-bottom:23px}
.home .ec25-router-heading h3{font-size:clamp(1.45rem,2.4vw,2rem);line-height:1.2;font-weight:850;margin:3px 0 6px;color:#091482;letter-spacing:-.025em}
.home .ec25-router-heading p{font-size:1.02rem;line-height:1.5;color:#516077;margin:0;max-width:780px}
.home .ec25-router-symbol{width:68px;height:68px;display:grid;place-items:center;flex:0 0 68px;font-size:2.2rem;color:#091482;background:#e5efff;border-radius:17px}
.home .ec25-router-group--02 .ec25-router-symbol{color:#147d36;background:#dcf4e3}
.home .ec25-router-group--03 .ec25-router-symbol{color:#a46b08;background:#fff0cb}
.home .ec25-router-group .ec-acceso-envoltura{display:flex;flex-direction:column}
.home .ec25-router-group .ec-acceso{height:100%}
.home .ec25-router-group .ec-acceso__visual{height:155px}
.home .ec25-router-group .ec-acceso__problema{font-weight:800;font-size:1.07rem;line-height:1.32;text-decoration:none}
.home .ec25-router-group .ec-acceso__tel{font-size:.84rem}
.home .ec25-results{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(230px,.7fr);gap:30px;align-items:stretch;background:linear-gradient(115deg,#eff5fd,#f8fbff)}
.home .ec25-results-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}
.home .ec25-info-card{background:#fff;border:1px solid #dce6f2;border-radius:14px;padding:22px 18px;box-shadow:0 8px 24px #0914820b;transition:transform .22s,box-shadow .22s}
.home .ec25-info-card:hover{transform:translateY(-5px);box-shadow:0 15px 28px #0914821a}
.home .ec25-info-card .ec25-icon{display:grid;place-items:center;background:#e7f1ff;color:#091482;border-radius:12px;font-size:1.65rem;font-weight:800;width:47px;height:47px;margin-bottom:14px}
.home .ec25-step{color:#277c39;font-size:.73rem;font-weight:850;letter-spacing:.08em}
.home .ec25-info-card p{font-size:.91rem;color:#536076;margin:0}
.home .ec25-report{display:grid;place-items:center;padding:18px 0;perspective:700px}
.home .ec25-report-sheet{width:min(100%,285px);min-height:360px;padding:24px;background:white;box-shadow:12px 17px 0 #d6e5f5,17px 23px 30px #09148224;transform:rotate(3deg);border-radius:5px;display:flex;flex-direction:column;gap:8px}
.home .ec25-report-label{font-size:.57rem;color:#646668;letter-spacing:.1em}
.home .ec25-report-sheet strong{color:#091482;font-size:1.08rem;line-height:1.2}
.home .ec25-report-sheet small{font-size:.67rem;color:#646668}
.home .ec25-report-rule{height:4px;background:linear-gradient(90deg,#091482 70%,#2da82c 70%);margin:12px 0}
.home .ec25-report-bars{height:120px;display:flex;align-items:flex-end;gap:8px;padding:12px;border:1px solid #e3e9f1;border-radius:5px;background:repeating-linear-gradient(0deg,#fff,#fff 24px,#e7ecf4 25px)}
.home .ec25-report-bars i{display:block;flex:1;height:var(--h,45%);background:#1741a2;border-radius:3px 3px 0 0}
.home .ec25-report-bars i:nth-child(2){--h:70%}.home .ec25-report-bars i:nth-child(3){--h:55%}.home .ec25-report-bars i:nth-child(4){--h:85%;background:#2da82c}.home .ec25-report-bars i:nth-child(5){--h:65%}.home .ec25-report-bars i:nth-child(6){--h:95%}.home .ec25-report-bars i:nth-child(7){--h:60%}
.home .ec25-report-lines{display:grid;gap:8px;margin:10px 0}.home .ec25-report-lines i{height:6px;background:#e1e8f1;border-radius:4px}.home .ec25-report-lines i:nth-child(2){width:78%}.home .ec25-report-lines i:nth-child(3){width:90%}.home .ec25-report-lines i:nth-child(4){width:62%}
.home .ec25-report-note{margin-top:auto;font-size:.55rem;color:#6b7380;line-height:1.35}
.home .ec25-trust{background:linear-gradient(110deg,#071743,#103477);color:#fff;position:relative}
.home .ec25-trust:after{content:'';position:absolute;right:-90px;top:-130px;width:420px;height:420px;border:1px solid #ffffff1c;border-radius:50%;pointer-events:none}
.home .ec25-trust .ec25-eyebrow{color:#80df8a}
.home .ec25-trust h2{color:#fff}
.home .ec25-trust-head>p{color:#dbe7fa;max-width:860px;font-size:1.05rem}
.home .ec25-trust .ec-credenciales{position:relative;z-index:1}
.home .ec25-trust .ec-credenciales__item{background:#ffffff13;border:1px solid #ffffff3b;color:white;backdrop-filter:blur(3px);padding:24px}
.home .ec25-trust .ec-credenciales__item strong{color:#fff;font-size:1.14rem}
.home .ec25-trust .ec-credenciales__item span:not(.ec25-trust-icon){color:#e0eafa}
.home .ec25-trust-icon{display:grid;place-items:center;width:52px;height:52px;border-radius:50%;background:#fff!important;color:#2da82c!important;font-size:1.7rem;font-weight:800;margin-bottom:6px}
.home .ec25-process{background:#f7f9fc}
.home .ec25-process-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-top:28px;position:relative}
.home .ec25-process-grid:before{content:'';position:absolute;top:23px;left:9%;right:9%;height:3px;background:linear-gradient(90deg,#2da82c,#091482);z-index:0}
.home .ec25-process-step{position:relative;z-index:1;padding:0 12px 20px;text-align:center}
.home .ec25-process-number{display:grid;place-items:center;margin:0 auto 15px;width:46px;height:46px;border-radius:50%;color:#fff;background:#091482;font-size:.95rem;font-weight:850;border:5px solid #f7f9fc;box-sizing:content-box}
.home .ec25-process-step:nth-child(even) .ec25-process-number{background:#2da82c}
.home .ec25-process-icon{display:grid;place-items:center;width:65px;height:65px;margin:0 auto 13px;background:#e8efff;color:#091482;border-radius:18px;font-size:1.9rem}
.home .ec25-process-step h3{margin:8px 0 10px}.home .ec25-process-step p{font-size:.93rem;color:#536076;margin:0}
.home .ec-corp-coverage__map{background:linear-gradient(150deg,#e7f1fb,#f4f9ff);border-radius:18px;box-shadow:none}
.home .ec-corp-coverage__visual{background:linear-gradient(145deg,#edf5fc,#f8fbff);color:#091482;border:1px solid #dbe7f3}
.home .ec-corp-coverage__visual strong{color:#091482}.home .ec-corp-coverage__visual span{color:#536076}
.home .ec-editorial-card{transition:transform .2s,box-shadow .2s}.home .ec-editorial-card:hover{transform:translateY(-4px);box-shadow:0 15px 25px #09148217}
@media(max-width:1020px){.home .ec25-results{grid-template-columns:1fr}.home .ec25-report{display:none}.home .ec25-results-cards{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:780px){.home .ec25-process-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.home .ec25-process-grid:before{display:none}.home .ec25-results-cards{grid-template-columns:1fr}.home .ec25-router-group{padding:18px}}
@media(max-width:520px){.home .ec25-section{padding:24px 18px}.home .ec25-process-grid{grid-template-columns:1fr}.home .ec25-process-step{display:grid;grid-template-columns:60px 1fr;text-align:left;column-gap:12px}.home .ec25-process-number{grid-row:span 3;margin:0}.home .ec25-process-icon{display:none}.home .ec25-process-step h3{margin-top:0}.home .ec25-router-heading{align-items:flex-start}.home .ec25-router-symbol{width:48px;height:48px;flex-basis:48px;font-size:1.5rem}.home .ec25-router-quick a{width:100%;justify-content:space-between}}
@media(prefers-reduced-motion:reduce){.home .ec25-info-card,.home .ec25-router-quick a,.home .ec-editorial-card{transition:none!important}}

/* Entrada sutil, sin ocultar contenido ni bloquear la navegación. */
@media(prefers-reduced-motion:no-preference){.home .ec25-router-intro,.home .ec25-results,.home .ec25-trust,.home .ec25-process{animation:ec25-enter .65s ease-out both}@keyframes ec25-enter{from{opacity:.65;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}}

/* Electrocertifica 2.6.0 - mejoras consolidadas */
.home .ec25-router-intro h2,.home .ec25-router-heading h3,.home .ec-home-section__intro h2{font-weight:850;letter-spacing:-.035em}
.home .ec25-router-intro h2{font-size:clamp(2rem,3.5vw,3.3rem)}
.home .ec25-router-heading h3{font-size:clamp(1.35rem,2.1vw,1.85rem)}
.home .ec-accesos[data-columnas="3"]{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.home #ec25-proyectos .ec-accesos>.ec-acceso-envoltura:nth-last-child(2){grid-column:1 / 2;margin-left:52%}
.home #ec25-proyectos .ec-accesos>.ec-acceso-envoltura:last-child{grid-column:2 / 3;margin-left:52%}
.home .ec-acceso,.home .ec-service-card{text-decoration:none!important}
.home .ec-acceso__problema,.home .ec-acceso__texto,.home .ec-acceso__servicio,.home .ec-service-card__title,.home .ec-service-card__link{text-decoration:none!important}
.home .ec-acceso:hover,.home .ec26-service-card:hover{transform:translateY(-4px);box-shadow:0 16px 32px #0914821a}
.home .ec26-service-card{transition:transform .2s ease,box-shadow .2s ease;overflow:hidden}
.home .ec26-service-card .ec-service-card__body{position:relative;display:flex;flex-direction:column;align-items:flex-start;gap:10px;padding:23px 18px 20px;min-height:205px}
.home .ec26-service-icon{color:#2da82c;font-size:1.5rem;line-height:1}
.home .ec26-service-description{font-size:.9rem;line-height:1.5;color:#536076}
.home .ec26-service-card .ec-service-card__link{margin-top:auto;color:#091482;font-weight:750}
.home .ec26-eyebrow{display:block;color:#2da82c;font-size:.78rem;font-weight:800;letter-spacing:.12em;margin-bottom:10px}
.home .ec26-cta{display:flex;justify-content:space-between;align-items:center;gap:28px;margin:28px auto;padding:30px 36px;max-width:1160px;border-radius:16px;background:#f0f6ff;border:1px solid #d5e5ff}
.home .ec26-cta--cotizacion{background:linear-gradient(115deg,#071743,#133e8b);color:white;border-color:transparent}
.home .ec26-cta h2{font-size:clamp(1.4rem,2.5vw,2rem);margin:0 0 8px;color:#091482}
.home .ec26-cta--cotizacion h2{color:white}
.home .ec26-cta p{margin:0;max-width:670px}
.home .ec26-cta__button{display:inline-flex;justify-content:center;align-items:center;background:#2da82c;color:white!important;text-decoration:none!important;padding:15px 22px;border-radius:9px;font-weight:750;white-space:nowrap;box-shadow:0 6px 15px #1a7d2133}
.home .ec26-cta__button:hover{background:#237e22}
.ast-primary-header-bar .main-header-menu .menu-link{text-decoration:none!important;font-weight:650}
.ast-primary-header-bar .main-header-menu .menu-item:hover>.menu-link{color:#2da82c}
.ast-primary-header-bar .main-header-menu .menu-item-has-children>.menu-link:after{content:'⌄';margin-left:7px}
.home .ec-corp-coverage__map{max-width:100%;height:auto}
@media(max-width:900px){.home .ec-accesos[data-columnas="3"]{grid-template-columns:repeat(2,minmax(0,1fr))}.home #ec25-proyectos .ec-accesos>.ec-acceso-envoltura:nth-last-child(2),.home #ec25-proyectos .ec-accesos>.ec-acceso-envoltura:last-child{grid-column:auto;margin-left:0}.home .ec26-cta{flex-direction:column;align-items:flex-start}}
@media(max-width:600px){.home .ec-accesos[data-columnas="3"]{grid-template-columns:1fr}.home .ec26-cta{margin:18px 12px;padding:22px}.home .ec26-cta__button{width:100%;white-space:normal;text-align:center}}
@media(prefers-reduced-motion:reduce){.home .ec-acceso,.home .ec26-service-card{transition:none!important;transform:none!important}}

/* 2.7.0: estilos aplicados también si Astra no añade la clase body.home. */
.ec25-results{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(230px,.7fr);gap:30px;align-items:stretch;background:linear-gradient(115deg,#eff5fd,#f8fbff)}
.ec25-results-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}
.ec25-info-card{background:#fff;border:1px solid #dce6f2;border-radius:14px;padding:22px 18px;box-shadow:0 8px 24px #0914820b;transition:transform .22s,box-shadow .22s}
.ec25-info-card:hover{transform:translateY(-5px);box-shadow:0 15px 28px #0914821a}
.ec25-info-card .ec25-icon{display:grid;place-items:center;background:#e7f1ff;color:#091482;border-radius:12px;font-size:1.65rem;font-weight:800;width:47px;height:47px;margin-bottom:14px}
.ec25-step{color:#277c39;font-size:.73rem;font-weight:850;letter-spacing:.08em}
.ec25-info-card p{font-size:.91rem;color:#536076;margin:0}
.ec25-report{display:grid;place-items:center;padding:18px 0;perspective:700px}
.ec25-report-sheet{width:min(100%,285px);min-height:360px;padding:24px;background:white;box-shadow:12px 17px 0 #d6e5f5,17px 23px 30px #09148224;transform:rotate(3deg);border-radius:5px;display:flex;flex-direction:column;gap:8px}
.ec25-report-label{font-size:.57rem;color:#646668;letter-spacing:.1em}
.ec25-report-sheet strong{color:#091482;font-size:1.08rem;line-height:1.2}
.ec25-report-sheet small{font-size:.67rem;color:#646668}
.ec25-report-rule{height:4px;background:linear-gradient(90deg,#091482 70%,#2da82c 70%);margin:12px 0}
.ec25-report-bars{height:120px;display:flex;align-items:flex-end;gap:8px;padding:12px;border:1px solid #e3e9f1;border-radius:5px;background:repeating-linear-gradient(0deg,#fff,#fff 24px,#e7ecf4 25px)}
.ec25-report-bars i{display:block;flex:1;height:var(--h,45%);background:#1741a2;border-radius:3px 3px 0 0}
.ec25-report-bars i:nth-child(2){--h:70%}.ec25-report-bars i:nth-child(3){--h:55%}.ec25-report-bars i:nth-child(4){--h:85%;background:#2da82c}.ec25-report-bars i:nth-child(5){--h:65%}.ec25-report-bars i:nth-child(6){--h:95%}.ec25-report-bars i:nth-child(7){--h:60%}
.ec25-report-lines{display:grid;gap:8px;margin:10px 0}.ec25-report-lines i{height:6px;background:#e1e8f1;border-radius:4px}.ec25-report-lines i:nth-child(2){width:78%}.ec25-report-lines i:nth-child(3){width:90%}.ec25-report-lines i:nth-child(4){width:62%}
.ec25-report-note{margin-top:auto;font-size:.55rem;color:#6b7380;line-height:1.35}
.ec25-trust{background:linear-gradient(110deg,#071743,#103477);color:#fff;position:relative}
.ec25-trust:after{content:'';position:absolute;right:-90px;top:-130px;width:420px;height:420px;border:1px solid #ffffff1c;border-radius:50%;pointer-events:none}
.ec25-trust .ec25-eyebrow{color:#80df8a}
.ec25-trust h2{color:#fff}
.ec25-trust-head>p{color:#dbe7fa;max-width:860px;font-size:1.05rem}
.ec25-trust .ec-credenciales{position:relative;z-index:1}
.ec25-trust .ec-credenciales__item{background:#ffffff13;border:1px solid #ffffff3b;color:white;backdrop-filter:blur(3px);padding:24px}
.ec25-trust .ec-credenciales__item strong{color:#fff;font-size:1.14rem}
.ec25-trust .ec-credenciales__item span:not(.ec25-trust-icon){color:#e0eafa}
.ec25-trust-icon{display:grid;place-items:center;width:52px;height:52px;border-radius:50%;background:#fff!important;color:#2da82c!important;font-size:1.7rem;font-weight:800;margin-bottom:6px}
.ec25-process{background:#f7f9fc}
.ec25-process-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-top:28px;position:relative}
.ec25-process-grid:before{content:'';position:absolute;top:23px;left:9%;right:9%;height:3px;background:linear-gradient(90deg,#2da82c,#091482);z-index:0}
.ec25-process-step{position:relative;z-index:1;padding:0 12px 20px;text-align:center}
.ec25-process-number{display:grid;place-items:center;margin:0 auto 15px;width:46px;height:46px;border-radius:50%;color:#fff;background:#091482;font-size:.95rem;font-weight:850;border:5px solid #f7f9fc;box-sizing:content-box}
.ec25-process-step:nth-child(even) .ec25-process-number{background:#2da82c}
.ec25-process-icon{display:grid;place-items:center;width:65px;height:65px;margin:0 auto 13px;background:#e8efff;color:#091482;border-radius:18px;font-size:1.9rem}
.ec25-process-step h3{margin:8px 0 10px}.ec25-process-step p{font-size:.93rem;color:#536076;margin:0}
.ec-corp-coverage__map{background:linear-gradient(150deg,#e7f1fb,#f4f9ff);border-radius:18px;box-shadow:none}
.ec-corp-coverage__visual{background:linear-gradient(145deg,#edf5fc,#f8fbff);color:#091482;border:1px solid #dbe7f3}
.ec-corp-coverage__visual strong{color:#091482}.ec-corp-coverage__visual span{color:#536076}
.ec-editorial-card{transition:transform .2s,box-shadow .2s}.ec-editorial-card:hover{transform:translateY(-4px);box-shadow:0 15px 25px #09148217}
@media(max-width:1020px){.ec25-results{grid-template-columns:1fr}.ec25-report{display:none}.ec25-results-cards{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:780px){.ec25-process-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ec25-process-grid:before{display:none}.ec25-results-cards{grid-template-columns:1fr}.ec25-router-group{padding:18px}}
@media(max-width:520px){.ec25-section{padding:24px 18px}.ec25-process-grid{grid-template-columns:1fr}.ec25-process-step{display:grid;grid-template-columns:60px 1fr;text-align:left;column-gap:12px}.ec25-process-number{grid-row:span 3;margin:0}.ec25-process-icon{display:none}.ec25-process-step h3{margin-top:0}.ec25-router-heading{align-items:flex-start}.ec25-router-symbol{width:48px;height:48px;flex-basis:48px;font-size:1.5rem}.ec25-router-quick a{width:100%;justify-content:space-between}}
@media(prefers-reduced-motion:reduce){.ec25-info-card,.ec25-router-quick a,.ec-editorial-card{transition:none!important}}

/* Entrada sutil, sin ocultar contenido ni bloquear la navegación. */
@media(prefers-reduced-motion:no-preference){.ec25-router-intro,.ec25-results,.ec25-trust,.ec25-process{animation:ec25-enter .65s ease-out both}@keyframes ec25-enter{from{opacity:.65;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}}


/* 2.7.0: bloques visuales obligatorios */
.ec27-editorial-photo{height:168px;overflow:hidden;background:linear-gradient(130deg,#dceaff,#a8d6e8);position:relative}
.ec27-editorial-photo--2{background:linear-gradient(135deg,#e6f6e5,#b9d8c2)}
.ec27-editorial-photo--3{background:linear-gradient(135deg,#f8eccc,#c7d8f5)}
.ec27-editorial-photo img{width:100%;height:100%;object-fit:cover;display:block}
.ec27-editorial-photo:empty:after{content:'⚡';position:absolute;inset:0;display:grid;place-items:center;color:#091482;font-size:3.3rem}
.ec25-section{margin:40px 0;padding:clamp(26px,4vw,52px);border-radius:18px;overflow:hidden}.ec25-results,.ec25-trust,.ec25-process,.ec-corp-section{clear:both}
.ec25-results{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(230px,.7fr)}
.ec25-results-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}
.ec25-info-card{background:#fff;border:1px solid #dce6f2;border-radius:14px;padding:22px 18px;box-shadow:0 8px 24px #0914820b}
.ec25-process-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.ec25-process-step{background:#fff;border:1px solid #dce6f2;border-radius:14px;padding:20px 14px;text-align:center;box-shadow:0 8px 20px #0914820b}
.ec-editorial-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.ec-editorial-card{background:#fff;border:1px solid #dde3ea;border-radius:14px;overflow:hidden;box-shadow:0 8px 22px #09148212}
.ec-editorial-card__body{padding:20px}
.ec26-cta{display:flex;justify-content:space-between;align-items:center;gap:28px;margin:28px auto;padding:30px 36px;max-width:1160px;border-radius:16px;background:#f0f6ff;border:1px solid #d5e5ff}
.ec26-cta__button{display:inline-flex;align-items:center;justify-content:center;background:#2da82c;color:#fff!important;padding:15px 22px;border-radius:9px;text-decoration:none!important;font-weight:800;box-shadow:0 6px 15px #1a7d2133}
.ec26-cta__button:hover{background:#247d25}
.ec-corp-coverage{display:grid;grid-template-columns:1.3fr .7fr;align-items:center;gap:25px}
.ec-corp-coverage img{width:100%;max-height:410px;object-fit:contain}
@media(max-width:900px){.ec25-results,.ec-corp-coverage{grid-template-columns:1fr}.ec25-results-cards{grid-template-columns:1fr}.ec25-process-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:650px){.ec-editorial-grid,.ec25-process-grid{grid-template-columns:1fr}.ec26-cta{flex-direction:column;align-items:flex-start;padding:24px}.ec26-cta__button{white-space:normal}}


/* 2.7.6 · FAQ editorial with responsive help panel */
.ec276-faq-section{background:linear-gradient(140deg,#f4f7fb,#edf3fa);border-radius:26px;padding:clamp(22px,4vw,50px);margin:12px 0 42px}
.ec276-faq-section *{box-sizing:border-box}
#ec25-faq{font-size:clamp(1.75rem,3vw,2.5rem);font-weight:800;color:#091482;margin:32px 0 12px}
.ec276-faq-intro{margin-bottom:24px}
.ec276-faq-kicker{color:#258c2b;letter-spacing:.11em;font-size:.75rem;font-weight:800}
.ec276-faq-intro p{font-size:1.02rem;color:#4c5b70;line-height:1.65;max-width:670px;margin:8px 0 0}
.ec276-faq-layout{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(270px,1fr);gap:25px;align-items:start}
.ec276-faq-section .ec-faq{display:grid;gap:12px}
.ec276-faq-section .ec-faq details{background:white;border:1px solid #d9e2ee;border-radius:14px;overflow:hidden;box-shadow:0 5px 14px rgba(9,20,130,.035);margin:0;transition:box-shadow .25s,border-color .25s,transform .25s}
.ec276-faq-section .ec-faq details:hover{border-color:#b9d5c2;transform:translateY(-2px);box-shadow:0 10px 23px rgba(9,20,130,.09)}
.ec276-faq-section .ec-faq details[open]{border-color:#2da82c;box-shadow:0 12px 26px rgba(9,20,130,.09)}
.ec276-faq-section .ec-faq summary{font-size:1rem;color:#091482;font-weight:750;cursor:pointer;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:20px 22px;list-style:none}
.ec276-faq-section .ec-faq summary::-webkit-details-marker{display:none}
.ec276-faq-section .ec-faq summary::after{content:"+";display:grid;place-items:center;flex:0 0 30px;width:30px;height:30px;border-radius:50%;background:#edf3ff;color:#091482;font-size:1.3rem;font-weight:600;float:none;line-height:1}
.ec276-faq-section .ec-faq details[open] summary::after{content:"−";background:#2da82c;color:white}
.ec276-faq-section .ec-faq details>div{padding:0 22px 20px;color:#49596d;line-height:1.7}
.ec276-faq-help{background:linear-gradient(155deg,#091482,#152d92);color:#fff;border-radius:20px;padding:clamp(22px,3vw,35px);position:relative;overflow:hidden;box-shadow:0 16px 34px rgba(9,20,130,.16)}
.ec276-faq-help::after{content:"";position:absolute;right:-75px;top:-75px;width:200px;height:200px;border:1px solid rgba(255,255,255,.18);border-radius:50%;pointer-events:none}
.ec276-faq-help__icon{display:grid;place-items:center;width:65px;height:65px;border-radius:16px;background:#2da82c;margin-bottom:24px}
.ec276-faq-help__icon svg{width:36px;height:36px}
.ec276-faq-help__tag{font-size:.75rem;letter-spacing:.12em;color:#b5edbc;font-weight:800}
.ec276-faq-help h3{font-size:clamp(1.3rem,2vw,1.7rem);color:white;margin:12px 0}
.ec276-faq-help p{color:#e3eafa;line-height:1.65;margin-bottom:26px}
.ec276-faq-help__btn{display:inline-flex;align-items:center;justify-content:center;gap:12px;background:#2da82c;color:white!important;border-radius:9px;text-decoration:none!important;padding:15px 18px;font-weight:800;min-height:48px;transition:background .2s,transform .2s}
.ec276-faq-help__btn:hover{background:#238f24;transform:translateY(-3px)}
@media(max-width:800px){.ec276-faq-layout{grid-template-columns:1fr}.ec276-faq-help{max-width:none}}
@media(max-width:540px){.ec276-faq-section{border-radius:18px;padding:20px 14px}.ec276-faq-section .ec-faq summary{padding:17px 15px}.ec276-faq-section .ec-faq details>div{padding:0 15px 18px}}
@media(prefers-reduced-motion:reduce){.ec276-faq-section .ec-faq details,.ec276-faq-help__btn{transition:none!important}.ec276-faq-section .ec-faq details:hover,.ec276-faq-help__btn:hover{transform:none!important}}

/* 2.7.7 · CTA final comercial, compatible con [ec_cta_final] */
.ec277-cta.ec-cta-final{position:relative;display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,.8fr);padding:0;min-height:330px;overflow:hidden;border-radius:24px;background:linear-gradient(125deg,#071058,#101e83);box-shadow:0 18px 45px rgba(9,20,130,.16);color:#fff;text-align:left}
.ec277-cta *{box-sizing:border-box}
.ec277-cta__body{padding:clamp(28px,4.3vw,60px);position:relative;z-index:1;align-self:center}
.ec277-cta__kicker{display:inline-block;color:#a2f1a6;font-size:.78rem;letter-spacing:.12em;font-weight:800;margin-bottom:14px}
.ec277-cta.ec-cta-final h2{color:#fff;font-size:clamp(1.7rem,3vw,2.6rem);line-height:1.18;margin:0 0 15px;text-align:left}
.ec277-cta.ec-cta-final p{font-size:1.02rem;line-height:1.65;color:#e2e9ff;max-width:640px;margin:0 0 25px;text-align:left}
.ec277-cta__buttons{display:flex;flex-wrap:wrap;gap:12px}
.ec277-cta__button{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:49px;padding:13px 18px;border-radius:9px;font-size:.93rem;font-weight:800;text-decoration:none!important;transition:transform .25s,background .25s,border-color .25s}
.ec277-cta__button svg{width:20px;height:20px;flex:none}
.ec277-cta__button--wa{background:#2da82c;color:#fff!important}
.ec277-cta__button--wa:hover{background:#238b25;transform:translateY(-3px)}
.ec277-cta__button--tel{border:1px solid #c8d4ff;background:#ffffff13;color:#fff!important}
.ec277-cta__button--tel:hover{background:#ffffff25;transform:translateY(-3px)}
.ec277-cta__footer{margin-top:23px;color:#d9e3ff;font-size:.82rem;display:flex;flex-wrap:wrap;gap:7px;align-items:center}
.ec277-cta__footer a{color:#fff!important;text-decoration:underline;text-underline-offset:3px}
.ec277-cta__dot{width:9px;height:9px;background:#4ce16a;border-radius:50%;box-shadow:0 0 0 4px #4ce16a22}
.ec277-cta__visual{min-height:330px;background:linear-gradient(90deg,#101e83 0%,#101e8340 32%,#101e8305 75%),url("assets/ec299-orientacion-ensayos-tecnico-sin-logo.webp") center/cover no-repeat;position:relative}
.ec277-cta__visual:after{content:"";position:absolute;inset:0;background:linear-gradient(0deg,#071058b3,transparent 48%);pointer-events:none}
.ec277-cta__visual-label{position:absolute;z-index:1;bottom:26px;right:25px;left:25px;padding:13px 15px;background:#071058cc;color:#fff;border:1px solid #ffffff55;border-radius:11px;font-weight:700;font-size:.84rem;backdrop-filter:blur(5px);display:flex;align-items:center;gap:10px}
.ec277-cta__visual-check{background:#2da82c;border-radius:50%;width:24px;height:24px;display:grid;place-items:center}
@media(max-width:850px){.ec277-cta.ec-cta-final{grid-template-columns:1fr}.ec277-cta__visual{min-height:210px;background-position:center 45%}}
@media(max-width:520px){.ec277-cta.ec-cta-final{border-radius:17px}.ec277-cta__body{padding:27px 20px}.ec277-cta__buttons{flex-direction:column}.ec277-cta__button{width:100%}.ec277-cta__visual{min-height:170px}.ec277-cta__footer{line-height:1.6}}
@media(prefers-reduced-motion:reduce){.ec277-cta__button{transition:none!important}.ec277-cta__button:hover{transform:none!important}}

/* v2.7.9 hero commercial */
.home .ec-hero{min-height:550px!important;border-radius:22px!important;background-image:linear-gradient(90deg,rgba(5,13,62,.98) 0%,rgba(7,19,86,.94) 38%,rgba(7,23,102,.58) 68%,rgba(7,23,102,.10) 100%),var(--ec-hero-image,linear-gradient(135deg,#07105f,#1839a6))!important;box-shadow:0 20px 45px rgba(9,20,130,.14)}
.home .ec-hero .ec-contenedor{padding:clamp(25px,5vw,65px)!important}
.home .ec-hero__copy{max-width:770px!important}
.ec279-kicker{display:inline-block;padding:9px 14px;background:#ffffff1a;border:1px solid #ffffff4d;border-radius:99px;color:#b8f6ba;font-size:.73rem;letter-spacing:.09em;font-weight:800;margin-bottom:24px}
.home .ec-hero__heading{font-size:clamp(2.35rem,4.8vw,4.2rem)!important;max-width:19ch!important;line-height:1.08!important;margin-bottom:22px!important}
.home .ec-hero__copy>p{max-width:57ch!important;font-size:clamp(1rem,1.5vw,1.22rem)!important;line-height:1.65!important;color:#edf3ff!important}
.home .ec-hero .ec-btns{margin:28px 0!important;gap:13px!important}
.home .ec-hero .ec-btn{display:inline-flex;align-items:center;min-height:52px;padding:14px 22px!important;border-radius:9px!important;font-weight:800!important;text-decoration:none!important;transition:transform .25s,box-shadow .25s}
.home .ec-hero .ec-btn:hover{transform:translateY(-3px);box-shadow:0 12px 25px #0003}
.home .ec-hero .ec-btn--accion{background:#2da82c!important;color:#fff!important}
.home .ec-hero .ec-btn--fantasma{background:#ffffff13!important;border:1px solid #ffffffbb!important;color:#fff!important}
.ec279-proof{display:flex;flex-wrap:wrap;gap:12px 20px;border-top:1px solid #ffffff4d;padding-top:20px;max-width:740px}
.ec279-proof span{font-size:.83rem;color:#e9f1ff;font-weight:650}
@media(max-width:700px){.home .ec-hero{min-height:570px!important;background-image:linear-gradient(90deg,#071050f5,#071050d9),var(--ec-hero-image,none)!important}.home .ec-hero .ec-contenedor{padding:30px 23px!important}.ec279-kicker{font-size:.62rem}.home .ec-hero .ec-btns{flex-direction:column}.home .ec-hero .ec-btn{justify-content:center}}
@media(prefers-reduced-motion:reduce){.home .ec-hero .ec-btn{transition:none!important}.home .ec-hero .ec-btn:hover{transform:none!important}}

/* 2.8.1: fondo fotografico y texto adicional en bloque Soluciones especializadas */
.home .ec25-router-intro{background:linear-gradient(90deg,rgba(5,13,57,.97) 0%,rgba(7,20,75,.93) 40%,rgba(9,20,130,.48) 72%,rgba(9,20,130,.12) 100%),url("assets/03-transformadores-motores.webp") center 46%/cover no-repeat!important;border-color:#1a317a!important;box-shadow:0 18px 36px rgba(9,20,130,.15);padding:clamp(28px,4.2vw,58px)!important;min-height:330px;display:flex;flex-direction:column;justify-content:center}
.home .ec25-router-intro:before{background:#2da82c!important}
.home .ec25-router-intro .ec25-eyebrow{color:#9af3a0!important;letter-spacing:.12em}
.home .ec25-router-intro h2{color:#fff!important;max-width:770px;text-shadow:0 2px 9px #0003}
.home .ec25-router-intro h2 em{color:#78e87e!important}
.home .ec25-router-intro>p{color:#eff5ff!important;max-width:730px!important;text-shadow:0 1px 4px #0004}
.home .ec25-router-intro .ec281-intro-guide{font-weight:750!important;font-size:1.03rem!important;margin:4px 0 18px!important;color:#fff!important}
.home .ec25-router-intro .ec25-router-quick a{background:#ffffff!important;color:#091482!important;border:1px solid #ffffffb0!important;box-shadow:0 6px 16px #0002!important;transition:transform .25s,background .25s!important}
.home .ec25-router-intro .ec25-router-quick a:hover{transform:translateY(-3px);background:#e9ffeb!important}
@media(max-width:720px){.home .ec25-router-intro{background:linear-gradient(90deg,rgba(5,13,57,.94),rgba(7,20,75,.83)),url("assets/03-transformadores-motores.webp") center/cover no-repeat!important;min-height:380px;padding:27px 22px!important}.home .ec25-router-intro .ec25-router-quick{display:flex;flex-wrap:wrap;gap:9px}}
@media(prefers-reduced-motion:reduce){.home .ec25-router-intro .ec25-router-quick a{transition:none!important}.home .ec25-router-intro .ec25-router-quick a:hover{transform:none!important}}

/* v2.8.2: Soluciones integradas como pestañas interactivas */
.home .ec25-router-intro:has(.ec282-panels){overflow:visible!important;background:linear-gradient(90deg,rgba(5,13,57,.96),rgba(7,20,75,.84)),url("assets/03-transformadores-motores.webp") center top/cover no-repeat!important}
.home .ec25-router-intro:has(.ec282-panels) .ec25-router-quick a[aria-selected="true"]{background:#2da82c!important;color:#fff!important;border-color:#2da82c!important}
.home .ec282-panels{margin-top:25px;padding:18px;border-radius:17px;background:#f4f7fc;color:#12213d;box-shadow:0 12px 28px #0002}
.home .ec282-panel[hidden]{display:none!important}
.home .ec282-panel-heading{display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin:0 0 18px}
.home .ec282-panel-heading h3{color:#091482!important;margin:0!important;font-size:clamp(1.3rem,2.2vw,1.85rem)}
.home .ec282-panel-tag{font-size:.72rem;font-weight:850;color:#21852a;letter-spacing:.09em}
.home .ec282-panel-count{margin-left:auto;color:#596b80;font-size:.85rem;font-weight:650}
.home .ec282-panel .ec-accesos-bloque{margin:0!important;padding:0!important}
.home .ec282-panel .ec-accesos{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:16px!important}
.home .ec282-panel .ec-acceso-envoltura{min-width:0!important;max-width:none!important;margin:0!important;grid-column:auto!important}
.home .ec282-panel .ec-acceso{height:100%;border-radius:12px;overflow:hidden;background:#fff}
.home .ec282-panel .ec-acceso__visual{height:145px}
.home .ec282-panel .ec-acceso__visual img{width:100%;height:100%;object-fit:cover}
.home .ec282-panel:not([hidden]){animation:ec282-reveal .3s ease both}
@keyframes ec282-reveal{from{opacity:.5;transform:translateY(7px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:860px){.home .ec282-panel .ec-accesos{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:580px){.home .ec282-panel .ec-accesos{grid-template-columns:1fr!important}.home .ec282-panels{padding:12px}.home .ec282-panel-count{margin-left:0;width:100%}}
@media(prefers-reduced-motion:reduce){.home .ec282-panel:not([hidden]){animation:none}}

/* 2.8.3 — Catálogo visual consistente con Soluciones especializadas */
.home #ec25-servicios{background:linear-gradient(145deg,#eaf2ff 0%,#f4f8fc 55%,#eaf5ef 100%)!important;border-radius:24px!important;margin:42px auto 64px!important;padding:clamp(30px,4.5vw,62px) clamp(18px,4vw,50px)!important;box-shadow:0 16px 42px #0914820a;position:relative;overflow:hidden}
.home #ec25-servicios .ec-contenedor{max-width:1280px!important;padding:0!important}
.home #ec25-servicios .ec-home-section__intro{margin-bottom:28px!important}
.home #ec25-servicios .ec26-eyebrow{color:#248d3a!important;font-weight:850!important;letter-spacing:.12em}
.home #ec25-servicios h2{font-size:clamp(2rem,3.3vw,3.1rem)!important;letter-spacing:-.04em!important;line-height:1.1!important;font-weight:850!important;color:#091482!important;margin:8px 0 12px!important}
.home #ec25-servicios .ec-home-section__intro p{max-width:820px!important;color:#4b5f78!important;font-size:clamp(.98rem,1.3vw,1.12rem)!important;line-height:1.65!important}
.home #ec25-servicios .ec-service-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:20px!important}
.home #ec25-servicios .ec-service-card{display:flex!important;flex-direction:column!important;min-width:0!important;height:100%!important;border:1px solid #dce6f0!important;border-radius:17px!important;overflow:hidden!important;background:#fff!important;text-decoration:none!important;box-shadow:0 8px 24px #09148210!important;transition:transform .3s ease,box-shadow .3s ease,border-color .3s ease!important}
.home #ec25-servicios .ec-service-card:hover,.home #ec25-servicios .ec-service-card:focus-visible{transform:translateY(-7px)!important;box-shadow:0 20px 40px #09148224!important;border-color:#78c986!important}
.home #ec25-servicios .ec-service-card__visual{display:block!important;height:185px!important;position:relative!important;overflow:hidden!important;background:linear-gradient(135deg,#091482,#294da8)!important}
.home #ec25-servicios .ec-service-card__photo{width:100%!important;height:100%!important;display:block!important;object-fit:cover!important;transition:transform .4s ease!important}
.home #ec25-servicios .ec-service-card:hover .ec-service-card__photo{transform:scale(1.055)!important}
.home #ec25-servicios .ec-service-card__number{position:absolute!important;top:13px!important;left:13px!important;z-index:1!important;background:#091482!important;color:white!important;border-radius:7px!important;padding:6px 10px!important;font-size:.78rem!important;font-weight:800!important}
.home #ec25-servicios .ec-service-card__body{display:flex!important;flex-direction:column!important;align-items:flex-start!important;gap:12px!important;flex:1!important;padding:22px!important}
.home #ec25-servicios .ec26-service-icon{display:grid!important;place-items:center!important;background:#e6f8ec!important;color:#168a34!important;border-radius:12px!important;width:43px!important;height:43px!important;font-size:1.45rem!important}
.home #ec25-servicios .ec-service-card__title{color:#091482!important;font-size:1.18rem!important;line-height:1.3!important;font-weight:850!important;text-decoration:none!important}
.home #ec25-servicios .ec26-service-description{display:block!important;color:#56657a!important;font-size:.95rem!important;line-height:1.55!important;flex:1!important}
.home #ec25-servicios .ec-service-card__link{display:inline-flex!important;align-items:center!important;gap:8px!important;margin-top:8px!important;color:#168a34!important;font-size:.92rem!important;font-weight:850!important;text-decoration:none!important}
.home #ec25-servicios .ec-service-card:hover .ec-service-card__link{color:#091482!important}
@media(max-width:920px){.home #ec25-servicios .ec-service-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:600px){.home #ec25-servicios .ec-service-grid{grid-template-columns:1fr!important}.home #ec25-servicios .ec-service-card__visual{height:200px!important}}
@media(prefers-reduced-motion:reduce){.home #ec25-servicios .ec-service-card,.home #ec25-servicios .ec-service-card__photo{transition:none!important}.home #ec25-servicios .ec-service-card:hover,.home #ec25-servicios .ec-service-card:hover .ec-service-card__photo{transform:none!important}}

/* 2.8.4 — Corrección de contraste en tarjetas de compromiso */
.home .ec25-trust .ec-credenciales__item,
.ec25-trust .ec-credenciales__item {
 background:#ffffff!important;
 border:1px solid #dbe5f0!important;
 color:#142342!important;
 box-shadow:0 8px 22px rgba(0,0,0,.10);
 opacity:1!important;
 transition:transform .22s ease,box-shadow .22s ease;
}
.home .ec25-trust .ec-credenciales__item strong,
.ec25-trust .ec-credenciales__item strong {color:#091482!important;opacity:1!important}
.home .ec25-trust .ec-credenciales__item span:not(.ec25-trust-icon),
.ec25-trust .ec-credenciales__item span:not(.ec25-trust-icon){color:#3d5068!important;opacity:1!important}
.home .ec25-trust .ec-credenciales__item:hover,
.ec25-trust .ec-credenciales__item:hover{transform:translateY(-4px);box-shadow:0 15px 28px rgba(0,0,0,.16)}
@media(prefers-reduced-motion:reduce){.ec25-trust .ec-credenciales__item{transition:none!important}.ec25-trust .ec-credenciales__item:hover{transform:none!important}}

/* v2.8.6: encabezado de normativa con jerarquia consistente */
.home .ec274-norm #ec274-norm-title{font-weight:850!important;letter-spacing:-.035em!important;}

/* v2.8.8: título destacado del CTA final */
.ec277-cta.ec-cta-final #ec277-cta-title{font-weight:800!important;letter-spacing:-.025em;text-wrap:balance;}

/* v2.10.0: énfasis exclusivo de la frase guía de las tres áreas */
.home .ec25-router-intro .ec281-intro-guide {font-size:clamp(1.25rem,2.1vw,1.6rem)!important;line-height:1.35!important;font-weight:800!important;max-width:850px!important;margin:12px 0 20px!important;color:#fff!important;}

/* v2.10.1: Tres áreas abiertas, tarjetas originales visibles. */
.home .ec25-router-intro{margin-bottom:0!important;border-radius:20px 20px 0 0!important}
.home .ec282-panels{display:grid!important;grid-template-columns:minmax(0,1fr);gap:18px;margin:0 0 34px!important;padding:18px!important;background:#fff!important;box-shadow:none!important;border-radius:0 0 20px 20px!important;border:1px solid #e2e9f3;border-top:0}
.home .ec282-panel{display:block!important;visibility:visible!important;animation:none!important;border:1px solid #dce7f6;border-radius:17px;padding:22px;background:linear-gradient(135deg,#eef6ff,#f8fbff)!important;scroll-margin-top:110px}
.home .ec282-panel:nth-child(2){background:linear-gradient(135deg,#effaf3,#f9fffb)!important;border-color:#d8eddf}
.home .ec282-panel:nth-child(3){background:linear-gradient(135deg,#fff8ed,#fffdf9)!important;border-color:#f5e7cc}
.home .ec282-panel-heading{display:flex!important;justify-content:space-between;align-items:center!important;gap:18px;margin:0 0 18px!important}
.home .ec282-panel-heading h3{font-size:clamp(1.5rem,2.5vw,2.15rem)!important;font-weight:850!important;letter-spacing:-.035em!important;margin:5px 0 7px!important}
.home .ec282-panel-tag{color:#238a35!important;font-size:.79rem!important}
.home .ec2101-area-title{max-width:760px}
.home .ec2101-area-desc{font-size:.97rem;line-height:1.55;color:#4b5a70;margin:0!important}
.home .ec282-panel-count{white-space:nowrap;margin-left:auto!important;font-weight:750!important;color:#41526c!important}
.home .ec282-panel .ec-accesos{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:16px!important}
.home .ec282-panel .ec-acceso{box-shadow:0 4px 18px #0914820b!important;border:1px solid #e5eaf2!important}
.home .ec282-panel .ec-acceso__visual{height:170px!important}
.home .ec282-panel .ec-acceso__problema{font-size:1.08rem!important}
@media(max-width:820px){.home .ec282-panel .ec-accesos{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:590px){.home .ec282-panels{padding:10px!important}.home .ec282-panel{padding:14px!important}.home .ec282-panel-heading{display:block!important}.home .ec282-panel-count{display:block;margin:10px 0 0!important}.home .ec282-panel .ec-accesos{grid-template-columns:1fr!important}.home .ec282-panel .ec-acceso__visual{height:185px!important}}

/* v2.10.2: fondo fotográfico HD con acercamiento suave al pasar el cursor. */
.home .ec25-router-intro{
  background-image:linear-gradient(90deg,rgba(5,13,57,.97) 0%,rgba(7,20,75,.92) 42%,rgba(9,20,130,.47) 77%,rgba(9,20,130,.18) 100%),url("assets/ec2102-soluciones-subestacion-hd.webp")!important;
  background-position:center center!important;
  background-size:cover!important;
  background-repeat:no-repeat!important;
  isolation:isolate;
}
.home .ec25-router-intro::after{
  content:"";
  position:absolute;
  inset:0;
  background:url("assets/ec2102-soluciones-subestacion-hd.webp") center center/cover no-repeat;
  opacity:.13;
  pointer-events:none;
  z-index:-1;
  transform:scale(1);
  transform-origin:center center;
  transition:transform .85s cubic-bezier(.2,.7,.2,1),opacity .85s ease;
}
@media(hover:hover) and (prefers-reduced-motion:no-preference){
  .home .ec25-router-intro:hover::after{transform:scale(1.075);opacity:.28}
}
@media(max-width:720px){
  .home .ec25-router-intro{
    background-image:linear-gradient(90deg,rgba(5,13,57,.95),rgba(7,20,75,.73)),url("assets/ec2102-soluciones-subestacion-hd.webp")!important;
  }
}
@media(prefers-reduced-motion:reduce){
  .home .ec25-router-intro::after{transition:none!important;transform:none!important}
}

/* v2.10.3: instrumento técnico nuevo + texto guía con jerarquía superior. */
.home .ec25-router-intro{
 background-image:linear-gradient(90deg,rgba(5,13,57,.98) 0%,rgba(7,20,75,.94) 42%,rgba(9,20,90,.65) 68%,rgba(9,20,90,.25) 100%),url("assets/ec2103-analizador-calidad-energia-hd.webp")!important;
}
.home .ec25-router-intro::after{background-image:url("assets/ec2103-analizador-calidad-energia-hd.webp")!important}
.home .ec25-router-intro .ec281-intro-guide{font-size:28px!important;line-height:1.3!important;font-weight:800!important;max-width:920px!important;margin:24px 0 22px!important;color:#fff!important}
@media(max-width:720px){
 .home .ec25-router-intro{background-image:linear-gradient(90deg,rgba(5,13,57,.96),rgba(7,20,75,.76)),url("assets/ec2103-analizador-calidad-energia-hd.webp")!important}
 .home .ec25-router-intro .ec281-intro-guide{font-size:22px!important;line-height:1.35!important;margin:20px 0!important}
}

/* v2.10.4: imagen de cabecera completamente estática, incluso al pasar el cursor. */
.home .ec25-router-intro,
.home .ec25-router-intro:hover,
.home .ec25-router-intro::before,
.home .ec25-router-intro::after,
.home .ec25-router-intro:hover::before,
.home .ec25-router-intro:hover::after {
  animation:none!important;
  transition:none!important;
  transform:none!important;
  background-position:center center!important;
  background-size:cover!important;
}
.home .ec25-router-intro::after,
.home .ec25-router-intro:hover::after {
  opacity:0!important;
  content:none!important;
}


/* v2.10.5: zoom exclusivo de la fotografía del CTA final al pasar el cursor. */
.ec277-cta.ec-cta-final .ec277-cta__visual{
  overflow:hidden;
  background-image:none!important;
  isolation:isolate;
}
.ec277-cta.ec-cta-final .ec277-cta__visual::before{
  content:"";
  position:absolute;
  inset:0;
  z-index:-1;
  background:linear-gradient(90deg,#101e83 0%,#101e8340 32%,#101e8305 75%),url("assets/ec299-orientacion-ensayos-tecnico-sin-logo.webp") center/cover no-repeat;
  transform:scale(1);
  transform-origin:center;
  transition:transform .8s cubic-bezier(.2,.75,.25,1);
  pointer-events:none;
}
@media(hover:hover) and (prefers-reduced-motion:no-preference){
  .ec277-cta.ec-cta-final:hover .ec277-cta__visual::before{transform:scale(1.085)}
}
@media(prefers-reduced-motion:reduce){
  .ec277-cta.ec-cta-final .ec277-cta__visual::before{transition:none!important;transform:none!important}
}


/* v2.10.6: las tres áreas comparten fondo celeste y una composición más compacta. */
.home .ec282-panels{
  gap:12px!important;
  padding:12px!important;
  margin-bottom:24px!important;
}
.home .ec282-panel,
.home .ec282-panel:nth-child(2),
.home .ec282-panel:nth-child(3){
  background:#eaf6ff!important;
  border:1px solid #c9e6f7!important;
  border-radius:13px!important;
  padding:14px!important;
}
.home .ec282-panel-heading{
  gap:10px!important;
  margin-bottom:10px!important;
}
.home .ec282-panel-heading h3{
  font-size:clamp(1.35rem,2.15vw,1.8rem)!important;
  margin:2px 0 4px!important;
}
.home .ec2101-area-desc{
  font-size:.87rem!important;
  line-height:1.35!important;
  margin:0!important;
}
.home .ec282-panel .ec-accesos{gap:11px!important}
.home .ec282-panel .ec-acceso__visual{height:105px!important}
.home .ec282-panel .ec-acceso__problema{
  font-size:.98rem!important;
  line-height:1.25!important;
  padding:10px 12px 0!important;
}
.home .ec282-panel .ec-acceso__texto{
  font-size:.84rem!important;
  line-height:1.35!important;
}
.home .ec282-panel .ec-acceso__servicio{font-size:.69rem!important}
@media(max-width:590px){
  .home .ec282-panels{gap:10px!important;padding:8px!important}
  .home .ec282-panel{padding:12px!important}
  .home .ec282-panel .ec-acceso__visual{height:140px!important}
}

/* v2.10.7: simplificación de cinco bloques a tres, preservando enlaces internos. */
.home .ec271-results{margin:25px 0!important;padding:clamp(20px,3vw,32px)!important}
.home .ec271-results .ec271-lead{margin-bottom:16px!important}
.home .ec271-timeline{gap:12px!important;margin-top:12px!important}
.home .ec271-card img{height:105px!important}
.home .ec271-card-copy{padding:12px 14px 16px!important}
.home .ec271-report-row{margin-top:18px!important;padding:17px!important;gap:16px!important}
.home .ec272-process{margin:25px 0!important;padding:clamp(20px,3vw,32px)!important}
.home .ec272-sub{margin-bottom:17px!important}
.home .ec272-steps{gap:12px!important}
.home .ec272-step img{height:115px!important}
.home .ec272-copy{padding:12px 14px 17px!important}
.home .ec274-norm{padding:clamp(20px,3vw,32px)!important;margin:25px 0!important}
.home .ec274-norm__lead{margin-bottom:16px!important}
.home .ec274-norm__grid{gap:12px!important}
.home .ec274-norm__photo{height:125px!important}
.home .ec274-norm__content{padding:15px!important}
.home .ec274-norm__content h3{margin-bottom:6px!important}
.home .ec274-norm__content p{margin-bottom:10px!important}
@media(max-width:600px){.home .ec271-card img,.home .ec272-step img,.home .ec274-norm__photo{height:145px!important}}


/* v2.10.8: hero con video del cliente, sin fondo azul. */
.home .ec-hero.ec2108-video-hero{
 position:relative!important;
 isolation:isolate;
 background:#292c2e url("assets/ec2108-hero-poster.jpg") center/cover no-repeat!important;
 overflow:hidden!important;
}
.home .ec-hero.ec2108-video-hero .ec2108-hero-video{
 position:absolute;inset:0;width:100%;height:100%;object-fit:cover;
 z-index:-2;pointer-events:none;
}
.home .ec-hero.ec2108-video-hero::before{
 content:"";position:absolute;inset:0;
 background:linear-gradient(90deg,rgba(18,19,20,.87) 0%,rgba(24,25,26,.75) 43%,rgba(25,26,27,.42) 73%,rgba(25,26,27,.22) 100%);
 z-index:-1;pointer-events:none;
}
.home .ec-hero.ec2108-video-hero .ec-contenedor{position:relative;z-index:1}
@media(max-width:700px){
 .home .ec-hero.ec2108-video-hero::before{background:linear-gradient(90deg,rgba(18,19,20,.9),rgba(24,25,26,.7))}
}
@media(prefers-reduced-motion:reduce){
 .home .ec-hero.ec2108-video-hero .ec2108-hero-video{display:none}
}


/* v2.10.9 — jerarquía cromática solicitada para los bloques de la Home.
   No se alteran imágenes, servicios, enlaces ni estructura SEO. */
.home .ec282-panel:nth-child(1){
 background:#e5f5ff!important;border-color:#b6dcf4!important;
}
.home .ec282-panel:nth-child(2){
 background:#e5f5e8!important;border-color:#b8e1c2!important;
}
.home .ec282-panel:nth-child(3){
 background:#f0f2f5!important;border-color:#d8dde4!important;
}
/* Rótulos ÁREA 01 / 02 / 03: más grandes y visualmente predominantes. */
.home .ec282-panel .ec282-panel-tag{
 display:inline-block!important;
 font-size:clamp(1rem,1.55vw,1.24rem)!important;
 line-height:1.2!important;
 font-weight:900!important;
 letter-spacing:.045em!important;
 margin:0 0 4px!important;
}
.home .ec282-panel .ec282-panel-heading h3{
 font-size:clamp(1.55rem,2.55vw,2.15rem)!important;
 line-height:1.15!important;
}
/* Fondo de secciones: paleta pastel alternada. */
.home #ec25-servicios,
.home .ec-home-section#ec25-servicios,
.home .ec274-norm{
 background:#e6f5ff!important;
 border-color:#c8e4f6!important;
}
.home .ec271-results{
 background:#e5f5e8!important;
 border-color:#c0e4c9!important;
}
.home .ec272-process{
 background:#f0f2f5!important;
 border-color:#dce1e7!important;
}
.home .ec275-cover{
 background:#ebf8ed!important;
 border-color:#ccebd2!important;
}
.home .ec276-faq-section{
 background:#f0f2f5!important;
 border-color:#dce1e7!important;
}
@media(max-width:600px){
 .home .ec282-panel .ec282-panel-tag{font-size:1.08rem!important}
 .home .ec282-panel .ec282-panel-heading h3{font-size:1.5rem!important}
}


/* v2.10.10 — escala de grises neutra, con transiciones suaves y tarjetas blancas. */
.home .ec282-panel:nth-child(1){background:linear-gradient(135deg,#ffffff 0%,#f7f8fa 100%)!important;border-color:#e4e7ec!important}
.home .ec282-panel:nth-child(2){background:linear-gradient(135deg,#f7f8fa 0%,#eef1f5 100%)!important;border-color:#dde2e9!important}
.home .ec282-panel:nth-child(3){background:linear-gradient(135deg,#eef1f5 0%,#e5eaf0 100%)!important;border-color:#d5dce5!important}
.home .ec282-panel .ec-acceso{background:#fff!important}
.home #ec25-servicios,.home .ec-home-section#ec25-servicios{
 background:linear-gradient(145deg,#fff 0%,#fafbfc 100%)!important;
 border-color:#e5e8ed!important;
}
.home .ec271-results{
 background:linear-gradient(145deg,#fff 0%,#f7f8fa 100%)!important;
 border-color:#e4e7ec!important;
}
.home .ec272-process{
 background:linear-gradient(145deg,#f7f8fa 0%,#eef1f5 100%)!important;
 border-color:#dfe4eb!important;
}
.home .ec274-norm{
 background:linear-gradient(145deg,#fff 0%,#fafbfc 100%)!important;
 border-color:#e5e8ed!important;
}
.home .ec275-cover{
 background:linear-gradient(145deg,#f7f8fa 0%,#f0f2f5 100%)!important;
 border-color:#dfe4eb!important;
}
.home .ec276-faq-section{
 background:linear-gradient(145deg,#f0f2f5 0%,#e8ecf1 100%)!important;
 border-color:#d8dfe7!important;
}
/* Neutralidad cromática también en las superficies interiores. */
.home .ec271-results .ec271-card,
.home .ec272-process .ec272-step,
.home .ec274-norm .ec274-norm__card,
.home .ec275-cover .ec275-card,
.home .ec276-faq-section details{background-color:#fff!important}

/* v2.10.11: informe técnico fotográfico de Electrocertifica. */
.home .ec271-report-paper.ec2111-report-photo{padding:0!important;border:0!important;max-width:360px!important;background:transparent!important;overflow:hidden!important}
.home .ec271-report-paper.ec2111-report-photo img{display:block;width:100%;height:auto;max-height:360px;object-fit:contain}

/* v2.10.12: imagen RIC visible íntegra sin recorte lateral. */
.home .ec271-card:nth-child(2) img{object-fit:contain!important;object-position:center center!important;background:#f1f4f8!important;}
.home .ec271-card:nth-child(3) img{object-fit:cover!important;object-position:center center!important;}

/* v2.10.13 — menú corporativo responsive en cabecera Astra. */
.ast-primary-header-bar .main-header-menu>.ec2113-nav-item>.menu-link,
.ast-mobile-popup-content .ec2113-nav-item>.menu-link{
 color:#091482!important;font-weight:700!important;
}
.ast-primary-header-bar .main-header-menu>.ec2113-nav-item:hover>.menu-link,
.ast-mobile-popup-content .ec2113-nav-item:hover>.menu-link{color:#2da82c!important}
.ast-primary-header-bar .main-header-menu>.ec2113-nav-cta>.menu-link{
 background:#2da82c!important;color:#fff!important;border-radius:9px!important;
 padding:12px 18px!important;font-weight:800!important;line-height:1.3!important;
 margin-left:10px;transition:background .2s ease!important;
}
.ast-primary-header-bar .main-header-menu>.ec2113-nav-cta:hover>.menu-link{background:#218321!important}
.ast-mobile-popup-content .ec2113-nav-cta>.menu-link,
.ast-header-break-point .main-header-menu>.ec2113-nav-cta>.menu-link{
 background:#2da82c!important;color:#fff!important;border-radius:8px!important;
 font-weight:800!important;margin:9px 12px!important;text-align:center;
}
.ast-primary-header-bar .main-header-menu .ec2113-nav-item .sub-menu{min-width:245px}
.ast-primary-header-bar .main-header-menu .ec2113-nav-item .sub-menu .menu-link{font-weight:600!important}
@media(max-width:921px){
 .ast-primary-header-bar .main-header-menu>.ec2113-nav-cta>.menu-link{margin:8px 12px!important}
}

/* v2.10.16: WhatsApp flotante más visible, sin animaciones invasivas. */
.ec-wa-flotante{width:68px!important;height:68px!important;right:24px!important;bottom:24px!important;box-shadow:0 9px 26px rgba(9,20,130,.24)!important;transition:transform .2s ease,box-shadow .2s ease!important}
.ec-wa-flotante svg{width:35px!important;height:35px!important}
.ec-wa-flotante:hover{transform:scale(1.07)!important;box-shadow:0 12px 30px rgba(9,20,130,.3)!important}
@media(max-width:600px){.ec-wa-flotante{width:60px!important;height:60px!important;right:18px!important;bottom:18px!important}.ec-wa-flotante svg{width:32px!important;height:32px!important}}
@media(prefers-reduced-motion:reduce){.ec-wa-flotante{transition:none!important}.ec-wa-flotante:hover{transform:none!important}}
/* Formulario corporativo integrado antes del CTA final. */
.ec216-contacto{max-width:1240px;margin:45px auto;padding:38px;display:grid;grid-template-columns:.85fr 1.15fr;gap:36px;border-radius:22px;background:linear-gradient(140deg,#f5f7fb,#fff);border:1px solid #e0e7ef;box-sizing:border-box}
.ec216-contacto *{box-sizing:border-box}
.ec216-contacto__eyebrow{display:block;color:#238a2c;font-size:12px;font-weight:800;letter-spacing:.11em;margin-bottom:12px}
.ec216-contacto__intro h2{font-size:clamp(27px,3vw,39px);color:#091482;line-height:1.14;margin:0 0 16px}
.ec216-contacto__intro p{color:#40516b;font-size:16px;line-height:1.65}
.ec216-contacto__hint{font-size:14px!important}
.ec216-contacto__panel{padding:28px;background:white;border:1px solid #e1e8f1;border-radius:17px;box-shadow:0 12px 30px rgba(9,20,130,.06)}
.ec216-contacto__form{display:grid;gap:15px}
.ec216-contacto__cols{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.ec216-contacto__form label{display:grid;gap:7px;color:#091482;font-weight:700;font-size:14px}
.ec216-contacto__form input:not([type=checkbox]),.ec216-contacto__form textarea{width:100%;border:1px solid #cbd5e2;border-radius:9px;padding:12px 13px;background:#fff;color:#1c2431;font:inherit;font-weight:400;min-height:46px}
.ec216-contacto__form input:focus,.ec216-contacto__form textarea:focus{outline:2px solid #091482;outline-offset:1px}
.ec216-contacto__form .ec216-contacto__consent{display:flex;align-items:flex-start;gap:11px;font-weight:400;line-height:1.5;color:#40516b}
.ec216-contacto__consent input{flex:0 0 auto;margin-top:4px;width:18px;height:18px;accent-color:#2da82c}
.ec216-contacto__consent a{color:#091482;text-decoration:underline}
.ec216-contacto__submit{border:0!important;background:#2da82c!important;color:#fff!important;padding:15px 22px!important;border-radius:10px!important;font-weight:800!important;cursor:pointer;min-height:50px}
.ec216-contacto__submit:hover{background:#218823!important}
.ec216-contacto__form small{color:#5b697c;line-height:1.5}
.ec216-contacto__notice,.ec216-contacto__error{padding:12px;border-radius:8px;margin:0 0 15px}.ec216-contacto__notice{background:#e9f7eb;color:#176221}.ec216-contacto__error{background:#fff0ed;color:#923b2e}
.ec216-contacto__honeypot{position:absolute!important;left:-10000px!important;width:1px!important;height:1px!important;overflow:hidden!important}
@media(max-width:850px){.ec216-contacto{grid-template-columns:1fr;margin:28px 15px;padding:24px;gap:16px}}
@media(max-width:500px){.ec216-contacto{padding:18px 12px}.ec216-contacto__panel{padding:18px 14px}.ec216-contacto__cols{grid-template-columns:1fr}}
/* 2.11: prevent duplicate Astra page title where custom service hero is rendered */
body.ec211-service .entry-header .entry-title,body.ec211-catalog .entry-header .entry-title{display:none}

/* v2.36: three distinct technical illustrations per service */
.ec36-doc-icon{display:block;width:150px;max-width:38%;height:94px;object-fit:cover;border-radius:12px;margin:0 0 16px;box-shadow:0 5px 20px rgba(9,20,130,.12)}

/* v2.37: alternancia visual: SVG de servicio / fotografía WebP / SVG documental. */
.ec214-feature-image .ec226-feature-photo{width:100%;height:100%;min-height:300px;object-fit:cover;display:block}
.ec36-doc-icon{object-fit:contain;background:#f5f8fb;padding:8px}
@media(max-width:767px){.ec214-feature-image .ec226-feature-photo{min-height:220px}}

/* v2.52.0 — WhatsApp: marca oficial en blanco, mayor tamaño y contraste. */
.ec-wa-flotante{width:76px!important;height:76px!important;right:22px!important;bottom:22px!important;background:#25D366!important;color:#fff!important;border:3px solid #fff!important;border-radius:50%!important;box-shadow:0 8px 26px rgba(9,20,130,.25)!important;display:flex!important;align-items:center!important;justify-content:center!important;padding:0!important;line-height:1!important}
.ec-wa-flotante svg{display:block!important;width:43px!important;height:43px!important;fill:#fff!important;flex-shrink:0!important}
.ec-wa-flotante:hover{background:#1ebe5b!important;transform:scale(1.06)!important}
.ec-wa-flotante:focus-visible{outline:3px solid #091482!important;outline-offset:3px!important}
@media(max-width:600px){.ec-wa-flotante{width:66px!important;height:66px!important;right:16px!important;bottom:16px!important}.ec-wa-flotante svg{width:38px!important;height:38px!important}}
@media(prefers-reduced-motion:reduce){.ec-wa-flotante{transition:none!important}.ec-wa-flotante:hover{transform:none!important}}

/* v2.61.0 — Logos de clientes originales: fondos blancos y proporciones intactas */
.ec-about-clients,.ec53-home-clients{background:#fff!important}
.ec-about-client,.ec53-client{background:#fff!important;display:flex;align-items:center;justify-content:center;overflow:hidden}
.ec-about-client img,.ec53-client img{width:100%;max-width:210px;height:96px;object-fit:contain;object-position:center;display:block;margin:auto}
@media(max-width:600px){.ec-about-client img,.ec53-client img{max-width:155px;height:82px}}

/* v2.62.0: equal-sized white logo panels on Inicio and Nosotros */
.ec53-home-clients,.ec-about-clients{background-color:#fff!important}
.ec53-client-grid,.ec-about-client-grid{align-items:stretch}
.ec53-client,.ec-about-client{
  background:#fff!important;box-sizing:border-box;display:flex!important;
  align-items:center!important;justify-content:center!important;
  min-height:155px!important;padding:12px!important;
  border:1px solid #dce5ef;border-radius:14px;overflow:hidden
}
.ec53-client img,.ec-about-client img{
  display:block!important;width:100%!important;height:120px!important;
  max-width:none!important;max-height:none!important;object-fit:contain!important;
  object-position:center!important;margin:0 auto!important
}
@media(max-width:767px){
 .ec53-client,.ec-about-client{min-height:112px!important;padding:8px!important}
 .ec53-client img,.ec-about-client img{height:94px!important}
}

/* v2.63.0 — mapa sin bandas o márgenes de presentación, Inicio y Cobertura */
.home img.ec-corp-coverage__map,
.ec-corp-coverage__map{
  display:block!important;width:100%!important;height:auto!important;
  max-height:none!important;object-fit:cover!important;
  border-radius:18px!important;margin:0!important;padding:0!important;
}
.ec-coverage-page .ec-coverage-map{
  padding:0!important;overflow:hidden!important;border-radius:20px!important;
  background:transparent!important;
}
.ec-coverage-page .ec-coverage-map img{
  display:block!important;width:100%!important;height:auto!important;
  max-height:none!important;object-fit:cover!important;
  border-radius:20px!important;margin:0!important;padding:0!important;
}

/* v2.70: anchor target is visible below sticky navigation */
#ec25-faq{scroll-margin-top:110px}

/* v2.72 — FAQ: panel lateral compacto y tipografía consistente en todos los tamaños */
.ec276-faq-section .ec276-faq-layout{display:grid!important;grid-template-columns:minmax(0,1.8fr) minmax(250px,.85fr)!important;align-items:start!important;gap:24px!important}
.ec276-faq-section .ec276-faq-help{box-sizing:border-box!important;width:100%!important;min-width:0!important;max-width:360px!important;min-height:0!important;height:auto!important;padding:24px!important;border-radius:17px!important;align-self:start!important}
.ec276-faq-section .ec276-faq-help__icon{width:46px!important;height:46px!important;margin:0 0 14px!important;border-radius:12px!important}
.ec276-faq-section .ec276-faq-help__icon svg{width:26px!important;height:26px!important}
.ec276-faq-section .ec276-faq-help__tag{display:block!important;font-size:11px!important;line-height:1.4!important;letter-spacing:.08em!important}
.ec276-faq-section .ec276-faq-help h3{font-size:clamp(19px,1.7vw,24px)!important;line-height:1.25!important;font-weight:750!important;margin:10px 0!important;color:#fff!important}
.ec276-faq-section .ec276-faq-help p{font-size:14px!important;line-height:1.55!important;font-weight:400!important;letter-spacing:normal!important;margin:0 0 18px!important;color:#e3eafa!important;overflow-wrap:break-word!important}
.ec276-faq-section .ec276-faq-help__btn{display:inline-flex!important;width:auto!important;max-width:100%!important;min-height:44px!important;padding:11px 15px!important;font-size:13px!important;line-height:1.3!important;font-weight:700!important;letter-spacing:normal!important;text-align:center!important;white-space:normal!important;box-sizing:border-box!important}
.ec276-faq-section .ec276-faq-help__btn span{font-size:16px!important;flex-shrink:0}
@media(max-width:800px){.ec276-faq-section .ec276-faq-layout{grid-template-columns:1fr!important}.ec276-faq-section .ec276-faq-help{max-width:100%!important}}

/* v2.78: movimiento hover en banners de inicio y cierre de Servicios */
@media (hover:hover) and (pointer:fine) and (prefers-reduced-motion:no-preference){
 body.ec214-service .ec212-hero,body.ec214-service .ec267-catalog-cta,body.ec214-service .ec214-cta{transition:transform .35s ease,box-shadow .35s ease,filter .35s ease;will-change:transform}
 body.ec214-service .ec212-hero:hover,body.ec214-service .ec267-catalog-cta:hover,body.ec214-service .ec214-cta:hover{transform:translateY(-5px);box-shadow:0 22px 48px rgba(9,20,130,.20)}
 body.ec214-service .ec212-hero-photo img{transition:transform .7s cubic-bezier(.2,.7,.2,1)}
 body.ec214-service .ec212-hero:hover .ec212-hero-photo img{transform:scale(1.055)}
 body.ec214-service .ec267-cta-photo{transition:transform .65s ease,filter .65s ease}
 body.ec214-service .ec267-catalog-cta:hover .ec267-cta-photo{filter:brightness(1.08)}
 body.ec214-service .ec212-hero .ec212-button,body.ec214-service .ec267-catalog-cta .ec212-button,body.ec214-service .ec214-cta .ec212-button{transition:transform .25s ease,box-shadow .25s ease}
 body.ec214-service .ec212-hero .ec212-button:hover,body.ec214-service .ec267-catalog-cta .ec212-button:hover,body.ec214-service .ec214-cta .ec212-button:hover{transform:translateY(-3px);box-shadow:0 9px 22px rgba(9,20,130,.22)}
}
@media (prefers-reduced-motion:reduce){body.ec214-service .ec212-hero,body.ec214-service .ec267-catalog-cta,body.ec214-service .ec214-cta,body.ec214-service .ec212-hero-photo img{transition:none!important}}

/* v2.79: hover on the actual standalone final CTA (ec225, not removed ec214). */
@media (hover:hover) and (pointer:fine) and (prefers-reduced-motion:no-preference){
 body.ec214-service .ec225-cta-standalone .ec225-cta-inner{transition:transform .32s ease,box-shadow .32s ease,background-color .32s ease!important;transform:translateY(0);will-change:transform}
 body.ec214-service .ec225-cta-standalone:hover .ec225-cta-inner{transform:translateY(-7px)!important;box-shadow:0 24px 48px rgba(9,20,130,.25)!important;background-color:#111d91!important}
 body.ec214-service .ec225-cta-standalone .ec225-cta-button{transition:transform .22s ease,box-shadow .22s ease,background-color .22s ease!important}
 body.ec214-service .ec225-cta-standalone .ec225-cta-button:hover{transform:translateY(-3px)!important;box-shadow:0 9px 22px rgba(0,0,0,.17)!important}
}
@media(prefers-reduced-motion:reduce){body.ec214-service .ec225-cta-standalone .ec225-cta-inner,body.ec214-service .ec225-cta-standalone .ec225-cta-button{transition:none!important;transform:none!important}}

/* v2.80: Catalogue related tests after technical content, before final CTA. */
body.page-id-0 .ec280-ensayos,body.ec214-service .ec280-ensayos{max-width:1160px;margin:56px auto 42px;padding:36px clamp(20px,4vw,48px);border:1px solid #dce3f0;border-radius:20px;background:#f5f8fd;box-sizing:border-box}
body.ec214-service .ec280-families{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin-top:28px}
body.ec214-service .ec280-family{background:#fff;border:1px solid #e1e7f0;border-radius:14px;padding:24px;transition:border-color .25s ease,box-shadow .25s ease}
body.ec214-service .ec280-family:hover{border-color:#2da82c;box-shadow:0 12px 28px rgba(9,20,130,.09)}
body.ec214-service .ec280-family h3{font-size:19px;margin:0 0 14px;color:#091482}
body.ec214-service .ec280-family ul{list-style:none;margin:0;padding:0;display:grid;gap:9px}
body.ec214-service .ec280-family li a{color:#35415e;text-decoration:none}
body.ec214-service .ec280-family li a:hover{color:#091482;text-decoration:underline}
/* The final catalogue banner stays still: only its photo zooms within its crop. */
body.ec214-service .ec267-catalog-cta,body.ec214-service .ec267-catalog-cta:hover{transform:none!important;box-shadow:none!important;filter:none!important}
body.ec214-service .ec267-catalog-cta{overflow:hidden}
body.ec214-service .ec267-cta-photo{overflow:hidden;position:relative;transform:none!important;filter:none!important}
body.ec214-service .ec267-cta-photo::before{content:"";position:absolute;inset:0;background-image:inherit;background-position:inherit;background-size:cover;background-repeat:no-repeat;transform:scale(1);transition:transform .65s ease;will-change:transform}
body.ec214-service .ec267-catalog-cta:hover .ec267-cta-photo::before{transform:scale(1.09)}
@media(max-width:767px){body.ec214-service .ec280-families{grid-template-columns:1fr}body.ec214-service .ec280-ensayos{margin:30px auto;padding:24px 18px}}
@media(prefers-reduced-motion:reduce){body.ec214-service .ec267-cta-photo::before{transition:none!important;transform:none!important}}

/* v2.90 — FAQ shortcode embedded inside technical documentation accordion.
   The FAQ must not use its homepage two-column layout inside a document panel. */
body.ec214-service .ec221-document .ec221-detail-content .ec276-faq-section{
  display:block!important;width:100%!important;max-width:100%!important;
  min-width:0!important;margin:12px 0!important;padding:clamp(16px,2.5vw,28px)!important;
  border-radius:16px!important;overflow:visible!important;
}
body.ec214-service .ec221-document .ec221-detail-content .ec276-faq-layout{
  display:flex!important;flex-direction:column!important;align-items:stretch!important;
  grid-template-columns:none!important;gap:20px!important;width:100%!important;min-width:0!important;
}
body.ec214-service .ec221-document .ec221-detail-content .ec276-faq-layout > .ec-faq{
  display:block!important;width:100%!important;max-width:100%!important;min-width:0!important;
}
body.ec214-service .ec221-document .ec221-detail-content .ec276-faq-layout > .ec-faq > details{
  display:block!important;width:100%!important;max-width:100%!important;min-width:0!important;
  margin:0 0 10px!important;overflow:hidden!important;
}
body.ec214-service .ec221-document .ec221-detail-content .ec276-faq-help{
  display:block!important;position:relative!important;width:100%!important;
  max-width:100%!important;min-width:0!important;height:auto!important;
  margin:0!important;padding:clamp(20px,3vw,30px)!important;clear:both!important;
  overflow:hidden!important;box-sizing:border-box!important;
}
body.ec214-service .ec221-document .ec221-detail-content .ec276-faq-help *{
  max-width:100%!important;overflow-wrap:normal!important;word-break:normal!important;
}
body.ec214-service .ec221-document .ec221-detail-content .ec276-faq-help__btn{
  display:inline-flex!important;width:auto!important;max-width:100%!important;
}
@media(max-width:600px){
 body.ec214-service .ec221-document .ec221-detail-content .ec276-faq-section{padding:15px!important}
}
