:root {
    --akcent-color:#1ba148;
    --akcent-color-h:#179140;
    --yellow-color:#d5c40a;
    --blue-color:#274094;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Roboto', sans-serif;
  background: #f4f4f4;
  color: #222;
  line-height: 1.6;
}
body.lock {
    overflow: hidden;
}
img {
  width: 100%;
  display: block;
  object-fit: cover;
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
}

.container {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 60px 0;
}

.section-head {
  margin-bottom: 50px;
  text-align: center;
}

.section-head h2 {
  font-size: 38px;
  text-transform: uppercase;
  font-weight: 800;
}

.grid {
  display: grid;
  gap: 30px;
}

.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(0,0,0,.9);
}

.header__wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 90px;
}

.nav__list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.nav__list a {
  color: #fff;
  font-size: 12px;
  text-transform: uppercase;
  font-weight: 400;
}
.nav__list li {
    position: relative;
}
.nav__list li::after {
    position: absolute;
    content: '';
    left: 0;
    bottom: 0;
    width: 0;
    height: 1px;
    background: var(--akcent-color);
    transition: width 0.3s ease 0s;
}
.nav__list li a:hover{
    color: var(--akcent-color);
}
.nav__list li:hover::after {
    width: 100%;
}


.pll-parent-menu-item{
    position: relative;
    list-style: none;
}

.pll-parent-menu-item > a{
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

/* sub menu */

.pll-parent-menu-item .sub-menu{
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    min-width: 180px;
    background: #111;
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: .3s;
    box-shadow: 0 10px 30px rgba(0,0,0,.08);
    z-index: 100;
}

/* open */
.pll-parent-menu-item.active .sub-menu{
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* items */
.pll-parent-menu-item .sub-menu li{
    list-style: none;
}

.pll-parent-menu-item .sub-menu a{
    display: flex;
    align-items: center;
    gap: 8px;

    padding: 10px 16px;

    transition: .3s;
}

.pll-parent-menu-item .sub-menu a:hover{
    background: #f5f5f5;
}

input.wpcf7-submit,
.header__btn {
  background: #29a839;
  color: #fff;
  padding: 10px 24px;
  font-size: 14px;
  text-transform: uppercase;
  font-weight: 400;
  transition: .3s;
}

.header__btn:hover {
  background: #1e7e2a;
}

.burger {
  display: none;
}
.main-hero {
  height: 85vh;
}
.hero img {
  height: 85vh;
  object-fit: cover;
}

.card,
.service-card {
  background: #fff;
}

.card__image {
  position: relative;
}

.card__image span {
  position: absolute;
  top: 0;
  left: 0;
  background: #000;
  color: #fff;
  padding: 6px 12px;
  font-size: 12px;
  text-transform: uppercase;
}

.card__content,
.service-card__content {
  padding: 22px;
}
.info-card {
    padding: 0;
}
.info-card img {
    margin-bottom: 15px;
}
.card__content a {
  position: relative;
  display: inline-flex;
  align-items: center;
}
.card__content a .arrow:before {
    content: "\203A";
    color: var(--blue-color);
    line-height: 28px;
    font-size: 22px;
    position: absolute;
    right: -40px;
    width: 30px;
    height: 30px;
    text-align: center;
    top: 50%;
    border: 1px solid var(--blue-color);
    border-radius: 50%;
    margin-top: -16px;
    transition: all 0.3s ease 0s;
}
.card__content a:hover .arrow:before {
    color: var(--akcent-color);
    border: 1px solid var(--akcent-color);
}
.card__content a:hover {
    color: var(--akcent-color);
}

.card h3,
.service-card h3,
.info-card h3 {
  margin-bottom: 15px;
  font-size: 24px;
  font-weight: 400;
}
.card p,
.service-card p,
.info-card p {
  margin-bottom: 20px;
  color: #666;
}
.card .card__content p {
    min-height: 14rem; 
}
.card a,
.service-card a,
.info-card a,
.about-item span {
  color: var(--blue-color);
  font-weight: 400;
}
.info-card a,
.service-card a {
    position: relative;
    display: inline-flex;
    align-items: center;
}
.service-card__content p {
    min-height: 3rem;
}
.info-card p {
    min-height: 12rem;
}
.info-card a .arrow:before,
.service-card a .arrow:before {
    content: "\203A";
    color: var(--blue-color);
    line-height: 28px;
    font-size: 22px;
    position: absolute;
    right: -40px;
    width: 30px;
    height: 30px;
    text-align: center;
    top: 50%;
    border: 1px solid var(--blue-color);
    border-radius: 50%;
    margin-top: -16px;
    transition: all 0.3s ease 0s;
}
.info-card a:hover .arrow:before,
.service-card a:hover .arrow:before {
    color: var(--akcent-color);
    border: 1px solid var(--akcent-color);
}
.info-card a:hover,
.service-card  a:hover {
    color: var(--akcent-color);
}


.about-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.about-item {
  position: relative;
  min-height: 400px;
  overflow: hidden;
}

.about-item img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-item .overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.3);
  transition: all 0.3s ease 0s;
}
.about-item:hover .overlay {
  background: rgba(0,0,0,.5);
}
.about-item__content {
  position: relative;
  z-index: 2;
  padding: 40px;
  color: #fff;
}

.about-item__content h3 {
  font-size: 34px;
  margin-bottom: 15px;
  text-transform: uppercase;
}

.about-item__content p {
  margin-bottom: 20px;
}
.about-item__content span {
    position: relative;
    font-weight: 400;
    color: var(--akcent-color);
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease 0s;
}

