/* =========================================================
   生野安室 ANDROOM - 官网共享样式
   品牌视觉：自然木色 · 源于自然，归于生活
   ========================================================= */
:root {
    /* 品牌色板 */
    --wood-dark: #3c2a1a;
    --wood: #6b4a2f;
    --wood-light: #8b6a4a;
    --accent: #b08d5f;
    --cream: #f7f3ec;
    --cream-2: #efe8dd;
    --sand: #e6dccb;
    --text: #2a241c;
    --text-soft: #6b6154;
    --text-mute: #9a8f7f;
    --line: #e2d8c9;
    --white: #ffffff;

    /* 风格点缀色 */
    --c-french: #a5566a;      /* 法式复古 */
    --c-italian: #5b6d7a;     /* 意式极简 */
    --c-nordic: #8fa08e;      /* 北欧 ins */
    --c-wabi: #a08b7a;        /* 侘寂中古 */

    --shadow: 0 6px 24px rgba(60, 42, 26, .08);
    --shadow-lg: 0 16px 48px rgba(60, 42, 26, .12);
    --radius: 14px;
    --maxw: 1180px;
}

* { 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", sans-serif;
    color: var(--text);
    background: var(--cream);
    line-height: 1.75;
    -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ===== 顶部导航 ===== */
.site-header {
    position: sticky; top: 0; z-index: 100;
    background: rgba(255, 255, 255, .92);
    backdrop-filter: saturate(180%) blur(12px);
    border-bottom: 1px solid var(--line);
}
.nav-inner {
    display: flex; align-items: center; justify-content: space-between;
    padding: 14px 0;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 46px; width: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-text .en { font-weight: 700; letter-spacing: 1.5px; font-size: 1.0rem; color: var(--wood-dark); }
.brand-text .zh { font-size: 0.72rem; letter-spacing: 3px; color: var(--text-soft); }

.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a {
    font-size: 0.95rem; color: var(--text-soft); font-weight: 500; position: relative;
    padding: 6px 0; transition: color .2s;
}
.nav-links a::after {
    content: ''; position: absolute; left: 0; bottom: 0; height: 2px; width: 0;
    background: var(--wood); transition: width .2s;
}
.nav-links a:hover { color: var(--wood-dark); }
.nav-links a:hover::after { width: 100%; }
.nav-links a.active { color: var(--wood-dark); font-weight: 700; }
.nav-links a.active::after { width: 100%; }

.nav-cta {
    background: var(--wood-dark); color: #fff !important; padding: 9px 18px !important;
    border-radius: 24px; font-size: 0.88rem !important; font-weight: 600;
}
.nav-cta::after { display: none; }
.nav-cta:hover { background: var(--wood); }

/* 移动端菜单开关 */
.nav-toggle { display: none; background: none; border: none; font-size: 1.6rem; cursor: pointer; color: var(--wood-dark); }

/* ===== 页面头部横幅 ===== */
.page-hero {
    background: linear-gradient(135deg, var(--wood-dark) 0%, var(--wood) 55%, var(--accent) 100%);
    color: #fff; padding: 72px 0 60px; text-align: center;
}
.page-hero h1 { font-size: 2.3rem; font-weight: 800; letter-spacing: 1px; }
.page-hero p { margin-top: 12px; font-size: 1.05rem; opacity: .88; max-width: 720px; margin-left: auto; margin-right: auto; }

/* ===== 通用区块 ===== */
.section { padding: 72px 0; }
.section.alt { background: var(--white); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 46px; }
.section-head .kicker { color: var(--accent); font-size: 0.85rem; letter-spacing: 3px; text-transform: uppercase; font-weight: 700; }
.section-head h2 { font-size: 1.9rem; font-weight: 800; margin-top: 8px; color: var(--wood-dark); }
.section-head p { color: var(--text-soft); margin-top: 10px; }

/* ===== 按钮 ===== */
.btn {
    display: inline-block; padding: 13px 30px; border-radius: 28px;
    font-weight: 600; font-size: 0.95rem; transition: all .2s; border: 1px solid transparent;
}
.btn-primary { background: var(--wood-dark); color: #fff; }
.btn-primary:hover { background: var(--wood); transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-ghost { border-color: rgba(255,255,255,.5); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.12); }

/* ===== 首页 Hero ===== */
.hero {
    position: relative; color: #fff; padding: 130px 0; text-align: center; overflow: hidden;
    background: linear-gradient(135deg, #2f2012 0%, #4c3423 40%, #8b6a4a 100%);
}
.hero::before {
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(circle at 20% 20%, rgba(176,141,95,.3), transparent 40%),
                radial-gradient(circle at 80% 70%, rgba(165,86,106,.2), transparent 45%);
}
.hero .container { position: relative; z-index: 1; }
.hero .hero-logo { width: 96px; height: 96px; object-fit: contain; margin: 0 auto 24px; background: #fff; border-radius: 50%; padding: 14px; box-shadow: var(--shadow-lg); }
.hero h1 { font-size: 3rem; font-weight: 900; letter-spacing: 2px; }
.hero .hero-sub { font-size: 1.15rem; margin-top: 18px; opacity: .9; }
.hero .hero-slogan { margin-top: 26px; font-size: 0.95rem; letter-spacing: 4px; color: var(--sand); }
.hero .hero-btns { margin-top: 36px; display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ===== 特色卡片 ===== */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.feature-card {
    background: var(--white); border-radius: var(--radius); padding: 32px 26px;
    box-shadow: var(--shadow); border: 1px solid var(--line); transition: all .25s;
}
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.feature-card .icon { font-size: 2rem; margin-bottom: 14px; }
.feature-card h3 { font-size: 1.12rem; font-weight: 700; color: var(--wood-dark); margin-bottom: 8px; }
.feature-card p { font-size: 0.92rem; color: var(--text-soft); }

/* ===== About 页 ===== */
.about-story { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.about-visual {
    background: linear-gradient(135deg, var(--cream-2), var(--sand));
    border-radius: var(--radius); min-height: 380px; display: flex; align-items: center; justify-content: center;
    color: var(--wood); font-size: 4rem;
}
.about-visual img {
    width: 100%; height: 100%; min-height: 380px; object-fit: cover;
    border-radius: var(--radius); display: block;
}
.about-copy h2 { font-size: 1.8rem; color: var(--wood-dark); margin-bottom: 16px; }
.about-copy p { color: var(--text-soft); margin-bottom: 14px; }
.story-timeline { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 28px; }
.timeline-item { background: var(--cream); border-left: 3px solid var(--accent); padding: 18px; border-radius: 8px; }
.timeline-item .year { font-weight: 800; color: var(--wood-dark); font-size: 1.3rem; }
.timeline-item .desc { color: var(--text-soft); font-size: 0.9rem; margin-top: 4px; }

/* 风格条 */
.style-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.style-tile {
    background: var(--white); border-radius: var(--radius); padding: 28px 22px; text-align: center;
    box-shadow: var(--shadow); border: 1px solid var(--line); position: relative; overflow: hidden;
}
.style-tile::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; }
.style-tile.t-french::before { background: var(--c-french); }
.style-tile.t-italian::before { background: var(--c-italian); }
.style-tile.t-nordic::before { background: var(--c-nordic); }
.style-tile.t-wabi::before { background: var(--c-wabi); }
.style-tile h3 { font-size: 1.05rem; font-weight: 700; color: var(--wood-dark); margin-bottom: 6px; }
.style-tile .en { font-size: 0.72rem; letter-spacing: 2px; color: var(--text-mute); text-transform: uppercase; }
.style-tile p { font-size: 0.86rem; color: var(--text-soft); margin-top: 10px; }

/* ===== 产品卡片 ===== */
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.product-card {
    background: var(--white); border-radius: var(--radius); overflow: hidden;
    box-shadow: var(--shadow); border: 1px solid var(--line); transition: all .25s;
    display: flex; flex-direction: column;
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.product-media {
    height: 220px; display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, var(--cream-2), var(--sand)); position: relative;
}
.product-media .p-icon { font-size: 3.2rem; }
.product-media .p-style {
    position: absolute; top: 14px; left: 14px; padding: 3px 12px; border-radius: 20px;
    font-size: 0.72rem; font-weight: 700; color: #fff;
}
.product-body { padding: 20px 22px 24px; flex: 1; display: flex; flex-direction: column; }
.product-cat { font-size: 0.76rem; letter-spacing: 1px; color: var(--accent); font-weight: 700; text-transform: uppercase; }
.product-body h3 { font-size: 1.08rem; font-weight: 700; color: var(--wood-dark); margin: 6px 0 8px; }
.product-body .en { font-size: 0.8rem; color: var(--text-mute); letter-spacing: 1px; }
.product-body p { font-size: 0.88rem; color: var(--text-soft); margin-top: 8px; flex: 1; }
.product-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.product-tags span { background: var(--cream); padding: 3px 10px; border-radius: 16px; font-size: 0.72rem; color: var(--wood-light); border: 1px solid var(--line); }

/* ===== 产品实拍图 / 价格 / 跳转按钮 ===== */
.product-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.product-media .p-style.on-img { position: absolute; top: 12px; left: 12px; z-index: 2; }
.product-price { display: flex; align-items: baseline; gap: 8px; margin-top: 16px; flex-wrap: wrap; }
.product-price .now { font-size: 1.45rem; font-weight: 700; color: var(--accent); }
.product-price .now::before { content: '¥'; font-size: 0.95rem; margin-right: 1px; font-weight: 600; }
.product-price .tag { font-size: 0.7rem; padding: 2px 8px; border-radius: 10px; background: var(--accent); color: #fff; font-weight: 700; letter-spacing: 0.5px; }
.product-price .ship { font-size: 0.74rem; color: var(--text-mute); margin-left: auto; }
.btn-buy { display: inline-flex; align-items: center; justify-content: center; gap: 6px; margin-top: 14px; padding: 10px 18px; background: linear-gradient(135deg, #ff7a45 0%, #ff3a3a 100%); color: #fff; border-radius: 8px; font-size: 0.92rem; font-weight: 600; text-decoration: none; transition: all 0.2s; box-shadow: 0 2px 8px rgba(255,80,30,0.25); }
.btn-buy:hover { transform: translateY(-1px); box-shadow: 0 4px 14px rgba(255,80,30,0.35); color: #fff; }
.btn-buy::before { content: '🛒'; font-size: 0.95rem; }

/* ===== FAQ ===== */
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-item { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 14px; overflow: hidden; }
.faq-q {
    padding: 20px 24px; font-weight: 600; cursor: pointer; display: flex; justify-content: space-between; align-items: center;
    color: var(--wood-dark); font-size: 1.02rem;
}
.faq-q .arrow { transition: transform .25s; color: var(--accent); }
.faq-item.open .faq-q .arrow { transform: rotate(45deg); }
.faq-a { padding: 0 24px 22px; color: var(--text-soft); font-size: 0.94rem; display: none; }
.faq-item.open .faq-a { display: block; }

/* ===== Contact ===== */
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 32px; max-width: 760px; margin: 0 auto; }
.contact-card { background: var(--white); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); border: 1px solid var(--line); }
.contact-card h3 { font-size: 1.2rem; color: var(--wood-dark); margin-bottom: 18px; display: flex; align-items: center; gap: 10px; }
.store-row { border-top: 1px dashed var(--line); padding-top: 18px; margin-top: 18px; }
.store-row:first-of-type { border-top: none; padding-top: 0; margin-top: 0; }
.store-row .store-name { font-weight: 700; color: var(--wood-dark); font-size: 1.05rem; }
.store-row .store-meta { color: var(--text-soft); font-size: 0.92rem; margin-top: 6px; display: flex; flex-direction: column; gap: 6px; }
.store-row .badge { display: inline-block; background: var(--cream); color: var(--wood); font-size: 0.72rem; padding: 2px 10px; border-radius: 14px; margin-right: 6px; }

/* ===== 数据/指标 ===== */
.stat-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat-box { text-align: center; padding: 26px; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid var(--line); }
.stat-box .num { font-size: 2.2rem; font-weight: 900; color: var(--wood-dark); }
.stat-box .label { color: var(--text-soft); font-size: 0.9rem; margin-top: 4px; }

/* ===== Footer ===== */
.site-footer { background: var(--wood-dark); color: var(--sand); padding: 56px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 36px; }
.footer-grid h4 { color: #fff; font-size: 1rem; margin-bottom: 14px; letter-spacing: 1px; }
.footer-brand img { height: 40px; margin-bottom: 14px; }
.footer-brand p { font-size: 0.86rem; color: #b9a892; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 9px; }
.footer-col a { color: #cbbba2; font-size: 0.9rem; }
.footer-col a:hover { color: #fff; }
.footer-col p { color: #cbbba2; font-size: 0.86rem; line-height: 1.7; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 40px; padding-top: 20px; text-align: center; font-size: 0.82rem; color: #9a8a74; }

/* ===== 备案号 ===== */
.footer-icp { margin-top: 6px; font-size: 0.78rem; color: #9a8a74; letter-spacing: .2px; }
.footer-icp a { color: #9a8a74; text-decoration: none; border-bottom: 1px solid rgba(154,138,116,.35); padding-bottom: 1px; transition: color .2s, border-color .2s; }
.footer-icp a:hover { color: #cbbba2; border-bottom-color: #cbbba2; }

/* ===== 响应式 ===== */
@media (max-width: 960px) {
    .nav-links { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff; flex-direction: column; padding: 18px 24px; gap: 4px; border-bottom: 1px solid var(--line); }
    .nav-links.open { display: flex; }
    .nav-links a { padding: 12px 0; }
    .nav-toggle { display: block; }
    .about-story, .contact-grid { grid-template-columns: 1fr; }
    .grid-3, .product-grid { grid-template-columns: repeat(2, 1fr); }
    .grid-4, .style-strip, .stat-row, .story-timeline { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .hero h1 { font-size: 2.3rem; }
}
@media (max-width: 560px) {
    .grid-3, .product-grid, .grid-4, .style-strip, .stat-row, .story-timeline, .footer-grid { grid-template-columns: 1fr; }
    .hero { padding: 90px 0; }
    .page-hero h1 { font-size: 1.7rem; }
}

/* ===== 口碑与成功展示 ===== */
.press-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 28px; }
.press-card {
    background: var(--white); border-radius: var(--radius); overflow: hidden; margin: 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05); border: 1px solid var(--line);
}
.press-card img { width: 100%; display: block; }
.press-card:not(.wide) img { aspect-ratio: 3 / 4; object-fit: cover; }
.press-card figcaption { padding: 12px 16px; text-align: center; font-size: 0.9rem; color: var(--text-soft); }
.press-card.wide { grid-column: 1 / -1; }
@media (max-width: 560px) {
    .press-grid { grid-template-columns: 1fr; }
    .press-card:not(.wide) img { aspect-ratio: auto; max-height: 420px; object-fit: contain; }
}

/* ===== 优势通栏卡（第 7 条：用户好评如潮）===== */
.feature-card.wide { grid-column: 1 / -1; display: flex; align-items: center; gap: 18px; }
.feature-card.wide .icon { margin-bottom: 0; flex-shrink: 0; }
.feature-card.wide h3 { margin-bottom: 6px; }
@media (max-width: 960px) {
    .feature-card.wide { flex-direction: column; align-items: flex-start; }
}
