/* ==========================================================================
   QT Services — design system
   Display: Space Grotesk · Text: IBM Plex Sans
   Palette derived from the logo: deep navy → signal cyan, warm amber accent
   ========================================================================== */

:root {
  --brand-deep:  #0b3a5e;
  --brand:       #0f6ea3;
  --brand-lit:   #1ea7d8;
  --brand-aqua:  #56d6e6;
  --accent:      #e8912b;

  --paper:       #f3f7fa;
  --paper-2:     #e8eff5;
  --surface:     #ffffff;
  --surface-2:   #f8fbfd;
  --line:        #dce6ee;
  --line-strong: #c3d3e0;
  --ink:         #072338;
  --ink-2:       #17456a;
  --body:        #52697e;
  --muted:       #7b8fa2;

  --grad: linear-gradient(115deg, var(--brand-deep) 0%, var(--brand) 45%, var(--brand-lit) 100%);
  --grad-soft: linear-gradient(115deg, rgba(15,110,163,.10), rgba(86,214,230,.14));

  --shadow-sm: 0 1px 2px rgba(7,35,56,.06), 0 2px 8px rgba(7,35,56,.04);
  --shadow-md: 0 4px 12px rgba(7,35,56,.07), 0 16px 40px -18px rgba(7,35,56,.22);
  --shadow-lg: 0 30px 70px -32px rgba(7,35,56,.42);

  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --r-xl: 30px;

  --shell: 1220px;
  --gut: 24px;
  --header-h: 78px;

  --f-display: "Space Grotesk", "Segoe UI", system-ui, sans-serif;
  --f-text: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --ease: cubic-bezier(.22,.68,.32,1);
}

