/* ============================================
   Valnovo OÜ — Web Development Studio
   Design System & Variables
   ============================================ */

:root {
  /* Colors */
  --color-bg: #0a0a0f;
  --color-bg-elevated: #12121a;
  --color-bg-card: rgba(255, 255, 255, 0.03);
  --color-bg-card-hover: rgba(255, 255, 255, 0.06);
  --color-text: #e8e8ed;
  --color-text-muted: #8b8b9a;
  --color-accent: #6366f1;
  --color-accent-light: #818cf8;
  --color-accent-dark: #4f46e5;
  --color-glow: rgba(99, 102, 241, 0.4);
  --color-border: rgba(255, 255, 255, 0.08);
  --color-border-strong: rgba(255, 255, 255, 0.12);

  /* Gradients */
  --gradient-accent: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #a855f7 100%);
  --gradient-dark: linear-gradient(180deg, rgba(10, 10, 15, 0) 0%, rgba(10, 10, 15, 1) 100%);
  --gradient-hero: radial-gradient(ellipse 80% 50% at 50% -20%, rgba(99, 102, 241, 0.25), transparent),
                   radial-gradient(ellipse 60% 40% at 80% 50%, rgba(139, 92, 246, 0.15), transparent),
                   radial-gradient(ellipse 50% 30% at 20% 80%, rgba(168, 85, 247, 0.1), transparent);

  /* Typography */
  --font-main: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;
  --space-5xl: 8rem;

  /* Layout */
  --container-max: 1300px;
  --container-padding: 2rem;

  /* Effects */
  --blur-glass: blur(12px);
  --shadow-glow: 0 0 40px var(--color-glow);
  --transition-fast: 0.2s ease;
  --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --ease-custom: cubic-bezier(0.85, 0, 0.15, 1);
}

/* ============================================
   Glassmorphism Helper
   ============================================ */

.glass {
  background: var(--color-bg-card);
  backdrop-filter: var(--blur-glass);
  -webkit-backdrop-filter: var(--blur-glass);
  border: 1px solid var(--color-border);
}

.glass--hover:hover {
  background: var(--color-bg-card-hover);
  border-color: rgba(99, 102, 241, 0.3);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3),
              0 0 40px rgba(99, 102, 241, 0.1);
}

/* ============================================
   Preloader & Base Transitions
   ============================================ */

.preloader {
  position: fixed;
  inset: 0;
  background: var(--color-bg);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: clip-path 1.2s var(--ease-custom);
}

.preloader.is-hidden {
  clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
}

.preloader__content {
  text-align: center;
}

.preloader__logo {
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-md);
  opacity: 0;
  transform: translateY(20px);
}

.preloader__progress {
  width: 150px;
  height: 2px;
  background: var(--color-border);
  margin: 0 auto;
  overflow: hidden;
  border-radius: 1px;
}

.preloader__bar {
  width: 100%;
  height: 100%;
  background: var(--gradient-accent);
  transform: scaleX(0);
  transform-origin: left;
}

/* ============================================
   Custom Cursor
   ============================================ */

.cursor-dot,
.cursor-outline {
  pointer-events: none;
  position: fixed;
  top: 0;
  left: 0;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  z-index: 10000;
  transition: transform 0.1s ease-out, opacity 0.3s ease;
  opacity: 0;
}

.cursor-dot {
  width: 8px;
  height: 8px;
  background-color: var(--color-accent);
}

.cursor-outline {
  width: 40px;
  height: 40px;
  border: 1px solid var(--color-accent);
}

@media (hover: none) {
  .cursor-dot, .cursor-outline { display: none; }
}

body.loading {
  overflow: hidden;
}

/* ============================================
   Reset & Base
   ============================================ */

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

body::after {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
  opacity: 0.04;
  pointer-events: none;
  z-index: 1000;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
  cursor: none;
}

.btn, .burger, .nav__link, .logo, .social-link {
  cursor: none;
}

img {
  max-width: 100%;
  height: auto;
}

/* ============================================
   Magnetic Effect Container
   ============================================ */

.magnetic {
  display: inline-block;
}

/* ============================================
   Layout
   ============================================ */

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

/* ============================================
   Header
   ============================================ */

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: var(--space-md) 0;
  background: rgba(10, 10, 15, 0.01);
  backdrop-filter: var(--blur-glass);
  -webkit-backdrop-filter: var(--blur-glass);
  border-bottom: 1px solid var(--color-border);
  transition: background var(--transition-smooth), padding var(--transition-smooth);
}

