:root {
    --ink: #18202b;
    --muted: #627083;
    --paper: #f7f4ee;
    --white: #ffffff;
    --line: rgba(24, 32, 43, 0.12);
    --navy: #172f4b;
    --teal: #0f5c62;
    --forest: #1f5a3d;
    --gold: #c99a2e;
    --gold-light: #f2d88b;
    --shadow: 0 24px 70px rgba(16, 31, 46, 0.18);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--paper);
    font-family: "DM Sans", ui-sans-serif, system-ui, sans-serif;
}

a {
    color: inherit;
}

img {
    max-width: 100%;
}

.skip-link {
    position: absolute;
    left: 1rem;
    top: 1rem;
    z-index: 100;
    transform: translateY(-150%);
    background: var(--white);
    color: var(--ink);
    padding: 0.7rem 1rem;
    border-radius: 0.5rem;
    font-weight: 700;
}

.skip-link:focus {
    transform: translateY(0);
}

.site-header {
    position: absolute;
    inset: 0 0 auto;
    z-index: 10;
    color: var(--white);
}

.site-header-solid {
    position: sticky;
    top: 0;
    color: var(--ink);
    background: rgba(247, 244, 238, 0.94);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(16px);
}

.nav-shell {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    min-height: 82px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.brand-mark {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    text-decoration: none;
}

.brand-mark img {
    width: 48px;
    height: 48px;
    object-fit: contain;
    border-radius: 999px;
    background: var(--white);
}

.brand-mark span {
    display: grid;
    line-height: 1.05;
}

.brand-mark strong {
    font-family: "Playfair Display", serif;
    font-size: 1.28rem;
    letter-spacing: 0;
}

.brand-mark small {
    margin-top: 0.22rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    color: var(--gold-light);
}

.site-header-solid .brand-mark small {
    color: var(--gold);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.9rem;
    font-weight: 700;
}

.nav-links a {
    text-decoration: none;
    padding: 0.65rem 0.9rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.site-header-solid .nav-links a {
    background: var(--white);
    border-color: var(--line);
}

.hero {
    min-height: 100vh;
    position: relative;
    overflow: hidden;
    color: var(--white);
    display: grid;
    align-items: end;
}

.hero-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
    background: #08121a;
}

.hero-bg-layer {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transform: scale(1.01);
    transition: opacity 1s ease;
    will-change: opacity;
}

.hero-bg-default {
    background-image:
        linear-gradient(90deg, rgba(8, 18, 26, 0.9) 0%, rgba(8, 18, 26, 0.72) 42%, rgba(8, 18, 26, 0.3) 100%),
        linear-gradient(0deg, rgba(8, 18, 26, 0.86) 0%, rgba(8, 18, 26, 0.16) 45%),
        url("../img/asia-hero.jpg");
    opacity: 1;
}

.hero-bg-china {
    background-image:
        linear-gradient(90deg, rgba(8, 18, 26, 0.9) 0%, rgba(8, 18, 26, 0.7) 42%, rgba(8, 18, 26, 0.34) 100%),
        linear-gradient(0deg, rgba(8, 18, 26, 0.86) 0%, rgba(8, 18, 26, 0.12) 45%),
        url("../img/china-tours.jpg");
}

.hero-bg-thailand {
    background-image:
        linear-gradient(90deg, rgba(8, 18, 26, 0.92) 0%, rgba(8, 18, 26, 0.7) 42%, rgba(8, 18, 26, 0.32) 100%),
        linear-gradient(0deg, rgba(8, 18, 26, 0.84) 0%, rgba(8, 18, 26, 0.12) 45%),
        url("../img/thailand-tours.jpg");
}

.hero-bg-custom {
    background-image:
        linear-gradient(90deg, rgba(8, 18, 26, 0.9) 0%, rgba(8, 18, 26, 0.66) 42%, rgba(8, 18, 26, 0.3) 100%),
        linear-gradient(0deg, rgba(8, 18, 26, 0.82) 0%, rgba(8, 18, 26, 0.1) 45%),
        url("../img/asia-coast.jpg");
}

.hero[data-active-region="china"] .hero-bg-china,
.hero[data-active-region="thailand"] .hero-bg-thailand,
.hero[data-active-region="custom"] .hero-bg-custom {
    opacity: 1;
}

.hero:not([data-active-region="default"]) .hero-bg-default {
    opacity: 0;
}

.hero-inner {
    position: relative;
    z-index: 1;
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 8.5rem 0 4rem;
}

.eyebrow {
    margin: 0 0 0.9rem;
    color: var(--gold-light);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.intro-section .eyebrow,
.trust-section .eyebrow,
.policy-main .eyebrow {
    color: var(--gold);
}

.hero h1 {
    width: min(800px, 100%);
    margin: 0;
    font-family: "Playfair Display", serif;
    font-size: clamp(2.8rem, 5.9vw, 5.5rem);
    line-height: 1;
    letter-spacing: 0;
}

.hero-copy {
    width: min(650px, 100%);
    margin: 1.35rem 0 0;
    color: rgba(255, 255, 255, 0.84);
    font-size: clamp(1.05rem, 2vw, 1.3rem);
    line-height: 1.55;
}

.hero-actions {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    width: min(920px, 100%);
    margin-top: 2.2rem;
}

.route-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 64px;
    padding: 1rem 1.2rem;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    color: var(--white);
    font: inherit;
    font-weight: 800;
    line-height: 1.15;
    text-align: center;
    cursor: pointer;
    transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.route-link:hover,
.route-link:focus-visible {
    transform: translateY(-2px);
    color: var(--ink);
    background: var(--gold-light);
    border-color: rgba(242, 216, 139, 0.86);
    outline: none;
}

.route-link span {
    display: block;
}

.route-link .idle-text {
    color: var(--gold-light);
    transition: color 0.2s ease;
}

.route-link .active-text {
    display: none;
}

.route-link:hover .idle-text,
.route-link:focus-visible .idle-text {
    display: none;
}

.route-link:hover .active-text,
.route-link:focus-visible .active-text {
    display: block;
}

.route-link-muted {
    cursor: default;
}

.about-section {
    background: var(--white);
    padding: clamp(4.5rem, 7vw, 6.5rem) 0;
}

.about-shell {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
}

.about-feature-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
}

.about-card,
.value-card {
    border-radius: 0.5rem;
    background: #f8fafc;
    border: 1px solid rgba(24, 32, 43, 0.06);
    box-shadow: 0 18px 44px rgba(16, 31, 46, 0.12);
}

.about-card {
    min-height: 275px;
    padding: 2rem;
    text-align: center;
}

.about-icon {
    width: 68px;
    height: 68px;
    margin: 0 auto 1.35rem;
    display: grid;
    place-items: center;
    border-radius: 999px;
    color: var(--white);
    background: #c52a1f;
}

.about-icon svg {
    width: 36px;
    height: 36px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.9;
}

.about-card h2,
.value-card h3 {
    margin: 0;
    color: var(--ink);
    font-size: 1.35rem;
    line-height: 1.2;
}

.about-card p {
    margin: 1rem auto 0;
    max-width: 360px;
    color: var(--muted);
    font-size: 1.02rem;
    line-height: 1.65;
}

.about-story,
.about-values {
    margin-top: clamp(4rem, 6vw, 5rem);
}

.about-story {
    width: min(880px, 100%);
    margin-left: auto;
    margin-right: auto;
}

.about-story h2,
.about-values h2 {
    margin: 0 0 1.8rem;
    color: #c52a1f;
    font-size: clamp(2.2rem, 4.6vw, 3.2rem);
    font-weight: 800;
    line-height: 1.1;
    text-align: center;
}

.about-copy {
    color: #3f4858;
    font-size: clamp(1.08rem, 2vw, 1.25rem);
    line-height: 1.7;
}

.about-copy p {
    margin: 0;
}

.about-copy p + p {
    margin-top: 1.15rem;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.value-card {
    padding: 1.5rem;
    text-align: center;
}

.value-card h3 {
    font-size: 1.08rem;
}

.value-card p {
    margin: 0.65rem 0 0;
    color: var(--muted);
    line-height: 1.5;
}

.intro-section,
.trust-section {
    padding: 5.5rem 0;
}

.section-grid,
.trust-panel,
.footer-grid {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
}

.section-grid {
    display: grid;
    grid-template-columns: minmax(260px, 0.85fr) 1.15fr;
    gap: clamp(2rem, 6vw, 5rem);
    align-items: start;
}

.intro-section h2,
.trust-section h2,
.policy-main h1 {
    margin: 0;
    color: var(--navy);
    font-family: "Playfair Display", serif;
    font-size: clamp(2.2rem, 4vw, 4rem);
    line-height: 1.04;
    letter-spacing: 0;
}

.intro-copy {
    display: grid;
    gap: 1rem;
    color: var(--muted);
    font-size: 1.06rem;
    line-height: 1.75;
}

.intro-copy p {
    margin: 0;
}

.destinations-section {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto 5.5rem;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.destination-card {
    min-height: 460px;
    position: relative;
    overflow: hidden;
    border-radius: 0.5rem;
    background: var(--ink);
    box-shadow: var(--shadow);
}

.destination-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease;
}

.destination-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(5, 12, 18, 0.08) 0%, rgba(5, 12, 18, 0.78) 78%, rgba(5, 12, 18, 0.92) 100%);
}

