/* ==========================================================================
   Auditrust â€” Hoja de estilos
   Paleta tomada del logotipo original: rojo #C00005 sobre carbÃ³n #15161A
   ========================================================================== */

:root {
  --rojo:        #C00005;
  --rojo-vivo:   #E01323;
  --rojo-suave:  rgba(192, 0, 5, .08);

  --carbon:      #15161A;
  --carbon-2:    #1E2027;
  --carbon-3:    #2A2D36;

  --tinta:       #171A1F;
  --texto:       #4B515C;
  --texto-claro: rgba(255, 255, 255, .72);

  --gris:        #F4F5F7;
  --gris-linea:  #E3E5EA;
  --blanco:      #FFFFFF;

  --wa:          #25D366;
  --wa-oscuro:   #1DA851;

  --radio:       14px;
  --radio-sm:    8px;
  --sombra:      0 1px 2px rgba(20, 22, 26, .04), 0 8px 24px rgba(20, 22, 26, .06);
  --sombra-alta: 0 2px 6px rgba(20, 22, 26, .06), 0 22px 48px rgba(20, 22, 26, .14);

  --ancho:       1180px;
  --cabecera-h:  84px;

  --fuente: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --transicion: .28s cubic-bezier(.4, 0, .2, 1);
}

/* ------------------------------------------------------------------ base -- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--cabecera-h) + 12px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--fuente);
  font-size: 17px;
  line-height: 1.65;
  color: var(--texto);
  background: var(--blanco);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
ul  { list-style: none; margin: 0; padding: 0; }
a   { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { color: var(--tinta); line-height: 1.15; margin: 0; letter-spacing: -.02em; }
p   { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }

:focus-visible {
  outline: 3px solid var(--rojo);
  outline-offset: 3px;
  border-radius: 3px;
}

.contenedor {
  width: min(100% - 2.5rem, var(--ancho));
  margin-inline: auto;
}

.salto-contenido {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 999;
  background: var(--rojo);
  color: #fff;
  padding: .8rem 1.4rem;
  font-weight: 600;
}
.salto-contenido:focus { left: 1rem; top: 1rem; }

/* visible solo para buscadores y lectores de pantalla */
.oculto-visual {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* --------------------------------------------------------------- botones -- */
.boton {
  --fondo: var(--rojo);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  padding: .82rem 1.5rem;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--fondo);
  color: #fff;
  font-size: .95rem;
  font-weight: 650;
  letter-spacing: .01em;
  cursor: pointer;
  white-space: nowrap;
  transition: transform var(--transicion), box-shadow var(--transicion),
              background-color var(--transicion), border-color var(--transicion);
}
.boton:hover  { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0, 0, 0, .18); }
.boton:active { transform: translateY(0); }

.boton--wa       { --fondo: var(--wa); color: #06301A; }
.boton--wa:hover { --fondo: var(--wa-oscuro); color: #fff; }

.boton--grande { padding: 1.02rem 1.9rem; font-size: 1rem; }
.boton--bloque { width: 100%; }

.ico-wa { width: 20px; height: 20px; flex: none; }

.enlace-flecha {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  margin-top: 1.4rem;
  color: var(--rojo);
  font-weight: 650;
  font-size: .95rem;
  border-bottom: 1px solid transparent;
  transition: gap var(--transicion), border-color var(--transicion);
}
.enlace-flecha::after { content: ""; transition: transform var(--transicion); }
.enlace-flecha:hover  { gap: .75rem; border-bottom-color: currentColor; }
.enlace-flecha:hover::after { transform: translateX(2px); }

/* -------------------------------------------------------------- cabecera -- */
/* La cabecera es sÃ³lida desde el inicio: el banner principal es claro y un
   logotipo blanco sobre Ã©l serÃ­a invisible. Al bajar solo se compacta. */
.cabecera {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--cabecera-h);
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, .93);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  box-shadow: 0 1px 0 var(--gris-linea);
  transition: box-shadow var(--transicion), height var(--transicion);
}
.cabecera--fija {
  height: 70px;
  box-shadow: 0 1px 0 var(--gris-linea), 0 8px 24px rgba(20, 22, 26, .06);
}

.cabecera__fila {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  width: min(100% - 2.5rem, var(--ancho));
  margin-inline: auto;
}

.cabecera__logo img { height: 38px; width: auto; transition: height var(--transicion); }
.cabecera--fija .cabecera__logo img { height: 33px; }
.cabecera__logo [data-logo-oscuro] { display: none; }

.nav { margin-left: auto; }
.nav__lista { display: flex; gap: 1.9rem; }
.nav__lista a {
  position: relative;
  font-size: .95rem;
  font-weight: 550;
  color: var(--tinta);
  padding-block: .35rem;
  transition: color var(--transicion);
}
.nav__lista a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 2px;
  background: var(--rojo);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transicion);
}
.nav__lista a:hover::after,
.nav__lista a.activo::after { transform: scaleX(1); }
.nav__lista a.activo { color: var(--rojo); }

.hamburguesa {
  display: none;
  width: 44px; height: 44px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}
