/* -------------------- Базовые настройки -------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  overflow-x: hidden;
  font-family: 'Inter', sans-serif;
  font-size: 18px;
  line-height: 1.6;
  background: #fff;
  color: #000;
  max-width: 100%;
}

html {
  overflow-x: hidden;
  max-width: 100%;
}

.highlight {
  font-weight: 700;
}

.righteous {
  font-family: 'Righteous', sans-serif;
}

/* ------------------------Desktop Header------------------------ */
.desktopHeader {
  height: 10vh;
  background: #CCCCCC;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 1000;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  padding-right: 3%;
}

.logo {
  height: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  flex-shrink: 0;
}
/* ------------------------Desktop Menu------------------------- */
.desktopMenu {
  display: none;
  flex-grow: 1;
  margin-left: 3%;
}

.desktopMenu ul {
  list-style: none;
  display: flex;
  gap: clamp(16px, 2vw, 32px); /* одинаковые отступы между пунктами */
  padding: 0;
  margin: 0;
  align-items: center;
}

.desktopMenu li a {
  display: inline-block;
  background: none;
  color: #000;
  text-decoration: none;
  font-family: "Righteous", sans-serif;
  font-size: clamp(0.9rem, 2vw, 1.2rem);
  white-space: nowrap;
  transition: color 0.3s ease;
  padding: 0; /* убираем внутренние отступы */
  border-radius: 0; /* убираем скругления */
}

.desktopMenu li a:hover {
  color: #ABFF33;
}
/* ----------------------Desktop Language Buttons---------------------- */
.language-switch {
  display: flex;
}

.lang-btn {
  background: none;
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1rem, 2vw, 1.2rem);
  padding: 0 1vw;
  color: #000;
  cursor: pointer;
  background: none;
}

.lang-btn:hover {
  background: #f0f0f0;
}

.divider {
  width: 3px;
  height: 100%;
  background-color: #000;
}
/* ---------------------------Mobile Header--------------------------- */
.mobileHeader {
  height: 10vh;
  background: #CCCCCC;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  z-index: 1000;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.logo {
  height: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
}

.mobileModule {
  display: flex;
  margin-left: auto;
  margin-right: 3%;
  max-width: 100%;
  gap: 3vw;
}
/* ---------- Гамбургер: по умолчанию показываем ---------- */
.hamburger {
  display: flex;
  position: relative;
  flex-direction: column;
  justify-content: space-between;
  height: clamp(24px, 4vh, 32px);
  aspect-ratio: 1.2 / 1;  
  background: none;
  border: none;
  cursor: pointer;
  border-radius: none;
  margin-left: auto;
  z-index: 1001;
  padding: clamp(4px, 1vh, 8px) clamp(4px, 1vh, 8px);
}

.hamburger span {
  display: block;
  width: 100%;
  height: clamp(1.7px, 0.5vh, 2.7px);
  background-color: #000;
  border-radius: clamp(1px, 0.3vw, 3px);
  transition: all 0.3s ease;
}

.hamburger.open span:nth-child(1) {
  transform: rotate(45deg);
  position: absolute;
  top: 50%;
  left: 50%;
  translate: -50% -50%;
  width: 60%;
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: rotate(-45deg);
  position: absolute;
  top: 50%;
  left: 50%;
  translate: -50% -50%;
  width: 60%;
}

/* ---------- Мобильное меню (выезжает поверх) ---------- */
.mobileMenu {
  display: none;
  flex-direction: column;
  position: fixed;
  top: 10vh;
  width: 100%;
  height: calc(100vh - 15vh);
  background: #fff;
  align-items: center;
  justify-content: center;
  gap: 24px;
  z-index: 999;
}

.mobileMenu a {
  font-family: 'Righteous', sans-serif;
  font-size: 1.5rem;
  color: #000;
  text-decoration: none;
  list-style: none;
}

.mobileMenu.open {
  display: flex;
}
/* -----------------------Mobile Language Buttons--------------------- */
.language-switch {
  display: flex;
}

.lang-btn {
  background: none;
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1rem, 2vw, 1.2rem);
  padding: 0 1vw;
  color: #000;
  cursor: pointer;
  border: none;
}

.lang-btn:hover {
  background: #f0f0f0;
}

