/* =========================================================================
   TEN — Marketing Agency Website
   Single stylesheet. Dark theme. Matches the supplied Home/About/Contact
   mockups and extends the same system to the new pages.
   ========================================================================= */

/* ---------- Tokens ---------- */
:root {
  --bg:            #0A0E1A;
  --bg-2:          #0C1120;
  --surface:       #10162A;
  --surface-2:     #131A31;
  --border:        rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.15);

  --text:     #EAF0FA;
  --muted:    #8B99AE;
  --muted-2:  #63718A;

  --brand:     #2F6BFF;
  --brand-600: #2358E6;
  --cyan:      #37D5E6;
  --grad:      linear-gradient(103deg, #3B7BFF 0%, #37D5E6 100%);

  --radius:    16px;
  --radius-sm: 12px;
  --radius-lg: 24px;

  --container: 1200px;
  --gutter:    24px;

  --shadow-glow: 0 20px 60px -20px rgba(47, 107, 255, 0.45);

  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-display: "Inter Tight", var(--font);
}

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

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

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

button { font-family: inherit; cursor: pointer; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0 0 0.5em;
  color: #fff;
}

p { margin: 0 0 1em; }

::selection { background: rgba(47, 107, 255, 0.35); color: #fff; }

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

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

.section { padding: clamp(64px, 10vw, 120px) 0; }
.section--tight { padding: clamp(48px, 7vw, 80px) 0; }
.section--alt { background: var(--bg-2); }

.section-head {
  max-width: 640px;
  margin: 0 auto clamp(40px, 6vw, 64px);
  text-align: center;
}
.section-head p { color: var(--muted); margin: 0; }

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  border: 1px solid rgba(55, 213, 230, 0.35);
  border-radius: 999px;
  background: rgba(47, 107, 255, 0.08);
  color: var(--cyan);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 28px;
}
.eyebrow svg { width: 15px; height: 15px; }

h1 { font-size: clamp(2.6rem, 6.2vw, 4.6rem); }
h2 { font-size: clamp(2rem, 4.4vw, 3.1rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.4rem); }

.lead {
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  color: var(--muted);
  max-width: 44ch;
}

.muted { color: var(--muted); }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--brand);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 28px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--btn-bg);
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  transition: transform 0.16s ease, background 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn:hover { background: var(--brand-600); transform: translateY(-2px); box-shadow: var(--shadow-glow); }
.btn:active { transform: translateY(0); }

.btn--ghost {
  background: transparent;
  border-color: var(--border-strong);
  color: var(--text);
}
.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.32);
  box-shadow: none;
}

.btn--sm { padding: 11px 20px; font-size: 0.85rem; }
.btn--block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 14, 26, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.site-header.is-scrolled {
  border-bottom-color: var(--border);
  background: rgba(10, 14, 26, 0.9);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 76px;
}

.brand { display: inline-flex; align-items: center; flex-shrink: 0; }
.brand img { height: 24px; width: auto; }

.nav {
  display: flex;
  align-items: center;
  gap: 34px;
  margin-left: auto;
}
.nav a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.15s ease;
}
.nav a:hover { color: var(--text); }
.nav a[aria-current="page"] { color: var(--brand); }

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

