/* Gansu Yongxin Trading — refined corporate theme */
:root {
  --ink: #0c0f14;
  --muted: #5a6270;
  --line: rgba(12, 15, 20, 0.08);
  --paper: #f3f0e8;
  --paper-2: #ebe6dc;
  --white: #fffefc;
  --brand: #0f4d4a;
  --brand-mid: #16635f;
  --brand-bright: #1e7a75;
  --brand-dark: #0a3836;
  --gold: #b8923f;
  --gold-soft: rgba(184, 146, 63, 0.22);
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 22px 50px rgba(12, 15, 20, 0.07);
  --shadow-lg: 0 32px 64px rgba(15, 77, 74, 0.12);
  --font-display: "Cormorant Garamond", "Times New Roman", serif;
  --font-body: "Outfit", system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.04rem;
  line-height: 1.65;
  color: var(--ink);
  background-color: var(--paper);
  background-image:
    radial-gradient(ellipse 120% 80% at 100% -10%, rgba(15, 77, 74, 0.06), transparent 45%),
    radial-gradient(ellipse 80% 50% at -5% 40%, var(--gold-soft), transparent 42%);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--brand-mid);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.wrap {
  width: min(1140px, 92vw);
  margin-inline: auto;
}

.inline-code {
  font-family: ui-monospace, monospace;
  font-size: 0.88em;
  background: rgba(15, 77, 74, 0.08);
  padding: 0.12em 0.4em;
  border-radius: 6px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(243, 240, 232, 0.78);
  backdrop-filter: blur(16px) saturate(1.2);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0.9rem 0;
  flex-wrap: wrap;
}

.logo {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.35rem;
  letter-spacing: 0.02em;
  color: var(--ink);
  text-decoration: none;
  line-height: 1.15;
}

.logo:hover {
  text-decoration: none;
  color: var(--brand);
}

.logo span {
  display: block;
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 0.2rem;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 0.15rem;
  align-items: center;
  padding: 0.2rem;
  background: rgba(255, 254, 252, 0.6);
  border-radius: 999px;
  border: 1px solid var(--line);
}

.nav a {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  transition: background 0.2s, color 0.2s;
}

.nav a:hover {
  color: var(--brand-dark);
  background: rgba(15, 77, 74, 0.08);
  text-decoration: none;
}

.nav-cta {
  background: linear-gradient(135deg, var(--brand), var(--brand-mid)) !important;
  color: var(--white) !important;
  box-shadow: 0 4px 16px rgba(15, 77, 74, 0.28);
}

.nav-cta:hover {
  background: linear-gradient(135deg, var(--brand-dark), var(--brand)) !important;
  color: var(--white) !important;
}

/* Hero */
.hero {
  padding: 5rem 0 4.5rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 40% at 85% 15%, rgba(184, 146, 63, 0.18), transparent 60%),
    radial-gradient(ellipse 45% 35% at 10% 85%, rgba(15, 99, 95, 0.12), transparent 55%);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.35;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3.5rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brand-mid);
  margin-bottom: 1rem;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: linear-gradient(90deg, var(--gold), rgba(184, 146, 63, 0.2));
}

.eyebrow--section {
  margin-bottom: 0.65rem;
}

.eyebrow--section::before {
  width: 36px;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.35rem, 4.8vw, 3.45rem);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: 0.01em;
  margin: 0 0 1.15rem;
  color: var(--ink);
}

.lead {
  font-size: 1.08rem;
  font-weight: 400;
  color: var(--muted);
  max-width: 38ch;
  margin: 0 0 1.85rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.82rem 1.5rem;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9rem;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: linear-gradient(135deg, var(--brand), var(--brand-bright));
  color: var(--white);
  box-shadow: 0 10px 28px rgba(15, 77, 74, 0.32);
}

.btn-primary:hover {
  filter: brightness(1.05);
  text-decoration: none;
  color: var(--white);
  box-shadow: 0 14px 36px rgba(15, 77, 74, 0.38);
}

