/* ==========================================================================
   PIXORA STUDIO — design system + layout
   ========================================================================== */

:root {
  --bg: #ffffff;
  --bg-soft: #f4f5f7;
  --card: #ffffff;
  --card-hover: #fbfbfd;
  --border: rgba(15, 17, 21, 0.08);
  --border-strong: rgba(15, 17, 21, 0.14);

  --text: #14161a;
  --text-dim: #55585f;
  --text-faint: #888b93;

  --card-shadow: 0 1px 2px rgba(20, 22, 26, 0.04), 0 10px 28px -16px rgba(20, 22, 26, 0.14);
  --card-shadow-hover: 0 20px 40px -20px rgba(20, 22, 26, 0.22);

  /* dark-island palette, used inside .hero / .nav / .cta-banner via local overrides */
  --dark-bg: #0a0a0d;
  --dark-text: #f3f2ee;
  --dark-text-dim: #a7a5ad;
  --dark-text-faint: #6f6d78;
  --dark-border: rgba(255, 255, 255, 0.09);
  --dark-border-strong: rgba(255, 255, 255, 0.16);

  --accent: #16a34a;
  --accent-2: #17b8a6;
  --accent-3: #f43f7d;
  --accent-4: #3b82f6;
  --accent-soft: rgba(22, 163, 74, 0.1);
  --accent-border: rgba(22, 163, 74, 0.35);

  --success: #4ade80;

  --font-display: "Space Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --container: 1200px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-full: 999px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --nav-h: 78px;
}

/* ---------- reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  color-scheme: light;
}

html,
body {
  height: 100%;
}

body {
  background: var(--bg);
  background-image: radial-gradient(rgba(15, 17, 21, 0.04) 1px, transparent 1px);
  background-size: 26px 26px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

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

button {
  font: inherit;
  color: inherit;
  cursor: pointer;
}

ul {
  list-style: none;
}

svg {
  display: block;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

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

/* Lenis smooth-scroll wrapper */
html.lenis,
html.lenis body {
  height: auto;
}
.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}
.lenis.lenis-stopped {
  overflow: hidden;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

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

.section {
  position: relative;
  padding-block: clamp(64px, 10vw, 128px);
}

.section-tight {
  padding-block: clamp(48px, 7vw, 88px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
}

.section-head {
  max-width: 640px;
  margin-bottom: clamp(36px, 6vw, 64px);
}

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

.section-head h2 {
  font-size: clamp(30px, 4.2vw, 48px);
  margin-bottom: 16px;
}

.section-head p {
  color: var(--text-dim);
  font-size: clamp(16px, 1.6vw, 18px);
}

.text-balance {
  text-wrap: balance;
}

/* ---------- buttons ---------- */
.btn {
  --btn-fg: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 28px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 15px;
  white-space: nowrap;
  border: 1px solid transparent;
  position: relative;
  transition: transform 0.35s var(--ease), background 0.25s ease, border-color 0.25s ease, color 0.25s ease, box-shadow 0.35s ease;
  will-change: transform;
}

.btn:active {
  transform: scale(0.97);
}

.btn-primary {
  background: var(--accent);
  color: var(--btn-fg);
  box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.5);
}

.btn-primary:hover {
  transform: translateY(-2px);
  background: #22c55e;
  box-shadow: 0 10px 28px -8px rgba(22, 163, 74, 0.65);
}

.btn-ghost {
  background: transparent;
  border-color: var(--border-strong);
  color: var(--text);
}

.btn-ghost:hover {
  border-color: var(--accent-border);
  background: var(--accent-soft);
  transform: translateY(-2px);
}

.btn-block {
  width: 100%;
}

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

/* ---------- nav ---------- */
.nav {
  --text: #14161a;
  --text-dim: #55585f;
  --text-faint: #888b93;
  --border: rgba(15, 17, 21, 0.08);
  --border-strong: rgba(15, 17, 21, 0.14);
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom: 1px solid var(--border);
  transition: background 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease, color 0.4s ease;
}

.nav.is-scrolled {
  box-shadow: 0 12px 30px -18px rgba(20, 22, 26, 0.18);
}

/* over a dark hero (home page only), float transparent with light text until scrolled */
.nav.nav-hero:not(.is-scrolled) {
  --text: var(--dark-text);
  --text-dim: var(--dark-text-dim);
  --text-faint: var(--dark-text-faint);
  --border: var(--dark-border);
  --border-strong: var(--dark-border-strong);
  background: transparent;
  border-bottom-color: transparent;
  box-shadow: none;
}

.nav-inner {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 19px;
  letter-spacing: -0.01em;
  color: var(--text);
  transition: color 0.4s ease;
}

.logo-mark {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 800;
  font-size: 15px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  background: var(--border);
  border: 1px solid var(--border-strong);
  padding: 6px;
  border-radius: var(--radius-full);
  transition: background 0.4s ease, border-color 0.4s ease;
}

.nav-links a {
  padding: 9px 16px;
  border-radius: var(--radius-full);
  font-size: 14.5px;
  font-weight: 500;
  color: var(--text-dim);
  transition: color 0.25s ease, background 0.25s ease;
}

.nav-links a:hover {
  color: var(--text);
  background: var(--border-strong);
}

.nav-links a.active {
  color: #fff;
  background: var(--accent);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav-login {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--text-dim);
  transition: color 0.25s ease;
}

.nav-login:hover {
  color: var(--text);
}

@media (max-width: 480px) {
  .nav-login {
    display: none;
  }
}

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-strong);
  background: transparent;
  align-items: center;
  justify-content: center;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text);
  position: relative;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-toggle span::before {
  position: absolute;
  top: -6px;
}

