:root {
    --color-dark: #282828;
    --color-blue: #102885;
    --color-navy: #233048;
    --color-orange: #FF7628;
    --color-light: #f9f9f9;
}

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

html,
body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
}

html {
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 140%;
    font-family: "Manrope", "Arial", sans-serif;
    color: var(--color-dark);
    scroll-behavior: smooth;
    scroll-padding-top: 20px;
}

body {
    width: 100%;
    height: 100%;

    background-color: var(--color-light);
}

.wrapper {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    min-height: calc(100 * var(--vh, 1vh));
}

.wrapper .header,
.wrapper .footer {
    flex-shrink: 0;
}

.wrapper main {
    flex-grow: 1;
    padding-top: 92px;
}

a {
    color: var(--color-dark);
    text-decoration: none;
    transition: color 0.3s ease, opacity 0.3s ease;
}

img,
video {
    display: block;
    max-width: 100%;
    height: auto;
}

textarea {
    resize: none;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    margin: 0;

    appearance: none;
}

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

select,
textarea,
input:matches([type="email"],
    [type="number"],
    [type="password"],
    [type="search"],
    [type="tel"],
    [type="text"],
    [type="url"]) {
    appearance: none;
}

button,
[type="button"],
[type="reset"],
[type="submit"] {
    appearance: none;
}

@font-face {
    font-style: normal;
    font-weight: 400;
    font-family: "Manrope";
    font-display: swap;
    src: url("../fonts/Manrope-Regular.woff2") format("woff2"),
}

@font-face {
    font-style: normal;
    font-weight: 500;
    font-family: "Manrope";
    font-display: swap;
    src: url("../fonts/Manrope-Medium.woff2") format("woff2"),
}

@font-face {
    font-style: normal;
    font-weight: 600;
    font-family: "Manrope";
    font-display: swap;
    src: url("../fonts/Manrope-Semibold.woff2") format("woff2"),
}

@font-face {
    font-style: normal;
    font-weight: 700;
    font-family: "Manrope";
    font-display: swap;
    src: url("../fonts/Manrope-Bold.woff2") format("woff2"),
}

.mb-20 {
    margin-bottom: 20px;
}

.mb-40 {
    margin-bottom: 40px;
}

.mb-150 {
    margin-bottom: 150px;
}
.mb-75 {
    margin-bottom: 75px;
}
.pb-75 {
    padding-bottom: 75px;
}
.pt-75 {
    padding-top: 75px;
}

@media(max-width: 1199px) {
    .mb-150 {
        margin-bottom: 100px;
    }
    .mb-75 {
        margin-bottom: 50px;
    }
    .pb-75 {
        padding-bottom: 50px;
    }
    .pt-75 {
        padding-top: 50px;
    }
}

@media(max-width: 959px) {
    .mb-150 {
        margin-bottom: 80px;
    }
    .mb-75 {
        margin-bottom: 40px;
    }
    .pb-75 {
        padding-bottom: 40px;
    }
    .pt-75 {
        padding-top: 40px;
    }
}

.op-60 {
    opacity: 0.6;
}

.container {
    position: relative;
    max-width: 1440px;
    width: 100%;
    margin: 0 auto;
    padding: 0 40px;
}

@media (max-width: 1199px) {
    .container {
        padding: 0 15px;
    }
}

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

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

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

.grid-4 {
    display: grid;
    grid-auto-flow: dense;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

@media (max-width: 1199px) {
    .grid-4 {
        grid-template-columns: repeat(3, 1fr);
    }

    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }
}

.btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    outline: none;
    border: none;
    background-color: var(--color-navy);
    border-radius: 10px;
    font-family: 'Manrope', 'Arial', sans-serif;
    font-style: normal;
    font-weight: 600;
    font-size: 16px;
    line-height: 140%;
    color: #fff;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    cursor: pointer;
    min-height: 54px;
    width: 100%;
}

.btn:hover,
.btn:focus {
    color: #fff;
    background-color: var(--color-blue);
    border-color: var(--color-blue);
}

.btn--white {
    background-color: #fff;
    color: var(--color-navy);
}

.btn--border {
    background-color: transparent;
    border: 1px solid var(--color-navy);
    color: var(--color-navy);
}


.btn--blue {
    color: #fff;
    background-color: var(--color-blue);
    border-color: var(--color-blue);
}

.btn--blue:hover,
.btn--blue:focus {
    color: #fff;
    background-color: var(--color-navy);
    border-color: var(--color-navy);
}

.btn--border-blue {
    background-color: transparent;
    border: 1px solid var(--color-blue);
    color: var(--color-blue);
}

.btn--icon {
    padding: 0;
    width: 40px;
    height: 40px;
    min-height: 0;
}

.page-top {
    position: relative;
    padding: 50px;
    gap: 20px;
    border-radius: 26px;
    overflow: hidden;
    background-color: var(--color-navy);
}

.page-top__info {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 30px;
    color: #fff;
    width: 50%;
    z-index: 4;
}

.page-top__decor {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3;
}

.page-top__decor img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.page-top__title {
    font-weight: 600;
    font-size: 60px;
    line-height: 140%;
    margin: 0 0 30px;
}

.page-top__text {
    font-size: 16px;
    line-height: 140%;
    opacity: 0.6;
}

.page-top__text p {
    margin: 0 0 10px;
}

.page-top__text p:last-child {
    margin: 0;
}

.page-top__accent {
    display: flex;
    align-items: center;
    min-height: 62px;
    background: rgba(255,255,255,0.3);
    border-radius: 18px;
    padding: 10px 30px;
    font-weight: 600;
    font-size: 16px;
    line-height: 140%;
    color: #fff;
}

.page-top__img {
    position: absolute;
    right: 0;
    bottom: 0;
    height: 100%;
    z-index: 1;
}

.page-top__img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.page-top__img::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    width: 100%;
    height: 100%;
    background: linear-gradient(270deg, rgba(35, 48, 72, 0.4) 0%, #233048 100%);
    z-index: 2;
}

@media(max-width: 1199px) {
    .page-top {
        padding: 40px;
    }

    .page-top__info {
        width: 66%;
        gap: 20px;
    }

    .page-top__title {
        font-size: 50px;
        margin: 0 0 40px;
    }
}

