/* =========================================================
   FLASHFILL MAIN.CSS — BOOTSTRAP FREE
   Actualizado para funcionar sin Bootstrap CSS / JS / Icons
   ========================================================= */

/* =========================================================
   1. VARIABLES GLOBALES
   ========================================================= */

:root {
  --ff-blue: #2563eb;
  --ff-blue-hover: #1d4ed8;
  --ff-dark: #0f172a;
  --ff-gray-bg: #f8fafc;
  --ff-subtext: #64748b;
  --ff-muted: #64748b;
  --ff-border: #e2e8f0;
  --ff-danger: #f43f5e;
  --ff-danger-bg: #fff1f2;
  --ff-success: #16a34a;
  --ff-success-bg: #ecfdf5;
  --ff-blue-soft: #eff6ff;
  --ff-blue-bg: #eff6ff;
  --ff-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
}

/* =========================================================
   2. RESET / BASE
   ========================================================= */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ff-dark);
  background: #ffffff;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  color: inherit;
}

img,
picture,
svg {
  max-width: 100%;
}

img {
  height: auto;
}

button,
input,
textarea,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

.gtm-noscript-frame {
  display: none !important;
  visibility: hidden !important;
  width: 0 !important;
  height: 0 !important;
  border: 0 !important;
  position: absolute !important;
  left: -9999px !important;
}

/* =========================================================
   3. BOOTSTRAP-FREE COMPATIBILITY LAYER
   ========================================================= */

.container {
  width: min(1180px, calc(100% - 32px));
  margin-left: auto;
  margin-right: auto;
}

.row {
  display: flex;
  flex-wrap: wrap;
  margin-left: -12px;
  margin-right: -12px;
}

.row > * {
  padding-left: 12px;
  padding-right: 12px;
}

.col,
.col-12,
.col-md-3,
.col-md-4,
.col-md-6,
.col-lg-4,
.col-lg-5,
.col-lg-6,
.col-lg-7,
.col-lg-8,
.col-xl-3 {
  width: 100%;
  flex: 0 0 100%;
  max-width: 100%;
}

@media (min-width: 768px) {
  .col-md-3 {
    flex: 0 0 25%;
    max-width: 25%;
  }

  .col-md-4 {
    flex: 0 0 33.3333%;
    max-width: 33.3333%;
  }

  .col-md-6 {
    flex: 0 0 50%;
    max-width: 50%;
  }
}

@media (min-width: 992px) {
  .col-lg-4 {
    flex: 0 0 33.3333%;
    max-width: 33.3333%;
  }

  .col-lg-5 {
    flex: 0 0 41.6667%;
    max-width: 41.6667%;
  }

  .col-lg-6 {
    flex: 0 0 50%;
    max-width: 50%;
  }

  .col-lg-7 {
    flex: 0 0 58.3333%;
    max-width: 58.3333%;
  }

  .col-lg-8 {
    flex: 0 0 66.6667%;
    max-width: 66.6667%;
  }
}

@media (min-width: 1200px) {
  .col-xl-3 {
    flex: 0 0 25%;
    max-width: 25%;
  }
}

/* Gaps de grid tipo Bootstrap */
.g-0 { row-gap: 0 !important; }
.g-3 { row-gap: 1rem !important; }
.g-4 { row-gap: 1.5rem !important; }
.g-5 { row-gap: 3rem !important; }

.g-3 > * { padding-left: 8px; padding-right: 8px; }
.g-4 > * { padding-left: 12px; padding-right: 12px; }
.g-5 > * { padding-left: 18px; padding-right: 18px; }

.g-3 { margin-left: -8px; margin-right: -8px; }
.g-4 { margin-left: -12px; margin-right: -12px; }
.g-5 { margin-left: -18px; margin-right: -18px; }

/* Display helpers */
.d-none { display: none !important; }
.d-block { display: block !important; }
.d-flex { display: flex !important; }
.d-grid { display: grid !important; }
.inline-flex { display: inline-flex !important; }

.align-items-center { align-items: center !important; }
.align-items-start { align-items: flex-start !important; }
.align-items-end { align-items: flex-end !important; }
.align-items-stretch { align-items: stretch !important; }

.justify-content-center { justify-content: center !important; }
.justify-content-between { justify-content: space-between !important; }
.justify-content-end { justify-content: flex-end !important; }

.flex-column { flex-direction: column !important; }
.flex-wrap { flex-wrap: wrap !important; }

.gap-1 { gap: 0.25rem !important; }
.gap-2 { gap: 0.5rem !important; }
.gap-3 { gap: 1rem !important; }
.gap-4 { gap: 1.5rem !important; }
.gap-5 { gap: 3rem !important; }

