/* ==========================================================
   GRUPO ARQUISOCIAL - QUIENES SOMOS
   Archivo: assets/css/arquisocial-quienes-somos.css

   Ajuste tras feedback de contenido:
   01. Quienes somos
   02. Nuestra historia
   03. Proposito, vision y valores
   04. Donde estamos

   Criterio:
   - conservar el lenguaje visual ya aprobado;
   - reducir scroll y repeticion;
   - mostrar el timeline completo de un vistazo en escritorio;
   - mantener Antikor + Figtree y paleta corporativa;
   - utilizar unicamente el recurso de mariposa de marca.

   Prefijos aislados:
   - asgqsv5-
   - asgqsv7- (historia)
   ========================================================== */

.asgqsv5-page {
  --asgqsv5-white: #FBFBFB;
  --asgqsv5-paper: #FFF9DC;
  --asgqsv5-cream: #FFF9DC;
  --asgqsv5-black: #2A2A2A;
  --asgqsv5-green: #899F75;
  --asgqsv5-green-dark: #899F75;
  --asgqsv5-yellow: #F5D892;
  --asgqsv5-red: #AA4B4B;
  --asgqsv5-line: rgba(137, 159, 117, 0.22);
  --asgqsv5-header-height: 82px;

  position: relative;
  width: 100vw;
  min-height: 0;
  margin-left: calc(50% - 50vw);
  overflow-x: clip;
  overflow-y: visible;
  background: var(--asgqsv5-white);
  color: var(--asgqsv5-black);
  isolation: isolate;
}

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

.asgqsv5-page [data-asgqsv5-section] {
  scroll-margin-top: 142px;
}

.asgqsv5-page h1,
.asgqsv5-page h2,
.asgqsv5-page h3,
.asgqsv5-page p,
.asgqsv5-page strong {
  max-width: 100%;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

.asgqsv5-page a {
  text-decoration: none !important;
}

.asgqsv5-label {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--asgqsv5-green-dark);
  font-family: var(--as-font-body, "Figtree", Arial, sans-serif) !important;
  font-size: 12px;
  line-height: 1;
  font-weight: 850 !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase;
}

.asgqsv5-label::before {
  content: "";
  display: block;
  width: 44px;
  height: 2px;
  background: var(--asgqsv5-yellow);
}


/* ==========================================================
   NAVEGACION LATERAL
   ========================================================== */

.asgqsv5-rail {
  position: fixed;
  right: 26px;
  top: 50%;
  z-index: 850;
  display: grid;
  gap: 14px;
  transform: translateY(-50%);
  transition: opacity 0.24s ease;
}

.asgqsv5-rail a {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  color: var(--asgqsv5-green-dark) !important;
}

.asgqsv5-rail a span {
  padding: 7px 10px;
  border: 1px solid rgba(137, 159, 117, 0.18);
  background: var(--asgqsv5-white);
  color: var(--asgqsv5-green-dark);
  font-family: var(--as-font-body, "Figtree", Arial, sans-serif) !important;
  font-size: 10px;
  line-height: 1;
  font-weight: 850;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  white-space: nowrap;
  opacity: 0;
  transform: translateX(9px);
  pointer-events: none;
  transition: opacity 0.24s ease, transform 0.24s ease;
}

.asgqsv5-rail a i {
  display: block;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(42, 42, 42, 0.22);
  transition: width 0.24s ease, background 0.24s ease, transform 0.24s ease;
}

.asgqsv5-rail a:hover span,
.asgqsv5-rail a:focus-visible span,
.asgqsv5-rail a.is-active span {
  opacity: 1;
  transform: translateX(0);
}

.asgqsv5-rail a:hover i,
.asgqsv5-rail a:focus-visible i,
.asgqsv5-rail a.is-active i {
  width: 28px;
  background: var(--asgqsv5-green);
}

.asgqsv5-rail a.is-active i {
  transform: scaleY(1.15);
}

.asgqsv5-page.is-footer-visible .asgqsv5-rail {
  opacity: 0 !important;
  pointer-events: none !important;
}


/* ==========================================================
   01. HERO
   Se conserva el diseno anterior.
   ========================================================== */

.asgqsv5-hero {
  position: relative;
  min-height: 100svh;
  padding: clamp(132px, 13vw, 190px) 7vw 92px;
  display: grid;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  background: var(--asgqsv5-black);
}


.asgqsv5-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  background-image: url("/wp-content/themes/divi-arquisocial-child/assets/img/quienes_somos/hero.jpg");
  background-repeat: no-repeat;
  background-position: center 42%;
  background-size: cover;
  transform: scale(1.015);
}

.asgqsv5-hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(42, 42, 42, 0.90) 0%,
      rgba(42, 42, 42, 0.76) 34%,
      rgba(42, 42, 42, 0.42) 66%,
      rgba(42, 42, 42, 0.20) 100%
    ),
    linear-gradient(
      180deg,
      rgba(42, 42, 42, 0.10) 0%,
      rgba(42, 42, 42, 0.36) 100%
    );
  pointer-events: none;
}

.asgqsv5-hero-bg span {
  display: none !important;
}

.asgqsv5-hero-inner {
  position: relative;
  z-index: 2;
  width: min(1240px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(420px, 1fr) minmax(230px, 320px);
  gap: clamp(50px, 8vw, 120px);
  align-items: end;
}

.asgqsv5-hero-copy .asgqsv5-label {
  color: var(--asgqsv5-yellow);
}

.asgqsv5-hero-copy h1 {
  max-width: 900px;
  margin: 28px 0 0;
  color: var(--asgqsv5-white) !important;
  font-family: var(--as-font-title, "Antikor", Georgia, serif) !important;
  font-size: clamp(52px, 6.6vw, 106px) !important;
  line-height: 0.96 !important;
  letter-spacing: -0.055em !important;
  font-weight: 700 !important;
  text-wrap: balance;
  text-shadow: 0 3px 28px rgba(0, 0, 0, 0.24);
}

.asgqsv5-hero-copy p {
  max-width: 620px;
  margin: 30px 0 0;
  color: rgba(251, 251, 251, 0.90) !important;
  font-family: var(--as-font-body, "Figtree", Arial, sans-serif) !important;
  font-size: clamp(17px, 1.18vw, 20px) !important;
  line-height: 1.55 !important;
  font-weight: 430 !important;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.18);
}

.asgqsv5-hero-card {
  position: relative;
  padding: 32px 30px;
  overflow: hidden;
  border: 1px solid rgba(251, 251, 251, 0.22);
  border-radius: 0 32px 32px 32px;
  background: rgba(137, 159, 117, 0.95);
  color: var(--asgqsv5-cream);
  box-shadow:
    12px 12px 0 rgba(245, 216, 146, 0.52),
    0 24px 70px rgba(42, 42, 42, 0.22);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  will-change: transform;
}

.asgqsv5-hero-card::before {
  content: "";
  position: absolute;
  right: 24px;
  top: 22px;
  width: 72px;
  height: 72px;
  background:
    url("/wp-content/themes/divi-arquisocial-child/assets/img/grupo-arquisocial-mariposa.svg")
    center / contain no-repeat;
  filter: brightness(0) saturate(100%) invert(94%) sepia(13%) saturate(560%) hue-rotate(343deg) brightness(108%) contrast(104%);
  opacity: 0.88;
  pointer-events: none;
}

.asgqsv5-hero-card span,
.asgqsv5-hero-card p {
  position: relative;
  z-index: 2;
  margin: 0;
  color: var(--asgqsv5-cream) !important;
  font-family: var(--as-font-body, "Figtree", Arial, sans-serif) !important;
  font-size: 12px !important;
  line-height: 1.40 !important;
  font-weight: 850 !important;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.asgqsv5-hero-card strong {
  position: relative;
  z-index: 2;
  display: block;
  margin: 13px 0 16px;
  color: var(--asgqsv5-yellow);
  font-family: var(--as-font-body, "Figtree", Arial, sans-serif) !important;
  font-size: clamp(52px, 5vw, 76px);
  line-height: 0.85;
  font-weight: 900;
  letter-spacing: -0.08em;
}

.asgqsv5-scroll-hint {
  position: absolute;
  left: 7vw;
  bottom: 34px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--asgqsv5-white) !important;
  font-family: var(--as-font-body, "Figtree", Arial, sans-serif) !important;
  font-size: 11px;
  line-height: 1;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.28);
}

.asgqsv5-scroll-hint i {
  display: block;
  width: 54px;
  height: 2px;
  background: var(--asgqsv5-yellow);
}


/* ==========================================================
   02. HISTORIA
   Timeline compacto: todos los hitos visibles de un vistazo
   en escritorio, sin eliminar contenido.
   ========================================================== */

.asgqsv7-history {
  position: relative;
  padding: clamp(52px, 5vw, 72px) 7vw clamp(58px, 5.5vw, 78px);
  overflow: hidden;
  background: var(--asgqsv5-cream);
  color: var(--asgqsv5-black);
  isolation: isolate;
}

