@charset "utf-8";

/* About Us — Factory Profile page-08 */

.about-factory-page main {
    background: #fff
}

.about-factory-hero {
    position: relative;
    background: #eee;
    overflow: hidden
}

.about-factory-hero__media {
    aspect-ratio: 1920 / 650;
    max-height: 650px
}

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

.about-factory-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, .15) 0%, rgba(0, 0, 0, .45) 100%);
    display: flex;
    align-items: center;
    justify-content: flex-start
}

.about-factory-hero--center .about-factory-hero__overlay {
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, rgba(0, 0, 0, .22) 0%, rgba(0, 0, 0, .42) 100%)
}

.about-factory-hero--center .about-factory-hero__inner {
    padding: 32px 20px
}

.about-factory-hero--center .about-factory-hero__caption {
    max-width: min(900px, 82vw);
    margin: 0 auto;
    text-align: center
}

.about-factory-hero--center .about-factory-hero__desc {
    max-width: min(640px, 72vw);
    margin: 0 auto
}

.about-factory-hero__inner {
    width: 100%;
    padding: 40px 20px 40px clamp(20px, 4.2vw, 80px);
    display: flex;
    align-items: center;
    justify-content: flex-start
}

.about-factory-hero__caption {
    max-width: min(720px, 58vw)
}

.about-factory-hero__title {
    margin: 0 0 12px;
    font-size: clamp(24px, 2.8vw, 40px);
    font-weight: var(--fontbold6);
    color: #fff;
    line-height: 1.25;
    text-transform: uppercase;
    letter-spacing: .02em;
    word-break: break-word
}

.about-factory-hero__desc {
    margin: 0;
    max-width: min(560px, 50vw);
    font-size: 15px;
    line-height: 1.7;
    color: rgba(255, 255, 255, .9)
}

.about-factory-hero__title:empty {
    display: none
}

.about-factory-hero__title:not(:empty) + .about-factory-hero__title-fallback {
    display: none
}

.about-factory-hero__title-fallback {
    margin: 0 0 12px;
    font-size: clamp(24px, 2.8vw, 40px);
    font-weight: var(--fontbold6);
    color: #fff;
    line-height: 1.25;
    text-transform: uppercase
}

.about-factory-hero__title-fallback:empty,
.about-factory-hero__desc:empty {
    display: none
}

.about-factory-crumb {
    padding: 14px 20px;
    font-size: 13px;
    line-height: 1.5;
    color: var(--text-muted);
    background: #fff;
    border-bottom: 1px solid #eee
}

.about-factory-crumb a {
    color: var(--text-muted)
}

.about-factory-crumb a:hover {
    color: var(--color)
}

.about-factory-toolbar {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    gap: 16px 32px;
    border-bottom: 1px solid #e5e7eb;
    background: #fff
}

.about-factory-toolbar .about-factory-tabs {
    flex: 1 1 auto;
    min-width: 0;
    padding: 0;
    border-bottom: none
}

.about-factory-toolbar .about-factory-crumb {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    padding: 14px 0;
    border-bottom: none;
    background: transparent;
    text-align: right;
    white-space: nowrap
}

/* Shared section eyebrow + accent bars (holaj-style) */
.about-section-eyebrow {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 10px;
    font-size: 13px;
    font-weight: var(--fontbold5);
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: .1em
}

.about-section-eyebrow:empty {
    display: none
}

.about-section-eyebrow::after {
    content: "";
    width: 36px;
    height: 1px;
    background: #d1d5db;
    flex-shrink: 0
}

.about-section-accents {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0 0 24px
}

.about-section-accents span {
    display: block;
    height: 4px;
    border-radius: 2px;
    background: var(--color)
}

.about-section-accents span:first-child {
    width: 40px
}

.about-section-accents span:last-child {
    width: 6px
}

.about-section-accents--sm {
    margin: 0 0 14px
}

.about-factory-tabs {
    display: flex;
    gap: 0;
    padding: 0 20px;
    border-bottom: 1px solid #e5e7eb
}

.about-factory-tabs__item {
    position: relative;
    padding: 14px 22px;
    font-size: 14px;
    font-weight: var(--fontbold5);
    color: var(--text-muted);
    text-decoration: none;
    transition: color .2s linear
}

