/* =========================================================
   Yangjinghe International Trade — official website styles
   Palette: warm cinnabar red (logo) + champagne gold + cream
   ========================================================= */

:root {
  --c-red:        #B91C2C;   /* logo red */
  --c-red-dark:   #8C1622;
  --c-gold:       #C8A95E;   /* logo gold accent */
  --c-gold-soft:  #E6D9B8;
  --c-cream:      #FAF8F5;
  --c-paper:      #F4EFE7;
  --c-ink:        #1F2937;
  --c-ink-soft:   #4B5563;
  --c-muted:      #6B7280;
  --c-line:       #E6DFD3;
  --c-white:      #FFFFFF;

  --font-serif-en: 'Cormorant Garamond', 'Times New Roman', serif;
  --font-serif-cn: 'Noto Serif SC', 'Songti SC', serif;
  --font-sans:    'Inter', -apple-system, BlinkMacSystemFont, 'PingFang SC',
                  'Microsoft YaHei', sans-serif;

  --shadow-soft:  0 10px 30px -12px rgba(31, 41, 55, 0.18);
  --shadow-card:  0 18px 50px -22px rgba(31, 41, 55, 0.25);

  --radius:       14px;
  --maxw:         1180px;
}

/* ---------- Reset ---------- */
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

body {
  font-family: var(--font-sans);
  color: var(--c-ink);
  background: var(--c-cream);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 30px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.02em;
  border: 1px solid transparent;
  transition: all .25s ease;
}
.btn-primary {
  background: var(--c-red);
  color: var(--c-white);
  box-shadow: 0 10px 22px -10px rgba(185, 28, 44, 0.6);
}
.btn-primary:hover {
  background: var(--c-red-dark);
  transform: translateY(-1px);
}
.btn-ghost {
  background: transparent;
  color: var(--c-ink);
  border-color: var(--c-ink);
}
.btn-ghost:hover {
  background: var(--c-ink);
  color: var(--c-white);
}
.btn-light {
  background: var(--c-white);
  color: var(--c-red);
  font-weight: 600;
}
.btn-light:hover {
  background: var(--c-gold-soft);
  color: var(--c-red-dark);
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 248, 245, 0.85);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid rgba(230, 223, 211, 0.6);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand-mark {
  width: 42px;
  height: 42px;
  object-fit: contain;
}
.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.brand-cn {
  font-family: var(--font-serif-cn);
  font-weight: 600;
  font-size: 18px;
  color: var(--c-red);
}
.brand-en {
  font-family: var(--font-serif-en);
  font-weight: 600;
  letter-spacing: 0.18em;
  font-size: 11px;
  color: var(--c-ink-soft);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav-links a {
  font-size: 14px;
  color: var(--c-ink-soft);
  font-weight: 500;
  position: relative;
  padding: 6px 0;
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--c-red);
  transition: all .25s ease;
  transform: translateX(-50%);
}
.nav-links a:hover { color: var(--c-red); }
.nav-links a:hover::after { width: 22px; }

.nav-cta {
  padding: 10px 22px;
  border-radius: 999px;
  background: var(--c-red);
  color: var(--c-white) !important;
  border: 1px solid var(--c-red);
}
.nav-cta::after { display: none; }
.nav-cta:hover { background: var(--c-red-dark); }

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  width: 36px;
  height: 36px;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--c-ink);
  margin: 0 auto;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 110px 0 100px;
  background:
      radial-gradient(1200px 600px at 80% -10%, rgba(200, 169, 94, 0.18), transparent 60%),
      radial-gradient(900px 500px at 0% 100%, rgba(185, 28, 44, 0.08), transparent 60%),
      var(--c-cream);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 12% 90%, rgba(200, 169, 94, 0.22) 0, transparent 36%),
    radial-gradient(circle at 88% 12%, rgba(185, 28, 44, 0.10) 0, transparent 40%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  text-align: center;
}
.eyebrow {
  font-size: 12px;
  letter-spacing: 0.28em;
  color: var(--c-red);
  text-transform: uppercase;
  font-weight: 600;
  margin: 0 0 22px;
}
.eyebrow.light { color: rgba(255, 255, 255, 0.85); }

