@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300..700;1,300..700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@200..800&display=swap');

:root {
    --pink-800: #3D101C;
    --pink-600: #6E2838;
    --pink-400: #8C3A4A;
    --pink-200: #C0808F;
    --pink-100: #F6EAEA;
    --brown-800: #1A1412;
    --brown-600: #2A2220;
    --brown-500: #6B5E58;
    --brown-400: #A1948F;
    --brown-300: #DED9D3;
    --brown-200: #F5F0EB;
    --brown-100: #FCF8F5;

    /* Телефон */
    --beige-300: #DED9D3;
    --beige-200: #F5F0EB;
    --beige-100: #FCF8F5;
    --header-bg: #F6F0EA;
    --hairline: #EDE2DC;
    --track: #F0E4DE;
    --chip-bg: #F3EAE4;
}

html {
    scroll-behavior: smooth;
    overflow: hidden;
}

body {
    position: relative;
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    color: var(--brown-500);
    background: var(--brown-100);
    font-size: 16px;
    font-family: "Manrope", sans-serif;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

#app {
    position: relative;
    height: 100vh;
}

.vue-devtools__panel {
    display: none !important
}

body h1,
body h2 {
    font-family: "Cormorant Garamond", serif;
    /*font-size: 56px;*/

    font-size: 3.5rem;
    line-height: 1.1;
}

body h2 {
    max-width: 100%;
    word-break: break-word;
}

a {
    color: var(--pink-600);
    font-weight: 500;
}

.container {
    width: 100%;
    /*margin: 80px auto;*/

    max-width: none !important;
    padding: 36px 16px;
}
@media (min-width: 1024px) {
    .container {
        padding: 120px 50px;
    }
}

/*@media (min-width: 640px) {*/
/*    .container {*/
/*        max-width: 640px;*/
/*    }*/
/*}*/
/*@media (min-width: 768px) {*/
/*    .container {*/
/*        max-width: 768px;*/
/*    }*/
/*}*/
/*@media (min-width: 1024px) {*/
/*    .container {*/
/*        max-width: 1024px;*/
/*    }*/
/*}*/
/*@media (min-width: 1280px) {*/
/*    .container {*/
/*        max-width: 1280px;*/
/*    }*/
/*}*/
/*@media (min-width: 1536px) {*/
/*    .container {*/
/*        max-width: 1536px;*/
/*    }*/
/*}*/

/* HEADER */

.fade-enter-active,
.fade-leave-active {
    transition: opacity .3s ease;
}
.fade-enter-from,
.fade-leave-to {
    opacity: 0;
}
.slide-enter-active,
.slide-leave-active {
    transition: transform .3s ease, opacity .3s ease;
}
.slide-enter-from,
.slide-leave-to {
    transform: translateX(100%);
    opacity: 0;
}
.slide-enter-to,
.slide-leave-from {
    transform: translateX(0);
    opacity: 1;
}

@media (max-width: 990px) {
    .header-container {
        gap: 0;
    }
    .desktop-nav,
    .desktop-btn {
        display: none;
    }
    .menu-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        padding: 1rem 1.5rem;
        height: 62px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }
    header .logo-block {
        width: 100px;
    }
}
@media (max-width: 576px) {
    .menu-panel {
        max-width: 100%;
    }
}


/* FOOTER */
@media (max-width: 1400px) {
    footer .container {
        padding-top: 3rem !important;
        padding-bottom: 2rem !important;
    }
    footer .footer-menu-wrapper {
        grid-template-columns: repeat(1, minmax(0, 1fr));
    }
    footer .footer-menu-wrapper .footer-menu-logo {
        gap: 30px;
    }
}

@media (max-width: 990px) {
    footer .logo-block {
        width: 200px;
    }
}

.fade-button-enter-active,
.fade-button-leave-active {
    transition: opacity .3s ease, transform .3s ease;
}
.fade-button-enter-from,
.fade-button-leave-to {
    opacity: 0;
    transform: translateY(20px);
}

@media (max-width: 768px) {
    #scroll-up {
        right: 20px;
    }
}

/* HOME */

.slick-vertical .slick-slide {
    border: none;
}
:deep(.first-screen-vertical-slider),
:deep(.first-screen-vertical-slider .slick-list),
:deep(.first-screen-vertical-slider .slick-track),
:deep(.first-screen-vertical-slider .slick-slide),
:deep(.first-screen-vertical-slider .slick-slide > div) {
    height: 100% !important;
}
.first-screen-vertical-slider video {
    touch-action: none !important;
    pointer-events: none !important;
}
:deep(.first-screen-vertical-slider .slick-dots) {
    position: absolute;
    right: 4vw;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2vw;
    z-index: 50;
    list-style: none;
    margin: 0;
    padding: 0;
}
:deep(.first-screen-vertical-slider .slick-dots::before) {
    content: '';
    position: absolute;
    top: .7vw;
    bottom: .7vw;
    width: .07vw;
    background: rgba(255, 255, 255, .2);
    z-index: -1;
}
:deep(.first-screen-vertical-slider .slick-dots li) {
    margin: 0;
    padding: 0;
    width: 1.1vw;
    height: 1.1vw;
    display: flex;
    align-items: center;
    justify-content: center;
}
:deep(.first-screen-vertical-slider .slick-dots li button) {
    font-size: 0;
    display: block;
    width: .55vw;
    height: .55vw;
    cursor: pointer;
    background: transparent;
    border: .07vw solid rgba(255, 255, 255, .6);
    border-radius: 50%;
    transition: all .2s ease-in-out;
    padding: 0;
}
:deep(.first-screen-vertical-slider .slick-dots li:not(.slick-active) button:hover) {
    border-color: var(--brown-300);
    background: rgba(255, 255, 255, .2);
}
:deep(.first-screen-vertical-slider .slick-dots li.slick-active button) {
    width: .9vw;
    height: .9vw;
    background: var(--brown-300);
    border-color: var(--brown-300);
}

@media (min-width: 991px) {
    #first-screen > div:first-child::after {
        content: '';
        position: absolute;
        top: 0;
        left: 100%;
        width: 45vw;
        height: 100%;
        z-index: 5;
        pointer-events: none;
        background: linear-gradient(to right, var(--pink-800) 0%, rgba(110, 40, 56, 0) 100%);
    }
}

@media (max-width: 990px) {
    #first-screen {
        position: relative;
        display: block;
        width: 100%;
        height: 100svh;
        min-height: 100svh;
        overflow: hidden;
    }
    /* Видео / изображения — полноценный фон */
    #first-screen > div:last-child {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        z-index: 1;
    }
    #first-screen .first-screen-vertical-slider {
        width: 100%;
        height: 100%;
    }
    #first-screen .first-screen-vertical-slider .h-screen {
        width: 100%;
        height: 100svh;
    }
    #first-screen .first-screen-vertical-slider video,
    #first-screen .first-screen-vertical-slider img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    /* Затемнение поверх изображения */
    #first-screen:after {
        content: '';
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        z-index: 2;
        pointer-events: none;
        background: linear-gradient(0deg,rgba(110, 40, 56, 1) 0%, rgba(85, 28, 42, 1) 45%, rgba(61, 16, 28, 0) 100%);
    }
    /* Текстовый блок */
    #first-screen > div:first-child {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        padding: 2rem 1.5rem;
        margin: 0;
        z-index: 3;
        display: flex;
        align-items: flex-end;
        justify-content: center;
        background: none;
    }
    /* Контент */
    #first-screen > div:first-child > div:first-child {
        position: relative;
        top: auto;
        left: auto;
        transform: none;
        width: 100%;
        max-width: 440px;
        padding-bottom: 1.5rem;
    }
    #first-screen .grid.gap-\[2\.2vw\] {
        gap: 1.25rem;
    }
    #first-screen h1 {
        font-size: clamp(2rem, 8vw, 2.5rem);
        line-height: 1.15;
    }
    #first-screen h1 .gap-\[2\.2vw\] {
        gap: 0.75rem;
    }
    #first-screen p {
        font-size: 0.875rem;
        line-height: 1.5;
    }
    /* Свечение */
    #first-screen div[style*="radial-gradient"] {
        width: 60vw;
        height: 60vw;
    }
    /* Кнопки */
    #first-screen .flex-wrap {
        gap: 0.75rem;
        font-size: 0.875rem;
        margin-top: 10px;
    }
    #first-screen a {
        padding: 0.625rem 1.25rem;
        border-radius: 0.25rem;
    }
    /* Точки слайдера */
    :deep(.first-screen-vertical-slider .slick-dots) {
        right: 16px;
        gap: 12px;
        z-index: 10;
    }
    :deep(.first-screen-vertical-slider .slick-dots::before) {
        top: 6px;
        bottom: 6px;
        width: 1px;
    }
    :deep(.first-screen-vertical-slider .slick-dots li) {
        width: 12px;
        height: 12px;
    }
    :deep(.first-screen-vertical-slider .slick-dots li button) {
        width: 6px;
        height: 6px;
        border-width: 1px;
    }
    :deep(.first-screen-vertical-slider .slick-dots li.slick-active button) {
        width: 10px;
        height: 10px;
    }
}

@media (max-width: 400px) {
    #first-screen .flex-wrap {
        flex-direction: column;
        gap: 0.5rem;
    }
    #first-screen a {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 1400px) {
    #plan-description {
        grid-template-columns: 1fr;
    }
    #plan-description .description-left-panel {
        /*grid-column: span 1 / span 1;
        padding-top: 4rem;
        padding-bottom: 4rem;
        order: 1;*/
        display: none;
    }
    #plan-description .description-radial-glow {
        width: 250px;
        height: 250px;
    }
    #plan-description .description-left-content {
        max-width: 550px;
        margin: 0 auto;
    }
    #plan-description .description-left-title {
        font-size: 1.25rem;
    }
    #plan-description .description-img-container {
        position: relative;
        height: 350px;
        min-height: auto;
    }
    #plan-description .description-right-panel {
        grid-column: span 1 / span 1;
        gap: 4rem;
        padding-top: 4rem;
        padding-bottom: 4rem;
    }
    #plan-description .description-main-flex {
        flex-direction: column;
        gap: 3rem;
    }
    #plan-description .description-nowrap-reset {
        white-space: normal;
    }
    #plan-description .description-heading {
        font-size: 2rem;
        line-height: 1.2;
    }
    #plan-description .description-text-block {
        gap: 1.5rem;
    }
    #plan-description .description-paragraphs {
        gap: 1rem;
    }
    #plan-description .description-side-block {
        /*align-items: center;
        text-align: center;
        margin: 0 auto;*/
        display: none;
    }
    #plan-description .description-side-img {
        width: 100%;
        height: auto;
        max-height: 300px;
    }
    #plan-description .description-stats-grid {
        padding-bottom: 0;
    }
    #plan-description .stat-number {
        font-size: clamp(1.75rem, 3vw, 2.5rem);
    }
    #plan-description .stat-text {
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    #plan-description .description-stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 2rem;
    }
}

