/* TRADEMASTERS - modern static site, 20.11.2026. Mobile first, no framework. */
:root {
  --ink: #0b1220;
  --ink-2: #1e293b;
  --muted: #5b6577;
  --line: #e6e9ef;
  --bg: #ffffff;
  --bg-soft: #f5f7fb;
  --accent: #1d6fe5;
  --accent-ink: #0f4fb3;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(11, 18, 32, .08);
  --wrap: 1160px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg); line-height: 1.6; font-size: 16px; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-ink); }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -.02em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.1rem, 6vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 4vw, 2.4rem); font-weight: 750; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }
.eyebrow { display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin-bottom: .9em; }
.lead { font-size: 1.12rem; color: var(--muted); max-width: 60ch; }

/* header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .9); backdrop-filter: saturate(160%) blur(10px); -webkit-backdrop-filter: saturate(160%) blur(10px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { font-weight: 850; font-size: 1.2rem; letter-spacing: .06em; color: var(--ink); }
.logo span { color: var(--accent); }
.nav-toggle { display: inline-flex; flex-direction: column; justify-content: center; gap: 5px; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; padding: 10px; border-radius: 10px; }
.nav-toggle span { display: block; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .25s, opacity .25s; }
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.site-nav { position: fixed; inset: 64px 0 auto 0; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); padding: 8px 20px 20px; display: none; }
.nav-open .site-nav { display: block; }
.site-nav a { display: block; padding: 14px 4px; font-weight: 600; color: var(--ink); border-bottom: 1px solid var(--line); }
.site-nav a:last-child { border-bottom: 0; }
.site-nav a[aria-current="page"] { color: var(--accent); }
.site-nav .btn { margin-top: 12px; text-align: center; color: #fff; border: 0; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; padding: .85em 1.4em; border-radius: 999px; font-weight: 650; background: var(--accent); color: #fff; border: 2px solid var(--accent); transition: background .2s, color .2s, transform .2s; }
.btn:hover { background: var(--accent-ink); border-color: var(--accent-ink); color: #fff; transform: translateY(-1px); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .7); }
.btn-ghost:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* hero */
.hero { position: relative; color: #fff; isolation: isolate; overflow: hidden; }
.hero img.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(115deg, rgba(11, 18, 32, .88) 0%, rgba(11, 18, 32, .65) 45%, rgba(11, 18, 32, .25) 100%); }
.hero .wrap { padding-top: 88px; padding-bottom: 96px; }
.hero .eyebrow { color: #9cc2ff; }
.hero p.lead { color: rgba(255, 255, 255, .85); }
.hero-small .wrap { padding-top: 64px; padding-bottom: 64px; }

/* sections */
.section { padding: 72px 0; }
.section-soft { background: var(--bg-soft); }
.section-head { max-width: 720px; margin-bottom: 40px; }
.grid { display: grid; gap: 20px; }
.cards-4 { grid-template-columns: 1fr; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; transition: box-shadow .25s, transform .25s; }
.card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.card p { color: var(--muted); margin: 0; }
.icon { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: #eaf2ff; color: var(--accent); margin-bottom: 16px; }
.icon svg { width: 24px; height: 24px; }

.split { display: grid; gap: 32px; align-items: center; }
.split img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

/* call to action */
.cta { background: var(--ink); color: #fff; border-radius: 24px; overflow: hidden; display: grid; }
.cta-text { padding: 40px 28px; }
.cta-text p { color: rgba(255, 255, 255, .78); }
.cta img { width: 100%; height: 100%; min-height: 220px; object-fit: cover; }

/* brands */
.brands { grid-template-columns: repeat(2, 1fr); gap: 14px; }
.brand { background: #fff; border: 1px solid var(--line); border-radius: 14px; aspect-ratio: 3 / 2; display: grid; place-items: center; padding: 16px; transition: box-shadow .25s, transform .25s; }
.brand img { max-height: 70px; width: auto; max-width: 100%; object-fit: contain; filter: grayscale(1); opacity: .8; transition: filter .25s, opacity .25s; }
.brand:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.brand:hover img { filter: none; opacity: 1; }

/* about */
.pill-list { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 16px 0 0; list-style: none; }
.pill-list li { background: #eaf2ff; color: var(--accent-ink); border-radius: 999px; padding: 6px 14px; font-size: .9rem; font-weight: 600; }
.values { grid-template-columns: 1fr; }
.value { border-left: 3px solid var(--accent); padding: 4px 0 4px 18px; }
.value p { color: var(--muted); margin: 0; }
.mission { background: linear-gradient(135deg, #0b1220, #16233f); color: #fff; border-radius: 24px; padding: 40px 28px; }
.mission p { color: rgba(255, 255, 255, .82); max-width: 75ch; }

/* contacts */
.contact-grid { grid-template-columns: 1fr; }
.contact-card { display: flex; gap: 16px; align-items: flex-start; }
.contact-card h3 { margin-bottom: .25em; }
.contact-card p, .contact-card a { word-break: break-word; }

/* footer */
.site-footer { background: var(--ink); color: rgba(255, 255, 255, .72); padding: 48px 0 28px; margin-top: 0; }
.site-footer .logo { color: #fff; }
.footer-grid { display: grid; gap: 28px; }
.site-footer a { color: rgba(255, 255, 255, .85); }
.site-footer a:hover { color: #fff; }
.site-footer nav a { display: block; padding: 4px 0; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .12); margin-top: 32px; padding-top: 20px; font-size: .88rem; }

@media (min-width: 640px) {
  .cards-4 { grid-template-columns: repeat(2, 1fr); }
  .brands { grid-template-columns: repeat(3, 1fr); }
  .values { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 960px) {
  .nav-toggle { display: none; }
  .site-nav { position: static; display: flex !important; align-items: center; gap: 28px; padding: 0; border: 0; box-shadow: none; background: transparent; }
  .site-nav a { border: 0; padding: 6px 0; font-size: .95rem; }
  .site-nav .btn { margin: 0; padding: .6em 1.2em; }
  .hero .wrap { padding-top: 140px; padding-bottom: 150px; }
  .hero-small .wrap { padding-top: 96px; padding-bottom: 96px; }
  .section { padding: 104px 0; }
  .cards-4 { grid-template-columns: repeat(4, 1fr); }
  .split { grid-template-columns: 1fr 1fr; gap: 64px; }
  .split.reverse > :first-child { order: 2; }
  .cta { grid-template-columns: 1.1fr .9fr; }
  .cta-text { padding: 64px 56px; }
  .brands { grid-template-columns: repeat(5, 1fr); }
  .mission { padding: 64px 56px; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