.hamburguesa span {
  display: block;
  width: 24px; height: 2px;
  margin: 5px auto;
  background: var(--tinta);
  border-radius: 2px;
  transition: transform var(--transicion), opacity var(--transicion);
}
.hamburguesa[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburguesa[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburguesa[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ NEWS BOARD â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.auditrust-news-section {
  background: #F7F7F7;
  padding: calc(var(--cabecera-h) + 1rem) 2rem 1.25rem;
}

.auditrust-news-container {
  max-width: 1120px;
  margin: 0 auto;
}

/* â”€â”€ Heading â”€â”€ */
.auditrust-news-heading {
  margin-bottom: 14px;
}

.auditrust-news-heading h2 {
  font-size: clamp(20px, 2vw, 24px);
  font-weight: 750;
  line-height: 1.2;
  color: #181818;
  margin: 0;
}

.auditrust-news-heading h2 span {
  color: #B70815;
}

.auditrust-news-accent {
  width: 36px;
  height: 2px;
  background: #B70815;
  margin-top: 8px;
}

/* â”€â”€ Board (single container) â”€â”€ */
.auditrust-news-board {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 57fr) minmax(0, 43fr);
  gap: 0;
  width: 100%;
  background: #fff;
  border: 1px solid var(--gris-linea);
  border-radius: 6px;
  box-shadow: 0 2px 12px rgba(21, 22, 26, .06);
  overflow: hidden;
  align-items: stretch;
}

/* â”€â”€ Left column: featured â”€â”€ */
.auditrust-news-featured {
  display: flex;
  flex-direction: column;
  min-width: 0;
  border-right: none;
}

.auditrust-news-featured-image {
  aspect-ratio: 3 / 2;
  height: auto;
  background: #F7F7F7;
  overflow: hidden;
  position: relative;
}

.auditrust-news-featured-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  filter: saturate(.75) contrast(1.05);
}

#news-main-img[src*="banner-principal"] { object-fit: contain; }

.auditrust-news-featured-title {
  height: 60px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  padding: 10px 16px;
  background: #111318;
  border-top: 2px solid var(--rojo);
  color: #fff;
  font-size: 14px;
  font-weight: 650;
  letter-spacing: .01em;
  line-height: 1.35;
}

/* â”€â”€ Right column: side list â”€â”€ */
.auditrust-news-side {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 43%;
  display: grid;
  grid-auto-rows: minmax(min-content, 1fr);
  min-width: 0;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #C7CAD0 transparent;
  border-left: 1px solid var(--gris-linea);
}

.auditrust-news-side-item {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-bottom: 1px solid var(--gris-linea);
  transition: background-color var(--transicion), box-shadow var(--transicion);
}
.auditrust-news-side-item:hover,
.auditrust-news-side-item.is-active:hover { background: var(--gris); }
.auditrust-news-side-item.is-active {
  background: var(--blanco);
  box-shadow: none;
}
.auditrust-news-side-item.is-active h3 { color: #181818; }

.auditrust-news-side-item:last-child {
  border-bottom: none;
}

.auditrust-news-side-image {
  position: relative;
  width: 96px;
  aspect-ratio: 4 / 3;
  height: auto;
  border-radius: 3px;
  overflow: hidden;
}

.auditrust-news-side-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.auditrust-news-side-content {
  min-width: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.auditrust-news-side-content time,
.auditrust-news-side-content .auditrust-news-meta {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .08em;
  color: var(--texto);
  text-transform: uppercase;
  margin-bottom: 4px;
}

.auditrust-news-side-content h3 {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
  color: #181818;
  margin: 0;
  transition: color .25s ease;
}

.auditrust-news-side-link {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  font-size: 12px;
  color: #B70815;
  text-decoration: none;
  margin-top: 4px;
  line-height: 1.3;
}

.auditrust-news-side-link:hover {
  text-decoration: underline;
}
.auditrust-news-select {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}
.auditrust-news-select:focus-visible {
  outline: 2px solid var(--rojo);
  outline-offset: 3px;
}

/* â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ Responsive: Tablet (â‰¤1100px) â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
@media (max-width: 1100px) {
  .auditrust-news-board {
    grid-template-columns: minmax(0, 55fr) minmax(0, 45fr);
  }

  .auditrust-news-side-item {
    grid-template-columns: 84px minmax(0, 1fr);
  }

  .auditrust-news-side { width: 45%; }

  .auditrust-news-side-image {
    width: 84px;
  }
}

/* â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ Responsive: Mobile (â‰¤767px) â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
@media (max-width: 767px) {
  .auditrust-news-section {
    padding: calc(var(--cabecera-h) + 1rem) 16px 20px;
  }

  .auditrust-news-heading h2 {
    font-size: 20px;
  }

  .auditrust-news-board {
    display: block;
  }

  .auditrust-news-featured {
    border-right: none;
  }

  .auditrust-news-side {
    position: relative;
    top: auto;
    right: auto;
    bottom: auto;
    width: 100%;
    grid-auto-rows: minmax(82px, auto);
    align-content: start;
    max-height: 290px;
    border-left: 0;
    border-top: 1px solid var(--gris-linea);
  }

  .auditrust-news-side-item {
    grid-template-columns: 80px minmax(0, 1fr);
  }

  .auditrust-news-side-item:last-child {
    border-bottom: none;
  }

  .auditrust-news-side-image {
    width: 80px;
  }
}

/* â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ Responsive: Small mobile (â‰¤420px) â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
@media (max-width: 420px) {
  .auditrust-news-side-item {
    grid-template-columns: 72px minmax(0, 1fr);
  }

  .auditrust-news-side-image {
    width: 72px;
  }

  .auditrust-news-side-content h3 {
    font-size: 13px;
  }

  .auditrust-news-featured-title {
    font-size: 13px;
  }
}

/* â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ Animations â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
@keyframes newsBoardFadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

.auditrust-news-heading,
.auditrust-news-board {
  opacity: 0;
  animation: newsBoardFadeIn .6s ease forwards;
}

.auditrust-news-heading { animation-delay: .05s; }
.auditrust-news-board   { animation-delay: .2s; }

@media (prefers-reduced-motion: reduce) {
  .auditrust-news-heading,
  .auditrust-news-board {
    opacity: 1;
    animation: none;
  }
}

/* ----------------------------------------------------------- credenciales -- */
.credenciales {
  background: var(--carbon-2);
  border-top: 3px solid var(--rojo);
  padding: 1.15rem 0;
}
.credenciales__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1.3fr);
  align-items: center;
  gap: .7rem 2rem;
}
.credenciales__foro {
  display: flex;
  align-items: center;
  gap: .85rem;
  min-width: 0;
}
.credenciales__foro-logo {
  flex: none;
  width: 180px;
  height: auto;
  padding: 4px 6px;
  border-radius: 4px;
  background: #fff;
}
.credenciales__foro p { min-width: 0; }
.page-inicio .credenciales .credenciales__foro p { hyphens: manual; }
@media (max-width: 1100px) {
  .credenciales__foro-logo { width: 152px; }
}
@media (max-width: 900px) {
  .credenciales__grid {
    grid-template-columns: 1fr;
  }
}
.credenciales p {
  display: flex;
  align-items: baseline;
  gap: .6rem;
  color: rgba(255, 255, 255, .78);
  font-size: .84rem;
  line-height: 1.4;
}
.credenciales span { color: var(--rojo-vivo); font-size: .6rem; }

/* -------------------------------------------------------------- secciones -- */
.seccion { padding: clamp(2.5rem, 5vw, 4.5rem) 0; }
.seccion--gris   { background: var(--gris); }
.seccion--oscura { background: var(--carbon); position: relative; overflow: hidden; }
/* acento diagonal de marca: se mantiene tenue para no restar contraste al
   texto de las tarjetas, que llevan fondo semitransparente */
.seccion--oscura::before {
  content: "";
  position: absolute;
  top: -30%; left: -14%;
  width: 300px; height: 160%;
  background: linear-gradient(180deg, rgba(192, 0, 5, .34), rgba(192, 0, 5, 0));
  transform: skewX(-20deg);
  pointer-events: none;
}
.seccion--oscura > .contenedor { position: relative; }

.etiqueta {
  display: flex;
  align-items: center;
  gap: .7rem;
  margin-bottom: .9rem;
  color: var(--rojo);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.etiqueta::before {
  content: "";
  width: 28px; height: 2px;
  background: var(--rojo);
  flex: none;
}
.etiqueta--clara { color: var(--rojo-vivo); }

.titulo {
  max-width: 22ch;
  font-size: clamp(1.85rem, 4vw, 2.8rem);
  font-weight: 720;
}
.titulo--claro { color: #fff; }

/* -------------------------------------------------------------- porque -- */
#porque { padding-top: 0; padding-bottom: 0; margin-bottom: 1cm; }
.why-choose-us-section {
  position: relative;
  padding: 25px 6% 45px;
  background: #1B1B1B;
  overflow: visible;
  isolation: isolate;
}
.why-choose-us-section__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    linear-gradient(135deg, #1B1B1B 0%, #1e2028 40%, #22252d 60%, rgba(215, 25, 32, .06) 100%);
}
.why-choose-us-section__bg::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 40%;
  height: 100%;
  background: linear-gradient(160deg, transparent 0%, rgba(215, 25, 32, .04) 100%);
  clip-path: polygon(30% 0, 100% 0, 100% 100%, 0% 100%);
}
.why-choose-us-section__bg::after {
  content: "";
  position: absolute;
  bottom: 10px;
  right: 5%;
  width: 350px;
  height: 350px;
  border: 1px solid rgba(215, 25, 32, .08);
  transform: rotate(45deg);
  pointer-events: none;
}
.why-choose-us-section__title {
  position: relative;
  z-index: 2;
  font-size: clamp(1.6rem, 3.5vw, 2.8rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
}
.why-choose-us-section__title--white { color: #FFFFFF; }
.why-choose-us-section__title--red { color: #D71920; }

.why-choose-us-section__grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  width: 100%;
  gap: 0;
  align-items: stretch;
}
.why-choose-us-section__item {
  padding: 0 20px 20px;
  min-width: 0;
}
.why-choose-us-section__ico {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #D71920;
  border-radius: 50%;
  color: #FFFFFF;
  margin-bottom: 1rem;
  transition: transform .25s ease;
}
.why-choose-us-section__ico svg { width: 22px; height: 22px; }
.why-choose-us-section__item:hover .why-choose-us-section__ico {
  transform: translateY(-3px);
}
.why-choose-us-section__name {
  font-size: clamp(.85rem, 1.1vw, 1rem);
  font-weight: 700;
  color: #FFFFFF;
  text-transform: uppercase;
  line-height: 1.3;
  margin-bottom: .6rem;
}
.why-choose-us-section__desc {
  font-size: clamp(.78rem, .9vw, .88rem);
  line-height: 1.55;
  color: rgba(255, 255, 255, .65);
}
.why-choose-us-section__dotted {
  width: 40px;
  height: 2px;
  margin-top: .8rem;
  background: repeating-linear-gradient(90deg, #D71920 0, #D71920 4px, transparent 4px, transparent 8px);
}
.why-choose-us-section__divider {
  width: 1px;
  background: rgba(255, 255, 255, .18);
  align-self: stretch;
  margin: 0;
}
@media (max-width: 900px) {
  .why-choose-us-section__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .why-choose-us-section__divider { display: none; }
  .why-choose-us-section__item { padding: 1rem; }
}
@media (max-width: 600px) {
  .why-choose-us-section {
    padding: 25px 24px 40px;
  }
  .why-choose-us-section__grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .why-choose-us-section__item {
    padding: 1.2rem;
    background: rgba(255, 255, 255, .03);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, .08);
  }
  .why-choose-us-section__divider { display: none; }
}

.subtitulo {
  max-width: 60ch;
  margin-top: 1rem;
  font-size: 1.05rem;
}

.parrafo { margin-top: 1.1rem; max-width: 62ch; }
.parrafo--claro { color: var(--texto-claro); }
.parrafo strong { color: var(--tinta); }
.parrafo--claro strong { color: #fff; }
.parrafo--justificado { text-align: justify; hyphens: auto; }
@media (max-width: 600px) {
  .parrafo--justificado { text-align: left; hyphens: manual; }
}
@media (max-width: 767px) {
  .page-inicio main p:not(.etiqueta, .persona__cargo, .oficina__pais, .formulario__titulo, .formulario__error),
  .page-inicio main .auditrust-news-side-link,
  .page-inicio main .cita {
    text-align: justify;
    text-align-last: left;
    hyphens: auto;
  }
}

/* -------------------------------------------------------------- nosotros -- */
.nosotros__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}
.nosotros__foto {
  position: relative;
  margin: 0;
  border-radius: var(--radio);
  overflow: hidden;
  box-shadow: var(--sombra-alta);
}
.nosotros__foto::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 6px;
  background: linear-gradient(90deg, var(--rojo) 0 35%, var(--carbon) 35% 100%);
}

.mv__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: 1.5rem;
  margin-top: clamp(3rem, 6vw, 4.5rem);
}
.mv {
  padding: 2.1rem;
  border: 1px solid var(--gris-linea);
  border-radius: var(--radio);
  background: var(--blanco);
  box-shadow: var(--sombra);
  transition: transform var(--transicion), box-shadow var(--transicion);
}
.mv:hover { transform: translateY(-4px); box-shadow: var(--sombra-alta); }
.mv h3 {
  display: flex;
  align-items: center;
  gap: .8rem;
  margin-bottom: .9rem;
  font-size: 1.3rem;
}
.mv__barra { width: 22px; height: 3px; background: var(--rojo); border-radius: 2px; }

.valores { margin-top: 1.5rem; }
.valores__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(.8rem, 2.5vw, 1.6rem);
}
.valor {
  text-align: center;
  padding: clamp(1rem, 2.5vw, 1.5rem) .6rem;
  border-radius: var(--radio);
  transition: transform var(--transicion), box-shadow var(--transicion);
}
@media (hover: hover) {
  .valor:hover {
    transform: translateY(-5px);
    box-shadow: var(--sombra);
  }
}
.valor__ico {
  display: block;
  width: clamp(30px, 4vw, 42px);
  height: clamp(30px, 4vw, 42px);
  margin: 0 auto .6rem;
  stroke: var(--rojo);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.valor__nombre {
  display: block;
  font-weight: 650;
  font-size: clamp(.78rem, 1.3vw, .92rem);
  color: var(--tinta);
  letter-spacing: .02em;
}
.valores__titulo {
  display: flex;
  align-items: center;
  gap: .8rem;
  margin-bottom: 1.2rem;
  color: var(--tinta);
  font-size: 1.3rem;
  font-weight: 720;
}
.valores__lista { display: flex; flex-wrap: wrap; gap: .6rem; }
.valores__lista li {
  padding: .5rem 1.1rem;
  border: 1px solid var(--gris-linea);
  border-radius: 999px;
  background: var(--gris);
  color: var(--tinta);
  font-size: .88rem;
  font-weight: 550;
  transition: border-color var(--transicion), background-color var(--transicion),
              color var(--transicion);
}
.valores__lista li:hover {
  border-color: var(--rojo);
  background: var(--rojo-suave);
  color: var(--rojo);
}

/* --------------------------------------------------------------- pilares -- */
.pilares {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr));
  gap: 1.4rem;
  margin-top: 3rem;
}
.pilar {
  padding: 2rem 1.8rem;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: var(--radio);
  /* fondo opaco: si fuera translÃºcido la diagonal roja se colarÃ­a bajo el texto */
  background: #1B1D23;
  transition: transform var(--transicion), border-color var(--transicion),
              background-color var(--transicion);
}
.pilar:hover {
  transform: translateY(-5px);
  border-color: rgba(224, 19, 35, .55);
  background: #21242B;
}
.pilar__ico { width: 34px; height: 34px; color: var(--rojo-vivo); margin-bottom: 1.15rem; }
.pilar h3 { color: #fff; font-size: 1.13rem; margin-bottom: .6rem; }
.pilar p  { color: rgba(255, 255, 255, .62); font-size: .93rem; }

/* -------------------------------------------------------------- why-choose -- */
.why-choose-section {
  position: relative;
  padding: 0;
  background: linear-gradient(110deg, #10141d 0%, #11151d 45%, #101218 70%, #1d0d10 100%);
  overflow: visible;
}
.why-choose-section__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.why-choose-section__bg::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: linear-gradient(160deg, transparent 0%, rgba(227, 27, 35, .04) 100%);
  clip-path: polygon(25% 0, 100% 0, 100% 100%, 0% 100%);
}
.why-choose-section__bg::after {
  content: "";
  position: absolute;
  bottom: 10%;
  right: 3%;
  width: 300px;
  height: 300px;
  border: 1px solid rgba(227, 27, 35, .06);
  transform: rotate(45deg);
  pointer-events: none;
}
.why-choose-container {
  position: relative;
  z-index: 1;
  max-width: 1500px;
  margin: 0 auto;
  padding: 40px 60px 50px;
}
.why-choose-title {
  font-size: clamp(30px, 3.5vw, 48px);
  font-weight: 800;
  line-height: 1.15;
  margin: 0 0 45px 0;
  font-family: "Avenir Next", "Segoe UI", system-ui, sans-serif;
}
.why-choose-title--white { color: #FFFFFF; }
.why-choose-title--red { color: #E31B23; }

.why-choose-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  width: 100%;
  align-items: stretch;
}
.why-choose-card {
  padding: 10px 30px 20px;
  opacity: 0;
  transform: translateY(15px);
  transition: opacity .5s ease, transform .5s ease;
}
.why-choose-card:nth-child(1) { padding-left: 0; }
.why-choose-card:nth-child(4) { padding-right: 0; }
.why-choose-card:nth-child(n+2) {
  border-left: 1px solid rgba(255, 255, 255, .16);
}
.why-choose-card.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.why-choose-card:nth-child(1).is-visible { transition-delay: 0s; }
.why-choose-card:nth-child(2).is-visible { transition-delay: .1s; }
.why-choose-card:nth-child(3).is-visible { transition-delay: .2s; }
.why-choose-card:nth-child(4).is-visible { transition-delay: .3s; }

.why-choose-icon {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #D91F2A;
  border-radius: 50%;
  color: #FFFFFF;
  transition: transform .25s ease;
}
.why-choose-icon svg { width: 26px; height: 26px; }
.why-choose-card:hover .why-choose-icon {
  transform: translateY(-3px);
}
.why-choose-heading {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.25;
  color: #FFFFFF;
  text-transform: uppercase;
  margin-top: 16px;
  margin-bottom: 12px;
  font-family: "Avenir Next", "Segoe UI", system-ui, sans-serif;
}
.why-choose-description {
  font-size: 14px;
  line-height: 1.65;
  color: rgba(255, 255, 255, .85);
  max-width: 300px;
  font-family: "Avenir Next", "Segoe UI", system-ui, sans-serif;
}

@media (max-width: 1100px) {
  .why-choose-container {
    padding: 40px 40px 50px;
  }
  .why-choose-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem 0;
  }
  .why-choose-card {
    padding: 15px 20px;
  }
  .why-choose-card:nth-child(1) { padding-left: 0; }
  .why-choose-card:nth-child(2) { padding-right: 0; }
  .why-choose-card:nth-child(3) { padding-left: 0; }
  .why-choose-card:nth-child(4) { padding-right: 0; }
  .why-choose-card:nth-child(n+3) {
    border-left: none;
  }
  .why-choose-card:nth-child(odd) {
    border-right: 1px solid rgba(255, 255, 255, .16);
  }
  .why-choose-card:nth-child(n+3)::before {
    content: "";
    display: block;
    width: 100%;
    height: 1px;
    background: rgba(255, 255, 255, .16);
    margin-bottom: 1rem;
  }
}

@media (max-width: 700px) {
  .why-choose-container {
    padding: 30px 24px 40px;
  }
  .why-choose-title {
    font-size: 30px;
  }
  .why-choose-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .why-choose-card {
    padding: 0;
    border-left: none !important;
    border-right: none !important;
  }
  .why-choose-card::before {
    display: none !important;
  }
  .why-choose-card + .why-choose-card {
    border-top: 1px solid rgba(255, 255, 255, .16);
    padding-top: 1.5rem;
  }
  .why-choose-description {
    max-width: 100%;
  }
}

/* -------------------------------------------------------------- servicios -- */
.servicios-seccion {
  position: relative;
  overflow: hidden;
  padding: clamp(3rem, 6vw, 5rem) 0;
}
.servicios-seccion::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .55);
  z-index: 0;
}
.servicios-seccion__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.servicios-seccion__contenido {
  position: relative;
  z-index: 1;
}
.servicios-seccion__contenido .titulo {
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.servicios-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.servicios-grid .servicio-card:nth-child(n+5) {
  grid-column: span 1;
}
.servicios-grid .servicio-card:nth-child(5) {
  grid-column: 1 / 2;
}
.servicios-grid .servicio-card:nth-child(6) {
  grid-column: 2 / 3;
}
.servicios-grid .servicio-card:nth-child(7) {
  grid-column: 3 / 4;
}
.servicio-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .8rem;
  padding: 2rem 1rem;
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: var(--radio-sm);
  background: rgba(255, 255, 255, .04);
  color: rgba(255, 255, 255, .88);
  font-size: .9rem;
  font-weight: 600;
  letter-spacing: .02em;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background var(--transicion), border-color var(--transicion),
              transform var(--transicion), box-shadow var(--transicion);
}
.servicio-card:hover {
  background: rgba(255, 255, 255, .1);
  border-color: rgba(224, 36, 36, .5);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .4);
  color: #fff;
}
.servicio-card__ico {
  width: 36px;
  height: 36px;
  color: rgba(255, 255, 255, .7);
  transition: color var(--transicion), transform var(--transicion);
}
.servicio-card:hover .servicio-card__ico {
  color: #E02424;
  transform: scale(1.1);
}

