/* XIN China Travel — shared visual polish for interior pages.
   Navigation is intentionally outside this stylesheet's scope. */
:root {
    --xp-paper: #f5f2eb;
    --xp-paper-soft: #faf8f3;
    --xp-ink: #1c1b18;
    --xp-muted: #706c63;
    --xp-gold: #cbb071;
    --xp-gold-deep: #9b7b3c;
    --xp-line: rgba(137, 110, 56, .18);
    --xp-ease: cubic-bezier(.22, 1, .36, 1);
    --xp-shadow: 0 22px 60px rgba(35, 31, 23, .09);
    --xp-shadow-hover: 0 30px 75px rgba(35, 31, 23, .14);
}

html { scroll-padding-top: 110px; }
body { background: var(--xp-paper); color: var(--xp-ink); }
::selection { background: rgba(203, 176, 113, .3); color: var(--xp-ink); }

main { position: relative; overflow: clip; background: var(--xp-paper); }
main :is(h1, h2, h3) { text-wrap: balance; }
main :is(p, li) { text-wrap: pretty; }
main :is(.container, .container-wide) { position: relative; }
main [id] { scroll-margin-top: 112px; }
main :is(a, button, input, select, textarea),
.xin-footer a { touch-action: manipulation; -webkit-tap-highlight-color: rgba(203,176,113,.16); }

/* Editorial page openings */
main :is(.page-header, .article-hero) {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding-top: clamp(148px, 15vw, 190px);
    padding-bottom: clamp(72px, 8vw, 106px);
    background:
        radial-gradient(circle at 84% 24%, rgba(203, 176, 113, .18), transparent 28%),
        radial-gradient(circle at 16% 94%, rgba(255, 255, 255, .055), transparent 30%),
        linear-gradient(145deg, #292822 0%, #171714 62%, #11110f 100%);
}
main :is(.page-header, .article-hero)::after {
    content: '';
    position: absolute;
    z-index: -1;
    inset: auto 8% 0 auto;
    width: min(38vw, 480px);
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(203, 176, 113, .55));
}
main :is(.page-header, .article-hero) h1 {
    max-width: 980px;
    margin-inline: auto;
    color: #fff;
    font-size: clamp(48px, 6.7vw, 82px);
    font-weight: 500;
    line-height: .98;
    letter-spacing: -.035em;
}
main .article-hero h1 { margin-inline: 0; font-size: clamp(42px, 5.5vw, 68px); }
main :is(.page-header, .article-hero) p,
main .article-hero .meta { color: rgba(255,255,255,.68); }
main .page-header p { margin-top: 22px; font-size: clamp(14px, 1.5vw, 17px); letter-spacing: .01em; }
main .article-hero .tag {
    border: 1px solid rgba(203,176,113,.42);
    background: rgba(203,176,113,.1);
    color: #dfc98f;
    backdrop-filter: blur(8px);
}

/* Image-led destination and itinerary openings */
main :is(.dest-hero, .hero) { position: relative; isolation: isolate; }
main > .hero:first-child::after {
    content: '';
    position: absolute;
    z-index: 0;
    inset: 0;
    background:
        radial-gradient(circle at 80% 20%, rgba(203,176,113,.16), transparent 30%),
        linear-gradient(180deg, rgba(0,0,0,0), rgba(0,0,0,.12));
    pointer-events: none;
}
main > .hero:first-child > * { position: relative; z-index: 1; }
main :is(.dest-hero-bg, .hero-bg, .hero-image) img {
    filter: saturate(.88) contrast(1.04);
    transition: transform 1.4s var(--xp-ease), filter .8s ease;
}
main :is(.dest-hero, .hero):hover :is(.dest-hero-bg, .hero-bg, .hero-image) img { transform: scale(1.018); }
main .dest-hero h1,
main .hero h1 { letter-spacing: -.035em; text-shadow: 0 4px 32px rgba(0,0,0,.24); }
main .breadcrumb { color: rgba(255,255,255,.66); }
main .breadcrumb a:hover { color: var(--xp-gold); }

/* Section rhythm */
main :is(.intro, .features, .steps, .services-grid, .resources-section, .destinations-grid, .article-content, .timeline-section, .contact-section) {
    position: relative;
}
main :is(.intro, .features, .steps, .services-grid, .resources-section, .article-content, .timeline-section, .contact-section) {
    padding-top: clamp(72px, 8vw, 112px);
    padding-bottom: clamp(72px, 8vw, 112px);
}
main .section-label {
    color: var(--xp-gold-deep);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .18em;
    text-transform: uppercase;
}
main :is(.section-title, .section-header h2, .intro h2, .features > .container > h2, .steps > .container > h2) {
    color: var(--xp-ink);
    font-weight: 500;
    letter-spacing: -.028em;
}
main .section-header { margin-bottom: clamp(34px, 5vw, 58px); }

/* The services index nests a grid inside its section. Keep one measured layer
   of spacing so the first row enters the opening viewport instead of being
   pushed down by duplicated section and grid padding. */
body.xin-services-index-page main .resources-section {
    padding-top: clamp(60px, 6vw, 82px);
    padding-bottom: clamp(76px, 8vw, 112px);
}
body.xin-services-index-page main .resources-section > .container > .services-grid {
    padding-top: 0;
    padding-bottom: 0;
}

/* Destination editorial body */
main .dest-content { padding: 0 0 clamp(76px, 9vw, 120px); background: var(--xp-paper); }
main .dest-content > .container {
    z-index: 2;
    margin-top: -54px;
    padding: clamp(38px, 6vw, 76px);
    border: 1px solid rgba(255,255,255,.84);
    border-radius: 28px;
    background: rgba(255,255,255,.92);
    box-shadow: var(--xp-shadow);
    backdrop-filter: blur(18px);
}
main .dest-content > .container > p:first-child {
    color: #37342d;
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: clamp(21px, 2.3vw, 29px);
    line-height: 1.5;
}
main .dest-content h2 { margin-top: clamp(48px, 7vw, 72px); font-weight: 500; letter-spacing: -.02em; }
main .dest-content ul { padding-left: 1.25em; }
main .dest-content li::marker,
main .article-content li::marker { color: var(--xp-gold-deep); }

