/* ====== БАЗОВЫЕ ПЕРЕМЕННЫЕ ====== */
:root {
  --bg: #0f1620;
  --text: #e6eefc;
  --muted: #9bb3d6;
  --card: #151c27;
  --accent: #2a95ff;
  --accent-glow: rgba(42, 149, 255, 0.4);
}

/* ====== ГЛОБАЛЬНЫЕ СТИЛИ ====== */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Inter", "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  scroll-behavior: smooth;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.3s ease;
}
a:hover {
  color: #fff;
}

img {
  max-width: 100%;
  display: block;
}

/* ====== КОНТЕЙНЕР ====== */
.container {
  width: min(1100px, 92%);
  margin: 0 auto;
}

/* ====== ШАПКА ====== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(15, 22, 32, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 10px 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: var(--text);
  font-size: 1.05rem;
}
.brand-emblem {
  font-size: 1.4rem;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}
.nav a {
  color: var(--muted);
  padding: 6px 10px;
  border-radius: 6px;
  transition: background 0.3s;
}
.nav a:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
}

/* ====== КНОПКИ ====== */
.btn {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  border-radius: 10px;
  padding: 0.7rem 1.4rem;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
}
.btn:hover {
  box-shadow: 0 0 15px var(--accent-glow);
  transform: translateY(-2px);
}
.btn-outline {
  background: transparent;
  border: 1px solid var(--accent);
  color: var(--accent);
}
.btn-outline:hover {
  background: rgba(42, 149, 255, 0.1);
  box-shadow: 0 0 12px var(--accent-glow);
}
.btn-lg {
  font-size: 1rem;
  padding: 0.9rem 1.8rem;
}

/* ====== HERO ====== */
.hero {
  position: relative;
  background: #101722;
  padding: 70px 0 60px;
  text-align: left;
}
.hero-overlay {
  background: radial-gradient(circle at center, rgba(42, 149, 255, 0.1), transparent);
  position: absolute;
  inset: 0;
}
.hero-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  position: relative;
  z-index: 2;
}
.hero-text {
  flex: 1 1 480px;
}
.hero-text h1 {
  font-size: 2rem;
  line-height: 1.3;
}
.hero-text p {
  color: var(--muted);
  margin-top: 10px;
  margin-bottom: 25px;
}
.hero-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.hero-facts {
  list-style: none;
  margin: 25px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  color: var(--muted);
}
.hero-image {
  flex: 1 1 380px;
  text-align: center;
}

/* ====== СЕКЦИИ ====== */
.section {
  padding: 70px 0;
}
.section-alt {
  background: rgba(255, 255, 255, 0.02);
}
.section-title {
  text-align: center;
  font-size: 1.8rem;
  margin-bottom: 12px;
}
.section-subtitle {
  text-align: center;
  color: var(--muted);
  max-width: 700px;
  margin: 0 auto 40px;
  font-size: 1rem;
}

/* ====== НАПРАВЛЕНИЯ ====== */
.directions-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}
.direction-card {
  background: var(--card);
  border-radius: 14px;
  padding: 22px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.4);
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}
.direction-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 25px rgba(42, 149, 255, 0.2);
}
.direction-card .icon {
  font-size: 2rem;
  margin-bottom: 10px;
}

/* ====== ПРЕИМУЩЕСТВА ====== */
.advantages-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}
.adv-card {
  background: var(--card);
  border-radius: 14px;
  padding: 22px;
  text-align: center;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s, box-shadow 0.3s;
}
.adv-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 25px rgba(42, 149, 255, 0.2);
}
.adv-card .icon {
  font-size: 2rem;
  margin-bottom: 10px;
}

/* ====== ПРАВОВЫЕ ====== */
.legal-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}
.legal-item {
  background: var(--card);
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.4);
}
.legal-item h4 {
  color: var(--accent);
  margin-bottom: 10px;
}

/* ====== СПИСКИ ====== */
.list-check {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}
.list-check li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 8px;
}
.list-check li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: var(--accent);
}

/* ====== КЕЙСЫ ====== */
.cases-grid {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}
.case-card {
  background: var(--card);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s, box-shadow 0.3s;
}
.case-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 25px rgba(42, 149, 255, 0.25);
}
.case-content {
  padding: 18px;
}
.case-content h3 {
  margin-top: 0;
  color: var(--accent);
}

