/* =============================================================================
   Europa 3G · Landing de marca (iPhone 22, Samsung 157) — 01/10/2026
   -----------------------------------------------------------------------------
   Diseño: design/design.pen, láminas 15 (escritorio), 16 (móvil) y 17 (Samsung).
   Documentación: docs/landing-marca.md. La registra europa3gcategorylanding solo
   en esas categorías.

   La primera parte está PORTADA de modules/europa3ghome/views/css/home.css
   (prefijo e3gh → e3gm): base, piezas comunes, buscador y sus sugerencias, franja
   de condiciones, averías, reseñas, tienda y preguntas. No se carga home.css
   porque verificar-home.py exige que estas páginas no pidan nada de la home. Si
   cambia un bloque de la home que esté aquí, hay que trasladarlo a mano.
   La segunda parte son las secciones propias: hero, selector de modelos, «por
   qué», tienda sobre plata y guía.

   Colores: solo tokens del tema (AGENTS.md «Paleta de marca»).
   ========================================================================== */

/* --- 1. Base y escala tipográfica ------------------------------------------ */
.e3gm {
  --e3gm-pad: 8px;            /* se suma a los 12 del contenedor en móvil */
  --e3gm-sec-y: 48px;         /* aire vertical de una sección */
  --e3gm-h1: 38px;
  --e3gm-h2: 32px;
  --e3gm-h3: 20px;
  --e3gm-radius: var(--nxr-radius-lg, 16px);
  --e3gm-radius-sm: var(--nxr-radius, 8px);
  color: var(--nxr-ink);
  font-family: var(--nxr-font-body);
  font-size: var(--e3g-text-16);
  line-height: 1.5;
  text-align: start;
}

@media (min-width: 768px) {
  .e3gm {
    --e3gm-pad: 0px;
    --e3gm-sec-y: 64px;
    --e3gm-h1: 52px;
    --e3gm-h2: 40px;
    --e3gm-h3: 22px;
  }
}

/* Reglas base con :where(), sin especificidad: cualquier clase de componente
   las pisa sin pelear. Siguen ganando a Hummingbird porque esta hoja no va en
   @layer y la suya sí.
   Hummingbird fija --bs-heading-color en h1..h6 y gana al color del contenedor
   (AGENTS.md «Hummingbird pisa dos cosas»): que hereden. */
:where(.e3gm) :where(h1, h2, h3, h4) {
  color: inherit;
  margin: 0;
  text-align: inherit;
}

:where(.e3gm) :where(p) {
  margin: 0;
}

:where(.e3gm) :where(img) {
  display: block;
  max-width: 100%;
  height: auto;
}

:where(.e3gm) :where(a) {
  color: inherit;
}

/* --- 2. Piezas comunes ------------------------------------------------------ */
.e3gm-sec {
  padding: var(--e3gm-sec-y) var(--e3gm-pad);
}

/* Franja a sangre: el fondo llega de borde a borde y el contenido sigue al
   ancho del contenedor. */
.e3gm-bleed {
  margin-inline: calc(50% - 50vw);
  padding-inline: calc(50vw - 50% + var(--e3gm-pad));
}

.e3gm-eyebrow {
  display: block;
  color: var(--nxr-ink-soft);
  font-size: var(--e3g-text-12);
  font-weight: 700;
  letter-spacing: 1.1px;
  line-height: 1.3;
  text-transform: uppercase;
}

.e3gm-h2 {
  text-wrap: balance;
  font-size: var(--e3gm-h2);
  font-weight: 600;
  letter-spacing: -1.2px;
  line-height: 1.15;
}

.e3gm-lead {
  color: var(--nxr-ink-soft);
  font-size: var(--e3g-text-16);
  line-height: 1.5;
}

.e3gm-link {
  font-weight: 700;
  text-decoration: none;
}

.e3gm-link:hover,
.e3gm-link:focus-visible {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.e3gm-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 22px;
  border: 0;
  border-radius: var(--e3gm-radius-sm);
  background: var(--nxr-accent);
  color: var(--nxr-accent-contrast);
  font: 700 var(--e3g-text-16)/1.2 var(--nxr-font-body);
  text-decoration: none;
  cursor: pointer;
}

.e3gm-btn:hover,
.e3gm-btn:focus-visible {
  background: var(--nxr-ink);
  color: #fff;
}

/* Círculo con flecha (tarjetas foto y averías). */
.e3gm-arrow {
  display: inline-flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: var(--nxr-accent);
  color: var(--nxr-accent-contrast);
}

.e3gm-arrow svg {
  width: 20px;
  height: 20px;
}

.e3gm-visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

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

/* Visibilidad por tamaño (textos que el diseño cambia en móvil). */
.e3gm-solo-escritorio {
  display: none;
}

@media (min-width: 768px) {
  .e3gm-solo-escritorio {
    display: inline;
  }

  .e3gm-solo-movil {
    display: none;
  }
}

.e3gm-ico {
  display: block;
  width: 20px;
  height: 20px;
  flex: none;
}

.e3gm-search {
  position: relative;
  display: grid;
  gap: 10px;
}

.e3gm-search__label {
  font-size: var(--e3g-text-14);
  font-weight: 700;
}

.e3gm-search__form {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 58px;
  padding: 5px 5px 5px 12px;
  border: 1.5px solid var(--nxr-ink);
  border-radius: var(--e3gm-radius-sm);
  background: var(--nxr-surface);
}

.e3gm-search__form:focus-within {
  box-shadow: 0 0 0 3px var(--nxr-accent);
}

.e3gm-search__ico .e3gm-ico {
  width: 20px;
  height: 20px;
}

.e3gm-search__input {
  flex: 1;
  min-width: 0;
  height: 44px;
  border: 0;
  background: transparent;
  color: var(--nxr-ink);
  font: 400 var(--e3g-text-14)/1.5 var(--nxr-font-body);
  outline: 0;
}

.e3gm-search__input::placeholder {
  color: var(--nxr-ink);
  opacity: 1;
}

/* La «×» nativa de Chrome/Safari sale en azul, fuera de la paleta. */
.e3gm-search__input::-webkit-search-cancel-button {
  -webkit-appearance: none;
  appearance: none;
}

