/* =====================================================================
   ViaCraft Studios — Core Stylesheet
   Design system, layout shell and shared components
   ===================================================================== */

/* ---------- 1. Tokens ------------------------------------------------ */
:root {
  /* Brand */
  --brand: #1e9bff;
  --brand-light: #57c1ff;
  --brand-deep: #0a63c9;
  --brand-glow: rgba(30, 155, 255, 0.45);
  --brand-soft: rgba(30, 155, 255, 0.12);

  /* Neutrals */
  --bg: #06080e;
  --bg-alt: #0a0e18;
  --bg-elev: #0e1421;
  --surface: rgba(255, 255, 255, 0.035);
  --surface-2: rgba(255, 255, 255, 0.06);
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.16);

  /* Text */
  --text: #eaeef7;
  --text-soft: #b6c1d4;
  --muted: #8b97ad;
  --dim: #5f6b80;

  /* Sector accents */
  --c-soft: #1e9bff;   /* yazılım      */
  --c-mobile: #14d1a8; /* mobil oyun   */
  --c-pc: #a56bff;     /* pc oyunları  */
  --c-ads: #ff9d3d;    /* reklam       */

  /* Gradients */
  --grad-brand: linear-gradient(135deg, #57c1ff 0%, #1e9bff 45%, #0a63c9 100%);
  --grad-text: linear-gradient(100deg, #ffffff 0%, #cfe4ff 40%, #57c1ff 100%);
  --grad-line: linear-gradient(90deg, transparent, rgba(30, 155, 255, 0.6), transparent);

  /* Type */
  --font-display: "Sora", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-mono: "JetBrains Mono", "Cascadia Code", "Consolas", ui-monospace, monospace;

  /* Radius */
  --r-xs: 8px;
  --r-sm: 12px;
  --r-md: 18px;
  --r-lg: 26px;
  --r-xl: 36px;
  --r-pill: 999px;

  /* Shadow */
  --sh-sm: 0 4px 16px rgba(0, 0, 0, 0.35);
  --sh-md: 0 18px 44px rgba(0, 0, 0, 0.45);
  --sh-lg: 0 40px 90px rgba(0, 0, 0, 0.6);
  --sh-brand: 0 18px 46px -14px rgba(30, 155, 255, 0.55);

  /* Layout */
  --container: 1240px;
  --gutter: clamp(20px, 5vw, 44px);
  --header-h: 78px;
  --section-y: clamp(72px, 9vw, 130px);

  /* Motion */
  --e-out: cubic-bezier(0.22, 1, 0.36, 1);
  --e-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --t-fast: 0.22s var(--e-out);
  --t-med: 0.45s var(--e-out);
  --t-slow: 0.8s var(--e-out);
}

/* ---------- 2. Reset ------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

* { margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: clamp(15px, 0.42vw + 14px, 17px);
  line-height: 1.65;
  color: var(--text-soft);
  background: var(--bg);
  /* `clip` keeps horizontal overflow contained without turning <body>
     into a scroll container, which would break position: sticky */
  overflow-x: hidden;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body.is-locked { overflow: hidden; }

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

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

button,
input,
textarea,
select {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  outline: none;
}

button { cursor: pointer; }

ul, ol { list-style: none; }

::selection {
  background: rgba(30, 155, 255, 0.32);
  color: #fff;
}

/* Scrollbar */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #1b2436, #101725);
  border-radius: 999px;
  border: 2px solid var(--bg);
}
::-webkit-scrollbar-thumb:hover { background: #24344e; }

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

/* ---------- 3. Typography ------------------------------------------- */
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  color: var(--text);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.3rem, 5.6vw, 4.4rem); }
h2 { font-size: clamp(1.85rem, 3.9vw, 3.1rem); }
h3 { font-size: clamp(1.25rem, 1.9vw, 1.6rem); letter-spacing: -0.01em; }
h4 { font-size: clamp(1.05rem, 1.3vw, 1.2rem); letter-spacing: -0.005em; }

p { text-wrap: pretty; }

.lead {
  font-size: clamp(1rem, 1.15vw, 1.16rem);
  color: var(--muted);
  line-height: 1.75;
}

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

.brand-text { color: var(--brand); }

/* ---------- 4. Layout ------------------------------------------------ */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.container--narrow { max-width: 920px; }

.section { padding-block: var(--section-y); position: relative; }
.section--tight { padding-block: clamp(52px, 6vw, 84px); }

.section-head {
  max-width: 720px;
  margin-bottom: clamp(38px, 5vw, 64px);
}

.section-head--center {
  margin-inline: auto;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brand-light);
  padding: 7px 15px 7px 12px;
  border: 1px solid rgba(30, 155, 255, 0.28);
  background: rgba(30, 155, 255, 0.07);
  border-radius: var(--r-pill);
  margin-bottom: 20px;
}

.eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 12px var(--brand);
  animation: pulseDot 2.4s var(--e-in-out) infinite;
}

@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.7); }
}

.section-head h2 { margin-bottom: 16px; }

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

/* ---------- 5. Decorative background --------------------------------- */
.bg-fx {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(900px 620px at 78% -6%, rgba(30, 155, 255, 0.16), transparent 62%),
    radial-gradient(760px 560px at 8% 12%, rgba(120, 90, 255, 0.11), transparent 60%),
    radial-gradient(1000px 700px at 50% 108%, rgba(30, 155, 255, 0.09), transparent 60%),
    var(--bg);
}

