/* home.css - Homepage specific styles */

/* ========================================
   Banner Slider
   ======================================== */

.banner {
    position: relative;
    height: 50em;
}

.banner .banner-swiper {
    width: 100%;
    height: 100%;
}

.banner .swiper-wrapper {
    height: 100%;
}

.banner .swiper-slide {
    height: 100%;
}

.banner .swiper-slide picture,
.banner .swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Hide original banner elements */
.banner .img {
    display: none;
}

/* Dark gradient overlay for text readability */
.banner .swiper-slide {
    position: relative;
}

.banner .swiper-slide .banner-text {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    background: linear-gradient(90deg, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.4) 45%, rgba(0,0,0,0) 70%);
}

.banner .swiper-slide .banner-text .container {
    height: 100%;
    display: flex;
    align-items: center;
}

.banner .swiper-slide .banner-text .txt {
    pointer-events: auto;
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.45s ease, transform 0.45s ease;
}

.banner .swiper-slide-active .banner-text .txt,
.banner .swiper-slide-duplicate-active .banner-text .txt {
    opacity: 1;
    transform: translateY(0);
}

.banner .swiper-slide .banner-text .txt .h2 {
    color: #ece9e4;
    font-size: 4.5rem;
    font-family: 'Google Sans Flex', sans-serif;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.01em;
    margin-bottom: 1.5rem;
    max-width: 100%;
}

.banner .swiper-slide .banner-text .txt .p {
    color: #ece9e4;
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 2.5rem;
    max-width: 100%;
    font-family: 'Google Sans Flex', sans-serif;
}

.banner .swiper-slide .banner-text .txt .btns {
    display: flex;
    gap: 0.75em;
    align-items: center;
}

.banner .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.85rem 2rem;
    border-radius: 6px;
    font-size: 1.4rem;
    font-weight: 500;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.25s;
    font-family: 'Google Sans Flex', sans-serif;
    white-space: nowrap;
}

.banner .btn.btn-outline {
    border: 1px solid rgba(255, 255, 255, 0.6);
    color: #fff;
    background: transparent;
}

.banner .btn.btn-outline:hover {
    background: #fff;
    border-color: #fff;
    color: #c33c3b;
}

.banner .btn.btn-primary {
    border: none;
    background: #fff;
    color: #111;
    transition: background-color 0.35s ease, color 0.35s ease;
}

.banner .btn.btn-primary:hover {
    background: #c33c3b;
    color: #fff;
}

/* Swiper pagination - bottom center */
.banner .swiper-pagination {
    bottom: 2.5em !important;
    left: 0;
    right: 0;
    z-index: 10;
    text-align: center;
}

.banner .swiper-pagination-bullet {
    width: 1.375em;
    height: 1.375em;
    border-radius: 50%;
    border: 1px solid transparent;
    background: transparent;
    position: relative;
    opacity: 1;
    margin: 0 0.35em !important;
    transition: all 0.5s;
}

.banner .swiper-pagination-bullet::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    width: 0.375em;
    height: 0.375em;
    background: #fff;
    border-radius: 50%;
}

.banner .swiper-pagination-bullet-active {
    border-color: #fff;
}

/* ========================================
   About Yimeihao
   ======================================== */

.section-about-yimeihao {
    --about-text-gap: clamp(2rem, 2.8vw, 4rem);
    --about-stage-height: clamp(420px, 34vw, 620px);
    background: #fff;
    overflow: hidden;
}

.about-y-stage {
    position: relative;
    min-height: var(--about-stage-height);
}

.about-y-copy-col {
    position: relative;
    z-index: 2;
}

.about-y-copy-col > .container {
    min-height: var(--about-stage-height);
    display: flex;
    align-items: center;
}

.about-y-copy {
    width: min(46%, 44rem);
    padding-top: 3rem;
    padding-bottom: 3rem;
    display: flex;
    align-items: center;
}

.about-y-text {
    width: 100%;
    box-sizing: border-box;
    padding-left: 0;
    padding-right: var(--about-text-gap);
    padding-top: 0;
    padding-bottom: 0;
    position: relative;
}

