/* HEADER */
.flex {
    display: flex;
}
.container {
    width:1710px;
    max-width: 100%;
    padding: 0 15px;
    box-sizing: border-box;
    margin:0 auto;
}
@media(max-width: 1710px) {
    .container {
        /*width: 1150px;*/
        width: 1090px;
    }
}
@media(max-width: 1120px) {
    .container {
        width:100%;
    }
}
.header-menu a.active {
    text-decoration: underline !important;
    text-underline-offset: 4px !important;
    text-decoration-thickness: 2px !important;
    transition: all 0.3s ease;
}

.site-wrapper {
    width: 100%;
    margin: 0 auto;
}
.page-bg-wrapper {
    position: relative;
    min-height: 1048px;
    overflow: hidden;
}
.page-bg-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}
.page-bg-wrapper::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
            linear-gradient(180deg, rgba(0,0,0,0) 79.5%, rgba(0,0,0,0.4) 100%),
            radial-gradient(69.61% 110.65% at 3.36% 79.36%, rgba(56,0,0,0.7) 0%, rgba(56,0,0,0) 81.57%),
            radial-gradient(65.55% 110.32% at 7.42% 23.95%, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0) 81.57%);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    z-index: 1;
    pointer-events: none;
}
.header {
    position: fixed;
    z-index: 100;
    width: 100%;
    padding: 32px;
    border: none;
    box-sizing: border-box;
}
.header .header-inner {
    background: #f8f8f8;
    border-radius: 32px;
    box-shadow: 0 2px 16px 2px rgba(0,0,0,0.1);
}
.header-top-row {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    height: 120px;
}
.header-logo-block {
    padding: 34px 0 34px 0;
}
.header-nav-row {
    display: flex;
    align-items: center;
    gap: 253px;
    width: auto;
    margin-left: auto;

}
.main-nav {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    font: 500 24px/30px Geometria, sans-serif;
    color: #222;
    margin: 0 auto;
}
.main-nav ul {
    display: flex;
    gap: 48px;
    justify-content: center;
    flex: 1;
}
.main-nav ul li a {
    display: block;
    width: 100%;
    color: #222;
    text-decoration: none;
    transition: color 0.3s ease;
}
.main-nav ul li a:hover,
.main-nav ul li a:focus {
    color: #9f0a2a;
}
.button {
    display: flex;
    position: relative;
    align-items: center;
    width: 244px;
    height: 60px;
    padding-left: 78px;
    background: #9f0a2a;
    border-radius: 100px;
    overflow: hidden;
    transition: background .3s ease, border .3s ease, color .3s ease;
    color:#fff;
    font: 700 24px/24px Geometria, sans-serif;
    white-space: nowrap;
    border: none;
    cursor: pointer;
    text-decoration: none;
}
.button::before {
    content: "";
    position: absolute;
    left: 4px;
    top: 50%;
    width: 48px;
    height: 48px;
    transform: translateY(-50%);
    background: url('../images/arrow-red.svg') center/contain no-repeat;
    transition: background-image .3s ease;
}
.button:hover {
    background: #fff;
    border: 1px solid #9f0a2a;
    color: #9f0a2a;
    text-decoration: none;
}
.button:hover::before {
    background-image: url('../images/arrow-white.svg');
}
.mobile-menu-toggle,
.mobile-menu-close,
.mobile-menu-contacts {
    display: none;
}
@media (max-width: 1710px) {
    .page-bg-wrapper {
        min-height: 780px;
    }
    .page-bg-img {
        width: 100%;
        height: 100%;
    }
    .header {
        padding: 20px;
    }
    .header-inner {
        margin: 0 auto;
    }
    .header-top-row {
        height: 75px;
    }
    .header-logo-block {
        padding: 21px 0 21px 0;
    }
    .header-logo-block img {
        width: 203px;
        height: 33px;
    }
    .header-nav-row {
        gap: 144px;
        margin-left: auto;
        margin-right: 0;
        width: auto;
    }
    .main-nav {
        font-size: 16px;
        line-height: 20px;
    }
    .main-nav ul {
        gap: 30px;
    }
    .button {
        width: 160px;
        height: 38px;
        padding-left: 34px;
        align-items: center;
        justify-content: center;
        font-size: 16px;
        line-height: 20px;
    }
    .button::before {
        width: 30px;
        height: 30px;
        left: 4px;
    }
}
@media (max-width: 1090px) {
    .header {
        padding: 23px 15px;
        min-width: auto;
    }
    .page-bg-wrapper {
        min-height: auto;
    }
    .header .header-inner {
        border-radius: 16px;
    }
    .header .header-inner .container {
        padding:0;
        flex-direction: column;
    }
    .header-top-row {
        min-width: auto;
        height: auto;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }
    .header-logo-block {
        padding: 17.5px 12px 17.5px 12px;
        order: 0;
        display: block;
    }
    .header-logo-block img {
        width: 267px;
        height: 42px;
        object-fit: contain;
    }
    .mobile-menu-toggle {
        order: 1;
        padding: 0;
        margin-right: 12px;
    }
    .mobile-menu-close {
        margin-right: 6px;
    }
    .header:not(.opened) .mobile-menu-toggle {
        display: block;
    }
    header .header-nav-row {
        display: none;
        margin-left: 0;
        overflow: hidden;
    }
    .header:not(.opened) .header-nav-row {

    }

    .header.opened .mobile-menu-toggle {
        display: none;
    }
    .header.opened .mobile-menu-close,
    .header.opened .mobile-menu-contacts {
        display: block;
    }
    .header .header-top-row {
        justify-content: space-between;
    }
    .header .main-nav {
        position: static;
        transform: unset;
        margin-left: 12px;
        margin-top: 21px;
    }
    .header .main-nav ul {
        display: flex;
        flex-direction: column;
        gap: 16px;
        justify-content: flex-start;
        align-items: flex-start;
        width: 100%;
        font: 700 20px/25px Geometria, sans-serif;
        text-align: left;
    }
    .header .button {
        justify-content: center;
        padding: 16px 0px 15px;
        width: 321px;
        height: 56px;
        font: 700 20px/25px Geometria, sans-serif;
        margin-top: 60px;
        margin-bottom: 60px;
        margin-left: 12px;
    }
    .header .button::before {
        width:48px;
        height:48px;
        left: 4px;
    }
    .header .mobile-menu-contacts {
        padding: 0 12px 40px;
    }
    .header .mobile-menu-contacts {
        display: flex;
        flex-direction: column;
        width: 100%;
    }
    .header .mobile-menu-contacts .contact-item,
    .header .mobile-menu-contacts .contact-email-item {
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 8px;
        padding-bottom: 12px;
    }
    .header .mobile-menu-contacts .address-container {
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 8px;
        padding-bottom: 4px;
    }
    .header .contact-icon {
        filter: brightness(0) saturate(100%);
        width: 24px;
        height: 24px;
    }
    .header .contact-text,
    .header .contact-email-link,
    .header .address-text {
        font: 500 16px/20px Geometria, sans-serif;
        margin: 0;
    }
    .header .contact-email-link,
    .header .map-link {
        text-decoration: underline;
    }
    .header .map-link {
        font: 300 12px/15px Geometria, sans-serif;
        padding-left: 32px;
    }
}
@media (max-width: 320px) {
    .header.opened .button {
        width: 100%;
    }
}