/* Reusable cards */
main :is(.service-card, .feature-card, .highlight-card, .blog-card, .vehicle-card, .price-card, .provider, .step, .info-item, .tldr-box) {
    border: 1px solid rgba(137,110,56,.13);
    background-color: rgba(255,255,255,.92);
    box-shadow: 0 12px 38px rgba(35,31,23,.055);
    transition: transform .65s var(--xp-ease), box-shadow .65s var(--xp-ease), border-color .45s ease, background-color .45s ease;
}
@media (hover: hover) and (pointer: fine) {
    main :is(.service-card, .feature-card, .highlight-card, .blog-card, .vehicle-card, .price-card, .provider, .step, .info-item, .tldr-box):hover {
        transform: translateY(-7px);
        border-color: rgba(155,123,60,.38);
        background-color: #fff;
        box-shadow: var(--xp-shadow-hover);
    }
}
main :is(.service-card, .blog-card, .vehicle-card, .dest-card) { overflow: hidden; }
main :is(.service-card, .blog-card, .vehicle-card, .dest-card) img {
    transition: transform .9s var(--xp-ease), filter .6s ease;
}
@media (hover: hover) and (pointer: fine) {
    main :is(.service-card, .blog-card, .vehicle-card, .dest-card):hover img {
        transform: scale(1.045);
        filter: saturate(.95) contrast(1.03);
    }
}
main .dest-card { box-shadow: 0 16px 42px rgba(27,25,20,.12); }
main .dest-card::before { border-width: 1px; }
main .dest-overlay { background: linear-gradient(to top, rgba(13,13,11,.86) 0%, rgba(13,13,11,.18) 58%, transparent 78%); }

/* Destinations index — curated atlas rhythm */
body.xin-destinations-index-page main .destinations-grid {
    overflow: hidden;
    padding-top: clamp(74px, 7vw, 104px);
    background:
        radial-gradient(circle at 8% 4%, rgba(203,176,113,.16), transparent 24%),
        radial-gradient(circle at 92% 38%, rgba(255,255,255,.62), transparent 22%),
        var(--xp-paper);
}

body.xin-destinations-index-page main .destinations-grid::before {
    content: '';
    position: absolute;
    top: 34px;
    left: 50%;
    width: min(1180px, calc(100% - 48px));
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(137,110,56,.24), transparent);
    transform: translateX(-50%);
}

body.xin-destinations-index-page main .destinations-grid > .container {
    max-width: 1220px;
}

body.xin-destinations-index-page main .xin-destinations-editorial {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(340px, .62fr);
    align-items: end;
    gap: clamp(32px, 5vw, 74px);
    margin: 0 auto clamp(42px, 5.8vw, 74px);
}

body.xin-destinations-index-page main .xin-destinations-editorial .section-label {
    grid-column: 1 / -1;
    margin: 0 0 -18px;
}

body.xin-destinations-index-page main .xin-destinations-editorial h2 {
    max-width: 780px;
    margin: 0;
    color: var(--xp-ink);
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: clamp(42px, 5.8vw, 76px);
    font-weight: 500;
    line-height: .88;
    letter-spacing: -.038em;
}

body.xin-destinations-index-page main .xin-destinations-editorial h2 span {
    display: block;
}

body.xin-destinations-index-page main .xin-destinations-editorial h2 span + span {
    margin-top: clamp(14px, 1.35vw, 22px);
}

body.xin-destinations-index-page main .xin-destinations-editorial > p:not(.section-label) {
    margin: 0;
    padding-left: 26px;
    border-left: 1px solid rgba(137,110,56,.22);
    color: var(--xp-muted);
    font-size: 14px;
    line-height: 1.8;
}

body.xin-destinations-index-page main .xin-destination-paths {
    grid-column: 1 / -1;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: -12px;
}

body.xin-destinations-index-page main .xin-destination-paths span {
    display: inline-flex;
    min-height: 34px;
    align-items: center;
    padding: 0 14px;
    border: 1px solid rgba(137,110,56,.16);
    border-radius: 999px;
    background: rgba(255,255,255,.42);
    color: #8b6c2f;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .09em;
    text-transform: uppercase;
}

body.xin-destinations-index-page main .dest-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: clamp(14px, 1.7vw, 22px);
    padding: 0;
}

body.xin-destinations-index-page main .dest-card {
    grid-column: span 2;
    min-height: clamp(340px, 34vw, 465px);
    aspect-ratio: auto;
    border-radius: 28px;
    box-shadow: 0 18px 48px rgba(27,25,20,.13);
}

body.xin-destinations-index-page main .dest-card:nth-child(1),
body.xin-destinations-index-page main .dest-card:nth-child(7) {
    grid-column: span 3;
    min-height: clamp(410px, 39vw, 540px);
}

body.xin-destinations-index-page main .dest-card:nth-child(3),
body.xin-destinations-index-page main .dest-card:nth-child(10) {
    grid-column: span 3;
}

body.xin-destinations-index-page main .dest-card::before {
    inset: 12px;
    border: 1px solid rgba(255,255,255,.22);
    border-radius: 22px;
    pointer-events: none;
}

body.xin-destinations-index-page main .dest-card:hover::before {
    border-color: rgba(203,176,113,.72);
}

body.xin-destinations-index-page main .dest-card::after {
    content: '';
    position: absolute;
    z-index: 1;
    inset: 0;
    background: radial-gradient(circle at 72% 18%, rgba(203,176,113,.2), transparent 28%);
    opacity: 0;
    transition: opacity .55s ease;
    pointer-events: none;
}

body.xin-destinations-index-page main .dest-card:hover::after {
    opacity: 1;
}

body.xin-destinations-index-page main .dest-card img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(.88) contrast(1.04) brightness(.95);
}

body.xin-destinations-index-page main .dest-overlay {
    z-index: 2;
    justify-content: flex-end;
    min-height: 100%;
    padding: clamp(24px, 3vw, 34px);
    background:
        linear-gradient(180deg, rgba(11,11,9,.05) 0%, rgba(11,11,9,.12) 38%, rgba(11,11,9,.88) 100%),
        linear-gradient(90deg, rgba(11,11,9,.34), transparent 55%);
}

body.xin-destinations-index-page main .xin-dest-meta {
    position: absolute;
    top: clamp(22px, 2.5vw, 30px);
    left: clamp(24px, 3vw, 34px);
    max-width: calc(100% - 68px);
    padding: 7px 10px;
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 999px;
    background: rgba(16,15,12,.22);
    color: #ecd79c;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    text-shadow: 0 2px 12px rgba(0,0,0,.5);
    backdrop-filter: blur(8px);
}

body.xin-destinations-index-page main .dest-card h3 {
    max-width: 88%;
    margin: 0 0 10px;
    color: #fffaf0;
    font-size: clamp(27px, 3.1vw, 42px);
    font-weight: 500;
    line-height: .95;
    letter-spacing: -.035em;
    text-align: right;
    text-shadow: 0 10px 32px rgba(0,0,0,.36);
}

body.xin-destinations-index-page main .xin-dest-mood {
    max-width: 260px;
    margin: 0;
    color: rgba(255,255,255,.72);
    font-size: 13px;
    line-height: 1.55;
    text-align: right;
}

body.xin-destinations-index-page main .xin-dest-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    width: max-content;
    margin-top: 18px;
    padding-top: 14px;
    border-top: 1px solid rgba(236,215,156,.42);
    color: #ecd79c;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    transform: translateY(8px);
    opacity: .72;
    transition: transform .45s var(--xp-ease), opacity .35s ease;
}

body.xin-destinations-index-page main .dest-card:hover .xin-dest-link,
body.xin-destinations-index-page main .dest-card:focus-visible .xin-dest-link {
    transform: translateY(0);
    opacity: 1;
}