[data-theme="dark"] {
  --paper:       #061421;
  --paper-2:     #0a1c2c;
  --surface:     #0d2134;
  --surface-2:   #102a41;
  --line:        rgba(148,190,220,.16);
  --line-strong: rgba(148,190,220,.3);
  --ink:         #e9f3fa;
  --ink-2:       #bcd9ec;
  --body:        #9db6ca;
  --muted:       #7995ac;
  --brand:       #2b8fc4;
  --brand-lit:   #38b6e2;

  --grad: linear-gradient(115deg, #0b3a5e 0%, #12699c 45%, #1ea7d8 100%);
  --grad-soft: linear-gradient(115deg, rgba(30,167,216,.14), rgba(86,214,230,.08));
  --shadow-sm: 0 1px 2px rgba(0,0,0,.4);
  --shadow-md: 0 6px 18px rgba(0,0,0,.42);
  --shadow-lg: 0 32px 70px -30px rgba(0,0,0,.75);
}

/* ---------- reset ---------- */
*, *::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(--f-text);
  font-size: 1.0125rem;
  line-height: 1.65;
  color: var(--body);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
ul, ol { list-style: none; padding: 0; }
h1, h2, h3, h4 { font-family: var(--f-display); color: var(--ink); line-height: 1.12; letter-spacing: -.02em; font-weight: 600; }
h1 { font-size: clamp(2.35rem, 5.2vw, 3.85rem); letter-spacing: -.035em; }
h2 { font-size: clamp(1.85rem, 3.6vw, 2.7rem); letter-spacing: -.03em; }
h3 { font-size: 1.2rem; }
p { text-wrap: pretty; }

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

/* themed scrollbar */
html { scrollbar-color: var(--brand-lit) var(--paper-2); scrollbar-width: thin; }
::-webkit-scrollbar { width: 12px; height: 12px; }
::-webkit-scrollbar-track { background: var(--paper-2); }
::-webkit-scrollbar-thumb {
  background: var(--grad);
  border-radius: 99px;
  border: 3px solid var(--paper-2);
}
::-webkit-scrollbar-thumb:hover { background: var(--brand-lit); }

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

.skip-link {
  position: fixed; top: -100px; left: 16px; z-index: 200;
  background: var(--brand-deep); color: #fff; padding: 12px 18px; border-radius: 0 0 var(--r-sm) var(--r-sm);
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 0; }

.shell { width: 100%; max-width: var(--shell); margin-inline: auto; padding-inline: var(--gut); }

/* ---------- scroll progress ---------- */
.scroll-progress {
  position: fixed; inset: 0 auto auto 0; height: 3px; width: 0;
  background: linear-gradient(90deg, var(--brand-deep), var(--brand-lit) 60%, var(--brand-aqua));
  z-index: 120; transition: width .08s linear;
}

/* ---------- buttons ---------- */
.btn {
  --btn-bg: var(--grad);
  display: inline-flex; align-items: center; gap: .55em;
  font-family: var(--f-display); font-weight: 500; font-size: .96rem;
  padding: .85em 1.5em; border-radius: 999px; border: 1px solid transparent;
  cursor: pointer; position: relative; white-space: nowrap;
  transition: transform .18s var(--ease), box-shadow .22s var(--ease), background-color .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease);
}
.btn svg { width: 17px; height: 17px; flex: none; }
.btn-primary { background: var(--btn-bg); color: #fff; box-shadow: 0 8px 22px -10px rgba(15,110,163,.85); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 32px -14px rgba(15,110,163,.95); }
.btn-ghost { background: var(--surface); color: var(--ink); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--brand-lit); color: var(--brand); }
.btn-line { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn-line:hover { border-color: var(--brand-lit); color: var(--brand); }
.btn-light { background: #fff; color: var(--brand-deep); }
.btn-light:hover { transform: translateY(-2px); }
.btn-clear { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.45); backdrop-filter: blur(6px); }
.btn-clear:hover { background: rgba(255,255,255,.2); }
.btn-lg { padding: 1em 1.9em; font-size: 1.02rem; }
.btn-block { width: 100%; justify-content: center; }

.icon-btn {
  display: inline-grid; place-items: center; width: 42px; height: 42px;
  border-radius: 12px; background: var(--surface-2); border: 1px solid var(--line);
  cursor: pointer; color: var(--ink); transition: border-color .2s, color .2s, background-color .2s;
}
.icon-btn:hover { border-color: var(--brand-lit); color: var(--brand); }
.icon-btn svg { width: 19px; height: 19px; }

/* text link with rail */
.rail-link {
  display: inline-flex; align-items: center; gap: .5em;
  font-family: var(--f-display); font-weight: 500; color: var(--brand);
}
.rail-link svg { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.rail-link:hover svg { transform: translateX(4px); }

/* ---------- header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: color-mix(in srgb, var(--paper) 82%, transparent);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: background-color .25s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.site-header.is-stuck {
  background: color-mix(in srgb, var(--surface) 92%, transparent);
  border-bottom-color: var(--line);
  box-shadow: 0 10px 30px -22px rgba(7,35,56,.5);
}
.header-inner { display: flex; align-items: center; gap: 22px; height: var(--header-h); transition: height .25s var(--ease); }
.site-header.is-stuck .header-inner { height: 66px; }
.brand { display: flex; align-items: center; flex: none; }
.brand img { width: auto; transition: height .25s var(--ease); }
[data-theme="light"] .brand img,
[data-theme="light"] .footer-brand img { filter: drop-shadow(0 1px 0 rgba(7,35,56,.08)); }

.main-nav { margin-left: auto; }
.nav-list { display: flex; align-items: center; gap: 2px; }
.nav-list > li > a,
.mega-trigger {
  display: inline-flex; align-items: center; gap: .3em;
  font-family: var(--f-display); font-weight: 500; font-size: .95rem; color: var(--ink-2);
  padding: .6em .85em; border-radius: 10px; background: none; border: 0; cursor: pointer;
  transition: color .18s, background-color .18s;
}
.nav-list > li > a:hover, .mega-trigger:hover { color: var(--brand); background: var(--grad-soft); }
.nav-list .is-current { color: var(--brand); }
.mega-trigger .chev { width: 16px; height: 16px; transition: transform .22s var(--ease); }
.has-mega.is-open .mega-trigger .chev { transform: rotate(180deg); }

/* mega menu */
.has-mega { position: relative; }
.mega {
  position: absolute; top: calc(100% + 14px); left: 50%; translate: -50% 0;
  width: min(780px, calc(100vw - 40px));
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg); padding: 14px; z-index: 20;
  opacity: 0; visibility: hidden; transform: translateY(-8px); pointer-events: none;
  transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s;
}
.has-mega.is-open .mega { opacity: 1; visibility: visible; transform: none; pointer-events: auto; }
.mega-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.mega-item {
  display: flex; gap: 12px; padding: 12px; border-radius: var(--r-md);
  transition: background-color .18s;
}
.mega-item:hover { background: var(--surface-2); }
.mega-ico {
  flex: none; width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center;
  background: var(--grad-soft); color: var(--brand); border: 1px solid var(--line);
}
.mega-ico svg { width: 19px; height: 19px; }
.mega-item strong { display: block; font-family: var(--f-display); font-size: .95rem; color: var(--ink); font-weight: 600; }
.mega-item small { display: block; font-size: .82rem; color: var(--muted); line-height: 1.45; margin-top: 2px; }
.mega-foot {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  margin-top: 10px; padding: 14px 16px; border-radius: var(--r-md);
  background: var(--grad-soft); color: var(--brand); font-family: var(--f-display); font-weight: 500;
  border: 1px solid var(--line);
}
.mega-foot svg { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.mega-foot:hover svg { transform: translateX(5px); }

.header-tools { display: flex; align-items: center; gap: 10px; flex: none; }
.lang-switch {
  display: flex; align-items: center; padding: 3px; gap: 2px;
  background: var(--surface-2); border: 1px solid var(--line); border-radius: 999px;
}
.lang-switch a {
  font-family: var(--f-display); font-size: .78rem; font-weight: 600; letter-spacing: .04em;
  padding: .42em .78em; border-radius: 999px; color: var(--muted); transition: .18s;
}
.lang-switch a:hover { color: var(--brand); }
.lang-switch a.is-on { background: var(--grad); color: #fff; }

.theme-toggle .ico-moon { display: none; }
[data-theme="dark"] .theme-toggle .ico-sun { display: none; }
[data-theme="dark"] .theme-toggle .ico-moon { display: block; }

.menu-btn, .nav-close { display: none; }
.nav-mobile-cta { display: none; }
.nav-backdrop {
  position: fixed; inset: 0; background: rgba(4,20,33,.55); backdrop-filter: blur(3px);
  z-index: 98; opacity: 0; transition: opacity .25s;
}
.nav-backdrop.is-on { opacity: 1; }

@media (max-width: 1080px) {
  /* backdrop-filter would make the header the containing block for the
     fixed drawer, so the mobile header stays opaque instead */
  .site-header, .site-header.is-stuck { backdrop-filter: none; background: var(--surface); }
  .header-cta { display: none; }
  .menu-btn { display: inline-grid; }
  .nav-close { display: inline-grid; position: absolute; top: 18px; right: 18px; }
  .main-nav {
    position: fixed; top: 0; right: 0; bottom: 0; width: min(400px, 88vw);
    background: var(--surface); border-left: 1px solid var(--line);
    padding: 74px 22px 32px; overflow-y: auto; z-index: 99;
    transform: translateX(101%); transition: transform .32s var(--ease);
    box-shadow: var(--shadow-lg);
  }
  .main-nav.is-open { transform: none; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 2px; }
  .nav-list > li > a, .mega-trigger { width: 100%; justify-content: space-between; padding: .85em .6em; font-size: 1.05rem; }
  .mega {
    position: static; width: auto; translate: none; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border: 0; border-radius: 0; padding: 0 0 0 8px; pointer-events: auto;
    display: none; background: transparent;
  }
  .has-mega.is-open .mega { display: block; }
  .mega-grid { grid-template-columns: 1fr; }
  .mega-item { padding: 10px 8px; }
  .mega-item small { display: none; }
  .mega-foot { margin-bottom: 8px; }
  .nav-mobile-cta { display: block; margin-top: 18px; }
  .nav-mobile-cta .btn { width: 100%; justify-content: center; }

  /* the drawer is position:fixed, so it can no longer push the tools over —
     the tools group takes over the job: logo left, everything else right */
  .header-inner { gap: 12px; }
  .brand { margin-right: auto; min-width: 0; }
  .brand img { max-height: calc(var(--header-h) - 18px); }
  .site-header.is-stuck .brand img { max-height: 48px; }
  .header-tools { margin-left: auto; gap: 8px; }
}
@media (max-width: 560px) {
  :root { --gut: 18px; --header-h: 68px; }
  .lang-switch a { padding: .42em .58em; font-size: .74rem; }
  .header-inner { gap: 8px; }
  .header-tools { gap: 6px; }
  .brand img { max-height: calc(var(--header-h) - 22px); }
}
@media (max-width: 380px) {
  .header-tools { gap: 4px; }
  .lang-switch a { padding: .4em .5em; }
}
/* ==========================================================================
   Sections
   ========================================================================== */
main { padding-top: var(--header-h); }
.section { padding: clamp(64px, 8vw, 104px) 0; }
.section-tight { padding: clamp(48px, 6vw, 72px) 0; }
.section-alt { background: var(--paper-2); }
.section-surface { background: var(--surface); }

/* section label — the "circuit rail" motif from the logo */
.rail {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--f-display); font-size: .8rem; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase; color: var(--brand);
  margin-bottom: 18px;
}
.rail::before {
  content: ""; width: 34px; height: 1px; background: currentColor; position: relative;
}
.rail::after {
  content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor;
  order: -1; box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand-lit) 22%, transparent);
}
.rail::before { order: -1; }

