﻿﻿
.about-page {
    width: 100%;
    background: #f5f8fb;
    overflow: hidden;
}

/* ==============================
   Common Title
============================== */

.about-section-title {
    margin-bottom: 10px;
}

.about-section-title em,
.about-center-title em {
    display: block;
    margin-bottom: 10px;
    font-style: normal;
    font-size: 16px;
    line-height: 1.4;
    color: #002759;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.about-section-title h1,
.about-center-title h2 {
    margin: 0;
    position: relative;
    color: #222;
}

.about-section-title h1 {
    padding-left: 18px;
    font-size: 34px;
    line-height: 1.35;
}

.about-section-title h1:before {
    content: "";
    position: absolute;
    left: 0;
    top: 9px;
    width: 4px;
    height: 30px;
    background: #002759;
    border-radius: 4px;
}

.about-center-title {
    margin-bottom: 42px;
    text-align: center;
}

.about-center-title h2 {
    display: inline-block;
    padding-bottom: 18px;
    font-size: 34px;
    line-height: 1.35;
}

.about-center-title h2:after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 56px;
    height: 4px;
    background: #002759;
    border-radius: 4px;
    transform: translateX(-50%);
}

.about-center-title p {
    margin: 18px auto 0;
    max-width: 760px;
    color: #666;
    font-size: 16px;
    line-height: 1.8;
}

/* ==============================
   Intro
============================== */

.about-intro-section {
    width: 100%;
    padding: 72px 0 84px;
}

.about-intro-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 46px;
    padding: 46px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 12px 32px rgba(0, 39, 89, .06);
    box-sizing: border-box;
}

.about-intro-text {
    width: calc(48% - 23px);
    padding: 8px 0;
    box-sizing: border-box;
}

.about-intro-content {
    color: #666;
    font-size: 15px;
}

.about-intro-content p {
    margin: 0 0 5px;
}

.about-intro-data {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-top: 34px;
}

.about-data-item {
    flex: 1;
    padding: 22px 16px;
    background: #f5f8fb;
    border-radius: 12px;
    text-align: center;
    box-sizing: border-box;
}

.about-data-item strong {
    display: block;
    margin-bottom: 8px;
    color: #002759;
    font-size: 32px;
    line-height: 1;
    font-weight: 700;
}

.about-data-item span {
    display: block;
    color: #666;
    font-size: 14px;
    line-height: 1.4;
}

.about-intro-pic {
    width: calc(52% - 23px);
    min-width: 0;
    display: flex;
    align-items: center;
}
/* ==============================
   Slide
============================== */

.about-slide {
    position: relative;
    width: 100%;
    height: 430px;
    border-radius: 14px;
    overflow: hidden;
    background: #e9eff4;
}

.about-slide-item {
    display: none;
    width: 100%;
    height: 100%;
}

.about-slide-item.active {
    display: block;
}

.about-slide-item img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-slide-arrow {
    position: absolute;
    top: 50%;
    z-index: 5;
    width: 42px;
    height: 42px;
    margin-top: -21px;
    border-radius: 50%;
    background: rgba(0, 39, 89, .82);
    color: #fff;
    font-size: 26px;
    line-height: 42px;
    text-align: center;
    cursor: pointer;
    opacity: 0;
    transition: all .3s ease;
}

.about-slide:hover .about-slide-arrow {
    opacity: 1;
}

.about-slide-arrow i {
    line-height: 42px;
}

.about-slide-prev {
    left: 18px;
}

.about-slide-next {
    right: 18px;
}

.about-slide-arrow:hover {
    background: #002759;
}

.about-slide-dots {
    position: absolute;
    left: 0;
    bottom: 20px;
    z-index: 6;
    width: 100%;
    text-align: center;
    font-size: 0;
}

.about-slide-dots span {
    display: inline-block;
    width: 24px;
    height: 4px;
    margin: 0 4px;
    background: rgba(255, 255, 255, .65);
    border-radius: 4px;
    cursor: pointer;
    transition: all .3s ease;
}