/* Spacing helpers */
.m-0 { margin: 0 !important; }
.mt-0 { margin-top: 0 !important; }
.mt-1 { margin-top: 0.25rem !important; }
.mt-2 { margin-top: 0.5rem !important; }
.mt-3 { margin-top: 1rem !important; }
.mt-4 { margin-top: 1.5rem !important; }
.mt-5 { margin-top: 3rem !important; }

.mb-0 { margin-bottom: 0 !important; }
.mb-1 { margin-bottom: 0.25rem !important; }
.mb-2 { margin-bottom: 0.5rem !important; }
.mb-3 { margin-bottom: 1rem !important; }
.mb-4 { margin-bottom: 1.5rem !important; }
.mb-5 { margin-bottom: 3rem !important; }

.ms-auto { margin-left: auto !important; }
.me-auto { margin-right: auto !important; }
.mx-auto { margin-left: auto !important; margin-right: auto !important; }
.mx-3 { margin-left: 1rem !important; margin-right: 1rem !important; }

.p-0 { padding: 0 !important; }
.p-3 { padding: 1rem !important; }
.p-4 { padding: 1.5rem !important; }
.p-5 { padding: 3rem !important; }
.py-4 { padding-top: 1.5rem !important; padding-bottom: 1.5rem !important; }
.py-5 { padding-top: 3rem !important; padding-bottom: 3rem !important; }
.pb-4 { padding-bottom: 1.5rem !important; }
.pb-5 { padding-bottom: 3rem !important; }

@media (min-width: 768px) {
  .mb-md-0 { margin-bottom: 0 !important; }
}

@media (min-width: 992px) {
  .mt-lg-0 { margin-top: 0 !important; }
  .pe-lg-5 { padding-right: 3rem !important; }
}

/* Text helpers */
.text-center { text-align: center !important; }
.text-start { text-align: left !important; }
.text-end { text-align: right !important; }

.fw-bold { font-weight: 800 !important; }
.fw-semibold { font-weight: 700 !important; }
.fw-normal { font-weight: 400 !important; }

.small { font-size: 0.875rem !important; }
.fs-5 { font-size: 1.25rem !important; }
.lead {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  line-height: 1.7;
}

.text-muted { color: var(--ff-subtext) !important; }
.text-white { color: #ffffff !important; }
.text-primary { color: var(--ff-blue) !important; }
.text-decoration-none { text-decoration: none !important; }

.opacity-75 { opacity: 0.75 !important; }
.opacity-10 { opacity: 0.1 !important; }

/* Sizing / position helpers */
.w-100 { width: 100% !important; }
.w-75 { width: 75% !important; }
.h-75 { height: 75% !important; }

.position-relative { position: relative !important; }
.position-absolute { position: absolute !important; }

.top-50 { top: 50% !important; }
.start-50 { left: 50% !important; }
.translate-middle { transform: translate(-50%, -50%) !important; }

.img-fluid {
  max-width: 100%;
  height: auto;
  display: block;
}

.rounded { border-radius: 12px !important; }
.rounded-4 { border-radius: 24px !important; }
.rounded-circle { border-radius: 50% !important; }

.shadow-sm { box-shadow: 0 10px 25px rgba(15, 23, 42, 0.06) !important; }
.shadow-lg { box-shadow: 0 24px 70px rgba(15, 23, 42, 0.16) !important; }

.border { border: 1px solid var(--ff-border) !important; }
.border-0 { border: 0 !important; }
.border-white { border-color: #ffffff !important; }

.bg-white { background: #ffffff !important; }
.bg-primary { background: var(--ff-blue) !important; }
.bg-danger { background: var(--ff-danger) !important; }

/* List helpers */
.list-inline {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.list-inline-item {
  display: inline-block;
}

/* =========================================================
   4. BOTONES
   ========================================================= */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--ff-blue);
  color: #ffffff;
  box-shadow: 0 14px 28px rgba(37, 99, 235, 0.24);
}

.btn-primary:hover {
  background: var(--ff-blue-hover);
  color: #ffffff;
}

.btn-nav-primary,
.btn-hero-primary {
  background-color: var(--ff-blue);
  color: white !important;
  border: none;
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.28);
  text-decoration: none;
  padding: 13px 30px;
  font-weight: 800;
  border-radius: 12px;
}

.btn-nav-primary:hover,
.btn-hero-primary:hover {
  background-color: var(--ff-blue-hover);
  color: white !important;
  transform: translateY(-1px);
}

.btn-hero-secondary,
.btn-outline-primary {
  background-color: #ffffff;
  color: var(--ff-dark) !important;
  border: 1px solid var(--ff-border);
  text-decoration: none;
  padding: 13px 30px;
  font-weight: 800;
  border-radius: 12px;
}

.btn-hero-secondary:hover,
.btn-outline-primary:hover {
  background-color: var(--ff-gray-bg);
  color: var(--ff-dark) !important;
  transform: translateY(-1px);
}

/* =========================================================
   5. NAVEGACIÓN
   ========================================================= */

.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.85);
  padding: 0;
}