.nav-toggle span::after {
  position: absolute;
  top: 6px;
}

.nav.is-open .nav-toggle span {
  background: transparent;
}
.nav.is-open .nav-toggle span::before {
  transform: translateY(6px) rotate(45deg);
}
.nav.is-open .nav-toggle span::after {
  transform: translateY(-6px) rotate(-45deg);
}

/* ---------- hero ---------- */
.hero {
  --bg: var(--dark-bg);
  --text: var(--dark-text);
  --text-dim: var(--dark-text-dim);
  --text-faint: var(--dark-text-faint);
  --border: var(--dark-border);
  --border-strong: var(--dark-border-strong);
  position: relative;
  min-height: 100svh;
  padding-top: calc(var(--nav-h) + clamp(32px, 6vw, 64px));
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--bg);
  color: var(--text);
}

.hero-media {
  position: absolute;
  inset: -10% 0 0 0;
  height: 120%;
  z-index: 0;
  will-change: transform;
}

.hero-media video,
.hero-media .hero-fallback {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-fallback {
  background:
    radial-gradient(ellipse 80% 60% at 30% 20%, rgba(22, 163, 74, 0.28), transparent 60%),
    radial-gradient(ellipse 60% 50% at 80% 80%, rgba(22, 163, 74, 0.16), transparent 60%),
    #0a0a0d;
}

.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(8, 8, 10, 0.55) 0%, rgba(8, 8, 10, 0.35) 35%, rgba(8, 8, 10, 0.55) 70%, rgba(6, 6, 8, 0.92) 100%);
}

.hero-grain {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.5;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.35'/%3E%3C/svg%3E");
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-strong);
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dim);
  margin-bottom: 28px;
}

.hero-badge .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 3px rgba(74, 222, 128, 0.2);
}

.hero h1 {
  font-size: clamp(40px, 7.2vw, 92px);
  max-width: 16ch;
  text-wrap: balance;
}

.hero h1 em {
  font-style: normal;
  color: var(--accent);
}

.hero-sub {
  margin-top: 22px;
  max-width: 46ch;
  font-size: clamp(16px, 1.8vw, 20px);
  color: var(--text-dim);
  text-wrap: balance;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: 40px;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-top: 56px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
  max-width: 640px;
}

.hero-meta div strong {
  display: block;
  font-family: var(--font-display);
  font-size: 22px;
}

.hero-meta div span {
  font-size: 13px;
  color: var(--text-faint);
}

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: clamp(20px, 4vh, 40px);
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: var(--text-faint);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.scroll-cue svg {
  animation: cue-bounce 1.8s ease-in-out infinite;
}

@keyframes cue-bounce {
  0%,
  100% {
    transform: translateY(0);
    opacity: 0.5;
  }
  50% {
    transform: translateY(6px);
    opacity: 1;
  }
}

/* ---------- ambient background life (post-hero sections) ---------- */
@keyframes orb-drift {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(3%, -4%) scale(1.08);
  }
}

@keyframes badge-pulse {
  0%,
  100% {
    box-shadow: 0 0 0 3px rgba(74, 222, 128, 0.2);
  }
  50% {
    box-shadow: 0 0 0 7px rgba(74, 222, 128, 0.08);
  }
}

.hero-badge .dot {
  animation: badge-pulse 2.4s ease-in-out infinite;
}

