.calculator,
.steps,
.security,
.history,
.gray {
  background: var(--bg-color-light);
}

.metric__container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 50px;
}
.metric__list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
  width: 100%;
  max-width: 1000px;
}
.metric__value {
  font-size: 30px;
  color: var(--focus-color);
  padding-bottom: 5px;
}
.metric__description {
  font-size: 12px;
  color: #e9e9e9d1;
}
.metric__cta {
  margin-top: 20px;
}

.calculator__container {
  display: flex;
  flex-direction: column;
  gap: 50px;
  align-items: center;
}
.calculator__title {
  margin-bottom: 0;
}

.calculator__content {
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  width: 100%;
  justify-content: center;
}
.calculator__form {
  background-color: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 0 25px rgba(0, 255, 209, 0.05);
  border-radius: 16px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 25px;
  width: 60%;
  flex-wrap: wrap;
}
.calculator__label {
  font-size: 14px;
  color: #ccc;
  margin-bottom: 20px;
}
.calculator__input {
  width: 100%;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  color: #fff;
  outline: none;
  transition: 0.2s border;
  margin-top: 15px;
}
.calculator__input:focus {
  border: 1px solid var(--focus-color);
  box-shadow: 0 0 10px var(--focus-color);
}
.calculator__duration-options {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.calculator__duration-btn {
  flex: 1;
  padding: 10px 15px;
  background-color: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  color: #fff;
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
  transition: 0.25s all;
}
.calculator__chart {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 2rem;
  margin-bottom: 2rem;
}

/* Контейнер для графиков */
.calculator__chart {
  width: 100vw; /* на всю ширину экрана */
  height: 400px; /* фиксированная высота */
  max-width: 100%; /* на всякий случай */
}

/* Сам canvas внутри */
.calculator__chart canvas {
  width: 100% !important;
  height: 100% !important;
}

.calculator__duration-btn:hover {
  border-color: var(--focus-color);
}
.calculator__duration-btn--active {
  background: rgba(255, 212, 0, 0.15);
  border: 1px solid var(--focus-color);
  color: var(--focus-color);
  box-shadow: 0 0 12px rgba(255, 212, 0, 0.4);
}
.calculator__result {
  min-width: 300px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.calculator__result-label {
  font-size: 14px;
  color: #ccc;
  text-align: left;
}
.calculator__result-value {
  font-size: 36px;
  font-weight: 700;
  color: var(--focus-color);
}

.plans {
  text-align: center;
}

.plans__grid {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 30px;
}
.plans__card {
  background-color: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--second-color);
  border-radius: 16px;
  padding: 30px 25px;
  width: 280px;

  position: relative;
  transition: 0.3s ease;
}
.plans__card:hover {
  box-shadow: 0 0 20px rgba(0, 255, 209, 0.3);
  transform: translateY(-5px);
}
.plans__card--popular {
  border-color: var(--focus-color);
  box-shadow: 0 0 25px rgba(255, 212, 0, 0.3);
}
.plans__badge {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--focus-color);
  color: #000;
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 600;
}
.plans__card-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--focus-color);
}
.plans__card-title span {
  font-weight: 400;
  font-size: 14px;
  color: #ccc;
}
.plans__card-subtitle {
  font-size: 14px;
  margin-bottom: 20px;
  color: #999;
}
.plans__card-rate {
  font-size: 20px;
  font-weight: 600;
  color: var(--focus-color);
  margin-bottom: 20px;
}
.plans__features {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
  text-align: left;
  font-size: 14px;
  line-height: 1.6;
}
.btn--plan {
  background-color: #00ffd1;
  color: #000;
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: 600;
  border: none;
  transition: 0.3s;
}
.btn--plan:hover {
  background-color: #00e0bb;
  transform: scale(1.05);
}

