/* =========================================================
   HOME HERO
========================================================= */

.home-hero {
    padding-top: 23px;
}

.home-hero__grid {
    display: grid;
    min-width: 0;
    min-height: 632px;
    grid-template-columns: 653px minmax(0, 1fr);
    column-gap: 48px;
}


/* =========================================================
   HERO MAIN IMAGE
========================================================= */

.home-hero__media {
    position: relative;
    width: 653px;
    height: 632px;
    min-width: 0;
    overflow: hidden;
    border-radius: var(--border-radius);
    background: rgba(44, 44, 44, 0.04);
}

.home-hero__main-image {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: center;
    pointer-events: none;
    opacity: 0;
    transform: scale(1.012);
    will-change: opacity, transform;
    transition:
        opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
        transform 1s cubic-bezier(0.22, 1, 0.36, 1);
}

.home-hero__main-image.is-active {
    z-index: 2;
    opacity: 1;
    transform: scale(1);
}


/* =========================================================
   HERO CONTENT
========================================================= */

.home-hero__content {
    display: flex;
    width: 100%;
    max-width: 600px;
    min-width: 0;
    min-height: 632px;
    flex-direction: column;
    align-items: stretch;
    justify-self: start;
    padding: 37px 0 61px;
}

.home-hero__top {
    width: 100%;
    min-width: 0;
    text-align: center;
}

.home-hero__title {
    margin: 0;
    color: var(--color-text);
    font-family: var(--font-main);
    font-size: 56px;
    line-height: 0.98;
    font-weight: 250;
    letter-spacing: -4%;
    text-align: center;
    text-transform: uppercase;
}

.home-hero__text {
    max-width: 590px;
    margin: 22px auto 0;
    color: var(--color-text);
    font-family: var(--font-main);
    font-size: 16px;
    line-height: 1.35;
    font-weight: 500;
    text-align: center;
}


/* =========================================================
   HERO BUTTONS
========================================================= */

.home-hero__actions {
    display: grid;
    width: 100%;
    max-width: 580px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin: 24px auto 0;
}

.home-hero__button {
    display: inline-flex;
    width: 100%;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 10px 24px;
    appearance: none;
    border: 1px solid transparent;
    border-radius: var(--border-radius);
    font-family: var(--font-main);
    font-size: 14px;
    line-height: 1.08;
    font-weight: 500;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition:
        color 0.25s ease,
        background-color 0.25s ease,
        border-color 0.25s ease;
}

.home-hero__button--primary {
    border-color: var(--color-accent);
    color: #ffffff;
    background: var(--color-accent);
}

.home-hero__button--primary:hover {
	border-color: rgba(162, 86, 61, 1);
    color: #ffffff;
    background: rgba(162, 86, 61, 1);
}

.home-hero__button--secondary {
    border-color: rgba(234, 234, 234, 1);
    color: var(--color-text);
    background: rgba(246, 245, 241, 1);
}

.home-hero__button--secondary:hover {
    color: rgba(146, 70, 45, 1);
    background: rgba(247, 208, 108, 1);
    border-color: rgba(247, 208, 108, 1);
}

.home-hero__button:focus-visible {
    outline: 2px solid var(--color-accent);
    outline-offset: 3px;
}




/* =========================================================
   HERO GALLERY
========================================================= */

.home-hero__gallery {
    display: flex;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    align-items: center;
    justify-content: flex-start;
    gap: 15px;
    margin-top: auto;
    padding: 0;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    scroll-snap-type: x proximity;
    overscroll-behavior-inline: contain;
    scrollbar-width: none;
}

.home-hero__gallery::-webkit-scrollbar {
    display: none;
}

.home-hero__gallery-item:first-child {
    margin-left: auto;
}

.home-hero__gallery-item:last-child {
    margin-right: auto;
}


/* =========================================================
   HERO GALLERY ITEM
========================================================= */

.home-hero__gallery-item {
    position: relative;
    display: block;
    width: 113px;
    height: 113px;
    min-width: 113px;
    flex: 0 0 113px;
    margin-top: 0;
    margin-bottom: 0;
    padding: 0;
    overflow: hidden;
    scroll-snap-align: start;
    appearance: none;
    border: 0;
    border-radius: var(--border-radius);
    outline: none;
    color: inherit;
    background: transparent;
    box-shadow: none;
    cursor: pointer;
    opacity: 1;
    transform: none;
}

.home-hero__gallery-item:hover,
.home-hero__gallery-item.is-active {
    border: 0;
    opacity: 1;
    box-shadow: none;
    transform: none;
}

.home-hero__gallery-item:focus-visible {
    outline: 2px solid var(--color-accent);
    outline-offset: 3px;
}


/* =========================================================
   HERO GALLERY IMAGE
========================================================= */

.home-hero__gallery-image {
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: center;
    pointer-events: none;
    opacity: 1;
    transform: none;
}

.home-hero__gallery-item:hover .home-hero__gallery-image,
.home-hero__gallery-item.is-active .home-hero__gallery-image {
    opacity: 1;
    transform: none;
}


/* =========================================================
   HERO RESPONSIVE — SMALL DESKTOP
========================================================= */

@media (max-width: 1240px) {
    .home-hero__grid {
        min-height: auto;
        grid-template-columns:
            minmax(0, 1fr)
            minmax(0, 1fr);
        column-gap: 32px;
    }

    .home-hero__media {
        width: 100%;
        height: auto;
        aspect-ratio: 653 / 632;
    }

    .home-hero__main-image {
        width: 100%;
        height: 100%;
        max-width: 100%;
    }

    .home-hero__content {
        min-height: 100%;
        padding: 40px 0;
    }

    .home-hero__title {
        font-size: clamp(42px, 4.5vw, 56px);
    }

    .home-hero__text {
        font-size: 15px;
    }

    .home-hero__gallery {
        gap: 12px;
    }

    .home-hero__gallery-item {
        width: 96px;
        height: 96px;
        min-width: 96px;
        flex-basis: 96px;
    }
}


/* =========================================================
   HERO RESPONSIVE — TABLET
========================================================= */

@media (max-width: 991px) {
    .home-hero {
        padding-top: 18px;
    }

    .home-hero__grid {
        grid-template-columns: 1fr;
        row-gap: 36px;
    }

    .home-hero__media {
        width: min(100%, 653px);
        justify-self: center;
    }

    .home-hero__content {
        width: min(100%, 653px);
        max-width: 653px;
        min-height: auto;
        justify-self: center;
        padding: 0 0 70px;
    }

    .home-hero__top {
        width: min(100%, 600px);
        margin: 0 auto;
    }

    .home-hero__gallery {
        margin-top: 42px;
    }
}


/* =========================================================
   HERO RESPONSIVE — MOBILE
========================================================= */

@media (max-width: 767px) {
    .home-hero {
        padding-top: 14px;
    }

    .home-hero__grid {
        row-gap: 28px;
    }

    .home-hero__title {
        font-size: 42px;
        line-height: 40px;
        font-weight: 200;
        letter-spacing: -3%;
    }

    .home-hero__text {
		margin-top: 24px;
        font-size: 16px;
        font-weight: 400;
    }

    .home-hero__actions {
        grid-template-columns: 1fr;
        gap: 12px;
        margin-top: 24px;
    }
    
    .home-hero__button {
    font-size: 15px;
    line-height: 93%;
    font-weight: 600;
    letter-spacing: -4%;
	}

	.home-hero__gallery {
    display: none;
}

}


/* =========================================================
   HERO RESPONSIVE — SMALL MOBILE
========================================================= */

@media (max-width: 480px) {
    .home-hero__title {
        font-size: 42px;
    }

    .home-hero__button {
        min-height: 46px;
    }
}


/* =========================================================
   HERO REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {
    .home-hero__gallery {
        scroll-behavior: auto;
    }

    .home-hero__button {
        transition: none;
    }
}



/* =========================================================
   HOME STATEMENT
========================================================= */

.home-statement {
    position: relative;
    height: 438px;
    overflow: visible;
}

.home-statement::before,
.home-statement::after {
    position: absolute;
    z-index: 0;
    width: 650px;
    height: 650px;
    border: 1px solid rgba(234, 234, 234, 1);
    border-radius: 50%;
    content: "";
    pointer-events: none;
}

.home-statement::before {
    top: -326px;
    left: max(
        16px,
        calc((100% - 1408px) / 2 + 66px)
    );
}

.home-statement::after {
    right: max(
        16px,
        calc((100% - 1408px) / 2 + 92px)
    );
    bottom: -326px;
}

.home-statement__container {
    position: relative;
    z-index: 1;
    display: flex;
    height: 438px;
    align-items: center;
    justify-content: center;
}

.home-statement__title {
    width: 100%;
    max-width: 1200px;
    margin: 0;
    color: var(--color-text);
    font-family: var(--font-main);
    font-size: 75px;
    line-height: 0.96;
    font-weight: 250;
    letter-spacing: -0.03em;
    text-align: center;
    text-transform: uppercase;
}


/* =========================================================
   HOME STATEMENT — RESPONSIVE
========================================================= */

@media (max-width: 1240px) {
    .home-statement__title {
        font-size: clamp(54px, 6vw, 75px);
    }

    .home-statement::before,
    .home-statement::after {
        width: 560px;
        height: 560px;
    }

    .home-statement::before {
        top: -280px;
        left: 0;
    }

    .home-statement::after {
        right: 0;
        bottom: -280px;
    }
}

@media (max-width: 991px) {
    .home-statement {
        display: none;
    }
}



/* =========================================================
   HOME COURSES
========================================================= */

.home-courses {
    position: relative;
    scroll-margin-top: 80px;
}

.home-courses__frame {
    overflow: hidden;
    border-radius: var(--border-radius);
    color: #ffffff;
    background: var(--color-accent);
}

.home-courses__container {
    padding-top: 40px;
    padding-bottom: 40px;
}