@media (max-width: 450px) {
    #plan-description .description-heading {
        font-size: 1.625rem;
    }
    #plan-description .description-img-container {
        height: 260px;
    }
    #plan-description .description-stats-grid {
        grid-template-columns: 1fr;
        gap: 1.75rem;
    }
    #plan-description .stat-item {
        text-align: center;
        justify-items: center;
    }
}


.search-form input[type="text"]::placeholder {
    color: var(--brown-400);
}
.dropdown-item:hover .count {
    color: var(--pink-200);
}

@media (max-width: 1780px) {
    #find-profi .find-profi-block p {
        font-size: 14px;
    }
}
@media (max-width: 1400px) {
    #find-profi {
        padding-top: 4rem;
        padding-bottom: 4rem;
    }
    #find-profi .find-profi-heading {
        font-size: 2rem;
        line-height: 1.2;
    }
    #find-profi .search-form {
        display: grid;
    }
    #find-profi .search-form .city-block {
        border-top: 1px solid var(--pink-100);
        border-left: none;
    }
    #find-profi .search-form #specialist-dropdown {
        width: 100%;
    }
}
@media (max-width: 1220px) {
    #find-profi {
        grid-template-columns: repeat(1, 1fr);
        gap: 40px;
    }
    #find-profi > div:first-child {
        gap: 20px;
    }
    #find-profi > div:last-child {
        gap: 10px;
    }
    #find-profi .search-form .city-block {
        border-top: none;
        border-left: 1px solid var(--pink-100);
    }
    #find-profi .search-form #specialist-dropdown {
        width: max-content;
        gap: 0;
    }
    #find-profi .search-form #city-dropdown {
        gap: 0;
    }
}
@media (max-width: 640px) {
    #find-profi .find-profi-block div {
        transform: translate(0);
        height: 320px;
    }
}
@media (max-width: 540px) {
    #find-profi .search-form #specialist-dropdown {
        grid-template-columns: repeat(1, 1fr);
        width: 100%;
    }
    #find-profi .find-profi-block div {
        height: 250px;
    }
}
@media (max-width: 450px) {
    #find-profi .find-profi-heading {
        font-size: 1.625rem;
    }
}


@media (max-width: 1400px) {
    #scary-at-first {
        grid-template-columns: 1fr;
        padding-bottom: 4rem;
    }
    #scary-at-first .scary-left-panel {
        grid-column: span 1 / span 1;
        padding-top: 2.5rem;
        order: 1;
    }
    #scary-at-first .scary-radial-glow {
        width: 250px;
        height: 250px;
    }
    #scary-at-first .scary-left-content {
        max-width: 550px;
        margin: 0 auto;
    }
    #scary-at-first .scary-left-title {
        font-size: 1.25rem;
    }
    #scary-at-first .scary-img-container {
        position: relative;
        height: 350px;
    }

    /* 2. ПРАВАЯ ТЕКСТОВАЯ ПАНЕЛЬ */
    #scary-at-first .scary-right-panel {
        grid-column: span 1 / span 1;
        padding-top: 2rem;
        padding-bottom: 0;
        padding-left: 0;
        padding-right: 0;
    }

    #scary-at-first .scary-top-flex {
        flex-direction: column;
        gap: 2.5rem;
    }
    #scary-at-first .scary-text-header {
        margin-right: auto;
    }
    #scary-at-first .scary-heading {
        font-size: 2rem;
        line-height: 1.2;
    }
    #scary-at-first .scary-nowrap-reset {
        white-space: normal;
    }
    #scary-at-first .scary-stamp-box {
        margin: 0 auto;
    }
    #scary-at-first .scary-cards-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        padding-bottom: 0;
    }
    #scary-at-first .scary-card {
        grid-template-rows: auto;
        row-span: 1;
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }
    #scary-at-first .scary-card-title {
        font-size: 1.25rem;
        line-height: 1.3;
    }
}

@media (max-width: 1024px) {
    #scary-at-first .scary-right-panel {
        padding-top: 6rem;
    }
}

@media (max-width: 640px) {
    #scary-at-first {
        padding-top: 0;
    }
    #scary-at-first .scary-right-panel {
        padding-top: 0
    }
}

@media (max-width: 450px) {
    #scary-at-first .scary-heading {
        font-size: 1.625rem;
    }
    #scary-at-first .scary-img-container {
        height: 260px;
    }
}
@media (max-width: 1400px) {
    #will-pick-manager .will-pick-manager-heading {
        font-size: 2rem;
        line-height: 1.2;
    }
}

@media (max-width: 990px) {
    #will-pick-manager .will-pick-block {
        grid-template-columns: 1fr;
        padding-bottom: 6rem;
        gap: 40px;
    }
    #will-pick-manager .images-container {
        max-width: 500px;
        margin: 0 auto;
    }
    #will-pick-manager .will-pick-manager-rating span {
        font-size: 14px;
    }
}

@media (max-width: 580px) {
    #will-pick-manager .images-container {
        max-width: 400px;
    }
}

@media (max-width: 460px) {
    #will-pick-manager .images-container {
        max-width: 300px;
    }
}

@media (max-width: 450px) {
    #will-pick-manager .will-pick-manager-heading {
        font-size: 1.625rem;
    }
}



/*@media (max-width: 1400px) {
  #will-pick-manager {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }
}

@media (max-width: 990px) {
  #will-pick-manager .will-pick-block {
    grid-template-columns: 1fr;
    padding-bottom: 4rem;
    gap: 40px;
  }
  #will-pick-manager .images-container {
    max-width: 800px;
    margin: 0 auto;
  }
}*/


/* Контейнер точек */
#how-our-wedding-went .how-our-wedding-went-slider :deep(.slick-dots) {
    position: absolute;
    top: 50%;
    right: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 40px;
    width: auto;
    margin: 0;
    padding: 0;
    list-style: none;
    transform: translateY(-50%);
    z-index: 10;
}
/* Элемент списка */
#how-our-wedding-went .how-our-wedding-went-slider :deep(.slick-dots li) {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    margin: 0;
    padding: 0;
    z-index: 1;
}
/* Вертикальная линия между кружками */
#how-our-wedding-went .how-our-wedding-went-slider :deep(.slick-dots li:not(:last-child)::after) {
    content: '';
    position: absolute;
    top: 20px;
    left: 50%;
    width: 1px;
    height: 40px;
    background: var(--pink-100);
    transform: translateX(-50%);
    pointer-events: none;
    z-index: 0;
    box-shadow: 0 0 2px rgba(255, 255, 255, 0.8), 0 0 4px rgba(0, 0, 0, 0.35);
}
/* Кнопка кружка */
#how-our-wedding-went .how-our-wedding-went-slider :deep(.slick-dots li button) {
    position: relative;
    display: block;
    width: 20px;
    height: 20px;
    margin: 0;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: transparent;
    font-size: 0;
    line-height: 0;
    cursor: pointer;
    z-index: 2;
}
/* Неактивный кружок */
#how-our-wedding-went .how-our-wedding-went-slider :deep(.slick-dots li button::before) {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 15px;
    height: 15px;
    box-sizing: border-box;
    border: 1px solid var(--pink-100);
    border-radius: 50%;
    background: transparent;
    opacity: 1;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 3px rgba(255, 255, 255, 0.8), 0 0 5px rgba(0, 0, 0, 0.3);
    transition: width .3s ease, height .3s ease, background .3s ease;
}
/* Активный кружок */
#how-our-wedding-went .how-our-wedding-went-slider :deep(.slick-dots li.slick-active button::before) {
    width: 20px;
    height: 20px;
    border-color: var(--pink-100);
    background: var(--pink-100);
    opacity: 1;
    box-shadow: 0 0 3px rgba(255, 255, 255, 0.8), 0 0 5px rgba(0, 0, 0, 0.3);
}


:deep(.reviews__slider .slick-list) {
    height: 100%;
}
:deep(.reviews__slider .slick-track) {
    display: flex;
    align-items: stretch;
    height: 100%;
}
:deep(.reviews__slider .slick-slide) {
    display: flex;
}

/* Стрелки */
.reviews__btn svg path:last-child {
    transition: .3s ease;
}
.reviews__btn:hover svg path:last-child {
    stroke: var(--pink-600);
}

/* Стилизация центрального (выделенного) слайда */
.reviews__slide.slick-center .review-card {
    background-color: var(--pink-600);
    color: white;
}
.reviews__slide.slick-center .review-card__content {
    color: white;
}
.reviews__slide.slick-center .review-card__author {
    color: var(--pink-100);
}
.reviews__slide.slick-center .review-card__date {
    color: var(--pink-200);
}
.reviews__slide.slick-center .review-card__footer {
    border-top-color: var(--pink-400);
}

@media (max-width: 1700px) {
    #how-our-wedding-went  {
        grid-template-columns: repeat(3, 1fr)
    }
    #how-our-wedding-went .how-our-wedding-went-image {
        display: none;
    }
    #how-our-wedding-went > div {
        gap: 40px;
    }
}

@media (max-width: 1400px) {
    #how-our-wedding-went {
        padding-top: 4rem;
        padding-bottom: 4rem;
    }
    #how-our-wedding-went .how-our-wedding-went-heading {
        font-size: 2rem;
        line-height: 1.2;
    }
}

@media (max-width: 767px) {
    .how-our-wedding-went-slider :deep(.slick-dots) {
        right: 10px;
        gap: 8px;
    }
    .how-our-wedding-went-slider :deep(.slick-dots li),
    .how-our-wedding-went-slider :deep(.slick-dots li button) {
        width: 10px;
        height: 10px;
    }
    .how-our-wedding-went-slider :deep(.slick-dots li button::before) {
        width: 5px;
        height: 5px;
    }
    .how-our-wedding-went-slider :deep(.slick-dots li.slick-active button::before) {
        width: 8px;
        height: 8px;
    }
}