.steps__wrapper {
  display: flex;
  justify-content: space-between;
  position: relative;
  gap: 60px;
  align-items: center;
}
.steps__column {
  display: flex;
  flex-direction: column;
  gap: 210px;
  width: 35%;
}
.steps__step {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.6s ease;
}
.steps__step-title {
  color: var(--second-color);
  font-size: 20px;
  margin-bottom: 10px;
}
.steps__step-text {
  font-size: 14px;
  line-height: 1.6;
  color: #ccc;
}
.steps__step.visible {
  opacity: 1;
  transform: none;
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.steps__line {
  position: relative;
  width: 4px;
  background-color: #333;
  height: 100%;
  min-height: 400px;
}
.steps__line-fill {
  position: absolute;
  width: 4px;
  height: 0;
  background-color: var(--focus-color);
  transition: height 1s ease-out;
  top: 0;
  left: 0;
}
.steps__dot {
  width: 16px;
  height: 16px;

  border: 3px solid #fff;
  border-radius: 50%;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  transition: background 0.4s ease;
}
.steps__dot[data-dot="1"] {
  top: 0%;
}
.steps__dot[data-dot="2"] {
  top: 50%;
}
.steps__dot[data-dot="3"] {
  bottom: 0%;
}

.security__features {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 16px;
  line-height: 1.8;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.security__cta {
  display: flex;
  margin: 60px auto 0;
}
.security__feature {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.security__icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}
.security__container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 90px;
}
.security__content {
  display: flex;
  align-items: center;
  flex-direction: row;
  justify-content: center;
  gap: 30px;
}
.security__visual {
  max-width: 70%;
}
.security__visual img {
  max-width: 100%;
}
.reviews-static__grid {
  display: flex;
  align-items: center;
  justify-content: center;

  gap: 65px;

  margin: 0 auto;
}
.review-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 20px;
  padding: 30px 24px;
  box-shadow: 0 0 20px rgba(0, 255, 209, 0.05);
  transition: all 0.3s ease;
}
.review-card:hover {
  box-shadow: 0 0 35px rgba(0, 255, 209, 0.15);
  transform: translateY(-4px);
}
.review-card__top {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}
.review-card__avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 2px solid var(--second-color);
  object-fit: cover;
  box-shadow: 0 0 10px rgba(0, 255, 209, 0.2);
}
.review-card__name {
  font-size: 16px;
  font-weight: 700;
  color: var(--focus-color);
  margin: 0;
}
.review-card__role {
  font-size: 13px;
  color: #aaa;
  margin: 2px 0;
}
.review-card__stars {
  font-size: 14px;
  color: gold;
  letter-spacing: 2px;
}
.review-card__text {
  font-size: 15px;
  color: #ccc;
  line-height: 1.6;
}

.faq__btn {
  border-bottom: 1px solid #fff;
  cursor: pointer;

  text-align: center;
}
.faq__conatiner {
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}
.faq__list {
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.faq__item {
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: 0.3s ease;
  overflow: hidden;
}
.faq__question {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.3s ease;
}
.faq__item:hover .faq__question {
  background: rgba(255, 255, 255, 0.02);
}
.faq__number {
  background: var(--focus-color);
  color: #000;
  font-weight: bold;
  padding: 5px 10px;
  border-radius: 50%;
  font-size: 14px;
  min-width: 26px;
  text-align: center;
}
.faq__text {
  flex-grow: 1;
}
.faq__toggle {
  font-size: 22px;
  font-weight: bold;
  color: #fff;
  transition: transform 0.3s ease;
}
/* ответ скрыт по умолчанию */
.faq__answer {
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  font-size: 14px;
  color: #ccc;
  transition: all 0.3s ease;
}
/* если открыт */
.faq__item--open .faq__answer {
  padding: 16px 20px 20px;
  max-height: 300px;
  opacity: 1;
}
.faq__item--open .faq__toggle {
  transform: rotate(45deg);
}

.mission__intro {
  max-width: 900px;
  margin-bottom: 30px;
}

.mission__bullets {
  margin: 0 0 16px 0;
  padding-left: 18px;
  line-height: 1.7;
}

.mission__bullets li {
  list-style: disc;
}

.mission__text {
  color: #cfd7de;
  line-height: 1.7;
}

/* Grid карточек */
.mission__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 24px;
}

/* Карточка */
.mission-card {
  position: relative;
  padding: 24px 18px;
  border: 2px solid var(--focus-color);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.02);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.25);
  transition: transform 0.25s ease, box-shadow 0.25s ease,
    border-color 0.25s ease;
  text-align: center;
}

.mission-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 36px rgba(255, 212, 0, 0.18);
  border-color: #ffe36a;
}

.mission-card__icon {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 76px;
  margin-bottom: 10px;
}

.mission-card__svg {
  width: 64px;
  height: 64px;
  opacity: 0.95;
}
.mission-card__icon img{
    width: 64px;
  height: 64px;
}