#services,
#how-it-works,
#work,
.section-tight {
  position: relative;
  isolation: isolate;
}

#how-it-works,
#work {
  background: var(--bg-soft);
}

#how-it-works {
  padding-bottom: clamp(32px, 5vw, 56px);
}

#services::before,
#how-it-works::before,
#work::before,
.section-tight::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.7;
  animation: orb-drift 20s ease-in-out infinite;
}

#services::before {
  background:
    radial-gradient(ellipse 40% 50% at 8% 12%, rgba(22, 163, 74, 0.16), transparent 60%),
    radial-gradient(ellipse 35% 45% at 92% 88%, rgba(22, 163, 74, 0.1), transparent 60%);
}

#how-it-works::before {
  background:
    radial-gradient(ellipse 35% 45% at 95% 10%, rgba(22, 163, 74, 0.14), transparent 60%),
    radial-gradient(ellipse 40% 50% at 5% 90%, rgba(22, 163, 74, 0.1), transparent 60%);
  animation-delay: -6s;
}

#work::before {
  background:
    radial-gradient(ellipse 40% 50% at 90% 15%, rgba(22, 163, 74, 0.14), transparent 60%),
    radial-gradient(ellipse 35% 45% at 10% 85%, rgba(22, 163, 74, 0.09), transparent 60%);
  animation-delay: -12s;
}

.section-tight::before {
  background:
    radial-gradient(ellipse 35% 50% at 12% 90%, rgba(22, 163, 74, 0.12), transparent 60%),
    radial-gradient(ellipse 40% 45% at 88% 10%, rgba(22, 163, 74, 0.12), transparent 60%);
  animation-delay: -3s;
}

/* button shine sweep */
.btn-primary {
  overflow: hidden;
}

.btn-primary::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255, 255, 255, 0.35) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform 0.7s ease;
  pointer-events: none;
}

.btn-primary:hover::after {
  transform: translateX(120%);
}

/* faq hover life */
.faq-item {
  transition: border-color 0.3s ease;
}

.faq-item:hover {
  border-color: var(--border-strong);
}

/* ---------- page hero (about/contact) ---------- */
.page-hero {
  position: relative;
  padding-top: calc(var(--nav-h) + 88px);
  padding-bottom: 72px;
  overflow: hidden;
  background: var(--bg);
}

.page-hero::before,
.page-hero::after {
  content: "";
  position: absolute;
  width: 55%;
  height: 130%;
  pointer-events: none;
}

.page-hero::before {
  top: -20%;
  right: -10%;
  background: radial-gradient(ellipse, rgba(22, 163, 74, 0.18), transparent 65%);
}

.page-hero::after {
  top: -10%;
  left: -12%;
  background: radial-gradient(ellipse, rgba(22, 163, 74, 0.1), transparent 65%);
}

.page-hero .eyebrow {
  justify-content: center;
}

.page-hero h1 {
  font-size: clamp(34px, 5.6vw, 64px);
}

.breadcrumbs {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 18px;
  font-size: 14px;
  color: var(--text-faint);
}

.breadcrumbs a {
  color: var(--text-dim);
  transition: color 0.2s ease;
}
.breadcrumbs a:hover {
  color: var(--accent);
}

/* ---------- stats strip ---------- */
.stats {
  position: relative;
  overflow: hidden;
  border-block: 1px solid var(--border);
  background: var(--bg-soft);
}

.stats-particle {
  position: absolute;
  bottom: 0;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0;
  animation: particle-float 9s ease-in infinite;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding-block: 40px;
}

.stat h3 {
  font-size: clamp(28px, 3.6vw, 44px);
  color: var(--accent);
}

.stat span {
  display: block;
  margin-top: 6px;
  font-size: 13.5px;
  color: var(--text-faint);
  font-weight: 500;
}

/* ---------- service cards ---------- */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--card-shadow);
  transition: transform 0.4s var(--ease), border-color 0.4s ease, background 0.4s ease, box-shadow 0.4s ease;
}

.card:hover {
  transform: translateY(-6px);
  border-color: var(--border-strong);
  background: var(--card-hover);
  box-shadow: var(--card-shadow-hover);
}

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--accent-soft);
  border: 1px solid var(--accent-border);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  transition: transform 0.45s var(--ease), background 0.3s ease;
}

.card:hover .card-icon {
  transform: rotate(-8deg) scale(1.08);
}

.card-icon svg {
  width: 22px;
  height: 22px;
}


