@font-face {
    font-family: "TT Ricordi Allegria";
    src: url(/fonts/TT-Ricordi-Allegria-Trial.woff2) format("woff2"),
         url(/fonts/TT-Ricordi-Allegria-Trial.woff2) format("woff");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Century Gothic Paneuropean";
    src: url(/fonts/Century-Gothic-Paneuropean.woff2) format("woff2"),
         url(/fonts/Century-Gothic-Paneuropean.woff) format("woff");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}



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

html {
    scroll-behavior: smooth;
}

/* ===== ОБЩИЕ СТИЛИ ===== */

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


body {
    background-color: #353432;
    color: #f3eee6;
    font-family: "Century Gothic Paneuropean", Arial, sans-serif;
     width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

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

.container {
    width: min(100% - 80px, 1720px);
    max-width: none;
    margin: 0 auto;
    padding: 0;
}

@media (max-width: 1440px) {
    .container {
        width: min(100% - 64px, 1720px);
    }
}

@media (max-width: 1024px) {
    .container {
        width: min(100% - 48px, 1720px);
    }
}

@media (max-width: 767px) {
    .container {
        width: min(100% - 32px, 1720px);
    }
}

button {
    font: inherit;
}

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

.section-label {
    margin-bottom: 18px;
    font-size: clamp(16px, 1vw, 20px);
    line-height: 1.2;
    color: var(--text-muted);
}

.section-title {
    font-family: "TT Ricordi Allegria", serif;
    font-size: clamp(30px, 3vw, 64px);
    line-height: 0.98;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.01em;
}

.diag-hero__text,
.diag-scope__lead,
.diag-list li,
.scope-card p,
.scope-card li,
.diag-result__text,
.diag-result__cta-text,
.diag-result__cta-subtext,
.quiz__text,
.quiz__question,
.quiz__option,
.tariff-card,
.contact-form__subtitle {
    text-align: left;
    text-justify: auto;
    hyphens: none;
}




/* HERO */

.hero {
    padding-top: 8px;
}

.hero__box {
    position: relative;
    min-height: 690px;
    border: 1px solid rgba(243, 238, 230, 0.25);
    border-radius: 14px;
    padding: 22px 22px 0 22px;
    overflow: visible;
}

.hero__box::after {
    content: "";
    position: absolute;
    right: 34px;         /* подгоняем под положение цитаты */
    bottom: 10px;
    width: 430px;        /* ширина зоны, где нужно скрыть нижнюю линию */
    height: 3px;
    background: #353432; /* цвет фона страницы/контейнера */
    z-index: 2;
}

.hero__main {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(420px, 1.05fr);
    column-gap: clamp(32px, 5vw, 84px);
    align-items: start;
}

.hero__content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: relative;
    z-index: 2;
}

.hero__title {
    margin-top: clamp(24px, 3vw, 55px);
    max-width: 763px;
    font-size: clamp(42px, 3.2vw, 55px);
    line-height: 1.12;
    font-family: "TT Ricordi Allegria", serif;
    font-weight: 400;
    text-transform: uppercase;
    color: #f3eee6;
}

.hero__subtitle {
    margin-top: clamp(24px, 3vw, 30px);
    max-width: 733px;
    font-size: clamp(20px, 1.6vw, 28px);
    font-family: "Century Gothic Paneuropean", Arial, sans-serif;
    font-size: 28px;
    line-height: 1.2;
    color: rgba(243, 238, 230, 0.9);
}

.hero__advantages-mobile {
    display: none;
}

.swipe-btn {
    width: min(100%, 380px);
    margin-top: clamp(28px, 3vw, 40px);
    height: 52px;
    border-radius: 8px;
    border: 1px solid rgba(243, 238, 230, 0.8);
    position: relative;
    overflow: visible;
    user-select: none;
    cursor: pointer;
    background: transparent;
}

.swipe-text {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 0px 0 37px;
    font-size: 18px;
    line-height: 1;
    color: #f3eee6;
    text-transform: uppercase;
    pointer-events: none;
    transition: opacity 0.2s ease;
}

.swipe-bg {
    width: 52px;
    height: 52px;
    background: #f3eee6;
    border-radius: 6px;
    position: absolute;
    overflow: visible;
    left: 0px;
    top: 0px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: left 0.25s ease, background-color 0.25s ease, transform 0.2s ease;
    z-index: 1;
}

/* волны */
.ripple {
    position: absolute;
    top: 50%;
    left: 50%;

    width: 100%;
    height: 100%;

    border-radius: 50%;
    background: rgba(255, 255, 255, 0.25);

    transform: translate(-50%, -50%) scale(0.5);
    opacity: 0;


    pointer-events: none;
}

/* первая волна */
.ripple:nth-child(2) {
    animation: rippleAnim 1.2s infinite;
}

