.site-header {
  background: #f2f2f2;
  padding: 0;
}

.site-header__container {
  display: flex;
  align-items: center;
  min-height: 64px;
}

.site-header__left {
  display: flex;
  align-items: center;
  gap: 33px;
  width: 100%;
  min-width: 0;
}

.site-logo {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  min-height: 64px;
  padding-right: 0;
  background: #ffffff;
}

.site-logo::before {
  content: "";
  position: absolute;
  top: 0;
  right: 100%;
  bottom: 0;
  width: 100vw;
  background: #ffffff;
  z-index: -2;
}

.site-logo::after {
  content: "";
  position: absolute;
  top: 0;
  left: 100%;
  width: 79px;
  height: 100%;
  background: #ffffff;
  clip-path: polygon(0 0, 100% 100%, 0 100%);
  z-index: -1;
}

.site-logo img {
  position: relative;
  z-index: 1;
  display: block;
  height: 34px;
  width: auto;
}

.container-search {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 1;
  min-width: 0;
  min-height: 64px;
  background: #f2f2f2;
}

.site-search {
  position: relative;
  display: flex;
  align-items: center;
  width: min(100%, 497px);
  height: 40px;
  border: 1px solid var(--quimatic-orange);
  background: #ffffff;
  overflow: visible;
  border-left: none;
}

.site-search::before {
  content: "";
  position: absolute;
  left: 14px;
  bottom: -19px;
  width: 12px;
  height: 70px;
  background: #F2F2F2;
  z-index: 2;
  pointer-events: none;
  transform: rotate(-49deg);
}

.site-search::after {
  content: "";
  position: absolute;
  left: 48px;
  bottom: -1px;
  width: 1px;
  height: 60px;
  background: var(--quimatic-orange);
  transform-origin: bottom left;
  transform: rotate(-50deg);
  z-index: 3;
  pointer-events: none;
}

.site-search input {
  font-family: "Myriad Pro", sans-serif;
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  border: 0;
  background: transparent;
  font-size: 16px;
  line-height: 1.5;
  color: var(--quimatic-text);
  padding: 8px 52px 8px 49px;
  outline: none;
}

.site-search input::placeholder {
  color: var(--quimatic-muted);
  opacity: 1;
}

.site-search button {
  position: absolute;
  z-index: 1;
  right: 20px;
  top: 8px;
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--quimatic-muted);
  cursor: pointer;
}

.site-search svg {
  width: 24px;
  height: 24px;
  fill: currentcolor;
}

.site-header__actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  flex: 0 0 auto;
  background: #f2f2f2;
}

.header-login {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  height: 28px;
  padding: 4px 15px 0 11px;
  border: 1px solid var(--quimatic-orange);
  background: #ffffff;
  color: var(--quimatic-orange);
  text-decoration: none;
  font-family: "Myriad Pro", sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.5;
}

.header-login img,
.header-login svg {
  width: 24px;
  height: 24px;
  display: block;
}

.header-languages {
  display: inline-flex;
  align-items: center;
  height: 28px;
}

.header-languages button {
  width: 40px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  background: #ffffff;
  color: var(--quimatic-text);
  font-family: "Myriad Pro", sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 28px;
  padding: 2px 0 0 0;
  cursor: pointer;
}

.header-languages button.is-active {
  background: var(--quimatic-orange);
  color: #ffffff;
  font-weight: 600;
}

.site-header__nav {
  background: #ffffff;
}

.site-header__nav-container {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.site-nav {
  flex: 1 1 auto;
  min-width: 0;
}

.site-nav__list {
  display: flex;
  align-items: center;
  gap: 33px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav__item {
  position: relative;
}

.site-nav__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 10px 16px;
  font-family: "Myriad Pro", sans-serif;
  font-size: 17.4px;
  font-weight: 400;
  line-height: 19.8px;
  color: var(--quimatic-text);
  text-decoration: none;
  white-space: nowrap;
}

.site-nav__link--with-arrow img {
  width: 14px;
  height: 9px;
  display: block;
}

.site-nav__submenu {
  position: absolute;
  top: calc(100% - 2px);
  left: 16px;
  min-width: 132px;
  padding: 10px 14px;
  border: 1px solid #e9e9e9;
  background: #ffffff;
  box-shadow: 0 8px 24px rgba(10, 2, 3, 0.08);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  z-index: 20;
}

.site-nav__submenu a {
  display: inline-block;
  font-family: "Myriad Pro", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--quimatic-text);
  text-decoration: none;
}

.site-nav__item--has-dropdown:hover .site-nav__submenu,
.site-nav__item--has-dropdown:focus-within .site-nav__submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.site-header__contact {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 32px;
  padding: 8px 0 0;
  font-family: "Myriad Pro", sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--quimatic-orange);
  text-decoration: none;
  white-space: nowrap;
}

.site-header__contact img {
  width: 24px;
  height: 24px;
  display: block;
}

.site-header__contact span {
  margin-top: 2px;
}

@media (max-width: 920px) {
  .site-header__left {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }

  .site-logo {
    min-height: 52px;
    padding-right: 0;
  }

  .site-logo::before,
  .site-logo::after {
    display: none;
  }

  .container-search {
    flex-direction: column;
    align-items: stretch;
  }

  .site-search {
    width: 100%;
  }

  .site-header__actions {
    justify-content: flex-end;
  }

  .site-header__nav-container {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-nav__list {
    flex-wrap: wrap;
    gap: 8px 12px;
  }

  .site-nav__link {
    padding: 10px 12px;
  }
}

@media (max-width: 560px) {
  .site-header__actions {
    justify-content: flex-start;
  }
}