@font-face {
  font-family: "Helvetica Neue LT Std";
  src: url("/assets/fonts/hn-55-roman.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Helvetica Neue LT Std";
  src: url("/assets/fonts/hn-75-bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Helvetica Neue LT Std";
  src: url("/assets/fonts/hn-35-thin.woff2") format("woff2");
  font-weight: 200;
  font-style: normal;
  font-display: swap;
}

/* ==========================================================================
   Atlas — sistema de diseño
   Basado en el diseño final ATL_Web (WOLO Labs).
   Paleta: amarillo #F9B606 · tinta #1D1D1D · papel #F1F1F1 · rojo #CD3F21
   Tipografía: Helvetica Neue LT Std (35 Thin / 55 Roman / 75 Bold) para el
   cuerpo, entregada por el estudio. Los titulares display van como SVG
   vectorizados desde Brillante (ver assets/titulos/).
   ========================================================================== */

:root {
  --yellow: #f9b606;
  --yellow-deep: #e2a204;
  --yellow-soft: #fdd45e;
  --ink: #1d1d1d;
  --ink-deep: #141414;
  --ink-soft: #2a2a2a;
  --paper: #f1f1f1;
  --paper-2: #e4e4e4;
  --white: #ffffff;
  --red: #cd3f21;

  --text: #1e1e1e;
  --text-muted: #5c5c5c;
  --text-on-dark: #f2f2f2;
  --text-on-dark-muted: #a8a8a8;

  --line: rgba(29, 29, 29, 0.16);
  --line-on-dark: rgba(242, 242, 242, 0.18);

  /* Tipografías del diseño. Mientras no estén los archivos en assets/fonts/
     cada pila cae en su sustituto de Google Fonts (ver assets/fonts/README.md).
       --font-display      → Brillante Var: titulares, antetítulos y botones
       --font-text         → NHG Text Pro 55/75: cuerpo, enlaces y etiquetas
       --font-display-sans → NHG Display Pro 35 XLight: los números gigantes */
  --font-display: "Brillante Var", "Playfair Display", "Times New Roman", Georgia, serif;
  --font-text: "Helvetica Neue LT Std", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-display-sans: "Helvetica Neue LT Std", "Helvetica Neue", Helvetica, Arial, sans-serif;

  --wrap: 1400px;
  --gutter: clamp(1.25rem, 4vw, 4.5rem);
  --band-y: clamp(4.5rem, 9vw, 9.5rem);
  --radius: 18px;
  --topbar-h: clamp(52px, 4.19vw, 80px);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--topbar-h) + 1rem);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--font-text);
  font-size: 1rem;
  line-height: 1.6;
  font-feature-settings: "kern" 1;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
}

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

/* --------------------------------------------------------------------------
   Layout
   -------------------------------------------------------------------------- */

