:root {
  --blue: #0084ff;
  --blue-2: #0066cc;
  --navy: #0a2540;
  --text: #1d2129;
  --muted: #4e5969;
  --line: #e5e6eb;
  --bg: #fff;
  --bg-soft: #f7f8fa;
  --wrap: min(1200px, calc(100% - 40px));
  --header: 72px;
  --shadow: 0 8px 24px rgba(10, 37, 64, 0.08);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family: "PingFang SC", "Microsoft YaHei UI", "Microsoft YaHei", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 15px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
h1, h2, h3, p { margin: 0; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }

.wrap { width: var(--wrap); margin-inline: auto; }

.skip {
  position: absolute;
  left: 12px;
  top: -40px;
  z-index: 100;
  padding: 8px 12px;
  background: var(--navy);
  color: #fff;
}
.skip:focus { top: 12px; }

/* header */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--header);
  display: flex;
  align-items: center;
  background: rgba(255,255,255,.96);
  box-shadow: 0 1px 0 var(--line);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  gap: 28px;
}
.brand img { height: 40px; width: auto; }
.nav-desk {
  display: none;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}
.nav-desk > a,
.nav-desk .has-sub > a {
  padding: 8px 14px;
  color: var(--text);
  font-size: 15px;
  cursor: pointer;
}
.nav-desk > a:hover,
.nav-desk > a[aria-current="page"],
.nav-desk .has-sub:hover > a { color: var(--blue) !important; }

.has-sub { position: relative; }
.mega {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 280px;
  padding: 16px;
  background: #fff;
  box-shadow: var(--shadow);
  border-radius: 8px;
}
.has-sub:hover .mega { display: grid; gap: 8px; }
.mega a {
  display: block;
  padding: 8px 10px;
  color: var(--text) !important;
  border-radius: 6px;
}
.mega a:hover { background: var(--bg-soft); color: var(--blue) !important; }

.header-phone {
  display: none;
  margin-left: 8px;
  padding: 8px 16px;
  border-radius: 4px;
  background: var(--blue);
  color: #fff !important;
  font-size: 14px;
}
.header-phone:hover { background: var(--blue-2); }

.nav-toggle {
  margin-left: auto;
  width: 40px;
  height: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--navy);
}

.nav-drawer {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: #fff;
  padding: 88px 28px 40px;
  display: none;
}
body.nav-open .nav-drawer { display: block; }
.nav-drawer a {
  display: block;
  padding: 14px 0;
  font-size: 18px;
  border-bottom: 1px solid var(--line);
}

/* hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  overflow: hidden;
  background: #061525;
}
.hero-slides {
  position: absolute;
  inset: 0;
  transform-origin: center;
  animation: hero-zoom 9s cubic-bezier(.16, 1, .3, 1) both;
}
.hero-slides img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity .8s;
}
.hero-slides img.is-on { opacity: 1; }
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 21, 37, .68) 0%, rgba(6, 21, 37, .84) 100%);
}
.hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 760px;
  min-width: 0;
  margin-inline: auto;
  text-align: center;
  padding: 120px 16px 80px;
}
.hero h1 {
  font-size: clamp(2.4rem, 6vw, 4.4rem);
  font-weight: 700;
  letter-spacing: .08em;
}
.hero-enter {
  animation: hero-enter .75s cubic-bezier(.16, 1, .3, 1) both;
}
.hero h1.hero-enter { animation-delay: 80ms; }
.hero .sub.hero-enter { animation-delay: 180ms; }
.hero .ai-board.hero-enter { animation-delay: 280ms; }
.hero .hero-btns.hero-enter { animation-delay: 420ms; }
@keyframes hero-enter {
  from { opacity: 0; transform: translate3d(0, 16px, 0); }
  to { opacity: 1; transform: none; }
}
@keyframes hero-zoom {
  from { transform: scale(1.05); }
  to { transform: scale(1); }
}
.hero .sub {
  margin: 16px 0 28px;
  font-size: clamp(1rem, 2vw, 1.35rem);
  color: rgba(255,255,255,.88);
}
.ai-board {
  width: 100%;
  margin: 0 auto 32px;
  text-align: left;
}
.ai-board-head {
  margin-bottom: 10px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .04em;
  color: rgba(255,255,255,.92);
}
.ai-board-form {
  display: flex;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 8px;
  background: rgba(255,255,255,.1);
  backdrop-filter: blur(12px);
}
.ai-launch-input,
.ai-chat-input {
  flex: 1 1 auto;
  width: 0;
  min-width: 0;
  padding: 14px 16px;
  background: transparent;
  border: 0;
  color: #fff;
}
.ai-launch-input::placeholder,
.ai-chat-input::placeholder { color: rgba(255,255,255,.55); }
.ai-chat-send {
  padding: 0 18px;
  background: var(--blue);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  flex-shrink: 0;
}
.ai-chat-send:hover { background: var(--blue-2); }
.ai-chat-send:disabled { opacity: .55; cursor: not-allowed; }
.ai-hints {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 12px;
}
.ai-hints button {
  padding: 6px 14px;
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 999px;
  color: rgba(255,255,255,.88);
  font-size: 13px;
}
.ai-hints button:hover { background: #fff; color: var(--navy); }

.askai-overlay {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  padding: 24px 16px;
  background: rgba(8, 16, 28, .45);
  backdrop-filter: blur(10px);
}
.askai-overlay[hidden] { display: none !important; }
.askai-modal {
  width: min(920px, 100%);
  height: min(78vh, 720px);
  display: flex;
  flex-direction: column;
  background: #f3f5f9;
  border-radius: 16px;
  box-shadow: 0 24px 80px rgba(0,0,0,.28);
  overflow: hidden;
}
.askai-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  background: #fff;
  border-bottom: 1px solid #e8eaef;
}
.askai-brand { display: flex; align-items: center; gap: 8px; color: var(--text); }
.askai-brand strong { font-size: 16px; }
.askai-mark {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: var(--blue) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='white' d='M12 3l1.8 5.2L19 10l-5.2 1.8L12 17l-1.8-5.2L5 10l5.2-1.8z'/></svg>") center/14px no-repeat;
}
.askai-actions { display: flex; gap: 4px; }
.askai-icon {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #5c6470;
}
.askai-icon:hover { background: #f0f2f5; color: var(--text); }
.askai-log {
  flex: 1;
  overflow: auto;
  padding: 28px 32px;
  display: grid;
  align-content: start;
  gap: 14px;
}
.askai-welcome {
  margin: auto 0;
  padding-top: 8vh;
  text-align: center;
  color: var(--muted);
}
.askai-welcome strong { display: block; color: var(--text); font-size: 22px; margin-bottom: 8px; }
.askai-bubble {
  max-width: 70%;
  padding: 10px 14px;
  border-radius: 14px;
  font-size: 14px;
  line-height: 1.65;
  white-space: pre-wrap;
}
.askai-bubble.is-user {
  justify-self: end;
  background: #d9e2ff;
  color: #24324d;
}
.askai-bubble.is-assistant {
  justify-self: start;
  background: #fff;
  color: var(--text);
  box-shadow: 0 1px 2px rgba(16,24,40,.06);
}
.askai-bubble.is-pending { color: var(--muted); }
.askai-bubble.is-error { background: #ffe8ea; color: #cb2634; }
.askai-form {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 20px 20px;
  padding: 8px 8px 8px 16px;
  background: #fff;
  border-radius: 999px;
  box-shadow: 0 6px 20px rgba(16,24,40,.06);
}
.askai-input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  padding: 10px 0;
  color: var(--text);
}
.askai-input::placeholder { color: #9aa3af; }
.askai-input:focus,
.askai-input:focus-visible { outline: none; }
.askai-send {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #9aa3af;
  color: #fff;
}
.askai-send:hover,
.askai-form:focus-within .askai-send { background: var(--blue); }
.askai-send:disabled { opacity: .5; cursor: not-allowed; }
body.ai-open { overflow: hidden; }

.askai-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 80;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px 10px 12px;
  background: #fff;
  color: var(--text);
  border-radius: 999px;
  box-shadow: 0 10px 28px rgba(10, 37, 64, .18);
  font-size: 14px;
  font-weight: 600;
}
.askai-float .askai-mark { width: 28px; height: 28px; border-radius: 8px; }
.askai-float:hover { box-shadow: 0 12px 32px rgba(0, 132, 255, .25); }
body.ai-open .askai-float { visibility: hidden; pointer-events: none; }

.hero-btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.hero-btn {
  padding: 12px 22px;
  border: 1px solid rgba(255,255,255,.55);
  border-radius: 4px;
  color: #fff;
  transition: .2s;
}
.hero-btn:hover { background: #fff; color: var(--navy); }

.dots {
  position: absolute;
  z-index: 2;
  left: 0; right: 0; bottom: 28px;
  display: flex; justify-content: center; gap: 8px;
  animation: hero-enter .8s cubic-bezier(.16, 1, .3, 1) both;
  animation-delay: 560ms;
}
.dots button {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,255,255,.4);
}
.dots button.is-on { background: #fff; }

/* sections */
.section { padding: 80px 0; }
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 32px;
}
.section-title { font-size: 32px; font-weight: 700; }
.section-desc { color: var(--muted); margin-top: 8px; }
.more { color: var(--blue); font-size: 14px; }
.more:hover { text-decoration: underline; }

