/* ==========================================================================
   Home page
   ========================================================================== */

.home-page {
    width: 100%;
    background: #fff;
    font-family: var(--font-family);
    color: #151515;
}

.home-page__main {
    width: 100%;
}

.home-container {
    width: min(100%, var(--container-max-width));
    margin: 0 auto;
}

.home-section {
    position: relative;
}

/* Shared section title */

.home-section-title {
    position: relative;
    margin: 0 0 40px;
    font-size: 60px;
    font-weight: 600;
    line-height: 75px;
    text-transform: uppercase;
    color: #151515;
}

.home-section-title__accent {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%) rotate(23deg);
    display: block;
    width: 6px;
    height: 53px;
    object-fit: contain;
    background: #000000;
}

/* ==========================================================================
   Hero
   ========================================================================== */

.home-hero {
    position: relative;
    width: 100%;
    padding: 24px 0 0;
    overflow: hidden;
    background: #fff;
    --home-hero-slide-width: 920px;
    --home-hero-slide-height: 608px;
    --home-hero-slide-gap: 40px;
    --home-hero-radius-tl: 60px;
    --home-hero-radius-br: 60px;
    --home-hero-move-duration: 0.7s;
}

.home-hero__slider {
    position: relative;
    width: 100%;
    height: var(--home-hero-slide-height);
}

.home-hero__slide {
    position: absolute;
    top: 0;
    left: 50%;
    z-index: 0;
    width: var(--home-hero-slide-width);
    height: var(--home-hero-slide-height);
    margin: 0;
    overflow: hidden;
    border-radius: var(--home-hero-radius-tl) 0 var(--home-hero-radius-br) 0;
    --hero-offset: 0;
    opacity: 1;
    visibility: visible;
    pointer-events: none;
    transform: translateX(calc(-50% + var(--hero-offset) * (100% + var(--home-hero-slide-gap))));
    transition: transform var(--home-hero-move-duration) cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

.home-hero__slide--prev,
.home-hero__slide--next {
    z-index: 1;
    pointer-events: auto;
}

.home-hero__slide--active {
    z-index: 2;
    pointer-events: auto;
}

.home-hero__media {
    position: absolute;
    inset: 0;
}

.home-hero__fallback {
    position: absolute;
    inset: 0;
    z-index: 0;
    background: #3a68d5;
}

.home-hero__bg {
    position: absolute;
    inset: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: var(--hero-focus, center center);
}

.home-hero__overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.75) 100%);
    pointer-events: none;
}

.home-hero__overlay::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(58, 104, 213, 0.75);
    opacity: 1;
    transition: opacity var(--home-hero-move-duration) cubic-bezier(0.4, 0, 0.2, 1);
}

.home-hero__slide--active .home-hero__overlay::before {
    opacity: 0;
}

