/* ===== HEADER ===== */
.header {
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .08);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 40px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo__icon {
    width: 100px;
    height: 84px;
}

.logo__text {
    display: flex;
    flex-direction: column;
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 1px;
    line-height: 1;
}

.logo__caravan {
    color: #1a3d7c;
}

.logo__subtitle {
    font-size: 0.55rem;
    font-weight: 600;
    color: #888;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    align-self: flex-start;
    padding-left: 2px;
}

.nav__list {
    display: flex;
    gap: 8px;
}

.nav__link {
    padding: 8px 18px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.95rem;
    color: #333;
    transition: background .35s ease, color .35s ease, box-shadow .35s ease;
}

.nav__link:hover {
    background: #f0f4ff;
    color: #1a3d7c;
}

.nav__link--active,
.nav__link--active:hover {
    background: #1a3d7c;
    color: #fff;
    box-shadow: 0 2px 8px rgba(26, 61, 124, .25);
}

/* Burger */
.burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
}

.nav__close {
    display: none;
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 2rem;
    color: #1a3d7c;
    cursor: pointer;
    line-height: 1;
    transition: color .2s;
}

.nav__close:hover {
    color: #e8c800;
}

.burger span {
    display: block;
    width: 26px;
    height: 3px;
    background: #1a3d7c;
    border-radius: 2px;
    transition: .3s;
}

.burger--open span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.burger--open span:nth-child(2) {
    opacity: 0;
}

.burger--open span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}









/* ===== HERO ===== */
.hero {
    position: relative;
    min-height: 460px;
    background-image: url('../images/auto.png');
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    background-color: #3a5a7c;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(20, 50, 100, .6) 0%, rgba(20, 50, 100, .15) 60%, transparent 100%);
}

.hero__inner {
    position: relative;
    z-index: 2;
    width: 100%;
}

.hero__content {
    max-width: 620px;
    padding: 60px 0;
}

.hero__title {
    font-size: 2.6rem;
    font-weight: 900;
    color: #fff;
    line-height: 1.15;
    text-shadow: 0 2px 12px rgba(0, 0, 0, .35);
    margin-bottom: 12px;
}

.hero__subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, .9);
    font-weight: 400;
    margin-bottom: 32px;
    text-shadow: 0 1px 6px rgba(0, 0, 0, .3);
}

.hero__dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 3;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .5);
    cursor: pointer;
    transition: background .2s;
}

.dot--active {
    background: #1a3d7c;
}







/* ===== SERVICES ===== */
.services {
    padding: 40px 0;
    background: #edf1f7;
}

.services__inner {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 30px;
    align-items: start;
}

.services__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    align-items: stretch;
}

.service-card {
    background: #fff;
    padding: 24px;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    border: 1px solid #e8e8e8;
}

.service-card__icon {
    margin-bottom: 14px;
    height: 50px;
    display: flex;
    align-items: center;
}
.service-card__icon--globus svg {
    height: 43px;
    width: 43px;
}

.service-card__icon img {
    filter: invert(18%) sepia(65%) saturate(1200%) hue-rotate(196deg) brightness(70%) contrast(95%);
}

.service-card__title {
    font-size: 1.05rem;
    font-weight: 800;
    color: #1a3d7c;
    margin-bottom: 6px;
}

.service-card__text {
    font-size: 0.9rem;
    color: #555;
}

.service-image-block {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px;
}

.service-image-block__text {
    font-size: 0.9rem;
    color: #333;
    font-weight: 600;
    line-height: 1.4;
}

.service-card--rent {
    background: #fff;
}

.service-card--rent .service-card__title {
    font-size: 1.2rem;
}

.booking-box {
    border: 2px solid #e8c800;
    border-radius: 12px;
    padding: 28px 24px;
    background: #fffef5;
}
.booking-box__column {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    flex-direction: column;
}
.booking-box__column a:hover span {
    text-decoration: underline;
}

.booking-box__title {
    font-size: 1rem;
    font-weight: 800;
    color: #1a3d7c;
    margin-bottom: 18px;
    text-align: center;
}

.booking-box__row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 14px;
}

.booking-box__phone-icon {
    flex-shrink: 0;
    margin-top: 2px;
}

.booking-box__number {
    font-size: 1.05rem;
    font-weight: 700;
    color: #1a3d7c;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.booking-box__label {
    font-size: 0.82rem;
    color: #666;
    margin-left: 28px;
}

.booking-box__messenger {
    vertical-align: middle;
    margin-left: 4px;
}

.booking-box__schedule {
    font-size: 0.9rem;
    font-weight: 600;
    color: #333;
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid #e0d88a;
}

.booking-box__note {
    font-size: 0.82rem;
    color: #777;
    margin-top: 6px;
}









/* ===== BOOKING MODAL ===== */
.booking-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    z-index: 1100;
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s ease, visibility .3s ease;
}

.booking-modal-overlay--open {
    opacity: 1;
    visibility: visible;
}

.booking-modal {
    background: #fff;
    border-radius: 18px;
    padding: 34px 30px;
    max-width: 460px;
    width: 100%;
    position: relative;
    transform: translateY(24px);
    transition: transform .3s ease;
    box-shadow: 0 18px 44px rgba(17, 45, 94, 0.16);
}

.booking-modal-overlay--open .booking-modal {
    transform: translateY(0);
}

.booking-modal__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 8px;
}

.booking-modal__title {
    font-size: 1.4rem;
    font-weight: 800;
    color: #1a3d7c;
    margin: 0;
}

.booking-modal__close {
    background: none;
    border: none;
    font-size: 1.8rem;
    color: #98a2b3;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    transition: color .2s ease;
}

.booking-modal__close:hover {
    color: #1f2937;
}

.booking-modal__route {
    font-size: 0.92rem;
    color: #667085;
    font-weight: 600;
    line-height: 1.5;
    margin: 0 0 22px;
}

