/* ============================================================
   seedigital - refreshed dark theme
   ============================================================ */
:root {
  --bg: #0a0714;
  --bg-2: #0e0a1c;
  --surface: rgba(255, 255, 255, 0.035);
  --surface-2: rgba(255, 255, 255, 0.06);
  --surface-flat: rgba(255, 255, 255, 0.025);
  --border: rgba(255, 255, 255, 0.09);
  --border-flat: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(139, 92, 246, 0.3);
  --text: #f2f0fa;
  --text-muted: #a9a3c2;
  --text-dim: #6f6a8a;
  --violet: #7c3aed;
  --violet-2: #8b5cf6;
  --violet-deep: #4c1d95;
  --violet-glow: rgba(124, 58, 237, 0.32);
  --radius: 20px;
  --radius-sm: 12px;
  --font-head: "Sora", sans-serif;
  --font-body: "Plus Jakarta Sans", sans-serif;
  --container: 1180px;
  --ease-spring: cubic-bezier(0.3, 1.4, 0.5, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 96px; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container {
  width: min(var(--container), calc(100% - 48px));
  margin: 0 auto;
}

/* ---------- ambient background ---------- */
.bg-orbs {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(900px 600px at 85% -10%, rgba(124, 58, 237, 0.14), transparent 60%),
    radial-gradient(700px 500px at -10% 35%, rgba(76, 29, 149, 0.15), transparent 60%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
}
.bg-noise {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.035 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- surface primitives ---------- */
.glass {
  background: var(--surface);
  border: 1px solid var(--border);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-radius: var(--radius);
}

/* flat panel - used where elevation isn't communicating real hierarchy */
.panel {
  background: var(--surface-flat);
  border: 1px solid var(--border-flat);
  border-radius: var(--radius);
}

/* ---------- typography ---------- */
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 600; line-height: 1.15; letter-spacing: -0.02em; text-wrap: balance; }

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--violet-2);
  background: rgba(124, 58, 237, 0.1);
  border: 1px solid rgba(139, 92, 246, 0.25);
  padding: 7px 16px;
  border-radius: 100px;
  margin-bottom: 20px;
}
.section-tag::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--violet-2);
}

.section-head { max-width: 680px; margin-bottom: 56px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(30px, 4.2vw, 46px); margin-bottom: 16px; }
.section-head p { color: var(--text-muted); font-size: 18px; }

.grad-text {
  background: linear-gradient(100deg, #c4b5fd 0%, var(--violet-2) 45%, #6d28d9 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

section { padding: 110px 0; position: relative; }

/* ---------- icon badge (shared by services / features / guarantees) ---------- */
.icon-badge {
  flex-shrink: 0;
  width: 52px; height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 15px;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.22), rgba(76, 29, 149, 0.13));
  border: 1px solid rgba(139, 92, 246, 0.28);
}
.icon-badge svg { width: 24px; height: 24px; fill: var(--violet-2); }
.icon-badge.sm { width: 44px; height: 44px; border-radius: 12px; }
.icon-badge.sm svg { width: 20px; height: 20px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-head);
  font-size: 15.5px;
  font-weight: 600;
  padding: 15px 32px;
  border-radius: 100px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.35s var(--ease-spring), box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease;
  white-space: normal;
  text-align: center;
  max-width: 100%;
}
.btn:active { transform: scale(0.97); }
.btn-primary {
  background: linear-gradient(115deg, var(--violet) 0%, var(--violet-deep) 100%);
  color: #fff;
  box-shadow: 0 8px 30px -8px var(--violet-glow), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 36px -8px var(--violet-glow), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}
.btn-ghost {
  background: var(--surface-flat);
  border-color: var(--border-flat);
  color: var(--text);
}
.btn-ghost:hover { border-color: var(--border-strong); background: var(--surface-2); transform: translateY(-2px); }
.btn .arrow { transition: transform 0.25s var(--ease-spring); }
.btn:hover .arrow { transform: translateX(4px); }

