/* ==================================================
   LA RUA 74 — ABOUT PAGE
   css/about.css
   ================================================== */

/* ── CLASES UTILITARIAS (reemplazan inline styles) ── */
/* Especificidad doble → sin !important */
.section__eyebrow.ab-eyebrow--gold,
span.ab-eyebrow--gold              { color: var(--dorado); }
.section__title.ab-title--crema,
h2.ab-title--crema                 { color: var(--crema); }
em.ab-em--gold                     { color: var(--dorado); font-style: italic; }
em.ab-em--lila                     { color: var(--lila);   font-style: italic; }
.section__subtitle.ab-subtitle--muted { color: rgba(215,194,163,0.55); }

.ab-gallery__eyebrow-wrap {
  text-align: center;
  max-width: 580px;
  margin: 0 auto;
}
.ab-section-header {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 80px;
}

/* Botón outline crema — sección promesa */
.btn--outline-crema {
  color: var(--crema);
  border-color: rgba(215,194,163,0.3);
}
.btn--outline-crema:hover {
  background: rgba(215,194,163,0.1);
  border-color: rgba(215,194,163,0.6);
}

/* ── HERO NOSOTROS ──────────────────────────────── */
.ab-hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
  padding-top: 110px;
}

/* Columna izquierda — imagen */
.ab-hero__visual {
  position: relative;
  overflow: hidden;
  min-height: 600px;
}
.ab-hero__img-wrap {
  position: absolute;
  inset: 0;
}
.ab-hero__img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1.08);
  animation: ab-hero-drift 20s ease-in-out infinite alternate;
  display: block;
  will-change: transform;
}
@keyframes ab-hero-drift {
  from { transform: scale(1.08) translateY(0); }
  to   { transform: scale(1.08) translateY(-2.5%); }
}
.ab-hero__img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(8,46,23,0.15) 0%,
    rgba(8,46,23,0.05) 40%,
    rgba(8,46,23,0.55) 100%
  );
  z-index: 1;
}

/* Etiqueta flotante sobre la imagen */
.ab-hero__img-label {
  position: absolute;
  bottom: 36px; left: 36px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.ab-hero__img-label span:first-child {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--dorado);
  opacity: 0.8;
}
.ab-hero__img-label strong {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--crema);
  line-height: 1.2;
}

/* Columna derecha — contenido */
.ab-hero__content {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 7% 80px 8%;
  background: var(--crema);
  z-index: 1;
}
.ab-hero__content::before {
  content: '';
  position: absolute;
  top: 0; bottom: 0; left: -1px;
  width: 3px;
  background: linear-gradient(180deg, transparent, var(--dorado), transparent);
}
.ab-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--verde);
  margin-bottom: 24px;
}
.ab-hero__eyebrow::before {
  content: '';
  display: block;
  width: 32px; height: 1px;
  background: var(--dorado);
}
.ab-hero__title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.8rem, 4.5vw, 4rem);
  font-weight: 700;
  line-height: 1.08;
  color: var(--verde-oscuro);
  margin-bottom: 28px;
}
.ab-hero__title em {
  color: var(--verde);
  font-style: italic;
  display: block;
}
.ab-hero__lead {
  font-size: 1.08rem;
  line-height: 1.8;
  color: var(--texto-claro);
  margin-bottom: 40px;
  max-width: 480px;
}
.ab-hero__lead strong { color: var(--verde); }
.ab-hero__signature {
  font-family: 'Pinyon Script', cursive;
  font-size: 2.8rem;
  color: var(--dorado);
  opacity: 0.7;
  line-height: 1;
  margin-bottom: 36px;
}
.ab-hero__scroll {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--texto-claro);
  opacity: 0.5;
}
.ab-hero__scroll-line {
  width: 44px; height: 1px;
  background: var(--dorado);
  opacity: 0.5;
  position: relative;
  overflow: hidden;
}
.ab-hero__scroll-line::after {
  content: '';
  position: absolute;
  top: 0; left: -100%; width: 100%; height: 100%;
  background: var(--dorado);
  animation: line-travel 2.5s ease-in-out infinite;
}
@keyframes line-travel {
  0%   { left: -100%; }
  100% { left: 100%; }
}

