

/* Start:/services/templates/semeynyy-advokat/style.css?178705420762067*/
.bx-core .family-service-page,
body:has(.family-service-page) {
    background: #fffefc;
}

body:has(.family-service-page) {
    padding: 0;
}

.family-service-page {
    color: #666565;
    background: #fffefc;
}

.family-service-page .family-breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-top: 30px;
    margin-bottom: 64px;
    font-family: "Montserrat", sans-serif;
    font-size: 14px;
    line-height: 1.35;
}

.family-service-page .family-breadcrumbs__link,
.family-service-page .family-breadcrumbs__current {
    overflow-wrap: anywhere;
}

.family-service-page .family-breadcrumbs__link {
    color: #996649;
}

.family-service-page .family-breadcrumbs__link::after {
    content: "/";
    margin-left: 8px;
    color: rgba(66, 59, 52, 0.16);
}

.family-service-page .family-breadcrumbs__current {
    color: #666565;
}

.family-service-page .family-hero {
    padding: 0 0 72px;
}

.family-service-page .family-hero__container {
    display: grid;
    grid-template-columns: minmax(0, 820px) 550px;
    justify-content: space-between;
    align-items: start;
    gap: 58px;
}

.family-service-page .family-hero__content {
    min-width: 0;
}

.family-service-page .family-hero__eyebrow {
    max-width: 920px;
    margin: 0 0 22px;
    line-height: 1.35;
}

.family-service-page .family-hero__title {
    max-width: 980px;
    margin: 0 0 26px;
    font-family: "Playfair Display", serif;
    font-weight: 500;
    font-size: 83px;
    line-height: 1.05;
    color: #423b34;
}

.family-service-page .family-hero__stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    max-width: 820px;
    margin: 0 0 32px;
}

.family-service-page .family-hero__stat {
    min-width: 0;
    padding: 20px 0;
    border-top: 1px solid rgba(66, 59, 52, 0.16);
}

.family-service-page .family-hero__stat-value {
    display: block;
    margin: 0 0 6px;
    font-family: "Playfair Display", serif;
    font-size: 64px;
    line-height: 1;
    white-space: nowrap;
    color: #996649;
}

.family-service-page .family-hero__stat-label {
    display: block;
    font-family: "Montserrat", sans-serif;
    font-size: 15px;
    line-height: 1.35;
    color: #666565;
}

.family-service-page .family-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.family-service-page .family-hero__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 260px;
    max-width: 100%;
    min-height: 54px;
    padding: 8px 20px;
    font-family: "Montserrat", sans-serif;
    font-size: 20px;
    line-height: 1.15;
    text-align: center;
    text-transform: uppercase;
    color: #fff;
    background: #996649;
    border: 1px solid #996649;
    transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.family-service-page .family-hero__button--telegram {
    color: #996649;
    background: transparent;
}

.family-service-page .family-hero__button:hover,
.family-service-page .family-hero__button:focus-visible {
    color: #996649;
    background: #fffefc;
    border-color: #996649;
}

.family-service-page .family-hero__button--telegram:hover,
.family-service-page .family-hero__button--telegram:focus-visible {
    color: #fff;
    background: #996649;
}

.family-service-page .family-hero__media {
    position: relative;
    min-width: 0;
    max-width: 550px;
    justify-self: end;
    align-self: start;
    margin-top: -220px;
    overflow: hidden;
}

.family-service-page .family-hero__media::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 110px;
    pointer-events: none;
    background: linear-gradient(to bottom, rgba(255, 254, 252, 0), #fffefc 86%);
}

.family-service-page .family-hero__media img {
    display: block;
    width: 116%;
    height: auto;
    margin: 0 auto -10%;
    object-fit: cover;
}

.family-service-page .family-service-page__not-found {
    padding: 96px 0;
}

.family-service-page .family-service-page__not-found-title {
    margin: 0;
    font-family: "Playfair Display", serif;
    font-size: 64px;
    line-height: 1.1;
    color: #423b34;
}

.family-service-page .family-price {
    padding: 40px 0 90px;
}

.family-service-page .family-price__header {
    margin-top: 54px;
    margin-bottom: 54px;
}

.family-service-page .family-price__caption {
    margin: 0 0 22px;
}

.family-service-page .family-price__title {
    margin: 0 0 26px;
}

.family-service-page .family-price__lead,
.family-service-page .family-price__note {
    margin: 0;
    font-family: "Montserrat", sans-serif;
    font-size: 17px;
    line-height: 1.65;
    color: #666565;
}

.family-service-page .family-price__cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 30px;
    margin-bottom: 44px;
}

.family-service-page .family-price-card {
    display: flex;
    flex-direction: column;
    min-height: 430px;
    padding: 42px 38px 34px;
    text-align: center;
    border: 1px solid rgba(153, 102, 73, 0.78);
    background: #fffefc;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.family-service-page .family-price-card:hover {
    border-color: #996649;
    box-shadow: 0 16px 36px rgba(66, 59, 52, 0.08);
    transform: translateY(-2px);
}

.family-service-page .family-price-card__title {
    margin: 0 0 22px;
    font-family: "Playfair Display", serif;
    font-size: 46px;
    font-weight: 500;
    line-height: 1.18;
    color: #423b34;
}

.family-service-page .family-price-card__text {
    margin: 0 0 28px;
    font-family: "Montserrat", sans-serif;
    font-size: 18px;
    line-height: 1.6;
    color: #666565;
}

.family-service-page .family-price-card__price {
    margin: auto 0 34px;
    font-family: "Playfair Display", serif;
    font-size: 40px;
    line-height: 1.1;
    color: #423b34;
}

.family-service-page .family-price-card__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 64px;
    padding: 10px 22px;
    font-family: "Montserrat", sans-serif;
    font-size: 20px;
    line-height: 1.2;
    text-align: center;
    text-transform: uppercase;
    color: #423b34;
    border: 1px solid #996649;
    background: transparent;
    transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.family-service-page .family-price-card__button:hover,
.family-service-page .family-price-card__button:focus-visible {
    color: #fff;
    border-color: #996649;
    background: #996649;
}

.family-service-page .family-price__table-wrap {
    margin-bottom: 28px;
    overflow-x: auto;
}

.family-service-page .family-price-table {
    width: 100%;
    min-width: 760px;
    border-collapse: collapse;
    font-family: "Montserrat", sans-serif;
    font-size: 16px;
    line-height: 1.45;
    color: #423b34;
}

.family-service-page .family-price-table th,
.family-service-page .family-price-table td {
    padding: 22px 24px;
    text-align: left;
    vertical-align: top;
    border: 1px solid rgba(153, 102, 73, 0.62);
}

.family-service-page .family-price-table th {
    font-weight: 600;
    background: #f8f1ed;
}

.family-service-page .family-price-table td:nth-child(2),
.family-service-page .family-price-table th:nth-child(2) {
    width: 190px;
    white-space: nowrap;
}

.family-service-page .family-price__note {
    font-style: italic;
}

.family-service-page .family-process {
    padding: 0 0 96px;
}

.family-service-page .family-process__container {
    display: grid;
    grid-template-columns: minmax(0, 390px) minmax(0, 1fr);
    gap: 70px;
    align-items: start;
}

.family-service-page .family-process__header {
    position: sticky;
    top: 110px;
}

.family-service-page .family-process__caption {
    margin: 0 0 22px;
}

.family-service-page .family-process__title {
    margin: 0;
}

.family-service-page .family-process__list {
    position: relative;
    display: grid;
    gap: 22px;
}

.family-service-page .family-process__list::before {
    content: "";
    position: absolute;
    top: 20px;
    bottom: 20px;
    left: 44px;
    width: 1px;
    background: rgba(153, 102, 73, 0.32);
}

.family-service-page .family-process-step {
    position: relative;
    display: grid;
    grid-template-columns: 88px minmax(0, 1fr);
    gap: 24px;
    align-items: start;
}

.family-service-page .family-process-step__number {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 88px;
    height: 88px;
    font-family: "Playfair Display", serif;
    font-size: 34px;
    line-height: 1;
    color: #996649;
    border: 1px solid rgba(153, 102, 73, 0.68);
    background: #fffefc;
}

.family-service-page .family-process-step__content {
    padding: 30px 34px 32px;
    border: 1px solid rgba(153, 102, 73, 0.34);
    background: #fffefc;
    box-shadow: 0 14px 34px rgba(66, 59, 52, 0.04);
}

.family-service-page .family-process-step__title {
    margin: 0 0 16px;
    font-family: "Playfair Display", serif;
    font-size: 32px;
    font-weight: 500;
    line-height: 1.18;
    color: #423b34;
}

.family-service-page .family-process-step__text {
    margin: 0;
    font-family: "Montserrat", sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: #666565;
}

.family-service-page .family-process__note {
    grid-column: 2;
    margin: 10px 0 0 112px;
    padding: 20px 24px;
    font-family: "Montserrat", sans-serif;
    font-size: 14px;
    line-height: 1.55;
    color: #666565;
    border-left: 3px solid #996649;
    background: #f8f1ed;
}

.family-service-page .family-trust {
    padding: 0 0 100px;
}

.family-service-page .family-trust__container {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    column-gap: 32px;
    row-gap: 28px;
    align-items: start;
}

.family-service-page .family-trust__main {
    grid-column: 1 / span 2;
    grid-row: 1;
}

.family-service-page .family-trust__caption {
    margin: 0 0 22px;
}

.family-service-page .family-trust__title {
    max-width: 760px;
    margin: 0 0 40px;
}

.family-service-page .family-trust__text {
    max-width: 790px;
    margin-bottom: 58px;
}

.family-service-page .family-trust__text p {
    margin: 0 0 22px;
    font-family: "Montserrat", sans-serif;
    font-size: 17px;
    line-height: 1.65;
    color: #666565;
}

.family-service-page .family-trust__text p:last-child {
    margin-bottom: 0;
}

.family-service-page .family-trust__certificates {
    max-width: 760px;
    margin-bottom: 22px;
    overflow: hidden;
}

.family-service-page .family-trust__certificates-wrapper {
    align-items: stretch;
}