/* вторая волна (с задержкой) */
.ripple:nth-child(3) {
    animation: rippleAnim 1.2s infinite;
    animation-delay: 0.4s;
}
@keyframes rippleAnim {
    0% {
        transform: translate(-50%, -50%) scale(0.6);
        opacity: 0.5;
    }

    70% {
        transform: translate(-50%, -50%) scale(2.5);
        opacity: 0;
    }

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

.swipe-arrow {
   display: flex;
    align-items: center;
    justify-content: center;
    font-family: "Century Gothic Paneuropean", Arial, sans-serif;
    font-size: 24px;
    line-height: 1;
    color: #353432;
    padding-bottom: 5px;
}

.swipe-btn.active .swipe-bg {
    background-color: #e9e6e6;
}

.hero__media {
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
}

.hero__image-wrap {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
}

.hero__cat {
    width: min(100%, 760px);
}

.hero__bottom {
    position: absolute;
    left: 22px;
    right: 22px;
    bottom: 0;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    z-index: 3;
}

.hero__advantages {
    display: flex;
    align-items: center;
    gap: 34px;
    flex-wrap: nowrap;
    padding-bottom: 16px;
    max-width: 58%;
}

.hero__advantage {
    font-size: 20px;
    line-height: 1.2;
    color: rgba(243, 238, 230, 0.82);
    white-space: nowrap;
}

.hero__quote {
    position: absolute;
    right: clamp(12px, 4vw, 72px);
    min-width: 0;
    width: min(42vw, 600px);
    padding: 14px 28px 12px;
    bottom: -1px;
    border: 1px solid rgba(243, 238, 230, 0.24);
    border-bottom: none;
    border-radius: 32px 32px 0 0;
    background-color: #353432;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
}

.hero__note {
    font-size: clamp(18px, 1.4vw, 24px);
    font-family: "TT Ricordi Allegria", serif;
    line-height: 1.2;
    text-transform: uppercase;
    color: #f3eee6;
    text-align: center;
}

/* Адаптив шапки и первого экрана, ноутбуки */
@media (max-width: 1440px) {

    .hero__box {
        min-height: 620px;
        padding: 20px 20px 0 20px;
    }

    .hero__main {
        grid-template-columns: minmax(420px, 620px) 1fr;
        column-gap: 48px;
    }

    .hero__title {
        margin-top: 32px;
        font-size: 45px;
        max-width: 580px;
    }

    .hero__subtitle {
        margin-top: 70px;
        max-width: 620px;
        font-size: 22px;
    }

    .swipe-btn {
        width: 400px;
        height: 52px;
        margin-top: 72px;
    }

    .swipe-text {
        font-size: 16px;
    }

    .swipe-bg {
        width: 52px;
        height: 52px;
    }

    .swipe-arrow {
        font-size: 20px;
    }

    .hero__cat {
        width: min(100%, 760px);
    }

    .hero__advantages {
        gap: 20px;
        max-width: 54%;
    }

    .hero__advantage {
        font-size: 16px;
    }

    .hero__quote {
        right: 92px;
        min-width: 470px;
        padding: 12px 22px 10px;
    }

    .hero__note {
        font-size: 24px;
    }

    .hero__box::after {
        right: 24px;
        width: 360px;
    }
}

/* Адаптив шапки и первого экрана, ноутбуки */
@media (max-width: 1360px) {
    .hero__box {
        min-height: 560px;
    }

    .hero__quote {
        right: 20px;
        width: min(46vw, 470px);
    }

    .hero__cat {
        margin: 0;
        width: min(100%, 640px);
    }

    .hero__advantages {
        display: none;
    }    

    .hero__main {
        grid-template-columns: minmax(0, 1fr) minmax(380px, 0.9fr);
        column-gap: 36px;
    }

    .swipe-btn {
        width: 380px;
        height: 52px;
        margin-top: 27px;
    }
}

/* Адаптив шапки и первого экрана, планшеты */
@media (max-width: 1024px) {
    

.hero__box {
    min-height: 760px;
    padding: 20px 20px 0 20px;
    overflow: visible;
}

.hero__main {
    grid-template-columns: 1fr;
    row-gap: 0;
}

.hero__content {
    max-width: 100%;
    position: relative;
    z-index: 3;
}

.hero__title {
    margin-top: 16px;
    max-width: 560px;
    font-size: 44px;
    line-height: 1.06;
}

.hero__subtitle {
    margin-top: 62px;
    max-width: 520px;
    font-size: 22px;
}

.swipe-btn {
    width: 100%;
    max-width: 360px;
    margin-top: 25px;
}

.swipe-text {
    font-size: 14px;
    }

.hero__media {
    position: absolute;
    right: -19px;
    bottom: 70px;
    width: 62%;
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
    z-index: 2;
}

.hero__image-wrap {
    width: 100%;
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
}

.hero__cat {
    width: 100%;
    max-width: 535px;
    margin: 0;
    object-fit: contain;
    object-position: right bottom;
}

/* нижний блок теперь снова абсолютный */
.hero__bottom {
    position: absolute;
    left: 20px;
    right: 20px;
    bottom: 0;
    display: block;
    z-index: 4;
}

/* преимущества слева от кота, в столбик */
.hero__advantages {
    position: absolute;
    left: 0;
    bottom: 1px;
    max-width: 260px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    padding-bottom: 25px;
}

.hero__advantage {
    font-size: 16px;
    line-height: 1.25;
    white-space: normal;
}

/* цитата ровно на нижней линии */
.hero__quote {
    position: absolute;
    right: 13px;
    bottom: -3px;
    width: 52%;
    min-width: auto;
    max-width: 520px;
    padding: 20px 18px 12px;
    border-radius: 28px 28px 0 0;
}

.hero__note {
    font-size: 19px;
    line-height: 1.08;
}

.hero__box::after {
    right: 0;
    width: 52%;
    max-width: 520px;
    display: block;
    
}
}
/* Адаптив шапки и первого экрана, мобильные */
@media (max-width: 767px) {

    .hero {
        padding-top: 6px;
    }

    .hero__box {
        min-height: auto;
        padding: 16px 16px 16px;
        border-radius: 12px;
    }

    .hero__main {
        grid-template-columns: 1fr;
        row-gap: 20px;
    }

    .hero__title {
        margin-top: 8px;
        font-size: 28px;
        line-height: 1.08;
        max-width: 100%;
    }

    .hero__subtitle {
        margin-top: 22px;
        font-size: 16px;
        max-width: 100%;
        line-height: 1.4;
    }

    .swipe-btn {
        width: 100%;
        max-width: 100%;
        height: 44px;
        margin-top: 28px;
        margin-bottom: 120px;
    }

    .swipe-text {
        padding: 0 52px;
        font-size: 14px;
    }

    .swipe-bg {
        width: 44px;
        height: 44px;
        top: 0px;
        left: 0px;
    }

    .swipe-arrow {
        font-size: 18px;
    }

    .hero__media {
        min-height: auto;
        justify-content: center;
        bottom: 50px;
        right: 72px;
    }

    .hero__image-wrap {
        justify-content: center;
    }

    .hero__cat {
        width: 100%;
        max-width: 360px;
        margin: 0 auto;
    }

    .hero__bottom {
        position: static;
        margin-top: 18px;
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
    }
    
    .hero__advantages-mobile {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    margin-top: 18px;
}

.hero__bottom .hero__advantages {
    display: none;
}

    .hero__advantages {
    max-width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}

    .hero__advantage {
        font-size: 14px;
        line-height: 1.3;
    }

    .hero__quote {
        position: relative;
        right: auto;
        bottom: -18px;
        min-width: 100%;
        width: 100%;
        padding: 12px 16px 10px;
        border-radius: 24px 24px 0 0;
    }

    .hero__quote::before,
    .hero__quote::after {
        display: none;
    }

    .hero__note {
        font-size: 20px;
        line-height: 1.1;
    }

}
/* Адаптив шапки и первого экрана, мобильные мин. */
@media (max-width: 375px) {


    .hero {
        padding-top: 6px;
    }

    .hero__box {
        min-height: auto;
        padding: 16px 16px 16px;
        border-radius: 12px;
    }

    .hero__main {
        grid-template-columns: 1fr;
        row-gap: 20px;
    }

    .hero__title {
        margin-top: 8px;
        font-size: 24px;
        line-height: 1.08;
        max-width: 100%;
    }

    .hero__subtitle {
        margin-top: 22px;
        font-size: 14px;
        max-width: 100%;
        line-height: 1.4;
    }

    .swipe-btn {
        width: 100%;
        max-width: 100%;
        height: 44px;
        margin-top: 28px;
        margin-bottom: 120px;
    }

    .swipe-text {
        padding: 0px 0px 0px 33px;
        font-size: 14px;
    }

    .swipe-bg {
        width: 44px;
        height: 44px;
        top: 0px;
        left: 0px;
    }

    .swipe-arrow {
        font-size: 18px;
    }

    .hero__media {
        min-height: auto;
        justify-content: center;
        bottom: 52px;
        right: 59px;
    }

    .hero__image-wrap {
        justify-content: center;
    }

    .hero__cat {
        width: 100%;
        max-width: 360px;
        margin: 0 auto;
    }

    .hero__bottom {
        position: static;
        margin-top: 18px;
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
    }

     .hero__advantages-mobile {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    margin-top: 18px;
}

.hero__bottom .hero__advantages {
    display: none;
}

    .hero__advantages {
    max-width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}

    .hero__advantage {
        font-size: 12px;
        line-height: 1.3;
    }

    .hero__quote {
        position: relative;
        right: auto;
        bottom: -18px;
        min-width: 100%;
        width: 100%;
        padding: 12px 16px 10px;
        border-radius: 24px 24px 0 0;
    }

    .hero__quote::before,
    .hero__quote::after {
        display: none;
    }

    .hero__note {
        font-size: 13px;
        line-height: 1.2;
    }

}

@media (max-width: 320px) {
    .swipe-text {
        padding: 0px 0px 0px 66px;
        font-size: 14px;
    }
}




/* POPUP */

.popup {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: none;
}

.popup.is-open {
    display: block;
}

.popup__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
}