.mission-card__title {
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 6px;
  color: #ffffff;
}

.mission-card__desc {
  font-size: 13px;
  color: #b7c0c8;
  line-height: 1.5;
}

.history__container {
  max-width: 1000px;
  margin: 0 auto;
}

.history__timeline-wrapper {
  display: flex;
  justify-content: space-between;
  position: relative;
  gap: 60px;
}

.history__column {
  width: calc(50% - 30px);
  display: flex;
  flex-direction: column;
  gap: 257px;
}

.history__column--left {
  text-align: right;
  align-items: flex-end;
}

.history__event {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.6s ease;
  will-change: transform, opacity;
}

.history__event.visible {
  opacity: 1;
  transform: translateY(0);
}

.history__event-title {
  color: var(--focus-color);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}

.history__event-text {
  font-size: 14px;
  line-height: 1.6;
  color: #ccc;
}

.history__timeline {
  position: relative;
  width: 4px;
  background-color: #333;
  min-height: 652px;
}

.history__line-fill{
  position: absolute;
  width: 4px;
  height: 100%;            /* фикс. высота */
  top: 0; left: 0;
  background-color: var(--focus-color);
  transform-origin: top;   /* растим сверху вниз */
  transform: scaleY(0);    /* старт */
  transition: transform .5s ease;
  will-change: transform;
}

.history__dot {
  width: 16px;
  height: 16px;
  background-color: #333;
  border: 3px solid #fff;
  border-radius: 50%;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  transition: background-color .3s ease, border-color .3s ease;
}
.history__dot.active{
  background-color:#fff;
  border-color: var(--focus-color);
}

.history__dot[data-dot="1"] {
  top: 0%;
}
.history__dot[data-dot="2"] {
  top: 33%;
}
.history__dot[data-dot="3"] {
  top: 66%;
}
.history__dot[data-dot="4"] {
  bottom: 0%;
}
.history__column--right {
  justify-content: flex-end;
}

.team-pro__badge {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 6px 10px;
  border-radius: 999px;
  color: #001019;
  background: linear-gradient(90deg, var(--focus-color), #ffe680);
  box-shadow: 0 0 18px rgba(255, 212, 0, 0.35);
}

.team-pro__grid {
  display: flex;
  justify-content: space-evenly;
  gap: 20px;
}

.tpro__media {
  position: relative;
  margin: 0;
}
.tpro__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(1.05) contrast(1.05);
}

