/* =========================================================
   INDUMAN BUSINESS SRL — Hoja de estilos principal
   Colores tomados del logo: azul marino, azul acero y naranja.
   ========================================================= */
:root {
  --navy-950: #0a1b31;
  --navy-900: #0f2542;
  --navy-800: #16345c;
  --navy-700: #1f4571;
  --steel-600: #3f6384;
  --steel-500: #4f7596;
  --steel-200: #c9d7e4;
  --steel-100: #e7eef5;
  --steel-50: #f3f7fb;
  --orange-600: #d9622b;
  --orange-500: #ee7a3a;
  --orange-100: #fdeee4;
  --green-600: #1f9d55;
  --wa: #25d366;
  --ink: #16202d;
  --text: #2b3747;
  --muted: #5d6c7e;
  --line: #dce4ec;
  --bg: #f2f5f9;
  --white: #ffffff;
  --danger: #c0392b;

  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 2px rgba(15, 37, 66, 0.06), 0 1px 3px rgba(15, 37, 66, 0.08);
  --shadow: 0 4px 14px rgba(15, 37, 66, 0.08);
  --shadow-lg: 0 16px 40px rgba(15, 37, 66, 0.16);

  --font-head: "Barlow Condensed", "Arial Narrow", system-ui, sans-serif;
  --font-body: "Barlow", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --container: 2200px;
  --header-h: 76px;
}