@media (max-width: 990px) {
    #how-our-wedding-went .scary-top-flex {
        align-items: start;
        flex-direction: column;
        gap: 40px;
    }
    #how-our-wedding-went .scary-stamp-box {
        margin: 0 auto;
    }
}

@media (max-width: 450px) {
    #how-our-wedding-went .how-our-wedding-went-heading {
        font-size: 1.625rem;
    }
}


@media (max-width: 1400px) {
    #about {
        padding-bottom: 4rem;
        grid-template-columns: repeat(1, 1fr)
    }
    #about > div:first-child {
        gap: 24px;
    }
    #about .about-heading {
        font-size: 2rem;
        line-height: 1.2;
    }
    #about .about-mobile {
        display: flex;
        margin: 0 auto;
    }
    #about .about-mobile img {
        height: 350px;
    }
    #about .about-wrapper {
        flex-direction: column;
        gap: 40px;
        padding-top: 1rem;
    }
    #about .about-mobile + div > div {
        width: 100%;
    }
    #about .about-desktop {
        display: none;
    }
    #about .about-wrapper .about-block {
        display: flex;
        flex-direction: column;
        gap: 25px;
        margin: 0 auto;
    }
}

@media (max-width: 500px) {
    #about .about-mobile img {
        height: auto;
    }
}

@media (max-width: 450px) {
    #about .about-heading {
        font-size: 1.625rem;
    }
}

@media (max-width: 1400px) {
    #steps {
        padding-bottom: 4rem;
    }
    #steps .steps-heading-block {
        flex-direction: column;
        gap: 48px;
    }
    #steps .steps-heading-block .steps-heading {
        font-size: 2rem;
        line-height: 1.2;
    }

    /* Карточки шагов */
    #steps .steps-wrapper {
        display: grid;
        grid-template-columns: 1fr;
        /* Убираем автоматические строки, даем сетке свободно расти */
        grid-auto-rows: unset;
        row-gap: 24px;
    }

    /* 1. Сбрасываем десктопное позиционирование для всех элементов */
    #steps .steps-wrapper > div {
        grid-column: 1 / -1;
        grid-row: auto;
        padding-top: 0;
    }
    #steps .steps-wrapper > div p.col-start-1 {
        font-size: 20px;
    }
    #steps .steps-wrapper > div .col-start-1 p {
        font-size: 32px;
    }

    /* 2. Изолируем каждую тройку элементов в отдельный независимый слой */
    #steps .steps-wrapper > div:nth-child(3n+1) {
        grid-row-start: calc(3 * (1 + (infinite)))
    }

    /* 3. Привязываем подложку к заголовку и описанию через явные номера строк */
    /* Карточка 1 */
    #steps .steps-wrapper > div:nth-child(1) {
        grid-row: 1 / span 2;
        z-index: 1
    }
    #steps .steps-wrapper > div:nth-child(2) {
        grid-row: 1;
        z-index: 2
    }
    #steps .steps-wrapper > div:nth-child(3) {
        grid-row: 2;
        z-index: 2
    }

    /* Карточка 2 */
    #steps .steps-wrapper > div:nth-child(4) {
        grid-row: 3 / span 2;
        z-index: 1
    }
    #steps .steps-wrapper > div:nth-child(5) {
        grid-row: 3;
        z-index: 2
    }
    #steps .steps-wrapper > div:nth-child(6) {
        grid-row: 4;
        z-index: 2
    }

    /* Карточка 3 */
    #steps .steps-wrapper > div:nth-child(7) {
        grid-row: 5 / span 2;
        z-index: 1
    }
    #steps .steps-wrapper > div:nth-child(8) {
        grid-row: 5;
        z-index: 2
    }
    #steps .steps-wrapper > div:nth-child(9) {
        grid-row: 6;
        z-index: 2
    }

    /* Карточка 4 */
    #steps .steps-wrapper > div:nth-child(10) {
        grid-row: 7 / span 2;
        z-index: 1
    }
    #steps .steps-wrapper > div:nth-child(11) {
        grid-row: 7;
        z-index: 2
    }
    #steps .steps-wrapper > div:nth-child(12) {
        grid-row: 8;
        z-index: 2
    }

    /* 4. Принудительно растягиваем подложку */
    #steps .steps-wrapper .steps-substrate {
        height: 100%;
        align-self: stretch;
    }
}

@media (max-width: 450px) {
    #steps .steps-heading-block .steps-heading {
        font-size: 1.625rem;
    }
}

@media (max-width: 1400px) {
    #join-us {
        padding-top: 4rem;
        padding-bottom: 4rem;
    }
    #join-us > div {
        gap: 24px;
    }
    #join-us .join-us-heading {
        font-size: 2rem;
        line-height: 1.2;
    }
}

@media (max-width: 990px) {
    #join-us {
        grid-template-columns: repeat(1, minmax(0, 1fr));
        gap: 40px;
    }
    #join-us img {
        /*margin-right: auto;
        width: 100%;
        max-width: 550px;*/
        display: none;
    }
}

@media (max-width: 450px) {
    #join-us .join-us-heading {
        font-size: 1.625rem;
    }
    #join-us .about-buttons button,
    #join-us .about-buttons a {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 2200px) {
    #the-most-interesting .the-most-interesting-wrapper .the-most-interesting-block .the-most-interesting-heading {
        font-size: 2rem;
        line-height: 1.2;
    }
}
@media (max-width: 1900px) {
    #the-most-interesting .container + div {
        margin-bottom: 60px !important;
        min-height: 0;
    }
    #the-most-interesting svg text {
        font-size: 20px;
        letter-spacing: .28em;
    }
    #the-most-interesting svg defs path {
        d: path("M 100,178 A 78,78 0 1,1 100.1,178");
    }
    #the-most-interesting svg + p {
        font-size: 36px;
    }
    #the-most-interesting .the-most-interesting-wrapper {
        gap: 40px;
    }
    #the-most-interesting .the-most-interesting-wrapper .the-most-interesting-block {
        gap: 24px;
    }
    #the-most-interesting .the-most-interesting-wrapper .the-most-interesting-block .the-most-interesting-heading + p {
        font-size: 16px;
    }
    #the-most-interesting img {
        position: relative;
        left: 0;
        width: 100%;
        object-fit: cover;
    }
    #the-most-interesting img[src="/images/the-most-interesting/the-most-interesting-5.png"] {
        position: absolute;
        top: 0;
    }
    #the-most-interesting img[src="/images/the-most-interesting/the-most-interesting-1.png"],
    #the-most-interesting img[src="/images/the-most-interesting/the-most-interesting-2.png"],
    #the-most-interesting img[src="/images/the-most-interesting/the-most-interesting-4.png"],
        /*#the-most-interesting .relative.mx-auto,*/
    #the-most-interesting img[src="/images/the-most-interesting/the-most-interesting-5.png"] {
        display: none;
    }
    #the-most-interesting .woman-block {
        gap: 30px;
    }
    #the-most-interesting .woman-block img {
        width: auto;
    }
    #the-most-interesting .woman-block p {
        font-size: 16px;
    }
    #the-most-interesting .the-most-interesting-wrapper .the-most-interesting-block + div {
        gap: 30px;
    }
    #the-most-interesting .per-sempre-block {
        top: 100%;
        width: 100%;
    }
    #the-most-interesting .per-sempre-text {
        /*margin-top: 75%;*/
    }
}

@media (max-width: 768px) {
    #the-most-interesting .container {
        padding-top: 20px !important;
    }
    #the-most-interesting .woman-block img {
        max-height: 350px;
    }
    #the-most-interesting .woman-block p span:first-child {
        font-size: 30px
    }
    #the-most-interesting .woman-block p span:last-child {
        font-size: 20px
    }
    #the-most-interesting .woman-block p {
        font-size: 24px !important;
    }
}

@media (max-width: 450px) {
    #the-most-interesting .container + div {
        margin-bottom: 40px !important;
    }
    #the-most-interesting .the-most-interesting-wrapper .the-most-interesting-block .the-most-interesting-heading {
        font-size: 1.625rem;
    }
    #the-most-interesting .the-most-interesting-wrapper .the-most-interesting-block .the-most-interesting-heading + p {
        font-size: 16px;
        text-align: left;
    }
    #the-most-interesting .per-sempre-text {
        font-size: 1.625rem;
    }
    #the-most-interesting .per-sempre-block {
        top: 96%;
    }
    #the-most-interesting .woman-block p span:first-child {
        font-size: 20px
    }
    #the-most-interesting .woman-block p span:last-child {
        font-size: 14px
    }
}



/* CATALOG */
/* Слайдеры диапазонов */
.price-range-amount-person-range {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    width: 100%;
    height: 16px;
    margin: 0;
    padding: 0;
    appearance: none;
    -webkit-appearance: none;
    background: transparent;
    pointer-events: none;
}
.price-range-amount-person-range::-webkit-slider-runnable-track {
    height: 4px;
    background: transparent;
}
.price-range-amount-person-range::-moz-range-track {
    height: 4px;
    background: transparent;
}
.price-range-amount-person-range::-webkit-slider-thumb {
    appearance: none;
    -webkit-appearance: none;
    width: 16px;
    height: 16px;
    margin-top: -6px;
    border: 2px solid var(--pink-600);
    border-radius: 50%;
    background: white;
    cursor: pointer;
    pointer-events: auto;
}
.price-range-amount-person-range::-moz-range-thumb {
    width: 16px;
    height: 16px;
    border: 2px solid var(--pink-600);
    border-radius: 50%;
    background: white;
    cursor: pointer;
    pointer-events: auto;
}
.price-range-amount-person-range-min {
    z-index: 3;
}
.price-range-amount-person-range-max {
    z-index: 4;
}
.price-range-amount-person-range-min:focus {
    z-index: 5;
}
.price-range-amount-person-range-max:focus {
    z-index: 5;
}

/* Активные фильтры */
#catalog .filter-tag {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 6px 12px;
    font-size: 14px;
    background: white;
    border: 1px solid var(--brown-300);
    border-radius: 4px;
    transition: border-color 0.3s;
}
#catalog .filter-tag:hover {
    border-color: var(--pink-600);
}
#catalog .filter-tag span {
    font-size: 24px;
    line-height: 1;
}

/* Кнопка открытия фильтров */
.filters-toggle,
.filters-close,
.filters-apply,
.filters-overlay {
    display: none;
}

@media (max-width: 1400px) {
    #catalog {
        padding-top: 6rem !important;
    }
    #catalog .catalog-heading {
        font-size: 2rem;
        line-height: 1.2;
    }
}

