@import url("https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,300;0,400;0,700;0,900;1,700;1,900&display=swap");
:root {
  --color-primary: #ED1C24;
  --color-white: #FFFFFF;
  --color-dark: #2F2F2F;
}

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

body {
  font-family: "Lato", sans-serif;
  color: var(--color-dark);
  background-color: var(--color-white);
}

.header {
  position: relative;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: var(--color-primary);
  padding: 16px 32px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.header__logo {
  width: 162px;
  height: auto;
}

.hero {
  position: relative;
  height: 1300px;
  display: flex;
  justify-content: center;
  overflow: hidden;
}
@media (max-width: 768px) {
  .hero {
    height: auto;
  }
}
.hero__backgrounds {
  position: absolute;
  inset: 0;
}
.hero__bg {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero__bg--a {
  z-index: 1;
}
.hero__bg--b {
  z-index: 2;
  opacity: 0.85;
  width: 100%;
  height: auto;
  padding: 208px 32px 32px;
  object-fit: contain;
  mix-blend-mode: luminosity;
}
.hero__bg--c {
  z-index: 3;
}
.hero__content {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 1440px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 128px 32px 0;
}
@media (max-width: 1200px) {
  .hero__content {
    padding: 96px 32px 0;
  }
}
@media (max-width: 992px) {
  .hero__content {
    padding: 64px 32px 0;
  }
}
@media (max-width: 768px) {
  .hero__content {
    padding: 32px 16px 96px;
    max-width: 100%;
  }
}
.hero__title {
  color: #fff;
  text-align: center;
  text-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  font-family: Lato;
  font-size: 81px;
  font-style: normal;
  font-weight: 700;
  line-height: 130%;
  letter-spacing: -4.05px;
  margin-bottom: 8px;
}
@media (max-width: 992px) {
  .hero__title {
    font-size: 64px;
    letter-spacing: -3.2px;
  }
}
@media (max-width: 768px) {
  .hero__title {
    font-size: 50px;
    letter-spacing: -2.5px;
  }
}
.hero__subtitle {
  color: #fff;
  text-align: center;
  text-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  font-family: Lato;
  font-size: 32px;
  font-style: normal;
  font-weight: 500;
  line-height: 130%;
  letter-spacing: -1.6px;
  margin-bottom: 64px;
}
@media (max-width: 992px) {
  .hero__subtitle {
    font-size: 24px;
    letter-spacing: -1.2px;
  }
}
.hero__actions {
  display: flex;
  gap: 16px;
  margin-bottom: 18px;
}
@media (max-width: 730px) {
  .hero__actions {
    flex-direction: column;
  }
}
.hero__btn {
  width: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 60px;
  text-decoration: none;
  cursor: pointer;
  transition: opacity 0.2s;
}
.hero__btn:hover {
  opacity: 0.9;
}
@media (max-width: 730px) {
  .hero__btn {
    width: 100%;
  }
}
.hero__btn--cta {
  background: var(--color-primary);
  color: #fff;
  padding: 12px 24px;
  font-family: Lato;
  font-size: 18px;
  font-style: normal;
  font-weight: 600;
  line-height: 130%;
  letter-spacing: -0.9px;
}
@media (max-width: 768px) {
  .hero__btn--cta {
    padding-inline: 16px;
  }
}
@media (max-width: 576px) {
  .hero__btn--cta {
    font-size: 14px;
  }
}
.hero__btn--phone {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  padding: 12px 16px;
  gap: 16px;
  font-family: Lato;
  font-size: 24px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
}
@media (max-width: 576px) {
  .hero__btn--phone {
    font-size: 16px;
  }
}
.hero__phone-icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  border-radius: 60px;
  background: #fff;
}
.hero__phone-icon {
  width: 16px;
  height: 16px;
}
.hero__form {
  background: rgba(47, 47, 47, 0.75);
  backdrop-filter: blur(6px);
  padding: 32px;
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  max-width: 820px;
}
@media (max-width: 768px) {
  .hero__form {
    padding-inline: 16px;
  }
}
.hero__form input[type=text],
.hero__form input[type=email],
.hero__form input[type=tel],
.hero__form textarea {
  width: 100%;
  height: 45px;
  padding: 12px 16px;
  border: none;
  border-bottom: 1px solid transparent;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-family: Lato;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 130%;
  letter-spacing: -0.8px;
  outline: none;
  transition: border-color 0.2s, opacity 0.2s;
}
.hero__form input[type=text]::placeholder,
.hero__form input[type=email]::placeholder,
.hero__form input[type=tel]::placeholder,
.hero__form textarea::placeholder {
  color: #fff;
  opacity: 0.8;
}
.hero__form input[type=text]:focus,
.hero__form input[type=email]:focus,
.hero__form input[type=tel]:focus,
.hero__form textarea:focus {
  opacity: 1;
  border-bottom: 1px solid #fff;
}
.hero__form textarea {
  height: 130px;
  resize: vertical;
}
.hero__field {
  display: flex;
  flex-direction: column;
  flex: 1;
}
.hero__form-row {
  display: flex;
  gap: 16px;
}
@media (max-width: 768px) {
  .hero__form-row {
    flex-direction: column;
  }
}
.hero__error {
  color: #ff6b6b;
  font-family: Lato;
  font-size: 14px;
  margin-top: 4px;
}
.hero__input--error {
  border-bottom: 1px solid #ff6b6b !important;
}
.hero__privacy--error .hero__checkbox {
  border-color: #ff6b6b;
}
.hero__form-footer {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 4px;
}
@media (max-width: 768px) {
  .hero__form-footer {
    flex-direction: column;
    align-items: flex-start;
  }
}
.hero__footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
@media (max-width: 576px) {
  .hero__footer-row {
    flex-direction: column;
    align-items: flex-end;
  }
}
.hero__privacy {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  cursor: pointer;
  flex: 1;
}
.hero__privacy a {
  color: #fff;
  text-decoration: underline;
}
@media (max-width: 576px) {
  .hero__privacy {
    width: 100%;
  }
}
.hero__checkbox-input {
  position: absolute;
  width: 0;
  height: 0;
  opacity: 0;
  pointer-events: none;
}
.hero__checkbox-input:checked + .hero__checkbox::after {
  content: "";
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #fff;
}
.hero__checkbox {
  width: 20px;
  height: 20px;
  min-width: 20px;
  border: 1px solid #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}
.hero__privacy-text {
  color: #fff;
  font-family: Lato;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 130%;
  letter-spacing: -0.8px;
}
.hero__submit {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0;
  background: none;
  color: #fff;
  border: none;
  font-family: Lato;
  font-size: 18px;
  font-style: normal;
  font-weight: 600;
  line-height: 130%;
  letter-spacing: -0.9px;
  cursor: pointer;
  white-space: nowrap;
  transition: opacity 0.2s;
  flex-shrink: 0;
}
.hero__submit:hover {
  opacity: 0.9;
}
.hero__submit-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  background: #fff;
  border-radius: 50%;
}
.hero__submit-arrow svg {
  stroke: var(--color-dark, #000);
}
.hero__submit:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.hero__submit-error {
  color: #ff6b6b;
  font-family: Lato;
  font-size: 14px;
  display: none;
}
.hero__submit-error--visible {
  display: block;
}
.hero__submit-success {
  color: #4caf50;
  font-family: Lato;
  font-size: 14px;
  font-weight: 600;
  display: none;
}
.hero__submit-success--visible {
  display: block;
}

.why-us {
  background: var(--color-primary);
  padding: 96px 0;
}
.why-us__container {
  max-width: 1920px;
  margin: 0 auto;
  padding: 0 32px;
}
@media (max-width: 768px) {
  .why-us__container {
    padding: 0 16px;
  }
}
.why-us__title {
  color: #FFF;
  text-align: center;
  font-family: Lato;
  font-size: 40px;
  font-style: normal;
  font-weight: 700;
  line-height: 130%;
  letter-spacing: -2px;
  margin-bottom: 64px;
}
@media (max-width: 768px) {
  .why-us__title {
    font-size: 32px;
  }
}
.why-us__grid {
  display: flex;
  width: 100%;
}
@media (max-width: 1200px) {
  .why-us__grid {
    flex-wrap: wrap;
  }
}
.why-us__card {
  flex: 1 0 0;
  height: 304px;
  background: var(--color-white);
  padding: 36px 28px 32px;
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-right: 1px solid #ED1C24;
}
.why-us__card:last-child {
  border-right: none;
}
@media (max-width: 1200px) {
  .why-us__card {
    flex: 1 0 50%;
    height: 250px;
  }
  .why-us__card:last-child {
    flex: 1 0 100%;
    border-top: 1px solid #ED1C24;
  }
}
@media (max-width: 768px) {
  .why-us__card {
    height: 210px;
    padding: 16px;
  }
}
@media (max-width: 576px) {
  .why-us__card {
    flex: 1 0 100%;
    border-right: none;
    border-top: 1px solid #ED1C24;
  }
  .why-us__card:first-child {
    border-top: none;
  }
}
.why-us__icon {
  width: 84px;
  height: 84px;
  object-fit: contain;
}
@media (max-width: 768px) {
  .why-us__icon {
    width: 70px;
    height: 70px;
  }
}
.why-us__card-title {
  color: #2F2F2F;
  font-family: Lato;
  font-size: 32px;
  font-style: normal;
  font-weight: 400;
  line-height: 130%;
  letter-spacing: -0.64px;
}
@media (max-width: 992px) {
  .why-us__card-title {
    font-size: 24px;
  }
}

.services {
  padding: 96px 0;
}
@media (max-width: 768px) {
  .services {
    padding-top: 48px;
  }
}
.services__container {
  max-width: 1920px;
  margin: 0 auto;
  padding: 0 32px;
}
@media (max-width: 768px) {
  .services__container {
    padding: 0 16px;
  }
}
.services__title {
  color: #ED1C24;
  text-align: center;
  font-family: Lato;
  font-size: 40px;
  font-style: normal;
  font-weight: 700;
  line-height: 130%;
  letter-spacing: -2px;
  margin-bottom: 64px;
}
@media (max-width: 768px) {
  .services__title {
    font-size: 32px;
  }
}
.services__grid {
  display: flex;
  width: 100%;
}
@media (max-width: 1200px) {
  .services__grid {
    flex-wrap: wrap;
  }
}
.services__card {
  position: relative;
  height: 304px;
  flex: 1 0 0;
  overflow: hidden;
  cursor: pointer;
}
.services__card:hover .services__image {
  transform: scale(1.05);
}
@media (max-width: 1200px) {
  .services__card {
    flex: 1 0 50%;
  }
  .services__card:last-child {
    flex: 1 0 100%;
  }
}
@media (max-width: 768px) {
  .services__card {
    flex: 1 0 100%;
    height: 240px;
  }
}
.services__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
.services__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.25);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 12px 16px;
}
.services__card-title {
  color: #FFF;
  text-align: center;
  text-shadow: 0 4px 25px #000;
  font-family: Lato;
  font-size: 32px;
  font-style: normal;
  font-weight: 600;
  line-height: 130%;
  letter-spacing: -0.64px;
}
@media (max-width: 768px) {
  .services__card-title {
    font-size: 28px;
  }
}