.destination-card:hover img {
    transform: scale(1.045);
}

.destination-content {
    position: absolute;
    inset: auto 0 0;
    z-index: 1;
    padding: 1.4rem;
    color: var(--white);
}

.destination-content p {
    margin: 0 0 0.55rem;
    color: var(--gold-light);
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.destination-content h2 {
    margin: 0;
    font-family: "Playfair Display", serif;
    font-size: clamp(1.8rem, 2.4vw, 2.4rem);
    line-height: 1.05;
    letter-spacing: 0;
}

.destination-content span {
    display: block;
    min-height: 4.8rem;
    margin-top: 0.8rem;
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.5;
}

.destination-content a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    margin-top: 1rem;
    color: var(--ink);
    background: var(--gold-light);
    border-radius: 0.5rem;
    padding: 0.7rem 0.95rem;
    text-decoration: none;
    font-weight: 800;
    font-size: 0.92rem;
}

.destination-card-soon .destination-content a {
    background: var(--white);
}

.trust-section {
    background: #e9e3d5;
}

.trust-panel {
    display: grid;
    grid-template-columns: 0.75fr 1fr auto;
    gap: 2rem;
    align-items: center;
}

.trust-panel p {
    margin: 0;
    color: var(--muted);
    line-height: 1.65;
}

