/* ==========================================================
   ДОПОЛНИТЕЛЬНЫЕ СТИЛИ ДЛЯ ЛЕНДИНГА (НОВАЯ ЦВЕТОВАЯ ГАММА)
   ========================================================== */

/* Переменные */
:root {
  --primary-dark: #1a2a4f;    /* Тёмно-синий */
  --primary-light: #e8eef5;   /* Светло-синий для фона */
  --accent-gold: #c49a6c;     /* Золотой/терракотовый акцент */
  --accent-gold-dark: #a77c4e; /* Тёмный золотой для ховера */
  --text-dark: #2d2d2d;       /* Основной текст */
  --text-light: #6c6c6c;      /* Второстепенный текст */
  --bg-light: #faf9f8;        /* Светлый фон страницы */
  --bg-card: #ffffff;         /* Белый фон карточек */
  --border-light: #e0e0e0;    /* Светлые границы */
}

/* Круглая рамка главного фото (вертикальные портреты обрезаются корректно) */
.vcard-profile-pic {
  border-radius: 50%;
}

.vcard-profile-pic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
  border-radius: 50%;
}

body {
  background-color: var(--bg-light);
  color: var(--text-dark);
}

/* Хедер (шапка) */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: transparent;
  padding: 15px 30px;
  z-index: 999999;
  transition: all 0.3s ease;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-sizing: border-box;
}

.site-header.scrolled {
  background: #ffffff;
  box-shadow: 0 2px 15px rgba(0,0,0,0.08);
  padding: 10px 30px;
}

.header-logo a {
  font-size: 20px;
  font-weight: bold;
  color: #ffffff;
  text-decoration: none;
  letter-spacing: 1px;
  transition: color 0.3s;
}

.site-header.scrolled .header-logo a {
  color: var(--primary-dark);
}

.header-phone a {
  font-size: 16px;
  font-weight: 600;
  color: #ffffff;
  text-decoration: none;
  background: rgba(0,0,0,0.3);
  padding: 8px 18px;
  border-radius: 40px;
  transition: all 0.3s;
}

.site-header.scrolled .header-phone a {
  color: var(--primary-dark);
  background: rgba(26,42,79,0.08);
  border: 1px solid var(--primary-dark);
}

.header-phone a:hover {
  background: var(--accent-gold);
  color: #ffffff !important;
  border-color: var(--accent-gold);
}

/* Отступ для фиксированного хедера */
.container {
  padding-top: 80px;
}

/* Стили секций (сохраняем исходное расположение) */
.section-vcardbody {
  background: var(--bg-card);
  border-radius: 16px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.03);
  border: none;
  margin-top: 30px;
  margin-bottom: 30px;
  padding: 40px;
}

.section-title {
  color: var(--primary-dark);
  border-bottom: 2px solid var(--accent-gold);
  display: inline-block;
  padding-bottom: 8px;
  margin-bottom: 35px;
  font-weight: 700;
}

/* Кнопки */
.btn-default {
  background: var(--accent-gold) !important;
  color: #ffffff !important;
  border-radius: 40px !important;
  padding: 10px 28px !important;
  font-weight: 600;
}

.btn-default:before {
  background: var(--primary-dark);
}

.btn-nobg {
  background: transparent !important;
  border: 1.5px solid var(--accent-gold) !important;
  color: var(--accent-gold) !important;
  border-radius: 40px !important;
  padding: 8px 26px !important;
  font-weight: 600;
}

.btn-nobg:hover {
  background: var(--accent-gold) !important;
  color: #ffffff !important;
}

/* Главный экран (Hero) */
#hero {
  background: linear-gradient(135deg, #ffffff 0%, #f5f3f0 100%);
  text-align: center;
}

.profile-title {
  color: var(--primary-dark);
  font-size: 42px;
}

.profile-title .color1 {
  color: var(--accent-gold);
}

.profile-subtitle {
  color: var(--text-light);
}

