/* Ajustes visuales premium para Agencia SEO.
   Capa aislada cargada despues de seo.css y seo-hero.css. */

body.page-template-template-landing-agencia-seo-php .pdseo-landing {
  background: #f5f8fc;
}

body.page-template-template-landing-agencia-seo-php .pdseo-value {
  background: linear-gradient(180deg, #ffffff 0%, #f6f8fc 100%);
}

body.page-template-template-landing-agencia-seo-php .pdseo-value__item,
body.page-template-template-landing-agencia-seo-php .pdseo-deliverables__item,
body.page-template-template-landing-agencia-seo-php .pdseo-module,
body.page-template-template-landing-agencia-seo-php .pdseo-faq__item,
body.page-template-template-landing-agencia-seo-php .pdseo-fit__item,
body.page-template-template-landing-agencia-seo-php .pdseo-related__item {
  border: 1px solid rgba(15, 23, 47, 0.08);
  box-shadow: 0 18px 46px rgba(15, 23, 47, 0.08);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

body.page-template-template-landing-agencia-seo-php .pdseo-value__item:hover,
body.page-template-template-landing-agencia-seo-php .pdseo-deliverables__item:hover,
body.page-template-template-landing-agencia-seo-php .pdseo-module:hover,
body.page-template-template-landing-agencia-seo-php .pdseo-faq__item:hover,
body.page-template-template-landing-agencia-seo-php .pdseo-fit__item:hover,
body.page-template-template-landing-agencia-seo-php .pdseo-related__item:hover {
  transform: translateY(-4px);
  border-color: rgba(245, 166, 35, 0.28);
  box-shadow: 0 24px 60px rgba(15, 23, 47, 0.12);
}

body.page-template-template-landing-agencia-seo-php .pdseo-pack {
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at 82% 18%, rgba(245, 166, 35, 0.17), transparent 34%), linear-gradient(145deg, #081126 0%, #142141 52%, #0b142b 100%);
}

body.page-template-template-landing-agencia-seo-php .pdseo-pack__panel {
  position: relative;
  max-width: 940px;
  border-radius: 28px;
  border-color: rgba(245, 166, 35, 0.5);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.035));
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.32);
}

body.page-template-template-landing-agencia-seo-php .pdseo-pack__price {
  display: inline-flex;
  align-items: baseline;
  padding: 8px 14px;
  border-radius: 16px;
  background: rgba(245, 166, 35, 0.12);
  border: 1px solid rgba(245, 166, 35, 0.25);
}

body.page-template-template-landing-agencia-seo-php .pdseo-pack__list {
  display: grid;
  gap: 10px;
  padding-left: 0;
  list-style: none;
}

body.page-template-template-landing-agencia-seo-php .pdseo-pack__list li {
  position: relative;
  margin: 0;
  padding-left: 28px;
}

body.page-template-template-landing-agencia-seo-php .pdseo-pack__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--pdseo-gold);
}

body.page-template-template-landing-agencia-seo-php .pdseo-deliverables {
  background: linear-gradient(180deg, #ffffff 0%, #f4f7fb 100%);
}

body.page-template-template-landing-agencia-seo-php .pdseo-deliverables__num {
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(245, 166, 35, 0.12);
  border: 1px solid rgba(245, 166, 35, 0.22);
}

body.page-template-template-landing-agencia-seo-php .pdseo-modules {
  background: linear-gradient(180deg, #eef3f9 0%, #f7f9fc 100%);
}

body.page-template-template-landing-agencia-seo-php .pdseo-module {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
}

body.page-template-template-landing-agencia-seo-php .pdseo-module::before {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--pdseo-gold), rgba(245, 166, 35, 0));
}

body.page-template-template-landing-agencia-seo-php .pdseo-process,
body.page-template-template-landing-agencia-seo-php .pdseo-fit {
  background: #ffffff;
}

body.page-template-template-landing-agencia-seo-php .pdseo-steps {
  max-width: 900px;
  padding-left: 0;
  list-style: none;
  counter-reset: pdseo-step;
}

body.page-template-template-landing-agencia-seo-php .pdseo-steps li {
  counter-increment: pdseo-step;
  position: relative;
  margin-bottom: 12px;
  padding: 16px 18px 16px 58px;
  border: 1px solid rgba(15, 23, 47, 0.08);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(15, 23, 47, 0.06);
}

body.page-template-template-landing-agencia-seo-php .pdseo-steps li::before {
  content: counter(pdseo-step);
  position: absolute;
  left: 16px;
  top: 15px;
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--pdseo-gold);
  color: #111;
  font-size: 13px;
  font-weight: 800;
}