.bg-grid {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.32;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(circle at 50% 30%, #000 0%, transparent 78%);
  mask-image: radial-gradient(circle at 50% 30%, #000 0%, transparent 78%);
}

.glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
  z-index: 0;
}

/* ---------- 6. Buttons ----------------------------------------------- */
.btn {
  --btn-bg: var(--grad-brand);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: var(--r-pill);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.94rem;
  letter-spacing: 0.01em;
  color: #fff;
  background: var(--btn-bg);
  box-shadow: var(--sh-brand);
  overflow: hidden;
  isolation: isolate;
  transition: transform var(--t-fast), box-shadow var(--t-fast), filter var(--t-fast);
  white-space: nowrap;
}

.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(120deg, transparent 20%, rgba(255, 255, 255, 0.4), transparent 80%);
  transform: translateX(-120%);
  transition: transform 0.65s var(--e-out);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 54px -12px rgba(30, 155, 255, 0.7);
}

.btn:hover::after { transform: translateX(120%); }
.btn:active { transform: translateY(0); }

.btn svg { width: 17px; height: 17px; flex: none; }

.btn--ghost {
  background: var(--surface);
  border: 1px solid var(--line-strong);
  color: var(--text);
  box-shadow: none;
  backdrop-filter: blur(10px);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(30, 155, 255, 0.5);
  box-shadow: 0 14px 34px -16px rgba(30, 155, 255, 0.6);
}

.btn--outline {
  background: transparent;
  border: 1px solid rgba(30, 155, 255, 0.45);
  color: var(--brand-light);
  box-shadow: none;
}

.btn--outline:hover { background: rgba(30, 155, 255, 0.1); }

.btn--sm { padding: 10px 18px; font-size: 0.85rem; }
.btn--lg { padding: 17px 34px; font-size: 1rem; }
.btn--block { width: 100%; }

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

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--brand-light);
  font-weight: 600;
  font-size: 0.92rem;
  transition: gap var(--t-fast), color var(--t-fast);
}

.text-link svg { width: 16px; height: 16px; transition: transform var(--t-fast); }
.text-link:hover { gap: 13px; color: #fff; }
.text-link:hover svg { transform: translateX(2px); }

/* ---------- 7. Header ------------------------------------------------ */
.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: height var(--t-med), background var(--t-med), border-color var(--t-med), backdrop-filter var(--t-med);
  border-bottom: 1px solid transparent;
}

.header.is-stuck {
  height: 66px;
  background: rgba(6, 8, 14, 0.78);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  border-bottom-color: var(--line);
}

.header__inner {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
  display: flex;
  align-items: center;
  gap: 22px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  flex: none;
  transition: transform var(--t-fast);
}

.brand:hover { transform: translateY(-1px); }

.brand img {
  height: 40px;
  width: auto;
  filter: drop-shadow(0 4px 14px rgba(30, 155, 255, 0.32));
  transition: height var(--t-med);
}

.header.is-stuck .brand img { height: 34px; }

.nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav a {
  position: relative;
  padding: 9px 15px;
  border-radius: var(--r-pill);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-soft);
  transition: color var(--t-fast), background var(--t-fast);
}

.nav a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 2px;
  width: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--grad-brand);
  transform: translateX(-50%);
  transition: width var(--t-fast);
}

.nav a:hover { color: #fff; background: rgba(255, 255, 255, 0.05); }
.nav a:hover::after { width: 18px; }

.nav a.is-active {
  color: #fff;
  background: rgba(30, 155, 255, 0.12);
}

.nav a.is-active::after { width: 22px; }

.header__cta { flex: none; margin-left: 8px; }

.burger {
  display: none;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  flex: none;
  margin-left: auto;
  transition: background var(--t-fast), border-color var(--t-fast);
}

.burger span {
  display: block;
  width: 19px;
  height: 2px;
  border-radius: 2px;
  background: var(--text);
  transition: transform var(--t-fast), opacity var(--t-fast), width var(--t-fast);
}

.burger:hover { border-color: rgba(30, 155, 255, 0.5); }
.burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile drawer */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 99;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: calc(var(--header-h) + 24px) var(--gutter) 40px;
  background: rgba(6, 8, 14, 0.96);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-12px);
  transition: opacity var(--t-med), transform var(--t-med), visibility var(--t-med);
  overflow-y: auto;
}

.mobile-nav.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.mobile-nav__list { display: grid; gap: 4px; }

.mobile-nav__list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 17px 6px;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 6vw, 1.9rem);
  font-weight: 600;
  color: var(--text);
  border-bottom: 1px solid var(--line);
  opacity: 0;
  transform: translateY(14px);
}

.mobile-nav.is-open .mobile-nav__list a {
  animation: navIn 0.5s var(--e-out) forwards;
  animation-delay: calc(var(--i) * 60ms);
}

@keyframes navIn {
  to { opacity: 1; transform: translateY(0); }
}

.mobile-nav__list a span {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--dim);
}

.mobile-nav__list a.is-active { color: var(--brand-light); }