@media (max-width: 768px) {
  .servicios-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .servicios-grid .servicio-card:nth-child(n+5) {
    grid-column: auto;
  }
}
@media (max-width: 480px) {
  .servicios-grid {
    grid-template-columns: 1fr;
  }
}

.servicios {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
  align-items: start;   /* al desplegar una tarjeta, las vecinas no se estiran */
  gap: 1.4rem;
  margin-top: 3rem;
}

.servicio {
  display: flex;
  flex-direction: column;
  position: relative;
  border: 1px solid var(--gris-linea);
  border-radius: var(--radio);
  background: var(--blanco);
  box-shadow: var(--sombra);
  overflow: hidden;
  transition: transform var(--transicion), box-shadow var(--transicion),
              border-color var(--transicion);
}
.servicio::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 3px;
  background: linear-gradient(90deg, var(--rojo), var(--carbon));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transicion);
}
.servicio:hover,
.servicio.abierto {
  transform: translateY(-6px) scale(1.01);
  border-color: rgba(192, 0, 5, .4);
  box-shadow: 0 8px 30px rgba(192, 0, 5, .12), var(--sombra-alta);
}
.servicio:hover::before,
.servicio.abierto::before { transform: scaleX(1); }

.servicio__cabeza {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 1.1rem;
  padding: 1.9rem 1.7rem;
}
.servicio__boton {
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}
/* el botÃ³n se estira sobre toda la cabecera: la tarjeta entera es pulsable */
.servicio__boton::after {
  content: "";
  position: absolute;
  inset: 0;
}
.servicio__ico {
  width: 46px; height: 46px;
  flex: none;
  padding: 10px;
  border-radius: 12px;
  background: var(--rojo-suave);
  color: var(--rojo);
  transition: background-color var(--transicion), color var(--transicion),
              transform var(--transicion), box-shadow var(--transicion);
}
.servicio:hover .servicio__ico,
.servicio.abierto .servicio__ico {
  background: var(--rojo); color: #fff;
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(192, 0, 5, .25);
}

.servicio__texto { flex: 1; min-width: 0; }
.servicio__nombre { font-size: 1.17rem; margin-bottom: .4rem; font-weight: 700; }
.servicio__resumen { font-size: .93rem; color: var(--texto); }

.servicio__chevron {
  width: 28px; height: 28px;
  flex: none;
  margin-top: .3rem;
  border: 1px solid var(--gris-linea);
  border-radius: 50%;
  background: var(--gris);
  color: var(--rojo);
  display: grid;
  place-items: center;
  font-size: 1rem;
  line-height: 1;
  transition: transform var(--transicion), background-color var(--transicion),
              border-color var(--transicion), color var(--transicion);
}
.servicio:hover .servicio__chevron {
  border-color: var(--rojo);
  background: rgba(192, 0, 5, .08);
  transform: scale(1.1);
}
.servicio.abierto .servicio__chevron {
  transform: rotate(180deg);
  border-color: var(--rojo);
  background: var(--rojo);
  color: #fff;
}

.servicio__panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows var(--transicion);
}
.servicio.abierto .servicio__panel { grid-template-rows: 1fr; }
.servicio__panel > div { overflow: hidden; }
.servicio__contenido { padding: 0 1.7rem 1.9rem; }
.servicio__detalle {
  padding-top: 1.2rem;
  border-top: 1px solid var(--gris-linea);
  font-size: .95rem;
}
.servicio__lista { margin: 1.2rem 0 0; display: grid; gap: .55rem; }
.servicio__lista li {
  position: relative;
  padding-left: 1.5rem;
  font-size: .93rem;
  color: var(--tinta);
}
.servicio__lista li::before {
  content: "";
  position: absolute;
  left: 0; top: .58em;
  width: 7px; height: 7px;
  border-radius: 2px;
  background: var(--rojo);
  transform: rotate(45deg);
}
.servicio__cta { margin-top: 1.6rem; }

/* ---------------------------------------------------------------- equipo -- */
.cita {
  max-width: 60ch;
  margin: 1.6rem 0 0;
  padding-left: 1.5rem;
  border-left: 3px solid var(--rojo);
  color: var(--tinta);
  font-size: clamp(1.02rem, 1.8vw, 1.2rem);
  font-style: italic;
  line-height: 1.5;
}

.equipo {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(285px, 100%), 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}
.persona {
  display: flex;
  flex-direction: column;
  border-radius: var(--radio);
  background: var(--blanco);
  box-shadow: var(--sombra);
  overflow: hidden;
  transition: transform var(--transicion), box-shadow var(--transicion);
}
.persona:hover { transform: translateY(-5px); box-shadow: var(--sombra-alta); }

.persona__foto { position: relative; background: #E9EAEC; aspect-ratio: 3 / 4; }
.persona__foto img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.persona__foto::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 45%;
  background: linear-gradient(to top, rgba(21, 22, 26, .72), transparent);
}

.persona__cuerpo { padding: 1.6rem; flex: 1; }
.persona__cargo {
  margin-bottom: .3rem;
  color: var(--rojo);
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.persona__nombre { font-size: 1.18rem; }
.persona__rol {
  margin-top: .3rem;
  color: var(--tinta);
  font-size: .89rem;
  font-weight: 600;
}
.persona__formacion {
  margin-top: .25rem;
  color: var(--tinta);
  font-size: .85rem;
  font-weight: 500;
  opacity: .85;
}
.persona__bio { margin-top: .8rem; font-size: .9rem; }

.persona__tags {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  margin-top: 1.2rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--gris-linea);
}
.persona__tags li {
  padding: .28rem .7rem;
  border-radius: 999px;
  background: var(--gris);
  color: var(--texto);
  font-size: .74rem;
  font-weight: 550;
}

