html {
  scroll-behavior: smooth;
}

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

html,
body {
  margin: 0;
  padding: 0;
}

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

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

:root {
  --color-text: rgba(23, 26, 29, 1);
  --color-text-soft: rgba(109, 118, 128, 1);
  --color-line: rgba(215, 221, 230, 1);
  --color-brand: rgba(255, 115, 10, 1);
  --color-brand-dark: rgba(240, 103, 5, 1);
  --color-surface: rgba(244, 247, 252, 1);
  --color-deep: rgba(13, 25, 38, 1);
  --color-deep-soft: rgba(162, 174, 185, 1);
  --container-max: 1280px;
  --container-gap: 40px;
  --radius-xl: 32px;
  --radius-lg: 28px;
  --radius-md: 24px;
  --radius-sm: 20px;
  --shadow-card: 0 24px 64px rgba(15, 23, 42, 0.08);
}

body,
body.site-body {
  min-width: 1180px;
  overflow-x: auto;
  background: linear-gradient(180deg, rgba(244, 247, 252, 1) 0%, rgba(236, 241, 248, 1) 100%);
  color: var(--color-text);
  font-family: PingFang SC, PingFangSC, Microsoft YaHei, Helvetica Neue, Arial, sans-serif;
}

.site-shell {
  width: 100%;
  min-height: 100vh;
}

.site-main,
.page-root {
  width: 100%;
}

.page-root {
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(15, 23, 42, 0.1);
}

.container {
  width: min(var(--container-max), calc(100% - var(--container-gap) * 2));
  margin: 0 auto;
}

.section {
  padding: 104px 0 0;
}

.section-heading {
  margin-bottom: 48px;
}

.section-heading--center {
  text-align: center;
}

.section-heading h2 {
  margin: 0;
  font-size: 42px;
  line-height: 58px;
  font-weight: 700;
}

.section-heading p {
  margin: 24px 0 0;
  font-size: 20px;
  line-height: 32px;
  color: var(--color-text-soft);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 0;
  border-radius: 999px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn img {
  width: auto;
  height: 12px;
}

.btn--hero {
  min-width: 104px;
  height: 38px;
  border-radius: 18px;
  background: linear-gradient(16deg, #0a5de6 0%, #903deb 100%);
  font-size: 14px;
  line-height: 20px;
  color:#fff
}

.btn--brand {
  width: 156px;
  height: 54px;
  background: url("../assets/slices/box_3.png") center / 100% 100% no-repeat;
  font-size: 16px;
  line-height: 22px;
  font-weight: 500;
}

.btn--ghost {
  width: 124px;
  height: 46px;
  margin-top: 56px;
  border: 1px solid rgba(215, 221, 230, 1);
  background: rgba(255, 255, 255, 0.9);
  font-size: 14px;
  line-height: 20px;
}

.btn--footer {
  width: 142px;
  height: 42px;
  background: url("../assets/slices/group_26.png") center / 100% 100% no-repeat;
  font-size: 14px;
  line-height: 22px;
}

.panel {
  border-radius: var(--panel-radius, 28px);
  border: var(--panel-border, 1px solid rgba(231, 236, 242, 1));
  background: var(--panel-bg, rgba(255, 255, 255, 1));
  box-shadow: var(--panel-shadow, none);
}

.panel--soft {
  --panel-bg: linear-gradient(180deg, rgba(255, 255, 255, 1) 0%, rgba(244, 247, 252, 1) 100%);
}

.panel--glass {
  --panel-bg: linear-gradient(180deg, rgba(255, 255, 255, 0.92) 0%, rgba(247, 249, 253, 0.92) 100%);
  --panel-border: 1px solid rgba(226, 232, 240, 1);
}

.panel--flat {
  --panel-radius: 24px;
  --panel-bg: rgba(244, 247, 252, 1);
  --panel-border: 0;
}

.panel--accent {
  --panel-radius: 24px;
  --panel-bg: linear-gradient(180deg, rgba(255, 245, 238, 1) 0%, rgba(255, 255, 255, 1) 100%);
  --panel-border: 1px solid rgba(255, 224, 201, 1);
}

.panel--deep {
  --panel-radius: 24px;
  --panel-bg: linear-gradient(135deg, rgba(21, 34, 48, 1) 0%, rgba(38, 54, 72, 1) 100%);
  --panel-border: 0;
}

.panel--dark {
  --panel-radius: 24px;
  --panel-bg: linear-gradient(135deg, rgba(18, 28, 41, 1) 0%, rgba(28, 44, 63, 1) 100%);
  --panel-border: 0;
}

.consult-modal-open {
  overflow: hidden;
}

.consult-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 20px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.24s ease, visibility 0.24s ease;
}

.consult-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.consult-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(23, 26, 29, 0.46);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.consult-modal__dialog {
  position: relative;
  width: min(600px, calc(100vw - 48px));
  outline: none;
}

.consult-modal__close {
  position: absolute;
  top: -20px;
  right: -64px;
  z-index: 3;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  opacity: 0.92;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.consult-modal__close:hover,
.consult-modal__close:focus-visible {
  opacity: 1;
  transform: scale(1.04);
  outline: none;
}

.consult-modal__close img {
  display: block;
  width: 100%;
  height: 100%;
}

.consult-modal__panel {
  position: relative;
  overflow: visible;
  padding: 30px 33px 43px;
  border-radius: 34px;
  background: url("../assets/slices/fabj.png") center / 100% 100% no-repeat;
}

.consult-modal__header {
  position: relative;
  min-height: 96px;
  padding: 4px 196px 0 24px;
}

.consult-modal__eyebrow {
  margin: 0;
  font-size: 25px;
  line-height: 35px;
  font-weight: 700;
}

@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .consult-modal__eyebrow {
    background-image: linear-gradient(327.6624142410798deg, #0A5DE6 0%, #903DEB 100%);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
  }
}

.consult-modal__title {
  margin: 3px 0 0;
  color: #171a1d;
  font-size: 26px;
  line-height: 35px;
  font-weight: normal;
}

.consult-modal__mascot {
  position: absolute;
  top: -22px;
  right: 52px;
  z-index: 2;
  width: 170px;
  max-width: none;
  pointer-events: none;
}

.consult-modal__body {
  position: relative;
  border: 1px solid rgba(231, 237, 247, 0.96);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.67);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.84),
    0 10px 22px rgba(128, 158, 224, 0.06);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.consult-modal__form {
  padding: 32px 47px 26px 35px;
}
.consult-modal__group + .consult-modal__submit {
  margin-top: 32px !important;
}
.consult-modal__field + .consult-modal__field,
.consult-modal__field + .consult-modal__group,
.consult-modal__group + .consult-modal__group,
.consult-modal__group + .consult-modal__submit {
  margin-top: 16px;
}

.consult-modal__field {
  display: grid;
  grid-template-columns: 66px minmax(0, 1fr);
  align-items: center;
  column-gap: 10px;
  min-width: 0;
}

.consult-modal__label,
.consult-modal__legend {
  padding-top: 1px;
  color: rgba(23, 26, 29, 0.82);
  font-size: 13px;
  line-height: 18px;
  font-weight: 700;
}

.consult-modal__label::before {
  content: "*";
  margin-right: 2px;
  color: #ff6d6d;
}

.consult-modal__group {
  margin: 0;
  padding: 0;
  border: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-width: 0;
}

.consult-modal__group .consult-modal__legend {
  flex: 0 0 66px;
  margin: 0;
  padding: 0;
}

.consult-modal__options {
  flex: 1 1 auto;
  width: auto;
  min-width: 0;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-start;
  gap: 14px;
  min-height: 24px;
  padding-top: 0;
  overflow: visible;
}

.consult-modal__input {
  width: 100%;
  height: 36px;
  padding: 0 14px;
  border: 1px solid rgba(214, 221, 234, 1);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.92);
  color: #171a1d;
  font-size: 12px;
  line-height: 20px;
  box-sizing: border-box;
}

