/* ================================================
   BUNAKOV.DEV — Main Stylesheet
   ================================================ */

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

:root {
  --bg: #0a0a0f;
  --surface: #111118;
  --surface2: #16161f;
  --accent: #3b82f6;
  --accent2: #06b6d4;
  --text: #f0f0f8;
  --muted: #6b7280;
  --border: rgba(255,255,255,0.07);
  --radius: 12px;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Manrope', sans-serif;
  overflow-x: hidden;
  cursor: none;
}

/* ================================================
   CUSTOM CURSOR (desktop only)
   ================================================ */
.cursor {
  position: fixed;
  width: 12px; height: 12px;
  background: var(--accent);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%,-50%);
  transition: width .2s, height .2s;
  mix-blend-mode: screen;
}
.cursor-trail {
  position: fixed;
  width: 36px; height: 36px;
  border: 1.5px solid rgba(59,130,246,0.4);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%,-50%);
  transition: all .12s ease-out;
}

/* ================================================
   NAVIGATION
   ================================================ */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 60px;
  background: rgba(10,10,15,0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.nav-logo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 26px;
  letter-spacing: 2px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-decoration: none;
}
.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
}
.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.5px;
  transition: color .2s;
}
.nav-links a:hover { color: var(--text); }

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

/* Mobile nav drawer */
.nav-drawer {
  display: none;
  position: fixed;
  top: 61px; left: 0; right: 0;
  background: rgba(10,10,15,0.97);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 24px;
  z-index: 199;
  flex-direction: column;
  gap: 0;
}
.nav-drawer.open { display: flex; }
.nav-drawer a {
  color: var(--muted);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  transition: color .2s;
}
.nav-drawer a:last-child { border-bottom: none; }
.nav-drawer a:hover { color: var(--text); }

/* ================================================
   BUTTONS
   ================================================ */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 30px;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-family: 'Manrope', sans-serif;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: all .25s;
  box-shadow: 0 0 30px rgba(59,130,246,0.3);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 0 50px rgba(59,130,246,0.5); background: #2563eb; }

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 30px;
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 8px;
  font-family: 'Manrope', sans-serif;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: all .25s;
}
.btn-outline:hover { border-color: rgba(255,255,255,0.2); background: rgba(255,255,255,0.05); }

/* ================================================
   SECTION COMMONS
   ================================================ */
.section-tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
.section-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(38px, 4.5vw, 62px);
  line-height: 1.0;
  margin-bottom: 14px;
}
.section-sub {
  color: var(--muted);
  font-size: 16px;
  max-width: 540px;
  line-height: 1.75;
  margin-bottom: 56px;
}

/* ================================================
   HERO
   ================================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 60px 80px;
  position: relative;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 70% 40%, rgba(59,130,246,0.12) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 20% 70%, rgba(6,182,212,0.08) 0%, transparent 60%);
}
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 20%, transparent 70%);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1280px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(59,130,246,0.1);
  border: 1px solid rgba(59,130,246,0.3);
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  color: var(--accent2);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 28px;
  animation: fadeUp .8s ease both;
}
.hero-badge::before {
  content: '';
  width: 6px; height: 6px;
  background: #22c55e;
  border-radius: 50%;
  box-shadow: 0 0 8px #22c55e;
  animation: dotPulse 2s infinite;
}

/* SEO H1 — главный смысловой заголовок */
.hero-h1-seo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(52px, 7.5vw, 110px);
  line-height: 0.92;
  letter-spacing: -1px;
  margin-bottom: 14px;
  animation: fadeUp .8s .1s ease both;
}
.hero-h1-seo span {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent2) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Имя — визуальный акцент, не H1 */
.hero-name {
  font-family: 'Manrope', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 24px;
  animation: fadeUp .8s .18s ease both;
}