.family-service-page .family-trust__certificate {
    display: block;
    aspect-ratio: 146 / 219;
    min-width: 0;
    overflow: hidden;
    border: 1px solid rgba(153, 102, 73, 0.12);
    background: #fff;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.family-service-page .family-trust__certificate:hover,
.family-service-page .family-trust__certificate:focus-visible {
    border-color: rgba(153, 102, 73, 0.42);
    box-shadow: 0 14px 30px rgba(66, 59, 52, 0.08);
    transform: translateY(-2px);
}

.family-service-page .family-trust__certificate img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.family-service-page .family-trust__certificates-navigation {
    display: flex;
    justify-content: center;
    gap: 22px;
    margin: 0 0 18px;
    min-height: 54px;
}

.family-service-page .family-trust__certificates-prev,
.family-service-page .family-trust__certificates-next {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    cursor: pointer;
    color: #996649;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.family-service-page .family-trust__certificates-prev:hover,
.family-service-page .family-trust__certificates-next:hover {
    opacity: 0.72;
    transform: translateY(-2px);
}

.family-service-page .family-trust__certificates-prev svg {
    transform: rotate(180deg);
}

.family-service-page .family-trust__facts {
    grid-column: 3 / -1;
    grid-row: 1;
    display: grid;
    gap: 18px;
}

.family-service-page .family-trust__bottom {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.family-service-page .family-trust-card {
    padding: 24px 30px 26px;
    background: linear-gradient(90deg, #f2ebe7 0%, #f8f4f1 68%, rgba(248, 244, 241, 0) 100%);
    border-left: 2px solid rgba(153, 102, 73, 0.32);
}

.family-service-page .family-trust__bottom .family-trust-card {
    padding: 20px 22px 22px;
}

.family-service-page .family-trust-card__title {
    margin: 0 0 12px;
    font-family: "Playfair Display", serif;
    font-size: 25px;
    font-weight: 500;
    line-height: 1.22;
    color: #423b34;
}

.family-service-page .family-trust__bottom .family-trust-card__title {
    font-size: 21px;
}

.family-service-page .family-trust-card__text {
    margin: 0;
    font-family: "Montserrat", sans-serif;
    font-size: 15px;
    line-height: 1.62;
    color: #666565;
}

.family-service-page .family-trust__bottom .family-trust-card__text {
    font-size: 13px;
    line-height: 1.55;
}

.family-service-page .family-practice {
    background: #eee6e1;
}

.family-service-page .family-practice__container {
    padding-top: 78px;
    padding-bottom: 78px;
}

.family-service-page .family-practice__header {
    max-width: 780px;
    margin: 0 auto 58px;
    text-align: center;
}

.family-service-page .family-practice__caption {
    margin: 0 0 20px;
}

.family-service-page .family-practice__title {
    margin: 0 0 24px;
}

.family-service-page .family-practice__lead {
    margin: 0 auto;
    max-width: 680px;
    font-family: "Montserrat", sans-serif;
    font-size: 17px;
    line-height: 1.65;
    color: #666565;
}

.family-service-page .family-practice__cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px;
    max-width: 1040px;
    margin: 0 auto;
}

.family-service-page .family-practice-card {
    display: flex;
    flex-direction: column;
    min-height: 560px;
    padding: 34px 34px 30px;
    border: 1px solid rgba(153, 102, 73, 0.38);
    background: #fff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.family-service-page .family-practice-card:hover {
    border-color: #996649;
    box-shadow: 0 18px 38px rgba(66, 59, 52, 0.09);
    transform: translateY(-2px);
}

.family-service-page .family-practice-card__number {
    display: block;
    margin-bottom: 28px;
    font-family: "Montserrat", sans-serif;
    font-size: 15px;
    line-height: 1.45;
    color: #423b34;
}

.family-service-page .family-practice-card__image {
    position: relative;
    margin-bottom: 30px;
    aspect-ratio: 350 / 242;
    overflow: hidden;
    background: #f8f4f1;
}

.family-service-page .family-practice-card__image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.family-service-page .family-practice-card__text {
    margin: 0 0 32px;
    font-family: "Montserrat", sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: #666565;
}

.family-service-page .family-practice-card__link {
    align-self: flex-start;
    margin-top: auto;
    font-family: "Montserrat", sans-serif;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0;
    text-transform: uppercase;
    color: #996649;
    text-decoration: none;
    transition: color 0.2s ease;
}

.family-service-page .family-practice-card__link:hover,
.family-service-page .family-practice-card__link:focus-visible {
    color: #423b34;
}

.family-service-page .family-practice__button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 320px;
    min-height: 58px;
    margin: 48px auto 0;
    border: 1px solid #996649;
    font-family: "Montserrat", sans-serif;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.25;
    color: #996649;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.family-service-page .family-practice__button:hover,
.family-service-page .family-practice__button:focus-visible {
    color: #fff;
    background: #996649;
    transform: translateY(-2px);
}

.family-service-page .family-media {
    padding: 92px 0 104px;
    background: #fff;
}

.family-service-page .family-media__header {
    max-width: 760px;
    margin-bottom: 54px;
}

.family-service-page .family-media__caption {
    margin: 0 0 20px;
}

.family-service-page .family-media__title {
    margin: 0 0 24px;
}

.family-service-page .family-media__lead {
    margin: 0;
    font-family: "Montserrat", sans-serif;
    font-size: 17px;
    line-height: 1.65;
    color: #666565;
}

.family-service-page .family-media__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 28px;
}

.family-service-page .family-media-card {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    color: inherit;
    text-decoration: none;
}

.family-service-page .family-media-card__image {
    position: relative;
    aspect-ratio: 350 / 242;
    margin-bottom: 22px;
    overflow: hidden;
    background: #f8f4f1;
}

.family-service-page .family-media-card__image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.family-service-page .family-media-card:hover .family-media-card__image img,
.family-service-page .family-media-card:focus-visible .family-media-card__image img {
    transform: scale(1.04);
}

.family-service-page .family-media-card__source {
    margin-bottom: 10px;
    font-family: "Montserrat", sans-serif;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.35;
    color: #996649;
    text-transform: uppercase;
}

.family-service-page .family-media-card__title {
    font-family: "Montserrat", sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #423b34;
    transition: color 0.2s ease;
}

.family-service-page .family-media-card:hover .family-media-card__title,
.family-service-page .family-media-card:focus-visible .family-media-card__title {
    color: #996649;
}

.family-service-page .family-reviews {
    padding: 0 0 88px;
    background: #fff;
}

.family-service-page .family-reviews__container {
    display: block;
}

.family-service-page .family-reviews__caption {
    margin: 0 0 20px;
}

.family-service-page .family-reviews__title {
    margin: 0 0 24px;
}

.family-service-page .family-reviews__lead {
    margin: 0;
    max-width: 760px;
    font-family: "Montserrat", sans-serif;
    font-size: 17px;
    line-height: 1.68;
    color: #666565;
}

.family-service-page .family-reviews__widget {
    margin-top: 38px;
}

.family-service-page .family-reviews__widget .sw-app {
    width: 100%;
}

.family-service-page .family-reviews__widget .sw-review-list {
    padding-bottom: 64px !important;
}

.family-service-page .family-reviews__widget .sw-review-bottom {
    position: relative !important;
    z-index: 1 !important;
    margin-top: 16px !important;
    clear: both !important;
}

.family-service-page .family-reviews__widget .swiper-wrapper,
.family-service-page .family-reviews__widget .sw-review-list-body {
    align-items: stretch !important;
}

.family-service-page .family-faq {
    padding: 0 0 100px;
    background: #fff;
}

.family-service-page .family-faq__container {
    display: grid;
    grid-template-columns: minmax(0, 420px) minmax(0, 1fr);
    gap: 72px;
    align-items: start;
}

.family-service-page .family-faq__header {
    position: sticky;
    top: 128px;
}

.family-service-page .family-faq__caption {
    margin: 0 0 20px;
}

.family-service-page .family-faq__title {
    margin: 0;
}

.family-service-page .family-faq__list {
    display: grid;
    gap: 16px;
}

.family-service-page .family-faq-item {
    border: 1px solid rgba(153, 102, 73, 0.24);
    background: #fff;
    box-shadow: 0 10px 28px rgba(66, 59, 52, 0.05);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.family-service-page .family-faq-item[open] {
    border-color: rgba(153, 102, 73, 0.48);
    box-shadow: 0 16px 34px rgba(66, 59, 52, 0.07);
}

.family-service-page .family-faq-item__question {
    position: relative;
    display: block;
    padding: 24px 72px 24px 28px;
    font-family: "Montserrat", sans-serif;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.45;
    color: #423b34;
    cursor: pointer;
    list-style: none;
}

.family-service-page .family-faq-item__question::-webkit-details-marker {
    display: none;
}

.family-service-page .family-faq-item__question::before,
.family-service-page .family-faq-item__question::after {
    content: "";
    position: absolute;
    right: 28px;
    top: 50%;
    width: 18px;
    height: 2px;
    background: #996649;
    transform: translateY(-50%);
    transition: transform 0.2s ease;
}

.family-service-page .family-faq-item__question::after {
    transform: translateY(-50%) rotate(90deg);
}

.family-service-page .family-faq-item[open] .family-faq-item__question::after {
    transform: translateY(-50%) rotate(0deg);
}

.family-service-page .family-faq-item__answer {
    padding: 0 28px 28px;
}

.family-service-page .family-faq-item__answer p {
    margin: 0;
    font-family: "Montserrat", sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: #666565;
}

.family-service-page .family-articles {
    background: #f2ebe7;
}

.family-service-page .family-articles__container {
    padding-top: 78px;
    padding-bottom: 100px;
}

.family-service-page .family-articles__header {
    margin-bottom: 54px;
}

.family-service-page .family-articles__caption {
    margin: 0 0 20px;
}

.family-service-page .family-articles__title {
    margin: 0;
}

.family-service-page .family-articles__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 28px;
}

.family-service-page .family-article-card {
    display: flex;
    flex-direction: column;
    min-height: 100%;
}

.family-service-page .family-article-card__image {
    display: block;
    aspect-ratio: 350 / 242;
    margin-bottom: 22px;
    overflow: hidden;
    background: #fff;
}

.family-service-page .family-article-card__image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.family-service-page .family-article-card:hover .family-article-card__image img {
    transform: scale(1.04);
}

.family-service-page .family-article-card__title {
    margin: 0 0 20px;
    font-family: "Playfair Display", serif;
    font-size: 24px;
    font-weight: 500;
    line-height: 1.2;
    color: #423b34;
}

.family-service-page .family-article-card__title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.family-service-page .family-article-card__title a:hover,
.family-service-page .family-article-card__title a:focus-visible {
    color: #996649;
}

.family-service-page .family-article-card__link {
    align-self: flex-start;
    margin-top: auto;
    font-family: "Montserrat", sans-serif;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.35;
    color: #996649;
    text-decoration: none;
    text-transform: uppercase;
    transition: color 0.2s ease;
}

.family-service-page .family-article-card__link:hover,
.family-service-page .family-article-card__link:focus-visible {
    color: #423b34;
}

.family-service-page .feedback {
    padding: 0 0 100px;
    background: #f2ebe7;
}

.family-service-page .feedback__container {
    padding-top: 0;
}

.family-service-page .feedback-form {
    gap: 14px;
}

.family-service-page .feedback__content {
    position: relative;
}

.family-service-page .feedback-textarea__label {
    color: #423b34;
}

.family-service-page .feedback-textarea__input::placeholder {
    color: rgba(102, 101, 101, 0.58);
}

.family-service-page .family-form-consent {
    display: flex;
    gap: 10px;
    align-items: center;
    width: auto;
    max-width: 100%;
    margin: 0;
    font-family: "Montserrat", sans-serif;
    font-size: 13px;
    line-height: 1.45;
    color: #666565;
}

.family-service-page .family-form-consent__input {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
}

.family-service-page .family-form-consent__box {
    position: relative;
    flex: 0 0 18px;
    width: 18px;
    height: 18px;
    border: 1px solid rgba(153, 102, 73, 0.58);
    background: #fff;
}

.family-service-page .family-form-consent__box::after {
    content: "";
    position: absolute;
    left: 4px;
    top: 1px;
    width: 7px;
    height: 11px;
    border-right: 2px solid #996649;
    border-bottom: 2px solid #996649;
    opacity: 0;
    transform: rotate(45deg);
}

.family-service-page .family-form-consent__input:checked + .family-form-consent__box::after {
    opacity: 1;
}

.family-service-page .family-form-consent__input:focus-visible + .family-form-consent__box {
    outline: 2px solid #996649;
    outline-offset: 2px;
}

.family-service-page .family-form-consent__text {
    display: block;
}

.family-service-page .family-form-footer {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    margin-top: -18px;
}

.family-service-page .family-form-footer .feedback-form__button {
    flex: 0 0 auto;
    margin-inline-start: 0;
    transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.family-service-page .family-form-footer .feedback-form__button:hover,
.family-service-page .family-form-footer .feedback-form__button:focus-visible {
    color: #996649;
    border-color: #996649;
    background: #fffefc;
}

.family-service-page .family-form-contacts {
    position: absolute;
    left: calc(100% + 125px);
    bottom: 0;
    width: 520px;
    max-width: 520px;
    margin: 0;
    padding: 20px 24px;
    border-left: 2px solid rgba(153, 102, 73, 0.34);
    background: rgba(255, 254, 252, 0.58);
    font-family: "Montserrat", sans-serif;
    font-size: 14px;
    line-height: 1.65;
    color: #666565;
    z-index: 2;
}

.family-service-page .family-form-contacts__messengers {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 0 6px;
}

.family-service-page .family-form-contacts__label {
    font-weight: 600;
    color: #423b34;
}

.family-service-page .family-form-contacts a {
    color: #996649;
    text-decoration: none;
}

.family-service-page .family-form-contacts a:hover,
.family-service-page .family-form-contacts a:focus-visible {
    color: #423b34;
}

.family-service-page .family-other-services {
    padding: 88px 0 96px;
    background: #fffefc;
}

.family-service-page .family-other-services__header {
    max-width: 920px;
    margin: 0 auto 52px;
    text-align: center;
}

.family-service-page .family-other-services__caption {
    margin: 0 0 18px;
}

.family-service-page .family-other-services__title {
    margin: 0;
}

.family-service-page .family-other-services__lead {
    max-width: 720px;
    margin: 22px auto 0;
    font-family: "Montserrat", sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #666565;
}

.family-service-page .family-other-services__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 28px;
}

.family-service-page .family-other-service-card {
    display: flex;
    min-height: 100%;
    flex-direction: column;
    padding: 22px 22px 26px;
    color: inherit;
    text-decoration: none;
    border: 1px solid rgba(153, 102, 73, 0.32);
    background: #fff;
    box-shadow: 0 10px 28px rgba(66, 59, 52, 0.05);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.family-service-page .family-other-service-card:hover,
.family-service-page .family-other-service-card:focus-visible {
    border-color: #996649;
    box-shadow: 0 18px 38px rgba(66, 59, 52, 0.08);
    transform: translateY(-2px);
}

.family-service-page .family-other-service-card__image {
    display: block;
    aspect-ratio: 350 / 242;
    margin-bottom: 22px;
    overflow: hidden;
    border-radius: 4px;
    background: #f2ebe7;
}

.family-service-page .family-other-service-card__image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.family-service-page .family-other-service-card:hover .family-other-service-card__image img,
.family-service-page .family-other-service-card:focus-visible .family-other-service-card__image img {
    transform: scale(1.04);
}

.family-service-page .family-other-service-card__title {
    margin-bottom: 28px;
    font-family: "Montserrat", sans-serif;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.35;
    color: #423b34;
}

.family-service-page .family-other-service-card__link {
    display: inline-flex;
    align-self: flex-start;
    margin-top: auto;
    font-family: "Montserrat", sans-serif;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.35;
    color: #996649;
    text-transform: uppercase;
    transition: color 0.2s ease;
}

.family-service-page .family-other-service-card:hover .family-other-service-card__link,
.family-service-page .family-other-service-card:focus-visible .family-other-service-card__link {
    color: #423b34;
}

@media (max-width: 1700px) {


.family-service-page .family-form-contacts {
    left: calc(100% + 40px);
}

    .family-service-page .family-breadcrumbs {
        margin-bottom: 58px;
    }

    .family-service-page .family-hero__container {
        grid-template-columns: minmax(0, 720px) 430px;
        gap: 44px;
    }

    .family-service-page .family-hero__title {
        max-width: 760px;
        font-size: 72px;
    }

    .family-service-page .family-hero__media {
        max-width: 430px;
        margin-top: -145px;
    }
}

@media (max-width: 1450px) {

    .family-service-page .family-breadcrumbs {
        margin-bottom: 46px;
    }

    .family-service-page .family-hero__container {
        grid-template-columns: minmax(0, 620px) 360px;
        gap: 34px;
    }

    .family-service-page .family-hero__eyebrow {
        margin-bottom: 18px;
        font-size: 15px;
    }

    .family-service-page .family-hero__title {
        max-width: 620px;
        margin-bottom: 22px;
        font-size: 60px;
    }

    .family-service-page .family-hero__stats {
        gap: 16px;
        margin-bottom: 28px;
    }

    .family-service-page .family-hero__stat-value {
        font-size: 48px;
    }

    .family-service-page .family-hero__button {
        width: 220px;
        min-height: 50px;
        font-size: 16px;
    }

    .family-service-page .family-hero__media {
        max-width: 360px;
        margin-top: -100px;
    }

    .family-service-page .family-price {
        padding-bottom: 76px;
    }

    .family-service-page .family-price__cards {
        gap: 22px;
    }

    .family-service-page .family-price-card {
        min-height: 390px;
        padding: 34px 28px 28px;
    }

    .family-service-page .family-price-card__title {
        font-size: 31px;
    }

    .family-service-page .family-price-card__text {
        font-size: 16px;
    }

    .family-service-page .family-price-card__price {
        font-size: 34px;
    }

    .family-service-page .family-price-card__button {
        min-height: 56px;
        font-size: 17px;
    }

    .family-service-page .family-process__container {
        grid-template-columns: minmax(0, 320px) minmax(0, 1fr);
        gap: 48px;
    }

    .family-service-page .family-process-step__title {
        font-size: 28px;
    }

    .family-service-page .family-process-step__text {
        font-size: 15px;
    }

    .family-service-page .family-trust__container {
        column-gap: 24px;
        row-gap: 24px;
    }

    .family-service-page .family-trust-card {
        padding: 22px 24px 24px;
    }

    .family-service-page .family-trust-card__title {
        font-size: 22px;
    }

    .family-service-page .family-trust-card__text {
        font-size: 14px;
    }

    .family-service-page .family-practice__container {
        padding-top: 68px;
        padding-bottom: 68px;
    }

    .family-service-page .family-practice-card {
        min-height: 520px;
        padding: 30px 30px 28px;
    }

    .family-service-page .family-media__grid {
        gap: 22px;
    }
}

@media (max-width: 1199px) {
    .family-service-page .family-hero {
        padding-bottom: 58px;
    }

    .family-service-page .family-hero__container {
        display: block;
    }

    .family-service-page .family-hero__content {
        max-width: 760px;
    }

    .family-service-page .family-hero__title {
        max-width: 760px;
        font-size: 62px;
    }

    .family-service-page .family-hero__media {
        display: none;
    }

    .family-service-page .family-price {
        padding: 24px 0 66px;
    }

    .family-service-page .family-price__header {
        margin-bottom: 38px;
        margin-top: 38px;
    }

    .family-service-page .family-price__cards {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .family-service-page .family-price-card {
        min-height: 0;
        text-align: left;
    }

    .family-service-page .family-price-card__button {
        max-width: 320px;
    }

    .family-service-page .family-process {
        padding-bottom: 72px;
    }

    .family-service-page .family-process__container {
        display: block;
    }

    .family-service-page .family-process__header {
        position: static;
        max-width: 760px;
        margin-bottom: 36px;
    }

    .family-service-page .family-process__note {
        margin-left: 112px;
    }

    .family-service-page .family-trust {
        padding-bottom: 74px;
    }

    .family-service-page .family-trust__container {
        display: block;
    }

    .family-service-page .family-trust__main {
        margin-bottom: 42px;
    }

    .family-service-page .family-trust__title,
    .family-service-page .family-trust__text,
    .family-service-page .family-trust__certificates {
        max-width: none;
    }

    .family-service-page .family-trust__facts {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .family-service-page .family-trust__bottom {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .family-service-page .family-practice__header {
        margin-bottom: 42px;
        text-align: left;
    }

    .family-service-page .family-practice__lead {
        margin-left: 0;
    }

    .family-service-page .family-practice__cards {
        gap: 22px;
    }

    .family-service-page .family-practice-card {
        min-height: 0;
        padding: 26px 24px 24px;
    }

    .family-service-page .family-practice-card__text {
        font-size: 15px;
    }

    .family-service-page .family-media {
        padding: 74px 0 82px;
    }

    .family-service-page .family-media__header {
        margin-bottom: 42px;
    }

    .family-service-page .family-media__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .family-service-page .family-reviews {
        padding-bottom: 74px;
    }

    .family-service-page .family-reviews__header {
        max-width: 760px;
    }

    .family-service-page .family-faq {
        padding-bottom: 76px;
    }

    .family-service-page .family-faq__container {
        display: block;
    }

    .family-service-page .family-faq__header {
        position: static;
        max-width: 760px;
        margin-bottom: 38px;
    }

    .family-service-page .family-articles__container {
        padding-top: 66px;
        padding-bottom: 66px;
    }

    .family-service-page .family-articles__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 30px 24px;
    }

    .family-service-page .family-form-contacts {
        left: calc(100% + 30px);
        bottom: 0;
        width: 420px;
        max-width: 420px;
        padding: 18px 22px;
        font-size: 13px;
    }

    .family-service-page .family-other-services {
        padding: 74px 0 82px;
    }

    .family-service-page .family-other-services__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 22px;
    }

    .family-service-page .family-other-service-card {
        padding: 20px 20px 24px;
    }

    .family-service-page .family-other-service-card__title {
        font-size: 17px;
    }
}

@media (max-width: 1199px) {
    .family-service-page .family-other-services__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 1199px) {
    .family-service-page .family-form-footer {
        flex-wrap: wrap;
        align-items: center;
    }

    .family-service-page .family-form-contacts {
        position: static;
        flex: 0 0 100%;
        width: 100%;
        max-width: 100%;
        margin-top: 18px;
        padding: 18px 20px;
        font-size: 13px;
        transform: none;
    }
}

@media (max-width: 767px) {

    .family-service-page .family-breadcrumbs {
        margin: 34px 0 34px;
        font-size: 13px;
    }

    .family-service-page .family-hero {
        padding-bottom: 46px;
    }

    .family-service-page .family-hero__eyebrow {
        margin-bottom: 18px;
        font-size: 14px;
    }

    .family-service-page .family-hero__title {
        max-width: 100%;
        margin-bottom: 24px;
        font-size: 44px;
        line-height: 1.08;
    }

    .family-service-page .family-hero__stats {
        display: block;
        margin-bottom: 28px;
    }

    .family-service-page .family-hero__stat {
        padding: 18px 0;
    }

    .family-service-page .family-hero__stat-value {
        font-size: 46px;
    }

    .family-service-page .family-hero__stat-label {
        font-size: 14px;
    }

    .family-service-page .family-hero__actions {
        display: block;
    }

    .family-service-page .family-hero__button {
        width: 100%;
        min-height: 54px;
        font-size: 15px;
    }

    .family-service-page .family-hero__button + .family-hero__button {
        margin-top: 14px;
    }

    .family-service-page .family-price {
        padding: 18px 0 52px;
    }

    .family-service-page .family-price__header {
        margin-bottom: 28px;
        margin-top: 28px;
    }

    .family-service-page .family-price__caption {
        margin-bottom: 16px;
    }

    .family-service-page .family-price__title {
        margin-bottom: 18px;
    }

    .family-service-page .family-price__lead,
    .family-service-page .family-price__note {
        font-size: 14px;
        line-height: 1.55;
    }

    .family-service-page .family-price-card {
        padding: 28px 22px 24px;
    }

    .family-service-page .family-price-card__title {
        margin-bottom: 16px;
        font-size: 28px;
    }

    .family-service-page .family-price-card__text {
        margin-bottom: 22px;
        font-size: 15px;
    }

    .family-service-page .family-price-card__price {
        margin-bottom: 24px;
        font-size: 32px;
    }

    .family-service-page .family-price-card__button {
        max-width: 100%;
        min-height: 54px;
        font-size: 15px;
    }

    .family-service-page .family-price-table {
        min-width: 660px;
        font-size: 14px;
    }

    .family-service-page .family-price-table th,
    .family-service-page .family-price-table td {
        padding: 16px;
    }

    .family-service-page .family-process {
        padding-bottom: 56px;
    }

    .family-service-page .family-process__header {
        margin-bottom: 28px;
    }

    .family-service-page .family-process__caption {
        margin-bottom: 16px;
    }

    .family-service-page .family-process__list {
        gap: 16px;
    }

    .family-service-page .family-process__list::before {
        display: none;
    }

    .family-service-page .family-process-step {
        display: block;
    }

    .family-service-page .family-process-step__number {
        width: 64px;
        height: 64px;
        margin-bottom: -1px;
        font-size: 26px;
    }

    .family-service-page .family-process-step__content {
        padding: 24px 22px;
    }

    .family-service-page .family-process-step__title {
        margin-bottom: 12px;
        font-size: 25px;
    }

    .family-service-page .family-process-step__text {
        font-size: 14px;
        line-height: 1.58;
    }

    .family-service-page .family-process__note {
        margin: 20px 0 0;
        padding: 18px 20px;
        font-size: 13px;
    }

    .family-service-page .family-trust {
        padding-bottom: 58px;
    }

    .family-service-page .family-trust__caption {
        margin-bottom: 16px;
    }

    .family-service-page .family-trust__title {
        margin-bottom: 26px;
    }

    .family-service-page .family-trust__text {
        margin-bottom: 34px;
    }

    .family-service-page .family-trust__text p {
        font-size: 14px;
        line-height: 1.58;
    }

    .family-service-page .family-trust__facts {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .family-service-page .family-trust__bottom {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .family-service-page .family-trust-card {
        padding: 22px 20px;
    }

    .family-service-page .family-trust-card__title {
        font-size: 21px;
    }

    .family-service-page .family-trust-card__text {
        font-size: 14px;
        line-height: 1.55;
    }


    .family-service-page .family-practice__container {
        padding-top: 52px;
        padding-bottom: 52px;
    }

    .family-service-page .family-practice__header {
        margin-bottom: 30px;
    }

    .family-service-page .family-practice__caption {
        margin-bottom: 16px;
    }

    .family-service-page .family-practice__title {
        margin-bottom: 18px;
    }

    .family-service-page .family-practice__lead {
        font-size: 14px;
        line-height: 1.58;
    }

    .family-service-page .family-practice__cards {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .family-service-page .family-practice-card {
        padding: 22px 20px;
    }

    .family-service-page .family-practice-card__number {
        margin-bottom: 18px;
        font-size: 14px;
    }

    .family-service-page .family-practice-card__image {
        margin-bottom: 22px;
    }

    .family-service-page .family-practice-card__text {
        margin-bottom: 24px;
        font-size: 14px;
        line-height: 1.58;
    }

    .family-service-page .family-practice__button {
        width: 100%;
        min-height: 54px;
        margin-top: 30px;
        font-size: 14px;
    }

    .family-service-page .family-media {
        padding: 56px 0 62px;
    }

    .family-service-page .family-media__header {
        margin-bottom: 30px;
    }

    .family-service-page .family-media__caption {
        margin-bottom: 16px;
    }

    .family-service-page .family-media__title {
        margin-bottom: 18px;
    }

    .family-service-page .family-media__lead {
        font-size: 14px;
        line-height: 1.58;
    }

    .family-service-page .family-media__grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .family-service-page .family-media-card__image {
        margin-bottom: 16px;
    }

    .family-service-page .family-media-card__title {
        font-size: 15px;
        line-height: 1.55;
    }

    .family-service-page .family-reviews {
        padding-bottom: 58px;
    }

    .family-service-page .family-reviews__caption {
        margin-bottom: 16px;
    }

    .family-service-page .family-reviews__lead {
        font-size: 14px;
        line-height: 1.58;
    }

    .family-service-page .family-reviews__widget {
        margin-top: 28px;
    }

    .family-service-page .family-faq {
        padding-bottom: 58px;
    }

    .family-service-page .family-faq__header {
        margin-bottom: 28px;
    }

    .family-service-page .family-faq__caption {
        margin-bottom: 16px;
    }

    .family-service-page .family-faq__list {
        gap: 12px;
    }

    .family-service-page .family-faq-item__question {
        padding: 20px 54px 20px 20px;
        font-size: 15px;
        line-height: 1.45;
    }

    .family-service-page .family-faq-item__question::before,
    .family-service-page .family-faq-item__question::after {
        right: 20px;
        width: 16px;
    }

    .family-service-page .family-faq-item__answer {
        padding: 0 20px 22px;
    }

    .family-service-page .family-faq-item__answer p {
        font-size: 14px;
        line-height: 1.58;
    }

    .family-service-page .family-articles__container {
        padding-top: 52px;
        padding-bottom: 52px;
    }

    .family-service-page .family-articles__header {
        margin-bottom: 30px;
    }

    .family-service-page .family-articles__caption {
        margin-bottom: 16px;
    }

    .family-service-page .family-articles__grid {
        grid-template-columns: 1fr;
        gap: 26px;
    }

    .family-service-page .family-article-card__image {
        margin-bottom: 16px;
    }

    .family-service-page .family-article-card__title {
        margin-bottom: 14px;
        font-size: 22px;
    }

    .family-service-page .feedback {
        padding-bottom: 58px;
    }

    .family-service-page .feedback__inner {
        display: block;
    }

    .family-service-page .feedback__image {
        display: none !important;
    }

    .family-service-page .feedback-inputs {
        display: grid;
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .family-service-page .family-form-contacts {
        position: static;
        flex: none;
        width: 100%;
        max-width: 100%;
        margin: 18px 0 0;
        padding: 18px 20px;
        font-size: 13px;
        transform: none;
    }

    .family-service-page .family-form-footer {
        display: block;
        margin-top: -8px;
    }

    .family-service-page .family-form-consent {
        margin: 0 0 18px;
        font-size: 12px;
    }

    .family-service-page .family-form-footer .feedback-form__button {
        width: 100%;
    }

    .family-service-page .family-other-services {
        padding: 58px 0 66px;
    }

    .family-service-page .family-other-services__header {
        margin-bottom: 32px;
        text-align: left;
    }

    .family-service-page .family-other-services__caption {
        margin-bottom: 14px;
    }

    .family-service-page .family-other-services__grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .family-service-page .family-other-service-card {
        min-height: 0;
        padding: 18px 18px 20px;
    }

    .family-service-page .family-other-service-card__title {
        margin-bottom: 20px;
        font-size: 17px;
    }

    .family-service-page .family-other-service-card__image {
        margin-bottom: 18px;
    }
}

@media (max-width: 420px) {
    .family-service-page .family-breadcrumbs {
        margin-bottom: 30px;
        font-size: 12px;
    }

    .family-service-page .family-hero__title {
        font-size: 36px;
    }

    .family-service-page .family-hero__stat-value {
        font-size: 40px;
    }

    .family-service-page .family-price-card__title {
        font-size: 25px;
    }

    .family-service-page .family-price-card__price {
        font-size: 29px;
    }

    .family-service-page .family-process-step__title {
        font-size: 23px;
    }

    .family-service-page .family-trust-card__title {
        font-size: 20px;
    }

    .family-service-page .family-practice-card {
        padding: 20px 18px;
    }
}


/* Таблица ситуаций */

.family-service-page .family-lawyer-table {
    width: 100%;
    margin: 34px 0 72px;
    border: 0;
    border-collapse: separate;
    border-spacing: 24px;
    table-layout: fixed;
    background: transparent;
}

.family-service-page .family-lawyer-table tbody,
.family-service-page .family-lawyer-table tr {
    border: 0;
    background: transparent;
}

.family-service-page .family-lawyer-table td {
    width: 50%;
    padding: 36px 38px 32px;
    vertical-align: top;
    border: 1px solid rgba(153, 102, 73, 0.72);
    background: #fffefc;
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        transform 0.2s ease;
}

.family-service-page .family-lawyer-table td:hover {
    border-color: #996649;
    box-shadow: 0 12px 34px rgba(66, 59, 52, 0.07);
    transform: translateY(-2px);
}

.family-service-page .family-lawyer-table h3 {
    margin: 0 0 24px;
    font-family: "Playfair Display", serif;
    font-size: 34px;
    font-weight: 500;
    line-height: 1.15;
    color: #423b34;
}

.family-service-page .family-lawyer-table p {
    margin: 0 0 20px;
    font-family: "Montserrat", sans-serif;
    font-size: 17px;
    font-weight: 400;
    line-height: 1.65;
    color: #666565;
}

.family-service-page .family-lawyer-table p:last-child {
    margin-bottom: 0;
    padding-top: 6px;
    color: #423b34;
}

.family-service-page .family-lawyer-table a {
    color: #996649;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 4px;
    overflow-wrap: anywhere;
    transition: color 0.2s ease;
}

.family-service-page .family-lawyer-table a:hover,
.family-service-page .family-lawyer-table a:focus-visible {
    color: #423b34;
    text-decoration: none;
}

.family-service-page .family-lawyer-table td[colspan="2"] {
    width: 100%;
}

.family-service-page .family-lawyer-table td[colspan="2"] p {
    max-width: 1100px;
}


/* Планшеты */

@media (max-width: 1199px) {
    .family-service-page .family-lawyer-table {
        margin-top: 26px;
        border-spacing: 16px;
    }

    .family-service-page .family-lawyer-table td {
        padding: 28px 26px;
    }

    .family-service-page .family-lawyer-table h3 {
        margin-bottom: 20px;
        font-size: 28px;
    }

    .family-service-page .family-lawyer-table p {
        font-size: 16px;
        line-height: 1.6;
    }
}

/* Телефоны */

@media (max-width: 767px) {

    .family-service-page .family-lawyer-table,
    .family-service-page .family-lawyer-table tbody,
    .family-service-page .family-lawyer-table tr,
    .family-service-page .family-lawyer-table td {
        display: block;
        width: 100%;
    }

    .family-service-page .family-lawyer-table {
        margin: 24px 0 48px;
        border-spacing: 0;
    }

    .family-service-page .family-lawyer-table tr {
        margin: 0;
    }

    .family-service-page .family-lawyer-table td {
        margin: 0 0 16px;
        padding: 26px 22px;
    }

    .family-service-page .family-lawyer-table td:hover {
        transform: none;
    }

    .family-service-page .family-lawyer-table h3 {
        margin-bottom: 18px;
        font-size: 27px;
        line-height: 1.18;
    }

    .family-service-page .family-lawyer-table p {
        margin-bottom: 18px;
        font-size: 15px;
        line-height: 1.6;
    }
}

@media (max-width: 420px) {

    .family-service-page .family-lawyer-table td {
        padding: 24px 18px;
    }

    .family-service-page .family-lawyer-table h3 {
        font-size: 25px;
    }
}

/* Сравнительная таблица */

.family-service-page .family-comparison-table {
    width: 100%;
    margin: 34px 0 64px;
    border: 1px solid rgba(153, 102, 73, 0.65);
    border-collapse: collapse;
    table-layout: fixed;
    background: #fffefc;
}

.family-service-page .family-comparison-table th,
.family-service-page .family-comparison-table td {
    padding: 22px 24px;
    text-align: left;
    vertical-align: top;
    border-right: 1px solid rgba(153, 102, 73, 0.35);
    border-bottom: 1px solid rgba(153, 102, 73, 0.35);
}

.family-service-page .family-comparison-table th:last-child,
.family-service-page .family-comparison-table td:last-child {
    border-right: 0;
}

.family-service-page .family-comparison-table tbody tr:last-child td {
    border-bottom: 0;
}

.family-service-page .family-comparison-table th {
    font-family: "Playfair Display", serif;
    font-size: 23px;
    font-weight: 500;
    line-height: 1.25;
    color: #423b34;
    background: rgba(153, 102, 73, 0.1);
}

.family-service-page .family-comparison-table td {
    font-family: "Montserrat", sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.55;
    color: #666565;
    background: #fffefc;
    transition: background-color 0.2s ease;
}

.family-service-page .family-comparison-table tbody tr:nth-child(even) td {
    background: rgba(153, 102, 73, 0.025);
}

.family-service-page .family-comparison-table tbody tr:hover td {
    background: rgba(153, 102, 73, 0.065);
}

.family-service-page .family-comparison-table th:first-child,
.family-service-page .family-comparison-table td:first-child {
    width: 34%;
}

.family-service-page .family-comparison-table th:nth-child(2),
.family-service-page .family-comparison-table td:nth-child(2) {
    width: 33%;
    color: #423b34;
}

.family-service-page .family-comparison-table th:nth-child(3),
.family-service-page .family-comparison-table td:nth-child(3) {
    width: 33%;
}

.family-service-page .family-comparison-table tbody td:first-child {
    font-weight: 500;
    color: #423b34;
}


/* Планшет */

@media (max-width: 991px) {
    .family-service-page .family-comparison-table th,
    .family-service-page .family-comparison-table td {
        padding: 18px 16px;
    }

    .family-service-page .family-comparison-table th {
        font-size: 20px;
    }

    .family-service-page .family-comparison-table td {
        font-size: 15px;
    }
}

/* Мобильные карточки */

@media (max-width: 767px) {
    .family-service-page .family-comparison-table,
    .family-service-page .family-comparison-table tbody,
    .family-service-page .family-comparison-table tr,
    .family-service-page .family-comparison-table td {
        display: block;
        width: 100% !important;
    }

    .family-service-page .family-comparison-table {
        margin: 26px 0 48px;
        border: 0;
        background: transparent;
    }

    .family-service-page .family-comparison-table thead {
        display: none;
    }

    .family-service-page .family-comparison-table tbody tr {
        margin-bottom: 18px;
        overflow: hidden;
        border: 1px solid rgba(153, 102, 73, 0.55);
        background: #fffefc;
    }

    .family-service-page .family-comparison-table tbody tr:last-child {
        margin-bottom: 0;
    }

    .family-service-page .family-comparison-table td {
        display: grid;
        grid-template-columns: minmax(110px, 37%) minmax(0, 1fr);
        gap: 14px;
        padding: 16px 18px;
        border: 0;
        border-bottom: 1px solid rgba(153, 102, 73, 0.22);
        background: #fffefc;
    }

    .family-service-page .family-comparison-table td:last-child {
        border-bottom: 0;
    }

    .family-service-page .family-comparison-table td:first-child {
        display: block;
        width: 100%;
        padding: 20px 18px;
        font-family: "Playfair Display", serif;
        font-size: 22px;
        font-weight: 500;
        line-height: 1.25;
        color: #423b34;
        background: rgba(153, 102, 73, 0.1);
    }

    .family-service-page .family-comparison-table td:first-child::before {
        content: none;
    }

    .family-service-page .family-comparison-table td:first-child,
    .family-service-page .family-comparison-table td:nth-child(2),
    .family-service-page .family-comparison-table td:nth-child(3) {
        width: 100%;
    }

    .family-service-page .family-comparison-table td:nth-child(2)::before,
    .family-service-page .family-comparison-table td:nth-child(3)::before {
        font-family: "Montserrat", sans-serif;
        font-size: 11px;
        font-weight: 600;
        line-height: 1.35;
        letter-spacing: 0.06em;
        text-transform: uppercase;
        color: #996649;
    }

    .family-service-page .family-comparison-table td:nth-child(2)::before {
        content: "Адвокат";
    }

    .family-service-page .family-comparison-table td:nth-child(3)::before {
        content: "Без статуса";
    }

    .family-service-page .family-comparison-table tbody tr:hover td {
        background: inherit;
    }
}

@media (max-width: 420px) {
    .family-service-page .family-comparison-table td {
        grid-template-columns: 100px minmax(0, 1fr);
        gap: 12px;
        padding: 15px;
        font-size: 14px;
    }

    .family-service-page .family-comparison-table td:first-child {
        padding: 18px 15px;
        font-size: 20px;
    }
}

/* Content area from the service detail component */


.family-service-page .container-service {
    gap: 72px;
    align-items: start;
}

.family-service-page .container-service .sidebar {
    width: 100%;
    max-width: 300px;
    position: sticky;
    top: 128px;
    padding: 18px;
    margin: -18px;
}

.family-service-page .container-service .sidebar-background {
    padding: 26px 24px;
    border-radius: 8px;
    box-shadow: 0 14px 36px rgba(66, 59, 52, 0.16);
    position: static;
    max-height: 70vh;
    overflow-y: auto;
}

.family-service-page .container-service .sidebar h2 {
    margin: 0 0 18px;
    font-family: "Playfair Display", serif;
    font-size: 30px;
    line-height: 1.15;
    color: #8f8a85;
}

.family-service-page .container-service .sidebar-background > .h2 {
    margin: 0 0 18px !important;
    font-size: 30px !important;
    line-height: 1.15 !important;
}

.family-service-page .container-service .sidebar ul {
    width: auto;
    padding-left: 18px;
    line-height: 1.35;
}

.family-service-page .container-service .sidebar ul li {
    margin: 0 0 12px;
}

.family-service-page .container-service .sidebar ul a {
    padding: 4px 10px;
    font-family: "Montserrat", sans-serif;
    font-size: 15px;
    line-height: 1.35;
}

.family-service-page .container-service .content {
    min-width: 0;
    padding: 0;
}

.family-service-page .container-service .content > *:first-child {
    margin-top: 0;
}

.family-service-page .container-service .content p {
    max-width: 920px;
    font-size: 17px;
    line-height: 1.65;
}

.family-service-page .container-service .content h2 {
    max-width: 920px;
}

.family-service-page .container-service .content table:not(.family-lawyer-table):not(.family-comparison-table):not(.family-price-table) {
    width: 100%;
    max-width: 100%;
    border-collapse: collapse;
    table-layout: auto;
}

.family-service-page .container-service .content table:not(.family-lawyer-table):not(.family-comparison-table):not(.family-price-table) th,
.family-service-page .container-service .content table:not(.family-lawyer-table):not(.family-comparison-table):not(.family-price-table) td {
    padding: 16px 18px;
    vertical-align: top;
}

@media (max-width: 1450px) {

    .family-service-page .container-service {
        grid-template-columns: 260px minmax(0, 1fr);
        gap: 52px;
    }

    .family-service-page .container-service .sidebar {
        max-width: 260px;
    }

    .family-service-page .container-service .sidebar-background {
        padding: 22px 20px;
    }

    .family-service-page .container-service .sidebar h2 {
        font-size: 27px;
    }

    .family-service-page .container-service .sidebar-background > .h2 {
        font-size: 27px !important;
    }

    .family-service-page .container-service .sidebar ul a {
        font-size: 14px;
    }
}

@media (max-width: 1199px) {

    .family-service-page .container-service {
        display: block;
    }

    .family-service-page .container-service .sidebar {
        max-width: none;
        margin-bottom: 34px;
        position: static;
        padding: 0;
        margin-top: 0;
        margin-right: 0;
        margin-left: 0;
    }

    .family-service-page .container-service .sidebar-background {
        max-height: none;
        overflow: visible;
        padding: 24px;
    }

    .family-service-page .container-service .sidebar h2 {
        font-size: 26px;
    }

    .family-service-page .container-service .sidebar ul {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px 24px;
        padding-left: 18px;
    }

    .family-service-page .container-service .sidebar ul li {
        margin: 0;
    }

    .family-service-page .container-service .content p,
    .family-service-page .container-service .content h2 {
        max-width: none;
    }

    .family-service-page .family-lawyer-table {
        border-spacing: 0;
    }

    .family-service-page .family-lawyer-table,
    .family-service-page .family-lawyer-table tbody,
    .family-service-page .family-lawyer-table tr,
    .family-service-page .family-lawyer-table td {
        display: block;
        width: 100%;
    }

    .family-service-page .family-lawyer-table tr {
        display: grid;
        gap: 18px;
        margin-bottom: 18px;
    }

    .family-service-page .family-lawyer-table td {
        margin: 0;
    }
}

@media (max-width: 767px) {
    .family-service-page .container-service .sidebar {
        display: none;
    }

    .family-service-page .container-service .content p {
        font-size: 15px;
        line-height: 1.58;
    }

    .family-service-page .container-service .content table:not(.family-lawyer-table):not(.family-comparison-table):not(.family-price-table) {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        white-space: nowrap;
    }
}

/* End */


/* Start:/local/templates/main/dist/css/style.css?174616263790756*/
:root {
  --header-height: min(80px, 60px + 20 * ((100vw - 390px) / 1110));
}

@font-face {
  font-family: "Inter";
  src: url("/local/templates/main/dist/css/../fonts/Inter-Medium-Normal.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Montserrat";
  src: url("/local/templates/main/dist/css/../fonts/Montserrat-Regular-Normal.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Montserrat";
  src: url("/local/templates/main/dist/css/../fonts/Montserrat-Medium-Normal.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Montserrat";
  src: url("/local/templates/main/dist/css/../fonts/Montserrat-Bold-Normal.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Playfair Display";
  src: url("/local/templates/main/dist/css/../fonts/Playfair_Display-Regular-Normal.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Playfair Display";
  src: url("/local/templates/main/dist/css/../fonts/Playfair_Display-Medium-Normal.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Roboto";
  src: url("/local/templates/main/dist/css/../fonts/Roboto-Thin-Normal.woff2") format("woff2");
  font-weight: 100;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Roboto";
  src: url("/local/templates/main/dist/css/../fonts/Roboto-Regular-Normal.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Roboto";
  src: url("/local/templates/main/dist/css/../fonts/Roboto-Medium-Normal.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Tenor Sans";
  src: url("/local/templates/main/dist/css/../fonts/Tenor_Sans-Regular-Normal.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  color: #000;
}

* {
  -webkit-tap-highlight-color: transparent;
  padding: 0;
  margin: 0;
  border: none;
}

*:not(body):has(> img, > svg) {
  flex: 0 0 auto;
  font-size: 0;
}

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

*::-moz-focus-inner {
  padding: 0;
  border: none;
}

:-moz-any-link {
  text-decoration: none;
}

:any-link,
abbr,
a {
  text-decoration: none;
}

textarea:focus-visible,
input:focus-visible,
:focus,
:active {
  outline: none;
}

:focus-visible {
  outline: 2px solid var(--outline-color, currentColor);
  outline-offset: 2px;
}

:disabled {
  cursor: default;
}

::-moz-placeholder {
  opacity: 1;
}

::placeholder {
  opacity: 1;
}

html,
body {
  -moz-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
  inline-size: 100%;
  block-size: 100%;
  font-size: 16px;
  line-height: 1;
}

th,
textarea,
input,
button,
h6,
h5,
h4,
h3,
h2,
h1 {
  font-weight: inherit;
}

textarea,
input,
button,
h6,
h5,
h4,
h3,
h2,
h1 {
  font-size: inherit;
}

::-moz-placeholder {
  color: inherit;
}

::placeholder,
dialog,
mark,
textarea,
input,
button,
a {
  color: inherit;
}

cite,
address,
textarea,
input,
button {
  font-style: inherit;
}

dialog,
mark,
textarea,
input,
button {
  background: none;
}

label,
button {
  cursor: pointer;
}

textarea,
input,
button {
  font-family: inherit;
  line-height: inherit;
}

button {
  align-items: center;
}

ol,
ul {
  list-style: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

q::before,
q::after {
  content: none;
}

img {
  vertical-align: top;
}

svg {
  fill: currentColor;
  stroke: currentColor;
}

fieldset {
  min-inline-size: auto;
}

dialog,
textarea,
input {
  inline-size: 100%;
}

textarea,
input {
  display: block;
  caret-color: currentColor;
}

input[type=number] {
  -moz-appearance: textfield;
}

input[type=number]::-webkit-outer-spin-button,
input[type=number]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  appearance: none;
  margin: 0;
}

input[type=search]::-webkit-search-decoration,
input[type=search]::-webkit-search-cancel-button,
input[type=search]::-webkit-search-results-button,
input[type=search]::-webkit-search-results-decoration {
  -webkit-appearance: none;
  appearance: none;
}

textarea {
  resize: vertical;
}

dialog {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  max-inline-size: none;
  block-size: 100%;
  max-block-size: none;
  overflow: auto;
}

dialog:not([open]) {
  opacity: 0;
  visibility: hidden;
}

dialog::backdrop {
  background: none;
}

/**
 * Swiper 11.1.14
 * Most modern mobile touch slider and framework with hardware accelerated transitions
 * https://swiperjs.com
 *
 * Copyright 2014-2024 Vladimir Kharlampidi
 *
 * Released under the MIT License
 *
 * Released on: September 12, 2024
 */

@font-face {
  font-family: "swiper-icons";
  src: url("data:application/font-woff;charset=utf-8;base64, d09GRgABAAAAAAZgABAAAAAADAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABGRlRNAAAGRAAAABoAAAAci6qHkUdERUYAAAWgAAAAIwAAACQAYABXR1BPUwAABhQAAAAuAAAANuAY7+xHU1VCAAAFxAAAAFAAAABm2fPczU9TLzIAAAHcAAAASgAAAGBP9V5RY21hcAAAAkQAAACIAAABYt6F0cBjdnQgAAACzAAAAAQAAAAEABEBRGdhc3AAAAWYAAAACAAAAAj//wADZ2x5ZgAAAywAAADMAAAD2MHtryVoZWFkAAABbAAAADAAAAA2E2+eoWhoZWEAAAGcAAAAHwAAACQC9gDzaG10eAAAAigAAAAZAAAArgJkABFsb2NhAAAC0AAAAFoAAABaFQAUGG1heHAAAAG8AAAAHwAAACAAcABAbmFtZQAAA/gAAAE5AAACXvFdBwlwb3N0AAAFNAAAAGIAAACE5s74hXjaY2BkYGAAYpf5Hu/j+W2+MnAzMYDAzaX6QjD6/4//Bxj5GA8AuRwMYGkAPywL13jaY2BkYGA88P8Agx4j+/8fQDYfA1AEBWgDAIB2BOoAeNpjYGRgYNBh4GdgYgABEMnIABJzYNADCQAACWgAsQB42mNgYfzCOIGBlYGB0YcxjYGBwR1Kf2WQZGhhYGBiYGVmgAFGBiQQkOaawtDAoMBQxXjg/wEGPcYDDA4wNUA2CCgwsAAAO4EL6gAAeNpj2M0gyAACqxgGNWBkZ2D4/wMA+xkDdgAAAHjaY2BgYGaAYBkGRgYQiAHyGMF8FgYHIM3DwMHABGQrMOgyWDLEM1T9/w8UBfEMgLzE////P/5//f/V/xv+r4eaAAeMbAxwIUYmIMHEgKYAYjUcsDAwsLKxc3BycfPw8jEQA/gZBASFhEVExcQlJKWkZWTl5BUUlZRVVNXUNTQZBgMAAMR+E+gAEQFEAAAAKgAqACoANAA+AEgAUgBcAGYAcAB6AIQAjgCYAKIArAC2AMAAygDUAN4A6ADyAPwBBgEQARoBJAEuATgBQgFMAVYBYAFqAXQBfgGIAZIBnAGmAbIBzgHsAAB42u2NMQ6CUAyGW568x9AneYYgm4MJbhKFaExIOAVX8ApewSt4Bic4AfeAid3VOBixDxfPYEza5O+Xfi04YADggiUIULCuEJK8VhO4bSvpdnktHI5QCYtdi2sl8ZnXaHlqUrNKzdKcT8cjlq+rwZSvIVczNiezsfnP/uznmfPFBNODM2K7MTQ45YEAZqGP81AmGGcF3iPqOop0r1SPTaTbVkfUe4HXj97wYE+yNwWYxwWu4v1ugWHgo3S1XdZEVqWM7ET0cfnLGxWfkgR42o2PvWrDMBSFj/IHLaF0zKjRgdiVMwScNRAoWUoH78Y2icB/yIY09An6AH2Bdu/UB+yxopYshQiEvnvu0dURgDt8QeC8PDw7Fpji3fEA4z/PEJ6YOB5hKh4dj3EvXhxPqH/SKUY3rJ7srZ4FZnh1PMAtPhwP6fl2PMJMPDgeQ4rY8YT6Gzao0eAEA409DuggmTnFnOcSCiEiLMgxCiTI6Cq5DZUd3Qmp10vO0LaLTd2cjN4fOumlc7lUYbSQcZFkutRG7g6JKZKy0RmdLY680CDnEJ+UMkpFFe1RN7nxdVpXrC4aTtnaurOnYercZg2YVmLN/d/gczfEimrE/fs/bOuq29Zmn8tloORaXgZgGa78yO9/cnXm2BpaGvq25Dv9S4E9+5SIc9PqupJKhYFSSl47+Qcr1mYNAAAAeNptw0cKwkAAAMDZJA8Q7OUJvkLsPfZ6zFVERPy8qHh2YER+3i/BP83vIBLLySsoKimrqKqpa2hp6+jq6RsYGhmbmJqZSy0sraxtbO3sHRydnEMU4uR6yx7JJXveP7WrDycAAAAAAAH//wACeNpjYGRgYOABYhkgZgJCZgZNBkYGLQZtIJsFLMYAAAw3ALgAeNolizEKgDAQBCchRbC2sFER0YD6qVQiBCv/H9ezGI6Z5XBAw8CBK/m5iQQVauVbXLnOrMZv2oLdKFa8Pjuru2hJzGabmOSLzNMzvutpB3N42mNgZGBg4GKQYzBhYMxJLMlj4GBgAYow/P/PAJJhLM6sSoWKfWCAAwDAjgbRAAB42mNgYGBkAIIbCZo5IPrmUn0hGA0AO8EFTQAA") format("woff");
  font-weight: 400;
  font-style: normal;
}

:root {
  --swiper-theme-color: #007aff;
  /*
  --swiper-preloader-color: var(--swiper-theme-color);
  --swiper-wrapper-transition-timing-function: initial;
  */
}

:host {
  position: relative;
  display: block;
  margin-left: auto;
  margin-right: auto;
  z-index: 1;
}

.swiper {
  margin-left: auto;
  margin-right: auto;
  position: relative;
  overflow: hidden;
  list-style: none;
  padding: 0;
  /* Fix of Webkit flickering */
  z-index: 1;
  display: block;
}

.swiper-vertical > .swiper-wrapper {
  flex-direction: column;
}

.swiper-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  z-index: 1;
  display: flex;
  transition-property: transform;
  transition-timing-function: var(--swiper-wrapper-transition-timing-function, initial);
  box-sizing: content-box;
}

.swiper-android .swiper-slide,
.swiper-ios .swiper-slide,
.swiper-wrapper {
  transform: translate3d(0px, 0, 0);
}

.swiper-horizontal {
  touch-action: pan-y;
}

.swiper-vertical {
  touch-action: pan-x;
}

.swiper-slide {
  flex-shrink: 0;
  width: 100%;
  height: 100%;
  position: relative;
  transition-property: transform;
  display: block;
}

.swiper-slide-invisible-blank {
  visibility: hidden;
}

/* Auto Height */

.swiper-autoheight,
.swiper-autoheight .swiper-slide {
  height: auto;
}

.swiper-autoheight .swiper-wrapper {
  align-items: flex-start;
  transition-property: transform, height;
}

.swiper-backface-hidden .swiper-slide {
  transform: translateZ(0);
  backface-visibility: hidden;
}

/* 3D Effects */

.swiper-3d.swiper-css-mode .swiper-wrapper {
  perspective: 1200px;
}

.swiper-3d .swiper-wrapper {
  transform-style: preserve-3d;
}

.swiper-3d {
  perspective: 1200px;
}

.swiper-3d .swiper-slide,
.swiper-3d .swiper-cube-shadow {
  transform-style: preserve-3d;
}

/* CSS Mode */

.swiper-css-mode > .swiper-wrapper {
  overflow: auto;
  scrollbar-width: none;
  /* For Firefox */
  -ms-overflow-style: none;
  /* For Internet Explorer and Edge */
}

.swiper-css-mode > .swiper-wrapper::-webkit-scrollbar {
  display: none;
}

.swiper-css-mode > .swiper-wrapper > .swiper-slide {
  scroll-snap-align: start start;
}

.swiper-css-mode.swiper-horizontal > .swiper-wrapper {
  scroll-snap-type: x mandatory;
}

.swiper-css-mode.swiper-vertical > .swiper-wrapper {
  scroll-snap-type: y mandatory;
}

.swiper-css-mode.swiper-free-mode > .swiper-wrapper {
  scroll-snap-type: none;
}

.swiper-css-mode.swiper-free-mode > .swiper-wrapper > .swiper-slide {
  scroll-snap-align: none;
}

.swiper-css-mode.swiper-centered > .swiper-wrapper::before {
  content: "";
  flex-shrink: 0;
  order: 9999;
}

.swiper-css-mode.swiper-centered > .swiper-wrapper > .swiper-slide {
  scroll-snap-align: center center;
  scroll-snap-stop: always;
}

.swiper-css-mode.swiper-centered.swiper-horizontal > .swiper-wrapper > .swiper-slide:first-child {
  margin-inline-start: var(--swiper-centered-offset-before);
}

.swiper-css-mode.swiper-centered.swiper-horizontal > .swiper-wrapper::before {
  height: 100%;
  min-height: 1px;
  width: var(--swiper-centered-offset-after);
}

.swiper-css-mode.swiper-centered.swiper-vertical > .swiper-wrapper > .swiper-slide:first-child {
  margin-block-start: var(--swiper-centered-offset-before);
}

.swiper-css-mode.swiper-centered.swiper-vertical > .swiper-wrapper::before {
  width: 100%;
  min-width: 1px;
  height: var(--swiper-centered-offset-after);
}

/* Slide styles start */

/* 3D Shadows */

.swiper-3d .swiper-slide-shadow,
.swiper-3d .swiper-slide-shadow-left,
.swiper-3d .swiper-slide-shadow-right,
.swiper-3d .swiper-slide-shadow-top,
.swiper-3d .swiper-slide-shadow-bottom,
.swiper-3d .swiper-slide-shadow,
.swiper-3d .swiper-slide-shadow-left,
.swiper-3d .swiper-slide-shadow-right,
.swiper-3d .swiper-slide-shadow-top,
.swiper-3d .swiper-slide-shadow-bottom {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 10;
}

.swiper-3d .swiper-slide-shadow {
  background: rgba(0, 0, 0, 0.15);
}

.swiper-3d .swiper-slide-shadow-left {
  background-image: linear-gradient(to left, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0));
}

.swiper-3d .swiper-slide-shadow-right {
  background-image: linear-gradient(to right, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0));
}

.swiper-3d .swiper-slide-shadow-top {
  background-image: linear-gradient(to top, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0));
}

.swiper-3d .swiper-slide-shadow-bottom {
  background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0));
}

.swiper-lazy-preloader {
  width: 42px;
  height: 42px;
  position: absolute;
  left: 50%;
  top: 50%;
  margin-left: -21px;
  margin-top: -21px;
  z-index: 10;
  transform-origin: 50%;
  box-sizing: border-box;
  border: 4px solid var(--swiper-preloader-color, var(--swiper-theme-color));
  border-radius: 50%;
  border-top-color: transparent;
}

.swiper:not(.swiper-watch-progress) .swiper-lazy-preloader,
.swiper-watch-progress .swiper-slide-visible .swiper-lazy-preloader {
  animation: swiper-preloader-spin 1s infinite linear;
}

.swiper-lazy-preloader-white {
  --swiper-preloader-color: #fff;
}

.swiper-lazy-preloader-black {
  --swiper-preloader-color: #000;
}

@keyframes swiper-preloader-spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/* Slide styles end */

.swiper {
  margin-inline: 0;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
}

.swiper-slide {
  block-size: auto;
}

.ibg {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.ibg img,
.ibg iframe,
.ibg video {
  position: absolute;
  inset: 0;
  z-index: -2;
  inline-size: 100%;
  block-size: 100%;
  -o-object-fit: cover;
  object-fit: cover;
  width: 100%;
  max-width: 100%;
  height: auto;
}

.visually-hidden {
  position: absolute;
  inline-size: 1px;
  block-size: 1px;
  margin: -1px;
  padding: 0;
  clip-path: inset(100%);
  clip: rect(0 0 0 0);
  overflow: hidden;
  white-space: nowrap;
  border: none;
  outline: none;
  outline-offset: 0;
}

.up {
  --outline-color: #996649;
  position: fixed;
  inset-block-end: 30px;
  inset-inline-end: 30px;
  z-index: 25;
  display: flex;
  justify-content: center;
  align-items: center;
  inline-size: 38px;
  aspect-ratio: 1/1;
  text-align: center;
  color: #fffefc;
  background-color: #996649;
  border: 1px solid #996649;
}

html:not(.scrolled) .up {
  opacity: 0;
  visibility: hidden;
}

.caption {
  font-size: min(20px, 15px + 5 * ((100vw - 390px) / 1110));
  line-height: 1;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: #9c6a39;
}

.h2 {
  font-family: "Playfair Display", serif;
  font-weight: 500;
  font-size: min(56px, 33px + 23 * ((100vw - 390px) / 1110));
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: #423b34;
}

html {
  scroll-padding-block-start: var(--header-height);
}

body {
  font-family: "Tenor Sans", sans-serif;
  font-size: min(23px, 14px + 9 * ((100vw - 390px) / 1110));
  line-height: 1.5;
  color: #666565;
  background-color: #fffefc;
}

.scroll-lock body {
  overflow: hidden;
}

.wrapper {
  position: relative;
  display: flex;
  flex-direction: column;
  min-block-size: 100%;
  overflow: visible;
}

@media(max-width:771px){
  .wrapper {
    overflow: hidden;
  }
}

.header {
  block-size: var(--header-height);
}

.header__wrapper {
  position: fixed;
  inset-block-start: 0;
  inset-inline: 0;
  z-index: 100;
  min-block-size: min(80px, 60px + 20 * ((100vw - 390px) / 1110));
  padding-block: 5px;
  background-color: #fffefc;
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: min(49px, 20px + 29 * ((100vw - 390px) / 1110));
}

.header-logo {
  flex: 0 0 auto;
  font-size: 0;
}

.header-logo__image {
  color: #000;
}

.header-logo__image svg {
  width: min(213px, 99px + 114 * ((100vw - 390px) / 1110));
  height: min(41px, 19px + 22 * ((100vw - 390px) / 1110));
}

.burger-button {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  inline-size: 50px;
  aspect-ratio: 1/1;
  padding-block: 12px;
  padding-inline: 10px;
}

.burger-active .burger-button {
  gap: 0;
}

.burger-button__line {
  inline-size: 100%;
  block-size: 2px;
  border-radius: 4px;
  background-color: #996649;
}

.burger-active .burger-button__line--top {
  transform: translateY(50%) rotate(315deg);
}

.burger-active .burger-button__line--center {
  inline-size: 0;
  block-size: 0;
}

.burger-active .burger-button__line--bottom {
  transform: translateY(-50%) rotate(-315deg);
}

.header-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(20px, 20px + 29 * ((100vw - 390px) / 1530), 49px);
}

.header-nav__list {
  display: flex;
  align-items: center;
  gap: 20px;
}

.header-nav__item {
  text-align: center;
}

.header-nav__link {
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #423b34;
}

.header-nav__link.active {
  color: #9c6a39;
}

.header-nav__button {
  --outline-color: #996649;
  display: flex;
  justify-content: center;
  align-items: center;
  min-block-size: 38px;
  padding-block: 4px;
  padding-inline: 24px;
  line-height: 1;
  text-transform: capitalize;
  text-align: center;
  color: #fff;
  background-color: #996649;
  border: 1px solid #996649;
}

.main {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
}

.footer {
  padding-block: min(90px, 21px + 69 * ((100vw - 390px) / 1110)) 95px;
  color: #fff;
  background-color: #423b34;
}

.footer__inner > *:last-child {
  margin-block-end: 0;
}

.footer__top {
  display: flex;
  gap: min(50px, 47px + 3 * ((100vw - 390px) / 1110));
  margin-block-end: min(56px, 40px + 16 * ((100vw - 390px) / 1110));
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: min(20px, 5px + 15 * ((100vw - 390px) / 1110));
  font-family: "Roboto", sans-serif;
  font-weight: 100;
  font-size: min(21px, 6px + 15 * ((100vw - 390px) / 1110));
}

.footer-address {
  display: flex;
  flex-direction: column;
  gap: 34px;
}

.footer-address__header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer-address__tel {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: min(20px, 17px + 3 * ((100vw - 390px) / 1110));
  line-height: 1;
  white-space: nowrap;
  color: #fff;
}

.footer-address__button {
  display: flex;
  justify-content: center;
  align-items: center;
  min-block-size: min(38px, 32px + 6 * ((100vw - 390px) / 1110));
  padding-block: 4px;
  padding-inline: min(24px, 20px + 4 * ((100vw - 390px) / 1110));
  font-size: min(13px, 11px + 2 * ((100vw - 390px) / 1110));
  line-height: 1;
  text-transform: capitalize;
  text-align: center;
  border: 1px solid;
}

.footer-address__text {
  font-family: "Roboto", sans-serif;
  font-size: min(21px, 18px + 3 * ((100vw - 390px) / 1110));
}

.footer-address__logo {
  margin-block-start: auto;
}

.footer-address__logo svg {
  width: 100%;
  max-width: min(377px, 328px + 49 * ((100vw - 390px) / 1110));
  height: 100%;
  max-height: min(73px, 63px + 10 * ((100vw - 390px) / 1110));
}

.footer-content {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 20px;
}

.footer-nav__list {
  display: flex;
  align-items: center;
  gap: 20px;
}

.footer-nav__item {
  text-align: center;
}

.footer-nav__link {
  font-size: min(11px, 10px + 1 * ((100vw - 390px) / 1110));
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.footer-section__title {
  margin-block-end: 15px;
  font-family: "Montserrat", sans-serif;
  font-weight: 500;
  line-height: 1;
}

.footer-section__list {
  display: flex;
  justify-content: start;
  gap: 10px;
}

.footer-section__list:not(:last-child) {
  margin-block-end: 15px;
}

.footer-section__text {
  font-size: min(11px, 10px + 1 * ((100vw - 390px) / 1110));
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.container {
  padding-inline: 30px;
}

.hero__inner {
  position: relative;
  isolation: isolate;
}

.hero__inner > *:last-child {
  margin-block-end: 0;
}

.hero__title {
  margin-block-end: min(18px, 15px + 3 * ((100vw - 390px) / 1110));
}

.hero__results {
  margin-block-end: min(47px, 23px + 24 * ((100vw - 390px) / 1110));
}

.hero__row {
  display: contents;
}

.hero__text {
  font-family: "Playfair Display", serif;
  font-weight: 500;
  font-size: min(20px, 12px + 8 * ((100vw - 390px) / 1110));
  letter-spacing: -0.05em;
  color: #423b34;
}

.hero__button {
  --outline-color: #996649;
  display: flex;
  justify-content: center;
  align-items: center;
  min-block-size: min(69px, 37px + 32 * ((100vw - 390px) / 1110));
  padding-block: 4px;
  padding-inline: min(26px, 10px + 16 * ((100vw - 390px) / 1110));
  font-size: min(22px, 7px + 15 * ((100vw - 390px) / 1110));
  line-height: 1;
  text-transform: uppercase;
  text-align: center;
  color: #fff;
  background-color: #996649;
  border: 1px solid #996649;
}

.hero__image {
  position: relative;
  z-index: -1;
  aspect-ratio: 331/412;
  font-size: 0;
}

.hero__image img {
  -o-object-fit: contain;
  object-fit: contain;
  -o-object-position: 50% 100%;
  object-position: 50% 100%;
}

.hero-title {
  display: flex;
  flex-direction: column;
  align-items: start;
  inline-size: -moz-min-content;
  inline-size: min-content;
  font-family: "Playfair Display", serif;
}

.hero-title__big {
  font-size: min(144px, 46px + 98 * ((100vw - 390px) / 1110));
  text-transform: uppercase;
  line-height: 1.1;
  color: #000;
}

.hero-title__bottom {
  display: flex;
  align-items: center;
  gap: min(30px, 10px + 20 * ((100vw - 390px) / 1110));
}

.hero-title__small {
  font-weight: 500;
  font-size: min(53px, 17px + 36 * ((100vw - 390px) / 1110));
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: #996649;
  text-decoration: underline;
}

.hero-results {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: min(16px, 6px + 10 * ((100vw - 390px) / 1110));
}

.hero-results__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: min(5px, 2px + 3 * ((100vw - 390px) / 1110));
  min-block-size: min(134px, 54px + 80 * ((100vw - 390px) / 1110));
  padding-inline: min(37px, 15px + 22 * ((100vw - 390px) / 1110));
  text-align: center;
  background-color: #f8f1ed;
}

.hero-results__count {
  font-family: "Playfair Display", serif;
  font-weight: 500;
  font-size: min(36px, 14px + 22 * ((100vw - 390px) / 1110));
  line-height: 1.2;
  letter-spacing: -0.03em;
  color: #423b34;
}

.hero-results__text {
  font-size: min(10px, 4px + 6 * ((100vw - 390px) / 1110));
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #4a4a4a;
}

.hero-quote {
  inline-size: -moz-fit-content;
  inline-size: fit-content;
  padding-block: min(25px, 9px + 16 * ((100vw - 390px) / 1110));
  padding-inline: min(60px, 20px + 40 * ((100vw - 390px) / 1110));
  font-family: "Playfair Display", serif;
  font-size: min(22px, 7px + 15 * ((100vw - 390px) / 1110));
  line-height: 1.3;
  color: #000;
  background-image: linear-gradient(90deg, #ebe4e0 71.65%, rgba(235, 228, 224, 0) 100%);
}

.hero-quote__text {
  position: relative;
}

.hero-quote__text::before,
.hero-quote__text::after {
  content: "";
  inline-size: min(26px, 9px + 17 * ((100vw - 390px) / 1110));
  aspect-ratio: 26.02/16.48;
  font-size: 0;
  background-color: rgba(0, 0, 0, 0.7);
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
}

.hero-quote__text::before {
  content: "";
  position: absolute;
  inset-inline-start: max(-34px, -12px + -22 * ((100vw - 390px) / 1110));
  inset-block-start: min(6px, 2px + 4 * ((100vw - 390px) / 1110));
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 27 17'%3E%3Cpath fill='%23000' fill-opacity='.7' d='M2.31 15.29A6.27 6.27 0 0 1 0 10.09c0-4.21 3.59-8 8.8-9.86l1.3 1.66c-4.86 2.17-5.82 5-6.2 6.77a6.27 6.27 0 0 1 2.82-.37c2.63.2 4.7 1.98 4.7 4.2 0 1.12-.53 2.2-1.49 2.98a5.7 5.7 0 0 1-3.61 1.24 6.4 6.4 0 0 1-2.18-.38 5.8 5.8 0 0 1-1.83-1.04Zm14.6 0a6.27 6.27 0 0 1-2.32-5.2c0-4.21 3.59-8 8.8-9.86l1.3 1.66c-4.86 2.17-5.81 5-6.2 6.77a6.3 6.3 0 0 1 2.82-.37c2.63.2 4.7 1.98 4.7 4.2 0 1.12-.53 2.2-1.49 2.98a5.7 5.7 0 0 1-3.6 1.24c-.76 0-1.5-.13-2.19-.38a5.8 5.8 0 0 1-1.83-1.04Z'/%3E%3C/svg%3E%0A");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 27 17'%3E%3Cpath fill='%23000' fill-opacity='.7' d='M2.31 15.29A6.27 6.27 0 0 1 0 10.09c0-4.21 3.59-8 8.8-9.86l1.3 1.66c-4.86 2.17-5.82 5-6.2 6.77a6.27 6.27 0 0 1 2.82-.37c2.63.2 4.7 1.98 4.7 4.2 0 1.12-.53 2.2-1.49 2.98a5.7 5.7 0 0 1-3.61 1.24 6.4 6.4 0 0 1-2.18-.38 5.8 5.8 0 0 1-1.83-1.04Zm14.6 0a6.27 6.27 0 0 1-2.32-5.2c0-4.21 3.59-8 8.8-9.86l1.3 1.66c-4.86 2.17-5.81 5-6.2 6.77a6.3 6.3 0 0 1 2.82-.37c2.63.2 4.7 1.98 4.7 4.2 0 1.12-.53 2.2-1.49 2.98a5.7 5.7 0 0 1-3.6 1.24c-.76 0-1.5-.13-2.19-.38a5.8 5.8 0 0 1-1.83-1.04Z'/%3E%3C/svg%3E%0A");
}

.hero-quote__text::after {
  content: "";
  position: relative;
  display: inline-block;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 27 17'%3E%3Cpath fill='%23000' fill-opacity='.7' d='M23.97 1.94a6.27 6.27 0 0 1 2.3 5.2c0 4.21-3.58 8-8.79 9.86l-1.3-1.66c4.86-2.17 5.82-5 6.2-6.77-.79.33-1.81.45-2.82.37-2.63-.2-4.7-1.99-4.7-4.2 0-1.12.53-2.2 1.49-2.99a5.7 5.7 0 0 1 3.6-1.23 6.42 6.42 0 0 1 4.02 1.42Zm-14.6 0a6.27 6.27 0 0 1 2.32 5.2c0 4.21-3.59 8-8.8 9.86l-1.3-1.66c4.86-2.17 5.81-5 6.2-6.77a6.3 6.3 0 0 1-2.82.37C2.33 8.74.26 6.95.26 4.74c0-1.12.54-2.2 1.5-2.99A5.7 5.7 0 0 1 5.36.52a6.42 6.42 0 0 1 4.02 1.42Z'/%3E%3C/svg%3E%0A");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 27 17'%3E%3Cpath fill='%23000' fill-opacity='.7' d='M23.97 1.94a6.27 6.27 0 0 1 2.3 5.2c0 4.21-3.58 8-8.79 9.86l-1.3-1.66c4.86-2.17 5.82-5 6.2-6.77-.79.33-1.81.45-2.82.37-2.63-.2-4.7-1.99-4.7-4.2 0-1.12.53-2.2 1.49-2.99a5.7 5.7 0 0 1 3.6-1.23 6.42 6.42 0 0 1 4.02 1.42Zm-14.6 0a6.27 6.27 0 0 1 2.32 5.2c0 4.21-3.59 8-8.8 9.86l-1.3-1.66c4.86-2.17 5.81-5 6.2-6.77a6.3 6.3 0 0 1-2.82.37C2.33 8.74.26 6.95.26 4.74c0-1.12.54-2.2 1.5-2.99A5.7 5.7 0 0 1 5.36.52a6.42 6.42 0 0 1 4.02 1.42Z'/%3E%3C/svg%3E%0A");
  transform: translate(min(13px, 4px + 9 * ((100vw - 390px) / 1110)), 50%);
}

.services {
  padding-block: min(55px, 14px + 41 * ((100vw - 390px) / 1110)) min(88px, 36px + 52 * ((100vw - 390px) / 1110));
  background-color: #ebe4e0;
}

.services__container > *:last-child {
  margin-block-end: 0;
}

.services__header {
  margin-block-end: min(68px, 30px + 38 * ((100vw - 390px) / 1110));
  text-align: center;
}

.services__header > *:last-child {
  margin-block-end: 0;
}

.services__caption {
  margin-block-end: min(20px, 10px + 10 * ((100vw - 390px) / 1110));
}

.services__title {
  margin-block-end: min(22px, 10px + 12 * ((100vw - 390px) / 1110));
}

.services__text {
  font-size: 15px;
}

.services__items {
  margin-block-end: min(103px, 32px + 71 * ((100vw - 390px) / 1110));
}

.services__button {
  display: flex;
  justify-content: center;
  align-items: center;
  min-block-size: min(69px, 37px + 32 * ((100vw - 390px) / 1110));
  margin-inline: auto;
  padding-block: 4px;
  padding-inline: min(26px, 10px + 16 * ((100vw - 390px) / 1110));
  font-size: min(22px, 7px + 15 * ((100vw - 390px) / 1110));
  line-height: 1;
  text-transform: uppercase;
  text-align: center;
  color: #423b34;
  border: 1px solid #996649;
}

.services-items {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-auto-rows: 1fr;
  row-gap: min(38px, 13px + 25 * ((100vw - 390px) / 1110));
  -moz-column-gap: min(23px, 13px + 10 * ((100vw - 390px) / 1110));
  column-gap: min(23px, 13px + 10 * ((100vw - 390px) / 1110));
  text-align: center;
}

.services-items__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: min(12px, 7px + 5 * ((100vw - 390px) / 1110));
  block-size: 100%;
  padding-block: min(66px, 39px + 27 * ((100vw - 390px) / 1110));
  padding-inline: min(28px, 16px + 12 * ((100vw - 390px) / 1110));
  background-color: #fff;
  border: 1px solid #cacaca;
}

.services-items__icon {
  flex: 0 0 auto;
  inline-size: min(57px, 33px + 24 * ((100vw - 390px) / 1110));
  aspect-ratio: 57/63;
  font-size: 0;
  color: #9c6a39;
}

.services-items__icon svg {
  width: calc(var(--services-item-icon-width) / 57 * 100%);
  height: calc(var(--services-item-icon-height) / 63 * 100%);
}

.services-items__text {
  flex: 1 1 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: "Playfair Display", serif;
  font-weight: 500;
  font-size: min(21px, 12px + 9 * ((100vw - 390px) / 1110));
  line-height: 1.2;
  letter-spacing: -0.03em;
  color: #423b34;
}

.services-items__link {
  font-size: min(11px, 7px + 4 * ((100vw - 390px) / 1110));
  line-height: 1;
  text-transform: capitalize;
  color: #996649;
}

.about {
  padding-block: min(64px, 15px + 49 * ((100vw - 390px) / 1110)) min(36px, 15px + 21 * ((100vw - 390px) / 1110));
}

.about__inner {
  display: grid;
  grid-template-columns: 0.8554572271fr 1.1445427729fr;
  grid-template-areas: "title title" "text text" "slider results";
  -moz-column-gap: min(31px, 21px + 10 * ((100vw - 390px) / 1110));
  column-gap: min(31px, 21px + 10 * ((100vw - 390px) / 1110));
}

@media(max-width:771px){
  .about__inner{
    display: block;
  }
  .about__slider {
    margin-bottom: 20px;
  }
  li.about-results__item{
    font-size: 14px;
  }
}

.about__title {
  grid-area: title;
  margin-block-end: min(55px, 27px + 28 * ((100vw - 390px) / 1110));
}

.about__text {
  grid-area: text;
  margin-block-end: min(66px, 21px + 45 * ((100vw - 390px) / 1110));
  font-size: min(20px, 14px + 6 * ((100vw - 390px) / 1110));
  line-height: 1.25;
}

.about__text p:not(:last-child) {
  margin-block-end: 1em;
}

.about__slider {
  grid-area: slider;
}

.about__results {
  grid-area: results;
}

.about-slider__slide {
  flex: 0 0 auto;
  aspect-ratio: 144.67/217;
  font-size: 0;
  background-color: #d9d9d9;
}

.about-results {
  display: flex;
  flex-direction: column;
  justify-content: end;
  gap: min(59px, 21px + 38 * ((100vw - 390px) / 1110));
  padding-block-end: min(20px, 6px + 14 * ((100vw - 390px) / 1110));
}

.about-results__item {
  padding-block: min(15px, 6px + 9 * ((100vw - 390px) / 1110));
  padding-inline: min(47px, 18px + 29 * ((100vw - 390px) / 1110)) 23px;
  font-size: min(20px, 7px + 13 * ((100vw - 390px) / 1110));
  line-height: 2;
  background-image: linear-gradient(90deg, #ebe4e0 71.65%, rgba(235, 228, 224, 0) 100%);
}

.team {
  padding-block: min(79px, 9px + 70 * ((100vw - 390px) / 1110)) min(157px, 67px + 90 * ((100vw - 390px) / 1110));
  padding-bottom: 20px;
}

.team__header {
  margin-block-end: min(61px, 28px + 33 * ((100vw - 390px) / 1110));
}

.team__header > *:last-child {
  margin-block-end: 0;
}

.team-slider__wrapper {
  min-block-size: min(700px, 259px + 441 * ((100vw - 390px) / 1110));
}

.team-slider__slide {
  display: flex;
  flex-direction: column;
  gap: min(41px, 15px + 26 * ((100vw - 390px) / 1110));
}

.team-slider__slide:has(.team-slider__button) {
  padding-block-end: min(16px, 6px + 10 * ((100vw - 390px) / 1110));
}

.team-slider__button {
  display: flex;
  justify-content: center;
  align-items: center;
  inline-size: 100%;
  min-block-size: min(65px, 24px + 41 * ((100vw - 390px) / 1110));
  margin-inline: auto;
  padding-block: 4px;
  padding-inline: min(25px, 9px + 16 * ((100vw - 390px) / 1110));
  font-size: min(21px, 7px + 14 * ((100vw - 390px) / 1110));
  line-height: 1;
  text-transform: uppercase;
  text-align: center;
  color: #423b34;
  border: 1px solid #996649;
}

.team-card {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: end;
  gap: min(11px, 4px + 7 * ((100vw - 390px) / 1110));
  flex: 1 1 auto;
  padding-block: min(29px, 9px + 20 * ((100vw - 390px) / 1110));
  padding-inline: min(25px, 10px + 15 * ((100vw - 390px) / 1110));
}

.team-card__image {
  position: absolute;
  inset: 0;
  z-index: -1;
  font-size: 0;
  background-color: #d9d9d9;
}

.team-card__title {
  font-family: "Playfair Display", serif;
  font-weight: 500;
  font-size: min(34px, 12px + 22 * ((100vw - 390px) / 1110));
  line-height: 1.2;
  letter-spacing: -0.03em;
  color: #fff;
}

.team-card__job {
  font-size: min(18px, 6px + 12 * ((100vw - 390px) / 1110));
  color: #fff;
}

.steps {
  padding-block: min(79px, 14px + 65 * ((100vw - 390px) / 1110)) min(133px, 48px + 85 * ((100vw - 390px) / 1110));
}

.steps__header {
  margin-block-end: min(126px, 34px + 92 * ((100vw - 390px) / 1110));
}

.steps__header > *:last-child {
  margin-block-end: 0;
}

.steps-items {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: min(9px, 3px + 6 * ((100vw - 390px) / 1110));
  scrollbar-width: none;
  overflow-x: auto;
  overflow-y: hidden;
}

.steps-items::-webkit-scrollbar {
  display: none;
}

.steps-items__item:not(:last-child) {
  display: flex;
  align-items: center;
  gap: min(9px, 3px + 6 * ((100vw - 390px) / 1110));
  flex: 1 1 auto;
}

.steps-items__item:not(:last-child)::after {
  content: "";
  flex: 1 1 auto;
  aspect-ratio: 116/7;
  font-size: 0;
  background-color: #996649;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 116 7'%3E%3Cpath fill='%23996649' d='M115.08 3.56 112.46.94l-2.61 2.62 2.61 2.61 2.62-2.61ZM.18 4h112.28v-.9H.17V4Z'/%3E%3C/svg%3E%0A");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 116 7'%3E%3Cpath fill='%23996649' d='M115.08 3.56 112.46.94l-2.61 2.62 2.61 2.61 2.62-2.61ZM.18 4h112.28v-.9H.17V4Z'/%3E%3C/svg%3E%0A");
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
}

.steps-items__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: min(5px, 2px + 3 * ((100vw - 390px) / 1110));
  flex: 0 0 auto;
  inline-size: min(181px, 74px + 107 * ((100vw - 390px) / 1110));
  aspect-ratio: 1/1;
  padding-block: min(27px, 11px + 16 * ((100vw - 390px) / 1110));
  padding-inline: 5px;
  text-align: center;
  border-radius: 50%;
  border: 1px solid #996649;
}

.steps-items__icon {
  display: flex;
  justify-content: center;
  align-items: center;
  flex: 0 0 auto;
  inline-size: min(34px, 14px + 20 * ((100vw - 390px) / 1110));
  aspect-ratio: 1/1;
  font-size: 0;
  color: #9c6a39;
}

.steps-items__icon svg {
  width: calc(var(--steps-item-icon-width) / 34 * 100%);
  height: calc(var(--steps-item-icon-height) / 34 * 100%);
}

.steps-items__text {
  font-family: "Playfair Display", serif;
  font-weight: 500;
  font-size: min(20px, 8px + 12 * ((100vw - 390px) / 1110));
  line-height: 1.2;
  letter-spacing: -0.03em;
  color: #9c6a39;
}

.price {
  padding-block: min(75px, 14px + 61 * ((100vw - 390px) / 1110)) min(185px, 35px + 150 * ((100vw - 390px) / 1110));
}

.price__header {
  margin-block-end: min(142px, 53px + 89 * ((100vw - 390px) / 1110));
}

.price__header > *:last-child {
  margin-block-end: 0;
}

.price-slider {
  padding-block: max(5px, 6px + -1 * ((100vw - 390px) / 1110));
  overflow: visible;
}

.price-slider__slide {
  inline-size: -moz-fit-content;
  inline-size: fit-content;
}

.price-slider__slide--center {
  position: relative;
}

.price-slider__slide--center::before,
.price-slider__slide--center::after {
  content: "";
  position: absolute;
  inset-block-start: 50%;
  z-index: -1;
  inline-size: min(2px, 1.5px + 0.5 * ((100vw - 390px) / 1110));
  block-size: min(373px, 209.5px + 163.5 * ((100vw - 390px) / 1110));
  background-color: #9c6a39;
  transform: translateY(-50%);
}

.price-slider__slide--center::before {
  inset-inline-start: -46.5px;
}

.price-slider__slide--center::after {
  inset-inline-end: -46.5px;
}

.price-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  block-size: 100%;
  text-align: center;
  max-width: 315px;
}

.price-card > *:last-child {
  margin-block-end: 0;
}

.price-card__title {
  margin-block-end: min(16px, 9px + 7 * ((100vw - 390px) / 1110));
}

.price-card__price {
  margin-block-end: min(50px, 28px + 22 * ((100vw - 390px) / 1110));
  font-size: min(51px, 29px + 22 * ((100vw - 390px) / 1110));
  line-height: 1.2;
  letter-spacing: -0.03em;
  white-space: nowrap;
  color: #423b34;
}

.price-card__button {
  display: flex;
  justify-content: center;
  align-items: center;
  inline-size: 100%;
  max-inline-size: min(344px, 193px + 151 * ((100vw - 390px) / 1110));
  min-block-size: min(97px, 54px + 43 * ((100vw - 390px) / 1110));
  margin-inline: auto;
  margin-block-start: auto;
  padding-block: 5px;
  padding-inline: 10px;
  font-size: min(31px, 17px + 14 * ((100vw - 390px) / 1110));
  line-height: 1;
  text-transform: uppercase;
  text-align: center;
  color: #423b34;
  border: 1px solid #996649;
}

.price-card-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: min(16px, 9px + 7 * ((100vw - 390px) / 1110));
}

.price-card-title > *:last-child {
  margin-block-end: 0;
}

.price-card-title__big {
  font-family: "Playfair Display", serif;
  font-weight: 500;
  font-size: min(51px, 29px + 22 * ((100vw - 390px) / 1110));
  line-height: 1.2;
  letter-spacing: -0.03em;
  color: #423b34;
}

.price-card-title__small {
  font-size: min(27px, 15px + 12 * ((100vw - 390px) / 1110));
}

.projects {
  padding-block: min(92px, 28px + 64 * ((100vw - 390px) / 1110)) min(120px, 49px + 71 * ((100vw - 390px) / 1110));
  background-color: #ebe4e0;
}

.projects__container > *:last-child {
  margin-block-end: 0;
}

.projects__title {
  margin-block-end: min(99px, 28px + 71 * ((100vw - 390px) / 1110));
  text-align: center;
}

.projects__items {
  margin-block-end: min(97px, 36px + 61 * ((100vw - 390px) / 1110));
}

.projects__button {
  display: flex;
  justify-content: center;
  align-items: center;
  inline-size: 100%;
  min-block-size: min(69px, 37px + 32 * ((100vw - 390px) / 1110));
  margin-inline: auto;
  padding-block: 5px;
  padding-inline: 10px;
  font-size: min(22px, 7px + 15 * ((100vw - 390px) / 1110));
  line-height: 1;
  text-transform: uppercase;
  text-align: center;
  color: #423b34;
  border: 1px solid #996649;
}

.projects-items {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  row-gap: min(40px, 11px + 29 * ((100vw - 390px) / 1110));
  -moz-column-gap: min(31px, 11px + 20 * ((100vw - 390px) / 1110));
  column-gap: min(31px, 11px + 20 * ((100vw - 390px) / 1110));
}

.projects-card {
  display: flex;
  flex-direction: column;
  gap: min(41px, 14px + 27 * ((100vw - 390px) / 1110));
  block-size: 100%;
  padding-block: min(26px, 9px + 17 * ((100vw - 390px) / 1110)) min(68px, 23px + 45 * ((100vw - 390px) / 1110));
  padding-inline: min(19px, 7px + 12 * ((100vw - 390px) / 1110));
  background-color: #fff;
  border: 1px solid #cacaca;
}

.projects-card__title {
  font-size: min(11px, 3px + 8 * ((100vw - 390px) / 1110));
}

.projects-card__text {
  flex: 1 1 auto;
  font-size: min(18px, 6px + 12 * ((100vw - 390px) / 1110));
  letter-spacing: -0.04em;
  color: #423b34;
}

.projects-card__link {
  align-self: center;
  font-size: min(11px, 4px + 7 * ((100vw - 390px) / 1110));
  line-height: 1;
  text-transform: uppercase;
  text-align: center;
  color: #996649;
}

.reviews {
  padding-block: min(75px, 30px + 45 * ((100vw - 390px) / 1110)) min(66px, 50px + 16 * ((100vw - 390px) / 1110));
}

.reviews__container > *:last-child {
  margin-block-end: 0;
}

.reviews__header {
  margin-block-end: min(84px, 27px + 57 * ((100vw - 390px) / 1110));
}

.reviews__slider {
  margin-block-end: min(52px, 34px + 18 * ((100vw - 390px) / 1110));
}

.reviews__link {
  display: block;
  inline-size: -moz-fit-content;
  inline-size: fit-content;
  margin-inline: auto;
  font-size: min(20px, 8px + 12 * ((100vw - 390px) / 1110));
  line-height: 1;
  text-align: center;
  color: #996649;
}

.reviews-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.reviews-header__text > *:last-child {
  margin-block-end: 0;
}

.reviews-header__button {
  display: flex;
  justify-content: center;
  align-items: center;
  flex: 0 0 auto;
  min-block-size: min(69px, 32px + 37 * ((100vw - 390px) / 1110));
  aspect-ratio: 211/69;
  text-align: center;
  font-size: 0;
  border: 1px solid #996649;
}

.reviews-header__icon {
  inline-size: 62.0853080569%;
  aspect-ratio: 131/33.38;
}

.reviews-header__icon img {
  -o-object-fit: contain;
  object-fit: contain;
}

.reviews-card {
  display: flex;
  flex-direction: column;
  block-size: 100%;
  padding-block: min(40px, 20px + 20 * ((100vw - 390px) / 1110)) min(62px, 31px + 31 * ((100vw - 390px) / 1110));
  padding-inline: min(22px, 11px + 11 * ((100vw - 390px) / 1110));
  background-color: #f8f1ed;
  border-radius: min(16px, 8px + 8 * ((100vw - 390px) / 1110));
}

.reviews-card > *:last-child {
  margin-block-end: 0;
}

.reviews-card__header {
  display: flex;
  align-items: center;
  gap: min(15px, 7px + 8 * ((100vw - 390px) / 1110));
  margin-block-end: min(20px, 10px + 10 * ((100vw - 390px) / 1110));
}

.reviews-card__avatar {
  flex: 0 0 auto;
  inline-size: min(55px, 27px + 28 * ((100vw - 390px) / 1110));
  aspect-ratio: 1/1;
  font-size: 0;
  background-color: #d9d9d9;
  border-radius: 50%;
}

.reviews-card__person {
  flex: 1 1 auto;
}

.reviews-card__person > *:last-child {
  margin-block-end: 0;
}

.reviews-card__name {
  margin-block-end: min(8px, 4px + 4 * ((100vw - 390px) / 1110));
  font-family: "Playfair Display", serif;
  font-weight: 500;
  font-size: min(18px, 9px + 9 * ((100vw - 390px) / 1110));
  line-height: 1.2;
  letter-spacing: -0.03em;
  color: #423b34;
}

.reviews-card__job {
  font-size: min(9px, 4px + 5 * ((100vw - 390px) / 1110));
}

.reviews-card__time {
  font-size: min(9px, 4px + 5 * ((100vw - 390px) / 1110));
  color: rgba(102, 101, 101, 0.5);
}

.reviews-card__text {
  flex: 1 1 auto;
  margin-block-end: min(36px, 18px + 18 * ((100vw - 390px) / 1110));
  font-size: min(14px, 6px + 8 * ((100vw - 390px) / 1110));
  line-height: 1.2;
}

.reviews-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.reviews-card__icon {
  flex: 0 0 auto;
  inline-size: min(97px, 48px + 49 * ((100vw - 390px) / 1110));
  aspect-ratio: 97/24.71;
  font-size: 0;
}

.reviews-card__icon img {
  -o-object-fit: contain;
  object-fit: contain;
}

.reviews-card__link {
  font-size: min(11px, 5px + 6 * ((100vw - 390px) / 1110));
  line-height: 1;
  color: #996649;
}

.blog {
  padding-block: min(80px, 32px + 48 * ((100vw - 390px) / 1110)) min(135px, 54px + 81 * ((100vw - 390px) / 1110));
  background-color: #f8f1ed;
}

.blog__title {
  grid-area: title;
  margin-block-end: min(115px, 71px + 44 * ((100vw - 390px) / 1110));
}

.blog__slider {
  grid-area: slider;
}

.blog__video {
  grid-area: video;
}

.blog-card {
  display: flex;
  flex-direction: column;
  gap: min(20px, 13px + 7 * ((100vw - 390px) / 1110));
  block-size: 100%;
}

.blog-card__image {
  flex: 0 0 auto;
  aspect-ratio: 336/232;
  font-size: 0;
  background-color: #d9d9d9;
}

.blog-card__content {
  flex: 1 1 auto;
}

.blog-card__text {
  flex: 1 1 auto;
}

.blog-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: min(19px, 12px + 7 * ((100vw - 390px) / 1110));
  text-align: center;
}

.blog-title {
  font-family: "Playfair Display", serif;
  font-weight: 500;
  font-size: min(21px, 13px + 8 * ((100vw - 390px) / 1110));
  line-height: 1.2;
  letter-spacing: -0.03em;
  color: #423b34;
}

.blog-text {
  font-size: min(11px, 7px + 4 * ((100vw - 390px) / 1110));
}

.blog-link {
  font-size: min(11px, 7px + 4 * ((100vw - 390px) / 1110));
  line-height: 1;
  text-transform: capitalize;
  color: #996649;
}

.blog-video {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: min(20px, 13px + 7 * ((100vw - 390px) / 1110));
  block-size: 100%;
}

.blog-video__caption {
  font-size: 20px;
  line-height: 1.4;
  text-transform: uppercase;
  color: #9c6a39;
}

.blog-video__media {
  position: relative;
  font-size: 0;
}

.blog-video__item {
  background-color: #d9d9d9;
}

.blog-video__button {
  position: absolute;
  inset-inline-start: 50%;
  inset-block-start: 50%;
  z-index: 1;
  color: rgba(41, 45, 50, 0.49);
  transform: translate(-50%, -50%);
}

.blog-video__button svg {
  width: min(53px, 39px + 14 * ((100vw - 390px) / 1110));
  height: min(53px, 39px + 14 * ((100vw - 390px) / 1110));
}

.faq {
  padding-block: min(81px, 14px + 67 * ((100vw - 390px) / 1110)) min(81px, 23px + 58 * ((100vw - 390px) / 1110));
}

.faq__inner {
  display: grid;
}

.faq__inner > *:last-child {
  margin-block-end: 0;
}

.faq__side > *:last-child {
  margin-block-end: 0;
}

.faq__header {
  margin-block-end: 42px;
}

.faq__header > *:last-child {
  margin-block-end: 0;
}

.faq__caption {
  margin-block-end: min(19px, 10px + 9 * ((100vw - 390px) / 1110));
}

.faq__title {
  margin-block-end: min(26px, 10px + 16 * ((100vw - 390px) / 1110));
}

.faq__text {
  font-size: 15px;
}

.faq-button {
  --outline-color: #9c6a39;
  display: flex;
  justify-content: center;
  align-items: center;
  inline-size: 100%;
  min-block-size: 37px;
  padding-block: 4px;
  padding-inline: 24px;
  font-size: min(13px, 7px + 6 * ((100vw - 390px) / 1110));
  line-height: 1;
  text-transform: uppercase;
  text-align: center;
  color: #423b34;
  border: 1px solid #996649;
}

.faq-spoilers__item:not(:last-child) {
  margin-block-end: min(10px, 5px + 5 * ((100vw - 390px) / 1110));
}

.faq-spoilers__button {
  --outline-color: #9c6a39;
  display: flex;
  justify-content: space-between;
  align-items: center;
  inline-size: 100%;
  min-block-size: min(58px, 26px + 32 * ((100vw - 390px) / 1110));
  padding-block: 5px;
  padding-inline: min(30px, 13px + 17 * ((100vw - 390px) / 1110));
  font-family: "Inter", sans-serif;
  font-weight: 500;
  font-size: min(16px, 7px + 9 * ((100vw - 390px) / 1110));
  text-align: start;
  color: #fff;
  background-color: #9c6a39;
  border: 1px solid #9c6a39;
}

.spoiler-active .faq-spoilers__button {
  color: #423b34;
  background-color: rgba(156, 106, 57, 0);
  border-color: rgba(156, 106, 57, 0);
}

.faq-spoilers__icon {
  flex: 0 0 auto;
  font-size: 0;
}

.spoiler-active .faq-spoilers__icon {
  transform: rotate(180deg);
}

.faq-spoilers__icon svg {
  width: min(20px, 9px + 11 * ((100vw - 390px) / 1110));
  height: min(10px, 5px + 5 * ((100vw - 390px) / 1110));
}

.faq-spoilers__inner {
  padding-block: min(18px, 8px + 10 * ((100vw - 390px) / 1110));
  padding-inline: min(30px, 13px + 17 * ((100vw - 390px) / 1110));
  font-size: min(12px, 5px + 7 * ((100vw - 390px) / 1110));
}

.articles {
  padding-block: min(64px, 12px + 52 * ((100vw - 390px) / 1110)) min(64px, 48px + 16 * ((100vw - 390px) / 1110));
}

.articles__container > *:last-child {
  margin-block-end: 0;
}

.articles__list {
  margin-block-end: 42px;
}

.articles__list article:not(:last-child) {
  margin-block-end: min(57px, 33px + 24 * ((100vw - 390px) / 1110));
}

.articles__list h3 {
  margin-block-end: min(65px, 35px + 30 * ((100vw - 390px) / 1110));
  font-family: "Playfair Display", serif;
  font-weight: 500;
  font-size: min(56px, 33px + 23 * ((100vw - 390px) / 1110));
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: #423b34;
}

.articles__list div p:not(:last-child) {
  margin-block-end: 1em;
}

.articles__button {
  display: flex;
  justify-content: center;
  align-items: center;
  min-block-size: min(66px, 37px + 29 * ((100vw - 390px) / 1110));
  padding-block: 5px;
  padding-inline: 25px;
  font-size: min(21px, 7px + 14 * ((100vw - 390px) / 1110));
  line-height: 1;
  text-transform: uppercase;
  text-align: center;
  color: #423b34;
  border: 1px solid #996649;
}

.feedback {
  padding-block: min(114px, 14px + 100 * ((100vw - 390px) / 1110)) min(130px, 27px + 103 * ((100vw - 390px) / 1110));
  background-color: #ebe4e0;
}

.feedback__inner {
  display: grid;
}

.feedback__inner > *:last-child {
  margin-block-end: 0;
}

.feedback__content > *:last-child {
  margin-block-end: 0;
}

.feedback__header {
  margin-block-end: min(45px, 34px + 11 * ((100vw - 390px) / 1110));
}

.feedback__header > *:last-child {
  margin-block-end: 0;
}

.feedback__title {
  margin-block-end: min(23px, 10px + 13 * ((100vw - 390px) / 1110));
}

.feedback__image {
  font-size: 0;
}

.feedback-text {
  font-size: min(21px, 15px + 6 * ((100vw - 390px) / 1110));
}

.feedback-form > *:last-child {
  margin-block-end: 0;
}

.feedback-form__inputs {
  margin-block-end: min(21px, 10px + 11 * ((100vw - 390px) / 1110));
}

.feedback-form__textarea {
  margin-block-end: min(50px, 20px + 30 * ((100vw - 390px) / 1110));
}

.feedback-form__button {
  display: flex;
  justify-content: center;
  align-items: center;
  min-block-size: min(59px, 37px + 22 * ((100vw - 390px) / 1110));
  padding-block: 5px;
  padding-inline: 15px;
  font-size: min(22px, 7px + 15 * ((100vw - 390px) / 1110));
  line-height: 1;
  text-transform: capitalize;
  text-align: center;
  color: #423b34;
  border: 1px solid #9c6a39;
}

.feedback-inputs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: min(27px, 13px + 14 * ((100vw - 390px) / 1110));
}

.feedback-inputs__label {
  display: block;
  inline-size: -moz-fit-content;
  inline-size: fit-content;
  margin-block-end: min(6px, 3px + 3 * ((100vw - 390px) / 1110));
  font-size: min(14px, 7px + 7 * ((100vw - 390px) / 1110));
  letter-spacing: 0.08em;
  color: #423b34;
}

.feedback-inputs__input {
  block-size: min(53px, 25px + 28 * ((100vw - 390px) / 1110));
  line-height: 1;
}

.feedback-input {
  inline-size: 100%;
  padding-inline: min(15px, 7px + 8 * ((100vw - 390px) / 1110));
  font-size: min(15px, 7px + 8 * ((100vw - 390px) / 1110));
  background-color: rgba(255, 255, 255, 0.5);
  border: 1px solid #cacaca;
}

.feedback-input:focus {
  border-color: #9c6a39;
}

.feedback-input::-moz-placeholder {
  color: #cacaca;
}

.feedback-input::placeholder {
  color: #cacaca;
}

.feedback-textarea__label {
  display: block;
  inline-size: -moz-fit-content;
  inline-size: fit-content;
  margin-block-end: min(6px, 3px + 3 * ((100vw - 390px) / 1110));
  font-size: min(15px, 7px + 8 * ((100vw - 390px) / 1110));
  letter-spacing: 0.07em;
  color: #423b34;
}

.feedback-textarea__input {
  min-block-size: min(272px, 131px + 141 * ((100vw - 390px) / 1110));
  padding-block: min(15px, 7px + 8 * ((100vw - 390px) / 1110));
}

.map {
  position: relative;
  font-family: "Roboto", sans-serif;
}

.map__item {
  aspect-ratio: 393/396;
  font-size: 0;
  background-color: #d9d9d9;
}

.map__block {
  position: absolute;
  inset: 0;
  z-index: 1;
  padding-block: min(69px, 57px + 12 * ((100vw - 390px) / 1110));
  overflow-x: hidden;
  overflow-y: auto;
  pointer-events: none;
  scrollbar-width: none;
}

.map__block::-webkit-scrollbar {
  display: none;
}

.map-address {
  max-inline-size: min(584px, 287px + 297 * ((100vw - 390px) / 1110));
  padding-block: min(16px, 8px + 8 * ((100vw - 390px) / 1110)) min(76px, 26px + 50 * ((100vw - 390px) / 1110));
  padding-inline: min(20px, 10px + 10 * ((100vw - 390px) / 1110));
  background-color: #fff;
  pointer-events: all;
}

.map-address__item:not(:last-child) {
  margin-block-end: min(44px, 23px + 21 * ((100vw - 390px) / 1110));
}

.map-address__item--row {
  display: flex;
  align-items: center;
  gap: min(65px, 34px + 31 * ((100vw - 390px) / 1110));
}

.map-address__item--row:not(:last-child) {
  margin-block-end: min(31px, 16px + 15 * ((100vw - 390px) / 1110));
}

.map-address__item > *:last-child {
  margin-block-end: 0;
}

.map-address__content > *:last-child {
  margin-block-end: 0;
}

.map-address__title {
  margin-block-end: min(5px, 3px + 2 * ((100vw - 390px) / 1110));
  font-weight: 500;
  font-size: min(24px, 13px + 11 * ((100vw - 390px) / 1110));
  color: #000;
}

.map-address__item--row .map-address__title {
  margin-block-end: min(11px, 6px + 5 * ((100vw - 390px) / 1110));
}

.map-address__text {
  max-inline-size: min(312px, 163px + 149 * ((100vw - 390px) / 1110));
  margin-block-end: min(9px, 5px + 4 * ((100vw - 390px) / 1110));
  font-size: min(21px, 11px + 10 * ((100vw - 390px) / 1110));
  color: #5b5b5b;
}

.map-address__link {
  font-size: min(21px, 11px + 10 * ((100vw - 390px) / 1110));
  color: #1a73e8;
}

.map-icon {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: min(9px, 5px + 4 * ((100vw - 390px) / 1110));
  font-size: min(21px, 11px + 10 * ((100vw - 390px) / 1110));
  text-align: center;
  color: #1a73e8;
}

.map-icon__image {
  flex: 0 0 auto;
  inline-size: min(39px, 21px + 18 * ((100vw - 390px) / 1110));
  aspect-ratio: 1/1;
  font-size: 0;
}

.map-icon__image img {
  -o-object-fit: contain;
  object-fit: contain;
}

.consultation {
  padding: 10px;
}

.consultation__inner {
  position: relative;
  inline-size: 100%;
  max-inline-size: 768px;
  margin: auto;
  background-color: rgba(255, 255, 255, 0.78);
  border-radius: 20px;
}

.consultation__inner:has(.consultation__image) {
  max-inline-size: 1197px;
}

.consultation__close {
  position: absolute;
  inset-block-start: 10px;
  inset-inline-end: 10px;
  z-index: 1;
  font-size: 0;
  color: #000;
}

.consultation__image {
  font-size: 0;
}

.consultation__image img {
  -o-object-fit: contain;
  object-fit: contain;
  -o-object-position: 50% 100%;
  object-position: 50% 100%;
}

.consultation__content > *:last-child {
  margin-block-end: 0;
}

.consultation__header {
  margin-block-end: 27px;
  font-family: "Playfair Display", serif;
  font-weight: 500;
  color: #423b34;
}

.consultation__title {
  font-size: 24px;
  letter-spacing: -0.05em;
}

.consultation__caption {
  margin-block-start: 7px;
  font-size: 20px;
  letter-spacing: -0.05em;
}

.consultation__form {
  margin-block-end: 43px;
}

.consultation__text {
  font-family: "Montserrat", sans-serif;
  font-size: 12px;
  letter-spacing: -0.08em;
  color: #000;
}

.consultation-form {
  max-inline-size: 530px;
}

.consultation-form > *:last-child {
  margin-block-end: 0;
}

.consultation-form__inputs {
  margin-block-end: 38px;
}

.consultation-form__button {
  display: flex;
  justify-content: center;
  align-items: center;
  min-block-size: 63px;
  margin-inline: auto;
  padding-block: 5px;
  padding-inline: 16px;
  font-size: 24px;
  line-height: 1;
  text-transform: capitalize;
  text-align: center;
  color: #423b34;
  border: 2px solid #9c6a39;
}

.consultation-inputs__item {
  display: flex;
  flex-direction: column;
  align-items: start;
  gap: 6px;
  font-size: 14px;
}

.consultation-inputs__item:not(:last-child) {
  margin-block-end: 15px;
}

.consultation-inputs__label {
  letter-spacing: 0.08em;
  color: #423b34;
}

.consultation-inputs__input {
  block-size: 53px;
  padding-inline: 14px;
  line-height: 1;
  background-color: #fff;
  border: 1px solid #cacaca;
  border-radius: 11px;
}

.consultation-inputs__input:focus {
  border-color: #9c6a39;
}

.consultation-inputs__input::-moz-placeholder {
  color: #cacaca;
}

.consultation-inputs__input::placeholder {
  color: #cacaca;
}

@media (min-width: 76.1px) {
  .reviews-header__caption {
    margin-block-end: min(39px, 16px + 23 * ((100vw - 780px) / 1140));
  }
}

@media (min-width: 360.1px) {
  .hero-title__big {
    font-size: min(144px, 52px + 92 * ((100vw - 390px) / 1110));
  }

  .hero-title__small {
    font-size: min(53px, 19px + 34 * ((100vw - 390px) / 1110));
  }
}

@media (min-width: 390.1px) {
  .blog-video__caption {
    font-size: 33px;
  }
}

@media (min-width: 500.1px) {
  .consultation {
    padding: 30px;
  }

  .consultation__close {
    inset-block-start: 38px;
    inset-inline-end: 38px;
  }
}

@media (min-width: 768.1px) {
  :root {
    --header-height: min(80px, 32px + 48 * ((100vw - 780px) / 1140));
  }

  .caption {
    font-size: min(20px, 8px + 12 * ((100vw - 780px) / 1140));
    letter-spacing: 0.05em;
  }

  .h2 {
    font-size: min(56px, 22px + 34 * ((100vw - 780px) / 1140));
    letter-spacing: -0.02em;
  }

  body {
    font-size: min(23px, 9px + 14 * ((100vw - 780px) / 1140));
  }

  .header__wrapper {
    min-block-size: min(80px, 32px + 48 * ((100vw - 780px) / 1140));
    padding-block: min(24px, 10px + 14 * ((100vw - 780px) / 1140)) min(15px, 5px + 10 * ((100vw - 780px) / 1140));
  }

  .header__inner {
    gap: min(49px, 20px + 29 * ((100vw - 780px) / 1140));
  }

  .header-logo__image svg {
    width: min(213px, 87px + 126 * ((100vw - 780px) / 1140));
    height: min(41px, 17px + 24 * ((100vw - 780px) / 1140));
  }

  .burger-button {
    display: none;
  }

  .header-nav {
    gap: min(49px, 20px + 29 * ((100vw - 780px) / 1140));
    flex: 1 1 auto;
  }

  .header-nav__list {
    gap: min(20px, 8px + 12 * ((100vw - 780px) / 1140));
  }

  .header-nav__link {
    font-size: min(12px, 6px + 6 * ((100vw - 780px) / 1140));
  }

  .header-nav__button {
    min-block-size: min(38px, 15px + 23 * ((100vw - 780px) / 1140));
    padding-inline: min(24px, 10px + 14 * ((100vw - 780px) / 1140));
    font-size: min(13px, 6px + 7 * ((100vw - 780px) / 1140));
  }

  .footer {
    padding-block: min(90px, 37px + 53 * ((100vw - 780px) / 1140)) min(43px, 17px + 26 * ((100vw - 780px) / 1140));
  }

  .footer__inner {
    padding-inline: min(80px, 32px + 48 * ((100vw - 780px) / 1140));
  }

  .footer__top {
    gap: min(50px, 20px + 30 * ((100vw - 780px) / 1140));
    margin-block-end: min(56px, 20px + 36 * ((100vw - 780px) / 1140));
  }

  .footer__bottom {
    gap: min(20px, 8px + 12 * ((100vw - 780px) / 1140));
    font-size: min(21px, 8px + 13 * ((100vw - 780px) / 1140));
  }

  .footer-address {
    inline-size: -moz-min-content;
    inline-size: min-content;
    gap: min(25px, 10px + 15 * ((100vw - 780px) / 1140));
  }

  .footer-address__tel {
    font-size: min(20px, 8px + 12 * ((100vw - 780px) / 1140));
  }

  .footer-address__button {
    min-block-size: min(38px, 15px + 23 * ((100vw - 780px) / 1140));
    padding-inline: min(24px, 10px + 14 * ((100vw - 780px) / 1140));
    font-size: min(13px, 5px + 8 * ((100vw - 780px) / 1140));
  }

  .footer-address__text {
    font-size: min(21px, 8px + 13 * ((100vw - 780px) / 1140));
  }

  .footer-address__logo svg {
    width: min(377px, 154px + 223 * ((100vw - 780px) / 1140));
    height: min(73px, 30px + 43 * ((100vw - 780px) / 1140));
  }

  .footer-content {
    gap: min(32px, 13px + 19 * ((100vw - 780px) / 1140));
    padding-block-start: min(3px, 1px + 2 * ((100vw - 780px) / 1140));
  }

  .footer-nav__list {
    gap: min(20px, 8px + 12 * ((100vw - 780px) / 1140));
  }

  .footer-nav__link {
    font-size: min(11px, 4px + 7 * ((100vw - 780px) / 1140));
  }

  .footer-section__title {
    margin-block-end: min(27px, 11px + 16 * ((100vw - 780px) / 1140));
    font-size: min(20px, 8px + 12 * ((100vw - 780px) / 1140));
  }

  .footer-section__list:not(:last-child) {
    margin-block-end: min(20px, 8px + 12 * ((100vw - 780px) / 1140));
  }

  .footer-section__list {
    align-items: center;
    gap: min(20px, 8px + 12 * ((100vw - 780px) / 1140));
  }

  .footer-section__text {
    font-size: min(11px, 4px + 7 * ((100vw - 780px) / 1140));
  }

  .container {
    max-inline-size: min(1500px, 645px + 855 * ((100vw - 780px) / 1140));
    margin-inline: auto;
  }

  .hero__inner {
    padding-block: min(65px, 27px + 38 * ((100vw - 780px) / 1140)) min(67px, 27px + 40 * ((100vw - 780px) / 1140));
  }

  .hero__title {
    margin-block-end: min(18px, 7px + 11 * ((100vw - 780px) / 1140));
  }

  .hero__bottom {
    inline-size: -moz-fit-content;
    inline-size: fit-content;
  }

  .hero__results {
    margin-block-end: min(47px, 19px + 28 * ((100vw - 780px) / 1140));
  }

  .hero__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: min(52px, 21px + 31 * ((100vw - 780px) / 1140));
  }

  .hero__text {
    font-size: min(20px, 8px + 12 * ((100vw - 780px) / 1140));
  }

  .hero__button {
    min-block-size: min(69px, 28px + 41 * ((100vw - 780px) / 1140));
    padding-inline: min(26px, 10px + 16 * ((100vw - 780px) / 1140));
    font-size: min(22px, 9px + 13 * ((100vw - 780px) / 1140));
  }

  .hero__quote {
    margin-block-start: max(-20px, -10px + -10 * ((100vw - 780px) / 1140));
    margin-inline: auto max(-67px, -28px + -39 * ((100vw - 780px) / 1140));
  }

  .hero__image {
    position: absolute;
    inset-block-end: 0;
    inset-inline-end: max(-137px, -56px + -81 * ((100vw - 780px) / 1140));
    inline-size: min(819px, 333px + 486 * ((100vw - 780px) / 1140));
    aspect-ratio: 819.19/971;
  }

  .hero-title__big {
    font-size: min(144px, 58px + 86 * ((100vw - 780px) / 1140));
  }

  .hero-title__bottom {
    gap: min(30px, 12px + 18 * ((100vw - 780px) / 1140));
  }

  .hero-title__small {
    font-size: min(53px, 21px + 32 * ((100vw - 780px) / 1140));
  }

  .hero-results {
    gap: min(16px, 6px + 10 * ((100vw - 780px) / 1140));
  }

  .hero-results__item {
    gap: min(5px, 2px + 3 * ((100vw - 780px) / 1140));
    min-block-size: min(134px, 54px + 80 * ((100vw - 780px) / 1140));
    padding-inline: min(37px, 15px + 22 * ((100vw - 780px) / 1140));
  }

  .hero-results__count {
    font-size: min(36px, 14px + 22 * ((100vw - 780px) / 1140));
  }

  .hero-results__text {
    font-size: min(10px, 4px + 6 * ((100vw - 780px) / 1140));
  }

  .hero-quote {
    padding-block: min(25px, 10px + 15 * ((100vw - 780px) / 1140));
    padding-inline: min(60px, 25px + 35 * ((100vw - 780px) / 1140));
    font-size: min(22px, 9px + 13 * ((100vw - 780px) / 1140));
  }

  .hero-quote__text::before,
  .hero-quote__text::after {
    inline-size: min(26px, 11px + 15 * ((100vw - 780px) / 1140));
  }

  .hero-quote__text::before {
    inset-inline-start: max(-34px, -14px + -20 * ((100vw - 780px) / 1140));
    inset-block-start: min(6px, 3px + 3 * ((100vw - 780px) / 1140));
  }

  .hero-quote__text::after {
    transform: translate(min(13px, 5px + 8 * ((100vw - 780px) / 1140)), 50%);
  }

  .services {
    padding-block: min(55px, 22px + 33 * ((100vw - 780px) / 1140)) min(88px, 36px + 52 * ((100vw - 780px) / 1140));
  }

  .services__header {
    margin-block-end: min(68px, 28px + 40 * ((100vw - 780px) / 1140));
  }

  .services__caption {
    margin-block-end: min(20px, 8px + 12 * ((100vw - 780px) / 1140));
  }

  .services__title {
    margin-block-end: min(22px, 9px + 13 * ((100vw - 780px) / 1140));
  }

  .services__text {
    font-size: min(14px, 5px + 9 * ((100vw - 780px) / 1140));
  }

  .services__items {
    margin-block-end: min(103px, 42px + 61 * ((100vw - 780px) / 1140));
  }

  .services__button {
    min-block-size: min(69px, 28px + 41 * ((100vw - 780px) / 1140));
    padding-inline: min(26px, 10px + 16 * ((100vw - 780px) / 1140));
    font-size: min(22px, 9px + 13 * ((100vw - 780px) / 1140));
  }

  .services-items {
    grid-template-columns: repeat(5, 1fr);
    row-gap: min(38px, 16px + 22 * ((100vw - 780px) / 1140));
    -moz-column-gap: min(23px, 9px + 14 * ((100vw - 780px) / 1140));
    column-gap: min(23px, 9px + 14 * ((100vw - 780px) / 1140));
  }

  .services-items__item {
    gap: min(12px, 4px + 8 * ((100vw - 780px) / 1140));
    padding-block: min(66px, 27px + 39 * ((100vw - 780px) / 1140));
    padding-inline: min(28px, 11px + 17 * ((100vw - 780px) / 1140));
  }

  .services-items__icon {
    inline-size: min(57px, 23px + 34 * ((100vw - 780px) / 1140));
  }

  .services-items__text {
    font-size: min(21px, 8px + 13 * ((100vw - 780px) / 1140));
  }

  .services-items__link {
    font-size: min(11px, 8px + 3 * ((100vw - 780px) / 1140));
  }

  .about {
    padding-block: min(64px, 26px + 38 * ((100vw - 780px) / 1140)) min(36px, 15px + 21 * ((100vw - 780px) / 1140));
  }

  .about__inner {
    grid-template-columns: 1.1775568182fr 0.8224431818fr;
    grid-template-areas: "title results" "text results" "slider results";
    -moz-column-gap: min(31px, 12px + 19 * ((100vw - 780px) / 1140));
    column-gap: min(31px, 12px + 19 * ((100vw - 780px) / 1140));
  }

  .about__title {
    margin-block-end: min(55px, 22px + 33 * ((100vw - 780px) / 1140));
  }

  .about__text {
    margin-block-end: min(66px, 27px + 39 * ((100vw - 780px) / 1140));
    font-size: min(20px, 8px + 12 * ((100vw - 780px) / 1140));
  }

  .about-slider__slide {
    aspect-ratio: 130/195;
  }

  .about-results {
    gap: min(59px, 24px + 35 * ((100vw - 780px) / 1140));
    padding-block-end: min(20px, 8px + 12 * ((100vw - 780px) / 1140));
  }

  .about-results__item {
    padding-block: min(15px, 6px + 9 * ((100vw - 780px) / 1140));
    padding-inline: min(47px, 19px + 28 * ((100vw - 780px) / 1140));
    font-size: min(20px, 8px + 12 * ((100vw - 780px) / 1140));
  }


  .team__header {
    margin-block-end: min(61px, 24px + 37 * ((100vw - 780px) / 1140));
  }

  .team__caption {
    margin-block-end: min(24px, 10px + 14 * ((100vw - 780px) / 1140));
  }

  .team-slider__wrapper {
    min-block-size: min(700px, 284px + 416 * ((100vw - 780px) / 1140));
  }

  .team-slider__slide {
    gap: min(41px, 17px + 24 * ((100vw - 780px) / 1140));
  }

  .team-slider__slide:has(.team-slider__button) {
    padding-block-end: min(16px, 7px + 9 * ((100vw - 780px) / 1140));
  }

  .team-slider__button {
    min-block-size: min(65px, 26px + 39 * ((100vw - 780px) / 1140));
    padding-inline: min(25px, 10px + 15 * ((100vw - 780px) / 1140));
    font-size: min(21px, 8px + 13 * ((100vw - 780px) / 1140));
  }

  .team-card {
    gap: min(11px, 3px + 8 * ((100vw - 780px) / 1140));
    padding-block: min(29px, 11px + 18 * ((100vw - 780px) / 1140));
    padding-inline: min(25px, 10px + 15 * ((100vw - 780px) / 1140));
  }

  .team-card__title {
    font-size: min(34px, 14px + 20 * ((100vw - 780px) / 1140));
  }

  .team-card__job {
    font-size: min(18px, 7px + 11 * ((100vw - 780px) / 1140));
  }

  .steps {
    padding-block: min(79px, 32px + 47 * ((100vw - 780px) / 1140)) min(133px, 54px + 79 * ((100vw - 780px) / 1140));
  }

  .steps__header {
    margin-block-end: min(126px, 50px + 76 * ((100vw - 780px) / 1140));
  }

  .steps__caption {
    margin-block-end: min(24px, 10px + 14 * ((100vw - 780px) / 1140));
  }

  .steps-items {
    gap: min(9px, 3px + 6 * ((100vw - 780px) / 1140));
  }

  .steps-items__item:not(:last-child) {
    gap: min(9px, 3px + 6 * ((100vw - 780px) / 1140));
  }

  .steps-items__inner {
    gap: min(5px, 2px + 3 * ((100vw - 780px) / 1140));
    inline-size: min(181px, 73px + 108 * ((100vw - 780px) / 1140));
    padding-block: min(27px, 10px + 17 * ((100vw - 780px) / 1140));
  }

  .steps-items__icon {
    inline-size: min(34px, 14px + 20 * ((100vw - 780px) / 1140));
  }

  .steps-items__text {
    font-size: min(20px, 8px + 12 * ((100vw - 780px) / 1140));
  }

  .price {
    padding-block: min(75px, 30px + 45 * ((100vw - 780px) / 1140)) min(185px, 75px + 110 * ((100vw - 780px) / 1140));
  }

  .price__header {
    margin-block-end: min(142px, 57px + 85 * ((100vw - 780px) / 1140));
  }

  .price__caption {
    margin-block-end: min(28px, 11px + 17 * ((100vw - 780px) / 1140));
  }

  .price-slider {
    padding-block: min(5px, 3.5px + 1.5 * ((100vw - 780px) / 1140));
  }

  .price-slider__slide--center::before,
  .price-slider__slide--center::after {
    inline-size: min(2px, 1px + 1 * ((100vw - 780px) / 1140));
    block-size: min(373px, 151.5px + 221.5 * ((100vw - 780px) / 1140));
  }

  .price-slider__slide--center::before {
    inset-inline-start: max(-4.3229166667vw, -83px);
  }

  .price-slider__slide--center::after {
    inset-inline-end: max(-4.3229166667vw, -83px);
  }

  .price-card__title {
    margin-block-end: min(16px, 7px + 9 * ((100vw - 780px) / 1140));
  }

  .price-card__price {
    margin-block-end: min(50px, 20px + 30 * ((100vw - 780px) / 1140));
    font-size: min(51px, 21px + 30 * ((100vw - 780px) / 1140));
  }

  .price-card__button {
    max-inline-size: min(344px, 140px + 204 * ((100vw - 780px) / 1140));
    min-block-size: min(97px, 40px + 57 * ((100vw - 780px) / 1140));
    font-size: min(31px, 12px + 19 * ((100vw - 780px) / 1140));
  }

  .price-card-title {
    gap: min(16px, 7px + 9 * ((100vw - 780px) / 1140));
  }

  .price-card-title__big {
    font-size: min(51px, 21px + 30 * ((100vw - 780px) / 1140));
  }

  .price-card-title__small {
    font-size: min(27px, 11px + 16 * ((100vw - 780px) / 1140));
  }

  .projects {
    padding-block: min(92px, 37px + 55 * ((100vw - 780px) / 1140)) min(120px, 48px + 72 * ((100vw - 780px) / 1140));
  }

  .projects__title {
    margin-block-end: min(99px, 40px + 59 * ((100vw - 780px) / 1140));
  }

  .projects__items {
    margin-block-end: min(97px, 39px + 58 * ((100vw - 780px) / 1140));
  }

  .projects__button {
    max-inline-size: 490px;
    min-block-size: min(69px, 28px + 41 * ((100vw - 780px) / 1140));
    font-size: min(22px, 9px + 13 * ((100vw - 780px) / 1140));
  }

  .projects-items {
    grid-template-columns: repeat(3, 1fr);
    row-gap: min(40px, 16px + 24 * ((100vw - 780px) / 1140));
    -moz-column-gap: min(31px, 13px + 18 * ((100vw - 780px) / 1140));
    column-gap: min(31px, 13px + 18 * ((100vw - 780px) / 1140));
  }

  .projects-card {
    gap: min(41px, 17px + 24 * ((100vw - 780px) / 1140));
    padding-block: min(26px, 11px + 15 * ((100vw - 780px) / 1140)) min(68px, 27px + 41 * ((100vw - 780px) / 1140));
    padding-inline: min(19px, 8px + 11 * ((100vw - 780px) / 1140));
  }

  .projects-card__title {
    font-size: 14px;
  }

  .projects-card__text {
    font-size: min(18px, 7px + 11 * ((100vw - 780px) / 1140));
  }

  .projects-card__link {
    font-size: min(11px, 4px + 7 * ((100vw - 780px) / 1140));
  }

  .reviews {
    padding-block: min(75px, 30px + 45 * ((100vw - 780px) / 1140)) min(66px, 26px + 40 * ((100vw - 780px) / 1140));
  }

  .reviews__header {
    margin-block-end: min(84px, 34px + 50 * ((100vw - 780px) / 1140));
  }

  .reviews__slider {
    margin-block-end: min(52px, 21px + 31 * ((100vw - 780px) / 1140));
  }

  .reviews__link {
    font-size: min(20px, 8px + 12 * ((100vw - 780px) / 1140));
  }

  .reviews-header {
    align-items: end;
  }

  .reviews-header__button {
    min-block-size: min(69px, 28px + 41 * ((100vw - 780px) / 1140));
  }

  .reviews-card {
    padding-block: min(40px, 16px + 24 * ((100vw - 780px) / 1140)) min(62px, 25px + 37 * ((100vw - 780px) / 1140));
    padding-inline: min(22px, 9px + 13 * ((100vw - 780px) / 1140));
    border-radius: min(16px, 6px + 10 * ((100vw - 780px) / 1140));
  }

  .reviews-card__header {
    gap: min(15px, 6px + 9 * ((100vw - 780px) / 1140));
    margin-block-end: min(20px, 8px + 12 * ((100vw - 780px) / 1140));
  }

  .reviews-card__avatar {
    inline-size: min(55px, 22px + 33 * ((100vw - 780px) / 1140));
  }

  .reviews-card__name {
    margin-block-end: min(8px, 3px + 5 * ((100vw - 780px) / 1140));
    font-size: min(18px, 7px + 11 * ((100vw - 780px) / 1140));
  }

  .reviews-card__job {
    font-size: min(9px, 3px + 6 * ((100vw - 780px) / 1140));
  }

  .reviews-card__time {
    font-size: min(9px, 3px + 6 * ((100vw - 780px) / 1140));
  }

  .reviews-card__text {
    margin-block-end: min(36px, 15px + 21 * ((100vw - 780px) / 1140));
    font-size: min(14px, 5px + 9 * ((100vw - 780px) / 1140));
  }

  .reviews-card__icon {
    inline-size: min(97px, 39px + 58 * ((100vw - 780px) / 1140));
  }

  .reviews-card__link {
    font-size: min(11px, 4px + 7 * ((100vw - 780px) / 1140));
  }

  .blog {
    padding-block: min(80px, 32px + 48 * ((100vw - 780px) / 1140)) min(135px, 54px + 81 * ((100vw - 780px) / 1140));
  }

  .blog__inner {
    display: grid;
/*    grid-template-columns: repeat(4, 1fr);*/
    grid-template-areas: "title title empty video" "slider slider slider video";
    -moz-column-gap: min(30px, 12px + 18 * ((100vw - 780px) / 1140));
    column-gap: min(30px, 12px + 18 * ((100vw - 780px) / 1140));
  }

  .blog__title {
    margin-block-end: min(115px, 46px + 69 * ((100vw - 780px) / 1140));
  }

  .blog-card {
    gap: min(20px, 8px + 12 * ((100vw - 780px) / 1140));
  }

  .blog-content {
    gap: min(19px, 8px + 11 * ((100vw - 780px) / 1140));
  }

  .blog-title {
    font-size: min(21px, 8px + 13 * ((100vw - 780px) / 1140));
  }

  .blog-text {
    font-size: min(11px, 4px + 7 * ((100vw - 780px) / 1140));
  }

  .blog-link {
    font-size: min(11px, 4px + 7 * ((100vw - 780px) / 1140));
  }

  .blog-video {
    gap: min(20px, 8px + 12 * ((100vw - 780px) / 1140));
  }

  .blog-video__caption {
    position: absolute;
    inset-block-start: min(39px, 16px + 23 * ((100vw - 780px) / 1140));
    inset-inline-end: calc(100% + min(23px, 8px + 15 * ((100vw - 780px) / 1140)));
    z-index: 1;
    inline-size: 100%;
    padding-inline-start: min(8px, 2px + 6 * ((100vw - 780px) / 1140));
    font-size: min(20px, 8px + 12 * ((100vw - 780px) / 1140));
    letter-spacing: 0.05em;
  }

  .blog-video__caption::after {
    content: "";
    position: absolute;
    inset-block-start: min(10px, 4px + 6 * ((100vw - 780px) / 1140));
    inset-inline-end: max(-7px, -2px + -5 * ((100vw - 780px) / 1140));
    inline-size: min(160px, 66px + 94 * ((100vw - 780px) / 1140));
    aspect-ratio: 160/6;
    font-size: 0;
    background-color: #996649;
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 160 6'%3E%3Cpath fill='%23996649' d='M159.61 3 157 .39 154.39 3 157 5.61 159.61 3ZM0 3.45h157v-.9H0v.9Z'/%3E%3C/svg%3E%0A");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 160 6'%3E%3Cpath fill='%23996649' d='M159.61 3 157 .39 154.39 3 157 5.61 159.61 3ZM0 3.45h157v-.9H0v.9Z'/%3E%3C/svg%3E%0A");
    -webkit-mask-size: 100% 100%;
    mask-size: 100% 100%;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
  }

  .blog-video__media {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
  }

  .blog-video__item {
    flex: 1 1 auto;
  }

  .blog-video__button svg {
    width: min(53px, 22px + 31 * ((100vw - 780px) / 1140));
    height: min(53px, 22px + 31 * ((100vw - 780px) / 1140));
  }

  .faq {
    padding-block: min(81px, 33px + 48 * ((100vw - 780px) / 1140));
  }

  .faq__inner {
    grid-template-columns: auto 1fr;
    -moz-column-gap: min(60px, 25px + 35 * ((100vw - 780px) / 1140));
    column-gap: min(60px, 25px + 35 * ((100vw - 780px) / 1140));
    padding-inline: min(80px, 32px + 48 * ((100vw - 780px) / 1140));
  }

  .faq__header {
    margin-block-end: min(31px, 13px + 18 * ((100vw - 780px) / 1140));
  }

  .faq__caption {
    margin-block-end: min(19px, 8px + 11 * ((100vw - 780px) / 1140));
  }

  .faq__title {
    margin-block-end: min(26px, 11px + 15 * ((100vw - 780px) / 1140));
  }

  .faq__text {
    max-inline-size: min(381px, 155px + 226 * ((100vw - 780px) / 1140));
    font-size: min(12px, 5px + 7 * ((100vw - 780px) / 1140));
  }

  .faq-button {
    inline-size: -moz-fit-content;
    inline-size: fit-content;
    min-block-size: min(38px, 15px + 23 * ((100vw - 780px) / 1140));
    padding-inline: min(24px, 10px + 14 * ((100vw - 780px) / 1140));
    font-size: min(13px, 5px + 8 * ((100vw - 780px) / 1140));
    text-transform: capitalize;
    color: #fff;
    background-color: #9c6a39;
    border: 1px solid #9c6a39;
  }

  .faq-button__text--mobile {
    display: none;
  }

  .faq-spoilers__item:not(:last-child) {
    margin-block-end: min(10px, 4px + 6 * ((100vw - 780px) / 1140));
  }

  .faq-spoilers__button {
    min-block-size: min(58px, 24px + 34 * ((100vw - 780px) / 1140));
    padding-inline: min(30px, 12px + 18 * ((100vw - 780px) / 1140));
    font-size: min(16px, 6px + 10 * ((100vw - 780px) / 1140));
  }

  .faq-spoilers__icon svg {
    width: min(20px, 8px + 12 * ((100vw - 780px) / 1140));
    height: min(10px, 4px + 6 * ((100vw - 780px) / 1140));
  }

  .faq-spoilers__inner {
    padding-block: min(18px, 7px + 11 * ((100vw - 780px) / 1140));
    padding-inline: min(30px, 12px + 18 * ((100vw - 780px) / 1140));
    font-size: min(12px, 5px + 7 * ((100vw - 780px) / 1140));
  }

  .articles {
    padding-block: min(64px, 26px + 38 * ((100vw - 780px) / 1140));
  }

  .articles__list {
    margin-block-end: min(44px, 17px + 27 * ((100vw - 780px) / 1140));
  }

  .articles__list article:not(:last-child) {
    margin-block-end: min(57px, 23px + 34 * ((100vw - 780px) / 1140));
  }

  .articles__list h3 {
    margin-block-end: min(65px, 26px + 39 * ((100vw - 780px) / 1140));
    font-size: min(56px, 22px + 34 * ((100vw - 780px) / 1140));
    letter-spacing: -0.02em;
  }

  .articles__button {
    min-block-size: min(66px, 26px + 40 * ((100vw - 780px) / 1140));
    padding-inline: min(25px, 10px + 15 * ((100vw - 780px) / 1140));
    font-size: min(21px, 8px + 13 * ((100vw - 780px) / 1140));
  }

  .feedback {
    padding-block: min(114px, 46px + 68 * ((100vw - 780px) / 1140)) min(130px, 53px + 77 * ((100vw - 780px) / 1140));
  }

  .feedback__inner {
    grid-template-columns: 1.1308562197fr 0.8691437803fr;
    -moz-column-gap: min(122px, 50px + 72 * ((100vw - 780px) / 1140));
    column-gap: min(122px, 50px + 72 * ((100vw - 780px) / 1140));
    padding-inline-end: min(80px, 30px + 50 * ((100vw - 780px) / 1140));
  }

  .feedback__header {
    margin-block-end: min(45px, 18px + 27 * ((100vw - 780px) / 1140));
  }

  .feedback__title {
    margin-block-end: min(23px, 9px + 14 * ((100vw - 780px) / 1140));
  }

  .feedback-title {
    text-wrap: balance;
  }

  .feedback-title__text--mobile {
    display: none;
  }

  .feedback-text {
    font-family: "Roboto", sans-serif;
    font-size: min(21px, 8px + 13 * ((100vw - 780px) / 1140));
    color: #5b5b5b;
  }

  .feedback-text__item--mobile {
    display: none;
  }

  .feedback-form__inputs {
    margin-block-end: min(21px, 8px + 13 * ((100vw - 780px) / 1140));
  }

  .feedback-form__textarea {
    margin-block-end: min(50px, 20px + 30 * ((100vw - 780px) / 1140));
  }

  .feedback-form__button {
    min-block-size: min(59px, 24px + 35 * ((100vw - 780px) / 1140));
    margin-inline-start: auto;
    padding-inline: min(15px, 6px + 9 * ((100vw - 780px) / 1140));
    font-size: min(22px, 9px + 13 * ((100vw - 780px) / 1140));
  }

  .feedback-inputs {
    gap: min(27px, 11px + 16 * ((100vw - 780px) / 1140));
  }

  .feedback-inputs__label {
    margin-block-end: min(6px, 2px + 4 * ((100vw - 780px) / 1140));
    font-size: min(14px, 5px + 9 * ((100vw - 780px) / 1140));
  }

  .feedback-inputs__input {
    block-size: min(53px, 21px + 32 * ((100vw - 780px) / 1140));
  }

  .feedback-input {
    padding-inline: min(15px, 6px + 9 * ((100vw - 780px) / 1140));
    font-size: min(15px, 6px + 9 * ((100vw - 780px) / 1140));
  }

  .feedback-textarea__label {
    margin-block-end: min(6px, 2px + 4 * ((100vw - 780px) / 1140));
    font-size: min(15px, 6px + 9 * ((100vw - 780px) / 1140));
  }

  .feedback-textarea__input {
    min-block-size: min(272px, 110px + 162 * ((100vw - 780px) / 1140));
    padding-block: min(15px, 6px + 9 * ((100vw - 780px) / 1140));
  }

  .map__item {
    aspect-ratio: 1921/821;
  }

  .map__block {
    padding-block: min(69px, 25px + 44 * ((100vw - 780px) / 1140));
  }

  .map-address {
    max-inline-size: min(584px, 223px + 361 * ((100vw - 780px) / 1140));
    padding-block: min(16px, 7px + 9 * ((100vw - 780px) / 1140)) min(76px, 20px + 56 * ((100vw - 780px) / 1140));
    padding-inline: min(20px, 8px + 12 * ((100vw - 780px) / 1140));
  }

  .map-address__item:not(:last-child) {
    margin-block-end: min(44px, 18px + 26 * ((100vw - 780px) / 1140));
  }

  .map-address__item--row:not(:last-child) {
    gap: min(65px, 26px + 39 * ((100vw - 780px) / 1140));
    margin-block-end: min(31px, 13px + 18 * ((100vw - 780px) / 1140));
  }

  .map-address__title {
    margin-block-end: min(5px, 2px + 3 * ((100vw - 780px) / 1140));
    font-size: min(24px, 10px + 14 * ((100vw - 780px) / 1140));
  }

  .map-address__item--row .map-address__title {
    margin-block-end: min(11px, 5px + 6 * ((100vw - 780px) / 1140));
  }

  .map-address__text {
    max-inline-size: min(312px, 127px + 185 * ((100vw - 780px) / 1140));
    margin-block-end: min(9px, 4px + 5 * ((100vw - 780px) / 1140));
    font-size: min(21px, 8px + 13 * ((100vw - 780px) / 1140));
  }

  .map-address__link {
    font-size: min(21px, 8px + 13 * ((100vw - 780px) / 1140));
  }

  .map-icon {
    gap: min(9px, 4px + 5 * ((100vw - 780px) / 1140));
    font-size: min(21px, 8px + 13 * ((100vw - 780px) / 1140));
  }

  .map-icon__image {
    inline-size: min(39px, 16px + 23 * ((100vw - 780px) / 1140));
  }

  .consultation__close {
    inset-block-start: 14px;
    inset-inline-end: 14px;
  }

  .consultation__header {
    margin-block-end: 17px;
  }

  .consultation__title--mobile {
    display: none;
  }

  .consultation__title {
    font-size: 46px;
    letter-spacing: -0.03em;
  }

  .consultation__form {
    margin-block-end: 51px;
  }

  .consultation-form__inputs {
    margin-block-end: 41px;
  }
}

@media (hover: hover) and (min-width: 768.1px) {
  .faq-button:hover {
    color: #9c6a39;
    background-color: rgba(156, 106, 57, 0);
  }
}

@media (min-width: 1280.1px) {
  .consultation__inner:has(.consultation__image) {
    display: grid;
    grid-template-columns: 0.4118629908fr 0.5881370092fr;
  }

  .consultation__content {
    padding-block: 65px 22px;
    padding-inline: 54px;
  }
}

@media (min-width: 1536.1px) {
  .header-nav__link {
    font-size: min(14px, 13px + 1 * ((100vw - 1536px) / 984));
  }

  .header-nav__button {
    font-size: min(14px, 13px + 1 * ((100vw - 1536px) / 984));
  }
}

@media (max-width: 1280px) {
  .consultation__inner {
    padding: 50px;
  }

  .consultation__image {
    display: none;
  }
}

@media (max-width: 768px) {
  .header-nav {
    position: fixed;
    inset-block: var(--header-height) 0;
    inset-inline: 0;
    z-index: 50;
    flex-direction: column;
    padding: 30px;
    background-color: #fffefc;
    overflow-x: hidden;
    overflow-y: auto;
  }

  html:not(.burger-active) .header-nav {
    opacity: 0;
    visibility: hidden;
    transform: translateX(-100%);
  }

  .header-nav__list {
    flex-direction: column;
  }

  .header-nav__button {
    inline-size: 100%;
  }

  .footer__top {
    flex-direction: column;
  }

  .footer-address__logo {
    order: -1;
    margin-inline: auto;
  }

  .footer-nav__list {
    flex-direction: column;
  }

  .footer-section {
    display: none;
  }

  .footer-section__list {
    flex-direction: column;
  }

  .hero__inner {
    display: flex;
    flex-direction: column;
  }

  .hero__bottom {
    display: contents;
  }

  .hero__text {
    order: -1;
  }

  .hero__text br {
    display: none;
  }

  .hero__button {
    inline-size: 100%;
  }

  .hero__image {
    margin-block-start: 5px;
    flex: 0 0 auto;
  }

  .hero-quote {
    position: absolute;
    inset-block-end: 35.1282051282vw;
    inset-inline-end: -20px;
  }

  .services__button {
    inline-size: 100%;
  }

  .services-items__item {
    order: var(--services-item-order);
  }

  .about__title {
    text-align: left;
  }

  .about__results {
    margin-inline-end: -53px;
  }

  .team__header {
    text-align: center;
  }

  .team-slider {
    overflow: visible;
  }

  .steps__header {
    text-align: center;
  }

  .steps__items {
    margin-inline: -30px;
  }

  .steps-items {
    padding-inline: 30px;
  }

  .steps-items__item:not(:last-child)::after {
    min-inline-size: min(113px, 46px + 67 * ((100vw - 390px) / 1110));
  }

  .price__header {
    text-align: center;
  }

  .projects-items__item:not(:nth-child(-n+4)) {
    display: none;
  }

  .reviews-header {
    flex-direction: column;
    text-align: center;
  }

  .reviews-slider {
    overflow: visible;
  }

  .blog__title {
    text-align: center;
  }

  .blog__slider {
    margin-block-end: 60px;
  }

  .blog-slider {
    overflow: visible;
  }

  .blog-video__caption {
    margin-block-end: 40px;
    text-align: center;
  }

  .blog-video__media {
    inline-size: 100%;
    max-inline-size: 247px;
    margin-inline: auto;
  }

  .blog-video__item {
    aspect-ratio: 247/327.86;
  }

  .blog-video__content {
    inline-size: 100%;
    max-inline-size: 247px;
    margin-inline: auto;
  }

  .faq__side {
    display: contents;
  }

  .faq__header {
    text-align: center;
  }

  .faq__button {
    order: 1;
    margin-block-start: 14px;
  }

  .faq-button__text--desktop {
    display: none;
  }

  .articles__list h3 {
    text-align: center;
  }

  .articles__button {
    inline-size: 100%;
  }

  .feedback__content {
    display: contents;
  }

  .feedback__header {
    text-align: center;
  }

  .feedback__form {
    order: 1;
    margin-block-start: 34px;
  }

  .feedback__image {
    /*aspect-ratio: 331/148;*/
    aspect-ratio: 900/1000;
  }

  .feedback-title__text--desktop {
    display: none;
  }

  .feedback-text__item--desktop {
    display: none;
  }

  .feedback-form__button {
    inline-size: 100%;
  }

  .map__item {
    min-block-size: 396px;
  }

  .consultation__inner {
    padding-block: 149px 107px;
  }

  .consultation__title--desktop {
    display: none;
  }

  .consultation__caption {
    display: none;
  }
}

@media (max-width: 768px) and (prefers-reduced-motion: no-preference) {
  .header-nav {
    transition-property: opacity, visibility, transform;
    transition-duration: 0.3s;
  }
}

@media (max-width: 500px) {
  .consultation__inner {
    padding-block: 30px;
    padding-inline: 20px;
  }
}

@media (hover: hover) {
  :focus-visible:hover {
    outline: none;
  }

  .up:hover {
    color: #996649;
    background-color: #fffefc;
  }

  .header-logo__image:hover {
    color: #9c6a39;
  }

  .header-nav__link:not(.active):hover {
    color: #9c6a39;
  }

  .header-nav__button:hover {
    color: #996649;
    background-color: rgba(153, 102, 73, 0);
  }

  .footer__bottom a:hover {
    color: #9c6a39;
  }

  .footer-address__tel:hover {
    color: #9c6a39;
  }

  .footer-address__button:hover {
    color: #9c6a39;
  }

  .footer-nav__link:hover {
    color: #9c6a39;
  }

  .hero__button:hover {
    color: #996649;
    background-color: rgba(153, 102, 73, 0);
  }

  .services__button:hover {
    color: #fff;
    background-color: #996649;
  }

  .team-slider__button:hover {
    color: #fff;
    background-color: #996649;
  }

  .price-card__button:hover {
    color: #fff;
    background-color: #996649;
  }

  .projects__button:hover {
    color: #fff;
    background-color: #996649;
  }

  .projects-card__link:hover {
    color: #666565;
  }

  .reviews__link:hover {
    color: #666565;
  }

  .reviews-header__button:hover {
    background-color: #996649;
  }

  .reviews-header__button:hover .reviews-header__icon {
    filter: invert(0.5) brightness(2);
  }

  .reviews-card__link:hover {
    color: #666565;
  }

  .blog-link:hover {
    color: #666565;
  }

  .blog-video__button:hover {
    color: #9c6a39;
  }

  .faq-button:hover {
    color: #fff;
    background-color: #996649;
  }

  .faq-spoilers__button:hover {
    color: #9c6a39;
    background-color: rgba(156, 106, 57, 0);
  }

  .articles__button:hover {
    color: #fff;
    background-color: #996649;
  }

  .feedback-form__button:hover {
    color: #fff;
    background-color: #9c6a39;
  }

  .map-address__text[href]:hover {
    color: #9c6a39;
  }

  .map-address__link:hover {
    color: #9c6a39;
  }

  .map-icon:hover {
    color: #9c6a39;
  }

  .consultation__close:hover {
    color: #9c6a39;
  }

  .consultation-form__button:hover {
    color: #fff;
    background-color: #9c6a39;
  }
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }

  dialog {
    transition-property: opacity, visibility;
    transition-duration: 0.3s;
  }

  .up {
    transition-property: color, background-color, opacity, visibility;
    transition-duration: 0.3s;
  }

  .header-logo__image {
    transition-property: color;
    transition-duration: 0.3s;
  }

  .burger-button {
    transition-property: gap;
    transition-duration: 0.3s;
  }

  .burger-button__line {
    transition-property: inline-size, block-size, transform;
    transition-duration: 0.3s;
  }

  .header-nav__link {
    transition-property: color;
    transition-duration: 0.3s;
  }

  .header-nav__button {
    transition-property: color, background-color;
    transition-duration: 0.3s;
  }

  .footer__bottom a {
    transition-property: color;
    transition-duration: 0.3s;
  }

  .footer-address__tel {
    transition-property: color;
    transition-duration: 0.3s;
  }

  .footer-address__button {
    transition-property: color;
    transition-duration: 0.3s;
  }

  .footer-nav__link {
    transition-property: color;
    transition-duration: 0.3s;
  }

  .hero__button {
    transition-property: color, background-color;
    transition-duration: 0.3s;
  }

  .services__button {
    transition-property: color, background-color;
    transition-duration: 0.3s;
  }

  .team-slider__button {
    transition-property: color, background-color;
    transition-duration: 0.3s;
  }

  .price-card__button {
    transition-property: color, background-color;
    transition-duration: 0.3s;
  }

  .projects__button {
    transition-property: color, background-color;
    transition-duration: 0.3s;
  }

  .projects-card__link {
    transition-property: color;
    transition-duration: 0.3s;
  }

  .reviews__link {
    transition-property: color;
    transition-duration: 0.3s;
  }

  .reviews-header__button {
    transition-property: background-color;
    transition-duration: 0.3s;
  }

  .reviews-header__icon {
    transition-property: filter;
    transition-duration: 0.3s;
  }

  .reviews-card__link {
    transition-property: color;
    transition-duration: 0.3s;
  }

  .blog-link {
    transition-property: color;
    transition-duration: 0.3s;
  }

  .blog-video__button {
    transition-property: color;
    transition-duration: 0.3s;
  }

  .faq-button {
    transition-property: color, background-color;
    transition-duration: 0.3s;
  }

  .faq-spoilers__button {
    transition-property: color, background-color, border-color;
    transition-duration: 0.3s;
  }

  .faq-spoilers__icon {
    transition-property: transform;
    transition-duration: 0.3s;
  }

  .articles__button {
    transition-property: color, background-color;
    transition-duration: 0.3s;
  }

  .feedback-form__button {
    transition-property: color, background-color;
    transition-duration: 0.3s;
  }

  .feedback-input {
    transition-property: border-color;
    transition-duration: 0.3s;
  }

  .map-address__text[href] {
    transition-property: color;
    transition-duration: 0.3s;
  }

  .map-address__link {
    transition-property: color;
    transition-duration: 0.3s;
  }

  .map-icon {
    transition-property: color;
    transition-duration: 0.3s;
  }

  .consultation__close {
    transition-property: color;
    transition-duration: 0.3s;
  }

  .consultation-form__button {
    transition-property: color, background-color;
    transition-duration: 0.3s;
  }

  .consultation-inputs__input {
    transition-property: border-color;
    transition-duration: 0.3s;
  }
}
/* End */


/* Start:/local/templates/main/dist/css/custom.css?174616215312155*/
.border-danger{
    border-color: #dc2424;
}
.consultation{
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    -moz-backdrop-filter: blur(10px);
    -o-backdrop-filter: blur(10px);
}


.tv-container{
    display: flex;
    flex-wrap: nowrap;
    flex-direction: row;
    width: 100%;
    gap: 40px;
}
.tv-container .one-video{
    width: 100%;
    max-width: 800px;
    height: 480px;
    margin-left: auto;
    margin-right: auto;
}

.tv-container .tv-video{
    flex-grow: 1;
    width: 50%;
    height: 380px;
    cursor: pointer;
}
.tv-container .tv-video img{
    max-width: 100%;
    object-fit: cover;
}
#dialog-video .video-content{
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 46px;
}

#dialog-video .video-content .iframe{
    width: 100%;
}
#dialog-video .video-content .iframe iframe{
    width: 100%;
    min-height: 300px;
}

@media(max-width: 1240px){
    .tv-container .tv-video{
        height: 240px;
    }

}
@media(max-width: 768px){
    #dialog-video .video-content{
        padding: 0 5px;
    }
    .tv-container{
        flex-wrap: wrap;
    }
    .tv-container .tv-video{
        width: 100%;
    }
    .tv-container .one-video{
        height: 240px;
    }

}


.container-service {
            display: flex;
            gap: 40px;
        }

        .sidebar {
    		max-width: 400px;
            width: 100%;
            
        }
        .sidebar-background{
            margin-right: 5px;
            background-color: #fff;
            padding: 15px;
            border-radius: 8px;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
            position: sticky;
            top: 75px;
        }

        .sidebar h2 {
            font-size: 30px;
            margin-bottom: 15px;
        }

        .sidebar ul {
            list-style: disc;
            padding: 0 0 0 20px;
            margin: 0;
			line-height: 20px;
        }

        .sidebar ul li {
            margin-bottom: 10px;
        }

        .sidebar ul li a {
            text-decoration: none;
            display: block;
            padding: 5px;
            font-size: 14px;
        }

        .sidebar ul li a:hover {
            text-decoration: none;
        }

        .sidebar ul li:hover{
            background-color: #99664912;
            border-radius: 14px;
        }

        .sidebar ul li.hover-li{
            background-color: #99664912;
            border-radius: 14px;
        }

        .sidebar ul li:hover

        .container-service .content{
            margin: 0;
            padding: 0;
        }

        .content {
            flex-grow: 1;
            padding: 15px;
        }

        .section {
            padding: 20px;
            margin-bottom: 30px;
            background-color: #f9f9f9;
            border-radius: 8px;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
        }

        .section h3 {
            font-size: 22px;
            margin-bottom: 10px;
        }

        .section p {
            font-size: 16px;
            line-height: 1.6;
        }
.container-service .content ul {
	list-style: disc;
}
.container-service .content li {
	margin: 15px 12px;
}
.container-service .content ul.about__results {
	list-style: none;
}
.container-service .content li.about-results__item {
	margin: 0;
}

.container-service .sidebar ul a {font-size: 18px;}

@media(max-width:991px){
.sidebar ul {
            list-style: none;
            padding: 0;
            margin: 0;
			width: 150px;
        }
}

@media(max-width:771px){
.sidebar {
display:none;
	}
}


.product {
            position: relative;
            display: flex;
            justify-content: space-between; /* Местоположение элементов на одной строке */
            align-items: center;
            padding: 10px;
            /* background-color: white; */
            margin-bottom: 10px;
        }

        .name {
          z-index: 1;
          display: block;
          padding-right: 15px;
          margin-right: 10px; /* Отступ между названием и многоточием */
          white-space: nowrap; /* Не переносим текст */
          overflow: hidden; /* Скрываем текст, выходящий за пределы */
          text-overflow: ellipsis; /* Показываем многоточие */
          background-color: white;
        }

.product::after {
    position: absolute;
    top: 24px;
    right: 20px;
    bottom: 0px;
    left: 20px;
    display: block;
    height: 1px;
    content: "";
    border-bottom: 1px dotted #000000;
}

        .price-service {
            font-weight: bold;
            font-size: 16px;
            background-color: white;
            z-index: 1;
            padding-left: 15px;
        }

@media(min-width:1000px){
.banner-h1-service {
font-size: 64px;
}
}

@media(min-width:1650px){
.custom-margin-top{margin-top:154px;}
}

@media(min-width:1200px) and (max-width:1650px){
.custom-margin-top{margin-top:80px;}
}

.blog-card__image2.ibg3 {
margin: 0 auto;
}


@media(max-width:771px){
    .banner-h1-service {
        font-size: 38px;
    }
    .hero__results.hero-results .hero-results__item{
        padding: 0;
    }
    .hero__results.hero-results .hero-results__count{
        font-size: 24px;
    }

    .hero__results.hero-results .hero-results__text{
        font-size: 8px;
    }
    .hero__button{
        font-size: 12px;
    }
    .container {
        padding-inline: 15px;
    }

    .about__title.h2 {
        font-size: 24px;
    }
    .block_wrap.container{
        margin-bottom: 30px;
    }
    .team-card__title{
        font-size: 18px;
        line-height: 20px;
    }
    .team-card__job{
        font-size: 16px;
        line-height: 18px;
    }

    .team-card .hero__button{
        font-size: 9px;
    }


    #projects.projects {
        padding-block: min(92px, 37px + 55 * ((100vw - 780px) / 1140)) min(120px, 48px + 72 * ((100vw - 780px) / 1140));
    }

    #projects .projects__title {
        margin-block-end: min(99px, 40px + 59 * ((100vw - 780px) / 1140));
    }

    #projects .swiper {
        width: 100%;
        padding-bottom: 40px;
    }

    #projects .swiper-wrapper {
        display: flex;
    }

    #projects .swiper-slide {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: min(41px, 17px + 24 * ((100vw - 780px) / 1140));
        padding-block: min(26px, 11px + 15 * ((100vw - 780px) / 1140)) min(68px, 27px + 41 * ((100vw - 780px) / 1140));
        padding-inline: min(19px, 8px + 11 * ((100vw - 780px) / 1140));
    }

    #projects .projects-card__title {
        font-size: 16px;
    }

    #projects .projects-card__text {
        max-width: 350px;
        font-size: 14px;
    }

    #projects .projects-card__link {
        font-size: 14px;
    }

    .blog-card__image2 img{
        width: 100%;
    }

    .projects-items {
        row-gap: 0;
        column-gap: 0;
    }

    .projects-card {
        padding-inline: 15px;
    }

    .projects__button {
        font-size: 14px;
    }

    .blog-title{
        font-size: 16px;
    }
    .blog-text {
        font-size: 14px;
    }

    .blog-link{
        font-size: 16px;
    }

    .services-items__text{
        font-size: 16px;
    }
    .services-items__item{
        padding-inline: 5px;
    }

    .services-items__link{
        font-size: 14px;
        margin-top: 15px;
    }
    .feedback-inputs__label,.feedback-textarea__label{
        font-size: 14px;
    }
    .feedback-input{
        font-size: 12px;
    }

    .feedback-form__button{
        font-size: 16px;
    }

    .footer__bottom{
        font-size: 12px;
    }

}