.card h3 {
  font-size: 19px;
  margin-bottom: 10px;
}

.card p {
  color: var(--text-dim);
  font-size: 14.5px;
}

.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.tag {
  font-size: 12px;
  font-weight: 600;
  padding: 5px 11px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-faint);
  border: 1px solid var(--border);
}

/* ---------- process / how we work ---------- */
.process {
  position: relative;
}

.process-scroll {
  position: relative;
  height: 300vh;
}

.process-sticky {
  --text: var(--dark-text);
  --text-dim: var(--dark-text-dim);
  --text-faint: var(--dark-text-faint);
  --border: var(--dark-border);
  --border-strong: var(--dark-border-strong);
  position: sticky;
  top: var(--nav-h);
  height: calc(100vh - var(--nav-h));
  min-height: 480px;
  max-height: 720px;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: var(--text);
  background: var(--dark-bg);
}

.process-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.process-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.5;
}

.process-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 10, 13, 0.8) 0%, rgba(10, 10, 13, 0.68) 45%, rgba(10, 10, 13, 0.88) 100%);
}

.process-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
}

.process-particle {
  position: absolute;
  bottom: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 6px 1px rgba(255, 255, 255, 0.6);
  opacity: 0;
  animation: particle-float 10s ease-in infinite;
}

@keyframes particle-float {
  0% {
    transform: translateY(0) scale(0.8);
    opacity: 0;
  }
  12% {
    opacity: 0.5;
  }
  85% {
    opacity: 0.3;
  }
  100% {
    transform: translateY(-260px) scale(1.1);
    opacity: 0;
  }
}

.process-cards {
  position: relative;
  z-index: 1;
  display: flex;
  flex-shrink: 0;
  width: calc(var(--steps, 3) * 100%);
  will-change: transform;
}

.process-card {
  width: calc(100% / var(--steps, 3));
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.process-card-inner {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  display: grid;
  grid-template-columns: 220px 1fr;
  align-items: center;
  gap: clamp(32px, 6vw, 72px);
  text-align: left;
  padding-inline: clamp(24px, 6vw, 80px);
  opacity: 0.35;
  transition: opacity 0.5s ease;
}

.process-card.is-active .process-card-inner {
  opacity: 1;
}

.process-card-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.process-card-visual::before {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: var(--accent);
  filter: blur(34px);
  opacity: 0;
  transform: scale(0.8);
  transition: opacity 0.6s ease, transform 0.6s var(--ease);
}

.process-card.is-active .process-card-visual::before {
  opacity: 0.22;
  transform: scale(1);
  animation: halo-pulse 3s ease-in-out infinite;
}

@keyframes halo-pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.22;
  }
  50% {
    transform: scale(1.12);
    opacity: 0.3;
  }
}

.process-card-num {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.process-card-icon {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.5s var(--ease);
}

.process-card.is-active .process-card-icon {
  animation: card-icon-pop 0.6s var(--ease);
}

.process-card-icon svg {
  width: 42px;
  height: 42px;
}

.process-card-copy h3 {
  font-size: clamp(24px, 3vw, 32px);
  margin-bottom: 12px;
}

.process-card-copy p {
  color: var(--text-dim);
  font-size: 16px;
  max-width: 46ch;
}

.process-dots {
  position: absolute;
  bottom: clamp(18px, 4vh, 32px);
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  gap: 10px;
}

.process-dot {
  width: 8px;
  height: 8px;
  border-radius: var(--radius-full);
  background: var(--border-strong);
  transition: background 0.3s ease, width 0.3s ease;
}

.process-dot.is-active {
  background: var(--accent);
  width: 26px;
}

@keyframes card-icon-pop {
  0% {
    transform: scale(0.85);
  }
  60% {
    transform: scale(1.14);
  }
  100% {
    transform: scale(1);
  }
}

.process-done {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  max-width: 560px;
  margin: 40px auto 0;
  padding: 20px 26px;
  border-radius: var(--radius-lg);
  background: var(--card);
  border: 1px solid var(--border);
  box-shadow: var(--card-shadow);
  text-align: left;
}

.process-done-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(74, 222, 128, 0.14);
  color: var(--success);
  display: flex;
  align-items: center;
  justify-content: center;
}

.process-done-icon svg {
  width: 22px;
  height: 22px;
}

.process-done strong {
  display: block;
  font-family: var(--font-display);
  font-size: 15.5px;
}

.process-done span {
  display: block;
  font-size: 13.5px;
  color: var(--text-dim);
  margin-top: 2px;
}

