/* ===== Reset & Base ===== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

:root {
    --font-sans: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", "Helvetica Neue", Arial, sans-serif;
    --font-serif: "Noto Serif TC", "Songti TC", "SimSun", serif;
}

body {
    font-family: var(--font-sans);
    color: #2b2b3d;
    line-height: 1.6;
    background: #ffffff;
    overflow-x: hidden;
}

h1,
h2,
h3 {
    font-family: var(--font-serif);
}

button,
input,
select,
textarea {
    font-family: inherit;
}

img {
    display: block;
    max-width: 100%;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== Navbar ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: transparent;
    transition: background 0.4s, box-shadow 0.4s, backdrop-filter 0.4s;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
    position: relative;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 18px;
    font-family: var(--font-serif);
    font-weight: 700;
    color: #1fb6c9;
}

.logo i {
    font-size: 20px;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    font-size: 14px;
    font-weight: 500;
    color: #2b2b3d;
    transition: color 0.2s;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 0;
    height: 2px;
    background: #1fb6c9;
    transition: width 0.25s;
}

.nav-links a:hover {
    color: #1fb6c9;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a.active {
    color: #1fb6c9;
    font-weight: 700;
}

.nav-links a.active::after {
    width: 100%;
}

.language-switch {
    position: relative;
    display: inline-flex;
    align-items: center;
    width: 68px;
    height: 30px;
    padding: 2px;
    border: 1px solid rgba(255, 255, 255, 0.45);
    border-radius: 999px;
    background: rgba(13, 121, 157, 0.72);
    box-shadow: 0 4px 12px rgba(0, 54, 82, 0.15);
}

.language-switch::before {
    position: absolute;
    top: 2px;
    left: 2px;
    width: 30px;
    height: 24px;
    border-radius: 999px;
    background: #fff;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12);
    content: '';
    transition: transform 0.25s ease;
}

.language-switch:has(.language-option:nth-child(2).is-active)::before {
    transform: translateX(32px);
}

.language-option {
    position: relative;
    z-index: 1;
    flex: 1;
    min-width: 0;
    height: 24px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    color: rgba(255, 255, 255, 0.8);
    background: transparent;
    font-size: 12px;
    font-weight: 600;
    line-height: 24px;
    cursor: pointer;
    transition: color 0.25s ease;
}

.language-option.is-active {
    color: #2b2b3d;
}

.language-option:hover:not(.is-active) {
    color: #fff;
}

.navbar.scrolled .language-switch {
    border-color: rgba(31, 182, 201, 0.45);
    background: #e8f7fa;
}

.navbar.scrolled .language-option {
    color: #17889b;
}

.navbar.scrolled .language-option.is-active {
    color: #2b2b3d;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.hamburger span {
    width: 22px;
    height: 2px;
    background: #2b2b3d;
    transition: 0.3s;
}

/* ===== Hero ===== */
.hero {
    position: relative;
    min-height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f0f0f0;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(rgba(9, 29, 39, 0.63), rgba(9, 29, 39, 0.63)),
        var(--inner-hero-image) var(--inner-hero-position, center) / cover no-repeat;
}

.guide-hero,
.travel-hero {
    --inner-hero-image: url('../images/hero/gulangyu-walk.jpg');
}

.info-hero {
    --inner-hero-image: url('../images/hero/xiamen-coastal-walk.jpg');
    --inner-hero-position: 30% center;
}

.about-hero,
.contact-hero,
.privacy-hero {
    --inner-hero-image: url('../images/hero/xiamen-harbor.jpg');
    --inner-hero-position: 59% center;
}

.hero:not(#home) {
    background-color: #17313d;
}

.hero:not(#home) .hero-content {
    align-items: center;
}

.hero:not(#home) .hero-text {
    text-align: center;
}

.hero:not(#home) .hero-text h1 {
    color: #fff;
    margin-bottom: 12px;
}

.hero:not(#home) .hero-subtitle {
    color: #f3f8fa;
    margin: 0 auto;
}

body:has(> .hero:not(#home)) > .navbar {
    background: rgba(255, 255, 255, 0.97);
}

#home .hero-bg {
    background:
        linear-gradient(90deg, rgba(255, 249, 239, 0.72), rgba(255, 249, 239, 0.56) 35%, rgba(255, 249, 239, 0.12) 65%, transparent 82%),
        url('../images/home/xiamen-coast-hero.jpg') center / cover no-repeat;
}

#home .hero-subtitle {
    color: #263746;
}

@media (max-width: 768px) {
    #home {
        align-items: flex-start;
    }

    #home .hero-bg {
        background-image:
            linear-gradient(180deg, rgba(255, 249, 239, 0.56), rgba(255, 249, 239, 0.86) 23%, rgba(255, 249, 239, 0.76) 53%, transparent 80%),
            url('../images/home/xiamen-coast-hero.jpg');
        background-position: center, 59% center;
    }

    #home .hero-content {
        padding-top: clamp(132px, 23vh, 190px);
    }
}

.hero-content {
    width: 100%;
    max-width: 1200px;
    padding: 40px 24px 60px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    z-index: 2;
    position: relative;
}

.hero-text {
    max-width: 700px;
    text-align: left;
    margin-bottom: 48px;
}

.hero-text h1 {
    font-size: clamp(36px, 5vw, 64px);
    font-weight: 900;
    color: #2b2b3d;
    line-height: 1.15;
    margin-bottom: 18px;
}

.hero-subtitle {
    font-size: clamp(13px, 1.4vw, 16px);
    color: #6b7280;
    line-height: 1.6;
    margin-bottom: 30px;
    max-width: 560px;
}

.hero-actions {
    display: flex;
    gap: 14px;
    align-items: center;
}

.btn-start {
    background: #1fb6c9;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    padding: 12px 24px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: background 0.2s, transform 0.2s;
}

.btn-start:hover {
    background: #1798a8;
    transform: translateY(-1px);
}

.btn-video {
    background: #fff;
    color: #2b2b3d;
    font-size: 15px;
    font-weight: 600;
    padding: 12px 20px;
    border-radius: 6px;
    border: 1px solid #e5e5e5;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: background 0.2s, transform 0.2s, border-color 0.2s;
}

.btn-video i {
    color: #1fb6c9;
}

.btn-video:hover {
    background: #f8f8f8;
    border-color: #ccc;
    transform: translateY(-1px);
}

.hero-search {
    width: 100%;
    max-width: 640px;
}

