/* ==========================================================================
   Alfaparf Milano Professional — лендинг проекта преображения
   Все классы с префиксом lend-
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Переменные
   -------------------------------------------------------------------------- */
:root {
  --lend-dark: #4b4b4b;
  --lend-grey: #f0f0f0;
  --lend-white: #ffffff;

  --lend-radius-xl: 66.67px;
  --lend-radius-lg: 44.85px;
  --lend-radius-md: 36.44px;
  --lend-radius-sm: 36px;

  /* Горизонтальные отступы секций */
  --lend-gutter: clamp(20px, 5.2vw, 100px);
  /* Вертикальные отступы секций */
  --lend-section-y: clamp(40px, 3.5vw, 66.67px);

  /* Типографика (флюидная, база — макет 1920px) */
  --lend-fs-title: clamp(28px, 3.3vw, 63.26px);
  --lend-fs-subtitle: clamp(20px, 2.23vw, 42.88px);
  --lend-fs-lead: clamp(16px, 1.37vw, 26.36px);
  --lend-fs-card-title: clamp(20px, 1.73vw, 33.22px);
  --lend-fs-body: clamp(15px, 1.25vw, 23.92px);
  --lend-fs-icon-label: clamp(16px, 1.73vw, 33.13px);
  --lend-fs-benefit: clamp(16px, 1.37vw, 26.24px);
  --lend-fs-button: clamp(18px, 2.23vw, 42.79px);
  --lend-fs-cta: clamp(16px, 1.49vw, 28.57px);

  --lend-font: "Helvetica Neue", Helvetica, Arial, "Segoe UI", Roboto, sans-serif;
}
[role="page"] .m-wrapper{
  width: 100% !important;
}
/* --------------------------------------------------------------------------
   2. Сброс и база
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
.wrapper{
  width: 100%;
  padding: 0 var(--lend-gutter);
  max-width: 1920px;
  margin: 0 auto;
  overflow: hidden;
}

.lend-body {
  margin: 0;
  padding: 0;
  background-color: var(--lend-white);
  color: var(--lend-dark);
  font-family: var(--lend-font);
  -webkit-font-smoothing: antialiased;
}


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

.lend-page svg {
  display: block;
}

/* Общий заголовок секции */
.lend-title {
  margin: 0;
  font-size: var(--lend-fs-title);
  font-weight: 700;
  line-height: 1;
  color: var(--lend-dark);
}

.lend-title--center {
  text-align: center;
}

/* Кнопка */
.lend-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  padding: 37px 94px;
  min-height: clamp(72px, 6.5vw, 125.33px);
  border: 0;
  border-radius: var(--lend-radius-lg);
  background-color: var(--lend-dark);
  box-shadow: 0 5.33px 5.33px 0 rgba(0, 0, 0, 0.11);
  color: var(--lend-white);
  font-family: inherit;
  font-size: var(--lend-fs-button);
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.lend-button:hover {
  background-color: #3a3a3a;
}

.lend-button:active {
  transform: translateY(1px);
}

.lend-button:focus-visible {
  outline: 3px solid var(--lend-dark);
  outline-offset: 4px;
}

.lend-button--wide {
  width: 100%;
  max-width: 1262.67px;
  margin: 0 auto;
  border-radius: 44px;
}

/* --------------------------------------------------------------------------
   3. Шапка / hero
   -------------------------------------------------------------------------- */
.lend-hero {

  padding: var(--lend-section-y) 0;
  border-radius: 0 0 var(--lend-radius-xl) var(--lend-radius-xl);
  background-color: var(--lend-dark);
  background-image: url(./lend-hero.jpg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: var(--lend-white);
}

.lend-hero__logo {
  width: clamp(240px, 37.3vw, 716px);
  height: auto;
  margin: 0 0 39px;
  color: var(--lend-white);
}

.lend-hero__text {
  max-width: 1333.33px;
  display: flex;
  flex-direction: column;
  gap: 29px;
  font-size: var(--lend-fs-lead);
  font-weight: 500;
  line-height: 1.1;
  color: var(--lend-white);
}

.lend-hero__text p {
  margin: 0;
}

/* --------------------------------------------------------------------------
   4. Три шага
   -------------------------------------------------------------------------- */
.lend-steps {
  display: flex;
  flex-direction: column;
  gap: 56px;
  padding: var(--lend-section-y) 0;
}

.lend-steps__image {
  position: absolute;
  top: 927px;
  z-index: -1;
  right: 0;
}

.lend-steps__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 1.2vw, 22.67px);
  align-items: stretch;
}

