@font-face {
  font-family: 'Montserrat';
  src: url('assets/Montserrat-Regular.woff2') format('woff2'),
       url('assets/Montserrat-Regular.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Montserrat';
  src: url('assets/Montserrat-Bold.woff2') format('woff2'),
       url('assets/Montserrat-Bold.woff') format('woff');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* Сброс отступов и стандартных стилей браузера */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth; /* плавный скролл при переходе по якорям меню */
}
body {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #333;               /* основной цвет текста (темно-серый/чёрный) */
  background-color: #fff;    /* фоновый цвет страницы (белый) */
}

/* Общие типографические стили для заголовков */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: #111;
}
h1 { font-size: 3em; line-height: 1.2; margin-bottom: 0.5em; }
h2 { font-size: 2em; margin-bottom: 0.5em; }
h3 { font-size: 1.25em; margin-bottom: 0.5em; }
p {
  margin-bottom: 1em;
}
a {
  color: #0066cc;           /* ссылки – синие (акцентный цвет) */
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

/* Контейнер для центрирования и ограничения ширины содержимого */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

/* Header (шапка сайта) и навигация */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: #ffffffcc; /* слегка прозрачный белый фон */
  backdrop-filter: blur(5px);
  z-index: 1000;
  border-bottom: 1px solid #eee;
}
.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}
.logo {
  font-size: 1.5em;
  font-weight: 700;
}
/* Навигационное меню */
.nav ul {
  list-style: none;
  display: flex;
  gap: 30px;
}
.nav a {
  font-weight: 500;
  transition: color 0.3s;
}
.nav a:hover {
  color: #004999;
}
/* Иконка гамбургера (мобильное меню) */
.hamburger {
  display: none;  /* скрыта на десктопе, видна на мобиле */
  flex-direction: column;
  cursor: pointer;
}
.hamburger span {
  display: block;
  width: 25px;
  height: 3px;
  background: #111;
  margin: 4px 0;
  transition: 0.4s;
}
/* Превращение гамбургера в крестик при открытии */
.hamburger.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.open span:nth-child(2) {
  opacity: 0;
}
.hamburger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Hero Section */
.hero {
  background: #f5f5f5; /* светло-серый фон для контраста (можно заменить/убрать) */
  padding: 120px 0 80px; /* отступ сверху увеличен, т.к. header фиксированный */
  text-align: center;
}
.hero-container h1 {
  color: #111;
}
.hero-container .subtitle {
  font-size: 1.125em;
  color: #555;
}

/* About Section */
.about {
  padding: 80px 0;
}
.about-container h2 {
  text-align: center;
  margin-bottom: 1em;
}
.about-content {
  font-size: 1em;
  color: #333;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}
.about-content p + p {
  margin-top: 1em;
}

/* Highlight (e.g., 300% metric) */
.highlight {
  background: #111;
  color: #fff;
  text-align: center;
  padding: 60px 20px;
}
.highlight h2 {
  font-size: 4em;
  margin-bottom: 0.2em;
}
.highlight p {
  font-size: 1.25em;
}

/* Principles Section */
.principles {
  background: #f9f9f9;
  padding: 80px 0;
}
.principles-container h2 {
  text-align: center;
  margin-bottom: 2em;
}
.principle-items {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}
.principle-item {
  flex: 1;
  text-align: center;
  padding: 20px;
}
.principle-item .icon {
  width: 60px;
  height: 60px;
  margin-bottom: 15px;
  color: #0066cc; /* иконки окрашены в фирменный цвет */
}
.principle-item h3 {
  margin-bottom: 0.5em;
}
.principle-item p {
  font-size: 0.95em;
  color: #555;
}

/* Services Section */
.services {
  padding: 80px 0;
}
.services-container h2 {
  text-align: center;
  margin-bottom: 2em;
}
.service {
  margin-bottom: 2em;
}
.service h3 {
  color: #111;
  margin-bottom: 0.5em;
}
.service p, .service ul, .service ol {
  margin-bottom: 1em;
  color: #333;
}
.service ul, .service ol {
  padding-left: 1.2em;
}
.service ul li, .service ol li {
  margin-bottom: 0.5em;
}
.service ol li {
  /* Нумерованный список: выделяем номер жирным (как в тексте оригинала) */
  margin-bottom: 0.5em;
}
.service ol li strong {
  color: #111;
}
.service-highlight {
  background: #f5f5f5;
  padding: 20px;
  text-align: center;
  margin-top: 40px;
}
.service-highlight h3 {
  font-size: 1.5em;
  margin-bottom: 0.5em;
}
.service-highlight p {
  color: #555;
}

/* Why Work With Us Section */
.why-us {
  background: #f9f9f9;
  padding: 80px 0;
}
.whyus-container h2 {
  text-align: center;
  margin-bottom: 2em;
}
.whyus-items {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}
.whyus-item {
  flex: 1;
  background: #fff;
  padding: 20px;
  text-align: center;
  border: 1px solid #eee;
  border-radius: 4px;
}
.whyus-item .num {
  font-size: 1.5em;
  color: #0066cc;
  margin-right: 5px;
}
.whyus-item h3 {
  font-size: 1.2em;
  margin-bottom: 0.5em;
}
.whyus-item p {
  color: #555;
  font-size: 0.95em;
}

/* FAQ Section */
.faq {
  padding: 80px 0;
}
.faq-container h2 {
  text-align: center;
  margin-bottom: 1em;
}
.faq-intro {
  text-align: center;
  margin-bottom: 2em;
  color: #555;
}
.faq-item {
  max-width: 800px;
  margin: 0 auto 1em auto;
  border-bottom: 1px solid #eee;
}
.question {
  font-weight: 700;
  cursor: pointer;
  padding: 0.75em 0;
  position: relative;
}
.question::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-weight: 700;
  font-size: 1.2em;
}
.question.open::after {
  content: "–";
}
.answer {
  display: none;
  padding: 0.5em 0 1em 0;
}
.answer.open {
  display: block;
}
.answer p {
  color: #333;
}

