* { box-sizing: border-box; }

:root {
  --bg-dark: #0b0f1a;
  --bg-card: #111827;
  --text-main: #e5e7eb;
  --text-muted: #9ca3af;
  --accent: #2563eb;
  --accent-hover: #1d4ed8;
  --border-dark: #1f2937;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
  background: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.6;
}

.container {
  max-width: 1240px;
  padding: 0 20px;
  margin: 0 auto;
}

/* ================= HEADER ================= */
.header {
  background: rgba(11, 15, 26, 0.85);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border-dark);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 0;
}

.logo {
  font-weight: 700;
  font-size: 20px;
  letter-spacing: 0.5px;
}

.nav ul {
  list-style: none;
  display: flex;
  gap: 22px;
  padding: 0;
  margin: 0;
}

.nav a {
  text-decoration: none;
  color: var(--text-main);
  font-weight: 500;
}

.nav a:hover { color: var(--accent); }

.has-dropdown { position: relative; }

/* dropdown hidden by default */
.dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  background: var(--bg-card);
  border: 1px solid var(--border-dark);
  border-radius: 12px;
  min-width: 280px;
  overflow: hidden;
  z-index: 50;
}

/* show only on hover (desktop) */
@media (min-width: 901px) {
  .has-dropdown:hover .dropdown {
    display: block;
  }
}

.dropdown li a {
  display: block;
  padding: 12px 16px;
  font-size: 14px;
}

.dropdown li a:hover {
  background: #020617;
}

.header__contacts {
  font-size: 14px;
  display: flex;
  flex-direction: column;
  text-align: right;
}

.header__contacts a { color: var(--text-main); }

/* ================= HERO ================= */
.hero {
  padding: 90px 0 80px;
  background: radial-gradient(80% 60% at 20% 0%, #111827, transparent);
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 50px;
}

.hero h1 {
  font-size: 44px;
  line-height: 1.15;
  margin-bottom: 20px;
}

.hero p {
  color: var(--text-muted);
  font-size: 18px;
}

.hero__list {
  list-style: none;
  padding: 0;
  margin: 24px 0 32px;
}

.hero__list li {
  margin-bottom: 8px;
  padding-left: 18px;
  position: relative;
}

.hero__list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--accent);
}

.btn {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  padding: 14px 26px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
}

.btn:hover { background: var(--accent-hover); }

/* ================= SECTIONS ================= */
section { padding: 80px 0; }

h2 {
  font-size: 34px;
  margin-bottom: 40px;
}

/* ================= CARDS ================= */
.advantages__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.who__grid,
.gallery__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.adv,
.who__grid > div {
  background: var(--bg-card);
  border: 1px solid var(--border-dark);
  padding: 28px;
  border-radius: 16px;
}

.adv p,
.who__grid p { color: var(--text-muted); }

/* ================= GALLERY ================= */
.gallery__grid div {
  background: #020617;
  border-radius: 16px;
  overflow: hidden;
  height: 220px;
}

.gallery__grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery__grid div:hover img {
  transform: scale(1.05);
}

/* ================= PROCESS ================= */
.process__list {
  max-width: 720px;
  color: var(--text-muted);
}

.note {
  margin-top: 20px;
  color: var(--text-muted);
}

/* ================= FORM ================= */
.form form { max-width: 720px; }

.form__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 20px;
}

.form input,
.form textarea {
  background: #020617;
  border: 1px solid var(--border-dark);
  color: var(--text-main);
  padding: 14px;
  border-radius: 10px;
}

.form textarea {
  grid-column: span 2;
  min-height: 140px;
}

/* ================= FOOTER ================= */
.footer {
  background: #020617;
  padding: 60px 0;
  border-top: 1px solid var(--border-dark);
}

.footer__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.footer a { color: var(--text-main); text-decoration: none; }

/* ================= RESPONSIVE ================= */
@media (max-width: 900px) {
  .hero__grid,
  .advantages__grid,
  .who__grid,
  .gallery__grid,
  .footer__grid {
    grid-template-columns: 1fr;
  }

  .advantages__grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .hero h1 { font-size: 34px; }


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

  .hero h1 { font-size: 34px; }

}

/* ===== HEADER ===== */

.site-header {
  background: #111;
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 20px;
}

.logo strong {
  display: block;
  font-size: 18px;
}

.logo span {
  font-size: 13px;
  color: #bbb;
}

.main-nav {
  display: flex;
  gap: 25px;
}

.main-nav a {
  color: #fff;
  text-decoration: none;
  font-size: 15px;
}

.main-nav a:hover {
  color: #ff9800;
}

.header-contacts {
  text-align: right;
  font-size: 14px;
}

.header-contacts .address {
  display: block;
  color: #bbb;
}

.header-contacts .phone {
  color: #ff9800;
  text-decoration: none;
  font-weight: bold;
}

/* ===== BURGER ===== */

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
}

.burger span {
  width: 25px;
  height: 3px;
  background: #fff;
}

/* ===== MOBILE HEADER ===== */

@media (max-width: 900px) {

  .main-nav {
    position: absolute;
    top: 65px;
    left: 0;
    right: 0;
    background: #111;
    flex-direction: column;
    text-align: center;
    display: none;
    padding: 20px 0;
  }

  .main-nav a {
    padding: 10px 0;
    font-size: 16px;
  }

  .main-nav.open {
    display: flex;
  }

  .header-contacts {
    display: none;
  }

  .burger {
    display: flex;
  }
}

/* фоты производства на главной */
.production-page {
  background: #ffffff;
}

.production-hero {
  max-width: 900px;
  margin: 60px auto;
  padding: 0 20px;
}

.production-hero h1 {
  font-size: 36px;
  margin-bottom: 16px;
}

.production-hero p {
  color: #555;
  line-height: 1.6;
}

.production-section {
  padding: 60px 0;
}

.production-section.light {
  background: #f7f8fa;
}

.production-section h2 {
  max-width: 900px;
  margin: 0 auto 12px;
  padding: 0 20px;
  font-size: 28px;
}

.section-text {
  max-width: 900px;
  margin: 0 auto 32px;
  padding: 0 20px;
  color: #555;
  line-height: 1.6;
}

.gallery-grid {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.gallery-grid img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 12px;
  background: #eaeaea;
}

.production-final {
  max-width: 900px;
  margin: 80px auto;
  padding: 0 20px;
  text-align: center;
}

.production-final p {
  margin-bottom: 24px;
  color: #555;
}

/* Адаптив */

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

@media (max-width: 600px) {
  .production-hero h1 {
    font-size: 28px;
  }

  .production-section h2 {
    font-size: 22px;
  }

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

  .gallery-grid img {
    height: 200px;
  }
}