:root {
  --bg: #f5f7fb;
  --bg-2: #eef1f7;
  --panel: #ffffff;
  --panel-2: #f2f5fb;
  --border: #e6eaf2;
  --border-strong: #d6dcea;
  --text: #1b2433;
  --muted: #66738a;
  --blue: #2b5cff;
  --blue-dark: #1f47c9;
  --navy: #101a33;
  --cyan: #00a6ff;
  --violet: #6a5cff;
  --orange: #ff7a00;
  --grad: linear-gradient(120deg, #2b5cff 0%, #00a6ff 100%);
  --grad-cool: linear-gradient(120deg, #00a6ff 0%, #6a5cff 100%);
  --radius: 14px;
  --shadow: 0 14px 36px rgba(31, 71, 201, .10);
  --shadow-sm: 0 6px 18px rgba(31, 71, 201, .08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", "Segoe UI", system-ui, sans-serif;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  letter-spacing: .2px;
}

a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-dark); }
::selection { background: rgba(43, 92, 255, .16); }

a, button { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
img, svg { max-width: 100%; height: auto; }

/* ---------- Top bar ---------- */
.top-bar { background: linear-gradient(90deg, #101a33 0%, #17233f 60%, #1b2b4d 100%); color: #cdd6e8; font-size: .85rem; }
.top-bar .container { display: flex; justify-content: flex-end; align-items: center; height: 38px; gap: 1.6rem; }
.top-bar a { color: #cdd6e8; }
.top-bar a:hover { color: #fff; }
.tb-link { display: inline-flex; align-items: center; transition: color .16s ease; }
.tb-mobile { gap: 5px; }
.tb-mobile svg { width: 14px; height: 14px; }
.tb-qr { position: relative; }
.tb-qr-pop {
  position: absolute; top: 100%; right: 0; z-index: 1070; margin-top: 12px;
  width: 172px; background: #fff; border: 1px solid var(--border); border-radius: 14px;
  padding: 14px; box-shadow: 0 20px 50px rgba(0, 0, 0, .32); text-align: center;
  display: none;
}
.tb-qr-pop::before {
  content: ""; position: absolute; top: -7px; right: 18px;
  width: 13px; height: 13px; background: #fff;
  border-top: 1px solid var(--border); border-left: 1px solid var(--border);
  transform: rotate(45deg);
}
.tb-qr:hover .tb-qr-pop { display: block; animation: qrIn .22s ease; }
@keyframes qrIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.tb-qr-imgwrap { padding: 8px; background: #f6f8fb; border: 1px solid var(--border); border-radius: 10px; }
.tb-qr-imgwrap img { display: block; width: 100%; height: auto; border-radius: 6px; }
.tb-qr-text { margin-top: 10px; }
.tb-qr-text strong { display: block; font-size: 13px; color: var(--text); font-weight: 700; }
.tb-qr-text em { display: block; margin-top: 3px; font-size: 11px; color: var(--muted); font-style: normal; line-height: 1.3; }

/* ---------- Navbar ---------- */
.site-nav {
  position: sticky; top: 0; z-index: 1030;
  background: rgba(255, 255, 255, .9);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--border);
  min-height: 66px;
  box-shadow: 0 2px 10px rgba(31, 71, 201, .04);
  transition: box-shadow .25s ease, background .25s ease;
}
.site-nav.scrolled { box-shadow: 0 8px 26px rgba(31, 71, 201, .12); background: rgba(255, 255, 255, .97); }
.navbar-brand { font-weight: 800; transition: transform .18s ease; }
.navbar-brand:hover { transform: translateY(-1px); }
.site-nav .nav-link {
  color: #3c4657; font-weight: 600; padding: .5rem 1rem; border-radius: 9px; position: relative;
  transition: color .18s ease, background .18s ease;
}
.site-nav .nav-link:hover { color: var(--blue); background: rgba(43, 92, 255, .07); }
.site-nav .nav-link.active { color: var(--blue); background: rgba(43, 92, 255, .09); }
.site-nav .nav-link.active::after {
  content: ""; position: absolute; left: 50%; transform: translateX(-50%); bottom: -1px; width: 22px; height: 3px;
  background: var(--grad); border-radius: 3px 3px 0 0;
}
.brand-mark { display: inline-grid; grid-template-columns: repeat(2, 13px); grid-template-rows: repeat(2, 13px); gap: 3px; }
.brand-mark span { display: block; border-radius: 3px; box-shadow: 0 2px 6px rgba(43, 92, 255, .2); }
.brand-mark span:nth-child(1) { background: var(--blue); }
.brand-mark span:nth-child(2) { background: var(--cyan); }
.brand-mark span:nth-child(3) { background: var(--cyan); opacity: .55; }
.brand-mark span:nth-child(4) { background: var(--violet); }
.brand-texts { display: flex; flex-direction: column; gap: 5px; justify-content: center; align-items: center; line-height: 1; }
.brand-text { font-size: 1.2rem; color: var(--text); letter-spacing: 1px; font-weight: 800; line-height: 1; text-align: center; }
.brand-en { font-size: .62rem; color: var(--blue); letter-spacing: 2.5px; text-transform: uppercase; line-height: 1; text-align: center; }

@media (min-width: 992px) {
  .site-nav .navbar-nav { gap: .45rem !important; }
  .site-nav .nav-link { padding: .5rem 1.25rem; }
}

/* ---------- Mega menu ---------- */
.caret {
  display: inline-block; width: 0; height: 0; margin-left: 6px; vertical-align: 2px;
  border-left: 4px solid transparent; border-right: 4px solid transparent; border-top: 5px solid currentColor;
  transition: transform .2s ease;
}
.site-nav .container { position: relative; }
.site-nav .dropdown-services { position: static; }
.site-nav .dropdown-services:hover .caret { transform: rotate(180deg); }
.site-nav .dropdown-services:hover > .nav-link { color: var(--blue); background: rgba(43, 92, 255, .07); }

.mega-menu {
  position: absolute; top: 100%; left: 0; right: 0; z-index: 1040;
  width: calc(100% - 1.5rem); margin: 0 auto;
  background: #fff; border: 1px solid var(--border);
  border-radius: 16px; box-shadow: 0 30px 64px rgba(31, 71, 201, .18);
  padding: 1.6rem 1.7rem 1.1rem;
  display: none; overflow: hidden;
}
.mega-menu::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px;
  background: var(--grad);
}
.site-nav .dropdown-services:hover .mega-menu,
.site-nav .dropdown-services:focus-within .mega-menu { display: block; animation: megaIn .18s ease; }
@keyframes megaIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

.mega-grid { display: flex; flex-wrap: wrap; gap: 1.3rem 1.2rem; }
.mega-col { position: relative; flex: 1 1 auto; min-width: 0; }
.mega-col::after {
  content: ""; position: absolute; right: -0.6rem; top: .2rem; bottom: .2rem; width: 1px;
  background: linear-gradient(180deg, transparent, var(--border), transparent);
}
.mega-col:last-child::after { display: none; }

.mega-cat {
  display: flex; align-items: center; gap: 8px; position: relative;
  font-weight: 700; color: var(--text); font-size: .95rem;
  padding-bottom: .5rem; margin-bottom: .55rem;
  border-bottom: 1px solid var(--border);
}
.mega-cat::before {
  content: ""; width: 7px; height: 7px; border-radius: 2px; flex: none;
  background: var(--grad); box-shadow: 0 2px 6px rgba(43, 92, 255, .35);
}
.mega-cat::after {
  content: ""; position: absolute; left: 0; bottom: -1px; width: 34px; height: 2px;
  background: var(--grad); border-radius: 2px;
}
.mega-cat:hover { color: var(--blue); }

.mega-item {
  display: flex; align-items: center; gap: 8px; justify-content: space-between;
  padding: .38rem .6rem; border-radius: 8px;
  transition: background .16s ease;
}
.mega-item::before {
  content: ""; width: 5px; height: 5px; border-radius: 50%; flex: none;
  background: #c4cde0; transition: background .16s ease, transform .16s ease;
}
.mega-item-name {
  flex: 1; min-width: 0; color: var(--muted); font-size: .88rem;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  transition: color .16s ease, transform .16s ease;
}
.mega-item:hover { background: rgba(43, 92, 255, .07); }
.mega-item:hover::before { background: var(--blue); transform: scale(1.15); }
.mega-item:hover .mega-item-name { color: var(--blue); transform: translateX(3px); }
.mega-visit {
  flex: none; font-size: .74rem; font-weight: 600; line-height: 1;
  color: var(--blue); padding: 3px 9px; border-radius: 999px;
  border: 1px solid rgba(43, 92, 255, .22); background: rgba(43, 92, 255, .06);
  white-space: nowrap; transition: color .16s ease, background .16s ease, border-color .16s ease;
}
.mega-visit:hover { color: #fff; background: var(--blue); border-color: var(--blue); }

.mega-all {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; margin-top: 1.2rem; padding: .85rem .9rem 0;
  border-top: 1px solid var(--border);
  color: var(--blue); font-weight: 600; font-size: .9rem;
  transition: color .16s ease;
}
.mega-all .arrow { transition: transform .18s ease; }
.mega-all:hover { color: var(--blue-dark); }
.mega-all:hover .arrow { transform: translateX(5px); }

@media (max-width: 991.98px) {
  .site-nav .dropdown-services { position: static; }
  .caret { display: none; }
  .mega-menu {
    position: static; display: block; width: auto; max-width: none; box-shadow: none;
    left: auto; right: auto; margin: 0; transform: none;
    border: none; border-top: none; border-radius: 0; padding: .4rem 0 .8rem .9rem;
    overflow: visible;
  }
  .mega-menu::before { display: none; }
  .mega-grid { flex-direction: column; }
  .mega-col::after { display: none; }
  .mega-all { width: auto; justify-content: flex-start; gap: 6px; padding: .6rem 0 0; }
}

/* ---------- Buttons ---------- */
.btn { border-radius: 10px; font-weight: 600; letter-spacing: .3px; }.btn-brand {
  background: var(--grad); color: #fff; border: none;
  padding: .78rem 1.7rem; border-radius: 10px;
  box-shadow: 0 10px 24px rgba(43, 92, 255, .28);
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn-brand:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 16px 34px rgba(43,92,255,.36); }
.btn-ghost {
  background: #fff; color: var(--text); border: 1px solid var(--border-strong);
  padding: .78rem 1.7rem; border-radius: 10px; font-weight: 600;
  transition: all .15s ease;
}
.btn-ghost:hover { color: var(--blue); border-color: var(--blue); }
.btn-link { color: var(--blue); font-weight: 600; }

/* ---------- Ticker ---------- */
.ticker { border-block: 1px solid var(--border); background: #fff; overflow: hidden; }
.ticker-track { display: flex; width: max-content; animation: ticker 36s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-group { display: flex; align-items: center; gap: 3rem; padding-right: 3rem; }
.ticker-item { display: flex; align-items: center; gap: .8rem; padding: .9rem 0; color: var(--muted); font-weight: 600; font-size: .95rem; white-space: nowrap; }
.ticker-item .tdot { width: 7px; height: 7px; background: var(--blue); border-radius: 50%; flex-shrink: 0; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: 84px 0 64px; background: linear-gradient(180deg, #eef3ff 0%, #f5f7fb 100%); }
.hero-grid {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(43,92,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(43,92,255,.05) 1px, transparent 1px);
  background-size: 52px 52px;
  -webkit-mask-image: radial-gradient(ellipse 75% 75% at 50% 30%, #000 25%, transparent 78%);
          mask-image: radial-gradient(ellipse 75% 75% at 50% 30%, #000 25%, transparent 78%);
}
.hero-orb { position: absolute; border-radius: 50%; filter: blur(100px); opacity: .30; pointer-events: none; animation: orbFloat 16s ease-in-out infinite alternate; }
.orb-a { width: 480px; height: 480px; background: #4f7cff; top: -200px; right: -80px; }
.orb-b { width: 420px; height: 420px; background: #00a6ff; bottom: -200px; left: -80px; animation-delay: -8s; }
@keyframes orbFloat { from { transform: translate(0,0) scale(1); } to { transform: translate(36px, 28px) scale(1.1); } }

.hero-inner { position: relative; }
.hero-badge {
  display: inline-flex; align-items: center; gap: .5rem; padding: .42rem 1.1rem; border-radius: 999px;
  font-size: .85rem; font-weight: 600; color: var(--blue);
  background: rgba(43,92,255,.08); border: 1px solid rgba(43,92,255,.22); letter-spacing: 1px; margin-bottom: 1.6rem;
}
.hero-badge::before { content: ""; width: 7px; height: 7px; background: var(--blue); border-radius: 50%; }
.hero-title { font-size: clamp(2.5rem, 6.4vw, 4.4rem); font-weight: 800; line-height: 1.14; letter-spacing: -1px; color: var(--text); }
.hero-title .grad {
  background: var(--grad); background-size: 200% auto;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: gradShift 5s linear infinite;
}
@keyframes gradShift { to { background-position: 200% center; } }
.hero-sub { color: var(--muted); font-size: clamp(1rem, 2vw, 1.16rem); margin: 1.5rem auto 2.3rem; max-width: 680px; line-height: 1.95; }
.hero-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 3rem; justify-content: center; margin-top: 3.4rem; flex-wrap: wrap; }
.stat { text-align: center; }
.stat strong { display: block; font-size: 2.3rem; font-weight: 800; color: var(--blue); }
.stat span { color: var(--muted); font-size: .85rem; font-weight: 600; letter-spacing: 1px; }

/* ---------- Sections ---------- */
.section { padding: 80px 0; position: relative; }
.section-alt { background: var(--bg-2); }
.section-divider { border-top: 1px solid var(--border); }
.section-head { max-width: 680px; margin: 0 auto 3.2rem; text-align: center; }
.section-head::after { content: ""; display: block; width: 52px; height: 3px; margin: 1.3rem auto 0; background: var(--grad); border-radius: 2px; }
.section-title { font-weight: 800; letter-spacing: .5px; color: var(--text); }
.section-title .accent { color: var(--blue); }
.section-desc { color: var(--muted); margin-top: .9rem; font-size: 1.03rem; line-height: 1.8; }

/* ---------- Home services tabs ---------- */
.svc-tabnav { display: flex; flex-wrap: wrap; gap: .55rem; justify-content: center; margin-bottom: 2.2rem; }
.svc-tab {
  border: 1px solid var(--border); background: #fff; color: #3c4657;
  font-weight: 600; font-size: .95rem; padding: .55rem 1.3rem; border-radius: 999px;
  cursor: pointer; transition: color .18s ease, background .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.svc-tab:hover { color: var(--blue); border-color: rgba(43, 92, 255, .4); }
.svc-tab.active { background: var(--grad); color: #fff; border-color: transparent; box-shadow: 0 10px 22px rgba(43, 92, 255, .26); }
.svc-panel { display: none; }
.svc-panel.active { display: block; animation: svcIn .26s ease; }
@keyframes svcIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.group-head { display: flex; align-items: center; gap: 1.2rem; margin-bottom: 2.2rem; }
.group-index { font-size: 2.8rem; font-weight: 800; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px rgba(43,92,255,.55); }

/* ---------- Product cards ---------- */
.product-card {
  background: #fff; border: 1px solid var(--border); border-radius: 18px;
  padding: 1.8rem 1.7rem 1.5rem; height: 100%; display: flex; flex-direction: column; position: relative; overflow: hidden;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease, background .3s ease;
}
.product-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform .35s ease;
}
.product-card:hover { transform: translateY(-6px); border-color: rgba(43,92,255,.45); box-shadow: var(--shadow); background: linear-gradient(165deg, #e8f0ff 0%, #f4f8ff 100%); }
.product-card:hover::before { transform: scaleX(1); }
.product-card > * { position: relative; z-index: 1; }
.product-card-top { display: flex; align-items: flex-start; justify-content: space-between; gap: .8rem; margin-bottom: 1.15rem; }
.icon-tile {
  width: 50px; height: 50px; border-radius: 13px; display: inline-flex; align-items: center; justify-content: center;
  background: var(--grad); color: #fff; box-shadow: 0 8px 20px rgba(43,92,255,.26);
  transition: transform .3s ease;
}
.product-card:hover .icon-tile { transform: translateY(-3px) rotate(-6deg) scale(1.08); }
.icon-tile.lg { width: 66px; height: 66px; border-radius: 16px; }
.icon-tile.logo-tile { background: none; box-shadow: 0 8px 20px rgba(43, 92, 255, .26); overflow: hidden; }
.icon-tile.logo-tile img { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; display: block; }
.badge-soft {
  display: inline-block; padding: .3rem .78rem; border-radius: 999px; font-size: .74rem; font-weight: 600;
  color: var(--blue); background: rgba(43,92,255,.08); border: 1px solid rgba(43,92,255,.18);
}
.product-name { font-size: 1.2rem; font-weight: 700; margin-bottom: .5rem; line-height: 1.4; }
.product-name a { color: var(--text); }
.product-name a:hover { color: var(--blue); }
.product-tagline { color: var(--muted); font-size: .93rem; line-height: 1.75; margin-bottom: 0; }
.product-feats { list-style: none; margin: 1.1rem 0 0; padding: 0; display: flex; flex-direction: column; gap: .5rem; }
.product-feats li { position: relative; padding-left: 1.15rem; color: var(--muted); font-size: .85rem; line-height: 1.55; }
.product-feats li::before { content: ""; position: absolute; left: 0; top: .44rem; width: 7px; height: 7px; border-radius: 50%; background: var(--grad); }
.product-card-foot { display: flex; align-items: center; justify-content: space-between; gap: .8rem; margin-top: auto; padding-top: 1.15rem; border-top: 1px solid var(--border); }
.product-card-foot .arr { display: inline-block; transition: transform .25s ease; }
.product-card:hover .product-card-foot .arr { transform: translateX(4px); }
.ext-link { display: inline-flex; align-items: center; padding: .3rem .75rem; border-radius: 999px; font-size: .8rem; font-weight: 600; color: var(--blue); background: rgba(43,92,255,.08); border: 1px solid rgba(43,92,255,.18); transition: color .2s ease, background .2s ease, border-color .2s ease; }
.ext-link:hover { color: #fff; background: var(--blue); border-color: var(--blue); }

/* ---------- Blog ---------- */
.post-mini {
  display: block; background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.7rem; height: 100%; transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.post-mini:hover { transform: translateY(-5px); border-color: rgba(43,92,255,.4); color: inherit; box-shadow: var(--shadow); }
.post-mini-meta { display: flex; align-items: center; justify-content: space-between; margin-bottom: .85rem; }
.post-mini-title { color: var(--text); font-size: 1.1rem; font-weight: 700; }
.post-mini:hover .post-mini-title { color: var(--blue); }
.post-mini-summary { color: var(--muted); font-size: .93rem; line-height: 1.75; }

.post-list .post-item { background: #fff; border: 1px solid var(--border); padding: 1.5rem; margin-bottom: 1rem; border-radius: 14px; transition: border-color .2s ease; }
.post-list .post-item:hover { border-color: rgba(43,92,255,.4); }
.post-item-title { font-size: 1.15rem; font-weight: 700; color: var(--text); margin-bottom: .35rem; }
.post-content { color: #3c4657; line-height: 2.05; font-size: 1.04rem; }
.post-content p { margin: 0 0 1rem; }
.post-content img { max-width: 100%; height: auto; border-radius: 10px; margin: .6rem 0; display: block; }
.post-content h2 { font-size: 1.4rem; font-weight: 800; margin: 2rem 0 .9rem; }
.post-content h3 { font-size: 1.12rem; font-weight: 700; margin: 1.8rem 0 .7rem; padding-left: .8rem; border-left: 3px solid var(--blue); }
.post-content ul { margin: 0 0 1.1rem; padding-left: 1.25rem; }
.post-content li { margin: .35rem 0; }
.post-content li::marker { color: var(--blue); }
.post-content li > ul { margin: .35rem 0 .25rem; }
.post-content strong { color: var(--text); }
.post-related { margin-top: 2rem; padding: 1.1rem 1.3rem; background: #fff; border: 1px solid var(--border); border-radius: 14px; }

/* ---------- Article list ---------- */
.article-list { display: flex; flex-direction: column; gap: 1rem; }
.article-item {
  position: relative; overflow: hidden;
  display: flex; align-items: center; gap: 1.4rem;
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.5rem 1.6rem; color: inherit;
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}
.article-item::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: var(--grad); transform: scaleY(0); transform-origin: top; transition: transform .3s ease;
}
.article-item::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 50%), rgba(43,92,255,.10), transparent 62%);
  opacity: 0; transition: opacity .3s ease;
}
.article-item:hover { transform: translateY(-4px); border-color: rgba(43,92,255,.4); box-shadow: var(--shadow); color: inherit; }
.article-item:hover::before { transform: scaleY(1); }
.article-item:hover::after { opacity: 1; }
.article-item > * { position: relative; z-index: 1; }
.article-date { flex-shrink: 0; width: 62px; text-align: center; padding-right: 1.4rem; border-right: 1px solid var(--border); }
.ad-day { display: block; font-size: 1.9rem; font-weight: 800; line-height: 1; color: var(--blue); }
.ad-ym { display: block; font-size: .78rem; color: var(--muted); margin-top: .3rem; }
.article-body { flex-grow: 1; min-width: 0; }
.article-meta { display: flex; gap: .5rem; margin-bottom: .45rem; }
.article-title { font-size: 1.18rem; font-weight: 700; color: var(--text); margin-bottom: .35rem; transition: color .2s ease; }
.article-item:hover .article-title { color: var(--blue); }
.article-summary {
  color: var(--muted); font-size: .95rem; line-height: 1.7; margin: 0;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.article-arrow { flex-shrink: 0; font-size: 1.3rem; color: var(--muted); transition: transform .25s ease, color .2s ease; }
.article-item:hover .article-arrow { transform: translateX(5px); color: var(--blue); }

@media (max-width: 575px) {
  .article-item { gap: 1rem; padding: 1.2rem 1.1rem; }
  .article-date { width: 48px; padding-right: .8rem; }
  .ad-day { font-size: 1.5rem; }
  .article-arrow { display: none; }
}

/* ---------- Pagination ---------- */
.pagination-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: .45rem; margin-top: 2.2rem; }
.pager-link {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 38px; height: 38px; padding: 0 .75rem;
  background: #fff; border: 1px solid var(--border-strong); border-radius: 8px;
  color: var(--text); font-size: .9rem; font-weight: 600;
  transition: all .15s ease;
}
.pager-link:hover { border-color: var(--blue); color: var(--blue); }
.pager-link.active { background: var(--grad); border-color: transparent; color: #fff; }
.pager-link.prev, .pager-link.next { padding: 0 1rem; }

/* ---------- Home news/articles ---------- */
.home-news-panel {
  position: relative; overflow: hidden;
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.6rem 1.7rem; height: 100%;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease, background .3s ease;
}
.home-news-panel::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform .35s ease;
}
.home-news-panel:hover { transform: translateY(-5px); border-color: rgba(43,92,255,.4); box-shadow: var(--shadow); background: linear-gradient(165deg, #e8f0ff 0%, #f4f8ff 100%); }
.home-news-panel:hover::before { transform: scaleX(1); }
.home-news-panel > * { position: relative; z-index: 1; }
.home-news-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: .5rem; padding-bottom: .9rem; border-bottom: 2px solid var(--border);
}
.home-news-title { font-size: 1.2rem; font-weight: 800; margin: 0; display: flex; align-items: center; gap: .55rem; }
.home-news-title::before { content: ""; width: 10px; height: 10px; background: var(--grad); border-radius: 3px; flex-shrink: 0; }
.home-news-more { font-size: .9rem; color: var(--blue); font-weight: 600; white-space: nowrap; }
.home-news-more:hover { color: var(--blue-dark); }
.home-news-more .arr { display: inline-block; transition: transform .25s ease; }
.home-news-panel:hover .home-news-more .arr { transform: translateX(4px); }
.home-news-list { list-style: none; margin: 0; padding: 0; }
.home-news-list li { border-bottom: 1px dashed var(--border); }
.home-news-list li:last-child { border-bottom: none; }
.home-news-list a {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: .78rem 0; color: var(--text); transition: transform .2s ease;
}
.home-news-list a:hover { transform: translateX(5px); }
.home-news-list a:hover .hn-title { color: var(--blue); }
.hn-title { flex-grow: 1; font-size: .98rem; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; transition: color .2s ease; }
.hn-date { flex-shrink: 0; font-size: .8rem; color: var(--muted); transition: color .2s ease; }
.home-news-list a:hover .hn-date { color: var(--blue); }

/* ---------- Page hero ---------- */
.page-hero {
  position: relative; overflow: hidden; padding: 64px 0 48px; text-align: center; border-bottom: 1px solid var(--border);
  background: linear-gradient(180deg, #eef3ff 0%, #f5f7fb 100%);
}
.page-hero-title { font-weight: 800; letter-spacing: .5px; color: var(--text); }
.page-hero-sub { color: var(--muted); margin-top: .85rem; font-size: 1.06rem; }
.breadcrumb { --bs-breadcrumb-divider-color: var(--muted); justify-content: center; }
.breadcrumb a { color: var(--muted); font-weight: 600; }
.breadcrumb .active { color: var(--text); }
.lead-text { color: #3c4657; line-height: 2.1; font-size: 1.06rem; }
.feature-panel { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 1.7rem; box-shadow: var(--shadow-sm); }
.feature-panel-title { font-size: 1.08rem; font-weight: 700; margin-bottom: 1rem; }
.feature-list { list-style: none; padding: 0; margin: 0; }
.feature-list li { position: relative; padding: .55rem 0 .55rem 1.6rem; color: #3c4657; border-bottom: 1px solid var(--border); }
.feature-list li:last-child { border-bottom: none; }
.feature-list li::before { content: ""; position: absolute; left: 0; top: 1.05rem; width: 8px; height: 8px; border-radius: 50%; background: var(--blue); }
.code-404 { font-size: 7rem; font-weight: 800; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; line-height: 1; }
.empty-state { text-align: center; color: var(--muted); padding: 3rem 0; }

/* ---------- CTA ---------- */
.cta-band { background: var(--grad); }
.cta-title { color: #fff; font-weight: 800; }
.cta-sub { color: rgba(255,255,255,.92); }
.cta-band .btn-brand { background: #fff; color: var(--blue); box-shadow: 0 10px 24px rgba(0,0,0,.18); }

/* ---------- About page ---------- */
.about-hero { padding: 52px 0 56px; }
.about-hero .breadcrumb { margin-bottom: .5rem; }
.about-hero .hero-badge { margin-bottom: 1.1rem; }
.about-hero .page-hero-title { font-size: clamp(2rem, 4.6vw, 3.1rem); }

.about-tags { display: flex; flex-wrap: wrap; gap: .55rem; margin-top: 1.7rem; }
.about-tags span { padding: .38rem .95rem; border-radius: 999px; font-size: .82rem; font-weight: 600; color: var(--blue); background: rgba(43, 92, 255, .07); border: 1px solid rgba(43, 92, 255, .16); }

.principle-panel { position: relative; overflow: hidden; background: #fff; border: 1px solid var(--border); border-radius: 18px; padding: 1.9rem; box-shadow: var(--shadow-sm); }
.principle-panel::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--grad); }
.principle-title { font-size: 1.06rem; font-weight: 800; margin-bottom: 1.3rem; color: var(--text); }
.principle-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 1rem; }
.principle-list li { display: flex; gap: .9rem; align-items: flex-start; }
.pl-icon { flex: none; width: 40px; height: 40px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; background: rgba(43, 92, 255, .08); color: var(--blue); }
.pl-icon svg { width: 20px; height: 20px; }
.principle-list b { display: block; font-size: .96rem; font-weight: 700; color: var(--text); }
.principle-list em { font-style: normal; font-size: .84rem; color: var(--muted); }

.about-service-card { position: relative; overflow: hidden; height: 100%; background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 1.9rem 1.7rem; transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.about-service-card::after { content: ""; position: absolute; right: -50px; top: -50px; width: 150px; height: 150px; border-radius: 50%; background: radial-gradient(circle, rgba(43, 92, 255, .12), transparent 70%); }
.about-service-card .icon-tile { margin-bottom: 1.15rem; }
.about-service-card .hl-title { margin-top: 0; }
.about-service-card:hover { transform: translateY(-6px); border-color: rgba(43, 92, 255, .4); box-shadow: var(--shadow); }

.why-card .icon-tile { width: 46px; height: 46px; border-radius: 12px; margin-bottom: 1rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #b8c2d6; padding: 60px 0 0; }
.site-footer h6 { color: #fff; }
.site-footer .text-secondary { color: #b8c2d6 !important; }
.site-footer .fw-bold { color: #fff; }
.footer-slogan { max-width: 380px; line-height: 1.85; }
.footer-contact { list-style: none; padding: 0; margin: 1.4rem 0 0; display: flex; flex-direction: column; gap: .6rem; }
.footer-contact li { display: flex; align-items: center; gap: 9px; color: #8f9bb3; font-size: .9rem; }
.footer-contact svg { width: 16px; height: 16px; flex: none; color: #5b8cff; opacity: .9; }
.footer-contact a { color: #cdd6e8; }
.footer-contact a:hover { color: #fff; }

.footer-col-title {
  position: relative; color: #fff; font-size: 1rem; font-weight: 700;
  padding-bottom: .65rem; margin-bottom: 1.3rem;
}
.footer-col-title::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 30px; height: 3px; border-radius: 3px;
  background: linear-gradient(90deg, var(--blue), #7b95ff);
}
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: .6rem; }
.footer-links a {
  position: relative; display: inline-block; color: #b8c2d6; font-size: .95rem;
  transition: color .18s ease, padding-left .18s ease;
}
.footer-links a::before {
  content: "\203A"; position: absolute; left: 0; top: 50%;
  transform: translateY(-50%) translateX(-8px); opacity: 0;
  color: #7b95ff; font-weight: 700; transition: opacity .18s ease, transform .18s ease;
}
.footer-links a:hover { color: #fff; padding-left: 16px; }
.footer-links a:hover::before { opacity: 1; transform: translateY(-50%) translateX(0); }
.footer-bottom {
  margin-top: 2.8rem; padding: 1.4rem 0; border-top: 1px solid rgba(255,255,255,.12);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem;
  color: #8f9bb3; font-size: .85rem;
}
.footer-bottom a { color: #8f9bb3; }
.footer-bottom a:hover { color: #fff; }
.footer-beian { display: inline-flex; align-items: center; gap: 1.1rem; flex-wrap: wrap; }

.footer-friendlinks {
  margin-top: 2.6rem; padding-top: 1.6rem; border-top: 1px solid rgba(255, 255, 255, .1);
  display: flex; flex-wrap: wrap; align-items: center; gap: 14px 12px;
}
.footer-friendlinks .ffl-title {
  display: inline-flex; align-items: center; gap: 7px; align-self: flex-start;
  color: #fff; font-size: .82rem; font-weight: 700; letter-spacing: .08em;
  padding: 5px 16px 5px 0; margin-right: 2px;
  border-right: 1px solid rgba(255, 255, 255, .14);
  white-space: nowrap;
}
.footer-friendlinks .ffl-title svg { width: 15px; height: 15px; opacity: .75; }
.footer-friendlinks .ffl-list { display: flex; flex-wrap: wrap; gap: 8px 10px; }
.footer-friendlinks a {
  display: inline-block; color: #aab6cf; font-size: .82rem; line-height: 1;
  padding: 7px 14px; border-radius: 999px;
  background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .09);
  transition: color .18s ease, background .18s ease, border-color .18s ease, transform .18s ease;
}
.footer-friendlinks a:hover {
  color: #fff; background: var(--blue); border-color: var(--blue);
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(43, 92, 255, .35);
}

@media (max-width: 575.98px) {
  .footer-friendlinks { gap: 12px 8px; }
  .footer-friendlinks .ffl-title { border-right: 0; padding-right: 0; width: 100%; }
}

/* ---------- Admin ---------- */
.login-wrap { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 2rem 1rem; background: linear-gradient(180deg, #eef3ff, #f5f7fb); }
.login-card { width: 100%; max-width: 400px; background: #fff; border: 1px solid var(--border); border-radius: 20px; padding: 2.4rem; box-shadow: var(--shadow); }
.admin-wrap { min-height: 100vh; }
.stat-card { background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 1.5rem; text-align: center; }
.stat-card strong { display: block; font-size: 2.1rem; font-weight: 800; color: var(--blue); }
.stat-card span { color: var(--muted); font-weight: 600; }
.admin-panel { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 1.6rem; }
.admin-panel-title { font-size: 1.08rem; font-weight: 700; margin-bottom: 1rem; }
.admin-table { color: var(--text); }
.admin-table th { color: var(--muted); font-weight: 600; border-color: var(--border); }
.admin-table td { border-color: var(--border); }
.admin-table a { color: var(--text); }
.admin-table a:hover { color: var(--blue); }
.status-on { color: #0d9f6e; font-size: .85rem; font-weight: 600; }
.status-off { color: var(--muted); font-size: .85rem; }

.form-control, .form-select { background: #fff; border: 1px solid var(--border-strong); color: var(--text); border-radius: 10px; }
.form-control:focus, .form-select:focus { background: #fff; border-color: var(--blue); color: var(--text); box-shadow: 0 0 0 3px rgba(43,92,255,.14); }
.form-label { color: var(--muted); font-size: .9rem; font-weight: 600; }
.form-control::placeholder { color: #a5adbd; }
.alert-soft { background: rgba(43,92,255,.06); border: 1px solid rgba(43,92,255,.2); color: var(--text); }

/* ---------- About ---------- */
.about-block { margin-bottom: 2.4rem; }

/* ==================== Service detail themes ==================== */
.detail-theme { --a: #2b5cff; --b: #00a6ff; --ag: linear-gradient(120deg, #2b5cff, #00a6ff); }
.detail-theme.theme-emerald { --a: #0d9f6e; --b: #16c784; --ag: linear-gradient(120deg, #0d9f6e, #16c784); }
.detail-theme.theme-indigo  { --a: #4f46e5; --b: #00a6ff; --ag: linear-gradient(120deg, #4f46e5, #00a6ff); }
.detail-theme.theme-blue    { --a: #0ea5e9; --b: #00a6ff; --ag: linear-gradient(120deg, #0ea5e9, #00a6ff); }
.detail-theme.theme-pink    { --a: #ec4899; --b: #8b5cf6; --ag: linear-gradient(120deg, #ec4899, #8b5cf6); }
.detail-theme.theme-orange  { --a: #f97316; --b: #f59e0b; --ag: linear-gradient(120deg, #f97316, #f59e0b); }
.detail-theme.theme-red     { --a: #ef4444; --b: #f97316; --ag: linear-gradient(120deg, #ef4444, #f97316); }
.detail-theme.theme-amber   { --a: #f59e0b; --b: #fbbf24; --ag: linear-gradient(120deg, #f59e0b, #fbbf24); }

.product-detail { background: var(--bg); }
.p-hero { position: relative; overflow: hidden; padding: 56px 0 72px; background: linear-gradient(180deg, #eef3ff, #f5f7fb); }
.p-hero-bg {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(43,92,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(43,92,255,.05) 1px, transparent 1px);
  background-size: 52px 52px;
  -webkit-mask-image: radial-gradient(ellipse 75% 85% at 50% 0%, #000 30%, transparent 82%);
          mask-image: radial-gradient(ellipse 75% 85% at 50% 0%, #000 30%, transparent 82%);
}
.p-hero-orb {
  position: absolute; width: 540px; height: 540px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, var(--a), transparent 68%); filter: blur(90px); opacity: .16;
  top: -260px; right: -140px; animation: orbFloat 14s ease-in-out infinite alternate;
}
.p-hero::before {
  content: ""; position: absolute; width: 460px; height: 460px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, var(--b), transparent 68%); filter: blur(90px); opacity: .14;
  bottom: -240px; left: -130px; animation: orbFloat 16s ease-in-out infinite alternate-reverse;
}
.p-hero-grid { display: grid; grid-template-columns: 1.25fr .85fr; gap: 3rem; align-items: center; }
.p-hero-title { font-size: clamp(2.1rem, 5vw, 3.2rem); font-weight: 800; letter-spacing: .5px; margin-bottom: .8rem; color: var(--text); }
.p-slogan { font-size: 1.3rem; font-weight: 700; color: var(--text); margin-bottom: .8rem; }
.p-hero-tagline { color: var(--muted); font-size: 1.1rem; line-height: 1.9; margin-bottom: 1.8rem; }
.p-hero-actions { display: flex; gap: .9rem; flex-wrap: wrap; }
.detail-theme .btn-brand { background: var(--ag); box-shadow: 0 10px 24px rgba(0,0,0,.16); }
.detail-theme .badge-soft { color: var(--a); border-color: transparent; background: rgba(255,255,255,.7); }
.p-hero-visual { display: flex; justify-content: center; }
.p-visual-card { position: relative; width: 250px; height: 250px; display: flex; align-items: center; justify-content: center; }
.p-visual-ring { position: absolute; inset: 0; border: 1px solid var(--border-strong); border-radius: 30px; transform: rotate(12deg); }
.p-visual-ring::after { content: ""; position: absolute; inset: 14px; border: 1px dashed var(--border-strong); border-radius: 22px; transform: rotate(-24deg); }
.detail-theme .icon-tile.xl { width: 104px; height: 104px; border-radius: 26px; background: var(--ag); box-shadow: 0 18px 44px rgba(0,0,0,.18); }
.icon-tile.xl svg { width: 48px; height: 48px; }
.detail-theme .icon-tile.xl.logo-tile { background: none; }
.p-chip { position: absolute; padding: .45rem .9rem; border-radius: 999px; background: #fff; border: 1px solid var(--border-strong); font-size: .78rem; color: var(--text); font-weight: 600; box-shadow: var(--shadow-sm); }
.p-chip-a { top: 4px; right: -18px; }
.p-chip-b { bottom: 10px; left: -20px; }

.layout-center .p-hero-grid { grid-template-columns: 1fr; text-align: center; }
.layout-center .p-hero-text { max-width: 800px; margin: 0 auto; }
.layout-center .p-hero-actions { justify-content: center; }
.layout-center .p-hero-visual { margin-top: .5rem; }
.layout-center .breadcrumb { justify-content: center; }

.p-stats { background: #fff; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.stat-row { display: flex; gap: 2rem; justify-content: space-around; padding: 2.4rem 0; flex-wrap: wrap; }
.p-stats .stat strong { font-size: 2.6rem; font-weight: 800; background: var(--ag); -webkit-background-clip: text; background-clip: text; color: transparent; }
.p-stats .stat span { color: var(--muted); font-size: .9rem; font-weight: 600; }

.sec-tag { display: inline-block; font-size: .8rem; letter-spacing: 3px; text-transform: uppercase; font-weight: 700; color: var(--blue); margin-bottom: .7rem; }
.detail-theme .sec-tag { color: var(--a); }

.highlight-card { position: relative; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 1.7rem; height: 100%; overflow: hidden; transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.highlight-card::before { content: ""; position: absolute; left: 0; top: 0; width: 3px; height: 100%; background: var(--ag); }
.highlight-card:hover { transform: translateY(-5px); border-color: var(--border-strong); box-shadow: var(--shadow); }
.hl-index { font-size: 2.2rem; font-weight: 800; color: transparent; -webkit-text-stroke: 1.5px var(--a); line-height: 1; }
.hl-title { font-size: 1.15rem; font-weight: 700; margin: .7rem 0 .45rem; }
.hl-desc { color: var(--muted); margin: 0; font-size: .95rem; line-height: 1.75; }

/* ---------- Scenario / Steps / CTA ---------- */
.scenario-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 1.7rem; height: 100%; display: flex; align-items: center; gap: 1.1rem; transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.scenario-card:hover { transform: translateY(-5px); border-color: var(--border-strong); box-shadow: var(--shadow); }
.sc-marker { width: 48px; height: 48px; border-radius: 12px; background: var(--ag); color: #fff; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.sc-marker svg { width: 22px; height: 22px; }
.sc-title { font-size: 1.08rem; font-weight: 700; margin: 0; }

.steps { }
.step { display: flex; gap: 1.6rem; padding: 1.7rem 0; border-bottom: 1px solid var(--border); }
.step:last-child { border-bottom: none; }
.step-num { font-size: 2.2rem; font-weight: 800; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px var(--a); min-width: 3rem; }
.step-title { font-size: 1.2rem; font-weight: 700; margin-bottom: .35rem; }
.step-desc { color: var(--muted); margin: 0; line-height: 1.8; }

.p-cta { background: var(--ag); padding: 72px 0; }
.p-cta-title { color: #fff; font-weight: 800; }
.p-cta-sub { color: rgba(255,255,255,.9); margin: .6rem 0 1.6rem; }
.p-cta-btn { background: #fff; color: var(--text); font-weight: 700; padding: .85rem 2rem; border-radius: 10px; box-shadow: 0 12px 30px rgba(0,0,0,.18); }
.p-cta-btn:hover { color: var(--blue); transform: translateY(-2px); }

/* ---------- Contact ---------- */
.contact-list { display: flex; flex-direction: column; gap: 1.1rem; }
.contact-item { display: flex; gap: 1.1rem; align-items: flex-start; padding: 1.25rem 1.35rem; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); transition: border-color .2s ease, transform .2s ease; }
.contact-item:hover { transform: translateY(-3px); border-color: rgba(43,92,255,.4); }
.contact-icon { width: 48px; height: 48px; border-radius: 12px; background: var(--grad); color: #fff; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-icon svg { width: 22px; height: 22px; }
.contact-item strong { color: var(--text); }
.contact-item p { color: var(--muted); margin: .3rem 0 0; }
.contact-form-card { background: #fff; border: 1px solid var(--border); border-radius: 20px; padding: 2rem; box-shadow: var(--shadow); }
.contact-form-title { font-weight: 700; margin-bottom: 1.2rem; }

/* ---------- Floating contact / back-to-top ---------- */
.floating-contact { position: fixed; right: 22px; bottom: 22px; z-index: 1050; }
.floating-contact-btn {
  width: 52px; height: 52px; border-radius: 50%; background: var(--grad); color: #fff;
  display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 26px rgba(43,92,255,.4);
  cursor: pointer; transition: transform .15s ease;
}
.floating-contact-btn:hover { transform: translateY(-3px); }
.floating-contact-btn svg { width: 24px; height: 24px; }
.floating-popup {
  position: absolute; bottom: 62px; right: 0; width: 260px; background: #fff; border: 1px solid var(--border);
  border-radius: 14px; box-shadow: var(--shadow); padding: 1.1rem; display: none;
}
.floating-popup.show { display: block; }
.floating-popup h4 { font-size: 1rem; font-weight: 700; margin-bottom: .7rem; }
.floating-popup a { display: block; color: var(--text); font-size: .9rem; padding: .3rem 0; }
.floating-popup a:hover { color: var(--blue); }

.back-to-top {
  position: fixed; right: 22px; bottom: 86px; z-index: 1040; width: 44px; height: 44px; border-radius: 10px;
  background: #fff; border: 1px solid var(--border-strong); color: var(--muted); font-size: 1.2rem;
  display: flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none;
  transition: opacity .25s ease, color .2s ease;
}
.back-to-top.show { opacity: 1; pointer-events: auto; }
.back-to-top:hover { color: var(--blue); }

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

@media (max-width: 992px) {
  .p-hero-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .p-hero-visual { order: -1; }
  .p-visual-card { width: 200px; height: 200px; }
}

@media (max-width: 768px) {
  .hero { padding: 56px 0 44px; }
  .section { padding: 52px 0; }
  .hero-stats { gap: 1.6rem; }
  .group-head { flex-direction: column; align-items: flex-start; gap: .4rem; }
  .top-bar { display: none; }
  .hero-actions .btn { flex: 1 1 100%; max-width: 320px; }
  .stat strong { font-size: 1.8rem; }
  .floating-contact { right: 16px; bottom: 16px; }
  .floating-contact-btn { width: 48px; height: 48px; }
  .back-to-top { right: 16px; bottom: 74px; width: 40px; height: 40px; }
}

@media (max-width: 575px) {
  .hero { padding: 46px 0 36px; }
  .section { padding: 44px 0; }
  .page-hero { padding: 44px 0 36px; }
  .hero-title { letter-spacing: 0; }
  .product-card { padding: 1.4rem; }
  .post-mini { padding: 1.4rem; }
  .contact-form-card, .admin-panel { padding: 1.4rem; }
  .section-head { margin-bottom: 2.4rem; }
}