/* Quote Section */
.quote-section {
  background: #0066cc;
  color: #fff;
  padding: 60px 20px;
  text-align: center;
}
.quote {
  margin-bottom: 1em;
}
.quote-text {
  font-size: 1.5em;
  font-weight: 700;
  margin-bottom: 0.5em;
}
.quote-author {
  font-size: 1em;
  font-weight: 500;
}
.quote-note {
  font-size: 1.2em;
  font-style: italic;
}

/* Contact Section */
.contact {
  padding: 80px 0;
  background: #f9f9f9;
}
.contact-container h2 {
  text-align: center;
  margin-bottom: 0.5em;
}
.contact-call {
  text-align: center;
  font-size: 1.25em;
  margin-bottom: 2em;
}
.contact-form {
  max-width: 500px;
  margin: 0 auto 40px auto;
}
.form-row {
  margin-bottom: 1em;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.5em;
  font-size: 1em;
  font-family: 'Montserrat', sans-serif;
  border: 1px solid #ccc;
  border-radius: 3px;
}
.contact-form button.btn {
  width: 100%;
  padding: 0.75em;
  font-size: 1em;
  font-weight: 700;
  background: #0066cc;
  color: #fff;
  border: none;
  border-radius: 3px;
  cursor: pointer;
  transition: background 0.3s;
}
.contact-form button.btn:hover {
  background: #004999;
}
/* Contact info (address, email) */
.contact-info {
  text-align: center;
  font-size: 0.95em;
  color: #333;
}
.contact-info p {
  margin-bottom: 0.5em;
}
.contact-info a {
  color: #0066cc;
}
.contact-info a:hover {
  text-decoration: underline;
}

/* Footer */
.footer {
  background: #111;
  color: #fff;
  padding: 20px 0;
  text-align: center;
}
.footer-container p {
  font-size: 0.9em;
}
.footer-container a {
  color: #fff;
  text-decoration: none;
}
.footer-container a:hover {
  text-decoration: underline;
}

/* Анимации появления при скролле */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.animate-on-scroll.visible {
  opacity: 1;
  transform: none;
}

/* Адаптивность: мобильные устройства */
@media (max-width: 768px) {
  /* Выравнивание текста и размеров для мобильных */
  .hero {
    padding: 100px 20px 60px;
  }
  .hero-container h1 {
    font-size: 2.2em;
  }
  .about-content {
    text-align: left;
  }
  .principle-items, .whyus-items {
    flex-direction: column;
    align-items: center;
  }
  .principle-item, .whyus-item {
    width: 100%;
    margin-bottom: 2em;
  }
  .whyus-item {
    padding: 15px;
  }
  .nav ul {
    /* Вертикальное меню на мобильном (по умолчанию скрыто через .nav { display: none } ) */
    flex-direction: column;
    background: #fff;
    position: absolute;
    top: 60px;
    right: 0;
    width: 200px;
    border: 1px solid #ddd;
    display: none;
  }
  .nav.open ul {
    display: flex;
  }
  .nav ul li {
    padding: 10px;
    border-bottom: 1px solid #eee;
  }
  .hamburger {
    display: flex;
  }
  /* Увеличение кликабельной области гамбургера */
  .hamburger {
    padding: 10px;
  }
}