/* =========================================================
   2026 首页改版：品牌介绍 / 五大供应链 / 三大原料 /
   家居系列 / 水光系列 / 水光护理 / 新页脚
   ========================================================= */

/* 轮播背景拆成独立层，避免缩放动画覆盖 Bootstrap 的 transform 切换 */
.hero-desktop-bg {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 0;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    transform-origin: center center;
}

.hero-overlay {
    z-index: 1;
}

/* site.css 给 .hero-carousel .item 设了 position:relative，
   会覆盖 Bootstrap 的 .next/.prev 绝对定位，切换时两张图会纵向堆叠。
   这里按 Bootstrap 的轮播规则恢复：active 留在文档流中撑高，next/prev 绝对定位。 */
.hero-carousel .carousel-inner > .item.next,
.hero-carousel .carousel-inner > .item.prev {
    position: absolute;
    top: 0;
    width: 100%;
}

.hero-carousel .carousel-inner > .item.next {
    left: 100%;
}

.hero-carousel .carousel-inner > .item.prev {
    left: -100%;
}

.hero-carousel .carousel-inner > .item.next.left,
.hero-carousel .carousel-inner > .item.prev.right {
    left: 0;
}

/* 移动端轮播：桌面端图片内已有文案，手机改用专用裁切图 + HTML 文案 */
.hero-mobile-copy,
.hero-mobile-bg {
    display: none;
}

/* ---------------- 品牌介绍 ---------------- */
.brand-intro-section {
    position: relative;
    min-height: clamp(600px, 47vw, 760px);
    padding: min(8vw, 128px) 0 0;
    border-top: 1px solid #f4f4f4;
    background: #ffffff;
    overflow: hidden;
}

.brand-intro-container {
    position: static;
    display: block;
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    padding-left: min(15.5vw, 248px);
    padding-right: 0;
}

/* .container 的 clearfix 伪元素在块级布局中无意义，统一移除 */
.brand-intro-container::before,
.brand-intro-container::after {
    content: none;
    display: none;
}

.brand-intro-copy {
    position: relative;
    z-index: 3;
    width: 30vw;
    max-width: 480px;
}

.brand-intro-kicker {
    display: block;
    margin-bottom: 10px;
    color: var(--brand-red);
    font-size: 20px;
    font-weight: 600;
    letter-spacing: .5px;
}

.brand-intro-title {
    margin: 0 0 28px;
    color: var(--brand-red);
    font-size: 26px;
    font-weight: 600;
    line-height: 1.45;
    letter-spacing: .5px;
}

.brand-intro-content {
    color: #777777;
    font-size: 14px;
    line-height: 1.9;
}

.brand-intro-content p {
    margin: 0 0 14px;
}

.brand-intro-content p:first-child {
    margin-bottom: 14px;
    color: #777777;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.9;
}

.brand-intro-content p:last-child {
    margin-bottom: 0;
}

.brand-intro-media {
    position: absolute;
    z-index: 1;
    top: min(8vw, 128px);
    right: 0;
    bottom: 0;
    width: 65%;
    min-width: 0;
    overflow: hidden;
}

.brand-intro-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center right;
}

/* 让门店图的左/上边缘自然融入白色背景，形成截图里的“出血大图”效果 */
.brand-intro-media::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background:
        linear-gradient(90deg, #ffffff 0%, rgba(255, 255, 255, .96) 6%, rgba(255, 255, 255, .66) 12%, rgba(255, 255, 255, 0) 20%),
        linear-gradient(180deg, #ffffff 0%, rgba(255, 255, 255, .72) 8%, rgba(255, 255, 255, 0) 24%);
    pointer-events: none;
}

.brand-intro-deco {
    position: absolute;
    bottom: 9%;
    left: 8%;
    z-index: 3;
    width: 90px;
    height: 90px;
    pointer-events: none;
}

.brand-intro-dot {
    position: absolute;
    top: 0;
    left: 0;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--brand-red);
    opacity: .75;
}

.brand-intro-circle {
    position: absolute;
    bottom: 22px;
    left: 28px;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--brand-red);
    opacity: .55;
}

.brand-intro-hex {
    position: absolute;
    bottom: 0;
    left: 52px;
    width: 42px;
    height: 42px;
    color: var(--brand-red);
    opacity: .35;
}