.about-factory-tabs__item:hover {
    color: var(--color)
}

.about-factory-tabs__item.is-active {
    color: var(--color);
    font-weight: var(--fontbold6)
}

.about-factory-tabs__item.is-active::after {
    content: "";
    position: absolute;
    left: 22px;
    right: 22px;
    bottom: -1px;
    height: 2px;
    background: var(--color)
}

.about-factory-section-title {
    margin: 0 0 28px;
    font-size: clamp(20px, 2.2vw, 26px);
    font-weight: var(--fontbold6);
    color: var(--fontcolor);
    text-align: center
}

/* Factory Showcase */
.about-factory-showcase {
    padding: 48px 0 56px
}

.about-factory-showcase__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr);
    gap: 32px 48px;
    align-items: stretch
}

.about-factory-showcase__title {
    margin: 0 0 12px;
    font-size: clamp(22px, 2.4vw, 30px);
    font-weight: var(--fontbold6);
    color: var(--fontcolor);
    line-height: 1.25;
    letter-spacing: .01em
}

.about-factory-showcase__title:empty {
    display: none
}

.about-factory-showcase__text {
    font-size: 14px;
    line-height: 1.75;
    color: var(--text-muted)
}

.about-factory-showcase__text p {
    margin: 0 0 14px
}

.about-factory-showcase__text p:last-child {
    margin-bottom: 0
}

.about-factory-showcase__media {
    min-width: 0
}

.about-factory-showcase__video {
    position: relative;
    border-radius: 12px;
    overflow: visible;
    background: #f3f4f6;
    aspect-ratio: 16 / 10
}

.about-factory-showcase__badge {
    position: absolute;
    top: 28px;
    left: -20px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 88px;
    min-height: 88px;
    padding: 12px 16px;
    border-radius: 50%;
    background: var(--color);
    color: #fff;
    font-size: 12px;
    font-weight: var(--fontbold6);
    line-height: 1.25;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: .04em;
    box-shadow: 0 10px 28px rgba(30, 58, 138, .28);
    transform: rotate(-12deg)
}

.about-factory-showcase__badge:empty {
    display: none
}

.about-factory-showcase__poster {
    position: absolute;
    inset: 0;
    border-radius: 12px;
    overflow: hidden
}

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

.about-factory-showcase__play {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 64px;
    height: 64px;
    border: none;
    border-radius: 50%;
    background: rgba(30, 58, 138, .88);
    color: #fff;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(15, 23, 42, .2);
    transition: transform .2s linear, background .2s linear
}

.about-factory-showcase__play i {
    font-size: 28px;
    line-height: 1
}

.about-factory-showcase__play:hover {
    transform: translate(-50%, -50%) scale(1.06);
    background: var(--color)
}

.about-factory-showcase__player {
    display: none;
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: #000
}

.about-factory-showcase__video.is-playing .about-factory-showcase__poster {
    display: none
}

.about-factory-showcase__video.is-playing .about-factory-showcase__player {
    display: block
}

.about-factory-showcase__video:not(.has-video) .about-factory-showcase__play {
    display: none
}

/* Factory gallery — holaj: top bg band only; photos inset + left text */
.about-factory-gallery {
    position: relative;
    padding: 0 0 56px;
    background: #fff
}

.about-factory-gallery:not(:has(.about-factory-gallery__card)) {
    display: none
}

.about-factory-gallery__backdrop {
    position: relative;
    overflow: hidden;
    height: clamp(360px, 48vw, 560px);
    background: var(--color)
}

.about-factory-gallery__bg {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center
}

.about-factory-gallery__bg[src=''] {
    display: none
}

.about-factory-gallery__backdrop-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: rgba(15, 23, 42, .4)
}

.about-factory-gallery__intro {
    position: relative;
    z-index: 2;
    box-sizing: border-box;
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;
    padding: clamp(40px, 5vw, 72px) 0 0;
    text-align: left
}

.about-factory-gallery__eyebrow {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    margin: 0 0 12px;
    font-size: 22px;
    font-weight: var(--fontbold5);
    color: #fff;
    text-transform: uppercase;
    letter-spacing: .08em;
    line-height: 1.2;
    text-align: left
}