.popup__content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 520px;
    margin: 120px auto 0;
    padding: 32px;
    background: #403f3d;
    border: 1px solid rgba(243, 238, 230, 0.3);
    border-radius: 12px;
    color: #f3eee6;
}

.popup__close {
    position: absolute;
    top: 10px;
    right: 14px;
    border: 0;
    background: transparent;
    color: #f3eee6;
    font-size: 32px;
    cursor: pointer;
}

.popup__title {
    margin-bottom: 14px;
    font-family: "TT Ricordi Allegria", serif;
    font-size: 42px;
    line-height: 1;
    text-transform: uppercase;
}

.popup__text {
    font-size: 16px;
    line-height: 1.45;
    color: rgba(243, 238, 230, 0.88);
}


/* Адаптив шапки и первого экрана, мобильные */
@media (max-width: 767px) {
.popup__content {
        max-width: calc(100% - 32px);
        margin-top: 80px;
        padding: 24px 20px;
    }

    .popup__title {
        font-size: 30px;
    }

    .popup__text {
        font-size: 14px;
    }
}

/* Адаптив шапки и первого экрана, мобильные мин. */
@media (max-width: 375px) {
    .popup__content {
        max-width: calc(100% - 32px);
        margin-top: 80px;
        padding: 24px 20px;
    }

    .popup__title {
        font-size: 30px;
    }

    .popup__text {
        font-size: 14px;
    }
}