.about-y-text .watermark {
    position: absolute;
    top: -92px;
    left: -160px;
    font-size: 12rem;
    font-weight: 900;
    letter-spacing: 0.05em;
    line-height: 1;
    background: linear-gradient(180deg, rgba(220,160,160,0.4) 0%, rgba(220,160,160,0) 75%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    z-index: 0;
    pointer-events: none;
    user-select: none;
    white-space: nowrap;
}

.about-y-text .tit {
    font-size: 3.5rem;
    font-weight: 800;
    color: #111;
    margin-bottom: 2rem;
    letter-spacing: -0.01em;
    position: relative;
    z-index: 1;
}

.about-y-text .desc {
    color: #555;
    font-size: 1.15rem;
    font-weight: 300;
    line-height: 1.9;
    margin-bottom: 3.5rem;
    position: relative;
    z-index: 1;
}

.about-y-text .desc p {
    font-weight: inherit;
}

.about-y-text .btn-about-more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.85rem 2rem;
    border-radius: 8px;
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    isolation: isolate;
    z-index: 1;
}
.about-y-text .btn-about-more::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -2;
    background: #c33c3b;
    border-radius: inherit;
}
.about-y-text .btn-about-more::after {
    content: '';
    position: absolute;
    inset: -1px;
    z-index: -1;
    transform: scaleX(0);
    transform-origin: left center;
    background: #000;
    border-radius: inherit;
    transition: transform 0.7s ease;
}
.about-y-text .btn-about-more:hover::after {
    transform: scaleX(1);
}

.about-y-media-col {
    position: absolute;
    top: 0;
    right: 0;
    width: 50vw;
    height: 100%;
    z-index: 3;
}

.about-y-video {
    position: relative;
    width: 100%;
    height: 100%;
}

.about-y-video::before {
    content: "";
    position: absolute;
    top: -40px;
    right: 0;
    width: 65%;
    height: 100%;
    background: #f0f0f0;
    z-index: 0;
}

.about-y-video .video.vp-a {
    display: block;
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
}

.about-y-video .video.vp-a::before {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: #fff;
    background-image: none;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
}

.about-y-video .video.vp-a::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-top: 12px solid transparent;
    border-bottom: 12px solid transparent;
    border-left: 18px solid #000;
    transform: translate(-34%, -50%);
    z-index: 2;
    pointer-events: none;
    transition: border-left-color 0.3s ease, transform 0.3s ease;
}

.about-y-video .video.vp-a:hover::before {
    background: #c33c3b;
    transform: translate(-50%, -50%) scale(1.12);
    box-shadow: 0 0 28px rgba(255, 255, 255, 0.72), 0 0 56px rgba(255, 255, 255, 0.42);
    filter: none;
}

.about-y-video .video.vp-a:hover::after {
    border-left-color: #fff;
    transform: translate(-34%, -50%) scale(1.06);
}

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

/* ========================================
   Our Products
   ======================================== */

.section-our-products {
    padding: 8rem 0;
    background: #fff;
}

.section-our-products .op-header {
    margin-bottom: 1.5rem;
}

.section-our-products .op-title .tit {
    font-size: 2.8rem;
    font-weight: 800;
    color: #111;
    letter-spacing: 0.02em;
    line-height: 1;
    font-family: 'Google Sans Flex', sans-serif;
}

.section-our-products .op-title .desc {
    font-size: 1.05rem;
    color: #555;
    margin-top: 0.75rem;
    line-height: 1.5;
    font-family: 'Google Sans Flex', sans-serif;
}

.section-our-products .op-more,
.section-blog .blog-more {
    font-size: 1.1rem;
    color: #111;
    text-decoration: none;
    font-weight: 600;
    font-family: 'Google Sans Flex', sans-serif;
    border-bottom: 1px solid transparent;
    padding-bottom: 2px;
    transition: all 0.25s;
    white-space: nowrap;
}

.section-our-products .op-more:hover,
.section-blog .blog-more:hover {
    color: #c33c3b;
    border-bottom-color: #c33c3b;
}

/* Category icons */
.section-our-products .op-categories {
    margin-bottom: 1.5rem;
    gap: 4.5rem;
}

.section-our-products .op-cat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    cursor: pointer;
    padding: 0.45rem 0.65rem;
    border-radius: 8px;
    border: 2px solid transparent;
    background: transparent;
    transition: all 0.25s;
    min-width: 96px;
    font-family: inherit;
    outline: none;
    -webkit-tap-highlight-color: transparent;
}

.section-our-products .op-cat::-moz-focus-inner {
    border: 0;
}

.section-our-products .op-cat:active {
    transform: none;
}

.section-our-products .op-cat img {
    width: 36px;
    height: 36px;
    object-fit: contain;
    filter: brightness(0);
    transition: filter 0.25s;
}

.section-our-products .op-cat span {
    font-size: 0.82rem;
    color: #333;
    font-weight: 500;
    font-family: 'Google Sans Flex', sans-serif;
    transition: all 0.25s;
}

/* Banner */
.section-our-products .op-banner {
    position: relative;
    height: 28em;
    margin-bottom: 2.5rem;
}

.section-our-products .op-banner-mobile-copy {
    display: none;
}

.section-our-products .op-banner-bg {
    position: relative;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.section-our-products .op-banner-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(0deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.4) 35%, rgba(0,0,0,0) 60%);
    padding: 3rem;
    display: flex;
    align-items: flex-end;
}

.section-our-products .op-banner-content {
    width: 100%;
    align-items: flex-end;
}

