/* ACT 1 · Quiénes somos. Scoped under #act-01; tokens only. */

#act-01 { background: var(--paper); }
#act-01 .screen > .wrap > .kicker { margin-bottom: 22px; }

/* 1 · Opener */
#act-01 .a1-opener__title { font-size: clamp(40px, 5.8vw, 88px); max-width: none; }
#act-01 .a1-opener__rule { margin: clamp(24px, 4vh, 40px) 0 clamp(22px, 3.5vh, 34px); background: var(--orange); height: 2px; transform-origin: left center; }
#act-01 .a1-opener__row {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(28px, 5vw, 80px);
  align-items: start;
}
#act-01 .a1-opener__row .lead { max-width: 20em; }
#act-01 .a1-pillars { display: grid; gap: 0; }
#act-01 .a1-pillar {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  column-gap: 16px;
  align-items: baseline;
  padding: 22px 0;
  border-top: 1px solid var(--line);
}
#act-01 .a1-pillar:last-child { border-bottom: 1px solid var(--line); }
#act-01 .a1-pillar .num { font-size: 14px; }
#act-01 .a1-pillar__label {
  grid-column: 2;
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(22px, 2.2vw, 32px);
  line-height: 1.15;
  letter-spacing: -.02em;
  color: var(--ink);
}

/* 2 · Qué hacemos */
#act-01 .a1-services__title { max-width: 18ch; }
#act-01 .a1-services__grid { margin-top: clamp(36px, 6vh, 64px); }
#act-01 .a1-service { display: flex; flex-direction: column; gap: 14px; min-height: 100%; }
#act-01 .a1-service .h-3 { margin-bottom: 0; }

/* 3–8 · Galería horizontal pineada */
#act-01 .a1-gallery { position: relative; }
#act-01 .a1-gallery__pin { height: 100vh; min-height: 100vh; overflow: hidden; background: var(--paper); }
#act-01 .a1-gallery__head {
  position: absolute;
  inset: 0 0 auto 0;
  padding-top: calc(var(--nav-h) + 20px);
  z-index: 2;
  pointer-events: none;
}
#act-01 .a1-gallery__headrow { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
#act-01 .a1-gallery__meter { display: flex; align-items: center; gap: 14px; }
#act-01 .a1-gallery__count { font-size: 14px; font-variant-numeric: tabular-nums; min-width: 3ch; text-align: right; color: var(--ink); }
#act-01 .a1-gallery__bar { position: relative; width: clamp(80px, 12vw, 160px); height: 3px; background: var(--line); border-radius: 2px; overflow: hidden; }
#act-01 .a1-gallery__bar i { position: absolute; inset: 0; background: var(--orange); transform-origin: left center; transform: scaleX(0.1667); }

#act-01 .a1-track { display: flex; height: 100%; will-change: transform; }
#act-01 .a1-panel {
  position: relative;
  flex: 0 0 100%;
  min-width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  padding-top: calc(var(--nav-h) + 48px);
  padding-bottom: 32px;
  overflow: hidden;
}
#act-01 .a1-panel:nth-child(even) { background: var(--off); }
#act-01 .a1-panel__bg {
  position: absolute;
  right: -0.04em;
  bottom: -0.22em;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(220px, 34vw, 520px);
  line-height: 1;
  letter-spacing: -.06em;
  color: var(--off);
  user-select: none;
  pointer-events: none;
}
#act-01 .a1-panel:nth-child(even) .a1-panel__bg { color: var(--paper); }
#act-01 .a1-panel__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(32px, 4.5vw, 72px);
  align-items: center;
}
#act-01 .a1-panel__kicker { margin-bottom: 18px; }
#act-01 .a1-panel__title { font-size: clamp(28px, 3.3vw, 48px); line-height: 1.04; letter-spacing: -.025em; max-width: 14ch; }
#act-01 .a1-bullets { margin-top: 28px; display: grid; gap: 14px; }
#act-01 .a1-bullets li {
  position: relative;
  padding-left: 24px;
  font-size: clamp(16px, 1.3vw, 19px);
  line-height: 1.4;
  color: var(--ink);
}
#act-01 .a1-bullets li::before {
  content: '';
  position: absolute;
  left: 0;
  top: .55em;
  width: 10px;
  height: 10px;
  border-radius: 2px;
  background: var(--yellow);
}
#act-01 .a1-panel__visual { display: flex; justify-content: flex-end; }
#act-01 .a1-panel__visual .frame { width: 100%; max-width: 720px; transform-origin: center center; }
#act-01 .a1-panel__visual .frame img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top center;
  background: var(--ink-2);
}

/* 9 · Productos propios */
#act-01 .a1-products { background: var(--off); }
#act-01 .a1-products__title { max-width: 22ch; }
#act-01 .a1-products__grid { margin-top: clamp(36px, 6vh, 64px); }
#act-01 .a1-product { background: var(--paper); display: flex; flex-direction: column; gap: 12px; padding: 18px 18px 26px; }
#act-01 .a1-product__thumb {
  border-radius: var(--radius-sm);
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: var(--line);
  margin-bottom: 8px;
}
#act-01 .a1-product__thumb img { width: 100%; height: 100%; object-fit: cover; object-position: top left; }
#act-01 .a1-product__thumb--type {
  display: grid;
  place-items: center;
  background: var(--ink);
  color: var(--yellow);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(28px, 2.6vw, 40px);
  letter-spacing: -.03em;
}
#act-01 .a1-product__thumb--juris { background: var(--orange); color: var(--paper); }
#act-01 .a1-product .h-3 { margin: 0 8px; }
#act-01 .a1-product .body { margin: 0 8px; }

/* Responsive */
@media (max-width: 960px) {
  #act-01 .a1-opener__row { grid-template-columns: 1fr; }
  #act-01 .a1-panel__grid { grid-template-columns: 1fr; gap: 28px; align-content: center; }
  #act-01 .a1-panel__visual { justify-content: flex-start; }
  #act-01 .a1-panel__visual .frame { max-width: 100%; }
  #act-01 .a1-bullets { gap: 8px; }
}

/* Reduced motion: no pin, no horizontal scrub; the gallery stacks vertically. */
@media (prefers-reduced-motion: reduce) {
  #act-01 .a1-gallery__pin { height: auto; min-height: 0; overflow: visible; }
  #act-01 .a1-gallery__head { position: static; padding: clamp(72px, 10vh, 140px) 0 0; }
  #act-01 .a1-gallery__meter { display: none; }
  #act-01 .a1-track { display: block; will-change: auto; }
  #act-01 .a1-panel { min-width: 0; height: auto; min-height: 0; padding: clamp(56px, 8vh, 96px) 0; }
  #act-01 .a1-panel__bg { display: none; }
  #act-01 .a1-opener__rule { transform: none; }
}
#act-01.is-reduced .a1-gallery__pin { height: auto; min-height: 0; overflow: visible; }
#act-01.is-reduced .a1-gallery__head { position: static; padding: clamp(72px, 10vh, 140px) 0 0; }
#act-01.is-reduced .a1-gallery__meter { display: none; }
#act-01.is-reduced .a1-track { display: block; will-change: auto; }
#act-01.is-reduced .a1-panel { min-width: 0; height: auto; min-height: 0; padding: clamp(56px, 8vh, 96px) 0; }
#act-01.is-reduced .a1-panel__bg { display: none; }