.home-hero__content {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 3;
    padding: 32px 36px 28px;
    opacity: 0;
    transform: translateY(12px);
    transition:
        opacity var(--home-hero-move-duration) cubic-bezier(0.4, 0, 0.2, 1),
        transform var(--home-hero-move-duration) cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

.home-hero__slide--active .home-hero__content {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.home-hero__title {
    display: block;
    margin: 0;
    max-width: 709px;
    font-size: 31px;
    font-weight: 700;
    line-height: 1.2;
    text-transform: uppercase;
    color: #fff;
    text-decoration: none;
}

a.home-hero__title:hover {
    opacity: 0.92;
}

.home-hero__dots {
    position: relative;
    z-index: 5;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-top: 16px;
}

.home-hero__dot {
    width: 100px;
    height: 8px;
    padding: 0;
    border: 0;
    border-radius: 99px;
    background: rgba(58, 104, 213, 0.5);
    cursor: pointer;
    transition:
        width 0.35s ease,
        background 0.35s ease;
}

.home-hero__dot--active {
    width: 200px;
    background: #3a68d5;
}

@media (prefers-reduced-motion: reduce) {
    .home-hero__slide,
    .home-hero__overlay::before,
    .home-hero__content,
    .home-hero__dot {
        transition: none;
    }
}

/* ==========================================================================
   Calendar
   ========================================================================== */

.home-calendar {
    position: relative;
    --home-event-card-width: 300px;
    padding: 32px 0 60px;
    overflow: visible;
}

.home-calendar__decor {
    position: absolute;
    top: 0;
    right: 0;
    width: auto;
    height: 175%;
    max-width: none;
    object-fit: contain;
    object-position: right top;
    pointer-events: none;
    z-index: 2;
}

.home-calendar .home-container {
    position: relative;
    z-index: 1;
}

.home-calendar__head {
    margin-bottom: 48px;
}

.home-calendar__head .home-section-title {
    margin-bottom: 0;
}

.home-calendar__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.home-calendar__nav {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.home-calendar__nav-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 37px;
    height: 38px;
    padding: 0;
    border: 0.4px solid #ababab;
    border-radius: 0 10px 0 10px;
    background: transparent;
    cursor: pointer;
}

.home-calendar__nav-btn.swiper-button-disabled {
    opacity: 0.35;
    cursor: default;
    pointer-events: none;
}

.home-calendar__slider {
    margin-bottom: 32px;
    overflow: hidden;
}

.home-calendar__slider .swiper-slide {
    width: var(--home-event-card-width);
    flex-shrink: 0;
    box-sizing: border-box;
}

.home-event-card {
    display: flex;
    flex-direction: column;
    width: 100%;
    min-width: 0;
    min-height: 160px;
    height: 100%;
    padding-right: 21px;
    box-sizing: border-box;
    border-top-left-radius: 30px;
    border-bottom-right-radius: 30px;
    background: #3a68d5;
    color: #fff;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.home-event-card:hover {
    background: #F23E01;
}

.home-event-card__body {
    display: grid;
    flex: 1 1 auto;
    grid-template-columns: 94px 25px minmax(0, 1fr);
    align-items: start;
    min-height: 115px;
    padding-top: 28px;
}

.home-event-card__date {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.home-event-card__day {
    font-size: 42.3px;
    font-weight: 400;
    line-height: 42.3px;
}

.home-event-card__month {
    margin-top: 5px;
    font-size: 16.92px;
    font-weight: 400;
    line-height: 22.56px;
}

.home-event-card__divider {
    justify-self: center;
    align-self: start;
    margin-top: 13px;
    width: 1px;
    height: 35.06px;
    object-fit: contain;
    transform: rotate(23deg);
    margin-right: 24px;
}

.home-event-card__info {
    min-width: 0;
    padding-top: 4px;
}

.home-event-card__title {
    margin: 0 0 10px;
    font-size: 14px;
    font-weight: 600;
    line-height: 17.5px;
    hyphens: auto;
    -webkit-hyphens: auto;
    overflow-wrap: break-word;
    word-break: normal;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    overflow: hidden;
}

.home-event-card__sport {
    display: block;
    font-size: 12px;
    font-weight: 300;
    line-height: 16.5px;
    letter-spacing: 0.55px;
    padding-bottom: 24px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.home-event-card__footer {
    position: relative;
    flex-shrink: 0;
    height: 45px;
    margin-right: -21px;
}

.home-event-card__meta-line {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    width: auto;
    height: 1px;
    background: #fff;
}

.home-event-card__meta-dot {
    position: absolute;
    width: 4px;
    height: 4px;
    background: #fff;
    border-radius: 50%;
}

.home-event-card__meta-dot--left {
    left: 22px;
    top: 22px;
}

.home-event-card__meta-dot--right {
    left: 115px;
    top: 22px;
}

.home-event-card__location {
    position: absolute;
    left: 36.78px;
    top: 16.21px;
    max-width: 72px;
    font-size: 12px;
    font-weight: 400;
    line-height: 16px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.home-event-card__status {
    position: absolute;
    left: 129.75px;
    top: 16.21px;
    max-width: calc(100% - 140px);
    font-size: 12px;
    font-weight: 400;
    line-height: 16px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.home-calendar__link {
    color: #3a68d5;
    font-size: 18px;
    font-weight: 400;
    line-height: 16px;
}

.home-calendar__link:hover {
    text-decoration: underline;
}

/* ==========================================================================
   News
   ========================================================================== */

.home-news {
    padding: 60px 0 80px;
}

.home-news__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.home-news-card {
    --home-news-card-pad-x: 24px;
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 0.4px solid #ababab;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.home-news-card__image {
    display: block;
    width: 100%;
    height: 289px;
    object-fit: cover;
    border-bottom-right-radius: 70px;
    border: 0.4px solid #ababab;
    margin: -1px -1px 0;
    width: calc(100% + 2px);
}

.home-news-card__content {
    flex: 1;
    padding: 24px var(--home-news-card-pad-x) 0;
}

.home-news-card__tag {
    display: block;
    margin-bottom: 12px;
    color: #3a68d5;
    font-size: 16px;
    font-weight: 400;
    line-height: 16px;
}

.home-news-card__title {
    margin: 0 0 12px;
    font-size: 25px;
    font-weight: 400;
    line-height: 32px;
}

.home-news-card__text {
    margin: 0;
    color: #777;
    font-size: 17px;
    font-weight: 400;
    line-height: 26px;
}

.home-news-card__footer {
    position: relative;
    margin-top: 24px;
    padding: 0;
}

.home-news-card__footer::before {
    content: '';
    display: block;
    width: 100%;
    height: 0.4px;
    background: #ababab;
}

.home-news-card__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 35px;
    margin: 20px var(--home-news-card-pad-x) 24px;
    padding: 0 18px;
    border-radius: 14px 0;
    background: rgba(3, 128, 208, 0.1);
    color: #3a68d5;
    font-size: 16px;
    font-weight: 400;
    line-height: 16px;
    text-decoration: none;
}

.home-news-card__btn:hover {
    background: rgba(3, 128, 208, 0.18);
}

/* ==========================================================================
   Countdown
   ========================================================================== */

.home-countdown {
    padding: 40px 0 80px;
}

.home-countdown__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 48px;
}

.home-countdown__head .home-section-title {
    margin-bottom: 0;
    flex: 1;
    min-width: 0;
}

.home-countdown__nav {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.home-countdown__nav-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 37px;
    height: 38px;
    padding: 0;
    border: 0.4px solid #ababab;
    border-radius: 0 10px 0 10px;
    background: transparent;
    cursor: pointer;
}

.home-countdown__nav-btn.swiper-button-disabled {
    opacity: 0.35;
    cursor: default;
}

.home-countdown__slider {
    overflow: hidden;
}

.home-countdown__grid.swiper-wrapper {
    display: flex;
    align-items: stretch;
}

.home-countdown-card.swiper-slide {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: auto;
    box-sizing: border-box;
}

.home-countdown-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-width: 0;
    min-height: 247px;
    padding: 38px 24px 24px;
    border: 0.4px solid #ababab;
    border-radius: 30px 0;
    background: rgba(255, 255, 255, 0.1);
    color: #151515;
    text-align: center;
    transition: transform 0.35s ease, box-shadow 0.35s ease, background 0.35s ease, border-color 0.35s ease, color 0.35s ease;
}

.home-countdown-card__number {
    margin: 0;
    font-size: clamp(48px, 5.5vw, 78px);
    font-weight: 400;
    line-height: 1;
    letter-spacing: 6px;
    font-variant-numeric: tabular-nums;
}

.home-countdown-card__label {
    width: 100%;
    max-width: 262px;
    margin-left: auto;
    margin-right: auto;
    font-size: clamp(18px, 1.8vw, 24px);
    font-weight: 400;
    line-height: 28px;
    letter-spacing: 1px;
    text-align: center;
}

.home-countdown-card__label--top {
    margin: 0 auto 16px;
}

.home-countdown-card__label--bottom {
    margin: 16px auto 24px;
}

.home-countdown-card__badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 182px;
    max-width: 100%;
    height: 35px;
    padding: 0 16px;
    border: 0.4px solid #ababab;
    border-radius: 20px 0;
    background: rgba(255, 255, 255, 0.1);
    font-size: 16px;
    font-weight: 400;
    line-height: 16px;
    transition: background 0.35s ease, border-color 0.35s ease, color 0.35s ease;
}

/* ==========================================================================
   History / achievements
   ========================================================================== */

.home-history {
    position: relative;
    width: 100%;
    height: 650px;
    color: #fff;
    overflow: visible;
}

.home-history__decor {
    position: absolute;
    right: 0;
    bottom: 0;
    width: auto;
    height: 180%;
    max-width: none;
    object-fit: contain;
    object-position: right bottom;
    pointer-events: none;
    z-index: 1;
}

.home-history__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.home-history__bg-swiper {
    position: relative;
    z-index: 0;
    width: 100%;
    height: 100%;
}

.home-history__bg-swiper .swiper-slide {
    height: 100%;
}

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

.home-history__overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
        radial-gradient(ellipse 50% 50% at 50% 50%, rgba(4, 0, 61, 0) 26%, rgba(4, 0, 61, 0.4) 100%),
        linear-gradient(0deg, rgba(23, 23, 23, 0.4) 0%, rgba(23, 23, 23, 0.4) 100%);
}

.home-history__inner {
    position: relative;
    z-index: 2;
    max-width: 1366px;
    height: 100%;
    margin: 0 auto;
}

.home-history__content-swiper {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
}

.home-history__content-swiper .swiper-slide {
    position: relative;
    height: 100%;
}

.home-history__subtitle {
    position: absolute;
    left: 45px;
    right: 0;
    top: 68.56px;
    margin: 0;
    text-align: left;
    font-size: 18px;
    font-weight: 400;
    line-height: 26px;
    letter-spacing: 4px;
}

.home-history__year {
    position: absolute;
    left: 26.86px;
    top: 165.16px;
    font-size: 107px;
    font-weight: 600;
    line-height: 48px;
}

.home-history__title {
    position: absolute;
    left: 40.56px;
    top: 284.39px;
    width: 600px;
    margin: 0;
    font-size: 33px;
    font-weight: 600;
    line-height: 34px;
}

.home-history__texts {
    position: absolute;
    left: 40.56px;
    right: 45px;
    top: 376.27px;
    width: auto;
    max-height: calc(528.98px - 376.27px);
    height: calc(528.98px - 376.27px);
    columns: 395px;
    column-gap: 60px;
    column-fill: auto;
}

.home-history__text {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    line-height: 26px;
    break-inside: avoid-column;
}

.home-history__text + .home-history__text {
    margin-top: 12px;
}

.home-history__timeline {
    position: absolute;
    left: 40.56px;
    top: 528.98px;
    width: min(1284.89px, calc(100% - 81.12px));
    height: 72px;
}

.home-history__nav-btn {
    position: absolute;
    top: 10px;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    padding: 0;
    border: 0.89px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
}

.home-history__nav-btn--prev {
    left: 0;
}

.home-history__nav-btn--next {
    right: 0;
}

.home-history__nav-btn img {
    filter: brightness(0) invert(1);
}

.home-history__nav-btn.swiper-button-disabled {
    opacity: 0.35;
    cursor: default;
    pointer-events: none;
}

.home-history__years {
    position: absolute;
    left: 48px;
    width: 1188.89px;
    max-width: calc(100% - 96px);
    height: 72px;
    overflow: visible;
}

.home-history__years-track {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 68px;
    overflow: hidden;
}

.home-history__line {
    position: absolute;
    left: 0;
    top: 33.5px;
    width: 100%;
    height: 1px;
    background: rgba(255, 255, 255, 0.3);
    z-index: 1;
    pointer-events: none;
}

.home-history__years-active-slot {
    position: absolute;
    left: 50%;
    top: 0;
    width: 0;
    height: 72px;
    transform: translateX(-50%);
    pointer-events: none;
    z-index: 3;
}

.home-history__years-active-slot::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 47px;
    transform: translateX(-50%);
    width: 24px;
    height: 24px;
    border: 4px solid #fff;
    border-radius: 50%;
    background: transparent;
    box-sizing: border-box;
}

.home-history__years-active-slot::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 54px;
    transform: translateX(-50%);
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #fff;
    z-index: 1;
}

.home-history__years-swiper {
    position: relative;
    width: 100%;
    height: 68px;
    overflow: hidden;
}

.home-history__years-swiper .swiper-slide {
    width: auto;
    display: flex;
    justify-content: center;
}

.home-history__year-btn {
    position: relative;
    top: 1.4px;
    padding: 0 0 48px;
    border: 0;
    background: transparent;
    color: rgba(255, 255, 255, 0.5);
    font-family: var(--font-family);
    font-size: 18px;
    font-weight: 600;
    line-height: 28px;
    cursor: pointer;
    white-space: nowrap;
    transition: color 0.35s ease, font-size 0.35s ease, line-height 0.35s ease, top 0.35s ease;
}

.home-history__year-btn::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 51px;
    transform: translateX(-50%);
    width: 16px;
    height: 16px;
    border: 1.78px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    background: transparent;
    box-sizing: border-box;
    transition: opacity 0.35s ease;
}

.home-history__years-swiper .swiper-slide-active .home-history__year-btn {
    top: -1.1px;
    color: #fff;
    font-size: 22.5px;
    line-height: 35px;
}

.home-history__years-swiper .swiper-slide-active .home-history__year-btn::after {
    opacity: 0;
}

/* ==========================================================================
   Instagram
   ========================================================================== */

.home-instagram {
    padding: 80px 0;
    overflow: hidden;
}