@media (max-width: 1080px) {
    body.xin-destinations-index-page main .dest-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    body.xin-destinations-index-page main .dest-card,
    body.xin-destinations-index-page main .dest-card:nth-child(1),
    body.xin-destinations-index-page main .dest-card:nth-child(3),
    body.xin-destinations-index-page main .dest-card:nth-child(7),
    body.xin-destinations-index-page main .dest-card:nth-child(10) {
        grid-column: span 2;
        min-height: 390px;
    }
}

@media (max-width: 768px) {
    body.xin-destinations-index-page main .destinations-grid {
        padding-top: 64px;
    }

    body.xin-destinations-index-page main .xin-destinations-editorial {
        grid-template-columns: 1fr;
        gap: 24px;
        margin-bottom: 34px;
    }

    body.xin-destinations-index-page main .xin-destinations-editorial .section-label {
        margin-bottom: -8px;
    }

    body.xin-destinations-index-page main .xin-destinations-editorial h2 {
        font-size: clamp(38px, 12vw, 54px);
    }

    body.xin-destinations-index-page main .xin-destinations-editorial > p:not(.section-label) {
        padding: 16px 0 0;
        border-top: 1px solid rgba(137,110,56,.22);
        border-left: 0;
        font-size: 13px;
    }

    body.xin-destinations-index-page main .xin-destination-paths {
        margin-top: -4px;
    }

    body.xin-destinations-index-page main .dest-grid {
        grid-template-columns: 1fr;
        gap: 18px;
        padding: 0;
    }

    body.xin-destinations-index-page main .dest-card,
    body.xin-destinations-index-page main .dest-card:nth-child(1),
    body.xin-destinations-index-page main .dest-card:nth-child(3),
    body.xin-destinations-index-page main .dest-card:nth-child(7),
    body.xin-destinations-index-page main .dest-card:nth-child(10) {
        grid-column: auto;
        min-height: 360px;
        border-radius: 24px;
    }

    body.xin-destinations-index-page main .dest-card h3 {
        font-size: 34px;
    }
}
main .service-badge,
main .feature-tag,
main .blog-card-tag,
main .tl-tag {
    border: 1px solid rgba(203,176,113,.24);
    background: rgba(203,176,113,.11);
    color: var(--xp-gold-deep);
    letter-spacing: .08em;
}

/* Itinerary and timeline */
main .timeline-section { background: var(--xp-paper-soft); }
main .tl-row,
main .day-item {
    border-color: var(--xp-line);
    transition: background-color .35s ease, border-color .35s ease, transform .55s var(--xp-ease);
}
@media (hover: hover) and (pointer: fine) {
    main .tl-row:hover { transform: translateX(5px); background: rgba(255,255,255,.68); border-color: rgba(155,123,60,.3); }
}
main .tl-icon,
main .day-num { box-shadow: 0 0 0 6px rgba(203,176,113,.08); }
main .day-header { transition: color .25s ease, background-color .3s ease; }
main .day-header:hover { color: var(--xp-gold-deep); background: rgba(203,176,113,.06); }

/* Article treatment */
main .article-content { background: var(--xp-paper-soft); }
main .article-content > .container { max-width: 820px; }
main .article-content p { color: #4d4941; font-size: clamp(15px, 1.35vw, 17px); line-height: 1.9; }
main .article-content h2 {
    position: relative;
    margin-top: clamp(52px, 7vw, 78px);
    padding-top: 22px;
    color: var(--xp-ink);
    font-size: clamp(28px, 3vw, 38px);
    font-weight: 500;
    letter-spacing: -.025em;
}
main .article-content h2::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 44px;
    height: 1px;
    background: var(--xp-gold);
}
main .article-content img { border-radius: 22px; box-shadow: var(--xp-shadow); }
main .article-content a:not(.btn):not(.back-link) { color: #8e6e32; text-decoration: underline; text-decoration-color: rgba(142,110,50,.25); text-underline-offset: 4px; }
main .article-content a:not(.btn):not(.back-link):hover { text-decoration-color: currentColor; }
main .back-link { color: var(--xp-gold-deep); }

/* Privacy and contact pages */
main .privacy-hero { position: relative; overflow: hidden; }
main .privacy-hero::after {
    content: '';
    position: absolute;
    right: 8%;
    bottom: 0;
    width: min(36vw, 420px);
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(203,176,113,.5));
}
main .notice {
    border: 1px solid rgba(137,110,56,.14);
    border-radius: 24px;
    background: rgba(255,255,255,.9);
    box-shadow: var(--xp-shadow);
}
main .notice-section { scroll-margin-top: 120px; }
main .notice-section h2 { font-weight: 500; letter-spacing: -.018em; }
main .privacy-nav a { transition: color .25s ease, transform .4s var(--xp-ease), border-color .25s ease; }
main .privacy-nav a:hover { color: var(--xp-gold-deep); transform: translateX(3px); }
main .contact-item { transition: transform .45s var(--xp-ease), color .25s ease; }
main .contact-item:hover { transform: translateX(4px); }
main .contact-icon { box-shadow: 0 0 0 6px rgba(203,176,113,.08); }

/* Contact page — quiet concierge layout, not matching cards */
body.xin-contact-page main .page-header {
    text-align: left;
}
body.xin-contact-page main .page-header .container {
    width: min(1180px, calc(100% - 48px));
    max-width: 1180px;
    margin-inline: auto;
    padding: 0;
    --xin-contact-content-inset: max(0px, calc((100% - 900px) / 2));
}
body.xin-contact-page main .page-header h1 {
    max-width: 900px;
    margin: 0 0 0 var(--xin-contact-content-inset);
}
body.xin-contact-page main .page-header p {
    position: relative;
    max-width: 600px;
    margin: 22px 0 0 var(--xin-contact-content-inset);
    padding-left: 58px;
}
body.xin-contact-page main .page-header p::before {
    content: '';
    position: absolute;
    top: .8em;
    left: 0;
    width: 38px;
    height: 1px;
    background: var(--xp-gold);
}
body.xin-contact-page main .contact-section {
    padding: clamp(86px, 9vw, 128px) 0 clamp(104px, 11vw, 150px);
    background:
        radial-gradient(circle at 8% 12%, rgba(203,176,113,.09), transparent 24%),
        var(--xp-paper);
}
body.xin-contact-page main .contact-grid {
    grid-template-columns: minmax(270px, .72fr) minmax(0, 1.28fr);
    gap: clamp(54px, 7vw, 104px);
    align-items: start;
}
body.xin-contact-page main .contact-info {
    position: sticky;
    top: 126px;
    align-self: start;
    padding: 34px 0 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}