.navbar .container {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ff-dark);
  font-weight: 900;
  font-size: 1.25rem;
  text-decoration: none;
}

.brand-icon {
  background-color: var(--ff-blue);
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-weight: 900;
}

.navbar-collapse {
  display: flex;
  align-items: center;
}

.navbar-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.navbar-nav .nav-item {
  list-style: none;
}

.nav-link {
  color: var(--ff-dark);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  margin: 0;
}

.nav-link:hover {
  color: var(--ff-blue);
}

.navbar-nav .btn {
  margin-left: 4px;
}

.navbar-toggler {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--ff-border);
  border-radius: 12px;
  background: #ffffff;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

.navbar-toggler-icon {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--ff-dark);
  position: relative;
}

.navbar-toggler-icon::before,
.navbar-toggler-icon::after {
  content: "";
  position: absolute;
  left: 0;
  width: 20px;
  height: 2px;
  background: var(--ff-dark);
}

.navbar-toggler-icon::before {
  top: -7px;
}

.navbar-toggler-icon::after {
  top: 7px;
}

@media (max-width: 991px) {
  .navbar .container {
    min-height: auto;
    padding: 14px 0;
    flex-wrap: wrap;
  }

  .navbar-toggler {
    display: inline-flex;
    margin-left: auto;
  }

  .navbar-collapse {
    display: none;
    width: 100%;
    padding-top: 18px;
  }

  .navbar-collapse.show {
    display: block;
  }

  .navbar-nav {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .navbar-nav .nav-link,
  .navbar-nav .btn {
    width: 100%;
    justify-content: center;
    text-align: center;
  }
}

/* =========================================================
   6. HERO
   ========================================================= */

.section-padding {
  padding: 84px 0;
}

.bg-light-section {
  background-color: var(--ff-gray-bg);
}

.text-navy {
  color: var(--ff-dark);
}

.blue-text {
  color: var(--ff-blue);
}

.ff-max-800 {
  max-width: 800px;
}

.ff-max-600 {
  max-width: 600px;
}

.hero {
  padding: 100px 0 92px;
  background:
    radial-gradient(circle at 88% 25%, rgba(37, 99, 235, 0.13), transparent 30%),
    linear-gradient(180deg, #ffffff 0%, #ffffff 55%, #f8fafc 100%);
}

.badge-impulsado {
  background-color: var(--ff-blue-soft);
  color: var(--ff-blue);
  font-weight: 800;
  font-size: 0.82rem;
  padding: 9px 16px;
  border-radius: 50px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 30px;
  border: 1px solid #bfdbfe;
}

.hero-title {
  font-weight: 900;
  font-size: clamp(2.7rem, 5.7vw, 4.8rem);
  line-height: 0.98;
  letter-spacing: -0.06em;
  margin: 0 0 24px;
}

.hero-subtitle {
  color: var(--ff-subtext);
  font-size: 1.14rem;
  max-width: 680px;
  margin: 0 0 36px 0;
  line-height: 1.7;
}

.hero-btns .btn {
  font-size: 1rem;
}

.hero-support-text {
  margin-top: 20px;
  color: var(--ff-subtext);
  font-size: 0.94rem;
}

.hero-trust-list {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-trust-list span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 12px;
  background: #ffffff;
  border: 1px solid var(--ff-border);
  border-radius: 999px;
  color: var(--ff-dark);
  font-size: 0.86rem;
  font-weight: 700;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.04);
}

.hero-trust-list .ff-icon-mini {
  color: var(--ff-success);
}

.hero-glow,
.hero-image-glow {
  background-color: rgba(37, 99, 235, 0.12);
  filter: blur(62px);
  z-index: -1;
}

.hero-preview-img {
  transform: perspective(1000px) rotateY(-5deg) rotateX(2deg);
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.14) !important;
}

/* =========================================================
   7. TÍTULOS DE SECCIÓN
   ========================================================= */