/* ---------- portfolio / recent work ---------- */
.work-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 32px;
}

.work-tab {
  padding: 9px 18px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-strong);
  background: transparent;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dim);
  transition: all 0.25s ease;
}

.work-tab:hover {
  color: var(--text);
}

.work-tab.active {
  background: var(--text);
  color: var(--bg);
  border-color: var(--text);
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.work-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--card);
  border: 1px solid var(--border);
  cursor: pointer;
  transition: transform 0.45s var(--ease), border-color 0.4s ease, box-shadow 0.45s ease;
}

.work-card:hover {
  transform: translateY(-6px) scale(1.015);
  border-color: var(--border-strong);
  box-shadow: 0 24px 48px -26px rgba(0, 0, 0, 0.6);
}

.work-card video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.work-card.is-loaded video {
  opacity: 1;
}

.work-thumb {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #1c1c22, var(--dark-bg));
  display: flex;
  align-items: center;
  justify-content: center;
}

.work-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.5;
  background-image:
    radial-gradient(circle at 30% 20%, rgba(22, 163, 74, 0.35), transparent 55%),
    radial-gradient(circle at 80% 90%, rgba(22, 163, 74, 0.2), transparent 55%);
}

.work-play {
  position: relative;
  z-index: 2;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease, background 0.3s ease;
}

.work-card:hover .work-play {
  transform: scale(1.1);
  background: var(--accent);
  border-color: var(--accent);
}

.work-play svg {
  width: 20px;
  height: 20px;
  margin-left: 3px;
  color: #fff;
}

.work-info {
  --text: var(--dark-text);
  --text-dim: var(--dark-text-dim);
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  padding: 18px;
  background: linear-gradient(0deg, rgba(6, 6, 8, 0.88), transparent);
}

.work-info .tag {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text);
  border-color: transparent;
  margin-bottom: 8px;
}

.work-info h4 {
  font-family: var(--font-display);
  font-size: 16px;
}

.work-info p {
  font-size: 12.5px;
  color: var(--text-dim);
  margin-top: 2px;
}

.work-note {
  margin-top: 24px;
  font-size: 13px;
  color: var(--text-faint);
  text-align: center;
}

/* ---------- reviews summary ---------- */
.reviews-summary {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 40px;
  align-items: center;
  max-width: 860px;
  margin: 0 auto clamp(36px, 6vw, 56px);
  padding: 28px 32px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--card-shadow);
}

.reviews-score {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  min-width: 168px;
  padding-right: 40px;
  border-right: 1px solid var(--border);
  text-align: center;
}

.reviews-score strong {
  font-family: var(--font-display);
  font-size: 44px;
  line-height: 1;
  background: none;
  color: var(--text);
}

.reviews-score span {
  font-size: 12.5px;
  color: var(--text-faint);
  white-space: nowrap;
}

.reviews-bars {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.reviews-bar-row {
  display: grid;
  grid-template-columns: 52px 1fr 34px;
  align-items: center;
  gap: 12px;
  font-size: 12.5px;
  color: var(--text-faint);
}

.reviews-bar-row .bar {
  height: 7px;
  border-radius: var(--radius-full);
  background: var(--bg-soft);
  overflow: hidden;
}

.reviews-bar-row .bar i {
  display: block;
  height: 100%;
  border-radius: var(--radius-full);
  background: var(--accent);
  transform-origin: left;
  transform: scaleX(0);
  transition: transform 1.1s var(--ease);
}

.reviews-summary.in-view .bar i {
  transform: scaleX(1);
}

/* ---------- testimonials ---------- */
.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.testi-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  box-shadow: var(--card-shadow);
  transition: transform 0.4s var(--ease), border-color 0.4s ease, background 0.4s ease, box-shadow 0.4s ease;
}

.testi-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-strong);
  background: var(--card-hover);
  box-shadow: var(--card-shadow-hover);
}

.testi-card-lg {
  grid-column: span 2;
}

.testi-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.stars {
  display: flex;
  gap: 3px;
  color: var(--accent);
}

.stars svg {
  width: 15px;
  height: 15px;
}

.testi-card p {
  color: var(--text-dim);
  font-size: 14.5px;
  flex: 1;
}

.testi-person {
  display: flex;
  align-items: center;
  gap: 12px;
}

.avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  color: #fff;
  flex-shrink: 0;
}

.testi-person strong {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 14px;
}

.testi-person .verified {
  width: 14px;
  height: 14px;
  color: var(--success);
  flex-shrink: 0;
}