*,
*::before,
*::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { max-width: 100%; overflow-x: hidden; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--navy-700); text-decoration: none; }
a:hover { color: var(--orange-600); }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); line-height: 1.15; margin: 0 0 .5em; letter-spacing: .01em; }
h1 { font-size: clamp(1.9rem, 3.4vw, 2.8rem); }
h2 { font-size: clamp(1.5rem, 2.4vw, 2.1rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
svg.ico { width: 1.25em; height: 1.25em; flex: none; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; vertical-align: middle; }
svg.ico.fill { fill: currentColor; stroke: none; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 clamp(14px, 1.8vw, 34px); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--orange-500); color: #fff; padding: 8px 14px; border-radius: var(--radius-sm); z-index: 1000; }
.skip-link:focus { left: 8px; color: #fff; }
:focus-visible { outline: 3px solid var(--orange-500); outline-offset: 2px; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  border: 2px solid transparent; border-radius: var(--radius-sm);
  padding: .7em 1.25em; font-weight: 600; font-size: .98rem; line-height: 1.1;
  transition: background .15s, color .15s, border-color .15s, transform .1s;
  white-space: nowrap; text-align: center;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--orange-500); color: #fff; }
.btn-primary:hover { background: var(--orange-600); color: #fff; }
.btn-navy { background: var(--navy-700); color: #fff; }
.btn-navy:hover { background: var(--navy-800); color: #fff; }
.btn-outline { border-color: var(--navy-700); color: var(--navy-700); background: transparent; }
.btn-outline:hover { background: var(--navy-700); color: #fff; }
.btn-light { background: #fff; color: var(--navy-800); }
.btn-light:hover { background: var(--orange-500); color: #fff; }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: #1da851; color: #fff; }
.btn-ghost { background: transparent; color: var(--muted); padding: .5em .7em; }
.btn-ghost:hover { color: var(--danger); }
.btn-sm { padding: .5em .85em; font-size: .88rem; }
.btn-lg { padding: .95em 1.6em; font-size: 1.05rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: not-allowed; }

/* ---------- Barra superior ---------- */
.topbar { background: var(--navy-950); color: #c8d5e3; font-size: .85rem; }
.topbar .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 36px; }
.topbar a { color: #e3ebf3; display: inline-flex; align-items: center; gap: 6px; }
.topbar a:hover { color: var(--orange-500); }
.topbar-links { display: flex; gap: 20px; }
.topbar-msg { display: flex; align-items: center; gap: 8px; }

/* ---------- Encabezado ---------- */
.site-header { position: sticky; top: 0; z-index: 90; background: #fff; box-shadow: var(--shadow-sm); }
.header-main .container { display: flex; align-items: center; gap: 24px; min-height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 10px; flex: none; }
.brand img { height: 56px; width: auto; }
.brand-text { font-family: var(--font-head); font-weight: 700; color: var(--navy-700); font-size: 1.35rem; line-height: 1; letter-spacing: .02em; }
.brand-text small { display: block; font-size: .72rem; color: var(--orange-600); letter-spacing: .12em; font-weight: 600; margin-top: 3px; }

.search { position: relative; flex: 1; max-width: 860px; }
.search form { display: flex; border: 2px solid var(--navy-700); border-radius: var(--radius); overflow: hidden; background: #fff; }
.search select { border: 0; background: var(--steel-50); padding: 0 12px; max-width: 190px; border-right: 1px solid var(--line); color: var(--navy-800); font-weight: 500; }
.search input { flex: 1; min-width: 0; border: 0; padding: 12px 14px; outline: none; }
.search button { border: 0; background: var(--navy-700); color: #fff; padding: 0 20px; }
.search button:hover { background: var(--orange-500); }
.suggest { position: absolute; top: calc(100% + 6px); left: 0; right: 0; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg); border: 1px solid var(--line); z-index: 120; max-height: 70vh; overflow: auto; display: none; }
.suggest.open { display: block; }
.suggest a { display: flex; align-items: center; gap: 12px; padding: 8px 12px; color: var(--text); border-bottom: 1px solid var(--steel-100); }
.suggest a:hover, .suggest a.active { background: var(--steel-50); }
.suggest img { width: 44px; height: 44px; object-fit: contain; background: #fff; border-radius: 6px; border: 1px solid var(--steel-100); }
.suggest .s-name { font-weight: 600; font-size: .95rem; color: var(--ink); line-height: 1.2; }
.suggest .s-meta { font-size: .8rem; color: var(--muted); }
.suggest .s-all { justify-content: center; font-weight: 600; color: var(--navy-700); }
.suggest mark { background: var(--orange-100); color: inherit; padding: 0 1px; border-radius: 2px; }

.header-actions { display: flex; align-items: center; gap: 10px; flex: none; }
.quote-btn { position: relative; display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px; border-radius: var(--radius); border: 1px solid var(--line); color: var(--navy-800); background: #fff; font-weight: 600; }
.quote-btn:hover { border-color: var(--orange-500); color: var(--orange-600); }
.quote-btn .ico { width: 26px; height: 26px; }
.quote-btn .lbl { display: flex; flex-direction: column; line-height: 1.05; font-size: .8rem; color: var(--muted); font-weight: 500; }
.quote-btn .lbl b { font-size: 1rem; color: var(--navy-800); }
.badge-count { position: absolute; top: -7px; left: 30px; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px; background: var(--orange-500); color: #fff; font-size: .78rem; font-weight: 700; display: grid; place-items: center; border: 2px solid #fff; }
.badge-count[data-n="0"] { display: none; }
.badge-count.bump { animation: bump .4s ease; }
@keyframes bump { 50% { transform: scale(1.35); } }
.menu-toggle, .search-toggle { display: none; border: 0; background: transparent; color: var(--navy-800); padding: 8px; }
.menu-toggle .ico, .search-toggle .ico { width: 28px; height: 28px; }

.nav { background: var(--navy-700); }
.nav .container { display: flex; align-items: stretch; gap: 4px; }
.nav a, .nav button.nav-cats { display: inline-flex; align-items: center; gap: 8px; color: #fff; padding: 12px 16px; font-weight: 600; font-size: .95rem; border: 0; background: transparent; }
.nav a:hover, .nav a.active, .nav button.nav-cats:hover { background: rgba(255,255,255,.1); color: #fff; }
.nav a.active { box-shadow: inset 0 -3px 0 var(--orange-500); }
.nav button.nav-cats { background: var(--navy-900); min-width: 250px; justify-content: flex-start; }
.nav .nav-cta { margin-left: auto; background: var(--orange-500); }
.nav .nav-cta:hover { background: var(--orange-600); }
.nav-cats-wrap { position: relative; }
.mega { position: absolute; left: 0; top: 100%; width: min(960px, 92vw); background: #fff; box-shadow: var(--shadow-lg); border-radius: 0 0 var(--radius) var(--radius); display: none; grid-template-columns: 260px 1fr; z-index: 110; overflow: hidden; }
.nav-cats-wrap.open .mega { display: grid; }
.mega-list { background: var(--steel-50); border-right: 1px solid var(--line); padding: 6px 0; }
.mega-list a { color: var(--text); display: flex; padding: 9px 16px; gap: 10px; font-weight: 500; box-shadow: none !important; }
.mega-list a .ico { color: var(--steel-500); }
.mega-list a:hover, .mega-list a.on { background: #fff; color: var(--orange-600); }
.mega-panel { padding: 22px 26px; }
.mega-panel h4 { font-size: 1.4rem; margin-bottom: 4px; }
.mega-panel p { color: var(--muted); font-size: .92rem; }
.mega-subs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 4px 20px; margin: 10px 0 16px; }
.mega-subs a { color: var(--text); padding: 5px 0; font-weight: 500; display: flex; justify-content: space-between; box-shadow: none !important; }
.mega-subs a:hover { color: var(--orange-600); background: none; }
.mega-subs small { color: var(--muted); }

/* ---------- Menú móvil ---------- */
.drawer-backdrop { position: fixed; inset: 0; background: rgba(10, 27, 49, .5); opacity: 0; pointer-events: none; transition: opacity .2s; z-index: 150; }
.drawer-backdrop.open { opacity: 1; pointer-events: auto; }
.drawer { position: fixed; top: 0; bottom: 0; width: min(380px, 90vw); background: #fff; z-index: 160; transition: transform .25s ease; display: flex; flex-direction: column; box-shadow: var(--shadow-lg); }
.drawer.left { left: 0; transform: translateX(-102%); }
.drawer.right { right: 0; transform: translateX(102%); }
.drawer.open { transform: none; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; border-bottom: 1px solid var(--line); background: var(--navy-700); color: #fff; }
.drawer-head h3 { color: #fff; margin: 0; font-size: 1.35rem; }
.drawer-head button { border: 0; background: transparent; color: #fff; padding: 6px; }
.drawer-body { overflow: auto; flex: 1; padding: 10px 0; }
.drawer-foot { border-top: 1px solid var(--line); padding: 14px 18px; display: grid; gap: 10px; }
.m-nav a { display: flex; align-items: center; gap: 12px; padding: 12px 20px; color: var(--ink); font-weight: 600; }
.m-nav a:hover { background: var(--steel-50); }
.m-nav .m-title { padding: 14px 20px 6px; font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 700; }
.m-nav .m-cat { font-weight: 500; }
.m-nav .m-cat .ico { color: var(--steel-500); }

/* ---------- Mini cotización (panel lateral) ---------- */
.mini-item { display: grid; grid-template-columns: 64px 1fr auto; gap: 12px; padding: 12px 18px; border-bottom: 1px solid var(--steel-100); align-items: center; }
.mini-item img { width: 64px; height: 64px; object-fit: contain; border: 1px solid var(--steel-100); border-radius: 8px; background: #fff; }
.mini-item .n { font-weight: 600; color: var(--ink); font-size: .95rem; line-height: 1.2; }
.mini-item .q { color: var(--muted); font-size: .85rem; }
.mini-empty { text-align: center; padding: 40px 24px; color: var(--muted); }
.mini-empty .ico { width: 56px; height: 56px; color: var(--steel-200); margin: 0 auto 10px; display: block; }

/* ---------- Secciones ---------- */
main { display: block; }
.section { padding-top: 44px; padding-bottom: 44px; }
.section-tight { padding-top: 28px; padding-bottom: 28px; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 18px; border-bottom: 2px solid var(--line); padding-bottom: 10px; position: relative; }
.section-head::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 90px; height: 2px; background: var(--orange-500); }
.section-head h2 { margin: 0; text-transform: uppercase; }
.section-head .link-all { font-weight: 600; display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; }
.eyebrow { display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--orange-600); margin-bottom: 8px; }
.card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-sm); border: 1px solid var(--line); }

/* ---------- Hero ---------- */
.hero { padding: 20px 0 8px; }
.hero-grid { display: grid; grid-template-columns: 280px 1fr; gap: 20px; }
.cat-side { background: #fff; border-radius: var(--radius); border: 1px solid var(--line); overflow: hidden; box-shadow: var(--shadow-sm); }
.cat-side h3 { margin: 0; background: var(--navy-700); color: #fff; font-size: 1.1rem; padding: 12px 16px; display: flex; align-items: center; gap: 10px; text-transform: uppercase; letter-spacing: .04em; }
.cat-side ul { list-style: none; margin: 0; padding: 4px 0; }
.cat-side a { display: flex; align-items: center; gap: 12px; padding: 9px 16px; color: var(--text); font-weight: 500; font-size: .95rem; }
.cat-side a .ico { color: var(--steel-500); width: 22px; height: 22px; }
.cat-side a .chev { margin-left: auto; color: var(--steel-200); width: 16px; height: 16px; }
.cat-side a:hover { background: var(--steel-50); color: var(--orange-600); }
.cat-side a:hover .ico { color: var(--orange-500); }

.slider { position: relative; border-radius: var(--radius-lg); overflow: hidden; background: var(--navy-900); min-height: 440px; box-shadow: var(--shadow); display: grid; }
.slide { grid-area: 1 / 1; position: relative; display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 20px; padding: 36px 64px 62px; opacity: 0; visibility: hidden; transition: opacity .6s ease, visibility .6s; color: #fff;
  background: radial-gradient(1200px 500px at 85% 50%, rgba(79,117,150,.45), transparent 60%), linear-gradient(120deg, var(--navy-950), var(--navy-800)); }
.slide.on { opacity: 1; visibility: visible; }
.slide::before { content: ""; position: absolute; right: -80px; top: -120px; width: 420px; height: 420px; border-radius: 50%; border: 60px solid rgba(238,122,58,.12); pointer-events: none; }
.slide .tag { display: inline-flex; align-items: center; gap: 8px; background: rgba(238,122,58,.15); color: #ffb183; border: 1px solid rgba(238,122,58,.35); padding: 5px 12px; border-radius: 30px; font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.slide h2 { color: #fff; font-size: clamp(1.9rem, 3.3vw, 2.9rem); margin: 14px 0 12px; text-transform: uppercase; line-height: 1.02; }
.slide h2 em { font-style: normal; color: var(--orange-500); }
.slide p { color: #c9d7e6; font-size: 1.08rem; max-width: 520px; }
.slide .actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 20px; }
.slide-media { position: relative; height: 100%; display: grid; place-items: center; z-index: 1; }
.slide-media.producto img { width: min(360px, 100%); aspect-ratio: 1; object-fit: contain; background: #fff; border-radius: 24px; padding: 18px; box-shadow: 0 30px 60px rgba(0,0,0,.35); transform: rotate(-2deg); }
.slide-media.foto img { width: 100%; height: 100%; max-height: 380px; object-fit: cover; border-radius: 18px; box-shadow: 0 30px 60px rgba(0,0,0,.35); }
.slider-dots { position: absolute; bottom: 22px; left: 64px; display: flex; gap: 8px; z-index: 3; }
.slider-dots button { width: 28px; height: 5px; border-radius: 3px; border: 0; background: rgba(255,255,255,.35); padding: 0; }
.slider-dots button.on { background: var(--orange-500); width: 44px; }
.slider-arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 3; width: 42px; height: 42px; border-radius: 50%; border: 0; background: rgba(255,255,255,.12); color: #fff; display: grid; place-items: center; }
.slider-arrow:hover { background: var(--orange-500); }
.slider-arrow.prev { left: 10px; }
.slider-arrow.next { right: 10px; }

/* ---------- Franja de marcas ---------- */
.brands { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; }
.brands-track { display: flex; gap: 14px; padding: 16px 0; width: max-content; animation: marquee 50s linear infinite; }
.brands:hover .brands-track { animation-play-state: paused; }
.brand-chip { font-family: var(--font-head); font-weight: 700; font-size: 1.35rem; color: var(--steel-600); padding: 6px 22px; border: 1px solid var(--line); border-radius: 40px; white-space: nowrap; letter-spacing: .02em; background: var(--steel-50); }
.brand-chip:hover { color: var(--orange-600); border-color: var(--orange-500); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Beneficios ---------- */
.benefits { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.benefit { display: flex; gap: 14px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.benefit .ico-wrap { width: 52px; height: 52px; border-radius: 12px; background: var(--orange-100); color: var(--orange-600); display: grid; place-items: center; flex: none; }
.benefit .ico-wrap .ico { width: 28px; height: 28px; }
.benefit h3 { margin: 0; font-size: 1.12rem; text-transform: uppercase; }
.benefit p { margin: 0; color: var(--muted); font-size: .9rem; line-height: 1.35; }

/* ---------- Mosaico de categorías ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 16px; }
.cat-tile { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; transition: transform .15s, box-shadow .15s, border-color .15s; color: var(--ink); }
.cat-tile:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--orange-500); color: var(--ink); }
.cat-tile .thumb { width: 100%; aspect-ratio: 4/3; display: grid; place-items: center; }
.cat-tile .thumb img { width: 100%; height: 100%; object-fit: contain; }
.cat-tile .cat-ico { position: absolute; top: 12px; left: 12px; width: 34px; height: 34px; border-radius: 8px; background: var(--navy-700); color: #fff; display: grid; place-items: center; }
.cat-tile .cat-ico .ico { width: 20px; height: 20px; }
.cat-tile h3 { font-size: 1.05rem; margin: 0; text-transform: uppercase; line-height: 1.1; }
.cat-tile small { color: var(--muted); }

/* ---------- Tarjeta de producto ---------- */
.products-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.p-card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); display: flex; flex-direction: column; overflow: hidden; transition: box-shadow .15s, transform .15s, border-color .15s; }
.p-card:hover { box-shadow: var(--shadow); border-color: var(--steel-200); transform: translateY(-2px); }
.p-card .p-img { position: relative; display: block; aspect-ratio: 1; background: #fff; padding: 14px; border-bottom: 1px solid var(--steel-100); }
.p-card .p-img img { width: 100%; height: 100%; object-fit: contain; transition: transform .3s; }
.p-card:hover .p-img img { transform: scale(1.05); }
.p-flags { position: absolute; top: 10px; left: 10px; display: flex; flex-direction: column; gap: 4px; z-index: 1; }
.flag { font-size: .7rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 3px 8px; border-radius: 4px; color: #fff; background: var(--navy-700); width: max-content; }
.flag.new { background: var(--green-600); }
.flag.hot { background: var(--orange-500); }
.flag.srv { background: var(--steel-600); }
.p-body { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.p-meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: .78rem; }
.p-brand { font-weight: 700; color: var(--steel-600); text-transform: uppercase; letter-spacing: .05em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.p-cat { color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.p-name { font-weight: 600; color: var(--ink); line-height: 1.25; font-size: .98rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.5em; }
.p-name:hover { color: var(--orange-600); }
.p-sku { font-size: .78rem; color: var(--muted); }
.p-sku b { background: var(--steel-100); color: var(--navy-800); padding: 1px 6px; border-radius: 4px; font-weight: 600; }
.p-specs { list-style: none; padding: 0; margin: 2px 0 0; display: flex; flex-wrap: wrap; gap: 4px; }
.p-specs li { font-size: .74rem; background: var(--steel-50); border: 1px solid var(--steel-100); color: var(--steel-600); border-radius: 4px; padding: 1px 6px; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.p-actions { margin-top: auto; padding-top: 8px; display: grid; grid-template-columns: 1fr auto; gap: 8px; }
.p-actions .btn { padding: .6em .8em; font-size: .88rem; }
.p-actions .btn-wa { padding: .6em .7em; }
.p-actions .btn.added { background: var(--green-600); }

/* Vista de lista */
.products-grid.list { grid-template-columns: 1fr; }
.products-grid.list .p-card { flex-direction: row; }
.products-grid.list .p-img { width: 190px; flex: none; border-bottom: 0; border-right: 1px solid var(--steel-100); }
.products-grid.list .p-body { padding: 16px 20px; }
.products-grid.list .p-name { -webkit-line-clamp: 3; min-height: 0; font-size: 1.1rem; }
.products-grid.list .p-desc { display: block; }
.products-grid.list .p-actions { grid-template-columns: auto auto; justify-content: start; }
.p-desc { display: none; color: var(--muted); font-size: .92rem; margin: 0; }

/* Carrusel horizontal */
.rail { position: relative; }
.rail-track { display: grid; grid-auto-flow: column; grid-auto-columns: 250px; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 4px 2px 10px; }
.rail-track::-webkit-scrollbar { display: none; }
.rail-track > * { scroll-snap-align: start; }
.rail-btn { position: absolute; top: 40%; z-index: 2; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--navy-800); display: grid; place-items: center; box-shadow: var(--shadow); }
.rail-btn:hover { background: var(--orange-500); color: #fff; border-color: var(--orange-500); }
.rail-btn.prev { left: -14px; }
.rail-btn.next { right: -14px; }

/* ---------- Banner de WhatsApp / CTA ---------- */
.cta-band { background: linear-gradient(110deg, var(--navy-800), var(--navy-700) 55%, var(--steel-600)); color: #fff; border-radius: var(--radius-lg); padding: 28px 34px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; position: relative; overflow: hidden; }
.cta-band::after { content: ""; position: absolute; right: -40px; bottom: -80px; width: 260px; height: 260px; border-radius: 50%; border: 44px solid rgba(238,122,58,.18); }
.cta-band h2 { color: #fff; margin: 0 0 4px; text-transform: uppercase; }
.cta-band p { margin: 0; color: #cddbea; }
.cta-band .actions { display: flex; gap: 12px; flex-wrap: wrap; position: relative; z-index: 1; }

/* ---------- Servicios ---------- */
.services-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.svc { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.svc .svc-img { aspect-ratio: 16/10; background: var(--steel-50); display: grid; place-items: center; overflow: hidden; }
.svc .svc-img img { width: 100%; height: 100%; object-fit: cover; }
.svc .svc-body { padding: 16px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.svc h3 { margin: 0; font-size: 1.2rem; text-transform: uppercase; }
.svc p { color: var(--muted); font-size: .93rem; margin: 0; }
.svc ul { margin: 0; padding-left: 18px; color: var(--text); font-size: .9rem; }
.svc .btn { margin-top: auto; }

/* ---------- Clientes y sectores ---------- */
.clients { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 12px; }
.client { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; text-align: center; font-family: var(--font-head); font-weight: 600; color: var(--navy-800); font-size: 1.08rem; display: grid; place-items: center; min-height: 76px; line-height: 1.15; }
.sectors { display: flex; flex-wrap: wrap; gap: 10px; }
.sector { display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--line); padding: 8px 14px; border-radius: 30px; font-weight: 500; }
.sector .ico { color: var(--orange-500); }

/* ---------- Pie de página ---------- */
.site-footer { background: var(--navy-950); color: #b8c7d7; margin-top: 40px; font-size: .95rem; }
.footer-cta { background: var(--orange-500); color: #fff; }
.footer-cta .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 18px; padding-bottom: 18px; flex-wrap: wrap; }
.footer-cta strong { font-family: var(--font-head); font-size: 1.5rem; text-transform: uppercase; letter-spacing: .02em; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 32px; padding: 44px 20px 28px; }
.site-footer h4 { color: #fff; font-size: 1.2rem; text-transform: uppercase; margin-bottom: 14px; letter-spacing: .04em; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer a { color: #d6e1ec; }
.site-footer a:hover { color: var(--orange-500); }
.site-footer .btn-light { color: var(--navy-800); }
.site-footer .btn-light:hover { color: #fff; }
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.footer-brand img { width: 60px; height: auto; background: #fff; border-radius: 12px; padding: 6px; }
.footer-brand .brand-text { color: #fff; }
.contact-list li { display: flex; gap: 10px; align-items: flex-start; }
.contact-list .ico { color: var(--orange-500); margin-top: 2px; }
.socials { display: flex; gap: 10px; margin-top: 14px; }
.socials a { width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.08); display: grid; place-items: center; }
.socials a:hover { background: var(--orange-500); color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); }
.footer-bottom .container { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-top: 16px; padding-bottom: 16px; font-size: .85rem; color: #8ea2b8; }

/* ---------- Botón flotante de WhatsApp ---------- */
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 80; width: 60px; height: 60px; border-radius: 50%; background: var(--wa); color: #fff; display: grid; place-items: center; box-shadow: 0 10px 25px rgba(37,211,102,.45); transition: transform .15s; }
.wa-float:hover { transform: scale(1.07); color: #fff; }
.wa-float .ico { width: 32px; height: 32px; }
.wa-float::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--wa); animation: pulse 2.2s infinite; }
@keyframes pulse { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.6); opacity: 0; } }

/* ---------- Aviso emergente (toast) ---------- */
.toast-wrap { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 200; display: grid; gap: 8px; width: min(440px, calc(100vw - 32px)); }
.toast { background: var(--navy-900); color: #fff; padding: 12px 14px; border-radius: var(--radius); box-shadow: var(--shadow-lg); display: flex; align-items: center; gap: 12px; animation: toastIn .25s ease; }
.toast img { width: 44px; height: 44px; object-fit: contain; background: #fff; border-radius: 6px; }
.toast .t-txt { flex: 1; font-size: .92rem; line-height: 1.3; }
.toast a { color: var(--orange-500); font-weight: 700; white-space: nowrap; }
.toast.ok .t-ico { color: #5be08f; }
@keyframes toastIn { from { transform: translateY(12px); opacity: 0; } }

/* ---------- Encabezado de página / migas ---------- */
.page-head { background: linear-gradient(110deg, var(--navy-900), var(--navy-700)); color: #fff; padding: 26px 0; }
.page-head h1 { color: #fff; margin: 4px 0 2px; text-transform: uppercase; }
.page-head p { color: #c9d7e6; margin: 0; max-width: 760px; }
.crumbs { font-size: .86rem; color: #a9bdd1; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.crumbs a { color: #dbe6f1; }
.crumbs a:hover { color: var(--orange-500); }
.crumbs.dark { color: var(--muted); padding: 14px 0 0; }
.crumbs.dark a { color: var(--navy-700); }

/* ---------- Catálogo ---------- */
.shop { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: 22px; align-items: start; padding: 24px 0 10px; }
.shop > section { min-width: 0; }
.filters { position: sticky; top: calc(var(--header-h) + 60px); max-height: calc(100vh - var(--header-h) - 80px); overflow: auto; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.f-block { border-bottom: 1px solid var(--line); }
.f-block:last-child { border-bottom: 0; }
.f-block > button { width: 100%; display: flex; justify-content: space-between; align-items: center; border: 0; background: transparent; padding: 14px 16px; font-family: var(--font-head); font-size: 1.12rem; font-weight: 700; color: var(--ink); text-transform: uppercase; letter-spacing: .03em; }
.f-block > button .ico { transition: transform .2s; }
.f-block.closed > button .ico { transform: rotate(-90deg); }
.f-block.closed .f-content { display: none; }
.f-content { padding: 0 16px 14px; }
.f-opt { display: flex; align-items: center; gap: 10px; padding: 5px 0; cursor: pointer; font-size: .93rem; color: var(--text); }
.f-opt input { accent-color: var(--orange-500); width: 16px; height: 16px; flex: none; }
.f-opt .c { margin-left: auto; font-size: .78rem; color: var(--muted); background: var(--steel-50); border-radius: 10px; padding: 0 7px; }
.f-opt.sub { padding-left: 26px; font-size: .9rem; }
.f-opt.on { color: var(--orange-600); font-weight: 600; }
.f-search { width: 100%; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 7px 10px; margin-bottom: 8px; font-size: .9rem; }
.f-more { border: 0; background: none; color: var(--navy-700); font-weight: 600; padding: 6px 0 0; font-size: .9rem; }

.toolbar { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 10px 14px; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 14px; }
.toolbar .count { color: var(--muted); font-size: .92rem; margin-right: auto; }
.toolbar .count b { color: var(--ink); }
.toolbar select, .toolbar input[type="search"] { border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 8px 10px; background: #fff; }
.toolbar input[type="search"] { min-width: 220px; }
.view-toggle { display: flex; border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; }
.view-toggle button { border: 0; background: #fff; padding: 7px 10px; color: var(--muted); }
.view-toggle button.on { background: var(--navy-700); color: #fff; }
.filter-open { display: none; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.chip { display: inline-flex; align-items: center; gap: 6px; background: var(--navy-700); color: #fff; border: 0; border-radius: 30px; padding: 5px 8px 5px 12px; font-size: .85rem; }
.chip:hover { background: var(--orange-500); }
.chip .ico { width: 14px; height: 14px; }
.chip.clear { background: transparent; color: var(--navy-700); text-decoration: underline; }
.shop-cat-intro { min-width: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; margin-bottom: 14px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.shop-cat-intro .sub-pill { border: 1px solid var(--line); background: var(--steel-50); border-radius: 30px; padding: 5px 12px; font-size: .88rem; font-weight: 500; color: var(--text); }
.shop-cat-intro .sub-pill:hover, .shop-cat-intro .sub-pill.on { background: var(--orange-500); color: #fff; border-color: var(--orange-500); }
.empty { text-align: center; background: #fff; border: 1px dashed var(--steel-200); border-radius: var(--radius); padding: 50px 20px; color: var(--muted); }
.empty .ico { width: 54px; height: 54px; color: var(--steel-200); margin: 0 auto 10px; display: block; }
.pager { display: flex; justify-content: center; gap: 6px; margin: 24px 0 10px; flex-wrap: wrap; }
.pager button { min-width: 40px; height: 40px; border-radius: var(--radius-sm); border: 1px solid var(--line); background: #fff; font-weight: 600; color: var(--navy-800); padding: 0 10px; }
.pager button.on { background: var(--navy-700); color: #fff; border-color: var(--navy-700); }
.pager button:hover:not(.on):not([disabled]) { border-color: var(--orange-500); color: var(--orange-600); }
.pager button[disabled] { opacity: .45; cursor: default; }

/* ---------- Ficha de producto ---------- */
.product { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 32px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px; margin-top: 14px; }
.gallery { display: grid; grid-template-columns: 76px 1fr; gap: 12px; align-self: start; position: sticky; top: calc(var(--header-h) + 60px); }
.gallery-thumbs { display: flex; flex-direction: column; gap: 8px; }
.gallery-thumbs button { border: 2px solid var(--line); border-radius: 8px; padding: 3px; background: #fff; aspect-ratio: 1; }
.gallery-thumbs button.on { border-color: var(--orange-500); }
.gallery-thumbs img { width: 100%; height: 100%; object-fit: contain; }
.gallery-main { position: relative; border: 1px solid var(--steel-100); border-radius: var(--radius); background: #fff; aspect-ratio: 1; overflow: hidden; cursor: zoom-in; }
.gallery-main img { width: 100%; height: 100%; object-fit: contain; padding: 20px; transition: transform .2s ease; transform-origin: center; }
.gallery-main.zoom img { transform: scale(2); }
.gallery.single { grid-template-columns: 1fr; }
.gallery.single .gallery-thumbs { display: none; }
.p-info .p-brand { font-size: .9rem; }
.p-info h1 { font-size: clamp(1.7rem, 2.8vw, 2.4rem); margin: 6px 0 10px; }
.code-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 14px; }
.code { display: inline-flex; align-items: center; gap: 8px; background: var(--steel-50); border: 1px solid var(--steel-100); border-radius: var(--radius-sm); padding: 4px 6px 4px 10px; font-size: .9rem; }
.code b { color: var(--navy-800); letter-spacing: .03em; }
.code button { border: 0; background: #fff; border-radius: 4px; padding: 3px 6px; color: var(--muted); font-size: .8rem; display: inline-flex; align-items: center; gap: 4px; }
.code button:hover { color: var(--orange-600); }
.lead { font-size: 1.08rem; color: var(--text); }
.spec-table { width: 100%; border-collapse: collapse; margin: 6px 0 18px; font-size: .95rem; }
.spec-table th, .spec-table td { text-align: left; padding: 9px 12px; border-bottom: 1px solid var(--steel-100); vertical-align: top; }
.spec-table th { width: 38%; color: var(--navy-800); background: var(--steel-50); font-weight: 600; }
.feature-list { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 7px; }
.feature-list li { display: flex; gap: 10px; align-items: flex-start; }
.feature-list .ico { color: var(--green-600); margin-top: 2px; }
.buy-box { border: 2px solid var(--steel-100); border-radius: var(--radius); padding: 16px; background: var(--steel-50); display: grid; gap: 12px; margin: 16px 0; }
.buy-row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.buy-row .btn { flex: 1; min-width: 200px; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; overflow: hidden; }
.qty button { border: 0; background: transparent; width: 40px; height: 44px; color: var(--navy-800); display: grid; place-items: center; }
.qty button:hover { background: var(--steel-100); }
.qty input { width: 56px; border: 0; text-align: center; font-weight: 600; height: 44px; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty.sm button { width: 32px; height: 36px; }
.qty.sm input { width: 44px; height: 36px; }
.note { font-size: .88rem; color: var(--muted); display: flex; gap: 8px; align-items: flex-start; }
.note .ico { color: var(--steel-500); margin-top: 1px; }
.help-box { display: grid; gap: 10px; }
.help-item { display: flex; gap: 12px; align-items: center; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.help-item .ico { width: 26px; height: 26px; color: var(--orange-500); }
.help-item strong { display: block; color: var(--ink); }
.help-item span { color: var(--muted); font-size: .9rem; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.tags a { font-size: .82rem; background: var(--steel-50); border: 1px solid var(--line); border-radius: 30px; padding: 3px 10px; color: var(--text); }
.tags a:hover { border-color: var(--orange-500); color: var(--orange-600); }
.share { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: .9rem; margin-top: 12px; }
.share button, .share a { border: 1px solid var(--line); background: #fff; border-radius: 50%; width: 36px; height: 36px; display: grid; place-items: center; color: var(--navy-800); }
.share button:hover, .share a:hover { border-color: var(--orange-500); color: var(--orange-600); }

/* ---------- Página de cotización ---------- */
.steps { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin: 20px 0 6px; }
.step { display: flex; align-items: center; gap: 8px; color: var(--muted); font-weight: 600; font-size: .95rem; }
.step span { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--steel-100); color: var(--navy-800); font-size: .85rem; }
.step.on { color: var(--ink); }
.step.on span { background: var(--orange-500); color: #fff; }
.step-sep { flex: 0 0 40px; height: 2px; background: var(--line); }
.quote-layout { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 22px; align-items: start; padding: 16px 0 10px; }
.quote-layout > * { min-width: 0; }
.q-list { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.q-list-head { display: flex; justify-content: space-between; align-items: center; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.q-list-head h2 { margin: 0; font-size: 1.4rem; text-transform: uppercase; }
.q-item { display: grid; grid-template-columns: 84px minmax(0, 1fr) auto auto; gap: 14px; align-items: center; padding: 14px 18px; border-bottom: 1px solid var(--steel-100); }
.q-item img { width: 84px; height: 84px; object-fit: contain; border: 1px solid var(--steel-100); border-radius: 8px; background: #fff; }
.q-item .n { font-weight: 600; color: var(--ink); line-height: 1.25; }
.q-item .m { font-size: .84rem; color: var(--muted); }
.q-item textarea { width: 100%; margin-top: 6px; border: 1px solid var(--line); border-radius: 6px; padding: 6px 8px; font-size: .88rem; resize: vertical; min-height: 34px; }
.q-summary { padding: 14px 18px; display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; color: var(--muted); }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; position: sticky; top: calc(var(--header-h) + 60px); }
.form-card h2 { font-size: 1.4rem; text-transform: uppercase; margin-bottom: 4px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 14px; margin-top: 14px; }
.field { display: grid; gap: 4px; }
.field.full { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: .9rem; color: var(--ink); }
.field label .opt { color: var(--muted); font-weight: 400; }
.field input, .field textarea, .field select { border: 1px solid var(--steel-200); border-radius: var(--radius-sm); padding: 10px 12px; background: #fff; width: 100%; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--navy-700); outline: 2px solid rgba(31,69,113,.15); }
.field .err { color: var(--danger); font-size: .8rem; display: none; }
.field.invalid input, .field.invalid textarea { border-color: var(--danger); }
.field.invalid .err { display: block; }
.hp { position: absolute !important; left: -5000px !important; width: 1px; height: 1px; overflow: hidden; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .88rem; color: var(--muted); }
.check.full { grid-column: 1 / -1; }
.check input { flex: none; }
.check input { margin-top: 3px; accent-color: var(--orange-500); }
.form-actions { display: grid; gap: 10px; margin-top: 16px; }
.alert { border-radius: var(--radius-sm); padding: 12px 14px; font-size: .92rem; display: flex; gap: 10px; align-items: flex-start; }
.alert.error { background: #fdecea; color: #8e2a1f; }
.alert.info { background: var(--steel-100); color: var(--navy-800); }
.success { text-align: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 44px 24px; max-width: 760px; margin: 30px auto; }
.success .big-ico { width: 84px; height: 84px; border-radius: 50%; background: #e3f6ec; color: var(--green-600); display: grid; place-items: center; margin: 0 auto 16px; }
.success .big-ico .ico { width: 46px; height: 46px; }
.success .ref { display: inline-block; font-family: var(--font-head); font-size: 1.5rem; background: var(--steel-50); border: 1px dashed var(--steel-200); padding: 6px 18px; border-radius: 8px; color: var(--navy-800); margin: 8px 0 16px; letter-spacing: .05em; }
.success .actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 16px; }

/* ---------- Nosotros / contacto ---------- */
.about-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px; align-items: center; }
.about-img { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.about-img img { width: 100%; height: 100%; object-fit: cover; }
.mvv { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.mvv .card { padding: 22px; }
.mvv .card .ico { width: 34px; height: 34px; color: var(--orange-500); margin-bottom: 8px; }
.mvv h3 { text-transform: uppercase; }
.mvv ul { margin: 0; padding-left: 18px; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.stat { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; text-align: center; }
.stat b { display: block; font-family: var(--font-head); font-size: 2.4rem; color: var(--navy-700); line-height: 1; }
.stat span { color: var(--muted); font-size: .92rem; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 22px; align-items: start; }
.contact-cards { display: grid; gap: 12px; }
.contact-card { display: flex; gap: 14px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; color: var(--text); }
.contact-card .ico-wrap { width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center; background: var(--steel-100); color: var(--navy-700); flex: none; }
.contact-card .ico-wrap.wa { background: #e3f9ea; color: #128c43; }
.contact-card .ico-wrap .ico { width: 26px; height: 26px; }
.contact-card strong { display: block; color: var(--ink); font-size: 1.05rem; }
a.contact-card:hover { border-color: var(--orange-500); color: var(--text); }

.not-found { text-align: center; padding: 70px 20px; }
.not-found b { font-family: var(--font-head); font-size: 6rem; color: var(--steel-200); display: block; line-height: 1; }

.loading { display: grid; place-items: center; min-height: 240px; color: var(--muted); }
.spinner { width: 34px; height: 34px; border-radius: 50%; border: 3px solid var(--steel-100); border-top-color: var(--orange-500); animation: spin .8s linear infinite; margin-bottom: 10px; }
@keyframes spin { to { transform: rotate(360deg); } }
.skeleton { background: linear-gradient(90deg, var(--steel-100), var(--steel-50), var(--steel-100)); background-size: 200% 100%; animation: sk 1.2s infinite; border-radius: var(--radius); }
@keyframes sk { to { background-position: -200% 0; } }

/* ---------- Adaptable ---------- */
@media (max-width: 1200px) {
  .services-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; }
  .cat-side { display: none; }
  .benefits { grid-template-columns: repeat(2, 1fr); }
  .shop { grid-template-columns: minmax(0, 1fr); }
  .filters { position: fixed; top: 0; bottom: 0; left: 0; width: min(340px, 88vw); max-height: none; border-radius: 0; z-index: 160; transform: translateX(-102%); transition: transform .25s; }
  .filters.open { transform: none; }
  .filters .f-mobile-head { display: flex; }
  .filter-open { display: inline-flex; }
  .quote-layout { grid-template-columns: 1fr; }
  .form-card { position: static; }
  .clients { grid-template-columns: repeat(3, 1fr); }
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .nav button.nav-cats { min-width: 0; }
}
.f-mobile-head { display: none; align-items: center; justify-content: space-between; padding: 12px 16px; background: var(--navy-700); color: #fff; position: sticky; top: 0; z-index: 2; }
.f-mobile-head h3 { color: #fff; margin: 0; }
.f-mobile-head button { border: 0; background: transparent; color: #fff; }

@media (max-width: 860px) {
  :root { --header-h: 64px; }
  .topbar { font-size: .76rem; }
  .topbar-msg { display: none; }
  .topbar-links { gap: 10px; width: 100%; justify-content: space-between; }
  .topbar .container { justify-content: space-between; gap: 8px; }
  .nav { display: none; }
  .menu-toggle, .search-toggle { display: inline-flex; }
  .header-main .container { gap: 8px; padding-left: 10px; padding-right: 12px; }
  .brand img { height: 44px; }
  .brand-text { font-size: 1.12rem; }
  .brand-text small { display: none; }
  .search { position: absolute; left: 0; right: 0; top: 100%; max-width: none; padding: 10px 12px; background: #fff; box-shadow: var(--shadow); display: none; }
  .search.open { display: block; }
  .search select { display: none; }
  .header-actions { margin-left: auto; }
  .quote-btn { padding: 6px 8px; border: 0; }
  .quote-btn .lbl { display: none; }
  .badge-count { left: 24px; }
  .slide { grid-template-columns: 1fr; padding: 30px 24px 50px; text-align: left; }
  .slide-media { display: none; }
  .slider { min-height: 0; }
  .slide .actions .btn { flex: 1 1 auto; }
  .slider-dots { left: 24px; }
  .slider-arrow { display: none; }
  .rail-track { grid-auto-columns: calc((100% - 12px) / 2.2); gap: 12px; }
  .rail-btn { display: none; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .products-grid.list .p-card { flex-direction: column; }
  .products-grid.list .p-img { width: 100%; border-right: 0; border-bottom: 1px solid var(--steel-100); }
  .mvv, .stats { grid-template-columns: 1fr 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .q-item { grid-template-columns: 64px minmax(0, 1fr); }
  .q-item img { width: 64px; height: 64px; }
  .q-item .qty, .q-item .btn-ghost { grid-column: 2; justify-self: start; }
  .q-item .q-tools { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; }
  .toolbar input[type="search"] { min-width: 0; flex: 1 1 100%; order: 5; }
  .shop-cat-intro { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .shop-cat-intro .sub-pill { white-space: nowrap; }
  .footer-grid { grid-template-columns: 1fr; gap: 26px; }
  .cta-band { padding: 24px 20px; }
  .section { padding-top: 32px; padding-bottom: 32px; }
  .page-head { padding: 18px 0; }
  .page-head p { font-size: .92rem; }
  .shop { padding-top: 14px; }
  .toolbar { padding: 8px 10px; gap: 8px; }
  .product { padding: 16px; grid-template-columns: 1fr; gap: 20px; }
  .gallery-main { max-width: 520px; width: 100%; margin: 0 auto; }
  .gallery { grid-template-columns: 1fr; position: static; }
  .gallery-thumbs { flex-direction: row; order: 2; overflow-x: auto; }
  .gallery-thumbs button { width: 64px; flex: none; }
  .wa-float { width: 54px; height: 54px; right: 14px; bottom: 14px; }
}
@media (max-width: 420px) {
  .topbar-links { gap: 10px; font-size: .72rem; }
  .topbar-links .ico { width: 1em; height: 1em; }
}
@media (max-width: 520px) {
  .container { padding: 0 14px; }
  .p-body { padding: 10px; }
  .p-name { font-size: .92rem; }
  .p-specs { display: none; }
  .p-actions { grid-template-columns: 1fr auto; }
  .p-actions .btn { padding: .55em .5em; font-size: .82rem; }
  .p-actions .btn-wa { padding: .55em .55em; }
  .clients { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: 1fr; }
  .mvv, .stats { grid-template-columns: 1fr; }
  .brand-text small { display: none; }
  .benefits { grid-template-columns: 1fr 1fr; gap: 10px; }
  .benefit { flex-direction: column; text-align: center; padding: 12px 10px; gap: 8px; }
  .benefit h3 { font-size: 1rem; }
  .benefit p { font-size: .8rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ---------- Impresión de la cotización ---------- */
@media print {
  .topbar, .site-header, .site-footer, .wa-float, .form-card, .no-print, .toast-wrap { display: none !important; }
  body { background: #fff; }
  .quote-layout { grid-template-columns: 1fr; }
  .q-list { border: 0; }
  .print-only { display: block !important; }
}
.print-only { display: none; }