.section-title {
  font-weight: 850;
  font-size: clamp(2rem, 4vw, 2.8rem);
  line-height: 1.08;
  letter-spacing: -0.045em;
  margin: 0 0 15px;
}

.section-subtitle {
  color: var(--ff-subtext);
  margin-bottom: 50px;
  font-size: 1.08rem;
  line-height: 1.7;
}

/* =========================================================
   8. ICONOS SIN BOOTSTRAP
   ========================================================= */

.ff-icon,
.icon-box {
  width: 52px;
  height: 52px;
  background-color: rgba(37, 99, 235, 0.1);
  color: var(--ff-blue);
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.55rem;
  font-weight: 900;
  margin-bottom: 20px;
}

.ff-icon-mini {
  width: 22px;
  height: 22px;
  min-width: 22px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--ff-success-bg);
  color: var(--ff-success);
  font-size: 0.84rem;
  font-weight: 900;
}

/* Fallback si todavía queda alguna clase bi en el HTML */
.bi {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-style: normal;
  font-family: inherit;
  line-height: 1;
}

.bi-check-circle-fill::before { content: "✓"; color: var(--ff-success); font-weight: 900; }
.bi-file-earmark-word::before { content: "W"; font-weight: 900; }
.bi-table::before { content: "X"; font-weight: 900; }
.bi-filetype-pdf::before { content: "PDF"; font-size: 0.72rem; font-weight: 900; }
.bi-lightning-charge::before,
.bi-lightning-charge-fill::before { content: "⚡"; }
.bi-clock-history::before { content: "⏱"; }
.bi-briefcase::before { content: "💼"; }
.bi-shield-check::before { content: "🛡"; }
.bi-patch-check::before { content: "✓"; }
.bi-people::before { content: "👥"; }
.bi-mortarboard::before { content: "🎓"; }
.bi-file-earmark-text::before { content: "📄"; }
.bi-building::before { content: "🏢"; }
.bi-cart-check::before { content: "🛒"; }
.bi-chat-dots-fill::before { content: "💬"; }

/* =========================================================
   9. TARJETAS GENERALES
   ========================================================= */

.ff-card {
  background: #ffffff;
  border: 1px solid var(--ff-border);
  border-radius: 18px;
  padding: 30px;
  height: 100%;
  transition: transform 0.2s, box-shadow 0.2s;
}

.ff-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.08) !important;
}

.ff-card h5 {
  font-weight: 800;
  margin: 0 0 10px;
}

/* =========================================================
   10. CONFIANZA / BLOQUE DE VALOR
   ========================================================= */

.counter-box {
  background: #ffffff;
  border: 1px solid var(--ff-border);
  border-radius: 18px;
  padding: 28px 20px;
  height: 100%;
}

.counter-number {
  font-size: 2.4rem;
  font-weight: 900;
  color: var(--ff-dark);
}

.trust-box .counter-number {
  color: var(--ff-blue);
}

.counter-label {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  margin: 0;
  text-transform: uppercase;
  color: var(--ff-subtext);
  font-weight: 800;
}

.ethical-fomo {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  background: #ffffff;
  border: 1px solid #bfdbfe;
  border-radius: 18px;
  padding: 18px 24px;
  box-shadow: var(--ff-shadow);
}

.ethical-fomo strong {
  color: var(--ff-dark);
  font-size: 1.05rem;
}

.ethical-fomo span {
  color: var(--ff-subtext);
  font-size: 0.95rem;
}

/* =========================================================
   11. PASOS / CÓMO FUNCIONA
   ========================================================= */

.process-glow {
  width: 280px;
  height: 280px;
  opacity: 0.12;
  filter: blur(60px);
  z-index: 0;
}

.process-img {
  position: relative;
  z-index: 1;
}

.step-icon {
  width: 48px;
  height: 48px;
  background-color: var(--ff-blue);
  color: white;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 1.25rem;
  flex-shrink: 0;
  box-shadow: 0 6px 16px rgba(37, 99, 235, 0.23);
}

.step-card {
  border: 1px solid transparent;
  transition: all 0.3s ease;
}

.step-card:hover {
  background-color: #ffffff;
  border-color: var(--ff-border);
  transform: translateX(12px);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06);
}

.step-card-featured {
  background-color: #f0f7ff;
  border: 1px solid rgba(37, 99, 235, 0.15);
}

/* =========================================================
   12. ANTES VS DESPUÉS
   ========================================================= */

.compare-card {
  height: 100%;
  background: #ffffff;
  border: 1px solid var(--ff-border);
  border-radius: 22px;
  padding: 32px;
  box-shadow: var(--ff-shadow);
}