body.page-template-template-landing-agencia-seo-php .pdseo-use {
  background: linear-gradient(180deg, #f5f8fc 0%, #eef3f9 100%);
}

body.page-template-template-landing-agencia-seo-php .pdseo-use__list {
  max-width: 900px;
  padding-left: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

body.page-template-template-landing-agencia-seo-php .pdseo-use__list li {
  position: relative;
  margin: 0;
  padding: 14px 18px 14px 42px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid rgba(15, 23, 47, 0.08);
  box-shadow: 0 12px 30px rgba(15, 23, 47, 0.06);
}

body.page-template-template-landing-agencia-seo-php .pdseo-use__list li::before {
  content: '';
  position: absolute;
  left: 18px;
  top: 20px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--pdseo-gold);
}

body.page-template-template-landing-agencia-seo-php .pdseo-fit__item--warning {
  background: linear-gradient(145deg, #fffaf0, #ffffff);
}

body.page-template-template-landing-agencia-seo-php .pdseo-related {
  padding: 88px 0;
  background: linear-gradient(180deg, #f7f9fc 0%, #ffffff 100%);
}

body.page-template-template-landing-agencia-seo-php .pdseo-related__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin-top: 28px;
}

body.page-template-template-landing-agencia-seo-php .pdseo-related__item {
  position: relative;
  display: grid;
  gap: 10px;
  min-height: 100%;
  padding: 22px;
  border-radius: 20px;
  background: #fff;
  color: var(--pdseo-dark);
  cursor: pointer;
}

body.page-template-template-landing-agencia-seo-php .pdseo-related__item::after {
  content: '';
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(245, 166, 35, 0.14);
  border-radius: 16px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.22s ease;
}

body.page-template-template-landing-agencia-seo-php .pdseo-related__item:hover::after,
body.page-template-template-landing-agencia-seo-php .pdseo-related__item:focus-visible::after {
  opacity: 1;
}

body.page-template-template-landing-agencia-seo-php .pdseo-related__label {
  color: var(--pdseo-gold);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

body.page-template-template-landing-agencia-seo-php .pdseo-related__item strong {
  font-size: 20px;
  line-height: 1.25;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

body.page-template-template-landing-agencia-seo-php .pdseo-related__item:hover strong,
body.page-template-template-landing-agencia-seo-php .pdseo-related__item:focus-visible strong {
  text-decoration: underline;
  text-decoration-color: rgba(245, 166, 35, 0.72);
}

body.page-template-template-landing-agencia-seo-php .pdseo-related__item small {
  color: var(--pdseo-muted);
  font-size: 15px;
  line-height: 1.55;
}

body.page-template-template-landing-agencia-seo-php .pdseo-related__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: max-content;
  max-width: 100%;
  margin-top: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(245, 166, 35, 0.12);
  border: 1px solid rgba(245, 166, 35, 0.28);
  color: #8a5700;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
  transition: background 0.22s ease, color 0.22s ease, transform 0.22s ease;
}

body.page-template-template-landing-agencia-seo-php .pdseo-related__item:hover .pdseo-related__cta,
body.page-template-template-landing-agencia-seo-php .pdseo-related__item:focus-visible .pdseo-related__cta {
  background: var(--pdseo-gold);
  color: #111;
  transform: translateX(2px);
}

body.page-template-template-landing-agencia-seo-php .pdseo-related__arrow {
  font-size: 16px;
  line-height: 1;
}

body.page-template-template-landing-agencia-seo-php .pdseo-faq {
  background: linear-gradient(180deg, #ffffff 0%, #f7f9fc 100%);
}

body.page-template-template-landing-agencia-seo-php .pdseo-faq__items {
  max-width: 960px;
}

body.page-template-template-landing-agencia-seo-php .pdseo-faq__item {
  padding: 20px 22px;
}

body.page-template-template-landing-agencia-seo-php .pdseo-cta {
  background: radial-gradient(circle at 18% 22%, rgba(245, 166, 35, 0.12), transparent 30%), linear-gradient(145deg, #081126 0%, #0f1a35 100%);
}

body.page-template-template-landing-agencia-seo-php .pdseo-cta__panel {
  border-radius: 28px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.035));
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow: 0 28px 74px rgba(0, 0, 0, 0.28);
}

body.page-template-template-landing-agencia-seo-php .pdseo-contact a {
  color: #ffffff;
  font-weight: 800;
  border-bottom: 1px solid rgba(245, 166, 35, 0.65);
}

body.page-template-template-landing-agencia-seo-php .pdseo-action:focus-visible,
body.page-template-template-landing-agencia-seo-php .pdseo-related__item:focus-visible {
  outline: 3px solid rgba(245, 166, 35, 0.5);
  outline-offset: 3px;
}

@media (max-width: 767px) {
  body.page-template-template-landing-agencia-seo-php .pdseo-value__item,
  body.page-template-template-landing-agencia-seo-php .pdseo-deliverables__item,
  body.page-template-template-landing-agencia-seo-php .pdseo-module,
  body.page-template-template-landing-agencia-seo-php .pdseo-fit__item,
  body.page-template-template-landing-agencia-seo-php .pdseo-related__item,
  body.page-template-template-landing-agencia-seo-php .pdseo-faq__item {
    padding: 20px;
  }

  body.page-template-template-landing-agencia-seo-php .pdseo-related {
    padding: 68px 0;
  }

  body.page-template-template-landing-agencia-seo-php .pdseo-related__cta {
    width: 100%;
    justify-content: center;
  }

  body.page-template-template-landing-agencia-seo-php .pdseo-pack__panel,
  body.page-template-template-landing-agencia-seo-php .pdseo-cta__panel {
    border-radius: 22px;
  }
}

@media (min-width: 768px) {
  body.page-template-template-landing-agencia-seo-php .pdseo-related__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1080px) {
  body.page-template-template-landing-agencia-seo-php .pdseo-related__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
