* {
  padding: 0;
  margin: 0;
  border: 0;
}
*,
*:before,
*:after {
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}
:focus,
:active {
  outline: none;
}
a:focus,
a:active {
  outline: none;
}
nav,
footer,
header,
aside {
  display: block;
}
html,
body {
  background-color: #1d1c1c;
  height: max-content;
  overflow-x: hidden;
  width: 100%;
  font-size: 100%;
  line-height: 1;
  font-size: 1vw;
  -ms-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}
html {
  scroll-behavior: smooth;
}
input,
button,
textarea {
  font-family: inherit;
}
input::-ms-clear {
  display: none;
}
button {
  cursor: pointer;
}
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
  -webkit-box-shadow: 0 0 0px 1000px #020204 inset !important;
  -webkit-text-fill-color: #ffa74e !important;
}

button::-moz-focus-inner {
  padding: 0;
  border: 0;
}
a,
a:visited {
  text-decoration: none;
  color: #fefefe;
}
a:hover {
  text-decoration: none;
}
ul li {
  list-style: none;
}
img {
  vertical-align: top;
}
h1,
h2,
h3 {
  font-family: "Inter", Sans-Serif;
  color: #fefefe;
}
h1 {
  font-weight: 600;
  font-size: clamp(96px, 6.6vw, 128px);
}
h2 {
  font-weight: 400;
  font-size: clamp(32px, 2.2vw, 40px);
}
h3 {
  font-weight: 400;
  font-size: clamp(24px, 1.6vw, 32px);
}
p {
  color: #fefefe;
  font-family: "Inter", Sans-Serif;
  font-weight: 300;
  font-size: clamp(24px, 1.6vw, 32px);
}

main {
  padding: 0 60px;
  overflow: hidden;
}

header {
  overflow: hidden;
  margin-top: 250px;
  padding-left: 50%;
}
header h2 {
  font-size: clamp(96px, 6.6vw, 128px);
  margin-top: -10px;
}
header p {
  margin-top: 10px;
  font-weight: 500;
}
@media (max-width: 440px) {
  main {
    padding: 0 20px;
  }
  h1 {
    font-size: clamp(48px, 13.3vw, 60px);
  }
  h2 {
    font-size: clamp(24px, 6.6vw, 30px);
  }
  h3 {
    font-size: clamp(16px, 4.4vw, 20px);
  }
  p {
    font-size: clamp(16px, 4.4vw, 20px);
  }
  header {
    margin-top: 140px;
    padding-left: unset;
  }
  header h2 {
    font-size: clamp(48px, 13.3vw, 60px);
    margin-top: -5px;
  }
  header p {
    margin-top: 5px;
  }
}