.wrap,
.container {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.band {
  position: relative;
  padding-block: var(--band-y);
  overflow: hidden;
}

.band--paper {
  background: var(--paper);
}
.band--paper-2 {
  background: var(--paper-2);
}
.band--ink {
  background: var(--ink);
  color: var(--text-on-dark);
}
.band--yellow {
  background: var(--yellow);
}
.band--fade-yellow {
  background: linear-gradient(180deg, var(--paper-2) 0%, #efe4c4 45%, var(--yellow) 100%);
}
.band--fade-yellow-up {
  background: linear-gradient(180deg, var(--yellow) 0%, #f5d98a 55%, var(--paper-2) 100%);
}
.band--tight {
  padding-block: clamp(3rem, 6vw, 6rem);
}

/* --------------------------------------------------------------------------
   Tipografía
   -------------------------------------------------------------------------- */

.display,
h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 900;
  line-height: 0.98;
  letter-spacing: -0.015em;
  margin: 0;
  text-wrap: balance;
}

.display--xl {
  font-size: clamp(2.4rem, 6.25vw, 7.5rem);
}
.display--lg {
  font-size: clamp(2.2rem, 5.4vw, 4.6rem);
}
.display--md {
  font-size: clamp(1.75rem, 3.4vw, 3rem);
}
.display--sm {
  font-size: clamp(1.35rem, 2.2vw, 2rem);
  line-height: 1.05;
}
.display--light {
  font-weight: 500;
  letter-spacing: 0;
}
.display--yellow {
  color: var(--yellow);
}

.eyebrow {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(0.72rem, 1vw, 0.86rem);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin: 0 0 clamp(1.25rem, 2.5vw, 2.25rem);
}

.eyebrow--center {
  text-align: center;
}

.overline {
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 600;
  margin: 0;
}

.lede {
  font-size: clamp(1rem, 1.25vw, 1.125rem);
  line-height: 1.55;
  max-width: 60ch;
  margin: 0;
}

.body-copy {
  max-width: 62ch;
  margin: 0;
  color: inherit;
}

.body-copy + .body-copy {
  margin-top: 1.1rem;
}

.muted {
  color: var(--text-muted);
}
.band--ink .muted {
  color: var(--text-on-dark-muted);
}

/* --------------------------------------------------------------------------
   Botones
   -------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  padding: 0.72rem 1.6rem;
  border-radius: 999px;
  border: 1.5px solid var(--ink);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  transition: background-color 0.22s ease, color 0.22s ease, border-color 0.22s ease,
    transform 0.22s ease;
  white-space: nowrap;
}

.btn:hover {
  background: var(--ink);
  color: var(--paper);
  transform: translateY(-2px);
}

.btn--solid {
  background: var(--yellow);
  border-color: var(--yellow);
  color: var(--ink);
}
.btn--solid:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--yellow);
}

.btn--ink {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}
.btn--ink:hover {
  background: transparent;
  color: var(--ink);
}

.btn--light {
  border-color: rgba(242, 242, 242, 0.6);
  color: var(--text-on-dark);
}
.btn--light:hover {
  background: var(--paper);
  color: var(--ink);
  border-color: var(--paper);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* --------------------------------------------------------------------------
   Marca / logo
   -------------------------------------------------------------------------- */

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}

.brand-mark {
  width: 26px;
  height: 26px;
  flex: none;
}

.brand-name {
  font-family: var(--font-text);
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

/* --------------------------------------------------------------------------
   Topbar
   -------------------------------------------------------------------------- */

.topbar {
  position: fixed;
  top: clamp(0.6rem, 2.08vw, 2.5rem);
  left: clamp(0.6rem, 4.34vw, 5.2rem);
  right: clamp(0.6rem, 4.34vw, 5.2rem);
  z-index: 60;
  background: var(--yellow);
  color: var(--ink);
}

.topbar .wrap {
  max-width: none;
  padding-inline: clamp(0.9rem, 1.5vw, 1.8rem);
}

.topbar__inner {
  min-height: var(--topbar-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.topbar__nav {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.2vw, 2.25rem);
}

.topbar__nav a {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding-block: 0.35rem;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s ease, font-weight 0.2s ease;
}

.topbar__nav a:hover {
  border-bottom-color: var(--ink);
}

.topbar__nav a[aria-current="page"] {
  font-weight: 800;
}

.nav-toggle {
  display: none;
  border: 1.5px solid var(--ink);
  background: transparent;
  border-radius: 999px;
  padding: 0.4rem 0.9rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
}

@media (max-width: 860px) {
  .nav-toggle {
    display: inline-block;
  }

  .topbar__nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: var(--yellow);
    padding: 0 var(--gutter) 1rem;
    border-top: 1px solid rgba(29, 29, 29, 0.2);
    display: none;
  }

  .topbar__nav.is-open {
    display: flex;
  }

  .topbar__nav a {
    width: 100%;
    padding-block: 0.85rem;
    border-bottom: 1px solid rgba(29, 29, 29, 0.15);
    font-size: 0.85rem;
  }
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero {
  padding-top: clamp(3rem, 6vw, 6rem);
  padding-bottom: clamp(2.5rem, 5vw, 5rem);
  background: var(--paper);
}

.hero__title {
  text-align: center;
  margin-bottom: clamp(2rem, 4vw, 3.5rem);
}

.hero__media {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--ink);
  aspect-ratio: 16 / 7.5;
  display: grid;
  place-items: center;
  isolation: isolate;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}


.hero__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* WCAG 2.2.2: todo movimiento automático de más de 5 s necesita una forma de
   pausarlo. También sirve a quien pide menos movimiento en el sistema. */
.hero__video-toggle {
  position: absolute;
  z-index: 2;
  right: clamp(0.7rem, 1.4vw, 1.15rem);
  bottom: clamp(0.7rem, 1.4vw, 1.15rem);
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 999px;
  background: rgba(20, 20, 20, 0.55);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  color: var(--white);
  cursor: pointer;
  opacity: 0.75;
  transition: opacity 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.hero__video-toggle:hover,
.hero__video-toggle:focus-visible {
  opacity: 1;
  background: var(--yellow);
  border-color: var(--yellow);
  color: var(--ink);
}

.hero__video-toggle svg {
  width: 15px;
  height: 15px;
  fill: currentColor;
}

/* El estado lo marca la clase del botón: `display` explícito en cada grupo.
   No se usa el atributo hidden porque <g> es SVGElement y no expone .hidden. */
.hero__video-toggle [data-icon] {
  display: none;
}

.hero__video-toggle [data-icon="pause"],
.hero__video-toggle.is-paused [data-icon="play"] {
  display: block;
}

.hero__video-toggle.is-paused [data-icon="pause"] {
  display: none;
}


.hero__foot {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: clamp(1.5rem, 4vw, 4rem);
  margin-top: clamp(1.75rem, 3vw, 2.75rem);
}

.hero__foot .btn-row {
  flex-direction: column;
  align-items: stretch;
}

@media (max-width: 760px) {
  .hero__foot {
    grid-template-columns: 1fr;
  }
  .hero__foot .btn-row {
    flex-direction: row;
  }
}

/* --------------------------------------------------------------------------
   Hero con medio a pantalla completa
   El diseño reserva la primera pantalla entera (1920x1080) para el video y
   superpone el contenido: titular al 18,4 % de la altura, párrafo y botones
   apoyados abajo (terminan al 93,4 %), márgenes laterales del 6 %.
   -------------------------------------------------------------------------- */

.hero--overlay {
  position: relative;
  display: grid;
  min-height: max(600px, 100svh);
  padding: 0;
  overflow: hidden;
  isolation: isolate;
  background: var(--ink);
}

.hero--overlay .hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero--overlay .hero__bg > * {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Velo oscuro: en el diseño final el titular del hero es #e4e4e4, es decir,
   texto claro sobre el medio. Calculado sobre los fotogramas reales para que el
   texto blanco mantenga 4,5:1 incluso en el plano más luminoso del bucle. */
.hero--overlay .hero__scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(12, 12, 12, 0.62) 0%,
    rgba(12, 12, 12, 0.52) 34%,
    rgba(12, 12, 12, 0.24) 50%,
    rgba(12, 12, 12, 0.3) 62%,
    rgba(12, 12, 12, 0.62) 80%,
    rgba(12, 12, 12, 0.72) 100%
  );
}

.hero--overlay .hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-rows: auto 1fr auto;
  width: 100%;
  padding-inline: clamp(1.25rem, 6vw, 7.2rem);
  padding-top: calc(
    clamp(0.6rem, 2.08vw, 2.5rem) + var(--topbar-h) + clamp(1rem, 6.1vh, 4.1rem)
  );
  padding-bottom: clamp(1.5rem, 6.5vh, 4.5rem);
}

.hero--overlay .hero__title {
  margin: 0;
}

/* El control queda en la fila intermedia, que en el diseño está vacía: así no
   puede solaparse con el titular, el párrafo ni los botones. */
.hero--overlay .hero__video-toggle {
  position: static;
  grid-row: 2;
  justify-self: end;
  align-self: center;
}

.hero--overlay .hero__foot {
  grid-row: 3;
  margin-top: 0;
}


.hero--overlay .hero__inner {
  color: var(--text-on-dark);
}

.hero--overlay .hero__title img {
  width: 100%;
  height: auto;
}

.hero--overlay .hero__title--split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  gap: clamp(1rem, 4vw, 5rem);
}