@media(max-width: 959px) {
    .page-top__title {
        font-size: 40px;
        margin: 0 0 30px;
    }

    .page-top__info {
        width: 100%;
    }

    .page-top:has(.page-top__img) {
        padding-bottom: 70vw;
    }

    .page-top__img {
        height: auto;
        width: 100%;
    }

    .page-top__img::after {
        background: linear-gradient(360deg, rgba(35, 48, 72, 0.2) 0%, #233048 100%);
    }
}

@media(max-width: 539px) {
    .page-top {
        padding: 20px;
    }

    .page-top__title {
        font-size: 28px;
        margin: 0 0 15px;
    }

    .page-top__text {
        font-size: 14px;
    }

    .page-top__accent {
        font-size: 14px;
        padding: 10px 20px;
    }
}

.page-title {
    font-weight: 600;
    font-size: 40px;
    line-height: 130%;
    margin: 0 0 20px;
}

@media(max-width: 1199px) {
    .page-title {
        font-size: 36px;
        margin-bottom: 30px;
    }
}

@media(max-width: 959px) {
    .page-title {
        font-size: 32px;
        margin: 0 0 20px;
    }
}

@media(max-width: 539px) {
    .page-title {
        font-size: 26px;
        margin: 0 0 10px;
    }
}

.page-wrap {
    position: relative;
    display: flex;
    gap: 20px;
    align-items: start;
}

.page-img {
    flex: 1;
    border-radius: 18px;
    overflow: hidden;
    width: 100%;
    aspect-ratio: 670 / 592;
    position: sticky;
    top: 120px;
}

.page-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.page-video {
    flex: 1;
    border-radius: 18px;
    overflow: hidden;
    width: 100%;
    aspect-ratio: 640 / 360;
    position: sticky;
    top: 120px;
}
.page-video iframe {
    width: 100%;
    height: 100%;
}

.page-content {
    flex: 1;
}

.page-date {
    font-weight: 600;
    font-size: 18px;
    line-height: 140%;
    margin-bottom: 20px;
}

.page-date__title {
    display: block;
    font-size: 12px;
    line-height: 16px;
    opacity: 0.6;
}

.page-text {
    font-size: 16px;
    line-height: 140%;
}

.page-text p,
.page-text span {
    font-size: inherit !important;
    font-family: 'Manrope', 'Arial', sans-serif !important;
    margin: 0 0 10px !important;
}
.page-text a  {
    text-decoration: underline;
}
.page-text a:hover  {
    color: var(--color-blue);
}

.page-text ul {
    margin: 0 0 10px;
    padding: 0 0 0 18px;
    list-style: square;
}

.page-text ul li {
    margin: 0 0 10px;
}

.page-text ul li::marker {
    color: var(--color-blue);
}

.page-text img {
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: contain;
    border-radius: 4px;
    margin: 40px 0;
}

.page-img {
    width: 100%;
    height: auto;
    max-height: 620px;
    border-radius: 18px;
    overflow: hidden;
}

.page-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.page-content .table,
.page-text table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    width: 100%;
}
.page-text tbody,
.page-text thead {
    display: block;
    min-width: 750px;
}

@media(max-width: 1199px) {
    .page-title {
        font-size: 36px;
        line-height: 43px;
    }
}

@media(max-width: 959px) {
    .page-wrap {
        flex-direction: column-reverse;
    }
}

@media(max-width: 539px) {
    .page-text {
        font-size: 14px;
    }

    .page-date {
        font-size: 16px;
        margin-bottom: 10px;
    }
}

.certificate {
    display: flex;
    justify-content: center;
}

.certificate img {
    max-height: calc( 100vh - 100px);
    max-height: calc(100 * var(--vh, 1vh) - 100px);
    
}

.price-text {
    background-color: var(--color-blue);
    color:  #fff;
    border-radius: 18px;
    padding: 40px;
    font-size: 20px;
    line-height: 160%;
    font-weight: 600;
    text-align: center;
    text-wrap: balance;
}

@media(max-width:767px) {
   .price-text {
        padding: 20px;
        font-size: 16px;
    } 
}
.section__top {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    align-items: center;
    margin-bottom: 40px;
}

.decor-bg:not(.bg-black) .section__top {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.section__tag {
    display: flex;
    align-items: center;
    width: max-content;
    gap: 6px;
    font-size: 16px;
    line-height: 140%;
}

[data-animate].section__tag {
    transform: translateX(300%);
    transition: transform 0.6s ease;
    padding: 10px 15px;
    border-radius: 18px;
}

[data-animate].visible.section__tag {
    transform: translateX(0);
}

.section__tag::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--color-dark);
}

.decor-bg .section__tag::before {
    display: none;
}

.decor-bg.bg-black .section__tag::before {
    display: block;;
    background-color: #fff;
}

@media(max-width: 767px){
    [data-animate].section__tag {
        transform: translateX(100%);
    }
    
    .section__top {
        width: 100%;
        overflow-x: hidden;
    }
}

.section__title {
    margin: 0;
    font-weight: 600;
    font-size: 40px;
    line-height: 140%;
}

.section__btn {
    position: relative;
    z-index: 3;
    max-width: 295px;
    margin: 30px auto 0;
}

#pdopage .btn-more {
    position: relative;
    z-index: 3;
    width: 100%;
    max-width: 295px;
    margin: 30px auto 0;
}

.portfolio .pagination {
    opacity: 0;
}

@media(max-width: 1199px) {
    .section__top {
        margin-bottom: 30px;
        grid-template-columns: 1fr 2fr;
    }

    .section__title {
        font-size: 36px;
    }
}

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

    .section__tag {
        font-size: 18px;
    }

    .section__title {
        font-size: 32px;
    }
}

@media(max-width: 539px) {
    .section__top {
        margin-bottom: 20px;
        gap: 15px;
    }

    .section__tag {
        font-size: 14px;
    }

    .section__title {
        font-size: 26px;
    }
}

.breadcrumbs {
    list-style: none;
    margin: 15px 0 40px;
    padding: 0;
}

.breadcrumbs li {
    display: inline-flex;
    align-items: center;
}

.breadcrumbs a {
    font-size: 16px;
    line-height: 140%;
    transition: color 0.3s ease;
}

.breadcrumbs a:hover {
    color: var(--color-blue);
}

.breadcrumbs li::after {
    content: "/";
    padding: 0 12px;
}

.breadcrumbs li:last-child {
    color: var(--color-blue);
}

.breadcrumbs li:last-child::after {
    display: none;
}

@media(max-width: 959px) {
    .breadcrumbs {
        margin: 15px 0 30px;
    }
}

@media(max-width: 539px) {
    .breadcrumbs {
        margin: 10px 0 20px;
    }

    .breadcrumbs a {
        font-size: 14px;
    }
}

.logo {
    flex-shrink: 0;
    position: relative;
    width: 130px;
    height: 45px;
}

.logo a {
    display: flex;
    gap: 10px;
    align-items: center;
    transition: opacity 0.3s ease;
}

.logo__img {
    width: 20px;
    height: 45px;
    flex-shrink: 0;
}

.logo svg,
.logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.logo__text {
    font-weight: 600;
    font-size: 20px;
    line-height: 27px;
}

.logo a:hover,
.logo a:focus {
    opacity: 0.5;
}

.swiper-horizontal>.swiper-pagination-bullets,
.swiper-pagination-bullets.swiper-pagination-horizontal {
    position: relative;
    bottom: 0;
    top: 0;
    left: 0;
    width: 100%;
    margin-top: 20px;
}

.swiper-pagination-bullets .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    margin: 0 5px;
    background: var(--color-dark);
    opacity: 0.1;
    transition: all 0.3s ease;
}

.swiper-pagination-bullets .swiper-pagination-bullet-active {
    width: 26px;
    border-radius: 100px;
    opacity: 1;
}

.custom-input,
.custom-textarea {
    position: relative;
    flex: 1;

    display: flex;
    width: 100%;

    color: #fff;
}

.custom-input label,
.custom-textarea label {
    width:100%;
    display: flex;
    flex-direction: column;
}

.custom-input input,
.custom-textarea textarea {
    width: 100%;
    min-height: 68px;
    margin-left: auto;
    padding: 20px 30px;
    font: inherit;
    color: inherit;
    outline: none;
    background: var(--color-dark);
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 18px;
    transition: background-color 0.3s ease;
    color: #fff;
    font-size: 16px;
    line-height: 140%;
}

