:root {
    --ink: #231f1b;
    --muted: #6f665f;
    --paper: #fffaf2;
    --cream: #f5ead8;
    --cream-soft: #fbf4e8;
    --gold: #b88939;
    --gold-light: #d6a34a;
    --gold-dark: #8b6426;
    --leaf: #284238;
    --white: #ffffff;
    --shadow: 0 22px 60px rgba(35, 31, 27, .14);
    --soft-shadow: 0 14px 34px rgba(35, 31, 27, .1);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background:
        radial-gradient(circle at top left, rgba(214, 163, 74, .16), transparent 34rem),
        var(--paper);
    font-family: Inter, Arial, sans-serif;
    line-height: 1.65;
}

html[lang="th"] body {
    font-family: Inter, Arial, Tahoma, sans-serif;
    line-height: 1.8;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 40;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 12px clamp(18px, 5vw, 64px);
    background: rgba(35, 31, 27, .92);
    backdrop-filter: blur(14px);
    color: var(--white);
}

.logo-brand {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
}

.logo-brand img {
    width: 220px;
    height: auto;
    max-height: 72px;
    object-fit: contain;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
}

.site-nav a {
    padding: 10px 13px;
    border-radius: 999px;
    color: rgba(255,255,255,.82);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}

.site-nav a:hover,
.site-nav a.active {
    background: rgba(184, 137, 57, .22);
    color: var(--white);
}

.site-nav .nav-call {
    margin-left: 6px;
    background: var(--gold);
    color: var(--white);
}

.site-nav .nav-call:hover {
    background: var(--gold-dark);
}

.lang-switcher {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: 8px;
    padding-left: 8px;
    border-left: 1px solid rgba(255,255,255,.16);
}

.lang-switcher a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 46px;
    min-height: 46px;
    padding: 0;
    border: 1px solid rgba(255,255,255,.22);
    border-radius: 999px;
    color: rgba(255,255,255,.86);
    font-weight: 800;
    text-decoration: none;
}

.lang-switcher a.active,
.lang-switcher a:hover {
    border-color: rgba(214, 163, 74, .7);
    background: rgba(214, 163, 74, .18);
    color: var(--white);
}

.lang-flag {
    display: block;
    width: 34px;
    height: 24px;
    border-radius: 4px;
    object-fit: cover;
    box-shadow: 0 0 0 1px rgba(255,255,255,.65) inset, 0 4px 10px rgba(0,0,0,.2);
}

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(255,255,255,.28);
    border-radius: 8px;
    background: transparent;
}

.nav-toggle span:not(.sr-only) {
    display: block;
    width: 20px;
    height: 2px;
    margin: 5px auto;
    background: var(--white);
}

.hero {
    min-height: clamp(620px, calc(100vh - 72px), 780px);
    display: grid;
    align-items: center;
    padding: clamp(70px, 10vw, 130px) clamp(20px, 7vw, 90px);
    background:
        linear-gradient(90deg, rgba(22, 18, 15, .88), rgba(22, 18, 15, .52), rgba(22, 18, 15, .24)),
        url("../images/hero-similan-lugano.jpg") center / cover;
    color: var(--white);
}

.hero-content {
    max-width: 720px;
}

.eyebrow {
    margin: 0 0 12px;
    color: var(--gold);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .16em;
    text-transform: uppercase;
}

h1,
h2 {
    margin: 0 0 20px;
    font-family: "Cormorant Garamond", Georgia, serif;
    line-height: .98;
}

h1 {
    max-width: 900px;
    font-size: clamp(54px, 9vw, 112px);
}

h2 {
    font-size: clamp(38px, 5vw, 68px);
}

h3 {
    margin: 0 0 10px;
    font-size: 21px;
}

.hero p:not(.eyebrow),
.page-hero p:not(.eyebrow) {
    max-width: 640px;
    font-size: clamp(18px, 2vw, 22px);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 34px;
}

.inline-actions {
    align-items: center;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 13px 24px;
    border-radius: 999px;
    font-weight: 800;
    text-decoration: none;
    transition: transform .18s ease, background-color .18s ease, box-shadow .18s ease;
}

.button.primary {
    background: var(--gold);
    color: var(--white);
    box-shadow: 0 12px 28px rgba(184, 137, 57, .28);
}

.button.primary:hover {
    background: var(--gold-dark);
    transform: translateY(-1px);
}

.button.ghost {
    border: 1px solid rgba(255,255,255,.5);
    color: var(--white);
}

.button.light {
    background: var(--white);
    color: var(--leaf);
}

.section {
    padding: clamp(64px, 8vw, 112px) clamp(20px, 7vw, 90px);
}

.intro-grid,
.price-layout,
.contact-layout,
.visual-split,
.location-photo {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, .9fr);
    gap: clamp(36px, 7vw, 90px);
    align-items: center;
}

