/* ============================================================
   东莞市善美饰品有限公司 · 官网 v1.0
   设计系统：绿松石蓝绿 + 贝壳暖白 + 饰品金
   纯静态 / 响应式 / 移动优先
   ============================================================ */

:root {
  --turquoise-900: #0f4d45;
  --turquoise-700: #1d7a6e;
  --turquoise-500: #2a9d8f;
  --turquoise-300: #7fcabf;
  --shell-50:     #faf8f4;
  --shell-100:    #f4efe6;
  --shell-200:    #e8e0d3;
  --gold-500:     #c9a227;
  --ink-900:      #1c2421;
  --ink-600:      #47534e;
  --ink-400:      #7a857f;
  --white:        #ffffff;
  --radius:       14px;
  --shadow-sm:    0 2px 8px rgba(15,77,69,.08);
  --shadow-md:    0 8px 28px rgba(15,77,69,.12);
  --maxw:         1180px;
  --serif: "Songti SC", "STSong", "SimSun", serif;
  --sans: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  color: var(--ink-900);
  background: var(--shell-50);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

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

/* ---------- 顶部导航 ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--shell-200);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; }
.brand .logo {
  width: 34px; height: 34px; border-radius: 9px;
  background: linear-gradient(135deg, var(--turquoise-500), var(--turquoise-900));
  display: grid; place-items: center; color: #fff; font-family: var(--serif); font-size: 18px;
}
.brand small { display: block; font-size: 11px; font-weight: 400; color: var(--ink-400); letter-spacing: .5px; }
.nav-links { display: flex; gap: 30px; align-items: center; }
.nav-links a { font-size: 15px; color: var(--ink-600); position: relative; padding: 6px 0; transition: color .2s; }
.nav-links a:hover, .nav-links a.active { color: var(--turquoise-700); }
.nav-links a.active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: var(--turquoise-500); border-radius: 2px;
}
.nav-cta {
  background: var(--turquoise-700); color: #fff !important;
  padding: 9px 18px !important; border-radius: 999px; font-size: 14px !important;
  box-shadow: var(--shadow-sm);
}
.nav-cta:hover { background: var(--turquoise-900); }
.menu-toggle { display: none; background: none; border: 0; cursor: pointer; width: 40px; height: 40px; }
.menu-toggle span { display: block; width: 22px; height: 2px; background: var(--ink-900); margin: 5px auto; transition: .3s; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(1200px 500px at 80% -10%, rgba(42,157,143,.18), transparent 60%),
    linear-gradient(180deg, var(--shell-100), var(--shell-50));
  padding: 84px 0 72px;
}
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.hero h1 { font-size: clamp(30px, 4.4vw, 50px); line-height: 1.18; letter-spacing: -.5px; color: var(--ink-900); }
.hero h1 em { font-style: normal; color: var(--turquoise-700); }
.hero p.lead { margin: 22px 0 30px; font-size: 17px; color: var(--ink-600); max-width: 520px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 26px; border-radius: 999px; font-size: 15px; font-weight: 600; cursor: pointer; border: 0; transition: .2s;
}
.btn-primary { background: var(--turquoise-700); color: #fff; box-shadow: var(--shadow-md); }
.btn-primary:hover { background: var(--turquoise-900); transform: translateY(-1px); }
.btn-ghost { background: #fff; color: var(--turquoise-700); border: 1px solid var(--shell-200); }
.btn-ghost:hover { border-color: var(--turquoise-300); }

.hero-visual {
  border-radius: 22px; aspect-ratio: 4/3.4; position: relative; overflow: hidden;
  background:
    radial-gradient(circle at 30% 30%, rgba(127,202,191,.55), transparent 45%),
    radial-gradient(circle at 75% 70%, rgba(201,162,39,.30), transparent 40%),
    linear-gradient(135deg, #e9f4f1, #f6efe2);
  box-shadow: var(--shadow-md);
  display: grid; place-items: center;
}
.hero-visual .badge {
  background: rgba(255,255,255,.85); border: 1px solid var(--shell-200);
  padding: 16px 22px; border-radius: 16px; text-align: center; box-shadow: var(--shadow-sm);
}
.hero-visual .badge strong { display: block; font-size: 22px; color: var(--turquoise-700); font-family: var(--serif); }
.hero-visual .badge span { font-size: 12px; color: var(--ink-400); }

/* ---------- 通用 section ---------- */
section { padding: 72px 0; }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 44px; }
.section-head .eyebrow { color: var(--turquoise-500); font-weight: 600; letter-spacing: 2px; font-size: 13px; text-transform: uppercase; }
.section-head h2 { font-size: clamp(24px, 3vw, 34px); margin: 10px 0 12px; color: var(--ink-900); }
.section-head p { color: var(--ink-600); }

