/*region FONTS*/
@font-face {
    font-family: 'Montserrat_Bold';
    src: url(assets/fonts/Montserrat/Montserrat-SemiBold.ttf) format('truetype');
    font-style: normal;
}

@font-face {
    font-family: 'Montserrat_Medium';
    src: url(assets/fonts/Montserrat/Montserrat-Medium.ttf) format('truetype');
    font-style: normal;
}

@font-face {
    font-family: 'Montserrat_Regular';
    src: url(assets/fonts/Montserrat/Montserrat-Regular.ttf) format('truetype');
    font-style: normal;
}

@font-face {
    font-family: 'Montserrat_Extra_Bold';
    src: url(assets/fonts/Montserrat/Montserrat-Bold.ttf) format('truetype');
    font-style: normal;
}
/*endregion*/

/*region GENERAL*/
body{
    color: #454545;
    background-color: #FEFEFE;
    font-family: 'Montserrat_Regular';
    -webkit-font-smoothing: antialiased;
}
p{
    color: #454545;
    font-family: 'Montserrat';
    font-size: 16px;
    line-height: 24px;
    letter-spacing: -0.02em;
    text-align: left;
}
p.leading{
    color: #454545;
    font-family: 'Montserrat_Medium';
    font-size: 20px;
    line-height: 30px;
    letter-spacing: -0.02em;
    text-align: left;

}
p.text-14{
    color: #454545;
    font-family: 'Montserrat_Regular';
    font-size: 14px;
    line-height: 20px;
    letter-spacing: -0.02em;
    text-align: left;
}
h1,h2,h3,h4,h5,h6{
    color: #1F2124;
}
h1,h2,h3{
    font-family: 'Montserrat_Regular';
}
h4,h5,h6{
    font-family: 'Montserrat_Medium';
}
h1{
    font-size: 40px;
    line-height: 52px;
}
h2{
    font-size: 32px;
    line-height: 41.6px;
}
h3{
    font-size: 28px;
    line-height: 36.4px;
}
h4{
    font-size: 24px;
    line-height: 36.4px;
}
h5{
    font-size: 20px;
    line-height: 26px;
}
h6{
    font-size: 16px;
    line-height: 20.8px;
}
.caption{
    font-family: 'Montserrat_Bold'!important;
    font-size: 14px!important;
    line-height: 18.2px!important;
    color: #454545;
}
@media (max-width: 576px ) {
    p.leading{
        font-size: 18px;
        line-height: 25.2px;

    }
    h1{
        font-size: 32px;
        line-height: 38.4px;
    }
    h2{
        font-size: 28px;
        line-height: 36.4px;
    }
    h3{
        font-size: 24px;
        line-height: 31.2px;
    }
    h4{
        font-size: 20px;
        line-height: 26px;
    }
    h5{
        font-size: 18px;
        line-height: 23.4px;
    }
    h6{
        font-size: 16px;
        line-height: 20.8px;
    }
}
/*endregion*/

