/* === Общие настройки === */
body {
  margin: 0;
  padding: 0;
  font-family: 'Segoe UI', 'Roboto', 'Arial', sans-serif;
  background-color: #f8f9fa;
  color: #222;
  line-height: 1.6;
}
a {
  color: #0a2b45;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

/* === Контейнер === */
.container {
  
  
  max-width: 1200px;
  width: 100%;
  padding: 0 15px;
  margin: 0 auto;
  box-sizing: border-box;
  
}



/* === Меню и логотип === */
.site-header {
  background-color: #fff;
  padding: 1px 0;
  border-bottom: 1px solid #ddd;
  position: relative;     /* ← добавляем */
  z-index: 1000;          /* ← добавляем */
}
.header-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}
.logo img {
  height: 36px;
}
.main-menu ul {
  list-style: none;
  display: flex;
  margin: 0;
  padding: 0;
}
.main-menu li {
  margin-right: 12px;
}
.main-menu li:last-child {
  margin-right: 0;
}
.main-menu a {
  color: #0a2b45;
  font-weight: 500;
  text-decoration: none;
}
.main-menu a:hover {
  color: #e03131;
}

/* === Контактная панель === */
.contact-panel {
  text-align: right;
  font-size: 14px;
  line-height: 1.4;
  margin-left: 20px;
}
.contact-panel a {
  color: #0a2b45;
  text-decoration: none;
  display: inline-block;
  margin-bottom: 4px;
}

/* === Кнопки соцсетей === */
.social-buttons {
  margin-top: 10px;
  display: flex;
  gap: 10px;
}
.btn-social {
  display: inline-block;
  width: 32px;
  height: 32px;
  background-size: cover;
  background-position: center;
  border-radius: 50%;
  transition: transform 0.2s ease;
}
.btn-social:hover {
  transform: scale(1.1);
}
.btn-social.vk {
  background-image: url('/assets/img/icon-vk.svg');
}
.btn-social.tg {
  background-image: url('/assets/img/icon-tg.svg');
}



/* === Шапка и меню === */
.site-header {
  background-color: #fff;
  padding: 10px 0;
  border-bottom: 1px solid #ddd;
}
.header-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo img {
  height: 36px;
}
.main-menu ul {
  list-style: none;
  display: flex;
  margin: 0;
  padding: 0;
}
.main-menu li {
  margin-right: 12px;
}
.main-menu li:last-child {
  margin-right: 0;
}
.main-menu a {
  color: #0a2b45;
  font-weight: 500;
  text-decoration: none;
}
.main-menu a:hover {
  color: #e03131;
}
/* === Шапка Hero === */
.hero {
  position: relative; /* 🔥 добавь эту строку */
  margin: 0 auto;
  max-width: 1200px;
  background: url("/assets/img/business.jpg") no-repeat center center;
  background-size: cover;
  padding: 10px 0;
  text-align: center;
  color: #fff;
  border-bottom: 1px solid #ddd;
  z-index: 1;
}
.hero::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 0;
}
.hero .container {
  position: relative;
  max-width: 1200px;
  z-index: 2;
}
.hero-title {
  font-size: 2.5rem;
  margin-bottom: 20px;
}
.hero-subtitle {
  font-size: 2rem;
  margin: 0 auto 30px auto;
}
.btn-red {
  display: inline-block;
  background-color: #e03131;
  color: #fff;
  padding: 12px 24px;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.3s ease;
}
.btn-red:hover {
  background-color: #c92a2a;
}

/* === Двухколоночный блок О компании === */
.about-top {
  padding: 20px 0;
  background-color: #fff;
}
.about-top-wrapper {
  display: flex;
  flex-wrap: wrap;
  
  align-items: center;
}
.about-top-image,
.about-top-info {
  flex: 1 1 50%;
}
.about-top-image img {
  width: 90%;
  height: auto;
  border-radius: 12px;
}
.about-top-info h2 {
  font-size: 28px;
  margin-bottom: 20px;
}
.about-top-info p {
  font-size: 16px;
  margin-bottom: 20px;
}
.about-top-info ul {
  padding-left: 20px;
  margin-bottom: 20px;
}
.about-top-info li {
  margin-bottom: 8px;
}

