/* ==========================================================================
   GreenForge — Boutique Web Studio Design System
   Palette: Deep Black (#07090B), Dark Gray (#101318), Neon Green (#22FF66)
   ========================================================================== */

:root {
  --bg: #07090b;
  --bg-soft: #0b0e12;
  --surface: #101318;
  --surface-2: #161b22;
  --border: #1e242d;
  --border-strong: #2b3340;
  --text: #f3f5f8;
  --text-secondary: #a1aab8;
  --text-muted: #6f7887;
  --accent: #22ff66;
  --accent-hover: #42ff7d;
  --accent-dim: rgba(34, 255, 102, 0.1);
  --accent-glow: rgba(34, 255, 102, 0.24);
  --danger: #ff4d5a;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --container: 1200px;
  --font-sans: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  --transition: 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  margin: 0;
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

button,
input,
select,
textarea {
  font-family: inherit;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* Subtle technical grid background */
.bg-grid {
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 64px 64px;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(7, 9, 11, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  display: grid;
  place-items: center;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.brand:hover .brand-mark {
  border-color: var(--accent);
  box-shadow: 0 0 18px var(--accent-dim);
}

.brand-name span {
  color: var(--accent);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-link {
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.94rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color var(--transition), background-color var(--transition);
}

.nav-link:hover,
.nav-link.active {
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
}

.nav-link.active {
  color: var(--accent);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.burger-btn {
  display: none;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

.mobile-drawer {
  display: none;
  position: fixed;
  inset: 76px 0 0 0;
  background: rgba(7, 9, 11, 0.97);
  backdrop-filter: blur(16px);
  z-index: 99;
  padding: 28px 24px;
  flex-direction: column;
  gap: 10px;
}

.mobile-drawer.open {
  display: flex;
}

.mobile-drawer .nav-link {
  font-size: 1.15rem;
  padding: 14px 16px;
  border: 1px solid var(--border);
  background: var(--surface);
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: var(--radius-sm);
  font-size: 0.94rem;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn-sm {
  padding: 9px 16px;
  font-size: 0.875rem;
}

.btn-primary {
  background: var(--accent);
  color: #060907;
  box-shadow: 0 0 0 0 var(--accent-glow);
}

.btn-primary:hover {
  background: var(--accent-hover);
  box-shadow: 0 0 26px var(--accent-glow);
  transform: translateY(-1px);
}

.btn-secondary {
  background: var(--surface);
  color: var(--text);
  border-color: var(--border-strong);
}

.btn-secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--surface-2);
}

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

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

/* ==========================================================================
   Typography & Section Headers
   ========================================================================== */
.section {
  padding: 96px 0;
}

.section-compact {
  padding: 72px 0;
}

.section-border {
  border-top: 1px solid var(--border);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}

.eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent);
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 48px;
}

.section-title {
  margin: 0;
  font-size: clamp(1.85rem, 3.2vw, 2.65rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.025em;
}

.section-subtitle {
  margin: 12px 0 0;
  max-width: 580px;
  color: var(--text-secondary);
  font-size: 1.02rem;
}

.page-hero {
  padding: 72px 0 52px;
  border-bottom: 1px solid var(--border);
  background: radial-gradient(circle at 75% 15%, rgba(34, 255, 102, 0.06), transparent 48%);
}

.page-hero h1 {
  margin: 0;
  font-size: clamp(2.1rem, 4vw, 3.2rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
}

.page-hero p {
  margin: 16px 0 0;
  max-width: 640px;
  color: var(--text-secondary);
  font-size: 1.08rem;
}

/* ==========================================================================
   Hero Section (Home)
   ========================================================================== */
.hero {
  position: relative;
  padding: 88px 0 96px;
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 28%, rgba(34, 255, 102, 0.09), transparent 46%),
    radial-gradient(circle at 18% 80%, rgba(34, 255, 102, 0.04), transparent 40%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  align-items: center;
  gap: 56px;
}

.hero-slogan {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.hero-slogan strong {
  color: var(--accent);
  font-weight: 600;
}

.hero-title {
  margin: 0;
  font-size: clamp(2.35rem, 4.4vw, 3.65rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.hero-title .accent-text {
  color: var(--accent);
}

.hero-desc {
  margin: 22px 0 34px;
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 540px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

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

.hero-meta-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.hero-meta-item span {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--accent);
}

.hero-meta-item strong {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-secondary);
}

/* Hero Visual Composition (Studio Workbench) */
.hero-visual {
  position: relative;
}

.workbench {
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.65), 0 0 40px rgba(34, 255, 102, 0.06);
}

.workbench-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: var(--bg-soft);
  border-bottom: 1px solid var(--border);
}

.workbench-dots {
  display: flex;
  gap: 7px;
}

.workbench-dots i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--border-strong);
  display: block;
}

.workbench-dots i:first-child {
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
}

.workbench-tabs {
  display: flex;
  gap: 6px;
}

.workbench-tab {
  background: transparent;
  border: 1px solid transparent;
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  padding: 4px 10px;
  border-radius: 6px;
  cursor: pointer;
  transition: all var(--transition);
}

.workbench-tab.active {
  color: var(--accent);
  background: var(--accent-dim);
  border-color: rgba(34, 255, 102, 0.28);
}

.workbench-body {
  padding: 22px;
  min-height: 310px;
}

.workbench-panel {
  display: none;
}

.workbench-panel.active {
  display: block;
  animation: fadeSlideUp 0.3s ease;
}

.ui-wireframe-hero {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--bg);
  padding: 20px;
}

.wf-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 22px;
}

.wf-logo {
  width: 68px;
  height: 10px;
  border-radius: 4px;
  background: var(--text);
}

.wf-pills {
  display: flex;
  gap: 8px;
}

.wf-pills span {
  width: 28px;
  height: 6px;
  border-radius: 3px;
  background: var(--border-strong);
}

.wf-headline {
  width: 78%;
  height: 18px;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--text) 60%, var(--accent) 100%);
  margin-bottom: 10px;
}

