/* ============================================================
   Shengxin Jewelry — B2B Independent Site
   Style: white paper + rose gold accent, clean modern layout
   ============================================================ */

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font-family: var(--font-sans); color: var(--ink); background: var(--paper); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color var(--t-fast); }
button { font: inherit; border: 0; background: transparent; cursor: pointer; }
ul { list-style: none; padding: 0; margin: 0; }

/* --- Tokens --- */
:root {
  --rose-gold: #B76E79;
  --rose-gold-light: #D89AA1;
  --rose-gold-soft: #F5E6E8;
  --rose-gold-deep: #8E4F58;

  --ink: #1A1A1A;
  --ink-soft: #4A4A4A;
  --ink-muted: #8A8A8A;

  --paper: #FFFFFF;
  --paper-warm: #FBFAFA;
  --border: #ECEAEA;

  --shadow-sm: 0 1px 3px rgba(0,0,0,0.05);
  --shadow-md: 0 8px 24px rgba(0,0,0,0.06);
  --shadow-lg: 0 24px 48px rgba(0,0,0,0.10);

  --font-serif: "Cormorant Garamond", "Playfair Display", Georgia, "Times New Roman", serif;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --max-width: 1200px;
  --pad-x: clamp(20px, 5vw, 64px);

  --t-fast: 0.18s ease;
  --t-base: 0.28s ease;
}

/* --- Layout --- */
.container { max-width: var(--max-width); margin: 0 auto; padding-left: var(--pad-x); padding-right: var(--pad-x); }
.section { padding: clamp(64px, 10vw, 120px) 0; }
.section--warm { background: var(--paper-warm); }

/* --- Nav --- */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,0.92); backdrop-filter: saturate(160%) blur(10px); -webkit-backdrop-filter: saturate(160%) blur(10px); border-bottom: 1px solid var(--border); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; padding: 18px 0; gap: 24px; }
.brand { display: flex; align-items: baseline; gap: 10px; }
.brand__logo { font-family: var(--font-serif); font-size: 26px; font-weight: 500; letter-spacing: 0.01em; color: var(--ink); line-height: 1; }
.brand__logo em { font-style: italic; color: var(--rose-gold); font-weight: 400; }
.brand__tag { font-size: 10px; color: var(--ink-muted); letter-spacing: 0.20em; text-transform: uppercase; }

.nav__links { display: flex; gap: 28px; align-items: center; }
.nav__link { font-size: 14px; color: var(--ink-soft); letter-spacing: 0.02em; }
.nav__link:hover { color: var(--rose-gold); }
.nav__right { display: flex; gap: 12px; align-items: center; }
.nav__lang { font-size: 12px; color: var(--ink-muted); padding: 7px 12px; border: 1px solid var(--border); border-radius: 999px; letter-spacing: 0.04em; }
.nav__lang:hover { color: var(--rose-gold); border-color: var(--rose-gold-light); }
.nav__cta { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; background: var(--ink); color: #fff; border-radius: 999px; font-size: 13px; font-weight: 500; transition: background var(--t-fast); }
.nav__cta:hover { background: var(--rose-gold); }
@media (max-width: 820px) {
  .nav__links { display: none; }
}

/* --- Hero --- */
.hero { padding: clamp(72px, 12vw, 140px) 0 clamp(60px, 9vw, 110px); position: relative; }
.hero__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
@media (max-width: 920px) { .hero__grid { grid-template-columns: 1fr; } }

.hero__eyebrow { display: inline-flex; align-items: center; gap: 12px; font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--rose-gold); font-weight: 500; margin-bottom: 28px; }
.hero__eyebrow::before { content: ''; width: 36px; height: 1px; background: var(--rose-gold); }

.hero h1 { font-size: clamp(36px, 5.4vw, 64px); line-height: 1.06; font-weight: 600; letter-spacing: -0.02em; color: var(--ink); margin-bottom: 26px; }
.hero h1 .accent { color: var(--rose-gold); font-family: var(--font-serif); font-style: italic; font-weight: 400; }
.hero h1 .italic { font-family: var(--font-serif); font-style: italic; font-weight: 400; }

