/* ══════════════ Distribuidora La Plata LED ══════════════ */
:root {
  --bg: #0b0f14;
  --bg-soft: #0f151d;
  --surface: #131b25;
  --surface-2: #1a2433;
  --border: #233143;
  --text: #e8edf2;
  --muted: #93a1b0;
  --accent: #f4731c;   /* naranja de marca */
  --accent-2: #e2540e;
  --cyan: #2e9be6;     /* azul de marca (aclarado para fondo oscuro) */
  --green: #25d366;
  --radius: 16px;
  --shadow: 0 18px 50px rgba(0, 0, 0, .45);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}
h1, h2, h3, h4 { font-family: "Sora", "Inter", sans-serif; line-height: 1.15; }
img { max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

.container { width: min(1180px, 92%); margin: 0 auto; }

/* ── Header ── */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  padding: 14px 0;
  transition: background .3s, box-shadow .3s, padding .3s;
}
/* Sin backdrop-filter: en iOS crea un "containing block" y rompe
   el posicionamiento fijo del menú mobile que vive dentro del header */
.header.scrolled {
  background: rgba(11, 15, 20, .96);
  box-shadow: 0 8px 30px rgba(0, 0, 0, .35);
  padding: 9px 0;
}
.header .container { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.logo img { height: 46px; display: block; }
.nav { display: flex; gap: 26px; align-items: center; }
.nav a { font-size: .92rem; font-weight: 500; color: var(--muted); transition: color .2s; }
.nav a:hover { color: var(--accent); }
.nav-cta {
  background: var(--green); color: #fff !important; font-weight: 700;
  padding: 9px 18px; border-radius: 99px; font-size: .88rem !important;
  display: inline-flex; align-items: center; gap: 7px;
  transition: transform .2s, box-shadow .2s;
}
.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(37, 211, 102, .35); }
.burger { display: none; background: none; border: none; color: var(--text); font-size: 1.6rem; }

/* ── Hero ── */
.hero {
  position: relative; min-height: 100svh;
  display: flex; align-items: center;
  overflow: hidden;
  background: radial-gradient(1200px 600px at 80% -10%, rgba(46, 155, 230, .08), transparent 60%),
              radial-gradient(900px 500px at 10% 110%, rgba(244, 115, 28, .07), transparent 60%),
              var(--bg);
}
#heroCanvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-inner { position: relative; z-index: 2; padding: 120px 0 80px; }
.hero-tag {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid var(--border); background: rgba(19, 27, 37, .7);
  padding: 7px 16px; border-radius: 99px; font-size: .8rem; color: var(--muted);
  letter-spacing: .12em; text-transform: uppercase; backdrop-filter: blur(6px);
}
.hero-tag .dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--accent);
  box-shadow: 0 0 12px var(--accent); animation: pulse 1.8s infinite;
}
@keyframes pulse { 50% { opacity: .35; transform: scale(.8); } }
.hero h1 {
  font-size: clamp(2.4rem, 6vw, 4.4rem); font-weight: 800;
  margin: 22px 0 18px; max-width: 13ch;
}
.hero h1 .glow {
  background: linear-gradient(92deg, var(--accent), var(--accent-2) 55%, var(--cyan));
  background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shimmer 5s ease infinite;
}
@keyframes shimmer { 0%,100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
.hero p.lead { color: var(--muted); font-size: 1.12rem; max-width: 52ch; margin-bottom: 34px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 28px; border-radius: 99px; font-weight: 700; font-size: .98rem;
  border: none; transition: transform .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-3px); }
