/* ============================================================
   MENDOSUR · corp.css
   Identidad corporativa: cabecera blanca, portada partida y
   las dos áreas. Se carga en todas las páginas, después de
   core.css. Los nombres llevan prefijo ms- para no chocar con
   los componentes internos (.hero, .nav, .card...).
   ============================================================ */
:root {
  --c-navy:      #0E2A47;
  --c-navy-2:    #0A1F36;
  --c-tel:       #1668C9;
  --c-tel-dark:  #0F4E9B;
  --c-tel-soft:  #EAF2FC;
  --c-amb:       #2E9E4F;
  --c-amb-dark:  #1E7A3B;
  --c-amb-soft:  #ECF7EF;
  --c-gris:      #5A6B7D;
  --c-linea:     #E3EAF1;
  --c-fondo:     #F5F8FB;
  --cab-h:       116px;
}

/* ============================================================
   1. CABECERA
   ============================================================ */
.ms-cab {
  position: sticky; top: 0; z-index: 90;
  background: #fff; border-bottom: 1px solid var(--c-linea);
  transition: box-shadow .25s ease;
}
.ms-cab.nav--fija { box-shadow: 0 6px 24px rgba(14,42,71,.08); }
.ms-cab__in {
  width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 32px;
  height: var(--cab-h); display: flex; align-items: center; justify-content: space-between; gap: 28px;
}
.ms-logo { display: block; flex: none; line-height: 0; }
.ms-logo img { width: 292px; height: auto; }
/* los logos de unidad tienen el nombre en dos líneas: van algo más chicos */
.u-telecom .ms-logo img, .u-ambiental .ms-logo img { width: 264px; }
.ms-menu { display: flex; align-items: center; gap: 34px; }
.ms-menu a {
  position: relative; font-size: 15px; font-weight: 600; color: var(--c-navy);
  padding: 8px 0; white-space: nowrap; text-decoration: none;
}
.ms-menu a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .22s ease;
}
.ms-menu a:hover { text-decoration: none; }
.ms-menu a:hover::after { transform: scaleX(1); }
.ms-menu a[aria-current="page"]::after { transform: scaleX(1); }
.ms-menu a.ms-m-tel[aria-current="page"], .ms-menu a.ms-m-inicio[aria-current="page"] { color: var(--c-tel); }
.ms-menu a.ms-m-amb[aria-current="page"] { color: var(--c-amb); }
.ms-menu a.ms-m-contacto { color: var(--c-amb); font-weight: 700; }
.ms-burger {
  display: none; background: none; border: 1px solid var(--c-linea);
  border-radius: 8px; padding: 10px; cursor: pointer; color: var(--c-navy);
}
.ms-burger svg { width: 22px; height: 22px; }

/* sub-navegación dentro de cada unidad */
.ms-sub { background: var(--c-fondo); border-bottom: 1px solid var(--c-linea); }
.ms-sub__in {
  width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 32px;
  display: flex; align-items: center; gap: 26px; height: 52px; overflow-x: auto;
}
.ms-sub a {
  font-size: 13.5px; font-weight: 600; color: var(--c-gris); white-space: nowrap;
  padding: 6px 0; border-bottom: 2px solid transparent; text-decoration: none;
}
.ms-sub a:hover { color: var(--c-navy); text-decoration: none; }
.u-telecom .ms-sub a[aria-current="page"] { color: var(--c-tel); border-bottom-color: var(--c-tel); }
.u-ambiental .ms-sub a[aria-current="page"] { color: var(--c-amb); border-bottom-color: var(--c-amb); }

/* ============================================================
   2. PORTADA PARTIDA
   ============================================================ */
