/**
 * Theme Name:  Rutvain
 * Theme URI:   https://гильдия-рутвейн.бел/
 * Author:      javadimus
 * Version:     1.0.0
 * License:     GNU General Public License v2 or later
 * Text Domain: rutvain
 */

 @font-face {
  font-family: "Montserrat";
  src: url("assets/fonts/Montserrat-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Montserrat Bold";
  src: url("assets/fonts/Montserrat-Bold.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

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

/* 2. Нормализация для body */
body {
  margin: 0;
  min-height: 100vh;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

/* 3. Нормализация для заголовков */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: inherit;
  font-weight: inherit;
  margin: 0;
}

/* 4. Сброс списков */
ul,
ol {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* 5. Сброс ссылок */
a {
  text-decoration: none;
  color: inherit;
  background-color: transparent;
}

/* 6. Нормализация для изображений */
img,
picture,
svg,
video {
  display: block;
  max-width: 100%;
  height: auto;
}

/* 7. Сброс форм */
input,
button,
textarea,
select {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  outline: none;
  margin: 0;
}

/* 8. Сброс кнопок */
button {
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
}

/* 9. Сброс полей ввода */
input,
textarea {
  border: none;
  outline: none;
}

/* 10. Нормализация для таблиц */
table {
  border-collapse: collapse;
  border-spacing: 0;
  width: 100%;
}

/* 11. Убираем стандартные маркеры */
::-webkit-details-marker {
  display: none;
}

/* 12. Для модальных окон */
dialog {
  border: none;
  background: none;
  padding: 0;
}

html,
body {
  scroll-behavior: smooth;
  max-width: 100%;
}

body {
  position: relative;
  margin: 0;
  padding: 0;
  width: 100%;
  font-family: "Montserrat", sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: #212529;
  background-color: #fff;
}

.container {
  width: 100%;
  padding-right: 15px;
  padding-left: 15px;
  margin-right: auto;
  margin-left: auto;
}

@media (min-width: 576px) {
  .container {
    max-width: 540px;
  }
}
@media (min-width: 768px) {
  .container {
    max-width: 720px;
  }
}
@media (min-width: 992px) {
  .container {
    max-width: 960px;
  }
}
@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }
}
@media (min-width: 1400px) {
  .container {
    max-width: 1320px;
  }
}

.container-fluid {
  width: 100%;
  padding-right: 15px;
  padding-left: 15px;
  margin-right: auto;
  margin-left: auto;
}

.row {
  display: flex;
  flex-wrap: wrap;
  position: relative;
  margin-right: -15px;
  margin-left: -15px;
}

.col {
  position: relative;
  padding-right: 15px;
  padding-left: 15px;
}

[class*="col-"] {
  position: relative;
  width: 100%;
  padding-right: 15px;
  padding-left: 15px;
}

.col-1 {
  flex: 0 0 8.333333%;
  max-width: 8.333333%;
}
.col-2 {
  flex: 0 0 16.666667%;
  max-width: 16.666667%;
}
.col-3 {
  flex: 0 0 25%;
  max-width: 25%;
}
.col-4 {
  flex: 0 0 33.333333%;
  max-width: 33.333333%;
}
.col-5 {
  flex: 0 0 41.666667%;
  max-width: 41.666667%;
}
.col-6 {
  flex: 0 0 50%;
  max-width: 50%;
}
.col-7 {
  flex: 0 0 58.333333%;
  max-width: 58.333333%;
}
.col-8 {
  flex: 0 0 66.666667%;
  max-width: 66.666667%;
}
.col-9 {
  flex: 0 0 75%;
  max-width: 75%;
}
.col-10 {
  flex: 0 0 83.333333%;
  max-width: 83.333333%;
}
.col-11 {
  flex: 0 0 91.666667%;
  max-width: 91.666667%;
}
.col-12 {
  flex: 0 0 100%;
  max-width: 100%;
}

@media (min-width: 576px) {
  .col-sm-1 {
    flex: 0 0 8.333333%;
    max-width: 8.333333%;
  }
  .col-sm-2 {
    flex: 0 0 16.666667%;
    max-width: 16.666667%;
  }
  .col-sm-3 {
    flex: 0 0 25%;
    max-width: 25%;
  }
  .col-sm-4 {
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
  }
  .col-sm-5 {
    flex: 0 0 41.666667%;
    max-width: 41.666667%;
  }
  .col-sm-6 {
    flex: 0 0 50%;
    max-width: 50%;
  }
  .col-sm-7 {
    flex: 0 0 58.333333%;
    max-width: 58.333333%;
  }
  .col-sm-8 {
    flex: 0 0 66.666667%;
    max-width: 66.666667%;
  }
  .col-sm-9 {
    flex: 0 0 75%;
    max-width: 75%;
  }
  .col-sm-10 {
    flex: 0 0 83.333333%;
    max-width: 83.333333%;
  }
  .col-sm-11 {
    flex: 0 0 91.666667%;
    max-width: 91.666667%;
  }
  .col-sm-12 {
    flex: 0 0 100%;
    max-width: 100%;
  }
}

@media (min-width: 768px) {
  .col-md-1 {
    flex: 0 0 8.333333%;
    max-width: 8.333333%;
  }
  .col-md-2 {
    flex: 0 0 16.666667%;
    max-width: 16.666667%;
  }
  .col-md-3 {
    flex: 0 0 25%;
    max-width: 25%;
  }
  .col-md-4 {
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
  }
  .col-md-5 {
    flex: 0 0 41.666667%;
    max-width: 41.666667%;
  }
  .col-md-6 {
    flex: 0 0 50%;
    max-width: 50%;
  }
  .col-md-7 {
    flex: 0 0 58.333333%;
    max-width: 58.333333%;
  }
  .col-md-8 {
    flex: 0 0 66.666667%;
    max-width: 66.666667%;
  }
  .col-md-9 {
    flex: 0 0 75%;
    max-width: 75%;
  }
  .col-md-10 {
    flex: 0 0 83.333333%;
    max-width: 83.333333%;
  }
  .col-md-11 {
    flex: 0 0 91.666667%;
    max-width: 91.666667%;
  }
  .col-md-12 {
    flex: 0 0 100%;
    max-width: 100%;
  }
}

@media (min-width: 992px) {
  .col-lg-1 {
    flex: 0 0 8.333333%;
    max-width: 8.333333%;
  }
  .col-lg-2 {
    flex: 0 0 16.666667%;
    max-width: 16.666667%;
  }
  .col-lg-3 {
    flex: 0 0 25%;
    max-width: 25%;
  }
  .col-lg-4 {
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
  }
  .col-lg-5 {
    flex: 0 0 41.666667%;
    max-width: 41.666667%;
  }
  .col-lg-6 {
    flex: 0 0 50%;
    max-width: 50%;
  }
  .col-lg-7 {
    flex: 0 0 58.333333%;
    max-width: 58.333333%;
  }
  .col-lg-8 {
    flex: 0 0 66.666667%;
    max-width: 66.666667%;
  }
  .col-lg-9 {
    flex: 0 0 75%;
    max-width: 75%;
  }
  .col-lg-10 {
    flex: 0 0 83.333333%;
    max-width: 83.333333%;
  }
  .col-lg-11 {
    flex: 0 0 91.666667%;
    max-width: 91.666667%;
  }
  .col-lg-12 {
    flex: 0 0 100%;
    max-width: 100%;
  }
}

@media (min-width: 1200px) {
  .col-xl-1 {
    flex: 0 0 8.333333%;
    max-width: 8.333333%;
  }
  .col-xl-2 {
    flex: 0 0 16.666667%;
    max-width: 16.666667%;
  }
  .col-xl-3 {
    flex: 0 0 25%;
    max-width: 25%;
  }
  .col-xl-4 {
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
  }
  .col-xl-5 {
    flex: 0 0 41.666667%;
    max-width: 41.666667%;
  }
  .col-xl-6 {
    flex: 0 0 50%;
    max-width: 50%;
  }
  .col-xl-7 {
    flex: 0 0 58.333333%;
    max-width: 58.333333%;
  }
  .col-xl-8 {
    flex: 0 0 66.666667%;
    max-width: 66.666667%;
  }
  .col-xl-9 {
    flex: 0 0 75%;
    max-width: 75%;
  }
  .col-xl-10 {
    flex: 0 0 83.333333%;
    max-width: 83.333333%;
  }
  .col-xl-11 {
    flex: 0 0 91.666667%;
    max-width: 91.666667%;
  }
  .col-xl-12 {
    flex: 0 0 100%;
    max-width: 100%;
  }
}

@media (min-width: 1400px) {
  .col-xxl-1 {
    flex: 0 0 8.333333%;
    max-width: 8.333333%;
  }
  .col-xxl-2 {
    flex: 0 0 16.666667%;
    max-width: 16.666667%;
  }
  .col-xxl-3 {
    flex: 0 0 25%;
    max-width: 25%;
  }
  .col-xxl-4 {
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
  }
  .col-xxl-5 {
    flex: 0 0 41.666667%;
    max-width: 41.666667%;
  }
  .col-xxl-6 {
    flex: 0 0 50%;
    max-width: 50%;
  }
  .col-xxl-7 {
    flex: 0 0 58.333333%;
    max-width: 58.333333%;
  }
  .col-xxl-8 {
    flex: 0 0 66.666667%;
    max-width: 66.666667%;
  }
  .col-xxl-9 {
    flex: 0 0 75%;
    max-width: 75%;
  }
  .col-xxl-10 {
    flex: 0 0 83.333333%;
    max-width: 83.333333%;
  }
  .col-xxl-11 {
    flex: 0 0 91.666667%;
    max-width: 91.666667%;
  }
  .col-xxl-12 {
    flex: 0 0 100%;
    max-width: 100%;
  }
}

/* Custom styles */
section {
  scroll-margin-top: 95px;
}

.logo-title {
  display: block;
  font-size: 40px;
  font-family: "Montserrat Bold", sans-serif;
}
.logo-subtitle {
  font-size: 14px;
  text-transform: uppercase;
  color: #00a896;
}
.main-menu,
.contacts {
  align-self: center;
}

.main-menu-list {
  display: flex;
  justify-content: center;
}

.main-menu-list li {
  margin: 0 10px;
}
.main-menu-list li a:hover {
  color: #00a896;
  transition: color 0.4s linear;
}
.icon-location,
.icon-tel {
  width: 24px;
  height: 24px;
  display: inline-block;
  vertical-align: middle;
  margin-right: 5px;
}
.icon-down-arrow {
  width: 20px;
  height: 20px;
  display: inline-block;
  vertical-align: middle;
  margin-left: 5px;
  cursor: pointer;
}
.location,
.tel-box {
  margin: 15px 10px;
}
.tel-btn {
  font-weight: bold;
}
.tel-box {
  position: relative;
}

.top-tel {
  position: absolute;
  transition: 0.25s, left;
  opacity: 0;
  visibility: hidden;
  transform: translate3d(0, 0, 0) scaleY(0);
  transform-origin: left top;
  top: 100%;
  left: 10px;
  z-index: 120;
  background-color: #fff;
  padding: 16px 24px;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
  min-width: 203px;
}
.tel-box:hover .top-tel {
  opacity: 1;
  visibility: visible;
  transform: translate3d(0, 0, 0) scaleY(1);
}
.tel-box:hover .icon-down-arrow {
  transform: rotate(180deg);
  transition: all 0.3s;
}
.top-tel-title {
  /*font-weight: bold;*/
  text-decoration: underline;
  margin-bottom: 5px;
}
.top-tel-list a {
  display: block;
  padding: 5px 0;
  margin: 5px 0;
}
.top-tel-list a:hover {
  color: #00a896;
  transition: color 0.4s linear;
}
.top-tel-worktime {
  margin-top: 20px;
}
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
}
.section-title {
  font-family: "Montserrat Bold", sans-serif;
  font-size: 24px;
  font-weight: bold;
  text-align: center;
}

/* Presentation */
.presentation h1 {
  font-family: "Montserrat Bold", sans-serif;
  text-align: center;
  font-weight: bold;
  font-size: 28px;
  margin: 40px 0;
}

.presentation h2 {
  text-align: center;
  font-size: 22px;
  margin: 20px 0;
}
.presentation figure {
  padding-bottom: 40px;
}
.presentation figure img {
  margin: 0 auto;
}

/* Services */
.services {
  background-color: #f0faf9;
  padding-top: 40px;
}
.service-card {
  border-radius: 20px;
  padding: 20px;
  padding-top: 400px;
  overflow: hidden;
  position: relative;
  background-color: #fff;
  box-shadow: 0 4px 20px rgba(46, 79, 79, 0.06);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(46, 79, 79, 0.08);
}
.wrap-cards {
  padding: 20px 0 40px;
  justify-content: center;
}
.card-item {
  position: relative;
  margin: 30px;
}
.card-title {
  font-weight: bold;
  margin-bottom: 10px;
}
.service-text {
  position: absolute;
  height: 150px;
  width: 100%;
  background: #fff;
  bottom: 0;
  left: 0;
  padding: 20px;
}

.service-tax {
  background: url(./assets/img/serv1.jpg) left top -300px no-repeat;
}
.service-law {
  background: url(./assets/img/serv2.jpg) left top -230px no-repeat;
}
.service-time {
  background: url(./assets/img/serv3.jpg) left top -175px no-repeat;
}

/* Benefits */
.benefits {
  padding-top: 40px;
}
.section-name {
  text-align: center;
}
.section-name p {
  max-width: 568px;
  margin: 20px auto 40px;
}
.bonus {
  display: flex;
  align-items: center;
  background-color: #f0faf9;
  border-radius: 20px;
  padding: 20px;
  margin: 0 0 40px;
}
.bonus-title {
  font-weight: bold;
  margin-bottom: 10px;
}
.wrap-text p {
  min-height: 50px;
}
.bonus svg {
  width: 48px;
  height: 48px;
  margin-right: 20px;
  stroke: #00a896;
}
/* Company */
.company {
  padding-top: 40px;
  background: linear-gradient(270deg, #e0f2f1 0%, #b2ebf2 45%, #e0f7fa 100%);
}
.company .wrap-text {
  max-width: 568px;
  margin: 20px auto 40px;
}
.company .wrap-text p {
  margin-bottom: 10px;
}

.send-request-btn {
  display: block;
  margin: 40px auto;
  padding: 10px 20px;
  background-color: #00a896;
  border: 1px solid #00a896;
  border-radius: 240px;
  color: #fff;
  font-weight: bold;
}
.send-request-btn:hover {
  color: #00a896;
  background-color: #fff;
  transition: all 0.25s linear;
}

.get-in-touch {
  position: absolute;
  background: rgba(255, 255, 255, 0.95);
  padding: 20px;
  border-radius: 20px;
  right: 0;
  top: 20px;
  transition: opacity .2s ease-in-out;
}
.get-in-touch h3 {
  font-weight: bold;
  margin: 10px 0 5px;
}
.get-in-touch h4 {
  text-decoration: underline;
  margin: 10px 0;
  font-size: 18px;
}
.map-tel-list,
.map-mail-list {
  margin-left: 20px;
  list-style-type: circle;
}
.map-close {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 36px;
  height: 36px;
  cursor: pointer;
  border: 1px solid rgba(0, 0, 0, 0.6);
  border-radius: 50%;
  z-index: 10;
  transition: all 0.2s ease;
}

.map-close::before,
.map-close::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 18px;
  height: 2px;
  background-color: rgba(0, 0, 0, 0.6);
  border-radius: 2px;
}
.map-close::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.map-close::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}
.get-in-touch li {
  margin: 5px 0;
}
.get-in-touch li a:hover {
  color: #00a896;
  transition: color 0.3s linear;
}
/* Modal starts */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.3s ease,
    visibility 0.3s ease;
  z-index: 1000;
}

