/* ==========================================================
   Alderdon — global stylesheet
   B2B lift-component supplier. No external dependencies.
   ========================================================== */

:root {
  --navy: #0d1b2a;
  --navy-2: #12293f;
  --steel: #0f6fb8;
  --steel-dark: #0b568f;
  --steel-tint: #e8f1f9;
  --orange: #e8720c;
  --orange-dark: #c85f06;
  --ink: #1b2530;
  --ink-soft: #4a5a6a;
  --line: #d9e0e7;
  --bg: #ffffff;
  --bg-soft: #f4f6f8;
  --bg-panel: #fbfcfd;
  --ok: #1f7a4d;
  --warn: #b26a00;
  --radius: 6px;
  --radius-lg: 10px;
  --shadow-sm: 0 1px 2px rgba(13, 27, 42, .06), 0 1px 6px rgba(13, 27, 42, .04);
  --shadow-md: 0 2px 6px rgba(13, 27, 42, .07), 0 8px 24px rgba(13, 27, 42, .06);
  --maxw: 1180px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
          Arial, "Noto Sans", sans-serif;
  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4 {
  margin: 0 0 .5em;
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: -.015em;
  color: var(--navy);
}
h1 { font-size: clamp(1.85rem, 1.2rem + 2.4vw, 2.7rem); }
h2 { font-size: clamp(1.4rem, 1.1rem + 1.1vw, 1.85rem); margin-top: 2.2em; }
main h2:first-child { margin-top: 0; }
.split > div > h2:first-child { margin-top: 0; }
h3 { font-size: 1.13rem; margin-top: 1.8em; }
p { margin: 0 0 1em; }
a { color: var(--steel); text-decoration: none; }
a:hover { color: var(--steel-dark); text-decoration: underline; }
ul, ol { margin: 0 0 1em; padding-left: 1.25em; }
li { margin-bottom: .4em; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2.5em 0; }

/* ---------- layout ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
.section { padding: 56px 0; }
.section--tight { padding: 36px 0; }
.section--soft { background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section--navy { background: var(--navy); color: #dfe7ee; }
.section--navy h2, .section--navy h3 { color: #fff; }
.grid { display: grid; gap: 22px; }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.split { display: grid; gap: 40px; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); align-items: start; }

/* ---------- skip link / a11y ---------- */
.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--orange); color: #fff; padding: 10px 16px; z-index: 200;
}
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--steel); outline-offset: 2px; }

/* ---------- utility bar ---------- */
.utility {
  background: var(--navy);
  color: #a9bccd;
  font-size: .8rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.utility .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 38px; }
