/* ==========================================================================
   DCG website styles. Plain CSS, no build step.
   Colours are defined once in :root, change them there.
   ========================================================================== */

:root {
  --navy: #0b1f3a;
  --navy-2: #123a73;
  --blue: #1f5fd6;
  --blue-d: #174ab0;
  --blue-l: #eaf1ff;
  --orange: #f28c1a;
  --orange-d: #dc7a0a;
  --ink: #0f1c2e;
  --muted: #5a6b82;
  --line: #e2e8f2;
  --soft: #f5f8fd;
  --white: #fff;
  --green: #1f9d63;
  --red: #d64545;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px rgba(11, 31, 58, .08);
  --shadow-lg: 0 20px 50px rgba(11, 31, 58, .14);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --container: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; }
img { height: auto; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-d); }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.01em; color: var(--navy); }
h1 { font-size: clamp(2rem, 4.2vw, 3.25rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; border-radius: 6px; }

.container { width: min(100% - 32px, var(--container)); margin-inline: auto; }
.narrow { width: min(100% - 32px, 820px); }
.center { text-align: center; }
.mt { margin-top: 2rem; }
.muted { color: var(--muted); }
.ico { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.ico-sm { width: 14px; height: 14px; }
#top { display: block; height: 0; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--white); padding: 8px 14px; border-radius: 8px; z-index: 200; }
.skip-link:focus { left: 8px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 22px; border-radius: 999px; border: 2px solid transparent;
  font: 600 .95rem/1.2 var(--font); cursor: pointer; text-align: center;
  transition: transform .15s ease, background .15s ease, box-shadow .15s ease, color .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-lg { padding: 14px 28px; font-size: 1rem; }
.btn-sm { padding: 8px 16px; font-size: .875rem; }
.btn-block { width: 100%; }
.btn-primary { background: var(--orange); color: #1b1200; box-shadow: 0 8px 20px rgba(242, 140, 26, .3); }
.btn-primary:hover { background: var(--orange-d); color: #1b1200; }
.btn-secondary { background: var(--blue-l); color: var(--blue-d); border-color: transparent; }
.btn-secondary:hover { background: #dbe8ff; color: var(--blue-d); }
.btn-ghost { background: transparent; color: var(--white); border-color: rgba(255, 255, 255, .45); }
.btn-ghost:hover { background: rgba(255, 255, 255, .12); color: var(--white); border-color: #fff; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: var(--white); }
.topbar { background: var(--navy); color: #cfe0ff; font-size: .8125rem; }
.topbar-in { display: flex; align-items: center; justify-content: space-between; min-height: 38px; gap: 16px; }
.topbar a { color: #e8f0ff; }
.topbar a:hover { color: #fff; }
.topbar-contacts { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.topbar-contacts a, .topbar-contacts span { display: inline-flex; align-items: center; gap: 6px; }
.topbar .ico { width: 15px; height: 15px; }
.lang { display: flex; gap: 2px; }
.lang a { padding: 3px 9px; border-radius: 6px; font-weight: 600; letter-spacing: .04em; color: #a9c1ea; }
.lang a.on { background: var(--orange); color: #1b1200; }
.lang a:hover:not(.on) { background: rgba(255, 255, 255, .12); }

.mainbar { border-bottom: 1px solid var(--line); background: rgba(255, 255, 255, .96); backdrop-filter: saturate(1.4) blur(8px); transition: box-shadow .2s ease; }
.site-header.scrolled .mainbar { box-shadow: 0 6px 24px rgba(11, 31, 58, .08); }
.mainbar-in { display: flex; align-items: center; justify-content: space-between; min-height: 78px; gap: 16px; }
.brand { display: inline-flex; align-items: center; color: var(--navy); }
.brand:hover { color: var(--navy); }
.brand img { display: block; height: 62px; width: auto; }
.brand-light img { height: 76px; }

.nav { display: flex; align-items: center; gap: 28px; }
.nav-list { display: flex; align-items: center; gap: 4px; }
.nav-list > li { position: relative; }
.nav-list > li > a { display: inline-flex; align-items: center; gap: 4px; padding: 10px 14px; border-radius: 10px; color: var(--ink); font-weight: 600; font-size: .95rem; }
.nav-list > li > a:hover, .nav-list > li.is-current > a { color: var(--blue); background: var(--blue-l); }
.dd { position: absolute; top: 100%; left: 0; min-width: 270px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-lg); padding: 8px; opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .15s ease, transform .15s ease, visibility .15s; }
.has-dd:hover .dd, .has-dd:focus-within .dd { opacity: 1; visibility: visible; transform: none; }
.dd a { display: block; padding: 9px 12px; border-radius: 8px; color: var(--ink); font-weight: 500; font-size: .93rem; }
.dd a:hover { background: var(--blue-l); color: var(--blue-d); }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; border-radius: 10px; color: var(--navy); cursor: pointer; }
.nav-toggle .ico { width: 26px; height: 26px; }
.nav-toggle .ico-close { display: none; }
.nav-open .nav-toggle .ico-open { display: none; }
.nav-open .nav-toggle .ico-close { display: block; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(900px 420px at 88% 0%, rgba(47, 111, 228, .55), transparent 62%),
    linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 100%);
  padding: 72px 0 120px;
}
.hero h1 { color: #fff; margin-bottom: .45em; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.eyebrow { font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); margin-bottom: 12px; }
.eyebrow-light { color: #ffb765; }
.lead { font-size: 1.125rem; color: var(--muted); max-width: 62ch; }
.hero .lead { color: #d5e3fb; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 26px; }
.hero-points { display: grid; gap: 10px; color: #d5e3fb; font-size: .97rem; }
.hero-points li { display: flex; align-items: flex-start; gap: 10px; }
.hero-points .ico { color: #ffb765; margin-top: 2px; }
.hero-art img { width: 100%; max-width: 620px; margin-inline: auto; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .3)); }

.stats-wrap { margin-top: -64px; position: relative; z-index: 2; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg); border: 1px solid var(--line); }
.stat { padding: 26px 22px; text-align: center; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat b { display: block; font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 800; color: var(--blue); line-height: 1.1; }
.stat span { display: block; margin-top: 6px; font-size: .9rem; color: var(--muted); line-height: 1.4; overflow-wrap: anywhere; }
.stats-inline { padding: 0 0 8px; }
.stats-flat { box-shadow: none; background: var(--soft); }

/* ---------- Sections ---------- */
.section { padding: 84px 0; }
.section-soft { background: var(--soft); }
.section-dark { background: linear-gradient(135deg, var(--navy), var(--navy-2)); color: #d5e3fb; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark p { color: #d5e3fb; }
.section-head { max-width: 720px; margin: 0 auto 44px; text-align: center; }
.section-head p:last-child { color: var(--muted); font-size: 1.05rem; margin-bottom: 0; }
.anchor { scroll-margin-top: 130px; }

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

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split-rev .split-media { order: 2; }
.split-media img { width: 100%; border-radius: var(--radius); }
.split-copy p { color: var(--muted); }
.section-dark .split-copy p { color: #d5e3fb; }
.split-copy .btn { margin-top: 8px; }

/* ---------- Cards ---------- */
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: 0 1px 2px rgba(11, 31, 58, .04); }
.card p { color: var(--muted); margin-bottom: 0; }
.card-service { display: flex; flex-direction: column; color: inherit; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.card-service:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: #cddcf7; color: inherit; }
.card-service p { flex: 1; }
.card-icon { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: var(--blue-l); color: var(--blue); margin-bottom: 18px; }
.card-icon .ico { width: 26px; height: 26px; }
.card-service:hover .card-icon { background: var(--blue); color: #fff; }
.card-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; font-weight: 700; font-size: .93rem; color: var(--blue); }
.card-link .ico { width: 16px; height: 16px; transition: transform .15s ease; }
.card:hover .card-link .ico, .card-link:hover .ico { transform: translateX(3px); }
.card-feature { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.card-feature img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: var(--blue-l); }
.card-feature .card-body { padding: 24px 26px 28px; }
.card-feature h2, .card-feature h3 { font-size: 1.25rem; display: flex; align-items: center; gap: 10px; }
.card-feature h3 .ico { color: var(--blue); }

/* ---------- Lists ---------- */
.checklist { display: grid; gap: 12px; margin: 22px 0 26px; }
.checklist li { position: relative; padding-left: 34px; color: var(--ink); font-weight: 500; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 2px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.section-dark .checklist li { color: #fff; }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: s; position: relative; }
.step { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px 28px; }
.section-soft .step { background: #fff; }
.step-num { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--navy); color: #fff; font-weight: 800; margin-bottom: 16px; box-shadow: 0 0 0 6px var(--blue-l); }
.step p { color: var(--muted); margin: 0; font-size: .95rem; }
.steps-vertical { grid-template-columns: 1fr; gap: 16px; margin-top: 20px; }
.steps-vertical .step { display: flex; gap: 18px; padding: 20px 22px; }
.steps-vertical .step-num { flex: none; margin: 0; width: 38px; height: 38px; box-shadow: 0 0 0 5px var(--blue-l); }
.steps-vertical h3 { margin-bottom: .2em; font-size: 1.05rem; }

.callout { background: var(--blue-l); border-radius: var(--radius); padding: 32px; border: 1px solid #d3e2ff; }
.callout > .ico { width: 34px; height: 34px; color: var(--blue); margin-bottom: 12px; }
.callout p { color: var(--muted); }
.callout-wide { display: flex; align-items: center; gap: 24px; }
.callout-wide > .ico { margin: 0; width: 44px; height: 44px; }
.callout-wide h3 { margin-bottom: .25em; }
.callout-wide p { margin: 0; }
.callout-wide > div { flex: 1; }
.callout-wide .btn { flex: none; }

/* ---------- Testimonials ---------- */
.testimonial { margin: 0; display: flex; flex-direction: column; gap: 20px; }
.testimonial blockquote { margin: 0; font-size: 1.02rem; color: var(--ink); position: relative; padding-top: 28px; }
.testimonial blockquote::before { content: "\201C"; position: absolute; top: -12px; left: -2px; font-size: 4rem; line-height: 1; color: var(--orange); font-family: Georgia, serif; }
.testimonial figcaption { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.testimonial figcaption img, .avatar { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.avatar { display: inline-grid; place-items: center; background: var(--blue); color: #fff; font-weight: 700; }
.testimonial small { display: block; color: var(--muted); }

/* ---------- Team ---------- */
.team { text-align: center; }
.team-card { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.team-photo { width: 132px; height: 132px; border-radius: 50%; object-fit: cover; margin-bottom: 14px; box-shadow: 0 1px 2px rgba(11, 31, 58, .06); }
.team-photo-fallback { display: inline-grid; place-items: center; background: var(--blue); color: #fff; font-weight: 700; font-size: 2.2rem; }
.team-name { font-size: 1.05rem; }
.team-position { color: var(--muted); font-size: .92rem; }

/* ---------- FAQ ---------- */
.faq-group { margin-bottom: 44px; }
.faq-group h2 { font-size: 1.4rem; margin-bottom: 18px; }
.faq-list { display: grid; gap: 12px; }
.faq { background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; transition: border-color .2s ease, box-shadow .2s ease; }
.faq[open] { border-color: #cddcf7; box-shadow: var(--shadow); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 22px; font-weight: 700; color: var(--navy); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ico { color: var(--blue); transition: transform .2s ease; }
.faq[open] summary .ico { transform: rotate(180deg); }
.faq-body { padding: 0 22px 20px; color: var(--muted); }
.faq-body p { margin: 0; }

/* ---------- Page header ---------- */
.page-head { background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 100%); color: #fff; padding: 52px 0 56px; position: relative; overflow: hidden; }
.page-head::after { content: ""; position: absolute; right: -120px; top: -160px; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(47, 111, 228, .5), transparent 70%); }
.page-head .container { position: relative; z-index: 1; }
.page-head h1 { color: #fff; font-size: clamp(1.9rem, 3.6vw, 2.8rem); margin-bottom: .3em; }
.page-head .lead { color: #d5e3fb; margin: 0; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: .85rem; color: #a9c1ea; margin-bottom: 16px; }
.crumbs a { color: #cfe0ff; }
.crumbs a:hover { color: #fff; }

/* ---------- CTA + form ---------- */
.cta-section { background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 100%); color: #d5e3fb; position: relative; overflow: hidden; }
.cta-section::before { content: ""; position: absolute; left: -160px; bottom: -200px; width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(circle, rgba(242, 140, 26, .1), transparent 70%); }
.cta-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; position: relative; }
.cta-copy h2 { color: #fff; }
.cta-copy .lead { color: #d5e3fb; }
.cta-contacts { display: grid; gap: 14px; margin-top: 26px; }
.cta-contacts li { display: flex; align-items: center; gap: 12px; }
.cta-contacts .ico { color: #ffb765; }
.cta-contacts a { color: #fff; font-weight: 600; font-size: 1.05rem; }
.cta-contacts a:hover { color: #ffb765; }
.cta-form { padding: 32px; box-shadow: var(--shadow-lg); }
.cta-form h3 { margin-bottom: 18px; font-size: 1.3rem; }

.lead-form { display: grid; gap: 16px; }
.field label { display: block; font-size: .85rem; font-weight: 600; color: var(--navy); margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; font: 500 1rem/1.4 var(--font); color: var(--ink);
  background: #fff; border: 1.5px solid #cfd9e8; border-radius: 12px; transition: border-color .15s ease, box-shadow .15s ease;
}
.field textarea { resize: vertical; min-height: 96px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(31, 95, 214, .15); }
.field.has-error input, .field.has-error select { border-color: var(--red); }
.field-error { color: var(--red); font-size: .82rem; margin: 6px 0 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { margin: 0; font-size: .8rem; color: var(--muted); text-align: center; }
.form-status { margin: 0; font-weight: 600; text-align: center; min-height: 0; }
.form-status:empty { display: none; }
.form-status.ok { color: var(--green); background: #e8f7ef; padding: 12px 14px; border-radius: 12px; }
.form-status.err { color: var(--red); background: #fdeeee; padding: 12px 14px; border-radius: 12px; }
.lead-form.is-loading .btn { opacity: .7; pointer-events: none; }

/* ---------- Contacts ---------- */
.contacts-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 32px; align-items: start; }
.contact-cards { margin-bottom: 24px; }
.contact-card h3 { margin-bottom: .3em; }
.contact-card p { margin-bottom: .2em; }
.contact-card a { font-weight: 600; }
.contact-address { display: flex; gap: 18px; align-items: flex-start; }
.contact-address .card-icon { margin: 0; flex: none; }
.contact-form { padding: 32px; position: sticky; top: 120px; }
.contact-form h2 { font-size: 1.6rem; }
.contact-form .lead-form { margin-top: 20px; }
.contact-list { display: grid; gap: 14px; margin: 22px 0 26px; }
.contact-list li { display: flex; gap: 12px; align-items: flex-start; }
.contact-list .ico { color: var(--blue); margin-top: 3px; }
.map { width: 100%; height: 360px; border: 0; border-radius: var(--radius); background: var(--blue-l); }
.map-section { padding: 0; }
.map-wide { border-radius: 0; height: 420px; display: block; }

/* ---------- Footer ---------- */
.site-footer { background: #081729; color: #a9bbd8; font-size: .93rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr .8fr 1.2fr; gap: 40px; padding: 64px 0 40px; }
.footer-about p { margin: 16px 0 18px; max-width: 34ch; }
.site-footer h3 { color: #fff; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 16px; }
.site-footer ul { display: grid; gap: 10px; }
.site-footer a { color: #a9bbd8; }
.site-footer a:hover { color: #fff; }
.footer-contacts li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contacts .ico { color: #ffb765; margin-top: 3px; width: 18px; height: 18px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 22px 0 28px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .85rem; }

/* ---------- Toasts, mobile bar, misc ---------- */
.toasts { position: fixed; top: 96px; left: 50%; transform: translateX(-50%); z-index: 300; display: grid; gap: 10px; width: min(560px, calc(100% - 32px)); }
.toast { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 14px 18px; border-radius: 14px; color: #fff; font-weight: 600; box-shadow: var(--shadow-lg); }
.toast-success { background: var(--green); }
.toast-error { background: var(--red); }
.toast-x { background: none; border: 0; color: inherit; font-size: 1.5rem; line-height: 1; cursor: pointer; }
.mobile-bar { display: none; }
.notfound { min-height: 55vh; display: grid; align-items: center; }
.big-code { font-size: clamp(5rem, 16vw, 9rem); font-weight: 800; line-height: 1; color: var(--blue); margin: 0; opacity: .9; }

.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .card-service, .dd { transition: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hide-md { display: none !important; }
}
@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);
    box-shadow: var(--shadow-lg); flex-direction: column; align-items: stretch; gap: 8px; padding: 12px 16px 20px;
    max-height: calc(100vh - 110px); overflow-y: auto; display: none;
  }
  .nav-open .nav { display: flex; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 2px; }
  .nav-list > li > a { padding: 12px 14px; }
  .dd { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 6px 14px; min-width: 0; }
  .has-dd > a .ico { display: none; }
  .nav-cta { align-self: stretch; }
  .hero { padding: 48px 0 100px; }
  .hero-grid, .split, .cta-grid, .contacts-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero-art { max-width: 440px; margin-inline: auto; }
  .split-rev .split-media { order: 0; }
  .contact-form { position: static; }
  .callout-wide { flex-direction: column; align-items: flex-start; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .section { padding: 60px 0; }
}
@media (max-width: 640px) {
  .hide-sm { display: none !important; }
  .grid-2, .grid-3, .steps { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; padding-top: 48px; }
  .hero-cta .btn { width: 100%; }
  .card { padding: 22px; }
  .cta-form, .contact-form { padding: 22px; }
  body { padding-bottom: 68px; }
  .mobile-bar {
    display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.3fr); gap: 6px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 150;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -8px 24px rgba(11, 31, 58, .1);
  }
  .mobile-bar a { display: inline-flex; align-items: center; justify-content: center; gap: 5px; padding: 11px 4px; min-width: 0; white-space: nowrap; border-radius: 12px; font-weight: 700; font-size: .9rem; background: var(--blue-l); color: var(--blue-d); }
  .mobile-bar .mb-primary { background: var(--orange); color: #1b1200; }
  .toasts { top: 120px; }
}

@media print {
  .site-header, .mobile-bar, .cta-section, .toasts { display: none !important; }
}

@media (max-width: 640px) {
  .brand img { height: 52px; }
  .brand-light img { height: 64px; }
}
