/* MTW Solid — временная страница «Скоро открытие».
   Палитра и типографика повторяют основной сайт (Tailwind-токены проекта). */

:root {
  --primary: #0a0a0a;
  --primary-light: #1a1a1a;
  --primary-card: #111111;
  --primary-border: #2a2a2a;
  --accent: #f59e0b;
  --accent-hover: #d97706;
  --text: #e5e5e5;
  --text-muted: #d1d5db;
  --text-dim: #9ca3af;
}

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

html {
  -webkit-text-size-adjust: 100%;
}

body {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.5rem;
  min-height: 100vh;
  min-height: 100svh;
  margin: 0;
  padding: 2rem 1.25rem;
  overflow-x: hidden;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  background-color: var(--primary);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}

/* Фон: размытое и затемнённое фото гибки металла */
body::before {
  content: "";
  position: fixed;
  inset: -60px;
  z-index: -2;
  background-image: url("images/bending.png");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  filter: blur(12px) brightness(0.6) saturate(0.95);
  transform: scale(1.05);
}

/* Градиент поверх фона — как в hero-секции сайта */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.6) 0%,
    rgba(0, 0, 0, 0.45) 45%,
    rgba(10, 10, 10, 0.88) 100%
  );
}

/* Логотип */
.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand__logo {
  width: 56px;
  height: 56px;
  object-fit: contain;
}

.brand__name {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #fff;
}

/* Основной блок */
.hero {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 46rem;
  text-align: center;
}

.hero__eyebrow {
  margin: 0 0 1rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}

.hero__title {
  margin: 0 0 1.25rem;
  font-size: clamp(2rem, 7vw, 3.5rem);
  font-weight: 700;
  line-height: 1.15;
  color: #fff;
}

.hero__text {
  max-width: 38rem;
  margin: 0 auto;
  font-size: clamp(1rem, 2.5vw, 1.125rem);
  line-height: 1.7;
  color: var(--text-muted);
}

/* Перечень услуг */
.services {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.625rem;
  max-width: 40rem;
  margin: 2.25rem 0 0;
  padding: 0;
  list-style: none;
}

.services__item {
  padding: 0.4375rem 0.9375rem;
  font-size: 0.8125rem;
  color: var(--text-dim);
  background-color: rgba(17, 17, 17, 0.6);
  border: 1px solid var(--primary-border);
  border-radius: 999px;
  backdrop-filter: blur(4px);
}

/* Контакты */
.contacts {
  width: 100%;
  margin-top: 2.75rem;
  padding-top: 2.25rem;
  border-top: 1px solid var(--primary-border);
}

.contacts__label {
  margin: 0 0 1.25rem;
  font-size: 0.875rem;
  color: var(--text-dim);
}

.contacts__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.875rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.8125rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 0.5rem;
  border: 1px solid transparent;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn__icon {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
}

.btn--primary {
  color: #000;
  background-color: var(--accent);
}

.btn--primary:hover,
.btn--primary:focus-visible {
  background-color: var(--accent-hover);
}

.btn--ghost {
  color: #fff;
  background-color: rgba(17, 17, 17, 0.7);
  border-color: var(--primary-border);
}

.btn--ghost:hover,
.btn--ghost:focus-visible {
  color: var(--accent);
  border-color: var(--accent);
}

.btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* Подвал */
.footer {
  text-align: center;
}

.footer__company {
  margin: 0;
  font-size: 0.875rem;
  font-weight: 700;
  color: #fff;
}

.footer__copyright {
  margin: 0.375rem 0 0;
  font-size: 0.8125rem;
  color: var(--text-dim);
}

/* Анимация появления — как на сайте */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in-up {
  opacity: 0;
  animation: fadeInUp 0.5s ease-out forwards;
}

.animate-delay-100 { animation-delay: 0.1s; }
.animate-delay-200 { animation-delay: 0.2s; }
.animate-delay-300 { animation-delay: 0.3s; }
.animate-delay-400 { animation-delay: 0.4s; }
.animate-delay-500 { animation-delay: 0.5s; }

@media (max-width: 480px) {
  .btn {
    width: 100%;
    justify-content: center;
    font-size: 0.9375rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .animate-fade-in-up {
    opacity: 1;
    animation: none;
  }
}