.e3gm-search__go {
  display: inline-flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 46px;
  border: 0;
  border-radius: 6px;
  background: var(--nxr-accent);
  color: var(--nxr-accent-contrast);
  cursor: pointer;
}

.e3gm-search__go .e3gm-ico {
  width: 22px;
  height: 22px;
}

.e3gm-search__go:disabled {
  background: var(--nxr-surface-alt);
  color: var(--nxr-ink-soft);
  cursor: not-allowed;
}

.e3gm-search__go:not(:disabled):hover,
.e3gm-search__go:focus-visible {
  background: var(--nxr-ink);
  color: #fff;
}

.e3gm-search__help,
.e3gm-search__brands {
  font-size: var(--e3g-text-14);
}

.e3gm-search__help .e3gm-link {
  font-size: var(--e3g-text-14);
  font-weight: 600;
}

.e3gm-search__brands a {
  text-decoration: none;
}

.e3gm-search__brands a:hover,
.e3gm-search__brands a:focus-visible {
  text-decoration: underline;
}

/* En móvil, «iPhone · Samsung · Xiaomi · Más ↗» */
.e3gm-search__brands a + a::before {
  content: " · ";
}

@media (min-width: 768px) {
  .e3gm-search__form {
    min-height: 60px;
    padding: 6px 6px 6px 12px;
    gap: 12px;
  }

  .e3gm-search__ico .e3gm-ico {
    width: 22px;
    height: 22px;
  }

  .e3gm-search__go {
    width: 52px;
    height: 48px;
  }
}

/* --- 4. Condiciones (qoIHY · DMmhe) --------------------------------------- */
.e3gm-cond {
  padding-block: 24px;
  background: var(--nxr-accent);
  color: var(--nxr-accent-contrast);
}

.e3gm-cond__list {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
  text-align: center;
  font-size: var(--e3g-text-14);
  font-weight: 700;
}

.e3gm-cond__list li + li {
  padding-top: 16px;
  border-top: 1px solid rgb(33 37 41 / 20%);
}

@media (min-width: 768px) {
  .e3gm-cond__list {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    font-size: var(--e3g-text-16);
  }

  .e3gm-cond__list li + li {
    padding-top: 0;
    border-top: 0;
    border-left: 1px solid rgb(33 37 41 / 20%);
  }
}

/* --- 6. Averías · reparaciones especializadas (P4Ujd · x0hnIZ) ------------- */
.e3gm-aver {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
  background: var(--nxr-surface-alt);
}

.e3gm-aver__head,
.e3gm-aver__title {
  display: grid;
  gap: 12px;
}

.e3gm-aver__grid {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

/* Móvil: miniatura de 88 px junto al título y el texto completo debajo. */
.e3gm-aver__card {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  column-gap: 14px;
  row-gap: 12px;
  padding: 14px;
  border-radius: var(--e3gm-radius);
  background: var(--nxr-surface);
}

.e3gm-aver__img {
  grid-row: 1;
  width: 88px;
  height: 88px !important;
  border-radius: 12px;
  object-fit: cover;
}

.e3gm-aver__body {
  display: contents;
}

.e3gm-aver__h3 {
  grid-row: 1;
  grid-column: 2;
  align-self: center;
  font-size: var(--e3gm-h3);
  font-weight: 600;
  letter-spacing: -0.5px;
  line-height: 1.2;
}

.e3gm-aver__txt,
.e3gm-aver__det,
.e3gm-aver__cta {
  grid-column: 1 / -1;
}

.e3gm-aver__txt {
  color: var(--nxr-ink-soft);
  font-size: var(--e3g-text-16);
  line-height: 1.5;
}

.e3gm-aver__det {
  color: var(--nxr-ink-soft);
  font-size: var(--e3g-text-12);
  font-weight: 600;
}

.e3gm-aver__cta {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: var(--e3g-text-14);
  font-weight: 700;
  text-decoration: none;
}

/* En móvil el círculo lima se queda en la flecha de texto del diseño. */
.e3gm-aver__cta .e3gm-arrow {
  width: auto;
  height: auto;
  background: none;
}

.e3gm-aver__cta .e3gm-arrow .e3gm-ico {
  width: 16px;
  height: 16px;
}

.e3gm-aver__cta:hover > span:first-child,
.e3gm-aver__cta:focus-visible > span:first-child {
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (min-width: 768px) {
  .e3gm-aver {
    gap: 32px;
  }

  .e3gm-aver__head {
    grid-template-columns: minmax(0, 1fr) minmax(0, 460px);
    column-gap: 120px;
    align-items: end;
  }

  .e3gm-aver__intro {
    line-height: 1.6;
  }

  .e3gm-aver__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  /* Escritorio: foto arriba y el enlace siempre al pie, alturas iguales. */
  .e3gm-aver__card {
    display: flex;
    flex-direction: column;
    padding: 0;
    overflow: hidden;
  }

  .e3gm-aver__img {
    width: 100%;
    height: 184px !important;
    border-radius: 0;
  }

  .e3gm-aver__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 12px;
    padding: 20px 22px 22px;
  }

  /* El `align-self: center` de móvil (centrado en vertical junto a la miniatura), en una
     columna flex centra en horizontal: los títulos de una línea salían centrados y los de
     dos, a la izquierda. A la izquierda todos, como el texto y el botón. (La home lleva la
     misma regla, home.css, pero allí los cuatro caben en una línea.) */
  .e3gm-aver__h3 {
    align-self: stretch;
  }

  .e3gm-aver__txt {
    margin-top: 4px;
  }

  .e3gm-aver__cta {
    justify-content: space-between;
    margin-top: auto;
    padding-top: 8px;
  }

  .e3gm-aver__cta .e3gm-arrow {
    width: 44px;
    height: 44px;
    background: var(--nxr-accent);
  }

  .e3gm-aver__cta .e3gm-arrow .e3gm-ico {
    width: 20px;
    height: 20px;
  }
}

@media (min-width: 1200px) {
  .e3gm-aver__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  /* Menos de cuatro averías (los relojes): tantas columnas como tarjetas. */
  .e3gm-aver__grid--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .e3gm-aver__grid--2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* --- 8. Reseñas (HpoNp · JW9cx) --------------------------------------------- */
.e3gm-resenas {
  display: grid;
  /* minmax(0, …): sin él la pista de 2.000 px ensancha la columna (un hijo de
     rejilla no encoge por debajo de su contenido) y con ella toda la página. */
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
  background: var(--nxr-surface-alt);
}

.e3gm-resenas__head,
.e3gm-resenas__title {
  display: grid;
  gap: 12px;
}

.e3gm-resenas__google {
  display: grid;
  grid-template-columns: auto auto 1fr;
  align-items: center;
  column-gap: 12px;
  row-gap: 8px;
  text-decoration: none;
}

.e3gm-resenas__logo {
  order: -1;
  width: 80px;
  height: 26px;
  object-fit: contain;
}

.e3gm-resenas__nota {
  font-size: var(--e3g-text-18);
  font-weight: 700;
}

.e3gm-resenas__stars {
  color: #fbbc05;
  font-size: var(--e3g-text-18);
  font-weight: 700;
  letter-spacing: 1px;
}

.e3gm-resenas__total {
  grid-column: 1 / -1;
  color: var(--nxr-ink-soft);
  font-size: var(--e3g-text-14);
}

/* La ventana llega hasta el borde derecho de la pantalla: la última tarjeta se
   ve cortada a propósito (hay más). */
.e3gm-resenas__viewport {
  /* position: relative hace del visor el bloque contenedor de los textos
     ocultos (position: absolute) de las tarjetas; si no, escapan del recorte
     del scroll y ensanchan la página (en móvil el navegador aleja el zoom). */
  position: relative;
  min-width: 0;
  margin-right: calc((100% - 100vw) / 2);
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  cursor: grab;
}

.e3gm-resenas__viewport::-webkit-scrollbar {
  display: none;
}

.e3gm-resenas__viewport:focus-visible {
  outline: 3px solid var(--nxr-ink);
  outline-offset: 4px;
}

.e3gm-resenas__viewport.is-arrastrando {
  cursor: grabbing;
  scroll-snap-type: none;
  scroll-behavior: auto;
}

.e3gm-resenas__track {
  display: flex;
  gap: 16px;
  width: max-content;
  margin: 0;
  padding: 0 20px 0 0;
  list-style: none;
}

.e3gm-resena {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 268px;
  height: 556px;
  overflow: hidden;
  border-radius: var(--e3gm-radius);
  background: var(--nxr-surface);
  scroll-snap-align: start;
}

.e3gm-resena__foto {
  position: relative;
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  padding: 20px;
  overflow: hidden;
  color: #fff;
  isolation: isolate;
}

.e3gm-resena__img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  user-select: none;
}

.e3gm-resena__foto::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgb(0 0 0 / 7%) 0%, rgb(0 0 0 / 0%) 25%, rgb(0 0 0 / 72%) 52%, rgb(0 0 0 / 94%) 100%);
}

