/* ============================================
   芽芽乐官方网站 · 暖色亲子风
   ============================================ */

:root {
    --primary: #ff8c42;
    --primary-dark: #f57c2a;
    --primary-light: #ffb677;
    --accent: #6bcb77;
    --accent-dark: #4caf50;
    --warm: #fff8f0;
    --warm-alt: #fff3e0;
    --text: #2c3e50;
    --text-light: #6b7280;
    --border: #ffe0c2;
    --shadow: 0 6px 20px rgba(255, 140, 66, 0.12);
}

/* ========== 全局重置 ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
        "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial,
        sans-serif;
    line-height: 1.7;
    color: var(--text);
    background: #ffffff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ========== 头部导航 ========== */
.header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

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

.logo-img {
    width: 44px;
    height: 44px;
    border-radius: 50%;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.logo-name {
    font-weight: 800;
    font-size: 20px;
    color: var(--primary);
    letter-spacing: 1px;
}

.logo-sub {
    font-size: 12px;
    color: var(--text-light);
}

.nav {
    display: flex;
    gap: 28px;
}

.nav a {
    font-size: 15px;
    color: #4b5563;
    transition: color 0.2s ease;
    font-weight: 500;
}

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

/* ========== Hero 区 ========== */
.hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #fff8f0 0%, #fff3e0 50%, #e8f5e9 100%);
    padding: 100px 0 110px;
    text-align: center;
}

.hero-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.leaf {
    position: absolute;
    font-size: 36px;
    opacity: 0.35;
    animation: floatLeaf 8s ease-in-out infinite;
}

.leaf-1 { top: 10%; left: 8%;  animation-delay: 0s; }
.leaf-2 { top: 20%; right: 10%; animation-delay: 1s; font-size: 42px; }
.leaf-3 { bottom: 20%; left: 12%; animation-delay: 2s; font-size: 30px; }
.leaf-4 { bottom: 15%; right: 8%; animation-delay: 3s; }
.leaf-5 { top: 50%; left: 50%; animation-delay: 4s; font-size: 26px; opacity: 0.2; }

@keyframes floatLeaf {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-18px) rotate(8deg); }
}

.hero-eyebrow {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(255, 140, 66, 0.1);
    color: var(--primary);
    border-radius: 999px;
    font-size: 14px;
    margin-bottom: 18px;
    font-weight: 500;
}

.hero-title {
    font-size: 44px;
    font-weight: 800;
    margin-bottom: 20px;
    color: #1f2937;
    letter-spacing: 1.5px;
    line-height: 1.3;
}

.hero-subtitle {
    font-size: 17px;
    color: var(--text-light);
    margin-bottom: 36px;
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 13px 30px;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: #fff;
    box-shadow: 0 4px 12px rgba(255, 140, 66, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 140, 66, 0.4);
}

.btn-ghost {
    background: transparent;
    color: var(--primary);
    border-color: var(--primary);
}

.btn-ghost:hover {
    background: var(--primary);
    color: #fff;
}

/* ========== 通用区块 ========== */
.section {
    padding: 80px 0;
}

.section-alt {
    background: var(--warm);
}

.section-title {
    font-size: 32px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 12px;
    color: #1f2937;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 48px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 100%);
    margin: 16px auto 0;
    border-radius: 2px;
}

.section-lead {
    text-align: center;
    color: var(--text-light);
    font-size: 16px;
    margin-bottom: 50px;
}

/* ========== 关于我们 ========== */
.about-block {
    max-width: 820px;
    margin: 0 auto 40px;
    padding: 28px 32px;
    background: #fff;
    border-radius: 16px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}

.about-text {
    color: #4b5563;
    font-size: 15px;
    line-height: 1.9;
    margin-bottom: 14px;
}

.about-text:last-child {
    margin-bottom: 0;
}

.about-text strong {
    color: var(--primary);
    font-weight: 600;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.about-card {
    padding: 32px 28px;
    background: #fff;
    border-radius: 16px;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
    text-align: center;
}

.about-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(255, 140, 66, 0.15);
    border-color: var(--primary-light);
}

.about-icon {
    font-size: 42px;
    margin-bottom: 16px;
}

.about-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
    color: #1f2937;
}

.about-card p {
    color: var(--text-light);
    font-size: 15px;
    line-height: 1.8;
}

/* ========== 咨询服务 ========== */
.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-bottom: 32px;
}

.service-card {
    position: relative;
    padding: 32px 28px;
    background: #fff;
    border-radius: 16px;
    border: 1px solid var(--border);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--primary) 0%, var(--accent) 100%);
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(255, 140, 66, 0.12);
}

.service-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    padding: 3px 10px;
    background: rgba(255, 140, 66, 0.1);
    color: var(--primary);
    border-radius: 999px;
    font-size: 12px;
    font-weight: 500;
}

.service-card h3 {
    font-size: 19px;
    margin-bottom: 12px;
    color: #1f2937;
    padding-right: 50px;
}

.service-card p {
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.8;
}

.service-tip {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px dashed var(--border);
    color: #f57c2a !important;
    font-size: 12px !important;
}

.service-notice {
    padding: 18px 24px;
    background: #fff8e1;
    border-left: 4px solid var(--primary);
    border-radius: 8px;
    color: #5d4037;
    font-size: 14px;
    line-height: 1.8;
}