/* FEATURES */
.features-section {
    position: relative;
    z-index: 3;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: clamp(80px, 25vw, 484px);
    max-width: 1920px;
    margin: 0 auto;
    padding: 325px 0 0 0;
    box-sizing: border-box;
}
.features-content {
    flex: 0 1 832px;
    max-width: 832px;
    display: flex;
    flex-direction: column;
}
.features-title-block {
    width: 100%;
}
.features-subtitle {
    margin: 0;
    font: 500 24px/30px Geometria, sans-serif;
    color: #fff;
    text-align: left;
}
.features-title {
    width: 100%;
    margin: 12px 0 0 0;
    font: 800 100px/110px Geometria, sans-serif;
    color: #fff;
    text-align: left;
}
.features-desc {
    max-width: 549px;
    margin: 12px 0 0 0;
    font: 500 24px/30px Geometria, sans-serif;
    color: #fff;
    text-align: left;
}
.features-cta {
    display: flex;
    position: relative;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    width: 244px;
    height: 60px;
    padding: 16px 28px 14px 78px;
    margin-top: 40px;
    background: #9f0a2a;
    border-radius: 100px;
    overflow: hidden;
    transition: background .3s ease;
}
.features-cta::before {
    content: "";
    position: absolute;
    left: 4px;
    top: 50%;
    width: 48px;
    height: 48px;
    transform: translateY(-50%);
    background: url('../images/arrow-red.svg') center/contain no-repeat;
    transition: background-image .3s ease;
}
.cta-text {
    font: 700 24px/30px Geometria, sans-serif;
    color: #fff;
    transition: color .3s ease;
}
.features-cta:hover {
    background: #fff;
}
.features-cta:hover .cta-text {
    color: #9f0a2a;
    text-decoration: none;
}
.features-cta:hover::before {
    background-image: url('../images/arrow-white.svg');
}
.features-benefits {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 0 0 50px 0;
}
.benefit-card {
    width: 359px;
    height: 125px;
    padding: 34px 32px 32px 32px;
    background: rgba(34, 34, 34, 0.14);
    border-radius: 16px;
    backdrop-filter: blur(10px);
}
.benefit-icon {
    width: 24px;
    height: 24px;
    overflow: hidden;
}
.benefit-title {
    font: 500 18px/23px Geometria, sans-serif;
    color: #fff;
}
.custom-prev,
.custom-next {
    display: none;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    z-index: 10;
}
.custom-prev {
    left: 10px;
}
.custom-next {
    right: 10px;
}
@media (max-width: 1710px) {
    .features-section {
        min-width: auto;
        padding: 245px 0 0 0;
        gap: 280px;
        align-items: center;
    }
    .features-content {
    flex: 0 1 519px;
    }
    .features-title {
        font-size: 60px;
        line-height: 66px;
        margin: 8px 0 0 0;
    }
    .features-subtitle {
        font-size: 16px;
        line-height: 20px;
    }
    .features-desc {
        max-width: 342px;
        font-size: 16px;
        line-height: 20px;
        margin: 8px 0 0 0;
    }
    .features-cta {
        width: 160px;
        height: 38px;
        padding: 10px 18px 8px 50px;
        margin-top: 32px;
    }
    .features-cta::before {
        width: 30px;
        height: 30px;
    }
    .features-cta .cta-text {
        font-size: 16px;
        line-height: 20px;
    }
    .features-benefits {
        padding: 0 0 75px 0;
        gap: 8px;
    }
    .benefit-card {
        width: 261px;
        height: 80px;
        padding: 16px 12px 16px 20px;
    }
    .benefit-title {
        font-size: 14px;
        line-height: 18px;
        margin: 8px 0 0 0;
    }
    .benefit-icon {
        width: 18px;
        height: 18px;
    }
}

@media (max-width: 1090px) {
    .features-section {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 52px;
        min-width: auto;
        padding: 187px 0 38px 0;
    }
    .features-content {
        flex: none;
        max-width: 100%;
        align-items: center;
    }
    .features-benefits {
        padding: 0;
    }
    .benefits-slider {
        width: 345px;
    }
    .features-title {
        margin: 20px 0 0 0;
        font-size: 50px;
        line-height: 50px;
    }
    .features-subtitle,
    .features-desc {
        font-size: 16px;
        line-height: 21px;
    }
    .features-subtitle {
        max-width: 59%;
    }
    .features-desc {
        margin: 16px 0 0 0;
        max-width: 71%;
    }
    .features-cta {
        width: 345px;
        height: 56px;
        padding: 16px 0;
        justify-content: center;
        align-items: center;
    }
    .features-cta::before {
        width: 48px;
        height: 48px;
    }
    .benefits-slider {
        max-width: 100%;
        overflow: hidden;
    }
    .benefits-slider .benefit-card {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        width: 345px;
        height: auto;
        padding: 39.5px 24.5px;
        background: rgba(255, 255, 255, 0.14);
        backdrop-filter: blur(10px);
    }
    .custom-prev,
    .custom-next {
        display: block;
    }
    .benefit-title {
        text-align: center;
        margin: 10px 0 0 0;
    }
    .benefit-icon {
        width: 24px;
        height: 24px;
    }
}
@media (max-width: 320px) {
    .features-cta,
    .benefits-slider .benefit-card {
        width: 100%;
    }
}

/* ABOUT SECTION */
.about-section {
    width: 100%;
    padding: 56px 0 100px;
}
.about-content-wrapper { max-width: 1681px; }
.about-layout {
    display: grid;
    grid-template-columns: 37.44% 57.86%;
    grid-template-rows: auto 1fr;
    gap: 4.70%;
    height: 100%;
}
.hero-text-container {
    grid-column: 1;
    grid-row: 1;
    align-self: start;
}
.video-section {
    grid-column: 1;
    grid-row: 2;
    align-self: end;
}
.image-card {
    grid-column: 2;
    grid-row: 1 / span 2;
    align-self: stretch;
    justify-self: stretch;
}
.about-title {
    max-width: 547px;
    margin: 0;
    padding: 106px 0 24px 0;
    font: 800 64px/70px Geometria, sans-serif;
    color: #222;
    text-align: left;
}
.about-description {
    font: 500 24px/30px Geometria, sans-serif;
    color: #222;
    text-align: left;
}
.video-section .video-description {
    max-width: 454px;
    margin-bottom: 24px;
    font: 500 18px/23px Geometria, sans-serif;
    color: #222;
    text-align: left;
}
.buttons-container { display: flex; gap: 20px; }

.watch-video-button {
    display: flex;
    position: relative;
    align-items: center;
    justify-content: center;
    width: 263px;
    height: 60px;
    padding: 16px 0 14px;
    background: transparent;
    border: 1px solid #9F0A2A;
    border-radius: 100px;
    cursor: pointer;
    transition: background .3s ease, color .3s ease;
}
.watch-video-text {
    font: 700 24px/30px Geometria, sans-serif;
    color: #222;
    background: transparent;
    white-space: nowrap;
    border: none;
    padding: 0;
    text-align: center;
    transition: color .3s ease;
}
.watch-video-button:hover {
    background: #9F0A2A;
    border-color: #9F0A2A;
}
.watch-video-button:hover .watch-video-text {
    color: #fff;
    text-decoration: none;
}
.about-start-button {
    display: flex;
    position: relative;
    align-items: center;
    justify-content: flex-start;
    width: 264px;
    height: 60px;
    padding-left: 78px;
    background: #9f0a2a;
    border-radius: 100px;
    cursor: pointer;
    transition: background .3s ease, border .3s ease;
    border: none;
}
.about-start-button::before {
    content: "";
    position: absolute;
    left: 4px;
    top: 50%;
    width: 48px;
    height: 48px;
    transform: translateY(-50%);
    background: url('../images/arrow-red.svg') center/contain no-repeat;
    transition: background-image .3s ease;
}
.about-start-text {
    font: 700 24px/30px Geometria, sans-serif;
    color: #fff;
    white-space: nowrap;
    background: transparent;
    border: none;
    padding: 0;
    transition: color .3s ease;
}
.about-start-button:hover {
    background: #fff;
    border: 1px solid #9F0A2A;
}
.about-start-button:hover .about-start-text {
    color: #9F0A2A;
    text-decoration: none;
}
.about-start-button:hover::before {
    background-image: url('../images/arrow-white.svg');
}
.image-card {
    position: relative;
    width: auto;
    height: 790px;
    border-radius: 32px;
    overflow: hidden;
}
.image-card-background {
    position: absolute;
    width: 972px;
    height: 517px;
    top: 273px;
    background: radial-gradient(86.02% 138.1% at 93.73% 5.8%, rgba(255,255,255,.5) 0%, rgba(255,255,255,0) 100%), #9F0A2A;
    border-radius: 32px;
    z-index: 1;
}
.image-card-img {
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    width: auto;
    border-radius: 32px;
    z-index: 2;
    object-fit: cover;
}
.image-card::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 972px;
    height: 790px;
    background: linear-gradient(180deg, rgba(0,0,0,0) 79.11%, rgba(0,0,0,0.2) 100%);
    border-radius: 32px;
    pointer-events: none;
    z-index: 3;
}
.quote-card {
    position: absolute;
    width: 506px;
    min-height: 247px;
    left: 24px;
    top: 519px;
    padding: 24px 32px;
    background: rgba(255,255,255,.2);
    border-radius: 24px;
    backdrop-filter: blur(10px);
    z-index: 4;
    display: flex;
    flex-direction: column;
    gap: 16px;
    color: #fff;
}
.quote-text {
    font: 700 32px/40px Geometria, sans-serif;
    color: #fff;
    text-align: left;
    margin: 0;
}
.quote-author {
    font: 500 18px/23px Geometria, sans-serif;
    color: #fff;
    margin: 0;
}
/* Анимация - начальные состояния */
.hero-text-container,
.video-section,
.image-card {
    opacity: 0;
    transition: transform 0.8s ease-out, opacity 0.8s ease-out;
}

