* {
  	margin: 0;
  	padding: 0;
  	box-sizing: border-box;
}

body {
	background: #ffffff;
	font-family: 'Roboto', sans-serif;
}

body.main {
	background: rgb(36,178,151);
	background: linear-gradient(90deg, rgba(36,178,151,1) 0%, rgba(0,106,94,1) 52%, rgba(8,71,61,1) 86%, rgba(9,66,56,1) 100%);
	width: 100%;
	height: 100vh;
}

.main-bg {
	min-height: 850px;
	position: relative;
	overflow: hidden;
	max-width: 1920px;
	margin: 0 auto;
}

.page {
	overflow-x: hidden;
	width: 100%;
	height: 100vh;
}

.main-title {
	position: relative;
	top: 90px;
	left: 140px;
	color: #43E3C5;
	font-size: 65px;
	line-height: 70px;
	z-index: 2;
}

.page .main-title {
	position: relative;
	top: 90px;
	left: 140px;
	color: #006A5E;
	font-size: 65px;
	line-height: 70px;
	z-index: 2;
  font-weight: 300;
}

.sub-title {
	position: relative;
	top: 100px;
	left: 140px;
	color: #fff;
	font-size: 45px;
	line-height: 50px;
	z-index: 2;
}

.page .sub-title {
	position: relative;
	top: 125px;
	left: 140px;
	color: #006A5E;
  font-size: 40px;
  line-height: 50px;
  font-weight: 300;
  margin-bottom: 30px;
}

.main-text {
	position: relative;
	top: 210px;
	left: 140px;
	color: #fff;
	font-size: 24px;
	font-weight: 300;
	width: 560px;
}

.page .main-text {
	position: relative;
	top: 210px;
	left: 140px;
	color: #006A5E;
	font-size: 24px;
	font-weight: 300;
	width: 560px;
}

.page .main-text a {
	color: #006A5E;
}

.page .main-text ul {
	padding-left: 40px;
}

.copyright {
	font-size: 16px;
	color: #fff;
	opacity: 30%;
	position: relative;
	top: 440px;
	left: 0px;
}

.page .copyright {
	color: #006A5E;
	padding-bottom: 40px;
  opacity: 90%;
	top: 0px;
}

.main-bg-img {
	position: absolute;
	z-index: -1;
	top: -65px;
	left: -65px;
}

header {
	width: 100%;
}

.wrap {
	width: 1280px;
	margin: 0 auto;
	position: relative;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 30px 0px;
  background-color: transparent;
  color: white;
  max-width: 1280px;
  margin: 0 auto;
}