/* === Преимущества и услуги === */
.features, .services {
  padding: 60px 20px;
}
.features {
  background-color: #ffffff;
}
.services {
  background-color: #f1f3f5;
}
.feature, .service {
  background-color: #e7f5ff;
  padding: 16px;
  border-radius: 8px;
  margin-bottom: 16px;
  font-weight: 500;
}

/* === Новости === */
.news {
  background-color: #fff3f3;
}
.news-text {
  font-size: 1.1rem;
  background: #ffe3e3;
  padding: 20px;
  border-radius: 6px;
  margin-top: 10px;
}
.main-news {
  background-color: #f9fafb;
  padding: 20px 20px;
}
.main-news-title {
  text-align: center;
  font-size: 28px;
  margin-bottom: 40px;
}
.news-columns {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
}
.news-item {
  flex: 1 1 30%;
  background: #ffffff;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.news-item h3 {
  font-size: 18px;
  margin-bottom: 10px;
}
.news-item p {
  font-size: 14px;
  color: #444;
}
@media (max-width: 768px) {
  .news-columns {
    flex-direction: column;
  }
  .news-item {
    flex: 1 1 100%;
  }
}
/* === Кейсы === */
.cases ul {
  padding-left: 20px;
}
.cases li {
  margin-bottom: 10px;
  list-style-type: "✔ ";
}

/* === Форма === */
.contact {
  background-color: #e7f5ff;
  padding: 60px 20px;
}
.contact-heading {
  text-align: center;
  margin-bottom: 10px;
  font-size: 28px;
}
.contact-subheading {
  text-align: center;
  margin-bottom: 30px;
  font-size: 16px;
}
.contact-form {
  max-width: 600px;
  margin: 0 auto;
  scroll-margin-top: 100px;
}
.contact-form input,
.contact-form textarea {
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 16px;
  width: 100%;
  display: block;
  margin-bottom: 15px;
}
.contact-form textarea {
  min-height: 120px;
  resize: vertical;
}
.contact-form button {
  background-color: #e03131;
  color: #fff;
  border: none;
  padding: 12px 20px;
  font-size: 16px;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s ease;
}
.contact-form button:hover {
  background-color: #c92a2a;
}
.form-success {
  color: green;
  text-align: center;
}
.form-error {
  color: red;
  text-align: center;
}


.about-video {
  padding: 60px 20px;
  background-color: #f1f3f5;
  text-align: center;
}
.video-heading {
  font-size: 26px;
  margin-bottom: 20px;
}
.video-wrapper {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.1);
}
.about-video video {
  width: 100%;
  display: block;
}
.video-button-wrapper {
  margin-top: 20px;
}
.btn-play {
  background-color: #e03131;
  color: white;
  font-size: 16px;
  padding: 12px 24px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s ease;
}
.btn-play:hover {
  background-color: #c92a2a;
}

/* Плавное появление */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 1s ease-out forwards;
  animation-delay: 0.3s;
}
@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* === Подвал === */
footer {
  background-color: #0a2b45;
  color: #fff;
  text-align: center;
  padding: 30px 20px;
  font-size: 14px;
}


.contact-panel {
  text-align: right;
  font-size: 14px;
  line-height: 1.4;
}
.contact-panel a {
  color: #0a2b45;
  text-decoration: none;
}
.contact-panel a:hover {
  text-decoration: underline;
}


.btn-red, .btn-green {
  padding: 12px 24px;
  border-radius: 6px;
  color: #fff;
  font-weight: 500;
  text-decoration: none;
  display: inline-block;
  transition: background 0.3s ease;
}
.btn-red {
  background-color: #e03131;
}
.btn-red:hover {
  background-color: #c92a2a;
}
.btn-green {
  background-color: #0FBEB9;
}
.btn-green:hover {
  background-color: #2870F6;
}