.hero-text-container.hidden-left,
.video-section.hidden-left {
    transform: translateX(-80px);
}

.image-card.hidden-right {
    transform: translateX(80px);
}

/* Анимация - после появления */
.hero-text-container.visible,
.video-section.visible,
.image-card.visible {
    opacity: 1;
    transform: translateX(0);
}

@media (max-width: 1710px) {
    .about-section {
        padding: 32px 0 125px;
    }
    .about-layout {
        grid-template-columns: 38.30% 57.74%;
        gap: 3.96%;
    }
    .hero-text-container {
        max-width: 406px;
    }
    .image-card {
        width: 612px;
        height: 497px;
        border-radius: 20px;
    }
    .about-title {
        max-width: 343px;
        padding: 67px 0 16px 0;
        font-size: 40px;
        line-height: 44px;
    }
    .about-description {
        font-size: 16px;
        line-height: 20px;
    }
    .video-section .video-description {
        max-width: 100%;
        font-size: 14px;
        line-height: 18px;
        margin: 0 0 16px 0;
    }
    .buttons-container {
        gap: 14px;
    }
    .watch-video-button,
    .about-start-button {
        width: 160px;
        height: 38px;
    }
    .about-start-button {
        padding-left: 50px;
    }
    .watch-video-text,
    .about-start-text {
        font-size: 16px;
        line-height: 20px;
    }
    .about-start-button::before {
        width: 30px;
        height: 30px;
    }
    .image-card-background {
        width: 612px;
        height: 326px;
        border-radius: 20px;
        top: 171px;
    }
    .image-card-img {
        border-radius: 20px;
    }
    .image-card::after {
        border-radius: 20px;
    }
    .quote-card {
        width: 314px;
        min-height: auto;
        left: 12px;
        top: 322px;
        border-radius: 20px;
        padding: 16px;
        backdrop-filter: blur(6.30952px);
    }
    .quote-text {
        font-size: 20px;
        line-height: 25px;
    }
    .quote-author {
        font-size: 12px;
        line-height: 15px;
    }
}
@media (max-width: 1090px) {
    .about-section {
        padding: 0 0 40px 0;
    }
    .about-content-wrapper {
        max-width: 100%;
        padding: 100px 0 0 0;
    }
    .about-layout {
        flex-direction: column;
        align-items: center;
        gap: 0;
        display: flex;
        width: 100%;
    }
    .hero-text-container {
        order: 1;
        align-self: center;
    }
    .image-card {
        order: 2;
        align-self: center;
    }
    .image-card-img {
        margin: 0 auto;
    }
    .video-section {
        order: 3;
        align-self: center;
    }
    .hero-text-container {
        margin: 0;
    }
    .about-title {
        max-width: 79%;
        padding: 0 0 16px 0;
        font-size: 32px;
        line-height: 35px;
    }
    .about-description {
        font-size: 16px;
        line-height: 20px;
        margin: 0;
    }
    span.about-description.about-description-bottom {
        display: block;
        width: 245px;
    }
    .about-start-button::before {
        width: 48px;
        height: 48px;
    }
    .image-card {
        width: calc(100% + 30px);
        height: 364px;
        border-radius: 0;
        margin: -50px -15px 0 -15px;
    }
    .image-card::after {
        border-radius: 0;
        width: 100%;
    }
    .image-card-background {
        width: 100%;
        height: 233px;
        top: 131px;
        border-radius: 0;
    }
    .image-card-img {
        border-radius: 0;
        left: 74px;
        right: 0;
        width: calc(100% - 74px);
        object-fit: contain;
        object-position: bottom;
    }
    .quote-card {
        width: 248px;
        min-height: 159px;
        left: 0;
        top: 159px;
        padding: 24px 15px;
        background: none;
        border-radius: 0;
        backdrop-filter: none;
    }
    .quote-text {
        width: 248px;
        font-size: 20px;
        line-height: 25px;
    }
    .quote-author {
        font-size: 14px;
        line-height: 18px;
    }
    .video-section .video-description {
        max-width: 100%;
        font-size: 14px;
        line-height: 18px;
        margin: 24px 0 16px 0;
    }
    .buttons-container {
        flex-direction: column;
        align-items: center;
        gap: 8px;
        width: 100%;
    }
    .watch-video-button,
    .about-start-button {
        width: 345px;
        height: 56px;
    }
    .watch-video-text,
    .about-start-text {
        font-size: 20px;
        line-height: 25px;
        white-space: normal;
        text-align: center;
    }
    .about-start-button {
        justify-content: center;
        padding-left: 0;
    }
}
@media (max-width: 600px) {
    .image-card-img {
        object-fit: cover;
    }
}
@media (max-width: 320px) {
    .watch-video-button,
    .about-start-button {
        width: 100%;
    }
    span.about-description.about-description-bottom {
        width: 232px;
    }
    .header.opened .mobile-menu-contacts {
        display: none;
    }

}

