/* ============================
   LokWeb — Design System
   ============================ */

/* ---- Tokens ---- */
:root {
  --bg-dark: #0B0F1A;
  --bg-light: #FAFAF7;
  --text-dark: #111318;
  --text-muted: #5B6170;
  --text-on-dark: #E7E5DF;
  --text-muted-on-dark: #8B8F9A;
  --primary: #2F5CFF;
  --primary-hover: #1A45E0;
  --accent: #F59E0B;
  --border-light: #E7E5DF;
  --border-dark: #1E2230;
  --white: #FFFFFF;
  --radius: 10px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,.06);
  --shadow-md: 0 4px 16px rgba(0,0,0,.08);
  --shadow-lg: 0 8px 32px rgba(0,0,0,.12);
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --font-serif: 'Instrument Serif', Georgia, serif;
  --transition: .2s ease;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background: var(--bg-light);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
img { max-width: 100%; display: block; }

/* ---- Accessibility ---- */
:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---- Container ---- */
.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 28px; border-radius: var(--radius);
  font-weight: 600; font-size: .95rem; font-family: var(--font-body);
  border: none; cursor: pointer;
  background: var(--primary); color: var(--white);
  transition: all var(--transition);
  min-height: 48px;
}
.btn:hover { background: var(--primary-hover); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-outline { background: transparent; border: 1.5px solid var(--border-light); color: var(--text-dark); }
.btn-outline:hover { border-color: var(--primary); color: var(--primary); background: rgba(47,92,255,.04); }
.btn-sm { padding: 10px 20px; font-size: .85rem; min-height: 40px; }
.btn-lg { padding: 18px 36px; font-size: 1.05rem; }
.btn-block { width: 100%; }
.btn i { width: 18px; height: 18px; }

/* Dark bg button variants */
.section-dark .btn-outline { border-color: var(--border-dark); color: var(--text-on-dark); }
.section-dark .btn-outline:hover { border-color: var(--primary); color: var(--primary); }

/* Hero secondary button (dark background) */
.hero .btn-outline {
  background: transparent;
  border: 1px solid rgba(250, 250, 247, .35);
  color: #FAFAF7;
}
.hero .btn-outline:hover {
  border-color: rgba(250, 250, 247, .8);
  background: rgba(250, 250, 247, .05);
  color: #FAFAF7;
}

/* ---- Nav ---- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(11,15,26,.88);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-dark);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.nav-logo {
  font-weight: 700; font-size: 1.25rem; color: var(--white);
  letter-spacing: -.02em;
}
.nav-logo span { color: var(--primary); }
.nav-links {
  display: flex; align-items: center; gap: 20px;
}
.nav-links a, .nav-links .btn {
  white-space: nowrap;
}
.nav-links a {
  font-size: .88rem; font-weight: 500; color: var(--text-muted-on-dark);
  transition: color var(--transition); min-height: 44px;
  display: inline-flex; align-items: center;
}
.nav-links a:hover { color: var(--white); }
.nav-toggle {
  display: none; background: none; border: none; cursor: pointer;
  width: 44px; height: 44px;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.nav-toggle span {
  display: block; width: 22px; height: 2px;
  background: var(--white); border-radius: 2px;
  transition: all .25s ease;
}
.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---- Hero ---- */
.hero {
  background: var(--bg-dark);
  padding: 140px 0 80px;
  color: var(--text-on-dark);
  overflow: hidden;
}
.hero-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 64px; align-items: center;
}
.badge {
  display: inline-block; padding: 6px 16px; border-radius: 40px;
  border: 1px solid var(--border-dark);
  font-size: .78rem; font-weight: 600; color: var(--text-muted-on-dark);
  text-transform: uppercase; letter-spacing: .06em;
  margin-bottom: 24px;
}
.hero h1 {
  font-family: var(--font-body);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700; line-height: 1.15;
  letter-spacing: -.03em;
  margin-bottom: 20px;
  color: var(--white);
}
.hero h1 em {
  font-family: var(--font-serif);
  font-style: italic; font-weight: 400;
  color: var(--accent);
}
.hero-sub {
  font-size: 1.1rem; color: var(--text-muted-on-dark);
  max-width: 480px; margin-bottom: 32px; line-height: 1.65;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 48px; }
