/* -------------------------------------
 *  Global & Reset
 - *------------------------------------ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  font-weight: 400;
  line-height: 1.6;
  color: #1a1a1a;
  background-color: #fafafa;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'JetBrains Mono', monospace;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.3;
}

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* -------------------------------------
 *  Header / Navigation (аккуратный тёмный)
 - *------------------------------------ */
.header {
  background: #111;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar {
  padding: 0.6rem 0;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.logo img {
  height: 40px;
  width: auto;
  display: block;
}

.nav-menu {
  display: flex;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-menu li {
  margin: 0;
}

.nav-menu a {
  text-decoration: none;
  color: #fff;
  font-weight: 500;
  font-size: 1rem;
  transition: color 0.2s;
  padding: 0.5rem 0;
  display: inline-block;
}

.nav-menu a:hover,
.nav-menu a.active {
  color: #D4AF37;
}

.nav-icons {
  display: flex;
  gap: 1.2rem;
}

.nav-icons a {
  color: #fff;
  font-size: 1.2rem;
  transition: transform 0.2s, color 0.2s;
}

.nav-icons a:hover {
  color: #D4AF37;
  transform: translateY(-2px);
}

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

.mobile-menu-toggle span {
  width: 25px;
  height: 2px;
  background: #fff;
  transition: 0.2s;
}

@media (max-width: 768px) {
  .mobile-menu-toggle {
    display: flex;
  }
  .nav-menu {
    display: none;
    width: 100%;
    flex-direction: column;
    gap: 1rem;
    padding: 1rem 0;
    margin-top: 1rem;
  }
  .nav-menu.active {
    display: flex;
  }
  .nav-icons {
    margin-left: auto;
  }
}

/* -------------------------------------
 *  Hero Section
 - *------------------------------------ */
.hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  padding: 4rem 0;
  background-image: url('../images/hero-bg.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-text-box {
  background: rgba(255, 255, 255, 0.9);
  padding: 2rem;
  border-radius: 24px;
  max-width: 650px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.hero-title {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: #000;
}

.hero-title .gold {
  color: #D4AF37;
}

.hero-subtitle {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  color: #333;
}

.btn {
  display: inline-block;
  padding: 0.75rem 1.8rem;
  border-radius: 40px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.2s;
  background-color: #000;
  color: #fff;
  border: 1px solid #D4AF37;
}

.btn:hover {
  background-color: #222;
  transform: translateY(-2px);
}

/* -------------------------------------
 *  About Section
 - *------------------------------------ */
.about {
  padding: 5rem 0;
  background: #fff;
}

.about-card {
  background: #f9f9f9;
  border-radius: 32px;
  padding: 2rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.03);
}

.about-img {
  width: 100%;
  border-radius: 24px;
  margin-bottom: 2rem;
}

.about h2 {
  margin-bottom: 1.5rem;
  font-size: 2rem;
}

.about p {
  margin-bottom: 1rem;
  color: #333;
}

.about ul {
  margin: 1rem 0 0 1.5rem;
  color: #333;
}

/* -------------------------------------
 *  Направления работ – сетка карточек
 - *------------------------------------ */
.services-grid-section {
  padding: 5rem 0;
  background: #f5f5f5;
}

.section-title {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 3rem;
  color: #000;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
}

.service-card {
  background: #fff;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0,0,0,0.05);
  transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.1);
}

.service-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.3s;
}

.service-card:hover img {
  transform: scale(1.02);
}

.service-card h3 {
  padding: 1.2rem 1.2rem 0.5rem;
  font-size: 1.3rem;
  color: #000;
}

.service-card p {
  padding: 0 1.2rem 1.2rem;
  color: #555;
  line-height: 1.5;
}

/* -------------------------------------
 *  Catalog
 - *------------------------------------ */
.catalog {
  padding: 5rem 0;
  background: #fff;
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
}

.equipment-card {
  background: #fff;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0,0,0,0.05);
  transition: transform 0.2s, box-shadow 0.2s;
}

.equipment-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.1);
}

.equipment-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.3s;
}

.equipment-card:hover img {
  transform: scale(1.02);
}

.equipment-card h3 {
  padding: 1rem 1rem 0;
  font-size: 1.2rem;
  color: #000;
}

.equipment-card ul {
  padding: 0.5rem 1rem 1rem;
  list-style: none;
  color: #555;
}

.equipment-card li {
  margin-bottom: 0.3rem;
  font-size: 0.9rem;
  position: relative;
  padding-left: 1.2rem;
}

.equipment-card li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #D4AF37;
  font-weight: bold;
}

/* -------------------------------------
 *  Contacts (тёмный фон, белый текст, одинаковый размер с картой)
 - *------------------------------------ */
.contacts {
  padding: 5rem 0;
  background: #111;
}

.contacts .section-title {
  color: #fff;
}

.contacts-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: stretch;
}

.contact-info {
  background: #1a1a1a;
  border-radius: 24px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.8rem;
}

.contact-item i {
  width: 28px;
  font-size: 1.3rem;
  color: #D4AF37;
  margin-top: 0.2rem;
}

.contact-item div {
  flex: 1;
}

.contact-label {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #aaa;
  margin-bottom: 0.25rem;
}

.contact-item a,
.contact-item span {
  color: #fff;
  text-decoration: none;
  font-size: 1.1rem;
  transition: color 0.2s;
  line-height: 1.4;
  display: inline-block;
}

.contact-item a:hover {
  color: #D4AF37;
}

.map {
  border-radius: 24px;
  overflow: hidden;
  height: 100%;
  min-height: 280px;
}

.map iframe {
  width: 100%;
  height: 100%;
  min-height: 280px;
  border: none;
  display: block;
}

/* -------------------------------------
 *  Footer
 - *------------------------------------ */
.footer {
  background: #0a0a0a;
  color: #ccc;
  text-align: center;
  padding: 1.5rem 0;
  font-size: 0.9rem;
}

/* -------------------------------------
 *  Telegram Button
 - *------------------------------------ */
.telegram-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: #000;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 2rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  transition: transform 0.2s;
  z-index: 999;
  text-decoration: none;
  border: 1px solid #D4AF37;
}

.telegram-btn:hover {
  transform: scale(1.05);
  color: white;
}

/* -------------------------------------
 *  Cookie Banner
 - *------------------------------------ */
.cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background: #fff;
  padding: 1rem 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  z-index: 1000;
  border: 1px solid #e0e0e0;
}

.cookie-banner p {
  margin: 0;
  font-size: 0.9rem;
  color: #333;
}

.cookie-banner a {
  color: #D4AF37;
  text-decoration: underline;
}

.cookie-banner button {
  background: #000;
  color: #fff;
  border: 1px solid #D4AF37;
  padding: 0.5rem 1.2rem;
  border-radius: 40px;
  cursor: pointer;
  font-weight: 500;
  transition: 0.2s;
}

.cookie-banner button:hover {
  background: #222;
}

@media (max-width: 768px) {
  .cookie-banner {
    flex-direction: column;
    text-align: center;
  }
  .contacts-grid {
    grid-template-columns: 1fr;
  }
  .hero-title {
    font-size: 2rem;
  }
  .hero-text-box {
    padding: 1.5rem;
  }
  .contact-item {
    flex-direction: column;
    gap: 0.5rem;
  }
  .contact-item i {
    margin-top: 0;
  }
}