.menu-block {
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.lang {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  color: rgba(0,106,94,0.6);
}

.lang .active {
  color: rgba(0,106,94,1.0);
}

.lang a {
  color: rgba(0,106,94,0.6);
  text-decoration: none;
  transition: color 0.3s;
}

.main .lang {
  color: rgba(255,255,255,0.6);
}

.main .lang a {
  color: rgba(255,255,255,0.6);
}

.main .lang .active {
  color: rgba(255,255,255,1.0);
}

.lang a:hover {
  color: #00bcd4;
}

.logo {
  font-size: 1.5rem;
  font-weight: bold;
}

.menu {
  display: flex;
  gap: 60px;
  list-style: none;
  margin-left: 60px;
}

.menu a {
  color: #006A5E;
  text-decoration: none;
  transition: color 0.3s;
  text-transform: uppercase;
}

.main .menu a {
	color: white;
}

.menu a:hover {
  color: #00bcd4;
}

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.burger div {
  width: 25px;
  height: 3px;
  background-color: white;
}

.main-img {
	position: absolute;
	right: 0;
	top: 100px;
}

.inner-text {
    position: relative;
    top: 120px;
    left: 140px;
    color: #006A5E;
    font-size: 16px;
    line-height: 160%;
    font-weight: 300;
    width: 560px;
    margin-bottom: 150px;
}

.inner-text a {
    color: #006A5E;
    font-size: 16px;
    line-height: 160%;
    font-weight: 400;
}

.inner-sub-title {
    position: relative;
    top: 90px;
    left: 140px;
    color: #006A5E;
    font-size: 40px;
    line-height: 60px;
    z-index: 2;
}

.page .main-img img {
  max-width: 500px;
}


h3 {
  text-transform: uppercase;
}

.flex-block {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 60px;
  padding: 60px 0 0 0;
  max-width: 1000px;
  margin: 0 auto;
}

.reverse {
  flex-direction: row-reverse;
}

.flex-title {
  position: relative;
  color: #006A5E;
  font-size: 40px;
  line-height: 50px;
  font-weight: 300;
  margin-bottom: 30px;
}

.flex-text {
    color: #006A5E;
    font-size: 16px;
    line-height: 160%;
    font-weight: 300;
}

.flex-text ul {
    margin-left: 40px;
    margin-bottom: 10px;
}

.flex-text ol {
    margin-left: 40px;
}

.flex-text ul li {
    color: #006A5E;
    font-size: 16px;
    line-height: 160%;
    font-weight: 300;
    margin-bottom: 2px;
}

.inner-text ul li ul li {
    margin-left: 20px;
}

.flex-img img {
  max-width: 400px;
}

.flex {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 100px;
  padding-bottom: 60px;
}

.button {
  padding: 6px 22px;
  border-radius: 30px;
  border: 2px solid #006A5E;
  display: block;
  width: fit-content;
  color: #006A5E;
  margin-top: 20px;
  font-weight: 600;
}

.flex-text a.button {
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s;
}

.inner-text a.button {
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s;
}

.button:hover {
  background: #00bcd4;
  border-color: #00bcd4;
  color: #fff;
}

.contacts-block {
  width: 250px;
}

.grid {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr 1fr 1fr;
  margin-bottom: 30px;
}

@media (max-width: 768px) {
  .menu {
    display: none;
    flex-direction: column;
    gap: 10px;
    position: absolute;
    top: 60px;
    right: 20px;
    background-color: #333;
    padding: 10px;
    border-radius: 5px;
    z-index: 1000; /* Ensure menu is above other elements */
  }

  .grid {
    display: grid;
    gap: 20px;
    grid-template-columns: 1fr;
    margin-bottom: 30px;
  }

  .lang {
    margin-left: 130px;
  }

  .menu.active {
    display: flex;
    height: 100vh;
        flex-direction: column;
        gap: 20px;
        position: fixed;
        top: 0px;
        right: 0px;
        background: rgb(36, 178, 151);
        background: linear-gradient(90deg, rgba(36, 178, 151, 1) 0%, rgba(0, 106, 94, 1) 52%, rgba(8, 71, 61, 1) 86%, rgba(9, 66, 56, 1) 100%);
        padding: 40px;
        border-radius: 0px;
        z-index: 1000;
        width: 100%;
        left: 0;
        margin-left: 0;
  }

  .burger {
    display: flex;
    z-index: 1001; /* Ensure menu is above other elements */
  }

  .navbar {
  	justify-content: space-between;
  	padding: 10px 20px;
  	max-width: 100%;
    position: relative;
    z-index: 3;
	}

.main-img {
	display: block;
  top: 400px;
}

.main-img img {
  width: 300px;
}

.main-title {
    position: relative;
    top: 90px;
    left: 50px;
    color: #43E3C5;
    font-size: 34px;
    line-height: 40px;
    z-index: 2;
}

.sub-title {
    position: relative;
    top: 95px;
    left: 50px;
    color: #fff;
    font-size: 24px;
    line-height: 30px;
    z-index: 2;
}

.main-text {
    position: relative;
    top: 120px;
    left: 50px;
    font-size: 16px;
    font-weight: 300;
    width: 320px;
}

.copyright {
    top: 560px;
    left: 0px;
    font-size: 13px;
    margin-top: 40px;
}

.burger div {
    background-color: #fff;
}

.page .burger div {
    background-color: #006A5E;
}

.menu a {
    color: #fff;
}

.page .main-title {
    position: relative;
    top: 70px;
    left: 50px;
    color: #006A5E;
    font-size: 26px;
    font-weight: 500;
    line-height: 38px;
    z-index: 2;
    width: calc(100% - 50px);
    max-width: 300px;
}

.page .main-text {
    position: relative;
    top: 210px;
    left: 20px;
    color: #006A5E;
    font-size: 24px;
    font-weight: 300;
    width: 360px;
}

.page .sub-title {
    position: relative;
    top: 130px;
    left: 20px;
    color: #006A5E;
    font-size: 22px;
    line-height: 32px;
}

.wrap {
	width: 100%;
  padding: 0 10px;
}

.main-bg-img img {
    max-width: 250px;
}

.main-bg-img {
    top: -25px;
    left: -20px;
}

.inner-text {
    position: relative;
    top: 150px;
    left: 0px;
    padding: 0 20px;
    color: #006A5E;
    font-size: 16px;
    line-height: 160%;
    font-weight: 300;
    width: 100%;
    margin-bottom: 150px;
}

.page .main-img img {
    max-width: 150px;
}

.page .main-img {
    top: 100px;
}

.flex-block {
    flex-wrap: wrap;
    gap: 10px;
    padding: 30px 0;
}

.flex-img {
  margin: 0 auto;
}

.flex-img img {
    max-width: 250px;
}

.flex-title {
    font-size: 24px;
    line-height: 32px;
}

.flex {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 20px;
    flex-wrap: wrap;
}

}

/* ==== dropdown «Услуги» (минимальные правки, цвета наследуются) ==== */
.menu li.has-submenu { position: relative; }

/* стрелочка вниз — из текущего цвета текста (currentColor) */
.services-toggle { display: inline-flex; align-items: center; gap: 6px; text-transform: uppercase; }
.services-toggle .chev {
  display: inline-block;
  width: 0; height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 6px solid currentColor; /* цвет берётся из .menu a (белый на главной, зелёный на внутренних) */
  transition: transform .2s ease;
}

/* выпадающее меню по умолчанию скрыто */
.submenu {
  display: none;
  position: absolute;
  left: 0;
  top: calc(100% + 0px);
  min-width: 260px;
  list-style: none;
  margin: 0;
  padding: 8px 0;
  background: transparent;                 /* фон под существующую палитру */
  border: 1px solid rgba(0,0,0,.06);
  box-shadow: 0 8px 20px rgba(0,0,0,.08);
  z-index: 1000;
}

/* ссылки в подменю — как обычные пункты меню, но блочно */
.submenu li a {
  display: block;
  padding: 10px 14px;
  text-transform: none;             /* дочерние — без caps, как обычно в списках */
  color: #006A5E;                   /* ваш основной зелёный */
  text-decoration: none;
  transition: background .2s ease, color .2s ease;
}
.submenu li a:hover { background: transparent; color: #00bcd4; }

/* десктоп: раскрытие по hover (мышь/тачпад) */
@media (hover:hover) and (pointer:fine) {
  .has-submenu:hover > .submenu { display: block; }
}

/* открытое состояние — для клика (мобайл и десктоп) */
.has-submenu.open > .submenu { display: block; }
.has-submenu.open .services-toggle .chev { transform: rotate(180deg); }

/* мобильная адаптация (под вашу уже существующую .menu.active) */
@media (max-width: 768px) {
  /* в мобильном меню подменю идёт «потоком» под пунктом */
  .submenu {
    position: static;
    box-shadow: none;
    border: 0;
    padding: 0;
    background: transparent;       /* фон берётся из вашего градиента меню */
  }
  .submenu li a {
    padding: 10px 0 10px 16px;     /* небольшой отступ слева, чтобы читалось как дочерний */
    color: #fff;                    /* в mobile у вас .menu a — белые */
  }
}