.lend-step {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  padding: 30px 30px 51px;
  border-radius: var(--lend-radius-lg);
  background-color: var(--lend-grey);
}

.lend-step__num {
  width: auto;
  height: clamp(48px, 4.7vw, 90px);
  color: var(--lend-dark);
}

.lend-step__title {
  margin: 0;
  font-size: var(--lend-fs-card-title);
  font-weight: 700;
  line-height: 1.2;
  text-transform: uppercase;
  color: var(--lend-dark);
}

.lend-step__text {
  margin: 0;
  font-size: var(--lend-fs-body);
  font-weight: 500;
  line-height: 1.1;
  color: var(--lend-dark);
}

/* --------------------------------------------------------------------------
   5. Вы нам подходите, если
   -------------------------------------------------------------------------- */
.lend-fit {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 57px;
  padding: 73px 0;
}

.lend-fit__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.lend-fit__card {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: clamp(120px, 8.8vw, 169.33px);
  padding: clamp(16px, 1.1vw, 21.33px);
  border-radius: var(--lend-radius-sm);
  background-color: var(--lend-dark);
}

.lend-fit__card p {
  margin: 0;
  font-size: var(--lend-fs-body);
  font-weight: 500;
  line-height: 1.1;
  text-align: center;
  color: var(--lend-white);
}

/* --------------------------------------------------------------------------
   6. Что потребуется от вас
   -------------------------------------------------------------------------- */
.lend-need {
  display: flex;
  flex-direction: column;
  gap: 57px;
  padding: 66px 0;
}

.lend-need__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.lend-need__card {
  display: flex;
  align-items: center;
  gap: clamp(16px, 1.5vw, 28px);
  min-height: clamp(80px, 5.35vw, 102.67px);
  padding: clamp(16px, 1.1vw, 21.33px) clamp(20px, 1.7vw, 32px);
  border-radius: var(--lend-radius-sm);
  background-color: var(--lend-dark);
}

.lend-need__num {
  flex: none;
  width: auto;
  height: clamp(26px, 2.2vw, 42px);
  color: var(--lend-white);
}

.lend-need__card p {
  margin: 0;
  font-size: var(--lend-fs-body);
  font-weight: 500;
  line-height: 1.25;
  color: var(--lend-white);
}

/* --------------------------------------------------------------------------
   7. Мы ищем героев с историей
   -------------------------------------------------------------------------- */
.lend-heroes .lend-title{
  font-size: 63px;
  line-height: 1;
}
.lend-heroes {
  padding: var(--lend-section-y) 0;
}

.lend-heroes__inner {
  display: flex;
  background: #F0F0F0;

  flex-direction: column;
  align-items: center;
  gap: clamp(28px, 2.9vw, 56px);
  padding: 76px 40px 67px;
  border-radius: var(--lend-radius-xl);
}

.lend-heroes__subtitle {
  margin: 0;
  max-width: 1626.67px;
  font-size: var(--lend-fs-subtitle);
  font-weight: 500;
  line-height: 0.95;
  text-align: center;
  color: var(--lend-dark);
}

.lend-heroes__icons {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(20px, 2vw, 40px);
  width: 100%;
}

.lend-icon-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
  text-align: center;
}

.lend-icon-item__icon {
  width: auto;
  height: clamp(64px, 6.3vw, 121px);
  color: var(--lend-dark);
}