.header.is-scrolled {
  padding: var(--space-sm) 0;
  background: rgba(10, 10, 15, 0.8);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 2px;
}

.logo__accent {
  color: var(--color-accent);
}

.nav {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
}

.nav__link {
  font-size: 0.85rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text-muted);
  padding: var(--space-xs) var(--space-sm);
  position: relative;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 1px;
  background: var(--gradient-accent);
  transition: width 0.3s ease, left 0.3s ease;
}

.nav__link:hover::after {
  width: 100%;
  left: 0;
}

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

.nav__link--cta {
  color: white;
  background: var(--gradient-accent);
  padding: 0.6rem 1.2rem;
  border-radius: 8px;
}

.nav__link--cta:hover {
  transform: scale(1.05);
}

.nav__link--cta::after { display: none; }

.burger {
  display: none;
  position: relative;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  color: var(--color-text);
  font-size: 1.25rem;
}

.burger__icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.burger__icon--close {
  display: none;
}

/* ============================================
   Hero
   ============================================ */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-5xl) 0;
  overflow: hidden;
  background: radial-gradient(circle at 50% 50%, rgba(99, 102, 241, 0.05) 0%, transparent 70%);
}

.hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.hero__gradient {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.4;
}

.hero__gradient--1 {
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.3) 0%, transparent 70%);
  top: -20%;
  left: -10%;
}

.hero__gradient--2 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.25) 0%, transparent 70%);
  bottom: -10%;
  right: -5%;
}

.hero__gradient--3 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.2) 0%, transparent 70%);
  top: 40%;
  left: 30%;
}

.hero__particles {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.3;
}

.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
}

.hero__title {
  font-size: clamp(3rem, 10vw, 6.5rem);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.04em;
  margin-bottom: var(--space-xl);
  perspective: 1000px;
}

.hero__title-accent {
  display: block;
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 30px rgba(99, 102, 241, 0.3));
}

.hero__subline {
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  color: var(--color-text-muted);
  max-width: 600px;
  margin: 0 auto var(--space-3xl);
  font-weight: 400;
  line-height: 1.4;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  justify-content: center;
}

.hero__scroll-indicator {
  position: absolute;
  bottom: var(--space-2xl);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
}

.hero__scroll-text {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--color-text-muted);
}

.hero__scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--color-accent), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 1; transform: scaleY(1); }
  50% { opacity: 0.5; transform: scaleY(0.5); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

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

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2.5rem;
  font-family: var(--font-main);
  font-size: 1.1rem;
  font-weight: 700;
  border-radius: 12px;
  border: none;
  cursor: none;
  transition: all 0.3s var(--ease-custom);
  letter-spacing: -0.01em;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 150%;
  height: 150%;
  background: white;
  transform: translate(-50%, -50%) scale(0);
  transition: transform 0.6s var(--ease-custom);
  z-index: -1;
  border-radius: 50%;
  opacity: 0.1;
}

.btn:hover::before {
  transform: translate(-50%, -50%) scale(1);
}

.btn--primary {
  background: var(--gradient-accent);
  color: white;
  box-shadow: 0 4px 25px rgba(99, 102, 241, 0.4);
}

.btn--primary:hover {
  box-shadow: 0 8px 35px rgba(99, 102, 241, 0.6);
  transform: translateY(-3px) scale(1.02);
}

.btn--outline {
  background: rgba(255, 255, 255, 0.03);
  color: white;
  border: 1px solid var(--color-border);
  backdrop-filter: blur(10px);
}

.btn--outline:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-3px) scale(1.02);
}

.btn--full {
  width: 100%;
}

/* ============================================
   Sections
   ============================================ */

.section {
  padding: var(--space-4xl) 0;
}

.section__title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: var(--space-md);
  letter-spacing: -0.02em;
}

.section__subtitle {
  text-align: center;
  color: var(--color-text-muted);
  max-width: 560px;
  margin: 0 auto var(--space-3xl);
  font-size: 1.1rem;
}

/* Scroll reveal base state - GSAP will handle animations */
.scroll-reveal {
  opacity: 0;
  visibility: hidden;
  will-change: transform, opacity;
}

/* ============================================
   Services
   ============================================ */

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--space-xl);
}

