/* ─── DESIGN TOKENS ──────────────────────────── */
:root {
  /* Dark section palette */
  --bg-dark:        #0C0D12;
  --bg-footer:      #080810;
  --text-d:         #EDE9E0;
  --text-d-muted:   rgba(237,233,224,0.42);
  --border-d:       rgba(237,233,224,0.09);
  --border-d-vis:   rgba(237,233,224,0.15);

  /* Light section palette */
  --bg-light:       #FAF6EF;
  --bg-card:        #FFFFFF;
  --text-l:         #141418;
  --text-l-muted:   #78787F;
  --border-l:       rgba(20,20,24,0.10);
  --border-l-vis:   rgba(20,20,24,0.18);

  /* Accent */
  --accent:         #1c8aa5;
  --accent-hover:   #156d83;
  --accent-dim:     rgba(28,138,165,0.09);
  --accent-glow:    rgba(28,138,165,0.30);

  /* Shared */
  --radius:         10px;
  --radius-lg:      18px;
  --font-display:   'Fraunces', Georgia, serif;
  --font-body:      'Inter', system-ui, sans-serif;
  --max:            1180px;
}

/* ─── RESET & BASE ───────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1;
  background: var(--bg-dark);
  color: var(--text-d);
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
::selection { background: var(--accent); color: #fff; }

/* ─── LAYOUT ─────────────────────────────────── */
.wrap {
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: 28px;
}
.section-d { background: var(--bg-dark); padding-block: 110px; }
.section-l { background: var(--bg-light); padding-block: 110px; }

/* ─── TYPOGRAPHY UTILITIES ───────────────────── */
.eyebrow {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
  display: block;
}
.eyebrow-l { color: var(--accent); }

.display {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.08;
  text-wrap: balance;
  letter-spacing: -0.01em;
}
.h1 { font-size: clamp(52px, 7.5vw, 88px); }
.h2 { font-size: clamp(36px, 4.5vw, 52px); }
.h3 { font-size: clamp(28px, 3vw, 36px); }

.body-lg {
  font-size: 17px;
  line-height: 1.75;
  font-weight: 300;
}
.body-sm { font-size: 14px; line-height: 1.7; font-weight: 400; }

/* ─── SCROLL REVEAL ──────────────────────────── */
.sr {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}
.sr.in { opacity: 1; transform: none; }
.sr-d1 { transition-delay: 0.08s; }
.sr-d2 { transition-delay: 0.16s; }
.sr-d3 { transition-delay: 0.24s; }
.sr-d4 { transition-delay: 0.32s; }

@media (prefers-reduced-motion: reduce) {
  .sr, .reveal-text { animation: none !important; opacity: 1 !important; transform: none !important; }
}

/* ─── NAVBAR ─────────────────────────────────── */
#nav {
  position: fixed;
  inset-block-start: 0;
  inset-inline: 0;
  z-index: 200;
  padding-block: 22px;
  transition: padding-block 0.3s, background 0.3s, border-color 0.3s, backdrop-filter 0.3s;
  border-bottom: 1px solid transparent;
}
#nav.scrolled {
  padding-block: 16px;
  background: rgba(12,13,18,0.88);
  backdrop-filter: blur(18px);
  border-color: var(--border-d);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.nav-logo {
  display: flex;
  align-items: center;
  background: var(--bg-light);
  padding: 7px 12px;
  border-radius: 9px;
}
.nav-logo-img {
  display: block;
  height: 34px;
  width: auto;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
}
.nav-links a {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-d-muted);
  padding: 7px 14px;
  border-radius: 6px;
  transition: color 0.2s, background 0.2s;
  position: relative;
}
.nav-links a:hover { color: var(--text-d); background: var(--border-d); }
.nav-cta-btn {
  font-size: 13.5px;
  font-weight: 600;
  color: #fff;
  background: var(--accent);
  padding: 9px 20px;
  border-radius: 8px;
  transition: background 0.2s, box-shadow 0.2s;
}
.nav-cta-btn:hover { background: var(--accent-hover); box-shadow: 0 4px 18px var(--accent-glow); color: #fff; }

.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
}
.nav-burger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--text-d);
  border-radius: 2px;
  transition: all 0.3s;
}

/* Mobile menu */
.nav-mobile {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--bg-dark);
  z-index: 199;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 700;
  color: var(--text-d);
  transition: color 0.2s;
}
.nav-mobile a:hover { color: var(--accent); }
.nav-mobile-close {
  position: absolute;
  top: 24px;
  right: 28px;
  font-size: 24px;
  color: var(--text-d-muted);
  transition: color 0.2s;
}
.nav-mobile-close:hover { color: var(--text-d); }

