@font-face {
  font-family: "Golos Text";
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url("../fonts/golos-cyrillic-ext.woff2") format("woff2");
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

@font-face {
  font-family: "Golos Text";
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url("../fonts/golos-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: "Golos Text";
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url("../fonts/golos-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Golos Text";
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url("../fonts/golos-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Montserrat";
  src: url('../fonts/montserrat-cyrillic.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Montserrat";
  src: url('../fonts/montserrat-cyrillic-ext.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Montserrat";
  src: url('../fonts/montserrat-latin-ext.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Montserrat";
  src: url('../fonts/montserrat-latin.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --color-accent: #CB2932;
  --color-accent-dark: #B7222B;
  --color-bg: #F0F0F0;
  --color-surface: #FFFFFF;
  --color-text: #333333;
  --color-heading: #5A5F62;
  --color-muted: #8E9197;
  --color-track: #E4979A;
  --color-result: #686D72;
  --radius-card: 28px;
  --radius-control: 5px;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: "Montserrat", sans-serif;
  font-weight: 300;
  font-size: 16px;
  line-height: 1.5;
  color: var(--color-text);
  background-color: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}


.light-text {
  font-family: "Montserrat", sans-serif;
  font-weight: 400;
}

body.menu-open {
  position: fixed;
  top: var(--menu-scroll-top, 0);
  left: 0;
  right: 0;
  width: 100%;
  overflow: hidden;
  overscroll-behavior: none;
}

body.fab-chat-open {
  position: fixed;
  top: var(--fab-chat-scroll-top, 0);
  left: 0;
  right: 0;
  width: 100%;
  overflow: hidden;
}

@media (max-width: 991px) {
  body.fab-chat-open::before {
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.28);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 10020;
    pointer-events: none;
  }
}

a {
  text-decoration: none;
  color: inherit;
}

ul, ol {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button {
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
}

button,
a,
input,
textarea,
select,
[role="button"] {
  -webkit-tap-highlight-color: transparent;
}

.container {
  width: 100%;
  padding-right: 15px;
  padding-left: 15px;
  margin-right: auto;
  margin-left: auto;
}

@media (max-width: 767.98px) { 
  .container {
    padding-right: 20px;
    padding-left:  20px;
  }
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Golos Text", sans-serif;
  font-weight: 800;
}

h1 {
  font-size: clamp(30px, 4vw, 50px);
}

input:focus, textarea:focus {
  outline: none;
  border: 1px solid var(--color-accent);
}

.h__text {
  font-family: "Golos Text", sans-serif;
  font-weight: 800;
  font-size: clamp(30px, 4vw, 50px);
  font-style: normal;
  font-weight: 800;
  line-height: 1.2;
  color: var(--color-heading);
  margin-bottom: 20px;
}

@media (max-width: 575px) { 
  .h__text {
    line-height: 1.3;
  }
}

@media (min-width: 576px) {
  .container { max-width: 740px; }
}

@media (min-width: 768px) {
  .container { max-width: 920px; }
}

@media (min-width: 992px) {
  .container { max-width: 1100px; }
}

@media (min-width: 1200px) {
  .container { max-width: 1180px; }
}

@media (min-width: 1300px) {
  .container { max-width: 1240px; }
}

@media (min-width: 1367px) {
  .container { max-width: 1700px;
    padding-left: 30px;
    padding-right: 30px; }
}

.contacts-page__breadcrumbs {
  align-items: center;
  gap: 8px;
  margin-top: 0;
  color: rgba(90, 95, 98, 0.55);
  font-size: 17px;
  line-height: 1.2;
}

.page-template-page-template_1 .contacts-page__breadcrumbs {
  margin-top: -20px;
}

.btn {
  min-width: 240px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 24px;
  font-size: 20px;
  font-family: "Montserrat", sans-serif;
  font-weight: 300;
  border-radius: 10px;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
  text-decoration: none;
  border: 2px solid transparent;
  line-height: 1.4;
}

.btn--red {
  background-color: var(--color-accent);
  color: #fff;
  border-color: var(--color-accent);
}

.btn--red:hover {
  background-color: #fff;
  border-color: var(--color-accent-dark);
  color: var(--color-accent);
}

.btn--outline-red {
  background-color: transparent;
  color: #CB2932;
  border-color: #CB2932;
}

.btn--outline-red:hover {
  background-color: #CB2932;
  color: #fff;
}

.btn--lg {
  padding: 14px 32px;
  font-size: 16px;
}

.btn--block {
  display: flex;
  width: 100%;
}

.btn--pill {
  border-radius: 50px;
}

.btn--red-dark {
  background-color: var(--color-accent) !important;
  color: #fff !important;
}

.btn--red-dark:hover {
  background-color: var(--color-accent-dark) !important;
}

@media (max-width: 767.98px) {
  .btn {
    font-size: 18px;
  }
}

.tag {
  display: block;
  align-items: center;
  justify-content: center;
  padding: 10px 15px;
  min-height: 40px;
  font-size: clamp(13px, 1.3vw, 18px);
  font-weight: 300;
  border-radius: 8px;
  border: 2px solid transparent;
  line-height: 1.3;
}

.tag br {
  display: none;
}

.hero__tag:nth-child(even) .tag {
  width: fit-content;
}

@media (max-width: 767.98px) {
  .hero__tag .tag {
    width: fit-content;
  }
}

.tag--accent,
.tag--red {
  background-color: var(--color-accent);
  color: #fff;
  border-color: var(--color-accent);
}

.tag--outline-red {
  background-color: transparent;
  color: var(--color-accent);
  border-color: var(--color-accent);
}

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: #F0F0F0;
}

.header__row {
  display: flex;
  align-items: center;
  padding: 12px 0;
}

.header__logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  margin: 0 auto;
}

.header__logo img {
  width: 190px;
  height: auto;
}

.header__nav {
  display: none;
}

.header__nav-list {
  display: flex;
  align-items: center;
}

.header__nav-link {
  display: block;
  padding: 8px 16px;
  font-size: 15px;
  font-weight: 300;
  color: #333;
  white-space: nowrap;
  transition: color 0.2s;
}

.header__nav-link:hover {
  color: #CB2932;
}

.header__nav-item--dropdown {
  position: relative;
}

.header__nav-item--dropdown > .header__nav-link::after {
  content: '';
  display: inline-block;
  width: 0;
  height: 0;
  margin-left: 6px;
  vertical-align: middle;
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
  border-top: 10px solid #CB2932;
  transition: transform 0.2s;
}

.header__nav-item--dropdown.is-open > .header__nav-link::after {
  transform: rotate(180deg);
}

.header__dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 240px;
  background-color: #fff;
  border-radius: 6px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  padding: 6px 0;
  z-index: 50;
}

.header__nav-item--dropdown.is-open .header__dropdown {
  display: block;
}

.header__dropdown li a {
  display: block;
  padding: 10px 20px;
  font-size: 14px;
  color: #333;
  white-space: nowrap;
  transition: background-color 0.2s, color 0.2s;
}

.header__dropdown li a:hover {
  background-color: #f5f5f5;
  color: #CB2932;
}

.header__geo {
  display: none;
  align-items: center;
  cursor: pointer;
  position: relative;
  flex-shrink: 0;
}

.header__geo svg,
.header__geo img {
  width: 22px;
  height: auto;
}

.header__cta {
  display: none;
  font-size: 14px;
  flex-shrink: 0;
}

.header__burger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
  gap: 5px;
  width: 30px;
  height: 36px;
  padding: 4px 0;
  flex-shrink: 0;
}

.header__burger span {
  display: block;
  height: 3px;
  background-color: #CB2932;
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s, width 0.3s;
}

.header__burger span:nth-child(1) { width: 100%; }
.header__burger span:nth-child(2) { width: 80%; }
.header__burger span:nth-child(3) { width: 100%; }

.header__panel {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  background-color: #fff;
  z-index: 200;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}

.header__panel--open {
  transform: translateX(0);
}

.header__panel-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px 16px;
}

.header__panel-logo {
  display: flex;
  align-items: center;
  flex-grow: 2;
  justify-content: center;
}

.header__panel-logo img {
  width: 270px;
  height: auto;
}

.header__panel-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  flex-shrink: 0;
}

.header__panel-close svg {
  width: 40px;
  height: 40px;
}

.header__panel-nav {
  flex: 1;
  padding: 10px 24px 0;
}

.header__panel-nav .header__nav-list {
  flex-direction: column;
  align-items: stretch;
}

.header__panel-nav .header__nav-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.header__panel-nav .header__nav-item:last-child {
  border-bottom: none;
}

.header__panel-nav .header__nav-link {
  padding: 13px 0;
  font-size: 17px;
  font-weight: 400;
  color: #000;
}

.header__panel-nav .header__nav-link:hover {
  color: #CB2932;
}

.header__panel-bottom {
  padding: 20px 24px 28px;
  margin-top: auto;
}

.header__panel-cta {
  display: block;
  width: 100%;
  padding: 14px;
  text-align: center;
  font-size: 20px;
  font-weight: 300;
  color: #fff;
  background-color: #CB2932;
  border-radius: 50px;
  transition: background-color 0.2s;
  margin-bottom: 20px;
}

.header__panel-cta:hover {
  background-color: #a8222a;
}

.header__panel-geo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #fff;
}

.header__panel-geo img {
  width: 23px;
  height: auto;
  flex-shrink: 0;
}

.geo-mobile-menu-item {
  font-size: 17px;
  color: #000 !important;
}

.header__panel-geo a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Дропдаун "Займ под залог" в мобильном меню */
.header__panel-nav .header__nav-item--dropdown .header__dropdown {
  display: none;
  position: static;
  background-color: transparent;
  box-shadow: none;
  border-radius: 0;
  padding: 0 0 6px 12px;
  min-width: 0;
}

.header__panel-nav .header__nav-item--dropdown.is-open .header__dropdown {
  display: block;
}

.header__panel-nav .header__nav-item--dropdown .header__dropdown li a {
  padding: 9px 0;
  font-size: 15px;
  color: #000;
  white-space: normal;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header__panel-nav .header__nav-item--dropdown .header__dropdown li:last-child a {
  border-bottom: none;
}

.header__panel-nav .header__nav-item--dropdown .header__dropdown li a:hover {
  background-color: transparent;
  color: #CB2932;
}

.geo-confirm-dropdown {
  border-radius: 20px;
  font-weight: 400;
}

.geo-btn--yes {
 background-color: #cb2932 !important;

}

.geo-btn--no {
 background-color: #F0F0F0 !important;
 color: #5A5F62 !important;
}
.geo-btn {font-weight: 400 !important;}

.header__overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 150;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}

.header__overlay--visible {
  opacity: 1;
  visibility: visible;
}

.bg-light {
  background-color: #F5F5F5;
}

.surface-card {
  background-color: var(--color-surface);
  border-radius: var(--radius-card);
}

.hero {
  padding: 24px 0 0;
}

.hero__card {
  position: relative;
  overflow: hidden;
  padding: 24px 18px 0;
  background: url(../img/bg-section1-mob.png) right bottom no-repeat;
  background-size: 100%;
}

@media (min-width: 768px) {
  .page-content {
    padding: 50px 0 0;
  }

  .hero__card {
    padding: 34px 34px 0;
    background: url(../img/bg-section1.png) bottom right no-repeat;
    background-size: 83%;
    overflow: visible;
  }
}

@media (min-width: 992px) {
  .page-content {
    padding: 90px 0 0;
  }

  .hero__card {
    background-size: 69%;
  }
}

@media (min-width: 1200px) {
  .hero__card {
    background-size: 66%;
  }
}


/* .hero__card {
  position: relative;
  overflow: hidden;
  padding: 24px 18px 0;
  background: url(../img/bg-section1.png) right center no-repeat;
  background-size: 66%;
} */


.hero__body,
.hero__content {
  position: relative;
  z-index: 2;
}

.hero__content {
  margin-bottom: 10%;
}

.hero__title {
  max-width: 320px;
}

.hero__title span {
  color: var(--color-heading) !important;
}

.hero__tags {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px 14px;
  max-width: 100%;

}

.hero__media {
  /* position: absolute; */
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
}

.page-template-page-template_1 .hero__media {
  height: auto;
}

.hero__bg-pattern {
  /* position: absolute; */
  right: -8px;
  bottom: 0;
  /* width: min(96%, 430px); */
  max-width: none;
}

.hero__bg-man {
  /* position: absolute; */
  left: 50%;
  bottom: 0;
  height: 100%;
  width: 100%;
  max-width: none;
  /* transform: translateX(-20%); */
  margin: 0 auto;
  max-width: 100%;
}

.error-page {
  padding: 20px 0 120px;
  background-color: var(--color-bg);
}

.error-page section {
  padding-bottom: 0;
}

.error-page__breadcrumbs {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 22px;
  color: rgba(90, 95, 98, 0.55);
  font-size: 17px;
  line-height: 1.2;
}

.error-page__breadcrumbs a {
  color: inherit;
}

.error-page__breadcrumbs a:hover {
  color: var(--color-accent);
}

.error-page__card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 34%);
  align-items: end;
  min-height: 430px;
  padding: 50px 50px 0;
  overflow: hidden;
  border-radius: 30px;
  background: url(../img/bg-section1.png) bottom right no-repeat;
  background-size: 67%;
  background-color: #fff;
}

