@import url(../css/fonts.css);

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

:root {
  /* Colors */
  --color-primary: rgba(136, 194, 206, 1);
  --color-bg: rgba(244, 249, 252, 1);
  --color-text: rgba(16, 16, 15, 1);

  /* Typography */
  --font-base: "NeuePower", sans-serif;
  --font-size-base: 18px;
  --font-weight-normal: 400;
  --font-weight-bold: 700;
  --line-height-base: 1.3;

  /* Borders & Radius */
  --border-radius: 3px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
}

html {
  scroll-behavior: smooth;
}

html,
body {
  height: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
}

input,
button,
textarea,
select {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  outline: none;
}

button {
  cursor: pointer;
  background-color: transparent;
}

ul,
ol {
  list-style: none;
}

body {
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-base);
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-normal);
  line-height: var(--line-height-base);
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}

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

.link {
  color: var(--color-primary);
  position: relative;
  display: inline-block;
}

.link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1.5px;
  background: linear-gradient(
    to right,
    rgba(136, 194, 206, 1),
    rgba(136, 194, 206, 1)
  );
  opacity: 0;
  transition: opacity 0.1s ease-out, transform 0.1s ease-out;
}

.link:hover::after {
  opacity: 1;
  transition: opacity 0.1s ease-out;
}

.link:not(:hover)::after {
  transition: opacity 0.8s ease-out 0.8s;
  opacity: 0;
}

.main__btn {
  display: inline-block;
  text-align: center;
  padding: 10px 20px;
  background-color: var(--color-primary);
  color: #ffffff;
  font-weight: 700;
  font-size: 18px;
  line-height: 1;
  border-radius: 3px;

  border: 2px solid transparent;

  box-shadow: 0 4px 6px rgba(98, 100, 97, 0.15),
    0 2px 2px rgba(98, 100, 97, 0.35);

  transition: background-color 0.25s ease-out, border-color 0.25s ease-out,
    transform 0.2s ease-out;
  will-change: transform;
}

.main__btn:hover {
  background-color: rgba(98, 100, 97, 1);
  border-color: rgba(244, 249, 252, 1);
}

/* Header */
.header {
  background-color: rgba(98, 100, 97, 1);
  padding: 10px 0;
  color: #ffffff;
}

.header__container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header__logo img {
  height: 30px;
}

.header__nav {
  display: flex;
  gap: 80px;
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 60px;
}

.header__link {
  position: relative;
  display: inline-block;
  padding: 0px 15px 10px 15px;
  font-size: 26px;
  text-decoration: none;
}

.header__link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1.5px;
  background: linear-gradient(
    to right,
    rgba(136, 194, 206, 1),
    rgba(136, 194, 206, 1)
  );
  opacity: 0;
  transition: opacity 0.1s ease-out, transform 0.1s ease-out;
}

.header__link:hover::after {
  opacity: 1;
  transition: opacity 0.1s ease-out;
}

.header__link:not(:hover)::after {
  transition: opacity 0.8s ease-out 0.8s;
  opacity: 0;
}

.header__link--primary {
  font-style: italic;
  font-weight: 800;
}

.header__link--primary::after {
  opacity: 1 !important;
  background: linear-gradient(to right, #fff, #fff);
}

.header__link--primary:hover::after {
  background: linear-gradient(
    to right,
    rgba(136, 194, 206, 1),
    rgba(136, 194, 206, 1)
  );
}

.header__menu-button {
  display: none;
}

/* Hero */
.hero {
  background-image: url(../images/IMG.png);
  background-size: cover;
  background-position: center;
}

.hero__overlay {
  background: linear-gradient(
    rgba(214, 223, 232, 0) 0%,
    rgba(214, 223, 232, 1) 100%
  );
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  padding: 210px 0px;
}

.hero__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  max-width: 800px;
  letter-spacing: 0.06em;
}

.hero__title {
  font-weight: 800;
  font-size: 40px;
}

.hero__subtitle {
  font-size: 26px;
  margin-bottom: 60px;
}

.hero__cta {
  padding: 10px 168px;
}

