/* =========================
AGENCIA / ABOUT — EL MERCADO NEGRO
Usa navbar y cierre originales desde styles.css
========================= */

.agency-hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  background: #030303;
}

.agency-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.08);
  filter: grayscale(1) brightness(.7) contrast(1.08);
  will-change: transform;
}

.agency-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(circle at center, rgba(240,230,210,.05), transparent 36%),
    linear-gradient(to bottom, rgba(0,0,0,.08), rgba(0,0,0,.88));
}

.agency-hero-title {
  position: absolute;
  left: 7vw;
  bottom: 9vh;
  z-index: 2;
  color: var(--bone);
}

.agency-hero-title span,
.agency-split-copy span,
.agency-history-copy span,
.agency-method-header span,
.agency-statement-copy span,
.agency-tools-copy span,
.agency-nope-header span {
  display: block;
  margin-bottom: 18px;
  color: rgba(240,230,210,.58);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .16em;
}

.agency-hero-title h1 {
  margin: 0;
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(90px, 14vw, 240px);
  line-height: .78;
  letter-spacing: -.045em;
  text-transform: uppercase;
}

.agency-hero-title p {
  margin: 22px 0 0;
  color: rgba(240,230,210,.74);
  font-size: 16px;
  line-height: 1.7;
}

.agency-scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 42px;
  z-index: 3;
  width: 42px;
  height: 72px;
  transform: translateX(-50%);
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.agency-scroll-cue span {
  position: relative;
  display: block;
  width: 1px;
  height: 66px;
  background: rgba(240,230,210,.58);
  animation: agencyArrow 1.6s ease-in-out infinite;
}

.agency-scroll-cue span::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 11px;
  height: 11px;
  border-right: 1px solid rgba(240,230,210,.78);
  border-bottom: 1px solid rgba(240,230,210,.78);
  transform: translateX(-50%) rotate(45deg);
}

@keyframes agencyArrow {
  0%, 100% {
    transform: translateY(-8px);
    opacity: .45;
  }

  50% {
    transform: translateY(6px);
    opacity: 1;
  }
}

/* SPLIT */

.agency-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100vh;
}

.agency-black {
  background: #030303;
  color: var(--bone);
}

.agency-reverse .agency-split-image {
  order: 2;
}

.agency-reverse .agency-split-copy {
  order: 1;
}

.agency-split-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.agency-split-copy {
  padding: 110px 7vw;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.agency-split-copy h2,
.agency-history-copy h2,
.agency-method-header h2,
.agency-statement-copy h2,
.agency-tools-copy h2,
.agency-nope-header h2 {
  margin: 0 0 34px;
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(62px, 8vw, 132px);
  line-height: .82;
  letter-spacing: -.035em;
  text-transform: uppercase;
}

.agency-split-copy p,
.agency-history-copy p,
.agency-method-grid p,
.agency-statement-copy p,
.agency-tools-copy p {
  max-width: 660px;
  margin: 0 0 22px;
  color: rgba(255,255,255,.78);
  font-size: 16px;
  line-height: 1.8;
}

/* STATEMENT / TOOLS IMAGE SECTIONS */

.agency-statement,
.agency-tools {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  background: #030303;
  color: var(--bone);
}

.agency-statement img,
.agency-tools img {
  width: 100%;
  height: 100vh;
  object-fit: cover;
  filter: grayscale(1) brightness(.55);
}

.agency-statement::after,
.agency-tools::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.42);
  pointer-events: none;
}

.agency-statement-copy,
.agency-tools-copy {
  position: absolute;
  left: 7vw;
  bottom: 10vh;
  z-index: 2;
  max-width: 920px;
}

/* HISTORY */

.agency-history {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  background: var(--bone);
  color: #111;
  min-height: 100vh;
}

