:root {
    --blue-gradient-transparent: linear-gradient(135deg, #060d14db, #163047db);
    --blue-gradient: linear-gradient(135deg, #060d14, #163047);
    --blue-gradient-mobile: linear-gradient(80deg, #060d14, #163047);
    --rubic-medium: "rubic-medium";
    --rubic-regular: "rubic-regular";
    --rubic-bold: "rubic-bold";
    --color-white: #ffffff;
    --primary-blue: #163047;
    --buttons-bg: #00BAC7;
    --buttons-bg-active: #2ad8e5;
    --gold: #F8DE74;
    --first-light: #EDFCFD;
    --second-light: #edfcfd7b;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
    background-image: url("../img/header-main.a2ad6dccc72a.webp");
    background-size: cover;
    background-position: 50% 50%;
    background-attachment: fixed;
    min-height: 100vh;
    -webkit-tap-highlight-color: transparent;
}

.container {
    width: 1280px;
    margin: auto;
}

.wrap {
    background-color: var(--first-light);
    padding: 120px 0 40px 0;
}

.page-wrap {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.content-max {
    flex: 1 0 auto;
}

.element-column {
    display: flex;
    flex-direction: column;
}

.element-max-height {
    flex: 1;
}

.section {
    background-color: var(--first-light);
}

.pt-main {
    padding-top: 100px;
}

.pb-main {
    padding-bottom: 100px;
}

h1 {
    font-family: var(--rubic-medium);
    font-size: clamp(26px, 5vw, 46px);
    color: var(--primary-blue);
}

h2 {
    font-family: var(--rubic-medium);
    color: var(--primary-blue);
    font-size: clamp(20px, 4vw, 40px);
}

h3 {
    font-family: var(--rubic-medium);
    color: var(--primary-blue);
    font-size: clamp(16px, 4vw, 20px);
}

.sub-title {
    font-family: var(--rubic-medium);
    color: var(--primary-blue);
    font-size: clamp(16px, 4vw, 20px);
    font-weight: bold;
    margin: 20px 0;
}

p {
    font-family: var(--rubic-regular);
    color: var(--primary-blue);
    font-size: 15px;
    line-height: 20px;
}

.text-link {
    color: var(--buttons-bg);
}

.separator {
    font-family: var(--rubic-regular);
    color: var(--primary-blue);
    font-size: 15px;
    line-height: 20px;
    padding: 0 10px;
}

.list-view-link-wrap {
    padding-top: 30px;
    display: flex;
    justify-content: center;
}

.list-view-link {
    color: var(--color-white);
    font-family: var(--rubic-regular);
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s ease-in-out;
    background-color: var(--primary-blue);
    padding: 15px 20px;
    border-radius: 10px;
    text-transform: uppercase;
    user-select: none;
}

.list-view-link:active {
    background-color: var(--gold);
}

/* header */

header {
    background: var(--blue-gradient-transparent);
    backdrop-filter: blur(2px);
}

.header-container {
    display: flex;
    gap: 80px;
    align-items: center;
    min-height: 100vh;
}

.header-info {
    flex: 0 0 calc(50% - 40px);
}

.header-info-images {
    display: none;
    margin-top: 40px;
}

.header-info-images-item {
    flex: 0 0 100%;
}

.header-info-images-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 16/9;
    border-radius: 50px 10px 50px 10px;
}

.header-gallery {
    flex: 0 0 calc(50% - 40px);
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.header-gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 16/9;
}

.header-gallery-top {
    flex: 0 0 100%;
    height: 250px;
    overflow: hidden;
    border-radius: 100px 10px 10px 10px;
    filter: drop-shadow(0 0 10px var(--primary-blue));
}

.header-gallery-bottom {
    flex: 0 0 100%;
    height: 250px;
    overflow: hidden;
    border-radius: 10px 10px 100px 10px;
    filter: drop-shadow(0 0 10px var(--primary-blue));
}

.header-info-title {
    font-family: var(--rubic-bold);
    font-size: clamp(30px, 5vw, 80px);
    text-transform: uppercase;
    color: var(--color-white);
    word-spacing: 10px;
    letter-spacing: 4px;
}

.header-info-text {
    font-family: var(--rubic-regular);
    font-size: clamp(16px, 4vw, 24px);
    color: var(--color-white);
    margin-top: 40px;
    line-height: 26px;
}

.main-btn-blue {
    text-decoration: none;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px 30px;
    color: var(--primary-blue);
    background-color: var(--buttons-bg);
    border-radius: 10px;
    font-family: var(--rubic-medium);
    font-size: 14px;
    word-spacing: 4px;
    text-transform: uppercase;
    transition: all 0.3s ease-in-out;
    user-select: none;
    cursor: pointer;
}

.main-btn-blue:active {
    background-color: var(--gold);
}

.main-btn-white {
    text-decoration: none;
    display: inline-block;
    color: var(--color-white);
    padding: 15px 30px;
    border-radius: 10px;
    font-family: var(--rubic-regular);
    font-size: 14px;
    word-spacing: 4px;
    text-transform: uppercase;
    border: 1px solid var(--color-white);
    transition: all 0.3s ease-in-out;
    text-align: center;
}

.header-buttons {
    margin-top: 50px;
    display: flex;
    gap: 20px;
}

/* navigation */

nav ul {
    list-style: none;
}

.nav-bar {
    background: var(--blue-gradient);
    filter: drop-shadow(0 15px 30px rgba(2, 40, 43, 0.200));
    position: fixed;
    z-index: 6;
    top: 0;
    left: 0;
    width: 100%;
}

.nav-container {
    width: 1400px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.logo {
    display: flex;
    gap: 20px;
    align-items: center;
    text-decoration: none;
}

.logo-img {
    height: 60px;
}

.logo-text {
    color: var(--color-white);
    font-size: 20px;
    font-family: var(--rubic-medium);
}

.nav-phone-link {
    color: var(--color-white);
    font-size: 20px;
    font-family: var(--rubic-regular);
    text-decoration: none;
    transition: all 0.3s ease-in-out;
}

.nav-phone-link-mobile {
    background-color: var(--buttons-bg);
    padding: 10px;
    text-decoration: none;
    color: var(--color-white);
    font-family: var(--rubic-regular);
    font-size: 12px;
    border-radius: 20px;
}

.nav-phone-link-mobile:active {
    background-color: var(--buttons-bg-active);
}

.main-nav-section {
    display: flex;
    gap: 30px;
}

.main-nav-section>li, .main-nav-section>li>a {
    color: var(--color-white);
    font-size: 16px;
    font-family: var(--rubic-regular);
    cursor: pointer;
    position: relative;
    height: 80px;
    display: flex;
    align-items: center;
    transition: all 0.3s ease-in-out;
    text-decoration: none;
}

.main-nav-section>li:hover, .main-nav-section>li>a:hover {
    color: var(--buttons-bg);
}

.sub-nav-section {
    position: absolute;
    top: 100%;
    left: 0;
    display: none;
    background-color: var(--color-white);
    border-radius: 0 0 10px 10px;
    overflow: hidden;
    z-index: 5;
}

.main-nav-section>li:hover .sub-nav-section{
    display: flex;
    width: max-content;
    flex-direction: column;
}

.sub-nav-section a {
    text-decoration: none;
    color: var(--primary-blue);
    display: flex;
    height: 50px;
    justify-content: start;
    align-items: center;
    padding: 0 20px;
    transition: all 0.3s ease-in-out;
}

.sub-nav-section a:hover {
    background-color: var(--buttons-bg);
}

.back-link {
    font-family: var(--rubic-regular);
    color: var(--primary-blue);
    font-size: 14px;
    text-decoration: none;
    position: relative;
    padding-left: 30px;
    transition: all 0.3s ease-in-out;
}

.back-link::before {
    content: "";
    display: inline-block;
    width: 20px;
    height: 20px;
    background-image: url("../img/back-arrow-blue.26410271569c.svg");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    position: absolute;
    top: -2px;
    left: 0;
    transition: all 0.3s ease-in-out;
}

/* mobile menu */

.mobile-menu ul{
    list-style: none;
}

.mobile-menu-btn {
    width: 24px;
    height: 20px;
    display: none;
    flex-direction: column;
    justify-content: space-around;
    transition: all 0.3s ease-in-out;
}

.mobile-menu-btn-element {
    height: 2px;
    border-radius: 3px;
    background-color: var(--buttons-bg);
    transition: all 0.3s ease-in-out;
}

.elem-2-is-active {
    transform: translateX(10px);
    background-color: var(--gold);
}

.elem-3-is-active {
    transform: translateX(4px);
    background-color: var(--gold);
}

.mobile-menu-btn-element:nth-child(1) {
    width: 24px;
}

.mobile-menu-btn-element:nth-child(2) {
    width: 14px;
}

.mobile-menu-btn-element:nth-child(3) {
    width: 20px;
}

/* about */

.about-drop {
    padding-top: 30px;
}

/* advantages */

.advantages {
    background-color: var(--first-light);
}

.advantages-container {
    display: flex;
    gap: 70px 50px;
    justify-content: center;
    flex-wrap: wrap;
}

.advantages-item-wrap {
    position: relative;
    z-index: 1;
    width: 380px;
}

.advantages-item {
    background-color: var(--color-white);
    display: flex;
    align-items: flex-start;
    padding: 40px 20px 20px 20px;
    border-radius: 20px;
    filter: drop-shadow(0 15px 30px rgba(2, 40, 43, 0.200));
    height: 100%;
}

.advantages-item-icon {
    width: 60px;
    height: 60px;
}

.advantages-item-title-background {
    position: absolute;
    z-index: -1;
    top: 0;
    left: 50%;
    background-color: #159da7;
    width: 86%;
    height: 80px;
    transform: translate(-50%,-50%);
    border-radius: 30px 30px 0 0;
    height: 50px;
}

.advantages-intro-text {
    text-align: center;
    padding: 20px 0 60px 0;
}

.advantages-item-title {
    position: absolute;
    z-index: 3;
    top: 0;
    left: 50%;
    background-color: var(--buttons-bg);
    width: 70%;
    height: 50px;
    transform: translate(-50%,-50%);
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    border-radius: 0 0 50px 50px;
    font-family: var(--rubic-medium);
    color: var(--primary-blue);
    font-size: 16px;
    padding: 0 20px;
}

.advantages-item-text {
    padding-left: 20px;
}

/* slider */

.slider {
    background-color: var(--first-light);
}

.slider-container {
    display: flex;
    align-items: center;
}

.swiper {
    width: 80%;
    height: auto;
    border-radius: 100px 10px 100px 10px;
}

.swiper-slide-img {
    width: 100%;
    height: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
}

.swiper-pagination {
    position: unset;
}

.swiper-pagination-bullet {
    background-color: var(--buttons-bg);
    width: 50px;
    height: 4px;
    border-radius: 3px;
}

.swiper-pagination-bullet-active {
    background-color: var(--buttons-bg);
}

.prev-slide-btn {
    width: 40px;
    height: 40px;
    transform: translateX(50px);
    cursor: pointer;
    transition: all 0.3s ease-in-out;
}

.prev-slide-btn:hover {
    transform: translateX(45px) scale(1.1);
}

.next-slide-btn {
    width: 40px;
    height: 40px;
    transform: translateX(-50px);
    cursor: pointer;
    transition: all 0.3s ease-in-out;
}

.next-slide-btn:hover {
    transform: translateX(-45px) scale(1.1);
}


/* cards */

.cards {
    background-color: var(--first-light);
}

.cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, 400px);
    gap: 40px;
    justify-content: center;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.cards-item {
    height: 100%;
    border: 1px solid;
    border-color: color-mix(in oklab, var(--buttons-bg) 20%, transparent);
    border-radius: 10px;
    overflow: hidden;
    text-decoration: none;
    transition: filter 0.3s ease-in-out;
    background-color: var(--color-white);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.cards-item-opacity {
    opacity: 0;
}

.cards-item-info {
    padding: 20px;
}

.cards-title {
    font-family: var(--rubic-medium);
    color: var(--primary-blue);
    font-size: clamp(18px, 4vw, 20px);
    font-weight: bold;
    margin-bottom: 20px;
}

.cards-photo {
    width: 100%;
    height: 350px;
    object-fit: cover;
    object-position: top;
    aspect-ratio: 16/9;
}

.cards-date {
    font-family: var(--rubic-regular);
    font-size: 16px;
    color: var(--buttons-bg);
    margin-bottom: 20px;
}

.cards-view-btn {
    text-decoration: none;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px 30px;
    color: var(--primary-blue);
    background-color: var(--buttons-bg);
    border-radius: 10px;
    font-family: var(--rubic-medium);
    font-size: 14px;
    word-spacing: 4px;
    text-transform: uppercase;
    transition: all 0.3s ease-in-out;
    margin: 0 20px 20px 20px;
    user-select: none;
}

.cards-view-btn:active, .cards-staff-view-btn:active {
    background-color: var(--gold);
}

.new-loaded {
    scroll-margin-top: 120px;
}

/* staff cards */

.cards-item-staff {
    position: relative;
    height: 500px;
    border: 1px solid;
    border-color: color-mix(in oklab, var(--buttons-bg) 20%, transparent);
    border-radius: 10px;
    overflow: hidden;
    text-decoration: none;
    transition: filter 0.3s ease-in-out;
}

.cards-item-staff-wrap {
    display: flex;
    flex-direction: column;
}

.cards-photo-staff {
    width: 100%;
    height: 500px;
    object-fit: cover;
    object-position: top;
    border-radius: 10px;
}

.cards-item-info-staff {
    position: absolute;
    z-index: 1;
    left: 50%;
    bottom: 10px;
    width: 96%;
    transform: translateX(-50%);
    background-color: #ffffff6e;
    backdrop-filter: blur(4px);
    padding: 10px;
    border-radius: 10px;
}

.cards-staff-view-btn {
    text-decoration: none;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 15px 30px;
    color: var(--primary-blue);
    background-color: var(--buttons-bg);
    border-radius: 10px;
    font-family: var(--rubic-medium);
    font-size: 14px;
    text-transform: uppercase;
    transition: all 0.3s ease-in-out;
    margin: 20px auto 0 auto;
    user-select: none;
    width: 50%;
}

/* contact-form */

.contact-form-container {
    background-color: var(--second-light);
}

.contact-form {
    width: 600px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 50px;
    background-color: var(--color-white);
    filter: drop-shadow(0 15px 30px rgba(2, 40, 43, 0.200));
    border-radius: 100px 10px 100px 10px;
    margin: auto;
}

.submit-btn {
    padding: 20px 30px;
    color: var(--primary-blue);
    background-color: var(--buttons-bg);
    border-radius: 10px;
    font-family: var(--rubic-medium);
    font-size: 14px;
    text-transform: uppercase;
    transition: all 0.3s ease-in-out;
    border: none;
    cursor: pointer;
}

.submit-btn:hover {
    background-color: var(--gold);
}

.form-text-input, .form-textarea {
    outline: none;
    border: 1px solid var(--buttons-bg);
    padding: 15px 10px;
    border-radius: 10px;
    font-family: var(--rubic-regular);
    font-size: 14px;
    color: var(--primary-blue);
}

.form-textarea {
    resize: none;
    height: 100px;
}

.form-text-label {
    font-family: var(--rubic-regular);
    font-size: 14px;
    color: var(--primary-blue);
}

.agreement-link {
    text-decoration: none;
    color: var(--buttons-bg);
    transition: all 0.3s ease-in-out;
}

.custom-checkbox {
    width: 0;
    opacity: 0;
}

.checkbox-label {
    position: relative;
    padding-left: 50px;
    line-height: 24px;
}

.checkbox-label::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 40px;
    height: 20px;
    background-color: var(--primary-blue);
    border-radius: 10px;
}

.checkbox-label::after {
    content: "";
    position: absolute;
    top: 4px;
    left: 4px;
    width: 12px;
    height: 12px;
    background-color: var(--color-white);
    border-radius: 10px;
    opacity: 0.5;
    transition: all 0.3s ease-in-out;
}

.custom-checkbox:checked +.checkbox-label::after {
    transform: translateX(20px);
    background-color: var(--buttons-bg);
    opacity: 1;
}

.input-error p{
    font-family: var(--rubic-regular);
    color: rgb(218, 35, 35);
    font-size: 14px;
    line-height: 24px;
}

.form-success-message {
    width: 520px;
    height: 300px;
    background-color: var(--color-white);
    filter: drop-shadow(0 15px 30px rgba(2, 40, 43, 0.200));
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
    z-index: 2000;
}

.form-success-message-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.form-success-message-text {
    font-family: var(--rubic-medium);
    color: var(--primary-blue);
    font-size: 18px;
}

.form-success-message-icon {
    width: 70px;
    height: 70px;
}

/* drop-down */

.drop-down {
    background-color: var(--first-light);
}

.drop-down-item {
    background-color: var(--color-white);
    border-radius: 20px;
    box-shadow: 0 15px 30px rgba(2, 40, 43, 0.200);
    cursor: pointer;
    margin-bottom: 20px;
    will-change: transform;
}

.drop-down-item-title {
    padding: 20px 20px 0 20px;
    display: flex;
    justify-content: space-between;
    gap: 10px;
    align-items: center;
}

.drop-down-item-title-text {
    font-family: var(--rubic-medium);
    color: var(--primary-blue);
    font-size: clamp(14px, 4vw, 20px);
    user-select: none;
}

.drop-down-item-text {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.3s ease-out;
}

.drop-down-item-text-wrapper {
    overflow: hidden;
    padding: 0 20px 20px 20px;
    opacity: 0;
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.25s ease-out, opacity 0.2s ease-out;
}

.drop-down-item-text-wrapper p {
    margin-top: 20px;
}

.drop-down-item.drop-down-active .drop-down-item-text {
    grid-template-rows: 1fr;
}

.drop-down-item.drop-down-active .drop-down-item-text-wrapper {
    opacity: 1;
    transform: scaleY(1);
}

.drop-down-item-title-marker {
    min-width: 20px;
    min-height: 20px;
    background-color: var(--primary-blue);
    border-radius: 30px;
    position: relative;
}

.marker-active::after {
    content: "";
    position: absolute;
    min-width: 12px;
    min-height: 12px;
    border-radius: 24px;
    top: 4px;
    left: 4px;
    background-color: var(--buttons-bg);
}

@supports (-moz-appearance: none) {
    .drop-down-item-title {
        padding: 20px;
    }
    .drop-down-item-text-wrapper p {
      margin-top: 0px;
    }
}


/* social */

.social {
    position: fixed;
    top: 50%;
    left: 20px;
    z-index: 10;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.social-link {
    text-decoration: none;
}

.social-icon {
    width: 70px;
    height: 70px;
    transition: all 0.3s ease-in-out;
}

.social-icon:hover {
    transform: scale(1.1);
    filter: drop-shadow(0 15px 30px rgba(2, 40, 43, 0.200));
}

.social-nav {
    display: none;
    gap: 20px;
}

.social-nav-icon {
    width: 30px;
    height: 30px;
}

.social-nav-mobile {
    display: none;
    padding: 10px 30px 20px 30px;
    justify-content: space-between;
    align-items: center;
}

.social-nav-mobile-links {
    display: flex;
    gap: 15px;
}

.social-nav-mobile-icon {
    width: 30px;
    height: 30px;
}

/* footer */

footer {
    background: var(--blue-gradient);
    filter: drop-shadow(0 -15px 30px rgba(2, 40, 43, 0.200));
}

.footer-container {
    width: 1400px;
    margin: auto;
    padding: 30px 0;
}

.footer-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 20px;
}

.footer-company {
    font-family: var(--rubic-regular);
    font-size: 14px;
    color: var(--color-white);
    padding-right: 20px;
}

.social-footer {
    display: flex;
    gap: 20px;
}

.social-footer-icon {
    width: 30px;
    height: 30px;
}

footer ul {
    list-style: none;
}

footer li {
    padding: 5px 0;
}

.footer-link {
    font-family: var(--rubic-regular);
    font-size: 14px;
    color: var(--color-white);
    text-decoration: none;
    transition: all 0.3s ease-in-out;
}

/* mobile menu */

.mobile-menu-open {
    overflow: hidden;
    width: 100%;
}

.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    min-height: 100vh;
    width: 100%;
    background: var(--blue-gradient-mobile);
    z-index: 4;
    overflow-y: scroll;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.mobile-menu-container {
    position: absolute;
    top: 0;
    left: 0;
    padding: 170px 30px 50px 30px;
}

.mobile-main-nav-section {
    position: relative;
    padding-left: 20px;
    display: inline-block;
}

.mobile-main-nav-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background-color: var(--buttons-bg);
    border-radius: 3px;
}

.mobile-main-nav-section>li {
    font-family: var(--rubic-medium);
    font-size: 18px;
    color: var(--color-white);
    padding: 10px 0;
    position: relative;
    cursor: pointer;
    user-select: none;
}

.mobile-main-nav-section>li::before {
    content: "";
    width: 20px;
    height: 20px;
    background-color: var(--color-white);
    position: absolute;
    top: 10px;
    left: -28px;
    border-radius: 10px;
}

.is-group::after {
    content: "";
    width: 30px;
    height: 30px;
    position: absolute;
    top: 5px;
    left: -32px;
    display: inline-block;
    background-image: url("../img/arrow-drop-right.6ea7c5a5413d.svg");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.is-active::after {
    content: "";
    width: 12px;
    height: 12px;
    background-color: var(--primary-blue);
    position: absolute;
    top: 14px;
    left: -24px;
    border-radius: 10px;
}

.mobile-sub-nav-section>li {
    padding: 10px 0 0 0px;
}

.mobile-sub-nav-section a {
    font-family: var(--rubic-regular);
    font-size: 14px;
    color: var(--color-white);
    text-decoration: none;
}

.mobile-main-nav-section>li>a {
    font-family: var(--rubic-medium);
    font-size: 18px;
    color: var(--color-white);
    text-decoration: none;
}

.contact-form-pop-up-container {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9;
    width: 100%;
    min-height: 100vh;
    background: var(--blue-gradient-transparent);
    overflow-y: scroll;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.contact-form-pop-up {
    position: absolute;
    top: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.contact-form-pop-up::after {
    position: absolute;
    bottom: -20px;
    left: 0;
    content: "";
    width: 100%;
    height: 20px;
}

.contact-form-pop-up-open-btn {
    font-family: var(--rubic-medium);
    font-size: 18px;
    color: var(--color-white);
    margin-top: 20px;
    cursor: pointer;
    user-select: none;
    background-color: var(--buttons-bg);
    padding: 10px 15px;
    border-radius: 50px;
}

.contact-form-pop-up-open-btn:active {
    background-color: var(--buttons-bg-active);
}

.close-form-btn {
    background-color: var(--gold);
    font-family: var(--rubic-medium);
    font-size: 14px;
    color: var(--primary-blue);
    width: 100px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
    position: absolute;
    right: 20px;
    top: -20px;
    cursor: pointer;
    user-select: none;
}

/* item-view */

.item-view-container {
    display: flow-root;
}

.item-view-img {
    width: 400px;
    height: 550px;
    object-fit: cover;
    border-radius: 10px;
    filter: drop-shadow(0 15px 30px rgba(2, 40, 43, 0.200));
    margin-right: 40px;
    margin-bottom: 20px;
}

.item-view-info-sub-title {
    font-family: var(--rubic-medium);
    color: var(--buttons-bg);
    font-size: clamp(18px, 4vw, 20px);
}

.item-view-info-text p {
    margin-top: 20px;
    line-height: 26px;
}

.item-view-info-text h2 {
    margin-top: 20px;
}

.item-view-info-text h3 {
    margin-top: 20px;
}

.item-view-info-text img {
    max-width: 100%;
    height: auto;
    border-radius: 100px 10px 100px 10px;
    margin-top: 20px;
}

.item-view-info-text a {
    color: var(--buttons-bg);
    text-decoration: underline;
}

.item-view-info-text ul, .item-view-info-text ol {
    padding-left: 26px;
}

.item-view-info-text li {
    font-family: "rubic-regular";
    color: #163047;
    font-size: 15px;
    line-height: 26px;
}

/* contacts-page */

.phone-link, .mail-link {
    text-decoration: none;
    color: var(--primary-blue);
    transition: all 0.3s ease-in-out;
}

.map-container {
    position: relative;
    margin-top: 20px;
}

#map {
    width: 100%;
    height: 420px;
    border-radius: 20px;
    overflow: hidden;
}

.map-reload-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
    z-index: 2;
    user-select: none;
    width: 70px;
    height: 70px;
    background-image: url("../img/refresh-icon.4b41cee612b6.svg");
    background-size: cover;
}

.map-reload-btn:active {
    transform: scale(0.9);
}

.map-close-btn {
    position: absolute;
    top: 10px;
    right: 60px;
    cursor: pointer;
    z-index: 2;
    user-select: none;
    width: 50px;
    height: 50px;
    background-image: url("../img/close-icon.fa36404f7d4f.svg");
    background-size: cover;
    display: none;
}

.map-close-btn:active {
    transform: scale(0.9);
}

.map-points-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding-top: 10px;
}

.map-point {
    cursor: pointer;
    font-family: var(--rubic-regular);
    color: var(--primary-blue);
    font-size: 15px;
    line-height: 20px;
    margin: 5px 0;
    transition: all 0.3s ease-in-out;
    position: relative;
    padding-left: 30px;
}

.map-point::before {
    content: "";
    display: inline-block;
    width: 26px;
    height: 26px;
    background-image: url("../img/map-point-blue.29aa2e751d5b.svg");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    position: absolute;
    top: -1px;
    left: 0;
}

.map-points-container-mobile {
    position: absolute;
    top: 64px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    background-color: var(--color-white);
    width: 90%;
    border-radius: 20px;
    filter: drop-shadow(0 15px 30px rgba(2, 40, 43, 0.200));
    padding: 10px;
    user-select: none;
}

.map-point-mobile {
    font-family: var(--rubic-regular);
    font-size: 14px;
    color: var(--primary-blue);
    padding: 10px;
}

.map-point-mobile-active {
    color: var(--buttons-bg);
}

.show-map-points-btn {
    background-color: var(--primary-blue);
    width: 150px;
    height: 40px;
    color: var(--color-white);
    font-family: var(--rubic-medium);
    font-size: 12px;
    position: absolute;
    top: 15px;
    left: 15px;
    z-index: 2;
    user-select: none;
    border-radius: 20px;
    justify-content: center;
    align-items: center;
    display: none;
    text-transform: uppercase;
}

.view-mobile-map-btn {
    color: var(--color-white);
    font-family: var(--rubic-regular);
    font-size: 14px;
    text-decoration: none;
    background-color: var(--primary-blue);
    border-radius: 10px;
    text-transform: uppercase;
    width: 200px;
    height: 50px;
    display: none;
    justify-content: center;
    align-items: center;
}

/* pagination */

.pagination {
    margin-top: 40px;
}

.pages-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.page-dots {
    font-family: var(--rubic-medium);
    font-size: 16px;
    color: var(--primary-blue);
    user-select: none;
}

.page-btn {
    background-color: var(--color-white);
    width: 50px;
    height: 50px;
    border-radius: 50px;
    padding: 10px;
    filter: drop-shadow(0 15px 30px rgba(2, 40, 43, 0.200));
    font-family: var(--rubic-medium);
    font-size: 16px;
    color: var(--primary-blue);
    border: none;
    transition: all 0.3s ease-in-out;
}

.active-page {
    background-color: var(--primary-blue);
    color: var(--color-white);
}

#load-more-btn {
    display: none;
}

/* oferta and payment */

.details {
    font-family: var(--rubic-regular);
    font-size: 14px;
    display: flex;
    flex-wrap: wrap;
    gap: 2px;
}

.details-title {
    background-color: var(--primary-blue);
    color: var(--color-white);
    padding: 10px;
    flex: 0 0 calc(30% - 1px);
    border: 1px solid var(--primary-blue);
}

.details-title:nth-child(1) {
    border-radius: 10px 0 0 0;
}

.details-title:nth-child(27) {
    border-radius: 0 0 0 10px;
}

.details-info {
    color: var(--primary-blue);
    border: 1px dashed var(--primary-blue);
    padding: 10px;
    flex: 0 0 calc(70% - 1px);
}

.details-info:nth-child(2) {
    border-radius: 0 10px 0 0;
}

.details-info:nth-child(28) {
    border-radius: 0 0 10px 0;
}


/* gallery and slider */

.gallery {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    padding: 20px 0;
    scrollbar-width: thin;
    scrollbar-color: var(--buttons-bg) var(--first-light);
}

.gallery img {
    flex-shrink: 0;
    width: 200px;
    height: 200px;
    object-fit: cover;
    object-position: center 0;
    cursor: pointer;
    transition: transform 0.2s;
    border-radius: 20px;
}

.gallery-slider-modal {
    display: flex;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.modal-content {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 90%;
    max-height: 90%;
}

.slider-img {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 20px;
}

.gallery-nav-btn {
    background: rgba(255, 255, 255, 0.2);
    padding: 10px;
    cursor: pointer;
    position: absolute;
    top: 50%;
    border-radius: 30px;
    width: 60px;
    height: 60px;
}

.gallery-prev-btn { 
    left: 5px;
    transform: translateY(-50%) scaleX(-1);
}

.gallery-next-btn { 
    right: 5px;
    transform: translateY(-50%);
}

.gallery-close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    cursor: pointer;
    z-index: 1001;
    user-select: none;
    width: 50px;
    height: 50px;
    background-image: url("../img/gallery-close-icon.34ea5c10d111.svg");
    background-size: cover;
}

.gallery-close-btn:active {
    transform: scale(0.9);
}

/* docs */

.docs-item {
    display: flex;
    align-items: center;
    padding: 20px 0;
    gap: 20px;
}

.doc-title {
    font-family: var(--rubic-medium);
    font-size: 15px;
    color: var(--primary-blue);
    text-decoration: none;
    position: relative;
    padding-left: 32px;
}

.doc-title::before {
    content: "";
    display: inline-block;
    width: 30px;
    height: 30px;
    background-image: url("../img/doc-icon.b01e45585bae.svg");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    position: absolute;
    top: -8px;
    left: 0;
}

.doc-download-btn {
    text-decoration: none;
    background-color: var(--buttons-bg);
    color: var(--primary-blue);
    font-family: var(--rubic-medium);
    font-size: 14px;
    text-transform: uppercase;
    padding: 6px 10px;
    border-radius: 50px;
    transition: all 0.3s ease-in-out;
}

.doc-download-btn:active {
    background-color: var(--gold);
}

/* payment */

.oferta-agreement-container {
    padding: 20px 0 30px 0;
}

.oferta-agreement-label {
    font-family: var(--rubic-regular);
    color: var(--primary-blue);
    font-size: 15px;
    position: relative;
    padding-left: 50px;
    line-height: 24px;
    cursor: pointer;
}

.payment-btn {
    width: 300px;
}

.disabled-link {
    opacity: 0.5;
    pointer-events: none;
}

.oferta-ckeckbox {
    width: 0;
    opacity: 0;
}

.oferta-agreement-label::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 40px;
    height: 20px;
    background-color: var(--primary-blue);
    border-radius: 10px;
}