.error-page__content {
  position: relative;
  z-index: 2;
  max-width: 640px;
  padding-bottom: 50px;
}

.error-page__badge {
  display: inline-flex;
  margin-bottom: 22px;
  padding: 7px 24px;
  min-height: 38px;
  font-size: 18px;
  font-weight: 300;
}

.error-page__code {
  margin: 0 0 18px;
  color: rgba(90, 95, 98, 0.14);
  font-family: "Golos Text", sans-serif;
  font-size: clamp(96px, 10vw, 160px);
  font-weight: 800;
  line-height: 0.82;
  letter-spacing: -0.05em;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  pointer-events: none;
}

.error-page__title {
  margin: 0;
  color: var(--color-heading);
  font-size: clamp(34px, 4vw, 56px);
  font-weight: 800;
  line-height: 1.08;
}

.error-page__text {
  max-width: 520px;
  margin-top: 18px;
  color: var(--color-heading);
  font-size: 20px;
  line-height: 1.35;
}

.error-page__button {
  min-width: 220px;
  min-height: 54px;
  margin-top: 32px;
  padding: 14px 32px;
  border-radius: 10px;
  font-size: 18px;
  font-weight: 400;
}

.error-page__media {
  position: absolute;
  right: 20px;
  bottom: 0;
  width: min(42%, 620px);
  pointer-events: none;
}