.home-instagram__decor {
    position: absolute;
    right: 0;
    top: 25px;
    width: 50%;
    height: auto;
    opacity: 0.5;
    pointer-events: none;
    z-index: 2;
}

.home-instagram .home-container {
    position: relative;
    z-index: 1;
}

.home-instagram__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 16px;
}

.home-instagram__heading {
    position: relative;
    padding-left: 46px;
}

.home-instagram__heading .home-section-title {
    margin-bottom: 0;
}

.home-instagram__heading .home-section-title__accent {
    left: -24px;
    top: 0;
    width: 5px;
    transform: rotate(23deg);
    transform-origin: top left;
}

.home-section-title--dark {
    font-size: 65px;
    line-height: 50px;
}

.home-instagram__subscribe {
    position: relative;
    flex-shrink: 0;
    width: 300px;
    height: 72px;
    border-top-left-radius: 42px;
    border-bottom-right-radius: 42px;
    background: #215dc6;
    color: #fff;
}

.home-instagram__subscribe span {
    position: absolute;
    left: 37.07px;
    top: 13px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    font-size: 26px;
    font-weight: 600;
    line-height: 27px;
}

.home-instagram__subscribe img {
    position: absolute;
    left: 257.35px;
    top: 21.05px;
    width: 19.01px;
    height: 25.54px;
    transform-origin: top left;
}

.home-instagram__subscribe:hover {
    opacity: 0.92;
}

.home-instagram__handle {
    margin: 0 0 40px 45px;
    font-size: 44px;
    font-weight: 400;
    line-height: 39px;
    letter-spacing: 9px;
    color: #151515;
}

.home-instagram__feed {
    position: relative;
    width: 100%;
    min-height: 200px;
}

.home-instagram__feed .eapps-widget-toolbar-panel-wrapper,
.home-instagram .eapps-widget-toolbar-panel-wrapper,
.home-instagram a[href*="elfsight.com/instagram-feed"],
.home-instagram a[href*="utm_campaign=free-widget"] {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    pointer-events: none !important;
    opacity: 0 !important;
}

.home-instagram__feed .es-widget-title,
.home-instagram__feed .eapps-instagram-feed-title-container,
.home-instagram__feed .es-load-more-button {
    display: none !important;
}

/* Manual Instagram slider + cards (CMS posts) — replaced by Elfsight
.home-instagram__grid {
    display: flex;
    flex-wrap: nowrap;
    gap: 0;
    box-sizing: content-box;
}

.home-instagram__slider.swiper {
    overflow: hidden;
}

.home-instagram__slider .home-insta-card {
    flex-shrink: 0;
    height: auto;
    box-sizing: border-box;
    max-width: none;
}

.home-instagram__nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 20px;
}

.home-instagram__nav-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 37px;
    height: 38px;
    padding: 0;
    border: 0.4px solid #ababab;
    border-radius: 0 10px 0 10px;
    background: transparent;
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.home-instagram__nav-btn.swiper-button-disabled {
    opacity: 0.35;
    cursor: default;
    pointer-events: none;
}

.home-insta-card {
    position: relative;
    max-width: 410px;
    border-radius: 30px 0;
    outline: 1px solid #d5d5d5;
    outline-offset: -1px;
    overflow: hidden;
    background: #fff;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.home-insta-card__header {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 61px;
    padding: 12px 11px 13px;
}

.home-insta-card__avatar {
    width: 35px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.home-insta-card__user {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
}

.home-insta-card__username {
    font-size: 14.77px;
    font-weight: 400;
    line-height: 20.45px;
    color: #2b2a29;
}

.home-insta-card__bio {
    font-size: 11.36px;
    font-weight: 300;
    line-height: 20.45px;
    color: #2b2a29;
}

.home-insta-card__menu {
    width: 17px;
    height: 5px;
    flex-shrink: 0;
    margin-right: 5px;
}

.home-insta-card__media {
    position: relative;
    display: block;
    text-decoration: none;
    color: inherit;
}

.home-insta-card__media-swiper {
    position: relative;
    display: block;
    overflow: hidden;
}

.home-insta-card__media-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.home-insta-card__media img,
.home-insta-card__media-link img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.home-insta-card__counter {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 3;
    min-width: 37px;
    height: 30px;
    padding: 0 8px;
    border-radius: 15px;
    background: rgba(18, 18, 18, 0.7);
    color: #f9f9f9;
    font-size: 13.63px;
    font-weight: 400;
    line-height: 30px;
    text-align: center;
    pointer-events: none;
}

.home-insta-card__footer {
    display: flex;
    flex-direction: column;
    min-height: 167px;
    padding: 24px 16px 16px;
    background: rgba(255, 255, 255, 0.5);
}

.home-insta-card__actions {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    margin-bottom: 16px;
}

.home-insta-card__actions-left {
    display: flex;
    align-items: center;
    gap: 16px;
    justify-self: start;
}

.home-insta-card__dots {
    display: flex;
    align-items: center;
    gap: 2px;
    justify-self: center;
}

.home-insta-card__dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.15);
}

.home-insta-card__dot--active {
    background: #3a68d5;
}

.home-insta-card__actions img {
    display: block;
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.home-insta-card__actions-save {
    justify-self: end;
}

.home-insta-card__likes {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
    font-size: 15px;
    line-height: 20.45px;
    color: #2b2a29;
}

.home-insta-card__likes img {
    width: 19px;
    height: 20px;
    flex-shrink: 0;
}

.home-insta-card__caption {
    margin: 0 0 14px;
    font-size: 14.77px;
    line-height: 20.45px;
    color: #2b2a29;
}

.home-insta-card__date {
    margin-top: auto;
    font-size: 12.5px;
    font-weight: 400;
    line-height: 20.45px;
    color: rgba(0, 0, 0, 0.4);
    letter-spacing: 0.06px;
}
*/

/* ==========================================================================
   YouTube
   ========================================================================== */

.home-youtube {
    --home-yt-card-width: 410px;
    --home-yt-card-gap: 30px;
    --home-yt-row-gap: var(--home-yt-card-gap);
    --home-yt-thumb-ratio: 410 / 270;
    --home-yt-thumb-height: calc(var(--home-yt-card-width) * 270 / 410);
    --home-yt-column-height: calc(2 * var(--home-yt-thumb-height) + var(--home-yt-row-gap));
    --home-yt-visible-width: calc(2 * var(--home-yt-card-width) + var(--home-yt-card-gap));
    position: relative;
    min-height: 735px;
    padding: 0;
    background: #3a68d5;
    overflow-x: clip;
    overflow-y: hidden;
}

.home-youtube__decor {
    position: absolute;
    left: 0;
    bottom: 0;
    width: auto;
    max-width: 100%;
    height: 80%;
    object-fit: contain;
    object-position: left bottom;
    pointer-events: none;
    z-index: 0;
}

.home-youtube__inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: calc((var(--content-max-width) - 40px) / 2) minmax(var(--home-yt-visible-width), 1fr);
    gap: 40px;
    width: 100%;
    max-width: none;
    min-height: 735px;
    padding-top: 80px;
    padding-bottom: 80px;
    padding-left: max(var(--container-padding-x), calc((100vw - var(--container-max-width)) / 2 + var(--container-padding-x)));
    padding-right: 0;
    box-sizing: border-box;
}

.home-youtube__info {
    color: #fff;
    padding-top: 24px;
    width: 100%;
    max-width: calc((var(--content-max-width) - 40px) / 2);
    min-width: 0;
}

.home-youtube__heading {
    position: relative;
    padding-left: 46px;
    margin-bottom: 16px;
}

.home-youtube__accent {
    position: absolute;
    left: 21px;
    top: 0;
    display: block;
    width: 5px;
    height: 53px;
    transform: rotate(23deg);
    transform-origin: top left;
    background: #ffffff;
}

.home-youtube__title {
    margin: 0;
    font-size: 65px;
    font-weight: 600;
    line-height: 49.55px;
    text-transform: uppercase;
}

.home-youtube__handle {
    margin: 0 0 32px;
    font-size: 34px;
    font-weight: 400;
    line-height: 39px;
}

.home-youtube__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 265px;
    height: 44px;
    margin-bottom: 48px;
    border-radius: 32px 0;
    background: #fff;
    color: #215dc6;
    font-size: 21px;
    font-weight: 600;
    line-height: 27px;
}

.home-youtube__btn:hover {
    opacity: 0.9;
}

.home-youtube__dots {
    display: flex;
    gap: 12px;
}

.home-youtube__dot {
    width: 12px;
    height: 12px;
    border: 0;
    padding: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
}

.home-youtube__dot--active {
    background: #fff;
}

.home-youtube__slider-wrap {
    min-width: var(--home-yt-visible-width);
    overflow: hidden;
}

.home-youtube__slider.swiper {
    overflow: hidden;
    width: 100%;
}