/* PLANS */
.plans-section {
    display: flex;
    flex-direction: column;
    padding: 100px 0 80px 0;
    background: #FFFFFF;
}
.plans-header {
    display: flex;
    flex-direction: column;
    max-width: 831px;
    align-self: center;
    margin: 0 auto 80px;
}
.plans-title {
    margin: 0 0 24px 0;
    font: 800 64px/70px Geometria, sans-serif;
    color: #222222;
    text-align: center;
}
.plans-subtitle {
    margin: 0;
    font: 500 24px/30px Geometria, sans-serif;
    color: #222222;
    text-align: center;
}
.plans-grid {
    display: flex;
    gap: 20px;
    margin-bottom: 48px;
    justify-content: center;
}
.plan-card {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 547px;
    padding: 32px;
    background: #FFFFFF;
    border-radius: 32px;
    filter: drop-shadow(0px 2px 23px rgba(0, 0, 0, 0.08));
    border: 1px solid transparent;
    transition: border 0.3s ease;
}
.plan-card:hover {
    border: 1px solid #9F0A2A;
}
.plan-badge {
    position: absolute;
    top: 32px;
    right: 32px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 24px;
    background: #9f0a2a;
    border-radius: 100px;
    height: 47px;
    width: auto;
}
.plan-check-icon img {
    width: 37px;
    height: 37px;
}
.badge-text {
    position: static;
    font: 500 18px/23px Geometria, sans-serif;
    color: #FFFFFF;
    white-space: nowrap;
}
.plan-header {
    display: flex;
    flex-direction: column;
    margin-bottom: 24px;
}
.plan-name {
    margin: 0;
    font: 800 32px/40px Geometria, sans-serif;
    color: #222222;
    text-align: left;
}
.plan-processing-time {
    margin: 0;
    font: 300 18px/23px Geometria, sans-serif;
    color: #222222;
}
.plan-description {
    margin: 0;
    font: 500 18px/23px Geometria, sans-serif;
    color: #222222;
    text-align: left;
}
.plan-price {
    margin: 32px 0 0 0;
    font: 500 40px/50px Geometria, sans-serif;
    color: #222222;
    text-align: left;
    font-feature-settings: 'pnum' on, 'lnum' on;
}
.plan-price-note {
    margin: 0;
    font: 300 18px/23px Geometria, sans-serif;
    color: #222222;
}
.plan-features {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 32px;
}
.plan-feature-item {
    display: flex;
    gap: 16px;
}
.feature-text ul {
    display: flex;
    flex-direction: column;
    list-style: none;
    padding-left: 0;
    margin: 32px 0 0 0;
    grid-gap: 8px;
}
.feature-text li {
    position: relative;
    padding-left: 40px;
    font: 300 18px/23px Geometria, sans-serif;
    color: #222222;
    height: 28px;
}
.feature-text li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 28px;
    height: 28px;
    background: url('../images/check-mark.svg') no-repeat center;
    background-size: contain;
    transform: translateY(-50%);
}
.plan-button {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 6px 24px 4px;
    border-radius: 24px;
    width: 483px;
    height: 77px;
    background: #9F0A2A;
    font: 700 32px/40px Geometria, sans-serif;
    color: #FFFFFF;
    transition: background 0.3s ease, color 0.3s ease, border 0.3s ease;
}
.plan-button:hover {
    background: transparent;
    color: #222222;
    border: 1px solid #9F0A2A;
    text-decoration: none;
}
.plans-disclaimer {
    font: 300 18px/23px Geometria, sans-serif;
    color: #222222;
}
.disclaimer-text {
    margin: 0 0 8px 0;
}
.disclaimer-text:last-child {
    margin: 0;
}

