:root {
  --bg: #0E1116;
  --bg-light: #151a21;
  --text: #e5e7eb;
  --muted: #9ca3af;
  --accent: #3b82f6;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Inter, Arial, sans-serif;
}

body {
  background: var(--bg);
  color: var(--text);
}

.container {
  max-width: 1100px;
  margin: auto;
  padding: 0 20px;
}

header {
  background: var(--bg-light);
  border-bottom: 1px solid #1f2937;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 5px 0;
}

.logo-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 30px;
  font-weight: 700;
}

.logo-wrap img {
  width: 140px;
}

.accent {
  color: var(--accent);
}

.hero {
  background-size: cover;
  background-position: center;
}

.hero-overlay {
  background: rgba(14,17,22,0.8);
  padding: 100px 0;
  text-align: center;
}

.hero h1 {
  font-size: 42px;
  margin-bottom: 20px;
}

.hero p {
  color: var(--muted);
  max-width: 700px;
  margin: auto;
}

.btn {
  margin-top: 30px;
  display: inline-block;
  padding: 14px 32px;
  background: var(--accent);
  color: #fff;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
}

.section {
  padding: 80px 0;
}

.section h2 {
  text-align: center;
  margin-bottom: 50px;
}

.services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
}

.service {
  background: var(--bg-light);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #1f2937;
}

.service img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.service h3 {
  padding: 20px 20px 0;
}

.service p {
  padding: 10px 20px 20px;
  color: var(--muted);
}

.why {
  background: var(--bg-light);
}

.why-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px,1fr));
  gap: 30px;
  text-align: center;
}

.contact form {
  max-width: 500px;
  margin: auto;
  display: grid;
  gap: 15px;
}

input, textarea {
  padding: 14px;
  border-radius: 8px;
  border: none;
  background: #111827;
  color: white;
}

footer {
  border-top: 1px solid #1f2937;
  text-align: center;
  padding: 30px;
  color: var(--muted);
}
/* Anidemated */
.animated-logo {
  opacity: 0;
  transform: translateY(-10px);
  animation: logoFadeIn 1.2s ease-out forwards;
}

@keyframes logoFadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.logo-wrap img {
  filter: drop-shadow(0 0 0 rgba(59,130,246,0));
  animation: glow 3s ease-in-out infinite;
}

@keyframes glow {
  0%, 100% {
    filter: drop-shadow(0 0 0 rgba(59,130,246,0));
  }
  50% {
    filter: drop-shadow(0 0 6px rgba(59,130,246,0.5));
  }
}

/* появление блоков  */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Лого */

/* LOGO ANIMATION */
.animated-logo {
  opacity: 0;
  transform: translateY(-10px);
  animation: logoFadeIn 1.2s ease-out forwards;
}

@keyframes logoFadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.logo-wrap img {
  transition: 0.3s ease;
  filter: drop-shadow(0 0 0 rgba(59,130,246,0));
  animation: logoGlow 3s ease-in-out infinite;
}

@keyframes logoGlow {
  0%, 100% {
    filter: drop-shadow(0 0 0 rgba(59,130,246,0));
  }
  50% {
    filter: drop-shadow(0 0 6px rgba(59,130,246,0.45));
  }
}

.logo-wrap:hover img {
  transform: scale(1.05);
}

