/*
 Theme Name: VeraVita Biotech
 Theme URI: https://veravitabio.com
 Description: Clean, modern B2B theme for VeraVita Biotech — plant & mushroom extracts, food additives, NMN, Ectoin, Ergothioneine.
 Author: VeraVita Biotech
 Version: 1.0.0
 Tags: custom-menu, editor-style, featured-images, theme-options
*/

:root {
  --teal: #0F766E;
  --teal-dark: #0B5A52;
  --teal-soft: #E6F2F0;
  --blue: #1E6FD9;
  --ink: #11252B;
  --muted: #5B6B72;
  --bg: #FFFFFF;
  --bg-soft: #F5F8F8;
  --line: #E4ECEA;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px rgba(15, 60, 55, 0.08);
  --shadow-lg: 0 20px 50px rgba(15, 60, 55, 0.14);
  --maxw: 1180px;
  --font: "Inter", "Segoe UI", Roboto, "Helvetica Neue", Arial,
    "PingFang SC", "Microsoft YaHei", sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font); color: var(--ink); background: var(--bg); line-height: 1.65; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.site-main { min-height: 60vh; }

.btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 26px; border-radius: 999px; font-weight: 600; font-size: 15px; transition: all .25s ease; cursor: pointer; border: none; }
.btn-primary { background: var(--teal); color: #fff; }
.btn-primary:hover { background: var(--teal-dark); transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-outline { background: transparent; color: var(--teal); border: 1.5px solid var(--teal); }
.btn-outline:hover { background: var(--teal-soft); transform: translateY(-2px); }
.btn-light { background: #fff; color: var(--teal); }
.btn-light:hover { transform: translateY(-2px); box-shadow: var(--shadow); }

.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.82); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; letter-spacing: -.02em; }
.logo .mark { width: 34px; height: 34px; }
.logo small { display: block; font-size: 11px; font-weight: 600; color: var(--teal); letter-spacing: .14em; }
.nav-links { display: flex; align-items: center; gap: 30px; list-style: none; }
.nav-links li a { font-size: 15px; font-weight: 500; color: var(--ink); position: relative; }
.nav-links li a::after { content: ""; position: absolute; left: 0; bottom: -6px; width: 0; height: 2px; background: var(--teal); transition: width .25s; }
.nav-links li a:hover::after, .nav-links li.current-menu-item > a::after, .nav-links li.current_page_item > a::after { width: 100%; }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.burger { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; }
.burger span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: .3s; }

.hero { position: relative; padding: 96px 0 80px; overflow: hidden; background: radial-gradient(1200px 500px at 85% -10%, rgba(30,111,217,.10), transparent 60%), radial-gradient(900px 500px at 5% 10%, rgba(15,118,110,.12), transparent 55%), var(--bg); }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(34px, 4.6vw, 56px); line-height: 1.08; letter-spacing: -.03em; font-weight: 800; }
.hero h1 .accent { color: var(--teal); }
.hero p.lead { font-size: 18px; color: var(--muted); margin: 22px 0 32px; max-width: 520px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 34px; margin-top: 44px; }
.hero-stats .stat strong { display: block; font-size: 30px; font-weight: 800; color: var(--teal); letter-spacing: -.02em; }
.hero-stats .stat span { font-size: 13px; color: var(--muted); }
.hero-visual { position: relative; }
.hero-visual img { width: 100%; border-radius: 22px; box-shadow: var(--shadow-lg); }
.hero-visual .badge { position: absolute; left: -18px; bottom: 26px; background: #fff; border-radius: 14px; padding: 14px 18px; box-shadow: var(--shadow); display: flex; gap: 12px; align-items: center; }
.hero-visual .badge .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 4px var(--teal-soft); }
.hero-visual .badge b { font-size: 14px; }
.hero-visual .badge span { font-size: 12px; color: var(--muted); }

.section { padding: 84px 0; }
.section.soft { background: var(--bg-soft); }
.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--teal); margin-bottom: 12px; }
.section h2 { font-size: clamp(26px, 3.2vw, 38px); letter-spacing: -.02em; font-weight: 800; line-height: 1.15; }
.section-head p { color: var(--muted); font-size: 17px; margin-top: 14px; }