.contact-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0.85rem 1rem;
    color: var(--white);
    background: var(--teal);
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 800;
    white-space: nowrap;
}

.site-footer {
    padding: 3rem 0 1.5rem;
    color: rgba(255, 255, 255, 0.74);
    background: #111c27;
}

.footer-grid {
    display: grid;
    grid-template-columns: minmax(260px, 1fr) 1.8fr;
    gap: 2rem;
}

.footer-brand {
    color: var(--gold-light);
    font-family: "Playfair Display", serif;
    font-size: 1.5rem;
    font-weight: 700;
    text-decoration: none;
}

.site-footer p {
    max-width: 420px;
    margin: 0.8rem 0 0;
    line-height: 1.6;
}

.site-footer nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.7rem 1rem;
}

.site-footer nav a {
    text-decoration: none;
    font-weight: 700;
}

.site-footer nav a:hover {
    color: var(--white);
}

.staff-link {
    color: rgba(255, 255, 255, 0.48);
}

.copyright {
    width: min(1180px, calc(100% - 32px));
    max-width: none;
    margin: 2rem auto 0;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.86rem;
}

.simple-page {
    background: var(--paper);
}

.policy-main {
    width: min(840px, calc(100% - 32px));
    margin: 0 auto;
    padding: 6rem 0;
}

.policy-main h1 {
    margin-bottom: 1rem;
}

.policy-lead {
    color: var(--muted);
    font-size: 1.2rem;
    line-height: 1.65;
}

.policy-main section {
    padding-top: 2rem;
}

.policy-main h2 {
    margin: 0 0 0.7rem;
    color: var(--navy);
    font-size: 1.35rem;
}

.policy-main p {
    color: var(--muted);
    line-height: 1.75;
}

.policy-main a {
    color: var(--teal);
    font-weight: 800;
}

.not-found-page {
    min-height: 100vh;
    color: var(--white);
    background:
        linear-gradient(90deg, rgba(8, 18, 26, 0.93), rgba(8, 18, 26, 0.76)),
        url("../img/asia-hero.jpg") center / cover;
}

.not-found {
    width: min(760px, calc(100% - 32px));
    min-height: 100vh;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.not-found img {
    width: 84px;
    height: 84px;
    object-fit: cover;
    border-radius: 999px;
    background: var(--white);
}

.not-found h1 {
    margin: 1.2rem 0 0;
    font-family: "Playfair Display", serif;
    font-size: clamp(3rem, 8vw, 6rem);
    line-height: 1;
}

.not-found p {
    max-width: 560px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 1.15rem;
    line-height: 1.6;
}

.home-return {
    margin-top: 1.3rem;
    color: var(--gold-light);
    font-weight: 800;
}

@media (max-width: 900px) {
    .nav-shell {
        min-height: 76px;
    }

    .nav-links {
        display: none;
    }

    .hero-inner {
        padding-bottom: 2.5rem;
    }

    .hero-actions,
    .about-feature-grid,
    .section-grid,
    .trust-panel,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .values-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .destinations-section {
        grid-template-columns: 1fr;
    }

    .destination-card {
        min-height: 390px;
    }

    .destination-content span {
        min-height: 0;
    }

    .site-footer nav {
        justify-content: flex-start;
    }

    .trust-panel {
        align-items: start;
    }

    .contact-link {
        width: fit-content;
    }
}

@media (max-width: 520px) {
    .hero {
        min-height: 104vh;
    }

    .hero-inner {
        width: min(100% - 24px, 1180px);
        padding-top: 6.2rem;
    }

    .hero h1 {
        width: min(100%, 340px);
        font-size: clamp(2.2rem, 10vw, 2.75rem);
        line-height: 1.04;
    }

    .hero-copy {
        width: min(100%, 340px);
        font-size: 1rem;
    }

    .route-link {
        min-height: 102px;
    }

    .intro-section,
    .about-section,
    .trust-section,
    .policy-main {
        padding: 4rem 0;
    }

    .about-card {
        min-height: 0;
        padding: 1.5rem;
    }

    .values-grid {
        grid-template-columns: 1fr;
    }

    .destination-card {
        min-height: 360px;
    }
}