.about-slide-dots span.active {
    width: 38px;
    background: #002759;
}

/* ==============================
   Advantages
============================== */

.about-advantage-section {
    width: 100%;
    padding: 0 0 60px;
    background: #fff;
}

.about-advantage-list {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    margin: -15px;
}

.about-advantage-item {
    width: calc(50% - 30px);
    min-height: 170px;
    margin: 15px;
    padding: 32px 34px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    background: #fafafa;
    border-radius: 10px;
    transition:
        transform .35s ease,
        box-shadow .35s ease,
        background .35s ease;
}

.about-advantage-item:hover {
    transform: translateY(-5px);
    background: #fff;
    box-shadow: 0 15px 35px rgba(0, 39, 89, .10);
}

.about-advantage-icon {
    width: 82px;
    height: 82px;
    flex-shrink: 0;
    margin-right: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-advantage-icon img {
    display: block;
    max-width: 82px;
    max-height: 82px;
    object-fit: contain;
    transition: transform .35s ease;
}

.about-advantage-item:hover .about-advantage-icon img {
    transform: translateY(-4px) scale(1.04);
}

.about-advantage-info {
    flex: 1;
    min-width: 0;
}

.about-advantage-info h3 {
    margin: 0 0 10px;
    padding: 0;
    color: #111;
    font-size: 23px;
    line-height: 32px;
    font-weight: bold;
    transition: color .3s ease;
}

.about-advantage-info p {
    margin: 0;
    padding: 0;
    color: #666;
    font-size: 14px;
    line-height: 24px;
}

.about-advantage-item:hover .about-advantage-info h3 {
    color: #002759;
}


/* ==============================
   Partner
============================== */

.about-partner-section {
    width: 100%;
    padding: 76px 0 96px;
    background: #f5f8fb;
}

.about-partner-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.about-partner-item {
    height: 128px;
    padding: 22px;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 12px 32px rgba(0, 39, 89, .06);
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .35s ease;
}

.about-partner-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 42px rgba(0, 39, 89, .13);
}

.about-partner-item img {
    display: block;
    max-width: 100%;
    max-height: 84px;
    object-fit: contain;
}

/* ==============================
   Factory Environment Gallery
============================== */

.about-factory-section {
    padding: 76px 0 96px;
    background: #fff;
}

.about-factory-list {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
}

.about-factory-item {
    display: block;
    width: 100%;
    height: 230px;
    padding: 0;
    border: 0;
    border-radius: 12px;
    background: #e9eff4;
    overflow: hidden;
    cursor: zoom-in;
    box-shadow: 0 8px 24px rgba(0, 39, 89, .06);
    transition: transform .3s ease, box-shadow .3s ease;
}

.about-factory-item img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}

.about-factory-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(0, 39, 89, .12);
}

.about-factory-item:hover img {
    transform: scale(1.045);
}

.about-factory-item:focus-visible,
.about-factory-close:focus-visible {
    outline: 3px solid #002759;
    outline-offset: 3px;
}

/* Enlarged photo viewer */
.about-factory-lock {
    overflow: hidden;
}

.about-factory-lightbox {
    position: fixed;
    z-index: 99999;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 60px 28px;
    box-sizing: border-box;
    background: rgba(0, 0, 0, .88);
    cursor: zoom-out;
}

.about-factory-lightbox.active {
    display: flex;
}

.about-factory-lightbox > img {
    display: block;
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    cursor: default;
}

.about-factory-close {
    position: absolute;
    top: 18px;
    right: 22px;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, .15);
    color: #fff;
    font-size: 22px;
    cursor: pointer;
}

.about-factory-close:hover {
    background: rgba(255, 255, 255, .3);
}

@media (max-width: 768px) {
    .about-factory-section {
        padding: 45px 0 60px;
    }

    .about-factory-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .about-factory-item {
        height: 160px;
        border-radius: 8px;
    }

    .about-factory-lightbox {
        padding: 55px 12px;
    }
}