/*region HEADER*/
header .btn-reservation,header .btn-entry, header .btn-account{
    font-family: 'Montserrat_Bold';
    gap: 12px;
    border-radius: 16px;
    font-size: 12px;
    line-height: 15.6px;
    max-width: 172px;
    max-height: 48px;
    min-width: 131px;
}
header .btn-account{
    color: #6E7BA1;
    background-color: #F7F7FD;
    border: 1px solid #E5ECFB;
    transition: background-color 0.3s ease;
}
header .btn-account:hover {
    background-color: #7C0034 !important;
    color: #FEFEFE !important;
    border: 1px solid #E5ECFB !important;
}
header .btn-account:hover a {
    color: #FEFEFE !important;
}
header .btn-account:hover svg path {
    fill: #FEFEFE !important;
}
header .btn-phone{
    max-width: 40px;
    max-height: 40px;
    border-radius: 16px;
}
header .btn-phone:hover, header .btn-phone:active{
    background-color: #7C0034!important;
    border: 1px solid #E5ECFB!important;
}
header .btn-phone:hover path{
    fill: #FEFEFE;
}
header .header-buttons button{
    border-radius: 16px;
}
header .btn-reservation{
    color: #FEFEFE;
    background-color: #6E7BA1;
    transition: background-color 0.3s ease;
}
header .btn-reservation:hover{
    background-color: #7C0034;
    color: #FEFEFE;
}
header .btn-reservation:active{
    background-color: #7C0034!important;
    color: #FEFEFE!important;
    border: 1px solid transparent!important;
}
header .btn-entry, header .header-buttons button,header .btn-phone{
    color: #6E7BA1;
    background-color: #F7F7FD;
    border: 1px solid #E5ECFB;
    transition: background-color 0.3s ease,color 0.3s ease;
}
header .header-buttons button span{
    fill: white;
}
header .btn-entry path, header .btn-account path{
    transition: fill 0.3s ease;
}
header .btn-entry:hover, header .btn-entry:active{
    background-color: #7C0034!important;
    color: #FEFEFE!important;
    border: 1px solid #E5ECFB!important;
}
header .header-top{
    border-bottom: 1px solid #E2E5EC;
}
header .weather-forecast .title, header .data-weather span, header .contact-data{
    font-family: 'Montserrat_Medium';
    font-size: 12px;
    line-height: 18px;
    letter-spacing: -0.02em;
}
header .weather-forecast .title, header .data-weather span,header .contact-data .number-phone{
    color: #6E7BA1;
}
header .data-weather .day, header .contact-data{
    color: #454545;
}
header .btn-entry:hover path{
    fill: #FEFEFE;
}
header .header-buttons button:hover{
    background-color: #7C0034;
}
header .header-buttons button:hover path{
    fill: #FEFEFE;
}
header .header-buttons button:focus{
    outline: 0;
    box-shadow: none;
}
header .offcanvas{
    height: fit-content!important;
    background-color: #6E7BA1;
}
header .offcanvas .btn-close{
    background: none;
}
header .offcanvas .btn-entry{
    max-width: 328px;
    max-height: 46px;
}
header .offcanvas .btn-entry:hover, header .offcanvas .btn-entry:active{
    border: 1px solid transparent!important;
}
header .offcanvas{
    border: 1px solid transparent!important;
}
header .offcanvas .email,header .offcanvas .mobile-phone, header .offcanvas .address{
    color: #FEFEFE;
}
header .offcanvas .address{
    font-family: 'Montserrat_Medium';
    font-size: 12px;
    line-height: 15.6px;
    max-width: 328px;
}
header .navbar-toggler svg{
    width: 20px;
    height: 20px;
}
header .offcanvas .data-weather span,
header .offcanvas .contact-data .number-phone,
header .offcanvas .weather-forecast .title{
    color: #FEFEFE;
}
header .offcanvas .data-weather path{
    fill: #FEFEFE;
}
@media (max-width: 768px ) {
    header .navbar-toggler svg{
        width: 16px;
        height: 16px;
    }
}
@media (max-width: 1200px ) {
    header .nav-link{
        color: #FEFEFE!important;
    }
    header .nav-link .arrow-up-right path{
        fill: #FEFEFE!important;
    }
    header .data-weather .day, header .contact-data{
        color: #454545;
    }
}
/*endregion*/

/*region MODAL*/
#authModal .modal-content, #passRecoveryModal .modal-content{
    border-radius: 32px;
    gap: 24px;
}
.modal .link-to-another-window{
    font-family: 'Montserrat_Medium';
    line-height: 18.2px;
    color: #6E7BA1;
    cursor: pointer;
}
#radioChannelModal .modal-dialog{
    max-width: 360px;
    max-height: 279px;
}
#radioChannelModal .modal-content{
    border-radius: 16px;
}
#radioChannelModal .modal-body p{
    font-family: 'Montserrat_Extra_Bold';
    font-size: 16px;
    line-height: 24px;
    letter-spacing: -0.02em;
}
#radioChannelModal .modal-body p span{
    font-family: 'Montserrat_Regular';
}
/*endregion*/

