body {
    background: #ffffff;
    color: #14202e;
    font-family: 'Inter', sans-serif;
}

.price-container {
    display: none !important;
}

.page-hero-bg-img {
    object-position: center 68%;
}

.history-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

.history-hero {
    padding: 78px 24px 62px;
    text-align: center;
    background: radial-gradient(ellipse at 75% 20%, rgba(46,195,150,0.16), transparent 55%), linear-gradient(135deg, #1e3450 0%, #16283d 100%);
    color: #fff;
}

.history-hero .history-container {
    padding: 0 24px;
}

.history-hero h1 {
    font-size: clamp(2.2rem, 4.5vw, 3.4rem);
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: -0.03em;
    line-height: 1.08;
}

.history-hero p {
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
    color: rgba(255,255,255,0.72);
    line-height: 1.65;
}

.history-content {
    padding: 88px 20px;
    background: #ffffff;
}

.timeline {
    position: relative;
    padding: 20px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, rgba(46,195,150,0.5), #e4e6ea 12%, #e4e6ea 88%, rgba(96,149,190,0.5));
    transform: translateX(-50%);
}

.timeline-item {
    display: flex;
    margin-bottom: 52px;
    position: relative;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-item:nth-child(odd) {
    flex-direction: row;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-marker {
    flex: 0 0 50%;
    display: flex;
    justify-content: flex-end;
    padding-right: 38px;
    position: static;
}

.timeline-item:nth-child(even) .timeline-marker {
    justify-content: flex-start;
    padding-right: 0;
    padding-left: 38px;
}

.timeline-dot {
    display: block;
    position: absolute;
    left: 50%;
    top: 4px;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: #fff;
    border: 3px solid #2ec396;
    transform: translateX(-50%);
    box-shadow: 0 0 0 5px #fff;
    z-index: 2;
}

.timeline-content {
    flex: 0 0 50%;
    padding-left: 38px;
    background: #ffffff;
    border: 1px solid #e4e6ea;
    border-radius: 16px;
    box-shadow: 0 1px 2px rgba(20,32,46,0.05);
    padding: 26px 28px;
    transition: transform 0.25s cubic-bezier(0.22,0.61,0.36,1), box-shadow 0.25s cubic-bezier(0.22,0.61,0.36,1), border-color 0.25s cubic-bezier(0.22,0.61,0.36,1);
}

.timeline-marker {
    flex-basis: calc(50% - 22px);
}

.timeline-content {
    flex-basis: calc(50% - 22px);
}

.timeline-content:hover {
    transform: translateY(-3px);
    box-shadow: 0 2px 8px rgba(20,32,46,0.05), 0 14px 30px rgba(20,32,46,0.07);
    border-color: rgba(46,195,150,0.4);
}

.timeline-item:nth-child(even) .timeline-content {
    text-align: right;
}

.timeline-year {
    display: inline-block;
    background: linear-gradient(120deg, #2ec396, #1aa37d);
    color: #fff;
    padding: 6px 16px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.02em;
    margin-bottom: 14px;
}

.timeline-content h3 {
    font-size: 1.4rem;
    color: #14202e;
    margin-bottom: 10px;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.timeline-content p {
    color: #54616f;
    line-height: 1.75;
    font-size: 1rem;
    margin: 0;
}

.history-legacy {
    background: #f7f8fa;
    border-block: 1px solid #e4e6ea;
    padding: 88px 20px;
}

.legacy-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.legacy-content h2 {
    font-size: clamp(1.9rem, 3.4vw, 2.5rem);
    color: #14202e;
    margin-bottom: 22px;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.legacy-content > p {
    font-size: 1.1rem;
    color: #54616f;
    line-height: 1.8;
    margin: 0;
}

@media (max-width: 768px) {
    .timeline::before {
        left: 20px;
    }

    .timeline-item, .timeline-item:nth-child(even) {
        flex-direction: column;
        padding-left: 48px;
    }

    .timeline-marker, .timeline-item:nth-child(even) .timeline-marker {
        display: none;
    }

    .timeline-content, .timeline-item:nth-child(even) .timeline-content {
        flex-basis: auto;
        width: 100%;
        padding: 22px 24px;
        text-align: left;
    }

    .timeline-dot {
        left: 20px;
        top: 26px;
    }

    .timeline-content h3 {
        font-size: 1.25rem;
    }

    .legacy-content h2 {
        font-size: 2rem;
    }
}

.related-pages-section {
    padding: 96px 24px;
    background: #ffffff;
    position: relative;
}

.related-pages-content {
    max-width: 1400px;
    margin: 0 auto;
}

.related-pages-content h2 {
    font-size: clamp(1.9rem, 3.4vw, 2.5rem);
    font-weight: 800;
    text-align: center;
    margin-bottom: 56px;
    color: #14202e;
    letter-spacing: -0.03em;
}

.related-pages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 28px;
}

.related-page-card {
    background: #ffffff;
    border: 1px solid #e4e6ea;
    border-radius: 18px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    box-shadow: 0 1px 2px rgba(20,32,46,0.05);
}

.related-page-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 28px rgba(20,32,46,0.08), 0 40px 80px rgba(20,32,46,0.12);
    border-color: rgba(46,195,150,0.45);
}

.related-page-image {
    width: 100%;
    height: 200px;
    background: #f7f8fa;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.related-page-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.related-page-card:hover .related-page-image img {
    transform: scale(1.06);
}

.related-page-info {
    padding: 26px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.related-page-info h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #14202e;
    margin-bottom: 10px;
}

.related-page-info p {
    font-size: 0.92rem;
    line-height: 1.6;
    color: #54616f;
    margin: 0;
}
