/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Rubik', sans-serif;
    background: #fff;
    color: #172432;
    width: 100%;
    margin: 0;
    overflow-x: hidden;
}

.logo .desktop-logo-icon {
    margin-bottom: -45px;
    display: block;
}
@media screen and (max-width: 765px) {
    .logo .desktop-icon, .logo .desktop-logo-icon {
        display: none;
    }
}

@media screen and (min-width: 766px) {
    .logo .mobile-icon {
        display: none;
    }
}

/* Header */
.header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 10;
    transition: all 0.3s ease;
}
body:not(.main-page, .routes-sec) .header {
    background: #6b9b8a;
}
body.routes-sec.routes-page .header {
    background: #6b9b8a;
}

.header-inner {
    width: 100%;
    height: 128px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0;
    max-width: 1556px;
    margin: 0 auto;
}
.header-fixed .header-inner {
    height: auto;
}
.header-inner .logo {
    flex-shrink: 0;
    width: 205px;
}

.logo .desktop-icon {
    position: absolute;
    top: 0;
    background: #fff;
    padding: 30px 20px 30px;
    clip-path: polygon(0 0, 100% 0px, 100% 80%, 50% 60%, 0 80%);
    width: 205px;
    height: 175px;
}

.auth-buttons {
    display: flex;
    align-items: center;
    gap: 36px;
}

.auth-link {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
    color: #fff;
    text-decoration: none;
}

.auth-link img {
    width: 18px;
    height: 18px;
}

.btn-register {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: #5a9678;
    border-radius: 12px;
    padding: 20px 32px;
    font-size: 20px;
    color: #fff;
    text-decoration: none;
    transition: background 0.3s;
}

.btn-register:hover {
    background: #4a8068;
}

.btn-register img {
    width: 18px;
    height: 18px;
}

.header-fixed {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 1000 !important;
    background: #6b9b8a !important;
    padding: 15px 40px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    padding-top: 7px !important;
    padding-bottom: 7px !important;
}

.header-fixed .desktop-icon {
    display: none !important;
}
.header-fixed .desktop-logo-icon {
    display: none !important;
}
.header-fixed .mobile-icon {
    display: block !important;
}

.mobile-icon {
    display: none;
}

.header-fixed .logo {
    padding: 0;
}
.header-fixed .menu-item.active::after {

    bottom: -4px;
    height: 3px;
    background: #DBFFED;
}

.header-fixed .auth-link,
.header-fixed .btn-register {
    padding: 8px 16px;
    font-size: 14px;
}

/* Добавить отступ для контента под фиксированным хедером */
body.header-is-fixed {
    padding-top: 80px;
}


.menu-item {
    text-decoration: none;
    color: #fff;
    font-size: 20px;
    font-weight: 400;
    transition: color 0.3s;
    white-space: nowrap;
    position: relative;
    font-style: normal;
    line-height: normal;
}

.menu-item:hover {
    opacity: 0.8;
}

.menu-item.active {
    font-weight: 500;
}

.menu-item.active::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -4px;
    height: 3px;
    background: #5A9678;
}

.auth-buttons {
    display: flex;
    gap: 16px;
    align-items: center;
}

.auth-link {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: #DBFFED;
    font-size: 16px;
    font-weight: 500;
    padding: 10px 20px;
    border-radius: 8px;
    transition: all 0.3s;
}

.auth-link:hover {
    background: rgba(219, 255, 237, 0.1);
}

.btn-register {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: #DBFFED;
    font-size: 16px;
    font-weight: 500;
    padding: 10px 20px;
    border: 1px solid #DBFFED;
    border-radius: 8px;
    transition: all 0.3s;
}

.btn-register:hover {
    background: #DBFFED;
    color: #6b9b8a;
}

/* Бургер-меню */
.hamburger-menu {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    width: 30px;
    height: 22px;
    position: relative;
    flex-shrink: 0;
}

.hamburger-menu span {
    display: block;
    width: 25px;
    height: 3px;
    background: #fff;
    border-radius: 2px;
    position: relative;
    transition: all 0.3s;
}

.header-fixed .hamburger-menu span {
    background: #DBFFED;
}

/* Мобильное меню */
.mobile-menu {
    border-radius: 0px 0px 10px 10px;
    font-family: 'Rubik', sans-serif;
    position: fixed;
    top: -100%; /* Изменено с right: -100% */
    left: 0; /* Добавлено */
    right: 0; /* Добавлено */
    width: 100%;
    max-width: 100%; /* Изменено с 400px */
    height: auto;
    background: #fff;
    z-index: 2000;
    transition: top 0.3s ease; /* Изменено с right */
    overflow-y: auto;
}

.mobile-menu.active {
    top: 0;
}

.mobile-menu-header {
    background: #6b9b8a;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mobile-menu-logo svg {
    height: 34px;
}

.mobile-menu-actions {
    display: flex;
    gap: 12px;
}

.mobile-menu-back,
.mobile-menu-close {
    width: 40px;
    height: 40px;
    border: none;
    background: transparent;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.3s;
}

.mobile-menu-back:hover,
.mobile-menu-close:hover {
    background: rgba(255, 255, 255, 0.1);
}

.mobile-menu-content {
    padding: 40px 63px;
    display: flex;
    flex-direction: column;
    gap: 0px;
}

.mobile-menu-item {
    text-decoration: none;
    color: #6b9b8a;
    font-size: 24px;
    font-weight: 250;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 0;
    transition: color 0.3s;
}

.mobile-menu-item:last-child {
    border-bottom: none;
}

.mobile-menu-item:hover,
.mobile-menu-item.active {
    color: #5a8978;
}

.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Показать на мобильных */
@media (max-width: 968px) {
    .header {
        padding: 15px 20px;
    }

    .hamburger-menu {
        display: flex !important;
    }

    /* Скрыть desktop меню */
    nav#mainMenu {
        display: none !important;
    }


    .auth-buttons {
        display: none !important;
    }

    .desktop-icon, .desktop-logo-icon {
        display: none !important;
    }

    .mobile-icon {
        display: block !important;
    }
}

