* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
    color: #333;
    background: #fff;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

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

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

/* ========== 顶部导航栏 ========== */

.home-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 20px;
    background: #fff;
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
    transition: background 0.2s ease, box-shadow 0.2s ease;
}

/* 页面滚动后吸顶：半透明 + 毛玻璃，背后内容隐约可见 */
.home-nav.is-floating {
    background: rgba(255, 255, 255, 0.78);
    -webkit-backdrop-filter: saturate(180%) blur(14px);
    backdrop-filter: saturate(180%) blur(14px);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

.home-nav__logo {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
}

.home-nav__logo svg,
.home-nav__logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.home-nav__title {
    font-size: 24px;
    font-weight: 500;
    color: #3f4d5c;
    letter-spacing: 1px;
}

/* ========== Hero 区块 ========== */

.home-hero {
    padding: 30px 20px 36px;
    /* 上半粉、下半白（与设计图 Hero 区域一致） */
    background: linear-gradient(
        180deg,
        #f9f0f0 0%,
        #f9f0f0 62%,
        #ffffff 62%,
        #ffffff 100%
    );
}

.home-hero__title {
    font-size: 35px;
    font-weight: 800;
    color: #555;
    line-height: 1.3;
    margin-bottom: 12px;
}

.home-hero__subtitle {
    font-size: 35px;
    font-weight: 800;
    color: #555;
    line-height: 1.3;
    margin-bottom: 16px;
}

.home-hero__heading {
    font-size: 16px;
    font-weight: 500;
    color: #444;
    margin-bottom: 20px;
}

.home-hero__text {
    font-size: 16px;
    color: #555;
    line-height: 1.8;
    margin-bottom: 24px;
}

.home-hero__image {
    width: 100%;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 28px;
    background: #f0e8e8;
    min-height: 200px;
}

.home-hero__image img {
    width: 100%;
    height: auto;
    border-radius: 16px;
}

.home-hero__cta {
    display: block;
    width: 100%;
    padding: 14px 0;
    background: #c9908f;
    color: #fff;
    text-align: center;
    font-size: 16px;
    font-weight: 600;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    letter-spacing: 2px;
    transition: background 0.3s;
}

.home-hero__cta:hover,
.home-hero__cta:active {
    background: #b87a79;
    color: #fff;
}

/* ========== 第二区块 - 浅粉背景 ========== */

.home-section2 {
    padding: 36px 20px;
    background: #f9f0f0;
    text-align: center;
}

.home-section2__icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 16px;
}

.home-section2__icon svg,
.home-section2__icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.home-section2__title {
    font-size: 17px;
    font-weight: 700;
    color: #333;
    margin-bottom: 14px;
}

.home-section2__text {
    font-size: 13px;
    color: #666;
    line-height: 1.8;
    text-align: left;
}

/* ========== 第三区块 - 白色背景 ========== */

.home-section3 {
    padding: 36px 20px;
    background: #fff;
    text-align: center;
}

.home-section3__icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 16px;
}

.home-section3__icon svg,
.home-section3__icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.home-section3__title {
    font-size: 17px;
    font-weight: 700;
    color: #c9534a;
    margin-bottom: 14px;
}

.home-section3__text {
    font-size: 13px;
    color: #666;
    line-height: 1.8;
    text-align: left;
}

/* ========== 页脚 ========== */

.home-footer {
    background: #f5eded;
    padding: 32px 20px 24px;
    text-align: center;
}

.home-footer__company {
    font-size: 18px;
    font-weight: 700;
    color: #c9908f;
    margin-bottom: 16px;
}

.home-footer__info {
    list-style: none;
    margin-bottom: 20px;
}

.home-footer__info li {
    font-size: 13px;
    color: #888;
    line-height: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.home-footer__info li svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
    fill: #c9908f;
}

.home-footer__divider {
    width: 60px;
    height: 1px;
    background: #ddc8c8;
    margin: 0 auto 16px;
}

.home-footer__copyright {
    font-size: 11px;
    color: #aaa;
    line-height: 1.6;
}

/* ========== WhatsApp 悬浮按钮 ========== */

.home-whatsapp {
    position: fixed;
    right: 16px;
    bottom: 24px;
    width: 56px;
    height: 56px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    z-index: 9999;
    transition: transform 0.2s, box-shadow 0.2s;
}

.home-whatsapp:hover,
.home-whatsapp:active {
    transform: scale(1.08);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.home-whatsapp svg {
    width: 30px;
    height: 30px;
    fill: #fff;
}

/* ========== 默认占位图样式 ========== */

.home-hero__image--placeholder {
    width: 100%;
    min-height: 240px;
    background: linear-gradient(135deg, #f0e0e0, #e8d0d0);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #c9908f;
    font-size: 14px;
}

/* ========== 响应式 - 平板及以上适配 ========== */

@media (min-width: 540px) {
    .home-nav,
    .home-hero,
    .home-section2,
    .home-section3,
    .home-footer {
        max-width: 540px;
        margin-left: auto;
        margin-right: auto;
    }

    body {
        background: #f5f0f0;
    }
}