.e3gm-resena__nombre {
  align-self: flex-start;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--nxr-accent);
  color: var(--nxr-accent-contrast);
  font-size: var(--e3g-text-14);
  font-weight: 700;
  line-height: 1.5;
}

.e3gm-resena__exp {
  display: grid;
  gap: 12px;
}

.e3gm-resena__txt {
  display: -webkit-box;
  overflow: hidden;
  font-size: var(--e3g-text-14);
  line-height: 1.5;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
}

.e3gm-resena__txt.is-abierto {
  display: block;
  -webkit-line-clamp: unset;
}

.e3gm-resena__mas {
  justify-self: start;
  padding: 0;
  border: 0;
  background: none;
  color: #fff;
  font: 700 var(--e3g-text-14)/1.5 var(--nxr-font-body);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.e3gm-resena__mas:focus-visible {
  outline: 2px solid var(--nxr-accent);
  outline-offset: 2px;
}

.e3gm-resena__valor {
  font-size: var(--e3g-text-14);
  font-weight: 700;
}

.e3gm-resena__disp {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 56px;
  margin: 0;
  padding: 16px 20px;
  font-size: var(--e3g-text-14);
  font-weight: 600;
  text-decoration: none;
}

.e3gm-resena__disp .e3gm-ico {
  width: 18px;
  height: 18px;
}

a.e3gm-resena__disp:hover,
a.e3gm-resena__disp:focus-visible {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.e3gm-resenas__ctrl {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}

.e3gm-resenas__pos {
  flex: 1;
  font-size: var(--e3g-text-14);
  font-variant-numeric: tabular-nums;
}

.e3gm-resenas__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: var(--e3gm-radius-sm);
  background: var(--nxr-surface);
  color: var(--nxr-ink);
  cursor: pointer;
}

.e3gm-resenas__btn[hidden] {
  display: none;
}

.e3gm-resenas__btn:hover,
.e3gm-resenas__btn:focus-visible {
  background: var(--nxr-ink);
  color: #fff;
}

.e3gm-resenas__btn:disabled {
  opacity: 0.4;
  cursor: default;
}

.e3gm-resenas__todas {
  order: 9;
  flex-basis: 100%;
  font-size: var(--e3g-text-14);
}

@media (min-width: 768px) {
  .e3gm-resenas {
    gap: 32px;
  }

  .e3gm-resenas__head {
    grid-template-columns: minmax(0, 1fr) auto;
    column-gap: 80px;
    align-items: end;
  }

  .e3gm-resenas__google {
    grid-template-columns: auto auto;
    row-gap: 6px;
  }

  .e3gm-resenas__nota {
    font-size: var(--e3g-text-20);
  }

  .e3gm-resenas__logo {
    order: 0;
  }

  .e3gm-resenas__stars {
    grid-column: 1 / -1;
    font-size: var(--e3g-text-24);
    font-weight: 400;
  }

  .e3gm-resenas__track {
    gap: 20px;
  }

  .e3gm-resena {
    width: 284px;
  }

  .e3gm-resenas__ctrl {
    flex-wrap: nowrap;
    gap: 24px;
  }

  .e3gm-resenas__todas {
    order: 0;
    flex: 1;
    flex-basis: auto;
  }

  .e3gm-resenas__pos {
    flex: none;
    min-width: 84px;
    font-size: var(--e3g-text-14);
  }

  /* Escritorio: pausa, anterior, siguiente. */
  [data-e3gm-pause] { order: 1; }
  [data-e3gm-prev] { order: 2; }
  [data-e3gm-next] { order: 3; }
}

.e3gm-ico-seguir,
[aria-pressed="true"] > .e3gm-ico-pausa {
  display: none;
}

[aria-pressed="true"] > .e3gm-ico-seguir {
  display: block;
}

/* --- 11. Tienda y zonas (d9TDx · Mwggh) ------------------------------------- */
.e3gm-tienda {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 32px;
}

.e3gm-tienda__visita {
  display: grid;
  gap: 24px;
}

.e3gm-tienda__foto {
  width: 100%;
  aspect-ratio: 608 / 430;
  height: auto !important;
  border-radius: var(--e3gm-radius);
  object-fit: cover;
}

/* Móvil: antetítulo y titular antes de la foto (display: contents deja que
   los hijos de .e3gm-tienda__datos se ordenen junto a la foto). */
.e3gm-tienda__visita {
  gap: 20px;
}

.e3gm-tienda__datos {
  display: contents;
}

.e3gm-tienda__datos .e3gm-eyebrow { order: -3; }
.e3gm-tienda__datos .e3gm-h2 { order: -2; }
.e3gm-tienda__foto { order: -1; }

.e3gm-tienda__llegar {
  width: 100%;
}

.e3gm-tienda__txt {
  font-size: var(--e3g-text-16);
  line-height: 1.5;
}

.e3gm-tienda__horario {
  font-size: var(--e3g-text-16);
}

.e3gm-tienda__llegar {
  min-height: 52px;
  min-width: 220px;
}

.e3gm-tienda__recogida {
  display: grid;
  gap: 4px;
  font-size: var(--e3g-text-14);
}

.e3gm-tienda__recogida strong {
  font-size: var(--e3g-text-16);
}

.e3gm-tienda__recogida a {
  text-decoration: none;
}

.e3gm-tienda__recogida a:hover,
.e3gm-tienda__recogida a:focus-visible {
  text-decoration: underline;
}

/* Acordeón compartido por zonas y FAQ. */
.e3gm-zonas,
.e3gm-faq__lista {
  display: grid;
}

.e3gm-zona,
.e3gm-pregunta {
  border-top: 1px solid var(--nxr-line);
}

.e3gm-zona:last-child,
.e3gm-pregunta:last-child {
  border-bottom: 1px solid var(--nxr-line);
}

.e3gm-zona__sum,
.e3gm-pregunta__sum {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
  cursor: pointer;
  list-style: none;
}

.e3gm-zona__sum::-webkit-details-marker,
.e3gm-pregunta__sum::-webkit-details-marker {
  display: none;
}

.e3gm-zona__sum:focus-visible,
.e3gm-pregunta__sum:focus-visible {
  outline: 2px solid var(--nxr-ink);
  outline-offset: 2px;
}

.e3gm-zona__mas,
.e3gm-zona__menos {
  flex: none;
}

details[open] > summary .e3gm-zona__mas,
details:not([open]) > summary .e3gm-zona__menos {
  display: none;
}

@media (min-width: 768px) {
  .e3gm-tienda {
    gap: 40px;
    padding-top: 72px;
    padding-bottom: 72px;
  }

  .e3gm-tienda__visita {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 64px;
    align-items: center;
  }

  .e3gm-tienda__datos {
    display: grid;
    gap: 20px;
    justify-items: start;
  }

  .e3gm-tienda__foto { order: 0; }

  .e3gm-tienda__llegar {
    width: auto;
  }
}

/* --- 13. Preguntas frecuentes (UCal8 · RpBI5) ------------------------------- */
.e3gm-faq {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
}

.e3gm-faq__intro {
  display: grid;
  gap: 16px;
  justify-items: start;
}

.e3gm-faq__intro .e3gm-link {
  font-size: var(--e3g-text-14);
}

/* Filas de 72 px con una línea, como en el diseño (las zonas van más prietas). */
.e3gm-pregunta__sum {
  padding: 24px 0;
}

.e3gm-pregunta__h3 {
  font-size: var(--e3g-text-16);
  font-weight: 700;
  line-height: 1.5;
}

.e3gm-pregunta__resp {
  padding-bottom: 24px;
  color: var(--nxr-ink-soft);
  font-size: var(--e3g-text-16);
  line-height: 1.5;
}

.e3gm-pregunta__resp a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (min-width: 768px) {
  .e3gm-faq {
    grid-template-columns: minmax(0, 360px) minmax(0, 1fr);
    column-gap: 64px;
    align-items: start;
    padding-top: 72px;
    padding-bottom: 72px;
  }

  .e3gm-pregunta__h3 {
    font-size: var(--e3g-text-16);
  }
}

/* Sugerencias del buscador por modelo (lámina 14, F2Vspd). */
.e3gm-search__pop {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  z-index: 20;
  display: grid;
  gap: 4px;
  padding: 12px;
  border: 1px solid var(--nxr-line);
  border-radius: var(--e3gm-radius-sm);
  background: var(--nxr-surface);
  box-shadow: 0 12px 32px rgb(33 37 41 / 14%);
}

.e3gm-search__pop[hidden] {
  display: none;
}

.e3gm-search__form {
  position: relative;
}

.e3gm-search__pop-head {
  padding: 4px 8px 6px;
  color: var(--nxr-ink-soft);
  font-size: var(--e3g-text-12);
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.e3gm-search__lista {
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
}

.e3gm-search__opt {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  padding: 8px;
  border-radius: 6px;
  color: var(--nxr-ink);
  text-decoration: none;
  cursor: pointer;
}

.e3gm-search__opt + .e3gm-search__opt {
  border-top: 1px solid var(--nxr-line);
}

.e3gm-search__opt .e3gm-ico {
  width: 20px;
  height: 20px;
}

.e3gm-search__opt-name {
  flex: 1;
  font-size: var(--e3g-text-16);
  font-weight: 600;
}

.e3gm-search__opt-ver {
  color: var(--nxr-ink-soft);
  font-size: var(--e3g-text-14);
}

.e3gm-search__opt[aria-selected="true"],
.e3gm-search__opt:hover {
  background: var(--nxr-surface-alt);
}

.e3gm-search__pop-foot {
  display: grid;
  gap: 2px;
  padding: 10px 8px 4px;
  border-top: 1px solid var(--nxr-line);
  font-size: var(--e3g-text-14);
}

.e3gm-search__pop-foot a {
  font-size: var(--e3g-text-14);
  font-weight: 600;
  text-decoration: none;
}

.e3gm-search__pop-foot a:hover,
.e3gm-search__pop-foot a:focus-visible {
  text-decoration: underline;
}

@media (max-width: 767.98px) {
  .e3gm-search__opt-ver {
    display: none;
  }
}

/* =============================================================================
   Secciones propias de la landing de marca (láminas 15 y 16)
   ========================================================================== */

/* El sangrado con 100vw no debe abrir scroll lateral (la home lo hace en
   body#index; aquí, solo en las páginas que llevan .e3gm). */
body:has(.e3gm) {
  overflow-x: clip;
}

/* La misma regla sin :has(): landing-marca.js marca la página en <html>. En una
   regla aparte, nunca en la misma lista que la de :has(): un navegador que no lo
   entiende descarta la lista entera. `hidden` antes, para los que no saben `clip`. */
html.e3gm-pagina body {
  overflow-x: hidden;
  overflow-x: clip;
}

.e3gm {
  --e3gm-h1: 40px;
}

@media (min-width: 768px) {
  .e3gm {
    --e3gm-h1: 56px;
  }
}

.e3gm-btn,
.e3gm-chip,
.e3gm-guia__mas {
  -webkit-tap-highlight-color: transparent;
}

/* Cabecera de sección: título a la izquierda, entradilla a la derecha. */
.e3gm-head {
  display: grid;
  gap: 12px;
  margin-bottom: 24px;
}

.e3gm-head__title {
  display: grid;
  gap: 12px;
}

@media (min-width: 768px) {
  .e3gm-head {
    grid-template-columns: minmax(0, 1fr) minmax(0, 420px);
    align-items: end;
    column-gap: 120px;
    margin-bottom: 36px;
  }

  .e3gm-head .e3gm-h2 {
    max-width: 11em;
  }
}

/* --- Hero ------------------------------------------------------------------ */
.e3gm-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas:
    "h1"
    "lead"
    "media"
    "search"
    "proof";
  row-gap: 16px;
  /* La separación superior ya la aporta el margin-bottom de las migas. */
  padding: 0 var(--e3gm-pad) 32px;
}

.e3gm-hero__h1 { grid-area: h1; }
.e3gm-hero__lead { grid-area: lead; }
.e3gm-hero__search { grid-area: search; }
.e3gm-hero__sep { grid-area: sep; }
.e3gm-hero__proof { grid-area: proof; }

.e3gm-hero__media {
  display: grid;
  grid-area: media;
  align-self: center;
  gap: 12px;
  min-width: 0;
}

.e3gm-hero__h1 {
  font-size: var(--e3gm-h1);
  font-weight: 600;
  letter-spacing: -1.2px;
  line-height: 1.06;
  text-wrap: balance;
  max-width: 9.5em;
}

.e3gm-hero__lead {
  font-size: var(--e3g-text-16);
  line-height: 1.5;
  max-width: 44em;
}

.e3gm-hero__stage {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 350 / 190;
  max-width: 100%;
}

.e3gm-hero__orbit {
  position: absolute;
  inset: 3% 24%;
  border-radius: 50%;
  background: var(--nxr-accent);
}

.e3gm-hero__phones {
  position: relative;
  width: 92%;
  height: auto;
}

.e3gm-hero__sticker {
  position: absolute;
  top: 2%;
  right: 0;
  display: none;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border: 1.5px solid var(--nxr-line);
  border-radius: 999px;
  background: #fff;
  font-size: var(--e3g-text-14);
  font-weight: 700;
  line-height: 1.2;
}

.e3gm-hero__sticker .e3gm-ico {
  width: 16px;
  height: 16px;
}

.e3gm-hero__domicilio {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 12px;
  border-radius: var(--e3gm-radius-sm);
  background: var(--nxr-surface-alt);
  text-decoration: none;
}

.e3gm-hero__domicilio-ico .e3gm-ico {
  width: 20px;
  height: 20px;
}

.e3gm-hero__domicilio-txt {
  display: grid;
  gap: 2px;
}

.e3gm-hero__domicilio-txt strong {
  font-size: var(--e3g-text-14);
  line-height: 1.35;
}

.e3gm-hero__domicilio-txt span {
  color: var(--nxr-ink-soft);
  font-size: var(--e3g-text-12);
}

.e3gm-hero__domicilio:hover strong,
.e3gm-hero__domicilio:focus-visible strong {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Buscador: el de la home (portado arriba) con una sola pestaña. */
.e3gm-hero__search {
  position: relative;
  display: grid;
  gap: 10px;
}

.e3gm-search__brands {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 14px;
  margin: 0;
  font-size: var(--e3g-text-14);
}

.e3gm-search__brands a {
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.e3gm-search__brands a + a::before {
  content: none;
}

.e3gm-search__brands-lbl {
  display: none;
  color: var(--nxr-ink-soft);
}

.e3gm-search__todos {
  display: none;
}

.e3gm-search__help {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: var(--e3g-text-14);
  line-height: 1.4;
}

.e3gm-search__help .e3gm-ico {
  width: 16px;
  height: 16px;
  margin-top: 1px;
}

.e3gm-hero__sep {
  display: none;
  margin: 0;
  border: 0;
  border-top: 1px solid var(--nxr-line);
  opacity: 1;
}

.e3gm-hero__proof {
  display: flex;
  align-items: center;
}

.e3gm-hero__google {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: var(--e3g-text-14);
  text-decoration: none;
}

.e3gm-hero__g {
  width: 20px;
  height: 20px;
}

.e3gm-hero__stars {
  color: #fbbc05;
  font-size: var(--e3g-text-16);
  font-weight: 700;
  letter-spacing: 1px;
}

.e3gm-hero__contacto {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.e3gm-hero__contacto a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
  padding: 12px;
  border: 0;
  border-radius: var(--e3gm-radius-sm);
  font-size: var(--e3g-text-16);
  font-weight: 700;
  line-height: 1.3;
  text-decoration: none;
}

.e3gm-hero__wa {
  background: var(--nxr-accent);
  color: var(--nxr-accent-contrast);
}

.e3gm-hero__tel {
  background: var(--nxr-ink);
  color: var(--nxr-surface);
}

.e3gm-hero__contacto a:hover {
  background: var(--nxr-surface-alt);
  color: var(--nxr-ink);
}

.e3gm-hero__contacto a:focus-visible {
  outline: 2px solid var(--nxr-ink);
  outline-offset: 3px;
}

.e3gm-hero__contacto .e3gm-ico {
  width: 18px;
  height: 18px;
}

@media (min-width: 768px) {
  .e3gm-hero {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    grid-template-areas:
      "h1      media"
      "lead    media"
      "search  media"
      "sep     media"
      "proof   media";
    column-gap: clamp(24px, 5vw, 72px);
    row-gap: 20px;
    padding-bottom: 64px;
  }

  .e3gm-hero__h1 {
    letter-spacing: -1.8px;
    line-height: 1.05;
  }

  .e3gm-hero__lead {
    font-size: var(--e3g-text-18);
    line-height: 1.55;
  }

  .e3gm-hero__stage {
    aspect-ratio: 540 / 380;
  }

  .e3gm-hero__orbit {
    inset: 3% 14% 3% 15%;
  }

  .e3gm-hero__phones {
    width: 96%;
  }

  .e3gm-hero__sticker {
    display: inline-flex;
  }

  .e3gm-hero__search {
    gap: 12px;
    padding-top: 8px;
  }

  .e3gm-search__brands {
    gap: 6px 16px;
  }

  .e3gm-search__brands-lbl,
  .e3gm-search__todos {
    display: inline;
  }

  .e3gm-search__todos {
    font-weight: 700;
    text-decoration: none !important;
  }

  .e3gm-search__help {
    gap: 10px;
    font-size: var(--e3g-text-14);
  }

  .e3gm-search__help .e3gm-ico {
    width: 18px;
    height: 18px;
  }

  .e3gm-hero__sep {
    display: block;
  }

  .e3gm-hero__g {
    width: 22px;
    height: 22px;
  }

  .e3gm-hero__stars {
    font-size: var(--e3g-text-18);
  }
}

/* --- Selector de modelos ---------------------------------------------------- */
.e3gm-gens {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  border-bottom: 1.5px solid var(--nxr-line);
}

.e3gm-gen {
  border-top: 1.5px solid var(--nxr-line);
  padding: 12px 0;
}

.e3gm-gen[open] {
  padding-bottom: 18px;
}

.e3gm-gen__sum {
  display: flex;
  align-items: center;
  gap: 14px;
  cursor: pointer;
  list-style: none;
}

.e3gm-gen__sum::-webkit-details-marker {
  display: none;
}

.e3gm-gen__sum:focus-visible {
  outline: 2px solid var(--nxr-ink);
  outline-offset: 2px;
}

.e3gm-gen__img {
  width: 44px;
  height: 44px;
  flex: none;
  border-radius: 8px;
  object-fit: contain;
}

.e3gm-gen__nombre {
  display: flex;
  flex: 1;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  min-width: 0;
}

.e3gm-gen__h3 {
  font-size: var(--e3g-text-18);
  font-weight: 700;
  line-height: 1.3;
}

.e3gm-gen__count {
  flex: none;
  color: var(--nxr-ink-soft);
  font-size: var(--e3g-text-14);
}

.e3gm-gen__modelos {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.e3gm-gen__modelos li[hidden] {
  display: none;
}

/* El enlace a la marca (cabecera de vertical) ocupa su propia fila: en la rejilla de móvil
   no cabe en una celda, y en escritorio cierra la lista de modelos. */
.e3gm-gen__marca {
  grid-column: 1 / -1;
  flex-basis: 100%;
}

.e3gm-gen__marca .e3gm-chip {
  justify-content: flex-start;
  gap: 4px;
  width: auto;
  padding-left: 0;
}

.e3gm-chip {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 44px;
  padding: 6px 10px;
  border: 0;
  border-radius: 999px;
  background: var(--nxr-surface-alt);
  color: var(--nxr-ink);
  font: 700 var(--e3g-text-14)/1.2 var(--nxr-font-body);
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}

.e3gm-chip:hover,
.e3gm-chip:focus-visible {
  background: var(--nxr-accent);
  color: var(--nxr-accent-contrast);
}

.e3gm-chip--mas {
  border: 1.5px solid var(--nxr-ink);
  background: #fff;
}

/* El enlace a la landing de la marca, en la cabecera de una vertical (657): sin fondo, con
   subrayado, para que no se confunda con un modelo. */
.e3gm-chip--marca {
  background: transparent;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.e3gm-gen--ayuda {
  display: grid;
  gap: 12px;
  margin: 20px 0 0;
  padding: 16px;
  border: 0;
  border-radius: var(--e3gm-radius);
  background: var(--nxr-surface-alt);
  text-decoration: none;
}

.e3gm-gen__ayuda-txt {
  display: grid;
  gap: 4px;
}

.e3gm-gen__ayuda-txt .e3gm-ico {
  width: 22px;
  height: 22px;
  margin-bottom: 4px;
}

.e3gm-gen__ayuda-txt strong {
  font-size: var(--e3g-text-16);
}

.e3gm-gen__ayuda-txt span {
  color: var(--nxr-ink-soft);
  font-size: var(--e3g-text-14);
}

.e3gm-gen__ayuda-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: var(--e3g-text-14);
  font-weight: 700;
}

.e3gm-arrow--blanca {
  width: 36px;
  height: 36px;
  background: #fff;
}

@media (min-width: 768px) {
  .e3gm-gens {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    border-bottom: 0;
  }

  .e3gm-gen,
  .e3gm-gen[open] {
    padding: 20px;
    border: 1.5px solid var(--nxr-line);
    border-radius: var(--e3gm-radius);
  }

  .e3gm-gens.is-fijo .e3gm-gen__sum {
    cursor: default;
    pointer-events: none;
  }

  .e3gm-gens.is-fijo .e3gm-zona__mas,
  .e3gm-gens.is-fijo .e3gm-zona__menos {
    display: none;
  }

  .e3gm-gen__sum {
    gap: 16px;
  }

  .e3gm-gen__img {
    width: 84px;
    height: 84px;
    border-radius: 12px;
  }

  .e3gm-gen__nombre {
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
  }

  .e3gm-gen__h3 {
    font-size: var(--e3g-text-24);
    letter-spacing: -0.4px;
    line-height: 1.2;
  }

  .e3gm-gen__modelos {
    display: flex;
    flex-wrap: wrap;
    margin-top: 16px;
  }

  .e3gm-chip {
    width: auto;
    min-height: 0;
    padding: 8px 13px;
  }

  .e3gm-gen--ayuda {
    margin: 0;
    padding: 24px;
    align-content: space-between;
  }

  .e3gm-gen__ayuda-txt {
    gap: 8px;
  }

  .e3gm-gen__ayuda-txt .e3gm-ico {
    width: 24px;
    height: 24px;
  }

  .e3gm-gen__ayuda-txt strong {
    font-size: var(--e3g-text-20);
    line-height: 1.25;
  }

  .e3gm-gen__ayuda-txt span {
    font-size: var(--e3g-text-14);
  }
}

/* Tableta (768-991): con cuatro tarjetas por fila, la foto de 84 px deja al
   nombre unos 35-80 px y «iPhone»/«Galaxy» se salían de la tarjeta (y a 768,
   del documento). La foto va encima del nombre. */
@media (min-width: 768px) and (max-width: 991.98px) {
  .e3gm-gen__sum {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
}

/* --- Averías: el pie bajo las tarjetas -------------------------------------- */
.e3gm-aver__otras {
  display: grid;
  gap: 8px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(33, 37, 41, .15);
  font-size: var(--e3g-text-14);
}

@media (min-width: 768px) {
  .e3gm-aver__otras {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-top: 32px;
    font-size: var(--e3g-text-16);
  }

  .e3gm-aver__otras .e3gm-link {
    flex: none;
  }
}

/* --- Por qué: foto, equipo y garantías -------------------------------------- */
.e3gm-porque {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 20px;
}

.e3gm-porque__texto {
  display: contents;
}

.e3gm-porque__texto > .e3gm-eyebrow { order: 1; }
.e3gm-porque__texto > .e3gm-h2 { order: 2; }
.e3gm-porque__lead { order: 3; }
.e3gm-porque__foto { order: 4; }
.e3gm-equipo { order: 5; }
.e3gm-garantias { order: 6; }

.e3gm-porque__lead {
  font-size: var(--e3g-text-16);
  line-height: 1.55;
}

.e3gm-porque__foto {
  position: relative;
  margin: 0;
  aspect-ratio: 350 / 300;
  overflow: hidden;
  border-radius: var(--e3gm-radius);
  background: var(--nxr-surface-alt);
}

.e3gm-porque__foto img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.e3gm-porque__caption {
  position: absolute;
  top: 12px;
  left: 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  max-width: calc(100% - 24px);
  padding: 8px 12px;
  border-radius: 999px;
  background: #fff;
  font-size: var(--e3g-text-12);
  font-weight: 700;
  line-height: 1.2;
}

.e3gm-porque__caption .e3gm-ico {
  width: 14px;
  height: 14px;
}

.e3gm-equipo {
  display: grid;
  gap: 12px;
  padding: 4px 0;
}

.e3gm-equipo__lista {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.e3gm-equipo__persona {
  display: grid;
  justify-items: center;
  gap: 6px;
  min-width: 0;
  text-align: center;
}

/* Los retratos de «Quiénes somos» vienen cerradísimos en la cara: se alejan
   ×1,5 sobre su mismo azul de estudio, con los bordes del retrato fundidos. */
.e3gm-equipo__retrato {
  position: relative;
  display: block;
  width: 60px;
  height: 60px;
  overflow: hidden;
  border-radius: 50%;
  background: #021527;
}

.e3gm-equipo__retrato img {
  position: absolute;
  top: 15%;
  left: 50%;
  width: auto;
  max-width: none;
  height: 100%;
  transform: translateX(-50%);
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 14%, #000 86%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0, #000 14%, #000 86%, transparent 100%);
}

.e3gm-equipo__nombre {
  font-size: var(--e3g-text-14);
  font-weight: 700;
  line-height: 1.3;
}

.e3gm-equipo__papel {
  margin-top: -6px;
  color: var(--nxr-ink-soft);
  font-size: var(--e3g-text-12);
  line-height: 1.3;
}

.e3gm-garantias {
  margin: 0;
  padding: 0;
  list-style: none;
}

.e3gm-garantia {
  display: flex;
  gap: 16px;
  padding: 20px 0;
  border-top: 1.5px solid var(--nxr-line);
}

.e3gm-garantia__ico {
  display: inline-flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--nxr-accent);
  color: var(--nxr-accent-contrast);
}

.e3gm-garantia__ico .e3gm-ico {
  width: 20px;
  height: 20px;
}

.e3gm-garantia__txt {
  display: grid;
  gap: 4px;
}

.e3gm-garantia__h3 {
  font-size: var(--e3g-text-18);
  font-weight: 700;
  line-height: 1.3;
}

.e3gm-garantia__txt p {
  color: var(--nxr-ink-soft);
  font-size: var(--e3g-text-16);
  line-height: 1.5;
}

@media (min-width: 768px) {
  .e3gm-porque {
    padding-top: 88px;
    padding-bottom: 88px;
  }

  /* Una columna hasta 1199 (las dos van en el bloque de 1200): la foto, más
     apaisada que en móvil para que no ocupe la pantalla entera. */
  .e3gm-porque__foto {
    aspect-ratio: 3 / 2;
  }

  .e3gm-porque__caption {
    top: 20px;
    left: 20px;
    gap: 8px;
    padding: 10px 14px;
    font-size: var(--e3g-text-14);
  }

  .e3gm-porque__caption .e3gm-ico {
    width: 16px;
    height: 16px;
  }

  .e3gm-porque__lead {
    font-size: var(--e3g-text-18);
    line-height: 1.6;
  }

  .e3gm-equipo {
    gap: 14px;
    padding: 8px 0 12px;
  }

  .e3gm-equipo__lista {
    display: flex;
    gap: 24px;
  }

  .e3gm-equipo__retrato {
    width: 84px;
    height: 84px;
  }

  .e3gm-equipo__nombre {
    font-size: var(--e3g-text-14);
  }

  .e3gm-equipo__papel {
    font-size: var(--e3g-text-12);
  }

  .e3gm-garantia {
    gap: 24px;
    padding: 28px 0;
  }

  .e3gm-garantia__ico {
    width: 52px;
    height: 52px;
  }

  .e3gm-garantia__ico .e3gm-ico {
    width: 24px;
    height: 24px;
  }

  .e3gm-garantia__h3 {
    font-size: var(--e3g-text-24);
    letter-spacing: -0.3px;
    line-height: 1.25;
  }

  .e3gm-garantia__txt {
    gap: 6px;
  }

  .e3gm-garantia__txt p {
    font-size: var(--e3g-text-16);
    line-height: 1.6;
  }
}

/* Dos columnas (foto | texto) solo desde 1200. Desde 768 la columna del texto
   se quedaba en menos de 520 px y la fila de los cinco retratos del equipo
   (516 px) se salía por la derecha: el texto salía cortado entre 768 y ~1127 px
   y el documento se ensanchaba. */
@media (min-width: 1200px) {
  .e3gm-porque {
    grid-template-columns: minmax(0, 520px) minmax(0, 1fr);
    column-gap: 80px;
    align-items: stretch;
  }

  .e3gm-porque__texto {
    display: grid;
    align-content: start;
    gap: 20px;
  }

  .e3gm-porque__foto {
    order: 0;
    aspect-ratio: auto;
    min-height: 100%;
  }
}

/* --- Tienda: sobre plata (en la home va sobre blanco) ----------------------- */
.e3gm-tienda {
  background: var(--nxr-surface-alt);
}

/* --- Guía: índice y texto de la categoría ---------------------------------- */
.e3gm-guia {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
}

.e3gm-guia__nav {
  display: grid;
  align-content: start;
  gap: 16px;
}

.e3gm-guia__h2 {
  font-size: var(--e3g-text-24);
  font-weight: 600;
  letter-spacing: -0.5px;
  line-height: 1.2;
}

.e3gm-guia__indice {
  margin: 0;
  padding: 0;
  list-style: none;
}

.e3gm-guia__indice li {
  border-top: 1.5px solid var(--nxr-line);
}

.e3gm-guia__indice a {
  display: flex;
  gap: 12px;
  padding: 12px 0;
  color: var(--nxr-ink-soft);
  font-size: var(--e3g-text-14);
  line-height: 1.4;
  text-decoration: none;
}

.e3gm-guia__indice a:hover,
.e3gm-guia__indice a:focus-visible {
  color: var(--nxr-ink);
}

.e3gm-guia__num {
  flex: none;
  font-weight: 700;
}

.e3gm-guia__texto {
  position: relative;
  max-width: 760px;
}

.e3gm-guia__texto :where(h3) {
  margin: 32px 0 16px;
  font-size: var(--e3g-text-24);
  font-weight: 600;
  letter-spacing: -0.4px;
  line-height: 1.25;
  scroll-margin-top: var(--e3gm-guia-offset, 24px);
}

.e3gm-guia__texto :where(h4) {
  margin: 24px 0 12px;
  font-size: var(--e3g-text-20);
  font-weight: 600;
  line-height: 1.3;
  scroll-margin-top: var(--e3gm-guia-offset, 24px);
}

.e3gm-guia__texto > :first-child {
  margin-top: 0;
}

.e3gm-guia__texto :where(p, li) {
  font-size: var(--e3g-text-16);
  line-height: 1.65;
}

.e3gm-guia__texto :where(p, ul, ol) {
  margin: 0 0 16px;
}

.e3gm-guia__texto :where(a) {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.e3gm-guia__texto.is-plegada {
  max-height: 520px;
  overflow: hidden;
}

.e3gm-guia__texto.is-plegada::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 140px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0), #fff);
}

.e3gm-guia__mas {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 48px;
  margin-top: 16px;
  padding: 0 22px;
  border: 1.5px solid var(--nxr-ink);
  border-radius: var(--e3gm-radius-sm);
  background: #fff;
  color: var(--nxr-ink);
  font: 700 var(--e3g-text-16)/1.2 var(--nxr-font-body);
  cursor: pointer;
}

.e3gm-guia__mas[hidden] {
  display: none;
}

.e3gm-guia__mas .e3gm-ico {
  width: 18px;
  height: 18px;
}

@media (min-width: 768px) {
  .e3gm-guia {
    grid-template-columns: minmax(0, 340px) minmax(0, 1fr);
    column-gap: 96px;
    padding-top: 96px;
    padding-bottom: 96px;
  }

  .e3gm-guia__nav {
    position: sticky;
    top: var(--e3gm-guia-offset, 24px);
    align-self: start;
    gap: 20px;
  }

  .e3gm-guia__h2 {
    font-size: var(--e3g-text-24);
    letter-spacing: -0.6px;
  }

  .e3gm-guia__indice a {
    gap: 14px;
    padding: 14px 0;
    font-size: var(--e3g-text-16);
  }

  .e3gm-guia__texto :where(h3) {
    margin-top: 40px;
    font-size: var(--e3g-text-32);
    letter-spacing: -0.8px;
    line-height: 1.2;
  }

  .e3gm-guia__texto :where(h4) {
    font-size: var(--e3g-text-24);
  }

  .e3gm-guia__texto :where(p, li) {
    font-size: var(--e3g-text-18);
    line-height: 1.7;
  }

  .e3gm-guia__mas {
    width: auto;
  }
}