.btn-primary {
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
  color: #fff;
}
.btn-primary:hover { box-shadow: 0 12px 30px rgba(244, 115, 28, .35); }
.btn-ghost {
  background: rgba(19, 27, 37, .7); color: var(--text);
  border: 1px solid var(--border); backdrop-filter: blur(6px);
}
.btn-ghost:hover { border-color: var(--cyan); box-shadow: 0 12px 30px rgba(46, 155, 230, .15); }
.btn-wsp { background: var(--green); color: #fff; }
.btn-wsp:hover { box-shadow: 0 12px 30px rgba(37, 211, 102, .35); }

.hero-stats {
  display: flex; gap: 48px; margin-top: 64px; flex-wrap: wrap;
}
.stat .num {
  font-family: "Sora", sans-serif; font-size: 2.1rem; font-weight: 800; color: var(--accent);
}
.stat .lbl { color: var(--muted); font-size: .85rem; }

.scroll-hint {
  position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%);
  z-index: 2; color: var(--muted); font-size: .75rem; letter-spacing: .2em;
  text-transform: uppercase; display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.scroll-hint::after {
  content: ""; width: 1px; height: 38px;
  background: linear-gradient(var(--accent), transparent);
  animation: drip 1.6s ease infinite;
}
@keyframes drip { 0% { transform: scaleY(0); transform-origin: top; } 60% { transform: scaleY(1); } 100% { opacity: 0; } }

/* ── Marquee ── */
.marquee {
  border-block: 1px solid var(--border);
  background: var(--bg-soft);
  overflow: hidden; padding: 16px 0; white-space: nowrap;
}
.marquee-track { display: inline-flex; gap: 56px; animation: scrollX 28s linear infinite; }
.marquee span {
  color: var(--muted); font-weight: 600; font-size: .92rem;
  letter-spacing: .14em; text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 12px;
}
.marquee b { color: var(--accent); }
@keyframes scrollX { to { transform: translateX(-50%); } }

/* ── Sections ── */
section { padding: 96px 0; }
.sec-head { text-align: center; margin-bottom: 52px; }
.sec-head .kicker {
  color: var(--accent); font-weight: 700; letter-spacing: .2em;
  text-transform: uppercase; font-size: .78rem;
}
.sec-head h2 { font-size: clamp(1.8rem, 4vw, 2.7rem); margin: 10px 0 14px; }
.sec-head p { color: var(--muted); max-width: 58ch; margin: 0 auto; }

/* ── Products ── */
#productos { background: var(--bg-soft); }
.sec-actions { text-align: center; margin-top: 44px; }

/* Encabezado de la página de catálogo */
.page-hero {
  padding: 150px 0 50px;
  background:
    radial-gradient(700px 320px at 80% -20%, rgba(46, 155, 230, .1), transparent 65%),
    radial-gradient(600px 300px at 10% 0%, rgba(244, 115, 28, .08), transparent 60%),
    var(--bg);
}
.page-hero .kicker {
  color: var(--accent); font-weight: 700; letter-spacing: .2em;
  text-transform: uppercase; font-size: .78rem;
}
.page-hero h1 { font-size: clamp(2rem, 4.6vw, 3.2rem); margin: 10px 0 12px; }
.page-hero p { color: var(--muted); max-width: 56ch; }
.toolbar {
  display: flex; gap: 16px; flex-wrap: wrap; align-items: center;
  justify-content: space-between; margin-bottom: 30px;
}
.search-box { position: relative; flex: 1; min-width: 240px; max-width: 380px; }
.search-box input {
  width: 100%; padding: 13px 18px 13px 46px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 99px; color: var(--text); font-size: .95rem; outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.search-box input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(244, 115, 28, .12); }
.search-box svg { position: absolute; left: 17px; top: 50%; transform: translateY(-50%); opacity: .5; }
.chips { display: flex; gap: 10px; flex-wrap: wrap; }
.chip {
  padding: 9px 18px; border-radius: 99px; font-size: .85rem; font-weight: 600;
  background: var(--surface); border: 1px solid var(--border); color: var(--muted);
  transition: all .2s;
}
.chip:hover { color: var(--text); border-color: var(--accent); }
.chip.active {
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
  color: #fff; border-color: transparent;
}
.results-count { color: var(--muted); font-size: .85rem; margin-bottom: 18px; }

.grid {
  display: grid; gap: 22px;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
}
.card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
  transition: transform .25s, border-color .25s, box-shadow .25s;
  display: flex; flex-direction: column;
}
.card:hover {
  transform: translateY(-6px); border-color: rgba(244, 115, 28, .45);
  box-shadow: var(--shadow);
}
.card-img {
  height: 150px; display: grid; place-items: center; font-size: 3.2rem;
  background:
    radial-gradient(220px 120px at 50% 0%, rgba(244, 115, 28, .14), transparent 70%),
    var(--surface-2);
  position: relative;
}
.card-img img { width: 100%; height: 100%; object-fit: cover; background: #fff; }
.card-img svg { width: 76%; height: 82%; }
.badge {
  position: absolute; top: 12px; right: 12px;
  font-size: .68rem; font-weight: 800; letter-spacing: .08em;
  padding: 5px 11px; border-radius: 99px;
}
.badge.OFERTA { background: var(--accent); color: #fff; }
.badge.NUEVO  { background: var(--cyan); color: #fff; }
.card-body { padding: 18px; flex: 1; display: flex; flex-direction: column; gap: 6px; }
.card-cat { font-size: .72rem; color: var(--cyan); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.card-name { font-size: .98rem; font-weight: 600; flex: 1; }
.card-price { font-family: "Sora", sans-serif; font-size: 1.35rem; font-weight: 800; color: var(--accent); }
.card-btn {
  margin-top: 10px; width: 100%; padding: 11px; border-radius: 10px;
  background: rgba(37, 211, 102, .12); border: 1px solid rgba(37, 211, 102, .35);
  color: var(--green); font-weight: 700; font-size: .85rem;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  transition: all .2s;
}
.card-btn:hover { background: var(--green); color: #fff; }
.empty-state { text-align: center; color: var(--muted); padding: 60px 0; font-size: 1.05rem; }

/* ── Promos ── */
.promo-grid { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.promo {
  position: relative; overflow: hidden;
  border-radius: var(--radius); padding: 34px 30px;
  background: var(--surface); border: 1px solid var(--border);
  transition: transform .25s, box-shadow .25s;
}
.promo:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.promo::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--cyan));
}
.promo .pct { font-family: "Sora", sans-serif; font-size: 2.6rem; font-weight: 800; color: var(--accent); }
.promo h3 { font-size: 1.2rem; margin: 8px 0 10px; }
.promo p { color: var(--muted); font-size: .92rem; }

/* ── Logística ── */
#logistica { background: var(--bg-soft); }
.steps { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); counter-reset: step; }
.step {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 30px 26px; position: relative;
  transition: transform .25s, border-color .25s;
}
.step:hover { transform: translateY(-6px); border-color: rgba(46, 155, 230, .4); }
.step .ico {
  width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center;
  font-size: 1.6rem; margin-bottom: 18px;
  background: rgba(46, 155, 230, .1); border: 1px solid rgba(46, 155, 230, .25);
}
.step::after {
  counter-increment: step; content: "0" counter(step);
  position: absolute; top: 22px; right: 24px;
  font-family: "Sora", sans-serif; font-weight: 800; font-size: 1.5rem;
  color: var(--border);
}
.step h3 { font-size: 1.08rem; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: .9rem; }

/* ── CTA Asesoría ── */
.cta-banner {
  border-radius: 24px; padding: 64px 40px; text-align: center;
  background:
    radial-gradient(600px 280px at 50% -40%, rgba(244, 115, 28, .22), transparent 70%),
    linear-gradient(160deg, var(--surface-2), var(--surface));
  border: 1px solid var(--border); position: relative; overflow: hidden;
}
.cta-banner h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); margin-bottom: 14px; }
.cta-banner p { color: var(--muted); max-width: 56ch; margin: 0 auto 30px; }

