/* =====================================================================
   Insightians — design system
   Colours from the logo: navy · blue · orange→amber
   Layout language: warm cream sections, rounded cards, pill badges
   ===================================================================== */

:root {
    /* brand */
    --navy-900: #071634;
    --navy-800: #0b1e4a;
    --navy-700: #13296b;
    --blue-600: #1167d8;
    --blue-500: #1673e6;
    --blue-100: #e6f0fd;
    --blue-50:  #f2f7fe;
    --orange-600: #e85d0c;
    --orange-500: #f26a12;
    --amber-400: #f9a31b;
    --orange-100: #fff0e3;

    /* surfaces */
    --cream: #f3f9ff;
    --cream-2: #eaf4ff;
    --white: #ffffff;
    --line: #e8ebf3;
    --line-warm: #f2e4d6;

    /* text */
    --ink: #0b1e4a;
    --text: #344063;
    --muted: #5f6b86;

    /* effects */
    --grad-warm: linear-gradient(135deg, var(--amber-400), var(--orange-500));
    --grad-sky: linear-gradient(180deg, #62bcff 0%, #2b8cf0 55%, #1673e6 100%);
    --grad-mix: linear-gradient(135deg, #5cc2ff 0%, #2b8cf0 40%, #f9a31b 78%, #f26a12 100%);
    --bg-sky-orange:
        radial-gradient(ellipse 70% 60% at 30% 105%, rgba(92, 194, 255, .50), rgba(92, 194, 255, 0) 70%),
        radial-gradient(ellipse 45% 55% at 100% 0%, rgba(249, 163, 27, .30), rgba(249, 163, 27, 0) 70%),
        radial-gradient(ellipse 40% 45% at 0% 20%, rgba(22, 115, 230, .12), rgba(22, 115, 230, 0) 70%),
        linear-gradient(180deg, #ffffff 0%, #f2f8ff 100%);
    --grad-blue: linear-gradient(135deg, var(--blue-500), var(--navy-700));
    --shadow-sm: 0 1px 2px rgba(11, 30, 74, .06), 0 2px 8px rgba(11, 30, 74, .05);
    --shadow-md: 0 10px 30px -12px rgba(11, 30, 74, .18);
    --shadow-lg: 0 24px 60px -20px rgba(11, 30, 74, .28);
    --r-sm: 10px;
    --r-md: 16px;
    --r-lg: 24px;
    --r-pill: 999px;

    /* type */
    --font-head: "Helvetica Neue", Helvetica, Arial, "Liberation Sans", sans-serif;
    --font-body: "Helvetica Neue", Helvetica, Arial, "Liberation Sans", sans-serif;

    /* spacing */
    --container: 1200px;
    --gutter: 20px;
    --section: clamp(64px, 9vw, 112px);

    --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
html, body { overflow-x: clip; }
body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.65;
    color: var(--text);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--blue-600); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--navy-800); }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.02em; font-weight: 700; }
h1 { font-size: clamp(2.3rem, 5.2vw, 3.9rem); font-weight: 700; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.7rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 600; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--amber-400); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--amber-400); color: var(--navy-900); }