/* ---------- nav ---------- */
.nav {
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: min(var(--container), calc(100% - 32px));
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px 12px 24px;
  border-radius: 100px;
  background: rgba(14, 10, 28, 0.55);
  border: 1px solid var(--border);
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  transition: box-shadow 0.3s ease, background 0.3s ease;
}
.nav.scrolled { background: rgba(12, 9, 24, 0.82); box-shadow: 0 12px 40px -12px rgba(0, 0, 0, 0.6); }
.nav-logo { display: flex; align-items: center; gap: 10px; }
.nav-logo img.icon { height: 34px; width: auto; }
.nav-logo img.word { height: 20px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-muted);
  padding: 9px 16px;
  border-radius: 100px;
  transition: color 0.2s ease, background 0.2s ease;
}
.nav-links a:hover { color: var(--text); background: var(--surface-2); }

/* nav dropdown */
.nav-drop { position: relative; }
.nav-drop > a .chev { display: inline-block; margin-left: 5px; font-size: 11px; transition: transform 0.25s var(--ease-spring); }
.nav-drop:hover > a .chev, .nav-drop:focus-within > a .chev { transform: rotate(180deg); }
.nav-drop::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 18px; }
.drop-menu {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  min-width: 340px;
  padding: 10px;
  border-radius: 20px;
  background: rgba(30, 23, 50, 0.98);
  border: 1px solid rgba(139, 92, 246, 0.22);
  backdrop-filter: blur(24px) saturate(150%);
  -webkit-backdrop-filter: blur(24px) saturate(150%);
  box-shadow: 0 26px 60px -16px rgba(0, 0, 0, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  display: flex;
  flex-direction: column;
  gap: 2px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, transform 0.25s var(--ease-spring), visibility 0.25s;
}
.nav-drop:hover .drop-menu, .nav-drop:focus-within .drop-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.nav-links .drop-menu a { display: flex; align-items: center; gap: 13px; padding: 10px 14px; border-radius: 13px; }
.drop-ico {
  flex-shrink: 0;
  width: 40px; height: 40px;
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.22), rgba(76, 29, 149, 0.14));
  border: 1px solid rgba(139, 92, 246, 0.28);
  transition: border-color 0.2s ease, transform 0.2s var(--ease-spring);
}
.drop-ico svg { width: 19px; height: 19px; fill: var(--violet-2); }
.drop-txt { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.drop-menu a .t { font-weight: 600; font-size: 14.5px; color: var(--text); }
.drop-menu a .d { font-size: 12.5px; color: var(--text-dim); }
.drop-menu a:hover .t { color: var(--violet-2); }
.drop-menu a:hover .drop-ico { border-color: rgba(139, 92, 246, 0.55); transform: scale(1.05); }

/* mobile menu sub-links */
.mobile-menu .menu-label { font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-dim); padding: 12px 16px 4px; }
.mobile-menu a.sub { padding-left: 30px; font-size: 14.5px; }
.nav-cta { display: flex; align-items: center; gap: 10px; }
.nav-cta .btn { padding: 11px 24px; font-size: 14.5px; }

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

.mobile-menu {
  position: fixed;
  top: 84px;
  left: 50%;
  transform: translateX(-50%) translateY(-12px);
  width: min(var(--container), calc(100% - 32px));
  z-index: 99;
  padding: 18px;
  border-radius: 24px;
  background: rgba(14, 10, 28, 0.92);
  border: 1px solid var(--border);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  display: flex;
  flex-direction: column;
  gap: 4px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s var(--ease-spring);
}
.mobile-menu.open { opacity: 1; pointer-events: auto; transform: translateX(-50%) translateY(0); }
.mobile-menu a { padding: 13px 16px; border-radius: 14px; font-weight: 500; color: var(--text-muted); }
.mobile-menu a:hover { background: var(--surface-2); color: var(--text); }
.mobile-menu .btn { margin-top: 10px; }

/* ---------- hero ---------- */
.hero {
  min-height: 92svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 128px 0 70px;
}
.hero-inner { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 60px; align-items: center; }
.hero h1 { font-size: clamp(36px, 4.6vw, 58px); margin: 22px 0 24px; }
.hero-lead { color: var(--text-muted); font-size: 19px; max-width: 540px; margin-bottom: 38px; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text-muted);
  padding: 8px 18px 8px 10px;
  border-radius: 100px;
}
.hero-badge .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 12px rgba(52, 211, 153, 0.8);
  animation: pulse 2.2s infinite;
}
@keyframes pulse { 50% { opacity: 0.45; } }

