/*
  form_lead.cleaned.css
  Depurado y ordenado — ETTA Contact Snippet
  Carga este archivo DESPUÉS de Bootstrap y de tus hojas base.
*/

/* ==============================
   1) SECCIÓN CONTACTO (base)
   ============================== */
.contact.section {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  text-align: left;
  min-height: 25vh;
  padding: 40px 0; /* espaciado consistente */
  background: #0d1f35 url("../img/index/contenedores.jpg") center/cover
    no-repeat;
  color: #fff;
  z-index: 1;
}

/* Overlay para legibilidad sobre la imagen */
.contact.section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  z-index: 2;
}

/* Asegura el contenido por encima del overlay */
.contact .container {
  position: relative;
  z-index: 3;
}

/* Titulares garantizados en blanco dentro de la sección oscura */
.contact.section h1,
.contact.section h2,
.contact.section h3,
.contact.section h4,
.contact.section h5,
.contact.section h6,
.contact.section .text-white {
  color: #fff !important;
}

/* ==============================
   2) COPY LADO IZQUIERDO
   ============================== */
.lp-brand {
  color: #fff;
}
.lp-brand h1,
.lp-brand .lead,
.lp-brand li {
  color: #fff;
}

/* Fuerza alineación izquierda aunque el contenedor sea .text-center */
.contact.section .lp-brand,
.contact.section .lp-brand * {
  text-align: left !important;
}

/* Badges superiores (dentro de .lp-badges) */
.lp-badges .badge {
  font-weight: 600;
  background: #ffffffdd;
  color: #0b1220;
  border: 1px solid rgba(0, 0, 0, 0.07);
}

/* Badge clara de Bootstrap adaptada a fondo oscuro */
.badge.text-bg-light {
  background: #004996 !important;
  color: #fff !important;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

/* Lista con viñetas */
.list-bullets {
  list-style: disc !important; /* importante por resets globales */
  padding-left: 1.25rem !important;
}
.list-bullets li {
  margin: 0.25rem 0;
}

/* ==============================
   3) TRUSTBAR
   ============================== */
.trustbar {
  background: #004996;
  border: 1px solid #004996;
  border-radius: 0.5rem;
  color: #cfe8ff;
}
.trustbar .badge {
  color: #cfe8ff;
  font-weight: 600;
}

/* ==============================
   4) BOTONES CTA
   ============================== */
.btn-cta-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 14px 20px;
  font-weight: 700;
  letter-spacing: 0.2px;
  color: #fff !important;
  border: 0;
  border-radius: 6px; /* look recto */
  background: linear-gradient(90deg, #1fa2ff 0%, #12d8fa 50%, #1fa94a 100%);
  background-size: 200% 100%;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.28);
  transition: background-position 0.4s ease, transform 0.18s ease,
    box-shadow 0.18s ease;
}
.btn-cta-primary:hover {
  background-position: 100% 0%;
  transform: translateY(-2px);
  box-shadow: 0 14px 26px rgba(0, 0, 0, 0.35);
}

.btn-cta-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 12px 18px;
  font-weight: 700;
  color: #22c55e !important;
  border: 2px solid #22c55e;
  border-radius: 6px; /* recto */
  background: transparent;
  transition: filter 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease,
    background 0.18s ease, color 0.18s ease;
}
.btn-cta-outline:hover {
  background: #22c55e;
  color: #fff !important;
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.25);
}

/* ==============================
   5) FORMULARIO (lado derecho)
   ============================== */
.lp-form .form-label {
  font-weight: 600;
}
/* Prioriza sobre la regla global de .contact.section */
.contact.section .lp-form h2.h5 {
  color: #000 !important;
}
/* Corrige temas que ocultan checkboxes globalmente */
#leadForm input[type="checkbox"] {
  position: static !important;
  left: auto !important;
}

/* Mantén el checkbox nativo de Bootstrap */
#leadForm .form-check {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
#leadForm .form-check-input {
  appearance: auto;
  -webkit-appearance: checkbox;
  position: static;
  opacity: 1;
  width: 1.1rem;
  height: 1.1rem;
  margin: 0 0 0 0;
}

