/* ===== Modernizacja — Krzysztof Fabiszak / IT Developer ===== */
:root {
  --max: 1240px;
  --pad: 28px;
  --ink: #f6f6f3;
  --ink-2: #eeeee8;
  --surface: #ffffff;
  --surface-2: #f1f1ec;
  --line: rgba(20, 20, 26, 0.1);
  --line-2: rgba(20, 20, 26, 0.17);
  --text: #16161c;
  --muted: #5c5c6a;
  --muted-2: #8b8b97;
  --mint: #0bbf9a;
  --violet: #7c5cf0;
  --grad: linear-gradient(120deg, #0bbf9a 0%, #2f8fe0 45%, #7c5cf0 100%);
  --grad-soft: linear-gradient(
    120deg,
    rgba(11, 191, 154, 0.1),
    rgba(124, 92, 240, 0.1)
  );
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --font-d: "Space Grotesk", "Segoe UI", sans-serif;
  --font-b: "Inter", "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--font-b);
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0.002em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
body.no-scroll {
  overflow: hidden;
}
a {
  color: inherit;
  text-decoration: none;
}
img,
svg {
  display: block;
}
h1,
h2,
h3,
h4 {
  font-family: var(--font-d);
  font-weight: 600;
  margin: 0;
  line-height: 1.05;
  letter-spacing: -0.02em;
}
p {
  margin: 0;
}
::selection {
  background: rgba(167, 139, 250, 0.35);
  color: #fff;
}

.folio-card.white {
  color: #fff;
}

body::-webkit-scrollbar {
  width: 9px;
}
body::-webkit-scrollbar-track {
  background: var(--ink-2);
}
body::-webkit-scrollbar-thumb {
  background: linear-gradient(var(--mint), var(--violet));
  border-radius: 8px;
}

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding-left: var(--pad);
  padding-right: var(--pad);
  width: 100%;
}
.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-d);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--violet);
}
.section-tag {
  color: var(--violet);
}

/* ===== Buttons ===== */
.btn {
  --bx: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-d);
  font-weight: 500;
  font-size: 15px;
  padding: 15px 26px;
  border-radius: 100px;
  cursor: pointer;
  border: 1px solid transparent;
  transition:
    transform 0.35s var(--ease),
    background 0.3s,
    border-color 0.3s,
    color 0.3s;
  will-change: transform;
}
.btn svg {
  width: 17px;
  height: 17px;
  transition: transform 0.35s var(--ease);
}
.btn-primary {
  background: var(--grad);
  color: #fff;
}
.btn-primary:hover svg {
  transform: translate(3px, -3px);
}
.btn-ghost {
  border-color: var(--line-2);
  color: var(--text);
  background: transparent;
}
.btn-ghost:hover {
  border-color: var(--mint);
  color: var(--mint);
  background: rgba(11, 191, 154, 0.06);
}

/* ===== Preloader ===== */
#loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 22px;
  transition:
    opacity 0.6s ease,
    visibility 0.6s;
}
#loader.done {
  opacity: 0;
  visibility: hidden;
}
.loader-mark {
  width: 46px;
  height: 54px;
}
.loader-mark path {
  stroke: var(--mint);
  stroke-width: 5;
  fill: none;
  stroke-dasharray: 1400;
  stroke-dashoffset: 1400;
  animation: draw 1.3s var(--ease) forwards;
}
.loader-mark path.fill {
  animation:
    draw 1.3s var(--ease) forwards,
    fillin 0.5s ease 1s forwards;
}
@keyframes draw {
  to {
    stroke-dashoffset: 0;
  }
}
@keyframes fillin {
  to {
    fill: rgba(127, 255, 212, 0.9);
  }
}
.loader-bar {
  width: 140px;
  height: 2px;
  background: rgba(20, 20, 26, 0.12);
  border-radius: 2px;
  overflow: hidden;
}
.loader-bar span {
  display: block;
  height: 100%;
  width: 0;
  background: var(--grad);
  animation: load 1.5s var(--ease) forwards;
}
@keyframes load {
  to {
    width: 100%;
  }
}