.hero-sub {
  font-size: 17px;
  color: var(--muted);
  line-height: 1.75;
  max-width: 500px;
  margin-bottom: 40px;
  font-weight: 400;
  animation: fadeUp .8s .25s ease both;
}
.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  animation: fadeUp .8s .35s ease both;
}
.hero-stats {
  position: absolute;
  right: 60px;
  bottom: 90px;
  display: flex;
  flex-direction: row;
  gap: 26px;
  z-index: 2;
  animation: fadeLeft .8s .4s ease both;
}
.stat { text-align: right; }
.stat-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 52px;
  line-height: 1;
  background: linear-gradient(135deg, var(--text), var(--muted));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.stat-label {
  font-size: 12px;
  color: var(--muted);
  font-weight: 500;
}

/* ================================================
   PROBLEMS
   ================================================ */
.problems { padding: 100px 60px; }

.problems-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
}
.problem-card {
  background: var(--surface);
  padding: 40px 36px;
  position: relative;
  overflow: hidden;
  transition: background .3s;
}
.problem-card:hover { background: var(--surface2); }
.problem-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s ease;
}
.problem-card:hover::before { transform: scaleX(1); }
.problem-icon {
  width: 46px; height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(239,68,68,0.1);
  border: 1px solid rgba(239,68,68,0.2);
  border-radius: 12px;
  margin-bottom: 18px;
  font-size: 20px;
}
.problem-title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 10px;
}
.problem-desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 18px;
}
.solution-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  background: rgba(59,130,246,0.08);
  border: 1px solid rgba(59,130,246,0.2);
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  color: var(--accent2);
  line-height: 1.5;
}
.solution-tag::before { content: '✓'; font-size: 11px; }

/* ================================================
   SERVICES
   ================================================ */
.services {
  padding: 100px 60px;
  background: var(--surface);
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 56px;
}
.service-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 36px 32px;
  position: relative;
  overflow: hidden;
  transition: all .3s;
  cursor: pointer;
}
.service-card:hover {
  border-color: rgba(59,130,246,0.4);
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}
.service-glow {
  position: absolute;
  width: 180px; height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(59,130,246,0.15) 0%, transparent 70%);
  top: -50px; right: -50px;
  transition: transform .3s;
}
.service-card:hover .service-glow { transform: scale(1.3); }
.service-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 60px;
  line-height: 1;
  color: rgba(255,255,255,0.04);
  position: absolute;
  top: 16px; right: 20px;
}
.service-icon { font-size: 30px; margin-bottom: 18px; }
.service-name { font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.service-desc { font-size: 13px; color: var(--muted); line-height: 1.7; margin-bottom: 20px; }
.service-price {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 22px;
  color: var(--accent);
  letter-spacing: 1px;
}
.service-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
  margin-top: 14px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: 'Manrope', sans-serif;
  transition: gap .2s;
  padding: 0;
}
.service-link:hover { gap: 10px; }
.service-card-featured {
  background: linear-gradient(135deg, rgba(59,130,246,0.12) 0%, rgba(6,182,212,0.08) 100%);
  border-color: rgba(59,130,246,0.3);
}

/* ================================================
   WHY ME
   ================================================ */
.why { padding: 100px 60px; }
.why-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  margin-top: 56px;
}
.feature-list { display: flex; flex-direction: column; gap: 18px; }
.feature-item {
  display: flex;
  gap: 16px;
  padding: 18px 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  transition: all .2s;
}
.feature-item:hover { border-color: rgba(59,130,246,0.3); background: var(--surface2); }
.feature-icon {
  width: 40px; height: 40px; flex-shrink: 0;
  background: rgba(59,130,246,0.1);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
}
.feature-text h4 { font-size: 14px; font-weight: 700; margin-bottom: 4px; }
.feature-text p { font-size: 13px; color: var(--muted); line-height: 1.6; }