.section-head { max-width: 62ch; margin-bottom: clamp(34px, 4vw, 52px); }
.section-head.is-center { margin-inline: auto; text-align: center; }
.section-head.is-center .rail { justify-content: center; }
.section-head p { margin-top: 16px; font-size: 1.08rem; }
.section-head--split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 30px; align-items: end; max-width: none; }
.section-head--split p { margin-top: 0; }
@media (max-width: 860px) { .section-head--split { grid-template-columns: 1fr; align-items: start; } }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero { position: relative; overflow: hidden; padding: clamp(52px, 7vw, 92px) 0 clamp(56px, 7vw, 88px); }
.hero-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hero-bg::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, color-mix(in srgb, var(--brand) 9%, transparent) 1px, transparent 1px),
    linear-gradient(to bottom, color-mix(in srgb, var(--brand) 9%, transparent) 1px, transparent 1px);
  background-size: 62px 62px;
  mask-image: radial-gradient(120% 90% at 70% 0%, #000 10%, transparent 72%);
}
.hero-glow {
  position: absolute; width: 620px; height: 620px; border-radius: 50%;
  background: radial-gradient(circle, rgba(30,167,216,.28), transparent 66%);
  top: -230px; right: -140px; filter: blur(10px);
}
.hero-glow.two {
  background: radial-gradient(circle, rgba(11,58,94,.22), transparent 66%);
  top: auto; bottom: -280px; right: auto; left: -180px; width: 520px; height: 520px;
}
.hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(32px, 5vw, 64px); align-items: center; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 9px; padding: .5em 1em .5em .8em;
  border-radius: 999px; background: var(--surface); border: 1px solid var(--line);
  font-size: .84rem; font-family: var(--f-display); font-weight: 500; color: var(--ink-2);
  box-shadow: var(--shadow-sm); margin-bottom: 22px;
}
.hero-badge .dot {
  width: 8px; height: 8px; border-radius: 50%; background: #2fbf72; position: relative;
}
.hero-badge .dot::after {
  content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 1px solid #2fbf72;
  animation: pulse 2.4s var(--ease) infinite;
}
@keyframes pulse { 0% { transform: scale(.6); opacity: .9 } 100% { transform: scale(1.5); opacity: 0 } }