.about-factory-gallery__eyebrow:empty {
    display: none
}

.about-factory-gallery__eyebrow::after {
    content: "";
    width: 36px;
    height: 1px;
    background: rgba(255, 255, 255, .55);
    flex-shrink: 0
}

.about-factory-gallery__title {
    margin: 0 0 16px;
    max-width: none;
    font-size: clamp(28px, 3vw, 40px);
    font-weight: var(--fontbold6);
    color: #fff;
    line-height: 1.35;
    letter-spacing: .01em;
    text-align: left
}

.about-factory-gallery__title:empty {
    display: none
}

.about-factory-gallery__desc {
    margin: 25px 0 0;
    max-width: none;
    width: 100%;
    font-size: 16px;
    line-height: 1.8;
    color: rgba(255, 255, 255, .92);
    text-align: left
}

.about-factory-gallery__desc:empty {
    display: none
}

.about-section-accents--light {
    margin: 0;
    justify-content: flex-start
}

.about-section-accents--light span {
    background: #fff
}

.about-factory-gallery__inner {
    position: relative;
    z-index: 3;
    box-sizing: border-box;
    width: 90%;
    max-width: 1400px;
    margin: calc(-1 * clamp(140px, 20vw, 240px)) auto 0;
    padding: 0
}

.about-factory-gallery__featured {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2%;
    width: 100%;
    max-width: none;
    margin: 0 0 30px
}

.about-factory-gallery__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 2%;
    width: 100%;
    max-width: none;
    margin: 0
}

.about-factory-gallery__card {
    margin: 0;
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 8px 28px rgba(15, 23, 42, .12)
}

.about-factory-gallery__card img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover
}

.about-factory-gallery__card--lg img {
    aspect-ratio: 800 / 486
}

.about-factory-gallery__card--sm img {
    aspect-ratio: 1 / 1
}

/* Partners */
.about-factory-partners {
    padding: 20px 0 56px;
    background: #fff
}

.about-factory-partners:not(:has(.swiper-slide)) {
    display: none
}

.about-factory-partners__slider {
    position: relative;
    overflow: hidden
}

.about-factory-partners-swiper {
    overflow: hidden
}

.about-factory-partners-swiper .swiper-slide {
    width: auto;
    height: auto
}

.about-factory-partners__logo {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 160px;
    height: 72px;
    padding: 8px 20px
}

.about-factory-partners__logo img {
    max-width: 160px;
    max-height: 56px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(1);
    opacity: .75;
    transition: filter .2s linear, opacity .2s linear
}

.about-factory-partners__logo:hover img {
    filter: none;
    opacity: 1
}

.about-factory-partners__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    border: 1px solid #e5e7eb;
    border-radius: 50%;
    background: #fff;
    color: #9ca3af;
    cursor: pointer;
    z-index: 2;
    transition: border-color .2s linear, color .2s linear
}

.about-factory-partners__nav--prev {
    left: 0
}

.about-factory-partners__nav--next {
    right: 0
}

.about-factory-partners__nav:hover {
    border-color: var(--color);
    color: var(--color)
}

/* Certifications */
.about-factory-certs {
    padding: 12px 0 56px;
    background: #f9fafb
}

.about-factory-certs:not(:has(.swiper-slide)) {
    display: none
}

.about-factory-certs__header {
    margin-bottom: 32px
}

.about-factory-certs__title {
    margin: 0 0 12px;
    font-size: clamp(22px, 2.4vw, 30px);
    font-weight: var(--fontbold6);
    color: var(--fontcolor);
    line-height: 1.25
}

.about-factory-certs__slider {
    position: relative
}

.about-factory-certs-swiper {
    overflow: hidden;
    padding: 12px 0 8px
}

.about-factory-certs-swiper .swiper-slide {
    width: 290px
}

.about-factory-certs__card {
    text-align: center
}

.about-factory-certs__media {
    position: relative;
    aspect-ratio: 290 / 410;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 8px 24px rgba(15, 23, 42, .08);
    transition: transform .3s linear, box-shadow .3s linear
}

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