.vcard-profile-description-ft-item {
  background: var(--primary-dark);
  border-radius: 50px;
  max-width: 350px;
  margin: 0 auto;
}

/* Меню */
.main-menu {
  margin-bottom: 20px;
  text-align: center;
  background: transparent;
}

.main-menu-list li {
  margin: 0 4px;
}

.main-menu-list a {
  background: transparent;
  color: var(--text-dark);
  font-weight: 600;
  padding: 8px 18px;
  border-radius: 40px;
  font-size: 13px;
}

.main-menu-list a:before {
  display: none;
}

.main-menu-list a:hover {
  background: var(--primary-light);
  color: var(--primary-dark);
  padding-left: 18px;
}

.main-menu-list a.menuActive {
  background: var(--accent-gold);
  color: #ffffff;
  padding-left: 18px;
}

/* Карточки услуг */
.service-item, .advantage-item {
  background: var(--bg-card);
  border-radius: 16px;
  border: 1px solid var(--border-light);
  transition: all 0.25s ease;
  padding: 25px 15px;
  margin-bottom: 20px;
  text-align: center;
}

.service-item:hover, .advantage-item:hover {
  transform: translateY(-6px);
  border-color: var(--accent-gold);
  box-shadow: 0 15px 30px rgba(0,0,0,0.08);
}

.service-item i, .advantage-item i {
  font-size: 36px;
  color: var(--accent-gold);
  margin-bottom: 15px;
}

.service-item h4, .advantage-item h4 {
  color: var(--primary-dark);
  font-size: 18px;
  margin-bottom: 10px;
}

/* Схема работы */
.work-step {
  text-align: center;
  margin-bottom: 30px;
}

.step-number {
  width: 50px;
  height: 50px;
  background: var(--primary-dark);
  color: white;
  font-size: 24px;
  font-weight: bold;
  line-height: 50px;
  border-radius: 50%;
  margin: 0 auto 15px;
  box-shadow: 0 5px 12px rgba(26,42,79,0.2);
}

/* Контакты */
.contact-info-box {
  background: var(--primary-light);
  border-left: 4px solid var(--accent-gold);
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 20px;
}

.contact-info-box i {
  color: var(--accent-gold);
  width: 24px;
}

/* Адаптация для мобильных */
@media (max-width: 991px) {
  .main-menu {
    position: relative;
    left: auto;
    width: 100%;
    margin-top: 0;
    margin-bottom: 20px;
    display: block;
  }
  .main-menu-list {
    text-align: center;
  }
  .main-menu-list li {
    display: inline-block;
    margin: 0 3px;
  }
  .main-menu-list a {
    font-size: 10px;
    padding: 5px 12px;
  }
  .section-vcardbody {
    position: relative !important;
    left: auto !important;
    width: 100% !important;
    height: auto !important;
    transform: none !important;
    opacity: 1 !important;
    overflow: visible !important;
    margin-top: 20px;
    padding: 25px;
  }
  .container {
    padding-top: 70px;
  }
  .profile-title {
    font-size: 28px;
  }
  .site-header {
    padding: 12px 20px;
  }
  .header-logo a {
    font-size: 16px;
  }
  .header-phone a {
    font-size: 13px;
    padding: 5px 12px;
  }
}

@media (min-width: 992px) {
  .section-vcardbody {
    position: relative !important;
    left: auto !important;
    width: 100% !important;
    height: auto !important;
    transform: none !important;
    opacity: 1 !important;
    overflow: visible !important;
  }
  .main-menu {
    position: relative;
    left: auto;
    width: 100%;
    margin-top: 0;
    margin-bottom: 30px;
    display: block;
  }
  .main-menu-list {
    text-align: center;
  }
  .main-menu-list li {
    display: inline-block;
    margin: 0 5px;
  }
}
/* ==========================================================
   СТИЛИ ДЛЯ ХЕДЕРА С МЕНЮ
   ========================================================== */

.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
}