.about__title.h3, .content h3 {
    font-size: 30px;
    letter-spacing: -0.02em;
    margin: 30px 0 30px;
}

.content ol {
    list-style: auto;
}

.visuallyhidden:not(:focus):not(:active) {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    border: 0;
    padding: 0;
    white-space: nowrap;
    clip-path: inset(100%);
    clip: rect(0 0 0 0);
    overflow: hidden;
  }
    

  :root {
    --transition-speed: 0.5s;
    --toggle-transition-speed: 0.3s;
    --button-width: 174px;
    --button-radius: 5px;
    --button-padding: 9px 14px;
    --button-color: #ffffff;
    --button-bg: rgb(153 102 73);
    --button-font: Lato, sans-serif;
    --button-font-size: 21px;
    --button-line-height: 100%;
    --icon-size: 30px;
    --icon-color: white;
    --button-text-show-tag: "Ð§Ð¸Ñ‚Ð°Ñ‚ÑŒ Ð¿Ð¾Ð»Ð½Ð¾ÑÑ‚ÑŒÑŽ"; /* Ð¢ÐµÐºÑÑ‚ ÐºÐ½Ð¾Ð¿ÐºÐ¸ Ð¿Ð¾ ÑƒÐ¼Ð¾Ð»Ñ‡Ð°Ð½Ð¸ÑŽ */
    --button-text-hide-tag: "Ð¡Ð²ÐµÑ€Ð½ÑƒÑ‚ÑŒ Ñ‚ÐµÐºÑÑ‚"; /* Ð¢ÐµÐºÑÑ‚ ÐºÐ½Ð¾Ð¿ÐºÐ¸ Ð¿Ð¾ÑÐ»Ðµ Ð½Ð°Ð¶Ð°Ñ‚Ð¸Ñ */
}