/* ===== Cursor blob ===== */
#blob {
  position: fixed;
  top: 0;
  left: 0;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(
    circle at 30% 30%,
    rgba(11, 191, 154, 0.32),
    rgba(124, 92, 240, 0.26) 45%,
    transparent 70%
  );
  filter: blur(90px);
  pointer-events: none;
  z-index: 0;
  transform: translate(-50%, -50%);
  transition:
    transform 0.6s var(--ease),
    opacity 0.5s;
  opacity: 0.5;
}
.dots {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: radial-gradient(
    rgba(20, 20, 26, 0.06) 1px,
    transparent 1px
  );
  background-size: 30px 30px;
  mask-image: radial-gradient(
    ellipse 80% 60% at 50% 0%,
    #000 30%,
    transparent 75%
  );
  -webkit-mask-image: radial-gradient(
    ellipse 80% 60% at 50% 0%,
    #000 30%,
    transparent 75%
  );
}

/* ===== Nav ===== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition:
    transform 0.45s var(--ease),
    background 0.4s,
    border-color 0.4s,
    backdrop-filter 0.4s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(246, 246, 243, 0.82);
  backdrop-filter: blur(16px);
  border-bottom-color: var(--line);
}
.nav.hidden {
  transform: translateY(-100%);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-d);
  font-weight: 600;
  font-size: 18px;
  letter-spacing: -0.01em;
}
.brand-mark {
  width: 22px;
  height: 26px;
}
.brand-mark path {
  fill: url(#brandGrad);
}
.brand small {
  display: block;
  font-family: var(--font-b);
  font-weight: 400;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: -4px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  font-size: 15px;
  color: var(--muted);
  padding: 9px 15px;
  border-radius: 100px;
  transition:
    color 0.25s,
    background 0.25s;
}
.nav-links a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
}
.nav-cta {
  display: flex;
  align-items: center;
  gap: 14px;
}
.burger {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line-2);
  border-radius: 12px;
  background: transparent;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.burger span {
  width: 20px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition:
    transform 0.3s var(--ease),
    opacity 0.3s;
}
.burger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.burger.open span:nth-child(2) {
  opacity: 0;
}
.burger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: rgba(246, 246, 243, 0.98);
  backdrop-filter: blur(20px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  padding: 0 var(--pad);
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.4s var(--ease),
    visibility 0.4s;
}
.mobile-menu.open {
  opacity: 1;
  visibility: visible;
}
.mobile-menu a {
  font-family: var(--font-d);
  font-size: 34px;
  font-weight: 500;
  padding: 12px 0;
  color: var(--text);
  transform: translateX(-20px);
  opacity: 0;
  transition:
    transform 0.5s var(--ease),
    opacity 0.5s;
}
.mobile-menu.open a {
  transform: translateX(0);
  opacity: 1;
}
.mobile-menu a:nth-child(1) {
  transition-delay: 0.08s;
}
.mobile-menu a:nth-child(2) {
  transition-delay: 0.14s;
}
.mobile-menu a:nth-child(3) {
  transition-delay: 0.2s;
}
.mobile-menu a:nth-child(4) {
  transition-delay: 0.26s;
}
.mobile-menu a:nth-child(5) {
  transition-delay: 0.32s;
}

/* ===== Reveal ===== */
.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition:
    opacity 0.9s var(--ease),
    transform 0.9s var(--ease);
}
.reveal.in {
  opacity: 1;
  transform: none;
}
[data-delay="1"] {
  transition-delay: 0.1s;
}
[data-delay="2"] {
  transition-delay: 0.2s;
}
[data-delay="3"] {
  transition-delay: 0.3s;
}
[data-delay="4"] {
  transition-delay: 0.4s;
}