.hero h1 { margin-bottom: 20px; }
.hero-lead { font-size: clamp(1.06rem, 1.5vw, 1.2rem); max-width: 54ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 34px; padding-top: 26px; border-top: 1px solid var(--line); }
.hero-trust li { display: flex; align-items: center; gap: 8px; font-size: .9rem; }
.hero-trust svg { width: 17px; height: 17px; color: var(--brand-lit); flex: none; }

/* hero panel — service rail */
.hero-panel {
  position: relative; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-xl); box-shadow: var(--shadow-lg); padding: 8px;
}
.hero-panel-head {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 16px 18px 14px;
}
.hero-panel-head span { font-family: var(--f-display); font-size: .84rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.hero-panel-head .dots { display: flex; gap: 5px; }
.hero-panel-head .dots i { width: 8px; height: 8px; border-radius: 50%; background: var(--line-strong); }
.hero-panel-head .dots i:first-child { background: var(--brand-lit); }
.hero-rail { display: grid; gap: 2px; }
.hero-rail a {
  display: flex; align-items: center; gap: 13px; padding: 13px 16px; border-radius: var(--r-md);
  transition: background-color .2s var(--ease);
}
.hero-rail a:hover { background: var(--surface-2); }
.hero-rail .ic {
  width: 36px; height: 36px; flex: none; border-radius: 10px; display: grid; place-items: center;
  background: var(--grad-soft); color: var(--brand); border: 1px solid var(--line);
}
.hero-rail .ic svg { width: 18px; height: 18px; }
.hero-rail strong { font-family: var(--f-display); font-weight: 500; font-size: .95rem; color: var(--ink); }
.hero-rail small { display: block; color: var(--muted); font-size: .8rem; }
.hero-rail .go { margin-left: auto; color: var(--muted); }
.hero-rail .go svg { width: 16px; height: 16px; }
.hero-panel-foot {
  margin: 8px; padding: 15px 18px; border-radius: var(--r-lg); background: var(--grad); color: #fff;
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
}
.hero-panel-foot b { font-family: var(--f-display); font-size: 1.02rem; font-weight: 600; }
.hero-panel-foot small { display: block; opacity: .82; font-size: .82rem; }
.hero-panel-foot svg { width: 20px; height: 20px; flex: none; }

@media (max-width: 940px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-panel { order: 2; }
}

/* ==========================================================================
   Stats
   ========================================================================== */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.stat { background: var(--surface); padding: 28px 24px; }
.stat b { display: block; font-family: var(--f-display); font-size: clamp(1.9rem, 3.4vw, 2.6rem); color: var(--ink); letter-spacing: -.03em; line-height: 1; }
.stat span { display: block; margin-top: 8px; font-size: .9rem; color: var(--muted); }
@media (max-width: 720px) { .stats { grid-template-columns: 1fr 1fr; } }

/* ==========================================================================
   Service cards
   ========================================================================== */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.svc-card {
  position: relative; display: flex; flex-direction: column; gap: 12px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 26px 24px 22px; overflow: hidden;
  transition: border-color .22s var(--ease), transform .22s var(--ease), box-shadow .22s var(--ease);
}
.svc-card::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 3px; background: var(--grad);
  transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.svc-card:hover { transform: translateY(-4px); border-color: var(--line-strong); box-shadow: var(--shadow-md); }
.svc-card:hover::after { transform: scaleX(1); }
.svc-ic {
  width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center;
  background: var(--grad-soft); color: var(--brand); border: 1px solid var(--line);
}
.svc-ic svg { width: 23px; height: 23px; }
.svc-card h3 { font-size: 1.14rem; }
.svc-card p { font-size: .95rem; }
.svc-card .rail-link { margin-top: auto; padding-top: 12px; font-size: .92rem; }
.svc-card .price-tag { font-size: .84rem; color: var(--muted); font-family: var(--f-display); }
.svc-card .price-tag b { color: var(--ink); font-weight: 600; }
@media (max-width: 980px) { .svc-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .svc-grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   Who we are
   ========================================================================== */
.who { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(32px, 5vw, 60px); align-items: center; }
.who-media { position: relative; }
.who-panel {
  background: var(--grad); border-radius: var(--r-xl); padding: 34px; color: #fff;
  box-shadow: var(--shadow-lg); position: relative; overflow: hidden;
}
.who-panel::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,.22) 1px, transparent 0);
  background-size: 22px 22px; opacity: .5;
}
.who-panel > * { position: relative; }
.who-panel h3 { color: #fff; font-size: 1.35rem; margin-bottom: 10px; }
.who-panel p { color: rgba(255,255,255,.86); font-size: .97rem; }
.who-points { display: grid; gap: 14px; margin-top: 26px; }
.who-points li { display: flex; gap: 12px; align-items: flex-start; }
.who-points .num {
  flex: none; width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center;
  background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.28);
  font-family: var(--f-display); font-size: .82rem; font-weight: 600;
}
.who-points strong { display: block; font-family: var(--f-display); font-weight: 500; font-size: .97rem; }
.who-points small { color: rgba(255,255,255,.75); font-size: .86rem; line-height: 1.5; }
.who-list { display: grid; gap: 16px; margin-top: 28px; }
.who-list li { display: flex; gap: 13px; align-items: flex-start; }
.who-list .ck {
  flex: none; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center;
  background: var(--grad-soft); color: var(--brand); border: 1px solid var(--line);
}
.who-list .ck svg { width: 14px; height: 14px; }
.who-list strong { display: block; font-family: var(--f-display); color: var(--ink); font-weight: 600; font-size: 1rem; }
.who-list span { font-size: .94rem; }
@media (max-width: 900px) { .who { grid-template-columns: 1fr; } }