.asgqsv7-history::before {
  content: "";
  position: absolute;
  left: clamp(-190px, -9vw, -100px);
  top: 8%;
  z-index: 0;
  width: clamp(430px, 40vw, 650px);
  aspect-ratio: 1;
  background:
    url("/wp-content/themes/divi-arquisocial-child/assets/img/grupo-arquisocial-mariposa.svg")
    center / contain no-repeat;
  opacity: 0.032;
  pointer-events: none;
}

.asgqsv7-history-inner {
  position: relative;
  z-index: 2;
  width: min(1280px, 100%);
  margin: 0 auto;
}

.asgqsv7-history-head {
  max-width: 760px;
  margin-bottom: clamp(28px, 3vw, 38px);
}

.asgqsv7-history-head h2 {
  max-width: 720px;
  margin: 18px 0 0;
  color: var(--asgqsv5-green) !important;
  font-family: var(--as-font-title, "Antikor", Georgia, serif) !important;
  font-size: clamp(34px, 3.4vw, 52px) !important;
  line-height: 1.02 !important;
  letter-spacing: -0.045em !important;
  font-weight: 700 !important;
  text-wrap: balance;
}

.asgqsv7-history-head p {
  max-width: 620px;
  margin: 14px 0 0;
  color: var(--asgqsv5-black) !important;
  font-family: var(--as-font-body, "Figtree", Arial, sans-serif) !important;
  font-size: clamp(15px, 1vw, 17px) !important;
  line-height: 1.48 !important;
}

.asgqsv7-timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(10px, 1.2vw, 18px);
  align-items: stretch;
}

/* Linea cronologica horizontal */
.asgqsv7-timeline::before {
  content: "";
  position: absolute;
  left: 3%;
  right: 3%;
  top: 54px;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(137, 159, 117, 0.34) 7%,
    rgba(137, 159, 117, 0.34) 93%,
    transparent
  );
  pointer-events: none;
}

.asgqsv7-milestone {
  position: relative;
  min-width: 0;
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 24px;
  align-items: stretch;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.asgqsv7-milestone.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Anulamos la alternancia vertical anterior: ahora todos se leen juntos */
.asgqsv7-milestone:nth-child(even) .asgqsv7-year,
.asgqsv7-milestone:nth-child(even) .asgqsv7-card {
  order: initial;
}

.asgqsv7-milestone::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50px;
  z-index: 3;
  width: 9px;
  height: 9px;
  border: 2px solid var(--asgqsv5-cream);
  border-radius: 50%;
  background: var(--asgqsv5-green);
  box-shadow: 0 0 0 1px rgba(137, 159, 117, 0.28);
  transform: translateX(-50%);
}

.asgqsv7-year,
.asgqsv7-milestone:nth-child(even) .asgqsv7-year {
  position: relative;
  z-index: 2;
  color: rgba(137, 159, 117, 0.32);
  font-family: var(--as-font-body, "Figtree", Arial, sans-serif) !important;
  font-size: clamp(36px, 3.2vw, 52px);
  line-height: 0.95;
  font-weight: 900;
  letter-spacing: -0.07em;
  text-align: center;
  user-select: none;
}