/* glass panel */
.tpro__glass {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 18px 18px 16px;
  background: linear-gradient(
    0deg,
    rgb(0 0 0 / 68%),
    rgb(0 0 0 / 77%) 60%,
    #000000bd
  );

  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.tpro__name {
  font-weight: 900;
  font-size: 18px;
  line-height: 1.2;
}
.tpro__role {
  font-weight: 700;
  color: #e6eaf0;
  margin: 2px 0 8px;
}

.tpro__tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin: 0 0 8px;
  padding: 0;
  list-style: none;
}
.tpro__tags li {
  font-size: 11px;
  letter-spacing: 0.04em;
  padding: 4px 8px;
  border-radius: 999px;
  color: #001019;
  background: linear-gradient(90deg, var(--second-color), #8afff0);
}

.tpro__bio {
  margin: 8px 0 10px;
  font-size: 14px;
  line-height: 1.55;
  color: #cdd5dd;
}

/* socials */
.tpro__socials {
  display: flex;
  gap: 10px;
}
.tpro__social {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  color: #001019;
  background: linear-gradient(90deg, var(--focus-color), #ffe780);
  box-shadow: 0 0 16px rgba(255, 212, 0, 0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}
.tpro__social:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 20px rgba(255, 212, 0, 0.45);
}

/* hover depth */
.tpro:hover .tpro__photo {
  transform: scale(1.02);
  transition: transform 0.35s ease;
}

/* Ряды (2-колоночная сетка) */
.vision-contacts__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: start;
}

.vision-contacts__row--reverse {
  grid-auto-flow: dense;
}
.vision-contacts__row--reverse .contacts {
  order: 1;
}

.vision-contacts__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.vision__text {
  color: #cfd7de;
  line-height: 1.75;
  font-size: 14px;
  margin: 0 0 12px;
}

/* Contacts */
.contacts {
  padding: 22px 22px;
}

.contacts__block + .contacts__block {
  margin-top: 16px;
}
.contacts__label {
  font-weight: 700;
  margin-bottom: 6px;
  color: #e9eef3;
}
.contacts__value {
  font-size: 14px;
  color: #d5dde6;
  line-height: 1.7;
}
.contacts a {
  color: var(--second-color);
  text-decoration: none;
}
.contacts a:hover {
  text-decoration: underline;
}

.map-embed {
  height: 100%;
  min-height: 400px;
  width: 100%;
}

.map-embed__fallback {
  position: absolute;
  right: 10px;
  bottom: 10px;
  background: rgba(0, 0, 0, 0.45);

  border-radius: 8px;
  padding: 6px 10px;
  font-size: 12px;
}

.map-embed__fallback a {
  color: var(--second-color);
  text-decoration: none;
}
.map-embed__fallback a:hover {
  text-decoration: underline;
}
.section__text {
  margin: 30px auto;
}
.section__text h2 {
  margin-bottom: 30px;
  color: var(--focus-color);
}
.section__text p {
  margin-bottom: 20px;
}
.section__text p span {
  color: var(--focus-color);
}

.faq-hub__title {
  text-align: center;
  font-weight: 700;
  font-size: 24px;
  color: var(--focus-color);
  margin-bottom: 20px;
}

/* поиск */
.faq-hub__search {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-bottom: 10px;
}
.faq-hub__input {
  width: min(520px, 90%);
  background: #17242f;
  color: #e9f0f6;
  border: 1px solid #233141;
  border-radius: 8px;
  padding: 10px 12px;
  outline: none;
}
.faq-hub__input::placeholder {
  color: #92a4b4;
}
.faq-hub__btn {
  background: var(--focus-color);
  color: #001019;
  border: none;
  border-radius: 8px;
  padding: 10px 16px;
  font-weight: 700;
  cursor: pointer;
}

/* чипсы */
.faq-hub__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin: 12px auto 22px;
  color: #a9b8c6;
  font-size: 14px;
}
.chip {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  padding: 6px 12px;
  color: grey;
  cursor: pointer;
}
.chip.is-active {
  background: rgba(0, 255, 209, 0.12);
  border-color: rgba(0, 255, 209, 0.4);
  color: #dffdf7;
}