.compare-label {
  display: inline-flex;
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 900;
  margin-bottom: 16px;
}

.compare-before .compare-label {
  background: var(--ff-danger-bg);
  color: var(--ff-danger);
}

.compare-after .compare-label {
  background: var(--ff-success-bg);
  color: var(--ff-success);
}

.compare-card h3 {
  font-weight: 850;
  margin: 0 0 18px;
}

.compare-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.compare-card li {
  color: var(--ff-subtext);
  font-weight: 600;
  padding-left: 28px;
  position: relative;
}

.compare-before li::before {
  content: "✕";
  position: absolute;
  left: 0;
  color: var(--ff-danger);
  font-weight: 900;
}

.compare-after li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--ff-success);
  font-weight: 900;
}

/* =========================================================
   13. CASOS DE USO
   ========================================================= */

.use-case-card {
  display: block;
  height: 100%;
  background: #ffffff;
  border: 1px solid var(--ff-border);
  border-radius: 20px;
  padding: 28px;
  color: var(--ff-dark);
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.use-case-card:hover {
  transform: translateY(-5px);
  color: var(--ff-dark);
  border-color: #bfdbfe;
  box-shadow: var(--ff-shadow);
}

.use-case-card h5 {
  font-weight: 850;
  margin: 0 0 10px;
}

.use-case-card p {
  color: var(--ff-subtext);
  font-size: 0.94rem;
  line-height: 1.65;
  margin: 0 0 18px;
}

.use-case-card span {
  color: var(--ff-blue);
  font-weight: 800;
  font-size: 0.9rem;
}

/* =========================================================
   14. SECCIÓN PROBLEMAS
   ========================================================= */

.problem-box {
  background-color: var(--ff-danger-bg);
  border-left: 5px solid var(--ff-danger);
}

.problem-icon {
  color: var(--ff-danger);
  font-size: 1.5rem;
  font-weight: 900;
}

.problem-text {
  color: var(--ff-danger);
  font-weight: 800;
}

/* =========================================================
   15. TESTIMONIOS / EJEMPLOS
   ========================================================= */

.testimonial-card {
  height: 100%;
  background: #ffffff;
  border: 1px solid var(--ff-border);
  border-radius: 20px;
  padding: 30px;
  box-shadow: var(--ff-shadow);
}

.testimonial-card p {
  color: var(--ff-dark);
  font-size: 1rem;
  line-height: 1.75;
  margin: 0 0 22px;
}

.testimonial-card strong {
  display: block;
  color: var(--ff-dark);
  font-weight: 850;
}

.testimonial-card span {
  display: block;
  color: var(--ff-blue);
  font-weight: 800;
  font-size: 0.88rem;
  margin-top: 4px;
}

/* =========================================================
   16. PLANES
   ========================================================= */

.plan-card {
  border: 1px solid var(--ff-border);
  border-radius: 20px;
  padding: 30px;
  background-color: #ffffff;
  height: 100%;
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.04);
}

.plan-card.featured {
  border: 2px solid var(--ff-blue);
  box-shadow: 0 18px 45px rgba(37, 99, 235, 0.13);
  position: relative;
}

.featured-badge {
  position: absolute;
  top: -13px;
  left: 24px;
  background-color: var(--ff-blue);
  color: white;
  padding: 5px 13px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 800;
}

.plan-price {
  font-size: 2.35rem;
  font-weight: 900;
  margin: 15px 0;
  letter-spacing: -0.04em;
}

.plan-price span {
  display: inline-block;
  font-size: 0.92rem;
  color: var(--ff-subtext);
  font-weight: 600;
  letter-spacing: 0;
}

.plan-features {
  list-style: none;
  padding: 0;
  margin: 24px 0 30px;
  font-size: 0.93rem;
  text-align: left;
  flex-grow: 1;
}