@media (max-width: 1200px) {
    #catalog > .grid {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
    }
    /* Затемненный фон */
    .filters-overlay {
        display: block;
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.5);
    }
    /* Кнопка открытия */
    #catalog .filters-toggle {
        position: fixed;
        display: flex;
        align-items: center;
        justify-content: center;
        left: 0;
        top: 50%;
        transform: translateY(-50%);
        width: 44px;
        height: 52px;
        z-index: 40;
        color: white;
        background: var(--pink-600);
        border-radius: 0 6px 6px 0;
        box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.15);
        cursor: pointer;
    }
    /* Боковая панель */
    #catalog .catalog-filters {
        position: fixed;
        top: 0;
        left: 0;
        bottom: 0;
        width: min(340px, 85vw);
        height: 100dvh;
        overflow-y: auto;
        z-index: 1000;
        border-radius: 0;
        transform: translateX(-110%);
        visibility: hidden;
        transition: transform .3s ease, visibility .3s ease;
    }
    #catalog .catalog-filters.catalog-filters-open {
        transform: translateX(0);
        visibility: visible;
    }
    /* Кнопка закрытия */
    #catalog .filters-close {
        position: absolute;
        top: 18px;
        right: 18px;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 32px;
        height: 32px;
        font-size: 28px;
        color: var(--brown-500);
        cursor: pointer;
    }
    /* Кнопка применения */
    #catalog .filters-apply {
        display: block;
    }
    #catalog .reset-button {
        display: none;
    }
}

@media (max-width: 990px) {
    #catalog .cards-wrapper {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    #catalog .found-block {
        flex-direction: column;
        align-items: start;
        gap: 15px;
    }
}

@media (max-width: 540px) {
    #catalog .catalog-filters {
        width: 100vw;
        padding: 24px 16px 32px;
    }
    #catalog .cards-wrapper {
        grid-template-columns: repeat(1, minmax(0, 1fr));
    }
}

@media (max-width: 450px) {
    #catalog .catalog-heading {
        font-size: 1.625rem;
    }
}

/* BLOG */
@media (max-width: 1400px) {
    #blog {
        padding-top: 4rem;
        gap: 24px;
    }
    #blog .blog-heading,
    #blog #bestseller .bestseller-heading {
        font-size: 2rem;
        line-height: 1.2;
    }
    #blog .blog-wrapper {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (max-width: 990px) {
    #blog-first-screen > div {
        flex-direction: column;
        align-self: end;
        gap: 2rem;
        transform: translateY(0);
        left: 0;
        bottom: 0;
        width: auto;
        padding: 3.5rem 1.5rem;
    }
    #blog-first-screen > div:first-child {
        gap: 1.25rem;
    }
    /* Затемнение поверх изображения */
    #blog-first-screen:after {
        content: '';
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        z-index: 2;
        pointer-events: none;
        background: linear-gradient(0deg,rgba(110, 40, 56, 1) 0%, rgba(85, 28, 42, 1) 45%, rgba(61, 16, 28, 0) 100%);
    }
    /* Контент */
    #blog-first-screen h1 {
        font-size: clamp(2rem, 8vw, 2.5rem);
        line-height: 1.15;
    }
    #blog-first-screen p {
        display: block;
        font-size: 0.875rem;
        line-height: 1.5;
    }
    /* Свечение */
    #blog-first-screen div[style*="radial-gradient"] {
        width: 60vw;
        height: 60vw;
    }
    /* Кнопки */
    #blog-first-screen .blog-first-screen-buttons {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 0.5rem;
        margin-right: auto;
        width: auto;
    }
    #blog-first-screen .blog-first-screen-buttons button {
        padding: 0.625rem 1.25rem;
        border-radius: 0.25rem;
        font-size: initial;
    }

    #blog #bestseller {
        grid-template-columns: repeat(1, minmax(0, 1fr));
        padding-bottom: 4rem;
    }
    #blog #bestseller > div {
        border-radius: 8px 8px 0 0;
    }
    #blog #bestseller > div:last-child {
        padding: 45px 32px
    }
    #blog #bestseller > div:last-child p:first-child {
        font-size: 20px;
    }
    #blog #bestseller > div:last-child p:last-child {
        font-size: 16px;
    }
    #blog #bestseller img {
        position: relative;
        height: 400px;
    }
}
@media (max-width: 768px) {
    #blog .blog-wrapper {
        grid-template-columns: repeat(1, minmax(0, 1fr));
    }
    #blog .blog-wrapper .post-title {
        font-size: 20px;
    }
    #blog .filters-block {
        flex-direction: column;
        gap: 10px;
    }
    #blog .filters-block input,
    #blog .filters-block button {
        width: 100%;
    }

    #blog #bestseller .bestseller-heading {
        font-size: 24px;
    }
}
@media (max-width: 520px) {
    #blog-first-screen .blog-first-screen-buttons button {
        width: 100%;
    }

    #blog #bestseller .button-date-block {
        flex-direction: column;
        gap: 20px;
    }
    #blog #bestseller .button-date-block button {
        width: 100%;
        order: 1;
    }
}
@media (max-width: 450px) {
    #blog .blog-heading,
    #blog #bestseller .bestseller-heading {
        font-size: 1.625rem;
    }
}

/* BLOG ARTICLE */

#blog-post .content :deep(h2),
#blog-post .content :deep(h3) {
    position: relative;
    font-size: 40px;
    color: var(--pink-400);
    font-style: italic;
    line-height: 1.3;
    font-family: serif;
    font-variant-numeric: lining-nums;
    margin-bottom: 10px;
}
#blog-post .content :deep(h3) {
    color: var(--brown-600);
    font-style: inherit;
    font-family: "Manrope", sans-serif;
}
#blog-post .content :deep(h3) {
    font-size: 30px;
}
#blog-post .content :deep(h4) {
    font-weight: 600;
    margin-bottom: 10px;
}
#blog-post .content :deep(p + p) {
    margin-top: 15px;
}
#blog-post :deep(p:has(+ h2)),
#blog-post :deep(p:has(+ h3)),
#blog-post :deep(p:has(+ h4)) {
    margin-bottom: 30px;
}
#blog-post .content :deep(table) {
    width: 100%;
    border-collapse: collapse;
    margin-top: 25px;
    margin-bottom: 25px;
    font-variant-numeric: lining-nums tabular-nums;
}
#blog-post .content :deep(th),
#blog-post .content :deep(td) {
    padding-bottom: 12px;
    padding-top: 12px;
    padding-right: 12px;
    text-align: left;
    border-bottom: 1px solid #EDE2DC;
}
#blog-post .content :deep(th) {
    font-weight: 600;
}
#blog-post .content :deep(ul),
#blog-post .content :deep(ol) {
    list-style-type: disc;
    margin-top: 15px;
    margin-bottom: 30px;
    padding-left: 32px;
}
#blog-post .content :deep(ol) {
    list-style-type: decimal;
}
#blog-post .content :deep(li) {
    margin-bottom: 10px;
}
#blog-post .content :deep(li:last-child) {
    margin-bottom: 0;
}

:deep(.related-articles__slider .slick-list) {
    height: 100%;
}
:deep(.related-articles__slider .slick-track) {
    display: flex;
    align-items: stretch;
}
:deep(.related-articles__slider .slick-slide) {
    display: flex;
    height: auto;
}
:deep(.related-articles__slider .slick-slide > div) {
    display: flex;
    width: 100%;
}
:deep(.related-articles__slide) {
    display: flex !important;
    height: auto;
    width: 100%;
}
:deep(.related-articles__slide > div) {
    height: 100%;
}

/* Стрелки */
.related-articles__btn svg path:last-child {
    transition: .3s ease;
}
.related-articles__btn:hover svg path:last-child {
    stroke: var(--pink-600);
}

@media (max-width: 1400px) {
    #blog-post,
    #related-articles {
        padding-top: 4rem;
        gap: 24px;
    }
    #blog-post .content :deep(h2),
    #related-articles h2 {
        font-size: 2rem;
        line-height: 1.2;
    }
    #blog-post .content :deep(h3) {
        font-size: 1.8rem;
    }
}
@media (max-width: 990px) {
    #blog-post-first-screen > div {
        flex-direction: column;
        align-self: end;
        gap: 2rem;
        transform: translateY(0);
        left: 0;
        bottom: 0;
        width: auto;
        padding: 3.5rem 1.5rem;
    }
    /* Затемнение поверх изображения */
    #blog-post-first-screen:after {
        content: '';
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        z-index: 2;
        pointer-events: none;
        background: linear-gradient(0deg,rgba(110, 40, 56, 1) 0%, rgba(85, 28, 42, 1) 45%, rgba(61, 16, 28, 0) 100%);
    }
    /* Контент */
    #blog-post-first-screen h1 {
        font-size: clamp(2rem, 8vw, 2.5rem);
        line-height: 1.15;
    }
    /* Свечение */
    #blog-post-first-screen div[style*="radial-gradient"] {
        width: 60vw;
        height: 60vw;
    }
    /* Кнопки */
    #blog-post-first-screen .blog-first-screen-buttons {
        width: fit-content;
    }
    #blog-post-first-screen .blog-first-screen-buttons a {
        gap: 2vw;
        padding: 0.625rem 1.25rem;
        border-radius: 0.25rem;
        font-size: initial;
    }
    #blog-post-first-screen .blog-first-screen-buttons svg {
        width: 3vw;
        height: 3vw;
    }
}
@media (max-width: 768px) {
    #blog-post .content :deep(h2),
    #related-articles h2 {
        font-size: 1.625rem;
    }
    #blog-post .content :deep(h3) {
        font-size: 1.2rem;
    }
    #blog-post .blog-post-category-date {
        flex-direction: column;
        align-items: start;
    }
}

/* VENDOR */
@media (max-width: 1400px) {
    #vendor {
        padding-top: 5rem !important;
    }
    #vendor .vendor-heading {
        font-size: 2rem;
        line-height: 1.2;
    }
    #vendor .vendor-wrapper,
    #vendor .vendor-wrapper > div:first-child {
        row-gap: 24px;
        column-gap: 0;
    }
}