.hero--overlay .hero__title--split img:last-child {
  justify-self: end;
  margin-top: clamp(1rem, 6vw, 7rem);
}

.hero--overlay .btn {
  border-color: rgba(242, 242, 242, 0.75);
  color: var(--text-on-dark);
}

.hero--overlay .btn:hover {
  background: var(--paper);
  border-color: var(--paper);
  color: var(--ink);
}

.hero--overlay .btn--ink {
  background: var(--paper);
  border-color: var(--paper);
  color: var(--ink);
}

.hero--overlay .btn--ink:hover {
  background: transparent;
  color: var(--text-on-dark);
  border-color: rgba(242, 242, 242, 0.75);
}

/* Hero de Sobre nosotros: sin párrafo, sólo los dos botones en los extremos */
.hero--overlay .hero__foot--split {
  grid-template-columns: auto auto;
  justify-content: space-between;
  align-items: end;
}

/* --------------------------------------------------------------------------
   Sección producto (¿Qué es Atlas?)
   -------------------------------------------------------------------------- */

.showcase {
  position: relative;
  text-align: center;
}

.showcase__stage {
  position: relative;
  margin-top: clamp(1rem, 3vw, 2rem);
}

.showcase__stage img.showcase__hero-img {
  width: min(84%, 980px);
  margin-inline: auto;
  filter: drop-shadow(0 40px 60px rgba(29, 29, 29, 0.35));
}

.float-mini {
  position: absolute;
  width: clamp(52px, 7vw, 108px);
  filter: drop-shadow(0 18px 24px rgba(29, 29, 29, 0.35));
  pointer-events: none;
}

.float-mini--tl {
  top: 2%;
  left: 4%;
}
.float-mini--tr {
  top: -4%;
  right: 8%;
}
.float-mini--br {
  bottom: 6%;
  right: 2%;
}

.showcase__note {
  margin: clamp(1.5rem, 3vw, 2.5rem) 0 0;
  max-width: 42ch;
  font-weight: 700;
  font-size: clamp(0.95rem, 1.2vw, 1.05rem);
  line-height: 1.45;
  text-align: left;
}

/* --------------------------------------------------------------------------
   Pasos (cómo funciona)
   -------------------------------------------------------------------------- */

.steps-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: clamp(2rem, 4vw, 3.5rem);
}

.tag-pill {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  border: 1.5px solid currentColor;
  border-radius: 999px;
  padding: 0.6rem 1.4rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.82rem;
  line-height: 1.25;
  text-align: center;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(0.75rem, 1.5vw, 1.25rem);
}

.step {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: clamp(360px, 34vw, 460px);
  padding: clamp(1.25rem, 2vw, 1.75rem);
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--white) 0%, #fdf3d8 55%, var(--yellow) 100%);
  color: var(--ink);
  overflow: hidden;
}

.step__num {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 500;
  line-height: 1;
}

