/* ===========================================================
   2020 Developers — Portfolio
   Design system + layout + components + animations
   =========================================================== */

/* Self-hosted fonts (GDPR-friendly — no third-party requests to Google) */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("../assets/fonts/inter-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Sora";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../assets/fonts/sora-latin.woff2") format("woff2");
}

:root {
  /* Palette */
  --bg: #0a0a0f;
  --bg-2: #0f0f17;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-2: rgba(255, 255, 255, 0.06);
  --border: rgba(255, 255, 255, 0.09);
  --border-strong: rgba(255, 255, 255, 0.16);
  --text: #f4f4f8;
  --muted: #a3a3b2;
  --muted-2: #6f6f80;

  /* Brand */
  --brand: #6d5efc;
  --brand-2: #22d3ee;
  --brand-3: #f472b6;
  --grad: linear-gradient(110deg, var(--brand), var(--brand-2));

  /* Type */
  --font-display: "Sora", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;

  /* Layout */
  --container: 1180px;
  --radius: 18px;
  --radius-lg: 26px;

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- 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);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
ul, ol { list-style: none; }

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

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1.2rem, 4vw, 2.5rem);
}

/* ---------- Background decor ---------- */
.bg-grid {
  position: fixed; inset: 0; z-index: -2;
  background-image:
    linear-gradient(to right, rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(circle at 50% 0%, #000 0%, transparent 70%);
}
.bg-orbs { position: fixed; inset: 0; z-index: -3; overflow: hidden; }
.orb {
  position: absolute; border-radius: 50%;
  filter: blur(90px); opacity: .55;
  will-change: transform;
}
.orb-1 { width: 520px; height: 520px; top: -160px; left: -120px;
  background: radial-gradient(circle, var(--brand), transparent 70%); }
.orb-2 { width: 480px; height: 480px; top: 30%; right: -180px;
  background: radial-gradient(circle, var(--brand-2), transparent 70%); opacity: .4; }
.orb-3 { width: 420px; height: 420px; bottom: -160px; left: 30%;
  background: radial-gradient(circle, var(--brand-3), transparent 70%); opacity: .35; }

/* ---------- Scroll progress ---------- */
.scroll-progress {
  position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 1000;
  background: transparent;
}
.scroll-progress span {
  display: block; height: 100%; width: 0%;
  background: var(--grad);
  box-shadow: 0 0 12px var(--brand);
}

/* ---------- Custom cursor ---------- */
.cursor, .cursor-dot { position: fixed; top: 0; left: 0; z-index: 1100; pointer-events: none; border-radius: 50%; }
.cursor {
  width: 34px; height: 34px; border: 1.5px solid var(--border-strong);
  transform: translate(-50%, -50%);
  transition: width .25s var(--ease), height .25s var(--ease), border-color .25s, background .25s;
  mix-blend-mode: difference;
}
.cursor-dot { width: 6px; height: 6px; background: var(--text); transform: translate(-50%, -50%); }
.cursor.is-active { width: 56px; height: 56px; background: rgba(255,255,255,.08); border-color: transparent; }
@media (hover: none), (pointer: coarse) { .cursor, .cursor-dot { display: none; } }

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 900;
  padding: 1.1rem 0;
  transition: padding .35s var(--ease), background .35s, border-color .35s, backdrop-filter .35s;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  padding: .65rem 0;
  background: rgba(10, 10, 15, 0.72);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; }

.brand { display: inline-flex; align-items: center; gap: .6rem; font-family: var(--font-display); font-weight: 800; }
.brand__text { font-size: .98rem; font-weight: 600; color: var(--text); letter-spacing: -.01em; }
.brand__text b { font-weight: 800; }

/* Animated SVG logo mark */
.logo-mark { width: 34px; height: 34px; overflow: visible; flex: none; transition: transform .5s var(--ease); }
.brand:hover .logo-mark { transform: rotate(-4deg) scale(1.05); }

.logo-frame path {
  stroke-dasharray: 130; stroke-dashoffset: 130;
  animation: logoDraw .9s var(--ease) forwards;
}
.logo-frame path:nth-child(1) { animation-delay: .05s; }
.logo-frame path:nth-child(2) { animation-delay: .18s; }
.logo-frame path:nth-child(3) { animation-delay: .31s; }
.logo-frame path:nth-child(4) { animation-delay: .44s; }

.logo-eyes circle {
  transform-box: fill-box; transform-origin: center; transform: scale(0);
  animation: logoPop .5s var(--ease) forwards 1s, logoBlink 5.5s ease-in-out 3s infinite;
}
.logo-eyes circle:nth-child(2) { animation-delay: 1.12s, 3.25s; }

.logo-bars path {
  stroke-dasharray: 60; stroke-dashoffset: 60;
  animation: logoDraw .55s var(--ease) forwards;
}
.logo-bars path:nth-child(1) { animation-delay: 1.2s; }
.logo-bars path:nth-child(2) { animation-delay: 1.35s; }

@keyframes logoDraw { to { stroke-dashoffset: 0; } }
@keyframes logoPop { 0% { transform: scale(0); } 70% { transform: scale(1.25); } 100% { transform: scale(1); } }
@keyframes logoBlink {
  0%, 92%, 100% { transform: scaleY(1); }
  95% { transform: scaleY(.1); }
}

/* Footer variant */
.brand--footer .logo-mark { width: 38px; height: 38px; }
.brand--footer { margin-bottom: 0; }

.nav__links { display: flex; align-items: center; gap: 2rem; }
.nav__link { font-size: .92rem; color: var(--muted); font-weight: 500; position: relative; transition: color .25s; }
.nav__link::after {
  content: ""; position: absolute; left: 0; bottom: -6px; width: 0; height: 2px;
  background: var(--grad); transition: width .3s var(--ease);
}
.nav__link:hover, .nav__link.is-active { color: var(--text); }
.nav__link:hover::after, .nav__link.is-active::after { width: 100%; }

.nav__cta {
  font-size: .9rem; font-weight: 600; padding: .6rem 1.15rem; border-radius: 999px;
  background: var(--surface-2); border: 1px solid var(--border);
  transition: transform .25s var(--ease), background .25s, border-color .25s;
}
.nav__cta:hover { background: var(--brand); border-color: var(--brand); transform: translateY(-2px); }

.nav__toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; padding: 8px; }
.nav__toggle span { width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .3s var(--ease), opacity .3s; }
.nav.is-open .nav__toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav.is-open .nav__toggle span:nth-child(2) { opacity: 0; }
.nav.is-open .nav__toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--font-display); font-weight: 600; font-size: .98rem;
  padding: .92rem 1.6rem; border-radius: 999px; border: 1px solid transparent;
  transition: transform .25s var(--ease), box-shadow .3s, background .3s, border-color .3s;
  will-change: transform;
}
.btn svg { transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn--primary { background: var(--grad); color: #fff; box-shadow: 0 10px 30px -8px rgba(109, 94, 252, .6); }
.btn--primary:hover { transform: translateY(-3px); box-shadow: 0 16px 40px -8px rgba(109, 94, 252, .7); }
.btn--ghost { background: var(--surface); border-color: var(--border); color: var(--text); }
.btn--ghost:hover { transform: translateY(-3px); border-color: var(--border-strong); background: var(--surface-2); }
.btn--block { width: 100%; justify-content: center; margin-top: .4rem; }

/* ---------- Hero ---------- */
.hero { min-height: 100vh; display: flex; align-items: center; position: relative; padding: 8rem 0 5rem; }
.hero__inner { max-width: 880px; }
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font-size: .82rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted);
  padding: .5rem 1rem; border: 1px solid var(--border); border-radius: 999px; background: var(--surface);
}
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--brand-2); box-shadow: 0 0 0 0 var(--brand-2); animation: pulse 2s infinite; }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(34, 211, 238, .6); }
  70% { box-shadow: 0 0 0 10px rgba(34, 211, 238, 0); }
  100% { box-shadow: 0 0 0 0 rgba(34, 211, 238, 0); }
}

