:root {
  --blue: #1769aa;
  --blue-dark: #0d4f88;
  --blue-soft: #eaf4fb;
  --navy: #102a43;
  --ink: #1d2b38;
  --muted: #607184;
  --line: #dfe7ed;
  --surface: #ffffff;
  --surface-muted: #f5f8fa;
  --header-height: 76px;
  --radius: 18px;
  --shadow: 0 16px 40px rgba(20, 48, 72, .09);
  --container: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-height) + 18px); }
body {
  margin: 0;
  color: var(--ink);
  background: var(--surface);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button, input { font: inherit; }
p, h1, h2, h3 { margin-top: 0; }
h1, h2, h3 { color: var(--navy); line-height: 1.12; letter-spacing: -.025em; overflow-wrap: anywhere; }
h1 { margin-bottom: 20px; font-size: clamp(44px, 5.2vw, 68px); }
h2 { margin-bottom: 20px; font-size: clamp(32px, 4vw, 48px); }
h3 { margin-bottom: 12px; font-size: 22px; }
[id] { scroll-margin-top: calc(var(--header-height) + 18px); }
.container { width: min(calc(100% - 48px), var(--container)); margin-inline: auto; }
.section { padding: clamp(72px, 8vw, 112px) 0; }
.section-muted { background: var(--surface-muted); }
.section-heading { max-width: 720px; margin-bottom: 44px; }
.section-heading > p:last-child { margin-bottom: 0; color: var(--muted); font-size: 18px; }
.eyebrow { margin-bottom: 12px; color: var(--blue); font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.eyebrow-light { color: #bfe1f8; }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 1000; padding: 10px 16px; border-radius: 8px; color: white; background: var(--navy); transform: translateY(-150%); transition: transform .2s; }
.skip-link:focus { transform: translateY(0); }

.button {
  display: inline-flex;
  min-height: 48px;
  padding: 12px 22px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 11px;
  font-size: 15px;
  font-weight: 750;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: color .2s ease, background-color .2s ease, border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button:focus-visible, a:focus-visible, button:focus-visible { outline: 3px solid rgba(23, 105, 170, .28); outline-offset: 3px; }
.button-primary { color: #fff; background: var(--blue); box-shadow: 0 8px 20px rgba(23, 105, 170, .2); }
.button-primary:hover { background: var(--blue-dark); box-shadow: 0 11px 24px rgba(13, 79, 136, .25); }
.button-secondary { color: var(--navy); border-color: #b7c7d4; background: #fff; }
.button-secondary:hover { border-color: var(--blue); color: var(--blue-dark); }
.button-light { color: var(--blue-dark); background: #fff; box-shadow: 0 8px 24px rgba(7, 38, 67, .16); }
.button-light:hover { background: #eef7fd; }
.button-outline-light { color: #fff; border-color: rgba(255, 255, 255, .48); background: transparent; }
.button-outline-light:hover { border-color: #fff; background: rgba(255, 255, 255, .1); }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-height);
  border-bottom: 1px solid rgba(223, 231, 237, .85);
  background: rgba(255, 255, 255, .96);
  transition: box-shadow .2s ease, background-color .2s ease;
}
.site-header.is-scrolled { background: #fff; box-shadow: 0 7px 24px rgba(16, 42, 67, .08); }
.header-inner { display: flex; height: 100%; align-items: center; gap: 24px; }
.brand { display: inline-flex; flex: 0 0 auto; align-items: center; gap: 10px; color: var(--navy); font-size: 17px; font-weight: 800; text-decoration: none; white-space: nowrap; }
.brand img { width: 50px; height: 48px; object-fit: contain; border-radius: 8px; }
.site-nav { display: flex; margin-left: auto; align-items: center; gap: 22px; }
.site-nav > a:not(.button), .footer-nav a { color: #39536a; font-size: 14px; font-weight: 650; text-decoration: none; transition: color .2s ease; }
.site-nav > a:not(.button):hover, .footer-nav a:hover { color: var(--blue); }
.header-actions { display: flex; align-items: center; gap: 16px; }
.header-phone { color: var(--navy); font-size: 14px; font-weight: 750; text-decoration: none; white-space: nowrap; }
.header-phone:hover { color: var(--blue); }
.header-cta { min-height: 44px; padding: 10px 16px; }
.menu-toggle { display: none; width: 46px; height: 46px; padding: 11px; border: 1px solid var(--line); border-radius: 10px; background: #fff; cursor: pointer; }
.menu-toggle span { display: block; width: 100%; height: 2px; margin: 5px 0; border-radius: 2px; background: var(--navy); transition: transform .2s ease, opacity .2s ease; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-contacts { display: none; }

.hero { position: relative; padding: calc(var(--header-height) + 64px) 0 80px; background: linear-gradient(115deg, #f6fbfe 0%, #edf6fc 52%, #f8fafb 100%); overflow: hidden; }
.hero::before { content: ""; position: absolute; top: 70px; right: -140px; width: 520px; height: 520px; border: 90px solid rgba(23, 105, 170, .035); border-radius: 50%; }
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); align-items: center; gap: clamp(40px, 6vw, 76px); }
.hero-content { padding: 30px 0; }
.hero-lead { max-width: 650px; margin-bottom: 18px; color: var(--navy); font-size: clamp(23px, 2.5vw, 32px); font-weight: 700; line-height: 1.25; }
.hero-text { max-width: 610px; margin-bottom: 30px; color: var(--muted); font-size: 18px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 38px; }
.hero-facts { display: grid; max-width: 610px; margin: 0; padding: 0; grid-template-columns: repeat(3, 1fr); list-style: none; }
.hero-facts li { display: flex; min-width: 0; padding: 0 20px; flex-direction: column; border-left: 1px solid #cbd9e4; }
.hero-facts li:first-child { padding-left: 0; border-left: 0; }
.hero-facts strong { color: var(--navy); font-size: 18px; line-height: 1.3; }
.hero-facts span { color: var(--muted); font-size: 13px; line-height: 1.4; }
.hero-media { position: relative; }
.hero-media > img { width: 100%; aspect-ratio: 1.2 / 1; border-radius: 24px; object-fit: cover; object-position: center; box-shadow: var(--shadow); }
.hero-badge { position: absolute; right: -18px; bottom: 24px; display: flex; padding: 15px 18px; align-items: center; gap: 10px; border-radius: 14px; color: var(--navy); background: #fff; box-shadow: 0 16px 36px rgba(16, 42, 67, .18); font-size: 14px; font-weight: 700; line-height: 1.3; }
.hero-badge svg { width: 25px; height: 25px; padding: 4px; border-radius: 50%; color: #fff; background: var(--blue); fill: none; stroke: currentColor; stroke-width: 2.2; }

.advantages-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.advantage-card { min-height: 250px; padding: 30px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.advantage-card:hover { border-color: #c5ddeb; box-shadow: var(--shadow); transform: translateY(-4px); }
.advantage-card p { margin-bottom: 0; color: var(--muted); }
.icon-box { display: inline-flex; width: 48px; height: 48px; margin-bottom: 28px; align-items: center; justify-content: center; border-radius: 13px; color: var(--blue); background: var(--blue-soft); }
.icon-box svg { width: 25px; height: 25px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.heading-row { display: flex; max-width: none; align-items: end; justify-content: space-between; gap: 40px; }
.heading-row > div { max-width: 760px; }
.heading-row > p { max-width: 310px; }
.catalog-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.product-card { display: grid; min-width: 0; border: 1px solid var(--line); border-radius: 22px; background: #fff; overflow: hidden; box-shadow: 0 7px 24px rgba(24, 56, 80, .05); transition: transform .25s ease, box-shadow .25s ease; }
.product-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.product-image { height: 300px; background: #e8edf1; overflow: hidden; }
.product-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.product-image-contain { padding: 28px; background: #fff; }
.product-image-contain img { object-fit: contain; }
.product-card:hover .product-image img { transform: scale(1.025); }
.product-content { display: flex; min-height: 260px; padding: 30px; align-items: flex-start; flex-direction: column; }
.product-content h3 { font-size: 26px; }
.product-content p { margin-bottom: 26px; color: var(--muted); }
.product-content .button { margin-top: auto; }

.b2b-section { padding-top: 0; background: var(--surface-muted); }
.b2b-card { position: relative; display: grid; padding: clamp(38px, 5vw, 64px); grid-template-columns: minmax(0, 1.4fr) minmax(260px, .6fr); align-items: center; gap: 70px; border-radius: 26px; color: #fff; background: linear-gradient(135deg, var(--blue-dark), var(--blue)); overflow: hidden; box-shadow: 0 22px 44px rgba(13, 79, 136, .2); }
.b2b-card::after { content: ""; position: absolute; right: -120px; bottom: -180px; width: 430px; height: 430px; border: 70px solid rgba(255, 255, 255, .055); border-radius: 50%; }
.b2b-copy, .b2b-points { position: relative; z-index: 1; }
.b2b-copy h2 { max-width: 720px; color: #fff; }
.b2b-copy > p:not(.eyebrow) { max-width: 740px; margin-bottom: 28px; color: rgba(255, 255, 255, .84); font-size: 18px; }
.b2b-points { display: grid; margin: 0; padding: 0; gap: 14px; list-style: none; }
.b2b-points li { display: flex; padding: 14px 16px; align-items: center; gap: 12px; border: 1px solid rgba(255, 255, 255, .2); border-radius: 12px; background: rgba(255, 255, 255, .08); font-weight: 700; }
.b2b-points svg { width: 23px; height: 23px; flex: 0 0 auto; fill: none; stroke: #fff; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }

.about-grid { display: grid; grid-template-columns: minmax(300px, .9fr) minmax(0, 1.1fr); align-items: center; gap: clamp(44px, 7vw, 90px); }
.about-media img { width: 100%; aspect-ratio: 1 / .86; border-radius: 22px; object-fit: cover; object-position: center 57%; box-shadow: var(--shadow); }
.about-content > p:not(.eyebrow) { color: var(--muted); font-size: 17px; }
.about-note { display: flex; margin-top: 30px; padding: 22px; align-items: flex-start; gap: 18px; border: 1px solid #cfe2ef; border-radius: 16px; background: #f1f8fc; }
.about-note .icon-box { flex: 0 0 auto; margin: 0; background: #fff; }
.about-note h3 { margin-bottom: 6px; font-size: 18px; }
.about-note p { margin: 0; color: var(--muted); font-size: 15px; }

.partners-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.partner-card { display: flex; min-height: 152px; padding: 28px; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 16px; background: #fff; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.partner-card:hover { border-color: #c7dce9; box-shadow: 0 10px 28px rgba(20, 48, 72, .08); transform: translateY(-3px); }
.partner-card img { width: 100%; height: 76px; object-fit: contain; }
.partner-dark { background: #202020; }

.faq-layout { display: grid; grid-template-columns: minmax(260px, .72fr) minmax(0, 1.28fr); gap: clamp(44px, 7vw, 90px); }
.faq-heading { margin-bottom: 0; }
.faq-list { display: grid; align-content: start; gap: 14px; }
.faq-item { border: 1px solid var(--line); border-radius: 15px; background: #fff; overflow: hidden; }
.faq-item h3 { margin: 0; }
.faq-question { display: flex; width: 100%; min-height: 74px; padding: 20px 22px; align-items: center; justify-content: space-between; gap: 20px; border: 0; color: var(--navy); background: transparent; font-weight: 750; text-align: left; cursor: pointer; }
.faq-question:hover { color: var(--blue); background: #f9fbfc; }
.faq-mark { position: relative; width: 24px; height: 24px; flex: 0 0 auto; border-radius: 50%; background: var(--blue-soft); }
.faq-mark::before, .faq-mark::after { content: ""; position: absolute; top: 11px; left: 7px; width: 10px; height: 2px; border-radius: 2px; background: var(--blue); transition: transform .25s ease; }
.faq-mark::after { transform: rotate(90deg); }
.faq-question[aria-expanded="true"] .faq-mark::after { transform: rotate(0); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-answer > div { padding: 0 22px 22px; }
.faq-answer p { margin: 0; color: var(--muted); }

.contact-cta { color: #fff; background: var(--navy); }
.contact-cta-inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 60px; }
.contact-cta h2 { max-width: 780px; color: #fff; }
.contact-cta p:not(.eyebrow) { max-width: 700px; margin-bottom: 0; color: rgba(255, 255, 255, .74); font-size: 18px; }
.contact-cta-actions { display: flex; max-width: 360px; flex-direction: column; gap: 10px; }
.contacts-grid { display: grid; grid-template-columns: 1.25fr .75fr 1fr; gap: 20px; }
.contact-card { display: flex; min-height: 270px; padding: 28px; align-items: flex-start; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.contact-card .icon-box { margin-bottom: 24px; }
.contact-card h3 { font-size: 20px; }
.contact-card p { margin-bottom: 20px; color: var(--muted); }
.text-link { margin-top: auto; color: var(--blue); font-weight: 700; text-decoration: none; }
.text-link:hover { color: var(--blue-dark); text-decoration: underline; }
.contact-phone { margin-bottom: 18px; color: var(--navy); font-size: clamp(20px, 2vw, 27px); font-weight: 800; text-decoration: none; }
.contact-phone:hover { color: var(--blue); }
.social-links { display: flex; flex-wrap: wrap; gap: 9px; margin-top: auto; }
.social-links a { min-height: 42px; padding: 8px 13px; border: 1px solid #c9dae6; border-radius: 9px; color: var(--blue-dark); font-size: 14px; font-weight: 700; text-decoration: none; }
.social-links a:hover { border-color: var(--blue); background: var(--blue-soft); }

.back-to-top {
  position: fixed;
  right: clamp(16px, 2.5vw, 30px);
  bottom: clamp(16px, 2.5vw, 30px);
  z-index: 90;
  display: grid;
  width: 48px;
  height: 48px;
  padding: 0;
  place-items: center;
  border: 1px solid #c9dae6;
  border-radius: 12px;
  color: var(--blue-dark);
  background: #fff;
  box-shadow: 0 8px 24px rgba(16, 42, 67, .16);
  opacity: 0;
  visibility: hidden;
  cursor: pointer;
  transform: translateY(8px);
  pointer-events: none;
  transition: opacity .2s ease, visibility .2s ease, transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}
.back-to-top svg {
  display: block;
  width: 24px;
  height: 24px;
  fill: none !important;
  stroke: #0d4f88 !important;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.back-to-top:hover {
  border-color: var(--blue);
  background: #fff;
  box-shadow: 0 11px 28px rgba(13, 79, 136, .24);
  transform: translateY(-2px);
}
.back-to-top:active {
  background: #f3f8fc;
  box-shadow: 0 5px 14px rgba(13, 79, 136, .18);
  transform: scale(.96);
}
.back-to-top:focus-visible {
  outline: 3px solid rgba(23, 105, 170, .32);
  outline-offset: 3px;
}

.site-footer { padding: 42px 0 22px; color: #c8d6e1; background: #0a1d2c; }
.footer-main { display: flex; padding-bottom: 34px; align-items: center; justify-content: space-between; gap: 40px; }
.footer-brand { color: #fff; }
.footer-brand img {
  flex: 0 0 auto;
  background: #fff;
  filter: none;
  opacity: 1;
}
.footer-nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 12px 24px; }
.footer-nav a { color: #c8d6e1; }
.footer-bottom { display: flex; padding-top: 20px; align-items: center; justify-content: space-between; border-top: 1px solid rgba(255, 255, 255, .12); font-size: 14px; }
.footer-bottom p { margin: 0; }
.footer-bottom a { color: #fff; font-weight: 700; text-decoration: none; }

@media (max-width: 1180px) {
  .site-nav { gap: 16px; }
  .site-nav > a:not(.button) { font-size: 13px; }
  .header-phone { display: none; }
  .partners-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 1023px) {
  :root { --header-height: 70px; }
  .container { width: min(calc(100% - 40px), var(--container)); }
  .menu-toggle { display: block; margin-left: auto; order: 3; }
  .header-actions { margin-left: auto; }
  .site-nav { position: fixed; top: var(--header-height); right: 0; bottom: 0; left: 0; display: none; margin: 0; padding: 24px max(20px, calc((100vw - var(--container)) / 2)); align-items: stretch; flex-direction: column; gap: 0; background: #fff; overflow-y: auto; }
  .site-nav.is-open { display: flex; }
  .site-nav > a:not(.button) { padding: 13px 2px; border-bottom: 1px solid var(--line); color: var(--navy); font-size: 17px; }
  .mobile-contacts { display: flex; padding-top: 24px; align-items: stretch; flex-direction: column; gap: 12px; }
  .mobile-contacts > a:first-child { color: var(--navy); font-size: 21px; font-weight: 800; text-align: center; text-decoration: none; }
  .hero { padding-top: calc(var(--header-height) + 48px); }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-content { max-width: 760px; padding-bottom: 0; }
  .hero-media > img { max-height: 550px; aspect-ratio: 16 / 10; }
  .hero-badge { right: 20px; }
  .b2b-card { grid-template-columns: 1fr; gap: 32px; }
  .b2b-points { grid-template-columns: repeat(3, 1fr); }
  .about-grid { grid-template-columns: .9fr 1.1fr; gap: 38px; }
  .faq-layout { grid-template-columns: 1fr; gap: 36px; }
  .contacts-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-card:first-child { grid-column: 1 / -1; }
  .contact-cta-inner { grid-template-columns: 1fr; gap: 34px; }
  .contact-cta-actions { max-width: 720px; flex-direction: row; flex-wrap: wrap; }
}

@media (max-width: 767px) {
  .container { width: min(calc(100% - 32px), var(--container)); }
  .section { padding: 68px 0; }
  .brand span { display: none; }
  .brand img { width: 46px; height: 44px; }
  .header-actions { margin-left: auto; }
  .header-cta { min-height: 42px; padding: 9px 13px; font-size: 13px; }
  .menu-toggle { margin-left: 0; }
  .hero { padding-top: calc(var(--header-height) + 32px); padding-bottom: 64px; }
  .hero-content { padding-top: 18px; }
  .hero-text, .section-heading > p:last-child, .b2b-copy > p:not(.eyebrow), .contact-cta p:not(.eyebrow) { font-size: 16px; }
  .hero-actions .button { flex: 1 1 220px; }
  .hero-facts { gap: 0; }
  .hero-facts li { padding: 0 12px; }
  .hero-facts strong { font-size: 16px; }
  .hero-facts span { font-size: 12px; }
  .hero-media > img { aspect-ratio: 1.2 / 1; border-radius: 18px; }
  .hero-badge { right: 12px; bottom: 12px; }
  .section-heading { margin-bottom: 32px; }
  .advantages-grid, .catalog-grid { grid-template-columns: 1fr; }
  .advantage-card { min-height: 0; }
  .heading-row { display: block; }
  .heading-row > p { max-width: none; }
  .product-image { height: 250px; }
  .product-content { min-height: 0; }
  .b2b-card { width: calc(100% - 32px); padding: 32px 24px; border-radius: 20px; }
  .b2b-points { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .about-media img { max-height: 480px; }
  .partners-grid { grid-template-columns: repeat(2, 1fr); }
  .partner-card { min-height: 118px; padding: 20px; }
  .partner-card img { height: 60px; }
  .contacts-grid { grid-template-columns: 1fr; }
  .contact-card:first-child { grid-column: auto; }
  .contact-card { min-height: 0; }
  .contact-cta-actions { flex-direction: column; }
  .footer-main { align-items: flex-start; flex-direction: column; }
  .footer-brand span { display: inline; }
  .footer-nav { justify-content: flex-start; }
}

@media (max-width: 479px) {
  .header-inner { gap: 10px; }
  .header-cta { display: none; }
  .header-actions { display: none; }
  .menu-toggle { margin-left: auto; }
  h1 { font-size: 42px; }
  h2 { font-size: 31px; }
  .hero-lead { font-size: 22px; }
  .hero-facts { grid-template-columns: 1fr; gap: 13px; }
  .hero-facts li, .hero-facts li:first-child { padding: 0; border: 0; flex-direction: row; align-items: baseline; gap: 8px; }
  .hero-media { margin-top: 6px; }
  .hero-badge { position: static; margin: -26px 12px 0; transform: translateY(0); }
  .product-image { height: 215px; }
  .product-content, .advantage-card, .contact-card { padding: 24px; }
  .product-content h3 { font-size: 23px; }
  .product-content .button { width: 100%; }
  .about-note { padding: 18px; flex-direction: column; }
  .partners-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .partner-card { min-height: 100px; padding: 15px; }
  .partner-card img { height: 50px; }
  .faq-question { min-height: 68px; padding: 18px; }
  .faq-answer > div { padding: 0 18px 18px; }
  .footer-nav { display: grid; grid-template-columns: repeat(2, 1fr); width: 100%; }
  .footer-bottom { align-items: flex-start; flex-direction: column; gap: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
