/* ==========================================================================
   OffSale — Home template · Sprint 3 · sesión 003
   Hero innovador + trust strip + secciones + deals carousel + featured grid
   ========================================================================== */

/* Design tokens (extienden los de offsale-header.css) */
.os-home {
  --card-bg: #ffffff;
  --grado-excelente: #16a34a;
  --grado-muy-bueno: #2563eb;
  --grado-bueno: #f59e0b;
  --grado-outlet: #64748b;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 4px 12px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 10px 30px rgba(15, 23, 42, 0.12);
  --radius: 14px;
  --radius-sm: 8px;
  font-family:
    "Inter",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    sans-serif;
  color: var(--offsale-ink);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  background: var(--offsale-bg);
}
.os-home * {
  box-sizing: border-box;
}
.os-home a {
  color: inherit;
  text-decoration: none;
}

.os-home h1,
.os-home h2,
.os-home h3,
.os-home .display,
.os-home .hero-title,
.os-home .section-head h2,
.os-home .why-inner h2 {
  font-family: "Inter", sans-serif;
  font-weight: 700;
}

@media (prefers-reduced-motion: reduce) {
  .os-home *,
  .os-home *::before,
  .os-home *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .os-home .hero-mesh,
  .os-home .hero-orb,
  .os-home .float-badge,
  .os-home .hero-notebook {
    animation: none !important;
  }
}

/* ============================================================
   HERO INNOVADOR — dark navy + mesh + notebook 3D
   ============================================================ */
.os-home .hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #0a0f1e 0%, var(--offsale-navy) 55%, #0a0f1e 100%);
  color: #fff;
  min-height: 640px;
  display: flex;
  align-items: center;
}
.os-home .hero-mesh {
  position: absolute;
  inset: 0;
  opacity: 0.9;
  background:
    radial-gradient(at 20% 30%, rgba(245, 99, 10, 0.5) 0%, transparent 45%),
    radial-gradient(at 80% 20%, rgba(37, 99, 235, 0.35) 0%, transparent 50%),
    radial-gradient(at 60% 80%, rgba(245, 99, 10, 0.3) 0%, transparent 55%),
    radial-gradient(at 10% 90%, rgba(26, 39, 64, 0.6) 0%, transparent 60%);
  animation: osMeshShift 22s ease-in-out infinite;
  filter: blur(20px);
  z-index: 1;
}
@keyframes osMeshShift {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  33% {
    transform: translate(-3%, 2%) scale(1.05);
  }
  66% {
    transform: translate(2%, -3%) scale(0.98);
  }
}
.os-home .hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  z-index: 2;
  mask-image: radial-gradient(ellipse at center, black 40%, transparent 80%);
}
.os-home .hero-noise {
  position: absolute;
  inset: 0;
  z-index: 3;
  opacity: 0.4;
  pointer-events: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' seed='5'/><feColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.08 0'/></filter><rect width='200' height='200' filter='url(%23n)'/></svg>");
}
.os-home .hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  z-index: 1;
  animation: osOrbFloat 18s ease-in-out infinite;
}
.os-home .hero-orb.orb-1 {
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(245, 99, 10, 0.65) 0%, transparent 70%);
  top: -80px;
  left: 10%;
}
.os-home .hero-orb.orb-2 {
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.45) 0%, transparent 70%);
  bottom: -60px;
  right: 15%;
  animation-delay: -6s;
}
@keyframes osOrbFloat {
  0%,
  100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(30px, -20px);
  }
}

.os-home .hero-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 80px 48px 90px;
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 50px;
  align-items: center;
  min-height: 620px;
  position: relative;
  z-index: 10;
}

.os-home .hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 8px 14px;
  border-radius: 999px;
  font-family: "Inter", sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: #fff;
  letter-spacing: 2px;
  text-transform: uppercase;
  border: 1px solid rgba(255, 255, 255, 0.15);
  margin-bottom: 22px;
  opacity: 0;
  animation: osRevealUp 0.8s 0.1s ease-out forwards;
}
.os-home .hero-eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--offsale-orange);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--offsale-orange);
  animation: osHeroPulse 1.8s ease-in-out infinite;
}
@keyframes osHeroPulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.4);
    opacity: 0.6;
  }
}

