/* Tilda artboard, scaled to the viewport. Coordinates are the 1200 design. */
#rec866620545.al-stage {
  height: calc(100vw * 565 / 1200) !important;
  min-height: 0 !important;
  max-height: none !important;
  overflow: hidden !important;
}
#rec866931420.al-stage {
  height: calc(100vw * 790 / 1200) !important;
  min-height: 0 !important;
  overflow: hidden !important;
}

.al-stage {
  width: 100%;
  background: transparent;
  overflow: hidden;
}
.al-stage--form { height: calc(100vw * 565 / 1200); }
.al-stage--calc { height: calc(100vw * 790 / 1200); }

.al-board {
  position: relative;
  width: 1200px;
  transform: scale(calc(100vw / 1200px));
  transform-origin: top left;
  font-family: Inter, Onest, Arial, sans-serif;
  color: #fff;
}
.al-board--form { height: 565px; }
.al-board--calc { height: 790px; }

.al-board *,
.al-board *::before,
.al-board *::after { box-sizing: border-box; }

.ab {
  position: absolute;
  top: calc(var(--t) * 1px);
  left: calc(var(--l) * 1px);
  width: calc(var(--w) * 1px);
  height: calc(var(--h) * 1px);
}

.card {
  display: flex;
  flex-direction: column;
  border-radius: 20px;
  padding: 48px 32px 22px;
}
.card--blue { background: #1a8f86; }
.card--white { background: #fff; color: #434343; }
.card--form {
  display: flex;
  flex-direction: column;
  padding: 48px 32px 22px;
}

.corner {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
}
.corner--group {
  background-color: #1a8f86;
  -webkit-mask: url("https://static.tildacdn.com/tild3131-6537-4137-b339-323235373536/group_work_24dp_4888.svg") center / contain no-repeat;
  mask: url("https://static.tildacdn.com/tild3131-6537-4137-b339-323235373536/group_work_24dp_4888.svg") center / contain no-repeat;
}

.card h2 {
  margin: 0 0 16px;
  width: 230px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.28;
}
.card--white h2 { width: 265px; color: #434343; }
.card p {
  margin: 0 0 14px;
  width: 100%;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.35;
}
.card--white p { width: 100%; }
.card--form .lead { width: 100%; }

.card--form .al-form { margin-top: auto; width: 100%; }
.card--form .al-field { display: block; margin: 0 0 4px; }
.card--form .al-form input,
.card--form .al-form select {
  width: 100%;
  height: 50px;
  border: 0;
  border-radius: 10px;
  background: #fff;
  color: #000;
  padding: 0 16px;
  font-family: Onest, Arial, sans-serif;
  font-size: 15px;
  font-weight: 400;
  line-height: 50px;
  outline: none;
  box-shadow: none;
}
.card--form .al-form input::placeholder {
  color: #8a8a8a;
  font-size: 15px;
  font-weight: 400;
}
.card--form .al-form input:focus,
.card--form .al-form input:focus-visible,
.card--form .al-form select:focus,
.card--form .al-form select:focus-visible {
  outline: none !important;
  box-shadow: none !important;
}
.card--form .al-form input:-webkit-autofill,
.card--form .al-form input:-webkit-autofill:focus {
  -webkit-text-fill-color: #000;
  caret-color: #000;
  box-shadow: 0 0 0 1000px #fff inset;
}
.card--form .al-note {
  margin: 8px 0 0;
  color: #fff;
  font-size: 10px;
  line-height: 1.35;
  text-align: center;
}
.card--form .al-form__msg {
  margin-top: 8px;
  padding: 8px 10px;
  border-radius: 10px;
  background: #fff;
  color: #1a8f86;
  font-size: 14px;
}
.card--form .al-form__msg.is-error { color: #8a1c1c; }

.al-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 311px;
  height: 60px;
  margin-top: auto;
  border: 0;
  border-radius: 10px;
  color: #fff;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}
.al-stage a.al-btn,
.al-stage a.al-btn:hover {
  color: #fff;
}
.al-btn--red { background: #ca3a2e; }
.al-btn--red:hover { background: #b33228; }
.card--white .al-btn { width: 100%; }
.al-btn--blue { background: #1a8f86; }
.al-btn--blue:hover { background: #148078; }
.al-btn--tg { background: #229ed9; }
.al-btn--tg:hover { background: #1b8ec6; }
.card--form .al-btn {
  width: 100%;
  margin-top: 8px;
  background: #1a8f86;
  color: #fff;
  border: 2px solid #fff;
}
.card--form .al-btn:hover { background: #148078; }

.photo {
  margin: 0;
  border-radius: 20px;
  overflow: hidden;
  background: #1a8f86;
}
.photo img,
.photo video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.calc-title {
  margin: 0;
  color: #ca3a2e;
  font-size: 60px;
  font-weight: 700;
  line-height: 93px;
  letter-spacing: -0.02em;
}
.fx {
  background-color: #ca3a2e;
  -webkit-mask: url("https://static.tildacdn.com/tild6461-3663-4534-a234-383236346435/function_24dp_AD2928.svg") center / contain no-repeat;
  mask: url("https://static.tildacdn.com/tild6461-3663-4534-a234-383236346435/function_24dp_AD2928.svg") center / contain no-repeat;
}
.calc-lead {
  margin: 0;
  color: #434343;
  font-size: 14px;
  line-height: 1.3;
}
.calc-controls {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.calc-controls select,
.card--form .al-form select {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 56px;
  border: 0;
  border-radius: 12px;
  background-color: #fff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath fill='%231a8f86' d='M1.4.6 6 5.2 10.6.6 12 2 6 8 0 2z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 12px 8px;
  color: #000;
  padding: 0 40px 0 18px;
  font-family: Onest, Arial, sans-serif;
  font-size: 15px;
  font-weight: 400;
  line-height: 56px;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.calc-controls select:focus,
.calc-controls select:active,
.card--form .al-form select:focus,
.card--form .al-form select:active {
  outline: none !important;
  background-color: #fff !important;
  box-shadow: none !important;
}

.badge { pointer-events: none; z-index: 2; }
.badge img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  transform: rotate(20deg) scale(1.18);
  transform-origin: center center;
}
.badge p {
  position: absolute;
  inset: 0;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding-bottom: 10px;
  color: #1a8f86;
  font-size: 64px;
  font-weight: 700;
  letter-spacing: -0.03em;
  white-space: nowrap;
}
.badge p span { font-size: 1em; }

.sheet {
  background: #fff;
  color: #434343;
  border-radius: 20px;
  padding: 48px 32px 22px;
  display: flex;
  flex-direction: column;
}
.sheet h3 {
  margin: 0 0 15px;
  width: 265px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.28;
}
.sheet p {
  margin: 0 0 10px;
  width: 100%;
  font-size: 14px;
  line-height: 1.35;
}
.sheet .al-btn { width: 100%; margin-top: auto; }
.mark {
  position: absolute;
  top: 16px;
  right: 18px;
  width: 36px;
  height: 36px;
}

.screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

/* Phone: Tilda 320 artboard, scaled to the viewport. */
@media (max-width: 959px) {
  #rec866620545.al-stage {
    height: calc(100vw * 1481 / 320) !important;
    min-height: 0 !important;
    overflow: hidden !important;
  }
  #rec866931420.al-stage {
    height: calc(100vw * 940 / 320) !important;
    min-height: 0 !important;
    overflow: hidden !important;
  }

  .al-board {
    width: 320px;
    transform: scale(calc(100vw / 320px));
    transform-origin: top left;
    display: block;
    padding: 0;
  }
  .al-board--form { height: 1481px; }
  .al-board--calc { height: 940px; }

  .card.card--blue:not(.card--form) { --t: 10 !important; --l: 10 !important; --w: 300 !important; --h: 206 !important; }
  .card--form { --t: 228 !important; --l: 10 !important; --w: 300 !important; --h: 494 !important; }
  .photo { --t: 734 !important; --l: 10 !important; --w: 300 !important; --h: 440 !important; }
  .card--white { --t: 1186 !important; --l: 10 !important; --w: 300 !important; --h: 285 !important; }

  .card,
  .card--form { padding: 44px 22px 14px; }
  .card h2,
  .card--white h2,
  .card p,
  .card--white p,
  .card--form .lead,
  .sheet h3,
  .sheet p,
  .calc-lead { width: auto; }
  .card h2 { font-size: 16px; margin-bottom: 10px; }
  .card p { font-size: 13px; margin-bottom: 8px; }
  .card--form .al-form { width: auto; }
  .corner { top: 12px; right: 12px; width: 28px; height: 28px; }
  .al-btn { width: 100%; height: 48px; }

  .fx { --t: 26 !important; --l: 11 !important; --w: 28 !important; --h: 28 !important; }
  .calc-title {
    --t: 50 !important;
    --l: 27 !important;
    --w: 270 !important;
    font-size: 30px;
    line-height: 1.1;
    height: auto !important;
  }
  .calc-lead {
    --t: 90 !important;
    --l: 27 !important;
    --w: 260 !important;
    font-size: 12px;
    height: auto !important;
  }
  .calc-controls {
    --t: 162 !important;
    --l: 10 !important;
    --w: 300 !important;
    grid-template-columns: 1fr;
    gap: 8px;
    height: auto !important;
  }
  .calc-controls select { height: 48px; }

  .badge {
    --t: 278 !important;
    --l: 10 !important;
    --w: 300 !important;
    --h: 100 !important;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .badge img { display: none; }
  .badge p {
    position: relative;
    inset: auto;
    width: 100%;
    padding: 0;
    justify-content: center;
    font-size: 42px;
    line-height: 1;
    gap: 2px;
  }
  .badge p span { font-size: 1em; }
  .badge::after {
    content: "";
    width: 250px;
    height: 54px;
    margin-top: 2px;
    background: url("https://static.tildacdn.com/tild6131-3534-4562-a330-616534633830/stock-vector-curved-.png") center / 100% 100% no-repeat;
  }

  .al-board--calc .sheet:nth-child(6) { --t: 388 !important; --l: 10 !important; --w: 300 !important; --h: 230 !important; }
  .al-board--calc .sheet:nth-child(7) { --t: 632 !important; --l: 10 !important; --w: 300 !important; --h: 294 !important; }
  .sheet { padding: 44px 22px 14px; }
  .sheet h3 { font-size: 16px; }
  .sheet p { font-size: 13px; }
  .sheet .al-btn { height: 46px; }
}