.hero-visual { position: relative; display: flex; align-items: center; justify-content: center; min-height: 480px; }
.hero-eye {
  width: min(340px, 78%);
  filter: drop-shadow(0 0 60px rgba(124, 58, 237, 0.3));
  animation: floaty 7s ease-in-out infinite;
}
@keyframes floaty { 50% { transform: translateY(-16px); } }
.hero-ring {
  position: absolute;
  width: 480px; height: 480px;
  border-radius: 50%;
  border: 1px solid rgba(139, 92, 246, 0.18);
  animation: spin 40s linear infinite;
}
.hero-ring::before {
  content: "";
  position: absolute;
  top: -4px; left: 50%;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--violet-2);
  box-shadow: 0 0 14px var(--violet-glow);
}
.hero-ring.r2 { width: 600px; height: 600px; animation-duration: 60s; animation-direction: reverse; border-color: rgba(139, 92, 246, 0.1); }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- proof band (stats + trust logos, sits directly under hero) ---------- */
.proof-band { padding: 0 0 34px; border-bottom: 1px solid var(--border); background: rgba(255, 255, 255, 0.015); }
.stat-row { display: flex; gap: 0; border-radius: var(--radius); overflow: hidden; margin-bottom: 30px; }
.stat-row .stat { flex: 1; padding: 20px 24px; border-right: 1px solid var(--border-flat); }
.stat-row .stat:last-child { border-right: 0; }
.stat-row .num { font-family: var(--font-head); font-size: 28px; font-weight: 700; color: var(--violet-2); }
.stat-row .lbl { font-size: 13px; color: var(--text-dim); margin-top: 2px; }

.trust-inline { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.trust-inline .label { font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-dim); }
.trust-logos { display: flex; gap: 40px; flex-wrap: wrap; align-items: center; }
.trust-logos span { font-family: var(--font-head); font-weight: 600; font-size: 17px; color: var(--text-dim); opacity: 0.85; transition: color 0.25s ease, opacity 0.25s ease; }
.trust-logos span:hover { color: var(--text-muted); opacity: 1; }

/* ---------- services ---------- */
.services-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.service-card {
  padding: 38px 36px;
  position: relative;
  overflow: hidden;
  transition: transform 0.35s var(--ease-spring), border-color 0.3s ease;
  display: flex;
  flex-direction: column;
}
.service-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(400px 200px at var(--mx, 50%) var(--my, 0%), rgba(124, 58, 237, 0.1), transparent 70%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}
.service-card:hover { transform: translateY(-5px); border-color: var(--border-strong); }
.service-card:hover::after { opacity: 1; }
.service-card .icon-badge { margin-bottom: 24px; }
.service-card h3 { font-size: 23px; margin-bottom: 12px; }
.service-card p { color: var(--text-muted); font-size: 15.5px; flex: 1; }
.service-card ul { margin: 18px 0 26px; display: flex; flex-direction: column; gap: 8px; }
.service-card li { font-size: 14.5px; color: var(--text-muted); display: flex; gap: 10px; align-items: baseline; }
.service-card li::before { content: "\2713"; color: var(--violet-2); font-weight: 700; }
.service-link { font-weight: 600; font-size: 15px; color: var(--violet-2); display: inline-flex; align-items: center; gap: 8px; }
.service-link .arrow { transition: transform 0.25s var(--ease-spring); }
.service-card:hover .service-link .arrow { transform: translateX(5px); }