.divider {
  width: 1px;
  height: 100%;
  background-color: #000;
}

.desktopHeader {
  display: none;
}

/* -------------------- Медиа‑запрос: десктоп ≥ 431 px -------------------- */
@media (min-width: 431px) {
  .mobileHeader,
  .hamburger,
  .mobileMenu {
    display: none;
  }

  .desktopHeader,
  .desktopMenu {
    display: flex;
  }
}
/* -------------------------- About Company Sections --------------------- */
.CitySection {
  display: block;
  width: 100%;
}

.city {
  width: 100%;
  height: auto;
  aspect-ratio: 7680 / 2000;
  display: block;
}

@media (max-width: 430px) {
  .city {
    aspect-ratio: 3840 / 2000;
  }
}

.intro {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 5vw;
  padding: 5vh 10vw;
}

.intro-title {
  width: 50vw;
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(2rem, 5vw, 4.5rem);
  color: #000;
  line-height: 1.2;
  border: 2px solid red;
}

.intro-text {
  width: 25vw;
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1rem, 2vw, 1.2rem);
  line-height: 1.2;
  color: #000;
  border: 2px solid red;
}

@media (max-width: 430px) {
  .intro {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10vh 10vw;
    gap: 1vh;
  }
  .intro-title,
  .intro-text {
    width: 80vw;
  }
}

.about-us {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  padding: 2vh 0;
  width: 90%;
  height: auto;
  margin: 0 auto;
  gap: 2vw;
}

.about-column {
  flex: 1;
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1rem, 2vw, 1.2rem);
  line-height: 1.5;
}

@media (max-width: 430px) {
  .about-us {
    flex-direction: column;
  }
}

.map-section {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.map-title {
    font-family: 'Righteous', sans-serif;
    font-size: clamp(3rem, 5vw, 3.7rem);
    border: 2px solid red;
}

@media (max-width: 430px) {
  .map-title {
    font-family: 'Righteous', sans-serif;
    font-size: clamp(2.2rem, 4.2vw, 2.7rem);
  }
}

svg {
  transform: scale(0.7);
  transform-origin: center;
  border: 2px solid red;
}

.pie-text {
  font-family: 'Montserrat', sans-serif;
}

@media (max-width: 430px) {
  svg {
    transform: scale(1.2);
    transform-origin: center;
  }
  .pie-text {
    font-size: 70px;
  }
}

.map-columns {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(1.5rem, 4.5vw, 2.5rem);
  padding: clamp(1.5rem, 4.5vw, 2.5rem) 0;
  background: #F0F0F0;
}

.map-column {
  text-align: left;
  width: 60vw;
  height: auto;
  border: clamp(5px, 1vw, 10px) solid #fff;
  border-radius: clamp(20px, 4vw, 40px);
  padding: 3vh 3vw;
}

@media (max-width: 430px) {
  .map-column {
    width: 80vw;
  }
}

.map-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.map-column li {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: #000;
  line-height: 1.5;
  white-space: normal;
  margin-bottom: 1vh;
  position: relative;
  padding-left: 2em;
}

.map-column-heading {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1.2rem, 2.2vw, 1.4rem);
  font-weight: 700;
  border-bottom: 1px solid #000;
  color: #000;
  white-space: nowrap;
}

.map-column li::before {
  content: "🔘";
  position: absolute;
  left: 0;
  top: 0;
  line-height: 1.5;
}

.products-container {
  display: block;
}

.product-card {
  display: flex;
  align-items: center;
  width: 70vw;
  height: 25vh;
  margin-bottom: 5vh;
  text-decoration: none;
  border-radius: clamp(8px, 1.2vw, 16px);
  color: #000;
}

.product-text {
  width: 75%;
  padding-left: 5%;
  font-size: clamp(1rem, 2.5vh, 3rem);
  font-family: 'Righteous', sans-serif;
}

.product-image {
  width: 25%;
  height: 100%;
  object-fit: contain;
}

.back-button {
  display: inline-block;
  padding: 10px 16px;
  background-color: #ABFF33;
  color: #000;
  text-decoration: none;
  border-radius: 6px;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.back-button:hover {
  background-color: #88cc00;
}

/* -------------------- Footer -------------------- */

footer {
  height: 15vh;
  width: 100%;
  background: #CCCCCC;
}