.section-our-products .op-banner-title {
    flex-shrink: 0;
}

.section-our-products .op-banner-title .tit {
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
    font-family: 'Google Sans Flex', sans-serif;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.4);
    display: inline-block;
    transition: opacity 0.3s;
}

.section-our-products .op-banner-desc {
    max-width: 24em;
    text-align: right;
}

.section-our-products .op-banner-desc p {
    font-size: 1rem;
    color: rgba(255,255,255,0.85);
    line-height: 1.6;
    font-family: 'Google Sans Flex', sans-serif;
    transition: all 0.35s;
}

/* Download button */
.section-our-products .op-download {
    text-align: center;
}

.section-our-products .btn-download {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 2rem;
    border-radius: 8px;
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    font-family: 'Google Sans Flex', sans-serif;
    position: relative;
    overflow: hidden;
    isolation: isolate;
}
.section-our-products .btn-download::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -2;
    background: #c33c3b;
    border-radius: inherit;
}
.section-our-products .btn-download::after {
    content: '';
    position: absolute;
    inset: -1px;
    z-index: -1;
    transform: scaleX(0);
    transform-origin: left center;
    background: #000;
    border-radius: inherit;
    transition: transform 0.7s ease;
}
.section-our-products .btn-download:hover::after {
    transform: scaleX(1);
}

.section-our-products .btn-download svg {
    width: 1.3rem;
    height: 1.3rem;
    color: #fff;
}

/* ========================================
   Desktop-only adjustments
   ======================================== */

@media screen and (min-width: 769px) {
    /* Section spacing — desktop */
    .section-choose,
    .section-product,
    .section-customized,
    .section-manufacturer,
    .section-glodal,
    .section-project-cases,
    .section-blog,
    .section-about,
    .section-touch {
        padding: 4rem 0;
    }

    .section-about-yimeihao {
        padding-top: 8rem;
        padding-bottom: 3rem;
    }

    .section-our-products {
        padding: 3rem 0;
    }

    /* About Yimeihao */
    .about-y-text .tit {
        font-weight: 700;
    }

    .about-y-text .desc {
        color: #535353;
        font-size: 1.3rem;
    }

    .about-y-text .btn-about-more {
        padding: 0.6rem 2.5rem;
        font-size: 1.3rem;
        font-weight: 500;
    }

    /* Our Products */
    .section-our-products .op-title .tit {
        font-size: 3.5rem;
        font-weight: 700;
    }

    .section-our-products .op-title .desc {
        font-size: 1.3rem;
        color: #535353;
    }

    .section-our-products .op-more,
    .section-blog .blog-more {
        font-size: 1.3rem;
    }

    .section-our-products .btn-download {
        font-size: 1.3rem;
        font-weight: 500;
        padding: 0.6rem 2.5rem;
    }

    .section-our-products .btn-download svg {
        color: #fff;
    }

    .section-our-products .op-categories {
        gap: 5.5rem;
    }

    .section-our-products .op-cat {
        gap: 0.65rem;
        min-width: 108px;
        padding: 0.55rem 0.8rem;
    }

    .section-our-products .op-cat img {
        width: 60px;
        height: 60px;
    }

    /* Make icon red on hover/active */
    .section-our-products .op-cat:hover img,
    .section-our-products .op-cat.active img {
        filter: none;
    }

    .section-our-products .op-cat:hover span,
    .section-our-products .op-cat.active span {
        color: #c33c3b;
    }

    .section-our-products .op-cat span {
        font-size: 1rem;
    }

    .section-our-products .op-banner {
        height: 42rem;
    }

    .section-our-products .op-banner-content {
        align-items: flex-start;
    }

    .section-our-products .op-banner-title .tit {
        font-weight: 500;
    }

    .section-our-products .op-banner-desc {
        max-width: none;
        text-align: left;
        margin-left: 25%;
    }

    .section-our-products .op-banner-desc p {
        font-size: 1.3rem;
    }
}

/* ========================================
   Responsive
   ======================================== */