/* ---------- portfolio (bento: one featured + rest) ---------- */
.portfolio-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: start; }
.portfolio-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; align-items: start; }
.work-card { overflow: hidden; padding: 0; transition: transform 0.35s var(--ease-spring), border-color 0.3s ease; }
.work-card.featured { grid-column: span 2; }
.work-card:hover { transform: translateY(-6px); border-color: var(--border-strong); }
.work-shot { position: relative; overflow: hidden; aspect-ratio: 16 / 11; border-bottom: 1px solid var(--border); }
.work-card.featured .work-shot { aspect-ratio: 2.8 / 1; }
.work-shot img {
  width: 100%; height: 100%; object-fit: cover; object-position: center;
  filter: saturate(0.65) brightness(0.78) contrast(1.05);
  transition: transform 0.6s cubic-bezier(0.2, 0.6, 0.2, 1);
}
.work-card:hover .work-shot img { transform: scale(1.05); }
.work-shot::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10, 7, 20, 0) 45%, rgba(10, 7, 20, 0.75) 100%);
}
.work-shot .tag {
  position: absolute;
  top: 14px; left: 14px;
  z-index: 1;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 100px;
  background: rgba(10, 7, 20, 0.65);
  border: 1px solid var(--border);
  backdrop-filter: blur(10px);
  color: #d6c9f8;
}
.work-meta { padding: 22px 26px 26px; }
.work-meta h3 { font-size: 19px; margin-bottom: 6px; }
.work-meta p { font-size: 14.5px; color: var(--text-muted); }
.work-result { margin-top: 14px; font-size: 13.5px; font-weight: 600; color: #34d399; display: flex; align-items: center; gap: 7px; }
.work-link {
  position: absolute;
  top: 14px; right: 14px;
  z-index: 1;
  width: 34px; height: 34px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: rgba(10, 7, 20, 0.65);
  border: 1px solid var(--border);
  backdrop-filter: blur(10px);
  color: #d6c9f8;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.work-link svg { width: 16px; height: 16px; }
.work-link:hover { background: rgba(139, 92, 246, 0.4); color: #fff; transform: scale(1.08); }
.mail-shot { aspect-ratio: 4 / 5; }
.mail-shot-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  background: linear-gradient(160deg, rgba(124, 58, 237, 0.14), rgba(10, 7, 20, 0.5));
}
.mail-shot-empty p { font-size: 13px; color: var(--text-dim); }
.work-shot-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  background: linear-gradient(160deg, rgba(124, 58, 237, 0.14), rgba(10, 7, 20, 0.5));
}
.work-shot-empty p { font-size: 13px; color: var(--text-dim); }

/* ---------- single-card carousel ---------- */
.carousel { position: relative; }
.carousel-viewport { overflow: hidden; border-radius: var(--radius); }
.carousel-track { display: flex; transition: transform 0.5s var(--ease-spring); }
.carousel-track.is-dragging { transition: none; }
.carousel-slide { flex: 0 0 100%; min-width: 0; cursor: grab; }
.carousel-slide:active { cursor: grabbing; }
.carousel-slide .work-card { pointer-events: none; }
.carousel-card { display: grid; grid-template-columns: 1.15fr 1fr; align-items: stretch; height: 435px; }
.carousel-shot { aspect-ratio: auto; height: 100%; border-bottom: 0; border-right: 1px solid var(--border); }
.carousel-card .work-meta { padding: 40px 78px 40px 46px; display: flex; flex-direction: column; justify-content: center; }
.carousel-card .work-meta h3 { font-size: 24px; }
.carousel-card .work-meta p { font-size: 15.5px; }
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 48px; height: 48px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(10, 7, 20, 0.6);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 19px;
  line-height: 1;
  cursor: pointer;
  transition: transform 0.25s var(--ease-spring), border-color 0.25s ease, background 0.25s ease, opacity 0.25s ease;
}
.carousel-btn.prev { left: 14px; }
.carousel-btn.next { right: 14px; }
.carousel-btn:hover:not(:disabled) { border-color: var(--border-strong); background: rgba(10, 7, 20, 0.8); transform: translateY(-50%) translateY(-2px); }
.carousel-btn:disabled { opacity: 0.35; cursor: default; }
@media (max-width: 768px) {
  .carousel-card { grid-template-columns: 1fr; height: auto; }
  .carousel-shot { aspect-ratio: 4 / 3; height: auto; border-right: 0; border-bottom: 1px solid var(--border); }
  .carousel-card .work-meta { padding: 26px 26px 30px; }
  .carousel-btn { width: 40px; height: 40px; font-size: 16px; }
}

