/* Posicionamiento de macros oficiales en marketing / desarrollo / audiovisual.
   Sustituye el menú de “propuestas por industria” (Doc 1 §23). */

.pdp-vmacro {
  --vm-green: #00cc00;
  position: relative;
  padding: clamp(72px, 10vw, 128px) 0;
  overflow: hidden;
  background: #000;
  color: #fff;
}

.pdp-vmacro__inner {
  position: relative;
  z-index: 1;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 44px);
}

.pdp-vmacro__kicker {
  margin: 0 0 18px;
  color: var(--vm-green);
  font-family: var(--font-body, "Helvetica Neue", Helvetica, Arial, sans-serif);
  font-size: 0.72rem;
  font-style: italic;
  font-weight: 300;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.pdp-vmacro__title {
  max-width: 14ch;
  margin: 0;
  font-family: var(--font-display, "Poetsen One", "Trebuchet MS", sans-serif);
  font-size: clamp(2.5rem, 6.2vw, 5.4rem);
  font-weight: 400;
  line-height: 0.9;
  letter-spacing: 0.01em;
}

.pdp-vmacro__title em {
  font-style: normal;
  color: var(--vm-green);
}

.pdp-vmacro__lead {
  max-width: 38rem;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: clamp(1.02rem, 1.7vw, 1.18rem);
  line-height: 1.55;
}

.pdp-vmacro__duo {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  gap: 22px;
  margin-top: clamp(36px, 5vw, 56px);
}

.pdp-vmacro__door {
  display: flex;
  flex-direction: column;
  color: inherit;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #070707;
  transition: border-color 220ms ease, transform 220ms ease;
}

.pdp-vmacro__door:hover,
.pdp-vmacro__door:focus-visible {
  border-color: var(--vm-green);
  transform: translateY(-3px);
  outline: none;
}

.pdp-vmacro__door figure {
  margin: 0;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #111;
}

.pdp-vmacro__door--offset figure {
  aspect-ratio: 5 / 4;
}

.pdp-vmacro__door img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pdp-vmacro__door-copy {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 22px 22px 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.pdp-vmacro__door-copy small {
  color: var(--vm-green);
  font-family: var(--font-body, "Helvetica Neue", Helvetica, Arial, sans-serif);
  font-size: 0.68rem;
  font-style: italic;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.pdp-vmacro__door-copy h3 {
  margin: 0;
  font-family: var(--font-display, "Poetsen One", "Trebuchet MS", sans-serif);
  font-size: clamp(1.45rem, 2.4vw, 2rem);
  font-weight: 400;
  line-height: 1.05;
}

.pdp-vmacro__door-copy p {
  margin: 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.92rem;
  line-height: 1.5;
}

.pdp-vmacro__caps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: clamp(40px, 6vw, 64px);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.pdp-vmacro__caps article {
  padding: 22px 22px 22px 0;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.pdp-vmacro__caps article:nth-child(3n) {
  border-right: 0;
  padding-right: 0;
}

.pdp-vmacro__caps strong {
  display: block;
  margin-bottom: 6px;
  font-family: var(--font-display, "Poetsen One", "Trebuchet MS", sans-serif);
  font-size: 1.05rem;
  font-weight: 400;
}

.pdp-vmacro__caps span {
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.88rem;
  line-height: 1.5;
}

.pdp-vmacro__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}

.pdp-vmacro__btn {
  min-height: 50px;
  padding: 0 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--vm-green);
  border-radius: 999px;
  background: transparent;
  color: var(--vm-green);
  font-family: var(--font-body, "Helvetica Neue", Helvetica, Arial, sans-serif);
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.pdp-vmacro__btn:hover,
.pdp-vmacro__btn:focus-visible {
  background: var(--vm-green);
  color: #000;
  outline: none;
  transform: translateY(-1px);
}

.pdp-vmacro__btn--fill {
  background: var(--vm-green);
  color: #000;
}

.pdp-vmacro__btn--fill:hover,
.pdp-vmacro__btn--fill:focus-visible {
  background: #fff;
  border-color: #fff;
}

.pdp-hero-proof {
  position: relative;
  width: 100%;
  margin: 0;
}

.pdp-hero-proof img {
  display: block;
  width: 100%;
  aspect-ratio: 5 / 4;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.pdp-hero-proof figcaption {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 16px;
}

.pdp-hero-proof span {
  color: #00cc00;
  font-family: var(--font-body, "Helvetica Neue", Helvetica, Arial, sans-serif);
  font-size: 0.68rem;
  font-style: italic;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.pdp-hero-proof strong {
  font-family: var(--font-display, "Poetsen One", "Trebuchet MS", sans-serif);
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  font-weight: 400;
  line-height: 1.15;
}

/* Explorar en catálogo audiovisual: sin pastilla blanca del button nativo */
body[data-pdp-page="audiovisual"] #servicios .service-card button {
  appearance: none;
  -webkit-appearance: none;
  margin-top: 4px;
  padding: 0.55rem 0.95rem;
  border: 1px solid #00cc00;
  border-radius: 999px;
  background: transparent !important;
  color: #00cc00 !important;
  box-shadow: none;
}

body[data-pdp-page="audiovisual"] #servicios .service-card button:hover,
body[data-pdp-page="audiovisual"] #servicios .service-card button:focus-visible {
  background: #00cc00 !important;
  color: #000 !important;
  outline: none;
}

@media (max-width: 900px) {
  .pdp-vmacro__duo {
    grid-template-columns: 1fr;
  }

  .pdp-vmacro__door--offset figure,
  .pdp-vmacro__door figure {
    aspect-ratio: 16 / 10;
  }

  .pdp-vmacro__caps {
    grid-template-columns: 1fr 1fr;
  }

  .pdp-vmacro__caps article:nth-child(3n) {
    border-right: 1px solid rgba(255, 255, 255, 0.12);
    padding-right: 22px;
  }

  .pdp-vmacro__caps article:nth-child(2n) {
    border-right: 0;
    padding-right: 0;
  }
}

@media (max-width: 560px) {
  .pdp-vmacro__caps {
    grid-template-columns: 1fr;
  }

  .pdp-vmacro__caps article,
  .pdp-vmacro__caps article:nth-child(2n),
  .pdp-vmacro__caps article:nth-child(3n) {
    padding-right: 0;
    border-right: 0;
  }

  .pdp-vmacro__cta .pdp-vmacro__btn {
    width: 100%;
  }

  .pdp-hero-proof img {
    aspect-ratio: 5 / 4;
  }
}