@media (max-width: 480px) {
    .mobile-menu {
        max-width: 100%;
    }

    .mobile-menu-item {
        font-size: 20px;
    }
}

@media (max-width: 968px) {
    .header nav.menu,
    nav#mainMenu,
    .menu#mainMenu {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        pointer-events: none !important;
        gap: 22px;
        align-items: center;
    }
}

.menu {
    display: flex;
    gap: 32px;
    align-items: center;
}

section.auth .container {
    padding: 175px 0px 75px;
    max-width: 1556px;
    width:100%;
    margin: 0 auto;
    box-sizing: border-box;
    height: 80vh;
}
@media(max-width: 1555px) {
    section.auth .container {
        padding: 175px 30px 75px;
    }
}

/* Container для центрирования контента */
.container-wrapper {
    width: 100%;
    min-width: 320px;
}
section.breadcrumb {
    margin-top: 140px;
}
.breadcrumb-container {
    max-width: 1556px;
    margin: 0 auto;
    box-sizing: border-box;
}
.content-page {
    padding: 20px 0px 80px;
    max-width: 1556px;
    margin: 0 auto;
    box-sizing: border-box;
}


/* Hero Section */
.hero-section {
    position: relative;
    width: 100%;
    height: 1197px;
    overflow: hidden;
}

.hero-bg {
    /*position: absolute;*/
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
    max-height: 1197px;
}
@media (max-width: 768px) {
    .hero-bg {
        max-height: 470px;
    }
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.65) 8.654%, rgba(0, 0, 0, 0) 30.18%, rgba(0, 0, 0, 0.65) 85.66%);
    pointer-events: none;
}

.hero-content {
    position: absolute;
    top: 240px;
    z-index: 5;
    width: 100%;
}
.hero-content-inner {
    width: 100%;
    max-width: 1556px;
    color: #fff;
    margin: 0 auto;
    padding: 0;
}
.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: 84px;
    font-weight: 400;
    line-height: 1.1;
    max-width: 1100px;
    margin-bottom: 36px;
}

.hero-subtitle {
    font-size: 34px;
    font-weight: 400;
    line-height: 1.4;
    max-width: 1100px;
    margin-bottom: 80px;
}

.hero-description {
    max-width: 1100px;
    font-size: 24px;
    font-weight: 400;
    line-height: 1.5;
    color: #fff;
    z-index: 5;
}

.hero-description p {
    margin-bottom: 20px;
}

.hero-description p:last-child {
    margin-bottom: 0;
}

.hero-cta-wrapper {
    width: 100%;
    position: absolute;
    bottom: 80px;
    left: 0;

    z-index: 5;
}
.hero-cta {
    max-width: 1556px;
    margin: 0 auto;
}
.hero-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #fff;
    max-width: 1240px;
    margin-right: auto;
    border-radius: 20px;
    width: 100%;
    height: auto;
    min-height: 165px;
    padding: 0px;
}

.cta-text {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    font-weight: 400;
    line-height: 1.4;
    color: #000;
    flex: 1;
    max-width: 1044px;
    padding: 40px 20px 40px 40px;
}

.hero-cta-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    background: #5a9678;
    border-radius: 0 20px 20px 0;
    padding: 12px 37px;
    font-family: 'Playfair Display', serif;
    font-size: 36px;
    font-weight: 400;
    line-height: 1;
    color: #fff;
    text-decoration: none;
    transition: background 0.3s;
    white-space: nowrap;
    flex-shrink: 0;
    height: 100%;
    min-height: 165px;
}

.hero-cta-btn:hover {
    background: #4a8068;
}
.hero-cta-icon {
    margin-bottom: -5px;
}

/* Trip Planners Section */
.trip-planners {
    padding: 75px 0px;
    display: flex;
    gap: 68px;
    max-width: 1556px;
    margin: 0 auto;
    box-sizing: border-box;

}

#advantages.trip-planners {
    display: grid;
    grid-template-columns: 1fr 2fr;
}

.section-title {
    width: 443px;
    flex-shrink: 0;
}

.section-title h2 {
    font-family: 'Playfair Display', serif;
    font-size: 54px;
    font-weight: 400;
    line-height: 1;
    margin-bottom: 20px;
}

.title-underline {
    width: 231px;
    height: 3px;
    background: #5a9678;
    margin-bottom: 32px;
}

.section-description {
    font-size: 22px;
    color: #767e86;
    line-height: 1.5;
}

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

.feature-item {
    display: grid;
    grid-template-columns: 146px 1fr;
    gap: 22px;
    align-items: start;
}

.feature-item img {
    width: 146px;
    height: 167px;
    border-radius: 26px;
    object-fit: cover;
}

.feature-item p {
    font-size: 22px;
    color: #767e86;
    line-height: 1.5;
}

/* Section Header */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 40px;
}

.section-header.reverse {
    flex-direction: row-reverse;
}

.section-title-block {
    flex: 1;
}

.section-title-block h2 {
    font-family: 'Playfair Display', serif;
    font-size: 54px;
    font-weight: 400;
    line-height: 1;
    margin-bottom: 20px;
}

.section-title-block.right {
    text-align: right;
    padding-right: 0px;
}

.section-title-block.right .title-underline {
    margin-left: auto;
}

.section-subtitle {
    font-size: 24px;
    color: #767e86;
    margin-top: 32px;
}

.slider-arrows {
    display: flex;
    gap: 40px;
}

.arrow-btn {
    width: 60px;
    height: 66px;
    border: 2px solid #5a9678;
    border-radius: 12px;
    background: #5a9678;
    cursor: pointer;
    transition: all 0.3s;
}
.arrow-btn.swiper-button-disabled {
    border-color: #172432;
    background: #172432;
}
/* .arrow-btn:hover {
        background: #172432;
    } */

.arrow-btn:hover {
    background: #4a8068;
}

/* Advantages Section */
.advantages {
    padding: 45px 0px;
    max-width: 1556px;
    margin: 0 auto;
    box-sizing: border-box;
    max-height: 1000px;
}