/* =========================================================
   COURSES HEADER
========================================================= */

.home-courses__head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    gap: 60px;
    margin-bottom: 34px;
}

.home-courses__heading {
    max-width: 620px;
}

.home-courses__title {
    margin: 0;
    color: #ffffff;
    font-size: 75px;
    line-height: 0.96;
    font-weight: 250;
    letter-spacing: -0.04em;
    text-transform: uppercase;
}

.home-courses__text {
    max-width: 510px;
    margin: 10px 0 0;
    color: rgba(246, 245, 241, 1);
    font-size: 16px;
    line-height: 1.4;
    letter-spacing: -0.02em;
}

.home-courses__filters {
    display: inline-flex;
    align-items: center;
    padding: 3px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 999px;
}

.home-courses__filter {
    display: inline-flex;
    min-width: 88px;
    min-height: 31px;
    align-items: center;
    justify-content: center;
    padding: 7px 18px;
    appearance: none;
    border: 0;
    border-radius: 999px;
    color: #ffffff;
    background: transparent;
    font-family: var(--font-main);
    font-size: 15px;
    line-height: 1;
    font-weight: 500;
    cursor: pointer;
    transition:
        color 0.2s ease,
        background-color 0.2s ease;
}

.home-courses__filter.is-active {
    color: var(--color-text);
    background: #ffffff;
}


/* =========================================================
   COURSES BODY
========================================================= */

.home-courses__body {
    display: grid;
    grid-template-columns: 488px minmax(0, 1fr);
    align-items: start;
    gap: 20px;
}

.home-courses__media {
    width: 488px;
    height: 431px;
    overflow: hidden;
    border-radius: var(--border-radius);
    background: rgba(255, 255, 255, 0.08);
}

.home-courses__image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: grayscale(1);
}

.home-courses__catalog {
    min-width: 0;
}


/* =========================================================
   COURSE DIRECTIONS
========================================================= */

.home-courses__directions {
    display: grid;
}

.home-courses__direction {
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.home-courses__direction[hidden],
.home-courses__direction.is-mode-hidden {
    display: none !important;
}

.home-courses__direction-toggle {
    display: flex;
    width: 100%;
    min-height: 71px;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 13px 8px 13px 0;
    appearance: none;
    border: 0;
    color: #ffffff;
    background: transparent;
    font-family: var(--font-main);
    text-align: left;
    cursor: pointer;
}

.home-courses__direction-main {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 18px;
}

.home-courses__direction-icon {
    display: flex;
    width: 30px;
    height: 30px;
    flex: 0 0 30px;
    align-items: center;
    justify-content: center;
}

.home-courses__direction-icon img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.home-courses__direction-name {
    color: #ffffff;
    font-size: 18px;
    line-height: 1.25;
    font-weight: 500;
    letter-spacing: -0.04em;
    text-transform: uppercase;
}


/* =========================================================
   DIRECTION ARROW
========================================================= */

.home-courses__direction-arrow {
    position: relative;
    display: block;
    width: 12px;
    height: 12px;
    flex: 0 0 12px;
    color: #ffffff;
}

.home-courses__direction-arrow::before,
.home-courses__direction-arrow::after {
    position: absolute;
    top: 5px;
    width: 7.5px;
    height: 1px;
    background: currentColor;
    content: "";
    transition: transform 0.2s ease;
}

.home-courses__direction-arrow::before {
    left: 0;
    transform: rotate(45deg);
}

.home-courses__direction-arrow::after {
    right: 0;
    transform: rotate(-45deg);
}

.home-courses__direction.is-open
.home-courses__direction-arrow::before {
    transform: rotate(-45deg);
}

.home-courses__direction.is-open
.home-courses__direction-arrow::after {
    transform: rotate(45deg);
}


/* =========================================================
   COURSE LINKS
========================================================= */

.home-courses__direction-panel {
    display: grid;
    gap: 10px;
    padding: 0 0 16px;
}

.home-courses__direction-panel[hidden] {
    display: none !important;
}

.home-courses__course {
    display: flex;
    width: 100%;
    min-height: 55px;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 8px 13px;
    border-radius: var(--border-radius);
    color: #ffffff;
    background: transparent;
    text-decoration: none;
    transition: background-color 0.2s ease;
}

.home-courses__course[hidden] {
    display: none !important;
}

.home-courses__course:hover {
    background: rgba(255, 255, 255, 0.12);
}

.home-courses__course-title {
    min-width: 0;
    color: #ffffff;
    font-size: 18px;
    line-height: 1.3;
    font-weight: 500;
}

.home-courses__course-right {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 24px;
}

.home-courses__course-meta {
    color: rgba(255, 255, 255, 0.62);
    font-size: 12px;
    line-height: 1.3;
    white-space: nowrap;
}

.home-courses__course-icon {
    display: inline-flex;
    width: 24px;
    height: 24px;
    flex: 0 0 24px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--color-accent);
    background: #ffffff;
    font-size: 17px;
    line-height: 1;
    font-weight: 500;
    transition:
        color 0.2s ease,
        background-color 0.2s ease;
}

.home-courses__course:hover
.home-courses__course-icon {
    color: var(--color-text);
    background: #ffd66b;
}


/* =========================================================
   MORE COURSES
========================================================= */

.home-courses__more {
    display: flex;
    width: 100%;
    min-height: 40px;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-top: 16px;
    padding: 8px 22px;
    appearance: none;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 999px;
    color: #ffffff;
    background: transparent;
    font-family: var(--font-main);
    font-size: 12px;
    line-height: 1.2;
    font-weight: 500;
    text-align: left;
    text-decoration: none;
    cursor: pointer;
    transition:
        color 0.2s ease,
        background-color 0.2s ease;
}

.home-courses__more:hover {
    color: var(--color-accent);
    background: #ffffff;
}

.home-courses__more-arrow {
    position: relative;
    display: block;
    width: 12px;
    height: 12px;
    flex: 0 0 12px;
    color: currentColor;
}

.home-courses__more-arrow::before,
.home-courses__more-arrow::after {
    position: absolute;
    top: 5px;
    width: 8px;
    height: 1px;
    background: currentColor;
    content: "";
    transition: transform 0.2s ease;
}

.home-courses__more-arrow::before {
    left: 0;
    transform: rotate(45deg);
}

.home-courses__more-arrow::after {
    right: 0;
    transform: rotate(-45deg);
}

.home-courses__more.is-open
.home-courses__more-arrow::before {
    transform: rotate(-45deg);
}

.home-courses__more.is-open
.home-courses__more-arrow::after {
    transform: rotate(45deg);
}


/* =========================================================
   MOBILE COURSE BOTTOM SHEET
========================================================= */

.home-course-sheet {
    display: none;
}

body.is-course-sheet-open {
    overflow: hidden;
}


/* =========================================================
   HOME COURSES RESPONSIVE — TABLET
========================================================= */

@media (max-width: 1240px) {
    .home-courses__body {
        grid-template-columns:
            minmax(360px, 0.75fr)
            minmax(0, 1fr);
    }

    .home-courses__media {
        width: 100%;
        height: auto;
        aspect-ratio: 488 / 431;
    }

    .home-courses__title {
        font-size: clamp(56px, 6vw, 75px);
    }
}

@media (max-width: 991px) {
    .home-courses__frame {
        width: 100vw;
        max-width: none;
        margin-right: calc(50% - 50vw);
        margin-left: calc(50% - 50vw);
        border-radius: 16px;
    }

    .home-courses__container {
        padding-top: 30px;
        padding-bottom: 32px;
    }

    .home-courses__head {
        align-items: start;
        gap: 30px;
    }

    .home-courses__title {
        color: rgba(246, 245, 241, 1);
        font-size: 32px;
        line-height: 1.01;
        font-weight: 250;
        letter-spacing: -0.02em;
    }

    .home-courses__text {
        margin: 20px 0 0;
        color: rgba(246, 245, 241, 1);
        font-size: 16px;
        line-height: 1.54;
        letter-spacing: -0.008em;
    }

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

    .home-courses__media {
        width: min(100%, 620px);
        justify-self: center;
    }
}


/* =========================================================
   HOME COURSES RESPONSIVE — MOBILE
========================================================= */

@media (max-width: 767px) {
    .home-courses {
        scroll-margin-top: 80px;
    }

    .home-courses__head {
        grid-template-columns: 1fr;
        gap: 22px;
        margin-bottom: 28px;
    }

    .home-courses__text {
        font-size: 14px;
    }

    .home-courses__filters {
        display: grid;
        width: 100%;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        justify-self: stretch;
        padding: 3px;
        border: 1px solid rgba(255, 255, 255, 0.14);
        border-radius: 999px;
    }

    .home-courses__filter {
        width: 100%;
        min-width: 0;
        min-height: 40px;
        padding: 9px 16px;
        border-radius: 999px;
        font-size: 16px;
        line-height: 1;
        text-align: center;
    }

    .home-courses__direction-toggle {
        min-height: 62px;
    }

    .home-courses__direction-name {
        font-size: 15px;
    }

    .home-courses__course {
        align-items: center;
        gap: 14px;
        padding: 12px;
    }

    .home-courses__course-title {
        font-size: 15px;
    }

    .home-courses__course-right {
        gap: 10px;
    }

    .home-courses__course-meta {
        display: none;
    }

    .home-courses__media {
        display: none;
    }

    .home-courses__body {
        gap: 0;
    }
}


/* =========================================================
   HOME COURSE BOTTOM SHEET — MOBILE / TABLET
========================================================= */