.text-container {
    position: relative;
    transition: opacity var(--transition-speed) ease, transform var(--transition-speed) ease;
}

.visuallyhidden {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    border: 0;
    padding: 0;
    white-space: nowrap;
    clip-path: inset(100%);
    clip: rect(0 0 0 0);
    overflow: hidden;
    transform: translateY(-10px);
    transition: transform var(--transition-speed) ease;
}

.hidden-checkbox:checked ~ .text-container .visuallyhidden,
#toggle-text-seo:checked ~ .text-container .visuallyhidden,
#toggle-text:checked ~ .text-container .visuallyhidden {
    position: inherit;
    width: auto;
    height: auto;
    margin: 0;
    border: 0;
    white-space: wrap;
    padding: 0;
    clip-path: inherit;
    clip: inherit;
    overflow: inherit;
    transform: translateY(0);
}

.toggle-label {
    display: flex;
    text-align: center;
    cursor: pointer;
    margin-top: 10px;
    font-weight: 700;
    color: var(--button-color);
    width: var(--button-width);
    margin: 20px auto;
    justify-content: space-around;
    border-radius: var(--button-radius);
    padding: var(--button-padding);
    background: var(--button-bg);
    align-items: center;
    font-family: var(--button-font);
    font-size: var(--button-font-size);
    line-height: var(--button-line-height);
    text-transform: capitalize;
}