.os-home .hero-title {
  font-family: "Inter", sans-serif;
  font-size: 76px;
  font-weight: 700;
  letter-spacing: -1.5px;
  line-height: 1;
  color: #fff;
  margin: 0 0 20px;
  text-transform: uppercase;
}
.os-home .hero-title .word {
  display: inline-block;
  opacity: 0;
  transform: translateY(30px);
  animation: osRevealUp 0.7s ease-out forwards;
}
.os-home .hero-title .word.w1 {
  animation-delay: 0.2s;
}
.os-home .hero-title .word.w2 {
  animation-delay: 0.35s;
}
.os-home .hero-title .word.w3 {
  animation-delay: 0.5s;
}
.os-home .hero-title .word.w4 {
  animation-delay: 0.65s;
}
.os-home .hero-title .word.w5 {
  animation-delay: 0.8s;
}
.os-home .hero-title .highlight {
  background: linear-gradient(120deg, var(--offsale-orange) 0%, #ff8836 50%, #ffb37a 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
@keyframes osRevealUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.os-home .hero-sub {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.55;
  margin: 0 0 32px;
  max-width: 500px;
  opacity: 0;
  animation: osRevealUp 0.8s 1s ease-out forwards;
}
.os-home .hero-ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 32px;
  opacity: 0;
  animation: osRevealUp 0.8s 1.2s ease-out forwards;
}
.os-home .btn-hero-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 32px;
  background: var(--offsale-orange);
  color: #fff;
  border-radius: 12px;
  font-family: "Inter", sans-serif;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  box-shadow: 0 8px 30px rgba(245, 99, 10, 0.5);
  transition: all 0.2s ease;
  position: relative;
  overflow: hidden;
}
.os-home .btn-hero-primary::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255, 255, 255, 0.3) 50%, transparent 70%);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}
.os-home .btn-hero-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 36px rgba(245, 99, 10, 0.6);
}
.os-home .btn-hero-primary:hover::before {
  transform: translateX(100%);
}
.os-home .btn-hero-primary svg {
  width: 20px;
  height: 20px;
  position: relative;
  z-index: 1;
}
.os-home .btn-hero-primary span {
  position: relative;
  z-index: 1;
}

.os-home .btn-hero-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 26px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 12px;
  font-family: "Inter", sans-serif;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: all 0.15s ease;
}
.os-home .btn-hero-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.4);
}

.os-home .hero-metrics {
  display: flex;
  gap: 40px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  opacity: 0;
  animation: osRevealUp 0.8s 1.4s ease-out forwards;
}
.os-home .metric-item .metric-num {
  font-family: "Inter", sans-serif;
  font-size: 34px;
  font-weight: 700;
  color: #fff;
  line-height: 1;
  letter-spacing: -0.5px;
}
.os-home .metric-item .metric-num .plus {
  color: var(--offsale-orange);
}
.os-home .metric-item .metric-label {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-top: 4px;
}

/* HERO VISUAL — notebook 3D protagonista con constellation de badges alrededor */
.os-home .hero-visual {
  position: relative;
  aspect-ratio: 3/2;
  perspective: 900px;
  perspective-origin: 50% 40%;
  opacity: 0;
  animation: osRevealUp 1s 0.3s ease-out forwards;
  padding: 20px 30px;
  box-sizing: border-box;
}