/* ── MARQUEE ────────────────────────────────────── */
.ab-marquee {
  background: var(--verde-oscuro);
  border-top: 1px solid rgba(220,178,80,0.15);
  border-bottom: 1px solid rgba(220,178,80,0.15);
  padding: 16px 0;
  overflow: hidden;
}
.ab-marquee__track {
  display: flex;
  gap: 36px;
  animation: ab-marquee 28s linear infinite;
  width: max-content;
  white-space: nowrap;
  will-change: transform;
}
.ab-marquee__track span {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(237,232,208,0.42);
}
.ab-marquee__track .gem { color: var(--lila); opacity: 0.8; }
@keyframes ab-marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.ab-marquee:hover .ab-marquee__track { animation-play-state: paused; }

/* ── MANIFIESTO / PROPÓSITO ─────────────────────── */
.ab-manifesto {
  padding: 120px 0;
  background: var(--blanco);
  position: relative;
  overflow: hidden;
}
.ab-manifesto::before {
  content: '"';
  position: absolute;
  top: -40px; left: -20px;
  font-family: 'Playfair Display', serif;
  font-size: 28rem;
  color: rgba(27,55,44,0.03);
  line-height: 1;
  pointer-events: none;
  z-index: 0;
}
.ab-manifesto .container { position: relative; z-index: 1; }
.ab-manifesto__inner {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 80px;
  align-items: start;
}
.ab-manifesto__label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--verde);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.ab-manifesto__label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(14,71,36,0.12);
}
.ab-manifesto__side-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 2.5vw, 2.4rem);
  font-weight: 700;
  color: var(--verde-oscuro);
  line-height: 1.2;
  margin-bottom: 32px;
  position: sticky;
  top: 130px;
}
.ab-manifesto__side-title em {
  font-style: italic;
  color: var(--verde);
  display: block;
}
.ab-manifesto__pillars {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.ab-manifesto__pillar {
  padding: 36px 0;
  border-bottom: 1px solid rgba(14,71,36,0.08);
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 24px;
  align-items: start;
  transition: padding 0.4s ease;
}
.ab-manifesto__pillar:first-child { padding-top: 0; }
.ab-manifesto__pillar:last-child { border-bottom: none; }
.ab-manifesto__pillar:hover { padding-left: 8px; }
.ab-manifesto__num {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--dorado);
  opacity: 0.5;
  line-height: 1;
  padding-top: 4px;
  transition: opacity 0.3s ease;
}
.ab-manifesto__pillar:hover .ab-manifesto__num { opacity: 1; }
.ab-manifesto__pillar-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--verde-oscuro);
  margin-bottom: 10px;
  line-height: 1.2;
}
.ab-manifesto__pillar-text {
  font-size: 0.92rem;
  color: var(--texto-claro);
  line-height: 1.8;
}

/* ── GALERÍA VISUAL — MOSAICO ───────────────────── */
.ab-gallery {
  padding: 0 0 0;
  background: var(--verde-oscuro);
  position: relative;
}
.ab-gallery__header {
  padding: 90px 0 60px;
}
.ab-gallery__header .container { text-align: center; }

.ab-mosaic {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: 340px 280px;
  gap: 6px;
}
.ab-mosaic__item {
  position: relative;
  overflow: hidden;
  background: rgba(255,255,255,0.03);
}
.ab-mosaic__item img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.9s cubic-bezier(0.25,0.46,0.45,0.94);
  filter: saturate(0.9) brightness(0.95);
}
.ab-mosaic__item:hover img {
  transform: scale(1.07);
  filter: saturate(1.1) brightness(1.02);
}
/* Grid positions */
.ab-mosaic__item:nth-child(1) { grid-column: 1 / 5; grid-row: 1; }
.ab-mosaic__item:nth-child(2) { grid-column: 5 / 8; grid-row: 1; }
.ab-mosaic__item:nth-child(3) { grid-column: 8 / 13; grid-row: 1 / 3; }
.ab-mosaic__item:nth-child(4) { grid-column: 1 / 4; grid-row: 2; }
.ab-mosaic__item:nth-child(5) { grid-column: 4 / 8; grid-row: 2; }