.mobile-nav__foot {
  margin-top: 32px;
  display: grid;
  gap: 16px;
}

.mobile-nav__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  font-size: 0.85rem;
  color: var(--muted);
}

.mobile-nav__meta a:hover { color: var(--brand-light); }

/* ---------- 8. Cards -------------------------------------------------- */
.card {
  position: relative;
  padding: clamp(22px, 2.4vw, 32px);
  border-radius: var(--r-lg);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.02));
  border: 1px solid var(--line);
  overflow: hidden;
  isolation: isolate;
  transition: transform var(--t-med), border-color var(--t-med), box-shadow var(--t-med);
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(30, 155, 255, 0.16), transparent 65%);
  transition: opacity var(--t-med);
}

.card:hover {
  transform: translateY(-6px);
  border-color: rgba(30, 155, 255, 0.34);
  box-shadow: var(--sh-md);
}

.card:hover::before { opacity: 1; }

.card__icon {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.03));
  border: 1px solid var(--line-strong);
  color: var(--accent, var(--brand));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14);
  transition: transform var(--t-med), color var(--t-med);
}

.card:hover .card__icon { transform: translateY(-3px) rotate(-4deg); }
.card__icon svg { width: 26px; height: 26px; }

.card h3 { margin-bottom: 10px; }
.card p { font-size: 0.94rem; color: var(--muted); }

.card__num {
  position: absolute;
  top: 18px;
  right: 22px;
  font-family: var(--font-mono);
  font-size: 2.6rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.05);
  line-height: 1;
  pointer-events: none;
}

.card__list {
  margin-top: 18px;
  display: grid;
  gap: 9px;
}

.card__list li {
  position: relative;
  padding-left: 22px;
  font-size: 0.88rem;
  color: var(--text-soft);
}

.card__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: var(--accent, var(--brand));
  box-shadow: 0 0 10px var(--accent, var(--brand));
}

/* Glass panel */
.panel {
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015));
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: clamp(24px, 3vw, 44px);
}

/* ---------- 9. Tags / pills ------------------------------------------ */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 13px;
  border-radius: var(--r-pill);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text-soft);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
}

.tag--brand {
  color: var(--brand-light);
  background: rgba(30, 155, 255, 0.1);
  border-color: rgba(30, 155, 255, 0.28);
}

.tag-row { display: flex; flex-wrap: wrap; gap: 8px; }

/* ---------- 10. Stats ------------------------------------------------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(14px, 2vw, 26px);
}

.stat {
  padding: clamp(20px, 2.2vw, 30px);
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015));
  text-align: center;
  transition: border-color var(--t-med), transform var(--t-med);
}

.stat:hover { border-color: rgba(30, 155, 255, 0.35); transform: translateY(-4px); }

.stat__num {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.4vw, 2.9rem);
  font-weight: 800;
  line-height: 1;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stat__label {
  margin-top: 10px;
  font-size: 0.84rem;
  color: var(--muted);
  letter-spacing: 0.02em;
}

/* ---------- 11. Marquee ----------------------------------------------- */
.marquee {
  position: relative;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}

.marquee__track {
  display: flex;
  width: max-content;
  gap: 18px;
  animation: marquee var(--speed, 42s) linear infinite;
}

.marquee:hover .marquee__track { animation-play-state: paused; }

.marquee--reverse .marquee__track { animation-direction: reverse; }

@keyframes marquee {
  to { transform: translateX(-50%); }
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  border-radius: var(--r-pill);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  font-family: var(--font-mono);
  font-size: 0.84rem;
  color: var(--text-soft);
  white-space: nowrap;
  transition: border-color var(--t-fast), color var(--t-fast), background var(--t-fast);
}

.chip:hover {
  border-color: rgba(30, 155, 255, 0.4);
  color: #fff;
  background: rgba(30, 155, 255, 0.08);
}

.chip i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 8px var(--brand);
}

/* ---------- 12. Page hero (inner pages) -------------------------------- */
.page-hero {
  position: relative;
  padding-top: calc(var(--header-h) + clamp(56px, 8vw, 104px));
  padding-bottom: clamp(44px, 6vw, 78px);
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  top: -220px;
  left: 50%;
  width: min(1100px, 130vw);
  height: 620px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at center, rgba(30, 155, 255, 0.2), transparent 66%);
  pointer-events: none;
}

.page-hero__inner { position: relative; z-index: 1; max-width: 820px; }
.page-hero--center .page-hero__inner { margin-inline: auto; text-align: center; }
.page-hero h1 { margin-bottom: 18px; }

.crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
  font-size: 0.82rem;
  color: var(--dim);
  margin-bottom: 22px;
}

.crumbs a { color: var(--muted); transition: color var(--t-fast); }
.crumbs a:hover { color: var(--brand-light); }
.crumbs span[aria-current] { color: var(--brand-light); }
.crumbs i { opacity: 0.5; font-style: normal; }

/* ---------- 13. Accordion ---------------------------------------------- */
.accordion { display: grid; gap: 12px; }

.acc {
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, 0.028);
  overflow: hidden;
  transition: border-color var(--t-med), background var(--t-med);
}

.acc.is-open {
  border-color: rgba(30, 155, 255, 0.34);
  background: rgba(30, 155, 255, 0.05);
}