/* Benefits */
.benefits {
  background-color: rgba(244, 249, 252, 1);
  padding: 100px 0;
}

.benefits__container {
  display: flex;
  flex-direction: column;
  gap: 100px;
}

.benefits__title {
  font-size: 26px;
  font-weight: 700;
  text-align: center;
}

.benefits__items {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  gap: 40px;
}

.benefits__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.benefits__icon img {
  min-width: 98px;
  margin-bottom: 60px;
  flex-shrink: 0;
}

.benefits__content {
  display: flex;
  flex-direction: column;
  gap: 20px;
  letter-spacing: 0.06em;
}

.benefits__subtitle {
  font-weight: 700;
  font-size: 20px;
}

.benefits__text {
  font-size: 18px;
}

/* CTA */
.cta {
  position: relative;
  background-image: url(../images/IMG2.png);
  background-size: cover;
  background-position: center;
}

.cta__overlay {
  background: linear-gradient(
    rgba(244, 249, 252, 0.6) 0%,
    rgba(244, 249, 252, 1) 100%
  );
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  padding: 80px 0;
}

.cta__container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.cta__content {
  max-width: 800px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.cta__title {
  font-size: 26px;
  font-weight: 800;
}

.cta__description,
.cta__note {
  font-size: 18px;
  line-height: 1.1;
  letter-spacing: 0.06em;
}

.cta__button {
  flex: 1;
}

/* Form */
.form-section {
  background: linear-gradient(
    rgba(244, 249, 252, 1) 0%,
    rgba(214, 223, 232, 1) 100%
  );
  padding: 100px 0;
}

.form-section__container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 60px;
}