/*region FOOTER*/
footer .dividing-line{
    overflow: hidden;
}
footer .nav-link{
    padding: 0!important;
    margin-bottom: 8px;
}
footer .btn-entry, footer .btn-account{
    max-width: 328px;
    max-height: 46px;
}
footer .btn-entry, footer .btn-account{
    font-family: 'Montserrat_Bold';
    gap: 12px;
    border-radius: 16px;
    font-size: 12px;
    line-height: 15.6px;
    max-width: 131px;
    max-height: 48px;
}
footer .btn-account:hover {
    background-color: #7C0034 !important;
    color: #FEFEFE !important;
    border: 1px solid #E5ECFB !important;
}
footer .btn-account:hover a {
    color: #FEFEFE !important;
}
footer .btn-account:hover svg path {
    fill: #FEFEFE !important;
}
footer .btn-entry, footer .btn-account{
    color: #6E7BA1;
    background-color: #F7F7FD;
    border: 1px solid #E5ECFB;
    transition: background-color 0.3s ease,color 0.3s ease;
}
footer .btn-entry path, footer .btn-account path{
    transition: fill 0.3s ease;
}
footer .btn-entry:hover{
    background-color: #7C0034!important;
    color: #FEFEFE!important;
    border: 1px solid #E5ECFB!important;
}
footer .btn-entry:hover path, footer .btn-account:hover path{
    fill: #FEFEFE;
}
footer .email,footer .mobile-phone{
    color: #6E7BA1;
}
footer .email path,footer .mobile-phone path{
    fill: #6E7BA1;
}
footer .address{
    font-family: 'Montserrat_Medium';
    font-size: 12px;
    line-height: 15.6px;
    max-width: 328px;
}
footer .part-bottom-footer{
    border-radius: 16px;
    background-color: #F4F5F9;
    font-family: 'Montserrat_Medium';
    font-size: 14px;
    line-height: 18.2px;
}
footer .links-developers a{
    font-family: 'Montserrat_Medium';
    line-height: 18px;
    letter-spacing: -0.02em;
    font-size: 12px;
    color:#6E7BA1;
}
footer .links-developers a:hover{
    color:#7C0034;
}
.buttons-bottom-footer a{
    color:#6E7BA1;
    border: 1px solid #E5ECFB!important;
}
footer .buttons-bottom-footer a:hover{
    background-color: #7C0034;
    color: #FEFEFE;
}
footer .buttons-bottom-footer a:hover path{
    fill: #FEFEFE;
}
footer .copyright{
    font-family: 'Montserrat_Medium';
    font-size: 10px;
    color: #6E7BA1;
    line-height: 13px;
    text-align: center;
}
@media (max-width: 576px ) {
    footer .part-bottom-footer{
        width: 100%;
    }
    footer .links-developers{
        width: 100%;
    }
}

/*endregion*/
/*region INDEX*/
@media (max-width: 576px){
    .container-index{
        padding: 0 16px;
    }
}
.services .btn-learn-more-services,.infrastructure .btn-learn-more-infrastructure{
    border-radius: 16px;
    background-color: #6E7BA1;
    transition: background-color 0.3s ease;
}
.services .btn-learn-more-services{
    max-width: 240px;
}
.services span, .infrastructure span{
    font-family: Montserrat_Medium;
    font-size: 14px;
    color: #FEFEFE;
}
.services .btn-learn-more-services:hover,
.infrastructure .btn-learn-more-infrastructure:hover{
    background-color: #7C0034;
}
.parking-and-recreation .images img{
    border-radius: 32px;
    object-fit: cover;
}
.parking-and-recreation .images .left-column img{
    min-height: 550px;
}
.parking-and-recreation .images .right-column img{
    max-height: 263px;
}
@media (max-width: 1280px){
    .parking-and-recreation .images .left-column img{
        max-height: 0;
        min-height: 550px;
    }
    .parking-and-recreation .images .right-column img{
        max-height: 0;
        min-height: 263px;
    }
}
@media (max-width: 576px ) {
    .parking-and-recreation .images{
        margin: 0;
    }
    .parking-and-recreation .images .left-column,.images .right-column{/*Добавил*/
        padding: 0;
    }
    .parking-and-recreation .images .left-column img, .images .right-column img{
        max-height: 192px;
        min-height: 192px;
        border-radius: 16px;
    }
}
.parking-and-recreation .card, .yacht-rentals .card{
    background-color: #F4F5F9;
    border-radius: 32px;
}
.parking-and-recreation .geographical-location{
    background-position: top right;
    background-repeat: no-repeat;
    background-image: url(/local/templates/sochiGrandMarina/assets/images/index/parking-and-recreation-background-card.png);
}
.parking-and-recreation .card .card-title rect,
.yacht-rentals .card .card-title rect{
    transition: fill 0.3s ease;
}
.parking-and-recreation .card:hover .card-title rect,
.yacht-rentals .card:hover .card-title rect{
    fill: #7C0034;
}
.yacht-rentals .card.link{
    transition: background-color 0.3s ease;
}
.yacht-rentals .card.link:hover{
    background-color: #D1D7E8;
}
.yacht-rentals .images img{
    max-height: 220px;
}
.yacht-rentals-images{
    margin-top: 32px;
}
.yacht-rentals-images::-webkit-scrollbar {
    width: 0;
}
.yacht-rentals-images img{
    height: 220px;
}
.rentals-detail{
    padding: 32px;
}
.yacht-rentals-card{
    height: 100%;
}
.yacht-rentals-img{
    border-radius: 32px;
}
@media (max-width: 1199.98px) {
    .yacht-rentals-card{
        height: 235px;
    }
}

