/* =========================================
   ARTÍCULOS PROMOCIONALES PARA CAMPAÑAS POLÍTICAS
   — extiende css/promocionales.css (misma base visual: hero,
   trust, categorías, cta) y agrega solo lo propio de esta
   landing: imagen principal del hero, barra de confianza INE,
   declaración de experiencia y tarjetas de propuesta de valor.
   ========================================= */

/* ── HERO: foto real de fondo (multitud-mitin.webp) + overlay
   oscuro para que el texto siga siendo legible. */
.campanas-politicas-page #promo-hero {
  background: #0c1d2b;
  min-height: 0;
  padding: 6.5rem 0 5rem;
}

.cp-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  z-index: 0;
}

.cp-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(8, 18, 28, 0.86) 0%, rgba(8, 18, 28, 0.74) 45%, rgba(8, 18, 28, 0.9) 100%);
}

.campanas-politicas-page #promo-hero .container {
  z-index: 2;
}

@media (max-width: 767.98px) {
  .campanas-politicas-page #promo-hero {
    padding: 5.5rem 0 3.5rem;
  }
}

/* ── BARRA DE CONFIANZA (normativa INE) ──────────────────── */
.cp-trust-bar {
  background: var(--secondary);
  padding: 1.4rem 0;
}

.cp-trust-bar p {
  margin: 0;
  text-align: center;
  color: #fff;
  font-size: 0.98rem;
  line-height: 1.5;
}

.cp-trust-bar i {
  color: #6fe3ff;
  margin-right: 0.5rem;
}

/* ── DECLARACIÓN DE EXPERIENCIA ────────────────────────────
   Frase corta con más protagonismo visual (tipografía grande,
   ícono de marca) que un párrafo de confianza normal. */
.cp-experience-section {
  background: #fff;
  padding: 3.25rem 0;
}

.cp-experience-statement {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.cp-experience-statement i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin-bottom: 1.2rem;
  border-radius: 16px;
  background: rgba(185, 77, 40, 0.1);
  color: var(--primary);
  font-size: 1.4rem;
}

.cp-experience-statement p {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 600;
  font-size: clamp(1.15rem, 2.4vw, 1.45rem);
  line-height: 1.5;
  color: var(--secondary);
}

.cp-experience-statement p strong {
  color: var(--primary);
}

/* ── PROPUESTA DE VALOR B2B ───────────────────────────────── */
.cp-value-section {
  background: #fff;
}

.cp-value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

@media (max-width: 767.98px) {
  .cp-value-grid {
    grid-template-columns: 1fr;
  }
}

.cp-value-card {
  background: rgba(255, 252, 246, 0.97);
  border: 1px solid rgba(24, 33, 47, 0.07);
  border-radius: 24px;
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: 0 6px 22px rgba(13, 45, 74, 0.07);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cp-value-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 52px rgba(13, 45, 74, 0.14);
}

.cp-value-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 1.1rem;
  border-radius: 16px;
  background: rgba(185, 77, 40, 0.1);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
}

.cp-value-card p {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 600;
  color: var(--secondary);
  line-height: 1.5;
}

/* ── FORMULARIO DE COTIZACIÓN ─────────────────────────────── */
.cp-quote-section {
  position: relative;
  overflow: hidden;
  background: linear-gradient(155deg, #0f2533 0%, #163346 55%, #0c1d2b 100%);
}

.cp-quote-wrap {
  max-width: 620px;
  margin: 0 auto;
  background: rgba(255, 252, 246, 0.98);
  border-radius: 32px;
  padding: 2.75rem 2.5rem;
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.4);
  text-align: center;
}

.cp-quote-wrap .section-eyebrow {
  margin-bottom: 0.9rem;
}

.cp-quote-wrap h2 {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 800;
  font-size: 1.6rem;
  color: var(--secondary);
  margin-bottom: 0.6rem;
}

.cp-quote-instructions {
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 1.75rem;
}

.cp-quote-form {
  text-align: left;
}

.cp-form-row {
  display: flex;
  gap: 1rem;
}

.cp-form-row .cp-field {
  flex: 1;
  min-width: 0;
}

.cp-field {
  margin-bottom: 1rem;
}

.cp-field label {
  display: block;
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 0.35rem;
}

.cp-field input,
.cp-field select {
  width: 100%;
  box-sizing: border-box;
  padding: 0.65rem 0.85rem;
  border-radius: 12px;
  border: 1px solid #d7dbe0;
  font-size: 16px;
  font-family: inherit;
  background: #fff;
  color: #182029;
}

.cp-field input:focus,
.cp-field select:focus {
  outline: none;
  border-color: #17b8e0;
  box-shadow: 0 0 0 3px rgba(23, 184, 224, 0.18);
}

.cp-field input:invalid.touched,
.cp-field select:invalid.touched {
  border-color: #e0483f;
}

.cp-field-error {
  display: none;
  margin-top: 0.35rem;
  font-size: 0.78rem;
  color: #e0483f;
}

.cp-field input:invalid.touched ~ .cp-field-error,
.cp-field select:invalid.touched ~ .cp-field-error {
  display: block;
}

.cp-quote-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.cp-quote-submit {
  width: 100%;
  margin-top: 0.4rem;
  padding: 0.95rem 1rem;
  border: none;
  border-radius: 999px;
  background: var(--primary);
  color: #fff;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 800;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.22s ease, transform 0.22s ease;
  box-shadow: 0 10px 26px rgba(185, 77, 40, 0.32);
}

.cp-quote-submit:hover {
  background: #a1431f;
  transform: translateY(-2px);
}

.cp-quote-submit:disabled {
  opacity: 0.7;
  cursor: default;
  transform: none;
}

.cp-quote-error {
  color: #e0483f;
  font-size: 0.82rem;
  margin: 0.5rem 0 0;
  display: none;
}

.cp-quote-error.show {
  display: block;
}

@media (max-width: 575.98px) {
  .cp-form-row {
    flex-direction: column;
    gap: 1rem;
  }

  .cp-quote-wrap {
    padding: 2.25rem 1.5rem;
  }
}