.booking-modal__form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.booking-modal__field {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.booking-modal__label {
    font-size: 0.88rem;
    font-weight: 700;
    color: #4d5562;
}

.booking-modal__input {
    width: 100%;
    padding: 13px 14px;
    border: 2px solid #e3e6eb;
    border-radius: 12px;
    font-size: 1rem;
    font-family: 'Montserrat', sans-serif;
    color: #1f2937;
    background: #fff;
    outline: none;
    transition: border-color .22s ease, box-shadow .22s ease, background-color .22s ease;
}

.booking-modal__input::placeholder {
    color: #98a2b3;
}

.booking-modal__input:focus {
    border-color: #1a3d7c;
    box-shadow: 0 0 0 4px rgba(26, 61, 124, 0.08);
}

.booking-modal__field--error .booking-modal__input {
    border-color: #df4b41;
    background: #fffafa;
    box-shadow: 0 0 0 4px rgba(223, 75, 65, 0.08);
}

.booking-modal__error {
    display: none;
    font-size: 0.8rem;
    color: #df4b41;
    font-weight: 600;
    line-height: 1.35;
}

.booking-modal__error:not(:empty) {
    display: block;
}

.booking-modal__submit {
    margin-top: 6px;
    font-size: 1rem;
    padding: 14px;
    border: none;
    cursor: pointer;
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.booking-modal__submit-loader {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 2px solid rgba(26, 61, 124, 0.2);
    border-top-color: #1a3d7c;
    display: none;
    animation: bookingSpin .7s linear infinite;
}

.booking-modal__submit.is-loading .booking-modal__submit-loader {
    display: inline-block;
}

.booking-modal__submit.is-loading .booking-modal__submit-text {
    opacity: 0.9;
}

@keyframes bookingSpin {
    to {
        transform: rotate(360deg);
    }
}

.booking-modal__success {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    text-align: center;
    padding: 24px 4px 4px;
    animation: bookingSuccessIn .28s ease;
}

.booking-modal__success[hidden] {
    display: none !important;
}

@keyframes bookingSuccessIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.booking-modal__success-icon {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background: #f3fcf6;
    display: flex;
    align-items: center;
    justify-content: center;
}

.booking-modal__success-title {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 800;
    color: #1a3d7c;
}

.booking-modal__success-text {
    margin: 0;
    max-width: 320px;
    font-size: 0.95rem;
    line-height: 1.7;
    color: #5f6673;
}

.booking-modal__success-btn {
    margin-top: 6px;
    padding: 12px 18px;
    border-radius: 10px;
    border: 2px solid #1a3d7c;
    background: transparent;
    color: #1a3d7c;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.92rem;
    font-weight: 700;
    cursor: pointer;
    transition: all .2s ease;
}

.booking-modal__success-btn:hover {
    background: #1a3d7c;
    color: #fff;
}

.booking-modal__form[hidden] {
    display: none !important;
}

@media (max-width: 640px) {
    .booking-modal {
        padding: 24px 18px;
    }
}









/* ===== ABOUT ===== */
.about {
    padding: 60px 0;
    background: #edf1f7;
}

.about__text {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    color: #444;
    font-size: 1.05rem;
    line-height: 1.7;
}













/* ===== ABOUT / SERVICES ===== */
.about-services {
    padding: 72px 0;
    background: #fff;
    overflow: hidden;
}

.about-services__wrap {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(420px, 620px);
    gap: 54px;
    align-items: center;
}

.about-services__content {
    max-width: 620px;
}

.about-services__eyebrow {
    display: inline-block;
    margin-bottom: 14px;
    font-size: 0.82rem;
    font-weight: 700;
    line-height: 1.2;
    color: #1a3d7c;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    opacity: 0.85;
}

.about-services__text {
    margin: 0 0 24px;
    font-size: 1rem;
    line-height: 1.9;
    color: #5f6673;
    max-width: 590px;
}

.about-services__stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-bottom: 24px;
}

.about-services__stat {
    padding: 16px 14px;
    border: 1px solid #e4edf9;
    background: #f9fbff;
    border-radius: 16px;
}

.about-services__stat strong {
    display: block;
    margin-bottom: 6px;
    font-size: 1.08rem;
    font-weight: 800;
    color: #1a3d7c;
}

.about-services__stat span {
    font-size: 0.88rem;
    line-height: 1.5;
    color: #667085;
}

.about-services__list {
    list-style: none;
    padding: 0;
    margin: 0 0 30px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px 26px;
}

.about-services__list li {
    position: relative;
    padding-left: 20px;
    font-size: 0.96rem;
    font-weight: 600;
    line-height: 1.55;
    color: #23324d;
}

.about-services__list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 9px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #1a3d7c;
}

.about-services__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.about-services__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 230px;
    padding: 14px 24px;
    border-radius: 12px;
    font-size: 0.96rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.25s ease;
    font-family: 'Montserrat', sans-serif;
}

.about-services__btn--primary {
    background: #1a3d7c;
    color: #fff;
    border: 2px solid #1a3d7c;
}

.about-services__btn--primary:hover {
    background: #163466;
    border-color: #163466;
}

.about-services__btn--secondary {
    background: transparent;
    color: #1a3d7c;
    border: 2px solid #1a3d7c;
}

.about-services__btn--secondary:hover {
    background: #1a3d7c;
    color: #fff;
}

.about-services__media {
    position: relative;
    max-width: 620px;
    margin-left: auto;
    padding-left: 36px;
    padding-bottom: 38px;
}