.service-card {
  background: var(--color-bg-card);
  backdrop-filter: var(--blur-glass);
  -webkit-backdrop-filter: var(--blur-glass);
  border: 1px solid var(--color-border);
  border-radius: 24px;
  padding: var(--space-3xl);
  transition: all 0.5s var(--ease-custom);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(600px circle at var(--mouse-x) var(--mouse-y), rgba(99, 102, 241, 0.1), transparent 40%);
  opacity: 0;
  transition: opacity 0.5s;
  z-index: 0;
  pointer-events: none;
}

.service-card:hover::before {
  opacity: 1;
}

.service-card:hover {
  transform: translateY(-12px) scale(1.02);
  border-color: rgba(99, 102, 241, 0.4);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4),
              0 0 50px rgba(99, 102, 241, 0.15);
}

.service-card > * {
  position: relative;
  z-index: 1;
}

.service-card__icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-accent);
  border-radius: 18px;
  margin-bottom: var(--space-xl);
  font-size: 1.75rem;
  color: white;
  box-shadow: 0 8px 20px rgba(99, 102, 241, 0.3);
}

.service-card__title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: var(--space-md);
  letter-spacing: -0.01em;
}

.service-card__desc {
  color: var(--color-text-muted);
  font-size: 1rem;
  line-height: 1.6;
}

/* ============================================
   Timeline (How We Work)
   ============================================ */

.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-xl);
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 50px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: linear-gradient(to right, transparent, var(--color-accent), transparent);
  opacity: 0.3;
  z-index: 0;
}

.timeline__step {
  position: relative;
  z-index: 1;
  background: var(--color-bg-card);
  backdrop-filter: var(--blur-glass);
  -webkit-backdrop-filter: var(--blur-glass);
  border: 1px solid var(--color-border);
  border-radius: 24px;
  padding: var(--space-2xl);
  text-align: center;
  transition: all 0.5s var(--ease-custom);
}

.timeline__step:hover {
  transform: translateY(-10px);
  border-color: var(--color-accent);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.timeline__number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  margin: 0 auto var(--space-lg);
  font-size: 1.5rem;
  font-weight: 700;
  background: var(--gradient-accent);
  color: white;
  border-radius: 50%;
  box-shadow: 0 0 20px rgba(99, 102, 241, 0.4);
}

.timeline__title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: var(--space-sm);
  color: white;
}

.timeline__desc {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  line-height: 1.5;
}

@media (max-width: 1024px) {
  .timeline {
    grid-template-columns: repeat(2, 1fr);
  }
  .timeline::before { display: none; }
}

@media (max-width: 640px) {
  .timeline {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 768px) {
  .timeline__connector {
    display: block;
    flex: 0 0 40px;
  }
}

/* ============================================
   Why Valnovo
   ============================================ */

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--space-xl);
}

.why-card {
  background: var(--color-bg-card);
  backdrop-filter: var(--blur-glass);
  -webkit-backdrop-filter: var(--blur-glass);
  border: 1px solid var(--color-border);
  border-radius: 24px;
  padding: var(--space-2xl);
  text-align: center;
  transition: all 0.5s var(--ease-custom);
}

.why-card:hover {
  transform: translateY(-8px);
  border-color: rgba(99, 102, 241, 0.4);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.why-card__icon {
  width: 56px;
  height: 56px;
  margin: 0 auto var(--space-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(99, 102, 241, 0.1);
  border-radius: 16px;
  color: var(--color-accent-light);
  font-size: 1.5rem;
  border: 1px solid rgba(99, 102, 241, 0.2);
}

.why-card__title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: var(--space-sm);
  color: white;
}

.why-card__desc {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  line-height: 1.5;
}

/* ============================================
   Portfolio
   ============================================ */

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-xl);
}

.portfolio-card {
  aspect-ratio: 16/10;
  background: var(--color-bg-card);
  backdrop-filter: var(--blur-glass);
  -webkit-backdrop-filter: var(--blur-glass);
  border: 1px solid var(--color-border);
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  transition: all 0.6s var(--ease-custom);
  background-size: cover;
  background-position: center;
}