/* ---------------- 五大供应链 ---------------- */
.supply-partners-section {
    position: relative;
    padding: 94px 0 88px;
    background-position: center top;
    background-repeat: no-repeat;
    background-size: cover;
    overflow: hidden;
}

.supply-partners-overlay {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, .82) 0%, rgba(255, 255, 255, .68) 48%, rgba(255, 255, 255, .92) 100%);
    pointer-events: none;
}

.supply-partners-inner {
    position: relative;
    z-index: 2;
}

.supply-partners-heading {
    margin-bottom: 42px;
}

.supply-partners-heading h2 {
    margin: 0;
    color: #141414;
    font-size: 44px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 1px;
}

.supply-partners-heading h2 span {
    font-weight: 400;
}

.supply-partners-heading h2 em {
    margin-left: 12px;
    color: var(--brand-red);
    font-style: normal;
}

.supply-partners-subtitle {
    margin: 10px 0 12px;
    color: #141414;
    font-size: 30px;
    line-height: 1.45;
    letter-spacing: 1px;
}

.supply-partners-en {
    margin: 0;
    color: #777777;
    font-size: 11px;
    letter-spacing: 2px;
}

.supply-partners-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 18px;
}

.supply-partner-card {
    display: flex;
    flex: 0 0 calc((100% - 72px) / 5);
    flex-direction: column;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .85);
    background: #ffffff;
    box-shadow: 0 10px 30px rgba(25, 35, 50, .08);
    transition: transform .4s ease, box-shadow .4s ease;
}

.supply-partner-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 42px rgba(25, 35, 50, .14);
}

.supply-partner-media {
    height: 155px;
    overflow: hidden;
    background: #f2f2f2;
}

.supply-partner-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .7s ease;
}

.supply-partner-card:hover .supply-partner-media img {
    transform: scale(1.05);
}

.supply-partner-body {
    position: relative;
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    padding: 17px 16px 21px;
    text-align: center;
}

.supply-partner-body::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 30px;
    height: 2px;
    background: var(--brand-red);
    transform: translateX(-50%);
}

.supply-partner-brand {
    display: flex;
    min-height: 44px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.supply-partner-en {
    color: var(--brand-red);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .4px;
    line-height: 1.35;
}

.supply-partner-name {
    color: #222222;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.45;
}

.supply-partner-desc {
    margin: 10px 0 0;
    color: #666666;
    font-size: 12px;
    line-height: 1.65;
}

/* ---------------- 三大核心原料 ---------------- */
.ingredients-section {
    position: relative;
    padding: 86px 0 92px;
    background: linear-gradient(135deg, #f7fbfd 0%, #eef6fb 48%, #fdf4f4 100%);
    overflow: hidden;
}

.ingredients-bg {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    pointer-events: none;
}

.ingredients-bg::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-image:
        radial-gradient(circle at 12% 22%, rgba(255, 255, 255, .95) 0 2px, transparent 3px),
        radial-gradient(circle at 76% 16%, rgba(255, 255, 255, .9) 0 2px, transparent 3px),
        radial-gradient(circle at 34% 78%, rgba(255, 255, 255, .85) 0 2px, transparent 3px),
        radial-gradient(circle at 88% 68%, rgba(255, 255, 255, .9) 0 2px, transparent 3px);
    background-size: 210px 190px, 260px 230px, 310px 260px, 240px 220px;
    opacity: .75;
}

.ingredients-bubble {
    position: absolute;
    border: 1px solid rgba(255, 255, 255, .6);
    border-radius: 50%;
    background: radial-gradient(circle at 35% 30%, rgba(255, 255, 255, .95), rgba(210, 230, 245, .26) 55%, rgba(255, 255, 255, 0) 72%);
}

.ingredients-bubble-1 { top: 8%; left: 5%; width: 150px; height: 150px; }
.ingredients-bubble-2 { top: 20%; right: 9%; width: 210px; height: 210px; }
.ingredients-bubble-3 { bottom: 6%; left: 15%; width: 110px; height: 110px; }
.ingredients-bubble-4 { right: 20%; bottom: 4%; width: 80px; height: 80px; }
.ingredients-bubble-5 { top: 44%; left: 42%; width: 52px; height: 52px; opacity: .55; }
.ingredients-bubble-6 { top: 58%; right: 30%; width: 36px; height: 36px; opacity: .45; }

.ingredients-inner {
    position: relative;
    z-index: 2;
}

.ingredients-heading {
    margin-bottom: 38px;
    text-align: center;
}

.ingredients-heading h2 {
    margin: 0;
    color: var(--brand-red);
    font-size: 34px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: 2px;
}

.ingredients-heading p {
    margin: 3px 0 9px;
    color: var(--brand-red);
    font-size: 28px;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: 1px;
}

.ingredients-en {
    color: #8193a1;
    font-size: 10px;
    letter-spacing: 3px;
}

.ingredients-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.ingredient-card {
    display: flex;
    flex: 0 0 calc((100% - 40px) / 3);
    min-height: 126px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 22px 24px;
    border: 1px solid #cfdbe4;
    background: rgba(255, 255, 255, .62);
    text-align: center;
}

.ingredient-index {
    margin-bottom: 8px;
    color: #6f7f8c;
    font-size: 11px;
    letter-spacing: .4px;
}

.ingredient-card h3 {
    margin: 0;
    color: #181818;
    font-size: 30px;
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: .5px;
}

.ingredient-card-highlight {
    border-color: #d0021b;
    background: #d0021b;
}

.ingredient-card-highlight .ingredient-index {
    color: rgba(255, 255, 255, .85);
}

.ingredient-card-highlight h3 {
    color: #ffffff;
}

/* ---------------- 家居系列 ---------------- */
.series-section {
    padding: 90px 0 84px;
    background: #ffffff;
}

.series-heading {
    max-width: 760px;
    margin: 0 auto 42px;
    text-align: center;
}

.series-kicker {
    color: var(--brand-red);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 4px;
}

.series-heading h2 {
    margin: 8px 0 12px;
    color: #181818;
    font-size: 34px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: 2px;
}

.series-content p {
    margin: 0;
    color: #666666;
    font-size: 15px;
    line-height: 1.9;
}

.series-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 22px;
}

