*{
    font-family: Verdana, Geneva, Tahoma, sans-serif;
}

header a {
  color: black;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
}

.site-header {
  background-color: #f8f9fa;
}

.header-top {
  text-align: center;
  padding: 18px 15px 12px;
}

.logo-link {
  display: inline-block;
}

.site-logo {
  width: 320px;
  max-width: 100%;
  height: auto;
}

.header {
  background-color: #fcc415;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.header-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  position: relative;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: nowrap;
}

.nav-menu a {
  color: #333;
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 8px;
  transition: background-color 0.3s ease, color 0.3s ease;
  white-space: nowrap;
}

.nav-menu a:hover {
  background-color: #d72f15;
  color: #fff;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
  flex-shrink: 0;
}

.order_a_call {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #d72f15;
  color: #fff !important;
  padding: 10px 18px;
  border-radius: 24px;
  font-weight: 700;
  white-space: nowrap;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.order_a_call:hover {
  background-color: #b52612 !important;
}

.order_a_call:active {
  transform: scale(0.97);
}

.burger {
  display: none;
  width: 44px;
  height: 44px;
  border: none;
  background: transparent;
  padding: 0;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
}

.burger span {
  display: block;
  width: 24px;
  height: 3px;
  background-color: #333;
  border-radius: 2px;
  margin: 0 auto;
  transition: 0.3s ease;
}

.burger.active span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.burger.active span:nth-child(2) {
  opacity: 0;
}

.burger.active span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

@media (max-width: 992px) {
  .header-inner {
    padding: 12px 16px;
  }

  .burger {
    display: flex;
  }

  .nav-menu {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 16px;
    right: 16px;
    background: #ffffff;
    border-radius: 14px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.14);
    padding: 12px;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    z-index: 1000;
  }

  .nav-menu.active {
    display: flex;
  }

  .nav-menu a {
    display: block;
    width: 100%;
    padding: 12px 14px;
    border-radius: 10px;
  }
}

@media (max-width: 768px) {
  .header-top {
    padding: 14px 12px 10px;
  }

  .site-logo {
    width: 240px;
  }

  .header-inner {
    padding: 10px 12px;
    gap: 10px;
  }

  .order_a_call {
    padding: 9px 12px;
    font-size: 13px;
    border-radius: 18px;
  }

  .nav-menu {
    left: 12px;
    right: 12px;
  }
}
/* конец красивой шапки */

/* Админка */

.admin-page {
  background-color: #f8f9fa;
  padding: 40px 15px 60px;
}

.admin-container {
  max-width: 1400px;
  margin: 0 auto;
}

.admin-title {
  text-align: center;
  font-size: 36px;
  color: #222;
  margin-bottom: 24px;
}

/* Карточки на главной странице админки */

.admin-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.admin-stat-card {
  display: block;
  text-decoration: none;
  background: #fff;
  border-radius: 20px;
  padding: 28px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  color: #222;
  border: 1px solid #ececec;
  transition: 0.2s ease;
}

.admin-stat-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.11);
}

.admin-stat-card h2 {
  margin: 0 0 12px;
}

/* Уведомления */

.admin-alert {
  background: #d4edda;
  color: #155724;
  padding: 14px 18px;
  border-radius: 14px;
  margin-bottom: 18px;
  font-weight: 700;
}

/* Фильтры заявок */

.admin-filters {
  background: #fff;
  border-radius: 22px;
  padding: 22px;
  margin-bottom: 22px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
}

.admin-filters-row {
  display: grid;
  gap: 16px;
  margin-bottom: 16px;
}

.admin-filters-row:first-child {
  grid-template-columns: 2fr 1.2fr 1fr;
}

.admin-filters-row:nth-child(2) {
  grid-template-columns: 1fr 1fr auto;
  align-items: end;
  margin-bottom: 0;
}

.admin-filter-item {
  display: flex;
  flex-direction: column;
  gap: 7px;
  min-width: 0;
}

.admin-filter-item label {
  font-weight: 700;
  color: #222;
  font-size: 14px;
}

.admin-input {
  width: 100%;
  max-width: 100%;
  height: 44px;
  border: 1px solid #dcdcdc;
  border-radius: 14px;
  padding: 0 13px;
  font-size: 15px;
  outline: none;
  background: #fff;
  box-sizing: border-box;
}

.admin-input:focus {
  border-color: #fabb30;
  box-shadow: 0 0 0 3px rgba(250, 187, 48, 0.22);
}

.admin-filter-actions {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: flex-start;
  min-width: 230px;
}

.admin-filter-actions .admin-btn,
.admin-reset-btn {
  height: 44px;
  white-space: nowrap;
}

/* Таблицы */

.admin-table-info {
  margin-bottom: 12px;
  font-weight: 700;
  color: #333;
}