/* language switch */
.lang {
  display: inline-flex;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  overflow: hidden;
}
.lang button {
  background: transparent;
  border: 0;
  color: var(--muted-2);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 7px 12px;
  transition: color 0.15s ease, background 0.15s ease;
}
.lang button[aria-pressed="true"] {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  background: transparent;
  color: var(--text);
  align-items: center;
  justify-content: center;
}
.nav-toggle svg { width: 20px; height: 20px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  text-align: center;
  padding: clamp(72px, 13vw, 150px) 0 clamp(64px, 10vw, 120px);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: -40% 0 auto 0;
  height: 900px;
  background:
    radial-gradient(ellipse 60% 50% at 50% 30%, rgba(47, 107, 255, 0.22), transparent 70%),
    radial-gradient(ellipse 40% 40% at 70% 10%, rgba(55, 213, 230, 0.1), transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.hero > * { position: relative; z-index: 1; }
.hero h1 { margin-bottom: 24px; }
.hero .lead { margin-inline: auto; text-align: center; max-width: 58ch; }
.hero-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 40px;
}

/* page hero (interior pages) */
.page-hero {
  position: relative;
  padding: clamp(64px, 11vw, 130px) 0 clamp(40px, 7vw, 72px);
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: -50% 40% auto -10%;
  height: 700px;
  background: radial-gradient(ellipse 50% 50% at 30% 30%, rgba(47, 107, 255, 0.16), transparent 70%);
  pointer-events: none;
}
.page-hero > * { position: relative; }
.page-hero .lead { max-width: 60ch; }
.page-hero--center { text-align: center; }
.page-hero--center .lead { margin-inline: auto; }

/* ---------- Stats bar ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  border-block: 1px solid var(--border);
  padding: clamp(40px, 6vw, 56px) 0;
}
.stat { text-align: center; }
.stat b {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.03em;
  color: #fff;
  line-height: 1;
}
.stat span {
  display: block;
  margin-top: 10px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-2);
}

/* ---------- Client logos ---------- */
.clients { padding: clamp(48px, 7vw, 76px) 0; }
.clients-label {
  text-align: center;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin: 0 0 36px;
}
.clients-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 10px;
}
.clients-grid li {
  flex: 0 0 auto;
  width: calc(20% - 10px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px 14px;
  min-height: 88px;
}
.clients-grid img {
  max-height: 46px;
  max-width: 100%;
  width: auto;
  opacity: 0.62;
  transition: opacity 0.2s ease;
}
.clients-grid li:hover img { opacity: 1; }

@media (max-width: 900px) {
  .clients-grid li { width: calc(33.333% - 10px); }
}
@media (max-width: 480px) {
  .clients-grid li { width: calc(50% - 10px); min-height: 76px; }
  .clients-grid img { max-height: 38px; }
}

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

.card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  overflow: hidden;
  transition: border-color 0.2s ease, transform 0.2s ease, background 0.2s ease;
}
.card--hover:hover { transform: translateY(-4px); border-color: var(--border-strong); background: var(--surface-2); }

.card-ico {
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(47, 107, 255, 0.12);
  color: var(--cyan);
  margin-bottom: 22px;
}
.card-ico svg { width: 22px; height: 22px; }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--muted); margin: 0; font-size: 0.96rem; }

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 20px;
  color: var(--brand);
  font-weight: 600;
  font-size: 0.9rem;
}
.card-link svg { width: 15px; height: 15px; transition: transform 0.15s ease; }
.card--hover:hover .card-link svg { transform: translateX(4px); }