#toggle-text-seo,
#toggle-text {
    display: none;
}

.toggle-label::after {
    content: "";
    display: inline-block;
    width: var(--icon-size);
    height: var(--icon-size);
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="30" height="30" viewBox="0 0 30 30" fill="none"><path d="M24.9 11.1875L16.75 19.3375C15.7875 20.3 14.2125 20.3 13.25 19.3375L5.10001 11.1875" stroke="white" stroke-width="1.5" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/></svg>');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.hidden-checkbox:checked ~ .toggle-label::after,
#toggle-text-seo:checked ~ .toggle-label::after,
#toggle-text:checked ~ .toggle-label::after {
    transform: rotate(180deg);
    transition: transform var(--toggle-transition-speed) ease-in-out;
}


@media(max-width:771px){
    .steps-items{
        flex-direction: column;
        gap:22px;
    }
    .steps-items__item:not(:last-child){
        flex-direction: column;
        gap:22px;
    }
    .steps-items__inner{
        padding: 45px 0;
        inline-size: 150px;
    }
    .steps-items__text{
        font-size: 14px;
    }
    .steps-items__item:not(:last-child)::after{
        mask-image: none;
        transform: rotate(90deg);
    }

}


@media (min-width: 768.1px) {
    a.blog-link {
        font-size: 18px;
    }
    p.blog-text {
        font-size: 14px;
    }
    a.blog-title {
        font-size: 18px;
    }
}