/* список */
.faq-hub__list {
  max-width: 980px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-hub__item {
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  overflow: hidden;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.faq-hub__item:hover {
  border-color: rgba(255, 212, 0, 0.35);
  box-shadow: 0 0 20px rgba(255, 212, 0, 0.06);
}

.faq-hub__q {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 16px 16px;
  cursor: pointer;
}
.faq-hub__num {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  font-size: 13px;
  color: #fff;
}
.faq-hub__toggle {
  text-align: left;
  background: none;
  border: none;
  color: #eaf2f7;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
}
.faq-hub__icon {
  color: #fff;
  font-weight: 800;
  font-size: 20px;
  transition: transform 0.25s ease;
}

.faq-hub__a {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  padding: 0 16px;
  color: #cfd7de;
  line-height: 1.7;
  font-size: 14px;
  transition: max-height 0.3s ease, opacity 0.3s ease, padding 0.3s ease;
}
.faq-hub__item.is-open .faq-hub__a {
  padding: 0 16px 16px;
  max-height: 320px;
  opacity: 1;
}
.faq-hub__item.is-open .faq-hub__icon {
  transform: rotate(45deg);
}

/* Показать больше */
.faq-hub__more {
  text-align: center;
  margin-top: 30px;
}
.faq-hub__more-btn {
  text-decoration: underline;
}
.faq-hub__empty {
  text-align: center;
  color: #93a7ba;
  margin-top: 12px;
}

.contact-help__grid {
  display: grid;
  grid-template-columns: 0.5fr 1fr;
  gap: 144px;
  align-items: start;
}

.contact-help__title {
  color: var(--focus-color);
  font-weight: 800;
  font-size: 20px;
  margin: 0 0 10px;
}
.contact-help__lead {
  color: #cfd7de;
  margin: 0 0 16px;
  line-height: 1.7;
}
.contact-help__list {
  list-style: none;
  padding: 0;
  margin: 0;
  color: #d9e2ea;
  line-height: 1.8;
}
.contact-help__list a {
  color: var(--second-color);
  text-decoration: none;
}
.contact-help__list a:hover {
  text-decoration: underline;
}

.contact-help__card {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.05),
    rgba(255, 255, 255, 0.03)
  );
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 22px;
  backdrop-filter: blur(8px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
}
.contact-help__card-title {
  text-align: center;
  margin: 0 0 12px;
  color: #ffe68a;
  font-weight: 800;
  font-size: 18px;
  line-height: 1.35;
}

.ch-field {
  display: block;
  margin-bottom: 14px;
}
.ch-field__label {
  display: block;
  font-size: 14px;
  color: #e3ebf3;
  margin-bottom: 6px;
}
.ch-field__input {
  width: 100%;
  height: 44px;
  border-radius: 8px;
  border: 1px solid #223243;
  outline: none;
  background: #15232f;
  color: #eaf2f7;
  padding: 10px 12px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.ch-field__input::placeholder {
  color: #8ea3b5;
}
.ch-field__input:focus {
  border-color: rgba(0, 255, 209, 0.45);
  box-shadow: 0 0 0 3px rgba(0, 255, 209, 0.18);
}

.ch-field__err {
  display: block;
  margin-top: 6px;
  color: #ffb3b3;
  min-height: 1em;
  font-size: 12px;
}
.ch-field__input.is-error {
  border-color: #ff7f7f;
  box-shadow: 0 0 0 3px rgba(255, 127, 127, 0.18);
}

.contact-help__btn {
  display: block;
  width: 100%;
  margin-top: 6px;
  padding: 11px 14px;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  background: linear-gradient(90deg, var(--focus-color), #ffe680);
  color: #001019;
  font-weight: 800;
  box-shadow: 0 0 16px rgba(255, 212, 0, 0.25);
}
.contact-help__note {
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.5;
  color: #d8e5ee;
}

.contact-suite__grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 28px;
  align-items: start;
}

/* left */
.c-info__title {
  color: var(--focus-color);
  font-weight: 800;
  font-size: 20px;
  margin: 0 0 8px;
}
.c-info__lead {
  color: #cfd7de;
  margin: 0 0 14px;
  line-height: 1.7;
}
.c-info__subtitle {
  color: #ffe68a;
  font-weight: 800;
  margin: 18px 0 6px;
}
.c-info__list {
  list-style: none;
  margin: 0 0 6px;
  padding: 0;
  color: #dbe5ee;
  line-height: 1.75;
}
.c-info__list a {
  color: var(--second-color);
  text-decoration: none;
}
.c-info__list a:hover {
  text-decoration: underline;
}

/* right card */
.card {
  padding: 22px;
}
.c-form__title {
  text-align: center;
  color: #ffe68a;
  font-weight: 800;
  margin: 0 0 12px;
}

.cf-field {
  display: block;
  margin-bottom: 14px;
}
.cf-field__label {
  display: block;
  font-size: 14px;
  color: #e3ebf3;
  margin-bottom: 6px;
}
.cf-field__input {
  width: 100%;
  min-height: 44px;
  border-radius: 8px;
  border: 1px solid #223243;
  background: #15232f;
  color: #eaf2f7;
  padding: 10px 12px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.cf-field__textarea {
  resize: vertical;
}
.cf-field__input::placeholder {
  color: #8ea3b5;
}
.cf-field__input:focus {
  border-color: rgba(0, 255, 209, 0.45);
  box-shadow: 0 0 0 3px rgba(0, 255, 209, 0.18);
}

.cf-field__err {
  display: block;
  min-height: 1em;
  margin-top: 6px;
  font-size: 12px;
  color: #ffb3b3;
}
.cf-field__input.is-error {
  border-color: #ff7f7f;
  box-shadow: 0 0 0 3px rgba(255, 127, 127, 0.18);
}

.cf-consent {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
}
.cf-consent__check {
  width: 16px;
  height: 16px;
}
.cf-consent__err {
  display: block;
}

.c-form__btn {
  width: 100%;
  margin-top: 10px;
  padding: 11px 14px;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  background: linear-gradient(90deg, var(--focus-color), #ffe680);
  color: #001019;
  font-weight: 800;
  box-shadow: 0 0 16px rgba(255, 212, 0, 0.25);
  transition: transform 0.15s ease, box-shadow 0.2s ease;
}
.c-form__btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(255, 212, 0, 0.35);
}
.c-form__note {
  margin-top: 10px;
  font-size: 14px;
  color: #d8e5ee;
}
.cf-method {
  display: flex;
  gap: 14px;
  align-items: center;
  margin: 6px 0 12px;
}
.cf-method__legend {
  font-weight: 700;
  margin-right: 6px;
  color: #e3ebf3;
}
.cf-method__option {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #d9e2ea;
}

.is-hidden {
  display: none !important;
} /* скрываем невидимое поле */
/* Базовая модалка (по умолчанию скрыта) */
.c-modal {
  position: fixed;
  inset: 0;
  display: none; /* <-- скрываем */
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.55);
  z-index: 1000;
}
.c-modal[aria-hidden="true"] {
  display: none;
}
.c-modal.is-open {
  display: flex;
} /* <-- показываем при открытии */

.c-modal__dialog {
  width: min(520px, 92vw);
  padding: 20px;
  border-radius: 14px;
  outline: none;
}
/* кнопка закрытия */
.c-modal__close {
  position: absolute;
  top: 10px;
  right: 12px;
  background: transparent;
  border: 0;
  color: #fff;
  font-size: 20px;
  cursor: pointer;
}
/* Табы калькулятора */
.calc-tabs {
  display: flex;
  gap: 10px;
}
.calc-tab {
  padding: 10px 14px;
  border-radius: 10px;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: #fff;
}
.calc-tab--active {
  background: rgba(255, 212, 0, 0.15);
  border-color: var(--focus-color);
  color: var(--focus-color);
  box-shadow: 0 0 12px rgba(255, 212, 0, 0.35);
}
.calc-panels {
  width: 100%;
  max-width: 980px;
}
.calc-panel {
  display: none;
  height: 420px;
}
.calc-panel--active {
  display: block;
}

/* блок доп.параметров */
.calc-adv summary {
  cursor: pointer;
  color: #e9eef3;
  font-weight: 700;
  margin-top: 4px;
}
.calc-adv__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(220px, 1fr));
  gap: 16px;
  margin-top: 12px;
}
.calc-adv__check {
  display: flex;
  gap: 8px;
  align-items: center;
  color: #cfd7de;
}