.hero-title {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.hero-title .cn {
  font-family: var(--font-serif-cn);
  font-weight: 600;
  font-size: clamp(34px, 5vw, 56px);
  color: var(--c-ink);
  letter-spacing: 0.04em;
}
.hero-title .en {
  font-family: var(--font-serif-en);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(18px, 2vw, 24px);
  color: var(--c-ink-soft);
  letter-spacing: 0.02em;
}

.hero-sub {
  margin: 32px auto 0;
  max-width: 640px;
  font-size: 16px;
  color: var(--c-ink-soft);
  line-height: 1.85;
}

.hero-actions {
  margin-top: 40px;
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-stats {
  margin-top: 72px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  border-top: 1px solid var(--c-line);
  padding-top: 32px;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}
.hero-stats div {
  text-align: center;
}
.hero-stats strong {
  display: block;
  font-family: var(--font-serif-en);
  font-size: 36px;
  color: var(--c-red);
  font-weight: 600;
}
.hero-stats span {
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--c-muted);
  text-transform: uppercase;
}

/* ---------- Sections ---------- */
.section {
  padding: 110px 0;
}
.section-eyebrow {
  font-size: 12px;
  letter-spacing: 0.28em;
  color: var(--c-red);
  font-weight: 600;
  margin: 0 0 14px;
  text-transform: uppercase;
}
.section-title {
  font-family: var(--font-serif-cn);
  font-weight: 600;
  font-size: clamp(28px, 3.6vw, 42px);
  letter-spacing: 0.02em;
  color: var(--c-ink);
  margin: 0 0 18px;
}
.section-sub {
  max-width: 640px;
  margin: 0 auto;
  color: var(--c-ink-soft);
  font-size: 15px;
}
.section-head {
  margin-bottom: 64px;
}
.section-head.center {
  text-align: center;
}

/* ---------- About ---------- */
.two-col {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 80px;
  align-items: center;
}
.col-text .lead {
  font-size: 18px;
  color: var(--c-ink);
  font-weight: 500;
  margin: 0 0 22px;
}
.col-text p { color: var(--c-ink-soft); margin: 0 0 16px; }
.col-text em { color: var(--c-red); font-style: normal; font-weight: 500; }

.col-media {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 0.6fr;
  gap: 18px;
}
.media-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  background: var(--c-paper);
  aspect-ratio: 4 / 5;
}
.media-card.small {
  aspect-ratio: 4 / 5;
  transform: translateY(40px);
}
.media-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.media-tag {
  position: absolute;
  bottom: 16px;
  left: 16px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--c-red);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 11px;
  letter-spacing: 0.18em;
  font-weight: 600;
}

/* ---------- Values ---------- */
.values {
  background: var(--c-paper);
  position: relative;
}
.values::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(800px 400px at 50% 0%, rgba(255,255,255,0.6), transparent 70%);
  pointer-events: none;
}
.values-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.value-card {
  background: var(--c-white);
  padding: 36px 28px 30px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  position: relative;
  transition: transform .25s ease;
}
.value-card:hover { transform: translateY(-6px); }
.value-no {
  font-family: var(--font-serif-en);
  font-size: 38px;
  color: var(--c-gold);
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-bottom: 16px;
}
.value-card h3 {
  font-family: var(--font-serif-en);
  font-weight: 600;
  font-size: 26px;
  margin: 0 0 6px;
  color: var(--c-ink);
}
.value-card h3 span {
  font-family: var(--font-serif-cn);
  font-size: 14px;
  font-weight: 500;
  color: var(--c-red);
  margin-left: 10px;
  letter-spacing: 0.06em;
}
.value-card p {
  color: var(--c-ink-soft);
  font-size: 14.5px;
  margin: 12px 0 0;
  line-height: 1.75;
}

/* ---------- Products ---------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.product-card {
  background: var(--c-white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: transform .25s ease, box-shadow .25s ease;
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card);
}
.product-img {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--c-paper);
}
.product-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .8s ease;
}
.product-card:hover .product-img img { transform: scale(1.05); }
.product-info {
  padding: 24px 24px 28px;
}
.product-info h3 {
  font-family: var(--font-serif-en);
  font-weight: 600;
  font-size: 22px;
  margin: 0 0 8px;
  color: var(--c-ink);
}
.product-info p {
  margin: 0 0 14px;
  color: var(--c-ink-soft);
  font-size: 14.5px;
}
.product-tag {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--c-red);
  background: rgba(185, 28, 44, 0.08);
  padding: 6px 12px;
  border-radius: 999px;
  font-weight: 600;
}
.products-note {
  text-align: center;
  margin-top: 48px;
  color: var(--c-muted);
  font-size: 14px;
}

/* ---------- Services ---------- */
.services { background: var(--c-paper); }
.service-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  position: relative;
}
.service-steps::before {
  content: '';
  position: absolute;
  top: 28px;
  left: 8%;
  right: 8%;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--c-gold-soft), var(--c-gold), var(--c-gold-soft), transparent);
}
.step {
  background: var(--c-white);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  position: relative;
  box-shadow: var(--shadow-soft);
  transition: transform .25s ease;
}
.step:hover { transform: translateY(-4px); }
.step-no {
  font-family: var(--font-serif-en);
  font-size: 28px;
  font-weight: 600;
  color: var(--c-white);
  background: var(--c-red);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: -56px auto 18px;
  box-shadow: 0 10px 22px -10px rgba(185, 28, 44, 0.55);
}
.step h3 {
  font-family: var(--font-serif-en);
  font-weight: 600;
  font-size: 20px;
  margin: 0 0 10px;
  color: var(--c-ink);
}
.step p {
  font-size: 14.5px;
  color: var(--c-ink-soft);
  margin: 0;
}