.advantages-swiper {
    width: 100%;
    overflow: inherit !important;
    max-height: 630px;
}
.advantages-swiper .swiper-wrapper {
    height: auto;
}
/* Адаптив */
/*
@media (min-width: 768px) {
    .advantage-card {
        width: calc((100% - 20px) / 2);
    }
}

@media (min-width: 1024px) {
    .advantage-card {
        width: calc((100% - 60px) / 3);
    }
}*/

.advantages-cards {
    display: flex;
    gap: 55px;
    overflow-x: auto;
}

.advantage-card {
/*    min-width: 490px;*/
    border-radius: 26px;
    height: auto !important;
    display: -webkit-box !important;
    display: -ms-flexbox !important;
    display: flex !important;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
}

.advantage-card .card-image {
    width: 100%;
    height: 250px;
    border-radius: 26px 26px 0 0;
    overflow: hidden;
    min-height: 250px;
}

.advantage-card .card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.advantage-card .card-content {
    background: #ecf5f0;
    padding: 40px 24px;
    border-radius: 0 0 26px 26px;
    height: 100%;
}

.advantage-card h3 {
    font-family: 'Mulish', sans-serif;
    font-size: 25px;
    font-weight: 600;
    color: #5a9678;
    margin-bottom: 24px;
    height: 62.5px;
}

.advantage-card p {
    font-size: 18px;
    color: #172432;
    line-height: 1.5;
    height: 100%;
    min-height: 162px;
}

/* Special Offers Section */
.special-offers {
    padding: 45px 0px;
    max-width: 1556px;
    margin: 0 auto;
    box-sizing: border-box;
}

.offers-cards {
    display: flex;
    gap: 32px;
}

.offer-card {
    display: flex;
    flex-direction: column;
    max-height: 740px;
}

.card-image-badge {
    position: relative;
    width: 100%;
    height: 286px;
    border-radius: 26px 26px 0 0;
    overflow: hidden;
}

.card-image-badge img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.badge {
    position: absolute;
    top: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 20px 30px;
    border-radius: 0 26px 0 0;
    text-align: center;
}

.badge-number {
    font-size: 79px;
    font-weight: 400;
    display: block;
    line-height: 1;
}

.badge-text {
    font-size: 18px;
    display: block;
    line-height: 1.2;
}

.offer-card .card-content {
    background: #ecf5f0;
    padding: 40px 24px;
    border-radius: 0 0 26px 26px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.offer-card a {
    text-decoration: none;
}
.offer-card h3 {
    font-family: 'Mulish', sans-serif;
    font-size: 25px;
    font-weight: 400;
    color: #5a9678;
    margin-bottom: 16px;
}

.rating {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 20px;
}

.rating img {
    width: 24px;
    height: 24px;
}

.reviews {
    margin-left: 12px;
    font-size: 20px;
    color: #767e86;
}

.card-description {
    font-size: 18px;
    color: #172432;
    line-height: 1.5;
    margin-bottom: 20px;
    flex: 1;
    min-height: 135px;
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.duration {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 20px;
    color: #767e86;
}

.duration img {
    width: 28px;
    height: 28px;
}

.time {
    font-size: 40px;
    color: #5a9678;
    font-weight: 400;
    text-wrap: nowrap;
    padding-right: 10px;
}

.btn-details {
    background: #5a9678;
    color: #fff;
    padding: 20px 0px;
    border-radius: 12px;
    text-decoration: none;
    font-size: 20px;
    text-transform: uppercase;
    transition: background 0.3s;
    text-align: center;
    width: 160px;
}

.btn-details:hover {
    background: #4a8068;
}

/* History Section */
.history {
    padding: 45px 0px;
    max-width: 1556px;
    margin: 0 auto;
    box-sizing: border-box;
}

.history-content {
    display: flex;
    gap: 70px;
    align-items: center;
}

.history-image {
    width: 584px;
}

.history-image img {
    width: 100%;
    height: 873px;
    object-fit: cover;
    border-radius: 26px;
}

.history-text {
    flex: 1;
    text-align: right;
}

.history-text h2 {
    font-family: 'Playfair Display', serif;
    font-size: 54px;
    font-weight: 400;
    margin-bottom: 40px;
}

.history-description p {
    /* font-size: 28px;
    line-height: 1.5;
    margin-bottom: 20px; */
}

.btn-more {
    display: inline-block;
    background: #5a9678;
    color: #fff;
    padding: 20px 40px;
    border-radius: 12px;
    text-decoration: none;
    font-size: 20px;
    text-transform: uppercase;
    margin-top: 40px;
    transition: background 0.3s;
}

.btn-more:hover {
    background: #4a8068;
}

/* Popular Places Section */
.popular-places {
    padding: 75px 0px;
    max-width: 1556px;
    margin: 0 auto;
    box-sizing: border-box;
    /* max-height: 880px; */
}

.places-swiper {
    width: 100%;
    overflow: inherit !important;
    max-height: 661px;
}

.places-swiper .swiper-wrapper {
    max-height: 661px;
    height: auto;
}
.place-card {
    width: 320px;
    height: auto;
}

.place-content {
    margin-top: 15px;
}

.place-content h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.location-link, .auth-places-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #4A7C59;
    text-decoration: none;
    font-size: 14px;
}

.location-link:hover, .auth-places-link:hover {
    text-decoration: underline;
}

.places-cards {
    display: flex;
    gap: 32px;
    overflow-x: auto;
}

.place-card {
    position: relative;
    max-height: 661px;
    border-radius: 26px;
    overflow: hidden;
}

.place-card img {
    width: 100%;
    height: 100%;
    min-height: 661px;
    object-fit: cover;
    border-radius: 12px;
}

.place-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 40px 24px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: #fff;
}

.place-content h3 {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    font-weight: 500;
    margin-bottom: 17px;
}

.location-link, .auth-places-link {
    display: flex;
    align-items: center;
    gap: 16px;
    color: #fff;
    text-decoration: none;
    font-size: 24px;
}

.location-link img, .auth-places-link img {
    width: 24px;
    height: 24px;
}

/* Gallery Section */
.gallery {
    padding: 45px 0px;
    max-width: 1556px;
    margin: 0 auto;
    box-sizing: border-box;
    /* max-height: 880px; */
}

