/* ==========================================================================
   Hero estilo nothin': línea «Agencia de publicidad 360.» arriba y TEBUSCO
   gigante de borde a borde, con líquido que revela texturas por capas.
   ========================================================================== */
.x-hero--giant .x-hero__inner { grid-template-rows: auto 1fr auto; }
.x-hero__top { display: flex; align-items: center; justify-content: space-between; gap: 1rem 2rem; flex-wrap: wrap; }
.x-hero__h1.hero__rotator {
  margin: 0; min-height: 0;
  font-family: var(--f-ui); font-weight: 600; font-stretch: normal;
  font-size: clamp(1.3rem, 2.4vw, 2.2rem); letter-spacing: -0.02em; line-height: 1.1;
  color: var(--c-ink);
}
.x-hero__h1 .rot { font-weight: 600; }
.x-hero__giant {
  position: relative;
  align-self: center;
  margin: 0;
  font-family: var(--f-x); font-weight: 600;
  font-size: 14vw;               /* lo ajusta el JS al ancho exacto */
  line-height: 0.82; letter-spacing: -0.045em;
  color: var(--c-ink);
  white-space: nowrap;
  user-select: none;
}
.x-hero__giant .line { display: block; overflow: hidden; padding: 0.04em 0 0.06em; }
.x-hero__giant .line > span { display: inline-block; }
.x-hero--giant .x-hero__mascot { top: auto; bottom: clamp(5rem, 14vh, 9rem); right: var(--x-pad); }
.x-hero--giant .x-hero__mascot .mascot { width: clamp(80px, 8vw, 120px); }
.x-hero__hint { color: var(--c-muted-ink); }
.x-hero--giant .x-hero__foot { border-top: 1px solid var(--c-border); }
.x-liquid { mix-blend-mode: lighten; }
html[data-theme='dark'] .x-liquid { mix-blend-mode: darken; }
@media (hover: none) { .x-hero__hint { display: none; } }
@media (max-width: 700px) {
  .x-hero--giant .x-hero__mascot { position: relative; bottom: auto; right: auto; justify-self: end; }
  .x-hero__top .btn { display: none; }
}

/* Eyebrows: ocupan el ancho de su columna y la palabra se arma a la derecha */
main .eyebrow.x-eyebrow { display: flex; justify-content: flex-end; width: 100%; font-size: 0.82rem; }
.x-eyebrow__vis { display: inline-flex; white-space: nowrap; }
.x-ech { display: inline-block; will-change: transform; }

/* La cuadrícula no se ensancha con la palabra gigante */
.x-hero--giant .x-hero__inner { grid-template-columns: minmax(0, 1fr); }
.x-hero__giant { min-width: 0; width: 100%; }

/* Las tarjetas que entran desde los costados no ensanchan la página (clip no rompe el sticky) */
.x-services { overflow-x: clip; }

/* Móvil: mascota y TEBUSCO centrados entre la línea de arriba y el botón */
@media (max-width: 700px) {
  .x-hero--giant .x-hero__inner { display: flex; flex-direction: column; }
  .x-hero--giant .x-hero__mascot { margin-top: auto; margin-bottom: 1.25rem; align-self: flex-end; }
  .x-hero--giant .x-hero__foot { margin-top: auto; }
  .x-hero__hint { display: none; }
}
@media (max-width: 700px) {
  .x-hero--giant .x-hero__foot { margin-top: 0; }
  .x-hero--giant .x-hero__giant { margin-bottom: auto; }
}

/* TEBUSCO estilo nothin: Poppins Bold (alta y geométrica), de borde a borde de la pantalla */
.x-hero--giant .x-hero__inner { grid-template-rows: auto minmax(0, 1fr) auto; }
.x-hero__giant {
  font-family: var(--f-ui); font-weight: 700;
  letter-spacing: -0.055em; line-height: 0.8;
  width: calc(100vw - 2.4vw); max-width: none;
  margin-left: calc(50% - 50vw + 1.2vw);
  align-self: center;
}
.x-hero__giant .line { padding: 0.06em 0 0.02em; }