.admin-table-wrap {
  background: #fff;
  border-radius: 20px;
  padding: 20px;
  overflow-x: auto;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
}

.admin-table th,
.admin-table td {
  padding: 14px 12px;
  border-bottom: 1px solid #ececec;
  text-align: left;
  vertical-align: top;
}

.admin-table th {
  background: #f8f9fa;
  font-weight: 700;
  color: #222;
}

.admin-empty {
  text-align: center;
  padding: 24px !important;
  color: #777;
}

/* Кнопки и элементы управления */

/* Ссылки в модальных окнах авторизации */

.modal-auth-links {
  margin-top: 16px;
  text-align: center;
  font-size: 15px;
  color: #444;
}

.modal-auth-links p {
  margin: 8px 0 0;
}

.modal-auth-links a,
.modal-forgot-link {
  color: #d72f15;
  font-weight: 700;
  text-decoration: none;
}

.modal-auth-links a:hover,
.modal-forgot-link:hover {
  text-decoration: underline;
}

/* Страницы восстановления пароля */

.auth-page {
  background: #f8f9fa;
  padding: 60px 15px;
  min-height: 65vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.auth-card {
  width: 100%;
  max-width: 520px;
  background: #fff;
  border-radius: 24px;
  padding: 34px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
}

.auth-card h1 {
  text-align: center;
  font-size: 30px;
  color: #222;
  margin-bottom: 18px;
}

.auth-card p {
  color: #444;
  line-height: 1.6;
  text-align: center;
  margin-bottom: 20px;
}

.auth-form-group {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 16px;
}

.auth-form-group label {
  font-weight: 700;
  color: #222;
  font-size: 14px;
}

.auth-form-group input {
  width: 100%;
  height: 44px;
  border: 1px solid #dcdcdc;
  border-radius: 14px;
  padding: 0 13px;
  font-size: 15px;
  outline: none;
  box-sizing: border-box;
}

.auth-form-group input:focus {
  border-color: #fabb30;
  box-shadow: 0 0 0 3px rgba(250, 187, 48, 0.22);
}

.auth-submit-btn {
  width: 100%;
  border: none;
  background-color: #d72f15;
  color: #fff;
  padding: 12px 18px;
  border-radius: 20px;
  font-weight: 700;
  cursor: pointer;
  transition: 0.2s ease;
}

.auth-submit-btn:hover {
  background-color: #bd2812;
}

.auth-switch {
  margin-top: 18px;
  text-align: center;
  color: #444;
}

.auth-switch a {
  color: #d72f15;
  font-weight: 700;
  text-decoration: none;
}

.auth-switch a:hover {
  text-decoration: underline;
}

.auth-alert {
  padding: 12px 16px;
  border-radius: 14px;
  margin-bottom: 18px;
  font-weight: 700;
  text-align: center;
}

.auth-alert.success {
  background: #d4edda;
  color: #155724;
}

.auth-alert.error {
  background: #f8d7da;
  color: #721c24;
}
/* конкц ссылок в шапке */

.admin-select {
  height: 40px;
  border: 1px solid #d8d8d8;
  border-radius: 10px;
  padding: 0 10px;
  margin-bottom: 8px;
  background: #fff;
}

.admin-btn {
  border: none;
  background-color: #d72f15;
  color: #fff;
  padding: 10px 16px;
  border-radius: 18px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: 0.2s ease;
}

.admin-btn:hover {
  background-color: #bd2812;
}

.admin-reset-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border-radius: 20px;
  background: #f2f2f2;
  color: #222 !important;
  text-decoration: none;
  font-weight: 700;
  transition: 0.2s ease;
}

.admin-reset-btn:hover {
  background: #e7e7e7;
}

/* Действия в таблице заявок */

.admin-actions-cell {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 220px;
}

.admin-status-form {
  display: flex;
  gap: 8px;
  align-items: center;
}

.admin-status-form .admin-select {
  flex: 1;
  margin-bottom: 0;
}

.admin-delete-form {
  margin: 0;
}

.admin-delete-btn {
  width: 100%;
  border: 1px solid #f1b7b0;
  background-color: #fff5f3;
  color: #b42318;
  padding: 10px 16px;
  border-radius: 18px;
  font-weight: 700;
  cursor: pointer;
  transition: 0.2s ease;
}

.admin-delete-btn:hover {
  background-color: #d72f15;
  border-color: #d72f15;
  color: #fff;
}

.admin-delete-btn:active {
  transform: scale(0.98);
}

/* Статусы заявок */

.request-status {
  display: inline-block;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  background: #f1f1f1;
  color: #333;
  white-space: nowrap;
}

.request-status-new {
  background: #fff3cd;
  color: #856404;
}

.request-status-sent {
  background: #d1ecf1;
  color: #0c5460;
}

.request-status-in_progress {
  background: #e2e3ff;
  color: #343a90;
}