body.xin-contact-page main .contact-info::before {
    content: '';
    display: block;
    width: 46px;
    height: 1px;
    margin-bottom: 26px;
    background: var(--xp-gold-deep);
}
body.xin-contact-page main .contact-info h2 {
    margin-bottom: 18px;
    font-size: clamp(38px, 4vw, 54px);
    font-weight: 500;
    letter-spacing: -.03em;
}
body.xin-contact-page main .contact-info > p {
    max-width: 390px;
    margin-bottom: 42px;
    color: var(--xp-muted);
    font-size: 14px;
    line-height: 1.85;
}
body.xin-contact-page main .contact-item {
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr);
    gap: 17px;
    align-items: center;
    margin: 0;
    padding: 20px 0;
    border-top: 1px solid var(--xp-line);
}
body.xin-contact-page main .contact-item:last-child { border-bottom: 1px solid var(--xp-line); }
body.xin-contact-page main .contact-icon {
    width: 42px;
    height: 42px;
    border: 1px solid rgba(155,123,60,.42);
    background: transparent;
    box-shadow: none;
    transition: background-color .3s ease, border-color .3s ease, transform .45s var(--xp-ease);
}
body.xin-contact-page main .contact-icon svg { width: 18px; height: 18px; stroke: var(--xp-gold-deep); }
body.xin-contact-page main .contact-item:hover .contact-icon {
    border-color: var(--xp-gold-deep);
    background: rgba(203,176,113,.12);
    transform: rotate(-4deg);
}
body.xin-contact-page main .contact-item h3 { margin-bottom: 5px; font-size: 12px; letter-spacing: .07em; text-transform: uppercase; }
body.xin-contact-page main .contact-item p { color: var(--xp-muted); }
body.xin-contact-page main .contact-item a {
    color: #60502e;
    text-decoration-color: rgba(96,80,46,.28);
    transition: color .25s ease, text-decoration-color .25s ease;
}
body.xin-contact-page main .contact-item a:hover { color: var(--xp-gold-deep); text-decoration-color: currentColor; }
body.xin-contact-page main .contact-form {
    padding: clamp(36px, 5vw, 58px);
    border: 1px solid rgba(137,110,56,.15);
    border-radius: 28px;
    background: rgba(255,255,255,.94);
    box-shadow: 0 28px 80px rgba(35,31,23,.1);
}
body.xin-contact-page main .contact-form h2 {
    margin-bottom: 38px;
    font-size: clamp(30px, 3vw, 40px);
    font-weight: 500;
    letter-spacing: -.025em;
}
body.xin-contact-page main .form-group { margin-bottom: 23px; }
body.xin-contact-page main .form-group label {
    margin-bottom: 9px;
    color: #3f3c35;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .025em;
}
body.xin-contact-page main .form-group :is(input, select, textarea) {
    min-height: 52px;
    padding: 15px 17px;
    border-color: rgba(97,89,76,.2);
    border-radius: 11px;
    background: #fbfaf7;
}
body.xin-contact-page main .form-group textarea { min-height: 138px; }
body.xin-contact-page main .form-note { margin: 2px 0 24px; line-height: 1.75; }
body.xin-contact-page main .contact-form .btn-primary {
    min-height: 54px;
    background: #24231f;
    color: #e1c98e;
    letter-spacing: .025em;
    box-shadow: inset 0 0 0 1px rgba(203,176,113,.2);
}
body.xin-contact-page main .contact-form .btn-primary:hover {
    background: #171714;
    color: #f1dda9;
    box-shadow: 0 16px 34px rgba(28,27,24,.18), inset 0 0 0 1px rgba(203,176,113,.38);
}

/* FAQ */
main .faq { background: var(--xp-paper-soft); }
main .faq-list { display: grid; gap: 12px; }
main .faq-item {
    overflow: hidden;
    border: 1px solid rgba(137,110,56,.14);
    border-radius: 14px;
    background: rgba(255,255,255,.7);
    box-shadow: 0 8px 28px rgba(35,31,23,.035);
    transition: border-color .35s ease, background-color .35s ease, box-shadow .45s ease, transform .45s var(--xp-ease);
}
main .faq-item:hover,
main .faq-item.open {
    border-color: rgba(155,123,60,.36);
    background: #fff;
    box-shadow: 0 14px 40px rgba(35,31,23,.08);
}
main .faq-item:hover { transform: translateY(-2px); }
main .faq-question { padding-inline: clamp(18px, 3vw, 28px); }
main .faq-answer { padding-inline: clamp(18px, 3vw, 28px); }
main .faq-item.open .faq-answer {
    padding-block: clamp(20px, 2.1vw, 24px);
    border-top: 1px solid rgba(155,123,60,.15);
}
main .faq-icon { transition: transform .5s var(--xp-ease), background-color .3s ease, color .3s ease; }

/* Forms and controls */
main :is(input, textarea, select) {
    border: 1px solid rgba(107,99,84,.24);
    border-radius: 12px;
    background: rgba(255,255,255,.88);
    transition: border-color .25s ease, box-shadow .3s ease, background-color .25s ease;
}
main :is(input, textarea, select):focus {
    border-color: var(--xp-gold-deep);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(203,176,113,.13);
    outline: none;
}

