/* ========== 全局重置 & 基础变量 ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --warm-bg: #FCF7F2;
    --cream: #FDF8F3;
    --charcoal: #2C2C2C;
    --warm-wood: #DDB892;
    --clay-orange: #E07A5F;
    --sage-green: #81B29A;
    --light-sage: #E5F0E8;
    --font-serif: 'Noto Serif SC', serif;
    --font-sans: 'Inter', 'Noto Sans SC', sans-serif;
    --shadow-soft: 0 8px 30px rgba(44, 44, 44, 0.08);
    --radius-card: 20px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    background-color: var(--warm-bg);
    color: var(--charcoal);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ========== HEADER ========== */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 18px 0;
    transition: all 0.4s ease;
    background: transparent;
}

header.scrolled {
    background: rgba(252, 247, 242, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
    padding: 12px 0;
}

.nav-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.logo {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--charcoal);
}
.logo span {
    color: var(--clay-orange);
}

.nav-links {
    display: flex;
    gap: 40px;
    list-style: none;
    font-weight: 400;
    font-size: 1rem;
}

/* 桌面端隐藏关闭按钮 */
.nav-links .close-menu {
    display: none;
}

.nav-links a {
    position: relative;
    padding-bottom: 4px;
    transition: color 0.3s;
    color: var(--charcoal);
}
.nav-links a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0%;
    height: 2px;
    background: var(--clay-orange);
    transition: width 0.3s ease;
}
.nav-links a:hover::after {
    width: 100%;
}

.lang-switch {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    font-weight: 400;
    margin-left: 8px;
}
.lang-switch a {
    opacity: 0.4;
    transition: opacity 0.3s;
}
.lang-switch a.active {
    opacity: 1;
    font-weight: 600;
}
.lang-switch a:hover {
    opacity: 0.8;
}
.lang-switch span {
    opacity: 0.3;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
}
.hamburger span {
    display: block;
    width: 28px;
    height: 2.5px;
    background: var(--charcoal);
    border-radius: 4px;
    transition: 0.3s;
}

/* ========== HERO ========== */
#hero {
    min-height: 100svh;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    padding: 120px 24px 80px;
    background-color: #E8DCD0;
    background-image: url('../images/hero.jpg');
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

/* 渐变遮罩：让图片变暗，文字更清晰 */
#hero::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.10) 0%,
        rgba(0, 0, 0, 0.30) 35%,
        rgba(0, 0, 0, 0.55) 100%
    );
    pointer-events: none;
}

#hero .hero-shapes,
#hero .hero-content {
    position: relative;
    z-index: 2;
}

.hero-shapes {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}
.hero-shapes .shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.08;
    background: #fff;
}
.hero-shapes .shape:nth-child(1) {
    width: 400px;
    height: 400px;
    top: -100px;
    right: -100px;
    background: #fff;
}
.hero-shapes .shape:nth-child(2) {
    width: 300px;
    height: 300px;
    bottom: -50px;
    left: -80px;
    background: #fff;
}
.hero-shapes .shape:nth-child(3) {
    width: 150px;
    height: 150px;
    top: 20%;
    left: 10%;
    background: #fff;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 820px;
    opacity: 0;
    transform: translateY(30px);
    animation: heroFadeIn 1.2s ease forwards 0.5s;
}

