/* ============================================================
   TOWERSOL — hoja de estilos
   Identidad del sitio original: navy, dorado y Lato.
   ============================================================ */

:root {
  --navy:        #142850;
  --navy-medio:  #2A4E77;
  --azul-texto:  #004471;
  --oscuro:      #192A3D;
  --dorado:      #D8B454;
  --dorado-vivo: #E4C265;
  --gris-deco:   #E8E9EB;
  --gris-borde:  #DCDEE1;
  --gris-suave:  #F5F7FA;
  --blanco:      #FFFFFF;

  --ancho: 1220px;
  --radio-caja: 28px;
  --radio-chico: 12px;

  --paso: clamp(4.5rem, 9vw, 8rem);

  --sombra-suave: 0 2px 8px rgba(15, 31, 61, .05),
                  0 18px 50px rgba(15, 31, 61, .09);
  --sombra-card:  0 1px 3px rgba(15, 31, 61, .06),
                  0 10px 28px rgba(15, 31, 61, .07);
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
:target { scroll-margin-top: 2rem; }
[id] { scroll-margin-top: 2rem; }

body {
  margin: 0;
  background: var(--navy);
  color: rgba(255, 255, 255, .88);
  font-family: Lato, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-weight: 300;
  font-size: clamp(1rem, .95rem + .25vw, 1.09rem);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }

h1, h2, h3 { line-height: 1.15; margin: 0; font-weight: 900; color: var(--blanco); }
p { margin: 0 0 1.25em; }

:focus-visible {
  outline: 3px solid var(--dorado);
  outline-offset: 3px;
  border-radius: 4px;
}

.saltar {
  position: absolute; left: -9999px; top: 0;
  background: var(--dorado); color: var(--oscuro);
  padding: .8rem 1.4rem; font-weight: 700; z-index: 100;
}
.saltar:focus { left: 0; }

/* ---------- Cinta superior ---------- */
.cinta {
  text-align: center;
  font-size: .82rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 1.4rem 1rem .9rem;
  color: rgba(255, 255, 255, .55);
}
.cinta strong { color: var(--dorado); font-weight: 700; }

/* ---------- Cabecera ---------- */
.cabecera { padding: 0 1.5rem; }

.cabecera__barra {
  max-width: var(--ancho);
  margin: 0 auto;
  background: var(--blanco);
  border-radius: 999px;
  padding: 1.35rem clamp(1.75rem, 4vw, 3.25rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  box-shadow: var(--sombra-suave);
}

.cabecera__marca { margin: 0; font-size: 0; flex: 0 0 auto; }
.cabecera__marca img { width: clamp(178px, 22vw, 248px); height: auto; }

.cabecera__lema {
  margin: 0;
  color: var(--oscuro);
  font-weight: 700;
  font-size: clamp(.78rem, .72rem + .3vw, .92rem);
  letter-spacing: .1em;
  text-transform: uppercase;
  text-align: right;
  line-height: 1.6;
}

/* ---------- Títulos ---------- */
.titulo { margin-bottom: 2rem; }
.titulo__sobre,
.titulo__fuerte { display: block; text-transform: uppercase; }

.titulo__sobre {
  font-size: clamp(1.3rem, 1.05rem + 1.2vw, 1.9rem);
  font-weight: 900;
  letter-spacing: .005em;
}
.titulo__fuerte {
  font-size: clamp(2.3rem, 1.5rem + 3.4vw, 4rem);
  font-weight: 900;
  color: var(--dorado);
  letter-spacing: -.015em;
  line-height: 1.02;
}
.titulo--oscuro .titulo__sobre { color: var(--oscuro); }

.subtitulo {
  font-size: clamp(1.45rem, 1.15rem + 1.2vw, 2rem);
  text-transform: uppercase;
  letter-spacing: .005em;
  margin: 3rem 0 1.1rem;
}
.subtitulo--claro { color: var(--blanco); }

/* Filete dorado bajo los subtítulos: refuerza la identidad sin recargar */
.subtitulo::after {
  content: "";
  display: block;
  width: 3.25rem;
  height: 3px;
  margin-top: .85rem;
  background: var(--dorado);
  border-radius: 2px;
}

/* ============================================================
   ENTRADA
   ============================================================ */
.hero {
  max-width: var(--ancho);
  margin: 0 auto;
  padding: clamp(3.5rem, 8vw, 6.5rem) 1.5rem clamp(2rem, 4vw, 3rem);
  text-align: center;
}

.hero__antes {
  margin: 0 0 1.25rem;
  color: var(--dorado);
  font-weight: 900;
  font-size: clamp(.76rem, .7rem + .3vw, .88rem);
  letter-spacing: .18em;
  text-transform: uppercase;
}

.hero__titular {
  margin: 0 0 1.5rem;
  font-size: clamp(2.1rem, 1.2rem + 4.2vw, 4.2rem);
  font-weight: 900;
  line-height: 1.04;
  letter-spacing: -.025em;
  text-transform: uppercase;
  color: var(--blanco);
}
.hero__titular span { color: var(--dorado); }

.hero__bajada {
  max-width: 46rem;
  margin: 0 auto 2.5rem;
  color: rgba(255, 255, 255, .78);
  font-size: clamp(1rem, .95rem + .35vw, 1.18rem);
}

.hero__acciones {
  display: flex; flex-wrap: wrap; gap: .85rem;
  justify-content: center;
}

.boton--dorado {
  width: auto;
  background: var(--dorado);
  color: var(--oscuro);
}
.boton--dorado:hover { background: var(--blanco); }

.boton--linea {
  width: auto;
  background: transparent;
  color: var(--blanco);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .3);
}
.boton--linea:hover { background: rgba(255, 255, 255, .1); box-shadow: inset 0 0 0 1px var(--blanco); }

/* .boton se define más abajo (formulario) con width fijo y display:block.
   Al ir después, gana por orden; hace falta subir especificidad aquí. */
.hero__acciones .boton {
  display: inline-flex; align-items: center; justify-content: center;
  width: auto;
  margin: 0;
  padding: .95rem 1.9rem;
  text-decoration: none;
}
.hero__acciones .boton--dorado { background: var(--dorado); color: var(--oscuro); }
.hero__acciones .boton--dorado:hover { background: var(--blanco); }
.hero__acciones .boton--linea {
  background: transparent; color: var(--blanco);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .3);
}
.hero__acciones .boton--linea:hover {
  background: rgba(255, 255, 255, .1);
  box-shadow: inset 0 0 0 1px var(--blanco);
}