.search-bar {
    display: flex;
    gap: 12px;
    background: #fff;
    border-radius: 8px;
    padding: 6px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.search-field {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-right: 1px solid #eee;
}

.search-field:last-of-type {
    border-right: none;
}

.search-field i {
    color: #1fb6c9;
    font-size: 14px;
}

.search-field select {
    border: none;
    outline: none;
    background: transparent;
    font-size: 13px;
    color: #4b5563;
    cursor: pointer;
    appearance: none;
    padding-right: 24px;
    min-width: 130px;
}

.search-field select::-ms-expand {
    display: none;
}

.btn-search {
    flex-shrink: 0;
    border: none;
    cursor: pointer;
    background: #1fb6c9;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    padding: 0 24px;
    border-radius: 6px;
    transition: background 0.2s, transform 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.btn-search:hover {
    background: #1798a8;
    transform: translateY(-1px);
}

/* ===== Section Header Shared ===== */
section {
    width: 100%;
}

.section-header {
    text-align: center;
    margin-bottom: 48px;
}

.section-header h2 {
    font-size: clamp(24px, 3.2vw, 36px);
    font-weight: 700;
    color: #23233a;
    margin-bottom: 10px;
}

.section-header p {
    font-size: 15px;
    color: #7a7a8c;
}

/* ===== Categories ===== */
.categories {
    position: relative;
    padding: 70px 0 70px;
    background: #ffffff;
    overflow: hidden;
}

.categories-head {
    position: relative;
    text-align: center;
    max-width: 560px;
    margin: 0 auto 30px;
}

.categories-script {
    display: block;
    font-weight: 700;
    font-size: clamp(18px, 2vw, 24px);
    color: #1fb6c9;
    margin-bottom: 4px;
}

.categories-head h2 {
    font-size: clamp(30px, 4vw, 44px);
    font-weight: 700;
    color: #1d2130;
    line-height: 1.15;
}

/* Decorations */
.categories-deco {
    position: absolute;
    pointer-events: none;
    z-index: 1;
}

.deco-camera {
    left: 6%;
    top: 22px;
    transform: rotate(-15deg);
    font-size: 24px;
    color: #fff;
    background: linear-gradient(145deg, #9ed456, #4caf50);
    padding: 9px 13px;
    border-radius: 12px;
    box-shadow: 0 8px 18px rgba(76, 175, 80, 0.35);
}

.deco-postcard {
    right: 6%;
    top: 20px;
    transform: rotate(42deg);
    font-size: 20px;
    color: #c99a3f;
    background: #f7e3ad;
    border: 2px solid #d9b25e;
    padding: 7px 14px;
    border-radius: 3px;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);
}

.deco-leaf {
    left: -45px;
    bottom: 10px;
    font-size: 160px;
    color: #eef2f4;
    transform: rotate(18deg);
}

.deco-bag {
    right: -35px;
    bottom: 0;
    font-size: 140px;
    color: #eef2f4;
    transform: rotate(-8deg);
}

/* Stage with staggered layout */
.category-stage {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1.5%;
    max-width: 1120px;
    margin: 40px auto 0;
    padding-bottom: 80px;
}

.category-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    text-align: center;
    flex-shrink: 0;
}

.category-thumb {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.14);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.category-thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.category-item span {
    max-width: 140px;
    text-wrap: balance;
    font-size: 14px;
    font-weight: 700;
    color: #1d2130;
    transition: color 0.25s;
}

.category-item:hover .category-thumb {
    transform: scale(1.05);
    box-shadow: 0 20px 42px rgba(0, 0, 0, 0.2);
}

.category-item:hover span {
    color: #1fb6c9;
}

.item-adventure .category-thumb {
    width: 180px;
    height: 165px;
}

.item-cultural .category-thumb {
    width: 155px;
    height: 140px;
}

.item-beach .category-thumb {
    width: 140px;
    height: 150px;
}

.item-luxury .category-thumb {
    width: 165px;
    height: 140px;
}

.item-family .category-thumb {
    width: 150px;
    height: 130px;
}

.item-wildlife .category-thumb {
    width: 175px;
    height: 170px;
}

.item-adventure {
    transform: translateY(-10px);
}

.item-cultural {
    transform: translateY(48px);
}

.item-beach {
    transform: translateY(86px);
}

.item-luxury {
    transform: translateY(80px);
}

.item-family {
    transform: translateY(42px);
}

.item-wildlife {
    transform: translateY(-14px);
}

/* ===== Most Popular Tour ===== */
.popular-tours {
    position: relative;
    padding: 90px 0 100px;
    background: linear-gradient(180deg, #e3f3f8 0%, #ffffff 72%);
    overflow: hidden;
}

.tour-head {
    text-align: center;
    margin-bottom: 48px;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

.tour-script {
    display: block;
    font-weight: 700;
    font-size: clamp(18px, 2vw, 24px);
    color: #1fb6c9;
    margin-bottom: 6px;
}

.popular-tours h2 {
    font-size: clamp(34px, 4vw, 48px);
    font-weight: 700;
    color: #1d2130;
    line-height: 1.15;
}

/* Decorative line icons */
.tour-bg-deco {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
}

.tour-deco {
    position: absolute;
    color: #dceaf0;
    filter: drop-shadow(0 2px 1px rgba(255,255,255,0.6));
}

.deco-earth   { left: 6%;  top: 12%; font-size: 42px; transform: rotate(8deg); }
.deco-bag     { left: -2%; top: 58%; font-size: 48px; transform: rotate(-14deg); }
.deco-ship    { right: 12%; top: 10%; font-size: 40px; transform: rotate(-6deg); }
.deco-plane   { right: 6%; top: 28%; font-size: 36px; transform: rotate(10deg); }
.deco-car     { right: 8%; top: 48%; font-size: 32px; }
.deco-tower   { right: -1%; top: 68%; font-size: 50px; color: #d4e3e8; }

/* Cards layout */
.tour-cards {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto;
}

.tour-item {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    width: 29%;
    min-width: 290px;
    display: flex;
    flex-direction: column;
    padding: 12px;
}

.tour-item.featured {
    width: 34%;
    min-width: 330px;
    border: 2px solid #1fb6c9;
    transform: scale(1.05);
    z-index: 3;
    box-shadow: 0 18px 46px rgba(31, 182, 201, 0.22);
}

.tour-thumb {
    width: 100%;
    height: 150px;
    overflow: hidden;
    border-radius: 10px;
}

.tour-item.featured .tour-thumb {
    height: 190px;
}

.tour-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.tour-item:hover .tour-thumb img {
    transform: scale(1.04);
}

.tour-item h3 {
    font-size: 17px;
    font-weight: 700;
    color: #1d2130;
    margin: 14px 0 6px;
    line-height: 1.3;
}

.tour-item p {
    font-size: 13px;
    color: #8a93a0;
    margin: 0 0 12px;
    line-height: 1.5;
}

.tour-info {
    display: flex;
    justify-content: space-between;
    margin: 0;
    padding-bottom: 12px;
    border-bottom: 1px solid #eef2f5;
    font-size: 12px;
    color: #4a5261;
}

.tour-info span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.tour-info i {
    color: #b9c2cc;
    font-size: 12px;
}

.tour-info i.fa-star {
    color: #f0b429;
}

.tour-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0 0;
}

.btn-more {
    font-size: 12px;
    font-weight: 600;
    color: #444;
    border: 1.5px solid #444;
    padding: 5px 16px;
    border-radius: 6px;
    transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.btn-more:hover {
    background: #444;
    color: #fff;
    border-color: #444;
}

.tour-item.featured .btn-more {
    background: #1fb6c9;
    color: #fff;
    border-color: #1fb6c9;
}

.tour-item.featured .btn-more:hover {
    background: #1798a8;
    border-color: #1798a8;
}

/* ===== Tour packages ===== */
.tour-item:focus-visible,
.tour-detail-contact:focus-visible {
    outline: 2px solid #087e96;
    outline-offset: 3px;
}

.tour-item .tour-footer {
    margin-top: auto;
    justify-content: flex-end;
}

.tour-detail-wrap {
    max-width: 850px;
}

.tour-detail-duration {
    margin-bottom: 8px;
    color: #087288;
    font-weight: 700;
}

.tour-detail-intro {
    margin-top: 12px;
    color: #445562;
}

.tour-detail h2 {
    margin-bottom: 16px;
    color: #1d2130;
    font-size: clamp(20px, 3vw, 27px);
}

.tour-detail-days {
    display: grid;
    gap: 14px;
    list-style: none;
}

.tour-detail-days > li {
    padding: clamp(14px, 3vw, 22px);
    border: 1px solid #e2eaed;
    border-radius: 10px;
    background: #f7fafb;
}

.tour-day-heading {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 6px 12px;
    margin-bottom: 10px;
}

.tour-day-heading span {
    color: #087288;
    font-size: 14px;
    font-weight: 700;
}

.tour-day-heading h3 {
    color: #1d2130;
    font-size: 18px;
}

.tour-detail-days p {
    line-height: 1.8;
}

.tour-day-facts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 14px;
    margin-top: 12px;
    font-size: 14px;
}

.tour-day-facts dt,
.tour-detail-inclusions dt {
    font-weight: 700;
}

.tour-detail-costs {
    margin: 30px 0 24px;
}

.tour-detail-inclusions {
    display: grid;
    gap: 10px;
}

.tour-detail-inclusions > div {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 3fr);
    gap: 10px;
}

@media (max-width: 520px) {
    .tour-day-facts,
    .tour-detail-inclusions > div {
        grid-template-columns: 1fr;
    }

    .tour-detail-inclusions > div {
        gap: 2px;
    }
}

/* ===== About Company ===== */
.about-company {
    position: relative;
    padding: 90px 0;
    background: #ffffff;
    overflow: hidden;
}

.about-grid {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: center;
}

.about-media {
    display: flex;
    gap: 18px;
    align-items: stretch;
    width: 100%;
}

.media-left {
    display: flex;
    flex-direction: column;
    gap: 18px;
    flex: 1.35;
    min-width: 0;
}

.about-img-main {
    width: 100%;
    flex: 1;
    object-fit: cover;
    border-radius: 16px;
}

.exp-card {
    background: #1fb6c9;
    border-radius: 16px;
    color: #fff;
    padding: 16px 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex: 0 0 auto;
}

.exp-card i {
    font-size: 30px;
    opacity: 0.9;
}

.exp-text {
    display: flex;
    flex-direction: column;
    line-height: 1.25;
}

.exp-text strong {
    font-size: 22px;
    font-weight: 800;
}

.exp-text span {
    font-size: 13px;
    opacity: 0.92;
}

.about-img-tall {
    flex: 1;
    height: 385px;
    object-fit: cover;
    border-radius: 16px;
}

.about-text {
    width: 100%;
}

.about-script {
    display: block;
    font-weight: 700;
    font-size: clamp(18px, 2vw, 22px);
    color: #1fb6c9;
    margin-bottom: 8px;
}

.about-text h2 {
    font-size: clamp(28px, 3.4vw, 40px);
    font-weight: 700;
    color: #1d2130;
    line-height: 1.2;
    margin-bottom: 16px;
}

.about-text > p {
    font-size: 14px;
    color: #7a7a8c;
    line-height: 1.7;
    margin-bottom: 28px;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 30px;
}

.about-feature {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.about-feature > i {
    flex-shrink: 0;
    width: 46px;
    height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: rgba(31, 182, 201, 0.12);
    color: #1fb6c9;
    font-size: 20px;
}

.about-feature h4 {
    font-size: 16px;
    font-weight: 700;
    color: #1d2130;
    margin-bottom: 4px;
}

.about-feature p {
    font-size: 12.5px;
    color: #8a93a0;
    line-height: 1.5;
}

.about-footer {
    display: flex;
    align-items: center;
    gap: 28px;
}

.about-btn {
    background: #1fb6c9;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    padding: 12px 26px;
    border-radius: 6px;
    transition: background 0.2s, transform 0.2s;
}

.about-btn:hover {
    background: #1798a8;
    transform: translateY(-1px);
}

.about-plane {
    position: absolute;
    top: -40px;
    right: 0;
    font-size: 44px;
    color: #e2a89b;
    transform: rotate(-15deg);
    pointer-events: none;
}

/* ===== Adventure ===== */
.adventure {
    padding: 90px 0;
    background: #ffffff;
}

.adventure-box {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 39px 60px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 40px;
    background:
        linear-gradient(rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.08)),
        url('../images/home/adventure/1.jpg') center/cover no-repeat;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.12);
}

.stats-card {
    justify-self: center;
    width: 100%;
    max-width: 430px;
    aspect-ratio: 1 / 1;
    background: #fff;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.10);
    display: flex;
}

.stats-grid {
    flex: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    position: relative;
}

/* Cross divider lines */
.stats-grid::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 20px;
    bottom: 20px;
    width: 1px;
    background: #e5eaee;
    transform: translateX(-50%);
}

