/* Tarihçe — ağır sanayi tonunda, antrasit zemin üzerinde çelik hat zaman çizelgesi */
.ah-history {
    --ah-bg: #17191c;
    --ah-panel: #1f2226;
    --ah-line: #34383e;
    --ah-steel: #8d939b;
    --ah-text: #c3c7cc;
    --ah-white: #f4f5f6;
    --ah-red: #e10018;

    position: relative;
    padding: 110px 0 120px;
    background-color: var(--ah-bg);
    background-image: repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.025) 0 1px, transparent 1px 120px);
    color: var(--ah-text);
}

/* ── Başlık ── */
.ah-history-head {
    max-width: 760px;
    margin-bottom: 64px;
}
.ah-history-label {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-family: var(--tp-ff-inter);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--ah-steel);
    margin-bottom: 18px;
}
.ah-history-label::before {
    content: '';
    width: 36px;
    height: 2px;
    background: var(--ah-red);
}
.ah-history-head h2 {
    font-family: var(--tp-ff-phudu);
    font-size: 54px;
    font-weight: 600;
    line-height: 1.05;
    text-transform: uppercase;
    color: var(--ah-white);
    margin-bottom: 18px;
}
.ah-history-head h2 span {
    color: var(--ah-steel);
}
.ah-history-head p {
    font-family: var(--tp-ff-inter);
    font-size: 17px;
    line-height: 1.7;
    color: var(--ah-text);
    margin: 0;
}

/* ── Özet şerit ── */
.ah-history-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid var(--ah-line);
    border-bottom: 1px solid var(--ah-line);
    margin-bottom: 72px;
}
.ah-history-stat {
    padding: 28px 28px 26px;
    border-left: 1px solid var(--ah-line);
}
.ah-history-stat:first-child {
    border-left: 0;
    padding-left: 0;
}
.ah-history-stat strong {
    display: block;
    font-family: var(--tp-ff-phudu);
    font-size: 44px;
    font-weight: 600;
    line-height: 1;
    color: var(--ah-white);
    margin-bottom: 10px;
}
.ah-history-stat span {
    font-family: var(--tp-ff-inter);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--ah-steel);
}

/* ── Zaman çizelgesi ── */
.ah-history-list {
    list-style: none;
    margin: 0;
    padding: 0;
}
.ah-history-item {
    display: grid;
    grid-template-columns: 200px 48px 1fr;
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.ah-history-item.is-visible {
    opacity: 1;
    transform: none;
}

.ah-history-year {
    font-family: var(--tp-ff-phudu);
    font-size: 64px;
    font-weight: 600;
    line-height: 1;
    padding-top: 26px;
    color: transparent;
    -webkit-text-stroke: 1px var(--ah-steel);
}
.ah-history-item.is-milestone .ah-history-year {
    color: var(--ah-white);
    -webkit-text-stroke: 0;
}

.ah-history-rail {
    position: relative;
}
.ah-history-rail::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    margin-left: -1px;
    background: var(--ah-line);
}
.ah-history-item:first-child .ah-history-rail::before {
    top: 44px;
}
.ah-history-item:last-child .ah-history-rail::before {
    bottom: calc(100% - 44px);
}
.ah-history-rail span {
    position: absolute;
    top: 37px;
    left: 50%;
    width: 14px;
    height: 14px;
    margin-left: -7px;
    background: var(--ah-bg);
    border: 2px solid var(--ah-steel);
}
.ah-history-item.is-milestone .ah-history-rail span {
    background: var(--ah-red);
    border-color: var(--ah-red);
}

.ah-history-body {
    padding: 30px 0 34px 28px;
    border-bottom: 1px solid var(--ah-line);
}
.ah-history-item:last-child .ah-history-body {
    border-bottom: 0;
}
.ah-history-tag {
    display: inline-block;
    font-family: var(--tp-ff-inter);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--ah-steel);
    padding-left: 12px;
    border-left: 2px solid var(--ah-red);
    margin-bottom: 12px;
}
.ah-history-body h3 {
    font-family: var(--tp-ff-phudu);
    font-size: 30px;
    font-weight: 600;
    line-height: 1.15;
    text-transform: uppercase;
    color: var(--ah-white);
    margin-bottom: 10px;
}
.ah-history-body p {
    max-width: 760px;
    font-family: var(--tp-ff-inter);
    font-size: 16px;
    line-height: 1.75;
    color: var(--ah-text);
    margin: 0;
}

/* ── Duyarlı ── */
@media (max-width: 991.98px) {
    .ah-history {
        padding: 80px 0 90px;
    }
    .ah-history-head h2 {
        font-size: 42px;
    }
    .ah-history-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    .ah-history-stat:nth-child(3) {
        border-left: 0;
        padding-left: 0;
    }
    .ah-history-stat:nth-child(n+3) {
        border-top: 1px solid var(--ah-line);
    }
    .ah-history-item {
        grid-template-columns: 130px 40px 1fr;
    }
    .ah-history-year {
        font-size: 46px;
    }
}
@media (max-width: 575.98px) {
    .ah-history-head h2 {
        font-size: 34px;
    }
    .ah-history-stat {
        padding: 20px 14px;
    }
    .ah-history-stat strong {
        font-size: 32px;
    }
    .ah-history-item {
        grid-template-columns: 32px 1fr;
    }
    .ah-history-rail {
        grid-column: 1;
        grid-row: 1 / span 2;
    }
    .ah-history-year {
        grid-column: 2;
        font-size: 38px;
        padding: 20px 0 0 16px;
    }
    .ah-history-body {
        grid-column: 2;
        padding: 8px 0 26px 16px;
    }
    .ah-history-rail span {
        top: 31px;
    }
    .ah-history-item:first-child .ah-history-rail::before {
        top: 38px;
    }
}