/* Sparkles decorativos alrededor del notebook (efecto constellation - Linear/Stripe feel) */
.os-home .hero-visual::before,
.os-home .hero-visual::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 2;
  animation: osSparkle 3s ease-in-out infinite;
}
.os-home .hero-visual::before {
  top: 20%;
  right: 8%;
  width: 6px;
  height: 6px;
  background: #fff;
  box-shadow:
    0 0 12px #fff,
    0 0 24px rgba(245, 99, 10, 0.7);
  animation-delay: 0.5s;
}
.os-home .hero-visual::after {
  bottom: 25%;
  left: 8%;
  width: 4px;
  height: 4px;
  background: var(--offsale-orange);
  box-shadow:
    0 0 10px var(--offsale-orange),
    0 0 20px rgba(245, 99, 10, 0.6);
  animation-delay: 1.5s;
}
@keyframes osSparkle {
  0%,
  100% {
    opacity: 0.4;
    transform: scale(0.8);
  }
  50% {
    opacity: 1;
    transform: scale(1.3);
  }
}
@media (prefers-reduced-motion: reduce) {
  .os-home .hero-visual::before,
  .os-home .hero-visual::after {
    animation: none;
  }
}
.os-home .hero-notebook {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transform: rotateX(-8deg) rotateY(-4deg);
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
  will-change: transform;
}
.os-home .hero-notebook svg {
  width: 100%;
  height: 100%;
  display: block;
  filter: drop-shadow(0 40px 60px rgba(0, 0, 0, 0.55)) drop-shadow(0 0 60px rgba(245, 99, 10, 0.35))
    drop-shadow(0 20px 20px rgba(0, 0, 0, 0.35));
}
.os-home .hero-notebook::before {
  content: "";
  position: absolute;
  inset: 5% 10%;
  background: radial-gradient(circle, rgba(245, 99, 10, 0.55) 0%, rgba(245, 99, 10, 0.15) 40%, transparent 75%);
  filter: blur(60px);
  z-index: -1;
  animation: osPulseGlow 4s ease-in-out infinite;
}
@keyframes osPulseGlow {
  0%,
  100% {
    opacity: 0.7;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.15);
  }
}

.os-home .float-badge {
  position: absolute;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 10px 12px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.35),
    0 0 0 1px rgba(255, 255, 255, 0.5) inset;
  opacity: 0;
  animation:
    osFloatIn 0.7s ease-out forwards,
    osFloatY 5s ease-in-out infinite;
  transform: translateZ(80px);
  z-index: 5;
  /* Tamaño uniforme más compacto para dar aire a la notebook */
  min-width: 170px;
  min-height: 56px;
  max-width: 190px;
  box-sizing: border-box;
}
.os-home .float-badge svg {
  width: 22px;
  height: 22px;
}
.os-home .fb-title {
  font-size: 12.5px;
}
.os-home .fb-sub {
  font-size: 10.5px;
}
.os-home .float-badge svg {
  width: 26px;
  height: 26px;
}
.os-home .fb-title {
  font-family: "Inter", sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--offsale-navy);
  letter-spacing: 0.3px;
  line-height: 1.1;
}
.os-home .fb-sub {
  font-size: 11px;
  color: var(--offsale-ink-mute);
  line-height: 1.2;
}
/* Badges "abrazan" la notebook — overlap sutil sobre las esquinas (patrón Apple Store showcase) */
.os-home .badge-1 {
  top: 8%;
  left: -12px;
  animation-delay: 1s, 2s;
}
.os-home .badge-2 {
  top: 8%;
  right: -12px;
  animation-delay: 1.2s, 3s;
}
.os-home .badge-3 {
  bottom: 10%;
  left: -12px;
  animation-delay: 1.4s, 4s;
}
.os-home .badge-4 {
  bottom: 10%;
  right: -12px;
  animation-delay: 1.6s, 3.5s;
}

.os-home .badge-action {
  cursor: pointer;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}
.os-home .badge-action:hover {
  transform: translateZ(80px) translateY(-4px) scale(1.04);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.4);
}
.os-home .badge-data {
  padding: 10px 14px;
}
.os-home .stock-icon-wrap {
  position: relative;
  display: grid;
  place-items: center;
}
.os-home .stock-icon-wrap svg {
  width: 26px;
  height: 26px;
}
.os-home .badge-pulse {
  position: absolute;
  top: -4px;
  right: -6px;
  width: 8px;
  height: 8px;
  background: #ef4444;
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.25);
  animation: osLivePulse 1.5s ease-in-out infinite;
}
@keyframes osLivePulse {
  0%,
  100% {
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.25);
  }
  50% {
    box-shadow: 0 0 0 8px rgba(239, 68, 68, 0.05);
  }
}