.ms-portada { background: linear-gradient(180deg,#fff 0%, var(--c-fondo) 100%); overflow: hidden; }
.ms-portada__in {
  width: 100%; max-width: none; margin: 0;
  padding: 0 0 0 max(32px, calc((100% - 1280px) / 2 + 32px));
  display: grid; grid-template-columns: minmax(0, 668px) minmax(0, 1fr);
  align-items: center; gap: clamp(30px, 4.5vw, 70px);
  min-height: min(calc(100svh - var(--cab-h)), 760px);
}
.ms-portada__txt { padding: clamp(48px,6vh,84px) 0; }
.ms-eyebrow {
  display: block; font-size: 12px; font-weight: 700; letter-spacing: .26em;
  text-transform: uppercase; color: var(--c-gris);
}
.ms-portada h1 {
  margin: 22px 0 0; color: var(--c-navy);
  font-size: clamp(1.95rem, 2.95vw, 2.65rem); line-height: 1.14; letter-spacing: -.03em; font-weight: 800;
}
.ms-portada h1 em { font-style: normal; color: var(--c-amb); white-space: nowrap; }
@media (max-width: 460px) { .ms-portada h1 em { white-space: normal; } }
.ms-portada__lead {
  margin-top: 22px; font-size: 1.12rem; line-height: 1.6; color: var(--c-gris); max-width: 52ch;
}
.ms-acciones { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.ms-btn {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 15px 26px; border-radius: 8px; font-size: 15px; font-weight: 700;
  color: #fff; text-decoration: none; border: 1px solid transparent;
  transition: background .2s, transform .18s cubic-bezier(.22,.61,.36,1), box-shadow .22s;
}
.ms-btn svg { width: 17px; height: 17px; }
.ms-btn:hover { text-decoration: none; transform: translateY(-2px); color: #fff; }
.ms-btn--tel { background: var(--c-tel); }
.ms-btn--tel:hover { background: var(--c-tel-dark); box-shadow: 0 12px 26px rgba(22,104,201,.26); }
.ms-btn--amb { background: var(--c-amb); }
.ms-btn--amb:hover { background: var(--c-amb-dark); box-shadow: 0 12px 26px rgba(46,158,79,.26); }
.ms-btn--linea { background: transparent; color: var(--c-navy); border-color: var(--c-linea); }
.ms-btn--linea:hover { background: #fff; color: var(--c-navy); border-color: var(--c-navy); }

.ms-portada__foto { position: relative; align-self: stretch; min-height: 460px; }
.ms-portada__foto img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 62% center;
  clip-path: polygon(14% 0, 100% 0, 100% 100%, 0 100%);
}
.ms-portada__foto::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  clip-path: polygon(14% 0, 100% 0, 100% 100%, 0 100%);
  background: linear-gradient(100deg, rgba(245,248,251,.9) 0%, rgba(245,248,251,0) 22%);
}

/* ============================================================
   3. LAS DOS ÁREAS
   ============================================================ */
.ms-areas { background: #fff; padding: clamp(64px,7vw,108px) 0; }
.ms-wrap { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 32px; }

/* --- encabezado centrado de la sección --- */
.ms-tit { max-width: 62ch; margin: 0 auto; text-align: center; }
.ms-tit .ms-eyebrow { color: var(--c-tel); }
.ms-tit h2 {
  margin: 16px 0 0; color: var(--c-navy); font-weight: 800;
  font-size: clamp(1.9rem, 3.3vw, 2.8rem); line-height: 1.12; letter-spacing: -.03em;
}
.ms-tit h2 em { font-style: normal; color: var(--c-amb); }
.ms-tit p { margin: 20px auto 0; font-size: 1.06rem; line-height: 1.62; color: var(--c-gris); max-width: 62ch; }

/* --- bloque horizontal de área --- */
.ms-bloques { display: grid; gap: clamp(26px,3vw,40px); margin-top: clamp(44px,5vw,68px); }
.ms-bloque {
  display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr);
  background: #fff; border: 1px solid var(--c-linea); border-radius: 22px; overflow: hidden;
  box-shadow: 0 16px 42px rgba(14,42,71,.07);
  transition: box-shadow .3s ease, border-color .3s ease;
}
.ms-bloque:hover { box-shadow: 0 24px 60px rgba(14,42,71,.12); }
.ms-bloque--tel:hover { border-color: #CFE0F5; }
.ms-bloque--amb:hover { border-color: #CDE6D5; }
.ms-bloque--inv .ms-bloque__foto { order: -1; }

.ms-bloque__txt { padding: clamp(34px,3.6vw,60px); display: flex; flex-direction: column; }

/* identificación de marca sobria: texto + línea, sin logo grande */
.ms-firma { display: flex; align-items: center; gap: 14px; margin-bottom: 26px; }
.ms-firma b, .ms-firma span {
  font-size: 11.5px; font-weight: 750; letter-spacing: .24em; text-transform: uppercase; line-height: 1;
}
.ms-firma b { color: var(--c-navy); }
.ms-firma i { display: block; width: 26px; height: 1px; flex: none; }
.ms-bloque--tel .ms-firma i { background: var(--c-tel); }
.ms-bloque--tel .ms-firma span { color: var(--c-tel); }
.ms-bloque--amb .ms-firma i { background: var(--c-amb); }
.ms-bloque--amb .ms-firma span { color: var(--c-amb); }

.ms-bloque__txt h3 {
  margin: 0; color: var(--c-navy); font-weight: 800;
  font-size: clamp(1.8rem, 2.9vw, 2.45rem); line-height: 1.08; letter-spacing: -.03em;
}
.ms-bajada {
  display: block; margin-top: 10px; font-size: 1.04rem; font-weight: 650; letter-spacing: -.01em;
}
.ms-bloque--tel .ms-bajada { color: var(--c-tel); }
.ms-bloque--amb .ms-bajada { color: var(--c-amb); }
.ms-bloque__txt > p { margin-top: 18px; font-size: 1rem; line-height: 1.66; color: var(--c-gris); max-width: 46ch; }

/* tres ítems con icono lineal */
.ms-items { margin: 30px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--c-linea); }
.ms-items li {
  display: flex; align-items: center; gap: 15px;
  padding: 15px 0; border-bottom: 1px solid var(--c-linea);
  font-size: .97rem; font-weight: 600; color: var(--c-navy);
}
.ms-items svg {
  width: 34px; height: 34px; flex: none; padding: 7px; border-radius: 9px;
  fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round;
}
.ms-bloque--tel .ms-items svg { stroke: var(--c-tel); background: var(--c-tel-soft); }
.ms-bloque--amb .ms-items svg { stroke: var(--c-amb); background: var(--c-amb-soft); }

.ms-bloque__txt .ms-btn { align-self: flex-start; margin-top: 32px; }

/* fotografía del bloque, con una línea editorial encima */
.ms-bloque__foto { position: relative; margin: 0; min-height: 460px; overflow: hidden; }
.ms-bloque__foto img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: transform 1s cubic-bezier(.22,.61,.36,1);
}
.ms-bloque:hover .ms-bloque__foto img { transform: scale(1.04); }
.ms-bloque__foto figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  padding: 58px 30px 26px; color: #fff;
  font-size: clamp(.95rem, 1.35vw, 1.15rem); font-weight: 600; letter-spacing: -.01em;
  background: linear-gradient(to top, rgba(8,24,42,.78), rgba(8,24,42,0));
}
.ms-bloque__foto::before {
  content: ""; position: absolute; top: 0; bottom: 0; width: 4px; z-index: 2;
}
.ms-bloque--tel .ms-bloque__foto::before { left: 0; background: var(--c-tel); }
.ms-bloque--amb .ms-bloque__foto::before { right: 0; background: var(--c-amb); }

/* ============================================================
   4. VALORES
   ============================================================ */
.ms-valores { border-top: 1px solid var(--c-linea); margin-top: clamp(48px,5vw,72px); padding-top: clamp(34px,3.5vw,48px); }
.ms-valores__g { display: grid; grid-template-columns: repeat(4,1fr); gap: 0; }
.ms-valor { padding: 0 30px; display: flex; gap: 16px; align-items: flex-start; border-left: 1px solid var(--c-linea); }
.ms-valor:first-child { border-left: 0; padding-left: 0; }
.ms-valor svg { width: 30px; height: 30px; flex: none; fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.ms-valor:nth-child(odd) svg { stroke: var(--c-tel); }
.ms-valor:nth-child(even) svg { stroke: var(--c-amb); }
.ms-valor b {
  display: block; font-size: 12px; font-weight: 750; letter-spacing: .12em;
  text-transform: uppercase; color: var(--c-navy); line-height: 1.35; margin-bottom: 7px;
}
.ms-valor span { font-size: 13.5px; line-height: 1.5; color: var(--c-gris); }

/* ============================================================
   5. BANDA DE CONTACTO
   ============================================================ */
.ms-contacto {
  background:
    radial-gradient(90% 150% at 0% 0%, rgba(22,104,201,.5) 0%, transparent 58%),
    radial-gradient(90% 150% at 100% 100%, rgba(46,158,79,.42) 0%, transparent 60%),
    var(--c-navy-2);
  color: #fff; padding: clamp(56px,6vw,88px) 0;
}
.ms-contacto__in {
  width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 32px;
  display: grid; grid-template-columns: minmax(0,1.2fr) auto; gap: 44px; align-items: center;
}
.ms-contacto .ms-eyebrow { color: rgba(255,255,255,.66); }
.ms-contacto h2 {
  margin: 16px 0 0; color: #fff; font-weight: 800;
  font-size: clamp(1.7rem, 2.8vw, 2.3rem); line-height: 1.14; letter-spacing: -.03em; max-width: 24ch;
}
.ms-contacto p { margin-top: 14px; color: rgba(255,255,255,.76); font-size: 1.02rem; max-width: 52ch; }
.ms-contacto .ms-btn--blanco { background: #fff; color: var(--c-navy); }
.ms-contacto .ms-btn--blanco:hover { background: rgba(255,255,255,.88); color: var(--c-navy); }

/* ============================================================
   6. RESPONSIVE
   ============================================================ */
@media (max-width: 1080px) {
  .ms-menu {
    display: none; position: absolute; top: var(--cab-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 2px;
    background: #fff; border-bottom: 1px solid var(--c-linea);
    padding: 14px 24px 22px; box-shadow: 0 18px 40px rgba(14,42,71,.12);
  }
  .ms-menu.abierto { display: flex; }
  .ms-menu a { padding: 14px 4px; font-size: 16px; }
  .ms-menu a::after { display: none; }
  .ms-burger { display: inline-flex; }
  .ms-logo img { width: 244px; }
  .u-telecom .ms-logo img, .u-ambiental .ms-logo img { width: 226px; }
  .ms-portada__in { grid-template-columns: 1fr; gap: 0; padding: 0 32px; min-height: 0; }
  .ms-portada__txt { padding: 56px 0 40px; max-width: none; }
  .ms-portada__foto { min-height: 400px; margin: 0 -32px; }
  .ms-portada__foto img, .ms-portada__foto::after { clip-path: none; }
  .ms-bloque, .ms-bloque--inv { grid-template-columns: 1fr; }
  .ms-bloque__foto, .ms-bloque--inv .ms-bloque__foto { order: -1; min-height: 340px; }
  .ms-bloque--amb .ms-bloque__foto::before { right: auto; left: 0; }
  .ms-valores__g { grid-template-columns: 1fr 1fr; gap: 30px 0; }
  .ms-valor:nth-child(odd) { border-left: 0; padding-left: 0; }
  .ms-contacto__in { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 720px) {
  :root { --cab-h: 92px; }
  .ms-cab__in, .ms-sub__in, .ms-wrap, .ms-contacto__in { padding: 0 20px; }
  .ms-logo img { width: 214px; }
  .u-telecom .ms-logo img, .u-ambiental .ms-logo img { width: 200px; }
  .ms-portada__in { padding: 0 20px; }
  .ms-portada__foto { margin: 0 -20px; min-height: 320px; }
  .ms-acciones .ms-btn { width: 100%; justify-content: space-between; }
  .ms-bloque__foto { min-height: 260px; }
  .ms-bloque__foto figcaption { padding: 44px 20px 20px; }
  .ms-bloque__txt { padding: 28px 22px 30px; }
  .ms-bloque__txt .ms-btn { align-self: stretch; }
  .ms-valores__g { grid-template-columns: 1fr; gap: 26px; }
  .ms-valor { border-left: 0; padding: 0; }
  .ms-contacto .ms-btn { width: 100%; justify-content: space-between; }
}

/* ============================================================
   7. MOVIMIENTO (sutil)
   ============================================================ */
.js-anim [data-ms-anim] {
  opacity: 0; transform: translateY(16px);
  transition: opacity .6s cubic-bezier(.22,.61,.36,1), transform .6s cubic-bezier(.22,.61,.36,1);
  transition-delay: var(--d, 0ms);
}
.js-anim [data-ms-anim].is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js-anim [data-ms-anim] { opacity: 1 !important; transform: none !important; }
  .ms-btn:hover, .ms-area:hover { transform: none; }
}
/* logo del grupo en el pie */
.pie__marca { margin-bottom: 18px; }
.pie__marca .pie__logo { width: 200px; height: auto; filter: brightness(0) invert(1); opacity: .92; }
/* la sub-navegación se desplaza sola en pantallas angostas */
.ms-sub__in { scrollbar-width: none; -ms-overflow-style: none; }
.ms-sub__in::-webkit-scrollbar { display: none; }
.ms-sub { position: relative; }
@media (max-width: 720px) {
  .ms-sub::after {
    content: ""; position: absolute; right: 0; top: 0; bottom: 0; width: 34px; pointer-events: none;
    background: linear-gradient(90deg, rgba(245,248,251,0), var(--c-fondo));
  }
}
/* los bloques no pueden forzar el ancho en pantallas angostas */
.ms-bloque > *, .ms-bloque__txt > * { min-width: 0; }
.ms-firma { flex-wrap: wrap; }
@media (max-width: 430px) {
  .ms-firma b, .ms-firma span { font-size: 10.5px; letter-spacing: .16em; }
  .ms-firma i { width: 18px; }
  .ms-bloque__txt h3 { font-size: clamp(1.55rem, 8vw, 1.9rem); }
  .ms-items li { font-size: .92rem; gap: 12px; }
}

/* ============================================================
   8. COMPONENTES CORPORATIVOS DE LAS PÁGINAS DE UNIDAD
   El acento lo define cada unidad con --a / --a-dark / --a-soft.
   ============================================================ */
body.u-grupo     { --a: var(--c-tel); --a-dark: var(--c-tel-dark); --a-soft: var(--c-tel-soft); }
body.u-telecom   { --a: var(--c-tel); --a-dark: var(--c-tel-dark); --a-soft: var(--c-tel-soft); }
body.u-ambiental { --a: var(--c-amb); --a-dark: var(--c-amb-dark); --a-soft: var(--c-amb-soft); }

.ms-portada--u .ms-eyebrow { color: var(--a); }
.ms-portada--u h1 em { color: var(--a); }
.ms-btn--a { background: var(--a); }
.ms-btn--a:hover { background: var(--a-dark); box-shadow: 0 12px 26px rgba(14,42,71,.2); }
.ms-portada--u .ms-portada__foto img { object-position: center; }

/* zócalo de datos bajo la portada de unidad */
.ms-datos {
  display: grid; grid-template-columns: repeat(3, minmax(0,1fr));
  margin-top: 40px; padding-top: 26px; border-top: 1px solid var(--c-linea);
}
.ms-datos div { padding-right: 24px; }
.ms-datos dt { font-size: 11px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--c-gris); }
.ms-datos dd { margin: 7px 0 0; font-size: 1.02rem; font-weight: 700; color: var(--c-navy); letter-spacing: -.01em; }

/* secciones claras y alternadas */
.ms-sec { padding: clamp(58px,6.5vw,100px) 0; background: #fff; }
.ms-sec--claro { background: var(--c-fondo); }
.ms-tit--izq { margin: 0; text-align: left; max-width: 54ch; }
.ms-tit--izq .ms-eyebrow { display: inline-flex; align-items: center; gap: 14px; color: var(--a); }
.ms-tit--izq .ms-eyebrow::before { content: ""; width: 30px; height: 2px; background: var(--a); }
.ms-tit--izq p { margin-left: 0; margin-right: 0; }

/* lista técnica numerada */
.ms-tecnica { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--c-linea); }
.ms-tecnica li {
  display: grid; grid-template-columns: 66px minmax(0,1fr);
  gap: 4px 22px; padding: 26px 0; border-bottom: 1px solid var(--c-linea);
}
.ms-tecnica__n { grid-row: span 2; font-size: 1.5rem; font-weight: 800; color: var(--a); letter-spacing: -.03em; line-height: 1; padding-top: 3px; }
.ms-tecnica h3 { margin: 0; font-size: 1.14rem; font-weight: 750; color: var(--c-navy); letter-spacing: -.02em; }
.ms-tecnica p { margin: 0; font-size: .97rem; line-height: 1.6; color: var(--c-gris); }

/* rejilla de fichas abiertas, sin caja */
.ms-abiertos { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 0 34px; }
.ms-abiertos--3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
.ms-abierto { padding: 26px 0 30px; border-top: 2px solid var(--a); }
.ms-abierto__n { font-size: 11.5px; font-weight: 750; letter-spacing: .2em; color: var(--a); margin-bottom: 14px; }
.ms-abierto h3 { margin: 0 0 9px; font-size: 1.1rem; font-weight: 750; color: var(--c-navy); letter-spacing: -.02em; }
.ms-abierto p { margin: 0; font-size: .95rem; line-height: 1.58; color: var(--c-gris); }

/* galería editorial */
.ms-galeria { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); grid-auto-rows: 196px; grid-auto-flow: dense; gap: 14px; }
.ms-galeria figure { position: relative; margin: 0; overflow: hidden; border-radius: 14px; background: var(--c-fondo); }
.ms-galeria img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s cubic-bezier(.22,.61,.36,1); }
.ms-galeria figure:hover img { transform: scale(1.05); }
.ms-galeria figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 16px 14px;
  font-size: 12.5px; line-height: 1.4; color: #fff;
  background: linear-gradient(to top, rgba(8,24,42,.86), transparent);
  opacity: 0; transform: translateY(6px); transition: opacity .3s, transform .3s;
}
.ms-galeria figure:hover figcaption, .ms-galeria figure:focus-within figcaption { opacity: 1; transform: none; }
.ms-galeria .g-ancho { grid-column: span 2; }
.ms-galeria .g-alto { grid-row: span 2; }
.ms-galeria .g-grande { grid-column: span 2; grid-row: span 2; }

/* proceso en cinco etapas */
.ms-proceso { list-style: none; margin: 0; padding: 54px 0 0; display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); gap: 24px; position: relative; }
.ms-proceso__riel { position: absolute; top: 20px; left: 0; right: 0; height: 2px; background: var(--c-linea); overflow: hidden; padding: 0; }
.ms-proceso__riel i { display: block; height: 100%; background: var(--a); transform: scaleX(var(--p,0)); transform-origin: left; transition: transform .7s cubic-bezier(.22,.61,.36,1); }
.ms-proceso__i { position: relative; }
.ms-proceso__i::before {
  content: ""; position: absolute; top: -41px; left: 0; width: 12px; height: 12px; border-radius: 50%;
  background: #fff; border: 2px solid var(--c-linea); transition: border-color .4s, background .4s, transform .4s;
}
.ms-proceso__i.activo::before { border-color: var(--a); background: var(--a); transform: scale(1.15); }
.ms-proceso__n { font-size: 1.45rem; font-weight: 800; color: var(--a); letter-spacing: -.03em; line-height: 1; margin: 0; }
.ms-proceso__img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 10px; margin: 16px 0; background: var(--c-fondo); }
.ms-proceso__i h3 { margin: 0 0 7px; font-size: 1.02rem; font-weight: 750; color: var(--c-navy); letter-spacing: -.02em; }
.ms-proceso__i p { margin: 0; font-size: .92rem; line-height: 1.55; color: var(--c-gris); }

/* lista con tilde */
.ms-checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 13px; }
.ms-checks li { position: relative; padding-left: 30px; font-size: 1rem; line-height: 1.55; color: var(--c-navy); }
.ms-checks li::before {
  content: ""; position: absolute; left: 2px; top: 8px; width: 13px; height: 7px;
  border-left: 2px solid var(--a); border-bottom: 2px solid var(--a); transform: rotate(-45deg);
}

/* antes / después */
.ms-par { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--c-linea); border-radius: 16px; overflow: hidden; background: #fff; }
.ms-par + .ms-par { margin-top: 18px; }
.ms-par figure { position: relative; margin: 0; display: flex; }
.ms-par img { width: 100%; height: 100%; min-height: 300px; object-fit: cover; }
.ms-par figcaption {
  position: absolute; top: 14px; left: 14px; z-index: 2; padding: 6px 13px; border-radius: 5px;
  font-size: 10.5px; font-weight: 750; letter-spacing: .16em; text-transform: uppercase; color: #fff;
  background: rgba(14,42,71,.82);
}
.ms-par figure + figure figcaption { background: var(--a); }
.ms-par__pie { grid-column: 1/-1; padding: 15px 22px; border-top: 1px solid var(--c-linea); font-size: .92rem; color: var(--c-gris); }