.intro-grid p,
.price-copy p,
.contact-panel p,
.legal p {
    color: var(--muted);
}

.intro-grid img,
.visual-split img,
.location-photo img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    border-radius: 10px;
    background: var(--cream);
    box-shadow: var(--shadow);
}

.visual-split {
    background: var(--white);
}

.visual-split img {
    aspect-ratio: 4 / 5;
}

.text-link {
    color: var(--gold-dark);
    font-weight: 800;
    text-decoration: none;
}

.soft {
    background: linear-gradient(180deg, var(--cream), var(--cream-soft));
}

.section-heading {
    max-width: 760px;
    margin: 0 auto 44px;
    text-align: center;
}

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

.card {
    min-height: 230px;
    padding: 30px;
    border: 1px solid rgba(184, 137, 57, .16);
    border-radius: 10px;
    background: var(--white);
    box-shadow: var(--soft-shadow);
}

.card h3,
.mini-list h3 {
    color: var(--leaf);
}

.card p,
.mini-list p {
    color: var(--muted);
    font-size: 15px;
}

.page-card {
    color: inherit;
    text-decoration: none;
}

.page-card span {
    display: inline-flex;
    margin-bottom: 28px;
    color: var(--gold-dark);
    font-weight: 800;
}

.page-card:hover h3 {
    color: var(--gold-dark);
}

.page-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.split-cta {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(260px, 380px);
    gap: 48px;
    align-items: center;
}

.split-cta img,
.price-card {
    border-radius: 10px;
    background: var(--white);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.staff-preview {
    display: grid;
    grid-template-columns: minmax(0, .7fr) minmax(480px, 1.3fr);
    gap: clamp(30px, 6vw, 70px);
    align-items: center;
    background:
        radial-gradient(circle at 86% 12%, rgba(214, 163, 74, .2), transparent 18rem),
        var(--leaf);
    color: var(--white);
}

.staff-preview p:not(.eyebrow) {
    color: rgba(255,255,255,.74);
}

.staff-strip {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.staff-strip figure {
    margin: 0;
    overflow: hidden;
    border-radius: 10px;
    background: var(--white);
    box-shadow: 0 18px 44px rgba(0,0,0,.24);
}

.staff-strip img {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 5;
    object-fit: contain;
    background: var(--white);
}

.staff-strip figcaption {
    padding: 10px 8px 12px;
    color: var(--leaf);
    font-weight: 800;
    text-align: center;
    line-height: 1.2;
}

.split-cta img {
    width: 100%;
    max-width: 380px;
    max-height: 520px;
    justify-self: center;
    object-fit: contain;
}

.page-hero {
    padding: clamp(70px, 9vw, 120px) clamp(20px, 7vw, 90px);
    background:
        linear-gradient(90deg, rgba(255, 250, 242, .84), rgba(255, 250, 242, .58), rgba(255, 250, 242, .32)),
        url("../images/page-bg-thai-wellness.jpg") center / cover;
    color: var(--ink);
    position: relative;
    overflow: hidden;
}

.page-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 78% 22%, rgba(214, 163, 74, .14), transparent 22rem),
        linear-gradient(180deg, rgba(255, 250, 242, .04), rgba(255, 250, 242, .16));
    pointer-events: none;
}

.page-hero > * {
    position: relative;
    z-index: 1;
    text-shadow: none;
}

.page-hero.compact h1 {
    font-size: clamp(46px, 7vw, 86px);
}

.price-card {
    margin: 0;
    width: min(100%, 460px);
    max-width: 460px;
    justify-self: center;
}

.price-card img {
    width: 100%;
    aspect-ratio: 760 / 1058;
    object-fit: contain;
    background: var(--white);
}

.price-card figcaption {
    padding: 14px 18px 18px;
    color: var(--muted);
    font-size: 14px;
}

.price-menu {
    display: grid;
    gap: 16px;
}

.price-item {
    padding: clamp(22px, 3vw, 30px);
    border: 1px solid rgba(184, 137, 57, .2);
    border-radius: 10px;
    background:
        linear-gradient(135deg, rgba(255,255,255,.96), rgba(251,244,232,.94)),
        radial-gradient(circle at top right, rgba(214, 163, 74, .18), transparent 14rem);
    box-shadow: var(--soft-shadow);
}

.price-item h3 {
    margin-bottom: 8px;
    color: var(--leaf);
    font-size: clamp(22px, 3vw, 30px);
}

.price-item p {
    margin: 0 0 18px;
    color: var(--muted);
    font-size: 15px;
}

.price-options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.price-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 13px 15px;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: var(--white);
    box-shadow: 0 10px 22px rgba(184, 137, 57, .2);
}