@media (max-width: 991px) {
    .home-course-sheet[hidden] {
        display: none !important;
    }

    .home-course-sheet {
        position: fixed;
        inset: 0;
        z-index: 99999;
        display: block;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition:
            opacity 0.22s ease,
            visibility 0.22s ease;
    }

    .home-course-sheet.is-open {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .home-course-sheet__backdrop {
        position: absolute;
        inset: 0;
        display: block;
        width: 100%;
        height: 100%;
        margin: 0;
        padding: 0;
        appearance: none;
        border: 0;
        background: rgba(44, 44, 44, 0.54);
        cursor: pointer;
    }

    .home-course-sheet__dialog {
        position: absolute;
        right: 0;
        bottom: 0;
        left: 0;
        max-height: calc(100dvh - 82px);
        padding: 12px 16px 24px;
        overflow-x: hidden;
        overflow-y: auto;
        border-radius: 13px 13px 0 0;
        color: var(--color-text);
        background: var(--color-background);
        transform: translateY(100%);
        transition: transform 0.22s ease;
    }

    .home-course-sheet__dialog[hidden] {
        display: none !important;
    }

    .home-course-sheet__dialog.is-active {
        transform: translateY(0);
    }

    .home-course-sheet__handle {
        display: block;
        width: 28px;
        height: 4px;
        margin: 0 auto 20px;
        border-radius: 999px;
        background: rgba(44, 44, 44, 0.18);
    }

    .home-course-sheet__head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 18px;
        margin-bottom: 34px;
    }

    .home-course-sheet__title {
        margin: 0;
        color: var(--color-text);
        font-size: 15px;
        line-height: 1.15;
        font-weight: 600;
        letter-spacing: -0.01em;
        text-transform: uppercase;
    }

    .home-course-sheet__close {
        display: inline-flex;
        width: 28px;
        height: 28px;
        flex: 0 0 28px;
        align-items: center;
        justify-content: center;
        margin: 0;
        padding: 0;
        appearance: none;
        border: 0;
        color: var(--color-text);
        background: transparent;
        font-family: var(--font-main);
        font-size: 36px;
        line-height: 1;
        font-weight: 300;
        cursor: pointer;
    }

    .home-course-sheet__gallery {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
        margin-bottom: 24px;
    }

    .home-course-sheet__gallery.has-more {
        grid-template-columns:
            minmax(0, 1fr)
            minmax(0, 1fr)
            56px;
    }

    .home-course-sheet__gallery-item {
        height: 136px;
        overflow: hidden;
        border: 0;
        border-radius: 10px;
        background: rgba(44, 44, 44, 0.06);
    }

    .home-course-sheet__gallery-image {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }

    .home-course-sheet__gallery-more {
        display: flex;
        min-height: 132px;
        align-items: center;
        justify-content: center;
        border: 1px solid rgba(44, 44, 44, 0.08) !important;
        border-radius: 10px;
        color: var(--color-text);
        background: transparent;
        font-size: 15px;
        line-height: 1;
        font-weight: 600;
    }

    .home-course-sheet__gallery-item,
    .home-course-sheet__gallery-more {
        appearance: none;
        padding: 0;
        font-family: var(--font-main);
        cursor: pointer;
    }

    .home-course-sheet__info {
        display: grid;
        gap: 17px;
        margin-bottom: 22px;
    }

    .home-course-sheet__info-item {
        display: grid;
        grid-template-columns: 24px minmax(0, 1fr);
        gap: 11px;
        align-items: start;
    }

    .home-course-sheet__info-icon {
        display: flex;
        width: 24px;
        height: 24px;
        align-items: center;
        justify-content: center;
    }

    .home-course-sheet__info-icon img {
        display: block;
        width: 24px;
        height: 24px;
        object-fit: contain;
    }

    .home-course-sheet__info-title {
        margin: 0 0 8px;
        color: var(--color-text);
        font-size: 16px;
        line-height: 1.15;
        font-weight: 600;
        letter-spacing: -0.02em;
    }

    .home-course-sheet__info-text {
        margin: 0;
        color: rgba(44, 44, 44, 0.5);
        font-size: 16px;
        line-height: 1.55;
        font-weight: 400;
        letter-spacing: -0.02em;
    }

    .home-course-sheet__button {
        display: flex;
        width: 100%;
        min-height: 47px;
        align-items: center;
        justify-content: center;
        padding: 12px 24px;
        border-radius: 8px;
        color: #ffffff;
        background: var(--color-accent);
        font-size: 14px;
        line-height: 1.1;
        font-weight: 600;
        text-align: center;
        text-decoration: none;
    }
}


/* =========================================================
   MOBILE / TABLET COURSE GALLERY VIEWER
========================================================= */

@media (max-width: 991px) {
    .home-course-sheet-viewer[hidden] {
        display: none !important;
    }

    .home-course-sheet__dialog.is-gallery-viewer-open {
        position: fixed;
        inset: 0;
        z-index: 10;
        width: 100vw;
        height: 100vh;
        height: 100dvh;
        max-height: none;
        padding: 0;
        overflow: hidden;
        border-radius: 0;
        background: #292929;
        transform: none;
    }

    .home-course-sheet__dialog.is-gallery-viewer-open
    > :not(.home-course-sheet-viewer) {
        visibility: hidden;
        pointer-events: none;
    }

    .home-course-sheet-viewer {
        position: fixed;
        inset: 0;
        z-index: 100000;
        display: block;
        width: 100vw;
        height: 100vh;
        height: 100dvh;
        overflow: hidden;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        color: #ffffff;
        background: #292929;
        transition:
            opacity 0.22s ease,
            visibility 0.22s ease;
    }

    .home-course-sheet-viewer.is-open {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .home-course-sheet-viewer__backdrop {
        position: absolute;
        inset: 0;
        display: block;
        width: 100%;
        height: 100%;
        margin: 0;
        padding: 0;
        appearance: none;
        border: 0;
        background: #292929;
        cursor: default;
    }

    .home-course-sheet-viewer__dialog {
        position: fixed;
        inset: 0;
        display: flex;
        width: 100vw;
        height: 100vh;
        height: 100dvh;
        max-width: none;
        max-height: none;
        flex-direction: column;
        overflow: hidden;
        border-radius: 0;
        color: #ffffff;
        background: #292929;
    }

    .home-course-sheet-viewer__top {
        position: absolute;
        z-index: 5;
        top: 23px;
        right: 16px;
        left: 16px;
        display: flex;
        min-height: 38px;
        align-items: center;
        justify-content: space-between;
        gap: 24px;
        padding: 0;
    }

    .home-course-sheet-viewer__counter {
        color: rgba(255, 255, 255, 0.58);
        font-size: 14px;
        line-height: 1.2;
        font-weight: 400;
    }

    .home-course-sheet-viewer__close {
        display: inline-flex;
        width: 38px;
        height: 38px;
        align-items: center;
        justify-content: center;
        margin: 0;
        padding: 0;
        appearance: none;
        border: 0;
        color: #ffffff;
        background: transparent;
        font-family: var(--font-main);
        font-size: 24px;
        line-height: 1;
        font-weight: 300;
        cursor: pointer;
    }

    .home-course-sheet-viewer__close-icon {
        display: flex;
        width: 38px;
        height: 38px;
        align-items: center;
        justify-content: center;
    }

    .home-course-sheet-viewer__stage {
        position: relative;
        display: flex;
        width: 100%;
        height: 100%;
        min-height: 0;
        flex: 1 1 auto;
        align-items: center;
        justify-content: center;
        overflow: hidden;
        padding: 90px 16px 68px;
        box-sizing: border-box;
        touch-action: pan-y;
    }

    .home-course-sheet-viewer__slides {
        position: relative;
        width: calc(100vw - 32px);
        max-width: 361px;
        height: auto;
        min-height: 382px;
    }

    .home-course-sheet-viewer__slide {
        display: none;
        width: 100%;
        margin: 0;
        padding: 0;
        text-align: center;
        will-change: transform, opacity;
    }

    .home-course-sheet-viewer__slide.is-active {
        display: block;
    }

    .home-course-sheet-viewer__image {
        display: block;
        width: 100%;
        height: 328px;
        margin: 0 auto;
        border-radius: 10px;
        object-fit: cover;
        object-position: center;
        user-select: none;
        pointer-events: none;
        -webkit-user-drag: none;
    }

    .home-course-sheet-viewer__caption {
        max-width: 320px;
        margin: 14px auto 0;
        color: rgba(255, 255, 255, 0.52);
        font-size: 16px;
        line-height: 1.35;
        font-weight: 400;
        text-align: center;
    }

    .home-course-sheet-viewer__arrow {
        display: none;
    }

    .home-course-sheet-viewer__progress {
        position: absolute;
        z-index: 5;
        bottom: 17px;
        left: 50%;
        display: block;
        width: 25px;
        height: 4px;
        overflow: hidden;
        border-radius: 999px;
        background: rgba(255, 255, 255, 0.16);
        transform: translateX(-50%);
    }

    .home-course-sheet-viewer__progress span {
        display: block;
        width: 0;
        height: 100%;
        border-radius: inherit;
        background: #ffffff;
        transition: width 0.22s ease;
    }
}


/* =========================================================
   TABLET COURSE GALLERY VIEWER
========================================================= */

@media (min-width: 768px) and (max-width: 991px) {
    .home-course-sheet-viewer__slides {
        max-width: 620px;
        min-height: 494px;
    }

    .home-course-sheet-viewer__image {
        height: 440px;
    }
}


/* =========================================================
   SMALL MOBILE COURSE GALLERY VIEWER
========================================================= */

@media (max-width: 480px) {
    .home-courses__filter {
        min-width: 78px;
        min-height: 34px;
        padding-inline: 14px;
        font-size: 13px;
    }

    .home-courses__direction-main {
        gap: 12px;
    }

    .home-courses__direction-icon {
        width: 26px;
        height: 26px;
        flex-basis: 26px;
    }
}

@media (max-width: 380px) {
    .home-course-sheet-viewer__stage {
        padding-right: 12px;
        padding-left: 12px;
    }

    .home-course-sheet-viewer__top {
        right: 12px;
        left: 12px;
    }

    .home-course-sheet-viewer__slides {
        width: calc(100vw - 24px);
        min-height: 364px;
    }

    .home-course-sheet-viewer__image {
        height: 310px;
    }

    .home-course-sheet__gallery {
        gap: 12px;
    }

    .home-course-sheet__gallery.has-more {
        grid-template-columns:
            minmax(0, 1fr)
            minmax(0, 1fr)
            50px;
    }

    .home-course-sheet__gallery-item,
    .home-course-sheet__gallery-more {
        min-height: 118px;
        height: 118px;
    }
}

/* =========================================================
   HOME COURSES REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {
    .home-courses__filter,
    .home-courses__course,
    .home-courses__course-icon,
    .home-courses__more,
    .home-courses__direction-arrow::before,
    .home-courses__direction-arrow::after,
    .home-courses__more-arrow::before,
    .home-courses__more-arrow::after,
    .home-course-sheet,
    .home-course-sheet__dialog {
        transition: none;
    }
}


/* =========================================================
   HOME ADVANTAGES
========================================================= */

.home-advantages {
    padding-top: 170px;
}

.home-advantages__heading {
    margin: 0 0 38px;
    color: var(--color-accent);
    font-size: 75px;
    line-height: 0.96;
    font-weight: 250;
    letter-spacing: -0.04em;
    text-transform: uppercase;
}

.home-advantages__card-open,
.home-advantage-sheet,
.home-advantage-viewer {
    display: none;
}

body.is-advantage-sheet-open {
    overflow: hidden;
}


/* =========================================================
   ADVANTAGES VISUAL
========================================================= */

.home-advantages__visual {
    position: relative;
    height: 418px;
    overflow: hidden;
    border-radius: var(--border-radius);
    background: var(--color-text);
}

.home-advantages__image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: grayscale(1);
}