.about-factory-certs__badge {
    position: absolute;
    inset: 0;
    background: rgba(30, 58, 138, .42);
    opacity: 0;
    transition: opacity .25s linear
}

.about-factory-certs__badge::after {
    content: "\2713";
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    font-size: 42px;
    color: #fff;
    font-weight: 700
}

.about-factory-certs-swiper .swiper-slide-active .about-factory-certs__badge {
    opacity: 1
}

.about-factory-certs-swiper .swiper-slide-active .about-factory-certs__media {
    transform: scale(1.04);
    box-shadow: 0 14px 36px rgba(30, 58, 138, .18)
}

.about-factory-certs__name {
    margin: 12px 0 0;
    font-size: 13px;
    font-weight: var(--fontbold5);
    color: var(--fontcolor)
}

.about-factory-certs__pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 20px
}

.about-factory-certs__pagination .swiper-pagination-bullet {
    width: 28px;
    height: 4px;
    margin: 0 !important;
    border-radius: 2px;
    background: #d1d5db;
    opacity: 1;
    transition: background .2s linear, width .2s linear
}

.about-factory-certs__pagination .swiper-pagination-bullet-active {
    width: 40px;
    background: var(--color)
}

/* Service Guarantee — page-09 inline list */
.about-factory-service {
    padding: 8px 0 64px;
    background: #fff
}

.about-factory-service:not(:has(.about-factory-service__item)) {
    display: none
}

.about-factory-service__list {
    margin: 0 auto;
    padding: 0;
    max-width: 760px;
    list-style: none
}

.about-factory-service__item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    margin: 0 0 16px
}

.about-factory-service__item:last-child {
    margin-bottom: 0
}

.about-factory-service__dot {
    flex-shrink: 0;
    width: 8px;
    height: 8px;
    margin-top: 9px;
    border-radius: 50%;
    background: var(--color)
}

.about-factory-service__text {
    margin: 0;
    font-size: 15px;
    line-height: 1.85;
    color: var(--text-muted)
}

.about-factory-service__label {
    font-weight: var(--fontbold6);
    color: var(--fontcolor)
}

/* Page-wide horizontal padding on narrow viewports */
.about-factory-page .l-wrap {
    padding-left: 20px;
    padding-right: 20px
}