@keyframes heroFadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-sub {
    font-size: 1rem;
    letter-spacing: 6px;
    text-transform: uppercase;
    color: #fff;
    font-weight: 500;
    margin-bottom: 16px;
    background: rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    display: inline-block;
    padding: 6px 24px;
    border-radius: 40px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.hero-title {
    font-family: var(--font-serif);
    font-size: clamp(2.8rem, 8vw, 5.2rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 20px;
    color: #fff;
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.4), 0 2px 10px rgba(0, 0, 0, 0.2);
}
.hero-title em {
    font-style: normal;
    color: #F4C9A8;
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.hero-desc {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.92);
    max-width: 600px;
    margin: 0 auto 36px;
    font-weight: 300;
    line-height: 1.8;
    text-shadow: 0 2px 16px rgba(0, 0, 0, 0.5);
}

.btn-primary {
    display: inline-block;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #fff;
    padding: 16px 52px;
    border-radius: 60px;
    font-weight: 500;
    font-size: 1rem;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.25);
    cursor: pointer;
}
.btn-primary:hover {
    background: rgba(255, 255, 255, 0.25);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.4);
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: #fff;
    font-size: 0.7rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    opacity: 0.7;
    cursor: pointer;
    transition: opacity 0.3s ease;
    z-index: 3;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
}
.scroll-indicator:hover {
    opacity: 1;
}
.scroll-indicator .line {
    width: 1px;
    height: 40px;
    background: #fff;
    animation: scrollLine 2s infinite ease-in-out;
}
@keyframes scrollLine {
    0% {
        transform: scaleY(0);
        transform-origin: top;
    }
    50% {
        transform: scaleY(1);
        transform-origin: top;
    }
    50.1% {
        transform-origin: bottom;
    }
    100% {
        transform: scaleY(0);
        transform-origin: bottom;
    }
}

/* ========== REVEAL 动画 ========== */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}
.reveal-stagger {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal-stagger.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ========== 品牌承诺 ========== */
#promise {
    padding: 100px 0;
    background: var(--cream);
    scroll-margin-top: 80px;
}

.section-label {
    font-size: 0.85rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--clay-orange);
    font-weight: 500;
    margin-bottom: 8px;
}

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 700;
    margin-bottom: 12px;
}

.section-sub {
    font-size: 1.1rem;
    color: #5a5a5a;
    max-width: 500px;
    margin-bottom: 48px;
    font-weight: 300;
}

.promise-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.promise-item {
    background: #fff;
    padding: 40px 30px;
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-soft);
    transition: transform 0.3s ease;
    text-align: center;
    border-bottom: 4px solid var(--sage-green);
}
.promise-item:hover {
    transform: translateY(-8px);
}
.promise-item:nth-child(2) {
    border-bottom-color: var(--clay-orange);
}
.promise-item:nth-child(3) {
    border-bottom-color: var(--warm-wood);
}

.promise-icon {
    width: 72px;
    height: 72px;
    background: var(--light-sage);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
    font-weight: 700;
    color: var(--sage-green);
}
.promise-item:nth-child(2) .promise-icon {
    background: #FDE8E0;
    color: var(--clay-orange);
}
.promise-item:nth-child(3) .promise-icon {
    background: #F5EDE0;
    color: var(--warm-wood);
}

.promise-item h3 {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    margin-bottom: 12px;
}
.promise-item p {
    color: #555;
    font-size: 0.95rem;
    font-weight: 300;
}

/* ========== 产品卡片 ========== */
#showcase {
    padding: 100px 0;
    background: var(--warm-bg);
}

.showcase-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.showcase-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.showcase-card {
    border-radius: var(--radius-card);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    background: #fff;
}
.showcase-card:hover {
    transform: scale(1.02);
    box-shadow: 0 20px 40px rgba(44, 44, 44, 0.12);
}

.showcase-img {
    position: relative;
    width: 100%;
    height: 340px;
    overflow: hidden;
    background: #f0ebe5;
}

.showcase-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}
.showcase-card:hover .showcase-img img {
    transform: scale(1.04);
}

.showcase-text {
    position: absolute;
    bottom: 28px;
    left: 0;
    right: 0;
    padding: 0 28px;
    text-align: left;
    pointer-events: none;
    transition: all 0.3s ease;
}

.showcase-text h4 {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.50), 0 4px 30px rgba(0, 0, 0, 0.25);
    margin-bottom: 4px;
    letter-spacing: 0.5px;
    line-height: 1.3;
}

.showcase-text p {
    font-size: 0.88rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.92);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.55), 0 4px 25px rgba(0, 0, 0, 0.30);
    line-height: 1.5;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.showcase-card:hover .showcase-text {
    transform: translateY(-4px);
}
.showcase-card:hover .showcase-text p {
    color: #fff;
}

/* ========== 关于我们 ========== */
#about {
    padding: 100px 0;
    background: var(--cream);
}