.home-advantages__overlay {
    position: absolute;
    z-index: 1;
    inset: 0;
    pointer-events: none;
    background: rgba(44, 44, 44, 0.08);
}

.home-advantages__circles {
    position: absolute;
    z-index: 2;
    inset: 0;
    pointer-events: none;
}

.home-advantages__circles span {
    position: absolute;
    top: 50%;
    width: 420px;
    height: 420px;
    border: 1px solid rgba(246, 245, 241, 0.48);
    border-radius: 50%;
    transform: translateY(-50%);
}

.home-advantages__circles span:nth-child(1) {
    left: -5px;
}

.home-advantages__circles span:nth-child(2) {
    left: 50%;
    transform: translate(-50%, -50%);
}

.home-advantages__circles span:nth-child(3) {
    right: -5px;
}


/* =========================================================
   ADVANTAGES STATS
========================================================= */

.home-advantages__stats {
    position: absolute;
    z-index: 3;
    inset: 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: center;
}

.home-advantages__stat {
    padding: 20px;
    color: #ffffff;
    text-align: center;
}

.home-advantages__stat-value {
    color: #ffffff;
    font-size: 64px;
    line-height: 0.95;
    font-weight: 400;
    letter-spacing: -0.045em;
    text-transform: uppercase;
}

.home-advantages__stat-label {
    margin-top: 17px;
    color: #ffffff;
    font-size: 14px;
    line-height: 1.25;
    font-weight: 500;
    text-transform: uppercase;
}


/* =========================================================
   ADVANTAGES CARDS
========================================================= */

.home-advantages__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    overflow: hidden;
    margin-top: 20px;
    border: 1px solid rgba(44, 44, 44, 0.06);
    border-radius: var(--border-radius);
    background: transparent;
}

.home-advantages__card {
    position: relative;
    min-height: 225px;
    padding: 25px 20px;
    border-right: 1px solid rgba(44, 44, 44, 0.06);
    border-bottom: 1px solid rgba(44, 44, 44, 0.06);
    color: var(--color-text);
    background: transparent;
}

.home-advantages__card:nth-child(3n) {
    border-right: 0;
}

.home-advantages__card:nth-last-child(-n + 3) {
    border-bottom: 0;
}

.home-advantages__card-icon {
    width: 34px;
    height: 34px;
    margin-bottom: 17px;
}

.home-advantages__card-icon img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.home-advantages__card-title {
    margin: 0 0 10px;
    color: var(--color-text);
    font-size: 14px;
    line-height: 1.3;
    font-weight: 600;
    letter-spacing: 0;
    text-transform: uppercase;
}

.home-advantages__card-text {
    margin: 0;
    color: rgba(44, 44, 44, 0.7);
    font-size: 16px;
    line-height: 1.5;
}


/* =========================================================
   ADVANTAGES RESPONSIVE — TABLET
========================================================= */

@media (max-width: 1240px) {
    .home-advantages__heading {
        font-size: clamp(54px, 6vw, 75px);
    }

    .home-advantages__circles span {
        width: 36vw;
        height: 36vw;
        min-width: 350px;
        min-height: 350px;
    }

    .home-advantages__stat-value {
        font-size: clamp(44px, 5vw, 62px);
    }
}

@media (max-width: 991px) {
    .home-advantages {
        padding-top: 80px;
    }

    .home-advantages__visual {
        height: 370px;
    }

    .home-advantages__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-advantages__card,
    .home-advantages__card:nth-child(3n),
    .home-advantages__card:nth-last-child(-n + 3) {
        border-right: 1px solid rgba(44, 44, 44, 0.12);
        border-bottom: 1px solid rgba(44, 44, 44, 0.12);
    }

    .home-advantages__card:nth-child(2n) {
        border-right: 0;
    }

    .home-advantages__card:nth-last-child(-n + 2) {
        border-bottom: 0;
    }
}


/* =========================================================
   ADVANTAGES RESPONSIVE — MOBILE
========================================================= */

@media (max-width: 767px) {
    .home-advantages {
        padding-top: 90px;
    }

    .home-advantages__heading {
        margin: 0 0 20px;
        color: rgba(44, 44, 44, 1);
        font-size: 32px;
        line-height: 1.02;
        font-weight: 250;
        letter-spacing: -0.04em;
    }


    /* =========================
       MOBILE VISUAL
    ========================= */

    .home-advantages__visual {
        height: 207px;
        margin: 0 0 24px;
        border-radius: 13px;
    }

    .home-advantages__image {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
        filter: grayscale(1);
    }

    .home-advantages__overlay {
        background: rgba(44, 44, 44, 0.24);
    }

/* =========================
   MOBILE VISUAL RING + TEXT
========================= */

.home-advantages__circles span {
    display: none;
}

.home-advantages__circles span:nth-child(1) {
    position: absolute;
    top: 50%;
    left: 50%;
    display: block;
    width: 398px;
    height: 365px;
    min-width: 0;
    min-height: 0;
    border: 1px solid rgba(246, 245, 241, 0.48);
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

.home-advantages__stats {
    position: absolute;
    z-index: 3;
    top: 50%;
    left: 50%;
    display: block;
    width: 80%;
    padding: 0;
    color: #ffffff;
    text-align: center;
    transform: translate(-50%, -50%);
}

.home-advantages__stat {
    display: none;
    padding: 0;
}

.home-advantages__stat:nth-child(2) {
    display: block;
}

.home-advantages__stat-value {
		color: #ffffff;
        font-size: 32px;
        line-height: 1;
        font-weight: 200;
        letter-spacing: -2%;
        text-transform: uppercase;
}

.home-advantages__stat-label {
		margin-top: 16px;
        color: #ffffff;
        font-size: 14px;
        line-height: 1.2;
        font-weight: 600;
        text-transform: lowercase;
}

    /* =========================
       MOBILE CARDS
    ========================= */

    .home-advantages__grid {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        margin-top: 0;
        overflow: hidden;
        border: 1px solid rgba(44, 44, 44, 0.12);
        border-radius: 13px;
        background: transparent;
    }

    .home-advantages__card,
    .home-advantages__card:nth-child(2n),
    .home-advantages__card:nth-child(3n),
    .home-advantages__card:nth-last-child(-n + 2),
    .home-advantages__card:nth-last-child(-n + 3) {
        position: relative;
        min-height: 252px;
        padding: 14px 12px;
        border-right: 1px solid rgba(44, 44, 44, 0.12);
        border-bottom: 1px solid rgba(44, 44, 44, 0.12);
        color: var(--color-text);
        background: transparent;
    }

    .home-advantages__card:nth-child(2n) {
        border-right: 0;
    }

    .home-advantages__card:nth-last-child(-n + 2) {
        border-bottom: 0;
    }

    .home-advantages__card-icon {
        width: 30px;
        height: 30px;
        margin-bottom: 20px;
    }

    .home-advantages__card-icon img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: contain;
        filter: none;
        opacity: 0.55;
    }

    .home-advantages__card-open {
        position: absolute;
        top: 15px;
        right: 12px;
        display: inline-flex;
        width: 27px;
        height: 27px;
        align-items: center;
        justify-content: center;
        padding: 0;
        appearance: none;
        border: 0;
        border-radius: 50%;
        color: var(--color-text);
        background: transparent;
        font-family: var(--font-main);
        font-size: 17px;
        line-height: 1;
        font-weight: 500;
        cursor: pointer;
    }

    .home-advantages__card-title {
        margin: 0 0 10px;
        color: var(--color-text);
        font-size: 14px;
        line-height: 1.08;
        font-weight: 600;
        letter-spacing: -0.03em;
        text-transform: uppercase;
    }

    .home-advantages__card-text {
        margin: 0;
        color: rgba(44, 44, 44, 0.58);
        font-size: 13px;
        line-height: 1.4;
        letter-spacing: -0.02em;
    }
}

@media (max-width: 480px) {
    .home-advantages__heading {
        font-size: 32px;
    }
}


/* =========================================================
   HOME ADVANTAGE BOTTOM SHEET
========================================================= */