.oferta-agreement-label::after {
    content: "";
    position: absolute;
    top: 4px;
    left: 4px;
    width: 12px;
    height: 12px;
    background-color: var(--color-white);
    border-radius: 10px;
    opacity: 0.5;
    transition: all 0.3s ease-in-out;
}

.oferta-ckeckbox:checked +.oferta-agreement-label::after {
    transform: translateX(20px);
    background-color: var(--buttons-bg);
    opacity: 1;
}

@media (hover: hover) {
    .map-point:hover {
        color: var(--buttons-bg);
    }
    .nav-phone-link:hover {
        color: var(--buttons-bg);
    }
    .phone-link:hover, .mail-link:hover {
        text-decoration: none;
        color: var(--buttons-bg);
    }
    .main-btn-blue:hover {
        background-color: var(--gold);
    }
    .cards-view-btn:hover, .cards-staff-view-btn:hover {
        background-color: var(--gold);
    }
    .cards-item:hover {
        filter: drop-shadow(0 15px 30px rgba(2, 40, 43, 0.200));
    }
    .list-view-link:hover {
        color: var(--buttons-bg);
        cursor: pointer;
    }
    .footer-link:hover {
        color: var(--buttons-bg);
    }
    .back-link:hover {
        color: var(--buttons-bg);
    }
    .back-link:hover::before {
        content: "";
        display: inline-block;
        width: 20px;
        height: 20px;
        background-image: url("../img/back-arrow-green.8613c8532c6d.svg");
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center;
        position: absolute;
        top: -2px;
        left: 0;
    }
    .main-btn-white:hover {
        background-color: color-mix(in srgb, var(--blue-text) 20%, transparent);
    }
    .prev-btn:hover, .next-btn:hover {
        background-color: var(--primary-blue);
    }
    .page-btn:hover {
        background-color: var(--primary-blue);
        color: var(--color-white);
        cursor: pointer;
    }
    .gallery img:hover {
        transform: scale(1.05);
    }
    .doc-download-btn:hover {
        background-color: var(--gold);
    }
}

/* options */

.clear-link {
    text-decoration: none;
    color: inherit;
}

.text-center {
    text-align: center;
}

.mt-20 {
    margin-top: 20px;
}

.float-r {
    float: right;
}

.float-l {
    float: left;
}

.line-height-26 {
    line-height: 26px;
}

.visible {
    opacity: 1;
}

.hide {
    display: none;
}

