/* ==========================================================================
   Neumasystem — Boceto web V2 (dark modern)
   ========================================================================== */

:root {
  --bg: #08080b;
  --bg-soft: #0d0d12;
  --surface: #131319;
  --surface-2: #1a1a22;
  --surface-3: #202029;
  --border: rgba(255,255,255,.08);
  --border-strong: rgba(255,255,255,.16);
  --text: #f3f3f6;
  --text-dim: #a3a3ad;
  --text-faint: #6c6c78;
  --red: #ff3b45;
  --red-2: #ff7a45;
  --red-deep: #a61c22;
  --red-glow: rgba(255,59,69,.45);
  --silver: #cfcfd6;
  --green: #35d68a;
  --amber: #ffb648;
  --radius: 22px;
  --radius-sm: 12px;
  --radius-lg: 32px;
  --font-head: "Space Grotesk", "Inter", Arial, sans-serif;
  --font-body: "Inter", Arial, sans-serif;
  --ease: cubic-bezier(.16,.84,.44,1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  opacity: 0;
  animation: page-in .6s var(--ease) forwards;
}
@keyframes page-in { to { opacity: 1; } }

h1, h2, h3, h4 { font-family: var(--font-head); margin: 0; color: var(--text); font-weight: 700; letter-spacing: -0.02em; }
p { margin: 0; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; margin: 0; padding: 0; }
button { font-family: inherit; cursor: pointer; }
img { max-width: 100%; display: block; }
.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; position: relative; }
.section { padding: 96px 0; position: relative; }
.section-tight { padding: 60px 0; }
.section-soft { background: var(--bg-soft); }
.section-head { max-width: 620px; margin: 0 auto 48px; text-align: center; }
.section-head.left { margin: 0 0 40px; text-align: left; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; color: var(--red); background: rgba(255,59,69,.1); border: 1px solid rgba(255,59,69,.22);
  padding: 7px 16px; border-radius: 999px; margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--red); box-shadow: 0 0 10px var(--red); }
.section-head h2 { font-size: 38px; margin-bottom: 14px; line-height: 1.15; }
.section-head p { color: var(--text-dim); font-size: 16.5px; }
.grad-text { background: linear-gradient(100deg, var(--red) 10%, var(--red-2) 90%); -webkit-background-clip: text; background-clip: text; color: transparent; }