.hero-stats { display: flex; gap: 40px; }
.stat { display: flex; flex-direction: column; gap: 4px; }
.stat-number {
  font-family: var(--font-serif);
  font-size: 1.5rem; font-weight: 400; color: var(--white);
  line-height: 1;
}
.stat-label {
  font-size: .7rem; font-weight: 600; color: var(--text-muted-on-dark);
  text-transform: uppercase; letter-spacing: .06em;
}

/* Hero mockup / carousel */
.hero-mockup {
  background: #0F1320;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 48px rgba(0,0,0,.35), 0 2px 6px rgba(0,0,0,.25);
  max-width: 540px;
  margin-left: auto;
  border: 1px solid rgba(255,255,255,.06);
}
.mockup-bar {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 14px;
  background: rgba(255,255,255,.04);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.mockup-dot {
  width: 11px; height: 11px; border-radius: 50%;
  background: rgba(255,255,255,.15);
  flex-shrink: 0;
}
.mockup-dot-red    { background: #FF5F57; }
.mockup-dot-yellow { background: #FEBC2E; }
.mockup-dot-green  { background: #28C840; }
.mockup-url {
  font-size: .74rem; color: var(--text-muted-on-dark);
  margin-left: 10px; letter-spacing: .01em;
  transition: color .3s ease;
}
.mockup-body {
  position: relative;
  background: #0B0F1A;
}
.carousel-track {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #0B0F1A;
  isolation: isolate;
}
.carousel-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  opacity: 0;
  transition: opacity 500ms ease-in-out;
  pointer-events: none;
  z-index: 1;
}
.carousel-slide.is-active {
  opacity: 1;
  z-index: 2;
}
.mockup-credit {
  position: absolute;
  right: 10px;
  bottom: 10px;
  font-size: .68rem;
  font-weight: 500;
  letter-spacing: .02em;
  color: rgba(255,255,255,.82);
  background: rgba(11,15,26,.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.1);
  pointer-events: none;
}
@media (prefers-reduced-motion: reduce) {
  .carousel-slide { transition: none; }
}

/* ---- Sections ---- */
.section { padding: 96px 0; }
.section-dark { background: var(--bg-dark); color: var(--text-on-dark); }
.section-light { background: var(--bg-light); }
.section-label {
  display: block; text-align: center;
  font-size: .75rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .08em;
  color: var(--primary);
  margin-bottom: 12px;
}
.section-title {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700; text-align: center;
  letter-spacing: -.02em; margin-bottom: 16px;
}
.section-dark .section-title { color: var(--white); }
.section-sub {
  text-align: center; color: var(--text-muted);
  font-size: 1.05rem; max-width: 560px;
  margin: 0 auto 56px; line-height: 1.6;
}
.section-dark .section-sub { color: var(--text-muted-on-dark); }

/* ---- Steps (Comment ça marche) ---- */
.steps {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 32px; margin-top: 56px;
}
.step { text-align: center; }
.step-number {
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--primary); color: var(--white);
  font-weight: 700; font-size: 1.1rem;
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.step h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 8px; color: var(--text-dark); }
.step p { font-size: .9rem; color: var(--text-muted); line-height: 1.6; }

/* ---- Services ---- */
.services-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px; margin-top: 56px;
}
.service-card {
  background: rgba(255,255,255,.04);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: all var(--transition);
}
.service-card:hover {
  border-color: rgba(47,92,255,.3);
  box-shadow: 0 8px 32px rgba(47,92,255,.08);
  transform: translateY(-2px);
}
.service-icon {
  width: 44px; height: 44px; border-radius: 10px;
  background: rgba(245,158,11,.08);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.service-icon i { width: 22px; height: 22px; color: var(--accent); }
.service-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 8px; color: var(--white); }
.service-card p { font-size: .88rem; color: var(--text-muted-on-dark); line-height: 1.6; }

/* ---- Comparatif (Pourquoi LokWeb) ---- */
.compare {
  max-width: 960px;
  margin: 48px auto 0;
  background: var(--white);
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.compare-row {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr;
  align-items: stretch;
  border-top: 1px solid var(--border-light);
}
.compare-row:first-child { border-top: none; }
.compare-cell {
  display: flex; align-items: center; gap: 10px;
  padding: 18px 22px;
  font-size: .95rem;
  color: var(--text-dark);
  min-height: 64px;
}
.compare-cell i { width: 18px; height: 18px; flex-shrink: 0; stroke-width: 2.5; }
.compare-label {
  font-weight: 600;
  background: #F4F3EE;
  color: var(--text-dark);
}
.compare-agency {
  color: var(--text-muted);
  background: var(--white);
  border-left: 1px solid var(--border-light);
}
.compare-agency i { color: #C0424E; opacity: .85; }
.compare-lokweb {
  color: var(--white);
  background: var(--primary);
  border-left: 1px solid rgba(255,255,255,.12);
  font-weight: 500;
}
.compare-lokweb i { color: var(--white); }

.compare-head .compare-cell {
  font-size: .72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .08em;
  min-height: 48px;
  padding-top: 14px; padding-bottom: 14px;
}
.compare-head .compare-label { color: var(--text-muted); background: #F4F3EE; }
.compare-head .compare-agency { color: var(--text-muted); }
.compare-head .compare-lokweb { color: rgba(255,255,255,.92); background: var(--primary); }

/* ---- À propos ---- */
.about-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 64px;
  align-items: center;
  max-width: 1040px;
  margin: 0 auto;
}
.about-visual { display: flex; justify-content: center; }
.about-avatar {
  width: 260px; height: 260px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 12px 40px rgba(47,92,255,.25);
  position: relative;
  overflow: hidden;
}
.about-avatar::after {
  content: "";
  position: absolute; inset: 6px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.25);
  pointer-events: none;
}
.about-initials {
  font-family: var(--font-serif);
  font-size: 5.5rem;
  color: var(--white);
  letter-spacing: -.02em;
  line-height: 1;
}
.about-label {
  text-align: left;
  margin-bottom: 12px;
}
.about-title {
  font-size: clamp(1.6rem, 2.6vw, 2.1rem);
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--text-dark);
}
.about-content p {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 16px;
}
.about-content p:last-of-type { margin-bottom: 20px; }
.about-note {
  border-left: 3px solid var(--primary);
  background: rgba(47, 92, 255, .04);
  padding: 14px 18px;
  border-radius: 8px;
  font-size: .92rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 24px;
}
.about-note strong {
  color: var(--text-dark);
  font-weight: 600;
}
.about-badges {
  display: flex; flex-wrap: wrap; gap: 10px;
  margin-bottom: 28px;
}
.about-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px;
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: 999px;
  font-size: .82rem; font-weight: 500;
  color: var(--text-dark);
}
.about-badge i { width: 14px; height: 14px; color: var(--primary); }
.about-cta { align-self: flex-start; }

