.history-page {
    color: #FFFFFF;
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.history-main {
    padding-bottom: 96px;
}

/* Hero layout */
.history-hero {
    max-width: 1280px;
    margin-bottom: 50px;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: 0;
    align-items: center;
}

.history-hero__content {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.history-breadcrumbs {
    font-size: 13px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #666A70;
    max-width: 1200px;
    margin: 30px auto;
}

.history-breadcrumbs__item {
    color: inherit;
}

.history-breadcrumbs__item[href] {
    text-decoration: none;
    transition: color 0.2s ease;
}

.history-breadcrumbs__item[href]:hover {
    color: #FFFFFF;
}

.history-breadcrumbs__item--current {
    color: #9CA0A6;
}

.history-breadcrumbs__sep {
    margin: 0 6px;
    color: #4B4F55;
}

.history-hero__meta {
    display: inline-block;
    color: #B49A5D;
    font-size: 21px;
    margin-bottom: 1rem;
}

.history-hero__title {
    font-size: 50px;
    line-height: 1.1;
    font-weight: 500;
    margin-bottom: 20px;
}

.histoy-point-detail-description {
    font-weight: 400;
    font-size: 20px;
    line-height: 120%;
    letter-spacing: 0%;
}


.gold-button {
    margin-top: 20px;
    width: fit-content;
}

.gold-button button {
    width: auto;
    padding: 20px 50px;
}

.history-points {
    max-width: 1200px;
    margin: 0 auto;
}

.history-point {
    padding-top: 40px;
    border-top: 1px solid #8D97A6;
    display: grid;
    grid-template-columns: 120px 280px 2.3fr;
    gap: 40px;
    padding-bottom: 42px;
}

.history-point-year {
    font-weight: 500;
    font-style: Medium;
    font-size: 27px;
    line-height: 117%;
    letter-spacing: -1%;
    color: #C7AB6B;
}

.history-point-detail {
    margin-bottom: 2rem;
}

.history-point-description {
    font-size: 24px;
    line-height: 130%;
}


.history-point-detail-description {
    font-size: 18px;
    font-weight: 400;
    line-height: 1.5;
    opacity: 0.85;
}

.history-point-image {
    margin-top: 32px;
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.history-point-image img {
    height: 280px;
    max-width: 472px;
    object-fit: cover;
}

.history-point-image img:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
    border-color: rgba(199, 171, 107, 0.5);
}



.history-hero__description {
    font-size: 24px;
    line-height: 1.3;
    color: #C8CCD2;
}

.history-hero__visual {
    display: flex;
    justify-content: center;
}

.history-hero__compass-wrapper {
    position: relative;
    width: 100%;
    max-width: 490px;
    aspect-ratio: 1 / 1;
    overflow: hidden;
}

.history-hero__compass {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

/* CTA section */
.history-cta {
    max-width: 1200px;
    margin: 0 auto;
    border-top: 1px solid #24272D;
    padding-top: 56px;
}

.history-cta__content {
    padding: 32px 40px;
    border-radius: 12px;
    background: radial-gradient(circle at top left, rgba(198, 166, 101, 0.18), transparent 60%),
        #0A0D12;
    border: 1px solid #272B33;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.history-cta__title {
    font-size: 20px;
    line-height: 1.5;
    font-weight: 400;
    max-width: 560px;
}

.history-cta__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: 999px;
    border: 1px solid #C6A665;
    background: transparent;
    color: #C6A665;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    cursor: pointer;
    white-space: nowrap;
    transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, transform 0.1s ease;
}

.history-cta__btn:hover {
    background-color: #C6A665;
    color: #050608;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.6);
    transform: translateY(-1px);
}

/* Responsive */
@media (max-width: 1200px) {
    .history-hero__visual {
        display: none;
    }

    .history-hero {
        grid-template-columns: minmax(0, 1fr);
        gap: 40px;
        padding: 0 20px;
    }

    .history-points {
        /*padding: 0 20px;*/
    }




    .history-breadcrumbs {
        display: none;
    }

    .history-hero__visual {
        order: -1;
    }

    .history-hero__compass-wrapper {
        max-width: 420px;
    }

    .history-cta__content {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 768px) {
    .contacts-breadcrumbs {
        display: none;
    }
    .history-main {
        padding-bottom: 0;
    }

    .history-hero__title{
        font-size: 36px;
    }

    .history-hero__description {
        font-size: 17px;
    }

    .history-hero {
       /*margin: 48px 16px 64px;*/
    }

    .history-cta {
        margin: 0 16px;
    }

    .history-cta__content {
        padding: 24px 20px;
    }

    .history-cta__btn {
        width: 100%;
        justify-content: center;
    }



    .history-point {
        grid-template-columns: 1fr;
        gap: 16px;
        padding-top: 32px;
        margin: 0 16px;
    }

    .history-point-year {
        font-size: 24px;
    }

    .history-point-description {
        font-size: 20px;
        line-height: 1.3;
        word-break: break-word;
    }

    .history-point-detail {
        margin-bottom: 0;
    }

    /* Mobile Slider for History Images */
    .history-point-image {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        gap: 0;
        scroll-snap-type: x mandatory;
        padding-bottom: 0;
        margin-top: 20px;
        -ms-overflow-style: none;
        scrollbar-width: none;
    }

    .history-point-image::-webkit-scrollbar {
        display: none;
    }

    .history-point-image img {
        flex: 0 0 100%;
        max-width: 100%;
        height: auto;
        aspect-ratio: 4 / 3;
        scroll-snap-align: start;
        transform: none !important;
    }

    .history-slider-dots {
        display: flex;
        justify-content: center;
        gap: 8px;
        margin-top: 12px;
        margin-bottom: 24px;
    }

    .history-slider-dot {
        width: 6px;
        height: 6px;
        border-radius: 50%;
        background-color: rgba(255, 255, 255, 0.3);
        transition: all 0.3s ease;
    }

    .history-slider-dot--active {
        background-color: #C7AB6B;
        transform: scale(1.3);
    }

}