.wf-subline {
  width: 56%;
  height: 10px;
  border-radius: 4px;
  background: var(--border-strong);
  margin-bottom: 18px;
}

.wf-cta-row {
  display: flex;
  gap: 10px;
  margin-bottom: 22px;
}

.wf-btn-green {
  width: 94px;
  height: 26px;
  border-radius: 6px;
  background: var(--accent);
}

.wf-btn-dark {
  width: 82px;
  height: 26px;
  border-radius: 6px;
  border: 1px solid var(--border-strong);
}

.wf-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.wf-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px;
}

.wf-card-dot {
  width: 14px;
  height: 14px;
  border-radius: 4px;
  background: var(--accent-dim);
  border: 1px solid rgba(34, 255, 102, 0.4);
  margin-bottom: 10px;
}

.wf-card-line {
  height: 7px;
  border-radius: 3px;
  background: var(--border-strong);
  margin-bottom: 6px;
}

.wf-card-line.short {
  width: 65%;
  margin-bottom: 0;
}

.code-block {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  line-height: 1.65;
  color: var(--text-secondary);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 18px;
  overflow-x: auto;
}

.code-kw { color: #7ee787; }
.code-fn { color: var(--accent); }
.code-str { color: #a5d6ff; }
.code-cm { color: var(--text-muted); }

.workbench-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 18px;
  border-top: 1px solid var(--border);
  background: var(--bg-soft);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
}

.status-live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent);
}

.status-live::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
}

/* ==========================================================================
   Cards & Grids
   ========================================================================== */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

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

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px;
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}

.card:hover {
  border-color: var(--border-strong);
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}

.service-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
}

.service-card:hover {
  border-color: rgba(34, 255, 102, 0.38);
}

.service-num {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--accent);
  margin-bottom: 12px;
}

.service-card h3 {
  margin: 0 0 10px;
  font-size: 1.28rem;
  font-weight: 700;
}

.service-card p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.96rem;
}

.feature-list {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.92rem;
  color: var(--text-secondary);
}

.feature-list li::before {
  content: '→';
  color: var(--accent);
  font-family: var(--font-mono);
  flex-shrink: 0;
}

/* Portfolio Cards */
.project-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}

.project-card:hover {
  border-color: rgba(34, 255, 102, 0.42);
  transform: translateY(-4px);
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.45);
}

.project-thumb {
  position: relative;
  aspect-ratio: 16 / 10;
  background: var(--bg-soft);
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}

.project-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.project-card:hover .project-thumb img {
  transform: scale(1.03);
}