@media (max-width: 1060px) {
    #vendor .vendor-wrapper {
        display: flex;
        flex-direction: column;
    }
    #vendor .vendor-wrapper > div:first-child {
        display: contents;
    }
    #vendor .vendor-wrapper > div:first-child > *:first-child {
        order: 1;
    }
    #vendor .vendor-wrapper > .boundaries {
        order: 2;
    }
    #vendor .vendor-wrapper > div:first-child > *:not(:first-child) {
        order: 3;
    }
    #vendor .vendor-wrapper > .boundaries {
        position: static;
        width: 100%;
    }
    #vendor .gallery-wrapper {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    #vendor .vendor-wrapper {
        row-gap: 20px;
        column-gap: 0;
    }
    #vendor .vendor-heading {
        font-size: 30px;
    }
    /* Основная галерея */
    #vendor .big-images {
        height: 320px;
    }
    /* Галереи залов и альбомов */
    #vendor .average-images {
        height: 240px;
    }
    #vendor .modal-big-image {
        height: 400px;
    }
}

@media (max-width: 600px) {
    #vendor .boundaries {
        padding: 18px;
    }
    #vendor .boundaries.modal,
    #vendor .boundaries .review-modal {
        padding: 40px 18px 18px 18px;
    }
    #vendor .vendor-wrapper .vendor-wrapper-description {
        padding-left: 18px;
        padding-right: 18px;
        padding-bottom: 26px;
    }
    /* Основная информация о подрядчике */
    #vendor .boundaries.avatar-title {
        gap: 14px;
    }
    #vendor .flex.gap-6 > img {
        width: 64px;
        height: 64px;
    }
    #vendor .boundaries.avatar-title .vendor-name-category {
        gap: 8px;
    }
    /* Галереи */
    #vendor .big-images {
        height: 260px;
    }
    #vendor .average-images {
        height: 200px;
    }
    /* Залы и альбомы — одна колонка */
    #vendor .attributes-block {
        grid-template-columns: 1fr;
        gap: 6px;
    }
    #vendor iframe {
        height: 220px;
    }
    /* Модальные окна галерей */
    #vendor .modal-big-image {
        height: 300px;
    }
}

@media (max-width: 450px) {
    #vendor .vendor-heading {
        font-size: 1.625rem;
    }
    #vendor .boundaries.avatar-title {
        flex-direction: column;
    }
}

@media (max-width: 380px) {
    #vendor .big-images {
        height: 180px;
    }
    #vendor .average-images {
        height: 160px;
    }
    #vendor .modal-big-image {
        height: 200px;
    }
}

/* COURSE */

@media (min-width: 991px) {
    #first-screen-wedding-course-without-chaos > div:first-child::after {
        content: '';
        position: absolute;
        top: 0;
        left: 100%;
        width: 45vw;
        height: 100%;
        z-index: 5;
        pointer-events: none;
        background: linear-gradient(to right, var(--pink-800) 0%, rgba(110, 40, 56, 0) 100%);
    }
}

@media (max-width: 990px) {
    /* Изображения — полноценный фон */
    #first-screen-wedding-course-without-chaos > div:last-child {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        z-index: 1;
    }
    /* Затемнение поверх изображения */
    #first-screen-wedding-course-without-chaos:after {
        content: '';
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        z-index: 2;
        pointer-events: none;
        background: linear-gradient(0deg,rgba(110, 40, 56, 1) 0%, rgba(85, 28, 42, 1) 45%, rgba(61, 16, 28, 0) 100%);
    }
    /* Текстовый блок */
    #first-screen-wedding-course-without-chaos > div:first-child {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        padding: 2rem 1.5rem;
        margin: 0;
        z-index: 3;
        display: flex;
        align-items: flex-end;
        justify-content: center;
        background: none;
    }
    /* Контент */
    #first-screen-wedding-course-without-chaos > div:first-child > div:first-child {
        position: relative;
        top: auto;
        left: auto;
        transform: none;
        width: 100%;
        max-width: 440px;
        padding-bottom: 1.5rem;
    }
    #first-screen-wedding-course-without-chaos .grid.gap-\[2\.2vw\] {
        gap: 1.25rem;
    }
    /*#first-screen-wedding-course-without-chaos h1 {*/
    /*    font-size: clamp(2rem, 8vw, 2.5rem);*/
    /*    line-height: 1.15;*/
    /*}*/
    #first-screen-wedding-course-without-chaos h1 .gap-\[2\.2vw\] {
        gap: 0.75rem;
    }
    #first-screen-wedding-course-without-chaos p {
        font-size: 0.875rem;
        line-height: 1.5;
    }
    /* Свечение */
    #first-screen-wedding-course-without-chaos div[style*="radial-gradient"] {
        width: 60vw;
        height: 60vw;
    }
    /* Кнопки */
    #first-screen-wedding-course-without-chaos .flex-wrap {
        gap: 0.75rem;
        font-size: 0.875rem;
        margin-top: 10px;
    }
    #first-screen-wedding-course-without-chaos button,
    #first-screen-wedding-course-without-chaos a {
        padding: 0.625rem 1.25rem;
        border-radius: 0.25rem;
    }
}

@media (max-width: 400px) {
    #first-screen-wedding-course-without-chaos .flex-wrap {
        flex-direction: column;
        gap: 0.5rem;
    }
    #first-screen-wedding-course-without-chaos button,
    #first-screen-wedding-course-without-chaos a {
        width: 100%;
        text-align: center;
    }
}
@media (max-width: 1400px) {
    #wedding-course-without-chaos {
        padding-top: 4rem;
        padding-bottom: 4rem;
        gap: 40px;
    }
    #wedding-course-without-chaos .wedding-course-without-chaos-wrapper .wedding-course-without-chaos-block-heading .wedding-course-without-chaos-heading,
    #wedding-course-without-chaos .wedding-course-without-chaos-wrapper + div h2 {
        font-size: 2rem;
        line-height: 1.2;
    }
    #wedding-course-without-chaos .wedding-course-without-chaos-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    #wedding-course-without-chaos .wedding-course-without-chaos-wrapper > div {
        grid-column: 1 / -1;
        min-width: 0;
    }
    #wedding-course-without-chaos .wedding-course-without-chaos-wrapper .wedding-course-without-chaos-block-heading {
        gap: 40px;
    }
    #wedding-course-without-chaos .wedding-course-without-chaos-wrapper > div:nth-child(2) {
        display: none;
    }
    #wedding-course-without-chaos .wedding-course-without-chaos-wrapper .wedding-course-without-chaos-mobile {
        display: flex;
        min-width: 0;
    }
    #wedding-course-without-chaos .wedding-course-without-chaos-wrapper .wedding-course-without-chaos-block-heading .wedding-course-without-chaos-mobile {
        display: block;
        width: 100%;
        height: auto;
        max-height: 650px;
        object-fit: contain;
        object-position: center;
    }
    #wedding-course-without-chaos .wedding-course-without-chaos-wrapper .wedding-course-without-chaos-mobile .wedding-course-without-chaos-review-block {
        display: flex;
    }
    #wedding-course-without-chaos .wedding-course-without-chaos-quantity {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    #wedding-course-without-chaos .wedding-course-without-chaos-quantity-text p:first-child {
        font-size: clamp(1.75rem, 3vw, 2.5rem);
    }
    #wedding-course-without-chaos .wedding-course-without-chaos-quantity-text p:last-child {
        font-size: clamp(0.875rem, 1.4vw, 1.125rem);
    }
    #wedding-course-without-chaos .wedding-course-without-chaos-block {
        grid-template-columns: minmax(0, 1fr);
    }
    #wedding-course-without-chaos .wedding-course-without-chaos-block > div:first-child {
        display: none;
    }
    #wedding-course-without-chaos .wedding-course-without-chaos-block > div:last-child > div > img {
        width: 350px;
    }
    #wedding-course-without-chaos .wedding-course-without-chaos-review-block p {
        width: 100%;
    }
}

@media (max-width: 768px) {
    #wedding-course-without-chaos .wedding-course-without-chaos-quantity {
        grid-template-columns: 1fr;
    }
    #wedding-course-without-chaos .wedding-course-without-chaos-quantity-text {
        justify-content: center;
        text-align: center;
    }
    #wedding-course-without-chaos .wedding-course-without-chaos-quantity-text p:first-child {
        font-size: clamp(1.5rem, 5vw, 2rem);
    }
    #wedding-course-without-chaos .wedding-course-without-chaos-block > div:last-child > div {
        flex-direction: column;
        gap: 20px;
    }
    #wedding-course-without-chaos .wedding-course-without-chaos-block > div:last-child > div > img {
        height: 100%;
        margin: 0 auto;
    }
}

@media (max-width: 450px) {
    #wedding-course-without-chaos .wedding-course-without-chaos-wrapper .wedding-course-without-chaos-block-heading .wedding-course-without-chaos-heading {
        font-size: 1.625rem;
    }
    #wedding-course-without-chaos .wedding-course-without-chaos-wrapper .wedding-course-without-chaos-block-heading .wedding-course-without-chaos-mobile {
        max-height: 480px;
    }
    #wedding-course-without-chaos .wedding-course-without-chaos-block > div:last-child > div > img {
        width: 100%;
    }
}

@media (max-width: 1700px) {
    #online-wedding-planner .online-wedding-planner-block {
        grid-template-columns: repeat(2, 1fr)
    }
}

@media (max-width: 1200px) {
    #online-wedding-planner .online-wedding-planner-wrapper {
        grid-template-columns: repeat(1, 1fr)
    }
    #online-wedding-planner .online-wedding-planner-wrapper .online-wedding-planner-block {
        grid-template-columns: repeat(3, 1fr)
    }
}

@media (max-width: 768px) {
    #online-wedding-planner .online-wedding-planner-wrapper .online-wedding-planner-block {
        grid-template-columns: repeat(2, 1fr)
    }
}

@media (max-width: 1400px) {
    #online-wedding-planner {
        padding-bottom: 4rem;
        gap: 24px;
    }
    #online-wedding-planner .online-wedding-planner-heading {
        font-size: 2rem;
        line-height: 1.2;
    }
}

@media (max-width: 540px) {
    #online-wedding-planner .online-wedding-planner-wrapper,
    #online-wedding-planner .online-wedding-planner-wrapper .online-wedding-planner-block {
        gap: 20px;
    }
    #online-wedding-planner .online-wedding-planner-wrapper .online-wedding-planner-block {
        grid-template-columns: repeat(1, 1fr);
        gap: 20px;
    }
}

@media (max-width: 450px) {
    #online-wedding-planner .online-wedding-planner-heading {
        font-size: 1.625rem;
    }
}


