/* =======================================================
   Honson Amusement Equipment — design system v2
   Layout replicated from an industrial B2B export reference
   site: mega header, carousel banner, product range,
   industry solutions, counters, factory/team cards,
   core tech, global footprint, partners, tabs, insights.
   ======================================================= */

@import url("https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@600;700;800&family=Inter:wght@400;500;600;700&display=swap");

:root {
  /* palette */
  --navy: #08192e;
  --navy-2: #0e2a4a;
  --navy-3: #061426;
  --primary: #1464d2;
  --primary-dark: #0d4aa8;
  --primary-light: #eaf1fd;
  --accent: #ff6a1a;
  --accent-dark: #ef5504;
  --accent-light: #fff2e9;
  --ink: #101a26;
  --ink-soft: #56637a;
  --ink-faint: #8d97a8;
  --bg: #ffffff;
  --bg-soft: #f5f8fc;
  --border: #e4eaf2;
  --border-strong: #d3dced;

  /* type */
  --font-sans: "Inter", "Segoe UI", "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-display: "Plus Jakarta Sans", "Inter", "Segoe UI", Arial, "PingFang SC", sans-serif;

  /* geometry */
  --r-sm: 8px;
  --r: 14px;
  --r-lg: 20px;
  --maxw: 1220px;

  /* elevation */
  --sh-1: 0 1px 2px rgba(8, 25, 46, .05), 0 2px 6px rgba(8, 25, 46, .04);
  --sh-2: 0 2px 6px rgba(8, 25, 46, .05), 0 14px 30px -8px rgba(8, 25, 46, .12);
  --sh-3: 0 6px 16px rgba(8, 25, 46, .07), 0 28px 54px -16px rgba(8, 25, 46, .20);
  --shadow: var(--sh-2);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--bg);
  font-size: 16px;
  line-height: 1.68;
  letter-spacing: -0.005em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-variant-numeric: tabular-nums;
}

img { max-width: 100%; display: block; }
a { color: var(--primary); text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.022em;
  color: var(--ink);
  text-wrap: balance;
}
p { text-wrap: pretty; }

::selection { background: rgba(255, 106, 26, .22); color: var(--navy); }

:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
  border-radius: 4px;
}