/* ===== Hero ===== */
.hero {
  position: relative;
  z-index: 1;
  padding: 168px 0 110px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 60px;
  align-items: center;
}
.hero h1 {
  font-size: clamp(42px, 6.4vw, 92px);
  font-weight: 600;
  margin: 26px 0 0;
}
.hero h1 .line {
  display: block;
  overflow: hidden;
}
.hero h1 .line > span {
  display: block;
  transform: translateY(110%);
  transition: transform 1s var(--ease);
}
.hero.ready h1 .line > span {
  transform: translateY(0);
}
.hero h1 .line:nth-child(2) > span {
  transition-delay: 0.1s;
}
.hero h1 .line:nth-child(3) > span {
  transition-delay: 0.2s;
}
.hero-sub {
  color: var(--muted);
  font-size: clamp(16px, 1.6vw, 19px);
  max-width: 500px;
  margin-top: 28px;
  line-height: 1.65;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 38px;
}
.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 56px;
  flex-wrap: wrap;
}
.stat .num {
  font-family: var(--font-d);
  font-size: 40px;
  font-weight: 600;
  line-height: 1;
}
.stat .lbl {
  color: var(--muted);
  font-size: 14px;
  margin-top: 8px;
}

.hero-visual {
  position: relative;
}
.hero-card {
  position: relative;
  border-radius: 26px;
  overflow: hidden;
  aspect-ratio: 4/5;
  border: 1px solid var(--line-2);
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.55);
  transform-style: preserve-3d;
  transition: transform 0.2s ease-out;
}
.hero-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(8, 8, 12, 0.7));
}
.hero-badge {
  position: absolute;
  z-index: 3;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  box-shadow: 0 14px 36px rgba(20, 20, 26, 0.12);
  border: 1px solid var(--line-2);
  border-radius: 16px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
}
.hero-badge.b1 {
  top: 22px;
  left: -26px;
}
.hero-badge.b2 {
  bottom: 26px;
  right: -26px;
}
.hero-badge .dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 12px var(--mint);
}
.hero-badge b {
  font-family: var(--font-d);
}
.hero-badge .stars {
  color: #ffcf5c;
  letter-spacing: 2px;
}

/* ===== Marquee ===== */
.marquee {
  padding: 26px 0;
  overflow: hidden;
  position: relative;
  z-index: 1;
}
.marquee-track {
  display: flex;
  gap: 60px;
  width: max-content;
  animation: scroll 28s linear infinite;
}
.marquee:hover .marquee-track {
  animation-play-state: paused;
}
.marquee span {
  font-family: var(--font-d);
  font-size: 20px;
  font-weight: 500;
  color: var(--muted-2);
  display: flex;
  align-items: center;
  gap: 60px;
  white-space: nowrap;
}
.marquee span::after {
  content: "✦";
  color: var(--violet);
}
@keyframes scroll {
  to {
    transform: translateX(-50%);
  }
}

/* ===== Section shell ===== */
section.block {
  position: relative;
  z-index: 1;
  padding: 120px 0;
}
.section-head {
  max-width: 720px;
  margin-bottom: 64px;
}
.section-head h2 {
  font-size: clamp(32px, 4.2vw, 58px);
  margin-top: 18px;
}
.section-head p {
  color: var(--muted);
  font-size: 18px;
  margin-top: 20px;
}

/* ===== Services ===== */
.services {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.svc {
  position: relative;
  padding: 38px 34px;
  border-radius: 22px;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  transition:
    transform 0.5s var(--ease),
    border-color 0.4s,
    background 0.4s;
}
.svc::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--grad-soft);
  opacity: 0;
  transition: opacity 0.5s;
}
.svc:hover {
  transform: translateY(-6px);
  border-color: var(--line-2);
}
.svc:hover::before {
  opacity: 1;
}
.svc > * {
  position: relative;
  z-index: 1;
}
.svc-num {
  font-family: var(--font-d);
  font-size: 13px;
  color: var(--violet);
  letter-spacing: 0.1em;
}
.svc-icon {
  width: 52px;
  height: 52px;
  margin: 22px 0 24px;
  color: var(--mint);
}
.svc h3 {
  font-size: 24px;
  margin-bottom: 14px;
}
.svc p {
  color: var(--muted);
  font-size: 15.5px;
}