/* Анимация */
.plan-card {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.plan-card.visible {
    opacity: 1;
    transform: translateY(0);
}
.plans-header,
.plans-disclaimer {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.plans-header.visible,
.plans-disclaimer.visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 1710px) {
    .plans-section {
        padding: 25px 0 0 0;
    }
    .plans-header {
        max-width: 700px;
        margin-bottom: 36px;
        text-align: center;
    }
    .plans-title {
        font-size: 40px;
        line-height: 44px;
        margin-bottom: 16px;
    }
    .plans-subtitle {
        font-size: 16px;
        line-height: 20px;
    }
    .plans-grid {
        gap: 16px;
        margin-bottom: 16px;
    }
    .plan-card {
        width: 100%;
        max-width: 342px;
        padding: 20px 16px;
        box-shadow: 0px 1.26px 12.62px 1.89px #00000014;
    }
    .plan-header {
        margin-bottom: 16px;
    }
    .plan-name {
        font-size: 20px;
        line-height: 25px;
    }
    .plan-processing-time,
    .plan-price-note {
        font-size: 12px;
        line-height: 15px;
    }
    .plan-description {
        font-size: 14px;
        line-height: 18px;
        height: 54px;
    }
    .plan-badge {
        top: 20px;
        right: 16px;
        padding: 4px 16px;
        height: 31px;
        gap: 6px;
        border-radius: 63.0952px;
    }
    .plan-check-icon img {
        width: 24px;
        height: 24px;
    }
    .badge-text {
        font-size: 12px;
        line-height: 15px;
    }
    .plan-price {
        font-size: 24px;
        line-height: 30px;
        margin-top: 16px;
    }
    .plan-features {
        gap: 6px;
        margin-bottom: 16px;
    }
    .feature-text ul {
        margin-top: 16px;
        grid-gap: 6px;
    }
    .feature-text li {
        font-size: 12px;
        line-height: 15px;
        padding-left: 25.24px;
        height: 17.67px;
    }
    .feature-text li::before {
        width: 17.67px;
        height: 17.67px;
    }
    .plan-button {
        width: 310px;
        height: 50px;
        font-size: 20px;
        line-height: 25px;
        border-radius: 12px;
    }
    .plans-disclaimer {
        font-size: 12px;
        line-height: 15px;
    }
}

@media (max-width: 1090px) {
    .plans-section {
        padding: 40px 0 40px;
    }
    .plans-header {
        max-width: 100%;
        margin: 0 0 42px 0;
    }
    .plans-title {
        font-size: 32px;
        line-height: 35px;
        margin-bottom: 16px;
    }
    .plans-subtitle {
        font-size: 16px;
        line-height: 20px;
    }
    .plans-grid {
        flex-direction: column;
        align-items: center;
        gap: 16px;
        max-width: 100%;
        margin-bottom: 20px;
    }
    .plan-card {
        width: 100%;
        max-width: 100%;
        padding: 24px 16px;
        border-radius: 16px;
        border: 1px solid #9F0A2A;
    }
    .plan-badge {
        top: 24px;
        right: 16px;
        padding: 6px 12px 4px 12px;
        height: 34px;
    }
    .badge-text {
        font-size: 12px;
        line-height: 15px;
    }
    .plan-check-icon img {
        width: 24px;
        height: 24px;
    }
    .plan-header {
        width: 179px;
        margin: 0;
    }
    .plan-name {
        font-size: 24px;
        line-height: 30px;
        padding-bottom: 4px;
    }
    .plan-processing-time {
        font-size: 16px;
        line-height: 16px;
    }
    .plan-description {
        font-size: 16px;
        line-height: 20px;
        margin: 16px 0 0 0;
        height: auto;
    }
    .plan-price {
        margin-top: 16px;
        font-size: 40px;
        line-height: 50px;
    }
    .plan-price-note {
        font-size: 16px;
        line-height: 20px;
    }
    .feature-text ul {
        margin-top: 32px;
        grid-gap: 4px;
    }
    .feature-text li {
        font-size: 16px;
        line-height: 20px;
        min-height: 28px;
        height: auto;
        padding-left: 40px;
    }
    .feature-text li::before {
        width: 28px;
        height: 28px;
    }
    .plan-features {
        margin-bottom: 32px;
    }
    .plan-button {
        width: 313px;
        height: 55px;
        font-size: 20px;
        line-height: 25px;
        border-radius: 12px;
        padding: 16px 24px 14px;
    }
    .plans-disclaimer {
        font-size: 12px;
        line-height: 15px;
    }
    .disclaimer-text {
        margin: 0 0 7px 0;
    }
}
@media (max-width: 480px) {
    .plan-button {
        width: 100%;
    }
}

/* STEPS */
.steps-section {
    padding: 80px 0 200px 0;
    background: #FFFFFF;
}
.steps-section .container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    gap: 60px;
}
.steps-title {
    text-align: left;
    margin: 0;
    width: 40%;
    font: 800 64px/70px Geometria, sans-serif;
    color: #222222;
    height: auto;
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.steps-title.visible {
    opacity: 1;
    transform: translateX(0);
}
.steps-list {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    width: 60%;
}
.step-card {
    display: flex;
    flex-direction: row;
    gap: 20px;
    padding: 20px 20px 20px 32px;
    align-items: center;
    justify-content: flex-start;
    align-self: stretch;
    width: 100%;
    height: 332px;
    background: #FFFFFF;
    filter: drop-shadow(0px 2px 23px rgba(0, 0, 0, 0.08));
    border-radius: 32px;
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.step-card.visible {
    opacity: 1;
    transform: translateX(0);
}
.step-content {
    display: flex;
    flex-direction: column;
    width: 510px;
    align-items: flex-start;
    height: 100%;
}
.step-header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 24px;
}
.step-number {
    margin: 20px 0 0 0;
    font: 800 32px/40px Geometria, sans-serif;
    color: #9F0A2A;
}
.step-title {
    margin: 0;
    font: 800 32px/40px Geometria, sans-serif;
    color: #222222;
    white-space: pre-wrap;
}
.step-description {
    align-self: flex-start;
    margin-top: auto;
    font: 500 24px/30px Geometria, sans-serif;
    color: #222222;
    text-align: left;
}
.step-image {
    display: block;
    width: 390px;
    height: 292px;
    border-radius: 12px;
    object-fit: cover;
}

/* Анимация */
.steps-title {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.steps-title.visible {
    opacity: 1;
    transform: translateX(0);
}
.step-card {
    opacity: 0;
    transform: translateX(50px); /* сдвиг вправо */
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.step-card.visible {
    opacity: 1;
    transform: translateX(0);
}

@media (max-width: 1710px) {
    .steps-section {
        padding: 150px 0 150px 0;
        gap: 16px;
    }
    .steps-title {
        width: 100%;
        height: auto;
        font-size: 40px;
        line-height: 44px;
        margin-bottom: 40px;
    }
    .steps-list {
        gap: 16px;
        width: 100%;
    }
    .step-card {
        width: 612px;
        height: 208px;
        padding: 12px 20px;
        gap: 14px;
    }
    .step-content {
        width: 100%;
    }
    .step-number {
        margin: 12px 0 0 0;
        font-size: 20px;
        line-height: 25px;
    }
    .step-title {
        font-size: 20px;
        line-height: 25px;
    }
    .step-description {
        font-size: 16px;
        line-height: 20px;
    }
    .step-image {
        width: 243px;
        height: 184px;
        border-radius: 7.57143px;
    }
}

@media (max-width: 1090px) {
    .steps-section {
        padding: 40px 0 80px;
    }
    .steps-section .container {
        flex-direction: column;
        gap: 0;
    }
    .steps-title {
        width: 100%;
        height: auto;
        font-size: 32px;
        line-height: 35px;
        margin-bottom: 24px;
    }
    .steps-list {
        align-items: center;
        width: 100%;
        gap: 12px;
    }
    .step-card {
        flex-direction: column;
        width: 100%;
        height: auto;
        padding: 20px 16px;
    }
    .step-content {
        width: 100%;
    }
    .step-header {
        margin-bottom: 20px;
    }
    .step-title {
        font-size: 24px;
        line-height: 30px;
    }
    .step-description {
        font-size: 16px;
        line-height: 20px;
        margin: 0;
    }
    .step-image {
        display: none;
    }
}

/* MISSION */
.mission-section {
    display: flex;
    flex-direction: column;
    background: url('../images/pattern.svg') no-repeat #9f0a2a;
    background-position: center bottom;
    overflow: hidden;
}
.mission-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 100px;
}
.mission-title {
    margin: 0;
    font: 800 64px/70px Geometria, sans-serif;
    color: #FFFFFF;
}
.mission-content {
    display: flex;
    flex-direction: column;
}
.mission-description {
    margin: 24px 0 0 0;
    align-self: center;
    max-width: 1113px;
    font: 500 24px/30px Geometria, sans-serif;
    color: #FFFFFF;
    text-align: center;
}
.stats-layout {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    max-width: 1920px;
    height: auto;
    padding: 150px 0 60px 0;
}
.stats-text-column {
    display: flex;
    flex: 1 1 630px;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
}
.stats-description {
    margin: 0;
    font: 500 24px/30px Geometria, sans-serif;
    color: #FFFFFF;
    text-align: left;
}
.stats-description .stats-number {
    display: block;
    font: 800 100px/110px Geometria, sans-serif;
    color: #FFFFFF;
}
.quiz-column {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: flex-start;
    margin-left: 78px;
}
.quiz-image {
    position: absolute;
    top: -131px;
    right: 0;
    width: 755px;
    height: 536px;
    border: none;
    object-fit: cover;
    z-index: 5;
}
.quiz-card {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 40px 32px;
    width: 972px;
    height: 344px;
    background: linear-gradient(84.99deg, rgba(255, 255, 255, 0.2) 24.7%, rgba(255, 255, 255, 0.14) 105.02%);
    border-radius: 32px;
    backdrop-filter: blur(10px);
    z-index: 3;
}
.quiz-title {
    margin: 0;
    font: 800 32px/40px Geometria, sans-serif;
    color: #FFFFFF;
}
.quiz-description {
    margin-top: 24px;
    font: 500 18px/23px Geometria, sans-serif;
    color: #FFFFFF;
    text-align: left;
    width: 488px;
    height: 92px;
}
.quiz-button {
    display: flex;
    position: relative;
    align-items: center;
    justify-content: flex-start;
    margin-top: auto;
    width: 244px;
    height: 60px;
    padding-left: 78px;
    box-sizing: border-box;
    background: #FFFFFF;
    border-radius: 100px;
    overflow: hidden;
    z-index: 2;
    gap: 10px;
    cursor: pointer;
    border: none;
    color: #9F0A2A;
    font: 700 24px/30px Geometria, sans-serif;
    white-space: nowrap;
    transition: background 0.3s ease, color 0.3s ease, border 0.3s ease;
}
.quiz-button::before {
    content: "";
    position: absolute;
    left: 4px;
    top: 50%;
    width: 48px;
    height: 48px;
    transform: translateY(-50%);
    background-image: url('../images/arrow-white.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    transition: background-image 0.3s ease;
}
.quiz-button:hover {
    background: #9F0A2A;
    border: 1px solid #9F0A2A;
    color: #FFFFFF;
    text-decoration: none;
}
.quiz-button:hover::before {
    background-image: url('../images/arrow-red.svg');
}

/* Анимация */
.mission-hidden-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.mission-hidden-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.mission-hidden-left.visible,
.mission-hidden-right.visible {
    opacity: 1;
    transform: translateX(0);
}

@media (max-width: 1710px) {
    .mission-section {
        background-position: center 105px;
    }
    .mission-header {
        padding-top: 40px;
    }
    .mission-title {
        font-size: 40px;
        line-height: 44px;
        text-align: center;
    }
    .mission-description {
        font-size: 14px;
        line-height: 18px;
        margin: 16px 0 0 0;
        width: 615px;
    }
    .stats-layout {
        max-width: 1200px;
        gap: 141px;
        padding: 50px 0 24px 0;
    }
    .stats-text-column {
        width: 100%;
        flex: 1 1 326px;
    }
    .stats-description {
        font-size: 14px;
        line-height: 18px;
    }
    .stats-description .stats-number {
        font-size: 60px;
        line-height: 66px;
    }
    .quiz-column {
        margin-left: 0;
        width: 100%;
    }
    .quiz-image {
        width: 451.61px;
        height: 328px;
        top: -59px;
    }
    .quiz-card {
        width: 612px;
        height: 245px;
        padding: 24px 24px 32px 24px;
    }
    .quiz-title {
        font-size: 20px;
        line-height: 25px;
    }
    .quiz-description {
        font-size: 14px;
        line-height: 18px;
        width: 345px;
        height: auto;
        margin: 12px 0 42px 0;
    }
    .quiz-button {
        padding-left: 50px;
        width: 160px;
        height: 38px;
        font-size: 16px;
        line-height: 20px;
    }
    .quiz-button::before {
        width: 30px;
        height: 30px;
        left: 4px;
    }
}
@media (max-width: 1090px) {
    .mission-section {
        background-position: center -430px;
    }
    .mission-header {
        padding: 48px 15px 0 16px;
        align-items: center;
    }
    .mission-title {
        font-size: 32px;
        line-height: 35px;
        text-align: center;
        max-width: 100%;
    }
    .mission-content {
        padding: 0;
    }
    .mission-description {
        font-size: 16px;
        line-height: 20px;
        max-width: 100%;
        margin-top: 16px;
        padding: 0 15px;
        text-align: center;
    }
    .stats-layout {
        flex-direction: column;
        padding: 42px 0 111px 0;
        max-width: 100%;
        gap: 0px;
    }
    .stats-text-column {
        flex: none;
        width: 100%;
        margin-bottom: 44px;
        justify-content: center;
        align-items: center;
    }
    .stats-description {
        font-size: 16px;
        line-height: 20px;
        text-align: center;
    }
    .stats-description .stats-number {
        font-size: 48px;
        line-height: 53px;
        padding: 8px 0;
    }
    .quiz-column {
        position: static;
        margin: 0 auto;
        width: 345px;
        align-items: initial;
    }
    .quiz-image {
        top: 97px;
        left: -40px;
        width: 392px;
        max-width: unset;
        height: 290px;
        object-fit:contain;
        object-position:bottom;
    }
    .quiz-card {
        width: 100%;
        height: auto;
        padding: 24px 0 24px 16px;
        border-radius: 16px;
        text-align: left;
    }
    .quiz-content {
        padding-bottom: 40px;
    }
    .quiz-title {
        font-size: 24px;
        line-height: 30px;
    }
    .quiz-description {
        font-size: 14px;
        line-height: 18px;
        width: 291px;
        height: auto;
        margin: 12px 0 0 0;
    }
    .quiz-button {
        width: 221px;
        height: 56px;
        padding-left: 52px;
        font-size: 20px;
        line-height: 25px;
        justify-content: center;
        text-align: center;
        box-shadow: 0px 4px 8px 1px rgba(0, 0, 0, 0.08);
        z-index: 5;
    }
    .quiz-button::before {
        width: 48px;
        height: 48px;
    }
}

/* FAQ */
.faq-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 74px;
}
.faq-section {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    width: 100%;
    padding: 120px 0 200px 0;
}
.faq-header-column {
    align-self: flex-start;
}
.faq-title {
    font: 800 64px/70px Geometria, sans-serif;
    color: #222222;
    margin: 0 0 12px 0;
}
.faq-subtitle {
    max-width: 407px;
    margin: 0px;
    font: 500 24px/30px Geometria, sans-serif;
    color: #222222;
    text-align: left;
}
.faq-content-column {
    display: flex;
    flex-direction: column;
    align-self: flex-start;
    padding-left: 0;
}
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
    width: 1113px;
    padding-bottom: 20px;
}
.faq-item {
    display: flex;
    flex-direction: column;
    padding: 32px;
    background: #FFFFFF;
    border-radius: 32px;
    box-shadow: 0 2px 20px 3px rgba(0, 0, 0, 0.08);
}
.faq-question-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}
.faq-question {
    margin: 0;
    font: 800 32px/40px Geometria, sans-serif;
    color: #222222;
}
.faq-icon-container {
    width: 24px;
    height: 24px;
    overflow: hidden;
}

