/* =============================================
   ABOUT PAGE
   ============================================= */
.ab-page {
    --ab-red: #D32F2F;
    --ab-red-light: #EF5350;
    --ab-bg: #f5f5f5;
    --ab-text: #1A1A1A;
    --ab-muted: #555;
    --ab-placeholder: #ececec;
    background: var(--ab-bg);
}

/* Page intro */
.ab-page-intro {
    padding: 3rem 0 0.5rem;
}

.ab-page-head {
    text-align: center;
    max-width: 640px;
    margin: 0 auto;
}

.ab-page-eyebrow {
    display: inline-block;
    margin-bottom: 0.55rem;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--ab-red);
    letter-spacing: 0.04em;
}

.ab-page-title {
    margin: 0 0 0.7rem;
    font-size: clamp(1.6rem, 3.8vw, 2.1rem);
    font-weight: 900;
    color: var(--ab-text);
    letter-spacing: -0.025em;
}

.ab-page-title-line {
    display: block;
    width: 52px;
    height: 4px;
    margin: 0 auto 1rem;
    background: var(--ab-red);
    border-radius: 4px;
}

.ab-page-subtitle {
    margin: 0;
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--ab-muted);
    line-height: 1.95;
}

/* Sections */
.ab-section {
    padding: 2.75rem 0;
}

.ab-section--story {
    padding-top: 2.5rem;
}

.ab-section--factory {
    padding-bottom: 2rem;
}

.ab-section--licenses,
.ab-section--honors,
.ab-section--photos {
    position: relative;
    overflow: hidden;
}

.ab-section--licenses {
    padding-top: 3rem;
    padding-bottom: 2rem;
}

.ab-section--honors {
    padding-top: 2rem;
    padding-bottom: 2.5rem;
}

.ab-section--photos {
    padding-top: 2rem;
    padding-bottom: 5rem;
}

.ab-gallery-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 15% 20%, rgba(211, 47, 47, 0.06) 0%, transparent 42%),
        radial-gradient(circle at 85% 75%, rgba(211, 47, 47, 0.04) 0%, transparent 38%),
        linear-gradient(180deg, #fff 0%, #f8f8f8 100%);
}

.ab-gallery-bg--honors {
    background:
        radial-gradient(circle at 80% 15%, rgba(211, 47, 47, 0.07) 0%, transparent 40%),
        radial-gradient(circle at 10% 80%, rgba(26, 26, 26, 0.03) 0%, transparent 45%),
        linear-gradient(180deg, #f8f8f8 0%, #fff 100%);
}

.ab-gallery-bg--photos {
    background:
        radial-gradient(circle at 20% 25%, rgba(26, 26, 26, 0.04) 0%, transparent 42%),
        radial-gradient(circle at 75% 70%, rgba(211, 47, 47, 0.05) 0%, transparent 38%),
        linear-gradient(180deg, #fff 0%, #f6f6f6 100%);
}

.ab-gallery-head {
    margin-bottom: 2.25rem;
}

.ab-gallery-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-bottom: 0.65rem;
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    background: rgba(211, 47, 47, 0.08);
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--ab-red);
}

.ab-gallery-eyebrow i {
    font-size: 0.85rem;
}

.ab-gallery-head .ab-section-title {
    font-size: clamp(1.35rem, 3vw, 1.65rem);
}

.ab-gallery-head .ab-section-line {
    width: 56px;
    margin-bottom: 0.85rem;
}

.ab-gallery-subtitle {
    max-width: 560px;
    margin: 0 auto;
    font-size: 0.92rem;
    line-height: 1.85;
    color: var(--ab-muted);
}

.ab-gallery-panel {
    padding: clamp(1.25rem, 3vw, 1.75rem);
    border-radius: 24px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    background: rgba(255, 255, 255, 0.72);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.9) inset,
        0 20px 50px rgba(0, 0, 0, 0.06);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.ab-gallery-panel--honors {
    background: rgba(255, 255, 255, 0.85);
}

.ab-gallery-panel--photos {
    background: rgba(255, 255, 255, 0.9);
}