.ab-mosaic__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(8,46,23,0.75) 0%, transparent 55%);
  opacity: 0;
  transition: opacity 0.45s ease;
  z-index: 1;
}
.ab-mosaic__item:hover .ab-mosaic__overlay { opacity: 1; }
.ab-mosaic__info {
  position: absolute;
  bottom: 20px; left: 22px;
  z-index: 2;
  transform: translateY(14px);
  opacity: 0;
  transition: opacity 0.45s cubic-bezier(0.165,0.84,0.44,1),
              transform 0.45s cubic-bezier(0.165,0.84,0.44,1);
}
.ab-mosaic__item:hover .ab-mosaic__info { transform: translateY(0); opacity: 1; }
.ab-mosaic__tag {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--dorado);
  background: rgba(8,46,23,0.8);
  padding: 4px 11px;
  border-radius: 20px;
  display: inline-block;
  margin-bottom: 6px;
  backdrop-filter: blur(6px);
}
.ab-mosaic__name {
  display: block;
  font-size: 0.82rem;
  color: rgba(237,232,208,0.85);
  font-weight: 500;
}

/* Strip de imágenes adicional */
.ab-strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 6px;
  margin-top: 6px;
}
.ab-strip__item {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: rgba(255,255,255,0.03);
}
.ab-strip__item img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.7s ease, filter 0.5s ease;
  filter: saturate(0.85);
}
.ab-strip__item:hover img { transform: scale(1.09); filter: saturate(1.1); }
.ab-strip__item:nth-child(3) { aspect-ratio: 3/2; }

/* ── NÚMEROS / LOGROS ───────────────────────────── */
.ab-numbers {
  padding: 90px 0;
  background: var(--verde);
  position: relative;
  overflow: hidden;
}
.ab-numbers::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 15% 50%, rgba(220,178,80,0.08) 0%, transparent 50%),
    radial-gradient(circle at 85% 30%, rgba(220,178,80,0.06) 0%, transparent 50%);
  pointer-events: none;
}
.ab-numbers .container { position: relative; z-index: 1; }
.ab-numbers__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid rgba(220,178,80,0.12);
  border-radius: 20px;
  overflow: hidden;
}
.ab-numbers__item {
  padding: 48px 36px;
  text-align: center;
  border-right: 1px solid rgba(220,178,80,0.12);
  transition: background 0.4s ease;
}
.ab-numbers__item:last-child { border-right: none; }
.ab-numbers__item:hover { background: rgba(220,178,80,0.06); }
.ab-numbers__figure {
  font-family: 'Playfair Display', serif;
  font-size: 3.4rem;
  font-weight: 700;
  color: var(--dorado);
  line-height: 1;
  display: block;
  margin-bottom: 8px;
}
.ab-numbers__sup {
  font-size: 1.2rem;
  vertical-align: super;
  color: var(--dorado);
}
.ab-numbers__label {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(237,232,208,0.45);
  line-height: 1.5;
}

/* ── HISTORIA / TIMELINE ────────────────────────── */
.ab-story {
  padding: 120px 0;
  background: var(--blanco);
  position: relative;
}
.ab-story__inner {
  display: grid;
  grid-template-columns: 1fr 60px 1fr;
  gap: 0;
  align-items: start;
}
/* Línea central */
.ab-story__line {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 60px;
}
.ab-story__line-track {
  width: 1px;
  background: linear-gradient(180deg, var(--dorado) 0%, rgba(220,178,80,0.1) 100%);
  position: absolute;
  top: 60px; bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}
