/* =====================================================================
   Botlink — corporate dark theme
   One accent (electric blue), real photography, restrained motion.
   ===================================================================== */
:root {
  color-scheme: dark;
  --bg: #0B0F19;
  --bg-2: #0E1320;
  --surface: #121826;
  --surface-2: #171F31;
  --line: rgba(255, 255, 255, .08);
  --line-2: rgba(255, 255, 255, .15);
  --text: #EAF0F7;
  --muted: #9CA8BA;
  --dim: #6F7D92;
  --accent: #3D8BFF;
  --accent-strong: #2A6CF0;
  --accent-soft: rgba(61, 139, 255, .14);
  --cyan: #45D3F2;
  --line-green: #06C755;
  --studio: linear-gradient(180deg, #F5F7FB 0%, #E7ECF3 100%);
  --radius: 18px;
  --shadow: 0 1px 1px rgba(0, 0, 0, .25), 0 14px 34px -16px rgba(0, 0, 0, .7);
  --shadow-lg: 0 2px 2px rgba(0, 0, 0, .2), 0 30px 70px -28px rgba(0, 0, 0, .85);
  --glow: 0 10px 30px -10px rgba(61, 139, 255, .6);
  --font: 'IBM Plex Sans Thai', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --display: 'Prompt', 'IBM Plex Sans Thai', system-ui, sans-serif;
  --ease: cubic-bezier(.22, .8, .24, 1);
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 400 16.5px/1.6 var(--font); color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; font-family: var(--display); font-weight: 500; line-height: 1.45; letter-spacing: 0; }
p { margin: 0; }
[hidden] { display: none !important; }
.ic { font-size: 1.15em; line-height: 1; flex: none; }
.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 28px; }
::selection { background: rgba(61, 139, 255, .35); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; height: 48px; padding: 0 22px; border-radius: 12px; border: 1px solid transparent; font: 600 15px/1 var(--font); cursor: pointer; white-space: nowrap; transition: background .2s, border-color .2s, color .2s, box-shadow .25s, transform .25s var(--ease); }
.btn .ic { transition: transform .25s var(--ease); }
.btn:hover .ph-arrow-right { transform: translateX(3px); }
.btn-primary { background: var(--accent-strong); color: #fff; box-shadow: var(--glow); }
.btn-primary:hover { background: var(--accent); transform: translateY(-1px); box-shadow: 0 14px 34px -10px rgba(61, 139, 255, .75); }
.btn-glass { color: #fff; background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .2); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.btn-glass:hover { background: rgba(255, 255, 255, .14); }
.btn-outline { color: var(--text); border-color: var(--line-2); background: transparent; }
.btn-outline:hover { border-color: var(--accent); color: #fff; }
.btn-line { background: var(--line-green); color: #fff; }
.btn-line:hover { filter: brightness(1.08); }
.btn-sm { height: 40px; padding: 0 16px; font-size: 14px; border-radius: 10px; }
.btn-lg { height: 54px; padding: 0 26px; font-size: 16px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .6; pointer-events: none; }

/* ---------- top utility bar ---------- */
.topbar { background: #070A12; border-bottom: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 38px; }
.tb-item, .tb-links a { display: inline-flex; align-items: center; gap: 7px; }
.tb-item .ic { color: var(--accent); }
.tb-links { display: flex; gap: 22px; }
.tb-links a:hover { color: var(--text); }
.tb-links .fa-line { color: var(--line-green); font-size: 14px; }

/* ---------- sticky glass header ---------- */
.site-header { position: sticky; top: 0; z-index: 60; background: rgba(11, 15, 25, .62); backdrop-filter: saturate(170%) blur(18px); -webkit-backdrop-filter: saturate(170%) blur(18px); border-bottom: 1px solid var(--line); transition: background .3s, box-shadow .3s; }
.site-header.scrolled { background: rgba(11, 15, 25, .78); box-shadow: 0 10px 30px -18px rgba(0, 0, 0, .9); }
.header-inner { display: flex; align-items: center; gap: 28px; height: var(--header-h); }
.brand img { height: 32px; width: auto; }
.main-nav { display: flex; gap: 4px; margin-left: auto; }
.main-nav a { position: relative; padding: 8px 14px; border-radius: 8px; font-size: 15px; font-weight: 500; color: var(--muted); transition: color .2s, background .2s; }
.main-nav a:hover { color: var(--text); background: rgba(255, 255, 255, .04); }
.main-nav a.active { color: #fff; }
.main-nav a.active::after { content: ''; position: absolute; left: 14px; right: 14px; bottom: -15px; height: 2px; background: var(--accent); border-radius: 2px; }
.nav-contact-mobile { display: none; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.lang { display: inline-flex; padding: 3px; border-radius: 10px; background: rgba(255, 255, 255, .04); border: 1px solid var(--line); }
.lang button { border: 0; background: none; color: var(--muted); font: 600 12px/1 var(--font); padding: 7px 10px; border-radius: 7px; cursor: pointer; transition: all .2s; }
.lang button[aria-pressed="true"] { background: rgba(255, 255, 255, .1); color: #fff; }
.menu-btn { display: none; width: 42px; height: 42px; border-radius: 10px; border: 1px solid var(--line-2); background: transparent; color: var(--text); font-size: 22px; cursor: pointer; place-items: center; }

/* ---------- hero ---------- */
.hero { position: relative; min-height: max(760px, min(92vh, 940px)); display: flex; flex-direction: column; justify-content: center; overflow: hidden; isolation: isolate; background: #05070d; }
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-slide { position: absolute; inset: 0; margin: 0; background: center / cover no-repeat; opacity: 0; transition: opacity 1.2s ease; }
.hero-slide.is-active { opacity: 1; }
.hero-slide video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-slide.is-active { animation: settle 9s ease-out both; }
@keyframes settle { from { transform: scale(1.06); } to { transform: scale(1); } }
.hero-shade { position: absolute; inset: 0; z-index: -1; background:
  linear-gradient(90deg, rgba(11, 15, 25, .94) 0%, rgba(11, 15, 25, .78) 34%, rgba(11, 15, 25, .3) 68%, rgba(11, 15, 25, .15) 100%),
  linear-gradient(180deg, rgba(11, 15, 25, .35) 0%, transparent 25%, transparent 62%, rgba(11, 15, 25, .96) 100%); }
.hero-content { padding-top: 120px; padding-bottom: 190px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; letter-spacing: .06em; color: #C9D6EA; padding: 6px 14px 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); backdrop-filter: blur(8px); }
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 4px rgba(69, 211, 242, .18); }
.hero h1 { max-width: 820px; margin: 36px 0 40px; font-family: 'Prompt', 'IBM Plex Sans Thai', sans-serif; font-size: clamp(2.3rem, 4.6vw, 3.9rem); font-weight: 500; line-height: 1.5; letter-spacing: 0; color: #fff; }
.hero-lead { max-width: 620px; font-size: clamp(1.04rem, 1.3vw, 1.16rem); line-height: 1.75; color: #C3CDDC; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 48px; }
.hero-reel { position: absolute; left: 0; right: 0; bottom: 30px; display: grid; grid-template-columns: auto repeat(4, 1fr); gap: 18px; align-items: end; padding-right: 190px; }
.reel-tab { display: grid; grid-template-columns: auto 1fr; align-items: baseline; gap: 4px 10px; padding: 0 0 2px; border: 0; background: none; text-align: left; color: rgba(255, 255, 255, .55); cursor: pointer; font: 500 14px/1.3 var(--font); transition: color .25s; }
.reel-tab:hover, .reel-tab.is-active { color: #fff; }
.reel-no { font: 600 12px/1 var(--display); letter-spacing: .08em; color: var(--accent); }
.reel-bar { grid-column: 1 / -1; height: 2px; margin-top: 10px; background: rgba(255, 255, 255, .18); border-radius: 2px; overflow: hidden; }
.reel-bar i { display: block; height: 100%; width: 0; background: #fff; }
.reel-tab.is-active .reel-bar i { width: 100%; transition: width var(--slide-ms, 7000ms) linear; }
.reel-tab.is-done .reel-bar i { width: 100%; }
.hero-reel.paused .reel-tab.is-active .reel-bar i { transition: none; }
.reel-toggle { width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .25); background: rgba(255, 255, 255, .06); color: #fff; font-size: 16px; display: grid; place-items: center; cursor: pointer; }
.reel-toggle:hover { background: rgba(255, 255, 255, .14); }

/* ---------- partners ---------- */
.partners { border-bottom: 1px solid var(--line); background: var(--bg); }
.partners-inner { display: flex; align-items: center; gap: 40px; padding-top: 28px; padding-bottom: 28px; }
.partners p { flex: none; font-size: 13px; color: var(--dim); max-width: 150px; line-height: 1.5; }
.partners ul { flex: 1; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px 36px; margin: 0; padding: 0; list-style: none; }
.partners li { display: flex; align-items: center; height: 44px; }
.partners .crop img { width: auto; }

.crop { display: block; overflow: hidden; height: calc(var(--h) * var(--clip-y, 1)); }
.crop img { height: var(--h); max-width: none; }
.crop-x { height: var(--h); width: calc(var(--h) * var(--ar) * var(--clip-x)); }

/* ---------- sections ---------- */
.section { padding: 128px 0; }
.section-alt { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { margin-bottom: 64px; }
.section-head.center { max-width: 720px; margin-left: auto; margin-right: auto; text-align: center; }
.section-head.split { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: end; }
.section-head.split p { color: var(--muted); font-size: 1.04rem; }
.section-head.center p { margin-top: 16px; color: var(--muted); font-size: 1.04rem; }
.kicker { display: inline-block; margin-bottom: 18px; font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.section-head h2, .about-copy h2, .contact-card h2 { font-size: clamp(1.9rem, 3.3vw, 2.8rem); }

/* ---------- solutions (photo cards) ---------- */
.sol-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.sol-card { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 440px; border-radius: var(--radius); overflow: hidden; isolation: isolate; border: 1px solid var(--line); box-shadow: var(--shadow); transition: transform .45s var(--ease), box-shadow .45s, border-color .3s; }
.sol-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .8s var(--ease); }
.sol-card::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(11, 15, 25, .05) 20%, rgba(11, 15, 25, .72) 58%, rgba(11, 15, 25, .96) 100%); }
.sol-card:hover { transform: translateY(-6px); border-color: rgba(61, 139, 255, .5); box-shadow: var(--shadow-lg); }
.sol-card:hover img { transform: scale(1.06); }
.sol-body { padding: 24px; display: grid; gap: 10px; }
.sol-icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; font-size: 22px; color: #fff; background: rgba(61, 139, 255, .9); box-shadow: var(--glow); }
.sol-card h3 { font-size: 1.24rem; color: #fff; }
.sol-card p { font-size: 14.5px; color: #C3CDDC; }
.sol-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 6px; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, .14); font-size: 13.5px; color: #C3CDDC; }
.sol-foot .ic { font-size: 20px; color: #fff; transition: transform .3s var(--ease); }
.sol-card:hover .sol-foot .ic { transform: translate(3px, -3px); }

/* ---------- catalog ---------- */
.tabs-wrap { display: flex; justify-content: center; margin-bottom: 38px; overflow-x: auto; scrollbar-width: none; padding: 2px; }
.tabs-wrap::-webkit-scrollbar { display: none; }
.tabs { position: relative; display: inline-flex; gap: 2px; padding: 5px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.tab-indicator { position: absolute; top: 5px; bottom: 5px; left: 0; width: 0; border-radius: 10px; background: var(--accent-strong); box-shadow: var(--glow); transition: transform .45s var(--ease), width .45s var(--ease); pointer-events: none; }
.tabs button { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 8px; padding: 11px 16px; border: 0; border-radius: 10px; background: none; color: var(--muted); font: 500 14.5px/1 var(--font); cursor: pointer; white-space: nowrap; transition: color .25s; }
.tabs button:hover { color: var(--text); }
.tabs button[aria-selected="true"] { color: #fff; }
.tabs em { font-style: normal; font-size: 11.5px; font-weight: 600; min-width: 22px; padding: 3px 7px; border-radius: 999px; background: rgba(255, 255, 255, .08); }
.tabs button[aria-selected="true"] em { background: rgba(255, 255, 255, .22); }

.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(282px, 1fr)); gap: 22px; }
.grid-note { grid-column: 1 / -1; text-align: center; color: var(--muted); padding: 48px 0; }
.p-card { position: relative; display: flex; flex-direction: column; overflow: hidden; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); cursor: pointer; transition: transform .4s var(--ease), box-shadow .4s, border-color .3s; animation: cardIn .55s var(--ease) both; }
.p-card:hover, .p-card:focus-visible { transform: translateY(-6px); border-color: rgba(61, 139, 255, .45); box-shadow: var(--shadow-lg); outline: none; }
@keyframes cardIn { from { opacity: 0; transform: translateY(14px); } }
/* Studio backdrop: product photos (transparent or white background) are always contained, never cropped or stretched. */
.p-stage { position: relative; aspect-ratio: 4 / 3; display: flex; align-items: center; justify-content: center; padding: 22px; overflow: hidden; background: radial-gradient(70% 60% at 50% 42%, #fff 0%, rgba(255, 255, 255, 0) 70%), var(--studio); }
.p-stage::after { content: ''; position: absolute; left: 18%; right: 18%; bottom: 9%; height: 7%; border-radius: 50%; background: radial-gradient(ellipse, rgba(20, 30, 50, .22), transparent 70%); pointer-events: none; }
.p-stage img { position: relative; z-index: 1; max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; mix-blend-mode: multiply; transition: transform .6s var(--ease); }
.p-card:hover .p-stage img { transform: scale(1.05); }
.p-stage .ph-robot { font-size: 64px; color: #b7c2d2; }
.p-cat { position: absolute; top: 12px; left: 12px; z-index: 2; font-size: 11.5px; font-weight: 600; padding: 5px 10px; border-radius: 8px; color: #1C2740; background: rgba(255, 255, 255, .85); border: 1px solid rgba(20, 30, 50, .08); backdrop-filter: blur(6px); }
.p-video { position: absolute; top: 12px; right: 12px; z-index: 2; display: inline-flex; align-items: center; gap: 5px; font-size: 11.5px; font-weight: 600; padding: 5px 9px; border-radius: 8px; color: #fff; background: rgba(11, 15, 25, .78); }
.p-body { display: flex; flex-direction: column; gap: 7px; flex: 1; padding: 20px 22px 22px; }
.p-brand { font: 600 11.5px/1 var(--display); letter-spacing: .18em; color: var(--accent); }
.p-body h3 { font-size: 1.22rem; }
.p-body > p { font-size: 14.5px; color: var(--muted); }
.p-specs { list-style: none; margin: 6px 0 0; padding: 12px 0 0; border-top: 1px solid var(--line); display: grid; gap: 5px; font-size: 13px; color: #B6C2D3; }
.p-specs li { display: flex; gap: 8px; }
.p-specs .ic { color: var(--accent); font-size: 14px; margin-top: 3px; }
.p-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 16px; }
.badges { display: flex; flex-wrap: wrap; gap: 6px; }
.badge { font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 8px; color: var(--text); background: rgba(255, 255, 255, .05); border: 1px solid var(--line-2); }
.badge-raas { color: #CFE2FF; background: var(--accent-soft); border-color: rgba(61, 139, 255, .45); }
.p-more { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; color: var(--text); }
.p-more .ic { color: var(--accent); transition: transform .25s var(--ease); }
.p-card:hover .p-more .ic { transform: translateX(3px); }

/* ---------- quick view modal ---------- */
.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 24px; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(4, 6, 12, .78); backdrop-filter: blur(6px); animation: fade .25s ease; }
.modal-card { position: relative; display: grid; grid-template-columns: 1.12fr .88fr; width: min(1080px, 100%); max-height: calc(100vh - 48px); overflow: auto; border-radius: 22px; background: var(--surface); border: 1px solid var(--line-2); box-shadow: 0 40px 120px -30px rgba(0, 0, 0, .95); animation: pop .4s var(--ease); }
.modal-gallery { display: flex; flex-direction: column; gap: 12px; padding: 18px; border-right: 1px solid var(--line); background: var(--bg-2); }
.gallery-stage { position: relative; aspect-ratio: 4 / 3; border-radius: 14px; overflow: hidden; background: #05070d; }
.gallery-stage.studio { background: radial-gradient(70% 60% at 50% 42%, #fff 0%, rgba(255, 255, 255, 0) 70%), var(--studio); }
.gallery-stage > * { position: absolute; inset: 0; width: 100%; height: 100%; animation: fade .35s ease; }
.gallery-stage img.contain { object-fit: contain; padding: 28px; mix-blend-mode: multiply; }
.gallery-stage img.cover, .gallery-stage video { object-fit: cover; }
.gallery-thumbs { display: flex; gap: 10px; }
.thumb { position: relative; width: 76px; height: 58px; flex: none; padding: 0; border-radius: 10px; overflow: hidden; border: 2px solid transparent; background: var(--studio); cursor: pointer; opacity: .7; transition: opacity .2s, border-color .2s; }
.thumb:hover { opacity: 1; }
.thumb[aria-selected="true"] { border-color: var(--accent); opacity: 1; }
.thumb img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.thumb.scene img { object-fit: cover; mix-blend-mode: normal; }
.thumb .ph-play { position: absolute; inset: 0; display: grid; place-items: center; font-size: 20px; color: #fff; background: rgba(11, 15, 25, .45); }
.modal-body { display: flex; flex-direction: column; gap: 12px; padding: 34px 32px 28px; }
.modal-body h3 { font-size: 1.75rem; }
.modal-body .p-cat { position: static; align-self: flex-start; }
.modal-body > p { color: var(--muted); }
.modal-body h4 { margin-top: 8px; font: 600 12px/1 var(--font); letter-spacing: .14em; text-transform: uppercase; color: var(--dim); }
.spec-list { list-style: none; margin: 0; padding: 0; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.spec-list li { display: flex; gap: 10px; padding: 10px 14px; font-size: 14px; color: #C9D3E1; border-bottom: 1px solid var(--line); }
.spec-list li:nth-child(even) { background: rgba(255, 255, 255, .02); }
.spec-list li:last-child { border-bottom: 0; }
.spec-list .ic { color: var(--accent); margin-top: 4px; }
.modal-x { position: absolute; top: 12px; right: 12px; z-index: 3; width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; font-size: 18px; color: var(--text); background: rgba(11, 15, 25, .6); border: 1px solid var(--line-2); cursor: pointer; }
.modal-x:hover { border-color: var(--accent); }
body.modal-open { overflow: hidden; }
@keyframes fade { from { opacity: 0; } }
@keyframes pop { from { opacity: 0; transform: translateY(18px) scale(.985); } }

/* ---------- service models + process ---------- */
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; max-width: 1020px; margin: 0 auto; }
.plan { display: flex; flex-direction: column; gap: 14px; padding: 36px; border-radius: 22px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.plan-featured { border-color: rgba(61, 139, 255, .5); background: linear-gradient(180deg, rgba(61, 139, 255, .1), rgba(61, 139, 255, 0) 45%), var(--surface); }
.plan-head { display: flex; align-items: center; justify-content: space-between; }
.plan-icon { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; font-size: 24px; color: var(--accent); background: var(--accent-soft); }
.plan-tag { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.plan h3 { font-size: 1.8rem; }
.plan > p { color: var(--muted); }
.checks { list-style: none; margin: 6px 0 16px; padding: 0; display: grid; gap: 12px; flex: 1; }
.checks li { display: flex; gap: 12px; color: #D2DBE8; }
.checks .ic { color: var(--accent); font-size: 20px; margin-top: 2px; }
.plan .btn { align-self: flex-start; }
.steps { counter-reset: step; list-style: none; margin: 56px 0 0; padding: 26px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; border-top: 1px solid var(--line); }
.steps li { display: flex; gap: 14px; align-items: flex-start; counter-increment: step; }
.steps .ic { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-size: 20px; color: var(--text); background: var(--surface-2); border: 1px solid var(--line-2); }
.steps b { display: block; font-family: var(--display); font-weight: 600; font-size: 15px; }
.steps b::before { content: '0' counter(step) '  '; color: var(--accent); }
.steps span { font-size: 14px; color: var(--muted); }

/* ---------- industries (photo tiles) ---------- */
.ind-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.ind-grid li { position: relative; aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; isolation: isolate; border: 1px solid var(--line); }
.ind-grid img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .8s var(--ease); }
.ind-grid li::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 38%, rgba(11, 15, 25, .92)); }
.ind-grid li:hover img { transform: scale(1.05); }
.ind-grid li > div { position: absolute; left: 20px; right: 20px; bottom: 18px; display: grid; grid-template-columns: auto 1fr; gap: 2px 12px; align-items: center; }
.ind-grid .ic { grid-row: span 2; width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center; font-size: 21px; color: #fff; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .2); backdrop-filter: blur(8px); }
.ind-grid b { font-family: var(--display); font-weight: 600; font-size: 1.08rem; color: #fff; }
.ind-grid span { font-size: 13.5px; color: #C3CDDC; }

/* ---------- about ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 64px; align-items: center; }
.about-media { position: relative; margin: 0; }
.about-media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 24px; box-shadow: var(--shadow-lg); }
.about-media figcaption { position: absolute; left: 20px; bottom: 20px; display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 14px; background: rgba(11, 15, 25, .72); border: 1px solid var(--line-2); backdrop-filter: blur(12px); }
.about-media figcaption .ic { font-size: 30px; color: var(--accent); }
.about-media b { display: block; font-family: var(--display); }
.about-media small { color: var(--muted); }
.about-lead { margin-top: 18px; color: var(--muted); font-size: 1.04rem; }
.why { list-style: none; margin: 26px 0; padding: 0; display: grid; gap: 16px; }
.why li { display: flex; gap: 14px; }
.why .ic { width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center; font-size: 20px; color: var(--accent); background: var(--accent-soft); }
.why b { display: block; font-weight: 600; }
.why span { font-size: 14.5px; color: var(--muted); }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.stats div { display: flex; flex-direction: column-reverse; padding: 16px 18px; border-right: 1px solid var(--line); }
.stats div:last-child { border-right: 0; }
.stats dt { font-size: 13px; color: var(--dim); }
.stats dd { margin: 0; font: 700 1.7rem/1.2 var(--display); }
.vision { margin: 22px 0 0; padding: 18px 22px; border-left: 3px solid var(--accent); background: rgba(255, 255, 255, .02); border-radius: 0 12px 12px 0; }
.vision span { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.vision p { margin-top: 6px; color: #D2DBE8; }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: 5fr 7fr; gap: 26px; align-items: start; }
.contact-card { padding: 40px 36px; border-radius: 22px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.contact-card > p { margin-top: 14px; color: var(--muted); }
.contact-list { list-style: none; margin: 28px 0; padding: 0; display: grid; gap: 18px; }
.contact-list li { display: flex; gap: 14px; }
.ci { width: 44px; height: 44px; flex: none; border-radius: 12px; display: grid; place-items: center; font-size: 20px; color: var(--accent); background: var(--accent-soft); }
.contact-list small { display: block; font-size: 12.5px; color: var(--dim); }
.contact-list a:hover { color: var(--accent); }
.line-card { display: flex; align-items: center; gap: 16px; padding: 14px; border-radius: 16px; background: rgba(6, 199, 85, .08); border: 1px solid rgba(6, 199, 85, .35); transition: background .2s; }
.line-card:hover { background: rgba(6, 199, 85, .14); }
.line-card img { width: 88px; height: 88px; border-radius: 10px; background: #fff; padding: 4px; }
.line-card b { display: flex; align-items: center; gap: 6px; }
.line-card .fa-line { color: var(--line-green); font-size: 20px; }
.line-card span { font-size: 13.5px; color: var(--muted); }

.lead-form { position: relative; display: grid; gap: 16px; padding: 36px; border-radius: 22px; background: var(--surface); border: 1px solid var(--line-2); box-shadow: var(--shadow-lg); }
.form-head h3 { font-size: 1.35rem; }
.form-head p { margin-top: 6px; font-size: 14px; color: var(--dim); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { position: relative; }
.field input, .field textarea, .field select { width: 100%; font: 400 15.5px/1.4 var(--font); color: var(--text); background: var(--bg-2); border: 1px solid var(--line-2); border-radius: 12px; padding: 24px 15px 9px; appearance: none; transition: border-color .2s, box-shadow .2s; }
.field textarea { resize: vertical; min-height: 116px; }
.field select { cursor: pointer; background: var(--bg-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239CA8BA' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 14px center / 18px no-repeat; padding-right: 44px; }
.field select option { background: #121826; color: var(--text); }
.field label { position: absolute; left: 16px; top: 16px; font-size: 15px; color: var(--dim); pointer-events: none; transition: top .2s var(--ease), font-size .2s, color .2s; }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label,
.field-select label { top: 7px; font-size: 12px; color: var(--accent); }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(61, 139, 255, .16); }
.field .invalid { border-color: #F87171; box-shadow: 0 0 0 4px rgba(248, 113, 113, .12); }
.seg-field { border: 0; margin: 0; padding: 0; }
.seg-field legend { padding: 0; margin-bottom: 8px; font-size: 13px; color: var(--dim); }
.seg-options { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.seg-options label { position: relative; cursor: pointer; }
.seg-options input { position: absolute; opacity: 0; pointer-events: none; }
.seg-options span { display: flex; align-items: center; justify-content: center; min-height: 46px; padding: 8px; border-radius: 11px; text-align: center; font-size: 13.5px; font-weight: 500; line-height: 1.3; color: var(--muted); background: var(--bg-2); border: 1px solid var(--line-2); transition: all .2s; }
.seg-options label:hover span { color: var(--text); border-color: rgba(61, 139, 255, .5); }
.seg-options input:checked + span { color: #fff; background: var(--accent-soft); border-color: var(--accent); }
.seg-options input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-hint { display: flex; gap: 8px; font-size: 13px; color: var(--dim); }
.form-hint .ic { color: var(--accent); margin-top: 3px; }
.form-status { min-height: 1.3em; text-align: center; font-size: 14px; }
.form-status.err { color: #FCA5A5; }
.form-success { position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 36px; text-align: center; border-radius: inherit; background: var(--surface); animation: fade .35s ease; }
.form-success p { max-width: 380px; color: var(--muted); }
.ok-ring { width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 6px; font-size: 36px; color: #fff; background: var(--accent-strong); box-shadow: 0 0 0 10px var(--accent-soft), var(--glow); animation: pop .5s var(--ease); }
.ok-actions { display: flex; gap: 10px; margin-top: 8px; }

/* ---------- footer ---------- */
.footer { background: #070A12; border-top: 1px solid var(--line); color: var(--muted); font-size: 14.5px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 40px; padding-top: 64px; padding-bottom: 44px; }
.footer-brand img { height: 30px; width: auto; }
.footer-brand p { margin: 18px 0 22px; max-width: 360px; }
.socials { display: flex; gap: 10px; }
.socials a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; font-size: 17px; color: var(--text); background: var(--surface); border: 1px solid var(--line-2); transition: background .25s, border-color .25s, transform .25s var(--ease), color .25s; }
.socials a:hover { transform: translateY(-2px); color: #fff; }
.socials a[aria-label="Facebook"]:hover { background: #1877F2; border-color: #1877F2; }
.socials a[aria-label="TikTok"]:hover { background: #111; border-color: #FE2C55; box-shadow: -2px 0 0 #25F4EE inset; }
.socials a[aria-label="YouTube"]:hover { background: #FF0000; border-color: #FF0000; }
.socials a[aria-label="LINE"]:hover { background: var(--line-green); border-color: var(--line-green); }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer h4 { margin-bottom: 8px; font: 600 13px/1 var(--display); letter-spacing: .12em; text-transform: uppercase; color: var(--text); }
.footer-col a { width: fit-content; transition: color .2s; }
.footer-col a:hover { color: #fff; }
.footer-contact p { display: flex; gap: 10px; }
.footer-contact .ic { color: var(--accent); margin-top: 5px; }
.footer-contact .fa-line { color: var(--line-green); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px 24px; padding-top: 22px; padding-bottom: 96px; /* room for the floating LINE button */ border-top: 1px solid var(--line); font-size: 13px; color: var(--dim); }
.footer-bottom .iso, .footer-bottom a { display: inline-flex; align-items: center; gap: 6px; }
.footer-bottom a:hover { color: var(--text); }

/* floating LINE chat */
.line-float { position: fixed; right: 22px; bottom: 22px; z-index: 50; display: inline-flex; align-items: center; gap: 8px; height: 50px; padding: 0 20px 0 16px; border-radius: 999px; background: var(--line-green); color: #fff; font-weight: 600; box-shadow: 0 14px 30px -10px rgba(6, 199, 85, .6); transition: transform .25s var(--ease); }
.line-float .fa-line { font-size: 24px; }
.line-float:hover { transform: translateY(-2px); }

/* ---------- reveal on scroll (only when JS runs) ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 1140px) {
  .sol-grid { grid-template-columns: repeat(2, 1fr); }
  .sol-card { min-height: 380px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 980px) {
  .topbar { display: none; }
  .menu-btn { display: grid; }
  .main-nav { position: absolute; top: var(--header-h); left: 0; right: 0; flex-direction: column; gap: 0; margin: 0; padding: 8px 16px 18px; background: rgba(11, 15, 25, .97); border-bottom: 1px solid var(--line); backdrop-filter: blur(18px); display: none; }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 14px 10px; }
  .main-nav a.active::after { display: none; }
  .nav-contact-mobile { display: block; }
  .header-actions { margin-left: auto; }
  .section-head.split { grid-template-columns: 1fr; gap: 14px; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .about-media img { aspect-ratio: 16 / 10; }
  .plans { grid-template-columns: 1fr; }
  .ind-grid { grid-template-columns: repeat(2, 1fr); }
  .modal-card { grid-template-columns: 1fr; }
  .modal-gallery { border-right: 0; border-bottom: 1px solid var(--line); }
  .partners-inner { flex-direction: column; align-items: flex-start; gap: 14px; }
  .partners p { max-width: none; }
  .partners ul { justify-content: flex-start; gap: 16px 30px; }
}
@media (max-width: 640px) {
  :root { --header-h: 64px; }
  .container { padding: 0 16px; }
  .brand img { height: 26px; }
  .header-cta { display: none; }
  .hero { min-height: 640px; }
  .hero-content { padding-top: 56px; padding-bottom: 130px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .hero-reel { grid-template-columns: auto repeat(4, 1fr); gap: 10px; bottom: 20px; padding-right: 86px; }
  .reel-label { display: none; }
  .section { padding: 76px 0; }
  .section-head { margin-bottom: 36px; }
  .sol-grid, .ind-grid, .form-row, .steps { grid-template-columns: 1fr; }
  .sol-card { min-height: 320px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stats div:nth-child(2) { border-right: 0; }
  .stats div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .seg-options { grid-template-columns: 1fr 1fr; }
  .plan, .lead-form, .contact-card { padding: 26px 20px; }
  .tabs-wrap { justify-content: flex-start; margin: 0 -16px 30px; padding: 2px 16px; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .modal { padding: 0; align-items: end; }
  .modal-card { border-radius: 22px 22px 0 0; max-height: 94vh; }
  .modal-body { padding: 24px 18px; }
  .line-float span { display: none; }
  .line-float { width: 54px; height: 54px; padding: 0; justify-content: center; right: 16px; bottom: 16px; }
}

/* ---------- success stories ---------- */
.story-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.story { display: flex; flex-direction: column; border-radius: 20px; overflow: hidden; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); transition: transform .4s var(--ease), box-shadow .4s, border-color .3s; }
.story:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: rgba(61,139,255,.45); }
.story-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.story-media img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.85) brightness(.8); transition: transform .8s var(--ease); }
.story:hover .story-media img { transform: scale(1.05); }
.ph-tag { position: absolute; left: 14px; bottom: 14px; font-size: 11px; font-weight: 600; letter-spacing: .06em; padding: 5px 10px; border-radius: 8px; color: #FDE68A; background: rgba(11,15,25,.78); border: 1px dashed rgba(253,230,138,.5); }
.video-ph .play { position: absolute; inset: 0; display: grid; place-items: center; font-size: 30px; color: #fff; }
.video-ph .play i { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: rgba(61,139,255,.9); box-shadow: var(--glow); }
.story-body { display: grid; gap: 12px; padding: 26px 26px 28px; }
.story-logo { justify-self: start; font-size: 12px; color: var(--dim); padding: 8px 14px; border: 1px dashed var(--line-2); border-radius: 10px; }
.story h3 { font-size: 1.2rem; }
.story p { color: var(--muted); font-size: 14.5px; line-height: 1.7; }
.story-robot { font-size: 13px; font-weight: 500; color: var(--accent); }
.deploy-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 28px; }
.deploy-ph { aspect-ratio: 4 / 3; border-radius: 16px; border: 1.5px dashed var(--line-2); background: repeating-linear-gradient(45deg, rgba(255,255,255,.015) 0 12px, transparent 12px 24px); display: grid; place-content: center; justify-items: center; gap: 10px; color: var(--dim); font-size: 13px; transition: border-color .3s, color .3s; }
.deploy-ph .ic { font-size: 30px; }
.deploy-ph:hover { border-color: var(--accent); color: var(--text); }

/* ---------- CEO message ---------- */
.ceo-grid { display: grid; grid-template-columns: 360px 1fr; gap: 72px; align-items: center; }
.ceo-photo { aspect-ratio: 4 / 5; border-radius: 24px; border: 1.5px dashed var(--line-2); background: linear-gradient(160deg, var(--surface-2), var(--surface)); box-shadow: var(--shadow-lg); display: grid; place-content: center; justify-items: center; gap: 12px; text-align: center; color: var(--dim); font-size: 13px; letter-spacing: .06em; }
.ceo-photo .ic { font-size: 64px; }
.ceo-copy blockquote { margin: 8px 0 36px; font: 400 clamp(1.4rem, 2.4vw, 2rem)/1.6 var(--display); color: #E3EAF4; }
.ceo-sign { display: grid; gap: 6px; padding-left: 20px; border-left: 3px solid var(--accent); }
.ceo-sign span { color: var(--muted); font-size: 14px; }

@media (max-width: 980px) {
  .story-grid { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
  .deploy-strip { grid-template-columns: repeat(2, 1fr); }
  .ceo-grid { grid-template-columns: 1fr; gap: 36px; }
  .ceo-photo { max-width: 300px; }
}
@media (max-width: 640px) {
  .hero-content { padding-top: 64px; padding-bottom: 140px; }
  .hero h1 { margin: 24px 0 20px; }
  .hero-actions { margin-top: 36px; }
}
/* ---------- real logo strips (full brand colors on a white panel) ---------- */
.logo-panel { background: #fff; border-radius: 18px; box-shadow: var(--shadow); border: 1px solid rgba(255,255,255,.6); }
.logo-panel img { width: 100%; height: auto; }
.partners-panel { flex: 1; max-width: 640px; margin-left: auto; padding: 14px 28px; }
.clients-panel { padding: 28px 40px; max-width: 1100px; margin: 0 auto; }
.gallery-head { margin-top: 110px; }
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; gap: 16px; }
.gal-item { margin: 0; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); }
.gal-item.wide { grid-column: span 2; grid-row: span 2; }
.gal-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.gal-item:hover img { transform: scale(1.04); }

/* ---------- ISO 9001:2015 certification ---------- */
.iso-block { display: grid; gap: 16px; padding: 24px; border-radius: 24px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-lg); }
.iso-block .iso-badge { background: #fff; border-radius: 14px; padding: 18px 24px; }
.iso-block .iso-badge img { width: 100%; height: auto; }
.iso-docs { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.iso-docs a { display: block; background: #fff; border-radius: 12px; padding: 8px; box-shadow: var(--shadow); transition: transform .3s var(--ease); }
.iso-docs a:hover { transform: translateY(-4px); }
.iso-docs img { width: 100%; height: auto; aspect-ratio: auto; border-radius: 6px; box-shadow: none; }
.iso-block figcaption { position: static; background: transparent; border: 0; padding: 4px 2px 0; backdrop-filter: none; }

@media (max-width: 980px) {
  .partners-panel { margin-left: 0; max-width: 100%; }
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; }
}
@media (max-width: 640px) {
  .clients-panel { padding: 14px 16px; }
  .gallery-head { margin-top: 72px; }
}

/* fixes: original-color partner logos, uncropped ISO documents */
.partners-panel img { filter: none !important; opacity: 1 !important; width: 100%; height: auto; }
.iso-block img, .iso-docs img { aspect-ratio: auto !important; object-fit: contain !important; height: auto !important; box-shadow: none; border-radius: 6px; }
@media (max-width: 640px) { .hero h1 { line-height: 1.45; margin: 26px 0 30px; } }
/* partner marquee — full-color logos, infinite scroll */
.partners .marquee { flex: 1; min-width: 0; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; align-items: center; gap: 64px; width: max-content; margin: 0; padding: 6px 32px; list-style: none; animation: marquee 36s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track li { display: flex; align-items: center; height: 48px; }
.marquee-track img { height: 32px; width: auto; max-width: none; filter: none; opacity: .9; transition: opacity .25s, transform .25s var(--ease); }
.marquee-track li:hover img { opacity: 1; transform: scale(1.05); }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; flex-wrap: wrap; width: auto; } }

/* official partner logos — uniform height, vertically centered */
.marquee-track { gap: 72px; }
.marquee-track li { height: 64px; display: flex; align-items: center; justify-content: center; }
.marquee-track img { height: auto; max-height: 44px; max-width: 190px; width: auto; object-fit: contain; opacity: .95; }
.marquee-track img[alt="SPARKOZ"] { max-width: 240px; max-height: 32px; }
.marquee-track img[alt="ORIONSTAR"] { max-height: 48px; border-radius: 10px; }
.marquee-track img[alt="ORIONSTAR"] { max-height: 38px; max-width: 200px; border-radius: 0; }

/* ---------- service models (photo-led offers, comparison, timeline) ---------- */
.offer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.offer { display: flex; flex-direction: column; border-radius: 22px; overflow: hidden; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); transition: transform .45s var(--ease), box-shadow .45s, border-color .3s; }
.offer:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: rgba(255,255,255,.18); }
.offer-raas { border-color: rgba(61,139,255,.45); }
.offer-media { position: relative; height: 230px; overflow: hidden; }
.offer-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.offer:hover .offer-media img { transform: scale(1.05); }
.offer-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,15,25,0) 40%, var(--surface) 100%); }
.offer-label { position: absolute; left: 24px; top: 20px; z-index: 1; display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; font-size: 12.5px; font-weight: 600; letter-spacing: .04em; color: #fff; background: rgba(11,15,25,.7); border: 1px solid rgba(255,255,255,.18); backdrop-filter: blur(10px); }
.offer-raas .offer-label { background: var(--accent-strong); border-color: transparent; }
.offer-body { display: flex; flex-direction: column; gap: 14px; flex: 1; padding: 8px 34px 32px; }
.offer-body h3 { font-size: 1.75rem; }
.offer-body > p { color: var(--muted); }
.offer .checks { margin: 4px 0 8px; }
.offer-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-top: auto; padding-top: 20px; border-top: 1px solid var(--line); }
.offer-fit { font-size: 13.5px; color: var(--dim); max-width: 260px; }

.compare { max-width: 900px; margin: 56px auto 0; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: var(--surface); }
.cmp-row { display: grid; grid-template-columns: 1.2fr 1fr 1fr; }
.cmp-row span { padding: 15px 22px; border-bottom: 1px solid var(--line); font-size: 15px; color: #D2DBE8; }
.cmp-row span:first-child { color: var(--muted); }
.cmp-row span:nth-child(2) { background: rgba(61,139,255,.07); color: #fff; }
.cmp-row:last-child span { border-bottom: 0; }
.cmp-head span { font: 600 13px/1 var(--display); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding-top: 18px; padding-bottom: 18px; }
.cmp-head span:nth-child(2) { color: var(--accent); }

.timeline { margin-top: 72px; }
.tl-title { text-align: center; font-size: 1.35rem; margin-bottom: 36px; }
.timeline ol { position: relative; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.timeline ol::before { content: ''; position: absolute; top: 22px; left: 12.5%; right: 12.5%; height: 2px; background: linear-gradient(90deg, var(--accent), rgba(61,139,255,.2)); }
.timeline li { position: relative; display: grid; justify-items: center; gap: 8px; text-align: center; }
.tl-dot { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; font: 600 17px/1 var(--display); color: #fff; background: var(--accent-strong); box-shadow: 0 0 0 6px var(--bg), var(--glow); margin-bottom: 8px; }
.timeline b { font-family: var(--display); font-weight: 500; font-size: 1.05rem; }
.timeline li > span:last-child { font-size: 14px; color: var(--muted); max-width: 230px; }

@media (max-width: 980px) {
  .offer-grid { grid-template-columns: 1fr; }
  .timeline ol { grid-template-columns: 1fr 1fr; row-gap: 36px; }
  .timeline ol::before { display: none; }
}
@media (max-width: 640px) {
  .offer-body { padding: 6px 20px 24px; }
  .cmp-row span { padding: 12px 12px; font-size: 13.5px; }
  .timeline ol { grid-template-columns: 1fr; }
}

/* both offer cards share the same accent style */
.offer .offer-label { background: var(--accent-strong); border-color: transparent; }
.offer:hover { border-color: rgba(61,139,255,.45); }

/* scroll progress + back to top */
.scroll-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 70; pointer-events: none; }
.scroll-progress i { display: block; height: 100%; width: 100%; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, var(--accent), var(--cyan)); }
.to-top { position: fixed; right: 22px; bottom: 86px; z-index: 50; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; font-size: 20px; color: #fff; background: rgba(23,31,49,.85); border: 1px solid var(--line-2); backdrop-filter: blur(10px); box-shadow: var(--shadow); cursor: pointer; opacity: 0; transform: translateY(12px); pointer-events: none; transition: opacity .3s, transform .3s var(--ease), border-color .2s; }
.to-top .ic { transform: rotate(180deg); }
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { border-color: var(--accent); }
@media (max-width: 640px) { .to-top { right: 16px; bottom: 80px; } }

/* ---------- micro-interactions ---------- */
.btn { position: relative; overflow: hidden; isolation: isolate; }
.btn:active { transform: scale(.97); transition-duration: .08s; }
.ripple { position: absolute; z-index: -1; border-radius: 50%; pointer-events: none; background: rgba(255,255,255,.35); transform: scale(0); animation: ripple .6s ease-out forwards; }
.btn-outline .ripple, .btn-glass .ripple { background: rgba(61,139,255,.35); }
@keyframes ripple { to { transform: scale(1); opacity: 0; } }
.btn .spin { width: 18px; height: 18px; border-radius: 50%; border: 2px solid rgba(255,255,255,.35); border-top-color: #fff; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.btn.is-loading { pointer-events: none; }
.btn.is-done { background: #16A34A !important; box-shadow: 0 10px 30px -10px rgba(22,163,74,.7) !important; }
.copy-btn { margin-left: 8px; padding: 4px 9px; border-radius: 8px; border: 1px solid var(--line-2); background: transparent; color: var(--muted); font: 500 12px/1 var(--font); cursor: pointer; display: inline-flex; align-items: center; gap: 5px; vertical-align: middle; transition: color .2s, border-color .2s, background .2s; }
.copy-btn:hover { color: #fff; border-color: var(--accent); }
.copy-btn.copied { color: #fff; background: #16A34A; border-color: #16A34A; }
.copy-toast { position: fixed; left: 50%; bottom: 32px; z-index: 120; transform: translate(-50%, 20px); padding: 11px 18px; border-radius: 12px; background: #16A34A; color: #fff; font-weight: 500; box-shadow: var(--shadow-lg); opacity: 0; transition: opacity .25s, transform .35s var(--ease); pointer-events: none; }
.copy-toast.show { opacity: 1; transform: translate(-50%, 0); }
@media (prefers-reduced-motion: reduce) { .ripple { display: none; } .btn:active { transform: none; } }

/* language switch with flags */
.lang button { display: inline-flex; align-items: center; gap: 6px; padding: 7px 10px; }
.lang img { width: 18px; height: 12px; border-radius: 2px; box-shadow: 0 0 0 1px rgba(255,255,255,.18); object-fit: cover; }
.lang button[aria-pressed="false"] img { opacity: .6; filter: saturate(.6); }
.lang button:hover img { opacity: 1; filter: none; }
/* stronger, clearly visible press feedback */
.ripple { background: rgba(255,255,255,.5); }
.btn:active { transform: scale(.95); }

/* mobile: never allow sideways scrolling */
html, body { overflow-x: hidden; overflow-x: clip; max-width: 100%; }
.partners .marquee { width: 100%; max-width: 100%; }
.partners-inner { min-width: 0; }

/* clients: cropped image fills the panel */
.clients-panel { padding: 20px 24px; }
@media (max-width: 720px) { .clients-panel { padding: 8px; border-radius: 12px; } }


/* ================= Products mega menu ================= */
.main-nav a.has-mega { display: inline-flex; align-items: center; gap: 5px; }
.mega-caret { font-size: 12px; transition: transform .25s var(--ease); }
.site-header.mega-open .mega-caret, .main-nav a.has-mega.open .mega-caret { transform: rotate(180deg); }
.site-header.mega-open { background: rgba(11, 15, 25, .96); }
.mega { position: absolute; top: 100%; left: 0; right: 0; background: #0B0F19; border-bottom: 1px solid var(--line); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .9); animation: megaIn .22s var(--ease); }
@keyframes megaIn { from { opacity: 0; transform: translateY(-6px); } }
.mega-inner { display: grid; grid-template-columns: 250px 1fr; gap: 32px; padding-top: 26px; padding-bottom: 30px; }
.mega-side { display: flex; flex-direction: column; gap: 4px; border-right: 1px solid var(--line); padding-right: 22px; }
.mega-brand { display: block; background: #fff; border-radius: 10px; padding: 8px 14px; margin-bottom: 12px; width: max-content; }
.mega-brand img { height: 22px; width: auto; }
.mega-tab { display: flex; align-items: center; gap: 10px; width: 100%; padding: 11px 12px; border: 0; border-radius: 10px; background: transparent; color: var(--muted); font: 500 14.5px/1.3 var(--font); text-align: left; cursor: pointer; transition: background .2s, color .2s; }
.mega-tab i { font-size: 18px; }
.mega-tab span { flex: 1; }
.mega-tab em { font-style: normal; font-size: 12px; color: var(--dim); background: rgba(255,255,255,.05); border-radius: 20px; padding: 1px 8px; }
.mega-tab:hover, .mega-tab.on { background: var(--accent-soft); color: #fff; }
.mega-tab.on i { color: var(--accent); }
.mega-links { margin-top: auto; padding-top: 14px; display: grid; gap: 2px; }
.mega-links a { display: flex; align-items: center; justify-content: space-between; padding: 8px 12px; font-size: 13.5px; color: var(--accent); border-radius: 8px; }
.mega-links a:hover { background: rgba(255,255,255,.04); }
.mega-links a + a { color: var(--muted); }
.mega-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; align-content: start; }
.main-nav .mega-item, .mega-item { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 0 0 12px; border-radius: 14px; text-align: center; color: var(--text); transition: transform .25s var(--ease), background .2s; }
.mega-item:hover { transform: translateY(-3px); background: rgba(255,255,255,.035); }
.mi-img { position: relative; display: grid; place-items: center; width: 100%; aspect-ratio: 1; background: var(--studio); border-radius: 14px; margin-bottom: 8px; overflow: hidden; }
.mi-img img { width: 82%; height: 82%; object-fit: contain; transition: transform .35s var(--ease); }
.mega-item:hover .mi-img img { transform: scale(1.06); }
.mi-img b, .km-badge, .pd-chip b { position: absolute; top: 8px; right: 8px; font: 700 10px/1 var(--font); letter-spacing: .06em; padding: 4px 7px; border-radius: 6px; color: #fff; }
.mi-img b.new, .km-badge.new, .pd-chip b.new { background: #16A34A; }
.mi-img b.hot, .km-badge.hot, .pd-chip b.hot { background: #E5484D; }
.mi-model { font: 600 15px/1.3 var(--display); }
.mi-tag { font-size: 12.5px; line-height: 1.4; color: var(--muted); padding: 0 6px; }
.mega-m { display: none; }
@media (max-width: 980px) {
  .mega { display: none !important; }
  .mega-m:not([hidden]) { display: block; padding: 0 0 8px 6px; }
  .mm-head { display: flex; align-items: center; gap: 10px; width: 100%; padding: 12px 10px; border: 0; background: transparent; color: var(--text); font: 500 15px/1.3 var(--font); text-align: left; cursor: pointer; border-radius: 10px; }
  .mm-head i:first-child { color: var(--accent); font-size: 18px; }
  .mm-head span { flex: 1; }
  .mm-head em { font-style: normal; font-size: 12px; color: var(--dim); }
  .mm-caret { transition: transform .2s; }
  .mm-head[aria-expanded="true"] .mm-caret { transform: rotate(180deg); }
  .mm-list:not([hidden]) { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 4px 4px 12px; }
  .main-nav .mm-list a { display: flex; align-items: center; gap: 8px; padding: 6px; border-radius: 10px; background: rgba(255,255,255,.03); font-size: 12px; line-height: 1.35; color: var(--muted); }
  .mm-list img { width: 46px; height: 46px; object-fit: contain; background: var(--studio); border-radius: 8px; padding: 3px; flex: none; }
  .mm-list b { display: block; color: var(--text); font-size: 13.5px; }
  .mm-label { display: block; padding: 14px 10px 8px; font-size: 11.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--dim); }
  .mm-brands { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 0 4px 6px; }
  .main-nav a.mm-brand { display: grid; place-items: center; height: 56px; padding: 10px 14px; border-radius: 10px; background: #fff; }
  .main-nav a.mm-brand:active { box-shadow: 0 0 0 2px var(--accent); }
  .mm-brand img { max-width: 100%; max-height: 30px; width: auto; height: auto; object-fit: contain; }
  .main-nav a.mm-all { display: flex; align-items: center; justify-content: space-between; color: var(--accent); font-size: 14px; padding: 12px 10px; }
  .main-nav { max-height: calc(100dvh - var(--header-h)); overflow-y: auto; }
}

/* mega menu: multi-brand */
.mega-label { display: block; margin: 0 0 8px 12px; font-size: 11.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--dim); }
.mega-links .mega-label { margin-top: 4px; }
.mega-links a.mega-brandlink { background: #fff; border-radius: 10px; padding: 8px 12px; margin-bottom: 6px; color: #0B0F19; }
.mega-links a.mega-brandlink:hover { background: #fff; box-shadow: 0 0 0 2px var(--accent); }
.mega-brandlink img { height: 18px; width: auto; }
.mi-brand { font-size: 10.5px; font-weight: 600; letter-spacing: .1em; color: var(--accent); }
/* brand logos: same visual weight whatever their aspect ratio */
.mega-links a.mega-brandlink { height: 44px; }
.mega-brandlink img { height: auto; width: auto; max-height: 24px; max-width: 128px; }

/* larger Botlink logo */
.brand img { height: 40px; }
.footer-brand img { height: 38px; }
@media (max-width: 640px) { .brand img { height: 32px; } }

.mega-brandlink img { max-height: none; max-width: 150px; }

.marquee-track img[alt="IKITBOT"] { max-height: 30px; }
.marquee-track img[alt="EGO ROBOTICS"] { max-height: 44px; }
.marquee-track img[alt="POOLSTAR"] { max-height: 40px; }

.marquee-track img[alt="EGO ROBOTICS"] { max-height: 40px; }
.marquee-track img[alt="POOLSTAR"] { max-height: 46px; }

/* ---------- icon refresh: thin strokes, two-tone feature icons, one colour per business line ---------- */
:root { --c-delivery: #5B9BFF; --c-cleaning: #2FC4A2; --c-industrial: #F0A63A; --c-pool: #38C6E8; }
.ph-duotone { --ph-duotone-opacity: .28; }
.sol-card { --tone: var(--c-delivery); }
.sol-card:nth-child(2) { --tone: var(--c-cleaning); }
.sol-card:nth-child(3) { --tone: var(--c-industrial); }
.sol-card:nth-child(4) { --tone: var(--c-pool); }
.sol-icon { width: auto; height: auto; justify-self: start; place-items: start; font-size: 34px; color: var(--tone); background: none; box-shadow: none; border-radius: 0; }
.sol-icon::after { content: ''; display: block; width: 28px; height: 2px; margin-top: 10px; background: var(--tone); border-radius: 2px; }
.sol-card:hover { border-color: color-mix(in srgb, var(--tone) 55%, transparent); }

.ind-grid li:nth-child(1) { --tone: #8FB8FF; } .ind-grid li:nth-child(2) { --tone: #7FE0C8; } .ind-grid li:nth-child(3) { --tone: #FFC27A; }
.ind-grid li:nth-child(4) { --tone: #F4A3C0; } .ind-grid li:nth-child(5) { --tone: #FFC27A; } .ind-grid li:nth-child(6) { --tone: #7FD8F0; }
.ind-grid .ic { width: auto; height: auto; font-size: 30px; color: var(--tone); background: none; border: 0; backdrop-filter: none; border-radius: 0; }

.why .ic, .ci { background: none; border: 1px solid var(--line-2); font-size: 22px; }
.why li:nth-child(1) .ic { color: var(--c-delivery); } .why li:nth-child(2) .ic { color: var(--c-industrial); } .why li:nth-child(3) .ic { color: var(--c-cleaning); }
.contact-list li:nth-child(1) .ci { color: var(--c-cleaning); } .contact-list li:nth-child(2) .ci { color: var(--c-delivery); } .contact-list li:nth-child(3) .ci { color: var(--c-industrial); }
.checks .ic { font-size: 18px; color: var(--c-cleaning); }
.about-media figcaption .ic { color: #F0C24A; }
.tb-item .ic { color: #F0C24A; }

/* menu category icons: each robot type gets its own colour on a soft tinted tile */
[data-cat="catering"] { --cat: #FF8A4C; } [data-cat="cleaning"] { --cat: #2FC4A2; } [data-cat="heavy"] { --cat: #A78BFA; }
[data-cat="amr"] { --cat: #F0A63A; } [data-cat="forklift"] { --cat: #FACC15; } [data-cat="healthcare"] { --cat: #F43F5E; }
[data-cat="pool"] { --cat: #38BDF8; } [data-cat="humanoid"] { --cat: #5B9BFF; }
.cat-ic { --ph-duotone-opacity: .35; flex: none; width: 32px; height: 32px; display: inline-flex; align-items: center; justify-content: center; border-radius: 9px; font-size: 19px; color: var(--cat, var(--accent)) !important; background: color-mix(in srgb, var(--cat, var(--accent)) 16%, transparent); }

@media (max-width: 980px) { .main-nav { background: #0B0F19; } }

/* 3D content icons (img) */
.ic3d { width: 1.3em; height: 1.3em; object-fit: contain; display: inline-block; vertical-align: -.28em; flex: none; }
.why .ic.ic3d { width: 44px; height: 44px; padding: 7px; border: 1px solid var(--line-2); background: rgba(255,255,255,.04); border-radius: 12px; }
.ci { background: rgba(255,255,255,.04); border: 1px solid var(--line-2); }
.ci .ic3d { width: 28px; height: 28px; }
.ind-grid .ic.ic3d { width: 42px; height: 42px; padding: 0; background: none; border: 0; }
.checks .ic3d { width: 20px; height: 20px; margin-top: 3px; }
.about-media figcaption .ic3d { width: 38px; height: 38px; }
.footer-contact .ic3d { margin-top: 2px; }
/* menu robot types: real product photo of a representative model */
.cat-ph { flex: none; width: 36px; height: 36px; border-radius: 9px; background: #fff; padding: 2px; object-fit: contain; }
.addr-link { color: inherit; text-decoration: underline; text-decoration-color: rgba(255,255,255,.25); text-underline-offset: 3px; }
.addr-link:hover { color: var(--accent); }

.offer-label .ic3d { position: static; width: 18px !important; height: 18px !important; aspect-ratio: auto; object-fit: contain; inset: auto; }

.ind-grid li > div .ic3d { position: static; inset: auto; z-index: auto; width: 40px; height: 40px; transform: none !important; }

.ind-grid li > div { grid-template-columns: 1fr; }
.why li { padding-left: 14px; border-left: 3px solid var(--accent); }

.line-card b .ic3d { width: 20px !important; height: 20px !important; padding: 0; border: 0; background: none; border-radius: 5px; vertical-align: -4px; margin-right: 4px; }

@media (min-width: 981px) and (max-width: 1200px) { .header-inner { gap: 14px; } .main-nav a { padding: 8px 9px; font-size: 14px; white-space: nowrap; } .header-actions { gap: 8px; } .header-actions .btn { padding: 0 14px; } }

/* ---------- prices & promotion ---------- */
.price-tag { position: relative; display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; margin-top: 12px; padding: 10px 12px; border-radius: 12px; background: var(--accent-soft); }
.price-tag small { width: 100%; font-size: 12px; color: var(--muted); }
.price-tag strong { font: 600 1.15rem/1.2 var(--display); color: var(--text); }
.price-tag s { font-size: 13px; color: var(--dim); }
.price-tag.ask { display: block; font-size: 14px; font-weight: 500; color: var(--muted); background: rgba(127, 140, 160, .08); }
.sale-pill { position: absolute; top: -9px; right: 10px; padding: 3px 8px; border-radius: 999px; font: 700 11px/1.2 var(--font); color: #fff; background: #E11D48; box-shadow: 0 6px 14px -6px rgba(225, 29, 72, .7); }
.promo-bar { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; max-width: 860px; margin: -24px auto 30px; padding: 12px 16px; border-radius: 14px; background: linear-gradient(90deg, rgba(225, 29, 72, .14), rgba(245, 158, 11, .12)); border: 1px solid rgba(225, 29, 72, .35); font-size: 14.5px; }
.promo-bar span { flex: 1; min-width: 200px; }
.promo-tag { padding: 4px 10px; border-radius: 8px; font: 700 12px/1 var(--font); letter-spacing: .08em; color: #fff; background: #E11D48; }
.promo-bar a { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--accent); }
.grid-more-wrap { display: flex; justify-content: center; margin-top: 30px; }
.grid-more .flip { transform: rotate(180deg); }
.price-note { margin-top: 18px; text-align: center; font-size: 12.5px; color: var(--dim); }

/* ---------- robot finder ---------- */
.finder-card { max-width: 980px; margin: 0 auto; padding: 30px; border-radius: 22px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); display: grid; gap: 24px; }
.fq b { display: block; margin-bottom: 12px; font-family: var(--display); font-weight: 500; font-size: 1.05rem; }
.fchips { display: flex; flex-wrap: wrap; gap: 10px; }
.fchips button { padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line-2); background: transparent; color: var(--text); font: 500 14.5px/1.2 var(--font); cursor: pointer; transition: border-color .2s, background .2s, color .2s; }
.fchips button:hover { border-color: var(--accent); }
.fchips button[aria-pressed="true"] { background: var(--accent-strong); border-color: var(--accent-strong); color: #fff; }
.finder-out { border-top: 1px solid var(--line); padding-top: 22px; }
.finder-hint { color: var(--muted); text-align: center; }
.finder-out h3 { font-size: 1.15rem; margin-bottom: 14px; }
.finder-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.finder-item { display: flex; flex-direction: column; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); background: var(--bg-2); transition: transform .3s var(--ease), border-color .2s; }
.finder-item:hover { transform: translateY(-3px); border-color: var(--accent); }
.fi-img { display: grid; place-items: center; height: 150px; padding: 14px; background: var(--studio); }
.fi-img img { max-height: 100%; width: auto; object-fit: contain; mix-blend-mode: multiply; }
.fi-body { display: flex; flex-direction: column; gap: 3px; padding: 14px; flex: 1; }
.fi-body small { font: 600 11px/1 var(--display); letter-spacing: .16em; color: var(--accent); }
.fi-body b { font: 600 1.05rem/1.3 var(--display); }
.fi-body > span { font-size: 13.5px; color: var(--muted); }
.fi-body .price-tag { margin-top: auto; }
.finder-acts { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 20px; }

/* ---------- FAQ ---------- */
.faq-wrap { display: grid; grid-template-columns: 1fr 1.6fr; gap: 48px; align-items: start; }
.faq-lead { margin-top: 14px; color: var(--muted); }
.faq-list { display: grid; gap: 10px; }
.faq-list details { border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.faq-list summary { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 20px; cursor: pointer; font-weight: 500; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: '+'; flex: none; width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; background: var(--accent-soft); color: var(--accent); font-size: 18px; transition: transform .25s; }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details p { padding: 0 20px 18px; color: var(--muted); }

@media (max-width: 980px) { .faq-wrap { grid-template-columns: 1fr; gap: 24px; } .finder-grid { grid-template-columns: 1fr; } .finder-item { flex-direction: row; } .fi-img { width: 120px; height: auto; flex: none; } }
@media (max-width: 640px) { .finder-card { padding: 20px; } .fchips button { font-size: 13.5px; padding: 9px 13px; } .promo-bar { margin-top: -30px; } }

.fi-img { overflow: hidden; } .fi-img img { height: 100%; max-width: 100%; }

/* compact catalog + solution cards on phones */
@media (max-width: 640px) {
  .product-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .p-stage { padding: 12px; }
  .p-cat, .p-specs, .p-foot .badges, .p-body > p { display: none; }
  .p-video { top: 8px; right: 8px; padding: 3px 6px; font-size: 10.5px; }
  .p-body { padding: 12px; gap: 4px; }
  .p-body h3 { font-size: 1rem; }
  .p-brand { font-size: 10px; }
  .p-card .price-tag { margin-top: 6px; padding: 8px 9px; }
  .p-card .price-tag strong { font-size: .95rem; }
  .p-card .price-tag s { font-size: 11.5px; }
  .p-foot { padding-top: 8px; }
  .p-more { font-size: 13px; }
  .sol-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .sol-card { min-height: 270px; }
  .sol-body { padding: 14px; gap: 6px; }
  .sol-card h3 { font-size: 1rem; }
  .sol-card p { display: none; }
}

/* catalog grouped by robot type */
.product-grid.is-grouped { display: grid; grid-template-columns: 1fr; gap: 44px; }
.grp-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.grp-head h3 { font-size: 1.3rem; }
.grp-all { display: inline-flex; align-items: center; gap: 6px; border: 0; background: none; color: var(--accent); font: 600 14px/1.2 var(--font); cursor: pointer; white-space: nowrap; }
.grp-all:hover .ic { transform: translateX(3px); }
.grp-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }

/* special deal */
.spotlight { margin: 0 auto 40px; }
.spot-card { position: relative; display: grid; grid-template-columns: 1fr 1.1fr; overflow: hidden; border-radius: 26px; border: 1px solid rgba(225, 29, 72, .45); background: radial-gradient(600px 300px at 100% 0%, rgba(225, 29, 72, .16), transparent 70%), var(--surface); box-shadow: var(--shadow-lg); }
.spot-media { position: relative; display: grid; place-items: center; min-height: 380px; padding: 30px; background: var(--studio); }
.spot-media img { max-height: 360px; width: auto; object-fit: contain; mix-blend-mode: multiply; }
.spot-off { position: absolute; top: 22px; left: 22px; display: grid; place-items: center; width: 98px; height: 98px; border-radius: 50%; background: #E11D48; color: #fff; font: 700 2rem/1 var(--display); box-shadow: 0 16px 34px -12px rgba(225, 29, 72, .8); transform: rotate(-8deg); }
.spot-off small { font: 600 12px/1 var(--font); margin-bottom: -18px; }
.spot-body { display: flex; flex-direction: column; justify-content: center; gap: 10px; padding: 40px 44px; }
.spot-tag { align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; font-size: 13px; font-weight: 600; color: #fff; background: linear-gradient(90deg, #E11D48, #F59E0B); }
.spot-brand { font: 600 12px/1 var(--display); letter-spacing: .18em; color: var(--accent); margin-top: 6px; }
.spot-body h3 { font-size: clamp(1.8rem, 3vw, 2.5rem); line-height: 1.2; }
.spot-body > p { color: var(--muted); }
.spot-prices { display: flex; flex-wrap: wrap; gap: 12px; margin: 8px 0 6px; }
.spot-prices > div { padding: 12px 16px; border-radius: 14px; background: var(--accent-soft); min-width: 170px; }
.spot-prices small { display: block; font-size: 12.5px; color: var(--muted); }
.spot-prices strong { font: 700 1.5rem/1.3 var(--display); color: #F43F5E; }
.spot-prices s { display: block; font-size: 13px; color: var(--dim); }
.spot-acts { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.spot-note { color: var(--dim); font-size: 12.5px; }

/* finder: show the whole robot */
.fi-img { height: 190px; padding: 12px; }
.fi-img img { width: 100%; height: 100%; max-height: none; object-fit: contain; }

@media (max-width: 980px) { .spot-card { grid-template-columns: 1fr; } .spot-media { min-height: 260px; } .spot-media img { max-height: 240px; } .spot-body { padding: 26px 22px; } .fi-img { width: 130px; height: 150px; } }
@media (max-width: 640px) { .grp-grid { grid-template-columns: 1fr 1fr; gap: 12px; } .grp-grid .p-card:nth-child(3) { display: none; } .grp-head h3 { font-size: 1.05rem; } .spot-off { width: 76px; height: 76px; font-size: 1.5rem; } .spot-prices > div { min-width: 0; flex: 1; } }

.fi-img { position: relative; display: block; } .fi-img img { position: absolute; inset: 12px; width: calc(100% - 24px); height: calc(100% - 24px); max-width: none; object-fit: contain; }

/* ---------- special deal: attention effects ---------- */
@property --spin { syntax: '<angle>'; initial-value: 0deg; inherits: false; }
.spot-card { isolation: isolate; border-color: transparent; }
/* rotating red-gold light around the edge */
.spot-card::before { content: ''; position: absolute; inset: 0; z-index: 3; pointer-events: none; border-radius: inherit; padding: 2px;
  background: conic-gradient(from var(--spin), #E11D48, #F59E0B, #FDE68A, #E11D48 30%, rgba(225, 29, 72, .25) 55%, #E11D48);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
  animation: spotSpin 4s linear infinite; }
/* a light sweep across the card every few seconds */
.spot-card::after { content: ''; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; z-index: 2; pointer-events: none;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .16), transparent); transform: skewX(-18deg); animation: spotShine 5.5s ease-in-out infinite; }
.spot-media img { animation: spotFloat 4.5s ease-in-out infinite; filter: drop-shadow(0 24px 22px rgba(15, 23, 42, .28)); }
.spot-off { animation: spotBadge 2.4s ease-in-out infinite; }
.spot-off::after { content: ''; position: absolute; inset: 0; border-radius: 50%; border: 3px solid #E11D48; animation: spotPing 2.4s ease-out infinite; }
.spot-tag { animation: spotTag 2.4s ease-in-out infinite; background-size: 200% 100%; background-image: linear-gradient(90deg, #E11D48, #F59E0B, #E11D48); }
.spot-cta { position: relative; overflow: hidden; background: linear-gradient(90deg, #E11D48, #F43F5E); box-shadow: 0 12px 30px -10px rgba(225, 29, 72, .75); animation: spotPulse 2s ease-in-out infinite; }
.spot-cta:hover { background: linear-gradient(90deg, #BE123C, #E11D48); }
.spot-cta::after { content: ''; position: absolute; top: 0; bottom: 0; left: -80%; width: 50%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .45), transparent); transform: skewX(-20deg); animation: spotShine 3s ease-in-out infinite; }
.spot-card.landed .spot-prices strong { animation: spotLand .6s var(--ease); }
.spot-card:hover .spot-media img { animation-play-state: paused; transform: scale(1.04); transition: transform .4s var(--ease); }
/* countdown */
.spot-count { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.spot-count small { font-size: 13px; color: var(--muted); }
.spot-count .cd { display: flex; gap: 6px; }
.spot-count b { display: grid; justify-items: center; min-width: 48px; padding: 6px 6px 5px; border-radius: 10px; font: 700 1.15rem/1 var(--display); color: #fff; background: #1E293B; border: 1px solid rgba(225, 29, 72, .5); }
.spot-count b i { font: 500 10.5px/1.4 var(--font); font-style: normal; color: #FCA5A5; }
[data-theme="light"] .spot-count b { background: #0F172A; }

@keyframes spotSpin { to { --spin: 360deg; } }
@keyframes spotShine { 0%, 55% { left: -60%; } 100% { left: 130%; } }
@keyframes spotFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes spotBadge { 0%, 100% { transform: rotate(-8deg) scale(1); } 12% { transform: rotate(-14deg) scale(1.1); } 24% { transform: rotate(-4deg) scale(1.06); } 36% { transform: rotate(-8deg) scale(1); } }
@keyframes spotPing { 0% { transform: scale(1); opacity: .8; } 70%, 100% { transform: scale(1.45); opacity: 0; } }
@keyframes spotTag { 0%, 100% { background-position: 0 0; } 50% { background-position: 100% 0; } }
@keyframes spotPulse { 0%, 100% { box-shadow: 0 12px 30px -10px rgba(225, 29, 72, .75), 0 0 0 0 rgba(225, 29, 72, .45); } 50% { box-shadow: 0 12px 30px -10px rgba(225, 29, 72, .75), 0 0 0 10px rgba(225, 29, 72, 0); } }
@keyframes spotLand { 0% { transform: scale(1); } 40% { transform: scale(1.14); color: #FBBF24; } 100% { transform: scale(1); } }
@media (prefers-reduced-motion: reduce) {
  .spot-card::before, .spot-card::after, .spot-media img, .spot-off, .spot-off::after, .spot-tag, .spot-cta, .spot-cta::after { animation: none; }
}
.spot-prices strong { display: inline-block; }

.spot-media img { filter: none; }

/* clickable card chips */
button.badge { font-family: inherit; cursor: pointer; transition: border-color .2s, background .2s, color .2s; }
button.badge:hover { border-color: var(--accent); color: var(--accent); }
button.badge-raas:hover { background: var(--accent-strong); color: #fff; }
button.price-tag.ask { display: flex; align-items: center; justify-content: space-between; width: 100%; border: 1px solid var(--line-2); font: 500 14px/1.3 var(--font); color: var(--text); cursor: pointer; text-align: left; transition: border-color .2s, background .2s; }
button.price-tag.ask .ic { color: var(--accent); transition: transform .25s var(--ease); }
button.price-tag.ask:hover { border-color: var(--accent); background: var(--accent-soft); }
button.price-tag.ask:hover .ic { transform: translateX(3px); }

/* cards are not links — only their buttons are */
.p-card, .km-card, .finder-item { cursor: default; }
.p-card:hover, .p-card:focus-visible, .km-card:hover, .finder-item:hover { transform: none; }
.p-card:hover .p-stage img, .km-card:hover .km-img img { transform: none; }
a.p-more { padding: 6px 2px; }
a.p-more:hover { color: var(--accent); }
a.p-more:hover .ic { transform: translateX(3px); }
.fi-more { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; font-size: 13.5px; font-weight: 600; color: var(--accent); }
.fi-more:hover .ic { transform: translateX(3px); }
.fi-body .price-tag { margin-top: 10px; }

.fi-img img { object-fit: scale-down; }

/* product badges (ERP "ป้ายบนเว็บไซต์") */
.p-tag { position: absolute; left: 12px; bottom: 12px; z-index: 2; padding: 4px 9px; border-radius: 7px; font: 700 11px/1.2 var(--font); letter-spacing: .04em; color: #fff; }
.p-tag.hot, .mi-img b.hot, .km-badge.hot, .pd-chip b.hot { background: #E11D48; }
.p-tag.new, .mi-img b.new, .km-badge.new, .pd-chip b.new { background: #16A34A; }
.p-tag.best, .mi-img b.best, .km-badge.best, .pd-chip b.best { background: #F59E0B; }
.p-tag.ready, .mi-img b.ready, .km-badge.ready, .pd-chip b.ready { background: #2563EB; }
.km-badge { position: absolute; top: 10px; right: 10px; padding: 4px 8px; border-radius: 6px; font: 700 10.5px/1.2 var(--font); color: #fff; }

.mi-img img, .mm-list img { mix-blend-mode: multiply; }
.mi-img img { width: 84%; height: 84%; }

/* menu thumbnails: the whole robot always fits the square */
.mi-img { display: block; }
.mi-img img { position: absolute; inset: 8%; width: 84%; height: 84%; max-width: none; object-fit: contain; }

/* ===== polish round: readable labels, equal cards, clear buttons, tables, mobile menu ===== */
/* 4. small blue section labels were too small to read */
.kicker { font-size: 15.5px; letter-spacing: .1em; margin-bottom: 14px; }
.vision span { font-size: 15px; letter-spacing: .08em; }
.p-brand { font-size: 13px; letter-spacing: .14em; }
.fi-body small { font-size: 12.5px; letter-spacing: .12em; }
.spot-brand { font-size: 15px; letter-spacing: .14em; }
.spot-off small { font-size: 16px; font-weight: 700; margin-bottom: -16px; }
.spot-tag { font-size: 14px; }

/* 6. "details" is a real button, easy to spot */
a.p-more, .fi-more { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 10px; background: var(--accent-strong); color: #fff !important; font-weight: 600; font-size: 14px; box-shadow: 0 6px 16px -8px rgba(42, 108, 240, .8); transition: background .2s, transform .2s; }
a.p-more .ic, .fi-more .ic { color: #fff !important; }
a.p-more:hover, .fi-more:hover { background: var(--accent); transform: translateY(-1px); }
.fi-more { align-self: flex-start; margin-top: 12px; }

/* 7. comparison table: coloured header and columns */
.cmp-head span { font-size: 14.5px; letter-spacing: .06em; color: #fff !important; padding-top: 16px; padding-bottom: 16px; }
.cmp-head span:nth-child(1) { background: #1E293B; }
.cmp-head span:nth-child(2) { background: linear-gradient(135deg, #2A6CF0, #3D8BFF); }
.cmp-head span:nth-child(3) { background: linear-gradient(135deg, #059669, #10B981); }
.cmp-row:not(.cmp-head) span:first-child { font-weight: 600; color: var(--text); background: rgba(127, 140, 160, .06); }
.cmp-row:not(.cmp-head) span:nth-child(2) { background: rgba(61, 139, 255, .10); }
.cmp-row:not(.cmp-head) span:nth-child(3) { background: rgba(16, 185, 129, .08); }
.cmp-row:not(.cmp-head):nth-child(odd) span { filter: brightness(1.08); }

/* 5. mobile menu: the open robot type gets a clear frame */
@media (max-width: 980px) {
  .mm-cat { border: 1.5px solid transparent; border-radius: 14px; transition: border-color .2s, background .2s; margin-bottom: 4px; }
  .mm-cat.open { border-color: var(--accent); background: var(--accent-soft); box-shadow: 0 8px 22px -14px rgba(42, 108, 240, .8); }
  .mm-cat.open > .mm-head { color: var(--accent); font-weight: 600; }
  .mm-cat.open > .mm-head em { background: var(--accent-strong); color: #fff; padding: 2px 8px; border-radius: 999px; }
}

.grp-grid, .product-grid:not(.is-grouped) { grid-auto-rows: 1fr; }

/* ===== everything clickable looks like a button ===== */
/* promotion bar: "claim offer" */
.promo-bar a { padding: 9px 16px; border-radius: 999px; color: #fff !important; background: linear-gradient(90deg, #E11D48, #F43F5E); box-shadow: 0 8px 18px -8px rgba(225, 29, 72, .8); white-space: nowrap; transition: transform .2s, filter .2s; }
.promo-bar a .ic { color: #fff; }
.promo-bar a:hover { transform: translateY(-1px); filter: brightness(1.08); }
/* "show all N models" next to each robot-type heading */
.grp-all { padding: 9px 16px; border-radius: 999px; background: var(--accent-soft); border: 1px solid rgba(61, 139, 255, .45); color: var(--accent); transition: background .2s, color .2s; }
.grp-all:hover { background: var(--accent-strong); color: #fff; }
.grp-all:hover .ic { color: #fff; }
/* mega menu + mobile menu: "all products" */
.mega-links a:last-child:not(.mega-brandlink) { justify-content: center; gap: 8px; margin-top: 8px; padding: 11px 14px; border-radius: 12px; background: var(--accent-strong); color: #fff !important; font-weight: 600; box-shadow: 0 8px 18px -10px rgba(42, 108, 240, .9); }
.mega-links a:last-child:not(.mega-brandlink):hover { background: var(--accent); }
@media (max-width: 980px) {
  .main-nav a.mm-all { justify-content: center; gap: 8px; margin: 10px 4px 4px; padding: 13px 14px; border-radius: 12px; background: var(--accent-strong); color: #fff !important; font-weight: 600; }
  .main-nav a.mm-all .ic { color: #fff; }
}
/* FAQ: a real LINE button */
.faq-line { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; padding: 11px 18px; border-radius: 12px; background: var(--line-green); color: #fff !important; font-weight: 600; box-shadow: 0 10px 22px -10px rgba(6, 199, 85, .7); }
.faq-line:hover { filter: brightness(1.08); }
.faq-line img { width: 22px; height: 22px; border-radius: 6px; }

/* special deal: the "ลด / OFF" word as big as the number deserves */
.spot-off { width: 118px; height: 118px; font-size: 2.3rem; }
.spot-off small { display: block; font-size: 22px !important; font-weight: 800 !important; letter-spacing: .02em; margin-bottom: -10px !important; }
@media (max-width: 640px) { .spot-off { width: 92px; height: 92px; font-size: 1.8rem; } .spot-off small { font-size: 18px !important; } }

/* ===== catalog card v2: tags never cover the robot, compact balanced body ===== */
.p-card { display: flex; flex-direction: column; }
.p-stage { aspect-ratio: auto; height: 250px; padding: 48px 20px 18px; }
.p-stage img { max-height: 100%; max-width: 100%; }
/* tags sit in a strip above the robot */
.p-cat { display: none; }
.p-tag { top: 12px; bottom: auto; left: 12px; }
.p-video { top: 12px; right: 12px; }
/* body: every block has a fixed rhythm so cards line up without big gaps */
.p-body { gap: 6px; padding: 16px 18px 18px; }
.p-body h3 { font-size: 1.18rem; line-height: 1.3; }
.p-body > p { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.9em; line-height: 1.45; }
.p-specs { min-height: calc(3 * 1.55em + 12px); gap: 3px; }
.p-specs li { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; }
.p-specs li .ic { display: inline-block; vertical-align: -2px; margin-right: 6px; }
.p-specs li span { white-space: nowrap; }
.p-card .price-tag { min-height: 64px; margin-top: 8px; align-content: center; }
.p-foot { display: grid; grid-template-columns: 1fr; gap: 10px; margin-top: auto; padding-top: 12px; }
.p-foot .badges { display: flex; gap: 6px; }
.p-foot .badges .badge { flex: 1; text-align: center; padding: 7px 8px; }
a.p-more { justify-content: center; width: 100%; padding: 10px 14px; }
/* tablets: two roomy columns instead of three narrow ones */
@media (min-width: 641px) and (max-width: 1100px) {
  .grp-grid, .product-grid:not(.is-grouped) { grid-template-columns: repeat(2, 1fr); }
  .grp-grid .p-card:nth-child(3) { display: none; }
  .p-stage { height: 280px; }
}
@media (max-width: 640px) {
  .p-stage { height: 190px; padding: 40px 10px 10px; }
  .p-specs { display: none; }
  .p-body > p { display: none; }
  .p-foot .badges { display: none; }
  a.p-more { padding: 9px 10px; font-size: 13px; }
}

/* ===== special-deal badge: "ลด" big and centred with the number ===== */
.spot-off { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; top: 20px; left: 20px; width: 136px; height: 136px; font-size: 2.8rem; line-height: 1; }
.spot-off small { display: block; margin: 0 !important; font-size: 28px !important; font-weight: 800 !important; line-height: 1; }
@media (max-width: 640px) { .spot-off { width: 104px; height: 104px; font-size: 2.1rem; top: 14px; left: 14px; } .spot-off small { font-size: 21px !important; } }

/* ===== robot finder: colourful in both themes ===== */
#finder { position: relative; background: radial-gradient(900px 420px at 15% 0%, rgba(61, 139, 255, .16), transparent 60%), radial-gradient(800px 380px at 90% 100%, rgba(16, 185, 129, .12), transparent 60%); }
.finder-card { position: relative; overflow: hidden; border: 1px solid rgba(61, 139, 255, .35); box-shadow: 0 30px 70px -40px rgba(42, 108, 240, .55); }
.finder-card::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 5px; background: linear-gradient(90deg, #2A6CF0, #22D3EE, #10B981, #F59E0B); }
.fq b { display: flex; align-items: center; gap: 10px; }
.fq b::before { content: attr(data-step); display: grid; place-items: center; width: 30px; height: 30px; flex: none; border-radius: 50%; color: #fff; font: 700 14px/1 var(--display); background: linear-gradient(135deg, #2A6CF0, #3D8BFF); box-shadow: 0 6px 14px -6px rgba(42, 108, 240, .8); }
.fq + .fq b::before { background: linear-gradient(135deg, #059669, #10B981); box-shadow: 0 6px 14px -6px rgba(16, 185, 129, .8); }
.fchips button { background: rgba(61, 139, 255, .06); border-color: rgba(61, 139, 255, .3); }
.fchips button:hover { background: rgba(61, 139, 255, .14); border-color: var(--accent); }
.fq + .fq .fchips button { background: rgba(16, 185, 129, .06); border-color: rgba(16, 185, 129, .35); }
.fq + .fq .fchips button:hover { background: rgba(16, 185, 129, .14); border-color: #10B981; }
.fq + .fq .fchips button[aria-pressed="true"] { background: linear-gradient(135deg, #059669, #10B981); border-color: #10B981; color: #fff; }
.fchips button[aria-pressed="true"] { box-shadow: 0 8px 18px -10px rgba(42, 108, 240, .9); }
.finder-out { border-top: 1px dashed rgba(61, 139, 255, .35); }
.finder-hint { padding: 18px; border-radius: 14px; background: linear-gradient(135deg, rgba(61, 139, 255, .08), rgba(16, 185, 129, .08)); color: var(--text); font-weight: 500; }
.finder-item { border-color: rgba(61, 139, 255, .25); }
/* light mode: tinted card instead of plain white */
[data-theme="light"] #finder { background: radial-gradient(900px 420px at 15% 0%, rgba(42, 108, 240, .12), transparent 60%), radial-gradient(800px 380px at 90% 100%, rgba(16, 185, 129, .12), transparent 60%), linear-gradient(180deg, #EEF4FF, #F3FBF8); }
[data-theme="light"] .finder-card { background: linear-gradient(180deg, #FFFFFF, #F7FAFF); }
[data-theme="light"] .finder-item { background: #fff; box-shadow: 0 10px 24px -18px rgba(15, 23, 42, .35); }

/* mobile menu: real colours on a white tile (the multiply blend darkened robots on the dark menu) */
.mm-list img { mix-blend-mode: normal !important; background: #fff; }
/* the open robot type already shows its models: hide its small picture, keep the title */
@media (max-width: 980px) {
  .mm-cat.open > .mm-head .cat-ph { display: none; }
  .mm-cat.open > .mm-head { padding-left: 14px; }
}

/* desktop product menu: taller than a notebook screen -> it scrolls inside itself so every brand is reachable */
.mega { max-height: calc(100vh - var(--header-h)); max-height: calc(100dvh - var(--header-h)); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: rgba(127, 140, 160, .5) transparent; }
.mega::-webkit-scrollbar { width: 8px; }
.mega::-webkit-scrollbar-thumb { background: rgba(127, 140, 160, .45); border-radius: 8px; }
.mega-inner { padding-bottom: 28px; }