.about-item__content span .arrow:before {
    content: "\203A";
    color: var(--akcent-color);
    line-height: 28px;
    font-size: 22px;
    position: absolute;
    right: -40px;
    width: 30px;
    height: 30px;
    text-align: center;
    top: 50%;
    border: 1px solid var(--akcent-color);
    border-radius: 50%;
    margin-top: -16px;
    transition: all 0.3s ease 0s;
}
.about-item__content:hover span .arrow:before {
    color: var(--yellow-color);
    border: 1px solid var(--yellow-color);
}
.about-item__content:hover span {
    color: var(--yellow-color);
}
.contacts__wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.contacts__map iframe,
.contact-form__map iframe {
  width: 100%;
  height: 100%;
  min-height: 500px;
  border: 0;
}

.contacts__info {
  color: #2e2e2e;
}
.contacts__info a {
  color: var(--akcent-color);
}
.contacts__info h3 {
  margin-bottom: 30px;
  background: #25a537;
  color: #fff;
  text-transform: uppercase;
  font-weight: 400;
  font-size: 22px;
  padding: 20px;
}

.contacts__info li {
  margin-bottom: 20px;
}

.team-card {
  display: flex;
  gap: 10px;
  align-items: center;
}
.team-card img {
  width: 120px;
  height: 160px;
  object-fit: cover;
}
.team-card h3 {
  margin-bottom: 10px;
}
.team-card .team-list {
    border-top: 1px solid #171717;
    padding-top: 15px;
}
.team-card .team-list li {
    display: flex;
    align-items: center;
}
.team-card .team-list li a {
    color: #000;
    font-size: 14px;
    font-weight: 400;
}
.team-card .team-list li img {
    width: 16px;
    height: auto;
    margin-right: 6px;
}
.team-card a {
  color: #25a537;
  font-weight: 700;
}

.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-bottom: 60px;
}

.contact-form__content {
  background: #081f3f;
  padding: 80px;
  color: #fff;
}

.contact-form__content h2 {
  margin-bottom: 40px;
  font-size: 34px;
  text-transform: uppercase;
}

.form-group {
  margin-bottom: 25px;
}

.form-group label {
  display: block;
  margin-bottom: 10px;
}

.wpcf7-form p label span input,
.wpcf7-form p label span textarea {
  width: 100%;
  border: none;
  padding: 12px;
  font-size: 16px;
}

.wpcf7-form p span textarea {
  height: 180px;
  resize: none;
}

.wpcf7-form p .wpcf7-submit {
  border: none;
  background: var(--akcent-color);
  color: #fff;
  text-transform: uppercase;
  padding: 16px 30px;
  cursor: pointer;
  font-weight: 600;
}
.wpcf7-form p .wpcf7-submit:hover {
    background: var(--akcent-color-h);
}

.footer {
  background: #232323;
  padding: 70px 0 0;
  color: #fff;
}

.footer__wrapper {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 30px;
  padding-bottom: 40px;
}
.footer-widget p {
    font-size: 14px;
    font-weight: 300;
}
.footer-widget p a {
    text-decoration: underline;
}
.footer__logo {
    max-width: 240px;
}
.footer h4 {
  margin-bottom: 20px;
  text-transform: uppercase;
  font-weight: 400;
  color: #25a537;
}

.footer li {
  margin-bottom: 12px;
  text-transform: uppercase;
  font-size: 14px;
  font-weight: 400;
}
.footer li a:hover {
    color: var(--akcent-color);
}
.footer a,
.footer p {
  color: #ffffff;
}
.footer-copyright {
    background-color: #111;
    padding: 14px 0;
}
.footer-copyright span {
    font-size: 13px;
    font-weight: 400;
    color: #aaa;
}
@media(max-width: 1100px) {
  .card .card__content p {
    min-height: 7rem;
  }
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-grid {
    grid-template-columns: 1fr;
  }

  .contact-form,
  .contacts__wrapper,
  .footer__wrapper {
    grid-template-columns: 1fr;
  }

}

@media(max-width: 768px) {
  .info-card p {
    min-height: 7rem;
  }
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  .header__wrapper {
    min-height: 70px;
  }
  .custom-logo-link .custom-logo {
      max-width: 120px;
   }
  .nav {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    background: #171717;
    padding: 40px 20px;
    transition: .3s;
  }
  .nav.active {
    left: 0;
    height: 100%;
  }
  .nav__list {
    flex-direction: column;
    padding: 15px;
  }
  .nav__list li {
    text-align: center;
  }
  .pll-parent-menu-item .sub-menu {
    left: calc(50% - 90px);
  }
  
  
  .burger {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 5px;
    border: none;
    background: transparent;
    margin-top: 10px;
    width: 30px;
    height: 24px;
  }
  .burger span {
    position: absolute;
    width: 100%;
    height: 2px;
    background: #fff;
    transition: all 0.2s;
    right: 0;
  }
  .burger span:nth-child(1n) {
    top: 0;
  }  
  .burger span:nth-child(2n){
    top: 7px;
  }
  .burger span:nth-child(3n) {
    top: 14px;
  } 
  .burger.active span:nth-child(1n) {
    transform: rotate(-45deg);
    opacity: 1;
    top: 6px;
  }  
  .burger.active span:nth-child(2n){
    opacity: 0;
    top: 7px;
  }
  .burger.active span:nth-child(3n) {
    transform: rotate(45deg);
    opacity: 1;
    top: 6px;
  } 

  .header__btn {
    font-size: 12px;
    padding: 8px 16px;
  }

  .hero img {
    height: 60vh;
  }

  .section-head h2 {
    font-size: 28px;
  }

  .about-item__content h3,
  .contacts__info h3,
  .contact-form__content h2 {
    font-size: 28px;
  }

  .contacts__info,
  .contact-form__content {
    padding: 40px 25px;
  }


}

@media(max-width: 480px) {
.contacts__info {
    padding: 20px 0px;
}
}