.custom-input input::-webkit-input-placeholder,
.custom-textarea textarea::-webkit-input-placeholder {
    color: #fff;
    opacity: 0.52;
}

.custom-input input:hover,
.custom-textarea textarea:hover,
.custom-input input:focus,
.custom-textarea textarea:focus {
    background: rgba(255, 255, 255, 0.1);
}

.custom-textarea textarea {
    border-radius: 18px;
    height: 100%;
    min-height: 156px;
}

.custom-input:has(.is-invalid) .input-error {
    margin-top: 5px;
}

.ajax_form .custom-input .error {
    color: var(--color-orange);
}

.custom-toggle {
    position: relative;
    display: flex;
    flex-direction: column-reverse;
    width: 100%;
}

.custom-toggle input {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    clip: rect(0 0 0 0);
 }

 .custom-toggle label {
    display: flex;
    position: relative;
    cursor: pointer;
    gap: 10px;
 }

  .custom-toggle__icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #fff;
    width: 24px;
    height: 24px;
    border: 1px solid rgba(34,34,34,0.2);
    border-radius: 8px;
    transition: backgound-color 0.3s ease;
 }
 
 .custom-toggle__icon svg {
    width: 12px;
    height: 10px; 
 }

.custom-toggle__label {
    font-size: 16px;
    line-height: 140%;
    color: #222;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.custom-toggle:has(input:checked)  .custom-toggle__label {
   opacity: 1;
}

.custom-toggle:has(input:checked)  .custom-toggle__icon {
    background-color: var(--color-blue);
}


.decor-bg {
    position: relative;
    background-color: #fff;
    border-radius: 26px;
    overflow: hidden;
    padding: 150px 50px;
}

.decor-bg.bg-black {
    background-color: var(--color-dark);
    color: #fff;
}

.decor-bg__img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.decor__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media(max-width: 1199px) {
    .decor-bg {
        padding: 100px 50px;
    }
}

@media(max-width: 959px) {
    .decor-bg {
        padding: 80px 30px;
    }
}

@media(max-width: 539px) {
    .decor-bg {
        padding: 80px 20px;
    }
}

.nav {
    display: flex;
    justify-content: center;
}

.nav__list {
    list-style: none;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 10px 30px;
}

.nav__link {
    display: flex;
    align-items: center;
    font-weight: 600;
    font-size: 16px;
    line-height: 140%;
    color: var(--color-dark);
}

.nav__item.active > .nav__link {
    color: var(--color-orange);
}

.nav__link:hover,
.nav__link:focus {
    color: var(--color-orange);
}

@media (max-width: 1239px) {
    .nav {
        width: 100%;
        justify-content: flex-end;
        margin-bottom: 60px;
    }

    .nav__list {
        flex-direction: column;
        align-items: flex-end;
        gap: 12px;
    }
}

.langs{
    position: relative;
    display: flex;
    align-items: center;
}

.langs .flag_href {
    display: inline-block;
    width: 35px;
    height: 27px;
    transition: transform 0.3s ease-in-out;
}
.langs .flag_href .imglang{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.langs .flag_container{
    display: none;
}
.langs .active{
    display: inline-block;
}

.dropdown-menu {
  overflow: hidden;
  position: absolute;
  z-index: 1;
  left: 50%;
  top: 40px;
  transform: translate(-50%);
  transition: all .3s;
  
  display: flex;
  flex-direction: column-reverse;
}

.langs .dropdown-item{
    margin: 2px 10px;
    opacity: 0.7;
}
.langs .dropdown-item.active .imglang {
    display: inline-block;
    width: 35px;
    height: 27px;
}
.langs .dropdown-item:not(.active):hover {
    opacity: 1;
}

.header {
    width: 100%;
    z-index: 50;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255,255,255,0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.header__wrap {
/*     display: grid;
grid-template-columns: 1fr minmax(max-content, 1fr) 1fr; */
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 18px 0;
    border-bottom: 1px solid rgba(40,40,40,0.1);
}

.header__menu {
    flex: 1;
}

.header__mob {
    display: none;
}

.header__btns {
    display: flex;
    align-items: center;
    justify-self: end;
    gap: 15px;
    flex-shrink: 0;
}

.header__phone {
    font-weight: 600;
    font-size: 16px;
    line-height: 140%;
    flex-shrink: 0;
}

.header__phone:hover {
    color: var(--color-orange);
}

.header__btns .btn {
    min-height: 40px;
    max-width: 160px;
    font-size: 12px;
}

.header__socials.socials {
    gap: 5px;
}

.header__socials-mob.socials {
    display: none;
}

.header__socials .socials__item a {
    color: var(--color-navy);
    background-color: transparent;
}

.header__mob-btn,
.header__mob-contacts {
    display: none;
}

.header__overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0;
    visibility: hidden;
    background-color: var(--color-dark);
    backdrop-filter: blur(10px);
    transition: opacity 0.3s ease;
}

.header__overlay.show {
    opacity: 0.82;
    visibility: visible;
    z-index: 20;
}

.header:has(.header__overlay.show) {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.header__burger {
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    display: none;
    width: 40px;
    height: 40px;
    padding: 0;
    min-height: 40px;
    color: #fff;
}

.header__burger svg {
    position: absolute;
    top:50%;
    left:50%;
    transform: translate(-50%,-50%);
    transition: opacity 0.3s ease;
}

@media (max-width : 1239px) {
    .header__wrap {
        position: relative;
        padding-right: 60px;
    }

    .header__btns {
        margin-left: auto;
    }

    .header__menu {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        position: fixed;
        top: 13px;
        right: 15px;
        width: calc(100% - 30px);
        max-width: 317px;
        max-height: 100vh;
        max-height: calc(100 * var(--vh, 1vh) - 40px);
        overflow: hidden;
        background-color: #fff;
        z-index: 25;
        border-radius: 18px;
        padding: 15px;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, visibility 0.3s ease;
        flex:1;
    }

    .header__menu.is-active {
        opacity: 1;
        visibility: visible;
    }

    .header__mob {
        display: flex;
        flex-direction: column;
        width: 100%;
    }

    .header__mob .logo {
        margin-bottom: 28px;
    }
    
    .header__socials-desk.socials {
        display: none;
    }
    
    .header__socials-mob.socials {
        display: flex;
        align-self: flex-end;
        margin-bottom: 20px;
    }

    .header__burger {
        display: flex;
        z-index: 26;
    }

    .header__burger.is-open {
        position: fixed;
        top: 26px;
        right: 30px;
        transform: none;
    }

    .header__burger .icon-close {
        opacity: 0;
    }

    .header__burger.is-open .icon-close {
        opacity: 1;
    }

    .header__burger.is-open .icon-open {
        opacity: 0;
    }
}

@media(max-width : 767px) {
    .header__phone,
    .header__btn {
        display: none;
    }
}

.promo__wrap {
    position: relative;
    width: 100%;
    min-height: 783px;
    border-radius: 18px;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    color: #fff;
    padding: 37px 40px;
}

.promo__img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.promo__img::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(35, 48, 72, 0.4) 0%, rgba(35, 48, 72, 0.9) 100%);
}

.promo__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.promo__title {
    font-weight: 600;
    font-size: 60px;
    line-height: 140%;
    margin: 0 0 11px;
}

.promo__list {
    display: flex;
    gap: 50px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.promo__item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 16px;
    line-height: 140%;
}