/* Мы нужны когда */

.problems {
    margin-top: 30px;
}

.problems__box {
    display: grid;
    grid-template-columns: 1fr 632px;
    gap: 48px;
    align-items: start;
    padding: 70px 0px 70px 0px;

}

.problems__content {
    max-width: 100%;
}

.problems__label {
    margin-bottom: 12px;
    font-size: 22px;
    line-height: 1.2;
    color: rgba(243, 238, 230, 0.9);
}

.problems__title {
    margin-bottom: 26px;
    font-family: "TT Ricordi Allegria", serif;
    font-size: 64px;
    line-height: 1;
    font-weight: 400;
    text-transform: uppercase;
    color: #f3eee6;
}

.problems__list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.problems__item {
    display: grid;
    grid-template-columns: 24px 1fr;
    gap: 14px;
    align-items: start;
}

.problems__text {
    font-size: 25px;
    line-height: 1.2;
    color: #f3eee6;
}

.problems__visual {
    position: relative;
    width: 100%;
    max-width: 631px;
}

.problems__image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 2px;
}

.problems__quote {
    position: absolute;
    right: 0;
    top: 119px;
    width: 392px;
    padding: 18px 14px 16px;
    background: rgba(53, 52, 50, 0.96);
}

.problems__quote-text {
    font-family: "TT Ricordi Allegria", serif;
    font-size: 45px;
    line-height: 1.2;
    text-transform: uppercase;
    color: #f3eee6;
     /* 🔥 анимация */
    animation: floatText 4s ease-in-out infinite;
}

/* Иконка загрузки блока когда мы нужны */

.loader {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    margin-top: 7px;
    flex-shrink: 0;
    background: conic-gradient(
        rgba(255,255,255,0.9) 0deg,
        rgba(255,255,255,0.9) 20deg,
        rgba(255,255,255,0.6) 40deg,
        rgba(255,255,255,0.3) 60deg,
        rgba(255,255,255,0.05) 90deg,
        transparent 360deg
    );
    -webkit-mask: radial-gradient(farthest-side, transparent 60%, black 83%);
            mask: radial-gradient(farthest-side, transparent 82%, black 83%);
    animation: spin 3.2s linear infinite;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@keyframes floatText {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-6px);
    }
    100% {
        transform: translateY(0px);
    }
}

/* Адаптив мы нужны когда, ноутбуки */

@media (max-width: 1440px) {
    .problems__box {
        grid-template-columns: 1fr 471px;
        gap: 48px; 
        padding: 50px 0px 50px 0px;
    }

    .problems__label {
        font-size: 18px;
    }

    .problems__title {
        font-size: 54px;
        margin-bottom: 22px;
    }

    .problems__list {
        gap: 16px;
    }

    .problems__item {
        grid-template-columns: 20px 1fr;
        gap: 12px;
    }

    .problems__text {
        font-size: 20px;
    }

    .problems__visual {
        max-width: 472px;
    }

    .problems__quote {
        top: 86px;
        width: 306px;
        padding: 16px 12px 14px;
    }

    .problems__quote-text {
        font-size: 34px;
    }

    .problems__content{
    padding: 0px 50px 0px 0px;
    }

    .loader {
        width: 16px;
        height: 16px;
    }
}

/* Адаптив мы нужны когда, планшеты */