.about-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text .section-title {
    margin-bottom: 16px;
}
.about-text p {
    margin-bottom: 20px;
    color: #444;
    font-weight: 300;
    font-size: 1.05rem;
}
.about-text .highlight {
    color: var(--clay-orange);
    font-weight: 500;
}

.about-process-block {
    background: #F4EAE0;
    border-radius: var(--radius-card);
    padding: 40px 35px;
    box-shadow: var(--shadow-soft);
    background-image: radial-gradient(circle at 30% 20%, #F8F0E8, #E8DCD0);
    text-align: center;
}
.about-process-block h4 {
    font-family: var(--font-serif);
    font-size: 1.6rem;
    margin-bottom: 30px;
    color: var(--charcoal);
    letter-spacing: 2px;
}
.process-steps {
    display: flex;
    flex-direction: column;
    gap: 18px;
}
.process-step {
    display: flex;
    align-items: center;
    gap: 20px;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(4px);
    padding: 16px 24px;
    border-radius: 60px;
    transition: transform 0.3s ease, background 0.3s ease;
    border-left: 4px solid var(--sage-green);
}
.process-step:nth-child(2) {
    border-left-color: var(--clay-orange);
}
.process-step:nth-child(3) {
    border-left-color: var(--warm-wood);
}
.process-step:hover {
    transform: translateX(6px);
    background: rgba(255, 255, 255, 0.85);
}
.process-step .step-icon {
    font-size: 2rem;
    width: 50px;
    flex-shrink: 0;
}
.process-step .step-text {
    text-align: left;
    font-weight: 500;
    font-size: 1rem;
}
.process-step .step-text small {
    display: block;
    font-weight: 300;
    font-size: 0.85rem;
    color: #666;
    margin-top: 2px;
}

/* ========== 联系我们 ========== */
#contact {
    padding: 100px 0;
    background: var(--warm-bg);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info h3 {
    font-family: var(--font-serif);
    font-size: 2rem;
    margin-bottom: 16px;
}

.contact-detail {
    margin-top: 30px;
}
.contact-detail .address-block {
    background: #fff;
    border-radius: 20px;
    padding: 20px 24px;
    box-shadow: var(--shadow-soft);
    margin-bottom: 20px;
    line-height: 1.9;
}
.contact-detail .address-block .addr-line {
    display: block;
    font-size: 1rem;
    color: #333;
}
.contact-detail .address-block .addr-line:first-child {
    font-weight: 700;
    color: var(--clay-orange);
    font-size: 1.05rem;
    letter-spacing: 1px;
}

.btn-mail {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--charcoal);
    color: #fff;
    padding: 14px 40px;
    border-radius: 60px;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: 1px solid var(--charcoal);
    cursor: pointer;
}
.btn-mail:hover {
    background: transparent;
    color: var(--charcoal);
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(44, 44, 44, 0.15);
}

.contact-map-wrapper {
    border-radius: var(--radius-card);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    min-height: 320px;
    height: 100%;
    background: #e0d6cc;
}
.contact-map-wrapper iframe {
    width: 100%;
    height: 100%;
    min-height: 320px;
    display: block;
    border: 0;
}

/* ========== FOOTER ========== */
footer {
    background: var(--charcoal);
    color: rgba(255, 255, 255, 0.8);
    padding: 50px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    margin-bottom: 40px;
    align-items: start;
}

.footer-brand .logo {
    color: #fff;
    margin-bottom: 12px;
}
.footer-brand .logo span {
    color: var(--warm-wood);
}
.footer-brand p {
    font-weight: 300;
    font-size: 0.95rem;
    max-width: 360px;
    opacity: 0.7;
    line-height: 1.8;
}

.footer-links h5 {
    font-size: 1rem;
    margin-bottom: 16px;
    color: #fff;
    letter-spacing: 2px;
}
.footer-links ul {
    list-style: none;
}
.footer-links li {
    margin-bottom: 10px;
}
.footer-links a {
    opacity: 0.7;
    transition: opacity 0.3s;
    font-weight: 300;
}
.footer-links a:hover {
    opacity: 1;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 24px;
    text-align: center;
    font-size: 0.85rem;
    opacity: 0.5;
}