.price-option span {
    color: rgba(255,255,255,.76);
    font-weight: 700;
}

.price-option strong {
    font-size: 20px;
}

.price-note {
    margin: 8px 0 0;
    color: var(--muted);
    font-size: 14px;
}

.mini-list {
    display: grid;
    gap: 18px;
    margin-top: 30px;
}

.faq-section {
    background: var(--white);
}

.faq-list {
    max-width: 860px;
    margin: 0 auto;
}

.faq-item {
    border-top: 1px solid rgba(35, 31, 27, .14);
    padding: 20px 0;
}

.faq-item:last-child {
    border-bottom: 1px solid rgba(35, 31, 27, .14);
}

.faq-item h3 {
    margin: 0;
    color: var(--leaf);
    font-size: 20px;
    font-weight: 800;
}

.faq-item p {
    margin: 12px 0 0;
    color: var(--muted);
}

.band {
    padding: 64px 20px;
    text-align: center;
    background: var(--gold);
    color: var(--white);
}

.band h2 {
    font-size: clamp(36px, 5vw, 58px);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    padding: 10px;
    background: var(--ink);
}

.gallery-grid figure {
    margin: 0;
    aspect-ratio: 4 / 5;
    overflow: hidden;
}

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

.staff-card {
    overflow: hidden;
    border-radius: 10px;
    background: var(--white);
    box-shadow: var(--shadow);
}

.staff-card img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    object-position: center 22%;
    background: var(--white);
}

.staff-card div {
    padding: 22px;
}

.staff-card h2 {
    margin-bottom: 8px;
    font-size: 31px;
}

.staff-card p {
    margin: 0;
    color: var(--muted);
}

.gallery-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}

.gallery-grid figure:hover img {
    transform: scale(1.04);
}

.contact-panel {
    padding: clamp(28px, 5vw, 48px);
    border-radius: 10px;
    background: var(--white);
    box-shadow: var(--shadow);
}

.map-wrap {
    min-height: 480px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.map-wrap iframe {
    width: 100%;
    height: 100%;
    min-height: 480px;
    border: 0;
}

.legal {
    max-width: 900px;
    margin: 0 auto;
    padding: clamp(60px, 8vw, 110px) 20px;
}

.legal h2 {
    margin-top: 42px;
    font-size: clamp(30px, 4vw, 44px);
}

.updated {
    margin-top: 48px;
    font-weight: 700;
}

.site-footer {
    display: flex;
    justify-content: space-between;
    gap: 32px;
    padding: 44px clamp(20px, 7vw, 90px);
    background: var(--ink);
    color: rgba(255,255,255,.76);
}

.cookie-banner {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 60;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 18px;
    align-items: center;
    width: min(680px, calc(100vw - 36px));
    padding: 18px;
    border: 1px solid rgba(184, 137, 57, .28);
    border-radius: 10px;
    background: rgba(255, 250, 242, .96);
    box-shadow: 0 22px 70px rgba(35, 31, 27, .22);
}

.cookie-banner[hidden] {
    display: none;
}

.cookie-banner strong {
    display: block;
    margin-bottom: 4px;
    color: var(--leaf);
}

.cookie-banner p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.45;
}

.cookie-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.cookie-actions a {
    color: var(--gold-dark);
    font-weight: 800;
    text-decoration: none;
}

.cookie-actions button {
    min-height: 42px;
    padding: 10px 18px;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--gold-light), var(--gold-dark));
    color: var(--white);
    cursor: pointer;
    font: inherit;
    font-weight: 800;
}

.cookie-actions button.secondary {
    border: 1px solid rgba(40, 66, 56, .28);
    background: transparent;
    color: var(--leaf);
}

.back-to-top {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 55;
    width: 48px;
    height: 48px;
    border: 1px solid rgba(184, 137, 57, .35);
    border-radius: 999px;
    background: linear-gradient(135deg, var(--gold-light), var(--gold-dark));
    color: var(--white);
    box-shadow: 0 14px 34px rgba(184, 137, 57, .28);
    cursor: pointer;
    font: inherit;
    font-size: 24px;
    font-weight: 800;
    line-height: 1;
}

.back-to-top[hidden] {
    display: none;
}

.footer-brand {
    margin: 0 0 14px;
    color: var(--white);
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 30px;
    font-weight: 700;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    align-content: flex-start;
    align-items: flex-start;
    gap: 14px 22px;
}

.site-footer a,
.footer-cookie-button {
    color: var(--white);
    font-weight: 700;
    text-decoration: none;
}

.footer-cookie-button {
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
    font: inherit;
    text-align: left;
}

.site-footer a:hover,
.footer-cookie-button:hover {
    color: var(--gold-light);
}