.error-page__image {
  display: block;
  width: 100%;
  height: auto;
}

@media (max-width: 991.98px) {
  .error-page__card {
    grid-template-columns: 1fr;
    min-height: 0;
    padding: 42px 28px 0;
    background: url(../img/bg-section1-mob.png) right bottom no-repeat;
    background-size: 100%;
    background-color: #fff;
  }

  .error-page__content {
    max-width: 100%;
    padding-bottom: min(62vw, 280px);
  }

  .error-page__text {
    max-width: 100%;
    font-size: 18px;
  }

  .error-page__media {
    right: 0;
    width: min(72vw, 360px);
  }
}

@media (max-width: 767.98px) {
  .error-page {
    padding: 20px 0 80px;
  }

  .error-page__breadcrumbs {
    margin-bottom: 18px;
    font-size: 15px;
  }

  .error-page__card {
    padding: 32px 20px 0;
    border-radius: 26px;
  }

  .error-page__badge {
    margin-bottom: 18px;
    padding: 6px 18px;
    min-height: 34px;
    font-size: 16px;
  }

  .error-page__code {
    margin-bottom: 16px;
    font-size: clamp(76px, 27vw, 118px);
  }

  .error-page__title {
    font-size: clamp(30px, 10vw, 42px);
  }

  .error-page__text {
    margin-top: 16px;
    font-size: 16px;
    line-height: 1.45;
  }

  .error-page__button {
    width: 100%;
    min-width: 0;
    margin-top: 28px;
  }

  .error-page__content {
    padding-bottom: min(74vw, 260px);
  }

  .error-page__media {
    right: -18px;
    width: min(84vw, 330px);
  }
}

/* ── Thank-you page ── */

.thx-page {
  padding: 20px 0 120px;
  background-color: var(--color-bg);
}

.thx-page section {
  padding-bottom: 0;
}

.thx-page__breadcrumbs {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 28px;
  font-size: 16px;
  color: var(--color-muted);
}

.thx-page__breadcrumbs a {
  color: inherit;
}

.thx-page__breadcrumbs a:hover {
  color: var(--color-accent);
}

.thx-page__card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 38%);
  align-items: end;
  min-height: 460px;
  padding: 56px 56px 0;
  overflow: hidden;
}

.thx-page__content {
  position: relative;
  z-index: 2;
  max-width: 600px;
  padding-bottom: 56px;
}

.thx-page__badge {
  display: inline-flex;
  margin-bottom: 22px;
  padding: 7px 24px;
  font-weight: 300;
  font-size: 15px;
}

.thx-page__title {
  margin: 0;
  color: var(--color-heading);
  font-size: clamp(34px, 4vw, 52px);
  font-weight: 800;
  line-height: 1.15;
}

.thx-page__text {
  max-width: 480px;
  margin-top: 18px;
  color: var(--color-heading);
  font-size: 20px;
  line-height: 1.5;
}

.thx-page__worktime {
  display: block;
  margin-top: 4px;
  color: var(--color-muted);
  font-size: 17px;
}