.plan-features li {
  margin-bottom: 12px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.plan-features .ff-icon-mini {
  margin-top: -2px;
}

.pricing-note {
  color: var(--ff-subtext);
  font-size: 0.92rem;
}

/* =========================================================
   17. FAQ SIN BOOTSTRAP
   ========================================================= */

.faq-list {
  display: grid;
  gap: 14px;
}

.faq-list details,
.accordion-item {
  background: #ffffff;
  border: 1px solid var(--ff-border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.04);
}

.faq-list summary,
.accordion-button {
  list-style: none;
  width: 100%;
  background: #ffffff;
  color: var(--ff-dark);
  border: 0;
  padding: 18px 20px;
  text-align: left;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  color: var(--ff-blue);
  font-size: 1.4rem;
  font-weight: 900;
}

.faq-list details[open] summary {
  background: var(--ff-blue-soft);
  color: var(--ff-blue);
}

.faq-list details[open] summary::after {
  content: "–";
}

.faq-answer,
.accordion-body {
  color: var(--ff-subtext);
  font-size: 0.95rem;
  line-height: 1.7;
  padding: 0 20px 20px;
}

.accordion-collapse.collapse {
  display: block;
}

/* =========================================================
   18. CTA FINAL
   ========================================================= */

.cta-dark {
  background:
    radial-gradient(circle at 82% 10%, rgba(37, 99, 235, 0.42), transparent 28%),
    var(--ff-dark);
  color: white;
}

.cta-dark p {
  max-width: 600px;
}

/* =========================================================
   19. CHATBOT
   ========================================================= */

.ff-chatbot {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
  font-family: "Inter", sans-serif;
}

.chat-bubble {
  display: none;
  width: 300px;
  background: white;
  border-radius: 20px;
  border: 1px solid var(--ff-border);
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.chat-bubble.chat-visible {
  display: block;
  animation: ffChatIn 0.2s ease;
}

@keyframes ffChatIn {
  from {
    opacity: 0;
    transform: translateY(8px) scale(0.98);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.chat-header {
  background: var(--ff-blue);
  padding: 15px;
  color: white;
  display: flex;
  align-items: center;
  gap: 10px;
}

.chat-status-dot {
  width: 10px;
  height: 10px;
  background: #4ade80;
  border-radius: 50%;
}

.chat-title {
  font-weight: 700;
  font-size: 0.9rem;
}

.chat-body {
  padding: 20px;
}

.chat-text {
  font-size: 0.85rem;
  color: #475569;
  margin: 0 0 15px;
}

.chat-link {
  display: block;
  background: var(--ff-blue);
  color: white;
  text-align: center;
  padding: 10px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.8rem;
}

.chat-link:hover {
  color: white;
  background: var(--ff-blue-hover);
}

.chat-toggle {
  width: 60px;
  height: 60px;
  background: var(--ff-blue);
  border: none;
  border-radius: 50%;
  color: white;
  font-size: 24px;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s;
}

.chat-toggle:hover {
  transform: scale(1.05);
}

/* =========================================================
   20. FOOTER
   ========================================================= */

footer {
  padding: 50px 0;
  border-top: 1px solid var(--ff-border);
  background-color: var(--ff-gray-bg);
  color: var(--ff-subtext);
  font-size: 0.9rem;
}
/* =========================================================
   FIX FOOTER EN UNA SOLA LÍNEA
   ========================================================= */

.site-footer {
  padding: 28px 0;
  border-top: 1px solid var(--ff-border);
  background: var(--ff-gray-bg);
}

.site-footer .footer-wrapper {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.site-footer .footer-left {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.site-footer .footer-brand {
  font-weight: 900;
  color: var(--ff-dark);
  letter-spacing: -0.02em;
}

.site-footer .footer-copy {
  margin: 0;
  color: var(--ff-subtext);
  font-size: 0.9rem;
}

.site-footer .footer-links {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;

  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 22px !important;
}

.site-footer .footer-links li {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.site-footer .footer-links li::marker {
  content: "" !important;
}

.site-footer .footer-links a {
  color: var(--ff-subtext);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.92rem;
}

.site-footer .footer-links a:hover {
  color: var(--ff-blue);
}

@media (max-width: 767px) {
  .site-footer .footer-wrapper {
    flex-direction: column;
    text-align: center;
    justify-content: center;
  }

  .site-footer .footer-links {
    justify-content: center !important;
    flex-wrap: wrap;
  }
}
/* =========================================================
   21. RESPONSIVE
   ========================================================= */

@media (max-width: 1199px) {
  .plan-card {
    padding: 26px;
  }

  .plan-price {
    font-size: 2.1rem;
  }
}

@media (max-width: 991px) {
  .navbar .container {
    min-height: auto;
    padding-top: 14px;
    padding-bottom: 14px;
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .navbar-toggler {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
  }

  .navbar-collapse {
    display: none;
    width: 100%;
    padding-top: 18px;
  }

  .navbar-collapse.show {
    display: block;
  }

  .navbar-nav {
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .navbar-nav .nav-item {
    width: 100%;
  }

  .navbar-nav .nav-link,
  .navbar-nav .btn {
    width: 100%;
    justify-content: center;
    margin: 0;
  }

  .hero {
    padding: 74px 0;
    text-align: center;
  }

  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-btns,
  .hero-trust-list {
    justify-content: center;
    flex-wrap: wrap;
  }

  .step-card:hover {
    transform: none;
  }

  .hero-preview-img {
    transform: none;
  }
}

@media (max-width: 767px) {
  .container {
    width: min(100% - 28px, 1180px);
  }

  .section-padding {
    padding: 60px 0;
  }

  .hero {
    padding: 58px 0 64px;
  }

  .hero-title {
    font-size: 2.45rem;
    letter-spacing: -0.045em;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .hero-btns {
    flex-direction: column;
  }

  .hero-btns .btn {
    width: 100%;
  }

  .ethical-fomo {
    align-items: flex-start;
    text-align: left;
  }

  .compare-card,
  .testimonial-card,
  .use-case-card,
  .plan-card,
  .ff-card {
    padding: 24px;
  }

  .chat-bubble {
    width: calc(100vw - 40px);
  }

  .ff-chatbot {
    right: 15px;
    bottom: 15px;
  }

  .list-inline-item {
    margin-bottom: 8px;
  }
}
/* =========================================================
   PLANES HOME - COHERENTE CON PÁGINA DE PRECIOS
   ========================================================= */

.pricing-home-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  margin-top: 40px;
  text-align: left;
}

.pricing-home-card {
  position: relative;
  background: #ffffff;
  border: 1px solid var(--ff-border);
  border-radius: 24px;
  padding: 32px 28px;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.04);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.pricing-home-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 46px rgba(15, 23, 42, 0.08);
}

.pricing-home-card h3 {
  font-size: 1.55rem;
  font-weight: 900;
  color: var(--ff-dark);
  margin: 0 0 14px;
  letter-spacing: -0.03em;
}

.pricing-home-description {
  color: var(--ff-subtext);
  font-size: 0.98rem;
  line-height: 1.65;
  min-height: 84px;
  margin: 0 0 26px;
}

.pricing-home-price {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--ff-dark);
  letter-spacing: -0.055em;
  margin-bottom: 28px;
}

.pricing-home-price span {
  font-size: 1rem;
  font-weight: 700;
  color: var(--ff-subtext);
  letter-spacing: 0;
}

.pricing-home-features {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  display: grid;
  gap: 13px;
  flex: 1;
}

.pricing-home-features li {
  position: relative;
  padding-left: 30px;
  color: var(--ff-dark);
  font-size: 0.97rem;
  line-height: 1.5;
}

.pricing-home-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  width: 20px;
  height: 20px;
  border-radius: 999px;
  background: var(--ff-blue-soft);
  color: var(--ff-blue);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 0.8rem;
}

.pricing-home-featured {
  border: 2px solid var(--ff-blue);
  box-shadow: 0 22px 48px rgba(37, 99, 235, 0.12);
}

.pricing-home-featured h3 {
  color: var(--ff-blue);
}

.pricing-home-badge {
  position: absolute;
  top: -15px;
  left: 28px;
  background: var(--ff-blue);
  color: #ffffff;
  padding: 7px 18px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 900;
}

.btn-dark-home {
  background: var(--ff-dark);
  color: #ffffff;
  border: none;
  text-decoration: none;
  padding: 13px 24px;
  font-weight: 900;
  border-radius: 12px;
}

.btn-dark-home:hover {
  background: #020617;
  color: #ffffff;
  transform: translateY(-1px);
}

.w-100 {
  width: 100% !important;
}

@media (max-width: 1199px) {
  .pricing-home-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pricing-home-description {
    min-height: 64px;
  }
}

@media (max-width: 767px) {
  .pricing-home-grid {
    grid-template-columns: 1fr;
  }

  .pricing-home-card {
    padding: 28px 24px;
  }

  .pricing-home-description {
    min-height: auto;
  }

  .pricing-home-price {
    font-size: 2.25rem;
  }
}

/* =========================================================
   22. FIX FINAL — CÓMO FUNCIONA + FOOTER
   Pegar al final del archivo para sobrescribir estilos previos
   ========================================================= */

/* ---------- CÓMO FUNCIONA / 3 PASOS ---------- */

/* Aplica al bloque actual:
   <section id="como-funciona" ...>
   <div class="row align-items-center g-5">
*/
#como-funciona .container {
  max-width: 1180px;
}

#como-funciona .row {
  align-items: center !important;
  justify-content: center !important;
  row-gap: 48px;
}

/* Columna de imagen */
#como-funciona .col-lg-6:first-child {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Contenedor de imagen */
#como-funciona .col-lg-6:first-child > .position-relative {
  width: 100%;
  max-width: 520px;
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}

/* Imagen centrada */
#como-funciona .process-img {
  display: block;
  width: 100%;
  max-width: 520px;
  height: auto;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* Columna de pasos */
#como-funciona .col-lg-6:last-child {
  display: flex;
  align-items: center;
}

/* Lista de pasos centrada verticalmente */
#como-funciona .col-lg-6:last-child > .d-flex {
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
  justify-content: center;
}

/* Cards de pasos más limpias */
#como-funciona .step-card {
  width: 100%;
  background: #ffffff;
  border: 1px solid transparent;
  border-radius: 22px !important;
}