.hero__title {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(2.6rem, 7vw, 5rem); line-height: 1.02; letter-spacing: -.03em;
  margin: 1.6rem 0 1.4rem;
}
.hero__title .line { display: block; overflow: hidden; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

.hero__sub { font-size: clamp(1.05rem, 2.4vw, 1.3rem); color: var(--muted); max-width: 620px; }
.hero__sub strong { color: var(--text); font-weight: 600; }

.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.4rem; }

.hero__stats { display: flex; flex-wrap: wrap; gap: 2.6rem; margin-top: 3.4rem; padding-top: 2.2rem; border-top: 1px solid var(--border); }
.stat { display: flex; flex-direction: column; }
.stat__num { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.8rem, 4vw, 2.6rem); line-height: 1; }
.stat__label { font-size: .85rem; color: var(--muted); margin-top: .4rem; }

.hero__scroll { position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: .6rem; color: var(--muted-2); font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; }
.hero__scroll-line { width: 2px; height: 46px; background: var(--border); border-radius: 2px; overflow: hidden; position: relative; }
.hero__scroll-line i { position: absolute; top: -50%; left: 0; width: 100%; height: 50%; background: var(--grad); animation: scrollDown 1.8s var(--ease) infinite; }
@keyframes scrollDown { 0% { top: -50%; } 100% { top: 100%; } }

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; border-block: 1px solid var(--border); background: var(--bg-2); padding: 1.1rem 0; }
.marquee__track {
  display: flex; align-items: center; gap: 2.5rem; width: max-content;
  font-family: var(--font-display); font-weight: 600; font-size: clamp(1.1rem, 2.4vw, 1.5rem);
  color: var(--muted); animation: marquee 28s linear infinite;
}
.marquee__track .dot { color: var(--brand); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Section base ---------- */
.section { padding: clamp(4.5rem, 10vw, 8rem) 0; position: relative; }
.section__head { max-width: 720px; margin-bottom: 3.2rem; }
.section__kicker {
  font-size: .8rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--brand-2); margin-bottom: .9rem;
}
.section__title {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(1.9rem, 4.5vw, 3rem); line-height: 1.08; letter-spacing: -.02em;
}