/* ─── HERO ───────────────────────────────────── */
.hero-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(8,9,15,0.82) 0%, rgba(10,14,22,0.72) 100%);
  z-index: 1;
}
#hero {
  min-height: 100vh;
  background: var(--bg-dark);
  background-image: radial-gradient(circle, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 28px 28px;
  display: flex;
  align-items: center;
  padding-top: 90px;
  padding-bottom: 80px;
  position: relative;
  overflow: hidden;
}
.hero-glow {
  position: absolute;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(28,138,165,0.13) 0%, transparent 70%);
  top: -200px;
  right: -200px;
  pointer-events: none;
}
.hero-content { position: relative; z-index: 3; max-width: 820px; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: rgba(237,233,224,0.55);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.04em;
  margin-bottom: 36px;
  animation: fadeSlideDown 0.9s cubic-bezier(0.16,1,0.3,1) both;
}
.hero-badge-dot {
  width: 7px;
  height: 7px;
  background: var(--accent);
  border-radius: 50%;
  animation: breathe 2.5s ease infinite;
}
@keyframes breathe {
  0%,100% { opacity: 1; }
  50% { opacity: 0.4; }
}
@keyframes fadeSlideDown {
  from { opacity: 0; transform: translateY(-14px); }
  to   { opacity: 1; transform: none; }
}

/* Text reveal */
.reveal-line { overflow: hidden; }
.reveal-text {
  display: block;
  animation: revealUp 1.1s cubic-bezier(0.16,1,0.3,1) both;
}
.rl-1 .reveal-text { animation-delay: 0.15s; }
.rl-2 .reveal-text { animation-delay: 0.28s; }
.rl-3 .reveal-text { animation-delay: 0.41s; }
@keyframes revealUp {
  from { transform: translateY(105%); }
  to   { transform: translateY(0); }
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(52px, 7.5vw, 88px);
  line-height: 1.07;
  letter-spacing: -0.02em;
  color: var(--text-d);
  margin-bottom: 34px;
}
.hero-title .accent-word { color: var(--accent); font-style: italic; }

.hero-desc {
  font-size: 17px;
  font-weight: 300;
  line-height: 1.8;
  color: var(--text-d-muted);
  max-width: 520px;
  margin-bottom: 48px;
  animation: fadeUp 1s cubic-bezier(0.16,1,0.3,1) 0.55s both;
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: none; }
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  animation: fadeUp 1s cubic-bezier(0.16,1,0.3,1) 0.68s both;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--accent);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  padding: 15px 30px;
  border-radius: var(--radius);
  transition: background 0.2s, box-shadow 0.2s, transform 0.15s;
}
.btn-primary:hover {
  background: var(--accent-hover);
  box-shadow: 0 8px 28px var(--accent-glow);
  transform: translateY(-1px);
}
.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-d-muted);
  font-size: 15px;
  font-weight: 500;
  transition: color 0.2s;
}
.btn-ghost:hover { color: var(--text-d); }
.btn-arrow {
  display: inline-flex;
  align-items: center;
  transition: transform 0.2s;
}
.btn-primary:hover .btn-arrow,
.btn-ghost:hover .btn-arrow { transform: translateX(3px); }

.hero-scroll { z-index: 3;
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-d-muted);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  animation: scrollBounce 2.2s ease infinite 1.5s;
}
@keyframes scrollBounce {
  0%,40%,100% { transform: translateX(-50%) translateY(0); }
  20% { transform: translateX(-50%) translateY(7px); }
}
.scroll-line {
  width: 1px;
  height: 32px;
  background: linear-gradient(to bottom, var(--text-d-muted), transparent);
}

/* ─── SERVICES ───────────────────────────────── */
#services { background: var(--bg-light); padding-block: 110px; }
.services-head {
  margin-bottom: 64px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.services-head .h2 { color: var(--text-l); }
.services-head p {
  font-size: 16px;
  font-weight: 300;
  line-height: 1.8;
  color: var(--text-l-muted);
  max-width: 480px;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.svc-card {
  background: var(--bg-dark);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--border-d);
  position: relative;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}
.svc-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 0% 0%, rgba(28,138,165,0.12) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.4s;
}
.svc-card:hover { transform: translateY(-5px); box-shadow: 0 28px 56px rgba(0,0,0,0.35); border-color: rgba(28,138,165,0.3); }
.svc-card:hover::after { opacity: 1; }

