/* 移动端样式 - 洗小闲 */

/* 基础重置 */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: "PingFang SC", "SF Pro Display", "SF Pro SC", "Helvetica Neue", Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background-color: #fff;
    color: #333;
    line-height: 1.5;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

ul, ol {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* 头部区域 */
.header {
    background: linear-gradient(90deg, rgba(0,197,117,1) 0%,rgba(155,240,139,1) 100%);;
    height: 600px;
    position: relative;
    padding: 0 0.9375rem;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* 导航栏 */
.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    margin-top:10px;
}

.logo {
    display: flex;
    align-items: center;
}

.logo_img {
    height: 1.87rem;
    width: auto;
}

.logo_badges {
    display: flex;
    gap: 0.375rem;
    margin-left: 0.75rem;
}

.logo_badge {
    background-color: rgba(255,255,255,0.9);
    color: #00c575;
    font-size: 0.625rem;
    padding: 0.125rem 0.5rem;
    border-radius: 0.3125rem;
    font-weight: 700;
}

.menu_btn {
    width: 1.5rem;
    height: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.3125rem;
    cursor: pointer;
}

.menu_btn span {
    display: block;
    width: 100%;
    height: 0.125rem;
    background-color: #fff;
    border-radius: 0.0625rem;
}

/* Banner区域 */
.banner {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    /* padding: 1rem 0 2.5rem; */
    position: relative;
    text-align: center;
}

.banner_content {
    z-index: 2;
    position: relative;
    margin:0 auto;
    max-width: 90%;
    margin-top:35px;
}

.banner_title {
    color: #fff;
    font-size: 32px;
    font-weight: 700;
    letter-spacing: 0.125rem;
    margin-bottom: 0.3rem;
}

.banner_subtitle {
    color: #fff;
    font-size: 32px;
    font-weight: 600;
    letter-spacing: 0.0625rem;
    margin-bottom: 0.3rem;
}

.banner_desc {
    color: #fff;
    font-size: 0.875rem;
    margin-bottom: 1rem;
    line-height: 1.5;
    padding: 0 1.25rem;
    font-weight: 500;
}

.download_btn {
    display: inline-block;
    background-color: #fff;
    color: #00c575;
    padding: 0.575rem 5rem;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 700;
    box-shadow: 0 0.2rem 1rem rgba(0,0,0,0.15);
    transition: all 0.3s ease;
}

.download_btn:active {
    transform: scale(0.95);
    box-shadow: 0 0.25rem 0.75rem rgba(0,0,0,0.1);
}

.banner_image {
    position: relative;
    width: 100%;
    max-width: 75vw;
    margin: 0 auto;
    z-index: 99;
    height:250px;
    bottom:2.5rem;
}

.banner_image .bn1 {
    position:absolute;
    right:0;
    bottom:0;
    z-index:999;
}
.banner_image .bn2 {
    position:absolute;
    right:195px;
    bottom:0;
    z-index:9;
}
.banner_image .bn3 {
    position:absolute;
    right:120px;
    bottom:126px;
    z-index:9;
}
.banner_image .bn4 {
    position:absolute;
    right:120px;
    bottom:0;
}

/* 特色服务区域 */
.features {
    background-color: #fff;
    padding: 1.25rem 0.9375rem;
    /* margin-top: -2.5rem; */
    position: relative;
    z-index: 3;
    border-radius: 0.75rem 0.75rem 0 0;
}

.features_list {
    display: flex;
    justify-content: space-around;
    background-color: #fff;
    border-radius: 0.75rem;
    padding: 0.8rem 0;
    box-shadow: 0 0.25rem 1rem rgba(0,0,0,0.08);
    margin-top: -3.75rem;
    position: relative;
}

.feature_item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1;
}

.feature_icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #e6f7ee;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.35rem;
}

.feature_icon img {
    width: 100%;
    object-fit: contain;
}

.feature_title {
    font-size: 0.8125rem;
    color: #333;
    font-weight: 600;
    text-align: center;
}

/* 品质洗护保障 */
.section {
    padding: 0.85rem 0.9375rem 1.75rem 0.9375rem;
}