.header-logo {
  flex-shrink: 0;
}

.main-menu {
  flex: 1;
  margin: 0;
  text-align: center;
}

.main-menu-list {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin: 0;
  padding: 0;
}

.main-menu-list li {
  display: inline-block;
  margin: 0;
}

.header-phone {
  flex-shrink: 0;
}

/* Адаптация для мобильных: при маленьком экране меню уезжает вниз */
@media (max-width: 768px) {
  .site-header {
    flex-direction: column;
    padding: 12px 15px;
  }
  .main-menu {
    width: 100%;
  }
  .main-menu-list {
    flex-wrap: wrap;
  }
  .container {
    padding-top: 120px;
  }
}

@media (min-width: 769px) and (max-width: 991px) {
  .container {
    padding-top: 100px;
  }
}
/* ==========================================================
   ПРАВКИ: кнопки одинакового размера и белое меню
   ========================================================== */

/* Кнопки одинакового размера */
.hero-buttons .btn {
  min-width: 160px;
  text-align: center;
}

.btn-default,
.btn-nobg {
  padding: 10px 20px !important;
  font-size: 14px;
}

/* Белые ссылки в меню, пока хедер прозрачный */
.site-header:not(.scrolled) .main-menu-list a {
  color: #ffffff !important;
}

.site-header:not(.scrolled) .main-menu-list a:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff !important;
}

.site-header:not(.scrolled) .main-menu-list a.menuActive {
  background: var(--accent-gold);
  color: #ffffff !important;
}

/* Тёмные ссылки после скролла */
.site-header.scrolled .main-menu-list a {
  color: var(--primary-dark) !important;
}

.site-header.scrolled .main-menu-list a:hover {
  background: var(--primary-light);
  color: var(--primary-dark) !important;
}
/* ==========================================================
   ГАМБУРГЕР МЕНЮ ДЛЯ МОБИЛЬНЫХ (добавка к существующему CSS)
   ========================================================== */

/* Кнопка гамбургера — скрыта на десктопе */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 26px;
  height: 18px;
  cursor: pointer;
  z-index: 1002;
}