.faq-item .panel {
    position: relative;
}

.faq-item.faq-item-active .faq-answer {
    padding-top: 64px;
}

.faq-item .panel::before {
    content:'';
    width: 100%;
    height: 1px;

    position: absolute;
    top:32px;
    transition: all 0.6s ease;
}

.faq-item.faq-item-active .panel::before {
    background: rgba(159, 10, 42, 0.2);
}

.faq-answer {
    margin: 0;
    font: 500 24px/30px Geometria, sans-serif;
    color: #222222;
    text-align: left;
}

/* Анимация */
.faq-hidden {
    opacity: 0;
    transform: translateY(-20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* Аккордеон */
.faq-item {
    width: 100%;
    transition: max-height 0.3s ease;
}
.panel.open {
    padding-top: 32px;
    max-height: 1000px;
}
.faq-divider {
    width: 100%;
    border-top: 1px solid #9f0a2a;
    transition: opacity 0.3s ease;
}
.faq-item.open .faq-divider {
    opacity: 0.2;
}

/* Аккордеон */
/* В закрытом состоянии */
.faq-item {
    width: 100%;
}

/* В открытом состоянии
.faq-item.open {
    height: auto;
}*/

/* Разделитель виден только в открытом состоянии */
.faq-divider {
    width: 100%;
    border-top: 1px solid #9f0a2a;
    transition: opacity 0.3s ease;
}
.faq-item.open .faq-divider {
    opacity: 0.2;
}

/* Вращение иконки */
.faq-icon-container img.faq-icon-rotated {
    transform: rotate(180deg);
    transition: transform 0.3s ease;
}
@media (max-width: 1710px) {
    .faq-container {
        margin: 74px 0 130px 0;
    }
    .faq-section {
        padding: 76px 0 0 0;
        gap: 102px;
    }
    .faq-header-column {
        max-width: 255px;
    }
    .faq-title {
        font-size: 40px;
        line-height: 44px;
        margin: 0 0 8px 0;
    }
    .faq-subtitle {
        font-size: 16px;
        line-height: 20px;
    }
    .faq-content-column {
        width: 100%;
        max-width: 701px;
    }
    .faq-list {
        width: 701px;
        gap: 12px;
    }
    .faq-item {
        padding: 20px;
        border-radius: 24px;
    }
    .faq-item.faq-item-active .faq-answer {
        padding-top: 40px;
    }
    .faq-item .panel::before {
        top: 20px;
    }
    .faq-question {
        font-size: 20px;
        line-height: 25px;
    }
    .faq-answer {
        font-size: 16px;
        line-height: 20px;
    }
    .faq-divider {
        width: 100%;
        max-width: none;
    }
}
@media (max-width: 1090px) {
    .faq-container {
        margin: 0;
    }
    .faq-section {
        flex-direction: column;
        padding: 80px 0;
        gap: 0;
    }
    .faq-header-column {
        margin-bottom: 24px;
        width: 100%;
        max-width: 100%;
    }
    .faq-title {
        font-size: 32px;
        line-height: 35px;
        margin-bottom: 16px;
    }
    .faq-subtitle {
        max-width: 100%;
        font-size: 16px;
        line-height: 20px;
    }
    .faq-content-column {
        width: 100%;
        max-width: 100%;
    }
    .faq-list {
        width: 100%;
        gap: 20px;
    }
    .panel.open {
        padding-top: 0;
        max-height: 260px;
    }
    .faq-item {
        padding: 24px 16px;
        border-radius: 16px;
    }
    .faq-item.faq-item-active .faq-answer {
        padding-top: 48px;
    }
    .faq-item .panel::before {
        top: 24px;
    }
    .faq-question-header {
        gap: 16px;
    }
    .faq-question {
        font-size: 24px;
        line-height: 30px;
        text-align: left;
    }
    .faq-divider {
        width: 100%;
        max-width: none;
    }
    .faq-answer {
        font-size: 16px;
        line-height: 20px;
    }
}

/* FOOTER */
footer .footer-section {
    display: flex;
    flex-direction: column;
    background: #222222;
}
footer .footer-content-wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 100px 0 0 0;
}
footer .footer-title {
    margin: 0;
    text-align: left;
    font: 800 64px/70px Geometria, sans-serif;
    color: #FFFFFF;
}
footer .footer-contact-grid {
    display: flex;
    width: 100%;
    gap: 100px;
    margin: 80px 0 0 0;
}
footer .contact-info-column,
footer .address-column,
footer .navigation-column {
    flex: 1 1 0;
    max-width: 100%;
}
footer .contact-item,
footer .contact-email-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}
footer .address-container {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 12px;
    margin-bottom: 22px;
}
footer .contact-icon {
    width: 40px;
    height: 40px;
}
footer .contact-text,
footer .address-text {
    margin: 0;
    font: 500 24px/30px Geometria, sans-serif;
    color: #FFFFFF;
}
footer .contact-email-link {
    font: 500 24px/30px Geometria, sans-serif;
    color: #FFFFFF;
    text-decoration-line: underline;
    text-underline-offset: 7px;
}
footer .map-link {
    padding-left: 52px;
    font: 300 18px/23px Geometria, sans-serif;
    color: #FFFFFF;
    text-decoration-line: underline;
    text-underline-offset: 6px;
}
footer .footer-navigation {
    display: flex;
    flex-direction: column;
    gap: 16px;
    font: 500 24px/30px Geometria, sans-serif;
    color: #FFFFFF;
}
footer .footer-navigation li:not(:last-child) {
    padding-bottom: 16px;
}
footer .footer-navigation ul li a:hover,
footer .footer-navigation ul li a:focus {
    color: #9f0a2a;
}
footer .footer-logo-section {
    width: 100%;
    padding: 110px 0 100px 0;
}
footer .logo-container {
    display: flex;
    margin-bottom: 80px;
}
footer .footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    width: 100%;
}
footer .copyright-text {
    margin: 0;
    font: 300 18px/23px Geometria, sans-serif;
    color: #FFFFFF;
}
footer .designer-logo {
    width: 73px;
    height: 12px;
    overflow: hidden;
}
@media (max-width: 1710px) {
    footer .footer-content-wrapper {
        padding: 64px 0 0 0;
    }
    footer .footer-title {
        font-size: 40px;
        line-height: 44px;
    }
    footer .footer-contact-grid {
        gap: 120px;
        margin: 48px 0 0 0;
    }
    footer .contact-info-column,
    footer .address-column,
    footer .navigation-column {
        width: 100%;
    }
    footer .contact-item,
    footer .contact-email-item {
        gap: 8px;
        margin-bottom: 6px;
    }
    footer .contact-icon {
        width: 26px;
        height: 26px;
    }
    footer .contact-text,
    footer .address-text.address-text,
    footer .contact-email-link {
        font-size: 15px;
        line-height: 19px;
    }
    footer .map-link {
        padding-left: 34px;
        font-size: 11.25px;
        line-height: 14px;
    }
    footer .footer-navigation {
        font-size: 15px;
        line-height: 19px;
    }
    footer .footer-navigation li:not(:last-child) {
    padding-bottom: 10px;
    }
    footer .footer-logo-section {
        padding: 177px 0 52px 0;
    }
    footer .logo-container {
        margin-bottom: 44px;
    }
    footer .logo-container img {
        max-width: 100%;
        height: auto;
        display: block;
    }
    footer .copyright-text {
        font-size: 12px;
        line-height: 15px;
    }
    footer .designer-logo {
        width: 46px;
        height: 8px;
    }
}

