/* =============================================================
   OffSale — Footer (Sesión 004 · Etapa 5)
   Depende de: offsale-header.css (:root vars)
   ============================================================= */

.os-footer {
  font-family: "Inter", sans-serif;
  color: var(--offsale-ink);
  background: #fff;
  border-top: 1px solid var(--offsale-line);
  margin-top: 60px;
}

/* ============================================================
   TRUST BAR — sellos institucionales
   ============================================================ */
.os-footer-trust {
  background: linear-gradient(180deg, #fafbfc, #f6f7f9);
  border-bottom: 1px solid var(--offsale-line);
  padding: 24px 20px;
}
.os-footer-trust-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.ost-seal {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: #fff;
  border: 1px solid var(--offsale-line);
  border-radius: 12px;
  text-decoration: none;
  color: inherit;
  transition: all 0.18s ease;
}
.ost-seal:hover {
  border-color: var(--offsale-orange);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.08);
}
.ost-seal svg {
  width: 32px;
  height: 32px;
  color: var(--offsale-orange);
  flex-shrink: 0;
}
.ost-seal--mp svg {
  color: #009ee3;
}
.ost-seal--andreani svg {
  color: #e30613;
}
.ost-seal--consumer svg {
  color: #16a34a;
}
.ost-seal--afip svg {
  color: #0f4c81;
}

.ost-seal-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.ost-seal-text strong {
  font-size: 12.5px;
  font-weight: 800;
  color: var(--offsale-navy);
  line-height: 1.2;
  letter-spacing: -0.2px;
}
.ost-seal-text small {
  font-size: 11px;
  color: var(--offsale-ink-mute);
  font-weight: 500;
  line-height: 1.2;
}

/* ============================================================
   MAIN — 4 columnas
   ============================================================ */
.os-footer-main {
  background: var(--offsale-navy);
  color: #cbd5e1;
  padding: 48px 20px 40px;
}
.os-footer-main-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
}
.osf-col {
  min-width: 0;
}
.osf-col--brand {
  padding-right: 20px;
}

.osf-logo img {
  height: 56px;
  width: auto;
  display: block;
  margin-bottom: 14px;
  filter: brightness(0) invert(1);
  opacity: 0.95;
}
.osf-tagline {
  font-size: 13.5px;
  line-height: 1.55;
  color: #94a3b8;
  margin: 0 0 18px;
}
.osf-tagline strong {
  color: #fff;
  font-weight: 700;
}

.osf-social {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.osf-social-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  color: #fff;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  transition: all 0.15s ease;
}
.osf-social-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateX(4px);
}
.osf-social-btn svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}
.osf-social-btn span {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.osf-social-btn small {
  font-size: 11px;
  color: #94a3b8;
  font-weight: 500;
  margin-top: 2px;
}
.osf-social-btn--ig svg {
  color: #e4405f;
}
.osf-social-btn--fb svg {
  color: #1877f2;
}
.osf-social-btn--wa svg {
  color: var(--wa-green);
}

/* Columnas 2-3 (Comprar + Ayuda) */
.osf-title {
  font-size: 14px;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.3px;
  margin: 0 0 16px;
  text-transform: uppercase;
}
.osf-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.osf-links a {
  color: #94a3b8;
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 500;
  transition: color 0.15s ease;
  display: inline-block;
}
.osf-links a:hover {
  color: var(--offsale-orange);
  transform: translateX(2px);
}

/* Col 4 — Contacto */
.osf-contact {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.osf-contact li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.osf-contact li svg {
  width: 18px;
  height: 18px;
  color: var(--offsale-orange);
  flex-shrink: 0;
  margin-top: 2px;
}
.osf-contact li strong {
  display: block;
  font-size: 11.5px;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  margin-bottom: 2px;
}
.osf-contact li a,
.osf-contact li span {
  font-size: 13px;
  color: #94a3b8;
  text-decoration: none;
  display: block;
  line-height: 1.35;
}
.osf-contact li a:hover {
  color: var(--offsale-orange);
}

/* ============================================================
   ARREPENTIMIENTO — banda persistente (Ley 24.240)
   ============================================================ */
.os-footer-arrepentimiento {
  background: var(--offsale-orange-soft);
  border-top: 1px solid #fed7aa;
  border-bottom: 1px solid #fed7aa;
  padding: 14px 20px;
}
.os-footer-arr-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}
.os-arr-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(245, 99, 10, 0.15);
  color: var(--offsale-orange-dark) !important;
  font-weight: 700;
  font-size: 13.5px;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.15s ease;
}
.os-arr-btn:hover {
  background: var(--offsale-orange);
  color: #fff !important;
}
.os-arr-btn svg {
  width: 16px;
  height: 16px;
}
.os-arr-txt {
  font-size: 12.5px;
  color: #7c2d12;
  line-height: 1.4;
}
.os-arr-txt strong {
  color: var(--offsale-orange-dark);
  font-weight: 700;
}

/* ============================================================
   LEGAL BOTTOM
   ============================================================ */
.os-footer-legal {
  background: #0a1729;
  color: #64748b;
  padding: 18px 20px;
}
.os-footer-legal-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.osf-copy {
  font-size: 12px;
  color: #64748b;
}
.osf-copy strong {
  color: #cbd5e1;
  font-weight: 700;
}
.osf-legal-links {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
}
.osf-legal-links a {
  color: #94a3b8;
  text-decoration: none;
  transition: color 0.15s ease;
}
.osf-legal-links a:hover {
  color: var(--offsale-orange);
}
.osf-legal-links span {
  color: #475569;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1000px) {
  .os-footer-trust-inner {
    grid-template-columns: repeat(2, 1fr);
  }
  .os-footer-main-inner {
    grid-template-columns: 1fr 1fr;
    gap: 32px 24px;
  }
  .osf-col--brand {
    grid-column: 1 / -1;
    padding-right: 0;
  }
  .osf-social {
    flex-direction: row;
    flex-wrap: wrap;
  }
  .osf-social-btn {
    flex: 1 1 auto;
    min-width: 180px;
  }
}
@media (max-width: 640px) {
  .os-footer-trust {
    padding: 18px 12px;
  }
  .os-footer-trust-inner {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .os-footer-main {
    padding: 32px 16px 28px;
  }
  /* Grid mobile:
     · Marca full-width (col 1/-1)
     · Comprar + Ayuda side-by-side (2 cols) → mata la altura muerta
     · Contacto full-width abajo con solo email visible */
  .os-footer-main-inner {
    grid-template-columns: 1fr 1fr;
    gap: 24px 16px;
  }
  .osf-col--brand {
    grid-column: 1 / -1;
    padding-right: 0;
  }
  .osf-col--contact {
    grid-column: 1 / -1;
  }
  /* Links más compactos entre Ayuda/Comprar en mobile */
  .osf-title {
    font-size: 13px;
    margin-bottom: 12px;
  }
  .osf-links {
    gap: 8px;
  }
  .osf-links a {
    font-size: 13px;
  }
  .osf-social {
    flex-direction: column;
  }
  .osf-social-btn {
    min-width: 0;
  }
  /* CONTACTO simplificado en mobile:
     WA e Instagram ya están en el header (íconos permanentes) → redundantes acá.
     Se deja SOLO el email como canal formal escrito. */
  .osf-contact li.osf-contact-wa,
  .osf-contact li.osf-contact-ig {
    display: none;
  }
  .osf-contact {
    gap: 0;
  }

  .os-footer-arr-inner {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }
  .os-footer-legal-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}
