/* Ajuste visual del hero SEO: composición premium tipo Google Ads.
   Se carga después de seo.css para corregir solo la zona hero sin tocar el resto de la landing. */

body.page-template-template-landing-agencia-seo-php .pdseo-hero {
  min-height: calc(100vh - 132px);
}

body.page-template-template-landing-agencia-seo-php .pdseo-hero__overlay {
  background:
    radial-gradient(circle at 50% 20%, rgba(47, 101, 234, 0.18) 0%, rgba(47, 101, 234, 0) 42%),
    linear-gradient(120deg, rgba(5, 10, 22, 0.9) 0%, rgba(8, 15, 31, 0.78) 48%, rgba(5, 10, 22, 0.9) 100%);
}

body.page-template-template-landing-agencia-seo-php .pdseo-hero__wrap {
  max-width: 1120px;
  min-height: 640px;
  padding-top: 64px;
  padding-bottom: 54px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

body.page-template-template-landing-agencia-seo-php .pdseo-hero__eyebrow {
  width: auto !important;
  max-width: min(92vw, 720px);
  margin-left: auto;
  margin-right: auto;
  padding: 10px 28px;
  border-radius: 999px;
  justify-content: center;
  text-align: center;
  line-height: 1.35;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.28);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.22);
}

body.page-template-template-landing-agencia-seo-php .pdseo-hero__title {
  width: 100%;
  max-width: 980px;
  margin: 24px auto 18px;
  font-size: clamp(54px, 7.2vw, 108px);
  line-height: 0.88;
  letter-spacing: -0.055em;
  font-weight: 800;
  text-wrap: balance;
}

body.page-template-template-landing-agencia-seo-php .pdseo-hero__title-main,
body.page-template-template-landing-agencia-seo-php .pdseo-hero__title-accent {
  display: block !important;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

body.page-template-template-landing-agencia-seo-php .pdseo-hero__title-main {
  max-width: 720px;
  color: #fff;
  font-size: 0.82em;
}

body.page-template-template-landing-agencia-seo-php .pdseo-hero__title-accent:first-of-type {
  max-width: 820px;
  color: var(--pdseo-gold);
  font-size: 0.88em;
}

body.page-template-template-landing-agencia-seo-php .pdseo-hero__title-accent:last-of-type {
  max-width: 720px;
  color: var(--pdseo-gold);
  font-size: 0.98em;
}

body.page-template-template-landing-agencia-seo-php .pdseo-hero__lead {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  font-size: clamp(18px, 1.4vw, 22px);
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.92);
}

body.page-template-template-landing-agencia-seo-php .pdseo-hero__actions {
  margin-top: 30px;
  gap: 14px;
}

body.page-template-template-landing-agencia-seo-php .pdseo-action--primary {
  min-width: 310px;
  min-height: 62px;
  border-radius: 20px;
}

body.page-template-template-landing-agencia-seo-php .pdseo-hero__actions .pdseo-action--ghost {
  min-width: 260px;
  min-height: 58px;
  opacity: 0.92;
  box-shadow: none;
}

body.page-template-template-landing-agencia-seo-php .pdseo-hero__trust {
  width: min(940px, 100%);
  max-width: 940px;
  margin: 30px auto 0;
  padding: 13px 18px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  align-items: stretch;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.04));
  backdrop-filter: blur(8px);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.22);
}

body.page-template-template-landing-agencia-seo-php .pdseo-hero__trust-item {
  width: auto !important;
  min-width: 0;
  padding: 4px 16px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.92);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
  white-space: nowrap;
  text-align: center;
}

body.page-template-template-landing-agencia-seo-php .pdseo-hero__trust-item:not(:last-child) {
  border-right: 1px solid rgba(255, 255, 255, 0.18);
}

@media (max-width: 1024px) {
  body.page-template-template-landing-agencia-seo-php .pdseo-hero__wrap {
    min-height: 600px;
  }

  body.page-template-template-landing-agencia-seo-php .pdseo-hero__title {
    font-size: clamp(48px, 8.8vw, 82px);
  }

  body.page-template-template-landing-agencia-seo-php .pdseo-hero__trust {
    width: min(760px, 100%);
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-radius: 28px;
  }

  body.page-template-template-landing-agencia-seo-php .pdseo-hero__trust-item:nth-child(2n) {
    border-right: 0;
  }

  body.page-template-template-landing-agencia-seo-php .pdseo-hero__trust-item:nth-child(-n + 2) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
    padding-bottom: 10px;
  }

  body.page-template-template-landing-agencia-seo-php .pdseo-hero__trust-item:nth-child(n + 3) {
    padding-top: 10px;
  }
}

@media (max-width: 767px) {
  body.page-template-template-landing-agencia-seo-php .pdseo-hero {
    min-height: auto;
  }

  body.page-template-template-landing-agencia-seo-php .pdseo-hero__wrap {
    max-width: 100%;
    min-height: auto;
    padding-top: 64px;
    padding-bottom: 72px;
  }

  body.page-template-template-landing-agencia-seo-php .pdseo-hero__eyebrow {
    max-width: 100%;
    white-space: normal;
    padding: 9px 16px;
    font-size: 10px;
  }

  body.page-template-template-landing-agencia-seo-php .pdseo-hero__title {
    max-width: 100%;
    font-size: clamp(42px, 13vw, 64px);
    line-height: 0.94;
  }

  body.page-template-template-landing-agencia-seo-php .pdseo-hero__title-main {
    font-size: 0.9em;
  }

  body.page-template-template-landing-agencia-seo-php .pdseo-hero__lead {
    max-width: 100%;
    font-size: 17px;
  }

  body.page-template-template-landing-agencia-seo-php .pdseo-hero__actions {
    width: 100%;
  }

  body.page-template-template-landing-agencia-seo-php .pdseo-action--primary,
  body.page-template-template-landing-agencia-seo-php .pdseo-hero__actions .pdseo-action--ghost {
    width: 100%;
    min-width: 0;
  }

  body.page-template-template-landing-agencia-seo-php .pdseo-hero__trust {
    width: 100%;
    margin-top: 24px;
    padding: 8px 12px;
    grid-template-columns: 1fr;
    border-radius: 24px;
  }

  body.page-template-template-landing-agencia-seo-php .pdseo-hero__trust-item,
  body.page-template-template-landing-agencia-seo-php .pdseo-hero__trust-item:not(:last-child) {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
    padding: 9px 6px;
    white-space: normal;
  }

  body.page-template-template-landing-agencia-seo-php .pdseo-hero__trust-item:last-child {
    border-bottom: 0;
  }
}
