html,
body {
  margin: 0;
  padding: 0;
  min-width: 320px;
}

body {
  background: #fff;
}

#allrecords {
  width: 100%;
  overflow: hidden;
}

.record,
.t-record-container {
  width: 100%;
}

.tmod,
[data-tilda-mode="edit"] .tmod {
  display: none !important;
}

.t450,
.t450__overlay {
  position: fixed !important;
}

@media screen and (min-width: 981px) {
  [data-screen-max="980px"] {
    display: none !important;
  }

  #rec601800322 .t228__list {
    opacity: 1 !important;
  }

  #record601800322,
  #record601800322 > .t-record-container,
  #rec601800322,
  #rec601800322 .t228,
  #rec601800322 .t228__maincontainer {
    height: 40px !important;
    min-height: 40px !important;
  }

  #rec601800322 .t228__leftside,
  #rec601800322 .t228__centerside,
  #rec601800322 .t228__rightside {
    height: 40px !important;
    vertical-align: middle !important;
  }

  #rec601800322 .t228__leftcontainer,
  #rec601800322 .t228__centercontainer,
  #rec601800322 .t228__rightcontainer {
    box-sizing: border-box !important;
    height: 40px !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    display: flex !important;
    align-items: center !important;
  }

  #rec601800322 .t228__centercontainer {
    justify-content: center !important;
  }

  #rec601800322 .t228__rightcontainer {
    justify-content: flex-end !important;
  }

  #rec601800322 .t228__imglogo {
    width: auto !important;
    max-height: 30px !important;
  }

  #rec601800322 .t228__rightcontainer {
    gap: 18px !important;
  }

  #rec601800322 .t228__right_descr,
  #rec601800322 .t228__right_descr div {
    font-size: 15px !important;
    line-height: 1 !important;
  }

  #rec601800322 .t-sociallinks__item a,
  #rec601800322 .t-sociallinks__svg {
    width: 24px !important;
    height: 24px !important;
  }

  #rec601800322 .t-btn {
    --height: 34px !important;
  }

  #rec601800322 .t228__right_descr p {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
  }

  /* Center the compact navigation row within the visible white header band. */
  #rec601800322 .t228__maincontainer {
    position: relative !important;
    top: 22px !important;
  }
}

@media screen and (max-width: 980px) {
  [data-screen-min="981px"] {
    display: none !important;
  }
}

/* Keep the fixed +7 prefix and remove the country flag/dropdown UI. */
.t-input-phonemask__select {
  pointer-events: none !important;
  cursor: default !important;
}

.t-input-phonemask__select-flag,
.t-input-phonemask__select-triangle,
.t-input-phonemask__options-wrap {
  display: none !important;
}

.t-input-phonemask__select-code {
  margin-left: 0 !important;
}

/* Full-width submit button in the final question form. */
#rec602553181 [data-elem-id="1686315372568"] .tn-form__submit,
#rec602553181 [data-elem-id="1686315372568"] .t-submit {
  box-sizing: border-box !important;
  width: 100% !important;
}

#rec602553181 [data-elem-id="1686315372568"] .t-submit {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
}

.osi-section-anchor {
  display: block;
  width: 100%;
  height: 0;
  scroll-margin-top: 96px;
}

body.osi-consultation-popup-open {
  overflow: hidden !important;
}

.osi-consultation-popup {
  position: fixed;
  z-index: 2147483000;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.osi-consultation-popup.is-open {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

.osi-consultation-popup__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 12, 0.72);
  backdrop-filter: blur(8px);
}

.osi-consultation-popup__dialog {
  position: relative;
  width: min(100%, 560px);
  padding: 48px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 28px;
  background: #ffffff;
  color: #111111;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.25);
  transform: translateY(18px) scale(0.98);
  transition: transform 0.25s ease;
}

.osi-consultation-popup.is-open .osi-consultation-popup__dialog {
  transform: translateY(0) scale(1);
}

.osi-consultation-popup__close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid rgba(0, 0, 0, 0.16);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}

.osi-consultation-popup__close span::before,
.osi-consultation-popup__close span::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: #111111;
}

.osi-consultation-popup__close span::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.osi-consultation-popup__close span::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.osi-consultation-popup__title {
  margin: 0 44px 30px 0;
  font-family: Arial, sans-serif;
  font-size: clamp(25px, 3vw, 34px);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.osi-consultation-popup__form {
  display: grid;
  gap: 18px;
}

.osi-consultation-popup__field {
  display: grid;
  gap: 8px;
  color: #555555;
  font: 600 12px/1.2 Arial, sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.osi-consultation-popup__field input {
  box-sizing: border-box;
  width: 100%;
  height: 58px;
  padding: 0 18px;
  border: 1px solid #d7d7d7;
  border-radius: 12px;
  background: #f7f7f7;
  color: #111111;
  font: 400 17px/1 Arial, sans-serif;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.osi-consultation-popup__field input:focus {
  border-color: #0055ff;
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(0, 85, 255, 0.12);
}

.osi-consultation-popup__submit {
  min-height: 58px;
  margin-top: 4px;
  padding: 14px 24px;
  border: 0;
  border-radius: 12px;
  background: linear-gradient(135deg, #0055ff 0%, #0041ca 100%);
  color: #ffffff;
  font: 700 16px/1.2 Arial, sans-serif;
  cursor: pointer;
  box-shadow: 0 12px 28px rgba(0, 73, 220, 0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.osi-consultation-popup__submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(0, 73, 220, 0.32);
}

.osi-consultation-popup__submit:disabled {
  cursor: wait;
  opacity: 0.7;
}

.osi-consultation-popup__privacy {
  margin: 0;
  color: #818181;
  font: 400 12px/1.45 Arial, sans-serif;
  text-align: center;
}

@media screen and (max-width: 640px) {
  .osi-consultation-popup {
    padding: 14px;
  }

  .osi-consultation-popup__dialog {
    width: 100%;
    padding: 38px 22px 26px;
    border-radius: 22px;
  }

  .osi-consultation-popup__close {
    top: 14px;
    right: 14px;
    width: 38px;
    height: 38px;
  }

  .osi-consultation-popup__title {
    margin-right: 34px;
    margin-bottom: 24px;
    font-size: 24px;
  }

  .osi-consultation-popup__field input,
  .osi-consultation-popup__submit {
    height: 56px;
  }
}