@media (max-width: 1024px) {
    .problems {
        margin-top: 24px;
    }

    .problems__box {
        grid-template-columns: 1fr ;
        gap: 28px;
    }

    .problems__content {
        order: 1;
    }

    .problems__visual {
        order: 2;
        max-width: 720px;
        margin-left: 0;
        margin-right: auto;
    }

    .problems__label {
        font-size: 16px;
        margin-bottom: 10px;
    }

    .problems__title {
        font-size: 46px;
        margin-bottom: 22px;
    }

    .problems__text {
        font-size: 21px;
    }

    .problems__quote {
        top: 166px;
        right: 0;
        width: 429px;
    }

    .problems__content {
        padding: 0px 0px 0px 0px;
    }

    .problems__quote-text {
        font-size: 46px;
    }
}

/* Адаптив мы нужны когда, мобильные */

@media (max-width: 767px) {
    .problems {
        margin-top: 20px;
    }

    .problems__box {
        gap: 20px;
        padding: 70px 0px 0px 0px;
    }

    .problems__label {
        font-size: 14px;
        margin-bottom: 8px;
    }

    .problems__title {
        font-size: 34px;
        line-height: 1.04;
        margin-bottom: 18px;
    }

    .problems__list {
        gap: 14px;
    }

    .problems__item {
        grid-template-columns: 18px 1fr;
        gap: 10px;
    }

    .problems__text {
        font-size: 20px;
        line-height: 1.25;
    }

    .problems__visual {
        max-width: 100%;
        max-height: 356px;
    }

    .problems__quote {
        top: 80px;
        right: 12px;
        width: 236px;
        padding: 12px 10px;
    }

    .problems__quote-text {
        font-size: 26px;
        line-height: 1.1;
    }

    .problems__content {
        padding: 0px 0px 0px 0px;
    }

    .loader {
        width: 14px;
        height: 14px;
        margin-top: 3px;
    }
}

/* Адаптив мы нужны когда, мобильные мин. */

@media (max-width: 375px) {
    .problems__title {
        font-size: 28px;
    }

    .problems__text {
        font-size: 18px;
    }

    .problems__quote {
        position: relative;
        top: -226px;
        right: -123px;
        width: 65%;
        margin-top: 12px;
    }

    .problems__quote-text {
        font-size: 20px;
    }

    .problems__visual {
        max-width: 100%;
        max-height: 275px;
    }

        .problems__content {
        padding: 0px 0px 0px 0px;
    }
}






/* =========================
   SCOPE
========================= */

.diag-scope {
    margin-top: clamp(56px, 5vw, 92px);
}

.border-gradient {
  position: relative;
}

.border-gradient::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(
    135deg,
    rgba(255,255,255,0.4),
    rgba(255,255,255,0.05)
  );
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
}

.diag-scope__head {
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    gap: clamp(26px, 3vw, 60px);
    align-items: start;
    margin-bottom: 34px;
}

.diag-scope__lead {
    font-family: "TT Ricordi Allegria", serif;
    font-size: 24px;
    line-height: 1.7;
    text-transform: uppercase;
}

.diag-scope__cards {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
}

.scope-card {
    position: relative;
    min-height: 480px;
    padding: 28px 24px 22px;
    border-radius: 14px;
    overflow: hidden;
    background: linear-gradient(
        180deg,
        rgba(53, 52, 50, 0.82) 20%,
        rgba(53, 52, 50, 0.92) 90%
    );
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    box-shadow:
        0 22px 48px rgba(0, 0, 0, 0.28),
        0 6px 18px rgba(0, 0, 0, 0.18);
}

.scope-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 14px;
    padding: 1px;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.26) 0%,
        rgba(255, 255, 255, 0.12) 28%,
        rgba(255, 255, 255, 0.04) 55%,
        rgba(255, 255, 255, 0.16) 100%
    );
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
            mask-composite: exclude;
    pointer-events: none;
    z-index: 1;
}

.scope-card > *:not(.scope-card__decor) {
    position: relative;
    z-index: 2;
}

.scope-card__title {
    margin-bottom: 24px;
    font-size: clamp(24px, 1.7vw, 36px);
    line-height: 1.06;
    font-weight: 400;
}

.scope-card__group + .scope-card__group {
    margin-top: 22px;
}

.scope-card__label {
    margin-bottom: 10px;
    font-size: 16px;
    line-height: 1.3;
    color: rgba(243, 238, 230, 0.66);
}

.scope-card ul {
    padding-left: 18px;
}

.scope-card li,
.scope-card p {
    font-size: 17px;
    line-height: 1.42;
    color: rgba(243, 238, 230, 0.9);
}

.scope-card__decor {
    position: absolute;
    right: -8px;
    bottom: -8px;
    width: 170px;
    max-width: 45%;
    pointer-events: none;
    z-index: 0;
    opacity: 0.84;
    filter: saturate(0.96) brightness(0.96);
}

/* =========================RESULT========================= */

.diag-result {margin-top: clamp(44px, 5vw, 88px);}

.diag-result__box {border-radius: 18px;padding: clamp(24px, 2.5vw, 36px);display: grid;grid-template-columns: minmax(0, 1fr) minmax(360px, 520px) minmax(0, 0.95fr);gap: clamp(18px, 2vw, 36px);align-items: center;box-shadow:0 26px 58px rgba(0, 0, 0, 0.32),0 8px 22px rgba(0, 0, 0, 0.2);margin-bottom:88px;}