/* news */
.news-grid {
  display: grid;
  gap: 20px;
}
.news-card {
  background: #fff;
  border: 1px solid var(--line);
  overflow: hidden;
  cursor: pointer;
  transition: box-shadow .2s, transform .2s;
}
.news-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.news-card img { width: 100%; height: 180px; object-fit: cover; }
.news-card .body { padding: 16px 18px 18px; }
.news-card h3 { font-size: 16px; font-weight: 600; line-height: 1.5; min-height: 3em; }
.news-card .meta { margin-top: 12px; display: flex; justify-content: space-between; color: var(--muted); font-size: 13px; }
.news-card .meta span { color: var(--blue); }

/* products */
.products { background: var(--bg-soft); }
.prod-grid { display: grid; gap: 16px; }
.prod-card {
  min-height: 280px;
  padding: 28px 24px;
  background: #fff;
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: border-color .2s, box-shadow .2s;
}
.prod-card:hover { border-color: var(--blue); box-shadow: var(--shadow); }
.prod-card h3 { font-size: 22px; font-weight: 700; margin-bottom: 10px; }
.prod-card p { color: var(--muted); flex: 1; }
.prod-card ul { margin: 16px 0; padding: 0; list-style: none; color: var(--muted); }
.prod-card li { padding: 4px 0; }
.prod-card .go { color: var(--blue); font-weight: 600; }

.stats {
  background: var(--navy);
  color: #fff;
  padding: 48px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px 16px;
  text-align: center;
}
.stats-grid strong {
  display: block;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -.03em;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}