.trust { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.trust .item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; text-align: center; }
.trust .item .ico { font-size: 26px; }
.trust .item h4 { margin: 10px 0 6px; font-size: 16px; }
.trust .item p { font-size: 13.5px; color: var(--muted); }

.cats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.cat-card { position: relative; border-radius: var(--radius); overflow: hidden; min-height: 280px; display: flex; flex-direction: column; justify-content: flex-end; color: #fff; box-shadow: var(--shadow); transition: transform .3s ease, box-shadow .3s ease; }
.cat-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.cat-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.cat-card::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,40,38,.05) 0%, rgba(10,40,38,.78) 100%); z-index: 1; }
.cat-card .body { position: relative; z-index: 2; padding: 24px; }
.cat-card .body h3 { font-size: 20px; font-weight: 700; }
.cat-card .body .cn { font-size: 13px; opacity: .8; }
.cat-card .body p { font-size: 13.5px; opacity: .9; margin: 8px 0 14px; }
.cat-card .body .more { font-size: 13.5px; font-weight: 600; display: inline-flex; gap: 6px; }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; transition: .25s; }
.feature:hover { border-color: var(--teal); box-shadow: var(--shadow); }
.feature .ico { width: 48px; height: 48px; border-radius: 12px; background: var(--teal-soft); color: var(--teal); display: grid; place-items: center; font-size: 22px; margin-bottom: 16px; }
.feature h3 { font-size: 18px; margin-bottom: 8px; }
.feature p { color: var(--muted); font-size: 14.5px; }

.spotlight { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.spot-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: .25s; }
.spot-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.spot-card img { width: 100%; height: 180px; object-fit: cover; }
.spot-card .body { padding: 22px; }
.spot-card .body h3 { font-size: 19px; }
.spot-card .body .spec { display: inline-block; margin: 8px 0 10px; font-size: 12.5px; font-weight: 600; color: var(--teal); background: var(--teal-soft); padding: 4px 10px; border-radius: 999px; }
.spot-card .body p { font-size: 14px; color: var(--muted); }

.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.process .step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.process .step .num { font-size: 30px; font-weight: 800; color: var(--teal-soft); }
.process .step h4 { margin: 6px 0 8px; font-size: 16px; }
.process .step p { font-size: 13.5px; color: var(--muted); }

.page-hero { padding: 70px 0 40px; background: radial-gradient(900px 400px at 90% -20%, rgba(30,111,217,.10), transparent 60%), var(--bg-soft); }
.page-hero h1 { font-size: clamp(30px, 4vw, 46px); letter-spacing: -.02em; font-weight: 800; }
.page-hero p { color: var(--muted); margin-top: 12px; max-width: 640px; font-size: 17px; }

.filterbar { display: flex; flex-wrap: wrap; gap: 10px; margin: 8px 0 40px; }
.filterbar button { border: 1px solid var(--line); background: #fff; padding: 9px 18px; border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--muted); cursor: pointer; transition: .2s; }
.filterbar button:hover { border-color: var(--teal); color: var(--teal); }
.filterbar button.active { background: var(--teal); color: #fff; border-color: var(--teal); }

.cat-block { margin-bottom: 54px; }
.cat-block h2 { font-size: 24px; margin-bottom: 6px; display: flex; align-items: baseline; gap: 12px; }
.cat-block h2 .cn { font-size: 15px; color: var(--muted); font-weight: 500; }
.cat-block .cat-desc { color: var(--muted); margin-bottom: 22px; font-size: 15px; }

.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.product-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; gap: 10px; transition: .25s; }
.product-card:hover { border-color: var(--teal); box-shadow: var(--shadow); transform: translateY(-3px); }
.product-card h3 { font-size: 17px; }
.product-card .row { display: flex; flex-wrap: wrap; gap: 6px; }
.product-card .tag { font-size: 11.5px; font-weight: 600; color: var(--teal); background: var(--teal-soft); padding: 3px 9px; border-radius: 999px; }
.product-card .meta { font-size: 12.5px; color: var(--muted); }
.product-card .meta b { color: var(--ink); font-weight: 600; }
.product-card .view { margin-top: 4px; font-size: 13px; font-weight: 600; color: var(--teal); }

.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.about-grid img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; }
.about-grid h2 { font-size: clamp(24px, 3vw, 34px); letter-spacing: -.02em; font-weight: 800; }
.about-grid p { color: var(--muted); margin-top: 16px; font-size: 15.5px; }
.about-grid ul { margin-top: 18px; list-style: none; display: grid; gap: 12px; }
.about-grid ul li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; }
.about-grid ul li .ck { color: var(--teal); font-weight: 800; }

