/* ==========================================================================
   Microsys Corporation - Front-end stylesheet
   Design tokens -> base -> layout -> components -> sections -> utilities
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. TOKENS
   -------------------------------------------------------------------------- */
:root {
  /* Brand */
  --brand: #f7941e;
  --brand-600: #e37f0b;
  --brand-700: #c96c04;
  --brand-soft: rgba(247, 148, 30, .12);
  --brand-glow: rgba(247, 148, 30, .35);

  /* Neutrals - light theme */
  --ink: #0b1220;
  --ink-2: #16233f;
  --heading: #0b1220;
  --body: #4c5a72;
  --muted: #6d7b93;
  --line: #e5eaf2;
  --line-strong: #d3dbe8;
  --bg: #ffffff;
  --bg-soft: #f5f8fc;
  --bg-tint: #eef3fa;
  --card: #ffffff;
  --card-alt: #f8fafd;
  --on-dark: #ffffff;
  --on-dark-muted: #9fb0cc;

  /* Effects */
  --radius-xs: 8px;
  --radius-sm: 12px;
  --radius: 18px;
  --radius-lg: 26px;
  --radius-pill: 999px;
  --shadow-xs: 0 1px 2px rgba(11, 18, 32, .06);
  --shadow-sm: 0 4px 14px rgba(11, 18, 32, .06);
  --shadow: 0 14px 40px rgba(11, 18, 32, .09);
  --shadow-lg: 0 30px 70px rgba(11, 18, 32, .14);
  --shadow-brand: 0 14px 34px rgba(247, 148, 30, .32);
  --ring: 0 0 0 4px rgba(247, 148, 30, .22);

  /* Type */
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --font-head: "Plus Jakarta Sans", "Inter", -apple-system, "Segoe UI", Arial, sans-serif;

  /* Layout */
  --container: 1220px;
  --gutter: 24px;
  --header-h: 84px;
  --section-y: clamp(64px, 7vw, 112px);

  --ease: cubic-bezier(.22, .61, .36, 1);
  --t-fast: .18s var(--ease);
  --t: .32s var(--ease);
}

[data-theme="dark"] {
  --heading: #f2f6fc;
  --body: #b3c0d6;
  --muted: #8c9bb5;
  --line: #223052;
  --line-strong: #2c3d63;
  --bg: #0b1220;
  --bg-soft: #0f1930;
  --bg-tint: #14213c;
  --card: #101a30;
  --card-alt: #16223c;
  --shadow-xs: 0 1px 2px rgba(0, 0, 0, .4);
  --shadow-sm: 0 4px 14px rgba(0, 0, 0, .35);
  --shadow: 0 16px 44px rgba(0, 0, 0, .45);
  --shadow-lg: 0 30px 70px rgba(0, 0, 0, .55);
}

/* --------------------------------------------------------------------------
   2. RESET & BASE
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

* { margin: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 20px);
}

body {
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.72;
  color: var(--body);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg, video { display: block; max-width: 100%; height: auto; }

a { color: inherit; text-decoration: none; }

button, input, select, textarea { font: inherit; color: inherit; }

button { cursor: pointer; background: none; border: 0; }

ul, ol { padding: 0; list-style: none; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-head);
  color: var(--heading);
  font-weight: 800;
  line-height: 1.16;
  letter-spacing: -.02em;
}

h1 { font-size: clamp(2.3rem, 4.6vw, 3.75rem); }
h2 { font-size: clamp(1.85rem, 3.2vw, 2.75rem); }
h3 { font-size: clamp(1.25rem, 1.9vw, 1.6rem); }
h4 { font-size: 1.15rem; }

p { color: var(--body); }

::selection { background: var(--brand); color: #fff; }

:focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Honeypot */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px; height: 1px; opacity: 0;
}

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--brand); color: #fff; padding: 12px 20px; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* Scrollbar */
::-webkit-scrollbar { width: 11px; height: 11px; }
::-webkit-scrollbar-track { background: var(--bg-soft); }
::-webkit-scrollbar-thumb { background: var(--line-strong); border-radius: 8px; border: 3px solid var(--bg-soft); }
::-webkit-scrollbar-thumb:hover { background: var(--brand); }

/* --------------------------------------------------------------------------
   3. LAYOUT
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container-narrow { max-width: 860px; }

.section { padding-block: var(--section-y); position: relative; }
.section-sm { padding-block: clamp(44px, 5vw, 72px); }
.section-soft { background: var(--bg-soft); }
.section-tint { background: var(--bg-tint); }

.section-dark {
  background: linear-gradient(160deg, #0b1220 0%, #14213c 55%, #0d1729 100%);
  color: var(--on-dark-muted);
}
.section-dark h1, .section-dark h2, .section-dark h3, .section-dark h4 { color: #fff; }
.section-dark p { color: var(--on-dark-muted); }

.grid { display: grid; gap: 26px; }
.g-2 { grid-template-columns: repeat(2, 1fr); }
.g-3 { grid-template-columns: repeat(3, 1fr); }
.g-4 { grid-template-columns: repeat(4, 1fr); }
.g-5 { grid-template-columns: repeat(5, 1fr); }

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.split-40 { grid-template-columns: .85fr 1.15fr; }
.split-60 { grid-template-columns: 1.15fr .85fr; }

/* --------------------------------------------------------------------------
   4. TYPOGRAPHIC HELPERS
   -------------------------------------------------------------------------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-head);
  font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 16px;
}
.eyebrow::before {
  content: ""; width: 26px; height: 2px; background: var(--brand); border-radius: 2px;
}
.eyebrow-center { justify-content: center; }

.section-head { max-width: 720px; margin-bottom: clamp(38px, 4vw, 58px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head p { margin-top: 16px; font-size: 1.06rem; }

.lead { font-size: 1.12rem; line-height: 1.75; }
.text-brand { color: var(--brand); }
.text-muted { color: var(--muted); }
.text-center { text-align: center; }

.gradient-text {
  background: linear-gradient(100deg, var(--brand) 10%, #ffbe5c 90%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

.underline-brand { position: relative; white-space: nowrap; }
.underline-brand::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: .04em; height: .28em;
  background: var(--brand); opacity: .28; border-radius: 3px; z-index: -1;
}

/* --------------------------------------------------------------------------
   5. BUTTONS
   -------------------------------------------------------------------------- */
.btn {
  --btn-bg: var(--brand);
  --btn-fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-head); font-weight: 700; font-size: .96rem; letter-spacing: .01em;
  padding: 15px 28px;
  border-radius: var(--radius-pill);
  background: var(--btn-bg); color: var(--btn-fg);
  border: 1.5px solid transparent;
  transition: transform var(--t-fast), box-shadow var(--t), background var(--t), color var(--t), border-color var(--t);
  white-space: nowrap;
}
.btn .ico { width: 18px; height: 18px; transition: transform var(--t); }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn:hover .ico:last-child { transform: translateX(4px); }

.btn-primary { box-shadow: var(--shadow-brand); }
.btn-primary:hover { background: var(--brand-600); }

.btn-dark { --btn-bg: var(--ink); }
.btn-dark:hover { --btn-bg: var(--ink-2); }

