/* ========================= HEADER ========================= */
.header { border-bottom: 1px solid #eaeaea; background: #fff; overflow-x: clip; }
.header-inner { width: 100%; max-width: 1920px; margin: 0 auto; padding: 0 70px; overflow-x: clip; }

.header-top {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px 24px;
  padding: 20px 0 16px;
  min-height: 92px;
}

.header-logo {
  flex: 0 0 auto;
}

.header-logo img {
  width: 308px;
  max-width: 100%;
  height: auto;
  aspect-ratio: 308 / 52;
  object-fit: contain;
  display: block;
}

.header-search {
  position: relative;
  flex: 1 1 280px;
  min-width: 180px;
  max-width: 773px;
  height: 49px;
}

.header-search__shape {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.header-search__shape path {
  vector-effect: non-scaling-stroke;
}

.header-search__input {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  border: none;
  background: transparent;
  padding: 13px 13px 14px 27.559px;
  font: 400 18px/1.2 "Proxima Nova", "Montserrat", "Segoe UI", Arial, sans-serif;
  color: #000;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}

.header-search__input::placeholder { color: rgba(0, 0, 0, 0.2); }
.header-search__input::-webkit-search-cancel-button { -webkit-appearance: none; }

.header-top-right {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px 24px;
  margin-left: auto;
}

.header-phones {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 24px;
}

.hp-num { font-size: 20px; line-height: 24px; margin-bottom: 1px; white-space: nowrap; }
.hp-accent { color: #ED1C24; }
.hp-label { font-size: 16px; line-height: 20px; color: #000; white-space: nowrap; }

.hdr-write {
  font-size: 16px;
  line-height: 20px;
  white-space: nowrap;
}

.hdr-write:hover { color: #ED1C24; }

.header-lang {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 16px;
  line-height: 20px;
  white-space: nowrap;
}

.lang-item {
  cursor: pointer;
  border: none;
  background: none;
  padding: 0;
  font: inherit;
  color: inherit;
}

.lang-item:hover { color: #ED1C24; }
.lang-item--active { color: #ED1C24; font-weight: 600; }
.lang-sep { color: #ccc; }

.header-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 20px;
  padding: 12px 0 22px;
}

.nav-link {
  font-size: 22px;
  line-height: 1.2;
  color: #000;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.nav-link:hover { color: #ED1C24; }
.nav-link--active { color: #ED1C24; }
.nav-arrow { width: 10px; height: 10px; flex-shrink: 0; }

@media (min-width: 1601px) {
  .header-nav {
    justify-content: space-between;
    gap: 12px;
  }
}

@media (max-width: 1600px) {
  .header-inner { padding: 0 50px; }
  .nav-link { font-size: 18px; }
  .header-nav { gap: 10px 16px; }
  .breadcrumbs { padding-left: 50px; padding-right: 50px; }
}

@media (max-width: 1200px) {
  .header-inner { padding: 0 40px; }
  .breadcrumbs { padding-left: 40px; padding-right: 40px; }
  .header-logo img { width: 240px; }
  .header-top { gap: 14px 20px; }
  .hp-num { font-size: 18px; }
  .hp-label { font-size: 14px; }
  .nav-link { font-size: 16px; }
}

@media (max-width: 900px) {
  .header-inner { padding: 0 24px; }
  .breadcrumbs { padding-left: 24px; padding-right: 24px; }
  .header-top {
    flex-direction: column;
    align-items: stretch;
    min-height: 0;
    padding: 16px 0 12px;
  }
  .header-search {
    flex: 1 1 auto;
    max-width: none;
    width: 100%;
  }
  .header-top-right {
    margin-left: 0;
    justify-content: space-between;
    width: 100%;
  }
  .header-nav { gap: 8px 12px; }
  .nav-link { font-size: 15px; }
}

@media (max-width: 600px) {
  .header-inner { padding: 0 16px; }
  .breadcrumbs { padding-left: 16px; padding-right: 16px; }
  .header-phones { flex-direction: column; gap: 8px; }
  .header-nav { gap: 8px 10px; }
  .nav-link { font-size: 14px; }
}

/* ========================= BREADCRUMBS ========================= */
.breadcrumbs {
  width: 100%;
  max-width: 1920px;
  margin: 0 auto;
  padding: 40px 70px 0;
}

.breadcrumbs__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 22px;
  line-height: 27px;
}

.breadcrumbs__item {
  display: flex;
  align-items: center;
}

.breadcrumbs__item + .breadcrumbs__item::before {
  content: '/';
  margin: 0 10px;
  color: #000;
}

.breadcrumbs__link {
  color: #000;
}

.breadcrumbs__link:hover {
  color: #ED1C24;
}

.breadcrumbs__current {
  color: #000;
}

@media (max-width: 768px) {
  .breadcrumbs__list { font-size: 18px; line-height: 1.3; }
}

/* ========================= FOOTER ========================= */
.footer {
  padding: 0 0 80px;
}

.footer-inner {
  min-height: 208px;
}

.ft-main {
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 32px 48px;
  margin-bottom: 31px;
}

.ft-col {
  display: flex;
  flex-direction: column;
  gap: 26px;
  flex-shrink: 0;
}

.ft-col--1 { width: 263px; }
.ft-col--2 { width: 323px; }
.ft-col--3 { width: 366px; }

.ft-link {
  font-size: 30px;
  font-weight: 400;
  line-height: 1.2;
  color: #000;
  display: block;
}

.ft-link:hover { color: #ED1C24; }

.ft-right {
  flex: 1 1 320px;
  min-width: 0;
}

.ft-phones {
  display: flex;
  flex-wrap: wrap;
  gap: 24px 42px;
  margin-bottom: 30px;
}

.ft-phone-block {
  flex-shrink: 0;
}

.ft-phone-block:first-child { width: 217px; max-width: 100%; }
.ft-phone-block:last-child { width: 223px; max-width: 100%; }

.ft-phone {
  display: block;
  font-size: 30px;
  font-weight: 400;
  line-height: 1.2;
  color: #000;
  margin: 0 0 6px;
  white-space: nowrap;
}

.ft-phone:hover { color: #ED1C24; }
.ft-phone:hover .ph-red { color: #ED1C24; }

.ph-red { color: #ED1C24; }

.ft-phone-lbl {
  margin: 0;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.2;
  color: #000;
}

.ft-project-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  width: min(500px, 100%);
  color: inherit;
}

.ft-project {
  display: block;
  font-size: 30px;
  font-weight: 400;
  line-height: 1.2;
  color: #000;
}

.ft-project-wrap:hover .ft-project,
.ft-project-wrap:hover .ft-arr {
  color: #ED1C24;
}

.ft-arr {
  position: static;
  flex-shrink: 0;
  color: #ED1C24;
  margin-left: 6px;
  margin-bottom: 2px;
}

.ft-bottom {
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 12px 32px;
  width: 100%;
  margin-top: 8px;
}

.ft-copy {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.2;
  color: #000;
  flex-shrink: 0;
}

@media (max-width: 1200px) {
  .ft-col--1,
  .ft-col--2,
  .ft-col--3 {
    width: auto;
    min-width: 200px;
  }

  .ft-link { font-size: 24px; }
  .ft-phone { font-size: 24px; }
  .ft-project { font-size: 24px; }
}

@media (max-width: 768px) {
  .ft-link { font-size: 20px; }
  .ft-phone { font-size: 20px; }
  .ft-phone-lbl { font-size: 16px; }
  .ft-project { font-size: 20px; }
  .ft-copy {
    width: auto !important;
    margin-right: 0 !important;
    flex: 1 1 100%;
  }
}