.hero__sub { font-size: clamp(16px, 1.5vw, 19px); color: var(--ink-soft); line-height: 1.7; max-width: 560px; margin-bottom: 36px; }
.hero__cta-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero__micro { display: flex; flex-wrap: wrap; gap: 18px 24px; margin-top: 30px; font-size: 13px; color: var(--ink-muted); }
.hero__micro span { display: inline-flex; align-items: center; gap: 8px; }
.hero__micro span::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--rose-gold); display: inline-block; }

.btn { display: inline-flex; align-items: center; gap: 10px; padding: 16px 28px; border-radius: 999px; font-size: 15px; font-weight: 500; transition: all var(--t-base); cursor: pointer; white-space: nowrap; }
.btn--primary { background: var(--rose-gold); color: #fff; box-shadow: 0 10px 24px rgba(183,110,121,0.28); }
.btn--primary:hover { background: var(--rose-gold-deep); transform: translateY(-1px); box-shadow: 0 14px 30px rgba(183,110,121,0.36); }
.btn--ghost { background: #fff; color: var(--ink); border: 1px solid var(--border); }
.btn--ghost:hover { border-color: var(--ink); }
.btn--wa { background: #25D366; color: #fff; box-shadow: 0 10px 24px rgba(37,211,102,0.30); }
.btn--wa:hover { background: #1FB958; transform: translateY(-1px); box-shadow: 0 14px 30px rgba(37,211,102,0.38); }
.btn svg { width: 18px; height: 18px; }

/* Hero visual */
.hero__visual { position: relative; aspect-ratio: 4/5; border-radius: 6px; overflow: hidden; background: var(--rose-gold-soft); box-shadow: var(--shadow-lg); }
.hero__visual img { width: 100%; height: 100%; object-fit: cover; }
.hero__pill { position: absolute; left: 22px; bottom: 22px; background: rgba(255,255,255,0.97); padding: 12px 18px; border-radius: 999px; box-shadow: var(--shadow-md); display: flex; gap: 12px; align-items: center; font-size: 13px; color: var(--ink); }
.hero__pill .dot { width: 8px; height: 8px; background: #25D366; border-radius: 50%; box-shadow: 0 0 0 4px rgba(37,211,102,0.20); animation: pulse 1.8s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 4px rgba(37,211,102,0.20); } 50% { box-shadow: 0 0 0 8px rgba(37,211,102,0.08); } }

@media (max-width: 920px) {
  .hero__visual { aspect-ratio: 4/3; max-width: 480px; margin: 0 auto; }
}

/* --- Trust strip --- */
.trust { background: var(--paper-warm); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 38px 0; }
.trust__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; text-align: center; }
@media (max-width: 720px) { .trust__grid { grid-template-columns: repeat(2, 1fr); gap: 32px; } }
.trust__item .num { font-family: var(--font-serif); font-size: clamp(30px, 3.6vw, 44px); color: var(--rose-gold); font-weight: 500; line-height: 1; letter-spacing: -0.01em; }
.trust__item .label { font-size: 12px; color: var(--ink-muted); letter-spacing: 0.10em; text-transform: uppercase; margin-top: 10px; }

/* --- Section headings --- */
.section__eyebrow { display: block; font-size: 11px; color: var(--rose-gold); letter-spacing: 0.24em; text-transform: uppercase; font-weight: 500; margin-bottom: 18px; text-align: center; }
.section__title { font-size: clamp(28px, 4.2vw, 46px); font-weight: 600; letter-spacing: -0.015em; text-align: center; max-width: 760px; margin: 0 auto 16px; line-height: 1.18; }
.section__title em { font-family: var(--font-serif); font-style: italic; font-weight: 400; color: var(--rose-gold); }
.section__sub { text-align: center; max-width: 660px; margin: 0 auto 60px; color: var(--ink-soft); font-size: 17px; line-height: 1.65; }

/* --- About / Why us --- */
.about__grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
@media (max-width: 920px) { .about__grid { grid-template-columns: 1fr; } }
.about__visual { aspect-ratio: 1/1; border-radius: 6px; overflow: hidden; background: var(--rose-gold-soft); position: relative; box-shadow: var(--shadow-lg); }
.about__visual img { width: 100%; height: 100%; object-fit: cover; }
.about__visual .tag { position: absolute; top: 20px; left: 20px; background: #fff; padding: 8px 14px; border-radius: 999px; font-size: 12px; color: var(--ink); box-shadow: var(--shadow-sm); letter-spacing: 0.06em; }
.about__visual .tag::before { content: ''; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--rose-gold); margin-right: 8px; vertical-align: middle; }

.feature { display: flex; gap: 20px; padding: 24px 0; border-top: 1px solid var(--border); }
.feature:last-of-type { border-bottom: 1px solid var(--border); }
.feature__icon { flex: 0 0 44px; height: 44px; border-radius: 50%; background: var(--rose-gold-soft); color: var(--rose-gold); display: flex; align-items: center; justify-content: center; font-family: var(--font-serif); font-size: 19px; font-weight: 500; }
.feature h3 { font-size: 17px; font-weight: 600; margin-bottom: 6px; }
.feature p { font-size: 14.5px; color: var(--ink-soft); line-height: 1.65; }

/* --- Products --- */
.products__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
@media (max-width: 920px) { .products__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .products__grid { grid-template-columns: 1fr; } }
.product { background: var(--paper); border: 1px solid var(--border); border-radius: 6px; overflow: hidden; transition: all var(--t-base); }
.product:hover { border-color: var(--rose-gold-light); transform: translateY(-4px); box-shadow: var(--shadow-md); }
.product__img { aspect-ratio: 1/1; overflow: hidden; background: var(--paper-warm); position: relative; }
.product__img img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--t-base); }
.product:hover .product__img img { transform: scale(1.04); }
.product__img .badge { position: absolute; top: 12px; left: 12px; background: rgba(255,255,255,0.94); padding: 5px 10px; border-radius: 999px; font-size: 11px; color: var(--ink); letter-spacing: 0.04em; }
.product__info { padding: 22px 22px 24px; }
.product__cat { font-size: 10px; letter-spacing: 0.20em; color: var(--rose-gold); text-transform: uppercase; font-weight: 500; margin-bottom: 10px; }
.product__name { font-size: 16px; font-weight: 600; color: var(--ink); line-height: 1.35; margin-bottom: 14px; min-height: 44px; }
.product__meta { display: flex; justify-content: space-between; align-items: baseline; padding-top: 14px; border-top: 1px solid var(--border); }
.product__price { font-family: var(--font-serif); font-size: 22px; color: var(--ink); font-weight: 500; }
.product__moq { font-size: 12px; color: var(--ink-muted); }

/* --- Process --- */
.process__grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 28px; counter-reset: step; }
@media (max-width: 920px) { .process__grid { grid-template-columns: repeat(2, 1fr); gap: 32px; } }
@media (max-width: 480px) { .process__grid { grid-template-columns: 1fr; } }
.step { counter-increment: step; position: relative; }
.step__num { font-family: var(--font-serif); font-size: 36px; color: var(--rose-gold); font-style: italic; font-weight: 400; line-height: 1; margin-bottom: 22px; display: inline-block; border-bottom: 1px solid var(--rose-gold-light); padding-bottom: 8px; }
.step__num::before { content: counter(step, decimal-leading-zero); }
.step h3 { font-size: 17px; font-weight: 600; margin-bottom: 8px; }
.step p { font-size: 14.5px; color: var(--ink-soft); line-height: 1.6; }

/* --- FAQ --- */
.faq { max-width: 820px; margin: 0 auto; }
.faq__item { border-bottom: 1px solid var(--border); }
.faq__q { width: 100%; display: flex; justify-content: space-between; align-items: center; padding: 24px 0; font-size: 17px; font-weight: 500; color: var(--ink); cursor: pointer; text-align: left; gap: 16px; transition: color var(--t-fast); }
.faq__q:hover { color: var(--rose-gold); }
.faq__q .icon { font-size: 22px; color: var(--rose-gold); transition: transform var(--t-base); flex: 0 0 24px; line-height: 1; }
.faq__item.open .faq__q .icon { transform: rotate(45deg); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height var(--t-base); }
.faq__a-inner { padding: 0 0 26px; font-size: 15px; color: var(--ink-soft); line-height: 1.75; }
.faq__item.open .faq__a { max-height: 360px; }

/* --- Contact --- */
.contact__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(40px, 6vw, 80px); align-items: start; }
@media (max-width: 920px) { .contact__grid { grid-template-columns: 1fr; } }
.contact__info h2 { font-size: clamp(28px, 3.6vw, 40px); font-weight: 600; line-height: 1.18; margin-bottom: 22px; letter-spacing: -0.015em; }
.contact__info h2 em { font-family: var(--font-serif); font-style: italic; font-weight: 400; color: var(--rose-gold); }
.contact__info p { color: var(--ink-soft); font-size: 16px; line-height: 1.7; margin-bottom: 32px; }
.contact__list li { display: flex; gap: 14px; padding: 14px 0; font-size: 14.5px; color: var(--ink-soft); border-top: 1px solid var(--border); align-items: center; }
.contact__list li:last-child { border-bottom: 1px solid var(--border); }
.contact__list strong { color: var(--ink); font-weight: 600; min-width: 96px; font-size: 13px; letter-spacing: 0.02em; }
.contact__list a { color: var(--rose-gold); }
.contact__list a:hover { color: var(--rose-gold-deep); }