.stats-grid::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 20px;
    right: 20px;
    height: 1px;
    background: #e5eaee;
    transform: translateY(-50%);
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    text-align: center;
    padding: 10px;
}

.stat-item i {
    background: transparent;
    color: #1fb6c9;
    font-size: 36px;
    width: auto;
    height: auto;
    border-radius: 0;
}

.stat-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.stat-info strong {
    font-size: 26px;
    font-weight: 800;
    color: #1d2130;
    line-height: 1.1;
}

.stat-info span {
    font-size: 13px;
    color: #8a93a0;
    line-height: 1.2;
}

.journey-circle {
    justify-self: center;
    flex-shrink: 0;
    width: 240px;
    height: 240px;
    border-radius: 50%;
    background: #1fb6c9;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-family: var(--font-serif);
    line-height: 1.15;
    text-align: center;
    box-shadow: 0 20px 50px rgba(31, 182, 201, 0.4);
}

.journey-circle > span:nth-child(1) {
    font-size: 26px;
}

.journey-circle > span:nth-child(2) {
    font-size: 15px;
}

.journey-circle > span:nth-child(3) {
    font-size: 30px;
}

/* ===== Offers ===== */
.offers {
    padding: 70px 0 100px;
    background: #ffffff;
}

.offers-head {
    text-align: center;
    margin-bottom: 48px;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

.offers-script {
    display: block;
    font-weight: 700;
    font-size: clamp(18px, 2vw, 24px);
    color: #1fb6c9;
    margin-bottom: 6px;
}

.offers h2 {
    font-size: clamp(34px, 4vw, 48px);
    font-weight: 700;
    color: #1d2130;
    line-height: 1.15;
}

.offer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.offer-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.10);
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
    min-height: 200px;
    background-color: #243b43;
    background-size: cover;
    background-position: center;
    padding: 16px 18px 14px;
    color: #fff;
}

.offer-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.8));
    z-index: 0;
}

.offer-card > * {
    position: relative;
    z-index: 1;
}

.offer-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 52px rgba(0, 0, 0, 0.14);
}

.offer-card:focus-visible {
    outline: 2px solid #087e96;
    outline-offset: 4px;
}

.offer-top {
    margin-bottom: auto;
}

.offer-badge {
    display: inline-grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #1fb6c9;
    color: #fff;
    font-size: 16px;
}

.offer-card h3 {
    margin: 12px 0 8px;
    color: #fff;
    font-size: 16px;
    line-height: 1.35;
}

.offer-tag {
    margin-bottom: 8px;
    color: #fff;
    font-size: 38px;
    font-weight: 900;
    line-height: 1;
}

.offer-terms {
    color: rgba(255, 255, 255, 0.85);
    font-size: 11px;
}

/* ===== Testimonials ===== */
.testimonials {
    padding: 90px 0 70px;
    background: #ffffff;
}