/* ---------- process timeline ---------- */
.timeline { position: relative; max-width: 920px; margin: 0 auto; display: flex; flex-direction: column; gap: 36px; }
.timeline::before {
  content: "";
  position: absolute;
  top: 10px; bottom: 10px;
  left: 50%;
  width: 2px;
  transform: translateX(-50%);
  background: linear-gradient(180deg,
    transparent 0%,
    rgba(139, 92, 246, 0.5) 10%,
    rgba(139, 92, 246, 0.5) 90%,
    transparent 100%);
}
.tl-item { position: relative; display: grid; grid-template-columns: 1fr 110px 1fr; align-items: center; }
.tl-node {
  grid-column: 2;
  grid-row: 1;
  justify-self: center;
  width: 56px; height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 700;
  color: var(--violet-2);
  background: rgba(14, 10, 28, 0.9);
  border: 1px solid rgba(139, 92, 246, 0.45);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 1;
}
.tl-card { grid-row: 1; padding: 28px 30px; position: relative; transition: transform 0.35s var(--ease-spring), border-color 0.3s ease; }
.tl-card:hover { transform: translateY(-4px); border-color: var(--border-strong); }
.tl-card h3 { font-size: 19px; margin-bottom: 10px; }
.tl-card p { font-size: 14.5px; color: var(--text-muted); }
.tl-card::before {
  content: "";
  position: absolute;
  top: 50%;
  width: 28px;
  height: 2px;
  background: rgba(139, 92, 246, 0.4);
}
.tl-item:nth-child(odd) .tl-card { grid-column: 1; }
.tl-item:nth-child(odd) .tl-card::before { right: -28px; }
.tl-item:nth-child(even) .tl-card { grid-column: 3; }
.tl-item:nth-child(even) .tl-card::before { left: -28px; }

@media (max-width: 768px) {
  .timeline { gap: 24px; }
  .timeline::before { left: 22px; transform: none; }
  .tl-item { grid-template-columns: 44px 1fr; column-gap: 20px; }
  .tl-node { grid-column: 1; width: 44px; height: 44px; font-size: 13px; align-self: start; }
  .tl-item:nth-child(odd) .tl-card,
  .tl-item:nth-child(even) .tl-card { grid-column: 2; }
  .tl-card::before { display: none; }
}

/* ---------- why us (flat two-column list, not cards) ---------- */
.why-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 0 48px; }
.why-row { display: flex; gap: 18px; align-items: flex-start; padding: 26px 0; border-top: 1px solid var(--border-flat); }
.why-row:first-child { border-top: 0; padding-top: 0; }
.why-row h3 { font-size: 17.5px; margin-bottom: 7px; }
.why-row p { font-size: 14.5px; color: var(--text-muted); }

/* ---------- testimonials (asymmetric: one featured + two supporting) ---------- */
.testi-layout { display: grid; grid-template-columns: 1.25fr 1fr; gap: 22px; align-items: stretch; }
.testi-feature { padding: 46px 42px; display: flex; flex-direction: column; justify-content: space-between; gap: 24px; }
.testi-feature blockquote { font-family: var(--font-head); font-size: 24px; font-weight: 600; line-height: 1.35; letter-spacing: -0.01em; }
.testi-side { display: flex; flex-direction: column; gap: 22px; }
.testi-card-sm { padding: 26px 28px; display: flex; flex-direction: column; gap: 14px; flex: 1; transition: border-color 0.3s ease, transform 0.35s var(--ease-spring); }
.testi-card-sm:hover { border-color: var(--border-strong); transform: translateY(-3px); }
.testi-card-sm blockquote { font-size: 14.5px; color: var(--text-muted); }
.stars { color: #fbbf24; letter-spacing: 3px; font-size: 15px; }
.testi-author { display: flex; align-items: center; gap: 14px; }
.testi-author .avatar {
  width: 46px; height: 46px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 16px;
  color: #fff;
  background: linear-gradient(135deg, var(--violet), var(--violet-deep));
}
.testi-author .name { font-weight: 600; font-size: 15px; }
.testi-author .role { font-size: 13px; color: var(--text-dim); }

/* ---------- FAQ ---------- */
.faq-wrap { max-width: 780px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.faq-item { border-radius: var(--radius-sm); overflow: hidden; transition: border-color 0.3s ease; }
.faq-item.open { border-color: var(--border-strong); }
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 26px;
  background: none;
  border: 0;
  color: var(--text);
  font-family: var(--font-head);
  font-size: 16.5px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}
.faq-q .chev { flex-shrink: 0; transition: transform 0.3s var(--ease-spring); color: var(--violet-2); }
.faq-item.open .faq-q .chev { transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.35s ease; }
.faq-a p { padding: 0 26px 24px; color: var(--text-muted); font-size: 15.5px; }

/* ---------- CTA band ---------- */
.cta-band {
  padding: 70px 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(600px 300px at 50% -40%, rgba(124, 58, 237, 0.3), transparent 70%),
    var(--surface);
}
.cta-band h2 { font-size: clamp(28px, 3.8vw, 42px); margin-bottom: 16px; }
.cta-band p { color: var(--text-muted); font-size: 17.5px; max-width: 560px; margin: 0 auto 34px; }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 22px; align-items: stretch; }
.contact-grid-single { grid-template-columns: 1fr; max-width: 620px; margin: 0 auto; }

