/* Saihang sodium methoxide, design A final (orange with logo navy, Lato). Motion uses transform and opacity only. */

@font-face { font-family: "Lato"; src: url(../fonts/lato-latin-400-normal.woff2) format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Lato"; src: url(../fonts/lato-latin-700-normal.woff2) format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }

:root {
  --orange: #f9a02c;
  --orange-dark: #e48a12;
  --orange-text: #c86e05;
  --orange-tint: #fff3e2;
  --ink: #1c1d2b;
  --text: #4a4c58;
  --muted: #696b77;
  --line: #e4e5ea;
  --alt: #f5f6f8;
  --navy: #1c1d48;
  --navy-deep: #131433;
  --sand: #f3ece4;
  --head-h: 84px;
  --ease-out: cubic-bezier(.2, .7, .2, 1);

  /* Type scale */
  --fs-s: 13px;
  --fs-m: 15px;
  --fs-body: 17px;
  --fs-lead: 20px;
  --fs-h3: 26px;
  --fs-num: 36px;
  --fs-h2: 44px;
  --fs-big: 58px;
  --fs-h1: 66px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: "Lato", "Helvetica Neue", Arial, sans-serif; font-size: var(--fs-body); line-height: 1.7; color: var(--text); background: #fff; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { color: var(--ink); font-weight: 700; line-height: 1.15; margin: 0; }
sub { line-height: 0; }
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 32px; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; text-align: center;
  min-height: 48px; padding: 0 26px; border-radius: 4px;
  font-weight: 700; font-size: var(--fs-m); letter-spacing: .06em; text-transform: uppercase;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
  position: relative; overflow: hidden; isolation: isolate;
}
.btn-lg { min-height: 56px; padding: 0 34px; }
.btn-orange { background: var(--orange); color: #1a1a1a; }
.btn-orange:hover { background: var(--orange-dark); }
.btn-orange::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(105deg, transparent 30%, rgba(255,255,255,.45) 50%, transparent 70%); transform: translateX(-110%); }
.btn-orange:hover::after { transform: translateX(110%); transition: transform .7s ease; }
@keyframes shine { to { transform: translateX(110%); } }
.btn-ghost { border: 2px solid rgba(255,255,255,.75); color: #fff; }
.btn-ghost:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn-dark { background: var(--navy); color: #fff; }
.btn-dark:hover { background: var(--orange); color: #1a1a1a; }

/* Top bar */
.topbar { position: absolute; top: 0; left: 0; right: 0; z-index: 30; font-size: var(--fs-s); color: rgba(255,255,255,.8); }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 44px; }
.tb-links { display: flex; gap: 28px; }
.tb-links a { display: inline-flex; align-items: center; gap: 7px; transition: color .2s; }
.tb-links a:hover { color: var(--orange); }
.tb-links svg { width: 15px; height: 15px; fill: var(--orange); }

/* Header */
.site-head { position: absolute; top: 44px; left: 0; right: 0; z-index: 40; transition: background-color .3s ease, box-shadow .3s ease; }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; height: var(--head-h); }
.logo { position: relative; display: block; width: 200px; }
.logo img { width: 200px; height: auto; transition: opacity .3s ease; }
.logo .logo-color { position: absolute; inset: 0; opacity: 0; }
.nav { display: flex; align-items: center; gap: 34px; }
.nav a:not(.btn) { position: relative; color: #fff; font-weight: 700; font-size: var(--fs-m); letter-spacing: .06em; text-transform: uppercase; padding: 6px 0; transition: color .2s; }
.nav a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--orange); transform: scaleX(0); transition: transform .25s ease; }
.nav a:not(.btn):hover::after, .nav a.is-active::after { transform: scaleX(1); }
.nav .btn { min-height: 42px; padding: 0 20px; }
.nav-toggle { display: none; width: 44px; height: 44px; border: 0; background: none; padding: 10px; cursor: pointer; }
.nav-toggle span { display: block; height: 2px; margin: 5px 0; background: #fff; transition: transform .25s, opacity .25s; }

.site-head.is-stuck { position: fixed; top: 0; background: #fff; box-shadow: 0 6px 20px rgba(19,20,51,.07); animation: drop .35s ease; }
.site-head.is-stuck .wrap { height: 70px; }
.site-head.is-stuck .logo-white { opacity: 0; }
.site-head.is-stuck .logo-color { opacity: 1; }
.site-head.is-stuck .nav a:not(.btn) { color: var(--ink); }
.site-head.is-stuck .nav-toggle span { background: var(--ink); }
@keyframes drop { from { transform: translateY(-100%); } }

/* Hero */
.hero { position: relative; color: #fff; overflow: hidden; background: var(--navy-deep); }
.hero-bg, .hero-bg img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-bg img { object-fit: cover; object-position: center 40%; animation: heroZoom 14s ease-out both; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(19,20,51,.93) 0%, rgba(19,20,51,.8) 45%, rgba(19,20,51,.5) 100%); }
@keyframes heroZoom { from { scale: 1.1; } to { scale: 1; } }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) 440px; gap: 72px; align-items: center; min-height: 820px; padding-top: 168px; padding-bottom: 160px; }
.hero-text > :not(h1), .hero-card { animation: rise .9s var(--ease-out) both; }
.hero-sub { animation-delay: .25s !important; }
.hero-btns { animation-delay: .35s !important; }
.hero-certs { animation-delay: .45s !important; }
.hero-card { animation-delay: .4s; }
.hero-btns .btn-orange::after { animation: shine 1.1s ease 1.5s; }
@keyframes rise { from { opacity: 0; translate: 0 18px; } }
.hero h1 { font-size: var(--fs-h1); line-height: 1.05; letter-spacing: -.02em; color: #fff; margin-bottom: 28px; }
.hero h1 .ln { display: block; overflow: hidden; padding-bottom: .1em; margin-bottom: -.1em; }
.hero h1 .ln > span { display: block; animation: lineUp 1s var(--ease-out) .05s both; }
.hero h1 .ln + .ln > span { animation-delay: .17s; }
.hero h1 .ln-1 { color: var(--orange); }
@keyframes lineUp { from { translate: 0 105%; } }
.hero-sub { font-size: var(--fs-lead); line-height: 1.6; max-width: 30em; margin: 0 0 40px; color: rgba(255,255,255,.86); }
.hero-btns { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 56px; }
.hero-certs { display: inline-flex; align-items: center; gap: 12px; }
.hero-certs img { width: 36px; border-radius: 2px; transition: transform .25s; }
.hero-certs img + img { transition-delay: .05s; }
.hero-certs:hover img { transform: translateY(-3px); }
.hero-certs span { font-size: var(--fs-m); line-height: 1.45; color: rgba(255,255,255,.72); margin-left: 6px; }
.hero-certs b { display: block; color: #fff; }

.hero-card { background: #fff; color: var(--text); border-radius: 16px; padding: 30px 32px 28px; box-shadow: 0 40px 80px rgba(5,6,25,.3); }
.hc-label { margin: 0 0 6px; font-size: var(--fs-body); font-weight: 700; color: var(--ink); }
.hc-item { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 16px; align-items: center; margin-top: 10px; padding: 14px 16px 14px 14px; border-radius: 12px; background: var(--alt); transition: background-color .2s; }
.hc-item:hover { background: var(--orange-tint); }
.hc-item img { width: 64px; height: 64px; border-radius: 8px; object-fit: cover; }
.hc-name { font-size: var(--fs-s); line-height: 1.45; color: var(--muted); }
.hc-name b { display: block; font-size: var(--fs-body); color: var(--ink); }
.hc-val { text-align: right; font-size: var(--fs-lead); font-weight: 700; line-height: 1.25; color: var(--ink); white-space: nowrap; }
.hc-val small { display: block; font-size: var(--fs-s); font-weight: 400; color: var(--muted); }
.hc-ids { display: flex; justify-content: space-between; gap: 12px; margin: 22px 4px 0; }
.hc-ids dt { font-size: var(--fs-s); color: var(--muted); }
.hc-ids dd { margin: 0; font-size: var(--fs-m); font-weight: 700; color: var(--ink); white-space: nowrap; }

/* Trust bar */
.trust { position: relative; z-index: 2; margin-top: -64px; }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; border-radius: 16px; box-shadow: 0 24px 56px rgba(19,20,51,.1); }
.trust-item { display: flex; gap: 16px; align-items: center; padding: 30px 28px; }
.trust-item + .trust-item { border-left: 1px solid var(--line); }
.trust-item svg { flex: none; width: 48px; height: 48px; padding: 11px; border-radius: 50%; background: var(--orange-tint); fill: none; stroke: var(--orange-dark); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.trust-item b { display: block; font-size: var(--fs-body); line-height: 1.3; color: var(--ink); }
.trust-item span { display: block; font-size: var(--fs-m); line-height: 1.45; color: var(--muted); }

/* Sections */
.sec { padding: 128px 0; }
.sec.alt { background: var(--alt); }
#description { padding-top: 120px; }
.title { font-size: var(--fs-h2); line-height: 1.12; letter-spacing: -.015em; margin-bottom: 26px; }
.title span { color: var(--orange-text); }
.title::after { content: ""; display: block; width: 48px; height: 3px; background: var(--orange); margin-top: 24px; transform-origin: 0 50%; transition: transform .9s var(--ease-out) .35s; }
.js .reveal:not(.in) .title::after { transform: scaleX(0); }
.title-c { text-align: center; }
.title-c::after { margin-left: auto; margin-right: auto; transform-origin: 50% 50%; }
.lead { font-size: var(--fs-lead); line-height: 1.7; margin: 0; }
.lead strong { color: var(--ink); }
.sec-head { max-width: 800px; margin: 0 auto 64px; text-align: center; }
.sec-head .lead, .hero-sub { text-wrap: balance; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 96px; align-items: center; }

/* Description */
.desc-top { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 96px; align-items: end; margin-bottom: 64px; }
.desc-top .title { margin-bottom: 0; }
.ids { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); margin: 0; border-radius: 16px; background: var(--alt); }
.ids div { padding: 28px 28px 30px; }
.ids div + div { border-left: 1px solid #e2e3e9; }
.ids dt { font-size: var(--fs-m); color: var(--muted); margin-bottom: 6px; }
.ids dd { margin: 0; font-size: var(--fs-h3); font-weight: 700; line-height: 1.25; color: var(--ink); white-space: nowrap; }

/* Applications */
.apps-main { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.app-main { position: relative; overflow: hidden; display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 28px; align-items: center; min-height: 200px; padding: 40px 44px; border-radius: 20px; background: var(--navy); color: rgba(255,255,255,.8); }
.app-ico { width: 76px; height: 76px; padding: 18px; border-radius: 50%; background: var(--orange); fill: none; stroke: var(--navy); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; position: relative; z-index: 1; transition: transform .4s var(--ease-out); }
.app-main div { position: relative; z-index: 1; }
.app-main h3 { color: #fff; font-size: var(--fs-h3); }
.app-main p { margin: 8px 0 0; font-size: var(--fs-body); }
.app-mark { position: absolute; right: -50px; bottom: -60px; width: 180px; height: 180px; fill: none; stroke: rgba(255,255,255,.06); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .8s var(--ease-out); }
.apps-more { list-style: none; margin: 24px 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.apps-more li { position: relative; padding: 26px 24px 28px; border-radius: 16px; background: #fff; transition: transform .35s var(--ease-out); }
.apps-more li::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: 0 18px 40px rgba(19,20,51,.1); opacity: 0; transition: opacity .35s ease; pointer-events: none; }
@media (hover: hover) {
  .apps-more li:hover { transform: translateY(-6px); }
  .apps-more li:hover::after { opacity: 1; }
  .app-main:hover .app-ico { transform: scale(1.07); }
  .app-main:hover .app-mark { transform: rotate(-10deg) scale(1.12); }
  .spec tbody tr:hover td { background: var(--orange-tint); }
}
.apps-more svg { display: block; width: 48px; height: 48px; padding: 11px; margin-bottom: 18px; border-radius: 12px; background: var(--orange-tint); fill: none; stroke: var(--orange-dark); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.apps-more b { display: block; font-size: var(--fs-body); line-height: 1.35; color: var(--ink); }
.apps-more span { display: block; margin-top: 4px; font-size: var(--fs-m); line-height: 1.45; color: var(--muted); }

/* Products */
.prods { display: grid; gap: 32px; }
.prod { display: grid; grid-template-columns: 400px minmax(0, 1fr); gap: 64px; align-items: start; padding: 40px; border-radius: 20px; background: var(--alt); scroll-margin-top: 90px; }
.prod-flip { grid-template-columns: minmax(0, 1fr) 400px; }
.prod-flip .prod-side { order: 2; }
.prod-photo { display: block; border-radius: 14px; overflow: hidden; }
.prod-photo img { width: 100%; transition: transform .7s ease; }
.prod-photo:hover img { transform: scale(1.04); }
.packing { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 10px; }
.packing li { display: flex; align-items: center; gap: 14px; padding: 14px 18px; border-radius: 12px; background: #fff; font-size: var(--fs-m); color: var(--muted); }
.packing svg { flex: none; width: 26px; height: 26px; fill: none; stroke: var(--orange-dark); stroke-width: 1.8; stroke-linejoin: round; }
.packing b { font-size: var(--fs-lead); color: var(--ink); margin-right: 4px; }
.prod-body { padding-top: 6px; }
.prod h3 { font-size: var(--fs-num); letter-spacing: -.015em; }
.prod-sub { margin: 6px 0 28px; font-size: var(--fs-lead); color: var(--orange-text); font-weight: 700; }
.spec { width: 100%; border-collapse: collapse; font-size: var(--fs-m); margin-bottom: 32px; background: #fff; border-radius: 12px; overflow: hidden; }
.spec th { text-align: left; font-size: var(--fs-s); font-weight: 700; color: #fff; background: var(--navy); padding: 13px 20px; }
.spec th:last-child, .spec td:last-child { text-align: right; }
.spec td { padding: 13px 20px; border-top: 1px solid var(--line); }
.spec td:first-child { color: var(--text); padding-right: 12px; }
.spec td:last-child { font-weight: 700; color: var(--ink); }

/* Certificates */
.certs-sec { background: var(--navy); color: rgba(255,255,255,.75); overflow: hidden; }
.certs-sec .title { color: #fff; }
.certs-sec .title span { color: var(--orange); }
.certs-sec .lead { color: rgba(255,255,255,.8); }
.cert-list { margin: 40px 0 0; display: grid; gap: 12px; }
.cert-list div { display: grid; grid-template-columns: 44px minmax(0, 1fr); column-gap: 18px; align-items: center; padding: 18px 22px; border-radius: 12px; background: rgba(255,255,255,.06); }
.cert-list svg { grid-row: span 2; width: 44px; height: 44px; fill: none; stroke: var(--orange); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.cert-list dt { color: #fff; font-weight: 700; font-size: var(--fs-body); line-height: 1.35; }
.cert-list dd { margin: 0; font-size: var(--fs-m); line-height: 1.5; }
.certs-split { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 72px; }
.cert-pics { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: start; }
.cert-fig { margin: 0; }
.cert-pic { position: relative; display: block; background: #fff; padding: 10px; border-radius: 8px; transition: transform .35s ease; }
.cert-pic:hover { transform: translateY(-6px); }
.cert-zoom { position: absolute; right: 18px; bottom: 18px; display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; background: var(--navy); opacity: 0; transition: opacity .25s ease; }
.cert-pic:hover .cert-zoom, .cert-pic:focus-visible .cert-zoom { opacity: 1; }
.cert-zoom svg { width: 22px; height: 22px; fill: none; stroke: #fff; stroke-width: 2.2; stroke-linecap: round; }
.cert-fig figcaption { margin-top: 14px; text-align: center; font-size: var(--fs-m); font-weight: 700; color: #fff; }

/* About */
.about { background: var(--sand); }
.about-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 96px; align-items: center; }
.about-sub { font-size: var(--fs-lead); font-weight: 700; line-height: 1.5; color: var(--ink); margin: 0 0 20px; }
.about p:not(.about-sub) { margin: 0 0 14px; }
.counters { display: grid; gap: 12px; }
.counter { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 20px; align-items: center; padding: 26px 30px; border-radius: 14px; background: rgba(255,255,255,.6); }
.counter b { font-size: var(--fs-big); line-height: 1; letter-spacing: -.02em; color: var(--ink); }
.counter span { font-size: var(--fs-body); font-weight: 700; line-height: 1.4; color: var(--ink); }

/* Delivery */
.ships { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.ship { position: relative; display: block; aspect-ratio: 4 / 3.3; border-radius: 16px; overflow: hidden; background: var(--navy); }
.ship img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.82) contrast(1.06); transition: transform .8s ease; }
.ship::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(19,20,51,0) 40%, rgba(19,20,51,.88) 100%); }
.ship:hover img { transform: scale(1.05); }
.ship-cap { position: absolute; left: 28px; right: 28px; bottom: 24px; z-index: 1; font-size: var(--fs-m); color: rgba(255,255,255,.85); }
.ship-cap b { display: block; font-size: var(--fs-num); line-height: 1.15; color: #fff; letter-spacing: -.01em; }

/* Contact */
.contact { background: var(--navy); color: rgba(255,255,255,.8); }
.contact .title { color: #fff; }
.contact .title span { color: var(--orange); }
.contact .lead { margin-bottom: 40px; }
.contact-card { display: grid; gap: 10px; }
.c-row { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 18px; align-items: center; padding: 18px 22px; border-radius: 14px; background: #fff; color: var(--text); transition: transform .25s ease; }
a.c-row:hover { transform: translateX(6px); }
.c-row svg { width: 48px; height: 48px; padding: 13px; border-radius: 50%; background: var(--orange-tint); fill: var(--orange-dark); }
.c-row small { display: block; font-size: var(--fs-s); color: var(--muted); }
.c-row b { display: block; font-size: var(--fs-body); line-height: 1.45; color: var(--ink); overflow-wrap: anywhere; }

/* Footer */
.site-foot { background: var(--navy-deep); color: rgba(255,255,255,.62); font-size: var(--fs-m); }
.foot-cols { display: grid; grid-template-columns: 1.3fr 1fr 1.3fr; gap: 48px; padding-top: 80px; padding-bottom: 60px; }
.foot-about img { width: 190px; margin-bottom: 18px; }
.foot-about p { margin: 0; max-width: 24em; }
.site-foot h3 { color: #fff; font-size: var(--fs-body); margin-bottom: 18px; }
.foot-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 20px; }
.foot-nav a, .foot-contact a { transition: color .2s; }
.foot-nav a:hover, .foot-contact a:hover { color: var(--orange); }
.foot-contact { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.foot-bottom { border-top: 1px solid rgba(255,255,255,.08); font-size: var(--fs-s); }
.foot-bottom .wrap { padding-top: 22px; padding-bottom: 22px; }

/* Phone bar and back to top */
.mbar { display: none; }
.to-top { position: fixed; right: 20px; bottom: 20px; z-index: 35; width: 46px; height: 46px; border-radius: 50%; background: var(--orange); display: flex; align-items: center; justify-content: center; opacity: 0; translate: 0 12px; pointer-events: none; transition: opacity .3s, translate .3s var(--ease-out); }
.to-top.is-on { opacity: 1; translate: none; pointer-events: auto; }
.to-top svg { width: 22px; height: 22px; fill: #1a1a1a; }

/* Lightbox */
.lightbox { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: transparent; }
.lightbox[open] { display: grid; place-items: center; }
.lightbox::backdrop { background: rgba(10,10,20,.92); }
.lightbox[open]::backdrop { animation: fade .3s ease; }
.lightbox[open] img { animation: zoomIn .35s var(--ease-out); }
@keyframes fade { from { opacity: 0; } }
@keyframes zoomIn { from { opacity: 0; scale: .96; } }
.lightbox img { max-width: 92vw; max-height: 88vh; width: auto; height: auto; }
.lightbox button { position: absolute; width: 52px; height: 52px; border: 0; background: none; color: #fff; font-size: 42px; line-height: 1; cursor: pointer; }
.lb-close { top: 12px; right: 12px; }
.lb-prev { left: 8px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 8px; top: 50%; transform: translateY(-50%); }

/* Reveal: blocks rise in, grids stagger their items (site.js sets --i and adds .in) */
.js .reveal:not(.in), .js .stagger:not(.in) > * { opacity: 0; }
.reveal.in { animation: up .9s var(--ease-out) backwards; }
.stagger.in > * { animation: up .8s var(--ease-out) backwards; animation-delay: calc(var(--i, 0) * 90ms); }
@keyframes up { from { opacity: 0; translate: 0 26px; } }
.counter b, .ship-cap b { font-variant-numeric: tabular-nums; }

/* Scroll-linked motion: runs off the main thread where supported, skipped elsewhere */
.progress { display: none; }
@supports (animation-timeline: scroll()) {
  .progress { display: block; position: fixed; top: 0; left: 0; right: 0; z-index: 60; height: 3px; background: var(--orange); transform-origin: 0 50%; animation: grow linear both; animation-timeline: scroll(root); }
  .hero-bg { animation: drift linear both; animation-timeline: scroll(root); animation-range: 0 100vh; }
  .ship img { scale: 1.14; animation: pan linear both; animation-timeline: view(); }
}
@keyframes grow { from { transform: scaleX(0); } }
@keyframes drift { to { translate: 0 22%; } }
@keyframes pan { from { translate: 0 -6%; } to { translate: 0 6%; } }

/* Tablet */
@media (max-width: 1080px) {
  :root { --fs-h1: 54px; }
  .tb-name { display: none; }
  .topbar .wrap { justify-content: center; }
  .nav { gap: 22px; }
  .hero-grid { grid-template-columns: minmax(0, 1fr) 380px; gap: 44px; }
  .hero-card { padding: 24px 22px 22px; }
  .hc-item { grid-template-columns: 52px minmax(0, 1fr) auto; gap: 12px; }
  .hc-item img { width: 52px; height: 52px; }
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .trust-item:nth-child(3) { border-left: 0; }
  .trust-item:nth-child(n+3) { border-top: 1px solid var(--line); }
  .split, .about-grid { grid-template-columns: 1fr; gap: 56px; }
  .desc-top { grid-template-columns: 1fr; gap: 28px; margin-bottom: 48px; }
  .ids { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .ids div { grid-column: span 2; }
  .ids div:nth-child(n+4) { grid-column: span 3; border-top: 1px solid #e2e3e9; }
  .ids div:nth-child(4) { border-left: 0; }
  .app-main { padding: 32px; gap: 22px; grid-template-columns: 64px minmax(0, 1fr); min-height: 170px; }
  .app-ico { width: 64px; height: 64px; padding: 15px; }
  .apps-more { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .prod, .prod-flip { grid-template-columns: 300px minmax(0, 1fr); gap: 40px; padding: 32px; }
  .prod-flip .prod-side { order: 0; }
  .cert-pics { max-width: 720px; }
  .foot-cols { grid-template-columns: 1fr 1fr; }
  .foot-about { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  :root { --fs-h1: 44px; --fs-h2: 34px; --fs-num: 30px; }
  .topbar { display: none; }
  .site-head { top: 0; }
  .site-head .wrap { height: 70px; }
  .logo, .logo img { width: 170px; }
  .nav-toggle { display: block; }
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: #fff; padding: 8px 24px 20px; box-shadow: 0 14px 24px rgba(0,0,0,.1); }
  .nav a:not(.btn) { color: var(--ink); padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav a:not(.btn)::after { display: none; }
  .nav .btn { margin-top: 16px; min-height: 48px; }
  .site-head.is-open { background: #fff; }
  .site-head.is-open .logo-white { opacity: 0; }
  .site-head.is-open .logo-color { opacity: 1; }
  .site-head.is-open .nav { display: flex; animation: menuIn .25s var(--ease-out); }
  .site-head.is-open .nav-toggle span { background: var(--ink); }
  .site-head.is-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .site-head.is-open .nav-toggle span:nth-child(2) { opacity: 0; }
  .site-head.is-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .hero-bg img { animation: none; }
  .hero::after { background: linear-gradient(180deg, rgba(19,20,51,.72) 0%, rgba(19,20,51,.9) 70%); }
  .hero-grid { grid-template-columns: 1fr; gap: 44px; min-height: 0; padding-top: 118px; padding-bottom: 116px; }
  .hero-sub { font-size: 18px; }
  .hero-card { max-width: none; }
  .sec { padding: 96px 0; }
  #description { padding-top: 96px; }
  .prod, .prod-flip { grid-template-columns: 1fr; }
  .prod-side { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 20px; align-items: center; }
  .packing { margin: 0; }
  .ships { gap: 14px; }
  .ship-cap { left: 16px; right: 16px; bottom: 14px; }
  .ship-cap b { font-size: 26px; }
}

/* Phone */
@media (max-width: 640px) {
  :root { --fs-body: 16px; --fs-lead: 17px; --fs-h1: 38px; --fs-h2: 30px; --fs-num: 26px; --fs-big: 44px; }
  body { padding-bottom: 60px; }
  .wrap { padding: 0 18px; }
  .hero-grid { padding-top: 104px; padding-bottom: 100px; gap: 36px; }
  .hero h1 { margin-bottom: 18px; }
  .hero-sub { font-size: 17px; margin-bottom: 28px; }
  .hero-btns { margin-bottom: 32px; gap: 12px; }
  .hero-btns .btn { flex: 1 1 100%; }
  .hero-certs { width: 100%; }
  .hero-card { padding: 20px 16px 18px; border-radius: 14px; }
  .hc-item { grid-template-columns: 48px minmax(0, 1fr) auto; padding: 12px; }
  .hc-item img { width: 48px; height: 48px; }
  .hc-val { font-size: 16px; }
  .hc-ids { margin: 18px 2px 0; }
  .hc-ids dd { font-size: 14px; }
  .trust { margin-top: -56px; }
  .trust-item { flex-direction: column; align-items: flex-start; gap: 10px; padding: 20px 16px; }
  .trust-item svg { width: 42px; height: 42px; padding: 9px; }
  .trust-item span { font-size: var(--fs-s); }
  .sec { padding: 76px 0; }
  #description { padding-top: 76px; }
  .title { margin-bottom: 20px; }
  .title::after { margin-top: 18px; }
  .sec-head { margin-bottom: 40px; }
  .split, .about-grid { gap: 40px; }
  .desc-top { gap: 20px; margin-bottom: 32px; }
  .ids { grid-template-columns: 1fr 1fr; }
  .ids div { padding: 18px 18px 20px; }
  .ids div:nth-child(n) { border-left: 0; border-top: 1px solid #e2e3e9; }
  .ids div:nth-child(-n+2) { border-top: 0; }
  .ids div:nth-child(even) { border-left: 1px solid #e2e3e9; }
  .ids div:nth-child(n) { grid-column: auto; }
  .ids div:last-child { grid-column: 1 / -1; }
  .ids dt { font-size: var(--fs-s); }
  .ids dd { font-size: 19px; }
  .apps-main { grid-template-columns: 1fr; gap: 12px; }
  .app-main { padding: 24px 22px; gap: 18px; grid-template-columns: 56px minmax(0, 1fr); min-height: 0; border-radius: 16px; }
  .app-ico { width: 56px; height: 56px; padding: 13px; }
  .app-main h3 { font-size: 22px; }
  .app-mark { display: none; }
  .apps-more { grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 12px; }
  .apps-more li { padding: 18px 16px 20px; }
  .apps-more li:last-child { grid-column: 1 / -1; }
  .apps-more svg { width: 42px; height: 42px; padding: 9px; margin-bottom: 12px; }
  .apps-more span { font-size: var(--fs-s); }
  .prods { gap: 20px; }
  .prod, .prod-flip { display: flex; flex-direction: column; align-items: stretch; gap: 0; padding: 16px 16px 22px; border-radius: 16px; }
  .prod-side, .prod-body { display: contents; }
  .prod-photo { order: 1; margin-bottom: 22px; }
  .prod h3 { order: 2; }
  .prod-sub { order: 3; }
  .packing { order: 4; margin: 0 0 20px; gap: 8px; }
  .spec { order: 5; }
  .prod .btn { order: 6; }
  .packing li { padding: 12px 14px; }
  .packing b { font-size: 18px; }
  .prod-sub { margin-bottom: 16px; color: var(--ink); }
  .spec th, .spec td { padding: 11px 12px; }
  .spec { font-size: 14px; }
  .prod .btn { width: 100%; }
  .cert-list div { padding: 16px; }
  .cert-pics { gap: 14px; }
  .cert-pic { padding: 6px; }
  .cert-zoom { opacity: 1; right: 10px; bottom: 10px; width: 36px; height: 36px; }
  .cert-zoom svg { width: 18px; height: 18px; }
  .cert-fig figcaption { font-size: var(--fs-s); margin-top: 10px; }
  .counter { grid-template-columns: 110px minmax(0, 1fr); padding: 20px 20px; }
  .ships { grid-template-columns: 1fr; }
  .ship { aspect-ratio: 16 / 10; }
  .ship-cap b { font-size: 30px; }
  .c-row { grid-template-columns: 42px minmax(0, 1fr); gap: 14px; padding: 16px; }
  .c-row svg { width: 42px; height: 42px; padding: 11px; }
  a.c-row:hover { transform: none; }
  .contact .btn { width: 100%; }
  .foot-cols { grid-template-columns: 1fr; gap: 32px; padding-top: 56px; padding-bottom: 36px; }
  .mbar { display: grid; grid-template-columns: 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; height: 60px; box-shadow: 0 -4px 16px rgba(0,0,0,.12); animation: barUp .5s var(--ease-out) .8s backwards; }
  .mbar a { display: flex; align-items: center; justify-content: center; gap: 8px; font-weight: 700; font-size: var(--fs-m); background: #1d8139; color: #fff; }
  .mbar a.mbar-mail { background: var(--orange); color: #1a1a1a; }
  .mbar svg { width: 20px; height: 20px; fill: currentColor; }
  .to-top { display: none; }
}

@keyframes menuIn { from { opacity: 0; translate: 0 -8px; } }
@keyframes barUp { from { translate: 0 100%; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal:not(.in), .js .stagger:not(.in) > * { opacity: 1; }
  .js .reveal:not(.in) .title::after { transform: none; }
  *, *::before, *::after { animation: none !important; transition-duration: 0s !important; }
  .progress { display: none; }
  .ship img { scale: none; }
}

@media print {
  .js .reveal:not(.in), .js .stagger:not(.in) > * { opacity: 1; }
  .progress, .mbar, .to-top { display: none; }
}
