/* =========================================================
   NextWay — Software House, South Africa
   Single-page site stylesheet
   ========================================================= */

/* ---------- Design tokens ---------- */
:root {
  --ink:        #FFFFFF;
  --ink-2:      #F4F8FE;
  --ink-3:      #E9F1FC;
  --line:       rgba(13, 47, 96, 0.14);
  --line-soft:  rgba(13, 47, 96, 0.08);

  --text:       #0B1F3C;
  --text-dim:   #4C6183;
  --text-faint: #78899F;

  --accent:     #0B4FD6;
  --accent-2:   #2B7BF3;
  --teal:       #0E8C7F;
  --grad:       linear-gradient(120deg, #0B4FD6 0%, #3E8BFF 100%);
  --grad-cool:  linear-gradient(120deg, #0EA5E9 0%, #0B4FD6 100%);

  --radius:     18px;
  --radius-sm:  12px;
  --radius-lg:  28px;

  --shell:      1180px;
  --gut:        clamp(20px, 5vw, 44px);

  --ease:       cubic-bezier(.22,.61,.36,1);

  --font-head:  'Sora', 'Inter', system-ui, -apple-system, sans-serif;
  --font-body:  'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--ink);
  color: var(--text);
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 600; line-height: 1.12; letter-spacing: -0.02em; margin: 0; }
p { margin: 0; }
::selection { background: var(--accent); color: #fff; }

/* ---------- Layout helpers ---------- */
.shell { width: 100%; max-width: var(--shell); margin-inline: auto; padding-inline: var(--gut); }
.section { padding: clamp(72px, 10vw, 130px) 0; position: relative; }
.section--tight { padding: clamp(56px, 7vw, 88px) 0; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 20px;
}
.eyebrow::before {
  content: ''; width: 26px; height: 1px; background: var(--accent); opacity: .6;
}

.h-section { font-size: clamp(30px, 4.6vw, 52px); }
.h-lead { color: var(--text-dim); font-size: clamp(15px, 1.7vw, 18px); max-width: 60ch; margin-top: 20px; }

.head-row {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 32px; flex-wrap: wrap; margin-bottom: 56px;
}
.head-row .h-lead { margin-top: 16px; }

.grad-text {
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 26px; border-radius: 100px;
  font-weight: 600; font-size: 15px; letter-spacing: -0.01em;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .3s var(--ease), border-color .3s var(--ease);
  white-space: nowrap;
}
.btn svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.btn:hover svg { transform: translateX(4px); }

.btn--primary {
  background: var(--grad); color: #FFFFFF;
  box-shadow: 0 10px 30px -12px rgba(11,79,214,.45);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -14px rgba(11,79,214,.55); }

.btn--ghost { border: 1px solid var(--line); color: var(--text); background: rgba(13,47,96,.03); }
.btn--ghost:hover { border-color: rgba(11,79,214,.34); background: rgba(11,79,214,.07); transform: translateY(-2px); }

.btn--sm { padding: 11px 20px; font-size: 14px; }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background .35s var(--ease), border-color .35s var(--ease), backdrop-filter .35s var(--ease);
  border-bottom: 1px solid transparent;
}
.header.is-stuck {
  background: rgba(255, 255, 255, .84);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  border-bottom-color: var(--line);
}
.header__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; height: 74px;
}

.brand { display: inline-flex; align-items: center; gap: 11px; font-family: var(--font-head); font-weight: 700; font-size: 20px; letter-spacing: -.03em; }
.brand__mark {
  width: 34px; height: 34px; border-radius: 10px; background: var(--grad);
  display: grid; place-items: center; color: #FFFFFF; font-size: 17px; font-weight: 800;
  box-shadow: 0 6px 18px -8px rgba(11,79,214,.55);
}
.brand__dot { color: var(--accent); }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  padding: 9px 15px; border-radius: 100px; font-size: 14.5px; font-weight: 500;
  color: var(--text-dim); transition: color .25s var(--ease), background .25s var(--ease);
}
.nav a:hover, .nav a.is-active { color: var(--text); background: rgba(11,79,214,.07); }

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

