/* cover-contacts: */

.cover-contacts {
  display: grid;
  grid-template-rows: auto auto;
  width: 100%;
  height: auto;
  position: relative;
}
.cover-contacts > div {
  display: grid;
}
.cover-contacts > div > div {
  align-self: center;
  text-align: left;
}

.cover-contacts > div:nth-child(1) {
  padding: max(170px, var(--fixed-header-safe-offset)) 60px 60px;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-color: #fff;
  position: relative;
}
.cover-contacts > div:nth-child(1) > div:nth-child(1) {
  position: relative;
  z-index: 2;
}
.cover-contacts > div:nth-child(1) > div:nth-child(2) {
  height: 100%;
  width: 100%;
  background: rgba(0, 0, 0, 0.5);
  box-shadow: inset 0px 0px 250px #061d01;
  position: absolute;
  z-index: 1;
  opacity: 1;
}

.cover-contacts h1 {
  margin-bottom: 0;
  text-shadow: 0 0 12px rgba(0, 0, 0, 0.75);
  font-size: 70px;
  line-height: 80px;
  color: #fff;
}

@media screen and (min-width: 1367px) {
  .cover-contacts {
    max-width: 1366px;
    min-height: auto;
    margin: 0 auto;
    border-radius: 0 0 40px 40px;
  }
  .cover-contacts > div:nth-child(1) {
    border-radius: 0 0 40px 40px;
  }
  .cover-contacts > div:nth-child(1) > div:nth-child(2) {
    border-radius: 0 0 40px 40px;
  }
}

@media screen and (max-width: 960px) and (min-width: 769px) {
  .cover-contacts {
    grid-template-columns: auto;
    grid-template-rows: auto 0px;
  }
  .cover-contacts > div:nth-child(1) {
    padding: max(150px, var(--fixed-header-safe-offset)) 40px 54px;
  }
}

@media screen and (max-width: 768px) {
  .cover-contacts {
    grid-template-columns: auto;
    grid-template-rows: auto 0px;
  }
  .cover-contacts > div:nth-child(1) {
    padding: max(116px, var(--fixed-header-safe-offset)) 20px 42px;
  }
  .cover-contacts h1 {
    font-size: 38px;
    line-height: 46px;
  }
}

/* contact-info: */

.contact-info {
  display: grid;
  grid-template-columns: 1fr 1fr 2fr;
  column-gap: 20px;
  align-items: center;
  padding: 60px;
  background: #f4f6f1;
}

.contact-info img,
.contact-info svg {
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  margin-right: 12px;
}

.contact-info svg [fill="#000000"] {
  fill: currentColor;
}

.contact-info svg [stroke="#000000"] {
  stroke: currentColor;
}

.contact-info a {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  color: #243027;
  overflow-wrap: anywhere;
}
.contact-info a:hover {
  color: #236b3f;
}

.contact-phone {
  font-size: 20px;
  font-weight: 600;
  color: #236b3f;
}

.contact-info > div {
  min-width: 0;
}

.contact-info article {
  color: #5f6a62;
  font-size: 17px;
  line-height: 28px;
}

.contact-info article > *:first-child {
  margin-top: 0;
}

.contact-info article > *:last-child {
  margin-bottom: 0;
}

@media screen and (min-width: 1367px) {
  .contact-info {
    max-width: 1366px;
    min-height: auto;
    margin: 0 auto;
  }
}

@media screen and (max-width: 960px) and (min-width: 769px) {
  .contact-info {
    grid-template-columns: auto auto 1fr;
    column-gap: 28px;
    align-items: start;
    padding: 48px 40px;
  }
}

@media screen and (max-width: 768px) and (min-width: 481px) {
  .contact-info {
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
    column-gap: 20px;
    row-gap: 22px;
    align-items: start;
    padding: 36px 20px;
  }
  .contact-info > div:nth-child(3) {
    grid-column: 1 / span 2;
    padding: 24px;
    border: 1px solid rgba(47, 143, 84, 0.16);
    border-radius: 16px;
    background: #fff;
  }
}

@media screen and (max-width: 480px) {
  .contact-info {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    row-gap: 12px;
    padding: 28px 16px;
    text-align: left;
  }
  .contact-info > div {
    padding: 18px;
    border: 1px solid rgba(47, 143, 84, 0.16);
    border-radius: 16px;
    background: #fff;
  }
  .contact-info p {
    margin: 0 0 12px;
  }
  .contact-info p:last-child {
    margin-bottom: 0;
  }
  .contact-info a {
    width: 100%;
    font-size: 15px;
    line-height: 22px;
  }
  .contact-info svg,
  .contact-info img {
    width: 24px;
    height: 24px;
    flex-basis: 24px;
    margin-right: 10px;
  }
  .contact-phone {
    font-size: 17px;
    line-height: 24px;
  }
  .contact-info > div:nth-child(3) {
    margin-top: 0;
  }
}

/* contact-cities: */

.contact-cities {
  width: 100%;
  padding: 54px 60px 60px;
  text-align: center;
  background: #fff;
}

.contact-cities h2 {
  margin-bottom: 20px;
  color: #383432;
}

.contact-cities ul {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.contact-cities ul li {
  display: block;
}
.contact-cities ul li a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  margin: 0;
  padding: 9px 16px;
  border: 1px solid rgba(47, 143, 84, 0.22);
  border-radius: 999px;
  font-weight: 600;
  color: #236b3f;
  transform: scale(1);
  transition: background 0.25s, border-color 0.25s, color 0.25s, transform 0.25s;
}
.contact-cities ul li a:hover {
  border-color: #236b3f;
  background: #236b3f;
  color: #fff;
  transform: translateY(-2px);
  cursor: pointer;
}

@media screen and (min-width: 1367px) {
  .contact-cities {
    max-width: 1366px;
    min-height: auto;
    margin: 0 auto;
  }
}

@media screen and (max-width: 480px) {
  .contact-cities {
    padding: 34px 16px 38px;
  }
  .contact-cities h2 {
    font-size: 28px;
    line-height: 36px;
  }
  .contact-cities ul li a {
    min-height: 34px;
    padding: 7px 12px;
    font-size: 14px;
    line-height: 18px;
  }
}

/* contact-map: */

.contact-map {
  width: 100%;
  height: 620px;
  min-height: 520px;
}

@media screen and (min-width: 1367px) {
  .contact-map {
    height: 600px;
    max-width: 1366px;
    min-height: auto;
    margin: 0 auto;
  }
  .contact-map iframe {
    border-radius: 40px;
  }
}

@media screen and (max-width: 960px) and (min-width: 769px) {
  .contact-map {
    height: 460px;
    min-height: auto;
  }
}

@media screen and (max-width: 768px) {
  .contact-map {
    height: 380px;
    min-height: auto;
  }
}

@media screen and (max-width: 480px) {
  .contact-map {
    height: 340px;
  }
}

/* 

about page:

*/
