.agt-header {
  position: relative;
  z-index: 20;
  background: #fff;
  color: #000;
  font-family: Roboto, Arial, sans-serif;
}

.agt-header__inner {
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  box-sizing: border-box;
}

.agt-header__logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.agt-header__logo img {
  display: block;
  width: auto;
  height: 54px;
  max-height: 54px;
  object-fit: contain;
}

.agt-header__nav {
  display: flex;
  align-items: center;
  gap: 34px;
  margin-left: auto;
}

.agt-header__link,
.agt-header__dropbtn,
.agt-header__lang-current {
  appearance: none;
  border: 0;
  background: transparent;
  padding: 24px 0;
  color: #000 !important;
  font: 300 14px/1.3 Roboto, Arial, sans-serif;
  text-decoration: none;
  cursor: pointer;
}

.agt-header__link:hover,
.agt-header__dropbtn:hover,
.agt-header__lang-current:hover {
  opacity: 0.65;
}

.agt-header__dropdown {
  position: relative;
}

.agt-header__menu {
  position: absolute;
  top: calc(100% - 6px);
  left: 50%;
  min-width: 200px;
  padding: 10px 0;
  margin: 0;
  list-style: none;
  background: #fff;
  border-radius: 3px;
  box-shadow: 0 0 7px rgba(0, 0, 0, 0.2);
  text-align: center;
  transform: translateX(-50%);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.16s ease, visibility 0.16s ease;
}

.agt-header__dropdown:hover .agt-header__menu,
.agt-header__dropdown:focus-within .agt-header__menu,
.agt-header__dropdown.is-open .agt-header__menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.agt-header__menu a {
  display: block;
  padding: 7px 16px;
  color: #222 !important;
  font: 600 14px/1.35 Roboto, Arial, sans-serif;
  text-decoration: none;
}

.agt-header__menu a:hover {
  opacity: 0.55;
}

.agt-header__lang {
  display: flex;
  align-items: center;
  gap: 12px;
}

.agt-header__lang-current {
  opacity: 0.5;
}

.agt-lang-switch {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-width: 92px;
  height: 34px;
  border: 1px solid rgba(0, 0, 0, 0.16);
  border-radius: 999px;
  overflow: visible;
  background: #fff;
}

.agt-lang-switch::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  width: 132px;
  height: 10px;
  transform: translateX(-50%);
}

.agt-lang-switch__side {
  width: 50%;
  height: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border: 0;
  background: transparent;
  color: #000 !important;
  font: 600 12px/1 Roboto, Arial, sans-serif;
  text-decoration: none;
  cursor: pointer;
}

.agt-lang-switch__side_active {
  border-radius: 999px;
  background: #111;
  color: #fff !important;
}

.agt-lang-switch__side_muted {
  color: #b6b6b6 !important;
}