/* slim scrollbar */
::-webkit-scrollbar { width: 11px; height: 11px; }
::-webkit-scrollbar-track { background: #eef2f8; }
::-webkit-scrollbar-thumb {
  background: #c3cedd; border-radius: 999px;
  border: 3px solid #eef2f8;
}
::-webkit-scrollbar-thumb:hover { background: #a5b4c9; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 26px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 14px 30px; border-radius: 10px;
  font-family: var(--font-display);
  font-weight: 700; font-size: 14.5px; letter-spacing: .005em; line-height: 1.2;
  border: 1.5px solid transparent; cursor: pointer;
  position: relative; overflow: hidden; isolation: isolate;
  transition: transform .22s cubic-bezier(.22,.68,.28,1), box-shadow .22s ease,
              background .22s ease, color .22s ease, border-color .22s ease;
}
.btn-primary {
  background: linear-gradient(135deg, #ff8f47 0%, var(--accent) 52%, #f04d00 100%);
  color: #fff;
  box-shadow: 0 6px 16px -6px rgba(240, 77, 0, .55), inset 0 1px 0 rgba(255,255,255,.22);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 28px -10px rgba(240, 77, 0, .58), inset 0 1px 0 rgba(255,255,255,.28);
}
.btn-blue {
  background: linear-gradient(135deg, #2a7ae0 0%, var(--primary) 100%);
  color: #fff; box-shadow: 0 6px 16px -8px rgba(20, 100, 210, .6);
}
.btn-blue:hover { transform: translateY(-2px); box-shadow: 0 16px 28px -12px rgba(20,100,210,.6); }
.btn-outline {
  border-color: rgba(255,255,255,.45); color: #fff;
  background: rgba(255,255,255,.07);
  backdrop-filter: blur(6px);
}
.btn-outline:hover { background: rgba(255,255,255,.16); border-color: #fff; transform: translateY(-2px); }
.btn-ghost { border-color: var(--primary); color: var(--primary); background: #fff; }
.btn-ghost:hover { background: var(--primary); color: #fff; transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.99); }
.btn + .btn { margin-left: 12px; }

/* ---------- topbar ---------- */
.topbar {
  background: var(--navy-3); color: #97aac4; font-size: 12.8px;
  padding: 9px 0; letter-spacing: .01em;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.topbar .container { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 6px; align-items: center; }
.topbar a { color: #fff; transition: color .2s; }
.topbar a:hover { color: #ffb07a; }
.topbar .l { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; }
.topbar .l span {
  display: inline-flex; align-items: center; gap: 9px; color: #c3d2e6;
}
.topbar .l span::before {
  content: ""; width: 5px; height: 5px; border-radius: 50%;
  background: var(--accent); flex: 0 0 auto;
}
.topbar svg { width: 13px; height: 13px; flex: 0 0 auto; }
.topbar .l span { white-space: nowrap; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 300;
  background: rgba(255,255,255,.9);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid rgba(228, 234, 242, .9);
  transition: box-shadow .32s ease, background .32s ease, border-color .32s ease;
}
.site-header.scrolled {
  background: rgba(255,255,255,.97);
  border-color: transparent;
  box-shadow: 0 10px 30px -14px rgba(8,25,46,.28);
}
.nav-wrap {
  display: flex; align-items: center; justify-content: space-between;
  height: 80px; transition: height .32s cubic-bezier(.22,.68,.28,1);
}
.site-header.scrolled .nav-wrap { height: 68px; }

.logo { display: flex; align-items: center; flex: 0 0 auto; }
.logo img {
  height: 42px; width: auto;
  transition: height .32s cubic-bezier(.22,.68,.28,1);
}
.site-header.scrolled .logo img { height: 34px; }

.main-nav ul { display: flex; gap: 4px; align-items: center; }
.main-nav a {
  color: var(--ink); font-weight: 600; font-size: 14.3px;
  padding: 10px 13px; border-radius: 8px; position: relative;
  display: inline-block; transition: color .2s ease, background .2s ease;
}
.main-nav a:hover { color: var(--primary); background: var(--primary-light); }
.main-nav a.active { color: var(--primary); }
.main-nav a.active::after {
  content: ""; position: absolute; left: 13px; right: 13px; bottom: 3px;
  height: 2.5px; border-radius: 3px;
  background: linear-gradient(90deg, var(--accent), #ffa768);
}
.nav-cta { margin-left: 12px; }
.nav-cta .btn { padding: 11px 22px; border-radius: 9px; font-size: 14px; }

.nav-toggle {
  display: none; background: none; border: none; cursor: pointer;
  padding: 9px; border-radius: 8px; transition: background .2s;
}
.nav-toggle:hover { background: var(--bg-soft); }
.nav-toggle span {
  display: block; width: 23px; height: 2.5px; border-radius: 2px;
  background: var(--ink); margin: 5px 0; transition: all .25s;
}

/* ---------- mega dropdown ---------- */
.has-drop { position: relative; }
.dropdown {
  position: absolute; top: calc(100% + 10px); left: 50%;
  transform: translateX(-50%) translateY(8px) scale(.985);
  min-width: 300px; background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r);
  box-shadow: var(--sh-3);
  display: grid; grid-template-columns: 1fr;
  overflow: hidden;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .22s ease, transform .28s cubic-bezier(.22,.68,.28,1), visibility .22s;
}
.dropdown:has(.drop-right) { grid-template-columns: 1.05fr .95fr; min-width: 540px; }
.has-drop:hover .dropdown,
.has-drop:focus-within .dropdown {
  opacity: 1; visibility: visible; pointer-events: auto;
  transform: translateX(-50%) translateY(0) scale(1);
}
.dropdown.narrow { min-width: 268px; grid-template-columns: 1fr; }
.drop-left { padding: 12px; }
.drop-right { background: var(--bg-soft); }
.dropdown a.item {
  display: block; padding: 10px 15px; border-radius: 8px;
  color: var(--ink); font-size: 14.2px; font-weight: 600;
  transition: background .18s, color .18s, padding-left .18s;
}
.dropdown a.item:hover { background: var(--primary-light); color: var(--primary); padding-left: 19px; }
.drop-media { height: 100%; min-height: 200px; position: relative; overflow: hidden; }
.drop-media img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: transform .6s cubic-bezier(.22,.68,.28,1);
}
.dropdown:hover .drop-media img { transform: scale(1.06); }
.drop-media span {
  position: absolute; left: 14px; bottom: 14px; color: #fff;
  font-family: var(--font-display); font-weight: 800; font-size: 13px;
  background: rgba(6, 20, 38, .68); backdrop-filter: blur(6px);
  padding: 6px 13px; border-radius: 999px; letter-spacing: .01em;
}

/* ---------- language switcher ---------- */
.lang { position: relative; }
.lang-btn {
  background: #fff; border: 1.5px solid var(--border); border-radius: 8px;
  padding: 8px 13px; font-size: 13.2px; font-weight: 700;
  color: var(--ink-soft); cursor: pointer; transition: all .2s;
}
.lang-btn:hover { border-color: var(--primary); color: var(--primary); }
.lang-menu {
  position: absolute; top: calc(100% + 8px); right: 0; background: #fff;
  border: 1px solid var(--border); border-radius: 12px;
  box-shadow: var(--sh-3); min-width: 158px; padding: 6px;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: all .2s ease;
}
.lang.open .lang-menu { opacity: 1; visibility: visible; transform: none; }
.lang-menu button {
  display: block; width: 100%; text-align: left; padding: 9px 12px;
  background: none; border: none; border-radius: 7px;
  font-size: 13.4px; font-weight: 500; color: var(--ink-soft);
  cursor: pointer; transition: all .18s;
}
.lang-menu button:hover { background: var(--primary-light); color: var(--primary); }

/* ---------- hero carousel ---------- */
.hero {
  position: relative; overflow: hidden;
  /* fill exactly one screen below the sticky masthead (topbar + nav = 121px) */
  height: calc(100vh - 121px);
  height: calc(100svh - 121px);
  min-height: 540px; max-height: 880px;
  background: var(--navy-3);
}
.hero-slide {
  position: absolute; inset: 0; opacity: 0;
  transition: opacity .95s cubic-bezier(.4,0,.2,1);
  display: flex; align-items: center;
  padding-bottom: 104px;              /* reserve the utility bar */
}
.hero-slide.active { opacity: 1; }

.hero-bg { position: absolute; inset: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
/* directional scrim: heavy on the copy side, light where the product sits */
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(94deg,
      rgba(4, 14, 27, .965) 0%,
      rgba(5, 18, 34, .945) 30%,
      rgba(5, 18, 34, .82) 52%,
      rgba(5, 18, 34, .32) 74%,
      rgba(5, 18, 34, .42) 100%),
    linear-gradient(to top,
      rgba(4, 14, 27, .95) 0%,
      rgba(4, 14, 27, .40) 24%,
      transparent 56%);
}

.hero-inner { position: relative; width: 100%; z-index: 2; }
.hero-inner .container { display: block; }
.hero-copy { max-width: 725px; }

.hero-subtitle {
  display: inline-flex; align-items: center; gap: 12px;
  color: #ffb37e; font-family: var(--font-display);
  font-weight: 700; font-size: 12px; letter-spacing: 3px;
  text-transform: uppercase; margin-bottom: 22px;
}
.hero-subtitle::before {
  content: ""; width: 34px; height: 2px; border-radius: 3px;
  background: linear-gradient(90deg, var(--accent), #ffb37e);
}
.hero-title {
  color: #fff; font-size: clamp(33px, 3.95vw, 52px);
  font-weight: 800; line-height: 1.09; letter-spacing: -.034em;
  margin-bottom: 24px; text-wrap: balance;
}
.hero-desc {
  color: #b8cae2; font-size: 16.3px; line-height: 1.74;
  max-width: 565px; margin-bottom: 38px;
}
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }

/* --- bottom utility bar --- */
.hero-foot {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 5;
  border-top: 1px solid rgba(255, 255, 255, .13);
  background: linear-gradient(to top, rgba(4, 14, 27, .95), rgba(4, 14, 27, .62));
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
}
.hero-foot .container {
  display: flex; align-items: center; justify-content: space-between;
  gap: 36px; min-height: 96px;
}
.hero-metrics {
  display: flex; align-items: center; flex: 1 1 auto; min-width: 0;
}
.hero-metrics li {
  display: flex; flex-direction: column; gap: 5px;
  padding-right: 34px; margin-right: 34px;
  border-right: 1px solid rgba(255, 255, 255, .12);
}
.hero-metrics li:last-child {
  border-right: none; margin-right: 0; padding-right: 0;
}
.hero-metrics b {
  font-family: var(--font-display); font-weight: 800;
  font-size: 25px; color: #fff; letter-spacing: -.035em; line-height: 1;
  display: flex; align-items: baseline; gap: 1px;
}
.hero-metrics b em {
  font-style: normal; font-size: 14.5px; color: var(--accent); font-weight: 800;
}
.hero-metrics span {
  font-size: 11.2px; color: #8fa5c0; letter-spacing: .07em;
  text-transform: uppercase; font-weight: 600; white-space: nowrap;
}
.hero-metrics li { min-width: 0; }
@media (max-width: 980px) {
  .hero-metrics span { white-space: normal; }
}

.hero-controls { display: flex; align-items: center; gap: 20px; flex: 0 0 auto; }
.hero-count {
  font-family: var(--font-display); font-size: 12.5px; color: #74899f;
  letter-spacing: .05em; display: flex; align-items: baseline; gap: 5px;
}
.hero-count b { color: #fff; font-size: 17px; font-weight: 800; }
.hero-count i { font-style: normal; }

.hero-dots { display: flex; gap: 7px; }
.hero-dots button {
  width: 24px; height: 3px; border-radius: 2px; border: none; cursor: pointer;
  background: rgba(255, 255, 255, .26); padding: 0;
  transition: all .38s cubic-bezier(.22,.68,.28,1);
}
.hero-dots button:hover { background: rgba(255, 255, 255, .55); }
.hero-dots button.active { background: var(--accent); width: 42px; }

.hero-arrows { display: flex; gap: 8px; }
.hero-arrow {
  width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .24); cursor: pointer;
  background: rgba(255, 255, 255, .07); color: #fff; font-size: 21px;
  display: flex; align-items: center; justify-content: center;
  line-height: 1; padding: 0;
  transition: all .24s ease;
}
.hero-arrow:hover {
  background: var(--accent); border-color: var(--accent);
  color: #fff;
}


/* short laptop screens: compress the hero so the stats bar never falls below the fold */
@media (max-height: 800px) and (min-width: 981px) {
  .hero { min-height: 0; }
  .hero-title { font-size: clamp(29px, 3.3vw, 43px); margin-bottom: 20px; }
  .hero-desc { font-size: 15.3px; line-height: 1.68; margin-bottom: 30px; }
  .hero-subtitle { margin-bottom: 18px; }
  .hero-slide { padding-bottom: 92px; }
  .hero-foot .container { min-height: 82px; }
  .hero-metrics b { font-size: 22px; }
  .hero-metrics li { padding-right: 26px; margin-right: 26px; }
}

/* ---------- section scaffolding ---------- */
section.block { padding: clamp(66px, 7vw, 96px) 0; position: relative; }
section.block.soft {
  background:
    radial-gradient(900px 420px at 12% 0%, rgba(20, 100, 210, .045), transparent 68%),
    radial-gradient(760px 400px at 92% 100%, rgba(255, 106, 26, .04), transparent 70%),
    var(--bg-soft);
  border-top: 1px solid rgba(228, 234, 242, .9);
  border-bottom: 1px solid rgba(228, 234, 242, .9);
}
.sec-label {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--accent); font-family: var(--font-display);
  font-weight: 700; font-size: 12.4px; letter-spacing: 2.4px;
  text-transform: uppercase; margin-bottom: 15px;
}
.sec-label::before {
  content: ""; width: 30px; height: 2.5px; border-radius: 3px;
  background: linear-gradient(90deg, var(--accent), #ffab73);
}
.sec-head { max-width: 720px; margin-bottom: 50px; }
.sec-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.sec-head h2 {
  font-size: clamp(26px, 2.9vw, 35px); line-height: 1.2;
  margin-bottom: 16px; letter-spacing: -.026em;
}
.sec-head p { color: var(--ink-soft); font-size: 16px; line-height: 1.72; max-width: 645px; }
.sec-head p + p,
.block p + p { margin-top: 15px; }
.sec-head.center p { margin-left: auto; margin-right: auto; }
.sec-head.center .sec-label { justify-content: center; }

/* ---------- photo frames ---------- */
.photo {
  position: relative; overflow: hidden; border-radius: var(--r);
  background: var(--bg-soft); min-height: 240px;
  box-shadow: inset 0 0 0 1px rgba(8, 25, 46, .05);
}
.photo img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; display: block;
  transition: transform .7s cubic-bezier(.22,.68,.28,1), filter .5s ease;
}
.photo:hover img { transform: scale(1.055); }
.photo.sm { min-height: 200px; }
.photo.lg { min-height: 420px; }
.op-l img { object-position: left center; }
.op-c img { object-position: center center; }
.op-r img { object-position: right center; }

/* ---------- product range ---------- */
.range-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.range-card {
  position: relative;
  background: #fff; border: 1px solid var(--border); border-radius: var(--r);
  overflow: hidden; display: flex; flex-direction: column;
  box-shadow: var(--sh-1);
  transition: transform .32s cubic-bezier(.22,.68,.28,1), box-shadow .32s ease, border-color .32s;
}
.range-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; z-index: 2;
  background: linear-gradient(90deg, var(--accent), #ffb07a);
  transform: scaleX(0); transform-origin: left center;
  transition: transform .42s cubic-bezier(.22,.68,.28,1);
}
.range-card:hover {
  transform: translateY(-7px); box-shadow: var(--sh-3); border-color: var(--border-strong);
}
.range-card:hover::before { transform: scaleX(1); }
.range-card .photo { min-height: 205px; border-radius: 0; box-shadow: none; }
/* vary crops so repeated source photos read as different shots */
.range-grid > .range-card:nth-child(3n+2) .photo img {
  object-position: 46% 26%; transform: scale(1.32);
}
.range-grid > .range-card:nth-child(3n+2) .photo:hover img { transform: scale(1.4); }
.range-grid > .range-card:nth-child(3n) .photo img {
  object-position: 72% 64%; transform: scale(1.62);
}
.range-grid > .range-card:nth-child(3n) .photo:hover img { transform: scale(1.7); }
.range-body { padding: 25px 25px 27px; flex: 1; display: flex; flex-direction: column; }
.range-body h3 { font-size: 18.5px; margin-bottom: 10px; letter-spacing: -.018em; }
.range-body p { font-size: 14.4px; color: var(--ink-soft); flex: 1; margin-bottom: 18px; line-height: 1.68; }
.range-body .link {
  font-family: var(--font-display); font-weight: 800; font-size: 13.8px;
  color: var(--primary); letter-spacing: .01em;
  display: inline-flex; align-items: center; gap: 6px; align-self: flex-start;
}
.range-body .link::after { content: "→"; transition: transform .25s ease; }
.range-body .link:hover::after { transform: translateX(5px); }

/* ---------- popular model ---------- */
.hot-item {
  display: grid; grid-template-columns: 480px 1fr; gap: 0;
  align-items: stretch;
  background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg);
  overflow: hidden; box-shadow: var(--sh-1);
  transition: box-shadow .32s ease, border-color .32s;
}
.hot-item:hover { box-shadow: var(--sh-2); border-color: var(--border-strong); }
.hot-item .photo { min-height: 320px; border-radius: 0; box-shadow: none; }
.hot-body { padding: 42px 44px; display: flex; flex-direction: column; justify-content: center; }
.hot-body h3 { font-size: 26px; margin-bottom: 15px; letter-spacing: -.024em; }
.hot-body p { color: var(--ink-soft); font-size: 15px; line-height: 1.72; }

/* ---------- solutions ---------- */
.sol-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: start; }
.sol-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.sol-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--r);
  padding: 29px 22px; text-align: center; box-shadow: var(--sh-1);
  transition: transform .3s cubic-bezier(.22,.68,.28,1), box-shadow .3s, border-color .3s;
}
.sol-card:hover { transform: translateY(-7px); box-shadow: var(--sh-3); border-color: transparent; }
.sol-card .icon {
  width: 60px; height: 60px; margin: 0 auto 17px; border-radius: 16px;
  font-size: 27px; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(150deg, var(--primary-light), #dbe8fb);
  transition: background .35s ease, color .35s ease, transform .35s cubic-bezier(.22,.68,.28,1);
}
.sol-card:hover .icon { background: linear-gradient(150deg, var(--primary), #2f7fe4); color: #fff; transform: translateY(-3px) scale(1.05); }
.sol-card h4 { font-size: 16.3px; margin-bottom: 8px; letter-spacing: -.015em; }
.sol-card p { font-size: 13.4px; color: var(--ink-soft); line-height: 1.6; }

.industry-list {
  border: 1px solid var(--border); border-radius: var(--r);
  overflow: hidden; background: #fff; box-shadow: var(--sh-1);
}
.industry-list li {
  padding: 16px 24px; font-family: var(--font-display);
  font-weight: 700; font-size: 14.8px; border-bottom: 1px solid var(--border);
  display: flex; justify-content: space-between; align-items: center;
  cursor: pointer; transition: all .24s cubic-bezier(.22,.68,.28,1);
}
.industry-list li:last-child { border-bottom: none; }
.industry-list li:hover { background: var(--primary-light); color: var(--primary); padding-left: 30px; }
.industry-list li::after { content: "›"; font-size: 21px; color: var(--accent); line-height: 1; }

/* ---------- stats ---------- */
.stat-band {
  position: relative; color: #fff; padding: 54px 0; overflow: hidden;
  background:
    radial-gradient(880px 380px at 14% -10%, rgba(20, 100, 210, .40), transparent 66%),
    radial-gradient(680px 360px at 94% 110%, rgba(255, 106, 26, .22), transparent 70%),
    linear-gradient(115deg, #061426 0%, #0b2a4c 56%, #0a2140 100%);
}
.stat-band::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  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(80% 70% at 50% 50%, #000 20%, transparent 78%);
  -webkit-mask-image: radial-gradient(80% 70% at 50% 50%, #000 20%, transparent 78%);
}
.stat-band .grid {
  position: relative; display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 0; text-align: center;
}
.stat-band .grid > div { position: relative; padding: 8px 14px; }
.stat-band .grid > div + div::before {
  content: ""; position: absolute; left: 0; top: 14%; bottom: 14%; width: 1px;
  background: linear-gradient(to bottom, transparent, rgba(255,255,255,.22), transparent);
}
.stat-band .num {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(34px, 3.4vw, 46px); line-height: 1.05;
  color: #fff; letter-spacing: -.03em;
  font-variant-numeric: tabular-nums;
}
.stat-band .num sup { font-size: 19px; color: #ff9f5c; top: -.55em; margin-left: 2px; }
.stat-band .label {
  font-size: 13.6px; color: #9fb6d2; margin-top: 10px;
  letter-spacing: .01em; line-height: 1.5;
}

/* ---------- about (two column) ---------- */
.about-grid {
  display: grid; grid-template-columns: 1.06fr .94fr;
  gap: 64px; align-items: start; margin-bottom: 54px;
}
.about-copy h2 {
  font-size: clamp(26px, 2.85vw, 34px); line-height: 1.22;
  margin: 15px 0 20px; letter-spacing: -.026em;
}
.about-copy p {
  color: var(--ink-soft); font-size: 15.5px; line-height: 1.76;
  margin-bottom: 15px;
}
.about-copy .btn { margin-top: 10px; }

.about-facts {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1px;
  background: var(--border); border: 1px solid var(--border);
  border-radius: 14px; overflow: hidden;
}
.about-facts .fact {
  background: #fff; padding: 27px 25px;
  display: flex; flex-direction: column; gap: 8px;
  transition: background .25s ease;
}
.about-facts .fact:hover { background: #fafcff; }
.about-facts .fact b {
  font-family: var(--font-display); font-size: 26px; font-weight: 800;
  color: var(--primary); letter-spacing: -.032em; line-height: 1;
}
.about-facts .fact span {
  font-size: 12.7px; color: var(--ink-soft); line-height: 1.55;
}

/* ---------- factory / team ---------- */
.duo-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.duo-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--r);
  overflow: hidden; box-shadow: var(--sh-1);
  transition: transform .32s cubic-bezier(.22,.68,.28,1), box-shadow .32s, border-color .32s;
}
.duo-card:hover { transform: translateY(-6px); box-shadow: var(--sh-3); border-color: var(--border-strong); }
.duo-card .photo { min-height: 235px; border-radius: 0; box-shadow: none; }
.duo-card .body { padding: 27px; }
.duo-card h3 { font-size: 19.5px; margin-bottom: 10px; letter-spacing: -.02em; }
.duo-card p { font-size: 14.4px; color: var(--ink-soft); line-height: 1.7; }

/* ---------- core tech ---------- */
.tech-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.tech-card {
  position: relative;
  background: #fff; border: 1px solid var(--border); border-radius: var(--r);
  padding: 30px 26px; overflow: hidden; box-shadow: var(--sh-1);
  transition: transform .3s cubic-bezier(.22,.68,.28,1), box-shadow .3s, border-color .3s;
}
.tech-card::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: linear-gradient(180deg, var(--primary), var(--accent));
  transform: scaleY(0); transform-origin: top center;
  transition: transform .4s cubic-bezier(.22,.68,.28,1);
}
.tech-card:hover { transform: translateY(-5px); box-shadow: var(--sh-3); border-color: var(--border-strong); }
.tech-card:hover::before { transform: scaleY(1); }
.tech-card .no {
  position: absolute; top: 14px; right: 20px;
  font-family: var(--font-display); font-size: 36px; font-weight: 800;
  color: #dae4f3; letter-spacing: -.04em; line-height: 1;
  transition: color .32s ease;
}
.tech-card:hover .no { color: #ffd2b0; }
.tech-card h4 { font-size: 16.6px; margin-bottom: 10px; padding-right: 48px; letter-spacing: -.018em; }
.tech-card p { font-size: 13.9px; color: var(--ink-soft); line-height: 1.68; }

/* ---------- global footprint ---------- */
.foot-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.region-groups { display: flex; flex-direction: column; gap: 24px; }
.region h4 {
  font-family: var(--font-display); font-size: 11.6px; font-weight: 800;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink-faint); margin-bottom: 12px;
}
.tag-cloud { display: flex; flex-wrap: wrap; gap: 9px; }
.ctag {
  background: #fff; border: 1px solid var(--border); border-radius: 999px;
  padding: 7px 16px; font-size: 13.3px; font-weight: 600; color: var(--ink-soft);
  transition: all .22s ease;
}
.ctag:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-2px); }
.ctag.hot {
  background: linear-gradient(135deg, var(--primary), #2f7fe4);
  border-color: transparent; color: #fff;
  box-shadow: 0 4px 12px -4px rgba(20,100,210,.5);
}
.case-list { display: grid; gap: 12px; }
.case-item {
  position: relative;
  background: #fff; border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: 10px; padding: 16px 21px; box-shadow: var(--sh-1);
  transition: transform .28s cubic-bezier(.22,.68,.28,1), box-shadow .28s;
}
.case-item:hover { transform: translateX(5px); box-shadow: var(--sh-2); }
.case-item h4 { font-size: 14.8px; margin-bottom: 5px; letter-spacing: -.015em; }
.case-item p { font-size: 13.2px; color: var(--ink-soft); line-height: 1.6; }

/* ---------- partners ---------- */
.certs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.cert-card {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; gap: 8px;
  background: #fff; border: 1px solid var(--border); border-radius: 12px;
  padding: 24px 26px;
  transition: transform .3s cubic-bezier(.22,.68,.28,1), box-shadow .3s, border-color .3s;
}
.cert-card::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: linear-gradient(180deg, var(--primary), #5aa6f5);
  opacity: 0; transition: opacity .3s ease;
}
.cert-card:hover {
  transform: translateY(-3px); border-color: var(--border-strong); box-shadow: var(--sh-2);
}
.cert-card:hover::before { opacity: 1; }
.cert-card b {
  font-family: var(--font-display); font-size: 18.5px; font-weight: 800;
  color: var(--navy); letter-spacing: -.012em; line-height: 1.15;
}
.cert-card span { font-size: 13.3px; color: var(--ink-soft); line-height: 1.6; }

/* ---------- advantages tabs ---------- */
.adv-wrap { display: grid; grid-template-columns: 272px 1fr; gap: 36px; align-items: start; }
.adv-tabs { display: grid; gap: 10px; }
.adv-tab {
  padding: 17px 21px; border: 1px solid var(--border); border-radius: 10px;
  background: #fff; font-family: var(--font-display);
  font-weight: 700; font-size: 14.8px; cursor: pointer; text-align: left;
  color: var(--ink); box-shadow: var(--sh-1);
  transition: all .26s cubic-bezier(.22,.68,.28,1);
}
.adv-tab:hover { border-color: var(--primary); color: var(--primary); transform: translateX(4px); }
.adv-tab.active {
  background: linear-gradient(135deg, var(--primary), #2f7fe4);
  color: #fff; border-color: transparent;
  box-shadow: 0 10px 24px -10px rgba(20, 100, 210, .6);
}
.adv-panel {
  display: none; background: #fff; border: 1px solid var(--border);
  border-radius: var(--r); padding: 38px 36px; box-shadow: var(--sh-2);
}
.adv-panel.active { display: block; animation: fadeUp .5s cubic-bezier(.22,.68,.28,1) both; }
.adv-panel h3 { font-size: 23px; margin-bottom: 15px; letter-spacing: -.022em; }
.adv-panel p { color: var(--ink-soft); margin-bottom: 18px; line-height: 1.72; }

/* ---------- news ---------- */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.news-card {
  display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--border); border-radius: var(--r);
  overflow: hidden; box-shadow: var(--sh-1);
  transition: transform .32s cubic-bezier(.22,.68,.28,1), box-shadow .32s, border-color .32s;
}
.news-card:hover { transform: translateY(-7px); box-shadow: var(--sh-3); border-color: var(--border-strong); }
.news-card .photo { min-height: 190px; border-radius: 0; box-shadow: none; flex: 0 0 auto; }
.news-body { padding: 24px 25px 26px; display: flex; flex-direction: column; flex: 1; }
.news-body .date {
  display: inline-block; font-size: 11.8px; color: var(--accent);
  font-family: var(--font-display); font-weight: 800;
  letter-spacing: 1.3px; text-transform: uppercase;
  background: var(--accent-light); padding: 4px 10px; border-radius: 999px;
}
.news-body h3 { font-size: 17.2px; margin: 12px 0 11px; line-height: 1.45; letter-spacing: -.018em; }
.news-body p { font-size: 13.9px; color: var(--ink-soft); margin-bottom: 16px; line-height: 1.66; flex: 1; }
.news-body .link {
  font-family: var(--font-display); font-weight: 800;
  font-size: 13.6px; color: var(--primary);
  display: inline-flex; align-items: center; gap: 6px; align-self: flex-start;
}
.news-body .link::after { content: "→"; transition: transform .25s ease; }
.news-body .link:hover::after { transform: translateX(5px); }

/* ---------- inquiry band ---------- */
.inq-band {
  position: relative; overflow: hidden; color: #fff;
  padding: clamp(64px, 7vw, 90px) 0;
  background:
    radial-gradient(760px 380px at 88% 8%, rgba(255, 106, 26, .20), transparent 68%),
    radial-gradient(600px 320px at 100% 100%, rgba(6, 20, 38, .55), transparent 70%),
    linear-gradient(115deg, #061426 0%, #0a2648 46%, #0f4785 100%);
}
.inq-band::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(75% 80% at 70% 40%, #000 10%, transparent 76%);
  -webkit-mask-image: radial-gradient(75% 80% at 70% 40%, #000 10%, transparent 76%);
}
.inq-wrap { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 54px; align-items: center; }
.inq-band h2 { font-size: clamp(26px, 3vw, 35px); margin-bottom: 16px; color: #fff; letter-spacing: -.026em; }
.inq-band p { color: #c2d4ea; margin-bottom: 26px; line-height: 1.72; }
.inq-points li {
  padding: 8px 0 8px 30px; position: relative;
  color: #dbe7f6; font-size: 14.8px;
}
.inq-points li::before {
  content: "✓"; position: absolute; left: 0; top: 7px;
  width: 19px; height: 19px; border-radius: 50%;
  background: rgba(255, 176, 122, .18); color: #ffb07a;
  font-size: 11.5px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.inq-form {
  background: #fff; border-radius: var(--r-lg); padding: 36px 34px;
  box-shadow: 0 34px 68px -22px rgba(0, 0, 0, .45); color: var(--ink);
}
.inq-form h3 { font-size: 20.5px; margin-bottom: 20px; letter-spacing: -.02em; }
.inq-form input, .inq-form select, .inq-form textarea {
  width: 100%; padding: 12px 15px; border: 1.5px solid var(--border);
  border-radius: 9px; font-size: 14.3px; font-family: inherit;
  background: #f8fafd; color: var(--ink); margin-bottom: 13px;
  transition: border-color .2s, background .2s, box-shadow .2s;
}
.inq-form input::placeholder, .inq-form textarea::placeholder { color: #a3aebd; }
.inq-form input:focus, .inq-form select:focus, .inq-form textarea:focus {
  outline: none; border-color: var(--primary); background: #fff;
  box-shadow: 0 0 0 3px rgba(20, 100, 210, .1);
}
.inq-form textarea { min-height: 98px; resize: vertical; }
.inq-form button { width: 100%; border-radius: 9px; margin-top: 3px; }

/* ---------- page hero (sub pages) ---------- */
.page-hero {
  position: relative; overflow: hidden; color: #fff;
  padding: 74px 0 66px;
  background:
    radial-gradient(700px 340px at 88% 0%, rgba(255, 106, 26, .22), transparent 66%),
    linear-gradient(115deg, #061426 0%, #0a2648 50%, #10498c 100%);
}
.page-hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 68px 68px;
  mask-image: radial-gradient(70% 90% at 80% 30%, #000 10%, transparent 74%);
  -webkit-mask-image: radial-gradient(70% 90% at 80% 30%, #000 10%, transparent 74%);
}
.page-hero .container { position: relative; z-index: 2; }
/* faded page image fills the right half so sub-page heroes are not empty */
.page-hero::after {
  content: ""; position: absolute; top: 0; right: 0; bottom: 0; width: 50%;
  background-size: cover; background-position: center;
  opacity: .3; filter: saturate(.72) contrast(1.02);
  mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,.45) 38%, #000 82%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,.45) 38%, #000 82%);
  pointer-events: none;
}
.page-hero.ph-products::after  { background-image: url("../images/outdoor-playground-frog.jpg"); }
.page-hero.ph-solutions::after { background-image: url("../images/indoor-naughty-castle.jpg"); }
.page-hero.ph-about::after     { background-image: url("../images/factory-workshop.jpg"); }
.page-hero.ph-insights::after  { background-image: url("../images/water-park-slide.jpg"); }
.page-hero.ph-contact::after   { background-image: url("../images/kindergarten-furniture.jpg"); }
.page-hero .crumb { font-size: 13px; color: #9fb8d6; margin-bottom: 14px; }
.page-hero .crumb a { color: #d5e3f4; transition: color .2s; }
.page-hero .crumb a:hover { color: #ffb07a; }
.page-hero h1 {
  font-size: clamp(28px, 3.4vw, 40px); margin-bottom: 13px;
  font-weight: 800; color: #fff; letter-spacing: -.028em; max-width: 620px;
}
.page-hero p { color: #c2d4ea; max-width: 560px; font-size: 15.8px; line-height: 1.72; }

/* ---------- filter bar ---------- */
.filter-bar { display: flex; flex-wrap: wrap; gap: 9px; justify-content: center; margin-bottom: 46px; }
.filter-btn {
  padding: 9px 18px; border-radius: 999px; border: 1.5px solid var(--border);
  background: #fff; color: var(--ink-soft);
  font-family: var(--font-display); font-weight: 700; font-size: 13.4px;
  cursor: pointer; transition: all .24s cubic-bezier(.22,.68,.28,1);
}
.filter-btn:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-2px); }
.filter-btn.active {
  background: linear-gradient(135deg, var(--primary), #2f7fe4);
  border-color: transparent; color: #fff;
  box-shadow: 0 8px 20px -8px rgba(20, 100, 210, .6);
}

/* ---------- contact page ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.22fr; gap: 42px; align-items: start; }
.contact-info { display: grid; gap: 0; }
.info-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--r);
  padding: 22px 22px; margin-bottom: 16px;
  display: flex; gap: 16px; align-items: flex-start;
  box-shadow: var(--sh-1);
  transition: transform .28s cubic-bezier(.22,.68,.28,1), box-shadow .28s, border-color .28s;
}
.info-card:hover { transform: translateX(4px); box-shadow: var(--sh-2); border-color: var(--border-strong); }
.info-card .ic {
  flex: 0 0 46px; width: 46px; height: 46px; border-radius: 12px;
  background: linear-gradient(150deg, var(--primary-light), #dce9fb);
  color: var(--primary);
  display: flex; align-items: center; justify-content: center; font-size: 20px;
}
.info-card .ic svg { width: 21px; height: 21px; }
.info-card:hover .ic { background: linear-gradient(150deg, var(--primary), #2f7fe4); color: #fff; }
.info-card h3 { font-size: 15.4px; margin-bottom: 5px; letter-spacing: -.015em; }
.info-card p, .info-card a {
  font-size: 14.2px; color: var(--ink-soft); display: block; line-height: 1.75;
}
.info-card a { transition: color .2s; }
.info-card a:hover { color: var(--primary); }

.form-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--r);
  padding: 38px 36px; box-shadow: var(--sh-2);
}
.form-card h2 { font-size: 23px; margin-bottom: 7px; letter-spacing: -.022em; }
.form-card > p { color: var(--ink-soft); font-size: 14.3px; margin-bottom: 26px; line-height: 1.68; }
.form-card .field { margin-bottom: 0; }
.form-card > form > .field { margin-top: 0; margin-bottom: 16px; }
.form-card button[type="submit"] { width: 100%; border-radius: 9px; margin-top: 4px; }
.form-card form > p { font-size: 12.4px; color: var(--ink-faint); margin-top: 15px; margin-bottom: 0; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.field label { display: block; font-size: 13.4px; font-weight: 700; margin-bottom: 7px; color: var(--ink); }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 15px; border: 1.5px solid var(--border);
  border-radius: 9px; font-size: 14.3px; font-family: inherit;
  background: #f8fafd; color: var(--ink);
  transition: border-color .2s, background .2s, box-shadow .2s;
}
.field input::placeholder, .field textarea::placeholder { color: #a3aebd; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--primary); background: #fff;
  box-shadow: 0 0 0 3px rgba(20, 100, 210, .1);
}
.field textarea { resize: vertical; }

/* ---------- CTA strip ---------- */
.cta-strip {
  position: relative; overflow: hidden;
  background: linear-gradient(120deg, #f0500a 0%, var(--accent) 48%, #ff9446 100%);
  color: #fff; text-align: center; padding: clamp(58px, 6vw, 76px) 0;
}
.cta-strip::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(620px 320px at 50% -30%, rgba(255,255,255,.22), transparent 70%);
}
.cta-strip .container { position: relative; }
.cta-strip h2 { font-size: clamp(25px, 3vw, 34px); margin-bottom: 14px; font-weight: 800; color: #fff; letter-spacing: -.026em; }
.cta-strip p { opacity: .95; max-width: 570px; margin: 0 auto 29px; font-size: 15.6px; }
.cta-strip .btn {
  background: #fff; color: var(--accent-dark);
  box-shadow: 0 14px 30px -12px rgba(120, 40, 0, .55);
}
.cta-strip .btn:hover { transform: translateY(-3px); box-shadow: 0 22px 42px -14px rgba(120, 40, 0, .6); }

/* ---------- footer ---------- */
.site-footer {
  position: relative; background: #061426; color: #93a5bd; font-size: 14px;
  overflow: hidden;
}
.site-footer::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,106,26,.55), rgba(255,255,255,.12), transparent);
}
.site-footer::after {
  content: ""; position: absolute; pointer-events: none;
  width: 720px; height: 420px; right: -140px; top: -180px;
  background: radial-gradient(circle, rgba(20,100,210,.20), transparent 66%);
}
.footer-grid {
  position: relative; display: grid;
  grid-template-columns: 1.55fr 1fr 1fr 1.35fr; gap: 44px;
  padding: 70px 0 50px;
}
.site-footer h4 {
  color: #fff; font-size: 15.4px; margin-bottom: 20px;
  letter-spacing: -.01em; position: relative; padding-bottom: 12px;
}
.site-footer h4::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 26px; height: 2.5px; border-radius: 2px;
  background: linear-gradient(90deg, var(--accent), #ffab73);
}
.site-footer .logo img { height: 40px; }
.site-footer p { line-height: 1.85; color: #8fa2ba; }
.site-footer ul li { margin-bottom: 11px; }
.site-footer ul a {
  color: #93a5bd; display: inline-block;
  transition: color .2s, transform .2s;
}
.site-footer ul a:hover { color: #fff; transform: translateX(3px); }
.footer-contact li { display: flex; gap: 11px; align-items: flex-start; }
.footer-contact .fi { color: var(--accent); flex: 0 0 auto; display: flex; margin-top: 3px; }
.footer-contact .fi svg { width: 15px; height: 15px; }
.footer-bottom {
  position: relative; border-top: 1px solid rgba(255,255,255,.07);
  padding: 22px 0; font-size: 12.9px; color: #7e91aa;
}
.footer-bottom .container { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
.footer-bottom a { color: #93a5bd; }
.footer-bottom a:hover { color: #fff; }

/* ============================================================
   MOTION LAYER
   ============================================================ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(26px); }
  to   { opacity: 1; transform: none; }
}
@keyframes lineGrow {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}

/* Reveal uses animation (not transition) so card hover stays snappy */
.reveal { opacity: 0; }
.reveal.in {
  animation: fadeUp .78s cubic-bezier(.22,.68,.28,1) var(--d, 0s) both;
}
.reveal .sec-label::before { transform: scaleX(0); transform-origin: left center; }
.reveal.in .sec-label::before {
  animation: lineGrow .8s cubic-bezier(.22,.68,.28,1) .22s both;
}

@keyframes heroRise {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: none; }
}
.hero-slide.active .hero-subtitle { animation: heroRise .8s cubic-bezier(.22,.68,.28,1) .05s both; }
.hero-slide.active .hero-title    { animation: heroRise .85s cubic-bezier(.22,.68,.28,1) .15s both; }
.hero-slide.active .hero-desc     { animation: heroRise .85s cubic-bezier(.22,.68,.28,1) .25s both; }
.hero-slide.active .hero-actions  { animation: heroRise .85s cubic-bezier(.22,.68,.28,1) .35s both; }
.hero-foot { animation: heroRise .9s cubic-bezier(.22,.68,.28,1) .2s both; }

@keyframes heroZoom { from { transform: scale(1.13); } to { transform: scale(1); } }
.hero-slide.active .hero-bg img { animation: heroZoom 4.2s cubic-bezier(.22,.68,.28,1) both; }

/* soft ambient glow over the hero */
@keyframes glowPulse { 0%, 100% { opacity: .75; } 50% { opacity: 1; } }
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 1;
  background:
    radial-gradient(520px 400px at 92% 6%, rgba(255, 106, 26, .16), transparent 72%),
    radial-gradient(620px 440px at 2% 98%, rgba(20, 100, 210, .20), transparent 74%);
  animation: glowPulse 11s ease-in-out infinite;
}

/* shine sweep on primary buttons */
.btn-primary::after {
  content: ""; position: absolute; top: 0; left: -130%;
  width: 52%; height: 100%; z-index: -1;
  background: linear-gradient(100deg, rgba(255,255,255,0), rgba(255,255,255,.42), rgba(255,255,255,0));
  transform: skewX(-20deg);
  transition: left .7s cubic-bezier(.3,.7,.3,1);
}
.btn-primary:hover::after { left: 145%; }

@keyframes softPulse {
  0%   { box-shadow: 0 14px 30px -12px rgba(120,40,0,.55), 0 0 0 0 rgba(255,255,255,.42); }
  70%  { box-shadow: 0 14px 30px -12px rgba(120,40,0,.55), 0 0 0 18px rgba(255,255,255,0); }
  100% { box-shadow: 0 14px 30px -12px rgba(120,40,0,.55), 0 0 0 0 rgba(255,255,255,0); }
}
.cta-strip .btn { animation: softPulse 3.6s ease-out infinite; }

/* reading progress + back to top */
#progress-bar {
  position: fixed; top: 0; left: 0; height: 3px; width: 0; z-index: 999;
  background: linear-gradient(90deg, var(--accent), #ffab73);
  box-shadow: 0 0 12px rgba(255, 106, 26, .55);
  transition: width .1s linear;
}
#toTop {
  position: fixed; right: 26px; bottom: 28px;
  width: 46px; height: 46px; border-radius: 50%;
  background: linear-gradient(135deg, #ff8f47, var(--accent));
  color: #fff; border: none; cursor: pointer;
  font-size: 19px; line-height: 1; display: flex;
  align-items: center; justify-content: center;
  box-shadow: 0 12px 26px -8px rgba(240, 77, 0, .55);
  opacity: 0; visibility: hidden; transform: translateY(14px) scale(.9);
  transition: all .32s cubic-bezier(.22,.68,.28,1); z-index: 150;
}
#toTop.show { opacity: 1; visibility: visible; transform: none; }
#toTop:hover { transform: translateY(-4px); box-shadow: 0 18px 34px -8px rgba(240,77,0,.6); }

/* ---------- compat layer (sub pages carried over from v2) ---------- */
.kicker {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--accent); font-family: var(--font-display);
  font-weight: 700; font-size: 12.4px; letter-spacing: 2.4px;
  text-transform: uppercase; margin-bottom: 15px;
}
.kicker::before {
  content: ""; width: 30px; height: 2.5px; border-radius: 3px;
  background: linear-gradient(90deg, var(--accent), #ffab73);
}
.kicker.center { justify-content: center; }

.series-block {
  display: grid; grid-template-columns: 1fr 1fr; gap: 56px;
  align-items: center; padding: 64px 0;
  border-top: 1px solid var(--border);
}
.series-block:first-of-type { border-top: none; }
.series-block .photo { min-height: 340px; }
.series-block h3 { font-size: 26px; margin-bottom: 11px; letter-spacing: -.024em; }
.series-block .sub {
  color: var(--accent); font-family: var(--font-display);
  font-weight: 700; font-size: 14.2px; margin-bottom: 17px;
}
.series-block p { color: var(--ink-soft); margin-bottom: 20px; line-height: 1.72; }
.spec-list { list-style: none; padding: 0; margin: 0 0 26px; }
.spec-list li {
  padding: 8px 0 8px 26px; position: relative; font-size: 14.8px;
  border-bottom: 1px dashed var(--border); color: var(--ink-soft);
}
.spec-list li::before {
  content: "▸"; position: absolute; left: 4px;
  color: var(--primary); font-weight: 700;
}

.faq-list { max-width: 830px; margin: 0 auto; }
.faq-item {
  border: 1px solid var(--border); border-radius: 12px;
  margin-bottom: 12px; background: #fff; overflow: hidden;
  box-shadow: var(--sh-1);
  transition: box-shadow .26s, border-color .26s;
}
.faq-item:hover { box-shadow: var(--sh-2); border-color: var(--border-strong); }
.faq-item summary {
  padding: 18px 24px; font-family: var(--font-display);
  font-weight: 700; cursor: pointer; font-size: 15.2px;
  list-style: none; position: relative; padding-right: 54px;
  transition: color .2s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; position: absolute; right: 22px; top: 50%;
  transform: translateY(-50%); font-size: 21px; font-weight: 400;
  color: var(--ink-faint); transition: color .2s, transform .25s;
}
.faq-item[open] summary { color: var(--primary); }
.faq-item[open] summary::after { content: "−"; color: var(--accent); }
.faq-item summary:hover { color: var(--primary); }
.faq-item > div { padding: 0 24px 19px; color: var(--ink-soft); font-size: 14.3px; line-height: 1.78; }

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  .main-nav a { padding: 10px 10px; font-size: 13.9px; }
  .main-nav ul { gap: 1px; }
}
@media (max-width: 1100px) {
  .sol-grid { grid-template-columns: repeat(2, 1fr); }
  .certs { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 38px; }
  .stat-band .grid { grid-template-columns: repeat(2, 1fr); row-gap: 34px; }
  .stat-band .grid > div:nth-child(3)::before { display: none; }
  .stat-band .grid > div:nth-child(odd)::before { display: none; }
}
@media (max-width: 1080px) {
  .nav-toggle { display: block; }
  .main-nav {
    position: absolute; top: 100%; left: 0; right: 0; background: #fff;
    border-bottom: 1px solid var(--border);
    border-top: 1px solid var(--border);
    display: none;
    box-shadow: 0 24px 44px -20px rgba(8,25,46,.3);
    max-height: 78vh; overflow-y: auto; padding: 6px 0 16px;
  }
  .main-nav.open { display: block; animation: fadeUp .28s ease both; }
  .main-nav ul { flex-direction: column; gap: 0; padding: 0 22px; align-items: stretch; }
  .main-nav ul li { border-bottom: 1px solid var(--border); }
  .main-nav ul li:last-child { border-bottom: none; }
  .main-nav a { display: block; padding: 14px 4px; border-radius: 0; font-size: 15px; }
  .main-nav a:hover { background: none; }
  .main-nav a.active::after { display: none; }
  .nav-cta { margin: 14px 0 0; }
  .nav-cta .btn { width: 100%; }
  .dropdown { display: none !important; }
}
@media (max-width: 980px) {
  /* hero becomes content-driven so it never collapses */
  .hero { height: auto; min-height: 0; display: block; }
  .hero-slide { position: relative; display: none; opacity: 1; padding-bottom: 0; }
  .hero-slide.active { display: flex; }
  .hero-bg { position: absolute; inset: 0; }
  .hero-inner { padding: 66px 0 54px; }
  .hero-copy { max-width: 100%; }
  .hero-title { font-size: clamp(29px, 5.4vw, 44px); max-width: 20ch; }
  .hero-desc { max-width: 100%; }
  .hero-foot { position: relative; backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--navy-3); }
  .hero-foot .container {
    flex-direction: column; align-items: stretch;
    gap: 20px; min-height: 0;
    padding-top: 26px; padding-bottom: 28px;
  }
  .hero-metrics { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
  .hero-metrics li { border-right: none; margin-right: 0; padding-right: 0; }
  .hero-metrics b { font-size: 23px; }
  .hero-controls { justify-content: space-between; }
  .range-grid, .tech-grid, .news-grid, .duo-grid { grid-template-columns: repeat(2, 1fr); }
  .sol-wrap, .foot-wrap, .inq-wrap, .contact-grid { grid-template-columns: 1fr; }
  .adv-wrap { grid-template-columns: 1fr; }
  .adv-tabs { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; gap: 36px; margin-bottom: 40px; }
  .about-facts .fact { padding: 22px 20px; }
  .about-facts .fact b { font-size: 23px; }
  .hot-item { grid-template-columns: 1fr; }
  .hot-item .photo { min-height: 280px; }
  .hot-body { padding: 30px 28px 34px; }
  .series-block { grid-template-columns: 1fr; gap: 30px; }
  .series-block .photo { min-height: 260px; }
  .inq-wrap { gap: 34px; }
  .page-hero::after { width: 100%; opacity: .2; }
}
@media (max-width: 640px) {
  .container { padding: 0 20px; }
  section.block { padding: 60px 0; }
  .sec-head { margin-bottom: 36px; }
  .hero-inner { padding: 50px 0 44px; }
  .hero-bg::after {
    background:
      linear-gradient(178deg,
        rgba(4, 14, 27, .90) 0%,
        rgba(4, 14, 27, .80) 42%,
        rgba(4, 14, 27, .88) 100%);
  }
  .hero-title { font-size: 29px; max-width: none; }
  .hero-desc { font-size: 15.1px; margin-bottom: 28px; }
  .hero-count { display: none; }
  .hero-arrow { width: 38px; height: 38px; font-size: 19px; }
  .hero-metrics { gap: 16px; }
  .hero-metrics span { font-size: 10.2px; letter-spacing: .05em; }
  .page-hero { padding: 52px 0 48px; }
  .page-hero h1 { font-size: 27px; }
  .sec-head h2 { font-size: 26px; }
  .range-grid, .tech-grid, .news-grid, .duo-grid, .sol-grid, .adv-tabs { grid-template-columns: 1fr; }
  .partners { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; gap: 34px; padding: 54px 0 40px; }
  .btn + .btn { margin-left: 0; margin-top: 12px; }
  .hero-actions .btn { width: 100%; }
  .form-row { grid-template-columns: 1fr; }
  .form-card { padding: 26px 22px; }
  .inq-form { padding: 28px 22px; }
  .adv-panel { padding: 28px 24px; }
  .topbar { font-size: 12px; }
  .topbar .l { gap: 14px; }
  .hero-subtitle { letter-spacing: 1.4px; font-size: 11.4px; }
  .hero-desc { font-size: 15px; }
  .news-card .photo { min-height: 175px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1 !important; transform: none !important; }
  .reveal.in { animation: none !important; }
  .hero::after { animation: none !important; }
  .cta-strip .btn { animation: none !important; }
}