.lend-icon-item__label {
  margin: 0 -15px;
  font-size: var(--lend-fs-icon-label);
  font-weight: 500;
  line-height: 1.2;
  color: var(--lend-dark);
}

.lend-heroes__note {
  margin: 0;
  max-width: 1626.67px;
  font-size: clamp(18px, 1.95vw, 37.48px);
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  color: var(--lend-dark);
}

/* --------------------------------------------------------------------------
   8. Что получают участницы
   -------------------------------------------------------------------------- */
.lend-benefits {
  display: flex;
  position: relative;
  flex-direction: column;
  gap: 23px;
  padding: 35px 0;
}

.lend-benefits__image {
  z-index: -1;
  position: absolute;
  bottom: 0;
  width: 1200px;
  right: -100px;
}

.lend-benefits__list {
  display: flex;
  flex-direction: column;
  gap: clamp(14px, 1.1vw, 21.33px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.lend-benefit {
  display: flex;
  align-items: center;
  gap: clamp(14px, 1.1vw, 21.33px);
  width: min(100%, 842.93px);
  min-height: 146.67px;
  padding: 5px 34px;
  border-radius: var(--lend-radius-md);
  background-color: var(--lend-grey);
}

.lend-benefit__icon {
  flex: none;
  width: auto;
  height: 95px;
  color: var(--lend-dark);
}

.lend-benefit__icon--tall {
  height: clamp(60px, 6.2vw, 119.6px);
}

.lend-benefit p {
  margin: 0;
  font-size: var(--lend-fs-benefit);
  font-weight: 500;
  line-height: 1.3;
  color: var(--lend-dark);
}

/* --------------------------------------------------------------------------
   9. Финальный блок
   -------------------------------------------------------------------------- */
.lend-cta {
  display: flex;
  text-align: center;
  flex-direction: column;
  align-items: center;
  gap: clamp(24px, 2.3vw, 44px);
  padding: 96px 0 63px;
  border-radius: var(--lend-radius-xl) var(--lend-radius-xl) 0 0;
  background-color: var(--lend-grey);
}

.lend-cta__box {
  margin: 33px 0 45px;

  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 56px 75px 46px;
  border-radius: 44px;
  background-color: var(--lend-white);
}

.lend-cta__box p {
  margin: 0;
  max-width: 1576px;
  font-size: var(--lend-fs-cta);
  font-weight: 500;
  line-height: 1.1;
  text-align: center;
  color: var(--lend-dark);
}

.lend-cta__note {
  margin: 0 0 38px;
  max-width: 1725.33px;
  font-size: var(--lend-fs-body);
  font-weight: 500;
  line-height: 1.3;
  text-align: center;
  color: var(--lend-dark);
  opacity: 0.38;
}

.m-newsletter{
  display: none !important;
}

#block-breadcrumbs + *{
  display: none !important;
}
#block-breadcrumbs{
  display: none !important;
}
@media screen and (max-width: 1600px) {
  .lend-hero__logo {
    margin: 0 0 27px;
  }
  .lend-hero__text {
    max-width: 1000px;
    gap:23px;
  }
  .lend-hero{
    padding: 50px 0;
    border-radius: 0 0 50px 50px;
  }
  .lend-steps {
    gap: 40px;
  }
  .lend-step {
    gap: 16px;
    padding: 23px 24px 44px;
    border-radius: 35px;
  }
  .lend-step__title {
    margin: 0 0 -8px;
  }
  .lend-fit {
    gap: 43px;
    padding: 52px 0;
  }
  .lend-fit__grid {
    gap: 15px;
  }
  .lend-fit__card {
    border-radius: 30px;
  }
  .lend-steps__image {
    top: 1083px;
    width: 380px;
  }
  .lend-need {
    gap: 41px;
    padding: 52px 0 48px;
  }
  .lend-need__card{
    border-radius: 30px;
  }

  .lend-heroes__inner {
    gap: 43px;
    padding: 59px 40px 50px;
    border-radius: 50px;
  }
  .lend-heroes .lend-title {
    font-size: 47px;
    line-height: 1;
  }
  .lend-heroes__icons {
    margin: -6px 0 -3px;
  }
  .lend-button {
    padding: 29px 70px;
    border-radius: 30px;
  }


  .lend-benefits {
    gap: 17px;
    padding: 27px 0 24px;
  }

  .lend-benefit {
    min-height: 110px;
    width: 630px;
    padding: 5px 26px;
    border-radius: 25px;
  }
  .lend-benefit__icon{
    height: 70px;
  }
  .lend-cta {
    border-radius: 45px 45px 0 0;
    padding: 74px 0 63px;
  }
  .lend-cta__box {
    margin: 23px 0 32px;
    padding: 40px 75px 36px;
    border-radius: 24px;
  }
  .lend-cta__note {
    margin: 0 0 29px;
  }
  .lend-button--wide {
    width: 100%;
    max-width: 949px;
    margin: 0 auto;
    border-radius: 44px;
  }
  .lend-benefits__image{
    width: auto;
    bottom: -30px;
  }

  .wrapper{
    overflow: visible;
  }
  .lend-fit__grid{
    gap:9px;
    grid-template-columns: repeat(4, 1fr);
  }
  .lend-fit__card p{
    font-size: 10px;
  }
  .lend-fit__card {
    min-height: 69px;
    padding: 10px 6px;
    border-radius: 13px;
  }
}



