@import url("https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap");

/* Reset and Base */
* {
  font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Montserrat", sans-serif;
  background: #ffffff;
  color: #111;
  line-height: 1.6;
}

html {
  scroll-behavior: smooth;
}

.top-line {
  background: #191b1f;
  position: relative;
  z-index: 9;
  box-shadow: 0px 2px 4px #000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
  padding: 5px 15px;
}

/* Navigation */
.nav {
  background: #161a1d;
  padding: 1rem 1.75rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #fff;
  position: fixed;
  z-index: 99;
  width: 100%;
  max-height: 85px;
  top: 0;
  left: 0;
  box-shadow: 0px 1px 3px 0px #1a1e1f;
}

.nav .logo {
  font-size: 1.2rem;
  z-index: 99;
}

.nav .logo img {
  max-width: 70px;
  height: auto;
}

.nav-links {
  display: flex;
  gap: 20px;
  flex-direction: column;
  list-style: none;
  position: absolute;
  z-index: 9;
  left: 0;
  width: 100%;
  top: 0px;
  background-color: #161a1d;
  padding: 120px 20px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  visibility: hidden;

  transition: all 0.53s ease;
}

.nav-links li {
  padding: 0px 10px;
  text-align: left;
}

.nav-links.active {
  display: flex;
  opacity: 1;
  visibility: visible;
  width: 100%;
  max-height: 500px;
  /* достаточно для всех пунктов */
}

.nav-links li a {
  color: white;
  font-weight: 300;
  text-decoration: none;
  transition: 0.33s ease;
}

.pluses-list {
  margin-top: 1rem;
}

.hero-content .btn {
  margin-top: 10px;
  text-shadow: -2px 1px 2px #053105;
}

.menu-toggle {
  position: relative;
  font-size: 24px;
  width: 24px;
  height: 24px;
  z-index: 999;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
}

.left-sec {
  width: 100%;
  margin-top: 30px;
}

.left-sec a {
  color: #fff;
  display: inline-block;
  margin: 10px;
  font-size: 18px;
  font-weight: 100;
}

/* Hero */
.hero {
  position: relative;
  height: 100vh;
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  text-align: left;
  padding: 0;
  overflow: hidden;
  z-index: 9;
}

/* Слой с фоновым изображением */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(22, 26, 29, 0.64), rgba(22, 26, 29, 0.64)), url("/img/bg.jpg") center center / cover no-repeat;
  filter: blur(2px);
  transform: scale(1.05);
  /* чтобы не было просветов по краям */
  z-index: -1;
}

.hero-content {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  padding: 0px 20px;
  font-weight: 300;
  height: calc(100vh - 85px);
}