/* Con el hero delante, la primera seccion no necesita tanto aire arriba */
.compania { padding-top: clamp(2rem, 4vw, 3.5rem); }

/* ============================================================
   SOBRE LA COMPAÑÍA
   ============================================================ */
.compania {
  position: relative;
  max-width: var(--ancho);
  margin: 0 auto;
  padding: var(--paso) 1.5rem;
}

.compania__texto { max-width: 38rem; }
.compania__texto strong { font-weight: 700; color: var(--blanco); }

.compania__deco {
  position: absolute;
  right: 0; top: 14%;
  width: clamp(190px, 26vw, 330px);
  pointer-events: none;
}

/* ============================================================
   VALORES
   ============================================================ */
.valores {
  position: relative;
  max-width: var(--ancho);
  margin: 0 auto;
  padding: 0 1.5rem var(--paso);
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

.valores__deco { width: clamp(150px, 20vw, 240px); pointer-events: none; }
.valores__texto .subtitulo { margin-top: 0; }

.lista-valores { margin: 2rem 0 0; padding: 0; list-style: none; }

.lista-valores li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 1.15rem;
}
.lista-valores li::before {
  content: "";
  position: absolute;
  left: 0; top: .72em;
  width: .6rem; height: .6rem;
  border-radius: 50%;
  background: var(--dorado);
}
.lista-valores strong {
  color: var(--dorado);
  font-weight: 900;
  letter-spacing: .01em;
}