.about-services__photo {
    border-radius: 28px;
    overflow: hidden;
    background: linear-gradient(135deg, #edf3ff 0%, #dbe8ff 100%);
    border: 1px solid #d9e4f7;
    box-shadow: 0 18px 40px rgba(17, 45, 94, 0.08);
}

.about-services__photo--main {
    aspect-ratio: 4 / 4.35;
}

.about-services__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.about-services__floating {
    position: absolute;
    left: 0;
    bottom: 0;
    z-index: 2;
}

.about-services__floating-photo {
    width: 214px;
    aspect-ratio: 9 / 12;
    border-radius: 22px;
    overflow: hidden;
    background: linear-gradient(135deg, #edf3ff 0%, #dbe8ff 100%);
    border: 2px solid #fff;
    box-shadow: 0 14px 34px rgba(17, 45, 94, 0.16);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1200px) {
    .about-services__wrap {
        grid-template-columns: 1fr 520px;
        gap: 40px;
    }

    .about-services__media {
        padding-left: 24px;
        padding-bottom: 24px;
    }

    .about-services__floating-photo {
        width: 180px;
    }
}

@media (max-width: 1100px) {
    .about-services__wrap {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .about-services__content {
        max-width: 100%;
    }

    .about-services__media {
        max-width: 560px;
        width: 100%;
        margin: 0 auto;
        padding-left: 18px;
        padding-bottom: 18px;
    }

    .about-services__floating-photo {
        width: 170px;
    }
}

@media (max-width: 768px) {
    .about-services {
        padding: 52px 0;
    }

    .about-services__stats {
        grid-template-columns: 1fr;
    }

    .about-services__list {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .about-services__actions {
        flex-direction: column;
    }

    .about-services__btn {
        width: 100%;
        min-width: 0;
    }

    .about-services__media {
        padding-left: 0;
        padding-bottom: 0;
    }

    .about-services__photo--main {
        aspect-ratio: 4 / 5;
        border-radius: 22px;
    }

    .about-services__floating {
        position: static;
        margin-top: 16px;
    }

    .about-services__floating-photo {
        width: 100%;
        aspect-ratio: 16 / 10;
        border-radius: 18px;
        border: 1px solid #d9e4f7;
        box-shadow: 0 10px 26px rgba(17, 45, 94, 0.08);
    }
}

@media (max-width: 520px) {
    .about-services__text {
        font-size: 0.96rem;
        line-height: 1.8;
    }
}










/* ===== GALLERY MODAL ===== */
.gallery-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, .92);
    z-index: 10000;
    align-items: center;
    justify-content: center;
}

.gallery-overlay--open {
    display: flex;
}

.gallery__content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    max-width: 90%;
    max-height: 90vh;
}

.gallery__img {
    max-width: 100%;
    max-height: 82vh;
    object-fit: contain;
    border-radius: 8px;
}

.gallery__counter {
    color: rgba(255, 255, 255, .8);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 2px;
    font-variant-numeric: tabular-nums;
}

.gallery__close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, .1);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 50%;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .25s, transform .25s;
    z-index: 10001;
}

.gallery__close:hover {
    background: rgba(255, 255, 255, .25);
    transform: scale(1.1);
}

.gallery__arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 52px;
    height: 52px;
    background: rgba(255, 255, 255, .1);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 50%;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .25s, transform .25s;
    z-index: 10001;
}

.gallery__arrow:hover {
    background: rgba(255, 255, 255, .25);
    transform: translateY(-50%) scale(1.1);
}

.gallery__arrow:active {
    transform: translateY(-50%) scale(0.95);
}

.gallery__arrow--left {
    left: 24px;
}

.gallery__arrow--right {
    right: 24px;
}










/* ===== ROUTES ===== */
.routes {
    padding: 60px 0;
    background: #edf1f7;
}

.routes__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.route-card {
    display: flex;
    flex-direction: column;
    position: relative;
    background: #fff;
    border-radius: 14px;
    padding: 24px;
    border: 1px solid #e8e8e8;
    box-shadow: 0 6px 20px rgba(26, 61, 124, 0);
    transition: border-color .3s, box-shadow .3s, transform .3s;
    color: inherit;
}

.route-card:hover {
    border-color: #1a3d7c;
    box-shadow: 0 10px 30px rgba(26, 61, 124, .18);
}

.route-card--international {
    border-left: 4px solid #e8c800;
}

.route-card__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
}

.route-card__cities {
    font-weight: 700;
    font-size: 1.05rem;
    color: #1a3d7c;
    line-height: 1.3;
    transition: color .3s;
}

.route-card:hover .route-card__cities {
    color: #0f2a5c;
}

.route-card__price {
    font-weight: 800;
    font-size: 1.1rem;
    color: #222;
    white-space: nowrap;
    background: #f0f5ff;
    padding: 4px 10px;
    border-radius: 6px;
    transition: all 0s;
}

.route-card:hover .route-card__price {
    background: #1a3d7c;
    color: #fff;
}

.route-card__footer {
    margin-top: auto;
    display: flex;
    gap: 10px;
}

.route-card__book {
    order: -1;
}

.route-card__btn {
    display: block;
    flex: 1;
    text-align: center;
    padding: 10px 0;
    border: 2px solid #1a3d7c;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.9rem;
    color: #1a3d7c;
    background: #fff;
    transition: background .25s, color .25s, letter-spacing .25s;
}

.route-card:hover .route-card__btn {
    background: #1a3d7c;
    color: #fff;
    letter-spacing: 1px;
}

.route-card__book {
    display: block;
    flex: 1;
    text-align: center;
    padding: 10px 0;
    border: 2px solid #e8c800;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.9rem;
    font-family: 'Montserrat', sans-serif;
    color: #1a3d7c;
    background: #e8c800;
    cursor: pointer;
    transition: background .25s, color .25s, letter-spacing .25s;
}

.route-card__book:hover {
    background: #ffd900;
    letter-spacing: 1px;
}
.routes__contact {
    margin-top: 30px;
    background: linear-gradient(135deg, #1a3d7c, #0f2a5c);
    border-radius: 16px;
    padding: 30px;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.routes__contact::after {
    content: '';
    position: absolute;
    top: -40px;
    right: -40px;
    width: 160px;
    height: 160px;
    background: rgba(255,255,255,0.05);
    border-radius: 50%;
}

.routes__contact-title {
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 10px;
}

.routes__contact-text {
    font-size: 0.95rem;
    opacity: 0.9;
    margin-bottom: 20px;
    max-width: 500px;
}

.routes__contact-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.routes__contact-btn {
    padding: 10px 18px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all .25s;
}

.routes__contact-btn--primary {
    background: #e8c800;
    color: #1a3d7c;
}

.routes__contact-btn--primary:hover {
    background: #ffd900;
}

.routes__contact-btn--secondary {
    border: 2px solid #fff;
    color: #fff;
}

.routes__contact-btn--secondary:hover {
    background: #fff;
    color: #1a3d7c;
}









/* ===== REVIEWS ===== */
.reviews {
    padding: 60px 0;
    background: #edf1f7;
}

.reviews__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.reviews__slider {
    position: relative;
    padding: 0 64px;
}

.reviews__track {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    -ms-overflow-style: none;
    scrollbar-width: none;
    padding: 4px 0;
}

.reviews__track::-webkit-scrollbar {
    display: none;
}

.reviews__track .review-card {
    min-width: 300px;
    max-width: 340px;
    flex-shrink: 0;
}

.reviews__arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #fff;
    border: none;
    color: #1a3d7c;
    cursor: pointer;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .25s, color .25s, transform .25s, box-shadow .25s;
    box-shadow: 0 4px 14px rgba(26, 61, 124, .15);
}

.reviews__arrow:hover {
    background: #1a3d7c;
    color: #fff;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(26, 61, 124, .3);
}

.reviews__arrow:active {
    transform: translateY(-50%) scale(0.95);
}

.reviews__arrow--left {
    left: -2px;
}

.reviews__arrow--right {
    right: -2px;
}

.review-card {
    background: #fff;
    border-radius: 12px;
    padding: 28px 24px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, .06);
    display: flex;
    flex-direction: column;
    gap: 14px;
    transition: transform .2s, box-shadow .2s;
}