.testimonials-head {
    text-align: center;
    margin-bottom: 56px;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

.testimonials-script {
    display: block;
    font-weight: 700;
    font-size: clamp(18px, 2vw, 24px);
    color: #1fb6c9;
    margin-bottom: 6px;
}

.testimonials h2 {
    font-size: clamp(30px, 4vw, 46px);
    font-weight: 700;
    color: #1d2130;
    line-height: 1.15;
}

.testimonials-body {
    display: flex;
    gap: 32px;
    align-items: flex-start;
}

.testimonial-media {
    flex: 0 0 260px;
    border-radius: 20px;
    overflow: hidden;
    background: #7c74d8;
}

.testimonial-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.testimonial-slider {
    flex: 1;
    min-width: 0;
}

.testimonial-track {
    --card-gap: 20px;
    --card-preview: 64px;
    --badge-overhang: 6px;
    position: relative;
    display: flex;
    gap: var(--card-gap);
    padding: 26px var(--badge-overhang) 2px 0;
    overflow-x: auto;
    scrollbar-width: none;
    scroll-snap-type: x mandatory;
}

.testimonial-track::-webkit-scrollbar {
    display: none;
}

.t-card {
    position: relative;
    flex: 0 0 calc((100% - 2 * var(--card-gap) - var(--card-preview)) / 2);
    min-width: 0;
    background: #fff;
    border: 1px solid #dce5e9;
    border-radius: 14px;
    padding: 26px clamp(16px, 2vw, 24px) 23px;
    text-align: left;
    scroll-snap-align: start;
}

.t-card:first-child {
    border-color: #56bacc;
}

.t-header-row {
    min-height: 61px;
}

.t-stars {
    display: flex;
    gap: 5px;
    color: #159eb8;
    font-size: 14px;
}

.t-user {
    position: absolute;
    top: -23px;
    right: calc(-1 * var(--badge-overhang));
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.t-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #fff;
    box-shadow: 0 0 0 1px #dce5e9;
}

.t-card:first-child .t-avatar {
    box-shadow: 0 0 0 1px #56bacc;
}

.t-name-box {
    --badge-color: #12263a;
    position: relative;
    color: #fff;
    text-align: center;
    padding: 7px 9px;
    width: 122px;
    overflow-wrap: anywhere;
    border-radius: 4px 0 4px 4px;
    background: var(--badge-color);
}

.t-name-box::before {
    content: '';
    position: absolute;
    right: 0;
    bottom: 100%;
    border-bottom: 10px solid var(--badge-color);
    border-right: var(--badge-overhang) solid transparent;
}

.t-name-teal {
    --badge-color: #087e96;
}

.t-name-dark {
    --badge-color: #1d2130;
}

.t-name-box strong {
    display: block;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;
}

.t-name-box span {
    display: block;
    font-size: 9.5px;
    letter-spacing: 0.6px;
    opacity: 0.9;
}

.t-card > p {
    font-size: 14px;
    color: #4b5563;
    line-height: 1.7;
    margin: 0;
}

.testimonial-nav {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 22px;
}

.t-prev,
.t-next {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid #b8dde3;
    background: #fff;
    color: #1fb6c9;
    font-size: 13px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, color 0.2s, transform 0.2s;
}

.t-next {
    background: #1fb6c9;
    border-color: #1fb6c9;
    color: #fff;
}

.t-prev:hover,
.t-next:hover {
    transform: translateY(-2px);
}

.t-prev:focus-visible,
.t-next:focus-visible {
    outline: 2px solid #087e96;
    outline-offset: 3px;
}

.t-next:hover {
    background: #1798a8;
    border-color: #1798a8;
}

.t-prev:hover {
    background: rgba(31, 182, 201, 0.08);
}

/* ===== Articles ===== */
.articles {
    padding: clamp(56px, 7vw, 88px) 0;
    background: #fff;
}

.articles .section-header {
    margin-bottom: clamp(26px, 3vw, 40px);
}

.articles .articles-kicker {
    margin-bottom: 6px;
    color: #087e96;
    font-size: 14px;
    font-weight: 600;
}

.articles h2 {
    margin-bottom: 0;
    color: #0c1929;
    line-height: 1.15;
}

.article-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(16px, 2vw, 24px);
}

.article-card {
    --article-inset: clamp(14px, 1.6vw, 22px);
    position: relative;
    isolation: isolate;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: stretch;
    padding: var(--article-inset);
    aspect-ratio: 280 / 382;
    border-radius: 14px;
    overflow: hidden;
    background: #263d4b;
}

.article-image {
    position: absolute;
    inset: 0;
    z-index: -1;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.article-content {
    padding: clamp(14px, 1.65vw, 22px);
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 7px;
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(7px);
    color: #0c1929;
}

.article-category {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 8px;
    color: #374454;
    font-size: 12px;
    font-weight: 600;
}

.article-category i {
    color: #087e96;
}

.article-content h3 {
    font-size: clamp(16px, 1.55vw, 20px);
    font-weight: 700;
    line-height: 1.4;
}

.article-card:focus-visible {
    outline: 2px solid #087e96;
    outline-offset: 4px;
}

.article-read {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 13px;
    padding-top: 10px;
    border-top: 1px solid rgba(12, 25, 41, 0.2);
    font-size: 13px;
    font-weight: 700;
}

.article-card:hover .article-read {
    color: #087e96;
}

.article-read i {
    font-size: 10px;
}

.blog-guide-intro {
    margin-top: 12px;
    color: #445562;
    line-height: 1.7;
}

.blog-guide section + section {
    margin-top: 24px;
}

.blog-guide h2 {
    margin-bottom: 6px;
    color: #1d2130;
    font-size: clamp(18px, 2.4vw, 23px);
    line-height: 1.4;
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
    .article-image {
        transition: transform 0.4s ease;
    }

    .article-card:hover .article-image {
        transform: scale(1.045);
    }
}

@media (max-width: 850px) {
    .article-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 560px) {
    .article-grid {
        grid-template-columns: minmax(0, 400px);
        justify-content: center;
    }
}

/* ===== Gallery ===== */
.gallery {
    padding: clamp(54px, 6.5vw, 84px) 0;
    background: #fff;
}

.gallery .section-header {
    margin-bottom: clamp(24px, 3.5vw, 40px);
}

.gallery .gallery-kicker {
    margin-bottom: 6px;
    color: #087e96;
    font-size: 14px;
    font-weight: 600;
}

.gallery h2 {
    margin-bottom: 0;
    color: #0c1929;
    line-height: 1.15;
}

.gallery-grid {
    --gallery-gap: clamp(10px, 1.8vw, 22px);
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-rows: minmax(0, 1fr);
    gap: var(--gallery-gap);
    aspect-ratio: 2.55;
}

.gallery-stack {
    display: grid;
    gap: var(--gallery-gap);
    min-height: 0;
}

.gallery-stack-left {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: minmax(0, 1.22fr) minmax(0, 1fr);
}

.gallery-stack-left img:first-child {
    grid-column: 1 / -1;
}

.gallery-stack-right {
    grid-template-rows: repeat(2, minmax(0, 1fr));
}

.gallery-grid img {
    width: 100%;
    height: 100%;
    min-height: 0;
    object-fit: cover;
    border-radius: 12px;
    background: #e7eef0;
}

@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-rows: none;
        aspect-ratio: auto;
    }

    .gallery-stack-left {
        aspect-ratio: 4 / 5;
    }

    .gallery-stack-right {
        grid-column: 1 / -1;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-rows: minmax(0, 1fr);
        aspect-ratio: 3.35;
    }
}

@media (max-width: 540px) {
    .gallery-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .gallery-stack-left {
        aspect-ratio: 1;
    }

    .gallery-grid .gallery-featured {
        height: auto;
        aspect-ratio: 5 / 6;
    }
}

/* ===== CTA Banner ===== */
.cta-section {
    padding: clamp(20px, 3vw, 36px) 0 clamp(48px, 7vw, 84px);
    background: #fff;
}

.cta-banner {
    --cta-blue: #1fb6c9;
    position: relative;
    isolation: isolate;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr);
    align-items: center;
    gap: clamp(16px, 4vw, 48px);
    min-height: clamp(350px, 42vw, 480px);
    padding: clamp(20px, 2.5vw, 30px) clamp(24px, 4.5vw, 58px) clamp(78px, 7vw, 96px);
    overflow: hidden;
    border-radius: 20px;
    background: var(--cta-blue);
    color: #fff;
}