.testi-person span {
  font-size: 12.5px;
  color: var(--text-faint);
}

/* ---------- CTA banner ---------- */
.cta-banner {
  --text: var(--dark-text);
  --text-dim: var(--dark-text-dim);
  --border: var(--dark-border);
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  padding: clamp(40px, 7vw, 80px);
  background: #131217;
  border: 1px solid var(--border);
  text-align: center;
  color: var(--text);
}

.cta-banner::before,
.cta-banner::after {
  content: "";
  position: absolute;
  pointer-events: none;
  border-radius: 50%;
  filter: blur(10px);
  animation: orb-drift 14s ease-in-out infinite;
}

.cta-banner::before {
  width: 55%;
  height: 140%;
  top: -40%;
  left: -10%;
  background: radial-gradient(ellipse, rgba(22, 163, 74, 0.28), transparent 60%);
}

.cta-banner::after {
  width: 50%;
  height: 130%;
  bottom: -35%;
  right: -8%;
  background: radial-gradient(ellipse, rgba(22, 163, 74, 0.18), transparent 60%);
  animation-delay: -7s;
  animation-direction: reverse;
}

.cta-banner h2 {
  font-size: clamp(28px, 4vw, 44px);
  max-width: 20ch;
  margin-inline: auto;
  position: relative;
}

.cta-banner p {
  position: relative;
  max-width: 46ch;
  margin: 18px auto 32px;
  color: var(--text-dim);
}

.cta-banner .hero-actions {
  justify-content: center;
  margin-top: 0;
  position: relative;
}

/* ---------- footer ---------- */
.footer {
  border-top: 1px solid var(--border);
  padding-block: 64px 32px;
  background: var(--bg-soft);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: 40px;
  padding-bottom: 48px;
}

.footer-brand p {
  margin-top: 16px;
  color: var(--text-dim);
  font-size: 14px;
  max-width: 32ch;
}

.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 24px;
}

.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
}

.footer-social a:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.footer-social svg {
  width: 16px;
  height: 16px;
}

.footer h4 {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-faint);
  margin-bottom: 18px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  font-size: 14.5px;
  color: var(--text-dim);
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--accent);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 28px;
  border-top: 1px solid var(--border);
  font-size: 13px;
  color: var(--text-faint);
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------- about page specifics ---------- */
.story-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.story-visual {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 1 / 1;
  border: 1px solid var(--border);
  background: linear-gradient(150deg, var(--card), var(--bg-soft));
}

.story-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 30%, rgba(22, 163, 74, 0.32), transparent 55%),
    radial-gradient(circle at 80% 75%, rgba(22, 163, 74, 0.18), transparent 55%);
}

.story-visual .float-card {
  --text: var(--dark-text);
  --text-faint: var(--dark-text-faint);
  --border-strong: var(--dark-border-strong);
  position: absolute;
  bottom: 24px;
  left: 24px;
  right: 24px;
  background: rgba(10, 10, 13, 0.7);
  backdrop-filter: blur(14px);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  padding: 18px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.story-visual .float-card strong {
  display: block;
  font-family: var(--font-display);
  font-size: 20px;
}
.story-visual .float-card span {
  font-size: 12.5px;
  color: var(--text-faint);
}

.story-copy h2 {
  font-size: clamp(28px, 3.6vw, 40px);
  margin-bottom: 20px;
}

.story-copy p {
  color: var(--text-dim);
  margin-bottom: 16px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.value-card {
  text-align: center;
  padding: 32px 22px;
}

.value-card .card-icon {
  margin-inline: auto;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.team-card {
  text-align: center;
  padding: 28px 20px;
}

.team-card .avatar {
  width: 76px;
  height: 76px;
  font-size: 22px;
  margin-inline: auto 0;
  margin-bottom: 18px;
}

.team-card strong {
  display: block;
  font-size: 15.5px;
}

.team-card span {
  display: block;
  font-size: 13px;
  color: var(--accent);
  margin-top: 3px;
  margin-bottom: 10px;
}

.team-card p {
  font-size: 13px;
  color: var(--text-faint);
}

/* ---------- contact page ---------- */
.contact-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: start;
}

.form-card,
.info-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 3vw, 40px);
  box-shadow: var(--card-shadow);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}

.field label {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-dim);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  background: var(--bg-soft);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  padding: 13px 15px;
  color: var(--text);
  font: inherit;
  font-size: 14.5px;
  transition: border-color 0.25s ease, background 0.25s ease;
}

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

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: rgba(22, 163, 74, 0.06);
}