/* ---------- Services cards ---------- */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.8rem 1.6rem; position: relative; overflow: hidden;
  transition: transform .4s var(--ease), border-color .4s, background .4s;
}
.card::before {
  content: ""; position: absolute; inset: 0; opacity: 0; transition: opacity .4s;
  background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 0%), rgba(109,94,252,.16), transparent 60%);
}
.card:hover { transform: translateY(-6px); border-color: var(--border-strong); background: var(--surface-2); }
.card:hover::before { opacity: 1; }
.card__icon {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  background: var(--surface-2); border: 1px solid var(--border); color: var(--brand-2); margin-bottom: 1.3rem;
}
.card h3 { font-family: var(--font-display); font-size: 1.18rem; margin-bottom: .6rem; }
.card p { color: var(--muted); font-size: .95rem; }

/* ---------- Work grid ---------- */
.work__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.2rem; }
.project {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--border); min-height: 280px; display: flex; align-items: flex-end;
  transition: transform .45s var(--ease), border-color .45s;
}
.project--lg { grid-row: span 2; min-height: 580px; }
.project--wide { grid-column: span 2; min-height: 300px; }
.project__media {
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(135deg, var(--c1), var(--c2));
  transition: transform .6s var(--ease);
}
.project__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(8,8,12,.92), rgba(8,8,12,.15) 55%, transparent);
}
.project:hover { transform: translateY(-6px); border-color: var(--border-strong); }
.project:hover .project__media { transform: scale(1.07); }
.project__body { position: relative; padding: 1.8rem; }
.project__tag {
  display: inline-block; font-size: .72rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  padding: .35rem .8rem; border-radius: 999px; background: rgba(0,0,0,.35); border: 1px solid rgba(255,255,255,.2);
  backdrop-filter: blur(6px); margin-bottom: .9rem;
}
.project__body h3 { font-family: var(--font-display); font-size: 1.45rem; margin-bottom: .3rem; }
.project__body p { color: rgba(255,255,255,.82); font-size: .95rem; }

/* External link projects */
.project--link { cursor: pointer; }
.project__visit {
  display: inline-flex; align-items: center; gap: .4rem; margin-top: 1rem;
  font-family: var(--font-display); font-weight: 600; font-size: .9rem; color: #fff;
  opacity: 0; transform: translateY(6px); transition: opacity .35s var(--ease), transform .35s var(--ease);
}
.project:hover .project__visit { opacity: 1; transform: none; }
.project__visit svg { transition: transform .25s var(--ease); }
.project:hover .project__visit svg { transform: translate(3px, -3px); }
@media (hover: none) { .project__visit { opacity: 1; transform: none; } }

/* "In development" live badge */
.project__tag--live { display: inline-flex; align-items: center; gap: .45rem; }
.live-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--brand-2); box-shadow: 0 0 0 0 var(--brand-2); animation: pulse 2s infinite; }