.ab-story__dot {
  width: 10px; height: 10px;
  background: var(--dorado);
  border-radius: 50%;
  border: 2px solid var(--crema);
  box-shadow: 0 0 0 4px rgba(220,178,80,0.2);
  position: sticky;
  top: 150px;
  z-index: 2;
  flex-shrink: 0;
}

/* Items del timeline */
.ab-story__col { display: flex; flex-direction: column; gap: 64px; padding-top: 60px; }
.ab-story__col--left { text-align: right; padding-right: 48px; }
.ab-story__col--right { text-align: left; padding-left: 48px; }
.ab-story__item { position: relative; }
.ab-story__item--offset { margin-top: 120px; }

.ab-story__year {
  font-family: 'Playfair Display', serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--dorado);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.ab-story__col--left .ab-story__year { justify-content: flex-end; }
.ab-story__year::before,
.ab-story__year::after {
  content: '';
  display: block;
  width: 20px; height: 1px;
  background: rgba(220,178,80,0.4);
}
.ab-story__col--left .ab-story__year::before { display: none; }
.ab-story__col--right .ab-story__year::after { display: none; }

.ab-story__title {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--verde-oscuro);
  margin-bottom: 10px;
  line-height: 1.2;
}
.ab-story__text {
  font-size: 0.88rem;
  color: var(--texto-claro);
  line-height: 1.8;
}
.ab-story__img {
  margin-top: 18px;
  border-radius: 14px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 20px 50px rgba(14,71,36,0.1);
}
.ab-story__img img {
  width: 100%; height: 200px;
  object-fit: cover;
  display: block;
  transition: transform 0.7s ease;
}
.ab-story__img:hover img { transform: scale(1.05); }
.ab-story__col--left .ab-story__img { margin-left: auto; }

/* ── EQUIPO / VALORES ───────────────────────────── */
.ab-values {
  padding: 110px 0;
  background: linear-gradient(160deg, var(--verde-oscuro) 0%, #091f10 100%);
  position: relative;
  overflow: hidden;
}
.ab-values::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    radial-gradient(ellipse at 10% 20%, rgba(220,178,80,0.07) 0%, transparent 45%),
    radial-gradient(ellipse at 90% 80%, rgba(220,178,80,0.05) 0%, transparent 45%);
  pointer-events: none;
}
.ab-values .container { position: relative; z-index: 1; }
.ab-values__header { text-align: center; max-width: 640px; margin: 0 auto 70px; }
.ab-values__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.ab-value__card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(220,178,80,0.12);
  border-radius: 22px;
  padding: 44px 32px;
  position: relative;
  overflow: hidden;
  transition: background 0.5s ease,
              border-color 0.5s ease,
              transform 0.5s cubic-bezier(0.165,0.84,0.44,1),
              box-shadow 0.5s ease;
}
.ab-value__card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--dorado), transparent);
  transform: scaleX(0);
  transition: transform 0.5s ease;
}
.ab-value__card:hover {
  background: rgba(255,255,255,0.07);
  border-color: rgba(220,178,80,0.3);
  transform: translateY(-10px);
  box-shadow: 0 40px 80px rgba(0,0,0,0.35);
}
.ab-value__card:hover::before { transform: scaleX(1); }

.ab-value__glyph {
  font-family: 'Pinyon Script', cursive;
  font-size: 4.5rem;
  color: var(--dorado);
  opacity: 0.2;
  line-height: 1;
  margin-bottom: -10px;
  transition: opacity 0.4s ease;
}
.ab-value__card:hover .ab-value__glyph { opacity: 0.45; }
.ab-value__icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: rgba(220,178,80,0.1);
  border: 1px solid rgba(220,178,80,0.2);
  display: flex; align-items: center; justify-content: center;
  color: var(--dorado);
  margin-bottom: 22px;
  transition: background 0.4s ease, transform 0.4s ease, border-color 0.4s ease;
}
.ab-value__card:hover .ab-value__icon {
  background: rgba(220,178,80,0.2);
  transform: scale(1.08) rotate(-3deg);
}
.ab-value__name {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--crema);
  margin-bottom: 12px;
}
.ab-value__desc {
  font-size: 0.87rem;
  color: rgba(237,232,208,0.52);
  line-height: 1.75;
}

