:root {
  --ink: #0d0d0d;
  --ink-2: #181818;
  --ink-3: #2c2c2c;
  --paper: #f6f6f6;
  --card: #ffffff;
  --line: #dcdcdc;
  --text: #1a1a1a;
  --muted: #5c5c5c;
  --on-ink: #f2f2f2;
  --on-ink-muted: #5c5c5c;
  --red: #dc2400;
  --red-deep: #a81b00;
  --sans: 'Archivo', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, Consolas, monospace;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; background: var(--paper); color: var(--text); font: 400 17px/1.6 var(--sans); }
a { color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.1; letter-spacing: -0.015em; }
.wrap { width: min(1160px, 100% - 48px); margin-inline: auto; }
.label { font: 500 13px/1.4 var(--mono); letter-spacing: .04em; color: var(--muted); }
.btn { display: inline-block; padding: 14px 22px; border: 0; border-radius: 4px; background: var(--red); color: #fff; font: 700 16px/1.2 var(--sans); text-decoration: none; cursor: pointer; }
.btn:hover { background: #b81e00; }
.btn:disabled { opacity: .6; cursor: wait; }
.btn.ghost { background: transparent; color: var(--on-ink); box-shadow: inset 0 0 0 1px #5a5a5a; }
.btn.ghost:hover { background: var(--ink-3); }
:focus-visible { outline: 3px solid #2b2b2b; outline-offset: 2px; }

/* Header */
.cable { height: 4px; background: var(--red); }
header { position: sticky; top: 0; z-index: 10; background: var(--card); color: var(--ink); }
.bar { display: flex; align-items: center; gap: 16px; min-height: 76px; }
.menu-btn, .close-btn { flex: none; width: 44px; height: 44px; padding: 0; border: 0; background: none; color: var(--ink); cursor: pointer; }
.menu-btn svg, .close-btn svg { display: block; margin: auto; }
.logo { flex: none; display: block; text-decoration: none; }
.logo svg, .logo img { display: block; width: auto; height: 60px; }
nav { display: flex; align-items: center; gap: 28px; margin-left: auto; font-size: 16px; font-weight: 500; }
nav a { text-decoration: none; color: var(--muted); }
nav a:hover { color: var(--ink); }
nav a.portal-link { color: #c42000; font-weight: 700; white-space: nowrap; }
nav a.btn { color: #fff; padding: 10px 16px; font-size: 15px; white-space: nowrap; }

/* Products menu */
.nav-link { padding: 0; border: 0; background: none; color: var(--muted); font: inherit; cursor: pointer; white-space: nowrap; }
.nav-link:hover, .nav-link[aria-expanded="true"] { color: #c42000; }
.nav-link::after { content: ''; display: inline-block; width: 7px; height: 7px; margin: 0 2px 3px 8px; border: solid currentColor; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.nav-link[aria-expanded="true"]::after { margin-bottom: -1px; transform: rotate(225deg); }
.mega { position: absolute; top: 100%; left: 0; right: 0; max-height: calc(100vh - 90px); overflow-y: auto; padding: 24px 0 28px; background: var(--card); box-shadow: 0 14px 30px rgba(0,0,0,.18); }
.mega[hidden] { display: none; }
.mega-body { display: grid; grid-template-columns: 220px 1fr; gap: 32px; align-items: start; }
.mega-tabs { display: flex; flex-direction: column; border-right: 1px solid var(--line); padding-right: 16px; }
.mega-tabs button { display: flex; align-items: center; justify-content: space-between; padding: 14px 12px; border: 0; border-bottom: 1px solid var(--line); background: none; color: var(--text); font: 500 16px/1.2 var(--sans); text-align: left; cursor: pointer; }
.mega-tabs button:last-child { border-bottom: 0; }
.mega-tabs button::after { content: ''; width: 7px; height: 7px; margin-right: 3px; border: solid currentColor; border-width: 2px 2px 0 0; transform: rotate(45deg); opacity: .6; }
.mega-tabs button[aria-pressed="true"] { background: var(--red); border-color: var(--red); border-radius: 3px; color: #fff; }
.mega-tabs button[aria-pressed="true"]::after { opacity: 1; }
.mega-groups { columns: 3; column-gap: 32px; }
.mega-group { break-inside: avoid; margin-bottom: 22px; }
.mega-group h4, .drawer h4 { margin: 0 0 8px; padding-bottom: 8px; border-bottom: 1px solid var(--line); font-size: 16px; font-weight: 700; line-height: 1.25; }
.mega-group ul, .drawer details ul { list-style: square; margin: 0; padding-left: 20px; }
.mega-group li { padding: 3px 0; font-size: 15px; line-height: 1.35; }
.mega-group li::marker, .drawer details li::marker { color: var(--red); }
.mega-group a { color: var(--text); text-decoration: none; }
.mega-group a:hover { color: #c42000; text-decoration: underline; }
.mega-foot { margin: 16px 0 0; padding-top: 16px; border-top: 1px solid var(--line); font-size: 15px; }
.mega-foot a { color: #c42000; font-weight: 700; }

/* Slide-out menu */
.scrim { position: fixed; inset: 0; z-index: 20; background: rgba(0,0,0,.6); opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s; }
.drawer { position: fixed; inset: 0 auto 0 0; z-index: 30; width: min(400px, 85vw); padding: 24px; overflow-y: auto; background: var(--card); transform: translateX(-100%); visibility: hidden; transition: transform .25s, visibility .25s; }
.menu-open .scrim { opacity: 1; visibility: visible; }
.menu-open .drawer { transform: none; visibility: visible; transition: transform .25s; }
.drawer-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 28px; }
.search { position: relative; display: flex; gap: 8px; }
.suggest { position: absolute; top: calc(100% + 4px); left: 0; right: 0; z-index: 40; min-width: 100%; max-height: 60vh; overflow-y: auto; margin: 0; padding: 4px; list-style: none; background: var(--card); border: 1px solid var(--line); border-radius: 4px; box-shadow: 0 10px 24px rgba(0,0,0,.2); }
.suggest[hidden] { display: none; }
nav .suggest { left: auto; width: 380px; }
.drawer .suggest li { border: 0; }
.suggest a, .drawer .suggest a { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 3px; color: var(--text); font-size: 15px; text-decoration: none; }
.suggest a:hover, .suggest a.on { background: #fff1ed; color: var(--text); }
.suggest img { flex: none; width: 40px; height: 40px; object-fit: contain; }
.suggest span { display: flex; flex-direction: column; min-width: 0; }
.suggest strong { font-weight: 600; line-height: 1.25; }
.suggest small { color: var(--muted); font-size: 13px; line-height: 1.3; }
.suggest .none { padding: 10px; color: var(--muted); font-size: 14px; }
.search input { margin: 0; min-width: 0; }
.search button { flex: none; padding: 0 14px; border: 1px solid var(--red); border-radius: 3px; background: var(--red); color: #fff; font: 600 15px/1 var(--sans); cursor: pointer; }
.drawer ul { list-style: none; margin: 20px 0 0; padding: 0; }
.drawer li { border-bottom: 1px solid var(--line); }
.drawer li a { display: block; padding: 15px 4px; color: var(--text); font-size: 18px; text-decoration: none; }
.drawer li a:hover { color: #c42000; }
.drawer summary { padding: 15px 4px; color: var(--text); font-size: 18px; cursor: pointer; }
.drawer details details { margin: 0 0 4px 8px; }
.drawer details details summary { padding: 10px 4px; font-size: 16px; font-weight: 700; }
.drawer details .mega-drawer-groups { padding: 4px 4px 12px; }
.drawer h4 { margin-top: 12px; font-size: 15px; }
.drawer details li { border: 0; }
.drawer details li a { padding: 5px 0; font-size: 15px; }

/* Banner slideshow: swap the .art drawing for a photo once approved images are available */
.slider { position: relative; display: grid; background: var(--red-deep); color: #fff; overflow: hidden; }
.slide { position: relative; grid-area: 1 / 1; display: flex; align-items: center; min-height: 300px; padding: 28px 0; opacity: 0; visibility: hidden; transition: opacity .5s, visibility .5s; }
.slide.active { opacity: 1; visibility: visible; }
.art { position: absolute; inset: 0; width: 100%; height: 100%; }
.slide::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, var(--red-deep) 50%, rgba(168,27,0,0) 72%); }
.slide .wrap { position: relative; z-index: 1; width: min(1160px, 100% - 104px); }
.slide.has-img .art { opacity: .22; }
.slide-img { position: absolute; top: 16px; right: max(60px, calc((100% - 1160px) / 2)); z-index: 1; width: auto; max-width: 44%; height: calc(100% - 32px); object-fit: contain; filter: drop-shadow(0 10px 16px rgba(60,8,0,.5)); }
.slide.has-img .slide-title, .slide.has-img .lede { max-width: 46%; }
.slide .label { color: #fff; }
.slide .btn { background: #fff; color: #a81b00; }
.slide .btn:hover { background: #ffe3dc; }
h1, .slide-title { display: block; max-width: 16em; margin: 8px 0 10px; font-size: clamp(27px, 3.4vw, 42px); font-weight: 800; line-height: 1.08; letter-spacing: -0.015em; }
.lede { max-width: 36em; margin: 0 0 16px; color: #fff; font-size: 17px; line-height: 1.45; }
.arrow { position: absolute; top: 50%; z-index: 2; width: 44px; height: 44px; margin-top: -22px; border: 0; background: none; color: #fff; font-size: 34px; line-height: 1; cursor: pointer; }
.arrow.prev { left: 2px; }
.arrow.next { right: 2px; }

/* Sections */
section { padding: 88px 0; }
#products { padding-top: 40px; }
.head { max-width: 42em; margin-bottom: 44px; }
h2 { font-size: clamp(30px, 3.6vw, 44px); font-weight: 800; margin: 10px 0 14px; }
.head p { margin: 0; color: var(--muted); }

/* Product lines */
.row-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.row-head h3 { font-size: 26px; font-weight: 800; }
.row-arrows { display: flex; gap: 8px; flex: none; }
.row-arrows button { width: 44px; height: 44px; border: 1px solid #a6a6a6; border-radius: 50%; background: var(--card); color: var(--ink); font-size: 26px; line-height: 1; cursor: pointer; }
.row-arrows button:hover { background: var(--red); border-color: var(--red); color: #fff; }
.cards { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 14px; }
.pcard { flex: 0 0 calc((100% - 40px) / 3); display: flex; flex-direction: column; padding: 28px 24px 0; background: var(--card); border: 1px solid var(--line); border-radius: 6px; text-align: center; scroll-snap-align: start; scroll-margin: 84px 0; }
.pcard h4 { margin: 0; font-size: 26px; font-weight: 800; line-height: 1.15; letter-spacing: -0.015em; }
.pcard .label { margin-top: 4px; }
.pcard p { margin: 12px 0; font-size: 16px; }
.pcard > a { color: #c42000; font-weight: 700; }
.pcard > a + a { margin-top: 8px; }
.pcard-img { display: block; width: 100%; max-width: 280px; height: 200px; margin: auto auto 0; padding-top: 12px; object-fit: contain; }
.pcard svg { display: block; width: 100%; max-width: 280px; margin: auto auto 0; padding-top: 18px; }

/* Partners */
.partners { background: var(--card); }
.partners .label { color: #c42000; }
.partners .head p { color: var(--on-ink-muted); }
.why { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.why div { background: var(--paper); border-top: 4px solid var(--red); padding: 28px; }
.why h3 { font-size: 21px; font-weight: 700; margin-bottom: 10px; }
.why p { margin: 0; color: var(--on-ink-muted); font-size: 16px; }

.brands-title { margin: 44px 0 18px; font-size: 26px; font-weight: 800; }
.brand-wall { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; }
.brand-wall li { display: flex; flex-direction: column; justify-content: center; gap: 4px; min-height: 104px; padding: 16px; background: var(--card); border: 1px solid var(--line); border-radius: 6px; text-align: center; }
.brand-wall strong { font-size: 22px; font-weight: 800; line-height: 1.1; letter-spacing: -0.015em; }
.brand-wall span { color: var(--muted); font-size: 13px; line-height: 1.35; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; }
.contact-grid h2 { margin-top: 10px; }
dl { margin: 28px 0 0; }
dt { font: 500 13px/1.4 var(--mono); color: var(--muted); margin-top: 18px; }
dd { margin: 2px 0 0; font-weight: 600; }
.contact-lines a { display: block; padding: 2px 0; color: inherit; text-decoration: none; }
.contact-lines a:hover { color: #c42000; }
dd > .map-link:first-child { margin-top: 0; }
.map-link { display: block; margin-top: 6px; color: #c42000; font-weight: 700; }
#quoteForm { align-self: start; background: var(--card); border: 1px solid var(--line); border-radius: 6px; padding: 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
label { display: block; font-size: 14px; font-weight: 600; }
input, select, textarea { display: block; width: 100%; margin-top: 6px; padding: 11px 12px; background: #fff; color: var(--text); border: 1px solid #a6a6a6; border-radius: 3px; font: 400 16px/1.4 var(--sans); }
textarea { min-height: 120px; resize: vertical; }
.full { grid-column: 1 / -1; }
.trap { position: absolute; left: -9999px; }
.send { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
#status { margin: 0; font-size: 15px; font-weight: 600; }
#status.ok { color: #1c7a49; }
#status.err { color: #b3361b; }

.wa-chat { position: fixed; right: 20px; bottom: 20px; z-index: 5; display: flex; align-items: center; gap: 8px; padding: 12px 18px; border-radius: 28px; background: #128c4b; color: #fff; font-weight: 700; font-size: 15px; text-decoration: none; box-shadow: 0 6px 18px rgba(0,0,0,.28); }
.wa-chat:hover { background: #0e7a40; }
footer { background: var(--red-deep); color: #fff; padding: 28px 0; font-size: 14px; }
.foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; }

@media (max-width: 1180px) {
  nav .search { display: none; }
}
@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; gap: 44px; }
  .slide { min-height: 270px; }
  .slide::after { background: rgba(168,27,0,.86); }
  .pcard { flex-basis: min(320px, 82%); }
  .mega-body { grid-template-columns: 170px 1fr; gap: 20px; }
  .mega-groups { columns: 2; column-gap: 20px; }
  .why { grid-template-columns: 1fr; }
  .brand-wall { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  section { padding: 60px 0; }
}
@media (max-width: 780px) {
  nav a.nav-partners { display: none; }
}
@media (max-width: 640px) {
  .wrap { width: calc(100% - 32px); }
  nav a:not(.btn), .nav-link { display: none; }
  #quoteForm { grid-template-columns: 1fr; padding: 20px; }
  .btn { text-align: center; }
  .brand-wall { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bar { gap: 8px; min-height: 68px; }
  .logo svg, .logo img { height: 50px; }
  .wa-chat { right: 14px; bottom: 14px; padding: 13px; }
  .wa-chat span { display: none; }
  .slide .wrap { width: calc(100% - 96px); }
  .slide-img { display: none; }
  .slide.has-img .slide-title, .slide.has-img .lede { max-width: none; }
  .lede { font-size: 16px; }
}
@media (max-width: 400px) {
  .bar { gap: 6px; }
  .logo svg { height: 42px; }
  nav a.btn { padding: 8px 10px; font-size: 13px; }
  .menu-btn { width: 40px; }
}
@media (max-width: 310px) {
  nav { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .slide, .drawer, .scrim { transition: none; }
}

/* Pages added from the admin area */
nav a { white-space: nowrap; }
.page-band { padding: 56px 0; background: var(--red-deep); color: #fff; }
.page-band h1 { max-width: none; margin: 0; font-size: clamp(32px, 4.5vw, 52px); }
.page-band p { max-width: 42em; margin: 14px 0 0; font-size: 19px; }
.page-main { padding: 56px 0 88px; }
.page-text { max-width: 46em; }
.page-text h2 { margin: 32px 0 12px; font-size: 28px; }
.page-text p, .page-text ul { margin: 0 0 16px; }
.page-text a { color: #c42000; font-weight: 600; }
.page-text li::marker { color: var(--red); }
.page-photo { display: block; width: 100%; max-width: 760px; margin-bottom: 28px; border-radius: 6px; }
@media (max-width: 1000px) { nav a.nav-page { display: none; } }