/* --------------------------------------------------------------------------
   10. Адаптив
   -------------------------------------------------------------------------- */
@media (max-width: 1100px) {
  .lend-fit__grid,
  .lend-need__grid,
  .lend-heroes__icons {
    grid-template-columns: repeat(2, 1fr);
  }

  .lend-benefits__image {
    bottom: -50px;
    width: auto;
    right: -300px;
  }
  .lend-hero {
    padding: 27px 0px;
    border-radius: 0 0 26px 26px;
  }
  .lend-hero__text{
    font-size: 11px;
    gap:12px;
    max-width: 535px;
  }
  .lend-hero__logo {
    margin: 0 0 12px;
  }
  .lend-title {
    font-size: 25px;
    line-height: 1;
  }
  .lend-steps {
    gap: 23px;
    padding: 26px 0;
  }

  .lend-steps__grid{
    gap:9px;
  }
  .lend-step {
    gap: 10px;
    padding: 13px 13px 24px;
    border-radius: 17px;
  }
  .lend-step__num{
    height: 35px;
  }
  .lend-step__title{
    font-size: 14px;
  }
  .lend-step__text{
    font-size: 10px;
  }
  .lend-fit {
    gap: 23px;
    padding: 29px 0;
  }
  .lend-need {
    gap: 24px;
    padding: 25px 0;
  }
  .lend-fit__grid, .lend-need__grid, .lend-heroes__icons{
    grid-template-columns: repeat(4, 1fr);
    gap:9px;
  }
  .lend-need__card p{
    font-size: 10px;
  }
  .lend-need__card {
    display: flex;
    align-items: center;
    min-height: 41px;
    gap:11px;
    padding: 0 13px;
    border-radius: 14px;
  }
  .lend-need__num{
    height: 17px;
  }
  .lend-heroes .lend-title{
    font-size: 25px;
  }
  .lend-heroes {
    padding: 29px 0;
  }
  .lend-heroes__inner {
    gap: 20px;
    padding: 32px 40px 26px;
    border-radius: 25px;
  }
  .lend-heroes__subtitle {
    font-size: 17px;
  }
  .lend-heroes__icons {
    margin: 2px 0 1px;
  }
  .lend-icon-item__icon{
    height: 48px;
  }
  .lend-icon-item__label {
    margin: 0 -10px;
    font-size: 13px;
  }
  .lend-button {
    padding: 16px 38px;
    border-radius: 19px;
    min-height: 1px;
    font-size: 17px;
  }
  .lend-heroes__note {
    font-size: 15px;
  }
  .lend-steps__image{
    display: none;
  }
  .lend-benefits {
    gap: 10px;
    padding: 12px 0 24px;
  }
  .lend-benefit__icon {
    height: 37px;
  }
  .lend-benefit {
    min-height: 59px;
    gap:10px;
    width: 338px;
    padding: 5px 13px;
    border-radius: 14px;
  }
  .lend-benefit p{
    font-size: 10px;
  }
  .lend-benefits__list {
    gap: 9px;
  }
  .lend-benefits {
    gap: 10px;
    padding: 12px 0 10px;
  }
  .lend-benefits__image {
    bottom: -35px;
    right: -52px;
    width: 500px;
  }

  .lend-cta {
    padding: 41px 0 63px;
  }

  .lend-cta__box {
    margin: 15px 0 19px;
    padding: 21px 75px 19px;
    border-radius: 24px;
  }
  .lend-cta__box p {
    font-size: 11px;
  }
  .lend-cta__note{
    font-size: 9.6px;
    margin: 0 0 14px;
  }
  .lend-button--wide {
    max-width: 505px;
  }
}

