/* Qingdao Blue Marine Biotechnology — B2B export site */
:root {
  --ocean-deep: #0a4d68;
  --ocean-mid: #088395;
  --ocean-teal: #05bfdb;
  --ocean-soft: #e8f6f8;
  --ocean-mist: #f4fafb;
  --sand: #f7f3ee;
  --ink: #1a2b33;
  --muted: #5a6f78;
  --white: #ffffff;
  --accent: #0c7b93;
  --cta: #067a8a;
  --cta-hover: #045c68;
  --border: #d4e8ec;
  --shadow: 0 8px 28px rgba(10, 77, 104, 0.08);
  --radius: 14px;
  --font: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --max: 1120px;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  font-size: 16px;
}
img { max-width: 100%; display: block; height: auto; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
ul { list-style: none; }
.container { width: min(100% - 2rem, var(--max)); margin-inline: auto; }

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding: 0.85rem 0; position: relative;
}
.logo {
  display: flex; flex-direction: column; gap: 0.1rem;
  color: var(--ocean-deep); text-decoration: none;
  font-weight: 700; letter-spacing: 0.02em; line-height: 1.2;
}
.logo:hover { text-decoration: none; }
.logo span { font-size: 0.72rem; font-weight: 500; color: var(--muted); letter-spacing: 0.04em; }
.nav-links { display: flex; gap: 1.25rem; align-items: center; flex-wrap: wrap; }
.nav-links a { color: var(--ink); font-size: 0.95rem; font-weight: 500; }
.nav-links a:hover { color: var(--ocean-mid); text-decoration: none; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem;
  padding: 0.7rem 1.35rem; border-radius: 999px; font-weight: 600; font-size: 0.95rem;
  border: none; cursor: pointer;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  text-decoration: none !important;
}
.btn-primary {
  background: var(--cta); color: var(--white) !important;
  box-shadow: 0 4px 14px rgba(6, 122, 138, 0.28);
}
.btn-primary:hover { background: var(--cta-hover); transform: translateY(-1px); }
.btn-outline {
  background: transparent; color: var(--ocean-deep) !important;
  border: 1.5px solid var(--ocean-mid);
}
.btn-outline:hover { background: var(--ocean-soft); }
.btn-light { background: var(--white); color: var(--ocean-deep) !important; }
.btn-light:hover { background: var(--ocean-mist); }
.nav-toggle {
  display: none; background: none; border: 1px solid var(--border);
  border-radius: 8px; padding: 0.4rem 0.6rem; font-size: 1.25rem;
  cursor: pointer; color: var(--ocean-deep);
}

.hero {
  position: relative; min-height: min(78vh, 640px);
  display: flex; align-items: center; color: var(--white);
  background: var(--ocean-deep) center/cover no-repeat; overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(105deg, rgba(8, 45, 62, 0.88) 0%, rgba(8, 90, 110, 0.55) 55%, rgba(5, 100, 120, 0.35) 100%);
}
.hero-content { position: relative; z-index: 1; padding: 4.5rem 0 4rem; max-width: 640px; }
.hero-badge {
  display: inline-block; background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.25); padding: 0.3rem 0.85rem;
  border-radius: 999px; font-size: 0.8rem; letter-spacing: 0.06em;
  text-transform: uppercase; margin-bottom: 1rem;
}
.hero h1 {
  font-size: clamp(1.85rem, 4vw, 2.75rem); line-height: 1.2;
  font-weight: 700; margin-bottom: 1rem;
}
.hero p { font-size: 1.08rem; opacity: 0.95; margin-bottom: 1.75rem; max-width: 34em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.85rem; }

section { padding: 4.25rem 0; }
.section-label {
  color: var(--ocean-mid); font-size: 0.8rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 0.5rem;
}
.section-title {
  font-size: clamp(1.55rem, 3vw, 2.1rem); color: var(--ocean-deep);
  margin-bottom: 0.75rem; line-height: 1.25;
}
.section-lead { color: var(--muted); max-width: 40em; margin-bottom: 2rem; }

.about { background: var(--ocean-mist); }
.about-grid {
  display: grid; grid-template-columns: 1.05fr 0.95fr;
  gap: 2.5rem; align-items: center;
}
.about-media {
  border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); aspect-ratio: 4/3;
}
.about-media img { width: 100%; height: 100%; object-fit: cover; }
.about-copy p { margin-bottom: 1rem; color: var(--muted); }
.about-copy p strong { color: var(--ink); }
.about-highlights {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0.85rem; margin-top: 1.5rem;
}
.highlight {
  background: var(--white); border: 1px solid var(--border);
  border-radius: 12px; padding: 0.9rem 1rem;
}
.highlight strong { display: block; color: var(--ocean-deep); font-size: 0.95rem; margin-bottom: 0.2rem; }
.highlight span { font-size: 0.85rem; color: var(--muted); }