.series-card {
    position: relative;
    flex: 0 0 calc((100% - 44px) / 3);
    overflow: hidden;
    background: #111111;
    box-shadow: 0 18px 40px rgba(20, 25, 35, .10);
}

.series-card::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    border: 1px solid rgba(255, 255, 255, .18);
    pointer-events: none;
}

.series-card img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1200 / 1579;
    object-fit: cover;
    transition: transform .7s ease;
}

.series-card:hover img {
    transform: scale(1.025);
}

/* ---------------- 水光系列 ---------------- */
.water-section {
    padding: 88px 0 80px;
    background: #f7f7f7;
}

.water-heading {
    max-width: 760px;
    margin: 0 auto 40px;
    text-align: center;
}

.water-kicker {
    color: var(--brand-red);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 4px;
}

.water-heading h2 {
    margin: 8px 0 12px;
    color: #181818;
    font-size: 34px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: 2px;
}

.water-content p {
    margin: 0;
    color: #666666;
    font-size: 15px;
    line-height: 1.9;
}

.water-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.water-card {
    padding: 14px 14px 18px;
    border: 1px solid #ededed;
    background: #ffffff;
    box-shadow: 0 10px 26px rgba(0, 0, 0, .04);
    text-align: center;
    transition: transform .4s ease, box-shadow .4s ease;
}

.water-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 34px rgba(0, 0, 0, .08);
}

.water-grid-4 .water-card {
    flex: 0 0 calc((100% - 60px) / 4);
}

.water-grid-5 .water-card {
    flex: 0 0 calc((100% - 80px) / 5);
}

.water-card-media {
    overflow: hidden;
    background: #f4f4f4;
}

.water-card-media img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    transition: transform .55s ease;
}

.water-card:hover .water-card-media img {
    transform: scale(1.03);
}

.water-card-info {
    padding: 14px 4px 0;
}

.water-card-info h3 {
    margin: 0 0 4px;
    color: #222222;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.5;
}

.water-card-info p {
    margin: 0;
    color: #999999;
    font-size: 9px;
    line-height: 1.5;
    letter-spacing: .2px;
}