.step__title {
  font-family: var(--font-text);
  font-weight: 800;
  font-size: clamp(1.35rem, 2vw, 1.9rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0.9rem 0 0;
}

.step__text {
  margin: auto 0 0;
  font-size: 0.9rem;
  line-height: 1.45;
  max-width: 30ch;
}

@media (max-width: 980px) {
  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .steps {
    grid-template-columns: 1fr;
  }
  .step {
    min-height: 280px;
  }
}

/* --------------------------------------------------------------------------
   Tecnología (iconos de nodos)
   -------------------------------------------------------------------------- */

.tech-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(2rem, 4vw, 3.5rem);
  margin-top: clamp(2.5rem, 5vw, 4.5rem);
  text-align: center;
}

.tech-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.35rem;
}

.tech-item:nth-child(even) {
  margin-top: clamp(1.5rem, 4vw, 4rem);
}

.tech-item svg {
  width: clamp(84px, 8vw, 116px);
  height: auto;
}

.tech-item h3 {
  font-family: var(--font-text);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0;
  margin: 0;
}

.tech-item p {
  margin: 0.45rem 0 0;
  font-size: 0.85rem;
  line-height: 1.45;
  max-width: 26ch;
  color: var(--text-on-dark-muted);
}

@media (max-width: 860px) {
  .tech-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .tech-item:nth-child(even) {
    margin-top: 0;
  }
}

/* --------------------------------------------------------------------------
   Caja / contenido
   -------------------------------------------------------------------------- */

.box-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1.5rem, 3vw, 3rem);
  margin-top: clamp(2.5rem, 5vw, 4rem);
  align-items: end;
}

.box-item {
  text-align: center;
}

.box-item--wide {
  grid-column: span 2;
}

.box-item__img {
  display: grid;
  place-items: center;
  min-height: clamp(120px, 14vw, 200px);
}

.box-item__img img {
  max-height: clamp(120px, 15vw, 220px);
  width: auto;
  margin-inline: auto;
  filter: drop-shadow(0 18px 26px rgba(29, 29, 29, 0.22));
}

.box-item--wide .box-item__img img {
  max-height: clamp(160px, 22vw, 320px);
}

.box-item__label {
  margin: 1rem 0 0;
  font-size: 0.85rem;
  font-weight: 500;
}

.box-item__placeholder {
  display: grid;
  place-items: center;
  width: clamp(96px, 10vw, 132px);
  aspect-ratio: 3 / 4;
  margin-inline: auto;
  border: 1.5px solid rgba(29, 29, 29, 0.35);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.55);
}

.box-item__placeholder img {
  width: 46%;
}

@media (max-width: 900px) {
  .box-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .box-item--wide {
    grid-column: span 2;
  }
}

/* --------------------------------------------------------------------------
   FAQ
   -------------------------------------------------------------------------- */

.faq {
  max-width: 900px;
  margin-inline: auto;
}

.faq details {
  border-bottom: 1px solid rgba(29, 29, 29, 0.45);
}

.faq details:first-of-type {
  border-top: 1px solid rgba(29, 29, 29, 0.45);
}

.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.05rem 0.25rem;
  font-size: clamp(0.98rem, 1.3vw, 1.1rem);
  font-weight: 500;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  font-family: var(--font-text);
  font-size: 1.25rem;
  font-weight: 400;
  line-height: 1;
  transition: transform 0.25s ease;
}

.faq details[open] summary::after {
  content: "–";
}

.faq details[open] summary {
  font-weight: 700;
}

.faq__answer {
  padding: 0 0.25rem 1.35rem;
  max-width: 68ch;
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
}

.faq__answer + .faq__answer {
  margin-top: -0.6rem;
}

/* --------------------------------------------------------------------------
   Banda CTA con foto
   -------------------------------------------------------------------------- */

.cta-band {
  position: relative;
  min-height: clamp(420px, 52vw, 660px);
  display: grid;
  place-items: center;
  text-align: center;
  color: var(--white);
  padding-block: clamp(4rem, 8vw, 7rem);
  overflow: hidden;
}

.cta-band__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cta-band::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 10, 10, 0.55), rgba(10, 10, 10, 0.72));
}

.cta-band__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(1.25rem, 2.5vw, 2rem);
}

.cta-band h2 {
  max-width: 16ch;
}

/* --------------------------------------------------------------------------
   Plataforma (esfera)
   -------------------------------------------------------------------------- */

.orbit {
  position: relative;
  display: grid;
  place-items: center;
  text-align: center;
  padding-block: clamp(1rem, 3vw, 2rem);
}

.orbit__sphere {
  width: min(46%, 380px);
  margin-block: clamp(-1.5rem, -2vw, -0.5rem);
  position: relative;
  z-index: 1;
}

.orbit__word {
  position: relative;
  z-index: 2;
  font-size: clamp(2.6rem, 8vw, 6.5rem);
  color: var(--yellow);
}

.orbit__labels {
  position: absolute;
  inset: 0;
  display: none;
  pointer-events: none;
}

.orbit__labels span {
  position: absolute;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(0.62rem, 0.78vw, 0.78rem);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--text-on-dark);
}

.orbit__labels span::before {
  content: "+";
  margin-right: 0.5rem;
  color: var(--yellow);
}