.mobile-menu-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background-color: #ffffff;
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* При скролле — тёмные полоски */
.site-header.scrolled .mobile-menu-toggle span {
  background-color: var(--primary-dark);
}
/* Крестик всегда белый при открытом меню */
.mobile-menu-toggle.active span {
  background-color: #ffffff !important;
}
/* Анимация крестика при открытом меню */
.mobile-menu-toggle.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* МОБИЛЬНАЯ ВЕРСИЯ (до 768px) */
/* МОБИЛЬНАЯ ВЕРСИЯ (до 768px) */
@media (max-width: 768px) {
  
  /* Переопределяем хедер для мобильных */
  .site-header {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 10px 16px;
  }
  
  /* Логотип слева */
  .header-logo {
    flex: 0;
    order: 1;
  }
  
  /* Телефон по центру */
  .header-phone {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    order: 2;
    flex-shrink: 0;
  }
  
  .header-phone a {
    font-size: 13px;
    padding: 5px 12px;
    white-space: nowrap;
  }
  
  /* Гамбургер справа */
  .mobile-menu-toggle {
    display: flex;
    order: 3;
  }
  
  /* Меню — выезжает справа, поверх всего */
  .main-menu {
    position: fixed !important;
    top: 0;
    right: -70%;
    width: 70%;
    max-width: 260px;
    height: 100vh;
    background: var(--primary-dark);
    margin: 0 !important;
    padding: 80px 20px 30px !important;
    transition: right 0.3s ease;
    box-shadow: -5px 0 25px rgba(0,0,0,0.2);
    z-index: 1001 !important;
    flex: none !important;
  }
  
  /* Открытое меню */
  .main-menu.open {
    right: 0;
  }
  
  /* Стили ссылок в мобильном меню — ЯВНО БЕЛЫЕ */
  .main-menu-list {
    flex-direction: column !important;
    gap: 8px !important;
  }
  
  .main-menu-list li {
    display: block !important;
    margin: 0 !important;
  }
  
  .main-menu-list a {
    display: block;
    color: #ffffff !important;  /* Явно белый цвет */
    background: transparent !important;
    font-size: 15px;
    font-weight: 500;
    padding: 12px 16px;
    text-align: left;
    border-radius: 10px;
  }
  
  .main-menu-list a:hover,
  .main-menu-list a.menuActive {
    background: var(--accent-gold) !important;
    color: #ffffff !important;
    padding-left: 16px;
  }
  
  /* Отступ контейнера */
  .container {
    padding-top: 65px;
  }
  .main-menu,
  .main-menu.open {
    z-index: 9999 !important;
  }
  
  /* Затемнение фона при открытом меню (опционально) */
  .main-menu.open::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: -1;
  }
}
/* МОБИЛЬНАЯ ВЕРСИЯ (до 768px) — ПОЛНОСТЬЮ ИСПРАВЛЕННАЯ */
@media (max-width: 768px) {
  
  /* Хедер */
  .site-header {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 10px 16px;
  }
  
  .header-logo {
    flex: 0;
    order: 1;
    z-index: 10000;
  }
  
  .header-phone {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    order: 2;
    flex-shrink: 0;
  }
  
  .header-phone a {
    font-size: 13px;
    padding: 5px 12px;
    white-space: nowrap;
  }
  
  .mobile-menu-toggle {
    display: flex;
    order: 3;
    z-index: 10001;
  }
  
  /* Меню — поверх всего, всегда */
  .main-menu {
    position: fixed !important;
    top: 0;
    right: -70%;
    width: 70%;
    max-width: 260px;
    height: 100vh;
    background: var(--primary-dark) !important;
    margin: 0 !important;
    padding: 80px 20px 30px !important;
    transition: right 0.3s ease;
    box-shadow: -5px 0 25px rgba(0,0,0,0.2);
    z-index: 999999 !important;
    flex: none !important;
  }
  
  .main-menu.open {
    right: 0;
  }
  
  /* Кнопки меню — всегда белые, фон прозрачный */
  .main-menu-list {
    flex-direction: column !important;
    gap: 8px !important;
  }
  
  .main-menu-list li {
    display: block !important;
    margin: 0 !important;
  }
  
  .main-menu-list a {
    display: block;
    color: #ffffff !important;
    background: transparent !important;
    font-size: 15px;
    font-weight: 500;
    padding: 12px 16px;
    text-align: left;
    border-radius: 10px;
  }
  
  /* Перебиваем scrolled */
  .site-header.scrolled .main-menu-list a,
  .main-menu-list a {
    color: #ffffff !important;
  }
  
  .main-menu-list a:hover,
  .main-menu-list a.menuActive {
    background: var(--accent-gold) !important;
    color: #ffffff !important;
    padding-left: 16px;
  }
  
  .container {
    padding-top: 65px;
  }
}
/* ==========================================================
   СТИЛИ ДЛЯ ФОРМЫ ОБРАТНОЙ СВЯЗИ
   ========================================================== */

.contact-form-wrapper {
  background: var(--primary-light);
  border-radius: 16px;
  padding: 25px;
}

.form-control {
  border-radius: 40px !important;
  border: 1px solid var(--border-light);
  padding: 12px 18px;
  height: auto;
  font-size: 14px;
}

.form-control:focus {
  border-color: var(--accent-gold);
  box-shadow: none;
  outline: none;
}

.form-send {
  width: 100%;
  background: var(--accent-gold) !important;
  border-radius: 40px !important;
  padding: 12px !important;
  font-size: 14px !important;
  font-weight: 600;
}

.form-send:hover {
  background: var(--primary-dark) !important;
}