.btn-light { --btn-bg: #fff; --btn-fg: var(--ink); }
.btn-light:hover { --btn-bg: #f1f4f9; }

.btn-outline {
  --btn-bg: transparent; --btn-fg: var(--heading);
  border-color: var(--line-strong);
}
.btn-outline:hover { border-color: var(--brand); color: var(--brand); }

.btn-outline-light {
  --btn-bg: transparent; --btn-fg: #fff;
  border-color: rgba(255, 255, 255, .3);
}
.btn-outline-light:hover { background: rgba(255, 255, 255, .1); border-color: #fff; }

.btn-ghost { --btn-bg: var(--brand-soft); --btn-fg: var(--brand); }
.btn-ghost:hover { --btn-bg: var(--brand); --btn-fg: #fff; }

.btn-sm { padding: 11px 20px; font-size: .875rem; }
.btn-lg { padding: 18px 36px; font-size: 1.03rem; }
.btn-block { width: 100%; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-head); font-weight: 700; font-size: .93rem; color: var(--brand);
}
.link-arrow .ico { width: 17px; height: 17px; transition: transform var(--t); }
.link-arrow:hover .ico { transform: translateX(5px); }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* --------------------------------------------------------------------------
   6. BADGES / PILLS / CHIPS
   -------------------------------------------------------------------------- */
.badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 15px; border-radius: var(--radius-pill);
  background: var(--brand-soft); color: var(--brand);
  font-family: var(--font-head); font-size: .8rem; font-weight: 700; letter-spacing: .02em;
}
.badge-dark { background: rgba(255, 255, 255, .09); color: #fff; border: 1px solid rgba(255, 255, 255, .16); }
.badge-line { background: transparent; border: 1px solid var(--line-strong); color: var(--muted); }
.badge .dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.badge .pulse { position: relative; }
.badge .pulse::after {
  content: ""; position: absolute; inset: -4px; border-radius: 50%;
  background: currentColor; opacity: .35; animation: pulse 2s infinite;
}
@keyframes pulse { 0% { transform: scale(.6); opacity: .5 } 100% { transform: scale(1.7); opacity: 0 } }

.chip {
  display: inline-block; padding: 6px 13px; border-radius: 8px;
  background: var(--bg-tint); color: var(--muted);
  font-size: .78rem; font-weight: 600; letter-spacing: .02em;
}

/* --------------------------------------------------------------------------
   7. HEADER / NAVIGATION
   -------------------------------------------------------------------------- */
.topbar {
  background: var(--ink);
  color: rgba(255, 255, 255, .78);
  font-size: .845rem;
}
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 44px; }
.topbar a,
.topbar-left span,
.topbar-right > span { display: inline-flex; align-items: center; gap: 8px; transition: color var(--t-fast); }
.topbar a:hover { color: var(--brand); }
.topbar .ico { width: 15px; height: 15px; flex-shrink: 0; color: var(--brand); }
.topbar-left, .topbar-right { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.topbar-socials { display: flex; gap: 12px; }
.topbar-socials .ico { width: 15px; height: 15px; color: rgba(255, 255, 255, .7); }
.topbar-socials a:hover .ico { color: var(--brand); }

/* Region selector + login ------------------------------------------------ */
.topbar-tools { display: flex; align-items: center; gap: 8px; }

.tb-btn {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 6px 12px; border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, .16);
  background: rgba(255, 255, 255, .05);
  color: rgba(255, 255, 255, .85);
  font-family: var(--font-head); font-size: .8rem; font-weight: 600;
  line-height: 1; white-space: nowrap;
  transition: background var(--t-fast), border-color var(--t-fast), color var(--t-fast);
}
.tb-btn:hover { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .3); color: #fff; }
.tb-btn .ico { width: 15px; height: 15px; color: var(--brand); flex-shrink: 0; }
.tb-btn .tb-caret { width: 13px; height: 13px; color: rgba(255, 255, 255, .6); transition: transform var(--t); }
.tb-drop.is-open .tb-btn .tb-caret { transform: rotate(180deg); }
.tb-drop.is-open .tb-btn { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .3); }

.tb-drop { position: relative; }

.tb-menu {
  position: absolute; right: 0; top: calc(100% + 9px); z-index: 120;
  min-width: 232px; padding: 8px;
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius-sm); box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity var(--t), transform var(--t), visibility var(--t);
}
.tb-drop.is-open .tb-menu { opacity: 1; visibility: visible; transform: translateY(0); }

.tb-menu-title {
  display: block; padding: 6px 11px 9px; margin-bottom: 2px;
  border-bottom: 1px solid var(--line);
  font-size: .68rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--muted);
}

/* The list scrolls once there are more regions than fit comfortably */
.tb-menu-scroll { max-height: min(58vh, 420px); overflow-y: auto; padding-top: 4px; }
.tb-menu-scroll::-webkit-scrollbar { width: 7px; }
.tb-menu-scroll::-webkit-scrollbar-track { background: transparent; }
.tb-menu-scroll::-webkit-scrollbar-thumb { background: var(--line-strong); border-radius: 6px; }

.tb-menu-group {
  display: block; padding: 11px 11px 5px;
  font-family: var(--font-head);
  font-size: .66rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase;
  color: var(--brand);
}
.tb-menu-scroll > .tb-menu-group:first-child { padding-top: 3px; }
.tb-menu a {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 11px; border-radius: 8px;
  font-size: .87rem; font-weight: 500; color: var(--heading);
  transition: background var(--t-fast), color var(--t-fast);
}
.tb-menu a:hover { background: var(--bg-soft); color: var(--brand); }
.tb-menu a.is-active { background: var(--brand-soft); color: var(--brand); font-weight: 600; }
.tb-menu-code {
  width: 34px; flex-shrink: 0; text-align: center;
  padding: 3px 0; border-radius: 5px;
  background: var(--bg-tint); color: var(--muted);
  font-family: var(--font-head); font-size: .66rem; font-weight: 700; letter-spacing: .04em;
}
.tb-menu a.is-active .tb-menu-code { background: var(--brand); color: #fff; }
.tb-menu-label { flex: 1; }
.tb-menu-check { width: 15px; height: 15px; color: var(--brand); flex-shrink: 0; }

/* Region picker inside the mobile drawer */
.m-region { display: grid; gap: 7px; margin-bottom: 4px; }
.m-region label {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--font-head); font-size: .8rem; font-weight: 700;
  letter-spacing: .04em; text-transform: uppercase; color: var(--muted);
}
.m-region label .ico { color: var(--brand); }

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow var(--t), background var(--t);
}
@supports not (backdrop-filter: blur(1px)) { .site-header { background: var(--bg); } }
.site-header.is-stuck { box-shadow: var(--shadow-sm); }

.header-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 22px;
  min-height: var(--header-h);
}

/* Brand lockup */
.brand { display: inline-flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand-word {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.62rem;
  letter-spacing: -.045em;
  color: var(--heading);
  line-height: 1.32;
  display: inline-block;
}
/* Anchored to the O; the chevron is centred on the gap between O and S. */
.brand-anchor { position: relative; display: inline-block; }
/* The chevron sits BELOW the wordmark and must never overlap a letterform.
   `left` slides it along the word, `bottom` moves it up or down. */
.brand-caret {
  position: absolute; left: 100%; bottom: .02em;
  transform: translateX(-50%);
  width: .42em; height: .36em; pointer-events: none;
}
.brand-sub {
  display: block; font-family: var(--font-head); font-size: .58rem; font-weight: 700;
  letter-spacing: .34em; text-transform: uppercase; color: var(--brand); margin-top: 7px;
}
.brand-reg { font-size: .5em; vertical-align: super; font-weight: 600; letter-spacing: 0; }
.site-footer .brand-word, .section-dark .brand-word { color: #fff; }

/* Primary nav */
.nav { display: flex; align-items: center; gap: 4px; }
.nav > li { position: relative; }
.nav-link {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 12px 13px; border-radius: 10px; white-space: nowrap;
  font-family: var(--font-head); font-weight: 600; font-size: .95rem; color: var(--heading);
  transition: color var(--t-fast), background var(--t-fast);
}
.nav-link .ico { width: 15px; height: 15px; opacity: .55; transition: transform var(--t-fast); }
.nav-link:hover, .nav-link.is-active { color: var(--brand); background: var(--brand-soft); }
.nav > li:hover > .nav-link .ico { transform: rotate(180deg); }

.dropdown {
  position: absolute; top: calc(100% + 10px); left: 0;
  min-width: 290px; padding: 10px;
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius-sm); box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity var(--t), transform var(--t), visibility var(--t);
}
.dropdown.dropdown-wide { min-width: 560px; display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.nav > li:hover > .dropdown,
.nav > li:focus-within > .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown a {
  display: flex; align-items: center; gap: 11px;
  padding: 10px 12px; border-radius: 9px;
  font-size: .91rem; font-weight: 600; color: var(--heading);
  transition: background var(--t-fast), color var(--t-fast);
}
.dropdown a .ico { width: 17px; height: 17px; color: var(--brand); flex-shrink: 0; }
.dropdown a:hover { background: var(--bg-soft); color: var(--brand); }
.dropdown-foot {
  grid-column: 1 / -1; margin-top: 6px; padding: 12px;
  border-top: 1px solid var(--line);
}

.header-actions { display: flex; align-items: center; gap: 12px; }

.theme-toggle {
  width: 42px; height: 42px; border-radius: 12px;
  display: grid; place-items: center;
  border: 1px solid var(--line); color: var(--heading);
  transition: border-color var(--t-fast), color var(--t-fast), background var(--t-fast);
}
.theme-toggle:hover { border-color: var(--brand); color: var(--brand); }
.theme-toggle .ico { width: 19px; height: 19px; }
[data-theme="dark"] .theme-toggle .ico-sun { display: block; }
[data-theme="dark"] .theme-toggle .ico-moon { display: none; }
.theme-toggle .ico-sun { display: none; }
.theme-toggle .ico-moon { display: block; }

.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); place-items: center; color: var(--heading); }