@media (max-width: 767px) {
  .lend-steps__grid,
  .lend-fit__grid,
  .lend-need__grid {
    grid-template-columns: 1fr;
  }


  .lend-hero {
    background-position: 60% center;
  }

  .lend-heroes__icons {
    grid-template-columns: 1fr;
  }


  .lend-hero {
    padding: 42px 0px 19px;
    border-radius: 0 0 12px 12px;
  }
  .lend-hero__logo {
    width: 168px;
    margin: 0 0 38px;
  }
  .lend-title {
    font-size: 23px;
    line-height: 1;
  }
  .lend-steps {
    gap: 13px;
    padding: 31px 0 10px;
  }
  .lend-step {
    border-radius: 6px;
    gap: 4px;
    padding: 7px 7px 5px;
  }
  .lend-step__num {
    height: 17px;
    opacity: .3;
  }
  .lend-step__title {
    font-size: 16px;
    margin: 0 0 -2px;
  }
  .lend-steps__grid {
    gap: 13px;
  }
  .lend-fit {
    padding: 18px 0 10px;
    gap: 17px;
  }
  .lend-fit__card {
    border-radius: 6px;
  }
  .lend-fit__card {
    min-height: 1px;
    border-radius: 6px;
    padding: 21px 10px;
  }
  .lend-fit__grid{
    gap:6px;
  }
  .lend-need {
    gap: 16px;
    padding: 19px 0;
  }

  .lend-need__card {
    display: flex;
    align-items: center;
    min-height: 1px;
    gap: 17px;
    padding: 14px 10px;
    border-radius: 6px;
  }
  .lend-need__num {
    height: 33px;
  }
  .lend-need__card p {
    font-size: 16px;
  }
  .lend-need__grid{
    gap:8px;
  }
  .lend-steps__image {
    display: block;
    top: 1300px;
    width: auto;

    aspect-ratio: 4 / 5;
  }
  .lend-heroes {
    padding: 7px 0 21px;
  }
  .lend-heroes__inner {
    gap: 8px;
    padding: 29px 23px 26px;
    border-radius: 10px;
  }
  .lend-heroes .lend-title {
    font-size: 23px;
    margin: 0 2px 0;
  }
  .lend-heroes__subtitle {
    font-size: 11px;
  }
  .lend-heroes__icons {
    margin: 13px 0 5px;
    grid-template-columns: 1fr 1fr;
  }
  .lend-icon-item__label{
    font-size: 12px;
    line-height: 1.1;
    margin: 0 2px;
  }

  .lend-icon-item {
    margin: 0 0 11px;
  }
  .lend-button {
    padding: 6px 25px;
    border-radius: 5px;
    min-height: 1px;
    font-size: 15px;
  }
  .lend-heroes__note {
    font-size: 11px;
    margin: 2px 46px 0;
    line-height: 1;
  }
  .lend-benefit{
    width: 100%;
    gap:13px;
    border-radius: 4px;
    padding: 5px 7px;

  }
  .lend-benefits {
    gap: 17px;
    padding: 12px 0 10px;
  }
  .lend-benefits__image{
    display: none !important;
  }
  .lend-benefits__list {
    gap: 9px;
  }
  .lend-cta {
    padding: 19px 0 63px;
    border-radius: 13px 13px 0 0;
  }
  .lend-title {
    margin: 0 -3px;
  }
  .lend-cta__box {
    margin: 15px 0 19px;
    padding: 9px 6px 8px;
    border-radius: 5px;
  }
  .lend-cta .wrapper{
    display: flex;
    flex-direction: column;
  }
  .lend-cta__note{
    order: 10;
  }
  .lend-cta__note {
    order: 10;
    margin: 8px 0 0;
    line-height: 1;
  }
}