@media (min-width: 1000px) {
  .orbit__labels {
    display: block;
  }
  .orbit__labels span:nth-child(1) {
    top: 40%;
    left: 14%;
  }
  .orbit__labels span:nth-child(2) {
    top: 33%;
    left: 6%;
  }
  .orbit__labels span:nth-child(3) {
    top: 52%;
    left: 11%;
  }
  .orbit__labels span:nth-child(4) {
    top: 36%;
    right: 12%;
  }
  .orbit__labels span:nth-child(5) {
    top: 46%;
    right: 4%;
  }
  .orbit__labels span:nth-child(6) {
    top: 58%;
    right: 14%;
  }
}

.orbit__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.55rem;
  margin: clamp(1.75rem, 3vw, 2.5rem) auto 0;
  max-width: 780px;
  padding: 0;
  list-style: none;
}

.orbit__list li {
  border: 1px solid var(--line-on-dark);
  border-radius: 999px;
  padding: 0.4rem 0.95rem;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

@media (min-width: 1000px) {
  .orbit__list {
    display: none;
  }
}

/* --------------------------------------------------------------------------
   Marquesina
   -------------------------------------------------------------------------- */

.marquee {
  background: var(--ink-deep);
  color: var(--text-on-dark);
  border-block: 1px solid var(--line-on-dark);
  overflow: hidden;
  padding-block: 0.85rem;
}

.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee 46s linear infinite;
}

.marquee__track span {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  padding-inline: 1.5rem;
  white-space: nowrap;
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .marquee__track {
    animation: none;
  }
}

/* --------------------------------------------------------------------------
   App
   -------------------------------------------------------------------------- */

.app-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.app-map {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  margin-top: clamp(2rem, 4vw, 3.5rem);
}

.app-map__icon {
  width: 74px;
  height: 74px;
  display: grid;
  place-items: center;
  background: var(--red);
  border-radius: 16px;
}

.app-map__icon img {
  width: 55%;
}

.app-map__line {
  width: 1px;
  height: 26px;
  background: var(--line-on-dark);
}

.app-map__node {
  border: 1px solid var(--line-on-dark);
  border-radius: 999px;
  padding: 0.4rem 1.1rem;
  font-size: 0.78rem;
  letter-spacing: 0.02em;
}

.app-map__pair {
  display: flex;
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: center;
}

.app-media {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--paper-2);
}

.app-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 900px) {
  .app-split {
    grid-template-columns: 1fr;
  }
}

/* --------------------------------------------------------------------------
   Ecosistema creativo (carrusel)
   -------------------------------------------------------------------------- */

.creative {
  border: 3px solid var(--yellow);
  border-radius: var(--radius);
  background: var(--paper-2);
  padding: clamp(1.5rem, 3vw, 3rem);
}

.creative__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 1.5rem;
  align-items: start;
}

.creative__head h2 {
  text-align: right;
  color: var(--yellow-deep);
}

.rail {
  display: flex;
  gap: 1rem;
  margin-top: clamp(2rem, 4vw, 3.5rem);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 1rem;
  scrollbar-width: thin;
}

.rail figure {
  flex: 0 0 clamp(220px, 26vw, 340px);
  margin: 0;
  scroll-snap-align: start;
}

.rail img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 12px;
}

.rail figcaption {
  margin-top: 0.6rem;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
}

.creative__tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  margin: clamp(1.5rem, 3vw, 2.5rem) 0 0;
  padding: 0;
  list-style: none;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
}

@media (max-width: 800px) {
  .creative__head {
    grid-template-columns: 1fr;
  }
  .creative__head h2 {
    text-align: left;
  }
}

/* --------------------------------------------------------------------------
   Split editorial (historia / misión / wolo labs)
   -------------------------------------------------------------------------- */

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

.split--reverse {
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
}

.split__media img {
  width: 100%;
  border-radius: var(--radius);
  object-fit: cover;
  aspect-ratio: 4 / 3;
}

.split__copy > * + * {
  margin-top: 1.1rem;
}

.split__copy h2 {
  margin-bottom: 1.4rem;
}

.split__copy strong {
  font-weight: 700;
}

@media (max-width: 880px) {
  .split,
  .split--reverse {
    grid-template-columns: 1fr;
  }
  .split--reverse .split__media {
    order: -1;
  }
}

/* --------------------------------------------------------------------------
   Principios (tarjetas numeradas)
   -------------------------------------------------------------------------- */

.principles {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.75rem);
  margin-top: clamp(2.5rem, 5vw, 4rem);
}

.principle {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: clamp(320px, 30vw, 400px);
  padding: clamp(1.25rem, 2vw, 1.75rem);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--yellow);
  color: var(--ink);
}

.principle:nth-child(even) {
  background: var(--ink);
  color: var(--text-on-dark);
}

.principle h3 {
  font-family: var(--font-text);
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.3;
  letter-spacing: 0;
  margin: 0 0 0.85rem;
}

.principle p {
  margin: 0;
  font-size: 0.84rem;
  line-height: 1.5;
  max-width: 30ch;
}

.principle__num {
  position: absolute;
  right: 0.35rem;
  bottom: -0.35rem;
  font-family: var(--font-display-sans);
  font-weight: 200;
  font-size: clamp(7rem, 11vw, 11rem);
  line-height: 0.8;
  color: rgba(255, 255, 255, 0.55);
  pointer-events: none;
}