@media (max-width: 991.98px) {
    .yacht-rentals-card{
        height: unset;
    }
}
@media (max-width: 575.98px) {
    .yacht-rentals-images img{
        height: 140px;
    }
    .rentals-detail {
        padding: 16px;
    }
    .yacht-rentals-img{
        border-radius: 16px;
    }
}
.infrastructure .btn-learn-more-infrastructure{
    max-width: 306px;
}
.infrastructure .images img{
    object-fit: cover;
    border-radius: 16px;
    min-width: 380px;
    max-height: 180px;
}
.infrastructure .images div::-webkit-scrollbar{
    width: 0;
}
.infrastructure .images .row-1,
.infrastructure .images .row-2{
    overflow-x: hidden;
}
@media (max-width: 1440px ) {
    .infrastructure .images img{
        min-width: 320px;
    }
}
@media (max-width: 1024px ) {
    .infrastructure .images img{
        min-width: 260px;
        max-height: 146px;
    }
}
@media (max-width: 576px ) {
    .infrastructure .images .row-1,
    .infrastructure .images .row-2{
        overflow-x: scroll;
    }
    .infrastructure .images img{
        min-width: 140px;
        min-height: 140px;
        max-height: 0;
    }
}
.attractions.slider{
    margin-left: 72px;
}
.last-news .link-all-news span{
    color: #6E7BA1;
}
.last-news .news .col-4:first-child{
    padding-left: 0;
}
.last-news .news .col-4:last-child{
    padding-right: 0;
}
/*endregion*/

.main-title,
.page-title {
    font-size: 40px;
    font-weight: 400;
    margin-bottom: 24px;
    font-family: 'Montserrat';
}

.page-subtitle {
    font-size: 14px;
    max-width: 526px;
    margin-bottom: 24px;
    font-family: 'Montserrat';
}

.main-about {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 24px;
    margin: 127px 0;
    font-family: 'Montserrat';
}

.main-about__image {
    overflow: hidden;
    border-radius: 16px;
    max-width: 636px;
    aspect-ratio: 1 / 1;
    height: 100%;
}

.main-about__image {
    object-fit: cover;
    height: 100%;
    width: 100%;
    object-position: 70% 100%;
}

.main-about__content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-end;
}

.main-about__text {
    font-size: 14px;
    margin-bottom: 24px;
}

.btn-primary {
    display: flex;
    padding: 15px 24px;
    background-color: #6E7BA1;
    width: fit-content;
    text-decoration: none;
    color:  #FEFEFE;
    font-size: 14px;
    font-weight: 500;
    border-radius: 16px;
    transition: 0.3s ease, transform 0.3s ease;
    align-items: center;
    gap: 8px;
    border: 0;
    font-family: 'Montserrat';
    cursor: pointer;
}

.btn-primary:hover {
    background-color: #7C0034;
}

.btn-primary svg {
    transition: 0.2s;
}

.btn-primary:hover svg {
    transform: translateX(5px);
}

.main-about__image--absolute {
    max-width: 196px;
    aspect-ratio: 1 / 1;
}

.main-about__image--absolute img {
    width: 100%;
    height: 100%;
    border-radius: 16px;
}

.main-infrastructure {
    margin-bottom: 128px;
}

.main-infrastructure__title {
    margin-bottom: 32px;
}

.main-infrastructure__item-header {
    padding-bottom: 12px;
    margin-bottom: 12px;
    border-bottom: 1px solid #6E7BA14D;
}

.main-infrastructure__item-numb {
    font-size: 14px;
    color: #6E7BA1;
    font-weight: 500;
    font-family: 'Montserrat';
}

.main-infrastructure__item-title {
    font-size: 14px;
    font-weight: 500;
    font-family: 'Montserrat';
}

.main-infrastructure__item-text {
    color: #454545;
    font-size: 14px;
    font-family: 'Montserrat';
}

.main-infrastructure__list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    column-gap: 24px;
    row-gap: 32px;
}

.main-parking {
    padding: 40px 0;
    margin-bottom: 128px;
    position: relative;
    background-size: cover;
    background-position: 100% 60%;
    overflow: hidden;
}