.thx-page__button {
  min-width: 220px;
  min-height: 54px;
  margin-top: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.thx-page__media {
  position: absolute;
  right: 20px;
  bottom: 0;
  width: 38%;
  max-width: 420px;
}

.thx-page__image {
  display: block;
  width: 100%;
  height: auto;
}

.page-template-page-thx .footer {
  padding-top: 0;
  background-color: #f0f0f0;
}

@media (max-width: 900px) {
  .thx-page__card {
    grid-template-columns: 1fr;
    min-height: 0;
    padding: 42px 28px 0;
  }

  .thx-page__content {
    max-width: 100%;
    padding-bottom: min(62vw, 280px);
  }

  .thx-page__text {
    max-width: 100%;
    font-size: 18px;
  }

  .thx-page__media {
    right: 0;
    width: min(72vw, 360px);
  }
}

@media (max-width: 600px) {
  .thx-page {
    padding: 20px 0 80px;
  }

  .thx-page__breadcrumbs {
    margin-bottom: 18px;
    font-size: 15px;
  }

  .thx-page__card {
    padding: 32px 20px 0;
    border-radius: 26px;
  }

  .thx-page__badge {
    margin-bottom: 18px;
    padding: 6px 18px;
    min-height: 34px;
    font-size: 14px;
  }

  .thx-page__title {
    font-size: clamp(28px, 8vw, 38px);
  }

  .thx-page__text {
    margin-top: 16px;
    font-size: 16px;
    line-height: 1.45;
  }

  .thx-page__button {
    width: 100%;
    min-width: 0;
    margin-top: 28px;
  }

  .thx-page__content {
    padding-bottom: 114%;
  }

  .thx-page__media {
    right: 3%;
    width: min(84vw, 330px);
  }
}

/* ── /Thank-you page ── */

.calc {
  padding: 20px 0 32px;
}

.calc__layout {
  display: grid;
  gap: 18px;
}

.calc__panel {
  padding: 28px 18px 26px;
}

.calc__title {
  max-width: 420px;
  font-size: clamp(20px, 2.8vw, 25px);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 28px;
  color: var(--color-heading);
}

.calc__group {
  margin-bottom: 26px;
}

.calc__label {
  font-size: 20px;
  font-weight: 400;
  color: var(--color-heading);
  margin-bottom: 10px;
  display: block;
}

.calc__input-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}

.calc__input {
  width: 126px;
  height: 30px;
  padding: 10px 18px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 300;
  background: #F0F0F0;
  color: var(--color-heading);
  border: none;
  border-radius: var(--radius-control);
  outline: none;
  transition: border-color 0.2s;
}

.calc__input:focus {
  border-color: var(--color-accent);
}

.calc__unit {
  font-size: 15px;
  color: var(--color-muted);
}

.calc__range {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 20px;
  background: transparent;
  outline: none;
  margin-bottom: 8px;
}

.calc__range::-webkit-slider-runnable-track {
  height: 2px;
  background: var(--color-track);
  border-radius: 999px;
}

.calc__range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 12px;
  background: var(--color-accent);
  border-radius: 20px;
  cursor: pointer;
  border: none;
  margin-top: -5px;
}

.calc__range::-moz-range-track {
  height: 2px;
  background: var(--color-track);
  border: none;
  border-radius: 999px;
}

.calc__range::-moz-range-thumb {
  width: 20px;
  height: 12px;
  background: var(--color-accent);
  border-radius: 20px;
  cursor: pointer;
  border: none;
}

.calc__ticks {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 10px;
  color: var(--color-muted);
}

.calc__ticks span {
  white-space: nowrap;
}

.calc__result {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
  padding: 30px 18px 24px;
  border-radius: var(--radius-card);
  background-color: var(--color-result);
  color: #fff;
}

.calc__result-label {
  font-size: clamp(18px, 2.5vw, 25px);
  font-weight: 300;
  color: #fff;
  text-align: center;
}

.calc__result-value {
  font-family: "Golos Text", sans-serif;
  font-size: clamp(30px, 2.6vw, 50px);
  font-weight: 800;
  color: #fff;
  line-height: 1.05;
  text-align: center;
  letter-spacing: -0.9px;
}

.calc__result-divider {
  max-width: 376px;
  margin: 0 auto;
  width: 100%;
  height: 1px;
  background-color: var(--color-accent);
}

.calc__result-note {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: #fff;
  text-align: left;
  line-height: 1.4;
}

.calc__button {
  margin-top: 4px;
}

@media (min-width: 768px) {
  .header__row {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    grid-template-rows: auto auto;
    align-items: center;
    gap: 0;
  }

  .header__geo {
    display: flex;
    grid-column: 1;
    grid-row: 1;
    justify-self: start;
  }

  .header__logo {
    grid-column: 2;
    grid-row: 1;
    justify-self: center;
    margin: 0;
  }

  .header__cta {
    display: inline-flex;
    grid-column: 3;
    grid-row: 1;
    justify-self: end;
  }

  .header__nav {
    display: block;
    grid-column: 1 / -1;
    grid-row: 2;
    border-top: 1px solid #ddd;
    margin-top: 8px;
    padding-top: 8px;
  }

  .header__nav-list {
    justify-content: center;
  }

  .header__burger {
    display: none;
  }

  .header__panel,
  .header__overlay {
    display: none;
  }


  .hero__body {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(340px, 0.95fr);
    min-height: inherit;
  }

  .hero__title {
    max-width: 560px;
    margin-bottom: 28px;
  }

  .hero__tags {
    grid-template-columns: max-content max-content;
    gap: 12px 14px;
    max-width: 560px;
  }

  .hero__media {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    height: auto;
    min-height: 100%;
  }

  .hero__bg-pattern {
    position: absolute;
    right: -34px;
    bottom: 0;
    width: calc(100% + 38px);
    height: -webkit-fill-available;
  }

  .hero__bg-man {
    position: absolute;
    height: auto;
    left: 40%;
    right: 56px;
    bottom: 0;
    width: 97%;
    transform: translateX(-20%);
  }
  .page-template-page-template_1 .hero__bg-man {
    left: 30%;
  }

  .calc__layout {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 14px;
    align-items: stretch;
  }

  .calc__panel {
    padding: 34px 30px 28px;
  }

  .calc__title {
    margin-bottom: 22px;
  }

  .calc__group:last-child {
    margin-bottom: 0;
  }


  .calc__result {
    padding: 36px 30px 30px;
  }

  .calc__result-note {
    max-width: 320px;
    margin: 0 auto;
  }

  .calc__button {
    margin: 6px auto 0;
    max-width: 240px;
  }
}