.why-visual {
  position: relative;
  height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.why-circle {
  width: 280px; height: 280px;
  border-radius: 50%;
  border: 1px solid rgba(59,130,246,0.3);
  position: relative;
  animation: spin 20s linear infinite;
  display: flex;
  align-items: center;
  justify-content: center;
}
.why-center {
  width: 130px; height: 130px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 44px;
  animation: spin 20s linear reverse infinite;
  box-shadow: 0 0 60px rgba(59,130,246,0.4);
}
.why-orbit-dot {
  position: absolute;
  width: 12px; height: 12px;
  background: var(--accent2);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--accent2);
  top: -6px; left: 50%; transform: translateX(-50%);
}
.why-orbit-dot:nth-child(2) { top: auto; bottom: -6px; background: var(--accent); box-shadow: 0 0 12px var(--accent); }
.why-orbit-dot:nth-child(3) { top: 50%; left: -6px; transform: translateY(-50%); background: #8b5cf6; box-shadow: 0 0 12px #8b5cf6; }

/* ================================================
   PROCESS
   ================================================ */
.process {
  padding: 100px 60px;
  background: var(--surface);
}
.process-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  margin-top: 56px;
  position: relative;
}
.process-steps::before {
  content: '';
  position: absolute;
  top: 35px; left: 10%; right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), var(--accent2), transparent);
}
.process-step { text-align: center; padding: 0 12px; }
.step-num {
  width: 70px; height: 70px;
  border-radius: 50%;
  background: var(--bg);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 26px;
  color: var(--accent);
  margin: 0 auto 18px;
  position: relative;
  z-index: 1;
  transition: all .3s;
}
.process-step:hover .step-num {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 0 30px rgba(59,130,246,0.5);
  transform: scale(1.1);
}
.step-title { font-size: 13px; font-weight: 700; margin-bottom: 8px; }
.step-desc { font-size: 12px; color: var(--muted); line-height: 1.6; }

/* ================================================
   CTA
   ================================================ */
.cta-section {
  padding: 100px 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-bg {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 60% at 50% 50%, rgba(59,130,246,0.1) 0%, transparent 70%);
}
.cta-content { position: relative; z-index: 1; }
.cta-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(44px, 6.5vw, 90px);
  line-height: 0.95;
  margin-bottom: 20px;
}
.cta-title span {
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.cta-sub { color: var(--muted); font-size: 17px; margin-bottom: 40px; }
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.contact-chips {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-top: 28px;
  flex-wrap: wrap;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 13px;
  color: var(--muted);
  text-decoration: none;
  transition: all .2s;
  cursor: pointer;
}
.chip:hover { color: var(--text); border-color: rgba(255,255,255,0.2); }

/* ================================================
   FOOTER
   ================================================ */
footer {
  padding: 36px 60px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-logo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 22px;
  letter-spacing: 2px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.footer-text { font-size: 13px; color: var(--muted); }

/* ================================================
   MODAL
   ================================================ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease;
}
.modal-overlay.active {
  opacity: 1;
  pointer-events: all;
}
.modal {
  background: var(--surface2);
  border: 1px solid rgba(59,130,246,0.25);
  border-radius: 20px;
  padding: 48px 48px 40px;
  max-width: 520px;
  width: 100%;
  position: relative;
  transform: translateY(24px) scale(0.97);
  transition: transform .35s cubic-bezier(.22,.68,0,1.2);
  box-shadow: 0 40px 100px rgba(0,0,0,0.6), 0 0 0 1px rgba(59,130,246,0.1);
}
.modal-overlay.active .modal {
  transform: translateY(0) scale(1);
}
.modal-close {
  position: absolute;
  top: 18px; right: 20px;
  background: none;
  border: none;
  color: var(--muted);
  font-size: 24px;
  cursor: pointer;
  line-height: 1;
  transition: color .2s;
  padding: 4px 8px;
}
.modal-close:hover { color: var(--text); }
.modal-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  background: rgba(59,130,246,0.1);
  border: 1px solid rgba(59,130,246,0.25);
  border-radius: 100px;
  font-size: 11px;
  font-weight: 600;
  color: var(--accent2);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.modal h2 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 40px;
  line-height: 1.0;
  margin-bottom: 8px;
}
.modal-sub {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 32px;
  line-height: 1.6;
}
.form-group { margin-bottom: 18px; }
.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 8px;
  letter-spacing: 0.3px;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px 16px;
  color: var(--text);
  font-family: 'Manrope', sans-serif;
  font-size: 14px;
  outline: none;
  transition: border-color .2s, box-shadow .2s;
  -webkit-appearance: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: rgba(59,130,246,0.6);
  box-shadow: 0 0 0 3px rgba(59,130,246,0.1);
}
.form-group textarea { resize: vertical; min-height: 100px; }
.form-group select { cursor: pointer; }
.form-group select option { background: var(--surface2); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-submit {
  width: 100%;
  padding: 16px;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-family: 'Manrope', sans-serif;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  margin-top: 8px;
  transition: all .25s;
  box-shadow: 0 0 30px rgba(59,130,246,0.3);
}
.form-submit:hover { background: #2563eb; box-shadow: 0 0 50px rgba(59,130,246,0.5); transform: translateY(-1px); }
.form-note {
  text-align: center;
  font-size: 12px;
  color: var(--muted);
  margin-top: 14px;
}
/* Success state */
.modal-success {
  text-align: center;
  padding: 20px 0;
  display: none;
}
.modal-success .success-icon {
  font-size: 56px;
  margin-bottom: 16px;
}
.modal-success h3 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 32px;
  margin-bottom: 10px;
}
.modal-success p { color: var(--muted); font-size: 14px; line-height: 1.6; }

/* ================================================
   SCROLL REVEAL
   ================================================ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .65s ease, transform .65s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ================================================
   ANIMATIONS
   ================================================ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeLeft {
  from { opacity: 0; transform: translateX(28px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes dotPulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: .35; }
}
@keyframes spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* ================================================
   SCROLLBAR
   ================================================ */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 2px; }