@media (max-width: 767px) {
    .home-advantage-sheet[hidden] {
        display: none !important;
    }

    .home-advantage-sheet {
        position: fixed;
        inset: 0;
        z-index: 99999;
        display: block;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition:
            opacity 0.22s ease,
            visibility 0.22s ease;
    }

    .home-advantage-sheet.is-open {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .home-advantage-sheet__backdrop {
        position: absolute;
        inset: 0;
        display: block;
        width: 100%;
        height: 100%;
        margin: 0;
        padding: 0;
        appearance: none;
        border: 0;
        background: rgba(44, 44, 44, 0.54);
        cursor: pointer;
    }

    .home-advantage-sheet__dialog {
        position: absolute;
        right: 0;
        bottom: 0;
        left: 0;
        max-height: calc(100dvh - 82px);
        padding: 12px 16px 24px;
        overflow-x: hidden;
        overflow-y: auto;
        border-radius: 13px 13px 0 0;
        color: var(--color-text);
        background: var(--color-background);
        transform: translateY(100%);
        transition: transform 0.22s ease;
    }

    .home-advantage-sheet__dialog[hidden] {
        display: none !important;
    }

    .home-advantage-sheet__dialog.is-active {
        transform: translateY(0);
    }

    .home-advantage-sheet__handle {
        display: block;
        width: 28px;
        height: 4px;
        margin: 0 auto 22px;
        border-radius: 999px;
        background: rgba(44, 44, 44, 0.18);
    }

    .home-advantage-sheet__head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 18px;
        margin-bottom: 30px;
    }

    .home-advantage-sheet__head-main {
        display: flex;
        min-width: 0;
        align-items: center;
        gap: 14px;
    }

    .home-advantage-sheet__head-icon {
        display: flex;
        width: 24px;
        height: 24px;
        flex: 0 0 24px;
        align-items: center;
        justify-content: center;
    }

    .home-advantage-sheet__head-icon img {
        display: block;
        width: 24px;
        height: 24px;
        object-fit: contain;
    }

    .home-advantage-sheet__title {
        margin: 0;
        color: var(--color-text);
        font-size: 16px;
        line-height: 1.15;
        font-weight: 600;
        letter-spacing: -0.02em;
    }

    .home-advantage-sheet__close {
        display: inline-flex;
        width: 28px;
        height: 28px;
        flex: 0 0 28px;
        align-items: center;
        justify-content: center;
        margin: 0;
        padding: 0;
        appearance: none;
        border: 0;
        color: var(--color-text);
        background: transparent;
        font-family: var(--font-main);
        font-size: 36px;
        line-height: 1;
        font-weight: 300;
        cursor: pointer;
    }


    /* =========================
       SHEET GALLERY
    ========================= */

    .home-advantage-sheet__gallery {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
        margin-bottom: 26px;
    }

    .home-advantage-sheet__gallery.has-more {
        grid-template-columns:
            minmax(0, 1fr)
            minmax(0, 1fr)
            56px;
    }

    .home-advantage-sheet__gallery-item,
    .home-advantage-sheet__gallery-more {
        height: 132px;
        margin: 0;
        padding: 0;
        overflow: hidden;
        appearance: none;
        border: 0;
        border-radius: 10px;
        background: rgba(44, 44, 44, 0.06);
        font-family: var(--font-main);
        cursor: pointer;
    }

    .home-advantage-sheet__gallery-image {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }

    .home-advantage-sheet__gallery-more {
        display: flex;
        align-items: center;
        justify-content: center;
        border: 1px solid rgba(0, 0, 0, 0.06) !important;
        color: var(--color-text);
        background: transparent;
        font-size: 16px;
        line-height: 1;
        font-weight: 500;
    }


    /* =========================
       SHEET INFO
    ========================= */

    .home-advantage-sheet__info {
        display: grid;
        grid-template-columns: 24px minmax(0, 1fr);
        gap: 11px;
        align-items: start;
        margin-bottom: 22px;
    }

    .home-advantage-sheet__info-icon {
        display: flex;
        width: 24px;
        height: 24px;
        align-items: center;
        justify-content: center;
    }

    .home-advantage-sheet__info-icon img {
        display: block;
        width: 24px;
        height: 24px;
        object-fit: contain;
    }

    .home-advantage-sheet__info-title {
        margin: 0 0 8px;
        color: var(--color-text);
        font-size: 16px;
        line-height: 1.15;
        font-weight: 600;
        letter-spacing: -0.02em;
    }

    .home-advantage-sheet__info-text {
        color: rgba(44, 44, 44, 0.5);
        font-size: 16px;
        line-height: 1.55;
        font-weight: 400;
        letter-spacing: -0.02em;
    }

    .home-advantage-sheet__info-text p {
        margin: 0 0 18px;
    }

    .home-advantage-sheet__info-text p:last-child {
        margin-bottom: 0;
    }

    .home-advantage-sheet__button {
        display: flex;
        width: 100%;
        min-height: 47px;
        align-items: center;
        justify-content: center;
        padding: 12px 24px;
        appearance: none;
        border: 0;
        border-radius: 8px;
        color: #ffffff;
        background: var(--color-accent);
        font-family: var(--font-main);
        font-size: 14px;
        line-height: 1.1;
        font-weight: 600;
        text-align: center;
        cursor: pointer;
    }
}

@media (max-width: 380px) {
    .home-advantage-sheet__gallery {
        gap: 12px;
    }

    .home-advantage-sheet__gallery.has-more {
        grid-template-columns:
            minmax(0, 1fr)
            minmax(0, 1fr)
            50px;
    }

    .home-advantage-sheet__gallery-item,
    .home-advantage-sheet__gallery-more {
        height: 118px;
    }
}


/* =========================================================
   HOME ADVANTAGE GALLERY VIEWER
========================================================= */

@media (max-width: 991px) {
    .home-advantage-sheet__gallery-item,
    .home-advantage-sheet__gallery-more {
        appearance: none;
        border: 0;
        padding: 0;
        font-family: var(--font-main);
        cursor: pointer;
    }

    .home-advantage-viewer[hidden] {
        display: none !important;
    }

    .home-advantage-sheet__dialog.is-gallery-viewer-open,
    .home-advantage-sheet__dialog:has(.home-advantage-viewer.is-open) {
        position: fixed;
        inset: 0;
        z-index: 10;
        width: 100vw;
        height: 100vh;
        height: 100dvh;
        max-height: none;
        padding: 0;
        overflow: hidden;
        border-radius: 0;
        background: #292929;
        transform: none;
    }

    .home-advantage-sheet__dialog.is-gallery-viewer-open > :not(.home-advantage-viewer),
    .home-advantage-sheet__dialog:has(.home-advantage-viewer.is-open) > :not(.home-advantage-viewer) {
        visibility: hidden;
        pointer-events: none;
    }

    .home-advantage-viewer {
        position: fixed;
        inset: 0;
        z-index: 100000;
        display: block;
        width: 100vw;
        height: 100vh;
        height: 100dvh;
        overflow: hidden;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        color: #ffffff;
        background: #292929;
        transition:
            opacity 0.22s ease,
            visibility 0.22s ease;
    }

    .home-advantage-viewer.is-open {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .home-advantage-viewer__backdrop {
        position: absolute;
        inset: 0;
        display: block;
        width: 100%;
        height: 100%;
        margin: 0;
        padding: 0;
        appearance: none;
        border: 0;
        background: #292929;
        cursor: default;
    }

    .home-advantage-viewer__dialog {
        position: fixed;
        inset: 0;
        display: flex;
        width: 100vw;
        height: 100vh;
        height: 100dvh;
        max-width: none;
        max-height: none;
        flex-direction: column;
        overflow: hidden;
        border-radius: 0;
        color: #ffffff;
        background: #292929;
    }

    .home-advantage-viewer__top {
        position: absolute;
        z-index: 5;
        top: 23px;
        right: 16px;
        left: 16px;
        display: flex;
        min-height: 38px;
        align-items: center;
        justify-content: space-between;
        gap: 24px;
        padding: 0;
    }

    .home-advantage-viewer__counter {
        color: rgba(255, 255, 255, 0.58);
        font-size: 14px;
        line-height: 1.2;
        font-weight: 400;
    }

    .home-advantage-viewer__close {
        display: inline-flex;
        width: 38px;
        height: 38px;
        align-items: center;
        justify-content: center;
        margin: 0;
        padding: 0;
        appearance: none;
        border: 0;
        color: #ffffff;
        background: transparent;
        font-family: var(--font-main);
        font-size: 24px;
        line-height: 1;
        font-weight: 300;
        cursor: pointer;
    }

    .home-advantage-viewer__stage {
        position: relative;
        display: flex;
        width: 100%;
        height: 100%;
        min-height: 0;
        flex: 1 1 auto;
        align-items: center;
        justify-content: center;
        overflow: hidden;
        padding: 90px 16px 68px;
        box-sizing: border-box;
        touch-action: pan-y;
    }

    .home-advantage-viewer__slides {
        position: relative;
        width: calc(100vw - 32px);
        max-width: 361px;
        height: auto;
        min-height: 382px;
    }

    .home-advantage-viewer__slide {
        display: none;
        width: 100%;
        margin: 0;
        padding: 0;
        text-align: center;
        will-change: transform, opacity;
    }

    .home-advantage-viewer__slide.is-active {
        display: block;
    }

    .home-advantage-viewer__image {
        display: block;
        width: 100%;
        height: 328px;
        margin: 0 auto;
        border-radius: 10px;
        object-fit: cover;
        object-position: center;
        user-select: none;
        pointer-events: none;
        -webkit-user-drag: none;
    }

    .home-advantage-viewer__caption {
        max-width: 320px;
        margin: 14px auto 0;
        color: rgba(255, 255, 255, 0.52);
        font-size: 16px;
        line-height: 1.35;
        font-weight: 400;
        text-align: center;
    }

    .home-advantage-viewer__arrow {
        display: none;
    }

    .home-advantage-viewer__progress {
        position: absolute;
        z-index: 5;
        bottom: 17px;
        left: 50%;
        display: block;
        width: 25px;
        height: 4px;
        overflow: hidden;
        border-radius: 999px;
        background: rgba(255, 255, 255, 0.16);
        transform: translateX(-50%);
    }

    .home-advantage-viewer__progress span {
        display: block;
        width: 0;
        height: 100%;
        border-radius: inherit;
        background: #ffffff;
    }
}


/* =========================================================
   TABLET ADVANTAGE GALLERY VIEWER
========================================================= */

@media (min-width: 768px) and (max-width: 991px) {
    .home-advantage-viewer__slides {
        max-width: 620px;
        min-height: 494px;
    }

    .home-advantage-viewer__image {
        height: 440px;
    }
}


/* =========================================================
   SMALL MOBILE ADVANTAGE GALLERY VIEWER
========================================================= */

@media (max-width: 380px) {
    .home-advantage-viewer__stage {
        padding-right: 12px;
        padding-left: 12px;
    }

    .home-advantage-viewer__top {
        right: 12px;
        left: 12px;
    }

    .home-advantage-viewer__slides {
        width: calc(100vw - 24px);
        min-height: 364px;
    }

    .home-advantage-viewer__image {
        height: 310px;
    }
}



/* =========================================================
   HOME ADVANTAGES REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {
    .home-advantage-sheet,
    .home-advantage-sheet__dialog,
    .home-advantage-viewer,
    .home-advantages__card-open {
        transition: none;
    }
}




/* =========================================================
   HOME POSTS
========================================================= */

.home-posts {
    padding-top: 110px;
}

.home-posts__head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 388px;
    align-items: center;
    gap: 40px;
    margin-bottom: 38px;
}