/* ============================================================
   SERVICIOS
   ============================================================ */
.servicios { padding: 0 1.5rem var(--paso); }

.servicios__caja {
  max-width: var(--ancho);
  margin: 0 auto;
  background: var(--blanco);
  color: var(--azul-texto);
  border-radius: var(--radio-caja);
  padding: clamp(2.25rem, 5vw, 4rem);
  box-shadow: var(--sombra-suave);
}

.servicios__cuerpo {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.75rem;
  align-items: start;
}

.servicios__lista {
  list-style: none; margin: 0; padding: 0;
  display: grid;
  gap: 1rem;
}

.servicio__btn {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  width: 100%;
  background: var(--gris-suave);
  border: 1px solid transparent;
  padding: 1.35rem 1.5rem;
  font: inherit;
  color: var(--azul-texto);
  text-align: left;
  cursor: pointer;
  border-radius: var(--radio-chico);
  transition: background-color .2s ease, border-color .2s ease,
              transform .2s ease, box-shadow .2s ease;
}
.servicio__btn:hover {
  background: var(--blanco);
  border-color: var(--dorado);
  transform: translateY(-2px);
  box-shadow: var(--sombra-card);
}

.servicio__puntos {
  position: relative;
  flex: 0 0 auto;
  width: 62px; height: 40px;
}
.servicio__puntos i {
  position: absolute; top: 0;
  width: 36px; height: 36px;
  border-radius: 50%;
  transition: transform .2s ease;
}
.servicio__puntos i:first-child { left: 0;    background: var(--navy); }
.servicio__puntos i:last-child  { left: 24px; top: 6px; background: var(--dorado); }

.servicio--2 .servicio__puntos i:first-child,
.servicio--4 .servicio__puntos i:first-child { background: var(--dorado); }
.servicio--2 .servicio__puntos i:last-child,
.servicio--4 .servicio__puntos i:last-child  { background: var(--navy); }

.servicio__btn:hover .servicio__puntos i:last-child { transform: translateX(4px); }

.servicio__nombre {
  font-size: clamp(1.08rem, .98rem + .45vw, 1.3rem);
  text-transform: uppercase;
  font-weight: 300;
  letter-spacing: .015em;
  line-height: 1.35;
  flex: 1;
}
.servicio__nombre strong { font-weight: 900; display: block; }

.servicio__mas {
  flex: 0 0 auto;
  color: var(--dorado);
  font-size: 1.4rem;
  line-height: 1;
  transition: transform .2s ease;
}
.servicio__btn:hover .servicio__mas { transform: translateX(4px); }

.auditbrain {
  border: 1px solid var(--gris-borde);
  border-radius: var(--radio-chico);
  padding: 2rem;
  font-size: .95rem;
  line-height: 1.75;
  color: var(--navy-medio);
  background: var(--blanco);
}
.auditbrain img { width: 215px; margin: 0 auto 1.5rem; }
.auditbrain p:last-child { margin-bottom: 0; }

@media (min-width: 980px) {
  .servicios__cuerpo { grid-template-columns: 1.3fr .7fr; gap: 3.5rem; }
}

/* ============================================================
   SOCIO
   Banda oscura: el retrato viene recortado sobre fondo casi negro,
   así que sobre navy se integra en lugar de parecer un disco pegado.
   ============================================================ */
.socio {
  background: var(--navy);
  padding: var(--paso) 1.5rem;
}

.socio__portada { max-width: var(--ancho); margin: 0 auto; }
.socio__portada .titulo { margin-bottom: 3rem; }

/* ---------- Retrato ---------- */
.retrato {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
  justify-items: center;
  text-align: center;
}