/* -------------------------------------------------------------- oficinas -- */
.oficinas {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
  gap: 1.4rem;
  margin-top: 3rem;
}
.oficina {
  position: relative;
  padding: 2.1rem 1.9rem;
  border: 1px solid var(--gris-linea);
  border-radius: var(--radio);
  background: var(--blanco);
  box-shadow: var(--sombra);
  overflow: hidden;
  transition: transform var(--transicion), box-shadow var(--transicion);
}
.oficina::before {
  content: "";
  position: absolute;
  top: 0; right: 0;
  width: 90px; height: 90px;
  background: linear-gradient(225deg, var(--rojo-suave) 50%, transparent 50%);
}
.oficina:hover { transform: translateY(-4px); box-shadow: var(--sombra-alta); }
.oficina__pais {
  color: var(--rojo);
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.oficina__ciudad { margin: .35rem 0 .9rem; font-size: 1.55rem; }
.oficina__dir { font-size: .95rem; }
.oficina .enlace-flecha { margin-top: 1.2rem; }

/* -------------------------------------------------------------- contacto -- */
#contacto { padding: clamp(2rem, 3vw, 3rem) 0; }
.contacto {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
}

.contacto__datos { display: grid; gap: .9rem; margin-top: 2.2rem; }
#contacto .contacto__datos:empty { display: none; }
.contacto__datos li { display: flex; align-items: center; gap: .9rem; }
.contacto__datos svg {
  width: 20px; height: 20px;
  flex: none;
  color: var(--rojo-vivo);
}
.contacto__datos a {
  color: rgba(255, 255, 255, .88);
  font-size: 1rem;
  border-bottom: 1px solid transparent;
  transition: border-color var(--transicion), color var(--transicion);
  overflow-wrap: anywhere;
}
.contacto__datos a:hover { color: #fff; border-bottom-color: var(--rojo-vivo); }

.contacto__redes { margin-top: 2.4rem; }
.contacto__redes > p {
  margin-bottom: .8rem;
  color: rgba(255, 255, 255, .5);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.redes { display: flex; gap: .7rem; }
.redes a {
  display: grid;
  place-items: center;
  width: 42px; height: 42px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 50%;
  color: rgba(255, 255, 255, .8);
  transition: transform var(--transicion), background-color var(--transicion),
              border-color var(--transicion), color var(--transicion);
}
.redes a:hover {
  transform: translateY(-3px);
  background: var(--rojo);
  border-color: var(--rojo);
  color: #fff;
}
.redes svg { width: 19px; height: 19px; }
.redes__vacio {
  color: rgba(255, 255, 255, .4);
  font-size: .85rem;
  font-style: italic;
}

/* ------------------------------------------------------------ formulario -- */
.formulario {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .85rem 1rem;
  min-width: 0;
  padding: clamp(1.25rem, 2vw, 1.75rem);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: var(--radio);
  /* opaco a propÃ³sito: con fondo translÃºcido la diagonal roja se
     transparentaba a travÃ©s de los campos y ensuciaba la lectura */
  background: #1B1D23;
}
.formulario__titulo {
  margin-bottom: .25rem;
  color: #fff;
  font-size: 1.15rem;
  font-weight: 680;
  letter-spacing: -.01em;
}

.formulario__titulo,
.formulario__enviar,
.formulario__error,
.formulario .campo:nth-of-type(n+3) { grid-column: 1 / -1; }
.formulario .campo { min-width: 0; margin-bottom: 0; }
.campo label {
  display: block;
  margin-bottom: .35rem;
  color: rgba(255, 255, 255, .72);
  font-size: .85rem;
  font-weight: 600;
}
.campo label span { color: var(--rojo-vivo); }

.campo input,
.campo select,
.campo textarea {
  width: 100%;
  min-height: 44px;
  padding: .55rem .8rem;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: var(--radio-sm);
  background: rgba(255, 255, 255, .06);
  color: #fff;
  font-size: 1rem;
  line-height: 1.4;
  transition: border-color var(--transicion), background-color var(--transicion);
}
.campo textarea { resize: vertical; min-height: 96px; height: 96px; }
.campo select { appearance: none; cursor: pointer; }
.campo select option { background: var(--carbon-2); color: #fff; }
.campo input::placeholder, .campo textarea::placeholder { color: rgba(255, 255, 255, .35); }
.campo input:focus,
.campo select:focus,
.campo textarea:focus {
  border-color: var(--rojo-vivo);
  background: rgba(255, 255, 255, .1);
  outline: none;
}
.campo [aria-invalid="true"] { border-color: var(--rojo-vivo); }

.formulario__nota {
  margin-top: 1rem;
  color: rgba(255, 255, 255, .45);
  font-size: .8rem;
  text-align: center;
}
.formulario .formulario__enviar {
  justify-self: start;
  --fondo: transparent;
  min-width: 128px;
  min-height: 44px;
  padding: .75rem 1.5rem;
  border-color: rgba(255, 255, 255, .28);
  border-radius: var(--radio-sm);
  color: rgba(255, 255, 255, .86);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .12em;
}
.formulario .formulario__enviar:hover {
  --fondo: var(--rojo-suave);
  border-color: var(--rojo-vivo);
  color: #fff;
  transform: none;
  box-shadow: none;
}
.formulario .formulario__enviar:focus-visible {
  outline: 2px solid var(--rojo-vivo);
  outline-offset: 4px;
}
.formulario__error {
  margin-top: 0;
  padding: .7rem .9rem;
  border-radius: var(--radio-sm);
  background: rgba(224, 19, 35, .16);
  color: #FFB4BA;
  font-size: .86rem;
}

@media (max-width: 600px) {
  .formulario { grid-template-columns: minmax(0, 1fr); }
}

/* -------------------------------------------------------- trabaja con nosotros */
.trabaja { padding: clamp(2rem, 4vw, 3.5rem) 0; }
.trabaja__card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-radius: var(--radio);
  overflow: hidden;
  background: var(--carbon);
  box-shadow: var(--sombra-alta);
}
.trabaja__texto {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2rem, 4vw, 3.5rem);
  color: #fff;
}
.trabaja__texto .titulo {
  color: #fff;
  margin-bottom: 1rem;
}
.trabaja__texto .parrafo {
  color: rgba(255, 255, 255, .75);
  max-width: 42ch;
  margin-bottom: 2rem;
}
.trabaja__banner {
  position: relative;
  overflow: hidden;
}
.trabaja__banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 860px) {
  .trabaja__card { grid-template-columns: 1fr; }
  .trabaja__banner { order: -1; max-height: 260px; }
  .trabaja__banner img { height: 260px; object-fit: cover; }
}
@media (max-width: 600px) {
  .trabaja__banner { max-height: 200px; }
  .trabaja__banner img { height: 200px; }
}

/* ------------------------------------------------------------------- pie -- */
.pie {
  position: relative;
  padding: clamp(1.5rem, 3vw, 2.5rem) 0 0;
  background: linear-gradient(135deg, #15161A 0%, #1B1D23 50%, #15161A 100%);
  color: rgba(255, 255, 255, .6);
  overflow: hidden;
  isolation: isolate;
}
.pie::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: #15161A;
}
.pie::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, #E02424, transparent);
}

.pie__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  padding-bottom: 3.5rem;
  position: relative;
  z-index: 1;
}
.pie__columna {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
  padding: clamp(2rem, 4vw, 3rem);
  border-radius: var(--radio);
}
.pie__columna--links {
  background: rgba(27, 29, 35, .85);
  backdrop-filter: blur(4px);
}
.pie__columna--links .pie__bloques {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 2rem;
}
.pie__columna--info {
  background: rgba(27, 29, 35, .6);
  backdrop-filter: blur(4px);
  position: relative;
}
.pie__columna { display: flex; flex-direction: column; gap: 1.6rem; }
.pie__bloque { }
.pie__titulo {
  margin-bottom: .3rem;
  color: #fff;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .08em;
}
.pie__linea {
  display: block;
  margin-bottom: .8rem;
  color: #E02424;
  font-weight: 700;
  letter-spacing: .12em;
}
.pie__lista {
  display: grid;
  gap: .5rem;
  list-style: none;
  padding: 0;
  margin: 0;
}
.pie__lista a {
  font-size: .9rem;
  text-decoration: none;
  position: relative;
  transition: color var(--transicion);
}
.pie__lista a::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: #E02424;
  transition: width var(--transicion);
}
.pie__lista a:hover { color: #fff; }
.pie__lista a:hover::after { width: 100%; }

.pie__columna--info { gap: 1.2rem; }
.pie__btn-mapa {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .55rem 1.1rem;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: var(--radio-sm);
  color: #fff;
  font-size: .88rem;
  font-weight: 600;
  transition: all .3s cubic-bezier(.25, .46, .45, .94);
}
.pie__btn-mapa svg { 
  width: 18px; 
  height: 18px; 
  transition: transform .3s ease;
}
.pie__btn-mapa:hover { 
  background: rgba(255,255,255,.08); 
  border-color: rgba(255,255,255,.3);
  transform: translateY(-1px);
}
.pie__btn-mapa:hover svg {
  transform: scale(1.1);
  color: #E02424;
}

.pie__direccion {
  display: grid;
  gap: .55rem;
  font-size: .86rem;
  line-height: 1.6;
  background: #fff;
  color: #15161A;
  padding: clamp(1.15rem, 2.3vw, 1.6rem);
  border: 1px solid rgba(21, 22, 26, .07);
  border-radius: var(--radio-sm);
  box-shadow: 0 14px 34px rgba(0, 0, 0, .2);
}
.pie__etiqueta {
  display: flex;
  align-items: center;
  gap: .6rem;
  padding-bottom: .75rem;
  border-bottom: 1px solid rgba(21, 22, 26, .12);
  font-size: .67rem;
  font-weight: 800;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: #15161A;
}
.pie__etiqueta::before {
  content: "";
  flex: none;
  width: 20px;
  height: 2px;
  background: var(--rojo);
}
.pie__calle {
  margin-top: .35rem;
  font-weight: 500;
  color: #15161A;
}
.pie__ciudad {
  font-size: .73rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--texto);
}
.pie__contactos {
  display: grid;
  margin-top: .5rem;
  padding-top: .3rem;
  border-top: 1px solid rgba(21, 22, 26, .12);
}
.pie__contacto-item {
  display: flex;
  align-items: center;
  gap: .7rem;
  padding: .5rem .55rem;
  margin: 0 -.55rem;
  border-radius: 8px;
  color: #15161A;
  text-decoration: none;
  transition: background var(--transicion), color var(--transicion);
}
.pie__contacto-item:hover {
  background: rgba(192, 0, 5, .07);
  color: var(--rojo);
}
.pie__contacto-item span {
  min-width: 0;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  letter-spacing: .02em;
  overflow-wrap: anywhere;
}
.pie__contacto-item svg {
  flex: none;
  width: 15px;
  height: 15px;
  padding: 5px;
  box-sizing: content-box;
  border-radius: 50%;
  background: rgba(192, 0, 5, .1);
  color: var(--rojo);
  transition: background var(--transicion), color var(--transicion);
}
.pie__contacto-item:hover svg {
  background: var(--rojo);
  color: #fff;
}
.pie__logo {
  display: flex;
  justify-content: flex-end;
  margin-top: .35rem;
  padding-top: .9rem;
  border-top: 1px solid rgba(21, 22, 26, .12);
}
.pie__logo img {
  height: 46px;
  width: auto;
  opacity: .9;
  transition: opacity var(--transicion);
}
.pie__logo img:hover {
  opacity: 1;
  transform: none;
  filter: none;
}

.pie__legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .6rem;
  /* el hueco inferior evita que el botón flotante tape esta línea */
  padding: 1.4rem 0 5.5rem;
  border-top: 1px solid rgba(255, 255, 255, .1);
  font-size: .83rem;
}

/* -------------------------------------------------------- WhatsApp flotante */
.wa-flotante {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 90;
  display: flex;
  align-items: center;
  gap: .6rem;
  height: 58px;
  width: 58px;
  padding: 0;
  justify-content: center;
  border-radius: 999px;
  background: var(--wa);
  color: #06301A;
  font-weight: 680;
  font-size: .93rem;
  box-shadow: 0 8px 26px rgba(37, 211, 102, .45);
  transition: transform var(--transicion), box-shadow var(--transicion),
              background-color var(--transicion);
}
.wa-flotante svg { width: 27px; height: 27px; flex: none; }
.wa-flotante__texto { display: none; }
.wa-flotante:hover {
  transform: translateY(-3px) scale(1.03);
  background: var(--wa-oscuro);
  color: #fff;
  box-shadow: 0 12px 34px rgba(37, 211, 102, .55);
}

/* --------------------------------------------------- animaciones de scroll */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .65s ease, transform .65s cubic-bezier(.22, 1, .36, 1);
}
.reveal.visible { opacity: 1; transform: none; }

/* =============================== RESPONSIVE ============================== */

@media (max-width: 980px) {
  .nosotros__grid,
  .contacto      { grid-template-columns: 1fr; }
  .nosotros__foto { order: -1; }
  .pie__inner    { grid-template-columns: 1fr; }
  .pie__columna--links .pie__bloques { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
}

@media (max-width: 860px) {
  .hamburguesa {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    position: relative;
    width: 44px; height: 44px;
    z-index: 101;
    margin-left: auto;
    background: none;
  }
  .hamburguesa span { margin: 0; }
  .nav         { margin-left: 0; }

  .nav {
    position: absolute;
    top: 100%; right: 0; left: 0;
    width: auto;
    max-height: calc(100dvh - var(--cabecera-h));
    padding: .5rem 1.25rem max(.75rem, env(safe-area-inset-bottom));
    border-top: 1px solid var(--gris-linea);
    border-bottom: 1px solid var(--gris-linea);
    background: #fff;
    box-shadow: 0 16px 32px rgba(21, 22, 26, .12);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity var(--transicion), transform var(--transicion), visibility 0s .28s;
    overflow-y: auto;
    overscroll-behavior: contain;
    z-index: 100;
  }
  .nav.abierto { opacity: 1; visibility: visible; pointer-events: auto; transform: none; transition-delay: 0s; }

  .nav__lista { flex-direction: column; gap: 0; width: 100%; }
  .nav__lista li + li { border-top: 1px solid var(--gris-linea); }
  .nav__lista a {
    display: block;
    width: 100%;
    min-height: 44px;
    padding: .8rem .75rem;
    border-radius: 6px;
    color: var(--tinta);
    font-size: 1rem;
  }
  .nav__lista a::after { display: none; }
  .nav__lista a.activo,
  .nav__lista a:hover { color: var(--rojo); background: var(--rojo-suave); }
  .nav__lista a:focus-visible { outline: 2px solid var(--rojo); outline-offset: -2px; }

  .nav__cta { display: flex; margin-top: 1.8rem; }

  body.menu-abierto { overflow: hidden; }
  .velo {
    position: fixed;
    inset: 0;
    z-index: 99;
    background: rgba(10, 11, 14, .55);
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transicion);
  }
  .velo.visible { opacity: 1; pointer-events: auto; }

  .valores__grid { grid-template-columns: repeat(2, 1fr); }

  .seccion--oscura::before { width: 150px; left: -18%; }
}