.cta-content {
    position: relative;
    z-index: 2;
    max-width: 460px;
}

.cta-content h2 {
    margin-bottom: clamp(18px, 2.5vw, 30px);
    font-size: clamp(26px, 3.6vw, 46px);
    font-weight: 700;
    line-height: 1.12;
    text-wrap: balance;
}

.cta-content p {
    margin-bottom: 8px;
    color: #fff;
    font-size: clamp(13px, 1.4vw, 16px);
    font-weight: 600;
}

.btn-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 10px 23px;
    border-radius: 5px;
    background: #fff;
    color: #0c1929;
    font-size: 14px;
    font-weight: 700;
}

.btn-cta:hover {
    background: #e7f8fc;
}

.btn-cta:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 4px;
}

.cta-images {
    position: relative;
    z-index: 1;
    justify-self: end;
    width: min(100%, 420px);
    aspect-ratio: 1.18;
}

.cta-images img {
    position: absolute;
    height: auto;
    aspect-ratio: 1;
    object-fit: cover;
    border: clamp(3px, 0.5vw, 6px) solid #fff;
    border-radius: 50%;
    background: #dceef2;
}

.cta-image-main {
    top: 8%;
    right: 0;
    width: 69%;
}

.cta-image-group {
    top: 0;
    left: 0;
    width: 46%;
}

.cta-image-balloons {
    bottom: 0;
    left: 15%;
    width: 34%;
}

.cta-flight {
    position: absolute;
    width: clamp(72px, 11vw, 145px);
    height: clamp(36px, 6vw, 75px);
    border-top: 2px dotted rgba(255, 255, 255, 0.75);
    border-radius: 50%;
    pointer-events: none;
}

.cta-flight i {
    position: absolute;
    top: 0;
    color: #fff;
    font-size: clamp(16px, 2.3vw, 28px);
}

.cta-flight-upper {
    top: 9%;
    left: 48%;
    transform: rotate(-22deg);
}

.cta-flight-upper i {
    left: -4px;
    transform: rotate(140deg);
}

.cta-flight-lower {
    bottom: 13%;
    left: 25%;
    transform: rotate(-62deg);
}

.cta-flight-lower i {
    right: -5px;
    transform: rotate(12deg);
}

.cta-skyline {
    position: absolute;
    inset: auto 0 0;
    height: clamp(66px, 13vw, 156px);
    background:
        repeating-linear-gradient(90deg, transparent 0 4px, var(--cta-blue) 4px 6px)
            right 1.5% bottom 9px / 4.1% 64% no-repeat,
        radial-gradient(circle, var(--cta-blue) 0 55%, transparent 59%)
            left 0.8% top 55% / 16px 16px no-repeat,
        #fff;
    clip-path: polygon(
        0 100%, 0 54%, 0.7% 54%, 0.7% 40%, 1.5% 27%, 2.1% 5%, 2.8% 27%,
        3.6% 40%, 3.6% 54%, 4.4% 54%, 4.4% 100%,
        5.8% 100%, 5.8% 70%, 8% 70%, 8% 86%, 9.4% 86%, 9.4% 56%, 12% 56%,
        12% 75%, 13.5% 75%, 13.5% 66%, 16% 66%, 16% 89%, 17.8% 89%, 17.8% 100%,
        21% 100%, 25% 79%, 29% 100%, 35% 64%, 41% 100%,
        44% 100%, 45% 95%, 45% 66%, 44% 56%, 44% 46%, 40% 39%, 39% 34%,
        46% 34%, 46.4% 22%, 47% 19%, 47.6% 22%, 48% 34%, 55% 34%, 54% 39%,
        50% 46%, 50% 56%, 49% 66%, 49% 95%, 50% 100%,
        54% 100%, 54% 83%, 55% 70%, 57% 59%, 59% 55%, 61% 64%, 62% 76%,
        62% 86%, 64% 86%, 65% 91%, 69% 91%, 72% 97%, 74% 97%, 74% 70%,
        76% 70%, 76% 100%, 80% 100%, 80% 80%, 82.5% 80%, 82.5% 100%,
        85% 100%, 85% 90%, 87% 90%, 87% 75%, 89.4% 75%, 89.4% 85%,
        91.5% 85%, 91.5% 100%, 94% 100%, 94% 47%, 94.7% 47%, 94.7% 34%,
        95.3% 34%, 95.3% 26%, 98% 26%, 98% 34%, 98.6% 34%, 98.6% 47%,
        99.3% 47%, 99.3% 100%, 100% 100%
    );
    pointer-events: none;
}

@media (max-width: 680px) {
    .cta-banner {
        grid-template-columns: minmax(0, 1fr);
        gap: 22px;
        min-height: 0;
        padding: 28px clamp(17px, 5vw, 28px) 62px;
    }

    .cta-content h2 {
        text-wrap: wrap;
    }

    .cta-images {
        justify-self: center;
        width: min(100%, 360px);
    }

    .cta-flight-upper {
        display: none;
    }

    .cta-flight-lower {
        bottom: 18%;
        left: 2%;
    }
}

/* ===== Footer ===== */
footer {
    background: #021618;
    color: #fff;
    padding: 58px 0 0;
}

footer .footer-brand > p,
footer .footer-links a,
footer .footer-contact ul li,
footer .footer-bottom {
    color: #fff;
}

.footer-container {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1.4fr;
    gap: 56px;
    padding-bottom: 50px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
}

.footer-wordmark {
    gap: 8px;
    font-size: 18px;
    letter-spacing: normal;
    color: #1fb6c9;
}

.footer-wordmark i,
.footer-contact ul li i {
    color: #1fb6c9;
}

.footer-brand > p {
    max-width: 320px;
    font-size: 14px;
    font-weight: 400;
    color: #9fb0ba;
    line-height: 1.9;
}

.footer-links h4,
.footer-contact h4 {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 18px;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links a {
    font-size: 14px;
    color: #b4b69a;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: #fff;
}

.footer-contact ul {
    margin-bottom: 20px;
}

.footer-contact ul li {
    font-size: 14px;
    color: #b4b69a;
    margin-bottom: 12px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.footer-contact ul li i {
    flex: 0 0 16px;
    color: #1fb6c9;
    margin-top: 4px;
}

.newsletter {
    display: flex;
    border-radius: 30px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.08);
}

.newsletter input {
    flex: 1;
    border: none;
    outline: none;
    background: transparent;
    padding: 11px 18px;
    font-size: 13px;
    color: #fff;
    min-width: 0;
}

.newsletter input::placeholder {
    color: #8a9aa5;
}

.newsletter button {
    border: none;
    cursor: pointer;
    background: #1fb6c9;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    padding: 0 22px;
    transition: background 0.2s;
}

.newsletter button:hover {
    background: #1798a8;
}

.footer-bottom {
    border-top: 1px solid rgba(214, 220, 162, 0.14);
    padding: 20px 24px;
    text-align: center;
    font-size: 12px;
    letter-spacing: 0.04em;
    color: #919578;
}

/* ===== Guide page ===== */
.guide-hero {
    min-height: clamp(300px, 40vh, 430px);
}

.guide-hero .hero-content {
    padding-top: 88px;
    padding-bottom: 58px;
}

.guide-hero .hero-text {
    margin-bottom: 0;
}

.guide-main {
    padding: 72px 0 96px;
    background: #ffffff;
    scroll-margin-top: 90px;
}

.guide-gallery {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
}

.guide-gallery figure {
    margin: 0;
    border-radius: 14px;
    overflow: hidden;
    background: #eef2f4;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.guide-gallery img {
    width: 100%;
    height: auto;
    display: block;
}

.guide-gallery figure:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 42px rgba(0, 0, 0, 0.14);
}