/* ==========================================================================
   Pricing
   ========================================================================== */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: start; }
.price-card {
  position: relative; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-xl); padding: 30px 26px; display: flex; flex-direction: column; height: 100%;
  transition: border-color .22s var(--ease), box-shadow .22s var(--ease);
}
.price-card:hover { border-color: var(--line-strong); box-shadow: var(--shadow-md); }
.price-card.is-featured {
  border-color: transparent; box-shadow: var(--shadow-lg);
  background:
    linear-gradient(var(--surface), var(--surface)) padding-box,
    var(--grad) border-box;
  border: 2px solid transparent;
}
.price-flag {
  position: absolute; top: -13px; left: 26px; padding: .35em .9em; border-radius: 999px;
  background: var(--accent); color: #2b1a04; font-family: var(--f-display); font-weight: 600;
  font-size: .74rem; letter-spacing: .05em; text-transform: uppercase;
}
.price-card h3 { font-size: 1.18rem; }
.price-note { font-size: .89rem; color: var(--muted); margin-top: 6px; min-height: 2.6em; }
.price-value { display: flex; align-items: baseline; gap: 8px; margin: 18px 0 4px; flex-wrap: wrap; }
.price-value b { font-family: var(--f-display); font-size: 2.05rem; color: var(--ink); letter-spacing: -.035em; }
.price-value span { font-size: .87rem; color: var(--muted); }
.price-feats { display: grid; gap: 11px; margin: 22px 0 26px; padding-top: 22px; border-top: 1px solid var(--line); }
.price-feats li { display: flex; gap: 10px; align-items: flex-start; font-size: .93rem; }
.price-feats svg { width: 15px; height: 15px; flex: none; margin-top: 4px; color: var(--brand-lit); }
.price-card .btn { margin-top: auto; }
@media (max-width: 900px) { .price-grid { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; } }

/* pricing overview table rows */
.price-rows { display: grid; gap: 14px; }
.price-row {
  display: grid; grid-template-columns: minmax(200px, 1.1fr) 2fr auto; gap: 22px; align-items: center;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 20px 24px;
  transition: border-color .2s;
}
.price-row:hover { border-color: var(--brand-lit); }
.price-row h3 { font-size: 1.05rem; display: flex; align-items: center; gap: 11px; }
.price-row h3 svg { width: 20px; height: 20px; color: var(--brand); flex: none; }
.price-row .tiers { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: .9rem; }
.price-row .tiers b { font-family: var(--f-display); color: var(--ink); }
@media (max-width: 840px) { .price-row { grid-template-columns: 1fr; gap: 12px; } }

/* ==========================================================================
   Testimonials — infinite marquee
   ========================================================================== */