/* ── SPLIT — IMAGEN + TEXTO ─────────────────────── */
.ab-split {
  padding: 110px 0;
  background: var(--blanco);
}
.ab-split__inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 80px;
  align-items: center;
}
.ab-split__visual { position: relative; }
.ab-split__main {
  border-radius: 24px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 50px 100px rgba(14,71,36,0.18);
}
.ab-split__main img {
  width: 100%; height: 500px;
  object-fit: cover;
  display: block;
  transition: transform 0.8s ease;
}
.ab-split__main:hover img { transform: scale(1.04); }
.ab-split__float-1 {
  position: absolute;
  bottom: -30px; right: -30px;
  width: 170px; height: 130px;
  border-radius: 16px;
  overflow: hidden;
  border: 4px solid var(--crema);
  box-shadow: 0 20px 50px rgba(0,0,0,0.2);
}
.ab-split__float-1 img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ab-split__float-2 {
  position: absolute;
  top: -24px; left: -24px;
  width: 130px; height: 100px;
  border-radius: 14px;
  overflow: hidden;
  border: 3px solid var(--crema);
  box-shadow: 0 16px 40px rgba(0,0,0,0.15);
}
.ab-split__float-2 img { width: 100%; height: 100%; object-fit: cover; display: block; }

.ab-split__badge {
  position: absolute;
  top: 26px; right: 26px;
  background: var(--verde);
  color: var(--crema);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 7px 16px;
  border-radius: 30px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 7px;
}
.ab-split__badge-dot {
  width: 5px; height: 5px;
  background: var(--dorado);
  border-radius: 50%;
  animation: dot-pulse 2s infinite;
}
@keyframes dot-pulse {
  0%,100% { opacity:1; transform: scale(1); }
  50%      { opacity:0.4; transform: scale(0.7); }
}

/* .ab-split__text — layout heredado del grid padre */
.ab-split__tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--verde);
  background: rgba(14,71,36,0.06);
  padding: 6px 16px;
  border-radius: 30px;
  margin-bottom: 22px;
}
.ab-split__title { font-family: 'Playfair Display', serif; font-size: clamp(1.8rem, 2.6vw, 2.5rem); font-weight: 700; color: var(--verde-oscuro); line-height: 1.18; margin-bottom: 20px; }
.ab-split__title em { color: var(--lila); font-style: italic; }
.ab-split__body {
  font-size: 0.95rem;
  color: var(--texto-claro);
  line-height: 1.82;
  margin-bottom: 28px;
}
.ab-split__body strong { color: var(--texto); }
.ab-split__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 36px;
}
.ab-split__list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 0.9rem;
  color: var(--texto);
  line-height: 1.6;
}
.ab-split__list-icon {
  width: 22px; height: 22px;
  background: rgba(14,71,36,0.07);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--verde);
  flex-shrink: 0;
  margin-top: 1px;
  font-size: 0.62rem;
  font-weight: 700;
}

/* ── GALERÍA SEGUNDA — img-1 a img-7 ───────────── */
.ab-gallery2 {
  padding: 0;
  background: var(--verde-oscuro);
  overflow: hidden;
}
.ab-gallery2__header {
  padding: 90px 5% 60px;
  text-align: center;
}
.ab-gallery2__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  padding: 0;
}
.ab-gallery2__item {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3/4;
  cursor: zoom-in;
}
.ab-gallery2__item:nth-child(1) { aspect-ratio: 2/3; }
.ab-gallery2__item:nth-child(4) { aspect-ratio: 1/1; }
.ab-gallery2__item img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.8s ease, filter 0.5s ease;
  filter: saturate(0.88);
}
.ab-gallery2__item:hover img { transform: scale(1.07); filter: saturate(1.1); }
.ab-gallery2__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(8,46,23,0.8) 0%, rgba(8,46,23,0.1) 60%);
  opacity: 0;
  transition: opacity 0.45s ease;
  display: flex;
  align-items: flex-end;
  padding: 22px 20px;
}
.ab-gallery2__item:hover .ab-gallery2__overlay { opacity: 1; }
.ab-gallery2__caption {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(237,232,208,0.8);
}