.principle:nth-child(even) .principle__num {
  color: rgba(242, 242, 242, 0.5);
}

.principle__mark {
  margin-top: auto;
  width: 22px;
  opacity: 0.9;
  position: relative;
  z-index: 1;
}

@media (max-width: 980px) {
  .principles {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .principles {
    grid-template-columns: 1fr;
  }
  .principle {
    min-height: 240px;
  }
}

/* --------------------------------------------------------------------------
   Valores
   -------------------------------------------------------------------------- */

.values-split {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}

.values {
  display: grid;
  gap: 1.5rem;
  margin: 0;
}

.values dt {
  font-weight: 700;
  font-size: 0.98rem;
}

.values dd {
  margin: 0.15rem 0 0;
  font-size: 0.92rem;
  line-height: 1.5;
  max-width: 34ch;
}

@media (max-width: 880px) {
  .values-split {
    grid-template-columns: 1fr;
  }
}

/* --------------------------------------------------------------------------
   Equipo
   -------------------------------------------------------------------------- */

.team {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(2rem, 4vw, 3.5rem);
  margin-top: clamp(2rem, 4vw, 3.5rem);
  text-align: center;
}

.team h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.5rem, 2.4vw, 2.1rem);
  letter-spacing: 0;
  margin: 0 0 1.5rem;
}

.team svg {
  width: clamp(110px, 11vw, 150px);
  height: auto;
  margin-inline: auto;
}

.team-foot {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 2rem;
  margin-top: clamp(2.5rem, 5vw, 4.5rem);
}

.team-foot img {
  width: clamp(180px, 22vw, 300px);
}

@media (max-width: 780px) {
  .team {
    grid-template-columns: 1fr;
  }
  .team-foot {
    grid-template-columns: 1fr;
  }
}

/* --------------------------------------------------------------------------
   Footer
   Proporciones medidas sobre el diseño (caja de 1920 × 528):
   logotipo x 181..1060 · bajada x 181..690 · divisor x 1158 · enlaces x 1272 y 1515.
   Las celdas amarillas son los vectores originales extraídos del PDF.
   -------------------------------------------------------------------------- */

.site-footer {
  --pad-top: clamp(2.5rem, 5.15vw, 6.2rem);
  --pad-bottom: clamp(3rem, 6.4vw, 7.7rem);

  position: relative;
  background: var(--white);
  color: var(--ink);
  padding-top: var(--pad-top);
  padding-bottom: var(--pad-bottom);
  /* deja sangrar las celdas sobre la sección anterior y recorta el resto */
  overflow: visible;
  clip-path: inset(-3.1vw 0 0 0);
}

.wrap-wide {
  width: 100%;
  max-width: 1760px;
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 5vw, 6rem);
}

.site-footer__inner {
  position: relative;
  display: grid;
  grid-template-columns: 62.6% 1fr;
  align-items: start;
}

.site-footer__rule {
  position: absolute;
  left: 61.23%;
  top: calc(-1 * var(--pad-top) - 0.5vw);
  bottom: calc(-1 * var(--pad-bottom));
  width: clamp(3px, 0.43vw, 8px);
  background: var(--ink);
}

.site-footer__brand img {
  width: 89.6%;
}