/* ---- Pricing ---- */
.pricing-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 28px; max-width: 960px; margin: 56px auto 0;
  align-items: stretch;
}
.pricing-card {
  background: var(--white);
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 40px 32px 36px;
  position: relative;
  display: flex; flex-direction: column;
  transition: all var(--transition);
}
.pricing-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.pricing-featured {
  border: 2px solid var(--primary);
  box-shadow: 0 8px 32px rgba(47,92,255,.1);
}
.pricing-badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--primary); color: var(--white);
  font-size: .72rem; font-weight: 700;
  padding: 5px 20px; border-radius: 20px;
  letter-spacing: .02em; white-space: nowrap;
}
.pricing-name { font-size: 1.05rem; font-weight: 700; color: var(--text-dark); margin-bottom: 12px; }
.pricing-price { margin-bottom: 12px; }
.price-amount {
  font-family: var(--font-serif);
  font-size: 2.8rem; font-weight: 400;
  color: var(--text-dark); letter-spacing: -.02em;
}
.price-period { font-size: .95rem; font-weight: 500; color: var(--text-muted); }
.pricing-desc { font-size: .88rem; color: var(--text-muted); margin-bottom: 24px; line-height: 1.5; }
.pricing-features { flex: 1; margin-bottom: 28px; }
.pricing-features li {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 0; font-size: .88rem; color: var(--text-muted);
}
.pricing-features i { width: 16px; height: 16px; color: var(--primary); flex-shrink: 0; }
.pricing-card .btn { margin-top: auto; }
.pricing-note {
  text-align: center; font-size: .82rem; color: var(--text-muted);
  margin-top: 32px;
}