.os-home .badge-video {
  background: linear-gradient(135deg, #f5630a 0%, #ff8836 100%);
  color: #fff;
}
.os-home .badge-video svg {
  color: #fff;
}
.os-home .badge-video .fb-title {
  color: #fff;
}
.os-home .badge-video .fb-sub {
  color: rgba(255, 255, 255, 0.9);
}

.os-home .badge-contact {
  padding: 12px 14px;
  gap: 12px;
  min-width: 200px;
}
.os-home .contact-info {
  flex: 1;
}
.os-home .contact-channels {
  display: flex;
  gap: 6px;
}
.os-home .channel-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  color: #fff;
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease;
}
.os-home .channel-icon svg {
  width: 18px;
  height: 18px;
}
.os-home .channel-icon:hover {
  transform: translateY(-2px) scale(1.05);
}
.os-home .channel-wa {
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
}
.os-home .channel-wa:hover {
  box-shadow: 0 6px 16px rgba(37, 211, 102, 0.5);
}
.os-home .channel-ig {
  background: linear-gradient(135deg, #833ab4 0%, #fd1d1d 50%, #fcb045 100%);
  box-shadow: 0 4px 12px rgba(253, 29, 29, 0.35);
}
.os-home .channel-ig:hover {
  box-shadow: 0 6px 16px rgba(253, 29, 29, 0.45);
}

@keyframes osFloatIn {
  from {
    opacity: 0;
    transform: translateZ(80px) translateY(20px) scale(0.9);
  }
  to {
    opacity: 1;
    transform: translateZ(80px) translateY(0) scale(1);
  }
}
@keyframes osFloatY {
  0%,
  100% {
    transform: translateZ(80px) translateY(0);
  }
  50% {
    transform: translateZ(80px) translateY(-14px);
  }
}

.os-home .hero-scroll {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.6);
  font-family: "Inter", sans-serif;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 3px;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  padding: 8px 12px;
  border-radius: 8px;
  animation: osBounceDown 2s ease-in-out infinite;
  transition: color 0.15s ease;
}
.os-home .hero-scroll:hover {
  color: var(--offsale-orange);
}
.os-home .hero-scroll::after {
  content: "";
  width: 1px;
  height: 30px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.6), transparent);
}
.os-home .hero-scroll:hover::after {
  background: linear-gradient(to bottom, var(--offsale-orange), transparent);
}
@keyframes osBounceDown {
  0%,
  100% {
    transform: translateX(-50%) translateY(0);
    opacity: 0.6;
  }
  50% {
    transform: translateX(-50%) translateY(6px);
    opacity: 1;
  }
}

/* ============================================================
   TRUST STRIP
   ============================================================ */
.os-home .trust-strip {
  background: #fff;
  border-top: 1px solid var(--offsale-line);
  border-bottom: 1px solid var(--offsale-line);
  padding: 24px;
}
.os-home .trust-strip-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.os-home .trust-item {
  display: flex;
  align-items: center;
  gap: 14px;
}
.os-home .trust-item .icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--offsale-orange-soft);
  color: var(--offsale-orange);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.os-home .trust-item .icon svg {
  width: 24px;
  height: 24px;
}
.os-home .trust-item .txt strong {
  display: block;
  font-size: 14px;
  font-weight: 800;
  color: var(--offsale-navy);
  line-height: 1.2;
}
.os-home .trust-item .txt span {
  font-size: 12px;
  color: var(--offsale-ink-mute);
  line-height: 1.3;
}

/* ============================================================
   SECTION BASE
   ============================================================ */
.os-home .section {
  max-width: 1280px;
  margin: 0 auto;
  padding: 64px 24px;
}
.os-home .section-head {
  text-align: center;
  margin-bottom: 40px;
}
.os-home .section-head h2 {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.8px;
  margin: 0 0 10px;
  color: var(--offsale-navy);
}
.os-home .section-head h2 span {
  color: var(--offsale-orange);
}
.os-home .section-head p {
  color: var(--offsale-ink-mute);
  font-size: 16px;
  margin: 0 auto;
  max-width: 600px;
}
.os-home .section-title-left h2 {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin: 0 0 6px;
}
.os-home .section-title-left h2 span {
  color: var(--offsale-orange);
}
.os-home .section-title-left p {
  color: var(--offsale-ink-mute);
  font-size: 15px;
  margin: 0;
}
.os-home .section-title-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 30px;
}
.os-home .see-all {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--offsale-orange);
  font-weight: 700;
  font-size: 14px;
}
.os-home .see-all svg {
  width: 16px;
  height: 16px;
}

