:root {
    --font-family: "Golos Text", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    --font-display: "Cormorant", Georgia, "Times New Roman", serif;
    --primary-color: #ffc400;
    --primary-hover: #ffce26;
    --primary-active: #e6b000;
    --secondary-color: #1b2030;
    --white-color: #fff;
    --white-secondary-color: #cdd2db;
    --white-bg-color: #faf5ea;
    --black-color: #20242f;
    --black-secondary-color: #5d6373;
    --border-color: #e3dcce;
    --light-bg-color: #fcf8ee;
    --dark-bg-color: #1b2030;
    --section-padding: 4rem 0;  
    --section-hr-padding: 5rem 0;
}

body {
    font-family: var(--font-family);
}

img {
    width: auto;
    max-width: 100%;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--black-color);
}

h1, h2 {
    font-weight: 700;
    letter-spacing: -0.02em;
}

a {
    color: var(--white-color);
    text-decoration: none;
}

.nav-item .nav-link {
    padding-bottom: 4px;
    margin-bottom: 4px;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: var(--bs-navbar-nav-link-padding-x);
    margin-right: var(--bs-navbar-nav-link-padding-x);
}
.nav-item .nav-link:hover {
    margin-bottom: 3px;
    border-bottom: 1px solid currentColor;
}
/* Navbar links white (source used .active on every link to force white; set via CSS instead) */
.navbar-dark .navbar-nav .nav-link {
    color: var(--white-color);
}

main {
    margin-top: 56px;
}
/* WP admin bar: push the fixed navbar below it so it doesn't overlap the menu */
.admin-bar .navbar.fixed-top {
    top: 32px;
}
@media screen and (max-width: 782px) {
    .admin-bar .navbar.fixed-top {
        top: 46px;
    }
}

section {
    text-align: inherit;
    font-size: 1rem;
    padding: var(--section-padding);
}

section .subtitle {
    font-size: 1.5rem;
}

section h1 {
    font-size: 3.4375rem;
    line-height: 1.2;
    font-weight: 700;
    text-align: inherit;
    margin-bottom: 1rem;
}

section h2 {
    font-size: 2.4375rem;
    line-height: 1.2;
    font-weight: 700;
    text-align: inherit;
    margin-bottom: 2rem;
}


section .icons .point {
    margin: 0;
    padding: 25px;
    text-align: left;
    display: flex;
    align-items: center;
}

section .icons .point .icon {
    font-size: 24px;
    margin-right: 15px;
}

section .icons .point .icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 4rem;
    min-width: 4rem;
    height: 4rem;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: var(--black-color);
    font-size: 2rem;
}

@media (max-width: 768px) {
    section {
        --section-padding: 2rem 0;
        --section-hr-padding: 3rem 0;
    }

    section h1 {
        font-size: 1.5rem;
        font-weight: 400;
        line-height: 1;
        margin-bottom: 1rem;
    }
    
    section.top h1 {
        font-weight: 700;
        margin-bottom: 37px;
    }

    section h2 {
        font-size: 1.35rem;
        font-weight: 400;
        line-height: 1;
        margin-bottom: 1rem;
    }

    section .subtitle {
        /* font-size: 1.1rem; */
        line-height: 1.1;
    }

}

section.top {
    background-image: url('./../images/topphoto1.jpeg');
    background-size: cover;
    background-position: center;
    display: flex;
    color: var(--white-color);
    padding-bottom: 450px;
    position: relative;
}


section.top:before {
    content: ' ';
    position: absolute;
    background: #000;
    width: 100%;
    height: 100%;
    margin-top: -65px;
    opacity: 0.125;

}

section.top .container {
    z-index: 999;
}

section.top h1 {
    color: var(--white-color);
    text-shadow: 0 0 10px #000;
    text-align: center;
}

section.top .btn-primary {
    /*--bs-btn-border-radius: 0;*/
/*     --bs-btn-padding-y: 1rem;
--bs-btn-padding-x: 2rem; */
}

@media (max-width: 768px) {
    section.top {
        background-image: url('./../images/topphoto1.jpeg');
        padding-bottom: 2rem;
    }
    
    section.top .container {
        text-align: right !important;
    }

    section.top .subtitle {
        color: var(--white-secondary-color);
    }
}

section.grid .body {
    margin-top: 3rem;
    display: block;
}

section.grid .card-body ul {
    padding-left: 1.75em;
}

section.block-hr {
    padding: var(--section-hr-padding);
    background-image: linear-gradient(180deg, rgba(0, 0, 0, 0.67) 100%, rgba(0, 0, 0, 0) 67%), url('./../images/sunset.jpeg');
    background-size: cover;
    background-position: center;
    display: flex;
    color: var(--white-color);
}

section.block-hr h2 {
    color: var(--white-color);
}

section.points {

}

section .icons .point .icon:hover {
    transform: scale(1.1);
    transition: transform 0.3s ease-in-out;
}

section.about {
    background: var(--white-bg-color);
}

section.about h3 {
    color: var(--white-color);
}

section.about .body {
    display: flex;
    flex-wrap: wrap;
    margin-top: 0;
    margin-right: calc(-.5 * 1.5rem);
    margin-left: calc(-.5 * 1.5rem);
}