.portfolio-card:nth-child(1) { background-image: linear-gradient(rgba(10, 10, 15, 0.7), rgba(10, 10, 15, 0.7)), url('https://images.unsplash.com/photo-1460925895917-afdab827c52f?auto=format&fit=crop&q=80&w=800'); }
.portfolio-card:nth-child(2) { background-image: linear-gradient(rgba(10, 10, 15, 0.7), rgba(10, 10, 15, 0.7)), url('https://images.unsplash.com/photo-1526628953301-3e589a6a8b74?auto=format&fit=crop&q=80&w=800'); }
.portfolio-card:nth-child(3) { background-image: linear-gradient(rgba(10, 10, 15, 0.7), rgba(10, 10, 15, 0.7)), url('https://images.unsplash.com/photo-1677442136019-21780ecad995?auto=format&fit=crop&q=80&w=800'); }

.portfolio-card:hover {
  transform: translateY(-10px) scale(1.02);
  border-color: rgba(99, 102, 241, 0.5);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5),
              0 0 40px rgba(99, 102, 241, 0.2);
  background-image: linear-gradient(rgba(10, 10, 15, 0.4), rgba(10, 10, 15, 0.4)), inherit;
}

.portfolio-card__overlay {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-md);
  z-index: 2;
  transition: transform 0.6s var(--ease-custom);
}

.portfolio-card:hover .portfolio-card__overlay {
  transform: translateY(-5px);
}

.portfolio-card__icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  color: white;
  font-size: 1.75rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.portfolio-card__label {
  font-weight: 600;
  font-size: 1.1rem;
  text-align: center;
}

.portfolio-card__badge {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  padding: var(--space-xs) var(--space-md);
  background: rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  border: 1px solid var(--color-border);
}

.portfolio__cta {
  text-align: center;
  margin-top: var(--space-2xl);
}

/* ============================================
   Contact
   ============================================ */

.contact__content {
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
}

.contact__email-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem 3.5rem;
  font-family: var(--font-main);
  font-size: 1.5rem;
  font-weight: 700;
  background: var(--gradient-accent);
  color: white;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(99, 102, 241, 0.4);
  transition: all 0.4s var(--ease-custom);
  margin-bottom: var(--space-2xl);
  letter-spacing: -0.02em;
}

.contact__email-btn:hover {
  transform: translateY(-5px) scale(1.03);
  box-shadow: 0 20px 60px rgba(99, 102, 241, 0.6);
}

.contact__social {
  display: flex;
  justify-content: center;
  gap: var(--space-lg);
}

.social-link {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  color: var(--color-text-muted);
  font-size: 1.25rem;
  transition: transform var(--transition-fast),
              color var(--transition-fast),
              border-color var(--transition-fast),
              box-shadow var(--transition-fast);
}

.social-link:hover {
  transform: translateY(-3px);
  color: var(--color-accent-light);
  border-color: rgba(99, 102, 241, 0.3);
  box-shadow: 0 0 20px rgba(99, 102, 241, 0.15);
}

/* ============================================
   Footer
   ============================================ */

.footer {
  padding: var(--space-2xl) 0;
  border-top: 1px solid var(--color-border);
  text-align: center;
}

.footer__legal {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  margin-bottom: var(--space-lg);
  line-height: 1.8;
}

.footer__legal a {
  color: var(--color-accent-light);
}

.footer__legal a:hover {
  text-decoration: underline;
}

.footer__copy {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  opacity: 0.8;
}

/* ============================================
   Responsive — Mobile
   ============================================ */

@media (max-width: 768px) {
  .nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: rgba(18, 18, 26, 0.98);
    backdrop-filter: var(--blur-glass);
    flex-direction: column;
    justify-content: center;
    gap: var(--space-xl);
    padding: var(--space-2xl);
    transition: right var(--transition-smooth);
    border-left: 1px solid var(--color-border);
  }

  .nav.is-open {
    right: 0;
  }

  .burger {
    display: flex;
    position: relative;
    z-index: 101;
  }

  .burger.is-active .burger__icon--open {
    display: none;
  }

  .burger.is-active .burger__icon--close {
    display: block;
  }

  .hero__content {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
  }

  .hero__cta {
    display: flex;
    flex-direction: column;
    width: 100%;
    align-items: center;
  }

  .hero__cta .btn {
    width: 100%;
    max-width: 280px;
    margin-left: auto;
    margin-right: auto;
  }

  .hero__cta .btn + .btn {
    margin-top: var(--space-md);
  }

  .btn {
    width: 100%;
    max-width: 280px;
  }

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

  .timeline__step {
    max-width: 100%;
  }

  .section {
    padding: var(--space-3xl) 0;
  }
}