.burger {
  display: none; width: 42px; height: 42px; border-radius: 11px;
  border: 1px solid var(--line); place-items: center; background: rgba(13,47,96,.035);
}
.burger span { display: block; width: 17px; height: 1.6px; background: var(--text); border-radius: 2px; transition: transform .3s var(--ease), opacity .2s; }
.burger span + span { margin-top: 4.5px; }
.burger.is-open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Mobile drawer */
.drawer {
  position: fixed; inset: 74px 0 auto 0; z-index: 99;
  background: rgba(255,255,255,.97); backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--line);
  padding: 18px var(--gut) 30px;
  transform: translateY(-12px); opacity: 0; pointer-events: none;
  transition: opacity .3s var(--ease), transform .3s var(--ease);
  display: none;
}
.drawer.is-open { opacity: 1; transform: none; pointer-events: auto; }
.drawer a {
  display: block; padding: 14px 4px; font-size: 17px; font-weight: 500;
  border-bottom: 1px solid var(--line-soft); color: var(--text-dim);
}
.drawer a:hover { color: var(--text); }
.drawer .btn { width: 100%; margin-top: 22px; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 150px 0 clamp(70px, 9vw, 110px); overflow: hidden; }
.hero__bg {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
}
.hero__glow {
  position: absolute; border-radius: 50%; filter: blur(110px); opacity: .5;
}
.hero__glow--a { width: 620px; height: 620px; background: rgba(11,79,214,.18); top: -220px; right: -120px; }
.hero__glow--b { width: 520px; height: 520px; background: rgba(14,165,233,.14); bottom: -260px; left: -160px; }
.hero__grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(13,47,96,.07) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(13,47,96,.07) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 90% 60% at 50% 0%, #000 40%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 90% 60% at 50% 0%, #000 40%, transparent 100%);
}

.hero__inner { position: relative; z-index: 1; }

.pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 8px 7px 14px; border-radius: 100px;
  border: 1px solid var(--line); background: rgba(11,79,214,.05);
  font-size: 13px; color: var(--text-dim); margin-bottom: 30px;
}
.pill b { color: var(--text); font-weight: 600; }
.pill__tag {
  background: var(--grad); color: #FFFFFF; font-weight: 700; font-size: 11px;
  padding: 4px 10px; border-radius: 100px; letter-spacing: .04em;
}

.hero h1 {
  font-size: clamp(40px, 7.2vw, 82px);
  letter-spacing: -0.035em; line-height: 1.02; max-width: 15ch;
}
.hero h1 em { font-style: normal; }
.hero__sub {
  margin-top: 28px; font-size: clamp(16px, 2vw, 19px);
  color: var(--text-dim); max-width: 56ch; line-height: 1.7;
}
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 38px; }

.hero__meta {
  display: flex; gap: 34px; flex-wrap: wrap; margin-top: 52px;
  padding-top: 34px; border-top: 1px solid var(--line);
}
.hero__meta div strong { display: block; font-family: var(--font-head); font-size: 27px; letter-spacing: -.03em; }
.hero__meta div span { font-size: 13px; color: var(--text-faint); }