.svc-num {
  font-family: var(--font-display);
  font-size: 72px;
  font-weight: 800;
  line-height: 1;
  color: rgba(237,233,224,0.06);
  letter-spacing: -0.04em;
  margin-bottom: -8px;
  position: relative;
  z-index: 1;
  user-select: none;
}
.svc-icon {
  width: 48px;
  height: 48px;
  background: var(--accent-dim);
  border: 1px solid rgba(28,138,165,0.25);
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: var(--accent);
  margin-bottom: 28px;
  position: relative;
  z-index: 1;
  transition: background 0.3s, border-color 0.3s;
}
.svc-card:hover .svc-icon { background: rgba(28,138,165,0.18); border-color: rgba(28,138,165,0.45); }
.svc-card h3 {
  font-family: var(--font-body);
  font-size: 20px;
  font-weight: 600;
  color: var(--text-d);
  margin-bottom: 14px;
  letter-spacing: -0.01em;
  position: relative;
  z-index: 1;
}
.svc-card p {
  font-size: 14px;
  line-height: 1.8;
  color: var(--text-d-muted);
  flex: 1;
  position: relative;
  z-index: 1;
}
.svc-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 28px;
  position: relative;
  z-index: 1;
}
.chip {
  font-size: 11px;
  font-weight: 500;
  color: rgba(126,207,223,0.9);
  background: rgba(28,138,165,0.12);
  border: 1px solid rgba(28,138,165,0.22);
  padding: 4px 11px;
  border-radius: 100px;
  letter-spacing: 0.02em;
}

/* ─── STATS ──────────────────────────────────── */
#stats { background: var(--bg-dark); padding-block: 80px; border-top: 1px solid var(--border-d); border-bottom: 1px solid var(--border-d); }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.stat-item {
  padding-inline: 32px;
  padding-block: 20px;
  border-right: 1px solid var(--border-d);
  text-align: center;
}
.stat-item:first-child { border-left: 1px solid var(--border-d); }
.stat-num {
  font-family: var(--font-display);
  font-size: 54px;
  font-weight: 700;
  color: var(--text-d);
  line-height: 1;
  margin-bottom: 8px;
  font-variant-numeric: tabular-nums;
}
.stat-num .unit { color: var(--accent); }
.stat-label {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-d-muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* ─── PORTFOLIO ──────────────────────────────── */
#portfolio { background: var(--bg-light); padding-block: 110px; }
.portfolio-head { margin-bottom: 56px; }
.portfolio-head .h2 { color: var(--text-l); margin-bottom: 14px; }
.portfolio-head p { color: var(--text-l-muted); font-size: 16px; font-weight: 300; line-height: 1.75; max-width: 480px; }
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.p-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border-l);
  box-shadow: 0 1px 2px rgba(20,20,24,0.04), 0 12px 32px rgba(20,20,24,0.06);
  transition: transform 0.3s, box-shadow 0.3s;
}
.p-card:hover { transform: translateY(-5px); box-shadow: 0 24px 64px rgba(0,0,0,0.12); }
.p-visual {
  aspect-ratio: 16/9;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 48px;
  letter-spacing: -0.03em;
  position: relative;
  overflow: hidden;
}
.p-visual-fdf { background: #0F0A09; color: rgba(220,80,50,0.22); }
.p-visual-af  { background: #070E1C; color: rgba(37,80,232,0.20); }
.p-visual-auto { background: #101012; color: rgba(200,200,200,0.14); }
.p-overlay {
  position: absolute;
  inset: 0;
  background: rgba(8,8,16,0.72);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s;
}
.p-card:hover .p-overlay { opacity: 1; }
.p-overlay-link {
  background: #fff;
  color: var(--bg-dark);
  font-size: 13.5px;
  font-weight: 600;
  padding: 11px 22px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transform: translateY(6px);
  transition: transform 0.25s;
}
.p-card:hover .p-overlay-link { transform: none; }
.p-info { padding: 24px 26px; }
.p-info h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-l);
  margin-bottom: 5px;
  letter-spacing: -0.01em;
}
.p-info p { font-size: 13px; color: var(--text-l-muted); }
.p-info-row { display: flex; align-items: center; justify-content: space-between; }
.p-chip {
  font-size: 11px;
  font-weight: 500;
  color: var(--text-l-muted);
  background: var(--border-l);
  padding: 3px 10px;
  border-radius: 100px;
}

/* Placeholder browser-chrome inner for portfolio */
.p-browser-bar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 28px;
  background: rgba(255,255,255,0.05);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  padding-inline: 12px;
  gap: 6px;
}
.p-dot { width: 8px; height: 8px; border-radius: 50%; }
.p-dot-r { background: rgba(255,80,80,0.4); }
.p-dot-y { background: rgba(255,180,50,0.4); }
.p-dot-g { background: rgba(80,200,80,0.4); }
.p-browser-url {
  flex: 1;
  background: rgba(255,255,255,0.07);
  border-radius: 4px;
  height: 14px;
  margin-left: 8px;
}
.p-inner-content {
  position: absolute;
  inset: 28px 0 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 20px;
}
.p-site-wordmark {
  font-size: 32px;
  letter-spacing: -0.02em;
  font-weight: 700;
}
.p-site-sub {
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.4;
}