.service-notice strong {
    color: var(--primary-dark);
}

/* ========== 亲子活动 ========== */
.activity-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    margin-bottom: 36px;
}

.activity-item {
    padding: 28px 24px;
    background: #fff;
    border-radius: 16px;
    border: 1px solid var(--border);
    text-align: center;
    transition: all 0.3s ease;
}

.activity-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(107, 203, 119, 0.12);
}

.activity-emoji {
    font-size: 48px;
    margin-bottom: 14px;
}

.activity-item h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #1f2937;
}

.activity-item p {
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.8;
}

.activity-cta {
    text-align: center;
    padding: 28px;
    background: linear-gradient(135deg, #fff8f0 0%, #fff3e0 100%);
    border-radius: 16px;
    border: 1px solid var(--border);
}

.activity-cta p {
    color: #4b5563;
    margin-bottom: 18px;
    font-size: 15px;
}

.activity-cta strong {
    color: var(--primary);
}

/* ========== 家长须知 ========== */
.notice-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(420px, 1fr));
    gap: 20px;
}

.notice-item {
    display: flex;
    gap: 18px;
    padding: 28px;
    background: #fff;
    border-radius: 14px;
    border: 1px solid var(--border);
}

.notice-num {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: #fff;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.notice-item h3 {
    font-size: 17px;
    margin-bottom: 8px;
    color: #1f2937;
}

.notice-item p {
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.8;
}

.notice-item strong {
    color: var(--primary-dark);
    font-weight: 600;
}

/* ========== 联系我们 ========== */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-bottom: 32px;
}

.contact-item {
    text-align: center;
    padding: 32px 20px;
    background: #fff;
    border-radius: 16px;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.contact-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.contact-icon {
    font-size: 36px;
    margin-bottom: 14px;
}

.contact-label {
    color: var(--text-light);
    font-size: 14px;
    margin-bottom: 8px;
}

.contact-value {
    color: #1f2937;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.7;
}

.contact-address {
    font-size: 14px;
}

.contact-tip {
    text-align: center;
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.9;
    padding: 18px 24px;
    background: var(--warm);
    border-radius: 12px;
}

/* ========== 页脚 ========== */
.footer {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: #d1d5db;
    padding: 50px 0 0;
}

.footer-inner {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 36px;
    padding-bottom: 40px;
}

.footer h4 {
    color: #fff;
    font-size: 16px;
    margin-bottom: 18px;
    position: relative;
    padding-left: 12px;
}

.footer h4::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 16px;
    background: var(--primary);
    border-radius: 2px;
}

.footer p {
    font-size: 14px;
    margin-bottom: 10px;
    line-height: 1.8;
}

.placeholder {
    display: inline-block;
    padding: 2px 8px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px dashed rgba(255, 255, 255, 0.3);
    border-radius: 4px;
    color: #fbbf24;
    font-size: 13px;
}

/* 备案号占位符（备案申请中状态） */
.pending-badge {
    display: inline-block;
    padding: 2px 10px;
    background: rgba(251, 191, 36, 0.15);
    border: 1px dashed rgba(251, 191, 36, 0.45);
    border-radius: 4px;
    color: #fbbf24;
    font-size: 12px;
    font-weight: 500;
    transition: all 0.2s ease;
}

a:hover .pending-badge {
    background: rgba(251, 191, 36, 0.25);
    border-color: rgba(251, 191, 36, 0.7);
}

/* 联系方式：电话号码 */
.contact-phone {
    font-size: 18px;
    font-weight: 600;
    color: var(--primary);
    letter-spacing: 0.5px;
}

.contact-link {
    color: var(--primary);
    border-bottom: 1px dashed transparent;
    transition: all 0.2s ease;
}

.contact-link:hover {
    border-bottom-color: var(--primary);
    color: var(--primary-dark);
}

.beian {
    color: #93c5fd;
    transition: color 0.2s ease;
}

.beian:hover {
    color: #bfdbfe;
    text-decoration: underline;
}

.footer-claim {
    margin-top: 14px;
    padding: 8px 12px;
    background: rgba(107, 203, 119, 0.15);
    color: #6bcb77;
    border-radius: 6px;
    font-size: 13px;
}

.copyright {
    border-top: 1px solid #4b5563;
    padding: 20px 0;
    text-align: center;
    font-size: 13px;
    color: #9ca3af;
}

.copyright span {
    color: var(--primary);
    font-weight: 500;
}

/* ========== 响应式 ========== */
@media (max-width: 768px) {
    .header-inner {
        height: auto;
        padding: 14px 0;
        flex-direction: column;
        gap: 12px;
    }

    .nav {
        gap: 14px;
        flex-wrap: wrap;
        justify-content: center;
        font-size: 14px;
    }

    .hero {
        padding: 60px 0 70px;
    }

    .hero-title {
        font-size: 30px;
        letter-spacing: 1px;
    }

    .hero-subtitle {
        font-size: 15px;
    }

    .section {
        padding: 50px 0;
    }

    .section-title {
        font-size: 24px;
    }

    .about-block {
        padding: 22px 20px;
    }

    .notice-list {
        grid-template-columns: 1fr;
    }

    .leaf {
        font-size: 24px !important;
    }
}