@media (max-width: 980px) {
    .nav-toggle {
        display: block;
        margin-left: auto;
    }

    .site-nav {
        position: absolute;
        top: 100%;
        left: auto;
        right: clamp(14px, 4vw, 32px);
        display: none;
        flex-direction: column;
        align-items: stretch;
        width: min(310px, calc(100vw - 28px));
        margin-left: 0;
        padding: 12px;
        border: 1px solid rgba(214, 163, 74, .2);
        border-radius: 10px;
        background: rgba(35, 31, 27, .98);
        box-shadow: 0 20px 60px rgba(0,0,0,.28);
    }

    .site-nav.open {
        display: flex;
    }

    .site-nav a {
        padding: 13px 12px;
        text-align: right;
    }

    .site-nav .nav-call {
        margin-left: 0;
        text-align: center;
    }

    .site-nav .lang-switcher {
        justify-content: flex-end;
        margin: 10px 0 0;
        padding: 14px 0 0;
        border-left: 0;
        border-top: 1px solid rgba(255,255,255,.16);
    }

    .site-nav .lang-switcher a {
        min-width: 52px;
        min-height: 52px;
    }

    .site-nav .lang-flag {
        width: 35px;
        height: 26px;
    }

    .intro-grid,
    .price-layout,
    .contact-layout,
    .split-cta,
    .visual-split,
    .location-photo,
    .staff-preview {
        grid-template-columns: 1fr;
    }

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

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

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

}

@media (max-width: 620px) {
    .site-header {
        padding: 10px 14px;
        display: grid;
        grid-template-columns: auto 1fr auto;
        gap: 10px;
        flex-wrap: nowrap;
    }

    .logo-brand img {
        width: 156px;
        max-height: 58px;
    }

    .nav-toggle {
        grid-column: 3;
        justify-self: end;
        display: block;
        width: 40px;
        height: 40px;
    }

    h1 {
        font-size: clamp(44px, 14vw, 62px);
    }

    h2 {
        font-size: clamp(34px, 10vw, 48px);
    }

    .hero {
        min-height: 560px;
        padding: 76px 20px 58px;
        background-position: 58% center;
    }

    .page-hero {
        padding: 58px 18px 64px;
        min-height: 360px;
        background-position: center;
    }

    .page-hero.compact h1 {
        font-size: clamp(38px, 12vw, 54px);
    }

    .section {
        padding: 54px 18px;
    }

    .hero p:not(.eyebrow),
    .page-hero p:not(.eyebrow) {
        font-size: 17px;
    }

    .intro-grid,
    .visual-split,
    .split-cta,
    .staff-preview,
    .price-layout {
        gap: 26px;
    }

    .intro-grid img,
    .visual-split img {
        aspect-ratio: 16 / 10;
        max-height: 315px;
        object-fit: cover;
        object-position: center;
    }

    .split-cta img {
        aspect-ratio: auto;
        width: min(100%, 340px);
        max-height: none;
        margin: 0 auto;
        object-fit: contain;
        background: var(--white);
    }

    .cards,
    .staff-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
        padding: 8px;
        background: var(--paper);
    }

    .gallery-grid figure {
        aspect-ratio: 1 / 1;
        border-radius: 10px;
        box-shadow: var(--soft-shadow);
    }

    .staff-strip {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
        overflow: visible;
        padding-bottom: 0;
    }

    .staff-strip img {
        aspect-ratio: 4 / 5;
        object-fit: contain;
        background: var(--white);
    }

    .staff-strip figcaption {
        padding: 8px 6px 10px;
        font-size: 14px;
    }

    .staff-card img {
        aspect-ratio: 1 / 1;
        max-height: none;
        object-fit: cover;
        object-position: center 22%;
        background: var(--white);
    }

    .card {
        min-height: auto;
        padding: 24px;
    }

    .price-layout {
        padding-left: 18px;
        padding-right: 18px;
    }

    .price-layout .price-copy {
        padding-left: 0;
        padding-right: 0;
    }

    .price-card {
        width: 100%;
        max-width: 360px;
        border-radius: 10px;
        box-shadow: var(--soft-shadow);
    }

    .price-card img {
        aspect-ratio: 760 / 1058;
        width: 100%;
        height: auto;
        object-fit: contain;
        background: var(--white);
    }

    .price-card figcaption {
        padding-left: 16px;
        padding-right: 16px;
    }

    .price-options {
        grid-template-columns: 1fr;
    }

    .price-item {
        padding: 22px;
    }

    .site-footer {
        flex-direction: column;
    }

    .cookie-banner {
        left: 12px;
        right: 12px;
        bottom: 12px;
        grid-template-columns: 1fr;
        width: auto;
    }

    .cookie-actions {
        justify-content: space-between;
        flex-wrap: wrap;
    }

    .back-to-top {
        right: 12px;
        bottom: 12px;
    }
}