#como-funciona .step-card-featured {
  background: var(--ff-blue-soft);
  border-color: #bfdbfe;
}

/* Evita desplazamiento lateral exagerado */
#como-funciona .step-card:hover {
  transform: translateX(6px);
}

/* Glow no debe desalinear la imagen */
#como-funciona .process-glow {
  left: 50% !important;
  top: 50% !important;
  transform: translate(-50%, -50%) !important;
}

/* Desktop: imagen y texto alineados en el centro */
@media (min-width: 992px) {
  #como-funciona .row {
    min-height: 520px;
  }

  #como-funciona .col-lg-6 {
    display: flex;
    align-items: center;
  }
}

/* Móvil/tablet: imagen arriba y pasos abajo, todo centrado */
@media (max-width: 991px) {
  #como-funciona .row {
    min-height: auto;
  }

  #como-funciona .col-lg-6:first-child > .position-relative {
    min-height: auto;
    max-width: 460px;
  }

  #como-funciona .process-img {
    max-width: 460px;
  }

  #como-funciona .col-lg-6:last-child > .d-flex {
    max-width: 620px;
  }

  #como-funciona .step-card:hover {
    transform: none;
  }
}

@media (max-width: 575px) {
  #como-funciona .process-img {
    max-width: 100%;
  }

  #como-funciona .step-card {
    padding: 20px !important;
  }

  #como-funciona .step-icon {
    width: 42px;
    height: 42px;
    min-width: 42px;
  }
}


