﻿@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,600,700,800&subset=latin,cyrillic&display=swap');

:root {
  --blue: #155e93;
  --blue-dark: #0d4c79;
  --blue-deep: #004b77;
  --text: #15345a;
  --muted: #61748d;
  --line: #dbe5f0;
  --soft: #f4f8fc;
  --white: #ffffff;
  --shadow: 0 8px 22px rgba(19, 58, 98, .08);
  --radius: 6px;
  --container: 1360px;
  --gap: 24px;
  font-family: "Open Sans", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { min-width: 320px; }
body {
  margin: 0;
  color: var(--text);
  background: var(--white);
  font-size: 14px;
  line-height: 1.45;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
button { font: inherit; }
:focus-visible {
  outline: 2px solid #7db9e8;
  outline-offset: 3px;
}

.page-shell {
  width: min(var(--container), calc(100% - 32px));
  margin-inline: auto;
}

.site-header { background: var(--white); }
.topbar {
  min-height: 118px;
  display: grid;
  grid-template-columns: 210px minmax(360px, 1.35fr) minmax(250px, 1fr) auto auto auto;
  align-items: center;
  gap: 24px;
  padding-block: 12px 16px;
}
.brand {
  display: grid;
  justify-items: center;
  gap: 6px;
  color: #7a5c48;
  font-size: 14px;
  line-height: 1.2;
  text-align: center;
}
.brand img { width: 170px; }
.contact-grid,
.worktime,
.footer-contacts {
  display: grid;
  gap: 5px;
  color: #1d416a;
  font-size: 13px;
  font-weight: 600;
}
.contact-grid span,
.contact-grid a,
.worktime span,
.worktime a,
.footer-contacts a {
  min-height: 18px;
  padding-left: 24px;
  background-repeat: no-repeat;
  background-position: left center;
  background-size: 16px 16px;
}
.contact-grid span { background-image: url("../image/assets/site/icon-dot.png"); }
.contact-grid a,
.footer-contacts a { background-image: url("../image/assets/site/icon-phone.png"); }
.worktime span { background-image: url("../image/assets/site/icon-time.png"); }
.worktime a { background-image: url("../image/assets/site/icon-mail.png"); }
.cart {
  min-height: 40px;
  padding: 0 16px;
  color: var(--blue);
  font-weight: 800;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid #c6dced;
  border-radius: var(--radius);
  background: #f6fbff;
  box-shadow: 0 3px 10px rgba(21, 94, 147, .08);
  transition: background .18s ease, border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.cart img { width: 18px; height: 18px; object-fit: contain; }
.cart:hover,
.cart:focus-visible {
  color: var(--white);
  background: var(--blue);
  border-color: var(--blue);
  box-shadow: 0 8px 18px rgba(21, 94, 147, .22);
  text-decoration: none;
  transform: translateY(-1px);
}
.cart:hover img,
.cart:focus-visible img {
  filter: brightness(0) invert(1);
}
.contact-grid a:hover,
.worktime a:hover,
.footer-contacts a:hover {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.main-nav {
  background: linear-gradient(to bottom, #0071b3 1%, #015e99 99%);
  color: var(--white);
  box-shadow: none;
}
.nav-inner {
  min-height: 40px;
  display: flex;
  justify-content: center;
  gap: 62px;
  align-items: center;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  position: relative;
}
.nav-inner > a,
.nav-item > a {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  padding: 0 18px;
}
.nav-inner > a:hover,
.nav-inner > a:focus-visible,
.nav-item:hover > a,
.nav-item:focus-within > a {
  background: var(--white);
  color: var(--blue);
  text-decoration: none;
}
.nav-item { position: relative; }
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 30;
  width: 520px;
  padding: 12px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px;
  background: var(--white);
  border: 1px solid var(--blue);
  box-shadow: 5px 5px 12px rgba(0,0,0,.22);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
}
.dropdown-menu a {
  padding: 9px 10px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 700;
  text-transform: none;
}
.dropdown-menu a:hover,
.dropdown-menu a:focus-visible {
  background: var(--blue);
  color: var(--white);
}
.has-dropdown:hover .dropdown-menu,
.has-dropdown:focus-within .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.btn {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 3px;
  background: transparent;
  color: inherit;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.btn:hover,
.btn:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(21, 94, 147, .2);
}
.btn:active {
  transform: translateY(0);
  box-shadow: 0 4px 10px rgba(21, 94, 147, .16);
}
.btn-primary,
.btn-small {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
}
.btn-primary:hover,
.btn-primary:focus-visible,
.btn-small:hover,
.btn-small:focus-visible {
  background: var(--blue-dark);
  border-color: var(--blue-dark);
  color: var(--white);
}
.btn-outline {
  color: var(--blue);
  border-color: var(--blue);
  background: var(--white);
}
.btn-outline:hover,
.btn-outline:focus-visible,
.btn-outline-blue:hover,
.btn-outline-blue:focus-visible {
  background: var(--blue);
  border-color: var(--blue);
  color: var(--white);
}
.btn-ghost {
  color: var(--white);
  border-color: rgba(255,255,255,.78);
}
.btn-ghost:hover,
.btn-ghost:focus-visible {
  background: var(--white);
  border-color: var(--white);
  color: var(--blue);
}
.btn-outline-blue {
  color: var(--blue);
  border-color: var(--blue);
  min-width: 250px;
}
.btn-small {
  min-height: 31px;
  padding: 0 18px;
  font-size: 11px;
}
.menu-toggle { display: none; }

.hero {
  display: block;
  margin-top: 0;
}
.hero-wide {
  width: 100%;
  max-width: none;
  margin-inline: 0;
}
.hero-main {
  min-height: clamp(430px, 49vw, 640px);
  position: relative;
  overflow: hidden;
  background: #e8eef4;
}
.hero-main > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  opacity: 1;
  transition: opacity .35s ease;
}
.hero-main::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(4, 14, 26, .62) 0%, rgba(4, 14, 26, .48) 42%, rgba(4, 14, 26, .22) 68%, rgba(4, 14, 26, .12) 100%),
    linear-gradient(180deg, rgba(4, 14, 26, .16) 0%, rgba(4, 14, 26, .08) 45%, rgba(4, 14, 26, .22) 100%);
  pointer-events: none;
}
.hero-content {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: min(var(--container), calc(100% - 32px));
  margin-inline: auto;
  transform: translateX(-50%);
  padding: 76px 0 28px;
  color: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: center;
  z-index: 2;
}
.hero h1 {
  max-width: 590px;
  margin: 0 0 15px;
  font-size: clamp(28px, 2.5vw, 38px);
  line-height: 1.08;
  font-weight: 800;
  text-shadow: 0 3px 12px rgba(0, 0, 0, .86);
  overflow-wrap: anywhere;
}
.hero p {
  max-width: 620px;
  margin: 0 0 34px;
  font-size: 17px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, .82);
  overflow-wrap: anywhere;
}
.hero-benefits {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  padding: 0;
  margin: 0 0 32px;
  list-style: none;
  max-width: 830px;
}
.hero-benefits li {
  min-height: 45px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 700;
  text-shadow: 0 2px 7px rgba(0,0,0,.7);
}
.benefit-icon {
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  border: 2px solid rgba(255,255,255,.75);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--white);
  background: rgba(0, 70, 120, .18);
}
.benefit-icon svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.hero-actions { display: flex; gap: 26px; flex-wrap: wrap; }
.slider-dots {
  position: absolute;
  left: 50%;
  bottom: 16px;
  translate: -50% 0;
  display: flex;
  gap: 10px;
  z-index: 2;
}
.slider-dots button {
  width: 8px;
  height: 8px;
  padding: 0;
  border-radius: 50%;
  border: 1px solid var(--white);
  background: transparent;
  cursor: pointer;
}
.slider-dots button.is-active { background: var(--white); }
.content-row {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 26px;
  padding-top: 24px;
}
.catalog-menu {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: visible;
  align-self: start;
  position: relative;
  z-index: 25;
  background: var(--white);
}
.catalog-menu h2 {
  margin: 0;
  padding: 14px 18px;
  background: var(--blue);
  color: var(--white);
  font-size: 14px;
}
.catalog-menu a {
  display: block;
  padding: 10px 18px;
  color: #25466c;
  font-size: 13px;
  font-weight: 600;
}
.catalog-menu a,
.section-head a,
.category-grid a,
.image-strip a,
.news-grid a,
.footer-bottom a {
  transition: color .18s ease, background .18s ease, border-color .18s ease, box-shadow .18s ease, transform .18s ease, opacity .18s ease;
}
.catalog-menu a:hover,
.catalog-menu a:focus-visible {
  background: var(--blue);
  color: var(--white);
}
.catalog-menu-list {
  position: relative;
  background: var(--white);
  border-radius: 0 0 var(--radius) var(--radius);
}
.catalog-menu-item {
  position: relative;
}
.catalog-menu-item > a {
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.catalog-menu-item.has-submenu > a::after {
  content: "";
  width: 7px;
  height: 7px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
  opacity: .55;
  flex: 0 0 auto;
}
.catalog-submenu {
  position: absolute;
  left: calc(100% + 10px);
  top: -8px;
  width: 286px;
  max-height: min(520px, calc(100vh - 130px));
  overflow: auto;
  padding: 10px;
  display: grid;
  gap: 3px;
  background: #fff;
  border: 1px solid #d6e4ee;
  border-radius: var(--radius);
  box-shadow: 0 18px 48px rgba(21, 94, 147, .18);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(-8px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
  z-index: 80;
}
.catalog-submenu::before {
  content: "";
  position: absolute;
  left: -10px;
  top: 20px;
  width: 10px;
  height: 24px;
}
.catalog-submenu a {
  min-height: 34px;
  padding: 8px 10px;
  border-radius: 6px;
  color: #244263;
  font-size: 12px;
  line-height: 1.25;
  font-weight: 600;
}
.catalog-menu-item:hover > .catalog-submenu,
.catalog-menu-item:focus-within > .catalog-submenu,
.catalog-menu-item.is-open > .catalog-submenu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(0);
}
.catalog-menu-item:hover > a,
.catalog-menu-item:focus-within > a,
.catalog-menu-item.is-open > a {
  background: var(--blue);
  color: var(--white);
}
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin: 0 0 15px;
}
h2 {
  margin: 0 0 18px;
  color: #123d70;
  font-size: 24px;
  line-height: 1.2;
}
.section-head h2 { margin: 0; }
.section-head a {
  color: var(--blue);
  font-weight: 800;
  font-size: 13px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
}
.product-card {
  min-height: 300px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 14px 16px;
  display: grid;
  grid-template-rows: 112px 1fr auto auto;
  gap: 10px;
  background: var(--white);
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.product-card img {
  width: 100%;
  height: 116px;
  object-fit: contain;
  margin: auto;
  border-radius: 4px;
  transition: transform .18s ease;
}
.product-card h3 {
  margin: 0;
  color: #244263;
  font-size: 13px;
  line-height: 1.3;
  font-weight: 600;
}
.product-card strong {
  color: #111f31;
  font-size: 16px;
}
.title-line {
  margin-top: 28px;
  padding-left: 14px;
  border-left: 4px solid var(--blue);
}
.category-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.category-grid a {
  min-height: 174px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 14px 16px;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 14px;
  text-align: center;
  color: #1d3e66;
  font-size: 14px;
  font-weight: 600;
  background: var(--white);
}
.category-grid img {
  width: 100%;
  height: 108px;
  object-fit: contain;
  border-radius: 4px;
  transition: transform .18s ease;
}
.category-grid a:hover,
.product-card:hover,
.news-grid article:hover {
  border-color: #a9c9e6;
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}
.category-grid a:hover img,
.category-grid a:focus-visible img,
.product-card:hover img,
.product-card:focus-within img {
  transform: scale(1.03);
}
.center { text-align: center; margin-top: 24px; }

.why,
.applications,
.clients,
.faq,
.visit,
.news { padding-top: 44px; }
.benefit-grid,
.news-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
}
.benefit-grid article {
  min-height: 136px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 14px;
  text-align: center;
  background: var(--white);
}
.why-icon {
  color: var(--blue);
  width: 34px;
  height: 34px;
  margin: 0 auto 12px;
  display: grid;
  place-items: center;
}
.why-icon svg {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.benefit-grid h3,
.news-grid h3,
.client-grid h3 {
  margin: 10px 0 7px;
  color: #153d68;
  font-size: 14px;
  line-height: 1.25;
}
.benefit-grid p,
.news-grid p,
.client-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.logistics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  padding-top: 42px;
}
.info-panel {
  min-height: 196px;
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(120px, .8fr);
  gap: 18px;
  align-items: center;
  padding: 24px 28px;
  border-radius: var(--radius);
  background: linear-gradient(90deg, #f4f8fd 0%, #fff 100%);
  border: 1px solid #edf2f7;
}
.info-panel ul {
  margin: 0 0 18px;
  padding-left: 18px;
  color: #31506f;
  font-size: 13px;
}
.info-illustration {
  width: 88px;
  height: 88px;
  justify-self: end;
  display: grid;
  place-items: center;
  color: var(--blue);
}
.info-illustration img {
  width: 76px;
  height: 76px;
  object-fit: contain;
  filter: invert(28%) sepia(80%) saturate(1048%) hue-rotate(174deg) brightness(88%) contrast(92%);
}

.image-strip {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}
.image-strip a {
  display: grid;
  gap: 10px;
  color: #1d416a;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
}
.image-strip img {
  width: 100%;
  aspect-ratio: 1.8 / 1;
  object-fit: cover;
  border-radius: var(--radius);
  transition: opacity .18s ease, transform .18s ease;
}
.image-strip a:hover,
.image-strip a:focus-visible,
.section-head a:hover,
.section-head a:focus-visible,
.footer-bottom a:hover,
.footer-bottom a:focus-visible,
.news-grid a:hover,
.news-grid a:focus-visible {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.image-strip a:hover img,
.image-strip a:focus-visible img {
  opacity: .86;
  transform: translateY(-2px);
}

.client-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.client-grid article {
  min-height: 120px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 28px 22px 96px;
  background: linear-gradient(90deg, #f7fbff, #fff);
  position: relative;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.client-grid article:hover {
  border-color: #a9c9e6;
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}
.client-icon {
  position: absolute;
  left: 30px;
  top: 28px;
  width: 44px;
  height: 44px;
  border: 2px solid var(--blue);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--blue);
  background: #f7fbff;
}
.client-icon svg {
  width: 24px;
  height: 24px;
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.mini-benefits {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
  margin-top: 12px;
}
.mini-benefits span {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 13px 10px;
  text-align: center;
  color: #1e416a;
  font-size: 12px;
  font-weight: 800;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.mini-benefits span:hover {
  background: var(--blue);
  border-color: var(--blue);
  color: var(--white);
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 22px;
}
details {
  border-radius: var(--radius);
  background: var(--soft);
  color: #1c416b;
  position: relative;
  transition: background .18s ease, box-shadow .18s ease;
}
summary {
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 48px 0 18px;
  font-weight: 800;
  cursor: pointer;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: "⌄";
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 18px;
  line-height: 1;
}
details[open] summary::after {
  transform: translateY(-50%) rotate(180deg);
}
details p { margin: 0; padding: 0 18px 16px; color: var(--muted); }
details:hover,
details:focus-within {
  background: #eaf4fc;
  box-shadow: 0 5px 16px rgba(21, 94, 147, .08);
}
summary:hover { color: var(--blue); }

.visit-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, .9fr);
  gap: 22px;
  align-items: stretch;
  padding: 28px;
  border: 1px solid #d8e5f0;
  border-radius: var(--radius);
  background: linear-gradient(100deg, #f4f9fd 0%, #fff 62%);
}
.visit-copy h2 { margin-top: 0; }
.visit-copy p {
  max-width: 760px;
  margin: 0 0 18px;
  color: #31506f;
  font-size: 16px;
  line-height: 1.55;
}
.visit-copy ul {
  margin: 0 0 22px;
  padding-left: 19px;
  color: #244263;
  line-height: 1.65;
}
.visit-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.visit-map {
  min-height: 260px;
  overflow: hidden;
  border: 1px solid #cfe0ee;
  border-radius: var(--radius);
  background: #eaf1f7;
}
.visit-map iframe {
  width: 100%;
  height: 100%;
  min-height: 260px;
  display: block;
  border: 0;
}
.visit-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 14px;
}
.visit-gallery a {
  min-height: 230px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #eef4f9;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.visit-gallery img {
  width: 100%;
  height: 100%;
  aspect-ratio: 1.55 / 1;
  object-fit: cover;
  transition: transform .22s ease;
}
.visit-gallery a:hover,
.visit-gallery a:focus-visible {
  border-color: #a9c9e6;
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}
.visit-gallery a:hover img,
.visit-gallery a:focus-visible img {
  transform: scale(1.04);
}

.news { padding-bottom: 44px; }
.news-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 26px; }
.news-grid article {
  min-height: 190px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
}
.news-grid time {
  color: #8b9caf;
  font-size: 12px;
}
.news-grid a {
  display: inline-block;
  margin-top: 18px;
  color: var(--blue);
  font-weight: 800;
}

.modal-open { overflow: hidden; }
.gallery-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr) 76px;
  align-items: center;
  gap: 16px;
  padding: 28px;
  background: rgba(5, 18, 32, .86);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .18s ease, visibility .18s ease;
}
.gallery-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.gallery-modal figure {
  margin: 0;
  display: grid;
  gap: 12px;
  justify-items: center;
}
.gallery-modal img {
  max-width: min(100%, 1200px);
  max-height: calc(100vh - 120px);
  width: auto;
  height: auto;
  border-radius: var(--radius);
  box-shadow: 0 18px 50px rgba(0,0,0,.35);
}
.gallery-modal figcaption {
  color: var(--white);
  font-size: 14px;
  text-align: center;
}
.gallery-close,
.gallery-prev,
.gallery-next {
  border: 1px solid rgba(255,255,255,.55);
  border-radius: 50%;
  color: var(--white);
  background: rgba(255,255,255,.12);
  cursor: pointer;
  transition: background .18s ease, transform .18s ease;
}
.gallery-close:hover,
.gallery-close:focus-visible,
.gallery-prev:hover,
.gallery-prev:focus-visible,
.gallery-next:hover,
.gallery-next:focus-visible {
  background: var(--blue);
  transform: translateY(-1px);
}
.gallery-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
  font-size: 30px;
  line-height: 1;
}
.gallery-prev,
.gallery-next {
  width: 56px;
  height: 56px;
  justify-self: center;
  font-size: 42px;
  line-height: 1;
}