@media (max-width: 1400px) {
    #start-preparing-today {
        padding-bottom: 4rem;
        gap: 24px;
    }
    #start-preparing-today .start-preparing-today-heading {
        font-size: 2rem;
        line-height: 1.2;
    }
    #start-preparing-today .start-preparing-today-wrapper {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
    #start-preparing-today .start-preparing-today-wrapper div > div:last-child {
        padding: 25px 25px 40px 25px;
    }
    #start-preparing-today .start-preparing-today-title {
        padding: 20px;
    }
    #start-preparing-today .start-preparing-today-subtitle {
        font-size: 20px;
    }

    /* Другой вариант */
    /*#start-preparing-today img[src="/images/start-preparing-today/start-preparing-today-2.png"],
    #start-preparing-today img[src="/images/start-preparing-today/start-preparing-today-3.png"] {
      display: none;
    }
    #start-preparing-today .step-to-happiness-wrapper {
      gap: 40px;
    }
    #start-preparing-today .step-to-happiness-wrapper .step-to-happiness-block {
      gap: 24px;
    }
    #start-preparing-today .step-to-happiness-wrapper .step-to-happiness-block .step-to-happiness-heading + p {
      font-size: 16px;
    }*/
}
@media (max-width: 1200px) {
    #start-preparing-today .start-preparing-today-wrapper {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (max-width: 768px) {
    #start-preparing-today .start-preparing-today-wrapper {
        grid-template-columns: repeat(1, minmax(0, 1fr));
    }
}
@media (max-width: 450px) {
    #start-preparing-today .start-preparing-today-heading {
        font-size: 1.625rem;
    }

    /* Другой вариант */
    /*#start-preparing-today .step-to-happiness-wrapper .step-to-happiness-block .step-to-happiness-heading {
      font-size: 1.625rem;
    }*/
}

.lesson-enter-active,
.lesson-leave-active {
    transition: all .3s ease;
    overflow: hidden;
}
.lesson-enter-from,
.lesson-leave-to {
    opacity: 0;
    max-height: 0;
    padding-top: 0;
    padding-bottom: 0;
}
.lesson-enter-to,
.lesson-leave-from {
    opacity: 1;
    max-height: 300px;
}

@media (max-width: 1400px) {
    #from-theory-to-practice {
        padding-top: 4rem !important;
        padding-bottom: 4rem;
    }
    #from-theory-to-practice .from-theory-to-practice-block {
        display: grid;
        gap: 48px;
    }
    #from-theory-to-practice .from-theory-to-practice-heading {
        font-size: 2rem;
        line-height: 1.2;
    }
    #from-theory-to-practice .from-theory-to-practice-circle {
        margin: 0 auto;
    }
    #from-theory-to-practice .from-theory-to-practice-wrapper {
        grid-template-columns: 1fr;
        row-gap: 40px;
        column-gap: 0;
    }
    #from-theory-to-practice .from-theory-to-practice-wrapper > div:first-child {
        flex-direction: row;
        flex-wrap: wrap;
    }
    #from-theory-to-practice .from-theory-to-practice-wrapper > div:first-child button {
        flex: 1 1 40px;
    }
    #from-theory-to-practice .from-theory-to-practice-wrapper > div:first-child button span:first-child {
        width: 100%;
    }
    #from-theory-to-practice .from-theory-to-practice-wrapper > div:first-child button span:last-child {
        display: none;
    }
    #from-theory-to-practice .from-theory-to-practice-wrapper .from-theory-to-practice-information div:first-child {
        grid-column: span 3 / span 3;
    }
    #from-theory-to-practice .from-theory-to-practice-wrapper .from-theory-to-practice-img {
        display: none;
    }
}
@media (max-width: 768px) {
    #from-theory-to-practice .from-theory-to-practice-wrapper button .number {
        font-size: 28px;
    }
    #from-theory-to-practice .from-theory-to-practice-wrapper button .text {
        font-size: 16px;
    }
    #from-theory-to-practice .from-theory-to-practice-wrapper .from-theory-to-practice-information {
        padding: 32px;
    }
}
@media (max-width: 450px) {
    #from-theory-to-practice .from-theory-to-practice-heading {
        font-size: 1.625rem;
    }
    #from-theory-to-practice .from-theory-to-practice-wrapper button .number {
        font-size: 24px;
    }
    #from-theory-to-practice .from-theory-to-practice-wrapper button .text {
        font-size: 14px;
    }
}


@media (max-width: 1400px) {
    #about-wedding-without-chaos-course {
        padding-top: 4rem;
        grid-template-columns: repeat(1, 1fr)
    }
    #about-wedding-without-chaos-course .about-heading-wedding-without-chaos-course {
        display: inline;
        font-size: 2rem;
        line-height: 1.2;
    }
    #about-wedding-without-chaos-course blockquote {
        font-size: 30px;
        line-height: 1.2;
        text-align: center;
    }
    #about-wedding-without-chaos-course .about-mobile {
        display: flex;
    }
    #about-wedding-without-chaos-course .about-wrapper {
        flex-direction: column;
        gap: 40px;
    }
    #about-wedding-without-chaos-course .about-mobile + div > div:first-child {
        max-width: 460px;
        margin: 0 auto;
    }
    #about-wedding-without-chaos-course .about-mobile img {
        max-height: 650px;
        height: 100% !important;
    }
    #about-wedding-without-chaos-course .about-desktop {
        display: none;
    }
    #about-wedding-without-chaos-course .about-wrapper .about-block {
        display: flex;
        flex-direction: column;
        gap: 25px;
        margin: 0 auto;
    }
    #about-wedding-without-chaos-course .about-wrapper .about-buttons {
        text-align: center;
    }
}

@media (max-width: 540px) {
    #about-wedding-without-chaos-course .about-wrapper .about-buttons {
        flex-direction: column;
        gap: 10px;
    }
}

@media (max-width: 450px) {
    #about-wedding-without-chaos-course .about-heading-wedding-without-chaos-course {
        font-size: 1.625rem;
    }
    #about-wedding-without-chaos-course blockquote {
        font-size: 24px;
        line-height: 1.1;
    }
}


@media (max-width: 1400px) {
    #rates {
        padding-top: 4rem;
        padding-bottom: 4rem;
        gap: 24px;
    }
    #rates .rates-heading {
        font-size: 2rem;
        line-height: 1.2;
    }
    #rates .rates-wrapper {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (max-width: 768px) {
    #rates .rates-wrapper {
        grid-template-columns: minmax(0, 1fr);
    }
}
@media (max-width: 450px) {
    #rates .rates-heading {
        font-size: 1.625rem;
    }
    #rates .rate-price,
    #rates .rate-individually {
        font-size: 2rem;
    }
}

@media (max-width: 1400px) {
    #choose-a-rate {
        padding-bottom: 4rem;
    }
    #choose-a-rate .choose-a-rate-heading-block {
        display: grid;
        gap: 48px;
    }
    #choose-a-rate .choose-a-rate-heading {
        font-size: 2rem;
        line-height: 1.2;
    }
    #choose-a-rate .choose-a-rate-circle {
        margin: 0 auto;
    }
    #choose-a-rate .choose-a-rate-wrapper {
        grid-template-columns: repeat(1, minmax(0, 1fr));
        gap: 40px;
    }
    #choose-a-rate .choose-a-rate {
        gap: 64px;
        padding: 32px;
    }
    #choose-a-rate .choose-a-rate-result {
        padding: 32px;
    }
}

@media (max-width: 540px) {
    #choose-a-rate div:last-child {
        display: grid;
    }
    #choose-a-rate div p {
        position: relative;
    }
    #choose-a-rate div:last-child button {
        width: 100%;
    }
}

@media (max-width: 450px) {
    #choose-a-rate .choose-a-rate-heading {
        font-size: 1.625rem;
    }
}

/* Контейнер точек */
#what-people-say-about-us .what-people-say-about-us-slider :deep(.slick-dots) {
    position: absolute;
    top: 50%;
    right: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 40px;
    width: auto;
    margin: 0;
    padding: 0;
    list-style: none;
    transform: translateY(-50%);
    z-index: 10;
}
/* Элемент списка */
#what-people-say-about-us .what-people-say-about-us-slider :deep(.slick-dots li) {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    margin: 0;
    padding: 0;
    z-index: 1;
}
/* Вертикальная линия между кружками */
#what-people-say-about-us .what-people-say-about-us-slider :deep(.slick-dots li:not(:last-child)::after) {
    content: '';
    position: absolute;
    top: 20px;
    left: 50%;
    width: 1px;
    height: 40px;
    background: var(--pink-100);
    transform: translateX(-50%);
    pointer-events: none;
    z-index: 0;
    box-shadow: 0 0 2px rgba(255, 255, 255, 0.8), 0 0 4px rgba(0, 0, 0, 0.35);
}
/* Кнопка кружка */
#what-people-say-about-us .what-people-say-about-us-slider :deep(.slick-dots li button) {
    position: relative;
    display: block;
    width: 20px;
    height: 20px;
    margin: 0;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: transparent;
    font-size: 0;
    line-height: 0;
    cursor: pointer;
    z-index: 2;
}
/* Неактивный кружок */
#what-people-say-about-us .what-people-say-about-us-slider :deep(.slick-dots li button::before) {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 15px;
    height: 15px;
    box-sizing: border-box;
    border: 1px solid var(--pink-100);
    border-radius: 50%;
    background: transparent;
    opacity: 1;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 3px rgba(255, 255, 255, 0.8), 0 0 5px rgba(0, 0, 0, 0.3);
    transition: width .3s ease, height .3s ease, background .3s ease;
}
/* Активный кружок */
#what-people-say-about-us .what-people-say-about-us-slider :deep(.slick-dots li.slick-active button::before) {
    width: 20px;
    height: 20px;
    border-color: var(--pink-100);
    background: var(--pink-100);
    opacity: 1;
    box-shadow: 0 0 3px rgba(255, 255, 255, 0.8), 0 0 5px rgba(0, 0, 0, 0.3);
}


:deep(.reviews__slider .slick-list) {
    height: 100%;
}
:deep(.reviews__slider .slick-track) {
    display: flex;
    align-items: stretch;
    height: 100%;
}
:deep(.reviews__slider .slick-slide) {
    display: flex;
}

/* Стрелки */
.reviews__btn svg path:last-child {
    transition: .3s ease;
}
.reviews__btn:hover svg path:last-child {
    stroke: var(--pink-600);
}

