/* ================= 广州昆依熙商贸有限公司 静态站样式 ================= */
:root {
  --brand: #be123c;        /* 玫红主色 */
  --brand-deep: #9f0f33;
  --brand-light: #fdeef2;
  --ink: #2b2b2b;
  --ink-soft: #6b7280;
  --line: #f0e2e6;
  --dark: #23252b;
  --dark-soft: #191b20;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(190, 18, 60, .08);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: #fff;
  line-height: 1.7;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
.wrap { width: min(1180px, 92%); margin: 0 auto; }

/* ---------- 顶部导航 ---------- */
.site-header {
  position: sticky; top: 0; z-index: 99;
  background: linear-gradient(180deg, #fff5f7 0%, #ffffff 100%);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 0; gap: 20px; flex-wrap: wrap;
}
.logo { display: flex; align-items: center; gap: 10px; }
.logo-mark {
  width: 44px; height: 44px; border-radius: 50%;
  background: radial-gradient(circle at 32% 30%, #f9789a, var(--brand));
  color: #fff; font-weight: 800; font-size: 15px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 12px rgba(190, 18, 60, .35);
}
.logo-text b { color: var(--brand); font-size: 18px; letter-spacing: 1px; }
.logo-text span { display: block; font-size: 11px; color: var(--ink-soft); }
.main-nav { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.main-nav a {
  padding: 8px 13px; border-radius: 999px;
  font-size: 14px; color: #4b4b52; transition: .2s;
}
.main-nav a:hover { color: var(--brand); background: var(--brand-light); }
.main-nav a.active { color: #fff; background: var(--brand); }
.lang-btn {
  border: 1px solid var(--brand); color: var(--brand);
  font-size: 13px; padding: 5px 14px; border-radius: 999px;
  background: transparent; cursor: pointer;
}
.lang-btn:hover { background: var(--brand); color: #fff; }

/* ---------- 通用板块标题 ---------- */
.section { padding: 72px 0; }
.section-head { text-align: center; margin-bottom: 40px; }
.section-head .en {
  color: var(--brand); font-weight: 800; letter-spacing: 3px;
  font-size: 15px; text-transform: uppercase;
}
.section-head h2 { font-size: 28px; margin: 6px 0 10px; }
.section-head h2::after {
  content: ""; display: block; width: 46px; height: 3px;
  background: var(--brand); margin: 12px auto 0; border-radius: 2px;
}
.section-head p { color: var(--ink-soft); font-size: 15px; }

/* ---------- Hero 公司简介 ---------- */
.hero { background: linear-gradient(180deg, #fff7f9, #ffffff); padding: 80px 0 70px; }
.hero-inner { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.hero .en-title { color: var(--brand); font-size: 34px; font-weight: 900; letter-spacing: 2px; }
.hero h1 { font-size: 24px; margin: 10px 0 6px; }
.hero .sub { color: var(--ink-soft); margin-bottom: 22px; font-size: 15px; }
.hero .copy p { color: #55565c; font-size: 14.5px; margin-bottom: 14px; text-align: justify; }
.btn {
  display: inline-block; padding: 10px 30px; border-radius: 999px;
  border: 1.5px solid var(--brand); color: var(--brand);
  font-size: 14px; transition: .25s; cursor: pointer; background: transparent;
}
.btn:hover, .btn.solid { background: var(--brand); color: #fff; }
.btn.solid:hover { background: var(--brand-deep); }
.hero-visual { position: relative; }
.hero-visual .card-img {
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
  border: 1px solid var(--line);
}
.hero-visual .float-tag {
  position: absolute; left: -18px; bottom: 26px;
  background: #fff; border-radius: 12px; box-shadow: var(--shadow);
  padding: 12px 18px; font-size: 13px; color: var(--ink-soft);
}
.hero-visual .float-tag b { display: block; color: var(--brand); font-size: 20px; }

/* ---------- 玫红海外市场板块 ---------- */
.growth { background: var(--brand); color: #fff; padding: 74px 0; }
.growth-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 30px; flex-wrap: wrap; }
.growth h2 { font-size: 26px; }
.growth .en { opacity: .75; letter-spacing: 2px; font-size: 13px; margin-top: 4px; }
.stat-cards { display: flex; gap: 16px; flex-wrap: wrap; }
.stat-card {
  background: #fff; color: var(--brand); border-radius: var(--radius);
  padding: 16px 28px; text-align: center; min-width: 130px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, .15);
}
.stat-card b { font-size: 30px; display: block; }
.stat-card span { font-size: 12.5px; color: var(--ink-soft); }
.growth p.desc { margin: 22px 0 34px; font-size: 14px; opacity: .9; max-width: 900px; }
.region-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(128px, 1fr)); gap: 12px; }
.region {
  background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .25);
  border-radius: 10px; padding: 12px 8px; text-align: center;
  font-size: 13.5px; transition: .2s; cursor: default;
}
.region:hover { background: #fff; color: var(--brand); transform: translateY(-3px); }
.region b { display: block; font-size: 19px; }

/* ---------- 十大类产品 ---------- */
.categories { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; margin-bottom: 44px; }
.cat {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 10px; text-align: center; transition: .25s;
}
.cat:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--brand); }
.cat .ico { font-size: 30px; }
.cat h3 { font-size: 15px; margin-top: 8px; }
.cat span { font-size: 12px; color: var(--ink-soft); }
.products { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.product {
  background: #fff; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); transition: .25s;
}
.product:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.product .pic { aspect-ratio: 1/1; display: flex; align-items: center; justify-content: center; font-size: 60px; }
.product .pic img { width: 100%; height: 100%; object-fit: cover; }
.product .info { padding: 14px 16px 18px; }
.product .info h4 { font-size: 15px; }
.product .info p { font-size: 12.5px; color: var(--ink-soft); margin-top: 4px; }
.ph-gold { background: linear-gradient(135deg, #fdf4e7, #f6e3c8); }
.ph-pink { background: linear-gradient(135deg, #fdeef2, #f8d8e1); }

/* ---------- 资讯 ---------- */
.news-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.news-item {
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; background: #fff; transition: .25s; display: block;
}
.news-item:hover { border-color: var(--brand); box-shadow: var(--shadow); }
.news-item time { color: var(--brand); font-size: 13px; font-weight: 700; }
.news-item h3 { font-size: 16px; margin: 8px 0 6px; }
.news-item p { font-size: 13px; color: var(--ink-soft); }

/* ---------- 页脚 ---------- */
.site-footer { background: var(--dark); color: #b9bcc4; margin-top: 0; }
.footer-main {
  display: grid; grid-template-columns: 1.4fr 1fr 1.2fr 1fr;
  gap: 36px; padding: 56px 0 40px;
}
.footer-main h4 { color: #fff; font-size: 15px; margin-bottom: 14px; }
.footer-main p, .footer-main li { font-size: 13px; margin-bottom: 8px; }
.footer-main a:hover { color: #fff; }
.footer-tel b { color: #fff; font-size: 24px; letter-spacing: 1px; }
.footer-work { color: var(--ink-soft); font-size: 12px; }
.qr-box {
  width: 108px; height: 108px; border-radius: 10px; background: #fff;
  display: flex; align-items: center; justify-content: center;
  color: var(--ink-soft); font-size: 11px; text-align: center;
}
.footer-bottom {
  border-top: 1px solid #33363d; padding: 16px 0; text-align: center;
  font-size: 12px; color: #8a8d95;
}
.footer-bottom a { color: #8a8d95; }
.footer-bottom a:hover { color: #fff; }

/* ---------- 子页横幅 ---------- */
.page-banner {
  background: linear-gradient(120deg, var(--brand), #e0447a);
  color: #fff; padding: 56px 0; text-align: center;
}
.page-banner h1 { font-size: 30px; letter-spacing: 2px; }
.page-banner p { opacity: .85; font-size: 13.5px; margin-top: 6px; }
.crumbs { font-size: 13px; color: var(--ink-soft); padding: 14px 0; }
.crumbs a:hover { color: var(--brand); }

/* ---------- 内页卡片网格 ---------- */
.grid-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card {
  border: 1px solid var(--line); border-radius: var(--radius);
  background: #fff; padding: 24px; transition: .25s;
}
.card:hover { box-shadow: var(--shadow); border-color: var(--brand); }
.card .ico { font-size: 30px; }
.card h3 { font-size: 16px; margin: 10px 0 6px; }
.card p { font-size: 13px; color: var(--ink-soft); }

/* ---------- 联系页 ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: start; }
.contact-info li { display: flex; gap: 12px; margin-bottom: 16px; font-size: 14px; }
.contact-info .ico { color: var(--brand); font-size: 18px; }
.form { display: grid; gap: 14px; }
.form input, .form textarea {
  border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px;
  font-size: 14px; font-family: inherit; background: #fff;
}
.form input:focus, .form textarea:focus { outline: none; border-color: var(--brand); }
.form .submit {
  border: none; background: var(--brand); color: #fff; padding: 13px;
  border-radius: 999px; font-size: 15px; cursor: pointer;
}
.form .submit:hover { background: var(--brand-deep); }

/* ---------- 原图裁切系统（复用 sy.jpg 1903x3013 的像素，不编辑图片） ----------
   用法：<span class="clip" style="--fx:.165;--fy:.625;--fw:.1331;--fh:.115"><img src="img/sy.jpg" alt=""></span> */
.clip {
  position: relative; overflow: hidden; display: block;
  aspect-ratio: calc(var(--fw) * 1903) / calc(var(--fh) * 3013);
  background: #f7f7f7;
}
.clip img {
  position: absolute; border: 0; display: block;
  width: calc(100% / var(--fw)); height: auto;
  left: calc(-100% * var(--fx) / var(--fw));
  top: calc(-100% * var(--fy) / var(--fh));
  max-width: none;
}
/* 产品实拍条（五张并排展示原图照片行） */
.photo-band { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.photo-band .clip { border-radius: 12px; border: 1px solid var(--line); }

/* ---------- 响应式 ---------- */
@media (max-width: 960px) {
  .hero-inner, .contact-grid { grid-template-columns: 1fr; }
  .categories, .products { grid-template-columns: repeat(2, 1fr); }
  .news-list, .grid-cards { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  .main-nav { display: none; }
  .categories, .products { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: 1fr; }
}