/* ── PROMESA CTA ─────────────────────────────────── */
.ab-promise {
  padding: 130px 0;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.ab-promise__bg {
  position: absolute; inset: 0; z-index: 0;
}
.ab-promise__bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.ab-promise__bg::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(8,46,23,0.95) 0%, rgba(8,46,23,0.88) 100%);
}
.ab-promise .container { position: relative; z-index: 1; }
.ab-promise__content { max-width: 720px; margin: 0 auto; }
.ab-promise__pre {
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--lila);
  display: flex; align-items: center; justify-content: center;
  gap: 14px;
  margin-bottom: 28px;
}
.ab-promise__pre::before,
.ab-promise__pre::after {
  content: '';
  display: block;
  width: 44px; height: 1px;
  background: rgba(186,180,224,0.35);
}
.ab-promise__title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 700;
  color: #ffffff;
  line-height: 1.12;
  margin-bottom: 24px;
}
.ab-promise__title em { color: var(--lila); font-style: italic; }
.ab-promise__text {
  font-size: 1.02rem;
  color: rgba(255,255,255,0.82);
  line-height: 1.82;
  max-width: 560px;
  margin: 0 auto 44px;
}
.ab-promise__text strong { color: var(--lila); }
.ab-promise__actions {
  display: flex; gap: 14px; justify-content: center; flex-wrap: wrap;
  margin-bottom: 40px;
}
.ab-promise__signature {
  font-family: 'Pinyon Script', cursive;
  font-size: 3rem;
  color: var(--lila);
  opacity: 0.4;
  line-height: 1;
}

/* Botón primario en promesa: dorado → lila */
.ab-promise .btn--primary {
  background: var(--lila);
  color: #1a0a2e;
}
.ab-promise .btn--primary:hover {
  background: #c9b3e0;
  box-shadow: 0 12px 30px rgba(186,180,224,0.4);
}

/* ── LIGHTBOX ────────────────────────────────────── */
.ab-lightbox {
  position: fixed; inset: 0;
  background: rgba(4,14,7,0.96);
  z-index: 9500;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
  backdrop-filter: blur(12px);
}
.ab-lightbox.open { opacity: 1; visibility: visible; }
.ab-lightbox__inner {
  max-width: 90vw; max-height: 88vh;
  display: flex; align-items: center; justify-content: center;
}
.ab-lightbox__img {
  max-width: 100%; max-height: 88vh;
  object-fit: contain;
  border-radius: 10px;
  display: block;
  box-shadow: 0 40px 120px rgba(0,0,0,0.65);
  transform: scale(0.95);
  transition: transform 0.35s ease;
}
.ab-lightbox.open .ab-lightbox__img { transform: scale(1); }
.ab-lightbox__close {
  position: fixed; top: 20px; right: 20px;
  width: 44px; height: 44px;
  background: rgba(237,232,208,0.08);
  border: 1px solid rgba(237,232,208,0.15);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--crema); font-size: 1rem; cursor: pointer;
  transition: background 0.3s; z-index: 9501;
}
.ab-lightbox__close:hover { background: rgba(237,232,208,0.16); }
.ab-lightbox__nav {
  position: fixed; top: 50%; transform: translateY(-50%);
  width: 48px; height: 48px;
  background: rgba(237,232,208,0.07);
  border: 1px solid rgba(237,232,208,0.12);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--crema); cursor: pointer;
  transition: background 0.3s; z-index: 9501;
}
.ab-lightbox__nav:hover { background: rgba(237,232,208,0.14); }
.ab-lightbox__nav--prev { left: 16px; }
.ab-lightbox__nav--next { right: 16px; }
.ab-lightbox__counter {
  position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%);
  font-size: 0.72rem; color: rgba(237,232,208,0.35);
  letter-spacing: 0.1em; z-index: 9501;
}