.acc__btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px clamp(18px, 2vw, 26px);
  text-align: left;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(0.98rem, 1.2vw, 1.08rem);
  color: var(--text);
}

.acc__ico {
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  display: grid;
  place-items: center;
  position: relative;
  transition: background var(--t-fast), border-color var(--t-fast), transform var(--t-med);
}

.acc__ico::before,
.acc__ico::after {
  content: "";
  position: absolute;
  background: var(--text);
  border-radius: 2px;
  transition: transform var(--t-fast), background var(--t-fast);
}

.acc__ico::before { width: 12px; height: 2px; }
.acc__ico::after { width: 2px; height: 12px; }

.acc.is-open .acc__ico {
  background: var(--brand);
  border-color: var(--brand);
  transform: rotate(180deg);
}

.acc.is-open .acc__ico::after { transform: scaleY(0); }
.acc.is-open .acc__ico::before { background: #fff; }

.acc__panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.42s var(--e-out);
}

.acc.is-open .acc__panel { grid-template-rows: 1fr; }

.acc__panel > div { overflow: hidden; }

.acc__panel p {
  padding: 0 clamp(18px, 2vw, 26px) 22px;
  font-size: 0.94rem;
  color: var(--muted);
}

/* ---------- 14. Filters ------------------------------------------------ */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 34px;
}

.filter {
  padding: 10px 20px;
  border-radius: var(--r-pill);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  font-size: 0.87rem;
  font-weight: 500;
  color: var(--muted);
  transition: all var(--t-fast);
}

.filter:hover { color: #fff; border-color: var(--line-strong); }

.filter.is-active {
  color: #fff;
  background: var(--grad-brand);
  border-color: transparent;
  box-shadow: 0 10px 26px -12px var(--brand-glow);
}

/* ---------- 15. Forms --------------------------------------------------- */
.field { display: grid; gap: 8px; margin-bottom: 18px; }

.field label {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text-soft);
  letter-spacing: 0.01em;
}

.field label span { color: var(--brand); }

.field input,
.field textarea,
.field select {
  width: 100%;
  padding: 14px 16px;
  border-radius: var(--r-sm);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.035);
  color: var(--text);
  font-size: 0.94rem;
  transition: border-color var(--t-fast), background var(--t-fast), box-shadow var(--t-fast);
}

.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='%238b97ad' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 18px;
  padding-right: 42px;
  cursor: pointer;
}

.field select option { background: var(--bg-elev); color: var(--text); }

.field textarea { resize: vertical; min-height: 140px; line-height: 1.6; }

.field input::placeholder,
.field textarea::placeholder { color: var(--dim); }

.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: rgba(30, 155, 255, 0.6);
  background: rgba(30, 155, 255, 0.05);
  box-shadow: 0 0 0 4px rgba(30, 155, 255, 0.1);
}

.field.has-error input,
.field.has-error textarea,
.field.has-error select { border-color: rgba(255, 96, 96, 0.65); }

.field__err {
  font-size: 0.78rem;
  color: #ff7b7b;
  display: none;
}

.field.has-error .field__err { display: block; }

.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  font-size: 0.85rem;
  color: var(--muted);
  cursor: pointer;
  margin-bottom: 20px;
}

.checkbox input {
  appearance: none;
  flex: none;
  width: 20px;
  height: 20px;
  margin-top: 1px;
  border-radius: 6px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
  position: relative;
  transition: all var(--t-fast);
}

.checkbox input:checked {
  background: var(--grad-brand);
  border-color: transparent;
}

.checkbox.has-error input {
  border-color: rgba(255, 96, 96, 0.75);
  background: rgba(255, 96, 96, 0.08);
}

.checkbox input:checked::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 2px;
  width: 5px;
  height: 10px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.checkbox a { color: var(--brand-light); text-decoration: underline; text-underline-offset: 3px; }

.form-note {
  display: none;
  margin-top: 18px;
  padding: 15px 18px;
  border-radius: var(--r-sm);
  font-size: 0.88rem;
  border: 1px solid rgba(20, 209, 168, 0.35);
  background: rgba(20, 209, 168, 0.09);
  color: #7ff0d5;
}

.form-note.is-visible { display: block; animation: navIn 0.4s var(--e-out) forwards; }

/* ---------- 16. Footer --------------------------------------------------- */
.footer {
  position: relative;
  margin-top: clamp(60px, 8vw, 110px);
  padding-top: clamp(52px, 6vw, 84px);
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(10, 14, 24, 0.4), rgba(6, 8, 14, 0.9));
  overflow: hidden;
}

.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--grad-line);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.3fr;
  gap: clamp(28px, 3.4vw, 52px);
  padding-bottom: clamp(40px, 5vw, 60px);
}

.footer__brand img {
  height: 46px;
  width: auto;
  margin-bottom: 18px;
  filter: drop-shadow(0 6px 18px rgba(30, 155, 255, 0.3));
}

.footer__brand p {
  font-size: 0.9rem;
  color: var(--muted);
  max-width: 330px;
  margin-bottom: 22px;
}

.footer h4 {
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--dim);
  margin-bottom: 18px;
  font-family: var(--font-mono);
  font-weight: 500;
}

.footer__links { display: grid; gap: 11px; }