.contact-form { padding: 42px 40px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 13.5px; font-weight: 600; margin-bottom: 8px; color: var(--text-muted); }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 15px;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.field select option { background: var(--bg-2); }
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--violet-2);
  box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.15);
}
.form-consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--text-dim); margin: 6px 0 22px; }
.form-consent input { margin-top: 4px; accent-color: var(--violet); }
.contact-form .btn { width: 100%; }
.form-submit-note { margin-top: 12px; font-size: 13px; color: var(--text-dim); text-align: center; }
.form-status { margin-top: 16px; font-size: 14.5px; text-align: center; display: none; }
.form-status.ok { display: block; color: #34d399; }
.form-status.err { display: block; color: #f87171; }

/* ---------- footer ---------- */
.footer { border-top: 1px solid var(--border); padding: 70px 0 36px; background: rgba(0, 0, 0, 0.25); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 54px; }
.footer-grid-3 { grid-template-columns: 1.4fr 1fr 1fr; }
.footer-brand img { height: 22px; margin-bottom: 18px; }
.footer-brand p { font-size: 14.5px; color: var(--text-dim); max-width: 300px; }
.footer-social { display: flex; gap: 12px; margin-top: 20px; }
.social-icon {
  width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: rgba(139, 92, 246, 0.12);
  border: 1px solid rgba(139, 92, 246, 0.28);
  color: var(--text-muted);
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}
.social-icon svg { width: 17px; height: 17px; }
.social-icon:hover { color: var(--violet-2); background: rgba(139, 92, 246, 0.22); border-color: rgba(139, 92, 246, 0.45); }
.footer h4 { font-size: 14px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-dim); margin-bottom: 18px; }
.footer-col ul { display: flex; flex-direction: column; gap: 11px; }
.footer-col a { font-size: 14.5px; color: var(--text-muted); transition: color 0.2s ease; }
.footer-col a:hover { color: var(--violet-2); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13.5px;
  color: var(--text-dim);
}

/* ---------- subpage hero ---------- */
.sub-hero { padding: 190px 0 80px; }
.sub-hero .crumbs { font-size: 14px; color: var(--text-dim); margin-bottom: 22px; }
.sub-hero .crumbs a:hover { color: var(--violet-2); }
.sub-hero h1 { font-size: clamp(34px, 5vw, 56px); max-width: 760px; margin-bottom: 22px; }
.sub-hero p { font-size: 18.5px; color: var(--text-muted); max-width: 640px; margin-bottom: 36px; }

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature-card { padding: 30px 28px; }
.feature-card .icon-badge { margin-bottom: 16px; }
.feature-card h3 { font-size: 17.5px; margin-bottom: 8px; }
.feature-card p { font-size: 14.5px; color: var(--text-muted); }

.pricing-note {
  margin-top: 44px;
  padding: 30px 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.pricing-note .price { font-family: var(--font-head); font-size: 30px; font-weight: 700; }
.pricing-note .price span { font-size: 15px; font-weight: 500; color: var(--text-dim); }

/* ---------- legal pages ---------- */
.legal { max-width: 800px; margin: 0 auto; padding: 48px 44px; }
.legal .updated { font-size: 13.5px; color: var(--text-dim); margin-bottom: 34px; }
.legal h2 { font-size: 22px; margin: 38px 0 14px; }
.legal h2:first-of-type { margin-top: 0; }
.legal p { color: var(--text-muted); font-size: 15.5px; margin-bottom: 14px; }
.legal ul { list-style: none; margin: 0 0 14px; display: flex; flex-direction: column; gap: 8px; }
.legal li { color: var(--text-muted); font-size: 15.5px; padding-left: 22px; position: relative; }
.legal li::before { content: "\2022"; position: absolute; left: 0; color: var(--violet-2); }
.legal a { color: var(--violet-2); }
.legal a:hover { text-decoration: underline; }
@media (max-width: 640px) { .legal { padding: 30px 24px; } }

/* ---------- reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s var(--ease-spring); }
.reveal.visible { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: 0.1s; }
.reveal-d2 { transition-delay: 0.2s; }
.reveal-d3 { transition-delay: 0.3s; }

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 30px; }
  .hero-visual { min-height: 380px; order: -1; display: none; }
  .services-grid, .contact-grid { grid-template-columns: 1fr; }
  .portfolio-grid, .portfolio-grid-4, .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .work-card.featured { grid-column: span 2; }
  .why-cols { grid-template-columns: 1fr; gap: 0; }
  .why-row:nth-child(2) { border-top: 0; padding-top: 0; }
  .testi-layout { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-links, .nav-cta .btn-ghost { display: none; }
  .nav-burger { display: flex; }
  .stat-row { flex-wrap: wrap; }
}
@media (max-width: 640px) {
  section { padding: 80px 0; }
  .portfolio-grid, .portfolio-grid-4, .feature-grid, .form-row { grid-template-columns: 1fr; }
  .work-card.featured { grid-column: span 1; }
  .hero { padding-top: 130px; }
  .stat-row { flex-direction: column; }
  .stat-row .stat { border-right: 0; border-bottom: 1px solid var(--border-flat); }
  .stat-row .stat:last-child { border-bottom: 0; }
  .nav-cta .btn-primary { display: none; }
  .cta-band { padding: 54px 28px; }
  .contact-form { padding: 32px 26px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
}

/* ============================================================
   cookie consent (RODO / ePrivacy)
   ============================================================ */
.cookie-banner {
  position: fixed;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%) translateY(140%);
  width: min(var(--container), calc(100% - 32px));
  z-index: 1000;
  display: flex;
  align-items: center;
  gap: 26px;
  padding: 22px 26px;
  border-radius: 22px;
  background: rgba(14, 10, 28, 0.9);
  border: 1px solid var(--border);
  backdrop-filter: blur(22px) saturate(150%);
  -webkit-backdrop-filter: blur(22px) saturate(150%);
  box-shadow: 0 24px 60px -18px rgba(0, 0, 0, 0.7);
  opacity: 0;
  visibility: hidden;
  transition: transform 0.45s var(--ease-spring), opacity 0.45s ease, visibility 0.45s;
}
.cookie-banner.show { transform: translateX(-50%) translateY(0); opacity: 1; visibility: visible; }
.cookie-banner .ck-body { flex: 1; min-width: 0; }
.cookie-banner h3 { font-size: 17px; margin-bottom: 6px; display: flex; align-items: center; gap: 9px; }
.cookie-banner h3 .ck-icon { width: 19px; height: 19px; fill: var(--violet-2); flex-shrink: 0; }
.cookie-banner p { font-size: 14px; color: var(--text-muted); line-height: 1.6; }
.cookie-banner p a { color: var(--violet-2); text-decoration: underline; }
.cookie-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.cookie-actions .btn { padding: 12px 22px; font-size: 14.5px; }

/* both accept and reject are equally prominent (EDPB) */
.btn-cookie-solid {
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--text);
}
.btn-cookie-solid:hover { border-color: var(--border-strong); background: rgba(255, 255, 255, 0.09); transform: translateY(-2px); }
.btn-cookie-link {
  background: none;
  border: 1px solid transparent;
  color: var(--text-muted);
  padding: 12px 14px;
}
.btn-cookie-link:hover { color: var(--text); }