/* Уважаем настройку «уменьшить движение» */
@media (prefers-reduced-motion: reduce) {
  .lend-button {
    transition: none;
  }
}
/* ============================================================
   Стили для страницы анкеты (уникальный класс .anketa-page)
   ============================================================ */

.anketa-page .anketa-section {
    background: #f0f0f0;
    border-radius: 44.85px;
    padding: 40px 30px;
    margin: 40px 0;
}

.anketa-page .anketa-title {
    font-size: clamp(28px, 3.3vw, 63.26px);
    font-weight: 700;
    line-height: 1;
    color: #4b4b4b;
    margin-bottom: 10px;
}

.anketa-page .anketa-subtitle {
    font-size: clamp(15px, 1.25vw, 23.92px);
    color: #4b4b4b;
    margin-bottom: 30px;
}

/* Поля формы */
.anketa-page .anketa-form {
    max-width: 100%;
}

.anketa-page .form-group {
    margin-bottom: 20px;
}

.anketa-page .form-group--grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.anketa-page .form-label {
    display: block;
    font-weight: 700;
    margin-bottom: 5px;
    font-size: 16px;
}

.anketa-page .form-label--required {
    color: red;
}

.anketa-page .form-label--small {
    font-size: 14px;
    display: block;
    font-weight: 600;
    margin-bottom: 4px;
}

.anketa-page .form-input,
.anketa-page .form-select,
.anketa-page .form-textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 16px;
    box-sizing: border-box;
    font-family: inherit;
    background: #fff;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.anketa-page .form-input:focus,
.anketa-page .form-select:focus,
.anketa-page .form-textarea:focus {
    border-color: #4b4b4b;
    box-shadow: 0 0 0 3px rgba(75, 75, 75, 0.15);
    outline: none;
}

.anketa-page .form-input.error,
.anketa-page .form-select.error,
.anketa-page .form-textarea.error {
    border-color: #dc3545;
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.15);
}

.anketa-page .form-textarea {
    resize: vertical;
    min-height: 80px;
}

.anketa-page .form-input--file {
    padding: 10px 12px;
    font-size: 14px;
    background: #fafafa;
    border: 1px dashed #bbb;
    border-radius: 6px;
    cursor: pointer;
    width: 100%;
    box-sizing: border-box;
}

.anketa-page .form-input--file:hover {
    background: #f0f0f0;
}

.anketa-page .form-hint {
    font-size: 14px;
    color: #666;
    margin-bottom: 10px;
}

.anketa-page .form-hint--small {
    font-size: 12px;
    color: #999;
    margin-top: 4px;
}

.anketa-page .form-error-text {
    color: #dc3545;
    font-size: 13px;
    margin-top: 4px;
    display: none;
}

.anketa-page .form-error-text.show {
    display: block;
}

.anketa-page .form-divider {
    margin-top: 30px;
    padding-top: 25px;
    border-top: 2px solid #4b4b4b;
}

.anketa-page .form-divider--photo {
    margin-top: 30px;
    padding-top: 25px;
    border-top: 2px solid #4b4b4b;
}

.anketa-page .form-section-title {
    font-size: clamp(20px, 2vw, 32px);
    font-weight: 700;
    color: #4b4b4b;
    margin-bottom: 20px;
}