.hero-content img {
  width: 100%;
  max-width: 54vw;
  filter: drop-shadow(2px 2px 4px #000);
  -webkit-filter: drop-shadow(2px 2px 4px #000);
}

.hero h1 {
  font-size: 8vw;
}

.hero p {
  font-size: 4vw;
  font-weight: 300;
  margin: 20px 0 30px 0;

  text-align: center;
  text-shadow: 2px 3px 2px #0f1113;
}

.main-h {
  margin-bottom: 0px;
}

.main-h p {
  margin: 0;
  font-size: 13px;
  font-weight: bold;
}

.btn {
  background-image: linear-gradient(-180deg, rgb(0, 226, 35) 0%, rgb(42, 147, 42) 96%);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 10px;
  text-decoration: none;
}

.light {
  background-color: #144f14;
}

/* About */
.about {
  padding: 5rem 1.1rem;
  text-align: center;
}

.about h2 {
  font-size: 26px;
  color: rgb(22, 31, 30);
  font-weight: 700;
  margin-bottom: 1rem;
}

.about p {
  color: rgb(22, 31, 30);
  line-height: 1.4;
  text-align: center;
  width: 100%;
  margin: 20px auto 0px;
  font-weight: 300;
  font-size: 16px;
}

.pluses-list ul {
  list-style: none;
  margin: 0;
  text-align: center;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: center;
}

.pluses-list ul li {
  width: 50%;
  margin-top: 1rem;
  padding: 1rem;
}

.pluses-list ul li:last-child {
  width: 80%;
}

.pluses-list ul li i {
  font-size: 3.5em;

  color: #11c025;
}

.pluses-list ul li p {
  margin-top: 1.3em;
  font-weight: 500;
  text-align: center;
  font-size: 0.75em;
  text-transform: uppercase;
}

.about span {
  font-size: 15px;
  font-weight: 800;
  text-transform: uppercase;
}

/* Services */
.services {
  display: flex;
  flex-direction: column;
  background: #0a3b0a;
  color: white;
}

.service {
  padding: 4rem 1rem;
  border-bottom: 1px solid #0a2c25;
}

.service h3 {
  font-size: 29px;
  font-weight: 800;
  margin: 20px 0px 0px;
  line-height: 1.2;
}

.service p {
  color: rgb(255, 255, 255);
  line-height: 1.2;
  margin-top: 20px;
  font-weight: 500;
  font-size: 14px;
  margin-bottom: 20px;
}

.service a {
  color: #fff;
  text-decoration: none;

  border: 1px solid #fff;
  font-size: 1.2rem;
  font-weight: 500;
  padding: 0.3em 1.9em;
  text-align: center;
  width: 100%;
}

.price {
  margin-top: 1.1rem;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.price p {
  font-size: 1.1em;
}

.price p {
  margin-top: 0;
}

p.l-pr {
  font-weight: 600;
  margin-top: 0;
}

.price span {
  font-weight: 600;
}

.service ul {
  padding: 0 0 0 20px;
  margin: 20px 0px;
  border: 1px solid #ffffff5c;

  list-style: circle;
  border-left: none;
  border-right: none;
}

.service ul li {
  font-size: 14px;
  margin: 20px 0px;
  font-weight: 400;
  line-height: 18px;
}

.mini-price {
  padding-left: 1rem;
}

.mini-price p {
  margin-top: 0;
  margin-bottom: 0.5rem;
}

.mini-price p span {
  font-weight: 500;
  font-size: 1.1rem;
  line-height: 1;
}

.linkzakaz {
  margin-top: 1rem;
  display: flex;
  width: 100%;
  margin: 0 auto;
}

/* Testimonials */
.testimonials {
  padding: 60px 20px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.tess-body {
  position: relative;
}

.testimonials h2 {
  margin-bottom: 2rem;
  font-size: 2rem;
  font-weight: bold;
}

.testimonial h4 {
  color: rgb(22, 31, 30);
  width: 100%;
  text-align: center;
  font-size: 1.4rem;
  font-weight: 700;
  padding: 38px 30px 10px;
  border-radius: 10px 10px 0px 0px;
  border: 1px solid rgba(22, 31, 30, 0.2);
  background: rgba(255, 255, 255, 0.85);
  position: relative;
}

.testimonial {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  box-shadow: rgba(13, 3, 28, 0.15) 0px 6px 12px;
  border: 1px solid rgba(22, 31, 30, 0.2);
  border-radius: 10px;
  position: relative;
  margin: 3em 0;
}

.testimonial p {
  color: rgb(22, 26, 29);
  margin-bottom: 20px;
  margin-top: 40px;
  width: 100%;
  font-weight: 700;
  text-align: center;
  font-size: 20px;
}

.testimonial blockquote {
  width: 100%;
  margin-top: 0;
  padding: 30px;
  display: flex;
  -webkit-box-pack: center;
  justify-content: center;
  box-sizing: border-box;
  border-top: 1px solid rgba(22, 26, 29, 0.2);
  position: relative;
}

.testimonial-list {
  max-width: 290px;
  display: flex;
  flex-direction: column;
}

.testimonial img {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  position: absolute;
  z-index: 3;
  top: -50px;
}

.testimonial blockquote {
  font-style: italic;
  color: rgb(22, 26, 29);
  line-height: 1.4;
  text-align: left;
  font-size: 18px;
  font-weight: 300;
}

/* Footer */
#contacts {
  background: #161a1d;
  color: #00e223;
  text-align: center;
  padding: 1.5rem;
  padding-top: 60px;
  width: 100%;
  display: flex;
  justify-content: center;
}

.footer-content h2 {
  margin-bottom: 40px;
  color: #fff;
  margin: 0px auto 50px;
  font-size: 26px;
  font-weight: 700;
}

.foot > svg {
  pointer-events: none;
  width: 100%;
  height: 100%;
  max-width: 5rem;
  max-height: 5rem;
  fill: rgb(0, 226, 35);
  margin-bottom: 0px;
}

.mini-heads {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
}

.top-line a {
  color: #0dcf17;
  text-decoration: none;
  font-size: 0.8em;
}

.top-line a i {
  margin-right: 15px;
  font-size: 1.5em;
  vertical-align: -0.075em;
}

i.fas.fa-phone {
  margin-right: 5px;
}

.background-deco {
  position: relative;
  z-index: 1;
  min-height: 40vh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem;
  background: linear-gradient(rgba(22, 26, 29, 0.64), rgba(22, 26, 29, 0.64)), url("/img/bg2.jpg") center center / cover no-repeat;
}

.quote_svg__to {
  stop-color: #29972a;
}

.quote_svg__from {
  stop-color: #02df23;
}

.testimonial svg {
  position: absolute;
  width: 36px;
  height: 36px;
  z-index: 2;
  left: 32px;
  top: -20px;
}

.background-deco h4 {
  display: flex;
  line-height: 1.5;
  font-size: 1.6rem;
  font-weight: 600;
  text-align: center;
  width: 100%;
  height: 100%;
  filter: drop-shadow(0px 2px 3px #000);
  color: #fff;
}

.contact-tree {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  justify-content: center;
}

.foot {
  min-width: 250px;
  width: 100%;
  padding: 20px;
}

.nav-center p {
  margin: 0;
  font-size: 2.7vw;
  text-transform: uppercase;
}

.contact-link a {
  text-decoration: none;
  display: block;
  width: 100%;
  text-align: center;
  color: rgb(255, 255, 255);
  margin-bottom: 6px;
  font-weight: 500 !important;
  font-size: 16px;
}

.contact-link {
  color: #fff;
  text-align: center;
  font-weight: 500;
  font-size: 16px;
}

.foot-form {
  padding-top: 50px;
  background: rgb(22, 26, 29);
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  display: flex;
  flex-direction: column;
  -webkit-box-align: center;
  width: 100%;
  max-width: 560px;
  margin: auto;
}

form {
  max-width: 560px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.oneline {
  max-width: 340px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
}

.social-foot {
  margin-top: 40px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.33s ease;
}

.social-foot a {
  color: #fff;
  margin: 5px 24px;
}

.oneline input {
  padding: 0px 30px;
  width: 100%;
  max-width: 560px;
  height: 50px;

  border-radius: 10px;
  background: no-repeat rgb(255, 255, 255);
  color: rgb(22, 26, 29);
}

.oneline .form-btn {
  border-radius: 10px;
  white-space: nowrap;
  color: rgb(255, 255, 255);
  background: linear-gradient(-180deg, rgb(0, 226, 35) 0%, rgb(42, 147, 42) 96%) no-repeat;
  box-shadow: none;
  margin-top: 20px;
  height: 50px;
  line-height: 50px;
  display: inline-block;

  max-width: 300px;
  width: auto;
  overflow: hidden;
  text-overflow: ellipsis;
  box-sizing: border-box;
  text-decoration: none;
  padding: 0px 40px;
  font-size: 14px;
  letter-spacing: 0.4px;
  cursor: pointer;
  position: relative;
  z-index: 1;
  word-break: initial;
  border: none;
}

.credit {
  font-size: 12px;
  color: #fafafa;
}

.foot-form form p {
  margin-bottom: 30px;
  font-size: 24px;
  font-weight: 700;
  line-height: 1;
  color: #fff;
}
.form-group{
  max-width: 300px;
  width: 100%;
}

    input[type="text"], input[type="submit"] {
      padding: 10px;
      font-size: 16px;
      margin-top: 10px;
      width: 100%;
      box-sizing: border-box;
      border-radius: 4px;
      border: 1px solid #ccc;
      outline: none;
      transition: border-color 0.3s;
    }
    input[type="text"]:focus {
      border-color: #007bff;
    }
    input[type="submit"] {
      background-color: #007bff;
      color: white;
      border: none;
      cursor: pointer;
    }
    input[type="submit"]:hover {
      background-color: #0056b3;
    }
    .success-msg {
      color: green;
      margin-top: 10px;
      display: none;
    }
   .modal {
      display: none;
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background-color: rgba(0, 0, 0, 0.8);
      justify-content: center;
      align-items: center;
      z-index: 1000;
      backdrop-filter:blur(5px);
    }

    .modal-content {
      background-color: #222;
      padding: 20px;
      border-radius: 5px;
      width: 90%;
      text-align: center;
      max-width: 500px;
      position: relative;
      display: flex;
      align-items: center;
      justify-content: center;
      flex-direction: column;
    }
    .modal-content p{
      font-size: 20px;
      color:#fff;
    }
    .modal-content h2{
      color:#fafafa;
    }
    .close-modal {
      position: absolute;
      top: 0px;
      right: 10px;
      font-size: 30px;
      cursor: pointer;
      color:#fafafa;
      background: none;
      border: none;
    }

    .open-modal {
      padding: 10px 20px;
      background-color: #00e223;
      color: #1d1e20;
      border: none;
      border-radius: 5px;
      cursor: pointer;
      font-weight: 600;
      text-transform: uppercase;
      transition: 0.33s ease;
    }

    .open-modal:hover {
      background-color: #02df08;
    }

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

    .form-group label {
      display: block;
      margin-bottom: 5px;
      color:#fafafa;
      font-size: 0.7em;
    }
    input#phone-1{
      margin-bottom: 15px;
    }

    .form-group input {
      width: 100%;
      padding: 8px;
      border: 1px solid #ccc;
      border-radius: 4px;
      text-align: center;
      font-size: 17px;
    }

    .submit-btn {
      padding: 10px 20px;
      background-color: #02ce22;
      color: #222;
      border: none;
      border-radius: 5px;
      cursor: pointer;
      font-size: 15px;
      font-weight: 500;
    }

    .submit-btn:hover {
      background-color: #218838;
    }
.page-form p{
  margin-top: 30px;
    margin-bottom: 20px;
    font-weight: 600;
    font-size: 1.6em;
}
    .success-message {
      display: none;
      text-align: center;
      color: #28a745;
      font-weight: bold;
    }
    .error-message {
      display: none;
      color: red;
      font-size: 14px;
      margin-top: 5px;
    }


    .nav-link.active {
  color: #00e223;
  transition: 0.3s ease;
}