/* ===== Process ===== */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
}
.step {
  padding: 40px 26px 40px 26px;
  border-right: 1px solid var(--line);
}
.step:last-child {
  border-right: 0;
  padding-right: 0;
}
.step-n {
  font-family: var(--font-d);
  font-size: 15px;
  color: var(--violet);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
}
.step-n::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--grad);
}
.step h3 {
  font-size: 21px;
  margin-bottom: 12px;
}
.step p {
  color: var(--muted);
  font-size: 14.5px;
}

/* ===== Portfolio ===== */
.folio {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}
.folio-card {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface);
  text-decoration: none;
  display: block;
  aspect-ratio: 16/11;
}
.folio-card .thumb {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.folio-card .thumb .fill {
  position: absolute;
  inset: 0;
  transition: transform 1s var(--ease);
}
.folio-card:hover .thumb .fill {
  transform: scale(1.06);
}
.folio-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(8, 8, 12, 0.15) 0%,
    rgba(8, 8, 12, 0.88) 100%
  );
}
.folio-meta {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 2;
  padding: 30px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}
.folio-meta .tag {
  font-family: var(--font-d);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--mint);
}
.folio-meta h3 {
  font-size: 27px;
  margin-top: 10px;
  color: #fff;
}
.folio-arrow {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: rgba(8, 8, 12, 0.4);
  backdrop-filter: blur(6px);
  transition:
    background 0.4s,
    transform 0.4s var(--ease);
}
.folio-card:hover .folio-arrow {
  background: var(--grad);
  transform: rotate(45deg);
}
.folio-arrow svg {
  width: 20px;
  height: 20px;
  color: #fff;
  transition: color 0.4s;
}
.folio-card:hover .folio-arrow svg {
  color: #fff;
}
.folio-card.soon {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  aspect-ratio: auto;
  min-height: 180px;
}
.folio-card.soon::after {
  display: none;
}
.folio-card.soon .inner {
  color: var(--muted);
}
.folio-card.soon .inner b {
  display: block;
  font-family: var(--font-d);
  color: var(--text);
  font-size: 19px;
  margin-bottom: 6px;
}
.folio-soon-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 22px;
}

/* ===== Values / Why ===== */
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}
.why-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.why-item {
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}
.why-item:first-child {
  border-top: 1px solid var(--line);
}
.why-item h3 {
  font-size: 23px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.why-item h3 .ic {
  width: 22px;
  height: 22px;
  color: var(--mint);
  flex-shrink: 0;
}
.why-item p {
  color: var(--muted);
  font-size: 15.5px;
  padding-left: 36px;
}
.why-visual {
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--line-2);
  aspect-ratio: 3/4;
  position: relative;
}
.why-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.why-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(127, 255, 212, 0.12),
    rgba(167, 139, 250, 0.28)
  );
  mix-blend-mode: overlay;
}

/* ===== Contact ===== */
.contact {
  position: relative;
  z-index: 1;
  padding: 120px 0;
}
.contact-card {
  border: 1px solid var(--line-2);
  border-radius: 30px;
  padding: 66px;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(
      120% 140% at 100% 0%,
      rgba(167, 139, 250, 0.14),
      transparent 55%
    ),
    radial-gradient(
      100% 120% at 0% 100%,
      rgba(127, 255, 212, 0.1),
      transparent 50%
    ),
    var(--surface);
}
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
}
.contact-card h2 {
  font-size: clamp(30px, 3.6vw, 48px);
}
.contact-card .lead {
  color: var(--muted);
  margin-top: 20px;
  font-size: 17px;
}
.contact-info {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.contact-info a,
.contact-info span {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--text);
  font-size: 16px;
}
.contact-info .ic {
  width: 20px;
  height: 20px;
  color: var(--mint);
  flex-shrink: 0;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.field {
  width: 100%;
  background: rgba(20, 20, 26, 0.03);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 15px 17px;
  color: var(--text);
  font-family: var(--font-b);
  font-size: 15px;
  outline: none;
  transition:
    border-color 0.3s,
    background 0.3s;
  margin-top: 16px;
}
.field:focus {
  border-color: var(--violet);
  background: rgba(255, 255, 255, 0.06);
}
.field::placeholder {
  color: var(--muted-2);
}
textarea.field {
  resize: vertical;
  min-height: 130px;
}
.form-note {
  color: var(--muted-2);
  font-size: 13px;
  margin-top: 16px;
}
.field-wrap {
  min-width: 0;
}
.field-wrap .field {
  display: block;
}
.field.is-invalid {
  border-color: #e86161;
  background: rgba(232, 97, 97, 0.07);
}
.field-error {
  display: block;
  min-height: 18px;
  padding: 5px 4px 0;
  color: #d84949;
  font-size: 12px;
  line-height: 1.35;
}
.form-status {
  min-height: 22px;
  margin-top: 16px;
  font-size: 14px;
  line-height: 1.45;
}
.form-status:empty {
  display: none;
}
.form-status.is-success {
  color: #16855d;
}
.form-status.is-error {
  color: #c53b3b;
}
.form-submit[disabled] {
  cursor: wait;
  opacity: 0.78;
}
.form-submit.is-loading svg {
  animation: form-send-pulse 0.9s ease-in-out infinite alternate;
}
.form-honeypot {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
}
.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;
}
@keyframes form-send-pulse {
  from { transform: translate(0, 0); }
  to { transform: translate(3px, -3px); }
}