/* CTA project card */
.project--cta {
  background: linear-gradient(150deg, var(--surface-2), var(--surface));
  border-style: dashed; border-color: var(--border-strong);
  align-items: center; text-align: center; justify-content: center;
}
.project--cta .project__body { padding: 2rem 1.6rem; }
.project--cta .project__tag { background: var(--surface); }
.project--cta p { display: inline-flex; align-items: center; gap: .4rem; color: var(--brand-2); font-weight: 600; }
.project--cta svg { transition: transform .25s var(--ease); }
.project--cta:hover svg { transform: translateX(4px); }

/* ---------- Process steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; counter-reset: step; }
.step {
  position: relative; padding: 2rem 1.6rem; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--border); transition: transform .4s var(--ease), border-color .4s;
}
.step:hover { transform: translateY(-6px); border-color: var(--border-strong); }
.step__num {
  font-family: var(--font-display); font-weight: 800; font-size: 2.4rem; line-height: 1;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
  display: block; margin-bottom: 1rem;
}
.step h3 { font-family: var(--font-display); font-size: 1.2rem; margin-bottom: .5rem; }
.step p { color: var(--muted); font-size: .93rem; }

/* ---------- Pricing ---------- */
.pricing__intro { color: var(--muted); font-size: 1.08rem; margin-top: 1.1rem; }
.prices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; align-items: stretch; }

.price {
  display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 2.2rem 1.9rem; position: relative; overflow: hidden;
  transition: transform .4s var(--ease), border-color .4s, background .4s;
}
.price:hover { transform: translateY(-6px); border-color: var(--border-strong); background: var(--surface-2); }

.price--featured {
  border-color: transparent;
  background:
    linear-gradient(var(--bg-2), var(--bg-2)) padding-box,
    var(--grad) border-box;
  box-shadow: 0 20px 60px -24px rgba(109, 94, 252, .65);
}
.price--featured::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(420px circle at 50% -10%, rgba(109, 94, 252, .22), transparent 60%);
}

.price__badge {
  position: absolute; top: 1.3rem; right: 1.3rem;
  font-size: .68rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  padding: .35rem .7rem; border-radius: 999px; color: #fff; background: var(--grad);
}

.price__head h3 { font-family: var(--font-display); font-size: 1.35rem; margin-bottom: .45rem; }
.price__desc { color: var(--muted); font-size: .93rem; min-height: 2.6em; }

.price__tag { display: flex; flex-direction: column; gap: .25rem; margin: 1.4rem 0; padding-bottom: 1.4rem; border-bottom: 1px solid var(--border); }
.price__amount {
  font-family: var(--font-display); font-weight: 800; font-size: 2.6rem; line-height: 1; letter-spacing: -.02em;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.price__amount--custom { font-size: 2.3rem; }
.price__to { -webkit-text-fill-color: var(--muted); font-weight: 500; padding: 0 .15rem; }
.price__period { font-size: .85rem; color: var(--muted); }

.price__list { display: grid; gap: .8rem; margin-bottom: 1.8rem; flex: 1 1 auto; }
.price__list li { display: flex; align-items: flex-start; gap: .7rem; font-size: .94rem; }
.price__list svg { color: var(--brand-2); flex: none; margin-top: .15rem; }

.pricing__foot { text-align: center; color: var(--muted-2); font-size: .88rem; margin-top: 2rem; }

/* ---------- About ---------- */
.about__inner { display: grid; grid-template-columns: 1.2fr 1fr; gap: 3.5rem; align-items: center; }
.about__lead { color: var(--muted); font-size: 1.08rem; margin-top: 1.3rem; }
.about__list { margin-top: 1.8rem; display: grid; gap: .9rem; }
.about__list li { display: flex; align-items: center; gap: .8rem; font-weight: 500; }
.about__list svg { color: var(--brand-2); flex: none; }

.about__quote {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 2.4rem; position: relative; transition: transform .4s var(--ease), border-color .4s;
}
.about__quote:hover { border-color: var(--border-strong); }
.about__promise-label {
  display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--brand-2); margin-bottom: 1rem;
}
.about__quote blockquote { font-family: var(--font-display); font-size: 1.3rem; line-height: 1.45; font-weight: 500; }
.about__quote footer { display: flex; align-items: center; gap: .9rem; margin-top: 1.6rem; }
.avatar {
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; flex: none;
  background: var(--grad); color: #fff; font-family: var(--font-display); font-weight: 700; font-size: .95rem;
}
.about__quote footer strong { display: block; font-size: .95rem; }
.about__quote footer em { color: var(--muted); font-style: normal; font-size: .85rem; }