.review-card:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, .1);
}

.review-card__stars {
    display: flex;
    gap: 3px;
}

.review-card__text {
    font-size: 0.95rem;
    color: #444;
    line-height: 1.6;
    font-style: italic;
    flex: 1;
}

.review-card__author {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 12px;
    border-top: 1px solid #eee;
}

.review-card__avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #1a3d7c;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
    flex-shrink: 0;
}

.review-card__name {
    display: block;
    font-weight: 600;
    color: #222;
    font-size: 0.9rem;
}

.review-card__date {
    display: block;
    font-size: 0.78rem;
    color: #999;
}





/* ===== REVIEW MODAL ===== */
.review-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    z-index: 1100;
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s ease, visibility .3s ease;
}

.review-modal-overlay--open {
    opacity: 1;
    visibility: visible;
}

.review-modal {
    background: #fff;
    border-radius: 18px;
    padding: 34px 30px;
    max-width: 620px;
    width: 100%;
    position: relative;
    transform: translateY(24px);
    transition: transform .3s ease;
    box-shadow: 0 18px 44px rgba(17, 45, 94, 0.16);
}

.review-modal-overlay--open .review-modal {
    transform: translateY(0);
}

.review-modal__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
}

.review-modal__title {
    font-size: 1.45rem;
    font-weight: 800;
    color: #1a3d7c;
    margin: 0;
}

.review-modal__close {
    background: none;
    border: none;
    font-size: 1.8rem;
    color: #98a2b3;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    transition: color .2s ease;
}

.review-modal__close:hover {
    color: #1f2937;
}

.review-modal__form {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-top: 12px;
}

.review-modal__field {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.review-modal__label {
    font-size: 0.9rem;
    font-weight: 700;
    color: #4d5562;
}

.review-modal__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.review-modal__input {
    width: 100%;
    padding: 13px 14px;
    border: 2px solid #e3e6eb;
    border-radius: 12px;
    font-size: 1rem;
    font-family: 'Montserrat', sans-serif;
    color: #1f2937;
    background: #fff;
    outline: none;
    transition: border-color .22s ease, box-shadow .22s ease, background-color .22s ease;
}

.review-modal__input::placeholder {
    color: #98a2b3;
}

.review-modal__input:focus {
    border-color: #1a3d7c;
    box-shadow: 0 0 0 4px rgba(26, 61, 124, 0.08);
}

.review-modal__textarea {
    resize: vertical;
    min-height: 100px;
    max-height: 240px;
}

.review-modal__field--error .review-modal__input {
    border-color: #df4b41;
    background: #fffafa;
    box-shadow: 0 0 0 4px rgba(223, 75, 65, 0.08);
}

.review-modal__error {
    display: none;
    font-size: 0.8rem;
    color: #df4b41;
    font-weight: 600;
    line-height: 1.35;
}

.review-modal__error:not(:empty) {
    display: block;
}

.review-stars {
    display: flex;
    gap: 8px;
    margin-top: 2px;
}

.review-stars__btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 2px;
    border-radius: 6px;
    transition: transform .16s ease;
}

.review-stars__btn svg {
    fill: #d7dbe3;
    transition: fill .16s ease;
}

.review-stars__btn:hover svg,
.review-stars__btn.active svg {
    fill: #e8c800;
}

.review-stars__btn:hover {
    transform: scale(1.08);
}