.gallery-swiper {
    max-height: 630px;
}
.gallery-swiper .swiper-wrapper {
    padding: 30px 0;
    height: auto;
}
/* .gallery-grid {
    display: flex;
    gap: 32px;
} */

.gallery-item {
    /* flex: 1; */
    max-height: 540px;
    border-radius: 26px;
    overflow: hidden;

}
.gallery-item a {
    display: block;
}
.gallery-item.large {
    flex: 1;

}

.gallery-item img {

    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Testimonials Section */
.testimonials {
    padding: 45px 0px 0px;
    max-width: 1556px;
    margin: 0 auto;
    box-sizing: border-box;
}

.testimonials-cards {
    max-height: 100%;
    overflow: inherit !important;
}

.testimonial-card {
    position: relative;
    background: #f5f6f7;
    border-radius: 12px;
    padding: 60px 40px 40px;
    /* flex: 1; */
}

.avatar {
    position: absolute;
    top: -65px;
    left: 40px;
    width: 100px;
    height: 100px;
    border-radius: 100px;
    object-fit: cover;
}

.testimonial-text {
    font-size: 18px;
    color: #767e86;
    line-height: 1.5;
    margin-bottom: 20px;
}

.testimonial-card .rating {
    margin-bottom: 20px;
}

.author h4 {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    font-weight: 400;
    color: #767e86;
    margin-bottom: 4px;
}

.author p {
    font-size: 18px;
    color: #767e86;
}
.testimonial_popap {
    display: none; width:100%; max-width: 800px;
}
.testimonial_popap_link-container {
    margin-top: -10px;
    text-align: right;
}
.testimonial_popap_link:active,
.testimonial_popap_link:hover,
.testimonial_popap_link {
    color: #000;
    text-decoration: none;
    outline: none;
}

/* Newsletter Section */
.newsletter {
    padding: 80px 0px;
    max-width: 1556px;
    margin: 0 auto;
    box-sizing: border-box;
}

.newsletter-content {
    background: #fff;
    border-radius: 26px;
    box-shadow: 0 0 4px rgba(0, 0, 0, 0.3);
    padding: 52px 57px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 60px;
}

.newsletter-left {
    flex: 1;
    max-width: 600px;
}

.newsletter-left h2 {
    font-family: 'Playfair Display', serif;
    font-size: 34px;
    color: #3a6150;
    margin-bottom: 40px;
    line-height: 1.2;
}

.newsletter-subtitle {
    font-size: 20px;
    color: #767e86;
    margin-bottom: 20px;
    line-height: 1.4;
}

.newsletter-description {
    font-size: 20px;
    color: #767e86;
    line-height: 1.4;
}

.newsletter-right {
    display: flex;
    flex-direction: column;
    gap: 24px;
    width: 50%;
    flex-shrink: 0;
}
.newsletter-form {
    display: flex;
    gap: 50px;
    flex-wrap: wrap;
}
.form-group {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding-top: 20px;
}

.form-group label {
    font-size: 20px;
    color: #3a6150;
    font-weight: 400;
}

.form-group input {
    background: #ecf5f0;
    border: none;
    border-radius: 12px;
    padding: 24px 20px;
    font-size: 20px;
    color: #5a9678;
    font-family: 'Rubik', sans-serif;
}

.form-group input::placeholder {
    color: #5a9678;
    opacity: 0.7;
}

.form-group input:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(90, 150, 120, 0.3);
}
.form-group-footer {
    width: 100%;
}
.newsletter-form .price-block {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 8px;
}

.newsletter-form  .price-info {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    flex-direction: column;
    height: 100%;
}

.newsletter-form .price-content {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
}

.newsletter-form .price-label {
    font-size: 20px;
    color: #3a6150;
    font-weight: 400;
}

.newsletter-form .price-value {
    font-family: 'Rubik', sans-serif;
    font-size: 74px;
    font-weight: 600;
    color: #5a9678;
    line-height: 1;
}

.newsletter-form-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    background: #5a9678;
    border-radius: 0 20px 20px 0px;
    padding: 12px 37px;
    font-family: 'Playfair Display', serif;
    font-size: 36px;
    color: #fff;
    text-decoration: none;
    transition: background 0.3s;
    white-space: nowrap;
    align-self: flex-end;
    width: 100%;
    line-height: 1;
    cursor: pointer;
    outline: none;
    border: none;
}

.newsletter-form-btn:hover {
    background: #4a8068;
}

.newsletter-form-btn img {
    width: 21px;
    height: auto;
}

/* Footer */
.footer {
    background: #172432;
    padding: 76px 80px 90px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    color: #fff;
    max-width: 1556px;
    margin: 0 auto;
    box-sizing: border-box;
}

.footer-logo img {
    width: 188px;
    height: 120px;
    margin-bottom: 16px;
}

.footer-logo p {
    font-size: 14px;
}
.footer-logo .copyright {
    margin-top: 15px;
    line-height: 1.8;
    font-weight: normal;
}

