/* ==========================================================
   OverPro — main stylesheet
   Brand: blue (primary) + orange (accent). Light + dark themes.
   ========================================================== */

:root {
  /* Brand */
  --blue: #1e4fe0;
  --blue-400: #4d7bff;
  --blue-700: #1238b0;
  --orange: #ff7a1a;
  --orange-600: #e8620a;

  /* Theme tokens (light) */
  --bg: #ffffff;
  --surface: #eef2fd;
  --surface-2: #e1e8fb;
  --ink: #141a33;
  --muted: #5b6482;
  --line: #d9e1f4;
  --chip-bg: #dbe5ff;
  --chip-ink: #1e4fe0;
  --dark: #0f1a3d;       /* dark panels (hero, case visuals, form) */
  --dark-2: #1b2a63;
  --on-dark: #ffffff;
  --on-dark-muted: rgba(255, 255, 255, .72);
  --shadow: 0 20px 50px -24px rgba(15, 26, 61, .35);

  /* Type */
  --font-head: "Raleway", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Layout */
  --container: 1440px;
  --gutter: clamp(16px, 2vw, 24px);
  --radius: 28px;
  --radius-sm: 18px;
  --header-h: 80px;

  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #070c1f;
    --surface: #0f1834;
    --surface-2: #16224a;
    --ink: #eef2ff;
    --muted: #9ea8c9;
    --line: #1f2c58;
    --chip-bg: #18275a;
    --chip-ink: #9db6ff;
    --dark: #121d45;
    --dark-2: #1f3080;
    --shadow: 0 20px 50px -24px rgba(0, 0, 0, .7);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #070c1f;
  --surface: #0f1834;
  --surface-2: #16224a;
  --ink: #eef2ff;
  --muted: #9ea8c9;
  --line: #1f2c58;
  --chip-bg: #18275a;
  --chip-ink: #9db6ff;
  --dark: #121d45;
  --dark-2: #1f3080;
  --shadow: 0 20px 50px -24px rgba(0, 0, 0, .7);
  color-scheme: dark;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); }
