/* =========================================================
   Eri Rubber & Fittings — hoja de estilos principal
   ========================================================= */
:root {
  --brand: #fdc605;
  --brand-dark: #e0ae00;
  --ink: #12161d;
  --steel: #1d232d;
  --steel-2: #2a323e;
  --text: #1f2530;
  --muted: #5f6b7a;
  --line: #e3e6eb;
  --bg: #f3f4f6;
  --card: #ffffff;
  --wa: #1fa855;
  --radius: 10px;
  --shadow: 0 1px 2px rgba(16, 22, 30, .06), 0 4px 14px rgba(16, 22, 30, .06);
  --shadow-lg: 0 10px 30px rgba(16, 22, 30, .14);
  --wrap: 1280px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-head: "Barlow", "Inter", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); color: var(--text); background: var(--bg); font-size: 15px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.icon { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.icon-fill { fill: currentColor; stroke: none; }

/* ---------- Botones ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 18px; border-radius: 8px; font-weight: 600; font-size: 14px; border: 1px solid transparent; cursor: pointer; transition: background .15s, transform .15s, box-shadow .15s; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn-brand { background: var(--brand); color: var(--ink); }
.btn-brand:hover { background: var(--brand-dark); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--steel-2); }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: #178f47; }
.btn-ghost { background: transparent; border-color: var(--line); color: var(--text); }
.btn-ghost:hover { border-color: var(--text); }
.btn-ghost-light { background: transparent; border-color: rgba(255, 255, 255, .35); color: #fff; }
.btn-ghost-light:hover { border-color: #fff; }
.btn-block { width: 100%; }
.btn-sm { padding: 8px 12px; font-size: 13px; }

/* ---------- Barra superior ---------- */
.topbar { background: var(--ink); color: #aeb6c2; font-size: 12.5px; border-bottom: 1px solid rgba(255, 255, 255, .06); }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 36px; }
.topbar-msg { display: flex; gap: 18px; flex-wrap: wrap; }
.topbar-msg span { display: inline-flex; align-items: center; gap: 6px; }
.topbar-msg .icon { width: 14px; height: 14px; color: var(--brand); }
.topbar-links { display: flex; gap: 18px; }
.topbar-links a { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
@media (max-width: 1200px) { .topbar-msg span:nth-child(3) { display: none; } }
.topbar-links a:hover { color: #fff; }
.topbar-links .icon { width: 14px; height: 14px; }

/* ---------- Header principal ---------- */
.header { background: var(--steel); color: #fff; position: sticky; top: 0; z-index: 50; box-shadow: 0 2px 10px rgba(0, 0, 0, .25); }
.header-main { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 28px; padding: 14px 20px; }
.logo img { height: 34px; width: auto; }
.search { position: relative; max-width: 680px; width: 100%; justify-self: center; }
.search form { display: flex; background: #fff; border-radius: 9px; overflow: hidden; border: 2px solid transparent; transition: border-color .15s; }
.search form:focus-within { border-color: var(--brand); }
.search input { flex: 1; border: 0; outline: 0; padding: 12px 16px; font-size: 15px; color: var(--text); min-width: 0; background: transparent; }
.search button { border: 0; background: var(--brand); color: var(--ink); padding: 0 20px; cursor: pointer; display: flex; align-items: center; gap: 8px; font-weight: 600; }
.search button:hover { background: var(--brand-dark); }
.suggest { position: absolute; top: calc(100% + 6px); left: 0; right: 0; background: #fff; color: var(--text); border-radius: 10px; box-shadow: var(--shadow-lg); overflow: hidden; display: none; max-height: 70vh; overflow-y: auto; }
.suggest.open { display: block; }
.suggest-title { font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); padding: 10px 14px 4px; font-weight: 600; }
.suggest a { display: flex; align-items: center; gap: 12px; padding: 8px 14px; }
.suggest a:hover, .suggest a.active { background: #fff8db; }
.suggest img { width: 40px; height: 40px; object-fit: contain; background: #fff; border: 1px solid var(--line); border-radius: 6px; }
.suggest small { display: block; color: var(--muted); font-size: 12px; }
.suggest .suggest-all { justify-content: center; font-weight: 600; border-top: 1px solid var(--line); padding: 11px; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.menu-toggle { display: none; background: transparent; border: 0; color: #fff; padding: 6px; cursor: pointer; }
.menu-toggle .icon { width: 26px; height: 26px; }

/* ---------- Navegación ---------- */
.nav { background: var(--ink); border-top: 1px solid rgba(255, 255, 255, .06); }
.nav .wrap { display: flex; align-items: stretch; gap: 4px; }
.nav-cats { position: relative; }
.nav-cats-btn { height: 100%; display: flex; align-items: center; gap: 10px; background: var(--brand); color: var(--ink); border: 0; font-weight: 700; padding: 0 20px; cursor: pointer; min-height: 46px; }
.nav-links { display: flex; align-items: center; gap: 2px; flex-wrap: wrap; }
.nav-links a { color: #d5dbe3; padding: 13px 14px; font-size: 14px; font-weight: 500; display: inline-flex; align-items: center; gap: 7px; border-bottom: 2px solid transparent; }
.nav-links a:hover { color: #fff; }
.nav-links a.active { color: #fff; border-bottom-color: var(--brand); }
.nav-links .icon { width: 16px; height: 16px; color: var(--brand); }
.nav-right { margin-left: auto; display: flex; align-items: center; color: #aeb6c2; font-size: 13px; gap: 8px; }
.nav-right strong { color: #fff; }

/* Mega menú */
.mega { position: absolute; top: 100%; left: 0; width: min(980px, calc(100vw - 40px)); background: #fff; color: var(--text); border-radius: 0 0 12px 12px; box-shadow: var(--shadow-lg); padding: 22px; display: none; z-index: 60; }
.nav-cats.open .mega { display: block; }
.mega-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px 18px; }
.mega a { display: flex; align-items: center; gap: 12px; padding: 9px 10px; border-radius: 8px; font-size: 14px; font-weight: 500; }
.mega a:hover { background: #fff8db; }
.mega img { width: 30px; height: 30px; object-fit: contain; }
.mega a span small { display: block; color: var(--muted); font-size: 12px; font-weight: 400; }
.mega-foot { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--line); margin-top: 14px; padding-top: 14px; font-size: 14px; color: var(--muted); }

/* ---------- Secciones ---------- */
.section { padding: 56px 0; }
.section-tight { padding: 36px 0; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 24px; }
.section-head h2 { font-size: 28px; margin: 0; }
.section-head p { margin: 4px 0 0; color: var(--muted); }
.eyebrow { display: inline-block; font-size: 12px; text-transform: uppercase; letter-spacing: .12em; font-weight: 700; color: var(--brand-dark); margin-bottom: 8px; }
.link-more { font-weight: 600; font-size: 14px; display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.link-more:hover { color: var(--brand-dark); }
.link-more .icon { width: 16px; height: 16px; }

/* ---------- Hero ---------- */
.hero { padding: 22px 0 0; }
.hero-grid { display: grid; grid-template-columns: 2.1fr 1fr; gap: 18px; }
.slider { position: relative; border-radius: 14px; overflow: hidden; min-height: 400px; background: var(--ink); }
.slide { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; transition: opacity .7s; display: flex; align-items: flex-end; }
.slide.active { opacity: 1; z-index: 1; }
.slide::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10, 13, 18, .88) 0%, rgba(10, 13, 18, .55) 55%, rgba(10, 13, 18, .1) 100%); }
.slide-body { position: relative; padding: 44px; max-width: 560px; color: #fff; }
.slide-body h2 { font-size: 40px; margin-bottom: 12px; }
.slide-body p { color: #d5dbe3; font-size: 16px; margin: 0 0 22px; }
.slide-body .tag { display: inline-block; background: var(--brand); color: var(--ink); font-weight: 700; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; padding: 5px 10px; border-radius: 4px; margin-bottom: 14px; }
.slide-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.slider-dots { position: absolute; z-index: 2; right: 24px; bottom: 22px; display: flex; gap: 8px; }
.slider-dots button { width: 28px; height: 4px; border-radius: 2px; border: 0; background: rgba(255, 255, 255, .35); cursor: pointer; padding: 0; }
.slider-dots button.active { background: var(--brand); }
.hero-side { display: grid; grid-template-rows: auto 1fr; gap: 18px; }
.quote-card { background: var(--brand); color: var(--ink); border-radius: 14px; padding: 24px; }
.quote-card h3 { font-size: 22px; margin-bottom: 6px; }
.quote-card p { margin: 0 0 16px; font-size: 14px; }
.quote-card .btn + .btn { margin-top: 8px; }
.quote-card .btn-ghost { border-color: rgba(18, 22, 29, .35); }
.promo-card { position: relative; border-radius: 14px; overflow: hidden; color: #fff; display: flex; align-items: flex-end; min-height: 170px; background-size: cover; background-position: center; }
.promo-card::before { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10, 13, 18, .9), rgba(10, 13, 18, .1)); }
.promo-card div { position: relative; padding: 20px; }
.promo-card h3 { font-size: 20px; margin-bottom: 4px; }
.promo-card p { margin: 0; font-size: 13px; color: #d5dbe3; }

/* Beneficios */
.perks { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; background: #fff; border-radius: 12px; box-shadow: var(--shadow); margin-top: 18px; }
.perk { display: flex; align-items: center; gap: 14px; padding: 18px 20px; }
.perk + .perk { border-left: 1px solid var(--line); }
.perk-ico { width: 44px; height: 44px; border-radius: 10px; background: #fff3c2; color: #8a6a00; display: grid; place-items: center; flex: none; }
.perk-ico .icon { width: 22px; height: 22px; }
.perk strong { display: block; font-size: 15px; }
.perk span { font-size: 13px; color: var(--muted); }

/* ---------- Tarjetas de categoría ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.cat-tile { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 14px 16px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 10px; transition: border-color .15s, box-shadow .15s, transform .15s; }
.cat-tile:hover { border-color: var(--brand); box-shadow: var(--shadow); transform: translateY(-2px); }
.cat-tile img { width: 52px; height: 52px; object-fit: contain; }
.cat-tile strong { font-size: 14px; line-height: 1.3; }
.cat-tile span { font-size: 12px; color: var(--muted); }

/* Líneas principales */
.lines { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.line-card { position: relative; border-radius: 12px; overflow: hidden; min-height: 280px; display: flex; align-items: flex-end; color: #fff; background-size: cover; background-position: center; }
.line-card::before { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10, 13, 18, .92) 10%, rgba(10, 13, 18, .05) 70%); transition: background .2s; }
.line-card:hover::before { background: linear-gradient(0deg, rgba(10, 13, 18, .95) 20%, rgba(10, 13, 18, .25) 80%); }
.line-card div { position: relative; padding: 20px; }
.line-card h3 { font-size: 21px; margin-bottom: 4px; }
.line-card p { margin: 0 0 10px; font-size: 13px; color: #cfd6df; }
.line-card .link-more { color: var(--brand); }

/* ---------- Tarjetas de producto ---------- */
.prod-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.prod-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .15s, border-color .15s; }
.prod-card:hover { box-shadow: var(--shadow-lg); border-color: #d4d8de; }
.prod-img { aspect-ratio: 4 / 3; background: #fff; display: grid; place-items: center; padding: 14px; border-bottom: 1px solid var(--line); }
.prod-img img { max-height: 100%; width: auto; object-fit: contain; }
.prod-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.prod-cat { font-size: 11.5px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 600; }
.prod-name { font-family: var(--font-head); font-weight: 600; font-size: 17px; line-height: 1.25; }
.prod-name:hover { color: #8a6a00; }
.specs { display: flex; flex-wrap: wrap; gap: 6px; }
.spec { font-size: 12px; background: var(--bg); border: 1px solid var(--line); border-radius: 5px; padding: 3px 8px; color: var(--text); }
.spec b { font-weight: 600; color: var(--muted); }
.prod-actions { display: flex; gap: 8px; margin-top: auto; padding-top: 6px; }
.prod-actions .btn { flex: 1; padding: 9px 10px; font-size: 13px; }
.prod-card.quote { background: linear-gradient(160deg, #fffaf0, #fff3c2); border-style: dashed; border-color: #e8cf6a; }
.prod-card.quote .prod-body { justify-content: center; text-align: center; align-items: center; padding: 26px 18px; }
.prod-card.quote .icon { width: 34px; height: 34px; color: #8a6a00; }

.scroller { position: relative; }
.scroller-track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 48px) / 4); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px; }
.scroller-track::-webkit-scrollbar { display: none; }
.scroller-track > * { scroll-snap-align: start; }
.scroller-btns { display: flex; gap: 8px; }
.scroller-btns button { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); background: #fff; cursor: pointer; display: grid; place-items: center; }
.scroller-btns button:hover { border-color: var(--text); }

/* Industrias */
.industries { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.industry { background: #fff; border-radius: 12px; overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.industry-img { height: 170px; background-size: cover; background-position: center; }
.industry div.body { padding: 20px; }
.industry h3 { font-size: 20px; }
.industry p { margin: 0 0 14px; color: var(--muted); font-size: 14px; }

/* Banda CTA */
.cta-band { background: var(--ink); color: #fff; border-radius: 14px; padding: 36px 40px; display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; position: relative; overflow: hidden; }
.cta-band::after { content: ""; position: absolute; right: -60px; top: -60px; width: 240px; height: 240px; border-radius: 50%; border: 36px solid var(--brand); opacity: .12; }
.cta-band h2 { font-size: 28px; margin-bottom: 6px; }
.cta-band p { margin: 0; color: #aeb6c2; }
.cta-band .slide-actions { position: relative; z-index: 1; }

/* ---------- Encabezado de página ---------- */
.page-head { position: relative; background: var(--ink) center / cover no-repeat; color: #fff; }
.page-head::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10, 13, 18, .92), rgba(10, 13, 18, .6)); }
.page-head .wrap { position: relative; padding-top: 40px; padding-bottom: 40px; }
.page-head h1 { font-size: 38px; margin-bottom: 6px; }
.page-head p { margin: 0; color: #cfd6df; max-width: 680px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; font-size: 13px; color: #aeb6c2; margin-bottom: 14px; }
.crumbs a:hover { color: var(--brand); }
.crumbs span.sep { opacity: .5; }
.crumbs.dark { color: var(--muted); }
.crumbs.dark a:hover { color: #8a6a00; }

/* ---------- Layout con barra lateral ---------- */
.layout { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: 28px; align-items: start; }
.layout > * { min-width: 0; }
.sidebar { position: sticky; top: 140px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 10px; max-height: calc(100vh - 160px); overflow-y: auto; }
.sidebar h4 { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); padding: 8px 10px 6px; margin: 0; }
.sidebar a { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 7px; font-size: 14px; }
.sidebar a img { width: 22px; height: 22px; object-fit: contain; }
.sidebar a:hover { background: var(--bg); }
.sidebar a.active { background: #fff3c2; font-weight: 600; }
.sidebar a small { margin-left: auto; color: var(--muted); font-size: 12px; }

.sub-block { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 22px; margin-bottom: 22px; scroll-margin-top: 140px; }
.sub-head { display: flex; gap: 18px; align-items: center; margin-bottom: 18px; }
.sub-head img { width: 96px; height: 72px; object-fit: contain; border-radius: 8px; border: 1px solid var(--line); background: #fff; flex: none; }
.sub-head h2 { font-size: 24px; margin: 0 0 8px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { font-size: 13px; padding: 5px 11px; border-radius: 999px; background: var(--bg); border: 1px solid var(--line); cursor: pointer; }
.chip:hover { border-color: var(--text); }
.chip.active { background: var(--ink); color: #fff; border-color: var(--ink); }
.group { scroll-margin-top: 140px; }
.group + .group { margin-top: 24px; padding-top: 22px; border-top: 1px dashed var(--line); }
.group h3 { font-size: 18px; display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.group h3 .count { font-family: var(--font); font-size: 12px; font-weight: 600; background: var(--bg); color: var(--muted); border-radius: 999px; padding: 2px 9px; }
.layout .prod-grid { grid-template-columns: repeat(3, 1fr); }
.group-empty { display: flex; align-items: center; justify-content: space-between; gap: 16px; background: #fffaf0; border: 1px dashed #e8cf6a; border-radius: 10px; padding: 14px 16px; }
.group + .group-empty, .group-empty + .group, .group-empty + .group-empty { margin-top: 12px; padding-top: 14px; border-top: 1px dashed #e8cf6a; }
.group-empty h3 { margin: 0 0 2px; font-size: 16px; }
.group-empty p { margin: 0; font-size: 13px; color: var(--muted); }
.cat-mobile-nav { display: none; }

/* ---------- Ficha de producto ---------- */
.product { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 36px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 30px; }
.product-media { border: 1px solid var(--line); border-radius: 12px; aspect-ratio: 1 / 1; display: grid; place-items: center; padding: 30px; background: #fff; }
.product-media img { max-height: 100%; width: auto; object-fit: contain; }
.product-info h1 { font-size: 34px; margin: 6px 0 4px; }
.product-info .en { color: var(--muted); margin: 0 0 18px; font-size: 14px; }
.product-info .desc { font-size: 15.5px; margin: 0 0 20px; }
.spec-table { width: 100%; border-collapse: collapse; margin-bottom: 22px; font-size: 14px; }
.spec-table th, .spec-table td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.spec-table th { width: 40%; color: var(--muted); font-weight: 500; background: var(--bg); }
.product-cta { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.product-cta .btn-wa { grid-column: 1 / -1; padding: 14px; font-size: 15px; }
.product-note { display: flex; gap: 10px; align-items: flex-start; background: var(--bg); border-radius: 10px; padding: 14px; margin-top: 18px; font-size: 13.5px; color: var(--muted); }
.product-note .icon { color: #8a6a00; margin-top: 2px; }
.badge { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; background: #fff3c2; color: #6b5200; border-radius: 6px; padding: 4px 9px; }

/* ---------- Búsqueda ---------- */
.search-page-bar { display: flex; gap: 10px; margin-bottom: 18px; }
.search-page-bar input { flex: 1; min-width: 0; padding: 13px 16px; border: 1px solid var(--line); border-radius: 9px; background: #fff; font-size: 16px; outline: 0; }
.search-page-bar input:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(253, 198, 5, .25); }
.result-info { color: var(--muted); margin: 0 0 16px; }
.empty { text-align: center; padding: 50px 20px; background: #fff; border: 1px dashed var(--line); border-radius: 12px; }
.empty .icon { width: 40px; height: 40px; color: var(--muted); margin: 0 auto 10px; }

/* ---------- Nosotros ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.split img { border-radius: 14px; width: 100%; height: 100%; max-height: 420px; object-fit: cover; }
.split p { color: var(--muted); font-size: 16px; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.stat { background: #fff; border-radius: 12px; padding: 22px; box-shadow: var(--shadow); }
.stat strong { display: block; font-family: var(--font-head); font-size: 36px; line-height: 1; color: var(--ink); }
.stat strong em { font-style: normal; color: var(--brand-dark); }
.stat span { color: var(--muted); font-size: 14px; }
.mv { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.mv-card { background: #fff; border-radius: 12px; padding: 28px; border-top: 4px solid var(--brand); box-shadow: var(--shadow); }
.mv-card p { color: var(--muted); margin: 0; }

/* ---------- Contacto ---------- */
.branches { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.branch { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 22px; }
.branch h3 { font-size: 19px; display: flex; align-items: center; gap: 8px; }
.branch h3 .icon { color: var(--brand-dark); }
.branch address { font-style: normal; color: var(--muted); font-size: 14px; margin-bottom: 12px; }
.branch ul { list-style: none; padding: 0; margin: 0 0 12px; display: grid; grid-template-columns: 1fr 1fr; gap: 4px 12px; font-size: 14px; }
.branch ul a:hover, .branch .mail:hover { color: #8a6a00; text-decoration: underline; }
.branch .mail { font-size: 14px; font-weight: 600; display: inline-flex; gap: 6px; align-items: center; }
.contact-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 28px; align-items: start; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 28px; position: sticky; top: 140px; }
.form-card h2 { font-size: 24px; }
.form-card p { color: var(--muted); margin-top: 0; font-size: 14px; }
.field { display: flex; flex-direction: column; gap: 5px; margin-bottom: 12px; }
.field label { font-size: 13px; font-weight: 600; }
.field input, .field select, .field textarea { padding: 11px 12px; border: 1px solid var(--line); border-radius: 8px; background: #fff; outline: 0; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(253, 198, 5, .25); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 6px; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: #aeb6c2; margin-top: 56px; font-size: 14px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 36px; padding: 48px 20px 36px; }
.footer img.flogo { height: 30px; width: auto; margin-bottom: 16px; }
.footer h4 { color: #fff; font-size: 15px; margin-bottom: 14px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer a:hover { color: var(--brand); }
.footer .social { display: flex; gap: 10px; margin-top: 16px; }
.footer .social a { width: 36px; height: 36px; border-radius: 8px; background: var(--steel-2); display: grid; place-items: center; color: #fff; }
.footer .social a:hover { background: var(--brand); color: var(--ink); }
.footer .branch-mini { margin-bottom: 10px; }
.footer .branch-mini strong { color: #fff; display: block; font-size: 13px; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .08); }
.footer-bottom .wrap { display: flex; justify-content: space-between; gap: 16px; padding-top: 16px; padding-bottom: 16px; font-size: 13px; flex-wrap: wrap; }

/* WhatsApp flotante */
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 70; width: 56px; height: 56px; border-radius: 50%; background: var(--wa); color: #fff; display: grid; place-items: center; box-shadow: 0 6px 20px rgba(31, 168, 85, .45); transition: transform .15s; }
.wa-float:hover { transform: scale(1.06); }
.wa-float .icon { width: 28px; height: 28px; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .cat-grid { grid-template-columns: repeat(4, 1fr); }
  .prod-grid { grid-template-columns: repeat(3, 1fr); }
  .layout .prod-grid { grid-template-columns: repeat(2, 1fr); }
  .lines { grid-template-columns: repeat(2, 1fr); }
  .scroller-track { grid-auto-columns: calc((100% - 32px) / 3); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .nav-right { display: none; }
}
@media (max-width: 900px) {
  .topbar-msg span:nth-child(n+2) { display: none; }
  .header-main { grid-template-columns: auto auto; gap: 12px 16px; padding: 12px 16px; }
  .search { grid-column: 1 / -1; grid-row: 2; max-width: none; }
  .header-actions .btn-label { display: none; }
  .menu-toggle { display: block; }
  .nav { display: none; }
  .nav.open { display: block; }
  .nav .wrap { flex-direction: column; padding: 0; }
  .nav-cats-btn { width: 100%; justify-content: flex-start; padding: 14px 16px; }
  .mega { position: static; width: 100%; border-radius: 0; box-shadow: none; padding: 10px 16px; }
  .mega-grid { grid-template-columns: 1fr; }
  .mega-foot { display: none; }
  .nav-links { flex-direction: column; align-items: stretch; }
  .nav-links a { padding: 13px 16px; border-bottom: 1px solid rgba(255, 255, 255, .06); }
  .hero-grid, .split, .contact-grid, .product { grid-template-columns: 1fr; }
  .slider { min-height: 380px; }
  .slide-body { padding: 28px; }
  .slide-body h2 { font-size: 30px; }
  .hero-side { grid-template-columns: 1fr 1fr; grid-template-rows: none; }
  .perks { grid-template-columns: 1fr 1fr; }
  .perk:nth-child(3) { border-left: 0; }
  .perk:nth-child(n+3) { border-top: 1px solid var(--line); }
  .industries { grid-template-columns: 1fr; }
  .cta-band { grid-template-columns: 1fr; padding: 28px; }
  .layout { grid-template-columns: 1fr; }
  .sidebar { display: none; }
  .cat-mobile-nav { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; margin-bottom: 16px; scrollbar-width: none; }
  .cat-mobile-nav .chip { white-space: nowrap; background: #fff; }
  .stats { grid-template-columns: 1fr 1fr; }
  .form-card { position: static; }
  .product { padding: 18px; gap: 20px; }
}
@media (max-width: 600px) {
  body { font-size: 14.5px; }
  .wrap { padding: 0 16px; }
  .topbar-links a:not(:first-child) { display: none; }
  .logo img { height: 26px; }
  .search button span { display: none; }
  .search button { padding: 0 14px; }
  .section { padding: 40px 0; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .section-head h2 { font-size: 23px; }
  .hero-side { grid-template-columns: 1fr; }
  .perks { grid-template-columns: 1fr; }
  .perk + .perk { border-left: 0; border-top: 1px solid var(--line); }
  .cat-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .prod-grid, .layout .prod-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .prod-body { padding: 12px; }
  .prod-name { font-size: 15px; }
  .prod-actions { flex-direction: column; }
  .lines { grid-template-columns: 1fr; }
  .line-card { min-height: 200px; }
  .scroller-track { grid-auto-columns: 72%; }
  .page-head h1 { font-size: 28px; }
  .sub-block { padding: 16px; }
  .sub-head img { width: 64px; height: 50px; }
  .sub-head h2 { font-size: 20px; }
  .branches, .mv, .field-row, .form-actions, .product-cta { grid-template-columns: 1fr; }
  .branch ul { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 26px; }
  .product-info h1 { font-size: 26px; }
}