/* Стилизация центрального (выделенного) слайда */
.reviews__slide.slick-center .review-card {
    background-color: var(--pink-600);
    color: white;
}
.reviews__slide.slick-center .review-card__content {
    color: white;
}
.reviews__slide.slick-center .review-card__author {
    color: var(--pink-100);
}
.reviews__slide.slick-center .review-card__date {
    color: var(--pink-200);
}
.reviews__slide.slick-center .review-card__footer {
    border-top-color: var(--pink-400);
}

@media (max-width: 1700px) {
    #what-people-say-about-us  {
        grid-template-columns: repeat(3, 1fr)
    }
    #what-people-say-about-us .what-people-say-about-us-image {
        display: none;
    }
    #what-people-say-about-us > div {
        gap: 24px;
    }
}

@media (max-width: 1400px) {
    #what-people-say-about-us {
        padding-top: 4rem;
        padding-bottom: 4rem;
    }
    #what-people-say-about-us .what-people-say-about-us-heading {
        font-size: 2rem;
        line-height: 1.2;
    }
}
@media (max-width: 450px) {
    #what-people-say-about-us .what-people-say-about-us-heading {
        font-size: 1.625rem;
    }
}

@media (max-width: 1700px) {
    #questions-and-answers > div:first-child {
        grid-column: span 2;
    }
    #questions-and-answers > div:last-child {
        grid-column: span 2;
    }
}
@media (max-width: 1400px) {
    #questions-and-answers {
        padding-top: 4rem;
        padding-bottom: 4rem;
        gap: 40px;
    }
    #questions-and-answers > div:first-child {
        gap: 24px
    }
    #questions-and-answers .questions-and-answers-heading {
        font-size: 2rem;
        line-height: 1.2;
    }
}
@media (max-width: 768px) {
    #questions-and-answers {
        grid-template-columns: repeat(1, 1fr)
    }
    #questions-and-answers button span:first-child {
        font-size: 16px;
    }
}
@media (max-width: 450px) {
    #questions-and-answers .questions-and-answers-heading {
        font-size: 1.625rem;
    }
}

/* OFERTA */

@media (max-width: 1400px) {
    #oferta {
        padding-top: 120px !important;
        gap: 24px;
    }
    #oferta .oferta-heading {
        font-size: 2rem;
        line-height: 1.2;
    }
}
@media (max-width: 450px) {
    #oferta .oferta-heading {
        font-size: 1.625rem;
    }
}

/* POLICY */

@media (max-width: 1400px) {
    #policy {
        padding-top: 120px !important;
        gap: 24px;
    }
    #policy .policy-heading {
        font-size: 2rem;
        line-height: 1.2;
    }
}
@media (max-width: 450px) {
    #policy .policy-heading {
        font-size: 1.625rem;
    }
}

/* MEMBERSHIP */

@media (max-width: 990px) {
    /* Изображения — полноценный фон */
    #become-a-member-first-screen > div:last-child {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        z-index: 1;
    }
    #become-a-member-first-screen .bottom-bg {
        display: none;
    }
    /* Затемнение поверх изображения */
    #become-a-member-first-screen:after {
        content: '';
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        z-index: 2;
        pointer-events: none;
        background: linear-gradient(0deg,rgba(110, 40, 56, 1) 0%, rgba(85, 28, 42, 1) 45%, rgba(61, 16, 28, 0) 100%);
    }
    /* Контент */
    #become-a-member-first-screen .become-a-member-first-screen-block {
        top: auto;
        bottom: 0;
        transform: translateX(-50%);
        padding-bottom: 3.5rem;
    }
    #become-a-member-first-screen .grid.gap-\[2\.2vw\] {
        gap: 1.25rem;
        text-align: left;
    }
    #become-a-member-first-screen h1 {
        font-size: clamp(2rem, 8vw, 2.5rem);
        line-height: 1.15;
    }
    #become-a-member-first-screen p {
        display: block;
        font-size: 0.875rem;
        line-height: 1.5;
    }
    /* Свечение */
    #become-a-member-first-screen div[style*="radial-gradient"] {
        width: 60vw;
        height: 60vw;
    }
    #become-a-member-first-screen .number-of-profiles {
        font-size: 0.875rem;
        padding: 0.625rem 1.25rem;
        border-radius: 0.25rem;
        margin-left: inherit;
    }
    /* Кнопки */
    #become-a-member-first-screen .flex-wrap {
        gap: 0.75rem;
        font-size: 0.875rem;
        margin-top: 10px;
        margin-right: auto;
    }
    #become-a-member-first-screen button,
    #become-a-member-first-screen a {
        padding: 0.625rem 1.25rem;
        border-radius: 0.25rem;
    }
}

@media (max-width: 400px) {
    #become-a-member-first-screen .flex-wrap {
        flex-direction: column;
        gap: 0.5rem;
        margin-right: inherit;
    }
    #become-a-member-first-screen button,
    #become-a-member-first-screen a {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 1400px) {
    #about-the-project {
        padding-top: 4rem;
        padding-bottom: 4rem;
        gap: 24px;
    }
    #about-the-project .about-the-project-heading {
        font-size: 2rem;
        line-height: 1.2;
    }
    #about-the-project .about-the-project-wrappers {
        display: flex;
        flex-direction: column;
        gap: 30px;
    }
    #about-the-project .about-the-project-wrappers > div:nth-child(2),
    #about-the-project .about-the-project-wrapper {
        display: contents;
    }
    #about-the-project .about-the-project-wrapper > p {
        order: 1;
        font-size: 30px;
    }
    #about-the-project .about-the-project-image {
        order: 2;
        width: 100%;
        max-width: 550px;
        margin: 0 auto;
    }
    #about-the-project .about-the-project-image img {
        display: block;
        width: 100%;
        height: auto;
        object-fit: contain;
    }
    #about-the-project .about-the-project-block {
        order: 3;
        margin: 0 auto;
    }
}
@media (max-width: 990px) {
    #about-the-project .about-the-project-block {
        flex-direction: column;
        gap: 25px;
    }
}
@media (max-width: 768px) {
    #about-the-project .about-the-project-wrappers .about-the-project-wrapper > p {
        font-size: 24px;
    }
}
@media (max-width: 450px) {
    #about-the-project .about-the-project-heading {
        font-size: 1.625rem;
    }
    #about-the-project .about-the-project-wrappers .about-the-project-wrapper > p {
        font-size: 18px;
    }
}

@media (max-width: 1400px) {
    #what-icluded-in-participation {
        padding-bottom: 4rem;
        gap: 24px;
    }
    #what-icluded-in-participation .what-icluded-in-participation-heading {
        font-size: 2rem;
        line-height: 1.2;
    }
    #what-icluded-in-participation .what-icluded-in-participation-wrapper {
        grid-template-columns: repeat(1, minmax(0, 1fr));
        column-gap: 0;
    }
    #what-icluded-in-participation .what-icluded-in-participation-wrapper,
    #what-icluded-in-participation .what-icluded-in-participation-wrapper .what-icluded-in-participation-block {
        row-gap: 20px
    }
    #what-icluded-in-participation .what-icluded-in-participation-wrapper img {
        max-height: 550px;
        margin: 0 auto;
    }
    #what-icluded-in-participation .what-icluded-in-participation-wrapper .what-icluded-in-participation-block .number {
        font-size: 22px;
        padding: 15px;
    }
    #what-icluded-in-participation .what-icluded-in-participation-wrapper .what-icluded-in-participation-block .title {
        font-size: 26px;
    }
}
@media (max-width: 768px) {
    #what-icluded-in-participation .what-icluded-in-participation-wrapper .what-icluded-in-participation-block {
        grid-template-columns: repeat(1, minmax(0, 1fr));
    }
}
@media (max-width: 450px) {
    #what-icluded-in-participation .what-icluded-in-participation-heading {
        font-size: 1.625rem;
    }
    #what-icluded-in-participation .what-icluded-in-participation-wrapper .what-icluded-in-participation-block .title {
        font-size: 20px;
    }
    #what-icluded-in-participation .what-icluded-in-participation-wrapper .what-icluded-in-participation-block .text {
        font-size: 14px;
    }
}

@media (max-width: 2200px) {
    #we-have-more-than .we-have-more-than-wrapper .we-have-more-than-block .we-have-more-than-heading {
        font-size: 2rem;
        line-height: 1.2;
    }
    #we-have-more-than img[src="/images/we-have-more-than/we-have-more-than-1.png"] {
        top: -8%;
    }
    #we-have-more-than img[src="/images/we-have-more-than/we-have-more-than-2.png"] {
        height: 320px;
        top: 3%;
    }
    #we-have-more-than img[src="/images/we-have-more-than/we-have-more-than-5.png"] {
        height: 450px;
    }
}

@media (max-width: 1900px) {
    #we-have-more-than .we-have-more-than-wrapper {
        gap: 40px;
    }
    #we-have-more-than .we-have-more-than-wrapper .we-have-more-than-block {
        gap: 24px;
    }
    #we-have-more-than .we-have-more-than-wrapper .we-have-more-than-block .we-have-more-than-heading + p {
        font-size: 16px;
    }
    #we-have-more-than img {
        position: relative;
        left: 0;
        width: 100%;
        object-fit: cover;
    }
    #we-have-more-than img[src="/images/we-have-more-than/we-have-more-than-5.png"] {
        position: absolute;
        top: 0;
    }
    #we-have-more-than img[src="/images/we-have-more-than/we-have-more-than-1.png"],
    #we-have-more-than img[src="/images/we-have-more-than/we-have-more-than-2.png"],
    #we-have-more-than img[src="/images/we-have-more-than/we-have-more-than-4.png"],
    #we-have-more-than img[src="/images/we-have-more-than/we-have-more-than-5.png"] {
        display: none;
    }
}

@media (max-width: 768px) {
    #we-have-more-than .container {
        padding-top: 20px !important;
    }
    #we-have-more-than .we-have-more-than-wrapper img {
        max-height: 350px;
    }
}

@media (max-width: 450px) {
    #we-have-more-than .we-have-more-than-wrapper .we-have-more-than-block .we-have-more-than-heading {
        font-size: 1.625rem;
    }
    #we-have-more-than .we-have-more-than-wrapper .we-have-more-than-block .we-have-more-than-heading + p {
        font-size: 16px;
        text-align: left;
    }
}

@media (max-width: 1600px) {
    #rates-become-a-member .rates-become-a-member-wrapper .select {
        padding: 10px 10px 10px 15px;
        font-size: 14px;
    }
    #rates-become-a-member .rates-become-a-member-wrapper .free {
        font-size: 36px;
        line-height: 1.4;
    }
    #rates-become-a-member .rates-become-a-member-wrapper .promotion {
        font-size: 14px;
    }
}