.retrato__marco {
  position: relative;
  width: clamp(240px, 34vw, 360px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}

/* El aro dorado es mayor que la foto: da presencia sin ampliar píxeles.
   Sin animación: en una firma de auditoría el movimiento decorativo resta. */
.retrato__arco {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  transform: rotate(-32deg);
}

.retrato__foto {
  width: 68%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 50%;
  box-shadow:
    0 0 0 6px rgba(255, 255, 255, .05),
    0 0 0 7px rgba(216, 180, 84, .55),
    0 26px 60px rgba(0, 0, 0, .45);
}

.retrato__ficha { max-width: 30rem; }

.retrato__titulacion {
  margin: 0 0 .35rem;
  color: var(--dorado);
  font-weight: 900;
  font-size: .92rem;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.retrato__nombre {
  margin: 0 0 .5rem;
  color: var(--blanco);
  font-weight: 900;
  font-size: clamp(1.9rem, 1.3rem + 2.6vw, 3.1rem);
  line-height: 1.05;
  letter-spacing: -.02em;
  text-transform: uppercase;
}
.retrato__nombre span { font-weight: 300; white-space: nowrap; }

.retrato__cargo {
  margin: 0 0 1.75rem;
  color: rgba(255, 255, 255, .72);
  font-size: 1.1rem;
}

.retrato__contacto {
  list-style: none; margin: 0 0 2.25rem; padding: 0;
  display: flex; flex-wrap: wrap; gap: .65rem 1.75rem;
  justify-content: center;
}
.retrato__contacto li { display: flex; align-items: center; gap: .55rem; }
.retrato__contacto svg {
  width: 1.05rem; height: 1.05rem; flex: 0 0 auto;
  fill: none; stroke: var(--dorado); stroke-width: 1.7;
  stroke-linecap: round; stroke-linejoin: round;
}
.retrato__contacto a {
  color: rgba(255, 255, 255, .9);
  text-decoration: none;
  border-bottom: 1px solid rgba(216, 180, 84, .5);
  padding-bottom: 1px;
  font-size: .96rem;
}
.retrato__contacto a:hover { color: var(--dorado); border-bottom-color: var(--dorado); }

.retrato__experiencia { border-top: 1px solid rgba(255, 255, 255, .14); padding-top: 1.5rem; }
.retrato__experiencia > p {
  margin: 0 0 1rem;
  color: rgba(255, 255, 255, .45);
  font-size: .74rem; font-weight: 900;
  letter-spacing: .14em; text-transform: uppercase;
}
.retrato__experiencia ul {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: wrap; align-items: center;
  justify-content: center; gap: 1.75rem;
}
/* Los logos vienen en color sobre fondo claro. brightness(0)+invert(1) los
   convierte en silueta blanca uniforme: sobre navy se leen todos igual,
   en vez de quedar unos lavados y otros no. */
.retrato__experiencia img {
  height: 32px; width: auto;
  filter: brightness(0) invert(1);
  opacity: .72;
  transition: opacity .2s ease;
}
.retrato__experiencia li:hover img { opacity: 1; }

@media (min-width: 900px) {
  .retrato {
    grid-template-columns: auto minmax(0, 1fr);
    gap: clamp(2.5rem, 5vw, 4.5rem);
    justify-items: start;
    text-align: left;
  }
  .retrato__contacto,
  .retrato__experiencia ul { justify-content: flex-start; }
}

/* ---------- Ficha de credenciales ---------- */
.ficha {
  max-width: var(--ancho);
  margin: clamp(3rem, 6vw, 4.5rem) auto 0;
  background: var(--blanco);
  color: var(--navy-medio);
  border-radius: var(--radio-caja);
  padding: clamp(2rem, 4.5vw, 3.5rem);
  box-shadow: 0 30px 70px rgba(0, 0, 0, .28);
}

.ficha__datos { margin: 0; display: grid; grid-template-columns: 1fr; gap: .4rem 3rem; }

.ficha__datos dt {
  color: var(--azul-texto);
  font-weight: 900;
  font-size: .82rem;
  letter-spacing: .09em;
  text-transform: uppercase;
  padding-top: .2rem;
}
.ficha__datos dd {
  margin: 0 0 1.6rem;
  font-size: .98rem;
  line-height: 1.75;
}
.ficha__datos dd:last-of-type { margin-bottom: 0; }
.ficha__datos strong { color: var(--azul-texto); font-weight: 700; }

@media (min-width: 820px) {
  .ficha__datos { grid-template-columns: minmax(9rem, 12rem) minmax(0, 1fr); gap: 0 3rem; }
  .ficha__datos dt { grid-column: 1; text-align: right; padding-top: .35rem; }
  .ficha__datos dd { grid-column: 2; }
  .ficha__datos dt::after {
    content: "";
    display: block;
    width: 2rem; height: 2px;
    margin: .6rem 0 0 auto;
    background: var(--dorado);
    opacity: .55;
  }
}

/* ============================================================
   CONTACTO
   ============================================================ */
/* El dorado va a sangre: si se le pone max-width al elemento que lleva el
   fondo, el navy del body asoma por los lados como dos franjas. */
.contacto {
  background: var(--dorado);
  color: var(--oscuro);
  padding: var(--paso) 1.5rem;
}

.contacto__interior {
  max-width: var(--ancho);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

.contacto__hola {
  margin: 0 0 .9rem;
  font-size: clamp(.78rem, .72rem + .3vw, .9rem);
  font-weight: 900;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(25, 42, 61, .82);
}

/* Antes iba en blanco sobre dorado: 1,99:1 de contraste, por debajo del
   mínimo de 3:1 para texto grande. En navy sube a 7,35:1. */
.contacto__reclamo h2 {
  font-size: clamp(1.85rem, 1.3rem + 2.4vw, 2.9rem);
  color: var(--oscuro);
  line-height: 1.1;
  letter-spacing: -.015em;
}

.contacto__texto {
  max-width: 32rem;
  margin: 1.35rem 0 2rem;
  color: rgba(25, 42, 61, .88);
  font-size: 1.02rem;
}

/* ---------- Vías directas ---------- */
.contacto__directo { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; max-width: 27rem; }

.contacto__directo a,
.contacto__directo .contacto__inerte {
  display: flex; align-items: center; gap: .95rem;
  padding: .8rem 1.05rem;
  background: rgba(255, 255, 255, .38);
  border: 1px solid rgba(255, 255, 255, .55);
  border-radius: var(--radio-chico);
  text-decoration: none;
  color: var(--oscuro);
  transition: background-color .18s ease, border-color .18s ease, transform .18s ease;
}
.contacto__directo a:hover {
  background: var(--blanco);
  border-color: var(--blanco);
  transform: translateX(3px);
}

.contacto__icono {
  flex: 0 0 auto;
  width: 2.4rem; height: 2.4rem;
  display: grid; place-items: center;
  background: var(--oscuro);
  border-radius: 50%;
}
.contacto__icono svg {
  width: 1.15rem; height: 1.15rem;
  fill: none; stroke: var(--dorado); stroke-width: 1.7;
  stroke-linecap: round; stroke-linejoin: round;
}

.contacto__dato { display: flex; flex-direction: column; line-height: 1.35; min-width: 0; }
.contacto__etiqueta {
  font-size: .7rem; font-weight: 900;
  letter-spacing: .12em; text-transform: uppercase;
  color: rgba(25, 42, 61, .82);
}
.contacto__valor { font-weight: 700; word-break: break-word; }

/* ---------- Caja del formulario ---------- */
.contacto__caja {
  background: var(--blanco);
  border-radius: var(--radio-caja);
  padding: clamp(1.9rem, 4vw, 3rem);
  box-shadow: 0 24px 60px rgba(25, 42, 61, .22);
}

.contacto__titulo {
  color: var(--azul-texto);
  font-size: clamp(1.35rem, 1.15rem + .9vw, 1.8rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -.01em;
  margin-bottom: .5rem;
}
.contacto__titulo::after {
  content: "";
  display: block;
  width: 2.75rem; height: 3px;
  margin-top: .8rem;
  background: var(--dorado);
  border-radius: 2px;
}

.contacto__ayuda {
  margin: 1.1rem 0 1.75rem;
  font-size: .86rem;
  color: var(--navy-medio);
}

@media (min-width: 900px) {
  .contacto__interior {
    grid-template-columns: minmax(0, 1fr) minmax(0, .92fr);
    column-gap: clamp(3rem, 6vw, 5.5rem);
  }
}

/* ---------- Formulario ---------- */
.campo { margin: 0 0 1.35rem; }

.campo label {
  display: block;
  font-size: .8rem;
  font-weight: 900;
  color: var(--navy-medio);
  margin-bottom: .5rem;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.obligatorio { color: var(--dorado); }

.campo input,
.campo textarea {
  width: 100%;
  font: inherit;
  color: var(--oscuro);
  background: var(--gris-suave);
  border: 1px solid var(--gris-borde);
  border-radius: var(--radio-chico);
  padding: .95rem 1.15rem;
  transition: border-color .18s ease, box-shadow .18s ease, background-color .18s ease;
}
.campo textarea { resize: vertical; min-height: 8rem; line-height: 1.65; }

.campo input::placeholder,
.campo textarea::placeholder { color: #9AA6B4; }

.campo input:hover,
.campo textarea:hover { border-color: var(--navy-medio); }

.campo input:focus,
.campo textarea:focus {
  outline: none;
  background: var(--blanco);
  border-color: var(--azul-texto);
  box-shadow: 0 0 0 3px rgba(0, 68, 113, .16);
}

.campo input[aria-invalid="true"],
.campo textarea[aria-invalid="true"] { border-color: #B3261E; background: #FDF6F5; }

.campo .error {
  display: block;
  color: #B3261E;
  font-size: .8rem;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  margin-top: .35rem;
}

.boton {
  display: block;
  width: 100%;
  margin: 1.75rem 0 0;
  background: var(--navy);
  color: var(--blanco);
  border: 0;
  border-radius: var(--radio-chico);
  padding: 1.05rem 1.5rem;
  font: inherit;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .08em;
  cursor: pointer;
  transition: background-color .18s ease, transform .18s ease, box-shadow .18s ease;
}
.boton:hover {
  background: var(--azul-texto);
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(20, 40, 80, .28);
}
.boton[disabled] { opacity: .6; cursor: progress; transform: none; }

.formulario__aviso {
  margin: 1.15rem 0 0;
  text-align: center;
  font-size: .92rem;
  font-weight: 700;
  min-height: 1.4em;
}
.formulario__aviso[data-estado="ok"]    { color: #1B5E20; }
.formulario__aviso[data-estado="error"] { color: #B3261E; }

.formulario__nota {
  margin: .5rem 0 0;
  text-align: center;
  font-size: .8rem;
  color: var(--navy-medio);
}

.miel {
  position: absolute !important;
  left: -9999px !important;
  width: 1px; height: 1px; overflow: hidden;
}

/* ============================================================
   PIE
   ============================================================ */
.pie {
  background: var(--navy);
  padding: var(--paso) 1.5rem 2.5rem;
}

.pie__equipo {
  list-style: none;
  max-width: var(--ancho);
  margin: 0 auto;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 2.5rem;
  text-align: center;
}
.pie__equipo li {
  font-size: .92rem;
  padding: 2rem 1.25rem;
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: var(--radio-chico);
}
.pie__equipo p { margin: 0 0 .35rem; }
.pie__equipo a { text-decoration: none; color: rgba(255, 255, 255, .82); }
.pie__equipo a:hover { color: var(--dorado); text-decoration: underline; }

.pie__icono {
  width: 42px; height: 42px;
  margin: 0 auto 1.1rem;
  fill: var(--dorado);
  opacity: .85;
}

.pie__nombre {
  color: var(--dorado);
  font-weight: 900;
  font-size: 1.02rem;
  margin-bottom: .7rem !important;
}
.pie__nombre span {
  display: block;
  color: rgba(255, 255, 255, .68);
  font-weight: 400;
  font-size: .86rem;
  letter-spacing: .02em;
}

.pie__oficina {
  color: rgba(255, 255, 255, .5);
  margin-top: .7rem !important;
  font-size: .85rem;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.pie__legal {
  max-width: var(--ancho);
  margin: 3.5rem auto 0;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(255, 255, 255, .12);
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1.5rem;
  justify-content: space-between;
  font-size: .84rem;
  color: rgba(255, 255, 255, .55);
}
.pie__legal p { margin: 0; }
.pie__autor a { color: rgba(255, 255, 255, .8); }

/* ============================================================
   MODALES
   ============================================================ */
.modal {
  width: min(820px, calc(100vw - 2rem));
  max-height: min(86vh, 940px);
  border: 0;
  border-radius: var(--radio-caja);
  padding: clamp(2rem, 4vw, 3.25rem);
  background: var(--blanco);
  color: var(--navy-medio);
  font-size: 1rem;
  overflow: auto;
  overscroll-behavior: contain;
  box-shadow: 0 30px 80px rgba(15, 31, 61, .35);
}
.modal::backdrop { background: rgba(15, 31, 61, .78); }

.modal__titulo {
  color: var(--azul-texto);
  text-transform: uppercase;
  font-size: clamp(1.5rem, 1.2rem + 1.4vw, 2.1rem);
  margin-bottom: 1.75rem;
  padding-right: 3rem;
}
.modal__titulo span {
  display: block;
  font-size: .58em;
  font-weight: 300;
  color: var(--dorado);
  letter-spacing: .06em;
}

.modal h3 {
  color: var(--azul-texto);
  text-transform: uppercase;
  font-size: 1.02rem;
  letter-spacing: .04em;
  margin: 2.25rem 0 .9rem;
  padding-bottom: .6rem;
  border-bottom: 2px solid var(--dorado);
}
.modal ul { margin: 0; padding: 0; list-style: none; }
.modal li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: .55rem;
}
.modal li::before {
  content: "";
  position: absolute;
  left: 0; top: .72em;
  width: .45rem; height: .45rem;
  border-radius: 50%;
  background: var(--dorado);
}

.modal__cerrar {
  position: absolute;
  top: 1.15rem; right: 1.4rem;
  background: var(--gris-suave); border: 0;
  width: 2.6rem; height: 2.6rem;
  font-size: 1.6rem; line-height: 1;
  color: var(--navy-medio);
  cursor: pointer;
  border-radius: 50%;
  transition: background-color .18s ease, color .18s ease;
}
.modal__cerrar:hover { background: var(--dorado); color: var(--blanco); }

/* ============================================================
   APARICIÓN AL DESPLAZAR
   ============================================================ */
.revelar {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .65s ease, transform .65s ease;
}
.revelar.visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
  .revelar { opacity: 1; transform: none; }
}

/* ---------- Composición ---------- */
@media (min-width: 900px) {
  .valores {
    grid-template-columns: clamp(150px, 20vw, 240px) minmax(0, 1fr);
    align-items: center;
    gap: 4rem;
  }
  .servicios__lista { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 899px) {
  .compania__deco,
  .valores__deco { display: none; }
}

@media print {
  body { background: #fff; color: #000; }
  .contacto, .modal, .saltar { display: none; }
}
