@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&display=swap');

:root {
  --dark: #0b1020;
  --blue: #2f80ed;
  --gray: #8f96b3;
  --light: #f6f8fc;
  --hero-img: url("https://images.unsplash.com/photo-1520607162513-77705c0f0d4a");
  --service-img: url("https://images.unsplash.com/photo-1552664730-d307ca884978");
  --about-img: url("https://images.unsplash.com/photo-1507679799987-c73779587ccf");
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Inter', sans-serif; }

body { background: var(--light); color: #1b1f36; overflow-x: hidden; }

/* === NAVIGATION === */
nav {
  position: absolute; top: 0; left: 0; width: 100%;
  padding: 5px 10px;
  display: flex; justify-content: space-between; align-items: center;
  z-index: 100;
}
/* nav strong { color: white; font-size: 1.2rem; letter-spacing: 0.05em; text-transform: uppercase; }  */

 /* --- ЛОГОТИП В НАВИГАЦИИ --- */

/* Ссылка-обертка для логотипа */
.logo-link {
  display: flex;
  align-items: center;
  /* Переопределяем стандартные отступы ссылок в меню для логотипа */
}
nav a.logo-link {
    margin: 0; /* Убираем боковые отступы, чтобы лого было слева */
}

/* Сама картинка логотипа */
.nav-logo {
  height: 140px; /* Высота логотипа. Отрегулируйте это число под вашу картинку, если нужно (например, 50px или 90px) */
  width: auto;  /* Сохраняет пропорции */
  object-fit: contain;
  display: block;
  transition: opacity 0.3s;
}

.logo-link:hover .nav-logo {
    opacity: 0.9; /* Небольшой эффект при наведении */
}

/* Адаптив для мобильных */
@media(max-width: 768px) {
  .nav-logo {
    height: 75px; /* Чуть меньше на телефонах */
  }
}
nav div { display: flex; align-items: center; }
nav a { color: rgba(255, 255, 255, 0.75); margin: 0 15px; text-decoration: none; font-weight: 500; font-size: 0.95rem; transition: color 0.3s; }
nav a:hover { color: white; }

.lang button {
  background: transparent; border: 1px solid rgba(255,255,255,0.3);
  color: white; padding: 6px 12px; border-radius: 30px; margin-left: 10px;
  cursor: pointer; transition: all 0.3s; font-size: 0.75rem;
}
.lang button:hover { background: rgba(255,255,255,0.1); }

/* === FULLSCREEN & HEADER === */
.fullscreen {
  min-height: 100vh; width: 100%;
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  text-align: center; position: relative;
  background-size: cover !important; background-position: center !important; background-attachment: fixed !important;
  color: white; padding: 100px 20px;
}
/* Затемнение */
.fullscreen::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(135deg, rgba(11,16,32,0.85), rgba(11,16,32,0.6));
  z-index: 1;
}

.hero { position: relative; z-index: 2; max-width: 900px; }
.hero h1 { font-size: 3.5rem; margin-bottom: 25px; font-weight: 600; letter-spacing: -0.02em; }
.hero p { color: #d5d9f0; font-size: 1.15rem; line-height: 1.6; max-width: 700px; margin: 0 auto; }

.btn {
  display: inline-block; margin-top: 35px; padding: 16px 40px;
  border-radius: 50px; background: var(--blue); color: white;
  text-decoration: none; font-weight: 500; transition: all 0.3s;
  box-shadow: 0 10px 20px rgba(47, 128, 237, 0.3);
}
.btn:hover { transform: translateY(-3px); box-shadow: 0 15px 30px rgba(47, 128, 237, 0.4); }

/* === SECTION & LAYOUT FIX === */
/* Секция растягивается на всю ширину (для фона) */
.section {
  width: 100%;
  padding: 100px 20px;
  position: relative;
}

/* А вот контент внутри секции центрируется и не разъезжается */
.section > div, .grid {
  max-width: 1200px; /* Ограничиваем ширину контента */
  margin: 0 auto;    /* Центрируем блок */
  width: 100%;
}

/* Сетка для карточек */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 40px;
}

/* Стиль карточек */
.card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 20px; padding: 40px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(255,255,255,0.3);
  transition: transform 0.3s;
}
.card:hover { transform: translateY(-5px); }

.card h2 { font-size: 1.4rem; margin-bottom: 20px; color: var(--dark); border-bottom: 2px solid var(--light); padding-bottom: 15px; }
.card h3 { font-size: 1.1rem; margin: 25px 0 10px; color: var(--blue); }
.card p, .card li { color: #555; line-height: 1.7; font-size: 0.95rem; margin-bottom: 15px; }
.card ul { list-style: none; padding-left: 0; }
.card li { padding-left: 20px; position: relative; }
.card li::before { content: "•"; color: var(--blue); position: absolute; left: 0; font-weight: bold; }

/* Лицензионная таблица */
.data-row { display: flex; justify-content: space-between; border-bottom: 1px solid #eee; padding: 12px 0; }
.data-row:last-child { border-bottom: none; }
.data-label { font-weight: 500; color: var(--dark); }
.data-value { color: #666; text-align: right; }

/* === ОСОБЫЙ ФОН ДЛЯ ABOUT === */
/* Этот класс делает бесшовный фон как в шапке */
.about-section-bg {
  background:
    linear-gradient(rgba(11,16,32,0.85), rgba(11,16,32,0.95)),
    var(--about-img) center/cover no-repeat fixed; /* Фиксированный фон */
  box-shadow: inset 0 50px 50px -50px rgba(0,0,0,0.5); /* Тень сверху */
}

/* Footer */
footer { background: var(--dark); color: var(--gray); text-align: center; padding: 60px 20px; font-size: 0.9rem; }

/* Animations */
.reveal { opacity: 0; transform: translateY(30px); transition: all 0.8s cubic-bezier(0.5, 0, 0, 1); }
.reveal.active { opacity: 1; transform: translateY(0); }

/* Mobile */
@media(max-width: 768px) {
  nav { flex-direction: column; padding: 20px; background: rgba(11,16,32,0.95); position: fixed; }
  nav div { margin-top: 15px; flex-wrap: wrap; justify-content: center; }
  .hero h1 { font-size: 2.2rem; }
  .fullscreen { padding-top: 140px; }
}
/* assets/style.css - Добавьте в конец */

/* --- СТИЛИ ДЛЯ ФОРМЫ КОНТАКТОВ --- */
.contact-wrapper {
  background: white;
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.05);
}

.contact-form label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: var(--dark);
  font-size: 0.95rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px 20px;
  margin-bottom: 20px;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  background: #f8f9fc;
  font-size: 1rem;
  transition: all 0.3s;
  outline: none;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--blue);
  background: white;
  box-shadow: 0 0 0 4px rgba(47, 128, 237, 0.1);
}

.contact-form textarea {
  resize: vertical; /* Разрешить растягивать только по вертикали */
  min-height: 120px;
}

.contact-form button {
  width: 100%;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  margin-top: 10px;
}