/* ============================================================
   CATEGORÍAS POR USO
   ============================================================ */
.os-home .uses-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.os-home .use-card {
  background: #fff;
  border: 1px solid var(--offsale-line);
  border-radius: 16px;
  padding: 28px 20px;
  text-align: center;
  transition: all 0.2s ease;
  position: relative;
  overflow: hidden;
  display: block;
}
.os-home .use-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.1);
  border-color: var(--offsale-orange);
}
.os-home .use-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--offsale-orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}
.os-home .use-card:hover::before {
  transform: scaleX(1);
}
.os-home .use-icon {
  width: 72px;
  height: 72px;
  border-radius: 20px;
  margin: 0 auto 16px;
  display: grid;
  place-items: center;
  font-size: 36px;
  background: var(--offsale-orange-soft);
}
.os-home .use-title {
  font-size: 17px;
  font-weight: 800;
  color: var(--offsale-navy);
  margin: 0 0 6px;
}
.os-home .use-desc {
  font-size: 13px;
  color: var(--offsale-ink-mute);
  line-height: 1.4;
  margin: 0 0 14px;
}
.os-home .use-cta {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  font-weight: 700;
  color: var(--offsale-orange);
}

/* ============================================================
   DEALS CAROUSEL
   ============================================================ */
.os-home .deals-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}
.os-home .deals-arrow {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1.5px solid var(--offsale-line-strong);
  background: #fff;
  color: var(--offsale-navy);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: all 0.15s ease;
}
.os-home .deals-arrow:hover {
  background: var(--offsale-orange);
  color: #fff;
  border-color: var(--offsale-orange);
  transform: scale(1.05);
}
.os-home .deals-arrow svg {
  width: 18px;
  height: 18px;
}
.os-home .deals-carousel {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  padding: 4px 4px 20px;
  margin: 0 -4px;
  scrollbar-width: thin;
  scrollbar-color: var(--offsale-line-strong) transparent;
}
.os-home .deals-carousel::-webkit-scrollbar {
  height: 6px;
}
.os-home .deals-carousel::-webkit-scrollbar-track {
  background: transparent;
}
.os-home .deals-carousel::-webkit-scrollbar-thumb {
  background: var(--offsale-line-strong);
  border-radius: 3px;
}
.os-home .deals-carousel::-webkit-scrollbar-thumb:hover {
  background: var(--offsale-orange);
}
.os-home .deal-card {
  flex: 0 0 260px;
  scroll-snap-align: start;
  background: #fff;
  border: 1px solid var(--offsale-line);
  border-radius: 14px;
  overflow: hidden;
  transition: all 0.18s ease;
  cursor: pointer;
  display: block;
}
.os-home .deal-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.12);
  border-color: var(--offsale-orange);
}
.os-home .deal-media {
  position: relative;
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
  overflow: hidden;
}
.os-home .deal-media img,
.os-home .deal-media svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.os-home .deal-discount {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--offsale-orange);
  color: #fff;
  padding: 5px 10px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.3px;
  box-shadow: 0 4px 10px rgba(245, 99, 10, 0.4);
  z-index: 2;
}
.os-home .deal-grade {
  position: absolute;
  top: 10px;
  right: 10px;
  color: #fff;
  padding: 3px 8px;
  border-radius: 5px;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  z-index: 2;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}
.os-home .deal-body {
  padding: 14px;
}
.os-home .deal-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--offsale-ink);
  margin: 0 0 10px;
  line-height: 1.3;
  min-height: 36px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.os-home .deal-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 4px;
}
.os-home .deal-strike {
  color: var(--offsale-ink-mute);
  text-decoration: line-through;
  font-size: 13px;
  font-weight: 500;
}
.os-home .deal-now {
  font-size: 20px;
  font-weight: 800;
  color: var(--offsale-orange-dark);
  letter-spacing: -0.4px;
}
.os-home .deal-inst {
  font-size: 12px;
  color: var(--offsale-ink-mute);
}

