/* ==================== АДАПТИВ 1400px ==================== */
@media (max-width: 1400px) {
    .container {
        max-width: 1320px;
        padding: 0 15px;
    }
    
    /* Hero */
    .hero__title {
        font-size: 42px;
    }
    
    .hero__btn {
        padding: 16px 32px;
        font-size: 13px;
    }
    
    .hero__shapes {
        display: none;
    }
    
    /* Promotion */
    .promotion__box {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
    
    .promotion__item-title {
        font-size: 15px;
    }
    
    .promotion__item-img {
        max-width: 140px;
        margin: 55px;
    }
    
    /* Sites */
    .sites__item-title {
        font-size: 20px;
    }
    
    /* Prices */
    .prices__box {
        grid-template-columns: repeat(4, 1fr);
        gap: 18px;
    }
    
    .prices__item {
        padding: 28px 20px;
    }
    
    .prices__item-title {
        font-size: 28px;
    }
    
    .prices__item-price {
        font-size: 15px;
    }
    
    .prices__btn {
        padding: 13px 22px;
        font-size: 13px;
    }
    
    /* Stoks */
    .stoks__content {
        gap: 30px;
    }
    
    /* Complex */
    .complex__box {
        grid-template-columns: repeat(3, 1fr);
        gap: 18px;
    }
    
    .complex__item {
        padding: 28px 22px;
    }
    
    .complex__item-title {
        font-size: 15px;
    }
    
    .complex__wrap-icon {
        width: 38px;
        height: 38px;
    }
    
    /* Business */
    .business__items {
        grid-template-columns: repeat(3, 1fr);
        gap: 22px;
    }
    
    .business__item {
        padding: 26px 22px;
    }
    
    .business__item-title {
        font-size: 18px;
    }
    
    .business__item-description {
        font-size: 14px;
    }
    
    /* Cases */
    .cases__item {
        padding: 25px;
    }
    
    /* Information */
    .information__because {
        gap: 12px;
    }
    
    /* Free Promotion */
    .free-promotion__item-description {
        font-size: 13px;
    }
    
    /* Partner */
    .partner__content {
        gap: 25px;
    }
    
    .search__text-number {
        font-size: 16px;
    }
    
    .search__map {
        height: 350px;
    }
    
    /* Calculator */
    .calculator {
        padding: 80px 0;
    }
    
    .calculator__title {
        font-size: 38px;
    }
    
    .calculator__top-icon {
        width: 80px;
        height: 80px;
    }
    
    .calculator__number {
        font-size: 13px;
        padding: 12px 20px;
    }
    
    .calculator__item {
        padding: 32px 28px;
    }
    
    .calculator__item-title {
        font-size: 22px;
    }
    
    .calculator__city-title {
        font-size: 14px;
    }
    
    .calculator__row-button {
        padding: 13px 22px;
        font-size: 13px;
    }
}

/* ==================== АДАПТИВ 1024px ==================== */
@media (max-width: 1024px) {
    /* Promotion */
    .promotion__box {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Prices */
    .prices__box {
        display: grid;
        justify-content: center;
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    
    .prices__item {
        padding: 26px 18px;
    }
    
    .prices__item-title {
        font-size: 26px;
    }
    
    .prices__item-price {
        font-size: 14px;
    }
    
    /* Complex */
    .complex__box {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    
    .complex__item {
        padding: 26px 20px;
    }
    
    .complex__item-title {
        font-size: 14px;
    }
    
    /* Business */
    .business__items {
        grid-template-columns: 1fr;
    }
    
    /* Free Promotion */
    .free-promotion__item {
        padding: 20px;
    }

    .information__why {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .information__step {
        max-width: none;
        flex: 1 1 calc(50% - 10px);
        font-size: 20px;
        padding: 14px 20px;
    }
    
    .information__because {
        max-width: 100%;
        padding: 12px 10px;
        gap: 15px;
    }
    
    .information__because-ball {
        max-width: 70px;
        width: 70px;
        height: 70px;
    }
    
    .information__icon {
        width: 50px;
        height: 50px;
    }
}

/* ==================== АДАПТИВ 768px ==================== */
@media (max-width: 768px) {
    .section {
        padding: 50px 0;
    }
    
    .section__title {
        font-size: 32px;
    }
    
    .section__top {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
    
    /* Hero */
    .hero {
        padding: 50px 0;
    }
    
    .hero__title {
        font-size: 28px;
        text-align: center;
    }
    
    .hero__button-row {
        flex-direction: column;
        align-items: center;
    }
    
    .hero__btn {
        width: 100%;
        max-width: 350px;
        padding: 14px 24px;
        font-size: 12px;
    }
    
    .hero__desc {
        text-align: center;
        font-size: 13px;
    }
    
    /* Promotion */
    .promotion__box {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .promotion__item {
        padding: 25px 20px;
    }
    
    .promotion__item-title {
        font-size: 16px;
    }
    
    .promotion__item-img {
        max-width: 120px;
    }
    
    /* Sites */
    .sites__slider {
        padding: 0 10px;
    }
    
    .sites__item {
        min-width: 280px;
    }
    
    .sites__item-title {
        font-size: 18px;
    }
    
    /* Prices */
    .prices__box {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .prices__item {
        padding: 24px 16px;
        min-height: 280px;
    }
    
    .prices__item-title {
        font-size: 24px;
    }
    
    .prices__item-price {
        color: rgba(0, 0, 0, 1);
        font-size: 18px;
        margin-bottom: 15px;
    }
    
    .prices__item-desc {
        margin-bottom: 20px;
    }
    
    .prices__item-text {
        font-size: 20px;
        line-height: 1.6;
    }
    
    .prices__btn {
        padding: 12px 20px;
        font-size: 12px;
        width: 100%;
    }
    
    /* Stoks */
    .stoks__content {
        flex-direction: column;
        gap: 30px;
    }
    
    .stoks__form {
        width: 100%;
    }
    
    .stoks__form-input,
    .stoks__form-text {
        padding: 12px 15px;
        font-size: 14px;
    }
    
    .stoks__btn {
        padding: 14px 24px;
        font-size: 14px;
    }
    
    .stoks__list-item {
        font-size: 14px;
    }
    
    /* Complex */
    .complex__box {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .complex__item {
        padding: 24px 18px;
        min-height: 140px;
    }
    
    .complex__item-title {
        font-size: 14px;
        line-height: 1.4;
    }
    
    .complex__wrap-icon {
        width: 36px;
        height: 36px;
    }
    
    /* Business */
    .business__items {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .business__item {
        padding: 24px 20px;
        min-height: 200px;
    }
    
    .business__item-title {
        font-size: 17px;
        line-height: 1.4;
        margin-bottom: 12px;
    }
    
    .business__item-description {
        font-size: 13px;
        line-height: 1.6;
    }
    
    /* Warranty */
    .warranty__top {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    
    .warranty__form {
        flex-direction: column;
        gap: 15px;
    }
    
    .warranty__input {
        width: 100%;
    }
    
    .warranty__btn {
        width: 100%;
    }
    
    /* Calculator */
    .calculator {
        padding: 60px 0;
    }
    
    .calculator__container {
        padding: 0 15px;
    }
    
    .calculator__top {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .calculator__title {
        font-size: 28px;
        line-height: 1.3;
    }
    
    .calculator__top-icon {
        width: 70px;
        height: 70px;
        align-self: flex-end;
    }
    
    .calculator__steps {
        display: grid;
        grid-template-columns: repeat(5, 94px);
        gap: 5px;
        justify-content: center;
        padding-top: 18px;
    }
    
    .calculator__content {
        margin-top: 25px;
    }
    
    .calculator__item {
        padding: 24px 20px;
        min-height: auto;
    }
    
    .calculator__item-title {
        font-size: 19px;
        line-height: 1.3;
        margin-bottom: 12px;
    }
    
    .calculator__item-description {
        font-size: 13px;
        line-height: 1.6;
        margin-bottom: 20px;
    }
    
    .calculator__region {
        margin-bottom: 20px;
    }
    
    .calculator__list {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }
    
    .calculator__city {
        padding: 13px 15px;
        border-radius: 12px;
    }
    
    .calculator__city-title {
        font-size: 13px;
        line-height: 1.5;
    }
    
    .calculator__city-decor {
        display: block;
        margin-bottom: 3px;
        font-size: 14px;
    }
    
    .calculator__row {
        flex-direction: row;
        gap: 10px;
        justify-content: flex-end;
    }
    
    .calculator__row-button {
        padding: 12px 20px;
        font-size: 12px;
        min-height: 44px;
    }
    
    .calculator__btn--next {
        order: 2;
    }
    
    .calculator__btn--prev {
        order: 1;
    }
    
    /* Cases */
    .cases__item {
        flex-direction: column;
        padding: 20px;
    }
    
    .cases__item-left,
    .cases__item-right {
        width: 100%;
    }
    
    .graf__column-numbers {
        font-size: 9px;
    }
    
    .cases__toggle {
        flex-direction: column;
        gap: 10px;
    }
    
    /* Information */
    .information__steps {
        flex-direction: column;
        gap: 10px;
        margin-bottom: 20px;
    }

    .information__step {
        width: 100%;
        max-width: 100%;
        font-size: 18px;
        padding: 12px;
        border-radius: 12px 12px 0 0; /* Скругление только сверху */
    }

    .information__items {
        position: static;
        top: 0;
        width: 100%;
    }

    .information__item {
        border-radius: 12px;
        padding: 20px 15px;
    }

    .information__why {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .information__because {
        flex-direction: row;
        align-items: center;
        text-align: left;
        gap: 15px;
        padding: 15px;
    }
    
    .information__because-ball {
         max-width: 60px;
        width: 60px;
        height: 60px;
        flex-shrink: 0; /* Чтобы шарик не сжимался */
    }
    
    .information__icon {
        width: 40px;
        height: 40px;
    }
    
    .information__because-description {
        font-size: 16px;
        max-width: 100%;
    }

    /* Free Promotion */
    .free-promotion__content {
        flex-direction: column;
        gap: 25px;
    }
    
    .free-promotion__item {
        flex-direction: column;
        text-align: center;
        padding: 25px 15px;
    }
    
    .free-promotion__item-img {
        max-width: 100px;
        margin: 0 auto 15px;
    }
    
    .free-promotion__item-description {
        font-size: 13px;
    }
    
    .free-promotion__step {
        position: static;
        margin: 10px auto;
    }
    
    .free-promotion__form {
        flex-direction: column;
        gap: 12px;
    }
    
    .free-promotion__input {
        width: 100%;
    }
    
    .free-promotion__btn {
        width: 100%;
    }
    
    /* Partner */
    .partner__content {
        flex-direction: column;
        gap: 20px;
    }
    
    .partner__content-img {
        max-width: 100%;
        height: auto;
    }
    
    .partner__form-input {
        width: 100%;
    }
    
    .partner__input-row {
        flex-direction: column;
        gap: 12px;
    }
    
    /* Search */
    .search__content {
        flex-direction: column;
        gap: 30px;
    }
    
    .search__left,
    .search__right {
        width: 100%;
    }
    
    .search__map {
        height: 300px;
    }
    
    .search__text-number {
        font-size: 15px;
    }
    
    /* Header */
    .header__nav {
        display: none;
    }
    
    .header__burger {
        display: block;
    }
    
    .header__logo-mobile {
        max-width: 140px;
        margin: 0 auto 25px;
    }
    
    /* Footer */
    .footer__content {
        flex-direction: column;
        gap: 25px;
        text-align: center;
    }
    
    .footer__links {
        flex-direction: column;
        gap: 12px;
    }
}

/* ==================== АДАПТИВ 490px ==================== */
@media (max-width: 490px) {
    .section {
        padding: 40px 0;
    }
    
    .section__title {
        font-size: 26px;
    }
    
    /* Hero */
    .hero {
        padding: 40px 0;
    }
    
    .hero__title {
        font-size: 24px;
    }
    
    .hero__btn {
        padding: 12px 20px;
        font-size: 11px;
    }
    
    .hero__desc {
        font-size: 12px;
    }
    
    /* Promotion */
    .promotion__item {
        padding: 20px 15px;
    }
    
    .promotion__item-title {
        font-size: 14px;
    }
    
    .promotion__item-img {
        max-width: 100px;
    }
    
    /* Sites */
    .sites__item {
        min-width: 260px;
    }
    
    .sites__item-title {
        font-size: 16px;
    }
    
    .sites__btn {
        padding: 10px 16px;
        font-size: 11px;
    }
    
    /* Prices */
    .prices__box {
        grid-template-columns: 1fr;
        gap: 14px;
    }
    
    .prices__item {
        padding: 22px 16px;
        min-height: auto;
    }
    
    .prices__item-title {
        font-size: 22px;
    }
    
    .prices__item-price {
        font-size: 13px;
    }
    
    .prices__item-text {
        font-size: 12px;
    }
    
    .prices__btn {
        padding: 11px 18px;
        font-size: 12px;
    }
    
    /* Stoks */
    .stoks__title {
        font-size: 26px;
    }
    
    .stoks__form-input,
    .stoks__form-text {
        padding: 11px 13px;
        font-size: 13px;
    }
    
    .stoks__btn {
        padding: 12px 18px;
        font-size: 13px;
    }
    
    .stoks__list-item {
        font-size: 13px;
    }
    
    /* Complex */
    .complex__box {
        grid-template-columns: 1fr;
        gap: 14px;
    }
    
    .complex__item {
        padding: 22px 16px;
        min-height: auto;
    }
    
    .complex__item-title {
        font-size: 13px;
        line-height: 1.5;
    }
    
    .complex__wrap {
        margin-top: 12px;
    }
    
    .complex__wrap-icon {
        width: 34px;
        height: 34px;
    }
    
    /* Business */
    .business__items {
        grid-template-columns: 1fr;
        gap: 18px;
    }
    
    .business__item {
        padding: 22px 18px;
        min-height: auto;
    }
    
    .business__item-title {
        font-size: 16px;
        line-height: 1.4;
        margin-bottom: 10px;
    }
    
    .business__item-description {
        font-size: 13px;
        line-height: 1.6;
    }
    
    /* Warranty */
    .warranty__title {
        font-size: 26px;
    }
    
    .warranty__description {
        font-size: 14px;
    }
    
    .warranty__input {
        padding: 11px 13px;
    }
    
    .warranty__btn {
        padding: 12px 18px;
    }
    
    /* Calculator */
    .calculator {
        padding: 45px 0;
    }
    
    .calculator__container {
        padding: 0 12px;
    }
    
    .calculator__title {
        font-size: 24px;
        line-height: 1.25;
    }
    
    .calculator__top-icon {
        width: 60px;
        height: 60px;
    }
    
    .calculator__steps {
        display: flex;
        justify-content: center;
        gap: 15px;
        margin-bottom: 2px;
    }
    
    .calculator__number {
        width: 45px;
        height: 45px;
        padding: 0;
        max-width: unset;
        border-radius: 50%;
        font-size: 0;
        position: relative;
        box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
        transition: all 0.3s ease;
    }
    
    .calculator__number::after {
      content: attr(data-step);
        font-size: 18px;
        font-weight: 700;
        color: var(--primary-text-color);
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }
    
     .calculator__number.active {
        background-color: var(--primary-text-color);
        transform: translateY(-2px);
        box-shadow: 0px 6px 12px rgba(128, 179, 255, 0.4);
    }

    .calculator__number.active::after {
        color: #fff;
    }

    .calculator__items {
        position: static;
        margin-top: 0;
    }

    .calculator__item {
       padding: 20px 15px;
    }
    
    .calculator__item-title {
        font-size: 17px;
        line-height: 1.3;
        margin-bottom: 10px;
    }
    
    .calculator__item-description {
        font-size: 13px;
        line-height: 1.6;
        margin-bottom: 18px;
    }
    
    .calculator__city {
        padding: 12px 14px;
        min-height: 48px;
        align-items: flex-start;
    }
    
    .calculator__city-title {
        font-size: 12px;
        line-height: 1.5;
    }
    
    .calculator__city-decor {
        font-size: 13px;
        font-weight: 600;
    }
    
    .calculator__row {
        flex-direction: column;
        gap: 8px;
    }
    
    .calculator__row-button {
        width: 100%;
        padding: 11px 18px;
        font-size: 12px;
        min-height: 44px;
    }
    
    .calculator__btn--next {
        order: -1;
    }
    
    .calculator__btn--prev {
        order: 0;
    }
    
    /* Cases */
    .cases__title {
        font-size: 26px;
    }
    
    .cases__item {
        padding: 15px;
    }
    
    .cases__item-title {
        font-size: 16px;
    }
    
    .graf__number {
        font-size: 8px;
    }
    
    .graf__item-month {
        font-size: 10px;
    }
    
    .cases__toggle-title {
        font-size: 13px;
    }
    
    /* Information */
    .information__title {
        font-size: 26px;
    }
    
    .information__step {
        font-size: 16px;
        padding: 10px;
    }

    .information__item {
        padding: 15px 10px;
    }
    
    .information__because-description {
        font-size: 13px;
    }

     .information__because {
        padding: 12px;
        gap: 12px;
    }

    .information__because-ball {
        width: 50px;
        height: 50px;
        max-width: 50px;
    }

    .information__because-description {
        font-size: 14px;
    }
    
    .information__icon {
        width: 35px;
        height: 35px;
    }
    
    /* Free Promotion */
    .free-promotion__title {
        font-size: 26px;
    }
    
    .free-promotion__item-description {
        font-size: 12px;
    }
    
    .free-promotion__step-number {
        font-size: 25px;
        width: 28px;
        height: 28px;
    }
    
    .free-promotion__btn {
        padding: 12px 18px;
        font-size: 12px;
    }
    
    /* Partner */
    .partner__title {
        font-size: 26px;
    }
    
    .partner__list-item {
        font-size: 13px;
    }
    
    .partner__form-title {
        font-size: 16px;
    }
    
    .partner__form-input,
    .partner__form-text {
        padding: 11px 13px;
        font-size: 13px;
    }
    
    .partner__btn {
        padding: 12px 18px;
        font-size: 13px;
    }
    
    /* Search */
    .search__title {
        font-size: 26px;
    }
    
    .search__text-description {
        font-size: 13px;
    }
    
    .search__text-number {
        font-size: 14px;
    }
    
    .search__btn {
        padding: 12px 18px;
        font-size: 12px;
    }
    
    .search__map {
        height: 250px;
    }
    
    .form__title {
        font-size: 26px;
    }
    
    .form__input {
        padding: 12px 14px;
        font-size: 13px;
    }
    
    .form__btn {
        padding: 14px 18px;
        font-size: 13px;
    }
    
    .form__link {
        font-size: 13px;
    }
    
    .header__logo-mobile {
        max-width: 120px;
        margin: 0 auto 20px;
    }
}

/* ==================== АДАПТИВ 390px ==================== */
@media (max-width: 390px) {
    .section {
        padding: 30px 0;
    }
    
    .section__title {
        font-size: 22px;
    }
    
    .header__logo-mobile {
        max-width: 100px;
        margin: 0 auto 15px;
    }
    
    /* Hero */
    .hero__title {
        font-size: 20px;
    }
    
    .hero__btn {
        padding: 10px 16px;
        font-size: 10px;
    }
    
    /* Promotion */
    .promotion__item-title {
        font-size: 13px;
    }
    
    .promotion__item-img {
        max-width: 80px;
    }
    
    /* Prices */
    .prices__box {
        gap: 12px;
    }
    
    .prices__item {
        padding: 20px 14px;
    }
    
    .prices__item-title {
        font-size: 20px;
    }
    
    .prices__item-price {
        font-size: 12px;
    }
    
    .prices__item-text {
        font-size: 11px;
    }
    
    .prices__btn {
        padding: 10px 16px;
        font-size: 11px;
    }
    
    /* Complex */
    .complex__box {
        gap: 12px;
    }
    
    .complex__item {
        padding: 20px 14px;
    }
    
    .complex__item-title {
        font-size: 12px;
    }
    
    .complex__wrap-icon {
        width: 32px;
        height: 32px;
    }
    
    /* Business */
    .business__items {
        gap: 16px;
    }
    
    .business__item {
        padding: 20px 16px;
    }
    
    .business__item-title {
        font-size: 15px;
    }
    
    .business__item-description {
        font-size: 12px;
    }
    
    /* Cases */
    .cases__item-title {
        font-size: 14px;
    }
    
    .graf {
        overflow-x: auto;
    }
    
    .graf__column-items {
        min-width: 400px;
    }
    
    .information__because-description {
        font-size: 12px;
    }
    
    .free-promotion__item-description {
        font-size: 11px;
    }
    
    .partner__title {
        font-size: 22px;
    }
    
    .partner__list-item {
        font-size: 12px;
    }
    
    .search__title {
        font-size: 22px;
    }
    
    .search__text-description {
        font-size: 12px;
    }
    
    .search__map {
        height: 200px;
    }
    
    /* Calculator */
    .calculator {
         padding: calc(var(--section-margin) * 0.6) 0;
    }
    
    .calculator__top-icon {
        width: 50px;
        height: 50px;
    }

    .calculator__steps {
        gap: 8px;
    }

    

    .calculator__number::after {
        font-size: 16px;
    }

    .calculator__container {
        padding: 0 10px;
    }
    
    .calculator__title {
        font-size: 21px;
    }
    
    .calculator__top-icon {
        width: 50px;
        height: 50px;
    }
    
    .calculator__number {
        width: 40px;
        height: 40px;
    }
    
    .calculator__item {
        padding: 16px 12px;
    }
    
    .calculator__item-title {
       font-size: 18px;
    }
    
    .calculator__item-description {
        font-size: 13px;
    }
    
    .calculator__city {
        padding: 10px 12px;
        gap: 12px;
    }
    
    .calculator__city-title {
         font-size: 13px;
    }
    
    .calculator__city-decor {
        font-size: 14px;
    }
    
    .calculator__row-button {
        padding: 10px 14px;
        font-size: 15px;
    }

    .calculator__city input[type="radio"],
    .calculator__city input[type="checkbox"] {
        width: 22px;
        height: 22px;
        min-width: 22px;
    }
    
    /* Images */
    img {
        max-width: 100%;
        height: auto;
    }
}

/* ==================== ОБЩИЕ ПРАВИЛА ==================== */
/* Предотвращение горизонтального скролла */
html, body {
    overflow-x: hidden;
    width: 100%;
}

* {
    box-sizing: border-box;
}

/* Изображения */
img, svg {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Плавные переходы */
a, button, input, textarea, select {
    transition: all 0.3s ease;
}

/* Тач-оптимизация для мобильных */
@media (max-width: 768px) {
    a, button, input, select, textarea {
        min-height: 44px;
        min-width: 44px;
        touch-action: manipulation;
    }
    
    .form__input,
    .stoks__form-input,
    .partner__form-input,
    .warranty__input,
    .free-promotion__input {
        min-height: 48px;
    }
}
/* calculator*/


/* Grid fallback для старых браузеров */
@supports not (display: grid) {
    .promotion__box,
    .prices__box,
    .complex__box,
    .business__items {
        display: flex;
        flex-wrap: wrap;
    }
    
    .promotion__item,
    .prices__item,
    .complex__item,
    .business__item {
        flex: 1 1 280px;
        margin: 10px;
    }
}

/* Print styles */
@media print {
    .header,
    .footer,
    .hero__shapes,
    button {
        display: none !important;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.5;
    }
    
    a[href]::after {
        content: " (" attr(href) ")";
    }
}

/* ==================== FAQ: ОБЩИЕ СТИЛИ ==================== */
.question-page {
    padding-top: var(--section-margin);
    padding-bottom: var(--section-margin);
    background: #ffffff;
    font-family: 'Rubik', sans-serif;
    color: #333;
}

.question-page .container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

/* --- Хлебные крошки --- */
.question-page__breadcrumbs {
    display: flex;
    gap: 8px;
    align-items: center;
    margin-bottom: 30px;
    font-size: 14px;
    color: #999;
    flex-wrap: wrap;
}

.question-page__breadcrumbs a {
    color: #80B3FF;
    text-decoration: none;
    transition: color 0.3s;
}

.question-page__breadcrumbs a:hover {
    color: #4090ff;
}

.question-page__breadcrumbs span {
    color: #ccc;
}

/* --- Заголовок вопроса --- */
.question-page__header {
    background: linear-gradient(135deg, #e8f2ff 0%, #f0f6ff 100%);
    border-radius: 20px;
    padding: 50px 60px;
    margin-bottom: 50px;
    position: relative;
    overflow: hidden;
}

.question-page__header::after {
    content: '';
    position: absolute;
    top: -30px;
    right: -30px;
    width: 200px;
    height: 200px;
    background: rgba(128, 179, 255, 0.15);
    border-radius: 50%;
}

.question-page__header-title {
    font-size: var(--primary-size-title);
    font-weight: 800;
    color: #1a1a2e;
    margin-bottom: 20px;
    line-height: 1.3;
    position: relative;
    z-index: 1;
}

.question-page__header-title span {
    color: #80B3FF;
}

.question-page__header-text {
    font-size: 18px;
    line-height: 1.6;
    color: #555;
    max-width: 900px;
    position: relative;
    z-index: 1;
    font-weight: 500;
}

.question-page__header-text strong {
    color: #1a1a2e;
}

/* --- Секции контента --- */
.question-page__section {
    margin-bottom: 50px;
}

.question-page__section-title {
    font-size: 28px;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 3px solid #80B3FF;
    display: inline-block;
}

.question-page__section-title--sub {
    font-size: 22px;
    font-weight: 600;
    color: #80B3FF;
    margin-bottom: 16px;
    padding-bottom: 0;
    border-bottom: none;
    border-left: 4px solid #80B3FF;
    padding-left: 16px;
    display: block;
}

.question-page__text {
    font-size: 16px;
    line-height: 1.8;
    color: #444;
    margin-bottom: 20px;
}

.question-page__text strong {
    color: #1a1a2e;
}

/* --- Блок с определением (Красный) --- */
.question-page__definition {
    background: linear-gradient(135deg, #fff5f5 0%, #fff0f0 100%);
    border-left: 4px solid #ff6b6b;
    border-radius: 12px;
    padding: 25px 30px;
    margin: 25px 0;
}

.question-page__definition-title {
    font-size: 20px;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 12px;
}

.question-page__definition-text {
    font-size: 15px;
    line-height: 1.7;
    color: #555;
    margin: 0;
}

/* --- Списки --- */
.question-page__list {
    list-style: none;
    padding: 0;
    margin: 0 0 25px 0;
}

.question-page__list li {
    position: relative;
    padding: 12px 20px 12px 45px;
    margin-bottom: 12px;
    background: #f8fbff;
    border-radius: 12px;
    font-size: 15px;
    line-height: 1.6;
    color: #444;
    border-left: 3px solid #80B3FF;
    transition: all 0.3s ease;
}

.question-page__list li:hover {
    background: #eef4ff;
    transform: translateX(4px);
}

.question-page__list li::before {
    content: '✓';
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #80B3FF;
    font-weight: 700;
    font-size: 16px;
}

.question-page__list li strong {
    color: #1a1a2e;
}

/* Нумерованный список (для "Как сменить специалиста") */
.question-page__ordered-list {
    list-style: none;
    padding: 0;
    margin: 0 0 25px 0;
    counter-reset: custom-counter;
}

.question-page__ordered-list li {
    position: relative;
    padding: 20px 20px 20px 70px;
    margin-bottom: 20px;
    background: #f8fbff;
    border-radius: 16px;
    font-size: 16px;
    line-height: 1.7;
    color: #444;
    counter-increment: custom-counter;
    border: 1px solid #e0ecff;
    transition: all 0.3s ease;
}

.question-page__ordered-list li:hover {
    background: #eef4ff;
    transform: translateX(4px);
}

.question-page__ordered-list li::before {
    content: counter(custom-counter);
    position: absolute;
    left: 20px;
    top: 20px;
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, #80B3FF, #4090ff);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
    box-shadow: 0 4px 10px rgba(128, 179, 255, 0.3);
}

.question-page__ordered-list li strong {
    color: #1a1a2e;
}

/* Подсписок (a, b, c, d) */
.question-page__sub-list {
    list-style: none;
    padding: 0;
    margin: 15px 0 0 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.question-page__sub-list li {
    background: #fff;
    border: 1px solid #e0ecff;
    padding: 15px;
    border-radius: 10px;
    font-size: 14px;
    line-height: 1.5;
    color: #555;
    position: relative;
    padding-left: 30px;
}

.question-page__sub-list li::before {
    content: attr(data-label);
    position: absolute;
    left: 10px;
    top: 15px;
    font-weight: 700;
    color: #ff6b6b;
    font-size: 14px;
}

/* --- Инфо-блоки --- */
.question-page__info-block {
    background: #f8fbff;
    border-radius: 16px;
    padding: 30px 35px;
    margin: 25px 0;
    border: 1px solid #e0ecff;
}

.question-page__info-block p {
    font-size: 15px;
    line-height: 1.7;
    color: #555;
    margin: 0 0 15px 0;
}

.question-page__info-block p:last-child {
    margin-bottom: 0;
}

.question-page__info-block--result {
    background: linear-gradient(135deg, #f0fff4 0%, #e6fffa 100%);
    border-left: 4px solid #38a169;
    border-radius: 12px;
    padding: 20px 25px;
    margin: 20px 0;
}

.question-page__info-block--result p {
    color: #2d3748;
    margin: 0;
}

/* --- Блок с примером (скриншот) --- */
.question-page__example {
    background: #fff;
    border: 2px solid #e0ecff;
    border-radius: 16px;
    padding: 25px;
    margin: 30px 0;
    text-align: center;
}

.question-page__example-title {
    font-size: 18px;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 20px;
}

.question-page__example-img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* --- Рекомендации (Зеленый) --- */
.question-page__recommendations {
    background: linear-gradient(135deg, #f0fff4 0%, #e6fffa 100%);
    border-radius: 16px;
    padding: 30px 35px;
    margin: 30px 0;
    border: 1px solid #9ae6b4;
}

.question-page__recommendations-title {
    font-size: 20px;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 15px;
}

.question-page__recommendations-list {
    list-style: disc;
    padding-left: 25px;
    margin: 0;
}

.question-page__recommendations-list li {
    margin-bottom: 10px;
    font-size: 15px;
    line-height: 1.6;
    color: #444;
}

.question-page__recommendations-list li:last-child {
    margin-bottom: 0;
}

/* --- Важное замечание (Оранжевый) --- */
.question-page__warning {
    background: linear-gradient(135deg, #fffaf0 0%, #feebc8 100%);
    border-left: 4px solid #ed8936;
    border-radius: 12px;
    padding: 25px 30px;
    margin: 25px 0;
}

.question-page__warning-title {
    font-size: 18px;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 12px;
}

.question-page__warning-text {
    font-size: 15px;
    line-height: 1.7;
    color: #555;
    margin: 0;
}

/* --- Видео --- */
.question-page__video-wrap {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 16px;
    margin: 30px 0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    background: #000;
}

.question-page__video-wrap iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* --- Скриншоты --- */
.question-page__screenshot {
    display: block;
    max-width: 100%;
    margin: 25px 0;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.question-page__screenshot img {
    width: 100%;
    height: auto;
    border-radius: 12px;
}

/* --- Блок-заключение --- */
.question-page__conclusion {
    background: linear-gradient(135deg, #1a1a2e 0%, #2a2a4a 100%);
    border-radius: 20px;
    padding: 40px 50px;
    margin-top: 50px;
    text-align: center;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.question-page__conclusion::before {
    content: '';
    position: absolute;
    top: -50px;
    left: -50px;
    width: 150px;
    height: 150px;
    background: rgba(128, 179, 255, 0.15);
    border-radius: 50%;
}

.question-page__conclusion::after {
    content: '';
    position: absolute;
    bottom: -30px;
    right: -30px;
    width: 120px;
    height: 120px;
    background: rgba(128, 179, 255, 0.1);
    border-radius: 50%;
}

.question-page__conclusion-text {
    font-size: 17px;
    line-height: 1.8;
    color: #d0d8f0;
    max-width: 800px;
    margin: 0 auto 30px;
    position: relative;
    z-index: 1;
}

.question-page__conclusion-text a {
    color: #80B3FF;
    font-weight: 600;
    text-decoration: none;
}

.question-page__conclusion-text a:hover {
    text-decoration: underline;
}

.question-page__conclusion-btn {
    display: inline-block;
    background: linear-gradient(135deg, #80B3FF, #4090ff);
    color: #fff;
    border: none;
    padding: 16px 40px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
    font-family: 'Rubik', sans-serif;
}

.question-page__conclusion-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(128, 179, 255, 0.4);
}


/* ==================== АДАПТИВ FAQ ==================== */

/* Планшеты (до 1024px) */
@media (max-width: 1024px) {
    .question-page {
        padding-top: var(--section-margin);
        padding-bottom: var(--section-margin);
    }
    
    .question-page__header {
        padding: 40px 35px;
        margin-bottom: 40px;
    }
    
    .question-page__header-title {
        font-size: var(--primary-size-title);
    }
    
    .question-page__header-text {
        font-size: 16px;
    }
    
    .question-page__section-title {
        font-size: 26px;
    }
    
    .question-page__section-title--sub {
        font-size: 20px;
    }
    
    .question-page__text {
        font-size: 15px;
    }
    
    .question-page__definition,
    .question-page__info-block,
    .question-page__recommendations,
    .question-page__warning {
        padding: 22px 25px;
    }
    
    .question-page__conclusion {
        padding: 35px 30px;
        margin-top: 40px;
    }
    
    .question-page__conclusion-text {
        font-size: 16px;
    }
    
    .question-page__sub-list {
        grid-template-columns: 1fr;
    }
}

/* Мобильные устройства (до 768px) */
@media (max-width: 768px) {
    .question-page {
        padding-top: calc(var(--section-margin) * 0.8);
        padding-bottom: calc(var(--section-margin) * 0.8);
    }
    
    .question-page .container {
        padding: 0 calc(var(--container-padding) * 1.2);
    }
    
    .question-page__breadcrumbs {
        font-size: 13px;
        margin-bottom: 25px;
    }
    
    .question-page__header {
        padding: 35px 25px;
        margin-bottom: 35px;
    }
    
    .question-page__header-title {
        font-size: calc(var(--primary-size-title) * 0.9);
        margin-bottom: 15px;
    }
    
    .question-page__header-text {
        font-size: 15px;
        line-height: 1.5;
    }
    
    .question-page__section {
        margin-bottom: 40px;
    }
    
    .question-page__section-title {
        font-size: 24px;
        margin-bottom: 18px;
    }
    
    .question-page__section-title--sub {
        font-size: 18px;
        margin-bottom: 14px;
    }
    
    .question-page__text {
        font-size: 15px;
        line-height: 1.7;
        margin-bottom: 18px;
    }
    
    .question-page__definition,
    .question-page__info-block,
    .question-page__recommendations,
    .question-page__warning {
        padding: 20px;
        margin: 22px 0;
    }
    
    .question-page__definition-title,
    .question-page__recommendations-title {
        font-size: 18px;
    }
    
    .question-page__definition-text,
    .question-page__warning-text {
        font-size: 14px;
    }
    
    .question-page__list li,
    .question-page__ordered-list li {
        font-size: 14px;
        padding-left: 35px;
    }
    
    .question-page__list li::before {
        left: 12px;
        font-size: 14px;
    }
    
    .question-page__ordered-list li::before {
        width: 32px;
        height: 32px;
        font-size: 14px;
        left: 16px;
        top: 16px;
    }
    
    .question-page__example {
        padding: 20px;
        margin: 25px 0;
    }
    
    .question-page__video-wrap {
        margin: 25px 0;
    }
    
    .question-page__conclusion {
        padding: 30px 20px;
        margin-top: 35px;
    }
    
    .question-page__conclusion-text {
        font-size: 15px;
        line-height: 1.7;
        margin-bottom: 25px;
    }
    
    .question-page__conclusion-btn {
        padding: 14px 30px;
        font-size: 15px;
        width: 100%;
        max-width: 320px;
    }
}

/* Маленькие мобильные (до 480px) */
@media (max-width: 480px) {
    .question-page {
        padding-top: calc(var(--section-margin) * 0.6);
        padding-bottom: calc(var(--section-margin) * 0.6);
    }
    
    .question-page .container {
        padding: 0 var(--container-padding);
    }
    
    .question-page__breadcrumbs {
        font-size: 12px;
        gap: 6px;
        margin-bottom: 20px;
    }
    
    .question-page__header {
        padding: 28px 20px;
        margin-bottom: 28px;
    }
    
    .question-page__header-title {
        font-size: calc(var(--primary-size-title) * 0.8);
    }
    
    .question-page__header-text {
        font-size: 14px;
    }
    
    .question-page__section {
        margin-bottom: 32px;
    }
    
    .question-page__section-title {
        font-size: 20px;
        margin-bottom: 15px;
    }
    
    .question-page__section-title--sub {
        font-size: 16px;
    }
    
    .question-page__text {
        font-size: 14px;
        line-height: 1.6;
    }
    
    .question-page__definition,
    .question-page__info-block,
    .question-page__recommendations,
    .question-page__warning {
        padding: 18px 16px;
        margin: 20px 0;
    }
    
    .question-page__definition-title,
    .question-page__recommendations-title,
    .question-page__warning-title {
        font-size: 16px;
    }
    
    .question-page__definition-text,
    .question-page__warning-text {
        font-size: 13px;
    }
    
    .question-page__list li,
    .question-page__ordered-list li {
        font-size: 13px;
        padding: 10px 15px 10px 38px;
        margin-bottom: 10px;
    }
    
    .question-page__list li::before {
        left: 14px;
        font-size: 13px;
    }
    
    .question-page__ordered-list li {
        padding: 18px 18px 18px 60px;
    }
    
    .question-page__ordered-list li::before {
        width: 28px;
        height: 28px;
        font-size: 13px;
        left: 14px;
        top: 14px;
    }
    
    .question-page__sub-list li {
        font-size: 13px;
        padding: 12px 12px 12px 25px;
    }
    
    .question-page__sub-list li::before {
        left: 8px;
        top: 12px;
        font-size: 12px;
    }
    
    .question-page__example {
        padding: 16px;
        margin: 20px 0;
    }
    
    .question-page__example-title {
        font-size: 16px;
    }
    
    .question-page__conclusion {
        padding: 25px 18px;
        margin-top: 30px;
    }
    
    .question-page__conclusion-text {
        font-size: 14px;
        margin-bottom: 22px;
    }
    
    .question-page__conclusion-btn {
        padding: 12px 24px;
        font-size: 14px;
        max-width: 280px;
    }
}

/* Очень маленькие экраны (до 390px) */
@media (max-width: 390px) {
    .question-page {
        padding-top: calc(var(--section-margin) * 0.5);
        padding-bottom: calc(var(--section-margin) * 0.5);
    }
    
    .question-page__header {
        padding: 24px 16px;
    }
    
    .question-page__header-title {
        font-size: calc(var(--primary-size-title) * 0.75);
    }
    
    .question-page__section-title {
        font-size: 18px;
    }
    
    .question-page__section-title--sub {
        font-size: 15px;
    }
    
    .question-page__text {
        font-size: 13px;
    }
    
    .question-page__definition,
    .question-page__info-block,
    .question-page__recommendations,
    .question-page__warning {
        padding: 16px 14px;
    }
    
    .question-page__list li,
    .question-page__ordered-list li {
        font-size: 12px;
    }
    
    .question-page__conclusion {
        padding: 22px 15px;
    }
    
    .question-page__conclusion-text {
        font-size: 13px;
    }
    
    .question-page__conclusion-btn {
        padding: 11px 20px;
        font-size: 13px;
        max-width: 260px;
    }
}

/* ==================== АДАПТИВ КЕЙСОВ (ПОРТФОЛИО) ==================== */

/* Планшеты (до 1024px) */
@media (max-width: 1024px) {
    .case-page {
        padding-top: var(--section-margin);
        padding-bottom: var(--section-margin);
    }

    .case-page__header {
        padding: 35px 40px;
        margin-bottom: 40px;
    }

    .case-page__header-title {
        font-size: 32px;
    }

    .case-page__header-text {
        font-size: 16px;
    }

    .case-page__section {
        margin-bottom: 40px;
    }

    .case-page__section-title {
        font-size: 26px;
    }

    .case-page__text {
        font-size: 15px;
    }

    .case-page__table thead th {
        padding: 12px 16px;
        font-size: 14px;
    }

    .case-page__table tbody td {
        padding: 10px 14px;
        font-size: 13px;
    }

    /* Таблицы в две колонки перестраиваются в одну */
    .case-page__tables-grid {
        grid-template-columns: 1fr;
    }
}

/* Мобильные устройства (до 768px) */
@media (max-width: 768px) {
    .case-page {
        padding-top: calc(var(--section-margin) * 0.8);
        padding-bottom: calc(var(--section-margin) * 0.8);
    }

    .case-page__header {
        padding: 25px 20px;
        margin-bottom: 30px;
        border-radius: 15px;
    }

    .case-page__header-title {
        font-size: calc(var(--primary-size-title) * 0.9);
        margin-bottom: 15px;
    }

    .case-page__header-text {
        font-size: 15px;
        line-height: 1.5;
    }

    .case-page__section {
        margin-bottom: 35px;
    }

    .case-page__section-title {
        font-size: 24px;
        margin-bottom: 15px;
    }

    .case-page__section-title--sub {
        font-size: 20px;
    }

    .case-page__text {
        font-size: 15px;
        line-height: 1.6;
    }

    /* Списки */
    .case-page__list li,
    .case-page__ordered-list li {
        font-size: 14px;
        padding-left: 35px;
    }

    .case-page__list li::before {
        font-size: 14px;
        left: 12px;
    }

    .case-page__ordered-list li::before {
        width: 28px;
        height: 28px;
        font-size: 13px;
        left: 14px;
    }

    /* Блок результатов */
    .case-page__results {
        padding: 25px 20px;
        margin: 30px 0;
    }

    .case-page__results-title {
        font-size: 24px;
    }

    .case-page__table-wrap {
        border-radius: 12px;
        margin: 20px 0;
    }

    /* Заключение */
    .case-page__conclusion {
        padding: 30px 20px;
        margin-top: 40px;
        border-radius: 15px;
    }

    .case-page__conclusion-text {
        font-size: 16px;
        margin-bottom: 25px;
    }

    .case-page__conclusion-btn {
        width: 100%;
        font-size: 16px;
        padding: 14px;
    }
}

/* Маленькие мобильные (до 480px) */
@media (max-width: 480px) {
    .case-page {
        padding-top: calc(var(--section-margin) * 0.6);
        padding-bottom: calc(var(--section-margin) * 0.6);
    }

    .case-page__header {
        padding: 20px 15px;
        margin-bottom: 25px;
    }

    .case-page__header-title {
        font-size: calc(var(--primary-size-title) * 0.75);
    }

    .case-page__header-text {
        font-size: 14px;
    }

    .case-page__section {
        margin-bottom: 30px;
    }

    .case-page__section-title {
        font-size: 22px;
    }

    .case-page__section-title--sub {
        font-size: 18px;
    }

    .case-page__text {
        font-size: 14px;
    }

    .case-page__list li,
    .case-page__ordered-list li {
        font-size: 13px;
        padding-left: 30px;
    }

    .case-page__results {
        padding: 20px 15px;
    }

    .case-page__results-title {
        font-size: 22px;
    }

    .case-page__conclusion {
        padding: 25px 15px;
    }

    .case-page__conclusion-text {
        font-size: 15px;
    }

    .case-page__conclusion-btn {
        font-size: 15px;
    }
}

/* Очень маленькие экраны (до 390px) */
@media (max-width: 390px) {
    .case-page {
        padding-top: calc(var(--section-margin) * 0.5);
        padding-bottom: calc(var(--section-margin) * 0.5);
    }

    .case-page__header {
        padding: 18px 12px;
    }

    .case-page__header-title {
        font-size: 22px;
    }

    .case-page__section-title {
        font-size: 20px;
    }

    .case-page__section-title--sub {
        font-size: 17px;
    }

    .case-page__text {
        font-size: 13px;
    }

    .case-page__list li,
    .case-page__ordered-list li {
        font-size: 12px;
        padding-left: 28px;
    }

    .case-page__conclusion {
        padding: 20px 12px;
    }
    
    .case-page__conclusion-text {
        font-size: 14px;
    }
}