/* ============================================================
   GoCorte — PARCHE RESPONSIVE v2 (cargar DESPUÉS de style1.css)
   <link rel="stylesheet" href="/css/parche-responsive.css?v=2">
   Ajustado al style1.css real. Pisa lo necesario con !important.
   ============================================================ */

/* ---------- BASE (todas las pantallas) ---------- */

html, body{
  overflow-x: hidden !important;
  max-width: 100vw !important;
}

/* style1.css NO tiene esta regla global: sin ella las imágenes
   explotan a tamaño natural. Esta línea sola arregla la mitad. */
img{ max-width: 100% !important; height: auto; }

/* ---------- LOGOS PARTNERS (el fix principal) ---------- */
.hero .partners,
.hero-partners .partners{
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 28px !important;
  flex-wrap: wrap !important;
  margin-top: 6px !important;
}
.hero .partners img,
.hero-partners .partners img{
  height: 36px !important;
  max-height: 36px !important;
  width: auto !important;
  max-width: 160px !important;
  object-fit: contain !important;
  opacity: .92;
}

.hero-partners{ margin-top: 16px !important; }
.hero-partners .sub{
  font-size: 13px !important;
  opacity: .75 !important;
  margin: 0 0 8px !important;
  color: rgba(255,255,255,.75) !important;  /* hero oscuro */
  max-width: none !important;
}

/* ---------- Badge "Recién lanzado" ---------- */
.hero-launch{
  display: flex !important;
  justify-content: center !important;
  margin: 20px auto 4px !important;
  max-width: 620px;
  padding: 0 16px;
}
.hero-launch p{
  margin: 0 !important;
  padding: 10px 18px !important;
  font-size: 14.5px !important;
  line-height: 1.45 !important;
  text-align: center !important;
  color: #e8edf5 !important;
  background: linear-gradient(135deg, rgba(79,128,255,.16), rgba(0,194,255,.10)) !important;
  border: 1px solid rgba(79,128,255,.35) !important;
  border-radius: 999px !important;
  box-shadow: 0 6px 24px rgba(79,128,255,.15) !important;
  backdrop-filter: blur(4px);
}
.hero-launch strong{ color: #ffffff !important; }

/* ---------- Botones: texto que nunca desborda ---------- */
.btn{
  white-space: normal !important;
  text-align: center !important;
  line-height: 1.25 !important;
}

/* ---------- "Ingresar al panel" con aire propio ---------- */
.cta-hero--panel{ margin-top: 20px !important; }

/* El hero no debe forzar 88svh si el contenido es más corto/largo */
.hero.hero-sales{
  min-height: auto !important;
  padding-bottom: clamp(36px, 6vw, 64px) !important;
}

/* ============================================================
   TABLET (≤ 1024px)
   ============================================================ */
@media (max-width: 1024px){
  .pricing{
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0,1fr)) !important;
    gap: 16px !important;
  }
}

/* ============================================================
   CELULAR (≤ 768px)
   ============================================================ */
@media (max-width: 768px){

  .hero.hero-sales{
    padding-top: clamp(76px, 12vh, 110px) !important;
  }

  .hero h1{
    font-size: clamp(30px, 9vw, 38px) !important;
    line-height: 1.12 !important;
  }
  .hero p{
    font-size: 15.5px !important;
    line-height: 1.55 !important;
  }

  .hero-launch p{ font-size: 13px !important; padding: 9px 14px !important; }

  .hero .partners img,
  .hero-partners .partners img{
    height: 26px !important;
    max-height: 26px !important;
  }
  .hero .partners,
  .hero-partners .partners{ gap: 20px !important; }

  /* Secciones y tipografía */
  .section{ padding: 44px 0 !important; }
  .section-title{ font-size: clamp(24px, 6.5vw, 30px) !important; }
  .sub{ font-size: 14.5px !important; }

  /* Trust bar 2x2 (style1 ya lo hace en 640, lo aseguro acá) */
  .trust-inner{
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 10px !important;
  }
  .trust-item{ font-size: 13px !important; }

  /* Features y pasos en 1 columna */
  .feature-grid, .steps-grid{
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }

  /* Pricing 1 columna */
  .pricing{ grid-template-columns: 1fr !important; }

  /* Premium destacado: sin levitar (rompe el flujo en 1 columna) */
  .pricing > article:nth-child(3){ transform: none !important; }

  /* Showcase */
  .gc-cta-row{ flex-direction: column !important; gap: 10px !important; }
  .gc-cta-row .btn{ width: 100% !important; }
  .gc-tabs{ justify-content: center !important; flex-wrap: wrap !important; }

  /* CTA final apilado */
  .cta-bottom{ flex-direction: column !important; align-items: stretch !important; }
  .cta-bottom .btn{ width: 100% !important; }

  /* Footer apilado */
  .footer-inner{
    flex-direction: column !important;
    gap: 8px !important;
    text-align: center !important;
    justify-content: center !important;
  }

  /* WhatsApp flotante contenido */
  .whatsapp{ width: 54px !important; height: 54px !important; right: 14px !important; bottom: 14px !important; }
  .whatsapp img{ width: 28px !important; height: 28px !important; }
}

/* ============================================================
   CTAs DEL HERO EN CELULAR (≤ 600px)
   Pisa la regla vieja de style1.css que los ponía en grilla 2x2
   ============================================================ */
@media (max-width: 600px){
  .hero-sales .cta-hero{
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 10px !important;
    width: 100% !important;
    max-width: 360px !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
  .hero-sales .cta-hero .btn{
    width: 100% !important;
    font-size: 15px !important;
    padding: 13px 16px !important;
    min-height: 46px !important;
  }
}

/* ============================================================
   CELULARES CHICOS (≤ 520px)
   ============================================================ */
@media (max-width: 520px){
  .hero h1{ font-size: clamp(27px, 8.6vw, 33px) !important; }
  .hero p{ font-size: 14.5px !important; }

  .kpi{ padding: 12px 8px !important; }
  .kpi .num{ font-size: clamp(24px, 8vw, 34px) !important; }
  .kpi .lbl{ font-size: 12px !important; }

  .hero .partners img,
  .hero-partners .partners img{
    height: 22px !important;
    max-height: 22px !important;
  }
}

/* ============================================================
   CELULARES MUY CHICOS (≤ 380px)
   ============================================================ */
@media (max-width: 380px){
  .hero h1{ font-size: 25px !important; }
  .hero-sales .cta-hero .btn{ font-size: 14px !important; padding: 12px 14px !important; }
  .hero-launch p{ font-size: 12px !important; }
}

/* ============================================================
   Reduce motion
   ============================================================ */
@media (prefers-reduced-motion: reduce){
  .hero-launch p{ backdrop-filter: none !important; }
}

/* ===== AJUSTE v2.1 — Logos partners más grandes ===== */
.hero .partners img,
.hero-partners .partners img{
  height: 54px !important;
  max-height: 54px !important;
  max-width: 240px !important;
}
.hero .partners,
.hero-partners .partners{ gap: 34px !important; }

@media (max-width: 768px){
  .hero .partners img,
  .hero-partners .partners img{
    height: 50px !important;
    max-height: 50px !important;
  }
  .hero .partners,
  .hero-partners .partners{ gap: 24px !important; }
}

@media (max-width: 520px){
  .hero .partners img,
  .hero-partners .partners img{
    height: 50px !important;
    max-height: 50px !important;
  }
}