/* ---------- 产品线卡片 ---------- */
.products { background: #fff; }
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.product-card {
  border: 1px solid var(--shell-200); border-radius: var(--radius); overflow: hidden;
  background: var(--shell-50); transition: .25s; display: flex; flex-direction: column;
}
.product-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--turquoise-300); }
.product-thumb { aspect-ratio: 16/10; display: grid; place-items: center; position: relative; }
.product-thumb.t1 { background: linear-gradient(135deg, #2a9d8f, #0f4d45); }
.product-thumb.t2 { background: linear-gradient(135deg, #f1e6d2, #d9c7a3); }
.product-thumb.t3 { background: linear-gradient(135deg, #7fcabf, #c9a227); }
.product-thumb .tag {
  position: absolute; top: 14px; left: 14px; background: rgba(255,255,255,.92);
  color: var(--turquoise-900); font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 999px;
}
.product-thumb .ph { color: rgba(255,255,255,.9); font-family: var(--serif); font-size: 30px; }
.product-body { padding: 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.product-body h3 { font-size: 19px; color: var(--ink-900); }
.product-body p { font-size: 14px; color: var(--ink-600); flex: 1; }
.product-body .meta { font-size: 13px; color: var(--turquoise-700); font-weight: 600; }
.product-body .more { font-size: 14px; color: var(--turquoise-700); font-weight: 600; align-self: flex-start; }

/* ---------- 优势 ---------- */
.why { background: linear-gradient(180deg, var(--shell-50), var(--shell-100)); }
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.feature {
  background: #fff; border: 1px solid var(--shell-200); border-radius: var(--radius);
  padding: 26px 22px; text-align: center; transition: .25s;
}
.feature:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.feature .ic { width: 48px; height: 48px; margin: 0 auto 14px; border-radius: 12px; background: var(--shell-100); display: grid; place-items: center; font-size: 22px; }
.feature h4 { font-size: 16px; margin-bottom: 8px; }
.feature p { font-size: 13px; color: var(--ink-600); }

/* ---------- 流程 ---------- */
.flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: step; }
.flow .step { position: relative; padding: 24px 18px; background: #fff; border-radius: var(--radius); border: 1px solid var(--shell-200); }
.flow .step::before {
  counter-increment: step; content: counter(step); position: absolute; top: -14px; left: 18px;
  width: 30px; height: 30px; border-radius: 50%; background: var(--turquoise-700); color: #fff;
  display: grid; place-items: center; font-weight: 700; font-size: 14px;
}
.flow .step h4 { margin: 8px 0 6px; font-size: 15px; }
.flow .step p { font-size: 13px; color: var(--ink-600); }

/* ---------- 数据条 ---------- */
.stats { background: var(--turquoise-900); color: #fff; }
.stats .stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stats .num { font-size: 34px; font-family: var(--serif); font-weight: 700; }
.stats .lbl { font-size: 13px; opacity: .82; margin-top: 4px; }

/* ---------- 页脚 ---------- */
.site-footer { background: var(--ink-900); color: #cfd8d4; padding: 54px 0 26px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 30px; }
.site-footer h5 { color: #fff; font-size: 15px; margin-bottom: 14px; }
.site-footer a, .site-footer p { font-size: 14px; color: #aeb9b4; line-height: 2; }
.site-footer a:hover { color: var(--turquoise-300); }
.footer-brand .logo { width: 36px; height: 36px; border-radius: 9px; background: linear-gradient(135deg,var(--turquoise-500),var(--turquoise-900)); display: grid; place-items: center; color: #fff; font-family: var(--serif); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 34px; padding-top: 18px; font-size: 13px; color: #8a958f; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }

/* ---------- 内页通用 ---------- */
.page-hero { background: linear-gradient(135deg, var(--turquoise-700), var(--turquoise-900)); color: #fff; padding: 60px 0; }
.page-hero h1 { font-size: clamp(26px,3.4vw,40px); }
.page-hero p { opacity: .9; margin-top: 8px; max-width: 640px; }

/* 产品中心 */
.prod-section { margin-bottom: 50px; }
.prod-section > h3 { font-size: 22px; color: var(--ink-900); margin-bottom: 6px; display: flex; align-items: center; gap: 10px; }
.prod-section > h3 .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--turquoise-500); }
.prod-section > .desc { color: var(--ink-600); margin-bottom: 20px; font-size: 15px; }
.prod-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.prod-item { border: 1px solid var(--shell-200); border-radius: 12px; overflow: hidden; background: #fff; transition: .2s; }
.prod-item:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.prod-item .pic { aspect-ratio: 4/3; display: grid; place-items: center; color: rgba(255,255,255,.9); font-family: var(--serif); font-size: 24px; }
.prod-item .pic.a { background: linear-gradient(135deg,#2a9d8f,#0f4d45); }
.prod-item .pic.b { background: linear-gradient(135deg,#efe2cb,#cdb78d); color:#6b5631; }
.prod-item .pic.c { background: linear-gradient(135deg,#7fcabf,#c9a227); }
.prod-item .info { padding: 14px 16px; }
.prod-item .info h4 { font-size: 15px; }
.prod-item .info span { font-size: 12px; color: var(--ink-400); }

/* 关于 */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.about-card { background: #fff; border: 1px solid var(--shell-200); border-radius: var(--radius); padding: 28px; }
.about-card h3 { margin-bottom: 12px; color: var(--ink-900); }
.about-card p { color: var(--ink-600); font-size: 15px; margin-bottom: 10px; }
.value-list { display: grid; grid-template-columns: repeat(2,1fr); gap: 14px; }
.value { background: var(--shell-50); border: 1px solid var(--shell-200); border-radius: 12px; padding: 16px; }
.value strong { color: var(--turquoise-700); display: block; margin-bottom: 4px; }

/* 联系表单 */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.form-field { margin-bottom: 16px; }
.form-field label { display: block; font-size: 14px; color: var(--ink-600); margin-bottom: 6px; }
.form-field input, .form-field textarea, .form-field select {
  width: 100%; padding: 12px 14px; border: 1px solid var(--shell-200); border-radius: 10px;
  font-family: var(--sans); font-size: 15px; background: #fff; color: var(--ink-900);
}
.form-field input:focus, .form-field textarea:focus, .form-field select:focus { outline: none; border-color: var(--turquoise-500); }
.contact-info .ci { display: flex; gap: 12px; align-items: flex-start; padding: 16px 0; border-bottom: 1px solid var(--shell-200); }
.contact-info .ci .ic { font-size: 20px; }
.contact-info .ci h4 { font-size: 15px; }
.contact-info .ci p { font-size: 14px; color: var(--ink-600); }

.note { font-size: 12px; color: var(--ink-400); margin-top: 8px; }

/* ---------- 响应式 ---------- */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .product-grid, .prod-list { grid-template-columns: repeat(2, 1fr); }
  .feature-grid, .stats .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .flow { grid-template-columns: repeat(2, 1fr); }
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-links {
    position: absolute; top: 68px; left: 0; right: 0; background: #fff; flex-direction: column;
    gap: 0; padding: 8px 22px 16px; border-bottom: 1px solid var(--shell-200); display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 0; border-bottom: 1px solid var(--shell-100); }
  .nav-links .nav-cta { margin-top: 10px; text-align: center; }
  .menu-toggle { display: block; }
}
@media (max-width: 560px) {
  .product-grid, .prod-list, .feature-grid, .stats .stat-grid, .flow, .footer-grid { grid-template-columns: 1fr; }
  section { padding: 54px 0; }
}

/* ---------- 真实产品图 ---------- */
.product-thumb { position: relative; overflow: hidden; background: #e9e4da; }
.product-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-visual { position: relative; overflow: hidden; }
.hero-visual > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15,77,69,.04), rgba(15,77,69,.42)); }
.hero-visual .badge { position: relative; z-index: 2; }
.prod-item .pic { position: relative; overflow: hidden; background: #e9e4da; }
.prod-item .pic img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* 产品实拍墙 */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.gallery figure { position: relative; border-radius: 12px; overflow: hidden; aspect-ratio: 1/1; background: #e9e4da; margin: 0; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s; }
.gallery figure:hover img { transform: scale(1.06); }
.gallery figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px 12px 10px; font-size: 12px; color: #fff; background: linear-gradient(transparent, rgba(0,0,0,.62)); }

/* 语言切换 */
.lang-switch { font-size: 13px !important; border: 1px solid var(--shell-200); border-radius: 999px; padding: 5px 12px !important; }
.lang-switch:hover { border-color: var(--turquoise-300); }
@media (max-width: 900px) { .gallery { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .gallery { grid-template-columns: repeat(2, 1fr); } }

/* ---------- 品牌 logo ---------- */
.brand-mark { width: 40px; height: 40px; object-fit: contain; display: block; flex: 0 0 auto; }
.footer-mark { width: 48px; height: 48px; object-fit: contain; display: block; margin-bottom: 8px; }
.brand-logo-display { text-align: center; }
.brand-logo-display img { width: 180px; height: 180px; object-fit: contain; margin: 0 auto; opacity: .95; }
