/* 海南寻山生物科技有限公司官网
   视觉方向：海洋科研档案 / 深海采样带 */
:root {
  --ocean-950: #061f33;
  --ocean-900: #082b44;
  --ocean-800: #0b4264;
  --ocean-600: #176f91;
  --ocean-500: #1f86a8;
  --foam: #edf7f6;
  --paper: #fbfaf5;
  --white: #ffffff;
  --ink: #102a36;
  --muted: #607783;
  --coral: #e6543f;
  --algae: #5ea943;
  --sand: #d6ad62;
  --humic: #8a4938;
  --line: rgba(16, 42, 54, .14);
  --line-light: rgba(255, 255, 255, .18);
  --shadow: 0 24px 70px rgba(6, 31, 51, .13);
  --radius-sm: 8px;
  --radius: 18px;
  --maxw: 1180px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  min-width: 320px;
  color: var(--ink);
  background: var(--paper);
  font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans SC", sans-serif;
  font-size: 16px;
  line-height: 1.75;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; }
a { color: var(--ocean-600); text-decoration: none; }
a:hover { color: var(--ocean-800); }
button, input, textarea { font: inherit; }
:focus-visible { outline: 3px solid var(--sand); outline-offset: 4px; }
::selection { color: var(--white); background: var(--ocean-600); }
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 1000; padding: 10px 14px; color: var(--ocean-950); background: var(--sand); border-radius: 8px; transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.container { width: min(100% - 40px, var(--maxw)); margin-inline: auto; }
.ph {
  padding: 1px 4px;
  color: #795c15;
  background: #fff4c9;
  border-bottom: 1px dashed #b88c1f;
}
.eyebrow {
  margin-bottom: 12px;
  color: var(--ocean-600);
  font-family: "Bahnschrift", "Arial Narrow", sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
}
.eyebrow--light { color: #8ed0dc; }
.display-title,
.hero h1,
.page-head h1,
.section-title h2 {
  font-family: "Noto Serif SC", "Source Han Serif SC", "Songti SC", serif;
  font-weight: 700;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  color: var(--white);
  background: rgba(6, 31, 51, .96);
  border-bottom: 1px solid var(--line-light);
  backdrop-filter: blur(16px);
}
.header-inner { display: flex; min-height: 74px; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--white); }
.brand:hover { color: var(--white); }
.brand img { width: 44px; height: 44px; filter: saturate(.8) brightness(1.15); }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-family: "Noto Serif SC", "Songti SC", serif; font-size: 19px; letter-spacing: .14em; }
.brand-text small { margin-top: 4px; color: #8ed0dc; font: 10px/1 "Bahnschrift", sans-serif; letter-spacing: .2em; }
.site-nav { display: flex; align-items: center; gap: 25px; }
.site-nav a {
  position: relative;
  padding: 25px 0 21px;
  color: rgba(255,255,255,.74);
  font-size: 15px;
}
.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: 13px;
  left: 0;
  height: 2px;
  content: "";
  background: var(--sand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .2s ease;
}
.site-nav a:hover, .site-nav a.active, .site-nav a[aria-current="page"] { color: var(--white); }
.site-nav a:hover::after, .site-nav a.active::after, .site-nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  color: var(--white);
  background: transparent;
  border: 1px solid var(--line-light);
  border-radius: 50%;
  cursor: pointer;
}

