/* Digitec Systems
   Brand colours taken from the logo: navy #333D7A, slate #76889C, charcoal #454545 */

:root {
  --navy: #333d7a;
  --navy-700: #283066;
  --navy-900: #1b2149;
  --slate: #76889c;
  --slate-300: #b9c3cf;
  --slate-100: #e7ebf0;
  --paper: #f4f6f8;
  --white: #ffffff;
  --ink: #23262d;
  --text: #3d4350;
  --muted: #687080;
  --line: #dde2e8;

  --font-head: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Source Sans 3", "Segoe UI", Arial, sans-serif;

  --wrap: 1180px;
  --radius: 4px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
[id] { scroll-margin-top: 110px; }
a { color: var(--navy); text-decoration: none; }
a:hover { color: var(--navy-900); }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--ink);
  line-height: 1.2;
  margin: 0 0 .5em;
  letter-spacing: -.01em;
}
h1 { font-size: clamp(2.1rem, 4.4vw, 3.3rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 600; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--navy); color: #fff; padding: 10px 16px; z-index: 100;
}
.skip:focus { left: 12px; top: 12px; }

/* ---------- Utility bar ---------- */
.topbar {
  background: var(--navy-900);
  color: #c9d0dc;
  font-size: 14px;
}
.topbar .wrap {
  display: flex; justify-content: space-between; align-items: center;
  gap: 16px; min-height: 38px;
}
.topbar a { color: #e6e9f0; }
.topbar a:hover { color: #fff; }
.topbar-contact { display: flex; gap: 22px; flex-wrap: wrap; }
.topbar-contact span { display: inline-flex; align-items: center; gap: 7px; }
.topbar svg { width: 14px; height: 14px; fill: none; stroke: var(--slate-300); stroke-width: 1.8; }

/* ---------- Header ---------- */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 50;
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 92px; gap: 24px;
}
.brand img { height: 64px; width: auto; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  font-family: var(--font-head);
  font-size: 15px; font-weight: 500;
  color: var(--ink);
  padding: 10px 14px;
  position: relative;
}
.nav a::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px;
  height: 2px; background: var(--navy);
  transform: scaleX(0); transform-origin: left; transition: transform .2s ease;
}
.nav a:hover::after,
.nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav a[aria-current="page"] { color: var(--navy); }
.nav .btn { margin-left: 12px; }
.nav .btn::after { display: none; }

.nav-toggle {
  display: none;
  background: none; border: 1px solid var(--line); border-radius: var(--radius);
  width: 44px; height: 44px; cursor: pointer; padding: 0;
  align-items: center; justify-content: center;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block; width: 20px; height: 2px; background: var(--ink); position: relative;
  transition: transform .2s ease, background .2s ease;
}
.nav-toggle span::before,
.nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle span::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-head); font-weight: 600; font-size: 15px;
  padding: 13px 22px;
  border-radius: var(--radius);
  border: 1.5px solid var(--navy);
  background: var(--navy); color: #fff !important;
  cursor: pointer; transition: background .15s ease, border-color .15s ease, color .15s ease;
  line-height: 1.2;
}
.btn:hover { background: var(--navy-900); border-color: var(--navy-900); }
.btn-outline { background: transparent; color: var(--navy) !important; }
.btn-outline:hover { background: var(--navy); color: #fff !important; }
.btn-light { background: #fff; border-color: #fff; color: var(--navy) !important; }
.btn-light:hover { background: var(--slate-100); border-color: var(--slate-100); }
.btn-ghost-light { background: transparent; border-color: rgba(255,255,255,.55); }
.btn-ghost-light:hover { background: rgba(255,255,255,.1); border-color: #fff; }
.btn-sm { padding: 9px 14px; font-size: 14px; }
.btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; }

/* ---------- Generic sections ---------- */
.section { padding: 96px 0; }
.section-tight { padding: 72px 0; }
.bg-paper { background: var(--paper); }

.eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 13px; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--slate);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: ""; display: inline-block; vertical-align: middle;
  width: 28px; height: 2px; background: var(--navy); margin-right: 10px; margin-top: -3px;
}
.lead { font-size: 1.16rem; color: var(--text); }
.muted { color: var(--muted); }