/* preferences modal */
.cookie-modal {
  position: fixed;
  inset: 0;
  z-index: 1100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(5, 3, 12, 0.6);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s;
}
.cookie-modal.show { opacity: 1; visibility: visible; }
.cookie-modal-panel {
  width: min(560px, 100%);
  max-height: min(86vh, 720px);
  overflow-y: auto;
  padding: 32px;
  border-radius: 24px;
  background: rgba(14, 10, 28, 0.96);
  border: 1px solid var(--border);
  box-shadow: 0 30px 70px -20px rgba(0, 0, 0, 0.75);
  transform: translateY(16px) scale(0.98);
  transition: transform 0.3s var(--ease-spring);
}
.cookie-modal.show .cookie-modal-panel { transform: none; }
.cookie-modal-panel h3 { font-size: 22px; margin-bottom: 8px; }
.cookie-modal-panel > p { font-size: 14.5px; color: var(--text-muted); margin-bottom: 22px; }
.cookie-modal-panel > p a { color: var(--violet-2); text-decoration: underline; }
.cookie-cat {
  display: flex;
  gap: 16px;
  padding: 18px 0;
  border-top: 1px solid var(--border);
}
.cookie-cat .ck-info { flex: 1; }
.cookie-cat h4 { font-size: 15.5px; margin-bottom: 5px; }
.cookie-cat p { font-size: 13px; color: var(--text-muted); line-height: 1.55; }