/* ============================================================
   FEATURED GRID (cards de producto reutilizables)
   ============================================================ */
.os-home .featured-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.os-home .offsale-card {
  background: var(--card-bg);
  border: 1px solid var(--offsale-line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    border-color 0.18s ease;
  position: relative;
}
.os-home .offsale-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--offsale-line-strong);
}
.os-home .card-media {
  position: relative;
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
  overflow: hidden;
}
.os-home .card-media img,
.os-home .card-media svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.os-home .badge-layer {
  position: absolute;
  top: 12px;
  left: 12px;
  right: 12px;
  display: flex;
  justify-content: space-between;
  pointer-events: none;
  z-index: 2;
}
.os-home .badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: 6px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.3px;
  color: #fff;
  text-transform: uppercase;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}
.os-home .badge-grado.excelente {
  background: var(--grado-excelente);
}
.os-home .badge-grado.muy-bueno {
  background: var(--grado-muy-bueno);
}
.os-home .badge-grado.bueno {
  background: var(--grado-bueno);
  color: #422006;
}
.os-home .badge-grado.outlet {
  background: var(--grado-outlet);
}
.os-home .badge-garantia {
  background: #fff;
  color: var(--offsale-ink);
  border: 1px solid var(--offsale-line);
}
.os-home .card-body {
  padding: 14px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.os-home .card-brand {
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.7px;
  color: var(--offsale-ink-mute);
  font-weight: 700;
}
.os-home .card-title {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--offsale-ink);
  margin: 0;
}
.os-home .card-subtitle {
  font-size: 13px;
  color: var(--offsale-orange-dark);
  font-weight: 600;
  font-style: italic;
  line-height: 1.3;
  margin-top: -4px;
}
.os-home .card-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}
.os-home .spec-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #f1f5f9;
  color: var(--offsale-ink-soft);
  font-size: 11.5px;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 6px;
}
.os-home .card-price {
  margin-top: auto;
  padding-top: 8px;
  border-top: 1px dashed var(--offsale-line);
}
.os-home .price-main {
  display: block;
  font-size: 22px;
  font-weight: 800;
  color: var(--offsale-ink);
  letter-spacing: -0.5px;
}
.os-home .price-installments {
  font-size: 12.5px;
  color: var(--offsale-ink-mute);
  margin-top: 2px;
}
.os-home .price-installments strong {
  color: var(--offsale-orange);
  font-weight: 700;
}
.os-home .card-cta {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
}
.os-home .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  border: none;
  cursor: pointer;
}
.os-home .btn-primary {
  background: var(--offsale-orange);
  color: #fff;
}
.os-home .btn-primary:hover {
  background: var(--offsale-orange-dark);
}
.os-home .btn-wa {
  background: var(--wa-green);
  color: #fff;
  padding: 10px 12px;
}
.os-home .btn-wa svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

/* ============================================================
   WHY OFFSALE
   ============================================================ */
.os-home .why-section {
  background: var(--offsale-navy);
  color: #fff;
  padding: 64px 24px;
  position: relative;
  overflow: hidden;
}
.os-home .why-section::before {
  content: "";
  position: absolute;
  top: -100px;
  right: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(245, 99, 10, 0.15) 0%, transparent 70%);
  border-radius: 50%;
}
.os-home .why-inner {
  max-width: 1280px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.os-home .why-inner h2 {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.8px;
  text-align: center;
  margin: 0 0 40px;
  color: #fff !important;
}
.os-home .why-inner h2 span {
  color: var(--offsale-orange);
}
.os-home .why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.os-home .why-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 28px;
  border-radius: 16px;
  backdrop-filter: blur(8px);
}
.os-home .why-card .icon {
  width: 56px;
  height: 56px;
  background: var(--offsale-orange);
  border-radius: 14px;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
}
.os-home .why-card .icon svg {
  width: 28px;
  height: 28px;
  color: #fff;
}
.os-home .why-card h3 {
  font-size: 20px;
  font-weight: 800;
  margin: 0 0 8px;
  color: #fff !important;
}
.os-home .why-card p {
  font-size: 14px;
  color: #cbd5e1;
  line-height: 1.6;
  margin: 0;
}