.about {
  margin-top: 100px;
}
.about-div {
  display: flex;
  width: 100%;
  justify-content: space-between;
  margin-top: 60px;
}
.about article {
  display: grid;
  gap: 20px;
  width: 50%;
}
.about article p {
  width: clamp(540px, 41.6vw, 620px);
}
.slider-container {
  width: 340px;
  height: 340px;
  overflow: hidden;
  position: relative;
  margin: 0 auto;
}
.slides {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.7s ease;
}
.slide {
  flex: 0 0 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

@media (max-width: 440px) {
  .about {
    margin-top: 80px;
  }
  .about-div {
    flex-direction: column-reverse;
    margin-top: 40px;
  }
  .about article {
    width: 100%;
  }
  .about article p {
    width: 100%;
  }
  .slider-container {
    width: calc(100vw - 40px);
    height: calc(100vw - 40px);
    margin: 0 auto;
  }
  .slider {
    margin-top: 40px;
  }
}

.service {
  margin-top: 100px;
  position: relative;
}
.service button {
  margin-top: 20px;
  padding: 2px 30px;
  background: #fefefe;
  border-radius: 20px;
  position: absolute;
  right: 0;
}
.service a {
  font-size: clamp(24px, 1.6vw, 32px);
  font-family: "Inter", Sans-Serif;
  color: #1d1c1c;
}
.block {
  margin-top: 80px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
}
.block-1 {
  width: calc(50% - 20px);
  display: grid;
  gap: 20px;
}
.block-1 div {
  padding: 20px 20px;
  display: grid;
  height: 320px;
  border: 1px #fefefe solid;
  align-content: space-between;
}
.block-2 {
  width: 50%;
  display: grid;
  gap: 20px;
}
.block-2 div {
  padding: 20px 20px;
  display: grid;
  height: 206px;
  border: 1px #fefefe solid;
  align-content: space-between;
}
@media (max-width: 440px) {
  .service {
    margin-top: 80px;
  }
  .block {
    flex-direction: column;
    justify-content: center;
    row-gap: 20px;
  }
  .block-1 {
    width: 100%;
  }
  .block-1 div {
    padding: 10px 10px;
    row-gap: 40px;
    height: unset;
  }
  .block-2 {
    width: 100%;
  }
  .block-2 div {
    padding: 10px 10px;
    height: unset;
    row-gap: 40px;
  }
}

.price {
  margin-top: 100px;
  display: flex;
  justify-content: space-between;
}
.price img {
  width: 24%;
}
@media (max-width: 440px) {
  .price {
    margin-top: 80px;
    flex-direction: column;
    gap: 20px;
  }
  .price img {
    width: 100%;
  }
}

.form {
  margin-top: 100px;
  position: relative;
}
.feedback-form {
  margin-left: 50%;
  margin-top: 60px;
  width: 50%;
}
.feedback-form input {
  width: 100%;
  font-family: "Inter", Sans-Serif;
  font-size: clamp(24px, 1.6vw, 32px);
  color: #fefefe;
  background-color: unset;
  border-bottom: 1px #fefefe solid;
}
#phone {
  margin-top: 30px;
}
.feedback-form textarea {
  width: 100%;
  height: 190px;
  font-family: "Inter", Sans-Serif;
  font-size: clamp(24px, 1.6vw, 32px);
  color: #fefefe;
  background-color: unset;
  border: 1px #fefefe solid;
  padding-left: 2px;
}
.form-group p {
  margin-top: 30px;
  color: #757575;
}
.soglasie {
  margin-top: 20px;
  font-size: 14px;
}
.soglasie a {
  font-weight: 600;
  text-decoration: underline;
}
.submit-button {
  margin-top: 20px;
  font-size: clamp(32px, 2.2vw, 40px);
  font-family: "Inter", Sans-Serif;
  color: #1d1c1c;
  background-color: #fefefe;
  font-weight: 500;
  padding: 2px 24px 4px 24px;
  border-radius: 20px;
}
#messageContainer {
  font-size: 24px;
}
@media (max-width: 440px) {
  .form {
    margin-top: 80px;
  }
  .feedback-form {
    margin-left: unset;
    margin-top: 40px;
    width: 100%;
  }
  .feedback-form input {
    font-size: clamp(16px, 4.4vw, 20px);
  }
  #phone {
    margin-top: 20px;
  }
  .feedback-form textarea {
    font-size: clamp(16px, 4.4vw, 20px);
  }
  .form-group p {
    margin-top: 20px;
  }
  .soglasie {
    margin-top: 2px;
    font-size: 12px;
  }
  #messageContainer {
    font-size: 16px;
  }
}
.spinner {
  display: inline-block;
  width: 1em;
  height: 1em;
  border: 2px solid rgba(0, 0, 0, 0.1);
  border-left-color: #1d1c1c;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin-left: 8px;
  vertical-align: middle;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.submit-button.success {
  box-shadow: 2px 4px 12px 0 rgba(7, 255, 45, 0.25);
  transition: box-shadow 0.3s ease;
}
.submit-button:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.policy-massege {
  position: fixed;
  width: 850px;
  height: 641px;
  top: 32px;
  left: calc(50vw - 425px);
  z-index: 1200;
  background-color: rgba(29, 28, 28, 0.8);
  backdrop-filter: blur(10px);
  padding: 60px 40px;
  box-shadow: 6px 4px 30px 10px rgba(255, 255, 255, 0.25);
}
.policy-massege::before {
  content: "";
  background-color: #1d1c1c;
  opacity: 0.8;
  width: 100%;
  height: 100%;
  z-index: 1199;
  top: 0;
  left: 0;
}
.policy-massege div {
  margin-top: 60px;
  font-family: "Inter", Sans-Serif;
  color: #fefefe;
  font-size: 20px;
  font-weight: 500;
  display: flex;
  align-items: flex-start;
  gap: 5px;
}
.h2-2 {
  margin-top: 80px;
  margin-bottom: 60px;
}
.policy-massege div a {
  text-decoration: underline;
}
#checkbox {
  width: 18px;
  height: 18px;
}
.policy-phone {
  font-family: "Inter", Sans-Serif;
  font-size: 32px;
  font-weight: 500;
}
.policy-massege h2 {
  font-size: 32px;
}
.policy-close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 40px;
  color: #fefefe;
  cursor: pointer;
  z-index: 1201;
  font-family: "Inter", sans-serif;
  line-height: 1;
  transition: opacity 0.2s;
}
.policy-close:hover {
  opacity: 0.7;
}

.policy-phone.disabled {
  pointer-events: none;
  opacity: 0.5;
}
@media (max-width: 440px) {
  .policy-massege {
    width: 90%;
    left: 5%;
    padding: 20px 10px;
  }
  .policy-massege div {
    margin-top: 40px;
    font-size: 16px;
  }
  .h2-2 {
    margin-top: 100px;
    margin-bottom: 40px;
  }
  .policy-phone {
    font-size: 24px;
  }
  .policy-massege h2 {
    font-size: 24px;
  }
  .policy-close {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 30px;
  }
}