@media (max-width: 900px) {
    .guide-gallery {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 18px;
    }
}

@media (max-width: 640px) {
    .guide-main {
        padding: 48px 0 64px;
    }

    .guide-gallery {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }
}

/* ===== Travel moments page ===== */
.travel-hero {
    min-height: clamp(300px, 40vh, 430px);
}

.travel-hero .hero-content {
    padding-top: 88px;
    padding-bottom: 58px;
}

.travel-hero .hero-text {
    margin-bottom: 0;
}

.travel-main {
    padding: 72px 0 96px;
    background: #f7fafb;
}

.travel-header {
    margin: 0 auto 38px;
    text-align: center;
}

.travel-header > span {
    display: block;
    margin-bottom: 7px;
    color: #1fb6c9;
    font-size: 16px;
    font-weight: 700;
}

.travel-header h2 {
    color: #1d2130;
    font-size: clamp(26px, 3.4vw, 38px);
    line-height: 1.2;
}

.travel-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 26px;
}

.travel-card {
    overflow: hidden;
    border: 1px solid #e7edef;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(16, 45, 52, 0.07);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.travel-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 38px rgba(16, 45, 52, 0.13);
}

.travel-card-image {
    display: block;
    width: 100%;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    background: #e7eef0;
}

.travel-card-body {
    padding: 20px 21px 23px;
}

.travel-card-user {
    display: flex;
    align-items: center;
    gap: 11px;
    margin-bottom: 14px;
    color: #1d2130;
    font-size: 15px;
}

.travel-card-user img {
    width: 42px;
    height: 42px;
    border: 2px solid #d5f2f5;
    border-radius: 50%;
    object-fit: cover;
}

.travel-card-body > p {
    margin: 0;
    color: #626d76;
    font-size: 14px;
    line-height: 1.8;
}

@media (max-width: 900px) {
    .travel-cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px;
    }
}

@media (max-width: 600px) {
    .travel-main {
        padding: 54px 0 68px;
    }

    .travel-cards {
        grid-template-columns: minmax(0, 1fr);
        gap: 18px;
    }
}

/* ===== Travel information page ===== */
.info-hero {
    min-height: clamp(300px, 40vh, 430px);
}

.info-hero .hero-content {
    padding-top: 88px;
    padding-bottom: 58px;
}

.info-hero .hero-text {
    margin-bottom: 0;
}

.info-main {
    padding: 72px 0 96px;
    background: #f7fafb;
}

.info-header {
    margin: 0 auto 38px;
    text-align: center;
}

.info-header > span {
    display: block;
    margin-bottom: 7px;
    color: #1fb6c9;
    font-size: 16px;
    font-weight: 700;
}

.info-header h2 {
    color: #1d2130;
    font-size: clamp(26px, 3.4vw, 38px);
    line-height: 1.2;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 26px;
}

.info-card {
    overflow: hidden;
    border: 1px solid #e7edef;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(16, 45, 52, 0.07);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 38px rgba(16, 45, 52, 0.13);
}

.info-card-image {
    display: block;
    width: 100%;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    background: #e7eef0;
}

.info-card-body {
    padding: 20px 21px 24px;
}

.info-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-bottom: 12px;
}

.info-card-tags span {
    padding: 4px 9px;
    border-radius: 999px;
    background: rgba(31, 182, 201, 0.1);
    color: #17889b;
    font-size: 11px;
    font-weight: 700;
}

.info-card h3 {
    margin-bottom: 8px;
    color: #1d2130;
    font-size: 18px;
    line-height: 1.45;
}

.info-card p {
    display: -webkit-box;
    overflow: hidden;
    margin: 0;
    color: #69777f;
    font-size: 13px;
    line-height: 1.75;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
}

.info-card:focus-visible {
    outline: 2px solid #087e96;
    outline-offset: 4px;
}

.info-card-action {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 14px;
    color: #087e96;
    font-size: 13px;
    font-weight: 700;
}

.info-article-main {
    min-height: 55vh;
    padding: clamp(102px, 10vw, 142px) 0 clamp(48px, 7vw, 86px);
    background: #f7fafb;
}

.info-article-wrap {
    max-width: 780px;
    margin-inline: auto;
}

.info-article-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px;
    color: #087e96;
    font-weight: 700;
}

.info-article {
    padding: clamp(20px, 5vw, 52px);
    overflow-wrap: anywhere;
    border: 1px solid #e7edef;
    border-radius: 16px;
    background: #fff;
}

:is(.tour-detail, .blog-guide) > header {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: clamp(190px, 27vw, 248px);
    padding: clamp(20px, 4vw, 42px);
    border-radius: 10px;
    background:
        linear-gradient(rgba(9, 29, 39, 0.72), rgba(9, 29, 39, 0.72)),
        url('../images/hero/xiamen-coastal-walk.jpg') 30% center / cover no-repeat #17313d;
}

:is(.tour-detail, .blog-guide) > header :is(h1, .blog-guide-intro, .tour-detail-intro) {
    color: #fff;
}

.tour-detail-header .tour-detail-duration {
    color: #c4f4f7;
}

.info-article h1,
.info-article-missing {
    color: #1d2130;
    font-size: clamp(25px, 4vw, 40px);
    line-height: 1.3;
}

.info-article-meta {
    display: grid;
    gap: 6px;
    margin-top: 20px;
    color: #4e616a;
    font-size: 14px;
}

.info-article-meta > div {
    display: flex;
    flex-wrap: wrap;
    column-gap: 10px;
}

.info-article-meta dt {
    font-weight: 700;
}

.info-article-meta > div[hidden] {
    display: none;
}

.info-article-meta a {
    color: #087e96;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.info-article-image {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    margin: clamp(20px, 4vw, 32px) 0;
    border-radius: 10px;
    background: #e7eef0;
    object-fit: cover;
}

.info-article-body {
    font-size: clamp(16px, 1.6vw, 18px);
    line-height: 1.9;
}

.info-article-body p + p {
    margin-top: 1em;
}

@media (max-width: 900px) {
    .info-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px;
    }
}

@media (max-width: 600px) {
    .info-main {
        padding: 54px 0 68px;
    }

    .info-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 18px;
    }
}

/* ===== Contact and message forms ===== */
.contact-hero {
    min-height: clamp(300px, 40vh, 430px);
}

.contact-hero .hero-content {
    padding-top: 88px;
    padding-bottom: 58px;
}

.contact-hero .hero-text {
    margin-bottom: 0;
}

.contact-main {
    padding: 80px 0 100px;
    background: #f7fafb;
}

.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 32px;
    align-items: start;
}

.contact-info-panel,
.contact-form-panel {
    padding: clamp(24px, 4vw, 44px);
    border: 1px solid #e3ecef;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 14px 34px rgba(16, 45, 52, 0.07);
}

.contact-kicker {
    display: block;
    margin-bottom: 10px;
    color: #1fb6c9;
    font-size: 14px;
    font-weight: 700;
}

.contact-info-panel h2,
.contact-form-panel h2 {
    margin-bottom: 14px;
    color: #1d2130;
    font-size: clamp(24px, 3vw, 34px);
    line-height: 1.25;
}

.contact-info-panel > p,
.contact-form-panel > p {
    margin-bottom: 26px;
    color: #6f7a82;
    font-size: 14px;
    line-height: 1.8;
}

.contact-details {
    display: grid;
    gap: 16px;
}