.detail-picture {
    height: 480px;
    width: 100%;
    overflow: hidden;
}

.detail-picture img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.content h2 {
    font-size: 32px;
    margin: 20px 0;
}

.content h3 {
    font-size: 24px;
    margin: 20px 0;
}

.content p {
    margin: 20px 0;
}

/* End */


/* Start:/local/templates/main/components/bitrix/menu/top/style.css?1746674272480*/
.header-nav__item.has-submenu:hover .submenu {
    display: block;
}

.header-nav__item.has-submenu{
    position: relative;
}

.submenu {
    display: none;
    position: absolute;
    background: white;
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 14px;
    top: 100%;
    left: 0;
    min-width: 246px;
}

.submenu li {
    padding: 10px 20px;
}

.submenu li a {
    color: #333;
    text-decoration: none;
}

.submenu li a:hover {
    color: #9c6a39;
}

/* End */


/* Start:/local/components/custom/city.selector/templates/.default/style.css?1752831391392*/
.city-current {
    cursor: pointer;
    font-size: 12px;
    user-select: none;
}

.city-selector-popup {
    position: absolute;
    background: #f3f7fa;
    border: 1px solid #ddd;
    padding: 10px;
    z-index: 1000;
    margin-top: 5px;
}

.city-selector-popup select {
    margin-right: 10px;
    padding: 5px;
}