/* ---------- Marquee / trust ---------- */
.marquee { border-block: 1px solid var(--line); padding: 26px 0; overflow: hidden; background: var(--ink-2); }
.marquee__track { display: flex; gap: 64px; width: max-content; animation: slide 34s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item {
  font-family: var(--font-head); font-size: 17px; font-weight: 600; letter-spacing: -.02em;
  color: var(--text-faint); white-space: nowrap; display: flex; align-items: center; gap: 12px;
}
.marquee__item::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); opacity: .5; }
@keyframes slide { to { transform: translateX(-50%); } }

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: 20px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.card {
  position: relative; padding: 32px; border-radius: var(--radius);
  border: 1px solid var(--line); background: var(--ink-2);
  transition: transform .4s var(--ease), border-color .4s var(--ease), background .4s var(--ease);
  overflow: hidden;
}
.card::after {
  content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(11,79,214,.08), transparent 62%);
  opacity: 0; transition: opacity .4s var(--ease);
}
.card:hover { transform: translateY(-5px); border-color: rgba(11,79,214,.30); background: var(--ink-3); }
.card:hover::after { opacity: 1; }

.card__icon {
  width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center;
  background: rgba(11,79,214,.09); border: 1px solid rgba(11,79,214,.24);
  color: var(--accent); margin-bottom: 22px;
}
.card__icon svg { width: 23px; height: 23px; }
.card h3 { font-size: 20px; margin-bottom: 11px; }
.card p { color: var(--text-dim); font-size: 14.8px; }
.card__tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 20px; }
.card__tags span {
  font-size: 11.5px; padding: 4px 11px; border-radius: 100px;
  border: 1px solid var(--line); color: var(--text-faint); background: rgba(13,47,96,.03);
}