.home-posts__heading {
    margin: 0;
    color: var(--color-text);
    font-size: 75px;
    line-height: 0.96;
    font-weight: 250;
    letter-spacing: -0.04em;
    text-transform: uppercase;
}

.home-posts__more {
    display: flex;
    width: 100%;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    padding: 10px 24px;
    border: 1px solid rgba(234, 234, 234, 1);
    border-radius: var(--border-radius);
    color: var(--color-text);
    background: var(--color-background);
    font-size: 14px;
    line-height: 1.2;
    font-weight: 500;
    text-align: center;
    text-decoration: none;
    transition:
        color 0.2s ease,
        border-color 0.2s ease,
        background-color 0.2s ease;
}

.home-posts__more:hover {
    color: rgba(146, 70, 45, 1);
    background: rgba(247, 208, 108, 1);
    border-color: rgba(247, 208, 108, 1);
}

.home-posts__more--mobile {
    display: none;
}

.home-posts__date--mobile {
    display: none;
}


/* =========================================================
   POSTS GRID — DESKTOP
========================================================= */

.home-posts__viewport {
    overflow: visible;
}

.home-posts__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.home-posts__card {
    min-width: 0;
}

.home-posts__card-link {
    display: block;
    color: var(--color-text);
    text-decoration: none;
}

.home-posts__image-wrap {
    position: relative;
    width: 100%;
    overflow: hidden;
    aspect-ratio: 389 / 315;
    border-radius: var(--border-radius);
    background: rgba(44, 44, 44, 0.05);
}

.home-posts__image,
.home-posts__image-placeholder {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.home-posts__image {
    transition: transform 0.4s ease;
}

.home-posts__card-link:hover .home-posts__image {
    transform: scale(1.025);
}

.home-posts__image-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(44, 44, 44, 0.4);
    font-size: 13px;
    line-height: 1.2;
    font-weight: 600;
    text-align: center;
}


/* =========================================================
   POST CONTENT — DESKTOP
========================================================= */

.home-posts__meta {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
    gap: 16px;
    margin-top: 20px;
}

.home-posts__card-title {
    margin: 0;
    color: var(--color-text);
    font-size: 13px;
    line-height: 1.35;
    font-weight: 600;
    letter-spacing: 0;
    text-transform: uppercase;
    transition: color 0.2s ease;
}

.home-posts__card-link:hover .home-posts__card-title {
    color: var(--color-accent);
}

.home-posts__date {
    color: rgba(44, 44, 44, 0.55);
    font-size: 12px;
    line-height: 1.35;
    white-space: nowrap;
}

.home-posts__excerpt {
    display: -webkit-box;
    overflow: hidden;
    margin: 12px 0 0;
    color: rgba(44, 44, 44, 0.7);
    font-size: 16px;
    line-height: 1.5;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}


/* =========================================================
   HOME POSTS RESPONSIVE — DESKTOP ONLY
========================================================= */

@media (max-width: 1240px) {
    .home-posts__heading {
        font-size: clamp(54px, 6vw, 75px);
    }

    .home-posts__head {
        grid-template-columns: minmax(0, 1fr) 320px;
    }
}


/* =========================================================
   HOME POSTS — SMALL TABLET / MOBILE SLIDER
========================================================= */