.main-parking:after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: #0000004D;
    top: 0;
    left: 0;
    z-index: 1;
}

.main-parking__title {
    color:  #FEFEFE;
    position: relative;
    z-index: 2;
}

.main-parking__list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    position: relative;
    z-index: 2;
}

.main-parking__list:after {
    content: '';
    background-image: url('/local/templates/sochiGrandMarina/assets/svg/main-parking-bg-svg.svg');
    display: block;
    width: 100%;
    height: 470px;
    position: absolute;
    right: 140px;
    background-position: right;
    background-repeat: no-repeat;
}

.main-parking__item {
    background:  #FEFEFE;
    border-radius: 16px;
    padding: 32px;
    height: 250px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.main-parking__item-title {
    font-size: 20px;
    font-weight: 500;
    font-family: 'Montserrat';
    color: #1F2124;
}

.main-parking__item-text {
    font-size: 14px;
    font-family: 'Montserrat';
}

.main-attractions {
    margin-bottom: 128px;
}

.main-attractions__subtitle {
    font-size: 14px;
    font-weight: 400;
    color: #454545;
    margin-bottom: 32px;
    max-width: 444px;
    font-family: 'Montserrat';
}

.main-attractions__list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.main-attractions__item-img {
    height: 240px;
    border-radius: 16px;
    overflow: hidden;
}

.main-attractions__item-img img {
    object-fit: cover;
    width: 100%;
    height: 100%;
}

.main-attractions__item-title {
    font-size: 20px;
    font-weight: 500;
    margin-top: 10px;
    font-family: 'Montserrat';
}

.main-partners {
    padding: 40px 0;
    position: relative;
    overflow: hidden;
    background-position: top right;
}

.main-partners:after {
    content: '';
    background-color: #00000066;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.z2 {
    position: relative;
    z-index: 2;
}

.main-title.main-partners__title {
    color: #FEFEFE;
}

.main-partners__header {
    display: grid;
    grid-template-columns: repeat(2, auto);
    column-gap: 24px;
    justify-content: space-between;
    margin-bottom: 172px;
}

.main-partners__header-text {
    color: #FFF;
    font-size: 14px;
    max-width: 532px;
    font-weight: 300;
    font-family: 'Montserrat';
}

.main-partners__header-text ul {
    padding-left: 0;
}

.main-partners__header-text li {
    color: #FEFEFE;
    margin-left: 16px;
    font-family: 'Montserrat';
}

.main-partners__header-btns {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.main-partners__bottom-title {
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 32px;
    color: #FEFEFE;
    font-family: 'Montserrat';
}

.main-partners__bottom-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.main-partners__bottom-item {
    height: 200px;
    background: #FFF;
    border-radius: 16px;
    padding: 32px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
}

.main-partners__bottom-item__title {
    font-size: 14px;
    font-family: 'Montserrat';
    font-weight: 500;
    color: #1F2124;
}

.main-partners__bottom-item__text {
    font-size: 14px;
}

.main-partners__bottom-item:last-child::after {
    content: '';
    background-image: url('/local/templates/sochiGrandMarina/assets/svg/main-parking-bg-svg2.svg');
    position: absolute;
    right: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
    background-position: right top;
}

.services {
    margin-bottom: 128px;
}

.services-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.services-item {
    border-radius: 16px;
    padding: 32px;
    height: 279px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.services-item__title {
    font-size: 14px;
    font-weight: 500;
    font-family: 'Montserrat';
}

.services-item__text {
    font-size: 14px;
    font-weight: 300;
    line-height: normal;
    font-family: 'Montserrat';
}

.services-item--bg-dark {
    background-color: #6E7BA1;
}

.services-item--bg-light {
    background: #F4F5F9;
}

.services-item--bg-img {
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.services-item--bg-dark .services-item__title,
.services-item--bg-dark .services-item__text,
.services-item--bg-img .services-item__title,
.services-item--bg-img .services-item__text {
    color: #FEFEFE;
}

.services-btns {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 10px;
}

.partners-header {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 32px;
}

.partners-header__text p {
    font-size: 16px;
    font-weight: 400;
    color: #454545;
}

.partners-header__info {
    padding: 32px;
    background: #F4F5F9;
    border-radius: 32px;
    margin-top: -75px;
}

.partners-header__info-title {
    font-size: 28px;
    margin-bottom: 16px;
}

.partners-header__info-text p {
    color: #454545;
    font-size: 16px;
    margin-bottom: 24px;
}

.partners-tabs__list {
    list-style: none;
    display: flex;
    gap: 8px;
    padding-left: 0;
    flex-wrap: wrap;
}

.partners-tabs__item-link {
    padding: 11px 16px;
    border-radius: 16px;
    border: 1px solid #E5ECFB;
    background: #F7F7FD;
    color: #6E7BA1;
    cursor: pointer;
    transition: 0.2s ease-in-out;
    text-decoration: none;
    display: block;
}

.partners-tabs__item-link:hover {
    background: #7C0034;
    backdrop-filter: blur(4px);
    color: #FEFEFE;
}

.partners-tabs__item--active .partners-tabs__item-link {
    background: #6E7BA1 !important;
    backdrop-filter: blur(4px);
    color: #FEFEFE;
}

.partners-tabs__subtitle {
    font-size: 20px;
    margin-top: 32px;
    color: #454545;
    max-width: 803px;
    font-weight: 500;
}

.partners-tabs__content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    column-gap: 24px;
    row-gap: 64px;
}

.partners-tabs__card-image img {
    max-width: 100%;
    width: 100%;
    max-height: 100%;
}

button#load-more-btn {
    margin-top: 64px;
}

.partners-tabs .text-center.mt-4 {
    margin-top: 0 !important;
}

.partners-tabs__card-image {
    background: #6E7BA1;
    border-radius: 16px;
    height: fit-content;
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}
.partners-tabs__card-image img {
    border-radius: 16px;
}

.partners-tabs__card-name {
    font-size: 20px;
    margin-bottom: 12px;
}

.partners-tabs__card-subtitle {
    color: #6E7BA1;
    font-size: 14px;
}

.partners-tabs__card-link {
    width: 46px;
    height: 40px;
    background: #F7F7FD;
    border-radius: 16px;
    border: 1px solid #E5ECFB;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.2s ease-in-out;
    margin-bottom: 16px;
}

.partners-tabs__card-image:hover ~ .partners-tabs__card-bottom .partners-tabs__card-link,
.partners-tabs__card-link:hover {
    background-color: #7C0034;
}

.partners-tabs__card-image:hover ~ .partners-tabs__card-bottom .partners-tabs__card-link.partners-tabs__card-icon path,
.partners-tabs__card-link .partners-tabs__card-icon path {
    transition: 0.2s ease-in-out;
}

.partners-tabs__card-image:hover ~ .partners-tabs__card-bottom .partners-tabs__card-link .partners-tabs__card-icon path, 
.partners-tabs__card-link:hover .partners-tabs__card-icon path {
    fill: #FFF;
}

.partners-tabs__card--hidden {
    display: none;
}

#show-more {
    border: 0;
    margin: 50px auto;
    cursor: pointer;
}

.partners-tabs__card--visible {
    opacity: 1;
    transform: scale(1);
    display: block;
}


.info-icon {
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.border-10 {
    border-radius: 10px;
}

.info-icon svg {
    width: 24px;
}

#callback .modal-content {
    background: #F4F5F9;
    border-radius: 32px;
}

.form-checkbox {
    opacity: 0;
    position: absolute;
}

.label-checkbox {
    position: relative;
    padding-left: 32px !important;
    font-size: 14px;
}

.label-checkbox:after {
    content: '';
}

.label-checkbox:before {
    content: '';
    display: block;
    width: 24px;
    height: 24px;
    position: absolute;
    left: 0;
    border: 1px solid #D1D9E1;
    background: #FFF;
    border-radius: 8px;
}

.form-checkbox:checked~.label-checkbox:after {
    background: #000;
    position: absolute;
    left: 0;
    width: 24px;
    height: 24px;
    top: 0;
    border-radius: 8px;
}

#callback {
    background: #00000099;
}