.footer__links a {
  font-size: 0.9rem;
  color: var(--text-soft);
  transition: color var(--t-fast), transform var(--t-fast);
  display: inline-block;
}

.footer__links a:hover { color: var(--brand-light); transform: translateX(4px); }

.footer__contact { display: grid; gap: 14px; font-size: 0.9rem; }

.footer__contact li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: var(--text-soft);
}

.footer__contact svg {
  width: 17px;
  height: 17px;
  flex: none;
  margin-top: 3px;
  color: var(--brand);
}

.footer__contact a:hover { color: var(--brand-light); }

.socials { display: flex; gap: 10px; }

.socials a {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.035);
  color: var(--text-soft);
  transition: all var(--t-fast);
}

.socials a:hover {
  color: #fff;
  border-color: rgba(30, 155, 255, 0.5);
  background: rgba(30, 155, 255, 0.12);
  transform: translateY(-3px);
}

.socials svg { width: 18px; height: 18px; }

.footer__bottom {
  border-top: 1px solid var(--line);
  padding-block: 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  font-size: 0.83rem;
  color: var(--dim);
}

.footer__bottom nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.footer__bottom a:hover { color: var(--brand-light); }

/* Newsletter */
.newsletter {
  display: flex;
  gap: 8px;
  padding: 6px;
  border-radius: var(--r-pill);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  margin-bottom: 22px;
  max-width: 330px;
}

.newsletter input {
  flex: 1;
  min-width: 0;
  padding: 9px 14px;
  font-size: 0.86rem;
}

.newsletter input::placeholder { color: var(--dim); }

.newsletter button {
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--grad-brand);
  display: grid;
  place-items: center;
  color: #fff;
  transition: transform var(--t-fast);
}

.newsletter button:hover { transform: scale(1.08); }
.newsletter svg { width: 16px; height: 16px; }

/* ---------- 17. CTA band ------------------------------------------------- */
.cta-band {
  position: relative;
  border-radius: var(--r-xl);
  padding: clamp(36px, 5vw, 72px);
  overflow: hidden;
  border: 1px solid rgba(30, 155, 255, 0.28);
  background:
    radial-gradient(700px 380px at 80% 0%, rgba(30, 155, 255, 0.28), transparent 62%),
    linear-gradient(150deg, rgba(20, 34, 58, 0.9), rgba(8, 11, 19, 0.95));
  text-align: center;
}

.cta-band::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(circle at 50% 50%, #000, transparent 72%);
  mask-image: radial-gradient(circle at 50% 50%, #000, transparent 72%);
  pointer-events: none;
}

.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { margin-bottom: 16px; }
.cta-band p { max-width: 620px; margin: 0 auto 30px; color: var(--text-soft); }
.cta-band .btn-row { justify-content: center; }

/* ---------- 18. Reveal animations ---------------------------------------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.75s var(--e-out), transform 0.75s var(--e-out);
  transition-delay: var(--delay, 0ms);
  will-change: opacity, transform;
}

[data-reveal="left"] { transform: translateX(-34px); }
[data-reveal="right"] { transform: translateX(34px); }
[data-reveal="scale"] { transform: scale(0.94); }

[data-reveal].is-in {
  opacity: 1;
  transform: none;
}

/* ---------- 19. Back to top ---------------------------------------------- */
.to-top {
  position: fixed;
  right: clamp(16px, 2.4vw, 30px);
  bottom: clamp(16px, 2.4vw, 30px);
  z-index: 90;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  background: rgba(14, 20, 33, 0.86);
  border: 1px solid var(--line-strong);
  backdrop-filter: blur(12px);
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  transition: all var(--t-med);
}

.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }

.to-top:hover {
  background: var(--grad-brand);
  border-color: transparent;
  box-shadow: var(--sh-brand);
}

.to-top svg { width: 18px; height: 18px; }

/* Scroll progress */
.progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 100%;
  z-index: 101;
  transform-origin: 0 50%;
  transform: scaleX(0);
  background: var(--grad-brand);
  box-shadow: 0 0 14px var(--brand-glow);
  pointer-events: none;
}

/* ---------- 20. Preloader ------------------------------------------------ */
.loader {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: grid;
  place-items: center;
  background: var(--bg);
  transition: opacity 0.6s var(--e-out), visibility 0.6s;
}

.loader.is-done { opacity: 0; visibility: hidden; }

.loader__inner { display: grid; justify-items: center; gap: 22px; }

.loader img {
  width: 76px;
  animation: loaderPulse 1.9s var(--e-in-out) infinite;
  filter: drop-shadow(0 8px 26px rgba(30, 155, 255, 0.45));
}

@keyframes loaderPulse {
  0%, 100% { transform: translateY(0) scale(1); opacity: 1; }
  50% { transform: translateY(-8px) scale(1.04); opacity: 0.75; }
}

