* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

:root {
  --main-blue: #1a3668; /* Цвет из логотипа */
  --light-gray: #f4f7f9;
  --white: #ffffff;
}

body {
  margin: 0;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

/* Стили для маленьких подписей или данных в цифрах */
.small-text {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
  color: #888;
}

.site-header {
  background-color: var(--white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  padding: 15px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
}

.logo img {
  height: 50px; /* Настройте высоту под ваш файл */
  display: block;
  width: 300px;
}

.main-nav ul {
  list-style: none;
  display: flex;
  gap: 30px;
  margin: 0;
  padding: 0;
}

.main-nav a {
  text-decoration: none;
  color: var(--main-blue);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 14px;
  transition: color 0.3s;
}

.main-nav a:hover {
  color: #3b5ba0;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.phone {
  text-decoration: none;
  color: var(--main-blue);
  font-weight: 700;
}

.btn-quote {
  background-color: var(--main-blue);
  color: white;
  padding: 12px 24px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s;
}

.btn-quote:hover {
  background-color: #0d2146;
}

/* Мобильная адаптация */
@media (max-width: 768px) {
  .main-nav,
  .phone {
    display: none; /* Скрываем меню на телефонах (нужно добавить "бургер") */
  }
  .container {
    justify-content: center;
    flex-direction: column;
    gap: 15px;
  }
}

.home-hero {
  position: relative;
  min-height: 80vh; /* Секция на 80% высоты экрана */
  display: flex;
  align-items: center;
  background: url("image/port.jpg") no-repeat center center / cover; /* Замените на ваше фото */
  color: var(--white);
  overflow: hidden;
}

.home-hero {
  /* Путь к вашему файлу */
  background-image: url("image/port.jpg");

  /* Чтобы картинка не обрезалась некрасиво и заполняла блок */
  background-size: cover;

  /* Центрируем изображение */
  background-position: center;

  /* Запрещаем повтор (если картинка маленькая) */
  background-repeat: no-repeat;

  /* Фиксированный фон при скролле (эффект параллакса), по желанию */
  background-attachment: fixed;

  /* Минимальная высота блока, чтобы фото было видно */
  min-height: 100vh;
}

/* Затемнение фона для читаемости текста */
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    rgba(26, 54, 104, 0.9) 0%,
    rgba(26, 54, 104, 0.4) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 50px;
}

.hero-text h1 {
  font-size: 48px;
  line-height: 1.2;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.hero-text h1 span {
  color: rgb(17, 17, 127);
}

.hero-text p {
  font-size: 18px;
  max-width: 600px;
  margin-bottom: 30px;
  opacity: 0.9;
}

.hero-btns {
  display: flex;
  gap: 15px;
}

.btn-primary {
  background-color: white;
  color: #1a3668;
  padding: 15px 35px;
  text-decoration: none;
  font-weight: 700;
  border-radius: 4px;
  transition: 0.3s;
}

.btn-primary:hover {
  background: var(--light-gray);
}

/* Адаптив для мобильных */
@media (max-width: 992px) {
  .hero-content {
    flex-direction: column;
    text-align: center;
  }
  .hero-text h1 {
    font-size: 32px;
  }
  .hero-btns {
    justify-content: center;
  }
}

.about-section {
  padding: 100px 0;
  background-color: #fff;
}

.about-wrapper {
  display: flex;
  align-items: center;
  gap: 60px;
}

/* Стили для изображения */
.about-image {
  flex: 1;
  position: relative;
}

.about-image img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Стили для текста */
.about-content {
  flex: 1;
}

.section-title {
  font-size: 36px;
  color: #1a3668;
  margin-bottom: 25px;
  position: relative;
}

.section-title span {
  color: #1a3668;
  display: block;
}

.lead-text {
  font-size: 18px;
  font-weight: 600;
  color: #1a3668;
  margin-bottom: 20px;
}

.description {
  color: #666;
  line-height: 1.6;
  margin-bottom: 30px;
}

/* Адаптивность */
@media (max-width: 992px) {
  .about-wrapper {
    flex-direction: column;
    text-align: center;
  }
  .about-image {
    max-width: 500px;
    margin-bottom: 40px;
  }
  .experience-badge {
    right: 50%;
    transform: translateX(50%);
  }
  .about-features {
    justify-items: center;
  }
}

.services-profile.light-version {
  padding: 80px 0;
  /* Светлый, едва заметный градиент для объема */
  background: radial-gradient(circle at top right, #b2bdc8, #ffffff);
  color: #333;
}

.profile-card {
  background: rgba(244, 237, 237, 0.8);
  /* Мягкий блюр на светлом фоне */
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid #e1e8f0;
  border-radius: 16px;
  padding: 50px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
  max-width: 900px;
  margin: 0 auto;
}

.location-tag {
  color: #1a3668; /* Ваш синий */
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  border-bottom: 2px solid #555; /* Желтый акцент */
  padding-bottom: 4px;
}

.profile-header h2 {
  font-size: 32px;
  margin-top: 15px;
  color: #1a3668;
}

.text-content p {
  font-size: 17px;
  line-height: 1.7;
  color: #555;
  margin: 30px 0;
}

.units-wrapper h3 {
  font-size: 19px;
  color: #1a3668;
  margin-bottom: 20px;
}

/* Список строго вниз (в длину) */
.vertical-units-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column; /* Элементы один под другим */
  gap: 15px;
}

.vertical-units-list li {
  padding: 15px 20px;
  background: #f8f9fb;
  border-left: 4px solid #1a3668; /* Синяя полоса слева для стиля */
  border-radius: 0 8px 8px 0;
  font-weight: 500;
  color: #444;
  transition: transform 0.2s ease;
}

.vertical-units-list li:hover {
  transform: translateX(10px); /* Легкий интерактив при наведении */
  background: #f0f2f5;
}

/* Секция команды */
.team-section {
  padding: 100px 0;
  background-color: #ffffff;
}

/* Центрирование текстового блока */
.team-header {
  text-align: center; /* Текст по центру */
  max-width: 850px; /* Ограничиваем ширину для удобства чтения */
  margin: 0 auto 60px; /* Центрируем блок и делаем отступ до фото */
}

/* Красивый заголовок */
.title-highlight {
  font-size: 42px; /* Крупный размер */
  color: #1a3668;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 15px;
}

/* Акцентная линия под заголовком */
.title-underline {
  width: 60px;
  height: 4px;
  background-color: #555; /* Цвет линии */
  margin: 0 auto 30px; /* Центрируем линию */
  border-radius: 2px;
}

/* Оформление описания */
.subtitle {
  font-size: 19px;
  line-height: 1.8;
  color: #666; /* Мягкий серый цвет */
  font-weight: 400;
}

/* Адаптив для мобильных */
@media (max-width: 768px) {
  .title-highlight {
    font-size: 32px;
  }
}

/* Секция проектов */
.projects-section {
  padding: 100px 0;
  background-color: #f9fbfd; /* Легкий контрастный фон */
  border-top: 1px solid #edf2f7;
}

/* Центрированный блок контента */
.projects-info {
  max-width: 800px;
  margin: 0 auto;
  text-align: center; /* Центрируем заголовок и текст */
}

/* Стиль заголовка */
.projects-title {
  font-size: 38px;
  color: #1a3668;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  margin-bottom: 20px;
}

.projects-title span {
  color: #1a3668; /* Ваш фирменный синий */
}

/* Декоративная линия */
.accent-bar {
  width: 80px;
  height: 4px;
  background-color: #555; /* Желтый акцент для разнообразия */
  margin: 0 auto 35px;
  border-radius: 2px;
}

/* Стиль текста описания */
.projects-description {
  font-size: 20px;
  line-height: 1.8;
  color: #4a5568;
  font-weight: 400;
}

/* Адаптив для мобильных */
@media (max-width: 768px) {
  .projects-section {
    padding: 60px 20px;
  }
  .projects-title {
    font-size: 28px;
  }
  .projects-description {
    font-size: 17px;
  }
}

.contact-section {
  display: flex;
  justify-content: center;
  padding: 50px 20px;
  background-color: #f8fafc;
  font-family: "Arial", sans-serif;
}

.contact-card {
  display: flex;
  width: 100%;
  max-width: 900px;
  background: #ffffff;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

/* Левая панель */
/* Контейнер для логотипа (синий блок слева) */
.card-left-brand {
  flex: 1;
  background-color: #d6d8db; /* Ваш фирменный синий */
  display: flex;
  align-items: center; /* Центрирует лого по вертикали */
  justify-content: center; /* Центрирует лого по горизонтали */
  padding: 40px; /* Отступы от краев, чтобы лого не прилипало к границам */
  min-width: 300px; /* Минимальная ширина левой части */
}

/* Сама картинка логотипа */
.company-logo-img {
  width: 100%; /* Растягивается на всю доступную ширину */
  height: 100%; /* Растягивается на всю доступную высоту */
  max-width: 250px; /* Ограничение максимальной ширины, чтобы не было гигантским */
  max-height: 200px; /* Ограничение максимальной высоты */

  /* ГЛАВНОЕ СВОЙСТВО: */
  object-fit: contain; /* Картинка вписывается полностью, сохраняя пропорции, без обрезки */

  display: block;
}

/* Правая панель */
.card-right {
  flex: 1.6;
  padding: 60px 80px;
  display: flex;
  flex-direction: column; /* Выстраивает все в столбик */
}

.content-header h2 {
  font-size: 32px;
  color: #1a3668;
  margin: 0 0 10px 0;
}

.accent-line {
  width: 40px;
  height: 3px;
  background-color: #1a3668;
  margin-bottom: 40px;
}

/* Вертикальный стек информации */
.info-stack {
  display: flex;
  flex-direction: column; /* Элементы один под другим */
  gap: 30px; /* Расстояние между группами контактов */
}

.info-group p,
.info-group a {
  display: block;
  font-size: 16px;
  color: #4a5568;
  text-decoration: none;
  line-height: 1.6;
  margin-bottom: 2px;
}

.info-group a:hover {
  color: #1a3668;
}

/* Общий контейнер */
.info-stack {
  display: flex;
  flex-direction: column;
  gap: 25px; /* Расстояние между блоками */
  font-family: Arial, sans-serif;
  color: #555;
}

/* Группа: иконка + текст */
.info-group {
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

/* Настройка SVG иконок */
.info-group svg {
  width: 32px; /* Размер иконок */
  height: 32px;
  flex-shrink: 0;
  stroke: #777; /* Цвет линий как на фото */
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Контент внутри группы */
.info-content {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.info-content p,
.info-content a {
  margin: 0;
  text-decoration: none;
  color: #444;
  font-size: 15px;
  line-height: 1.4;
}

.info-content a:hover {
  color: #000;
  text-decoration: underline;
}

/* Адаптив для телефонов */
@media (max-width: 768px) {
  .contact-card {
    flex-direction: column;
  }
  .card-right {
    padding: 40px;
  }
}

.site-footer {
  background-color: #7181a0; /* Глубокий темно-синий из вашего примера */
  color: #ffffff;
  padding-top: 80px;
  font-family: "Montserrat", sans-serif;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Основная сетка футера */
.footer-main {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr; /* Логотип чуть шире, остальные колонки равны */
  gap: 40px;
  padding-bottom: 60px;
  align-items: flex-start; /* Выравнивание всех блоков по верхнему краю */
}

/* Стили логотипа */
.logo-title {
  font-size: 42px;
  font-weight: 800;
  margin: 0;
  line-height: 1;
}

.logo-subtitle {
  font-size: 11px;
  letter-spacing: 4px;
  color: #3b82f6; /* Акцентный синий */
  margin-top: 8px;
  text-transform: uppercase;
}

/* Метки заголовков (LOCATION, DIGITAL и т.д.) */
.info-label {
  display: block;
  font-size: 10px;
  letter-spacing: 1.5px;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 15px;
  text-transform: uppercase;
}

/* Текстовые блоки и ссылки */
.info-group {
  margin-bottom: 30px;
}

.footer-main p,
.footer-main a {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  line-height: 1.6;
  display: block;
  transition: color 0.3s;
}

.footer-main a:hover {
  color: #ffffff;
}

/* Принудительно сбрасываем стили для всех ссылок в контактах */
.info-content a {
  text-decoration: none;    /* Убирает подчеркивание */
  color: inherit;           /* Наследует цвет текста от родителя */
  font-family: inherit;      /* Наследует тот же шрифт, что у адреса */
  font-variant-numeric: tabular-nums; /* Делает цифры одной ширины (ровные колонки) */
}

/* Если хочешь, чтобы шрифт был точно как на картинке (без засечек) */
.info-group {
  font-family: 'Arial', sans-serif; 
  font-weight: 400;
}


/* НИЖНЯЯ ПАНЕЛЬ С КОПИРАЙТОМ */
.footer-bottom-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 25px 0;
  text-align: center; /* Центрируем копирайт */
}

.footer-bottom-bar p {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.3);
  margin: 0;
  letter-spacing: 0.5px;
}

/* Адаптивность для мобильных устройств */
@media (max-width: 992px) {
  .footer-main {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 50px;
  }
}