::selection { background: var(--red); color: #fff; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--surface-3); border-radius: 10px; border: 2px solid var(--bg); }
::-webkit-scrollbar-thumb:hover { background: var(--red-deep); }

/* ---------- Progress bar ---------- */
.progress-bar { position: fixed; top: 0; left: 0; height: 3px; width: 0%; background: linear-gradient(90deg, var(--red), var(--red-2)); z-index: 999; transition: width .1s linear; box-shadow: 0 0 12px var(--red-glow); }

/* ---------- Noise overlay ---------- */
.noise-overlay {
  position: fixed; inset: 0; z-index: 1; pointer-events: none; opacity: .035; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Blobs (ambient background glow) ---------- */
.blob { position: absolute; border-radius: 50%; pointer-events: none; z-index: 0; opacity: .35; animation: blob-float 16s ease-in-out infinite; }
.blob-red { background: radial-gradient(circle, var(--red) 0%, transparent 68%); }
.blob-orange { background: radial-gradient(circle, var(--red-2) 0%, transparent 68%); animation-delay: -4s; }
@keyframes blob-float {
  0%, 100% { transform: translate(0,0) scale(1); }
  33% { transform: translate(30px,-40px) scale(1.1); }
  66% { transform: translate(-20px,30px) scale(.95); }
}
@media (prefers-reduced-motion: reduce) { .blob, .reveal, body { animation: none !important; transition: none !important; } }

/* ---------- Boceto ribbon ---------- */
.boceto-ribbon {
  background: var(--surface-2); color: var(--text-dim); text-align: center; border-bottom: 1px solid var(--border);
  font-size: 12.5px; padding: 9px 12px; font-weight: 600; letter-spacing: .3px; position: relative; z-index: 210;
}
.boceto-ribbon strong { color: var(--amber); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 14px 28px; border-radius: 999px; font-weight: 700; font-size: 14.5px;
  border: 1.5px solid transparent; transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s ease, border-color .25s ease;
  white-space: nowrap; position: relative; overflow: hidden;
}
.btn svg { width: 16px; height: 16px; fill: currentColor; }
.btn-primary { background: linear-gradient(120deg, var(--red), var(--red-2)); color: #fff; box-shadow: 0 8px 26px -6px var(--red-glow); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 34px -6px var(--red-glow); }
.btn-outline { background: rgba(255,255,255,.03); border-color: var(--border-strong); color: var(--text); backdrop-filter: blur(6px); }
.btn-outline:hover { border-color: var(--red); color: #fff; transform: translateY(-2px); }
.btn-whatsapp { background: linear-gradient(120deg, #25d366, #1eb958); color: #fff; box-shadow: 0 8px 24px -6px rgba(37,211,102,.4); }
.btn-whatsapp:hover { transform: translateY(-2px); }
.btn-sm { padding: 10px 18px; font-size: 13px; }
.btn-block { width: 100%; }
.btn-ghost { color: var(--text-dim); font-weight: 600; font-size: 13.5px; display: inline-flex; align-items: center; gap: 6px; }
.btn-ghost:hover { color: var(--red); }
.btn-ghost svg { width: 14px; height: 14px; fill: currentColor; }

/* ---------- Header ---------- */
header.site-header {
  position: sticky; top: 0; z-index: 200; background: rgba(8,8,11,.72);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--border);
}
.nav-wrap { display: flex; align-items: center; justify-content: space-between; padding: 14px 24px; max-width: 1180px; margin: 0 auto; gap: 20px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand img { height: 38px; width: auto; filter: drop-shadow(0 0 10px rgba(255,59,69,.25)); }
.main-nav ul { display: flex; gap: 30px; }
.main-nav a { font-weight: 600; font-size: 14px; color: var(--text-dim); position: relative; padding: 8px 0; transition: color .2s ease; }
.main-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 2px; background: linear-gradient(90deg, var(--red), var(--red-2)); transition: right .25s var(--ease); border-radius: 2px; }
.main-nav a:hover { color: var(--text); }
.main-nav a:hover::after, .main-nav a.active::after { right: 0; }
.main-nav a.active { color: var(--text); }
.header-actions { display: flex; align-items: center; gap: 12px; }
.phone-chip { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 13.5px; color: var(--text-dim); }
.phone-chip svg { width: 17px; height: 17px; fill: var(--red); }
.burger { display: none; background: none; border: none; padding: 6px; color: var(--text); }
.burger svg { width: 24px; height: 24px; }

@media (max-width: 1100px) {
  .main-nav { position: fixed; top: 0; right: -100%; height: 100vh; width: min(80vw, 320px);
    background: var(--surface); box-shadow: -20px 0 60px rgba(0,0,0,.5); transition: right .3s var(--ease); padding: 90px 30px; z-index: 250; border-left: 1px solid var(--border); }
  .main-nav.open { right: 0; }
  .main-nav ul { flex-direction: column; gap: 22px; }
  .burger { display: block; }
  .phone-chip { display: none; }
}

/* ---------- Page header (para páginas internas, reemplaza hero gigante) ---------- */
.page-header { position: relative; padding: 64px 0 54px; overflow: hidden; border-bottom: 1px solid var(--border); }
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text-faint); margin-bottom: 20px; }
.breadcrumb a { color: var(--text-dim); font-weight: 600; }
.breadcrumb a:hover { color: var(--red); }
.page-header h1 { font-size: 40px; margin-bottom: 12px; }
.page-header p { color: var(--text-dim); font-size: 16px; max-width: 560px; }

/* ---------- Hero (home) ---------- */
.hero { position: relative; padding: 70px 0 60px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 50px; align-items: center; position: relative; z-index: 2; }
.hero-copy .eyebrow { margin-bottom: 20px; }
.hero-copy h1 { font-size: 52px; line-height: 1.08; margin-bottom: 20px; }
.hero-copy p { font-size: 17.5px; color: var(--text-dim); margin-bottom: 30px; max-width: 480px; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 40px; }
.hero-stats { display: flex; gap: 34px; }
.hero-stats div strong { display: block; font-size: 27px; font-family: var(--font-head); color: var(--text); }
.hero-stats div span { font-size: 12.5px; color: var(--text-faint); }
.hero-visual { position: relative; }
.hero-spot { position: absolute; inset: -40px; background: radial-gradient(circle at var(--mx,50%) var(--my,50%), rgba(255,59,69,.25), transparent 60%); pointer-events: none; transition: background .1s ease; border-radius: 40px; }

@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy h1 { font-size: 36px; }
  .page-header h1 { font-size: 30px; }
}

/* ---------- Placeholder de imagen (dark, glass) ---------- */
.img-placeholder {
  --stripe: rgba(255,255,255,.035);
  position: relative;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  background-color: var(--surface);
  background-image: repeating-linear-gradient(45deg, var(--stripe) 0 10px, transparent 10px 20px);
  border: 1.5px dashed var(--border-strong);
  border-radius: var(--radius);
  color: var(--text-faint);
  overflow: hidden;
  width: 100%;
  transition: border-color .3s ease;
}
.img-placeholder:hover { border-color: rgba(255,59,69,.4); }
.img-placeholder svg { width: 32px; height: 32px; opacity: .5; fill: currentColor; }
.img-placeholder span { font-size: 12px; font-weight: 700; letter-spacing: .4px; text-align: center; padding: 0 10px; text-transform: uppercase; color: var(--text-dim); }
.img-placeholder small { font-size: 11px; color: var(--text-faint); font-weight: 500; text-transform: none; }

.ph-hero { aspect-ratio: 16 / 13; border-radius: 28px; }
.ph-card { aspect-ratio: 4 / 3; }
.ph-product { aspect-ratio: 1 / 1; }
.ph-avatar { width: 52px; height: 52px; border-radius: 50%; aspect-ratio: 1/1; }
.ph-wide { aspect-ratio: 21 / 8; border-radius: 28px; }
.ph-map { aspect-ratio: 16 / 10; border-radius: var(--radius); }

/* ---------- Marquee de marcas ---------- */
.marquee-wrap { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 26px 0; overflow: hidden; background: var(--bg-soft); position: relative; }
.marquee-wrap::before, .marquee-wrap::after { content:""; position:absolute; top:0; bottom:0; width:80px; z-index:2; }
.marquee-wrap::before { left:0; background: linear-gradient(90deg, var(--bg-soft), transparent); }
.marquee-wrap::after { right:0; background: linear-gradient(-90deg, var(--bg-soft), transparent); }
.marquee-track { display: flex; gap: 60px; width: max-content; animation: marquee 26s linear infinite; }
.marquee-track span { font-family: var(--font-head); font-size: 20px; font-weight: 700; color: var(--text-faint); letter-spacing: .5px; white-space: nowrap; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Trust strip ---------- */
.trust-bar { padding: 6px 0; }
.trust-grid { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 18px; }
.trust-item { display: flex; align-items: center; gap: 10px; color: var(--text-dim); font-size: 13.5px; font-weight: 600; }
.trust-item svg { width: 20px; height: 20px; fill: var(--red); flex-shrink: 0; }

/* ---------- Cards genéricas (glass) ---------- */
.glass-card {
  background: linear-gradient(180deg, var(--surface), var(--surface) 60%, var(--bg-soft));
  border: 1px solid var(--border); border-radius: var(--radius); position: relative;
  transition: transform .3s var(--ease), border-color .3s ease, box-shadow .3s ease;
}
.glass-card:hover { border-color: var(--border-strong); transform: translateY(-4px); box-shadow: 0 24px 50px -20px rgba(0,0,0,.6); }

/* ---------- Servicios ---------- */
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
@media (max-width: 980px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .services-grid { grid-template-columns: 1fr; } }
.service-card { padding: 22px; }
.service-card .img-placeholder { margin-bottom: 18px; }
.service-card h3 { font-size: 18px; margin-bottom: 8px; }
.service-card p { font-size: 13.5px; color: var(--text-dim); margin-bottom: 16px; }
.service-card a.link { font-size: 13.5px; font-weight: 700; color: var(--red); display: inline-flex; align-items: center; gap: 6px; }
.service-card a.link svg { width: 14px; height: 14px; fill: var(--red); transition: transform .2s ease; }
.service-card a.link:hover svg { transform: translateX(3px); }

/* ---------- Shop layout (filtros + resultados) ---------- */
.shop-layout { display: grid; grid-template-columns: 300px 1fr; gap: 32px; align-items: start; }
@media (max-width: 940px) { .shop-layout { grid-template-columns: 1fr; } }

.filters-card { padding: 24px; position: sticky; top: 90px; }
.filters-card h4 { font-size: 14.5px; margin-bottom: 14px; color: var(--text); }
.filter-tabs { display: flex; background: var(--bg-soft); border: 1px solid var(--border); border-radius: 999px; padding: 4px; margin-bottom: 22px; }
.filter-tabs button {
  flex: 1; border: none; background: transparent; padding: 10px 6px; border-radius: 999px;
  font-weight: 700; font-size: 12.5px; color: var(--text-dim); transition: all .25s ease;
}
.filter-tabs button.active { background: linear-gradient(120deg, var(--red), var(--red-2)); color: #fff; box-shadow: 0 6px 18px -4px var(--red-glow); }
.filter-pane { display: none; }
.filter-pane.active { display: block; }
.field { margin-bottom: 15px; }
.field label { display: block; font-size: 11.5px; font-weight: 700; color: var(--text-faint); margin-bottom: 7px; text-transform: uppercase; letter-spacing: .5px; }
.field select, .field input {
  width: 100%; padding: 11px 13px; border-radius: var(--radius-sm); border: 1.5px solid var(--border);
  font-size: 14px; font-family: inherit; background: var(--bg-soft); color: var(--text);
}
.field select:focus, .field input:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 3px rgba(255,59,69,.15); }
.field-row { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
.chip-group { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-group label {
  display: flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600; color: var(--text-dim);
  border: 1.5px solid var(--border); padding: 8px 13px; border-radius: 999px; cursor: pointer; text-transform: none; transition: all .2s ease;
}
.chip-group label:has(input:checked) { border-color: var(--red); color: var(--text); background: rgba(255,59,69,.08); }
.chip-group input { width: auto; accent-color: var(--red); }
.filters-card .btn { margin-top: 8px; }
.filters-reset { display: block; text-align: center; margin-top: 12px; font-size: 12.5px; color: var(--text-faint); font-weight: 600; }
.filters-reset:hover { color: var(--red); }

.results-bar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; flex-wrap: wrap; gap: 10px; }
.results-bar p { font-size: 14px; color: var(--text-dim); }
.results-bar strong { color: var(--text); }
.results-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 1080px) { .results-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .results-grid { grid-template-columns: 1fr; } }

.product-card { overflow: hidden; display: flex; flex-direction: column; }
.product-card .ph-product { border-radius: 0; border-width: 0 0 1px; }
.product-body { padding: 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.product-badge { position: relative; }
.stock-badge { position: absolute; top: 12px; left: 12px; font-size: 11px; font-weight: 700; padding: 6px 12px; border-radius: 999px; z-index: 2; backdrop-filter: blur(6px); border: 1px solid transparent; }
.stock-badge.ok { background: rgba(53,214,138,.15); color: var(--green); border-color: rgba(53,214,138,.3); }
.stock-badge.low { background: rgba(255,182,72,.15); color: var(--amber); border-color: rgba(255,182,72,.3); }
.stock-badge.out { background: rgba(255,59,69,.15); color: var(--red); border-color: rgba(255,59,69,.3); }
.product-brand { font-size: 11.5px; font-weight: 700; text-transform: uppercase; color: var(--red-2); letter-spacing: .5px; }
.product-title { font-size: 15.5px; font-weight: 700; color: var(--text); }
.product-meta { font-size: 12.5px; color: var(--text-faint); }
.product-price { font-size: 20px; font-weight: 800; color: var(--text); margin-top: 4px; font-family: var(--font-head); }
.product-actions { display: flex; gap: 8px; margin-top: 8px; }
.icon-btn {
  display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px;
  border-radius: var(--radius-sm); border: 1.5px solid var(--border); background: var(--bg-soft); flex-shrink: 0; transition: border-color .2s ease;
}
.icon-btn svg { width: 18px; height: 18px; fill: #25d366; }
.icon-btn:hover { border-color: #25d366; }
.empty-state { grid-column: 1/-1; text-align: center; padding: 70px 20px; color: var(--text-faint); }
.empty-state svg { width: 44px; height: 44px; opacity: .4; margin-bottom: 14px; fill: currentColor; }

/* ---------- Mantención ---------- */
.maint-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
@media (max-width: 940px) { .maint-grid { grid-template-columns: 1fr; } }
.check-list li { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 15px; font-size: 15px; color: var(--text-dim); }
.check-list svg { width: 20px; height: 20px; fill: var(--red); flex-shrink: 0; margin-top: 2px; }

/* ---------- Seguimiento / tracking ---------- */
.tracker-card { padding: 40px; }
.tracker-lookup { display: flex; gap: 10px; margin-bottom: 36px; flex-wrap: wrap; }
.tracker-lookup input { flex: 1; min-width: 220px; padding: 14px 18px; border-radius: var(--radius-sm); border: 1.5px solid var(--border); font-size: 14px; background: var(--bg-soft); color: var(--text); }
.tracker-lookup input:focus { outline: none; border-color: var(--red); }
.stepper { display: flex; justify-content: space-between; position: relative; margin-bottom: 10px; }
.stepper::before { content: ""; position: absolute; top: 20px; left: 0; right: 0; height: 3px; background: var(--border); z-index: 0; }
.stepper .bar-fill { position: absolute; top: 20px; left: 0; height: 3px; background: linear-gradient(90deg, var(--red), var(--red-2)); z-index: 1; transition: width .5s var(--ease); box-shadow: 0 0 12px var(--red-glow); }
.step { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 10px; flex: 1; text-align: center; }
.step .dot { width: 42px; height: 42px; border-radius: 50%; background: var(--bg-soft); border: 3px solid var(--border); display: flex; align-items: center; justify-content: center; font-weight: 800; color: var(--text-faint); transition: all .3s ease; }
.step.done .dot { border-color: var(--red); background: linear-gradient(120deg, var(--red), var(--red-2)); color: #fff; }
.step.current .dot { border-color: var(--red); color: var(--red); box-shadow: 0 0 0 7px rgba(255,59,69,.15); animation: pulse-ring 1.8s infinite; }
@keyframes pulse-ring { 0%,100% { box-shadow: 0 0 0 7px rgba(255,59,69,.15); } 50% { box-shadow: 0 0 0 11px rgba(255,59,69,.05); } }
.step span { font-size: 12.5px; font-weight: 700; color: var(--text-faint); max-width: 90px; }
.step.done span, .step.current span { color: var(--text); }
.tracker-note { display: flex; gap: 12px; align-items: flex-start; background: var(--bg-soft); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 18px; margin-top: 32px; font-size: 13.5px; color: var(--text-dim); }
.tracker-note svg { width: 22px; height: 22px; fill: #25d366; flex-shrink: 0; }
.tracker-note strong { color: var(--text); }

/* ---------- Testimonios ---------- */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 940px) { .testi-grid { grid-template-columns: 1fr; } }
.testi-card { padding: 24px; }
.stars { display: flex; gap: 3px; margin-bottom: 14px; }
.stars svg { width: 15px; height: 15px; fill: var(--amber); }
.testi-card p.quote { font-size: 14.5px; color: var(--text-dim); margin-bottom: 18px; }
.testi-person { display: flex; align-items: center; gap: 12px; }
.testi-person strong { font-size: 14px; display: block; color: var(--text); }
.testi-person span { font-size: 12.5px; color: var(--text-faint); }

/* ---------- Contacto / mapa ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: start; }
@media (max-width: 940px) { .contact-grid { grid-template-columns: 1fr; } }
.info-list li { display: flex; gap: 14px; margin-bottom: 20px; align-items: flex-start; }
.info-list svg { width: 22px; height: 22px; fill: var(--red); flex-shrink: 0; }
.info-list strong { display: block; font-size: 14.5px; color: var(--text); }
.info-list span { font-size: 13.5px; color: var(--text-dim); }
.social-row { display: flex; gap: 10px; margin-top: 22px; }
.social-row a { width: 42px; height: 42px; border-radius: 50%; background: var(--surface); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; transition: border-color .2s ease, transform .2s ease; }
.social-row a:hover { border-color: var(--red); transform: translateY(-3px); }
.social-row svg { width: 18px; height: 18px; fill: var(--text); }
.contact-form { padding: 28px; }
.contact-form .field { margin-bottom: 16px; }

/* ---------- Footer ---------- */
footer.site-footer { background: var(--bg-soft); color: var(--text-dim); padding: 64px 0 0; border-top: 1px solid var(--border); position: relative; z-index: 2; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 32px; padding-bottom: 40px; border-bottom: 1px solid var(--border); }
@media (max-width: 940px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
footer .brand img { height: 38px; margin-bottom: 14px; }
footer p.desc { font-size: 13.5px; color: var(--text-faint); max-width: 280px; }
footer h5 { color: var(--text); font-size: 13px; margin-bottom: 18px; text-transform: uppercase; letter-spacing: .8px; }
footer ul li { margin-bottom: 11px; }
footer ul a { font-size: 13.5px; color: var(--text-dim); transition: color .2s ease; }
footer ul a:hover { color: var(--red); }
.footer-bottom { display: flex; justify-content: space-between; padding: 22px 0; font-size: 12px; color: var(--text-faint); flex-wrap: wrap; gap: 8px; }

/* ---------- WhatsApp float ---------- */
.wa-float {
  position: fixed; bottom: 26px; right: 26px; width: 60px; height: 60px; border-radius: 50%;
  background: linear-gradient(135deg, #25d366, #1eb958); display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 30px rgba(37,211,102,.5); z-index: 300; animation: wa-pulse 2.4s infinite;
}
.wa-float svg { width: 29px; height: 29px; fill: #fff; }
@keyframes wa-pulse { 0%,100% { box-shadow: 0 10px 30px rgba(37,211,102,.5); } 50% { box-shadow: 0 10px 30px rgba(37,211,102,.8), 0 0 0 10px rgba(37,211,102,.12); } }

.back-top {
  position: fixed; bottom: 26px; left: 26px; width: 46px; height: 46px; border-radius: 50%;
  background: var(--surface); border: 1px solid var(--border); box-shadow: 0 10px 30px rgba(0,0,0,.4);
  display: none; align-items: center; justify-content: center; z-index: 300; transition: border-color .2s ease;
}
.back-top:hover { border-color: var(--red); }
.back-top.show { display: flex; }
.back-top svg { width: 18px; height: 18px; fill: var(--text); }

/* ---------- Admin teaser ---------- */
.admin-teaser { background: linear-gradient(135deg, var(--surface), #150a0b 130%); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 54px; display: flex; align-items: center; gap: 44px; position: relative; overflow: hidden; }
@media (max-width: 940px) { .admin-teaser { flex-direction: column; text-align: center; padding: 38px 26px; } }
.admin-teaser .copy { flex: 1; position: relative; z-index: 1; }
.admin-teaser h2 { font-size: 30px; margin-bottom: 14px; }
.admin-teaser p { color: var(--text-dim); margin-bottom: 24px; font-size: 15px; }
.admin-teaser-badges { display: flex; gap: 12px; flex-wrap: wrap; }
.admin-teaser-badges span { background: rgba(255,255,255,.04); border: 1px solid var(--border); padding: 9px 15px; border-radius: 999px; font-size: 12.5px; font-weight: 600; color: var(--text-dim); }

/* ---------- Modal ---------- */
.modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.72); backdrop-filter: blur(6px); display: none; align-items: center; justify-content: center; z-index: 400; padding: 20px; }
.modal-overlay.open { display: flex; animation: fade-in .25s ease; }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
.modal-box { background: var(--surface); border: 1px solid var(--border-strong); border-radius: var(--radius); padding: 32px; max-width: 440px; width: 100%; position: relative; animation: modal-in .3s var(--ease); }
@keyframes modal-in { from { opacity: 0; transform: translateY(14px) scale(.98); } to { opacity: 1; transform: none; } }
.modal-box h3 { margin-bottom: 6px; }
.modal-box p.sub { font-size: 13.5px; color: var(--text-faint); margin-bottom: 22px; }
.modal-close { position: absolute; top: 18px; right: 18px; background: var(--bg-soft); border: 1px solid var(--border); width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.modal-close svg { width: 13px; height: 13px; fill: var(--text-dim); }
.toast {
  position: fixed; top: 20px; left: 50%; transform: translateX(-50%) translateY(-140%);
  background: var(--surface-2); border: 1px solid var(--border-strong); color: #fff; padding: 15px 24px; border-radius: 999px; font-size: 13.5px; font-weight: 600;
  z-index: 500; transition: transform .35s var(--ease); box-shadow: 0 20px 50px rgba(0,0,0,.5); display: flex; align-items: center; gap: 10px;
}
.toast.show { transform: translateX(-50%) translateY(0); }
.toast svg { width: 18px; height: 18px; fill: var(--green); }

/* ---------- Counters ---------- */
[data-count] { font-variant-numeric: tabular-nums; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }
.reveal[data-delay="4"] { transition-delay: .32s; }

/* ==========================================================================
   PREMIUM UPGRADES V2.1 — ilustraciones, hero interactivo, bento
   ========================================================================== */

/* ---------- Gradient border card (borde luminoso sutil) ---------- */
.grad-border { position: relative; }
.grad-border::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px;
  background: linear-gradient(140deg, rgba(255,59,69,.5), rgba(255,255,255,.06) 40%, transparent 70%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none;
}

/* ---------- Superficie de ilustración (reemplaza cuadros vacíos) ---------- */
.illu-surface {
  position: relative; display: flex; align-items: center; justify-content: center; overflow: hidden;
  background:
    radial-gradient(circle at 50% 38%, rgba(255,59,69,.14), transparent 58%),
    linear-gradient(180deg, var(--surface-2), var(--bg-soft));
}
.illu-surface::before {
  content: ""; position: absolute; inset: 0; opacity: .5;
  background-image: radial-gradient(rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 18px 18px;
}
.illu-surface svg { position: relative; z-index: 1; }

.product-illu { aspect-ratio: 1 / 1; border-bottom: 1px solid var(--border); }
.product-illu svg { width: 70%; height: 70%; filter: drop-shadow(0 22px 30px rgba(0,0,0,.55)); transition: transform .5s var(--ease); }
.product-card:hover .tire-svg { transform: rotate(30deg); }
.product-card:hover .batt-svg { transform: translateY(-4px); }

/* ---------- HERO premium (aura + buscador + tarjetas flotantes) ---------- */
.hero { padding: 60px 0 80px; }
.hero-aura {
  position: absolute; inset: -10% -5% auto -5%; height: 720px; z-index: 0; pointer-events: none; opacity: .9;
  background:
    radial-gradient(40% 55% at 78% 22%, rgba(255,59,69,.22), transparent 70%),
    radial-gradient(38% 50% at 92% 60%, rgba(255,122,69,.16), transparent 70%),
    radial-gradient(45% 45% at 12% 12%, rgba(255,59,69,.10), transparent 70%);
  animation: aura-shift 14s ease-in-out infinite alternate;
}
@keyframes aura-shift { 0% { transform: translate3d(0,0,0) scale(1); } 100% { transform: translate3d(-24px,20px,0) scale(1.08); } }
.hero-grid { grid-template-columns: 1.02fr .98fr; }
.hero-copy h1 { font-size: 54px; letter-spacing: -0.03em; }
@media (max-width: 980px) { .hero-copy h1 { font-size: 36px; } }

/* Buscador protagonista */
.hero-search { padding: 8px; border-radius: 20px; margin-bottom: 22px; max-width: 500px; background: rgba(19,19,25,.7); backdrop-filter: blur(12px); }
.hero-search-tabs { display: flex; gap: 4px; padding: 4px; }
.hero-search-tabs button {
  flex: 1; border: none; background: transparent; color: var(--text-dim); font-weight: 700; font-size: 12.5px;
  padding: 9px; border-radius: 12px; transition: all .2s ease; display: inline-flex; align-items: center; justify-content: center; gap: 7px;
}
.hero-search-tabs button svg { width: 15px; height: 15px; fill: currentColor; }
.hero-search-tabs button.active { background: var(--surface-3); color: var(--text); box-shadow: inset 0 0 0 1px var(--border); }
.hero-search-pane { display: none; padding: 6px; }
.hero-search-pane.active { display: block; }
.hero-search-row { display: grid; grid-template-columns: 1fr 1fr auto; gap: 8px; }
@media (max-width: 560px) { .hero-search-row { grid-template-columns: 1fr; } }
.hero-search select {
  width: 100%; padding: 13px 14px; border-radius: 12px; border: 1.5px solid var(--border);
  background: var(--bg-soft); color: var(--text); font-size: 14px; font-family: inherit; font-weight: 600;
}
.hero-search select:focus { outline: none; border-color: var(--red); }
.hero-search .btn { padding: 13px 22px; }
.hero-search small { display: block; color: var(--text-faint); font-size: 11.5px; padding: 8px 8px 4px; }

.hero-mini-stats { display: flex; gap: 28px; margin-top: 4px; }
.hero-mini-stats div strong { display: block; font-family: var(--font-head); font-size: 22px; color: var(--text); }
.hero-mini-stats div span { font-size: 12px; color: var(--text-faint); }

/* Visual del hero: neumático + tarjetas flotantes */
.hero-visual { position: relative; min-height: 440px; display: flex; align-items: center; justify-content: center; }
.hero-illu { position: relative; width: 100%; max-width: 420px; aspect-ratio: 1/1; display: flex; align-items: center; justify-content: center; z-index: 1; }
.hero-illu::after { content: ""; position: absolute; width: 78%; height: 78%; border-radius: 50%; background: radial-gradient(circle, rgba(255,59,69,.28), transparent 65%); filter: blur(10px); z-index: -1; }
.hero-illu svg { width: 100%; height: auto; filter: drop-shadow(0 40px 60px rgba(0,0,0,.6)); animation: tire-spin 26s linear infinite; }
@keyframes tire-spin { to { transform: rotate(360deg); } }

.floating-card {
  position: absolute; z-index: 3; background: rgba(19,19,25,.82); backdrop-filter: blur(12px);
  border: 1px solid var(--border-strong); border-radius: 16px; padding: 13px 16px; box-shadow: 0 20px 40px -14px rgba(0,0,0,.7);
  display: flex; align-items: center; gap: 11px; animation: float-y 5s ease-in-out infinite;
}
.floating-card .fc-icon { width: 38px; height: 38px; border-radius: 11px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.floating-card .fc-icon svg { width: 20px; height: 20px; }
.floating-card strong { display: block; font-size: 14px; color: var(--text); font-family: var(--font-head); line-height: 1.1; }
.floating-card span { font-size: 11.5px; color: var(--text-dim); }
.fc-1 { top: 6%; left: -4%; animation-delay: 0s; }
.fc-2 { top: 40%; right: -8%; animation-delay: -1.6s; }
.fc-3 { bottom: 6%; left: 4%; animation-delay: -3.2s; }
@keyframes float-y { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@media (max-width: 980px) {
  .hero-visual { min-height: 360px; margin-top: 20px; }
  .fc-1 { left: 0; } .fc-2 { right: 0; }
}
@media (max-width: 560px) { .floating-card { display: none; } .hero-illu svg { animation-duration: 40s; } }

/* ---------- BENTO grid (servicios) ---------- */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 200px; gap: 18px; }
.bento-item { position: relative; overflow: hidden; border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; justify-content: flex-end; }
.bento-item .bento-illu { position: absolute; top: -10px; right: -10px; width: 150px; height: 150px; opacity: .9; }
.bento-item h3 { font-size: 20px; margin-bottom: 6px; position: relative; z-index: 1; }
.bento-item p { font-size: 13px; color: var(--text-dim); position: relative; z-index: 1; max-width: 90%; }
.bento-item .bento-link { position: relative; z-index: 1; margin-top: 14px; font-size: 13px; font-weight: 700; color: var(--red-2); display: inline-flex; align-items: center; gap: 6px; }
.bento-item .bento-link svg { width: 14px; height: 14px; fill: currentColor; transition: transform .2s ease; }
.bento-item:hover .bento-link svg { transform: translateX(4px); }
.bento-item .bento-tag { position: absolute; top: 18px; left: 24px; z-index: 1; font-size: 10.5px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; color: var(--text-faint); }
.bento-lg { grid-column: span 2; grid-row: span 2; padding: 30px; }
.bento-lg .bento-illu { width: 280px; height: 280px; top: auto; bottom: -34px; right: -24px; opacity: 1; }
.bento-lg h3 { font-size: 30px; }
.bento-lg p { font-size: 15px; max-width: 60%; }
.bento-wide { grid-column: span 2; }
@media (max-width: 900px) {
  .bento { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 190px; }
  .bento-lg { grid-column: span 2; grid-row: span 1; }
  .bento-lg p { max-width: 90%; }
}
@media (max-width: 560px) { .bento { grid-template-columns: 1fr; } .bento-lg, .bento-wide { grid-column: span 1; } }

/* ---------- Section illustration (mantención, teaser) ---------- */
.feature-illu { aspect-ratio: 4/3; border-radius: var(--radius-lg); }
.feature-illu svg { width: 62%; height: 62%; filter: drop-shadow(0 30px 40px rgba(0,0,0,.5)); }

/* ---------- Stats strip premium ---------- */
.stats-strip { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; }
@media (max-width: 700px) { .stats-strip { grid-template-columns: 1fr 1fr; } }
.stat-block { padding: 24px; text-align: center; border-radius: var(--radius); }
.stat-block strong { display: block; font-family: var(--font-head); font-size: 34px; background: linear-gradient(120deg,var(--text),var(--text-dim)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat-block span { font-size: 13px; color: var(--text-faint); }

/* ==========================================================================
   PREMIUM PHOTO FRAMES V2.2 — marcos elegantes (reemplazan ilustraciones)
   ========================================================================== */
.photo-frame {
  position: relative; overflow: hidden; border-radius: var(--radius);
  background:
    radial-gradient(120% 130% at 50% 0%, rgba(255,255,255,.045), transparent 55%),
    linear-gradient(180deg, var(--surface-2), var(--bg-soft));
  border: 1px solid var(--border);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
  min-height: 130px; text-align: center; padding: 24px;
}
/* barrido de luz sutil (premium, lento) */
.photo-frame::after {
  content: ""; position: absolute; top: 0; left: -70%; width: 45%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.055), transparent);
  transform: skewX(-16deg); animation: pf-sheen 7s ease-in-out infinite;
}
@keyframes pf-sheen { 0%, 62% { left: -70%; } 100% { left: 135%; } }
.photo-frame .pf-icon {
  width: 58px; height: 58px; border-radius: 16px; display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.035); border: 1px solid var(--border); position: relative; z-index: 1;
}
.photo-frame .pf-icon svg { width: 27px; height: 27px; stroke: var(--text-dim); fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.photo-frame .pf-label { font-size: 12.5px; font-weight: 700; letter-spacing: .4px; text-transform: uppercase; color: var(--text-dim); position: relative; z-index: 1; }
.photo-frame .pf-sub { font-size: 11.5px; color: var(--text-faint); position: relative; z-index: 1; max-width: 90%; }
.photo-frame .pf-corner { position: absolute; width: 16px; height: 16px; border: 2px solid var(--border-strong); z-index: 1; }
.pf-corner.tl { top: 14px; left: 14px; border-right: none; border-bottom: none; border-radius: 5px 0 0 0; }
.pf-corner.tr { top: 14px; right: 14px; border-left: none; border-bottom: none; border-radius: 0 5px 0 0; }
.pf-corner.bl { bottom: 14px; left: 14px; border-right: none; border-top: none; border-radius: 0 0 0 5px; }
.pf-corner.br { bottom: 14px; right: 14px; border-left: none; border-top: none; border-radius: 0 0 5px 0; }
.photo-frame:hover { border-color: var(--border-strong); }

/* variantes */
.pf-product { aspect-ratio: 1/1; border: none; border-bottom: 1px solid var(--border); border-radius: 0; min-height: 0; }
.pf-hero { aspect-ratio: 4/4.4; border-radius: var(--radius-lg); }
.pf-hero .pf-icon { width: 70px; height: 70px; }
.pf-hero .pf-icon svg { width: 32px; height: 32px; }
.pf-feature { aspect-ratio: 4/3; border-radius: var(--radius-lg); }

/* Watermark monocromático para tarjetas bento (sobrio, no caricatura) */
.bento-wm { position: absolute; top: -16px; right: -16px; width: 150px; height: 150px; z-index: 0; pointer-events: none; }
.bento-wm svg { width: 100%; height: 100%; stroke: var(--text); fill: none; stroke-width: 1.2; opacity: .09; }
.bento-lg .bento-wm { width: 240px; height: 240px; top: auto; bottom: -34px; right: -20px; }
.bento-lg .bento-wm svg { opacity: .11; stroke: var(--red); }