/* Desktop: fixed viewport at natural left edge; cards clip on scroll */
@media (min-width: 1281px) {
    .home-youtube__slider-wrap {
        min-width: var(--home-yt-visible-width);
    }

    .home-youtube__slider.swiper {
        width: var(--home-yt-visible-width);
        max-width: 100%;
        margin-left: 0;
    }
}

.home-youtube__slider .swiper-wrapper {
    min-height: var(--home-yt-column-height);
    align-items: flex-start;
}

.home-youtube__slider .swiper-slide.home-yt-column {
    width: var(--home-yt-card-width);
    height: auto;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: var(--home-yt-row-gap);
    box-sizing: border-box;
}

.home-yt-column .home-yt-card {
    width: 100%;
    flex-shrink: 0;
}

.home-yt-card {
    width: var(--home-yt-card-width);
    overflow: hidden;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.home-yt-card__trigger {
    display: block;
    width: 100%;
    padding: 0;
    border: 0;
    background: none;
    color: inherit;
    cursor: pointer;
    text-align: left;
}

.home-yt-card__trigger[hidden] {
    display: none;
}

.home-yt-card__thumb {
    position: relative;
    display: block;
    aspect-ratio: var(--home-yt-thumb-ratio);
    height: auto;
}

.home-yt-card__player {
    position: relative;
    aspect-ratio: var(--home-yt-thumb-ratio);
    height: auto;
}

.home-yt-card__player[hidden] {
    display: none;
}

.home-yt-card__iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
    border-radius: 30px 0;
}

.home-yt-card__image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 30px 0;
}

.home-yt-card__thumb::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 30px 0;
    background: rgba(0, 0, 0, 0.2);
    pointer-events: none;
}

.home-yt-card__meta {
    position: absolute;
    top: 20px;
    left: 21px;
    right: 21px;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 17px;
    min-width: 0;
}

