@font-face {
    font-family: 'Lora';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/Lora-Regular.woff') format('woff'), url('../fonts/Lora-Regular.woff2') format('woff2');
}

@font-face {
    font-family: 'Lora';
    font-style: normal;
    font-weight: 500;
    src: url('../fonts/Lora-Medium.woff') format('woff'), url('../fonts/Lora-Medium.woff2') format('woff2');
}

@font-face {
    font-family: 'Lora';
    font-style: normal;
    font-weight: 600;
    src: url('../fonts/Lora-SemiBold.woff') format('woff'), url('../fonts/Lora-SemiBold.woff2') format('woff2');
}

@font-face {
    font-family: 'Lora';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/Lora-Bold.woff') format('woff'), url('../fonts/Lora-Bold.woff2') format('woff2');
}

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

@font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 500;
    src: url('../fonts/Montserrat-Medium.woff') format('woff'), url('../fonts/Montserrat-Medium.woff2') format('woff2');
}

@font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 600;
    src: url('../fonts/Montserrat-SemiBold.woff') format('woff'), url('../fonts/Montserrat-SemiBold.woff2') format('woff2');
}

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

:root {
    box-sizing: border-box;
}

*,
::before,
::after {
    box-sizing: inherit;
}

body {
    margin: 0;
    font-family: 'Montserrat', sans-serif;
    background: #fff;
}

h1 {
    font-family: 'Lora', sans-serif;
    font-weight: 500 !important;
    font-size: 40px !important;
    line-height: 140%;
    color: #1E1E1E;
}

h2 {
    font-family: 'Lora', sans-serif;
    font-weight: 400 !important;
    font-size: 40px !important;
    line-height: 140%;
    color: #1E1E1E;
}

h3 {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 700;
    font-size: 16px;
    line-height: 160%;
    color: #1E1E1E;
}

strong {
    color: #1E1E1E;
}

p {
    padding-bottom: 24px;
}

.page-header {
    margin-bottom: 24px;
}

.logo-description {
    font-family: 'Lora', sans-serif;
}

.nav.menu > li {
    position: relative;
}

.nav.menu .parent > .nav-child {
    visibility: hidden;
    transition: all 0.25s linear;
    opacity: 0;
}

.nav.menu .parent:hover > .nav-child {
    visibility: visible;
    opacity: 1;
}

.nav-child {
    position: absolute;
    background: #fff;
    padding: 12px 16px;
    border: 1px solid #EAEAEA;
    min-width: 260px;
    top: 35px;
    z-index: 100;
}

.nav-child li:not(:last-child) {
    margin-bottom: 8px;
}

.inner-slide {
    min-height: 480px;
    display: flex;
    margin-left: 360px;
    align-items: center;
    column-gap: 84px;
}

@media (max-width: 1689px) {
    .inner-slide {
        margin-left: 10%;
    }
}

.page-header {
    position: relative;
}

.page-header::after {
    content: '';
    position: absolute;
    left: -340px;
    right: -340px;
    background: #FDF8FA;
    height: 100%;
    z-index: -1;
    top: 0;
}

.article-body dl {
    padding-left: 32px;
}

.article-body dt {
    font-weight: 600;
    font-size: 18px;
    line-height: 160%;
    color: #000;
    margin-bottom: 16px;
    position: relative;
}

.article-body dt::before {
    content: '';
    position: absolute;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='13' viewBox='0 0 12 13' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='6' cy='6.5' r='4.5' stroke='%23E35A6F' stroke-width='3'/%3E%3C/svg%3E");
    width: 12px;
    height: 13px;
    left: -20px;
    top: 8px;    
}

.article-body dd:not(:last-child) {
    margin-bottom: 32px;
}

.article-body h2 {
    margin-bottom: 40px;
    margin-top: 80px;
}

.article-body ul {
    padding-left: 32px;
    counter-reset: li;    
}

.article-body ul > li,
.article-body ul > ol {
    position: relative;
}

.article-body ul > li:not(:last-child),
.article-body ul > ol:not(:last-child) {
    margin-bottom: 12px;    
}

.article-body ul > li::before {
    counter-increment: li;
    content: counter(li)".";
    position: absolute;
    left: -32px;
    bottom: -2px;
    font-weight: 600;
    font-size: 18px;
    line-height: 160%;
    color: #E35A6F;
}

.article-body h3 {
    font-family: 'Lora', sans-serif;
    font-weight: 500;
    font-size: 40px;
    line-height: 140%;
    color: #1E1E1E;
    margin-bottom: 40px;
}

.service-price {
    display: table;
    width: 100%;
}

.service-price__row {
    display: table-row;    
}

.service-price__cell {
    display: table-cell;
    border-bottom: 1px solid #F6CDD4;
    font-size: 18px;
    line-height: 160%;
    color: #000000;
    padding: 23px 24px;
}

.service-price__cell:nth-child(2n) {
    text-align: right;
    font-weight: 600;
}

.service-price__cell--head {
    display: table-cell;
    background: #FEF3F6;
    font-weight: 600;
    padding: 23px 24px;
}

.change-color-link{
  color: #1E1E1E; /* Цвет ссылки */
  font-size: 1.5em;
  font-weight: bold;
  padding: 20px 0px;
  line-height: 1;
  text-decoration: none;
  -webkit-transition: all 1s ease;
          transition: all 1s ease; /* Время изменения цвета */
}
.change-color-link:hover{
  color: #E6345E; /* Меняем цвет ссылки */
}

.elem-hover {
    border: 1px solid rgba(0,0,0,0);
}
.elem-hover:hover {
   border: 1px solid #E6345E;
}

.main-portfolio {
    grid-template-columns: repeat(auto-fill, minmax(286px, 1fr));
    grid-auto-rows: 320px;
    grid-auto-flow: dense;
}

.main-portfolio__img-wrapper {
    display: flex;
}

.main-portfolio__image {
    flex: 1;
    object-fit: cover;
}
@media (max-width: 576px) {
    #callback-modal > div:last-child {
        max-width: 90%;
        top: 50%;
        left: 50%;
    }
}
