:root {
    --bg: #fdf8f2;
    --card: #ffffff;
    --text: #4a3b2f;
    --muted: #8a7a6b;
    --accent: #d97b8c;
    --accent-dark: #c05f72;
    --brown: #6b4f3a;
    --shadow: 0 6px 24px rgba(107, 79, 58, 0.12);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.7;
}

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

.container {
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== 顶部导航 ===== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    background: rgba(253, 248, 242, 0.92);
    backdrop-filter: blur(6px);
    border-bottom: 1px solid rgba(107, 79, 58, 0.08);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
    padding-top: 14px;
    padding-bottom: 14px;
}

.logo {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--brown);
    text-decoration: none;
}

.nav {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 22px;
}

.nav a {
    color: var(--muted);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.2s;
}

.nav a:hover {
    color: var(--accent);
}

/* ===== Hero ===== */
.hero {
    padding: 70px 0 60px;
}

.hero-inner {
    display: flex;
    align-items: center;
    gap: 48px;
}

.hero-text {
    flex: 1;
}

.hero-text h1 {
    font-size: 2.3rem;
    line-height: 1.4;
    color: var(--brown);
    margin-bottom: 18px;
}

.hero-text p {
    color: var(--muted);
    margin-bottom: 28px;
}

.btn {
    display: inline-block;
    background: var(--accent);
    color: #fff;
    padding: 12px 34px;
    border-radius: 999px;
    text-decoration: none;
    font-size: 1rem;
    transition: background 0.2s, transform 0.2s;
}

.btn:hover {
    background: var(--accent-dark);
    transform: translateY(-2px);
}

.hero-img {
    flex: 1;
}

.hero-img img {
    border-radius: 18px;
    box-shadow: var(--shadow);
}

/* ===== 通用分区 ===== */
section {
    padding: 60px 0;
}

.section-title {
    text-align: center;
    font-size: 1.8rem;
    color: var(--brown);
    margin-bottom: 10px;
}

.section-desc {
    text-align: center;
    color: var(--muted);
    max-width: 640px;
    margin: 0 auto 44px;
}

/* ===== 关于我们 ===== */
.about {
    background: #fff;
}

.features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.feature-card {
    background: var(--bg);
    border-radius: 16px;
    padding: 32px 26px;
    text-align: center;
}

.feature-icon {
    font-size: 2.2rem;
    display: block;
    margin-bottom: 12px;
}

.feature-card h3 {
    color: var(--brown);
    margin-bottom: 8px;
}

.feature-card p {
    color: var(--muted);
    font-size: 0.95rem;
}

/* ===== 娃娃展示 ===== */
.toy-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.toy-card {
    background: var(--card);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow);
    position: relative;
    transition: transform 0.25s;
}

.toy-card:hover {
    transform: translateY(-6px);
}

.toy-card img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.toy-card figcaption {
    padding: 16px 20px 20px;
}

.toy-card h3 {
    font-size: 1.05rem;
    color: var(--brown);
    margin-bottom: 4px;
}

.toy-card p {
    color: var(--muted);
    font-size: 0.9rem;
}

.tag {
    position: absolute;
    top: 14px;
    left: 14px;
    background: var(--accent);
    color: #fff;
    font-size: 0.78rem;
    padding: 4px 12px;
    border-radius: 999px;
}

/* ===== 领养流程 ===== */
.process {
    background: #fff;
}

.steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    counter-reset: step;
}

.step {
    text-align: center;
    padding: 0 8px;
}

.step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--accent);
    color: #fff;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 14px;
}

.step h3 {
    font-size: 1.05rem;
    color: var(--brown);
    margin-bottom: 6px;
}

.step p {
    color: var(--muted);
    font-size: 0.92rem;
}

/* ===== 联系我们 ===== */
.contact-list {
    list-style: none;
    max-width: 620px;
    margin: 0 auto;
    background: #fff;
    border-radius: 16px;
    box-shadow: var(--shadow);
    padding: 34px 40px;
}

.contact-list li {
    padding: 12px 0;
    border-bottom: 1px dashed rgba(107, 79, 58, 0.15);
    color: var(--muted);
}

.contact-list li:last-child {
    border-bottom: none;
}

.contact-list strong {
    color: var(--brown);
    display: inline-block;
    width: 90px;
}

/* ===== 页脚 ===== */
.site-footer {
    background: var(--brown);
    color: rgba(255, 255, 255, 0.85);
    text-align: center;
    padding: 26px 0;
    font-size: 0.9rem;
}

.site-footer a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
}

.site-footer a:hover {
    color: #fff;
    text-decoration: underline;
}

/* ===== 响应式 ===== */
@media (max-width: 860px) {
    .hero-inner {
        flex-direction: column;
        text-align: center;
        gap: 32px;
    }

    .features,
    .toy-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .steps {
        grid-template-columns: repeat(2, 1fr);
        row-gap: 36px;
    }
}

@media (max-width: 560px) {
    .hero-text h1 {
        font-size: 1.7rem;
    }

    .features,
    .toy-grid,
    .steps {
        grid-template-columns: 1fr;
    }

    .header-inner {
        justify-content: center;
        text-align: center;
    }
}