/* Mobile drawer */
.mobile-nav {
  position: fixed; inset: 0 0 0 auto; width: min(400px, 88vw); z-index: 200;
  background: var(--bg); border-left: 1px solid var(--line);
  transform: translateX(100%); transition: transform .4s var(--ease);
  display: flex; flex-direction: column; overflow-y: auto;
}
.mobile-nav.is-open { transform: translateX(0); }
.mobile-nav-head { display: flex; align-items: center; justify-content: space-between; padding: 20px 22px; border-bottom: 1px solid var(--line); }
.mobile-nav-body { padding: 14px 12px 28px; flex: 1; }
.mobile-nav-body > ul > li > a,
.m-acc-btn {
  display: flex; align-items: center; justify-content: space-between; width: 100%;
  padding: 14px 14px; border-radius: 10px;
  font-family: var(--font-head); font-weight: 600; font-size: 1rem; color: var(--heading);
}
.m-acc-btn .ico { transition: transform var(--t); }
.m-acc-btn.is-open .ico { transform: rotate(180deg); }
.m-acc-panel { max-height: 0; overflow: hidden; transition: max-height .38s var(--ease); }
.m-acc-panel a { display: block; padding: 11px 22px; font-size: .92rem; color: var(--body); border-left: 2px solid var(--line); margin-left: 16px; }
.m-acc-panel a:hover { color: var(--brand); border-color: var(--brand); }
.mobile-nav-foot { padding: 20px 22px 30px; border-top: 1px solid var(--line); display: grid; gap: 12px; }

.overlay {
  position: fixed; inset: 0; z-index: 150;
  background: rgba(11, 18, 32, .55); backdrop-filter: blur(3px);
  opacity: 0; visibility: hidden; transition: opacity var(--t), visibility var(--t);
}
.overlay.is-open { opacity: 1; visibility: visible; }

/* --------------------------------------------------------------------------
   8. HERO
   -------------------------------------------------------------------------- */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(155deg, #0b1220 0%, #16243f 52%, #0d1728 100%);
  color: var(--on-dark-muted);
  padding-block: clamp(64px, 8vw, 120px) clamp(72px, 9vw, 132px);
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 62px 62px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, #000 30%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, #000 30%, transparent 78%);
}
.hero-blob {
  position: absolute; border-radius: 50%; filter: blur(90px); pointer-events: none;
}
.hero-blob-1 { width: 520px; height: 520px; background: rgba(247, 148, 30, .22); top: -180px; right: -120px; }
.hero-blob-2 { width: 420px; height: 420px; background: rgba(46, 106, 255, .18); bottom: -200px; left: -140px; }