/* ---- Portfolio ---- */
.portfolio-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 28px; margin-top: 56px;
}
.portfolio-card {
  background: rgba(255,255,255,.04);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: all var(--transition);
}
.portfolio-card:hover { border-color: rgba(47,92,255,.3); transform: translateY(-4px); }
.portfolio-img { aspect-ratio: 16/10; overflow: hidden; background: #0B0F1A; }
.portfolio-img img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: top center;
  display: block;
}
.portfolio-placeholder {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, var(--border-dark) 0%, rgba(47,92,255,.08) 100%);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  color: var(--text-muted-on-dark); font-size: .85rem;
}
.portfolio-info { padding: 24px 28px; }
.portfolio-info h3 { font-size: 1.15rem; font-weight: 700; color: var(--white); margin-bottom: 8px; }
.portfolio-info p { font-size: .88rem; color: var(--text-muted-on-dark); margin-bottom: 16px; line-height: 1.6; }
.portfolio-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: .88rem; font-weight: 600; color: var(--primary);
}
.portfolio-link:hover { text-decoration: underline; }
.portfolio-link i { width: 14px; height: 14px; }

/* ---- Process ---- */
.process-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 32px; margin-top: 56px;
}
.process-step { position: relative; }
.process-num {
  font-family: var(--font-serif);
  font-size: 2.4rem; color: var(--accent);
  line-height: 1; margin-bottom: 16px; opacity: .5;
}
.process-step h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 8px; }
.process-step p { font-size: .88rem; color: var(--text-muted); line-height: 1.6; }

/* ---- CTA section ---- */
.section-cta { padding: 80px 0; }
.section-cta .section-title { margin-bottom: 12px; }
.section-cta .section-sub { margin-bottom: 32px; }

/* ---- Contact ---- */
.contact-grid {
  display: grid; grid-template-columns: 1fr 1.2fr;
  gap: 64px; margin-top: 56px;
}
.contact-info { display: flex; flex-direction: column; gap: 28px; }
.contact-item {
  display: flex; align-items: flex-start; gap: 16px;
}
.contact-item i { width: 20px; height: 20px; color: var(--primary); margin-top: 2px; flex-shrink: 0; }
.contact-item strong { display: block; font-size: .88rem; font-weight: 600; color: var(--text-dark); margin-bottom: 2px; }
.contact-item span, .contact-item a { font-size: .88rem; color: var(--text-muted); line-height: 1.5; }
.contact-item a:hover { color: var(--primary); }

.contact-form { display: flex; flex-direction: column; gap: 16px; }
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px; height: 1px;
  opacity: 0;
  pointer-events: none;
}
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: .82rem; font-weight: 600; color: var(--text-dark); }
.form-group input, .form-group textarea {
  padding: 14px 16px; border: 1.5px solid var(--border-light);
  border-radius: var(--radius); font-family: var(--font-body);
  font-size: .95rem; color: var(--text-dark); background: var(--white);
  transition: border-color var(--transition); outline: none;
  -webkit-appearance: none; appearance: none;
}
.form-group input:focus, .form-group textarea:focus { border-color: var(--primary); }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-group input::placeholder, .form-group textarea::placeholder { color: #B0B3BC; }

/* ---- Footer ---- */
.footer {
  background: var(--bg-dark);
  color: var(--text-muted-on-dark);
  padding: 64px 0 32px;
}
.footer-inner {
  display: flex; justify-content: space-between;
  gap: 48px; flex-wrap: wrap;
}
.footer-brand { max-width: 300px; }
.footer-brand .nav-logo { margin-bottom: 12px; display: inline-block; }
.footer-brand p { font-size: .88rem; color: var(--text-muted-on-dark); line-height: 1.5; }
.footer-links { display: flex; gap: 64px; }
.footer-links h4 {
  font-size: .78rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .06em; color: var(--white); margin-bottom: 16px;
}
.footer-links a {
  display: block; font-size: .88rem; color: var(--text-muted-on-dark);
  margin-bottom: 8px; transition: color var(--transition);
  min-height: 36px; display: flex; align-items: center;
}
.footer-links a:hover { color: var(--primary); }
.footer-bottom {
  margin-top: 48px; padding-top: 24px;
  border-top: 1px solid var(--border-dark);
  font-size: .78rem; color: var(--text-muted-on-dark);
}

/* ---- WhatsApp (header button + floating widget) ---- */
.btn-whatsapp {
  background: #25D366;
  color: var(--white);
  gap: 6px;
}
.btn-whatsapp:hover {
  background: #1EBE57;
  color: var(--white);
}
.btn-whatsapp svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.whatsapp-float {
  position: fixed;
  bottom: max(20px, env(safe-area-inset-bottom, 20px));
  right: max(20px, env(safe-area-inset-right, 20px));
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, .18), 0 2px 6px rgba(0, 0, 0, .12);
  z-index: 9999;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
  /* Défensif : isole des stacks/overflows parents, force layer propre */
  padding: 0;
  margin: 0;
  overflow: visible;
  box-sizing: border-box;
  line-height: 0;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
  transform: translateZ(0);
}
.whatsapp-float:hover {
  background: #1EBE57;
  color: var(--white);
  transform: translateZ(0) scale(1.06);
  box-shadow: 0 10px 28px rgba(0, 0, 0, .22);
}
.whatsapp-float svg {
  width: 30px;
  height: 30px;
  display: block;
  flex-shrink: 0;
}
@media (max-width: 640px) {
  .whatsapp-float {
    bottom: max(16px, env(safe-area-inset-bottom, 16px));
    right: max(16px, env(safe-area-inset-right, 16px));
    width: 52px;
    height: 52px;
  }
  .whatsapp-float svg {
    width: 28px;
    height: 28px;
  }
}