/* ─── PROCESS ────────────────────────────────── */
#process { background: var(--bg-dark); padding-block: 110px; }
.process-head { margin-bottom: 72px; text-align: center; }
.process-head .h2 { color: var(--text-d); margin-bottom: 14px; }
.process-head p { font-size: 16px; font-weight: 300; color: var(--text-d-muted); max-width: 440px; margin-inline: auto; line-height: 1.8; }
.process-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}
.process-step {
  padding: 48px 40px;
  border-right: 1px solid var(--border-d);
  transition: background 0.3s;
}
.process-step:first-child { border-left: 1px solid var(--border-d); }
.process-step:hover { background: rgba(255,255,255,0.025); }
.process-marker {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
}
.process-line {
  flex: 1;
  height: 1px;
  background: var(--border-d);
}
.process-tag {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.02em;
}
.process-step h3 {
  font-family: var(--font-body);
  font-size: 19px;
  font-weight: 600;
  color: var(--text-d);
  margin-bottom: 14px;
  letter-spacing: -0.01em;
}
.process-step p {
  font-size: 14.5px;
  line-height: 1.8;
  color: var(--text-d-muted);
}

/* ─── ABOUT ──────────────────────────────────── */
#about { background: var(--bg-light); padding-block: 110px; }
.about-head { max-width: 620px; margin: 0 auto 52px; text-align: center; }
.about-head .h2 { color: var(--text-l); margin-bottom: 26px; }
.about-id-pill {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: var(--bg-card);
  border: 1px solid var(--border-l);
  border-radius: 100px;
  padding: 8px 22px 8px 8px;
  box-shadow: 0 1px 2px rgba(20,20,24,0.04), 0 12px 32px rgba(20,20,24,0.06);
}
.about-avatar {
  width: 40px;
  height: 40px;
  background: var(--accent);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  color: #fff;
  flex-shrink: 0;
}
.about-id-text { text-align: left; }
.about-id-text strong { display: block; font-size: 14px; font-weight: 600; color: var(--text-l); }
.about-id-text span { font-size: 12px; color: var(--text-l-muted); }

.about-body-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
  align-items: start;
  max-width: 980px;
  margin-inline: auto;
}
.about-copy p {
  font-size: 16px;
  font-weight: 300;
  line-height: 1.85;
  color: var(--text-l-muted);
  margin-bottom: 18px;
}
.about-checklist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 18px;
  background: var(--bg-card);
  border: 1px solid var(--border-l);
  border-radius: var(--radius-lg);
  padding: 30px 28px;
  box-shadow: 0 1px 2px rgba(20,20,24,0.04), 0 12px 32px rgba(20,20,24,0.06);
}
.about-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  font-size: 14.5px;
  font-weight: 400;
  color: var(--text-l);
  line-height: 1.5;
}
.check-icon {
  width: 20px;
  height: 20px;
  background: var(--accent-dim);
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  margin-top: 1px;
}
.check-icon svg { width: 10px; height: 10px; }

/* ─── CONTACT ────────────────────────────────── */
#contact { background: var(--bg-dark); padding-block: 110px; }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 80px;
  align-items: start;
}
.contact-left .h2 { color: var(--text-d); margin-bottom: 16px; }
.contact-left > p { font-size: 16px; font-weight: 300; color: var(--text-d-muted); line-height: 1.8; max-width: 380px; margin-bottom: 48px; }
.contact-info-list { display: flex; flex-direction: column; gap: 18px; }
.contact-info-item {
  display: flex;
  align-items: center;
  gap: 16px;
}
.ci-icon {
  width: 42px;
  height: 42px;
  border: 1px solid var(--border-d-vis);
  border-radius: 10px;
  display: grid;
  place-items: center;
  color: var(--accent);
  flex-shrink: 0;
}
.ci-text strong { display: block; font-size: 14px; font-weight: 600; color: var(--text-d); }
.ci-text span { font-size: 12.5px; color: var(--text-d-muted); }

