/* Dery Industrial Supply — brand tokens */
:root {
  --navy: #01173A;
  --navy-2: #0B2550;
  --navy-3: #1A3566;
  --orange: #FD6700;
  --orange-dark: #D95700;
  --ink: #0E1726;
  --muted: #586274;
  --line: #DDE2EA;
  --bg: #FFFFFF;
  --bg-alt: #F4F6F9;
  --radius: 6px;
  --head: "Archivo", "Arial Narrow", Arial, sans-serif;
  --body: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  --wrap: 1160px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; font-family: var(--body); color: var(--ink); background: var(--bg); line-height: 1.55; font-size: 16px; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--head); line-height: 1.12; margin: 0; letter-spacing: -0.01em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-family: var(--head); font-weight: 700; font-size: 16px; letter-spacing: .02em; text-transform: uppercase; text-decoration: none; padding: 15px 26px; border-radius: var(--radius); border: 2px solid transparent; cursor: pointer; transition: background .15s, border-color .15s, color .15s; }
.btn-sm { padding: 10px 18px; font-size: 14px; white-space: nowrap; }
.btn-orange { background: var(--orange); color: #fff; }
.btn-orange:hover { background: var(--orange-dark); }
.btn-ghost { border-color: rgba(255,255,255,.45); color: #fff; }
.btn-ghost:hover { border-color: #fff; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: progress; }
.btn-link { background: none; border: 0; padding: 6px 0; color: var(--orange-dark); font-weight: 600; font-size: 15px; cursor: pointer; font-family: var(--body); }
.btn-link:hover { text-decoration: underline; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 20; background: #fff; border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; gap: 32px; height: 76px; }
.brand img { width: 168px; height: auto; }
.nav { display: flex; gap: 28px; margin-left: auto; }
.nav a { text-decoration: none; font-weight: 600; font-size: 15px; color: var(--navy); }
.nav a:hover { color: var(--orange-dark); }
.header-actions { display: flex; align-items: center; gap: 18px; }
.header-phone { text-decoration: none; font-weight: 600; color: var(--navy); white-space: nowrap; }

/* Catalogs dropdown */
.dropdown { position: relative; }
.dd-toggle { display: inline-flex; align-items: center; gap: 8px; font: inherit; font-weight: 600; font-size: 15px; color: var(--navy); background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 9px 14px; cursor: pointer; }
.dd-toggle:hover, .dropdown.open .dd-toggle { border-color: var(--navy); }
.caret { width: 0; height: 0; border-left: 5px solid transparent; border-right: 5px solid transparent; border-top: 6px solid var(--orange); transition: transform .15s; }
.dropdown.open .caret { transform: rotate(180deg); }
.dd-menu { display: none; position: absolute; right: 0; top: calc(100% + 8px); min-width: 240px; list-style: none; margin: 0; padding: 6px; background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--orange); border-radius: 0 0 var(--radius) var(--radius); box-shadow: 0 14px 34px rgba(1,23,58,.18); z-index: 30; }
.dropdown.open .dd-menu { display: block; }
.dd-menu a { white-space: nowrap; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 11px 12px; border-radius: 4px; text-decoration: none; font-weight: 600; color: var(--navy); }
.dd-menu a:hover, .dd-menu a:focus { background: var(--bg-alt); color: var(--orange-dark); outline: none; }
.dd-menu small { font-size: 11px; font-weight: 700; letter-spacing: .08em; color: #fff; background: var(--navy); padding: 2px 6px; border-radius: 3px; }

/* Hero */
.hero { background: var(--navy); color: #fff; position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background:
  repeating-linear-gradient(90deg, rgba(255,255,255,.035) 0 2px, transparent 2px 64px); pointer-events: none; }
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 6px; background: var(--orange); }
.hero-inner { position: relative; padding: 104px 24px 112px; }
.eyebrow { font-family: var(--head); font-weight: 700; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--orange); margin: 0 0 16px; }
.eyebrow.dark { color: var(--orange-dark); }
.hero h1 { margin-bottom: 36px; font-size: clamp(36px, 5.4vw, 64px); font-weight: 800; max-width: 12ch; text-transform: none; }
.lede { font-size: clamp(18px, 2vw, 21px); color: #C9D3E3; max-width: 46ch; margin: 22px 0 34px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-facts { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 28px; padding: 0; margin: 40px 0 0; font-size: 14px; font-weight: 500; color: #AEBBD0; }
.hero-facts li { display: flex; align-items: center; gap: 10px; }
.hero-facts li::before { content: ""; width: 8px; height: 8px; background: var(--orange); }

/* Sections */
.section { padding: 88px 0; }
.section-alt { background: var(--bg-alt); }
.section-head { max-width: 640px; margin-bottom: 44px; }
.section h2 { font-size: clamp(28px, 3.4vw, 40px); font-weight: 800; color: var(--navy); }
.section-sub { color: var(--muted); font-size: 17px; margin: 14px 0 0; }

/* Products */
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.product { background: #fff; padding: 28px 26px 30px; position: relative; transition: background .15s; }
.product::before { content: ""; position: absolute; left: 0; top: 0; width: 4px; height: 0; background: var(--orange); transition: height .2s; }
.product:hover::before { height: 100%; }
.code { display: inline-block; font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; font-size: 12px; font-weight: 600; color: var(--navy-3); background: #EEF2F8; padding: 3px 8px; border-radius: 3px; margin-bottom: 14px; }
.product h3 { font-size: 20px; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.product p { margin: 0; color: var(--muted); font-size: 15px; }
.catalog-note { margin: 28px 0 0; color: var(--muted); }
.catalog-note a { color: var(--orange-dark); font-weight: 600; }

/* Our Products strips */
.products h2 { margin-bottom: 32px; }
.strip-block + .strip-block { margin-top: 48px; }
.strip-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 16px; padding-bottom: 12px; border-bottom: 2px solid var(--navy); }
.strip-head h3 { font-size: 22px; color: var(--navy); }
.strip-tools { display: flex; align-items: center; gap: 8px; }
.strip-pdf { font-weight: 600; font-size: 15px; color: var(--orange-dark); text-decoration: none; margin-right: 10px; }
.strip-pdf:hover { text-decoration: underline; }
.strip-arrow { width: 38px; height: 38px; border: 1px solid var(--line); border-radius: 50%; background: #fff; color: var(--navy); font-size: 24px; line-height: 1; cursor: pointer; padding-bottom: 3px; }
.strip-arrow:hover:not([disabled]) { border-color: var(--navy); }
.strip-arrow[disabled] { opacity: .35; cursor: default; }
.strip { list-style: none; margin: 0; padding: 0 0 6px; display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 64px) / 5); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.strip::-webkit-scrollbar { display: none; }
.strip-card { scroll-snap-align: start; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; overflow: hidden; display: flex; flex-direction: column; }
.strip-img { aspect-ratio: 1 / 1; display: flex; align-items: center; justify-content: center; background: #fff; padding: 18px; border-bottom: 1px solid var(--line); }
.strip-img img { max-width: 100%; max-height: 100%; object-fit: contain; }
.strip-card.no-img .strip-img { background: var(--bg-alt); }
.strip-card.no-img .strip-img img { display: none; }
.strip-card.no-img .strip-img::after { content: "Image"; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: #A3ADBD; }
.strip-name { font-family: var(--head); font-weight: 700; font-size: 16px; color: var(--navy); padding: 14px 16px; line-height: 1.25; }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; counter-reset: s; }
.steps li { background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--navy); padding: 30px 28px; border-radius: 0 0 var(--radius) var(--radius); }
.step-num { font-family: var(--head); font-weight: 800; font-size: 44px; color: var(--orange); line-height: 1; display: block; margin-bottom: 14px; }
.steps h3 { font-size: 21px; color: var(--navy); margin-bottom: 8px; }
.steps p { margin: 0; color: var(--muted); }

/* Trades */
.trades-inner { display: grid; grid-template-columns: 1.2fr 1fr; gap: 56px; align-items: center; }
.trade-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.trade-list li { font-family: var(--head); font-weight: 700; font-size: 20px; color: var(--navy); padding: 18px 22px; border: 1px solid var(--line); border-left: 4px solid var(--orange); border-radius: var(--radius); }

/* Quote */
.quote { background: var(--navy); color: #fff; }
.quote-inner { display: grid; grid-template-columns: 1fr 1.3fr; gap: 56px; align-items: center; }
.quote h2 { color: #fff; }
.quote-intro > p { color: #C9D3E3; font-size: 17px; margin: 16px 0 0; }
.quote-contact { margin-top: 36px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.15); display: grid; gap: 6px; }
.quote-contact p { margin: 0 0 4px; color: #AEBBD0; font-size: 14px; }
.quote-contact a { color: #fff; font-weight: 600; text-decoration: none; font-size: 17px; }
.quote-contact a:hover { color: var(--orange); }

.quote-form { background: #fff; color: var(--ink); border-radius: var(--radius); padding: 32px; box-shadow: 0 20px 50px rgba(0,0,0,.25); }
fieldset { border: 0; padding: 0; margin: 0 0 26px; }
legend { font-family: var(--head); font-weight: 700; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--navy); margin-bottom: 12px; padding: 0; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; }
label { display: grid; gap: 6px; font-size: 14px; font-weight: 600; color: #2A3446; }
.req { color: var(--orange-dark); }
.opt { color: var(--muted); font-weight: 400; }
.notes-label { margin-top: 14px; }
.quote-form .btn-block { margin-top: 22px; }
input, textarea, select { font: inherit; font-weight: 400; font-size: 15px; color: var(--ink); width: 100%; padding: 11px 12px; border: 1px solid #C7CFDB; border-radius: 4px; background: #fff; }
input:focus, textarea:focus, select:focus { outline: 2px solid var(--orange); outline-offset: 0; border-color: var(--orange); }
input.invalid { border-color: #C62828; background: #FFF6F6; }
textarea { resize: vertical; }

.items-head, .item-row { display: grid; grid-template-columns: 1fr 90px 96px 36px; gap: 8px; align-items: center; }
.items-head { font-size: 12px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 6px; }
.item-row { margin-bottom: 8px; }
.item-remove { width: 36px; height: 42px; border: 1px solid var(--line); background: #fff; border-radius: 4px; color: var(--muted); font-size: 20px; cursor: pointer; line-height: 1; }
.item-remove:hover { color: #C62828; border-color: #C62828; }

.file-drop { position: relative; display: block; border: 2px dashed #C7CFDB; border-radius: var(--radius); padding: 22px; text-align: center; cursor: pointer; transition: border-color .15s, background .15s; font-weight: 400; }
.file-drop:hover, .file-drop.drag { border-color: var(--orange); background: #FFF7F1; }
.file-drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.file-drop-text { color: var(--muted); font-size: 15px; }
.file-drop-text strong { color: var(--orange-dark); }
.file-list { list-style: none; padding: 0; margin: 10px 0 0; display: grid; gap: 6px; }
.file-list li { display: flex; justify-content: space-between; gap: 10px; font-size: 14px; background: var(--bg-alt); padding: 8px 12px; border-radius: 4px; }
.file-list li.err { background: #FFF0F0; color: #A32020; }
.file-list button { border: 0; background: none; color: var(--muted); cursor: pointer; font-size: 13px; }

.hp { position: absolute; left: -9999px; }
.form-status { margin: 14px 0 0; font-size: 15px; min-height: 1.4em; }
.form-status.ok { color: #1B7A3A; font-weight: 600; }
.form-status.err { color: #B3261E; font-weight: 600; }
.form-done { text-align: center; padding: 40px 10px; }
.form-done h3 { font-size: 26px; color: var(--navy); margin-bottom: 10px; }
.form-done p { color: var(--muted); margin: 0 0 6px; }

/* Footer */
.site-footer { background: #000F27; color: #AEBBD0; padding: 56px 0 24px; }
.footer-inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 36px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-brand img { width: 200px; margin-bottom: 14px; }
.footer-brand p { margin: 0; max-width: 32ch; }
.footer-col { display: grid; gap: 8px; align-content: start; }
.footer-col h4 { color: #fff; font-size: 14px; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 6px; }
.footer-col a { text-decoration: none; color: #fff; }
.footer-col a:hover { color: var(--orange); }
.footer-base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding-top: 20px; font-size: 13px; }

/* Responsive */
@media (max-width: 960px) {
  .strip { grid-auto-columns: calc((100% - 32px) / 3); }
  .nav { display: none; }
  .header-actions { margin-left: auto; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .trades-inner, .quote-inner { grid-template-columns: 1fr; gap: 36px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .header-inner { height: 64px; gap: 12px; }
  .brand img { width: 112px; }
  .header-phone { display: none; }
  .strip { grid-auto-columns: 158px; gap: 12px; }
  .strip-arrow { display: none; }
  .strip-pdf { margin-right: 0; }
  .hide-sm { display: none; }
  .header-actions { gap: 8px; }
  .dd-toggle { padding: 8px 10px; font-size: 14px; }
  .header-actions .btn-sm { padding: 9px 12px; font-size: 13px; }
  .dd-menu { min-width: 210px; }
  .hero-inner { padding: 64px 24px 76px; }
  .section { padding: 64px 0; }
  .product-grid { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .quote-form { padding: 22px 18px; }
  .items-head { display: none; }
  .item-row { grid-template-columns: 1fr 72px 36px; }
  .item-row .item-desc { grid-column: 1 / -1; }
  .footer-inner { grid-template-columns: 1fr; }
}