.request-status-done {
  background: #d4edda;
  color: #155724;
}

.request-status-error {
  background: #f8d7da;
  color: #721c24;
}

/* Отзывы */

.review-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.review-textarea {
  width: 100%;
  border: 1px solid #d8d8d8;
  border-radius: 14px;
  padding: 14px;
  font-size: 16px;
  resize: vertical;
  outline: none;
}

.review-textarea:focus {
  border-color: #fcc415;
  box-shadow: 0 0 0 3px rgba(252, 196, 21, 0.2);
}

/* Навигация и пагинация */

.admin-pagination {
  margin-top: 20px;
}

.admin-back {
  margin-top: 20px;
}

.admin-link {
  color: #d72f15 !important;
  text-decoration: none;
  font-weight: 700;
}

/* Адаптив */

@media (max-width: 992px) {
  .admin-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .admin-filters-row:first-child,
  .admin-filters-row:nth-child(2) {
    grid-template-columns: 1fr 1fr;
  }

  .admin-filter-actions {
    min-width: 0;
  }
}

@media (max-width: 768px) {
  .admin-page {
    padding: 28px 12px 45px;
  }

  .admin-title {
    font-size: 28px;
  }

  .admin-grid {
    grid-template-columns: 1fr;
  }

  .admin-filters {
    padding: 16px;
  }

  .admin-filters-row:first-child,
  .admin-filters-row:nth-child(2) {
    grid-template-columns: 1fr;
  }

  .admin-filter-actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }

  .admin-filter-actions .admin-btn,
  .admin-reset-btn {
    width: 100%;
  }

  .admin-actions-cell {
    min-width: 0;
  }

  .admin-status-form {
    flex-direction: column;
    align-items: stretch;
  }

  .admin-status-form .admin-btn,
  .admin-status-form .admin-select,
  .admin-delete-btn {
    width: 100%;
  }

  .admin-table th,
  .admin-table td {
    padding: 12px 10px;
    font-size: 14px;
  }
}

/* Нормальная пагинация в админке */

.admin-pagination {
  margin-top: 20px;
  display: flex;
  justify-content: center;
}

.admin-pagination nav {
  display: flex;
  justify-content: center;
  width: 100%;
}

.admin-pagination .flex {
  display: flex;
  align-items: center;
  gap: 6px;
}

.admin-pagination a,
.admin-pagination span {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 34px;
  padding: 0 10px !important;
  border-radius: 10px;
  font-size: 14px !important;
  font-weight: 700;
  line-height: 1 !important;
  text-decoration: none;
}

.admin-pagination svg {
  width: 16px !important;
  height: 16px !important;
  max-width: 16px !important;
  max-height: 16px !important;
}

.admin-pagination p,
.admin-pagination .text-sm,
.admin-pagination .text-gray-700 {
  font-size: 13px !important;
  margin: 0 0 10px 0 !important;
}

.admin-pagination .hidden {
  display: none !important;
}

.admin-pagination a {
  background: #fff;
  color: #222 !important;
  border: 1px solid #ddd;
}

.admin-pagination a:hover {
  background: #f5f5f5;
  border-color: #ccc;
}

.admin-pagination span[aria-current="page"] span {
  background: #d72f15 !important;
  border-color: #d72f15 !important;
  color: #fff !important;
}
/* конец  админки */

/* Модальные окна */

.custom-modal {
  max-width: 520px;
  width: 90%;
  padding: 32px 28px;
  border-radius: 18px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.18);
  background: #ffffff;
}

.modal-title {
  margin: 0 0 24px;
  text-align: center;
  font-size: 28px;
  line-height: 1.25;
  color: #222;
  font-weight: 700;
}

.modal_form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.modal_form label {
  font-size: 16px;
  font-weight: 600;
  color: #222;
  margin-bottom: -6px;
}

.modal_form input[type="text"],
.modal_form input[type="email"],
.modal_form input[type="password"] {
  width: 100%;
  height: 48px;
  border: 1px solid #d8d8d8;
  border-radius: 12px;
  padding: 0 14px;
  font-size: 16px;
  color: #222;
  background-color: #fff;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  box-sizing: border-box;
}

.modal_form input[type="text"]:focus,
.modal_form input[type="email"]:focus,
.modal_form input[type="password"]:focus {
  border-color: #fcc415;
  box-shadow: 0 0 0 3px rgba(252, 196, 21, 0.2);
}

.modal_form input::placeholder {
  color: #9a9a9a;
}

.modal-submit {
  margin-top: 8px;
  height: 50px !important;
  border: none !important;
  border-radius: 14px !important;
  background-color: #d72f15 !important;
  color: #fff !important;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.15s ease;
}

.modal-submit:hover {
  background-color: #b52612 !important;
}

.modal-submit:active {
  transform: scale(0.98);
}