/* ── RESPONSIVE ──────────────────────────────────── */
@media (max-width: 1100px) {
  .ab-hero { grid-template-columns: 1fr; min-height: auto; }
  .ab-hero__visual { height: 60vw; min-height: 360px; position: relative; }
  .ab-hero__content::before { display: none; }
  .ab-manifesto__inner { grid-template-columns: 1fr; gap: 40px; }
  .ab-manifesto__side-title { position: static; }
  .ab-numbers__grid { grid-template-columns: repeat(2, 1fr); }
  .ab-numbers__item:nth-child(2) { border-right: none; }
  .ab-story__inner { grid-template-columns: 1fr; }
  .ab-story__line { display: none; }
  .ab-story__col { gap: 40px; padding: 0 !important; text-align: left; }
  .ab-story__col--left { order: 1; }
  .ab-story__col--left .ab-story__year { justify-content: flex-start; }
  .ab-story__col--left .ab-story__img { margin-left: 0; }
  .ab-story__year::before { display: block !important; }
  .ab-story__year::after { display: none; }
  .ab-values__grid { grid-template-columns: 1fr 1fr; }
  .ab-split__inner { grid-template-columns: 1fr; gap: 50px; }
  .ab-gallery2__grid { grid-template-columns: repeat(2, 1fr); }
  .ab-gallery2__item { aspect-ratio: 4/3 !important; }
}
@media (max-width: 768px) {
  .ab-hero { padding-top: 70px; }
  .ab-hero__content { padding: 50px 6%; }
  .ab-mosaic {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 220px 180px 220px;
  }
  .ab-mosaic__item { grid-column: auto !important; grid-row: auto !important; }
  .ab-strip { grid-template-columns: repeat(3, 1fr); }
  .ab-strip__item:nth-child(3) { aspect-ratio: 4/3; }
  .ab-numbers__grid { grid-template-columns: repeat(2, 1fr); border-radius: 16px; }
  .ab-values__grid { grid-template-columns: 1fr; }
  .ab-split__float-1 { display: none; }
  .ab-split__float-2 { display: none; }
  .ab-gallery2__grid { grid-template-columns: repeat(2, 1fr); }
  .ab-lightbox__nav { display: none; }
}
@media (max-width: 480px) {
  .ab-mosaic { grid-template-columns: 1fr; }
  .ab-strip { grid-template-columns: repeat(2, 1fr); }
  .ab-numbers__grid { grid-template-columns: 1fr 1fr; }
  .ab-numbers__item { padding: 32px 20px; }
  .ab-numbers__figure { font-size: 2.4rem; }
  .ab-gallery2__grid { grid-template-columns: 1fr; }
  .ab-promise__actions { flex-direction: column; align-items: center; }
}
/* ==================================================
   REVEAL VIA CLASES (reemplazan inline styles del JS)
   ================================================== */

/* Story items */
.ab-story__item {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease,
              transform 0.65s cubic-bezier(0.165,0.84,0.44,1);
}
.ab-story__item--visible {
  opacity: 1;
  transform: translateY(0);
}

/* Pillar items — ya usan data-reveal del script.js global,
   pero también necesitan estado oculto para la animación propia */
.ab-manifesto__pillar[data-reveal] {
  /* script.js initReveal ya maneja opacity/transform vía [data-reveal] */
}

/* Mosaic + Strip */
.ab-mosaic__item,
.ab-strip__item {
  opacity: 0;
  transform: scale(0.97);
  transition: opacity 0.7s ease,
              transform 0.7s ease;
}
.ab-mosaic--visible {
  opacity: 1 !important;
  transform: scale(1) !important;
}

/* Lightbox image fade via clase */
.ab-lb--fading {
  opacity: 0 !important;
  transform: scale(0.96) !important;
}

/* Reduced-motion */
@media (prefers-reduced-motion: reduce) {
  .ab-story__item,
  .ab-mosaic__item,
  .ab-strip__item {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}