#callback .modal-dialog {
    max-width: 100%;
    width: 636px;
    position: relative;
}

#callback input#agree-checked {
    width: 24px;
    height: 24px;
    border-radius: 8px;
}

#callback input#agree-checked:checked {
    background-color: #6E7BA1 !important;
}

#callback .text-14 {
    margin-top: 0 !important;
    margin-bottom: 24px !important;
}

#callback .bottom-text {
    color: #454545;
    font-size: 12px;
    margin-top: 24px;
    margin-bottom: 0;
}

.callback_form-modal_success {
    display: none;
}

#callback .callback-form__content .close-form-modal {
    position: absolute;
    z-index: 2;
    right: 15px;
}

.callbackForm .form-check-input:checked {
    --bs-form-check-bg-image: url(/local/templates/sochiGrandMarina/img/check.svg) !important;
    background-size: auto;
}

.mf-agree a {
    color: #454545;
}

#go-up {
    background: none;
    border: 0;
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 1000;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: scale(0.9);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

#go-up.visible {
    opacity: 1;
    visibility: visible;
}

#go-up:hover svg rect {
    fill: #5A6A9C;
}

#go-up svg {
    transition: transform 0.3s ease;
}

#go-up:hover svg {
    transform: rotate(-5deg);
}

#go-up svg rect {
    transition: fill 0.3s ease, transform 0.3s ease;
}