section.about .body > div {
    flex: 0 0 auto;
    width: 50%;
}

section.about .body .right {
    background: var(--dark-bg-color);
    text-align: left;
    padding: 25px 35px;
    color: var(--white-color);
}

section.about .body .right h3 {
    margin-bottom: 1rem;
}

@media (max-width: 768px) {
    section.about h2,
    section.about .subtitle
    {
        color: var(--white-color);
    }

    section.about .body > div {
        width: 100%;
    }

    section.about {
        background: var(--dark-bg-color);
    }
}

section.block-hr-2 {
    display: flex;
    padding: var(--section-hr-padding);
    background: var(--dark-bg-color);
    color: var(--white-color);
}

section.block-hr-2 h2 {
    color: var(--white-color);
}

section.block-hr-2 .item {
    position: relative;
    background-size: cover;
    background-position: center;
}

section.block-hr-2 .item {
    position: relative;
    max-width: 425px;
    width: 100%;
}

section.block-hr-2 .item::before {
    content: "";
    display: block;
    padding-top: 100%;
}

section.block-hr-2 .owl-carousel  {
    margin-top: 3rem;
}

section.block-hr-2 .owl-carousel .owl-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
}

section.block-hr-2 .owl-carousel .owl-nav > button {
    position: absolute;
    top: -9rem;
    background: transparent !important;
    padding: 3rem 0 !important;
}

section.block-hr-2 .owl-carousel .owl-nav > button > span {
    font-size: 4rem;
}

section.block-hr-2 .owl-carousel .owl-prev {
    left: 10px;
}

section.block-hr-2 .owl-carousel .owl-next {
    right: 10px;
}

section.block-hr-2 .owl-carousel .owl-dots {
   margin-top: 1rem;
}

section.block-hr-2 .caption {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: start;
    background-color: rgb(0 0 0 / 34%);
    padding: 20px;
}

section.block-hr-2 .caption h3 {
    color: var(--white-color);
    font-weight: bold;
    margin-bottom: 10px;
}

section.block-hr-2 .caption p {
    margin: 0;
}

@media (max-width: 768px) {
    section.block-hr-2 .owl-carousel .owl-nav > button {
        top: -5rem;
    }

    section.block-hr-2 .owl-carousel .owl-nav > button {
        padding: 0 !important;
    }
}

section.video iframe {

}

@media (max-width: 768px) {
    section.video iframe {
        height: 480px;
    }
}

section.sertifikat {
    background: var(--light-bg-color);
}

section.sertifikat .left img {
    max-height: 390px;
}

section.sertifikat .body {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

section.sertifikat .body > div {
    flex: 0 0 auto;
    width: 50%;
}

section.sertifikat .body .right {
    text-align: left;
    padding: 25px 35px;
}

section.block-hr-3 {
    background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.2) 100%, rgba(0, 0, 0, 0) 67%), url('./../images/corp-hr.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    padding: var(--section-hr-padding);
    color: var(--white-color);
}

section.block-hr-3 h2 {
    margin-bottom: 5rem ;
    color: var(--white-color);
}

section.block-hr-3 .modal-dialog {
    color: var(--black-color);
}

section.form {
    background: var(--light-bg-color);
}

section.faq {

}

section.route-faq {
    /*background: var(--light-bg-color);*/
}

section.route-routes {
    background: var(--light-bg-color);
}

section.route-form {
    background: none;
}

.accordion-button:focus {
    box-shadow: none !important;
    outline: none !important;
}

.accordion-button:not(.collapsed) {
    box-shadow: none;
}

/* === Кнопки: pill, коралл, верхний регистр === */
.btn {
    --bs-btn-border-radius: 100px;
    --bs-btn-font-weight: 600;
}

/* Тёмные плашки (навбар bg-black, футер bg-dark) → петроль */
.bg-dark,
.bg-black {
    background-color: var(--secondary-color) !important;
}

.btn-primary {
    --bs-btn-color: var(--black-color);
    --bs-btn-bg: var(--primary-color);
    --bs-btn-border-color: var(--primary-color);
    --bs-btn-hover-color: var(--black-color);
    --bs-btn-hover-bg: var(--primary-hover);
    --bs-btn-hover-border-color: var(--primary-hover);
    --bs-btn-focus-shadow-rgb: 255, 196, 0;
    --bs-btn-active-color: var(--black-color);
    --bs-btn-active-bg: var(--primary-active);
    --bs-btn-active-border-color: var(--primary-active);
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: var(--black-color);
    --bs-btn-disabled-bg: var(--primary-color);
    --bs-btn-disabled-border-color: var(--primary-color);
    --bs-btn-font-weight: 600;
    box-shadow: 0 8px 20px -8px rgba(255, 196, 0, 0.55);
}