/* затемнение */
.blocker {
  z-index: 2000 !important;
  background: rgba(0, 0, 0, 0.55) !important;
}

.modal {
  z-index: 2100 !important;
}

/* крестик jquery modal */
.modal a.close-modal {
  top: 10px !important;
  right: 10px !important;
  transform: scale(1.1);
}

/* мобильная версия */
@media (max-width: 768px) {
  .custom-modal {
    width: 92%;
    padding: 24px 18px;
    border-radius: 16px;
  }

  .modal-title {
    font-size: 24px;
    margin-bottom: 20px;
  }

  .modal_form input[type="text"],
  .modal_form input[type="email"],
  .modal_form input[type="password"] {
    height: 46px;
    font-size: 15px;
  }

  .modal-submit {
    height: 48px !important;
    font-size: 15px;
  }
}

/* Главная страница */

.welcome-page {
  background-color: #f8f9fa;
  padding: 40px 10px 60px;
}

.welcome-container {
  max-width: 1400px;
  margin: 0 auto;
}

.Title {
  text-align: center;
  font-size: 36px;
  margin-bottom: 40px;
  color: #222;
}

.welcome-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  background-color: #ffffff;
  border-radius: 20px;
  padding: 32px;
  margin-bottom: 32px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.welcome-section--reverse .welcome-section__image {
  order: 2;
}

.welcome-section--reverse .welcome-section__content {
  order: 1;
}

.welcome-section__image img {
  width: 100%;
  max-width: 100%;
  height: 320px;
  object-fit: cover;
  display: block;
  border-radius: 16px;
}

.welcome-section__content h2 {
  font-size: 28px;
  margin-bottom: 16px;
  color: #222;
  line-height: 1.3;
}

.welcome-section__content p {
  font-size: 17px;
  line-height: 1.7;
  color: #444;
  margin: 0;
}

/* Планшеты */
@media (max-width: 992px) {
  .welcome-section {
    gap: 24px;
    padding: 24px;
  }

  .welcome-section__content h2 {
    font-size: 24px;
  }

  .welcome-section__image img {
    height: 260px;
  }
}

/* Телефоны */
@media (max-width: 768px) {
  .welcome-page {
    padding: 25px 12px 40px;
  }

  .Title {
    font-size: 28px;
    margin-bottom: 25px;
  }

  .welcome-section {
    grid-template-columns: 1fr;
    padding: 18px;
    gap: 18px;
    border-radius: 16px;
  }

  .welcome-section--reverse .welcome-section__image,
  .welcome-section--reverse .welcome-section__content {
    order: unset;
  }

  .welcome-section__image img {
    height: 220px;
    border-radius: 12px;
  }

  .welcome-section__content h2 {
    font-size: 22px;
    margin-bottom: 12px;
  }

  .welcome-section__content p {
    font-size: 16px;
    line-height: 1.6;
  }
}

/* Конец главной страницы */

/* ООООЧЕНЬ КРАСИВЫЕ Контакты  */
.contacts-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
}

.contacts-container {
  display: grid;
  grid-template-columns: 400px 642px;
  gap: 40px;
  background: white;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
  overflow: hidden;
  max-width: 1100px;
}

.contact-info {
  padding: 40px;
  background: #f8f9fa;
}

.contact-title {
  font-size: 28px;
  font-weight: 700;
  color: #333;
  margin-bottom: 30px;
  position: relative;
}

.contact-title:after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 50px;
  height: 3px;
  background: #007bff;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

.contact-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-text {
  line-height: 1.5;
  color: #555;
}

.contact-phone {
  color: #007bff;
  text-decoration: none;
  font-weight: 600;
}

.contact-email {
  color: #007bff;
  text-decoration: none;
}

.map-container {
  padding: 0;
}

iframe {
  width: 100%;
  height: 100%;
  min-height: 400px;
  border: none;
}

@media (max-width: 1100px) {
  .contacts-container {
      grid-template-columns: 1fr;
      max-width: 600px;
  }
  
  .map-container {
      order: -1;
  }
}
/* Конец контакты  */