/* ---------- Split feature (Data-driven) ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}
.split--rev .split__media { order: -1; }

.svc-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.feature-list { display: grid; gap: 26px; margin-top: 32px; }
.feature {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 18px;
}
.feature .card-ico { margin-bottom: 0; width: 44px; height: 44px; }
.feature h3 { font-size: 1.1rem; margin-bottom: 4px; }
.feature p { color: var(--muted); margin: 0; font-size: 0.94rem; }

.media-frame {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, #0e1428 0%, #0a0f1e 100%);
  padding: 8px;
  overflow: hidden;
}
.media-frame svg, .media-frame img { border-radius: 18px; width: 100%; }

/* ---------- Process / steps (numbered) ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.step__num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 3rem;
  line-height: 1;
  color: rgba(47, 107, 255, 0.3);
  letter-spacing: -0.04em;
}
.step h3 { margin: 14px 0 8px; }
.step p { color: var(--muted); margin: 0; font-size: 0.95rem; }

/* ---------- Team ---------- */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.team-grid--3 { grid-template-columns: repeat(3, 1fr); max-width: 900px; margin-inline: auto; }
.team-grid--3 .avatar { aspect-ratio: 1 / 1; }
.member figure { margin: 0; }
.avatar {
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2.4rem;
  color: rgba(255, 255, 255, 0.9);
  letter-spacing: 0.02em;
  background: linear-gradient(155deg, #1b2340 0%, #0c1120 60%, #0e1b2e 100%);
  filter: grayscale(0.2);
  overflow: hidden;
}
.member figcaption { margin-top: 16px; }
.member b { display: block; color: #fff; font-weight: 700; font-family: var(--font-display); font-size: 1.05rem; }
.member span { display: block; color: var(--cyan); font-size: 0.85rem; font-weight: 600; margin-top: 2px; }

/* ---------- Portfolio ---------- */
.filters {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 44px;
}
.filter {
  padding: 9px 18px;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 600;
  transition: color 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}
.filter:hover { color: var(--text); }
.filter.is-active { background: var(--brand); border-color: var(--brand); color: #fff; }

.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.work-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.work-card:hover { transform: translateY(-4px); border-color: var(--border-strong); }
.work-thumb {
  aspect-ratio: 16 / 7;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  color: #fff;
  overflow: hidden;
}
.work-logo {
  position: relative;
  z-index: 1;
  max-height: 46px;
  max-width: 58%;
  width: auto;
  opacity: 0.9;
}
.work-thumb svg.bg { position: absolute; inset: 0; width: 100%; height: 100%; }
.work-thumb {
  background: linear-gradient(135deg, #16305f 0%, #0b1020 100%);
}
.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: 28px 28px;
  mask-image: radial-gradient(ellipse 80% 80% at 30% 20%, #000, transparent 75%);
}
.work-card:nth-of-type(3n+2) .work-thumb { background: linear-gradient(135deg, #1c2b52 0%, #0b1020 100%); }
.work-card:nth-of-type(3n+3) .work-thumb { background: linear-gradient(135deg, #123f4a 0%, #0b1020 100%); }
.work-thumb .tag {
  position: relative;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(10, 14, 26, 0.6);
  backdrop-filter: blur(4px);
  border: 1px solid var(--border-strong);
  padding: 5px 12px;
  border-radius: 999px;
}
.work-body { padding: 24px; }
.work-body h3 { font-size: 1.15rem; margin-bottom: 6px; }
.work-body .result { color: var(--cyan); font-weight: 600; font-size: 0.9rem; margin: 0 0 4px; }
.work-body .client { color: var(--muted-2); font-size: 0.85rem; margin: 0; }

/* ---------- Case study ---------- */
.case-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  border-block: 1px solid var(--border);
  padding: 28px 0;
  margin-bottom: 56px;
}
.case-meta div span {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 4px;
}
.case-meta div b { color: #fff; font-weight: 600; font-family: var(--font-display); }

.result-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 48px 0;
}
.result-tile {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 28px;
  text-align: center;
}
.result-tile.pillar { text-align: left; }
.result-tile.pillar b {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: #fff;
  margin-bottom: 8px;
}
.result-tile.pillar span { display: block; color: var(--muted); font-size: 0.92rem; line-height: 1.55; }
.result-tile b {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.9rem, 3.5vw, 2.6rem);
  letter-spacing: -0.03em;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.result-tile span { display: block; margin-top: 8px; color: var(--muted); font-size: 0.85rem; }

.rich { max-width: 760px; }
.rich h2 { margin-top: 8px; }
.rich h3 { margin-top: 36px; }
.rich p, .rich li { color: var(--muted); }
.rich ul { padding-left: 20px; }
.rich li { margin-bottom: 8px; }
.rich > *:first-child { margin-top: 0; }

.pullquote {
  border-left: 3px solid var(--brand);
  padding: 8px 0 8px 28px;
  margin: 48px 0;
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.4vw, 1.7rem);
  font-weight: 600;
  line-height: 1.4;
  color: #fff;
  letter-spacing: -0.01em;
}
.pullquote footer { margin-top: 14px; font-family: var(--font); font-size: 0.9rem; font-weight: 500; color: var(--muted); }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}
.form-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 4vw, 40px);
}
.form-card h2 { font-size: 1.4rem; margin-bottom: 24px; }
.field { margin-bottom: 20px; }
.field label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
}
.field input, .field textarea {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  color: var(--text);
  font: inherit;
  font-size: 0.95rem;
  padding: 13px 15px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input::placeholder, .field textarea::placeholder { color: var(--muted-2); }
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(47, 107, 255, 0.18);
}
.form-note { font-size: 0.8rem; color: var(--muted-2); margin: 14px 0 0; }
.form-status { margin-top: 16px; font-size: 0.9rem; font-weight: 600; display: none; }
.form-status.is-visible { display: block; }
.form-status.ok { color: #4ade80; }
.form-status.err { color: #f87171; }

.lines h2 { font-size: 1.4rem; margin-bottom: 24px; }
.line {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
}
.line:last-child { border-bottom: 0; }
.line .card-ico { margin-bottom: 0; width: 44px; height: 44px; background: rgba(47, 107, 255, 0.12); }
.line b { display: block; color: #fff; font-weight: 600; font-family: var(--font-display); }
.line p { margin: 2px 0 0; color: var(--muted); font-size: 0.92rem; }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  text-align: center;
  padding: clamp(72px, 11vw, 130px) 0;
  overflow: hidden;
  border-top: 1px solid var(--border);
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: auto 0 -60% 0;
  height: 700px;
  background: radial-gradient(ellipse 50% 60% at 50% 80%, rgba(47, 107, 255, 0.2), transparent 70%);
  pointer-events: none;
}
.cta-band > * { position: relative; }
.cta-band h2 { max-width: 16ch; margin-inline: auto; }
.cta-band p { color: var(--muted); max-width: 52ch; margin: 0 auto 36px; }

/* ---------- Footer ---------- */
.site-footer {
  background: #080B14;
  border-top: 1px solid var(--border);
  padding: clamp(56px, 8vw, 80px) 0 32px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 44px;
}
.footer-brand img { height: 24px; margin-bottom: 18px; }
.footer-brand p { color: var(--muted); font-size: 0.92rem; max-width: 34ch; margin: 0; }
.footer-col h4 {
  font-family: var(--font);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin: 0 0 16px;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-col a, .footer-col p { color: var(--muted); font-size: 0.92rem; margin: 0; transition: color 0.15s ease; }
.footer-col a:hover { color: var(--text); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-bottom small { color: var(--muted-2); font-size: 0.82rem; }
.socials { display: flex; gap: 20px; }
.socials a { color: var(--muted); font-size: 0.85rem; }
.socials a:hover { color: var(--text); }

/* ---------- Prose (privacy) ---------- */
.prose { max-width: 720px; margin-inline: auto; }
.prose h2 { font-size: 1.5rem; margin: 40px 0 12px; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { color: var(--muted); }
.prose ul { padding-left: 20px; }
.prose li { margin-bottom: 8px; }
.prose a { color: var(--brand); }
.prose strong { color: var(--text); }

/* ---------- 404 ---------- */
.err-page {
  min-height: 70vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px var(--gutter);
}
.err-page .code {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(5rem, 18vw, 11rem);
  line-height: 1;
  letter-spacing: -0.04em;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Cookie consent bar ---------- */
.consent-bar {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 200;
  display: flex;
  align-items: center;
  gap: 20px;
  max-width: 720px;
  margin-inline: auto;
  padding: 16px 20px;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  box-shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.6);
}
.consent-text { margin: 0; font-size: 0.88rem; color: var(--muted); }
.consent-text a { color: var(--brand); }
.consent-actions { display: flex; gap: 10px; flex-shrink: 0; }

@media (max-width: 560px) {
  .consent-bar { flex-direction: column; align-items: stretch; gap: 14px; }
  .consent-actions { justify-content: stretch; }
  .consent-actions .btn { flex: 1; }
}

/* ---------- Reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s cubic-bezier(0.2, 0.6, 0.2, 1), transform 0.6s cubic-bezier(0.2, 0.6, 0.2, 1);
}
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- Skip link ---------- */
.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  background: var(--brand);
  color: #fff;
  padding: 10px 18px;
  border-radius: 10px;
  z-index: 200;
  transition: top 0.15s ease;
}
.skip-link:focus { top: 16px; }

/* ---------- Mobile nav panel ---------- */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 76px 0 auto 0;
  z-index: 99;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  padding: 24px var(--gutter) 32px;
}
.mobile-nav.is-open { display: block; }
.mobile-nav a {
  display: block;
  padding: 14px 0;
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--text);
  border-bottom: 1px solid var(--border);
}
.mobile-nav a[aria-current="page"] { color: var(--brand); }
.mobile-nav .btn { margin-top: 24px; width: 100%; }
.mobile-nav .lang { margin-top: 20px; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .grid--3, .steps, .work-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 36px 24px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 860px) {
  .nav, .header-actions .lang, .header-actions .btn { display: none; }
  .nav-toggle { display: inline-flex; }
  .split { grid-template-columns: 1fr; }
  .split--rev .split__media { order: 0; }
  .svc-row { grid-template-columns: 1fr; gap: 24px; }
  .contact-grid { grid-template-columns: 1fr; }
  .result-row { grid-template-columns: 1fr; }
  .case-meta { gap: 20px 32px; }
}

@media (max-width: 560px) {
  :root { --gutter: 18px; }
  .grid--3, .grid--2, .grid--4, .steps, .work-grid, .team-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .hero-cta { flex-direction: column; }
  .hero-cta .btn { width: 100%; }
  .card { padding: 26px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}