@media (min-width: 1200px) {
  .header__row {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 20px;
  }

  .header__logo {
    flex: 0 0 auto;
    justify-self: auto;
  }

  .header__logo img {
    width: 210px;
  }

  .header__nav {
    flex: 1;
    border-top: none;
    margin-top: 0;
    padding-top: 0;
  }

  .header__nav-list {
    justify-content: flex-start;
    gap: 4px;
  }

  .header__nav-link {
    font-size: clamp(15px, 1.15vw, 20px);
    padding: 8px 18px;
  }

  .header__geo svg,
  .header__geo img {
    width: 33px;
  }

  .page-content {
    padding: 100px 0 0;
  }

  .page-content--md-padding {
    padding: 20px 0 0 !important;
  }


  .hero__card {
    padding: 30px 30px 0;
    overflow: visible;
    overflow-x: clip;
  }

  .hero__title {
    max-width: unset;
    margin-bottom: 20px;
  }

  .hero__tags {
    gap: 12px 14px;
    max-width: unset;
    max-height: 130px;
  }

  .hero__bg-pattern {
    right: -30px;
    width: calc(100% + 248px);
    top: -38px;
  }

  .hero__bg-man {
    width: 100%;
    max-width: 505px;
  }

  .page-template-page-template_1 .hero__bg-man {
    max-width: 675px;
  }


  .page-template-page-template_1 .hero__bg-man--special {
    max-width: 430px;
  }

  .calc {
    padding-top: 14px;
  }

  .calc__layout {
    grid-template-columns: minmax(0, 1.22fr) minmax(320px, 0.78fr);
    gap: 12px;
  }

  .calc__panel {
    padding: 24px 28px 20px;
  }

  .calc__title {
    max-width: 100%;
    font-size: clamp(18px, 3.8vw, 25px);
    margin-bottom: 20px;
  }

  .calc__group {
    margin-bottom: 20px;
  }

  .calc__label {
    margin-bottom: 6px;
  }

  .calc__input-row {
    gap: 10px;
    margin-bottom: 8px;
  }

  .calc__input {
    width: 92px;
    height: 30px;
    padding: 4px 10px;
    border-radius: 4px;
  }

  .calc__range {
    margin-bottom: 6px;
  }

  .calc__range::-webkit-slider-thumb {
    width: 25px;
    height: 25px;
    background: #fff;
    border: 4px solid var(--color-accent);
    box-shadow: none;
    margin-top: -10.5px;
  }

  .calc__range::-moz-range-thumb {
    width: 15px;
    height: 15px;
    background: #fff;
    border: 4px solid var(--color-accent);
    box-shadow: none;
  }

  .calc__ticks {
    font-size: 12px;
  }

  .calc__result {
    padding: 28px 28px 26px;
    gap: 16px;
  }



  .calc__result-note {
    max-width: 350px;
    font-size: 13px;
  }

  .calc__button {
    min-height: 32px;
    font-size: 18px;
  }
}


/* Документы */
.documents_page_wrap {
  max-width: 480px;
  margin: 0 auto;
  padding: 150px 0;
}

.documents_page_title {
  margin-bottom: 40px;
}

.documents_page_item {
  position: relative;
  padding-left: 65px;
  height: 60px;
  display: flex;
  align-items: center;
  margin-bottom: 30px;
}

.documents_page_item::before {
	content: "";
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	left: 0;
	width: 45px;
	height: 58px;
	background: url(../img/document_page.svg) 50% no-repeat;
}

/* --------------------------------------------------------------------------
   Плавающий виджет: «наверх» + соцсети (десктоп / мобильная панель)
   -------------------------------------------------------------------------- */

.fab-widget {
  --fab-gap: 12px;
  --fab-inset: 24px;
  --fab-red: var(--color-accent);
  --fab-red-dark: var(--color-accent-dark);
  --fab-icon: 48px;
  --fab-toggle: 56px;
  --fab-scroll: 44px;
  position: fixed;
  z-index: 10050;
  pointer-events: none;
}

.fab-widget > * {
  pointer-events: auto;
}

/* Десктоп: колонка справа снизу */
.fab-widget__desktop-stack {
  display: none;
  position: fixed;
  right: var(--fab-inset);
  bottom: var(--fab-inset);
  flex-direction: column;
  align-items: flex-end;
  gap: var(--fab-gap);
}

@media (min-width: 992px) {
  .fab-widget__desktop-stack {
    display: flex;
  }
}

/* «Наверх»: только десктоп — красная, при наведении белая */
.fab-widget__scroll {
  display: none;
  width: var(--fab-scroll);
  height: var(--fab-scroll);
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  background: var(--fab-red);
  color: #fff;
  box-shadow: 0 6px 22px rgba(203, 41, 50, 0.35);
  transition: background-color 0.25s ease, color 0.25s ease, box-shadow 0.25s ease, transform 0.2s ease;
}

@media (min-width: 992px) {
  .fab-widget__scroll {
    display: inline-flex;
  }
}

.fab-widget__scroll:hover,
.fab-widget__scroll:focus-visible {
  background: #fff;
  color: var(--fab-red);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.12);
}

.fab-widget__scroll:active {
  transform: scale(0.96);
}

.fab-widget__chevron {
  display: block;
}

/* Ряд: выезжающая «капсула» + круглая кнопка */
.fab-widget__social-wrap {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-end;
  gap: 0;
}

.fab-widget__rail {
  overflow: hidden;
  max-width: 0;
  transition: max-width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  margin-right: 0;
}

.fab-widget.is-open .fab-widget__rail {
  max-width: min(320px, calc(100vw - var(--fab-inset) * 2 - var(--fab-toggle)));
}

.fab-widget__rail-inner {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  padding: 8px 14px 8px 16px;
  margin-right: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.6);
}

/* Кнопка меню (ПК): закрыто — красная + иконка чата + пульс; открыто — белая, три красные точки */
.fab-widget__toggle-shell {
  position: relative;
  flex-shrink: 0;
  width: var(--fab-toggle);
  height: var(--fab-toggle);
}


.fab-widget__pulse-ring {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 0;
  width: 84px;
  height: 84px;
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%) scale(1);
  opacity: 0;

  /* мягкое кольцо */
  background: rgba(203, 41, 50, 0.22);

  animation: fabPulse 3.6s linear infinite;
  will-change: transform, opacity;
}
.fab-widget__pulse--2 {
  animation-delay: 1.2s;
}