.field textarea {
  resize: vertical;
  min-height: 120px;
}

/* ---------- auth (login / sign up) ---------- */
.auth-card {
  max-width: 440px;
  margin-inline: auto;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--card-shadow);
  padding: clamp(28px, 4vw, 40px);
}

.auth-tabs {
  display: flex;
  gap: 6px;
  background: var(--bg-soft);
  padding: 6px;
  border-radius: var(--radius-full);
  margin-bottom: 24px;
}

.auth-tab {
  flex: 1;
  padding: 10px;
  border-radius: var(--radius-full);
  border: none;
  background: transparent;
  font-weight: 600;
  font-size: 14.5px;
  color: var(--text-dim);
  transition: background 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}

.auth-tab.is-active {
  background: var(--card);
  color: var(--text);
  box-shadow: var(--card-shadow);
}

.btn-google {
  background: #fff;
  border: 1px solid var(--border-strong);
  color: var(--text);
}

.btn-google:hover {
  background: var(--bg-soft);
  transform: translateY(-2px);
}

.btn-google svg {
  width: 18px;
  height: 18px;
}

.auth-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-block: 22px;
  color: var(--text-faint);
  font-size: 12.5px;
  text-align: center;
}

.auth-divider::before,
.auth-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--border);
}

.auth-panel[hidden] {
  display: none;
}

.field-row-link {
  display: flex;
  justify-content: flex-end;
  margin-top: -8px;
  margin-bottom: 16px;
}

.field-row-link a {
  font-size: 13px;
  color: var(--accent);
  font-weight: 600;
}

.auth-foot {
  margin-top: 20px;
  text-align: center;
  font-size: 13.5px;
  color: var(--text-dim);
}

.auth-foot[hidden] {
  display: none;
}

.auth-foot a {
  color: var(--accent);
  font-weight: 600;
}

/* upload dropzone */
.dropzone {
  border: 1.5px dashed var(--border-strong);
  border-radius: var(--radius-md);
  padding: 32px 20px;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.25s ease, background 0.25s ease;
  position: relative;
}

.dropzone:hover,
.dropzone.is-dragover {
  border-color: var(--accent);
  background: var(--accent-soft);
}

.dropzone input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.dropzone-icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--accent-soft);
  border: 1px solid var(--accent-border);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
}

.dropzone strong {
  display: block;
  font-size: 14.5px;
  margin-bottom: 4px;
}

.dropzone span {
  font-size: 12.5px;
  color: var(--text-faint);
}

.file-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 14px;
}

.file-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 13.5px;
}

.file-chip .file-icon {
  width: 30px;
  height: 30px;
  border-radius: 7px;
  background: var(--accent-soft);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.file-chip .file-icon svg {
  width: 15px;
  height: 15px;
}

.file-chip .file-meta {
  flex: 1;
  min-width: 0;
}

.file-chip .file-meta strong {
  display: block;
  font-weight: 500;
  font-size: 13.5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.file-chip .file-meta span {
  font-size: 11.5px;
  color: var(--text-faint);
}

.file-chip button {
  background: transparent;
  border: none;
  color: var(--text-faint);
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.file-chip button:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
}

.file-chip button svg {
  width: 14px;
  height: 14px;
}

.form-success {
  display: none;
  align-items: center;
  gap: 14px;
  padding: 18px;
  border-radius: var(--radius-md);
  background: rgba(74, 222, 128, 0.1);
  border: 1px solid rgba(74, 222, 128, 0.3);
  color: #86efac;
  font-size: 14px;
  margin-top: 18px;
}

.form-success.show {
  display: flex;
}

.form-success svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.info-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 20px;
}

.info-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.info-item .card-icon {
  margin-bottom: 0;
  flex-shrink: 0;
}

.info-item strong {
  display: block;
  font-size: 14.5px;
  margin-bottom: 3px;
}

.info-item span,
.info-item a {
  font-size: 13.5px;
  color: var(--text-dim);
}

.info-item a:hover {
  color: var(--accent);
}

.map-block {
  margin-top: 24px;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 16/10;
  border: 1px solid var(--border);
  background:
    linear-gradient(rgba(15, 17, 21, 0.06) 1px, transparent 1px) 0 0 / 28px 28px,
    linear-gradient(90deg, rgba(15, 17, 21, 0.06) 1px, transparent 1px) 0 0 / 28px 28px,
    var(--bg-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.map-pin {
  width: 44px;
  height: 44px;
  border-radius: 50% 50% 50% 0;
  background: var(--accent);
  transform: rotate(-45deg);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(22, 163, 74, 0.4);
}

.map-pin svg {
  transform: rotate(45deg);
  width: 18px;
  height: 18px;
  color: #fff;
}

/* faq */
.faq-list {
  max-width: 780px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--card);
  overflow: hidden;
  box-shadow: var(--card-shadow);
}

.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  background: transparent;
  border: none;
  text-align: left;
  font-size: 15.5px;
  font-weight: 600;
}

.faq-q .plus {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s var(--ease), background 0.3s ease, border-color 0.3s ease;
}

.faq-item.is-open .faq-q .plus {
  transform: rotate(45deg);
  background: var(--accent);
  border-color: var(--accent);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease);
}