.loader__bar {
  width: 160px;
  height: 3px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.loader__bar i {
  display: block;
  height: 100%;
  width: 40%;
  border-radius: 3px;
  background: var(--grad-brand);
  animation: loaderBar 1.2s var(--e-in-out) infinite;
}

@keyframes loaderBar {
  0% { transform: translateX(-110%); }
  100% { transform: translateX(320%); }
}

/* ---------- 21. Misc content blocks -------------------------------------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 4vw, 68px);
  align-items: center;
}

.split--wide-left { grid-template-columns: 1.15fr 1fr; }
.split--wide-right { grid-template-columns: 1fr 1.15fr; }

.media-frame {
  position: relative;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: linear-gradient(150deg, rgba(30, 155, 255, 0.12), rgba(255, 255, 255, 0.02));
  padding: clamp(18px, 2.4vw, 34px);
  overflow: hidden;
}

.media-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 30px 30px;
  pointer-events: none;
  -webkit-mask-image: radial-gradient(circle at 50% 50%, #000, transparent 78%);
  mask-image: radial-gradient(circle at 50% 50%, #000, transparent 78%);
}

.media-frame img { position: relative; z-index: 1; margin-inline: auto; }

.check-list { display: grid; gap: 14px; margin-top: 26px; }

.check-list li {
  display: flex;
  gap: 13px;
  align-items: flex-start;
  font-size: 0.94rem;
  color: var(--text-soft);
}

.check-list i {
  flex: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin-top: 2px;
  background: rgba(30, 155, 255, 0.14);
  border: 1px solid rgba(30, 155, 255, 0.35);
  position: relative;
}

.check-list i::after {
  content: "";
  width: 5px;
  height: 9px;
  border: solid var(--brand-light);
  border-width: 0 2px 2px 0;
  transform: translateY(-1px) rotate(45deg);
}

.check-list strong { color: var(--text); font-weight: 600; }

/* Timeline */
.timeline { position: relative; display: grid; gap: 4px; }

.timeline::before {
  content: "";
  position: absolute;
  left: 15px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(180deg, transparent, rgba(30, 155, 255, 0.5) 12%, rgba(30, 155, 255, 0.5) 88%, transparent);
}

.tl-item {
  position: relative;
  padding: 0 0 34px 52px;
}

.tl-item::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 5px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--brand);
  box-shadow: 0 0 0 4px rgba(30, 155, 255, 0.13);
}

.tl-item__year {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  color: var(--brand-light);
  margin-bottom: 6px;
}

.tl-item h4 { margin-bottom: 7px; }
.tl-item p { font-size: 0.9rem; color: var(--muted); }

/* Process steps */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(16px, 2vw, 24px);
  counter-reset: step;
}

/* two-up variant that collapses on its own, without a breakpoint */
.steps--2 {
  grid-template-columns: repeat(auto-fit, minmax(min(180px, 100%), 1fr));
}

.step {
  position: relative;
  padding: clamp(22px, 2.4vw, 30px);
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.028);
  transition: border-color var(--t-med), transform var(--t-med), background var(--t-med);
}

.step:hover {
  border-color: rgba(30, 155, 255, 0.35);
  background: rgba(30, 155, 255, 0.05);
  transform: translateY(-5px);
}

.step__badge {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--brand-light);
  background: rgba(30, 155, 255, 0.12);
  border: 1px solid rgba(30, 155, 255, 0.3);
  margin-bottom: 18px;
}

.step h4 { margin-bottom: 9px; }
.step p { font-size: 0.88rem; color: var(--muted); }

/* ---------- 22. Portfolio ------------------------------------------------- */
.work-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: clamp(18px, 2vw, 26px);
}

.work {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--bg-elev);
  transition: transform var(--t-med), border-color var(--t-med), box-shadow var(--t-med);
  display: flex;
  flex-direction: column;
}

.work.is-hidden { display: none; }

.work:hover {
  transform: translateY(-7px);
  border-color: rgba(30, 155, 255, 0.4);
  box-shadow: var(--sh-md);
}

.work__thumb {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: linear-gradient(150deg, var(--t1, #17263f), var(--t2, #0b1220));
  display: grid;
  place-items: center;
}

.work__thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 34px 34px;
  opacity: 0.6;
  transition: transform var(--t-slow);
}

.work:hover .work__thumb::after { transform: scale(1.12); }

.work__mark {
  position: relative;
  z-index: 1;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  letter-spacing: -0.02em;
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
  padding: 0 22px;
  text-align: center;
  transition: transform var(--t-med);
}

.work:hover .work__mark { transform: scale(1.05); }

.work__cat {
  position: absolute;
  z-index: 2;
  top: 14px;
  left: 14px;
  padding: 6px 13px;
  border-radius: var(--r-pill);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(6, 8, 14, 0.66);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.work__body {
  padding: 22px clamp(18px, 2vw, 24px) 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.work__body h3 { font-size: 1.15rem; }
.work__body p { font-size: 0.89rem; color: var(--muted); flex: 1; }

.work__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 14px;
  margin-top: 4px;
  border-top: 1px solid var(--line);
  font-size: 0.79rem;
  color: var(--dim);
  font-family: var(--font-mono);
}

/* ---------- 23. Blog ------------------------------------------------------ */
.post-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
  gap: clamp(18px, 2vw, 26px);
}

.post {
  display: flex;
  flex-direction: column;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.028);
  transition: transform var(--t-med), border-color var(--t-med), box-shadow var(--t-med);
}

.post.is-hidden { display: none; }

.post:hover {
  transform: translateY(-6px);
  border-color: rgba(30, 155, 255, 0.36);
  box-shadow: var(--sh-md);
}