.diag-result__left,.diag-result__center,.diag-result__right {position: relative;z-index: 1;}

.diag-result__text {margin-top: 50px;font-size: clamp(18px, 1.6vw, 30px);line-height: 1.24;color: var(--text-soft);max-width: 520px;}

.diag-result__list {margin-top: 50px;font-size: clamp(16px, 1.2vw, 24px);line-height: 1.45;color: var(--text-soft);}

.diag-result__list ul {margin-top: 12px;padding-left: 18px;}

.diag-result__center {min-height: 420px;position: relative;}

.diag-result__center::after {content: "";position: absolute;left: 50%;bottom: -23%;width: 510px;height: 510px;transform: translateX(-50%);background: radial-gradient(circle,rgba(255, 194, 103, 0.42) 0%,rgba(255, 194, 103, 0.18) 28%,rgba(255, 194, 103, 0.06) 48%,transparent 72%);filter: blur(32px);z-index: 0;}

.diag-result__lamp-top,.diag-result__lamp-bottom {position: absolute;left: 50%;transform: translateX(-50%);}

.diag-result__lamp-top {top: -68px;width: min(100%, 590px);z-index: 2;}

.diag-result__lamp-bottom {bottom: 8px;width: min(100%, 760px);z-index: 1;}

.diag-result__cta-text {font-size: clamp(24px, 1.8vw, 36px);line-height: 1.14;margin-bottom: 16px;}

.diag-result__cta-subtext {font-size: clamp(18px, 1.45vw, 30px);line-height: 1.24;color: var(--text-soft);margin-bottom: 28px;max-width: 480px;}