/* ---- Animations ---- */
.fade-up {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .6s ease, transform .6s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .fade-up { opacity: 1; transform: none; transition: none; }
}

/* ============================
   Responsive
   ============================ */

@media (max-width: 1200px) {
  .hero-grid { gap: 40px; }
}

@media (max-width: 1100px) {
  .nav-links {
    display: none; position: absolute;
    top: 64px; left: 0; right: 0;
    background: var(--bg-dark);
    flex-direction: column; padding: 24px;
    gap: 12px; border-bottom: 1px solid var(--border-dark);
  }
  .nav-links.open { display: flex; }
  .nav-toggle { display: flex; }
}

@media (max-width: 860px) {
  .hero { padding: 120px 0 64px; }
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-mockup { margin: 0 auto; max-width: 460px; }

  .steps { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: 1fr; max-width: 400px; }

  .about-grid { grid-template-columns: 1fr; gap: 40px; text-align: center; }
  .about-label { text-align: center; }
  .about-note { text-align: left; }
  .about-badges { justify-content: center; }
  .about-cta { align-self: center; }
  .about-avatar { width: 200px; height: 200px; }
  .about-initials { font-size: 4.2rem; }

  .compare { max-width: 100%; }
  .compare-row, .compare-row.compare-head {
    grid-template-columns: 1fr;
    border-top: 1px solid var(--border-light);
    padding: 10px 0;
  }
  .compare-head { display: none; }
  .compare-cell {
    border-left: none !important;
    min-height: auto;
    padding: 10px 20px;
  }
  .compare-label {
    font-size: .72rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: .06em;
    color: var(--text-muted);
    background: transparent;
    padding-bottom: 2px;
  }
  .compare-agency::before,
  .compare-lokweb::before {
    content: attr(data-role);
  }
  .compare-agency {
    background: var(--white);
    border-radius: var(--radius);
    margin: 4px 20px;
    padding: 14px 16px;
    border: 1px solid var(--border-light);
  }
  .compare-lokweb {
    border-radius: var(--radius);
    margin: 4px 20px 12px;
    padding: 14px 16px;
  }
  .portfolio-grid { grid-template-columns: 1fr; max-width: 520px; margin-left: auto; margin-right: auto; }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 640px) {
  .hero { padding: 100px 0 48px; }
  .hero h1 { font-size: 1.7rem; }
  .hero-stats { flex-direction: column; gap: 20px; align-items: center; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }

  .section { padding: 72px 0; }
  .steps { grid-template-columns: 1fr; gap: 24px; }
  .services-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; }
  .pricing-card { padding: 32px 24px 28px; }

  .footer-inner { flex-direction: column; }
  .footer-links { flex-direction: column; gap: 32px; }
}