.agency-history-copy {
  padding: 120px 8vw;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.agency-history-copy span {
  color: rgba(17,17,17,.52);
}

.agency-history-copy p {
  color: rgba(17,17,17,.72);
}

.agency-history-image {
  padding: 80px 6vw 80px 0;
  display: flex;
  align-items: center;
}

.agency-history-image img {
  width: 100%;
  height: 78vh;
  object-fit: cover;
  filter: grayscale(1);
}

/* METHOD */

.agency-method {
  background: #030303;
  color: var(--bone);
  padding: 130px 0 0;
}

.agency-method-header {
  width: min(1200px, 86%);
  margin: 0 auto 80px;
}

.agency-method-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(240,230,210,.14);
  border-bottom: 1px solid rgba(240,230,210,.14);
}

.agency-method-grid article {
  padding: 42px 28px;
  border-right: 1px solid rgba(240,230,210,.12);
}

.agency-method-grid article:last-child {
  border-right: 0;
}

.agency-method-grid span {
  display: block;
  margin-bottom: 24px;
  color: rgba(240,230,210,.44);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .16em;
}

.agency-method-grid h3 {
  margin: 0 0 18px;
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(38px, 4vw, 68px);
  line-height: .88;
  text-transform: uppercase;
}

.agency-method-grid p {
  font-size: 15px;
}

.agency-method-image {
  padding: 76px 3vw 0;
}

.agency-method-image img {
  width: 100%;
  max-height: 82vh;
  object-fit: cover;
  filter: grayscale(1);
}

/* NOPE */

.agency-nope {
  background: var(--bone);
  color: #111;
  padding: 130px 7vw;
  text-align: center;
}

.agency-nope-header {
  max-width: 900px;
  margin: 0 auto;
}

.agency-nope-header span {
  color: rgba(17,17,17,.5);
}

.agency-nope-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 56px;
  max-width: 980px;
  margin: 70px auto 0;
  text-align: left;
}

.agency-nope-grid ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.agency-nope-grid li {
  padding: 18px 0;
  border-bottom: 1px solid rgba(17,17,17,.16);
  color: rgba(17,17,17,.74);
  font-size: 16px;
  line-height: 1.6;
}

.agency-nope-grid li::before {
  content: "× ";
  color: rgba(17,17,17,.45);
}

.agency-yes {
  margin: 90px auto 0;
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(60px, 8vw, 130px);
  line-height: .86;
  letter-spacing: -.035em;
  text-transform: uppercase;
}

/* RESPONSIVE */

@media (max-width: 991px) {
  .agency-split,
  .agency-history,
  .agency-method-grid,
  .agency-nope-grid {
    grid-template-columns: 1fr;
  }

  .agency-reverse .agency-split-image,
  .agency-reverse .agency-split-copy {
    order: initial;
  }

  .agency-split-image img {
    height: 70vh;
  }

  .agency-split-copy,
  .agency-history-copy,
  .agency-nope {
    padding: 90px 24px;
  }

  .agency-history-image {
    padding: 0 24px 90px;
  }

  .agency-history-image img {
    height: 70vh;
  }

  .agency-method-grid article {
    border-right: 0;
    border-bottom: 1px solid rgba(240,230,210,.12);
  }

  .agency-method-grid article:last-child {
    border-bottom: 0;
  }

  .agency-statement-copy,
  .agency-tools-copy {
    left: 24px;
    right: 24px;
  }

  .agency-nope-grid {
    text-align: left;
  }
}

@media (max-width: 575px) {
  .agency-hero-title {
    left: 24px;
    right: 24px;
  }

  .agency-hero-title h1 {
    font-size: clamp(78px, 23vw, 118px);
  }

  .agency-split-copy h2,
  .agency-history-copy h2,
  .agency-method-header h2,
  .agency-statement-copy h2,
  .agency-tools-copy h2,
  .agency-nope-header h2 {
    font-size: clamp(58px, 17vw, 92px);
  }

  .agency-method-header {
    width: auto;
    margin: 0 24px 60px;
  }

  .agency-method-image {
    padding: 60px 18px 0;
  }
}
