/* ==========================================================================
   Neumasystem — Boceto web (mockup de presentación)
   ========================================================================== */

:root {
  --c-red: #a61c22;
  --c-red-dark: #7c1519;
  --c-red-light: #c8383e;
  --c-dark: #1c1c1c;
  --c-gray-900: #222222;
  --c-gray-700: #4b4b4b;
  --c-gray-500: #7a7a7a;
  --c-gray-400: #9a9a9a;
  --c-gray-200: #e4e4e4;
  --c-gray-100: #f5f5f5;
  --c-white: #ffffff;
  --c-silver: #c6c6c6;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.06);
  --font-head: "Montserrat", "Segoe UI", Arial, sans-serif;
  --font-body: "Inter", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--c-gray-900);
  background: var(--c-white);
  line-height: 1.5;
}
h1, h2, h3, h4 { font-family: var(--font-head); margin: 0; color: var(--c-dark); }
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; }
.section { padding: 84px 0; }
.section-alt { background: var(--c-gray-100); }
.section-head { max-width: 640px; margin: 0 auto 44px; text-align: center; }
.eyebrow {
  display: inline-block; font-size: 12.5px; font-weight: 700; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--c-red); background: rgba(166,28,34,.08);
  padding: 6px 14px; border-radius: 999px; margin-bottom: 14px;
}
.section-head h2 { font-size: 32px; margin-bottom: 12px; }
.section-head p { color: var(--c-gray-700); font-size: 16px; }