@media screen and (max-width: 768px) {
    /* Section spacing — mobile */
    .section-choose,
    .section-product,
    .section-customized,
    .section-manufacturer,
    .section-glodal,
    .section-project-cases,
    .section-blog,
    .section-about,
    .section-touch {
        padding: 2rem 0;
    }

    .section-about-yimeihao {
        padding-top: 4rem;
        padding-bottom: 2rem;
    }

    .section-our-products {
        padding: 2rem 0;
    }

    .banner {
        height: clamp(27rem, 70vh, 32rem);
    }

    .banner .banner-swiper {
        height: 100%;
    }

    .banner .swiper-slide img {
        height: 100%;
    }

    .banner .swiper-slide .banner-text {
        background: linear-gradient(180deg, rgba(0,0,0,0.18) 0%, rgba(0,0,0,0.06) 48%, rgba(0,0,0,0.18) 100%);
    }

    .banner .swiper-slide .banner-text .container {
        padding-top: 4.25rem;
        padding-bottom: 3.75rem;
    }

    .banner .swiper-slide .banner-text .txt {
        text-align: left;
        width: min(100%, 28rem);
    }
    .banner .swiper-slide .banner-text .txt .p br {
        display: none;
    }

    .banner .swiper-slide .banner-text .txt .h2 {
        font-size: clamp(2.3rem, 6.4vw, 3.1rem);
        line-height: 1.1;
        letter-spacing: -0.02em;
        margin-bottom: 0.9rem;
        max-width: 15ch;
    }

    .banner .swiper-slide .banner-text .txt .p {
        font-size: clamp(0.86rem, 2.15vw, 0.98rem);
        line-height: 1.5;
        max-width: 24rem;
        margin-bottom: 3.5rem;
    }

    .banner .swiper-slide .banner-text .txt .btns {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 0.7rem;
        justify-content: flex-start;
    }

    .banner .btn,
    .banner .btn.btn-outline,
    .banner .btn.btn-primary {
        flex: 1 1 calc(50% - 0.35rem);
        width: auto;
        min-width: clamp(6.9rem, 32vw, 7.8rem);
        max-width: 8.8rem;
        margin: 0;
        padding: clamp(0.54rem, 1.35vw, 0.62rem) clamp(0.68rem, 2.2vw, 0.82rem);
        font-size: clamp(0.84rem, 1.95vw, 0.93rem);
    }

    .banner .swiper-pagination {
        bottom: 1em !important;
    }

    /* About Yimeihao - mobile */
    .about-y-stage {
        min-height: 0;
    }

    .about-y-media-col {
        position: relative;
        top: auto;
        right: auto;
        width: 100%;
        height: auto;
    }

    .about-y-copy-col > .container {
        min-height: 0;
        display: block;
    }

    .about-y-copy {
        width: 100%;
        padding-top: 0;
        padding-bottom: 0;
        display: block;
    }

    .about-y-text {
        width: 100%;
        padding-left: 0;
        padding-right: 0;
        text-align: center;
        padding-top: 0;
        padding-bottom: 0;
        margin-bottom: 2rem;
    }

    .about-y-text .watermark {
        display: none;
    }

    .about-y-text .tit {
        font-size: 1.6rem;
        line-height: 1.15;
    }

    .about-y-text .desc {
        font-size: 0.9rem;
        line-height: 1.7;
    }

    .about-y-video {
        width: 100%;
        height: auto;
    }

    .about-y-video::before {
        display: none;
    }

    .about-y-video .video.vp-a::before {
        width: 56px;
        height: 56px;
    }

    .about-y-video .video.vp-a::after {
        border-top-width: 10px;
        border-bottom-width: 10px;
        border-left-width: 15px;
    }

    /* Our Products - mobile */
    .section-our-products .op-header {
        flex-direction: column;
        align-items: flex-start !important;
        gap: 1rem;
    }

    .section-our-products .op-title .tit {
        font-size: 1.75rem;
    }

    .section-our-products .op-title .desc {
        font-size: 0.95rem;
        max-width: 100%;
    }

    .section-our-products .op-categories {
        flex-wrap: nowrap;
        gap: 1rem;
    }

    .section-our-products .op-cat {
        min-width: 80px;
        padding: 0.75rem 0.5rem;
    }

    .section-our-products .op-cat img {
        width: 36px;
        height: 36px;
    }

    .section-our-products .op-cat.active img {
        filter: none;
    }

    .section-our-products .op-cat.active span {
        color: #c33c3b;
    }

    .section-our-products .op-banner {
        height: auto;
        margin-bottom: 1.1rem;
    }

    .section-our-products .op-banner-bg {
        height: auto;
        aspect-ratio: 4 / 3;
    }

    .section-our-products .op-banner-overlay {
        padding: 0;
        background: linear-gradient(180deg, rgba(0,0,0,0.08) 0%, rgba(0,0,0,0) 55%);
    }

    .section-our-products .op-banner-content {
        display: none !important;
    }

    .section-our-products .op-banner-mobile-copy {
        display: block;
        background: #fff;
        padding: 0.85rem 0.9rem 0.95rem;
        border-top: 0;
        box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
    }

    .section-our-products .op-banner-mobile-copy .op-banner-title {
        margin-bottom: 0.4rem;
    }

    .section-our-products .op-banner-mobile-copy .op-banner-title .tit {
        font-size: 1.02rem;
        line-height: 1.25;
        color: #111;
        border-bottom: 0;
        padding-bottom: 0;
        display: block;
    }

    .section-our-products .op-banner-mobile-copy .op-banner-desc {
        max-width: 100%;
        text-align: left;
        margin-left: 0;
    }

    .section-our-products .op-banner-mobile-copy .op-banner-desc p {
        font-size: 0.84rem;
        line-height: 1.55;
        color: #444;
    }

    .section-our-products .op-download {
        margin-bottom: 0.9rem;
    }

    .section-our-products .btn-download {
        padding: 0.72rem 1.4rem;
        font-size: 0.9rem;
        gap: 0.4rem;
    }

    .section-touch .title .tit {
        font-size: 1.55rem;
        line-height: 1.2;
        margin-bottom: 0.85rem;
    }

    .section-touch .title .p p {
        font-size: 0.9rem;
        line-height: 1.6;
    }

    .section-touch .btn.btn-cta {
        margin-left: 0;
        font-size: 0.95rem;
    }

    .section-customized-why .list .item .why-text {
        display: flex;
        flex-direction: column;
    }

    .section-customized-why .list .item .tit {
        margin-bottom: 0.3rem;
    }

    .section-customized-why .list .item .tit span {
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        overflow: hidden;
    }

    .section-customized-why .list .item .p p {
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 3;
        overflow: hidden;
        min-height: calc(1.6em * 3);
    }

    .section-touch .container {
        padding: 3.25rem 0 0.5rem 0;
    }

    .section-project-cases .title {
        padding-bottom: 2rem;
    }

    .section-project-cases .title .tit {
        font-size: 1.85rem;
        line-height: 1.1;
    }

    .section-project-cases .title .p {
        font-size: 0.9rem;
        padding-top: 0.55rem;
    }

    .section-project-cases .pc-swiper .swiper-pagination {
        padding-top: 2rem;
    }

    .section-blog .blog-title .tit {
        font-size: 1.55rem;
        line-height: 1.1;
    }

    .section-blog .blog-title .desc {
        font-size: 0.9rem;
        margin-top: 0.55rem;
    }

    .section-blog .blog-card .txt {
        padding: 1.25rem 0 0;
    }

    .section-blog .blog-card .tag {
        font-size: 0.85rem;
        margin-bottom: 0.45rem;
    }

    .section-blog .blog-card .tit {
        font-size: 1.1rem;
        margin-bottom: 0.5rem;
        min-height: calc(1.35em * 2);
    }

    .section-blog .blog-card .desc {
        font-size: 0.9rem;
        line-height: 1.6;
    }
}