.promo__item::before {
    content: "";
    display: block;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background-color: #fff;
}

.promo .btn {
    max-width: 295px;
}

@media (max-width: 1199px) {
    .promo__wrap {
        flex-direction: column;
        justify-content: flex-end;
        align-items: flex-start;
        gap: 20px;
    }
    
    .promo__title {
        font-size: 50px;
        margin: 0;
    }

    .promo__list {
        margin-bottom: 20px;
        gap: 50px;
    }

    .promo__item {
        font-size: 18px;
    }
}

@media (max-width: 959px) {
    .promo__title {
        font-size: 44px;
    }

    .promo__list {
        flex-direction: column;
        gap: 15px;
    }
}

@media (max-width: 539px) {
    .promo__wrap {
        padding: 20px;
        align-items: center;
    }
    
    .promo__title {
        font-size: 28px;
        text-align: center;
    }

    .promo__list {
        margin-bottom: 10px;
        gap: 10px;
        align-items: center;
    }

    .promo .btn {
        max-width: none;
    }
}

.services__title {
    margin-bottom: 40px;
}

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

.services__tariffs--few {
    grid-template-columns: repeat(2, 1fr);
}
.services__registration .card:nth-child(6n+1),
.services__registration .card:nth-child(6n+6){
    grid-column: auto / span 2;
}

.services__block:nth-child(4n+1) .section__tag {
    background-color: rgba(133, 163, 236, 0.2);   
}

.services__block:nth-child(4n+2) .section__tag {
    background-color: rgba(137, 74, 177, 0.2);   
}

.services__block:nth-child(4n+3) .section__tag {
    background-color: rgba(245, 152, 93, 0.2);   
}

.services__block:nth-child(4n+4) .section__tag {
    background-color: rgba(130, 33, 53, 0.2);   
}

@media(max-width: 1199px) {
    .services__tariffs,
    .services__tariffs--few {
        grid-template-columns: 1fr;
    }
}

.service__wrap {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 20px;
    position: relative;
    justify-content: start;
}

.service__top p {
    margin: 0;
    font-weight: 500;
    font-size: 16px;
    line-height: 120%;
}

.service__desc {
    display: grid;
    gap: 20px;
}

.service__card{
    width: 100%;
    background-color: #fff;
    border-radius: 18px;
    overflow: hidden;
    padding: 30px;
    transition: box-shadow 0.3s ease;
}

.service__card:hover{
    box-shadow: 0px 10px 60px rgba(0, 0, 0, 0.12);
}
.service__info {
    font-size: 16px;
    line-height: 140%;
}

.service__info h2 {
    font-weight: 600;
    font-size: 22px;
    line-height: 140%;
    margin: 0 0 20px;
}

.service__info h3 {
    font-weight: 400;
    font-size: 14px;
    line-height: 140%;
    opacity: 0.6;
    margin: 0 0 10px;
}

.service__info a {
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-color: var(--color-blue);
}
.service__info a:hover {
    color: var(--color-blue);
}

.service__link {
    font-size: 16px;
    line-height: 140%; 
    font-weight: 700;
}

.service__link:hover {
    color: var(--color-blue);
}

@media(max-width: 1199px) {
    .service__wrap {
        grid-template-columns: 1fr;
    }
    .services__registration .card:nth-child(6n+1),
    .services__registration .card:nth-child(6n+6){
        grid-column: auto;
    }
}

.card {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    min-height: 258px;
    background-color: #fff;
    border-radius: 18px;
    overflow: hidden;
    transition: box-shadow 0.3s ease, background-color 0.3s ease, opacity 0.6s ease-in, transform 0.6s ease-in;
}

[data-animate-cards] .card {
  opacity: 0;
  transform: translateY(50px);
}

[data-animate-cards] .card.visible {
  opacity: 1;
  transform: translateY(0);
}

.card--double {
    grid-column: auto / span 2;
}

.decor-bg .card {
    background-color: var(--color-light);
}

.card:hover {
    box-shadow: 0px 10px 60px rgba(0, 0, 0, 0.12);
}
.card.swiper-slide {
    height: auto;
}

.decor-bg .card:hover {
    background-color: #fff;
}

.card__link {
    font-family: 'Manrope';
    font-weight: 500;
    font-size: 16px;
    line-height: 140%;
    color: var(--color-blue);
    margin-top: 20px;
}

.card__link::after {
    content: ">";
    font-size: 1.3em;
    margin-left: 8px;
}

.card__link::before,
.card__arrow::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    width: 100%;
    height: 100%;
    z-index: 3;
}

.card__img {
    width: 100%;
    height: 100%;
}

.card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card__decor {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.card__decor img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.card__popular {
    position: absolute;
    top: 5px;
    left: -2px;
    padding: 2px 20px;
    background-color: rgba(170, 88, 199, 1);
    color: white;
    border-radius: 0 5px 5px 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.card--service .card__decor img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: right bottom;
}

.card__info {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    padding: 40px 30px;
    z-index: 2;
}

.card__num {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    background-color: #fff;
    color: var(--color-blue);
    border-radius: 10px;
    padding: 10px;
    margin-bottom: 40px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.card__dots {
    margin-bottom: 40px; 
}

.card__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--color-light);
    width: 50px;
    height: 50px;
    border-radius: 10px;
    margin-bottom: 40px;
    color: var(--color-blue);
    transition: color 0.3s ease;
}

.card:hover .card__icon {
    color: var(--color-orange);
}

.card:hover .card__num {
    color: var(--color-orange);
    background-color: var(--color-light);
}
.card:hover .card__popular {
    transform: translateX(1px);
    opacity: 0.8;
}


.card__icon svg {
    width: 24px;
    height: 24px;
}

.card__subtitle {
    font-size: 14px;
    line-height: 140%;
    opacity: 0.6;
    margin-bottom: 3px;
}

.card__title {
    font-weight: 600;
    font-size: 22px;
    line-height: 140%;
    margin: 0 0 15px;
    transition: color 0.3s ease;
}

.card:has(.card__link:hover) .card__title,
.card:has(.card__arrow:hover) .card__title,
.card a:hover .card__title {
    color: var(--color-orange)
}

.card__tarif {
    flex: 1;
}

.card__text {
    font-size: 16px;
    line-height: 140%;
    opacity: 0.6;
    flex: 1;
}
.card__text p {
    margin: 0 0 10px;
}

.card__list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-size: 16px;
    line-height: 140%;
    flex: 1;
}

.card__list p {
    margin: 0;
}

.card__list a:hover {
    color: var(--color-blue);
}

.card__links {
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-size: 16px;
    line-height: 140%;
    font-weight: 500;
    flex: 1;
    margin: 30px 0;
}

.card__links a {
    display: flex;
    justify-content: space-between;
    gap:10px;
    align-items: center;
}

.card__list-price {
    font-weight: 600;
    flex-shrink: 0;
}

.card__links a:hover {
    color: var(--color-blue);
}

.card__top {
    position: relative;
    flex: 1;
    padding: 30px 30px 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 200px;
    z-index: 5;
}