.marquee { position: relative; overflow: hidden; padding: 6px 0; }
.marquee::before, .marquee::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: clamp(40px, 9vw, 150px); z-index: 2; pointer-events: none;
}
.marquee::before { left: 0; background: linear-gradient(90deg, var(--paper-2), transparent); }
.marquee::after { right: 0; background: linear-gradient(270deg, var(--paper-2), transparent); }
.marquee-track { display: flex; gap: 18px; width: max-content; will-change: transform; }
.marquee-a .marquee-track { animation: slide-left 64s linear infinite; }
.marquee-b .marquee-track { animation: slide-right 72s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes slide-left { from { transform: translateX(0) } to { transform: translateX(-50%) } }
@keyframes slide-right { from { transform: translateX(-50%) } to { transform: translateX(0) } }

.tm-card {
  width: min(410px, 78vw); flex: none; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 26px 26px 22px; display: flex; flex-direction: column;
  position: relative;
}
.tm-card .qm { position: absolute; top: 22px; right: 22px; width: 26px; height: 26px; color: var(--brand-lit); opacity: .28; }
.tm-stars { display: flex; gap: 3px; margin-bottom: 14px; color: var(--accent); }
.tm-stars svg { width: 15px; height: 15px; fill: currentColor; stroke: none; }
.tm-card p { font-size: .96rem; color: var(--body); }
.tm-who { display: flex; align-items: center; gap: 12px; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); }
.tm-av {
  width: 42px; height: 42px; border-radius: 12px; flex: none; display: grid; place-items: center;
  color: #fff; font-family: var(--f-display); font-weight: 600; font-size: .88rem; letter-spacing: .02em;
}
.tm-who strong { display: block; font-family: var(--f-display); font-size: .95rem; color: var(--ink); font-weight: 600; }
.tm-who small { color: var(--muted); font-size: .84rem; }

.tm-foot {
  margin-top: 34px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 24px 28px; display: flex; align-items: center; justify-content: space-between; gap: 22px; flex-wrap: wrap;
}
.tm-foot strong { display: block; font-family: var(--f-display); font-size: 1.06rem; color: var(--ink); font-weight: 600; }
.tm-foot span { font-size: .93rem; }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq-wrap { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(30px, 5vw, 60px); align-items: start; }
.faq-list { display: grid; gap: 10px; }
.faq-item { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; transition: border-color .2s; }
.faq-item.is-open { border-color: var(--brand-lit); }
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 19px 22px; background: none; border: 0; cursor: pointer; text-align: left;
  font-family: var(--f-display); font-weight: 500; font-size: 1.01rem; color: var(--ink);
}
.faq-q svg { width: 19px; height: 19px; flex: none; color: var(--brand); transition: transform .25s var(--ease); }
.faq-item.is-open .faq-q svg { transform: rotate(45deg); }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .3s var(--ease); }
.faq-item.is-open .faq-a { grid-template-rows: 1fr; }
.faq-a > div { overflow: hidden; }
.faq-a p { padding: 0 22px 20px; font-size: .96rem; max-width: 68ch; }
@media (max-width: 860px) { .faq-wrap { grid-template-columns: 1fr; } }

/* ==========================================================================
   CTA band
   ========================================================================== */
.cta-band { position: relative; border-radius: var(--r-xl); background: var(--grad); color: #fff; padding: clamp(42px, 6vw, 72px) clamp(26px, 5vw, 60px); overflow: hidden; text-align: center; }
.cta-band::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(255,255,255,.09) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,.09) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: radial-gradient(80% 90% at 50% 0%, #000, transparent 75%);
}
.cta-band > * { position: relative; }
.cta-pill {
  display: inline-flex; align-items: center; gap: 9px; padding: .45em 1.05em; border-radius: 999px;
  border: 1px solid rgba(255,255,255,.42); font-family: var(--f-display); font-size: .78rem;
  font-weight: 600; letter-spacing: .11em; text-transform: uppercase; margin-bottom: 22px;
}
.cta-pill .dot { width: 7px; height: 7px; border-radius: 50%; background: #6ee7a8; }
.cta-band h2 { color: #fff; max-width: 18ch; margin-inline: auto; }
.cta-band p { color: rgba(255,255,255,.86); max-width: 58ch; margin: 18px auto 0; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 32px; }

/* ==========================================================================
   Page hero (inner pages)
   ========================================================================== */
.page-hero { position: relative; padding: clamp(48px, 6vw, 78px) 0 clamp(34px, 4vw, 50px); overflow: hidden; background: var(--paper-2); border-bottom: 1px solid var(--line); }
.page-hero::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(circle at 1px 1px, color-mix(in srgb, var(--brand) 16%, transparent) 1px, transparent 0);
  background-size: 26px 26px;
  mask-image: radial-gradient(100% 80% at 80% 0%, #000, transparent 70%);
}
.page-hero > * { position: relative; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: .86rem; color: var(--muted); margin-bottom: 20px; }
.crumbs a:hover { color: var(--brand); }
.crumbs svg { width: 13px; height: 13px; opacity: .6; }
.page-hero h1 { max-width: 20ch; }
.page-hero .lead { margin-top: 18px; font-size: clamp(1.02rem, 1.5vw, 1.16rem); max-width: 62ch; }
.page-hero-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: end; }
@media (max-width: 860px) { .page-hero-grid { grid-template-columns: 1fr; } }

.hero-ic {
  width: 62px; height: 62px; border-radius: 18px; display: grid; place-items: center;
  background: var(--grad); color: #fff; margin-bottom: 22px; box-shadow: var(--shadow-md);
}
.hero-ic svg { width: 30px; height: 30px; }

/* ==========================================================================
   Prose / legal
   ========================================================================== */
.prose { max-width: 74ch; }
.prose h2 { font-size: 1.35rem; margin: 38px 0 12px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin: 26px 0 10px; }
.prose p { margin-bottom: 14px; }
.prose ul { list-style: disc; padding-left: 20px; margin-bottom: 16px; }
.prose li { margin-bottom: 7px; }
.prose a { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }
.legal-meta {
  display: inline-flex; align-items: center; gap: 9px; padding: .5em 1em; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--line); font-size: .85rem; color: var(--muted); margin-bottom: 30px;
}
.legal-meta svg { width: 15px; height: 15px; color: var(--brand); }