.post__thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  background: linear-gradient(145deg, var(--t1, #16233a), var(--t2, #0a1120));
  display: grid;
  place-items: center;
  overflow: hidden;
}

.post__thumb span {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}

.post__thumb::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(400px circle at 30% 20%, rgba(30, 155, 255, 0.25), transparent 60%);
}

.post__body {
  padding: 20px clamp(18px, 2vw, 24px) 24px;
  display: flex;
  flex-direction: column;
  gap: 11px;
  flex: 1;
}

.post__top {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.76rem;
  font-family: var(--font-mono);
  color: var(--dim);
}

.post__top b {
  color: var(--brand-light);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.post__body h3 {
  font-size: 1.1rem;
  line-height: 1.35;
  transition: color var(--t-fast);
}

.post:hover .post__body h3 { color: var(--brand-light); }
.post__body p { font-size: 0.89rem; color: var(--muted); flex: 1; }

/* Article */
.article { max-width: 780px; margin-inline: auto; }
.article > * + * { margin-top: 22px; }

.article h2 {
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  margin-top: 46px;
}

.article h3 { font-size: clamp(1.15rem, 1.7vw, 1.35rem); margin-top: 34px; }
.article p { color: var(--text-soft); line-height: 1.85; }

.article ul, .article ol { display: grid; gap: 11px; padding-left: 4px; }

.article li {
  position: relative;
  padding-left: 26px;
  color: var(--text-soft);
}

.article li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 0.68em;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--brand);
  box-shadow: 0 0 10px var(--brand-glow);
}

.article blockquote {
  padding: 24px 28px;
  border-radius: var(--r-md);
  border-left: 3px solid var(--brand);
  background: rgba(30, 155, 255, 0.07);
  font-size: 1.05rem;
  color: var(--text);
  font-style: italic;
}

.article code {
  font-family: var(--font-mono);
  font-size: 0.86em;
  padding: 2px 7px;
  border-radius: 6px;
  background: rgba(30, 155, 255, 0.12);
  color: var(--brand-light);
}

.article pre {
  padding: 22px;
  border-radius: var(--r-md);
  background: #080b13;
  border: 1px solid var(--line);
  overflow-x: auto;
  font-family: var(--font-mono);
  font-size: 0.84rem;
  line-height: 1.75;
}

.article pre code { background: none; padding: 0; color: var(--text-soft); }

/* ---------- 24. Testimonials ----------------------------------------------- */
.quotes { position: relative; overflow: hidden; }

.quotes__viewport { overflow: hidden; }

.quotes__track {
  display: flex;
  transition: transform 0.6s var(--e-out);
}

.quote {
  flex: 0 0 100%;
  padding: clamp(26px, 3.4vw, 46px);
  text-align: center;
}

.quote__stars {
  display: flex;
  justify-content: center;
  gap: 4px;
  margin-bottom: 20px;
  color: #ffc248;
}

.quote__stars svg { width: 18px; height: 18px; }

.quote p {
  font-size: clamp(1.02rem, 1.7vw, 1.32rem);
  line-height: 1.7;
  color: var(--text);
  font-family: var(--font-display);
  font-weight: 500;
  max-width: 760px;
  margin: 0 auto 26px;
}

.quote__who {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.quote__av {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  color: #fff;
  background: var(--grad-brand);
  flex: none;
}

.quote__who div { text-align: left; }
.quote__who strong { display: block; color: var(--text); font-size: 0.95rem; }
.quote__who span { font-size: 0.82rem; color: var(--muted); }

.quotes__nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 8px;
}

.quotes__dots { display: flex; gap: 8px; }

.quotes__dots button {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transition: all var(--t-fast);
}

.quotes__dots button.is-active {
  width: 26px;
  border-radius: 4px;
  background: var(--grad-brand);
}

.qbtn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.035);
  display: grid;
  place-items: center;
  color: var(--text-soft);
  transition: all var(--t-fast);
}

.qbtn:hover { color: #fff; border-color: rgba(30, 155, 255, 0.5); background: rgba(30, 155, 255, 0.12); }
.qbtn svg { width: 17px; height: 17px; }

/* ---------- 25. Team ------------------------------------------------------- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: clamp(16px, 2vw, 24px);
}

.member {
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.028);
  overflow: hidden;
  transition: transform var(--t-med), border-color var(--t-med);
  text-align: center;
  padding-bottom: 24px;
}

.member:hover { transform: translateY(-6px); border-color: rgba(30, 155, 255, 0.36); }

.member__ph {
  aspect-ratio: 1 / 1;
  display: grid;
  place-items: center;
  background: linear-gradient(150deg, var(--t1, #182741), var(--t2, #0a1120));
  position: relative;
}

.member__ph span {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.86);
  letter-spacing: -0.03em;
}

.member__ph::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(320px circle at 50% 110%, rgba(30, 155, 255, 0.3), transparent 62%);
}

.member h4 { margin: 20px 0 4px; font-size: 1.02rem; }
.member p { font-size: 0.83rem; color: var(--brand-light); font-family: var(--font-mono); }

/* ---------- 26. Pricing ---------------------------------------------------- */
.plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(18px, 2vw, 26px);
  align-items: start;
}

