/* Shandong Zhisheng Co., Ltd. — site styles */

:root {
  --ink: #141c28;
  --navy: #1a2b44;
  --navy-deep: #101820;
  --gold: #b8893e;
  --gold-soft: #d4b072;
  --cream: #f4f0e8;
  --paper: #fbfaf7;
  --muted: #5c6470;
  --line: #ddd6c8;
  --white: #ffffff;
  --note: #6b5344;
  --max: 70rem;
  --header-h: 4.25rem;
  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --font-ar: "Noto Naskh Arabic", "Noto Sans Arabic", "Segoe UI", Tahoma, Arial, sans-serif;
  --shadow: 0 1px 2px rgba(16, 24, 32, 0.06), 0 10px 28px rgba(16, 24, 32, 0.07);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 0.75rem);
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

html[lang="ar"] body,
html[lang="ar"] button,
html[lang="ar"] input {
  font-family: var(--font-ar);
}

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

a { color: var(--navy); text-underline-offset: 0.15em; }
a:hover { color: #0d3a7a; }

:focus { outline: none; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.skip {
  position: absolute;
  left: 0.75rem;
  top: -3.5rem;
  z-index: 100;
  background: var(--white);
  color: var(--ink);
  padding: 0.5rem 0.85rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 2px;
}
.skip:focus { top: 0.75rem; }

.wrap {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  background: rgba(251, 250, 247, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.bar {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  height: var(--header-h);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--ink);
  min-width: 0;
  flex-shrink: 0;
}
.brand:hover { color: var(--ink); }
.brand-mark { width: 2.15rem; height: 2.15rem; flex-shrink: 0; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-size: 0.95rem; font-weight: 700; letter-spacing: 0.01em; }
.brand-text small { font-size: 0.72rem; color: var(--muted); font-weight: 500; }

.nav-check {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}

.nav-btn {
  display: none;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--white);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  padding: 0;
  flex-shrink: 0;
}
.nav-btn span {
  display: block;
  width: 1.1rem;
  height: 2px;
  background: var(--ink);
  border-radius: 1px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.15rem 1.05rem;
  flex-wrap: wrap;
  justify-content: flex-end;
  margin-inline-start: auto;
}

.site-nav a {
  text-decoration: none;
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 600;
  padding: 0.2rem 0;
  border-bottom: 2px solid transparent;
}
.site-nav a:hover,
.site-nav a:focus-visible { border-bottom-color: var(--gold); }

.lang-switch {
  display: flex;
  align-items: center;
  gap: 0.1rem;
  flex-shrink: 0;
  padding-inline-start: 0.75rem;
  border-inline-start: 1px solid var(--line);
}
.lang-switch a {
  text-decoration: none;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 0.25rem 0.45rem;
  color: var(--muted);
  border-radius: 3px;
}
.lang-switch a:hover { color: var(--navy); }
.lang-switch a[aria-current="page"] {
  color: var(--navy-deep);
  background: var(--cream);
}

/* Hero */

.hero {
  position: relative;
  min-height: 34rem;
  display: flex;
  align-items: flex-end;
  color: var(--white);
  overflow: hidden;
  background: var(--navy-deep);
}

.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    100deg,
    rgba(16, 24, 32, 0.80) 0%,
    rgba(16, 24, 32, 0.58) 48%,
    rgba(16, 24, 32, 0.22) 100%
  );
}

html[dir="rtl"] .hero-overlay {
  background: linear-gradient(
    260deg,
    rgba(16, 24, 32, 0.80) 0%,
    rgba(16, 24, 32, 0.58) 48%,
    rgba(16, 24, 32, 0.22) 100%
  );
}

.hero h1,
.hero .lead,
.hero .latin-name {
  text-shadow: 0 1px 14px rgba(0, 0, 0, 0.35);
}

.hero-copy {
  position: relative;
  z-index: 1;
  padding: 5.5rem 0 4.25rem;
  max-width: 42rem;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 4px;
  background: linear-gradient(90deg, var(--gold) 0%, var(--gold-soft) 40%, transparent 100%);
  z-index: 1;
}

.eyebrow {
  margin: 0 0 0.85rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-soft);
}

.hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 4.6vw, 3.2rem);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.lead {
  margin: 0 0 1.75rem;
  font-size: 1.12rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.9);
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.98rem;
  padding: 0.75rem 1.2rem;
  border-radius: 3px;
  border: 1px solid transparent;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.btn-primary { background: var(--gold); color: var(--navy-deep); border-color: var(--gold); }