.city-time {
    font-size:10px;
}

.city-phone {
    font-size:12px;
}
/* End */


/* Start:/local/templates/main/styles.css?17528374188064*/
.services--new-section {
    text-align: center;
    padding: 40px 20px;
    font-family: Arial, sans-serif;
  }
  
  .services--new-section .services-header .subtitle {
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 14px;
    margin-bottom: 10px;
    color: #555;
  }
  
  .services--new-section .services-header h2 {
    font-size: 24px;
    font-weight: bold;
    margin: 10px 0;
  }
  
  .services--new-section .services-header .description {
    font-size: 16px;
    color: #444;
    margin-bottom: 40px;
  }
  
  .services--new-section .services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
  }
  
  .services--new-section .service-card {
      max-width: 350px;
      background: #fff;
      padding: 20px;
      text-align: left;
      border-radius: 8px;
      box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
      display: flex;
      flex-direction: column;
      margin: 0 auto;
  }
  
  .services--new-section .service-card img {
    width: 100%;
    height: auto;
    border-radius: 4px;
  }
  
  .services--new-section .service-card .service-card--title {
      margin-top: 15px;
      margin-bottom: 10px;
      font-size: 18px;
      font-weight: 600;
      height: 60px;
  }
  
  .services--new-section .service-card p {
    font-size: 14px;
    color: #333;
    margin: 10px 0 20px;
  }
  
  .services--new-section .buttons {
    display: flex;
    gap: 10px;
    margin-top: auto;
  }
  
  .services--new-section .btn {
    width: 100%;
    padding: 2px 14px;
    border-radius: 4px;
    font-size: 14px;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    display: flex;
    align-items: center;
  }
  
  .services--new-section .btn.light {
    border: 1px solid #000;
    color: #000;
    background: #fff;
  }
  
  .services--new-section .btn.dark {
    background: #f3eac0;
    color: #000;
    border: 1px solid #f3eac0;
  }