.ms-nota { font-size: .92rem; line-height: 1.6; color: var(--c-gris); }
.ms-credito { font-size: .82rem; line-height: 1.6; color: #8494A4; max-width: 74ch; }
.ms-split { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: clamp(32px,4vw,64px); align-items: start; }
.ms-mt { margin-top: clamp(34px,3.6vw,52px); }
.ms-mt-sm { margin-top: 24px; }

@media (max-width: 1080px) {
  .ms-galeria { grid-auto-rows: 170px; }
  .ms-proceso { grid-template-columns: 1fr; gap: 0; padding: 0 0 0 34px; }
  .ms-proceso__riel { top: 0; bottom: 0; left: 5px; right: auto; width: 2px; height: auto; }
  .ms-proceso__riel i { width: 100%; height: 100%; transform: scaleY(var(--p,0)); transform-origin: top; }
  .ms-proceso__i { padding: 22px 0; }
  .ms-proceso__i::before { top: 26px; left: -34px; }
  .ms-proceso__img { max-width: 340px; }
  .ms-split { grid-template-columns: 1fr; }
  .ms-datos { grid-template-columns: 1fr 1fr; gap: 18px 0; }
}
@media (max-width: 1080px) {
  .ms-abiertos, .ms-abiertos--3 { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 720px) {
  .ms-abiertos, .ms-abiertos--3 { grid-template-columns: 1fr; }
  .ms-galeria { grid-template-columns: repeat(2, minmax(0,1fr)); grid-auto-rows: 140px; }
  .ms-galeria figcaption { opacity: 1; transform: none; }
  .ms-par { grid-template-columns: 1fr; }
  .ms-datos { grid-template-columns: 1fr; }
  .ms-tecnica li { grid-template-columns: 1fr; gap: 6px; }
  .ms-tecnica__n { grid-row: auto; font-size: 1.1rem; }
}
@media (max-width: 480px) {
  .ms-galeria { grid-template-columns: 1fr; grid-auto-rows: 190px; }
  .ms-galeria .g-ancho, .ms-galeria .g-grande { grid-column: span 1; }
  .ms-galeria .g-alto, .ms-galeria .g-grande { grid-row: span 1; }
}

/* fichas con fotografía, sin caja pesada */
.ms-fichas { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 26px; }
.ms-ficha img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 14px; background: var(--c-fondo); }
.ms-ficha h3 { margin: 18px 0 8px; font-size: 1.1rem; font-weight: 750; color: var(--c-navy); letter-spacing: -.02em; }
.ms-ficha p { margin: 0; font-size: .95rem; line-height: 1.58; color: var(--c-gris); }
@media (max-width: 900px) { .ms-fichas { grid-template-columns: 1fr; gap: 30px; } }

/* referencias plegables */
.ms-refs { border: 1px solid var(--c-linea); border-radius: 14px; background: #fff; padding: 18px 22px; }
.ms-refs summary { cursor: pointer; font-weight: 700; color: var(--c-navy); font-size: .95rem; }
.ms-refs summary::marker { color: var(--a); }
.ms-refs ol { margin: 18px 0 0; padding-left: 20px; display: grid; gap: 10px; color: var(--c-gris); font-size: .9rem; line-height: 1.55; }
.ms-refs a { color: var(--a); }
.ms-lista-simple { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ms-lista-simple li { position: relative; padding-left: 18px; font-size: .96rem; line-height: 1.55; color: var(--c-gris); }
.ms-lista-simple li::before { content: ""; position: absolute; left: 0; top: 11px; width: 8px; height: 1px; background: var(--a); }

/* ============================================================
   PÁGINAS INTERNAS · componentes corporativos
   ============================================================ */

/* ---------- cabecera de página interna ---------- */
.ms-cabecera {
  position: relative; background: var(--c-navy); color: #fff; overflow: hidden;
  padding: clamp(52px,6vw,86px) 0 clamp(48px,5.4vw,78px);
}
.ms-cabecera::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(104deg, var(--c-navy) 34%, rgba(14,42,71,.58) 62%, rgba(14,42,71,.24) 100%);
}
.ms-cabecera__foto { position: absolute; inset: 0; margin: 0; }
.ms-cabecera__foto img { width: 100%; height: 100%; object-fit: cover; opacity: .5; }
.ms-cabecera .ms-wrap { position: relative; z-index: 2; }
.ms-cabecera__in { max-width: 62ch; }
.ms-cabecera .ms-eyebrow { display: inline-flex; align-items: center; gap: 14px; color: rgba(255,255,255,.7); }
.ms-cabecera .ms-eyebrow::before { content: ""; width: 30px; height: 2px; background: var(--a); }
.ms-cabecera h1 {
  margin: 16px 0 0; font-family: 'Sora', 'Manrope', system-ui, sans-serif;
  font-size: clamp(1.9rem, 3.6vw, 3rem); line-height: 1.1; letter-spacing: -.03em;
  font-weight: 700; color: #fff;
}
.ms-cabecera h1 em { font-style: normal; color: #5FD08A; }  /* verde claro: legible sobre el navy */
.ms-cabecera p { margin: 20px 0 0; font-size: clamp(1rem,1.2vw,1.1rem); line-height: 1.62; color: rgba(255,255,255,.8); max-width: 58ch; }
.ms-cabecera .ms-acciones { margin-top: 30px; }
.ms-cabecera .ms-btn--linea { color: #fff; border-color: rgba(255,255,255,.4); }
.ms-cabecera .ms-btn--linea:hover { background: #fff; color: var(--c-navy); border-color: #fff; }

/* migas */
.ms-migas { font-size: .85rem; color: rgba(255,255,255,.62); margin: 0 0 22px; }
.ms-migas a { color: rgba(255,255,255,.8); }
.ms-migas a:hover { color: #fff; }
.ms-migas span { padding: 0 8px; opacity: .5; }

/* ---------- servicios en lista editorial ---------- */
.ms-srvs { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; counter-reset: s; }
.ms-srv {
  display: grid; grid-template-columns: 78px minmax(0,1.25fr) minmax(0,1fr);
  gap: clamp(20px,2.6vw,40px); align-items: start;
  background: #fff; border: 1px solid var(--c-linea); border-radius: 16px;
  padding: clamp(24px,2.6vw,34px);
  transition: border-color .22s ease, box-shadow .22s ease, transform .22s ease;
}
.ms-srv:hover { border-color: color-mix(in srgb, var(--a) 40%, var(--c-linea)); box-shadow: 0 16px 36px rgba(14,42,71,.08); transform: translateY(-2px); }
.ms-srv__id { display: grid; gap: 14px; justify-items: start; }
.ms-srv__n { font-size: .82rem; font-weight: 800; letter-spacing: .1em; color: var(--a); }
.ms-srv__ic {
  width: 52px; height: 52px; display: grid; place-items: center;
  border-radius: 13px; background: var(--a-soft); color: var(--a-dark);
}
.ms-srv__ic svg { width: 25px; height: 25px; }
.ms-srv h3 { margin: 0 0 10px; font-size: 1.22rem; font-weight: 750; color: var(--c-navy); letter-spacing: -.02em; }
.ms-srv p { margin: 0; font-size: .98rem; line-height: 1.62; color: var(--c-gris); }
.ms-srv__para { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--c-linea); }
.ms-srv__para dt { font-size: .74rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--a); margin: 0 0 6px; }
.ms-srv__para dd { margin: 0; font-size: .93rem; line-height: 1.55; color: var(--c-gris); }
.ms-srv__inc { background: var(--c-fondo); border-radius: 13px; padding: 22px 24px; }
.ms-srv__inc p.ms-et { margin: 0 0 12px; font-size: .74rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--c-navy); }
.ms-srv__inc .ms-checks li { font-size: .93rem; padding-left: 27px; }
.ms-srv__inc .ms-checks li::before { width: 17px; height: 17px; top: 3px; }
.ms-vinculo { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; font-size: .92rem; font-weight: 700; color: var(--a-dark); }
.ms-vinculo svg { width: 16px; height: 16px; transition: transform .22s ease; }
.ms-vinculo:hover { text-decoration: none; }
.ms-vinculo:hover svg { transform: translateX(4px); }
@media (max-width: 980px) {
  .ms-srv { grid-template-columns: 62px minmax(0,1fr); }
  .ms-srv__inc { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .ms-srv { grid-template-columns: 1fr; gap: 18px; }
  .ms-srv__id { grid-auto-flow: column; justify-content: start; align-items: center; gap: 16px; }
}

/* ---------- panel del mapa ---------- */
.ms-mapa {
  display: grid; grid-template-columns: minmax(0,1.55fr) minmax(0,1fr);
  gap: clamp(22px,2.6vw,36px); align-items: start;
}
.ms-mapa__caja {
  background: #fff; border: 1px solid var(--c-linea); border-radius: 18px;
  overflow: hidden; box-shadow: 0 18px 44px rgba(14,42,71,.09);
}
.ms-mapa__lienzo {
  height: clamp(400px, 56vh, 620px); width: 100%; background: var(--c-fondo);
  display: grid; place-items: center;
}
.ms-mapa__lienzo:focus-visible { outline: 3px solid var(--a); outline-offset: -3px; }
.ms-mapa__aviso { max-width: 42ch; margin: 0; padding: 30px; text-align: center; font-size: .95rem; line-height: 1.6; color: var(--c-gris); }
.ms-leyenda {
  list-style: none; margin: 0; padding: 16px 22px; display: flex; flex-wrap: wrap; gap: 10px 26px;
  border-top: 1px solid var(--c-linea); background: #fff;
  font-size: .88rem; color: var(--c-gris);
}
.ms-leyenda li { display: inline-flex; align-items: center; gap: 9px; }
.ms-leyenda i { width: 14px; height: 14px; border-radius: 50%; flex: none; }
.ms-leyenda .l-op { background: rgba(22,104,201,.28); border: 2px solid #1668C9; }
.ms-leyenda .l-ev { background: rgba(178,106,0,.28); border: 2px solid #B26A00; }
.ms-leyenda .l-yo { background: #fff; border: 3px solid var(--c-navy); }

.ms-mapa__lado { display: grid; gap: 26px; }
.ms-tarjeta {
  background: #fff; border: 1px solid var(--c-linea); border-radius: 16px;
  padding: clamp(22px,2.4vw,30px);
}
.ms-tarjeta--a { border-color: color-mix(in srgb, var(--a) 32%, var(--c-linea)); background: var(--a-soft); }
.ms-tarjeta h2, .ms-tarjeta h3 { margin: 0 0 10px; font-size: 1.12rem; font-weight: 750; color: var(--c-navy); letter-spacing: -.02em; }
.ms-tarjeta p { margin: 0; font-size: .94rem; line-height: 1.6; color: var(--c-gris); }
.ms-tarjeta .ms-btn { margin-top: 18px; }

.ms-zonas { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 1px; background: var(--c-linea); border-radius: 10px; overflow: hidden; }
.ms-zonas li { background: #fff; padding: 11px 15px; font-size: .93rem; color: var(--c-navy); }

.cob__res { border-radius: 13px; padding: 20px 22px; margin-top: 18px; border-left: 4px solid var(--c-gris); background: var(--c-fondo); }
.cob__res strong { display: block; font-size: 1rem; color: var(--c-navy); }
.cob__res p { margin: 7px 0 0; font-size: .93rem; line-height: 1.58; color: var(--c-gris); }
.cob__res .ms-btn { margin-top: 15px; }
.cob__res--ok { border-left-color: var(--c-amb); background: var(--c-amb-soft); }
.cob__res--eval { border-left-color: #B26A00; background: #FDF4E6; }
.cob__res--fuera { border-left-color: var(--c-navy); }
@media (max-width: 980px) { .ms-mapa { grid-template-columns: 1fr; } }

/* etiquetas de zona sobre el mapa */
.leaflet-tooltip.zona__nombre {
  background: rgba(255,255,255,.94); border: 1px solid var(--c-linea); border-radius: 6px;
  box-shadow: 0 3px 10px rgba(14,42,71,.14); color: var(--c-navy);
  font: 600 12px/1.2 'Manrope', system-ui, sans-serif; padding: 4px 8px;
}
.leaflet-tooltip.zona__nombre::before { display: none; }
.leaflet-popup-content { font: 400 13px/1.55 'Manrope', system-ui, sans-serif; color: var(--c-gris); }
.leaflet-popup-content strong { color: var(--c-navy); font-size: 14px; }
.leaflet-popup-content .pop__sub { color: var(--a-dark); font-weight: 600; font-size: 12px; }
.leaflet-container { font-family: 'Manrope', system-ui, sans-serif; }

/* ---------- formulario ---------- */
.ms-form { display: grid; gap: 20px; }
.ms-fila { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 20px; }
.ms-campo { display: grid; gap: 7px; min-width: 0; }
.ms-campo label { font-size: .85rem; font-weight: 700; color: var(--c-navy); letter-spacing: -.01em; }
.ms-campo input, .ms-campo select, .ms-campo textarea {
  width: 100%; min-width: 0; font: inherit; font-size: .97rem; color: var(--c-navy);
  background: #fff; border: 1px solid var(--c-linea); border-radius: 11px; padding: 13px 15px;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.ms-campo textarea { min-height: 132px; resize: vertical; line-height: 1.55; }
.ms-campo input:focus, .ms-campo select:focus, .ms-campo textarea:focus {
  outline: none; border-color: var(--a); box-shadow: 0 0 0 3px color-mix(in srgb, var(--a) 18%, transparent);
}
.ms-campo input::placeholder, .ms-campo textarea::placeholder { color: #93A3B4; }
.ms-campo__error { font-size: .82rem; color: #C0392B; min-height: 1em; }
.ms-campo.err input, .ms-campo.err select, .ms-campo.err textarea { border-color: #C0392B; }
.ms-form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.ms-form__aviso { margin: 0; font-size: .88rem; line-height: 1.55; color: var(--c-gris); }
.ms-form__aviso.ok { color: var(--c-amb-dark); font-weight: 600; }
.ms-form__aviso.mal { color: #C0392B; font-weight: 600; }
@media (max-width: 620px) { .ms-fila { grid-template-columns: 1fr; } }

/* ---------- canales de contacto ---------- */
.ms-canales { display: grid; gap: 14px; }
.ms-canal {
  display: grid; grid-template-columns: 46px minmax(0,1fr); gap: 16px; align-items: start;
  background: #fff; border: 1px solid var(--c-linea); border-radius: 14px; padding: 20px 22px;
  transition: border-color .22s ease, box-shadow .22s ease;
}
.ms-canal:hover { border-color: color-mix(in srgb, var(--a) 40%, var(--c-linea)); box-shadow: 0 12px 28px rgba(14,42,71,.07); }
.ms-canal__ic { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 12px; background: var(--a-soft); color: var(--a-dark); }
.ms-canal__ic svg { width: 22px; height: 22px; }
.ms-canal h3 { margin: 0 0 4px; font-size: 1rem; font-weight: 750; color: var(--c-navy); letter-spacing: -.02em; }
.ms-canal p { margin: 0; font-size: .92rem; line-height: 1.56; color: var(--c-gris); overflow-wrap: anywhere; }
.ms-canal a { color: var(--a-dark); font-weight: 600; }

/* ---------- bloque de dos columnas ---------- */
.ms-dos { display: grid; grid-template-columns: minmax(0,1.1fr) minmax(0,.9fr); gap: clamp(30px,4vw,64px); align-items: start; }
.ms-dos--form { grid-template-columns: minmax(0,1.2fr) minmax(0,.8fr); }
@media (max-width: 900px) { .ms-dos, .ms-dos--form { grid-template-columns: 1fr; } }

/* ---------- texto largo (privacidad) ---------- */
.ms-texto { max-width: 74ch; }
.ms-texto h2 { margin: clamp(34px,3.4vw,48px) 0 12px; font-family: 'Sora','Manrope',system-ui,sans-serif; font-size: 1.32rem; font-weight: 700; color: var(--c-navy); letter-spacing: -.02em; }
.ms-texto h2:first-child { margin-top: 0; }
.ms-texto h3 { margin: 26px 0 8px; font-size: 1.02rem; font-weight: 750; color: var(--c-navy); }
.ms-texto p, .ms-texto li { font-size: 1rem; line-height: 1.72; color: var(--c-gris); }
.ms-texto p { margin: 0 0 14px; }
.ms-texto ul { margin: 0 0 16px; padding-left: 22px; display: grid; gap: 8px; }
.ms-texto a { color: var(--a-dark); font-weight: 600; }
.ms-indice { position: sticky; top: calc(var(--cab-h) + 24px); display: grid; gap: 2px; }
.ms-indice a { font-size: .92rem; line-height: 1.45; color: var(--c-gris); padding: 9px 14px; border-left: 2px solid var(--c-linea); }
.ms-indice a:hover { color: var(--c-navy); border-left-color: var(--a); text-decoration: none; background: var(--c-fondo); }
@media (max-width: 900px) { .ms-indice { position: static; } }

/* ---------- aviso destacado ---------- */
.ms-aviso {
  display: grid; grid-template-columns: 44px minmax(0,1fr); gap: 18px; align-items: start;
  border: 1px solid var(--c-linea); border-left: 4px solid var(--a);
  border-radius: 14px; background: var(--c-fondo); padding: clamp(20px,2.2vw,28px);
}
.ms-aviso__ic { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 11px; background: #fff; color: var(--a-dark); border: 1px solid var(--c-linea); }
.ms-aviso__ic svg { width: 22px; height: 22px; }
.ms-aviso h3 { margin: 0 0 8px; font-size: 1.06rem; font-weight: 750; color: var(--c-navy); letter-spacing: -.02em; }
.ms-aviso p { margin: 0 0 10px; font-size: .95rem; line-height: 1.62; color: var(--c-gris); }
.ms-aviso p:last-child { margin-bottom: 0; }
@media (max-width: 520px) { .ms-aviso { grid-template-columns: 1fr; } }

/* ---------- 404 ---------- */
.ms-404 { min-height: 62vh; display: grid; place-items: center; text-align: center; padding: clamp(60px,8vw,110px) 0; }
.ms-404 .ms-cod { font-family: 'Sora','Manrope',system-ui,sans-serif; font-size: clamp(4rem,12vw,8rem); font-weight: 700; line-height: 1; letter-spacing: -.05em; color: var(--c-linea); margin: 0; }
.ms-404 h1 { margin: 10px 0 0; font-family: 'Sora','Manrope',system-ui,sans-serif; font-size: clamp(1.6rem,3vw,2.3rem); font-weight: 700; letter-spacing: -.03em; color: var(--c-navy); }
.ms-404 p { margin: 16px auto 0; max-width: 50ch; font-size: 1.02rem; line-height: 1.62; color: var(--c-gris); }
.ms-404 .ms-acciones { justify-content: center; margin-top: 30px; }
.ms-404 .ms-enlaces { margin-top: 42px; padding-top: 28px; border-top: 1px solid var(--c-linea); display: flex; flex-wrap: wrap; gap: 8px 28px; justify-content: center; font-size: .93rem; }

/* chapitas numeradas del mapa + lista lateral sincronizada */
.zona__n span {
  display: grid; place-items: center; width: 26px; height: 26px;
  border-radius: 50%; background: var(--zc, #1668C9); color: #fff;
  font: 700 12px/1 'Manrope', system-ui, sans-serif;
  border: 2px solid #fff; box-shadow: 0 2px 8px rgba(14,42,71,.35);
}
.ms-zonas li { display: grid; grid-template-columns: 26px minmax(0,1fr) auto; gap: 12px; align-items: center; }
.ms-zonas__n {
  display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%;
  background: var(--c-tel); color: #fff; font-size: .76rem; font-weight: 800;
}
.ms-zonas__n.z-ev { background: #B26A00; }
.ms-zonas em { font-style: normal; font-size: .8rem; color: var(--c-gris); }
.ms-mapa__sinbase {
  position: absolute; left: 12px; right: 12px; bottom: 12px; z-index: 500; margin: 0;
  background: rgba(255,255,255,.95); border: 1px solid var(--c-linea); border-radius: 10px;
  padding: 10px 14px; font-size: .84rem; line-height: 1.45; color: var(--c-gris);
}
.ms-mapa__lienzo { position: relative; }
/* botón auxiliar dentro de un campo: no ocupa todo el ancho */
.ms-campo .ms-btn { justify-self: start; padding: 10px 18px; font-size: .88rem; }

/* marca discreta para imágenes ilustrativas (no documentan un trabajo real) */
.ms-ilus {
  position: absolute; top: 14px; right: 14px; z-index: 3; margin: 0;
  background: rgba(8,24,42,.62); color: rgba(255,255,255,.92);
  font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  padding: 5px 10px; border-radius: 6px; backdrop-filter: blur(4px);
}
.ms-bloque--amb .ms-bloque__foto .ms-ilus { right: 20px; }


/* ============================================================
   9. PORTADA DE TELECOMUNICACIONES (foto a todo el ancho)
   La foto va sin filtros: object-fit cover + object-position
   center. El velo es una capa aparte, solo para dar contraste
   al texto, y se aclara hacia la derecha para no tapar la torre.
   ============================================================ */
.ms-hero-t {
  position: relative; isolation: isolate; overflow: hidden; background: #0A1F36; color: #fff;
  min-height: clamp(460px, 34vw, 680px); display: flex; align-items: center;
}
.ms-hero-t__img {
  position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2;
  object-fit: cover; object-position: center; image-rendering: auto;
}
.ms-hero-t__velo {
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(7,24,39,.88) 0%, rgba(7,24,39,.68) 32%, rgba(7,24,39,.2) 60%, rgba(7,24,39,0) 76%);
}
.ms-hero-t__in { width: 100%; max-width: 1280px; margin: 0 auto; padding: clamp(48px,6vw,88px) 32px; }
.ms-hero-t__txt { max-width: 640px; }
.ms-hero-t .ms-eyebrow { color: #fff; font-size: 11.5px; letter-spacing: .28em; }
.ms-hero-t h1 {
  margin: 22px 0 0; color: #fff; font-weight: 800; line-height: 1.06; letter-spacing: -.035em;
  font-size: clamp(2.1rem, 3.9vw, 3.3rem);
}
.ms-hero-t h1 em { font-style: normal; color: #2F8BFF; }
.ms-hero-t__lead { margin-top: 22px; font-size: 1.12rem; line-height: 1.6; color: rgba(255,255,255,.92); max-width: 50ch; }
.ms-hero-t .ms-acciones { margin-top: 34px; }
.ms-btn--hero-linea { background: transparent; color: #fff; border-color: rgba(255,255,255,.7); }
.ms-btn--hero-linea:hover { background: rgba(255,255,255,.12); color: #fff; border-color: #fff; }

/* barra de tres características bajo la portada */
.ms-feat { background: #fff; border-bottom: 1px solid var(--c-linea); }
.ms-feat__in { max-width: 1280px; margin: 0 auto; padding: 0 32px; display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); }
.ms-feat__it { display: flex; align-items: center; gap: 22px; padding: 30px 32px; }
.ms-feat__it:first-child { padding-left: 0; }
.ms-feat__it + .ms-feat__it { border-left: 1px solid var(--c-linea); }
.ms-feat__it svg { width: 56px; height: 56px; flex: none; color: var(--c-tel); }
.ms-feat__t { margin: 0; font-size: 1.05rem; font-weight: 700; color: var(--c-navy); letter-spacing: -.01em; }
.ms-feat__d { margin: 4px 0 0; font-size: .95rem; line-height: 1.5; color: var(--c-gris); }
@media (max-width: 900px) {
  .ms-feat__in { grid-template-columns: 1fr; }
  .ms-feat__it, .ms-feat__it:first-child { padding: 22px 0; }
  .ms-feat__it + .ms-feat__it { border-left: 0; border-top: 1px solid var(--c-linea); }
}
@media (max-width: 720px) {
  .ms-hero-t { min-height: 520px; }
  .ms-hero-t__img { object-position: 82% center; }
  .ms-hero-t__velo { background: linear-gradient(180deg, rgba(7,24,39,.84) 0%, rgba(7,24,39,.62) 62%, rgba(7,24,39,.4) 100%); }
  .ms-hero-t__in { padding: 48px 20px; }
  .ms-br-d { display: none; }
  .ms-hero-t .ms-acciones .ms-btn { width: 100%; justify-content: space-between; }
  .ms-feat__in { padding: 0 20px; }
}


/* ============================================================
   10. LOGO DE TELECOMUNICACIONES: emblema oficial + nombre al costado
   ============================================================ */
.ms-logo--mark { display: flex; align-items: center; gap: 16px; line-height: 1; text-decoration: none; }
.ms-logo--mark:hover, .ms-logo--mark:focus, .ms-logo--mark:hover *, .ms-logo--mark:focus * { text-decoration: none; }
.u-telecom .ms-logo--mark img { width: 84px; height: 84px; flex: none; }
.ms-logo__txt { display: flex; flex-direction: column; gap: 5px; }
.ms-logo__txt b {
  font-family: "Sora", "Manrope", system-ui, sans-serif; font-weight: 700; font-size: 34px;
  letter-spacing: -.03em; line-height: 1; color: var(--c-navy);
}
.ms-logo__txt b i { font-style: normal; color: #1E78D8; }
.ms-logo__txt small {
  font-family: "Manrope", system-ui, sans-serif; font-weight: 500; font-size: 20.5px;
  letter-spacing: -.01em; line-height: 1; color: var(--c-navy);
}
@media (max-width: 1080px) {
  .u-telecom .ms-logo--mark img { width: 72px; height: 72px; }
  .ms-logo__txt b { font-size: 29px; } .ms-logo__txt small { font-size: 17.5px; }
}
@media (max-width: 720px) {
  .ms-logo--mark { gap: 12px; }
  .u-telecom .ms-logo--mark img { width: 60px; height: 60px; }
  .ms-logo__txt b { font-size: 24px; } .ms-logo__txt small { font-size: 14.5px; }
}
@media (max-width: 380px) {
  .u-telecom .ms-logo--mark img { width: 52px; height: 52px; }
  .ms-logo__txt b { font-size: 21px; } .ms-logo__txt small { font-size: 12.8px; }
}

/* ============================================================
   SOLUCIONES (telecom) — portada con paisaje + 4 tarjetas
   ============================================================ */
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.sol { scroll-margin-top: var(--cab-h); background: #fff; padding-bottom: clamp(58px,6.5vw,100px); }
.sol__hero {
  position: relative; padding: clamp(64px,8vw,116px) 0 clamp(150px,16vw,230px);
  background:
    linear-gradient(90deg, #fff 0%, rgba(255,255,255,.96) 30%, rgba(255,255,255,.62) 58%, rgba(255,255,255,.18) 100%),
    linear-gradient(0deg, #fff 0%, rgba(255,255,255,.92) 24%, rgba(255,255,255,0) 64%),
    url("../assets/soluciones/fondo-paisaje.jpg") center 38% / cover no-repeat;
}
.sol__txt { max-width: 560px; }
.sol__txt .ms-eyebrow { display: inline-flex; align-items: center; gap: 14px; color: var(--c-tel); }
.sol__txt .ms-eyebrow::before { content: ""; width: 30px; height: 2px; background: var(--c-tel); }
.sol__txt h2 {
  margin: 20px 0 0; color: var(--c-navy);
  font-size: clamp(2rem, 3.6vw, 3.1rem); line-height: 1.1; letter-spacing: -.03em; font-weight: 800;
}
.sol__txt p { margin-top: 22px; font-size: 1.1rem; line-height: 1.65; color: var(--c-gris); }
.sol__grid {
  list-style: none; margin: calc(-1 * clamp(96px,10vw,150px)) 0 0; padding: 0; position: relative; z-index: 2;
  display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 22px; align-items: stretch;
}
.sol-card {
  display: flex; flex-direction: column; background: #fff; border: 1px solid var(--c-linea);
  border-radius: 16px; overflow: hidden; box-shadow: 0 14px 40px rgba(14,42,71,.09);
  transition: transform .25s ease, box-shadow .25s ease;
}
.sol-card:hover { transform: translateY(-4px); box-shadow: 0 20px 48px rgba(14,42,71,.15); }
.sol-card__foto { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--c-navy); }
.sol-card__foto img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sol-card__n {
  position: absolute; top: 14px; left: 14px; min-width: 40px; padding: 6px 10px; text-align: center;
  background: var(--c-navy); color: #fff; border-radius: 8px; font-size: .82rem; font-weight: 700; letter-spacing: .08em;
}
.sol-card__cuerpo { display: flex; flex-direction: column; flex: 1; padding: 0 24px 26px; }
.sol-card__ico {
  width: 46px; height: 46px; margin-top: -23px; position: relative; border-radius: 50%;
  display: grid; place-items: center; background: var(--c-tel); color: #fff; box-shadow: 0 6px 16px rgba(22,104,201,.35);
}
.sol-card__ico svg { width: 22px; height: 22px; }
.sol-card h3 { margin: 18px 0 0; color: var(--c-navy); font-size: 1.32rem; line-height: 1.22; letter-spacing: -.02em; font-weight: 800; }
.sol-card__cuerpo > p {
  margin-top: 12px; color: var(--c-gris); font-size: .96rem; line-height: 1.55;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.sol-card__lista { list-style: none; margin: 18px 0 0; padding: 18px 0 0; border-top: 1px solid var(--c-linea); display: grid; gap: 10px; }
.sol-card__lista li { display: flex; align-items: flex-start; gap: 10px; font-size: .9rem; line-height: 1.4; color: var(--c-navy); }
.sol-card__lista svg { flex: none; width: 17px; height: 17px; margin-top: 1px; color: var(--c-tel); }
.sol-card__mas { margin-top: auto; padding-top: 22px; color: var(--c-tel); font-weight: 700; font-size: .95rem; text-decoration: none; }
.sol-card__mas:hover { color: var(--c-tel-dark); text-decoration: none; }
.sol-card__mas span[aria-hidden] { display: inline-block; transition: transform .2s ease; }
.sol-card__mas:hover span[aria-hidden] { transform: translateX(4px); }
@media (max-width: 1100px) { .sol__grid { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 640px) {
  .sol__hero {
    padding-bottom: 130px;
    background:
      linear-gradient(0deg, #fff 0%, rgba(255,255,255,.9) 30%, rgba(255,255,255,.55) 100%),
      url("../assets/soluciones/fondo-paisaje.jpg") 62% 30% / cover no-repeat;
  }
  .sol__grid { grid-template-columns: 1fr; margin-top: -80px; }
}

/* ============================================================
   COBERTURA (telecom) — mapa satelital + panel
   ============================================================ */
.cob { position: relative; background: #fff; padding: clamp(56px,6vw,92px) 0 clamp(58px,6.5vw,100px); scroll-margin-top: var(--cab-h); overflow: hidden; }
.cob::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 420px; pointer-events: none;
  background:
    linear-gradient(90deg, #fff 0%, rgba(255,255,255,.9) 34%, rgba(255,255,255,.2) 100%),
    linear-gradient(0deg, #fff 0%, rgba(255,255,255,0) 70%),
    url("../assets/hero-andes-1200.webp") right top / cover no-repeat;
  opacity: .8;
}
.cob__grid {
  position: relative; display: grid; gap: 22px 28px; align-items: start;
  grid-template-columns: minmax(0,1fr) 340px;
  grid-template-areas: "cab cab" "mapa panel" "datos panel";
}
.cob__cab { grid-area: cab; max-width: 640px; margin-bottom: 14px; }
.cob__cab .ms-eyebrow { display: inline-flex; align-items: center; gap: 14px; color: var(--c-tel); }
.cob__cab .ms-eyebrow::before { content: ""; width: 30px; height: 2px; background: var(--c-tel); }
.cob__cab h2 { margin: 18px 0 0; color: var(--c-navy); font-size: clamp(2.2rem, 4vw, 3.4rem); line-height: 1.05; letter-spacing: -.035em; font-weight: 800; }
.cob__cab h2 em { font-style: normal; color: var(--c-tel); }
.cob__cab p { margin-top: 18px; font-size: 1.1rem; line-height: 1.6; color: var(--c-gris); }

.cob__mapa { grid-area: mapa; position: relative; z-index: 0; isolation: isolate; border-radius: 18px; overflow: hidden; background: #0A2A55; box-shadow: 0 22px 54px rgba(14,42,71,.22); }
.cob__lienzo { width: 100%; height: clamp(560px, 58vw, 780px); background: #0A2A55; }
.cob__norte {
  position: absolute; top: 16px; left: 16px; z-index: 500; width: 30px; height: 38px; display: grid; place-items: end center; padding-bottom: 3px;
  color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .06em; pointer-events: none;
}
.cob__norte::before { content: ""; position: absolute; top: 0; left: 50%; transform: translateX(-50%); border: 6px solid transparent; border-bottom: 12px solid #fff; border-top: 0; }
.cob__sinbase { position: absolute; left: 14px; bottom: 14px; z-index: 600; margin: 0; padding: 8px 12px; border-radius: 8px; background: rgba(10,31,54,.86); color: #fff; font-size: 13px; }
.cob__lienzo .leaflet-control-attribution { background: rgba(10,31,54,.5); color: rgba(255,255,255,.7); font-size: 9.5px; padding: 1px 6px; }
.cob__lienzo .leaflet-control-attribution a { color: inherit; }
.cob__lienzo .leaflet-tile-pane { filter: saturate(.9) contrast(1.04); }

/* marcadores */
.cob-pin-wrap { background: none; border: 0; }
.cob-pin { position: relative; width: 0; height: 0; }
.cob-pin svg { position: absolute; left: -8.5px; top: -22px; width: 17px; height: 22px; color: #1668C9; filter: drop-shadow(0 3px 4px rgba(0,0,0,.45)); }
.cob-pin__txt {
  position: absolute; white-space: nowrap; padding: 3px 8px; border-radius: 6px; background: rgba(10,31,54,.88);
  color: #fff; font-size: 11.5px; font-weight: 600; line-height: 1.25; letter-spacing: .01em; box-shadow: 0 4px 12px rgba(0,0,0,.28);
}
.cob-pin--r .cob-pin__txt { left: 11px; top: -22px; }
.cob-pin--l .cob-pin__txt { right: 11px; top: -22px; }
.cob-pin--t .cob-pin__txt { left: 0; top: -48px; transform: translateX(-50%); }
.cob-pin--b .cob-pin__txt { left: 0; top: 6px; transform: translateX(-50%); }
.cob-pin--presencia svg { width: 28px; height: 36px; left: -14px; top: -36px; color: #1E78D8; }
.cob-pin--presencia .cob-pin__txt { font-size: 14px; font-weight: 700; padding: 5px 13px; background: #0A2A55; border: 1px solid rgba(255,255,255,.55); top: -34px; }
.cob-pin--presencia.cob-pin--r .cob-pin__txt { left: 17px; } .cob-pin--presencia.cob-pin--l .cob-pin__txt { right: 17px; }
.cob-pin--evaluacion svg { color: #8A97A8; }
.cob-resalta svg { animation: cobSalto .6s ease 3; }
.cob-resalta .cob-pin__txt { background: #1668C9; }
@keyframes cobSalto { 50% { transform: translateY(-9px) scale(1.14); } }

/* tres datos bajo el mapa */
.cob__datos { grid-area: datos; display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 14px; }
.cob-dato { display: flex; gap: 14px; align-items: center; padding: 16px 18px; background: #fff; border: 1px solid var(--c-linea); border-radius: 14px; box-shadow: 0 8px 24px rgba(14,42,71,.06); }
.cob-dato__ic { flex: none; width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; background: var(--c-tel-soft); color: var(--c-tel); }
.cob-dato__ic svg { width: 23px; height: 23px; }
.cob-dato h3 { margin: 0; font-size: .95rem; color: var(--c-navy); font-weight: 700; line-height: 1.25; }
.cob-dato p { margin: 3px 0 0; font-size: .82rem; line-height: 1.4; color: var(--c-gris); }

/* panel derecho */
.cob__lado { grid-area: panel; display: grid; gap: 16px; }
.cob-caja { background: #fff; border: 1px solid var(--c-linea); border-radius: 16px; padding: 22px 22px 20px; box-shadow: 0 14px 38px rgba(14,42,71,.09); }
.cob-caja__t { display: flex; align-items: center; gap: 12px; margin: 0; color: var(--c-navy); font-size: 1.12rem; font-weight: 800; letter-spacing: -.01em; }
.cob-ic { flex: none; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: var(--c-tel-soft); color: var(--c-tel); }
.cob-ic svg { width: 15px; height: 20px; }
.cob-ic--map svg { width: 19px; height: 19px; }
.cob-ic--s { width: 30px; height: 30px; background: none; }
.cob-sedes { list-style: none; margin: 14px 0 0; padding: 0; display: grid; }
.cob-sedes li + li { border-top: 1px solid var(--c-linea); }
.cob-sedes button {
  width: 100%; display: flex; align-items: center; gap: 12px; padding: 13px 0; background: none; border: 0; cursor: pointer; text-align: left; font: inherit; color: var(--c-navy);
}
.cob-sedes button span:nth-child(2) { flex: 1; }
.cob-sedes b { display: block; font-size: .98rem; font-weight: 700; }
.cob-sedes small { display: block; margin-top: 2px; font-size: .78rem; color: var(--c-gris); }
.cob-sedes button > svg { width: 17px; height: 17px; color: var(--c-tel); transition: transform .2s; }
.cob-sedes button:hover > svg { transform: translateX(3px); }
.cob-sedes .cob-ic--s svg { width: 17px; height: 22px; }

.cob-caja--consulta { background: var(--c-tel-soft); border-color: #D5E5F8; box-shadow: none; }
.cob-caja--consulta h3 { margin: 0; color: var(--c-navy); font-size: 1.1rem; line-height: 1.25; font-weight: 800; letter-spacing: -.01em; }
.cob-caja--consulta > p { margin: 8px 0 14px; font-size: .86rem; line-height: 1.45; color: var(--c-gris); }
.cob-campo { display: flex; align-items: center; gap: 10px; padding: 0 14px; height: 48px; background: #fff; border: 1px solid #CFE0F3; border-radius: 10px; }
.cob-campo:focus-within { border-color: var(--c-tel); box-shadow: 0 0 0 3px rgba(22,104,201,.15); }
.cob-campo svg { flex: none; width: 18px; height: 18px; color: var(--c-gris); }
.cob-campo input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font: inherit; font-size: .95rem; color: var(--c-navy); }
#cobConsulta .ms-btn { width: 100%; justify-content: center; margin-top: 12px; }
.cob-res { margin: 0; font-size: .86rem; line-height: 1.5; color: var(--c-navy); }
.cob-res:not(:empty) { margin-top: 14px; padding: 12px 14px; border-radius: 10px; background: #fff; border-left: 3px solid var(--c-tel); }
.cob-res--no { border-left-color: #B26A00 !important; }
.cob-res a { color: var(--c-tel); font-weight: 700; }

.cob-ref { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 12px; }
.cob-ref li { display: flex; align-items: center; gap: 14px; }
.cob-ref b { display: block; font-size: .9rem; color: var(--c-navy); font-weight: 700; }
.cob-ref small { display: block; margin-top: 1px; font-size: .78rem; color: var(--c-gris); }
.cob-ref__p { flex: none; width: 26px; height: 26px; display: grid; place-items: center; }
.cob-ref__p svg { width: 15px; height: 20px; }
.cob-ref__p--op { color: #1668C9; } .cob-ref__p--pr { color: #1E78D8; } .cob-ref__p--ev { color: #8A97A8; }
.cob-ref__p--pr svg { width: 19px; height: 25px; }
.cob-ref__l { flex: none; width: 26px; height: 0; border-top: 3px dotted #5FA8FF; }
.cob-nota { margin: 16px 0 0; padding-top: 14px; border-top: 1px solid var(--c-linea); font-size: .76rem; line-height: 1.5; color: var(--c-gris); }

@media (max-width: 1100px) {
  .cob__grid { grid-template-columns: minmax(0,1fr); grid-template-areas: "cab" "mapa" "datos" "panel"; }
  .cob__lado { grid-template-columns: repeat(2, minmax(0,1fr)); align-items: start; }
  .cob-caja--consulta { grid-column: 1 / -1; order: -1; }
}
@media (max-width: 720px) {
  .cob__datos { grid-template-columns: 1fr; }
  .cob__lado { grid-template-columns: 1fr; }
  .cob__lienzo { height: 460px; }
  .cob-pin__txt { font-size: 11px; padding: 3px 8px; }
}

.cob-borde {
  position: absolute; z-index: 550; transform: translate(-50%,-50%); display: grid; grid-template-columns: auto auto; column-gap: 10px; align-items: center;
  padding: 7px 12px; border-radius: 10px; background: #0A2A55; border: 1px solid rgba(255,255,255,.5); color: #fff; box-shadow: 0 6px 16px rgba(0,0,0,.3); pointer-events: none;
}
.cob-borde b, .cob-borde small { white-space: nowrap; }
.cob-borde b { grid-column: 1; font-size: 13.5px; font-weight: 700; line-height: 1.2; }
.cob-borde small { grid-column: 1; font-size: 11px; color: rgba(255,255,255,.75); line-height: 1.2; }
.cob-borde i { grid-column: 2; grid-row: 1 / span 2; width: 24px; height: 24px; display: grid; place-items: center; color: #7DB8FF; }
.cob-borde i svg { width: 22px; height: 22px; }
.cob-borde--fijo { top: 12px; right: 12px; left: auto; transform: none; }

/* volumen del mapa: viñeta suave y rótulos departamentales */
.cob__mapa::after { content: ""; position: absolute; inset: 0; z-index: 480; pointer-events: none; border-radius: inherit; box-shadow: inset 0 0 110px rgba(4,18,42,.6), inset 0 0 0 1px rgba(255,255,255,.12); }
.cob__lienzo .leaflet-tile-pane { filter: saturate(1.05) contrast(1.12); }
.cob-dep { background: none; border: 0; }
.cob-dep span { position: absolute; transform: translate(-50%,-50%); display: flex; flex-direction: column; align-items: center; gap: 2px; white-space: nowrap; color: rgba(225,240,255,.88); font-size: 10px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; text-shadow: 0 1px 6px rgba(0,0,0,.8); }
.cob-dep b { font-size: 15px; font-weight: 800; letter-spacing: .2em; }
.cob-ref__d { flex: none; width: 26px; height: 0; border-top: 2px dashed #9CC8F5; }

/* pie: marca de grupo funcional y ejes en su color */
.pie__grupo, .pie__grupo:hover { display: inline-block; margin: 0; text-decoration: none; }
.pie .pie__marca { display: inline-block; margin-bottom: 18px; }
.pie .pie__marca:hover .pie__logo { opacity: 1; }
.pie__ejes .tel { color: #5BAEFF; }
.pie__ejes .amb { color: #5BD07F; }
.pie__ejes .tel:hover { color: #9CCBFF; }
.pie__ejes .amb:hover { color: #9BE5B2; }
.pie__ejes a { font-weight: 600; transition: color .2s; }
.pie__ejes i { background: linear-gradient(90deg, #3C94FF, #4CCB78); }
.pie a.u-tel:hover { color: #7DBBFF; }
.pie a.u-amb:hover { color: #7BDC9A; }

/* pie: logo de Grupo MENDOSUR a color, sobre tarjeta blanca para que se lea en el fondo oscuro */
.pie .pie__marca { padding: 12px 18px; background: #fff; border-radius: 12px; box-shadow: 0 8px 22px rgba(0,0,0,.28); transition: transform .2s ease, box-shadow .2s ease; }
.pie .pie__marca:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(0,0,0,.36); }
.pie .pie__marca .pie__logo { filter: none; opacity: 1; width: 190px; height: auto; display: block; }

/* ============================================================
   CONTACTO (telecom)
   ============================================================ */
.ct-hero {
  position: relative; color: #fff; padding: clamp(40px,5vw,64px) 0 clamp(44px,5.5vw,72px);
  background:
    linear-gradient(90deg, rgba(5,22,48,.94) 0%, rgba(5,22,48,.82) 38%, rgba(5,22,48,.28) 72%, rgba(5,22,48,.1) 100%),
    url("../assets/soluciones/fondo-paisaje.jpg") center 62% / cover no-repeat;
}
.ct-hero__in { max-width: 760px; }
.ct-hero .ms-migas, .ct-hero .ms-migas a { color: rgba(255,255,255,.82); }
.ct-hero .ms-eyebrow { display: inline-flex; align-items: center; gap: 14px; margin-top: 22px; color: #6DB0FF; }
.ct-hero .ms-eyebrow::before { content: ""; width: 30px; height: 2px; background: #6DB0FF; }
.ct-hero h1 { margin: 14px 0 0; color: #fff; font-size: clamp(2.2rem, 4.4vw, 3.6rem); line-height: 1.05; letter-spacing: -.035em; font-weight: 800; }
.ct-hero h1 em { font-style: normal; color: #3F8CFF; }
.ct-hero__in > p:last-child { margin-top: 18px; font-size: 1.1rem; line-height: 1.6; color: rgba(255,255,255,.9); max-width: 52ch; }

.ct { background: #fff; padding: clamp(36px,4vw,56px) 0 clamp(56px,6vw,90px); }
.ct__grid { display: grid; grid-template-columns: minmax(0,1.05fr) minmax(0,.95fr); gap: 28px; align-items: start; margin-top: -40px; position: relative; z-index: 2; }
.ct__izq { display: grid; gap: 22px; }

.ct-wa { display: flex; gap: 22px; align-items: center; padding: 28px 30px; background: var(--c-tel-soft); border: 1px solid #D5E5F8; border-radius: 18px; }
.ct-wa__ic { flex: none; width: 76px; height: 76px; display: grid; place-items: center; border-radius: 50%; background: #1FB655; color: #fff; box-shadow: 0 10px 24px rgba(31,182,85,.35); }
.ct-wa__ic svg { width: 44px; height: 44px; }
.ct-wa h2 { margin: 0; color: var(--c-navy); font-size: 1.55rem; line-height: 1.15; letter-spacing: -.02em; font-weight: 800; }
.ct-wa__txt > p { margin: 6px 0 0; color: var(--c-gris); font-size: 1rem; }
.ct-wa__btn {
  display: inline-flex; align-items: center; gap: 12px; margin-top: 18px; padding: 14px 28px; border-radius: 9px; background: #1E9E4A; color: #fff;
  font-weight: 700; font-size: 1rem; text-decoration: none; transition: background .2s, transform .18s, box-shadow .2s;
}
.ct-wa__btn svg { width: 18px; height: 18px; }
.ct-wa__btn:hover { background: #17843D; color: #fff; text-decoration: none; transform: translateY(-2px); box-shadow: 0 12px 26px rgba(30,158,74,.3); }
.ct-wa__txt .ct-wa__tel { margin-top: 12px; color: var(--c-navy); font-weight: 700; font-size: .98rem; letter-spacing: .01em; }
.ct-wa__txt .ct-wa__hora { display: flex; align-items: center; gap: 8px; margin-top: 4px; font-size: .86rem; }
.ct-wa__hora i { width: 9px; height: 9px; border-radius: 50%; background: #1FB655; box-shadow: 0 0 0 3px rgba(31,182,85,.2); }

.ct-tres { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px; }
.ct-card { display: flex; flex-direction: column; padding: 22px 20px 20px; background: #fff; border: 1px solid var(--c-linea); border-radius: 16px; box-shadow: 0 10px 28px rgba(14,42,71,.07); transition: transform .22s, box-shadow .22s; }
.ct-card:hover { transform: translateY(-3px); box-shadow: 0 16px 36px rgba(14,42,71,.12); }
.ct-ic { flex: none; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; background: var(--c-tel-soft); color: var(--c-tel); }
.ct-ic svg { width: 22px; height: 22px; }
.ct-card h3 { margin: 18px 0 0; color: var(--c-navy); font-size: 1.05rem; line-height: 1.25; font-weight: 800; letter-spacing: -.01em; }
.ct-card p { margin: 8px 0 0; color: var(--c-gris); font-size: .9rem; line-height: 1.5; }
.ct-card a { margin-top: auto; padding-top: 18px; display: inline-flex; align-items: center; gap: 8px; color: var(--c-tel); font-weight: 700; font-size: .92rem; text-decoration: none; }
.ct-card a svg { width: 16px; height: 16px; transition: transform .2s; }
.ct-card a:hover { text-decoration: none; color: var(--c-tel-dark); }
.ct-card a:hover svg { transform: translateX(3px); }

.ct-form { padding: 30px 30px 28px; background: #fff; border: 1px solid var(--c-linea); border-radius: 18px; box-shadow: 0 20px 52px rgba(14,42,71,.12); }
.ct-form h2 { margin: 0; color: var(--c-navy); font-size: 1.55rem; letter-spacing: -.02em; font-weight: 800; }
.ct-form__sub { margin: 6px 0 22px; color: var(--c-gris); font-size: .95rem; }
.ct-form .ms-form { gap: 16px; }
.ct-form .ms-campo textarea { min-height: 96px; }
.ct-form__btn { width: 100%; justify-content: center; margin-top: 4px; padding: 16px 24px; }

.ct-canales { margin-top: clamp(40px,5vw,64px); padding-top: 34px; border-top: 1px solid var(--c-linea); }
.ct-canales h2 { display: flex; align-items: center; gap: 14px; margin: 0; color: var(--c-navy); font-size: 1.15rem; font-weight: 800; }
.ct-canales h2 i { width: 30px; height: 2px; background: var(--c-tel); }
.ct-canales > p { margin: 6px 0 0; color: var(--c-gris); font-size: .88rem; }
.ct-canales__fila { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 0; margin-top: 22px; }
.ct-correo { display: flex; align-items: center; gap: 14px; padding: 4px 22px; min-width: 0; }
.ct-correo + .ct-correo { border-left: 1px solid var(--c-linea); }
.ct-correo:first-child { padding-left: 0; }
.ct-correo b { display: block; color: var(--c-navy); font-size: .88rem; font-weight: 700; }
.ct-correo a { display: block; margin-top: 2px; color: var(--c-tel); font-size: .84rem; overflow-wrap: anywhere; }

@media (max-width: 1080px) {
  .ct__grid { grid-template-columns: 1fr; margin-top: -30px; }
  .ct-canales__fila { grid-template-columns: repeat(2, minmax(0,1fr)); row-gap: 22px; }
  .ct-correo:nth-child(odd) { padding-left: 0; border-left: 0; }
}
@media (max-width: 720px) {
  .ct-tres { grid-template-columns: 1fr; }
  .ct-wa { flex-direction: column; align-items: flex-start; padding: 24px 22px; }
  .ct-form { padding: 24px 20px; }
  .ct-canales__fila { grid-template-columns: 1fr; }
  .ct-correo, .ct-correo + .ct-correo { padding: 0; border-left: 0; }
  .ct-hero { background: linear-gradient(180deg, rgba(5,22,48,.9), rgba(5,22,48,.7)), url("../assets/soluciones/fondo-paisaje.jpg") center / cover no-repeat; }
}
.ct-canales__fila { grid-template-columns: 1.25fr 1.25fr 1.2fr 1fr; }
.ct-correo { gap: 12px; padding: 4px 16px; }
.ct-correo .ct-ic { width: 38px; height: 38px; }
.ct-correo .ct-ic svg { width: 19px; height: 19px; }
.ct-correo a { font-size: .78rem; overflow-wrap: normal; }
@media (max-width: 1240px) { .ct-canales__fila { grid-template-columns: repeat(2, minmax(0,1fr)); row-gap: 22px; } .ct-correo:nth-child(odd) { padding-left: 0; border-left: 0; } }
@media (max-width: 720px) { .ct-canales__fila { grid-template-columns: 1fr; } .ct-correo a { font-size: .85rem; overflow-wrap: anywhere; } }

/* menú de Grupo MENDOSUR: enlaces en texto + botones de cada unidad */
body:not(.u-telecom):not(.u-ambiental) .ms-menu a.ms-m-contacto { color: var(--c-navy); font-weight: 600; }
body:not(.u-telecom):not(.u-ambiental) .ms-menu a.ms-m-quienes[aria-current="page"] { color: var(--c-navy); font-weight: 700; }
.ms-menu a.ms-menu__btn { padding: 13px 22px; font-size: 15px; font-weight: 700; color: #fff; border-radius: 8px; }
.ms-menu a.ms-menu__btn::after { display: none; }
.ms-menu a.ms-menu__btn.ms-btn--tel { margin-left: 4px; }
.ms-menu a.ms-menu__btn:hover { color: #fff; }
@media (min-width: 1081px) { body:not(.u-telecom):not(.u-ambiental) .ms-menu { gap: 26px; } body:not(.u-telecom):not(.u-ambiental) .ms-menu .ms-menu__btn + .ms-menu__btn { margin-left: -8px; } }
@media (max-width: 1300px) and (min-width: 1081px) {
  body:not(.u-telecom):not(.u-ambiental) .ms-logo img { width: 230px; }
  body:not(.u-telecom):not(.u-ambiental) .ms-menu { gap: 18px; }
  .ms-menu a.ms-menu__btn { padding: 12px 15px; font-size: 14px; }
}
@media (max-width: 1080px) { .ms-menu a.ms-menu__btn, .ms-menu a.ms-menu__btn.ms-btn--tel { justify-content: center; padding: 15px 22px; margin: 8px 0 0; } .ms-menu .ms-menu__btn + .ms-menu__btn { margin-left: 0; } }

/* ============================================================
   INICIO DE GRUPO MENDOSUR — presentación institucional
   azul oscuro #102A4C · azul #176FD1 · verde #2FA34A
   ============================================================ */
.gh-hero { display: grid; grid-template-columns: 50% 50%; background: #F6F8FB; min-height: clamp(640px, 52vw, 740px); border-bottom: 1px solid #E3EAF1; }
.gh-hero__in { display: flex; align-items: center; padding: clamp(40px,5vw,72px) clamp(28px,4vw,64px) clamp(40px,5vw,72px) 32px; }
.gh-hero__txt { width: 100%; max-width: 560px; margin-left: max(0px, calc((100vw - 1280px) / 2)); }
.gh-etq { display: inline-flex; align-items: center; gap: 14px; color: #176FD1; font-size: 12px; font-weight: 700; letter-spacing: .26em; text-transform: uppercase; }
.gh-etq::before { content: ""; width: 34px; height: 2px; background: currentColor; }
.gh-etq--gris { color: #5A6B7D; } .gh-etq--gris::before { background: #102A4C; }
.gh-hero h1 { margin: 22px 0 0; font-weight: 800; letter-spacing: -.03em; color: #102A4C; }
.gh-marca { display: block; font-size: clamp(1.1rem, 1.5vw, 1.35rem); letter-spacing: .12em; font-weight: 700; }
.gh-marca b { color: #176FD1; } .gh-marca i { color: #2FA34A; font-style: normal; }
.gh-sub { display: block; margin-top: 14px; font-size: clamp(2rem, 3.4vw, 3.1rem); line-height: 1.08; }
.gh-hero__txt > p { margin: 22px 0 0; font-size: 1.04rem; line-height: 1.65; color: #3C5168; max-width: 52ch; }
.gh-hero__txt > p + p { margin-top: 14px; }
.gh-btn { display: inline-flex; align-items: center; gap: 14px; margin-top: 30px; padding: 16px 30px; border-radius: 6px; background: #102A4C; color: #fff; font-weight: 700; font-size: .98rem; text-decoration: none; transition: background .2s; }
.gh-btn svg { width: 18px; height: 18px; transition: transform .2s; }
.gh-btn:hover { background: #176FD1; color: #fff; text-decoration: none; }
.gh-btn:hover svg { transform: translateX(4px); }

.gh-hero__foto { position: relative; margin: 0; overflow: hidden; background: #DCE5EE; }
.gh-hero__foto img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 66% 40%; display: block; }
.gh-pres { position: absolute; left: 28px; bottom: 28px; max-width: 320px; padding: 18px 22px; background: rgba(255,255,255,.96); border: 1px solid #DDE6EF; border-radius: 8px; box-shadow: 0 6px 18px rgba(16,42,76,.14); }
.gh-pres h2 { margin: 0; color: #102A4C; font-size: 1.35rem; line-height: 1.2; font-weight: 800; letter-spacing: -.02em; }
.gh-pres p { margin: 5px 0 0; font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #176FD1; }
.gh-pres strong { display: block; margin-top: 6px; color: #3C5168; font-size: .95rem; font-weight: 600; }
.gh-pres span { display: block; margin-top: 8px; padding-top: 8px; border-top: 2px solid #176FD1; font-size: .84rem; line-height: 1.5; color: #4A5E73; }

.gh-uni { background: #fff; padding: clamp(48px,5.5vw,80px) 0 clamp(48px,5.5vw,80px); }
.gh-uni__cab h2 { margin: 14px 0 0; color: #102A4C; font-size: clamp(1.9rem, 3.2vw, 2.7rem); line-height: 1.1; letter-spacing: -.03em; font-weight: 800; }
.gh-uni__cab h2 em { font-style: normal; color: #176FD1; }
.gh-uni__grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 24px; margin-top: 32px; }
.gh-card { position: relative; overflow: hidden; display: flex; min-height: 320px; border-radius: 10px; color: #fff; }
.gh-card--tel { background: #102A4C; }
.gh-card--amb { background: #1C6B35; }
.gh-card__foto { position: absolute; top: 0; right: 0; bottom: 0; width: 46%; }
.gh-card__foto img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gh-card--tel .gh-card__foto img { object-position: 50% 30%; } .gh-card--amb .gh-card__foto img { object-position: 60% 50%; }
.gh-card__txt { position: relative; z-index: 1; width: 54%; padding: 34px 30px; display: flex; flex-direction: column; }
.gh-card__marca { display: flex; align-items: center; gap: 14px; margin: 0; }
.gh-card__marca > svg { flex: none; width: 38px; height: 38px; color: #8FC1FF; }
.gh-card--amb .gh-card__marca > svg { color: #9BE3B1; }
.gh-card__marca b { display: block; font-size: 1.55rem; line-height: 1; letter-spacing: -.02em; font-weight: 800; }
.gh-card__marca b i { font-style: normal; color: #6DB3FF; } .gh-card--amb .gh-card__marca b i { color: #6BD88B; }
.gh-card__marca small { display: block; margin-top: 5px; font-size: 1rem; font-weight: 500; }
.gh-card__txt > p:not(.gh-card__marca) { margin: 20px 0 0; font-size: .96rem; line-height: 1.6; color: rgba(255,255,255,.92); }
.gh-card__btn { align-self: flex-start; margin-top: auto; padding: 11px 22px; display: inline-flex; align-items: center; gap: 10px; border: 1.5px solid rgba(255,255,255,.8); border-radius: 6px; color: #fff; font-weight: 700; font-size: .92rem; text-decoration: none; transition: background .2s, color .2s; }
.gh-card__btn svg { width: 16px; height: 16px; }
.gh-card__btn:hover { background: #fff; color: #102A4C; text-decoration: none; }
.gh-card__txt > p:not(.gh-card__marca) + .gh-card__btn { margin-top: 24px; }

.gh-datos { list-style: none; margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); border-top: 1px solid #E3EAF1; border-bottom: 1px solid #E3EAF1; }
.gh-datos li { padding: 22px 24px; display: flex; flex-direction: column; gap: 2px; }
.gh-datos li + li { border-left: 1px solid #E3EAF1; }
.gh-datos b { color: #102A4C; font-size: 1.15rem; font-weight: 800; letter-spacing: -.01em; }
.gh-datos span { font-size: .88rem; color: #5A6B7D; }

@media (max-width: 1080px) {
  .gh-hero { grid-template-columns: 1fr; min-height: 0; }
  .gh-hero__in { padding: 44px 24px 36px; }
  .gh-hero__txt { margin-left: 0; max-width: 640px; }
  .gh-hero__foto { height: clamp(380px, 62vw, 560px); }
  .gh-uni__grid { grid-template-columns: 1fr; }
  .gh-datos { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .gh-datos li:nth-child(odd) { border-left: 0; }
  .gh-datos li:nth-child(n+3) { border-top: 1px solid #E3EAF1; }
}
@media (max-width: 640px) {
  .gh-sub { font-size: 1.95rem; }
  .gh-pres { left: 14px; right: 14px; bottom: 14px; max-width: none; }
  .gh-hero__foto { height: 460px; }
  .gh-hero__foto img { object-position: 70% 30%; }
  .gh-card { flex-direction: column; min-height: 0; }
  .gh-card__foto { position: relative; width: 100%; height: 190px; order: -1; }
  .gh-card__txt { width: 100%; padding: 24px 22px 26px; }
  .gh-datos { grid-template-columns: 1fr; }
  .gh-datos li, .gh-datos li + li { border-left: 0; }
  .gh-datos li + li { border-top: 1px solid #E3EAF1; }
}

/* portada: la foto toma la altura del bloque de texto (de "Quiénes somos" al botón) */
@media (min-width: 1081px) {
  .gh-hero {
    grid-template-columns: minmax(0,1fr) minmax(0,1fr); column-gap: clamp(36px,4.5vw,72px); align-items: stretch; min-height: 0;
    padding: clamp(44px,4.6vw,68px) max(32px, calc((100vw - 1216px) / 2));
  }
  .gh-hero__in { padding: 0; }
  .gh-hero__txt { margin: 0; max-width: 560px; }
  .gh-hero__foto { border-radius: 10px; min-height: 420px; margin-top: 8px; }
  .gh-hero__foto img { object-position: 68% 32%; }
  .gh-sub { font-size: clamp(1.9rem, 2.9vw, 2.6rem); }
  .gh-pres { left: 20px; bottom: 20px; }
}

/* ajuste de proporciones: foto más grande, tarjeta discreta y titular con mejor separación */
.gh-sub { letter-spacing: -.018em; word-spacing: .12em; line-height: 1.14; }
.gh-hero__txt > p { word-spacing: .04em; }
.gh-pres { max-width: 250px; padding: 13px 16px 14px; border-radius: 7px; background: rgba(255,255,255,.95); box-shadow: 0 4px 14px rgba(16,42,76,.16); }
.gh-pres h2 { font-size: 1.12rem; }
.gh-pres p { margin-top: 3px; font-size: .66rem; letter-spacing: .1em; }
.gh-pres strong { margin-top: 4px; font-size: .84rem; }
.gh-pres span { margin-top: 8px; padding-top: 8px; font-size: .76rem; line-height: 1.45; }
@media (min-width: 1081px) {
  .gh-hero { grid-template-columns: minmax(0,.88fr) minmax(0,1.12fr); column-gap: clamp(32px,4vw,60px); padding-top: clamp(40px,4vw,58px); padding-bottom: clamp(40px,4vw,58px); }
  .gh-hero__txt { max-width: 520px; }
  .gh-sub { margin-top: 16px; font-size: clamp(1.9rem, 2.7vw, 2.5rem); }
  .gh-hero__txt > p { margin-top: 26px; line-height: 1.75; }
  .gh-hero__txt > p + p { margin-top: 18px; }
  .gh-btn { margin-top: 34px; }
  .gh-hero__foto { min-height: 560px; margin-top: 0; }
  .gh-hero__foto img { object-position: 64% 30%; }
  .gh-pres { left: 16px; bottom: 16px; }
}
@media (max-width: 640px) { .gh-pres { max-width: none; } }

/* logo de Grupo MENDOSUR: más grande y desplazado a la izquierda */
body:not(.u-telecom):not(.u-ambiental) .ms-logo { margin-left: -18px; }
body:not(.u-telecom):not(.u-ambiental) .ms-logo img { width: 336px; }
@media (max-width: 1300px) and (min-width: 1081px) { body:not(.u-telecom):not(.u-ambiental) .ms-logo img { width: 268px; } }
@media (max-width: 1080px) { body:not(.u-telecom):not(.u-ambiental) .ms-logo img { width: 270px; } }
@media (max-width: 720px) { body:not(.u-telecom):not(.u-ambiental) .ms-logo { margin-left: -10px; } body:not(.u-telecom):not(.u-ambiental) .ms-logo img { width: 232px; } }
.ms-menu a.ms-menu__btn { flex: none; }
.ms-menu a.ms-menu__btn svg { flex: none; width: 17px; height: 17px; }
@media (min-width: 1301px) {
  body:not(.u-telecom):not(.u-ambiental) .ms-logo img { width: 318px; }
  body:not(.u-telecom):not(.u-ambiental) .ms-menu { gap: 22px; }
  body:not(.u-telecom):not(.u-ambiental) .ms-menu .ms-menu__btn + .ms-menu__btn { margin-left: -6px; }
}

/* cabecera de Grupo MENDOSUR más ancha: logo hacia la izquierda y botones hacia la derecha */
@media (min-width: 1081px) {
  body:not(.u-telecom):not(.u-ambiental) .ms-cab__in { max-width: 1520px; padding: 0 26px; }
  body:not(.u-telecom):not(.u-ambiental) .ms-logo { margin-left: -6px; }
  body:not(.u-telecom):not(.u-ambiental) .ms-menu { gap: 30px; }
  body:not(.u-telecom):not(.u-ambiental) .ms-menu .ms-menu__btn + .ms-menu__btn { margin-left: -4px; }
}

/* unidad Telecomunicaciones: emblema oficial junto al nombre */
.gh-card__marca > img { flex: none; width: 76px; height: 76px; display: block; }
.gh-card--tel .gh-card__marca { gap: 16px; }
.gh-card--tel .gh-card__marca b { font-size: 1.75rem; }
.gh-card--tel .gh-card__marca small { font-size: 1.05rem; }
.gh-card__marca > img { width: 90px; height: 90px; margin: -6px -6px -6px -10px; clip-path: circle(43.4%); }
.gh-card--amb .gh-card__marca { gap: 16px; }
.gh-card--amb .gh-card__marca b { font-size: 1.75rem; }
.gh-card--amb .gh-card__marca small { font-size: 1.05rem; }
.gh-card--amb .gh-card__marca > img { clip-path: circle(45%); }
@media (min-width: 641px) {
  .gh-card__txt { width: 60%; padding: 32px 24px 30px 28px; }
  .gh-card__foto { width: 40%; }
  .gh-card__marca > img { width: 80px; height: 80px; margin: -4px -4px -4px -8px; }
  .gh-card__marca { gap: 12px; }
  .gh-card--tel .gh-card__marca, .gh-card--amb .gh-card__marca { gap: 12px; }
  .gh-card__marca small { white-space: nowrap; }
  .gh-card--tel .gh-card__marca b, .gh-card--amb .gh-card__marca b { font-size: 1.6rem; }
  .gh-card--tel .gh-card__marca small, .gh-card--amb .gh-card__marca small { font-size: 1rem; }
}
/* emblemas de las unidades: un poco más de margen blanco alrededor del logo */
.gh-card--tel .gh-card__marca > img, .gh-card--amb .gh-card__marca > img { clip-path: circle(48.5%); }
@media (min-width: 641px) { .gh-card__marca > img { width: 86px; height: 86px; margin: -7px -6px -7px -10px; } }

/* ============================================================
   UNIDADES DE NEGOCIO (inicio del grupo) — versión refinada
   ============================================================ */
.gu { background: #F4F7FB; padding: clamp(52px,6vw,88px) 0 clamp(52px,6vw,88px); }
.gu__cab h2 { margin: 14px 0 0; color: #102A4C; font-size: clamp(2.2rem, 4vw, 3.3rem); line-height: 1.04; letter-spacing: -.035em; font-weight: 800; word-spacing: .06em; }
.gu__cab h2 em { font-style: normal; color: #176FD1; }
.gu__cab > p { margin: 16px 0 0; max-width: 62ch; font-size: 1.08rem; line-height: 1.6; color: #3C5168; }

.gu__grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 26px; margin-top: 38px; }
.gu-card { position: relative; overflow: hidden; display: flex; min-height: 400px; border-radius: 14px; color: #fff; box-shadow: 0 10px 28px rgba(16,42,76,.12); isolation: isolate; }
.gu-card--tel { background: linear-gradient(100deg, #0A2A55 0%, #0C3A7C 55%, #0F4A9E 100%); }
.gu-card--amb { background: linear-gradient(100deg, #0F4A25 0%, #17632F 55%, #1E7A3B 100%); }

/* la foto se funde con el color: máscara con varios pasos para que no haya corte */
.gu-card__foto { position: absolute; top: 0; right: 0; bottom: 0; width: 62%; z-index: 0; }
.gu-card__foto img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.06) 10%, rgba(0,0,0,.22) 22%, rgba(0,0,0,.5) 38%, rgba(0,0,0,.82) 56%, #000 74%);
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.06) 10%, rgba(0,0,0,.22) 22%, rgba(0,0,0,.5) 38%, rgba(0,0,0,.82) 56%, #000 74%);
}
.gu-card--tel .gu-card__foto img { object-position: 62% 30%; }
.gu-card--amb .gu-card__foto img { object-position: 58% 52%; }
.gu-card__txt { position: relative; z-index: 1; width: 62%; padding: 38px 34px 36px 38px; display: flex; flex-direction: column; }

.gu-marca { display: flex; align-items: center; gap: 14px; }
.gu-marca img { flex: none; width: 84px; height: 84px; margin: -6px 0 -6px -8px; clip-path: circle(48.5%); display: block; }
.gu-marca p { margin: 0; }
.gu-marca b { display: block; font-size: 1.7rem; line-height: 1; letter-spacing: -.02em; font-weight: 800; }
.gu-marca b i { font-style: normal; }
.gu-card--tel .gu-marca b i { color: #6DB8FF; } .gu-card--amb .gu-marca b i { color: #6FDB8F; }
.gu-marca small { display: block; margin-top: 6px; font-size: 1rem; font-weight: 500; color: rgba(255,255,255,.92); white-space: nowrap; }

.gu-card h3 { margin: 30px 0 0; font-size: clamp(1.4rem, 2vw, 1.75rem); line-height: 1.18; letter-spacing: -.02em; font-weight: 800; }
.gu-card__txt > p { margin: 14px 0 0; max-width: 40ch; font-size: .96rem; line-height: 1.6; color: rgba(255,255,255,.9); }

.gu-btn {
  align-self: flex-start; margin-top: auto; display: inline-flex; align-items: center; gap: 12px; padding: 14px 26px; border-radius: 8px;
  font-weight: 700; font-size: .95rem; text-decoration: none; transition: background .2s, transform .18s, box-shadow .2s;
}
.gu-card__txt > p + .gu-btn { margin-top: 28px; }
.gu-btn svg { width: 17px; height: 17px; transition: transform .2s; }
.gu-btn:hover { text-decoration: none; transform: translateY(-2px); }
.gu-btn:hover svg { transform: translateX(3px); }
.gu-card--tel .gu-btn { background: #3FA9F5; color: #052349; box-shadow: 0 8px 20px rgba(63,169,245,.35); }
.gu-card--tel .gu-btn:hover { background: #66BDFA; color: #052349; }
.gu-card--amb .gu-btn { background: #34B25A; color: #fff; box-shadow: 0 8px 20px rgba(52,178,90,.35); }
.gu-card--amb .gu-btn:hover { background: #45C46B; color: #fff; }

.gu-datos { list-style: none; margin: 26px 0 0; padding: 6px 8px; display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); background: #fff; border: 1px solid #E1E9F1; border-radius: 14px; box-shadow: 0 2px 8px rgba(16,42,76,.04); }
.gu-datos li { display: flex; align-items: center; gap: 14px; padding: 18px 20px; }
.gu-datos li + li { border-left: 1px solid #E8EEF5; }
.gu-datos__ic { flex: none; width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; background: #E8F1FC; color: #176FD1; }
.gu-datos__ic svg { width: 23px; height: 23px; }
.gu-datos p { margin: 0; display: grid; gap: 2px; }
.gu-datos b { color: #102A4C; font-size: 1.05rem; font-weight: 800; letter-spacing: -.01em; line-height: 1.2; }
.gu-datos p > span { font-size: .86rem; color: #5A6B7D; line-height: 1.35; }

@media (max-width: 1080px) {
  .gu__grid { grid-template-columns: 1fr; }
  .gu-datos { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .gu-datos li:nth-child(odd) { border-left: 0; }
  .gu-datos li:nth-child(n+3) { border-top: 1px solid #E8EEF5; }
}
@media (max-width: 640px) {
  .gu-card { flex-direction: column; min-height: 0; }
  .gu-card__foto { position: relative; width: 100%; height: 200px; order: -1; }
  .gu-card__foto img { -webkit-mask-image: linear-gradient(180deg, #000 55%, rgba(0,0,0,.4) 82%, transparent 100%); mask-image: linear-gradient(180deg, #000 55%, rgba(0,0,0,.4) 82%, transparent 100%); }
  .gu-card__txt { width: 100%; padding: 6px 24px 28px; }
  .gu-card h3 { margin-top: 22px; }
  .gu-datos { grid-template-columns: 1fr; }
  .gu-datos li, .gu-datos li + li { border-left: 0; }
  .gu-datos li + li { border-top: 1px solid #E8EEF5; }
}
.gu-card h3 { color: #fff; }

/* contacto del inicio del grupo — versión simple */
.gc { background: #fff; padding: clamp(52px,6vw,88px) 0; border-top: 1px solid #E3EAF1; }
.gc__etq { display: inline-flex; align-items: center; gap: 14px; color: #2FA34A; font-size: 12px; font-weight: 700; letter-spacing: .26em; text-transform: uppercase; }
.gc__etq::before { content: ""; width: 34px; height: 2px; background: currentColor; }
.gc h2 { margin: 16px 0 0; max-width: 16ch; color: #102A4C; font-size: clamp(2.2rem, 4.2vw, 3.4rem); line-height: 1.08; letter-spacing: -.035em; font-weight: 800; word-spacing: .06em; }
.gc h2 em { font-style: normal; color: #176FD1; }
.gc__in > p { margin: 18px 0 0; max-width: 46ch; font-size: 1.1rem; line-height: 1.6; color: #3C5168; }
.gc__acc { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; margin-top: 32px; }
.gc__btn { display: inline-flex; align-items: center; gap: 14px; padding: 17px 32px; border-radius: 8px; background: #102A4C; color: #fff; font-weight: 700; font-size: 1rem; text-decoration: none; transition: background .2s, transform .18s, box-shadow .2s; }
.gc__btn svg { width: 18px; height: 18px; transition: transform .2s; }
.gc__btn:hover { background: #176FD1; color: #fff; text-decoration: none; transform: translateY(-2px); box-shadow: 0 12px 26px rgba(23,111,209,.28); }
.gc__btn:hover svg { transform: translateX(4px); }
.gc__wa { display: inline-flex; align-items: center; gap: 14px; color: #3C5168; font-size: .92rem; line-height: 1.35; text-decoration: none; }
.gc__wa > svg:first-child { flex: none; width: 34px; height: 34px; color: #1FB655; }
.gc__wa > svg:last-child { flex: none; width: 18px; height: 18px; color: #176FD1; transition: transform .2s; }
.gc__wa:hover { color: #102A4C; text-decoration: none; }
.gc__wa:hover > svg:last-child { transform: translateX(4px); }
@media (max-width: 640px) { .gc__acc { gap: 20px; } .gc__btn { width: 100%; justify-content: center; } }
.gc { padding: clamp(40px,5vw,72px) 0; border-top: 0; background: #fff; }
.gc__in { padding: clamp(32px,4.5vw,60px) clamp(24px,4.5vw,64px); background: #F6F9FC; border: 1px solid #DEE7F0; border-radius: 14px; box-shadow: 0 2px 10px rgba(16,42,76,.04); }
/* contacto del inicio: más contraste entre el recuadro y el fondo */
.gc__in { background: #EAF1F9; border: 1px solid #BFD0E2; border-left: 4px solid #176FD1; box-shadow: 0 6px 20px rgba(16,42,76,.10); }
.gc__in > p { color: #26415C; }
.gc__wa { color: #26415C; }
.gc__etq { color: #1E8A3C; }


/* ============================================================
   SERVICIOS AMBIENTALES — misma cabecera que Telecom, en verde
   ============================================================ */
.u-ambiental .ms-logo--mark img { width: 84px; height: 84px; flex: none; clip-path: circle(48.5%); }
.u-ambiental .ms-logo__txt b i { color: var(--c-amb); }
@media (max-width: 1080px) { .u-ambiental .ms-logo--mark img { width: 72px; height: 72px; } }
@media (max-width: 720px) { .u-ambiental .ms-logo--mark img { width: 60px; height: 60px; } }
@media (max-width: 380px) { .u-ambiental .ms-logo--mark img { width: 52px; height: 52px; } }
.u-ambiental .ms-logo--mark { gap: 14px; }
/* emblema de Grupo MENDOSUR a la derecha del menú, con "Volver" en verde */
body.u-ambiental .ms-menu a.ms-volver {
  display: inline-flex; flex-direction: column; align-items: center; gap: 3px; padding: 0; margin-left: 10px;
  color: var(--c-amb); font-weight: 700; font-size: 12.5px; letter-spacing: .04em; line-height: 1; text-decoration: none;
}
body.u-ambiental .ms-menu a.ms-volver::after { display: none; }
body.u-ambiental .ms-menu a.ms-volver img { width: 46px; height: auto; display: block; transition: transform .2s ease; }
body.u-ambiental .ms-menu a.ms-volver:hover { color: var(--c-amb-dark); }
body.u-ambiental .ms-menu a.ms-volver:hover img { transform: scale(1.06); }
@media (max-width: 1080px) {
  body.u-ambiental .ms-menu a.ms-volver { flex-direction: row; justify-content: center; gap: 10px; margin: 12px 0 0; padding: 10px 0 0; border-top: 1px solid var(--c-linea); font-size: 15px; }
  body.u-ambiental .ms-menu a.ms-volver img { width: 38px; }
}

body.u-ambiental .ms-menu { gap: 30px; }
body.u-ambiental .ms-menu a { font-weight: 500; }
body.u-ambiental .ms-menu a[aria-current="page"]:not(.ms-m-contacto) { color: var(--c-amb); font-weight: 600; }
body.u-ambiental .ms-menu a.ms-m-contacto {
  background: var(--c-amb); color: #fff; font-weight: 700; padding: 14px 32px; border-radius: 10px;
  margin-left: 6px; transition: background .2s, transform .18s, box-shadow .2s;
}
body.u-ambiental .ms-menu a.ms-m-contacto::after { display: none; }
body.u-ambiental .ms-menu a.ms-m-contacto:hover { background: var(--c-amb-dark); transform: translateY(-1px); box-shadow: 0 10px 22px rgba(46,158,79,.32); }
@media (max-width: 1240px) { body.u-ambiental .ms-menu { gap: 22px; } body.u-ambiental .ms-menu a.ms-m-contacto { padding: 13px 24px; } }
@media (max-width: 1080px) {
  body.u-ambiental .ms-menu a.ms-m-contacto { text-align: center; margin: 10px 0 0; padding: 15px 24px; }
}
.u-ambiental main section[id] { scroll-margin-top: var(--cab-h); }

/* Telecom y Ambiental: logo de la unidad más compacto; "Volver" y menú más presentes */
.u-telecom .ms-logo--mark img, .u-ambiental .ms-logo--mark img { width: 68px; height: 68px; }
.u-telecom .ms-logo--mark, .u-ambiental .ms-logo--mark { gap: 12px; }
.u-telecom .ms-logo__txt, .u-ambiental .ms-logo__txt { gap: 4px; }
.u-telecom .ms-logo__txt b, .u-ambiental .ms-logo__txt b { font-size: 29px; }
.u-telecom .ms-logo__txt small, .u-ambiental .ms-logo__txt small { font-size: 17px; }
body.u-telecom .ms-menu a.ms-volver img, body.u-ambiental .ms-menu a.ms-volver img { width: 60px; }
body.u-telecom .ms-menu a.ms-volver, body.u-ambiental .ms-menu a.ms-volver { font-size: 13.5px; gap: 4px; margin-left: 14px; }
body.u-telecom .ms-menu a, body.u-ambiental .ms-menu a { font-size: 16px; }
body.u-telecom .ms-menu a.ms-m-contacto, body.u-ambiental .ms-menu a.ms-m-contacto { padding: 15px 34px; }
@media (max-width: 1080px) {
  .u-telecom .ms-logo--mark img, .u-ambiental .ms-logo--mark img { width: 58px; height: 58px; }
  .u-telecom .ms-logo__txt b, .u-ambiental .ms-logo__txt b { font-size: 25px; }
  .u-telecom .ms-logo__txt small, .u-ambiental .ms-logo__txt small { font-size: 15px; }
  body.u-telecom .ms-menu a.ms-volver img, body.u-ambiental .ms-menu a.ms-volver img { width: 46px; }
  body.u-telecom .ms-menu a, body.u-ambiental .ms-menu a { font-size: 16px; }
}
@media (max-width: 720px) {
  .u-telecom .ms-logo--mark img, .u-ambiental .ms-logo--mark img { width: 50px; height: 50px; }
  .u-telecom .ms-logo__txt b, .u-ambiental .ms-logo__txt b { font-size: 21px; }
  .u-telecom .ms-logo__txt small, .u-ambiental .ms-logo__txt small { font-size: 13px; }
}