@media (max-width: 600px) {
  body { font-size: 16px; }
  .contenedor { width: calc(100% - 2rem); }
  .servicio__cabeza { padding: 1.5rem 1.3rem; gap: .9rem; }
  .servicio__contenido { padding: 0 1.3rem 1.5rem; }
  .servicio__ico { width: 40px; height: 40px; padding: 8px; }
  .mv { padding: 1.7rem 1.5rem; }
  .oficina { padding: 1.8rem 1.5rem; }
  .pie__legal { justify-content: flex-start; }
  .pie__columna--links .pie__bloques { grid-template-columns: 1fr; }
  .valores__grid { grid-template-columns: 1fr 1fr; }

  .wa-flotante { height: 54px; width: 54px; right: 14px; bottom: 14px; }
}

/* ------------------------------------------------------ preferencias del SO */
/* --------------------------------------------------------- page-banner -- */
.page-banner {
  position: relative;
  width: 100%;
  height: clamp(300px, 50vw, 500px);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
}
.page-banner__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.page-banner__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(21, 22, 26, .85) 0%, rgba(21, 22, 26, .3) 60%, transparent 100%);
}
.page-banner__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(21, 22, 26, .85) 0%, rgba(21, 22, 26, .3) 60%, transparent 100%);
}
.page-banner__contenido {
  position: relative;
  z-index: 1;
  padding: clamp(1.5rem, 4vw, 3rem);
  padding-bottom: clamp(2.5rem, 6vw, 5rem);
  width: 100%;
}
.page-banner__contenido--left {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding-top: clamp(2rem, 5vw, 4rem);
  padding-left: clamp(2rem, 5vw, 5rem);
}
.page-banner--geometric {
  position: relative;
  background: var(--carbon);
  width: 100%;
  height: 100vh;
  min-height: 500px;
}
.page-banner--geometric .page-banner__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
@media (min-width: 1025px) {
  .page-banner--corporativos .page-banner__img { object-fit: contain; }
}
.page-banner--geometric .page-banner__overlay {
  background: linear-gradient(135deg, rgba(27,27,27,.45) 0%, rgba(27,27,27,.2) 50%, rgba(27,27,27,.35) 100%);
}
.page-banner--geometric::before,
.page-banner--geometric::after {
  display: none;
}
.page-banner__geometric {
  display: none;
}
.page-banner__geo-line {
  position: absolute;
}
.page-banner__geo-line--1 {
  width: 3px;
  height: 200%;
  top: -50%;
  left: 10%;
  transform: rotate(25deg);
  background: rgba(215,25,32,.15);
}
.page-banner__geo-line--2 {
  width: 1px;
  height: 180%;
  top: -40%;
  left: 25%;
  transform: rotate(25deg);
  background: rgba(255,255,255,.06);
}
.page-banner__geo-line--3 {
  width: 100px;
  height: 100px;
  border: 1px solid rgba(215,25,32,.1);
  bottom: 10%;
  right: 18%;
  transform: rotate(45deg);
  background: transparent;
}
.page-banner__geo-line--4 {
  width: 50px;
  height: 50px;
  background: rgba(215,25,32,.06);
  top: 25%;
  left: 6%;
  transform: rotate(30deg);
}
.page-banner__geo-line--5 {
  width: 250px;
  height: 1px;
  top: 40%;
  left: 0;
  transform: rotate(-15deg);
  background: rgba(255,255,255,.04);
}
.page-banner__geo-fill {
  display: none;
}
/* Banner de servicios: tÃ­tulo siguiendo el formato del hero de cumplimiento */
.page-banner--services {
  align-items: center;
}
.page-banner--services .page-banner__contenido {
  padding: clamp(3.5rem, 8vw, 5.5rem) 5% clamp(3.5rem, 8vw, 5.5rem) 8%;
}
.page-banner--services .page-banner__overlay {
  background: linear-gradient(to bottom, rgba(21, 22, 26, .78) 0%, rgba(21, 22, 26, .35) 45%, rgba(21, 22, 26, .6) 100%);
}
/* Formato estÃ¡ndar de tÃ­tulos de hero de pÃ¡ginas de servicio */
.cumpl-hero__tag{font-size:.82rem;color:#B70815;font-weight:600;text-transform:uppercase;letter-spacing:2px;margin-bottom:16px;text-shadow:0 1px 8px rgba(0,0,0,.6)}
.cumpl-hero__title{font-size:clamp(32px,4vw,52px);font-weight:800;line-height:1.05;margin:0 0 20px;color:#fff;text-shadow:0 2px 20px rgba(0,0,0,.7),0 0 60px rgba(0,0,0,.4)}
.cumpl-hero__title span{color:#B70815;text-shadow:0 2px 20px rgba(183,8,21,.3)}
.cumpl-hero__line{width:50px;height:3px;background:#B70815}
.page-banner__sub {
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .7);
  margin-bottom: .5rem;
}
.page-banner__titulo {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
  margin: 0;
  position: relative;
  display: inline-block;
}
.page-banner__titulo::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 50%;
  height: 4px;
  background: #E02424;
  border-radius: 2px;
}
.page-banner--avaluos .page-banner__img {
  object-position: 30% -15%;
}
.page-banner--auditoria .page-banner__img {
  object-position: center top;
}
.page-banner--avaluos .page-banner__img-mobile {
  display: none;
}
@media (max-width: 1024px) {
  .page-banner--avaluos {
    height: clamp(450px, 80vw, 600px);
  }
  .page-banner--avaluos .page-banner__img-desktop {
    display: none;
  }
  .page-banner--avaluos .page-banner__img-mobile {
    display: block;
    object-position: 15% 20%;
  }
  .page-banner {
    background-image: url('../assets/img/fondo-servicios-mobile.webp');
    background-size: cover;
    background-position: top center;
    background-repeat: no-repeat;
  }
  .page-banner .page-banner__img {
    display: none;
  }
  .cumpl-hero {
    background-image: url('../assets/img/fondo-servicios-mobile.webp');
    background-size: cover;
    background-position: top center;
    background-repeat: no-repeat;
  }
  .cumpl-hero .cumpl-hero__bg {
    display: none;
  }
  .page-banner,
  .page-banner--avaluos,
  .page-banner--geometric,
  .page-banner.page-banner--pt,
  body .cumpl-hero {
    height: clamp(300px, 50vw, 500px);
  }
  .page-banner--geometric,
  .page-banner.page-banner--pt,
  body .cumpl-hero {
    min-height: 0;
  }
  .page-banner.page-banner--pt {
    aspect-ratio: auto;
  }
}

@media (max-width: 768px) {
  .page-banner,
  .page-banner--avaluos,
  .page-banner--geometric,
  .page-banner.page-banner--pt,
  body .cumpl-hero {
    background-position: right bottom;
  }
}

/* -------------------------------------------------------- page-contenido -- */
.page-contenido {
  padding: clamp(2rem, 4vw, 3rem) 0;
  background: #fff;
  position: relative;
}
.page-contenido--bg {
  background: url('../assets/img/bg-auditoria-v2.webp') center/cover no-repeat;
  background-attachment: fixed;
}
.page-contenido--bg .page-contenido__grid,
.page-contenido--bg .page-contenido__servicios,
.page-contenido--bg .page-contenido__bloques,
.page-contenido--bg .page-contenido__cta,
.page-contenido--bg .auditoria-resumen,
.page-contenido--bg .auditoria-servicios {
  color: #fff;
}
.page-contenido--bg .page-contenido__texto p {
  color: rgba(255, 255, 255, .85);
}
.page-contenido--bg .page-contenido__card {
  background: rgba(255, 255, 255, .08);
  border-color: rgba(255, 255, 255, .15);
  color: #fff;
}
.page-contenido--bg .page-contenido__card h3 {
  color: #fff;
}
.page-contenido--bg .page-contenido__card li {
  color: rgba(255, 255, 255, .8);
  border-color: rgba(255, 255, 255, .1);
}
.page-contenido--bg .page-servicio {
  background: rgba(255, 255, 255, .06);
  border-color: rgba(255, 255, 255, .12);
}
.page-contenido--bg .page-servicio h3 {
  color: #fff;
}
.page-contenido--bg .page-servicio p {
  color: rgba(255, 255, 255, .75);
}
.page-contenido--bg .page-bloque {
  background: rgba(255, 255, 255, .06);
  border-color: rgba(255, 255, 255, .12);
}
.page-contenido--bg .page-bloque__icono {
  background: rgba(192, 0, 5, .3);
}
.page-contenido--bg .page-bloque__texto h3 {
  color: #fff;
}
.page-contenido--bg .page-bloque__texto p {
  color: rgba(255, 255, 255, .8);
}
.page-contenido--bg .etiqueta {
  color: #E02424;
}
.page-contenido--bg .etiqueta::before {
  background: #E02424;
}
.page-contenido--bg .auditoria-resumen__texto {
  color: var(--tinta);
}
.page-contenido__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(1.5rem, 3vw, 3rem);
  margin-bottom: clamp(2rem, 4vw, 3rem);
}
.page-contenido__texto p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--texto);
}
.page-contenido__card {
  border: 1px solid var(--borde);
  color: var(--carbon);
  padding: clamp(1.5rem, 3vw, 2rem);
  border-radius: var(--radio);
}
.page-contenido__card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--carbon);
}
.page-contenido__card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.page-contenido__card li {
  position: relative;
  padding: .5rem 0 .5rem 1.2rem;
  font-size: .9rem;
  color: var(--texto-secundario);
  border-bottom: 1px solid var(--borde);
  line-height: 1.5;
}
.page-contenido__card li::before {
  content: "âœ“";
  position: absolute;
  left: 0;
  color: var(--rojo);
  font-weight: 700;
}

.page-contenido__servicios {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr));
  gap: 1.5rem;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}
.page-servicio {
  padding: 1.5rem;
  border: 1px solid var(--borde);
  border-radius: var(--radio-sm);
  transition: box-shadow var(--transicion), transform var(--transicion);
}
.page-servicio:hover {
  box-shadow: 0 4px 20px rgba(0, 0, 0, .08);
  transform: translateY(-2px);
}
.page-servicio__ico {
  width: 32px;
  height: 32px;
  color: var(--rojo);
  margin-bottom: .75rem;
}
.page-servicio h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: .5rem;
  color: var(--carbon);
}
.page-servicio p {
  font-size: .9rem;
  color: var(--texto-secundario);
  line-height: 1.5;
}

.page-contenido__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.page-contenido__bloques {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}
.page-bloque {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 1.25rem;
  padding: 1.5rem;
  border: 1px solid var(--borde);
  border-radius: var(--radio-sm);
  transition: box-shadow var(--transicion);
}
.page-bloque:hover {
  box-shadow: 0 4px 20px rgba(0, 0, 0, .06);
}
.page-bloque__icono {
  width: 48px;
  height: 48px;
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--rojo-suave);
  border-radius: var(--radio-sm);
  color: var(--rojo);
}
.page-bloque__icono svg {
  width: 24px;
  height: 24px;
}
.page-bloque__texto h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--carbon);
  margin-bottom: .5rem;
}
.page-bloque__texto p {
  font-size: .93rem;
  color: var(--texto-secundario);
  line-height: 1.65;
  margin-bottom: .5rem;
}
.page-bloque__texto p:last-child {
  margin-bottom: 0;
}

@media (max-width: 480px) {
  .page-bloque {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .page-bloque__icono {
    margin: 0 auto;
  }
}

/* ===================================================== auditorÃ­a diseÃ±o ===================================================== */
.auditoria-resumen {
  text-align: center;
  max-width: 70ch;
  margin: 0 auto clamp(2rem, 4vw, 3rem);
  padding-bottom: clamp(2rem, 4vw, 3rem);
  border-bottom: 1px solid var(--gris-linea);
}
.auditoria-resumen .etiqueta {
  justify-content: center;
}
.auditoria-resumen__texto {
  font-size: clamp(1rem, 1.5vw, 1.12rem);
  line-height: 1.75;
  color: var(--texto);
  text-align: justify;
}

.auditoria-servicios {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.auditoria-card {
  border: 1px solid var(--gris-linea);
  border-radius: var(--radio);
  background: var(--blanco);
  overflow: hidden;
  position: relative;
  transition: transform var(--transicion), box-shadow var(--transicion),
              border-color var(--transicion);
}
.auditoria-card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--rojo));
  transition: width .4s cubic-bezier(.25, .46, .45, .94);
}
.auditoria-card:hover::before {
  width: 100%;
}
.auditoria-card::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 3px;
  height: 0;
  background: linear-gradient(180deg, var(--rojo), transparent);
  transition: height .4s cubic-bezier(.25, .46, .45, .94) .15s;
}
.auditoria-card:hover::after {
  height: 100%;
}
.auditoria-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(192, 0, 5, .15), 0 0 60px rgba(192, 0, 5, .08);
  border-color: rgba(192, 0, 5, .3);
}
.auditoria-card--full {
  grid-column: 1 / -1;
}