.services__container > *:last-child {
    margin-block-end: 0;
}

.why {
margin-bottom: 30px;
}

        .section-title {
            font-family: 'Playfair Display', serif;
            font-size: 2.5rem;
            font-weight: 700;
            color: #2c2c2c;
            margin-bottom: 20px;
            position: relative;
        }

        .section-subtitle {
            margin: 20px auto;

        }

        .advantages-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 30px;
            margin-top: 50px;
        }

        .advantage-card {
            background: white;
            border-radius: 16px;
            padding: 40px 30px;
            box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
        }

        .advantage-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 4px;
            background: linear-gradient(90deg, #d4b08a, #c19a6b);
            opacity: 0;
            transition: opacity 0.3s ease;
        }

        .advantage-card:hover {
            transform: translateY(-8px);
            box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
        }

        .advantage-card:hover::before {
            opacity: 1;
        }

        .card-icon {
            width: 70px;
            height: 70px;
            background: linear-gradient(135deg, #d4b08a, #c19a6b);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 25px;
            transition: transform 0.3s ease;
        }

        .advantage-card:hover .card-icon {
            transform: scale(1.1);
        }

        .card-icon i {
            font-size: 1.8rem;
            color: white;
        }

        .card-title {
            font-family: 'Playfair Display', serif;
            font-size: 1.4rem;
            font-weight: 600;
            color: #2c2c2c;
            margin-bottom: 15px;
            line-height: 1.3;
        }

        .card-description {
            color: #666;
            font-size: 0.95rem;
            line-height: 1.7;
            font-weight: 400;
        }

        .additional-text {
            text-align: center;
            margin-top: 50px;
            padding: 30px;
            background: linear-gradient(135deg, #f8f6f3, #f0ede8);
            border-radius: 16px;
            border-left: 4px solid #d4b08a;
        }

        .additional-text p {
            font-size: 1.05rem;
            color: #555;
            font-style: italic;
            line-height: 1.8;
        }

        @media (max-width: 768px) {
            .why-choose-section {
                padding: 60px 15px;
            }

            .section-title {
                font-size: 2rem;
            }

            .advantages-grid {
                grid-template-columns: 1fr;
                gap: 25px;
            }

            .advantage-card {
                padding: 30px 25px;
            }

            .card-icon {
                width: 60px;
                height: 60px;
            }

            .card-icon i {
                font-size: 1.5rem;
            }
        }

        @media (max-width: 480px) {
            .section-title {
                font-size: 1.8rem;
            }

            .section-subtitle {
                font-size: 1rem;
            }

            .advantage-card {
                padding: 25px 20px;
            }

            .card-title {
                font-size: 1.2rem;
            }

            .additional-text {
                padding: 25px 20px;
            }
        }

        details {
            margin: 20px 0;
        }

        summary {
    cursor: pointer;
    font-weight: bold;
    color: #000000;
    padding: 10px 0;
    border-radius: 4px;
            outline: none;
        }

        summary:hover {
            background: #dee2e6;
        }

        details[open] summary {
            margin-bottom: 15px;
        }
	.seo-text p,.seo-text ol li {
		margin: 10px 0;
	}
	.seo-text ol, .seo-text ul {
	    list-style: disc;
	}
.seo-text li {
	   list-style-position: inside;
	}



#callback-widget {
  position: fixed;
  bottom: 80px;
  right: 21px;
  z-index: 9999;
}

.callback-icon {
  background-color: #996649;
  width: 55px;
  height: 55px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.callback-icon img {
  width: 28px;
  height: 28px;
  filter: invert(1);
}

.callback-options {
  display: none;
  position: absolute;
  bottom: 70px;
  right: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-end;
}

.option-button {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: #fff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 10px rgba(0,0,0,0.2);
  cursor: pointer;
  transition: background 0.2s;
}

.option-button.callback svg,
.callback-icon svg{
  color: white;
  height: 35px;
  width: 35px;
}
.option-button.telegram,
.option-button.whatsapp{
    background: none;
    box-shadow: none;
}
.option-button.telegram svg,
.option-button.whatsapp svg{
    height: 50px;
    width: 50px;
}

.option-button.callback {
  background-color: #996649;
}


.option-button:hover {
  opacity: 0.85;
}

.header-nav__link {
  font-size: 10px;
}

.header-nav__button {
        font-size: 10px;
}

.footer-nav .footer-nav__link{
  font-size: 10px;
}

@media(min-width:1125px){
  .price__slider .price-slider__wrapper {
      gap: 80px;
      justify-content: center;
  }
}

@media(min-width:771px) and (max-width:1125px){
  .price__slider .price-slider__wrapper {
      gap: 40px;
      flex-direction: column;
      align-items: center;
  }
}

.feedback-form__button {
        color: #fff;
        background-color: #9c6a39;
    }

/* End */


/* Start:/local/templates/main/template_styles.css?1773742664642*/
@media (min-width: 1125px) {
    .price__slider .price-slider__wrapper {
		gap: 40px;
        justify-content: space-between;
    }
	.price__slider .swiper-slide {
		flex-shrink: 1;
		border: 1px solid #996649;
		padding: 30px 20px;
	}
	.price__slider .price-card {
		max-width: 100%;
	}
    .price-slider__slide--center::before, .price-slider__slide--center::after {
        display: none;
    }
}

.sidebar {
	min-width: 400px;
}
@media (min-width: 768.1px) {
.comment {
    padding-block: min(75px, 30px + 45 * ((100vw - 780px) / 1140)) min(66px, 26px + 40 * ((100vw - 780px) / 1140));
}
}

.about-slider__slide {
	background-color:#fff;
}
/* End */
/* /services/templates/semeynyy-advokat/style.css?178705420762067 */
/* /local/templates/main/dist/css/style.css?174616263790756 */
/* /local/templates/main/dist/css/custom.css?174616215312155 */
/* /local/templates/main/components/bitrix/menu/top/style.css?1746674272480 */
/* /local/components/custom/city.selector/templates/.default/style.css?1752831391392 */
/* /local/templates/main/styles.css?17528374188064 */
/* /local/templates/main/template_styles.css?1773742664642 */