/* ---------------- 水光护理 ---------------- */
.water-care-section {
    padding: 82px 0 88px;
    background: linear-gradient(135deg, #ffffff 0%, #fff7f7 100%);
}

.water-care-inner {
    display: flex;
    max-width: 960px;
    margin: 0 auto;
    gap: 26px;
}

.water-care-line {
    flex: 0 0 4px;
    background: var(--brand-red);
}

.water-care-body h2 {
    margin: 0 0 18px;
    color: #1b1b1b;
    font-size: 30px;
    font-weight: 700;
    line-height: 1.45;
    letter-spacing: 1px;
}

.water-care-content {
    color: #555555;
    font-size: 15px;
    line-height: 2.1;
}

.water-care-content p {
    margin: 0;
}

/* ---------------- 新页脚 ---------------- */
.site-footer {
    padding: 34px 0 26px;
    background: #0c2340;
    color: #9fb3cc;
    font-size: 12px;
}

.site-footer-inner {
    text-align: center;
}

.site-footer-company {
    margin: 0 0 8px;
    color: #e8f0fb;
    font-size: 15px;
    letter-spacing: .5px;
}

.site-footer-icp {
    margin: 0 0 6px;
    color: #86a6c8;
    font-size: 12px;
}

.site-footer-icp a {
    color: #86a6c8;
}

.site-footer-icp a:hover {
    color: #ffffff;
}

.site-footer-copy {
    margin: 0;
    color: #6f8aa7;
    font-size: 12px;
}

/* ---------------- 新首页响应式 ---------------- */
@media (max-width: 991px) {
    .brand-intro-section {
        min-height: 0;
        padding: 56px 0 62px;
    }

    .brand-intro-container {
        display: block;
        padding-left: 30px;
        padding-right: 30px;
    }

    .brand-intro-copy {
        width: 100%;
        max-width: 100%;
    }

    .brand-intro-title {
        font-size: 28px;
    }

    .brand-intro-content {
        font-size: 15px;
    }

    .brand-intro-media {
        position: relative;
        top: auto;
        right: auto;
        bottom: auto;
        width: 100%;
        height: auto;
        margin-top: 34px;
        overflow: visible;
    }

    .brand-intro-media img {
        height: auto;
    }

    .brand-intro-media::after,
    .brand-intro-deco {
        display: none;
    }

    .supply-partner-card {
        flex-basis: calc((100% - 36px) / 3);
    }

    .ingredient-card h3 {
        font-size: 25px;
    }

    .series-card {
        flex-basis: calc((100% - 22px) / 2);
    }

    .water-grid-4 .water-card {
        flex-basis: calc((100% - 20px) / 2);
    }

    .water-grid-5 .water-card {
        flex-basis: calc((100% - 36px) / 3);
    }
}

@media (max-width: 767px) {
    .brand-intro-section {
        padding: 46px 0 52px;
    }

    .brand-intro-container {
        display: block;
        padding-left: 20px;
        padding-right: 20px;
    }

    .brand-intro-copy {
        width: 100%;
        max-width: 100%;
    }

    .brand-intro-kicker {
        font-size: 18px;
    }

    .brand-intro-title {
        margin-bottom: 18px;
        font-size: 24px;
    }

    .brand-intro-content {
        font-size: 14px;
        line-height: 1.9;
    }

    .brand-intro-content p {
        margin-bottom: 12px;
    }

    .brand-intro-content p:first-child {
        margin-bottom: 12px;
        font-size: 14px;
    }

    .brand-intro-media {
        margin-top: 28px;
    }

    .supply-partners-section {
        padding: 56px 0 58px;
    }

    .supply-partners-heading {
        margin-bottom: 28px;
    }

    .supply-partners-heading h2 {
        font-size: 28px;
    }

    .supply-partners-heading h2 em {
        margin-left: 8px;
    }

    .supply-partners-subtitle {
        margin-top: 7px;
        font-size: 20px;
    }

    .supply-partners-en {
        font-size: 9px;
        letter-spacing: 1px;
    }

    .supply-partners-grid,
    .water-grid {
        gap: 12px;
    }

    .supply-partner-card {
        flex-basis: calc((100% - 12px) / 2);
    }

    .supply-partner-media {
        height: 130px;
    }

    .supply-partner-body {
        padding: 14px 10px 17px;
    }

    .supply-partner-desc {
        font-size: 11px;
    }

    .ingredients-section {
        padding: 56px 0 58px;
    }

    .ingredients-heading {
        margin-bottom: 28px;
    }

    .ingredients-heading h2 {
        font-size: 26px;
    }

    .ingredients-heading p {
        font-size: 21px;
    }

    .ingredients-grid {
        display: block;
    }

    .ingredient-card {
        width: 100%;
        min-height: 92px;
        margin-bottom: 12px;
        padding: 16px 20px;
    }

    .ingredient-card:last-child {
        margin-bottom: 0;
    }

    .ingredient-card h3 {
        font-size: 24px;
    }

    .series-section {
        padding: 58px 0 56px;
    }

    .series-heading {
        margin-bottom: 28px;
    }

    .series-heading h2,
    .water-heading h2 {
        font-size: 26px;
    }

    .series-content p,
    .water-content p {
        font-size: 14px;
    }

    .series-card {
        flex-basis: 100%;
        max-width: 420px;
    }

    .water-section {
        padding: 56px 0 54px;
    }

    .water-heading {
        margin-bottom: 28px;
    }

    .water-card {
        flex-basis: calc((100% - 12px) / 2);
        padding: 10px 10px 14px;
    }

    .water-card-info {
        padding-top: 10px;
    }

    .water-card-info h3 {
        font-size: 13px;
    }

    .water-card-info p {
        font-size: 8px;
    }

    .water-care-section {
        padding: 54px 0 56px;
    }

    .water-care-inner {
        gap: 16px;
    }

    .water-care-body h2 {
        font-size: 22px;
    }

    .water-care-content {
        font-size: 14px;
        line-height: 2;
    }

    .site-footer {
        padding: 28px 0 22px;
    }

    .site-footer-company {
        font-size: 14px;
    }
}

@media (max-width: 767px) {
    /* 手机端隐藏带文字的宽幅背景，改用专用竖版/局部裁切图 */
    .hero-carousel .item {
        background-image: none !important;
    }

    .hero-desktop-bg {
        display: none;
    }

    .hero-mobile-bg {
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        display: block;
        background-position: center center;
        background-repeat: no-repeat;
        background-size: cover;
    }

    .hero-mobile-bg::after {
        content: "";
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        background:
            linear-gradient(90deg, rgba(255, 226, 231, .88) 0%, rgba(255, 226, 231, 0) 30%, rgba(255, 226, 231, 0) 70%, rgba(255, 226, 231, .32) 100%),
            linear-gradient(180deg, rgba(255, 245, 245, .12), rgba(255, 245, 245, .04));
        pointer-events: none;
    }

    .hero-mobile-copy {
        position: absolute;
        right: auto;
        bottom: 42px;
        left: 50%;
        z-index: 2;
        display: flex;
        width: calc(100% - 48px);
        max-width: 330px;
        flex-direction: column;
        align-items: center;
        padding: 10px 14px;
        border: 1px solid rgba(255, 255, 255, .55);
        background: rgba(255, 255, 255, .64);
        color: #7d1f2b;
        text-align: center;
        text-shadow: none;
        transform: translateX(-50%);
    }

    .hero-mobile-title {
        font-size: 19px;
        font-weight: 600;
        line-height: 1.4;
        letter-spacing: 1.5px;
    }

    .hero-mobile-sub {
        margin-top: 5px;
        color: rgba(125, 31, 43, .72);
        font-size: 8px;
        letter-spacing: 1.2px;
    }

    .hero-carousel .carousel-indicators {
        bottom: 14px;
    }

    .hero-carousel .carousel-indicators li {
        width: 8px;
        height: 8px;
        margin: 1px 4px;
    }
}

@media (max-width: 479px) {
    .brand-intro-section {
        padding: 40px 0 46px;
    }

    .brand-intro-kicker {
        font-size: 16px;
    }

    .brand-intro-title {
        margin-bottom: 16px;
        font-size: 22px;
    }

    .brand-intro-content {
        font-size: 14px;
    }

    .brand-intro-content p:first-child {
        font-size: 14px;
    }

    .supply-partner-card {
        flex-basis: calc((100% - 12px) / 2);
    }

    .supply-partner-media {
        height: 120px;
    }

    .supply-partner-body {
        padding: 12px 8px 16px;
    }

    .supply-partner-name {
        font-size: 14px;
    }

    .supply-partner-desc {
        font-size: 10px;
    }

    .water-grid-4 .water-card,
    .water-grid-5 .water-card {
        flex-basis: calc((100% - 12px) / 2);
    }
}

@media (max-width: 359px) {
    .hero-mobile-title {
        font-size: 17px;
        letter-spacing: 1px;
    }

    .supply-partner-card {
        flex-basis: 100%;
    }

    .supply-partner-media {
        height: 180px;
    }
}