/* ========================================
   WHY CHOOSE YIMEIHAO
   ======================================== */

.section-customized-why {
    padding: 2.5rem 0;
    background: url(../assets/images/chooseImg.jpg) no-repeat center center;
    background-size: cover;
}

.section-customized-why .title1 {
    margin-bottom: 2rem;
    text-align: center;
}

.section-customized-why .title1 .tit {
    font-size: 1.75rem;
    font-weight: 800;
    font-family: 'Google Sans Flex', sans-serif;
    color: #fff;
    letter-spacing: 0.02em;
    line-height: 1.1;
    text-transform: none;
}

.section-customized-why .list {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
}

.section-customized-why .list .item {
    width: 100%;
    background: rgba(255, 255, 255, 0.92);
    padding: 1.5rem;
    border-radius: 0;
    transition: background-color 0.3s, box-shadow 0.3s, transform 0.3s;
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
}

.section-customized-why .list .item:hover {
    background: rgba(195, 60, 59, 0.6);
    box-shadow: 0 18px 36px rgba(255, 255, 255, 0.22), 0 0 26px rgba(255, 255, 255, 0.45), 0 0 56px rgba(255, 255, 255, 0.32);
    transform: translateY(-2px);
}

.section-customized-why .list .item .txt {
    display: flex;
    align-items: flex-start;
}

.section-customized-why .list .item .txt > img {
    width: 32px;
    height: 32px;
    object-fit: contain;
    margin-right: 1rem;
    flex-shrink: 0;
    transition: filter 0.3s;
}

.section-customized-why .list .item .why-text {
    flex: 1;
    padding-top: 0.2rem;
}