/* ====== ФОРМА ====== */
.request-grid {
  display: grid;
  gap: 30px;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  align-items: start;
}
.request-form {
  background: var(--card);
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.4);
}
.form-row {
  display: flex;
  flex-direction: column;
  margin-bottom: 14px;
}
.form-row label {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 5px;
}
.form-row input,
.form-row textarea {
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #0f1620;
  border-radius: 8px;
  color: var(--text);
  padding: 10px 12px;
  font-size: 0.95rem;
  outline: none;
  transition: border 0.3s;
}
.form-row input:focus,
.form-row textarea:focus {
  border-color: var(--accent);
}
.form-status {
  margin-top: 10px;
  font-size: 0.9rem;
}

/* ====== КАРТА ====== */
.map-section iframe {
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* ====== ФУТЕР ====== */
.site-footer {
  background: #151c27;
  padding: 60px 0 25px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.footer-grid {
  display: grid;
  gap: 25px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.footer-about h3 {
  margin-top: 0;
}
.footer-contacts ul,
.footer-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-contacts li,
.footer-nav li {
  margin-bottom: 6px;
}
.footer-contacts a,
.footer-nav a {
  color: var(--muted);
}
.footer-contacts a:hover,
.footer-nav a:hover {
  color: var(--accent);
}
.footer-buttons {
  margin-top: 10px;
  display: flex;
  gap: 8px;
}
.btn-social {
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 0.9rem;
}
.btn-social.tg {
  background: #2a95ff;
}
.btn-social.wa {
  background: #25d366;
}
.footer-bottom {
  margin-top: 30px;
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
}

/* ====== АДАПТИВ ====== */
@media (max-width: 768px) {
  .hero-grid {
    flex-direction: column-reverse;
    text-align: center;
  }
  .hero-text {
    flex: 1 1 auto;
  }
  .hero-buttons {
    justify-content: center;
  }
  .nav {
    display: none;
  }
  .burger {
    display: inline-block;
    background: none;
    border: none;
    cursor: pointer;
  }
  .burger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text);
    margin: 5px 0;
    transition: 0.3s;
  }
  .site-header.menu-open .nav {
    display: flex;
    flex-direction: column;
    gap: 10px;
    background: #151c27;
    width: 100%;
    padding: 15px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }
}
/* ====== КОМПЕТЕНЦИИ ====== */
.competence-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}
.competence-card {
  background: var(--card);
  border-radius: 14px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s, box-shadow 0.3s;
}
.competence-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 25px rgba(42, 149, 255, 0.2);
}
.competence-card .icon {
  font-size: 2rem;
  margin-bottom: 12px;
}
.competence-card h3 {
  margin: 0 0 10px;
  color: var(--accent);
}
.competence-card p {
  color: var(--muted);
  font-size: 0.95rem;
}
/* ====== ТЕХНИКА И ОБОРУДОВАНИЕ ====== */
.fleet-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.fleet-card {
  background: var(--card);
  border-radius: 14px;
  overflow: hidden;
  text-align: center;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s, box-shadow 0.3s;
}
.fleet-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 25px rgba(42, 149, 255, 0.25);
}

.fleet-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

.fleet-card h3 {
  margin: 12px 0 6px;
  color: var(--accent);
  font-size: 1.1rem;
}

.fleet-card p {
  color: var(--muted);
  font-size: 0.9rem;
  padding: 0 14px 16px;
  line-height: 1.5;
}
/* ====== ТЕХНИКА И ОБОРУДОВАНИЕ ====== */
.fleet-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.fleet-card {
  background: var(--card);
  border-radius: 14px;
  overflow: hidden;
  text-align: center;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s, box-shadow 0.3s;
}
.fleet-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 25px rgba(42, 149, 255, 0.25);
}

.fleet-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

.fleet-card h3 {
  margin: 12px 0 6px;
  color: var(--accent);
  font-size: 1.1rem;
}

.fleet-card p {
  color: var(--muted);
  font-size: 0.9rem;
  padding: 0 14px 16px;
  line-height: 1.5;
}