/* Form */
.contact-form {
  background: rgba(237,233,224,0.035);
  border: 1px solid var(--border-d);
  border-radius: var(--radius-lg);
  padding: 40px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 14px; }
.form-field:last-child { margin-bottom: 0; }
.form-field label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-d-muted);
}
.form-optional { font-weight: 400; text-transform: none; letter-spacing: 0; opacity: 0.7; }
.form-field input,
.form-field textarea,
.form-field select {
  width: 100%;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border-d);
  border-radius: 8px;
  padding: 13px 15px;
  color: var(--text-d);
  font-family: var(--font-body);
  font-size: 14.5px;
  font-weight: 300;
  transition: border-color 0.2s, background 0.2s;
  outline: none;
  -webkit-appearance: none;
}
.form-field input::placeholder,
.form-field textarea::placeholder { color: var(--text-d-muted); }
.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  border-color: var(--accent);
  background: rgba(28,138,165,0.07);
}
.form-field select { cursor: pointer; }
.form-field select option { background: #1A1B28; color: var(--text-d); }
.form-field textarea { height: 110px; resize: vertical; line-height: 1.65; }
.form-submit {
  width: 100%;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  padding: 15px 24px;
  border-radius: 9px;
  margin-top: 6px;
  transition: background 0.2s, box-shadow 0.2s, transform 0.15s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.form-submit:hover {
  background: var(--accent-hover);
  box-shadow: 0 6px 22px var(--accent-glow);
  transform: translateY(-1px);
}
.form-submit:disabled { opacity: 0.75; cursor: default; transform: none; }
.form-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.form-status { font-size: 13px; margin-top: 12px; text-align: center; min-height: 16px; }
.form-status-error { color: #f87171; }

/* ─── LEGAL PAGES ────────────────────────────── */
#nav.nav-solid {
  background: rgba(12,13,18,0.92);
  backdrop-filter: blur(18px);
  border-color: var(--border-d);
}
.legal-hero { background: var(--bg-light); padding-block: 150px 30px; }
.legal-body { background: var(--bg-light); padding-block: 0 110px; }
.legal-content { max-width: 720px; }
.legal-content h2 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--text-l);
  margin: 44px 0 16px;
}
.legal-content h2:first-child { margin-top: 0; }
.legal-content p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-l-muted);
  margin-bottom: 16px;
}
.legal-content p strong { color: var(--text-l); font-weight: 600; }
.legal-content a { color: var(--accent); text-decoration: underline; }
.legal-updated { font-size: 13px; color: var(--text-l-muted); margin-top: 8px; display: block; }

/* ─── FOOTER ─────────────────────────────────── */
footer {
  background: var(--bg-footer);
  border-top: 1px solid var(--border-d);
  padding-block: 36px;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-copy { font-size: 13px; color: var(--text-d-muted); }
.footer-links { display: flex; gap: 22px; }
.footer-links a {
  font-size: 12.5px;
  color: var(--text-d-muted);
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--text-d); }

/* ─── RESPONSIVE ─────────────────────────────── */
@media (max-width: 900px) {
  .section-d, .section-l, #services, #stats, #portfolio, #process, #about, #contact, #portfolio { padding-block: 80px; }
  .services-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2) { border-right: none; }
  .portfolio-grid { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr; }
  .process-step { border-right: none; border-left: none !important; border-top: 1px solid var(--border-d); }
  .process-step:first-child { border-left: none !important; border-top: 1px solid var(--border-d); }
  .about-body-grid { grid-template-columns: 1fr; gap: 36px; }
  .contact-grid { grid-template-columns: 1fr; gap: 56px; }
  .nav-links, .nav-cta-btn { display: none; }
  .nav-burger { display: flex; }
}
@media (max-width: 600px) {
  .wrap { padding-inline: 20px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item { padding-inline: 16px; }
  .stat-num { font-size: 40px; }
  .service-row { grid-template-columns: 1fr; gap: 14px; }
  .service-num { display: none; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form { padding: 28px 22px; }
  .hero-title { letter-spacing: -0.015em; }
  .svc-card { padding: 32px 28px; }
  .svc-num { font-size: 52px; }
}

/* ─── KEYBOARD FOCUS ─────────────────────────── */
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}