.secondary .hero__content {
  align-items: flex-start;
  gap: 32px;
  flex-direction: column;
  margin: 0;
}
.secondary .hero__title {
  width: 100%;
  padding: 0;
  margin: 0;
  align-items: flex-start;
  text-align: left;
}
.secondary .hero__divider {
  width: 217px;
  height: 2px;
}
.secondary .hero__description {
  width: 100%;
  padding: 0;
  margin: 0;
}
.secondary .hero__content-wrapper {
  width: 100%;
}
/* ===== Risk section ===== */
.risk {
  background: #0f1218; /* фон секции */
  padding: 40px 0 48px;
}

.risk__container {
  width: min(1100px, 92vw);
  margin: 0 auto;
}

.risk__box {
  background: rgba(255, 255, 255, 0.04);
  border-radius: 14px;
  padding: 22px 22px 20px;
  color: #e6edf5;

  /* премиальная рамка и лёгкое свечение */
  position: relative;
  border: 2px solid #ffd400;
  box-shadow: 0 6px 28px rgba(255, 212, 0, 0.08),
    inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.risk__title {
  margin: 0 0 10px;
  font-weight: 800;
  color: #ffd400;
  font-size: 20px;
  letter-spacing: 0.2px;
}

.risk__lead {
  margin: 0 0 14px;
  color: #cfd7e3;
  line-height: 1.55;
}

.risk__cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 32px;
}

.risk__subtitle {
  margin: 0 0 8px;
  color: #ffffff;
  font-weight: 800;
  font-size: 18px;
}

.risk__list {
  margin: 0;
  padding-left: 0;
  list-style: none;
}
.risk__list li {
  position: relative;
  padding-left: 18px;
  line-height: 1.5;
  color: #d9e2ef;
  margin: 6px 0;
}
.risk__list li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: #ffd400;
}

/* CTA */
.risk__cta {
  display: flex;
  justify-content: center;
  margin-top: 22px;
}
.risk__btn {
  appearance: none;
  border: 0;
  border-radius: 10px;
  padding: 12px 20px;
  font-weight: 800;
  background: #ffd400;
  color: #0f1218;
  cursor: pointer;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.risk__btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.32);
}
.risk__btn:active {
  transform: translateY(0);
}
.section__text h2{
  color: var(--focus-color);
}