/* ---------- Boceto ribbon ---------- */
.boceto-ribbon {
  background: var(--c-dark); color: var(--c-white); text-align: center;
  font-size: 13px; padding: 8px 12px; font-weight: 600; letter-spacing: .3px;
}
.boceto-ribbon strong { color: #ffce54; }
.boceto-ribbon a.switch-link { color: #ffce54; text-decoration: underline; font-weight: 700; margin-left: 10px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 26px; border-radius: 999px; font-weight: 700; font-size: 14.5px;
  border: 2px solid transparent; transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--c-red); color: #fff; box-shadow: 0 8px 20px rgba(166,28,34,.3); }
.btn-primary:hover { background: var(--c-red-dark); }
.btn-outline { background: transparent; border-color: var(--c-dark); color: var(--c-dark); }
.btn-outline:hover { background: var(--c-dark); color: #fff; }
.btn-outline-light { background: transparent; border-color: rgba(255,255,255,.6); color: #fff; }
.btn-outline-light:hover { background: rgba(255,255,255,.15); }
.btn-whatsapp { background: #25d366; color: #fff; }
.btn-whatsapp:hover { background: #1eb958; }
.btn-sm { padding: 9px 16px; font-size: 13px; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
header.site-header {
  position: sticky; top: 0; z-index: 200; background: rgba(255,255,255,.96);
  backdrop-filter: blur(6px); border-bottom: 1px solid var(--c-gray-200);
}
.nav-wrap { display: flex; align-items: center; justify-content: space-between; padding: 12px 24px; max-width: 1180px; margin: 0 auto; gap: 20px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand img { height: 42px; width: auto; }
.main-nav ul { display: flex; gap: 28px; }
.main-nav a { font-weight: 600; font-size: 14.5px; color: var(--c-gray-900); position: relative; padding: 6px 0; }
.main-nav a:hover { color: var(--c-red); }
.header-actions { display: flex; align-items: center; gap: 12px; }
.phone-chip { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14px; color: var(--c-gray-700); }
.phone-chip svg { width: 18px; height: 18px; fill: var(--c-red); }
.burger { display: none; background: none; border: none; padding: 6px; }
.burger svg { width: 26px; height: 26px; }

@media (max-width: 1100px) {
  .main-nav { position: fixed; top: 0; right: -100%; height: 100vh; width: min(78vw, 320px);
    background: #fff; box-shadow: -10px 0 30px rgba(0,0,0,.15); transition: right .25s ease; padding: 90px 28px; z-index: 250; }
  .main-nav.open { right: 0; }
  .main-nav ul { flex-direction: column; gap: 22px; }
  .burger { display: block; }
  .phone-chip { display: none; }
}

/* ---------- Hero ---------- */
.hero { position: relative; padding: 56px 0 130px; background: linear-gradient(180deg, #fff, var(--c-gray-100)); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; }
.hero-copy .eyebrow { margin-bottom: 18px; }
.hero-copy h1 { font-size: 44px; line-height: 1.12; margin-bottom: 18px; }
.hero-copy h1 span { color: var(--c-red); }
.hero-copy p { font-size: 17px; color: var(--c-gray-700); margin-bottom: 28px; max-width: 480px; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 34px; }
.hero-stats { display: flex; gap: 30px; }
.hero-stats div strong { display: block; font-size: 24px; font-family: var(--font-head); color: var(--c-dark); }
.hero-stats div span { font-size: 13px; color: var(--c-gray-500); }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy h1 { font-size: 32px; }
}

/* ---------- Placeholder de imagen (textura tipo boceto) ---------- */
.img-placeholder {
  --stripe: rgba(0,0,0,.05);
  position: relative;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  background-color: var(--c-gray-100);
  background-image: repeating-linear-gradient(45deg, var(--stripe) 0 10px, transparent 10px 20px);
  border: 2px dashed var(--c-gray-400);
  border-radius: var(--radius);
  color: var(--c-gray-500);
  overflow: hidden;
  width: 100%;
}
.img-placeholder svg { width: 34px; height: 34px; opacity: .55; }
.img-placeholder span { font-size: 12.5px; font-weight: 700; letter-spacing: .3px; text-align: center; padding: 0 10px; text-transform: uppercase; }
.img-placeholder small { font-size: 11px; color: var(--c-gray-400); font-weight: 500; text-transform: none; }

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

/* ---------- Trust bar ---------- */
.trust-bar { background: var(--c-dark); padding: 22px 0; }
.trust-grid { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 18px; }
.trust-item { display: flex; align-items: center; gap: 10px; color: #fff; font-size: 13.5px; font-weight: 600; }
.trust-item svg { width: 22px; height: 22px; fill: #ffce54; flex-shrink: 0; }

/* ---------- Servicios ---------- */
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
@media (max-width: 980px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .services-grid { grid-template-columns: 1fr; } }
.service-card {
  background: #fff; border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow-sm);
  border: 1px solid var(--c-gray-200); transition: transform .18s ease, box-shadow .18s ease;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.service-card .img-placeholder { margin-bottom: 16px; }
.service-card h3 { font-size: 18px; margin-bottom: 8px; }
.service-card p { font-size: 14px; color: var(--c-gray-700); margin-bottom: 14px; }
.service-card a.link { font-size: 13.5px; font-weight: 700; color: var(--c-red); display: inline-flex; align-items: center; gap: 6px; }
.service-card a.link svg { width: 14px; height: 14px; fill: var(--c-red); }

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

.filters-card { background: #fff; border: 1px solid var(--c-gray-200); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow-sm); position: sticky; top: 90px; }
.filters-card h4 { font-size: 15px; margin-bottom: 14px; }
.filter-tabs { display: flex; background: var(--c-gray-100); border-radius: 999px; padding: 4px; margin-bottom: 20px; }
.filter-tabs button {
  flex: 1; border: none; background: transparent; padding: 9px 6px; border-radius: 999px;
  font-weight: 700; font-size: 12.5px; color: var(--c-gray-700);
}
.filter-tabs button.active { background: var(--c-dark); color: #fff; }
.filter-pane { display: none; }
.filter-pane.active { display: block; }
.field { margin-bottom: 14px; }
.field label { display: block; font-size: 12.5px; font-weight: 700; color: var(--c-gray-700); margin-bottom: 6px; text-transform: uppercase; letter-spacing: .3px; }
.field select, .field input {
  width: 100%; padding: 10px 12px; border-radius: var(--radius-sm); border: 1.5px solid var(--c-gray-200);
  font-size: 14px; font-family: inherit; background: #fff; color: var(--c-gray-900);
}
.field select:focus, .field input:focus { outline: none; border-color: var(--c-red); }
.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;
  border: 1.5px solid var(--c-gray-200); padding: 7px 12px; border-radius: 999px; cursor: pointer; text-transform: none;
}
.chip-group input { width: auto; accent-color: var(--c-red); }
.filters-card .btn { margin-top: 6px; }
.filters-reset { display: block; text-align: center; margin-top: 10px; font-size: 12.5px; color: var(--c-gray-500); font-weight: 600; }
.filters-reset:hover { color: var(--c-red); }

.results-bar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; flex-wrap: wrap; gap: 10px; }
.results-bar p { font-size: 14px; color: var(--c-gray-700); }
.results-bar strong { color: var(--c-dark); }
.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 { background: #fff; border: 1px solid var(--c-gray-200); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; transition: box-shadow .18s ease, transform .18s ease; }
.product-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.product-card .ph-product { border-radius: 0; border-width: 0 0 1px; }
.product-body { padding: 16px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.product-badge { position: relative; }
.stock-badge { position: absolute; top: 10px; left: 10px; font-size: 11px; font-weight: 700; padding: 5px 10px; border-radius: 999px; z-index: 2; }
.stock-badge.ok { background: #e3f7e9; color: #1c7a3d; }
.stock-badge.low { background: #fff3d6; color: #a76a00; }
.stock-badge.out { background: #fde2e2; color: var(--c-red-dark); }
.product-brand { font-size: 12px; font-weight: 700; text-transform: uppercase; color: var(--c-red); letter-spacing: .4px; }
.product-title { font-size: 15.5px; font-weight: 700; color: var(--c-dark); }
.product-meta { font-size: 12.5px; color: var(--c-gray-500); }
.product-price { font-size: 19px; font-weight: 800; color: var(--c-dark); margin-top: 4px; }
.product-actions { display: flex; gap: 8px; margin-top: 8px; }
.icon-btn {
  display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px;
  border-radius: var(--radius-sm); border: 1.5px solid var(--c-gray-200); background: #fff; flex-shrink: 0;
}
.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: 60px 20px; color: var(--c-gray-500); }
.empty-state svg { width: 46px; height: 46px; opacity: .4; margin-bottom: 12px; }

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

/* ---------- Seguimiento / tracking ---------- */
.tracker-card { background: #fff; border-radius: 20px; box-shadow: var(--shadow); padding: 36px; border: 1px solid var(--c-gray-200); }
.tracker-lookup { display: flex; gap: 10px; margin-bottom: 34px; flex-wrap: wrap; }
.tracker-lookup input { flex: 1; min-width: 220px; padding: 13px 16px; border-radius: var(--radius-sm); border: 1.5px solid var(--c-gray-200); font-size: 14px; }
.stepper { display: flex; justify-content: space-between; position: relative; margin-bottom: 10px; }
.stepper::before { content: ""; position: absolute; top: 19px; left: 0; right: 0; height: 3px; background: var(--c-gray-200); z-index: 0; }
.stepper .bar-fill { position: absolute; top: 19px; left: 0; height: 3px; background: var(--c-red); z-index: 1; transition: width .4s ease; }
.step { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 10px; flex: 1; text-align: center; }
.step .dot { width: 40px; height: 40px; border-radius: 50%; background: #fff; border: 3px solid var(--c-gray-200); display: flex; align-items: center; justify-content: center; font-weight: 800; color: var(--c-gray-400); }
.step.done .dot { border-color: var(--c-red); background: var(--c-red); color: #fff; }
.step.current .dot { border-color: var(--c-red); color: var(--c-red); box-shadow: 0 0 0 6px rgba(166,28,34,.12); }
.step span { font-size: 12.5px; font-weight: 700; color: var(--c-gray-700); max-width: 90px; }
.step.done span, .step.current span { color: var(--c-dark); }
.tracker-note { display: flex; gap: 12px; align-items: flex-start; background: var(--c-gray-100); border-radius: var(--radius-sm); padding: 16px; margin-top: 30px; font-size: 13.5px; color: var(--c-gray-700); }
.tracker-note svg { width: 22px; height: 22px; fill: #25d366; flex-shrink: 0; }

/* ---------- Testimonios ---------- */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 900px) { .testi-grid { grid-template-columns: 1fr; } }
.testi-card { background: #fff; border: 1px solid var(--c-gray-200); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow-sm); }
.stars { display: flex; gap: 3px; margin-bottom: 12px; }
.stars svg { width: 16px; height: 16px; fill: #ffb400; }
.testi-card p.quote { font-size: 14.5px; color: var(--c-gray-700); margin-bottom: 16px; }
.testi-person { display: flex; align-items: center; gap: 12px; }
.testi-person strong { font-size: 14px; display: block; }
.testi-person span { font-size: 12.5px; color: var(--c-gray-500); }

/* ---------- Contacto / mapa ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.info-list li { display: flex; gap: 14px; margin-bottom: 18px; align-items: flex-start; }
.info-list svg { width: 22px; height: 22px; fill: var(--c-red); flex-shrink: 0; }
.info-list strong { display: block; font-size: 14.5px; }
.info-list span { font-size: 13.5px; color: var(--c-gray-700); }
.social-row { display: flex; gap: 10px; margin-top: 20px; }
.social-row a { width: 40px; height: 40px; border-radius: 50%; background: var(--c-gray-100); display: flex; align-items: center; justify-content: center; }
.social-row svg { width: 18px; height: 18px; fill: var(--c-dark); }

/* ---------- Footer ---------- */
footer.site-footer { background: var(--c-dark); color: #d8d8d8; padding: 60px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 32px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.1); }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
footer .brand img { height: 40px; margin-bottom: 14px; filter: brightness(0) invert(1); }
footer p.desc { font-size: 13.5px; color: #a8a8a8; max-width: 280px; }
footer h5 { color: #fff; font-size: 14px; margin-bottom: 16px; text-transform: uppercase; letter-spacing: .5px; }
footer ul li { margin-bottom: 10px; }
footer ul a { font-size: 13.5px; color: #b7b7b7; }
footer ul a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; padding: 20px 0; font-size: 12.5px; color: #8c8c8c; flex-wrap: wrap; gap: 8px; }

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

.back-top {
  position: fixed; bottom: 24px; left: 24px; width: 46px; height: 46px; border-radius: 50%;
  background: #fff; border: 1.5px solid var(--c-gray-200); box-shadow: var(--shadow-sm);
  display: none; align-items: center; justify-content: center; z-index: 300;
}
.back-top.show { display: flex; }
.back-top svg { width: 18px; height: 18px; fill: var(--c-dark); }

/* ---------- Admin teaser (index.html) ---------- */
.admin-teaser { background: linear-gradient(120deg, var(--c-dark), #3a1213); border-radius: 24px; padding: 50px; display: flex; align-items: center; gap: 40px; color: #fff; }
@media (max-width: 900px) { .admin-teaser { flex-direction: column; text-align: center; padding: 36px 24px; } }
.admin-teaser .copy { flex: 1; }
.admin-teaser .eyebrow { background: rgba(255,255,255,.12); color: #ffce54; }
.admin-teaser h2 { color: #fff; font-size: 28px; margin-bottom: 12px; }
.admin-teaser p { color: #d8d8d8; margin-bottom: 22px; font-size: 15px; }
.admin-teaser-badges { display: flex; gap: 14px; flex-wrap: wrap; }
.admin-teaser-badges span { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15); padding: 8px 14px; border-radius: 999px; font-size: 12.5px; font-weight: 600; }

/* ---------- Modal ---------- */
.modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.55); display: none; align-items: center; justify-content: center; z-index: 400; padding: 20px; }
.modal-overlay.open { display: flex; }
.modal-box { background: #fff; border-radius: var(--radius); padding: 30px; max-width: 440px; width: 100%; position: relative; }
.modal-box h3 { margin-bottom: 6px; }
.modal-box p.sub { font-size: 13.5px; color: var(--c-gray-500); margin-bottom: 20px; }
.modal-close { position: absolute; top: 16px; right: 16px; background: var(--c-gray-100); border: none; width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.modal-close svg { width: 14px; height: 14px; }
.toast {
  position: fixed; top: 20px; left: 50%; transform: translateX(-50%) translateY(-120%);
  background: var(--c-dark); color: #fff; padding: 14px 22px; border-radius: 999px; font-size: 13.5px; font-weight: 600;
  z-index: 500; transition: transform .3s ease; box-shadow: var(--shadow); display: flex; align-items: center; gap: 10px;
}
.toast.show { transform: translateX(-50%) translateY(0); }
.toast svg { width: 18px; height: 18px; fill: #4ade80; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .5s ease, transform .5s ease; }
.reveal.in { opacity: 1; transform: none; }