.btn-ghost {
  background: var(--white);
  color: var(--ink);
  border: 1px solid var(--line);
  box-shadow: 0 4px 14px rgba(12, 15, 20, 0.04);
}

.btn-ghost:hover {
  border-color: rgba(15, 77, 74, 0.25);
  color: var(--brand-dark);
  text-decoration: none;
}

.stat-row {
  display: flex;
  gap: 2rem;
  margin-top: 2.75rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
  flex-wrap: wrap;
}

.stat {
  min-width: 118px;
}

.stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 600;
  color: var(--brand-dark);
}

.stat span {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--muted);
}

.hero-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem 2rem 2.1rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.8);
  position: relative;
  overflow: hidden;
  animation: cardIn 0.85s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--brand-mid), var(--gold));
  opacity: 0.9;
}

@keyframes cardIn {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-card h2 {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 600;
  margin: 0 0 0.85rem;
}

.hero-card p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.65;
}

/* Sections */
section {
  padding: 4.5rem 0;
  position: relative;
}

section.alt {
  background: linear-gradient(180deg, var(--white) 0%, #faf9f6 100%);
  border-block: 1px solid var(--line);
}

.section-head {
  max-width: 560px;
  margin-bottom: 2.75rem;
}

.section-head--wide {
  max-width: 680px;
}

.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3.2vw, 2.5rem);
  font-weight: 600;
  margin: 0 0 0.85rem;
  letter-spacing: 0.02em;
  color: var(--ink);
}

.section-head p {
  margin: 0;
  color: var(--muted);
  font-weight: 400;
  line-height: 1.7;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.35rem;
}

@media (max-width: 900px) {
  .grid-3 {
    grid-template-columns: 1fr;
  }
}

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.65rem 1.6rem 1.75rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s;
  position: relative;
  overflow: hidden;
}

section#industries .card {
  background: rgba(255, 254, 252, 0.85);
}

.card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(184, 146, 63, 0.5), transparent);
  opacity: 0;
  transition: opacity 0.25s;
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(15, 77, 74, 0.14);
  box-shadow: var(--shadow);
}

.card:hover::before {
  opacity: 1;
}

.card-num {
  display: block;
  font-family: var(--font-display);
  font-size: 2.75rem;
  font-weight: 600;
  line-height: 1;
  color: rgba(15, 77, 74, 0.12);
  margin-bottom: 0.35rem;
  letter-spacing: 0.02em;
}

.card h3 {
  font-family: var(--font-display);
  font-size: 1.22rem;
  font-weight: 600;
  margin: 0 0 0.55rem;
  color: var(--ink);
}

.card p {
  margin: 0;
  font-size: 0.93rem;
  color: var(--muted);
  line-height: 1.65;
}

/* About */
.about-section {
  position: relative;
}

.about-split {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3rem;
  align-items: start;
}

@media (max-width: 900px) {
  .about-split {
    grid-template-columns: 1fr;
  }
}

.about-prose .about-lead {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--brand-dark);
  line-height: 1.45;
  margin: 0 0 1.5rem;
}

ul.checks {
  margin: 0;
  padding: 0;
  list-style: none;
}

ul.checks li {
  position: relative;
  padding-left: 1.35rem;
  margin-bottom: 0.75rem;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.55;
}

ul.checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 5px;
  height: 5px;
  border-radius: 1px;
  background: var(--gold);
  rotate: 45deg;
}