.section-head { max-width: 680px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow::before { display: none; }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

/* Wave lines motif, echoing the lines behind the "Digitec" wordmark */
.waves {
  position: absolute; inset: auto 0 0 auto; width: 62%; height: 100%;
  pointer-events: none; color: var(--slate-300); opacity: .7;
}
.waves path { fill: none; stroke: currentColor; stroke-width: 1; vector-effect: non-scaling-stroke; }

/* ---------- Home hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(180deg, #fff 0%, var(--paper) 100%);
  border-bottom: 1px solid var(--line);
}
.hero .wrap {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center;
  padding-top: 88px; padding-bottom: 96px;
}
.hero h1 span { color: var(--navy); }
.hero .lead { max-width: 540px; margin-bottom: 30px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-facts {
  display: flex; gap: 36px; flex-wrap: wrap;
  margin-top: 44px; padding-top: 26px; border-top: 1px solid var(--line);
}
.hero-facts div { font-size: 14px; color: var(--muted); line-height: 1.4; }
.hero-facts strong {
  display: block; font-family: var(--font-head); font-size: 17px; color: var(--ink); font-weight: 600;
}

.hero-board {
  display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: auto auto; gap: 14px;
}
.hero-board figure {
  margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 16px; display: flex; flex-direction: column; gap: 10px;
  box-shadow: 0 1px 2px rgba(27,33,73,.04);
}
.hero-board figure.tall { grid-column: span 2; }
.hero-board .ph { flex: 1; display: flex; align-items: center; justify-content: center; min-height: 140px; }
.hero-board img { max-height: 210px; width: auto; object-fit: contain; }
.hero-board figure.tall img { max-height: 250px; }
.hero-board figcaption {
  font-family: var(--font-head); font-size: 13px; font-weight: 600; color: var(--ink);
  display: flex; justify-content: space-between; gap: 8px;
  border-top: 1px solid var(--line); padding-top: 10px;
}
.hero-board figcaption span { color: var(--slate); font-weight: 500; white-space: nowrap; }

/* ---------- What we do strip ---------- */
.pillars { border-bottom: 1px solid var(--line); background: #fff; }
.pillars .wrap { display: grid; grid-template-columns: repeat(3, 1fr); }
.pillar { padding: 40px 32px 40px 0; }
.pillar + .pillar { padding-left: 32px; border-left: 1px solid var(--line); }
.pillar .num {
  font-family: var(--font-head); font-size: 13px; font-weight: 600; color: var(--slate);
  letter-spacing: .1em; margin-bottom: 10px; display: block;
}
.pillar h3 { margin-bottom: 8px; }
.pillar p { margin: 0 0 12px; color: var(--muted); font-size: 16px; }
.link-arrow {
  font-family: var(--font-head); font-weight: 600; font-size: 14px; color: var(--navy);
  display: inline-flex; align-items: center; gap: 6px;
}
.link-arrow::after { content: "\2192"; transition: transform .15s ease; }
.link-arrow:hover::after { transform: translateX(3px); }

/* ---------- About short ---------- */
.about-media {
  position: relative; background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 28px;
}
.about-media img { margin: 0 auto; max-height: 420px; width: auto; }
.about-media .tag {
  position: absolute; left: -1px; bottom: 28px;
  background: var(--navy); color: #fff; padding: 14px 20px;
  font-family: var(--font-head); font-size: 14px; line-height: 1.35;
}
.about-media .tag strong { display: block; font-size: 20px; }

.checklist { list-style: none; margin: 24px 0 30px; display: grid; gap: 12px; }
.checklist li { position: relative; padding-left: 30px; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 7px;
  width: 16px; height: 16px; border-radius: 2px; background: var(--slate-100);
  box-shadow: inset 0 0 0 1.5px var(--navy);
}
.checklist li::after {
  content: ""; position: absolute; left: 5px; top: 10px;
  width: 6px; height: 9px; border: solid var(--navy); border-width: 0 2px 2px 0; transform: rotate(45deg);
}

/* ---------- Mission / future ---------- */
.dark {
  position: relative; overflow: hidden;
  background: var(--navy-900); color: #cdd3df;
}
.dark h2, .dark h3 { color: #fff; }
.dark .eyebrow { color: var(--slate-300); }
.dark .eyebrow::before { background: var(--slate-300); }
.dark .waves { color: #3a4380; opacity: .9; width: 100%; }
.dark .wrap { position: relative; z-index: 1; }

.mf-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; border: 1px solid #343c78; }
.mf-card { padding: 44px 40px; }
.mf-card + .mf-card { border-left: 1px solid #343c78; }
.mf-card .label {
  font-family: var(--font-head); font-size: 13px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--slate-300); display: block; margin-bottom: 14px;
}
.mf-card h3 { font-size: 1.55rem; margin-bottom: 14px; }
.mf-card p { margin-bottom: 0; }
.mf-card ul { list-style: none; margin-top: 18px; display: grid; gap: 8px; }
.mf-card li { padding-left: 20px; position: relative; }
.mf-card li::before { content: ""; position: absolute; left: 0; top: 12px; width: 10px; height: 2px; background: var(--slate); }

/* ---------- Product cards ---------- */
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  display: flex; flex-direction: column; overflow: hidden;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.card:hover { border-color: var(--slate-300); box-shadow: 0 8px 24px rgba(27,33,73,.07); }
.card-media {
  background: var(--paper); border-bottom: 1px solid var(--line);
  height: 240px; display: flex; align-items: center; justify-content: center; padding: 22px;
}
.card-media img { max-height: 100%; max-width: 100%; width: auto; object-fit: contain; mix-blend-mode: multiply; }
.card-body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.card-meta {
  display: flex; justify-content: space-between; align-items: center; gap: 8px;
  font-family: var(--font-head); font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: var(--slate); margin-bottom: 8px;
}
.card-meta .model { color: var(--navy); letter-spacing: .04em; }
.card h3 { margin-bottom: 8px; }
.card p { font-size: 15.5px; color: var(--muted); }
.card ul.specs { list-style: none; margin: 0 0 18px; font-size: 15px; display: grid; gap: 6px; }
.card ul.specs li { padding-left: 16px; position: relative; color: var(--text); }
.card ul.specs li::before { content: ""; position: absolute; left: 0; top: 11px; width: 7px; height: 2px; background: var(--navy); }
.card-foot {
  margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap;
}
.dl {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-head); font-size: 14px; font-weight: 600;
}
.dl svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; }
.dl small { font-family: var(--font-body); font-weight: 400; color: var(--muted); font-size: 13px; }

.filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 36px; }
.filters button {
  font-family: var(--font-head); font-size: 14px; font-weight: 500;
  background: #fff; color: var(--ink);
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 9px 16px; cursor: pointer;
}
.filters button:hover { border-color: var(--slate); }
.filters button[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.card[hidden] { display: none; }

/* Accessories */
.acc {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  text-align: center; overflow: hidden;
}
.acc .ph { height: 190px; display: flex; align-items: center; justify-content: center; padding: 18px; background: #fff; }
.acc img { max-height: 100%; max-width: 100%; width: auto; object-fit: contain; }
.acc h3 { font-size: 15px; margin: 0; padding: 14px 12px; border-top: 1px solid var(--line); background: var(--paper); }

/* Download table */
.dl-table { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--line); font-size: 16px; }
.dl-table th, .dl-table td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.dl-table th {
  font-family: var(--font-head); font-size: 13px; font-weight: 600; letter-spacing: .08em;
  text-transform: uppercase; color: var(--muted); background: var(--paper);
}
.dl-table td:last-child, .dl-table th:last-child { text-align: right; }
.dl-table tr:last-child td { border-bottom: 0; }
.ftype {
  display: inline-block; font-family: var(--font-head); font-size: 11px; font-weight: 700;
  padding: 3px 7px; border-radius: 2px; background: var(--slate-100); color: var(--navy); letter-spacing: .06em;
}

/* ---------- Page header (inner pages) ---------- */
.page-head {
  position: relative; overflow: hidden;
  background: var(--navy-900); color: #cdd3df;
  padding: 72px 0 68px;
}
.page-head .wrap { position: relative; z-index: 1; }
.page-head h1 { color: #fff; margin-bottom: 12px; }
.page-head p { max-width: 640px; font-size: 1.12rem; margin: 0; }
.page-head .waves { color: #39427f; opacity: 1; width: 70%; }
.crumbs { font-size: 14px; margin-bottom: 18px; color: var(--slate-300); }
.crumbs a { color: #fff; }
.crumbs span { margin: 0 8px; opacity: .6; }

/* ---------- About page ---------- */
.stat-row { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); background: #fff; }
.stat { padding: 28px 26px; }
.stat + .stat { border-left: 1px solid var(--line); }
.stat strong { display: block; font-family: var(--font-head); font-size: 1.15rem; color: var(--ink); margin-bottom: 4px; }
.stat span { font-size: 15px; color: var(--muted); }

.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 2px solid var(--navy); }
.step { padding: 26px 26px 0 0; }
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  display: block; font-family: var(--font-head); font-weight: 700; font-size: 15px; color: var(--navy);
  margin-bottom: 10px;
}
.step h3 { font-size: 1.08rem; margin-bottom: 6px; }
.step p { font-size: 15.5px; color: var(--muted); margin: 0; }

.cap-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-top: 1px solid var(--line); }
.cap-list div { padding: 20px 20px 20px 0; border-bottom: 1px solid var(--line); }
.cap-list div:nth-child(odd) { padding-right: 28px; }
.cap-list div:nth-child(even) { padding-left: 28px; border-left: 1px solid var(--line); }
.cap-list h3 { font-size: 1.05rem; margin-bottom: 4px; }
.cap-list p { margin: 0; font-size: 15.5px; color: var(--muted); }

/* ---------- Services page ---------- */
.svc-nav { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 28px; }
.svc { scroll-margin-top: 100px; }
.svc-figure {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px;
}
.svc-figure svg { width: 100%; height: auto; display: block; }
.svc-figure figcaption { font-size: 14px; color: var(--muted); margin-top: 14px; border-top: 1px solid var(--line); padding-top: 12px; }

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 1px solid var(--line); background: #fff; }
.feature { padding: 28px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.feature:nth-child(3n) { border-right: 0; }
.feature:nth-last-child(-n+3) { border-bottom: 0; }
.feature h3 { font-size: 1.06rem; margin-bottom: 6px; }
.feature p { margin: 0; font-size: 15.5px; color: var(--muted); }
.feature .ico {
  width: 40px; height: 40px; border-radius: var(--radius); background: var(--slate-100);
  display: flex; align-items: center; justify-content: center; margin-bottom: 16px;
}
.feature .ico svg { width: 22px; height: 22px; fill: none; stroke: var(--navy); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

.process { list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; counter-reset: p; }
.process li {
  background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--navy);
  padding: 20px 18px; font-size: 15px; color: var(--muted);
}
.process li::before {
  counter-increment: p; content: counter(p, decimal-leading-zero);
  font-family: var(--font-head); font-weight: 700; color: var(--slate); font-size: 13px; display: block; margin-bottom: 8px;
}
.process strong { display: block; font-family: var(--font-head); color: var(--ink); font-size: 16px; margin-bottom: 4px; }

.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.tags span {
  font-size: 14.5px; padding: 6px 12px; border: 1px solid var(--line); border-radius: 2px; background: #fff; color: var(--text);
}

/* ---------- CTA band ---------- */
.cta {
  background: var(--navy); color: #dfe3ee;
}
.cta .wrap {
  display: flex; align-items: center; justify-content: space-between; gap: 32px;
  padding-top: 56px; padding-bottom: 56px;
}
.cta h2 { color: #fff; margin-bottom: 6px; font-size: clamp(1.4rem, 2.6vw, 1.9rem); }
.cta p { margin: 0; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; flex-shrink: 0; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: start; }
.info-block { border-top: 1px solid var(--line); padding: 22px 0; display: grid; grid-template-columns: 44px 1fr; gap: 16px; }
.info-block:last-of-type { border-bottom: 1px solid var(--line); }
.info-block .ico {
  width: 44px; height: 44px; border-radius: var(--radius); background: var(--slate-100);
  display: flex; align-items: center; justify-content: center;
}
.info-block .ico svg { width: 20px; height: 20px; fill: none; stroke: var(--navy); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.info-block h3 { font-size: 1rem; margin-bottom: 4px; }
.info-block p { margin: 0; color: var(--text); }
.info-block a { color: var(--text); }
.info-block a:hover { color: var(--navy); }

.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 36px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-family: var(--font-head); font-size: 14px; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--ink);
  border: 1px solid var(--slate-300); border-radius: var(--radius); background: #fff;
  padding: 11px 13px;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(51,61,122,.15);
}
.form-note { font-size: 14px; color: var(--muted); margin: 12px 0 0; }

.map {
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--paper);
  aspect-ratio: 21 / 8;
}
.map iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: #aeb6c6; font-size: 15.5px; }
.footer-main { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 40px; padding: 72px 0 56px; }
.footer-logo { width: 220px; margin-bottom: 20px; }
.site-footer h4 {
  font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: #fff; font-weight: 600; margin-bottom: 18px;
}
.site-footer ul { list-style: none; display: grid; gap: 9px; }
.site-footer a { color: #d3d8e2; }
.site-footer a:hover { color: #fff; }
.footer-contact li { display: grid; grid-template-columns: 20px 1fr; gap: 10px; }
.footer-contact svg { width: 16px; height: 16px; margin-top: 4px; fill: none; stroke: var(--slate); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.footer-bottom { border-top: 1px solid #2c3366; }
.footer-bottom .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 22px; padding-bottom: 22px; font-size: 14px; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .grid-4 { grid-template-columns: repeat(3, 1fr); }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .process { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 920px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: absolute; left: 0; right: 0; top: 100%;
    background: #fff; border-bottom: 1px solid var(--line);
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 8px 24px 20px;
    display: none;
  }
  .nav-open .nav { display: flex; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav a::after { display: none; }
  .nav .btn { margin: 16px 0 0; border-bottom: 1.5px solid var(--navy); }

  .hero .wrap { grid-template-columns: 1fr; padding-top: 56px; padding-bottom: 64px; gap: 44px; }
  .grid-2 { grid-template-columns: 1fr; gap: 40px; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .pillars .wrap { grid-template-columns: 1fr; }
  .pillar, .pillar + .pillar { padding: 28px 0; border-left: 0; }
  .pillar + .pillar { border-top: 1px solid var(--line); }
  .mf-grid { grid-template-columns: 1fr; }
  .mf-card + .mf-card { border-left: 0; border-top: 1px solid #343c78; }
  .stat-row { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 28px; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .feature:nth-child(3n) { border-right: 1px solid var(--line); }
  .feature:nth-child(2n) { border-right: 0; }
  .feature:nth-last-child(-n+3) { border-bottom: 1px solid var(--line); }
  .feature:nth-last-child(-n+2) { border-bottom: 0; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .cta .wrap { flex-direction: column; align-items: flex-start; }
  .topbar-hours { display: none; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .section { padding: 64px 0; }
  .section-tight { padding: 52px 0; }
  .topbar-contact { gap: 14px; font-size: 13px; }
  .topbar-contact .t-mail { display: none; }
  .site-header .wrap { min-height: 68px; }
  .brand img { height: 46px; }
  .hero .waves { width: 100%; height: 55%; top: auto; opacity: .45; }
  .hero-board { grid-template-columns: 1fr 1fr; gap: 10px; }
  .hero-board figure { padding: 10px; }
  .hero-board figure.tall img { max-height: 180px; }
  .hero-board img { max-height: 120px; }
  .hero-board .ph { min-height: 100px; }
  .hero-board figcaption { font-size: 12px; flex-direction: column; gap: 0; }
  .hero-facts { gap: 18px 28px; }
  .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .acc-grid { grid-template-columns: 1fr 1fr !important; gap: 12px; }
  .acc .ph { height: 140px; }
  .card-media { height: 220px; }
  .mf-card { padding: 30px 22px; }
  .stat-row { grid-template-columns: 1fr; }
  .stat + .stat { border-left: 0; border-top: 1px solid var(--line); }
  .steps { grid-template-columns: 1fr; }
  .cap-list { grid-template-columns: 1fr; }
  .cap-list div:nth-child(odd), .cap-list div:nth-child(even) { padding: 18px 0; border-left: 0; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature, .feature:nth-child(3n), .feature:nth-child(2n) { border-right: 0; border-bottom: 1px solid var(--line); }
  .feature:last-child { border-bottom: 0; }
  .process { grid-template-columns: 1fr; }
  .form-card { padding: 22px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .map { aspect-ratio: 4 / 3; }
  .footer-main { grid-template-columns: 1fr; gap: 32px; padding: 52px 0 40px; }
  .dl-table th:nth-child(2), .dl-table td:nth-child(2) { display: none; }
  .dl-table th, .dl-table td { padding: 12px; }
  .page-head { padding: 52px 0 48px; }
  .about-media .tag { position: static; margin-top: 18px; display: inline-block; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