.btn-secondary {
    --bs-btn-color: var(--white-color);
    --bs-btn-bg: var(--secondary-color);
    --bs-btn-border-color: var(--secondary-color);
    --bs-btn-hover-color: var(--white-color);
    --bs-btn-hover-bg: #134a52;
    --bs-btn-hover-border-color: #134a52;
    --bs-btn-focus-shadow-rgb: 12, 59, 64;
    --bs-btn-active-color: var(--white-color);
    --bs-btn-active-bg: #0a2f33;
    --bs-btn-active-border-color: #0a2f33;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: var(--white-color);
    --bs-btn-disabled-bg: var(--secondary-color);
    --bs-btn-disabled-border-color: var(--secondary-color);
}

.fetchIt-form .fimessage {
    background: #8fff4f;
    padding: 1rem;
    margin-bottom: 1rem;
    display: none; /* Начально скрываем элемент */
}

.fetchIt-form .fimessage:not(:empty) {
    display: block;
}

.fetchIt-form  .error-message {
    background: #ff9696;
    padding: 1rem;
    margin: -1rem;
}



section.schedule h5 {
    text-align: center;
}

section.schedule ul li .time {
    font-weight: 600;
}

section.schedule ul li .title:before {
    content: ' - ';
}


.schedule-table {
    width: 100%;
    border-collapse: collapse;
}

.schedule-table th,
.schedule-table td {
    padding: 10px;
    border: 1px solid var(--border-color);
    text-align: center;
}

.schedule-table th {
    font-weight: bold;
    background-color: var(--light-bg-color);
}

.schedule-table th:first-child,
.schedule-table td:first-child {
    width: 80px;
}

.schedule-table th,
.schedule-table td {

}










section.route-top {
    background-size: cover;
    background-position: center;
    display: flex;
    color: var(--white-color);
    padding-bottom: 402px;
}

section.route-top h1 {
    color: var(--white-color);
}

@media (max-width: 768px) {
    section.route-top {
        padding-bottom: 2rem;
    }

    section.route-top .subtitle {
        color: var(--white-secondary-color);
    }
}

section.route-top .wrapper {
    display: inline-block;
    margin-top: 5rem;
}

section.route-top ul li {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

section.route-top ul li i {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    border-radius: 50%;
    font-size: 20px;
    margin-right: 10px;
    color: black;
}
@media (max-width: 991px) {
    section.route-top .wrapper {
        margin-top: 0;
    }
}

@media (max-width: 991px) {
    section.route-top ul {
        flex-wrap: wrap;
    }

    section.route-top ul li {
        flex: 0 0 50%;
    }
}

@media (max-width: 767px) {

    section.route-top ul {
        margin-left: 3rem;
    }

    section.route-top ul li i {
        width: 30px;
        height: 30px;
        font-size: 14px;
    }
}

section.route-content {
    /*background: var(--white-bg-color);*/
}

@media (min-width: 767px) {
    section.route-content {
        /*font-size: 1.25rem;*/
    }
}

section.route-about,
section.map p,
section.map1 p {
    /*font-size: 1.5rem;*/
}

section.route-about {
    background: var(--white-bg-color);
}

section.map1 {
    /*background: var(--white-bg-color);*/
}


.tail-b-wrapper {
    position: absolute;
    bottom: 1rem;
    width: 100%;
    left: 0;
    padding: 0 1rem;
}

.card-body {
    display: flex;
    align-items: stretch;
    flex-direction: column;
}

.card .card-title {
    font-weight: 600;
    font-size: 1.1rem;
    line-height: 1.35;
}

section.brends {
    background: var(--light-bg-color);
}


.owl-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    margin-top: -20px !important;
}
.owl-nav .owl-prev, .owl-nav .owl-next {
    background-color: rgba(0, 0, 0, 0.5);
    padding: 10px;
    border-radius: 50%;
}
.owl-nav .owl-prev {
    position: absolute;
    left: 10px;
}
.owl-nav .owl-next {
    position: absolute;
    right: 10px;
}

.owl-theme .owl-nav [class*=owl-]:hover {
    background: none !important;
}



.route-top-video {
    position: relative;
    background-color: black;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    padding-top: 150px;
    padding-bottom: 320px;
}

.route-top-video h1 {
    color: white;
}

.route-top-video-background {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translateX(-50%) translateY(-50%);
    z-index: 1;
    opacity: 0.5;
}

.route-top-video-content {
    position: relative;
    z-index: 2;
    /* max-width: 800px; */
    /* padding: 2rem; */
}

@media (max-width: 768px) {
    .route-top-video {
        padding-top: 2rem;
        padding-bottom: 5rem;
    }
}


section.route-top-video .wrapper {
    display: inline-block;
    margin-top: 5rem;
}

section.route-top-video ul li {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

section.route-top-video ul li i {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    border-radius: 50%;
    font-size: 20px;
    margin-right: 10px;
    color: black;
}
@media (max-width: 991px) {
    section.route-top-video .wrapper {
        margin-top: 0;
    }
}

@media (max-width: 991px) {
    section.route-top-video ul {
        flex-wrap: wrap;
    }

    section.route-top-video ul li {
        flex: 0 0 50%;
    }
}

@media (max-width: 767px) {

    section.route-top-video ul {
        margin-left: 3rem;
    }

    section.route-top-video ul li i {
        width: 30px;
        height: 30px;
        font-size: 14px;
    }
}