/* css/style.css */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  background: #ffffff;
  color: #1a1f2c;
  line-height: 1.5;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ========== HEADER / NAVBAR (фиксированный) ========== */
.navbar {
  background-color: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
}

/* НОВАЯ ШАПКА (ДВЕ СТРОКИ) */
.navbar .container {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 16px 24px;
  max-width: 1280px;
  margin: 0 auto;
  width: 100%;
}

.navbar .container .navbar-top,
.navbar .container .navbar-bottom {
  width: 100%;
}

/* Верхняя строка: логотип слева, контакты справа */
.navbar-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.logo-link {
  text-decoration: none;
}

.logo-area {
  font-size: 20px;
  font-weight: 700;
  background: linear-gradient(135deg, #548DD4 0%, #3a6ea5 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.logo-small {
  font-size: 14px;
  font-weight: 400;
  color: #4a5568;
}

.navbar-contacts {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.navbar-contacts .btn-outline {
  font-size: 16px;
  font-weight: 600;
  padding: 8px 20px;
  border: 2px solid #548DD4;
  border-radius: 40px;
  color: #548DD4;
  text-decoration: none;
  transition: all 0.2s;
}

.navbar-contacts .btn-outline:hover {
  background: #548DD4;
  color: #fff;
}

.navbar-contacts img {
  width: 28px;
  height: 28px;
  transition: opacity 0.2s;
}

.navbar-contacts img:hover {
  opacity: 0.7;
}

/* Нижняя строка: меню по центру */
.navbar-bottom {
  display: flex;
  justify-content: center;
}

.nav-links {
  display: flex;
  gap: 32px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
}

.nav-links > a {
  text-decoration: none;
  font-weight: 500;
  color: #1e293b;
  transition: color 0.2s;
  font-size: 15px;
  padding: 4px 0;
  border-bottom: 2px solid transparent;
}

.nav-links > a:hover {
  color: #548DD4;
  border-bottom-color: #548DD4;
}

/* ========== ВЫПАДАЮЩИЕ МЕНЮ ========== */
.dropdown {
  position: relative;
  display: inline-block;
}

.dropbtn {
  background: none;
  border: none;
  font-weight: 500;
  color: #1e293b;
  font-size: 15px;
  cursor: pointer;
  font-family: inherit;
  padding: 4px 0;
  transition: color 0.2s;
  text-decoration: none;
  display: inline-block;
  border-bottom: 2px solid transparent;
}

.dropbtn:hover {
  color: #548DD4;
  border-bottom-color: #548DD4;
}

.dropdown-content {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #ffffff;
  min-width: 260px;
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.1);
  border-radius: 16px;
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
  z-index: 1001;
}

.dropdown:hover .dropdown-content {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-content a {
  color: #1e293b;
  padding: 10px 20px;
  text-decoration: none;
  display: block;
  font-size: 14px;
  transition: all 0.2s;
}

.dropdown-content a:hover {
  background-color: #e8f0fa;
  color: #548DD4;
}

.dropdown-category {
  padding: 8px 20px 4px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #94a3b8;
  pointer-events: none;
  border-top: 1px solid #f1f5f9;
}

.dropdown-category:first-of-type {
  border-top: none;
}

/* ========== ПОДМЕНЮ ВТОРОГО УРОВНЯ ========== */
.dropdown-sub {
  position: relative;
}

.dropdown-sub > a {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.dropdown-sub > a::after {
  content: "▶";
  font-size: 10px;
  color: #94a3b8;
  margin-left: 30px;
  transition: transform 0.2s;
}

.dropdown-sub:hover > a::after {
  transform: translateX(3px);
  color: #548DD4;
}

.dropdown-sub-content {
  position: absolute;
  left: 100%;
  top: 0;
  background-color: #ffffff;
  min-width: 240px;
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.1);
  border-radius: 16px;
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateX(-8px);
  transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
  z-index: 1002;
}

.dropdown-sub:hover .dropdown-sub-content {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

.dropdown-sub-content a {
  white-space: nowrap;
  padding: 10px 20px;
  display: block;
  font-size: 14px;
  color: #1e293b;
  text-decoration: none;
  transition: all 0.2s;
}

.dropdown-sub-content a:hover {
  background-color: #e8f0fa;
  color: #548DD4;
}

/* Убираем стрелку у обычных пунктов меню */
.dropdown-content > a {
  display: block;
  padding: 10px 20px;
}

.dropdown-content > a::after {
  display: none;
}

/* ========== КНОПКИ ========== */
.btn-outline {
  border: 1.5px solid #548DD4;
  background: transparent;
  padding: 8px 20px;
  border-radius: 40px;
  font-weight: 600;
  color: #548DD4;
  transition: all 0.2s;
  text-decoration: none;
}

.btn-outline:hover {
  background: #548DD4;
  color: white;
}

.btn-primary {
  background: #548DD4;
  color: white;
  border: none;
  padding: 8px 24px;
  border-radius: 40px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.2s;
  text-decoration: none;
  display: inline-block;
  font-size: 20px;
}

.btn-primary-delo {
  background: #548DD4;
  color: white;
  border: none;
  padding: 8px 24px;
  border-radius: 40px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.2s;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
}

.btn-primary:hover {
  background: #3a6ea5;
  transform: translateY(-1px);
}

/* Отступ для фиксированного меню */
main {
  padding-top: 90px;
}

/* ========== МОБИЛЬНАЯ АДАПТАЦИЯ ========== */
@media (max-width: 800px) {
  .navbar .container {
    gap: 8px;
    padding: 12px 16px;
  }

  .navbar-top {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .navbar-contacts {
    justify-content: center;
    gap: 8px;
  }

  .navbar-contacts .btn-outline {
    font-size: 14px;
    padding: 6px 14px;
  }

  .navbar-contacts img {
    width: 24px;
    height: 24px;
  }

  .navbar-bottom {
    width: 100%;
  }

  .nav-links {
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    padding: 8px 0;
  }

  .nav-links > a,
  .dropbtn {
    font-size: 13px;
    padding: 4px 8px;
  }

  .dropdown-content {
    position: static;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    display: none;
    background: #f8fafc;
    margin-top: 8px;
    border-radius: 12px;
    padding: 8px 0;
    width: 100%;
  }

  .dropdown-sub-content {
    position: static;
    left: 0;
    top: 0;
    padding-left: 20px;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    display: none;
    background: #f1f5f9;
    border-radius: 12px;
    margin-top: 8px;
    width: 100%;
  }

  .dropdown-sub.open .dropdown-sub-content {
    display: block;
  }

  .dropdown-sub > a::after {
    display: none;
  }

  .dropbtn,
  .dropdown-content a,
  .dropdown-sub-content a {
    padding: 12px 16px;
    display: block;
    width: 100%;
    text-align: left;
  }

  .dropdown-sub-content a {
    padding-left: 32px;
  }

  .dropdown-category {
    padding: 12px 16px 4px;
  }

  main {
    padding-top: 100px;
  }
}

/* ========== ПОДВАЛ (НОВЫЙ) ========== */
.site-footer {
  background: #0f172a;
  color: #cbd5e1;
  margin-top: 60px;
}

/* Блок подписки */
.footer-subscribe {
  background: rgba(84, 141, 212, 0.1);
  padding: 20px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-subscribe-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-subscribe-text {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
}

.subscribe-icon {
  font-size: 24px;
}

.footer-subscribe-form {
  display: flex;
  gap: 10px;
}

.footer-subscribe-form input {
  padding: 10px 16px;
  border-radius: 40px;
  border: none;
  width: 250px;
  font-size: 14px;
}

.footer-subscribe-form button {
  padding: 10px 24px;
}

/* Основная часть подвала */
.footer-main {
  padding: 50px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}

.footer-col .logo-area {
  font-size: 20px;
  font-weight: 700;
  background: linear-gradient(135deg, #548DD4 0%, #3a6ea5 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 5px;
}

.footer-col .logo-small {
  font-size: 13px;
  color: #94a3b8;
  margin-bottom: 15px;
}

.footer-about {
  font-size: 14px;
  line-height: 1.6;
  color: #94a3b8;
  margin: 15px 0 20px;
}

.footer-social {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-social a {
  color: #94a3b8;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s;
}

.footer-social a:hover {
  color: #548DD4;
}

.footer-title {
  font-size: 16px;
  font-weight: 700;
  color: white;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background: #548DD4;
}

.footer-links-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links-list li {
  margin-bottom: 10px;
}

.footer-links-list a {
  color: #94a3b8;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s;
}

.footer-links-list a:hover {
  color: #548DD4;
}

.footer-contacts {
  list-style: none;
  margin: 0 0 20px 0;
  padding: 0;
}

.footer-contacts li {
  margin-bottom: 12px;
  font-size: 14px;
  color: #94a3b8;
}

.footer-contacts a {
  color: #94a3b8;
  text-decoration: none;
}

.footer-contacts a:hover {
  color: #548DD4;
}

.footer-rekv {
  margin: 20px 0;
}

.footer-rekv p {
  font-size: 12px;
  color: #64748b;
  line-height: 1.6;
  margin: 10px 0 0;
}

.callback-footer-btn {
  margin-top: 15px;
  width: 100%;
}

.footer-bottom {
  background: rgba(0, 0, 0, 0.3);
  padding: 20px 0;
}

.footer-bottom-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.copyright {
  font-size: 12px;
  color: #64748b;
}

.footer-links {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
}

.footer-links a {
  color: #64748b;
  text-decoration: none;
  font-size: 12px;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: #548DD4;
}

@media (max-width: 992px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-subscribe-wrapper {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .footer-bottom-content {
    flex-direction: column;
    text-align: center;
  }
  .footer-links {
    justify-content: center;
  }
  .footer-title::after {
    left: 50%;
    transform: translateX(-50%);
  }
  .footer-col {
    text-align: center;
  }
  .footer-social {
    justify-content: center;
  }
  .footer-subscribe-form {
    flex-direction: column;
    width: 100%;
  }
  .footer-subscribe-form input {
    width: 100%;
  }
}

/* Стили для ссылок в подвале — белые, без изменения цвета после посещения */
.site-footer a,
.site-footer a:link,
.site-footer a:visited,
.site-footer a:hover,
.site-footer a:active {
    color: #cbd5e1;
    text-decoration: none;
}

.site-footer a:hover {
    color: #548DD4;
    text-decoration: underline;
}

/* Специально для ссылки "Патентный поверенный № 1554" */
.logo-small a,
.logo-small a:link,
.logo-small a:visited,
.logo-small a:hover,
.logo-small a:active {
    color: #cbd5e1;
    text-decoration: none;
}

.logo-small a:hover {
    color: #548DD4;
    text-decoration: underline;
}

/* Все остальные ссылки в подвале */
.footer-links-list a,
.footer-links-list a:link,
.footer-links-list a:visited,
.footer-links-list a:hover,
.footer-links-list a:active {
    color: #cbd5e1;
    text-decoration: none;
}

.footer-links-list a:hover {
    color: #548DD4;
    text-decoration: underline;
}

.footer-contacts a,
.footer-contacts a:link,
.footer-contacts a:visited,
.footer-contacts a:hover,
.footer-contacts a:active {
    color: #cbd5e1;
    text-decoration: none;
}

.footer-contacts a:hover {
    color: #548DD4;
    text-decoration: underline;
}

.footer-links a,
.footer-links a:link,
.footer-links a:visited,
.footer-links a:hover,
.footer-links a:active {
    color: #cbd5e1;
    text-decoration: none;
}

.footer-links a:hover {
    color: #548DD4;
    text-decoration: underline;
}

/* ========== БЛАГОДАРСТВЕННЫЕ ПИСЬМА ========== */
.thanks-section {
  padding: 60px 0;
  background: #eef2f4;
  position: relative;
  margin: 40px 0;
}

.thanks-header {
  text-align: center;
  margin-bottom: 48px;
}

.thanks-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 4px;
  color: #548DD4;
  background: rgba(84, 141, 212, 0.1);
  padding: 6px 16px;
  border-radius: 40px;
  margin-bottom: 16px;
  border: 1px solid rgba(84, 141, 212, 0.2);
}

.thanks-title {
  font-size: 36px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 16px;
}

.thanks-subtitle {
  font-size: 18px;
  color: #475569;
  max-width: 700px;
  margin: 0 auto;
}

.thanks-slider {
  display: flex;
  overflow-x: auto;
  gap: 24px;
  padding-bottom: 16px;
  cursor: grab;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.thanks-slider:active {
  cursor: grabbing;
}

.thanks-slider::-webkit-scrollbar {
  display: none;
}

.thanks-card {
  min-width: 320px;
  max-width: 400px;
  flex-shrink: 0;
  background: #ffffff;
  border-radius: 24px;
  border: 1px solid rgba(84, 141, 212, 0.08);
  transition: all 0.3s ease;
}

.thanks-card:hover {
  transform: translateY(-4px);
  border-color: rgba(84, 141, 212, 0.3);
  box-shadow: 0 12px 24px -12px rgba(0, 0, 0, 0.1);
}

.thanks-card-inner {
  position: relative;
  padding: 28px;
}

.thanks-quote {
  position: absolute;
  top: 20px;
  left: 20px;
  font-size: 48px;
  font-family: Georgia, serif;
  color: rgba(84, 141, 212, 0.15);
  line-height: 1;
}

.thanks-card-header {
  padding-top: 20px;
  margin-bottom: 16px;
}

.thanks-client {
  font-size: 18px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 8px;
}

.thanks-service {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  color: #548DD4;
  padding: 4px 12px;
  border-radius: 40px;
  border: 1px solid rgba(84, 141, 212, 0.2);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.thanks-text {
  font-size: 15px;
  font-style: italic;
  color: #475569;
  line-height: 1.5;
  margin-bottom: 20px;
  min-height: 80px;
}

.thanks-author {
  font-size: 12px;
  font-family: monospace;
  color: #64748b;
  padding-top: 16px;
  border-top: 1px solid #eef2f4;
}

/* Список клиентов */
.clients-list {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid #e2e8f0;
}

.clients-title {
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #64748b;
  margin-bottom: 32px;
}

.clients-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 24px 40px;
}

.client-item {
  font-size: 18px;
  font-weight: 600;
  color: #94a3b8;
  transition: color 0.2s;
  cursor: default;
}

.client-item:hover {
  color: #548DD4;
}

@media (max-width: 768px) {
  .thanks-section { padding: 40px 0; }
  .thanks-title { font-size: 28px; }
  .thanks-card { min-width: 280px; }
  .thanks-card-inner { padding: 20px; }
  .clients-grid { gap: 16px 24px; }
  .client-item { font-size: 14px; }
}

/* Блок обёртка для относительного позиционирования */
.thanks-wrapper {
  position: relative;
}

.thanks-slider {
  display: flex;
  overflow-x: auto;
  gap: 24px;
  padding-bottom: 16px;
  cursor: grab;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.thanks-slider::-webkit-scrollbar {
  display: none;
}

/* Стрелка-подсказка справа */
.thanks-slider-hint {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 100px;
  background: linear-gradient(270deg, #eef2f4 0%, transparent 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 2;
  border-radius: 20px 0 0 20px;
}

.thanks-slider-hint::after {
  content: '→';
  font-size: 28px;
  font-weight: 300;
  color: #548DD4;
  animation: hintBounce 1.5s infinite;
}

@keyframes hintBounce {
  0%, 100% { transform: translateX(0); opacity: 0.6; }
  50% { transform: translateX(8px); opacity: 1; }
}

/* ========== ПРОЦЕСС РАБОТЫ ========== */
.process-work {
  padding: 60px 0;
  background: #eef2f4;
  border-radius: 48px;
  margin: 50px 0;
}

.process-header {
  text-align: center;
  margin-bottom: 60px;
}

.process-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 4px;
  color: #548DD4;
  background: rgba(84, 141, 212, 0.1);
  padding: 6px 16px;
  border-radius: 40px;
  margin-bottom: 16px;
  border: 1px solid rgba(84, 141, 212, 0.2);
}

.process-title {
  font-size: 36px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 16px;
}

.process-subtitle {
  font-size: 18px;
  color: #475569;
  max-width: 700px;
  margin: 0 auto;
}

.process-timeline {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  padding: 20px 0;
}

.process-timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, #548DD4, rgba(84, 141, 212, 0.2));
  transform: translateX(-50%);
}

.process-step {
  position: relative;
  margin-bottom: 60px;
}

.step-connector {
  position: absolute;
  left: 50%;
  top: 40px;
  width: 20px;
  height: 2px;
  background: #548DD4;
  transform: translateX(-50%);
  display: none;
}

.step-marker {
  position: absolute;
  left: 50%;
  top: 0;
  width: 48px;
  height: 48px;
  background: #548DD4;
  color: white;
  font-weight: 800;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transform: translateX(-50%);
  z-index: 10;
  box-shadow: 0 0 0 4px rgba(84, 141, 212, 0.2);
}

.step-card {
  width: calc(50% - 40px);
  background: white;
  border-radius: 24px;
  padding: 28px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.step-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px -12px rgba(0, 0, 0, 0.15);
}

.step-card-right {
  margin-left: auto;
  text-align: left;
}

.step-card-left {
  margin-right: auto;
  text-align: left;
}

.step-icon {
  font-size: 32px;
  margin-bottom: 12px;
}

.step-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  color: #548DD4;
  background: rgba(84, 141, 212, 0.1);
  padding: 4px 12px;
  border-radius: 40px;
  margin-bottom: 12px;
}

.step-title {
  font-size: 22px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 12px;
}

.step-description {
  font-size: 15px;
  color: #475569;
  line-height: 1.5;
  margin-bottom: 12px;
}

.step-info {
  font-size: 14px;
  color: #548DD4;
  background: rgba(84, 141, 212, 0.05);
  padding: 10px 14px;
  border-radius: 12px;
  margin: 12px 0;
}

.step-time {
  font-size: 13px;
  color: #64748b;
  font-family: monospace;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid #eef2f4;
}

.step-success {
  font-size: 14px;
  font-weight: 600;
  color: #2e7d32;
  background: rgba(46, 125, 50, 0.1);
  padding: 10px 14px;
  border-radius: 12px;
  margin-top: 12px;
}

/* Мобильная версия */
@media (max-width: 768px) {
  .process-work { padding: 40px 16px; }
  .process-title { font-size: 28px; }
  .process-timeline::before { left: 20px; }
  .step-marker { left: 20px; transform: none; width: 40px; height: 40px; font-size: 16px; }
  .step-card { width: calc(100% - 70px); margin-left: 70px !important; }
  .step-card-right, .step-card-left { margin-left: 70px; margin-right: 0; }
}

/* Ссылка в подзаголовке блока цен */
.service-link {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px dashed #548DD4;
  transition: all 0.2s ease;
  cursor: pointer;
}

.service-link:hover {
  color: #548DD4;
  border-bottom-style: solid;
}

html {
  scroll-behavior: smooth;
}

/* Отступ для десктопной версии */
@media (min-width: 769px) {
    main {
        padding-top: 300px; /* Высота шапки + небольшой запас */
    }
}

/* ===== ОТСТУП ДЛЯ ФИКСИРОВАННОЙ ШАПКИ НА МОБИЛЬНЫХ ===== */
@media (max-width: 768px) {
    /* Для главной страницы */
    .hero {
        padding-top: 200px !important;
    }
    
    /* Для всех остальных страниц с заголовком */
    .page-title {
        padding-top: 200px !important;
    }
    
    /* Универсальный вариант — первый элемент внутри main */
    main > *:first-child {
        padding-top: 200px !important;
    }
}

/* ===== УЛУЧШЕНИЕ КОНТРАСТНОСТИ ===== */

/* Логотип */
.logo-small {
    color: #1a3a5c !important;
}

/* Кнопки */
.btn-primary {
    color: #ffffff !important;
}

/* Ссылки в подвале */
.footer a {
    color: #2563eb !important;
    text-decoration: underline !important;
}

/* Иконки соцсетей (если есть) */
.social-icon {
    color: #1e293b !important;
}