/* ── Contacto ── */
.contact-grid { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.contact-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px; text-align: center;
  transition: transform .25s, border-color .25s;
}
.contact-card:hover { transform: translateY(-5px); border-color: rgba(244, 115, 28, .4); }
.contact-card .ico { font-size: 2rem; margin-bottom: 12px; }
.contact-card h3 { font-size: 1rem; margin-bottom: 6px; }
.contact-card p, .contact-card a { color: var(--muted); font-size: .9rem; }
.contact-card a:hover { color: var(--accent); }

/* ── Footer ── */
.footer {
  border-top: 1px solid var(--border); background: var(--bg-soft);
  padding: 44px 0 26px;
}
.footer-top { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; margin-bottom: 28px; }
.footer-top img { height: 42px; }
.socials { display: flex; gap: 12px; }
.socials a {
  width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center;
  background: var(--surface); border: 1px solid var(--border); transition: all .2s;
}
.socials a:hover { border-color: var(--accent); transform: translateY(-3px); }
.footer-bottom {
  border-top: 1px solid var(--border); padding-top: 20px;
  display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap;
  color: var(--muted); font-size: .82rem;
}
.footer-bottom a:hover { color: var(--accent); }

/* ── WhatsApp flotante ── */
.wsp-float {
  position: fixed; bottom: 26px; right: 26px; z-index: 90;
  width: 60px; height: 60px; border-radius: 50%;
  background: var(--green); display: grid; place-items: center;
  box-shadow: 0 10px 30px rgba(37, 211, 102, .4);
  animation: floaty 3s ease-in-out infinite;
}
@keyframes floaty { 50% { transform: translateY(-7px); } }

/* ── Reveal on scroll ── */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ── Responsive ── */
@media (max-width: 860px) {
  .nav {
    position: fixed; top: 0; right: 0; bottom: 0; left: auto;
    width: min(320px, 80vw); height: 100%;
    flex-direction: column; justify-content: center;
    background: #0d1219;
    box-shadow: -10px 0 40px rgba(0, 0, 0, .5);
    transform: translateX(100%); visibility: hidden;
    transition: transform .3s, visibility .3s;
    z-index: 105;
  }
  .nav.open { transform: none; visibility: visible; }
  .burger { display: block; z-index: 110; position: relative; }
  body.menu-open { overflow: hidden; }
  body.menu-open::before {
    content: ""; position: fixed; inset: 0; z-index: 95;
    background: rgba(0, 0, 0, .55);
  }
  .hero-stats { gap: 28px; }
  section { padding: 70px 0; }
}