.fab-widget__pulse--3 {
  animation-delay: 2.4s;
}

@keyframes fabPulse {
  0% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0;
  }

  8% {
    opacity: 0.38;
  }

  45% {
    opacity: 0.22;
  }

  100% {
    transform: translate(-50%, -50%) scale(1.85);
    opacity: 0;
  }
}

@media (min-width: 992px) {
  .fab-widget:not(.is-open) .fab-widget__pulse-ring {
    display: block;
  }
}

.fab-widget.is-open .fab-widget__pulse-ring {
  display: none !important;
  animation: none;
}

@keyframes fab-widget-pulse-ring {
  0% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.82;
  }
  18% {
    transform: translate(-50%, -50%) scale(1.018);
    opacity: 0.92;
  }
  100% {
    transform: translate(-50%, -50%) scale(1.1);
    opacity: 0;
  }
}

.fab-widget__toggle {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--fab-red);
  color: #fff;
  box-shadow: 0 8px 32px rgba(203, 41, 50, 0.42);
  transition: background-color 0.25s ease, color 0.25s ease, box-shadow 0.25s ease, transform 0.2s ease;
}

.fab-widget__toggle:hover,
.fab-widget__toggle:focus-visible {
  box-shadow: 0 12px 40px rgba(203, 41, 50, 0.48);
}

.fab-widget__toggle:active {
  transform: scale(0.96);
}

.fab-widget.is-open .fab-widget__toggle {
  background: #fff;
  color: var(--fab-red);
  box-shadow:
    0 6px 22px rgba(0, 0, 0, 0.1),
    0 0 0 1px rgba(203, 41, 50, 0.14);
}

.fab-widget.is-open .fab-widget__toggle:hover,
.fab-widget.is-open .fab-widget__toggle:focus-visible {
  box-shadow:
    0 9px 28px rgba(0, 0, 0, 0.12),
    0 0 0 1px rgba(203, 41, 50, 0.22);
}