/* ==========================================================================
   Detail page pieces
   ========================================================================== */
.split { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(30px, 5vw, 62px); align-items: start; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }

.feature-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.feature {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px;
  transition: border-color .2s;
}
.feature:hover { border-color: var(--line-strong); }
.feature .ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--grad-soft); color: var(--brand); border: 1px solid var(--line); margin-bottom: 14px; }
.feature .ic svg { width: 19px; height: 19px; }
.feature h3 { font-size: 1.04rem; margin-bottom: 7px; }
.feature p { font-size: .93rem; }
@media (max-width: 620px) { .feature-grid { grid-template-columns: 1fr; } }

/* process — genuinely sequential, so numbered */
.steps { display: grid; gap: 0; counter-reset: step; }
.step { display: grid; grid-template-columns: 66px 1fr; gap: 22px; padding: 24px 0; border-top: 1px solid var(--line); }
.step:last-child { border-bottom: 1px solid var(--line); }
.step-n {
  font-family: var(--f-display); font-size: 1.5rem; font-weight: 600; color: var(--brand);
  letter-spacing: -.03em; position: relative;
}
.step-n::after {
  content: ""; position: absolute; left: 3px; top: 34px; bottom: -32px; width: 1px;
  background: linear-gradient(var(--line-strong), transparent);
}
.step:last-child .step-n::after { display: none; }
.step h3 { font-size: 1.08rem; margin-bottom: 6px; }
.step p { font-size: .95rem; max-width: 68ch; }
@media (max-width: 560px) { .step { grid-template-columns: 44px 1fr; gap: 14px; } }

.sticky-aside { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 16px; }
.aside-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px; }
.aside-card h3 { font-size: 1.08rem; margin-bottom: 12px; }
.aside-card p { font-size: .93rem; margin-bottom: 18px; }
.aside-list { display: grid; gap: 12px; margin-bottom: 20px; }
.aside-list li { display: flex; gap: 10px; font-size: .92rem; align-items: flex-start; }
.aside-list svg { width: 16px; height: 16px; color: var(--brand-lit); flex: none; margin-top: 4px; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex; align-items: center; gap: 7px; padding: .5em 1em; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--line); font-size: .88rem; color: var(--ink-2);
  font-family: var(--f-display); transition: .2s;
}
.chip:hover { border-color: var(--brand-lit); color: var(--brand); }
.chip svg { width: 15px; height: 15px; color: var(--brand); }

/* ==========================================================================
   Forms
   ========================================================================== */