.form-status-success {
  background: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.form-status-error {
  background: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

/* ==========================================================
   КАРУСЕЛЬ ПОЛЕЗНЫХ СТАТЕЙ
   ========================================================== */

.articles-carousel-wrapper {
  position: relative;
  margin: 0 -10px;
  padding: 0 40px;
}

.articles-carousel .owl-wrapper-outer {
  padding: 10px 0 20px;
}

.article-card {
  padding: 0 10px;
}

.article-preview {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  overflow: hidden;
  height: 100%;
  min-height: 340px;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  cursor: pointer;
}

.article-preview:hover {
  transform: translateY(-6px);
  border-color: var(--accent-gold);
  box-shadow: 0 16px 32px rgba(26, 42, 79, 0.1);
}

.article-thumb {
  height: 150px;
  background: linear-gradient(135deg, var(--primary-dark) 0%, #2a4070 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.article-thumb i {
  font-size: 46px;
  color: var(--accent-gold);
  opacity: 0.95;
}

.article-body {
  padding: 22px 20px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.article-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--primary-dark);
  margin: 0 0 12px;
  line-height: 1.35;
}

.article-short {
  color: var(--text-light);
  font-size: 14px;
  line-height: 1.55;
  margin: 0 0 18px;
  flex: 1;
}

.article-preview .read-more-btn {
  align-self: flex-start;
  margin-top: auto;
  font-size: 13px;
  pointer-events: none;
}

#articles .owl-theme .owl-controls {
  margin-top: 8px;
}

#articles .owl-theme .owl-controls .owl-buttons div {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  line-height: 44px;
  padding: 0;
  margin: 0;
  border-radius: 50%;
  background: var(--primary-dark);
  color: #fff;
  opacity: 0.85;
  font-size: 16px;
  transition: background 0.2s, opacity 0.2s;
}

#articles .owl-theme .owl-controls .owl-buttons div:hover {
  background: var(--accent-gold);
  opacity: 1;
}

#articles .owl-theme .owl-controls .owl-buttons .owl-prev {
  left: -8px;
}

#articles .owl-theme .owl-controls .owl-buttons .owl-next {
  right: -8px;
}

#articles .owl-theme .owl-controls .owl-page span {
  background: var(--primary-dark);
  opacity: 0.25;
}

#articles .owl-theme .owl-controls .owl-page.active span,
#articles .owl-theme .owl-controls.clickable .owl-page:hover span {
  background: var(--accent-gold);
  opacity: 1;
}

@media (max-width: 768px) {
  .article-preview {
    min-height: 320px;
  }

  #articles .owl-theme .owl-controls .owl-buttons div {
    width: 36px;
    height: 36px;
    line-height: 36px;
    font-size: 14px;
  }

  #articles .owl-theme .owl-controls .owl-buttons .owl-prev {
    left: 0;
  }

  #articles .owl-theme .owl-controls .owl-buttons .owl-next {
    right: 0;
  }
}

/* ==========================================================
   МОДАЛЬНОЕ ОКНО ДЛЯ ЧТЕНИЯ СТАТЕЙ
   (селекторы с #articleModal — перебивают .modal-content из styles.css)
   ========================================================== */

#articleModal.article-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999999;
  align-items: center;
  justify-content: center;
  padding: 24px;
  box-sizing: border-box;
}

#articleModal.article-modal.is-visible {
  display: flex;
}

#articleModal .modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(26, 42, 79, 0.72);
  backdrop-filter: blur(4px);
  z-index: 1;
  cursor: pointer;
}

#articleModal .modal-container {
  position: relative;
  width: 100%;
  max-width: 820px;
  max-height: calc(100vh - 48px);
  background: var(--bg-card);
  border-radius: 20px;
  z-index: 2;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.28);
  animation: articleModalSlideIn 0.3s ease;
}