html.js .stats[data-enter] .stats-grid > div {
  opacity: 0;
  transform: translate3d(0, 12px, 0);
}
html.js .stats[data-enter].is-in .stats-grid > div {
  opacity: 1;
  transform: none;
  transition:
    opacity .7s cubic-bezier(.16, 1, .3, 1),
    transform .7s cubic-bezier(.16, 1, .3, 1);
}
html.js .stats[data-enter].is-in .stats-grid > div:nth-child(2) { transition-delay: 70ms; }
html.js .stats[data-enter].is-in .stats-grid > div:nth-child(3) { transition-delay: 140ms; }
html.js .stats[data-enter].is-in .stats-grid > div:nth-child(4) { transition-delay: 210ms; }
html.js [data-rise] {
  opacity: 0;
  transform: translate3d(0, 16px, 0);
}
html.js [data-rise].is-in {
  opacity: 1;
  transform: none;
  transition:
    opacity .7s cubic-bezier(.16, 1, .3, 1) var(--d, 0ms),
    transform .7s cubic-bezier(.16, 1, .3, 1) var(--d, 0ms);
}
html.js .pillar-grid [data-rise]:nth-child(1) { --d: 0ms; }
html.js .pillar-grid [data-rise]:nth-child(2) { --d: 80ms; }
html.js .pillar-grid [data-rise]:nth-child(3) { --d: 160ms; }
html.js .pillar-grid [data-rise]:nth-child(4) { --d: 240ms; }
html.js .cap-grid [data-rise]:nth-child(1) { --d: 0ms; }
html.js .cap-grid [data-rise]:nth-child(2) { --d: 80ms; }
html.js .cap-grid [data-rise]:nth-child(3) { --d: 160ms; }
html.js .cap-grid [data-rise]:nth-child(4) { --d: 240ms; }
html.js .sol-track [data-rise]:nth-child(1) { --d: 0ms; }
html.js .sol-track [data-rise]:nth-child(2) { --d: 70ms; }
html.js .sol-track [data-rise]:nth-child(3) { --d: 140ms; }
html.js .sol-track [data-rise]:nth-child(4) { --d: 210ms; }
html.js .sol-track [data-rise]:nth-child(5) { --d: 280ms; }
html.js .sol-track [data-rise]:nth-child(6) { --d: 350ms; }
html.js .sol-track [data-rise]:nth-child(n+7) { --d: 400ms; }
html.js .cases-grid [data-rise]:nth-child(1) { --d: 0ms; }
html.js .cases-grid [data-rise]:nth-child(2) { --d: 80ms; }
html.js .cases-grid [data-rise]:nth-child(3) { --d: 160ms; }
html.js .news-grid [data-rise]:nth-child(1) { --d: 0ms; }
html.js .news-grid [data-rise]:nth-child(2) { --d: 80ms; }
html.js .news-grid [data-rise]:nth-child(3) { --d: 160ms; }
html.js .news-grid [data-rise]:nth-child(4) { --d: 240ms; }
.stats-grid span { color: rgba(255,255,255,.7); font-size: 14px; }

.pillars { background: var(--bg-soft); }
.pillar-grid { display: grid; gap: 16px; }
.pillar-card {
  display: flex;
  flex-direction: column;
  min-height: 220px;
  padding: 32px 28px;
  background: #fff;
  border: 1px solid var(--line);
  color: inherit;
  transition: box-shadow .25s, transform .25s;
}
.pillar-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}
.pillar-card h3 { font-size: 22px; font-weight: 700; margin-bottom: 10px; }
.pillar-card p { color: var(--muted); flex: 1; }
.pillar-tags { margin: 16px 0 12px; color: var(--muted); font-size: 13px; }
.pillar-card .go { color: var(--blue); font-weight: 600; }

.cap-grid { display: grid; gap: 16px; }
.cap-card {
  padding: 28px 24px;
  border-top: 3px solid var(--blue);
  background: var(--bg-soft);
}
.cap-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.cap-card p { color: var(--muted); font-size: 14px; }

/* solutions */
.sol-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(240px, 1fr);
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 8px;
}
.sol-card {
  position: relative;
  height: 280px;
  scroll-snap-align: start;
  overflow: hidden;
  cursor: pointer;
}
.sol-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.sol-card:hover img { transform: scale(1.06); }
.sol-card span {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 18px 16px;
  background: linear-gradient(transparent, rgba(0,0,0,.7));
  color: #fff;
  font-size: 18px;
  font-weight: 600;
}

/* cases */
.cases-grid { display: grid; gap: 24px; }
.case-card { cursor: pointer; display: block; color: inherit; }
.case-card img { width: 100%; height: 220px; object-fit: cover; }
.case-card h3 { margin-top: 14px; font-size: 18px; font-weight: 600; }
.case-card p { margin-top: 8px; color: var(--muted); }
.case-card .go { display: inline-block; margin-top: 10px; color: var(--blue); }