/* Начало FAQ */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.faq-title {
    text-align: center;
    font-size: 32px;
    color: #2c3e50;
    margin-bottom: 40px;
    font-weight: 700;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.faq-item {
    border: 1px solid #e1e8ed;
    border-radius: 12px;
    overflow: hidden;
    background: white;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

.faq-question {
    padding: 20px 25px;
    background: #f8f9fa;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    font-size: 16px;
    color: #2c3e50;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background: #e9ecef;
}

.faq-icon {
    font-size: 20px;
    font-weight: 300;
    transition: transform 0.3s ease;
    color: #007bff;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
  padding: 0 20px;
}

.faq-answer p {
  margin: 0 0 12px;
  line-height: 1.6;
  color: #444;
}

/* Активный */
.faq-item.active .faq-answer {
  max-height: 2000px;
  padding: 0 20px 20px;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-item.active .faq-question {
    background: #e13714;
    color: white;
}

.faq-item.active .faq-question .faq-icon {
    color: white;
}

.faq-answer p:last-child {
  margin-bottom: 0;
}
/* Конец FAQ */

/* Почему выбирают нас */


.about-page {
  background-color: #f8f9fa;
  padding: 40px 15px 60px;
}

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

.about-hero {
  text-align: center;
  margin-bottom: 40px;
}

.about-hero h1 {
  font-size: 40px;
  color: #222;
  margin-bottom: 16px;
}

.about-hero p {
  max-width: 850px;
  margin: 0 auto;
  color: #555;
  font-size: 18px;
  line-height: 1.7;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}

.about-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 28px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  border: 1px solid #ececec;
}

.about-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #fff4d6;
  color: #b56c00;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 18px;
}

.about-card h2 {
  font-size: 24px;
  color: #222;
  margin-bottom: 12px;
}

.about-card p {
  color: #555;
  line-height: 1.7;
  font-size: 16px;
  margin: 0;
}

.about-cta {
  background: #ffffff;
  border-radius: 22px;
  padding: 36px;
  text-align: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  border: 1px solid #ececec;
}

.about-cta h2 {
  font-size: 30px;
  color: #222;
  margin-bottom: 12px;
}

.about-cta p {
  max-width: 760px;
  margin: 0 auto 24px;
  color: #555;
  line-height: 1.7;
  font-size: 17px;
}

.about-cta__btn {
  display: inline-block;
  background-color: #d72f15;
  color: #fff !important;
  text-decoration: none;
  padding: 14px 24px;
  border-radius: 24px;
  font-weight: 700;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.about-cta__btn:hover {
  background-color: #b52612 !important;
}

.about-cta__btn:active {
  transform: scale(0.98);
}

@media (max-width: 1100px) {
  .about-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .about-page {
    padding: 25px 12px 40px;
  }

  .about-container {
    padding: 0 8px;
  }

  .about-hero h1 {
    font-size: 30px;
  }

  .about-hero p {
    font-size: 16px;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .about-card {
    padding: 20px;
    border-radius: 16px;
  }

  .about-card h2 {
    font-size: 22px;
  }

  .about-cta {
    padding: 24px 18px;
    border-radius: 16px;
  }

  .about-cta h2 {
    font-size: 24px;
  }

  .about-cta p {
    font-size: 16px;
  }
}

/* Конец блока Почему выбирают нас */


/* Этапы банкротства */

.steps-section {
  margin: 60px 0;
}

.steps-title {
  text-align: center;
  font-size: 32px;
  color: #222;
  margin-bottom: 30px;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.step-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 26px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  border: 1px solid #ececec;
  text-align: center;
}

.step-number {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #d72f15;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
  margin: 0 auto 16px;
}

.step-card h3 {
  font-size: 20px;
  color: #222;
  margin-bottom: 10px;
}

.step-card p {
  font-size: 15px;
  color: #555;
  line-height: 1.6;
  margin: 0;
}

@media (max-width: 900px) {
  .steps-grid {
    grid-template-columns: 1fr;
  }
}

/* Конец блока этапов */


/* Калькулятор */

.calculator-page {
  background-color: #f8f9fa;
  padding: 40px 15px 60px;
}

.calculator-container {
  max-width: 1400px;
  margin: 0 auto;
}

.calculator-title {
  text-align: center;
  font-size: 36px;
  color: #222;
  margin-bottom: 12px;
}

.calculator-subtitle {
  text-align: center;
  font-size: 17px;
  line-height: 1.6;
  color: #555;
  max-width: 760px;
  margin: 0 auto 30px;
}

.calculator-card {
  background: #fff;
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  margin-bottom: 30px;
}

.calculator-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.calculator-field {
  display: flex;
  flex-direction: column;
}

.calculator-field--full {
  grid-column: 1 / -1;
}

.calculator-field label {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  font-weight: 600;
  margin-bottom: 8px;
  color: #222;
  line-height: 1.4;
}

.calculator-field input {
  height: 48px;
  border: 1px solid #d8d8d8;
  border-radius: 12px;
  padding: 0 14px;
  font-size: 16px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.calculator-field input:focus {
  border-color: #fcc415;
  box-shadow: 0 0 0 3px rgba(252, 196, 21, 0.2);
}

.field-error {
  color: #d72f15;
  font-size: 14px;
  margin-top: 6px;
}

.field-note {
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.5;
  color: #666;
}

.calculator-btn {
  margin-top: 24px;
  border: none;
  background-color: #d72f15;
  color: #fff;
  padding: 14px 24px;
  border-radius: 24px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.calculator-btn:hover {
  background-color: #b52612;
}

.calculator-btn:active {
  transform: scale(0.98);
}

.calculator-result {
  border-radius: 20px;
  padding: 28px;
  margin-bottom: 24px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.calculator-result h2 {
  margin-top: 0;
  margin-bottom: 14px;
  font-size: 28px;
}

.calculator-result__text {
  font-size: 17px;
  line-height: 1.7;
  margin: 0;
}

.calculator-result--danger {
  background: #fff1ef;
  border: 1px solid #f3c2bb;
}

.calculator-result--warning {
  background: #fff8e8;
  border: 1px solid #f2ddb0;
}

.calculator-result--success {
  background: #eefaf0;
  border: 1px solid #c8e7cd;
}

.calculator-note {
  background: #ffffff;
  border-left: 5px solid #fcc415;
  border-radius: 14px;
  padding: 20px 22px;
  color: #444;
  line-height: 1.7;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
}

/* Tooltip */
.tooltip-icon {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background-color: #fcc415;
  color: #000;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  flex-shrink: 0;
}

.tooltip-text {
  visibility: hidden;
  opacity: 0;
  width: 270px;
  background-color: #222;
  color: #fff;
  text-align: left;
  border-radius: 8px;
  padding: 10px;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
  position: absolute;
  bottom: 130%;
  left: 50%;
  transform: translateX(-50%);
  transition: opacity 0.2s ease;
  z-index: 1000;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18);
}

.tooltip-icon:hover .tooltip-text {
  visibility: visible;
  opacity: 1;
}

/* Адаптив */
@media (max-width: 768px) {
  .calculator-page {
    padding: 25px 12px 40px;
  }

  .calculator-title {
    font-size: 28px;
  }

  .calculator-subtitle {
    font-size: 16px;
    margin-bottom: 22px;
  }

  .calculator-card {
    padding: 18px;
    border-radius: 16px;
  }

  .calculator-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .calculator-field--full {
    grid-column: auto;
  }

  .calculator-btn {
    width: 100%;
  }

  .calculator-result {
    padding: 20px;
    border-radius: 16px;
  }

  .calculator-result h2 {
    font-size: 22px;
  }

  .calculator-result__text {
    font-size: 16px;
  }

  .calculator-note {
    padding: 18px;
    font-size: 15px;
  }

  .tooltip-text {
    width: 220px;
    font-size: 13px;
  }
}

/* Визуализация результата калькулятора */

.calculator-visual {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 24px;
  margin-top: 24px;
  align-items: stretch;
}

.calculator-visual__chart {
  background: #ffffff;
  border-radius: 18px;
  padding: 20px;
  min-height: 360px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
}

.calculator-visual__chart canvas {
  width: 100% !important;
  height: 320px !important;
}

.calculator-visual__info {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.visual-info-card {
  background: rgba(255, 255, 255, 0.75);
  border-radius: 14px;
  padding: 16px 18px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.visual-info-card span {
  display: block;
  font-size: 14px;
  color: #666;
  margin-bottom: 8px;
}

.visual-info-card strong {
  font-size: 20px;
  color: #222;
}

@media (max-width: 900px) {
  .calculator-visual {
    grid-template-columns: 1fr;
  }

  .calculator-visual__chart {
    min-height: 300px;
  }

  .calculator-visual__chart canvas {
    height: 260px !important;
  }
}

@media (max-width: 768px) {
  .calculator-visual {
    gap: 18px;
    margin-top: 18px;
  }

  .calculator-visual__chart {
    padding: 16px;
    border-radius: 16px;
    min-height: 260px;
  }

  .calculator-visual__chart canvas {
    height: 220px !important;
  }

  .visual-info-card {
    padding: 14px 16px;
  }

  .visual-info-card strong {
    font-size: 18px;
  }
}

/* Конец визуализации результата калькулятора */

/* Конец калькулятора */
/* Личный кабинет */

.account-page {
  background-color: #f8f9fa;
  padding: 40px 15px 60px;
}

.account-container {
  max-width: 900px;
  margin: 0 auto;
}

.account-title {
  text-align: center;
  font-size: 36px;
  color: #222;
  margin-bottom: 24px;
}

.account-card {
  background: #fff;
  border-radius: 20px;
  padding: 28px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  margin-bottom: 24px;
}

.account-card__title {
  margin: 0 0 20px;
  font-size: 26px;
  color: #222;
}

.account-info {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.account-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid #ececec;
}

.account-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.account-label {
  color: #666;
  font-size: 15px;
}

.account-value {
  color: #222;
  font-weight: 600;
  text-align: right;
}

.account-empty {
  background: #fff8e8;
  border: 1px solid #f2ddb0;
  border-radius: 14px;
  padding: 16px 18px;
  color: #555;
  line-height: 1.6;
}

.account-requests {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.request-card {
  border: 1px solid #ececec;
  border-radius: 16px;
  padding: 18px;
  background: #fafafa;
}

.request-card__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 12px;
}

.request-card__name {
  font-size: 18px;
  font-weight: 700;
  color: #222;
  margin-bottom: 4px;
}

.request-card__date {
  font-size: 14px;
  color: #777;
}

.request-card__body {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.request-card__row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: #555;
}

.request-card__row strong {
  color: #222;
}

.request-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}

.request-status--new {
  background: #fff8e8;
  color: #b56c00;
}

.request-status--sent {
  background: #eefaf0;
  color: #1f7a35;
}

.request-status--error {
  background: #fff1ef;
  color: #c0392b;
}

@media (max-width: 768px) {
  .account-page {
    padding: 25px 12px 40px;
  }

  .account-title {
    font-size: 28px;
  }

  .account-card {
    padding: 20px;
    border-radius: 16px;
  }

  .account-card__title {
    font-size: 22px;
  }

  .account-row,
  .request-card__top,
  .request-card__row {
    flex-direction: column;
    align-items: flex-start;
  }

  .account-value {
    text-align: left;
  }
}

/* Конец личного кабинета */

/* Всплывающие уведомления */

.toast-container {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 5000;
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 380px;
}

.toast {
  padding: 16px 18px;
  border-radius: 14px;
  color: #fff;
  font-size: 15px;
  line-height: 1.5;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.18);
  animation: toastSlideIn 0.35s ease;
}

.toast--success {
  background: #1f7a35;
}

.toast--error {
  background: #d72f15;
}

.toast.hide {
  animation: toastFadeOut 0.35s ease forwards;
}

@keyframes toastSlideIn {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes toastFadeOut {
  from {
    opacity: 1;
    transform: translateX(0);
  }
  to {
    opacity: 0;
    transform: translateX(30px);
  }
}

@media (max-width: 768px) {
  .toast-container {
    top: 12px;
    right: 12px;
    left: 12px;
    max-width: none;
  }

  .toast {
    font-size: 14px;
    padding: 14px 16px;
  }
}

/* Конец уведомлений */



/* слайдер */
.reviews-section {
    padding: 80px 20px;
    text-align: center;
}

.reviews-title {
    font-size: 32px;
    margin-bottom: 40px;
    color: #fff;
}

.review-card {
    background: #151a27;
    padding: 30px;
    border-radius: 20px;
    text-align: left;
    color: #fff;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.review-card h3 {
    margin-bottom: 10px;
}

.review-card p {
    margin-top: 10px;
    line-height: 1.5;
}

.stars {
    color: gold;
    font-size: 18px;
}

.swiper {
    padding-bottom: 50px;
}

/* Отзывы */

.reviews-section {
  margin-top: 50px;
  margin-bottom: 20px;
}

.reviews-title {
  text-align: center;
  font-size: 32px;
  color: #222;
  margin-bottom: 30px;
}

.reviewsSwiper {
  padding: 10px 10px 50px;
  position: relative;
}

.review-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 24px;
  height: 100%;
  min-height: 220px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  border: 1px solid #ececec;
  box-sizing: border-box;
}

.review-card h3 {
  margin: 0 0 10px;
  font-size: 20px;
  color: #222;
}

.review-card p {
  margin: 12px 0 0;
  color: #555;
  line-height: 1.6;
  font-size: 15px;
}

.stars {
  color: #f4b400;
  font-size: 18px;
  letter-spacing: 2px;
}

.reviews-section .swiper-pagination {
  bottom: 0 !important;
}

.reviews-section .swiper-pagination-bullet {
  background: #d72f15;
  opacity: 0.4;
}

.reviews-section .swiper-pagination-bullet-active {
  opacity: 1;
}

.reviews-section .swiper-button-prev,
.reviews-section .swiper-button-next {
  color: #d72f15;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.reviews-section .swiper-button-prev::after,
.reviews-section .swiper-button-next::after {
  font-size: 18px;
  font-weight: 700;
}

@media (max-width: 768px) {
  .reviews-title {
    font-size: 26px;
    margin-bottom: 20px;
  }

  .review-card {
    min-height: auto;
    padding: 20px;
  }

  .review-card h3 {
    font-size: 18px;
  }

  .review-card p {
    font-size: 14px;
  }

  .reviews-section .swiper-button-prev,
  .reviews-section .swiper-button-next {
    display: none;
  }
}

/* звёзды */
.rating-input {
  display: flex;
  flex-direction: row-reverse;
  justify-content: flex-end;
  gap: 6px;
}

.rating-input input {
  display: none;
}

.rating-input label {
  font-size: 24px;
  cursor: pointer;
  color: #ccc;
  transition: 0.2s;
}

.rating-input input:checked ~ label,
.rating-input label:hover,
.rating-input label:hover ~ label {
  color: #fabb30;
}

.stars {
  color: #fabb30;
  font-size: 18px;
  margin-bottom: 6px;
}
/* Конец блока отзывов */

/* Страница услуг */

.services-page {
  background-color: #f8f9fa;
  padding: 40px 15px 60px;
}

.services-container {
  max-width: 1400px;
  margin: 0 auto;
}

.services-title {
  text-align: center;
  font-size: 36px;
  color: #222;
  margin-bottom: 12px;
}

.services-subtitle {
  text-align: center;
  font-size: 17px;
  line-height: 1.6;
  color: #555;
  max-width: 760px;
  margin: 0 auto 35px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.service-card {
  background: #ffffff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  border: 1px solid #ececec;
  display: flex;
  flex-direction: column;
}

.service-card__image img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
}

.service-card__content {
  padding: 24px;
}

.service-card__content h2 {
  margin: 0 0 12px;
  font-size: 26px;
  color: #222;
}

.service-price {
  display: inline-block;
  background: #fff4d6;
  color: #b56c00;
  font-weight: 700;
  padding: 8px 14px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.service-card__content p {
  margin: 0 0 20px;
  color: #555;
  line-height: 1.7;
  font-size: 16px;
}

.service-btn {
  display: inline-block;
  background-color: #d72f15;
  color: #fff !important;
  text-decoration: none;
  padding: 12px 20px;
  border-radius: 24px;
  font-weight: 700;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.service-btn:hover {
  background-color: #b52612 !important;
}

.service-btn:active {
  transform: scale(0.98);
}

@media (max-width: 900px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .services-page {
    padding: 25px 12px 40px;
  }

  .services-title {
    font-size: 28px;
  }

  .services-subtitle {
    font-size: 16px;
    margin-bottom: 24px;
  }

  .service-card__image img {
    height: 220px;
  }

  .service-card__content {
    padding: 18px;
  }

  .service-card__content h2 {
    font-size: 22px;
  }

  .service-card__content p {
    font-size: 15px;
  }
}

/* Конец страницы услуг */

/* подтвеерждение почты */

.verify-page {
  background: #f8f9fa;
  padding: 60px 15px;
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.verify-card {
  width: 100%;
  max-width: 620px;
  background: #fff;
  border-radius: 24px;
  padding: 34px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
  text-align: center;
}

.verify-card h1 {
  margin-bottom: 18px;
  color: #222;
  font-size: 32px;
}

.verify-card p {
  color: #444;
  line-height: 1.6;
  margin-bottom: 14px;
}

.verify-btn {
  border: none;
  background-color: #d72f15;
  color: #fff;
  padding: 12px 22px;
  border-radius: 20px;
  font-weight: 700;
  cursor: pointer;
  margin-top: 12px;
}

.verify-btn:hover {
  background-color: #bd2812;
}

.verify-logout {
  margin-top: 18px;
}

.verify-logout button {
  border: none;
  background: transparent;
  color: #777;
  font-weight: 700;
  cursor: pointer;
}

.verify-logout button:hover {
  color: #d72f15;
}

.verify-alert {
  padding: 12px 16px;
  border-radius: 14px;
  margin-bottom: 18px;
  font-weight: 700;
}

.verify-alert.success {
  background: #d4edda;
  color: #155724;
}

.verify-alert.warning {
  background: #fff3cd;
  color: #856404;
}
/* конец подтверждения почты */

/* Подвал сайта */

/* Подвал сайта */

/* Подвал сайта */

.site-footer {
  background: #fabb30;
  color: #222;
  padding: 42px 15px 20px;
  margin-top: 60px;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 46px;
  align-items: start;
}

.footer-column h3 {
  font-size: 18px;
  margin-bottom: 16px;
  color: #222;
}

.footer-brand p {
  max-width: 520px;
  color: #333;
  line-height: 1.6;
  margin-top: 14px;
  font-weight: 500;
}

.footer-logo {
  max-width: 170px;
  height: auto;
  display: block;
}

.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-column li {
  margin-bottom: 10px;
  color: #333;
  font-weight: 500;
  line-height: 1.5;
}

.footer-column a {
  color: #222;
  text-decoration: none;
  font-weight: 700;
  transition: 0.2s ease;
}

.footer-column a:hover {
  color: #d72f15;
}

.footer-bottom {
  max-width: 1200px;
  margin: 32px auto 0;
  padding-top: 18px;
  border-top: 1px solid rgba(34, 34, 34, 0.18);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: #333;
  font-size: 14px;
  font-weight: 500;
}

.footer-bottom p {
  margin: 0;
}

/* Адаптив подвала */

@media (max-width: 768px) {
  .site-footer {
    padding: 34px 15px 18px;
  }

  .footer-container {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-logo {
    max-width: 150px;
  }

  .footer-column h3 {
    margin-bottom: 12px;
  }

  .footer-brand p {
    max-width: 100%;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}
/* конец подвала */