/* ===== Base ===== */
* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  color: #1e1e1e;
  background: #f5f1ea;
  line-height: 1.5;
}

a { color: inherit; text-decoration: none; }

/* ===== Header ===== */
.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.logo {
  width: 64px;
  height: 64px;
  object-fit: contain;
}

.company-name {
  margin: 0;
  font-size: 30px;
  letter-spacing: 0.08em;
  font-weight: 900;
}

/* ===== Hero ===== */
.hero {
  min-height: 62vh;
  display: grid;
  place-items: center;
  padding: 56px 20px;
  background: linear-gradient(135deg, rgba(0,0,0,0.55), rgba(0,0,0,0.15)),
              url("images/hero.jpg");
  background-size: cover;
  background-position: center;
}

.hero-content {
  max-width: 900px;
  text-align: center;
  color: #ffffff;
}

.hero-content h2 {
  margin: 0 0 12px;
  font-size: 44px;
  line-height: 1.12;
  font-weight: 900;
}

.hero-content p {
  margin: 0 0 22px;
  font-size: 18px;
  opacity: 0.95;
}

.btn {
  display: inline-block;
  padding: 14px 26px;
  border-radius: 999px;
  background: #caa24c; /* золото */
  color: #111;
  font-weight: 800;
  box-shadow: 0 10px 24px rgba(0,0,0,0.18);
  transition: transform 0.12s ease, box-shadow 0.12s ease, opacity 0.12s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(0,0,0,0.22);
}

.btn:active { transform: translateY(0); opacity: 0.92; }

/* ===== Technologies ===== */
.technologies {
  max-width: 1100px;
  margin: 0 auto;
  padding: 56px 20px;
}

.technologies h2 {
  margin: 0 0 18px;
  font-size: 30px;
  font-weight: 900;
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(160px, 1fr));
  gap: 14px;
}

.tech-item {
  background: #ffffff;
  border: 1px solid rgba(0,0,0,0.08);
  border-left: 4px solid #caa24c;
  border-radius: 14px;
  padding: 18px 16px;
  font-weight: 800;
  min-height: 68px;
  display: grid;
  align-items: center;
  box-shadow: 0 10px 18px rgba(0,0,0,0.06);
}

/* ===== Footer ===== */
.footer {
  background: #121212;
  color: #ffffff;
  padding: 26px 20px;
  text-align: center;
}

.footer p { margin: 6px 0; opacity: 0.95; }

/* ===== Responsive ===== */
@media (max-width: 980px) {
  .tech-grid { grid-template-columns: repeat(2, minmax(220px, 1fr)); }
  .hero-content h2 { font-size: 36px; }
}

@media (max-width: 520px) {
  .header-inner { padding: 14px 16px; gap: 10px; }
  .company-name { font-size: 22px; }
  .logo { width: 48px; height: 48px; }
  .hero-content h2 { font-size: 28px; }
  .hero { min-height: 56vh; padding: 42px 16px; }
  .tech-grid { grid-template-columns: 1fr; }
}