.ab-gallery-slider {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.ab-licenses-swiper,
.ab-honors-swiper,
.ab-photos-swiper {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    padding: 0.35rem 0 0.15rem;
}

.ab-gallery-nav {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    padding: 0;
    border: 1px solid rgba(211, 47, 47, 0.15);
    border-radius: 14px;
    background: #fff;
    color: var(--ab-red);
    font-size: 1.25rem;
    line-height: 1;
    box-shadow: 0 4px 16px rgba(211, 47, 47, 0.12);
    cursor: pointer;
    transition:
        transform 0.25s ease,
        background 0.25s ease,
        color 0.25s ease,
        box-shadow 0.25s ease;
}

.ab-gallery-nav:hover {
    transform: translateY(-2px);
    background: var(--ab-red);
    color: #fff;
    box-shadow: 0 8px 24px rgba(211, 47, 47, 0.28);
}

.ab-gallery-nav.swiper-button-disabled {
    opacity: 0.3;
    cursor: default;
    transform: none;
    background: #fff;
    color: var(--ab-red);
    box-shadow: none;
}

.ab-gallery-pagination {
    display: flex;
    justify-content: center;
    gap: 0.45rem;
    margin-top: 1.35rem;
}

.ab-gallery-pagination .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    margin: 0 !important;
    border-radius: 999px;
    background: rgba(211, 47, 47, 0.2);
    opacity: 1;
    transition: width 0.3s ease, background 0.3s ease;
}

.ab-gallery-pagination .swiper-pagination-bullet-active {
    width: 28px;
    background: var(--ab-red);
}

.ab-gallery-card {
    display: block;
    width: 100%;
    padding: 0;
    border: none;
    background: transparent;
    cursor: pointer;
    text-align: inherit;
    font: inherit;
}

.ab-gallery-card-inner {
    display: flex;
    flex-direction: column;
    height: 100%;
    border-radius: 18px;
    overflow: hidden;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.07);
    box-shadow: 0 10px 32px rgba(0, 0, 0, 0.07);
    transition:
        transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.35s ease,
        border-color 0.35s ease;
}

.ab-gallery-card:hover .ab-gallery-card-inner,
.ab-gallery-card:focus-visible .ab-gallery-card-inner {
    transform: translateY(-6px);
    border-color: rgba(211, 47, 47, 0.2);
    box-shadow:
        0 20px 48px rgba(0, 0, 0, 0.12),
        0 0 0 1px rgba(211, 47, 47, 0.08);
}

.ab-gallery-card:focus-visible {
    outline: none;
}

.ab-gallery-card:focus-visible .ab-gallery-card-inner {
    outline: 2px solid var(--ab-red);
    outline-offset: 3px;
}

.ab-gallery-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.65rem 0.85rem;
    background: linear-gradient(180deg, #fafafa 0%, #fff 100%);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.ab-gallery-card-chip {
    display: inline-flex;
    align-items: center;
    padding: 0.2rem 0.55rem;
    border-radius: 6px;
    background: rgba(211, 47, 47, 0.1);
    font-size: 0.65rem;
    font-weight: 800;
    color: var(--ab-red);
    letter-spacing: 0.02em;
}

.ab-gallery-card-chip--gold {
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.18) 0%, rgba(255, 152, 0, 0.12) 100%);
    color: #b8860b;
}

.ab-gallery-card-chip--photo {
    background: rgba(26, 26, 26, 0.07);
    color: #444;
}

.ab-gallery-card-num {
    font-size: 0.72rem;
    font-weight: 800;
    color: rgba(0, 0, 0, 0.18);
    letter-spacing: 0.06em;
}

