/* =========================================================
   PetVita MediTech — Global stylesheet
   Design: clinical calm + warm editorial
   ========================================================= */

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

:root {
  --ink: #0A2A2E;
  --ink-2: #123C41;
  --teal: #0E5257;
  --teal-soft: #E8F0EE;
  --accent: #CE6236;
  --accent-deep: #A9451F;
  --accent-soft: #F7E6DC;
  --paper: #FFFFFF;
  --cream: #F7F5F1;
  --muted: #5E716F;
  --line: #E4E2DA;
  --line-dark: rgba(255, 255, 255, .14);

  --sans: "Inter", "Segoe UI", system-ui, -apple-system, "PingFang SC",
          "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia,
           "Songti SC", "SimSun", serif;

  --wrap: 1240px;
  --r: 3px;
  --shadow-sm: 0 2px 10px -4px rgba(10, 42, 46, .18);
  --shadow: 0 24px 50px -30px rgba(10, 42, 46, .45);
  --ease: cubic-bezier(.22, .61, .36, 1);
}

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.68;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
ul { margin: 0; padding: 0; list-style: none; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { margin: 0; font-weight: 650; letter-spacing: -.018em; line-height: 1.14; }
h1 { font-size: clamp(34px, 4.6vw, 62px); line-height: 1.06; }
h2 { font-size: clamp(26px, 3.1vw, 42px); }
h3 { font-size: clamp(18px, 1.5vw, 21px); line-height: 1.3; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: currentColor;
  opacity: .7;
}
.eyebrow--light { color: #F0B79C; }

.lead { font-size: clamp(15px, 1.15vw, 17px); color: var(--muted); max-width: 62ch; }
.muted { color: var(--muted); }
.serif { font-family: var(--serif); font-weight: 400; }

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px;
}
.section { padding: clamp(60px, 7.5vw, 108px) 0; }
.section--tight { padding: clamp(44px, 5vw, 72px) 0; }
.section--cream { background: var(--cream); }
.section--ink { background: var(--ink); color: #fff; }

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: clamp(32px, 4vw, 52px);
}
.section-head__main { max-width: 720px; }
.section-head h2 { margin-bottom: 14px; }
.section-head .lead { margin: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 52px;
  padding: 0 26px;
  border: 1px solid transparent;
  border-radius: 2px;
  background: none;
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: .01em;
  white-space: nowrap;
  transition: background .28s var(--ease), color .28s var(--ease),
              border-color .28s var(--ease), transform .28s var(--ease);
}
.btn svg { width: 15px; height: 15px; flex: none; }
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--ink); color: #fff; }
.btn--primary:hover { background: var(--accent); }
.btn--accent { background: var(--accent); color: #fff; }
.btn--accent:hover { background: var(--accent-deep); }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: var(--accent); color: #fff; }
.btn--outline { border-color: rgba(255, 255, 255, .45); color: #fff; }
.btn--outline:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn--line { border-color: var(--line); color: var(--ink); }
.btn--line:hover { border-color: var(--ink); }
.btn--sm { height: 44px; padding: 0 20px; font-size: 13.5px; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
}
.link-arrow svg { width: 14px; height: 14px; transition: transform .3s var(--ease); }
.link-arrow:hover { color: var(--accent); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- Top bar ---------- */
.topbar {
  background: var(--ink);
  color: rgba(255, 255, 255, .66);
  font-size: 12.5px;
  letter-spacing: .01em;
}
.topbar__inner {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.topbar__meta { display: flex; align-items: center; gap: 22px; }
.topbar__meta a, .topbar__meta span { display: inline-flex; align-items: center; gap: 7px; }
.topbar__meta a:hover { color: #fff; }
.topbar svg { width: 13px; height: 13px; opacity: .7; }
.topbar__right { display: flex; align-items: center; gap: 16px; }

.lang-switch { display: inline-flex; border: 1px solid rgba(255, 255, 255, .2); border-radius: 2px; overflow: hidden; }
.lang-switch button {
  background: none;
  border: 0;
  padding: 4px 10px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .06em;
  color: rgba(255, 255, 255, .6);
  transition: .2s;
}
.lang-switch button.is-active { background: rgba(255, 255, 255, .14); color: #fff; }
.lang-switch button:hover { color: #fff; }

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s;
}
.header.is-stuck { box-shadow: 0 10px 30px -22px rgba(10, 42, 46, .6); }
.header__inner {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px;
  height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.logo { display: flex; align-items: center; gap: 11px; }
.logo__mark {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  background: var(--ink);
  border-radius: 2px;
  color: #fff;
}
.logo__mark svg { width: 21px; height: 21px; }
.logo__text { display: flex; flex-direction: column; line-height: 1.15; }
.logo__name { font-size: 17px; font-weight: 700; letter-spacing: -.01em; }
.logo__sub {
  font-size: 9.5px; letter-spacing: .17em; text-transform: uppercase;
  color: var(--muted); margin-top: 2px;
}

.nav { display: flex; align-items: center; gap: 30px; }
.nav__item { position: relative; }
.nav__link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 10px 0;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink);
  position: relative;
  transition: color .2s;
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 4px;
  height: 1.5px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s var(--ease);
}
.nav__link:hover::after, .nav__item.is-active .nav__link::after { transform: scaleX(1); }
.nav__link svg { width: 11px; height: 11px; opacity: .5; }

.drop {
  position: absolute;
  top: calc(100% + 6px);
  left: -18px;
  width: 500px;
  padding: 10px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 4px;
  box-shadow: 0 30px 60px -34px rgba(10, 42, 46, .5);
  display: grid;
  grid-template-columns: 1fr 1fr;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: .26s var(--ease);
}
.nav__item:hover .drop { opacity: 1; visibility: visible; transform: translateY(0); }
.drop__link {
  display: flex;
  gap: 11px;
  padding: 11px 12px;
  border-radius: 3px;
  transition: background .2s;
}
.drop__link:hover { background: var(--cream); }
.drop__link svg { width: 17px; height: 17px; color: var(--accent); flex: none; margin-top: 2px; }
.drop__t { font-size: 13.8px; font-weight: 600; line-height: 1.35; }
.drop__d { font-size: 11.8px; color: var(--muted); line-height: 1.4; margin-top: 2px; }

.header__actions { display: flex; align-items: center; gap: 14px; }
.header__phone { display: flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 600; }
.header__phone svg { width: 15px; height: 15px; color: var(--accent); }

.burger { display: none; width: 42px; height: 42px; border: 1px solid var(--line); background: #fff; border-radius: 2px; padding: 0; }
.burger span { display: block; width: 17px; height: 1.5px; background: var(--ink); margin: 4px auto; transition: .25s; }
.burger.is-open span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 79;
  background: #fff;
  padding: 100px 24px 40px;
  overflow-y: auto;
  opacity: 0;
  transform: translateY(-8px);
  pointer-events: none;
  transition: .3s var(--ease);
}
.mobile-nav.is-open { opacity: 1; transform: none; pointer-events: auto; }
.mobile-nav a {
  display: block;
  padding: 15px 0;
  font-size: 17px;
  font-weight: 600;
  border-bottom: 1px solid var(--line);
}
.mobile-nav .btn { width: 100%; margin-top: 26px; }
.mobile-nav__sub { padding-left: 14px; font-size: 14px !important; font-weight: 500 !important; color: var(--muted); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: clamp(540px, 74vh, 760px);
  display: flex;
  align-items: center;
  color: #fff;
  overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 42%; transform: scale(1.04); }
.hero__bg::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(96deg, rgba(6, 32, 36, .92) 6%, rgba(6, 32, 36, .72) 46%, rgba(6, 32, 36, .22) 78%, rgba(6, 32, 36, .35) 100%),
    linear-gradient(to top, rgba(6, 32, 36, .55), transparent 42%);
}
.hero__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: clamp(70px, 9vw, 120px) 24px clamp(110px, 12vw, 150px);
}
.hero__content { max-width: 720px; }
.hero h1 { margin-bottom: 22px; letter-spacing: -.028em; }
.hero h1 em { font-style: normal; color: #F2A985; }
.hero__desc {
  font-size: clamp(15px, 1.2vw, 17.5px);
  line-height: 1.75;
  color: rgba(255, 255, 255, .82);
  max-width: 600px;
  margin-bottom: 36px;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__scroll {
  position: absolute;
  right: 24px; bottom: 34px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .55);
  writing-mode: vertical-rl;
}
.hero__scroll::after { content: ""; width: 1px; height: 46px; background: rgba(255, 255, 255, .3); }

/* ---------- Stats band ---------- */
.stats-band {
  position: relative;
  z-index: 3;
  max-width: var(--wrap);
  margin: -76px auto 0;
  padding: 0 24px;
}
.stats-band__inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 3px;
  box-shadow: var(--shadow);
}
.stat { padding: 28px 26px; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat__num {
  font-size: clamp(26px, 2.6vw, 36px);
  font-weight: 650;
  letter-spacing: -.025em;
  line-height: 1.1;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.stat__num i { font-style: normal; color: var(--accent); }
.stat__label { font-size: 12.5px; color: var(--muted); margin-top: 6px; letter-spacing: .01em; }

/* ---------- Solution grid ---------- */
.sol-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.sol-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 3px;
  overflow: hidden;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s;
}
.sol-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.sol-card__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: #F3F1EA; }
.sol-card__media img { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: multiply; transition: transform .7s var(--ease); }
.sol-card:hover .sol-card__media img { transform: scale(1.045); }
.sol-card__body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.sol-card__idx {
  font-family: var(--serif);
  font-size: 12px;
  letter-spacing: .16em;
  color: var(--accent);
  margin-bottom: 9px;
}
.sol-card h3 { margin-bottom: 8px; }
.sol-card p { font-size: 13.6px; color: var(--muted); line-height: 1.6; margin-bottom: 16px; }
.sol-card .link-arrow { margin-top: auto; }
.sol-card--wide {
  grid-column: span 2;
  display: grid;
  grid-template-columns: 1.06fr 1fr;
}
.sol-card--wide .sol-card__media { aspect-ratio: auto; height: 100%; min-height: 330px; }
.sol-card--wide .sol-card__body { justify-content: center; padding: 30px 28px; }
.sol-card--wide h3 { font-size: clamp(19px, 1.7vw, 24px); }
.sol-card--wide p { max-width: 46ch; }

/* ---------- New products strip ---------- */
.new-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.new-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: #fff;
  overflow: hidden;
  transition: .35s var(--ease);
}
.new-card:hover { border-color: var(--ink); transform: translateY(-3px); }
.new-card__media { position: relative; aspect-ratio: 4 / 3; background: #F3F1EA; overflow: hidden; }
.new-card__media img { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: multiply; transition: transform .7s var(--ease); }
.new-card:hover .new-card__media img { transform: scale(1.05); }
.new-card__badge {
  position: absolute;
  top: 12px; left: 12px;
  background: var(--accent);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .14em;
  padding: 4px 8px;
  border-radius: 2px;
}
.new-card__body { padding: 18px; }
.new-card__model { font-size: 11.5px; letter-spacing: .1em; color: var(--muted); font-weight: 600; }
.new-card h3 { font-size: 15.5px; font-weight: 600; margin-top: 5px; line-height: 1.4; }

/* ---------- Why / capabilities ---------- */
.why { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: clamp(36px, 5vw, 78px); align-items: start; }
.why h2 { font-size: clamp(23px, 2.4vw, 32px); }
.why__cap { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.cap { background: #fff; padding: 26px 24px 28px; }
.cap__num { font-family: var(--serif); font-size: 13px; color: var(--accent); letter-spacing: .1em; }
.cap h3 { font-size: 16px; margin: 10px 0 8px; }
.cap p { font-size: 13.2px; color: var(--muted); line-height: 1.62; }

.certs { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.cert {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 11px 15px;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: #fff;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .02em;
}
.cert svg { width: 15px; height: 15px; color: var(--teal); }
.cert span { font-weight: 400; color: var(--muted); font-size: 11.5px; }

.quote-block {
  padding: 28px 30px;
  background: var(--teal-soft);
  border-left: 2px solid var(--teal);
  font-family: var(--serif);
  font-size: 19px;
  line-height: 1.62;
  color: var(--ink-2);
}
.quote-block footer { font-family: var(--sans); font-size: 12.5px; color: var(--muted); margin-top: 14px; letter-spacing: .04em; }

/* ---------- Global band ---------- */
.global { position: relative; background: var(--ink); color: #fff; overflow: hidden; }
.global::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at 70% 40%, #000 10%, transparent 72%);
  -webkit-mask-image: radial-gradient(ellipse at 70% 40%, #000 10%, transparent 72%);
}
.global__inner { position: relative; display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(32px, 5vw, 70px); align-items: center; }
.global h2 { color: #fff; }
.global .lead { color: rgba(255, 255, 255, .62); }
.regions { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line-dark); border: 1px solid var(--line-dark); }
.region { background: rgba(255, 255, 255, .02); padding: 22px 20px; }
.region b { display: block; font-size: 25px; font-weight: 600; letter-spacing: -.02em; color: #F0B79C; }
.region span { font-size: 12px; color: rgba(255, 255, 255, .55); letter-spacing: .04em; }

/* ---------- News ---------- */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.news-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 26px 24px 24px;
  transition: .35s var(--ease);
}
.news-card:hover { border-color: var(--ink); transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.news-card__meta { display: flex; align-items: center; gap: 12px; font-size: 11.5px; color: var(--muted); margin-bottom: 14px; }
.news-card__tag {
  background: var(--cream);
  border: 1px solid var(--line);
  padding: 3px 8px;
  border-radius: 2px;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--teal);
}
.news-card h3 { font-size: 17px; line-height: 1.42; margin-bottom: 10px; }
.news-card p { font-size: 13.4px; color: var(--muted); line-height: 1.65; margin-bottom: 18px; }
.news-card .link-arrow { margin-top: auto; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; background: var(--ink-2); color: #fff; overflow: hidden; }
.cta-band::after {
  content: "";
  position: absolute;
  right: -8%; top: -40%;
  width: 620px; height: 620px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(206, 98, 54, .34), transparent 62%);
}
.cta-band__inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 44px;
  flex-wrap: wrap;
}
.cta-band h2 { color: #fff; margin-bottom: 10px; }
.cta-band p { color: rgba(255, 255, 255, .68); max-width: 56ch; font-size: 15px; }
.cta-band__actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: rgba(255, 255, 255, .6); font-size: 13.5px; padding-top: 68px; }
.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 52px;
  border-bottom: 1px solid var(--line-dark);
}
.footer .logo__mark { background: rgba(255, 255, 255, .08); }
.footer .logo__name { color: #fff; }
.footer .logo__sub { color: rgba(255, 255, 255, .42); }
.footer__about { margin: 20px 0 0; max-width: 34ch; line-height: 1.7; font-size: 13px; }
.footer h4 { color: #fff; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 18px; font-weight: 600; }
.footer li { margin-bottom: 11px; }
.footer a:hover { color: #fff; }
.footer__contact li { display: flex; gap: 10px; line-height: 1.6; }
.footer__contact svg { width: 15px; height: 15px; color: var(--accent); flex: none; margin-top: 3px; }
.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 0 26px;
  font-size: 12px;
  color: rgba(255, 255, 255, .4);
  flex-wrap: wrap;
}
.footer__bottom a:hover { color: #fff; }
.socials { display: flex; gap: 8px; margin-top: 20px; }
.socials a {
  width: 34px; height: 34px;
  display: grid; place-items: center;
  border: 1px solid var(--line-dark);
  border-radius: 50%;
  transition: .25s;
}
.socials a:hover { background: rgba(255, 255, 255, .1); border-color: transparent; }
.socials svg { width: 15px; height: 15px; }

/* ---------- Page hero (subpages) ---------- */
.page-hero { position: relative; background: var(--ink); color: #fff; overflow: hidden; }
.page-hero__bg { position: absolute; inset: 0; }
.page-hero__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .28; object-position: center 45%; }
.page-hero__bg::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(6, 32, 36, .92), rgba(6, 32, 36, .62) 70%, rgba(6, 32, 36, .5));
}
.page-hero__inner { position: relative; z-index: 1; padding: clamp(52px, 6vw, 82px) 0 clamp(44px, 5vw, 64px); }
.crumb { display: flex; align-items: center; gap: 8px; font-size: 11.5px; color: rgba(255, 255, 255, .5); margin-bottom: 22px; letter-spacing: .04em; }
.crumb a:hover { color: #fff; }
.crumb svg { width: 9px; height: 9px; opacity: .5; }
.page-hero h1 { font-size: clamp(30px, 3.6vw, 50px); margin-bottom: 16px; max-width: 20ch; }
.page-hero p { color: rgba(255, 255, 255, .68); max-width: 62ch; font-size: 15.5px; }

/* ---------- Filter bar ---------- */
.filter-bar {
  position: sticky;
  top: 78px;
  z-index: 40;
  background: rgba(255, 255, 255, .95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.filter-bar__inner { display: flex; gap: 8px; overflow-x: auto; padding: 14px 24px; max-width: var(--wrap); margin: 0 auto; scrollbar-width: none; }
.filter-bar__inner::-webkit-scrollbar { display: none; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex: none;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 100px;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  transition: .22s;
}
.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip small { opacity: .5; font-size: 10.5px; line-height: 1; }

/* ---------- Product cards ---------- */
.prod-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.prod-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 3px;
  overflow: hidden;
  transition: .35s var(--ease);
  text-align: left;
  padding: 0;
  width: 100%;
}
.prod-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.prod-card__media { position: relative; aspect-ratio: 4 / 3; background: #F3F1EA; overflow: hidden; }
.prod-card__media img { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: multiply; transition: transform .7s var(--ease); }
.prod-card:hover .prod-card__media img { transform: scale(1.045); }
.prod-card__body { padding: 20px 20px 22px; display: flex; flex-direction: column; flex: 1; }
.prod-card__cat { font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); font-weight: 600; }
.prod-card h3 { font-size: 15.8px; margin: 7px 0 8px; line-height: 1.4; font-weight: 600; }
.prod-card p { font-size: 13px; color: var(--muted); line-height: 1.6; margin-bottom: 16px; }
.prod-card__foot { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); }
.prod-card__model { font-size: 12px; font-weight: 600; letter-spacing: .06em; color: var(--ink); }

.blueprint {
  position: absolute; inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background:
    repeating-linear-gradient(0deg, rgba(10, 42, 46, .045) 0 1px, transparent 1px 26px),
    repeating-linear-gradient(90deg, rgba(10, 42, 46, .045) 0 1px, transparent 1px 26px),
    radial-gradient(circle at 50% 42%, #FBF9F4, #EFEDE5);
}
.blueprint svg { width: 46px; height: 46px; color: rgba(10, 42, 46, .3); }
.blueprint__code { font-family: var(--serif); font-size: 20px; letter-spacing: .1em; color: rgba(10, 42, 46, .62); }
.blueprint__tag { font-size: 9.5px; letter-spacing: .22em; text-transform: uppercase; color: rgba(10, 42, 46, .32); }

.empty-state { padding: 60px 0; text-align: center; color: var(--muted); grid-column: 1 / -1; }

/* ---------- Modal ---------- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(6, 32, 36, .55);
  backdrop-filter: blur(4px);
  opacity: 0;
  visibility: hidden;
  transition: .28s var(--ease);
}
.modal.is-open { opacity: 1; visibility: visible; }
.modal__panel {
  position: relative;
  width: min(1040px, 100%);
  max-height: 88vh;
  overflow-y: auto;
  background: #fff;
  border-radius: 4px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  transform: translateY(14px) scale(.99);
  transition: .32s var(--ease);
}
.modal.is-open .modal__panel { transform: none; }
.modal__media { position: relative; background: var(--cream); min-height: 320px; overflow: hidden; }
.modal__media img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; transform: scale(1.14); }
.modal__close {
  position: absolute;
  top: 14px; right: 14px;
  z-index: 3;
  width: 36px; height: 36px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 50%;
  display: grid; place-items: center;
  transition: .2s;
}
.modal__close:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.modal__close svg { width: 14px; height: 14px; }
.modal__body { padding: clamp(24px, 3vw, 40px); }
.modal__body h2 { font-size: clamp(21px, 2vw, 27px); margin: 8px 0 14px; }
.modal__body > p { color: var(--muted); font-size: 14px; }
.spec-list { margin: 22px 0 24px; border-top: 1px solid var(--line); }
.spec-row { display: flex; justify-content: space-between; gap: 20px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 13.2px; }
.spec-row dt { color: var(--muted); }
.spec-row dd { margin: 0; font-weight: 600; text-align: right; }
.feature-list { display: flex; flex-direction: column; gap: 9px; margin: 0 0 26px; }
.feature-list li { position: relative; padding-left: 20px; font-size: 13.6px; color: var(--ink-2); }
.feature-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 8px;
  width: 7px; height: 7px;
  border: 1.5px solid var(--accent);
  transform: rotate(45deg);
}

/* ---------- About page ---------- */
.story { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(34px, 5vw, 72px); align-items: center; }
.story__media { position: relative; }
.story__media img { border-radius: 3px; aspect-ratio: 4 / 3.2; object-fit: cover; }
.story__badge {
  position: absolute;
  right: -14px; bottom: -14px;
  background: var(--ink);
  color: #fff;
  padding: 20px 24px;
  border-radius: 3px;
  text-align: left;
}
.story__badge b { display: block; font-size: 27px; letter-spacing: -.02em; line-height: 1.1; }
.story__badge span { font-size: 11px; color: rgba(255, 255, 255, .6); letter-spacing: .06em; }

.timeline { position: relative; margin-top: 8px; }
.timeline::before {
  content: "";
  position: absolute;
  left: 0; top: 6px; bottom: 6px;
  width: 1px;
  background: var(--line);
}
.tl-item { position: relative; padding: 0 0 30px 34px; }
.tl-item::before {
  content: "";
  position: absolute;
  left: -3.5px; top: 8px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #fff;
  border: 1.5px solid var(--accent);
}
.tl-item:last-child { padding-bottom: 0; }
.tl-item b { font-size: 13px; letter-spacing: .08em; color: var(--accent); }
.tl-item h3 { font-size: 16.5px; margin: 6px 0 6px; }
.tl-item p { font-size: 13.4px; color: var(--muted); }

.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.value {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 30px 26px 32px;
}
.value__icon {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  background: var(--teal-soft);
  border-radius: 2px;
  color: var(--teal);
  margin-bottom: 18px;
}
.value__icon svg { width: 21px; height: 21px; }
.value h3 { font-size: 17px; margin-bottom: 9px; }
.value p { font-size: 13.5px; color: var(--muted); }

.split-head { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; margin-bottom: 40px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(30px, 4vw, 56px); align-items: start; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: 3px; padding: clamp(24px, 3vw, 40px); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 16px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 12.5px; font-weight: 600; letter-spacing: .02em; }
.field label i { color: var(--accent); font-style: normal; }
.field input, .field select, .field textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 2px;
  padding: 12px 14px;
  font: inherit;
  font-size: 14px;
  color: var(--ink);
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(14, 82, 87, .09);
}
.form-note { font-size: 11.8px; color: var(--muted); margin-top: 14px; }
/* 蜜罐字段：机器人会填，真人看不见 */
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.form-ok {
  display: none;
  margin-top: 16px;
  padding: 14px 16px;
  background: var(--teal-soft);
  border-left: 2px solid var(--teal);
  font-size: 13.5px;
  color: var(--ink-2);
}
.form-ok.is-visible { display: block; }

.info-card { background: var(--cream); border: 1px solid var(--line); border-radius: 3px; padding: clamp(24px, 3vw, 34px); }
.info-item { display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.info-item:last-child { border-bottom: 0; }
.info-item__icon { width: 34px; height: 34px; flex: none; display: grid; place-items: center; background: #fff; border: 1px solid var(--line); border-radius: 2px; color: var(--accent); }
.info-item__icon svg { width: 16px; height: 16px; }
.info-item b { display: block; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin-bottom: 3px; }
.info-item span, .info-item a { font-size: 14px; line-height: 1.6; }

.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 0;
  font-size: 15.5px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-size: 20px;
  font-weight: 400;
  color: var(--accent);
  transition: transform .25s;
  flex: none;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 20px; font-size: 14px; color: var(--muted); max-width: 78ch; margin: 0; }

/* ---------- Case / testimonial ---------- */
.case-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 20px; }
.case {
  position: relative;
  border-radius: 3px;
  overflow: hidden;
  min-height: 300px;
  display: flex;
  align-items: flex-end;
  padding: 24px;
  color: #fff;
}
.case img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.case::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(6, 32, 36, .88), rgba(6, 32, 36, .08) 65%); }
.case:hover img { transform: scale(1.04); }
.case > div { position: relative; z-index: 1; }
.case b { display: block; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: #F0B79C; margin-bottom: 8px; }
.case h3 { font-size: 17px; line-height: 1.4; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .nav { gap: 22px; }
  .header__phone { display: none; }
  .sol-grid { grid-template-columns: repeat(2, 1fr); }
  .sol-card--wide { grid-column: span 2; }
  .new-grid { grid-template-columns: repeat(2, 1fr); }
  .case-grid { grid-template-columns: 1fr 1fr; }
  .case:first-child { grid-column: span 2; }
}

@media (max-width: 1024px) {
  .nav, .header__phone { display: none; }
  .burger { display: block; }
  .mobile-nav { display: block; }
  .why { grid-template-columns: 1fr; }
  .global__inner { grid-template-columns: 1fr; }
  .story { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .prod-grid { grid-template-columns: repeat(2, 1fr); }
  .news-grid { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 34px; }
  .modal__panel { grid-template-columns: 1fr; }
  .modal__media { min-height: 240px; aspect-ratio: 16 / 10; }
  .modal__media img { position: static; height: 100%; }
  .filter-bar { top: 78px; }
}

@media (max-width: 820px) {
  .stats-band { margin-top: -56px; }
  .stats-band__inner { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(1), .stat:nth-child(2) { border-bottom: 1px solid var(--line); }
  .section-head { flex-direction: column; align-items: flex-start; gap: 18px; }
  .split-head { grid-template-columns: 1fr; gap: 16px; }
  .value-grid { grid-template-columns: 1fr; }
  .why__cap { grid-template-columns: 1fr; }
  .hero__scroll { display: none; }
  .topbar__meta span:nth-child(2) { display: none; }
}

@media (max-width: 620px) {
  .sol-grid, .new-grid, .news-grid, .prod-grid, .case-grid { grid-template-columns: 1fr; }
  .sol-card--wide, .case:first-child { grid-column: span 1; }
  .sol-card--wide { display: flex; flex-direction: column; }
  .sol-card--wide .sol-card__media { aspect-ratio: 4 / 3; height: auto; min-height: 0; }
  .stats-band__inner { grid-template-columns: 1fr 1fr; }
  .stat { padding: 20px 18px; }
  .footer__grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .regions { grid-template-columns: 1fr 1fr; }
  .cta-band__inner { gap: 26px; }
  .hero__actions .btn { flex: 1 1 100%; }
  .footer__bottom { flex-direction: column; align-items: flex-start; gap: 10px; }
  .topbar { display: none; }
  .header__inner { height: 68px; }
  .header__actions .btn { display: none; }
  .filter-bar { top: 68px; }
  .page-hero h1 { font-size: 28px; }
  h1 { font-size: clamp(29px, 8.4vw, 40px); }
}
