/* ===== Tokens ===== */
:root {
  --blue-950: #06142e;
  --blue-900: #0a2148;
  --blue-800: #0c2f6b;
  --blue-700: #0b4fd6;
  --blue-600: #1e6cf0;
  --blue-500: #3b8bff;
  --blue-200: #bfdbfe;
  --blue-100: #e0edff;
  --blue-50: #f3f8ff;
  --cyan: #22d3ee;
  --cyan-soft: #a5f3fc;
  --ink: #0b1b36;
  --ink-2: #41557a;
  --ink-3: #6b7fa3;
  --line: #dbe6f7;
  --white: #fff;
  --fb: #1877f2;
  --line-green: #06c755;
  --wechat: #07c160;
  --grad: linear-gradient(120deg, var(--blue-700), var(--blue-500) 55%, var(--cyan));
  --radius: 18px;
  --radius-lg: 28px;
  --shadow-sm: 0 2px 8px rgba(11, 79, 214, .08);
  --shadow: 0 14px 40px -12px rgba(11, 79, 214, .28);
  --shadow-lg: 0 30px 80px -20px rgba(6, 20, 46, .45);
  --header-h: 76px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --font: 'IBM Plex Sans Thai', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-head: 'Kanit', var(--font);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--white);
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; padding: 0; }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.25; margin: 0; font-weight: 600; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
.container { width: min(1200px, 100% - 40px); margin-inline: auto; }
.icon { width: 20px; height: 20px; flex: none; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; border-radius: 8px; }