.auditoria-card__header {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.3rem 1.5rem;
  background: #E8E8E8;
  border-bottom: 1px solid var(--gris-linea);
  transition: background var(--transicion);
}
.auditoria-card:hover .auditoria-card__header {
  background: #d8d8d8;
}

.auditoria-card__icono {
  width: 42px;
  height: 42px;
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--rojo);
  border-radius: 10px;
  color: #fff;
  transition: transform var(--transicion), box-shadow var(--transicion);
}
.auditoria-card:hover .auditoria-card__icono {
  transform: scale(1.08);
  box-shadow: 0 4px 14px rgba(192, 0, 5, .3);
}
.auditoria-card__icono svg {
  width: 20px;
  height: 20px;
}
.auditoria-card__icono--oscura {
  background: var(--rojo-vivo);
}

.auditoria-card__titulo {
  font-size: 1rem;
  font-weight: 700;
  color: var(--carbon);
  line-height: 1.3;
}
.auditoria-card__header--oscura .auditoria-card__titulo {
  color: #fff;
}

.auditoria-card__body {
  padding: 1.4rem 1.5rem;
}
.auditoria-card__body p {
  font-size: .92rem;
  line-height: 1.7;
  color: var(--texto);
  margin-bottom: .7rem;
  text-align: justify;
}
.auditoria-card__body p:last-child {
  margin-bottom: 0;
}

/* ============= page-card-alt: estilo alternativo ============= */
.page-card-alt {
  background: var(--blanco);
  border-radius: var(--radio);
  padding: 2rem 2rem 2rem 2.5rem;
  position: relative;
  overflow: hidden;
  border-left: 4px solid var(--rojo);
  box-shadow: 0 2px 12px rgba(0, 0, 0, .06);
  transition: transform var(--transicion), box-shadow var(--transicion),
              border-left-color var(--transicion);
}
.page-card-alt::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0;
  background: linear-gradient(135deg, rgba(192, 0, 5, .04) 0%, rgba(224, 19, 35, .08) 100%);
  transition: height .5s cubic-bezier(.25, .46, .45, .94);
  z-index: 0;
}
.page-card-alt:hover::before {
  height: 100%;
}
.page-card-alt:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: 0 12px 40px rgba(192, 0, 5, .12), 0 0 0 1px rgba(192, 0, 5, .1);
  border-left-color: var(--rojo-vivo);
}
.page-card-alt > * {
  position: relative;
  z-index: 1;
}

.page-card-alt__ numero {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: var(--rojo);
  color: #fff;
  font-size: .85rem;
  font-weight: 800;
  border-radius: 50%;
  margin-bottom: 1rem;
  transition: transform var(--transicion), box-shadow var(--transicion);
}
.page-card-alt:hover .page-card-alt__numero {
  transform: scale(1.15) rotate(-5deg);
  box-shadow: 0 4px 16px rgba(192, 0, 5, .35);
}

.page-card-alt__titulo {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--carbon);
  line-height: 1.35;
  margin-bottom: 1rem;
  padding-right: 1rem;
  position: relative;
  display: inline-block;
}
.page-card-alt__titulo::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 25%;
  height: 3px;
  background: linear-gradient(90deg, var(--rojo) 60%, transparent);
  border-radius: 2px;
  transition: width .4s cubic-bezier(.25, .46, .45, .94);
}
.page-card-alt:hover .page-card-alt__titulo::after {
  width: 50%;
}

.page-card-alt__body p {
  font-size: .92rem;
  line-height: 1.75;
  color: var(--texto);
  text-align: justify;
  margin-bottom: .6rem;
}
.page-card-alt__body p:last-child {
  margin-bottom: 0;
}

.page-card-alt__tag {
  display: inline-block;
  margin-top: 1rem;
  padding: .35rem .85rem;
  background: rgba(192, 0, 5, .08);
  color: var(--rojo);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .04em;
  border-radius: 20px;
  transition: background var(--transicion), color var(--transicion);
}
.page-card-alt:hover .page-card-alt__tag {
  background: var(--rojo);
  color: #fff;
}

/* ============= page-card-v3: diseÃ±o profesional con iconos ============= */
.resumen-profesional {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  max-width: 78ch;
  margin: 0 auto clamp(2rem, 4vw, 3rem);
  padding: 2rem 2.2rem;
  background: linear-gradient(135deg, rgba(255, 255, 255, .97), rgba(245, 245, 245, .95));
  border-left: 4px solid #D71920;
  border-radius: 0 var(--radio) var(--radio) 0;
  box-shadow: 0 4px 24px rgba(72, 73, 79, .08), 0 1px 3px rgba(72, 73, 79, .05);
  position: relative;
  overflow: hidden;
}
.resumen-profesional::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 140px;
  height: 140px;
  background: radial-gradient(circle, rgba(215, 25, 32, .05) 0%, transparent 70%);
  border-radius: 50%;
  transform: translate(30%, -30%);
}
.resumen-profesional::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, #D71920, rgba(215, 25, 32, .1), transparent);
}
.resumen-profesional__icono {
  flex: none;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #D71920, #E82830);
  color: #fff;
  border-radius: 12px;
  box-shadow: 0 6px 16px rgba(215, 25, 32, .3);
  position: relative;
}
.resumen-profesional__icono::after {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: 14px;
  border: 1px solid rgba(215, 25, 32, .15);
}
.resumen-profesional__icono svg {
  width: 22px;
  height: 22px;
}
.resumen-profesional__contenido {
  flex: 1;
  position: relative;
}
.resumen-profesional__contenido::before {
  content: "\201C";
  position: absolute;
  top: -12px;
  left: -5px;
  font-size: 3rem;
  font-weight: 800;
  color: rgba(215, 25, 32, .08);
  line-height: 1;
  font-family: Georgia, serif;
}
.resumen-profesional__texto {
  font-size: .95rem;
  line-height: 1.85;
  color: #000000;
  text-align: justify;
  margin-bottom: .7rem;
  text-indent: 1.5rem;
}
.resumen-profesional__texto:first-child {
  text-indent: 0;
}
.resumen-profesional__texto:last-child {
  margin-bottom: 0;
  text-indent: 0;
}
.resumen-profesional__texto strong {
  color: #000000;
  font-weight: 400;
  position: relative;
}
.resumen-profesional__destacado {
  color: #000000;
  font-weight: 400;
  position: relative;
  padding: 0;
}
.resumen-profesional__destacado::after {
  display: none;
}

.page-card-v3 {
  background: #FFFFFF;
  border-radius: var(--radio);
  padding: 1.8rem;
  position: relative;
  overflow: hidden;
  border: 1px solid #D9D9D9;
  box-shadow: 0 2px 16px rgba(56, 60, 66, .06);
  transition: transform var(--transicion), box-shadow var(--transicion),
              border-color var(--transicion);
}
.page-card-v3::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #D71920, #4F5359, transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .5s cubic-bezier(.25, .46, .45, .94);
}
.page-card-v3:hover::before {
  transform: scaleX(1);
}
.page-card-v3:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(215, 25, 32, .1), 0 4px 16px rgba(56, 60, 66, .08);
  border-color: #D71920;
}

.page-card-v3__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.2rem;
  padding: 1rem 1.2rem;
  background: #F5F5F5;
  border-radius: 10px;
  box-shadow: 0 2px 12px rgba(56, 60, 66, .04);
}

.page-card-v3__etiqueta {
  display: inline-block;
  padding: .3rem .75rem;
  background: #D71920;
  color: #FFFFFF;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  border-radius: 20px;
  transition: background var(--transicion), color var(--transicion);
}
.page-card-v3:hover .page-card-v3__etiqueta {
  background: #383C42;
  color: #FFFFFF;
}

.page-card-v3__titulo {
  font-size: 1.05rem;
  font-weight: 700;
  color: #383C42;
  line-height: 1.35;
  margin-bottom: 1rem;
  padding-right: 1rem;
}

.page-card-v3__body {
  margin-bottom: 1.2rem;
}
.page-card-v3__body p {
  font-size: .9rem;
  line-height: 1.75;
  color: #4F5359;
  text-align: justify;
  margin-bottom: .6rem;
}
.page-card-v3__body p:last-child {
  margin-bottom: 0;
}

.page-card-v3__footer {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  padding-top: 1rem;
  border-top: 1px solid #D9D9D9;
}
.page-card-v3__tag {
  display: inline-block;
  padding: .25rem .65rem;
  background: #F5F5F5;
  color: #4F5359;
  font-size: .72rem;
  font-weight: 600;
  border-radius: 16px;
  transition: background var(--transicion), color var(--transicion),
              transform var(--transicion);
}
.page-card-v3__tag:hover {
  background: #D71920;
  color: #FFFFFF;
  transform: scale(1.05);
}

@media (max-width: 480px) {
  .page-card-v3 {
    padding: 1.4rem;
  }
  .page-card-v3__iconos {
    width: 60px;
    height: 60px;
  }
  .page-card-v3__ico--principal {
    width: 48px;
    height: 48px;
  }
  .page-card-v3__ico--principal svg {
    width: 22px;
    height: 22px;
  }
  .page-card-v3__ico--small {
    width: 26px;
    height: 26px;
  }
  .page-card-v3__ico--small svg {
    width: 12px;
    height: 12px;
  }
}

@media (max-width: 768px) {
  .auditoria-servicios {
    grid-template-columns: 1fr;
  }
  .auditoria-card--full {
    grid-column: auto;
  }
  .page-card-alt {
    padding: 1.5rem 1.5rem 1.5rem 2rem;
  }
}

@media (max-width: 768px) {
  .page-contenido__grid {
    grid-template-columns: 1fr;
  }
  .page-contenido__cta {
    flex-direction: column;
  }
  .page-contenido__cta .boton {
    text-align: center;
  }
}

/* ==========================================================================
   AVALÃšOS Y VALORACIONES â€” Estilos encapsulados .av-page__
   ========================================================================== */

/* ---- Hero ---- */
.av-page__hero .page-banner__contenido {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-top: clamp(6rem, 10vw, 9rem);
}
.av-page__hero-desc {
  color: rgba(255, 255, 255, .8);
  font-size: clamp(.85rem, 1.2vw, 1rem);
  margin-top: .8rem;
  max-width: 38ch;
  line-height: 1.6;
}
.av-page__hero-line {
  width: 50px;
  height: 3px;
  background: #D71920;
  margin-top: .8rem;
  border-radius: 2px;
}
.av-page__hero-img--mobile { display: none; }

/* ---- SecciÃ³n comÃºn ---- */
.av-page__section-title {
  text-align: center;
  font-size: clamp(1.3rem, 2.8vw, 2rem);
  font-weight: 800;
  color: #383C42;
  letter-spacing: -.02em;
  margin-bottom: .6rem;
}
.av-page__red-line {
  width: 40px;
  height: 3px;
  background: #D71920;
  margin: 0 auto 1.5rem;
  border-radius: 2px;
}

/* ---- Intro ---- */
.av-page__intro {
  padding: clamp(3rem, 6vw, 5rem) 0;
  text-align: center;
  background: #fff;
}
.av-page__intro-subtitle {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: #D71920;
  margin-bottom: 1.2rem;
}
.av-page__intro-text {
  max-width: 780px;
  margin: 0 auto;
  font-size: clamp(.92rem, 1.1vw, 1rem);
  line-height: 1.8;
  color: #4F5359;
  text-align: justify;
}