.consult-modal__input::placeholder {
  color: rgba(23, 26, 29, 0.24);
}

.consult-modal__input:focus {
  border-color: rgba(91, 116, 255, 0.8);
  box-shadow: 0 0 0 3px rgba(108, 127, 255, 0.12);
  outline: none;
}

.consult-modal__option {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: rgba(23, 26, 29, 0.32);
  font-size: 12px;
  line-height: 20px;
  cursor: pointer;
  white-space: nowrap;
}

.consult-modal__option input {
  appearance: none;
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  margin: 0;
  border: 1px solid rgba(183, 193, 212, 0.88);
  border-radius: 50%;
  background: transparent;
  box-sizing: border-box;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.consult-modal__option input:checked {
  border: 5px solid #0a5de6;
  background: #ffffff;
  box-shadow: none;
}

.consult-modal__option:has(input:checked) {
  color: rgba(23, 26, 29, 0.52);
}

.consult-modal__submit {
  position: relative;
  width: fit-content;
  min-width: 170px;
  height: 42px;
  margin: 30px auto 0;
  padding: 0 44px 0 24px;
  border: 0;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(16deg, #0a5de6 0%, #903deb 100%);
  color: #fff;
  font-size: 14px;
  line-height: 20px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(75, 110, 231, 0.2);
}

.consult-modal__submit::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 24px;
  width: 16px;
  height: 12px;
  background: url("../assets/slices/thumbnail_21.png") center / contain no-repeat;
  transform: translateY(-50%);
}

@media (min-width: 2200px) {
  .site-shell {
    padding-bottom: 72px;
  }
}

@media (max-width: 1439px) {
  body,
  body.site-body {
    min-width: 1024px;
  }

  .site-shell {
    padding-bottom: 28px;
  }

  .page-root {
    box-shadow: 0 18px 48px rgba(15, 23, 42, 0.12);
  }

  .container {
    width: calc(100% - 48px);
  }
}

@media (max-width: 1360px) {
  .consult-modal__close {
    top: -48px;
    right: 10px;
  }
}

@media (max-width: 768px) {
  .consult-modal {
    padding: 20px 14px;
  }

  .consult-modal__dialog {
    width: min(100%, 420px);
  }

  .consult-modal__close {
    top: -42px;
    width: 32px;
    height: 32px;
  }

  .consult-modal__panel {
    min-height: auto;
    padding: 22px 16px 16px;
    border-radius: 22px;
    background-size: cover;
  }

  .consult-modal__header {
    min-height: 92px;
    padding: 0 104px 0 8px;
  }

  .consult-modal__eyebrow {
    font-size: 22px;
    line-height: 30px;
  }

  .consult-modal__title {
    font-size: 16px;
    line-height: 24px;
  }

  .consult-modal__mascot {
    top: -36px;
    right: 14px;
    width: 104px;
  }

  .consult-modal__form {
    padding: 20px 14px 22px;
  }

  .consult-modal__field {
    grid-template-columns: 1fr;
    row-gap: 8px;
  }

  .consult-modal__group {
    grid-template-columns: 1fr;
    row-gap: 8px;
  }

  .consult-modal__group .consult-modal__legend {
    width: auto;
    margin: 0;
  }

  .consult-modal__submit {
    width: 100%;
  }
}