.prim__btn {display: inline-flex;align-items: center;justify-content: space-between;max-width: 480px;height: 54px;padding-left: 18px;border: 1px solid rgba(243, 238, 230, 0.7);border-radius: 6px;color: #f3eee6;overflow: hidden;margin-top: 50px;}

.prim__btn span {font-size: 18px;line-height: 1;}

.prim__btn-icon {display: inline-flex;align-items: center;justify-content: center;width: 54px;height: 54px;border-left: 1px solid rgba(243, 238, 230, 0.7);font-size: 20px;line-height: 1;}.prim__aside .swipe-btn {margin-top: 50px;}

.swipe-btn--prim{width: 330px;padding: 0 0px 0 37px;}





/* laptop */@media (max-width: 1440px) {.diag-result__box {grid-template-columns: minmax(0, 1fr) minmax(300px, 420px) minmax(0, 0.95fr);gap: 28px;padding: 30px;}

.diag-result__text,
.diag-result__list {
    margin-top: 32px;
}

.diag-result__center {
    min-height: 350px;
}

.diag-result__lamp-top {
    top: -38px;
    width: min(100%, 440px);
}

.diag-result__lamp-bottom {
    bottom: 0;
    width: min(100%, 560px);
}

.diag-result__center::after {
    width: 390px;
    height: 390px;
    bottom: -18%;
}

.swipe-btn--prim {
    width: 320px;
    margin-top: 34px;
}

}

/* tablet */@media (max-width: 1024px) {.diag-result__box {grid-template-columns: 1fr;gap: 26px;padding: 28px 24px;overflow: hidden;}

.diag-result__left,
.diag-result__right {
    max-width: 100%;
}

.diag-result__text {
    margin-top: 24px;
    max-width: 720px;
    font-size: 22px;
}

.diag-result__list {
    margin-top: 24px;
    font-size: 18px;
}

.diag-result__center {
    order: 2;
    min-height: 360px;
    width: 100%;
}

.diag-result__left {
    order: 1;
}

.diag-result__right {
    order: 3;
}

.diag-result__lamp-top {
    top: -24px;
    width: min(78vw, 460px);
}

.diag-result__lamp-bottom {
    bottom: 0;
    width: min(92vw, 620px);
}

.diag-result__center::after {
    width: 430px;
    height: 430px;
    bottom: -22%;
}

.diag-result__cta-text {
    font-size: 28px;
    max-width: 680px;
}

.diag-result__cta-subtext {
    font-size: 22px;
    max-width: 680px;
}

.swipe-btn--prim {
    width: 360px;
    max-width: 100%;
    margin-top: 28px;
}

}

/* mobile */@media (max-width: 767px) {.diag-result__box {padding: 20px 16px;border-radius: 14px;gap: 20px;margin-bottom:50px;margin-top:50px;}

.diag-result__text {
    margin-top: 18px;
    font-size: 16px;
    line-height: 1.35;
}

.diag-result__list {
    margin-top: 18px;
    font-size: 15px;
    line-height: 1.4;
}

.diag-result__center {
    min-height: 260px;
}

.diag-result__lamp-top {
    top: -8px;
    width: min(86vw, 300px);
}

.diag-result__lamp-bottom {
    bottom: 0;
    width: min(100vw, 390px);
}

.diag-result__center::after {
    width: 280px;
    height: 280px;
    bottom: -18%;
    filter: blur(24px);
}

.diag-result__cta-text {
    font-size: 20px;
    line-height: 1.14;
    margin-bottom: 12px;
}

.diag-result__cta-subtext {
    font-size: 16px;
    line-height: 1.35;
    margin-bottom: 18px;
}

.swipe-btn--prim {
    width: 100%;
    max-width: 100%;
    height: 44px;
    margin-top: 20px;
    padding-left: 0;
}

}

/* small mobile */@media (max-width: 375px) {.diag-result__box {padding: 18px 14px;}

.diag-result__center {
    min-height: 220px;
}

.diag-result__lamp-top {
    width: min(86vw, 250px);
}

.diag-result__lamp-bottom {
    width: min(100vw, 330px);
}

.diag-result__center::after {
    width: 220px;
    height: 220px;
}

.diag-result__cta-text {
    font-size: 18px;
}

.diag-result__cta-subtext,
.diag-result__text,
.diag-result__list {
    font-size: 14px;
}

}

 

/* tariffs */
/* tariffs */

.tariffs {
    margin-top: 88px;
    margin-bottom: 88px;
}

.tariffs__grid {
    margin-top: 36px;
    display: grid;
    grid-template-columns: repeat(3, minmax(300px, 1fr));
    gap: 48px;
    align-items: stretch;
}

.tariff-card {
    min-height: 520px;
    padding: 34px 32px 30px;
    border-radius: 8px;
    border: 1px solid rgba(243, 238, 230, 0.28);
    background: #5f5d5a;
    color: #f3eee6;
    display: flex;
    flex-direction: column;
}

.tariff-card--dark {
    background: #454340;
}

.tariff-card--light {
    background: #d6d4d0;
    color: #353432;
    border-color: rgba(53, 52, 50, 0.18);
}

.tariff-card__title {
    font-family: "TT Ricordi Allegria", serif;
    font-size: 32px;
    line-height: 1.08;
    text-transform: uppercase;
    font-weight: 400;
    margin-bottom: 18px;
}

.tariff-card__desc {
    min-height: 72px;
    max-width: 360px;
    font-size: 18px;
    line-height: 1.35;
    margin-bottom: 34px;
}

.tariff-card__list {
    font-size: 18px;
    line-height: 1.45;
    color: inherit;
}

.tariff-card__list p {
    margin-bottom: 4px;
}

.tariff-card__list ul {
    padding-left: 18px;
    margin-bottom: 16px;
}

.tariff-card__meta {
     margin-top: 32px;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    font-family: "TT Ricordi Allegria", serif;
    font-size: 30px;
    line-height: 1;
    text-transform: uppercase;
    margin-bottom: 24px;
}

.tariff-card__btn {
    width: 100%;
    height: 58px;
    padding-left: 22px;
    border: 1px solid rgba(243, 238, 230, 0.75);
    border-radius: 6px;
    color: inherit;
    display: flex;
    margin-top: auto;
    align-items: center;
    justify-content: space-between;
}

.tariff-card__btn--dark {
    border-color: rgba(53, 52, 50, 0.55);
}

.tariff-card__btn-icon {
    width: 56px;
    height: 56px;
    border-radius: 5px;
    background: #f3eee6;
    color: #353432;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 24px;
}

.tariff-card--light .tariff-card__btn-icon {
    background: #f3eee6;
    color: #353432;
}

@media (max-width: 1440px) {
    .tariffs__grid {
        gap: 36px;
    }

    .tariff-card {
        min-height: 500px;
        padding: 30px 28px 28px;
    }

    .tariff-card__title {
        font-size: 28px;
    }

    .tariff-card__desc,
    .tariff-card__list {
        font-size: 16px;
    }

    .tariff-card__meta {
        font-size: 26px;
    }
}

@media (max-width: 1024px) {
    .tariffs {
        margin-top: 70px;
        margin-bottom: 70px;
    }

    .tariffs__grid {
        grid-template-columns: 1fr 1fr;
        gap: 28px;
    }

    .tariff-card {
        min-height: 480px;
    }

    .tariff-card--light {
        grid-column: 1 / -1;
    }
    
    .tariff-card__btn-icon {
        
    font-size: 20px;
    }
}

@media (max-width: 767px) {
    .tariffs {
        margin-top: 50px;
        margin-bottom: 50px;
    }

    .tariffs__grid {
        margin-top: 24px;
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .tariff-card {
        min-height: auto;
        padding: 24px 20px 20px;
    }

    .tariff-card__title {
        font-size: 24px;
    }

    .tariff-card__desc {
        min-height: auto;
        font-size: 15px;
        margin-bottom: 24px;
    }

    .tariff-card__list {
        font-size: 15px;
    }

    .tariff-card__meta {
        font-size: 22px;
    }

    .tariff-card__btn {
        height: 50px;
        padding-left: 16px;
    }


    .tariff-card__btn-icon {
    width: 48px;
    height: 48px;
    font-size: 18px;
    }

}



/* faq */
.faq {
    margin-top: 88px;
    margin-bottom: 88px;
}

.faq__list {
    margin-top: 26px;
    margin-left: 20px;
    margin-right: 20px;
}

.faq__item {
    border-bottom: 1px solid rgba(243, 238, 230, 0.22);
}

.faq__question {
    width: 100%;
    background: transparent;
    border: 0;
    color: var(--text);
    padding: 18px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    font-size: 26px;
    line-height: 1.25;
    text-align: left;
    cursor: pointer;
}

.faq__icon {
    transition: transform 0.25s ease;
    font-size: 28px;
    color: var(--text-muted);
}

.faq__item.is-open .faq__icon {
    transform: rotate(90deg);
}

.faq__answer {
    max-height: 0;
    overflow: hidden;

    transition:
        max-height 0.35s ease,
        opacity 0.25s ease,
        padding 0.25s ease;

    opacity: 0;

    max-width: 980px;
    font-size: 18px;
    line-height: 1.5;
    color: rgba(243, 238, 230, 0.8);

    padding: 0 0 0;
}

.faq__item.is-open .faq__answer {
     opacity: 1;
    padding: 0 0 20px;
}



/* laptop */
@media (max-width: 1440px) {

    .section-title {
        font-size: 52px;
    }

    .diag-hero__title {
        font-size: 56px;
    }

    .diag-hero__text {
        font-size: 24px;
    }
 

    .diag-list li {
        font-size: 24px;
    }

    .diag-scope__cards {
        grid-template-columns: repeat(2, 1fr);
    }

    .quiz__title {
        font-size: 48px;
    }

    .quiz__question {
        font-size: 28px;
    }

    .tariff-card__title {
        font-size: 34px;
    }

    .contact-form__title {
        font-size: 50px;
    }
}

/* tablet */
@media (max-width: 1024px) {

    .section-title {
        font-size: 42px;
    }

    .diag-hero__main,
    .diag-when__grid,
    .diag-scope__head,
    .diag-result__box {
        grid-template-columns: 1fr;
    }

    .diag-hero__visual {
        border-left: 0;
        padding-left: 0;
        padding-top: 24px;
    }

    .diag-hero__scheme {
        max-width: 320px;
        margin: 0 auto;
    }

    .diag-when__image-wrap {
        max-width: 720px;
    }

    .diag-scope__cards {
        grid-template-columns: 1fr 1fr;
    }


   
    .tariffs__grid {
        grid-template-columns: 1fr;
    }


}

/* mobile */
@media (max-width: 767px) {


    .section-label {
        font-size: 14px;
        margin-bottom: 10px;
    }

    .section-title {
        font-size: 34px;
        line-height: 1.05;
        padding-top: 42px;
    }

    .diag-hero {
        padding-top: 6px;
    }

    .diag-hero__box {
        padding: 16px;
    }

    .diag-hero__title {
        font-size: 24px;
        margin-bottom: 18px;
    }

    .diag-hero__text {
        font-size: 16px;
        line-height: 1.35;
        margin-bottom: 18px;
        max-width: 100%;
    }

    .diag-hero__scheme {
        max-width: 220px;
    }

    .diag-hero__note {
        font-size: 18px;
        padding: 14px 12px;
        border-radius: 22px;
    }

    .diag-when,
    .diag-scope,
    .diag-result,
    .tariffs,
    .faq {
        margin-top: 50px;
    }

    .diag-list {
        gap: 16px;
        margin-top: 20px;
    }

    .diag-list li {
        font-size: 18px;
        line-height: 1.35;
        padding-left: 20px;
    }

    .diag-list li::before {
        top: 8px;
        width: 10px;
        height: 10px;
    }

    .diag-when__quote {
        right: 10px;
        top: 24px;
        max-width: 220px;
        padding: 16px 14px;
        font-size: 20px;
    }

    .diag-scope__lead {
        font-size: 18px;
    }

    .diag-scope__cards {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .scope-card {
        min-height: auto;
        padding: 18px 16px 16px;
    }

    .scope-card__title {
        font-size: 18px;
        margin-bottom: 16px;
    }

    .scope-card__label,
    .scope-card li,
    .scope-card p {
        font-size: 14px;
    }

    .scope-card__decor {
        width: 110px;
    }

    .tariffs__grid {
        margin-top: 18px;
        gap: 14px;
    }

    .tariff-card {
        min-height: auto;
        padding: 18px 16px 16px;
    }

    .tariff-card__title {
        font-size: 26px;
        margin-bottom: 14px;
    }

    .tariff-card__desc,
    .tariff-card__list {
        font-size: 14px;
    }

    .tariff-card__meta {
        font-size: 24px;
        margin-top: 16px;
    }

    .tariff-card__btn {
        height: 46px;
    }

    
    .faq__question {
        padding: 14px 0;
        font-size: 16px;
        gap: 14px;
    }

    .faq__answer {
        font-size: 14px;
        padding-bottom: 14px;
    }

}

@media (max-width: 375px) {
    .section-title {
        font-size: 26px;
        padding-top: 10px;
    }

    .tariff-card__title {
        font-size: 22px;
    }
}