/* toggle switch */
.ck-switch { position: relative; flex-shrink: 0; width: 46px; height: 26px; margin-top: 2px; }
.ck-switch input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.ck-switch .track {
  position: absolute;
  inset: 0;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid var(--border);
  transition: background 0.25s ease;
  pointer-events: none;
}
.ck-switch .track::before {
  content: "";
  position: absolute;
  top: 3px; left: 3px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: #fff;
  transition: transform 0.25s var(--ease-spring);
}
.ck-switch input:checked + .track { background: linear-gradient(115deg, var(--violet), var(--violet-deep)); border-color: transparent; }
.ck-switch input:checked + .track::before { transform: translateX(20px); }
.ck-switch input:disabled { cursor: not-allowed; }
.ck-switch input:disabled + .track { background: rgba(124, 58, 237, 0.35); }
.ck-switch input:focus-visible + .track { box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.4); }
.cookie-modal-actions { display: flex; gap: 10px; margin-top: 24px; flex-wrap: wrap; }
.cookie-modal-actions .btn { flex: 1; min-width: 150px; padding: 13px 20px; font-size: 14.5px; }

/* footer settings link */
.cookie-settings-link { background: none; border: 0; color: inherit; font: inherit; cursor: pointer; padding: 0; }
.cookie-settings-link:hover { color: var(--violet-2); }

@media (max-width: 860px) {
  .cookie-banner { flex-direction: column; align-items: stretch; gap: 16px; padding: 20px; }
  .cookie-actions { flex-wrap: wrap; }
  .cookie-actions .btn { flex: 1; min-width: 120px; }
  .cookie-actions .btn-cookie-link { flex-basis: 100%; order: 3; }
}

/* ============================================================
   comparison (z email flow / bez) - mail marketing
   ============================================================ */
.compare-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; align-items: start; }
.compare-col { padding: 32px 28px; position: relative; overflow: hidden; }
.compare-head { text-align: center; margin-bottom: 26px; }
.compare-head h3 { font-size: 24px; margin-bottom: 8px; }
.compare-head p { font-size: 14.5px; color: var(--text-muted); }
.compare-list { display: flex; flex-direction: column; gap: 14px; }
.compare-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 15px 18px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  transition: transform 0.25s var(--ease-spring), border-color 0.25s ease;
}
.compare-card:hover { transform: translateY(-3px); }
.ccard-ico {
  flex-shrink: 0;
  width: 44px; height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
}
.ccard-ico svg { width: 20px; height: 20px; fill: var(--text-muted); }
.ccard-body { flex: 1; min-width: 0; }
.ccard-title { font-weight: 600; font-size: 15px; }
.ccard-sub { font-size: 13px; color: var(--text-muted); margin-top: 2px; }
.ccard-time { font-size: 12px; color: var(--text-dim); align-self: flex-start; white-space: nowrap; }

/* "bez" - wyszarzone, neutralne */
.compare-col.is-without .compare-head h3 { color: var(--text-muted); }
.compare-col.is-without .compare-card:hover { border-color: var(--border); }

/* "z" - akcent w fiolecie + poswiata */
.compare-col.is-with {
  border-color: var(--border-strong);
  background:
    radial-gradient(520px 320px at 50% -30%, rgba(124, 58, 237, 0.16), transparent 70%),
    var(--surface);
}
.compare-col.is-with .compare-head h3 { color: var(--violet-2); }
.compare-col.is-with .ccard-ico { background: rgba(124, 58, 237, 0.14); border-color: rgba(139, 92, 246, 0.3); }
.compare-col.is-with .ccard-ico svg { fill: var(--violet-2); }
.compare-col.is-with .compare-card:hover { border-color: var(--border-strong); }

@media (max-width: 768px) {
  .compare-grid { grid-template-columns: 1fr; }
}