.card__bottom {
    padding: 0 20px 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.card__price-block {
    margin: 30px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
}

.card__price-block p {
    margin: 0 0 10px;
}

.card__price {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: end;
    font-weight: 700;
    font-size: 22px;
    line-height: 140%;
}

.card__price:has(.card__price-old) .card__price-sale {
    color: var(--color-orange);
}

.card__price-old {
    position: relative;
}

.card__price-old::after {
    content:"";
    position: absolute;
    width: calc(100% + 10px);
    height: 2px;
    top: 50%;
    left: -5px;
    transform: rotate(-3deg);
    z-index: 2;
    background: var(--color-orange);
}

.card__order-price {
    display: inline-flex;
    flex-direction: column;
}

.card.order .card__title {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.card.order .card__price-old {
    opacity: 0.6;
}

.card.order .card__price-old::after {
    background: #fff;
}

.card__price-currency {
    font-size: 0.8em;
}

.card__arrow {
    flex-shrink: 0;
}

.card__inner {
    position: relative;
    background-color: var(--color-light);
    border-radius: 18px;
    overflow: hidden;
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
    height: 100%;
    width: 100%;
}

.card__inner-bottom {
    display: flex;
    align-items: center;
    gap: 10px;
}

.services__tariffs .card__arrow {
    width: 54px;
    height: 54px;
}

.services__tariffs .card__price {
    font-size: 28px;
}

.services__tariffs .card__bottom {
    padding: 0;
}

.card__btn {
    position: relative;
    z-index: 10;
}

.features .card:nth-child(2) .card__decor {
    background-image: url(/assets/theme/img/decor12.svg);
    background-repeat: no-repeat;
    background-size: cover;
}

.features .card:last-child .card__decor {
    background-image: url(/assets/theme/img/decor.svg);
    background-repeat: no-repeat;
    background-size: cover;
}

.card.order {
    background-color: var(--color-blue);
    color: #fff;
    height: fit-content;
    position: sticky;
    top: 120px;
}

.card.order .card__info {
    flex: 1;
    justify-content: space-between;
}

.card.order .btn--white:hover {
    background-color: var(--color-navy);
}

.features .card:nth-child(1) {
    background-color: rgba(137, 74, 177, 0.1);
}

.features .card:nth-child(2) {
    background-color: rgba(133, 163, 236, 0.1);
}

.features .card:nth-child(3) {
    background-color: rgba(202, 57, 122, 0.1);
}
.features .card:nth-child(4) {
    background-color: rgba(216, 129, 76, 0.1);
}
.features .card:nth-child(5) {
    background-color: rgba(58, 50, 123, 0.1);
}

.features .card:nth-child(6) {
    background-color: rgba(204, 81, 63, 0.1);
}

.features .card:nth-child(7) {
    background-color: rgba(34, 129, 190, 0.1);
}

@media(max-width: 1199px) {
    .card__info {
        padding: 40px 20px 20px;
    }

    .card__title {
        font-size: 20px;
    }

    .services__tariffs .card__info {
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-row: 1fr fit-content;
        gap: 20px;
    }

    .services__tariffs .card__tarif {
        grid-row: 1 / span 2;
    }

    .services__tariffs .card__price-block {
        margin: 0;
        justify-content: flex-start;
        align-items: flex-start;
        text-align: left;
    }

    .services__tariffs .card__price {
        flex: 0;
    }

    .services__tariffs .card__bottom {
        align-self: end;
    }

    .features .card:has(.card__img) {
        display: none;
    }
    
    .card.order {
        order: -1;
        position: static;
        top: 0;
        max-width: 450px;
    }
}

@media(max-width: 767px) {
    .services__tariffs .card__info {
        grid-template-columns: 1fr;
        grid-row: auto;
    }

    .services__tariffs .card__tarif {
        grid-row: 1 / span 1;
    }

    .services__tariffs .card__price-block {
        margin: 25px 0 0;
        align-items: center;
        text-align: center;
    }

    .services__tariffs .card__price {
        font-size: 24px;
    }
    
    .card__top {
        min-height: auto;
    }
    
    .card--double {
        grid-column: auto / span 1;
    }

    .card--double > .card__bottom {
        flex-direction: column;
    }
}

@media(max-width: 539px) {
    .card__title {
        font-size: 18px;
        margin-bottom: 10px;
    }

    .card__text {
        font-size: 14px;
    }

    .card__list {
        font-size: 14px;
    }

    .card__link {
        font-size: 14px;
        margin-top: 12px;
    }

    .card__icon {
        margin-bottom: 30px;
    }

    .card__price {
        font-size: 20px;
    }
    .card__links a {
        flex-direction: column;
        align-items: start;
    }
    
    .card__list-price {
        align-self: end;
    }

}

.med-services .card:nth-child(3n+1) {
    background-color: rgba(137, 74, 177, 0.1);
}

.med-services .card:nth-child(3n+2) {
    background-color: rgba(133, 163, 236, 0.1);
}

.med-services .card:nth-child(3n+3) {
    background-color: rgba(216, 129, 76, 0.1);
}


.filter {
    background-color: #fff;
    border-radius: 18px;
    margin-bottom: 20px;
    width: fit-content;
}

.filter__button {
    display: none;
    position: relative;
    border-radius: 18px;
}

.filter__list {
    display: flex;
    flex-wrap: wrap;
}

.filter__btn {
    flex-shrink: 0;
    width: fit-content;
    border: none;
    background-color: #fff;
    color: var(--color-navy);
    padding: 12px 19px;
    font-family: 'Manrope', 'Arial', sans-serif;
    font-style: normal;
    font-weight: 500;
    font-size: 18px;
    line-height: 140%;
    border-radius: 18px;
    overflow: hidden;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.filter__btn:hover,
.filter__btn.current {
    background-color: var(--color-navy);
    color: #fff;
}

.filter__icon {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 20px;
    transition: transform 0.3s ease;
}

.filter.active .filter__icon {
    transform: translateY(-50%) rotate(180deg);
}

@media(max-width: 959px) {
    .filter {
        width: 100%;
        background-color: rgba(34, 129, 190, 0.1);
    }
    .filter__button {
        display: flex;
    }

    .filter__list {
        flex-direction: column;
        display: none;
    }

    .filter.active .filter__list {
       display: flex;
    }

    .filter__btn {
        width: 100%;
        background: transparent;
    }
    .filter__btn:hover {
        background-color: transparent;
        color: var(--color-blue);
    }
    .filter__btn.current {
        display: none;
    }
}

.brand__wrap {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.brand .card {
    grid-column: auto / span 2;
}

.brand .card:nth-child(4n + 1),
.brand .card:nth-child(4n + 4) {
    grid-column: auto / span 3;
}

@media(max-width: 959px) {
    .brand__wrap {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .brand .card {
        grid-column: auto / span 1;
    }
    
    .brand .card:nth-child(4n + 1),
    .brand .card:nth-child(4n + 4) {
        grid-column: auto / span 1;
    }
}

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

.about__wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    justify-content: start;
}

.about__content {
    padding: 30px;
    background-color: #fff;
    border-radius: 18px;
    overflow: hidden;
}

.about__img {
    border-radius: 18px;
    overflow: hidden;
    width: 100%;
    aspect-ratio: 670 / 524;
}

.about__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

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

@media(max-width: 767px) {
    .portfolio .grid-3 {
        grid-template-columns: 1fr;
    }
}
.team__wrap {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    
}
.team__wrap .team-card {
    width: 100%;
    max-width: 400px;
}

.team-card__img {
    width: 100%;
    aspect-ratio: 263 / 315;
    margin-bottom: 10px;
    border-radius: 18px;
    overflow: hidden;
    user-select: none;
}

.team-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-card__title {
    font-weight: 600;
    font-size: 22px;
    line-height: 140%;
    margin-bottom: 7px;
}

.team-card__text {
    font-size: 16px;
    line-height: 140%;
    opacity: 0.6;
}

@media(max-width: 1199px) {
    .team-card__title {
        font-size: 20px;
    }
    
    .team-card__text {
        font-size: 16px;
        line-height: 140%;
        opacity: 0.6;
    }
}

@media(max-width: 539px) {
    .team-card__title {
        font-size: 18px;
    }
    
    .team-card__text {
        font-size: 14px;
    }
}

.blog-card {
    width: 100%;
    background-color: #fff;
    border-radius: 18px;
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}

.blog-card:has(.blog-card__link:hover) {
    box-shadow: 0px 10px 60px rgba(0, 0, 0, 0.12);
}

.blog-card__img {
    width: 100%;
    aspect-ratio: 440 / 250;
    border-radius: 18px;
    overflow: hidden;
}

.blog-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-card__title {
    font-weight: 600;
    font-size: 22px;
    line-height: 130%;
    padding: 20px;
    transition: color 0.3s ease;
}

.blog-card__link:hover .blog-card__title {
    color: var(--color-orange);
}

@media(max-width: 1199px) {
    .blog-card__title {
        font-size: 20px;
    }
}

@media(max-width: 959px) {
    .blog-card__title {
        padding: 15px;
    }
}

@media(max-width: 539px) {
    .blog-card__title {
        padding: 10px 15px 15px;
        font-size: 18px;
    }
}

.partners {
    margin-bottom: 90px;
    padding-bottom: 60px;
}

.partners .swiper {
    padding: 60px 20px;
    margin: 0 -20px;
}

.partners__item {
    width: 190px;
    height: 100px;
}

.partners__img {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    transition: box-shadow 0.3s ease;
    padding: 10px;
}

.partners__img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.partners__img:hover {
    box-shadow: 0px 10px 60px rgba(0, 0, 0, 0.12);
}

@media(max-width: 1199px) {
    .partners .swiper {
        padding: 60px 15px;
        margin: 0 -15px;
    }
}

.dots {
    display: flex;
    gap: 5px;
}

.dots span {
    width: 8px;
    height: 8px;
    background: var(--color-blue);
    border-radius: 50%;
}

.numbers__wrap {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(auto, 1fr);
    gap: 20px;
}

.numbers__item {
    position: relative;
}

.numbers__card {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    border-radius: 18px;
    overflow: hidden;
    background-color: #fff;
    padding: 30px 14% 30px 36%;
    background-size: cover;
    background-repeat: no-repeat;
}

.numbers__item:nth-child(odd) .numbers__card {
    background-image: url(/assets/theme/img/decor5.svg);
}

.numbers__item:first-child {
    grid-column: 1 / 2;
    grid-row: 1 / 2;
}

.numbers__item:first-child .numbers__card {
    padding: 30px;
    background-image: url(/assets/theme/img/decor6.svg);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: calc(100% + 67px);
}

.numbers__item:first-child .numbers__num .plus {
    display: none;
}

.numbers__dots {
    position: absolute;
    top: 30px;
    left: 30px;
    opacity: 0.4;
}

.numbers__item:first-child .numbers__dots {
    left: auto;
    right: 30px;
}

.numbers__num {
    font-weight: 600;
    font-size: 52px;
    line-height: 140%;
    color: var(--color-blue);
    margin-bottom: 70px;
}

.numbers__text {
    font-size: 16px;
    line-height: 140%;
    opacity: 0.6;
    margin-top: auto;
}

.numbers__btns {
    grid-column: 1 / 2;
    grid-row: 2 / 3;
    display: flex;
    gap: 20px;
    height: fit-content;
    padding-top: 67px;
}

.numbers__item:nth-child(1) .numbers__card{
    background-color: rgba(137, 74, 177, 0.1);
}

.numbers__item:nth-child(2) .numbers__card{
    background-color: rgba(216, 129, 76, 0.1);
}

.numbers__item:nth-child(3) .numbers__card{
    background-color: rgba(202, 57, 122, 0.1);
}


@media(max-width: 1199px) {
    .numbers__num {
        font-size: 46px;
    }

    .numbers__card {
        padding: 20px 14% 20px 36%;
    }

    .numbers__item:first-child .numbers__card {
        padding: 20px;
    }

    .numbers__btns {
        flex-direction: column;
    }
}

@media(max-width: 959px) {
    .numbers__card {
        padding: 20px 20px 20px 100px;
    }
}

@media(max-width: 767px) {
    .numbers__wrap {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }

    .numbers__item:first-child .numbers__card {
        position: relative;
        height: 100%;
    }

    .numbers__dots {
        left: auto;
        right: 20px;
    }

    .numbers__card {
        padding: 20px;
    }
    
    .numbers__num {
        font-size: 36px;
    }

    .numbers__text {
        font-size: 14px;
    }

    .numbers__btns {
        grid-column: auto;
        grid-row: auto;
        padding-top: 0;
    }
}

.blog__wrap {
    margin-bottom: 40px;
}

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

.blog__bottom .btn {
    max-width: 380px;
}

@media(max-width: 1199px) {
    .blog__wrap {
        margin-bottom: 30px;
    }
}

@media(max-width: 959px) {
    .blog__wrap {
        margin-bottom: 20px;
    }
}

@media(max-width: 767px) {
    .blog__bottom {
        flex-direction: column;
        align-items: stretch;
    }

    .blog__wrap {
        margin-bottom: 30px;
    }

    .blog__bottom .btn {
        max-width: none;
    }
}

.paginations {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: flex-end;
    gap: 20px;
}

.paginations__item {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 16px 20px;
    background: #fff;
    border-radius: 10px;
    font-weight: 600;
    font-size: 16px;
    line-height: 140%;
    transition: color 0.3s ease, background-color 0.3s ease;
}

.paginations__item:hover,
.paginations__item.active {
    background-color: var(--color-navy);
    color: #fff;
}

@media(max-width: 767px) {
    .paginations {
        justify-content: space-between;
    }

    .paginations__item {
        font-size: 14px;
    }
}

.advantages {
    width: 100%;
    padding: 80px;
    color: #fff;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px;
}

.advantages__item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.advantages__icon {
    width: 80px;
    height: 80px;
    margin-bottom: 15px;
}

.advantages__icon img {
    width: 100%;
    height: 100%;
}

.advantages__num {
    font-weight: 500;
    font-size: 32px;
    line-height: 110%;
    text-align: center;
    margin-bottom: 10px;
}

.advantages__text {
    font-size: 16px;
    line-height: 19px;
    text-align: center;
    opacity: 0.72;
    max-width: 210px;
}

@media(max-width: 1199px) {
    .advantages {
        padding: 50px;
    }
}

@media(max-width: 959px) {
    .advantages {
        padding: 40px;
        gap: 50px;
    }

    .advantages__icon {
        width: 60px;
        height: 60px;
    }
    
    .advantages__num {
        font-size: 28px;
    }
    
    .advantages__text {
        font-size: 14px;
        line-height: 17px;
        max-width: 167px;
    }
}

@media(max-width: 539px) {
    .advantages {
        padding: 20px 10px;
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .advantages__icon {
        width: 50px;
        height: 50px;
    }
    
    .advantages__num {
        font-size: 24px;
    }
    
    .advantages__text {
        font-size: 12px;
        line-height: 14px;
    }
}
.offices .card:nth-child(1) {
    background-color: rgba(204, 81, 63, 0.1);
}

.offices .card:nth-child(2) {
    background-color: rgba(133, 163, 236, 0.1);
}

.offices .card:nth-child(3) {
    background-color: rgba(202, 57, 122, 0.1);
}
.offices .card:nth-child(4) {
    background-color: rgba(216, 129, 76, 0.1);
}
.offices .card:nth-child(5) {
    background-color: rgba(58, 50, 123, 0.1);
}

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

.office__contacts {
    border-radius: 18px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0px 10px 60px rgba(0, 0, 0, 0.12);
    padding: 30px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.office__title {
    font-weight: 600;
    font-size: 22px;
    line-height: 140%;
    margin-bottom: 5px;
}

.office__contacts p {
    font-size: 16px;
    line-height: 140%;
    margin: 0;
}

.office__contacts a:hover {
    color: var(--color-blue);
}

.office__gallery {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    flex-wrap: wrap;
}

.office__img {
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 18px;
    overflow: hidden;
}

.office__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    user-select: none
}

.office__map {
    grid-row: 1 / span 2;
    grid-column: 2 / 3;

    border-radius: 18px;
    overflow: hidden;
    min-height: 224px;
}

@media(max-width: 1199px) {
    .office__wrap {
        grid-template-columns: 2fr 3fr;
    }

    .office__contacts {
        padding: 20px;
    }

    .office__title {
        font-size: 20px;
    }
}

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

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

    .office__title {
        font-size: 18px;
    }

    .office__contacts p {
        font-size: 14px;
    }

    .office__map {
        grid-row: auto;
        grid-column: auto;
    }
}

.form__btn {
    width: 100%;
    min-height: 68px;
}

.form__note {
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 50%;
    transform: translateY(100%);
    font-size: 12px;
    line-height: 140%;
    opacity: 0.6;
}

.form__note a {
    opacity: 1;
    color: #fff;
    text-decoration: underline;
}

.form__note a:hover {
    opacity: 0.7;
}

.form__wrap {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form .custom-textarea {
    grid-row: auto / span 2;
}

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

    .form__note {
        width: 100%;
    }
}

.socials {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 30px;
}

.socials__item {
    width: 40px;
    height: 40px;
}

.socials__item a {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-blue);
    background: var(--color-light);
    transition: background-color 0.3s ease, color 0.3s ease;
    border-radius: 10px;
    overflow: hidden;
}

.socials__item svg {
    width: 100%;
    height: 100%;
}

.socials__item a:hover {
    background-color: var(--color-blue);
    color: #fff;
}

.contacts {
    margin-bottom: 70px;
}

.contacts__wrap {
    position: relative;
    border-radius: 26px;
    overflow: hidden;
    background-image: url(/assets/theme/img/decor8.svg);
    background-repeat: no-repeat;
    background-size: cover;
    background-color: #fff;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: max-content;
    gap: 20px;
    padding: 30px;
}

.contacts__item {
    font-size: 16px;
    line-height: 140%;
}

.contacts__item p {
    margin: 0;
}

.contacts__title {
    font-weight: 600;
    font-size: 22px;
    line-height: 140%;
    color: var(--color-navy);
    margin-bottom: 20px;
}

.contacts__item a:hover {
    color: var(--color-blue);
}

.contacts .socials {
    grid-column: 1;
}

@media(max-width: 1199px) {
    .contacts__wrap {
        padding: 20px;
    }

    .contacts__title {
        font-size: 20px;
    }
}

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

@media(max-width: 539px) {
    .contacts__title {
        font-size: 18px;
    }
    
    .contacts__item {
        font-size: 14px;
    }
}

.tarif .card {
    margin-bottom: 20px;
}

.tarif .card__title {
    margin-bottom: 20px;
}

.tarif .card__subtitle {
    margin-bottom: 10px;
}

.tarif .card__text {
    opacity: 1;
}

.footer {
    position: relative;
    overflow: hidden;
}

.footer__wrap {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.footer__col {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer__title {
    font-weight: 600;
    font-size: 16px;
    line-height: 140%;
    color: var(--color-navy);
    opacity: 0.6;
    margin-bottom: 8px;
    min-height: 22px;
}

.footer__link {
    font-size: 16px;
    line-height: 140%;
}

.footer__link:hover {
    color: var(--color-orange);
}

.footer__copyright {
    font-size: 12px;
    line-height: 14px;
    opacity: 0.6;
    grid-column: 1 / span 3;
    margin-top: 20px;
}

.footer__privacy {
    font-size: 12px;
    line-height: 14px;
    opacity: 0.6;
    margin-top: 20px;
}

.footer__privacy:hover {
    font-variant: var(--color-orange);
}

.footer__shadow {
    position: relative;
    font-weight: 600;
    font-size: clamp(50px, 18vw, 270px);
    line-height: 100%;
    text-align: center;
    opacity: 0.06;
    margin-bottom: -3%;
    z-index: -1;
}

@media(max-width : 956px) {
    .footer__wrap {
        grid-template-columns: repeat(3, 1fr);
    }

    .footer .logo {
        grid-column: 1 / -1;
    }

    .footer__copyright {
        grid-column: 1 / span 2;
    }
}

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

    .footer .logo {
        justify-self: center;
        margin-bottom: 10px;
    }

    .footer__col {
        align-items: center;
        gap: 10px;
        margin-bottom: 10px;
    }

    .footer__title {
        margin: 0;
    }

    .footer__copyright {
        grid-column: auto;
        margin: 0;
        text-align: center;
    }

    .footer__privacy {
        text-align: center;
        margin-top: 0;
    }
}

.accept {
    position: fixed;
    bottom: 30px;
    left: 40px;
    width: 100%;
    max-width: 600px;
    box-shadow: 0px 5px 20px rgba(0, 0, 0, 0.1);
    border-radius: 18px;
    background-color: #fff;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
    z-index: 120;
}

.accept.active {
    opacity: 1;
    visibility: visible;
}

.accept__btn {
    margin-left: auto;
    width: 80px;
}

@media(max-width : 539px) {
    .accept {
        bottom: 15px;
        left: 15px;
        width: calc(100% - 30px);
        padding: 20px;
    }
}

.modal {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1000;

    display: flex;
    flex-direction: column;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;

    transform: scale(1.2);
    visibility: hidden;
    opacity: 0;

    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;

    pointer-events: none;

    -ms-overflow-style: none;
    scrollbar-width: none;
}

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

.modal__wrapper {
    position: relative;

    display: flex;
    flex-shrink: 0;
    justify-content: center;
    align-items: center;
    width: 100%;
    min-height: 100%;
    padding: 30px;
}

.modal__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--color-dark);
    backdrop-filter: blur(10px);
    opacity: 0.82;
    cursor: pointer;
}

.modal__content {
    position: relative;
    max-width: 500px;
    width: 100%;
    background-color: var(--color-light);
    border-radius: 18px;
    overflow: hidden;
    padding: 35px 40px 40px;
}

.modal__content.tarif {
    max-width: 900px;
}

.modal__title {
    font-size: 30px;
    line-height: 130%;
    font-weight: 700;
    text-align: center;
    margin-bottom: 12px;
}

.tarif .modal__title {
    text-align: start;
    margin-bottom: 20px;
}

.modal__subtitle {
    font-size: 16px;
    line-height: 120%;
    text-align: center;
    opacity: 0.6;
    margin-bottom: 20px;
}

.tarif .modal__subtitle {
    text-align: start;
    opacity: 1;
    font-weight: 500;
}

.modal__img {
    width: 118px;
    height: 118px;
    margin: 0 auto 40px;
}

.modal-form .btn {
    width: 100%;
}

.modal-form .custom-toggle,
.modal-form .custom-input,
.modal-form .custom-textarea {
    margin-bottom: 15px;
}

.modal-form .custom-input input,
.modal-form .custom-textarea textarea {
    border: 1px solid rgba(34,34,34,0.2);
    background-color: #fff;
    color: #222;
    min-height: 58px;
    padding: 18px 20px;
}

.modal-form .custom-textarea textarea {
    min-height: 156px;
}

.modal-form .custom-input input::-webkit-input-placeholder,
.modal-form .custom-textarea textarea::-webkit-input-placeholder{
    opacity: 0.5;
    color: #222;
}
.modal__close {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    overflow: hidden;
    width: 30px;
    height: 30px;
    padding: 0;
    border: none;
    cursor: pointer;
    background-color: transparent;
    transition: opacity 0.3s ease;
}

.modal__close:hover,
.modal__close:focus {
    opacity: 0.8;
}

.modal.active {
    transform: scale(1);
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
}

@media(max-width : 539px) {
    .modal__wrapper {
        padding: 15px;
    }
    
    .modal__content {
        padding: 15px;
    }
    
    .modal__title {
        font-size: 20px;
        margin-bottom: 10px;
    }

    .modal__subtitle {
        font-size: 14px;
        margin-bottom: 20px;
    }
}

main:has(.info-page) {
    display: flex;
    flex-direction: column;
}

.info-page, .info-page .container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex: 1;
}

.info-page__wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.info-page__subtitle {
    max-width: 700px;
    text-align: center;
}

.info-page__btn {
    width: fit-content;
}

.regmed .page-top__info {
    width: 100%;
}

.regmed .page-top__text {
    max-width: 1000px;
}

.regmed-advantages__wrap {
   display: grid;
   grid-template-columns: repeat(12, 1fr);
   gap: 20px;
}

.regmed-advantages__wrap .card {
    grid-column: auto / span 6;
}

.regmed-advantages__wrap .card:nth-child(5n + 1) {
    grid-column: auto / span 5;
    background-color: rgba(137, 74, 177, 0.1);
}

.regmed-advantages__wrap .card:nth-child(5n + 2) {
    grid-column: auto / span 4;
    background-color: rgba(133, 163, 236, 0.1);
}

.regmed-advantages__wrap .card:nth-child(5n + 3) {
    grid-column: auto / span 3;
    background-color: rgba(202, 57, 122, 0.1);
}

.regmed-advantages__wrap .card:nth-child(5n + 4) {
    background-color: rgba(216, 129, 76, 0.1);
}

.regmed-advantages__wrap .card:nth-child(5n + 5) {
    background-color: rgba(58, 50, 123, 0.1);
}

@media(max-width: 959px) {
    .regmed-advantages__wrap .card:nth-child(5n + 1) {
        grid-column: auto / span 7;
    }
    
    .regmed-advantages__wrap .card:nth-child(5n + 2) {
        grid-column: auto / span 5;
    }
    
    .regmed-advantages__wrap .card:nth-child(5n + 3) {
        grid-column: auto / span 5;
    }
    
    .regmed-advantages__wrap .card:nth-child(5n + 4) {
        grid-column: auto / span 7;
    }
    
    .regmed-advantages__wrap .card:nth-child(5n + 5) {
        grid-column: auto / span 12;
    }
}

@media(max-width: 767px) {
    .regmed-advantages__wrap .card:nth-child(5n + 1),
    .regmed-advantages__wrap .card:nth-child(5n + 2),
    .regmed-advantages__wrap .card:nth-child(5n + 3),
    .regmed-advantages__wrap .card:nth-child(5n + 4),
    .regmed-advantages__wrap .card:nth-child(5n + 5) {
        grid-column: auto / span 12;
    }
}

.regmed-features__wrap {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

@media(max-width: 959px) {
    .regmed-features__wrap {
        grid-template-columns: 1fr;
    }
}

.features__wrap {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.features .btn--blue {
    grid-column: auto / span 2;
    min-height: 76px;
}

.features .btn--blue .btn__text {
    max-width: 500px;
}

.features__text {
    font-size: 16px;
    line-height: 140%;
    opacity: 0.6; 
    align-self: center;
}
.regmed .features .card:has(.card__img) {
    display: flex;
}

@media(max-width: 1199px) {
   .features__text {
        grid-column: 1 / -1;
    } 
    
    .features__wrap {
        grid-template-columns: repeat(2, 1fr);
    }

    .features .btn--blue {
        grid-column: auto;
    }
}

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

@media(max-width: 539px) {
    .features__text {
        font-size: 14px;
    }
}
.accent-block {
    background-color: rgba(137, 74, 177, 0.2);
    border-radius: 18px;
    padding: 40px;
    font-size: 18px;
    line-height: 160%;
    font-weight: 600;
    text-align: center;
    text-wrap: balance;
}
.accent-block a:hover {
    opacity: 0.7;
}

[data-accordion=element].is-active>[data-accordion=content] {
    max-height: 100%;
}

[data-accordion=parent].no-transition [data-accordion=content] {
    transition: none;
}

[data-accordion=content] {
    max-height: 0;
    transition: max-height 0.3s;
    overflow: hidden;
}

.accordion__element {
    overflow: hidden;
    margin-bottom: 10px;
    border-radius: 18px;
    background: #fff;
}

.accordion__button {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    width: 100%;
    padding: 10px 30px;
    cursor: pointer;
    border: none;
    background-color: transparent;
    min-height: 50px;
    font-family: 'Manrope','Arial', sans-serif;
    font-weight: 600;
    font-size: 22px;
    line-height: 140%;
    color: var(--color-dark);
    transition: color 0.3s ease;
}

.accordion__button-text {
    text-align: start;
}

.accordion__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--color-navy);
    transition: color 0.3s ease;
}

.accordion__icon svg {
    width: 30px;
    height: 30px;
    transition:  transform 0.3s ease;
}
.accordion__element.is-active .accordion__icon {
    color: var(--color-blue);
}

.accordion__element.is-active .accordion__icon svg {
    transform: rotate(180deg);
}
.accordion__element.is-active .accordion__button {
    color: var(--color-blue);
}

.accordion__wrapper {
    padding: 0 30px 20px;
    font-size: 16px;
    line-height: 140%;
    opacity: 0.6;
}

.accordion__wrapper p {
    margin: 0;
    max-width: 900px;
}
@media(max-width: 959px) {
    .accordion__button {
        font-size: 22px;
    }
}
@media(max-width: 539px) {
    .accordion__button {
        font-size: 18px;
        padding: 15px;
    }
    .accordion__wrapper {
        font-size: 14px;
        padding: 0 15px 15px;
    }
}