.faq-a p {
  padding: 0 24px 22px;
  color: var(--text-dim);
  font-size: 14.5px;
}

/* ---------- scroll reveal ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  filter: blur(6px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease), filter 0.8s var(--ease);
}

[data-reveal].in-view {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

[data-reveal-group] > * {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

[data-reveal-group].in-view > * {
  opacity: 1;
  transform: translateY(0);
}

[data-reveal-group].in-view > *:nth-child(1) { transition-delay: 0.02s; }
[data-reveal-group].in-view > *:nth-child(2) { transition-delay: 0.09s; }
[data-reveal-group].in-view > *:nth-child(3) { transition-delay: 0.16s; }
[data-reveal-group].in-view > *:nth-child(4) { transition-delay: 0.23s; }
[data-reveal-group].in-view > *:nth-child(5) { transition-delay: 0.3s; }
[data-reveal-group].in-view > *:nth-child(6) { transition-delay: 0.37s; }

@media (prefers-reduced-motion: reduce) {
  [data-reveal],
  [data-reveal-group] > * {
    opacity: 1;
    transform: none;
    filter: none;
  }
}

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .nav.is-open .nav-links {
    --text: #14161a;
    --text-dim: #55585f;
    --border: rgba(15, 17, 21, 0.08);
    display: flex;
    position: absolute;
    top: var(--nav-h);
    left: 0;
    right: 0;
    flex-direction: column;
    background: #fff;
    padding: 16px 24px 24px;
    border-bottom: 1px solid var(--border);
    border-radius: 0 0 20px 20px;
    box-shadow: var(--card-shadow-hover);
    gap: 4px;
  }
  .nav.is-open .nav-links a {
    padding: 13px 16px;
    color: var(--text-dim);
  }
  .nav.is-open .nav-links a:hover {
    color: var(--text);
    background: var(--border);
  }
  .nav.is-open .nav-links a.active {
    color: #fff;
    background: var(--accent);
  }

  .grid-3,
  .work-grid,
  .testi-grid { grid-template-columns: repeat(2, 1fr); }
  .process-scroll { height: auto; }
  .process-sticky {
    position: relative;
    top: 0;
    height: auto;
    min-height: 0;
    max-height: none;
    display: block;
    overflow: visible;
    padding-block: 8px;
  }
  .process-cards {
    display: block;
    width: 100% !important;
    transform: none !important;
  }
  .process-card {
    width: 100% !important;
    padding-inline: 0;
    margin-bottom: 20px;
  }
  .process-card-inner {
    max-width: 100%;
    grid-template-columns: 1fr;
    text-align: center;
    gap: 18px;
    opacity: 1 !important;
    transform: none !important;
  }
  .process-card-copy p { margin-inline: auto; }
  .process-dots { display: none; }
  .story-layout,
  .contact-layout { grid-template-columns: 1fr; }
  .story-layout { gap: 40px; }
  .reviews-summary { grid-template-columns: 1fr; text-align: center; }
  .reviews-score { padding-right: 0; border-right: none; padding-bottom: 20px; border-bottom: 1px solid var(--border); }
  .testi-card-lg { grid-column: span 2; }
}

@media (max-width: 640px) {
  :root { --nav-h: 68px; }
  .grid-3,
  .grid-4,
  .work-grid,
  .testi-grid,
  .team-grid,
  .stats-grid { grid-template-columns: 1fr; }
  .testi-card-lg { grid-column: span 1; }
  .reviews-bar-row { grid-template-columns: 44px 1fr 30px; }
  .form-row { grid-template-columns: 1fr; }
  .hero-meta { gap: 20px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .cta-banner { padding: 40px 22px; }
}