.fab-widget__toggle-intro {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.fab-widget.is-open .fab-widget__toggle-intro {
  display: none;
}

.fab-widget__toggle-intro img {
  width: 28px;
  height: auto;
  display: block;
}

.fab-widget__toggle-dots {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.fab-widget.is-open .fab-widget__toggle-dots {
  display: inline-flex;
}

.fab-widget__toggle-dots span {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
}

/* Иконки в выезжающем меню и на мобиле */
.fab-widget__icon-link {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: var(--fab-icon);
  height: var(--fab-icon);
  border-radius: 50%;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.fab-widget__icon-link--kind-max {
  border-radius: 28%;
}

.fab-widget__icon-link:hover,
.fab-widget__icon-link:focus-visible {
  transform: scale(1.06);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.fab-widget__icon-link:active {
  transform: scale(0.98);
}

.fab-widget__icon-skin {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.fab-widget__icon-skin--max {
  border-radius: 28%;
}

.fab-widget__icon-skin--max img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Telegram: голубой круг, самолёт по центру */
.fab-widget__icon-skin--telegram {
  border-radius: 50%;
  background-color: #2aabee;
  box-sizing: border-box;
  padding: 22%;
}

.fab-widget__icon-skin--telegram img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}

/* Карта и чат: красный фон акцента */
.fab-widget__icon-skin--map,
.fab-widget__icon-skin--chat {
  border-radius: 50%;
  background-color: var(--fab-red);
  box-sizing: border-box;
}

.fab-widget__icon-skin--map {
  padding: 18%;
}

.fab-widget__icon-skin--map img {
  width: 100%;
  height: auto;
  max-height: 100%;
  object-fit: contain;
  display: block;
  filter: brightness(0) invert(1);
}

.fab-widget__icon-skin--chat {
  padding: 16%;
}

.fab-widget__icon-skin--chat img {
  width: 90%;
  height: 100%;
  object-fit: contain;
  display: block;
}

/* Мобильная панель: капсула по центру снизу */
.fab-widget.is-chat-open .fab-widget__icon-link--kind-chat .fab-widget__icon-skin--chat {
  background-color: var(--fab-red-dark);
  box-shadow: 0 0 0 4px rgba(203, 41, 50, 0.14);
}

.fab-widget__chat-panel {
  position: fixed;
  right: calc(var(--fab-inset) + var(--fab-toggle) + 18px);
  bottom: calc(var(--fab-inset) + 6px);
  width: min(380px, calc(100vw - 36px));
  margin: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate3d(0, 18px, 0) scale(0.98);
  transform-origin: right bottom;
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
  z-index: 10030;
}

.fab-widget.is-chat-open .fab-widget__chat-panel {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate3d(0, 0, 0) scale(1);
}

.fab-widget__chat-shell {
  overflow: hidden;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 24px 60px rgba(18, 18, 18, 0.18);
}

.fab-widget__chat-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 14px 12px 18px;
  background: var(--fab-red);
}

.fab-widget__chat-person {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.fab-widget__chat-avatar {
  flex-shrink: 0;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.fab-widget__chat-meta {
  min-width: 0;
}

.fab-widget__chat-name,
.fab-widget__chat-status {
  margin: 0;
  color: #fff;
}

.fab-widget__chat-name {
  font-family: "Montserrat", sans-serif;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
}

.fab-widget__chat-status {
  margin-top: 4px;
  font-family: "Montserrat", sans-serif;
  font-size: 12px;
  line-height: 1.2;
}

.fab-widget__chat-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.fab-widget__chat-call,
.fab-widget__chat-close {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.fab-widget__chat-call {
  width: 35px;
  height: 35px;
  background: #fff;
  color: var(--fab-red);
}

.fab-widget__chat-call:hover,
.fab-widget__chat-call:focus-visible {
  transform: scale(1.05);
  color: var(--fab-red-dark);
}

.fab-widget__chat-close {
  width: 28px;
  height: 28px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  background: transparent;
  color: #fff;
  cursor: pointer;
  padding: 0;
}

.fab-widget__chat-close:hover,
.fab-widget__chat-close:focus-visible {
  background: rgba(255, 255, 255, 0.12);
  transform: scale(1.05);
}

.fab-widget__chat-close span {
  position: relative;
  width: 12px;
  height: 12px;
  display: block;
}

.fab-widget__chat-close span::before,
.fab-widget__chat-close span::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 1.5px;
  border-radius: 999px;
  background: currentColor;
  transform-origin: center;
}

.fab-widget__chat-close span::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.fab-widget__chat-close span::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.fab-widget__chat-greeting {
  max-width: 220px;
  margin: 24px 0 18px 18px;
  padding: 14px 18px;
  border-radius: 16px;
  background: #f0f0f0;
  color: #5a5f62;
  font-family: "Montserrat", sans-serif;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.4;
}

.fab-widget__chat-form {
  width: 100%;
  margin: 0 ;
  padding: 18px 19px 28px;
  background: var(--fab-red);
  color: #fff;
}

.fab-widget__chat-title {
  margin: 0 0 14px;
  color: #fff;
  font-family: "Montserrat", sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.2;
}

.fab-widget__chat-form .loan-form__label {
  display: none;
}

.fab-widget__chat-form .loan-form__field-group {
  margin-bottom: 12px;
}

.fab-widget__chat-form .loan-form__field {
  width: 100%;
  min-height: 53px;
  padding: 16px 18px;
  border: 1px solid transparent;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.94);
  box-sizing: border-box;
  font-family: "Montserrat", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.2;
  color: #5a5f62;
  appearance: none;
}

.fab-widget__chat-form .loan-form__field::placeholder {
  color: rgba(90, 95, 98, 0.9);
}

.fab-widget__chat-form .loan-form__field:focus {
  border-color: transparent;
  outline: 2px solid rgba(255, 255, 255, 0.55);
  outline-offset: 0;
  background: #fff;
}

.fab-widget__chat-form .loan-form__field--textarea {
  min-height: 85px;
  resize: none;
  padding-top: 14px;
}

.fab-widget__chat-form .loan-form__consent {
  display: grid;
  grid-template-columns: 16px minmax(0, 1fr);
  column-gap: 10px;
  align-items: start;
  margin: 4px 0 14px;
}

.fab-widget__chat-form .loan-form__checkbox {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.fab-widget__chat-form .loan-form__checkbox-control {
  position: relative;
  width: 16px;
  height: 16px;
  margin-top: 2px;
  border-radius: 50%;
  border: 1px solid #fff;
  background: #fff;
  box-sizing: border-box;
}

.fab-widget__chat-form .loan-form__checkbox:checked + .loan-form__checkbox-control {
  background: #fff;
}

.fab-widget__chat-form .loan-form__checkbox:checked + .loan-form__checkbox-control::after {
  content: "";
  display: block;
  position: relative;
  right: -1px;
  bottom: 0.5px;
  width: 5px;
  height: 9px;
  margin: 2px auto 0;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  border-color: var(--color-accent);
}

.fab-widget__chat-form .loan-form__consent-text,
.fab-widget__chat-form .loan-form__consent-text a {
  color: #fff;
  font-family: "Montserrat", sans-serif;
  font-size: 11px;
  font-weight: 400;
  line-height: 1.38;
}

.fab-widget__chat-form .loan-form__consent-text a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.fab-widget__chat-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-width: 0;
  min-height: 33px;
  padding: 6px 14px;
  border: none;
  border-radius: 7px;
  background: #fff;
  color: #5a5f62;
  font-family: "Montserrat", sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.2;
  cursor: pointer;
  box-shadow: none;
}

.fab-widget__chat-submit:hover,
.fab-widget__chat-submit:focus-visible {
  background: #f5f5f5 !important;
  color: var(--color-accent) !important;
}

.fab-widget__chat-submit.is-loading {
  opacity: 0.72;
  cursor: wait;
}

@media (max-width: 991px) {
  .fab-widget__chat-panel {
    right: 16px;
    bottom: calc(max(2px, env(safe-area-inset-bottom, 0px)) + 18px);
    max-height: calc(100dvh - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px) - 32px);
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior-y: contain;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-y;
    transform-origin: right bottom;
  }
}

@media (max-width: 479px) {
  .fab-widget__chat-panel {
    left: 12px;
    right: 12px;
    width: auto;
  }

  .fab-widget__chat-form {
    width: 100%;
    padding-left: 16px;
    padding-right: 16px;
  }

  .fab-widget__chat-greeting {
    max-width: calc(100% - 48px);
  }
}


.fab-widget__mobile-bar {
  position: fixed;
  bottom: max(16px, env(safe-area-inset-bottom, 0px));
  right: 16px;
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 0;
}

@media (min-width: 992px) {
  .fab-widget__mobile-bar {
    display: none;
  }
}

.fab-widget__mobile-icons {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(240, 240, 240, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.65);
  overflow: hidden;
  max-width: 0;
  opacity: 0;
  padding-left: 0;
  padding-right: 0;
  pointer-events: none;
  transition: max-width 0.35s ease, opacity 0.25s ease, padding 0.35s ease;
}

.fab-widget__mobile-bar.is-open .fab-widget__mobile-icons {
  max-width: 320px;
  opacity: 1;
  padding: 8px 12px;
  pointer-events: auto;
  margin-right: 10px;
}

.fab-widget__mobile-toggle {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: none;
  background: #d31145;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(211, 17, 69, 0.4);
  transition: transform 0.2s ease, background 0.2s ease;
  position: relative;
}

.fab-widget__mobile-toggle:active {
  transform: scale(0.93);
}

.fab-widget__mobile-toggle-open,
.fab-widget__mobile-toggle-close {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: opacity 0.2s ease;
  line-height: 1;
}

.fab-widget__mobile-toggle-close {
  font-size: 28px;
  font-weight: 300;
  opacity: 0;
}

.fab-widget__mobile-bar.is-open .fab-widget__mobile-toggle-open {
  opacity: 0;
}

.fab-widget__mobile-bar.is-open .fab-widget__mobile-toggle-close {
  opacity: 1;
}

.fab-widget__icon-link--mob {
  width: 46px;
  height: 46px;
  flex-shrink: 0;
}

@media (prefers-reduced-motion: reduce) {
  .fab-widget__rail {
    transition-duration: 0.01ms;
  }

  .fab-widget__chat-panel,
  .fab-widget__scroll,
  .fab-widget__toggle,
  .fab-widget__icon-link,
  .fab-widget__chat-call,
  .fab-widget__chat-close,
  .fab-widget__chat-submit {
    transition-duration: 0.01ms;
  }

  .fab-widget__pulse-ring {
    animation: none !important;
    opacity: 0 !important;
    box-shadow: none !important;
  }
}


/* ── Footer ── */

.footer {
  background-color: #fff;
  color: #fff;
}

.footer__wrapper {
  border-top-left-radius: 30px;
  border-top-right-radius: 30px;
  background-color: #5a5f62;
  padding: 50px 0 0;
}

.footer__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 30px;
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-bottom: 40px;
}

.footer__logo img {
  display: block;
  width: 230px;
  height: auto;
}

.footer__tagline {
  max-width: 50%;
  color: rgba(255, 255, 255, 0.8);
  font-size: 20px;
  font-weight: 300;
  line-height: normal;
}

.footer__tagline br {
  display: none;
}

.footer__messengers {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
  justify-content: end;
  margin-bottom: 20px;
  margin-top: 30px;
}

.footer__messenger {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  transition: opacity 0.25s;
}

.footer__messenger:hover {
  opacity: 0.8;
}

.footer__messenger img {
  width: 44px;
  height: 44px;
}

.footer__middle {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  padding: 30px 0;
}

.footer__nav-row {
  display: flex;
  flex-wrap: nowrap;
  column-gap: 100px;
}

.footer__nav-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px 80px;
  margin: 0;
  padding: 0;
  padding-left: 18px;
  list-style: none;
}

.footer__nav-list li a {
  color: #fff;
  font-size: clamp(18px, 3vw, 20px);
  font-weight: 300;
  line-height: 1.4;
  text-decoration: none;
  transition: opacity 0.25s;
}

.footer__nav-list li a:hover {
  opacity: 0.7;
}

.footer__contacts {
  flex-shrink: 0;
  text-align: right;
}

.footer__phone-block {
 
  font-weight: 800;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.footer__phone {
  font-family: "Montserrat", sans-serif;
}

.footer__phone-label {
  font-size: 20px;
  font-weight: 300;
  line-height: 1.3;
}

.footer__phone-sub {
  margin-top: 2px;
  color: #fff;
  font-size: 15px;
  font-weight: 300;
}

.footer__phone {
  display: block;
  margin-top: 8px;
  color: #fff;
  font-size: 50px;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
  letter-spacing: -0.5px;
}

.footer__phone:hover {
  opacity: 0.85;
}

.footer__callback {
  width: 100%;
  margin-top: 14px;
  min-width: 220px;
  min-height: 48px;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 500;
}

.footer__socials {
  display: flex;
  align-items: center;
  column-gap: 30px;
  justify-content: end;
  margin-top: 20px;
}

.footer__socials-label {
  color: #fff;
  font-size: 20px;
  font-weight: 300;
}

.footer__socials-row {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 0;
}

.footer__social {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  transition: opacity 0.25s;
}

.footer__social:hover {
  opacity: 0.8;
}

.footer__social img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.footer__copy {
  color: #fff;
  font-size: 19px;
  font-weight: 300;
}
.footer__legal {
  display: flex;
  gap: 30px;
  padding-right: 5%;
}

.footer__legal a {
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  font-weight: 400;
  text-decoration: none;
  transition: opacity 0.25s;
}

.footer__legal a:hover {
  opacity: 0.7;
}

@media (max-width: 1199.98px) {
  .footer__nav-list {
    gap: 12px 50px;
  }

  .footer__phone {
    font-size: 28px;
  }
}

@media (max-width: 767.98px) {
  .footer {
    padding: 40px 0 0;
  }

  .footer__top {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 16px;
  }

  .footer__brand {
    flex-direction: column;
    align-items: center;
    row-gap: 40px;
  }
  

  .footer__logo img {
    width: 100%;
    max-width: 250px;
  }

  .footer__tagline {
    max-width: none;
    text-align: center;
    font-size: 15px;
    max-width: 320px;
  }

  .footer__middle {
    flex-direction: column;
    align-items: center;
    gap: 30px;
    padding: 24px 0;
  }

  .footer__nav-row {
    flex-direction: column;
  }

  .footer__nav-list {
    grid-template-columns: 1fr;
    gap: 14px;
    text-align: center;
    padding-left: 0;
  }

  .footer__contacts {
    text-align: center;
  }

  .footer__messengers {
    justify-content: center;
  }

  .footer__phone-block {
    align-items: center;
  }

  .footer__phone {
    font-size: 26px;
  }

  .footer__callback {
    width: 100%;
    max-width: 280px;
  }

  .footer__socials-row {
    justify-content: center;
  }

  .footer__bottom {
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 20px 0;
    text-align: center;
  }

  .footer__legal {
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding-right: 0;
  }
}

/* ── /Footer ── */

.warning-c {
  position: fixed;
  bottom: 0;
  left: 0;
  display: none;
  width: 100%;
  background:var(--color-result);
  z-index:99999;
  padding:27px 0;
}

.warning-c--active {
  display: flex;
}

.warning__text {
	color:#fff;
	font-size:20px;
	margin-bottom:10px;
}

.warning__text a{
	color:#fff;
	text-decoration:underline;
}

.warning__apply {
	border:none;
	outline:none;
	display: inline-block;
  border-radius: 3px;
  background: var(--color-accent);
  color: rgb(255, 255, 255);
  font-size: 20px;
  font-weight: 300;
  line-height: 29px;
  padding: 3px 23px;
  transition: .2s;
  cursor:pointer;
}


@media (max-width: 769px) {
  .warning-c {
    padding:12px 0;
  }
    
  .warning__text {
    font-size: 16px;
    line-height: 20px;
    margin-bottom: 15px;
  }

  .warning__apply {
    font-size: 16px;
    line-height: 21px;
    padding: 3px 23px;
  }
}