.review-modal__submit {
    margin-top: 6px;
    font-size: 1rem;
    padding: 14px;
    border: none;
    cursor: pointer;
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.review-modal__submit-loader {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 2px solid rgba(26, 61, 124, 0.2);
    border-top-color: #1a3d7c;
    display: none;
    animation: reviewSpin .7s linear infinite;
}

.review-modal__submit.is-loading .review-modal__submit-loader {
    display: inline-block;
}

.review-modal__submit.is-loading .review-modal__submit-text {
    opacity: 0.9;
}

@keyframes reviewSpin {
    to {
        transform: rotate(360deg);
    }
}

.review-modal__success {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    text-align: center;
    padding: 24px 4px 4px;
    animation: reviewSuccessIn .28s ease;
}

.review-modal__success[hidden] {
    display: none !important;
}

@keyframes reviewSuccessIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.review-modal__success-icon {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background: #f3fcf6;
    display: flex;
    align-items: center;
    justify-content: center;
}

.review-modal__success-title {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 800;
    color: #1a3d7c;
}

.review-modal__success-text {
    margin: 0;
    max-width: 380px;
    font-size: 0.95rem;
    line-height: 1.7;
    color: #5f6673;
}

.review-modal__success-btn {
    margin-top: 6px;
    padding: 12px 18px;
    border-radius: 10px;
    border: 2px solid #1a3d7c;
    background: transparent;
    color: #1a3d7c;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.92rem;
    font-weight: 700;
    cursor: pointer;
    transition: all .2s ease;
}

.review-modal__success-btn:hover {
    background: #1a3d7c;
    color: #fff;
}

.review-modal__form[hidden] {
    display: none !important;
}

@media (max-width: 640px) {
    .review-modal {
        padding: 24px 18px;
    }

    .review-modal__row {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .review-stars {
        gap: 4px;
    }

    .review-stars__btn svg {
        width: 28px;
        height: 28px;
    }
}








/* ===== FAQ ===== */
.faq {
    padding: 70px 0;
    background: #fff;
}

.faq__inner {
    max-width: 1240px;
    margin: 0 auto;
}

.faq-questions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    align-items: start;
    margin-top: 6px;
}

.faq-column {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.faq__item {
    background: #fff;
    border: 1px solid #e4ebf5;
    border-radius: 18px;
    overflow: hidden;
    padding: 0;
    box-shadow: 0 6px 18px rgba(26, 61, 124, 0.04);
    transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.faq__item:hover {
    border-color: #d4e1f3;
    box-shadow: 0 10px 24px rgba(26, 61, 124, 0.06);
}

.faq__item.is-open {
    border-color: #c9d9f0;
    box-shadow: 0 12px 26px rgba(26, 61, 124, 0.07);
}

.faq__btn {
    width: 100%;
    min-height: 74px;
    border: 0;
    background: transparent;
    padding: 22px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    text-align: left;
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
}

.faq__title {
    font-size: 1.03rem;
    font-weight: 700;
    color: #1a3d7c;
    line-height: 1.5;
    max-width: 92%;
}

.faq__icon {
    flex-shrink: 0;
    color: #1a3d7c;
    transition: transform 0.3s ease, color 0.3s ease;
}

.faq__item.is-open .faq__icon {
    transform: rotate(-180deg);
    color: #163466;
}

.faq__panel {
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transform: translateY(-6px);
    transition: max-height 0.38s ease, opacity 0.28s ease, transform 0.28s ease;
    will-change: max-height, opacity, transform;
}

.faq__item.is-open .faq__panel {
    max-height: var(--faq-h, 220px);
    opacity: 1;
    transform: translateY(0);
}

.faq__content {
    padding: 0 24px 22px;
    border-top: 1px solid #edf2f8;
}

.faq__text {
    margin: 16px 0 0;
    font-size: 0.95rem;
    color: #5f6673;
    line-height: 1.75;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
    .faq-questions {
        grid-template-columns: 1fr;
        gap: 14px;
    }
}

@media (max-width: 768px) {
    .faq {
        padding: 54px 0;
    }

    .faq__btn {
        min-height: 68px;
        padding: 18px 18px;
        gap: 14px;
    }

    .faq__title {
        font-size: 0.98rem;
        line-height: 1.45;
    }

    .faq__content {
        padding: 0 18px 18px;
    }

    .faq__text {
        font-size: 0.92rem;
        line-height: 1.68;
    }
}








/* ===== ROUTE DETAIL PAGE ===== */
.route-detail {
    padding: 40px 0 60px;
    min-height: 70vh;
    background: #edf1f7;
}

.route-detail__back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #1a3d7c;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 24px;
    transition: opacity .2s;
    line-height: 14px;
}

.route-detail__back:hover {
    opacity: .7;
}

.route-detail__title {
    font-size: 2rem;
    font-weight: 800;
    color: #1a3d7c;
    margin-bottom: 32px;
}

.route-detail__grid {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 32px;
    align-items: start;
}

.route-detail__departures {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.route-detail__duration {
    background: #f0f5ff;
    border: 1px solid #d6e4f7;
    border-radius: 10px;
    padding: 14px 20px;
    margin-bottom: 20px;
    font-size: 1rem;
    color: #1a3d7c;
}

.departure-card {
    background: #fff;
    border-radius: 12px;
    padding: 24px;
    border: 1px solid #e8e8e8;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .04);
}

.departure-card__city {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1a3d7c;
    margin-bottom: 6px;
}

.departure-card__schedule {
    font-size: 0.85rem;
    color: #888;
    margin-bottom: 14px;
    font-weight: 600;
}

.departure-card__times {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 18px;
}

.departure-card__time {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #eaf0fb;
    color: #1a3d7c;
    font-weight: 700;
    font-size: 14px;
    padding: 6px 12px;
    border-radius: 8px;
}

.departure-card__info {
    display: flex;
    flex-direction: column;
    gap: 8px;
    border-top: 1px solid #f0f0f0;
    padding-top: 14px;
}

.departure-card__row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.departure-card__label {
    color: #888;
    font-size: 0.9rem;
}

.departure-card__value {
    font-weight: 600;
    font-size: 0.95rem;
    color: #222;
}

.departure-card__value--price {
    color: #1a3d7c;
    font-weight: 800;
    font-size: 1.1rem;
}

.route-detail__bus {
    background: #fff;
    border-radius: 12px;
    padding: 24px;
    border: 1px solid #e8e8e8;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .04);
    position: sticky;
    top: 90px;
}

.route-detail__subtitle {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1a3d7c;
    margin-bottom: 6px;
}

.route-detail__bus-model {
    font-size: 0.9rem;
    color: #888;
    font-weight: 600;
    margin-bottom: 18px;
}

.route-detail__amenities {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.route-detail__amenities li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    font-weight: 600;
    color: #333;
}

.route-detail__amenities li svg {
    flex-shrink: 0;
}

.route-detail__actions {
    margin-top: 36px;
    text-align: center;
}

.route-detail__actions-section {
    padding: 40px 0 50px;
    background: #fff;
    text-align: center;
}

.route-detail__actions-section .route-detail__actions {
    margin-top: 0;
}

.route-detail__book {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 1.05rem;
    padding: 16px 40px;
}










/* ===== ADVANTAGES (route page) ===== */
.advantages {
    padding: 60px 0;
    background: #fff;
}

.advantages__desc {
    max-width: 800px;
    margin: 0 auto 36px;
    text-align: center;
    color: #555;
    font-size: 0.95rem;
    line-height: 1.8;
}

.advantages__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.advantages__card {
    background: #f7f9fc;
    border-radius: 12px;
    padding: 28px 24px;
    text-align: center;
    border: 1px solid #e8e8e8;
    transition: transform .2s, box-shadow .2s;
}

.advantages__card:hover {
    box-shadow: 0 8px 24px rgba(26, 61, 124, .1);
}

.advantages__icon {
    margin-bottom: 18px;
}

.advantages__text {
    font-size: 0.92rem;
    color: #444;
    line-height: 1.7;
}










/* ===== CONTACT SECTION ===== */
.contact {
    padding: 60px 0;
    background: #edf1f7;
}

.contact__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.contact__info,
.contact__form-wrap {
    background: #fff;
    border-radius: 14px;
    padding: 32px;
    border: 1px solid #e8e8e8;
    box-shadow: 0 8px 24px rgba(26, 61, 124, 0.04);
}

.contact__heading {
    font-size: 1.25rem;
    font-weight: 800;
    color: #1a3d7c;
    margin-bottom: 8px;
}

.contact__desc,
.contact__form-desc {
    font-size: 0.92rem;
    color: #7a7a7a;
    line-height: 1.65;
    margin-bottom: 22px;
}

.contact__list {
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.contact__list li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
    color: #333;
    line-height: 1.5;
}

.contact__list li a {
    color: #1a3d7c;
    text-decoration: none;
    font-weight: 600;
}

.contact__list li a:hover {
    text-decoration: underline;
}

.contact__schedule {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: #555;
    font-weight: 600;
    padding-top: 16px;
    border-top: 1px solid #f0f0f0;
    line-height: 1.5;
}

.contact__form {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 14px;
}
.contact__form[hidden],
.contact__success[hidden] {
    display: none !important;
}

.contact__field {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.contact__label {
    font-size: 0.9rem;
    font-weight: 700;
    color: #4d5562;
}

.contact__input {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #e3e6eb;
    border-radius: 12px;
    font-size: 1rem;
    font-family: 'Montserrat', sans-serif;
    color: #1f2937;
    background: #fff;
    transition:
        border-color .22s ease,
        box-shadow .22s ease,
        background-color .22s ease;
    outline: none;
}

.contact__input::placeholder {
    color: #98a2b3;
}

.contact__input:focus {
    border-color: #1a3d7c;
    box-shadow: 0 0 0 4px rgba(26, 61, 124, 0.08);
}

.contact__textarea {
    resize: none;
    min-height: 130px;
    max-height: 260px;
}

.contact__field--error .contact__input {
    border-color: #df4b41;
    background: #fffafa;
    box-shadow: 0 0 0 4px rgba(223, 75, 65, 0.08);
}

.contact__error {
    display: none;
    min-height: 18px;
    font-size: 0.8rem;
    color: #df4b41;
    font-weight: 600;
    line-height: 1.35;
}

.contact__error:not(:empty) {
    display: block;
}

.contact__submit {
    margin-top: 4px;
    font-size: 1rem;
    padding: 15px 16px;
    border: none;
    cursor: pointer;
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    position: relative;
    transition: transform .18s ease, opacity .18s ease;
}

.contact__submit:hover {
    transform: translateY(-1px);
}

.contact__submit:disabled {
    cursor: not-allowed;
    opacity: 0.8;
    transform: none;
}

.contact__submit-loader {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 2px solid rgba(26, 61, 124, 0.2);
    border-top-color: #1a3d7c;
    display: none;
    animation: contactSpin .7s linear infinite;
}

.contact__submit.is-loading .contact__submit-loader {
    display: inline-block;
}

.contact__submit.is-loading .contact__submit-text {
    opacity: 0.9;
}

@keyframes contactSpin {
    to {
        transform: rotate(360deg);
    }
}

.contact__success {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    text-align: center;
    padding: 28px 8px;
    animation: contactSuccessIn .28s ease;
}

.contact__success[hidden] {
    display: none;
}

@keyframes contactSuccessIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.contact__success-icon {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background: #f3fcf6;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact__success-title {
    font-size: 1.2rem;
    font-weight: 800;
    color: #1a3d7c;
    margin: 0;
}

.contact__success-text {
    margin: 0;
    max-width: 360px;
    font-size: 0.95rem;
    line-height: 1.7;
    color: #5f6673;
}

.contact__success-btn {
    margin-top: 6px;
    padding: 12px 18px;
    border-radius: 10px;
    border: 2px solid #1a3d7c;
    background: transparent;
    color: #1a3d7c;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.92rem;
    font-weight: 700;
    cursor: pointer;
    transition: all .2s ease;
}

.contact__success-btn:hover {
    background: #1a3d7c;
    color: #fff;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
    .contact__grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

@media (max-width: 768px) {
    .contact {
        padding: 48px 0;
    }

    .contact__info,
    .contact__form-wrap {
        padding: 24px;
    }

    .contact__success {
        min-height: auto;
        padding: 16px 0 4px;
    }
}








/* ===== FLOATING SOCIALS ===== */
.floating-socials {
    position: fixed;
    right: 24px;
    bottom: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 50;
}

.floating-socials__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    color: #fff;
    font-weight: 700;
    font-size: 0.7rem;
    transition: transform .2s, box-shadow .2s;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .2);
}

.floating-socials__btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 18px rgba(0, 0, 0, .3);
}

.floating-socials__btn--telegram {
    background: #0088cc;
}

.floating-socials__btn--messenger {
    background: #0078FF;
}

.floating-socials__btn--call {
    background: #1a3d7c;
    border-radius: 26px;
    width: auto;
    padding: 0 20px;
    font-size: 0.85rem;
}









/* ===== FOOTER ===== */
.footer {
    background: #1a3d7c;
    padding: 50px 0 0;
    color: #ccc;
}

.footer__inner {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 30px;
    align-items: start;
}

.footer__heading {
    font-size: 1.1rem;
    font-weight: 800;
    color: #e8c800;
    margin-bottom: 16px;
}

.footer__heading--socials {
    margin-top: 24px;
}

.footer__list li {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, .8);
}

.footer__list--nav a {
    color: rgba(255, 255, 255, .8);
    font-weight: 500;
    transition: color .2s;
}

.footer__list--nav a:hover {
    color: #e8c800;
}

.footer__schedule {
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 4px;
}

.footer__schedule-note {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, .6);
}