/* ---- Respaldo Profesional ---- */
.av-page__respaldo {
  padding: clamp(3rem, 6vw, 5rem) 0;
  background: #1B1B1B;
}
.av-page__respaldo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
}
.av-page__respaldo-img {
  border-radius: 10px;
  overflow: hidden;
}
.av-page__respaldo-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.av-page__respaldo-content {
  color: #fff;
}
.av-page__respaldo-title {
  color: #fff;
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  font-weight: 800;
  margin-bottom: .6rem;
}
.av-page__respaldo-content .av-page__red-line {
  margin-left: 0;
}
.av-page__respaldo-text {
  font-size: .95rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, .8);
  margin-bottom: 2rem;
}
.av-page__respaldo-items {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}
.av-page__respaldo-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.av-page__respaldo-ico {
  width: 44px;
  height: 44px;
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(215, 25, 32, .15);
  border-radius: 10px;
  color: #D71920;
}
.av-page__respaldo-ico svg { width: 20px; height: 20px; }
.av-page__respaldo-item-title {
  color: #fff;
  font-size: .9rem;
  font-weight: 600;
}

/* ---- Servicios cards ---- */
.av-page__servicios {
  padding: clamp(3rem, 6vw, 5rem) 0;
  background: #fff;
}
.av-page__servicios-subtitle {
  text-align: center;
  max-width: 60ch;
  margin: 0 auto clamp(2rem, 4vw, 2.5rem);
  font-size: .92rem;
  line-height: 1.7;
  color: #4F5359;
}
.av-page__cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.av-page__card {
  background: #fff;
  border: 1px solid #D9D9D9;
  border-radius: 10px;
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.av-page__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(56, 60, 66, .1);
  border-color: rgba(215, 25, 32, .3);
}
.av-page__card-img {
  height: 200px;
  overflow: hidden;
}
.av-page__card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.av-page__card-body {
  padding: 1.5rem;
}
.av-page__card-ico {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(215, 25, 32, .08);
  border-radius: 8px;
  color: #D71920;
  margin-bottom: 1rem;
}
.av-page__card-ico svg { width: 18px; height: 18px; }
.av-page__card-title {
  font-size: .95rem;
  font-weight: 700;
  color: #383C42;
  line-height: 1.35;
  margin-bottom: .6rem;
}
.av-page__card-line {
  width: 30px;
  height: 2px;
  background: #D71920;
  margin-bottom: .8rem;
  border-radius: 1px;
}
.av-page__card-text {
  font-size: .88rem;
  line-height: 1.7;
  color: #4F5359;
  margin-bottom: .5rem;
}
.av-page__card-text-sm {
  font-size: .82rem;
  line-height: 1.65;
  color: #777B80;
  margin-bottom: 1rem;
}
.av-page__card-link {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .82rem;
  font-weight: 600;
  color: #D71920;
  transition: gap .25s ease;
}
.av-page__card-link:hover { gap: .7rem; }

/* ---- MetodologÃ­as ---- */
.av-page__metodologias {
  padding: clamp(3rem, 6vw, 5rem) 0;
  background: #1B1B1B;
}
.av-page__met-title {
  text-align: center;
  font-size: clamp(1.2rem, 2.2vw, 1.6rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: .6rem;
}
.av-page__met-line {
  width: 40px;
  height: 3px;
  background: #D71920;
  margin: 0 auto clamp(2rem, 4vw, 3rem);
  border-radius: 2px;
}
.av-page__met-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0;
}
.av-page__met-item {
  text-align: center;
  padding: 1.5rem .8rem;
  position: relative;
}
.av-page__met-item:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 20%;
  height: 60%;
  width: 1px;
  background: rgba(255, 255, 255, .1);
}
.av-page__met-ico {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto .8rem;
  background: rgba(215, 25, 32, .12);
  border-radius: 10px;
  color: #D71920;
}
.av-page__met-ico svg { width: 20px; height: 20px; }
.av-page__met-name {
  font-size: .72rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.4;
  letter-spacing: .02em;
}
.av-page__met-abbr {
  font-size: .7rem;
  color: rgba(255, 255, 255, .5);
  margin-top: .2rem;
}

/* ---- Detalle bloques ---- */
.av-page__detalle {
  padding: clamp(3rem, 6vw, 5rem) 0;
  background: #fff;
}
.av-page__detalle--alt {
  background: var(--gris);
}
.av-page__detalle-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
}
.av-page__detalle-grid--reverse .av-page__detalle-content { order: 1; }
.av-page__detalle-grid--reverse .av-page__detalle-img { order: 2; }
.av-page__detalle-img {
  border-radius: 10px;
  overflow: hidden;
}
.av-page__detalle-img img {
  width: 100%;
  height: 100%;
  min-height: 300px;
  object-fit: cover;
}
.av-page__detalle-title {
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  font-weight: 800;
  color: #383C42;
  margin-bottom: .6rem;
}
.av-page__detalle-content .av-page__red-line {
  margin-left: 0;
}
.av-page__detalle-text {
  font-size: .92rem;
  line-height: 1.8;
  color: #4F5359;
  margin-bottom: 1rem;
  text-align: justify;
}
.av-page__detalle-text--mt { margin-top: .5rem; }
.av-page__detalle-subtitle {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: #D71920;
  margin-bottom: .8rem;
}
.av-page__detalle-list {
  display: flex;
  flex-direction: column;
  gap: .6rem;
}
.av-page__detalle-list li {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-size: .9rem;
  font-weight: 500;
  color: #383C42;
}
.av-page__check {
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(215, 25, 32, .08);
  border-radius: 6px;
  color: #D71920;
  font-size: .75rem;
  font-weight: 700;
  flex: none;
}

/* ---- Aplicaciones ---- */
.av-page__aplicaciones {
  padding: clamp(3rem, 6vw, 5rem) 0;
  background: #fff;
}
.av-page__apps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.av-page__app-item {
  text-align: center;
  padding: 1.5rem 1rem;
  border: 1px solid #D9D9D9;
  border-radius: 10px;
  transition: border-color .25s ease, box-shadow .25s ease;
}
.av-page__app-item:hover {
  border-color: rgba(215, 25, 32, .25);
  box-shadow: 0 4px 16px rgba(56, 60, 66, .06);
}
.av-page__app-ico {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto .7rem;
  background: rgba(215, 25, 32, .08);
  border-radius: 8px;
  color: #D71920;
}
.av-page__app-ico svg { width: 18px; height: 18px; }
.av-page__app-name {
  font-size: .85rem;
  font-weight: 600;
  color: #383C42;
}

/* ---- Cumplimiento ---- */
.av-page__cumplimiento {
  padding: clamp(2rem, 4vw, 3.5rem) 0;
  background: var(--gris);
}
.av-page__cumplimiento-card {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 2rem;
  background: #fff;
  border-left: 4px solid #D71920;
  border-radius: 0 10px 10px 0;
}
.av-page__cumplimiento-ico {
  width: 48px;
  height: 48px;
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(215, 25, 32, .08);
  border-radius: 10px;
  color: #D71920;
}
.av-page__cumplimiento-ico svg { width: 22px; height: 22px; }
.av-page__cumplimiento-title {
  font-size: 1rem;
  font-weight: 700;
  color: #383C42;
  margin-bottom: .3rem;
}
.av-page__cumplimiento-text {
  font-size: .88rem;
  line-height: 1.7;
  color: #4F5359;
}