.footer-tagline {
  margin: clamp(0.4rem, 1.9vw, 2.2rem) 0 0;
  font-size: clamp(0.78rem, 2.3vw, 2.75rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.078em;
  text-transform: uppercase;
}

.site-footer__links {
  padding-left: 19%;
  font-size: clamp(0.78rem, 1.146vw, 1.375rem);
  line-height: 1.2;
}

.site-footer__cols {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.site-footer__links h3 {
  font-family: var(--font-text);
  font-size: inherit;
  font-weight: 700;
  letter-spacing: 0;
  line-height: inherit;
  margin: 0;
}

.site-footer__links ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer__links li {
  line-height: inherit;
}

.site-footer__links a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.site-footer__legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3em 1.2em;
  margin: clamp(1.5rem, 3.4vw, 4.1rem) 0 0;
}

.site-footer__legal-links a {
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(29, 29, 29, 0.35);
}

.site-footer__legal-links a:hover {
  text-decoration-color: currentColor;
}

.site-footer__legal {
  margin: 0.55em 0 0;
  line-height: 1.2;
}

.footer-deco {
  position: absolute;
  pointer-events: none;
  height: auto;
}

.footer-deco--left-top {
  left: -1.01%;
  top: 0;
  width: min(24.58%, 472px);
  transform: translateY(-17.71%);
}

.footer-deco--left-bottom {
  left: -1.01%;
  bottom: 0;
  width: min(5.96%, 115px);
  transform: translateY(18.34%);
}

.footer-deco--right {
  right: 1.885%;
  top: 0;
  width: min(31.64%, 608px);
  transform: translateY(18.05%);
}

@media (max-width: 1000px) {
  .site-footer__links {
    padding-left: 12%;
  }
}

@media (max-width: 860px) {
  .site-footer {
    clip-path: none;
  }

  .site-footer__inner {
    grid-template-columns: 1fr;
  }

  .site-footer__brand {
    order: 1;
  }

  .site-footer__rule {
    position: static;
    order: 2;
    width: 100%;
    height: 2px;
    margin: 2rem 0;
  }

  .site-footer__brand img {
    width: 100%;
  }

  .footer-tagline {
    font-size: clamp(0.8rem, 3.4vw, 1.5rem);
  }

  .site-footer__links {
    order: 3;
    padding-left: 0;
    font-size: 0.92rem;
    line-height: 1.55;
  }

  .site-footer__cols {
    gap: 2rem;
  }

  .site-footer__legal-links {
    margin-top: 2rem;
  }

  .footer-deco {
    display: none;
  }
}
/* --------------------------------------------------------------------------
   Páginas de documentación (manual, privacidad, baja de cuenta)
   -------------------------------------------------------------------------- */

.doc-hero {
  background: var(--ink);
  color: var(--text-on-dark);
  padding-top: calc(clamp(0.6rem, 2.08vw, 2.5rem) + var(--topbar-h) + clamp(1.5rem, 4vw, 3.5rem));
  padding-bottom: clamp(3rem, 6vw, 5.5rem);
}

.doc-hero .back-link {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 1.5rem;
}

.doc-hero .back-link:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.doc-hero .eyebrow {
  color: var(--yellow);
  margin-bottom: 0.85rem;
}

.doc-hero p.lede {
  margin-top: 1.25rem;
  color: var(--text-on-dark-muted);
}

.page-shell {
  background: var(--paper);
  padding-block: clamp(2.5rem, 5vw, 4.5rem);
}

.article-card {
  max-width: 78ch;
  margin-inline: auto;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 4vw, 3.5rem);
  font-size: 0.97rem;
  line-height: 1.72;
}

.article-card > *:first-child {
  margin-top: 0;
}

.article-card h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.35rem, 2.4vw, 1.9rem);
  line-height: 1.1;
  margin: 2.75rem 0 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

.article-card h2:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.article-card h3 {
  font-family: var(--font-text);
  font-weight: 700;
  font-size: 1.02rem;
  letter-spacing: 0;
  margin: 1.75rem 0 0.6rem;
}

.article-card p,
.article-card li {
  margin-block: 0.75rem;
}

.article-card ul,
.article-card ol {
  padding-left: 1.35rem;
}

.article-card a {
  color: var(--red);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.article-card table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.25rem 0;
  font-size: 0.9rem;
}

.article-card th,
.article-card td {
  border: 1px solid var(--line);
  padding: 0.6rem 0.75rem;
  text-align: left;
  vertical-align: top;
}

.article-card th {
  background: var(--paper-2);
  font-weight: 700;
}

.doc-meta {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-block: 0.35rem !important;
}

.callout {
  border-left: 4px solid var(--yellow);
  background: rgba(249, 182, 6, 0.1);
  border-radius: 0 12px 12px 0;
  padding: 1rem 1.25rem;
  margin: 1.5rem 0;
}

.callout.warning {
  border-left-color: var(--yellow-deep);
  background: rgba(249, 182, 6, 0.12);
}

.callout.danger {
  border-left-color: var(--red);
  background: rgba(205, 63, 33, 0.08);
}

.callout-title {
  font-weight: 800;
  margin-top: 0 !important;
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
}

.callout > *:last-child {
  margin-bottom: 0 !important;
}

.age-badges {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 0 !important;
  margin: 1.5rem 0 !important;
}

.age-badges li {
  margin: 0 !important;
  border: 1px solid var(--ink);
  border-radius: 999px;
  padding: 0.35rem 0.85rem;
  font-size: 0.78rem;
  font-weight: 600;
}

.toc {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
  margin: 2rem 0;
}