@media (max-width: 1090px) {
    footer .footer-content-wrapper {
        padding: 60px 0 48px 0;
    }
    footer .footer-title {
        font-size: 32px;
        line-height: 35px;
        text-align: center;
    }
    footer .footer-contact-grid {
        flex-direction: column;
        gap: 16px;
        margin-top: 40px;
        width: 100%;
    }
    footer .contact-info-column,
    footer .address-column,
    footer .navigation-column {
        max-width: 100%;
        width: 100%;
    }
    footer .contact-item,
    footer .contact-email-item,
    footer .address-container {
        font-size: 16px;
        line-height: 20px;
        gap: 8px;
        margin-bottom: 16px;
        padding-right: 10px;
    }
    footer .contact-icon {
        width: 24px;
        height: 24px;
    }
    footer .contact-text,
    footer .address-text,
    footer .contact-email-link,
    footer .map-link {
        font-size: 16px;
        line-height: 20px;
    }
    /*footer .map-link {
        padding-left: 47px;
    }*/
    footer .navigation-column {
        margin-top: 48px;
    }
    footer .footer-navigation {
        gap: 12px;
        font-size: 16px;
        line-height: 20px;
    }
    footer .footer-navigation li:not(:last-child) {
        padding-bottom: 12px;
    }
    footer .footer-logo-section {
        padding: 0;
    }
    footer .logo-container {
        margin-bottom: 100px;
    }
    footer .footer-bottom {
        flex-direction: column;
        gap: 12px;
        align-items: flex-start;
        text-align: left;
        margin-bottom: 60px;
    }
    footer .copyright-text {
        font-size: 12px;
        line-height: 15px;
    }
    footer .designer-logo {
        width: 73px;
        height: 12px;
    }
}

/* CONTACT FORM */
.slider-progress {
    width: 100%;
    height: 4px;
    background: #eee;
    border-radius: 4px;
    overflow: hidden;
}
.slider-progress-fill {
    height: 100%;
    background: #9F0A2A;
    transition: width 0.3s ease;
}
.slider-progress-fill.step-1 { width: 20%; }
.slider-progress-fill.step-2 { width: 40%; }
.slider-progress-fill.step-3 { width: 60%; }
.slider-progress-fill.step-4 { width: 80%; }
.slider-progress-fill.step-5 { width: 100%; }

