:root {
  --agency-wine: #4a0f22;
  --agency-wine-deep: #250610;
  --agency-gold: #d8aa52;
  --agency-gold-light: #f2d494;
  --agency-cream: #fff3df;
}

.agency-view {
  min-height: calc(100dvh - 76px);
  overflow: hidden;
  color: var(--agency-cream);
  background:
    radial-gradient(circle at 50% -12%, rgb(216 170 82 / 18%), transparent 42rem),
    radial-gradient(circle at 100% 76%, rgb(216 170 82 / 8%), transparent 34rem),
    linear-gradient(145deg, #280711 0%, var(--agency-wine) 50%, #310816 100%);
}

.agency-shell {
  width: min(1280px, 92%);
  margin: 0 auto;
  padding: clamp(42px, 5vw, 72px) 0 30px;
}

/*
 * Esta cabecera vive dentro de la sección, por eso neutralizamos de forma
 * explícita las reglas de la cabecera global del sitio.
 */
.agency-view .agency-intro {
  position: relative !important;
  inset: auto !important;
  z-index: 1 !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(290px, 340px);
  align-items: center;
  gap: clamp(34px, 4vw, 58px);
  width: 100% !important;
  max-width: none !important;
  height: auto !important;
  min-height: 0 !important;
  margin: 0 auto clamp(30px, 4vw, 48px) !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  text-align: center;
}

.agency-intro-copy::before {
  content: '';
  display: block;
  width: 56px;
  height: 1px;
  margin: 0 auto 18px;
  background: linear-gradient(90deg, transparent, var(--agency-gold), transparent);
}

.agency-kicker,
.agency-section-label,
.agency-media-copy > span {
  color: var(--agency-gold-light);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .24em;
  text-transform: uppercase;
}

.agency-view .agency-intro h1 {
  width: 100%;
  max-width: 850px;
  margin: 13px auto 18px;
  color: #fff7e8;
  font: 400 clamp(40px, 4.2vw, 62px)/1.03 Georgia, 'Times New Roman', serif;
  letter-spacing: -.025em;
}

.agency-view .agency-intro h1 em {
  color: var(--agency-gold-light);
  font-weight: 400;
}

.agency-view .agency-intro p {
  max-width: 740px;
  margin: 0 auto;
  color: #dec9ae;
  font: 15px/1.72 Arial, sans-serif;
}

.agency-quick-actions {
  position: relative;
  display: grid;
  gap: 10px;
  padding: 19px;
  border: 1px solid rgb(216 170 82 / 45%);
  background:
    radial-gradient(circle at 100% 0%, rgb(242 212 148 / 12%), transparent 44%),
    linear-gradient(155deg, rgb(90 21 43 / 92%), rgb(38 6 16 / 96%));
  box-shadow: 0 24px 58px rgb(13 1 5 / 38%);
  text-align: left;
}

.agency-quick-actions::before {
  content: '';
  position: absolute;
  inset: 7px;
  border: 1px solid rgb(242 212 148 / 10%);
  pointer-events: none;
}

.agency-quick-label {
  position: relative;
  z-index: 1;
  margin: 0 4px 3px;
  color: var(--agency-gold-light);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .22em;
  text-transform: uppercase;
}

.agency-quick-link {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  min-height: 79px;
  padding: 14px 16px;
  border: 1px solid var(--agency-gold);
  text-decoration: none;
  transition: transform 170ms ease, box-shadow 170ms ease, border-color 170ms ease;
}

.agency-quick-link small {
  grid-column: 1 / -1;
  margin-bottom: 5px;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: .16em;
  line-height: 1.35;
  text-transform: uppercase;
}

.agency-quick-link strong {
  font: 600 18px/1.15 Georgia, 'Times New Roman', serif;
}

.agency-quick-link b {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  margin-left: 12px;
  border: 1px solid currentColor;
  border-radius: 50%;
  font: 700 14px/1 Arial, sans-serif;
}

.agency-quick-primary {
  color: #2a1407;
  background: linear-gradient(180deg, #f3d994, #ce963d);
  box-shadow: 0 12px 28px rgb(0 0 0 / 22%);
}

.agency-quick-primary small {
  color: #69471f;
}

.agency-quick-secondary {
  color: #f7dfae;
  background: rgb(29 4 12 / 64%);
}

.agency-quick-secondary small {
  color: #d2b985;
}

.agency-quick-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 17px 32px rgb(0 0 0 / 30%);
}

.agency-quick-link:focus-visible {
  outline: 3px solid rgb(242 212 148 / 75%);
  outline-offset: 3px;
}

/* Una sola columna: el video es la pieza principal y siempre queda centrado. */
.agency-layout {
  display: flex;
  flex-direction: column;
  gap: clamp(28px, 4vw, 48px);
  width: 100%;
}

.agency-media,
.agency-information {
  width: 100%;
  margin-inline: auto;
  border: 1px solid rgb(216 170 82 / 34%);
  background:
    linear-gradient(145deg, rgb(255 255 255 / 7%), rgb(37 6 16 / 40%));
  box-shadow: 0 26px 64px rgb(17 2 7 / 27%);
}

.agency-media {
  order: -1;
  display: block;
  max-width: 1220px;
  padding: clamp(22px, 3vw, 38px);
}

.agency-media-copy {
  max-width: 790px;
  margin: 0 auto 24px;
  padding: 0;
  text-align: center;
}

.agency-information h2,
.agency-media-copy h2 {
  color: #fff2d9;
  font-family: Georgia, 'Times New Roman', serif;
  font-weight: 400;
}

.agency-media-copy h2 {
  margin: 9px 0 10px;
  font-size: clamp(30px, 3.2vw, 46px);
  line-height: 1.08;
}

.agency-media-copy p {
  margin: 0;
  color: #cfbaa0;
  font-size: 13px;
  line-height: 1.6;
}

.agency-player {
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  border: 1px solid rgb(242 212 148 / 74%);
  background: #150307;
  box-shadow: 0 24px 52px rgb(0 0 0 / 38%);
}

.agency-player::before,
.agency-player::after {
  content: '';
  position: absolute;
  z-index: 2;
  width: 38px;
  height: 38px;
  pointer-events: none;
}

.agency-player::before {
  inset: 12px auto auto 12px;
  border-top: 1px solid var(--agency-gold-light);
  border-left: 1px solid var(--agency-gold-light);
}

.agency-player::after {
  inset: auto 12px 12px auto;
  border-right: 1px solid var(--agency-gold-light);
  border-bottom: 1px solid var(--agency-gold-light);
}

.agency-player iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.agency-information {
  max-width: 1220px;
  padding: clamp(30px, 4vw, 48px);
  text-align: center;
}

.agency-information h2 {
  max-width: 800px;
  margin: 10px auto 14px;
  font-size: clamp(30px, 3.4vw, 46px);
  line-height: 1.08;
}

.agency-lead {
  max-width: 780px;
  margin: 0 auto;
  color: #d5bea2;
  font-size: 14px;
  line-height: 1.72;
}

.agency-benefits {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 30px;
}

.agency-benefits article {
  min-height: 156px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  padding: 22px 20px;
  border: 1px solid rgb(216 170 82 / 22%);
  background: rgb(42 7 18 / 28%);
}

.agency-benefits article > span {
  display: grid;
  place-items: center;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  border: 1px solid rgb(216 170 82 / 60%);
  border-radius: 50%;
  color: var(--agency-gold-light);
  font: 700 11px Georgia, serif;
}

.agency-benefits h3 {
  margin: 0 0 5px;
  color: #f9e7c6;
  font: 400 22px Georgia, 'Times New Roman', serif;
}

.agency-benefits p {
  max-width: 290px;
  margin: 0 auto;
  color: #c9b499;
  font-size: 12.5px;
  line-height: 1.55;
}

.agency-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 30px;
}

