* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', sans-serif;
}

body {
  background: #eef2f7;
  color: #222;
  line-height: 1.5;
}

html, body {
  height: 100%;
  display: flex;
  flex-direction: column;
}
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* Хедер */
.header {
  background: #1c2b3a;
  color: #fff;
  padding: 15px 0;
}
.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo {
  display: flex;
  align-items: center;
  font-size: 1.3rem;
  font-weight: 700;
}
.logo img {
  width: 120px;
  margin-right: 10px;
}
.phone {
  font-weight: 600;
  font-size: 0.95rem;

}


.footer {
  background: #1c2b3a;
  color: #aaa;
  text-align: center;
  padding: 25px 0;
  font-size: 0.95rem;
  margin-top: auto;
}


.about {
  flex: 1;
  padding: 8px 0;
  background: #eef2f7;
  color: #333;
}

.about h2 {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 10px;
}

.about p {
  max-width: 1000px;
  margin: 15px auto;
  font-size: 1rem;
  line-height: 1.8;
  text-align: justify;
  text-indent: 30px;
}

.about ul {
  max-width: 1000px;
  margin: 10px auto;
  padding-left: 20px;
  text-align: left;
  list-style: disc;
}

.about li {
  margin-bottom: 8px;
  font-size: 1rem;
}

.about {
  padding: 40px 0;
  background: #eef2f7;
}


.about-wrapper h2 {
    text-align: center;
}

.about-text {
  flex: 1 1 55%;
}


.nav ul {
  list-style: none;
  display: flex;
  gap: 50px;
  margin-left: -10px;
}

.nav a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s;
}




.wrapper {
  margin-bottom: 30px; 
}

.container.cards {
  display: flex;
  gap: 20px;
  justify-content: center;
}


.btn {
  padding: 15px 30px;
  border: none;
  border-radius: 20px; 
  font-size: 18px;
  cursor: pointer;
  background-color: #113b57; 
  color: white;
  transition: 0.3s;
  width: max-content;
  min-width: 200px;
}

.btn:hover {
  background-color: #2980b9; 
}

.nav a:hover {
  color: #4da6ff; 
}


/* 📱 Планшеты */
@media (max-width: 992px) {
  .header .container {
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    text-align: center;
  }

  .nav ul {
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .phone {
    font-size: 1rem;
  }
}

/* 📱 Телефоны */
@media (max-width: 590px) {
  .logo img {
    width: 90px;
  }

  .nav ul {
    flex-direction: column;
    gap: 10px;
  }

}

/* Гамбургер и анимация меню */
.nav-toggle {
  display: none;
}

@media (max-width: 768px) {
  .nav-toggle {
    display: block;
    font-size: 1.8rem;
    color: #fff;
    margin-left: 15px;
    cursor: pointer;
    z-index: 1000;
  }

  .nav ul {
    flex-direction: column;
    gap: 15px;
    background: #1c2b3a;
    padding: 15px;
    position: absolute;
    top: 60px;
    right: 10px;
    border-radius: 10px;
    z-index: 999;

    /* плавное раскрытие */
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.4s ease, opacity 0.4s ease;
  }

  .nav.active ul {
    max-height: 400px;
    opacity: 1;
  }
}