/* ========== 响应式 ========== */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(252, 247, 242, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 30px;
        font-size: 1.6rem;
        transform: translateY(-100%);
        transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1);
        z-index: 999;
        padding: 40px 24px;
    }
    .nav-links.active {
        transform: translateY(0);
    }
    .nav-links a::after {
        display: none;
    }

    /* 移动端显示关闭按钮 */
    .nav-links .close-menu {
        display: block;
        position: absolute;
        top: 24px;
        right: 24px;
        list-style: none;
        margin: 0;
        padding: 0;
    }
    .nav-links .close-menu button {
        background: none;
        border: none;
        font-size: 2rem;
        font-weight: 300;
        color: var(--charcoal);
        cursor: pointer;
        padding: 8px 12px;
        transition: opacity 0.3s ease;
        line-height: 1;
    }
    .nav-links .close-menu button:hover {
        opacity: 0.5;
    }

    .lang-switch {
        margin-left: 0;
    }

    /* ★★★ Hero 移动端优化 ★★★ */
    #hero {
        min-height: 90vh;
        padding: 100px 20px 60px;
    }

    .hero-content {
        padding: 0 4px;
    }

    .hero-sub {
        font-size: 0.7rem;
        letter-spacing: 4px;
        padding: 4px 16px;
    }

    .hero-title {
        font-size: clamp(2rem, 8vw, 3rem);
        line-height: 1.2;
        margin-bottom: 12px;
    }

    .hero-desc {
        font-size: 0.95rem;
        max-width: 100%;
        padding: 0 8px;
        line-height: 1.6;
        margin-bottom: 24px;
    }

    .btn-primary {
        padding: 14px 36px;
        font-size: 0.9rem;
    }

    .scroll-indicator {
        bottom: 20px;
    }
    .scroll-indicator .line {
        height: 28px;
    }

    .promise-grid {
        grid-template-columns: 1fr;
    }

    .showcase-grid {
        grid-template-columns: 1fr;
    }
    .showcase-img {
        height: 280px;
    }
    .showcase-text {
        bottom: 20px;
        padding: 0 20px;
    }
    .showcase-text h4 {
        font-size: 1.1rem;
    }
    .showcase-text p {
        font-size: 0.8rem;
        -webkit-line-clamp: 2;
    }

    .about-wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .about-process-block {
        padding: 30px 20px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }
    .contact-map-wrapper {
        min-height: 260px;
    }
    .contact-map-wrapper iframe {
        min-height: 260px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    .footer-brand p {
        max-width: 100%;
        margin: 0 auto;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    /* ★★★ 小屏手机 Hero 进一步优化 ★★★ */
    #hero {
        min-height: 85vh;
        padding: 80px 16px 50px;
    }

    .hero-sub {
        font-size: 0.6rem;
        letter-spacing: 3px;
        padding: 4px 12px;
    }

    .hero-title {
        font-size: clamp(1.6rem, 7vw, 2.2rem);
        line-height: 1.15;
        margin-bottom: 10px;
    }

    .hero-desc {
        font-size: 0.85rem;
        line-height: 1.5;
        padding: 0 4px;
        margin-bottom: 20px;
    }

    .btn-primary {
        padding: 12px 28px;
        font-size: 0.85rem;
    }

    .scroll-indicator {
        bottom: 16px;
        font-size: 0.6rem;
    }
    .scroll-indicator .line {
        height: 24px;
    }

    .promise-item {
        padding: 28px 18px;
    }
    .btn-mail {
        padding: 12px 28px;
        font-size: 0.9rem;
    }
    .process-step {
        padding: 12px 16px;
        gap: 12px;
    }
    .process-step .step-icon {
        font-size: 1.6rem;
        width: 40px;
    }
    .showcase-img {
        height: 220px;
    }
    .showcase-text {
        bottom: 14px;
        padding: 0 16px;
    }
    .showcase-text h4 {
        font-size: 0.95rem;
    }
    .showcase-text p {
        font-size: 0.72rem;
        -webkit-line-clamp: 2;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    .reveal,
    .reveal-stagger {
        opacity: 1;
        transform: none;
    }
    .hero-content {
        opacity: 1;
        transform: none;
        animation: none;
    }
}