@media (max-width: 1400px) {
    #rates-become-a-member {
        padding-top: 4rem;
        padding-bottom: 4rem;
        gap: 24px;
    }
    #rates-become-a-member .rates-become-a-member-heading {
        font-size: 2rem;
        line-height: 1.2;
    }
    #rates-become-a-member .rates-become-a-member-wrapper {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    #rates-become-a-member .rates-become-a-member-wrapper .col-start-2 {
        grid-column-start: 1;
    }
}
@media (max-width: 768px) {
    #rates-become-a-member .rates-become-a-member-wrapper {
        grid-template-columns: minmax(0, 1fr);
    }
}
@media (max-width: 450px) {
    #rates-become-a-member .rates-become-a-member-heading {
        font-size: 1.625rem;
    }
}


@media (max-width: 1400px) {
    #questions-and-answers-become-a-member {
        padding-top: 4rem;
        padding-bottom: 4rem;
        gap: 40px;
    }
    #questions-and-answers-become-a-member .questions-and-answers-become-a-member-heading {
        font-size: 2rem;
        line-height: 1.2;
    }
    #questions-and-answers-become-a-member .questions-and-answers-become-a-member-wrapper img {
        display: none;
    }
    #questions-and-answers-become-a-member .questions-and-answers-become-a-member-wrapper > div {
        grid-column: span 4 / span 4;
    }
    #questions-and-answers-become-a-member .questions-and-answers-become-a-member-wrapper .questions-and-answers-become-a-member-blocks {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (max-width: 768px) {
    #questions-and-answers-become-a-member .questions-and-answers-become-a-member-wrapper .questions-and-answers-become-a-member-blocks {
        grid-template-columns: repeat(1, minmax(0, 1fr));
        gap: 16px;
    }
    #questions-and-answers-become-a-member .questions-and-answers-become-a-member-wrapper .questions-and-answers-become-a-member-blocks span {
        font-size: 16px;
    }
    #questions-and-answers-become-a-member .questions-and-answers-become-a-member-wrapper .questions-and-answers-become-a-member-blocks p {
        font-size: 14px;
    }
}
@media (max-width: 450px) {
    #questions-and-answers-become-a-member .questions-and-answers-become-a-member-heading {
        font-size: 1.625rem;
    }
}

#scroll-up {
    opacity: 0;
    transform: translateY(1rem);
    pointer-events: none;
}

#scroll-up.active {
    opacity: 100;
    transform: translateY(0);
    pointer-events: auto;
}

header nav a.active {
    color: #c0808f;
}

.menu-overlay {
    /*position: fixed;*/
    /*background: #00000033;*/
    /*backdrop-filter: blur(5px);*/
    opacity: 0;
    pointer-events: none;
    /*z-index: 1000;*/
    transition: opacity .3s;
}

.menu-overlay.active {
    opacity: 1;
    pointer-events: auto;
    transition: opacity .3s;
}

.menu-panel {
    opacity: 0;
    transform: translateX(100%);
    pointer-events: none;
    transition: opacity .3s, transform .3s;
}

.menu-panel.active {
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
}

#scroll-up {
    opacity: 0;
    transform: translateY(1rem);
    pointer-events: none;
    transition: opacity .3s, transform .3s;
}

#scroll-up.active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

#menuToggleBtn span {
    transition: transform .3s, opacity .3s;
}

#menuToggleBtn.active span:nth-child(1),
#menuToggleBtn.active span:nth-child(3) {
    transform: rotate(45deg) translateY(7px);
}

#menuToggleBtn.active span:nth-child(2) {
    opacity: 0;
}

#reviewModal {
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s;
}

#reviewModal.active {
    opacity: 1;
    pointer-events: auto;
}

#reviewSuccessModal {
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s;
}

#reviewSuccessModal.active {
    opacity: 1;
    pointer-events: auto;
}

#albumGallery {
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s;
}

#albumGallery.active {
    opacity: 1;
    pointer-events: auto;
}

#hallGallery {
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s;
}

#hallGallery.active {
    opacity: 1;
    pointer-events: auto;
}

#galleryModal {
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s;
}

#galleryModal.active {
    opacity: 1;
    pointer-events: auto;
}

.reviews__slider .slick-list,
.reviews__slider .slick-track {
    height: 100% !important;
}

.question.active .answer {
    grid-template-rows: 1fr;
}

.question.active .arrow {
    transform: rotate(90deg);
}

div.from-theory-to-practice-information {
    display: none;
}
div.from-theory-to-practice-information.active {
    display: grid;
}


.probgram-switch-btn.active {
    border: 1px solid var(--pink-200);
    background: rgba(110,40,56,.5);
}

.probgram-switch-btn.active span {
    color: var(--pink-100);
}


#choose-a-rate .answer-btn.active {
    border: 1px solid var(--pink-200);
    color: var(--pink-100);
    background-color: rgba(110,40,56,.5);
}

.blog-filter-btn.active {
    background-color: #FFFFFF;
    color: var(--pink-600);
}

.slider-hover:hover .slider-btn {
    opacity: 1;
}

#questions-and-answers-become-a-member .question.active .answer,
#questions-and-answers .question.active .answer {
    grid-template-rows: 1fr;
}

#questions-and-answers-become-a-member .question.active .arrow,
#questions-and-answers .question.active .arrow {
    transform: rotate(90deg);
}
[id^="questions-and-answers"] .question.active .answer {
    grid-template-rows: 1fr;
}

[id^="questions-and-answers"] .question.active .arrow {
    transform: rotate(90deg);
}
.per-sempre-pagination-wrap {
    display: flex;
    justify-content: center;
    margin-top: 32px;
    margin-bottom: 16px;
}

.per-sempre-pagination {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.per-sempre-pagination .page-item {
    display: inline-flex;
}

.per-sempre-pagination .page-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border-radius: 8px;
    border: 1px solid #E6DFD7;
    background-color: #FFFFFF;
    color: #2B2422;
    font-size: 15px;
    line-height: 1;
    text-decoration: none;
    user-select: none;
    box-shadow: 0 2px 6px rgba(43, 36, 34, 0.03);
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.15s ease;
}

.per-sempre-pagination a.page-link:hover {
    background-color: #FAF7F2;
    border-color: #4A0E1B;
    color: #4A0E1B;
    transform: translateY(-1px);
}

.per-sempre-pagination a.page-link:focus-visible {
    outline: 2px solid #4A0E1B;
    outline-offset: 2px;
}

.per-sempre-pagination .page-item.active .page-link {
    background-color: #4A0E1B;
    border-color: #4A0E1B;
    color: #FFFFFF;
    font-weight: 600;
    box-shadow: 0 4px 10px rgba(74, 14, 27, 0.18);
    cursor: default;
}

.per-sempre-pagination .page-item.disabled .page-link {
    background-color: #FAF7F2;
    border-color: #EFEAE3;
    color: #B5A8A3;
    box-shadow: none;
    cursor: not-allowed;
    pointer-events: none;
}

.per-sempre-pagination .page-item.disabled .page-dots {
    background-color: transparent;
    border-color: transparent;
    color: #8C7A75;
    min-width: 28px;
    padding: 0 4px;
    font-family: sans-serif;
    letter-spacing: 1px;
}

/* BLOG ARTICLE CONTENT */
/* Article container */
.article-content {
    line-height: 1.7;
    color: #1f2937;
}

/* Headings */
.article-content h2 {
    font-size: 2.875rem;
    line-height: 1.25;
    margin-top: 0;
    margin-bottom: 1.25rem;
    color: #111827;
}

.article-content h3 {
    font-size: 1.375rem;
    line-height: 1.35;
    margin-top: 2.25rem;
    margin-bottom: 0.75rem;
    color: #111827;
}

.article-content h4 {
    font-size: 1.1rem;
    line-height: 1.35;
    margin-top: 2.25rem;
    margin-bottom: 0.75rem;
    color: #111827;
}

/* Paragraphs & inline elements */
.article-content p {
    margin-top: 0;
    margin-bottom: 1.1rem;
}

.article-content strong {
    font-weight: 600;
    color: #111827;
}

.article-content a {
    color: #2563eb;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.article-content a:hover {
    color: #1d4ed8;
}

/* Lists */
.article-content ul,
.article-content ol {
    margin-top: 0;
    margin-bottom: 1.35rem;
    padding-left: 1.5rem;
}

.article-content ul {
    list-style: disc;
}

.article-content ol {
    list-style: decimal;
}

.article-content li {
    margin-bottom: 0.65rem;
}

.article-content li > strong {
    display: inline;
}

/* Tables (overrides inline table styles if needed—add !important only if necessary) */
.article-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.75rem 0;
    font-size: 0.9375rem;
    line-height: 1.5;
    display: block;
    overflow-x: auto;
}

.article-content thead th {
    font-weight: 600;
    text-align: left;
    padding: 0.75rem 0.9rem;
    border-bottom: 2px solid #d1d5db;
}

.article-content tbody td {
    padding: 0.75rem 0.9rem;
    border-bottom: 1px solid #e5e7eb;
    vertical-align: top;
}

/* Optional extras for expanded articles */
.article-content blockquote {
    margin: 1.5rem 0;
    padding: 0.75rem 1.25rem;
    border-left: 4px solid #d1d5db;
    background-color: #f9fafb;
    color: #374151;
}

.article-content hr {
    border: 0;
    border-top: 1px solid #e5e7eb;
    margin: 2rem 0;
}

.article-content a {
    color: var(--pink-600);
    transition: color .2s;
}

.article-content a:hover {
    color: var(--pink-800);
}


/* CATALOG FILTER */
/* Mobile & tablet (below Tailwind's xl breakpoint: 1280px) */
@media (max-width: 1279.98px) {
    .catalog-filter {
        height: calc(100dvh - 40px);
        transform: translateX(-100%);
        visibility: hidden;
        transition: transform .4s;
    }

    .catalog-filter.active {
        transform: translateX(0);
        visibility: visible;
    }
}

/* Desktop (xl and up: 1280px+) */
@media (min-width: 1280px) {
    .catalog-filter {
        transform: none;
        visibility: visible;
    }
}
#catalog-filter-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100dvw;
    height: 100dvh;
    z-index: 99;
    opacity: 0;
    background-color: #00000044;
    pointer-events: none;
    transition: opacity .25s;
}

#catalog-filter-backdrop.active {
    opacity: 1;
    pointer-events: auto;
}