.plan {
  position: relative;
  padding: clamp(26px, 2.8vw, 36px);
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015));
  transition: transform var(--t-med), border-color var(--t-med), box-shadow var(--t-med);
}

.plan:hover { transform: translateY(-6px); border-color: rgba(30, 155, 255, 0.34); }

.plan.is-featured {
  border-color: rgba(30, 155, 255, 0.5);
  background:
    radial-gradient(600px 300px at 50% -10%, rgba(30, 155, 255, 0.2), transparent 60%),
    linear-gradient(160deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  box-shadow: 0 30px 70px -30px rgba(30, 155, 255, 0.55);
}

.plan__flag {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  padding: 6px 16px;
  border-radius: var(--r-pill);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  background: var(--grad-brand);
  white-space: nowrap;
  box-shadow: var(--sh-brand);
}

.plan h3 { font-size: 1.2rem; margin-bottom: 6px; }
.plan > p { font-size: 0.88rem; color: var(--muted); margin-bottom: 22px; }

.plan__price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding-bottom: 22px;
  margin-bottom: 22px;
  border-bottom: 1px solid var(--line);
}

.plan__price b {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3vw, 2.4rem);
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.02em;
}

.plan__price span { font-size: 0.84rem; color: var(--dim); }

.plan ul { display: grid; gap: 12px; margin-bottom: 28px; }

.plan li {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  font-size: 0.88rem;
  color: var(--text-soft);
}

.plan li svg { width: 17px; height: 17px; flex: none; margin-top: 3px; color: var(--brand); }
.plan li.is-off { color: var(--dim); }
.plan li.is-off svg { color: var(--dim); opacity: 0.5; }

/* ---------- 27. Contact ---------------------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: clamp(26px, 3.4vw, 52px);
  align-items: start;
}

.info-card {
  display: flex;
  gap: 16px;
  padding: 22px;
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  transition: border-color var(--t-med), transform var(--t-med);
}

.info-card:hover { border-color: rgba(30, 155, 255, 0.36); transform: translateX(4px); }

.info-card__ico {
  flex: none;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: var(--brand-light);
  background: rgba(30, 155, 255, 0.12);
  border: 1px solid rgba(30, 155, 255, 0.28);
}

.info-card__ico svg { width: 20px; height: 20px; }
.info-card h4 { font-size: 0.95rem; margin-bottom: 5px; }
.info-card p, .info-card a { font-size: 0.88rem; color: var(--muted); }
.info-card a:hover { color: var(--brand-light); }

.map-frame {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  aspect-ratio: 16 / 8;
  background:
    radial-gradient(500px 260px at 50% 50%, rgba(30, 155, 255, 0.16), transparent 65%),
    linear-gradient(160deg, #0d1526, #070a12);
  display: grid;
  place-items: center;
}

.map-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 46px 46px;
}

.map-pin {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  gap: 12px;
  text-align: center;
}

.map-pin i {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 0 var(--brand-glow);
  animation: pin 2.4s var(--e-in-out) infinite;
}

@keyframes pin {
  0% { box-shadow: 0 0 0 0 rgba(30, 155, 255, 0.6); }
  70% { box-shadow: 0 0 0 26px rgba(30, 155, 255, 0); }
  100% { box-shadow: 0 0 0 0 rgba(30, 155, 255, 0); }
}

.map-pin b { font-family: var(--font-display); color: var(--text); }
.map-pin span { font-size: 0.85rem; color: var(--muted); }

/* ---------- 28. Utilities --------------------------------------------------- */
.center { text-align: center; }
.mt-0 { margin-top: 0; }
.mt-s { margin-top: 14px; }
.mt-m { margin-top: 26px; }
.mt-l { margin-top: 44px; }
.mb-m { margin-bottom: 26px; }
.mb-l { margin-bottom: 44px; }
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 50%;
  top: -60px;
  transform: translateX(-50%);
  z-index: 200;
  padding: 12px 22px;
  border-radius: 0 0 12px 12px;
  background: var(--brand);
  color: #fff;
  font-weight: 600;
  transition: top var(--t-fast);
}

.skip-link:focus { top: 0; }

/* ---------- 29. Responsive --------------------------------------------------- */
@media (max-width: 1080px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .plans { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
}

@media (max-width: 960px) {
  :root { --header-h: 70px; }

  .nav, .header__cta { display: none; }
  .burger { display: flex; }

  .split,
  .split--wide-left,
  .split--wide-right { grid-template-columns: 1fr; }

  .contact-grid { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 680px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 34px; }
  .footer__bottom { flex-direction: column; text-align: center; }
  .work-grid, .post-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .btn { padding: 13px 22px; font-size: 0.9rem; }
  .btn-row .btn { flex: 1 1 auto; }
  .newsletter { max-width: none; }
}

@media (max-width: 420px) {
  .stats { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
}

/* ---------- 30. Reduced motion ------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  [data-reveal] { opacity: 1 !important; transform: none !important; }
  .marquee__track { animation: none; }
}

/* ---------- 31. Print ---------------------------------------------------------- */
@media print {
  .header, .mobile-nav, .to-top, .progress-bar, .loader, .bg-fx, .bg-grid { display: none !important; }
  body { background: #fff; color: #000; }
}