.ab-gallery-card-media {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: linear-gradient(145deg, #f3f3f3 0%, #e8e8e8 100%);
}

.ab-gallery-card-media--photo {
    aspect-ratio: 3 / 2;
}

.ab-gallery-img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.ab-gallery-card:hover .ab-gallery-img {
    transform: scale(1.06);
}

.ab-gallery-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    width: 100%;
    height: 100%;
    min-height: inherit;
    background:
        linear-gradient(145deg, rgba(211, 47, 47, 0.04) 0%, transparent 55%),
        linear-gradient(160deg, #fafafa 0%, #ececec 100%);
}

.ab-gallery-placeholder i {
    font-size: 2rem;
    color: rgba(211, 47, 47, 0.25);
}

.ab-gallery-placeholder span {
    font-size: 0.78rem;
    font-weight: 600;
    color: #aaa;
}

.ab-gallery-placeholder--honor i {
    color: rgba(184, 134, 11, 0.35);
}

.ab-gallery-placeholder--photo i {
    color: rgba(26, 26, 26, 0.22);
}

.ab-gallery-card--photo .ab-gallery-card-inner {
    border-color: rgba(0, 0, 0, 0.06);
}

.ab-gallery-card--photo:hover .ab-gallery-card-inner,
.ab-gallery-card--photo:focus-visible .ab-gallery-card-inner {
    border-color: rgba(26, 26, 26, 0.12);
    box-shadow:
        0 20px 48px rgba(0, 0, 0, 0.1),
        0 0 0 1px rgba(26, 26, 26, 0.06);
}

.ab-gallery-card-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    background: rgba(26, 26, 26, 0.55);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 700;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.ab-gallery-card-overlay i {
    font-size: 1.5rem;
}

.ab-gallery-card:hover .ab-gallery-card-overlay {
    opacity: 1;
}

.ab-gallery-card-foot {
    padding: 0.75rem 0.85rem 0.9rem;
    background: #fff;
}

.ab-gallery-card-title {
    display: block;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--ab-text);
    line-height: 1.5;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Gallery modal */
.ab-gallery-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(1rem, 4vw, 2rem);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.35s ease, visibility 0.35s ease;
}

.ab-gallery-modal.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.ab-gallery-modal-backdrop {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 50% 40%, rgba(211, 47, 47, 0.12) 0%, transparent 55%),
        rgba(8, 8, 10, 0.88);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.ab-gallery-modal.is-open .ab-gallery-modal-backdrop {
    opacity: 1;
}

.ab-gallery-modal-shell {
    position: relative;
    z-index: 1;
    width: min(960px, 100%);
    max-height: calc(100vh - 2rem);
    transform: scale(0.92) translateY(24px);
    opacity: 0;
    transition:
        transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
        opacity 0.35s ease;
}

.ab-gallery-modal.is-open .ab-gallery-modal-shell {
    transform: scale(1) translateY(0);
    opacity: 1;
}

.ab-gallery-modal-panel {
    position: relative;
    overflow: hidden;
    border-radius: 22px;
    background: #fff;
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.08),
        0 32px 80px rgba(0, 0, 0, 0.45),
        0 8px 24px rgba(0, 0, 0, 0.2);
}

.ab-gallery-modal-accent {
    height: 4px;
    background: linear-gradient(90deg, var(--ab-red) 0%, var(--ab-red-light) 50%, var(--ab-red) 100%);
}

.ab-gallery-modal-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.15rem 1.35rem 1rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.ab-gallery-modal-header-text {
    flex: 1;
    min-width: 0;
}

.ab-gallery-modal-eyebrow {
    display: block;
    margin-bottom: 0.3rem;
    font-size: 0.68rem;
    font-weight: 700;
    color: var(--ab-red);
    letter-spacing: 0.03em;
}

.ab-gallery-modal-title {
    margin: 0;
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    font-weight: 800;
    color: var(--ab-text);
    line-height: 1.45;
    letter-spacing: -0.02em;
}

.ab-gallery-modal-title:empty {
    display: none;
}

.ab-gallery-modal-close {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    margin-top: 0.1rem;
    border: none;
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.05);
    color: var(--ab-muted);
    font-size: 1rem;
    cursor: pointer;
    transition:
        background 0.2s ease,
        color 0.2s ease,
        transform 0.2s ease;
}

.ab-gallery-modal-close:hover {
    background: var(--ab-red);
    color: #fff;
    transform: rotate(90deg);
}

.ab-gallery-modal-stage {
    position: relative;
    margin: 0 1.35rem 1.35rem;
    min-height: min(52vh, 420px);
    border-radius: 16px;
    overflow: hidden;
    background: linear-gradient(165deg, #1c1c1e 0%, #0d0d0f 100%);
}

.ab-gallery-modal-stage-glow {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 50% 30%, rgba(211, 47, 47, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.03) 0%, transparent 40%);
    pointer-events: none;
}

.ab-gallery-modal-img {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    max-height: min(62vh, 520px);
    margin: 0 auto;
    padding: 1.25rem;
    object-fit: contain;
    box-sizing: border-box;
}

.ab-gallery-modal-img[hidden] {
    display: none !important;
}

.ab-gallery-modal-placeholder {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    padding: 2rem;
    text-align: center;
}