/* ---------- CTA ---------- */
.cta {
  background:
      radial-gradient(600px 300px at 20% 50%, rgba(255,255,255,0.08), transparent 70%),
      var(--c-red);
  color: var(--c-white);
  padding: 90px 0;
}
.cta-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}
.cta h2 {
  font-family: var(--font-serif-cn);
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 600;
  margin: 12px 0 8px;
  letter-spacing: 0.02em;
}
.cta-sub { opacity: 0.9; font-size: 16px; }

/* ---------- Contact ---------- */
.contact-grid { align-items: start; }
.contact-list {
  list-style: none;
  margin: 32px 0 0;
  padding: 0;
}
.contact-list li {
  display: flex;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--c-line);
  font-size: 14.5px;
}
.contact-list li span {
  flex: 0 0 90px;
  color: var(--c-muted);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding-top: 2px;
}
.contact-list li strong {
  color: var(--c-ink);
  font-weight: 500;
}
.contact-link {
  color: var(--c-red);
  border-bottom: 1px dashed rgba(185, 28, 44, 0.4);
  transition: border-color .2s ease;
}
.contact-link:hover { border-bottom-color: var(--c-red); }
.footer-link { color: #E6D9B8; }
.footer-link:hover { color: var(--c-white); }

.contact-form {
  background: var(--c-white);
  padding: 36px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  display: grid;
  gap: 18px;
}
.contact-form label {
  display: grid;
  gap: 8px;
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--c-muted);
  text-transform: uppercase;
  font-weight: 600;
}
.contact-form input,
.contact-form textarea {
  font-family: inherit;
  font-size: 15px;
  color: var(--c-ink);
  padding: 12px 14px;
  border: 1px solid var(--c-line);
  border-radius: 10px;
  background: var(--c-cream);
  text-transform: none;
  letter-spacing: normal;
  font-weight: 400;
  transition: border-color .2s ease, background .2s ease;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--c-red);
  background: var(--c-white);
}
.contact-form textarea { resize: vertical; }
.contact-form .btn { justify-self: start; }
.form-ok {
  display: none;
  margin: 0;
  color: var(--c-red);
  font-size: 14px;
  font-weight: 500;
}

/* ---------- Footer ---------- */
.site-footer {
  background: #16191F;
  color: #B8B2A6;
  padding: 50px 0;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}
.footer-brand img {
  width: 44px;
  height: 44px;
  filter: brightness(0) invert(1);
  opacity: 0.92;
}
.footer-brand .fn {
  margin: 0;
  color: var(--c-white);
  font-family: var(--font-serif-cn);
  font-weight: 500;
  font-size: 16px;
}
.footer-brand .fen {
  margin: 4px 0 0;
  font-family: var(--font-serif-en);
  font-style: italic;
  font-size: 13px;
  color: #B8B2A6;
}
.footer-meta {
  text-align: right;
  font-size: 13px;
}
.footer-meta p { margin: 2px 0; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .two-col { grid-template-columns: 1fr; gap: 48px; }
  .col-media { max-width: 460px; }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .service-steps { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .service-steps::before { display: none; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  .nav-links {
    position: fixed;
    inset: 76px 0 0 0;
    background: var(--c-cream);
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 28px;
    padding: 60px 24px 40px;
    transform: translateX(100%);
    transition: transform .35s ease;
    border-top: 1px solid var(--c-line);
  }
  .nav-toggle { display: flex; }
  body.nav-open .nav-links { transform: translateX(0); }

  .section { padding: 80px 0; }
  .hero { padding: 80px 0 80px; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .hero-stats strong { font-size: 28px; }

  .values-grid { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: 1fr; }
  .service-steps { grid-template-columns: 1fr; }

  .cta-inner { flex-direction: column; text-align: center; }
  .footer-inner { flex-direction: column; text-align: center; }
  .footer-meta { text-align: center; }

  .contact-form { padding: 24px; }
}

@media (max-width: 420px) {
  .hero-title .cn { font-size: 30px; }
  .brand-en { display: none; }
}