/* =========================================================
   EDG — ajustes propios sobre la plantilla Sekure
   (la paleta se aplica en build.py sobre style.sekure.css)
   ========================================================= */
.saltar-contenido { position: absolute; left: -9999px; top: 0; z-index: 9999; background: #0B3C68; color: #fff; padding: 10px 16px; }
.saltar-contenido:focus { left: 12px; top: 12px; }

.navbar-brand img { width: 180px; height: auto; }

/* Sekure pone Mayúscula En Cada Palabra (estilo inglés); en español va
   solo la inicial. */
h1, h2, h3, h4, h5, h6, .btn, .nav__item-link, .footer-widget__title,
.comment__reply, .widget-tags a, .portfolio-filter a, .job__type { text-transform: none !important; }

/* Subtítulos sobre fondos oscuros: cian para contraste */
.heading-light .heading__subtitle,
.bg-dark .heading__subtitle,
.heading-light .color-primary { color: #4FC6DD !important; }

/* Íconos SVG dentro de las tarjetas de servicio */
.service__icon svg { width: 1em; height: 1em; }

/* Indicadores */
.edg-indicadores { background: #072A4A; color: #fff; padding: 36px 0; }
.edg-indicador { padding: 12px 0; }
.edg-indicador__valor { display: block; font-family: "Archivo", sans-serif; font-size: 40px; font-weight: 700; color: #4FC6DD; line-height: 1.1; }
.edg-indicador__texto { display: block; font-size: 14px; color: #A9BDD2; }

/* Foto vertical en "Por qué EDG" */
.edg-foto-vertical img { width: 100%; height: 520px; object-fit: cover; }
@media (max-width: 991px) { .edg-foto-vertical img { height: 320px; } }

/* Descripción en las etapas del proceso */
.edg-feature__desc { color: #C9D6E3; font-size: 14px; margin: 12px 0 0; }

/* Beneficios */
.edg-beneficio { padding: 0 0 26px; margin-bottom: 26px; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.edg-beneficio h4 { color: #fff; font-size: 19px; margin-bottom: 8px; }
.edg-beneficio p { color: #A9BDD2; margin: 0; }

/* Marcas sin logotipo todavía: nombre en texto */
.edg-marca-texto { display: block; text-align: center; font-family: "Archivo", sans-serif; font-weight: 700; font-size: 20px; color: #55616E; padding: 18px 0; }

/* Formulario */
.edg-oculto { position: absolute; left: -9999px; }
.edg-form-mensaje { margin-top: 18px; padding: 12px 16px; border-radius: 6px; font-weight: 500; }
.edg-form-mensaje--ok { background: #DCE9F5; color: #072A4A; }
.edg-form-mensaje--error { background: #FDE8E8; color: #8A1C1C; }

.pendiente-pie { color: #75818E; }

/* ---------- Componentes de páginas internas ---------- */
.edg-seccion { padding: 110px 0 80px; }
.edg-seccion--alt { background: #F7F9FC; }
.edg-seccion--oscura { background: #072A4A; color: #A9BDD2; }
.edg-seccion--oscura h2, .edg-seccion--oscura h3, .edg-seccion--oscura h4 { color: #fff; }
@media (max-width: 767px) { .edg-seccion { padding: 70px 0 50px; } }

.edg-tarjeta { background: #fff; border: 1px solid #DDE3EA; padding: 34px 30px; height: calc(100% - 30px); margin-bottom: 30px; transition: box-shadow .3s; }
.edg-tarjeta:hover { box-shadow: 0 14px 40px rgba(7, 42, 74, .08); }
.edg-tarjeta h3, .edg-tarjeta h4 { font-size: 19px; margin-bottom: 12px; }
.edg-tarjeta p:last-child, .edg-tarjeta ul:last-child { margin-bottom: 0; }
.edg-tarjeta__icono { width: 54px; height: 54px; display: grid; place-items: center; background: #DCE9F5; color: #0B3C68; margin-bottom: 20px; }
.edg-tarjeta__icono svg { width: 26px; height: 26px; }
.edg-seccion--oscura .edg-tarjeta { background: rgba(255, 255, 255, .04); border-color: rgba(255, 255, 255, .12); }
.edg-seccion--oscura .edg-tarjeta p { color: #A9BDD2; }

.edg-lista { list-style: none; padding: 0; margin: 0; }
.edg-lista li { position: relative; padding-left: 28px; margin-bottom: 10px; }
.edg-lista li::before { content: ""; position: absolute; left: 0; top: 7px; width: 14px; height: 8px; border-left: 2px solid #1668AE; border-bottom: 2px solid #1668AE; transform: rotate(-45deg); }

.edg-cta { background: #0B3C68; color: #DCE9F5; padding: 50px 46px; display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; }
.edg-cta h2 { color: #fff; font-size: 28px; margin-bottom: 8px; }
.edg-cta p { margin: 0; color: #DCE9F5; }
.edg-cta .btn { flex-shrink: 0; }

/* ---------- Soluciones ---------- */
.edg-indice__item { display: flex; gap: 14px; align-items: baseline; padding: 18px 20px; margin-bottom: 16px; border: 1px solid #DDE3EA; background: #fff; color: #072A4A; font-family: "Archivo", sans-serif; font-weight: 600; transition: border-color .2s, box-shadow .2s; }
.edg-indice__item span { color: #1668AE; font-size: 14px; }
.edg-indice__item:hover { border-color: #1668AE; box-shadow: 0 10px 30px rgba(7, 42, 74, .08); color: #072A4A; }
.edg-solucion { scroll-margin-top: 90px; }
.edg-beneficio-destacado { border-left: 3px solid #12A5C4; background: #EEF6FA; padding: 18px 22px; margin-bottom: 26px; }
.edg-beneficio-destacado strong { display: block; color: #072A4A; font-family: "Archivo", sans-serif; font-size: 17px; margin-bottom: 4px; }
.edg-beneficio-destacado p { margin: 0; }
.edg-seccion--alt .edg-beneficio-destacado { background: #fff; }
.edg-solucion__media img { width: 100%; height: 320px; object-fit: cover; display: block; }
.edg-entregables { background: #072A4A; color: #DCE9F5; padding: 28px 30px; }
.edg-entregables h4 { color: #fff; font-size: 17px; margin-bottom: 16px; }
.edg-entregables .edg-lista li { font-size: 14px; }
.edg-entregables .edg-lista li::before { border-color: #4FC6DD; }
@media (max-width: 991px) { .edg-solucion__media { margin-top: 20px; } }

/* Franja de título más baja que la de Sekure (758 px) */
@media (min-width: 992px) {
  .page-title-layout1 { padding-top: 220px !important; padding-bottom: 110px !important; }
  .page-title-layout1 .pagetitle__heading { max-width: 900px; margin: 0 auto; }
}

/* ---------- Marcas ---------- */
.edg-marca { background: #fff; border: 1px solid #DDE3EA; height: 130px; margin-bottom: 24px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; padding: 16px; text-align: center; }
.edg-marca img { max-width: 140px; max-height: 48px; }
.edg-marca span:not(.edg-marca-texto) { font-size: 12px; letter-spacing: .5px; text-transform: uppercase; color: #75818E; }
.edg-marca .edg-marca-texto { padding: 0; }
.edg-tarjeta--marcas p strong { color: #072A4A; }
.edg-aviso { border-left: 3px solid #A3AEB9; background: #F7F9FC; padding: 22px 26px; font-size: 14px; margin-top: 10px; }
.edg-aviso strong { display: block; color: #2B343D; margin-bottom: 6px; }
.edg-aviso p { margin: 0; }


/* ---------- Contacto ---------- */
.edg-contacto { padding: 110px 0 80px; }
.edg-contacto .contact__list li { display: flex; gap: 10px; align-items: baseline; }
.edg-contacto .contact__list a, .edg-contacto .contact__list span { color: #fff; }
.edg-ficha-legal { margin: 0 0 16px; }
.edg-ficha-legal div { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 20px; padding: 12px 0; border-bottom: 1px solid #DDE3EA; }
.edg-ficha-legal dt { color: #55616E; font-weight: 500; }
.edg-ficha-legal dd { margin: 0; color: #072A4A; font-weight: 600; }
.edg-tarjeta--destacada { background: #EEF6FA; border-color: #BFE3EE; }
.pendiente { display: inline-block; background: #FFF4D6; color: #7A5600; padding: 1px 8px; font-size: 13px; font-weight: 600; }
.edg-contacto .pendiente { background: rgba(255, 255, 255, .15); color: #fff; }

/* Texto de lectura justificado, solicitado por EDG. */
main p, .footer p { text-align: justify; text-justify: inter-word; hyphens: auto; }
/* La fotografía se mantiene visible; el resumen va debajo. */
.about-layout3 .about__img .cta-banner { position: static; margin: 0; width: 100%; max-width: none; transform: none; padding: 28px; }
.edg-indicador__valor { overflow-wrap: normal; }

/* Portada informativa: lectura tranquila, sin carrusel ni botones de venta. */
.edg-portada { padding: 64px 0; background: #F7F9FC; }
.edg-portada__texto { padding: 12px 40px 12px 0; }
.edg-portada__etiqueta { display: block; color: #55616E; font-size: 13px; margin-bottom: 18px; letter-spacing: .05em; }
.edg-portada h1 { font-size: clamp(28px, 3vw, 42px); line-height: 1.2; color: #072A4A; margin-bottom: 20px; }
.edg-portada p { font-size: 17px; line-height: 1.7; color: #55616E; text-align: left; hyphens: none; max-width: 430px; margin-bottom: 24px; }
.edg-portada__enlace { font-size: 14px; font-weight: 600; color: #0B3C68; text-decoration: underline; text-underline-offset: 5px; }
.edg-portada__enlace span { margin-left: 10px; }
.edg-portada__foto { width: 100%; height: 310px; display: block; object-fit: cover; border-radius: 4px; }
@media (max-width: 991px) {
 .edg-portada { padding: 36px 0; }
 .edg-portada__texto { padding: 0 0 28px; }
 .edg-portada h1 { max-width: 560px; }
 .edg-portada__foto { height: 210px; }
}

/* Mantener el formulario visible al navegar desde Contacto o cotización. */
#form-cotizacion { scroll-margin-top: 100px; }
@media (max-width: 991px) { #form-cotizacion { scroll-margin-top: 24px; } }

/* WhatsApp disponible en todas las páginas, sin interrumpir la lectura. */
.edg-whatsapp { position: fixed; right: max(22px, env(safe-area-inset-right)); bottom: max(22px, env(safe-area-inset-bottom)); z-index: 1100; display: flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 50%; background: #15843C; color: #fff; font-size: 32px; line-height: 1; box-shadow: 0 4px 16px rgba(0,0,0,.22); transition: background .2s; }
.edg-whatsapp:hover { color: #fff; background: #106C30; }
.edg-whatsapp:focus-visible { outline: 3px solid #0B3C68; outline-offset: 4px; }
@media (max-width: 767px) { .edg-whatsapp { right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); } }