/* Активное состояние оверлея */
.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Контент модального окна */
.modal-content {
  background: white;
  border-radius: 10px;
  padding: 30px;
  max-width: 500px;
  width: 90%;
  position: relative;
  transform: scale(0.7);
  transition: transform 0.3s ease;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Активное состояние контента */
.modal-overlay.active .modal-content {
  transform: scale(1);
}

/* Кнопка закрытия (крестик) */
.modal-close {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 28px;
  cursor: pointer;
  color: #999;
  transition: color 0.3s;
  line-height: 1;
}

.modal-close:hover {
  color: #333;
}

/* Заголовок */
.modal-content h2 {
  margin-bottom: 20px;
  color: #333;
  font-size: 24px;
}

/* Форма */
.modal-form input,
.modal-form textarea {
  width: 100%;
  padding: 10px;
  margin-bottom: 15px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 14px;
  box-sizing: border-box;
}

.modal-form textarea {
  resize: vertical;
  min-height: 100px;
}

#modalOverlay .modal-form button[type="submit"] {
  width: 100%;
  padding: 10px 20px;
  background-color: #00a896;
  color: white;
  border: 1px solid #00a896;
  font-weight: bold;
  border-radius: 20px;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s;
}

#modalOverlay .modal-form button[type="submit"]:hover {
  background-color: #fff;
  color: #00a896;
}
/* Modal ends */
.footer {
  padding: 40px 0 20px;
  background-color: #1e3a3a;
  color: #d4e8e8;
}
.copyrights {
  margin-top: 40px;
}
.copyrights p {
  margin: 20px 0;
  text-align: center;
}
.footer a {
  color: #b2ebf2;
  transition: all 0.25s linear;
}
.footer a:hover {
  color: #ffffff;
}
.footer h3 {
  text-transform: uppercase;
  color: #4db6ac;
  margin-bottom: 10px;
}
.footer h5 {
  color: #fff;
  font-weight: bold;
  margin: 10px 0;
}
.footer .logo-title {
  color: #b2ebf2;
}
.footer .logo-subtitle {
  color: #4db6ac;
}
.footer-branding p:last-child {
  margin-top: 10px;
}
/* Adaptipe styles */
.mobile-menu,
.nav-toggle {
  display: none;
}
.nav-toggle {
  position: relative;
  z-index: 120;
  width: 44px;
  height: 44px;
  padding: 0;
  border: none;
  border-radius: 10px;
  background: #e0f2f1;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.nav-toggle__line {
  display: block;
  width: 22px;
  height: 2px;
  background: #2e4f4f;
  border-radius: 2px;
  transition:
    transform 0.25s ease,
    opacity 0.2s ease;
}
.header-panel {
  justify-content: space-between;
}
.group-nav {
  display: flex;
}
.everest-forms input:focus,
.everest-forms textarea:focus,
.wp-block-everest-forms-form-selector input:focus,
.wp-block-everest-forms-form-selector textarea:focus {
    outline: 0;
    border: 1px solid #00a896;
}
/* page styles */

