/* ==========================================================================
   HAPTAGS — Website design system (public pages rendered by index.php)
   Brand: logo navy #02213D + electric blue #007AF5. Outfit for headings,
   Plus Jakarta Sans for text. Mobile-first; light & dark themes.
   ========================================================================== */

/* 1. Tokens ---------------------------------------------------------------- */
:root {
  --navy: #02213d;
  --ink-950: #050b1a;
  --ink-900: #0a1226;
  --ink-800: #101b35;
  --ink-700: #1a2848;
  --blue: #007af5;
  --blue-600: #0066d6;
  --blue-700: #0052ad;
  --blue-300: #6fb3ff;
  --blue-50: #ecf4ff;
  --violet: #7c3aed;
  --cyan: #22c3ee;
  --green: #16a34a;
  --amber: #b45309;
  --rose: #e11d48;
  --wa: #25d366;
  --wa-ink: #052e16;

  --bg: #ffffff;
  --bg-soft: #f6f8fc;
  --bg-muted: #eef2f8;
  --surface: #ffffff;
  --surface-2: #f8fafd;
  --border: #e2e8f0;
  --border-strong: #cbd5e1;
  --text: #0b1324;
  --text-2: #445169;
  --text-3: #64748b;
  --primary: var(--blue);
  --primary-hover: var(--blue-600);
  --primary-soft: var(--blue-50);
  --link: var(--blue-600);
  --focus: 0 0 0 3px rgba(0, 122, 245, 0.35);

  --font-head: 'Outfit', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Plus Jakarta Sans', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --shadow-sm: 0 1px 2px rgba(11, 19, 36, 0.06);
  --shadow: 0 1px 2px rgba(11, 19, 36, 0.04), 0 8px 24px rgba(11, 19, 36, 0.06);
  --shadow-lg: 0 2px 6px rgba(11, 19, 36, 0.05), 0 24px 56px rgba(11, 19, 36, 0.12);
  --header-h: 68px;
  --container: 1280px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

[data-theme="dark"] {
  --bg: #070d1b;
  --bg-soft: #0a1324;
  --bg-muted: #0e1a30;
  --surface: #0d1729;
  --surface-2: #101d33;
  --border: #1d2a44;
  --border-strong: #2b3b5c;
  --text: #edf2fa;
  --text-2: #a9b6cb;
  --text-3: #8091aa;
  --primary: #2b8cff;
  --primary-hover: #4d9fff;
  --primary-soft: rgba(43, 140, 255, 0.12);
  --link: #6fb3ff;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 8px 24px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 2px 6px rgba(0, 0, 0, 0.35), 0 24px 56px rgba(0, 0, 0, 0.5);
  color-scheme: dark;
}

/* 2. Base ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: var(--link); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--primary-hover); }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--text); line-height: 1.12; letter-spacing: -0.02em; margin: 0 0 0.5em; font-weight: 700; }
h1 { font-size: clamp(2.25rem, 1.4rem + 3.8vw, 4.25rem); letter-spacing: -0.035em; font-weight: 800; }
h2 { font-size: clamp(1.75rem, 1.25rem + 2.1vw, 2.75rem); letter-spacing: -0.03em; }
h3 { font-size: clamp(1.1rem, 1rem + 0.4vw, 1.3rem); letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: none; box-shadow: var(--focus); border-radius: 6px; }
::selection { background: rgba(0, 122, 245, 0.2); }
main { display: block; outline: none; }
[hidden] { display: none !important; }

.skip-link { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--primary); color: #fff; padding: 10px 16px; border-radius: 8px; font-weight: 600; text-decoration: none; transition: top .2s; }
.skip-link:focus { top: 12px; color: #fff; }
.visually-hidden, .hp-field { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.ico { flex-shrink: 0; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.container-narrow { max-width: 860px; }
@media (min-width: 768px) { .container { padding: 0 32px; } }

/* 3. Buttons --------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 11px 22px; border-radius: 999px; border: 1px solid transparent;
  font-weight: 600; font-size: 0.95rem; line-height: 1.2; text-decoration: none; white-space: nowrap;
  cursor: pointer; transition: background-color .2s var(--ease), border-color .2s, color .2s, transform .2s var(--ease), box-shadow .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 6px 18px -6px rgba(0, 122, 245, 0.55); }
.btn-primary:hover { background: var(--primary-hover); color: #fff; box-shadow: 0 10px 24px -8px rgba(0, 122, 245, 0.6); }
.btn-secondary { background: var(--surface); color: var(--text); border-color: var(--border-strong); }
.btn-secondary:hover { border-color: var(--primary); color: var(--primary); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--border); }
.btn-ghost:hover { background: var(--bg-muted); color: var(--text); }
.btn-whatsapp { background: var(--wa); color: var(--wa-ink); }
.btn-whatsapp:hover { background: #1fc05b; color: var(--wa-ink); }
.btn-light { background: #fff; color: var(--ink-900); }
.btn-light:hover { background: #e9f2ff; color: var(--ink-900); }
.btn-outline-light { background: rgba(255, 255, 255, 0.04); color: #fff; border-color: rgba(255, 255, 255, 0.28); }
.btn-outline-light:hover { background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.5); color: #fff; }
.btn-sm { min-height: 40px; padding: 8px 18px; font-size: 0.9rem; }
.btn[disabled], .btn.is-loading { opacity: .65; pointer-events: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 479px) { .btn-row > .btn { flex: 1 1 100%; } }

.icon-btn { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 999px; border: 1px solid var(--border); background: var(--surface); color: var(--text); cursor: pointer; transition: border-color .2s, color .2s, background .2s; }
.icon-btn:hover { border-color: var(--primary); color: var(--primary); }

/* 4. Header & navigation ---------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 100; height: var(--header-h);
  background: var(--bg);
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  -webkit-backdrop-filter: saturate(160%) blur(14px); backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--border);
  transition: background-color .25s, border-color .25s;
}
.header-inner { height: 100%; display: flex; align-items: center; gap: 12px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); flex-shrink: 0; }
.brand:hover { color: var(--text); }
.brand-mark { width: 30px; height: auto; }
.brand-name { font-family: var(--font-head); font-weight: 800; font-size: 1.22rem; letter-spacing: 0.035em; }
.brand-mark-light { display: none; }
[data-theme="dark"] .brand-mark-dark { display: none; }
[data-theme="dark"] .brand-mark-light { display: block; }

.main-nav { display: none; margin-left: auto; }
.nav-list { list-style: none; display: flex; align-items: center; gap: 2px; }
.nav-item { position: relative; }
.nav-link {
  display: inline-flex; align-items: center; gap: 2px; padding: 8px 7px; border-radius: 8px;
  background: none; border: 0; cursor: pointer; font-size: 0.875rem; font-weight: 600; color: var(--text-2);
  text-decoration: none; white-space: nowrap; transition: color .15s, background .15s;
}
.nav-link:hover, .nav-item.is-open > .nav-link, .nav-link.is-active { color: var(--text); background: var(--bg-muted); }
.nav-chevron { transition: transform .2s; opacity: .7; }
.nav-item.is-open .nav-chevron { transform: rotate(180deg); }
.header-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.header-cta { display: none; }
.theme-icon-sun { display: none; }
[data-theme="dark"] .theme-icon-sun { display: block; }
[data-theme="dark"] .theme-icon-moon { display: none; }
.menu-icon-close { display: none; }
.menu-btn[aria-expanded="true"] .menu-icon-close { display: block; }
.menu-btn[aria-expanded="true"] .menu-icon-open { display: none; }

@media (min-width: 560px) { .header-cta { display: inline-flex; } }
@media (min-width: 1280px) {
  .main-nav { display: block; }
  .header-actions { margin-left: 4px; }
  .menu-btn { display: none; }
  .header-cta { padding-left: 16px; padding-right: 16px; }
}

/* Mega menus */
.mega {
  position: absolute; top: calc(100% + 12px); left: 50%; z-index: 110;
  width: max-content; max-width: min(820px, calc(100vw - 48px));
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  padding: 14px; opacity: 0; visibility: hidden; transform: translate(-50%, 6px);
  transition: opacity .18s var(--ease), transform .18s var(--ease), visibility .18s;
}
.mega::before { content: ''; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.nav-item.is-open > .mega { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
@media (hover: hover) and (pointer: fine) {
  .nav-item.has-menu:hover > .mega { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
  .nav-item.has-menu:hover > .nav-link { color: var(--text); background: var(--bg-muted); }
}
.mega-services { width: 780px; }
.mega-industries { width: 620px; }
.mega-solutions { width: 640px; }
.mega-lms { width: 330px; }
.mega-grid { display: grid; gap: 4px; }
.mega-grid-1 { grid-template-columns: 1fr; }
.mega-grid-2 { grid-template-columns: 1fr 1fr; }
.mega-grid-3 { grid-template-columns: repeat(3, 1fr); }
.mega-col { display: flex; flex-direction: column; gap: 2px; }
.mega-col-title { margin: 6px 10px 6px; font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--text-3); display: flex; flex-direction: column; }
.mega-col-title span { text-transform: none; letter-spacing: 0; font-weight: 500; font-size: 0.78rem; }
.mega-link { display: flex; align-items: flex-start; gap: 12px; padding: 10px; border-radius: 12px; text-decoration: none; color: var(--text); transition: background .15s; }
.mega-link:hover { background: var(--bg-soft); color: var(--text); }
.mega-link strong { display: flex; align-items: center; gap: 4px; font-size: 0.9rem; font-weight: 600; line-height: 1.3; }
.mega-link small { display: block; color: var(--text-3); font-size: 0.8rem; line-height: 1.4; margin-top: 2px; }
.mega-link-compact { align-items: center; padding: 8px 10px; }
.mega-link-more strong { color: var(--primary); }
.mega-icon { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--primary-soft); color: var(--primary); flex-shrink: 0; }
.mega-link-compact .mega-icon { width: 30px; height: 30px; border-radius: 9px; }
.mega-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 10px; padding: 12px 10px 4px; border-top: 1px solid var(--border); }
.mega-foot a { display: inline-flex; align-items: center; gap: 6px; font-size: 0.86rem; font-weight: 600; text-decoration: none; }

/* Mobile menu */
.mobile-menu {
  position: fixed; inset: var(--header-h) 0 0 0; z-index: 99; background: var(--bg);
  overflow-y: auto; overscroll-behavior: contain; display: none; border-top: 1px solid var(--border);
}
.mobile-menu.is-open { display: block; }
body.menu-open { overflow: hidden; }
.mobile-menu-inner { padding-top: 8px; padding-bottom: 40px; display: flex; flex-direction: column; }
.m-group { border-bottom: 1px solid var(--border); }
.m-group summary, .m-link { display: flex; align-items: center; justify-content: space-between; padding: 15px 4px; font-weight: 600; font-size: 1.02rem; color: var(--text); text-decoration: none; cursor: pointer; list-style: none; }
.m-group summary::-webkit-details-marker { display: none; }
.m-group[open] summary .ico { transform: rotate(180deg); }
.m-link { border-bottom: 1px solid var(--border); }
.m-links { display: grid; grid-template-columns: 1fr; gap: 2px; padding: 0 0 14px 8px; }
.m-links a { padding: 9px 8px; border-radius: 8px; color: var(--text-2); text-decoration: none; font-size: 0.95rem; }
.m-links a:hover { background: var(--bg-muted); color: var(--text); }
.m-links .m-more { color: var(--primary); font-weight: 600; }
@media (min-width: 560px) { .m-links { grid-template-columns: 1fr 1fr; } }
.m-actions { display: grid; gap: 10px; margin-top: 22px; }
@media (min-width: 1280px) { .mobile-menu { display: none !important; } }

/* Header on a dark hero */
.has-dark-hero .site-header:not(.is-scrolled):not(.menu-is-open) { background: transparent; border-bottom-color: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }
.has-dark-hero .site-header:not(.is-scrolled):not(.menu-is-open) .brand,
.has-dark-hero .site-header:not(.is-scrolled):not(.menu-is-open) .nav-link { color: rgba(255, 255, 255, 0.86); }
.has-dark-hero .site-header:not(.is-scrolled):not(.menu-is-open) .brand-name { color: #fff; }
.has-dark-hero .site-header:not(.is-scrolled):not(.menu-is-open) .nav-link:hover,
.has-dark-hero .site-header:not(.is-scrolled):not(.menu-is-open) .nav-item.is-open > .nav-link { background: rgba(255, 255, 255, 0.08); color: #fff; }
.has-dark-hero .site-header:not(.is-scrolled):not(.menu-is-open) .icon-btn { background: rgba(255, 255, 255, 0.06); border-color: rgba(255, 255, 255, 0.2); color: #fff; }
.has-dark-hero .site-header:not(.is-scrolled):not(.menu-is-open) .brand-mark-dark { display: none; }
.has-dark-hero .site-header:not(.is-scrolled):not(.menu-is-open) .brand-mark-light { display: block; }
@media (hover: hover) and (pointer: fine) {
  .has-dark-hero .site-header:not(.is-scrolled) .nav-item.has-menu:hover > .nav-link { background: rgba(255, 255, 255, 0.08); color: #fff; }
}
.has-dark-hero main { margin-top: calc(var(--header-h) * -1); }

/* 5. Sections & layout ------------------------------------------------------ */
.section { padding: 64px 0; }
.section-sm { padding: 40px 0; }
.section-muted { background: var(--bg-soft); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
@media (min-width: 768px) { .section { padding: 96px 0; } }
.section-head { max-width: 760px; margin: 0 0 40px; }
.section-head-center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head-left { margin-left: 0; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 14px; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--primary); }
.section-title { margin-bottom: 14px; }
.section-sub { font-size: 1.08rem; color: var(--text-2); margin: 0; }
.section-head-split { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 36px; }
.section-head-split .section-head { margin-bottom: 0; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; text-decoration: none; }

.grid { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } .grid-4 { grid-template-columns: repeat(4, 1fr); } .grid { gap: 22px; } }

/* Grid children may shrink below their content's intrinsic width (images
   with width attributes would otherwise widen 1fr tracks past the screen). */
.grid > *, .split > *, .detail-grid > *, .hero-grid > *, .calc > *, .flow > *, .gallery > *, .form-grid > * { min-width: 0; }

.split { display: grid; gap: 40px; align-items: start; }
@media (min-width: 1024px) { .split { grid-template-columns: 1.05fr 0.95fr; gap: 64px; } .split-reverse > :first-child { order: 2; } }

/* 6. Cards ------------------------------------------------------------------ */
.card {
  position: relative; display: flex; flex-direction: column; gap: 10px;
  padding: 24px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  color: var(--text); box-shadow: var(--shadow-sm);
}
.card-link { text-decoration: none; transition: transform .25s var(--ease), border-color .25s, box-shadow .25s; }
.card-link:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--primary) 45%, var(--border)); box-shadow: var(--shadow); color: var(--text); }
.card-icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 13px; background: var(--primary); color: #fff; margin-bottom: 4px; }
.card-icon-soft { background: var(--primary-soft); color: var(--primary); }
.card-title { margin: 0; font-size: 1.12rem; }
.card-text { margin: 0; color: var(--text-2); font-size: 0.95rem; line-height: 1.6; }
.card-more { margin-top: auto; padding-top: 8px; display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 0.9rem; color: var(--primary); }
.card-link:hover .card-more .ico { transform: translateX(3px); }
.card-more .ico { transition: transform .2s; }

.feature { display: flex; gap: 14px; padding: 20px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
.feature-check { display: grid; place-items: center; width: 28px; height: 28px; flex-shrink: 0; border-radius: 999px; background: var(--primary-soft); color: var(--primary); }
.feature-title { font-size: 1rem; margin: 2px 0 4px; }
.feature p { margin: 0; color: var(--text-2); font-size: 0.93rem; }

.problem-card { padding: 22px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); border-left: 3px solid var(--rose); }
.problem-card h3 { font-size: 1.02rem; margin-bottom: 6px; }
.problem-card p { margin: 0; color: var(--text-2); font-size: 0.93rem; }

.tag { display: inline-flex; align-items: center; padding: 3px 10px; border-radius: 999px; background: var(--primary-soft); color: var(--primary); font-size: 0.75rem; font-weight: 700; letter-spacing: .02em; }
.tech-list { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.tech-list li { padding: 7px 14px; border-radius: 999px; border: 1px solid var(--border); background: var(--surface); font-size: 0.88rem; font-weight: 500; color: var(--text-2); }

.check-list { list-style: none; display: grid; gap: 10px; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; color: var(--text-2); }
.check-list li .ico { color: var(--green); margin-top: 3px; }

/* 7. Home hero ------------------------------------------------------------- */
.hero {
  position: relative; overflow: hidden; color: #fff; isolation: isolate;
  background: radial-gradient(1200px 600px at 85% -10%, rgba(0, 122, 245, 0.35), transparent 60%),
              radial-gradient(900px 500px at -10% 110%, rgba(124, 58, 237, 0.22), transparent 60%),
              linear-gradient(180deg, var(--ink-950) 0%, var(--ink-900) 100%);
  padding: calc(var(--header-h) + 56px) 0 72px;
}
.hero::before {
  content: ''; position: absolute; inset: 0; z-index: -1; opacity: .55;
  background-image: linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 30%, transparent 75%); mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 30%, transparent 75%);
}
.hero-grid { display: grid; gap: 48px; align-items: center; }
@media (min-width: 1024px) { .hero-grid { grid-template-columns: 1.1fr 0.9fr; gap: 56px; } .hero { padding: calc(var(--header-h) + 80px) 0 104px; } }
.hero-eyebrow { display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 8px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.16); background: rgba(255, 255, 255, 0.05); font-size: 0.84rem; font-weight: 600; color: rgba(255, 255, 255, 0.88); margin-bottom: 26px; }
.hero-eyebrow .dot { width: 22px; height: 22px; border-radius: 999px; display: grid; place-items: center; background: rgba(0, 122, 245, 0.25); color: var(--blue-300); }
.hero h1 { color: #fff; margin-bottom: 22px; }
.hero h1 .accent { background: linear-gradient(92deg, #59a8ff 0%, #8fc6ff 45%, #b9a6ff 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-sub { font-size: clamp(1.05rem, 0.98rem + 0.4vw, 1.25rem); color: rgba(226, 236, 250, 0.82); max-width: 580px; margin-bottom: 32px; }
.hero-trust { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: 0.88rem; color: rgba(226, 236, 250, 0.7); }
.hero-trust span { display: inline-flex; align-items: center; gap: 8px; }
@media (min-width: 520px) { .hero-trust { display: grid; grid-template-columns: repeat(2, max-content); } }
.hero-trust .ico { color: var(--blue-300); }
.hero-trust a { display: inline-flex; align-items: center; gap: 8px; color: inherit; text-decoration: none; }
.hero-trust a:hover { color: #fff; text-decoration: underline; }

/* Hero visual: Build → Automate → Scale pipeline */
.pipeline { position: relative; display: grid; gap: 14px; max-width: 520px; margin-left: auto; margin-right: auto; width: 100%; }
.pipe-card {
  position: relative; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px;
  padding: 16px 18px; border-radius: 18px; border: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.03));
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  box-shadow: 0 20px 40px -24px rgba(0, 0, 0, 0.6);
  animation: pipeIn .7s var(--ease) both;
}
.pipe-card:nth-child(2) { animation-delay: .12s; margin-left: 24px; }
.pipe-card:nth-child(3) { animation-delay: .24s; margin-left: 48px; }
@media (max-width: 479px) {
  .pipe-card { grid-template-columns: auto 1fr; padding: 14px; }
  .pipe-meter { display: none; }
  .pipe-card:nth-child(2) { margin-left: 10px; }
  .pipe-card:nth-child(3) { margin-left: 20px; }
}
.pipe-icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; color: #fff; }
.pipe-build .pipe-icon { background: linear-gradient(135deg, #007af5, #0052ad); }
.pipe-automate .pipe-icon { background: linear-gradient(135deg, #7c3aed, #4f46e5); }
.pipe-scale .pipe-icon { background: linear-gradient(135deg, #0ea5e9, #10b981); }
.pipe-label { font-family: var(--font-head); font-weight: 700; font-size: 1.05rem; letter-spacing: 0.02em; color: #fff; }
.pipe-desc { font-size: 0.82rem; color: rgba(226, 236, 250, 0.68); line-height: 1.4; }
.pipe-meter { width: 74px; height: 6px; border-radius: 99px; background: rgba(255, 255, 255, 0.1); overflow: hidden; }
.pipe-meter i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #59a8ff, #b9a6ff); animation: meter 3.2s var(--ease) infinite; transform-origin: left; }
.pipe-card:nth-child(2) .pipe-meter i { animation-delay: .6s; }
.pipe-card:nth-child(3) .pipe-meter i { animation-delay: 1.2s; }
.pipe-console {
  margin-top: 8px; padding: 14px 16px; border-radius: 14px; font-family: var(--font-mono); font-size: 0.78rem; line-height: 1.75;
  background: rgba(3, 8, 20, 0.7); border: 1px solid rgba(255, 255, 255, 0.08); color: rgba(226, 236, 250, 0.78);
  animation: pipeIn .7s .36s var(--ease) both; overflow: hidden;
}
.pipe-console .ok { color: #4ade80; }
.pipe-console .k { color: #8fc6ff; }
.pipe-console .line { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pipe-console .cursor { display: inline-block; width: 7px; height: 14px; background: #8fc6ff; vertical-align: -2px; animation: blink 1s steps(1) infinite; }
@keyframes pipeIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes meter { 0% { transform: scaleX(0.15); } 50% { transform: scaleX(1); } 100% { transform: scaleX(0.15); } }
@keyframes blink { 50% { opacity: 0; } }

/* Stats & logos */
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; margin: 0; border-radius: var(--radius-lg); overflow: hidden; background: var(--border); border: 1px solid var(--border); }
.stat { padding: 22px 20px; background: var(--surface); }
.stat dt { font-size: 0.85rem; color: var(--text-3); font-weight: 600; order: 2; }
.stat dd { margin: 0 0 4px; font-family: var(--font-head); font-size: clamp(1.8rem, 1.4rem + 1.4vw, 2.5rem); font-weight: 800; color: var(--text); letter-spacing: -0.03em; line-height: 1.1; }
.stat { display: flex; flex-direction: column-reverse; }
@media (min-width: 768px) { .stats { grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); } }

.logos { text-align: center; }
.logos-title { font-size: 0.8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); margin-bottom: 22px; }
.logos-row { list-style: none; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 16px; }
.logos-row li { width: 96px; height: 64px; display: grid; place-items: center; padding: 6px; border-radius: 12px; background: #fff; border: 1px solid var(--border); }
.logos-row img { max-height: 50px; width: auto; object-fit: contain; filter: grayscale(1); opacity: .78; transition: filter .25s, opacity .25s; }
.logos-row li:hover img { filter: none; opacity: 1; }
@media (min-width: 768px) { .logos-row li { width: 108px; height: 72px; } .logos-row img { max-height: 56px; } }

/* Government registrations (Startup India, MSME) with certificate previews */
.logos + .creds { margin-top: 40px; }
.creds-title { font-family: var(--font-body); line-height: 1.5; text-align: center; }
.creds-grid { display: grid; gap: 16px; max-width: 1040px; margin: 0 auto; }
@media (min-width: 900px) { .creds-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.cred { display: flex; flex-direction: column; gap: 16px; padding: 16px; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface); box-shadow: var(--shadow-sm); }
.cred-doc { position: relative; flex: 0 0 auto; height: 160px; border-radius: 12px; border: 1px solid var(--border); background: var(--bg-muted); overflow: hidden; }
.cred-doc img { position: absolute; inset: 10px; width: calc(100% - 20px); height: calc(100% - 20px); object-fit: contain; filter: drop-shadow(0 2px 5px rgba(11, 19, 36, 0.22)); transition: transform .25s var(--ease); }
.cred-doc:hover img { transform: scale(1.05); }
@media (min-width: 480px) { .cred { flex-direction: row; align-items: center; gap: 20px; } .cred-doc { width: 148px; height: 112px; } }
.cred-body { min-width: 0; }
.cred-scheme { display: flex; align-items: center; gap: 6px; margin: 0 0 6px; font-size: 0.72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--primary); }
.cred-title { font-size: 1.05rem; margin: 0 0 4px; }
.cred-text { margin: 0 0 8px; color: var(--text-2); font-size: 0.86rem; line-height: 1.5; }
.cred-id { margin: 0 0 10px; color: var(--text-3); font-size: 0.84rem; }
.cred-id strong { color: var(--text); font-family: var(--font-mono); font-weight: 600; overflow-wrap: anywhere; }
.cred-links { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 0; font-size: 0.88rem; font-weight: 600; }
.cred-links a { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; }
.cred-links a:hover { text-decoration: underline; }

/* 8. Pillars (Build / Automate / Scale) ------------------------------------ */
.pillar { padding: 28px; border-radius: var(--radius-xl); border: 1px solid var(--border); background: var(--surface); display: flex; flex-direction: column; gap: 14px; }
.pillar-head { display: flex; align-items: center; gap: 14px; }
.pillar-head .pipe-icon { width: 48px; height: 48px; }
.pillar h3 { margin: 0; font-size: 1.4rem; }
.pillar > p { color: var(--text-2); margin: 0; }
.pillar-links { list-style: none; display: grid; gap: 2px; margin-top: 4px; }
.pillar-links a { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 9px 10px; margin: 0 -10px; border-radius: 10px; color: var(--text); text-decoration: none; font-weight: 500; font-size: 0.95rem; }
.pillar-links a:hover { background: var(--bg-soft); color: var(--primary); }
.pillar-links a .ico { color: var(--text-3); }
.pillar-build .pipe-icon { background: linear-gradient(135deg, #007af5, #0052ad); color: #fff; }
.pillar-automate .pipe-icon { background: linear-gradient(135deg, #7c3aed, #4f46e5); color: #fff; }
.pillar-grow .pipe-icon { background: linear-gradient(135deg, #0ea5e9, #10b981); color: #fff; }

/* 9. Dark band (AI section) ------------------------------------------------- */
.section-dark {
  position: relative; overflow: hidden; color: #e2eaf6; isolation: isolate;
  background: radial-gradient(800px 400px at 100% 0%, rgba(124, 58, 237, 0.25), transparent 60%),
              radial-gradient(700px 400px at 0% 100%, rgba(0, 122, 245, 0.25), transparent 60%), var(--ink-900);
}
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark .section-sub, .section-dark p { color: rgba(226, 236, 250, 0.78); }
.section-dark .eyebrow { color: var(--blue-300); }
.ai-chip-grid { display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0 30px; }
.ai-chip { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.14); background: rgba(255, 255, 255, 0.05); color: #e2eaf6; font-size: 0.88rem; font-weight: 500; text-decoration: none; }
.ai-chip .ico { color: var(--blue-300); }
a.ai-chip:hover { background: rgba(255, 255, 255, 0.1); color: #fff; }

/* Scripted chat demo */
.chat { border-radius: 22px; border: 1px solid rgba(255, 255, 255, 0.12); background: rgba(5, 11, 26, 0.65); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.7); overflow: hidden; max-width: 480px; margin: 0 auto; width: 100%; }
.chat-head { display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: rgba(255, 255, 255, 0.04); border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.chat-avatar { width: 36px; height: 36px; border-radius: 999px; display: grid; place-items: center; background: linear-gradient(135deg, #7c3aed, #007af5); color: #fff; }
.chat-head strong { display: block; color: #fff; font-size: 0.92rem; }
.chat-head small { color: #4ade80; font-size: 0.76rem; display: inline-flex; align-items: center; gap: 6px; }
.chat-head small::before { content: ''; width: 7px; height: 7px; border-radius: 99px; background: #4ade80; }
.chat-body { padding: 16px; display: flex; flex-direction: column; gap: 10px; min-height: 340px; }
.bubble { max-width: 86%; padding: 10px 14px; border-radius: 16px; font-size: 0.88rem; line-height: 1.5; }
.bubble-user { align-self: flex-end; background: var(--blue); color: #fff; border-bottom-right-radius: 5px; }
.bubble-bot { align-self: flex-start; background: rgba(255, 255, 255, 0.08); color: #e2eaf6; border-bottom-left-radius: 5px; }
.js .chat[data-chat-demo] .bubble { opacity: 0; transform: translateY(8px); transition: opacity .35s var(--ease), transform .35s var(--ease); }
.js .chat[data-chat-demo] .bubble.is-shown { opacity: 1; transform: none; }
.chat-typing { align-self: flex-start; display: none; gap: 4px; padding: 12px 14px; border-radius: 16px; background: rgba(255, 255, 255, 0.08); }
.chat-typing.is-shown { display: inline-flex; }
.chat-typing i { width: 6px; height: 6px; border-radius: 99px; background: rgba(255, 255, 255, 0.6); animation: typing 1s infinite; }
.chat-typing i:nth-child(2) { animation-delay: .15s; }
.chat-typing i:nth-child(3) { animation-delay: .3s; }
@keyframes typing { 0%, 60%, 100% { transform: translateY(0); opacity: .5; } 30% { transform: translateY(-4px); opacity: 1; } }
.chat-note { padding: 10px 16px; font-size: 0.74rem; color: rgba(226, 236, 250, 0.55); border-top: 1px solid rgba(255, 255, 255, 0.06); }

/* AI capability grid on dark */
.ai-card { padding: 22px; border-radius: var(--radius-lg); border: 1px solid rgba(255, 255, 255, 0.1); background: rgba(255, 255, 255, 0.04); display: flex; flex-direction: column; gap: 10px; transition: background .2s, border-color .2s, transform .25s var(--ease); }
.ai-card:hover { background: rgba(255, 255, 255, 0.07); border-color: rgba(111, 179, 255, 0.4); transform: translateY(-2px); }
.ai-card .card-icon { background: rgba(0, 122, 245, 0.18); color: var(--blue-300); }
.ai-card h3 { margin: 0; font-size: 1.05rem; }
.ai-card p { margin: 0; font-size: 0.92rem; }

/* 10. Process --------------------------------------------------------------- */
.process { list-style: none; display: grid; gap: 16px; grid-template-columns: 1fr; counter-reset: step; }
@media (min-width: 640px) { .process { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .process { grid-template-columns: repeat(3, 1fr); } }
.process-step { position: relative; padding: 24px; border-radius: var(--radius-lg); border: 1px solid var(--border); background: var(--surface); }
.process-num { position: absolute; top: 18px; right: 20px; font-family: var(--font-head); font-weight: 800; font-size: 1.6rem; color: var(--border-strong); letter-spacing: -0.02em; }
.process-icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--primary-soft); color: var(--primary); margin-bottom: 14px; }
.process-step h3 { margin-bottom: 6px; }
.process-step p { margin: 0; color: var(--text-2); font-size: 0.94rem; }

/* 11. Page hero & breadcrumbs ---------------------------------------------- */
.page-hero { position: relative; padding: 36px 0 56px; background: linear-gradient(180deg, var(--bg-soft), var(--bg)); border-bottom: 1px solid var(--border); overflow: hidden; }
.page-hero::after { content: ''; position: absolute; right: -160px; top: -160px; width: 480px; height: 480px; border-radius: 50%; background: radial-gradient(circle, rgba(0, 122, 245, 0.12), transparent 65%); pointer-events: none; }
@media (min-width: 768px) { .page-hero { padding: 44px 0 80px; } }
.page-hero-inner { position: relative; z-index: 1; max-width: 820px; }
.page-hero-icon { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 16px; background: var(--primary); color: #fff; margin-bottom: 20px; box-shadow: 0 12px 24px -12px rgba(0, 122, 245, 0.7); }
.page-title { font-size: clamp(2rem, 1.4rem + 2.8vw, 3.5rem); margin-bottom: 18px; }
.page-intro { font-size: clamp(1.02rem, 0.98rem + 0.3vw, 1.2rem); color: var(--text-2); margin-bottom: 28px; max-width: 700px; }
.breadcrumbs { margin-bottom: 26px; font-size: 0.85rem; }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; color: var(--text-3); }
.breadcrumbs li { display: inline-flex; align-items: center; gap: 6px; }
.breadcrumbs li + li::before { content: '/'; opacity: .5; }
.breadcrumbs a { color: var(--text-3); text-decoration: none; }
.breadcrumbs a:hover { color: var(--primary); }
.breadcrumbs [aria-current] { color: var(--text-2); font-weight: 600; }

/* Detail-page layout */
.detail-grid { display: grid; gap: 48px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 1024px) { .detail-grid { grid-template-columns: minmax(0, 1fr) 340px; gap: 64px; } }
.sidebar-card { position: sticky; top: calc(var(--header-h) + 20px); display: flex; flex-direction: column; gap: 14px; padding: 26px; border-radius: var(--radius-lg); border: 1px solid var(--border); background: var(--surface); box-shadow: var(--shadow); }
.sidebar-card h2 { font-size: 1.25rem; margin: 0; }
.sidebar-card p { margin: 0; color: var(--text-2); font-size: 0.94rem; }
.sidebar-card .btn { width: 100%; }
.prose-lead { font-size: 1.1rem; color: var(--text-2); }
.prose-lead p { margin-bottom: 1.1em; }
.block + .block { margin-top: 56px; }
.block h2 { font-size: clamp(1.45rem, 1.2rem + 1vw, 2rem); margin-bottom: 20px; }

/* 12. CTA band ---------------------------------------------------------------- */
.cta-band {
  display: grid; gap: 24px; align-items: center; padding: 36px 28px; border-radius: var(--radius-xl); color: #fff;
  background: radial-gradient(600px 300px at 100% 0%, rgba(124, 58, 237, 0.4), transparent 60%),
              radial-gradient(600px 300px at 0% 100%, rgba(0, 122, 245, 0.5), transparent 60%), var(--ink-900);
  box-shadow: var(--shadow-lg);
}
@media (min-width: 900px) { .cta-band { grid-template-columns: 1fr auto; padding: 52px 56px; } }
.cta-band h2 { color: #fff; margin-bottom: 10px; font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.4rem); }
.cta-band p { color: rgba(226, 236, 250, 0.8); margin: 0; max-width: 620px; }
.cta-band .btn-primary { background: #fff; color: var(--ink-900); box-shadow: none; }
.cta-band .btn-primary:hover { background: #e9f2ff; color: var(--ink-900); }
.cta-band .btn-secondary { background: rgba(255, 255, 255, 0.06); color: #fff; border-color: rgba(255, 255, 255, 0.3); }
.cta-band .btn-secondary:hover { border-color: #fff; color: #fff; }
.cta-band-wrap { padding-top: 24px; }

/* 13. FAQ ------------------------------------------------------------------- */
.faq-list { display: grid; gap: 12px; }
.faq { border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 20px; cursor: pointer; font-weight: 600; font-size: 1.02rem; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ico { color: var(--text-3); transition: transform .2s; }
.faq[open] summary .ico { transform: rotate(180deg); }
.faq-answer { padding: 0 20px 18px; color: var(--text-2); }
.faq-answer p { margin: 0; }

/* 14. Forms ------------------------------------------------------------------ */
.form-card { padding: 26px; border-radius: var(--radius-xl); border: 1px solid var(--border); background: var(--surface); box-shadow: var(--shadow); }
@media (min-width: 768px) { .form-card { padding: 36px; } }
.form-grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .form-grid { grid-template-columns: 1fr 1fr; } .field-full { grid-column: 1 / -1; } }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field label { font-size: 0.88rem; font-weight: 600; color: var(--text); }
.req { color: var(--rose); }
.opt { color: var(--text-3); font-weight: 500; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 11px 14px; border-radius: 12px; border: 1px solid var(--border-strong);
  background: var(--surface); color: var(--text); font-size: 1rem; transition: border-color .15s, box-shadow .15s;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--primary); box-shadow: var(--focus); }
.field [aria-invalid="true"] { border-color: var(--rose); }
.field-error { color: var(--rose); font-size: 0.82rem; }
.form-note { font-size: 0.83rem; color: var(--text-3); margin: 16px 0; }
.form-actions .btn { width: 100%; }
@media (min-width: 640px) { .form-actions .btn { width: auto; } }
.form-status { margin-top: 14px; }
.form-status:empty { display: none; }
.alert { display: flex; gap: 12px; padding: 14px 16px; border-radius: 12px; font-size: 0.94rem; }
.alert-success { background: rgba(22, 163, 74, 0.1); color: #15803d; border: 1px solid rgba(22, 163, 74, 0.3); }
.alert-error { background: rgba(225, 29, 72, 0.08); color: #be123c; border: 1px solid rgba(225, 29, 72, 0.3); }
[data-theme="dark"] .alert-success { color: #4ade80; }
[data-theme="dark"] .alert-error { color: #fb7185; }
.lead-form.is-sent .form-grid, .lead-form.is-sent .form-note, .lead-form.is-sent .form-actions { display: none; }

/* 15. Contact ---------------------------------------------------------------- */
.contact-list { list-style: none; display: grid; gap: 12px; }
.contact-item { display: flex; gap: 14px; align-items: flex-start; padding: 18px; border-radius: var(--radius); border: 1px solid var(--border); background: var(--surface); text-decoration: none; color: var(--text); }
a.contact-item:hover { border-color: var(--primary); color: var(--text); }
.contact-item .card-icon { width: 42px; height: 42px; margin: 0; }
.contact-item strong { display: block; font-size: 0.95rem; }
.contact-item span { color: var(--text-2); font-size: 0.92rem; word-break: break-word; }
.map-frame { border: 0; width: 100%; height: 280px; border-radius: var(--radius-lg); }
.map-placeholder { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 22px; border-radius: var(--radius-lg); border: 1px dashed var(--border-strong); background: var(--bg-soft); }

/* 16. Portfolio -------------------------------------------------------------- */
.filters { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; margin-bottom: 28px; scrollbar-width: thin; }
.filter-btn { flex-shrink: 0; padding: 9px 16px; border-radius: 999px; border: 1px solid var(--border-strong); background: var(--surface); color: var(--text-2); font-weight: 600; font-size: 0.86rem; letter-spacing: .03em; cursor: pointer; transition: all .15s; }
.filter-btn:hover { border-color: var(--primary); color: var(--primary); }
.filter-btn.is-active { background: var(--text); border-color: var(--text); color: var(--bg); }
.case-card { padding: 0; overflow: hidden; gap: 0; }
.case-visual { aspect-ratio: 16 / 10; display: grid; place-items: center; background: linear-gradient(135deg, var(--bg-muted), var(--bg-soft)); border-bottom: 1px solid var(--border); overflow: hidden; }
.case-visual img { width: 100%; height: 100%; object-fit: cover; }
.case-visual .case-logo { width: auto; max-width: 52%; max-height: 62%; object-fit: contain; border-radius: 12px; background: #fff; padding: 10px; }
.case-initial { font-family: var(--font-head); font-size: 3rem; font-weight: 800; color: var(--border-strong); }
.case-body { display: flex; flex-direction: column; gap: 8px; padding: 20px 22px 22px; flex: 1; }
.case-meta { font-size: 0.8rem; font-weight: 600; color: var(--text-3); text-transform: uppercase; letter-spacing: .05em; }
.case-card[hidden] { display: none; }
.client-tile { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 22px 16px; text-align: center; }
.client-tile img { height: 72px; width: auto; object-fit: contain; }
.client-tile strong { font-size: 0.95rem; }
.client-tile span { font-size: 0.82rem; color: var(--text-3); }
.client-initial { width: 72px; height: 72px; border-radius: 16px; display: grid; place-items: center; background: var(--primary-soft); color: var(--primary); font-family: var(--font-head); font-weight: 800; font-size: 1.6rem; }
.empty-note { padding: 28px; border-radius: var(--radius-lg); border: 1px dashed var(--border-strong); text-align: center; color: var(--text-2); background: var(--bg-soft); }
.gallery { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 768px) { .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.gallery img { border-radius: var(--radius); border: 1px solid var(--border); }
.facts { display: grid; gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; margin: 0; }
.facts > div { padding: 14px 16px; background: var(--surface); }
.facts dt { font-size: 0.78rem; text-transform: uppercase; letter-spacing: .06em; color: var(--text-3); font-weight: 700; }
.facts dd { margin: 2px 0 0; font-weight: 600; }

/* 17. Calculator -------------------------------------------------------------- */
.calc { display: grid; gap: 28px; }
@media (min-width: 1024px) { .calc { grid-template-columns: minmax(0, 1fr) 360px; align-items: start; } }
.calc-steps { list-style: none; display: flex; gap: 6px; margin-bottom: 22px; }
.calc-steps li { flex: 1; height: 5px; border-radius: 99px; background: var(--border); transition: background .3s; }
.calc-steps li.is-done, .calc-steps li.is-current { background: var(--primary); }
.calc-panel { padding: 26px; border-radius: var(--radius-xl); border: 1px solid var(--border); background: var(--surface); box-shadow: var(--shadow); }
@media (min-width: 768px) { .calc-panel { padding: 34px; } }
.calc-step { border: 0; margin: 0; padding: 0; min-width: 0; }
.js .calc-step:not(.is-active) { display: none; }
.calc-step legend { font-family: var(--font-head); font-weight: 700; font-size: clamp(1.3rem, 1.1rem + .8vw, 1.7rem); margin-bottom: 4px; padding: 0; letter-spacing: -0.02em; }
.calc-step .step-hint { color: var(--text-2); margin: 0 0 20px; }
.calc-step-label { font-family: var(--font-body); font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--primary); margin-bottom: 6px; display: block; }
.choice-grid { display: grid; gap: 10px; grid-template-columns: 1fr; }
@media (min-width: 520px) { .choice-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) { .choice-grid-3 { grid-template-columns: repeat(3, 1fr); } }
.choice { position: relative; display: block; }
.choice input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.choice-box { display: flex; align-items: center; gap: 12px; height: 100%; padding: 14px; border-radius: 14px; border: 1.5px solid var(--border); background: var(--surface); transition: border-color .15s, background .15s, box-shadow .15s; }
.choice-box .mega-icon { width: 38px; height: 38px; }
.choice-box strong { display: block; font-size: 0.95rem; line-height: 1.3; }
.choice-box small { display: block; color: var(--text-3); font-size: 0.8rem; line-height: 1.35; }
.choice:hover .choice-box { border-color: var(--border-strong); }
.choice input:checked + .choice-box { border-color: var(--primary); background: var(--primary-soft); box-shadow: 0 0 0 1px var(--primary) inset; }
.choice input:focus-visible + .choice-box { box-shadow: var(--focus); }
.choice-tick { margin-left: auto; width: 22px; height: 22px; border-radius: 99px; border: 1.5px solid var(--border-strong); display: grid; place-items: center; color: transparent; flex-shrink: 0; }
.choice input:checked + .choice-box .choice-tick { background: var(--primary); border-color: var(--primary); color: #fff; }
.choice-included .choice-box::after { content: 'Included'; position: absolute; top: 8px; right: 10px; font-size: 0.66rem; font-weight: 700; color: var(--green); text-transform: uppercase; letter-spacing: .06em; }
.calc-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 26px; }
.calc-nav .btn { flex: 1; }
@media (min-width: 520px) { .calc-nav .btn { flex: 0 0 auto; } }
.calc-summary { position: sticky; top: calc(var(--header-h) + 20px); padding: 26px; border-radius: var(--radius-xl); color: #e2eaf6; background: radial-gradient(400px 200px at 100% 0%, rgba(124, 58, 237, 0.35), transparent 60%), var(--ink-900); }
.calc-summary h2 { color: #fff; font-size: 1.1rem; margin-bottom: 14px; }
.calc-range { font-family: var(--font-head); font-weight: 800; font-size: clamp(1.8rem, 1.4rem + 1.6vw, 2.4rem); color: #fff; letter-spacing: -0.03em; line-height: 1.1; margin-bottom: 6px; }
.calc-range.is-empty { font-size: 1.25rem; font-weight: 700; color: rgba(226, 236, 250, 0.75); }
.calc-range-note { font-size: 0.82rem; color: rgba(226, 236, 250, 0.6); margin-bottom: 18px; }
.calc-lines { list-style: none; display: grid; gap: 8px; font-size: 0.9rem; padding: 16px 0; border-top: 1px solid rgba(255, 255, 255, 0.1); border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
.calc-lines li { display: flex; justify-content: space-between; gap: 12px; }
.calc-lines span:first-child { color: rgba(226, 236, 250, 0.6); }
.calc-lines span:last-child { color: #fff; font-weight: 600; text-align: right; }
.calc-fit { margin-top: 16px; padding: 12px 14px; border-radius: 12px; font-size: 0.86rem; background: rgba(255, 255, 255, 0.06); }
.calc-fit:empty { display: none; }
.calc-disclaimer { margin: 16px 0 0; font-size: 0.78rem; color: rgba(226, 236, 250, 0.55); }

/* 18. LMS --------------------------------------------------------------------- */
.lms-band { padding: 40px 28px; border-radius: var(--radius-xl); background: linear-gradient(135deg, #04254a 0%, #0a1226 60%); color: #e2eaf6; position: relative; overflow: hidden; }
.lms-band::after { content: ''; position: absolute; right: -120px; bottom: -160px; width: 460px; height: 460px; border-radius: 50%; background: radial-gradient(circle, rgba(0, 122, 245, 0.35), transparent 65%); }
@media (min-width: 900px) { .lms-band { padding: 56px; } }
.lms-band > * { position: relative; z-index: 1; }
.lms-band h2 { color: #fff; }
.lms-band p { color: rgba(226, 236, 250, 0.78); }
.lms-programs { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 30px; }
.lms-programs li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(255, 255, 255, 0.12); font-size: 0.88rem; color: #e2eaf6; }
.lms-programs .ico { color: var(--blue-300); }

/* 19. Testimonials ------------------------------------------------------------ */
.testimonial { margin: 0; }
.testimonial-mark { color: var(--primary); opacity: .6; }
.testimonial blockquote { margin: 0; font-size: 1.02rem; color: var(--text); }
.testimonial figcaption { margin-top: auto; padding-top: 10px; }
.testimonial figcaption strong { display: block; }
.testimonial figcaption span { font-size: 0.86rem; color: var(--text-3); }

/* 20. Articles ---------------------------------------------------------------- */
.article-card { padding: 0; overflow: hidden; gap: 0; }
.article-card > :not(.article-cover) { margin-left: 22px; margin-right: 22px; }
.article-card .article-meta { margin-top: 20px; }
.article-card .card-title { margin-top: 10px; margin-bottom: 8px; }
.article-card .card-more { margin-bottom: 22px; }
.article-cover { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-bottom: 1px solid var(--border); }
.article-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 0.82rem; color: var(--text-3); }
.cat-nav { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; margin-bottom: 30px; }
.cat-nav a { flex-shrink: 0; padding: 8px 15px; border-radius: 999px; border: 1px solid var(--border-strong); color: var(--text-2); text-decoration: none; font-size: 0.88rem; font-weight: 600; }
.cat-nav a:hover { border-color: var(--primary); color: var(--primary); }
.cat-nav a[aria-current="page"] { background: var(--text); border-color: var(--text); color: var(--bg); }
.pagination { display: flex; justify-content: center; gap: 10px; margin-top: 40px; }

.article-head { max-width: 760px; }
.article-byline { display: flex; flex-wrap: wrap; gap: 6px 16px; color: var(--text-3); font-size: 0.9rem; }
.prose { font-size: 1.06rem; line-height: 1.8; color: var(--text); max-width: 720px; }
.prose h2 { font-size: clamp(1.4rem, 1.2rem + .8vw, 1.85rem); margin: 1.8em 0 0.6em; }
.prose h3 { margin: 1.6em 0 0.5em; }
.prose p, .prose ul, .prose ol { margin: 0 0 1.2em; }
.prose ul, .prose ol { padding-left: 1.4em; }
.prose li { margin-bottom: .4em; }
.prose blockquote { margin: 1.6em 0; padding: 4px 0 4px 20px; border-left: 3px solid var(--primary); color: var(--text-2); }
.prose code { font-family: var(--font-mono); font-size: .88em; background: var(--bg-muted); padding: 2px 6px; border-radius: 6px; }
.prose pre { overflow-x: auto; padding: 18px; border-radius: 12px; background: var(--ink-900); color: #e2eaf6; font-size: 0.88rem; line-height: 1.6; }
.prose pre code { background: none; padding: 0; color: inherit; }
.prose figure { margin: 1.8em 0; }
.prose img { border-radius: 12px; }
.prose figcaption { font-size: .86rem; color: var(--text-3); margin-top: 8px; }
.toc { padding: 20px; border-radius: var(--radius); border: 1px solid var(--border); background: var(--bg-soft); }
.toc p { font-weight: 700; margin-bottom: 8px; font-size: .9rem; }
.toc ol { padding-left: 1.2em; display: grid; gap: 6px; font-size: .92rem; }

/* 21. Footer ------------------------------------------------------------------ */
.site-footer { margin-top: 40px; padding: 64px 0 28px; background: var(--bg-soft); border-top: 1px solid var(--border); font-size: 0.93rem; }
.footer-grid { display: grid; gap: 36px; grid-template-columns: 1fr 1fr; }
.footer-brand { grid-column: 1 / -1; display: flex; flex-direction: column; gap: 16px; max-width: 420px; }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 1.6fr repeat(4, 1fr); gap: 32px; } .footer-brand { grid-column: auto; } }
.footer-tagline { color: var(--text-2); margin: 0; }
.footer-contact { list-style: none; display: grid; gap: 10px; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; color: var(--text-2); }
.footer-contact .ico { color: var(--primary); margin-top: 3px; }
.footer-contact a { color: var(--text); text-decoration: none; word-break: break-word; }
.footer-contact a:hover { color: var(--primary); }
.footer-social { display: flex; gap: 8px; }
.footer-social a { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; border: 1px solid var(--border); color: var(--text-2); background: var(--surface); }
.footer-social a:hover { color: var(--primary); border-color: var(--primary); }
.footer-badges { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.footer-badges a { display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--border); background: var(--surface); color: var(--text-2); font-size: 0.82rem; font-weight: 600; text-decoration: none; }
.footer-badges .ico { color: var(--primary); }
.footer-badges a:hover { color: var(--primary); border-color: var(--primary); }
.footer-title { font-weight: 700; font-size: 0.8rem; text-transform: uppercase; letter-spacing: .1em; color: var(--text-3); margin-bottom: 14px; }
.footer-col ul { list-style: none; display: grid; gap: 9px; }
.footer-col a { color: var(--text-2); text-decoration: none; }
.footer-col a:hover { color: var(--primary); }
.footer-more { font-weight: 600; color: var(--primary) !important; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--border); color: var(--text-3); font-size: 0.85rem; }
.footer-bottom p { margin: 0; }
.footer-bottom ul { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 18px; }
.footer-bottom a { color: var(--text-3); text-decoration: none; }
.footer-bottom a:hover { color: var(--primary); }

/* 22. WhatsApp float ---------------------------------------------------------- */
.wa-float {
  position: fixed; right: 16px; bottom: 16px; z-index: 90; display: inline-flex; align-items: center; gap: 10px;
  height: 56px; min-width: 56px; padding: 0 15px; border-radius: 999px; background: var(--wa); color: var(--wa-ink);
  text-decoration: none; font-weight: 700; font-size: 0.92rem; box-shadow: 0 12px 28px -10px rgba(5, 46, 22, 0.55);
  transition: transform .2s var(--ease), box-shadow .2s;
}
.wa-float:hover { transform: translateY(-2px); color: var(--wa-ink); box-shadow: 0 16px 32px -10px rgba(5, 46, 22, 0.6); }
.wa-float-label { display: none; }
@media (min-width: 900px) { .wa-float { right: 24px; bottom: 24px; padding: 0 20px 0 16px; } .wa-float-label { display: inline; } }
body.menu-open .wa-float { display: none; }

/* 23. Misc -------------------------------------------------------------------- */
.pill-note { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: var(--bg-muted); color: var(--text-2); font-size: 0.82rem; }
.callout { display: flex; gap: 14px; padding: 18px 20px; border-radius: var(--radius); background: var(--primary-soft); color: var(--text); border: 1px solid color-mix(in srgb, var(--primary) 25%, transparent); }
.callout .ico { color: var(--primary); margin-top: 2px; }
.callout p { margin: 0; color: var(--text-2); }
.solution { scroll-margin-top: calc(var(--header-h) + 24px); }
.solution-card { display: grid; gap: 22px; padding: 28px; border-radius: var(--radius-xl); border: 1px solid var(--border); background: var(--surface); }
@media (min-width: 900px) { .solution-card { grid-template-columns: 1fr 1fr; padding: 40px; gap: 40px; } }
.solution-card h2 { font-size: clamp(1.4rem, 1.2rem + 1vw, 1.9rem); }
.solution-for { color: var(--text-3); font-weight: 600; font-size: 0.9rem; margin-bottom: 10px; }
.related-links { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.related-links a { display: inline-flex; align-items: center; gap: 6px; padding: 7px 13px; border-radius: 999px; border: 1px solid var(--border); text-decoration: none; color: var(--text); font-size: 0.88rem; font-weight: 500; background: var(--surface); }
.related-links a:hover { border-color: var(--primary); color: var(--primary); }
.example-list { list-style: none; display: grid; gap: 10px; }
.example-list li { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 12px; background: var(--bg-soft); border: 1px solid var(--border); }
.example-list .ico { color: var(--primary); margin-top: 3px; }
.flow { display: grid; gap: 14px; }
@media (min-width: 900px) { .flow { grid-template-columns: 1fr auto 1fr; align-items: stretch; } }
.flow-card { padding: 24px; border-radius: var(--radius-lg); border: 1px solid var(--border); background: var(--surface); }
.flow-card h2 { font-size: 1.25rem; display: flex; align-items: center; gap: 10px; }
.flow-card p { margin: 0; color: var(--text-2); }
.flow-problem { border-top: 3px solid var(--rose); }
.flow-solution { border-top: 3px solid var(--green); }
.flow-arrow { display: grid; place-items: center; color: var(--text-3); }
@media (max-width: 899px) { .flow-arrow { transform: rotate(90deg); } }
.not-found { text-align: center; padding: 80px 0; }
.not-found .code { font-family: var(--font-head); font-weight: 800; font-size: clamp(4rem, 3rem + 6vw, 8rem); line-height: 1; letter-spacing: -0.05em; background: linear-gradient(135deg, var(--primary), var(--violet)); -webkit-background-clip: text; background-clip: text; color: transparent; }

.spacer-36 { height: 36px; }
.check-list-spaced { margin: 22px 0 28px; }
.mw-640 { max-width: 640px; }

/* AI workflow explorer (tabs) */
.wf-tabs { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; margin-bottom: 26px; justify-content: flex-start; }
@media (min-width: 768px) { .wf-tabs { justify-content: center; } }
.wf-tab { flex-shrink: 0; display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.16); background: rgba(255, 255, 255, 0.04); color: rgba(226, 236, 250, 0.82); font-weight: 600; font-size: 0.92rem; cursor: pointer; transition: all .15s; }
.wf-tab:hover { color: #fff; border-color: rgba(255, 255, 255, 0.35); }
.wf-tab[aria-selected="true"] { background: #fff; color: var(--ink-900); border-color: #fff; }
.wf-steps { list-style: none; display: grid; gap: 14px; grid-template-columns: 1fr; counter-reset: wf; }
@media (min-width: 640px) { .wf-steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .wf-steps { grid-template-columns: repeat(4, 1fr); } }
.wf-step { position: relative; padding: 22px; border-radius: var(--radius-lg); border: 1px solid rgba(255, 255, 255, 0.1); background: rgba(255, 255, 255, 0.04); animation: pipeIn .45s var(--ease) both; }
.wf-step:nth-child(2) { animation-delay: .08s; } .wf-step:nth-child(3) { animation-delay: .16s; } .wf-step:nth-child(4) { animation-delay: .24s; }
@media (min-width: 1024px) {
  .wf-step:not(:last-child)::after { content: ''; position: absolute; top: 44px; right: -14px; width: 14px; height: 2px; background: linear-gradient(90deg, rgba(111, 179, 255, 0.7), rgba(111, 179, 255, 0)); }
}
.wf-num { position: absolute; top: 16px; right: 18px; font-family: var(--font-head); font-weight: 800; color: rgba(255, 255, 255, 0.18); font-size: 1.5rem; }
.wf-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: rgba(0, 122, 245, 0.2); color: var(--blue-300); margin-bottom: 14px; }
.wf-step h3 { font-size: 1.02rem; margin-bottom: 6px; }
.wf-step p { margin: 0; font-size: 0.9rem; }

.hero .breadcrumbs ol, .hero .breadcrumbs a { color: rgba(226, 236, 250, 0.6); }
.hero .breadcrumbs [aria-current] { color: rgba(226, 236, 250, 0.9); }
.sidebar-sub { margin: 10px 0 0; }

/* Page-specific bits */
.form-title { font-size: 1.35rem; margin-bottom: 18px; }
.center-row { justify-content: center; margin-top: 30px; }
.center-text { margin-left: auto; margin-right: auto; text-align: center; }
.center-icon { margin: 0 auto 20px; }
.lms-inline-link { display: inline-flex; align-items: center; gap: 8px; color: rgba(226, 236, 250, 0.85); text-decoration: none; font-weight: 600; }
.lms-inline-link:hover { color: #fff; }
.lms-inline-link .ico { color: var(--blue-300); }
.contact-map { margin-top: 16px; }
.contact-social { margin-top: 18px; }
.about-facts { position: static; }
.case-cover { width: 100%; border-radius: var(--radius-lg); border: 1px solid var(--border); margin-bottom: 32px; }
.case-side-logo { width: 96px; height: 96px; object-fit: contain; border-radius: 16px; border: 1px solid var(--border); background: #fff; padding: 8px; }
.flip-x { transform: scaleX(-1); }
html:not(.js) [data-calc-next], html:not(.js) [data-calc-back] { display: none; }
.spaces-img { border-radius: var(--radius-xl); border: 1px solid var(--border); width: 100%; height: auto; max-height: 520px; object-fit: cover; }
.newsletter-card .section-head { margin-bottom: 22px; }
.newsletter-grid { align-items: end; }
@media (min-width: 640px) { .newsletter-grid { grid-template-columns: 1fr auto; } }
.grid-gap-lg { gap: 22px; }
.mt-22 { margin-top: 22px; }

/* Gentle scroll reveal (only when JS is on; content always visible otherwise) */
.js [data-reveal] { opacity: 0; transform: translateY(16px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }

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

@media print {
  .site-header, .site-footer, .wa-float, .cta-band-wrap { display: none !important; }
  .has-dark-hero main { margin-top: 0; }
}