/* Forzar <select> nativo (evita skins) */
#leadForm select#program,
#leadForm select[name="program"],
#leadForm select[name="programa"] {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  -webkit-appearance: none !important; /* caret Bootstrap */
  appearance: none !important;
  background-image: var(--bs-form-select-bg-img) !important;
  padding-right: 2.25rem !important;
}

/* Si el plugin dejó duplicado el select, oculta el siguiente inmediato */
#leadForm .mb-2 select + select {
  display: none !important;
}

/* Oculta clones/skins de plugins dentro del form */
#leadForm .custom-select-container,
#leadForm .customSelect,
#leadForm [role="combobox"],
#leadForm .nice-select,
#leadForm .choices,
#leadForm .select2,
#leadForm .select2-container {
  display: none !important;
}

/* Texto de ayuda legible sobre fondo oscuro */
.contact.section {
  color: rgba(255, 255, 255, 0.85);
}
.form-text {
  color: rgba(2, 2, 2, 0.85);
}

/* ==============================
   6) RESPONSIVE
   ============================== */
@media (max-width: 576px) {
  .btn-cta-primary,
  .btn-cta-outline {
    width: 100%;
  }
}
@media (min-width: 768px) {
  .contact.section {
    min-height: 40vh;
  }
}
@media (min-width: 992px) {
  .contact.section {
    padding: 80px 0;
  }
}

/*
  ps-snippet.css
  Estilos extraídos y ajustados para el snippet "Prueba Social".
  Fuentes: projects.css, indets.css, landing.css (solo lo relevante).
  Cargar DESPUÉS de Bootstrap y de tus hojas base.
*/

/* ============ 1) CONTENEDOR DE SECCIÓN (.ps) ============ */
/* Base tomada de indets.css y ajustada para legibilidad en oscuro */
.ps {
  position: relative;
  min-height: 25vh;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  text-align: left;
  /* Fondo (ajusta la ruta a tu proyecto) */
  background-image: url("../img/index/ps_bg.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 1;
  color: #fff; /* textos por defecto claros */
}

/* Overlay para contraste sobre la imagen */
.ps.section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(13, 31, 53, 0.65); /* overlay azul oscuro */
  z-index: 2;
}

/* Asegura el contenido sobre el overlay */
.ps .container {
  position: relative;
  z-index: 3;
}

/* Si usas una clase 'flex' junto a container, limítala a este bloque para evitar efectos globales */
.ps .flex {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* Titulares y textos en blanco dentro de la sección */
.ps h2,
.ps h3,
.ps h4,
.ps .text-white {
  color: #fff !important;
}

/* ============ 2) TESTIMONIOS (t-card, t-avatar, t-stars) ============ */
/* Glass card sobre fondo oscuro — desde landing.css */
.t-card {
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.24) !important;
  color: #fff;
  backdrop-filter: blur(6px);
  border-radius: 0.9rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.t-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.35);
}

.t-avatar {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.45);
}

.t-stars {
  letter-spacing: 0.15rem;
  color: #ffd166; /* dorado cálido */
  font-size: 0.9rem;
}

/* ============ 3) KPIs (kpi, kpi-num, kpi-label) ============ */
.kpi {
  text-align: center;
  color: #fff;
}

.kpi-num {
  font-weight: 1000;
  line-height: 2;
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  background: linear-gradient(90deg, #0ea5e9, #22c55e);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent; /* texto en degradado */
}

.kpi-label {
  font-size: 0.9rem;
  opacity: 0.85;
}

/* ============ 4) RESPONSIVE REFINEMENTS ============ */
@media (min-width: 992px) {
  .ps {
    min-height: 40vh;
  }
  .t-card {
    border-radius: 1rem;
  }
}

@media (max-width: 576px) {
  .t-avatar {
    width: 56px;
    height: 56px;
  }
}