.about-panels {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.glass-panel {
  background: linear-gradient(145deg, rgba(255, 254, 252, 0.95), rgba(243, 240, 232, 0.5));
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: var(--radius-sm);
  padding: 1.35rem 1.45rem;
  box-shadow: 0 12px 32px rgba(12, 15, 20, 0.05);
  backdrop-filter: blur(8px);
}

.glass-panel--wide {
  padding: 1.5rem 1.45rem;
}

.glass-panel__label {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.35rem;
}

.glass-panel__value {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 600;
  color: var(--brand-dark);
  line-height: 1.1;
}

.glass-panel__hint {
  font-size: 0.82rem;
  color: var(--muted);
  margin-top: 0.25rem;
  display: block;
}

.glass-panel__text {
  margin: 0;
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.6;
}

/* Video */
.video-frame {
  position: relative;
  padding: 12px;
  border-radius: calc(var(--radius) + 6px);
  background: linear-gradient(145deg, var(--paper-2), var(--white));
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.video-frame__chrome {
  position: absolute;
  inset: 20px;
  border-radius: var(--radius);
  border: 1px solid rgba(184, 146, 63, 0.25);
  pointer-events: none;
  z-index: 0;
}

.video-block {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--ink);
  box-shadow: inset 0 2px 12px rgba(0, 0, 0, 0.35);
  position: relative;
  z-index: 1;
}

.video-block video {
  width: 100%;
  display: block;
}

.video-note {
  margin-top: 1.15rem;
  font-size: 0.87rem;
  color: var(--muted);
}

/* Resources */
.res-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.35rem;
}

@media (max-width: 700px) {
  .res-grid {
    grid-template-columns: 1fr;
  }
}

.res-tile {
  background: linear-gradient(145deg, var(--brand-dark) 0%, var(--brand) 40%, #1a706b 100%);
  color: var(--white);
  border-radius: var(--radius);
  padding: 2rem 2rem 1.85rem;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  min-height: 196px;
  transition: transform 0.28s ease, box-shadow 0.28s ease;
  border: 1px solid rgba(255, 255, 255, 0.12);
  position: relative;
  overflow: hidden;
}

.res-tile::after {
  content: "";
  position: absolute;
  top: -40%;
  right: -20%;
  width: 60%;
  height: 120%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.12), transparent 65%);
  pointer-events: none;
}

.res-tile:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: 0 28px 56px rgba(15, 77, 74, 0.35);
  text-decoration: none;
  color: var(--white);
}

.res-tile span {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.88;
  position: relative;
  z-index: 1;
}

.res-tile strong {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  position: relative;
  z-index: 1;
}

.res-tile p {
  margin: 0;
  font-size: 0.9rem;
  opacity: 0.92;
  margin-top: auto;
  position: relative;
  z-index: 1;
  line-height: 1.55;
}

/* Contact */
.contact-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: stretch;
}

@media (max-width: 800px) {
  .contact-box {
    grid-template-columns: 1fr;
  }
}

dl.meta {
  margin: 0;
  display: grid;
  gap: 1.15rem;
}

.meta--card {
  background: var(--white);
  padding: 1.85rem 1.9rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

dl.meta dt {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.35rem;
}

dl.meta dd {
  margin: 0;
  font-weight: 500;
  font-size: 0.98rem;
  color: var(--ink);
  line-height: 1.5;
}

.contact-cta {
  border-radius: var(--radius);
  padding: 2px;
  background: linear-gradient(135deg, var(--gold), var(--brand-mid), var(--gold-soft));
  box-shadow: var(--shadow-lg);
}

.contact-cta__inner {
  background: var(--white);
  border-radius: calc(var(--radius) - 2px);
  padding: 2rem 2rem 2.1rem;
  height: 100%;
}

.contact-cta__inner h2 {
  font-family: var(--font-display);
  font-size: 1.55rem;
  margin: 0 0 0.85rem;
}

.contact-cta__inner p {
  margin: 0 0 1.35rem;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.65;
}

/* Footer */
.site-footer {
  background: linear-gradient(180deg, #0a0c10 0%, var(--ink) 100%);
  color: #94a3b8;
  padding: 2.75rem 0 2.25rem;
  font-size: 0.86rem;
}

.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  justify-content: space-between;
  align-items: center;
}

.site-footer strong {
  color: #e8eaf0;
}

.site-footer p {
  margin: 0;
}