.agency-primary,
.agency-secondary {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 0 24px;
  border: 1px solid var(--agency-gold);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .09em;
  text-transform: uppercase;
  transition: transform 170ms ease, box-shadow 170ms ease, background 170ms ease;
}

.agency-primary {
  color: #271406;
  background: linear-gradient(180deg, #f0ce83, #c98e34);
  box-shadow: 0 12px 28px rgb(0 0 0 / 25%);
}

.agency-secondary {
  color: #f4dcae;
  background: rgb(38 6 16 / 46%);
}

.agency-primary:hover,
.agency-secondary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgb(0 0 0 / 30%);
}

.agency-primary:focus-visible,
.agency-secondary:focus-visible {
  outline: 3px solid rgb(242 212 148 / 70%);
  outline-offset: 3px;
}

.agency-footer {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 30px;
  padding: 22px 24px 0;
  border-top: 1px solid rgb(216 170 82 / 28%);
  color: #bda98e;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .12em;
  text-align: center;
  text-transform: uppercase;
}

@media (max-width: 1120px) {
  .agency-view .agency-intro {
    grid-template-columns: 1fr;
  }

  .agency-quick-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: min(790px, 100%);
    margin-inline: auto;
  }

  .agency-quick-label {
    grid-column: 1 / -1;
    text-align: center;
  }
}

@media (max-width: 820px) {
  .agency-benefits {
    grid-template-columns: 1fr;
  }

  .agency-benefits article {
    min-height: 0;
  }
}

@media (max-width: 620px) {
  .agency-shell {
    width: min(92%, 540px);
    padding-top: 34px;
  }

  .agency-view .agency-intro h1 {
    font-size: 38px;
  }

  .agency-quick-actions {
    grid-template-columns: 1fr;
    padding: 15px;
  }

  .agency-quick-label {
    grid-column: auto;
  }

  .agency-media,
  .agency-information {
    padding: 22px 17px;
  }

  .agency-media-copy {
    margin-bottom: 18px;
  }

  .agency-actions,
  .agency-primary,
  .agency-secondary {
    width: 100%;
  }

  .agency-footer {
    grid-template-columns: 1fr;
    gap: 9px;
  }
}