.footer-column {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-column h4 {
    font-size: 24px;
    font-weight: 500;
    margin-bottom: 0;
}

.footer-column ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-column.menu-column ul {
    gap: 16px;
}

.footer-column a {
    color: #fff;
    text-decoration: none;
    font-size: 18px;
}

.footer-column.menu-column a {
    font-size: 22px;
}

.footer-column a:hover {
    opacity: 0.8;
}

.social-icons {
    display: flex;
    gap: 24px;
}

.social-icons a {
    display: block;
}

.social-icons img {
    width: 39px;
    height: 39px;
}


/*detail*/
.contents-title-text {
    max-width: 378px;
    display: block;
    line-height: 1;
    padding-bottom: 25px;
}
.structure-nav .contents-title-nav-icon {
    display: none;
}

/* MEDIA QUERIES */

@media (max-width: 1580px) {
    .header:not(.header-fixed) {
        padding: 0 80px;
    }
    .header:not(.header-fixed) .logo {
        width: 165px;
    }
    .header:not(.header-fixed) .logo .desktop-icon {
        width: 160px;
        height: 165px;
    }
    .header:not(.header-fixed) .logo .desktop-icon img {
        max-width: 165px;
        width: 100%;
    }
    .hero-content-inner {
        padding: 0 80px;
    }
    .hero-cta {
        padding: 0 80px;
    }
    .trip-planners {
        padding: 75px 80px;
    }
    .advantages {
        padding: 45px 80px;
    }
    .special-offers {
        padding: 45px 80px;
    }
    .history {
        padding: 45px 80px;
    }
    .popular-places {
        padding: 75px 80px;
    }
    .gallery {
        padding: 45px 80px;
    }
    .testimonials {
        padding: 45px 80px 0px;
    }
    .newsletter {
        padding: 80px 80px;
    }
    /*rout detail*/
    .hero-detail-content {
        padding: 100px 80px 0;
    }
    .hero-detail-title {
        font-size: 64px;
    }
    .hero-detail-desc {
        font-size: 24px;
    }
    .contents-block {
        padding: 60px 80px;
    }
    .contents-block .swiper-wrapper {
        height: auto;
    }
}

@media (max-width: 1536px) {
    .advantages-wrapper, .places-wrapper, .testimonials-wrapper {
        max-width: 1536px;
        overflow: hidden !important;
    }
}

@media (max-width: 1500px) {
    #mainMenu .menu-item {
        font-size: 16px;
    }
    .features-grid {
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        gap: 30px;
        flex: 1;
    }
    .section-subtitle {
        margin-right: 20px;
    }
    .duration span:first-child {
        display: none;
    }
}

@media (max-width: 1440px) {
    .hero-section {
        height: 1024px;
    }
    .hero-content {
        top: 160px;
    }
    .hero-title {
        font-size: 64px;
    }
    .hero-subtitle {
        font-size: 28px;
        margin-bottom: 70px;
    }
    .hero-cta-inner {
        max-width: 80%;
    }
    #mainMenu {
        gap: 22px;
    }

    .advantages-wrapper, .places-wrapper, .testimonials-wrapper {
        max-width: 1440px;
        overflow: hidden !important;
    }
    /*rout detail*/
    .contents-block {
        padding: 40px 80px;
    }
    .route-point {
        margin-bottom: 0px;
    }
    .route-point-title {
        font-size: 34px;
    }
    .route-point-number {
        width: 80px;
        height: 80px;
        min-width: 80px;
    }
    .route-point-map {
        width: 80px;
        min-width: 80px;
        height: 80px;
    }
    .route-point-map svg {

    }
    .route-point-number-num {
        font-size: 50px;
        margin-top: -10px;
    }
}

@media (max-width: 1366px) {
    .advantages-wrapper, .places-wrapper, .testimonials-wrapper {
        max-width: 1366px;
        overflow: hidden !important;
    }
}

@media (max-width: 1280px) {
    .cta-text {
        padding: 20px 20px 20px 40px;
    }
    .advantages-wrapper, .places-wrapper, .testimonials-wrapper {
        max-width: 1280px;
        overflow: hidden !important;
    }
    .offers-swiper {
        /*max-height: 770px;*/
    }
    .offer-card {

    }
    .newsletter-form {
        gap: 40px;
        flex-direction: column;
    }
    .testimonials-cards > .swiper-wrapper {
        max-height: 100%;
        height: auto;
    }
    /*rout detail*/
    .contents-title-text {
        max-width: 100%;
        display: block;
        line-height: 1;
        padding-bottom: 25px;
    }
    .contents-block {
        display: block;
    }
    .route-point-gallery {
        margin-top: 25px;
    }
}
@media (max-width: 1180px) {
    .advantages-wrapper, .places-wrapper, .testimonials-wrapper {
        max-width: 1180px;
        overflow: hidden !important;
    }
    #advantages .section-title {
        width: 100%;
        max-width: 100%;
    }
    #advantages.trip-planners {
        grid-template-columns: 1fr;
    }
    #advantages .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    /*rout detail*/
    .contents-block {
        padding: 40px 40px;
    }

}

@media (max-width: 1080px) {
    .advantages-wrapper, .places-wrapper, .testimonials-wrapper {
        max-width: 1080px;
        overflow: hidden !important;
    }
}
/* Tablet */
@media (max-width: 1025px) {
    .header {
        padding: 24px 5%;
    }
    .header:not(.header-fixed) {
        padding: 0 40px;
    }
    .logo img {
/*        width: 150px;
        height: 128px;*/
    }
    .menu-item {
        font-size: 16px;
    }
    .auth-buttons {
        gap: 20px;
    }
    .auth-link {
        font-size: 16px;
    }
    .btn-register {
        padding: 15px 24px;
        font-size: 16px;
    }
    .hero-content {
        left: 0;
    }
    .hero-content-inner {
        padding: 0 40px;
    }
    .hero-title {
        font-size: 54px;
    }
    .hero-subtitle {
        font-size: 24px;
    }
    .hero-description {
        top: 450px;
        left: 5%;
        font-size: 18px;
        max-width: 65%;
    }
    .hero-cta {
        padding: 0 40px;
    }
    .cta-text {
        font-size: 20px;
        padding-left: 5%;
    }
    .hero-cta-btn {
        width: 180px;
        height: 120px;
        font-size: 28px;
    }
    .trip-planners {
        padding: 50px 40px;
        gap: 40px;
    }

    .section-title {
        width: 100%;
    }

    .section-title h2 {
        font-size: 48px;
    }

    .features-grid {
        gap: 40px;
        grid-template-columns: 1fr;
    }

    .feature-item p {
        font-size: 18px;
    }

    .advantages,
    .special-offers,
    .history,
    .popular-places,
    .gallery,
    .testimonials {
        padding: 40px 40px;
    }

    .section-title-block h2 {
        font-size: 48px;
    }

    .newsletter {
        padding: 40px 40px;
    }

    .newsletter-content {
        gap: 40px;
    }

    .newsletter-left h2 {
        font-size: 48px;
    }

    .newsletter-right {
        width: 380px;
    }

    .footer {
        padding: 60px 5% 100px;
    }

    .advantages-wrapper, .places-wrapper, .testimonials-wrapper {
        max-width: 1024px;
        overflow: hidden !important;
    }
    .duration span:first-child {
        display: inline-block;
    }

    /* route detail*/
    .route-point-title {
        margin-top: -10px;
    }
    .route-point-number {
        width: 60px;
        height: 60px;
        min-width: 60px;
    }
    .route-point-map {
        width: 60px;
        min-width: 60px;
        height: 60px;
    }
    .route-point-header, .route-point-header-left {
        align-items: flex-start;
    }
    .route-point-number-num {
        font-size: 40px;
    }
    .route-point-map svg {

    }
    .detail-right-nav-wrapper {
        right: 10px;
    }
    .detail-right-nav-wrapper.fix-n {
        right: 10px;
    }
    .contents-columns {
        gap: 0px;
        padding-left: 0px;
    }
    .before-after-container {
        max-height: 625px;
    }

}