.hero-inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1.06fr .94fr; gap: clamp(36px, 5vw, 66px); align-items: center; }
.hero h1 { color: #fff; margin-bottom: 22px; }
.hero p.lead { color: #a9b8d2; max-width: 560px; margin-bottom: 32px; }

.hero-stats {
  display: flex; flex-wrap: wrap; gap: clamp(24px, 4vw, 48px);
  margin-top: 46px; padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, .12);
}
.hero-stats .stat-value { font-family: var(--font-head); font-size: 2.1rem; font-weight: 800; color: #fff; line-height: 1; }
.hero-stats .stat-value span { color: var(--brand); }
.hero-stats .stat-label { font-size: .84rem; color: #8ea0bd; margin-top: 8px; letter-spacing: .04em; }

/* Hero visual */
.hero-visual { position: relative; }
.hero-panel {
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  padding: 22px; box-shadow: var(--shadow-lg);
}
.hero-panel-bar { display: flex; align-items: center; gap: 7px; margin-bottom: 18px; }
.hero-panel-bar i { width: 11px; height: 11px; border-radius: 50%; background: rgba(255, 255, 255, .22); }
.hero-panel-bar i:first-child { background: var(--brand); }
.hero-panel-title { margin-left: 10px; font-size: .78rem; color: #93a5c2; letter-spacing: .08em; text-transform: uppercase; }

.hero-metric {
  display: flex; align-items: center; gap: 14px;
  padding: 14px; border-radius: 14px;
  background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .08);
  margin-bottom: 12px;
}
.hero-metric .m-ico { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); flex-shrink: 0; }
.hero-metric .m-name { color: #fff; font-weight: 700; font-family: var(--font-head); font-size: .95rem; }
.hero-metric .m-sub { font-size: .8rem; color: #8ea0bd; }
.hero-metric .m-val { margin-left: auto; font-family: var(--font-head); font-weight: 800; color: var(--brand); }

.hero-bars { display: flex; align-items: flex-end; gap: 9px; height: 96px; padding: 16px 14px 0; }
.hero-bars i {
  flex: 1; border-radius: 6px 6px 0 0;
  background: linear-gradient(180deg, var(--brand), rgba(247, 148, 30, .25));
  animation: growBar 1.4s var(--ease) backwards;
}
@keyframes growBar { from { height: 4px !important; opacity: 0 } }

.hero-float {
  position: absolute; padding: 14px 18px; border-radius: 16px;
  background: #fff; box-shadow: var(--shadow-lg); color: var(--ink);
  display: flex; align-items: center; gap: 12px;
  animation: floaty 5s ease-in-out infinite;
}
.hero-float .ico { color: var(--brand); }
.hero-float b { font-family: var(--font-head); font-size: .95rem; display: block; }
.hero-float small { color: var(--muted); font-size: .78rem; }
.hero-float-1 { left: -34px; top: 16%; }
.hero-float-2 { right: -26px; bottom: 12%; animation-delay: 1.4s; }
@keyframes floaty { 0%, 100% { transform: translateY(0) } 50% { transform: translateY(-14px) } }

/* Page banner (inner pages) */
.page-hero {
  position: relative; overflow: hidden;
  background: linear-gradient(150deg, #0b1220 0%, #16243f 60%, #0d1728 100%);
  padding-block: clamp(56px, 6.5vw, 96px);
  text-align: center;
}
.page-hero::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(circle at 22% 18%, rgba(247, 148, 30, .2), transparent 46%),
                    radial-gradient(circle at 82% 74%, rgba(46, 106, 255, .16), transparent 48%);
}
.page-hero-inner { position: relative; z-index: 2; }
.page-hero h1 { color: #fff; }
.page-hero p { color: #a5b6d1; max-width: 640px; margin: 16px auto 0; }

.breadcrumb {
  display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 9px;
  margin-top: 20px; font-size: .875rem; color: #8ea0bd;
}
.breadcrumb a { color: #cdd8e9; }
.breadcrumb a:hover { color: var(--brand); }
.breadcrumb .ico { width: 14px; height: 14px; opacity: .5; }

/* --------------------------------------------------------------------------
   9. CARDS
   -------------------------------------------------------------------------- */
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
  position: relative; overflow: hidden;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }

/* Service card */
.service-card { display: flex; flex-direction: column; height: 100%; }
.service-card::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 3px;
  background: linear-gradient(90deg, var(--brand), #ffc178);
  transform: scaleX(0); transform-origin: left; transition: transform var(--t);
}
.service-card:hover::after { transform: scaleX(1); }
.service-ico {
  width: 60px; height: 60px; border-radius: 16px;
  display: grid; place-items: center; margin-bottom: 22px;
  background: var(--brand-soft); color: var(--brand);
  transition: background var(--t), color var(--t), transform var(--t);
}
.service-ico .ico { width: 27px; height: 27px; }
.service-card:hover .service-ico { background: var(--brand); color: #fff; transform: rotate(-6deg) scale(1.06); }
.service-card h3 { margin-bottom: 12px; font-size: 1.24rem; }
.service-card p { font-size: .96rem; margin-bottom: 20px; }
.service-card .link-arrow { margin-top: auto; }
.service-num {
  position: absolute; right: 22px; top: 14px;
  font-family: var(--font-head); font-size: 3.4rem; font-weight: 800;
  color: var(--heading); opacity: .05; line-height: 1;
}

/* Feature / value card */
.feature-card { display: flex; gap: 18px; align-items: flex-start; }
.feature-ico {
  width: 48px; height: 48px; border-radius: 14px; flex-shrink: 0;
  display: grid; place-items: center; background: var(--brand-soft); color: var(--brand);
}
.feature-card h4 { margin-bottom: 7px; }
.feature-card p { font-size: .93rem; }

/* Project card */
.project-card { border-radius: var(--radius); overflow: hidden; position: relative; background: var(--card); border: 1px solid var(--line); transition: transform var(--t), box-shadow var(--t); }
.project-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.project-media { position: relative; aspect-ratio: 16 / 11; overflow: hidden; background: var(--bg-tint); }
.project-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.project-card:hover .project-media img { transform: scale(1.07); }
.project-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(11, 18, 32, .9) 0%, rgba(11, 18, 32, .25) 55%, transparent 100%);
  opacity: 0; transition: opacity var(--t);
  display: flex; align-items: flex-end; padding: 24px;
}
.project-card:hover .project-overlay { opacity: 1; }
.project-body { padding: 22px 24px 26px; }
.project-body .chip { margin-bottom: 12px; }
.project-body h3 { font-size: 1.15rem; margin-bottom: 8px; }
.project-body h3 a:hover { color: var(--brand); }
.project-body p { font-size: .91rem; }

/* Post card */
.post-card { display: flex; flex-direction: column; height: 100%; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform var(--t), box-shadow var(--t); }
.post-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.post-media { aspect-ratio: 16 / 9; overflow: hidden; background: var(--bg-tint); }
.post-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.post-card:hover .post-media img { transform: scale(1.06); }
.post-body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; font-size: .8rem; color: var(--muted); margin-bottom: 12px; }
.post-meta span { display: inline-flex; align-items: center; gap: 6px; }
.post-meta .ico { width: 14px; height: 14px; color: var(--brand); }
.post-card h3 { font-size: 1.12rem; line-height: 1.4; margin-bottom: 10px; }
.post-card h3 a:hover { color: var(--brand); }
.post-card p { font-size: .92rem; margin-bottom: 18px; }
.post-card .link-arrow { margin-top: auto; }

/* Team card */
.team-card { text-align: center; }
.team-photo { aspect-ratio: 1; border-radius: var(--radius); overflow: hidden; margin-bottom: 18px; background: var(--bg-tint); position: relative; }
.team-photo img { width: 100%; height: 100%; object-fit: cover; }
.team-social { position: absolute; inset: auto 0 0 0; display: flex; justify-content: center; gap: 10px; padding: 16px; background: linear-gradient(0deg, rgba(11, 18, 32, .85), transparent); transform: translateY(100%); transition: transform var(--t); }
.team-card:hover .team-social { transform: translateY(0); }
.team-social a { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: rgba(255, 255, 255, .16); color: #fff; }
.team-social a:hover { background: var(--brand); }
.team-card h4 { margin-bottom: 4px; }
.team-card .role { font-size: .87rem; color: var(--brand); font-weight: 600; }

/* Testimonial */
.testimonial {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 34px; position: relative; height: 100%;
  display: flex; flex-direction: column;
}
.testimonial .quote-ico { position: absolute; right: 26px; top: 22px; width: 44px; height: 44px; color: var(--brand); opacity: .16; }
.stars { display: flex; gap: 3px; margin-bottom: 16px; color: var(--brand); }
.stars .ico { width: 17px; height: 17px; fill: currentColor; }
.testimonial p { font-size: 1rem; line-height: 1.75; margin-bottom: 24px; }
.testimonial-author { display: flex; align-items: center; gap: 14px; margin-top: auto; padding-top: 20px; border-top: 1px solid var(--line); }
.testimonial-author img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; }
.testimonial-author b { display: block; font-family: var(--font-head); color: var(--heading); }
.testimonial-author small { color: var(--muted); font-size: .84rem; }

/* Stat card */
.stat-card { text-align: center; padding: 32px 22px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); }
.stat-card .stat-ico { width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center; margin: 0 auto 18px; background: var(--brand-soft); color: var(--brand); }
.stat-card .stat-value { font-family: var(--font-head); font-size: 2.5rem; font-weight: 800; color: var(--heading); line-height: 1; }
.stat-card .stat-value span { color: var(--brand); }
.stat-card .stat-label { margin-top: 10px; font-size: .9rem; color: var(--muted); }

/* Industry tile */
.industry-tile {
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px;
  padding: 30px 20px; border-radius: var(--radius);
  background: var(--card); border: 1px solid var(--line);
  transition: transform var(--t), border-color var(--t), background var(--t);
}
.industry-tile .ico { width: 30px; height: 30px; color: var(--brand); transition: transform var(--t); }
.industry-tile b { font-family: var(--font-head); font-size: 1rem; color: var(--heading); }
.industry-tile small { font-size: .84rem; color: var(--muted); }
.industry-tile:hover { transform: translateY(-5px); border-color: var(--brand); }
.industry-tile:hover .ico { transform: scale(1.14); }

/* --------------------------------------------------------------------------
   10. PROCESS / STEPS / TIMELINE
   -------------------------------------------------------------------------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; position: relative; }
.steps::before {
  content: ""; position: absolute; left: 8%; right: 8%; top: 34px; height: 2px;
  background: repeating-linear-gradient(90deg, var(--line-strong) 0 8px, transparent 8px 16px);
}
.step { text-align: center; position: relative; z-index: 1; }
.step-num {
  width: 68px; height: 68px; margin: 0 auto 20px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--bg); border: 2px solid var(--line-strong);
  font-family: var(--font-head); font-size: 1.2rem; font-weight: 800; color: var(--heading);
  transition: all var(--t);
}
.step:hover .step-num { background: var(--brand); border-color: var(--brand); color: #fff; transform: scale(1.07); }
.step h4 { margin-bottom: 8px; }
.step p { font-size: .91rem; }

.timeline { position: relative; padding-left: 34px; }
.timeline::before { content: ""; position: absolute; left: 9px; top: 6px; bottom: 6px; width: 2px; background: var(--line); }
.timeline-item { position: relative; padding-bottom: 30px; }
.timeline-item::before {
  content: ""; position: absolute; left: -32px; top: 6px; width: 18px; height: 18px;
  border-radius: 50%; background: var(--bg); border: 3px solid var(--brand);
}
.timeline-item .year { font-family: var(--font-head); font-weight: 800; color: var(--brand); font-size: .9rem; }
.timeline-item h4 { margin: 4px 0 6px; }
.timeline-item p { font-size: .93rem; }

/* --------------------------------------------------------------------------
   11. LISTS
   -------------------------------------------------------------------------- */
.check-list { display: grid; gap: 13px; }
.check-list li { display: flex; align-items: flex-start; gap: 12px; font-size: .97rem; }
.check-list .ico {
  width: 21px; height: 21px; flex-shrink: 0; margin-top: 3px; padding: 3px;
  border-radius: 50%; background: var(--brand-soft); color: var(--brand);
}
.check-list-2 { grid-template-columns: 1fr 1fr; column-gap: 26px; }

.icon-list li { display: flex; gap: 14px; align-items: flex-start; padding: 14px 0; border-bottom: 1px solid var(--line); }
.icon-list li:last-child { border-bottom: 0; }
.icon-list .ico { width: 20px; height: 20px; color: var(--brand); flex-shrink: 0; margin-top: 4px; }
.icon-list b { display: block; font-family: var(--font-head); color: var(--heading); font-size: .96rem; }
.icon-list span { font-size: .9rem; color: var(--muted); }

/* --------------------------------------------------------------------------
   12. MARQUEE (client logos / tech strip)
   -------------------------------------------------------------------------- */
.marquee { overflow: hidden; position: relative; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; gap: 66px; width: max-content; animation: scrollX 38s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes scrollX { to { transform: translateX(-50%); } }
.marquee-item {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-head); font-weight: 800; font-size: 1.24rem;
  color: var(--muted); opacity: .7; white-space: nowrap;
  transition: opacity var(--t), color var(--t);
}
.marquee-item:hover { opacity: 1; color: var(--heading); }
.marquee-item .ico { width: 22px; height: 22px; color: var(--brand); }
.marquee-item img { max-height: 38px; width: auto; filter: grayscale(1); opacity: .75; }
.marquee-item:hover img { filter: none; opacity: 1; }

/* --------------------------------------------------------------------------
   13. TABS & ACCORDION
   -------------------------------------------------------------------------- */
.tabs { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 40px; }
.tab-btn {
  padding: 11px 22px; border-radius: var(--radius-pill);
  border: 1px solid var(--line); background: var(--card);
  font-family: var(--font-head); font-weight: 600; font-size: .9rem; color: var(--body);
  transition: all var(--t-fast);
}
.tab-btn:hover { border-color: var(--brand); color: var(--brand); }
.tab-btn.is-active { background: var(--brand); border-color: var(--brand); color: #fff; box-shadow: var(--shadow-brand); }
.tab-panel { display: none; animation: fadeUp .45s var(--ease); }
.tab-panel.is-active { display: block; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px) } }

.accordion { display: grid; gap: 14px; }
.acc-item { border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--card); overflow: hidden; transition: border-color var(--t), box-shadow var(--t); }
.acc-item.is-open { border-color: var(--brand); box-shadow: var(--shadow-sm); }
.acc-btn {
  display: flex; align-items: center; justify-content: space-between; gap: 18px; width: 100%;
  padding: 20px 24px; text-align: left;
  font-family: var(--font-head); font-weight: 700; font-size: 1.02rem; color: var(--heading);
}
.acc-btn .ico { flex-shrink: 0; width: 22px; height: 22px; color: var(--brand); transition: transform var(--t); }
.acc-item.is-open .acc-btn .ico { transform: rotate(180deg); }
.acc-panel { max-height: 0; overflow: hidden; transition: max-height .38s var(--ease); }
.acc-panel-inner { padding: 0 24px 22px; font-size: .96rem; }

/* --------------------------------------------------------------------------
   14. FORMS
   -------------------------------------------------------------------------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field-full { grid-column: 1 / -1; }
.field label { font-family: var(--font-head); font-size: .875rem; font-weight: 600; color: var(--heading); }
.field label .req { color: var(--brand); }

.form-control {
  width: 100%; padding: 14px 16px;
  background: var(--bg); border: 1.5px solid var(--line-strong); border-radius: var(--radius-xs);
  font-size: .96rem; color: var(--heading);
  transition: border-color var(--t-fast), box-shadow var(--t-fast), background var(--t-fast);
}
.form-control::placeholder { color: var(--muted); opacity: .8; }
.form-control:focus { outline: 0; border-color: var(--brand); box-shadow: var(--ring); }
.form-control:disabled { background: var(--bg-soft); cursor: not-allowed; }
textarea.form-control { min-height: 140px; resize: vertical; }
select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236d7b93' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>");
  background-repeat: no-repeat; background-position: right 15px center; padding-right: 42px;
}
.field-error { border-color: #e14b4b !important; }
.error-text { font-size: .82rem; color: #e14b4b; }
.field-note { font-size: .8rem; color: var(--muted); }

.checkbox { display: flex; align-items: flex-start; gap: 11px; font-size: .89rem; }
.checkbox input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--brand); flex-shrink: 0; }

.alert {
  padding: 15px 20px; border-radius: var(--radius-xs); margin-bottom: 20px;
  font-size: .94rem; border-left: 4px solid; display: flex; gap: 10px; align-items: flex-start;
}
.alert-success { background: #ecfdf3; border-color: #12b76a; color: #05603a; }
.alert-error   { background: #fef3f2; border-color: #f04438; color: #912018; }
.alert-info    { background: #eff8ff; border-color: #2e90fa; color: #175cd3; }
.alert-warning { background: #fffaeb; border-color: #f79009; color: #93370d; }
[data-theme="dark"] .alert-success { background: rgba(18, 183, 106, .12); color: #6ce9a6; }
[data-theme="dark"] .alert-error   { background: rgba(240, 68, 56, .12); color: #fda29b; }
[data-theme="dark"] .alert-info    { background: rgba(46, 144, 250, .12); color: #84caff; }
[data-theme="dark"] .alert-warning { background: rgba(247, 144, 9, .12); color: #fec84b; }

/* Contact form card */
.form-card {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: clamp(26px, 3.4vw, 44px);
  box-shadow: var(--shadow);
}

/* Newsletter */
.newsletter-form { display: flex; gap: 10px; flex-wrap: wrap; }
.newsletter-form .form-control { flex: 1; min-width: 200px; background: rgba(255, 255, 255, .07); border-color: rgba(255, 255, 255, .18); color: #fff; }
.newsletter-form .form-control::placeholder { color: #8ea0bd; }

/* --------------------------------------------------------------------------
   15. CTA BAND
   -------------------------------------------------------------------------- */
.cta-band {
  position: relative; overflow: hidden;
  border-radius: var(--radius-lg);
  background: linear-gradient(120deg, #0b1220 0%, #1a2a4c 100%);
  padding: clamp(38px, 5vw, 64px);
  display: grid; grid-template-columns: 1.25fr .75fr; gap: 40px; align-items: center;
}
.cta-band::before {
  content: ""; position: absolute; width: 400px; height: 400px; border-radius: 50%;
  background: rgba(247, 148, 30, .22); filter: blur(80px); right: -80px; top: -140px;
}
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #a5b6d1; margin-top: 14px; }
.cta-contacts { display: grid; gap: 16px; }
.cta-contact { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 14px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .12); transition: background var(--t); }
.cta-contact:hover { background: rgba(255, 255, 255, .12); }
.cta-contact .ico-wrap { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--brand); color: #fff; flex-shrink: 0; }
.cta-contact small { display: block; color: #8ea0bd; font-size: .78rem; letter-spacing: .04em; text-transform: uppercase; }
.cta-contact b { color: #fff; font-family: var(--font-head); font-size: 1.02rem; }

/* --------------------------------------------------------------------------
   16. FOOTER
   -------------------------------------------------------------------------- */
.site-footer { background: #0a1020; color: #93a5c2; padding-top: clamp(56px, 6vw, 84px); }
.footer-grid { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1.5fr; gap: clamp(28px, 4vw, 56px); }
.footer-about p { color: #93a5c2; font-size: .94rem; margin: 20px 0 24px; }
.footer-heading { color: #fff; font-family: var(--font-head); font-size: 1.02rem; font-weight: 700; margin-bottom: 22px; position: relative; padding-bottom: 12px; }
.footer-heading::after { content: ""; position: absolute; left: 0; bottom: 0; width: 32px; height: 2px; background: var(--brand); }
.footer-links li { margin-bottom: 12px; }
.footer-links a { font-size: .93rem; color: #93a5c2; display: inline-flex; align-items: center; gap: 8px; transition: color var(--t-fast), transform var(--t-fast); }
.footer-links a::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--brand); opacity: 0; transition: opacity var(--t-fast); }
.footer-links a:hover { color: #fff; transform: translateX(4px); }
.footer-links a:hover::before { opacity: 1; }

.footer-contact li { display: flex; gap: 12px; margin-bottom: 18px; font-size: .93rem; }
.footer-contact .ico { width: 18px; height: 18px; color: var(--brand); flex-shrink: 0; margin-top: 3px; }
.footer-contact a:hover { color: #fff; }
.footer-contact small { display: block; font-size: .76rem; color: #6d80a0; text-transform: uppercase; letter-spacing: .07em; margin-bottom: 2px; }

.socials { display: flex; gap: 11px; }
.socials a { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: rgba(255, 255, 255, .07); color: #cdd8e9; transition: all var(--t-fast); }
.socials a:hover { background: var(--brand); color: #fff; transform: translateY(-3px); }
.socials .ico { width: 17px; height: 17px; }

.footer-bottom {
  margin-top: clamp(40px, 5vw, 60px); padding-block: 24px;
  border-top: 1px solid rgba(255, 255, 255, .09);
  display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap;
  font-size: .875rem;
}
.footer-bottom a:hover { color: var(--brand); }
.footer-legal { display: flex; gap: 22px; flex-wrap: wrap; }

/* Floating buttons */
.to-top {
  position: fixed; right: 24px; bottom: 24px; z-index: 90;
  width: 48px; height: 48px; border-radius: 14px;
  display: grid; place-items: center;
  background: var(--brand); color: #fff; box-shadow: var(--shadow-brand);
  opacity: 0; visibility: hidden; transform: translateY(16px);
  transition: all var(--t);
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { background: var(--brand-600); }

.whatsapp-fab {
  position: fixed; right: 24px; bottom: 84px; z-index: 90;
  width: 48px; height: 48px; border-radius: 14px;
  display: grid; place-items: center;
  background: #25d366; color: #fff; box-shadow: 0 12px 28px rgba(37, 211, 102, .38);
  transition: transform var(--t);
}
.whatsapp-fab:hover { transform: translateY(-3px); }

/* --------------------------------------------------------------------------
   17. ARTICLE / RICH TEXT
   -------------------------------------------------------------------------- */
.rich-text { font-size: 1.04rem; line-height: 1.82; }
.rich-text > * + * { margin-top: 20px; }
.rich-text h2 { font-size: 1.7rem; margin-top: 40px; }
.rich-text h3 { font-size: 1.32rem; margin-top: 32px; }
.rich-text ul, .rich-text ol { padding-left: 4px; display: grid; gap: 11px; }
.rich-text ul li { position: relative; padding-left: 28px; }
.rich-text ul li::before {
  content: ""; position: absolute; left: 4px; top: .62em;
  width: 8px; height: 8px; border-radius: 2px; background: var(--brand);
}
.rich-text ol { counter-reset: n; }
.rich-text ol li { position: relative; padding-left: 36px; counter-increment: n; }
.rich-text ol li::before {
  content: counter(n); position: absolute; left: 0; top: .1em;
  width: 24px; height: 24px; border-radius: 7px; display: grid; place-items: center;
  background: var(--brand-soft); color: var(--brand); font-size: .78rem; font-weight: 800;
}
.rich-text blockquote {
  border-left: 4px solid var(--brand); padding: 6px 0 6px 24px;
  font-size: 1.1rem; font-style: italic; color: var(--heading);
}
.rich-text img { border-radius: var(--radius); }
.rich-text a { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }
.rich-text code { background: var(--bg-tint); padding: 2px 7px; border-radius: 5px; font-size: .9em; }
.rich-text table { width: 100%; border-collapse: collapse; }
.rich-text th, .rich-text td { border: 1px solid var(--line); padding: 11px 14px; text-align: left; font-size: .94rem; }
.rich-text th { background: var(--bg-soft); font-family: var(--font-head); color: var(--heading); }

/* Sidebar */
.sidebar { display: grid; gap: 26px; align-content: start; position: sticky; top: calc(var(--header-h) + 20px); }
.widget { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.widget h4 { margin-bottom: 18px; padding-bottom: 12px; border-bottom: 1px solid var(--line); position: relative; }
.widget h4::after { content: ""; position: absolute; left: 0; bottom: -1px; width: 40px; height: 2px; background: var(--brand); }
.widget-list li + li { margin-top: 10px; }
.widget-list a { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 11px 14px; border-radius: 10px; font-size: .93rem; font-weight: 600; color: var(--heading); background: var(--bg-soft); transition: all var(--t-fast); }
.widget-list a:hover, .widget-list a.is-active { background: var(--brand); color: #fff; }
.widget-list a .ico { width: 15px; height: 15px; }

.mini-post { display: flex; gap: 14px; align-items: center; }
.mini-post + .mini-post { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); }
.mini-post img { width: 74px; height: 62px; border-radius: 10px; object-fit: cover; flex-shrink: 0; }
.mini-post b { font-family: var(--font-head); font-size: .9rem; line-height: 1.4; display: block; color: var(--heading); }
.mini-post b:hover { color: var(--brand); }
.mini-post small { font-size: .78rem; color: var(--muted); }

.share-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.share-row a { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; background: var(--bg-soft); color: var(--body); transition: all var(--t-fast); }
.share-row a:hover { background: var(--brand); color: #fff; }

/* --------------------------------------------------------------------------
   18. PAGINATION / MISC
   -------------------------------------------------------------------------- */
.pagination { display: flex; justify-content: center; align-items: center; gap: 8px; margin-top: 48px; flex-wrap: wrap; }
.page-link {
  min-width: 44px; height: 44px; padding: 0 14px; border-radius: 12px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--line); background: var(--card);
  font-family: var(--font-head); font-weight: 600; font-size: .92rem; color: var(--heading);
  transition: all var(--t-fast);
}
.page-link:hover { border-color: var(--brand); color: var(--brand); }
.page-link.is-active { background: var(--brand); border-color: var(--brand); color: #fff; }
.page-link.is-disabled { opacity: .45; pointer-events: none; }
.page-dots { color: var(--muted); padding: 0 4px; }

.empty-state { text-align: center; padding: 70px 24px; }
.empty-state .ico { width: 56px; height: 56px; color: var(--line-strong); margin: 0 auto 20px; }
.empty-state h3 { margin-bottom: 10px; }

.map-embed { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); line-height: 0; }
.map-embed iframe { width: 100%; height: 420px; border: 0; display: block; }

.media-frame { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.media-frame img { width: 100%; }
.media-badge {
  position: absolute; left: 22px; bottom: 22px;
  background: var(--card); border-radius: 16px; padding: 16px 20px;
  display: flex; align-items: center; gap: 14px; box-shadow: var(--shadow);
}
.media-badge .ico-wrap { width: 46px; height: 46px; border-radius: 13px; background: var(--brand); color: #fff; display: grid; place-items: center; }
.media-badge b { display: block; font-family: var(--font-head); font-size: 1.35rem; color: var(--heading); line-height: 1; }
.media-badge small { font-size: .8rem; color: var(--muted); }

.dots-bg { position: absolute; width: 180px; height: 180px; background-image: radial-gradient(var(--line-strong) 1.6px, transparent 1.6px); background-size: 16px 16px; z-index: -1; }

/* Cookie bar */
.cookie-bar {
  position: fixed; left: 24px; right: 24px; bottom: 24px; z-index: 120;
  max-width: 780px; margin-inline: auto;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-lg); padding: 18px 24px;
  display: flex; align-items: center; gap: 18px; flex-wrap: nowrap;
  transform: translateY(140%); transition: transform .5s var(--ease);
}
.cookie-bar.is-visible { transform: translateY(0); }
.cookie-bar p { font-size: .89rem; flex: 1 1 auto; min-width: 0; line-height: 1.55; }
.cookie-bar .btn-row { flex: 0 0 auto; flex-wrap: nowrap; }

/* --------------------------------------------------------------------------
   19. SCROLL REVEAL
   -------------------------------------------------------------------------- */
[data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
[data-reveal].is-in { opacity: 1; transform: none; }
[data-reveal="left"] { transform: translateX(-32px); }
[data-reveal="right"] { transform: translateX(32px); }
[data-reveal="zoom"] { transform: scale(.94); }

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

/* --------------------------------------------------------------------------
   20. UTILITIES
   -------------------------------------------------------------------------- */
.mt-0 { margin-top: 0 } .mt-1 { margin-top: 8px } .mt-2 { margin-top: 16px } .mt-3 { margin-top: 24px } .mt-4 { margin-top: 32px } .mt-5 { margin-top: 48px }
.mb-0 { margin-bottom: 0 } .mb-1 { margin-bottom: 8px } .mb-2 { margin-bottom: 16px } .mb-3 { margin-bottom: 24px } .mb-4 { margin-bottom: 32px } .mb-5 { margin-bottom: 48px }
.flex { display: flex } .items-center { align-items: center } .justify-between { justify-content: space-between } .gap-2 { gap: 16px } .gap-3 { gap: 24px }
.wrap { flex-wrap: wrap }
.relative { position: relative }
.w-full { width: 100% }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* --------------------------------------------------------------------------
   21. RESPONSIVE
   -------------------------------------------------------------------------- */
@media (max-width: 1180px) {
  .g-5 { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1.6fr 1fr 1.4fr; }
  .footer-links-col-2 { display: none; }
}

@media (max-width: 1260px) {
  :root { --header-h: 74px; }
  .nav, .header-actions .btn, .topbar { display: none; }
  .nav-toggle { display: grid; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { max-width: 560px; }
  .hero-float-1 { left: 0; }
  .hero-float-2 { right: 0; }
  .g-4 { grid-template-columns: repeat(2, 1fr); }
  .g-3 { grid-template-columns: repeat(2, 1fr); }
  .split, .split-40, .split-60 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .steps::before { display: none; }
  .cta-band { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .content-with-sidebar { grid-template-columns: 1fr !important; }
  .dropdown.dropdown-wide { min-width: 320px; grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  :root { --gutter: 18px; }
  .g-2, .g-3, .g-4, .g-5, .steps, .form-grid, .check-list-2 { grid-template-columns: 1fr; }
  .card { padding: 24px; }
  .hero-stats { gap: 22px; }
  .hero-stats > div { min-width: 42%; }
  .hero-float { display: none; }
  .footer-grid { grid-template-columns: 1fr; gap: 34px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .btn { width: 100%; }
  .btn-row .btn { width: auto; flex: 1 1 200px; }
  .marquee-track { gap: 40px; }
  .to-top { right: 16px; bottom: 16px; }
  .whatsapp-fab { right: 16px; bottom: 74px; }
  /* On phones the buttons drop under the text rather than squeezing it */
  .cookie-bar { left: 12px; right: 12px; bottom: 12px; padding: 18px; flex-wrap: wrap; }
  .cookie-bar .btn-row { width: 100%; }
}

@media (max-width: 460px) {
  .brand-word { font-size: 1.34rem; }
  .stat-card .stat-value { font-size: 2rem; }
}

/* --------------------------------------------------------------------------
   22. PRINT
   -------------------------------------------------------------------------- */
@media print {
  .site-header, .site-footer, .to-top, .whatsapp-fab, .cookie-bar, .topbar, .mobile-nav, .overlay { display: none !important; }
  body { color: #000; background: #fff; }
  .section { padding-block: 16px; }
}

/* --------------------------------------------------------------------------
   23. SLIDER + SPINNER (driven by main.js)
   -------------------------------------------------------------------------- */
.slider { position: relative; }
.slider-viewport { overflow: hidden; }
.slider-track {
  display: flex; gap: 26px;
  transition: transform .55s var(--ease);
  will-change: transform;
}
.slider-slide { flex: 0 0 100%; min-width: 0; }

.slider-nav { display: flex; gap: 10px; }
.slider-btn {
  width: 46px; height: 46px; border-radius: 13px;
  display: grid; place-items: center;
  border: 1px solid var(--line); background: var(--card); color: var(--heading);
  transition: all var(--t-fast);
}
.slider-btn:hover:not(:disabled) { background: var(--brand); border-color: var(--brand); color: #fff; }
.slider-btn:disabled { opacity: .38; cursor: not-allowed; }
.slider-btn .ico { width: 19px; height: 19px; }

.slider-dots { display: flex; justify-content: center; gap: 8px; margin-top: 34px; }
.slider-dot {
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--line-strong); transition: all var(--t-fast);
}
.slider-dot.is-active { width: 28px; border-radius: 6px; background: var(--brand); }

.slider-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 26px; flex-wrap: wrap; margin-bottom: clamp(30px, 3.5vw, 46px);
}
.slider-head .section-head { margin-bottom: 0; }

.spinner {
  width: 16px; height: 16px; border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, .35);
  border-top-color: #fff;
  display: inline-block;
  animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ==========================================================================
   24. VISUAL SYSTEM  - illustrations, mesh backgrounds, glass, bento
   ========================================================================== */

:root {
  --il-line: #d9e2ef;
  --il-soft: #eef3fa;
  --il-card-a: #ffffff;
  --il-card-b: #f7fafd;
  --mesh-1: rgba(247, 148, 30, .22);
  --mesh-2: rgba(46, 106, 255, .18);
  --mesh-3: rgba(122, 90, 248, .16);
}
[data-theme="dark"] {
  --il-line: #2a3a5e;
  --il-soft: #16233d;
  --il-card-a: #101c33;
  --il-card-b: #0d1729;
  --mesh-1: rgba(247, 148, 30, .20);
  --mesh-2: rgba(46, 106, 255, .16);
  --mesh-3: rgba(122, 90, 248, .14);
}

.il { width: 100%; height: auto; display: block; overflow: visible; }
.il-hero { max-width: 620px; }

.il-float-a { animation: ilFloat 6s ease-in-out infinite; transform-origin: center; }
.il-float-b { animation: ilFloat 7.5s ease-in-out infinite reverse; transform-origin: center; }
@keyframes ilFloat { 0%, 100% { transform: translateY(0) } 50% { transform: translateY(-12px) } }

.il-node circle { animation: ilPulse 3s ease-in-out infinite; }
.il-node circle:nth-child(2n) { animation-delay: .4s; }
.il-node circle:nth-child(3n) { animation-delay: .9s; }
@keyframes ilPulse { 0%, 100% { opacity: .85 } 50% { opacity: 1 } }

/* --- blurred colour blobs ------------------------------------------------ */
.has-mesh { position: relative; overflow: hidden; isolation: isolate; }
.il-blob {
  position: absolute; z-index: -1; border-radius: 50%;
  filter: blur(90px); pointer-events: none;
}
.il-blob-1 { width: 520px; height: 520px; background: var(--mesh-1); top: -180px; right: -140px; }
.il-blob-2 { width: 460px; height: 460px; background: var(--mesh-2); bottom: -220px; left: -160px; }
.il-blob-3 { width: 380px; height: 380px; background: var(--mesh-3); top: 30%; left: 45%; }

/* --- fine grid backdrop -------------------------------------------------- */
.bg-grid { position: relative; }
.bg-grid::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image:
    linear-gradient(var(--il-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--il-line) 1px, transparent 1px);
  background-size: 56px 56px;
  opacity: .5;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, #000 20%, transparent 75%);
}

/* --- glass card ---------------------------------------------------------- */
.glass {
  background: color-mix(in srgb, var(--card) 70%, transparent);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  border: 1px solid color-mix(in srgb, var(--line) 80%, transparent);
}
@supports not (backdrop-filter: blur(1px)) { .glass { background: var(--card); } }

/* --- gradient hairline border on hover ----------------------------------- */
.card-glow { position: relative; }
.card-glow::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px;
  background: linear-gradient(135deg, var(--brand), transparent 40%, transparent 60%, #7aa2ff);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity var(--t); pointer-events: none;
}
.card-glow:hover::before { opacity: 1; }

/* --- cursor spotlight ---------------------------------------------------- */
.spotlight { position: relative; overflow: hidden; }
.spotlight::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(340px circle at var(--mx, 50%) var(--my, 50%),
              color-mix(in srgb, var(--brand) 14%, transparent), transparent 65%);
  opacity: 0; transition: opacity var(--t);
}
.spotlight:hover::after { opacity: 1; }

/* --- 3D tilt ------------------------------------------------------------- */
.tilt { transform-style: preserve-3d; transition: transform .4s var(--ease); will-change: transform; }
.tilt-inner { transform: translateZ(38px); }

/* --------------------------------------------------------------------------
   BENTO GRID
   -------------------------------------------------------------------------- */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.bento-item {
  position: relative; overflow: hidden;
  grid-column: span 2;
  display: flex; flex-direction: column;
  padding: 30px;
  border-radius: var(--radius-lg);
  background: var(--card);
  border: 1px solid var(--line);
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}
.bento-item:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.bento-wide { grid-column: span 4; }
.bento-full { grid-column: span 6; }
.bento-tall { grid-row: span 2; }

.bento-item .il { margin-top: auto; max-width: 220px; }
.bento-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-head); font-size: .72rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase; color: var(--brand);
  margin-bottom: 14px;
}
.bento-item h3 { font-size: 1.24rem; margin-bottom: 10px; }
.bento-item p { font-size: .95rem; }
.bento-item .link-arrow { margin-top: 20px; }

.bento-dark {
  background: linear-gradient(150deg, #0b1220, #16243f 60%, #0d1728);
  border-color: transparent; color: var(--on-dark-muted);
}
.bento-dark h3, .bento-dark h2 { color: #fff; }
.bento-dark p { color: #a5b6d1; }

/* --------------------------------------------------------------------------
   METRIC RINGS + PILLS
   -------------------------------------------------------------------------- */
.ring-row { display: flex; flex-wrap: wrap; gap: clamp(22px, 4vw, 54px); }
.ring { display: flex; align-items: center; gap: 16px; }
.ring-svg { width: 76px; height: 76px; flex-shrink: 0; transform: rotate(-90deg); }
.ring-track { stroke: var(--line); }
.ring-bar {
  stroke: var(--brand); stroke-linecap: round;
  stroke-dasharray: 201;
  stroke-dashoffset: 201;
  transition: stroke-dashoffset 1.6s var(--ease);
}
.ring.is-in .ring-bar { stroke-dashoffset: var(--ring-offset, 60); }
.ring-value { font-family: var(--font-head); font-size: 1.5rem; font-weight: 800; color: var(--heading); line-height: 1; }
.ring-label { font-size: .86rem; color: var(--muted); margin-top: 5px; max-width: 150px; }

.metric-pill {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 6px 13px; border-radius: var(--radius-pill);
  background: var(--brand-soft); color: var(--brand);
  font-family: var(--font-head); font-size: .78rem; font-weight: 700;
}
.metric-pill .ico { width: 14px; height: 14px; }

/* --------------------------------------------------------------------------
   ROTATING HEADLINE
   -------------------------------------------------------------------------- */
.rotator { display: inline-grid; vertical-align: bottom; text-align: left; }
.rotator > span {
  grid-area: 1 / 1;
  opacity: 0; transform: translateY(18px);
  transition: opacity .5s var(--ease), transform .5s var(--ease);
}
.rotator > span.is-on { opacity: 1; transform: none; }

/* --------------------------------------------------------------------------
   AI BAND
   -------------------------------------------------------------------------- */
.ai-band {
  position: relative; overflow: hidden;
  background: linear-gradient(160deg, #080f1e 0%, #101d38 48%, #0a1424 100%);
  color: #a7b8d4;
}
.ai-band::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 15% 20%, rgba(247, 148, 30, .22), transparent 42%),
    radial-gradient(circle at 82% 72%, rgba(122, 90, 248, .22), transparent 45%);
}
.ai-band > * { position: relative; z-index: 1; }
.ai-band h2, .ai-band h3, .ai-band h4 { color: #fff; }
.ai-band p { color: #a7b8d4; }

.ai-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.ai-card {
  padding: 26px; border-radius: var(--radius);
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .1);
  transition: transform var(--t), background var(--t), border-color var(--t);
}
.ai-card:hover { transform: translateY(-5px); background: rgba(255, 255, 255, .09); border-color: rgba(247, 148, 30, .45); }
.ai-card .ai-ico {
  width: 48px; height: 48px; border-radius: 14px; margin-bottom: 18px;
  display: grid; place-items: center;
  background: rgba(247, 148, 30, .16); color: var(--brand);
}
.ai-card h4 { font-size: 1.04rem; margin-bottom: 8px; }
.ai-card p { font-size: .91rem; }

.ai-chips { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 22px; }
.ai-chip {
  padding: 7px 14px; border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .13);
  font-size: .82rem; color: #cbd8ec;
}

/* --------------------------------------------------------------------------
   TECH ORBIT
   -------------------------------------------------------------------------- */
.orbit { position: relative; aspect-ratio: 1; max-width: 460px; margin-inline: auto; }
.orbit-ring { position: absolute; inset: 0; border-radius: 50%; border: 1px dashed var(--line-strong); }
.orbit-ring:nth-child(2) { inset: 15%; }
.orbit-ring:nth-child(3) { inset: 30%; }
.orbit-core {
  position: absolute; inset: 38%; border-radius: 50%;
  display: grid; place-items: center; text-align: center;
  background: var(--brand); color: #fff;
  font-family: var(--font-head); font-weight: 800; font-size: .95rem;
  box-shadow: var(--shadow-brand);
}
.orbit-spin { position: absolute; inset: 0; animation: orbitSpin 40s linear infinite; }
.orbit-spin.rev { animation-direction: reverse; animation-duration: 55s; }
@keyframes orbitSpin { to { transform: rotate(360deg); } }
.orbit-item {
  position: absolute; top: 50%; left: 50%;
  width: 62px; height: 62px; margin: -31px;
  border-radius: 16px; display: grid; place-items: center;
  background: var(--card); border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  font-family: var(--font-head); font-size: .68rem; font-weight: 700; color: var(--heading);
  animation: orbitSpin 40s linear infinite reverse;
}
.orbit-spin.rev .orbit-item { animation-duration: 55s; animation-direction: normal; }

/* --------------------------------------------------------------------------
   PROJECT PLANNER
   -------------------------------------------------------------------------- */
.planner {
  display: grid; grid-template-columns: 1.25fr .75fr;
  border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--line); background: var(--card);
  box-shadow: var(--shadow);
}
.planner-form { padding: clamp(26px, 3.4vw, 40px); }
.planner-out {
  padding: clamp(26px, 3.4vw, 40px);
  background: linear-gradient(160deg, #0b1220, #16243f);
  color: #a5b6d1; display: flex; flex-direction: column;
}
.planner-out h3, .planner-out .planner-figure { color: #fff; }

.planner-group { margin-bottom: 26px; }
.planner-group > label {
  display: block; margin-bottom: 12px;
  font-family: var(--font-head); font-size: .84rem; font-weight: 700;
  letter-spacing: .04em; text-transform: uppercase; color: var(--muted);
}
.opt-row { display: flex; flex-wrap: wrap; gap: 9px; }
.opt { position: relative; cursor: pointer; }
.opt input { position: absolute; opacity: 0; width: 0; height: 0; }
.opt span {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 17px; border-radius: var(--radius-pill);
  border: 1.5px solid var(--line-strong); background: var(--bg);
  font-family: var(--font-head); font-size: .88rem; font-weight: 600; color: var(--body);
  transition: all var(--t-fast);
}
.opt span .ico { width: 16px; height: 16px; }
.opt:hover span { border-color: var(--brand); color: var(--brand); }
.opt input:checked + span { background: var(--brand); border-color: var(--brand); color: #fff; box-shadow: var(--shadow-brand); }
.opt input:focus-visible + span { box-shadow: var(--ring); }

.planner-figure { font-family: var(--font-head); font-size: clamp(2rem, 4vw, 2.7rem); font-weight: 800; line-height: 1.05; }
.planner-sub { font-size: .86rem; color: #8ea0bd; margin-top: 6px; }
.planner-rows { margin-top: 26px; display: grid; gap: 13px; }
.planner-row { display: flex; justify-content: space-between; gap: 14px; font-size: .9rem; padding-bottom: 12px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.planner-row:last-child { border-bottom: 0; }
.planner-row b { color: #fff; font-family: var(--font-head); text-align: right; }
.planner-note { font-size: .78rem; color: #7f92b3; margin-top: 18px; }
.planner-out .btn { margin-top: auto; }

/* --------------------------------------------------------------------------
   SCROLL PROGRESS + ANIMATED STEP LINE
   -------------------------------------------------------------------------- */
.scroll-progress {
  position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 200;
  background: linear-gradient(90deg, var(--brand), #ffc178);
  transform: scaleX(0); transform-origin: left;
  will-change: transform;
}

.step-line { position: relative; }
.step-line::before {
  content: ""; position: absolute; left: 8%; right: 8%; top: 34px; height: 2px;
  background: var(--line-strong);
}
.step-line::after {
  content: ""; position: absolute; left: 8%; top: 34px; height: 2px;
  width: var(--step-progress, 0%);
  background: var(--brand);
  transition: width 1.2s var(--ease);
}

/* --------------------------------------------------------------------------
   LOGO PLATES
   -------------------------------------------------------------------------- */
.logo-plate {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 26px; border-radius: 14px;
  background: var(--card); border: 1px solid var(--line);
  font-family: var(--font-head); font-weight: 700; font-size: .98rem; color: var(--muted);
  white-space: nowrap; transition: all var(--t);
}
.logo-plate .ico { width: 19px; height: 19px; color: var(--brand); }
.logo-plate:hover { color: var(--heading); border-color: var(--brand); transform: translateY(-3px); }

/* --------------------------------------------------------------------------
   RESPONSIVE
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .bento { grid-template-columns: repeat(4, 1fr); }
  .bento-wide, .bento-full { grid-column: span 4; }
  .bento-item { grid-column: span 2; }
  .ai-grid { grid-template-columns: repeat(2, 1fr); }
  .planner { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .bento { grid-template-columns: 1fr; }
  .bento-item, .bento-wide, .bento-full { grid-column: span 1; }
  .bento-tall { grid-row: auto; }
  .ai-grid { grid-template-columns: 1fr; }
  .ring-row { gap: 22px; }
  .orbit { max-width: 320px; }
  .orbit-item { width: 50px; height: 50px; margin: -25px; font-size: .6rem; }
  .step-line::before, .step-line::after { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .il-float-a, .il-float-b, .orbit-spin, .orbit-item { animation: none !important; }
}