.form { background: #fff; padding: 36px; border-radius: 10px; border: 1px solid var(--border); box-shadow: var(--shadow-md); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 520px) { .form__row { grid-template-columns: 1fr; } .form { padding: 26px; } }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 12.5px; color: var(--ink-muted); margin-bottom: 8px; letter-spacing: 0.05em; text-transform: uppercase; font-weight: 500; }
.field input, .field textarea, .field select { width: 100%; padding: 13px 14px; border: 1px solid var(--border); border-radius: 8px; font: inherit; color: var(--ink); background: #fff; transition: border-color var(--t-fast); }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--rose-gold); box-shadow: 0 0 0 3px rgba(183,110,121,0.12); }
.field textarea { min-height: 120px; resize: vertical; }
.form__submit { width: 100%; padding: 16px; background: var(--ink); color: #fff; border-radius: 999px; font-size: 15px; font-weight: 500; transition: background var(--t-fast); margin-top: 6px; }
.form__submit:hover { background: var(--rose-gold); }
.form__note { font-size: 12px; color: var(--ink-muted); margin-top: 14px; text-align: center; }
.form__success { display: none; padding: 18px; margin-bottom: 18px; border-radius: 8px; background: #e7f6ec; color: #1a7a3a; font-size: 14px; line-height: 1.5; }
.form__success.show { display: block; }

/* Footer legal/registered info block — for invoice-match verification */
.footer__legal { padding: 28px 0 24px; border-top: 1px solid #2a2a2a; border-bottom: 1px solid #2a2a2a; margin-bottom: 28px; font-size: 12.5px; color: #9a9a9a; line-height: 1.8; }
.footer__legal > div { padding: 3px 0; }
.footer__legal strong { color: #e0e0e0; font-weight: 500; letter-spacing: 0.04em; }
@media (max-width: 560px) { .footer__legal { font-size: 11.5px; } }

/* --- Footer --- */
.footer { background: #141414; color: #c8c8c8; padding: 64px 0 28px; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 48px; }
@media (max-width: 760px) { .footer__grid { grid-template-columns: 1fr 1fr; gap: 36px; } }
.footer__col h4 { color: #fff; font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; margin-bottom: 18px; font-weight: 500; }
.footer__col li { padding: 6px 0; font-size: 14px; color: #a8a8a8; }
.footer__col a:hover { color: var(--rose-gold-light); }
.footer__brand .brand__logo { color: #fff; font-size: 24px; }
.footer__brand p { font-size: 14px; color: #999; line-height: 1.6; margin-top: 16px; max-width: 320px; }
.footer__bar { border-top: 1px solid #2a2a2a; padding-top: 24px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 13px; color: #6f6f6f; }

/* --- WhatsApp Float --- */
.wa-float { position: fixed; right: 24px; bottom: 24px; z-index: 100; width: 60px; height: 60px; border-radius: 50%; background: #25D366; color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 12px 32px rgba(37,211,102,0.34); transition: transform var(--t-base); text-decoration: none; }
.wa-float:hover { transform: translateY(-2px) scale(1.04); }
.wa-float svg { width: 30px; height: 30px; }
@media (max-width: 480px) { .wa-float { right: 16px; bottom: 16px; width: 56px; height: 56px; } }

/* --- Utility --- */
.text-rose { color: var(--rose-gold); }
.center { text-align: center; }
.mt-2 { margin-top: 24px; }

/* Reveal animation */
.fade { opacity: 0; transform: translateY(16px); transition: opacity 0.7s ease, transform 0.7s ease; }
.fade.in { opacity: 1; transform: translateY(0); }

/* Skip focus for keyboard users */
:focus-visible { outline: 2px solid var(--rose-gold); outline-offset: 3px; }
