@font-face {
  font-family: 'CustomFont';
  src: url('../fonts/Poppins-Regular.ttf') format('truetype');
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: 'CustomFont';
  src: url('../fonts/Poppins-Regular.ttf') format('truetype');
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: 'CustomFont';
  src: url('../fonts/Poppins-Bold.ttf') format('truetype');
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

:root {
  --brand-blue: #0567cc;
  --brand-navy: #001b37;
  --text-main: #232323;
  --text-muted: #666666;
  --footer-muted: rgba(125, 146, 168, 0.74);
  --page-width: 1440px;
  --header-height: 90px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: #ffffff;
  color: var(--text-main);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0;
}

body.is-locked,
body.is-feedback-open {
  overflow: hidden;
}

button, input, textarea, select {
  font: inherit;
  letter-spacing: 0;
}

button, input, textarea {
  border: 0;
  outline: 0;
}

button {
  cursor: pointer;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.page-container {
  width: calc(100% - 48px);
  max-width: var(--page-width);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  z-index: 1000;
  top: 0;
  width: 100%;
  height: var(--header-height);
  background: #ffffff;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04);
}

.site-header__inner {
  width: calc(100% - 48px);
  max-width: var(--page-width);
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
}

.site-logo {
  width: 136px;
  height: 68px;
  flex: 0 0 136px;
}

.site-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.desktop-nav {
  margin-left: auto;
  height: 100%;
}

.desktop-nav__list {
  height: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  align-items: stretch;
}

.desktop-nav__item {
  position: relative;
  height: 100%;
  padding: 0 10px;
}

.desktop-nav__link {
  position: relative;
  height: 100%;
  padding: 0 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #151515;
  font-family: 'CustomFont', Arial, Helvetica, sans-serif;
  font-weight: 400;
  font-size: 16px;
  text-align: center;
  white-space: nowrap;
  transition: color 180ms ease;
}

.desktop-nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--brand-blue);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 180ms ease;
}

.desktop-nav__link:hover,
.desktop-nav__link:focus-visible,
.desktop-nav__link.is-active,
.desktop-nav__item:focus-within > .desktop-nav__link {
  color: var(--brand-blue);
}

.desktop-nav__link:hover::after,
.desktop-nav__link:focus-visible::after,
.desktop-nav__link.is-active::after,
.desktop-nav__item:focus-within > .desktop-nav__link::after {
  transform: scaleX(1);
}

.desktop-nav__dropdown {
  position: absolute;
  z-index: 20;
  top: 90px;
  left: 50%;
  width: 200px;
  background: #ffffff;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 8px);
  transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
}