.cta-band { background: linear-gradient(120deg, var(--teal-dark), var(--teal)); color: #fff; border-radius: 22px; padding: 54px; text-align: center; }
.cta-band h2 { font-size: clamp(24px, 3vw, 34px); font-weight: 800; }
.cta-band p { opacity: .9; margin: 14px auto 26px; max-width: 560px; }
.cta-band .btn-light { color: var(--teal); }

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.contact-info { background: var(--bg-soft); border-radius: var(--radius); padding: 36px; }
.contact-info h3 { font-size: 20px; margin-bottom: 18px; }
.contact-info .ci { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 18px; }
.contact-info .ci .ico { width: 40px; height: 40px; border-radius: 10px; background: #fff; color: var(--teal); display: grid; place-items: center; font-size: 18px; flex-shrink: 0; box-shadow: var(--shadow); }
.contact-info .ci b { font-size: 14.5px; }
.contact-info .ci span { font-size: 13.5px; color: var(--muted); display: block; }
.contact-form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 36px; }
.contact-form label { display: block; font-size: 13.5px; font-weight: 600; margin: 14px 0 6px; }
.contact-form input, .contact-form textarea { width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius-sm); font-family: var(--font); font-size: 14.5px; color: var(--ink); background: #fff; transition: .2s; }
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px var(--teal-soft); }
.contact-form textarea { resize: vertical; min-height: 120px; }
.contact-form .btn { width: 100%; justify-content: center; margin-top: 18px; }

.site-footer { background: #0C2B28; color: #cfe3df; padding: 60px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.site-footer .logo { color: #fff; }
.site-footer .logo small { color: #7fd8cb; }
.site-footer p.about { font-size: 14px; margin-top: 16px; max-width: 280px; opacity: .8; }
.footer-col h4 { color: #fff; font-size: 15px; margin-bottom: 14px; }
.footer-col a { display: block; font-size: 13.5px; opacity: .8; margin-bottom: 9px; transition: .2s; }
.footer-col a:hover { opacity: 1; color: #7fd8cb; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 40px; padding-top: 20px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: 13px; opacity: .7; }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; }
  .cats, .features, .spotlight, .product-grid { grid-template-columns: repeat(2, 1fr); }
  .trust, .process { grid-template-columns: repeat(2, 1fr); }
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .nav-links { display: none; }
  .burger { display: flex; }
  .cats, .features, .spotlight, .product-grid, .trust, .process { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-band { padding: 40px 24px; }
  .section { padding: 60px 0; }
  .nav-links.open { display: flex; position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; background: #fff; padding: 18px 24px; gap: 16px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
}

/* ---------- Product images (branded) ---------- */
.pcard-img {
  width: 100%;
  height: 168px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  margin-bottom: 14px;
  background: var(--teal-soft);
  border: 1px solid var(--line);
}
.product-figure {
  width: 100%;
  max-height: 320px;
  object-fit: cover;
  border-radius: var(--radius);
  margin-bottom: 18px;
  background: var(--teal-soft);
  border: 1px solid var(--line);
}

/* ---------- Logo image & OEM visual ---------- */
.logo img { height: 38px; width: auto; display: block; }
.oem-visual { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-items: center; }
.oem-visual img { width: 100%; border-radius: var(--radius); border: 1px solid var(--line); background: var(--teal-soft); object-fit: cover; aspect-ratio: 1 / 1; }
@media (max-width: 720px) { .oem-visual { grid-template-columns: 1fr; } }