/* ===== Buttons ===== */
.btn {
  --bg: var(--blue-700);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 999px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  isolation: isolate;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background-color .3s, color .3s;
}
.btn > * { position: relative; z-index: 1; }
.btn::after { /* shine sweep */
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .45) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform .8s var(--ease);
}
.btn:hover::after { transform: translateX(120%); }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.97); }
.btn-sm { min-height: 40px; padding: 0 18px; font-size: 15px; }
.btn-lg { min-height: 56px; padding: 0 30px; font-size: 17px; }
.btn-primary { color: #fff; background: var(--grad); background-size: 160% 100%; box-shadow: 0 10px 30px -8px rgba(30, 108, 240, .7); }
.btn-primary:hover { background-position: 100% 0; box-shadow: 0 16px 40px -10px rgba(30, 108, 240, .85); }
.btn-glass { color: #fff; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .28); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.btn-glass:hover { background: rgba(255, 255, 255, .2); }
.btn-white { color: var(--blue-700); background: #fff; box-shadow: 0 12px 30px -10px rgba(0, 0, 0, .35); }
.btn-outline-white { color: #fff; border: 1.5px solid rgba(255, 255, 255, .6); }
.btn-outline-white:hover { background: rgba(255, 255, 255, .14); }
.btn-line { color: #fff; background: var(--line-green); }
.btn-fb { color: #fff; background: var(--fb); }
.btn-wechat { color: #fff; background: var(--wechat); }
.btn .icon { width: 20px; height: 20px; }
.btn-primary .icon:last-child { transition: transform .35s var(--ease); }
.btn-primary:hover .icon:last-child { transform: translateX(4px); }

.arrow-btn {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1.5px solid var(--line);
  background: #fff;
  color: var(--blue-700);
  transition: transform .3s var(--ease), background-color .3s, color .3s, border-color .3s;
}
.arrow-btn:hover { background: var(--blue-700); border-color: var(--blue-700); color: #fff; transform: scale(1.08); }
.arrow-btn:disabled { opacity: .35; pointer-events: none; }

/* ===== Scroll progress ===== */
.scroll-progress { position: fixed; inset: 0 0 auto; height: 3px; z-index: 60; pointer-events: none; }
.scroll-progress span { display: block; height: 100%; width: 100%; background: var(--grad); transform-origin: 0 50%; transform: scaleX(0); }

/* ===== Header ===== */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--header-h);
  color: #fff;
  transition: background-color .4s, box-shadow .4s, height .4s var(--ease), color .4s;
}
.site-header.is-scrolled {
  --header-h: 64px;
  height: 64px;
  color: var(--ink);
  background: rgba(255, 255, 255, .82);
  backdrop-filter: blur(16px) saturate(1.6);
  -webkit-backdrop-filter: blur(16px) saturate(1.6);
  box-shadow: 0 1px 0 var(--line), 0 10px 30px -18px rgba(11, 79, 214, .4);
}
.header-inner { height: 100%; display: flex; align-items: center; gap: 24px; }
.logo { display: inline-flex; align-items: center; gap: 10px; min-width: 0; }
.logo-mark { width: 40px; height: 40px; flex: none; transition: transform .6s var(--ease); }
.logo:hover .logo-mark { transform: rotate(-12deg) scale(1.08); }
.logo-mark svg { width: 100%; height: 100%; }
.logo-text { display: grid; line-height: 1.1; }
.logo-text b { font-family: var(--font-head); font-size: 22px; font-weight: 700; letter-spacing: -.01em; }
.logo-text small { font-size: 11.5px; opacity: .75; letter-spacing: .04em; white-space: nowrap; }
.main-nav { display: flex; gap: 4px; margin-left: auto; }
.main-nav a { position: relative; padding: 8px 14px; border-radius: 999px; font-weight: 500; font-size: 15.5px; opacity: .88; transition: opacity .3s, background-color .3s; }
.main-nav a::after { content: ''; position: absolute; left: 50%; bottom: 2px; width: 18px; height: 3px; margin-left: -9px; border-radius: 3px; background: var(--cyan); transform: scaleX(0); transition: transform .4s var(--ease); }
.main-nav a:hover, .main-nav a.is-current { opacity: 1; }
.main-nav a.is-current::after, .main-nav a:hover::after { transform: scaleX(1); }
.header-cta { flex: none; }
.menu-toggle { display: none; width: 44px; height: 44px; border-radius: 12px; margin-left: auto; place-content: center; gap: 5px; }
.menu-toggle span { display: block; width: 22px; height: 2px; border-radius: 2px; background: currentColor; transition: transform .35s var(--ease), opacity .3s; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-menu {
  position: fixed;
  inset: var(--header-h) 0 auto;
  padding: 16px 20px 24px;
  background: rgba(255, 255, 255, .97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  color: var(--ink);
  box-shadow: 0 30px 50px -20px rgba(6, 20, 46, .35);
  animation: menuIn .4s var(--ease);
}
.mobile-menu nav { display: grid; }
.mobile-menu nav a { padding: 14px 4px; border-bottom: 1px solid var(--line); font-weight: 500; font-size: 18px; animation: fadeUp .5s var(--ease) both; }
.mobile-menu nav a:nth-child(2) { animation-delay: .04s; } .mobile-menu nav a:nth-child(3) { animation-delay: .08s; }
.mobile-menu nav a:nth-child(4) { animation-delay: .12s; } .mobile-menu nav a:nth-child(5) { animation-delay: .16s; }
.mobile-menu nav a:nth-child(6) { animation-delay: .2s; }
.mobile-menu-social { display: flex; gap: 12px; margin-top: 18px; }
@keyframes menuIn { from { opacity: 0; transform: translateY(-12px); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(12px); } }

.soc { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; color: #fff; transition: transform .35s var(--ease), box-shadow .35s; }
.soc:hover { transform: translateY(-3px) scale(1.06); box-shadow: 0 10px 20px -8px rgba(0, 0, 0, .4); }
.soc .icon { width: 22px; height: 22px; }
.soc-fb { background: var(--fb); }
.soc-line { background: var(--line-green); }
.soc-wechat { background: var(--wechat); }

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: max(680px, 100svh);
  color: #fff;
  overflow: hidden;
  background:
    radial-gradient(1200px 600px at 85% 10%, rgba(34, 211, 238, .25), transparent 60%),
    radial-gradient(900px 700px at 10% 90%, rgba(59, 139, 255, .35), transparent 60%),
    linear-gradient(160deg, var(--blue-950), var(--blue-800) 55%, var(--blue-700));
  display: flex;
  flex-direction: column;
}
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-glow { position: absolute; width: 520px; height: 520px; left: var(--mx, 70%); top: var(--my, 40%); translate: -50% -50%; border-radius: 50%; background: radial-gradient(circle, rgba(34, 211, 238, .22), transparent 65%); pointer-events: none; transition: left .6s var(--ease), top .6s var(--ease); }
.hero-grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at 50% 40%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 40%, #000 20%, transparent 75%);
  animation: gridMove 30s linear infinite;
}
@keyframes gridMove { to { background-position: 64px 64px, 64px 64px; } }

.slides { position: relative; flex: 1; display: grid; }
.slide { grid-area: 1 / 1; display: flex; align-items: center; padding: calc(var(--header-h) + 30px) 0 130px; visibility: hidden; opacity: 0; transition: opacity .9s var(--ease), visibility 0s .9s; }
.slide.is-active { visibility: visible; opacity: 1; transition: opacity .9s var(--ease), visibility 0s; }
.slide-inner { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 40px; }
.slide-text { max-width: 620px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; padding: 6px 16px 6px 12px; border-radius: 999px; font-size: 14px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .2); margin-bottom: 22px; }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 0 rgba(34, 211, 238, .7); animation: ping 2s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 10px rgba(34, 211, 238, 0); } 100% { box-shadow: 0 0 0 0 rgba(34, 211, 238, 0); } }
.slide h1, .slide h2 { font-size: clamp(38px, 6vw, 70px); font-weight: 700; line-height: 1.12; margin-bottom: 22px; }
.slide h1 em, .slide h2 em { display: block; font-style: normal; background: linear-gradient(90deg, #fff, var(--cyan-soft) 40%, var(--cyan)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.slide .lead { font-size: clamp(16px, 1.6vw, 19px); color: rgba(255, 255, 255, .82); max-width: 540px; margin-bottom: 34px; }
.slide-actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* split words animation (spans are added by JS) */
.split .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; }
.split .w > span { display: inline-block; transform: translateY(110%); }
.slide.is-active .split .w > span { transform: none; transition: transform 1s var(--ease); transition-delay: calc(var(--i) * 70ms + .15s); }
.slide .eyebrow, .slide .lead, .slide .slide-actions { opacity: 0; transform: translateY(24px); }
.slide.is-active .eyebrow, .slide.is-active .lead, .slide.is-active .slide-actions { opacity: 1; transform: none; transition: opacity .9s var(--ease), transform .9s var(--ease); }
.slide.is-active .lead { transition-delay: .5s; }
.slide.is-active .slide-actions { transition-delay: .65s; }

.slide-visual { position: relative; aspect-ratio: 1; width: min(100%, 520px); justify-self: center; }
.orbit { position: absolute; inset: 6%; border-radius: 50%; border: 1.5px dashed rgba(165, 243, 252, .35); animation: spin 40s linear infinite; }
.orbit-2 { inset: 20%; border-style: solid; border-color: rgba(255, 255, 255, .12); animation-duration: 26s; animation-direction: reverse; }
.orbit::before { content: ''; position: absolute; top: -6px; left: 50%; width: 12px; height: 12px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 20px var(--cyan); }
@keyframes spin { to { transform: rotate(360deg); } }
.float-card {
  position: absolute;
  display: grid;
  place-items: center;
  border-radius: 32px;
  background: linear-gradient(145deg, rgba(255, 255, 255, .95), rgba(224, 237, 255, .9));
  box-shadow: var(--shadow-lg), inset 0 1px 0 #fff;
  transform: scale(.6) rotate(-10deg);
  opacity: 0;
}
.float-card img { width: 88%; height: 88%; object-fit: contain; mix-blend-mode: multiply; }
.fc-main { width: 52%; aspect-ratio: 1; left: 24%; top: 24%; }
.fc-a { width: 28%; aspect-ratio: 1; left: 2%; top: 8%; border-radius: 24px; }
.fc-b { width: 26%; aspect-ratio: 1; right: 2%; bottom: 8%; border-radius: 24px; }
.slide.is-active .float-card { opacity: 1; transform: none; transition: transform 1.2s var(--ease), opacity .8s; }
.slide.is-active .fc-main { transition-delay: .25s; }
.slide.is-active .fc-a { transition-delay: .45s; }
.slide.is-active .fc-b { transition-delay: .6s; }
.float-card > img { animation: bob 6s ease-in-out infinite; }
.fc-a > img { animation-delay: -2s; } .fc-b > img { animation-delay: -4s; }
@keyframes bob { 50% { transform: translateY(-8px) rotate(2deg); } }
.float-chip {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 14px;
  font-weight: 600;
  font-size: 15px;
  color: var(--ink);
  background: #fff;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  transform: translateY(20px);
}
.float-chip .icon { width: 18px; height: 18px; padding: 3px; border-radius: 6px; background: var(--grad); color: #fff; box-sizing: content-box; }
.fc-chip-1 { right: 0; top: 18%; }
.fc-chip-2 { left: 0; bottom: 18%; }
.slide.is-active .float-chip { opacity: 1; transform: none; transition: all 1s var(--ease) .8s; animation: bob 5s ease-in-out 1.8s infinite; }
.slide.is-active .fc-chip-2 { transition-delay: .95s; animation-delay: 2.4s; }

.hero-controls { position: absolute; left: 0; right: 0; bottom: 36px; display: flex; align-items: center; justify-content: space-between; z-index: 3; }
.slide-dots { display: flex; gap: 10px; }
.slide-dot { position: relative; width: 56px; height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .25); overflow: hidden; }
.slide-dot::before { content: ''; position: absolute; inset: -12px 0; }
.slide-dot span { position: absolute; inset: 0; background: var(--cyan); transform-origin: 0 50%; transform: scaleX(0); }
.slide-dot.is-done span { transform: scaleX(1); }
.slide-dot.is-active span { animation: fill var(--slide-ms, 6s) linear forwards; }
.hero.is-paused .slide-dot.is-active span { animation-play-state: paused; }
@keyframes fill { to { transform: scaleX(1); } }
.slide-arrows { display: flex; gap: 10px; }
.hero .arrow-btn { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .3); color: #fff; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.hero .arrow-btn:hover { background: #fff; color: var(--blue-700); }
.scroll-hint { position: absolute; left: 50%; bottom: 30px; z-index: 3; width: 28px; height: 44px; margin-left: -14px; border: 2px solid rgba(255, 255, 255, .5); border-radius: 16px; }
.scroll-hint span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: #fff; animation: wheel 1.8s var(--ease) infinite; }
@keyframes wheel { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ===== Marquee ===== */
.marquee { position: relative; overflow: hidden; padding: 18px 0; background: var(--blue-700); color: #fff; transform: skewY(-1.5deg); margin-top: -18px; z-index: 2; box-shadow: var(--shadow); }
.marquee-track { display: flex; gap: 28px; width: max-content; animation: marquee 32s linear infinite; font-family: var(--font-head); font-size: 20px; font-weight: 500; letter-spacing: .02em; white-space: nowrap; }
.marquee-track i { font-style: normal; color: var(--cyan); }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ===== Sections ===== */
.section { position: relative; padding: clamp(80px, 10vw, 130px) 0; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 52px; }
.section-head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; text-align: left; max-width: none; margin-bottom: 28px; }
.section-eyebrow { display: inline-flex; align-items: center; gap: 10px; color: var(--blue-700); font-weight: 600; letter-spacing: .12em; text-transform: uppercase; font-size: 14px; margin-bottom: 12px; }
.section-eyebrow::before { content: ''; width: 28px; height: 2px; background: var(--grad); border-radius: 2px; }
.section-eyebrow.light { color: var(--cyan-soft); }
.section-title { font-size: clamp(30px, 4.4vw, 50px); font-weight: 700; margin-bottom: 16px; }
.section-title.light { color: #fff; }
.section-sub { color: var(--ink-2); font-size: 17px; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.grad-light { background: linear-gradient(90deg, var(--cyan-soft), var(--cyan)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* reveal on scroll */
.js [data-reveal] { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* ===== About ===== */
.about { background: radial-gradient(800px 400px at 100% 0, var(--blue-50), transparent 70%); }
.about-inner { display: grid; grid-template-columns: 1.1fr 1fr; gap: 60px; align-items: center; }
.about-text > p { color: var(--ink-2); font-size: 17px; }
.check-list { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 12px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; font-weight: 500; }
.check-list .icon { width: 26px; height: 26px; padding: 5px; border-radius: 50%; color: #fff; background: var(--grad); box-sizing: border-box; margin-top: 1px; }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.stat {
  position: relative;
  padding: 30px 24px;
  border-radius: var(--radius-lg);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.stat::before { content: ''; position: absolute; width: 140px; height: 140px; right: -50px; top: -50px; border-radius: 50%; background: radial-gradient(circle, var(--blue-100), transparent 70%); }
.stat:nth-child(2) { translate: 0 30px; } .stat:nth-child(4) { translate: 0 30px; }
.stat b { position: relative; display: block; font-family: var(--font-head); font-size: clamp(36px, 4vw, 50px); font-weight: 700; line-height: 1.1; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat span { position: relative; color: var(--ink-2); font-weight: 500; }

/* tilt (JS sets --rx/--ry) */
.tilt { transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .5s var(--ease), box-shadow .5s var(--ease); transform-style: preserve-3d; }
.tilt.is-tilting { transition: transform .1s linear, box-shadow .5s var(--ease); box-shadow: var(--shadow); }

/* ===== Categories ===== */
.categories { background: var(--blue-50); overflow: hidden; }
.categories::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(var(--blue-200) 1px, transparent 1px); background-size: 26px 26px; mask-image: linear-gradient(to bottom, transparent, #000 30%, #000 70%, transparent); -webkit-mask-image: linear-gradient(to bottom, transparent, #000 30%, #000 70%, transparent); opacity: .6; }
.cat-grid { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.cat-card {
  position: relative;
  display: grid;
  gap: 6px;
  padding: 26px 22px 22px;
  border-radius: var(--radius-lg);
  background: #fff;
  border: 1px solid var(--line);
  text-align: left;
  overflow: hidden;
  isolation: isolate;
}
.cat-card::before { /* spotlight following the pointer */
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(260px circle at var(--px, 50%) var(--py, 50%), rgba(34, 211, 238, .18), transparent 60%);
  opacity: 0;
  transition: opacity .4s;
}
.cat-card::after { content: ''; position: absolute; inset: 0; border-radius: inherit; padding: 1.5px; background: var(--grad); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0; transition: opacity .4s; }
.cat-card:hover::before, .cat-card:hover::after { opacity: 1; }
.cat-art { width: 112px; height: 96px; margin-bottom: 10px; padding: 6px; border-radius: 24px; background: linear-gradient(145deg, #fff, var(--blue-100)); transition: transform .6s var(--ease); }
.cat-art img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.cat-card:hover .cat-art { transform: translateZ(30px) rotate(-6deg) scale(1.08); }
.cat-card h3 { font-size: 19px; }
.cat-card p { margin: 0; color: var(--ink-3); font-size: 14.5px; line-height: 1.55; }
.cat-count { position: absolute; top: 22px; right: 22px; font-size: 13px; font-weight: 600; color: var(--blue-700); background: var(--blue-100); padding: 2px 10px; border-radius: 999px; }
.cat-go { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; color: var(--blue-700); font-weight: 600; font-size: 15px; }
.cat-go .icon { width: 18px; height: 18px; transition: transform .35s var(--ease); }
.cat-card:hover .cat-go .icon { transform: translateX(5px); }

/* ===== Products carousel ===== */
.products { overflow: hidden; }
.carousel-arrows { display: flex; gap: 10px; flex: none; }
.filter-tabs { display: flex; gap: 10px; overflow-x: auto; scrollbar-width: none; padding: 4px 2px 6px; margin-bottom: 26px; }
.filter-tabs::-webkit-scrollbar { display: none; }
.filter-tab { flex: none; padding: 9px 18px; border-radius: 999px; border: 1.5px solid var(--line); font-weight: 500; font-size: 15px; color: var(--ink-2); background: #fff; transition: all .35s var(--ease); }
.filter-tab:hover { border-color: var(--blue-500); color: var(--blue-700); }
.filter-tab.is-active { color: #fff; background: var(--grad); border-color: transparent; box-shadow: 0 8px 20px -8px rgba(30, 108, 240, .7); }
.filter-tab small { display: inline-block; min-width: 22px; margin-left: 4px; padding: 0 6px; border-radius: 999px; font-size: 12px; font-weight: 600; text-align: center; color: var(--blue-700); background: var(--blue-100); }
.filter-tab.is-active small { color: var(--blue-700); background: #fff; }
.carousel {
  --pad: max(20px, (100vw - 1200px) / 2);
  display: flex;
  gap: 22px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--pad);
  padding: 14px var(--pad) 40px;
  scrollbar-width: none;
  cursor: grab;
  outline: none;
}
.carousel::-webkit-scrollbar { display: none; }
.carousel.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.carousel.is-dragging .p-card { pointer-events: none; }
.p-card {
  position: relative;
  flex: none;
  width: 290px;
  scroll-snap-align: start;
  border-radius: var(--radius-lg);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  text-align: left;
  display: flex;
  flex-direction: column;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), opacity .5s;
  animation: cardIn .7s var(--ease) both;
  animation-delay: calc(var(--i, 0) * 60ms);
}
@keyframes cardIn { from { opacity: 0; transform: translateY(30px) scale(.96); } }
.p-card:hover { transform: translateY(-10px); box-shadow: var(--shadow); }
.p-media { position: relative; aspect-ratio: 4 / 3; display: grid; place-items: center; background: linear-gradient(160deg, #fff 30%, var(--blue-100)); overflow: hidden; }
.p-media img { position: relative; width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; transition: transform .8s var(--ease); }
.p-card:hover .p-media img { transform: scale(1.08); }
.p-imgs { position: absolute; right: 14px; top: 14px; display: inline-flex; align-items: center; gap: 4px; padding: 3px 9px; border-radius: 999px; font-size: 12.5px; font-weight: 600; color: var(--ink-2); background: rgba(255, 255, 255, .9); box-shadow: var(--shadow-sm); }
.p-imgs .icon { width: 14px; height: 14px; }
.p-tag { position: absolute; left: 14px; top: 14px; padding: 3px 12px; border-radius: 999px; font-size: 12.5px; font-weight: 600; background: #fff; color: var(--blue-700); box-shadow: var(--shadow-sm); }
.p-tag.hot { background: linear-gradient(90deg, #f97316, #ef4444); color: #fff; }
.p-view { position: absolute; right: 14px; bottom: 14px; display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border-radius: 999px; font-size: 14px; font-weight: 600; color: #fff; background: rgba(11, 33, 72, .85); opacity: 0; transform: translateY(10px); transition: all .4s var(--ease); }
.p-view .icon { width: 16px; height: 16px; }
.p-card:hover .p-view, .p-card:focus-visible .p-view { opacity: 1; transform: none; }
.p-body { padding: 18px 20px 20px; display: grid; gap: 4px; flex: 1; align-content: start; }
.p-cat { font-size: 13px; color: var(--blue-600); font-weight: 600; }
.p-body h3 { font-size: 17px; font-weight: 600; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.5em; }
.p-code { font-size: 13.5px; color: var(--ink-3); }
.p-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 0 20px 20px; }
.p-price { font-size: 14px; color: var(--ink-2); }
.p-price b { color: var(--blue-700); }
.p-ask { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; color: #fff; background: var(--grad); transition: transform .4s var(--ease); }
.p-card:hover .p-ask { transform: rotate(-45deg); }
.carousel-progress { height: 4px; border-radius: 4px; background: var(--blue-100); overflow: hidden; }
.carousel-progress span { display: block; height: 100%; width: var(--w, 30%); margin-left: var(--l, 0%); border-radius: 4px; background: var(--grad); transition: width .3s, margin-left .15s; }

/* ===== Why ===== */
.why { color: #fff; overflow: hidden; background: linear-gradient(160deg, var(--blue-950), var(--blue-800)); }
.why-bg { position: absolute; inset: 0; background:
  radial-gradient(600px 400px at 10% 20%, rgba(34, 211, 238, .2), transparent 60%),
  radial-gradient(700px 500px at 90% 90%, rgba(59, 139, 255, .35), transparent 60%); animation: drift 18s ease-in-out infinite alternate; }
@keyframes drift { to { transform: translate3d(-40px, 30px, 0) scale(1.1); } }
.why .container { position: relative; }
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.why-card { padding: 30px 26px; border-radius: var(--radius-lg); background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.why-card:hover { background: rgba(255, 255, 255, .1); }
.why-icon { display: grid; place-items: center; width: 60px; height: 60px; margin-bottom: 20px; border-radius: 18px; background: var(--grad); box-shadow: 0 12px 30px -10px rgba(34, 211, 238, .7); transform: translateZ(30px); }
.why-icon .icon { width: 28px; height: 28px; }
.why-card h3 { font-size: 20px; margin-bottom: 10px; }
.why-card p { margin: 0; color: rgba(255, 255, 255, .72); font-size: 15.5px; }
.why-grid .why-card:nth-child(2) { --d: .1s; } .why-grid .why-card:nth-child(3) { --d: .2s; } .why-grid .why-card:nth-child(4) { --d: .3s; }
.industries { margin-top: 64px; text-align: center; }
.industries p { color: rgba(255, 255, 255, .6); font-size: 15px; letter-spacing: .1em; text-transform: uppercase; }
.industries ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.industries li { display: inline-flex; align-items: center; gap: 10px; padding: 10px 20px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .18); font-weight: 500; transition: background-color .3s, transform .4s var(--ease); }
.industries li:hover { background: rgba(255, 255, 255, .1); transform: translateY(-3px); }
.industries .icon { color: var(--cyan); }

/* ===== Steps ===== */
.step-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: s; position: relative; }
.step-list::before { content: ''; position: absolute; top: 58px; left: 16%; right: 16%; height: 2px; background: repeating-linear-gradient(90deg, var(--blue-200) 0 8px, transparent 8px 16px); }
.step { position: relative; text-align: center; padding: 0 12px; }
.step:nth-child(2) { --d: .15s; } .step:nth-child(3) { --d: .3s; }
.step > .icon { width: 116px; height: 116px; margin: 0 auto 22px; padding: 34px; border-radius: 50%; color: var(--blue-700); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); position: relative; transition: transform .6s var(--ease), color .4s, background-color .4s; }
.step:hover > .icon { transform: scale(1.08) rotate(-8deg); color: #fff; background: var(--blue-700); }
.step-no { position: absolute; top: -6px; left: 50%; margin-left: 24px; z-index: 1; font-family: var(--font-head); font-weight: 700; font-size: 15px; color: #fff; background: var(--grad); padding: 4px 12px; border-radius: 999px; }
.step h3 { font-size: 21px; margin-bottom: 8px; }
.step p { color: var(--ink-2); margin: 0; }

/* ===== CTA band ===== */
.cta-band { position: relative; padding: 0 0 clamp(70px, 9vw, 110px); }
.cta-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: clamp(36px, 5vw, 56px);
  border-radius: var(--radius-lg);
  color: #fff;
  background: var(--grad);
  background-size: 200% 200%;
  animation: gradShift 10s ease infinite;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.cta-inner::before, .cta-inner::after { content: ''; position: absolute; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .2); }
.cta-inner::before { width: 320px; height: 320px; right: -80px; top: -160px; animation: spin 30s linear infinite; border-style: dashed; }
.cta-inner::after { width: 200px; height: 200px; left: -60px; bottom: -120px; }
.cta-inner > * { position: relative; }
@keyframes gradShift { 50% { background-position: 100% 50%; } }
.cta-inner h2 { font-size: clamp(26px, 3.4vw, 38px); margin-bottom: 6px; }
.cta-inner p { margin: 0; opacity: .9; font-size: 17px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; flex: none; }

/* ===== Contact ===== */
.contact { padding-top: 0; }
.contact-inner { display: grid; grid-template-columns: 1fr 1.15fr; gap: 50px; align-items: start; }
.contact-list { list-style: none; margin: 10px 0 28px; padding: 0; display: grid; gap: 18px; }
.contact-list li { display: flex; gap: 16px; align-items: flex-start; }
.contact-list .ci { display: grid; place-items: center; width: 46px; height: 46px; flex: none; border-radius: 14px; color: var(--blue-700); background: var(--blue-100); }
.contact-list b { display: block; font-size: 14px; color: var(--ink-3); font-weight: 500; }
.contact-list a, .contact-list span { font-weight: 500; overflow-wrap: anywhere; }
.contact-list a:hover { color: var(--blue-700); }
.social-buttons { display: grid; gap: 12px; }
.social-btn {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  padding: 14px 18px;
  border-radius: 18px;
  color: #fff;
  text-align: left;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
  position: relative;
  overflow: hidden;
}
.social-btn::after { content: ''; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .3) 50%, transparent 70%); transform: translateX(-120%); transition: transform .8s var(--ease); }
.social-btn:hover::after { transform: translateX(120%); }
.social-btn:hover { transform: translateX(6px); box-shadow: 0 14px 30px -12px rgba(0, 0, 0, .45); }
.social-btn > .icon:first-child { width: 44px; height: 44px; padding: 10px; border-radius: 12px; background: rgba(255, 255, 255, .2); }
.social-btn span { display: grid; flex: 1; line-height: 1.35; min-width: 0; }
.social-btn small { opacity: .85; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.social-btn .go { transition: transform .4s var(--ease); }
.social-btn:hover .go { transform: translateX(4px); }
.sb-fb { background: var(--fb); } .sb-line { background: var(--line-green); } .sb-wechat { background: var(--wechat); }
.map-card { border-radius: var(--radius-lg); overflow: hidden; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.map-frame { position: relative; aspect-ratio: 4 / 3.4; background: var(--blue-100); }
.map { position: absolute; inset: 0; z-index: 0; background: var(--blue-100); font-family: var(--font); }
.map .leaflet-control-attribution { font-size: 11px; }
.map .leaflet-popup-content-wrapper { border-radius: 14px; box-shadow: var(--shadow); }
.map .leaflet-popup-content { margin: 12px 16px; font-size: 14px; line-height: 1.5; }
.map .leaflet-popup-content b { font-family: var(--font-head); font-size: 16px; }
.map .leaflet-popup-content a { color: var(--blue-700); font-weight: 600; }
.map .leaflet-bar a { color: var(--blue-700); }
.shop-pin { filter: drop-shadow(0 8px 10px rgba(6, 20, 46, .4)); }
.shop-pin svg { position: relative; width: 40px; height: 52px; animation: pinDrop 1s var(--ease) both, pinBob 2.4s ease-in-out 1s infinite; }
.shop-pin .pulse { position: absolute; left: 50%; top: 100%; width: 70px; height: 24px; margin: -12px 0 0 -35px; border-radius: 50%; background: rgba(30, 108, 240, .35); animation: pulse 2s ease-out infinite; }
@keyframes pinDrop { from { transform: translateY(-120px); opacity: 0; } 60% { opacity: 1; } }
@keyframes pinBob { 50% { transform: translateY(-8px); } }
@keyframes pulse { from { transform: scale(.3); opacity: 1; } to { transform: scale(1.4); opacity: 0; } }
.map-recenter { position: absolute; right: 12px; bottom: 30px; z-index: 500; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; color: var(--blue-700); background: #fff; box-shadow: var(--shadow); transition: transform .3s var(--ease); }
.map-recenter:hover { transform: scale(1.08); }
.map-hint { position: absolute; left: 50%; bottom: 30px; z-index: 500; margin: 0; padding: 6px 14px; border-radius: 999px; font-size: 13px; color: #fff; background: rgba(6, 20, 46, .72); transform: translateX(-50%); white-space: nowrap; pointer-events: none; }
.map-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 22px; }
.map-foot > div:first-child { display: grid; min-width: 0; }
.map-nav { display: flex; gap: 8px; flex: none; }
.map-foot b { font-family: var(--font-head); font-size: 18px; font-weight: 600; }
.map-foot small { color: var(--ink-3); }

/* ===== Footer ===== */
.site-footer { background: var(--blue-950); color: rgba(255, 255, 255, .7); padding: 60px 0 24px; }
.footer-inner { display: grid; grid-template-columns: 1.5fr 1fr auto; gap: 40px; align-items: start; }
.logo-light { color: #fff; margin-bottom: 14px; }
.site-footer p { max-width: 380px; margin: 0; }
.site-footer nav { display: grid; gap: 8px; }
.site-footer nav a:hover { color: #fff; }
.footer-social { display: flex; gap: 10px; }
.footer-bottom { margin-top: 44px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .1); }

/* ===== Floating ===== */
.fab-dial { position: fixed; right: 20px; bottom: calc(20px + env(safe-area-inset-bottom)); z-index: 40; display: grid; justify-items: end; gap: 12px; }
.fab-main { position: relative; display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; color: #fff; background: var(--grad); box-shadow: 0 14px 30px -8px rgba(30, 108, 240, .8); transition: transform .4s var(--ease); }
.fab-main::before { content: ''; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--blue-500); animation: ring 2.4s ease-out infinite; }
@keyframes ring { from { transform: scale(1); opacity: .8; } to { transform: scale(1.6); opacity: 0; } }
.fab-main:hover { transform: scale(1.06); }
.fab-main .icon { width: 26px; height: 26px; position: absolute; transition: transform .4s var(--ease), opacity .3s; }
.fab-main .i-close { opacity: 0; transform: rotate(-90deg); }
.fab-dial.is-open .fab-main .i-open { opacity: 0; transform: rotate(90deg); }
.fab-dial.is-open .fab-main .i-close { opacity: 1; transform: none; }
.fab-dial.is-open .fab-main::before { animation: none; opacity: 0; }
.fab-items { display: grid; justify-items: end; gap: 10px; }
.fab-item { display: inline-flex; align-items: center; gap: 10px; padding: 0 18px 0 8px; height: 48px; border-radius: 999px; color: #fff; font-weight: 600; box-shadow: 0 10px 24px -10px rgba(0, 0, 0, .5); opacity: 0; transform: translateY(16px) scale(.8); pointer-events: none; transition: all .4s var(--ease); }
.fab-item .icon { width: 32px; height: 32px; padding: 6px; border-radius: 50%; background: rgba(255, 255, 255, .2); }
.fab-dial.is-open .fab-item { opacity: 1; transform: none; pointer-events: auto; }
.fab-dial.is-open .fab-item:nth-child(2) { transition-delay: .05s; }
.fab-dial.is-open .fab-item:nth-child(1) { transition-delay: .1s; }
.to-top { position: fixed; left: 20px; bottom: calc(20px + env(safe-area-inset-bottom)); z-index: 40; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; color: var(--blue-700); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); opacity: 0; transform: translateY(20px); pointer-events: none; transition: all .4s var(--ease); }
.to-top.is-shown { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { color: #fff; background: var(--blue-700); }

/* ===== Modals ===== */
.modal { width: min(880px, 100% - 32px); max-height: calc(100dvh - 32px); padding: 0; border: 0; border-radius: var(--radius-lg); color: var(--ink); background: #fff; box-shadow: var(--shadow-lg); overflow: auto; }
.modal::backdrop { background: rgba(6, 20, 46, .6); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.modal[open] { animation: modalIn .5s var(--ease); }
.modal[open]::backdrop { animation: fade .4s; }
@keyframes modalIn { from { opacity: 0; transform: translateY(30px) scale(.96); } }
@keyframes fade { from { opacity: 0; } }
.modal-close { position: absolute; right: 14px; top: 14px; z-index: 2; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: rgba(255, 255, 255, .9); box-shadow: var(--shadow-sm); transition: transform .4s var(--ease); }
.modal-close:hover { transform: rotate(90deg); }
.pm-body { display: grid; grid-template-columns: 1fr 1.1fr; }
.pm-gallery { position: relative; display: grid; grid-template-rows: 1fr auto; min-width: 0; background: linear-gradient(160deg, #fff 30%, var(--blue-100)); }
.pm-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.pm-track::-webkit-scrollbar { display: none; }
.pm-slide { flex: 0 0 100%; margin: 0; aspect-ratio: 4 / 3; scroll-snap-align: start; display: grid; place-items: center; }
.pm-slide img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.pm-nav { position: absolute; top: calc(50% - 40px); z-index: 1; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; color: var(--blue-700); background: #fff; box-shadow: var(--shadow); transition: opacity .3s, transform .3s var(--ease); }
.pm-nav:hover { transform: scale(1.08); }
.pm-nav:disabled { opacity: 0; pointer-events: none; }
.pm-prev { left: 12px; } .pm-next { right: 12px; }
.pm-thumbs { display: flex; justify-content: center; gap: 8px; padding: 0 16px 16px; }
.pm-thumbs button { width: 58px; height: 58px; padding: 3px; border-radius: 12px; border: 2px solid transparent; background: #fff; box-shadow: var(--shadow-sm); transition: border-color .3s, transform .3s var(--ease); }
.pm-thumbs button:hover { transform: translateY(-2px); }
.pm-thumbs button.is-active { border-color: var(--blue-600); }
.pm-thumbs img { width: 100%; height: 100%; object-fit: contain; }
.pm-gallery.is-single .pm-nav, .pm-gallery.is-single .pm-thumbs { display: none; }
.pm-info { padding: 36px 32px 30px; }
.pm-cat { color: var(--blue-700); font-weight: 600; font-size: 14px; margin-bottom: 6px; }
.pm-info h3 { font-size: 26px; margin-bottom: 4px; padding-right: 40px; }
.pm-code { color: var(--ink-3); font-size: 14px; margin-bottom: 10px; }
.pm-info > p:not([class]) { color: var(--ink-2); }
.pm-specs { list-style: none; margin: 0 0 20px; padding: 0; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; font-size: 14.5px; }
.pm-specs li { display: grid; grid-template-columns: 34% 1fr; gap: 12px; padding: 9px 14px; }
.pm-specs li:nth-child(odd) { background: var(--blue-50); }
.pm-specs span { color: var(--ink-3); }
.pm-specs b { font-weight: 500; overflow-wrap: anywhere; }
.pm-ask { font-weight: 600; margin-bottom: 10px; }
.pm-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.pm-actions .btn { min-height: 46px; padding: 0 20px; }
.copy-btn { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; color: var(--ink-3); font-size: 14px; }
.copy-btn:hover { color: var(--blue-700); }
.copy-btn .icon { width: 16px; height: 16px; }
.wechat-modal { width: min(400px, 100% - 32px); }
.wc-body { padding: 40px 30px 32px; text-align: center; display: grid; justify-items: center; }
.wc-badge { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 20px; color: #fff; background: var(--wechat); margin-bottom: 14px; }
.wc-badge .icon { width: 34px; height: 34px; }
.wc-body h3 { font-size: 22px; margin-bottom: 6px; }
.wc-body > p { color: var(--ink-2); font-size: 15px; }
.wc-qr { width: 200px; height: 200px; padding: 12px; border-radius: 18px; border: 1px solid var(--line); background: #fff; margin-bottom: 16px; }
.wc-qr img, .wc-qr svg { width: 100%; height: 100%; }
.wc-id { display: flex; gap: 10px; align-items: baseline; margin-bottom: 16px; }
.wc-id span { color: var(--ink-3); font-size: 14px; }
.wc-id b { font-size: 18px; }

.toast { position: fixed; left: 50%; bottom: calc(96px + env(safe-area-inset-bottom)); z-index: 100; padding: 12px 22px; border-radius: 999px; color: #fff; background: var(--ink); font-weight: 500; box-shadow: var(--shadow-lg); transform: translateX(-50%); animation: toastIn .4s var(--ease); white-space: nowrap; }
@keyframes toastIn { from { opacity: 0; transform: translate(-50%, 16px); } }

/* ===== Responsive ===== */
@media (max-width: 1080px) {
  .main-nav, .header-cta { display: none; }
  .menu-toggle { display: grid; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  :root { --header-h: 66px; }
  .slide { padding: calc(var(--header-h) + 20px) 0 120px; }
  .slide-inner { grid-template-columns: 1fr; gap: 10px; text-align: center; }
  .slide-text { max-width: none; justify-self: center; }
  .slide .lead { margin-inline: auto; }
  .slide-actions { justify-content: center; }
  .slide-visual { order: -1; width: min(78vw, 340px); }
  .about-inner, .contact-inner { grid-template-columns: 1fr; gap: 40px; }
  .stats { padding-bottom: 30px; }
  .cta-inner { flex-direction: column; text-align: center; }
  .cta-actions { justify-content: center; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-inner > div:first-child { grid-column: 1 / -1; }
  .pm-body { grid-template-columns: 1fr; }
  .pm-slide { aspect-ratio: 4 / 2.6; }
  .pm-thumbs button { width: 48px; height: 48px; }
  .scroll-hint { display: none; }
}
@media (max-width: 640px) {
  .container { width: calc(100% - 32px); }
  .carousel { --pad: 16px; gap: 14px; }
  .p-card { width: min(78vw, 280px); }
  .cat-grid { gap: 12px; }
  .cat-card { padding: 18px 14px 16px; border-radius: 22px; }
  .cat-art { width: 80px; height: 68px; padding: 4px; border-radius: 18px; }
  .cat-card h3 { font-size: 16px; }
  .cat-card p { display: none; }
  .cat-count { position: static; justify-self: start; order: 2; font-size: 12px; }
  .cat-card h3 { order: 1; }
  .cat-go { order: 3; }
  .cat-go { font-size: 14px; }
  .why-grid { grid-template-columns: 1fr; }
  .step-list { grid-template-columns: 1fr; gap: 40px; }
  .step-list::before { display: none; }
  .stats { gap: 12px; }
  .stat { padding: 22px 16px; }
  .section-head-row .carousel-arrows { display: none; }
  .hero-controls { bottom: 26px; }
  .slide-dot { width: 40px; }
  .btn-lg { min-height: 52px; padding: 0 22px; font-size: 16px; }
  .slide-actions .btn { flex: 1 1 200px; }
  .float-chip { font-size: 13px; padding: 7px 11px; }
  .logo-text small { display: none; }
  .map-foot { flex-wrap: wrap; }
  .pm-specs li { grid-template-columns: 1fr; gap: 0; }
  .pm-info { padding: 26px 22px 24px; }
  .pm-info h3 { font-size: 22px; }
  .cta-actions .btn { flex: 1 1 140px; }
  .footer-inner { grid-template-columns: 1fr; gap: 26px; }
  .to-top { width: 44px; height: 44px; left: 16px; }
  .fab-dial { right: 16px; }
}

@media (hover: none) {
  .p-view { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .split .w > span { transform: none; }
}