/* ================================================
   RESPONSIVE — TABLET (≤1024px)
   ================================================ */
@media (max-width: 1024px) {
  nav { padding: 16px 32px; }
  .nav-links { gap: 24px; }
  .hero { padding: 110px 32px 80px; }
  .hero-stats { right: 32px; bottom: 80px; }
  .problems, .services, .why, .process, .cta-section { padding: 80px 32px; }
  footer { padding: 32px 32px; }
  .why-layout { gap: 50px; }
  .process-steps { grid-template-columns: repeat(3, 1fr); gap: 30px; }
  .process-steps::before { display: none; }
}

/* ================================================
   RESPONSIVE — MOBILE (≤768px)
   ================================================ */
@media (max-width: 768px) {
  body { cursor: auto; }
  .cursor, .cursor-trail { display: none; }

  nav { padding: 14px 20px; }
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .nav-burger { display: flex; }

  .hero {
    padding: 90px 20px 60px;
    min-height: auto;
    padding-bottom: 260px;
  }
  .hero-h1-seo { font-size: clamp(44px, 13vw, 72px); }
  .hero-sub { font-size: 15px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn-primary,
  .hero-actions .btn-outline { width: 100%; justify-content: center; }

  .hero-stats {
    position: static;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 40px;
    animation: none;
    opacity: 1;
    transform: none;
  }
  .stat { text-align: left; flex: 1 1 120px; }
  .stat-num { font-size: 40px; }

  .problems, .services, .why, .process, .cta-section { padding: 64px 20px; }
  .section-sub { margin-bottom: 36px; }

  .problems-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }

  .why-layout { grid-template-columns: 1fr; gap: 40px; }
  .why-visual { height: 260px; }
  .why-circle { width: 220px; height: 220px; }
  .why-center { width: 100px; height: 100px; font-size: 34px; }

  .process-steps { grid-template-columns: 1fr 1fr; gap: 24px; }
  .process-steps::before { display: none; }

  .cta-title { font-size: clamp(40px, 12vw, 64px); }
  .cta-actions { flex-direction: column; align-items: center; }
  .contact-chips { gap: 8px; }

  footer {
    padding: 28px 20px;
    flex-direction: column;
    text-align: center;
    gap: 8px;
  }

  /* Modal mobile */
  .modal { padding: 36px 24px 28px; border-radius: 16px; }
  .modal h2 { font-size: 32px; }
  .form-row { grid-template-columns: 1fr; }
}