/* contact band */
.contact-band {
  background: var(--navy);
  color: #fff;
  padding: 72px 0;
}
.contact-grid { display: grid; gap: 40px; }
.contact-band h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 700; }
.contact-band p { margin-top: 12px; color: rgba(255,255,255,.72); }
.contact-form { display: grid; gap: 12px; }
.contact-form .row { display: grid; gap: 12px; }
.contact-band .contact-form input,
.contact-band .contact-form textarea,
.contact-band .contact-form select {
  width: 100%;
  border: 1px solid rgba(255,255,255,.2);
  background: rgba(255,255,255,.06);
  color: #fff;
  padding: 12px 14px;
  border-radius: 4px;
}
.contact-band .contact-form input::placeholder,
.contact-band .contact-form textarea::placeholder { color: rgba(255,255,255,.45); }
.contact-form textarea { min-height: 96px; resize: vertical; }
.btn-submit {
  justify-self: start;
  padding: 12px 28px;
  background: var(--blue);
  color: #fff;
  border-radius: 4px;
}
.btn-submit:hover { background: var(--blue-2); }
.form-ok { display: none; padding: 20px; border: 1px solid rgba(255,255,255,.2); }
.contact-form.is-sent .fields,
.contact-form.is-sent .btn-submit,
.page-form.is-sent .fields,
.page-form.is-sent .btn-submit { display: none; }
.contact-form.is-sent .form-ok,
.page-form.is-sent .form-ok { display: block; }
.form-err { color: #ffb4b4; font-size: 13px; }

/* footer */
.site-footer {
  background: #071422;
  color: rgba(255,255,255,.72);
  padding: 56px 0 24px;
}
.footer-grid { display: grid; gap: 32px; padding-bottom: 32px; border-bottom: 1px solid rgba(255,255,255,.08); }
.site-footer h3 { color: #fff; font-size: 14px; margin-bottom: 14px; }
.site-footer a, .site-footer p { display: block; margin-bottom: 8px; font-size: 14px; }
.site-footer a:hover { color: #fff; }
.footer-logo { height: 40px; margin-bottom: 12px; }
.footer-base { padding-top: 20px; display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; font-size: 12px; }

/* inner pages */
.page-hero {
  padding: 140px 0 56px;
  color: #fff;
  background: #0a2540;
  background-size: cover;
  background-position: center;
  position: relative;
}
.page-hero::after {
  content: "";
  position: absolute; inset: 0;
  background: rgba(6,21,37,.55);
}
.page-hero-soft::after {
  background: linear-gradient(90deg, rgba(6, 21, 37, .52) 0%, rgba(6, 21, 37, .22) 58%, rgba(6, 21, 37, .12) 100%);
}
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero h1 { font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 700; }
.page-hero p { margin-top: 12px; color: rgba(255,255,255,.82); max-width: 40rem; }

.prose { padding: 64px 0 80px; }
.prose-lead { font-size: 16px; color: var(--muted); max-width: 46rem; margin-bottom: 28px; }
.value-grid, .svc-grid { display: grid; gap: 16px; }
.svc-grid { gap: 22px; }
.svc-search { margin: 0 0 16px; }
.svc-search-field {
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 520px;
  padding: 0 14px 0 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--bg-soft);
}
.svc-search-field:focus-within {
  border-color: var(--blue);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(0, 132, 255, .12);
}
.svc-search-field svg {
  flex: none;
  color: var(--muted);
}
.svc-search input {
  flex: 1;
  min-width: 0;
  height: 44px;
  border: 0;
  background: transparent;
}
.svc-search input:focus,
.svc-search input:focus-visible { outline: none; }
.svc-search input::placeholder { color: #86909c; }
.svc-search input[type="search"]::-webkit-search-cancel-button,
.svc-search input[type="search"]::-webkit-search-decoration { appearance: none; }
.svc-search-clear {
  flex: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #e5e6eb;
  color: var(--muted);
  font-size: 16px;
  line-height: 22px;
}
.svc-search-clear:hover { background: #d4d6dc; color: var(--text); }
.svc-count {
  margin: -8px 0 20px;
  color: var(--muted);
  font-size: 13px;
}
.svc-more {
  height: 1px;
  margin: 0;
  pointer-events: none;
}
.cat-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 24px;
}
.cat-tabs button {
  padding: 7px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--muted);
  font-size: 14px;
}
.cat-tabs button:hover {
  border-color: var(--blue);
  color: var(--blue);
}
.cat-tabs button.is-on,
.cat-tabs button.is-on:hover {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}
.cat-empty {
  grid-column: 1 / -1;
  color: var(--muted);
  padding: 32px 0;
}
.svc-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border-radius: 22px;
  background: #f5f5f7;
  color: inherit;
  transition: transform .55s cubic-bezier(.22, 1, .36, 1),
              box-shadow .55s cubic-bezier(.22, 1, .36, 1);
}
.svc-card-media {
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: linear-gradient(180deg, #ececf1, #e4e4ea);
}
.svc-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform .7s cubic-bezier(.22, 1, .36, 1);
}
.svc-card h2 {
  margin: 18px 20px 6px;
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -.02em;
  line-height: 1.35;
}
.svc-card p {
  margin: 0 20px;
  color: var(--muted);
  font-size: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.svc-card .go {
  display: inline-block;
  margin: 14px 20px 20px;
  color: #0071e3;
  font-size: 14px;
  font-weight: 500;
  transition: transform .4s cubic-bezier(.22, 1, .36, 1);
}
.svc-card .go::after { content: " ›"; }
.svc-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 22px 50px rgba(0, 0, 0, .12);
}
.svc-card:hover .svc-card-media img { transform: scale(1.1); }
.svc-card:hover .go { transform: translateX(4px); }
@media (prefers-reduced-motion: reduce) {
  .svc-card,
  .svc-card-media img,
  .svc-card .go { transition: none; }
  .svc-card:hover { transform: none; }
  .svc-card:hover .svc-card-media img { transform: none; }
}
.product-detail h2 { font-size: 20px; margin: 28px 0 10px; }
.product-cover { width: 100%; max-height: 360px; object-fit: cover; border: 1px solid var(--line); cursor: zoom-in; }
.product-shots { display: grid; gap: 12px; margin-top: 20px; }
.product-shots img { width: 100%; border: 1px solid var(--line); cursor: zoom-in; }
.product-cover:hover,
.product-shots img:hover { opacity: .92; }
.img-zoom {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 56px 72px 32px;
  background: rgba(8, 16, 28, .86);
  backdrop-filter: blur(10px);
}
.img-zoom[hidden] { display: none !important; }
.img-zoom img {
  max-width: min(1200px, 92vw);
  max-height: 82vh;
  width: auto;
  height: auto;
  object-fit: contain;
  box-shadow: 0 24px 80px rgba(0, 0, 0, .35);
  cursor: zoom-out;
}
.img-zoom-close,
.img-zoom-nav {
  position: absolute;
  display: grid;
  place-items: center;
  color: #fff;
  background: rgba(255, 255, 255, .12);
  border-radius: 50%;
}
.img-zoom-close {
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
}
.img-zoom-nav {
  top: 50%;
  width: 44px;
  height: 44px;
  transform: translateY(-50%);
}
.img-zoom-nav.is-prev { left: 16px; }
.img-zoom-nav.is-next { right: 16px; }
.img-zoom-close:hover,
.img-zoom-nav:hover { background: rgba(255, 255, 255, .22); }
.img-zoom-nav[hidden] { display: none !important; }
body.zoom-open { overflow: hidden; }
@media (max-width: 767px) {
  .img-zoom { padding: 64px 16px 24px; }
  .img-zoom-nav.is-prev { left: 8px; }
  .img-zoom-nav.is-next { right: 8px; }
}
@media (min-width: 768px) {
  .product-shots { grid-template-columns: 1fr 1fr; }
}
.value-card {
  padding: 24px;
  border: 1px solid var(--line);
  background: #fff;
}
.value-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.value-card p { color: var(--muted); }
.sol-list article {
  display: grid;
  gap: 24px;
  padding: 40px 0;
  border-top: 1px solid var(--line);
  align-items: start;
}
.sol-list article:last-child { border-bottom: 1px solid var(--line); }
.sol-copy h2 { font-size: 28px; margin-bottom: 10px; letter-spacing: -.02em; }
.sol-copy p { color: var(--muted); max-width: 36rem; }
.sol-copy .go {
  display: inline-block;
  margin-top: 16px;
  color: var(--blue);
  font-weight: 600;
}
.sol-prods {
  display: grid;
  gap: 12px;
}
.sol-prods a {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 4px 12px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #f7f8fa;
  align-items: center;
  transition: transform .35s cubic-bezier(.22, 1, .36, 1), box-shadow .35s cubic-bezier(.22, 1, .36, 1);
}
.sol-prods a img {
  grid-row: 1 / span 2;
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 10px;
  background: #ececf1;
}
.sol-prods a:not(:has(img)) { grid-template-columns: 1fr; }
.sol-prods a:hover {
  border-color: transparent;
  box-shadow: 0 10px 28px rgba(10, 37, 64, .1);
  transform: translateY(-2px);
}
.sol-prods strong { font-size: 15px; font-weight: 600; }
.sol-prods span { color: var(--muted); font-size: 13px; line-height: 1.45; }
@media (min-width: 900px) {
  .sol-list article {
    grid-template-columns: minmax(260px, .85fr) minmax(0, 1.15fr);
    gap: 40px 56px;
    padding: 56px 0;
  }
  .sol-prods { grid-template-columns: 1fr 1fr; }
}

.info-list { display: grid; gap: 0; }
.info-item { padding: 20px 0; border-top: 1px solid var(--line); }
.info-item span { display: block; color: var(--muted); font-size: 13px; margin-bottom: 6px; }
.info-item a, .info-item p { font-size: 20px; font-weight: 600; }

.page-form {
  display: grid;
  gap: 16px;
  padding: 8px 0 40px;
}
.page-form label {
  display: block;
  margin-bottom: 6px;
  font-size: 13px;
  color: var(--muted);
}
.page-form input,
.page-form textarea,
.page-form select {
  width: 100%;
  border: 1px solid var(--line);
  padding: 12px 14px;
  border-radius: 4px;
  background: #fff;
  color: var(--text);
}
.page-form input::placeholder,
.page-form textarea::placeholder {
  color: #86909c;
}
.page-form textarea { min-height: 120px; resize: vertical; }
.page-form .btn-submit { color: #fff; }
.page-form .form-ok {
  color: var(--text);
  border-color: var(--line);
}
.page-form .form-err { color: #cb2634; }

@media (min-width: 768px) {
  .news-grid { grid-template-columns: 1fr 1fr; }
  .prod-grid { grid-template-columns: 1fr 1fr; }
  .cases-grid { grid-template-columns: 1fr 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr 1.1fr; align-items: start; }
  .contact-form .row { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; }
  .value-grid { grid-template-columns: 1fr 1fr; }
  .svc-grid { grid-template-columns: 1fr 1fr; }
  .page-split { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; }
  .stats-grid { grid-template-columns: repeat(4, 1fr); }
  .pillar-grid { grid-template-columns: 1fr 1fr; }
  .cap-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1024px) {
  :root { --wrap: min(1200px, calc(100% - 64px)); }
  .nav-desk, .header-phone { display: flex; }
  .nav-toggle { display: none; }
  .news-grid { grid-template-columns: repeat(4, 1fr); }
  .prod-grid { grid-template-columns: repeat(4, 1fr); }
  .value-grid, .svc-grid { grid-template-columns: repeat(3, 1fr); }
  .cap-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 767px) {
  .askai-overlay { padding: 12px; }
  .askai-modal { height: min(92vh, 100%); border-radius: 12px; }
  .askai-log { padding: 16px; }
  .askai-bubble { max-width: 86%; }
  .askai-float { right: 16px; bottom: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
  html.js [data-rise],
  html.js .stats[data-enter] .stats-grid > div {
    opacity: 1 !important;
    transform: none !important;
  }
}