.agt-lang-switch__icon {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.agt-lang-switch__menu {
  position: absolute;
  top: 100%;
  left: 50%;
  min-width: 112px;
  padding: 8px 0;
  margin: 0;
  list-style: none;
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 0 7px rgba(0, 0, 0, 0.2);
  text-align: center;
  transform: translateX(-50%);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.16s ease, visibility 0.16s ease;
}

.agt-lang-switch:hover .agt-lang-switch__menu,
.agt-lang-switch:focus-within .agt-lang-switch__menu,
.agt-lang-switch.is-hover .agt-lang-switch__menu,
.agt-lang-switch.is-open .agt-lang-switch__menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.agt-lang-switch__menu a {
  display: block;
  padding: 8px 14px;
  color: #222 !important;
  font: 700 13px/1.2 Roboto, Arial, sans-serif;
  text-decoration: none;
}

.agt-lang-switch__menu a:hover,
.agt-lang-switch__menu a[aria-current="page"] {
  opacity: 0.55;
}

.agt-header__burger {
  display: none;
  width: 32px;
  height: 24px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.agt-header__burger span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: #000;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.agt-header.is-open .agt-header__burger span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.agt-header.is-open .agt-header__burger span:nth-child(2) {
  opacity: 0;
}

.agt-header.is-open .agt-header__burger span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.agt-photo-header {
  position: relative;
  z-index: 20;
  background: #000;
  color: #fff;
  font-family: Roboto, Arial, sans-serif;
}

.agt-photo-header__inner {
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  box-sizing: border-box;
}

.agt-photo-header__logo,
.agt-photo-header__nav a {
  color: #fff !important;
  text-decoration: none;
}

.agt-photo-header__logo {
  font: 400 28px/1.2 Roboto, Arial, sans-serif;
}

.agt-photo-header__nav {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-left: auto;
}

.agt-photo-header__nav a {
  font: 600 14px/1.3 Roboto, Arial, sans-serif;
}

.agt-photo-header__logo:hover,
.agt-photo-header__nav a:hover {
  opacity: 0.7;
}

.agt-photo-header__burger {
  display: none;
  width: 32px;
  height: 24px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.agt-photo-header__burger span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: #fff;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.agt-photo-header.is-open .agt-photo-header__burger span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.agt-photo-header.is-open .agt-photo-header__burger span:nth-child(2) {
  opacity: 0;
}

.agt-photo-header.is-open .agt-photo-header__burger span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.agt-footer {
  background: #c4c4c4;
  color: #525252;
  font-family: Roboto, Arial, sans-serif;
  padding: 75px 0 30px;
}

.agt-footer__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 40px;
  box-sizing: border-box;
}

.agt-footer__logo {
  display: inline-block;
  margin-bottom: 18px;
}

.agt-footer__logo img {
  display: block;
  width: 150px;
  height: auto;
}

.agt-footer__social {
  display: flex;
  gap: 6px;
  margin: 0 0 16px;
  padding: 0;
  list-style: none;
}

.agt-footer__social a {
  display: inline-flex;
  width: 25px;
  height: 25px;
  align-items: center;
  justify-content: center;
}

.agt-footer__social svg {
  width: 25px;
  height: 25px;
}

.agt-footer__copy,
.agt-footer__links {
  margin: 0;
  padding: 0;
  color: #525252;
  font: 400 14px/1.55 Roboto, Arial, sans-serif;
}

.agt-footer__title {
  margin: 0 0 14px;
  color: #525252;
  font: 600 16px/1.35 Roboto, Arial, sans-serif;
  text-transform: uppercase;
}

.agt-footer__links {
  list-style: none;
}

.agt-footer__links a {
  color: #525252 !important;
  text-decoration: none;
}

.agt-footer__links a:hover {
  text-decoration: underline;
}

@media screen and (max-width: 1024px) {
  .agt-header__inner {
    padding: 0 20px;
  }

  .agt-header__burger {
    display: block;
  }

  .agt-header__nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px 24px 22px;
    background: #fff;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
  }

  .agt-header.is-open .agt-header__nav {
    display: flex;
  }

  .agt-photo-header__inner {
    min-height: 64px;
    padding: 0 20px;
  }

  .agt-photo-header__burger {
    display: block;
  }

  .agt-photo-header__nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px 24px 22px;
    background: #000;
  }

  .agt-photo-header.is-open .agt-photo-header__nav {
    display: flex;
  }

  .agt-photo-header__nav a {
    padding: 12px 0;
    font-size: 16px;
  }

  .agt-header__link,
  .agt-header__dropbtn,
  .agt-header__lang-current {
    width: 100%;
    padding: 12px 0;
    text-align: left;
    font-size: 16px;
  }

  .agt-lang-switch {
    margin: 12px 0 0;
  }

  .agt-header__menu {
    position: static;
    min-width: 0;
    transform: none;
    box-shadow: none;
    text-align: left;
    padding: 0 0 8px 16px;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    display: none;
  }

  .agt-header__dropdown.is-open .agt-header__menu {
    display: block;
  }

  .agt-header__lang {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .agt-footer__inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media screen and (max-width: 640px) {
  .agt-footer__inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}