@media (max-width: 991px) {
    .home-posts {
        padding-top: 80px;
        overflow: hidden;
    }

    .home-posts__head {
        display: block;
        margin-bottom: 18px;
    }

    .home-posts__heading {
        margin: 0;
        color: var(--color-text);
        font-size: 44px;
        line-height: 1.02;
        font-weight: 250;
        letter-spacing: -0.04em;
        text-transform: uppercase;
    }

    .home-posts__more--desktop {
        display: none;
    }

    .home-posts__more--mobile {
        display: flex;
        width: 100%;
        min-height: 44px;
        margin-top: 24px;
        border-radius: 8px;
        color: var(--color-text);
        background: var(--color-background);
        font-size: 15px;
        line-height: 1.2;
        font-weight: 600;
    }
    
        .home-posts__more--mobile:hover {
        color: #fff;
        background: var(--color-accent);;
    }

    .home-posts__viewport {
        width: calc(100% + var(--container-padding, 20px));
        margin-right: calc(var(--container-padding, 20px) * -1);
        overflow: hidden;
    }

	.home-posts__grid {
    display: flex;
    grid-template-columns: none;
    align-items: stretch;
    gap: 12px;
    overflow-x: auto;
    overflow-y: hidden;
    padding-right: var(--container-padding, 20px);
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.home-posts__grid::-webkit-scrollbar {
    display: none;
}

.home-posts__card {
    display: flex;
    flex: 0 0 48%;
    max-width: 360px;
    min-width: 0;
    scroll-snap-align: start;
}

.home-posts__card-link {
    display: grid;
    width: 100%;
    grid-template-rows: auto auto auto 239px;
    color: var(--color-text);
    text-decoration: none;
}

.home-posts__meta {
    order: 1;
    display: block;
    margin-top: 0;
}

.home-posts__card-title {
    margin: 0;
    color: var(--color-text);
    font-size: 14px;
    line-height: 1.2;
    font-weight: 600;
    letter-spacing: -0.02em;
    text-transform: uppercase;
}

.home-posts__excerpt {
    order: 2;
    display: block;
    overflow: visible;
    min-height: 0;
    margin: 10px 0 0;
    color: rgba(44, 44, 44, 0.58);
    font-size: 14px;
    line-height: 1.35;
}

.home-posts__date--desktop {
    display: none;
}

.home-posts__date--mobile {
    order: 3;
    display: block;
    margin-top: 12px;
    margin-bottom: 16px;
    color: rgba(44, 44, 44, 0.52);
    font-size: 12px;
    line-height: 1.2;
    white-space: nowrap;
}

.home-posts__image-wrap {
    order: 4;
    width: 100%;
    height: 239px;
    flex: 0 0 239px;
    margin-top: 0;
    overflow: hidden;
    border-radius: 8px;
    background: rgba(44, 44, 44, 0.05);
}

.home-posts__image,
.home-posts__image-placeholder {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

    .home-posts__card-link:hover .home-posts__image {
        transform: none;
    }

    .home-posts__card-link:hover .home-posts__card-title {
        color: var(--color-text);
    }
}


/* =========================================================
   HOME POSTS — MOBILE
========================================================= */

@media (max-width: 767px) {
    .home-posts {
        padding-top: 90px;
    }

    .home-posts__heading {
        font-size: 32px;
    }

    .home-posts__card {
        flex: 0 0 82%;
        max-width: 302px;
    }
    
    .home-posts__image-wrap {
    height: 239px;
    flex-basis: 239px;
}

}

@media (max-width: 480px) {
    .home-posts__card {
        flex-basis: 84%;
    }
    
        .home-posts__image-wrap {
        height: 239px;
        flex-basis: 239px;
    }
}


/* =========================================================
   HOME POSTS REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {
    .home-posts__image,
    .home-posts__card-title,
    .home-posts__more {
        transition: none;
    }
}



/* =========================================================
   HOME METHOD
========================================================= */

.home-method {
    padding-top: 110px;
}

.home-method__heading {
    margin: 0 0 38px;
    color: var(--color-accent);
    font-size: 75px;
    line-height: 0.96;
    font-weight: 250;
    letter-spacing: -0.04em;
    text-transform: uppercase;
}


/* =========================================================
   METHOD GRID
========================================================= */

.home-method__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.home-method__card {
    display: flex;
    min-width: 0;
    flex-direction: column;
}

.home-method__content {
    min-height: 155px;
}

.home-method__icon {
    width: 38px;
    height: 38px;
    margin-bottom: 18px;
}

.home-method__icon img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.home-method__title {
    margin: 0 0 8px;
    color: var(--color-text);
    font-size: 14px;
    line-height: 1.3;
    font-weight: 600;
    letter-spacing: 0;
    text-transform: uppercase;
}

.home-method__text {
    margin: 0;
    color: rgba(44, 44, 44, 0.72);
    font-size: 16px;
    line-height: 1.55;
}


/* =========================================================
   METHOD IMAGES
========================================================= */

.home-method__image-wrap {
    position: relative;
    width: 100%;
    margin-top: 26px;
    aspect-ratio: 388 / 355;
}

.home-method__image,
.home-method__image-placeholder {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: var(--border-radius);
    background: rgba(44, 44, 44, 0.05);
    object-fit: cover;
    object-position: center;
}

.home-method__badge {
    position: absolute;
    z-index: 2;
    top: 14px;
    right: -38px;
    width: 132px;
    height: 132px;
    pointer-events: none;
}

.home-method__badge img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}


/* =========================================================
   METHOD RESPONSIVE
========================================================= */

@media (max-width: 1240px) {
    .home-method__heading {
        font-size: clamp(54px, 6vw, 75px);
    }

    .home-method__badge {
        right: -12px;
        width: 116px;
        height: 116px;
    }
}


/* =========================================================
   METHOD — SMALL TABLET / MOBILE
========================================================= */

@media (max-width: 991px) {
    .home-method {
        padding-top: 80px;
    }

    .home-method__heading {
        margin-bottom: 30px;
        color: rgba(32, 38, 38, 1);
        font-size: 32px;
        line-height: 1.02;
        font-weight: 200;
        letter-spacing: -0.04em;
    }

    .home-method__grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .home-method__card {
        display: flex;
        width: 100%;
        flex-direction: column;
    }

    .home-method__content {
        min-height: 0;
    }

    .home-method__icon {
        display: none;
    }

    .home-method__title {
        margin: 0 0 8px;
        color: rgba(32, 38, 38, 1);
        font-size: 14px;
        line-height: 1.3;
        font-weight: 600;
        letter-spacing: -0.02em;
        text-transform: uppercase;
    }

    .home-method__text {
        margin: 0;
        color: rgba(32, 38, 38, 0.72);
        font-size: 16px;
        line-height: 1.45;
        letter-spacing: -0.02em;
    }

    .home-method__image-wrap {
        width: 100%;
        max-width: 361px;
        height: 206px;
        margin-top: 16px;
        aspect-ratio: auto;
    }

    .home-method__image,
    .home-method__image-placeholder {
        width: 100%;
        height: 100%;
        border-radius: 13px;
        object-fit: cover;
        object-position: center;
    }

    .home-method__badge {
        display: none;
    }
}


/* =========================================================
   METHOD — MOBILE
========================================================= */

@media (max-width: 767px) {
    .home-method {
        padding-top: 90px;
    }

    .home-method__heading {
        margin-bottom: 40px;
        font-size: 32px;
    }

    .home-method__grid {
        gap: 40px;
    }

    .home-method__image-wrap {
        max-width: 361px;
        height: 206px;
    }
}

@media (max-width: 480px) {
    .home-method__heading {
        font-size: 32px;
    }

    .home-method__text {
        font-size: 14px;
        line-height: 1.45;
    }

    .home-method__image-wrap {
        width: 100%;
        max-width: 361px;
        height: 206px;
    }
}


/* =========================================================
   HOME TESTIMONIALS
========================================================= */

.home-testimonials {
    padding-top: 110px;
}

.home-testimonials__frame {
    overflow: hidden;
    border-radius: var(--border-radius);
    color: #ffffff;
    background: var(--color-accent);
}

.home-testimonials__container {
    padding-top: 40px;
    padding-bottom: 40px;
}

.home-testimonials__head {
    max-width: 940px;
    margin-bottom: 24px;
}

.home-testimonials__heading {
    margin: 0;
    color: #ffffff;
    font-size: 75px;
    line-height: 0.96;
    font-weight: 250;
    letter-spacing: -0.045em;
    text-transform: uppercase;
}

.home-testimonials__text {
    max-width: 480px;
    margin: 20px 0 0;
    color: rgba(255, 255, 255, 0.65);
    font-size: 14px;
    line-height: 1.45;
}


/* =========================================================
   TESTIMONIAL SLIDER
========================================================= */

.home-testimonials__track {
    display: grid;
    grid-auto-columns: calc((100% - 40px) / 3);
    grid-auto-flow: column;
    gap: 20px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 0;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    cursor: grab;
    touch-action: pan-y;
    overscroll-behavior-x: contain;
}

.home-testimonials__track::-webkit-scrollbar {
    display: none;
}

.home-testimonials__track.is-dragging {
    cursor: grabbing;
    scroll-behavior: auto;
    scroll-snap-type: none;
    user-select: none;
}

.home-testimonials__card {
    min-width: 0;
    scroll-snap-align: start;
}

.home-testimonials__play {
    display: block;
    width: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
    appearance: none;
    border: 0;
    border-radius: var(--border-radius);
    color: #ffffff;
    background: transparent;
    font: inherit;
    text-align: inherit;
    cursor: pointer;
}

.home-testimonials__poster {
    position: relative;
    width: 100%;
    overflow: hidden;
    aspect-ratio: 3 / 4;
    border-radius: var(--border-radius);
    background: rgba(255, 255, 255, 0.08);
}


/* =========================================================
   TESTIMONIAL MEDIA
========================================================= */

.home-testimonials__image,
.home-testimonials__preview-video,
.home-testimonials__placeholder {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.home-testimonials__image,
.home-testimonials__preview-video {
    transition: transform 0.4s ease;
}

.home-testimonials__preview-video {
    border: 0;
    background: rgba(44, 44, 44, 0.16);
    pointer-events: none;
}

.home-testimonials__play:hover .home-testimonials__image,
.home-testimonials__play:hover .home-testimonials__preview-video {
    transform: scale(1.025);
}

.home-testimonials__placeholder {
    align-items: center;
    justify-content: center;
    background:
        linear-gradient(
            145deg,
            rgba(44, 44, 44, 0.22),
            rgba(44, 44, 44, 0.5)
        );
}

.home-testimonials__placeholder-label {
    color: rgba(255, 255, 255, 0.72);
    font-size: 13px;
    line-height: 1.3;
    font-weight: 500;
    text-transform: uppercase;
}


/* =========================================================
   TESTIMONIAL CARD OVERLAY
========================================================= */

.home-testimonials__overlay {
    position: absolute;
    z-index: 1;
    inset: 0;
    background:
        linear-gradient(
            180deg,
            rgba(20, 20, 20, 0.02) 45%,
            rgba(20, 20, 20, 0.62) 100%
        );
    pointer-events: none;
}

.home-testimonials__play-icon {
    position: absolute;
    z-index: 2;
    top: 58%;
    left: 50%;
    display: flex;
    width: 86px;
    height: 86px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(146, 70, 45, 0.82);
    pointer-events: none;
    transform: translate(-50%, -50%);
    transition:
        transform 0.25s ease,
        background-color 0.25s ease;
}

.home-testimonials__play-icon::before {
    width: 0;
    height: 0;
    margin-left: 5px;
    border-top: 7px solid transparent;
    border-bottom: 7px solid transparent;
    border-left: 11px solid #ffffff;
    content: "";
}

.home-testimonials__play:hover .home-testimonials__play-icon {
    background: var(--color-accent);
    transform:
        translate(-50%, -50%)
        scale(1.06);
}

.home-testimonials__person {
    position: absolute;
    z-index: 2;
    right: 20px;
    bottom: 20px;
    left: 20px;
    display: block;
    color: #ffffff;
    text-align: center;
    pointer-events: none;
}

.home-testimonials__person strong {
    display: block;
    color: #ffffff;
    font-size: 14px;
    line-height: 1.3;
    font-weight: 500;
}

.home-testimonials__person small {
    display: block;
    margin-top: 4px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 11px;
    line-height: 1.3;
}

.home-testimonials__play:focus-visible {
    outline: 2px solid #ffffff;
    outline-offset: 4px;
}


/* =========================================================
   TESTIMONIAL PROGRESS
========================================================= */

.home-testimonials__progress {
    position: relative;
    width: 25px;
    height: 4px;
    overflow: hidden;
    margin: 19px auto 0;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.2);
}

.home-testimonials__progress span {
    display: block;
    width: 50%;
    height: 100%;
    border-radius: inherit;
    background: #ffffff;
    transform: translateX(0);
    transition: transform 0.2s ease;
}


/* =========================================================
   TESTIMONIAL VIDEO MODAL
========================================================= */

body.testimonial-modal-open {
    overflow: hidden;
}

.testimonial-video-modal[hidden] {
    display: none;
}

.testimonial-video-modal {
    position: fixed;
    z-index: 99999;
    inset: 0;
}

.testimonial-video-modal__backdrop {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    padding: 0;
    appearance: none;
    border: 0;
    background: rgba(20, 20, 20, 0.82);
    cursor: pointer;
}

.testimonial-video-modal__dialog {
    position: absolute;
    z-index: 1;
    top: 50%;
    left: 50%;
    width: min(calc(100% - 40px), 900px);
    max-height: calc(100vh - 40px);
    transform: translate(-50%, -50%);
}

.testimonial-video-modal__close {
    position: absolute;
    z-index: 3;
    top: -18px;
    right: -18px;
    display: flex;
    width: 48px;
    height: 48px;
    align-items: center;
    justify-content: center;
    padding: 0;
    appearance: none;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 50%;
    color: #ffffff;
    background: #292929;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    transition:
        border-color 0.2s ease,
        background-color 0.2s ease;
}

.testimonial-video-modal__close:hover {
    border-color: rgba(255, 255, 255, 0.5);
    background: var(--color-accent);
}

.testimonial-video-modal__close:focus-visible {
    outline: 2px solid #ffffff;
    outline-offset: 3px;
}

.testimonial-video-modal__content {
    display: flex;
    max-height: calc(100vh - 40px);
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: var(--border-radius);
    background: #000000;
}

.testimonial-video-modal__video {
    display: block;
    width: 100%;
    max-width: 100%;
    max-height: calc(100vh - 40px);
    object-fit: contain;
    background: #000000;
}

.testimonial-video-modal__embed {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000000;
}

.testimonial-video-modal__embed iframe {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}


/* =========================================================
   TESTIMONIALS RESPONSIVE
========================================================= */

@media (max-width: 1240px) {
    .home-testimonials__heading {
        font-size: clamp(54px, 6vw, 75px);
    }
}


/* =========================================================
   TESTIMONIALS — SMALL TABLET / MOBILE CAROUSEL
========================================================= */

@media (max-width: 991px) {
    .home-testimonials {
        padding-top: 90px;
    }

    .home-testimonials__frame {
        width: 100vw;
        max-width: none;
        margin-right: calc(50% - 50vw);
        margin-left: calc(50% - 50vw);
        border-radius: 16px;
    }

    .home-testimonials__container {
        padding-top: 28px;
        padding-bottom: 28px;
    }

    .home-testimonials__head {
        max-width: 100%;
        margin-bottom: 20px;
    }

    .home-testimonials__heading {
        max-width: 330px;
        margin: 0;
        font-size: 36px;
        line-height: 1.02;
        font-weight: 250;
        letter-spacing: -0.045em;
    }

    .home-testimonials__text {
        max-width: 330px;
        margin: 16px 0 0;
        color: rgba(255, 255, 255, 0.65);
        font-size: 14px;
        line-height: 1.42;
    }

    .home-testimonials__track {
        position: relative;
        display: block;
        width: min(100%, 362px);
        height: 349px;
        margin: 0 auto;
        overflow: visible;
        padding: 0;
        cursor: grab;
        touch-action: pan-y;
        scrollbar-width: none;
        scroll-snap-type: none;
    }

    .home-testimonials__track::-webkit-scrollbar {
        display: none;
    }

    .home-testimonials__track.is-dragging {
        cursor: grabbing;
        user-select: none;
    }

	.home-testimonials__card {
    position: absolute;
    top: 22px;
    left: 50%;
    z-index: 0;
    width: 249px;
    min-width: 249px;
    height: 306px;
    opacity: 0;
    pointer-events: none;
    transform: translateX(-50%);
    transition:
        top 0.24s ease,
        width 0.24s ease,
        height 0.24s ease,
        opacity 0.24s ease,
        transform 0.24s ease;
    scroll-snap-align: none;
}

.home-testimonials__card.is-prev {
    z-index: 1;
    opacity: 0.65;
    pointer-events: auto;
    transform: translateX(calc(-50% - 57px));
}

.home-testimonials__card.is-next {
    z-index: 1;
    opacity: 0.65;
    pointer-events: auto;
    transform: translateX(calc(-50% + 57px));
}

.home-testimonials__card.is-active {
    top: 0;
    z-index: 3;
    width: 284px;
    min-width: 284px;
    height: 349px;
    opacity: 1;
    pointer-events: auto;
    transform: translateX(-50%);
}

.home-testimonials__play,
.home-testimonials__poster {
    width: 249px;
    height: 306px;
    border-radius: 13px;
}

.home-testimonials__card.is-active .home-testimonials__play,
.home-testimonials__card.is-active .home-testimonials__poster {
    width: 284px;
    height: 349px;
}

    .home-testimonials__image,
    .home-testimonials__preview-video,
    .home-testimonials__placeholder {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }

    .home-testimonials__play-icon {
        top: 58%;
        width: 72px;
        height: 72px;
    }

    .home-testimonials__person {
        right: 16px;
        bottom: 20px;
        left: 16px;
        text-align: left;
    }

    .home-testimonials__person strong {
        font-size: 18px;
        line-height: 1.2;
        font-weight: 400;
    }

    .home-testimonials__person small {
        margin-top: 6px;
        font-size: 14px;
        line-height: 1.25;
    }

    .home-testimonials__progress {
        margin-top: 17px;
    }

    .home-testimonials__play:hover .home-testimonials__image,
    .home-testimonials__play:hover .home-testimonials__preview-video {
        transform: none;
    }

    .home-testimonials__play:hover .home-testimonials__play-icon {
        transform: translate(-50%, -50%);
    }


    /* =========================
       VIDEO MODAL
    ========================= */

    .testimonial-video-modal__dialog {
        width: calc(100% - 24px);
        max-height: calc(100dvh - 24px);
    }

    .testimonial-video-modal__content {
        max-height: calc(100dvh - 24px);
    }

    .testimonial-video-modal__video {
        max-height: calc(100dvh - 24px);
    }

    .testimonial-video-modal__close {
        top: 30px;
        right: 10px;
    }
}


/* =========================================================
   TESTIMONIALS — MOBILE
========================================================= */

@media (max-width: 767px) {
    .home-testimonials {
        padding-top: 90px;
    }

    .home-testimonials__container {
        padding-top: 24px;
        padding-bottom: 24px;
    }

    .home-testimonials__heading {
        max-width: 330px;
        font-size: 32px;
    }

    .home-testimonials__text {
        font-size: 14px;
    }
}

@media (max-width: 380px) {
    .home-testimonials__track {
        width: min(100%, 326px);
        height: 332px;
    }

.home-testimonials__card {
    top: 21px;
    width: 237px;
    min-width: 237px;
    height: 291px;
}

.home-testimonials__card.is-prev {
    transform: translateX(calc(-50% - 48px));
}

.home-testimonials__card.is-next {
    transform: translateX(calc(-50% + 48px));
}

.home-testimonials__card.is-active {
    top: 0;
    width: 270px;
    min-width: 270px;
    height: 332px;
}

.home-testimonials__play,
.home-testimonials__poster {
    width: 237px;
    height: 291px;
}

.home-testimonials__card.is-active .home-testimonials__play,
.home-testimonials__card.is-active .home-testimonials__poster {
    width: 270px;
    height: 332px;
}

    .home-testimonials__play-icon {
        width: 64px;
        height: 64px;
    }

    .home-testimonials__play-icon::before {
        border-top-width: 6px;
        border-bottom-width: 6px;
        border-left-width: 10px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .home-testimonials__track {
        scroll-behavior: auto;
    }

    .home-testimonials__card,
    .home-testimonials__image,
    .home-testimonials__preview-video,
    .home-testimonials__play-icon,
    .home-testimonials__progress span {
        transition: none;
    }
}


/* =========================================================
   HOME LOCATION
========================================================= */

.home-location {
    padding-top: 110px;
}

.home-location__head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    align-items: end;
    gap: 70px;
    margin-bottom: 22px;
}

.home-location__heading {
    min-width: 0;
}

.home-location__title {
    margin: 0;
    color: var(--color-text);
    font-size: 75px;
    line-height: 0.96;
    font-weight: 250;
    letter-spacing: -0.045em;
    text-transform: uppercase;
}

.home-location__text {
    max-width: 410px;
    margin: 10px 0 0;
    color: rgba(44, 44, 44, 0.68);
    font-size: 14px;
    line-height: 1.45;
}

.home-location__address {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: rgba(44, 44, 44, 0.72);
    font-size: 14px;
    line-height: 1.45;
}

.home-location__address-icon {
    display: flex;
    width: 23px;
    height: 23px;
    flex: 0 0 23px;
    align-items: center;
    justify-content: center;
}

.home-location__address-icon svg {
    display: block;
    width: 100%;
    height: 100%;
}

.home-location__address a {
    color: inherit;
    transition: color 0.2s ease;
    font-weight: 600;
    font-size: 16px;
}

.home-location__address a:hover {
    color: var(--color-accent);
}


/* =========================================================
   LOCATION ROUTE BUTTON
========================================================= */

.home-location__route {
    display: flex;
    width: 100%;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    padding: 10px 24px;
    border: 1px solid rgba(234, 234, 234, 1);
    border-radius: var(--border-radius);
    color: var(--color-text);
    background: var(--color-background);
    font-size: 14px;
    line-height: 1.2;
    font-weight: 500;
    text-align: center;
    transition:
        color 0.2s ease,
        border-color 0.2s ease,
        background-color 0.2s ease;
}

.home-location__route:hover {
    color: rgba(146, 70, 45, 1);
    background: rgba(247, 208, 108, 1);
    border-color: rgba(247, 208, 108, 1);
}


/* =========================================================
   LOCATION GRID
========================================================= */

.home-location__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.home-location__media,
.home-location__map {
    position: relative;
    min-width: 0;
    overflow: hidden;
    aspect-ratio: 590 / 465;
    border-radius: var(--border-radius);
    background: rgba(44, 44, 44, 0.05);
}

.home-location__image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.home-location__map-frame {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

.home-location__map-placeholder {
    display: flex;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    padding: 30px;
    color: rgba(44, 44, 44, 0.55);
    background: #f2f2f0;
    font-size: 14px;
    line-height: 1.5;
    text-align: center;
}


/* =========================================================
   LOCATION RESPONSIVE
========================================================= */

@media (max-width: 1240px) {
    .home-location__title {
        font-size: clamp(54px, 6vw, 75px);
    }
}

@media (max-width: 991px) {
    .home-location {
        padding-top: 90px;
    }

    .home-location > .container {
        display: flex;
        flex-direction: column;
    }

    .home-location__head {
        order: 1;
        grid-template-columns: minmax(0, 1fr) 250px;
        gap: 35px;
    }
    
    .home-location__text {
    margin: 24px 0 0;
    
    }

    .home-location__grid {
        order: 2;
    }

    .home-location__route {
        order: 3;
        margin-top: 16px;
        margin-bottom: 0;
    }
}

@media (max-width: 767px) {
    .home-location {
        padding-top: 90px;
    }

    .home-location__head {
        grid-template-columns: 1fr;
        align-items: start;
        gap: 20px;
        margin-bottom: 22px;
    }

    .home-location__title {
        font-size: 32px;
    }

    .home-location__address {
        max-width: 320px;
    }

    .home-location__grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .home-location__media,
    .home-location__map {
        aspect-ratio: 4 / 3;
    }

    .home-location__route {
        margin-top: 14px;
        min-height: 46px;
    }
}

@media (max-width: 480px) {
    .home-location__title {
        font-size: 32px;
    }

    .home-location__text,
    .home-location__address {
        font-size: 14px;
    }

    .home-location__route {
        font-size: 15px;
    }
}