/* ---------- Why / feature list ---------- */
.why { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.why__list { display: grid; gap: 14px; }
.why__item {
  display: flex; gap: 16px; padding: 20px 22px; border-radius: var(--radius-sm);
  border: 1px solid var(--line); background: var(--ink-2);
  transition: border-color .35s var(--ease), transform .35s var(--ease);
}
.why__item:hover { border-color: rgba(11,79,214,.30); transform: translateX(5px); }
.why__num {
  flex: none; width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center;
  background: var(--grad); color: #FFFFFF; font-weight: 700; font-size: 13px; font-family: var(--font-head);
}
.why__item h4 { font-size: 16.5px; margin-bottom: 5px; }
.why__item p { font-size: 14.2px; color: var(--text-dim); }

/* ---------- Stats ---------- */
.stats { border-block: 1px solid var(--line); background: var(--ink-2); }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stats__item { padding: 46px 26px; text-align: center; border-right: 1px solid var(--line); }
.stats__item:last-child { border-right: 0; }
.stats__num {
  font-family: var(--font-head); font-size: clamp(34px, 4.6vw, 52px); font-weight: 700;
  letter-spacing: -.04em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stats__label { font-size: 13.5px; color: var(--text-faint); margin-top: 6px; }

/* ---------- Process ---------- */
.process { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; position: relative; }
.process::before {
  content: ''; position: absolute; top: 21px; left: 8%; right: 8%; height: 1px;
  background: linear-gradient(90deg, transparent, var(--line) 12%, var(--line) 88%, transparent);
}
.step { position: relative; padding: 0 14px; }
.step__dot {
  width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center;
  background: var(--ink-3); border: 1px solid var(--line); color: var(--text-dim);
  font-family: var(--font-head); font-weight: 700; font-size: 14px;
  position: relative; z-index: 1; margin-bottom: 22px;
  transition: all .35s var(--ease);
}
.step:hover .step__dot { background: var(--grad); color: #FFFFFF; border-color: transparent; transform: scale(1.08); }
.step h4 { font-size: 17px; margin-bottom: 8px; }
.step p { font-size: 14px; color: var(--text-dim); }

/* ---------- Work ---------- */
.work { display: grid; gap: 20px; grid-template-columns: repeat(6, 1fr); }
.work__item {
  position: relative; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); background: var(--ink-2);
  padding: 34px; min-height: 300px; display: flex; flex-direction: column; justify-content: flex-end;
  transition: transform .45s var(--ease), border-color .45s var(--ease);
  isolation: isolate;
}
.work__item:nth-child(1), .work__item:nth-child(2) { grid-column: span 3; }
.work__item:nth-child(3), .work__item:nth-child(4), .work__item:nth-child(5) { grid-column: span 2; }
.work__item:hover { transform: translateY(-6px); border-color: rgba(11,79,214,.30); }
.work__item::before {
  content: ''; position: absolute; inset: 0; z-index: -1; opacity: .85;
  transition: opacity .45s var(--ease), transform .6s var(--ease);
}
.work__item:hover::before { opacity: 1; transform: scale(1.06); }
.w1::before { background: radial-gradient(circle at 78% 18%, rgba(11,79,214,.20), transparent 58%), linear-gradient(160deg, #E3EDFD, #F7FAFF); }
.w2::before { background: radial-gradient(circle at 22% 22%, rgba(14,165,233,.22), transparent 58%), linear-gradient(160deg, #E1F2FD, #F7FAFF); }
.w3::before { background: radial-gradient(circle at 50% 12%, rgba(62,139,255,.24), transparent 60%), linear-gradient(160deg, #E8EEFE, #F7FAFF); }
.w4::before { background: radial-gradient(circle at 30% 80%, rgba(11,79,214,.16), transparent 60%), linear-gradient(160deg, #E5EDFC, #F7FAFF); }
.w5::before { background: radial-gradient(circle at 70% 70%, rgba(14,165,233,.18), transparent 60%), linear-gradient(160deg, #EAF1FF, #F7FAFF); }

.work__tag {
  align-self: flex-start; font-size: 11.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  padding: 5px 12px; border-radius: 100px; background: rgba(255,255,255,.75);
  border: 1px solid var(--line); color: var(--text); margin-bottom: auto;
  backdrop-filter: blur(8px);
}
.work__item h3 { font-size: 22px; margin-bottom: 9px; }
.work__item p { font-size: 14.5px; color: var(--text-dim); max-width: 42ch; }
.work__stat { margin-top: 18px; font-size: 13px; color: var(--accent-2); font-weight: 600; }

/* ---------- Tech ---------- */
.tech { display: flex; flex-wrap: wrap; gap: 11px; }
.tech span {
  padding: 10px 18px; border-radius: 100px; border: 1px solid var(--line);
  background: var(--ink-2); font-size: 14px; color: var(--text-dim); font-weight: 500;
  transition: all .3s var(--ease);
}
.tech span:hover { color: var(--text); border-color: var(--accent); background: rgba(11,79,214,.07); transform: translateY(-2px); }

/* ---------- Testimonials ---------- */
.quote {
  padding: 34px; border-radius: var(--radius); border: 1px solid var(--line);
  background: var(--ink-2); display: flex; flex-direction: column; gap: 22px;
  transition: transform .4s var(--ease), border-color .4s var(--ease);
}
.quote:hover { transform: translateY(-5px); border-color: rgba(11,79,214,.28); }
.quote__stars { color: var(--accent-2); letter-spacing: 3px; font-size: 14px; }
.quote p { font-size: 15.5px; color: var(--text); line-height: 1.72; flex: 1; }
.quote__by { display: flex; align-items: center; gap: 13px; padding-top: 20px; border-top: 1px solid var(--line); }
.quote__av {
  width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center;
  background: var(--grad-cool); color: #FFFFFF; font-weight: 700; font-family: var(--font-head); font-size: 15px;
}
.quote__by strong { display: block; font-size: 14.5px; }
.quote__by span { font-size: 12.8px; color: var(--text-faint); }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; max-width: 860px; margin-inline: auto; }
.faq__item { border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--ink-2); overflow: hidden; transition: border-color .3s var(--ease); }
.faq__item.is-open { border-color: rgba(11,79,214,.45); }
.faq__q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 22px 26px; text-align: left; font-family: var(--font-head); font-weight: 600; font-size: 16.5px;
}
.faq__q i {
  flex: none; width: 24px; height: 24px; border-radius: 50%; border: 1px solid var(--line);
  display: grid; place-items: center; font-style: normal; font-size: 15px; color: var(--accent);
  transition: transform .3s var(--ease), background .3s var(--ease);
}
.faq__item.is-open .faq__q i { transform: rotate(45deg); background: rgba(11,79,214,.16); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height .38s var(--ease); }
.faq__a p { padding: 0 26px 24px; color: var(--text-dim); font-size: 15px; }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(36px, 5vw, 64px); }
.contact__info { display: flex; flex-direction: column; gap: 14px; }
.info__row {
  display: flex; gap: 15px; padding: 20px; border-radius: var(--radius-sm);
  border: 1px solid var(--line); background: var(--ink-2);
}
.info__row svg { width: 20px; height: 20px; color: var(--accent); flex: none; margin-top: 3px; }
.info__row strong { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .12em; color: var(--text-faint); margin-bottom: 4px; font-weight: 600; }
.info__row a, .info__row p { font-size: 15.5px; color: var(--text); }
.info__row a:hover { color: var(--accent); }

/* ---------- Map ---------- */
.map {
  position: relative; overflow: hidden;
  border-radius: var(--radius-sm); border: 1px solid var(--line);
  background: var(--ink-2); min-height: 230px; flex: 1;
  transition: border-color .35s var(--ease);
}
.map:hover { border-color: rgba(11,79,214,.30); }
.map iframe {
  width: 100%; height: 100%; min-height: 230px; border: 0; display: block;
  filter: invert(92%) hue-rotate(180deg) contrast(.88) saturate(.65) brightness(.95);
  transition: filter .45s var(--ease);
}
.map:hover iframe { filter: none; }
.map__link {
  position: absolute; left: 14px; bottom: 14px; z-index: 2;
  display: inline-flex; align-items: center; gap: 6px; flex-direction: row-reverse;
  padding: 9px 15px; border-radius: 100px;
  background: rgba(255,255,255,.86); border: 1px solid var(--line);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  font-size: 13px; font-weight: 600; color: var(--text);
  transition: background .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease);
}
.map__link svg { width: 14px; height: 14px; color: var(--accent); transition: transform .3s var(--ease); }
.map__link:hover { border-color: var(--accent); background: rgba(255,255,255,.96); transform: translateY(-2px); }
.map__link:hover svg { transform: translateX(3px); }

.form {
  padding: clamp(26px, 3.5vw, 38px); border-radius: var(--radius);
  border: 1px solid var(--line); background: var(--ink-2);
  display: grid; gap: 16px;
}
.field { display: grid; gap: 7px; }
.field label { font-size: 13px; font-weight: 600; color: var(--text-dim); }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 15px; border-radius: 11px;
  background: var(--ink); border: 1px solid var(--line); color: var(--text);
  font-family: inherit; font-size: 15px; transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.field textarea { resize: vertical; min-height: 110px; }
.field input::placeholder, .field textarea::placeholder { color: var(--text-faint); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(11,79,214,.16);
}
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2397A3B8' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 17px; padding-right: 40px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form .btn { width: 100%; margin-top: 6px; }
.form__note { font-size: 12.8px; color: var(--text-faint); text-align: center; }
.form__ok, .form__err {
  display: none; padding: 14px 16px; border-radius: 11px; font-size: 14.5px; line-height: 1.55;
}
.form__ok {
  background: rgba(14,140,127,.10); border: 1px solid rgba(14,140,127,.32); color: var(--teal);
}
.form__err {
  background: rgba(198,40,40,.07); border: 1px solid rgba(198,40,40,.30); color: #C62828;
}
.form__err a { color: var(--accent); text-decoration: underline; }
.form__ok.is-shown, .form__err.is-shown { display: block; }
.form .btn[disabled] { opacity: .65; cursor: not-allowed; transform: none; }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative; overflow: hidden; border-radius: var(--radius-lg);
  border: 1px solid var(--line); background: var(--ink-2);
  padding: clamp(40px, 6vw, 72px); text-align: center;
}
.cta-band::before {
  content: ''; position: absolute; width: 700px; height: 700px; border-radius: 50%;
  background: radial-gradient(circle, rgba(11,79,214,.16), transparent 65%);
  top: -420px; left: 50%; transform: translateX(-50%); filter: blur(50px);
}
.cta-band > * { position: relative; }
.cta-band h2 { font-size: clamp(28px, 4.2vw, 46px); }
.cta-band p { color: var(--text-dim); margin: 18px auto 32px; max-width: 52ch; }
.cta-band .hero__actions { justify-content: center; margin-top: 0; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); background: var(--ink-2); padding-top: 66px; }
.footer__top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 50px; }
.footer__about p { color: var(--text-dim); font-size: 14.5px; margin: 18px 0 22px; max-width: 34ch; }
.footer h5 { font-family: var(--font-head); font-size: 13px; text-transform: uppercase; letter-spacing: .13em; color: var(--text-faint); margin: 0 0 18px; font-weight: 600; }
.footer__links { display: grid; gap: 11px; }
.footer__links a { font-size: 14.5px; color: var(--text-dim); transition: color .25s var(--ease), padding .25s var(--ease); }
.footer__links a:hover { color: var(--accent); padding-left: 4px; }
.socials { display: flex; gap: 10px; }
.socials a {
  width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center;
  border: 1px solid var(--line); color: var(--text-dim); background: rgba(13,47,96,.03);
  transition: all .3s var(--ease);
}
.socials a:hover { color: var(--text); border-color: var(--accent); background: rgba(11,79,214,.08); transform: translateY(-2px); }
.socials svg { width: 17px; height: 17px; }
.footer__bar {
  border-top: 1px solid var(--line); padding: 24px 0; display: flex;
  justify-content: space-between; align-items: center; gap: 18px; flex-wrap: wrap;
  font-size: 13.5px; color: var(--text-faint);
}
.footer__bar a:hover { color: var(--text); }
.footer__bar nav { display: flex; gap: 20px; }

/* ---------- Scroll reveal ---------- */
[data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
[data-reveal].is-in { opacity: 1; transform: none; }

/* Back to top */
.totop {
  position: fixed; right: 22px; bottom: 22px; z-index: 90;
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  background: var(--grad); color: #FFFFFF;
  box-shadow: 0 10px 26px -10px rgba(11,79,214,.50);
  opacity: 0; pointer-events: none; transform: translateY(12px);
  transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.totop.is-shown { opacity: 1; pointer-events: auto; transform: none; }
.totop svg { width: 18px; height: 18px; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .process { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .process::before { display: none; }
  .work__item { grid-column: span 3 !important; }
  .footer__top { grid-template-columns: 1fr 1fr; gap: 36px; }
  .footer__about { grid-column: span 2; }
}
@media (max-width: 900px) {
  .nav, .header__cta .btn { display: none; }
  .burger { display: grid; }
  .drawer { display: block; }
  .why { grid-template-columns: 1fr; }
  .contact { grid-template-columns: 1fr; }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .stats__item:nth-child(2) { border-right: 0; }
  .stats__item:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}
@media (max-width: 640px) {
  html { scroll-padding-top: 80px; }
  .hero { padding-top: 128px; }
  .grid--3, .grid--2, .grid--4 { grid-template-columns: 1fr; }
  .work__item { grid-column: span 6 !important; min-height: 250px; padding: 26px; }
  .process { grid-template-columns: 1fr; gap: 26px; }
  .form__row { grid-template-columns: 1fr; }
  .hero__meta { gap: 24px; }
  .hero__meta div { flex: 1 1 40%; }
  .footer__top { grid-template-columns: 1fr; }
  .footer__about { grid-column: span 1; }
  .footer__bar { flex-direction: column; text-align: center; }
  .card { padding: 26px; }
}

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