.btn-primary:hover { background: var(--gold-soft); color: var(--navy-deep); }
.btn-ghost { background: transparent; color: var(--white); border-color: rgba(255, 255, 255, 0.4); }
.btn-ghost:hover { border-color: var(--gold-soft); color: var(--gold-soft); }

/* Sections */

.section { padding: 4.25rem 0; }
.section-alt { background: var(--cream); }

.section-header { margin-bottom: 2rem; max-width: 42rem; }
.section-header h2 {
  margin: 0 0 0.6rem;
  font-size: clamp(1.5rem, 2.5vw, 1.95rem);
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.section-header p { margin: 0; color: var(--muted); }

.rule {
  display: block;
  width: 2.5rem;
  height: 3px;
  background: var(--gold);
  margin: 0 0 1rem;
  border: 0;
}

/* Cards / product lines */

.lines {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.35rem;
}

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 4px;
  box-shadow: var(--shadow);
}

.card-photo { overflow: hidden; padding: 0; display: flex; flex-direction: column; }
.card-photo .media { overflow: hidden; }
.card-photo img {
  width: 100%;
  height: 15.5rem;
  object-fit: cover;
}
.card-body { padding: 1.4rem 1.45rem 1.55rem; }
.card-body h3 {
  margin: 0 0 0.55rem;
  font-size: 1.22rem;
  letter-spacing: -0.015em;
  line-height: 1.3;
}
.card-body p { margin: 0 0 0.85rem; color: var(--muted); }
.card-body p:last-child { margin-bottom: 0; }

.note { font-size: 0.9rem; color: var(--note); }
.markets { font-size: 0.9rem; color: var(--ink); }
.markets strong { font-weight: 600; color: var(--navy); }

/* How we work */

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

.step {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 1.25rem 1.2rem 1.35rem;
}
.step-num {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--navy);
  background: var(--cream);
  border: 1px solid var(--line);
  padding: 0.15rem 0.5rem;
  margin-bottom: 0.7rem;
}
.step h3 { margin: 0 0 0.4rem; font-size: 1.05rem; }
.step p { margin: 0; color: var(--muted); font-size: 0.95rem; }

.how-photo {
  margin: 1.5rem 0 0;
}
.how-photo img {
  width: 100%;
  max-height: 20rem;
  object-fit: cover;
  border-radius: 4px;
  border: 1px solid var(--line);
}
.aside { margin: 1.35rem 0 0; }

/* Products */

.product-block + .product-block { margin-top: 2rem; }
.product-block {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 0;
  overflow: hidden;
  display: grid;
  grid-template-columns: 16.5rem 1fr;
  align-items: stretch;
}
.product-block .media img {
  width: 100%;
  height: 100%;
  min-height: 14rem;
  object-fit: cover;
}
.product-copy { padding: 1.6rem 1.7rem 1.7rem; }
.product-copy h3 {
  margin: 0 0 0.7rem;
  font-size: 1.25rem;
  letter-spacing: -0.015em;
}
.product-copy .intro { margin: 0 0 1.1rem; max-width: 48rem; }

.cats {
  list-style: none;
  margin: 0 0 1.1rem;
  padding: 0;
  columns: 2;
  column-gap: 1.5rem;
}
.cats li {
  position: relative;
  padding-inline-start: 1rem;
  color: var(--ink);
  break-inside: avoid;
  margin-bottom: 0.4rem;
}
.cats li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 0.65em;
  width: 0.4rem;
  height: 0.4rem;
  background: var(--gold);
  border-radius: 1px;
}

/* Shipping */

.ship-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 1.5rem;
  align-items: start;
}
.ship-grid .media img {
  width: 100%;
  height: 100%;
  min-height: 16rem;
  object-fit: cover;
  border-radius: 4px;
  border: 1px solid var(--line);
}
.routes { display: grid; gap: 0.9rem; }
.route {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 1.05rem 1.15rem;
}
.route h3 { margin: 0 0 0.35rem; font-size: 1.02rem; }
.route p { margin: 0; color: var(--muted); font-size: 0.95rem; }
.disclaimer {
  margin: 1.25rem 0 0;
  font-size: 0.92rem;
  color: var(--note);
}

/* FAQ */