.products-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.35rem;
}
.product-card {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; box-shadow: 0 2px 10px rgba(10, 77, 104, 0.04);
  display: flex; flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s;
}
.product-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.product-card .thumb { aspect-ratio: 16/10; overflow: hidden; background: var(--ocean-soft); }
.product-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.product-body { padding: 1.15rem 1.2rem 1.35rem; display: flex; flex-direction: column; flex: 1; }
.product-body h3 { font-size: 1.05rem; color: var(--ocean-deep); margin-bottom: 0.35rem; }
.product-tag {
  display: inline-block; font-size: 0.72rem; font-weight: 600; color: var(--ocean-mid);
  background: var(--ocean-soft); padding: 0.15rem 0.55rem; border-radius: 999px;
  margin-bottom: 0.65rem; width: fit-content;
}
.product-body ul { margin-bottom: 1rem; flex: 1; }
.product-body li {
  position: relative; padding-left: 0.95rem; font-size: 0.9rem;
  color: var(--muted); margin-bottom: 0.35rem;
}
.product-body li::before {
  content: ""; position: absolute; left: 0; top: 0.55em;
  width: 5px; height: 5px; border-radius: 50%; background: var(--ocean-teal);
}
.product-body .btn { align-self: flex-start; padding: 0.5rem 1rem; font-size: 0.85rem; }

.why { background: linear-gradient(180deg, var(--sand) 0%, var(--ocean-mist) 100%); }
.why-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; margin-bottom: 2.5rem;
}
.why-card {
  background: var(--white); border-radius: var(--radius);
  padding: 1.4rem 1.35rem; border: 1px solid var(--border);
}
.why-icon {
  width: 42px; height: 42px; border-radius: 10px; background: var(--ocean-soft);
  color: var(--ocean-deep); display: grid; place-items: center;
  font-size: 1.2rem; margin-bottom: 0.85rem;
}
.why-card h3 { font-size: 1.05rem; color: var(--ocean-deep); margin-bottom: 0.45rem; }
.why-card p { font-size: 0.92rem; color: var(--muted); }

.markets {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.5rem 1.6rem; display: grid; grid-template-columns: 1fr 1.2fr;
  gap: 1.5rem; align-items: center;
}
.markets h3 { color: var(--ocean-deep); margin-bottom: 0.5rem; }
.markets p { color: var(--muted); font-size: 0.95rem; }
.market-pills { display: flex; flex-wrap: wrap; gap: 0.55rem; }
.pill {
  background: var(--ocean-soft); color: var(--ocean-deep); font-weight: 600;
  font-size: 0.88rem; padding: 0.45rem 0.95rem; border-radius: 999px;
  border: 1px solid var(--border);
}
.pill.featured {
  background: var(--ocean-deep); color: var(--white); border-color: var(--ocean-deep);
}

.contact { background: var(--ocean-deep); color: var(--white); }
.contact .section-label { color: var(--ocean-teal); }
.contact .section-title { color: var(--white); }
.contact .section-lead { color: rgba(255,255,255,0.8); }
.contact-grid {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 2rem; align-items: start;
}
.contact-card {
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius); padding: 1.5rem;
}
.contact-item { margin-bottom: 1.15rem; }
.contact-item:last-child { margin-bottom: 0; }
.contact-item dt {
  font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.08em;
  opacity: 0.7; margin-bottom: 0.25rem;
}
.contact-item dd { font-size: 1rem; font-weight: 500; }
.contact-item a { color: var(--white); text-decoration: underline; text-underline-offset: 3px; }
.contact-item a:hover { color: var(--ocean-teal); }
.cta-box {
  background: var(--white); color: var(--ink); border-radius: var(--radius); padding: 1.6rem 1.5rem;
}
.cta-box h3 { color: var(--ocean-deep); margin-bottom: 0.5rem; }
.cta-box p { color: var(--muted); font-size: 0.95rem; margin-bottom: 1.15rem; }
.cta-box .btn { width: 100%; margin-bottom: 0.65rem; }
.cta-note { font-size: 0.82rem; color: var(--muted); text-align: center; }

.site-footer {
  background: #073949; color: rgba(255,255,255,0.75); padding: 1.5rem 0; font-size: 0.88rem;
}
.footer-inner {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.75rem; align-items: center;
}
.site-footer a { color: var(--ocean-teal); }
.site-footer strong { color: var(--white); font-weight: 600; }

@media (max-width: 860px) {
  .about-grid, .contact-grid, .markets { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .nav-toggle { display: block; }
  .nav-links {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--white); flex-direction: column; align-items: stretch;
    padding: 1rem; border-bottom: 1px solid var(--border); box-shadow: var(--shadow);
  }
  .nav-links.open { display: flex; }
  .nav-links .btn { width: 100%; }
  .about-highlights { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .hero { min-height: auto; }
  .hero-content { padding: 3.2rem 0 2.8rem; }
}