.footer {
  background: var(--color-primary);
}
.footer__main {
  display: flex;
}
@media (max-width: 992px) {
  .footer__main {
    flex-direction: column-reverse;
  }
}
.footer__left {
  width: 50%;
  display: flex;
  flex-direction: column;
}
@media (max-width: 992px) {
  .footer__left {
    width: 100%;
  }
}
.footer__map {
  flex: 1;
  position: relative;
}
.footer__leaflet {
  width: 100%;
  height: 100%;
  min-height: 400px;
  z-index: 1;
  filter: grayscale(100%);
}
.footer__piva {
  background: var(--color-primary);
  padding: 16px 32px;
  color: #FFF;
  font-family: Lato;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 130%;
  letter-spacing: -0.8px;
}
.footer__right {
  width: 50%;
  padding: 64px;
}
@media (max-width: 1400px) {
  .footer__right {
    padding-inline: 32px;
  }
}
@media (max-width: 992px) {
  .footer__right {
    width: 100%;
  }
}
@media (max-width: 768px) {
  .footer__right {
    padding: 32px 16px;
  }
}
.footer__title {
  color: #FFF;
  font-family: Lato;
  font-size: 40px;
  font-style: normal;
  font-weight: 700;
  line-height: 130%;
  letter-spacing: -2px;
  margin-bottom: 10px;
}
.footer__subtitle {
  color: #FFF;
  font-family: Lato;
  font-size: 24px;
  font-style: normal;
  font-weight: 400;
  line-height: 120%;
  letter-spacing: -0.48px;
  margin-bottom: 64px;
}
.footer__form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 64px;
}
.footer__form input[type=text],
.footer__form input[type=email],
.footer__form input[type=tel],
.footer__form textarea,
.footer__form .footer__select {
  width: 100%;
  height: 45px;
  padding: 12px 16px;
  border: none;
  border-bottom: 1px solid transparent;
  background: rgba(47, 47, 47, 0.1);
  color: #FFF;
  font-family: Lato;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 130%;
  letter-spacing: -0.8px;
  outline: none;
  transition: border-color 0.2s;
}
.footer__form textarea {
  width: 100%;
  height: 130px;
  resize: vertical;
}
.footer__form input::placeholder,
.footer__form textarea::placeholder {
  color: #FFF;
  opacity: 0.8;
}
.footer__form input:focus,
.footer__form textarea:focus,
.footer__form .footer__select:focus {
  border-bottom: 1px solid #FFF;
}
.footer__phone-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  background: rgba(47, 47, 47, 0.1);
  padding: 12px 16px;
  gap: 16px;
  text-decoration: none;
  color: #FFF;
  font-family: Lato;
  font-size: 24px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
}
@media (max-width: 768px) {
  .footer__phone-btn {
    font-size: 16px;
  }
}
.footer__phone-icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  border-radius: 50%;
  background: #FFF;
}
.footer__phone-icon {
  width: 16px;
  height: 16px;
}
.footer__field {
  display: flex;
  flex-direction: column;
  flex: 1;
}
.footer__error {
  color: #FFD600;
  font-family: Lato;
  font-size: 14px;
  margin-top: 4px;
}
.footer__input--error {
  border-bottom: 1px solid #FFD600 !important;
}
.footer__privacy--error .footer__checkbox {
  border-color: #FFD600;
}
.footer__form-row {
  display: flex;
  gap: 16px;
}
@media (max-width: 768px) {
  .footer__form-row {
    flex-direction: column;
  }
}
.footer__select {
  appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='rgba(255,255,255,0.6)' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 32px;
}
.footer__select option {
  color: var(--color-dark);
  background: var(--color-white);
}
.footer__form-footer {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
@media (max-width: 768px) {
  .footer__form-footer {
    flex-direction: column;
    align-items: flex-start;
  }
}
.footer__footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
@media (max-width: 576px) {
  .footer__footer-row {
    flex-direction: column;
    align-items: flex-end;
  }
}
.footer__privacy {
  display: flex;
  align-items: center;
  gap: 16px;
  cursor: pointer;
  flex: 1;
}
.footer__privacy a {
  color: #FFF;
  text-decoration: underline;
}
@media (max-width: 576px) {
  .footer__privacy {
    width: 100%;
  }
}
.footer__checkbox-input {
  position: absolute;
  width: 0;
  height: 0;
  opacity: 0;
  pointer-events: none;
}
.footer__checkbox-input:checked + .footer__checkbox::after {
  content: "";
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #FFF;
}
.footer__checkbox {
  width: 20px;
  height: 20px;
  min-width: 20px;
  border: 1px solid #FFF;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.footer__privacy-text {
  color: #FFF;
  font-family: Lato;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 130%;
  letter-spacing: -0.8px;
}
.footer__submit {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0;
  background: none;
  color: #FFF;
  border: none;
  font-family: Lato;
  font-size: 18px;
  font-style: normal;
  font-weight: 600;
  line-height: 130%;
  letter-spacing: -0.9px;
  cursor: pointer;
  white-space: nowrap;
  transition: opacity 0.2s;
  flex-shrink: 0;
}
.footer__submit:hover {
  opacity: 0.8;
}
.footer__submit-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  background: #FFF;
  border-radius: 50%;
}
.footer__submit-arrow svg {
  stroke: var(--color-dark, #000);
}
.footer__submit:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.footer__submit-error {
  color: #FFD600;
  font-family: Lato;
  font-size: 14px;
  display: none;
}
.footer__submit-error--visible {
  display: block;
}
.footer__submit-success {
  color: #4caf50;
  font-family: Lato;
  font-size: 14px;
  font-weight: 600;
  display: none;
}
.footer__submit-success--visible {
  display: block;
}