@media (max-width: 1025px) {
    .popular-places, .testimonials, .advantages {
        padding: 40px 0px;
        overflow: hidden;
    }
    .advantages .section-header,
    .popular-places .section-header,
    .testimonials .section-header
    {
        margin: 0 40px 40px;
    }
    .advantages-swiper-container,
    .places-swiper-container,
    .testimonials-cards-container
    {
        padding: 0 40px;
    }


}

@media (max-width: 992px) {
    .advantages-wrapper, .places-wrapper, .testimonials-wrapper {
        max-width: 992px;
        overflow: hidden !important;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .header {
        padding: 10px 16px;
        justify-content: space-between;
        width: 100%;
    }

    .hero-section {
        height: 470px;
        min-height: 470px;
    }

    .logo img {
        width: 100px;
        height: 85px;
        flex-shrink: 0;
    }

    .menu {
        display: none;
    }

    .auth-buttons {
        display: none;
    }

    .hero-content {
        top: 100px;
    }

    .hero-title {
        font-size: 44px;
        font-weight: 400;
        line-height: 1;
    }

    .hero-subtitle {
        font-size: 18px;
        line-height: 1.3;
    }

    .hero-description {
        display: none;
    }

    .hero-cta {

    }

    .cta-text {
        display: none;
    }
    .hero-cta-wrapper {
        width: 100%;
        position: absolute;
        bottom: 60px;
        left: 0;
    }
    .hero-cta-inner {
        min-height: auto;
        max-width: 250px;
    }
    .hero-cta-btn {
        width: 100%;
        height: auto;
        min-height: auto;
        font-size: 32px;
        border-radius: 20px;
    }

    .trip-planners {
        flex-direction: column;
        gap: 32px;
    }

    #advantages.trip-planners {
        grid-template-columns: 1fr;
    }

    .section-title h2 {
        font-size: 36px;
    }

    .title-underline {
        width: 227px;
    }

    .section-description {
        font-size: 16px;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    #advantages .features-grid {
        grid-template-columns: repeat(1, 1fr);
    }
    .feature-item {
        grid-template-columns: 95px 1fr;
        gap: 15px;
    }

    .feature-item img {
        width: 95px;
        height: 108px;
        border-radius: 16px;
    }

    .feature-item p {
        font-size: 16px;
    }

    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 32px;
        margin-bottom: 28px;
    }

    .section-header.reverse {
        flex-direction: column;
    }

    .section-title-block h2 {
        font-size: 36px;
    }

    .section-title-block.right {
        text-align: left;
    }

    .section-title-block.right .title-underline {
        margin-left: 0;
    }

    .section-subtitle {
        font-size: 18px;
    }

    .advantages {
        max-height: 100%;
        height: auto;
    }
    .advantages-swiper {
        max-height: 100%;
        height: auto;
    }
    .advantages-cards {
        gap: 32px;
    }

    .advantage-card {
        min-width: 288px;
    }

    .advantage-card .card-image {
        height: 320px;
        border-radius: 16px 16px 0 0;
    }

    .advantage-card .card-content {
        padding: 20px 15px;
        height: auto;
    }

    .advantage-card h3 {
        font-size: 20px;
        height: auto;
    }

    .advantage-card p {
        font-size: 16px;
        height: auto;
    }

    .special-offers .section-header {
        flex-direction: column-reverse;
    }

    .offers-cards {
        flex-direction: column;
        gap: 30px;
    }

    .offer-card {
        width: 100%;
    }

    .card-image-badge {
        height: 300px;
    }

    .offer-card .card-content {
        padding: 20px 24px 15px;
    }

    .offer-card h3 {
        font-size: 20px;
    }

    .rating {
        margin-bottom: 15px;
    }

    .reviews {
        font-size: 14px;
    }

    .card-description {
        font-size: 16px;
    }

    .card-footer {
        flex-direction: column;
        gap: 17px;
        align-items: flex-start;
    }

    .duration {
        font-size: 14px;
    }

    .time {
        font-size: 24px;
    }

    .btn-details {
        padding: 15px 30px;
        font-size: 16px;
    }

    .history {

    }

    .history-content {
        flex-direction: column;
        gap: 24px;
    }

    .history-image {
        width: 100%;
    }

    .history-image img {
        height: 442px;
    }

    .history-text {
        text-align: left;
    }

    .history-text h2 {
        font-size: 36px;
        margin-bottom: 24px;
    }

    .history-description p {
        font-size: 16px;
        line-height: 25px;
    }

    .btn-more {
        font-size: 20px;
        margin-top: 24px;
    }

    .popular-places {

    }

    .places-cards {
        gap: 18px;
    }

    .place-card {
        min-width: 237px;
        height: 316px;
    }

    .place-content {
        padding: 40px 24px;
    }

    .place-content h3 {
        font-size: 16px;
        margin-bottom: 17px;
    }

    .location-link, .auth-places-link {
        font-size: 14px;
    }

    .gallery {

    }

    /* .gallery-grid {
        flex-direction: column;
    } */

    .gallery-item {
        height: 320px;
        width: 100%;
    }

    .testimonials {

    }

    .testimonials-cards {
        flex-direction: column;
        gap: 80px;
    }

    .testimonial-card {
        padding: 60px 20px 32px;
        width: 100%;
    }

    .avatar {
        left: 20px;
    }

    .testimonial-text {
        font-size: 18px;
        line-height: 23px;
    }

    .author h4 {
        font-size: 24px;
    }

    .author p {
        font-size: 18px;
    }

    .newsletter {

        margin-bottom: 60px;
    }

    .newsletter-content {
        flex-direction: column;
        padding: 40px 20px 60px;
        gap: 40px;
    }

    .newsletter-left {
        max-width: 100%;
    }

    .newsletter-left h2 {
        font-size: 36px;
        margin-bottom: 20px;
    }

    .newsletter-subtitle {
        font-size: 18px;
        margin-bottom: 10px;
    }

    .newsletter-description {
        display: none;
    }

    .newsletter-right {
        width: 100%;
    }

    .form-group input {
        padding: 24px 20px;
    }

    .price-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .price-value {
        font-size: 48px;
    }

    .newsletter-form-btn {
        width: 100%;
        padding: 15px 40px;
        font-size: 32px;
        align-self: stretch;
        border-radius: 12px;
    }

    .footer {
        padding: 40px 16px 80px;
    }

    .footer-content {
        flex-direction: column;
        gap: 60px;
    }

    .footer-logo img {
        width: 188px;
        height: 120px;
    }

    .footer-column h4 {
        font-size: 24px;
    }

    .footer-column ul {
        gap: 16px;
    }

    .footer-column a {
        font-size: 18px;
    }

    .newsletter-form .price-value {
        font-size: 48px;
    }
    /* route detail */
    .structure-nav {
        padding: 0px;
    }
    .contents-columns {
        padding: 15px 40px;
    }
    .structure-nav .contents-title::before {
        display: none;
    }
    .contents-left {
        padding: 10px 20px 10px 40px;
    }
    .structure-closed .contents-left {
        border-radius: 0 0 10px 10px;
        background: #75BD99;

    }
    .structure-nav.structure-closed .contents-title {
        color: #fff;
    }
    .structure-nav .contents-title-text {
        display: inline;
        padding-bottom: 0px;
    }
    .contents-toggle {
        width: 57.5px;
    }
    .structure-nav .contents-title-nav-icon {
        display: none;
    }
    .structure-nav.structure-closed .contents-title-nav-icon {
        display: inline-block;
    }
    .structure-nav .contents-toggle .contents-toggle-icon {
        display: flex;
        width: 30px;
        height: 30px;
        padding: 10px 20px;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 4px;
        border-radius: 10px;
        background: #5A9678;
    }

    .structure-nav .contents-toggle-icon svg {
        transition: transform 0.3s;
    }
    .structure-nav .contents-toggle.collapsed .contents-toggle-icon svg {
        transform: rotate(180deg);
    }
    .structure-nav .contents-toggle .contents-toggle-text {
        opacity: 1;
        display: block;
        color: #000;
    }
    .structure-nav .contents-toggle.collapsed .contents-toggle-text {
        opacity: 0;
        display: none;
    }
    .structure-nav.structure-closed .show-hide-action {
        display: none;
    }

    .structure-nav.fixed {
        position: fixed;
        bottom: 0;
        z-index: 1111;
        background: #fff;
    }
    .structure-nav.fixed .contents-left {
        margin-bottom: 0;
        border-radius: 0;
    }
    .structure-nav.fixed .contents-left.structure-closed {
        margin-bottom: 0;
    }
    .structure-nav.fixed .contents-columns {
        background: #fff;
        height: 80vh;
        overflow: scroll;
    }
    .structure-nav.fixed .contents-left::before {
        bottom: 0px;
    }
    .structure-nav.fixed .contents-columns.collapsed {
        height: auto;
    }
    .show-hide-action {
        padding: 0 40px;
    }
    .structure-nav.fixed .hr-mobile-delimitter {
        margin-top: 22px;
    }
    .show-hide-action .contents-toggle-bottom {
        margin-right: -20px;
        width: auto;
        margin-top: 0;
    }
    .contents-left {
        position: relative;
    }
    .contents-left:before {
        content: '';
        position: absolute;
        bottom: -10px;
        width: 100%;
        height: 3px;
        background-color: #2C5F4D;
        max-width: 231px;
    }
    .structure-closed .contents-left:before {
        display: none;
    }
}


