/* =====================================================================
   ES Service website  ·  brand: navy / deep blue / sky / cyan
   ===================================================================== */
:root {
  --navy-950: #050d1c;
  --navy-900: #081427;
  --navy-800: #0c1d3a;
  --navy-700: #13294f;
  --brand: #2d4d82;
  --blue: #003f8f;
  --blue-500: #0b5bd3;
  --sky: #1c7cb0;
  --cyan: #23a6d6;
  --cyan-300: #7fd3f2;
  --amber: #ffb81c;
  --line-green: #06c755;

  --ink: #0f1b2d;
  --ink-2: #2b3a52;
  --slate: #5a6678;
  --muted: #7a8699;
  --line: #e3e8ef;
  --surface: #f4f7fb;
  --paper: #ffffff;

  --r-sm: 10px;
  --r: 16px;
  --r-lg: 24px;
  --shadow-sm: 0 2px 8px rgba(15, 27, 45, .06);
  --shadow: 0 18px 40px -20px rgba(15, 27, 45, .25);
  --shadow-lg: 0 40px 80px -30px rgba(5, 13, 28, .45);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --hdr-h: 76px;
  --font: "IBM Plex Sans Thai", "Noto Sans Thai", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--hdr-h) + 12px); }
body {
  margin: 0; font-family: var(--font); font-size: 16.5px; line-height: 1.75; color: var(--ink);
  background: var(--paper); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3 { line-height: 1.3; margin: 0; font-weight: 700; letter-spacing: -.01em; text-wrap: balance; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
.ic { width: 1.25em; height: 1.25em; flex: none; }
.wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 20px; }
@media (min-width: 900px) { .wrap { padding: 0 40px; } }
.narrow { max-width: 880px; }
.center { text-align: center; margin-top: 36px; }
.muted { color: var(--slate); }
.h3 { font-size: 1.3rem; }
.nw { white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 2px; border-radius: 6px; }

/* ---------- buttons ---------- */
.btn {
  --bg: var(--blue); --fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  padding: .8em 1.35em; border-radius: 999px; border: 1.5px solid transparent;
  background: var(--bg); color: var(--fg); font-weight: 600; font-size: .95rem; line-height: 1.2;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .2s, color .2s, border-color .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn .ic { width: 1.15em; height: 1.15em; transition: transform .25s var(--ease); }
.btn:hover .ic:last-child { transform: translateX(2px); }
.btn-primary { background: linear-gradient(135deg, var(--blue-500), var(--blue)); box-shadow: 0 10px 24px -10px rgba(11, 91, 211, .7); }
.btn-primary:hover { box-shadow: 0 16px 30px -12px rgba(11, 91, 211, .85); }
.btn-line { --bg: var(--line-green); --line-cut: var(--line-green); box-shadow: 0 10px 24px -12px rgba(6, 199, 85, .7); }
.btn-line:hover { --bg: #05b34c; --line-cut: #05b34c; }
.btn-ghost { --bg: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .28); backdrop-filter: blur(6px); }
.btn-ghost:hover { --bg: rgba(255, 255, 255, .14); }
.btn-ghost-dark { --bg: transparent; --fg: var(--ink); border-color: var(--line); }
.btn-outline { --bg: #fff; --fg: var(--blue); border-color: #cfd9e8; }
.btn-outline:hover { border-color: var(--blue); }
.btn-sm { padding: .55em 1em; font-size: .88rem; }
.btn-lg { padding: .95em 1.6em; font-size: 1rem; }
.btn-block { width: 100%; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--blue); text-decoration: none; }
.link-arrow .ic { transition: transform .25s var(--ease); }
.link-arrow:hover .ic { transform: translateX(4px); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; font-size: .8rem; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase; color: var(--sky); margin-bottom: 14px;
}
.eyebrow .ic { width: 1.1em; height: 1.1em; }
.eyebrow-light { line-height: 1.4; color: var(--cyan-300); background: rgba(35, 166, 214, .1); border: 1px solid rgba(35, 166, 214, .25); padding: 6px 14px; border-radius: 999px; }

/* ---------- header ---------- */
.hdr { position: fixed; inset: 0 0 auto; z-index: 50; height: var(--hdr-h); color: #fff; transition: background .3s, box-shadow .3s, color .3s, height .3s; }
.hdr.solid { background: rgba(255, 255, 255, .92); backdrop-filter: saturate(1.4) blur(14px); color: var(--ink); box-shadow: 0 1px 0 var(--line), 0 10px 30px -20px rgba(15, 27, 45, .3); --hdr-h: 66px; }
.hdr-in { height: 100%; display: flex; align-items: center; gap: 24px; }
.brand { flex: none; display: block; position: relative; }
.brand img { height: 34px; width: auto; transition: opacity .3s; }
.brand .logo-dark { position: absolute; inset: 0; opacity: 0; }
.hdr.solid .logo-light { opacity: 0; }
.hdr.solid .logo-dark { opacity: 1; }
.nav { display: none; margin-left: auto; align-items: center; gap: 4px; }
.nav > a, .nav-drop > a { display: inline-flex; align-items: center; gap: 4px; padding: 8px 14px; border-radius: 999px; text-decoration: none; font-weight: 500; font-size: .95rem; opacity: .88; transition: background .2s, opacity .2s; }
.nav > a:hover, .nav-drop > a:hover, .nav a[aria-current] { opacity: 1; background: rgba(127, 211, 242, .14); }
.hdr.solid .nav > a:hover, .hdr.solid .nav-drop > a:hover, .hdr.solid .nav a[aria-current] { background: var(--surface); color: var(--blue); }
.ic-chev { width: 1em; height: 1em; transition: transform .2s; }
.nav-drop { position: relative; }
.nav-drop:hover .ic-chev, .nav-drop:focus-within .ic-chev { transform: rotate(180deg); }
.drop {
  position: absolute; top: calc(100% + 10px); left: 50%; width: 420px; transform: translate(-50%, 8px);
  background: #fff; color: var(--ink); border-radius: var(--r); padding: 10px; box-shadow: var(--shadow-lg); border: 1px solid var(--line);
  opacity: 0; visibility: hidden; transition: opacity .2s, transform .25s var(--ease), visibility .2s;
}
.drop::before { content: ""; position: absolute; inset: -12px 0 auto; height: 12px; }
.nav-drop:hover .drop, .nav-drop:focus-within .drop { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.drop a { display: flex; gap: 12px; padding: 10px 12px; border-radius: 12px; text-decoration: none; line-height: 1.45; }
.drop a:hover { background: var(--surface); }
.drop .ic { width: 38px; height: 38px; padding: 9px; border-radius: 10px; background: linear-gradient(135deg, #e8f3fb, #dbe9f7); color: var(--blue); }
.drop b { display: block; font-size: .92rem; }
.drop small { color: var(--slate); font-size: .8rem; }
.hdr-act { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.lang { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px; font-size: .82rem; font-weight: 600; text-decoration: none; border: 1px solid rgba(255, 255, 255, .25); }
.hdr.solid .lang { border-color: var(--line); }
.lang .ic { width: 1em; height: 1em; }
.burger { width: 44px; height: 44px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .25); background: transparent; display: grid; place-items: center; cursor: pointer; }
.hdr.solid .burger { border-color: var(--line); }
.burger span, .burger span::before, .burger span::after { display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .3s var(--ease), opacity .2s; position: relative; }
.burger span::before, .burger span::after { content: ""; position: absolute; left: 0; }
.burger span::before { top: -6px; } .burger span::after { top: 6px; }
.burger[aria-expanded="true"] span { background: transparent; }
.burger[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }
.hide-sm { display: none; }
.mnav { position: fixed; inset: var(--hdr-h) 0 0; background: #fff; color: var(--ink); padding: 16px 20px 110px; overflow: auto; animation: fadeDown .3s var(--ease); }
.mnav nav > a { display: block; padding: 14px 4px; font-size: 1.15rem; font-weight: 600; border-bottom: 1px solid var(--line); text-decoration: none; }
.m-subs { padding: 8px 0 8px 14px; border-bottom: 1px solid var(--line); }
.m-sub { display: block; padding: 8px 4px; color: var(--slate); text-decoration: none; font-size: .95rem; }
.m-cta { display: grid; gap: 10px; margin-top: 20px; }
@keyframes fadeDown { from { opacity: 0; transform: translateY(-8px); } }
@media (min-width: 1080px) {
  .nav { display: flex; }
  .burger { display: none; }
  .hide-sm { display: inline-flex; }
  .hdr-act { margin-left: 8px; }
}

/* ---------- hero (home) ---------- */
.hero, .phero { position: relative; color: #fff; background: var(--navy-900); overflow: hidden; isolation: isolate; }
.hero { min-height: min(100svh, 920px); display: flex; align-items: center; padding: calc(var(--hdr-h) + 40px) 0 90px; }
.hero-bg, .phero-bg { position: absolute; inset: 0; z-index: -1; }
.grid-bg {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(127, 211, 242, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(127, 211, 242, .07) 1px, transparent 1px);
  background-size: 56px 56px; mask-image: radial-gradient(ellipse 80% 70% at 60% 40%, #000 30%, transparent 80%);
}
.glow { position: absolute; inset: 0; background:
  radial-gradient(600px 400px at 78% 30%, rgba(35, 166, 214, .28), transparent 70%),
  radial-gradient(700px 500px at 10% 90%, rgba(11, 91, 211, .35), transparent 70%),
  linear-gradient(180deg, var(--navy-900), var(--navy-950)); z-index: -1; }
.traces { position: absolute; inset: 0; width: 100%; height: 100%; }
.traces path { fill: none; stroke-width: 1.5; }
.trace-base path { stroke: rgba(127, 211, 242, .14); }
.trace-flow path { stroke: var(--cyan); stroke-dasharray: 60 1400; stroke-linecap: round; filter: drop-shadow(0 0 6px var(--cyan)); animation: flow 6s linear infinite; }
.nodes circle { fill: var(--navy-900); stroke: var(--cyan); stroke-width: 2; animation: blink 3s ease-in-out infinite; }
.nodes circle:nth-child(2n) { animation-delay: -1.5s; }
@keyframes flow { from { stroke-dashoffset: 1460; } to { stroke-dashoffset: 0; } }
@keyframes blink { 50% { fill: var(--cyan); } }

.hero-in { display: grid; gap: 56px; align-items: center; }
@media (min-width: 1000px) { .hero-in { grid-template-columns: 1.05fr .95fr; gap: 40px; } }
@media (max-width: 999px) { .hero-visual { aspect-ratio: 1 / .9; max-width: 460px; } .hero { padding-bottom: 56px; } }
@media (max-width: 560px) { .eyebrow-light { font-size: .72rem; letter-spacing: .04em; } .hero h1 { font-size: 2rem; } .rotator { font-size: 1rem; } .lead { font-size: 1.02rem; } }
.hero h1 { font-size: clamp(2.1rem, 5.4vw, 3.6rem); line-height: 1.22; margin-bottom: 18px; }
.hl { background: linear-gradient(90deg, var(--cyan-300), var(--cyan) 50%, #58b8ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.rotator { display: flex; align-items: center; gap: 10px; font-size: 1.1rem; color: #b9c8de; margin-bottom: 16px; }
.rot { position: relative; display: inline-block; height: 1.7em; overflow: hidden; min-width: 12em; }
.rot b { position: absolute; left: 0; top: 0; color: var(--amber); font-weight: 600; white-space: nowrap; animation: rot 12.5s infinite; opacity: 0; }
.rot b:nth-child(2) { animation-delay: 2.5s; } .rot b:nth-child(3) { animation-delay: 5s; }
.rot b:nth-child(4) { animation-delay: 7.5s; } .rot b:nth-child(5) { animation-delay: 10s; }
@keyframes rot { 0% { opacity: 0; transform: translateY(100%); } 4%, 18% { opacity: 1; transform: none; } 22%, 100% { opacity: 0; transform: translateY(-100%); } }
.lead { font-size: 1.1rem; color: #c3d0e3; max-width: 38em; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 30px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .9rem; color: #b9c8de; }
.hero-trust li { display: inline-flex; align-items: center; gap: 8px; }
.hero-trust .ic { color: var(--cyan); }

.hero-visual { position: relative; aspect-ratio: 1 / 1; max-width: 560px; width: 100%; margin: 0 auto; perspective: 1200px; }
.hv-card { position: absolute; border-radius: 22px; overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid rgba(255, 255, 255, .12); background: var(--navy-800); transition: transform .5s var(--ease); }
.hv-card img { width: 100%; height: 100%; object-fit: cover; }
.hv-main { left: 22%; top: 4%; width: 56%; height: 78%; z-index: 2; }
.hv-2 { left: 0; bottom: 6%; width: 44%; height: 36%; z-index: 3; }
.hv-3 { right: 0; top: 16%; width: 38%; height: 30%; z-index: 1; }
.hv-3::after { content: ""; position: absolute; inset: 45% 0 0; background: linear-gradient(180deg, transparent, rgba(5, 13, 28, .75)); pointer-events: none; }
.hv-tag { position: absolute; left: 10px; bottom: 9px; z-index: 1; font-size: .72rem; font-weight: 600; color: #fff; letter-spacing: .02em; }
.hv-light { background: #eef4fb; border-color: rgba(255, 255, 255, .6); }
.hv-badge { position: absolute; z-index: 4; display: flex; align-items: center; gap: 10px; background: rgba(255, 255, 255, .96); color: var(--ink); border-radius: 16px; padding: 12px 16px; box-shadow: var(--shadow); animation: bob 6s ease-in-out infinite; }
.hv-badge b { font-size: 1.7rem; color: var(--blue); line-height: 1; }
.hv-badge span { font-size: .78rem; line-height: 1.3; color: var(--slate); font-weight: 500; }
.hv-badge small { color: var(--muted); }
.hv-badge .ic { width: 34px; height: 34px; padding: 7px; border-radius: 10px; background: #e7f4fb; color: var(--sky); }
.hv-b1 { right: 4%; bottom: 14%; }
.hv-b2 { left: 6%; top: 10%; animation-delay: -3s; }
.hv-pulse { position: absolute; left: 50%; top: 45%; width: 70%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; border: 1px solid rgba(35, 166, 214, .35); animation: pulse 4s ease-out infinite; z-index: 0; }
@keyframes bob { 50% { transform: translateY(-10px); } }
@keyframes pulse { from { transform: translate(-50%, -50%) scale(.6); opacity: 1; } to { transform: translate(-50%, -50%) scale(1.4); opacity: 0; } }
.scroll-cue { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); width: 26px; height: 42px; border: 2px solid rgba(255, 255, 255, .3); border-radius: 20px; display: none; }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; background: var(--cyan); border-radius: 2px; animation: cue 1.8s ease-in-out infinite; }
@keyframes cue { 60% { transform: translateY(12px); opacity: 0; } }
@media (min-width: 1000px) { .scroll-cue { display: block; } }

/* ---------- page hero ---------- */
.phero { padding: calc(var(--hdr-h) + 48px) 0 64px; }
.phero-in { display: grid; gap: 40px; align-items: center; }
@media (min-width: 960px) { .phero-in { grid-template-columns: 1.15fr .85fr; gap: 56px; } .phero { padding: calc(var(--hdr-h) + 64px) 0 88px; } }
.phero-in.single { grid-template-columns: 1fr; max-width: 900px; }
.phero h1 { font-size: clamp(1.9rem, 4.4vw, 3rem); margin-bottom: 16px; }
.phero h1 small { display: block; font-size: .5em; color: #9fb2cc; font-weight: 500; margin-top: 8px; }
.phero-media { border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid rgba(255, 255, 255, .12); aspect-ratio: 4 / 3; }
.phero-media img { width: 100%; height: 100%; object-fit: cover; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: .85rem; color: #9fb2cc; margin-bottom: 18px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: #fff; }
.crumbs i { font-style: normal; opacity: .5; }
.crumbs [aria-current] { color: #fff; }

/* ---------- marquee ---------- */
.marquee { background: var(--navy-950); color: #9fb2cc; border-top: 1px solid rgba(255, 255, 255, .06); display: flex; align-items: center; overflow: hidden; }
.mq-label { flex: none; display: none; padding: 0 28px; font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: var(--cyan-300); border-right: 1px solid rgba(255, 255, 255, .08); }
@media (min-width: 900px) { .mq-label { display: block; } }
.mq-track { display: flex; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.mq-row { display: flex; flex: none; animation: mq 40s linear infinite; }
.mq-row span { display: inline-flex; align-items: center; gap: 10px; padding: 20px 28px; white-space: nowrap; font-size: .95rem; font-weight: 500; }
.mq-row .ic { color: var(--sky); }
.marquee:hover .mq-row { animation-play-state: paused; }
@keyframes mq { to { transform: translateX(-100%); } }

/* ---------- sections ---------- */
.sec { padding: 80px 0; }
.sec-sm { padding: 56px 0; }
@media (min-width: 900px) { .sec { padding: 112px 0; } .sec-sm { padding: 64px 0; } }
.sec-tint { background: var(--surface); }
.sec-dark { background: radial-gradient(800px 500px at 90% 0%, rgba(35, 166, 214, .2), transparent 70%), var(--navy-900); color: #fff; }
.sec-head { max-width: 720px; margin-bottom: 48px; }
.sec-head h2, .intro h2, .why h2, .prose h2, .q-card h2 { font-size: clamp(1.65rem, 3.2vw, 2.4rem); margin-bottom: 14px; }
.sec-head p { color: var(--slate); font-size: 1.05rem; }
.sec-head-row { max-width: none; display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 20px; }

/* intro + stats */
.intro { display: grid; gap: 48px; align-items: center; }
@media (min-width: 960px) { .intro { grid-template-columns: 1fr 1fr; gap: 72px; } }
.intro-copy p { color: var(--ink-2); }
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.stat { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 26px 22px; position: relative; overflow: hidden; transition: transform .3s var(--ease), box-shadow .3s; }
.sec-tint .stat { background: #fff; }
.stat::after { content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 100%; background: linear-gradient(90deg, var(--blue-500), var(--cyan)); transform: scaleX(.25); transform-origin: left; transition: transform .6s var(--ease); }
.stat:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.stat:hover::after { transform: scaleX(1); }
.stat b { display: block; font-size: clamp(2rem, 4vw, 2.8rem); line-height: 1.1; color: var(--blue); font-variant-numeric: tabular-nums; }
.stat > span { color: var(--slate); font-size: .92rem; }
.sec-tint .stats { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 900px) { .sec-tint .stats { grid-template-columns: repeat(4, 1fr); } }

/* service cards */
.svc-grid { display: grid; gap: 20px; }
@media (min-width: 680px) { .svc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .svc-grid { grid-template-columns: repeat(6, 1fr); } .svc-card { grid-column: span 2; } .svc-card:nth-child(4), .svc-card:nth-child(5) { grid-column: span 3; } }
.svc-card { display: flex; flex-direction: column; background: #fff; border-radius: var(--r-lg); overflow: hidden; text-decoration: none; border: 1px solid var(--line); transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .3s; }
.svc-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: #cfe0f2; }
.svc-img { aspect-ratio: 16 / 10; overflow: hidden; background: var(--navy-800); }
.svc-card:nth-child(4) .svc-img, .svc-card:nth-child(5) .svc-img { aspect-ratio: 16 / 8; }
.svc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.svc-card:hover .svc-img img { transform: scale(1.06); }
.svc-body { position: relative; padding: 34px 26px 26px; flex: 1; display: flex; flex-direction: column; }
.svc-ic { position: absolute; top: -26px; left: 24px; width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: linear-gradient(135deg, var(--blue-500), var(--blue)); color: #fff; box-shadow: 0 12px 24px -10px rgba(0, 63, 143, .7); }
.svc-ic .ic { width: 26px; height: 26px; }
.svc-body h3 { font-size: 1.2rem; margin-bottom: 8px; }
.svc-body p { color: var(--slate); font-size: .95rem; flex: 1; }
.more { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; font-weight: 600; color: var(--blue); font-size: .92rem; }
.more .ic { transition: transform .25s var(--ease); }
.svc-card:hover .more .ic { transform: translateX(4px); }

/* why */
.why { display: grid; gap: 48px; align-items: center; }
@media (min-width: 960px) { .why { grid-template-columns: .95fr 1.05fr; gap: 72px; } }
.why-media { position: relative; border-radius: var(--r-lg); overflow: visible; }
.why-media > img { border-radius: var(--r-lg); width: 100%; aspect-ratio: 4 / 3.2; object-fit: cover; box-shadow: var(--shadow); }
.why-float { position: absolute; right: -8px; bottom: -22px; background: var(--navy-900); color: #fff; padding: 18px 22px; border-radius: var(--r); box-shadow: var(--shadow-lg); max-width: 240px; }
.why-float b { display: block; font-size: 1.8rem; color: var(--cyan-300); line-height: 1.1; }
.why-float span { font-size: .85rem; color: #c3d0e3; }
.why-copy > p { color: var(--ink-2); }
.why-list { display: grid; gap: 14px; margin-top: 12px; }
.why-list li { display: flex; gap: 16px; padding: 18px; border-radius: var(--r); border: 1px solid var(--line); background: #fff; transition: border-color .3s, box-shadow .3s, transform .3s var(--ease); }
.why-list li:hover { border-color: #cfe0f2; box-shadow: var(--shadow-sm); transform: translateX(4px); }
.why-list .ic { width: 44px; height: 44px; padding: 10px; border-radius: 12px; background: #e8f3fb; color: var(--blue); }
.why-list h3 { font-size: 1.05rem; margin-bottom: 2px; }
.why-list p { font-size: .93rem; color: var(--slate); }

/* finder (quick quiz) */
.finder-wrap { display: grid; gap: 40px; align-items: center; }
@media (min-width: 960px) { .finder-wrap { grid-template-columns: .9fr 1.1fr; gap: 64px; } }
.finder-intro h2 { font-size: clamp(1.65rem, 3.2vw, 2.4rem); margin-bottom: 12px; }
.finder-intro p { color: #b9c8de; }
.finder { position: relative; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .1); border-radius: var(--r-lg); padding: 30px; backdrop-filter: blur(10px); min-height: 330px; overflow: hidden; }
.f-progress { height: 4px; background: rgba(255, 255, 255, .08); border-radius: 4px; margin-bottom: 24px; overflow: hidden; }
.f-progress i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--cyan), var(--amber)); transition: width .5s var(--ease); }
.f-step { display: none; animation: stepIn .45s var(--ease); }
.f-step.on { display: block; }
@keyframes stepIn { from { opacity: 0; transform: translateX(24px); } }
.f-step h3 { font-size: 1.25rem; margin-bottom: 18px; display: flex; align-items: center; gap: 10px; }
.f-step h3 span { font-size: .78rem; color: var(--cyan-300); background: rgba(35, 166, 214, .14); padding: 3px 10px; border-radius: 999px; }
.f-step h3 .ic { color: var(--line-green); width: 28px; height: 28px; }
.f-opts { display: grid; gap: 10px; }
@media (min-width: 560px) { .f-opts { grid-template-columns: 1fr 1fr; } }
.f-opts button { text-align: left; padding: 15px 18px; border-radius: 14px; border: 1px solid rgba(255, 255, 255, .14); background: rgba(255, 255, 255, .03); color: #fff; cursor: pointer; font-weight: 500; transition: background .2s, border-color .2s, transform .2s var(--ease); }
.f-opts button:hover { background: rgba(35, 166, 214, .16); border-color: var(--cyan); transform: translateY(-2px); }
.f-summary { color: #c3d0e3; background: rgba(0, 0, 0, .2); border-radius: 12px; padding: 14px 16px; font-size: .95rem; }
.f-final { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }
.f-reset { margin-top: 14px; background: none; border: 0; color: #9fb2cc; text-decoration: underline; cursor: pointer; font-size: .88rem; }

/* process */
.steps { position: relative; display: grid; gap: 18px; counter-reset: s; }
@media (min-width: 960px) { .steps { grid-template-columns: repeat(5, 1fr); gap: 16px; padding-top: 34px; }
  .steps-4 { grid-template-columns: repeat(4, 1fr); } }
.steps-bar { display: none; }
@media (min-width: 960px) {
  .steps-bar { display: block; position: absolute; top: 0; left: 10%; right: 10%; height: 3px; background: var(--line); border-radius: 3px; }
  .steps-bar i { display: block; height: 100%; width: var(--p, 0%); background: linear-gradient(90deg, var(--blue-500), var(--cyan)); border-radius: 3px; transition: width .2s linear; box-shadow: 0 0 12px rgba(35, 166, 214, .6); }
}
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 24px 22px; position: relative; transition: transform .3s var(--ease), box-shadow .3s; }
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.step-n { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--navy-900); color: var(--cyan-300); font-weight: 700; font-size: .95rem; margin-bottom: 14px; box-shadow: 0 0 0 6px #fff, 0 0 0 7px var(--line); }
@media (min-width: 960px) { .step-n { position: absolute; top: -56px; left: 50%; transform: translateX(-50%); margin: 0; } .step { text-align: center; padding-top: 26px; } }
.sec-tint .step-n { box-shadow: 0 0 0 6px var(--surface), 0 0 0 7px var(--line); }
.step h3 { font-size: 1.02rem; margin-bottom: 6px; }
.step p { font-size: .9rem; color: var(--slate); }

/* gallery */
.chips { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; margin-bottom: 26px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; padding: 9px 18px; border-radius: 999px; border: 1px solid var(--line); background: #fff; cursor: pointer; font-weight: 500; font-size: .92rem; color: var(--slate); transition: all .2s; }
.chip:hover { border-color: var(--sky); color: var(--blue); }
.chip.on { background: var(--navy-900); color: #fff; border-color: var(--navy-900); }
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
@media (min-width: 760px) { .gallery { grid-template-columns: repeat(3, 1fr); gap: 18px; } }
.g-item { margin: 0; position: relative; }
.g-item.hide { display: none; }
.g-open { display: block; width: 100%; padding: 0; border: 0; border-radius: var(--r); overflow: hidden; cursor: zoom-in; position: relative; aspect-ratio: 4 / 3; background: var(--navy-800); }
.g-open img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease), filter .4s; }
.g-open::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(5, 13, 28, .6)); opacity: 0; transition: opacity .3s; }
.g-open:hover img { transform: scale(1.07); }
.g-open:hover::after { opacity: 1; }
.g-zoom { position: absolute; right: 12px; bottom: 12px; z-index: 1; width: 38px; height: 38px; border-radius: 50%; background: #fff; color: var(--blue); display: grid; place-items: center; transform: scale(.6); opacity: 0; transition: all .3s var(--ease); }
.g-open:hover .g-zoom { transform: none; opacity: 1; }
.g-item figcaption { padding: 10px 2px 0; font-size: .9rem; font-weight: 500; line-height: 1.45; }
.g-cat { display: block; font-size: .72rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--sky); }
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(5, 13, 28, .94); display: grid; place-items: center; padding: 60px 16px; animation: fade .25s; }
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; max-width: 1100px; width: 100%; text-align: center; }
.lightbox img { max-height: 78vh; width: auto; margin: 0 auto; border-radius: 12px; box-shadow: var(--shadow-lg); }
.lightbox figcaption { color: #d7e1ee; margin-top: 14px; }
.lb-btn { position: absolute; width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .2); background: rgba(255, 255, 255, .06); color: #fff; cursor: pointer; display: grid; place-items: center; }
.lb-btn:hover { background: rgba(255, 255, 255, .16); }
.lb-close { top: 16px; right: 16px; }
.lb-prev { left: 12px; top: 50%; transform: translateY(-50%) rotate(180deg); }
.lb-next { right: 12px; top: 50%; transform: translateY(-50%); }
@keyframes fade { from { opacity: 0; } }

/* industries */
.inds { display: grid; gap: 14px; }
@media (min-width: 640px) { .inds { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .inds { grid-template-columns: repeat(5, 1fr); } }
.ind { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 24px 22px; transition: transform .3s var(--ease), box-shadow .3s, border-color .3s; }
.ind:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #cfe0f2; }
.ind-n { font-size: .8rem; font-weight: 700; color: var(--sky); }
.ind h3 { font-size: 1.05rem; margin: 6px 0; }
.ind p { font-size: .88rem; color: var(--slate); }

/* faq */
.faq { display: grid; gap: 12px; }
.faq details { border: 1px solid var(--line); border-radius: var(--r); background: #fff; transition: border-color .3s, box-shadow .3s; }
.faq details[open] { border-color: #cfe0f2; box-shadow: var(--shadow-sm); }
.faq summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 22px; cursor: pointer; font-weight: 600; font-size: 1.02rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ic { width: 30px; height: 30px; padding: 6px; border-radius: 50%; background: var(--surface); color: var(--blue); transition: transform .3s var(--ease), background .3s; }
.faq details[open] summary .ic { transform: rotate(45deg); background: var(--blue); color: #fff; }
.faq-a { padding: 0 22px 22px; color: var(--ink-2); }

/* cta band */
.cta-band { background: linear-gradient(120deg, var(--blue) 0%, var(--navy-800) 60%, var(--navy-900) 100%); color: #fff; position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; right: -120px; top: -120px; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(35, 166, 214, .35), transparent 70%); }
.cta-in { position: relative; padding: 72px 20px; display: grid; gap: 28px; align-items: center; }
@media (min-width: 900px) { .cta-in { grid-template-columns: 1.2fr 1fr; padding: 88px 40px; } }
.cta-in h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); margin-bottom: 10px; }
.cta-in p { color: #c3d0e3; }
.cta-btns { display: flex; flex-wrap: wrap; gap: 12px; }
@media (min-width: 900px) { .cta-btns { justify-content: flex-end; } }

/* service page */
.split { display: grid; gap: 40px; align-items: start; }
@media (min-width: 960px) { .split { grid-template-columns: 1.4fr .8fr; gap: 64px; } }
.prose p { color: var(--ink-2); font-size: 1.04rem; }
.prose .h3 { margin: 32px 0 16px; }
.types { display: flex; flex-wrap: wrap; gap: 10px; }
.types li { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-weight: 500; font-size: .93rem; }
.types .ic { color: var(--amber); width: 1.05em; height: 1.05em; }
.facts { position: sticky; top: calc(var(--hdr-h) + 20px); background: var(--navy-900); color: #fff; border-radius: var(--r-lg); padding: 30px; box-shadow: var(--shadow-lg); display: grid; gap: 16px; }
.facts ul { display: grid; gap: 14px; }
.facts li { display: flex; gap: 12px; align-items: center; color: #d7e1ee; font-size: .95rem; }
.facts li .ic { color: var(--cyan); width: 22px; height: 22px; }
.facts-phone { display: inline-flex; justify-content: center; align-items: center; gap: 8px; color: #fff; text-decoration: none; font-weight: 600; }
.dl { display: grid; grid-template-columns: auto 1fr; gap: 10px 18px; margin: 0; font-size: .93rem; }
.dl dt { color: #9fb2cc; }
.dl dd { margin: 0; color: #fff; }
.feats { display: grid; gap: 16px; }
@media (min-width: 680px) { .feats { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .feats { grid-template-columns: repeat(3, 1fr); } }
.feat { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 26px; transition: transform .3s var(--ease), box-shadow .3s; }
.feat:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.feat-ic { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: linear-gradient(135deg, #e8f3fb, #d6e8f7); color: var(--blue); margin-bottom: 14px; }
.feat h3 { font-size: 1.05rem; margin-bottom: 6px; }
.feat p { font-size: .93rem; color: var(--slate); }
.rels { display: grid; gap: 12px; margin-top: 20px; }
@media (min-width: 760px) { .rels { grid-template-columns: repeat(4, 1fr); } }
.rel { display: flex; align-items: center; gap: 12px; padding: 16px 18px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); text-decoration: none; font-weight: 600; font-size: .93rem; transition: all .25s var(--ease); }
.rel span { flex: 1; }
.rel .ic:first-child { color: var(--blue); }
.rel .ic:last-child { color: var(--muted); transition: transform .25s; }
.rel:hover { border-color: var(--sky); transform: translateY(-2px); }
.rel:hover .ic:last-child { transform: translateX(3px); color: var(--blue); }

/* services hub */
.pillars { display: grid; gap: 16px; margin-bottom: 72px; }
@media (min-width: 860px) { .pillars { grid-template-columns: repeat(3, 1fr); } }
.pillar { padding: 28px; border-radius: var(--r-lg); background: var(--surface); border-top: 4px solid var(--brand); }
.pillar:nth-child(2) { border-top-color: var(--blue-500); }
.pillar:nth-child(3) { border-top-color: var(--cyan); }
.kick { font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; color: var(--slate); font-weight: 600; }
.pillar h2 { margin: 8px 0; }
.pillar p { color: var(--slate); font-size: .95rem; }
.svc-rows { display: grid; gap: 64px; }
.svc-row { display: grid; gap: 28px; align-items: center; }
@media (min-width: 900px) { .svc-row { grid-template-columns: 1fr 1fr; gap: 64px; } .svc-row.flip .svc-row-img { order: 2; } }
.svc-row-img { display: block; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 3; box-shadow: var(--shadow); }
.svc-row-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.svc-row-img:hover img { transform: scale(1.05); }
.svc-row-body { position: relative; }
.svc-row-body .svc-ic { position: static; margin-bottom: 18px; }
.svc-row-body h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); margin-bottom: 12px; }
.svc-row-body h2 a { text-decoration: none; }
.svc-row-body p { color: var(--ink-2); }
.ticks { display: grid; gap: 8px; margin: 18px 0 24px; }
@media (min-width: 560px) { .svc-row .ticks { grid-template-columns: 1fr 1fr; } }
.ticks li { display: flex; gap: 8px; align-items: flex-start; font-size: .95rem; }
.ticks .ic { color: var(--line-green); margin-top: .3em; width: 1.05em; height: 1.05em; }


/* contact */
.channels { display: grid; gap: 14px; margin-bottom: 56px; }
@media (min-width: 860px) { .channels { grid-template-columns: repeat(3, 1fr); } }
.channel { display: flex; align-items: center; gap: 16px; padding: 22px; border-radius: var(--r-lg); border: 1px solid var(--line); background: #fff; text-decoration: none; transition: all .3s var(--ease); }
.channel:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #cfe0f2; }
.channel > .ic:first-child { width: 52px; height: 52px; padding: 13px; border-radius: 14px; background: #e8f3fb; color: var(--blue); }
.channel > span { flex: 1; min-width: 0; }
.channel b { display: block; font-size: 1.05rem; overflow-wrap: anywhere; }
.channel small { color: var(--slate); font-size: .86rem; }
.channel > .ic:last-child { color: var(--muted); }
.ch-line { background: var(--line-green); color: #fff; border-color: var(--line-green); }
.ch-line > .ic:first-child { background: rgba(255, 255, 255, .2); color: #fff; --line-cut: var(--line-green); }
.ch-line small, .ch-line > .ic:last-child { color: rgba(255, 255, 255, .85); }
.contact-grid { display: grid; gap: 32px; align-items: start; }
@media (min-width: 1000px) { .contact-grid { grid-template-columns: 1.3fr .9fr; gap: 40px; } }
.q-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px 22px; box-shadow: var(--shadow); }
@media (min-width: 700px) { .q-card { padding: 40px; } }
.c-side { display: grid; gap: 16px; position: sticky; top: calc(var(--hdr-h) + 20px); }
.c-box { background: var(--surface); border-radius: var(--r-lg); padding: 26px; }
.c-box h3 { display: flex; align-items: center; gap: 10px; font-size: 1.05rem; margin-bottom: 10px; }
.c-box h3 .ic { color: var(--blue); }
.map { border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 3; background: var(--surface); border: 1px solid var(--line); }
.map iframe { width: 100%; height: 100%; border: 0; }

/* form */
.qform { margin-top: 24px; position: relative; }
.q-grid { display: grid; gap: 16px; }
@media (min-width: 640px) { .q-grid { grid-template-columns: 1fr 1fr; } .fld-full { grid-column: 1 / -1; } }
.fld span { display: block; font-size: .88rem; font-weight: 600; margin-bottom: 6px; color: var(--ink-2); }
.fld em { color: #d13c3c; font-style: normal; }
.fld input, .fld select, .fld textarea {
  width: 100%; font: inherit; font-size: 1rem; padding: 12px 14px; border-radius: 12px; border: 1.5px solid var(--line); background: #fbfcfe; color: var(--ink);
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.fld textarea { resize: vertical; min-height: 120px; }
.fld input:focus, .fld select:focus, .fld textarea:focus { outline: none; border-color: var(--sky); background: #fff; box-shadow: 0 0 0 4px rgba(35, 166, 214, .15); }
.fld.bad input, .fld.bad select { border-color: #d13c3c; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.consent { display: flex; gap: 10px; align-items: flex-start; margin: 18px 0 22px; font-size: .88rem; color: var(--slate); }
.consent input { margin-top: .35em; width: 18px; height: 18px; accent-color: var(--blue); flex: none; }
.consent.bad { color: #d13c3c; }
.qform button[disabled] { opacity: .7; pointer-events: none; }
.q-err { color: #d13c3c; margin-top: 12px; font-weight: 500; }
.q-ok { text-align: center; padding: 30px 10px; animation: stepIn .4s var(--ease); }
.q-ok-ic { display: inline-grid; place-items: center; width: 70px; height: 70px; border-radius: 50%; background: #e3f8ec; color: var(--line-green); margin-bottom: 14px; }
.q-ok-ic .ic { width: 36px; height: 36px; }
.q-ok h3 { font-size: 1.3rem; margin-bottom: 8px; }
.qform.done > :not(.q-ok) { display: none; }

/* footer */
.ftr { background: var(--navy-950); color: #9fb2cc; padding: 72px 0 110px; font-size: .93rem; }
@media (min-width: 900px) { .ftr { padding-bottom: 32px; } }
.ftr-grid { display: grid; gap: 40px; }
@media (min-width: 760px) { .ftr-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1080px) { .ftr-grid { grid-template-columns: 1.4fr 1fr .7fr 1.2fr; gap: 48px; } }
.ftr-brand img { height: 36px; width: auto; margin-bottom: 18px; }
.ftr h3 { color: #fff; font-size: .95rem; margin-bottom: 16px; }
.ftr ul { display: grid; gap: 10px; }
.ftr a { text-decoration: none; transition: color .2s; }
.ftr a:hover { color: #fff; }
.ftr-contact li { display: flex; gap: 10px; align-items: flex-start; }
.ftr-contact .ic { color: var(--cyan); margin-top: .25em; --line-cut: var(--navy-950); }
.ftr-contact small { color: #7185a3; }
.socs { display: flex; gap: 10px; margin-top: 20px; }
.soc { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: rgba(255, 255, 255, .06); color: #fff; --line-cut: #1a2a44; transition: background .2s, transform .2s; }
.soc:hover { background: var(--blue-500); transform: translateY(-2px); --line-cut: var(--blue-500); }
.ftr-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: .84rem; color: #7185a3; }

/* floating contact (desktop) + bottom bar (mobile) */
.fab { position: fixed; right: 22px; bottom: 22px; z-index: 60; display: none; flex-direction: column; align-items: flex-end; gap: 10px; }
@media (min-width: 900px) { .fab { display: flex; } }
.fab-btn { position: relative; width: 62px; height: 62px; border-radius: 50%; border: 0; cursor: pointer; background: linear-gradient(135deg, var(--blue-500), var(--blue)); color: #fff; display: grid; place-items: center; box-shadow: 0 16px 30px -10px rgba(0, 63, 143, .8); transition: transform .3s var(--ease); }
.fab-btn:hover { transform: scale(1.06); }
.fab-btn .ic { width: 28px; height: 28px; }
.fab-close { display: none; }
.fab.open .fab-open { display: none; }
.fab.open .fab-close { display: block; }
.fab-ping { position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--blue-500); animation: ping 2.4s ease-out infinite; }
.fab.open .fab-ping { display: none; }
@keyframes ping { from { transform: scale(1); opacity: .8; } to { transform: scale(1.6); opacity: 0; } }
.fab-list { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.fab-item { display: flex; align-items: center; gap: 10px; padding: 10px 16px 10px 12px; border-radius: 999px; background: #fff; color: var(--ink); text-decoration: none; font-weight: 600; font-size: .9rem; box-shadow: var(--shadow); opacity: 0; transform: translateY(12px) scale(.9); pointer-events: none; transition: all .3s var(--ease); }
.fab.open .fab-item { opacity: 1; transform: none; pointer-events: auto; }
.fab.open .fab-item:nth-last-child(2) { transition-delay: .04s; }
.fab.open .fab-item:nth-last-child(3) { transition-delay: .08s; }
.fab.open .fab-item:nth-last-child(4) { transition-delay: .12s; }
.fab-item .ic { width: 34px; height: 34px; padding: 7px; border-radius: 50%; color: #fff; }
.fab-line .ic { background: var(--line-green); --line-cut: var(--line-green); color: #fff; padding: 5px; }
.fab-fb .ic { background: #1877f2; }
.fab-ig .ic { background: linear-gradient(45deg, #f58529, #dd2a7b, #8134af); }
.fab-phone .ic { background: var(--blue); }
.mbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: grid; grid-template-columns: 1fr 1fr 1.4fr; gap: 8px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .96); backdrop-filter: blur(12px); box-shadow: 0 -8px 24px -12px rgba(15, 27, 45, .3); }
@media (min-width: 900px) { .mbar { display: none; } }
.mbar a { display: flex; align-items: center; justify-content: center; gap: 6px; padding: 11px 6px; border-radius: 12px; text-decoration: none; font-weight: 600; font-size: .88rem; background: var(--surface); color: var(--ink); }
.mbar .mbar-line { background: var(--line-green); color: #fff; --line-cut: var(--line-green); }
.mbar .mbar-quote { background: var(--blue); color: #fff; }

/* knowledge articles */
.art-grid { display: grid; gap: 20px; }
@media (min-width: 700px) { .art-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .art-grid { grid-template-columns: repeat(3, 1fr); } }
.art-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; text-decoration: none; transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .3s; }
.art-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: #cfe0f2; }
.art-img { aspect-ratio: 16 / 9; overflow: hidden; background: var(--navy-800); }
.art-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.art-card:hover .art-img img { transform: scale(1.05); }
.art-body { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.art-meta { font-size: .8rem; color: var(--sky); font-weight: 600; margin-bottom: 8px; }
.art-body h3 { font-size: 1.12rem; line-height: 1.45; margin-bottom: 8px; }
.art-body p { color: var(--slate); font-size: .93rem; flex: 1; }
.art-card:hover .more .ic { transform: translateX(4px); }
.art-byline { display: flex; align-items: center; gap: 8px; margin-top: 18px; font-size: .9rem; color: #9fb2cc; }
.art-byline .ic { color: var(--cyan); }
.phero-art h1 { font-size: clamp(1.7rem, 3.8vw, 2.6rem); }
.sec-art { padding-top: 48px; }
.art-layout { display: grid; gap: 40px; align-items: start; }
.art-layout > * { min-width: 0; }  /* lets wide tables scroll inside the column instead of widening the page */
@media (min-width: 1040px) { .art-layout { grid-template-columns: minmax(0, 760px) 300px; justify-content: space-between; gap: 56px; } }
.art-hero { margin: 0 0 36px; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 16 / 9; }
.art-hero img { width: 100%; height: 100%; object-fit: cover; }
.art-prose { font-size: 1.06rem; line-height: 1.9; color: var(--ink-2); }
.art-prose h2 { font-size: clamp(1.35rem, 2.6vw, 1.7rem); color: var(--ink); margin: 48px 0 16px; padding-top: 8px; scroll-margin-top: calc(var(--hdr-h) + 20px); }
.art-prose h3 { font-size: 1.15rem; color: var(--ink); margin: 28px 0 10px; }
.art-prose p { margin: 0 0 1.1em; }
.art-prose ul, .art-prose ol { margin: 0 0 1.3em; padding-left: 1.4em; }
.art-prose ul { list-style: disc; }
.art-prose ol { list-style: decimal; }
.art-prose li { margin-bottom: .55em; padding-left: .2em; }
.art-prose li::marker { color: var(--sky); font-weight: 700; }
.art-prose a { color: var(--blue); font-weight: 600; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.art-prose strong { color: var(--ink); }
.art-prose table { width: 100%; border-collapse: collapse; margin: 8px 0 28px; font-size: .95rem; display: block; overflow-x: auto; }
.art-prose th, .art-prose td { padding: 12px 14px; border: 1px solid var(--line); text-align: left; vertical-align: top; line-height: 1.6; }
.art-prose thead th { background: var(--navy-900); color: #fff; font-weight: 600; white-space: nowrap; }
.art-prose tbody tr:nth-child(even) td { background: var(--surface); }
.art-prose .formula { background: var(--navy-900); color: var(--cyan-300); font-weight: 600; text-align: center; padding: 16px 20px; border-radius: var(--r); font-size: 1.05rem; }
.art-prose .note { background: #fff8e6; border-left: 4px solid var(--amber); border-radius: 0 var(--r) var(--r) 0; padding: 18px 20px; margin: 0 0 1.3em; font-size: .98rem; }
.art-cta { display: grid; gap: 18px; align-items: center; margin: 48px 0 0; padding: 28px; border-radius: var(--r-lg); background: linear-gradient(120deg, var(--blue), var(--navy-800)); color: #fff; }
.art-cta p { color: #c3d0e3; margin: 6px 0 0; }
@media (min-width: 700px) { .art-cta { grid-template-columns: 1fr auto; } }
.art-faq { margin-top: 56px; }
.art-faq > h2 { font-size: 1.5rem; margin-bottom: 18px; }
.art-side { display: grid; gap: 18px; }
@media (min-width: 1040px) { .art-side { position: sticky; top: calc(var(--hdr-h) + 20px); } }
.toc { border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px; background: #fff; }
.toc-h { font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--slate); margin-bottom: 12px; }
.toc ol { list-style: none; counter-reset: t; display: grid; gap: 4px; }
.toc li { counter-increment: t; }
.toc a { display: flex; gap: 10px; padding: 7px 8px; border-radius: 8px; text-decoration: none; font-size: .9rem; line-height: 1.5; color: var(--ink-2); transition: background .2s, color .2s; }
.toc a::before { content: counter(t, decimal-leading-zero); color: var(--sky); font-weight: 700; font-size: .78rem; margin-top: .15em; }
.toc a:hover, .toc a.on { background: var(--surface); color: var(--blue); }
.side-cta { border-radius: var(--r-lg); padding: 22px; background: var(--navy-900); color: #fff; display: grid; gap: 10px; }
.side-cta h3 { font-size: 1.05rem; }
.side-cta p { color: #b9c8de; font-size: .9rem; margin: 0 0 4px; }
.side-cta .btn-ghost-dark { --fg: #fff; border-color: rgba(255, 255, 255, .25); }
@media (max-width: 1039px) { .side-cta { display: none; } }

/* video loops */
.vid { display: block; width: 100%; height: 100%; object-fit: cover; background: var(--navy-800); }
.hv-main .vid { cursor: pointer; }
.muted-light { color: #b9c8de !important; }
.reels { display: grid; grid-auto-flow: column; grid-auto-columns: 72%; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; scrollbar-width: none; }
.reels::-webkit-scrollbar { display: none; }
@media (min-width: 640px) { .reels { grid-auto-columns: 42%; } }
@media (min-width: 1000px) { .reels { grid-auto-flow: row; grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); overflow: visible; } }
.reel { position: relative; margin: 0; aspect-ratio: 9 / 16; border-radius: var(--r-lg); overflow: hidden; scroll-snap-align: start; border: 1px solid rgba(255, 255, 255, .12); box-shadow: var(--shadow-lg); cursor: pointer; }
.reel .vid { transition: transform .8s var(--ease); }
.reel:hover .vid { transform: scale(1.04); }
.reel figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 16px 16px; color: #fff; font-weight: 600; font-size: .92rem; line-height: 1.45; background: linear-gradient(180deg, transparent, rgba(5, 13, 28, .85)); }
.reel::before { content: ""; position: absolute; top: 14px; left: 14px; z-index: 1; width: 8px; height: 8px; border-radius: 50%; background: #ff4d4d; box-shadow: 0 0 0 4px rgba(255, 77, 77, .25); opacity: 0; transition: opacity .3s; }
.reel.playing::before { opacity: 1; animation: blink 1.6s ease-in-out infinite; }

/* brands */
.brands { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.brands li { padding: 10px 18px; border-radius: 12px; background: #fff; border: 1px solid var(--line); font-weight: 600; font-size: .95rem; letter-spacing: .02em; color: var(--ink-2); transition: transform .25s var(--ease), border-color .25s, color .25s, box-shadow .25s; }
.brands li:hover { transform: translateY(-3px); border-color: var(--sky); color: var(--blue); box-shadow: var(--shadow-sm); }
.sec-tint .brands li { background: #fff; }

/* cookie consent */
.cc { position: fixed; left: 12px; right: 12px; bottom: 84px; z-index: 70; max-width: 560px; background: #fff; color: var(--ink); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow-lg); padding: 16px 18px; font-size: .88rem; line-height: 1.6; animation: stepIn .35s var(--ease); }
.cc[hidden] { display: none; }
.cc a { color: var(--blue); }
.cc-btns { display: flex; justify-content: flex-end; gap: 8px; margin-top: 12px; }
@media (min-width: 900px) { .cc { left: 22px; right: auto; bottom: 22px; } }
.cc-open { background: none; border: 0; padding: 0; color: inherit; cursor: pointer; font: inherit; text-decoration: underline; }
.consent a { color: var(--blue); }

/* legal pages */
.legal h2 { font-size: 1.25rem; margin: 36px 0 12px; }
.legal p, .legal li { color: var(--ink-2); }
.legal ul { list-style: disc; padding-left: 1.3em; margin: 0 0 1em; }
.legal li { margin-bottom: 6px; }
.legal .muted { font-size: .9rem; }

/* scroll reveal */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); transition-delay: var(--d, 0ms); }
.js .reveal.in { opacity: 1; transform: none; }
/* first screen animates on load, never waits for scrolling */
.js .hero .reveal, .js .phero .reveal { opacity: 1; transform: none; transition: none; animation: rise .7s var(--ease) both; animation-delay: var(--d, 0ms); }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  .rot b:first-child { opacity: 1; transform: none; }
}