body {
  margin: 0; font-family: var(--font-body); font-size: 16px; line-height: 1.6;
  color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; overflow-x: hidden;
  transition: background .3s, color .3s;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.1; margin: 0 0 .5em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.accent { color: var(--orange); }
.nowrap { white-space: nowrap; }
.link { color: var(--blue); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.skip-link { position: absolute; left: 16px; top: -48px; z-index: 100; background: var(--orange); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 32px; border-radius: 999px; border: 0; cursor: pointer;
  font-family: var(--font-head); font-weight: 800; font-size: 15px; text-transform: uppercase; letter-spacing: .02em;
  transition: transform .2s, background .2s, color .2s, box-shadow .2s; white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--orange); color: #fff; box-shadow: 0 10px 24px -10px rgba(255, 122, 26, .8); }
.btn-primary:hover { background: var(--orange-600); }
.btn-blue { background: var(--blue); color: #fff; }
.btn-blue:hover { background: var(--blue-700); }
.btn-dark { background: var(--dark); color: #fff; }
.btn-soft { background: var(--chip-bg); color: var(--chip-ink); }
.btn-soft:hover { background: var(--blue); color: #fff; }
.btn-block { width: 100%; }

.circle-btn {
  display: inline-grid; place-items: center; flex: none; width: 48px; height: 48px; border-radius: 50%;
  background: var(--dark); color: #fff; border: 0; font-size: 20px; line-height: 1; cursor: pointer;
  transition: transform .2s, background .2s, opacity .2s;
}
.circle-btn:hover { transform: scale(1.06); }
.circle-btn.ghost { background: #b8bfd3; }
.circle-btn.light { background: #fff; color: var(--dark); }
.circle-btn:disabled { opacity: .35; cursor: default; transform: none; }

/* ---------- Section headings ---------- */
.section { padding: 64px 0; }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 40px; }
.sec-title {
  font-weight: 900; text-transform: uppercase; font-size: clamp(28px, 3.6vw, 44px); letter-spacing: -.01em;
  margin: 0; padding-bottom: 22px; position: relative; width: fit-content; max-width: 100%;
}
/* The underline spans exactly the heading's text. */
.sec-title::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: linear-gradient(90deg, var(--blue), var(--orange));
}
.sec-sub { color: var(--muted); font-size: 17px; margin: 18px 0 0; max-width: 820px; }

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .3s, background .3s;
}
.site-header.scrolled { border-bottom-color: var(--line); }
.nav { height: 100%; display: flex; align-items: center; gap: 32px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-head); font-weight: 900; font-size: 24px; letter-spacing: .02em; }
.nav-links { display: flex; align-items: center; gap: 36px; margin-left: auto; }
.nav-links a:not(.btn) {
  font-family: var(--font-head); font-weight: 700; font-size: 16px; text-transform: uppercase; position: relative;
}
.nav-links a:not(.btn)::after {
  content: ""; position: absolute; left: 0; bottom: -6px; height: 2px; width: 0; background: var(--orange); transition: width .25s;
}
.nav-links a:not(.btn):hover::after, .nav-links a.active::after { width: 100%; }
.nav-cta { padding: 14px 36px; }
.nav-tools { display: flex; align-items: center; gap: 10px; }
.theme-toggle {
  width: 48px; height: 48px; border-radius: 50%; border: 0; cursor: pointer; display: grid; place-items: center;
  background: var(--dark); color: #fff; transition: transform .2s;
}
.theme-toggle:hover { transform: rotate(-15deg); }
.theme-toggle svg { width: 20px; height: 20px; }
.theme-toggle .i-sun { display: none; }
:root[data-theme="dark"] .theme-toggle .i-sun { display: block; }
:root[data-theme="dark"] .theme-toggle .i-moon { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-toggle .i-sun { display: block; }
  :root:not([data-theme="light"]) .theme-toggle .i-moon { display: none; }
}
:root[data-theme="dark"] .theme-toggle, :root[data-theme="dark"] .btn-dark { background: var(--surface-2); }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-toggle, :root:not([data-theme="light"]) .btn-dark { background: var(--surface-2); }
}
.nav-toggle { display: none; width: 48px; height: 48px; border: 0; background: var(--surface); border-radius: 50%; cursor: pointer; }
.nav-toggle span { display: block; width: 20px; height: 2px; background: var(--ink); margin: 4px auto; border-radius: 2px; transition: transform .3s, opacity .3s; }

/* ---------- Hero ---------- */
.hero { padding: 32px 0 24px; }
.hero-intro { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: end; margin-bottom: 28px; }
.hero-intro h1 { font-weight: 900; text-transform: uppercase; font-size: clamp(34px, 4.6vw, 64px); letter-spacing: -.015em; margin: 0; }
.hero-intro p { color: var(--muted); font-size: 18px; margin: 0; max-width: 480px; }

.panels { display: flex; gap: 8px; height: clamp(520px, 62vh, 640px); }
.panel {
  --glow: var(--orange);
  position: relative; overflow: hidden; border-radius: var(--radius); color: var(--on-dark);
  flex: 0 0 120px; min-width: 0; cursor: pointer;
  background:
    radial-gradient(420px 320px at 85% 85%, color-mix(in srgb, var(--glow) 45%, transparent), transparent 70%),
    radial-gradient(500px 400px at 0% 0%, rgba(77, 123, 255, .35), transparent 70%),
    linear-gradient(160deg, var(--dark-2), var(--dark) 60%);
  transition: flex-basis .7s cubic-bezier(.6, .1, .2, 1), flex-grow .7s cubic-bezier(.6, .1, .2, 1);
}
.panel::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(180deg, #000, transparent 85%); -webkit-mask-image: linear-gradient(180deg, #000, transparent 85%);
}
.panel.is-active { flex: 1 1 auto; cursor: default; }
.panel-tab {
  position: absolute; inset: 0; z-index: 2; background: none; border: 0; cursor: pointer; padding: 64px 0 40px;
  display: flex; flex-direction: column-reverse; align-items: center; justify-content: space-between;
}
.panel.is-active .panel-tab { display: none; }
.panel-label {
  writing-mode: vertical-rl; transform: rotate(180deg); font-family: var(--font-head); font-weight: 900;
  font-size: 26px; text-transform: uppercase; line-height: 1; white-space: nowrap;
}
.panel-tab .circle-btn { background: #fff; color: var(--dark); }
.panel-body {
  position: relative; z-index: 1; padding: 88px 64px 56px; max-width: 620px; height: 100%;
  display: flex; flex-direction: column; justify-content: center;
  opacity: 0; visibility: hidden; transition: opacity .4s;
}
.panel.is-active .panel-body { opacity: 1; visibility: visible; transition-delay: .35s; }
.panel-progress { position: absolute; top: 88px; left: 64px; width: 520px; max-width: calc(100% - 64px); height: 2px; background: rgba(255,255,255,.25); }
.panel-progress i { display: block; height: 100%; width: 0; background: #fff; }
.panel.is-active.playing .panel-progress i { animation: progress var(--panel-time, 7s) linear forwards; }
@keyframes progress { to { width: 100%; } }
.panel-body h2 { font-weight: 900; text-transform: uppercase; font-size: clamp(40px, 4.4vw, 64px); letter-spacing: -.02em; margin: 40px 0 24px; white-space: nowrap; }
.panel-body p { color: var(--on-dark-muted); font-size: 18px; max-width: 500px; margin-bottom: 36px; }
.panel-body .btn { align-self: flex-start; }

/* Panel art */
.panel-art { position: absolute; right: 48px; top: 50%; transform: translateY(-50%); width: 340px; opacity: 0; transition: opacity .5s; pointer-events: none; }
.panel.is-active .panel-art { opacity: 1; transition-delay: .5s; }
.art-code .win { overflow: hidden; background: rgba(7, 12, 31, .7); border: 1px solid rgba(255,255,255,.12); border-radius: 18px; padding: 0 0 18px; font: 13px/1.9 ui-monospace, "Cascadia Code", Consolas, monospace; box-shadow: 0 30px 60px rgba(0,0,0,.4); }
.art-code .win-bar { display: flex; gap: 6px; padding: 14px 16px; border-bottom: 1px solid rgba(255,255,255,.08); margin-bottom: 12px; }
.art-code .win-bar i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.25); }
.art-code .win-bar i:first-child { background: var(--orange); }
.art-code p { margin: 0; padding: 0 20px; color: rgba(255,255,255,.75); white-space: nowrap; }
.art-code b { font-weight: 400; }
.c1 { color: #ff9a4d; } .c2 { color: #8fb0ff; } .c3 { color: #7dd3fc; } .c4 { color: #fcd34d; }

.art-design { height: 340px; }
.art-design .frame { position: absolute; background: #fff; border-radius: 16px; padding: 14px; box-shadow: 0 30px 60px rgba(0,0,0,.4); }
.art-design .f1 { left: 0; top: 0; width: 250px; height: 300px; }
.art-design .f2 { right: 0; bottom: 0; width: 170px; height: 230px; transform: rotate(4deg); }
.art-design .frame i { display: block; height: 45%; border-radius: 10px; background: linear-gradient(120deg, var(--blue), var(--blue-400) 60%, var(--orange)); margin-bottom: 12px; }
.art-design .frame b { display: block; height: 10px; border-radius: 5px; background: #dfe5f0; margin-bottom: 8px; width: 80%; }
.art-design .frame b + b { width: 55%; }
.art-design .frame em { display: block; height: 28px; width: 50%; border-radius: 999px; background: var(--orange); margin-top: 14px; }
.art-design .f2 i { background: linear-gradient(120deg, var(--orange), #ffc08a); }
.art-design .swatches { position: absolute; left: 30px; bottom: -6px; display: flex; gap: 8px; padding: 10px; background: rgba(7,12,31,.8); border-radius: 999px; }
.art-design .swatches i { width: 22px; height: 22px; border-radius: 50%; background: var(--blue); }
.art-design .swatches i:nth-child(2) { background: var(--orange); }
.art-design .swatches i:nth-child(3) { background: #fff; }
.art-design .swatches i:nth-child(4) { background: var(--dark); border: 2px solid rgba(255,255,255,.3); }

.art-flow { display: flex; flex-direction: column; align-items: center; }
.art-flow .node { background: #fff; color: var(--dark); font-weight: 600; font-size: 14px; padding: 14px 22px; border-radius: 14px; box-shadow: 0 20px 40px rgba(0,0,0,.35); }
.art-flow .node.soft { background: rgba(255,255,255,.12); color: #fff; border: 1px dashed rgba(255,255,255,.35); box-shadow: none; }
.art-flow .node.hot { background: var(--orange); color: #fff; }
.art-flow .line { width: 2px; height: 28px; background: rgba(255,255,255,.4); }

.art-chart { display: flex; align-items: flex-end; gap: 28px; height: 280px; }
.art-chart .ring {
  width: 130px; height: 130px; border-radius: 50%; flex: none; align-self: flex-start; display: grid; place-items: center;
  background: conic-gradient(#22c55e 0 98%, rgba(255,255,255,.15) 0); position: relative;
}
.art-chart .ring::before { content: ""; position: absolute; inset: 10px; border-radius: 50%; background: var(--dark); }
.art-chart .ring span { position: relative; font-family: var(--font-head); font-weight: 900; font-size: 40px; }
.art-chart .bars { flex: 1; height: 100%; display: flex; align-items: flex-end; gap: 10px; border-bottom: 1px solid rgba(255,255,255,.25); }
.art-chart .bars i { flex: 1; border-radius: 8px 8px 0 0; background: linear-gradient(180deg, var(--blue-400), rgba(77,123,255,.2)); }
.art-chart .bars i:last-child { background: linear-gradient(180deg, var(--orange), rgba(255,122,26,.2)); }

/* ---------- Logo grid ---------- */
.logo-grid { --cols: 7; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.logo-grid li {
  flex: 0 0 calc((100% - (var(--cols) - 1) * 8px) / var(--cols));
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; text-align: center;
  min-height: 150px; padding: 20px 12px; border-radius: var(--radius-sm); background: var(--surface); color: var(--ink);
  font-family: var(--font-head); font-weight: 800; font-size: 17px; line-height: 1.2; transition: background .25s, transform .25s;
}
.logo-grid li:hover { background: var(--surface-2); transform: translateY(-3px); }
.brand-ico {
  display: grid; place-items: center; width: 64px; height: 64px; border-radius: 18px; overflow: hidden;
  background: #fff; box-shadow: 0 6px 16px -8px rgba(15, 26, 61, .35); transition: transform .25s;
}
.brand-ico img { width: 40px; height: 40px; object-fit: contain; }
.brand-ico.fill img { width: 100%; height: 100%; object-fit: cover; }
.brand-ico.sm img { width: 30px; height: 30px; }
.logo-grid li:hover .brand-ico { transform: scale(1.06); }

/* ---------- Case studies ---------- */
.cases { display: grid; gap: 8px; }
.case { display: grid; grid-template-columns: 1fr 1fr; background: var(--surface); border-radius: var(--radius); overflow: hidden; }
.case-visual {
  position: relative; min-height: 520px; border-radius: var(--radius); overflow: hidden; padding: 32px;
  background: radial-gradient(500px 300px at 50% 110%, rgba(77, 123, 255, .6), transparent 70%), linear-gradient(180deg, var(--dark), var(--dark-2));
  display: flex; justify-content: space-between; align-items: flex-start;
}
.case:nth-child(2) .case-visual { background: radial-gradient(500px 300px at 50% 110%, rgba(255, 122, 26, .5), transparent 70%), linear-gradient(180deg, var(--dark), var(--dark-2)); }
.case-brand { color: #fff; font-family: var(--font-head); font-weight: 800; font-size: 24px; }
.pill-light { background: #fff; color: var(--dark); font-family: var(--font-head); font-weight: 700; font-size: 15px; text-transform: uppercase; padding: 6px 14px; border-radius: 999px; white-space: nowrap; }
.case-visual .laptop { position: absolute; left: 12%; right: 12%; bottom: -40px; }
.case-info { padding: 48px 40px 40px; display: flex; flex-direction: column; }
.case-info h3 { font-weight: 900; text-transform: uppercase; font-size: clamp(22px, 2.3vw, 32px); letter-spacing: -.01em; margin-bottom: 24px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.tags li { background: var(--surface-2); padding: 4px 12px; border-radius: 999px; font-size: 15px; }
.case-info > p { color: var(--muted); font-size: 16px; }
.case-foot { margin-top: auto; padding-top: 24px; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.case-foot.actions { justify-content: flex-start; gap: 12px; }
.metrics { display: flex; gap: 24px; }
.metrics > div { display: flex; align-items: flex-start; gap: 8px; }
.metrics > div + div { border-left: 1px solid var(--line); padding-left: 24px; }
.metrics strong { font-family: var(--font-head); font-weight: 900; font-size: 34px; line-height: 1; color: var(--blue); }
.metrics span { font-size: 13px; line-height: 1.25; color: var(--blue); }

/* CSS device mockups */
.laptop { position: relative; }
.laptop .screen {
  position: relative; aspect-ratio: 16 / 10; border: 9px solid #0b0c10; border-radius: 18px 18px 4px 4px;
  background: #fff; overflow: hidden; display: grid; gap: 6px; padding: 8px; align-content: start;
  box-shadow: 0 0 0 1.5px #3a3d47;
}
.laptop .screen::before { /* camera notch */
  content: ""; position: absolute; z-index: 2; top: 0; left: 50%; transform: translateX(-50%);
  width: 11%; height: 4%; min-height: 6px; background: #0b0c10; border-radius: 0 0 8px 8px;
}
.laptop::after { /* aluminium base */
  content: ""; display: block; height: 16px; margin: 0 -9%; border-radius: 2px 2px 16px 16px / 2px 2px 12px 12px;
  background: linear-gradient(180deg, #f2f3f6 0, #d4d7de 30%, #a3a8b3 75%, #7c818c 100%);
  box-shadow: 0 18px 30px -10px rgba(0, 0, 0, .6);
}
.laptop::before { /* lid opening indent */
  content: ""; position: absolute; z-index: 1; bottom: 10px; left: 43%; width: 14%; height: 6px;
  border-radius: 0 0 8px 8px; background: linear-gradient(180deg, #a9adb7, #d9dce2);
}
.phone {
  position: absolute; aspect-ratio: 360 / 779; padding: 3.2%; background: #0b0c10; border-radius: 16% / 7.4%;
  box-shadow: 0 0 0 1.5px #3a3d47, 0 30px 60px -10px rgba(0, 0, 0, .75);
}
.phone::before { /* dynamic island */
  content: ""; position: absolute; z-index: 2; top: 3.6%; left: 50%; transform: translateX(-50%);
  width: 30%; height: 3.2%; background: #0b0c10; border-radius: 999px;
}
.phone img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 13% / 6%; }
.case-visual .devices { position: absolute; left: 15%; right: 6%; bottom: 28px; }
.case-visual .devices .laptop { position: relative; left: auto; right: auto; bottom: auto; }
.case-visual .devices .phone { left: -11%; bottom: -96px; width: 27%; }
.screen i { display: block; border-radius: 6px; min-height: 0; }
.screen.shot { display: block; padding: 0; }
.screen.shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.screen.shot .screen-anim { position: absolute; height: auto; object-fit: contain; pointer-events: none; }
.screen .nav { background: #e6e9f2; }
.s-fashion, .s-food { grid-template-rows: 4% 54% 1fr; align-content: stretch; }
.s-fashion .hero { background: linear-gradient(120deg, #1e4fe0, #4d7bff 60%, #ff9a4d); }
.s-fashion .grid, .s-food .grid, .s-home .grid { background: repeating-linear-gradient(90deg, #eef2fd 0 23%, transparent 23% 25.6%); }
.s-food .hero { background: linear-gradient(120deg, #ff7a1a, #ffc08a 70%, #fff3e6); }
.s-email { justify-items: center; align-content: center; background: #f4f6fb; grid-template-rows: 4% 48% 4% 4% 8%; }
.s-email .logo { width: 30%; background: #1e4fe0; }
.s-email .banner { width: 62%; background: linear-gradient(120deg, #ff7a1a, #ffb27a); }
.s-email .row { width: 62%; background: #dfe5f0; }
.s-email .cta { width: 26%; border-radius: 999px; background: #1e4fe0; }
.s-home { grid-template-columns: 1fr 1fr; grid-template-rows: 4% 58% 1fr; align-content: stretch; }
.s-home .nav, .s-home .grid { grid-column: 1 / -1; }
.s-home .split-a { background: linear-gradient(160deg, #0f1a3d, #1e4fe0); }
.s-home .split-b { background: #eef2fd; }

/* ---------- Helper + service slider ---------- */
.slider-btns { display: flex; gap: 12px; }
.helper { display: grid; grid-template-columns: 520px 1fr; gap: 24px; align-items: start; }
.helper-steps { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-sm); box-shadow: var(--shadow); overflow: hidden; }
.step { border-bottom: 1px solid var(--line); padding: 0 40px; }
.step summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; gap: 24px; padding: 32px 0;
  font-family: var(--font-head); font-weight: 900; font-size: 22px; text-transform: uppercase;
}
.step summary::-webkit-details-marker { display: none; }
.step summary::after { content: "+"; margin-left: auto; font-size: 26px; font-weight: 400; }
.step[open] summary::after { content: "–"; }
.chips { display: flex; flex-wrap: wrap; gap: 12px 16px; padding-bottom: 32px; }
.chips button {
  background: var(--chip-bg); color: var(--chip-ink); border: 2px solid transparent; border-radius: 999px; padding: 8px 22px; cursor: pointer;
  font-family: var(--font-head); font-weight: 700; font-size: 15px; text-transform: uppercase; transition: background .2s, color .2s, border-color .2s;
}
.chips button:hover { border-color: var(--chip-ink); }
.chips button.neutral { background: var(--surface); color: var(--ink); }
.chips button[aria-pressed="true"] { background: var(--orange); color: #fff; }
.helper-result { padding: 28px 40px 36px; background: var(--surface); }
.helper-result p { font-weight: 500; }

.svc-track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 8px) / 2); gap: 8px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px; }
.svc-track::-webkit-scrollbar { display: none; }
.svc {
  scroll-snap-align: start; background: var(--surface); border-radius: var(--radius); padding: 40px; display: flex; flex-direction: column;
  border: 2px solid transparent; transition: border-color .3s, transform .3s;
}
.svc.match { border-color: var(--orange); }
.svc h3 { font-weight: 900; text-transform: uppercase; font-size: 30px; letter-spacing: -.01em; margin-bottom: 20px; }
.svc p { color: var(--muted); font-size: 15px; }
.svc-tile {
  position: relative; display: flex; align-items: center; padding: 24px; margin-top: auto; height: 200px; border-radius: var(--radius); overflow: hidden;
  background: radial-gradient(300px 120px at 60% 110%, rgba(77, 123, 255, .9), transparent 70%), linear-gradient(120deg, #070c1f, var(--dark-2));
}
.svc-tile.t2, .svc-tile.t5 { background: radial-gradient(300px 120px at 60% 110%, rgba(255, 122, 26, .85), transparent 70%), linear-gradient(120deg, #070c1f, var(--dark-2)); }
.svc-tile.t3, .svc-tile.t6 { background: radial-gradient(300px 140px at 40% 110%, rgba(255, 122, 26, .7), transparent 60%), radial-gradient(300px 140px at 90% 110%, rgba(77, 123, 255, .9), transparent 60%), linear-gradient(120deg, #070c1f, var(--dark-2)); }
.svc-tile .circle-btn { width: 56px; height: 56px; transition: transform .25s; }
.svc-tile:hover .circle-btn { transform: rotate(45deg) scale(1.05); }

/* ---------- About ---------- */
.about-banner {
  border-radius: var(--radius); color: var(--on-dark); padding: 80px; min-height: 420px; display: flex; align-items: center; position: relative; overflow: hidden;
  background:
    radial-gradient(600px 400px at 90% 20%, rgba(255, 122, 26, .45), transparent 70%),
    radial-gradient(700px 500px at 70% 100%, rgba(77, 123, 255, .55), transparent 70%),
    linear-gradient(120deg, #070c1f, var(--dark-2));
}
.about-banner::after {
  content: "OVERPRO"; position: absolute; right: -20px; bottom: -40px; font-family: var(--font-head); font-weight: 900; font-size: clamp(100px, 16vw, 240px);
  line-height: 1; color: transparent; -webkit-text-stroke: 2px rgba(255,255,255,.12); pointer-events: none;
}
.about-banner > div { max-width: 740px; position: relative; z-index: 1; }
.about-banner h2 { font-weight: 900; text-transform: uppercase; font-size: clamp(30px, 3.4vw, 44px); margin-bottom: 24px; }
.about-banner p { color: var(--on-dark-muted); font-size: 18px; margin-bottom: 36px; }
.about-stats { margin-top: 8px; display: grid; grid-template-columns: 440px 1fr; background: var(--dark); color: var(--on-dark); border-radius: var(--radius); overflow: hidden; }
.stat-list { border-right: 1px solid rgba(255,255,255,.1); }
.stat-list li { display: flex; align-items: center; gap: 24px; padding: 30px 40px; border-bottom: 1px solid rgba(255,255,255,.1); }
.stat-list li:last-child { border-bottom: 0; }
.stat-list strong { font-family: var(--font-head); font-weight: 900; font-size: 36px; color: var(--orange); min-width: 96px; }
.stat-list span { color: var(--on-dark-muted); }
.mini-process { display: grid; grid-template-columns: repeat(4, 1fr); counter-reset: s; position: relative; padding: 48px 40px; align-items: center; }
.mini-process::before { content: ""; position: absolute; left: 12%; right: 12%; top: calc(48px + 26px); height: 2px; background: repeating-linear-gradient(90deg, rgba(255,255,255,.3) 0 8px, transparent 8px 16px); }
.mini-process li { text-align: center; position: relative; }
.mini-process span {
  display: grid; place-items: center; width: 52px; height: 52px; margin: 0 auto 18px; border-radius: 50%; position: relative;
  font-family: var(--font-head); font-weight: 900; background: var(--blue); box-shadow: 0 0 0 8px var(--dark);
}
.mini-process li:last-child span { background: var(--orange); }
.mini-process h3 { font-weight: 900; text-transform: uppercase; font-size: 18px; margin-bottom: 4px; }
.mini-process p { color: var(--on-dark-muted); font-size: 14px; margin: 0; }

/* ---------- Why grid ---------- */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.why-grid li { display: flex; align-items: center; gap: 28px; background: var(--surface); border-radius: var(--radius-sm); padding: 36px 32px; min-height: 150px; }
.why-ico { flex: none; width: 72px; height: 72px; border-radius: 20px; display: grid; place-items: center; background: var(--chip-bg); color: var(--chip-ink); }
.why-ico svg { width: 32px; height: 32px; }
.why-grid p { margin: 0; color: var(--muted); }
.why-grid strong { color: var(--ink); }

/* ---------- Industries ---------- */
.domains { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.domain { display: grid; grid-template-columns: 1fr 300px; gap: 28px; align-items: center; background: var(--surface); border-radius: var(--radius); padding: 40px; }
.domain h3 { font-weight: 900; text-transform: uppercase; font-size: 30px; margin-bottom: 20px; }
.domain p { color: var(--muted); margin-bottom: 28px; }
.laptop.sm .screen { border-width: 6px; border-radius: 12px 12px 3px 3px; gap: 4px; padding: 6px; }
.laptop.sm::after { height: 10px; }
.laptop.sm::before { bottom: 6px; height: 4px; }

/* ---------- Pricing ---------- */
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.price { position: relative; display: flex; flex-direction: column; background: var(--surface); border-radius: var(--radius); padding: 44px 40px; }
.price h3 { font-weight: 900; text-transform: uppercase; font-size: 28px; margin-bottom: 8px; }
.price > p { color: var(--muted); }
.amount { font-family: var(--font-head); font-weight: 900; font-size: 52px; letter-spacing: -.02em; line-height: 1; margin: 12px 0 28px; }
.amount small { font-size: 15px; font-weight: 700; color: var(--muted); letter-spacing: 0; margin-right: 4px; }
.amount span { font-size: 20px; color: var(--muted); }
.price ul { display: grid; gap: 12px; margin-bottom: 36px; flex: 1; }
.price li { display: flex; gap: 12px; }
.price li::before {
  content: ""; flex: none; width: 22px; height: 22px; border-radius: 50%; margin-top: 1px;
  background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.price.featured { background: radial-gradient(500px 300px at 100% 0%, rgba(255,122,26,.35), transparent 70%), linear-gradient(160deg, var(--dark-2), var(--dark)); color: var(--on-dark); }
.price.featured > p, .price.featured .amount small, .price.featured .amount span { color: var(--on-dark-muted); }
.price.featured li::before { background-color: var(--orange); }
.badge { position: absolute; top: 24px; right: 24px; background: var(--orange); color: #fff; font-family: var(--font-head); font-size: 13px; font-weight: 800; text-transform: uppercase; padding: 6px 14px; border-radius: 999px; }

/* ---------- FAQ ---------- */
.faq-layout { display: grid; grid-template-columns: 1fr 1.3fr; gap: 64px; align-items: start; }
.faq { display: grid; gap: 8px; }
.faq details { background: var(--surface); border-radius: var(--radius-sm); padding: 0 32px; }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 26px 0;
  font-family: var(--font-head); font-weight: 800; font-size: 19px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  background: var(--dark); color: #fff; font-family: var(--font-body); font-size: 22px; font-weight: 400; transition: transform .3s, background .3s;
}
.faq details[open] summary::after { transform: rotate(45deg); background: var(--orange); }
.faq details p { color: var(--muted); padding-bottom: 26px; margin: 0; }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: 1.35fr 1fr; gap: 8px; }
.contact-form {
  background: radial-gradient(500px 300px at 100% 100%, rgba(255,122,26,.25), transparent 70%), var(--dark);
  color: var(--on-dark); border-radius: var(--radius); padding: 72px 80px; display: grid; gap: 28px; align-content: start;
}
.contact-form h2 { font-weight: 900; text-transform: uppercase; font-size: clamp(30px, 3vw, 40px); margin-bottom: 12px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.field { position: relative; display: block; }
.field input, .field textarea, .field select {
  width: 100%; background: transparent; border: 0; border-bottom: 1px solid rgba(255,255,255,.35); color: #fff;
  font: inherit; font-size: 17px; padding: 12px 0; border-radius: 0; transition: border-color .2s;
}
.field textarea { resize: vertical; min-height: 48px; }
.field select { appearance: none; -webkit-appearance: none; cursor: pointer; padding-right: 28px; }
.field select option { color: #141a33; }
.field.select::after { content: ""; position: absolute; right: 4px; top: 50%; width: 9px; height: 9px; border-right: 2px solid #fff; border-bottom: 2px solid #fff; transform: translateY(-75%) rotate(45deg); pointer-events: none; }
.field span { position: absolute; left: 0; top: 12px; color: rgba(255,255,255,.75); font-size: 17px; pointer-events: none; transition: transform .2s, font-size .2s, color .2s; transform-origin: left; }
.field input:focus + span, .field input:not(:placeholder-shown) + span,
.field textarea:focus + span, .field textarea:not(:placeholder-shown) + span { transform: translateY(-26px); font-size: 13px; color: var(--orange); }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-bottom-color: var(--orange); }
.field .invalid, .field input.invalid, .field textarea.invalid { border-bottom-color: #ff6b6b; }
.contact-form .btn { justify-self: start; padding: 14px 48px; }
.form-status { margin: 0; font-size: 15px; min-height: 1.2em; }
.form-status.error { color: #ff8a8a; }
.form-status.success { color: #6ee7a0; }
.contact-cards { display: grid; gap: 8px; }
.c-card { display: flex; align-items: center; gap: 28px; background: var(--surface); border-radius: var(--radius); padding: 40px; }
.c-ico { flex: none; width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; background: var(--chip-bg); color: var(--chip-ink); }
.c-ico svg { width: 30px; height: 30px; }
.c-card h3 { font-weight: 900; text-transform: uppercase; font-size: 20px; margin-bottom: 6px; }
.c-card p { margin: 0; color: var(--muted); }
.c-card a { color: var(--blue); font-weight: 700; font-size: 18px; text-transform: uppercase; }

/* ---------- Footer ---------- */
.site-footer { background: var(--surface); margin-top: 64px; padding: 80px 0 0; color: var(--muted); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 64px; }
.footer-brand .logo { color: var(--ink); }
.footer-brand p { margin-top: 16px; max-width: 340px; }
.site-footer h4 { color: var(--ink); font-family: var(--font-body); font-weight: 600; font-size: 20px; margin-bottom: 16px; }
.site-footer ul { display: grid; gap: 12px; }
.site-footer a:hover { color: var(--orange); }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; padding-top: 24px; padding-bottom: 32px; border-top: 1px solid var(--line); font-size: 15px; }
.footer-bottom p { margin: 0; }

/* ---------- Service subpages ---------- */
.page-hero { padding: 24px 0; }
.page-hero-card {
  position: relative; overflow: hidden; border-radius: var(--radius); color: var(--on-dark); padding: 72px 80px; min-height: 520px;
  display: flex; flex-direction: column; justify-content: center;
  background:
    radial-gradient(500px 360px at 88% 85%, rgba(255, 122, 26, .45), transparent 70%),
    radial-gradient(600px 420px at 0% 0%, rgba(77, 123, 255, .35), transparent 70%),
    linear-gradient(160deg, var(--dark-2), var(--dark) 60%);
}
.page-hero-card::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 44px 44px; mask-image: linear-gradient(180deg, #000, transparent 85%); -webkit-mask-image: linear-gradient(180deg, #000, transparent 85%);
}
.page-hero-card > * { position: relative; max-width: 860px; }
.page-hero-card h1 { font-weight: 900; text-transform: uppercase; font-size: clamp(36px, 5vw, 68px); letter-spacing: -.02em; margin-bottom: 24px; }
.page-hero-card .lead { color: var(--on-dark-muted); font-size: 19px; max-width: 640px; margin-bottom: 36px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-outline-light { color: #fff; box-shadow: inset 0 0 0 2px rgba(255,255,255,.4); }
.btn-outline-light:hover { box-shadow: inset 0 0 0 2px #fff; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: rgba(255,255,255,.65); margin-bottom: 28px; text-transform: uppercase; font-family: var(--font-head); font-weight: 700; }
.breadcrumbs a:hover { color: #fff; }
.breadcrumbs li + li::before { content: "/"; margin-right: 8px; opacity: .5; }
.feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.feature { display: flex; gap: 28px; background: var(--surface); border-radius: var(--radius); padding: 40px; }
.feature h3 { font-weight: 900; text-transform: uppercase; font-size: 22px; margin-bottom: 10px; }
.feature p { color: var(--muted); margin: 0; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.split-copy { background: var(--dark); color: var(--on-dark); border-radius: var(--radius); padding: 64px; }
.split-copy h2 { font-weight: 900; text-transform: uppercase; font-size: clamp(26px, 3vw, 38px); margin-bottom: 20px; }
.split-copy p { color: var(--on-dark-muted); font-size: 17px; margin-bottom: 32px; }
.checklist { display: grid; gap: 8px; }
.checklist li {
  display: flex; gap: 18px; align-items: center; background: var(--surface); border-radius: var(--radius-sm); padding: 24px 28px; font-weight: 600;
}
.checklist li::before {
  content: ""; flex: none; width: 28px; height: 28px; border-radius: 50%;
  background: var(--orange) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.related { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.related a { display: block; background: var(--surface); border-radius: var(--radius-sm); padding: 28px 32px; transition: background .2s, transform .2s; }
.related a:hover { background: var(--surface-2); transform: translateY(-3px); }
.related strong { display: block; font-family: var(--font-head); font-weight: 900; text-transform: uppercase; font-size: 18px; margin-bottom: 6px; }
.related small { color: var(--muted); font-size: 15px; }
.cta-band {
  border-radius: var(--radius); color: var(--on-dark); padding: 72px 80px; display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap;
  background: radial-gradient(500px 300px at 100% 100%, rgba(255,122,26,.45), transparent 70%), linear-gradient(120deg, #070c1f, var(--dark-2));
}
.cta-band h2 { font-weight: 900; text-transform: uppercase; font-size: clamp(28px, 3.4vw, 44px); margin-bottom: 10px; }
.cta-band p { color: var(--on-dark-muted); font-size: 18px; margin: 0; max-width: 560px; }

/* 404 */
.not-found { padding: 24px 0; }
.not-found .page-hero-card { min-height: 70vh; align-items: center; text-align: center; }
.not-found .page-hero-card > * { margin-left: auto; margin-right: auto; }
.not-found .code { font-family: var(--font-head); font-weight: 900; font-size: clamp(110px, 20vw, 220px); line-height: 1; margin: 0; color: var(--orange); }
.not-found .hero-actions { justify-content: center; }

/* ---------- Hero stats ---------- */
.hero-side { display: grid; gap: 22px; }
.hero-stats { display: flex; gap: 28px; }
.hero-stats li { display: grid; gap: 2px; }
.hero-stats li + li { border-left: 1px solid var(--line); padding-left: 28px; }
.hero-stats strong { font-family: var(--font-head); font-weight: 900; font-size: 36px; line-height: 1; color: var(--blue); }
.hero-stats span { font-size: 14px; color: var(--muted); }

/* ---------- Clients strip ---------- */
.clients { padding: 40px 0 24px; overflow: hidden; }
.clients-head { display: flex; align-items: center; justify-content: space-between; gap: 16px 32px; flex-wrap: wrap; margin-bottom: 24px; }
.clients-head h2 { font-weight: 900; text-transform: uppercase; font-size: 18px; letter-spacing: .04em; color: var(--muted); margin: 0; }
.countries { display: flex; flex-wrap: wrap; gap: 8px; }
.countries li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--orange); }
.countries li { display: inline-flex; align-items: center; gap: 8px; background: var(--surface); border-radius: 999px; padding: 6px 14px; font-weight: 600; font-size: 14px; }
.marquee { display: flex; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; align-items: center; flex: none; gap: 64px; padding-right: 64px; animation: marquee 60s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track li { flex: none; display: flex; align-items: center; height: 56px; }
.marquee-track img { height: 40px; width: auto; max-width: 180px; object-fit: contain; opacity: .55; transition: opacity .25s; }
.marquee-track li:hover img { opacity: 1; }
:root[data-theme="dark"] .marquee-track img, :root[data-theme="dark"] .proj-logo { filter: invert(1); }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .marquee-track img, :root:not([data-theme="light"]) .proj-logo { filter: invert(1); }
}
@keyframes marquee { to { transform: translateX(-100%); } }

/* ---------- Project grid ---------- */
.work-more { margin-top: 56px; }
.work-more-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }
.work-more-head h3 { font-weight: 900; text-transform: uppercase; font-size: clamp(22px, 2.4vw, 30px); margin: 0; }
.filter-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.filter-chips button {
  background: var(--chip-bg); color: var(--chip-ink); border: 0; border-radius: 999px; padding: 8px 22px; cursor: pointer;
  font-family: var(--font-head); font-weight: 700; font-size: 15px; text-transform: uppercase; transition: background .2s, color .2s;
}
.filter-chips button[aria-pressed="true"] { background: var(--dark); color: #fff; }
.projects { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.proj { display: flex; flex-direction: column; background: var(--surface); border-radius: var(--radius-sm); overflow: hidden; transition: background .25s, transform .25s; }
.proj-body { display: flex; flex-direction: column; flex: 1; padding: 24px 28px 28px; }
.proj-visual {
  position: relative; display: flex; align-items: flex-end; justify-content: center; height: 220px; overflow: hidden; padding: 0 12%;
  background: radial-gradient(300px 160px at 50% 120%, rgba(77, 123, 255, .65), transparent 70%), linear-gradient(180deg, var(--dark), var(--dark-2));
}
.proj:nth-child(3n+2) .proj-visual { background: radial-gradient(300px 160px at 50% 120%, rgba(255, 122, 26, .55), transparent 70%), linear-gradient(180deg, var(--dark), var(--dark-2)); }
.proj-visual .laptop { width: 100%; margin-bottom: -26px; transition: transform .4s; }
.proj:hover .proj-visual .laptop { transform: translateY(-8px); }
.laptop.mini .screen { border-width: 5px; border-radius: 10px 10px 2px 2px; }
.laptop.mini::after { height: 9px; }
.laptop.mini::before { bottom: 5px; height: 3px; }
.proj-visual:has(.proj-logo), .proj-visual:has(.proj-name) { align-items: center; padding: 24px; }
.proj-logo { max-width: 70%; max-height: 64px; filter: invert(1); opacity: .9; }
.proj-name { font-family: var(--font-head); font-weight: 900; text-transform: uppercase; font-size: 26px; line-height: 1.1; text-align: center; color: rgba(255, 255, 255, .85); }
.proj-link { margin-top: 18px; align-self: flex-start; font-family: var(--font-head); font-weight: 800; font-size: 14px; text-transform: uppercase; color: var(--blue); }
.proj-link:hover { color: var(--orange); }
.proj[hidden], .projects-more[hidden] { display: none; }
.proj:hover { background: var(--surface-2); transform: translateY(-3px); }
.proj-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 18px; }
.proj-cat { font-family: var(--font-head); font-weight: 800; font-size: 12px; text-transform: uppercase; letter-spacing: .04em; color: #fff; background: var(--blue); padding: 4px 10px; border-radius: 999px; }
.proj[data-cat="fullstack"] .proj-cat { background: var(--orange); }
.proj-region { font-size: 13px; color: var(--muted); }
.proj h4 { font-family: var(--font-head); font-weight: 900; text-transform: uppercase; font-size: 21px; margin-bottom: 10px; }
.proj p { color: var(--muted); font-size: 15px; }
.proj .tags { margin: auto 0 0; padding-top: 8px; }
.proj .tags li { background: var(--bg); font-size: 13px; }
.projects-more { display: flex; justify-content: center; margin-top: 24px; }

/* ---------- Quick facts ---------- */
.facts { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin-top: 8px; }
.facts li { background: var(--surface); border-radius: var(--radius-sm); padding: 22px 24px; display: grid; gap: 4px; }
.facts span { font-size: 13px; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.facts strong { font-family: var(--font-head); font-weight: 800; font-size: 17px; }
.facts .open { display: inline-flex; align-items: center; gap: 8px; color: #16a34a; }
.facts .open i { width: 9px; height: 9px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 4px rgba(34, 197, 94, .2); }
.about-banner p + p { margin-top: -16px; }

/* ---------- Tech stack ---------- */
.stack-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.stack { background: var(--surface); border-radius: var(--radius-sm); padding: 28px; }
.stack h3 { font-weight: 900; text-transform: uppercase; font-size: 18px; margin-bottom: 16px; }
.stack ul { display: flex; flex-wrap: wrap; gap: 6px; }
.stack li { background: var(--bg); border: 1px solid var(--line); border-radius: 999px; padding: 3px 11px; font-size: 13px; }

.clients-line { font-size: 14px; font-weight: 600; color: var(--blue) !important; margin-top: -12px; }
.c-card a { text-transform: none; word-break: break-word; }

/* ---------- Responsive ---------- */
@media (max-width: 1200px) {
  .helper { grid-template-columns: 1fr; }
  .svc-track { grid-auto-columns: calc((100% - 16px) / 3); }
  .about-stats { grid-template-columns: 1fr; }
  .stat-list { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.1); display: grid; grid-template-columns: repeat(3, 1fr); }
  .stat-list li { flex-direction: column; align-items: flex-start; gap: 8px; border-bottom: 0; }
  .domain { grid-template-columns: 1fr; }
  .domain .laptop { max-width: 360px; }
  .panel-art { display: none; }
  .logo-grid { --cols: 5; }
}

@media (max-width: 1024px) {
  .nav { gap: 16px; }
  .nav-toggle { display: block; }
  .nav-links {
    position: fixed; inset: var(--header-h) 0 auto; flex-direction: column; align-items: stretch; gap: 0; margin: 0;
    background: var(--bg); padding: 8px var(--gutter) 24px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    transform: translateY(-12px); opacity: 0; visibility: hidden; transition: transform .25s, opacity .25s, visibility .25s;
  }
  .nav-links.open { transform: none; opacity: 1; visibility: visible; }
  .nav-links a:not(.btn) { padding: 16px 0; border-bottom: 1px solid var(--line); }
  .nav-links a:not(.btn)::after { display: none; }
  .nav-cta { margin-top: 16px; }
  .nav-tools { margin-left: auto; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

  .hero-intro { grid-template-columns: 1fr; gap: 16px; }
  .case { grid-template-columns: 1fr; }
  .case-visual .laptop { left: 18%; right: 18%; }
  .case-visual { min-height: 500px; }
  .case-visual .devices { left: 50%; right: auto; width: min(560px, 66%); transform: translateX(-40%); }
  .domains, .pricing, .faq-layout, .contact, .split, .feature-grid { grid-template-columns: 1fr; }
  .faq-layout { gap: 32px; }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .related { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .svc-track { grid-auto-columns: calc((100% - 8px) / 2); }
}

@media (max-width: 760px) {
  :root { --radius: 22px; --header-h: 68px; }
  .logo { font-size: 20px; }
  .theme-toggle, .nav-toggle { width: 42px; height: 42px; }
  .section { padding: 48px 0; }
  .sec-head { flex-direction: column; align-items: flex-start; margin-bottom: 28px; }
  .sec-title { padding-bottom: 16px; }

  /* Hero panels become a vertical accordion */
  .panels { flex-direction: column; height: auto; }
  .panel { flex: 0 0 auto; min-height: 76px; }
  .panel-tab { position: relative; flex-direction: row; padding: 14px 16px 14px 24px; width: 100%; min-height: 76px; }
  .panel-label { writing-mode: horizontal-tb; transform: none; font-size: 18px; }
  .panel-tab .circle-btn { width: 40px; height: 40px; }
  .panel-body { display: none; padding: 56px 24px 32px; }
  .panel.is-active .panel-body { display: flex; }
  .panel-progress { top: 32px; left: 24px; max-width: calc(100% - 48px); }
  .panel-body h2 { font-size: clamp(34px, 11vw, 48px); margin-top: 8px; white-space: normal; }
  .panel-body p { font-size: 16px; }

  .logo-grid { --cols: 2; }
  .logo-grid li { min-height: 124px; font-size: 15px; gap: 10px; }
  .brand-ico { width: 52px; height: 52px; border-radius: 14px; }
  .brand-ico img { width: 32px; height: 32px; }
  .case-visual { min-height: 280px; padding: 20px; }
  .case-brand { font-size: 19px; }
  .pill-light { font-size: 13px; }
  .case-visual .laptop { left: 10%; right: 10%; bottom: -24px; }
  .case-visual { min-height: 300px; }
  .case-visual .devices { left: 16%; right: 5%; bottom: 18px; width: auto; transform: none; }
  .case-visual .devices .phone { bottom: -60px; border-radius: 14% / 6.5%; }
  .case-info { padding: 32px 24px; }
  .metrics strong { font-size: 28px; }
  .step { padding: 0 24px; }
  .step summary { font-size: 18px; padding: 24px 0; gap: 14px; }
  .helper-result { padding: 24px; }
  .svc-track { grid-auto-columns: 86%; }
  .svc { padding: 28px; }
  .svc h3 { font-size: 24px; }
  .svc-tile { height: 150px; }
  .about-banner { padding: 40px 24px; min-height: 0; }
  .stat-list { grid-template-columns: 1fr; }
  .stat-list li { flex-direction: row; align-items: center; padding: 22px 24px; border-bottom: 1px solid rgba(255,255,255,.1); }
  .mini-process { grid-template-columns: 1fr 1fr; row-gap: 32px; padding: 32px 16px; }
  .mini-process::before { display: none; }
  .why-grid { grid-template-columns: 1fr; }
  .why-grid li { padding: 24px; gap: 20px; min-height: 0; }
  .why-ico { width: 56px; height: 56px; }
  .domain { padding: 28px 24px; }
  .domain h3 { font-size: 24px; }
  .price { padding: 32px 24px; }
  .faq details { padding: 0 20px; }
  .faq summary { font-size: 17px; }
  .contact-form { padding: 40px 24px; }
  .field-row { grid-template-columns: 1fr; gap: 28px; }
  .c-card { padding: 24px; gap: 18px; }
  .c-ico { width: 56px; height: 56px; }
  .c-card a { font-size: 16px; text-transform: none; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; }
  .page-hero-card, .cta-band { padding: 40px 24px; min-height: 0; }
  .feature { padding: 28px 24px; flex-direction: column; gap: 16px; }
  .split-copy { padding: 40px 24px; }
}

/* ---------- Responsive: content sections ---------- */
@media (max-width: 1200px) {
  .projects { grid-template-columns: repeat(2, 1fr); }
  .stack-grid { grid-template-columns: repeat(2, 1fr); }
  .facts { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 760px) {
  .hero-stats { gap: 16px; }
  .hero-stats li + li { padding-left: 16px; }
  .hero-stats strong { font-size: 28px; }
  .hero-stats span { font-size: 12px; }
  .clients { padding-top: 24px; }
  .projects, .stack-grid { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr 1fr; }
  .facts li { padding: 18px; }
  .marquee-track { gap: 40px; padding-right: 40px; }
  .marquee-track img { height: 30px; max-width: 130px; }
  .proj-visual { height: 200px; }
}