/*.testimonials .swiper-slide {
    height: fit-content !important;
}

.container {
    font-family: 'Playfair Display', serif;
    font-weight: 400;
    font-style: normal;
    font-size: 24px;
}*/

@media (max-width: 600px) {
    /* detail */
    .hero-detail-content {
        padding: 60px 40px 0;
    }
    .hero-detail-title {
        font-size: 40px;
    }
    .route-point-title {
        font-size: 22px;
    }
    .route-point-header-left {
        gap: 15px;
    }
    .route-point-number {
        width: 40px;
        height: 40px;
        min-width: 40px;
    }
    .route-point-map {
        width: 40px;
        min-width: 40px;
        height: 40px;
    }
    .route-point-number-num {
        font-size: 24px;
    }
    .route-point-map svg {

    }
    .route-point-text {
        font-size: 16px;
    }

    .detail-right-nav {
        flex-direction: row;
    }
    .detail-right-nav-wrapper, .detail-right-nav-wrapper.fixedRoundNav.fix-b {
        display: none;
    }
    .detail-right-nav-wrapper.fixedRoundNav {
        display: flex;
        bottom: 62px;
        left: 50%;
        top: auto;
        transform: translateX(-50%);
        right: auto !important;
        background: #fff;
        padding: 10px 0;
        z-index: 11;
    }
}
@media (max-width: 480px) {
    body.overflowed.ready-overflow {
        overflow: hidden;
    }
    .header:not(.header-fixed) {
        padding: 0 20px;
    }
    .header-inner {
        height: 80px;
    }
    .hero-title {
        font-size: 36px;
    }
    .hero-cta-btn {
        font-size: 24px;
    }
    .arrow-btn {
        width: 51px;
        height: 47px;
    }

    .trip-planners {
        padding: 50px 20px;
    }

    .advantages .section-header, .popular-places .section-header, .testimonials .section-header {
        margin: 0 20px 20px;
    }
    .advantages-swiper-container, .places-swiper-container, .testimonials-cards-container {
        padding: 0 20px;
    }

    .advantages {
        position: relative;
        padding-bottom: 70px;
    }
    .advantages .slider-arrows {
        position: absolute;
        bottom: 0;
        left: 20px;
    }
    .advantage-card .card-image {
        border-radius: 16px;
    }
    .advantage-card .card-content {
        display: none;
    }

    .special-offers {
        position: relative;
        padding: 40px 20px 70px;
    }
    .special-offers .slider-arrows {
        position: absolute;
        bottom: 0;
        left: 20px;
    }
    .offer-card .duration {
        font-size: 16px;
        position: relative;
        padding-bottom: 20px;
    }
    .offer-card .duration:after {
        content: "";
        display: block;
        position: absolute;
        bottom: 0;
        left: 0;
        height: 3px;
        width: 100%;
        background: rgb(255, 215, 0);
    }
    .offer-card .btn-details {
        position: relative;
        background: transparent;
        color: #5a9678;
        padding: 0;
        text-align: left;
        text-transform: capitalize;
        font-size: 20px;
        line-height: 1;
    }
    .offer-card .btn-details:after {
        content: "";
        display: block;
        background: url("images/svg/arrow.svg");
        width: 30px;
        height: 20px;
        background-size: 100%;
        position: absolute;
        right: 0;
        top: 0;
    }
    .offer-card .card-footer {
        gap: 25px;
        padding-bottom: 15px;
    }

    .history {
        padding: 40px 20px;
    }
    .history .section-header {
        margin-bottom: 30px;
    }
    .history .history-content {
        gap: 30px;
    }

    .popular-places {
        position: relative;
        padding: 40px 0px 70px;
    }
    .popular-places .slider-arrows {
        position: absolute;
        bottom: 0;
        left: 20px;
    }
    .places-swiper {
        max-width: 90%;
        margin-left: 0 !important;
    }
    .place-card img {
        object-fit: cover;
        min-height: 450px;
        max-height: 450px;
    }

    .gallery {
        position: relative;
        padding: 40px 20px 70px;
        overflow: hidden;
    }
    .gallery .section-header {
        margin-bottom: 0;
    }
    .gallery .slider-arrows {
        position: absolute;
        bottom: 0;
        left: 20px;
    }
    .gallery-swiper {
        width: 100%;
        max-width: 90%;
        margin-left: 0 !important;
        overflow: inherit !important;
    }
    .gallery .gallery-item {
        max-height: 100%;
    }
    .gallery-item img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        max-height: 450px;
    }
    .testimonials {
        position: relative;
        padding: 40px 0px 70px;
    }
    .testimonials .slider-arrows {
        position: absolute;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
    }
    .newsletter {
        padding: 40px 20px 50px;
        margin-bottom: 0;
    }
    .newsletter-content {
        gap: 0;
    }
    .footer-content {
        gap: 0px;
    }
    .footer-content .footer-logo {
        margin-bottom: 20px;
    }
    .footer-content .menu-column {
        margin-bottom: 16px;
    }
    .footer-content .footer-contacts {
        margin-top: 15px;
    }
    /* detail */

    .hero-detail-content {
        padding: 60px 40px 0;
    }
    .contents-toggle {
        width: auto;
        position: relative;
    }

    .detail-right-nav-wrapper.fixedRoundNav {
        width: 100%;
    }
    .detail-right-nav {
        flex-direction: row;
        width: 100%;
        gap: 12px;
        justify-content: center;
    }

    .structure-nav.fixed:not(.structure-closed) {
        height: 100vh;
    }
    .structure-nav.fixed .contents-columns {
        background: #fff;
        height: calc(100% - 100px);
        overflow: scroll;
    }
    .structure-nav .contents-title {
        font-size: 26px;
    }
    .structure-nav .contents-title-text {
        position: relative;
        top: -3px;
    }
    .structure-nav .contents-toggle .contents-toggle-text {
        position: absolute;
        bottom: -18px;
    }
    .contents-left {
        padding: 10px 20px 10px 20px;
    }
    .contents-columns {
        padding: 15px 20px;
    }
    .contents-block {
        padding: 40px 20px;
        overflow: hidden;
    }
    .gallery-swiper .swiper-slide {
        overflow: hidden;
        border-radius: 12px;
    }
    .route-point-gallery {
        margin-bottom: 0;
    }
    .route-point-gallery .gallery-swiper {
        padding-bottom: 50px;
    }
    .route-point-gallery .swiper-button-prev {
        bottom: 0;
        top: auto;
        right: 40px;
        left: auto;
    }
    .route-point-gallery .swiper-button-next {
        bottom: 0;
        top: auto;
        right: -40px;
        left: auto;
    }
    .structure-nav.contents-block {
        padding: 0px;
    }
    .detail-right-nav-wrapper.fixedRoundNav {
        bottom: 54px;
    }
    .before-after-container {
        max-height: 350px;
    }
    .before-after-container a {
        display: block;
        max-height: 350px;
    }
    .before-image, .after-image {
        height: auto;
        min-height: 351px;
        margin-top: -1px;
    }
    .gallery-swiper .swiper-button-prev, .gallery-swiper .swiper-button-next {
        background: #5A9678;
        width: 51px;
        height: 47px;
    }
    .gallery-swiper .swiper-button-prev.swiper-button-disabled,
    .gallery-swiper .swiper-button-next.swiper-button-disabled {
        background: rgba(0, 0, 0, 0.9);
        opacity: 1;
    }

}

@media (max-width: 428px) {
    .history .history-image img {
        height: 100%;
        object-fit: cover;
        max-height: 442px;
    }
}

@media (max-width: 414px) {
    .hero-section {
        height: 397px;
        min-height: 397px;
    }
}

@media (max-width: 393px) {
    .place-card img {
        object-fit: cover;
        min-height: 320px;
        max-height: 320px;
    }
    .gallery-item img {
        object-fit: cover;
        max-height: 320px;
    }
}