.site-footer {
  background: var(--blue);
  color: var(--white);
  margin: 0 8px 8px;
}
.footer-main {
  min-height: 132px;
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr auto;
  gap: 35px;
  align-items: center;
  border-bottom: 1px solid rgba(255,255,255,.18);
}
.footer-main img { width: 160px; margin-bottom: 12px; }
.footer-main p { margin: 0; color: rgba(255,255,255,.82); }
.footer-contacts { color: var(--white); font-size: 16px; }
.footer-contacts a::before { color: rgba(255,255,255,.85); }
.site-footer .footer-contacts a:hover,
.site-footer .footer-contacts a:focus-visible {
  color: var(--white);
  text-decoration-color: rgba(255,255,255,.9);
}
.btn-footer {
  min-width: 260px;
  color: var(--white);
  border-color: rgba(255,255,255,.78);
  background: transparent;
}
.btn-footer:hover,
.btn-footer:focus-visible {
  background: var(--white);
  border-color: var(--white);
  color: var(--blue);
  box-shadow: 0 10px 24px rgba(0,0,0,.18);
}
.footer-bottom {
  min-height: 62px;
  display: flex;
  align-items: center;
  gap: 42px;
  color: rgba(255,255,255,.9);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}
.footer-bottom a:nth-last-child(-n+2) {
  margin-left: auto;
  text-transform: none;
  font-weight: 500;
}
.footer-bottom a:last-child { margin-left: 0; }
.site-footer .footer-bottom a:hover,
.site-footer .footer-bottom a:focus-visible {
  color: var(--white);
  background: rgba(255,255,255,.1);
  text-decoration: none;
}