/* ---------- FOOTER EN UNA SOLA LÍNEA ---------- */

/* Anula el footer genérico anterior */
footer.site-footer,
.site-footer {
  padding: 28px 0 !important;
  border-top: 1px solid var(--ff-border) !important;
  background: var(--ff-gray-bg) !important;
  color: var(--ff-subtext) !important;
  font-size: 0.92rem !important;
}

/* Contenedor principal */
.site-footer .footer-wrapper {
  width: min(1180px, calc(100% - 32px)) !important;
  margin: 0 auto !important;

  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 24px !important;
  flex-wrap: nowrap !important;
}

/* Columna izquierda */
.site-footer .footer-left {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  gap: 4px !important;
  min-width: 0 !important;
}

.site-footer .footer-brand {
  font-weight: 900 !important;
  color: var(--ff-dark) !important;
  letter-spacing: -0.02em !important;
  line-height: 1.2 !important;
}

.site-footer .footer-copy {
  margin: 0 !important;
  color: var(--ff-subtext) !important;
  font-size: 0.9rem !important;
  line-height: 1.4 !important;
}

/* Links derechos: sin viñetas y en una línea */
.site-footer ul.footer-links,
.site-footer .footer-links {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;

  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 22px !important;
  flex-wrap: nowrap !important;
}

.site-footer .footer-links li {
  display: inline-flex !important;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.site-footer .footer-links li::marker {
  content: "" !important;
  font-size: 0 !important;
}

.site-footer .footer-links a {
  color: var(--ff-subtext) !important;
  text-decoration: none !important;
  font-weight: 700 !important;
  font-size: 0.92rem !important;
  white-space: nowrap !important;
}

.site-footer .footer-links a:hover {
  color: var(--ff-blue) !important;
}

/* Si todavía se usa list-inline dentro del footer, también lo corrige */
.site-footer .list-inline,
footer .footer-links,
footer .list-inline {
  list-style: none !important;
  padding-left: 0 !important;
}

.site-footer .list-inline-item,
footer .list-inline-item {
  display: inline-flex !important;
  margin: 0 !important;
}

/* Responsive: en móvil puede ir centrado, pero sigue en línea si cabe */
@media (max-width: 767px) {
  .site-footer .footer-wrapper {
    flex-direction: column !important;
    text-align: center !important;
    justify-content: center !important;
    flex-wrap: wrap !important;
  }

  .site-footer .footer-left {
    align-items: center !important;
  }

  .site-footer .footer-links {
    justify-content: center !important;
    flex-wrap: wrap !important;
    gap: 16px !important;
  }
}

