/* ══════════════════════════════════════════
   Publicidad Digital — estilos específicos de página
══════════════════════════════════════════ */

/* ── Gradient animado ────────────────────── */
@keyframes gradientShift {
  0%   { background-position:   0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position:   0% 50%; }
}
.pd-section {
  background: linear-gradient(-45deg, #050a14, #0b2040, #1a3f7a, #07111f, #0d2a55, #050a14);
  background-size: 500% 500%;
  animation: gradientShift 10s ease infinite;
  padding: 96px 0;
  overflow: hidden;
  position: relative;
}

/* ── Float logos ─────────────────────────── */
@keyframes floatUp {
  0%, 100% { transform: translateY(0px);   }
  50%       { transform: translateY(-14px); }
}
@keyframes floatDown {
  0%, 100% { transform: translateY(0px);  }
  50%       { transform: translateY(14px); }
}

/* ── Layout ──────────────────────────────── */
.pd-2col {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 80px;
  align-items: center;
}
.pd-rel-z1      { position: relative; z-index: 1; }
.pd-section-title { margin: 12px 0 16px; }
.pd-section-sub   { max-width: 100%; margin-bottom: 32px; }

/* ── Plataformas ──────────────────────────── */
.pd-platform {
  padding: 24px 22px; border-radius: 16px;
  border: 1px solid var(--border); border-left: 3px solid transparent;
  background: rgba(255,255,255,0.03); margin-bottom: 14px;
  transition: border-left-color 0.25s, background 0.25s;
}
.pd-platform:hover { background: rgba(255,255,255,0.06); }
.pd-platform-header { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.pd-platform-icon {
  width: 36px; height: 36px; border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; flex-shrink: 0;
}
.pd-platform-header strong { font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 16px; color: #fff; }
.pd-platform p { font-size: 13.5px; color: var(--text); line-height: 1.75; margin: 0; }
.pd-platform.google { border-left-color: #4285f4; }
.pd-platform.meta   { border-left-color: #0082fb; }
.pd-icon-google { background: rgba(66,133,244,0.15); color: #4285f4; }
.pd-icon-meta   { background: rgba(0,130,251,0.15);  color: #0082fb; }

/* ── SEO complementario ───────────────────── */
.pd-seo {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 18px 20px; border-radius: 12px;
  border: 1px dashed var(--border); background: rgba(32,165,72,0.05);
  margin-bottom: 32px;
}
.pd-seo-icon {
  width: 34px; height: 34px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; background: rgba(32,165,72,0.12); color: #20a548;
  flex-shrink: 0; margin-top: 2px;
}
.pd-seo strong { display: block; font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 13px; color: #fff; margin-bottom: 5px; }
.pd-seo p      { font-size: 12.5px; color: var(--text); line-height: 1.65; margin: 0; }
.pd-seo-label  {
  display: inline-block; font-family: 'Poppins', sans-serif; font-size: 10px;
  font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  color: #20a548; background: rgba(32,165,72,0.12);
  border-radius: 999px; padding: 2px 9px; margin-bottom: 6px;
}

/* ── Logo cards ───────────────────────────── */
.pd-logos-col {
  display: flex; flex-direction: column; gap: 28px; align-items: center;
}
.pd-logo-wrap {
  width: 100%; max-width: 340px;
  transition: transform 0.12s ease; will-change: transform; cursor: default;
}
.pd-logo-card { display: flex; align-items: center; justify-content: center; }
.pd-logo-card.float-up   { animation: floatUp   5s ease-in-out infinite; }
.pd-logo-card.float-down { animation: floatDown 5s ease-in-out infinite 2.5s; }
.pd-logo-card img {
  width: 100%; max-width: 300px; height: auto; display: block;
  filter: drop-shadow(0 12px 32px rgba(0,0,0,0.5));
}

/* ── Responsive ───────────────────────────── */
@media (max-width: 960px) {
  .pd-2col      { grid-template-columns: 1fr; gap: 56px; }
  .pd-logos-col { flex-direction: row; justify-content: center; flex-wrap: wrap; }
  .pd-logo-wrap { max-width: 260px; }
}
