/* ══════════════════════════════════════════════════════════════════
   saas_fixes.css  —  Correcciones / overrides v1.0
   Cargar DESPUÉS de saas_styles.css en todas las páginas.
   ══════════════════════════════════════════════════════════════════

   FIX 1 · Nav más compacta en móvil
   FIX 2 · Hero badge no tapado por nav
   FIX 3 · Sin fabs circulares en móvil (barra inferior cubre todo)
   FIX 4 · CTA inline form — fondo blanco en inputs
   FIX 5 · Plan featured sin desplazamiento en móvil
══════════════════════════════════════════════════════════════════ */


/* ── FIX 1: Nav compacta en móvil ──────────────────────────────── */
@media (max-width: 900px) {
  nav {
    padding: 8px 18px;
  }
  .nav-logo img {
    height: 36px;
  }
  .nav-mobile-menu {
    top: 52px;
  }
}


/* ── FIX 2: Hero badge visible bajo nav ────────────────────────── */
@media (max-width: 900px) {
  .hero-content {
    padding-top: 82px !important;
    align-items: flex-start;
  }
  .hero-center {
    padding-top: 10px;
  }
}
@media (max-width: 580px) {
  .hero-content {
    padding-top: 70px !important;
  }
}


/* ── FIX 3: Quitar fabs circulares en móvil ────────────────────── */
@media (max-width: 900px) {
  .fab-wa    { display: none !important; }
  .fab-phone { display: none !important; }
  .floating-actions {
    bottom: 88px;
    right: 14px;
    gap: 8px;
  }
}


/* ── FIX 4: CTA form — inputs con fondo blanco sólido ─────────── */
.cta-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.cta-form .form-group { margin-bottom: 8px; }

.cta-form .form-group label,
.cta-form label {
  font-size: 12px; font-weight: 600;
  color: rgba(255,255,255,.85) !important;
  display: block; margin-bottom: 4px;
}

.cta-form .form-group input,
.cta-form .form-group select,
.cta-form .form-group textarea,
.cta-form input,
.cta-form select,
.cta-form textarea {
  background: white !important;
  color: #1A0D11 !important;
  border: 1.5px solid rgba(255,255,255,.35);
  border-radius: 10px; font-size: 13.5px;
  padding: 9px 12px;
  font-family: 'Ubuntu', sans-serif;
  outline: none;
  transition: border-color .2s;
}
.cta-form .form-group input:focus,
.cta-form .form-group select:focus,
.cta-form .form-group textarea:focus {
  border-color: var(--gold);
}

.cta-form select option,
.cta-form .form-group select option {
  background: white !important;
  color: #1A0D11 !important;
}

.cta-form .form-group textarea,
.cta-form textarea { min-height: 52px; resize: none; }

.cta-form .pais-select-wrap {
  background: white !important;
  border: 1.5px solid rgba(255,255,255,.35);
}
.cta-form .pais-select-wrap select {
  color: #1A0D11 !important;
  background: transparent !important;
}

#ctaSubmitBtn:disabled { opacity: .45; cursor: not-allowed; transform: none !important; box-shadow: none !important; }

@media (max-width: 600px) {
  .cta-form .form-row { grid-template-columns: 1fr; }
}


/* ── FIX 5: Plan featured sin lift en móvil ────────────────────── */
@media (max-width: 900px) {
  .plan-card.featured { transform: none !important; }
  .plan-card.featured:hover { transform: translateY(-6px) !important; }
}


/* ── FIX 6: Modal compacto ─────────────────────────────────────── */
.modal-box {
  padding: 22px 24px 20px !important;
  max-height: 92vh !important;
  overflow-y: auto !important;
}
.modal-logo           { height: 34px !important; margin-bottom: 0 !important; }
.modal-box h3         { font-size: 17px !important; margin-bottom: 2px !important; }
.modal-box .modal-desc { font-size: 12px !important; margin-bottom: 0 !important; }
.modal-form .field    { margin-bottom: 0 !important; }
.modal-form           { gap: 8px; display: flex; flex-direction: column; }
.modal-form textarea  { min-height: 52px !important; resize: none !important; }
.modal-privacy        { margin-top: 6px !important; font-size: 11px !important; }


/* ── FIX 7: Swipe hint en carrusel móvil ───────────────────────── */
.ba-swipe-hint,
.carousel-swipe-hint {
  text-align: center; font-size: 12px;
  color: var(--gray); margin-top: 10px; display: none;
}
@media (max-width: 900px) {
  .carousel-swipe-hint { display: block; }
  .carousel-track-outer {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  .carousel-track-outer::-webkit-scrollbar { display: none; }
  .testimonial-card { scroll-snap-align: start; }
  .carousel-controls { display: none; }
}


/* ── FIX 8: Cultura steps — centrar línea con los círculos ─────── */
/* Los step-item tienen padding-top:28px, así que el centro del
   círculo (76px / 2 = 38px) queda a 28+38 = 66px desde arriba  */
.cultura-steps::before {
  top: 100px !important;
}
@media (max-width: 900px) {
  .cultura-steps::before { display: none; }
}