.contact-details li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: #3e4a52;
    font-size: 14px;
}

.contact-details i {
    width: 20px;
    margin-top: 4px;
    color: #1fb6c9;
    text-align: center;
}

.message-form {
    display: grid;
    gap: 16px;
}

.message-form label {
    display: grid;
    gap: 7px;
    color: #33424a;
    font-size: 13px;
    font-weight: 600;
}

.message-form input,
.message-form select,
.message-form textarea {
    width: 100%;
    border: 1px solid #d9e5e8;
    border-radius: 8px;
    outline: none;
    background: #fff;
    color: #24343b;
    font-size: 14px;
    padding: 11px 13px;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.message-form textarea {
    resize: vertical;
}

.message-form input:focus,
.message-form select:focus,
.message-form textarea:focus {
    border-color: #1fb6c9;
    box-shadow: 0 0 0 3px rgba(31, 182, 201, 0.12);
}

.message-form .iti {
    width: 100%;
}

/* Keep the country list above the modal and outside its scroll container on mobile. */
.iti--container {
    z-index: 2200;
}

.contact-type-group {
    margin: 0;
    padding: 0;
    border: 0;
    min-width: 0;
}

.contact-type-group legend {
    margin-bottom: 7px;
    padding: 0;
    color: #33424a;
    font-size: 13px;
    font-weight: 600;
}

.contact-type-options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.message-form .contact-type-option {
    display: block;
    gap: 0;
    cursor: pointer;
    font-weight: 500;
}

.contact-type-option input {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    opacity: 0;
    pointer-events: none;
}

.contact-type-option > span {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 42px;
    padding: 9px 12px;
    border: 1px solid #d9e5e8;
    border-radius: 8px;
    background: #fff;
    color: #4b5a62;
    font-size: 13px;
    transition: border-color 0.2s, background 0.2s, color 0.2s, box-shadow 0.2s;
}

.contact-type-option > span i {
    font-size: 15px;
}

.contact-type-option:hover > span {
    border-color: #9fd9e2;
}

.contact-type-option input:checked + span {
    border-color: #1fb6c9;
    background: rgba(31, 182, 201, 0.08);
    color: #17889b;
    box-shadow: 0 0 0 2px rgba(31, 182, 201, 0.15);
}

.contact-type-option input:focus-visible + span {
    outline: 2px solid #1fb6c9;
    outline-offset: 2px;
}

.message-form .is-hidden {
    display: none;
}

.form-error {
    min-height: 20px;
    margin: 0;
    color: #c34242;
    font-size: 13px;
}

.message-submit {
    border: 0;
    border-radius: 8px;
    background: #1fb6c9;
    color: #fff;
    cursor: pointer;
    font-size: 14px;
    font-weight: 700;
    padding: 12px 20px;
    transition: background 0.2s, transform 0.2s;
}

.message-submit:hover {
    background: #1798a8;
    transform: translateY(-1px);
}

.message-submit:disabled {
    cursor: wait;
    opacity: 0.65;
}

.float-message,
.back-to-top {
    --floating-button-size: 46px;
    --floating-button-offset: 24px;
    position: fixed;
    right: var(--floating-button-offset);
    z-index: 900;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: var(--floating-button-size);
    height: var(--floating-button-size);
}

.float-message {
    bottom: var(--floating-button-offset);
    border: 0;
    border-radius: 50%;
    background: #1fb6c9;
    color: #fff;
    cursor: pointer;
    font-size: 18px;
    box-shadow: 0 8px 20px rgba(31, 182, 201, 0.3);
    transition: transform 0.2s, background 0.2s;
}

.float-message:hover {
    background: #1798a8;
    transform: translateY(-3px);
}

.message-modal[hidden] {
    display: none;
}

.message-modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: grid;
    place-items: center;
    padding: 20px;
    background: rgba(3, 24, 27, 0.62);
}

.message-modal-card {
    position: relative;
    width: min(100%, 480px);
    max-height: min(90vh, 720px);
    overflow-y: auto;
    padding: 32px;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.25);
}

.message-modal-card h2 {
    margin-bottom: 8px;
    color: #1d2130;
    font-size: 26px;
}

.message-modal-card > p {
    margin-bottom: 20px;
    color: #6f7a82;
    font-size: 14px;
}

.modal-close {
    position: absolute;
    top: 12px;
    right: 15px;
    border: 0;
    background: transparent;
    color: #819097;
    cursor: pointer;
    font-size: 28px;
    line-height: 1;
}

.success-card {
    text-align: center;
}

.success-card .message-submit {
    min-width: 100px;
}

.success-icon {
    margin: 8px 0 16px;
    color: #1fb6c9;
    font-size: 52px;
}

.message-toast {
    position: fixed;
    left: 50%;
    bottom: 28px;
    z-index: 2100;
    max-width: min(90vw, 420px);
    padding: 12px 18px;
    border-radius: 8px;
    background: #021618;
    color: #fff;
    font-size: 13px;
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, 15px);
    transition: opacity 0.25s, transform 0.25s;
}

.message-toast.is-visible {
    opacity: 1;
    transform: translate(-50%, 0);
}

.modal-open {
    overflow: hidden;
}

@media (max-width: 800px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 560px) {
    .contact-main {
        padding: 54px 0 68px;
    }

    .message-modal-card {
        padding: 28px 20px 22px;
    }

    .float-message,
    .back-to-top {
        --floating-button-offset: 16px;
    }
}

/* ===== About page ===== */
.about-hero {
    min-height: clamp(300px, 40vh, 430px);
}

.about-hero .hero-content {
    padding-top: 88px;
    padding-bottom: 58px;
}

.about-hero .hero-text {
    margin-bottom: 0;
}

.about-page-main {
    background: #fff;
}

.about-story-section,
.license-section {
    padding: clamp(64px, 8vw, 100px) 0;
}

.about-story-section {
    background: #fff;
}

.about-story-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: clamp(34px, 6vw, 80px);
    align-items: center;
}

.about-page-kicker {
    display: block;
    margin-bottom: 8px;
    color: #1fb6c9;
    font-size: 16px;
    font-weight: 700;
}

.about-story-copy h2,
.license-copy h2 {
    margin-bottom: 18px;
    color: #1d2130;
    font-size: clamp(28px, 3.8vw, 44px);
    line-height: 1.2;
}

.about-story-copy p,
.license-copy p {
    margin-bottom: 16px;
    color: #687780;
    font-size: 15px;
    line-height: 1.9;
}

.about-values {
    display: grid;
    gap: 16px;
}

.about-values article {
    padding: 22px 24px;
    border: 1px solid #e3eef0;
    border-radius: 14px;
    background: #f7fbfc;
}

.about-values i {
    margin-bottom: 10px;
    color: #1fb6c9;
    font-size: 24px;
}

.about-values h3 {
    margin-bottom: 5px;
    color: #1d2130;
    font-size: 18px;
}

.about-values p {
    margin: 0;
    color: #718089;
    font-size: 13px;
    line-height: 1.7;
}

.license-section {
    background: #f7fafb;
}

.license-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    gap: clamp(36px, 7vw, 96px);
    align-items: center;
}

.license-image-wrap {
    margin: 0;
    padding: 14px;
    border: 1px solid #e1ebed;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 16px 40px rgba(16, 45, 52, 0.1);
}

.license-image-wrap img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.license-image-wrap figcaption {
    padding: 12px 4px 2px;
    color: #75838a;
    font-size: 12px;
    text-align: center;
}

.license-contact-link {
    display: inline-flex;
    align-items: center;
    padding: 11px 22px;
    border-radius: 7px;
    background: #1fb6c9;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    transition: background 0.2s, transform 0.2s;
}

