/* Overcom Trade — site styles (2026-11 redesign: heritage "trade house" look).
   No inline styles anywhere: the Content-Security-Policy (security.js) allows only this file. */
:root {
  --orange: #ee6a1f;      /* logo orange: large shapes, buttons with dark text */
  --orange-ink: #b9470a;  /* orange for small text on light backgrounds (passes 4.5:1) */
  --orange-50: #fff3ea;
  --char-900: #1b1e24;
  --char-800: #262a32;
  --char-600: #4a505c;
  --char-300: #c8ccd4;
  --on-dark: #d4d7de;
  --line: #e5e7ec;
  --paper: #fbfaf8;
  --max: 1240px;
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); color: var(--char-900); background: var(--paper); font-size: 17px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--orange-ink); }
a:hover { color: #8f3607; }
h1, h2, h3 { line-height: 1.08; letter-spacing: -.03em; margin: 0; font-weight: 800; }
h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 3.1rem); }
h3 { font-size: 1.3rem; letter-spacing: -.015em; }
p { margin: 0; }
.wrap { width: min(var(--max), 100% - 48px); margin-inline: auto; }
.eyebrow { text-transform: uppercase; letter-spacing: .16em; font-weight: 700; font-size: .82rem; color: var(--orange-ink); margin-bottom: 16px; }
.on-dark .eyebrow, .eyebrow.light { color: var(--orange); }
.lead { font-size: 1.15rem; line-height: 1.65; color: var(--char-600); max-width: 60ch; margin-top: 20px; }
.accent { color: var(--orange); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: #fff; padding: 8px 12px; border-radius: 8px; }
section { padding: 96px 0; }

/* buttons: orange always carries dark text (white on #ee6a1f fails contrast) */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 50px; padding: 0 26px; border-radius: 999px; font: inherit; font-weight: 800; font-size: 1rem; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform .15s, background .15s, color .15s; }
.btn:hover { transform: translateY(-1px); }
.btn svg { width: 18px; height: 18px; }
.btn-orange { background: var(--orange); color: var(--char-900); }
.btn-orange:hover { background: #f28a4e; color: var(--char-900); }
.btn-dark { background: var(--char-900); color: #fff; }
.btn-dark:hover { background: #000; color: #fff; }
.btn-line { border-color: var(--char-900); color: var(--char-900); font-weight: 700; }
.btn-line:hover { background: var(--char-900); color: #fff; }
.btn-line.light { border-color: #fff; color: #fff; }
.btn-line.light:hover { background: #fff; color: var(--char-900); }
.btn[disabled] { opacity: .6; cursor: wait; transform: none; }

/* header: logo only, large */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 104px; }
.brand { display: block; }
.brand img { height: 66px; width: auto; }
.nav { display: flex; align-items: center; gap: 8px 32px; }
.nav a { text-decoration: none; color: var(--char-900); font-weight: 600; font-size: .95rem; }
.nav a:not(.btn):hover, .nav a[aria-current="page"]:not(.btn) { color: var(--orange-ink); }
.nav .btn { min-height: 46px; padding: 0 22px; font-size: .95rem; font-weight: 700; }
.nav a.btn-dark, .nav a.btn-dark:hover { color: #fff; }
.nav-toggle { display: none; background: none; border: 0; width: 48px; height: 48px; cursor: pointer; color: var(--char-900); }
.nav-toggle svg { width: 28px; height: 28px; }

/* home hero (heritage) */
.hero { padding: 88px 0 72px; }
.hero .wrap { display: flex; flex-wrap: wrap; gap: 56px; align-items: stretch; }
.hero-copy { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; justify-content: center; }
.hero-copy .lead { font-size: 1.2rem; max-width: 520px; margin-top: 28px; }
.actions { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 14px; }
.hero-photo { flex: 1 1 460px; min-width: 0; min-height: 520px; border-radius: 20px; position: relative; background: url(/assets/building.jpg) center / cover; }
.facts { position: absolute; left: 24px; right: 24px; bottom: 24px; background: #fff; border-radius: 14px; padding: 20px 24px; display: flex; flex-wrap: wrap; gap: 18px 36px; box-shadow: 0 12px 30px rgba(27,30,36,.15); }
.fact strong { display: block; font-size: 2.1rem; letter-spacing: -.02em; line-height: 1; font-weight: 800; }
.fact strong.o { color: var(--orange-ink); }
.fact span { display: block; margin-top: 6px; font-size: .88rem; color: var(--char-600); }

/* page hero (inner pages) */
.page-hero { padding: 80px 0 64px; border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(2.3rem, 5vw, 3.9rem); max-width: 16ch; }
.page-hero .lead { font-size: 1.2rem; }

/* dark map band + consolidation diagram */
.map-band { color: #fff; background: linear-gradient(rgba(27,30,36,.9), rgba(27,30,36,.9)), url(/assets/world-map.jpg) center / cover; }
.map-band h2 { max-width: 760px; margin-top: 0; }
.map-band .lead { color: var(--on-dark); max-width: 640px; }
.flow { margin-top: 56px; display: flex; flex-wrap: wrap; align-items: center; gap: 20px; }
.flow-in { flex: 1 1 220px; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.flow-in div { border: 1px solid rgba(255,255,255,.28); border-radius: 12px; padding: 14px 18px; font-weight: 600; }
.flow-arrow { flex: 0 0 60px; text-align: center; font-size: 2.1rem; color: var(--orange); line-height: 1; }
.flow-hub { flex: 1 1 280px; min-width: 0; background: var(--orange); color: var(--char-900); border-radius: 16px; padding: 28px; }
.flow-hub strong { font-size: 1.5rem; font-weight: 800; }
.flow-hub ul { margin: 14px 0 0; padding-left: 18px; line-height: 1.8; font-weight: 600; }
.flow-out { flex: 1 1 200px; min-width: 0; border: 2px solid #fff; border-radius: 16px; padding: 24px; }
.flow-out strong { font-size: 1.4rem; font-weight: 800; }
.pills { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 8px; }
.pills span { background: rgba(255,255,255,.14); border-radius: 999px; padding: 6px 12px; font-size: .88rem; font-weight: 600; }
.band-link { margin-top: 44px; }

/* split sections */
.split .wrap, .split-wrap { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; }
.split-media { flex: 1 1 460px; min-width: 0; min-height: 440px; border-radius: 20px; background-size: cover; background-position: center; }
.media-warehouse { background-image: url(/assets/warehouse.jpg); }
.media-building { background-image: url(/assets/building.jpg); }
.split-copy { flex: 1 1 480px; min-width: 0; }
.split-copy h2 { margin-top: 0; }
.split-copy p + p { margin-top: 16px; }
.split-copy .body { margin-top: 18px; font-size: 1.08rem; color: var(--char-600); }
.tiles { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 12px; }
.tile { flex: 1 1 200px; min-width: 0; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 18px; font-weight: 700; }
.text-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 28px; font-weight: 800; text-decoration: none; }
.text-link svg { width: 18px; height: 18px; }

/* white band (industries, lists) */
.white { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.cols .wrap { display: flex; flex-wrap: wrap; gap: 56px; }
.cols .side { flex: 1 1 380px; min-width: 0; }
.cols .side h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); }
.cols .main { flex: 1 1 560px; min-width: 0; }
.list-grid { display: flex; flex-wrap: wrap; border-top: 1px solid var(--line); margin: 0; padding: 0; list-style: none; }
.list-grid li { flex: 1 1 50%; min-width: 220px; padding: 18px 16px 18px 0; border-bottom: 1px solid var(--line); font-weight: 700; font-size: 1.1rem; }

/* advantage cards */
.cards { margin-top: 44px; display: flex; flex-wrap: wrap; gap: 16px; }
.card { flex: 1 1 260px; min-width: 0; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 24px; }
.card .ico { width: 44px; height: 44px; border-radius: 12px; background: var(--orange-50); color: var(--orange-ink); display: grid; place-items: center; }
.card .ico svg { width: 22px; height: 22px; }
.card h3 { margin-top: 16px; font-size: 1.1rem; line-height: 1.3; }

/* service cards linking to the two service pages */
.service-cards { margin-top: 44px; display: flex; flex-wrap: wrap; gap: 20px; }
.service-card { flex: 1 1 420px; min-width: 0; display: block; text-decoration: none; color: var(--char-900); background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 32px; }
.service-card:hover { border-color: var(--char-900); color: var(--char-900); }
.service-card p { margin-top: 12px; color: var(--char-600); }
.service-card .more { margin-top: 20px; color: var(--orange-ink); font-weight: 800; }

/* vision quote */
.quote { background: var(--char-900); color: #fff; }
.quote blockquote { margin: 0; font-size: clamp(1.5rem, 3vw, 2.3rem); line-height: 1.3; font-weight: 700; letter-spacing: -.02em; max-width: 26ch; }
.quote blockquote span { color: var(--orange); }
.quote p { margin-top: 24px; color: var(--on-dark); font-size: 1.1rem; }

/* call-to-action band */
.cta { padding: 96px 0; }
.cta-box { background: var(--char-900); color: #fff; border-radius: 24px; padding: 48px; display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; }
.cta-box h2 { font-size: clamp(1.7rem, 3vw, 2.5rem); }
.cta-box p { margin-top: 10px; color: var(--on-dark); }
.cta-box .actions { margin-top: 0; }

/* contact */
.contact .wrap { display: flex; flex-wrap: wrap; gap: 48px; }
.contact-copy { flex: 1 1 400px; min-width: 0; }
.contact-copy h2 { font-size: clamp(2rem, 4vw, 3.1rem); }
.contact-copy .lead { margin-top: 18px; }
.contact-list { margin: 28px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; font-size: 1.15rem; font-weight: 700; }
.contact-list a { color: var(--char-900); text-decoration: none; }
.contact-list a:hover { color: var(--orange-ink); }
.contact-list .muted { color: var(--char-600); font-weight: 500; }
.contact-photo { margin-top: 32px; border-radius: 20px; min-height: 260px; background: url(/assets/building.jpg) center / cover; }

.form { flex: 1 1 520px; min-width: 0; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 32px; display: flex; flex-wrap: wrap; gap: 16px; align-content: flex-start; }
.field { flex: 1 1 200px; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.field.full { flex-basis: 100%; }
.form label, .form legend { font-size: .9rem; font-weight: 700; }
.req { color: var(--orange-ink); }
.form input, .form textarea { font: inherit; font-size: 1rem; color: var(--char-900); border: 1px solid var(--char-300); border-radius: 10px; padding: 0 14px; min-height: 50px; background: #fff; width: 100%; }
.form textarea { padding: 12px 14px; min-height: 130px; resize: vertical; }
.form input:focus, .form textarea:focus { outline: 3px solid rgba(238,106,31,.35); border-color: var(--orange-ink); }
.need { flex: 1 1 100%; border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.need legend { margin-bottom: 8px; padding: 0; }
.need label { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; border: 2px solid var(--char-300); border-radius: 999px; padding: 8px 16px; font-size: .9rem; cursor: pointer; }
.need label:has(input:checked) { background: var(--char-900); border-color: var(--char-900); color: #fff; }
.need input { accent-color: var(--orange); width: 16px; height: 16px; min-height: 0; margin: 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.turnstile-box { flex-basis: 100%; min-height: 65px; }
.form-status { flex-basis: 100%; font-weight: 600; }
.form-status:empty { display: none; }
.form-status.ok { color: #1d6b35; }
.form-status.err { color: #a32014; }
.form-foot { flex-basis: 100%; display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.form-note { font-size: .88rem; color: var(--char-600); }

/* footer */
.site-footer { background: var(--char-900); color: var(--char-300); font-size: .95rem; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: var(--orange); }
.footer-grid { padding: 56px 0 40px; display: flex; flex-wrap: wrap; gap: 40px; justify-content: space-between; }
.footer-brand { flex: 1 1 300px; max-width: 380px; }
.logo-chip { display: inline-flex; background: #fff; border-radius: 12px; padding: 10px 14px; }
.logo-chip img { height: 44px; width: auto; }
.footer-brand p { margin-top: 16px; }
.footer-col h2 { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: #fff; margin-bottom: 14px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding: 22px 0 32px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; font-size: .88rem; }

/* 404 */
.notfound { padding: 120px 0; }
.notfound .actions { margin-top: 32px; }

/* phones and small tablets */
@media (max-width: 900px) {
  section { padding: 72px 0; }
  .site-header .wrap { min-height: 84px; }
  .brand img { height: 50px; }
  .nav-toggle { display: grid; place-items: center; }
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; padding: 12px 24px 24px; gap: 4px; }
  .nav.open { display: flex; }
  .nav a { padding: 12px 0; font-size: 1.05rem; }
  .nav .btn { margin-top: 8px; }
  .hero { padding: 56px 0; }
  .hero-photo { min-height: 460px; }
  .flow-arrow { flex-basis: 100%; transform: rotate(90deg); }
  .split-media { min-height: 300px; }
  .cta-box { padding: 32px 24px; }
  .form { padding: 22px; }
}
@media (max-width: 480px) {
  .facts { position: static; margin: 0; border-radius: 0 0 20px 20px; box-shadow: none; }
  .hero-photo { min-height: 0; display: flex; flex-direction: column; justify-content: flex-end; padding-top: 260px; }
  .list-grid li { flex-basis: 100%; }
}
