:root {
  --blue: #1c3f94;
  --blue-deep: #132c6b;
  --red: #d9001b;
  --red-dark: #b00016;
  --steel: #dfe4e9;
  --steel-dark: #c3cad2;
  --yellow: #ffe14d;
  --ink: #121c33;
  --muted: #475066;
  --line: #cfd5dc;
  --cond: 'Sofia Sans Condensed', 'Arial Narrow', sans-serif;
  --sans: 'Sofia Sans', Arial, sans-serif;
  --brushed: repeating-linear-gradient(90deg, #eef1f4 0 2px, #e4e8ec 2px 3px, #f3f5f7 3px 5px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; color: var(--ink); background: #fff; font: 400 17px/1.6 var(--sans); overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: 4px; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
h1, h2, h3 { font-family: var(--cond); font-weight: 800; line-height: 1.02; letter-spacing: -.005em; overflow-wrap: break-word; hyphens: auto; }
h1 { font-size: clamp(2.3rem, 1.4rem + 4vw, 4.4rem); }
h2 { font-size: clamp(1.8rem, 1.3rem + 2vw, 2.8rem); }
h3 { font-size: 1.3rem; line-height: 1.12; }
p { max-width: 66ch; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; background: #fff; padding: 10px 14px; }
.skip:focus { top: 12px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
[hidden] { display: none !important; }

.wrap { width: min(1200px, 100% - 32px); margin-inline: auto; }
.section { padding-block: clamp(56px, 8vw, 96px); }
.section-tight { padding-block: clamp(40px, 6vw, 64px); }
.lead { font-size: clamp(1.05rem, 1rem + .4vw, 1.22rem); line-height: 1.55; color: var(--muted); }
.muted { color: var(--muted); }

/* Header */
.site-header { background: #fff; border-bottom: 6px solid var(--red); }
.bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; min-height: 76px; padding-block: 10px; }
.brand img { height: 46px; width: auto; }
.nav-toggle { display: none; min-height: 44px; padding: 8px 16px; border: 2px solid var(--blue); background: #fff; color: var(--blue); font-family: var(--cond); font-weight: 800; font-size: 1.05rem; cursor: pointer; }
.js .nav-toggle { display: inline-flex; align-items: center; }
.site-nav { width: 100%; display: flex; flex-direction: column; }
.js .site-nav { display: none; }
.js .site-nav.is-open { display: flex; }
.site-nav a { padding: 12px 0; border-top: 1px solid var(--line); text-decoration: none; font-family: var(--cond); font-weight: 700; font-size: 1.15rem; }
.site-nav a[aria-current="page"] { color: var(--red); }
.site-nav a:hover { color: var(--blue); text-decoration: underline; }
@media (min-width: 900px) {
  .nav-toggle, .js .nav-toggle { display: none; }
  .site-nav, .js .site-nav { display: flex; flex-direction: row; width: auto; gap: 28px; }
  .site-nav a { border: 0; padding: 8px 0; }
}

/* Buttons */
.button { display: inline-flex; align-items: center; min-height: 48px; padding: 12px 22px; background: var(--red); color: #fff; border: 0; border-radius: 4px; font-family: var(--cond); font-weight: 800; font-size: 1.12rem; text-decoration: none; cursor: pointer; }
.button:hover { background: var(--red-dark); }
.button.on-blue { background: var(--yellow); color: var(--blue-deep); }
.button.on-blue:hover { background: #fff; }
.text-link { font-weight: 600; color: var(--blue); text-decoration-thickness: 2px; }
.text-link:hover { color: var(--red); }

/* Hero */
.hero { padding-block: clamp(36px, 6vw, 80px); background: linear-gradient(180deg, #f6f8fa, #fff); }
.hero-grid { display: grid; gap: 40px; align-items: center; }
.hero h1 { color: var(--blue); max-width: 12ch; }
.hero .lead { margin-top: 20px; }
.hero-call { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; margin-top: 28px; }

/* GN tray */
.tray {
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 14px; border-radius: 14px;
  background: linear-gradient(145deg, #f5f7f9, #b9c1ca 60%, #e3e7eb);
  box-shadow: inset 0 1px 0 #fff, inset 0 -2px 0 rgba(0,0,0,.12), 0 20px 34px -24px rgba(18,28,51,.55);
}
.pan {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end; gap: 4px; min-height: 128px; padding: 34px 16px 16px;
  border-radius: 10px; background: var(--brushed); text-decoration: none;
  box-shadow: inset 0 2px 6px rgba(18,28,51,.22), inset 0 0 0 1px rgba(255,255,255,.7);
  transition: box-shadow .15s;
}
.pan:hover { box-shadow: inset 0 2px 6px rgba(18,28,51,.22), inset 0 0 0 3px var(--blue); }
.pan:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; }
.pan strong { font-family: var(--cond); font-weight: 800; font-size: 1.35rem; line-height: 1.05; color: var(--blue); }
.pan span:not(.gn) { font-size: .9rem; color: var(--muted); }
.gn { position: absolute; top: 10px; left: 14px; font-family: var(--cond); font-weight: 700; font-size: .78rem; letter-spacing: .04em; color: #6a7383; border: 1px solid #a7b0bb; border-radius: 3px; padding: 0 5px; }
.pan-service { grid-column: 1 / -1; background: var(--blue); }
.pan-service strong { color: #fff; font-size: 1.7rem; }
.pan-service span:not(.gn) { color: #dfe6f7; }
.pan-service .gn { color: #cdd6ef; border-color: #6b80bd; }
.pan-sale { grid-column: 1 / -1; }

/* Service band */
.service-band { background: var(--blue); color: #fff; }
.service-head p { color: #dfe6f7; margin-top: 14px; }
.scope { list-style: none; padding: 0; margin: 36px 0 28px; display: grid; gap: 2px; background: rgba(255,255,255,.18); border: 2px solid rgba(255,255,255,.18); }
.scope li { background: var(--blue); padding: 20px; }
.scope h3 { color: var(--yellow); }
.scope p { color: #dfe6f7; margin-top: 8px; font-size: .95rem; }
.brands { font-family: var(--cond); font-weight: 700; font-size: 1.25rem; margin-bottom: 26px; max-width: 60ch; }
.brands span { display: block; font-family: var(--sans); font-weight: 400; font-size: .9rem; color: #cdd6ef; }

/* Products */
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 12px 32px; margin-bottom: 28px; }
.products { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 28px 24px; margin-top: 24px; }
.product { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.product img { width: 100%; max-width: 270px; aspect-ratio: 1; object-fit: contain; background: #fff; border: 1px solid var(--line); border-radius: 6px; }
.product h3 { font-family: var(--sans); font-weight: 600; font-size: 1rem; line-height: 1.35; }
.product .desc { font-size: .9rem; color: var(--muted); }
.price { font-family: var(--cond); font-weight: 800; font-size: 1.6rem; color: var(--red); margin-top: auto; }
.price small { font-family: var(--sans); font-weight: 400; font-size: .8rem; color: var(--muted); }
.cart-btn { align-self: start; min-height: 44px; padding: 8px 16px; background: #fff; border: 2px solid var(--blue); color: var(--blue); border-radius: 4px; font-weight: 600; cursor: pointer; }
.cart-btn:hover { background: var(--blue); color: #fff; }
.cart-status { margin-top: 24px; padding: 14px 16px; background: var(--steel); border-left: 5px solid var(--red); font-weight: 600; }
.demo-banner { margin-top: 22px; padding: 12px 16px; background: var(--steel); border-left: 5px solid var(--blue); font-weight: 600; max-width: 70ch; }

/* Contact sites */
.contact { background: var(--brushed); border-top: 1px solid var(--line); }
.sites { display: grid; gap: 20px; margin-top: 30px; }
.site { background: #fff; border-radius: 10px; padding: 26px; border-top: 6px solid var(--blue); display: grid; gap: 12px; }
.site h3 { color: var(--blue); font-size: 1.6rem; }
.phones { display: flex; flex-direction: column; font-family: var(--cond); font-weight: 800; font-size: 1.4rem; }
.phones a { text-decoration: none; }
.phones span { font-family: var(--sans); font-weight: 400; font-size: .9rem; color: var(--muted); }
.site a { overflow-wrap: anywhere; }

/* Inner pages */
.page-intro { padding-block: clamp(36px, 6vw, 72px) clamp(24px, 4vw, 40px); background: linear-gradient(180deg, #f6f8fa, #fff); }
.page-intro h1 { color: var(--blue); }
.page-intro .lead { margin-top: 18px; }
.intro-grid { display: grid; gap: 28px; align-items: end; }
.call-card { background: var(--blue); color: #dfe6f7; padding: 22px 24px; border-radius: 10px; display: grid; gap: 2px; }
.call-card a { font-family: var(--cond); font-weight: 800; font-size: 1.8rem; color: #fff; text-decoration: none; margin-bottom: 10px; }
.price-table { width: 100%; border-collapse: collapse; margin-top: 22px; }
.price-table th, .price-table td { text-align: left; padding: 14px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.price-table thead th { font-family: var(--cond); font-size: 1rem; background: var(--steel); }
.price-table tbody th { font-weight: 600; }
.price-table small { display: block; font-weight: 400; color: var(--muted); font-size: .88rem; margin-top: 4px; }
.price-table td { font-family: var(--cond); font-weight: 800; font-size: 1.3rem; color: var(--red); white-space: nowrap; text-align: right; }
.price-table thead th:last-child { text-align: right; }
.parts-grid { display: grid; gap: 22px; align-items: center; }
.parts-grid p { color: #dfe6f7; margin-top: 12px; }
.form-grid-wrap { display: grid; gap: 28px; }
.form-grid-wrap .muted { margin-top: 12px; }
.demo-form { display: grid; gap: 16px; background: var(--brushed); padding: clamp(18px, 4vw, 30px); border-radius: 10px; min-width: 0; }
.demo-form label { display: grid; gap: 6px; font-weight: 600; font-size: .95rem; }
.demo-form input, .demo-form select, .demo-form textarea { width: 100%; min-width: 0; min-height: 46px; padding: 10px 12px; border: 1px solid #76828d; border-radius: 4px; background: #fff; font-weight: 400; }
.demo-form textarea { resize: vertical; }
.form-hint { font-size: .85rem; color: var(--muted); margin-top: 10px; }
.form-status { margin-top: 12px; background: #fff; border-left: 5px solid var(--red); padding: 12px 14px; font-weight: 600; }
.cat-columns { display: grid; gap: 0 40px; margin-top: 24px; }
.cats { list-style: none; padding: 0; }
.cats li { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; border-bottom: 1px solid rgba(255,255,255,.2); }
.cats li span:last-child { font-family: var(--cond); font-weight: 800; color: var(--yellow); white-space: nowrap; }
.split { display: grid; gap: 24px; }
.split-item { padding: 26px; border-radius: 10px; background: var(--brushed); border: 1px solid var(--line); scroll-margin-top: 16px; display: grid; gap: 12px; justify-items: start; }
.split-item h3 { color: var(--blue); font-size: 1.6rem; }

/* Footer */
.site-footer { background: var(--blue-deep); color: #dfe6f7; padding-top: 52px; font-size: .95rem; }
.footer-grid { display: grid; gap: 26px; padding-bottom: 34px; }
.footer-grid p + p { margin-top: 10px; }
.footer-brand { font-family: var(--cond); font-weight: 800; font-size: 1.8rem; color: #fff; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer nav { display: flex; flex-direction: column; gap: 8px; }
.site-footer :focus-visible { outline-color: var(--yellow); }
.footer-note { border-top: 1px solid rgba(255,255,255,.2); padding-block: 18px 22px; font-size: .78rem; color: #c3cde6; }

@media (max-width: 559px) {
  .price-table thead { display: none; }
  .price-table tr { display: grid; border-bottom: 1px solid var(--line); padding: 12px 0; }
  .price-table th, .price-table td { border: 0; padding: 2px 0; text-align: left; }
}
@media (min-width: 560px) {
  .tray { grid-template-columns: repeat(6, 1fr); }
  .pan-service { grid-column: 1 / 4; grid-row: 1 / 3; }
  .pan-parts, .pan-rent { grid-column: 4 / 7; }
  .pan-shop { grid-column: 1 / 3; }
  .pan-sale { grid-column: 3 / 7; }
}
@media (min-width: 760px) {
  .wrap { width: min(1200px, 100% - 64px); }
  .scope { grid-template-columns: repeat(2, 1fr); }
  .sites { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1.4fr 1fr .7fr; }
  .cat-columns { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr 1fr; }
  .demo-form { grid-template-columns: 1fr 1fr; }
  .demo-form .wide { grid-column: 1 / -1; }
}
@media (min-width: 980px) {
  .hero-grid { grid-template-columns: 1fr 1.05fr; gap: 56px; }
  .scope { grid-template-columns: repeat(4, 1fr); }
  .intro-grid { grid-template-columns: 1.5fr .7fr; gap: 56px; }
  .parts-grid { grid-template-columns: 1.4fr .6fr; }
  .form-grid-wrap { grid-template-columns: .7fr 1.3fr; gap: 56px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