.kovka-callback {
  width: 390px;
  max-width: calc(100vw - 36px);
  padding: 26px;
  color: var(--text);
  background: #fff;
  border-radius: var(--radius);
}
.callback-heading {
  margin-bottom: 18px;
  color: var(--text);
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.15;
}
.kovka-callback input[type="text"],
.kovka-callback input:not([type]) {
  width: 100%;
  height: 48px;
  margin-bottom: 12px;
  padding: 0 14px;
  border: 1px solid #d7d1c8;
  border-radius: 6px;
  color: var(--text);
  font: inherit;
  background: #fff;
}
.kovka-callback input:focus {
  outline: 2px solid rgba(164, 45, 30, .24);
  border-color: var(--red);
}
.callback-agree {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 10px;
  align-items: flex-start;
  margin: 4px 0 18px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}
.callback-agree input {
  width: 16px;
  height: 16px;
  margin-top: 1px;
}
.callback-agree a {
  color: var(--red);
}
#answer {
  min-height: 18px;
  margin-top: 12px;
  color: var(--red);
  font-size: 13px;
}

@media (max-width: 1200px) {
  .topbar {
    grid-template-columns: 180px 1fr 1fr auto;
  }
  .cart { display: none; }
  .nav-inner { gap: 18px; }
  .product-grid,
  .category-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .benefit-grid,
  .image-strip,
  .mini-benefits { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 1024px) {
  .topbar {
    min-height: auto;
    padding-block: 16px;
    grid-template-columns: 170px 1fr auto;
  }
  .worktime { display: none; }
  .content-row { grid-template-columns: 1fr; }
  .catalog-menu {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .catalog-menu h2 { grid-column: 1 / -1; }
  .footer-main { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-bottom { flex-wrap: wrap; gap: 18px 30px; padding-block: 18px; }
  .footer-bottom a:nth-last-child(-n+2) { margin-left: 0; }
  .visit-main { grid-template-columns: 1fr; }
  .visit-gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 768px) {
  .page-shell { width: min(100% - 24px, var(--container)); }
  .topbar {
    grid-template-columns: 1fr auto auto;
    gap: 12px;
  }
  .brand img { width: 140px; }
  .contact-grid { grid-column: 1 / -1; grid-row: 2; font-size: 12px; }
  .topbar > .btn { display: none; }
  .menu-toggle {
    width: 42px;
    height: 38px;
    display: grid;
    align-content: center;
    gap: 5px;
    border: 1px solid var(--blue);
    border-radius: 3px;
    background: var(--white);
    transition: background .18s ease, border-color .18s ease, box-shadow .18s ease;
  }
  .menu-toggle span {
    width: 20px;
    height: 2px;
    margin-inline: auto;
    background: var(--blue);
    transition: background .18s ease, transform .18s ease;
  }
  .menu-toggle:hover,
  .menu-toggle:focus-visible {
    background: #eaf4fc;
    border-color: var(--blue-dark);
    box-shadow: 0 5px 14px rgba(21, 94, 147, .18);
  }
  .menu-toggle[aria-expanded="true"] {
    background: var(--blue);
    border-color: var(--blue);
  }
  .menu-toggle[aria-expanded="true"] span {
    background: var(--white);
  }
  .main-nav { display: none; }
  .main-nav.is-open { display: block; }
  .nav-inner {
    min-height: auto;
    padding: 12px 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .nav-inner > a,
  .nav-item > a {
    width: 100%;
    padding: 12px 4px;
    border-bottom: 1px solid rgba(255,255,255,.15);
  }
  .dropdown-menu {
    position: static;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
    box-shadow: none;
    border: 0;
    background: transparent;
    opacity: 1;
    visibility: visible;
    transform: none;
    padding: 0;
  }
  .dropdown-menu a {
    padding: 10px 18px;
    background: rgba(255,255,255,.08);
    color: var(--white);
    border-bottom: 1px solid rgba(255,255,255,.12);
  }
  .dropdown-menu a:hover,
  .dropdown-menu a:focus-visible {
    background: rgba(255,255,255,.18);
    color: var(--white);
  }
  .hero-main { min-height: 520px; }
  .hero-content { padding: 36px 20px 28px; justify-content: center; }
  .hero p { font-size: 15px; }
  .hero-benefits { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .hero-actions {
    width: 100%;
    gap: 14px;
    margin-bottom: 34px;
  }
  .hero-actions .btn { width: 100%; }
  .slider-dots { bottom: 18px; }
  .catalog-menu { display: none; }
  .product-grid,
  .category-grid,
  .benefit-grid,
  .image-strip,
  .mini-benefits,
  .news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .logistics,
  .client-grid,
  .faq-grid { grid-template-columns: 1fr; }
  .info-panel { grid-template-columns: 1fr; }
  .info-illustration { justify-self: center; }
  .footer-main { grid-template-columns: 1fr; padding-block: 28px; gap: 20px; }
  .visit-main { padding: 22px; }
  .visit-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .visit-gallery a { min-height: 210px; }
  .gallery-modal {
    grid-template-columns: 54px minmax(0, 1fr) 54px;
    gap: 8px;
    padding: 18px 10px;
  }
  .gallery-prev,
  .gallery-next {
    width: 44px;
    height: 44px;
    font-size: 34px;
  }
  .footer-bottom {
    align-items: stretch;
    gap: 10px;
  }
  .footer-bottom a {
    display: block;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255,255,255,.12);
  }
}

@media (max-width: 520px) {
  body { font-size: 13px; }
  h2 { font-size: 21px; }
  .page-shell { width: min(100% - 20px, var(--container)); }
  .topbar { grid-template-columns: 1fr auto; }
  .cart { display: none; }
  .contact-grid { grid-template-columns: 1fr; }
  .hero-main { min-height: 590px; }
  .hero-content {
    width: calc(100% - 28px);
    padding-top: 24px;
    padding-bottom: 24px;
  }
  .hero h1 {
    max-width: 330px;
    font-size: 24px;
    line-height: 1.12;
  }
  .hero p {
    max-width: 330px;
    font-size: 14px;
    line-height: 1.45;
  }
  .hero-benefits li {
    font-size: 12px;
  }
  .hero-benefits,
  .product-grid,
  .benefit-grid,
  .mini-benefits,
  .news-grid { grid-template-columns: 1fr; }
  .category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .category-grid {
    gap: 8px;
  }
  .image-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .applications .image-strip {
    gap: 14px 10px;
  }
  .applications .image-strip a {
    gap: 8px;
    font-size: 12px;
    line-height: 1.25;
  }
  .applications .image-strip img {
    aspect-ratio: 1.25 / 1;
    object-fit: contain;
    background: #f7fbff;
    border: 1px solid #d8e7f3;
    padding: 4px;
  }
  .product-card { min-height: 260px; }
  .category-grid a {
    min-width: 0;
    min-height: 136px;
    padding: 10px 8px 12px;
    font-size: 11px;
    line-height: 1.25;
    overflow-wrap: anywhere;
  }
  .category-grid img {
    height: 78px;
    max-width: 100%;
    object-fit: contain;
  }
  .client-grid article { padding: 82px 18px 20px; }
  .client-icon { top: 22px; left: 18px; }
  .footer-contacts { font-size: 14px; }
  .btn-footer { min-width: 100%; }
  .visit-main { padding: 18px; }
  .visit-actions .btn { width: 100%; min-width: 0; }
  .visit-gallery { grid-template-columns: 1fr; }
  .visit-gallery a { min-height: 250px; }
  .gallery-modal {
    grid-template-columns: 1fr 1fr;
    align-content: center;
  }
  .gallery-modal figure {
    grid-column: 1 / -1;
    order: -1;
  }
  .gallery-prev { justify-self: end; }
  .gallery-next { justify-self: start; }
}

/* OpenCart 1.5 cart module inside kovka header */
.site-header #cart { min-height:40px; position:relative; z-index:40; }
.site-header #cart .heading { min-height:40px; padding:0 16px; color:var(--blue); font-weight:800; white-space:nowrap; display:inline-flex; align-items:center; gap:8px; border:1px solid #c6dced; border-radius:var(--radius); background:#f6fbff; box-shadow:0 3px 10px rgba(21,94,147,.08); transition:background .18s ease,border-color .18s ease,box-shadow .18s ease,transform .18s ease; }
.site-header #cart .heading:hover { color:#fff; background:var(--blue); border-color:var(--blue); box-shadow:0 8px 18px rgba(21,94,147,.22); transform:translateY(-1px); }
.site-header #cart .heading img { width:18px; height:18px; object-fit:contain; }
.site-header #cart .heading:hover img { filter:brightness(0) invert(1); }
.site-header #cart .heading h4 { display:none; }
.site-header #cart .heading a { color:inherit; }
.site-header #cart .content { display:none; position:absolute; right:0; top:calc(100% + 8px); width:330px; padding:14px; background:#fff; border:1px solid var(--line); box-shadow:var(--shadow); color:var(--text); }
.site-header #cart:not(.cart-open):hover .content { display:none; }
.site-header #cart {
  z-index: 90;
}
.site-header #cart .heading {
  cursor: pointer;
}
.site-header #cart .content {
  display: block;
  top: calc(100% + 12px);
  width: 410px;
  max-width: min(410px, calc(100vw - 28px));
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-8px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
}
.site-header #cart.cart-open .content {
  display: block !important;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}