/* ---------- Contact ---------- */
.contact__card {
  position: relative; overflow: hidden; text-align: center;
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: clamp(2.4rem, 6vw, 4.5rem);
}
.contact__glow {
  position: absolute; top: -40%; left: 50%; transform: translateX(-50%);
  width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, rgba(109,94,252,.28), transparent 60%); pointer-events: none;
}
.contact .section__kicker { color: var(--brand-2); }
.contact__title { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.8rem, 4.5vw, 3rem); line-height: 1.1; letter-spacing: -.02em; max-width: 720px; margin: 0 auto; }
.contact__sub { color: var(--muted); max-width: 520px; margin: 1.1rem auto 0; }

.contact__form { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; max-width: 620px; margin: 2.4rem auto 0; text-align: left; }
.field { position: relative; }
.field--full { grid-column: span 2; }
.field input, .field textarea {
  width: 100%; background: rgba(0,0,0,.25); border: 1px solid var(--border); border-radius: 12px;
  padding: 1.15rem 1rem .55rem; color: var(--text); font-family: inherit; font-size: 1rem;
  transition: border-color .25s, background .25s; resize: vertical;
}
.field textarea { min-height: 96px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--brand); background: rgba(0,0,0,.4); }
.field label {
  position: absolute; left: 1rem; top: .95rem; color: var(--muted); font-size: 1rem;
  pointer-events: none; transition: transform .2s var(--ease), color .2s, font-size .2s;
}
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label {
  transform: translateY(-.7rem); font-size: .72rem; color: var(--brand-2);
}
.contact__note { grid-column: span 2; text-align: center; font-size: .9rem; color: var(--brand-2); min-height: 1.2em; margin: 0; }
.hp { position: absolute; left: -9999px; width: 0; height: 0; opacity: 0; pointer-events: none; }

.consent { display: flex; align-items: flex-start; gap: .65rem; font-size: .85rem; color: var(--muted); cursor: pointer; text-align: left; }
.consent input { flex: none; width: 18px; height: 18px; margin-top: .15rem; accent-color: var(--brand); cursor: pointer; }
.consent a { color: var(--brand-2); text-decoration: underline; text-underline-offset: 2px; }
.consent a:hover { color: var(--text); }

.h-captcha { min-height: 78px; }
.contact__form .h-captcha { display: flex; justify-content: center; }
.btn[disabled] { opacity: .65; cursor: progress; }

.contact__alt {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .5rem;
  margin-top: 1.8rem; color: var(--muted); font-size: .92rem;
}
.contact__alt a { color: var(--text); font-weight: 600; border-bottom: 1px solid var(--border-strong); transition: color .2s, border-color .2s; }
.contact__alt a:hover { color: var(--brand-2); border-color: var(--brand-2); }
.contact__alt-dot { color: var(--muted-2); }
.contact__pin { display: inline-flex; align-items: center; gap: .35rem; }
.contact__pin svg { color: var(--brand-2); }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--border); padding-top: 4rem; background: var(--bg-2); }
.footer__inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2.5rem; padding-bottom: 3rem; }
.footer__brand { max-width: 320px; }
.footer__brand p { color: var(--muted); margin-top: .9rem; font-size: .95rem; }
.footer__cols { display: flex; gap: 4rem; }
.footer__cols h4 { font-family: var(--font-display); font-size: .9rem; margin-bottom: 1rem; }
.footer__cols a { display: block; color: var(--muted); font-size: .92rem; margin-bottom: .6rem; transition: color .2s; }
.footer__cols a:hover { color: var(--text); }
.footer__loc { display: block; color: var(--muted); font-size: .92rem; }
.footer__bar {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem;
  padding: 1.6rem 0; border-top: 1px solid var(--border); color: var(--muted-2); font-size: .85rem;
}
.footer__bar a { color: var(--muted); text-decoration: underline; text-underline-offset: 2px; transition: color .2s; }
.footer__bar a:hover { color: var(--brand-2); }