#go-up:active {
    transform: scale(0.95);
    transition: transform 0.1s ease;
}

@media (max-width: 767px) {
    #go-up {
        right: 15px;
        bottom: 15px;
        transform: translateY(15px) scale(0.85);
    }

    #go-up svg {
        width: 50px;
        height: 50px;
    }

    .partners-header__info {
        margin-top: 0;
    }

    .partners-header__info {
        padding: 16px;
    }

    .partners-header__text p {
        font-size: 12px;
    }

    .partners-header__text p:last-child {
        display: none;
    }

    .partners-header__info-title {
        font-size: 14px;
    }

    .partners-header__info-text p {
        font-size: 12px;
        margin-bottom: 16px;
    }

    .partners-header__info-title {
        font-size: 14px;
        margin-bottom: 16px;
    }

    .partners-header__info .btn-primary {
        font-size: 12px;
    }
}

@media (max-width: 360px) {
    #go-up {
        right: 10px;
        bottom: 10px;
    }

    #go-up svg {
        width: 45px;
        height: 45px;
    }
}

@media (max-width: 1280px) {
    .main-about__image {
        max-width: 546px;
    }

    .services-list {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 1024px) {
    .main-about,
    .main-infrastructure,
    .main-parking,
    .main-attractions,
    .main-partners,
    .services {
        margin-bottom: 80px;
    }

    .main-about {
        grid-template-columns: 1fr 1fr;
    }

    .main-about__image {
        max-width: 100%;
    }

    .main-about__image--absolute {
        max-width: 130px;
    }

    .main-infrastructure__list,
    .main-partners__bottom-list,
    .main-parking__list,
    .main-attractions__list,
    .services-list {
        grid-template-columns: repeat(2, 1fr);
    }

    .m-null {
        display: none;
    }

    .main-parking__item {
        height: 229px;
    }

    .main-attractions__item-img {
        height: 358px;
    }

    .main-partners__header-text:nth-child(2) {
        grid-row: span 2;
    }

    .main-partners__header {
        margin-bottom: 60px;
    }

    .main-partners__bottom-item {
        height: 160px;
    }

    .main-partners {
        background-position: center;
    }
}

@media (max-width: 991px) {
    .main-about {
        grid-template-columns: 1fr;
    }

    .main-about__image--absolute {
        max-width: 100%;
        gap: 24px;
        aspect-ratio: auto;
        margin-top: 32px;
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .main-about__image--absolute img {
        border-radius: 16px;
    }

    .partners-header {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .main-partners__header {
        gap: 24px
    }

    .main-partners__header-btns {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .main-partners__header {
        grid-template-columns: 1fr;
    }


    .partners-tabs__card-image {
        height: fit-content;
    }

    .main-parking__list:after {
        left: 55% !important;
        right: 0 !important;
        top: 50% !important;
        transform: translate(-50%, -50%);
        background-size: 144%;
        background-position: -60px 45px;
    }

    .main-parking__item {
        height: auto;
    }

    .main-parking__item:nth-child(4) {
        order: 1;
    }

    .main-parking__item:nth-child(5) {
        order: 2;
    }

    .main-parking__item:nth-child(6) {
        order: 3
    }

    .main-parking__item:nth-child(3) {
        order: 4
    }

    .main-parking__item-title {
        margin-bottom: 8px;
    }

    .main-partners__header {
        gap: 24px;
    }

    .main-partners__header-text:nth-child(1) {
        order: 1;
    }

    .main-partners__header-btns {
        order: 2
    }

    .main-partners__header-text:nth-child(2) {
        order: 3;
    }

    .main-partners__header {
        margin-bottom: 32px;
    }

    .services-item {
        height: auto;
        min-height: 258px;
    }

    .partners-tabs__content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {
    .main-infrastructure__list,
    .main-partners__bottom-list,
    .main-parking__list,
    .main-attractions__list,
    .services-list {
        grid-template-columns: repeat(1, 1fr);
        gap: 16px
    }

    .main-title {
        font-size: 24px;
    }

    .partners-tabs__item-link {
        font-size: 12px;
        padding: 12px;
    }

    .partners-header__info-title {
        font-size: 24px;
        margin-bottom: 16px;
    }

    .partners-tabs__card-name {
        font-size: 18px;
    }

    .partners-header__info-text p {
        font-size: 14px;
    }

    .main-partners__bottom-item {
        height: auto;
        gap: 8px;
        padding: 24px;
    }

    .partners-header__text p {
        font-size: 12px;
        line-height: normal;
    }

    .page-title {
        margin-bottom: 16px;
    }

    .main-attractions__list {
        gap: 24px
    }

    .main-about__title,
    .main-infrastructure__title,
    .main-parking__title {
        font-size: 32px;
    }

    .services-item {
        height: auto;
        min-height: auto;
    }

    .services-item__title {
        margin-bottom: 8px;
    }

    .partners-tabs__content {
        grid-template-columns: 1fr;
    }

    #callback .modal-dialog {
        margin: 0;
        padding: 10px;
    }

    .main-partners__header-btns span {
        font-size: 0;
    }

    .main-partners__header-btns .btn-primary {
        gap: 3px;
    }

    .m-none {
        display: none;
    }

    header {
        padding-bottom: 0.75rem;
    }
}
.cookie-modal {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
    max-width: 440px;
    background: #FFFFFF;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    border: 1px solid #E5ECFB;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}
.cookie-modal.active {
    opacity: 1;
    transform: translateY(0);
}
.cookie-modal-content {
    padding: 20px;
}
.cookie-header {
    margin-bottom: 12px;
}
.cookie-title {
    color: #1F2124;
    font-family: 'Montserrat_Bold';
    font-size: 16px;
    line-height: 20.8px;
    margin: 0;
}
.cookie-body {
    font-family: 'Montserrat_Regular';
}
.cookie-text {
    color: #454545;
    font-size: 14px;
    line-height: 21px;
    margin-bottom: 20px;
}
.cookie-link {
    color: #6E7BA1;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 2px;
    transition: color 0.3s ease;
}
.cookie-link:hover {
    color: #7C0034;
    text-decoration: underline;
}
.cookie-buttons {
    display: flex;
    gap: 12px;
    justify-content: flex-start;
    min-height: 48px;
}
.cookie-btn {
    font-family: 'Montserrat_Bold';
    font-size: 14px;
    line-height: 18.2px;
    padding: 10px 24px;
    border-radius: 16px;
    border: 1px solid #E5ECFB;
    cursor: pointer;
    transition: all 0.3s ease;
}
.cookie-btn-accept {
    background-color: #6E7BA1;
    color: #FEFEFE;
}
.cookie-btn-accept:hover {
    background-color: #7C0034;
}
.cookie-btn-reject {
    background-color: #F7F7FD;
    color: #6E7BA1;
}
.cookie-btn-reject:hover {
    background-color: #7C0034;
    color: #FEFEFE;
}
@media (max-width: 768px) {
    .cookie-modal {
        right: 50%;
        transform: translateX(50%) translateY(20px);
        bottom: 10px;
        max-width: calc(100% - 40px);
    }
    .cookie-modal.active {
        transform: translateX(50%) translateY(0);
    }
}
@media (max-width: 576px) {
    .cookie-modal {
        max-width: calc(100% - 20px);
        right: 10px;
        left: 10px;
        transform: translateY(20px);
        margin-right: 0;
        margin-bottom: 0;
    }
    .cookie-modal.active {
        transform: translateY(0);
    }
}
/*region FIXED HEADER*/
header {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 1001 !important;
    background: #fff !important;
    width: 100% !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

#panel {
    position: fixed !important;
    z-index: 1002;
    width: 100%;
    top: 0 !important;
}

body {
    padding-top: 100px !important;
}

@media (max-width: 768px) {
    body {
        padding-top: 80px !important;
    }
}
/*endregion*/

/*region SITE DESCRIPTION*/
.site-description {
    color: #6E7BA1;
    font-family: 'Montserrat_Medium';
    font-size: 12px;
    line-height: 16px;
    letter-spacing: -0.02em;
    text-align: left;
}

@media (max-width: 576px) {
    .site-description {
        font-size: 10px;
        line-height: 12px;
    }
}
/*endregion*/

.partners-tabs__card-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}