.project-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 10px;
  border-radius: 6px;
  background: rgba(7, 9, 11, 0.85);
  border: 1px solid var(--border-strong);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-secondary);
  backdrop-filter: blur(8px);
}

.project-badge.concept {
  border-color: rgba(34, 255, 102, 0.4);
  color: var(--accent);
}

.project-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 12px;
}

.project-cat {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.project-body h3 {
  margin: 0;
  font-size: 1.24rem;
}

.project-body p {
  margin: 0;
  font-size: 0.94rem;
  color: var(--text-secondary);
  flex: 1;
}

.tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 4px;
}

.tech-tag {
  padding: 4px 10px;
  border-radius: 6px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--text-secondary);
}

.project-footer {
  margin-top: 10px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

/* Filter Bar */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 36px;
}

.filter-btn {
  padding: 9px 16px;
  border-radius: var(--radius-sm);
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition);
}

.filter-btn:hover {
  border-color: var(--border-strong);
  color: var(--text);
}

.filter-btn.active {
  background: var(--accent-dim);
  border-color: var(--accent);
  color: var(--accent);
}

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

.stage-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 26px;
  position: relative;
}

.stage-num {
  font-family: var(--font-mono);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent);
  opacity: 0.9;
  margin-bottom: 14px;
}

.stage-card h3 {
  margin: 0 0 10px;
  font-size: 1.08rem;
}

.stage-card p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.92rem;
}

/* CTA Banner */
.cta-banner {
  background: linear-gradient(135deg, var(--surface) 0%, #0c1410 100%);
  border: 1px solid rgba(34, 255, 102, 0.25);
  border-radius: var(--radius-lg);
  padding: 52px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.cta-banner h2 {
  margin: 0 0 10px;
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  letter-spacing: -0.02em;
}

.cta-banner p {
  margin: 0;
  color: var(--text-secondary);
  max-width: 540px;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  flex-shrink: 0;
}

/* ==========================================================================
   Forms & Contacts
   ========================================================================== */
.contacts-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 36px;
  align-items: start;
}

.contact-channels {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.channel-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 22px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: border-color var(--transition), transform var(--transition);
}

.channel-card:hover {
  border-color: var(--accent);
  transform: translateX(3px);
}

.channel-label {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 4px;
}

.channel-value {
  font-size: 1.05rem;
  font-weight: 600;
}

.form-card {
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 32px;
}

.form-grid {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.field label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.input,
.select,
.textarea {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  color: var(--text);
  padding: 12px 14px;
  font-size: 0.96rem;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.input:focus,
.select:focus,
.textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-dim);
}

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

/* Honeypot hidden field */
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
}

.form-feedback {
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.94rem;
  display: none;
}

.form-feedback.success {
  display: block;
  background: rgba(34, 255, 102, 0.1);
  border: 1px solid rgba(34, 255, 102, 0.4);
  color: #b7ffd0;
}

.form-feedback.error {
  display: block;
  background: rgba(255, 77, 90, 0.12);
  border: 1px solid rgba(255, 77, 90, 0.4);
  color: #ffc2c7;
}

/* ==========================================================================
   Modal ("Обсудить проект")
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(4, 6, 8, 0.82);
  backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-backdrop.open {
  display: flex;
}

.modal-box {
  width: 100%;
  max-width: 520px;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 28px;
  position: relative;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.75);
}

.modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.modal-head h3 {
  margin: 0;
  font-size: 1.3rem;
}

.modal-close {
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  width: 34px;
  height: 34px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1.1rem;
}

.modal-close:hover {
  color: var(--text);
  border-color: var(--border-strong);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 56px 0 36px;
  background: var(--bg-soft);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-desc {
  margin: 14px 0 0;
  color: var(--text-secondary);
  font-size: 0.94rem;
  max-width: 340px;
}

.footer-title {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.94rem;
  color: var(--text-secondary);
}

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

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Scroll Reveal Animations
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1), transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-grid,
  .contacts-layout {
    grid-template-columns: 1fr;
  }

  .grid-3,
  .stages-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .cta-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 36px 28px;
  }
}

@media (max-width: 768px) {
  .nav-links,
  .header-actions .btn {
    display: none;
  }

  .burger-btn {
    display: inline-flex;
  }

  .section {
    padding: 68px 0;
  }

  .grid-2,
  .grid-3,
  .stages-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .section-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .wf-cards {
    grid-template-columns: 1fr;
  }
}