.faq-list { display: grid; gap: 0.65rem; max-width: 48rem; }
.faq-list details {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 0.15rem 0;
}
.faq-list summary {
  cursor: pointer;
  font-weight: 600;
  padding: 0.9rem 1.2rem;
  list-style: none;
  position: relative;
  padding-inline-end: 2.5rem;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "";
  position: absolute;
  inset-inline-end: 1.15rem;
  top: 50%;
  width: 0.55rem;
  height: 0.55rem;
  border-inline-end: 2px solid var(--navy);
  border-bottom: 2px solid var(--navy);
  transform: translateY(-70%) rotate(45deg);
}
.faq-list details[open] summary::after {
  transform: translateY(-30%) rotate(225deg);
}
.faq-list details p {
  margin: 0;
  padding: 0 1.2rem 1.05rem;
  color: var(--muted);
}

/* About / contact */

.split {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 2rem;
  align-items: start;
}
.prose p { margin: 0 0 1rem; max-width: 42rem; }
.prose p:last-child { margin-bottom: 0; }

.fact {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 1.35rem 1.4rem;
  box-shadow: var(--shadow);
}
.fact h3 { margin: 0 0 0.6rem; font-size: 1.1rem; }
.fact p { margin: 0 0 0.6rem; }
.fact p:last-child { margin-bottom: 0; }

.contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.contact-list li {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 1.05rem 1.15rem;
}
.contact-list .label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.2rem;
}
.contact-list a {
  display: block;
  text-align: start;
  font-weight: 600;
  text-decoration: none;
  overflow-wrap: anywhere;
}
.contact-list a:hover { text-decoration: underline; }
.contact-list .plain { margin: 0; }

html[lang="ar"] .contact-list a { direction: rtl; }

[dir="ltr"] { unicode-bidi: isolate; }
.nowrap { white-space: nowrap; }
.latin-name { font-weight: 600; color: var(--navy); margin: 0 0 1rem; }
.hero .latin-name { color: var(--gold-soft); }

.cta-band {
  margin-top: 2.25rem;
  background: var(--navy);
  color: var(--white);
  padding: 1.5rem 1.6rem;
  border-radius: 4px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.cta-band p { margin: 0; max-width: 36rem; color: rgba(255, 255, 255, 0.9); }
.cta-band strong { display: block; font-size: 1.15rem; margin-bottom: 0.2rem; color: var(--white); }

/* Footer */

.site-footer {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.72);
  padding: 1.6rem 0 1.7rem;
  font-size: 0.88rem;
}
.site-footer .wrap { display: grid; gap: 0.45rem; }
.site-footer .row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.4rem 1.5rem;
}
.site-footer a { color: var(--gold-soft); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; color: var(--gold-soft); }
.site-footer .credits { color: rgba(255, 255, 255, 0.55); font-size: 0.8rem; max-width: 52rem; }

/* Responsive */

@media (max-width: 960px) {
  .product-block,
  .ship-grid,
  .split { grid-template-columns: 1fr; }
  .product-block .media img { height: 14rem; min-height: 0; }
  .how-photo img { max-height: 14rem; }
}

@media (max-width: 880px) {
  .nav-btn { display: inline-flex; margin-inline-start: 0; order: 4; }
  .lang-switch {
    margin-inline-start: auto;
    border-inline-start: 0;
    padding-inline-start: 0;
    order: 3;
  }
  .site-nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    padding: 0.5rem 1rem 0.85rem;
    gap: 0;
    box-shadow: var(--shadow);
    margin: 0;
  }
  .site-nav a {
    padding: 0.7rem 0.25rem;
    border-bottom: 1px solid var(--line);
  }
  .site-nav a:last-child { border-bottom: 0; }
  .nav-check:checked ~ .site-nav { display: flex; }
  .nav-check:focus-visible + .nav-btn {
    outline: 2px solid var(--gold);
    outline-offset: 3px;
  }
  .lines,
  .steps { grid-template-columns: 1fr 1fr; }
  .hero { min-height: 28rem; }
  .hero-copy { padding: 4rem 0 3rem; }
}

@media (max-width: 560px) {
  .lines,
  .steps,
  .contact-list { grid-template-columns: 1fr; }
  .cats { columns: 1; }
  .section { padding: 3rem 0; }
  .card-photo img { height: 12.5rem; }
  .cta-band { padding: 1.25rem; }
  .hero { min-height: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}