@media (max-width: 1024px) {
    .about-factory-showcase__inner {
        grid-template-columns: 1fr;
        gap: 28px
    }

    .about-factory-gallery__backdrop {
        height: clamp(300px, 55vw, 420px)
    }

    .about-factory-gallery__inner {
        width: 92%;
        margin-top: calc(-1 * clamp(100px, 18vw, 160px))
    }

    .about-factory-gallery__featured {
        margin-bottom: 20px
    }

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

@media (max-width: 768px) {
    .about-factory-page .l-wrap {
        padding-left: 16px;
        padding-right: 16px
    }

    .about-factory-page main {
        padding-bottom: calc(8px + env(safe-area-inset-bottom, 0px))
    }

    /* Hero */
    .about-factory-hero__media {
        aspect-ratio: 16 / 9;
        max-height: 320px
    }

    .about-factory-hero__inner {
        padding: 28px 15px 24px
    }

    .about-factory-hero__caption {
        max-width: 100%
    }

    .about-factory-hero--center .about-factory-hero__inner {
        padding: 20px 0 24px
    }

    .about-factory-hero--center .about-factory-hero__caption,
    .about-factory-hero--center .about-factory-hero__desc {
        max-width: 100%
    }

    .about-factory-hero__title,
    .about-factory-hero__title-fallback {
        font-size: clamp(18px, 5.2vw, 24px);
        margin-bottom: 8px
    }

    .about-factory-hero__desc {
        max-width: 100%;
        font-size: 12px;
        line-height: 1.55
    }

    .about-factory-crumb {
        padding: 12px 0;
        font-size: 12px;
        word-break: break-word
    }

    .about-factory-toolbar {
        flex-direction: column;
        gap: 0
    }

    .about-factory-toolbar .about-factory-crumb {
        order: -1;
        padding: 12px 0 0;
        white-space: normal;
        text-align: left;
        border-bottom: 1px solid #f3f4f6
    }

    .about-factory-showcase__badge {
        top: 16px;
        left: 12px;
        min-width: 72px;
        min-height: 72px;
        font-size: 11px;
        transform: rotate(-10deg)
    }

    /* Tabs — horizontal scroll, no squeeze */
    .about-factory-tabs {
        display: flex;
        flex-wrap: nowrap;
        gap: 4px;
        padding: 0;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none
    }

    .about-factory-tabs::-webkit-scrollbar {
        display: none
    }

    .about-factory-tabs__item {
        flex: 0 0 auto;
        white-space: nowrap;
        padding: 12px 16px;
        font-size: 13px
    }

    .about-factory-tabs__item.is-active::after {
        left: 16px;
        right: 16px
    }

    /* Factory Showcase */
    .about-factory-showcase {
        padding: 32px 0 40px
    }

    .about-factory-showcase__title {
        font-size: clamp(18px, 5vw, 22px);
        margin-bottom: 16px
    }

    .about-factory-showcase__text {
        font-size: 15px;
        line-height: 1.8
    }

    .about-factory-showcase__play {
        width: 52px;
        height: 52px
    }

    .about-factory-showcase__play i {
        font-size: 22px
    }

    /* Gallery */
    .about-factory-gallery {
        padding-bottom: 40px
    }

    .about-factory-gallery__backdrop {
        height: clamp(260px, 62vw, 360px)
    }

    .about-factory-gallery__intro {
        width: 92%;
        padding-top: 28px
    }

    .about-factory-gallery__eyebrow {
        font-size: 14px
    }

    .about-factory-gallery__title {
        font-size: clamp(20px, 5.5vw, 24px);
        margin-bottom: 12px;
        line-height: 1.2
    }

    .about-factory-gallery__desc {
        margin-top: 16px;
        font-size: 12px;
        line-height: 1.5
    }

    .about-factory-gallery__inner {
        width: 92%;
        margin-top: calc(-1 * clamp(80px, 22vw, 120px))
    }

    .about-factory-gallery__featured {
        grid-template-columns: 1fr;
        gap: 12px;
        margin-bottom: 12px
    }

    .about-factory-gallery__card {
        border-radius: 10px
    }

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

    /* Partners */
    .about-factory-partners {
        padding: 16px 0 40px
    }

    .about-factory-section-title {
        margin-bottom: 20px;
        font-size: clamp(18px, 5vw, 22px)
    }

    .about-factory-partners__slider {
        padding: 0 40px
    }

    .about-factory-partners__logo {
        min-width: 0;
        width: 100%;
        height: 64px;
        padding: 6px 10px
    }

    .about-factory-partners__logo img {
        max-width: 100%;
        max-height: 48px
    }

    .about-factory-partners__nav {
        width: 32px;
        height: 32px
    }

    /* Certifications */
    .about-factory-certs {
        padding: 8px 0 40px
    }

    .about-factory-certs__header {
        margin-bottom: 20px
    }

    .about-factory-certs__title {
        font-size: clamp(18px, 5vw, 24px)
    }

    .about-factory-certs__slider {
        margin: 0 -4px;
        overflow: hidden
    }

    .about-factory-certs-swiper {
        padding: 8px 0
    }

    .about-factory-certs-swiper .swiper-slide {
        width: min(220px, 78vw)
    }

    .about-factory-certs-swiper .swiper-slide-active .about-factory-certs__media {
        transform: none;
        box-shadow: 0 8px 24px rgba(15, 23, 42, .1)
    }

    .about-factory-certs__name {
        font-size: 12px
    }

    /* Service Guarantee */
    .about-factory-service {
        padding: 8px 0 calc(48px + 14vw + env(safe-area-inset-bottom, 0px))
    }

    .about-factory-service__list {
        max-width: 100%
    }

    .about-factory-service__item {
        gap: 10px;
        margin-bottom: 14px
    }

    .about-factory-service__dot {
        width: 7px;
        height: 7px;
        margin-top: 8px
    }

    .about-factory-service__text {
        font-size: 14px;
        line-height: 1.8
    }
}

@media (max-width: 480px) {
    .about-factory-gallery__grid {
        grid-template-columns: 1fr
    }

    .about-factory-partners__slider {
        padding: 0 36px
    }
}