.mini-cart-panel {
  position: relative;
  padding: 14px;
  color: #183656;
  background: #fff;
  border: 1px solid #d6e4ee;
  border-radius: var(--radius);
  box-shadow: 0 18px 46px rgba(21, 94, 147, .2);
}
.mini-cart-panel::before {
  content: "";
  position: absolute;
  top: -7px;
  right: 42px;
  width: 14px;
  height: 14px;
  background: #fff;
  border-left: 1px solid #d6e4ee;
  border-top: 1px solid #d6e4ee;
  transform: rotate(45deg);
}
.mini-cart-head {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 10px;
  margin-bottom: 8px;
  border-bottom: 1px solid #e6eef5;
  font-weight: 800;
}
.mini-cart-head a {
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
}
.mini-cart-info {
  display: grid;
  gap: 8px;
  max-height: 304px;
  overflow: auto;
  padding-right: 2px;
}
.mini-cart-item {
  position: relative;
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) auto 24px;
  gap: 10px;
  align-items: center;
  min-height: 66px;
  padding: 8px;
  background: #f7fbfe;
  border: 1px solid #e1edf6;
  border-radius: 7px;
}
.mini-cart-image {
  width: 54px;
  height: 50px;
  display: grid;
  place-items: center;
  background: #fff;
  border: 1px solid #e1edf6;
  border-radius: 6px;
  overflow: hidden;
}
.mini-cart-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.mini-cart-name a,
.mini-cart-name {
  color: #183656;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.25;
}
.mini-cart-options {
  margin-top: 3px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 500;
}
.mini-cart-meta {
  min-width: 68px;
  display: grid;
  gap: 2px;
  text-align: right;
  white-space: nowrap;
}
.mini-cart-meta span {
  color: #6b7d8e;
  font-size: 12px;
}
.mini-cart-meta strong {
  color: #102944;
  font-size: 13px;
}
.mini-cart-remove {
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: #557189;
  background: transparent;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
}
.mini-cart-remove:hover,
.mini-cart-remove:focus-visible {
  color: #fff;
  background: var(--red);
}
.mini-cart-total {
  display: grid;
  gap: 6px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid #e6eef5;
}
.mini-cart-total-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: #314d68;
  font-size: 13px;
}
.mini-cart-total-row:last-child {
  color: #102944;
  font-size: 15px;
}
.mini-cart-total-row:last-child strong {
  color: var(--blue);
}
.site-header #cart .checkout {
  margin-top: 12px;
}
.site-header #cart .checkout a {
  min-height: 40px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--blue);
  border-radius: 6px;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
}
.site-header #cart .checkout a:hover,
.site-header #cart .checkout a:focus-visible {
  background: var(--red);
  text-decoration: none;
}
.site-header #cart .empty {
  padding: 22px 12px;
  color: #60717f;
  text-align: center;
  font-weight: 700;
}

@media (max-width: 1024px) {
  .catalog-menu {
    overflow: hidden;
  }
  .catalog-menu-list {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .catalog-submenu {
    position: static;
    width: auto;
    max-height: none;
    margin: 0 8px 8px;
    box-shadow: none;
    transform: none;
    display: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
  .catalog-menu-item.is-open > .catalog-submenu,
  .catalog-menu-item:hover > .catalog-submenu {
    display: grid;
  }
}

@media (max-width: 768px) {
  .site-header #cart .content {
    right: 0;
    width: calc(100vw - 24px);
    max-width: calc(100vw - 24px);
  }
  .mini-cart-panel {
    width: 100%;
    max-width: 100%;
  }
  .gallery-modal {
    width: 100vw;
    max-width: 100vw;
  }
  .gallery-modal figure {
    width: calc(100vw - 20px);
    max-width: calc(100vw - 20px);
  }
  .gallery-modal img {
    max-width: 100%;
  }
  .mini-cart-item {
    grid-template-columns: 48px minmax(0, 1fr) 22px;
  }
  .mini-cart-meta {
    grid-column: 2 / 3;
    display: flex;
    justify-content: space-between;
    text-align: left;
  }
  .catalog-menu-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