/* Hero / tide signature */
.hero {
  position: relative;
  overflow: hidden;
  min-height: 650px;
  padding: 90px 0 110px;
  color: var(--white);
  background:
    radial-gradient(circle at 78% 18%, rgba(31,134,168,.34), transparent 28%),
    linear-gradient(132deg, var(--ocean-950) 0%, #082d49 58%, #0e6179 120%);
}
.hero::before {
  position: absolute;
  inset: 0;
  content: "";
  opacity: .28;
  background-image: repeating-radial-gradient(ellipse at 95% 50%, transparent 0 32px, rgba(142,208,220,.24) 34px 35px);
  pointer-events: none;
}
.hero::after {
  position: absolute;
  right: -12%;
  bottom: -120px;
  left: -12%;
  height: 180px;
  content: "";
  background: var(--paper);
  border-radius: 50% 50% 0 0 / 18% 18% 0 0;
}
.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(360px, .92fr); gap: 70px; align-items: center; }
.hero-copy { max-width: 690px; }
.hero h1 { max-width: 760px; margin-bottom: 22px; font-size: clamp(38px, 5vw, 66px); line-height: 1.16; letter-spacing: -.04em; }
.hero .sub, .hero__lead { max-width: 680px; color: rgba(255,255,255,.79); font-size: clamp(17px, 2vw, 21px); }
.hero .trust { margin-top: 20px; color: #9bd5df; font-size: 14px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.tide-stack { position: relative; display: grid; gap: 10px; padding: 18px 0; }
.tide-stack::before { position: absolute; top: 0; bottom: 0; left: 38px; width: 1px; content: ""; background: rgba(255,255,255,.2); }
.tide-band {
  --band: var(--ocean-500);
  display: grid;
  grid-template-columns: 56px 1fr auto;
  min-height: 68px;
  align-items: center;
  gap: 16px;
  padding: 10px 16px 10px 10px;
  color: var(--white);
  background: linear-gradient(90deg, color-mix(in srgb, var(--band) 78%, transparent), rgba(255,255,255,.06));
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 999px 18px 18px 999px;
  box-shadow: 0 10px 34px rgba(0,0,0,.12);
  transition: transform .25s ease, border-color .25s ease;
}
.tide-band:hover { color: var(--white); border-color: rgba(255,255,255,.42); transform: translateX(-8px); }
.tide-band:nth-child(2) { margin-left: 26px; }
.tide-band:nth-child(3) { margin-left: 8px; }
.tide-band:nth-child(4) { margin-left: 40px; }
.tide-band:nth-child(5) { margin-left: 18px; }
.tide-band--fish { --band: #187ea8; }
.tide-band--shrimp { --band: #d74734; }
.tide-band--crab { --band: #217257; }
.tide-band--algae { --band: #62a83e; }
.tide-band--humic { --band: #9a503d; }
.tide-band__mark { display: grid; width: 48px; height: 48px; place-items: center; background: rgba(255,255,255,.14); border-radius: 50%; font: 700 15px/1 "Bahnschrift", sans-serif; }
.tide-band strong { display: block; font-family: "Noto Serif SC", "Songti SC", serif; font-size: 18px; }
.tide-band small { color: rgba(255,255,255,.68); font-size: 12px; }
.tide-band__arrow { font-size: 20px; }

/* Buttons */
.btn { display: inline-flex; min-height: 46px; align-items: center; justify-content: center; padding: 10px 22px; border: 1px solid transparent; border-radius: 999px; font-weight: 700; transition: transform .2s ease, background .2s ease, color .2s ease; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { color: var(--ocean-950); background: var(--sand); }
.btn-primary:hover { color: var(--ocean-950); background: #e5c47c; }
.btn-outline { color: var(--white); background: transparent; border-color: rgba(255,255,255,.42); }
.btn-outline:hover { color: var(--white); background: rgba(255,255,255,.1); }
.btn-green { color: var(--white); background: var(--ocean-600); }
.btn-green:hover { color: var(--white); background: var(--ocean-800); }
.text-link, .more { display: inline-flex; align-items: center; gap: 8px; margin-top: 15px; font-weight: 700; }

/* Sections */
.section { padding: 84px 0; }
.section.alt { background: var(--white); }
.section--ocean { color: var(--white); background: var(--ocean-950); }
.section-title { max-width: 730px; margin: 0 auto 44px; text-align: center; }
.section-title--left { margin-inline: 0; text-align: left; }
.section-title h2 { color: var(--ocean-950); font-size: clamp(29px, 3.5vw, 44px); line-height: 1.2; letter-spacing: -.02em; }
.section-title p { margin-top: 12px; color: var(--muted); font-size: 16px; }
.section--ocean .section-title h2 { color: var(--white); }
.section--ocean .section-title p { color: rgba(255,255,255,.68); }
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid-3.knowledge-card-grid { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }

/* Legacy-compatible and content cards */
.card {
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 8px 30px rgba(6,31,51,.04);
  transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.card-img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: left center; background: var(--foam); }
.card-body { padding: 22px 24px 26px; }
.card-body h3 { margin-bottom: 8px; color: var(--ocean-950); font-family: "Noto Serif SC", "Songti SC", serif; font-size: 20px; }
.card-body p { color: var(--muted); font-size: 16px; }
.tag { display: inline-block; margin: 0 6px 7px 0; padding: 3px 10px; color: var(--ocean-800); background: var(--foam); border-radius: 999px; font-size: 12px; }
.adv { padding: 28px; text-align: left; }
.adv .ico { margin-bottom: 13px; font-size: 30px; }
.adv h3 { margin-bottom: 7px; font-size: 18px; }
.adv p { color: var(--muted); font-size: 16px; }

/* Five-product matrix */
.product-matrix { display: grid; grid-template-columns: repeat(12, 1fr); gap: 18px; }
.product-card {
  --accent: var(--ocean-500);
  position: relative;
  overflow: hidden;
  grid-column: span 4;
  min-height: 430px;
  background: var(--white);
  border: 1px solid var(--line);
}
.product-card:nth-child(4), .product-card:nth-child(5) { grid-column: span 6; }
.product-card::before { position: absolute; top: 0; right: 0; left: 0; z-index: 2; height: 5px; content: ""; background: var(--accent); }
.product-card--fish { --accent: #1684b2; }
.product-card--shrimp { --accent: #dc4938; }
.product-card--crab { --accent: #177054; }
.product-card--algae { --accent: #65aa3d; }
.product-card--humic { --accent: #a34f3b; }
.product-card__visual { display: block; overflow: hidden; height: 235px; background: var(--foam); }
.product-card__visual img { width: 100%; height: 100%; object-fit: cover; object-position: left center; transition: transform .45s ease; }
.product-card:hover .product-card__visual img { transform: scale(1.025); }
.product-card__body { padding: 24px 26px 28px; }
.product-card__body h3 { margin-bottom: 8px; color: var(--ocean-950); font: 700 27px/1.2 "Noto Serif SC", "Songti SC", serif; }
.product-card__body p:not(.eyebrow) { color: var(--muted); }

.capability-strip { display: grid; grid-template-columns: repeat(4, 1fr); border-block: 1px solid var(--line); }
.capability { padding: 30px 24px; border-right: 1px solid var(--line); }
.capability:last-child { border-right: 0; }
.capability b { display: block; margin-bottom: 7px; color: var(--ocean-800); font-family: "Noto Serif SC", "Songti SC", serif; font-size: 19px; }
.capability span { color: var(--muted); font-size: 16px; }
.goal-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px; overflow: hidden; background: var(--line); border: 1px solid var(--line); }
.goal-item { min-height: 175px; padding: 26px 20px; background: var(--paper); }
.goal-item small { color: var(--ocean-500); font: 700 12px/1 "Bahnschrift", sans-serif; letter-spacing: .1em; }
.goal-item h3 { margin: 38px 0 8px; color: var(--ocean-950); font: 700 20px/1.3 "Noto Serif SC", "Songti SC", serif; }
.goal-item p { color: var(--muted); font-size: 16px; }
.process-line { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; counter-reset: process; }
.process-step { position: relative; padding-top: 25px; border-top: 1px solid rgba(255,255,255,.24); }
.process-step::before { position: absolute; top: -7px; left: 0; width: 13px; height: 13px; content: ""; background: var(--sand); border-radius: 50%; box-shadow: 0 0 0 6px rgba(214,173,98,.12); }
.process-step b { display: block; margin-bottom: 10px; color: var(--white); font-family: "Noto Serif SC", "Songti SC", serif; font-size: 19px; }
.process-step p { color: rgba(255,255,255,.72); font-size: 16px; }

/* Page and product details */
.page-main { padding: 32px 0 90px; }
.breadcrumb { padding-top: 5px; color: var(--muted); font-size: 13px; }
.breadcrumb a { color: var(--muted); }
.page-head { max-width: 840px; margin: 48px 0 42px; }
.page-head h1 { color: var(--ocean-950); font-size: clamp(34px, 5vw, 58px); line-height: 1.15; letter-spacing: -.03em; }
.page-head .meta { margin-top: 13px; color: var(--muted); font-size: 16px; }
.product-detail-hero { display: grid; grid-template-columns: 1fr; overflow: hidden; background: var(--ocean-950); }
.product-detail-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(32px, 4.5vw, 64px); color: var(--white); }
.product-detail-copy h1 { margin-bottom: 12px; font: 700 clamp(36px, 4.3vw, 58px)/1.08 "Noto Serif SC", "Songti SC", serif; }
.product-detail-intro { margin-bottom: 8px; color: var(--sand); font: 700 13px/1 "Microsoft YaHei", sans-serif; letter-spacing: .12em; }
.product-detail-copy .lead { color: rgba(255,255,255,.72); font-size: 18px; }
.product-detail-media { padding: clamp(18px, 3vw, 48px); background: #eaf1ef; }
.product-detail-media img { width: min(100%, 1560px); height: auto; margin-inline: auto; object-fit: contain; object-position: center; }
.ingredient-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 24px 0; }
.ingredient { padding: 24px; background: var(--foam); border-left: 4px solid var(--ocean-500); }
.ingredient b { display: block; margin-bottom: 7px; color: var(--ocean-950); }
.ingredient p { color: var(--muted); font-size: 16px; }
.usage-note { margin: 28px 0; padding: 22px 24px; color: #6b5423; background: #fff7dd; border: 1px solid rgba(214,173,98,.45); }
.brand-proof { padding: 30px; color: var(--white); background: var(--ocean-900); }

/* Prose and legacy content */
.prose { max-width: 880px; }
.knowledge-library { max-width: none; }
.prose h2 { margin: 40px 0 14px; color: var(--ocean-950); font: 700 27px/1.3 "Noto Serif SC", "Songti SC", serif; }
.prose h3 { margin: 25px 0 9px; color: var(--ink); font-size: 19px; }
.prose p { margin-bottom: 15px; }
.prose ul, .prose ol { margin: 0 0 18px 24px; }
.prose li { margin-bottom: 7px; }
.prose .lead { margin-bottom: 24px; padding: 18px 20px; background: var(--foam); border-left: 4px solid var(--ocean-500); }
.table-wrap { overflow-x: auto; margin: 22px 0 30px; }
table.params { width: 100%; border-collapse: collapse; background: var(--white); font-size: 16px; }
table.params th, table.params td { padding: 13px 15px; text-align: left; vertical-align: top; border: 1px solid var(--line); }
table.params th { color: var(--ocean-950); background: var(--foam); white-space: nowrap; }
.faq { margin-top: 48px; }
.faq h2 { margin-bottom: 18px; color: var(--ocean-950); font: 700 27px/1.3 "Noto Serif SC", "Songti SC", serif; }
.faq-item { margin-bottom: 12px; padding: 19px 22px; background: var(--white); border: 1px solid var(--line); }
.faq-item b { display: block; margin-bottom: 6px; color: var(--ocean-800); }
.faq-item p { color: var(--muted); font-size: 16px; }
.timeline { margin-left: 8px; padding-left: 28px; border-left: 2px solid var(--ocean-500); }
.timeline li { position: relative; margin-bottom: 26px; list-style: none; }
.timeline li::before { position: absolute; top: 7px; left: -35px; width: 12px; height: 12px; content: ""; background: var(--paper); border: 3px solid var(--ocean-500); border-radius: 50%; }
.timeline b { color: var(--ocean-800); }
.cert { padding: 23px; text-align: center; }
.cert .box { display: grid; width: 130px; height: 90px; margin: 0 auto 13px; place-items: center; color: #795c15; background: #fff4c9; border: 1px dashed #b88c1f; }
.stats-inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; text-align: center; }
.stat b { display: block; color: var(--ocean-950); font: 700 31px/1.2 "Noto Serif SC", "Songti SC", serif; }
.stat span { color: var(--muted); font-size: 13px; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(360px, .9fr); gap: 52px; }
.contact-grid > * { min-width: 0; }
.contact-info h2 { margin: 24px 0 10px; color: var(--ocean-950); font: 700 24px/1.3 "Noto Serif SC", "Songti SC", serif; }
.contact-info p { margin-bottom: 7px; }
.hotline { display: block; margin: 18px 0; color: var(--ocean-800); font: 700 clamp(30px, 5vw, 52px)/1 "Bahnschrift", sans-serif; }
.map-box, .qr-box { display: grid; place-items: center; color: #795c15; background: #fff4c9; border: 1px dashed #b88c1f; }
.map-box { min-height: 280px; padding: 24px; text-align: center; }
.qr-box { width: 170px; height: 170px; margin-top: 12px; font-size: 13px; text-align: center; }
.qr-crop { position: relative; overflow: hidden; width: min(100%, 560px); aspect-ratio: 586 / 250; height: auto; margin-top: 18px; background: var(--white); border: 1px solid var(--line); }
.qr-crop img { position: absolute; width: 300%; max-width: none; right: 0; bottom: 0; }

/* CTA and footer */
.cta-band { display: grid; grid-template-columns: 1fr auto; gap: 36px; align-items: center; padding: 42px 48px; color: var(--white); background: linear-gradient(110deg, var(--ocean-800), var(--ocean-950)); }
.cta-band h2 { margin-bottom: 7px; font: 700 30px/1.25 "Noto Serif SC", "Songti SC", serif; }
.cta-band p { color: rgba(255,255,255,.66); }
.site-footer { margin-top: 80px; color: rgba(255,255,255,.72); background: #041725; }
.footer-inner { display: grid; grid-template-columns: 2fr 1fr 1.3fr; gap: 42px; padding: 54px 0 38px; }
.footer-title { margin-bottom: 13px; color: var(--white); font: 700 17px/1.3 "Noto Serif SC", "Songti SC", serif; }
.site-footer a { display: block; margin-bottom: 8px; color: rgba(255,255,255,.7); font-size: 14px; }
.site-footer a:hover { color: var(--white); }
.site-footer p { margin-bottom: 8px; font-size: 14px; }
.footer-bottom { padding: 18px 20px; color: rgba(255,255,255,.45); text-align: center; border-top: 1px solid var(--line-light); font-size: 12px; }

@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 45px; }
  .hero { padding-top: 72px; }
  .tide-stack { max-width: 650px; }
  .product-card { grid-column: span 6; }
  .product-card:last-child { grid-column: 4 / span 6; }
  .goal-grid { grid-template-columns: repeat(3, 1fr); }
  .goal-item:nth-child(4), .goal-item:nth-child(5) { grid-column: span 1; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1.5fr 1fr; }
  .footer-inner > :last-child { grid-column: 1 / -1; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  .container { width: min(100% - 28px, var(--maxw)); }
  .header-inner { min-height: 66px; }
  .nav-toggle { display: block; }
  .site-nav {
    position: absolute;
    top: 66px;
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 14px 16px;
    background: var(--ocean-950);
    border-bottom: 1px solid var(--line-light);
  }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 13px 10px; border-bottom: 1px solid rgba(255,255,255,.08); }
  .site-nav a::after { display: none; }
  .hero { min-height: auto; padding: 58px 0 100px; }
  .hero h1 { font-size: clamp(38px, 12vw, 54px); }
  .tide-stack::before { left: 29px; }
  .tide-band { grid-template-columns: 42px 1fr; min-height: 59px; margin-left: 0 !important; border-radius: 999px 14px 14px 999px; }
  .tide-band__mark { width: 40px; height: 40px; }
  .tide-band__arrow { display: none; }
  .section { padding: 64px 0; }
  .section-title { margin-bottom: 32px; text-align: left; }
  .product-matrix { display: block; }
  .product-card { min-height: 0; margin-bottom: 18px; }
  .product-card__visual { height: 210px; }
  .capability-strip { grid-template-columns: repeat(2, 1fr); }
  .capability:nth-child(2) { border-right: 0; }
  .capability:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .goal-grid { grid-template-columns: 1fr; }
  .goal-item { min-height: 140px; }
  .goal-item h3 { margin-top: 26px; }
  .process-line { grid-template-columns: 1fr; gap: 34px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .product-detail-copy { padding: 48px 26px; }
  .product-detail-media { padding: 14px; }
  .ingredient-grid { grid-template-columns: 1fr; }
  .stats-inner { grid-template-columns: repeat(2, 1fr); gap: 28px 16px; }
  .cta-band { grid-template-columns: 1fr; padding: 32px 26px; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-inner > :last-child { grid-column: auto; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
