@font-face {
  font-family: "LucidaBold";
  src: url("../fonts/LucidaGrandeBold.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: "HelvaLight";
  src: url("../fonts/helvetica_light.otf") format("opentype");
  font-weight: normal;
  font-style: normal;
}
body:has(.form) {
  display: flex;
  flex-direction: column;
}
body:has(.form) header {
  flex-grow: 0;
}
body:has(.form) main {
  flex-grow: 1;
}
body:has(.form) footer {
  flex-grow: 0;
}

header {
  background: #3756a6;
  color: #fff;
}
header .wrapper {
  height: 275px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 88%;
  margin: 0 auto;
}
header .left h1 {
  font-family: "LucidaBold", sans-serif;
  font-size: 64px;
  text-transform: uppercase;
}
header .left h2 {
  font-family: "HelvaLight", sans-serif;
  margin-top: 15px;
  font-size: 24px;
}
header .center {
  display: none;
  font-family: "HelvaLight", sans-serif;
  font-size: 18px;
  border: 2px solid #fff;
  padding: 10px 25px 10px 15px;
  border-radius: 5px;
}
header .center a {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
}
header .center a img {
  height: 20px;
  width: 20px;
}
header .right {
  display: flex;
  flex-direction: column;
  gap: 25px;
}
header .right .top span {
  opacity: 0.9;
  font-size: 16px;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  font-weight: 100;
}
header .right .bottom {
  display: flex;
  gap: 60px;
}
header .right .bottom a {
  display: flex;
  align-items: center;
  color: #fff;
  font-size: 16px;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  font-weight: 100;
  opacity: 0.9;
  gap: 4px;
  cursor: pointer;
}

main .form {
  display: none;
}
main .form.open {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  width: 800px;
  margin: 0 auto;
  height: 100%;
  gap: 25px;
  position: relative;
}
main .form .return-arrow {
  position: absolute;
  top: 15px;
  left: 0;
  cursor: pointer;
  padding: 15px;
}
main .form .return-arrow img {
  width: 34px;
  height: 28px;
}
main .form__title {
  font-family: "LucidaBold", sans-serif;
  text-transform: uppercase;
  font-size: 28px;
  margin-bottom: 25px;
}
main .form .row {
  display: flex;
  gap: 20px;
}
main .form .row .default-input {
  width: 400px;
}
main .form .default-input,
main .form textarea {
  background: rgb(241, 240, 240);
  font-family: "HelvaLight", sans-serif;
  padding: 15px 15px;
  border-radius: 3px;
  width: 820px;
  font-size: 16px;
  transition: all 0.4s;
}
main .form .default-input:focus,
main .form textarea:focus {
  box-shadow: 0px 0px 10px rgb(212, 212, 212);
}
main .form textarea {
  resize: none;
  height: 100px;
}
main .form .send {
  padding: 15px 30px;
  font-family: "HelvaLight", sans-serif;
  font-weight: 500;
  font-size: 16px;
  background: #3756a6;
  border-radius: 3px;
  color: #fff;
  transition: all 0.3s;
}
main .form .send:hover {
  box-shadow: 0 0 10px #7f8db3;
}
main .wrapper {
  max-width: 58%;
  margin: 0 auto;
}
main .wrapper.hide {
  display: none;
}
main .paint-all {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
main .paint-all .text {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-top: 105px;
}
main .paint-all .text h3 {
  font-family: "LucidaBold", sans-serif;
  text-transform: uppercase;
  font-size: 30px;
}
main .paint-all .text p {
  font-family: "HelvaLight", sans-serif;
  font-size: 18px;
  line-height: 30px;
}
main .ad {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 40px;
  padding: 80px 0 0 0;
}
main .ad span {
  font-family: "LucidaBold", sans-serif;
  text-transform: uppercase;
  font-size: 30px;
}
main .ad img {
  -o-object-fit: contain;
     object-fit: contain;
  max-height: 800px;
}
main .quote__btn-wrapper {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-top: 90px;
}
main .quote__btn-wrapper button {
  padding: 20px 35px;
  background: #3756a6;
  border-radius: 14px;
  color: #fff;
  font-size: 18px;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  font-weight: 500;
}
main .quote {
  margin-top: 90px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  padding: 54px 0 40px 0;
  background: linear-gradient(to bottom, #3756a6 20%, #273e79 100%);
}
main .quote p {
  color: #fff;
  max-width: 650px;
  margin: 15px 0;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  font-weight: 100;
  font-size: 18px;
  line-height: 27px;
  text-align: center;
}
main .quote span {
  font-size: 18px;
  font-family: "LucidaBold", sans-serif;
  color: #fff;
}
main .quote .links-block {
  display: flex;
  gap: 60px;
  margin-top: 60px;
}
main .quote .links-block a {
  display: flex;
  align-items: center;
  color: #fff;
  font-size: 16px;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  font-weight: 100;
  opacity: 0.9;
  gap: 4px;
  cursor: pointer;
}
main .photos {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-top: 130px;
  gap: 50px;
}
main .photos h5 {
  font-size: 32px;
  font-family: "LucidaBold", sans-serif;
  text-transform: uppercase;
  text-align: center;
}
main .photos .photos-block {
  display: flex;
  flex-wrap: wrap;
  gap: 3%;
}
main .photos .photos-block .photo-item {
  display: flex;
  flex-direction: column;
  flex: 30%;
  margin-top: 30px;
}
main .photos .photos-block .photo-item img {
  width: 100%;
  height: 224px;
  -o-object-fit: cover;
     object-fit: cover;
}
main .photos .photos-block .photo-item .title {
  font-size: 18px;
  font-family: "LucidaBold", sans-serif;
  text-transform: uppercase;
  line-height: 24px;
  margin-top: 14px;
}
main .photos .photos-block .photo-item .desc {
  font-size: 18px;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  font-weight: 400;
  opacity: 0.9;
  line-height: 22px;
}
main .licensed {
  display: flex;
  align-items: center;
  justify-content: center;
}
main .licensed .licensed-block {
  border-radius: 14px;
  background: linear-gradient(to bottom, #3756a6 20%, #273e79 100%);
  color: #fff;
  width: 820px;
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  margin: 110px 0;
}
main .licensed .licensed-block .image img {
  width: 69px;
  height: 69px;
}
main .licensed .licensed-block .text {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
main .licensed .licensed-block .text h6 {
  font-size: 32px;
  font-family: "LucidaBold", sans-serif;
}
main .licensed .licensed-block .text span {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  font-weight: 100;
  opacity: 0.9;
  font-size: 18px;
}

footer {
  background: #3756a6;
  color: #fff;
}
footer .wrapper {
  height: 140px;
  max-width: 58%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
footer .wrapper span {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  font-weight: 100;
  font-size: 16px;
  opacity: 0.9;
}
footer .wrapper .link-block {
  display: flex;
  flex-direction: column;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  font-weight: 100;
  font-size: 16px;
  gap: 6px;
}
footer .wrapper .link-block a {
  color: #fff;
  cursor: pointer;
}