.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--navy-800); color: #fff; padding: 10px 16px; border-radius: var(--r-sm); }
.skip-link:focus { top: 12px; color: #fff; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section) 0; }
.section-cream { background: radial-gradient(ellipse 50% 60% at 100% 100%, rgba(249, 163, 27, .14), rgba(249, 163, 27, 0) 70%), linear-gradient(180deg, #f2f8ff 0%, #e9f4ff 100%); }
.section-blue { background: radial-gradient(ellipse 55% 65% at 0% 100%, rgba(249, 163, 27, .12), rgba(249, 163, 27, 0) 70%), radial-gradient(ellipse 60% 70% at 100% 0%, rgba(92, 194, 255, .28), rgba(92, 194, 255, 0) 70%), linear-gradient(180deg, #eef7ff, #f9fcff); }
.ic { width: 24px; height: 24px; flex: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Pill badge & headings ---------- */
.badge {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 5px 14px; border-radius: var(--r-pill);
    background: var(--grad-warm); color: #fff;
    font: 600 .75rem/1.4 var(--font-body); letter-spacing: .04em; text-transform: uppercase;
    box-shadow: 0 6px 16px -8px var(--orange-500);
}
.badge-soft { background: var(--orange-100); color: var(--orange-600); box-shadow: none; }
.badge-blue { background: var(--blue-100); color: var(--blue-600); box-shadow: none; }
.hl { color: var(--blue-500); }
.hl-warm { background: linear-gradient(90deg, #3aa8ff 0%, #1673e6 55%, #0b4fb3 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sec-head { max-width: 720px; margin: 0 auto 48px; text-align: center; }
.sec-head .badge { margin-bottom: 14px; }
.sec-head p { color: var(--muted); font-size: 1.075rem; margin: 0; }
.sec-head.left { margin-left: 0; text-align: left; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    min-height: 48px; padding: 12px 24px; border-radius: var(--r-pill); border: 2px solid transparent;
    font: 600 .975rem/1 var(--font-body); text-decoration: none; cursor: pointer;
    transition: transform .2s var(--ease), box-shadow .2s var(--ease), background-color .2s, color .2s, border-color .2s;
}
.btn .ic { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.btn:hover .ic { transform: translateX(3px); }
.btn-primary { background: var(--grad-sky); color: #fff; box-shadow: 0 12px 28px -10px rgba(22, 115, 230, .7), inset 0 1px 0 rgba(255, 255, 255, .4); }
.btn-primary:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 18px 36px -12px rgba(22, 115, 230, .85), inset 0 1px 0 rgba(255, 255, 255, .4); }
.btn-warm { background: var(--grad-warm); color: #fff; box-shadow: 0 12px 28px -10px var(--orange-500), inset 0 1px 0 rgba(255, 255, 255, .35); }
.btn-warm:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 16px 28px -12px var(--orange-500); }
.btn-dark { background: var(--navy-800); color: #fff; }
.btn-dark:hover { background: var(--blue-500); color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink); color: var(--ink); }
.btn-white { background: #fff; color: var(--navy-800); }
.btn-white:hover { color: var(--blue-600); transform: translateY(-2px); }
.btn-sm { min-height: 40px; padding: 8px 18px; font-size: .9rem; }
.btn-play {
    display: inline-flex; align-items: center; gap: 12px; color: var(--ink); font-weight: 600; text-decoration: none; min-height: 48px;
}
.btn-play span.circle { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--grad-warm); color: #fff; box-shadow: 0 8px 18px -8px var(--orange-500); }
.btn-play .ic { width: 18px; height: 18px; }
.btn-play:hover { color: var(--blue-600); }

/* ---------- Header ---------- */
.topbar { background: var(--navy-800); color: #c9d4ee; font-size: .85rem; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 40px; flex-wrap: wrap; }
.topbar a { color: #fff; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.topbar a:hover { color: var(--amber-400); }
.topbar .ic { width: 15px; height: 15px; }
.topbar .tb-links { display: flex; gap: 20px; flex-wrap: wrap; }

.site-header {
    position: sticky; top: 0; z-index: 50;
    background: rgba(255, 255, 255, .92);
    backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px);
    border-bottom: 1px solid transparent;
    transition: box-shadow .25s, border-color .25s;
}
.site-header.scrolled { box-shadow: var(--shadow-sm); border-color: var(--line); }
.nav-wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 76px; }
.logo { display: inline-flex; flex: none; }
.logo img { width: 220px; height: auto; }
.main-nav ul { list-style: none; display: flex; align-items: center; gap: 4px; }
.main-nav a {
    display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: var(--r-pill);
    color: var(--ink); text-decoration: none; font-weight: 500; font-size: .96rem; position: relative;
}
.main-nav a:hover { color: var(--blue-600); background: var(--blue-50); }
.main-nav a[aria-current="page"] { color: var(--orange-600); }
.main-nav a[aria-current="page"]::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--orange-500); margin-right: 8px; }
.nav-cta { display: flex; align-items: center; gap: 10px; }
.icon-btn {
    display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
    background: var(--orange-100); color: var(--orange-600); border: 0; cursor: pointer; text-decoration: none;
}
.icon-btn:hover { background: var(--orange-500); color: #fff; }
.icon-btn .ic { width: 20px; height: 20px; }
.nav-toggle { display: none; background: var(--blue-50); color: var(--ink); }

@media (max-width: 1080px) {
    .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: #fff; }
    .nav-toggle { display: grid; }
    .main-nav {
        position: fixed; inset: 0 0 0 auto; width: min(340px, 86vw); z-index: 60;
        background: #fff; box-shadow: var(--shadow-lg); padding: 88px 20px 24px;
        display: none; overflow-y: auto;
    }
    .main-nav.open { display: block; animation: slideIn .3s var(--ease); }
    .main-nav ul { flex-direction: column; align-items: stretch; gap: 2px; }
    .main-nav a { width: 100%; padding: 0 16px; border-radius: var(--r-sm); font-size: 1.05rem; }
    .nav-close { position: absolute; top: 18px; right: 18px; }
    .nav-backdrop { position: fixed; inset: 0; background: rgba(7, 22, 52, .45); z-index: 55; opacity: 0; pointer-events: none; transition: opacity .3s; }
    .nav-backdrop.show { opacity: 1; pointer-events: auto; }
    .nav-cta .btn-quote { display: none; }
}
.nav-mobile-cta { margin-top: 20px; display: grid; gap: 10px; }
@media (min-width: 1081px) { .nav-close, .nav-backdrop, .nav-mobile-cta { display: none; } }

/* ---------- Hero ---------- */
.hero {
    position: relative; overflow: hidden;
    background:
        var(--bg-sky-orange);
    padding: clamp(48px, 7vw, 88px) 0 clamp(56px, 8vw, 96px);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.hero h1 { margin: 18px 0 20px; }
.hero h1 .hl-warm { display: inline-block; }
.hero .lead { font-size: 1.15rem; color: var(--muted); max-width: 560px; margin-bottom: 32px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: center; }
.hero-trust { display: flex; gap: 22px; flex-wrap: wrap; margin-top: 36px; color: var(--ink); font-weight: 500; font-size: .95rem; }
.hero-trust span { display: inline-flex; align-items: center; gap: 8px; }
.hero-trust .ic { width: 20px; height: 20px; color: var(--blue-500); }

.hero-visual { position: relative; justify-self: center; width: min(100%, 470px); }
.hero-visual .blob {
    position: absolute; inset: 8% -4% -2% 6%; border-radius: 46% 54% 40% 60% / 52% 44% 56% 48%;
    background: var(--grad-mix); opacity: .95;
}
.hero-visual .ring { position: absolute; right: -6%; top: 2%; width: 120px; height: 120px; border-radius: 50%; border: 14px solid var(--blue-500); opacity: .14; }
.hero-photo {
    position: relative; border-radius: 36% 36% var(--r-lg) var(--r-lg); overflow: hidden; aspect-ratio: 4 / 5;
    box-shadow: var(--shadow-lg); background: var(--cream-2);
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.float-card {
    position: absolute; display: flex; align-items: center; gap: 12px;
    background: rgba(255, 255, 255, .85); border: 1px solid #fff; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-radius: var(--r-md); padding: 12px 16px; box-shadow: 0 18px 40px -18px rgba(22, 115, 230, .45);
    font-size: .875rem; color: var(--ink); line-height: 1.3;
    animation: floaty 6s ease-in-out infinite;
}
.float-card strong { display: block; font-family: var(--font-head); font-size: 1.05rem; }
.float-card small { color: var(--muted); }
.float-card .fc-ic { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; flex: none; }
.float-card .fc-ic .ic { width: 22px; height: 22px; }
.fc-1 { left: -14%; top: 18%; }
.fc-1 .fc-ic { background: var(--blue-100); color: var(--blue-600); }
.fc-2 { right: -10%; bottom: 14%; animation-delay: -3s; }
.fc-2 .fc-ic { background: var(--orange-100); color: var(--orange-600); }
.fc-3 { left: -6%; bottom: 4%; animation-delay: -1.5s; }
.fc-3 .fc-ic { background: #e9f8ef; color: #18864b; }
@keyframes slideIn { from { transform: translateX(100%); } to { transform: none; } }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* soft grid pattern over hero gradients */
.hero::before, .page-hero::before {
    content: ""; position: absolute; inset: 0; pointer-events: none;
    background-image: linear-gradient(rgba(22, 115, 230, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(22, 115, 230, .07) 1px, transparent 1px);
    background-size: 44px 44px;
    -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%);
            mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%);
}
.hero > .container, .page-hero > .container { position: relative; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
    position: relative; overflow: hidden; text-align: center;
    background:
        var(--bg-sky-orange);
    padding: clamp(48px, 7vw, 80px) 0 clamp(48px, 6vw, 72px);
}
.page-hero h1 { font-size: clamp(2rem, 4.4vw, 3.2rem); margin: 14px auto 14px; max-width: 860px; }
.page-hero p.lead { color: var(--muted); font-size: 1.1rem; max-width: 700px; margin: 0 auto; }
.page-hero .hero-actions { justify-content: center; margin-top: 28px; }
.crumbs { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; list-style: none; font-size: .9rem; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: #b9c0d1; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--blue-600); text-decoration: underline; }
.crumbs [aria-current] { color: var(--orange-600); font-weight: 500; }

/* ---------- Mission + stats ---------- */
.mission { text-align: center; max-width: 880px; margin: 0 auto; }
.mission .badge { margin-bottom: 18px; }
.mission p { font-family: var(--font-head); font-size: clamp(1.25rem, 2.4vw, 1.7rem); line-height: 1.45; color: var(--ink); font-weight: 500; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 44px; }
.stat { display: flex; align-items: center; gap: 14px; justify-content: center; text-align: left; }
.stat strong { font-family: var(--font-head); font-size: clamp(2rem, 4vw, 2.8rem); color: var(--ink); line-height: 1; }
.stat strong em { font-style: normal; color: var(--orange-500); }
.stat span { font-size: .9rem; color: var(--muted); line-height: 1.35; max-width: 130px; }

/* ---------- Tool marquee ---------- */
.tools-strip { border-block: 1px solid var(--line); background: #fff; overflow: hidden; }
.tools-track { display: flex; gap: 44px; padding: 22px 0; width: max-content; animation: marquee 40s linear infinite; }
.tools-strip:hover .tools-track { animation-play-state: paused; }
.tools-track span { font-family: var(--font-head); font-weight: 600; font-size: 1.15rem; color: #8b94ab; white-space: nowrap; display: inline-flex; align-items: center; gap: 44px; }
.tools-track span::after { content: "✦"; color: var(--amber-400); font-size: .8rem; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Service cards ---------- */
.svc-toolbar { display: flex; justify-content: space-between; align-items: end; gap: 20px; flex-wrap: wrap; margin-bottom: 36px; }
.svc-toolbar h2 { margin: 12px 0 0; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.svc-card {
    position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line);
    border-radius: var(--r-md); padding: 28px; text-decoration: none; color: var(--text);
    transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s;
}
.svc-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; color: var(--text); }
.svc-card .svc-ic {
    display: grid; place-items: center; width: 60px; height: 60px; border-radius: 18px; margin-bottom: 20px;
    background: var(--blue-100); color: var(--blue-600); transition: background .25s, color .25s;
}
.svc-card.tone-orange .svc-ic { background: var(--orange-100); color: var(--orange-600); }
.svc-card:hover .svc-ic { background: var(--grad-blue); color: #fff; }
.svc-card.tone-orange:hover .svc-ic { background: var(--grad-warm); }
.svc-card .svc-ic .ic { width: 28px; height: 28px; }
.svc-card h3 { margin-bottom: 4px; font-size: 1.22rem; }
.svc-card .svc-sub { display: inline-block; font-size: .85rem; font-weight: 600; color: var(--orange-600); margin-bottom: 12px; }
.svc-card p { color: var(--muted); font-size: .95rem; margin-bottom: 20px; }
.svc-card .more { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--blue-600); font-size: .93rem; }
.svc-card .more .ic { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.svc-card:hover .more .ic { transform: translateX(4px); }
.svc-num { position: absolute; top: 22px; right: 24px; font-family: var(--font-head); font-weight: 700; font-size: 1.6rem; color: #eef1f7; }

/* ---------- Audience / category cards ---------- */
.cat-card {
    display: flex; gap: 18px; align-items: flex-start; background: #fff; border-radius: var(--r-md);
    padding: 24px; border: 1px solid var(--line-warm); transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.cat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.cat-card .cat-ic { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; flex: none; background: var(--cream); color: var(--orange-600); }
.cat-card:nth-child(even) .cat-ic { background: var(--blue-50); color: var(--blue-600); }
.cat-card h3 { font-size: 1.08rem; margin-bottom: 4px; }
.cat-card p { margin: 0; font-size: .92rem; color: var(--muted); }

/* ---------- Split / why us ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split.reverse > :first-child { order: 2; }
.media-frame { position: relative; }
.media-frame .photo { border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4 / 3; background: var(--cream-2); }
.media-frame .photo img { width: 100%; height: 100%; object-fit: cover; }
.media-frame::before {
    content: ""; position: absolute; inset: auto -18px -18px auto; width: 62%; height: 62%; z-index: -1;
    border-radius: var(--r-lg); background: var(--grad-mix); opacity: .9;
}
.media-frame .stat-chip {
    position: absolute; left: -20px; bottom: 28px; background: #fff; border-radius: var(--r-md); padding: 14px 18px;
    box-shadow: var(--shadow-md); display: flex; align-items: center; gap: 12px; color: var(--ink); font-size: .85rem; line-height: 1.3;
}
.media-frame .stat-chip strong { display: block; font-family: var(--font-head); font-size: 1.4rem; }
.media-frame .stat-chip .chip-ic { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--orange-100); color: var(--orange-600); }
.split h2 { margin-top: 14px; }
.split .lead { color: var(--muted); font-size: 1.05rem; }
.reasons { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 24px; margin: 28px 0 32px; }
.reason { display: flex; gap: 14px; }
.reason .r-ic { display: grid; place-items: center; width: 44px; height: 44px; flex: none; border-radius: 12px; background: var(--blue-100); color: var(--blue-600); }
.reason .r-ic .ic { width: 22px; height: 22px; }
.reason h3 { font-size: 1rem; margin: 2px 0 2px; }
.reason p { margin: 0; font-size: .9rem; color: var(--muted); }
.checklist { list-style: none; display: grid; gap: 12px; margin: 0 0 24px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink); }
.checklist .ic { width: 22px; height: 22px; color: #fff; background: var(--blue-500); border-radius: 50%; padding: 4px; margin-top: 2px; }
.checklist.warm .ic { background: var(--grad-warm); }
.checklist.cols-2 { grid-template-columns: 1fr 1fr; gap: 14px 28px; }

/* ---------- Process steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; position: relative; }
.step { position: relative; background: #fff; border-radius: var(--r-md); padding: 28px 24px; text-align: center; border: 1px solid var(--line); }
.step .st-ic { position: relative; display: grid; place-items: center; width: 72px; height: 72px; margin: 0 auto 18px; border-radius: 50%; background: var(--blue-50); color: var(--blue-600); }
.step .st-ic .ic { width: 30px; height: 30px; }
.step .st-ic::after {
    counter-increment: step; content: counter(step);
    position: absolute; top: -4px; right: -4px; width: 28px; height: 28px; border-radius: 50%;
    background: var(--grad-warm); color: #fff; font: 700 .85rem/28px var(--font-head); text-align: center;
}
.step h3 { font-size: 1.08rem; }
.step p { font-size: .92rem; color: var(--muted); margin: 0; }

/* ---------- Process steps: animated flow ---------- */
.steps.flow.reveal { opacity: 1; transform: none; }               /* container only triggers, never fades */
.steps.flow .step { z-index: 1; transition-delay: calc(var(--i) * .18s); transition-property: opacity, transform, box-shadow, border-color; }
.steps.flow .step:hover { border-color: #cfe2fb; box-shadow: 0 18px 40px -22px rgba(17,103,216,.45); transform: translateY(-4px); transition-delay: 0s; }
.steps.flow .st-ic { z-index: 3; background: #fff; box-shadow: inset 0 0 0 8px var(--blue-50), 0 0 0 1px #e3eefc; transition: transform .4s var(--ease); }
.steps.flow .step:hover .st-ic { transform: scale(1.06); }
.steps.flow .st-ic::after { transform: scale(0); transition: transform .5s cubic-bezier(.34,1.56,.64,1); transition-delay: calc(.45s + var(--i) * .45s); }
.steps.flow.in .st-ic::after { transform: scale(1); }
.st-pulse { position: absolute; inset: 0; border-radius: 50%; pointer-events: none; }
.steps.flow.in .st-pulse { animation: stepPulse 4s ease-out infinite; animation-delay: calc(2s + var(--i) * 1s); }
@keyframes stepPulse {
    0%   { box-shadow: 0 0 0 0 rgba(43,140,240,.45); background: rgba(43,140,240,.10); }
    18%  { box-shadow: 0 0 0 16px rgba(43,140,240,0); background: rgba(43,140,240,.0); }
    100% { box-shadow: 0 0 0 16px rgba(43,140,240,0); }
}
.flow-track {
    position: absolute; z-index: 2; height: 3px; top: 63px;
    left: calc((100% - 72px) / 8); right: calc((100% - 72px) / 8);
    border-radius: 3px; pointer-events: none;
    background: repeating-linear-gradient(90deg, #cfe2fb 0 8px, transparent 8px 16px);
    background-size: 32px 3px; animation: flowDash 1.2s linear infinite;
    /* gaps where the icon circles sit, so the line runs between icons, not over them */
    --g: 40px;
    -webkit-mask-image: linear-gradient(90deg, transparent 0 var(--g), #000 var(--g) calc(33.333% - var(--g)), transparent calc(33.333% - var(--g)) calc(33.333% + var(--g)), #000 calc(33.333% + var(--g)) calc(66.666% - var(--g)), transparent calc(66.666% - var(--g)) calc(66.666% + var(--g)), #000 calc(66.666% + var(--g)) calc(100% - var(--g)), transparent calc(100% - var(--g)));
            mask-image: linear-gradient(90deg, transparent 0 var(--g), #000 var(--g) calc(33.333% - var(--g)), transparent calc(33.333% - var(--g)) calc(33.333% + var(--g)), #000 calc(33.333% + var(--g)) calc(66.666% - var(--g)), transparent calc(66.666% - var(--g)) calc(66.666% + var(--g)), #000 calc(66.666% + var(--g)) calc(100% - var(--g)), transparent calc(100% - var(--g)));
    height: 20px; margin-top: -8.5px; background-position: 0 center; background-repeat: repeat-x;
}
@keyframes flowDash { to { background-position: 32px center; } }
.flow-fill { position: absolute; left: 0; right: 0; top: 8.5px; height: 3px; border-radius: inherit; background: linear-gradient(90deg, #62bcff, #1673e6 55%, #f97316); transform: scaleX(0); transform-origin: left; transition: transform 2s var(--ease) .3s; }
.steps.flow.in .flow-fill { transform: scaleX(1); }
.flow-dot { position: absolute; top: 50%; left: 0; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: #fff; border: 3px solid var(--orange-500); box-shadow: 0 0 0 4px rgba(249,115,22,.18), 0 4px 10px rgba(249,115,22,.4); opacity: 0; }
.steps.flow.in .flow-dot { animation: flowDot 4s cubic-bezier(.45,.05,.55,.95) 2s infinite; }
@keyframes flowDot {
    0%   { left: 0;    opacity: 0; }
    6%   { opacity: 1; }
    75%  { left: 100%; opacity: 1; }
    85%, 100% { left: 100%; opacity: 0; }
}
@media (max-width: 1080px) { .flow-track { display: none; } }
@media (max-width: 640px) {
    .steps.flow { gap: 34px; }
    .steps.flow .step:not(:last-child)::after {
        content: ""; position: absolute; left: 50%; bottom: -34px; width: 3px; height: 34px; margin-left: -1.5px;
        background: repeating-linear-gradient(180deg, #62bcff 0 6px, transparent 6px 12px); background-size: 3px 24px;
        animation: flowDashV 1s linear infinite;
    }
}
@keyframes flowDashV { to { background-position: 0 24px; } }
@media (prefers-reduced-motion: reduce) {
    .flow-dot, .st-pulse { display: none; }
    .flow-fill, .steps.flow .st-ic::after { transform: none !important; }
}

/* ---------- Quote / note band ---------- */
.note-card {
    position: relative; max-width: 900px; margin: 0 auto; background: #fff; border-radius: var(--r-lg);
    padding: clamp(32px, 5vw, 56px); text-align: center; box-shadow: var(--shadow-md);
}
.note-card::before { content: ""; position: absolute; top: -18px; right: -14px; width: 56px; height: 56px; border-radius: 50%; background: var(--blue-500); }
.note-card .q-mark { width: 52px; height: 52px; margin: 0 auto 18px; border-radius: 50%; display: grid; place-items: center; background: var(--orange-100); color: var(--orange-600); }
.note-card p { font-family: var(--font-head); font-size: clamp(1.15rem, 2.2vw, 1.45rem); line-height: 1.5; color: var(--ink); }
.note-card .sig { font-family: var(--font-body); font-size: .95rem; color: var(--muted); margin: 0; }

/* ---------- FAQ ---------- */
.faq-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 72px); align-items: start; }
.faq-wrap .sticky { position: sticky; top: 110px; }
.faq-list { display: grid; gap: 12px; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); transition: border-color .2s, box-shadow .2s; }
.faq-item[open] { border-color: transparent; box-shadow: var(--shadow-md); }
.faq-item summary {
    list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px;
    padding: 18px 22px; min-height: 56px; font-weight: 600; color: var(--ink); font-size: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .ic { width: 22px; height: 22px; padding: 3px; border-radius: 50%; background: var(--cream); color: var(--orange-600); transition: transform .25s var(--ease), background .25s; }
.faq-item[open] summary .ic { transform: rotate(45deg); background: var(--grad-warm); color: #fff; }
.faq-item .faq-a { padding: 0 22px 20px; color: var(--muted); }
.faq-item .faq-a p:last-child { margin: 0; }

/* ---------- Dual CTA ---------- */
.dual-cta { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.cta-card { border-radius: var(--r-lg); padding: clamp(28px, 4vw, 44px); display: flex; gap: 20px; align-items: flex-start; flex-direction: column; }
.cta-card .cta-ic { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 18px; }
.cta-card .cta-ic .ic { width: 30px; height: 30px; }
.cta-card h3 { font-size: 1.45rem; margin: 0; }
.cta-card p { margin: 0; }
.cta-light { background: #fff; border: 1px solid var(--line); }
.cta-light .cta-ic { background: var(--orange-100); color: var(--orange-600); }
.cta-light p { color: var(--muted); }
.cta-dark { background: var(--grad-blue); color: #dbe6ff; position: relative; overflow: hidden; }
.cta-dark::after { content: ""; position: absolute; right: -60px; bottom: -60px; width: 220px; height: 220px; border-radius: 50%; background: radial-gradient(circle, rgba(249, 163, 27, .55), rgba(249, 163, 27, 0) 70%); }
.cta-dark h3 { color: #fff; }
.cta-dark .cta-ic { background: rgba(255, 255, 255, .14); color: #fff; }
.cta-dark > * { position: relative; z-index: 1; }

/* ---------- Service detail ---------- */
.detail-grid { display: grid; grid-template-columns: 1fr 380px; gap: 48px; align-items: start; }
.prose h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-top: 1.6em; }
.prose h2:first-child { margin-top: 0; }
.prose p { font-size: 1.05rem; }
.prose .media-frame { margin: 8px 0 40px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; }
.chips li { padding: 8px 16px; border-radius: var(--r-pill); background: var(--blue-50); color: var(--navy-700); font-weight: 500; font-size: .92rem; border: 1px solid var(--blue-100); }
.aside-stack { display: grid; gap: 24px; position: sticky; top: 104px; }
.aside-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px; box-shadow: var(--shadow-sm); }
.aside-card h2, .aside-card h3 { font-size: 1.25rem; }
.aside-card.warm { background: var(--cream); border-color: var(--line-warm); }
.aside-list { list-style: none; display: grid; gap: 4px; }
.aside-list a { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 44px; padding: 8px 12px; border-radius: var(--r-sm); text-decoration: none; color: var(--ink); font-weight: 500; font-size: .95rem; }
.aside-list a:hover { background: var(--blue-50); color: var(--blue-600); }
.aside-list a[aria-current="page"] { background: var(--grad-warm); color: #fff; }
.aside-list .ic { width: 16px; height: 16px; }

.prose .steps { grid-template-columns: repeat(2, 1fr); margin-bottom: 8px; }
@media (max-width: 640px) { .prose .steps { grid-template-columns: 1fr; } }

/* ---------- Forms ---------- */
.form { display: grid; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 600; font-size: .9rem; color: var(--ink); }
.field .opt { color: var(--muted); font-weight: 400; }
.field input, .field select, .field textarea {
    width: 100%; min-height: 48px; padding: 12px 14px; border-radius: var(--r-sm);
    border: 1.5px solid #d9deea; background: #fff; color: var(--ink); font: inherit; font-size: 1rem;
    transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue-500); box-shadow: 0 0 0 4px rgba(22, 115, 230, .15); }
.field .hint { font-size: .82rem; color: var(--muted); }
.form .consent { font-size: .82rem; color: var(--muted); margin: 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.alert { padding: 14px 16px; border-radius: var(--r-sm); margin: 0; font-weight: 500; display: flex; gap: 10px; align-items: flex-start; }
.alert .ic { width: 20px; height: 20px; margin-top: 2px; }
.alert.ok { background: #e9f8ef; color: #136b3c; }
.alert.err { background: #fdecec; color: #a02424; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 32px; align-items: start; }
.contact-cards { display: grid; gap: 16px; }
.c-card { display: flex; gap: 16px; align-items: flex-start; background: #fff; border-radius: var(--r-md); padding: 20px 22px; border: 1px solid var(--line); text-decoration: none; color: var(--text); }
a.c-card:hover { border-color: var(--blue-500); color: var(--text); }
.c-card .c-ic { display: grid; place-items: center; width: 48px; height: 48px; flex: none; border-radius: 14px; background: var(--blue-100); color: var(--blue-600); }
.c-card.warm .c-ic { background: var(--orange-100); color: var(--orange-600); }
.c-card.green .c-ic { background: #e6f7ec; color: #18864b; }
.c-card h3 { font-size: 1rem; margin: 0 0 2px; }
.c-card p { margin: 0; color: var(--muted); font-size: .95rem; word-break: break-word; }

/* ---------- Legal / prose page ---------- */
.legal { max-width: 820px; margin: 0 auto; }
.legal h2 { font-size: 1.45rem; margin-top: 1.8em; }
.legal ul { padding-left: 1.2em; margin-bottom: 1em; }
.legal li { margin-bottom: .4em; }
.legal .updated { color: var(--muted); font-size: .92rem; }


/* ---------- Platforms page ---------- */
.pf-filter { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 36px; }
.pf-chip {
    display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 18px; border-radius: var(--r-pill);
    border: 1.5px solid var(--line); background: #fff; color: var(--ink); font: 600 .92rem/1 var(--font-body); cursor: pointer;
    transition: background .2s, color .2s, border-color .2s;
}
.pf-chip span { display: inline-grid; place-items: center; min-width: 24px; height: 24px; padding: 0 6px; border-radius: var(--r-pill); background: var(--orange-100); color: var(--orange-600); font-size: .78rem; }
.pf-chip:hover { border-color: var(--blue-500); color: var(--blue-600); }
.pf-chip.is-active { background: var(--navy-800); border-color: var(--navy-800); color: #fff; }
.pf-chip.is-active span { background: var(--grad-warm); color: #fff; }

.pf-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.pf-card {
    position: relative; overflow: hidden; min-height: 410px; border-radius: var(--r-md);
    background: #fff; border: 1px solid var(--line); cursor: pointer; outline-offset: 4px;
    transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.pf-card[hidden] { display: none; }
.pf-front {
    position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 6px; padding: 24px; text-align: center; transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.pf-logo {
    display: grid; place-items: center; width: 76px; height: 76px; margin-bottom: 10px; border-radius: 22px;
    background: var(--pf, var(--blue-500)); color: #fff; font: 700 1.7rem/1 var(--font-head); letter-spacing: -.02em;
    box-shadow: 0 14px 26px -14px var(--pf, var(--blue-500)), inset 0 -6px 0 rgba(0, 0, 0, .12);
}
.pf-logo.md { font-size: 1.3rem; }
.pf-logo.sm { font-size: 1.05rem; }
.pf-logo-box { display: flex; align-items: center; justify-content: center; gap: 14px; height: 84px; width: 100%; margin-bottom: 10px; }
.pf-logo-box img { max-height: 76px; max-width: 86%; width: auto; height: auto; object-fit: contain; }
.pf-logo-box.duo img { max-height: 60px; max-width: 44%; }
.pf-logo-box.stack { flex-direction: column; gap: 12px; height: 96px; }
.pf-logo-box.stack img { max-width: 80%; max-height: 40px; }
.pf-tm { text-align: center; font-size: .8rem; color: var(--muted); margin: 28px auto 0; max-width: 760px; }
.pf-logo-img { background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); padding: 10px; }
.pf-logo-img img { width: 100%; height: 100%; object-fit: contain; }
.pf-name { font-size: 1.15rem; margin: 0; }
.pf-cat { font-size: .78rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--orange-600); }
.pf-hint { position: absolute; bottom: 16px; left: 0; right: 0; display: inline-flex; justify-content: center; align-items: center; gap: 6px; font-size: .8rem; color: var(--muted); }
.pf-hint .ic { width: 16px; height: 16px; padding: 2px; border-radius: 50%; background: var(--cream); color: var(--orange-600); }

.pf-back {
    position: absolute; inset: 0; padding: 22px 22px 20px; overflow-y: auto;
    background: radial-gradient(140px 140px at 100% 100%, rgba(249, 163, 27, .45), rgba(249, 163, 27, 0) 70%), var(--grad-blue); color: #dbe6ff; font-size: .86rem; line-height: 1.45;
    opacity: 0; transform: translateY(16px); pointer-events: none;
    transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.pf-back .pf-back-title { display: block; font: 700 1.05rem/1.2 var(--font-head); color: #fff; margin-bottom: 12px; padding-bottom: 10px; border-bottom: 1px solid rgba(255,255,255,.18); }
.pf-back h3 { display: flex; align-items: center; gap: 8px; color: #fff; font-size: .82rem; letter-spacing: .06em; text-transform: uppercase; margin: 0 0 6px; }
.pf-back h3 .ic { width: 16px; height: 16px; color: var(--amber-400); }
.pf-back h3 + p { margin: 0 0 14px; }
.pf-back ul { list-style: none; display: grid; gap: 5px; position: relative; z-index: 1; }
.pf-back li { position: relative; padding-left: 16px; }
.pf-back li::before { content: ""; position: absolute; left: 0; top: .6em; width: 7px; height: 7px; border-radius: 50%; background: var(--amber-400); }

.pf-card:hover, .pf-card:focus-visible, .pf-card.is-open { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
.pf-card:hover .pf-back, .pf-card:focus-visible .pf-back, .pf-card:focus-within .pf-back, .pf-card.is-open .pf-back { opacity: 1; transform: none; pointer-events: auto; }
.pf-card:hover .pf-front, .pf-card:focus-visible .pf-front, .pf-card.is-open .pf-front { opacity: 0; transform: scale(.96); }
.pf-card:target { box-shadow: 0 0 0 3px var(--amber-400); }
.pf-note { text-align: center; color: var(--muted); margin: 14px auto 0; max-width: 720px; }

@media (hover: none) { .pf-hint-text { font-size: 0; } .pf-hint-text::after { content: "Tap for details"; font-size: .8rem; } }
@media (max-width: 1080px) { .pf-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 761px) and (max-width: 900px) { .pf-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 760px) { .pf-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; } .pf-card { min-height: 460px; } .pf-back { padding: 18px 16px; font-size: .85rem; } }
@media (max-width: 420px) { .pf-grid { grid-template-columns: 1fr; } .pf-card { min-height: 320px; } }
@media (prefers-reduced-motion: reduce) { .pf-back, .pf-front { transition: none; } }


/* ---------- Blog ---------- */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.post-card {
    display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden;
    transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s;
}
.post-card[hidden] { display: none; }
.post-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.post-thumb { display: block; aspect-ratio: 1200 / 630; overflow: hidden; background: var(--navy-800); }
.post-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.post-card:hover .post-thumb img { transform: scale(1.04); }
.post-body { display: flex; flex-direction: column; flex: 1; padding: 22px 24px 24px; }
.post-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; font-size: .82rem; color: var(--muted); margin-bottom: 10px; }
.post-cat { padding: 3px 10px; border-radius: var(--r-pill); background: var(--orange-100); color: var(--orange-600); font-weight: 600; }
.post-card h3 { font-size: 1.15rem; line-height: 1.35; margin-bottom: 10px; }
.post-card h3 a { color: var(--ink); text-decoration: none; }
.post-card h3 a:hover { color: var(--blue-600); }
.post-card p { color: var(--muted); font-size: .94rem; margin-bottom: 18px; }
.post-card .more { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: .93rem; color: var(--blue-600); text-decoration: none; min-height: 32px; }
.post-card .more .ic { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.post-card:hover .more .ic { transform: translateX(4px); }
.post-card.featured { display: grid; grid-template-columns: 1.25fr 1fr; align-items: center; }
.post-card.featured .post-thumb { aspect-ratio: 1200 / 630; }
.post-card.featured .post-body { padding: clamp(24px, 4vw, 44px); justify-content: center; }
.post-card.featured h3 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); }
.post-card.featured p { font-size: 1.02rem; }

.post-hero h1 { font-size: clamp(1.9rem, 4vw, 2.9rem); max-width: 920px; }
.post-byline { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px 10px; margin-top: 22px; color: var(--muted); font-size: .95rem; }
.post-byline strong { color: var(--ink); }
.by-avatar img { width: 36px; height: 36px; border-radius: 50%; background: #fff; border: 1px solid var(--line); padding: 4px; }
.dot-sep { color: #c3c9d6; }
.post-section { padding-top: 48px; }
.post-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 56px; align-items: start; }
.post-article { min-width: 0; }
.post-cover { margin: 0 0 32px; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-md); }
.post-cover img { width: 100%; }
.article-body { font-size: 1.07rem; line-height: 1.8; color: #2c3858; }
.article-body h2 { scroll-margin-top: 100px; font-size: clamp(1.4rem, 2.4vw, 1.75rem); margin: 1.8em 0 .6em; }
.article-body h2:first-of-type { margin-top: 1.2em; }
.article-body ul, .article-body ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.article-body li { margin-bottom: .45em; }
.article-body li::marker { color: var(--orange-500); font-weight: 700; }
.article-body strong { color: var(--ink); }
.callout { margin: 1.4em 0; padding: 18px 22px; border-radius: var(--r-md); background: var(--cream); border-left: 4px solid var(--orange-500); color: var(--ink); font-size: 1rem; line-height: 1.7; }
.callout p:last-child { margin: 0; }
.table-wrap { overflow-x: auto; margin: 1.2em 0 1.6em; border: 1px solid var(--line); border-radius: var(--r-md); }
.table-wrap table { width: 100%; border-collapse: collapse; font-size: .95rem; min-width: 520px; }
.table-wrap th, .table-wrap td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.table-wrap thead th { background: var(--navy-800); color: #fff; font-weight: 600; }
.table-wrap tbody tr:nth-child(even) { background: var(--blue-50); }
.table-wrap tbody tr:last-child td { border-bottom: 0; }
.post-sub { font-size: clamp(1.4rem, 2.4vw, 1.75rem); margin: 48px 0 18px; scroll-margin-top: 100px; }
.sources { padding-left: 1.2em; }
.sources li { margin-bottom: 8px; }
.post-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 36px 0 0; }
.post-tags span { padding: 6px 14px; border-radius: var(--r-pill); background: var(--blue-50); border: 1px solid var(--blue-100); color: var(--navy-700); font-size: .85rem; font-weight: 500; }
.share-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 24px; padding: 18px 0; border-block: 1px solid var(--line); }
.share-row > span { font-weight: 600; color: var(--ink); margin-right: 6px; }
.share-row a, .copy-link { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--blue-50); color: var(--navy-800); border: 0; cursor: pointer; }
.share-row a:hover, .copy-link:hover { background: var(--grad-warm); color: #fff; }
.share-row .ic { width: 18px; height: 18px; }
.copy-link { width: auto; display: inline-flex; gap: 8px; padding: 0 16px; border-radius: var(--r-pill); font: 600 .88rem var(--font-body); }
.author-box { display: flex; gap: 18px; align-items: flex-start; margin-top: 28px; padding: 24px; border-radius: var(--r-md); background: var(--cream); }
.author-box img { width: 64px; height: 64px; border-radius: 50%; background: #fff; padding: 8px; flex: none; }
.author-box strong { color: var(--ink); font-family: var(--font-head); font-size: 1.08rem; }
.author-box p { margin: 4px 0 0; color: var(--muted); font-size: .95rem; }
.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 28px; }
.post-nav a { display: block; padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--r-md); text-decoration: none; color: var(--ink); font-weight: 600; line-height: 1.4; }
.post-nav a:hover { border-color: var(--blue-500); color: var(--blue-600); }
.post-nav small { display: block; color: var(--orange-600); font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 4px; }
.post-nav .next { text-align: right; grid-column: 2; }
.toc ol { list-style: none; counter-reset: toc; display: grid; gap: 2px; padding: 0; margin: 0; }
.toc li { counter-increment: toc; }
.toc a { display: flex; gap: 10px; padding: 7px 10px; border-radius: var(--r-sm); text-decoration: none; color: var(--text); font-size: .93rem; line-height: 1.4; }
.toc a::before { content: counter(toc, decimal-leading-zero); color: var(--orange-500); font-weight: 700; font-size: .8rem; padding-top: 2px; }
.toc a:hover, .toc a.active { background: var(--blue-50); color: var(--blue-600); }
.toc-side h2 { font-size: 1.05rem; margin-bottom: 10px; }
.toc-inline { display: none; margin: 0 0 24px; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--r-md); background: #fff; }
.toc-inline summary { cursor: pointer; font-weight: 700; color: var(--ink); min-height: 32px; }
.toc-inline ol { margin-top: 10px; }
.post-aside { top: 96px; }

.home-blog .post-grid { margin-top: 0; }

@media (max-width: 1080px) {
    .post-layout { grid-template-columns: 1fr; }
    .post-aside { position: static; }
    .toc-side { display: none; }
    .toc-inline { display: block; }
}
@media (max-width: 900px) {
    .post-grid { grid-template-columns: repeat(2, 1fr); }
    .post-card.featured { grid-template-columns: 1fr; }
    .post-card.featured .post-thumb { aspect-ratio: 1200 / 630; }
}
@media (max-width: 640px) {
    .post-grid { grid-template-columns: 1fr; }
    .post-nav { grid-template-columns: 1fr; }
    .post-nav .next { grid-column: auto; text-align: left; }
    .article-body { font-size: 1.02rem; }
}


/* ---------- Sky 3D services carousel ---------- */
.sky-section {
    position: relative; overflow: hidden; isolation: isolate;
    padding: clamp(56px, 7vw, 96px) 0 clamp(36px, 5vw, 64px);
    background: var(--bg-sky-orange);
    color: var(--ink);
}
.sky-section::before {
    content: ""; position: absolute; inset: 0; pointer-events: none; z-index: -1;
    background-image: linear-gradient(rgba(22, 115, 230, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(22, 115, 230, .07) 1px, transparent 1px);
    background-size: 44px 44px;
    -webkit-mask-image: radial-gradient(ellipse 70% 55% at 50% 30%, #000 30%, transparent 75%);
            mask-image: radial-gradient(ellipse 70% 55% at 50% 30%, #000 30%, transparent 75%);
}
.sky-clouds { position: absolute; inset: auto 0 0 0; width: 100%; height: 75%; z-index: -1; opacity: .9; pointer-events: none; -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 22%); mask-image: linear-gradient(180deg, transparent 0%, #000 22%); }
.sky-clouds .cloud-drift { animation: drift 60s linear infinite alternate; }
.sky-clouds .cloud-drift.mid { animation-duration: 45s; animation-direction: alternate-reverse; }
.sky-clouds .cloud-drift.fast { animation-duration: 32s; }
@keyframes drift { from { transform: translateX(-60px); } to { transform: translateX(60px); } }
.sky-head { text-align: center; max-width: 780px; }
.sky-head h1, .sky-head h2 { color: var(--ink); font-weight: 700; letter-spacing: -.03em; font-size: clamp(2.1rem, 4.8vw, 3.6rem); line-height: 1.08; margin: 0; }
.sky-head h1 span, .sky-head h2 span { display: block; }
.sky-head p { color: var(--muted); font-size: 1.1rem; max-width: 580px; margin: 0 auto 8px; }
.sky-foot { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; margin-top: 30px; }
.sky-foot p { color: var(--muted); font-size: 1.1rem; max-width: 580px; margin: 0 auto 22px; }
.sky-foot .hero-actions { justify-content: center; margin: 0; }
.btn-cta { padding-right: 8px; }
.btn-dot { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: rgba(255, 255, 255, .22); color: #fff; }
.btn-dot .ic { width: 16px !important; height: 16px !important; transform: rotate(-45deg); }
.btn-cta:hover .btn-dot .ic { transform: rotate(0deg); }

.ring-wrap { --card-w: 220px; --card-h: 290px; position: relative; margin-top: clamp(28px, 4vw, 48px); outline: none; }
.ring-wrap.is-3d { height: calc(var(--card-h) + 80px); perspective: 1500px; perspective-origin: 50% 35%; touch-action: pan-y; cursor: grab; user-select: none; -webkit-user-select: none; }
.ring-wrap.is-3d.dragging { cursor: grabbing; }
.ring { display: flex; gap: 16px; overflow-x: auto; padding: 10px 20px 20px; scroll-snap-type: x mandatory; }
.ring-wrap.is-3d .ring { position: absolute; left: 50%; top: 20px; width: var(--card-w); height: var(--card-h); margin-left: calc(var(--card-w) / -2); transform-style: preserve-3d; overflow: visible; padding: 0; display: block; }
.ring-card {
    flex: 0 0 var(--card-w); width: var(--card-w); height: var(--card-h); scroll-snap-align: center;
    display: flex; flex-direction: column; border-radius: 22px; overflow: hidden; text-decoration: none;
    background: rgba(255, 255, 255, .92); color: var(--ink); border: 1px solid rgba(255, 255, 255, .8);
    box-shadow: 0 30px 60px -28px rgba(11, 30, 74, .55);
    transition: box-shadow .3s var(--ease), filter .3s;
}
.ring-wrap.is-3d .ring-card { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; will-change: transform, opacity; }
.ring-card:hover, .ring-card:focus-visible { color: var(--ink); box-shadow: 0 36px 70px -24px rgba(11, 30, 74, .65); }
.ring-card:focus-visible { outline: 3px solid var(--amber-400); outline-offset: 4px; }
.ring-card.is-front { box-shadow: 0 40px 80px -26px rgba(11, 30, 74, .6); }
.ring-art { display: grid; place-items: center; height: 58%; padding: 16px 16px 0; background: linear-gradient(180deg, #f2f8ff, #ffffff); }
.ring-art .art { width: 100%; height: 100%; }
.ring-meta { display: flex; flex-direction: column; gap: 4px; padding: 14px 18px 18px; flex: 1; }
.ring-sub { font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--blue-600); }
.ring-meta strong { font-size: 1.04rem; line-height: 1.25; font-family: var(--font-head); }
.ring-more { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; font-size: .85rem; font-weight: 600; color: var(--blue-600); }
.ring-more .ic { width: 16px; height: 16px; }
.ring-card.tone-dark { background: var(--navy-800); color: #fff; border-color: rgba(255, 255, 255, .1); }
.ring-card.tone-dark .ring-art { background: radial-gradient(circle at 50% 30%, #1d3a7a, var(--navy-800) 70%); }
.ring-card.tone-dark .ring-sub { color: var(--amber-400); }
.ring-card.tone-dark .ring-more { color: #8fd3ff; }
.ring-card.tone-dark:hover, .ring-card.tone-dark:focus-visible { color: #fff; }
.ring-card.tone-sky { background: var(--grad-sky); color: #fff; border-color: rgba(255, 255, 255, .5); }
.ring-card.tone-sky .ring-art { background: rgba(255, 255, 255, .16); }
.ring-card.tone-sky .ring-sub { color: #e9f6ff; }
.ring-card.tone-sky .ring-more { color: #fff; }
.ring-card.tone-sky:hover, .ring-card.tone-sky:focus-visible { color: #fff; }
.ring-card.tone-glass { background: rgba(255, 255, 255, .62); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.ring-card.tone-glass .ring-art { background: rgba(255, 255, 255, .55); }
.ring-controls { position: absolute; left: 0; right: 0; bottom: 0; display: flex; justify-content: center; align-items: center; gap: 18px; }
.ring-wrap:not(.is-3d) .ring-controls { position: static; margin-top: 8px; }
.ring-btn { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: rgba(255, 255, 255, .9); box-shadow: var(--shadow-sm); color: var(--navy-800); cursor: pointer; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.ring-btn:hover { background: var(--grad-warm); color: #fff; border-color: transparent; }
.ring-btn .ic { width: 18px; height: 18px; }
.ring-btn[data-ring-prev] .ic { transform: rotate(180deg); }
.ring-note { color: var(--navy-800); font-size: .88rem; font-weight: 600; background: rgba(255, 255, 255, .85); border: 1px solid var(--line); padding: 8px 16px; border-radius: var(--r-pill); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }

/* SVG micro-animations */
.art .a-write { stroke-dasharray: 60; stroke-dashoffset: 60; animation: write 3.2s ease-in-out infinite; }
.art .a-draw  { stroke-dasharray: 180; stroke-dashoffset: 180; animation: write 3.6s ease-in-out infinite; }
.art .d1 { animation-delay: .25s; } .art .d2 { animation-delay: .5s; } .art .d3 { animation-delay: .75s; } .art .d4 { animation-delay: 1s; }
@keyframes write { 0% { stroke-dashoffset: 180; } 45%, 80% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 0; opacity: 0; } }
.art .a-bar { transform-box: fill-box; transform-origin: 50% 100%; animation: grow 2.8s var(--ease) infinite; }
@keyframes grow { 0% { transform: scaleY(.15); } 40%, 85% { transform: scaleY(1); } 100% { transform: scaleY(.15); } }
.art .a-pulse, .art .a-pop { transform-box: fill-box; transform-origin: center; animation: pop 2.8s ease-in-out infinite; }
@keyframes pop { 0%, 20% { transform: scale(0); opacity: 0; } 40%, 85% { transform: scale(1); opacity: 1; } 100% { transform: scale(0); opacity: 0; } }
.art .a-spin { animation: spin 6s linear infinite; }
.art .a-spin-rev { animation: spin 4s linear infinite reverse; }
.art .a-spin-slow { animation: wobble 3s ease-in-out infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes wobble { 0%, 100% { transform: rotate(-25deg); } 50% { transform: rotate(25deg); } }
.art .a-slide { animation: slide 3s var(--ease) infinite; }
@keyframes slide { 0%, 15% { transform: translateX(24px); opacity: 0; } 40%, 85% { transform: none; opacity: 1; } 100% { transform: translateX(-12px); opacity: 0; } }
.art .a-fly { animation: fly 3.4s ease-in-out infinite; }
@keyframes fly { 0% { transform: translate(-30px, 20px) rotate(-6deg); opacity: 0; } 30% { opacity: 1; } 60%, 80% { transform: translate(0, 0) rotate(0); opacity: 1; } 100% { transform: translate(30px, -24px) rotate(6deg); opacity: 0; } }
.art .a-dash { animation: dash 1.6s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -26; } }
.art .a-pen { animation: pen 3.2s ease-in-out infinite; }
@keyframes pen { 0% { transform: translate(-90px, 6px); } 50%, 80% { transform: translate(0, 0); } 100% { transform: translate(-90px, 6px); } }
.art .a-wave { stroke-dasharray: 20 6; animation: dash 1s linear infinite; }
.art .a-align { transform-box: fill-box; transform-origin: 0 50%; animation: align 3s var(--ease) infinite; }
@keyframes align { 0% { transform: scaleX(.2); } 40%, 85% { transform: scaleX(1); } 100% { transform: scaleX(.2); } }
.art .a-bubble { transform-box: fill-box; transform-origin: 50% 100%; animation: bubble 3s ease-in-out infinite; }
@keyframes bubble { 0%, 10% { transform: scale(.3); opacity: 0; } 30%, 80% { transform: scale(1); opacity: 1; } 100% { transform: scale(.9); opacity: 0; } }
.art .a-ring { transform-box: fill-box; transform-origin: center; animation: ring 2.4s ease-out infinite; }
@keyframes ring { from { transform: scale(.6); opacity: .9; } to { transform: scale(1.5); opacity: 0; } }
.art .a-eq { transform-box: fill-box; transform-origin: 50% 50%; animation: eq 1s ease-in-out infinite alternate; }
@keyframes eq { from { transform: scaleY(.35); } to { transform: scaleY(1); } }
.art .a-stack { animation: none; }

@media (max-width: 640px) {
    .ring-wrap { --card-w: 190px; --card-h: 280px; }
    .ring-art { height: 50%; }
    .ring-meta { padding: 12px 14px 14px; }
    .ring-meta strong { font-size: .95rem; }
    .ring-sub { font-size: .66rem; }
    .ring-note { display: none; }
    .sky-head .hero-actions .btn, .sky-foot .hero-actions .btn { width: auto; }
}
@media (prefers-reduced-motion: reduce) {
    .sky-clouds .cloud-drift, .art * { animation: none !important; stroke-dashoffset: 0 !important; opacity: 1 !important; transform: none !important; }
}

/* ---------- Footer ---------- */
.site-footer { background: radial-gradient(ellipse 55% 70% at 100% 0%, rgba(43, 140, 240, .30), rgba(43, 140, 240, 0) 70%), radial-gradient(ellipse 45% 60% at 0% 100%, rgba(242, 106, 18, .16), rgba(242, 106, 18, 0) 70%), var(--navy-900); color: #b5c0db; padding-top: 72px; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr 1.3fr; gap: 40px; }
.site-footer h2 { color: #fff; font-size: 1.05rem; margin-bottom: 18px; font-family: var(--font-head); }
.site-footer a { color: #d6def0; text-decoration: none; }
.site-footer a:hover { color: var(--amber-400); }
.f-brand img { width: 240px; margin-bottom: 20px; }
.f-brand p { max-width: 320px; }
.f-links { list-style: none; display: grid; gap: 6px; }
.f-links a { display: inline-flex; min-height: 32px; align-items: center; }
.f-contact { list-style: none; display: grid; gap: 14px; }
.f-contact li { display: flex; gap: 12px; align-items: flex-start; }
.f-contact .ic { width: 20px; height: 20px; color: var(--amber-400); margin-top: 3px; }
.socials { display: flex; gap: 10px; margin-top: 18px; }
.socials a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: rgba(255, 255, 255, .08); }
.socials a:hover { background: var(--grad-warm); color: #fff; }
.socials .ic { width: 18px; height: 18px; }
.f-cta { background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .08); border-radius: var(--r-md); padding: 22px; }
.f-cta p { margin-bottom: 16px; }
.footer-bottom { margin-top: 56px; border-top: 1px solid rgba(255, 255, 255, .08); padding: 22px 0; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .88rem; }
.footer-bottom ul { list-style: none; display: flex; gap: 20px; flex-wrap: wrap; }

/* ---------- Floating WhatsApp ---------- */
.wa-float {
    position: fixed; right: 18px; bottom: 18px; z-index: 40; display: grid; place-items: center;
    width: 58px; height: 58px; border-radius: 50%; background: #25d366; color: #fff; box-shadow: 0 12px 26px -10px rgba(37, 211, 102, .8);
}
.wa-float .ic { width: 30px; height: 30px; }
.wa-float:hover { color: #fff; transform: scale(1.06); }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
    .grid-4, .steps { grid-template-columns: repeat(2, 1fr); }
    .detail-grid { grid-template-columns: 1fr; }
    .aside-stack { position: static; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
    .hero-grid, .split, .faq-wrap, .contact-grid { grid-template-columns: 1fr; }
    .split.reverse > :first-child { order: 0; }
    .hero-visual { margin-top: 12px; width: min(86%, 420px); }
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
    .stats { grid-template-columns: repeat(2, 1fr); gap: 28px 16px; }
    .faq-wrap .sticky { position: static; }
    .dual-cta { grid-template-columns: 1fr; }
    .media-frame .stat-chip { left: 12px; }
}
@media (max-width: 640px) {
    :root { --gutter: 16px; }
    .grid-3, .grid-2, .grid-4, .steps, .reasons, .checklist.cols-2, .form-row, .footer-grid { grid-template-columns: 1fr; }
    .stat { justify-content: flex-start; }
    .fc-1 { left: -4%; } .fc-2 { right: -4%; } .fc-3 { display: none; }
    .logo img { width: 172px; }
    .topbar .tb-hours { display: none; }
    .hero-actions .btn { width: 100%; }
    .svc-toolbar .btn { width: 100%; }
    .media-frame::before { inset: auto -8px -10px auto; }
}

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

@media print {
    .topbar, .site-header, .site-footer, .wa-float, .dual-cta, .aside-stack { display: none !important; }
}

/* ---------- Service pages: sub-services, steps, tools ---------- */
.sec-lead { color: var(--muted); margin-top: -4px; }
.sub-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 18px 0 8px; }
.sub-card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 20px 20px 18px; scroll-margin-top: 110px; transition: border-color .2s, box-shadow .2s, transform .2s; }
.sub-card:hover { border-color: #cfe2fb; box-shadow: 0 16px 34px -22px rgba(17, 103, 216, .45); transform: translateY(-2px); }
.sub-card:target { border-color: var(--blue-500); box-shadow: 0 0 0 4px rgba(22, 115, 230, .12); }
.sub-card .sub-num { position: absolute; top: 16px; right: 18px; font-weight: 800; font-size: .8rem; color: #b8c6dd; letter-spacing: .06em; }
.sub-card h3 { font-size: 1.05rem; margin: 0 34px 8px 0; }
.sub-card p { font-size: .93rem; color: var(--muted); margin: 0 0 12px; }
.sub-link { display: inline-flex; align-items: center; gap: 6px; font-size: .85rem; font-weight: 700; text-decoration: none; }
.sub-link .ic { width: 14px; height: 14px; }
.steps-tl { list-style: none; padding: 0; margin: 18px 0 8px; position: relative; display: grid; gap: 14px; }
.steps-tl::before { content: ""; position: absolute; left: 21px; top: 22px; bottom: 22px; width: 2px; background: linear-gradient(#62bcff, #1673e6 60%, #f26a12); border-radius: 2px; }
.steps-tl li { position: relative; display: grid; grid-template-columns: 44px 1fr; gap: 16px; align-items: start; }
.steps-tl .st-n { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; color: #fff; background: var(--grad-blue); box-shadow: 0 0 0 5px #fff, 0 10px 20px -10px rgba(22, 115, 230, .8); position: relative; z-index: 1; }
.steps-tl li:last-child .st-n { background: var(--grad-warm); box-shadow: 0 0 0 5px #fff, 0 10px 20px -10px rgba(242, 106, 18, .8); }
.steps-tl h3 { font-size: 1.02rem; margin: 2px 0 4px; }
.steps-tl p { margin: 0; color: var(--muted); font-size: .94rem; }
.prose .steps-tl li::marker { content: none; }
.tool-grid { list-style: none; padding: 0; margin: 18px 0 6px; display: grid; grid-template-columns: repeat(auto-fill, minmax(132px, 1fr)); gap: 12px; }
.prose .tool-grid li { margin: 0; padding: 0; }
.prose .tool-grid li::before { display: none; }
.tool-tile { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 14px 10px 12px; display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; transition: border-color .2s, transform .2s, box-shadow .2s; }
.tool-tile:hover { border-color: #cfe2fb; transform: translateY(-2px); box-shadow: 0 14px 28px -20px rgba(17, 103, 216, .5); }
.tool-logo { height: 48px; width: 100%; display: grid; place-items: center; }
.tool-logo img { max-height: 44px; max-width: 104px; width: auto; height: auto; object-fit: contain; }
.tool-mono { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; font-weight: 800; font-size: .86rem; color: #fff; background: var(--tc, #1673e6); letter-spacing: -.02em; box-shadow: 0 8px 16px -10px var(--tc, #1673e6); }
.tool-name { font-size: .82rem; font-weight: 600; color: var(--ink, #0b1e4a); line-height: 1.25; }
.tool-tm { font-size: .78rem; color: var(--muted); margin-top: 8px; }
.toc-card .aside-list a { font-size: .9rem; }
.svc-items { list-style: none; padding: 0; margin: 4px 0 14px; display: flex; flex-wrap: wrap; gap: 6px; }
.svc-items li { font-size: .76rem; font-weight: 600; padding: 4px 9px; border-radius: 999px; background: var(--blue-50); color: var(--blue-600); }
.tone-orange .svc-items li { background: #fff4e8; color: #c45a0c; }
@media (max-width: 720px) {
    .sub-grid { grid-template-columns: minmax(0, 1fr); }
    .tool-grid { grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); }
}

/* ---------- Service cards v2 (compact) ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.svc-grid .svc-card {
    position: relative; display: flex; flex-direction: column; padding: 22px 20px 18px; border-radius: 20px;
    background: #fff; border: 1px solid var(--line); overflow: hidden; isolation: isolate;
    box-shadow: var(--shadow-sm);
}
.svc-grid .svc-card::before {
    content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--grad-sky);
    transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
}
.svc-grid .svc-card.tone-orange::before { background: var(--grad-warm); }
.svc-grid .svc-card::after {
    content: ""; position: absolute; z-index: -1; width: 160px; height: 160px; right: -60px; top: -60px; border-radius: 50%;
    background: radial-gradient(circle, rgba(98, 188, 255, .22), transparent 70%); transition: transform .4s var(--ease), opacity .4s;
    opacity: .7;
}
.svc-grid .svc-card.tone-orange::after { background: radial-gradient(circle, rgba(249, 163, 27, .22), transparent 70%); }
.svc-grid .svc-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.svc-grid .svc-card:hover::before { transform: scaleX(1); }
.svc-grid .svc-card:hover::after { transform: scale(1.6); opacity: 1; }
.svc-top { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 16px; }
.svc-grid .svc-card .svc-ic {
    width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; margin: 0;
    background: var(--grad-blue); color: #fff; box-shadow: 0 8px 18px -8px rgba(22, 115, 230, .7);
    transition: transform .3s var(--ease);
}
.svc-grid .svc-card.tone-orange .svc-ic, .svc-grid .svc-card.tone-orange:hover .svc-ic { background: var(--grad-blue); color: #fff; }
.svc-grid .svc-card:hover .svc-ic { transform: rotate(-6deg) scale(1.06); }
.svc-grid .svc-card .svc-ic .ic { width: 24px; height: 24px; }
.svc-grid .svc-num { position: static; font-size: .78rem; font-weight: 700; letter-spacing: .04em; color: var(--blue-600); background: var(--blue-50); padding: 4px 9px; border-radius: 999px; }
.svc-grid .svc-card h3 { font-size: 1.06rem; line-height: 1.3; margin: 0 0 6px; color: var(--ink); }
.svc-grid .svc-card .svc-sub { font-size: .8rem; font-weight: 600; color: var(--muted); margin: 0 0 14px; line-height: 1.4; }
.svc-list { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 7px; }
.svc-list li { position: relative; padding-left: 16px; font-size: .84rem; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.svc-list li::before { content: ""; position: absolute; left: 2px; top: .5em; width: 6px; height: 6px; border-radius: 50%; background: var(--blue-500); }
.tone-orange .svc-list li::before { background: var(--orange-500); }
.svc-foot { margin-top: auto; padding-top: 14px; border-top: 1px dashed var(--line); display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.svc-count { font-size: .8rem; font-weight: 700; color: var(--ink); }
.svc-count em { font-style: normal; font-weight: 600; color: var(--muted); }
.svc-go { width: 32px; height: 32px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--blue-50); color: var(--blue-600); transition: background .25s, color .25s, transform .25s var(--ease); }
.svc-go .ic { width: 16px; height: 16px; }
.svc-grid .svc-card:hover .svc-go { background: var(--grad-warm); color: #fff; transform: translateX(3px); }
@media (max-width: 1180px) { .svc-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 980px)  { .svc-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px)  { .svc-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; } }
@media (max-width: 520px)  {
    .svc-grid { grid-template-columns: 1fr; }
    .svc-grid .svc-card { padding: 18px; }
}
.svc-grid.svc-grid-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 760px) { .svc-grid.svc-grid-3 { grid-template-columns: 1fr; } }
.svc-grid .svc-card h3 { min-height: 2.6em; display: flex; align-items: flex-end; }
.svc-grid .svc-card .svc-sub { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.8em; margin-bottom: 18px; }
.svc-grid .svc-card .svc-sub, .svc-grid .svc-card h3 { text-align: left; }
@media (max-width: 520px) { .svc-grid .svc-card h3, .svc-grid .svc-card .svc-sub { min-height: 0; } }
@media (max-width: 520px) {
    .svc-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .svc-grid .svc-card { padding: 16px 14px 14px; border-radius: 16px; }
    .svc-grid .svc-card .svc-ic { width: 40px; height: 40px; border-radius: 12px; }
    .svc-grid .svc-card .svc-ic .ic { width: 20px; height: 20px; }
    .svc-top { margin-bottom: 12px; }
    .svc-grid .svc-num { font-size: .7rem; padding: 3px 7px; }
    .svc-grid .svc-card h3 { font-size: .95rem; min-height: 2.6em; }
    .svc-grid .svc-card .svc-sub { font-size: .74rem; min-height: 2.8em; margin-bottom: 12px; }
    .svc-foot { padding-top: 10px; }
    .svc-count { font-size: .74rem; }
    .svc-go { width: 28px; height: 28px; }
}

/* ---------- Services mega menu ---------- */
.mega-toggle { display: inline-grid; place-items: center; width: 22px; height: 22px; margin-left: -10px; padding: 0; border: 0; background: none; color: inherit; cursor: pointer; border-radius: 50%; }
.mega-toggle .ic { width: 15px; height: 15px; transition: transform .25s var(--ease); }
.has-mega { display: flex; align-items: center; }
.mega-ic { display: grid; place-items: center; flex: none; width: 42px; height: 42px; border-radius: 12px; background: var(--blue-50); color: var(--blue-600); transition: background .25s, color .25s, transform .25s var(--ease); }
.mega-ic .ic { width: 21px; height: 21px; }
.mega-txt { display: grid; gap: 2px; min-width: 0; }
.mega-txt strong { font-weight: 600; color: var(--ink); font-size: .98rem; line-height: 1.3; }
.mega-txt small { font-size: .78rem; color: var(--muted); line-height: 1.35; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

@media (min-width: 1081px) {
    .mega {
        position: absolute; left: 0; right: 0; top: 100%; z-index: 49;
        opacity: 0; visibility: hidden; transform: translateY(8px);
        transition: opacity .22s var(--ease), transform .22s var(--ease), visibility 0s linear .22s;
    }
    .mega::before { content: ""; position: absolute; left: 0; right: 0; top: -22px; height: 22px; }
    .has-mega:hover .mega, .has-mega.open .mega {
        opacity: 1; visibility: visible; transform: none; transition-delay: 0s;
    }
    .has-mega:hover .mega-toggle .ic, .has-mega.open .mega-toggle .ic { transform: rotate(180deg); }
    .has-mega:hover > a, .has-mega.open > a { color: var(--blue-600); background: var(--blue-50); }
    .mega-inner {
        width: min(var(--container), calc(100% - 40px)); margin: 0 auto; display: grid; grid-template-columns: 1fr 340px;
        background: #fff; border: 1px solid var(--line); border-top: 0; border-radius: 0 0 24px 24px;
        box-shadow: 0 30px 60px -24px rgba(11, 30, 74, .35); overflow: hidden; position: relative;
    }
    .mega-inner::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; background: var(--grad-mix); }
    .mega-main { padding: 34px 44px 30px; }
    .mega-title { font-family: var(--font-head); font-size: 1.7rem; font-weight: 700; color: var(--ink); margin: 0 0 14px; letter-spacing: -.01em; }
    .mega-grid { list-style: none; margin: 0; padding: 0; display: grid !important; grid-template-columns: 1fr 1fr; gap: 0 44px !important; }
    .main-nav .mega-grid a {
        display: flex; align-items: center; gap: 14px; min-height: 0; padding: 13px 4px; border-radius: 0;
        border-bottom: 1px solid var(--line); background: none; color: var(--ink);
    }
    .main-nav .mega-grid a::before { display: none; }
    .main-nav .mega-grid a:hover .mega-ic, .main-nav .mega-grid a[aria-current] .mega-ic { background: var(--grad-blue); color: #fff; transform: scale(1.05); }
    .main-nav .mega-grid li:nth-child(even) a:hover .mega-ic, .main-nav .mega-grid li:nth-child(even) a[aria-current] .mega-ic { background: var(--grad-warm); }
    .main-nav .mega-grid a:hover strong { color: var(--blue-600); }
    .main-nav .mega-all { display: inline-flex; gap: 8px; min-height: 0; padding: 0; margin-top: 22px; font-weight: 700; color: var(--blue-600); background: none; font-size: .95rem; }
    .main-nav .mega-all .ic { width: 16px; height: 16px; transition: transform .2s; }
    .main-nav .mega-all:hover { background: none; color: var(--orange-600); }
    .main-nav .mega-all:hover .ic { transform: translateX(4px); }
    .mega-side { background: var(--cream); padding: 30px 28px; border-left: 1px solid var(--line); }
    .main-nav .mega-feature {
        display: block; min-height: 0; padding: 12px; border-radius: 20px; background: #fff; box-shadow: var(--shadow-md);
        color: var(--ink); transition: transform .25s var(--ease), box-shadow .25s;
    }
    .main-nav .mega-feature:hover { background: #fff; transform: translateY(-3px); box-shadow: var(--shadow-lg); }
    .mega-img { position: relative; display: block; border-radius: 14px; overflow: hidden; aspect-ratio: 16 / 9; background: var(--blue-50); }
    .mega-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
    .mega-tag { position: absolute; left: 10px; top: 10px; padding: 5px 11px; border-radius: 999px; background: rgba(7, 22, 52, .72); color: #fff; font-size: .68rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; backdrop-filter: blur(4px); }
    .mega-ft { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin: 12px 4px 6px; font-weight: 700; font-size: .98rem; line-height: 1.35; }
    .mega-more { display: inline-flex; align-items: center; gap: 6px; margin: 0 4px 4px; font-size: .85rem; font-weight: 700; color: var(--orange-600); }
    .mega-more .ic { width: 15px; height: 15px; }
    .mega-rel { margin: 24px 0 6px; font-weight: 700; color: var(--ink); font-size: 1.02rem; }
    .mega-links { list-style: none; margin: 0; padding: 0; display: block !important; }
    .main-nav .mega-links a { display: block; min-height: 0; padding: 11px 0; border-radius: 0; border-bottom: 1px solid var(--line); font-size: .9rem; color: var(--muted); background: none; }
    .main-nav .mega-links li:last-child a { border-bottom: 0; }
    .main-nav .mega-links a:hover { color: var(--blue-600); background: none; }
}

@media (max-width: 1080px) {
    .has-mega { flex-wrap: wrap; }
    .has-mega > a { flex: 1; width: auto !important; }
    .mega-toggle { width: 44px; height: 44px; margin: 0; border-radius: var(--r-sm); background: var(--blue-50); }
    .has-mega.open .mega-toggle .ic { transform: rotate(180deg); }
    .mega { display: none; width: 100%; }
    .has-mega.open .mega { display: block; animation: fadeIn .25s var(--ease); }
    .mega-title, .mega-side, .mega-txt small { display: none; }
    .mega-main { padding: 6px 0 8px 8px; }
    .mega-grid { list-style: none; margin: 0; padding: 0; display: grid !important; gap: 2px !important; }
    .main-nav .mega-grid a { display: flex; gap: 12px; min-height: 46px; padding: 4px 8px; font-size: .95rem; }
    .mega-ic { width: 34px; height: 34px; border-radius: 10px; }
    .mega-ic .ic { width: 17px; height: 17px; }
    .mega-txt strong { font-size: .93rem; }
    .main-nav .mega-all { display: inline-flex; gap: 6px; min-height: 40px; padding: 0 8px; font-weight: 700; color: var(--blue-600); font-size: .9rem; }
    .main-nav .mega-all .ic { width: 15px; height: 15px; }
}
@keyframes fadeIn { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
.main-nav .mega a[aria-current]::before { display: none; }
@media (max-width: 1080px) { .site-header.nav-open { z-index: 70; } .site-header.nav-open .main-nav { z-index: 2; } }

/* ================= Service detail page (no sidebar) ================= */
.sp-hero { position: relative; padding: clamp(36px, 5vw, 64px) 0 clamp(48px, 6vw, 80px); background: radial-gradient(ellipse 45% 70% at 100% 0%, rgba(249, 163, 27, .16), transparent 70%), radial-gradient(ellipse 60% 80% at 0% 100%, rgba(98, 188, 255, .22), transparent 70%), linear-gradient(180deg, #f4f9ff, #eaf4ff); overflow: hidden; }
.sp-hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.sp-hero .crumbs { justify-content: flex-start; margin-bottom: 18px; }
.sp-hero h1 { font-size: clamp(2.1rem, 4.2vw, 3.3rem); line-height: 1.08; letter-spacing: -.02em; margin: 14px 0 16px; color: var(--ink); }
.sp-lead { font-size: 1.12rem; color: var(--muted); max-width: 560px; margin: 0 0 28px; }
.sp-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.sp-facts { list-style: none; margin: 34px 0 0; padding: 22px 0 0; border-top: 1px solid rgba(11, 30, 74, .1); display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; max-width: 560px; }
.sp-facts strong { display: block; font-family: var(--font-head); font-size: 1.6rem; color: var(--ink); line-height: 1.1; }
.sp-facts span { font-size: .82rem; color: var(--muted); }
.sp-hero-media { position: relative; }
.sp-hero-media .photo { border-radius: 28px; overflow: hidden; aspect-ratio: 4 / 3; box-shadow: var(--shadow-lg); background: var(--cream-2); }
.sp-hero-media .photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sp-hero-media::before { content: ""; position: absolute; inset: 22px -18px -18px 22px; border-radius: 30px; background: var(--grad-mix); opacity: .9; z-index: -1; }
.sp-hero-media { isolation: isolate; }
.sp-float { position: absolute; left: -22px; bottom: 26px; display: flex; align-items: center; gap: 12px; padding: 14px 18px; background: #fff; border-radius: 16px; box-shadow: var(--shadow-lg); }
.sp-float strong { display: block; font-size: .92rem; color: var(--ink); }
.sp-float small { font-size: .78rem; color: var(--muted); }
.sp-float-ic { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--grad-warm); color: #fff; flex: none; }
.sp-float-ic .ic { width: 21px; height: 21px; }

.sp-tabs { position: sticky; top: 76px; z-index: 40; background: rgba(255, 255, 255, .95); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.sp-tabs ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.sp-tabs ul::-webkit-scrollbar { display: none; }
.sp-tabs a { display: block; padding: 16px 14px; white-space: nowrap; font-size: .93rem; font-weight: 600; color: var(--muted); text-decoration: none; border-bottom: 2px solid transparent; transition: color .2s, border-color .2s; }
.sp-tabs a:hover { color: var(--ink); }
.sp-tabs a.on { color: var(--blue-600); border-color: var(--orange-500); }
.sp-tabs li:last-child { margin-left: auto; }
.sp-tabs li:last-child a { color: var(--orange-600); }
.sp-sec { scroll-margin-top: 140px; }
.sp-item { scroll-margin-top: 150px; }

.sp-kicker { display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--orange-600); margin-bottom: 12px; }
.sp-kicker.light { color: var(--amber-400); }
.sp-sec h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); line-height: 1.15; letter-spacing: -.01em; margin: 0 0 14px; }

.sp-overview { display: grid; grid-template-columns: 1.25fr .75fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.sp-overview p { color: var(--text); font-size: 1.05rem; line-height: 1.75; margin: 0 0 16px; }
.sp-for { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 28px; box-shadow: var(--shadow-md); position: relative; overflow: hidden; }
.sp-for::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--grad-warm); }
.sp-for h3 { font-size: 1.15rem; margin: 0 0 18px; }
.sp-for .checklist { margin-bottom: 18px; }
.sp-for .checklist li span { font-size: .95rem; }
.sp-for-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: .9rem; color: var(--blue-600); text-decoration: none; }
.sp-for-link .ic { width: 16px; height: 16px; }

.sp-included { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.sp-item { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 28px 26px 24px; transition: transform .25s var(--ease), box-shadow .25s, border-color .25s; }
.sp-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
.sp-item:target { border-color: var(--orange-500); box-shadow: 0 0 0 4px rgba(242, 106, 18, .15); }
.sp-item-n { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: var(--grad-blue); color: #fff; font-weight: 700; font-size: .95rem; margin-bottom: 18px; }
.sp-item:nth-child(even) .sp-item-n { background: var(--grad-warm); }
.sp-item h3 { font-size: 1.12rem; margin: 0 0 8px; color: var(--ink); }
.sp-item p { color: var(--muted); font-size: .95rem; line-height: 1.6; margin: 0 0 18px; }
.sp-item-link { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: .88rem; color: var(--blue-600); text-decoration: none; }
.sp-item-link .ic { width: 15px; height: 15px; transition: transform .2s; }
.sp-item-link:hover .ic { transform: translateX(4px); }

.sp-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 22px; position: relative; counter-reset: none; }
.sp-steps::before { content: ""; position: absolute; left: 10%; right: 10%; top: 28px; height: 2px; background: linear-gradient(90deg, var(--blue-500), var(--sky-400, #62bcff), var(--amber-400), var(--orange-500)); }
.sp-steps li { position: relative; text-align: center; }
.sp-step-n { position: relative; display: grid; place-items: center; width: 56px; height: 56px; margin: 0 auto 18px; border-radius: 50%; background: #fff; border: 2px solid var(--blue-500); color: var(--blue-600); font-weight: 700; font-size: 1.15rem; box-shadow: 0 0 0 8px #fff; }
.sp-steps li:last-child .sp-step-n { background: var(--grad-warm); border-color: transparent; color: #fff; }
.sp-steps h3 { font-size: 1.02rem; margin: 0 0 8px; }
.sp-steps p { font-size: .9rem; color: var(--muted); line-height: 1.55; margin: 0; }

.sp-tools { list-style: none; margin: 0 auto; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; max-width: 1000px; }
.sp-tools li { width: 150px; display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 20px 12px 16px; background: #fff; border: 1px solid var(--line); border-radius: 18px; text-align: center; transition: transform .2s var(--ease), box-shadow .2s; }
.sp-tools li:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.sp-tools .tool-logo { height: 48px; display: grid; place-items: center; }
.sp-tools .tool-logo img { max-height: 44px; max-width: 110px; width: auto; height: auto; object-fit: contain; }
.sp-tools .tool-name { font-size: .82rem; font-weight: 600; color: var(--ink); }
.sp-tm { text-align: center; font-size: .8rem; color: var(--muted); margin: 22px auto 0; max-width: 640px; }

.sp-faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 72px); align-items: start; }
.sp-faq-head { position: sticky; top: 150px; }
.sp-faq-head p { color: var(--muted); margin: 0 0 20px; }

.sp-quote-sec { background: radial-gradient(ellipse 50% 80% at 100% 100%, rgba(242, 106, 18, .35), transparent 70%), radial-gradient(ellipse 50% 70% at 0% 0%, rgba(98, 188, 255, .25), transparent 70%), var(--navy-800); color: #fff; }
.sp-quote { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 72px); align-items: center; }
.sp-quote-copy h2 { color: #fff; }
.sp-quote-copy p { color: rgba(255, 255, 255, .78); font-size: 1.05rem; margin: 0 0 24px; }
.sp-quote-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.sp-quote-list li { display: flex; align-items: center; gap: 12px; color: #fff; font-weight: 500; }
.sp-quote-list .ic { width: 24px; height: 24px; padding: 5px; border-radius: 50%; background: var(--grad-warm); color: #fff; flex: none; }
.sp-quote-card { background: #fff; color: var(--text); border-radius: 24px; padding: clamp(22px, 3vw, 34px); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .45); }

@media (max-width: 1080px) {
    .sp-tabs { top: 76px; }
    .sp-included { grid-template-columns: repeat(2, 1fr); }
    .sp-steps { grid-template-columns: 1fr; gap: 0; max-width: 620px; margin: 0 auto; }
    .sp-steps::before { left: 27px; right: auto; top: 28px; bottom: 28px; width: 2px; height: auto; background: linear-gradient(180deg, var(--blue-500), var(--orange-500)); }
    .sp-steps li { display: grid; grid-template-columns: 56px 1fr; column-gap: 18px; text-align: left; padding-bottom: 26px; }
    .sp-step-n { grid-row: span 2; margin: 0; }
    .sp-steps h3 { align-self: end; margin-top: 6px; }
}
@media (max-width: 900px) {
    .sp-hero-grid, .sp-overview, .sp-faq, .sp-quote { grid-template-columns: 1fr; }
    .sp-hero-media { max-width: 560px; }
    .sp-faq-head { position: static; }
}
@media (max-width: 600px) {
    .sp-included { grid-template-columns: 1fr; }
    .sp-facts { grid-template-columns: repeat(2, 1fr); }
    .sp-float { left: 10px; bottom: 12px; padding: 10px 14px; }
    .sp-hero-media::before { inset: 14px -8px -10px 14px; }
    .sp-tools li { width: calc(50% - 8px); }
    .sp-tabs a { padding: 14px 10px; font-size: .88rem; }
    .sp-tabs li:last-child { margin-left: 0; }
}
.sp-hero .crumbs { padding: 0; margin-left: 0; }
.sp-included { display: flex; flex-wrap: wrap; justify-content: center; }
.sp-included .sp-item { flex: 0 0 calc((100% - 44px) / 3); }
@media (max-width: 1080px) { .sp-included .sp-item { flex-basis: calc((100% - 22px) / 2); } }
@media (max-width: 600px) { .sp-included .sp-item { flex-basis: 100%; } }

/* ---------- Service page animated scenes ---------- */
.scene-frame { background: #eaf5ff; }
.scene { display: block; width: 100%; height: 100%; }
.scene * { transform-box: fill-box; }
.scene .d1 { animation-delay: .5s !important; }
.scene .d2 { animation-delay: 1s !important; }
.scene .d3 { animation-delay: 1.5s !important; }
.scene .d4 { animation-delay: 2s !important; }
.scene .sc-float { animation: scFloat 5s ease-in-out infinite; }
.scene .sc-type { animation: scType .45s ease-in-out infinite alternate; }
.scene .sc-blink { transform-origin: center; animation: scBlink 4.5s infinite; }
.scene .sc-head { transform-origin: 50% 100%; animation: scNod 6s ease-in-out infinite; }
.scene .sc-steam { stroke-dasharray: 8 6; animation: scSteam 2.4s linear infinite; }
.scene .sc-write { stroke-dasharray: 260; stroke-dashoffset: 260; animation: scWrite 5s ease-in-out infinite; }
.scene .sc-grow { transform-origin: 50% 100%; animation: scGrow 5s ease-in-out infinite; }
.scene .sc-pop { transform-origin: center; animation: scPop 5s ease-in-out infinite; }
.scene .sc-pulse { transform-origin: center; animation: scPulse 1.8s ease-in-out infinite; }
.scene .sc-spin { transform-origin: center; animation: spin 9s linear infinite; }
.scene .sc-dash { animation: scDash 1s linear infinite; }
.scene .sc-progress, .scene .sc-track, .scene .sc-mark { transform-origin: 0 50%; animation: scProgress 5s ease-in-out infinite; }
.scene .sc-slide { animation: scSlide 5s ease-in-out infinite; }
.scene .sc-fly { animation: scFly 4s ease-in-out infinite; }
.scene .sc-cloud { animation: scCloud 9s ease-in-out infinite alternate; }
.scene .sc-twinkle circle { transform-origin: center; animation: scPulse 2.6s ease-in-out infinite; }
.scene .sc-heat { animation: scHeat 3.5s ease-in-out infinite alternate; }
.scene .sc-pen { animation: scPen 3s ease-in-out infinite; }
.scene .sc-caret { animation: scCaret 1s steps(1) infinite; }
.scene .sc-eq rect { transform-origin: 50% 100%; animation: eq .5s ease-in-out infinite alternate; }
@keyframes scFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
@keyframes scType { from { transform: translateY(0); } to { transform: translateY(-3px); } }
@keyframes scBlink { 0%, 92%, 100% { transform: scaleY(1); } 95% { transform: scaleY(.1); } }
@keyframes scNod { 0%, 100% { transform: rotate(0); } 50% { transform: rotate(2.5deg); } }
@keyframes scSteam { 0% { stroke-dashoffset: 0; opacity: 0; } 30% { opacity: 1; } 100% { stroke-dashoffset: -28; opacity: 0; } }
@keyframes scWrite { 0% { stroke-dashoffset: 260; } 45%, 85% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 0; opacity: .2; } }
@keyframes scGrow { 0% { transform: scaleY(.15); } 40%, 85% { transform: scaleY(1); } 100% { transform: scaleY(.15); } }
@keyframes scPop { 0%, 20% { transform: scale(0); opacity: 0; } 35%, 88% { transform: scale(1); opacity: 1; } 100% { transform: scale(0); opacity: 0; } }
@keyframes scPulse { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.25); opacity: .75; } }
@keyframes scDash { to { stroke-dashoffset: -24; } }
@keyframes scProgress { 0% { transform: scaleX(.08); } 60%, 90% { transform: scaleX(1); } 100% { transform: scaleX(.08); } }
@keyframes scSlide { 0%, 10% { transform: translateX(30px); opacity: 0; } 30%, 85% { transform: none; opacity: 1; } 100% { transform: translateX(-10px); opacity: 0; } }
@keyframes scFly { 0%, 100% { transform: translate(0, 0) rotate(0); } 50% { transform: translate(14px, -12px) rotate(4deg); } }
@keyframes scCloud { from { transform: translateX(-10px); } to { transform: translateX(26px); } }
@keyframes scHeat { from { opacity: 1; } to { opacity: .7; } }
@keyframes scPen { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(-40px, 8px); } }
@keyframes scCaret { 50% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .scene * { animation: none !important; } .scene .sc-write { stroke-dashoffset: 0; } }

/* ---------- Service steps: flow transition ---------- */
.sp-flow-wrap { position: relative; }
.sp-flow-steps::before { display: none; }
.sp-flow-track { position: absolute; left: 10%; right: 10%; top: 27px; height: 4px; border-radius: 4px; background: #dfe9f7; z-index: 0; }
.sp-flow-fill { position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(90deg, var(--blue-500), #62bcff 45%, var(--amber-400) 75%, var(--orange-500)); transform-origin: 0 50%; transform: scaleX(0); animation: spFill 9s linear infinite; }
.sp-flow-dot { position: absolute; top: 50%; left: 0; width: 16px; height: 16px; margin: -8px 0 0 -8px; border-radius: 50%; background: #fff; border: 4px solid var(--orange-500); box-shadow: 0 0 0 6px rgba(242, 106, 18, .18); animation: spDot 9s linear infinite; }
.sp-flow-steps { position: relative; z-index: 1; }
.sp-flow-steps li { opacity: 1; }
.sp-flow-steps li:last-child .sp-step-n { background: #fff; border-color: var(--blue-500); color: var(--blue-600); }
@keyframes spFill { 0% { transform: scaleX(0); opacity: 1; } 72%, 90% { transform: scaleX(1); opacity: 1; } 97%, 100% { transform: scaleX(1); opacity: 0; } }
@keyframes spDot { 0% { left: 0; opacity: 0; } 3% { opacity: 1; } 72% { left: 100%; opacity: 1; } 80%, 100% { left: 100%; opacity: 0; } }

@media (max-width: 1080px) {
    .sp-flow-track { left: 26px; right: auto; top: 28px; bottom: 54px; width: 4px; height: auto; }
    .sp-flow-wrap { max-width: 620px; margin: 0 auto; }
    .sp-flow-fill { transform-origin: 50% 0; transform: scaleY(0); animation-name: spFillV; }
    .sp-flow-dot { left: 50%; top: 0; margin: -8px 0 0 -8px; animation-name: spDotV; }
    .sp-flow-steps li { display: grid; grid-template-columns: 56px 1fr; column-gap: 18px; }
    .sp-flow-steps .sp-step-n { grid-row: auto; }
    .sp-step-body h3 { margin-top: 14px; }
}
@keyframes spFillV { 0% { transform: scaleY(0); opacity: 1; } 72%, 90% { transform: scaleY(1); opacity: 1; } 97%, 100% { transform: scaleY(1); opacity: 0; } }
@keyframes spDotV { 0% { top: 0; opacity: 0; } 3% { opacity: 1; } 72% { top: 100%; opacity: 1; } 80%, 100% { top: 100%; opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
    .sp-flow-fill { animation: none; transform: none; }
    .sp-flow-dot { display: none; }
    .sp-flow-steps .sp-step-n, .sp-flow-steps .sp-step-body { animation: none; }
}
@keyframes spStep0 { 0% { background: #fff; color: var(--blue-600); border-color: var(--blue-500); transform: scale(1); box-shadow: 0 0 0 8px #fff; } 3% { background: var(--grad-blue); color: #fff; border-color: transparent; transform: scale(1.15); box-shadow: 0 0 0 8px #fff, 0 0 0 16px rgba(22, 115, 230, .18); } 7%, 92% { background: var(--grad-blue); color: #fff; border-color: transparent; transform: scale(1); box-shadow: 0 0 0 8px #fff, 0 10px 22px -8px rgba(22, 115, 230, .6); } 97%, 100% { background: #fff; color: var(--blue-600); border-color: var(--blue-500); transform: scale(1); box-shadow: 0 0 0 8px #fff; } }
@keyframes spBody0 { 0%, 0% { opacity: .5; } 5%, 92% { opacity: 1; } 97%, 100% { opacity: .5; } }
.sp-flow-steps li:nth-child(1) .sp-step-n { animation: spStep0 9s linear infinite; }
.sp-flow-steps li:nth-child(1) .sp-step-body { animation: spBody0 9s linear infinite; }
@keyframes spStep1 { 0%, 18% { background: #fff; color: var(--blue-600); border-color: var(--blue-500); transform: scale(1); box-shadow: 0 0 0 8px #fff; } 21% { background: var(--grad-blue); color: #fff; border-color: transparent; transform: scale(1.15); box-shadow: 0 0 0 8px #fff, 0 0 0 16px rgba(22, 115, 230, .18); } 25%, 92% { background: var(--grad-blue); color: #fff; border-color: transparent; transform: scale(1); box-shadow: 0 0 0 8px #fff, 0 10px 22px -8px rgba(22, 115, 230, .6); } 97%, 100% { background: #fff; color: var(--blue-600); border-color: var(--blue-500); transform: scale(1); box-shadow: 0 0 0 8px #fff; } }
@keyframes spBody1 { 0%, 18% { opacity: .5; } 23%, 92% { opacity: 1; } 97%, 100% { opacity: .5; } }
.sp-flow-steps li:nth-child(2) .sp-step-n { animation: spStep1 9s linear infinite; }
.sp-flow-steps li:nth-child(2) .sp-step-body { animation: spBody1 9s linear infinite; }
@keyframes spStep2 { 0%, 36% { background: #fff; color: var(--blue-600); border-color: var(--blue-500); transform: scale(1); box-shadow: 0 0 0 8px #fff; } 39% { background: var(--grad-blue); color: #fff; border-color: transparent; transform: scale(1.15); box-shadow: 0 0 0 8px #fff, 0 0 0 16px rgba(22, 115, 230, .18); } 43%, 92% { background: var(--grad-blue); color: #fff; border-color: transparent; transform: scale(1); box-shadow: 0 0 0 8px #fff, 0 10px 22px -8px rgba(22, 115, 230, .6); } 97%, 100% { background: #fff; color: var(--blue-600); border-color: var(--blue-500); transform: scale(1); box-shadow: 0 0 0 8px #fff; } }
@keyframes spBody2 { 0%, 36% { opacity: .5; } 41%, 92% { opacity: 1; } 97%, 100% { opacity: .5; } }
.sp-flow-steps li:nth-child(3) .sp-step-n { animation: spStep2 9s linear infinite; }
.sp-flow-steps li:nth-child(3) .sp-step-body { animation: spBody2 9s linear infinite; }
@keyframes spStep3 { 0%, 54% { background: #fff; color: var(--blue-600); border-color: var(--blue-500); transform: scale(1); box-shadow: 0 0 0 8px #fff; } 57% { background: var(--grad-blue); color: #fff; border-color: transparent; transform: scale(1.15); box-shadow: 0 0 0 8px #fff, 0 0 0 16px rgba(22, 115, 230, .18); } 61%, 92% { background: var(--grad-blue); color: #fff; border-color: transparent; transform: scale(1); box-shadow: 0 0 0 8px #fff, 0 10px 22px -8px rgba(22, 115, 230, .6); } 97%, 100% { background: #fff; color: var(--blue-600); border-color: var(--blue-500); transform: scale(1); box-shadow: 0 0 0 8px #fff; } }
@keyframes spBody3 { 0%, 54% { opacity: .5; } 59%, 92% { opacity: 1; } 97%, 100% { opacity: .5; } }
.sp-flow-steps li:nth-child(4) .sp-step-n { animation: spStep3 9s linear infinite; }
.sp-flow-steps li:nth-child(4) .sp-step-body { animation: spBody3 9s linear infinite; }
@keyframes spStep4 { 0%, 72% { background: #fff; color: var(--blue-600); border-color: var(--blue-500); transform: scale(1); box-shadow: 0 0 0 8px #fff; } 75% { background: var(--grad-warm); color: #fff; border-color: transparent; transform: scale(1.15); box-shadow: 0 0 0 8px #fff, 0 0 0 16px rgba(242, 106, 18, .22); } 79%, 92% { background: var(--grad-warm); color: #fff; border-color: transparent; transform: scale(1); box-shadow: 0 0 0 8px #fff, 0 10px 22px -8px rgba(242, 106, 18, .6); } 97%, 100% { background: #fff; color: var(--blue-600); border-color: var(--blue-500); transform: scale(1); box-shadow: 0 0 0 8px #fff; } }
@keyframes spBody4 { 0%, 72% { opacity: .5; } 77%, 92% { opacity: 1; } 97%, 100% { opacity: .5; } }
.sp-flow-steps li:nth-child(5) .sp-step-n { animation: spStep4 9s linear infinite; }
.sp-flow-steps li:nth-child(5) .sp-step-body { animation: spBody4 9s linear infinite; }
@media (prefers-reduced-motion: reduce) { .sp-flow-steps li .sp-step-n, .sp-flow-steps li .sp-step-body { animation: none !important; } }
.tb-portal { display: inline-flex; align-items: center; gap: 6px; margin-left: 16px; padding: 3px 12px; border-radius: 999px; background: rgba(255, 255, 255, .14); color: #fff; font-weight: 600; text-decoration: none; }
.tb-portal:hover { background: var(--orange-500); color: #fff; }
.tb-portal .ic { width: 14px; height: 14px; }

/* ---------- Home: Why Insightians (animated scene + cards) ---------- */
.why-grid { display: grid; grid-template-columns: 1.02fr 1fr; gap: clamp(36px, 5.5vw, 76px); align-items: center; }
.why-media { position: relative; }
.why { background: linear-gradient(180deg, #f4f9ff 0%, #ffffff 100%); }
.why-media::before { content: ""; position: absolute; inset: 10% -14px -14px 24%; z-index: 0; border-radius: 28px; background: linear-gradient(150deg, #cfe8ff, #8fc8ff 60%, #4d9df0); opacity: .55; }
.why-frame { position: relative; z-index: 1; border-radius: 26px; overflow: hidden; aspect-ratio: 4 / 3; background: #eaf5ff; border: 1px solid rgba(255, 255, 255, .9); box-shadow: 0 34px 70px -34px rgba(11, 30, 74, .55), 0 2px 6px rgba(11, 30, 74, .05); }
.why-badge { position: absolute; z-index: 2; right: -22px; top: 26px; display: flex; align-items: center; gap: 12px; padding: 12px 18px 12px 12px; border-radius: 18px; background: #fff; box-shadow: 0 18px 36px -16px rgba(11, 30, 74, .4); animation: whyBob 6s ease-in-out infinite; }
.why-badge strong { display: block; font-family: var(--font-head); font-size: 1.2rem; color: var(--ink); line-height: 1.1; }
.why-badge span:last-child { font-size: .85rem; color: var(--muted); }
.why-badge .wb-ic { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 13px; background: var(--blue-100); color: var(--blue-600); }
.why-badge .wb-ic .ic { width: 22px; height: 22px; }
.why-copy h2 { margin: 14px 0 12px; }
.why-copy .lead { color: var(--muted); font-size: 1.05rem; max-width: 560px; }

.why-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 26px 0 22px; }
.why-card { position: relative; padding: 20px; border-radius: 16px; background: #fff; border: 1px solid #e6edf6; box-shadow: 0 1px 2px rgba(11, 30, 74, .04); transition: transform .25s, box-shadow .25s, border-color .25s; overflow: hidden; }
.why-card::after { content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 100%; background: linear-gradient(90deg, var(--blue-500), #62bcff); transform: scaleX(0); transform-origin: 0 50%; transition: transform .35s; }
.why-card:hover { transform: translateY(-3px); border-color: #cfe0f5; box-shadow: 0 18px 34px -24px rgba(11, 30, 74, .35); }
.why-card:hover::after { transform: scaleX(1); }
.why-card .wc-ic { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 11px; background: var(--blue-100); color: var(--blue-600); }
.why-card .wc-ic .ic { width: 21px; height: 21px; }
.why-card h3 { font-size: 1.02rem; margin: 14px 0 4px; color: var(--ink); }
.why-card p { margin: 0; font-size: .9rem; line-height: 1.55; color: var(--muted); }

.why-ticks { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 18px; padding: 0; margin: 0 0 26px; }
.why-ticks li { display: inline-flex; align-items: center; gap: 7px; font-size: .9rem; font-weight: 500; color: var(--text); }
.why-ticks .ic { width: 18px; height: 18px; color: var(--blue-500); }
.why-acts { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.why-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--blue-600); text-decoration: none; }
.why-link .ic { width: 16px; height: 16px; transition: transform .2s; }
.why-link:hover .ic { transform: translateX(3px); }
@keyframes whyBob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.scene .sc-point { transform-origin: 100% 0; animation: whyPoint 5s ease-in-out infinite; }
@keyframes whyPoint { 0%, 100% { transform: rotate(0); } 40%, 60% { transform: rotate(-5deg) translateX(-4px); } }
@media (max-width: 980px) {
    .why-grid { grid-template-columns: 1fr; }
    .why-media { max-width: 620px; margin: 0 auto 8px; width: 100%; }
}
@media (max-width: 560px) {
    .why-cards { grid-template-columns: 1fr; }
    .why-badge { left: 12px; right: auto; top: auto; bottom: -20px; padding: 10px 16px 10px 10px; }
    .why-badge strong { font-size: 1.05rem; }
    .why-media { margin-bottom: 30px; }
    .why-media::before { inset: 12% -6px -8px 30%; }
}
@media (prefers-reduced-motion: reduce) { .why-badge { animation: none; } }

/* Why panel (compact 2×2, divided) */
.why-copy .lead { max-width: 480px; }
.why-panel { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 1px; margin: 28px 0 30px; border-radius: 20px; overflow: hidden; background: #e4ecf7; border: 1px solid #e4ecf7; box-shadow: 0 24px 48px -32px rgba(11, 30, 74, .35); }
.why-panel::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; z-index: 2; background: linear-gradient(90deg, transparent, #62bcff, #1673e6, transparent); background-size: 200% 100%; animation: wpLine 4s linear infinite; }
.wp-item { display: flex; align-items: center; gap: 14px; padding: 20px 22px; background: #fff; transition: background .25s; }
.wp-item:hover { background: #f6faff; }
.wp-ic { position: relative; display: grid; place-items: center; width: 44px; height: 44px; flex: none; border-radius: 50%; color: var(--blue-600); background: radial-gradient(circle at 30% 30%, #fff, #e6f0fd); box-shadow: inset 0 0 0 1px #d5e5fa; transition: transform .3s, background .3s, color .3s; }
.wp-ic .ic { width: 20px; height: 20px; }
.wp-item:hover .wp-ic { transform: rotate(-8deg) scale(1.06); background: linear-gradient(150deg, #2b8cf0, #1673e6); color: #fff; box-shadow: 0 10px 18px -10px rgba(22, 115, 230, .8); }
.wp-item h3 { margin: 0 0 2px; font-size: 1rem; color: var(--ink); }
.wp-item p { margin: 0; font-size: .88rem; line-height: 1.45; color: var(--muted); }
@keyframes wpLine { from { background-position: 100% 0; } to { background-position: -100% 0; } }
@media (max-width: 560px) { .why-panel { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .why-panel::before { animation: none; } }