.section-customized-why .list .item .tit {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.section-customized-why .list .item .tit span {
    color: #111;
    transition: color 0.3s;
}

.section-customized-why .list .item:hover .tit span {
    color: #fff;
}

.section-customized-why .list .item:hover .txt > img {
    filter: brightness(0) invert(1);
}

.section-customized-why .list .item .p p {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.6;
    transition: color 0.3s;
}

.section-customized-why .list .item:hover .p p {
    color: rgba(255, 255, 255, 0.9);
}

/* Desktop: side-by-side layout */
@media screen and (min-width: 1025px) {
    .section-customized-why {
        padding: 7.5rem 0;
        margin: 5rem 0 4rem 0;
    }

    .section-customized-why .container {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        gap: 6rem;
    }

    .section-customized-why .title1 {
        flex-shrink: 0;
        margin-bottom: 0;
        text-align: left;
        padding-top: 0.5rem;
    }

    .section-customized-why .title1 .tit {
        font-size: 3.5rem;
        font-weight: 700;
    }

    .section-customized-why .list {
        flex: 1;
    }

    .section-customized-why .list .item {
        width: calc(50% - 1.25rem);
        padding: 2.5rem 1.5rem;
    }

    .section-customized-why .list .item .why-text {
        padding-top: 0.45rem;
    }

    .section-customized-why .list .item .txt > img {
        width: 70px;
        height: 70px;
    }

    .section-customized-why .list .item .tit {
        font-size: 1.3rem;
    }

    .section-customized-why .list .item .p p {
        font-size: 1.1rem;
    }
}

/* ========================================
   PROJECT CASES
   ======================================== */

.section-project-cases {
    overflow: hidden;
}

.section-project-cases .pc-swiper {
    position: relative;
    margin-bottom: 0;
    border-radius: 0;
    overflow: visible;
    padding: 0 0;
}

.section-project-cases .title {
    padding-bottom: 4em;
}

.section-project-cases .title .tit {
    font-size: 2.8rem;
    font-weight: 800;
    color: #111;
    letter-spacing: 0.02em;
    line-height: 1;
    font-family: 'Google Sans Flex', sans-serif;
    text-transform: uppercase;
    text-align: center;
}

.section-project-cases .title .p {
    font-size: 1.05rem;
    color: #555;
    text-align: center;
    padding-top: 0.75rem;
    line-height: 1.5;
    font-family: 'Google Sans Flex', sans-serif;
}

.section-project-cases .title .p p {
    color: #555;
}

.section-project-cases .pc-swiper .swiper-slide {
    overflow: hidden;
}

.section-project-cases .pc-swiper .swiper-slide {
    display: block;
    border-radius: 0;
    overflow: hidden;
    transition: none;
}

.section-project-cases .pc-swiper .swiper-slide:hover {
    transform: none;
    box-shadow: none;
}

.section-project-cases .pc-swiper .swiper-slide img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
    aspect-ratio: 4 / 3;
    transition: filter 0.3s;
    filter: blur(2px);
}

.section-project-cases .pc-swiper .swiper-slide.swiper-slide-active img,
.section-project-cases .pc-swiper .swiper-slide.swiper-slide-duplicate-active img {
    filter: blur(0);
}

/* Swiper pagination dots */
.section-project-cases .pc-swiper .swiper-pagination {
    position: static;
    text-align: center;
    padding-top: 3rem;
    pointer-events: auto;
}

.section-project-cases .pc-swiper .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    background: #ccc;
    opacity: 1;
    margin: 0 5px;
    transition: all 0.3s;
}

.section-project-cases .pc-swiper .swiper-pagination-bullet-active {
    background: var(--minor);
}

/* Button container centering */
/* ===== News page ===== */
.page-news-list {
    padding: 4rem 0;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.page-news-list .news-card {
    display: block;
    border-radius: 0;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    text-decoration: none;
}

.page-news-list .news-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.page-news-list .news-card-img {
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.page-news-list .news-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.page-news-list .news-card:hover .news-card-img img {
    transform: scale(1.05);
}

.page-news-list .news-card-txt {
    padding: 1.25rem;
}

.news-card-txt .tit {
    font-size: 1.1rem;
    font-weight: 600;
    color: #111;
    line-height: 1.4;
    margin-bottom: 0.5rem;
}

.news-card-txt .date {
    font-size: 0.85rem;
    color: #999;
    margin-bottom: 0.75rem;
}

.news-card-txt .desc {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.5;
}

.news-pagination {
    margin-top: 3rem;
    text-align: center;
}

.news-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    margin: 0 3px;
    border-radius: 4px;
    color: #333;
    font-size: 0.95rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s;
}

.news-pagination .page-numbers.current {
    background: var(--minor);
    color: #fff;
}

.news-pagination .page-numbers:hover:not(.current) {
    background: #f0f0f0;
}

@media screen and (max-width: 991px) {
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }
}

@media screen and (max-width: 600px) {
    .news-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

/* ===== Download Catalog page ===== */
.page-download-list {
    padding: 4rem 0;
}

.page-download-list .right {
    align-self: flex-start;
}

.catalog-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.catalog-card {
    display: block;
    border-radius: 0px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    text-decoration: none;
}

.catalog-card-img {
    aspect-ratio: 4 / 3;
    overflow: hidden;
}

.catalog-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.catalog-card-txt {
    padding: 1.25rem;
    text-align: center;
}

.catalog-card-txt .tit {
    font-size: 1.1rem;
    font-weight: 600;
    color: #111;
    margin-bottom: 1rem;
}

.catalog-download-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.5rem;
    background: var(--minor);
    color: #fff !important;
    border-radius: 6px;
    font-size: 0.95rem;
    font-weight: 500;
    text-decoration: none;
}