.quiz-main-content {
    display: flex;
    align-items: flex-start;
    padding-top: 252px;
    justify-content: center;
    margin-bottom: 200px;
}
.step-wrapper {
    padding: 100px 0 200px 0;
}
.quiz-form-section {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: flex-start;
    width: 100%;
    margin-top: 100px;
}
.quiz-hero-section {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    width: 100%;
    gap: 88px;
    margin-top: 100px;
}
.q-back-button {
    display: none;
}
.quiz-hero-text-column {
    display: flex;
    flex-direction: column;
    max-width: 688px;
}
.quiz-hero-title {
    width: 100%;
    font: 800 64px/70px Geometria;
    color: #222222;
    text-align: left;
    margin: 0;
    padding-bottom: 24px;
}
.quiz-hero-description {
    margin: 0;
    max-width: 548px;
    font: 500 24px/30px Geometria;
    color: #222222;
    text-align: left;
}
.quiz-form-column {
    display: flex;
    flex-direction: column;
    width: 688px;
    justify-content: center;
    gap: 12px;
}
.quiz-input-card {
    display: flex;
    align-items: center;
    padding: 12px 32px;
    height: 87px;
    background: #FFFFFF;
    border-radius: 16px;
    filter: drop-shadow(0px 2px 23px rgba(0, 0, 0, 0.08));
    transition: all 0.3s ease;
    border: 1px solid transparent;
}
.quiz-input-card:focus-within {
    border: 1px solid #9F0A2A;
    filter: drop-shadow(0px 2px 23px rgba(0, 0, 0, 0.08));
}
.quiz-input-wrapper {
    position: relative;
    width: 100%;
}
.quiz-input-label {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font: 500 24px/30px Geometria;
    color: #222222;
    opacity: 0.3;
    pointer-events: none;
    transition: all 0.3s ease;
}
.quiz-input-field {
    display: block;
    width: 100%;
    padding: 28px 0 0 0;
    font: 500 24px/30px Geometria;
    color: #222222;
    border: none;
    outline: none;
    background: transparent;
}
.quiz-input-field:focus + .quiz-input-label,
.quiz-input-field:not(:placeholder-shown) + .quiz-input-label {
    top: 8px;
    font: 500 20px/25px Geometria;
    color: #222222;
    opacity: 0.3;
}
.quiz-button-continue {
    display: block;
    min-width: 688px;
    height: 86px;
    font: 500 24px/30px Geometria;
    color: #FFFFFF;
    cursor: pointer;
    background: #9f0a2a;
    border: none;
    border-radius: 16px;
    filter: drop-shadow(0px 2px 23px rgba(0, 0, 0, 0.08));
    transition: all 0.3s ease;
}
.quiz-button-continue:hover {
    background: transparent;
    color: #222222;
    border: 1px solid #9F0A2A;
    text-decoration: none;
}
.quiz-back-button {
    display: inline-flex;
    gap: 8px;
    padding: 8px;
    align-items: center;
    justify-content: center;
    width: 143px;
    min-width: 143px;
    height: 41px;
    margin-top: 80px;
    font: 300 20px/25px Geometria;
    color: #222222;
    cursor: pointer;
    background: transparent;
}
.quiz-back-icon-wrapper {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.quiz-secondary-button {
    display: block;
    flex: 0 0 auto;
    align-self: stretch;
    width: 688px;
    min-width: 688px;
    height: 86px;
    cursor: pointer;
    background: transparent;
    border: 1px solid #9f0a2a;
    border-radius: 16px;
    filter: drop-shadow(0px 2px 23px rgba(0, 0, 0, 0.08));
    transition: all 0.3s ease;
    margin-top: 12px;
    font: 500 24px / 30px Geometria;
}
.quiz-secondary-button-text {
    font: 500 24px/30px Geometria;
    color: #222222;
    opacity: 0.7;
    transition: opacity 0.3s ease, color 0.3s ease;
}
.quiz-secondary-button:hover {
    background: #9f0a2a;
    border: 1px solid #9f0a2a;
    color:#fff;
}
.quiz-secondary-button:hover .quiz-secondary-button-text {
    color: #ffffff;
    opacity: 1;
}
.quiz-checkbox-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 2px;
    margin-right: 12px;
}
.quiz-checkbox-wrapper input:checked + img {
    display: block;
    padding: 3px;
}
.quiz-radio-input {
    position: absolute;
    width: 100%;
    height: 100%;
    margin: 0;
    cursor: pointer;
    opacity: 0;
}
.quiz-checkbox-icon {
    display: none;
    width: 24px;
    height: 24px;
    margin-top: -1px;
    margin-left: -1px;
}
.quiz-checkbox-checkmark {
    content: url('../images/checkbox-icon.svg');
}
.quiz-radio-text {
    font: 500 24px/30px Geometria;
    color: #222222;
}
.quiz-button-submit {
    display: block;
    min-width: 688px;
    height: 86px;
    font: 500 24px/30px Geometria;
    color: #FFFFFF;
    cursor: pointer;
    background: #9f0a2a;
    border: none;
    border-radius: 16px;
    filter: drop-shadow(0px 2px 23px rgba(0, 0, 0, 0.08));
    transition: all 0.3s ease;
}
.quiz-button-submit:hover {
    background: transparent;
    color: #222222;
    border: 1px solid #9F0A2A;
    text-decoration: none;
}
.quiz-finish-button {
    display: block;
    min-width: 688px;
    height: 86px;
    margin-top: 64px;
    font: 500 24px/30px Geometria;
    color: #FFFFFF;
    cursor: pointer;
    background: #9f0a2a;
    border: none;
    border-radius: 16px;
    filter: drop-shadow(0px 2px 23px rgba(0, 0, 0, 0.08));
    transition: all 0.3s ease;
}
.quiz-finish-button:hover {
    background: transparent;
    color: #222222;
    border: 1px solid #9F0A2A;
    text-decoration: none;
}
.quiz-form-section:last-of-type .quiz-hero-description {
    max-width: 688px;
}
@media (max-width: 1780px) {
    .quiz-hero-title {
        font-size:40px;
        padding-bottom: 16px;
    }

    .quiz-hero-description {
        font-size:16px;
    }

    .quiz-back-button {
        margin-top: 64px;
    }
}
@media (max-width: 1710px) {
    .quiz-main-content {
        padding-top: 159px;
    }
    .quiz-hero-section {
        gap: 17px;
        margin-top: 64px;
    }
    .quiz-hero-text-column {
        max-width: 431px;

    }
    .quiz-hero-title {
        font-size: 40px;
        line-height: 44px;
        padding-bottom: 16px;
    }
    .quiz-hero-description {
        max-width: 431px;
        font-size: 16px;
        line-height: 20px;
    }
    .quiz-form-column {
        width: 100%;
        max-width: 432px;
        gap: 11px;
    }
    .quiz-input-card {
        padding: 10px 20px;
        height: 61px;
        border-radius: 10px;
    }
    .quiz-button-continue,
    .quiz-secondary-button,
    .quiz-button-submit,
    .quiz-finish-button {
        min-width: 432px;
        width: 100%;
        height: 61px;
        font-size: 15.0698px;
        line-height: 19px;
    }
    .quiz-input-label {
        font-size: 16px;
        line-height: 30px;
    }
    .quiz-input-field:focus + .quiz-input-label,
    .quiz-input-field:not(:placeholder-shown) + .quiz-input-label {
        top: 12px;
        font-size: 12px;
    }
    .quiz-navigation button:not(:last-child) {
        margin-bottom: 12px;
    }
}

@media (max-width: 1090px) {
    .quiz-progress-wrapper {
        display: none;
    }
    .quiz-main-content {
        flex-direction: column;
        padding: 100px 0;
        align-items: flex-start;
        max-width: 375px;
        margin: 0 auto;
    }
    .quiz-back-button {
        order: 1;
    }
    .quiz-hero-title {
        order: 2;
    }
    .quiz-hero-description {
        order: 3;
    }
    .quiz-finish-button {
        order: 4;
    }
    .q-back-button,
    .quiz-back-button {
        display: inline-flex;
        gap: 4px;
        padding: 8px;
        align-items: center;
        justify-content: flex-start;
        text-align: left;
        min-width: 82px;
        max-width: 120px;
        height: 40px;
        margin-top: 0;
        font: 300 16px/20px Geometria;
        color: #222222;
        cursor: pointer;
        background: transparent;
    }
    .quiz-hero-section {
        flex-direction: column;
        gap: 32px;
        width: 100%;
        max-width: 345px;
    }
    .quiz-hero-text-column {
        max-width: 345px;
        margin-bottom: 8px;
    }
    .quiz-hero-title {
        font: 800 32px/35px Geometria;
        padding: 32px 0 16px 0;
    }
    .quiz-hero-description {
        font: 700 16px/20px Geometria;
        max-width: 345px;
    }
    .quiz-form-column {
        width: 100%;
        max-width: 345px;
        gap: 8px;
    }
    .quiz-input-card {
        height: 76px;
        padding: 12px 16px;
        max-width: 345px;
    }
    .quiz-input-label,
    .quiz-input-field {
        font: 500 16px/20px Geometria;
    }
    .quiz-input-field {
        padding: 22px 0 0 0;
    }
    .quiz-input-field:focus + .quiz-input-label,
    .quiz-input-field:not(:placeholder-shown) + .quiz-input-label {
        top: 4px;
        font: 500 14px/18px Geometria;
    }
    .quiz-navigation {
        margin: 0;
    }
    .quiz-navigation button:not(:last-child) {
        margin-bottom: 8px;
    }
    .quiz-button-continue,
    .quiz-button-submit,
    .quiz-finish-button {
        min-width: 345px;
        height: 61px;
        font: 500 20px/25px Geometria;
        background: #9F0A2A;
        filter: drop-shadow(0px 2px 23px rgba(0, 0, 0, 0.08));
        border-radius: 16px;
    }
    .quiz-secondary-button {
        min-width: 345px;
        width: 345px;
        height: 61px;
        border: 1px solid #9f0a2a;
        border-radius: 16px;
        filter: drop-shadow(0px 2px 23px rgba(0, 0, 0, 0.08));
        font: 500 20px/25px Geometria;
        color: #222222;
        opacity: 0.7;
    }
    .quiz-radio-text {
        font: 500 16px/20px Geometria;
    }
    .step-wrapper {
        padding: 32px 0 40px 0;
    }
    .quiz-form-column img {
        display: none;
    }
}

.quiz-container {
    position: relative;
    width: 100%;
}
.quiz-slide {
    display: none;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    width: 100%;
}
.quiz-slide.quiz-slide-active {
    display: block;
    opacity: 1;
}
.quiz-slide.quiz-slide-entering {
    display: block;
    opacity: 0;
}
.quiz-slide.quiz-slide-exiting {
    display: block;
    opacity: 0;
}

/* Дополнительные стили для анимации */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeOut {
    from { opacity: 1; }
    to { opacity: 0; }
}

.quiz-slide-animate-in {
    animation: fadeIn 0.5s ease-in-out;
}
.quiz-slide-animate-out {
    animation: fadeOut 0.5s ease-in-out;
}