/* ================================================
   RESPONSIVE — SMALL MOBILE (≤400px)
   ================================================ */
@media (max-width: 400px) {
  .process-steps { grid-template-columns: 1fr; }
  .hero-h1-seo { font-size: 42px; }
}

/* ---- FOMO availability strip ---- */
.hero-fomo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
  padding: 12px 20px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 12px;
  max-width: 480px;
  flex-wrap: wrap;
}
.fomo-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted, #888);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.fomo-slots {
  display: flex;
  gap: 6px;
}
.fomo-slot {
  width: 22px;
  height: 8px;
  border-radius: 4px;
}
.fomo-taken {
  background: var(--accent, #6c63ff);
  opacity: 0.5;
}
.fomo-free {
  background: #22c55e;
  box-shadow: 0 0 8px rgba(34,197,94,0.5);
  animation: fomo-pulse 2s ease-in-out infinite;
}
@keyframes fomo-pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 8px rgba(34,197,94,0.5); }
  50%       { opacity: 0.65; box-shadow: 0 0 14px rgba(34,197,94,0.8); }
}
.fomo-text {
  font-size: 13px;
  color: var(--text-muted, #aaa);
}
.fomo-text strong {
  color: #22c55e;
}

/* ====================================================
   PORTFOLIO SECTION
==================================================== */
.portfolio-section {
  padding: 100px 5vw;
  max-width: 1280px;
  margin: 0 auto;
}
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
@media (max-width: 900px) { .portfolio-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .portfolio-grid { grid-template-columns: 1fr; } }

.portfolio-card {
  text-decoration: none;
  color: inherit;
  display: block;
  border-radius: 16px;
  overflow: hidden;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
}
.portfolio-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent, #6c63ff);
  box-shadow: 0 16px 40px rgba(108,99,255,0.2);
}
.portfolio-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: #111;
}
.portfolio-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s;
}
.portfolio-card:hover .portfolio-img-wrap img {
  transform: scale(1.06);
}
.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: rgba(108,99,255,0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  opacity: 0;
  transition: opacity 0.25s;
}
.portfolio-card:hover .portfolio-overlay { opacity: 1; }
.portfolio-name {
  font-size: 15px;
  font-weight: 700;
  padding: 14px 16px 4px;
  color: var(--text, #fff);
}
.portfolio-tag {
  font-size: 12px;
  color: var(--text-muted, #888);
  padding: 0 16px 14px;
}
.portfolio-more {
  text-align: center;
  margin-top: 40px;
}

/* ====================================================
   REVIEWS SECTION
==================================================== */
.reviews-section {
  padding: 100px 5vw;
  max-width: 1280px;
  margin: 0 auto;
}
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 48px;
}
@media (max-width: 720px) { .reviews-grid { grid-template-columns: 1fr; } }

.review-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.review-card:hover {
  border-color: rgba(108,99,255,0.4);
  box-shadow: 0 8px 32px rgba(108,99,255,0.12);
}
.review-stars {
  color: #f59e0b;
  font-size: 18px;
  letter-spacing: 2px;
}
.review-text {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text, #e2e2e2);
  flex: 1;
}
.review-author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 4px;
}
.review-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent, #6c63ff);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 13px;
  color: #fff;
  flex-shrink: 0;
}
.review-name {
  font-weight: 700;
  font-size: 14px;
  color: var(--text, #fff);
}
.review-company {
  font-size: 12px;
  color: var(--text-muted, #888);
  margin-top: 2px;
}
.review-doc {
  margin-left: auto;
  font-size: 20px;
  text-decoration: none;
  opacity: 0.6;
  transition: opacity 0.2s;
  flex-shrink: 0;
}
.review-doc:hover { opacity: 1; }
.reviews-more {
  text-align: center;
  margin-top: 40px;
}