.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); padding: clamp(26px, 4vw, 40px); }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 7px; }
.field.is-wide { grid-column: 1 / -1; }
.field label { font-family: var(--f-display); font-size: .89rem; font-weight: 500; color: var(--ink); }
.field input, .field select, .field textarea {
  width: 100%; padding: .82em 1em; border-radius: var(--r-md);
  background: var(--surface-2); border: 1px solid var(--line); color: var(--ink);
  transition: border-color .18s, box-shadow .18s, background-color .18s;
}
.field textarea { min-height: 152px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--brand-lit); background: var(--surface);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand-lit) 16%, transparent);
}
.field .err { font-size: .84rem; color: #d64545; }
.field.has-err input, .field.has-err select, .field.has-err textarea, .field.has-err .consent { border-color: #d64545; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: .9rem; padding: 14px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface-2); }
.consent input { width: 18px; height: 18px; flex: none; margin-top: 2px; accent-color: var(--brand); }
.consent a { color: var(--brand); text-decoration: underline; }
.form-note { font-size: .86rem; color: var(--muted); margin-top: 14px; }
@media (max-width: 640px) { .field-grid { grid-template-columns: 1fr; } }

.alert { display: flex; gap: 12px; padding: 16px 18px; border-radius: var(--r-md); margin-bottom: 24px; font-size: .95rem; align-items: flex-start; }
.alert svg { width: 19px; height: 19px; flex: none; margin-top: 2px; }
.alert-ok { background: color-mix(in srgb, #2fbf72 14%, var(--surface)); border: 1px solid color-mix(in srgb, #2fbf72 40%, transparent); color: var(--ink); }
.alert-bad { background: color-mix(in srgb, #d64545 12%, var(--surface)); border: 1px solid color-mix(in srgb, #d64545 38%, transparent); color: var(--ink); }

.contact-cards { display: grid; gap: 14px; }
.contact-card {
  display: flex; gap: 15px; align-items: flex-start; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px;
}
.contact-card .ic { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--grad-soft); color: var(--brand); border: 1px solid var(--line); flex: none; }
.contact-card .ic svg { width: 19px; height: 19px; }
.contact-card strong { display: block; font-family: var(--f-display); color: var(--ink); font-size: .95rem; }
.contact-card a:hover { color: var(--brand); }
.map-frame { border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; height: 320px; }
.map-frame iframe { width: 100%; height: 100%; border: 0; filter: saturate(.9); }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--surface); border-top: 1px solid var(--line); margin-top: 0; }
.footer-top {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.25fr; gap: 40px;
  padding-top: clamp(46px, 6vw, 68px); padding-bottom: 42px;
}
.footer-brand img { width: auto; margin-bottom: 18px; }
.footer-brand p { font-size: .94rem; max-width: 42ch; }
.socials { display: flex; gap: 9px; margin-top: 22px; }
.socials a {
  width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center;
  border: 1px solid var(--line); color: var(--ink-2); background: var(--surface-2); transition: .2s;
}
.socials a:hover { border-color: var(--brand-lit); color: #fff; background: var(--grad); }
.socials svg { width: 18px; height: 18px; }
.footer-col h3 { font-size: .93rem; letter-spacing: .06em; text-transform: uppercase; color: var(--ink); margin-bottom: 18px; }
.footer-col ul { display: grid; gap: 11px; }
.footer-col a { font-size: .93rem; transition: color .18s; }
.footer-col a:hover { color: var(--brand); }
.contact-list { display: grid; gap: 14px; }
.contact-list li { display: flex; gap: 11px; align-items: flex-start; font-size: .93rem; }
.contact-list svg { width: 17px; height: 17px; color: var(--brand-lit); flex: none; margin-top: 3px; }
.footer-bottom {
  display: flex; flex-wrap: wrap; gap: 12px 26px; justify-content: space-between; align-items: center;
  padding-top: 22px; padding-bottom: 26px; border-top: 1px solid var(--line); font-size: .87rem; color: var(--muted);
}
.footer-legal { display: flex; flex-wrap: wrap; gap: 20px; }
.footer-legal a:hover { color: var(--brand); }
@media (max-width: 940px) { .footer-top { grid-template-columns: 1fr 1fr; gap: 34px; } }
@media (max-width: 560px) { .footer-top { grid-template-columns: 1fr; } }

/* ==========================================================================
   To top + motion
   ========================================================================== */
.to-top {
  position: fixed; right: 22px; bottom: 22px; z-index: 90;
  width: 46px; height: 46px; border-radius: 14px; border: 1px solid var(--line);
  background: var(--surface); color: var(--brand); cursor: pointer; display: grid; place-items: center;
  box-shadow: var(--shadow-md); opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
}
.to-top.is-on { opacity: 1; visibility: visible; transform: none; }
.to-top svg { width: 20px; height: 20px; transform: rotate(180deg); }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

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

/* utilities */
.center { text-align: center; }
.mt-24 { margin-top: 24px; }
.mt-40 { margin-top: 40px; }
.muted { color: var(--muted); }
.nowrap { white-space: nowrap; }

/* theme-aware logo swap */
.logo-dark { display: none; }
[data-theme="dark"] .logo-light { display: none; }
[data-theme="dark"] .logo-dark { display: block; }
.hero h1 { max-width: 17ch; }

/* default size for any icon that has no container rule of its own */
svg.icon { width: 20px; height: 20px; flex: none; }
.icon-btn svg.icon, .btn svg.icon { width: 18px; height: 18px; }

/* ---------- cookie consent ---------- */
.consent-bar {
  position: fixed; left: 18px; bottom: 18px; right: 18px; z-index: 95;
  max-width: 560px;
}
.consent-bar[hidden] { display: none; }
.consent-inner {
  background: var(--surface); border: 1px solid var(--line-strong); border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg); padding: 22px 24px; display: grid; gap: 16px;
  animation: consent-in .35s var(--ease);
}
@keyframes consent-in { from { opacity: 0; transform: translateY(14px) } to { opacity: 1; transform: none } }
.consent-inner strong { font-family: var(--f-display); font-size: 1rem; color: var(--ink); display: block; margin-bottom: 6px; }
.consent-inner p { font-size: .9rem; }
.consent-inner a { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }
.consent-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.consent-actions .btn { flex: 1 1 auto; justify-content: center; }
.link-btn {
  background: none; border: 0; padding: 0; cursor: pointer; color: inherit; font: inherit;
}
.link-btn:hover { color: var(--brand); }
@media (max-width: 560px) { .consent-bar { left: 12px; right: 12px; bottom: 12px; } }