/* Calls to action and buttons */
main :is(.cta, .dest-cta) {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background:
        radial-gradient(circle at 82% 20%, rgba(255,255,255,.14), transparent 28%),
        linear-gradient(132deg, #b8954c, #cbb071 48%, #9d7b38);
}
main :is(.cta, .dest-cta)::before {
    content: '';
    position: absolute;
    z-index: -1;
    inset: 20px;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 22px;
    pointer-events: none;
}
main :is(.btn, .btn-primary, button[type='submit']) {
    min-height: 48px;
    border-radius: 999px;
    transition: transform .45s var(--xp-ease), box-shadow .45s var(--xp-ease), background-color .3s ease, color .3s ease;
}
@media (hover: hover) and (pointer: fine) {
    main :is(.btn, .btn-primary, button[type='submit']):hover { transform: translateY(-3px); box-shadow: 0 15px 34px rgba(35,31,23,.16); }
}

/* Scroll reveal — progressive enhancement only */
.xin-polish-js .xin-reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .82s var(--xp-ease) var(--xin-delay, 0ms), transform .82s var(--xp-ease) var(--xin-delay, 0ms);
}
.xin-polish-js .xin-reveal.xin-visible { opacity: 1; transform: none; }
.xin-polish-js main > :first-child .container > * {
    animation: xin-intro .9s var(--xp-ease) both;
}
.xin-polish-js main > :first-child .container > *:nth-child(2) { animation-delay: .08s; }
.xin-polish-js main > :first-child .container > *:nth-child(3) { animation-delay: .16s; }
@keyframes xin-intro { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* Approved shared footer template */
.xin-footer {
    --xf-gold: #cbb071;
    --xf-gold-dim: #92783e;
    --xf-mist: rgba(255,255,255,.58);
    position: relative;
    overflow: hidden;
    width: 100%;
    padding: 82px 0 26px;
    background: radial-gradient(ellipse 65% 110% at 96% 2%,rgba(178,139,64,.15),transparent 58%),linear-gradient(135deg,#20201a,#161614 62%,#191914);
    color: #fff;
    font-family: 'Inter', Arial, sans-serif;
    line-height: normal;
}
.xin-footer * { box-sizing: border-box; }
.xin-footer a { text-decoration: none; }
.xin-footer .footer-shell { position: relative; width: min(1180px,calc(100% - 80px)); margin: auto; }
.xin-footer .footer-grid { display: grid; grid-template-columns: 1.55fr .68fr .68fr 1.2fr; gap: 54px; margin: 0; align-items: start; }
.xin-footer .brand-mark { display: inline-flex; align-items: center; gap: 12px; color: #fff; font: 600 20px/1 'Cormorant Garamond',serif; letter-spacing: .02em; }
.xin-footer .mark-dot { width: 8px; height: 8px; border: 1px solid var(--xf-gold); border-radius: 50%; box-shadow: 0 0 0 4px rgba(203,176,113,.09); }
.xin-footer .footer-brand-copy { max-width: 292px; margin: 22px 0 0; color: var(--xf-mist); font-size: 13px; line-height: 1.8; }
.xin-footer .footer-brand-copy::before { content: ''; display: block; width: 34px; height: 1px; margin: 0 0 17px; background: var(--xf-gold-dim); }
.xin-footer .footer-title { margin: 4px 0 18px; color: var(--xf-gold); font-size: 10px; font-weight: 600; line-height: normal; letter-spacing: .14em; text-transform: uppercase; }
.xin-footer .footer-links { margin: 0; padding: 0; list-style: none; }
.xin-footer .footer-links li + li { margin-top: 11px; }
.xin-footer .footer-links a { color: rgba(255,255,255,.72); font-size: 13px; transition: color .22s ease; }
.xin-footer .footer-links a::after { content: '↗'; margin-left: 7px; color: var(--xf-gold); opacity: 0; transition: opacity .22s ease; }
.xin-footer .footer-links a:hover,
.xin-footer .footer-links a:focus-visible { color: #fff; }
.xin-footer .footer-links a:hover::after,
.xin-footer .footer-links a:focus-visible::after { opacity: 1; }
.xin-footer .footer-conversation { position: relative; padding-left: 28px; border-left: 1px solid rgba(203,176,113,.52); }
.xin-footer .footer-conversation::before { content: ''; position: absolute; left: -3px; top: 4px; width: 5px; height: 5px; border-radius: 50%; background: var(--xf-gold); box-shadow: 0 0 0 5px rgba(203,176,113,.1); }
.xin-footer .footer-conversation h2 { margin: 0; max-width: 255px; color: #fff; font: 500 35px/.96 'Cormorant Garamond',serif; letter-spacing: -.025em; }
.xin-footer .footer-conversation > a { display: inline-flex; align-items: center; gap: 9px; margin-top: 24px; color: var(--xf-gold); font-size: 13px; font-weight: 600; }
.xin-footer .footer-conversation > a span { font-size: 18px; transition: transform .22s ease; }
.xin-footer .footer-conversation > a:hover span { transform: translateX(4px); }
.xin-footer .footer-response { margin: 11px 0 0; color: var(--xf-mist); font-size: 11px; line-height: normal; letter-spacing: .01em; }
.xin-footer .footer-bottom { display: grid; grid-template-columns: 1.55fr .68fr .68fr 1.2fr; column-gap: 54px; row-gap: 22px; margin-top: 74px; padding: 0; border: 0; color: rgba(255,255,255,.44); font-size: 11px; }
.xin-footer .footer-bottom > span { grid-column: 1/4; grid-row: 2; }
.xin-footer .footer-legal { grid-column: 4; grid-row: 2; display: grid; width: max-content; margin-left: 28px; text-align: right; }
.xin-footer .footer-legal::before { content: 'journey around'; grid-area: 1/1; height: 0; overflow: hidden; visibility: hidden; white-space: nowrap; font: 500 35px/0 'Cormorant Garamond',serif; letter-spacing: -.025em; }
.xin-footer .footer-legal a { grid-area: 1/1; justify-self: end; color: var(--xf-gold); }
.xin-footer .footer-rule { grid-column: 1/5; display: grid; grid-template-columns: 1.55fr .68fr .68fr 1.2fr; column-gap: 54px; height: 0; }
.xin-footer .footer-rule::before { content: ''; grid-column: 1/4; width: calc(100% + 54px); border-top: 1px solid rgba(203,176,113,.28); }
.xin-footer .footer-rule::after { content: 'journey around'; grid-column: 4; width: max-content; height: 0; padding-left: 28px; overflow: hidden; color: transparent; white-space: nowrap; border-top: 1px solid rgba(203,176,113,.28); font: 500 35px/0 'Cormorant Garamond',serif; letter-spacing: -.025em; }

/* 404 retains all original copy while joining the shared visual system. */
body.xin-error-page { display: block; min-height: 100vh; padding: 0; background: #171714; }
body.xin-error-page > main { display: grid; align-content: center; min-height: 78vh; margin: 0 auto; padding: 90px 24px; background: radial-gradient(circle at 50% 20%, rgba(203,176,113,.12), transparent 34%), #171714; color: #fff; }
body.xin-error-page .error-code { text-shadow: 0 16px 65px rgba(203,176,113,.18); }
body.xin-error-page > main h1 { color: #fff; font-size: clamp(30px, 3vw, 40px); }

@media (max-width: 800px) {
    main :is(.page-header, .article-hero) { padding-top: 126px; padding-bottom: 64px; }
    main :is(.page-header, .article-hero) h1 { font-size: clamp(40px, 12vw, 58px); }
    main .dest-content > .container { margin: -28px 14px 0; padding: 34px 22px; border-radius: 20px; }
    main :is(.intro, .features, .steps, .services-grid, .resources-section, .article-content, .timeline-section, .contact-section) { padding-top: 64px; padding-bottom: 64px; }
    main :is(.cta, .dest-cta)::before { inset: 12px; border-radius: 16px; }
    body.xin-contact-page main .contact-section { padding: 66px 0 84px; }
    body.xin-contact-page main .page-header p { padding-left: 44px; }
    body.xin-contact-page main .page-header p::before { width: 28px; }
    body.xin-contact-page main .contact-grid { grid-template-columns: 1fr; gap: 54px; }
    body.xin-contact-page main .contact-info { position: static; padding-top: 0; }
    body.xin-contact-page main .contact-info > p { margin-bottom: 30px; }
    body.xin-contact-page main .contact-form { padding: 30px 22px; border-radius: 20px; }
    body.xin-contact-page main .contact-form h2 { margin-bottom: 30px; }
    body.xin-contact-page main .form-row { grid-template-columns: 1fr; gap: 0; }
    .xin-footer { padding: 56px 0 24px; }
    .xin-footer .footer-shell { width: min(calc(100% - 44px),600px); }
    .xin-footer .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px 28px; }
    .xin-footer .footer-brand { grid-column: 1/-1; }
    .xin-footer .footer-conversation { grid-column: 1/-1; padding: 26px 0 0; border-left: 0; border-top: 1px solid rgba(203,176,113,.34); }
    .xin-footer .footer-conversation::before { left: 0; top: -3px; }
    .xin-footer .footer-conversation h2 { max-width: 300px; }
    .xin-footer .footer-bottom { display: flex; margin-top: 48px; padding-top: 22px; flex-direction: column; gap: 12px; border-top: 1px solid rgba(203,176,113,.28); }
    .xin-footer .footer-rule { display: none; }
    .xin-footer .footer-legal { display: flex; width: auto; margin-left: 0; text-align: left; }
    .xin-footer .footer-legal::before { content: none; }
}

@media (max-width: 520px) {
    .xin-footer .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px 22px; }
    .xin-footer .footer-conversation h2 { font-size: 32px; }
}

@media (prefers-reduced-motion: reduce) {
    .xin-polish-js .xin-reveal,
    .xin-polish-js main > :first-child .container > * { opacity: 1; transform: none; animation: none; transition: none; }
    main :is(.dest-hero-bg, .hero-bg, .hero-image) img,
    main :is(.service-card, .blog-card, .vehicle-card, .dest-card) img { transition: none; }
}

/* Contact form v2 — a single-page private journey brief */
body.xin-contact-page main .contact-grid {
    grid-template-columns: minmax(270px, .58fr) minmax(0, 1.42fr);
    gap: clamp(62px, 7.5vw, 116px);
}
body.xin-contact-page main .contact-form {
    padding: 0;
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}
body.xin-contact-page main .inquiry-heading {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(132px, 168px);
    gap: clamp(28px, 4vw, 54px);
    align-items: end;
    padding: 0 0 34px;
    border-bottom: 1px solid rgba(143,109,47,.42);
}
body.xin-contact-page main .inquiry-kicker {
    margin: 0 0 10px;
    color: var(--xp-gold-deep);
    font-size: 10px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: .19em;
    text-transform: uppercase;
}
body.xin-contact-page main .contact-form .inquiry-heading h2 {
    margin: 0;
    max-width: 620px;
    font-size: clamp(42px, 4.3vw, 58px);
    font-weight: 500;
    line-height: .98;
    letter-spacing: -.035em;
}
body.xin-contact-page main .inquiry-intro {
    max-width: 500px;
    margin: 17px 0 0;
    color: #6f6a60;
    font-size: 13px;
    line-height: 1.75;
}
body.xin-contact-page main .inquiry-progress {
    padding-bottom: 6px;
}
body.xin-contact-page main .inquiry-progress-copy {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 11px;
    color: #777166;
    font-size: 9px;
    font-weight: 650;
    line-height: 1.2;
    letter-spacing: .11em;
    text-transform: uppercase;
}
body.xin-contact-page main .inquiry-progress-copy strong {
    color: var(--xp-gold-deep);
    font-size: 11px;
    letter-spacing: .08em;
}
body.xin-contact-page main .inquiry-progress-track {
    height: 2px;
    overflow: hidden;
    background: rgba(132,114,77,.16);
}
body.xin-contact-page main .inquiry-progress-track span {
    display: block;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, #97742f, #d2b66e);
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform .5s var(--xp-ease);
}
body.xin-contact-page main #contactForm {
    position: relative;
    padding: 29px 0 0 50px;
}
body.xin-contact-page main #contactForm::before {
    content: '';
    position: absolute;
    top: 75px;
    bottom: 126px;
    left: 15px;
    width: 1px;
    background: linear-gradient(180deg, rgba(155,118,47,.42), rgba(155,118,47,.12));
}
body.xin-contact-page main .form-requirement {
    margin: 0 0 29px;
    color: #837d72;
    font-size: 10px;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: .08em;
    text-align: right;
    text-transform: uppercase;
}
body.xin-contact-page main .form-requirement span {
    color: var(--xp-gold-deep);
}
body.xin-contact-page main .inquiry-chapter {
    position: relative;
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
}
body.xin-contact-page main .inquiry-chapter + .inquiry-chapter {
    margin-top: 42px;
    padding-top: 40px;
    border-top: 1px solid rgba(116,105,84,.14);
}
body.xin-contact-page main .inquiry-chapter > legend::before {
    content: '';
    position: absolute;
    z-index: 1;
    top: 50%;
    left: -41px;
    width: 13px;
    height: 13px;
    border: 1px solid rgba(155,118,47,.56);
    border-radius: 50%;
    background: var(--xp-paper);
    box-shadow: 0 0 0 7px var(--xp-paper);
    transform: translateY(-50%);
    transition: border-color .35s ease, background-color .35s ease, box-shadow .35s ease, transform .35s var(--xp-ease);
}
body.xin-contact-page main .inquiry-chapter.is-active > legend::before {
    border-color: #97742f;
    background: #fffaf0;
    box-shadow: 0 0 0 7px var(--xp-paper), 0 0 0 8px rgba(155,118,47,.15);
    transform: translateY(-50%) scale(1.14);
}
body.xin-contact-page main .inquiry-chapter.is-complete > legend::before {
    border-color: #a9843a;
    background: #b49148;
    box-shadow: 0 0 0 7px var(--xp-paper), 0 0 18px rgba(180,145,72,.22);
}
body.xin-contact-page main .inquiry-chapter > legend {
    position: relative;
    display: flex;
    align-items: baseline;
    gap: 12px;
    width: auto;
    margin: 0 0 23px;
    padding: 0;
    color: #292721;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: .13em;
    text-transform: uppercase;
}
body.xin-contact-page main .inquiry-chapter-index {
    color: var(--xp-gold-deep);
    font-family: 'Inter', sans-serif;
    font-size: 10px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: .12em;
}
body.xin-contact-page main .inquiry-fields {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: clamp(22px, 3vw, 34px);
    row-gap: 24px;
}
body.xin-contact-page main .inquiry-field-country {
    grid-column: 1 / -1;
}
body.xin-contact-page main .inquiry-chapter-vision .inquiry-fields {
    grid-template-columns: 1fr;
}
body.xin-contact-page main .inquiry-fields .form-group {
    position: relative;
    min-width: 0;
    margin: 0;
}
body.xin-contact-page main .inquiry-fields .form-group label {
    margin: 0 0 7px;
    color: #57534b;
    font-size: 10px;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: .075em;
    text-transform: uppercase;
    transition: color .25s ease;
}
body.xin-contact-page main .inquiry-fields .form-group:focus-within label {
    color: #86651f;
}
body.xin-contact-page main .inquiry-fields .form-group :is(input, select, textarea) {
    width: 100%;
    min-height: 52px;
    padding: 13px 2px 12px;
    border: 0;
    border-bottom: 1px solid rgba(83,78,68,.3);
    border-radius: 0;
    outline: 0;
    background: transparent;
    color: #282620;
    font-size: 14px;
    box-shadow: none;
    transition: border-color .25s ease, box-shadow .35s var(--xp-ease), color .25s ease;
}
body.xin-contact-page main .inquiry-fields .form-group :is(input, select, textarea)::placeholder {
    color: #918c83;
    opacity: 1;
}
body.xin-contact-page main .inquiry-fields .form-group :is(input, select, textarea):focus-visible {
    border-color: #9b762f;
    outline: 0;
    box-shadow: inset 0 -2px 0 #9b762f;
}
body.xin-contact-page main .inquiry-fields .form-group :is(input, select, textarea).error {
    border-color: #a54737;
    animation: none;
    box-shadow: inset 0 -1px 0 #a54737;
}
body.xin-contact-page main .inquiry-fields .form-group select {
    color: #8b867d;
}
body.xin-contact-page main .inquiry-fields .form-group select:required:valid {
    color: #282620;
}
body.xin-contact-page main .date-entry {
    position: relative;
}
body.xin-contact-page main .inquiry-fields .form-group .date-entry > input {
    padding-right: 52px;
    font-variant-numeric: tabular-nums;
    letter-spacing: .025em;
}
body.xin-contact-page main .date-picker-toggle {
    position: absolute;
    z-index: 2;
    top: 0;
    right: 0;
    display: grid;
    width: 46px;
    height: 52px;
    place-items: center;
    padding: 0;
    border: 0;
    background: transparent;
    color: #4e4a42;
    cursor: pointer;
    transition: color .22s ease, transform .22s var(--xp-ease);
}
body.xin-contact-page main .date-picker-toggle:hover,
body.xin-contact-page main .date-picker-toggle[aria-expanded="true"] {
    color: #8a672c;
}
body.xin-contact-page main .date-picker-toggle:active {
    transform: scale(.94);
}
body.xin-contact-page main .date-picker-toggle:focus-visible {
    outline: 2px solid #9b762f;
    outline-offset: -5px;
    border-radius: 12px;
}
body.xin-contact-page main .date-picker-toggle svg {
    width: 21px;
    height: 21px;
}
body.xin-contact-page main .date-format-hint {
    display: block;
    margin-top: 7px;
    color: #8b867d;
    font-size: 10px;
    line-height: 1.4;
    letter-spacing: .02em;
}
body.xin-contact-page main .date-picker {
    position: absolute;
    z-index: 30;
    top: calc(100% + 10px);
    right: 0;
    width: min(342px, calc(100vw - 48px));
    padding: 18px;
    border: 1px solid rgba(155,118,47,.28);
    border-radius: 18px;
    background: rgba(252,250,246,.98);
    box-shadow: 0 22px 55px rgba(35,31,23,.17);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}
body.xin-contact-page main .date-picker[hidden] {
    display: none;
}
body.xin-contact-page main .date-picker-header {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr) 38px;
    align-items: center;
    gap: 8px;
    margin-bottom: 15px;
}
body.xin-contact-page main .date-picker-header strong {
    color: #27251f;
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 21px;
    font-weight: 600;
    line-height: 1;
    text-align: center;
}
body.xin-contact-page main .date-picker-nav {
    display: grid;
    width: 36px;
    height: 36px;
    place-items: center;
    padding: 0;
    border: 1px solid rgba(155,118,47,.24);
    border-radius: 50%;
    background: transparent;
    color: #785a23;
    cursor: pointer;
    transition: background .2s ease, border-color .2s ease, color .2s ease;
}
body.xin-contact-page main .date-picker-nav:hover:not(:disabled),
body.xin-contact-page main .date-picker-nav:focus-visible {
    border-color: #b5934c;
    background: rgba(203,176,113,.12);
}
body.xin-contact-page main .date-picker-nav:focus-visible,
body.xin-contact-page main .date-picker-day:focus-visible {
    outline: 2px solid #9b762f;
    outline-offset: 2px;
}
body.xin-contact-page main .date-picker-nav:disabled {
    color: #b8b3aa;
    cursor: not-allowed;
    opacity: .55;
}
body.xin-contact-page main .date-picker-weekdays,
body.xin-contact-page main .date-picker-grid {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 5px;
}
body.xin-contact-page main .date-picker-weekdays {
    margin-bottom: 5px;
}
body.xin-contact-page main .date-picker-weekdays span {
    color: #8a857c;
    font-size: 8px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: .04em;
    text-align: center;
    text-transform: uppercase;
}
body.xin-contact-page main .date-picker-day,
body.xin-contact-page main .date-picker-spacer {
    width: 100%;
    aspect-ratio: 1;
}
body.xin-contact-page main .date-picker-day {
    display: grid;
    place-items: center;
    padding: 0;
    border: 1px solid transparent;
    border-radius: 50%;
    background: transparent;
    color: #3f3b34;
    font-size: 11px;
    font-variant-numeric: tabular-nums;
    cursor: pointer;
    transition: background .2s ease, border-color .2s ease, color .2s ease, transform .2s var(--xp-ease);
}
body.xin-contact-page main .date-picker-day:hover:not(:disabled) {
    border-color: rgba(155,118,47,.42);
    background: rgba(203,176,113,.12);
    transform: translateY(-1px);
}
body.xin-contact-page main .date-picker-day.is-today {
    border-color: rgba(155,118,47,.42);
}
body.xin-contact-page main .date-picker-day.is-selected {
    border-color: #9b762f;
    background: #9b762f;
    color: #fff;
}
body.xin-contact-page main .date-picker-day:disabled {
    color: #c5c1b9;
    cursor: not-allowed;
}
body.xin-contact-page main .inquiry-fields .form-group textarea {
    min-height: 142px;
    padding: 15px 17px;
    border: 1px solid rgba(83,78,68,.24);
    border-radius: 15px;
    background:
        linear-gradient(rgba(255,255,255,.48), rgba(255,255,255,.48)),
        repeating-linear-gradient(180deg, transparent 0, transparent 31px, rgba(154,129,74,.08) 32px);
    line-height: 1.75;
}
body.xin-contact-page main .inquiry-fields .form-group textarea:focus-visible {
    border-color: #9b762f;
    box-shadow: 0 0 0 3px rgba(155,118,47,.11);
}
body.xin-contact-page main .field-error {
    display: block;
    min-height: 0;
    margin: 7px 0 0;
    color: #963d31;
    font-size: 11px;
    line-height: 1.45;
}
body.xin-contact-page main .field-error:empty {
    display: none;
    margin: 0;
}
body.xin-contact-page main .message-label-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 20px;
}
body.xin-contact-page main .message-count {
    color: #8c867b;
    font-size: 9px;
    font-weight: 600;
    letter-spacing: .07em;
}
body.xin-contact-page main .inquiry-submit {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(188px, 226px);
    gap: clamp(28px, 4vw, 48px);
    align-items: end;
    margin-top: 38px;
    padding-top: 30px;
    border-top: 1px solid rgba(116,105,84,.17);
}
body.xin-contact-page main .inquiry-submit .form-note {
    max-width: 480px;
    margin: 0;
    color: #777166;
    font-size: 10px;
    line-height: 1.75;
}
body.xin-contact-page main .inquiry-submit .form-note a {
    color: #74591e;
    text-underline-offset: 4px;
}
body.xin-contact-page main .inquiry-submit .btn-primary {
    position: relative;
    width: 100%;
    min-height: 56px;
    padding: 15px 56px 15px 28px;
    overflow: hidden;
    border: 1px solid rgba(201,169,98,.25);
    border-radius: 999px;
    background: #211f1a;
    color: #e8d39d;
    font-size: 12px;
    letter-spacing: .045em;
    box-shadow: none;
}
body.xin-contact-page main .inquiry-submit .btn-primary::after {
    content: '→';
    position: absolute;
    top: 50%;
    right: 25px;
    color: #e8d39d;
    font-size: 19px;
    font-weight: 400;
    line-height: 1;
    transform: translateY(-53%);
    transition: transform .35s var(--xp-ease);
}
body.xin-contact-page main .inquiry-submit .btn-primary:hover {
    background: #171612;
    color: #f3dfad;
    box-shadow: 0 14px 30px rgba(35,32,24,.14);
    transform: none;
}
body.xin-contact-page main .inquiry-submit .btn-primary:hover::after {
    transform: translate(5px, -53%);
}
body.xin-contact-page main .inquiry-submit .btn-primary:focus-visible {
    outline: 2px solid #8d6a25;
    outline-offset: 4px;
}
body.xin-contact-page main .inquiry-submit .btn-primary:disabled::after {
    opacity: .35;
}
body.xin-contact-page main .form-status {
    margin: 13px 0 0;
    color: #6e675a;
    font-size: 11px;
    text-align: right;
}
body.xin-contact-page main .form-status:empty {
    display: none;
}

/* Contact submission dialog follows the same quiet folio language. */
body.xin-contact-page .alert-overlay {
    padding: 24px;
    background: rgba(20,19,16,.62);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    transition: opacity .3s ease, visibility 0s linear .3s;
}
body.xin-contact-page .alert-overlay.show {
    transition-delay: 0s;
}
body.xin-contact-page .alert-box {
    max-width: 470px;
    padding: 38px 40px 36px;
    border: 1px solid rgba(203,176,113,.28);
    border-radius: 24px;
    background: #faf8f2;
    text-align: left;
    box-shadow: 0 30px 90px rgba(10,10,8,.28);
    transform: translateY(18px) scale(.98);
}
body.xin-contact-page .alert-overlay.show .alert-box {
    transform: translateY(0) scale(1);
}
body.xin-contact-page .alert-icon {
    width: 44px;
    height: 44px;
    margin: 0 0 26px;
}
body.xin-contact-page .alert-icon svg {
    width: 22px;
    height: 22px;
    stroke-width: 2;
}
body.xin-contact-page .alert-title {
    margin: 0 0 10px;
    color: #24221c;
    font: 500 34px/1 'Cormorant Garamond', Georgia, serif;
    letter-spacing: -.02em;
}
body.xin-contact-page .alert-message {
    max-width: 360px;
    margin: 0 0 28px;
    color: #6f6a60;
    font-size: 13px;
    line-height: 1.75;
}
body.xin-contact-page .alert-btn {
    min-width: 136px;
    border-radius: 999px;
    background: #211f1a;
    color: #ead69f;
    font-size: 12px;
}
body.xin-contact-page .alert-btn:hover {
    background: #171612;
}

@media (max-width: 980px) {
    body.xin-contact-page main .contact-grid {
        grid-template-columns: 1fr;
        gap: 66px;
    }
    body.xin-contact-page main .contact-info {
        position: static;
        max-width: 620px;
        padding-top: 0;
    }
    body.xin-contact-page main .contact-form {
        max-width: 820px;
    }
}

@media (max-width: 640px) {
    body.xin-contact-page main .contact-section {
        padding: 66px 0 88px;
    }
    body.xin-contact-page main .contact-grid {
        gap: 58px;
    }
    body.xin-contact-page main .inquiry-heading {
        grid-template-columns: 1fr;
        gap: 22px;
        padding-bottom: 24px;
    }
    body.xin-contact-page main .contact-form .inquiry-heading h2 {
        max-width: 320px;
        font-size: clamp(39px, 12vw, 48px);
    }
    body.xin-contact-page main .inquiry-intro {
        max-width: 330px;
        margin-top: 13px;
    }
    body.xin-contact-page main .inquiry-progress {
        width: 100%;
        padding-bottom: 0;
    }
    body.xin-contact-page main #contactForm {
        padding: 23px 0 0 27px;
    }
    body.xin-contact-page main #contactForm::before {
        top: 72px;
        bottom: 139px;
        left: 5px;
    }
    body.xin-contact-page main .form-requirement {
        margin-bottom: 23px;
        text-align: left;
    }
    body.xin-contact-page main .inquiry-chapter > legend::before {
        left: -28px;
        box-shadow: 0 0 0 6px var(--xp-paper);
    }
    body.xin-contact-page main .inquiry-chapter.is-active > legend::before,
    body.xin-contact-page main .inquiry-chapter.is-complete > legend::before {
        box-shadow: 0 0 0 6px var(--xp-paper), 0 0 0 7px rgba(155,118,47,.14);
    }
    body.xin-contact-page main .inquiry-chapter + .inquiry-chapter {
        margin-top: 32px;
        padding-top: 31px;
    }
    body.xin-contact-page main .inquiry-chapter > legend {
        margin-bottom: 22px;
    }
    body.xin-contact-page main .inquiry-fields {
        grid-template-columns: 1fr;
        row-gap: 18px;
    }
    body.xin-contact-page main .inquiry-field-country {
        grid-column: auto;
    }
    body.xin-contact-page main .inquiry-fields .form-group :is(input, select, textarea) {
        min-height: 54px;
        font-size: 16px;
    }
    body.xin-contact-page main .date-picker-toggle {
        height: 54px;
    }
    body.xin-contact-page main .date-picker {
        right: auto;
        left: 0;
        width: min(342px, calc(100vw - 72px));
    }
    body.xin-contact-page main .inquiry-fields .form-group textarea {
        min-height: 144px;
        font-size: 15px;
    }
    body.xin-contact-page main .inquiry-submit {
        grid-template-columns: 1fr;
        gap: 25px;
        margin-top: 30px;
        padding-top: 24px;
    }
    body.xin-contact-page main .inquiry-submit .btn-primary {
        min-height: 58px;
    }
    body.xin-contact-page main .form-status {
        text-align: left;
    }
    body.xin-contact-page .alert-box {
        padding: 32px 28px 29px;
    }
}

@media (prefers-reduced-motion: reduce) {
    body.xin-contact-page main .inquiry-progress-track span,
    body.xin-contact-page main .inquiry-chapter > legend::before,
    body.xin-contact-page main .inquiry-fields .form-group :is(input, select, textarea),
    body.xin-contact-page main .date-picker-toggle,
    body.xin-contact-page main .date-picker-nav,
    body.xin-contact-page main .date-picker-day,
    body.xin-contact-page main .inquiry-submit .btn-primary::after,
    body.xin-contact-page .alert-box {
        transition: none;
    }
}