.footer__socials {
    display: flex;
    gap: 10px;
}

.footer__social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #0088cc;
    transition: transform .2s, background .2s;
}

.footer__social-btn:hover {
    transform: scale(1.1);
}

.footer__social-btn--viber {
    background: #665CAC;
}

.footer__social-btn--viber img {
    filter: brightness(0) invert(1);
}

.footer__social-btn--whatsapp {
    background: #25D366;
}

.footer__social-btn--facebook {
    background: #1877F2;
}

.footer__social-btn--instagram {
    background: linear-gradient(135deg, #f58529, #dd2a7b, #8134af);
}

.footer__bottom {
    margin-top: 40px;
    padding: 16px 0;
    background: rgba(0, 0, 0, .2);
    color: rgba(255, 255, 255, .6);
    text-align: center;
    font-size: 0.85rem;
}

















.btn--review {
    background: #f0f5ff !important;
    color: #1a3d7c !important;
    border-color: #1a3d7c !important;
    padding-top: 10px !important;
    padding-bottom: 10px !important;
    font-size: 0.97rem !important;
    box-shadow: none !important;
}

.btn--review:hover {
    background: #1a3d7c !important;
    color: #fff !important;
    box-shadow: 0 4px 14px rgba(26, 61, 124, .3) !important;
}

/* ===== ПОПУЛЯРНИЙ РЕЙС ===== */
.popular-route {
    padding: 60px 0;
    background: #fff;
}

.popular-route__card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    background: #f7f9fc;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid #e8e8e8;
    box-shadow: 0 8px 32px rgba(26, 61, 124, .08);
}
.popular-route__column {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.popular-route__img-wrap {
    position: relative;
    height: 100%;
    min-height: 340px;
}

.popular-route__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.popular-route__badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: #e8c800;
    color: #1a3d7c;
    font-weight: 800;
    font-size: 0.85rem;
    padding: 6px 14px;
    border-radius: 20px;
    letter-spacing: .3px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .15);
}