.license-contact-link:hover {
    background: #1798a8;
    transform: translateY(-1px);
}

@media (max-width: 800px) {
    .about-story-grid,
    .license-layout {
        grid-template-columns: 1fr;
    }

    .license-copy {
        max-width: 620px;
    }
}

/* ===== Privacy page ===== */
.privacy-hero {
    min-height: clamp(300px, 36vh, 400px);
}

.privacy-hero .hero-content {
    padding-top: 88px;
    padding-bottom: 58px;
}

.privacy-hero .hero-text {
    margin-bottom: 0;
}

.privacy-main {
    padding: 64px 0 96px;
    background: #f7fafb;
}

.privacy-layout {
    max-width: 940px;
}

.privacy-content {
    padding: clamp(26px, 5vw, 58px);
    border: 1px solid #e1ebed;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 14px 36px rgba(16, 45, 52, 0.06);
}

.privacy-heading {
    padding-bottom: 18px;
    border-bottom: 1px solid #e4edef;
}

.privacy-content section {
    padding: 26px 0 4px;
    border-bottom: 1px solid #eef3f4;
}

.privacy-content section:last-child {
    border-bottom: 0;
}

.privacy-content h2 {
    margin-bottom: 12px;
    color: #1d2130;
    font-size: clamp(19px, 2.3vw, 25px);
    line-height: 1.35;
}

.privacy-content p,
.privacy-content li {
    color: #5e6c73;
    font-size: 14px;
    line-height: 1.9;
}

.privacy-content p {
    margin-bottom: 12px;
}

.privacy-content p:last-child {
    margin-bottom: 0;
}

.privacy-content ul {
    display: grid;
    gap: 6px;
    margin: 10px 0 13px;
    padding-left: 22px;
    list-style: disc;
}

@media (max-width: 600px) {
    .privacy-main {
        padding: 42px 0 64px;
    }

    .privacy-content {
        padding: 22px 18px;
    }
}

/* ===== Back to top ===== */
.back-to-top {
    bottom: calc(var(--floating-button-offset) + var(--floating-button-size) + 10px);
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 50%;
    background: #1fb6c9;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    box-shadow: 0 8px 20px rgba(31, 182, 201, 0.3);
    transition: opacity 0.25s, visibility 0.25s, transform 0.25s, background 0.2s;
}

.back-to-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: #1798a8;
    transform: translateY(-3px);
}

.back-to-top:focus-visible {
    outline: 2px solid #1fb6c9;
    outline-offset: 3px;
}

/* ===== Responsive ===== */
@media (max-width: 1100px) {
    .category-stage {
        flex-wrap: wrap;
        justify-content: center;
        gap: 32px;
        padding-bottom: 0;
    }

    .category-item {
        transform: none !important;
    }
}

@media (max-width: 1024px) {
    .tour-cards {
        flex-wrap: wrap;
    }

    .testimonials-body {
        flex-direction: column;
        align-items: stretch;
        gap: 30px;
    }

    .testimonial-media {
        flex: 0 0 auto;
        width: 100%;
        max-width: 420px;
    }

    .offer-grid,
    .testimonial-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .adventure-box {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 29px 36px;
        justify-items: center;
    }

    .stats-card {
        width: 100%;
        max-width: none;
        padding: 32px 24px;
    }

    .journey-circle {
        width: 220px;
        height: 220px;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-media {
        flex-wrap: wrap;
        justify-content: center;
        gap: 30px;
    }

    .media-left {
        width: 100%;
    }

    .about-img-main {
        height: 190px;
    }

    .about-img-tall {
        width: 100%;
        max-width: none;
        height: 360px;
    }

    .about-text {
        max-width: 100%;
    }

    .about-plane {
        display: none;
    }

    .footer-container {
        grid-template-columns: 1fr 1fr;
    }

    .nav-links {
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .navbar {
        background: rgba(255, 255, 255, 0.97);
        backdrop-filter: blur(12px);
    }

    .nav-links {
        position: absolute;
        top: 72px;
        left: 0;
        width: 100%;
        background: #fff;
        flex-direction: column;
        gap: 0;
        padding: 10px 0;
        box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
        display: none;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links a {
        display: block;
        padding: 12px 24px;
    }

    .nav-links a::after {
        display: none;
    }

    .nav-container .logo {
        font-size: 16px;
        line-height: 1.2;
    }

    .hamburger {
        display: flex;
        flex-shrink: 0;
        margin-inline-start: 12px;
    }

    .navbar .nav-container .language-switch {
        flex: 0 0 66px;
        height: 30px;
        margin-inline-start: auto;
        padding: 1px;
        border-color: #dce8ea;
        background: #f6f9fa;
        box-shadow: none;
    }

    .language-switch::before {
        top: 1px;
        left: 1px;
        width: calc(50% - 1px);
        height: 26px;
        background: #e3f2f3;
        box-shadow: none;
    }

    .language-switch:has(.language-option:nth-child(2).is-active)::before {
        transform: translateX(100%);
    }

    .navbar .nav-container .language-option {
        height: 26px;
        color: #53666d;
        font-size: 11px;
        line-height: 26px;
    }

    .navbar .nav-container .language-option.is-active,
    .navbar .nav-container .language-option:hover {
        color: #146576;
    }

    .language-option::after {
        position: absolute;
        inset: -9px 0;
        content: '';
    }

    .adventure-box {
        padding: 20px 20px;
    }

    .stats-card {
        width: 100%;
        max-width: none;
        padding: 24px 16px;
    }

    .journey-circle {
        width: 200px;
        height: 200px;
    }

    .about-company {
        padding: 70px 0;
    }

    .about-media {
        flex-direction: column;
        align-items: center;
    }

    .media-left {
        max-width: 100%;
        width: 100%;
    }

    .about-img-tall {
        max-width: 100%;
        height: 300px;
    }

    .about-features {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .about-footer {
        flex-wrap: wrap;
        gap: 20px;
    }

    .hero-content {
        align-items: center;
    }

    .t-card {
        flex: 0 0 100%;
    }

    .testimonial-nav {
        justify-content: center;
    }

    .hero-text {
        text-align: center;
    }

    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-actions {
        justify-content: center;
        flex-wrap: wrap;
    }

    .hero-search {
        max-width: 100%;
    }

    .search-bar {
        flex-direction: column;
        gap: 0;
        padding: 10px;
    }

    .search-field {
        border-right: none;
        border-bottom: 1px solid #eee;
        padding: 12px 14px;
    }

    .search-field:last-of-type {
        border-bottom: none;
    }

    .search-field select {
        width: 100%;
    }

    .btn-search {
        width: 100%;
        padding: 14px;
    }

    .category-stage {
        gap: 26px;
        padding-top: 10px;
    }

    .item-adventure .category-thumb,
    .item-cultural .category-thumb,
    .item-beach .category-thumb,
    .item-luxury .category-thumb,
    .item-family .category-thumb,
    .item-wildlife .category-thumb {
        width: 135px;
        height: 125px;
    }

    .deco-camera,
    .deco-postcard {
        display: none;
    }

    .tour-cards {
        flex-direction: column;
        gap: 24px;
    }

    .tour-item,
    .tour-item.featured {
        width: 100%;
        min-width: 0;
        transform: none;
    }

    .offer-grid,
    .testimonial-grid {
        grid-template-columns: 1fr;
    }

    .adventure-features {
        grid-template-columns: 1fr;
    }

    .journey-badge {
        width: 90px;
        height: 90px;
        bottom: -16px;
        left: 10px;
        font-size: 11px;
    }

    .footer-container {
        grid-template-columns: 1fr;
    }
}