/* === Видео и партнёры === */
.about-video {
  padding: 40px 0;
  background-color: #f1f3f5;
}
.video-wrapper iframe {
  border-radius: 8px;
  max-width: 100%;
}
.about-partners {
  padding: 40px 0;
  background: #f8f9fa;
  text-align: center;
}
.partners-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  padding: 10px 0;
  align-items: center;
  margin-top: 20px;
}
.partners-logos img {
  height: 60px;
  max-width: 180px;
}

.clients-section {
  padding: 60px 20px;
  background-color: #f9f9f9;
}
.clients-title {
  text-align: center;
  font-size: 28px;
  margin-bottom: 40px;
}
.clients-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
.client-card {
  width: 45%;
  background-color: #fff;
  border-radius: 12px;
 
  margin-bottom: 30px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 20px;
}
.client-card img {
  height: 70px;
  width: auto;
  object-fit: contain;
  display: block;
  margin-bottom: 10px;
}
.client-card h3 {
  font-size: 18px;
  margin: 10px 0 5px;
}
.client-card p {
  font-size: 14px;
  color: #444;
}

.experience-section {
  padding: 60px 20px;
  background-color: #f9f9f9;
}
.experience-title {
  text-align: center;
  font-size: 28px;
  margin-bottom: 40px;
}
.experience-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  
}


.experience-card {
  width: 45%;
  background-color: #fff;
  border-radius: 12px;
 
  margin-bottom: 30px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 20px;
}

.experience-card:hover {
  transform: translateY(-5px);
}
.experience-card img {
  
  margin-bottom: 15px;
  max-width: 100%;
  height: auto;
  display: block;
}
.experience-card h3 {
  font-size: 20px;
  margin-bottom: 10px;
}
.experience-card p {
  font-size: 15px;
  margin-bottom: 10px;
}
.experience-card ul {
  margin-top: 15px;
  padding-left: 20px;
}
.experience-card ul {
  padding-left: 20px;
  margin-bottom: 20px;
}
.experience-card li {
  margin-bottom: 6px;
}
.experience-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 25px;
}
@media (max-width: 768px) {
  .client-card {
    width: 100%;
    height: auto;
  }
}

@media (max-width: 768px) {
  .clients-grid {
    grid-template-columns: 1fr;
  }
  .client-card {
    height: auto;
  }
}


/* === Бургер-меню === */
.burger {
  display: none;
  font-size: 26px;
  background: none;
  border: none;
  color: #0a2b45;
  cursor: pointer;
}
@media (max-width: 768px) {
  .header-wrapper {
    flex-direction: column;
    align-items: flex-start;
  }
  .main-menu ul {
    flex-direction: column;
    width: 100%;
    margin-top: 15px;
  }
  .main-menu li {
    margin-right: 0;
    margin-bottom: 10px;
  }
  .main-menu li:last-child {
    margin-bottom: 0;
  }
  .main-menu a {
    font-size: 18px;
  }
  .logo img {
    height: 40px;
  }
  .hero {
    padding: 50px 15px;
  }
  .hero-title {
    font-size: 2rem;
  }
  .hero-subtitle {
    font-size: 1rem;
  }
  .about-top-wrapper {
    flex-direction: column;
  }
  .about-top-image,
  .about-top-info {
    flex: 1 1 100%;
  }
  .burger {
    display: block;
  }
  .main-menu {
    display: none;
    width: 100%;
  }
  .main-menu.open {
    display: block;
    margin-top: 10px;
  }
}
@media (max-width: 768px) {
  .experience-card {
    width: 100% !important;
  }
  .experience-card h3,
  .experience-card p,
  .experience-card ul {
    text-align: left;
  }
}

.partners-section {
  padding: 60px 20px;
  max-width: 1200px;
  margin: auto;
  text-align: center;
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.partner-card {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  transition: box-shadow 0.3s;
}

.partner-card:hover {
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.partner-logo img {
  max-width: 120px;
  max-height: 80px;
  object-fit: contain;
  margin-bottom: 15px;
}

.partner-info h3 {
  font-size: 1.2em;
  margin-bottom: 10px;
}

.partner-info p {
  font-size: 0.95em;
  color: #555;
  min-height: 60px;
}

.partner-link {
  display: inline-block;
  margin-top: 10px;
  color: #007bff;
  text-decoration: underline;
}


