/* ---- About Us Specific Styles ---- */

.xhp-about {
    background: #fff;
    padding: 0 0 60px;
}
.xhp-about__inner {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 20px;
}
.xhp-about__section-title {
    font-size: 42px;
    font-weight: 700;
    color: var(--xhp-primary);
    text-align: center;
    margin: 0 0 40px;
    letter-spacing: 1px;
}

/* Hero */
.xhp-about__hero {
    padding: 60px 0 40px;
}
.xhp-about__hero-title {
    font-size: 48px;
    font-weight: 700;
    color: var(--xhp-primary);
    line-height: 1.2;
    margin: 0 0 40px;
    text-align: center;
}
.xhp-about__hero-body {
    display: flex;
    gap: 60px;
    align-items: stretch;
    padding-top: 40px;
}
.xhp-about__stats {
    flex: 0 0 45%;
    max-width: 45%;
}
.xhp-about__stats-grid {
    display: flex;
    flex-direction: column;
    border-top: 2px solid #e0e0e0;
    border-bottom: 2px solid #e0e0e0;
    padding: 0;
}
.xhp-about__stat-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 40px 0;
    border-bottom: 1px solid #e0e0e0;
}
.xhp-about__stat-item:last-child {
    border-bottom: none;
}
.xhp-about__stat-number {
    font-size: 44px;
    font-weight: 700;
    color: var(--xhp-accent);
    line-height: 1.1;
}
.xhp-about__stat-label {
    font-size: 20px;
    color: #555;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Factory */
.xhp-about__factory {
    padding: 60px 0;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
}
.xhp-about__factory-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    padding: 0 20px;
    box-sizing: border-box;
}
.xhp-about__factory-left img,
.xhp-about__factory-right-top img,
.xhp-about__factory-right-bottom img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    display: block;
}
.xhp-about__factory-left img {
    aspect-ratio: 4 / 3;
    height: 100%;
}
.xhp-about__factory-right {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.xhp-about__factory-right-top {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.xhp-about__factory-right-top img {
    aspect-ratio: 4 / 3;
}
.xhp-about__factory-right-bottom img {
    aspect-ratio: 16 / 9;
    width: 100%;
}

/* History */
.xhp-about__history {
    padding: 60px 0;
    background-color: var(--xhp-gray-light);
}
.xhp-about__timeline {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}
.xhp-about__timeline::before {
    content: '';
    position: absolute;
    left: 160px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--xhp-accent);
}
.xhp-about__timeline-item {
    display: flex;
    align-items: center;
    gap: 40px;
    padding: 20px 0;
    position: relative;
}
.xhp-about__timeline-year {
    flex: 0 0 140px;
    text-align: right;
    font-size: 28px;
    font-weight: 700;
    color: var(--xhp-primary);
    padding-right: 20px;
    line-height: 1.4;
}
.xhp-about__timeline-line {
    flex: 0 0 2px;
    background: var(--xhp-accent);
    height: 100%;
    min-height: 60px;
    position: relative;
    align-self: stretch;
}
.xhp-about__timeline-line::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 14px;
    height: 14px;
    background: #fff;
    border: 2px solid var(--xhp-accent);
    border-radius: 50%;
}
.xhp-about__timeline-text {
    flex: 1;
    padding-left: 20px;
    font-size: 16px;
    line-height: 1.7;
    color: #444;
}

/* Certifications */
.xhp-about__certifications {
    padding: 60px 0;
}
.xhp-about__cert-scroll {
    overflow: hidden;
    width: 100%;
    position: relative;
}
.xhp-about__cert-track {
    display: flex;
    gap: 40px;
    width: max-content;
    animation: xhpCertScroll 20s linear infinite;
}
.xhp-about__cert-item {
    flex: 0 0 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    padding: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.xhp-about__cert-item img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}
@keyframes xhpCertScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
.xhp-about__cert-scroll:hover .xhp-about__cert-track {
    animation-play-state: paused;
}

/* Company News */
.xhp-about__news {
    padding: 60px 0;
}
.xhp-about__news .xhp-footer-bar-grid {
    max-width: 1600px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.xhp-about__news .xhp-footer-bar-item {
    background: #fff;
    border: 1px solid var(--xhp-gray-border);
    border-radius: 8px;
    overflow: hidden;
    transition: box-shadow 0.2s, transform 0.2s;
}
.xhp-about__news .xhp-footer-bar-item:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,0.10);
    transform: translateY(-2px);
}
.xhp-about__news .xhp-footer-bar-link {
    display: block;
    padding: 30px 30px;
    text-decoration: none;
    color: inherit;
}
.xhp-about__news .xhp-footer-bar-date {
    display: block;
    font-size: 12px;
    color: #999;
    margin-bottom: 10px;
}
.xhp-about__news .xhp-footer-bar-headline {
    display: block;
    font-size: 18px;
    font-weight: 600;
    color: var(--xhp-primary);
    margin: 10px 0 6px;
}
.xhp-about__news .xhp-footer-bar-desc {
    display: block;
    font-size: 14px;
    color: #666;
    line-height: 1.5;
}
.xhp-about__news .xhp-footer-bar-img {
    margin-top: 20px;
    aspect-ratio: 4/3;
    background-size: cover;
    background-position: center;
    border-radius: 4px;
}
.xhp-about__news-empty {
    text-align: center;
    color: #999;
    padding: 40px 0;
}

/* ---- Responsive ---- */
@media (max-width: 1024px) {
    .xhp-about__hero-title {
        font-size: 34px;
    }
    .xhp-about__stats {
        flex: 0 0 auto;
        max-width: 100%;
        width: 100%;
    }
    .xhp-about__stat-number {
        font-size: 36px;
    }
    .xhp-about__factory {
        width: 100%;
        margin-left: 0;
        margin-right: 0;
        padding: 60px 0;
    }
    .xhp-about__factory-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 16px;
    }
    .xhp-about__factory-left {
        grid-row: auto;
    }
    .xhp-about__factory-left img {
        aspect-ratio: 16 / 9;
    }
    .xhp-about__news .xhp-footer-bar-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 768px) {
    .xhp-about__section-title {
        font-size: 30px;
        margin-bottom: 30px;
    }
    .xhp-about__hero-title {
        font-size: 26px;
        margin-bottom: 30px;
    }
    .xhp-about__hero-body {
        flex-direction: column;
        gap: 30px;
    }
    .xhp-about__stat-number {
        font-size: 28px;
    }
    .xhp-about__stat-label {
        font-size: 14px;
    }
    .xhp-about__stat-item {
        padding: 10px 0;
    }
    .xhp-about__timeline::before {
        left: 20px;
    }
    .xhp-about__timeline-item {
        gap: 20px;
        padding-left: 30px;
    }
    .xhp-about__timeline-year {
        flex: 0 0 80px;
        font-size: 22px;
        text-align: left;
        padding-right: 0;
    }
    .xhp-about__timeline-line {
        min-height: 40px;
    }
    .xhp-about__timeline-text {
        padding-left: 10px;
        font-size: 14px;
    }
    .xhp-about__cert-item {
        flex: 0 0 120px;
        height: 90px;
    }
    .xhp-about__news .xhp-footer-bar-grid {
        grid-template-columns: 1fr;
    }
    .xhp-about__news .xhp-footer-bar-link {
        padding: 20px;
    }
}