.main {
    padding: 40px 0;
    background-color: #ffffff;
}

/* ===== ЗАГОЛОВКИ ===== */
.main h1 {
    font-size: 32px;
    font-weight: 600;
    color: #212529;
    margin-bottom: 20px;
    letter-spacing: -0.3px;
    border-left: 4px solid #00a896;
    padding-left: 20px;
}

.main h2 {
    font-size: 26px;
    font-weight: 600;
    color: #212529;
    margin: 35px 0 20px 0;
    letter-spacing: -0.2px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e6e9ec;
}

.main h3 {
    font-size: 22px;
    font-weight: 500;
    margin: 25px 0 15px 0;
}

.main h4 {
    font-size: 18px;
    font-weight: 500;
    margin: 20px 0 12px 0;
}

.main h5 {
    font-size: 16px;
    font-weight: 600;
    margin: 15px 0 10px 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.main h6 {
    font-size: 14px;
    font-weight: 600;
    margin: 12px 0 8px 0;
}

/* ===== ХЛЕБНЫЕ КРОШКИ ===== */
.main .breadcrumbs,
.main .rank-math-breadcrumb {
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e6e9ec;
    font-size: 14px;
}

.main .breadcrumbs a,
.main .rank-math-breadcrumb a {
    color: #4db6ac;
    text-decoration: none;
    transition: color 0.2s ease;
}

.main .breadcrumbs a:hover,
.main .rank-math-breadcrumb a:hover {
    color: #00a896;
    text-decoration: underline;
}

.main .breadcrumbs .separator,
.main .rank-math-breadcrumb .separator {
    margin: 0 8px;
    color: #bdc3c7;
}

.main .breadcrumbs .current,
.main .rank-math-breadcrumb .current {
    color: #34495e;
    font-weight: 500;
}

/* ===== АБЗАЦЫ ===== */
.main p {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.main p:last-child {
    margin-bottom: 0;
}

/* Выделенный абзац */
.main p.lead,
.main .lead {
    font-size: 18px;
    line-height: 1.5;
    color: #2c3e50;
    font-weight: 400;
    margin-bottom: 25px;
    padding: 15px 0;
}

/* ===== СПИСКИ ===== */

/* Маркированный список (неупорядоченный) */
.main ul {
    margin: 20px 0 25px 30px;
    padding: 0;
    list-style: none;
}

.main ul li {
    position: relative;
    font-size: 16px;
    line-height: 1.6;
    color: #34495e;
    margin-bottom: 10px;
    padding-left: 25px;
}

.main ul li::before {
    content: "—";
    position: absolute;
    left: 0;
    color: #2c7da0;
    font-weight: 500;
}

/* Альтернативный маркер (галочка) для преимуществ */
.main ul.check-list li::before {
    content: "✓";
    color: #27ae60;
    font-weight: bold;
}

/* Маркированный список с точками */
.main ul.dotted-list li::before {
    content: "●";
    font-size: 12px;
    top: 2px;
}

/* Нумерованный список */
.main ol {
    margin: 20px 0 25px 30px;
    padding: 0;
    list-style: none;
    counter-reset: item;
}

.main ol li {
    position: relative;
    font-size: 16px;
    line-height: 1.6;
    color: #34495e;
    margin-bottom: 10px;
    padding-left: 30px;
    counter-increment: item;
}

.main ol li::before {
    content: counter(item) ".";
    position: absolute;
    left: 0;
    color: #2c7da0;
    font-weight: 600;
}

/* Двухуровневые списки */
.main ul ul,
.main ol ul,
.main ul ol,
.main ol ol {
    margin: 8px 0 8px 20px;
}

.main ul ul li::before {
    content: "•";
    color: #7f8c8d;
}

/* ===== ТАБЛИЦЫ ===== */
.main table {
    width: 100%;
    margin: 25px 0;
    border-collapse: collapse;
    font-size: 15px;
    background: #ffffff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.main th {
    background-color: #2c7da0;
    color: #ffffff;
    padding: 12px 15px;
    text-align: left;
    font-weight: 600;
}

.main td {
    border: 1px solid #e6e9ec;
    padding: 10px 15px;
    color: #34495e;
}

.main tr:nth-child(even) {
    background-color: #f8fafc;
}

.main tr:hover {
    background-color: #f0f5f8;
}

/* ===== ЦИТАТЫ ===== */
.main blockquote {
    margin: 25px 0;
    padding: 20px 25px;
    background-color: #f8fafc;
    border-left: 4px solid #2c7da0;
    font-style: italic;
    color: #2c3e50;
    font-size: 16px;
    line-height: 1.6;
}

.main blockquote p {
    margin-bottom: 0;
}

.main blockquote cite {
    display: block;
    margin-top: 10px;
    font-size: 14px;
    color: #7f8c8d;
    font-style: normal;
}

/* ===== ССЫЛКИ ===== */
.main a {
    color: #2c7da0;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: all 0.2s ease;
}

.main a:hover {
    color: #1a5a75;
    border-bottom-color: #2c7da0;
}

/* Ссылка-кнопка */
.main .btn-link {
    display: inline-block;
    padding: 8px 20px;
    background-color: #2c7da0;
    color: #ffffff;
    border: none;
    border-radius: 4px;
    font-weight: 500;
    text-decoration: none;
    transition: background-color 0.2s ease;
}

.main .btn-link:hover {
    background-color: #1a5a75;
    border-bottom: none;
}

/* ===== СТРОЧНЫЕ ЭЛЕМЕНТЫ ===== */
.main strong,
.main b {
    font-weight: 600;
    color: #1a2a3a;
}

.main em,
.main i {
    font-style: italic;
    color: #2c7da0;
}

.main mark {
    background-color: #fff3cd;
    padding: 2px 4px;
    border-radius: 3px;
}

.main small {
    font-size: 13px;
    color: #7f8c8d;
}

/* ===== КОД ===== */
.main code {
    font-family: 'Courier New', monospace;
    background-color: #f4f6f8;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 14px;
    color: #c0392b;
}

.main pre {
    background-color: #2c3e50;
    color: #ecf0f1;
    padding: 15px 20px;
    border-radius: 6px;
    overflow-x: auto;
    margin: 20px 0;
    font-size: 14px;
    line-height: 1.5;
}

.main pre code {
    background: none;
    color: inherit;
    padding: 0;
}

/* ===== ИЗОБРАЖЕНИЯ ===== */
.main img {
    max-width: 100%;
    height: auto;
    border-radius: 6px;
    margin: 20px 0;
}

.main figure {
    margin: 25px 0;
    text-align: center;
}

.main figcaption {
    margin-top: 10px;
    font-size: 13px;
    color: #7f8c8d;
    font-style: italic;
}

/* ===== ВЫДЕЛЕНИЯ И ИНФО-БЛОКИ ===== */
.main .notice,
.main .alert {
    padding: 15px 20px;
    margin: 25px 0;
    border-radius: 6px;
    font-size: 15px;
    line-height: 1.5;
}

.main .notice-info {
    background-color: #e8f4f8;
    border-left: 4px solid #2c7da0;
    color: #1a5a75;
}

.main .notice-success {
    background-color: #e8f8f0;
    border-left: 4px solid #27ae60;
    color: #1e7a4a;
}

.main .notice-warning {
    background-color: #fff8e7;
    border-left: 4px solid #f39c12;
    color: #b8600a;
}

.main .notice-error {
    background-color: #feefef;
    border-left: 4px solid #e74c3c;
    color: #c0392b;
}

/* ===== РАЗДЕЛИТЕЛИ ===== */
.main hr {
    margin: 35px 0;
    border: none;
    height: 1px;
    background: linear-gradient(90deg, #e6e9ec, #bdc3c7, #e6e9ec);
}

/* ===== АДАПТИВНОСТЬ ===== */
@media (max-width: 768px) {
    .main {
        padding: 25px 0;
    }

    .main h1 {
        font-size: 26px;
        padding-left: 15px;
    }

    .main h2 {
        font-size: 22px;
    }

    .main h3 {
        font-size: 19px;
    }

    .main p {
        font-size: 15px;
        line-height: 1.5;
    }

    .main ul,
    .main ol {
        margin-left: 20px;
    }

    .main table {
        font-size: 13px;
    }

    .main th,
    .main td {
        padding: 8px 10px;
    }
}

@media (max-width: 576px) {
    .main {
        padding: 20px 0;
    }

    .main h1 {
        font-size: 24px;
    }

    .main h2 {
        font-size: 20px;
    }

    .main h3 {
        font-size: 18px;
    }

    .main blockquote {
        padding: 15px 20px;
    }
}

/* ===== ПЕЧАТЬ ===== */
@media print {
    .main {
        padding: 0;
    }

    .main a {
        color: #000;
        text-decoration: underline;
    }

    .main .breadcrumbs {
        display: none;
    }

    .main blockquote {
        border-left: 2px solid #000;
    }
}
@media (max-width: 1024px) {
  .mobile-menu,
  .nav-toggle {
    display: flex;
  }
  .logo-title {
    font-size: 28px;
  }
  .mobile-menu {
    margin-top: 10px;
  }
  .mobile-menu-open .nav-toggle__line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  .mobile-menu-open .nav-toggle__line:nth-child(2) {
    opacity: 0;
  }
  .mobile-menu-open .nav-toggle__line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
  .main-menu {
    align-self: flex-start;
  }
  .main-menu-list {
    flex-direction: column;
  }
  .main-menu-list a {
    display: block;
    padding: 10px 0;
  }

  .group-nav {
    display: flex;
    flex-direction: column;
    width: 100%;
    position: absolute;
    opacity: 0;
    visibility: hidden;
  }

  .group-nav-open {
    position: relative;
    opacity: 1;
    visibility: visible;
    transition: all 0.3s linear;
  }
  .tel-box p.main-phone {
    display: none;
  }
  .group-nav-open .top-tel {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    background-color: transparent;
    padding: 0;
    box-shadow: none;
    min-width: inherit;
  }
  .footer h3 {
    margin-top: 20px;
  }
  .icon-location, .icon-tel, .top-tel-title {
    display: none;
  }
  .main-menu, .contacts {
    align-self: flex-start;
  }
  .service-tax {
  background: url(./assets/img/serv1.jpg) left top -300px no-repeat;
  background-size: cover;
}
.service-law {
  background: url(./assets/img/serv2.jpg) left top -230px no-repeat;
  background-size: cover;
}
.service-time {
  background: url(./assets/img/serv3.jpg) left top -175px no-repeat;
  background-size: cover;
}
}

#moove_gdpr_cookie_modal .moove-gdpr-modal-content.logo-position-left .moove-gdpr-company-logo-holder {
  text-align: center!important;
}