.asgqsv7-card {
  position: relative;
  z-index: 2;
  min-width: 0;
  min-height: 238px;
  padding: clamp(19px, 1.6vw, 24px);
  overflow: hidden;
  border: 1px solid rgba(137, 159, 117, 0.24);
  border-radius: 0 24px 24px 24px;
  background: rgba(251, 251, 251, 0.96);
  box-shadow: 0 16px 42px rgba(42, 42, 42, 0.045);
  transition: background 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.asgqsv7-card:hover {
  transform: translateY(-4px);
  background: var(--asgqsv5-white);
  box-shadow: 7px 7px 0 rgba(137, 159, 117, 0.10);
}

.asgqsv7-card img {
  position: relative;
  z-index: 2;
  display: block;
  width: 34px;
  height: auto;
  margin-bottom: 15px;
  opacity: 0.86;
  filter: brightness(0) saturate(100%) invert(57%) sepia(16%) saturate(640%) hue-rotate(52deg) brightness(94%) contrast(86%);
}

.asgqsv7-card span {
  position: relative;
  z-index: 2;
  display: block;
  color: var(--asgqsv5-green-dark);
  font-family: var(--as-font-body, "Figtree", Arial, sans-serif) !important;
  font-size: 10px;
  line-height: 1;
  font-weight: 850;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.asgqsv7-card h3 {
  position: relative;
  z-index: 2;
  max-width: 100%;
  margin: 12px 0 10px;
  color: var(--asgqsv5-green) !important;
  font-family: var(--as-font-title, "Antikor", Georgia, serif) !important;
  font-size: clamp(23px, 1.65vw, 30px) !important;
  line-height: 1.03 !important;
  letter-spacing: -0.04em !important;
  font-weight: 700 !important;
}

.asgqsv7-card p {
  position: relative;
  z-index: 2;
  max-width: 100%;
  margin: 0;
  color: var(--asgqsv5-black) !important;
  font-family: var(--as-font-body, "Figtree", Arial, sans-serif) !important;
  font-size: 14px !important;
  line-height: 1.44 !important;
}


/* ==========================================================
   03. PROPOSITO, VISION Y VALORES
   Se conserva el fondo y tratamiento visual de la seccion
   anterior, eliminando la experiencia duplicada de valores.
   ========================================================== */

.asgqsv5-principles {
  position: relative;
  padding: clamp(76px, 8vw, 116px) 7vw clamp(82px, 8.5vw, 124px);
  overflow: hidden;
  background:
    linear-gradient(
      135deg,
      var(--asgqsv5-white) 0%,
      rgba(255, 249, 220, 0.88) 100%
    );
  isolation: isolate;
}

.asgqsv5-principles::before {
  content: "";
  position: absolute;
  right: clamp(-230px, -12vw, -120px);
  top: clamp(80px, 8vw, 130px);
  z-index: 0;
  width: clamp(480px, 46vw, 760px);
  aspect-ratio: 1;
  background:
    url("/wp-content/themes/divi-arquisocial-child/assets/img/grupo-arquisocial-mariposa.svg")
    center / contain no-repeat;
  opacity: 0.030;
  pointer-events: none;
}

.asgqsv5-section-head {
  position: relative;
  z-index: 2;
  width: min(900px, 100%);
  margin: 0 auto;
  text-align: center;
}

.asgqsv5-section-head .asgqsv5-label {
  justify-content: center;
}

.asgqsv5-section-head h2,
.asgqsv5-values-experience-head h2 {
  margin: 26px 0 0;
  color: var(--asgqsv5-green) !important;
  font-family: var(--as-font-title, "Antikor", Georgia, serif) !important;
  font-size: clamp(40px, 4.7vw, 72px) !important;
  line-height: 1 !important;
  letter-spacing: -0.05em !important;
  font-weight: 700 !important;
  text-wrap: balance;
}

.asgqsv5-section-head p {
  max-width: 640px;
  margin: 24px auto 0;
  color: var(--asgqsv5-black) !important;
  font-family: var(--as-font-body, "Figtree", Arial, sans-serif) !important;
  font-size: 17.5px !important;
  line-height: 1.55 !important;
}


/* Proposito + vision */

.asgqsv5-purpose-grid {
  position: relative;
  z-index: 2;
  width: min(1180px, 100%);
  margin: clamp(42px, 5vw, 62px) auto 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.asgqsv5-purpose-grid article {
  position: relative;
  min-width: 0;
  min-height: 228px;
  padding: clamp(28px, 3vw, 38px);
  overflow: hidden;
  border: 1px solid var(--asgqsv5-line);
  background: rgba(251, 251, 251, 0.94);
  transition: background 0.28s ease, transform 0.28s ease, box-shadow 0.28s ease;
}

.asgqsv5-purpose-grid article:hover {
  transform: translateY(-5px);
  background: var(--asgqsv5-green);
  box-shadow: 8px 8px 0 rgba(245, 216, 146, 0.62);
}

.asgqsv5-purpose-grid span,
.asgqsv5-purpose-grid p {
  position: relative;
  z-index: 2;
  transition: color 0.28s ease;
}

.asgqsv5-purpose-grid span {
  display: block;
  color: var(--asgqsv5-green-dark);
  font-family: var(--as-font-body, "Figtree", Arial, sans-serif) !important;
  font-size: 11px;
  line-height: 1;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.asgqsv5-purpose-grid p {
  max-width: 500px;
  margin: clamp(36px, 4vw, 52px) 0 0;
  color: var(--asgqsv5-black) !important;
  font-family: var(--as-font-body, "Figtree", Arial, sans-serif) !important;
  font-size: clamp(16px, 1.15vw, 18px) !important;
  line-height: 1.55 !important;
}

.asgqsv5-purpose-grid article:hover span,
.asgqsv5-purpose-grid article:hover p {
  color: var(--asgqsv5-cream) !important;
}


/* Valores compactos */

.asgqsv5-values-experience {
  position: relative;
  z-index: 2;
  width: min(1180px, 100%);
  margin: clamp(62px, 6.5vw, 88px) auto 0;
  padding-top: clamp(44px, 5vw, 64px);
  border-top: 1px solid rgba(137, 159, 117, 0.28);
}

.asgqsv5-values-experience-head {
  max-width: 760px;
}

.asgqsv5-values-list {
  margin-top: clamp(34px, 4vw, 50px);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.asgqsv5-value-item {
  position: relative;
  min-width: 0;
  min-height: 220px;
  padding: 26px;
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  gap: 16px;
  align-content: start;
  border: 1px solid var(--asgqsv5-line);
  background: rgba(255, 249, 220, 0.58);
  transition: background 0.28s ease, transform 0.28s ease, box-shadow 0.28s ease;
}

.asgqsv5-value-item:hover {
  z-index: 2;
  transform: translateY(-4px);
  background: var(--asgqsv5-green);
  box-shadow: 7px 7px 0 rgba(245, 216, 146, 0.58);
}

.asgqsv5-value-item > span {
  color: var(--asgqsv5-red);
  font-family: var(--as-font-body, "Figtree", Arial, sans-serif) !important;
  font-size: 11px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: 0.10em;
  transition: color 0.28s ease;
}

.asgqsv5-value-item h3 {
  margin: 0 0 14px;
  color: var(--asgqsv5-green) !important;
  font-family: var(--as-font-title, "Antikor", Georgia, serif) !important;
  font-size: clamp(27px, 2vw, 34px) !important;
  line-height: 1.02 !important;
  letter-spacing: -0.04em !important;
  font-weight: 700 !important;
  transition: color 0.28s ease;
}

.asgqsv5-value-item p {
  margin: 0;
  color: var(--asgqsv5-black) !important;
  font-family: var(--as-font-body, "Figtree", Arial, sans-serif) !important;
  font-size: 14.5px !important;
  line-height: 1.50 !important;
  transition: color 0.28s ease;
}

.asgqsv5-value-item:hover > span,
.asgqsv5-value-item:hover h3,
.asgqsv5-value-item:hover p {
  color: var(--asgqsv5-cream) !important;
}


/* ==========================================================
   04. DONDE ESTAMOS
   Nuevo bloque funcional, construido con el mismo lenguaje
   de tarjetas, tipografias, paleta y mariposa de la pagina.
   ========================================================== */

.asgqsv5-locations {
  position: relative;
  padding: clamp(76px, 8vw, 116px) 7vw clamp(84px, 9vw, 132px);
  overflow: hidden;
  background: var(--asgqsv5-white);
  isolation: isolate;
}

.asgqsv5-locations::before {
  content: "";
  position: absolute;
  left: clamp(-240px, -12vw, -120px);
  bottom: clamp(-250px, -12vw, -130px);
  z-index: 0;
  width: clamp(500px, 46vw, 760px);
  aspect-ratio: 1;
  background:
    url("/wp-content/themes/divi-arquisocial-child/assets/img/grupo-arquisocial-mariposa.svg")
    center / contain no-repeat;
  opacity: 0.026;
  pointer-events: none;
}

.asgqsv5-locations-inner {
  position: relative;
  z-index: 2;
  width: min(1180px, 100%);
  margin: 0 auto;
}

.asgqsv5-locations .asgqsv5-section-head {
  width: min(820px, 100%);
}

.asgqsv5-locations-layout {
  margin-top: clamp(44px, 5vw, 68px);
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
  gap: 18px;
  align-items: stretch;
}

.asgqsv5-locations-summary {
  position: relative;
  min-height: 100%;
  padding: clamp(30px, 3.5vw, 46px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  border-radius: 0 38px 38px 38px;
  background: var(--asgqsv5-green);
  color: var(--asgqsv5-cream);
  box-shadow: 10px 10px 0 rgba(245, 216, 146, 0.58);
  isolation: isolate;
}

.asgqsv5-locations-summary::before {
  content: "";
  position: absolute;
  left: clamp(-120px, -7vw, -70px);
  top: clamp(-100px, -5vw, -50px);
  width: clamp(300px, 30vw, 470px);
  aspect-ratio: 1;
  background:
    url("/wp-content/themes/divi-arquisocial-child/assets/img/grupo-arquisocial-mariposa.svg")
    center / contain no-repeat;
  filter: brightness(0) saturate(100%) invert(94%) sepia(13%) saturate(560%) hue-rotate(343deg) brightness(108%) contrast(104%);
  opacity: 0.070;
  pointer-events: none;
}

.asgqsv5-locations-summary > img {
  position: absolute;
  right: 28px;
  top: 28px;
  width: 58px;
  height: auto;
  filter: brightness(0) saturate(100%) invert(94%) sepia(13%) saturate(560%) hue-rotate(343deg) brightness(108%) contrast(104%);
  opacity: 0.86;
}

.asgqsv5-locations-summary strong,
.asgqsv5-locations-summary span,
.asgqsv5-locations-summary p {
  position: relative;
  z-index: 2;
}

.asgqsv5-locations-summary strong {
  display: block;
  color: var(--asgqsv5-yellow);
  font-family: var(--as-font-body, "Figtree", Arial, sans-serif) !important;
  font-size: clamp(76px, 8vw, 118px);
  line-height: 0.80;
  font-weight: 900;
  letter-spacing: -0.09em;
}

.asgqsv5-locations-summary span {
  display: block;
  margin-top: 18px;
  color: var(--asgqsv5-cream);
  font-family: var(--as-font-title, "Antikor", Georgia, serif) !important;
  font-size: clamp(30px, 2.6vw, 42px);
  line-height: 1;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.asgqsv5-locations-summary p {
  max-width: 340px;
  margin: 22px 0 0;
  color: rgba(255, 249, 220, 0.88) !important;
  font-family: var(--as-font-body, "Figtree", Arial, sans-serif) !important;
  font-size: 14.5px !important;
  line-height: 1.55 !important;
}

.asgqsv5-offices-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.asgqsv5-office {
  min-width: 0;
  min-height: 210px;
  padding: 26px;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 16px;
  align-content: start;
  border: 1px solid var(--asgqsv5-line);
  background: var(--asgqsv5-white);
  transition: background 0.28s ease, transform 0.28s ease, box-shadow 0.28s ease;
}

.asgqsv5-office:hover {
  transform: translateY(-4px);
  background: var(--asgqsv5-cream);
  box-shadow: 6px 6px 0 rgba(137, 159, 117, 0.10);
}

.asgqsv5-office-number {
  color: var(--asgqsv5-red);
  font-family: var(--as-font-body, "Figtree", Arial, sans-serif) !important;
  font-size: 11px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: 0.10em;
}

.asgqsv5-office h3 {
  margin: 0 0 16px;
  color: var(--asgqsv5-green) !important;
  font-family: var(--as-font-title, "Antikor", Georgia, serif) !important;
  font-size: clamp(26px, 2vw, 34px) !important;
  line-height: 1.05 !important;
  letter-spacing: -0.04em !important;
  font-weight: 700 !important;
}

.asgqsv5-office p {
  margin: 0;
  color: var(--asgqsv5-black) !important;
  font-family: var(--as-font-body, "Figtree", Arial, sans-serif) !important;
  font-size: 14.5px !important;
  line-height: 1.55 !important;
}

.asgqsv5-office a {
  display: inline-flex;
  margin-top: 18px;
  color: var(--asgqsv5-red) !important;
  font-family: var(--as-font-body, "Figtree", Arial, sans-serif) !important;
  font-size: 14px;
  line-height: 1;
  font-weight: 850;
  letter-spacing: 0.02em;
}

.asgqsv5-office a:hover,
.asgqsv5-office a:focus-visible {
  color: var(--asgqsv5-green) !important;
}


/* ==========================================================
   REVEAL
   ========================================================== */

.asgqsv5-page .asgqsv5-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.68s ease, transform 0.68s ease;
}

.asgqsv5-page .asgqsv5-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}


/* ==========================================================
   INTEGRACION CON DIVI
   ========================================================== */

body:has(.asgqsv5-page) {
  height: auto !important;
  overflow-y: auto !important;
}

body:has(.asgqsv5-page) #page-container,
body:has(.asgqsv5-page) #et-main-area,
body:has(.asgqsv5-page) #main-content,
body:has(.asgqsv5-page) .et_pb_section,
body:has(.asgqsv5-page) .et_pb_row,
body:has(.asgqsv5-page) .et_pb_column,
body:has(.asgqsv5-page) .et_pb_module,
body:has(.asgqsv5-page) .et_pb_code,
body:has(.asgqsv5-page) .et_pb_code_inner {
  height: auto !important;
  max-height: none !important;
  min-height: 0 !important;
  overflow-y: visible !important;
}


/* ==========================================================
   RESPONSIVE
   ========================================================== */

@media (max-width: 1320px) {
  .asgqsv5-rail {
    display: none;
  }
}

@media (max-width: 1180px) {
  .asgqsv7-history {
    padding-left: 24px;
    padding-right: 24px;
  }

  /* En pantallas estrechas conservamos todos los hitos sin alargar la pagina. */
  .asgqsv7-timeline {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: minmax(230px, 31vw);
    gap: 14px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 0 4px 14px;
    scroll-snap-type: x proximity;
    scrollbar-width: thin;
    scrollbar-color: rgba(137, 159, 117, 0.42) transparent;
  }

  .asgqsv7-timeline::before {
    display: none;
  }

  .asgqsv7-milestone {
    scroll-snap-align: start;
  }

  .asgqsv7-milestone::before {
    display: none;
  }

  .asgqsv7-card {
    min-height: 230px;
  }
}

@media (max-width: 980px) {
  .asgqsv5-page {
    --asgqsv5-header-height: 72px;
  }

  .asgqsv5-page [data-asgqsv5-section] {
    scroll-margin-top: 124px;
  }

  .asgqsv5-hero {
    min-height: 92svh;
    padding: 126px 24px 72px;
  }

  .asgqsv5-hero-inner {
    grid-template-columns: 1fr;
    gap: 46px;
  }

  .asgqsv5-hero-copy h1 {
    font-size: clamp(44px, 11.5vw, 64px) !important;
  }

  .asgqsv5-hero-card {
    width: min(100%, 310px);
  }

  .asgqsv7-history,
  .asgqsv5-principles,
  .asgqsv5-locations {
    padding-left: 24px;
    padding-right: 24px;
  }

  .asgqsv7-timeline {
    grid-auto-columns: minmax(240px, 72vw);
  }

  .asgqsv7-milestone {
    gap: 16px;
  }

  .asgqsv7-year,
  .asgqsv7-milestone:nth-child(even) .asgqsv7-year {
    font-size: 42px;
    text-align: left;
  }

  .asgqsv7-card {
    min-height: 220px;
    padding: 22px 20px;
  }

  .asgqsv5-purpose-grid {
    grid-template-columns: 1fr;
  }

  .asgqsv5-purpose-grid article {
    min-height: 0;
  }

  .asgqsv5-values-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .asgqsv5-value-item {
    min-height: 210px;
  }

  .asgqsv5-locations-layout {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .asgqsv5-locations-summary {
    min-height: 360px;
  }
}

@media (max-width: 680px) {
  .asgqsv7-history::before {
    left: -260px;
    top: 12%;
    width: 540px;
    opacity: 0.032;
  }

  .asgqsv5-principles::before {
    right: -270px;
    top: 120px;
    width: 560px;
    opacity: 0.024;
  }

  .asgqsv5-locations::before {
    left: -270px;
    bottom: -210px;
    width: 560px;
    opacity: 0.022;
  }
}

@media (max-width: 560px) {
  .asgqsv5-hero {
    padding-left: 20px;
    padding-right: 20px;
  }

  .asgqsv5-hero-bg {
    background-position: 62% center;
  }

  .asgqsv5-hero-bg::after {
    background:
      linear-gradient(
        180deg,
        rgba(42, 42, 42, 0.44) 0%,
        rgba(42, 42, 42, 0.64) 48%,
        rgba(42, 42, 42, 0.90) 100%
      );
  }

  .asgqsv5-scroll-hint {
    left: 20px;
  }

  .asgqsv7-history,
  .asgqsv5-principles,
  .asgqsv5-locations {
    padding-left: 20px;
    padding-right: 20px;
  }

  .asgqsv5-section-head h2,
  .asgqsv5-values-experience-head h2 {
    font-size: clamp(37px, 10.5vw, 52px) !important;
  }

  .asgqsv7-history-head {
    margin-bottom: 28px;
  }

  .asgqsv7-timeline {
    grid-auto-columns: minmax(236px, 84vw);
    gap: 12px;
    margin-right: -20px;
    padding-right: 20px;
  }

  .asgqsv7-card img {
    width: 32px;
    margin-bottom: 14px;
  }

  .asgqsv5-purpose-grid article {
    padding: 24px;
  }

  .asgqsv5-purpose-grid p {
    margin-top: 30px;
  }

  .asgqsv5-values-experience {
    margin-top: 56px;
    padding-top: 42px;
  }

  .asgqsv5-values-list {
    grid-template-columns: 1fr;
  }

  .asgqsv5-value-item {
    min-height: 0;
    padding: 24px 20px;
  }

  .asgqsv5-offices-grid {
    grid-template-columns: 1fr;
  }

  .asgqsv5-locations-summary {
    min-height: 320px;
    padding: 28px 24px;
    border-radius: 0 30px 30px 30px;
    box-shadow: 8px 8px 0 rgba(245, 216, 146, 0.58);
  }

  .asgqsv5-locations-summary > img {
    right: 22px;
    top: 22px;
    width: 50px;
  }

  .asgqsv5-office {
    min-height: 0;
    padding: 24px 20px;
  }
}

@media (max-width: 980px) and (min-width: 561px) {
  .asgqsv5-hero-bg {
    background-position: 58% center;
    transform: scale(1.01);
  }

  .asgqsv5-hero-bg::after {
    background:
      linear-gradient(
        90deg,
        rgba(42, 42, 42, 0.88) 0%,
        rgba(42, 42, 42, 0.70) 66%,
        rgba(42, 42, 42, 0.46) 100%
      ),
      linear-gradient(
        180deg,
        rgba(42, 42, 42, 0.16) 0%,
        rgba(42, 42, 42, 0.68) 100%
      );
  }

  .asgqsv5-hero-card {
    background: rgba(137, 159, 117, 0.95);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .asgqsv5-page *,
  .asgqsv5-page *::before,
  .asgqsv5-page *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }

  .asgqsv5-page .asgqsv5-reveal,
  .asgqsv7-milestone {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }
}


/* ==========================================================
   DÓNDE ESTAMOS · MAPA INTERACTIVO
   ========================================================== */

/* ==========================================================
   GRUPO ARQUISOCIAL
   DÓNDE ESTAMOS · MAPA INTERACTIVO
   Prefijo aislado: asmapv1-
   ========================================================== */


/* ==========================================================
   SECCIÓN
   ========================================================== */

.asmapv1-section {
  position: relative;
  overflow: hidden;

  padding:
    clamp(82px, 8vw, 126px)
    7vw
    clamp(90px, 9vw, 138px);

  background:
    linear-gradient(
      135deg,
      #fbfbfb 0%,
      rgba(255, 249, 220, 0.58) 100%
    );

  color: #2a2a2a;
}


.asmapv1-inner {
  width: min(1220px, 100%);
  margin: 0 auto;
}


/* ==========================================================
   CABECERA
   ========================================================== */

.asmapv1-head {
  max-width: 720px;
}


.asmapv1-label {
  display: inline-flex;
  align-items: center;
  gap: 12px;

  color: #aa4b4b !important;

  font-size: 12px !important;
  line-height: 1 !important;
  font-weight: 850 !important;
  letter-spacing: 0.115em !important;

  text-transform: uppercase;
}


.asmapv1-label::before {
  content: "";

  display: block;

  width: 42px;
  height: 2px;

  background: currentColor;
}


.asmapv1-head h2 {
  margin: 25px 0 0;

  color: #899f75 !important;

  font-family:
    var(--as-font-title, "Antikor", Georgia, serif) !important;

  font-size: clamp(44px, 5vw, 72px) !important;
  line-height: 0.98 !important;
  font-weight: 700 !important;
  letter-spacing: -0.045em !important;
}


.asmapv1-head p {
  max-width: 560px;

  margin: 24px 0 0;

  color: #2a2a2a !important;

  font-size: clamp(16px, 1.1vw, 19px) !important;
  line-height: 1.55 !important;
}


/* ==========================================================
   MAPA + FICHA
   ========================================================== */

.asmapv1-layout {
  display: grid;

  grid-template-columns:
    minmax(0, 1.55fr)
    minmax(310px, 0.65fr);

  gap: clamp(36px, 5vw, 72px);

  align-items: stretch;

  margin-top: clamp(48px, 5.5vw, 76px);
}


/* ==========================================================
   CONTENEDOR DEL MAPA
   ========================================================== */

.asmapv1-map {
  min-width: 0;
}


.asmapv1-map-stage {
  position: relative;

  width: 100%;

  /*
   * Coincide con las proporciones del SVG:
   * 822 x 595.3
   */
  aspect-ratio: 822 / 595.3;
}


/* ==========================================================
   SVG COMO IMAGEN
   ========================================================== */

.asmapv1-map-image {
  position: absolute;
  inset: 0;

  z-index: 1;

  display: block;

  width: 100%;
  height: 100%;

  object-fit: contain;
  object-position: center;

  pointer-events: none;
  user-select: none;

  -webkit-user-drag: none;
}


/* ==========================================================
   MARCADORES
   ========================================================== */

.asmapv1-marker {
  position: absolute;

  left: var(--x);
  top: var(--y);

  z-index: 10;

  display: flex;
  align-items: center;
  justify-content: center;

  width: 48px;
  height: 48px;

  padding: 5px;

  border: 0;

  background: transparent;

  appearance: none;

  cursor: pointer;

  transform:
    translate(-50%, -78%);

  -webkit-tap-highlight-color: transparent;
}


/* PIN */

.asmapv1-marker svg {
  position: relative;

  z-index: 2;

  display: block;

  width: 31px;
  height: 31px;

  overflow: visible;

  fill: #aa4b4b;

  filter:
    drop-shadow(
      0 4px 5px
      rgba(42, 42, 42, 0.18)
    );

  transition:
    transform 0.22s ease,
    fill 0.22s ease;
}


/* ARO DEL ACTIVO */

.asmapv1-marker-ring {
  position: absolute;

  left: 50%;
  top: 48%;

  z-index: 1;

  width: 34px;
  height: 34px;

  border:
    2px solid
    #aa4b4b;

  border-radius: 999px;

  opacity: 0;

  transform:
    translate(-50%, -50%)
    scale(0.6);

  transition:
    opacity 0.25s ease,
    transform 0.25s ease;
}


/* ACTIVO */

.asmapv1-marker.is-active svg {
  transform: scale(1.18);
}


.asmapv1-marker.is-active
.asmapv1-marker-ring {
  opacity: 0.38;

  transform:
    translate(-50%, -50%)
    scale(1.35);
}


/* HOVER */

@media (hover: hover) and (pointer: fine) {

  .asmapv1-marker:hover svg {
    transform: scale(1.15);
  }


  .asmapv1-marker.is-active:hover svg {
    transform: scale(1.22);
  }

}


/* ACCESIBILIDAD */

.asmapv1-marker:focus-visible {
  outline:
    2px solid
    #aa4b4b;

  outline-offset: 2px;

  border-radius: 999px;
}


/* ==========================================================
   TARJETA RESUMEN · 4 SEDES
   ========================================================== */

.asmapv1-summary-card {
  position: relative;

  min-height: 420px;
  align-self: start;

  display: flex;
  flex-direction: column;
  justify-content: flex-start;

  padding:
    clamp(32px, 3.2vw, 44px);

  overflow: hidden;

  border-radius:
    0 36px 36px 36px;

  background: #899f75;

  color: #fff9dc;

  box-shadow:
    12px 12px 0
    rgba(245, 216, 146, 0.52);

  isolation: isolate;
}


/* MARIPOSA GRANDE DE FONDO */

.asmapv1-summary-card::before {
  content: "";

  position: absolute;

  left: -116px;
  top: -106px;

  width: clamp(360px, 30vw, 470px);

  aspect-ratio: 1;

  background:
    url("/wp-content/themes/divi-arquisocial-child/assets/img/grupo-arquisocial-mariposa.svg")
    center / contain
    no-repeat;

  filter:
    brightness(0)
    saturate(100%)
    invert(94%)
    sepia(13%)
    saturate(560%)
    hue-rotate(343deg)
    brightness(108%)
    contrast(104%);

  opacity: 0.07;

  pointer-events: none;
}


/* MARIPOSA PEQUEÑA */

.asmapv1-summary-card > img {
  position: absolute;

  right: 28px;
  top: 28px;

  z-index: 2;

  display: block;

  width: 56px;
  height: auto;

  filter:
    brightness(0)
    saturate(100%)
    invert(94%)
    sepia(13%)
    saturate(560%)
    hue-rotate(343deg)
    brightness(108%)
    contrast(104%);

  opacity: 0.88;

  pointer-events: none;
}


.asmapv1-summary-head,
.asmapv1-office-list {
  position: relative;
  z-index: 3;
}


.asmapv1-summary-head {
  display: flex;
  align-items: flex-end;
  gap: 16px;
  padding-right: 72px;
}


.asmapv1-summary-head strong {
  display: block;

  color: #f5d892 !important;

  font-family:
    var(--as-font-body, "Figtree", Arial, sans-serif) !important;

  font-size: clamp(72px, 6vw, 96px);
  line-height: 0.80;
  font-weight: 900;
  letter-spacing: -0.09em;
}


.asmapv1-summary-head > span {
  display: block;

  margin: 0 0 3px;

  color: #fff9dc !important;

  font-family:
    var(--as-font-title, "Antikor", Georgia, serif) !important;

  font-size: clamp(30px, 2.45vw, 40px);
  line-height: 0.95;
  font-weight: 700;
  letter-spacing: -0.04em;
}


.asmapv1-office-list {
  margin-top: clamp(28px, 3vw, 38px);
  display: grid;
  gap: 6px;
}


.asmapv1-office-option {
  width: 100%;
  min-height: 52px;
  padding: 0 10px;

  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) 18px;
  align-items: center;
  gap: 10px;

  border: 0;
  border-top:
    1px solid
    rgba(255, 249, 220, 0.22);

  border-radius:
    0 12px 12px 12px;

  background: transparent;
  color: #fff9dc;

  appearance: none;
  cursor: pointer;
  text-align: left;

  transition:
    background 0.22s ease,
    transform 0.22s ease;
}


.asmapv1-office-option:last-child {
  border-bottom:
    1px solid
    rgba(255, 249, 220, 0.22);
}


.asmapv1-office-option::after {
  content: "→";

  color:
    rgba(255, 249, 220, 0.52);

  font-family: Arial, sans-serif;
  font-size: 15px;
  line-height: 1;

  text-align: right;

  transition:
    color 0.22s ease,
    transform 0.22s ease;
}


.asmapv1-office-index,
.asmapv1-office-name {
  display: block;
  margin: 0;
}


.asmapv1-office-index {
  color:
    rgba(245, 216, 146, 0.74) !important;

  font-family:
    var(--as-font-body, "Figtree", Arial, sans-serif) !important;

  font-size: 10px !important;
  line-height: 1 !important;
  font-weight: 900 !important;
  letter-spacing: 0.10em !important;
}


.asmapv1-office-name {
  color: #fff9dc !important;

  font-family:
    var(--as-font-body, "Figtree", Arial, sans-serif) !important;

  font-size: 14px !important;
  line-height: 1.22 !important;
  font-weight: 700 !important;
  letter-spacing: 0 !important;
}


.asmapv1-office-option:hover,
.asmapv1-office-option:focus-visible,
.asmapv1-office-option.is-active {
  background:
    rgba(255, 249, 220, 0.11);

  transform:
    translateX(4px);
}


.asmapv1-office-option.is-active::after {
  color: #f5d892;
  transform: translateX(2px);
}


.asmapv1-office-option.is-active
.asmapv1-office-index {
  color: #f5d892 !important;
}


.asmapv1-office-option:focus-visible {
  outline:
    2px solid
    #f5d892;

  outline-offset: 2px;
}


/* ==========================================================
   MINI FICHA SOBRE EL MAPA
   ========================================================== */

.asmapv1-popover {
  position: absolute;

  left:
    var(--asmapv1-popup-x, 50%);

  top:
    var(--asmapv1-popup-y, 50%);

  z-index: 30;

  width:
    min(282px, calc(100vw - 48px));

  padding:
    19px 20px 18px;

  border:
    1px solid
    rgba(137, 159, 117, 0.30);

  border-radius:
    0 18px 18px 18px;

  background:
    rgba(251, 251, 251, 0.985);

  color: #2a2a2a;

  box-shadow:
    0 18px 50px
    rgba(42, 42, 42, 0.15);

  transform:
    translate(
      var(--asmapv1-popup-shift-x, -50%),
      var(--asmapv1-popup-shift-y, calc(-100% - 18px))
    );

  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}


.asmapv1-popover[hidden] {
  display: none !important;
}


.asmapv1-popover[data-align="left"] {
  --asmapv1-popup-shift-x: -8%;
}


.asmapv1-popover[data-align="center"] {
  --asmapv1-popup-shift-x: -50%;
}


.asmapv1-popover[data-align="right"] {
  --asmapv1-popup-shift-x: -92%;
}


.asmapv1-popover[data-vertical="above"] {
  --asmapv1-popup-shift-y: calc(-100% - 18px);
}


.asmapv1-popover[data-vertical="below"] {
  --asmapv1-popup-shift-y: 18px;
}


.asmapv1-popover-close {
  position: absolute;

  right: 10px;
  top: 9px;

  width: 30px;
  height: 30px;

  padding: 0;

  display: flex;
  align-items: center;
  justify-content: center;

  border: 0;

  background: transparent;

  color:
    rgba(42, 42, 42, 0.50);

  font-family: Arial, sans-serif;
  font-size: 22px;
  line-height: 1;

  appearance: none;

  cursor: pointer;
}


.asmapv1-popover-close:hover,
.asmapv1-popover-close:focus-visible {
  color: #aa4b4b;
}


.asmapv1-popover-close:focus-visible {
  outline:
    2px solid #aa4b4b;

  outline-offset: 1px;

  border-radius: 999px;
}


.asmapv1-popover-label {
  display: block;

  padding-right: 36px;

  color: #aa4b4b !important;

  font-family:
    var(--as-font-body, "Figtree", Arial, sans-serif) !important;

  font-size: 9px !important;
  line-height: 1 !important;
  font-weight: 900 !important;
  letter-spacing: 0.11em !important;

  text-transform: uppercase;
}


.asmapv1-popover strong {
  display: block;

  margin-top: 10px;
  padding-right: 30px;

  color: #899f75 !important;

  font-family:
    var(--as-font-title, "Antikor", Georgia, serif) !important;

  font-size: 25px !important;
  line-height: 1 !important;
  font-weight: 700 !important;
  letter-spacing: -0.035em;
}


.asmapv1-popover p {
  margin: 13px 0 0;

  color: #2a2a2a !important;

  font-family:
    var(--as-font-body, "Figtree", Arial, sans-serif) !important;

  font-size: 13px !important;
  line-height: 1.44 !important;
  font-weight: 500 !important;
}


.asmapv1-popover-actions {
  margin-top: 16px;
  padding-top: 14px;

  display: flex;
  flex-wrap: wrap;
  gap: 8px;

  border-top:
    1px solid
    rgba(137, 159, 117, 0.18);
}


.asmapv1-popover-actions a {
  min-height: 34px;

  padding: 8px 12px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  border-radius: 999px;

  font-family:
    var(--as-font-body, "Figtree", Arial, sans-serif) !important;

  font-size: 11px !important;
  line-height: 1 !important;
  font-weight: 850 !important;

  text-decoration: none !important;

  transition:
    transform 0.20s ease,
    background 0.20s ease,
    color 0.20s ease;
}


.asmapv1-popover-map {
  border:
    1px solid #899f75;

  background: #899f75;

  color: #fff9dc !important;
}


.asmapv1-popover-map::after {
  content: "↗";

  margin-left: 7px;

  font-size: 12px;
}


.asmapv1-popover-phone {
  border:
    1px solid
    rgba(137, 159, 117, 0.30);

  background: #fff9dc;

  color: #899f75 !important;
}


.asmapv1-popover-actions a:hover,
.asmapv1-popover-actions a:focus-visible {
  transform: translateY(-1px);
}


.asmapv1-popover-actions a:focus-visible {
  outline:
    2px solid #aa4b4b;

  outline-offset: 2px;
}


/* ==========================================================
   TABLET
   ========================================================== */

@media (max-width: 980px) {

  .asmapv1-layout {
    grid-template-columns: 1fr;

    gap: 44px;
  }


  .asmapv1-map {
    width: min(760px, 100%);

    margin: 0 auto;
  }


  .asmapv1-summary-card {
    min-height: 330px;
  }

}


/* ==========================================================
   MÓVIL
   ========================================================== */

@media (max-width: 680px) {

  .asmapv1-section {
    padding:
      74px 20px
      86px;
  }


  .asmapv1-label {
    font-size: 10px !important;
  }


  .asmapv1-label::before {
    width: 28px;
  }


  .asmapv1-head h2 {
    font-size:
      clamp(
        40px,
        12vw,
        58px
      ) !important;
  }


  .asmapv1-head p {
    font-size: 16px !important;
  }


  .asmapv1-layout {
    margin-top: 38px;

    gap: 34px;
  }


  .asmapv1-marker {
    width: 42px;
    height: 42px;
  }


  .asmapv1-marker svg {
    width: 27px;
    height: 27px;
  }


  .asmapv1-marker-ring {
    width: 30px;
    height: 30px;
  }


  .asmapv1-summary-card {
    min-height: 0;

    padding:
      30px 26px;

    border-radius:
      0 28px 28px 28px;

    box-shadow:
      8px 8px 0
      rgba(245, 216, 146, 0.48);
  }


  .asmapv1-summary-card > img {
    right: 22px;
    top: 22px;

    width: 48px;
  }


  .asmapv1-summary-card::before {
    left: -118px;
    top: -84px;

    width: 365px;
  }


  .asmapv1-popover {
    width:
      min(246px, calc(100vw - 40px));

    padding:
      17px 17px 16px;
  }


  .asmapv1-popover strong {
    font-size: 22px !important;
  }

}


/* ==========================================================
   REDUCED MOTION
   ========================================================== */

@media (prefers-reduced-motion: reduce) {

  .asmapv1-marker svg,
  .asmapv1-marker-ring,
  .asmapv1-popover-actions a,
  .asmapv1-office-option,
  .asmapv1-office-option::after {
    transition: none !important;
  }

}
/* ==========================================================
   FALLBACK DE VISIBILIDAD
   Si el JS tarda o no carga, el contenido nunca queda oculto.
   Cuando el JS arranca, activa las transiciones con .is-js-ready.
   ========================================================== */

.asgqsv5-page .asgqsv5-reveal,
.asgqsv5-page .asgqsv7-milestone {
  opacity: 1;
  transform: none;
  filter: none;
}

.asgqsv5-page.is-js-ready .asgqsv5-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.68s ease, transform 0.68s ease;
}

.asgqsv5-page.is-js-ready .asgqsv5-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.asgqsv5-page.is-js-ready .asgqsv7-milestone {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.asgqsv5-page.is-js-ready .asgqsv7-milestone.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================
   BARRA DE ORIENTACION / PROGRESO DE SECCION
   Anade funcionalidad visual sin tocar HERO ni TIMELINE
   ========================================================== */

.asgqsv5-contextbar {
  position: fixed;
  left: 0;
  top: var(--asgqsv5-header-height, 82px);
  z-index: 840;
  width: 100%;
  height: 50px;
  padding: 0 clamp(24px, 6.5vw, 110px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  background: rgba(251, 251, 251, 0.96);
  border-bottom: 1px solid rgba(137, 159, 117, 0.16);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.asgqsv5-contextbar-page {
  flex: 0 0 auto;
  color: rgba(42, 42, 42, 0.58);
  font-family: var(--as-font-body, "Figtree", Arial, sans-serif) !important;
  font-size: 10px;
  line-height: 1;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.asgqsv5-contextbar-current {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
  color: var(--asgqsv5-green-dark);
  font-family: var(--as-font-body, "Figtree", Arial, sans-serif) !important;
  font-size: 10px;
  line-height: 1;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.asgqsv5-contextbar-current strong {
  color: var(--asgqsv5-red) !important;
  font-size: 10px !important;
  line-height: 1 !important;
  font-weight: 900 !important;
}

.asgqsv5-contextbar-current > i {
  color: rgba(42, 42, 42, 0.34);
  font-style: normal;
}

.asgqsv5-contextbar-current > span {
  color: var(--asgqsv5-green-dark);
  white-space: nowrap;
}

.asgqsv5-contextbar-progress {
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 100%;
  height: 2px;
  overflow: hidden;
  background: rgba(137, 159, 117, 0.14);
}

.asgqsv5-contextbar-progress > i {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    var(--asgqsv5-green) 0%,
    var(--asgqsv5-yellow) 54%,
    var(--asgqsv5-red) 100%
  );
  transform: scaleX(0);
  transform-origin: left center;
  will-change: transform;
}

.asgqsv5-page.is-footer-visible .asgqsv5-contextbar {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

@media (max-width: 980px) {
  .asgqsv5-contextbar {
    height: 46px;
    padding: 0 20px;
  }

  .asgqsv5-contextbar-page {
    display: none;
  }
}

@media (max-width: 560px) {
  .asgqsv5-contextbar-current {
    font-size: 9px;
  }

  .asgqsv5-contextbar-current > span {
    max-width: 180px;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

/* ==========================================================
   NUESTRA HISTORIA · TIMELINE DESLIZANTE V4
   8 hitos · compacto · una sola línea en escritorio
   ========================================================== */

.asgqsv8-history {
  padding-top: 38px;
  padding-bottom: 44px;
}

.asgqsv8-history .asgqsv7-history-head {
  max-width: 820px;
  margin-bottom: 24px;
}

.asgqsv8-history .asgqsv7-history-head h2 {
  font-size: clamp(38px, 4vw, 58px) !important;
}

.asgqsv8-history .asgqsv7-history-head p {
  margin-top: 12px;
}

.asgqsv8-slider {
  position: relative;
  width: min(980px, 100%);
  margin: 0 auto;
}

/* Radios accesibles */
.asgqsv8-radio {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}


/* ==========================================================
   PANEL PRINCIPAL
   ========================================================== */

.asgqsv8-stage {
  position: relative;
  display: grid;
  height: 255px;
  min-height: 255px;
  overflow: hidden;
  border: 1px solid rgba(137, 159, 117, 0.22);
  border-radius: 0 28px 28px 28px;
  background: var(--asgqsv5-cream);
  box-shadow:
    8px 8px 0 rgba(245, 216, 146, 0.30),
    0 16px 42px rgba(42, 42, 42, 0.05);
  isolation: isolate;
}

.asgqsv8-stage::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  z-index: 20;
  width: 4px;
  height: 100%;
  background: linear-gradient(
    180deg,
    var(--asgqsv5-red) 0%,
    var(--asgqsv5-yellow) 50%,
    var(--asgqsv5-green) 100%
  );
  opacity: 0.94;
  pointer-events: none;
}

.asgqsv8-panel {
  grid-area: 1 / 1;
  position: relative;
  height: 255px;
  min-height: 255px;
  padding: 26px 40px;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(180px, 0.75fr);
  gap: 34px;
  align-items: center;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(18px);
  transition:
    opacity 0.30s ease,
    transform 0.38s cubic-bezier(0.22, 1, 0.36, 1),
    visibility 0.30s ease;
  isolation: isolate;
}

/* Fotografía de fondo por hito */
.asgqsv8-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(
      90deg,
      rgba(255, 249, 220, 0.985) 0%,
      rgba(255, 249, 220, 0.965) 37%,
      rgba(255, 249, 220, 0.86) 53%,
      rgba(137, 159, 117, 0.44) 72%,
      rgba(42, 42, 42, 0.42) 100%
    ),
    var(--asgqsv8-bg, linear-gradient(135deg, #fff9dc 0%, #e6ebdf 100%));
  background-repeat: no-repeat, no-repeat;
  background-position:
    center,
    var(--asgqsv8-bg-position, center);
  background-size:
    cover,
    var(--asgqsv8-bg-size, cover);
  transform: scale(1.01);
}

.asgqsv8-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    180deg,
    rgba(255,255,255,0.02) 0%,
    rgba(42,42,42,0.06) 100%
  );
  pointer-events: none;
}

.asgqsv8-panel-copy {
  position: relative;
  z-index: 4;
  max-width: 610px;
}

.asgqsv8-panel-copy > span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--asgqsv5-red);
  font-family: var(--as-font-body, "Figtree", Arial, sans-serif) !important;
  font-size: 9.5px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.asgqsv8-panel-copy > span::before {
  content: "";
  display: block;
  width: 30px;
  height: 2px;
  background: var(--asgqsv5-red);
}

.asgqsv8-panel h3 {
  max-width: 610px;
  margin: 14px 0 0;
  color: var(--asgqsv5-green) !important;
  font-family: var(--as-font-title, "Antikor", Georgia, serif) !important;
  font-size: clamp(30px, 3.1vw, 44px) !important;
  line-height: 0.98 !important;
  letter-spacing: -0.045em !important;
  font-weight: 700 !important;
  text-wrap: balance;
}

.asgqsv8-panel p {
  max-width: 590px;
  margin: 16px 0 0;
  color: var(--asgqsv5-black) !important;
  font-family: var(--as-font-body, "Figtree", Arial, sans-serif) !important;
  font-size: 15.5px !important;
  line-height: 1.42 !important;
  font-weight: 450 !important;
}

.asgqsv8-panel-year {
  position: relative;
  z-index: 4;
  justify-self: end;
  color: rgba(255, 249, 220, 0.94) !important;
  font-family: var(--as-font-body, "Figtree", Arial, sans-serif) !important;
  font-size: clamp(64px, 6.8vw, 96px) !important;
  line-height: 0.80 !important;
  font-weight: 900 !important;
  letter-spacing: -0.085em !important;
  white-space: nowrap;
  text-shadow: 0 7px 26px rgba(42, 42, 42, 0.23);
  user-select: none;
}

.asgqsv8-panel-year::after {
  content: "";
  display: block;
  width: 44px;
  height: 3px;
  margin: 15px 3px 0 auto;
  background: var(--asgqsv5-yellow);
  box-shadow: 0 3px 10px rgba(42, 42, 42, 0.10);
}

/* Hito 2026: fondo limpio + logo real */
.asgqsv8-panel-2026 {
  --asgqsv8-bg: linear-gradient(135deg, #fff9dc 0%, #e5eadf 100%);
}

.asgqsv8-panel-logo-2026 {
  position: relative;
  z-index: 4;
  justify-self: end;
  display: block;
  width: min(220px, 100%);
  max-width: 100%;
  max-height: 105px;
  height: auto;
  object-fit: contain;
  filter:
    brightness(0)
    saturate(100%)
    invert(57%)
    sepia(16%)
    saturate(640%)
    hue-rotate(52deg)
    brightness(94%)
    contrast(86%);
}

/* Panel activo */
#asgqsv8-1995:checked ~ .asgqsv8-stage .asgqsv8-panel-1995,
#asgqsv8-2002:checked ~ .asgqsv8-stage .asgqsv8-panel-2002,
#asgqsv8-2008:checked ~ .asgqsv8-stage .asgqsv8-panel-2008,
#asgqsv8-2012:checked ~ .asgqsv8-stage .asgqsv8-panel-2012,
#asgqsv8-2016:checked ~ .asgqsv8-stage .asgqsv8-panel-2016,
#asgqsv8-2023:checked ~ .asgqsv8-stage .asgqsv8-panel-2023,
#asgqsv8-2025:checked ~ .asgqsv8-stage .asgqsv8-panel-2025,
#asgqsv8-2026:checked ~ .asgqsv8-stage .asgqsv8-panel-2026 {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: none;
}


/* ==========================================================
   FLECHAS
   ========================================================== */

.asgqsv8-arrows {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  z-index: 30;
  height: 255px;
  pointer-events: none;
}

.asgqsv8-arrow-set {
  position: absolute;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: space-between;
  pointer-events: none;
}

.asgqsv8-arrow {
  position: relative;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(137, 159, 117, 0.26);
  border-radius: 999px;
  background: rgba(251, 251, 251, 0.96);
  color: var(--asgqsv5-green) !important;
  font-family: Arial, sans-serif;
  font-size: 20px;
  line-height: 1;
  box-shadow: 0 8px 22px rgba(42, 42, 42, 0.11);
  cursor: pointer;
  pointer-events: auto;
  user-select: none;
  transition:
    transform 0.22s ease,
    background 0.22s ease,
    color 0.22s ease,
    border-color 0.22s ease;
}

.asgqsv8-arrow.is-prev {
  margin-left: -21px;
}

.asgqsv8-arrow.is-next {
  margin-right: -21px;
}

.asgqsv8-arrow:not(.is-disabled):hover {
  transform: scale(1.06);
  border-color: var(--asgqsv5-green);
  background: var(--asgqsv5-green);
  color: var(--asgqsv5-cream) !important;
}

.asgqsv8-arrow.is-disabled {
  opacity: 0.26;
  cursor: default;
}

#asgqsv8-1995:checked ~ .asgqsv8-arrows .asgqsv8-arrow-set-1995,
#asgqsv8-2002:checked ~ .asgqsv8-arrows .asgqsv8-arrow-set-2002,
#asgqsv8-2008:checked ~ .asgqsv8-arrows .asgqsv8-arrow-set-2008,
#asgqsv8-2012:checked ~ .asgqsv8-arrows .asgqsv8-arrow-set-2012,
#asgqsv8-2016:checked ~ .asgqsv8-arrows .asgqsv8-arrow-set-2016,
#asgqsv8-2023:checked ~ .asgqsv8-arrows .asgqsv8-arrow-set-2023,
#asgqsv8-2025:checked ~ .asgqsv8-arrows .asgqsv8-arrow-set-2025,
#asgqsv8-2026:checked ~ .asgqsv8-arrows .asgqsv8-arrow-set-2026 {
  display: flex;
}


/* ==========================================================
   NAVEGACIÓN DE AÑOS
   ========================================================== */

.asgqsv8-nav-scroll {
  width: 100%;
  margin-top: 20px;
  padding: 0 4px 4px;
  overflow: visible;
}

.asgqsv8-nav {
  position: relative;
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  width: 100%;
  min-width: 0;
}

.asgqsv8-nav::before {
  content: "";
  position: absolute;
  left: 6.25%;
  right: 6.25%;
  top: 7px;
  height: 2px;
  background: rgba(137, 159, 117, 0.22);
  pointer-events: none;
}

.asgqsv8-nav label {
  position: relative;
  z-index: 2;
  min-width: 0;
  padding: 0 5px 8px;
  display: grid;
  justify-items: center;
  align-content: start;
  border-radius: 0 12px 12px 12px;
  cursor: pointer;
  text-align: center;
  transition:
    background 0.24s ease,
    transform 0.24s ease;
}

.asgqsv8-nav label:hover {
  transform: translateY(-2px);
}

.asgqsv8-nav label i {
  display: block;
  width: 15px;
  height: 15px;
  margin: 0 0 10px;
  border: 3px solid var(--asgqsv5-cream);
  border-radius: 999px;
  background: rgba(137, 159, 117, 0.28);
  box-shadow: 0 0 0 1px rgba(137, 159, 117, 0.16);
  transition:
    background 0.24s ease,
    transform 0.24s ease,
    box-shadow 0.24s ease;
}

.asgqsv8-nav label strong {
  color: var(--asgqsv5-black) !important;
  font-family: var(--as-font-body, "Figtree", Arial, sans-serif) !important;
  font-size: 12px !important;
  line-height: 1 !important;
  font-weight: 900 !important;
  letter-spacing: -0.015em;
}

.asgqsv8-nav label span {
  display: block;
  max-width: 118px;
  margin-top: 5px;
  color: rgba(42, 42, 42, 0.66);
  font-family: var(--as-font-body, "Figtree", Arial, sans-serif) !important;
  font-size: 9.5px !important;
  line-height: 1.2 !important;
  font-weight: 600;
}

/* Año seleccionado */
#asgqsv8-1995:checked ~ .asgqsv8-nav-scroll label[for="asgqsv8-1995"],
#asgqsv8-2002:checked ~ .asgqsv8-nav-scroll label[for="asgqsv8-2002"],
#asgqsv8-2008:checked ~ .asgqsv8-nav-scroll label[for="asgqsv8-2008"],
#asgqsv8-2012:checked ~ .asgqsv8-nav-scroll label[for="asgqsv8-2012"],
#asgqsv8-2016:checked ~ .asgqsv8-nav-scroll label[for="asgqsv8-2016"],
#asgqsv8-2023:checked ~ .asgqsv8-nav-scroll label[for="asgqsv8-2023"],
#asgqsv8-2025:checked ~ .asgqsv8-nav-scroll label[for="asgqsv8-2025"],
#asgqsv8-2026:checked ~ .asgqsv8-nav-scroll label[for="asgqsv8-2026"] {
  background: rgba(255, 249, 220, 0.80);
}

#asgqsv8-1995:checked ~ .asgqsv8-nav-scroll label[for="asgqsv8-1995"] i,
#asgqsv8-2002:checked ~ .asgqsv8-nav-scroll label[for="asgqsv8-2002"] i,
#asgqsv8-2008:checked ~ .asgqsv8-nav-scroll label[for="asgqsv8-2008"] i,
#asgqsv8-2012:checked ~ .asgqsv8-nav-scroll label[for="asgqsv8-2012"] i,
#asgqsv8-2016:checked ~ .asgqsv8-nav-scroll label[for="asgqsv8-2016"] i,
#asgqsv8-2023:checked ~ .asgqsv8-nav-scroll label[for="asgqsv8-2023"] i,
#asgqsv8-2025:checked ~ .asgqsv8-nav-scroll label[for="asgqsv8-2025"] i,
#asgqsv8-2026:checked ~ .asgqsv8-nav-scroll label[for="asgqsv8-2026"] i {
  background: var(--asgqsv5-red);
  box-shadow:
    0 0 0 1px rgba(170, 75, 75, 0.16),
    0 4px 12px rgba(42, 42, 42, 0.08);
  transform: scale(1.08);
}

#asgqsv8-1995:checked ~ .asgqsv8-nav-scroll label[for="asgqsv8-1995"] strong,
#asgqsv8-2002:checked ~ .asgqsv8-nav-scroll label[for="asgqsv8-2002"] strong,
#asgqsv8-2008:checked ~ .asgqsv8-nav-scroll label[for="asgqsv8-2008"] strong,
#asgqsv8-2012:checked ~ .asgqsv8-nav-scroll label[for="asgqsv8-2012"] strong,
#asgqsv8-2016:checked ~ .asgqsv8-nav-scroll label[for="asgqsv8-2016"] strong,
#asgqsv8-2023:checked ~ .asgqsv8-nav-scroll label[for="asgqsv8-2023"] strong,
#asgqsv8-2025:checked ~ .asgqsv8-nav-scroll label[for="asgqsv8-2025"] strong,
#asgqsv8-2026:checked ~ .asgqsv8-nav-scroll label[for="asgqsv8-2026"] strong {
  color: var(--asgqsv5-green) !important;
}


/* ==========================================================
   TABLET
   ========================================================== */

@media (max-width: 980px) {

  .asgqsv8-slider {
    width: 100%;
  }

  .asgqsv8-stage,
  .asgqsv8-panel {
    height: 275px;
    min-height: 275px;
  }

  .asgqsv8-panel {
    grid-template-columns: minmax(0, 1fr) 160px;
    gap: 24px;
    padding: 28px 30px;
  }

  .asgqsv8-panel::before {
    background-image:
      linear-gradient(
        90deg,
        rgba(255, 249, 220, 0.98) 0%,
        rgba(255, 249, 220, 0.92) 50%,
        rgba(137, 159, 117, 0.42) 74%,
        rgba(42, 42, 42, 0.42) 100%
      ),
      var(--asgqsv8-bg, linear-gradient(135deg, #fff9dc 0%, #e6ebdf 100%));
  }

  .asgqsv8-panel-year {
    font-size: clamp(58px, 9vw, 82px) !important;
  }

  .asgqsv8-panel-logo-2026 {
    width: min(165px, 100%);
    max-height: 92px;
  }

  .asgqsv8-arrows {
    height: 275px;
  }

  .asgqsv8-arrow.is-prev {
    margin-left: -10px;
  }

  .asgqsv8-arrow.is-next {
    margin-right: -10px;
  }

  .asgqsv8-nav-scroll {
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 12px;
    scrollbar-width: thin;
    scrollbar-color: rgba(137, 159, 117, 0.38) transparent;
  }

  .asgqsv8-nav {
    grid-template-columns: repeat(8, 120px);
    min-width: 960px;
  }

  .asgqsv8-nav::before {
    left: 60px;
    right: 60px;
  }
}


/* ==========================================================
   MÓVIL
   ========================================================== */

@media (max-width: 560px) {

  .asgqsv8-history {
    padding-top: 42px;
    padding-bottom: 54px;
  }

  .asgqsv8-stage {
    height: 340px;
    min-height: 340px;
    border-radius: 0 22px 22px 22px;
    box-shadow:
      7px 7px 0 rgba(245, 216, 146, 0.28),
      0 14px 34px rgba(42, 42, 42, 0.045);
  }

  .asgqsv8-panel {
    height: 340px;
    min-height: 340px;
    padding: 26px 24px 90px;
    display: block;
  }

  .asgqsv8-panel::before {
    background-image:
      linear-gradient(
        180deg,
        rgba(255, 249, 220, 0.97) 0%,
        rgba(255, 249, 220, 0.91) 55%,
        rgba(137, 159, 117, 0.42) 76%,
        rgba(42, 42, 42, 0.40) 100%
      ),
      var(--asgqsv8-bg, linear-gradient(135deg, #fff9dc 0%, #e6ebdf 100%));
    background-position: center;
  }

  .asgqsv8-panel-2012 {
    --asgqsv8-bg-size: 190px auto !important;
    --asgqsv8-bg-position: 78% 82% !important;
  }

  .asgqsv8-panel h3 {
    max-width: 94%;
    font-size: clamp(29px, 9vw, 40px) !important;
  }

  .asgqsv8-panel p {
    max-width: 96%;
    margin-top: 16px;
    font-size: 14.5px !important;
  }

  .asgqsv8-panel-year {
    position: absolute;
    right: 20px;
    bottom: 22px;
    z-index: 4;
    font-size: 52px !important;
  }

  .asgqsv8-panel-year::after {
    width: 32px;
    height: 3px;
    margin-top: 8px;
  }

  .asgqsv8-panel-logo-2026 {
    position: absolute;
    right: 20px;
    bottom: 22px;
    width: 135px;
    max-width: 42%;
    max-height: 66px;
  }

  .asgqsv8-arrows {
    height: 340px;
  }

  .asgqsv8-arrow {
    width: 38px;
    height: 38px;
    font-size: 18px;
  }

  .asgqsv8-arrow.is-prev {
    margin-left: -7px;
  }

  .asgqsv8-arrow.is-next {
    margin-right: -7px;
  }

  .asgqsv8-nav-scroll {
    margin-top: 18px;
    margin-right: -20px;
    width: calc(100% + 20px);
    padding-right: 20px;
  }

  .asgqsv8-nav {
    grid-template-columns: repeat(8, 112px);
    min-width: 896px;
  }

  .asgqsv8-nav label {
    padding-left: 4px;
    padding-right: 4px;
  }

  .asgqsv8-nav label span {
    font-size: 9.5px !important;
  }
}


@media (prefers-reduced-motion: reduce) {
  .asgqsv8-panel,
  .asgqsv8-nav label,
  .asgqsv8-nav label i,
  .asgqsv8-arrow {
    transition: none !important;
  }
}

/* ==========================================================
   DÓNDE ESTAMOS · PRESENCIA EN 13 TERRITORIOS
   Mapa por CCAA/ciudades autónomas
   ========================================================== */

.asmapv1-head p strong {
  color: #899f75 !important;
  font-weight: 850 !important;
}

.asmapv1-map-image {
  filter: none !important;
}


.asmapv1-summary-card {
  min-height: 470px;
  background: #899f75;
}

.asmapv1-summary-head {
  display: block;
  padding-right: 72px;
}

.asmapv1-summary-head strong {
  font-size: clamp(78px, 6.6vw, 104px);
}

.asmapv1-summary-head > span {
  margin: 15px 0 0;
  font-size: clamp(27px, 2.2vw, 36px);
  line-height: 0.95;
}

.asmapv1-summary-subtitle,
.asmapv1-office-kicker {
  position: relative;
  z-index: 3;
}

.asmapv1-summary-subtitle {
  max-width: 250px;
  margin: 18px 0 0;
  color: rgba(255, 249, 220, 0.88) !important;
  font-family: var(--as-font-body, "Figtree", Arial, sans-serif) !important;
  font-size: 13px !important;
  line-height: 1.45 !important;
  font-weight: 600 !important;
}

.asmapv1-office-kicker {
  display: block;
  margin-top: 30px;
  color: #f5d892 !important;
  font-family: var(--as-font-body, "Figtree", Arial, sans-serif) !important;
  font-size: 10px !important;
  line-height: 1 !important;
  font-weight: 900 !important;
  letter-spacing: 0.11em !important;
  text-transform: uppercase;
}

.asmapv1-office-list {
  margin-top: 13px;
}

@media (max-width: 980px) {
  .asmapv1-summary-card {
    min-height: 390px;
  }
}

@media (max-width: 680px) {

  .asmapv1-summary-card {
    min-height: 0;
  }

  .asmapv1-summary-head strong {
    font-size: 82px;
  }

  .asmapv1-summary-head > span {
    font-size: 30px;
  }

  .asmapv1-summary-subtitle {
    max-width: 230px;
  }
}