.home-yt-card__channel-icon {
    width: 37px;
    height: 37px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.home-yt-card__channel {
    font-size: 16px;
    font-weight: 400;
    line-height: 21px;
    color: #fff;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.home-yt-card__play {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 1;
    transform: translate(-50%, -50%);
    width: calc(100% * 86 / 410);
    height: auto;
    aspect-ratio: 86 / 60;
}

.home-yt-card__bar {
    position: absolute;
    left: 0;
    bottom: calc(100% * 24 / 270);
    z-index: 2;
    display: flex;
    align-items: center;
    width: calc(100% * 287 / 410);
    max-width: calc(100% - 24px);
    height: calc(100% * 49 / 270);
    padding: 0 clamp(12px, 9%, 38px);
    background: rgba(0, 0, 0, 0.5);
    border-top-right-radius: 20px;
    overflow: hidden;
    box-sizing: border-box;
}

.home-yt-card__action {
    font-size: 19px;
    font-weight: 400;
    line-height: 21px;
    color: #fff;
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* ==========================================================================
   Partners
   ========================================================================== */

.home-partners {
    padding: 80px 0 40px;
}

.home-partners__title {
    margin: 0 0 40px;
    font-size: 42px;
    font-weight: 600;
    line-height: 46px;
}

.home-partners__marquee {
    --partners-item-width: 180px;
    --partners-item-gap: 30px;
    --partners-marquee-duration: 18s;
}

.home-partners__grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 30px;
}

/* Clone hidden in static grid — shown only during marquee */
.home-partners__grid--clone {
    display: none;
}

.home-partners__item {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 90px;
    border: 0.4px solid #ababab;
    border-radius: 30px 0;
    overflow: hidden;
    color: inherit;
    text-decoration: none;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.home-partners__item img {
    max-width: 92%;
    max-height: 88%;
    object-fit: contain;
}

/* ==========================================================================
   Contacts: reception + survey
   ========================================================================== */

.home-contacts {
    padding: 40px 0 80px;
}

.home-contacts__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: stretch;
}

.home-reception,
.home-survey {
    height: 100%;
}

.home-reception {
    position: relative;
    width: 100%;
    min-height: 601px;
    padding: 79px 46px 48px;
    border-radius: 40px 0;
    background: #3a68d5;
    color: #fff;
    overflow: hidden;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.home-reception__decor {
    position: absolute;
    left: 38px;
    top: 129px;
    width: 570px;
    max-width: calc(100% - 76px);
    height: auto;
    pointer-events: none;
    z-index: 0;
}

.home-reception__title {
    position: relative;
    z-index: 1;
    margin: 0 0 40px;
    font-size: 35px;
    font-weight: 600;
    line-height: 32px;
    text-transform: uppercase;
}

.home-reception__text {
    position: relative;
    z-index: 1;
    margin: 0 0 111px;
    max-width: 520px;
    font-size: 21px;
    font-weight: 400;
    line-height: 28px;
}

.home-reception__line {
    position: relative;
    z-index: 1;
    width: 47px;
    height: 7px;
    margin-bottom: 65px;
    background: #fff;
}

.home-reception__actions {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: flex-end;
    gap: 46px;
    flex-wrap: wrap;
}

.home-reception__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 191px;
    height: 44px;
    border-radius: 20px 0;
    background: #fff;
    color: #3a68d5;
    font-size: 18px;
    font-weight: 600;
    line-height: 27px;
}

.home-reception__btn:hover {
    opacity: 0.92;
}

.home-reception__note {
    margin: 0;
    max-width: 226px;
    font-size: 14px;
    font-style: italic;
    font-weight: 400;
    line-height: 20px;
}

.home-survey {
    width: 100%;
    min-height: 601px;
    perspective: 1400px;
    background: transparent;
    border: 0;
    overflow: visible;
}

.home-survey__flip {
    position: relative;
    display: grid;
    width: 100%;
    height: 100%;
    min-height: 601px;
    transform-style: preserve-3d;
    transition: transform 0.75s cubic-bezier(0.4, 0.2, 0.2, 1);
}

.home-survey--flipped .home-survey__flip {
    transform: rotateY(180deg);
}

.home-survey__face {
    grid-area: 1 / 1;
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    min-height: 601px;
    border: 0.4px solid #ababab;
    border-radius: 40px 0;
    background: #fff;
    overflow: hidden;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    transition: box-shadow 0.35s ease;
}

.home-survey__face--front {
    position: relative;
    transform: rotateY(0deg);
}

.home-survey__face--back {
    position: relative;
    transform: rotateY(180deg);
}

.home-survey:not(.home-survey--flipped) .home-survey__face--back {
    pointer-events: none;
}

.home-survey--flipped .home-survey__face--front {
    pointer-events: none;
}

.home-survey__body--back {
    display: flex;
    flex: 1;
    flex-direction: column;
    justify-content: flex-start;
    gap: 24px;
}

.home-survey__body--back .home-survey__results {
    flex: 1;
    margin-top: 0;
}

.home-survey__body--back .home-survey__buttons--solo {
    margin-top: auto;
}

@media (prefers-reduced-motion: reduce) {
    .home-survey__flip {
        transition: none;
    }
}

.home-survey__head {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    height: 72px;
    padding: 0 66px;
    background: #f6f6f6;
    border-radius: 40px 0 0;
}

.home-survey__label {
    font-size: 19px;
    font-weight: 300;
    line-height: 32px;
    text-align: center;
    color: #151515;
}

.home-survey__body {
    padding: 40px 66px 48px;
}

.home-survey__title {
    margin: 0 0 32px;
    max-width: 100%;
    font-size: 32px;
    font-weight: 600;
    line-height: 39px;
    color: #151515;
}

.home-survey__form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.home-survey__fields {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.home-survey__option {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 374px;
    max-width: 100%;
    height: 46px;
    padding: 0 16px 0 13px;
    border-radius: 20px 0;
    outline: 1px solid #e0e0e0;
    outline-offset: -1px;
    cursor: pointer;
    font-size: 17px;
    font-weight: 400;
    line-height: 20px;
    color: #151515;
}

.home-survey__option input {
    appearance: none;
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    margin: 0;
    border: 1px solid #666;
    border-radius: 50%;
    background: #fff;
}

.home-survey__option input:checked {
    border-color: #3a68d5;
    background: radial-gradient(circle, #3a68d5 40%, #fff 45%);
}

.home-survey__buttons {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.home-survey__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 142px;
    height: 44px;
    border: 0;
    border-radius: 20px 0;
    font-family: var(--font-family);
    font-size: 17px;
    line-height: 20px;
    cursor: pointer;
}

.home-survey__btn--primary {
    background: #3a68d5;
    color: #fff;
    font-weight: 600;
}

.home-survey__btn--secondary {
    outline: 1px solid #b7b7b7;
    outline-offset: -1px;
    background: transparent;
    color: #151515;
    font-weight: 400;
    line-height: 16px;
}

.home-survey__btn--primary:hover {
    opacity: 0.92;
}

.home-survey__btn--secondary:hover {
    background: #f6f6f6;
}

.home-survey__flash:not(:empty) {
    margin-bottom: 12px;
}

.home-survey__message {
    margin: 0 0 16px;
    font-size: 17px;
    line-height: 24px;
    color: #151515;
}

.home-survey__message--success {
    color: #1f7a3f;
}

.home-survey__message--error {
    color: #b42318;
}

.home-survey__message--info {
    color: #666;
}

.home-survey__buttons--solo {
    margin-top: 0;
}

.home-survey__results {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 20px;
}

.home-survey__results-total {
    margin: 0;
    font-size: 15px;
    line-height: 20px;
    color: #666;
}

.home-survey__results-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.home-survey__result {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.home-survey__result-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 0;
}

.home-survey__result-label {
    font-size: 16px;
    line-height: 20px;
    color: #151515;
}

.home-survey__result-percent {
    font-size: 15px;
    font-weight: 600;
    line-height: 20px;
    color: #3a68d5;
}

.home-survey__result-bar {
    height: 8px;
    border-radius: 999px;
    background: #ececec;
    overflow: hidden;
}

.home-survey__result-fill {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: #3a68d5;
}

/* ==========================================================================
   Contacts — responsive
   ========================================================================== */

@media (max-width: 900px) {
    .home-contacts__grid {
        gap: 24px;
    }

    .home-reception {
        padding: 60px 36px 40px;
    }

    .home-reception__text {
        margin-bottom: 72px;
    }

    .home-reception__line {
        margin-bottom: 48px;
    }

    .home-survey__head {
        padding: 0 40px;
    }

    .home-survey__body {
        padding: 32px 40px 40px;
    }

    .home-survey__body--back {
        justify-content: flex-start;
        gap: 20px;
    }
}

@media (max-width: 700px) {
    .home-contacts {
        padding: 32px 0 48px;
    }

    .home-contacts__grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .home-reception,
    .home-survey {
        max-width: 100%;
    }

    .home-reception,
    .home-survey,
    .home-survey__flip,
    .home-survey__face {
        min-height: auto;
        height: auto;
    }

    .home-survey {
        overflow: hidden;
        perspective: 1000px;
    }

    .home-reception {
        padding: 48px 28px 36px;
        border-radius: 32px 0;
    }

    .home-reception__decor {
        left: 24px;
        top: 100px;
        width: calc(100% - 48px);
        max-width: none;
    }

    .home-reception__text {
        margin-bottom: 48px;
        font-size: 18px;
        line-height: 26px;
    }

    .home-reception__line {
        margin-bottom: 36px;
    }

    .home-reception__actions {
        gap: 24px;
    }

    .home-survey__face {
        border-radius: 32px 0;
    }

    .home-survey__head {
        height: 60px;
        padding: 0 28px;
        border-radius: 32px 0 0;
    }

    .home-survey__label {
        font-size: 17px;
        line-height: 24px;
    }

    .home-survey__body {
        padding: 28px 28px 36px;
    }

    .home-survey__title {
        margin-bottom: 24px;
    }

    .home-survey__option {
        width: 100%;
        height: 44px;
        font-size: 16px;
    }

    .home-survey__buttons {
        flex-wrap: wrap;
    }

    .home-survey__btn {
        flex: 1 1 120px;
        min-width: 120px;
    }

    .home-survey__body--back {
        gap: 16px;
    }

    .home-survey__results {
        margin-top: 0;
    }

    .home-survey__results-list {
        gap: 12px;
    }
}

@media (max-width: 480px) {
    .home-contacts {
        padding: 24px 0 40px;
    }

    .home-contacts__grid {
        gap: 20px;
    }

    .home-reception {
        padding: 36px 20px 28px;
        border-radius: 24px 0;
    }

    .home-reception__decor {
        left: 16px;
        top: 80px;
        width: calc(100% - 32px);
    }

    .home-reception__text {
        margin-bottom: 36px;
        font-size: 16px;
        line-height: 24px;
    }

    .home-reception__line {
        width: 40px;
        height: 6px;
        margin-bottom: 28px;
    }

    .home-reception__actions {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .home-reception__btn {
        width: 100%;
        max-width: 220px;
    }

    .home-reception__note {
        max-width: 100%;
    }

    .home-survey__face {
        border-radius: 24px 0;
    }

    .home-survey__head {
        height: 52px;
        padding: 0 20px;
        border-radius: 24px 0 0;
    }

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

    .home-survey__body {
        padding: 24px 20px 28px;
    }

    .home-survey__option {
        height: 42px;
        font-size: 15px;
    }

    .home-survey__buttons {
        flex-direction: column;
    }

    .home-survey__btn {
        width: 100%;
        flex: none;
    }

    .home-survey__body--back .home-survey__buttons--solo {
        width: 100%;
    }

    .home-survey__result-label {
        font-size: 15px;
    }

    .home-survey__result-percent {
        font-size: 14px;
    }
}

/* Countdown — responsive */
@media (max-width: 1000px) {
    .home-countdown {
        padding: 36px 0 64px;
    }

    .home-countdown__head {
        margin-bottom: 36px;
    }

    .home-countdown-card {
        min-height: 220px;
        padding: 30px 20px 20px;
    }
}

@media (max-width: 900px) {
    .home-countdown {
        padding: 32px 0 56px;
    }

    .home-countdown-card {
        min-height: 200px;
        padding: 26px 16px 18px;
        border-radius: 24px 0;
    }
}

@media (max-width: 700px) {
    .home-countdown {
        padding: 28px 0 48px;
    }

    .home-countdown__head {
        margin-bottom: 28px;
    }

    .home-countdown-card {
        min-height: 180px;
        padding: 24px 20px 20px;
        border-radius: 20px 0;
    }

    .home-countdown-card__number {
        font-size: clamp(36px, 10vw, 56px);
    }

    .home-countdown-card__label--top,
    .home-countdown-card__label--bottom {
        font-size: clamp(16px, 4vw, 20px);
        line-height: 1.35;
    }

    .home-countdown-card__label--top {
        margin-bottom: 12px;
    }

    .home-countdown-card__label--bottom {
        margin: 12px auto 16px;
    }

    .home-countdown-card__badge {
        min-width: auto;
        height: 32px;
        font-size: 14px;
    }
}

@media (max-width: 600px) {
    .home-countdown-card {
        min-height: 180px;
        padding: 28px 20px 20px;
    }

    .home-countdown-card__number {
        font-size: clamp(40px, 11vw, 60px);
    }

    .home-countdown-card__label--top {
        margin-bottom: 12px;
        font-size: clamp(15px, 4vw, 20px);
        line-height: 1.4;
    }

    .home-countdown-card__label--bottom {
        margin: 12px auto 16px;
        font-size: clamp(15px, 4vw, 20px);
        line-height: 1.4;
    }

    .home-countdown-card__badge {
        min-width: 140px;
        height: 32px;
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .home-countdown {
        padding: 24px 0 40px;
    }

    .home-countdown-card {
        min-height: 160px;
        padding: 24px 16px 18px;
    }

    .home-countdown-card__number {
        font-size: clamp(36px, 10vw, 52px);
    }

    .home-countdown-card__label--top,
    .home-countdown-card__label--bottom {
        font-size: clamp(14px, 3.8vw, 18px);
    }

    .home-countdown-card__label--top {
        margin-bottom: 10px;
    }

    .home-countdown-card__label--bottom {
        margin: 10px auto 14px;
    }
}

/* ==========================================================================
   Global — container & section title responsive
   ========================================================================== */

@media (max-width: 1200px) {
    .home-section-title {
        font-size: 50px;
        line-height: 62px;
        margin-bottom: 32px;
    }

    .home-section-title__accent {
        width: 5px;
        height: 44px;
    }
}

@media (max-width: 1000px) {
    .home-section-title {
        font-size: 42px;
        line-height: 52px;
    }

    .home-section-title__accent {
        width: 5px;
        height: 38px;
    }
}

@media (max-width: 900px) {
    .home-section-title {
        font-size: 36px;
        line-height: 44px;
        margin-bottom: 28px;
    }

    .home-section-title__accent {
        height: 32px;
    }
}

@media (max-width: 700px) {
    .home-section-title {
        font-size: 28px;
        line-height: 36px;
        margin-bottom: 22px;
    }

    .home-section-title__accent {
        height: 26px;
        width: 5px;
    }
}

@media (max-width: 600px) {
    .home-section-title {
        font-size: 24px;
        line-height: 30px;
        margin-bottom: 18px;
    }

    .home-section-title__accent {
        height: 22px;
        width: 4px;
    }
}

@media (max-width: 480px) {
    .home-section-title {
        font-size: 20px;
        line-height: 26px;
        margin-bottom: 16px;
    }

    .home-section-title__accent {
        height: 18px;
        width: 4px;
    }
}

/* ==========================================================================
   Hero — responsive
   ========================================================================== */

@media (max-width: 1200px) {
    .home-hero {
        --home-hero-slide-width: min(920px, calc(100vw - 160px));
        --home-hero-slide-height: calc(var(--home-hero-slide-width) * 608 / 920);
        --home-hero-radius-tl: 48px;
        --home-hero-radius-br: 48px;
        padding: 20px 0 0;
    }

    .home-hero__content {
        padding: 24px 28px 22px;
    }

    .home-hero__title {
        font-size: 26px;
        max-width: 670px;
    }

    .home-hero__dot {
        width: 72px;
    }

    .home-hero__dot--active {
        width: 144px;
    }

    .home-youtube__heading {
        padding-left: 40px;
    }

    .home-youtube__accent {
        left: 16px;
        width: 5px;
        height: 46px;
    }

    .home-instagram__heading {
        padding-left: 40px;
    }

    .home-instagram__heading .home-section-title__accent {
        left: -20px;
        width: 5px;
        height: 46px;
    }
}

@media (max-width: 1000px) {
    .home-hero {
        --home-hero-slide-width: min(720px, calc(100vw - 120px));
        --home-hero-slide-height: calc(var(--home-hero-slide-width) * 608 / 920);
        --home-hero-slide-gap: 24px;
        --home-hero-radius-tl: 40px;
        --home-hero-radius-br: 40px;
        padding: 16px 0 0;
    }

    .home-hero__title {
        font-size: 22px;
        max-width: 560px;
    }

    .home-youtube__heading {
        padding-left: 36px;
    }

    .home-youtube__accent {
        left: 14px;
        width: 5px;
        height: 40px;
    }

    .home-instagram__heading {
        padding-left: 36px;
    }

    .home-instagram__heading .home-section-title__accent {
        left: -18px;
        width: 5px;
        height: 40px;
    }
}

@media (max-width: 900px) {
    .home-hero {
        --home-hero-slide-width: min(640px, calc(100vw - 80px));
        --home-hero-slide-height: calc(var(--home-hero-slide-width) * 608 / 920);
        --home-hero-slide-gap: 16px;
        padding: 16px 0 0;
    }

    .home-hero__content {
        padding: 20px 22px 18px;
    }

    .home-hero__title {
        font-size: 20px;
        max-width: 100%;
    }

    .home-hero__dot {
        width: 56px;
        height: 6px;
    }

    .home-hero__dot--active {
        width: 112px;
    }

    .home-youtube__heading {
        padding-left: 32px;
    }

    .home-youtube__accent {
        left: 12px;
        width: 5px;
        height: 36px;
    }

    .home-instagram__heading {
        padding-left: 32px;
    }

    .home-instagram__heading .home-section-title__accent {
        left: -16px;
        width: 5px;
        height: 36px;
    }
}

@media (max-width: 700px) {
    .home-hero {
        --home-hero-slide-width: calc(100vw - 48px);
        --home-hero-slide-height: calc(var(--home-hero-slide-width) * 608 / 920);
        --home-hero-slide-gap: 12px;
        --home-hero-radius-tl: 30px;
        --home-hero-radius-br: 30px;
        padding: 12px 0 0;
    }

    .home-hero__title {
        font-size: 18px;
        line-height: 1.25;
    }

    .home-hero__dots {
        margin-top: 12px;
        gap: 8px;
    }

    .home-youtube__heading {
        padding-left: 28px;
    }

    .home-youtube__accent {
        left: 10px;
        width: 5px;
        height: 30px;
    }

    .home-instagram__heading {
        padding-left: 28px;
    }

    .home-instagram__heading .home-section-title__accent {
        left: -14px;
        width: 5px;
        height: 30px;
    }
}

@media (max-width: 600px) {
    .home-hero {
        --home-hero-slide-width: calc(100vw - 32px);
        --home-hero-slide-height: calc(var(--home-hero-slide-width) * 608 / 920);
        --home-hero-radius-tl: 24px;
        --home-hero-radius-br: 24px;
        padding: 12px 0 0;
    }

    .home-hero__content {
        padding: 16px 18px 14px;
    }

    .home-hero__title {
        font-size: 16px;
    }

    .home-hero__dot {
        width: 40px;
        height: 6px;
    }

    .home-hero__dot--active {
        width: 80px;
    }

    .home-youtube__heading {
        padding-left: 24px;
    }

    .home-youtube__accent {
        left: 8px;
        width: 4px;
        height: 26px;
    }

    .home-instagram__heading {
        padding-left: 24px;
    }

    .home-instagram__heading .home-section-title__accent {
        left: -12px;
        width: 4px;
        height: 26px;
    }
}

@media (max-width: 480px) {
    .home-hero {
        --home-hero-slide-width: calc(100vw - 24px);
        --home-hero-slide-height: calc(var(--home-hero-slide-width) * 608 / 920);
        --home-hero-radius-tl: 20px;
        --home-hero-radius-br: 20px;
        padding: 10px 0 0;
    }

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

    .home-hero__dots {
        margin-top: 10px;
    }

    .home-youtube__heading {
        padding-left: 20px;
    }

    .home-youtube__accent {
        left: 6px;
        width: 4px;
        height: 22px;
    }

    .home-instagram__heading {
        padding-left: 20px;
    }

    .home-instagram__heading .home-section-title__accent {
        left: -10px;
        width: 4px;
        height: 22px;
    }
}

/* ==========================================================================
   Home cards — hover
   ========================================================================== */

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
    .home-event-card:hover,
    .home-news-card:hover,
    /* .home-insta-card:hover, */
    .home-yt-card:hover,
    .home-partners__item:hover,
    .home-reception:hover,
    .home-survey:not(.home-survey--flipped):hover .home-survey__face {
        box-shadow: 0 14px 36px rgba(58, 104, 213, 0.18);
    }

    .home-countdown-card:hover {
        border-color: #fff;
        background: #3a68d5;
        color: #fff;
        box-shadow: 0 14px 36px rgba(58, 104, 213, 0.18);
    }

    .home-countdown-card:hover .home-countdown-card__badge {
        border: 0;
        background: #fff;
        color: #2264ff;
    }

    .home-survey:not(.home-survey--flipped):hover .home-survey__flip {
        transform: translateY(-6px);
    }


    .home-event-card:hover,
    .home-reception:hover {
        box-shadow: 0 14px 36px rgba(0, 0, 0, 0.22);
    }

    .home-yt-card:hover .home-yt-card__thumb::after {
        background: rgba(0, 0, 0, 0.12);
    }

    .home-yt-card:hover .home-yt-card__play {
        transform: translate(-50%, -50%) scale(1.06);
    }

    .home-yt-card__play {
        transition: transform 0.35s ease;
    }

    .home-yt-card__thumb::after {
        transition: background 0.35s ease;
    }
}

/* ==========================================================================
   Calendar — responsive (section spacing only; card size fixed)
   ========================================================================== */

@media (max-width: 1200px) {
    .home-calendar {
        padding: 28px 0 48px;
    }

    .home-calendar__head {
        margin-bottom: 36px;
    }

    .home-calendar__decor {
        display: none;
    }
}

@media (max-width: 900px) {
    .home-calendar {
        padding: 24px 0 40px;
    }

    .home-calendar__head {
        margin-bottom: 28px;
    }
}

@media (max-width: 700px) {
    .home-calendar {
        padding: 20px 0 32px;
    }

    .home-calendar__footer {
        align-items: flex-start;
        gap: 16px;
    }
}

@media (max-width: 480px) {
    .home-calendar {
        padding: 16px 0 28px;
    }

    .home-calendar__head {
        margin-bottom: 20px;
    }
}

/* ==========================================================================
   News grid — responsive
   ========================================================================== */

@media (max-width: 1200px) {
    .home-news {
        padding: 48px 0 60px;
    }

    .home-news__grid {
        gap: 24px;
    }

    .home-news-card__image {
        height: 240px;
    }

    .home-news-card__title {
        font-size: 22px;
        line-height: 28px;
    }
}

@media (max-width: 900px) {
    .home-news {
        padding: 40px 0 52px;
    }

    /* Swiper handles layout below 900px — grid columns not needed */
    .home-news-card__image {
        height: 210px;
        border-bottom-right-radius: 50px;
    }

    .home-news-card__title {
        font-size: 20px;
        line-height: 26px;
    }

    .home-news-card__text {
        font-size: 15px;
        line-height: 22px;
    }

    .home-news__bottom {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        margin-top: 20px;
    }

    .home-news__nav {
        display: flex;
        align-items: center;
        gap: 10px;
        flex-shrink: 0;
    }

    .home-news__nav-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 37px;
        height: 38px;
        padding: 0;
        border: 0.4px solid #ababab;
        border-radius: 0 10px 0 10px;
        background: transparent;
        cursor: pointer;
        transition: opacity 0.2s ease;
    }

    .home-news__nav-btn.swiper-button-disabled {
        opacity: 0.35;
        cursor: default;
        pointer-events: none;
    }
}

@media (max-width: 700px) {
    .home-news {
        padding: 32px 0 40px;
    }

    .home-news-card__image {
        height: 180px;
    }

    .home-news-card__title {
        font-size: 18px;
        line-height: 24px;
    }
}

@media (max-width: 480px) {
    .home-news {
        padding: 28px 0 32px;
    }

    .home-news-card__image {
        height: 200px;
        border-bottom-right-radius: 40px;
    }

    .home-news-card__title {
        font-size: 18px;
        line-height: 24px;
    }
}

/* ==========================================================================
   All section titles — responsive (1200px-)
   ========================================================================== */

@media (max-width: 1200px) {
    .home-youtube__title {
        font-size: 52px;
        line-height: 42px;
    }

    .home-youtube__handle {
        font-size: 28px;
        line-height: 34px;
    }

    .home-partners__title {
        font-size: 36px;
        line-height: 42px;
        margin-bottom: 32px;
    }

    .home-reception__title {
        font-size: 30px;
        line-height: 28px;
        margin-bottom: 28px;
    }

    .home-survey__title {
        font-size: 28px;
        line-height: 34px;
        margin-bottom: 24px;
    }
}

@media (max-width: 900px) {
    .home-youtube__title {
        font-size: 42px;
        line-height: 36px;
    }

    .home-youtube__handle {
        font-size: 24px;
        line-height: 30px;
        margin-bottom: 24px;
    }

    .home-partners__title {
        font-size: 30px;
        line-height: 36px;
        margin-bottom: 24px;
    }

    .home-reception__title {
        font-size: 26px;
        line-height: 26px;
        margin-bottom: 22px;
    }

    .home-survey__title {
        font-size: 24px;
        line-height: 30px;
        margin-bottom: 20px;
    }
}

@media (max-width: 700px) {
    .home-youtube__title {
        font-size: 32px;
        line-height: 28px;
    }

    .home-youtube__handle {
        font-size: 20px;
        line-height: 26px;
        margin-bottom: 18px;
    }

    .home-partners__title {
        font-size: 24px;
        line-height: 30px;
        margin-bottom: 20px;
    }

    .home-reception__title {
        font-size: 22px;
        line-height: 24px;
        margin-bottom: 18px;
    }

    .home-survey__title {
        font-size: 20px;
        line-height: 26px;
        margin-bottom: 16px;
    }
}

@media (max-width: 480px) {
    .home-youtube__title {
        font-size: 26px;
        line-height: 24px;
    }

    .home-youtube__handle {
        font-size: 17px;
        line-height: 22px;
    }

    .home-partners__title {
        font-size: 20px;
        line-height: 26px;
        margin-bottom: 16px;
    }

    .home-reception__title {
        font-size: 18px;
        line-height: 22px;
        margin-bottom: 14px;
    }

    .home-survey__title {
        font-size: 17px;
        line-height: 22px;
        margin-bottom: 14px;
    }
}

/* ==========================================================================
   History — responsive
   ========================================================================== */

/* 1200–700px: абсолюттік позиция сақталады, тек биіктік + размерлер өзгереді */

@media (max-width: 1200px) {
    /* Нақты биіктік — height: 100% тізбегі жұмыс жасайды */
    .home-history {
        height: 600px;
    }

    .home-history__subtitle {
        top: 56px;
        font-size: 16px;
        letter-spacing: 3px;
    }

    .home-history__year {
        font-size: 86px;
        line-height: 42px;
        top: 140px;
    }

    .home-history__title {
        font-size: 27px;
        line-height: 32px;
        top: 240px;
        width: 400px;
    }

    .home-history__texts {
        top: 330px;
        max-height: calc(462px - 330px);
        height: calc(462px - 330px);
        columns: 340px;
        column-gap: 40px;
    }

    .home-history__text {
        font-size: 16px;
        line-height: 23px;
    }

    .home-history__timeline {
        top: 470px;
        width: min(calc(100% - 81px), 1284px);
    }
}

@media (max-width: 1000px) {
    .home-history {
        height: 560px;
    }

    .home-history__subtitle {
        top: 48px;
        left: 36px;
        font-size: 15px;
        letter-spacing: 2px;
    }

    .home-history__year {
        font-size: 72px;
        line-height: 38px;
        top: 118px;
        left: 22px;
    }

    .home-history__title {
        font-size: 24px;
        line-height: 30px;
        top: 208px;
        left: 34px;
        width: 400px;
    }

    .home-history__texts {
        top: 292px;
        left: 34px;
        right: 36px;
        max-height: calc(426px - 292px);
        height: calc(426px - 292px);
        columns: 280px;
    }

    .home-history__text {
        font-size: 15px;
        line-height: 21px;
    }

    .home-history__timeline {
        top: 434px;
        left: 34px;
        width: calc(100% - 68px);
    }
}

@media (max-width: 900px) {
    .home-history {
        height: 520px;
    }

    .home-history__subtitle {
        top: 40px;
        left: 28px;
        font-size: 14px;
        letter-spacing: 2px;
    }

    .home-history__year {
        font-size: 58px;
        line-height: 34px;
        top: 100px;
        left: 18px;
    }

    .home-history__title {
        font-size: 22px;
        line-height: 28px;
        top: 182px;
        left: 28px;
        width: 290px;
    }

    .home-history__texts {
        top: 258px;
        left: 28px;
        right: 28px;
        max-height: calc(388px - 258px);
        height: calc(388px - 258px);
        columns: 1;
    }

    .home-history__timeline {
        top: 396px;
        left: 28px;
        width: calc(100% - 56px);
    }
}

/* 700px-: flow-layout, section height auto — контент сыймаса өседі */

@media (max-width: 700px) {
    .home-history {
        height: auto;
        min-height: 0;
    }

    .home-history__inner {
        height: auto;
        min-height: 0;
        padding: 40px 24px 90px;
    }

    .home-history__content-swiper {
        position: relative;
        inset: auto;
        width: 100%;
        height: auto;
        overflow: visible;
        pointer-events: auto;
    }

    .home-history__content-swiper .swiper-slide {
        height: auto;
    }

    .home-history__subtitle {
        position: static;
        margin-bottom: 14px;
        font-size: 13px;
        letter-spacing: 2px;
        line-height: 20px;
    }

    .home-history__year {
        position: static;
        font-size: 52px;
        line-height: 1;
        margin-bottom: 14px;
    }

    .home-history__title {
        position: static;
        width: 100%;
        font-size: 20px;
        line-height: 26px;
        margin-bottom: 16px;
    }

    .home-history__texts {
        position: static;
        width: 100%;
        height: auto;
        max-height: none;
        columns: 1;
        margin-bottom: 0;
    }

    .home-history__text {
        font-size: 14px;
        line-height: 20px;
    }

    .home-history__timeline {
        position: absolute;
        bottom: 12px;
        top: auto;
        left: 24px;
        width: calc(100% - 48px);
    }

    .home-history__nav-btn {
        width: 40px;
        height: 40px;
    }

    .home-history__year-btn {
        font-size: 15px;
        line-height: 24px;
    }

    .home-history__years-swiper .swiper-slide-active .home-history__year-btn {
        font-size: 18px;
        line-height: 28px;
    }
}

@media (max-width: 480px) {
    .home-history__inner {
        padding: 32px 16px 80px;
    }

    .home-history__year {
        font-size: 42px;
    }

    .home-history__title {
        font-size: 18px;
        line-height: 24px;
    }

    .home-history__text {
        font-size: 13px;
        line-height: 19px;
    }

    .home-history__timeline {
        left: 16px;
        width: calc(100% - 32px);
    }

    .home-history__nav-btn {
        width: 36px;
        height: 36px;
    }

    .home-history__year-btn {
        font-size: 14px;
    }
}

/* ==========================================================================
   YouTube — responsive
   ========================================================================== */

@media (max-width: 1200px) {
    .home-youtube {
        min-height: auto;
    }

    .home-youtube__inner {
        min-height: auto;
        gap: 28px;
        padding-top: 60px;
        padding-bottom: 60px;
        padding-left: var(--container-padding-x);
        padding-right: var(--container-padding-x);
    }
}

/* 1280px: stack layout — card width follows slider container, not fixed px */
@media (max-width: 1280px) {
    .home-youtube {
        --home-yt-visible-width: 100%;
        --home-yt-card-gap: 24px;
        --home-yt-column-height: auto;
    }

    .home-youtube__inner {
        grid-template-columns: 1fr;
        padding-left: var(--container-padding-x);
        padding-right: var(--container-padding-x);
    }

    .home-youtube__info {
        max-width: none;
    }

    .home-youtube__slider-wrap {
        container-type: inline-size;
        container-name: home-yt-slider;
        min-width: 0;
        width: 100%;
    }

    .home-youtube__slider .swiper-slide.home-yt-column {
        width: calc((100cqw - var(--home-yt-card-gap)) / 2);
        flex-shrink: 0;
        box-sizing: border-box;
    }

    .home-yt-column .home-yt-card {
        width: 100%;
    }

    .home-youtube__slider .swiper-wrapper {
        min-height: 0;
        height: auto;
    }

    .home-yt-card__image {
        width: 100%;
        height: 100%;
    }

    .home-yt-card__action {
        font-size: clamp(13px, calc(100cqw * 19 / 410 / 2), 19px);
    }
}

/* 900px: tighter spacing */
@media (max-width: 900px) {
    .home-youtube {
        --home-yt-card-gap: 24px;
    }

    .home-youtube__inner {
        gap: 32px;
        padding-top: 48px;
        padding-bottom: 48px;
        padding-left: var(--container-padding-x);
        padding-right: var(--container-padding-x);
    }

    .home-youtube__info {
        padding-top: 0;
    }

    .home-youtube__btn {
        max-width: 265px;
        width: 100%;
    }
}

/* 700px: tighter spacing */
@media (max-width: 700px) {
    .home-youtube {
        --home-yt-card-gap: 20px;
    }

    .home-youtube__inner {
        padding-top: 40px;
        padding-bottom: 40px;
        gap: 24px;
        padding-left: var(--container-padding-x);
        padding-right: var(--container-padding-x);
    }
}

/* 480px: single column + compact spacing */
@media (max-width: 480px) {
    .home-youtube {
        --home-yt-card-gap: 16px;
    }

    .home-youtube__inner {
        padding-top: 32px;
        padding-bottom: 32px;
        gap: 16px;
        padding-left: var(--container-padding-x);
        padding-right: var(--container-padding-x);
    }

    .home-youtube__slider .swiper-slide.home-yt-column {
        width: 100cqw;
    }

    .home-yt-column .home-yt-card {
        width: 100%;
    }

    .home-yt-card__meta {
        top: 12px;
        left: 12px;
        right: 12px;
        gap: 10px;
    }

    .home-yt-card__channel-icon {
        width: 28px;
        height: 28px;
    }

    .home-yt-card__channel {
        font-size: 13px;
        line-height: 18px;
    }

    .home-yt-card__bar {
        max-width: calc(100% - 16px);
        padding: 0 12px;
    }

    .home-yt-card__action {
        font-size: clamp(12px, 3.6vw, 15px);
    }

    .home-youtube__btn {
        font-size: 18px;
        height: 40px;
        margin-bottom: 36px;
    }
}

/* ==========================================================================
   Instagram — responsive
   ========================================================================== */

@media (max-width: 1200px) {
    .home-instagram {
        padding: 60px 0;
    }

    .home-instagram__head {
        gap: 16px;
        margin-bottom: 12px;
    }

    .home-section-title--dark {
        font-size: 52px;
        line-height: 42px;
    }

    .home-instagram__subscribe {
        width: 260px;
        height: 64px;
    }

    .home-instagram__subscribe span {
        font-size: 22px;
        line-height: 24px;
        left: 28px;
        top: 10px;
    }

    .home-instagram__subscribe img {
        left: 222px;
        top: 18px;
    }

    .home-instagram__handle {
        font-size: 36px;
        line-height: 34px;
        margin-bottom: 32px;
    }
}

@media (max-width: 1000px) {
    .home-section-title--dark {
        font-size: 44px;
        line-height: 36px;
    }

    .home-instagram__subscribe {
        width: 230px;
        height: 58px;
    }

    .home-instagram__subscribe span {
        font-size: 19px;
        line-height: 22px;
        left: 22px;
        top: 8px;
    }

    .home-instagram__subscribe img {
        left: 196px;
        top: 16px;
    }

    .home-instagram__handle {
        font-size: 30px;
        line-height: 30px;
        margin-bottom: 28px;
    }
}

@media (max-width: 900px) {
    .home-instagram {
        padding: 48px 0;
    }

    .home-instagram__head {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
    }

    .home-section-title--dark {
        font-size: 36px;
        line-height: 30px;
    }

    .home-instagram__subscribe {
        width: 200px;
        height: 52px;
    }

    .home-instagram__subscribe span {
        font-size: 17px;
        line-height: 20px;
        left: 28px;
        top: 7px;
    }

    .home-instagram__subscribe img {
        left: 170px;
        top: 14px;
    }

    .home-instagram__handle {
        font-size: 26px;
        line-height: 26px;
        margin: 0 0 24px;
    }
}

@media (max-width: 700px) {
    .home-instagram {
        padding: 40px 0;
    }

    .home-section-title--dark {
        font-size: 28px;
        line-height: 26px;
    }

    .home-instagram__subscribe {
        width: 180px;
        height: 48px;
    }

    .home-instagram__subscribe span {
        font-size: 15px;
        line-height: 18px;
        left: 28px;
        top: 7px;
    }

    .home-instagram__subscribe img {
        left: 152px;
        top: 12px;
        width: 16px;
        height: 21px;
    }

    .home-instagram__handle {
        font-size: 22px;
        line-height: 24px;
    }
}

@media (max-width: 600px) {
    .home-section-title--dark {
        font-size: 24px;
        line-height: 22px;
    }

    .home-instagram__handle {
        font-size: 18px;
        letter-spacing: 6px;
    }
}

@media (max-width: 480px) {
    .home-instagram {
        padding: 32px 0;
    }

    .home-section-title--dark {
        font-size: 20px;
        line-height: 20px;
    }

    .home-instagram__subscribe {
        width: 160px;
        height: 44px;
    }

    .home-instagram__subscribe span {
        font-size: 13px;
        line-height: 16px;
        left: 28px;
        top: 6px;
    }

    .home-instagram__subscribe img {
        left: 134px;
        top: 11px;
        width: 14px;
        height: 18px;
    }

    .home-instagram__handle {
        font-size: 16px;
        letter-spacing: 4px;
        margin-bottom: 18px;
    }
}

/* ==========================================================================
   Partners — responsive + marquee animation
   ========================================================================== */

@keyframes home-partners-marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

.home-partners__marquee.is-animated {
    overflow: hidden;
}

.home-partners__marquee.is-animated .home-partners__track {
    display: flex;
    flex-wrap: nowrap;
    width: max-content;
    animation: home-partners-marquee var(--partners-marquee-duration) linear infinite;
}

.home-partners__marquee.is-animated:hover .home-partners__track {
    animation-play-state: paused;
}

.home-partners__marquee.is-animated .home-partners__grid {
    display: flex;
    flex-wrap: nowrap;
    flex-shrink: 0;
    gap: 0;
}

.home-partners__marquee.is-animated .home-partners__grid--clone {
    display: flex;
}

/* margin-right on every item (including last) ensures seamless gap at loop point */
.home-partners__marquee.is-animated .home-partners__item {
    flex-shrink: 0;
    width: var(--partners-item-width);
    height: 90px;
    margin-right: var(--partners-item-gap);
}

@media (prefers-reduced-motion: reduce) {
    .home-partners__marquee.is-animated .home-partners__track {
        animation: none;
    }
}

@media (max-width: 1200px) {
    .home-partners {
        padding: 60px 0 32px;
    }

    .home-partners__marquee {
        --partners-item-width: 180px;
        --partners-item-gap: 24px;
    }

    .home-partners__marquee:not(.is-animated) .home-partners__grid {
        grid-template-columns: repeat(5, 1fr);
        gap: 24px;
    }
}

@media (max-width: 900px) {
    .home-partners {
        padding: 48px 0 28px;
    }

    .home-partners__marquee {
        --partners-item-width: 160px;
        --partners-item-gap: 20px;
    }

    .home-partners__marquee:not(.is-animated) .home-partners__grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 20px;
    }
}

@media (max-width: 700px) {
    .home-partners {
        padding: 40px 0 24px;
    }

    .home-partners__marquee {
        --partners-item-width: 150px;
        --partners-item-gap: 20px;
    }

    .home-partners__marquee.is-animated .home-partners__item {
        height: 80px;
    }
}

@media (max-width: 480px) {
    .home-partners {
        padding: 32px 0 20px;
    }

    .home-partners__marquee {
        --partners-item-width: 120px;
        --partners-item-gap: 16px;
    }

    .home-partners__marquee.is-animated .home-partners__item {
        height: 70px;
    }
}

}

}

}

}

}