.form-section__text {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.form-section__title {
  font-size: 40px;
  font-weight: 800;
}

.form-section__subtitle {
  font-size: 26px;
  letter-spacing: 0.06em;
}

/* Footer */
.footer {
  background-color: rgba(214, 223, 232, 1);
  padding: 60px 0 20px;
  border-top: 1.5px solid rgba(244, 249, 252, 1);
}

.footer__container {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 30px;
  padding-bottom: 60px;
  border-bottom: 1.5px solid rgba(244, 249, 252, 1);
}

.footer__column {
  color: rgba(98, 100, 97, 1);
  font-size: 18px;
  line-height: 1.1;
}

.footer__logo img {
  height: 40px;
}

.footer__heading {
  font-weight: 800;
  font-size: 26px;
  letter-spacing: 0.06em;
  margin-bottom: 40px;
  color: var(--color-text);
}

.footer__list {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}

.footer__list li {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer__list img {
  width: 18px;
  height: 18px;
}

.footer__column.footer-note {
  padding-left: 40px;
  border-left: 1.5px solid var(--color-primary);
}

.footer__bottom {
  text-align: center;
  padding-top: 20px;
  line-height: 1.1;
  font-size: 12px;
  color: rgba(98, 100, 97, 1);
}

.lead-form {
  max-width: 450px !important;
  margin: 0 auto !important;
  box-shadow: none !important;
  border-top: 30px solid var(--color-primary) !important;
  border-right: 1px solid var(--color-primary) !important;
  border-bottom: 10px solid var(--color-primary) !important;
  border-left: 1px solid var(--color-primary) !important;
}

.lead-form__header {
  display: none !important;
}

.lead-form__btn {
  width: 100% !important;
  margin: 0 !important;
  background: var(--color-primary) !important;
  animation: none !important;
  border: none !important;
  font-size: 18px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
}

.lead-form .checkbox-field__check {
  border-color: var(--color-primary) !important;
}

.lead-form .checkbox-field__check {
  background-color: var(--color-primary) !important;
}

.checkbox-field__text {
  text-align: left !important;
  font-size: 14px !important;
}

.checkbox-field__text a {
  color: var(--color-primary) !important;
}

.input-field__input,
.email-field__input,
.phone-field--iti input {
  border: 1px solid rgba(98, 100, 97, 1) !important;
  font-size: 18px !important;
}

.input-field__input::placeholder,
.email-field__input::placeholder,
.phone-field--iti input::placeholder {
  color: rgba(16, 16, 15, 1) !important;
}

.email-field__input,
.phone-field--iti input {
  border: 1px solid rgba(98, 100, 97, 1) !important;
  font-size: 18px !important;
}

/* Media Queries */
@media (max-width: 1024px) {
  .container {
    max-width: 784px;
    padding: 0;
  }

  .header__nav {
    display: none;
  }

  .header__link {
    font-size: 18px;
  }

  .header__link--primary::after {
    margin-top: 6px;
  }

  .header__menu-button {
    display: block;
  }

  .hero {
    background-image: url(../images/tab/img.webp);
  }

  .cta {
    background-image: url(../images/tab/img2.webp);
  }

  .hero__overlay {
    padding: 210px 0px 140px 0px;
  }

  .hero__content {
    text-align: center;
  }

  .hero__title {
    font-size: 32px;
    padding: 0px 40px;
  }

  .benefits__container {
    gap: 80px;
  }

  .benefits__items {
    flex-direction: column;
    gap: 80px;
  }

  .benefits__item {
    flex-direction: row;
    align-items: center;
    gap: 100px;
  }

  .benefits__icon img {
    margin: 0;
  }

  .benefits__content {
    text-align: left;
  }

  .cta__overlay {
    padding: 60px 0;
  }

  .cta__container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer__container {
    padding-bottom: 60px;
  }

  .footer__column {
    font-size: 16px;
  }

  .footer__heading {
    font-size: 16px;
    margin-bottom: 20px;
  }

  .footer__column.footer-note {
    padding: 0px 0px 17px 20px;
  }

  .footer__bottom {
    padding-top: 12px;
  }
}

@media (max-width: 600px) {
  .container {
    max-width: 100%;
    padding: 0 20px;
  }

  .header__container {
    position: relative;
  }

  .header__logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 64px;
    height: 20px;
  }

  .header__logo img {
    width: 100%;
    height: 100%;
  }

  .header__link--primary {
    display: none;
  }

  .header__link {
    font-size: 14px;
  }

  .header__actions {
    margin-left: auto;
  }

  .header__menu-button img {
    width: 20px;
    height: 20px;
  }

  .hero {
    background-image: url(../images/mob/img.webp);
  }

  .hero__overlay {
    background: linear-gradient(
      rgba(214, 223, 232, 0) 0%,
      rgba(214, 223, 232, 0.8) 100%
    );
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
  }

  .hero__overlay {
    padding: 100px 0px;
  }

  .hero__title {
    font-size: 28px;
    padding: 0;
  }

  .hero__subtitle {
    font-size: 20px;
    padding: 0px 10px;
  }

  .hero__cta {
    width: 100%;
    padding: 10px 0px;
  }

  .benefits__container {
    gap: 60px;
  }

  .benefits {
    padding: 60px 0px;
  }

  .benefits__items {
    gap: 40px;
  }

  .benefits__item {
    gap: 30px;
  }

  .benefits__icon img {
    min-width: 59px;
  }

  .benefits__subtitle {
    font-size: 18px;
  }

  .benefits__text {
    font-size: 16px;
  }

  .cta {
    background-image: url(../images/mob/img2.webp);
    background-position: top center;
  }

  .cta__overlay {
    background: linear-gradient(
      rgba(244, 249, 252, 0.1) 0%,
      rgba(244, 249, 252, 1) 100%
    );
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
  }

  .cta__description,
  .cta__note {
    font-size: 16px;
  }

  .cta__button {
    width: 100%;
  }

  .form-section {
    padding: 60px 0px;
  }

  .form-section__title {
    font-size: 28px;
  }

  .form-section__subtitle {
    font-size: 18px;
  }

  .footer__container {
    grid-template-columns: 1fr;
    gap: 60px;
    padding-bottom: 40px;
  }

  .footer__heading {
    font-size: 18px;
    letter-spacing: 0.06em;
  }

  .footer__column {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer__list {
    max-width: 220px;
  }

  .footer__list li {
    gap: 20px;
    text-align: left;
  }

  .footer__column.footer-note {
    border: none;
    border-top: 1.5px solid var(--color-primary);
    padding: 20px 0px 0px 0px;
  }
}