/* ============================================================
   PROCESO
   ============================================================ */
.os-home .process-mini {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 12px;
}
.os-home .step-mini {
  background: #fff;
  border: 1px solid var(--offsale-line);
  border-radius: 12px;
  padding: 18px 10px;
  text-align: center;
  transition: all 0.18s ease;
}
.os-home .step-mini:hover {
  border-color: var(--offsale-orange);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.os-home .step-mini-num {
  display: inline-block;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--offsale-orange);
  color: #fff;
  font-weight: 800;
  font-size: 12px;
  line-height: 28px;
  margin-bottom: 10px;
  box-shadow: 0 2px 8px rgba(245, 99, 10, 0.35);
}
.os-home .step-mini-title {
  font-size: 13px;
  font-weight: 800;
  color: var(--offsale-navy);
}
.os-home .process-cta {
  text-align: center;
  margin-top: 30px;
}
.os-home .process-cta a {
  color: var(--offsale-orange);
  font-weight: 700;
  font-size: 14.5px;
  text-decoration: underline;
}

/* ============================================================
   INSTAGRAM WALL
   ============================================================ */
.os-home .ig-section {
  background: #fff;
  padding: 64px 24px;
}
.os-home .ig-inner {
  max-width: 1280px;
  margin: 0 auto;
}
.os-home .ig-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 30px;
}
.os-home .ig-head h2 {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin: 0;
}
.os-home .ig-head h2 span {
  color: var(--offsale-orange);
}
.os-home .ig-head p {
  color: var(--offsale-ink-mute);
  font-size: 15px;
  margin: 4px 0 0;
}
.os-home .ig-follow-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 10px;
  background: linear-gradient(135deg, #833ab4 0%, #fd1d1d 50%, #fcb045 100%);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
}
.os-home .ig-follow-btn svg {
  width: 18px;
  height: 18px;
}
.os-home .ig-wall {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}
.os-home .ig-post {
  aspect-ratio: 1;
  border-radius: 12px;
  background: linear-gradient(135deg, #833ab4 0%, #fd1d1d 50%, #fcb045 100%);
  display: grid;
  place-items: center;
  color: #fff;
  text-align: center;
  padding: 10px;
  font-size: 11px;
  font-weight: 700;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.18s ease;
}
.os-home .ig-post:hover {
  transform: scale(1.03);
}
.os-home .ig-post .heart {
  position: absolute;
  top: 8px;
  right: 8px;
  font-size: 12px;
}

/* ============================================================
   TESTIMONIAL
   ============================================================ */
.os-home .testimonial {
  background: var(--offsale-orange-soft);
  padding: 60px 24px;
}
.os-home .testimonial-inner {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}
.os-home .testimonial .quote-mark {
  font-size: 80px;
  color: var(--offsale-orange);
  line-height: 0.5;
  font-family: Georgia, serif;
}
.os-home .testimonial blockquote {
  font-size: 22px;
  font-weight: 500;
  color: var(--offsale-navy);
  line-height: 1.5;
  margin: 20px 0;
  letter-spacing: -0.3px;
}
.os-home .testimonial .author {
  font-size: 14px;
  color: var(--offsale-ink-soft);
  font-weight: 600;
}
.os-home .testimonial .author strong {
  color: var(--offsale-navy);
}
.os-home .testimonial .stars-big {
  color: var(--offsale-orange);
  letter-spacing: 4px;
  font-size: 20px;
  margin-bottom: 10px;
}

/* ============================================================
   FAQ
   ============================================================ */
.os-home .faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.os-home .faq-item {
  background: #fff;
  border: 1px solid var(--offsale-line);
  border-radius: 10px;
  overflow: hidden;
}
.os-home .faq-item summary {
  padding: 16px 20px;
  cursor: pointer;
  font-weight: 700;
  font-size: 15px;
  color: var(--offsale-ink);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
}
.os-home .faq-item summary::-webkit-details-marker {
  display: none;
}
.os-home .faq-item summary::after {
  content: "+";
  font-size: 20px;
  color: var(--offsale-orange);
  transition: transform 0.2s ease;
}
.os-home .faq-item[open] summary::after {
  transform: rotate(45deg);
}
.os-home .faq-body {
  padding: 0 20px 18px;
  font-size: 14px;
  color: var(--offsale-ink-soft);
  line-height: 1.6;
}
.os-home .faq-more {
  text-align: center;
  margin-top: 24px;
}
.os-home .faq-more a {
  color: var(--offsale-orange);
  font-weight: 700;
  font-size: 14px;
  text-decoration: underline;
}

/* ============================================================
   CTA FINAL
   ============================================================ */
.os-home .final-cta {
  background: linear-gradient(135deg, var(--offsale-orange) 0%, #ff8836 100%);
  padding: 60px 24px;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.os-home .final-cta::before {
  content: "";
  position: absolute;
  top: -50px;
  left: -50px;
  width: 250px;
  height: 250px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
}
.os-home .final-cta::after {
  content: "";
  position: absolute;
  bottom: -50px;
  right: -50px;
  width: 300px;
  height: 300px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
}
.os-home .final-cta-inner {
  max-width: 700px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.os-home .final-cta h2 {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.8px;
  margin: 0 0 12px;
}
.os-home .final-cta p {
  font-size: 16px;
  margin: 0 0 24px;
  opacity: 0.95;
}
.os-home .final-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  background: #fff;
  color: var(--offsale-orange-dark);
  border-radius: 12px;
  font-weight: 800;
  font-size: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  transition: transform 0.15s ease;
}
.os-home .final-cta-btn:hover {
  transform: translateY(-2px);
}
.os-home .final-cta-btn svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
/* Viewport intermedio (notebook 1024-1400px al 100% zoom): más aire lateral */
@media (max-width: 1400px) and (min-width: 961px) {
  .os-home .hero-inner {
    padding: 70px 60px 80px;
    gap: 32px;
  }
  .os-home .float-badge {
    min-width: 180px;
    min-height: 60px;
  }
  .os-home .badge-contact {
    min-width: 180px;
  }
}
@media (max-width: 1100px) {
  .os-home .hero-title {
    font-size: 52px;
  }
  .os-home .process-mini {
    grid-template-columns: repeat(4, 1fr);
  }
}
@media (max-width: 960px) {
  .os-home .hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 40px 24px;
  }
  .os-home .hero-title {
    font-size: 42px;
  }
  .os-home .hero-visual {
    max-width: 500px;
    margin: 0 auto;
  }
  .os-home .trust-strip-inner {
    grid-template-columns: repeat(2, 1fr);
  }
  .os-home .uses-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .os-home .featured-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .os-home .why-grid {
    grid-template-columns: 1fr;
  }
  .os-home .process-mini {
    grid-template-columns: repeat(2, 1fr);
  }
  .os-home .ig-wall {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 768px) {
  .os-home .hero-title {
    font-size: 34px;
  }
  /* Badges flotantes (Stock real / Videollamada / Fotos reales / Escribinos)
     se solapan con el header sticky y el contenido del hero en pantallas chicas.
     Patrón mobile de Amazon/ML/Back Market: hero limpio sin decoraciones flotantes.
     Los mismos valores (stock, envío, garantía) ya viven en trust-strip abajo. */
  .os-home .float-badge,
  .os-home .badge-contact,
  .os-home .hero-orb {
    display: none !important;
  }
  .os-home .section-head h2,
  .os-home .why-inner h2,
  .os-home .final-cta h2 {
    font-size: 26px;
  }
  .os-home .testimonial blockquote {
    font-size: 18px;
  }
  .os-home .featured-grid {
    grid-template-columns: 1fr;
  }
  .os-home .ig-wall {
    grid-template-columns: repeat(2, 1fr);
  }
  .os-home .deal-card {
    flex: 0 0 220px;
  }
  .os-home .deals-arrow {
    width: 36px;
    height: 36px;
  }
  .os-home .deals-controls .see-all {
    display: none;
  }
}