.desktop-nav__item:hover > .desktop-nav__dropdown,
.desktop-nav__item:focus-within > .desktop-nav__dropdown {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

.desktop-nav__sub-link {
  width: 200px;
  min-height: 48px;
  padding: 15px 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #666666;
  font-family: 'CustomFont', Arial, Helvetica, sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 18px;
  text-align: center;
  transition: color 180ms ease, background-color 180ms ease;
}

.desktop-nav__sub-link:hover,
.desktop-nav__sub-link:focus-visible {
  background: #f7f9fb;
  color: var(--brand-blue);
}

.site-header__actions {
  width: 100px;
  margin-left: 20px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.icon-button,
.menu-trigger {
  width: 40px;
  height: 40px;
  padding: 9px;
  background: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.icon-button img {
  width: 22px;
  height: 22px;
}

.menu-trigger {
  display: none;
  padding: 9px 7px;
  flex-direction: column;
  gap: 5px;
}

.menu-trigger span {
  width: 24px;
  height: 2px;
  background: #151515;
}

.mobile-menu {
  position: fixed;
  z-index: 1300;
  top: 0;
  right: 0;
  width: min(360px, 88vw);
  height: 100vh;
  padding: 88px 34px 40px;
  background: #ffffff;
  font-family: 'CustomFont', Arial, Helvetica, sans-serif;
  font-weight: 400;
  transform: translateX(100%);
  transition: transform 320ms var(--ease);
  overflow-y: auto;
}

.mobile-menu.is-open {
  transform: translateX(0);
}

.mobile-menu__close,
.search-overlay__close {
  position: absolute;
  top: 18px;
  right: 22px;
  width: 44px;
  height: 44px;
  background: transparent;
  color: #111111;
  font-size: 34px;
  line-height: 1;
}

.mobile-menu nav,
.mobile-menu__list,
.mobile-submenu {
  margin: 0;
  padding: 0;
  list-style: none;
}

.mobile-menu__item {
  border-bottom: 1px solid #e6e6e6;
}

.mobile-menu__row {
  min-height: 54px;
  display: flex;
  align-items: stretch;
}

.mobile-menu__link {
  min-width: 0;
  padding: 13px 0;
  display: flex;
  flex: 1;
  align-items: center;
  color: #151515;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 18px;
}

.mobile-menu__item.is-active > .mobile-menu__row > .mobile-menu__link {
  color: var(--brand-blue);
}

.mobile-submenu-toggle {
  width: 48px;
  min-width: 48px;
  padding: 0;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-submenu-toggle span {
  width: 9px;
  height: 9px;
  border-right: 1px solid #151515;
  border-bottom: 1px solid #151515;
  transform: translateY(-2px) rotate(45deg);
  transition: transform 180ms ease;
}

.mobile-submenu-toggle[aria-expanded="true"] span {
  transform: translateY(2px) rotate(-135deg);
}

.mobile-submenu[hidden] {
  display: none;
}

.mobile-submenu {
  padding: 4px 0 8px;
  background: #f7f9fb;
}

.mobile-submenu a {
  min-height: 43px;
  padding: 11px 18px;
  display: flex;
  align-items: center;
  color: #666666;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 15px;
  line-height: 21px;
}

.mobile-submenu a:hover,
.mobile-submenu a:focus-visible {
  color: var(--brand-blue);
}

.mobile-menu__close:focus-visible,
.mobile-submenu-toggle:focus-visible,
.desktop-nav__link:focus-visible,
.desktop-nav__sub-link:focus-visible {
  outline: 2px solid var(--brand-blue);
  outline-offset: -2px;
}

.mobile-menu nav > a {
  padding: 15px 0;
  color: #151515;
  font-size: 18px;
}

.menu-backdrop {
  position: fixed;
  z-index: 1200;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  opacity: 0;
  visibility: hidden;
  transition: 220ms ease;
}

.menu-backdrop.is-open {
  opacity: 1;
  visibility: visible;
}

.search-overlay {
  position: fixed;
  z-index: 1400;
  top: 0;
  right: 0;
  left: 0;
  height: 92px;
  overflow: visible;
  background: #ffffff;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 180ms ease, visibility 180ms ease, transform 180ms ease;
}

.search-overlay.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.search-overlay__inner {
  position: relative;
  top: 24px;
  width: calc(100% - 48px);
  max-width: var(--page-width);
  height: 68px;
  margin: 0 auto;
}

.search-overlay__logo {
  position: absolute;
  top: 0;
  left: 0;
  width: 136px;
  height: 68px;
}

.search-overlay__logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.search-overlay__form {
  position: absolute;
  top: 1px;
  left: 235px;
  width: 360px;
  height: 40px;
  display: flex;
  align-items: center;
}

.search-overlay__submit {
  width: 40px;
  height: 40px;
  padding: 0;
  flex: 0 0 40px;
  background: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.search-overlay__submit img {
  width: 22px;
  height: 22px;
}

.search-overlay__form input {
  min-width: 0;
  width: 320px;
  height: 40px;
  padding: 0 0 0 4px;
  border: 0;
  background: transparent;
  color: #151515;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 18px;
  text-overflow: ellipsis;
}

.search-overlay__form input::placeholder {
  color: #151515;
  opacity: 1;
}

.search-overlay__form input:focus {
  outline: 0;
}

.search-overlay__close {
  position: absolute;
  top: 10px;
  right: -19px;
  width: 28px;
  height: 28px;
  padding: 0;
  background: transparent;
  color: #ff0000;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 28px;
  font-weight: 400;
  line-height: 25px;
}

.search-overlay__close span {
  display: block;
  width: 100%;
  height: 100%;
}

.search-overlay__close:focus-visible,
.search-overlay__submit:focus-visible {
  outline: 2px solid var(--brand-blue);
  outline-offset: 2px;
}

.site-footer {
  min-height: 517px;
  background: var(--brand-navy);
  color: #ffffff;
  font-family: 'Arimo', Arial, Helvetica, sans-serif;
}

.site-footer button,
.site-footer input,
.site-footer select,
.site-footer textarea { font-family: 'Arimo', Arial, Helvetica, sans-serif; }

.site-footer__inner {
  position: relative;
  width: calc(100% - 48px);
  max-width: var(--page-width);
  min-height: 517px;
  margin: 0 auto;
  padding: 79px 0 78px;
  display: grid;
  grid-template-columns: 380px 170px 220px 330px;
  justify-content: space-between;
  gap: 48px;
}

.footer-brand img {
  width: 136px;
  height: 68px;
  object-fit: cover;
}

.footer-brand p {
  width: 330px;
  margin: 32px 0 0;
  color: var(--footer-muted);
  font-size: 14px;
  line-height: 24px;
}

.footer-links h2,
.footer-contact h2 {
  margin: 0 0 19px;
  color: #ffffff;
  font-size: 16px;
  font-weight: 700;
  line-height: 20px;
}

.footer-links a {
  display: block;
  padding: 7px 0;
  color: var(--footer-muted);
  font-size: 14px;
  line-height: 20px;
  transition: color 160ms ease;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: #0567cc;
}

.footer-form {
  width: 300px;
}

.footer-form label {
  display: block;
  margin-bottom: 10px;
}

.footer-form input,
.footer-form textarea {
  width: 100%;
  height: 40px;
  padding: 8px;
  border: 1px solid #657085;
  border-radius: 4px;
  background: transparent;
  color: #ffffff;
  font-size: 14px;
}

.footer-form textarea {
  height: 80px;
  resize: vertical;
}

.footer-form input::placeholder,
.footer-form textarea::placeholder {
  color: #8993a4;
}

.footer-form input:focus,
.footer-form textarea:focus {
  border-color: #ffffff;
}

.footer-form button {
  min-width: 128px;
  height: 42px;
  margin-top: 7px;
  border-radius: 4px;
  background: var(--brand-blue);
  color: #ffffff;
  font-size: 16px;
}

.footer-form button:disabled {
  cursor: wait;
  opacity: 0.65;
}

.footer-form__status {
  min-height: 20px;
  margin: 8px 0 0;
  color: #ffffff;
  font-size: 13px;
}

.footer-bottom {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  min-height: 78px;
  padding: 30px 0;
  border-top: 1px solid rgba(125, 146, 168, 0.18);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 30px;
}

.footer-bottom p {
  margin: 0;
  color: var(--footer-muted);
  font-size: 12px;
}

.footer-bottom nav {
  display: flex;
}

.footer-bottom nav a {
  padding: 0 12px;
  border-right: 1px solid #979797;
  color: var(--footer-muted);
  font-size: 12px;
  line-height: 13px;
}

.footer-bottom nav a:last-child {
  border-right: 0;
  padding-right: 0;
}

.floating-contact {
  position: fixed;
  z-index: 900;
  right: 12px;
  top: 50%;
  width: 54px;
  transform: translateY(-50%);
  background: #ffffff;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

.floating-contact > a,
.floating-contact > button {
  position: relative;
  width: 54px;
  min-height: 60px;
  padding: 15px 14px;
  border-bottom: 1px solid #d9d9d9;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.floating-contact img {
  width: 26px;
  height: 26px;
}

.floating-contact__phone span {
  position: absolute;
  right: 64px;
  width: 210px;
  height: 45px;
  padding: 12px 20px;
  background: #ffffff;
  color: #000000;
  font-size: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
  opacity: 0;
  visibility: hidden;
  transform: translateX(8px);
  transition: 180ms ease;
}

.floating-contact__phone:hover span,
.floating-contact__phone:focus-visible span {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

.floating-contact > button {
  min-height: 70px;
  border-bottom: 0;
  flex-direction: column;
  gap: 4px;
  color: #000000;
  font-size: 12px;
}

.site-pagination {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 20px;
  font-family: 'CustomFont', Arial, Helvetica, sans-serif;
}

.site-pagination a {
  min-width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 10px;
  border: 1px solid #e3e3e3;
  background: #ffffff;
  color: #151515;
  font-size: 14px;
  font-weight: 400;
}

.site-pagination a:hover,
.site-pagination a:focus-visible,
.site-pagination a.is-active {
  border-color: var(--brand-blue);
  background: var(--brand-blue);
  color: #ffffff;
}

.form-feedback {
  position: fixed;
  z-index: 5000;
  inset: 0;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: Arial, Helvetica, sans-serif;
}

.form-feedback[hidden] {
  display: none;
}

.form-feedback__backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  background: rgba(0, 0, 0, 0.72);
  cursor: default;
}

.form-feedback__dialog {
  position: relative;
  z-index: 1;
  width: 440px;
  max-width: calc(100vw - 40px);
  min-height: 290px;
  padding: 43px 42px 36px;
  background: #ffffff;
  color: #222222;
  text-align: center;
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.28);
}

.form-feedback__close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 40px;
  height: 40px;
  padding: 0;
  background: transparent;
}

.form-feedback__close span::before,
.form-feedback__close span::after {
  content: '';
  position: absolute;
  top: 19px;
  left: 10px;
  width: 20px;
  height: 2px;
  background: #666666;
}

.form-feedback__close span::before {
  transform: rotate(45deg);
}

.form-feedback__close span::after {
  transform: rotate(-45deg);
}

.form-feedback__icon {
  width: 50px;
  height: 50px;
  margin: 0 auto 18px;
  border: 3px solid #0567cc;
  border-radius: 50%;
  color: #0567cc;
  font-size: 30px;
  font-weight: 700;
  line-height: 44px;
}

.form-feedback h2 {
  margin: 0;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.3;
}

.form-feedback p {
  margin: 13px 0 25px;
  color: #666666;
  font-size: 15px;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.form-feedback__confirm {
  min-width: 126px;
  height: 46px;
  padding: 0 28px;
  background: #0567cc;
  color: #ffffff;
  font-size: 16px;
  font-weight: 700;
}

.form-feedback__confirm:hover,
.form-feedback__confirm:focus-visible {
  background: #004f9f;
}

.form-feedback__close:focus-visible,
.form-feedback__confirm:focus-visible {
  outline: 3px solid rgba(5, 103, 204, 0.28);
  outline-offset: 2px;
}

@media (max-width: 1199px) {
  :root { --header-height: 60px; }
  .page-container,
  .site-header__inner,
  .site-footer__inner { width: calc(100% - 40px); }
  .desktop-nav { display: none; }
  .site-logo { width: 112px; height: 56px; flex-basis: 112px; }
  .site-header__actions { margin-left: auto; width: auto; }
  .menu-trigger { display: inline-flex; }
  .search-overlay { height: 72px; }
  .search-overlay__inner { top: 8px; width: calc(100% - 40px); height: 56px; }
  .search-overlay__logo { width: 112px; height: 56px; }
  .search-overlay__form { top: 8px; left: 144px; right: 48px; width: auto; height: 40px; }
  .search-overlay__form input { width: auto; flex: 1; height: 40px; padding-left: 2px; font-size: 15px; }
  .search-overlay__close { top: 14px; right: -2px; }
  .site-footer__inner {
    grid-template-columns: 1fr 1fr;
    gap: 48px 70px;
    padding-bottom: 150px;
  }
  .footer-contact,
  .footer-form { width: 100%; }
  .floating-contact { display: none; }
}

@media (max-width: 767px) {
  .page-container,
  .site-header__inner,
  .site-footer__inner { width: calc(100% - 30px); }
  :root { --header-height: 60px; }
  .site-logo { width: 104px; height: 52px; flex-basis: 104px; }
  .site-header__actions {
    position: absolute;
    top: 10px;
    right: 0;
    width: auto;
    flex: 0 0 auto;
    gap: 2px;
    display: flex;
    margin-left: auto;
  }
  .site-header__actions .icon-button,
  .site-header__actions .menu-trigger {
    display: inline-flex;
    flex: 0 0 40px;
  }
  .mobile-menu {
    width: 100%;
    max-width: none;
    padding: 72px 20px 28px;
  }
  .mobile-menu__close { top: 8px; right: 12px; }
  .mobile-menu__link { font-size: 17px; }
  .mobile-submenu a { padding-left: 14px; font-size: 14px; }
  .site-footer { min-height: 0; }
  .site-footer__inner {
    min-height: 0;
    padding: 48px 0 0;
    grid-template-columns: 1fr;
    gap: 38px;
  }
  .footer-brand p { width: 100%; margin-top: 20px; }
  .footer-products { display: block; }
  .site-footer__inner { gap: 30px; }
  .footer-brand img { width: 104px; height: 52px; }
  .footer-links h2,
  .footer-contact h2 { margin-bottom: 12px; }
  .footer-links a { padding: 5px 0; }
  .footer-bottom {
    position: static;
    min-height: 0;
    margin-top: 6px;
    padding: 24px 0 30px;
    flex-direction: column;
  }
  .footer-bottom nav { flex-wrap: wrap; row-gap: 10px; }
  .footer-bottom nav a:first-child { padding-left: 0; }
  .search-overlay { height: 60px; }
  .search-overlay__inner { top: 4px; width: calc(100% - 30px); height: 52px; }
  .search-overlay__logo { width: 104px; height: 52px; }
  .search-overlay__form { top: 6px; left: 114px; right: 38px; }
  .site-pagination { gap: 8px; margin-top: 28px; }
  .site-pagination a { min-width: 42px; height: 42px; padding: 0 8px; }
  .form-feedback__dialog { min-height: 270px; padding: 41px 25px 31px; }
  .form-feedback h2 { font-size: 22px; }
}

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