.section_title {
    font-size: 1.125rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 0.375rem;
    color: #333;
    position: relative;
}

.section_title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 7rem;
    height: 0.25rem;
    background: linear-gradient(-52.97deg, rgba(0,197,117,0.2) 32.79%,rgba(137,240,118,1) 90.3%);
    border-radius: 0.125rem;
}

.section_subtitle {
    font-size: 0.75rem;
    color: #999;
    text-align: center;
    margin-bottom: 1.125rem;
}

.quality_grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

.quality_item {
    position: relative;
    border-radius: 0.5rem;
    overflow: hidden;
    aspect-ratio: 1;
}

.quality_item.large {
    grid-row: span 2;
    aspect-ratio: 0.5;
}

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

.quality_overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,197,117,0.85), transparent);
    padding: 1rem 0.625rem 0.625rem;
    color: #fff;
}

.quality_overlay_title {
    font-size: 0.8125rem;
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.quality_overlay_desc {
    font-size: 0.625rem;
    opacity: 0.9;
}

/* 免费取送服务 */
.delivery_section {
    background-color: #f8fafc;
    padding: 1.75rem 0.9375rem;
}

.logos_row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.7rem;
    margin-bottom: 1.125rem;
}

.logos_row img {
    height: 4.2rem;
    width: auto;
}

.delivery_features {
    background-color: #fff;
    border-radius: 0.5rem;
    padding: 0.875rem;
    box-shadow: 0 0.125rem 0.5rem rgba(0,0,0,0.04);
}

.delivery_item {
    display: flex;
    align-items: flex-start;
    padding: 0.625rem 0;
}

.delivery_item:last-child {
    border-bottom: none;
}

.delivery_icon {
    width: 2rem;
    height: 2rem;
    margin-right: 0.625rem;
    flex-shrink: 0;
}

.delivery_icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.delivery_content {
    flex: 1;
}

.delivery_title {
    font-size: 0.8125rem;
    font-weight: 500;
    color: #333;
    margin-bottom: 0.25rem;
}

.delivery_desc {
    font-size: 0.7rem;
    color: #999;
}

/* 合作伙伴 */
.partners_section {
    padding: 1.75rem 0.9375rem;
}

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

.partner_item {
    border-radius: 0.5rem;
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 3.5rem;
}

.partner_item img {
    width: auto;
    max-width: 100%;
}

/* 页脚 */
.footer {
    background-color: #2d3142;
    padding: 1rem 0.9375rem;
    text-align: center;
}

.footer_links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.footer_links a {
    color: rgba(255,255,255,0.7);
    font-size: 0.75rem;
}

.footer_contact {
    margin-bottom: 1rem;
}

.footer_contact p {
    color: rgba(255,255,255,0.5);
    font-size: 0.6875rem;
    margin-bottom: 0.25rem;
}

.footer_copyright {
    color: rgba(255,255,255,0.4);
    font-size: 0.625rem;
}

/* 侧边栏菜单 */
.sidebar {
    position: fixed;
    top: 0;
    right: -80%;
    width: 80%;
    height: 100%;
    background-color: #fff;
    z-index: 1000;
    transition: right 0.3s ease;
    box-shadow: -0.25rem 0 0.75rem rgba(0,0,0,0.1);
}

.sidebar.active {
    right: 0;
}

.sidebar_header {
    background: linear-gradient(135deg, #00c575 0%, #7ee787 100%);
    padding: 1.25rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sidebar_logo {
    color: #fff;
    font-size: 1.125rem;
    font-weight: 600;
}

.sidebar_close {
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
}

.sidebar_menu {
    padding: 1rem 0;
}

.sidebar_menu li {
    border-bottom: 1px solid #f0f0f0;
}

.sidebar_menu a {
    display: block;
    padding: 1rem 1.25rem;
    color: #333;
    font-size: 0.9375rem;
}

.sidebar_mask {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.sidebar_mask.active {
    opacity: 1;
    visibility: visible;
}

/* 响应式适配 */
@media (min-width: 375px) {
    html {
        font-size: 17px;
    }
}

@media (min-width: 414px) {
    html {
        font-size: 18px;
    }
}