.toc h2 {
  border-top: 0 !important;
  padding-top: 0 !important;
  margin: 0 0 0.75rem !important;
  font-size: 1.05rem !important;
  font-family: var(--font-text) !important;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.toc ol {
  columns: 2;
  column-gap: 2rem;
  font-size: 0.9rem;
  margin: 0;
}

.toc a {
  color: var(--text);
  text-decoration: none;
}

.toc a:hover {
  color: var(--red);
  text-decoration: underline;
}

@media (max-width: 640px) {
  .toc ol {
    columns: 1;
  }
}

.fine-print {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.legal-block {
  border-top: 1px solid var(--line);
  margin-top: 2.5rem;
  padding-top: 1.5rem;
}

.doc-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
  gap: 1rem;
  max-width: 78ch;
  margin: clamp(2rem, 4vw, 3rem) auto 0;
}

.doc-link {
  display: block;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1.1rem 1.25rem;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.doc-link:hover {
  border-color: var(--ink);
  transform: translateY(-2px);
}

.doc-link strong {
  display: block;
  font-size: 0.95rem;
}

.doc-link span {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Compatibilidad con marcado anterior de las páginas legales */
.page-header {
  margin-bottom: 2rem;
}
.section-tag {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--yellow);
  margin: 0 0 0.6rem;
}

/* --------------------------------------------------------------------------
   Utilidades y animación de entrada
   -------------------------------------------------------------------------- */

.text-center {
  text-align: center;
}

.stack > * + * {
  margin-top: 1.1rem;
}

.mt-lg {
  margin-top: clamp(2rem, 4vw, 3.5rem);
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .btn:hover {
    transform: none;
  }
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

/* --------------------------------------------------------------------------
   Ajustes de listas y remates
   -------------------------------------------------------------------------- */

.steps,
.box-grid,
.orbit__list,
.creative__tags,
.site-footer__links ul {
  list-style: none;
  padding-left: 0;
  margin-block: 0;
}

@media (min-width: 900px) {
  .showcase__note {
    position: absolute;
    left: var(--gutter);
    bottom: 6%;
    margin: 0;
    z-index: 2;
  }
}

/* --------------------------------------------------------------------------
   Página de descarga del APK
   -------------------------------------------------------------------------- */

.dl-card {
  max-width: 78ch;
  margin: 0 auto clamp(1.25rem, 3vw, 2rem);
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: clamp(1rem, 2.5vw, 2rem);
  align-items: center;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.25rem, 3vw, 2rem);
}

.dl-card__icon {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  background: var(--red);
  border-radius: 16px;
}

.dl-card__icon img {
  width: 55%;
}

.dl-card__body h2 {
  margin: 0 0 0.55rem;
}

.dl-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.5rem;
  margin: 0;
  font-size: 0.85rem;
}

.dl-meta div {
  display: flex;
  gap: 0.4rem;
}

.dl-meta dt {
  color: var(--text-muted);
}

.dl-meta dd {
  margin: 0;
  font-weight: 600;
}

@media (max-width: 700px) {
  .dl-card {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .dl-card__cta {
    grid-column: 1 / -1;
  }
}

.hash {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.8rem;
  line-height: 1.5;
  word-break: break-all;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.75rem 0.9rem;
}

/* --------------------------------------------------------------------------
   Titulares vectorizados
   El display del diseño es Brillante, que no tenemos como webfont. El estudio
   entregó cada titular en SVG, así que se usan como imagen: escalan sin pérdida
   y el texto queda en el alt. `max-width` es el ancho de la caja original.
   -------------------------------------------------------------------------- */

.svg-title {
  margin: 0;
  line-height: 0;
}

.svg-title img {
  display: block;
  width: 100%;
  height: auto;
}

.svg-title--center img {
  margin-inline: auto;
}

/* --------------------------------------------------------------------------
   Pasos: el estudio entregó las cuatro tarjetas ya compuestas (foto + texto)
   -------------------------------------------------------------------------- */

.step-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(0.6rem, 1.2vw, 1.1rem);
  list-style: none;
  margin: clamp(2rem, 4vw, 3.5rem) 0 0;
  padding: 0;
}

.step-cards img {
  width: 100%;
  height: auto;
  border-radius: 10px;
}

@media (max-width: 900px) {
  .step-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .step-cards {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin-inline: auto;
  }
}

/* Iconos de tecnología y equipo, entregados en SVG */
.tech-item img,
.team img {
  width: clamp(84px, 8vw, 116px);
  height: auto;
  margin-inline: auto;
}

.team img {
  width: clamp(150px, 15vw, 230px);
}

/* --------------------------------------------------------------------------
   Ecosistema creativo: panel a sangre con la foto de la caja
   -------------------------------------------------------------------------- */

.creative {
  position: relative;
  border: 3px solid var(--yellow);
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 16 / 9;
  min-height: 340px;
  color: var(--text-on-dark);
  padding: 0;
  background: var(--ink);
}

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

.creative__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-rows: auto 1fr auto;
  height: 100%;
  padding: clamp(1.1rem, 2.4vw, 2.6rem);
}

.creative__inner .eyebrow {
  margin: 0;
  color: var(--text-on-dark);
}

.creative__inner .svg-title {
  justify-self: end;
  width: min(100%, 600px);
  margin-top: clamp(0.75rem, 2vw, 1.5rem);
}

.creative__tags {
  grid-row: 3;
  align-self: end;
}

@media (max-width: 760px) {
  .creative {
    aspect-ratio: 3 / 4;
  }

  .creative__inner .svg-title {
    justify-self: start;
  }

  .creative__tags {
    gap: 0.35rem 1rem;
    font-size: 0.62rem;
  }
}

/* El icono de la app llega ya renderizado en 3D: no necesita el cuadro rojo */
.app-map__icon--art {
  width: clamp(58px, 5vw, 84px);
  height: auto;
  background: none;
  border-radius: 0;
}

.app-map__icon--art img {
  width: 100%;
}

/* Los teléfonos vienen recortados: sin caja detrás */
.app-media--cutout {
  background: none;
  border-radius: 0;
}

/* El hero de Sobre nosotros va sobre una foto clara: velo más suave */
.hero__scrim--soft {
  background: linear-gradient(
    180deg,
    rgba(12, 12, 12, 0.34) 0%,
    rgba(12, 12, 12, 0.12) 40%,
    rgba(12, 12, 12, 0.12) 62%,
    rgba(12, 12, 12, 0.42) 100%
  );
}