.catalog-download-btn:hover {
    background: #000;
}

.catalog-download-btn svg,
.catalog-download-btn svg path {
    width: 16px;
    height: 16px;
    color: inherit;
}

@media screen and (max-width: 768px) {
    .catalog-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
}

.section-project-cases .op-download {
    text-align: center;
    margin-top: 3rem;
}

.section-project-cases .btn-download {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 2rem;
    border-radius: 8px;
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    font-family: 'Google Sans Flex', sans-serif;
    position: relative;
    overflow: hidden;
    isolation: isolate;
}
.section-project-cases .btn-download::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -2;
    background: #c33c3b;
    border-radius: inherit;
}
.section-project-cases .btn-download::after {
    content: '';
    position: absolute;
    inset: -1px;
    z-index: -1;
    transform: scaleX(0);
    transform-origin: left center;
    background: #000;
    border-radius: inherit;
    transition: transform 0.7s ease;
}
.section-project-cases .btn-download:hover::after {
    transform: scaleX(1);
}

/* Tablet */
@media screen and (min-width: 769px) {
    .section-project-cases .title .tit {
        font-size: 3.2rem;
    }

    .section-project-cases .title .p {
        font-size: 1.2rem;
    }

    .section-project-cases .pc-swiper .swiper-slide img {
        aspect-ratio: 5 / 2;
    }
    .section-project-cases .btn-download {
        font-size: 1.3rem;
        font-weight: 500;
        padding: 0.6rem 2.5rem;
    }
}

@media screen and (max-width: 1024px) {
    .section-project-cases .pc-swiper {
        overflow: hidden;
    }
}

/* Desktop */
@media screen and (min-width: 1025px) {
    .section-project-cases .title .tit {
        font-size: 3.5rem;
        font-weight: 700;
    }

    .section-project-cases .title .p {
        font-size: 1.3rem;
        color: #535353;
    }

    .section-project-cases .pc-swiper .swiper-slide img {
        aspect-ratio: 5 / 2;
    }
}

/* ========================================
   BLOG / LATEST NEWS
   ======================================== */

.section-blog {
    padding-bottom: 4rem;
}

.section-blog .blog-header {
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.section-blog .blog-title .tit {
    font-size: 1.75rem;
    font-weight: 800;
    color: #111;
    letter-spacing: 0.02em;
    line-height: 1;
    font-family: 'Google Sans Flex', sans-serif;
}

.section-blog .blog-title .desc {
    font-size: 1.05rem;
    color: #555;
    margin-top: 0.75rem;
    line-height: 1.5;
    font-family: 'Google Sans Flex', sans-serif;
}

/* Blog Swiper */
.section-blog .blog-swiper-wrap {
    position: relative;
}

.section-blog .blog-swiper {
    position: relative;
    padding: 0;
    overflow: hidden;
}

.section-blog .blog-swiper:not(.swiper-initialized) .swiper-wrapper {
    visibility: hidden;
}

.section-blog .blog-swiper .swiper-wrapper {
    padding-bottom: 0;
}

/* Card */
.section-blog .blog-card {
    display: block;
    text-decoration: none;
    color: inherit;
}

.section-blog .blog-card .img {
    width: 100%;
    padding-top: 62%;
    position: relative;
    overflow: hidden;
}

.section-blog .blog-card .img img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.section-blog .blog-card:hover .img img {
    transform: scale(1.05);
}

.section-blog .blog-card:hover .tit,
.section-blog .blog-card:hover .desc {
    text-decoration: underline;
    text-underline-offset: 0.4em;
}

.section-blog .blog-card .txt {
    padding: 2.25rem 0 0;
}

.section-blog .blog-card .tag {
    display: inline-block;
    font-size: 1rem;
    color: #c33c3b;
    font-weight: 400;
    font-family: 'Google Sans Flex', sans-serif;
    margin-bottom: 0.6rem;
}

.section-blog .blog-card .tit {
    font-size: 1.6rem;
    font-weight: 500;
    color: #111;
    font-family: 'Google Sans Flex', sans-serif;
    line-height: 1.3;
    margin-bottom: 0.75rem;
    min-height: calc(1.3em * 2);
}

.section-blog .blog-card .desc {
    font-size: 1rem;
    color: #666;
    line-height: 1.5;
    font-family: 'Google Sans Flex', sans-serif;
    padding-bottom: 0.4em;
}

/* Swiper navigation arrows — hidden on mobile, shown on desktop */
.section-blog .blog-swiper-wrap .swiper-button-prev,
.section-blog .blog-swiper-wrap .swiper-button-next {
    display: none;
}

.section-blog .blog-swiper-wrap .swiper-button-prev:after,
.section-blog .blog-swiper-wrap .swiper-button-next:after {
    display: none;
}

.section-blog .blog-swiper-wrap .swiper-button-prev img,
.section-blog .blog-swiper-wrap .swiper-button-next img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Swiper pagination — shown on mobile */
.section-blog .blog-swiper .swiper-pagination {
    display: block;
    position: relative;
    bottom: auto;
    margin-top: 1.5rem;
    text-align: center;
    line-height: 1;
}

.section-blog .blog-swiper .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: #ccc;
    opacity: 1;
    margin: 0 5px;
}

