/* =====================================================================
   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; } }