.anketa-page .form-section-subtitle {
    font-size: 16px;
    color: #666;
    margin-bottom: 15px;
}

/* Чекбоксы */
.anketa-page .form-checkbox-group {
    margin-top: 10px;
}

.anketa-page .form-checkbox-group .form-group {
    margin-bottom: 12px;
}

.anketa-page .form-checkbox-group label {
    display: inline-flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 15px;
    color: #333;
    cursor: pointer;
    line-height: 1.4;
}

.anketa-page .form-checkbox-group input[type="checkbox"] {
    margin-top: 2px;
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    accent-color: #4b4b4b;
    cursor: pointer;
}

.anketa-page .form-checkbox-group input[type="checkbox"].error {
    outline: 2px solid #dc3545;
    outline-offset: 2px;
    border-radius: 2px;
}

/* Фото-блоки */
.anketa-page .photo-block {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 16px 18px;
    border: 1px solid #ddd;
    border-radius: 10px;
    background: #fff;
    width: 100%;
    box-sizing: border-box;
    margin-bottom: 12px;
}

.anketa-page .photo-block:last-child {
    margin-bottom: 0;
}

.anketa-page .photo-block.error {
    border-color: #dc3545;
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.15);
}

.anketa-page .photo-block .form-label--small {
    font-weight: 700;
}

/* Кнопка отправки */
.anketa-page .anketa-submit-wrap {
    text-align: center;
    margin-top: 30px;
}

.anketa-page .anketa-submit {
    max-width: 500px;
    padding: 20px 40px;
    font-size: clamp(18px, 2.23vw, 42.79px);
    border: none;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.anketa-page .anketa-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* ============================================================
   ПОПАП УСПЕХА
   ============================================================ */
.anketa-page .popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.3s ease;
}

.anketa-page .popup-overlay.show {
    display: flex;
}

.anketa-page .popup {
    background: #fff;
    border-radius: 44.85px;
    padding: 50px 60px;
    max-width: 540px;
    width: 90%;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.4s ease;
}

.anketa-page .popup__icon {
    font-size: 64px;
    margin-bottom: 16px;
    display: block;
}

.anketa-page .popup__title {
    font-size: 28px;
    font-weight: 700;
    color: #4b4b4b;
    margin-bottom: 12px;
}

.anketa-page .popup__text {
    font-size: 18px;
    color: #666;
    line-height: 1.5;
    margin-bottom: 28px;
}

.anketa-page .popup__close {
    padding: 16px 48px;
    background: #4b4b4b;
    color: #fff;
    border: none;
    border-radius: 36px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s ease;
}

.anketa-page .popup__close:hover {
    background: #3a3a3a;
}

/* Анимации */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(40px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Адаптив */
@media (max-width: 767px) {
    .anketa-page .form-group--grid-2 {
        grid-template-columns: 1fr;
    }

    .anketa-page .anketa-section {
        padding: 20px 15px;
        border-radius: 25px;
    }

    .anketa-page .form-input,
    .anketa-page .form-select,
    .anketa-page .form-textarea {
        font-size: 14px;
        padding: 10px 14px;
    }

    .anketa-page .photo-block {
        padding: 12px 14px;
    }

    .anketa-page .popup {
        padding: 32px 24px;
        border-radius: 25px;
    }

    .anketa-page .popup__title {
        font-size: 22px;
    }

    .anketa-page .popup__text {
        font-size: 16px;
    }

    .anketa-page .form-section-title {
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .anketa-page .anketa-section {
        padding: 15px 12px;
        border-radius: 16px;
    }

    .anketa-page .anketa-title {
        font-size: 22px;
    }

    .anketa-page .form-input--file {
        font-size: 12px;
        padding: 8px 10px;
    }

    .anketa-page .popup {
        padding: 24px 16px;
        border-radius: 16px;
    }

    .anketa-page .form-checkbox-group label {
        font-size: 14px;
    }
}