.utility a { color: #cddcea; }
.utility a:hover { color: #fff; }
.utility__list { display: flex; gap: 18px; align-items: center; margin: 0; padding: 0; list-style: none; }
.utility__list li { margin: 0; }
.utility__note { letter-spacing: .01em; }

/* ---------- header ---------- */
.site-header {
  background: #fff;
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 90;
  box-shadow: 0 1px 0 rgba(13,27,42,.02);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 11px; color: var(--navy); }
.brand:hover { text-decoration: none; color: var(--navy); }
.brand__mark { width: 34px; height: 34px; flex: none; }
.brand__text { display: flex; flex-direction: column; line-height: 1.05; }
.brand__name { font-size: 1.16rem; font-weight: 800; letter-spacing: .055em; text-transform: uppercase; }
.brand__tag { font-size: .645rem; letter-spacing: .11em; text-transform: uppercase; color: #6b7d8d; font-weight: 600; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  color: var(--ink); font-weight: 500; font-size: .93rem;
  padding: 9px 13px; border-radius: var(--radius);
}
.nav a:hover { background: var(--bg-soft); color: var(--steel-dark); text-decoration: none; }
.nav a.is-active { color: var(--steel-dark); font-weight: 700; background: var(--steel-tint); }
.nav__group { position: relative; }
.nav__group > a::after { content: " ▾"; font-size: .7em; color: #8595a4; }
.nav__panel {
  position: absolute; left: 0; top: 100%; min-width: 300px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md); padding: 8px; display: none; z-index: 100;
}
.nav__group:hover .nav__panel,
.nav__group:focus-within .nav__panel { display: block; }
.nav__panel a {
  display: block; padding: 9px 12px; border-radius: var(--radius); font-size: .9rem;
}
.nav__panel a small { display: block; color: #6b7d8d; font-weight: 400; font-size: .76rem; line-height: 1.4; }
.nav__cta { margin-left: 10px; }

.nav-toggle {
  display: none; background: none; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 8px 10px; cursor: pointer; color: var(--navy); font-size: .85rem; font-weight: 600;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-block; padding: 12px 22px; border-radius: var(--radius);
  font-weight: 700; font-size: .95rem; line-height: 1.2; border: 1px solid transparent;
  cursor: pointer; transition: background .15s ease, border-color .15s ease, transform .05s ease;
  text-align: center;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--orange); color: #fff; }
.btn--primary:hover { background: var(--orange-dark); color: #fff; }
.btn--steel { background: var(--steel); color: #fff; }
.btn--steel:hover { background: var(--steel-dark); color: #fff; }
.btn--ghost { background: #fff; color: var(--navy); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--steel); color: var(--steel-dark); }
.btn--ghost-dark { background: transparent; color: #fff; border-color: rgba(255,255,255,.42); }
.btn--ghost-dark:hover { background: rgba(255,255,255,.1); color: #fff; border-color: #fff; }
.btn--sm { padding: 8px 15px; font-size: .85rem; }
.btn--block { display: block; width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }

/* ---------- hero ---------- */
.hero {
  background:
    radial-gradient(1100px 480px at 82% -8%, rgba(15,111,184,.30), transparent 62%),
    radial-gradient(760px 380px at 8% 108%, rgba(232,114,12,.16), transparent 60%),
    linear-gradient(158deg, #0d1b2a 0%, #12293f 58%, #0f2032 100%);
  color: #e6edf4; padding: 72px 0 62px;
}
.hero h1 { color: #fff; margin-bottom: .45em; max-width: 19ch; }
.hero__lead { font-size: 1.09rem; color: #b9c9d8; max-width: 62ch; margin-bottom: 6px; }
.hero__grid { display: grid; gap: 40px; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); align-items: center; }
.hero__aside {
  background: rgba(255,255,255,.055); border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--radius-lg); padding: 22px;
}
.hero__aside h2, .hero__aside h3 { color: #fff; font-size: 1rem; margin-top: 0; letter-spacing: .04em; text-transform: uppercase; }
.hero__aside ul { list-style: none; margin: 0; padding: 0; }
.hero__aside li {
  padding: 9px 0 9px 26px; border-bottom: 1px solid rgba(255,255,255,.09);
  position: relative; font-size: .9rem; color: #cddcea; margin: 0;
}
.hero__aside li:last-child { border-bottom: 0; }
.hero__aside li::before {
  content: ""; position: absolute; left: 0; top: 15px; width: 9px; height: 9px;
  background: var(--orange); border-radius: 2px; transform: rotate(45deg);
}
.hero .btn--primary { box-shadow: 0 4px 14px rgba(232,114,12,.28); }
.eyebrow {
  display: inline-block; font-size: .74rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--orange); margin-bottom: 14px;
}
.hero .eyebrow { color: #f0a860; }

/* ---------- trust strip ---------- */
.trust { background: #fff; border-bottom: 1px solid var(--line); }
.trust .wrap {
  display: flex; flex-wrap: wrap; gap: 10px 34px; align-items: center;
  justify-content: space-between; padding-top: 16px; padding-bottom: 16px;
}
.trust__item { display: flex; align-items: center; gap: 9px; font-size: .84rem; color: #4a5a6a; font-weight: 600; }
.trust__item svg { width: 17px; height: 17px; flex: none; color: var(--steel); }

/* ---------- cards ---------- */
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 24px; box-shadow: var(--shadow-sm); transition: box-shadow .18s ease, transform .18s ease, border-color .18s ease;
  display: flex; flex-direction: column;
}
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); border-color: #c3d2df; }
.card__icon {
  width: 42px; height: 42px; border-radius: 8px; background: var(--steel-tint);
  display: flex; align-items: center; justify-content: center; margin-bottom: 14px; color: var(--steel-dark);
}
.card__icon svg { width: 23px; height: 23px; }
.card h3 { margin: 0 0 8px; font-size: 1.05rem; }
.card p { font-size: .91rem; color: #4a5a6a; margin-bottom: 14px; }
.card__link { margin-top: auto; font-weight: 700; font-size: .88rem; }
.card__link::after { content: " →"; }
.card--plain { box-shadow: none; }
.card--plain:hover { transform: none; }
.card--accent { border-left: 3px solid var(--orange); }

/* ---------- category cards (products) ---------- */
.cat-card { border-top: 3px solid var(--steel); }
.cat-card__meta {
  display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px;
}
.cat-card__meta span {
  font-size: .735rem; font-weight: 700; letter-spacing: .03em;
  background: var(--bg-soft); border: 1px solid var(--line); color: #4a5a6a;
  padding: 3px 9px; border-radius: 20px;
}

/* ---------- tables ---------- */
.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-lg); margin: 18px 0 8px; background: #fff; }
table { width: 100%; border-collapse: collapse; font-size: .89rem; min-width: 620px; }
caption {
  text-align: left; font-size: .8rem; color: #6b7d8d; padding: 10px 14px;
  background: var(--bg-panel); border-bottom: 1px solid var(--line); font-weight: 600;
}
th, td { padding: 11px 14px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
thead th {
  background: var(--bg-soft); font-size: .765rem; text-transform: uppercase;
  letter-spacing: .055em; color: #3d4d5c; font-weight: 700; white-space: nowrap;
}
tbody tr:last-child td { border-bottom: 0; }
tbody tr:hover { background: var(--bg-panel); }
td.num, th.num { font-family: var(--mono); font-size: .845rem; }

/* ---------- spec list ---------- */
.spec { list-style: none; padding: 0; margin: 0; }
.spec li { display: grid; grid-template-columns: minmax(0, 190px) minmax(0, 1fr); gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); margin: 0; font-size: .91rem; }
.spec li:last-child { border-bottom: 0; }
.spec dt, .spec__k { font-weight: 700; color: #3d4d5c; }

/* ---------- callout ---------- */
.callout {
  border: 1px solid var(--line); border-left: 4px solid var(--steel);
  background: var(--bg-panel); border-radius: var(--radius); padding: 16px 18px; margin: 20px 0;
  font-size: .91rem;
}
.callout--warn { border-left-color: var(--warn); background: #fffaf2; }
.callout--ok { border-left-color: var(--ok); background: #f3faf6; }
.callout strong { color: var(--navy); }
.callout p:last-child { margin-bottom: 0; }

/* ---------- pending data block ---------- */
.pending {
  border: 1px dashed #b9c7d3; border-radius: var(--radius-lg); background: var(--bg-panel);
  padding: 26px; text-align: center; margin: 20px 0;
}
.pending h3 { margin-top: 0; font-size: 1.02rem; }
.pending p { font-size: .9rem; color: #4a5a6a; max-width: 62ch; margin: 0 auto 16px; }

/* ---------- steps ---------- */
.steps { counter-reset: step; list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 18px; }
.steps li { counter-increment: step; position: relative; padding-left: 52px; margin: 0; }
.steps li::before {
  content: counter(step); position: absolute; left: 0; top: 0;
  width: 34px; height: 34px; border-radius: 50%; background: var(--navy); color: #fff;
  display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: .92rem;
}
.steps h3 { margin: 4px 0 6px; font-size: 1rem; }
.steps p { font-size: .9rem; color: #4a5a6a; margin: 0; }

/* ---------- breadcrumbs ---------- */
.crumbs { font-size: .81rem; color: #6b7d8d; padding: 16px 0 0; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 7px; padding: 0; margin: 0; }
.crumbs li { margin: 0; }
.crumbs li + li::before { content: "/"; margin-right: 7px; color: #b3bfca; }
.crumbs a { color: #4a5a6a; }
.crumbs [aria-current="page"] { color: var(--navy); font-weight: 600; }

/* ---------- page head ---------- */
.pagehead { background: var(--bg-soft); border-bottom: 1px solid var(--line); padding: 26px 0 30px; }
.pagehead h1 { margin-bottom: .3em; max-width: 26ch; }
.pagehead p { color: #4a5a6a; max-width: 74ch; margin-bottom: 0; }
.pagehead .eyebrow { margin-bottom: 10px; }

/* ---------- forms ---------- */
.form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px; box-shadow: var(--shadow-sm); }
.field { margin-bottom: 18px; }
.field label, .legend { display: block; font-weight: 700; font-size: .87rem; color: #2b3947; margin-bottom: 6px; }
.field .hint { display: block; font-size: .79rem; color: #6b7d8d; margin-top: 5px; font-weight: 400; }
.req { color: #c0392b; }
input[type="text"], input[type="email"], input[type="tel"], select, textarea {
  width: 100%; padding: 11px 13px; font-family: inherit; font-size: .93rem; color: var(--ink);
  border: 1px solid #c3cdd7; border-radius: var(--radius); background: #fff;
}
input:focus, select:focus, textarea:focus { border-color: var(--steel); outline: 3px solid rgba(15,111,184,.16); outline-offset: 0; }
textarea { min-height: 132px; resize: vertical; }
fieldset { border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px 6px; margin: 0 0 18px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .87rem; margin-bottom: 10px; }
.check input { margin-top: 3px; flex: none; width: auto; }
.form-grid { display: grid; gap: 0 18px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.form-note { font-size: .8rem; color: #6b7d8d; margin-top: 14px; }

/* ---------- contact channels ---------- */
.channel { display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.channel:last-child { border-bottom: 0; }
.channel__icon { width: 38px; height: 38px; flex: none; border-radius: 8px; background: var(--steel-tint); color: var(--steel-dark); display: flex; align-items: center; justify-content: center; }
.channel__icon svg { width: 19px; height: 19px; }
.channel h3 { margin: 2px 0 4px; font-size: .97rem; }
.channel p { margin: 0; font-size: .88rem; color: #4a5a6a; }
.channel a { font-weight: 600; }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); padding: 4px 0; }
.faq summary {
  cursor: pointer; padding: 15px 34px 15px 0; font-weight: 700; color: var(--navy);
  list-style: none; position: relative; font-size: .97rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 4px; top: 12px; font-size: 1.35rem;
  color: var(--steel); font-weight: 400; line-height: 1;
}
.faq details[open] summary::after { content: "–"; }
.faq details > div { padding: 0 0 16px; font-size: .91rem; color: #4a5a6a; max-width: 78ch; }

/* ---------- badges ---------- */
.badge {
  display: inline-block; font-size: .735rem; font-weight: 700; letter-spacing: .03em;
  padding: 3px 9px; border-radius: 20px; border: 1px solid var(--line); background: var(--bg-soft); color: #3d4d5c;
}
.badge--ok { background: #eef7f1; border-color: #c3e2d0; color: var(--ok); }
.badge--warn { background: #fff6e8; border-color: #f0d9ac; color: var(--warn); }
.badge--steel { background: var(--steel-tint); border-color: #c2dcf0; color: var(--steel-dark); }

/* ---------- footer ---------- */
.site-footer { background: var(--navy); color: #a9bccd; padding: 52px 0 0; font-size: .88rem; }
.site-footer h2, .site-footer h3 { color: #fff; font-size: .8rem; letter-spacing: .11em; text-transform: uppercase; margin: 0 0 14px; }
.site-footer a { color: #cddcea; }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; gap: 34px; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); padding-bottom: 38px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 9px; }
.footer-brand p { max-width: 40ch; color: #93a7b8; }
.footer-brand .brand__name, .footer-brand .brand__tag { color: #fff; }
.footer-brand .brand__tag { color: #8fa5b7; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 20px 0 26px; display: flex; flex-wrap: wrap; gap: 12px 26px; justify-content: space-between; align-items: center; font-size: .8rem; color: #8fa5b7; }
.footer-bottom ul { list-style: none; display: flex; flex-wrap: wrap; gap: 20px; padding: 0; margin: 0; }
.footer-bottom li { margin: 0; }
.footer-legal-note { font-size: .78rem; color: #7d92a5; margin-top: 14px; line-height: 1.55; }

/* ---------- cookie banner ---------- */
.cookie {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 150;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md); padding: 18px 20px; max-width: 620px; margin: 0 auto;
  display: none;
}
.cookie.is-visible { display: block; }
.cookie p { font-size: .86rem; margin: 0 0 14px; color: #4a5a6a; }
.cookie__actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------- misc ---------- */
.lead { font-size: 1.06rem; color: #3d4d5c; max-width: 74ch; }
.muted { color: #6b7d8d; }
.small { font-size: .85rem; }
.center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.stack { display: grid; gap: 14px; }
.tag-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0; }
.divider-label {
  display: flex; align-items: center; gap: 14px; margin: 34px 0 18px;
  font-size: .76rem; font-weight: 700; letter-spacing: .11em; text-transform: uppercase; color: #6b7d8d;
}
.divider-label::after { content: ""; flex: 1; height: 1px; background: var(--line); }

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
  .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero__grid, .split { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 780px) {
  .nav-toggle { display: inline-block; }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-md);
    flex-direction: column; align-items: stretch; padding: 12px 20px 18px; gap: 2px;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 12px 10px; font-size: 1rem; }
  .nav__panel { position: static; display: block; box-shadow: none; border: 0; padding: 0 0 0 12px; min-width: 0; }
  .nav__panel a { font-size: .92rem; padding: 8px 10px; }
  .nav__group > a::after { content: ""; }
  .nav__cta { margin: 10px 0 0; }
  .utility__list { display: none; }
  .grid--2, .grid--3 { grid-template-columns: minmax(0, 1fr); }
  .form-grid { grid-template-columns: minmax(0, 1fr); }
  .section { padding: 42px 0; }
  .hero { padding: 52px 0 46px; }
  .spec li { grid-template-columns: minmax(0, 1fr); gap: 3px; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); gap: 26px; }
}
@media (max-width: 480px) {
  .grid--4 { grid-template-columns: minmax(0, 1fr); }
  .btn-row .btn { width: 100%; }
}

@media print {
  .site-header, .utility, .site-footer, .cookie, .btn-row, .nav-toggle { display: none !important; }
  body { font-size: 11pt; color: #000; }
  .hero { background: #fff; color: #000; padding: 0; }
  .hero h1, .hero__lead { color: #000; }
}