@keyframes articleModalSlideIn {
  from {
    opacity: 0;
    transform: translateY(24px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

#articleModal .modal-close {
  position: absolute;
  top: 12px;
  right: 16px;
  width: 44px;
  height: 44px;
  font-size: 32px;
  font-weight: 300;
  background: rgba(255, 255, 255, 0.95);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  color: var(--text-dark);
  transition: color 0.2s, background 0.2s;
  z-index: 10;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  padding: 0;
}

#articleModal .modal-close:hover {
  color: var(--accent-gold);
  background: #fff;
}

#articleModal .modal-content {
  position: relative;
  top: auto;
  left: auto;
  right: auto;
  bottom: auto;
  margin: 0;
  width: 100%;
  max-width: 100%;
  background: transparent;
  overflow-y: auto;
  padding: 0;
  flex: 1;
  min-height: 0;
  z-index: auto;
  box-sizing: border-box;
}

#articleModal .article-modal-hero {
  position: relative;
  padding: 48px 40px 40px;
  text-align: center;
  color: #fff;
  background-color: var(--primary-dark);
  background-image:
    linear-gradient(rgba(26, 42, 79, 0.82), rgba(26, 42, 79, 0.88)),
    url('../img/article-hero.jpg');
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

#articleModal .article-modal-hero__tagline {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 16px;
}

#articleModal .modal-content .article-modal-hero__headline {
  font-size: 26px;
  font-weight: 700;
  line-height: 1.35;
  margin: 0 auto 24px;
  max-width: 640px;
  color: #fff;
}

#articleModal .article-modal-hero__cta {
  display: inline-block;
  padding: 14px 32px;
  background: var(--accent-gold);
  color: #fff;
  border-radius: 6px;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.3s;
}

#articleModal .article-modal-hero__cta:hover {
  background: var(--accent-gold-dark);
  color: #fff;
}

#articleModal .modal-article-body {
  padding: 36px 40px 40px;
}

#articleModal .modal-content .modal-article-icon {
  width: 72px;
  height: 72px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--primary-dark), #2a4070);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

#articleModal .modal-content .modal-article-icon i {
  font-size: 32px;
  color: var(--accent-gold);
}

#articleModal .modal-content h3 {
  font-size: 28px;
  color: var(--primary-dark);
  margin: 0 0 24px;
  font-weight: 700;
  line-height: 1.3;
  padding-right: 48px;
}

#articleModal .modal-content p {
  font-size: 16px;
  line-height: 1.75;
  color: var(--text-dark);
  margin-bottom: 18px;
}

#articleModal .modal-content ul {
  margin: 0 0 20px;
  padding-left: 22px;
}

#articleModal .modal-content li {
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-dark);
  margin-bottom: 8px;
}

#articleModal .modal-content strong {
  color: var(--primary-dark);
}

#articleModal .modal-content .modal-footer-cta {
  text-align: center;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--border-light);
}

#articleModal .modal-content .hire-lawyer-btn {
  display: inline-block;
  padding: 14px 36px;
  background: var(--accent-gold);
  color: #fff;
  border-radius: 50px;
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  transition: background 0.3s;
  border: none;
  cursor: pointer;
}

#articleModal .modal-content .hire-lawyer-btn:hover {
  background: var(--primary-dark);
  color: #fff;
}

@media (max-width: 768px) {
  #articleModal.article-modal {
    padding: 12px;
  }

  #articleModal .modal-container {
    max-height: calc(100vh - 24px);
    border-radius: 16px;
  }

  #articleModal .modal-content {
    padding: 0;
  }

  #articleModal .article-modal-hero {
    padding: 40px 22px 32px;
  }

  #articleModal .modal-content .article-modal-hero__headline {
    font-size: 20px;
    color: #fff;
  }

  #articleModal .modal-article-body {
    padding: 28px 22px 28px;
  }

  #articleModal .modal-content h3 {
    font-size: 22px;
    padding-right: 40px;
  }

  #articleModal .modal-content p,
  #articleModal .modal-content li {
    font-size: 15px;
  }

  #articleModal .modal-close {
    top: 8px;
    right: 10px;
    width: 38px;
    height: 38px;
    font-size: 28px;
  }
}