/* ---------- Legal pages ---------- */
.legal { padding: 9rem 0 5rem; }
.legal__inner { max-width: 760px; }
.legal__back { display: inline-block; color: var(--muted); font-size: .9rem; margin-bottom: 1.4rem; transition: color .2s; }
.legal__back:hover { color: var(--brand-2); }
.legal h1 { font-family: var(--font-display); font-weight: 800; font-size: clamp(2rem, 5vw, 3rem); letter-spacing: -.02em; margin: .4rem 0 .6rem; }
.legal__updated { color: var(--muted-2); font-size: .9rem; margin-bottom: 2.2rem; }
.legal h2 { font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; margin: 2.4rem 0 .8rem; }
.legal p { color: var(--muted); margin-bottom: 1rem; }
.legal strong { color: var(--text); font-weight: 600; }
.legal ul { margin: 0 0 1.2rem; padding-left: 1.3rem; list-style: disc; }
.legal li { color: var(--muted); margin-bottom: .5rem; }
.legal a { color: var(--brand-2); text-decoration: underline; text-underline-offset: 3px; }
.legal a:hover { color: var(--text); }
.legal__note {
  background: var(--surface); border: 1px dashed var(--border-strong); border-radius: 12px;
  padding: 1rem 1.2rem; font-size: .9rem; color: var(--muted-2);
}
.legal__home { margin-top: 2.4rem; }

/* ---------- Cookie notice ---------- */
.cookie {
  position: fixed; left: 50%; bottom: 1.4rem; transform: translateX(-50%) translateY(0); z-index: 1050;
  width: min(620px, calc(100vw - 2rem));
  display: flex; align-items: center; gap: 1.2rem;
  padding: 1rem 1.2rem; border-radius: 16px;
  background: rgba(15, 15, 23, .92); backdrop-filter: blur(16px);
  border: 1px solid var(--border-strong); box-shadow: 0 20px 50px -16px rgba(0,0,0,.6);
  animation: cookieIn .5s var(--ease) both;
}
.cookie[hidden] { display: none; }
.cookie p { font-size: .88rem; color: var(--muted); margin: 0; }
.cookie strong { color: var(--text); }
.cookie a { color: var(--brand-2); text-decoration: underline; text-underline-offset: 2px; }
.cookie__btn { flex: none; padding: .6rem 1.2rem; font-size: .9rem; }
@keyframes cookieIn { from { opacity: 0; transform: translateX(-50%) translateY(20px); } }
@media (max-width: 560px) { .cookie { flex-direction: column; align-items: stretch; text-align: center; } }

/* ---------- Reveal animations ---------- */
[data-reveal] { opacity: 0; transform: translateY(34px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
[data-reveal].is-visible { opacity: 1; transform: none; }
[data-delay="1"] { transition-delay: .1s; }
[data-delay="2"] { transition-delay: .2s; }
[data-delay="3"] { transition-delay: .3s; }
[data-delay="4"] { transition-delay: .4s; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .prices { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; }
  .price--featured { order: -1; }
  .about__inner { grid-template-columns: 1fr; gap: 2.5rem; }
}

@media (max-width: 760px) {
  .nav__links {
    position: fixed; inset: 0 0 0 auto; width: min(78vw, 320px);
    flex-direction: column; align-items: flex-start; justify-content: center; gap: 1.6rem;
    background: rgba(12, 12, 20, .96); backdrop-filter: blur(18px);
    padding: 2rem 2.2rem; border-left: 1px solid var(--border);
    transform: translateX(100%); transition: transform .4s var(--ease);
  }
  .nav.is-open .nav__links { transform: translateX(0); }
  .nav__toggle { display: flex; z-index: 950; }
  .nav__link { font-size: 1.15rem; }
  .nav__cta { font-size: 1.05rem; }

  .work__grid { grid-template-columns: 1fr; }
  .project--lg, .project--wide { grid-column: auto; grid-row: auto; min-height: 320px; }
  .hero__stats { gap: 1.8rem; }
  .contact__form { grid-template-columns: 1fr; }
  .field--full, .contact__note { grid-column: auto; }
}

@media (max-width: 480px) {
  .cards, .steps { grid-template-columns: 1fr; }
  .brand__text { display: none; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  [data-reveal] { opacity: 1; transform: none; }
  .cursor, .cursor-dot { display: none; }
  .logo-frame path, .logo-bars path { stroke-dashoffset: 0 !important; }
  .logo-eyes circle { transform: scale(1) !important; }
}