/* ---- Â¿POR QUÃ‰ ELEGIRNOS? ---- */
.why-choose-us-section {
  position: relative;
  padding: 0.5cm 0 clamp(3rem, 6vw, 4.5rem);
  background: #1B1B1B;
  overflow: hidden;
  isolation: isolate;
}
.why-choose-us-section__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    linear-gradient(135deg, #1B1B1B 0%, #1e2028 40%, #22252d 60%, rgba(215, 25, 32, .06) 100%);
}
.why-choose-us-section__bg::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 40%;
  height: 100%;
  background: linear-gradient(160deg, transparent 0%, rgba(215, 25, 32, .04) 100%);
  clip-path: polygon(30% 0, 100% 0, 100% 100%, 0% 100%);
}
.why-choose-us-section__bg::after {
  content: "";
  position: absolute;
  bottom: -30%;
  right: -5%;
  width: 350px;
  height: 350px;
  border: 1px solid rgba(215, 25, 32, .08);
  transform: rotate(45deg);
}
.why-choose-us-section__title {
  position: relative;
  z-index: 2;
  font-size: clamp(1.6rem, 3.5vw, 2.8rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}
.why-choose-us-section__title--white { color: #FFFFFF; }
.why-choose-us-section__title--red { color: #D71920; }

.why-choose-us-section__grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  gap: 0;
  align-items: start;
}
.why-choose-us-section__item {
  padding: 0 clamp(.5rem, 1.5vw, 1.5rem);
}
.why-choose-us-section__ico {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #D71920;
  border-radius: 50%;
  color: #FFFFFF;
  margin-bottom: 1rem;
  transition: transform .25s ease;
}
.why-choose-us-section__ico svg { width: 22px; height: 22px; }
.why-choose-us-section__item:hover .why-choose-us-section__ico {
  transform: translateY(-3px);
}
.why-choose-us-section__name {
  font-size: clamp(.85rem, 1.1vw, 1rem);
  font-weight: 700;
  color: #FFFFFF;
  text-transform: uppercase;
  line-height: 1.3;
  margin-bottom: .6rem;
}
.why-choose-us-section__desc {
  font-size: clamp(.78rem, .9vw, .88rem);
  line-height: 1.55;
  color: rgba(255, 255, 255, .65);
}
.why-choose-us-section__dotted {
  width: 40px;
  height: 2px;
  margin-top: .8rem;
  background: repeating-linear-gradient(90deg, #D71920 0, #D71920 4px, transparent 4px, transparent 8px);
}
.why-choose-us-section__divider {
  width: 1px;
  height: 160px;
  background: rgba(255, 255, 255, .18);
  align-self: center;
}

/* ---- CTA final ---- */
.av-page__cta {
  position: relative;
  padding: clamp(3rem, 6vw, 5rem) 0;
  background: #1B1B1B;
  overflow: hidden;
}
.av-page__cta-geo {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.av-page__cta-geo::before {
  content: "";
  position: absolute;
  top: -30%;
  right: -5%;
  width: 400px;
  height: 400px;
  border: 1px solid rgba(215, 25, 32, .1);
  transform: rotate(45deg);
}
.av-page__cta-geo::after {
  content: "";
  position: absolute;
  bottom: -20%;
  left: 10%;
  width: 200px;
  height: 200px;
  border: 1px solid rgba(255, 255, 255, .05);
  transform: rotate(30deg);
}
.av-page__cta-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: center;
  position: relative;
  z-index: 1;
}
.av-page__cta-title {
  font-size: clamp(1.1rem, 2.2vw, 1.6rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.3;
  margin-bottom: .6rem;
}
.av-page__cta-text {
  font-size: .92rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, .7);
}
.av-page__cta-btn {
  background: #D71920;
  color: #fff;
  padding: .9rem 2rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: .9rem;
  letter-spacing: .03em;
  white-space: nowrap;
  transition: background .25s ease, transform .25s ease;
}
.av-page__cta-btn:hover {
  background: #b8141b;
  transform: translateY(-2px);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

/* Tablet */
@media (max-width: 1024px) {
  .why-choose-us-section__grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem 0;
  }
  .why-choose-us-section__divider { display: none; }
  .why-choose-us-section__item { padding: 1rem; }
  .why-choose-us-section__item:nth-child(odd)::after {
    content: "";
    display: block;
    width: 60%;
    height: 1px;
    background: rgba(255, 255, 255, .1);
    margin: 1.5rem auto 0;
  }

  .av-page__hero-img--desktop { display: none; }
  .av-page__hero-img--mobile { display: block; }
  .av-page__hero .page-banner__contenido {
    padding-top: clamp(5rem, 8vw, 7rem);
  }
  .av-page__respaldo-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .av-page__respaldo-img {
    max-height: 320px;
  }
  .av-page__cards {
    grid-template-columns: repeat(2, 1fr);
  }
  .av-page__cards .av-page__card:last-child {
    grid-column: 1 / -1;
    max-width: 50%;
    justify-self: center;
  }
  .av-page__met-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }
  .av-page__met-item:nth-child(3)::after { display: none; }
  .av-page__apps-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .av-page__cta-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .av-page__cta-action {
    display: flex;
    justify-content: center;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .why-choose-us-section__grid {
    grid-template-columns: 1fr;
    gap: 1.8rem;
  }
  .why-choose-us-section__item {
    padding: 1.5rem;
    background: rgba(255, 255, 255, .03);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, .08);
  }
  .why-choose-us-section__item::after { display: none !important; }
  .why-choose-us-section__divider { display: none; }

  .av-page__hero .page-banner__contenido {
    padding-top: clamp(5rem, 10vw, 6rem);
    padding-left: clamp(1.2rem, 4vw, 2rem);
    padding-right: clamp(1.2rem, 4vw, 2rem);
  }
  .av-page__hero .page-banner__titulo {
    font-size: clamp(2rem, 9vw, 3rem);
  }
  .av-page__cards {
    grid-template-columns: 1fr;
  }
  .av-page__cards .av-page__card:last-child {
    max-width: 100%;
  }
  .av-page__met-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .av-page__met-item::after { display: none !important; }
  .av-page__apps-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .av-page__detalle-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .av-page__detalle-grid--reverse .av-page__detalle-content { order: 0; }
  .av-page__detalle-grid--reverse .av-page__detalle-img { order: 0; }
  .av-page__detalle-img img { min-height: 220px; }
  .av-page__cumplimiento-card {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .av-page__apps-grid {
    grid-template-columns: 1fr;
  }
  .av-page__met-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* â”€â”€ Mobile fixes â”€â”€ */
@media (max-width: 480px) {
  .trabaja__texto { padding: 1.5rem; }
  .trabaja__texto .boton { font-size: .88rem; padding: .7rem 1.2rem; }
  .pie__contacto-item a { overflow-wrap: anywhere; word-break: break-word; }
  .redes { flex-wrap: wrap; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

@media print {
  .cabecera, .wa-flotante, .formulario, .velo { display: none !important; }
  .seccion--oscura, .pie, .auditrust-news-section { background: #fff !important; color: #000 !important; }
  .titulo--claro, .parrafo--claro { color: #000 !important; }
  .servicio__panel { grid-template-rows: 1fr !important; }
}

/* ============= corp-panel: diseÃ±o vertical con nÃºmeros ============= */
.corp-intro {
  max-width: 72ch;
  margin: 0 auto clamp(2rem, 4vw, 3.5rem);
  padding: 0 1rem;
  text-align: center;
}
.corp-intro__texto {
  font-size: 1.05rem;
  line-height: 1.85;
  color: #4F5359;
}
.corp-panels {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 860px;
  margin: 0 auto clamp(2rem, 5vw, 4rem);
}
.corp-panel {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 0 1.8rem;
  padding: 2.2rem 0;
  border-bottom: 1px solid #D9D9D9;
  position: relative;
}
.corp-panel:last-child {
  border-bottom: none;
}
.corp-panel__num {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #383C42;
  color: #FFFFFF;
  border-radius: 14px;
  box-shadow: 0 4px 16px rgba(56, 60, 66, .15);
  align-self: start;
  transition: background var(--transicion), transform var(--transicion);
}
.corp-panel__num svg {
  width: 26px;
  height: 26px;
}
.corp-panel:hover .corp-panel__num {
  background: #D71920;
  transform: scale(1.08);
}
.corp-panel__body {
  padding-top: .3rem;
}
.corp-panel__titulo {
  font-size: 1.15rem;
  font-weight: 700;
  color: #383C42;
  margin-bottom: .8rem;
  line-height: 1.35;
  position: relative;
  display: inline-block;
}
.corp-panel__titulo::after {
  content: "";
  display: block;
  width: 40px;
  height: 3px;
  background: #D71920;
  border-radius: 2px;
  margin-top: .6rem;
  transition: width var(--transicion);
}
.corp-panel:hover .corp-panel__titulo::after {
  width: 80px;
}
.corp-panel__texto {
  font-size: .92rem;
  line-height: 1.8;
  color: #4F5359;
  text-align: justify;
}
.corp-panel__lista {
  list-style: none;
  padding: 0;
  margin: .8rem 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}
.corp-panel__lista li {
  padding: .3rem .8rem;
  background: #F5F5F5;
  color: #4F5359;
  font-size: .78rem;
  font-weight: 600;
  border-radius: 20px;
  border: 1px solid #D9D9D9;
  transition: background var(--transicion), color var(--transicion),
              border-color var(--transicion);
}
.corp-panel:hover .corp-panel__lista li {
  background: #FFFFFF;
  border-color: #D71920;
  color: #D71920;
}

/* ============= intro section ============= */
.intro {
  padding: clamp(4rem, 8vw, 8rem) clamp(1.5rem, 4vw, 4rem);
  text-align: center;
  background: var(--blanco);
}
.intro__label {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--rojo);
  margin-bottom: 1.8rem;
}
.intro__titulo {
  font-size: clamp(1.6rem, 3.5vw, 2.6rem);
  font-weight: 700;
  color: var(--carbon);
  line-height: 1.35;
  max-width: 22ch;
  margin: 0 auto 2rem;
  letter-spacing: -.01em;
}
.intro__linea {
  width: 50px;
  height: 3px;
  background: var(--rojo);
  margin: 0 auto;
  border-radius: 2px;
}

/* ============= servicio banners alternados ============= */
.servicio {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 480px;
  overflow: hidden;
}
.servicio:nth-child(even) .servicio__img { order: 2; }
.servicio:nth-child(even) .servicio__info { order: 1; }
.servicio__img {
  position: relative;
  background: var(--gris-oscuro);
  overflow: hidden;
  min-height: 400px;
}
.servicio__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.servicio__img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(27,27,27,.05) 0%, rgba(27,27,27,.15) 100%);
}
.servicio__img-accent {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--rojo);
  z-index: 2;
}
.servicio__info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2.5rem, 5vw, 5rem) clamp(2rem, 5vw, 5rem);
  background: var(--blanco);
  position: relative;
  transition: transform .15s ease-out, box-shadow .3s ease;
  will-change: transform;
  transform-style: preserve-3d;
}
.servicio__info.clip-reveal {
  clip-path: inset(0 100% 0 0);
  transition: clip-path .8s cubic-bezier(.22,1,.36,1), transform .15s ease-out, box-shadow .3s ease;
}
.servicio__info.is-revealed {
  clip-path: inset(0 0 0 0);
}
.servicio__label {
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--rojo);
  margin-bottom: 1rem;
}
.servicio__titulo {
  font-size: clamp(1.5rem, 2.8vw, 2.2rem);
  font-weight: 800;
  color: var(--carbon);
  line-height: 1.2;
  margin-bottom: 1.2rem;
  letter-spacing: -.02em;
}
.servicio__titulo span {
  display: block;
}
.servicio__desc {
  font-size: .92rem;
  line-height: 1.75;
  color: var(--texto);
  margin-bottom: 1.8rem;
  max-width: 42ch;
}
.servicio__lista {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: .7rem;
}
.servicio__lista li {
  display: flex;
  align-items: center;
  gap: .7rem;
  font-size: .85rem;
  font-weight: 500;
  color: var(--gris-corp);
}
.servicio__lista li::before {
  content: "";
  flex: none;
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(215, 25, 32, .08);
  border-radius: 4px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23D71920' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 12px;
}
.servicio + .servicio {
  border-top: 1px solid var(--gris-linea);
}

@media (max-width: 900px) {
  .servicio { grid-template-columns: 1fr; }
  .servicio__img { min-height: 280px; order: 0 !important; }
  .servicio__info { order: 0 !important; padding: 2.5rem 1.5rem; }
}
@media (max-width: 600px) {
  .intro { padding: 3rem 1.2rem; }
  .intro__titulo { font-size: 1.3rem; }
  .intro__label { font-size: .6rem; }
  .servicio__info { padding: 2rem 1.2rem; }
  .servicio__titulo { font-size: 1.2rem; }
  .servicio__desc { font-size: .85rem; }
  .servicio__lista li { font-size: .8rem; }
  .servicio__img { min-height: 220px; }
}

/* ──────────────────────────────────────────────
   Página: Otros Servicios (columnas + iconos)
   ────────────────────────────────────────────── */
.page-contenido__intro {
  max-width: 760px;
  margin: 0 auto clamp(2.5rem, 5vw, 4rem);
  text-align: center;
}
.page-contenido__intro .etiqueta {
  justify-content: center;
}
.titulo--centrado {
  margin: 0 auto .9rem;
  max-width: 24ch;
}
.page-contenido__intro-desc {
  max-width: 620px;
  margin: 0 auto;
  font-size: 1rem;
  line-height: 1.75;
  color: var(--texto-secundario);
}
.page-contenido__detalle {
  display: grid;
  gap: 1.5rem;
  margin-top: clamp(2rem, 4vw, 3rem);
}

.page-card-v3__icono {
  width: 44px;
  height: 44px;
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #F5F5F5;
  border: 1px solid #D9D9D9;
  border-radius: 10px;
  color: #D71920;
  transition: background var(--transicion), color var(--transicion),
              border-color var(--transicion);
}
.page-card-v3__icono svg {
  width: 24px;
  height: 24px;
}
.page-card-v3:hover .page-card-v3__icono {
  background: #D71920;
  border-color: #D71920;
  color: #FFFFFF;
}

/* footer compacto: cierra el bloque de override de abajo para ganar altura */
.pie { padding: clamp(.7rem, 1.4vw, 1.1rem) 0 0; }
.pie__inner { padding-bottom: 1.7rem; }
.pie__columna { padding: clamp(1.1rem, 1.9vw, 1.5rem); gap: .9rem; }
.pie__columna--links .pie__bloques { gap: 1.15rem; }
.pie__titulo { font-size: .74rem; margin-bottom: .15rem; }
.pie__linea { margin-bottom: .4rem; }
.pie__lista { gap: .3rem; }
.pie__lista a { font-size: .84rem; }
.pie__btn-mapa { padding: .4rem .85rem; font-size: .82rem; border-color: rgba(255, 255, 255, .14); }
.pie__btn-mapa svg { width: 16px; height: 16px; }
.pie__direccion { font-size: .82rem; gap: .4rem; padding: clamp(.9rem, 1.5vw, 1.15rem); }
.pie__contacto-item { padding: .4rem .5rem; margin: 0 -.5rem; }
.pie__contacto-item svg { width: 14px; height: 14px; padding: 4.5px; }
.pie__logo { margin-top: .2rem; padding-top: .7rem; }
.pie__logo img { height: 38px; }
/* el padding inferior de 5.5rem se mantiene: evita que el boton flotante de WhatsApp tape esta linea */
.pie__legal { padding: .8rem 0 5.5rem; font-size: .78rem; }

.pie {
  background:
    radial-gradient(115% 130% at 6% 0%, rgba(224, 19, 35, .13) 0%, transparent 52%),
    radial-gradient(95% 120% at 94% 100%, rgba(192, 0, 5, .12) 0%, transparent 58%),
    linear-gradient(135deg, #1E2027 0%, #191C22 48%, #15161A 100%);
}
.pie::before {
  background: transparent;
}
.pie::after {
  background: linear-gradient(90deg, transparent, #E01323 18%, #E01323 82%, transparent);
}
/* Los botones flotantes de WhatsApp (58px circular) y de region (~170px, mas ancho)
   se apilan en la esquina inferior derecha. La linea legal reserva ese ancho para
   que "Quito - Guayaquil - Miami" no quede por debajo del boton de region.
   Por encima de 1500px el contenedor ya se separa del borde y no hace falta. */
@media (max-width:1500px){
  .pie__legal { padding-right: 11rem; }
}
@media (max-width:768px){
  .pie__legal { padding-right: 10rem; }
}
@media (max-width:600px){
  .pie__legal { padding-right: 5rem; }
}