/* ===== Footer ===== */
footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--line);
  padding: 60px 0 40px;
  margin-top: 40px;
}
.foot-grid {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  flex-wrap: wrap;
}
.foot-brand {
  max-width: 320px;
}
.foot-brand p {
  color: var(--muted);
  margin-top: 18px;
  font-size: 14.5px;
}
.foot-cols {
  display: flex;
  gap: 70px;
  flex-wrap: wrap;
}
.foot-col h4 {
  font-family: var(--font-d);
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 18px;
  font-weight: 500;
}
.foot-col a {
  display: block;
  color: var(--muted);
  padding: 6px 0;
  font-size: 15px;
  transition: color 0.25s;
}
.foot-col a:hover {
  color: var(--mint);
}
.foot-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 54px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  color: var(--muted-2);
  font-size: 13.5px;
  flex-wrap: wrap;
  gap: 14px;
}
.socials {
  display: flex;
  gap: 10px;
}
.socials a {
  width: 42px;
  height: 42px;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  transition:
    color 0.3s,
    border-color 0.3s,
    transform 0.3s var(--ease);
}
.socials a:hover {
  color: var(--mint);
  border-color: var(--mint);
  transform: translateY(-3px);
}
.socials svg {
  width: 17px;
  height: 17px;
}

.to-top {
  position: fixed;
  right: 26px;
  bottom: 26px;
  z-index: 90;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--surface-2);
  border: 1px solid var(--line-2);
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.4s,
    transform 0.4s var(--ease),
    background 0.3s;
}
.to-top.show {
  opacity: 1;
  transform: none;
}
.to-top:hover {
  background: var(--grad);
  color: #08080c;
}
.to-top svg {
  width: 20px;
  height: 20px;
}

/* ===== Responsive ===== */
@media (max-width: 980px) {
  :root {
    --pad: 22px;
  }
  .nav-links,
  .nav-cta .btn {
    display: none;
  }
  .burger {
    display: flex;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  .hero-visual {
    max-width: 420px;
  }
  .why-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .why-visual {
    max-width: 440px;
    order: -1;
  }
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .steps {
    grid-template-columns: 1fr 1fr;
  }
  .step {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 32px 0;
  }
  .step:nth-child(odd) {
    border-right: 1px solid var(--line);
    padding-right: 26px;
  }
}
@media (max-width: 640px) {
  .hero {
    padding: 128px 0 80px;
  }
  section.block,
  .contact {
    padding: 80px 0;
  }
  .services,
  .folio,
  .folio-soon-row,
  .steps,
  .form-row {
    grid-template-columns: 1fr;
  }
  .step:nth-child(odd) {
    border-right: 0;
    padding-right: 0;
  }
  .contact-card {
    padding: 34px 24px;
  }
  .hero-badge.b1 {
    left: 0;
  }
  .hero-badge.b2 {
    right: 0;
  }
  .hero-stats {
    gap: 28px;
  }
  .section-head {
    margin-bottom: 44px;
  }
  .foot-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}