.section-blog .blog-swiper .swiper-pagination-bullet-active {
    background: #c33c3b;
}

/* Tablet */
@media screen and (min-width: 769px) {
    .section-blog {
        padding-bottom: 8rem;
    }

    .section-blog .blog-header {
        margin-bottom: 3.5rem;
    }

    .section-blog .blog-title .tit {
        font-size: 3.2rem;
    }

    .section-blog .blog-title .desc {
        font-size: 1.2rem;
    }

    .section-blog .blog-more {
        font-size: 1.2rem;
    }
}

/* Desktop */
@media screen and (min-width: 1025px) {
    .section-blog .blog-title .tit {
        font-size: 3.5rem;
        font-weight: 700;
    }

    .section-blog .blog-title .desc {
        font-size: 1.3rem;
        color: #535353;
    }

    .section-blog .blog-more {
        font-size: 1.3rem;
    }

    .section-blog .blog-swiper-wrap .swiper-button-prev,
    .section-blog .blog-swiper-wrap .swiper-button-next {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 2rem;
        height: 2rem;
        background: transparent;
        border: none;
        border-radius: 0;
        color: transparent;
        transition: opacity 0.3s;
        top: 25%;
        margin-top: 0;
    }

    .section-blog .blog-swiper-wrap .swiper-button-prev:hover,
    .section-blog .blog-swiper-wrap .swiper-button-next:hover {
        opacity: 0.7;
    }

    .section-blog .blog-swiper-wrap .swiper-button-prev {
        left: -3rem;
    }

    .section-blog .blog-swiper-wrap .swiper-button-next {
        right: -3rem;
    }

    .section-blog .blog-swiper .swiper-pagination {
        display: none;
    }
}

/* ========================================
   CTA / GET IN TOUCH
   ======================================== */

.section-touch .title .p {
    padding-top: 0;
}

.section-touch .container {
    padding: 7rem 0 1rem 0;
}

.btn.btn-cta {
    font-size: 1.3rem;
    padding: 0.5rem 2.5rem;
}

.section-touch .touch-cta .btn {
    background: #fff linear-gradient(90deg, var(--minor) 0 0) left center / 0% 100% no-repeat;
}

.section-touch .touch-cta .btn:hover {
    color: #fff;
    background-size: 100% 100%;
}

.touch-cta .btn svg,
.touch-cta .btn svg path,
.section-our-products .btn-download svg,
.section-our-products .btn-download svg path,
.section-project-cases .btn-download svg,
.section-project-cases .btn-download svg path {
    color: inherit;
}

.section-touch .title .p p {
    font-size: 1.3rem;
}

@media screen and (max-width: 768px) {
    .section-project-cases .title {
        padding-bottom: 2rem;
    }

    .section-project-cases .title .tit {
        font-size: 1.85rem;
        line-height: 1.1;
    }

    .section-project-cases .title .p {
        font-size: 0.9rem;
        padding-top: 0.55rem;
    }

    .section-project-cases .pc-swiper .swiper-pagination {
        padding-top: 2rem;
    }

    .section-blog .blog-title .tit {
        font-size: 1.55rem;
        line-height: 1.1;
    }

    .section-blog .blog-title .desc {
        font-size: 0.9rem;
        margin-top: 0.55rem;
    }

    .section-blog .blog-card .txt {
        padding: 1.25rem 0 0;
    }

    .section-blog .blog-card .tag {
        font-size: 0.85rem;
        margin-bottom: 0.45rem;
    }

    .section-blog .blog-card .tit {
        font-size: 1.1rem;
        margin-bottom: 0.5rem;
        min-height: calc(1.35em * 2);
    }

    .section-blog .blog-card .desc {
        font-size: 0.9rem;
        line-height: 1.6;
    }

    .section-touch .container {
        padding: 3.25rem 0 0.5rem 0;
    }

    .section-touch .title .tit {
        font-size: 1.55rem;
        line-height: 1.2;
        margin-bottom: 0.85rem;
    }

    .section-touch .title .p p {
        font-size: 0.9rem;
        line-height: 1.6;
    }

    .btn.btn-cta {
        font-size: 0.95rem;
        padding: 0.55rem 1.5rem;
    }
}