.ab-gallery-modal-placeholder:not([hidden]) {
    display: flex;
}

.ab-gallery-modal-placeholder-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    border-radius: 20px;
    border: 2px dashed rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.04);
    color: rgba(255, 255, 255, 0.35);
    font-size: 1.75rem;
}

.ab-gallery-modal-placeholder-label {
    font-size: 1.05rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.55);
}

.ab-gallery-modal-placeholder-hint {
    font-size: 0.78rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.28);
}

@media (max-width: 575.98px) {
    .ab-gallery-modal-header {
        padding: 1rem 1rem 0.85rem;
    }

    .ab-gallery-modal-stage {
        margin: 0 1rem 1rem;
        min-height: 240px;
    }

    .ab-gallery-modal-close {
        width: 34px;
        height: 34px;
        border-radius: 10px;
    }
}

.ab-block-text {
    padding: 0.25rem 0;
}

.ab-block-text--center {
    text-align: center;
    max-width: 900px;
    margin-inline: auto;
}

.ab-section-title {
    margin: 0 0 0.65rem;
    font-size: clamp(1.15rem, 2.5vw, 1.45rem);
    font-weight: 900;
    color: var(--ab-text);
    line-height: 1.4;
    letter-spacing: -0.02em;
}

.ab-section-line {
    display: block;
    width: min(180px, 45%);
    height: 3px;
    margin-bottom: 1.25rem;
    background: linear-gradient(90deg, var(--ab-red) 0%, var(--ab-red-light) 70%, transparent 100%);
    border-radius: 3px;
}

.ab-section-line--center {
    margin-inline: auto;
}

.ab-section-desc {
    margin: 0;
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--ab-muted);
    line-height: 2.05;
    text-align: justify;
}

.ab-section-desc--wide {
    max-width: none;
}

/* Media placeholders */
.ab-media {
    border-radius: clamp(14px, 2vw, 20px);
    overflow: hidden;
    background: var(--ab-placeholder);
    border: 1px solid rgba(0, 0, 0, 0.04);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.8) inset,
        0 10px 32px rgba(0, 0, 0, 0.06);
}

.ab-media--video {
    aspect-ratio: 16 / 10;
    min-height: 220px;
}

.ab-media--photo {
    aspect-ratio: 16 / 7;
    min-height: 100px;
}

.ab-media--story {
    height: 100%;
    min-height: clamp(260px, 36vw, 380px);
    padding: 0;
    background: #e8e8e8;
}

.ab-story-img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: inherit;
    object-fit: cover;
    object-position: center;
}

.ab-block-text--story {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    min-height: clamp(260px, 36vw, 380px);
}

.ab-media-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    min-height: inherit;
    background: linear-gradient(160deg, #f2f2f2 0%, #e8e8e8 100%);
    color: #999;
}

.ab-media-placeholder-icon {
    font-size: clamp(2rem, 5vw, 2.75rem);
    line-height: 1;
    margin-bottom: 0.35rem;
    opacity: 0.45;
}

.ab-media-placeholder-label {
    font-size: 0.82rem;
    font-weight: 700;
    color: #888;
}

.ab-video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: #000;
}

@media (max-width: 991.98px) {
    .ab-page-intro {
        padding-top: 2.25rem;
    }

    .ab-section {
        padding: 2.25rem 0;
    }

    .ab-section--factory {
        padding-bottom: 1.5rem;
    }

    .ab-section--licenses {
        padding-top: 2.25rem;
    }

    .ab-section--honors {
        padding-bottom: 2rem;
    }

    .ab-section--photos {
        padding-bottom: 3.75rem;
    }

    .ab-gallery-panel {
        padding: 1rem 0.75rem;
        border-radius: 18px;
    }

    .ab-gallery-slider {
        gap: 0.4rem;
    }

    .ab-gallery-nav {
        width: 38px;
        height: 38px;
        border-radius: 11px;
        font-size: 1.05rem;
    }

    .ab-gallery-head {
        margin-bottom: 1.75rem;
    }

    .ab-gallery-subtitle {
        font-size: 0.85rem;
    }

    .ab-block-text {
        margin-bottom: 0.5rem;
    }
}

@media (max-width: 575.98px) {
    .ab-page-intro {
        padding-top: 2rem;
    }

    .ab-media--video {
        min-height: 180px;
    }
}