.popular-route__info {
    padding: 40px 40px 40px 0;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.popular-route__title {
    font-size: 2rem;
    font-weight: 800;
    color: #1a3d7c;
    line-height: 1.2;
}

.popular-route__desc {
    font-size: 0.97rem;
    color: #555;
    line-height: 1.75;
}

.popular-route__features {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.popular-route__features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    font-weight: 600;
    color: #333;
}

.popular-route__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-top: 12px;
    padding: 20px 24px;
    background: linear-gradient(135deg, #f0f5ff 0%, #e8f0fe 100%);
    border-radius: 14px;
    border: 1px solid rgba(26, 61, 124, .12);
    flex-wrap: wrap;
}

.popular-route__price-block {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.popular-route__price-label {
    font-size: 0.78rem;
    font-weight: 600;
    color: #888;
    text-transform: uppercase;
    letter-spacing: .6px;
}

.popular-route__footer .route-card__btn {
    flex: none;
    padding: 12px 40px;
    font-size: 0.95rem;
    transition: background .25s, color .25s, transform .2s, box-shadow .2s;
}

.popular-route__footer .route-card__btn:hover {
    background: #1a3d7c;
    color: #fff;
    box-shadow: 0 4px 14px rgba(26, 61, 124, .3);
}

.popular-route__price {
    font-size: 2rem;
    color: #1a3d7c;
    font-weight: 900;
    line-height: 1;
    letter-spacing: -.5px;
}

.popular-route__price strong {
    font-size: inherit;
    font-weight: inherit;
    color: inherit;
}

.popular-route__price-currency {
    font-size: 1rem;
    font-weight: 600;
    color: #555;
    margin-left: 4px;
}







@media (max-width: 1024px) {
    .services__inner {
        grid-template-columns: 1fr;
    }

    .booking-box {
        max-width: 400px;
    }

    .routes__grid {
        grid-template-columns: 1fr 1fr;
    }

    .route-detail__grid {
        grid-template-columns: 1fr 280px;
    }

    /* Стрілки слайдера відгуків не потрібні на тач-пристроях */
    .reviews__arrow {
        display: none;
    }

    .reviews__slider {
        padding: 0;
    }




    .popular-route__card {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .popular-route__img-wrap {
        min-height: 260px;
    }

    .popular-route__info {
        padding: 30px;
    }

    .popular-route__title {
        font-size: 1.6rem;
    }




    .container {
        padding: 0 12px;
    }

    .footer__inner {
        grid-template-columns: 1fr 1fr;
    }







        .burger {
        display: flex;
    }

    .nav__close {
        display: block;
    }

    .nav {
        position: fixed;
        top: 0;
        right: 0;
        width: 280px;
        height: 100vh;
        background: #fff;
        box-shadow: -8px 0 24px rgba(0, 0, 0, .12);
        padding: 80px 24px 32px;
        transform: translateX(100%);
        transition: transform .3s;
        z-index: 99;
    }

    .nav--open {
        transform: translateX(0);
    }

    .nav__list {
        flex-direction: column;
        gap: 4px;
    }

    .nav__link {
        display: block;
        padding: 12px 16px;
    }

    .footer__inner {
        grid-template-columns: 1fr;
    }
}



@media (max-width: 768px) {
    .floating-socials {
        right: 8px;
        bottom: 12px;
        gap: 8px;
    }

    .floating-socials__btn {
        width: 40px;
        height: 40px;
    }

    .floating-socials__btn--call {
        padding: 0 12px;
        font-size: 0.75rem;
    }
    .header__inner {
        padding: 0 12px;
    }




    .hero__title {
        font-size: 1.8rem;
    }

    .hero__subtitle {
        font-size: 1rem;
    }

    .hero {
        min-height: 360px;
    }

    .services__grid {
        grid-template-columns: 1fr;
    }

    .fleet__showcase {
        grid-template-columns: 1fr;
    }

    .routes__grid {
        grid-template-columns: 1fr;
    }

    .route-detail__grid {
        grid-template-columns: 1fr;
    }

    .route-detail__title {
        font-size: 1.5rem;
    }

    .advantages__grid {
        grid-template-columns: 1fr;
    }

    .contact__grid {
        grid-template-columns: 1fr;
    }







    .popular-route__info {
        padding: 24px;
    }

    .popular-route__title {
        font-size: 1.35rem;
    }
    .faq-questions {
        flex-direction: column;
    }

}


@media (max-width: 480px) {
    .hero__title {
        font-size: 1.4rem;
    }

    .hero__content {
        padding: 40px 0;
    }





    .btn {
        padding: 12px 20px;
        font-size: 0.85rem;
    }

    .modal__row {
        grid-template-columns: 1fr;
    }




}

@media (max-width: 390px) {
    .hero {
        min-height: 300px;
    }

    .hero__title {
        font-size: 1.2rem;
    }

    .hero__subtitle {
        font-size: 0.85rem;
        margin-bottom: 24px;
    }

    .hero__content {
        padding: 32px 0;
    }

    .hero__dots {
        bottom: 12px;
        gap: 8px;
    }

    .dot {
        width: 10px;
        height: 10px;
    }

    .services {
        padding: 28px 0;
    }

    .service-card {
        padding: 18px;
    }

    .service-card__title {
        font-size: 0.95rem;
    }

    .service-card__text {
        font-size: 0.82rem;
    }

    .booking-box {
        padding: 20px 16px;
    }

    .booking-box__title {
        font-size: 0.9rem;
    }

    .about {
        padding: 40px 0;
    }

    .about__text {
        font-size: 0.92rem;
    }

    .tariffs {
        padding: 40px 0;
    }

    .tariff-card {
        padding: 24px 18px;
    }

    .tariff-card__title {
        font-size: 1.05rem;
    }

    .tariff-card__price {
        font-size: 1.2rem;
    }

    .tariff-card__price strong {
        font-size: 1.35rem;
    }

    .fleet {
        padding: 40px 0;
    }

    .fleet__info {
        padding: 22px 18px;
    }

    .fleet__model {
        font-size: 1.2rem;
    }

    .fleet__desc {
        font-size: 0.85rem;
    }

    .fleet__amenities {
        gap: 12px;
    }

    .fleet__amenities li {
        font-size: 0.85rem;
        gap: 8px;
    }

    .fleet__amenities li svg {
        width: 18px;
        height: 18px;
    }

    .routes {
        padding: 40px 0;
    }

    .route-card {
        padding: 18px;
    }

    .route-card__header {
        flex-direction: column;
        gap: 8px;
    }

    .route-card__cities {
        font-size: 0.95rem;
    }

    .route-card__price {
        font-size: 1rem;
        align-self: flex-start;
    }

    .route-card__footer {
        flex-direction: column;
        gap: 8px;
    }

    .route-card__btn,
    .route-card__book {
        padding: 10px 0;
        font-size: 0.82rem;
    }

    .reviews {
        padding: 40px 0;
    }

    .reviews__slider {
        padding: 0 32px;
    }

    .reviews__track .review-card {
        min-width: 240px;
        max-width: 260px;
    }

    .reviews__arrow {
        width: 30px;
        height: 30px;
    }

    .reviews__arrow svg {
        width: 14px;
        height: 14px;
    }

    .reviews__arrow--left {
        left: -4px;
    }

    .reviews__arrow--right {
        right: -4px;
    }

    .review-card {
        padding: 20px 16px;
        gap: 12px;
    }

    .review-card__text {
        font-size: 0.85rem;
    }

    .review-card__avatar {
        width: 36px;
        height: 36px;
        font-size: 0.75rem;
    }

    .review-card__name {
        font-size: 0.82rem;
    }

    .faq {
        padding: 40px 0;
    }

    .faq__question {
        font-size: 0.92rem;
        padding: 14px 0;
    }

    .faq__answer {
        font-size: 0.85rem;
    }

    .contact {
        padding: 40px 0;
    }

    .contact__info {
        padding: 22px 18px;
    }

    .contact__form-wrap {
        padding: 22px 18px;
    }

    .contact__heading {
        font-size: 1.1rem;
    }

    .contact__input {
        padding: 10px 12px;
        font-size: 0.9rem;
    }

    .floating-socials {
        right: 6px;
        bottom: 8px;
        gap: 6px;
    }

    .floating-socials__btn {
        width: 36px;
        height: 36px;
    }

    .floating-socials__btn--call {
        padding: 0 10px;
        font-size: 0.7rem;
    }

    .gallery__arrow {
        width: 40px;
        height: 40px;
    }

    .gallery__arrow--left {
        left: 8px;
    }

    .gallery__arrow--right {
        right: 8px;
    }

    .gallery__close {
        top: 12px;
        right: 12px;
        width: 36px;
        height: 36px;
    }

    .route-detail {
        padding: 60px 0 40px;
    }

    .route-detail__title {
        font-size: 1.25rem;
    }

    .route-detail__bus {
        padding: 18px;
    }

    .departure-card {
        padding: 18px;
    }

    .departure-card__time {
        padding: 6px 14px;
        font-size: 0.95rem;
    }

    .advantages {
        padding: 40px 0;
    }

    .advantages__card {
        padding: 22px 18px;
    }

    .advantages__text {
        font-size: 0.85rem;
    }









    .container {
        padding: 0 12px;
    }

    .header__inner {
        padding: 0 12px;
        height: 60px;
    }

    .logo__icon {
        width: 70px;
        height: 58px;
    }

    .logo__text {
        font-size: 1.15rem;
    }

    .logo__subtitle {
        font-size: 0.45rem;
        letter-spacing: 1.5px;
    }

    .section-title {
        font-size: 1.35rem;
        margin-bottom: 16px;
    }

    .btn {
        padding: 10px 16px;
        font-size: 0.8rem;
        gap: 6px;
    }

    .modal {
        padding: 28px 20px;
        width: 95%;
    }

    .modal--review {
        max-width: 100%;
    }

    .modal__title {
        font-size: 1.15rem;
    }

    .modal__input {
        padding: 10px 12px;
        font-size: 0.9rem;
    }

    .footer {
        padding: 36px 0 0;
    }

    .footer__inner {
        gap: 24px;
    }

    .footer__heading {
        font-size: 1rem;
        margin-bottom: 12px;
    }

    .footer__bottom {
        margin-top: 28px;
        font-size: 0.75rem;
    }


}
