/* ============================================================
   Erawan Roma — main stylesheet (black + gold theme)
   ============================================================ */

:root {
    /* Background scale — warm chocolate browns from the menu */
    --bg: #2b1a12; /* deep chocolate, main background */
    --bg-soft: #3a2418; /* slightly raised surfaces (services band) */
    --bg-elev: #4a2e1f; /* form panels, confirmation card */
    /* Ink scale — warm cream tones from the menu paper */
    --ink: #f5e6c4; /* primary text, menu-parchment cream */
    --ink-soft: #d4b88a; /* body text, secondary */
    --ink-faint: #9a7e58; /* labels, captions, muted */
    /* Lines and dividers */
    --line: #5a3a25;
    --line-soft: #4a2e1f;
    /* Brand accents — amber/honey gold, warmer than before */
    --gold: #e0a040; /* main accent, amber-gold from menu headings */
    --gold-bright: #f5c460; /* brighter for hover/emphasis */
    --gold-deep: #a06820; /* deeper amber for borders, subtle accents */

    --accent: var(--gold);
    --accent-deep: var(--gold-bright);
    --error: #d97171;
    --error-bg: rgba(217, 113, 113, 0.08);
    --serif: 'Cormorant Garamond', 'EB Garamond', Georgia, serif;
    --sans: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    background: var(--bg);
    color: var(--ink);
    font-family: var(--sans);
    font-weight: 300;
    font-size: 16px;
    line-height: 1.6;
    letter-spacing: 0.01em;
    overflow-x: hidden;
    position: relative;
}

    body::before {
        content: '';
        position: fixed;
        inset: 0;
        background-image: radial-gradient(circle at 20% 30%, rgba(224, 160, 64, 0.08) 0%, transparent 70%), radial-gradient(circle at 80% 70%, rgba(224, 160, 64, 0.05) 0%, transparent 70%);
        pointer-events: none;
        z-index: 1;
    }

/* Fine paper-like noise overlay (kept subtle on dark — reads as "grain") */
body::after {
    content: '';
    position: fixed;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='200' height='200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='2.5' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 0.95 0 0 0 0 0.85 0 0 0 0.06 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    background-size: 200px 200px;
    background-repeat: repeat;
    opacity: 0.5;
    pointer-events: none;
    z-index: 1;
    mix-blend-mode: screen;
}

/* ---------- NAV ---------- */
#nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    padding: 1.75rem 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    transition: background 0.4s ease, padding 0.4s ease, backdrop-filter 0.4s ease;
}

#nav.scrolled {
    background: rgba(20, 18, 16, 0.78);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    padding: 1rem 3rem;
    border-bottom: 1px solid var(--line);
}

.brand {
    font-family: var(--serif);
    font-size: 1.6rem;
    font-weight: 400;
    letter-spacing: 0.02em;
    text-decoration: none;
    color: var(--ink);
}

.brand span {
    color: var(--gold);
    font-style: italic;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
    list-style: none;
}

.nav-links a, .link-button {
    color: var(--ink-soft);
    text-decoration: none;
    font-size: 0.78rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    font-weight: 400;
    position: relative;
    transition: color 0.3s ease;
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    padding: 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--gold);
    transition: width 0.4s ease;
}

.nav-links a:hover, .link-button:hover {
    color: var(--ink);
}

.nav-links a:hover::after {
    width: 100%;
}

.logout-form { display: inline; }

.lang-toggle {
    display: flex;
    gap: 0.4rem;
    font-size: 0.78rem;
    letter-spacing: 0.15em;
    color: var(--ink-faint);
    border-left: 1px solid var(--line);
    padding-left: 1.5rem;
    margin-left: 0.5rem;
}

.lang-toggle button {
    background: none;
    border: none;
    cursor: pointer;
    color: inherit;
    font-family: inherit;
    font-size: inherit;
    letter-spacing: inherit;
    padding: 0.2rem 0.4rem;
    transition: color 0.3s ease;
}

.lang-toggle button.active {
    color: var(--ink);
    font-weight: 500;
}

.lang-toggle button:hover {
    color: var(--gold);
}

/* ---------- HERO ---------- */
.hero {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    padding: 0 3rem;
    position: relative;
    z-index: 2;
}

.hero-text { padding-top: 4rem; max-width: 540px; }

.hero-eyebrow {
    font-size: 0.78rem;
    letter-spacing: 0.4em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    opacity: 0;
    animation: fadeUp 1s ease 0.2s forwards;
}

.hero-eyebrow::before {
    content: '';
    width: 40px;
    height: 1px;
    background: var(--gold);
}

.hero h1 {
    font-family: var(--serif);
    font-size: clamp(3rem, 7vw, 6rem);
    font-weight: 300;
    line-height: 1.05;
    letter-spacing: -0.01em;
    margin-bottom: 2rem;
    opacity: 0;
    animation: fadeUp 1.2s ease 0.4s forwards;
}

.hero h1 em {
    font-style: italic;
    color: var(--gold);
    font-weight: 400;
}

.hero p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--ink-soft);
    margin-bottom: 3rem;
    max-width: 460px;
    opacity: 0;
    animation: fadeUp 1.2s ease 0.7s forwards;
}

.hero-cta {
    display: flex;
    gap: 2rem;
    align-items: center;
    flex-wrap: wrap;
    opacity: 0;
    animation: fadeUp 1.2s ease 0.9s forwards;
}

/* On dark theme, the primary button is light (parchment) — inverse of the dark text on cream original */
.btn-primary {
    display: inline-block;
    padding: 1rem 2.2rem;
    background: var(--ink);
    color: var(--bg);
    text-decoration: none;
    font-size: 0.78rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--ink);
    cursor: pointer;
    font-family: inherit;
}

.btn-primary:hover {
    background: transparent;
    color: var(--ink);
    transform: translateY(-2px);
}

.btn-link {
    color: var(--ink-soft);
    text-decoration: none;
    font-size: 0.78rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    border-bottom: 1px solid var(--line);
    padding-bottom: 4px;
    transition: all 0.3s ease;
}

.btn-link:hover {
    color: var(--gold);
    border-color: var(--gold);
}

.hero-visual {
    position: relative;
    height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    animation: fadeIn 1.6s ease 0.6s forwards;
}

.hero-visual svg {
    width: 100%;
    max-width: 480px;
    height: auto;
}

.floating-thai {
    position: absolute;
    font-family: var(--serif);
    font-size: 7rem;
    color: var(--gold);
    opacity: 0.75;
    font-style: italic;
    top: 8%;
    right: 12%;
    pointer-events: none;
    user-select: none;
}

.scroll-hint {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.72rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--ink-faint);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
    opacity: 0;
    animation: fadeIn 1s ease 1.5s forwards;
}

.scroll-hint .line {
    width: 1px;
    height: 40px;
    background: var(--ink-faint);
    animation: scrollLine 2s ease-in-out infinite;
}

/* ---------- SECTIONS ---------- */
section {
    padding: 8rem 3rem;
    position: relative;
    z-index: 2;
}

.section-label {
    font-size: 0.78rem;
    letter-spacing: 0.4em;
    text-transform: uppercase;
    color: var(--gold);
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.section-label::before {
    content: '';
    width: 30px;
    height: 1px;
    background: var(--gold);
}

.section-title {
    font-family: var(--serif);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 300;
    line-height: 1.1;
    letter-spacing: -0.01em;
    margin-bottom: 4rem;
    max-width: 700px;
}

.section-title em {
    font-style: italic;
    color: var(--gold);
}

/* ---------- ABOUT ---------- */
.about {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 5rem;
    align-items: start;
    max-width: 1300px;
    margin: 0 auto;
}

.about-image {
    position: sticky;
    top: 8rem;
    aspect-ratio: 3/4;
    background: var(--bg-soft);
    border: 1px solid var(--line);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-image::before {
    content: '';
    position: absolute;
    inset: 1.2rem;
    border: 1px solid var(--gold);
    opacity: 0.45;
    pointer-events: none;
}

.about-image svg { width: 70%; height: auto; }

.about-image-img {
    height: 100%;
}

.about-content p {
    font-family: var(--serif);
    font-size: 1.4rem;
    line-height: 1.7;
    color: var(--ink);
    margin-bottom: 2rem;
    font-weight: 300;
}

.about-content p.small {
    font-family: var(--sans);
    font-size: 1rem;
    line-height: 1.85;
    color: var(--ink-soft);
}

.about-content em { font-style: italic; color: var(--gold); }

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 1px solid var(--line);
}

.stat-num {
    font-family: var(--serif);
    font-size: 3rem;
    font-weight: 300;
    color: var(--gold);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--ink-faint);
}

/* ---------- SERVICES ---------- */
.services {
    background: var(--bg-soft);
    margin: 0;
    padding: 8rem 3rem;
}

.services-inner { max-width: 1300px; margin: 0 auto; }

.service-list { display: flex; flex-direction: column; }

.service {
    display: grid;
    grid-template-columns: 60px 3fr 1.5fr auto;
    gap: 3rem;
    padding: 2.5rem 0;
    border-top: 1px solid var(--line);
    align-items: start;
    transition: padding 0.4s ease;
}

.service:last-child { border-bottom: 1px solid var(--line); }
.service:hover { padding-left: 1rem; }

.service-num {
    font-family: var(--serif);
    font-size: 1.1rem;
    font-style: italic;
    color: var(--ink-faint);
    padding-top: 0.4rem;
}

.service-body {
    display: flex;
    flex-direction: column;
}

.service-name {
    font-family: var(--serif);
    font-size: 1.8rem;
    font-weight: 400;
    line-height: 1.2;
}

.service-name em {
    display: block;
    font-size: 0.95rem;
    font-style: italic;
    color: var(--gold);
    margin-top: 0.3rem;
    font-family: var(--sans);
    font-weight: 300;
    letter-spacing: 0.05em;
}

.service-image-wrap {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.5s ease, margin-top 0.5s ease;
    margin-top: 0;
    overflow: hidden;
}

    .service-image-wrap > img {
        min-height: 0;
        height: 320px;
        width: 100%;
        object-fit: cover;
        object-position: bottom right;
        display: block;
        border-radius: 4px;
    }

.service:hover .service-image-wrap {
    grid-template-rows: 1fr;
    margin-top: 1.2rem;
}

.service-image {
    width: 100%;
    max-width: 100%;
    height: 60%;
    object-fit: cover;
    object-position: bottom right;
    display: block;
    border-radius: 4px;
    margin-top: 1.2rem;
}

.service-desc {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--ink-soft);
}

.service-meta { text-align: right; font-family: var(--serif); }
.service-price { font-size: 1.6rem; color: var(--ink); line-height: 1; }
.service-duration {
    font-size: 0.78rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--ink-faint);
    font-family: var(--sans);
    margin-top: 0.5rem;
}

.services-cta {
    text-align: center;
    margin-top: 5rem;
}

/* ---------- SPECIAL PACKAGES ---------- */
.special-packages {
    margin-top: 5rem;
    text-align: center;
}

.special-packages-label {
    font-family: var(--serif);
    font-size: 2rem;
    font-weight: 400;
    font-style: italic;
    color: var(--ink);
    margin-bottom: 2rem;
    letter-spacing: 0.02em;
}

.packages-grid {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.package-card {
    display: flex;
    align-items: center;
    gap: 0;
    border: 1px solid var(--gold);
    overflow: hidden;
}

.package-qty,
.package-price {
    padding: 0.9rem 2rem;
    font-size: 0.88rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    font-weight: 500;
}

.package-qty {
    background: rgba(201, 168, 114, 0.12);
    color: var(--ink);
    border-right: 1px solid var(--gold);
}

.package-price {
    background: rgba(201, 168, 114, 0.22);
    color: var(--gold-bright);
}

/* ---------- PHILOSOPHY ---------- */
.philosophy {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    padding: 10rem 3rem;
}

.philosophy-quote {
    font-family: var(--serif);
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-style: italic;
    line-height: 1.4;
    font-weight: 300;
    color: var(--ink);
    margin-bottom: 2rem;
}

.philosophy-quote::before, .philosophy-quote::after {
    content: '—';
    color: var(--gold);
    margin: 0 1rem;
    font-style: normal;
}

.philosophy-attr {
    font-size: 0.78rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--ink-faint);
}

/* ---------- CONTACT ---------- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    max-width: 1300px;
    margin: 0 auto;
    align-items: start;
}

.info-block { margin-bottom: 2.5rem; padding-bottom: 2.5rem; border-bottom: 1px solid var(--line); }
.info-block:last-child { border: none; padding-bottom: 0; }

.map-wrap {
    margin-top: 1.2rem;
    border: 1px solid var(--line);
    overflow: hidden;
    line-height: 0;
    position: relative;
}

.map-wrap::after {
    content: '';
    position: absolute;
    inset: 0.5rem;
    border: 1px solid var(--gold);
    opacity: 0.35;
    pointer-events: none;
    z-index: 1;
}

.info-block .label {
    font-size: 0.72rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--ink-faint);
    margin-bottom: 0.8rem;
}

.info-block .value {
    font-family: var(--serif);
    font-size: 1.25rem;
    line-height: 1.5;
}

.info-block .value a {
    color: var(--ink);
    text-decoration: none;
    border-bottom: 1px solid var(--line);
    transition: border-color 0.3s ease;
}

.info-block .value a:hover { border-color: var(--gold); }

.hours-list {
    list-style: none;
    font-family: var(--serif);
    font-size: 1.1rem;
}

.hours-list li {
    display: flex;
    justify-content: space-between;
    padding: 0.4rem 0;
    border-bottom: 1px dashed var(--line-soft);
}

.hours-list li:last-child { border: none; }
.hours-list .day { color: var(--ink-soft); }
.hours-list .time { color: var(--ink); }
.hours-list .closed { color: var(--ink-faint); font-style: italic; }

.social-links {
    display: flex;
    gap: 1.5rem;
    margin-top: 1.2rem;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--ink-soft);
    text-decoration: none;
    font-size: 0.78rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    transition: color 0.3s ease;
}

.social-link svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    transition: color 0.3s ease;
}

.social-link:hover { color: var(--gold); }

.contact-cta-box {
    background: var(--bg-soft);
    padding: 3.5rem;
    border: 1px solid var(--line);
    position: relative;
    text-align: center;
}

.contact-cta-box::before {
    content: '';
    position: absolute;
    inset: 0.6rem;
    border: 1px solid var(--gold);
    opacity: 0.3;
    pointer-events: none;
}

.contact-cta-box h3 {
    font-family: var(--serif);
    font-size: 2rem;
    font-weight: 400;
    margin-bottom: 1rem;
}

.contact-cta-box p {
    color: var(--ink-soft);
    line-height: 1.7;
    margin-bottom: 2rem;
}

/* ---------- FORM (used on Booking page) ---------- */
.form-group { margin-bottom: 1.5rem; }

.form-group label {
    display: block;
    font-size: 0.72rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--ink-faint);
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--line);
    padding: 0.6rem 0;
    font-family: var(--sans);
    font-size: 0.95rem;
    color: var(--ink);
    transition: border-color 0.3s ease;
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--gold);
}

/* Native date/time picker icons are dark by default — invert them on dark bg */
.form-group input[type="date"]::-webkit-calendar-picker-indicator,
.form-group input[type="time"]::-webkit-calendar-picker-indicator {
    filter: invert(0.85) sepia(0.2);
    cursor: pointer;
    opacity: 0.7;
}

/* Native autofill on Chrome/Edge will paint white-on-yellow over our inputs */
.form-group input:-webkit-autofill,
.form-group input:-webkit-autofill:hover,
.form-group input:-webkit-autofill:focus {
    -webkit-text-fill-color: var(--ink);
    -webkit-box-shadow: 0 0 0 1000px var(--bg-elev) inset;
    transition: background-color 5000s ease-in-out 0s;
}

/* <select> dropdown options need explicit dark styling on most browsers */
.form-group select option {
    background: var(--bg-soft);
    color: var(--ink);
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }

.form-submit {
    width: 100%;
    padding: 1rem;
    background: var(--ink);
    color: var(--bg);
    border: 1px solid var(--ink);
    font-family: var(--sans);
    font-size: 0.78rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.4s ease;
    margin-top: 1rem;
}

.form-submit:hover { background: transparent; color: var(--ink); }

.text-danger {
    color: var(--error);
    font-size: 0.85rem;
    margin-top: 0.3rem;
    display: block;
}

/* ---------- FOOTER ---------- */
/* On dark theme the footer is even *darker* than the body for separation */
footer {
    background: #1a0f08;
    color: var(--ink);
    padding: 5rem 3rem 2rem;
    margin-top: 4rem;
    position: relative;
    z-index: 2;
    border-top: 1px solid var(--line);
}

.footer-inner {
    max-width: 1300px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 4rem;
    padding-bottom: 4rem;
    border-bottom: 1px solid rgba(240, 233, 220, 0.08);
}

.footer-brand {
    font-family: var(--serif);
    font-size: 2rem;
    font-weight: 400;
    margin-bottom: 1rem;
}

.footer-brand span { color: var(--gold); font-style: italic; }

footer p { color: rgba(240, 233, 220, 0.55); line-height: 1.7; font-size: 0.95rem; }

.footer-col h4 {
    font-size: 0.72rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.footer-col a, .footer-col li {
    color: rgba(240, 233, 220, 0.65);
    text-decoration: none;
    display: block;
    padding: 0.3rem 0;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.footer-col a:hover { color: var(--ink); }
.footer-col ul { list-style: none; }

.footer-bottom {
    max-width: 1300px;
    margin: 0 auto;
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    font-size: 0.78rem;
    color: rgba(240, 233, 220, 0.35);
    letter-spacing: 0.1em;
}

/* ---------- ANIMATIONS ---------- */
@keyframes fadeUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes scrollLine {
    0%, 100% { transform: scaleY(0.4); transform-origin: top; }
    50% { transform: scaleY(1); }
}

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1s ease, transform 1s ease;
}

.reveal.visible { opacity: 1; transform: translateY(0); }

/* ---------- SELECTION + SCROLLBAR ---------- */
::selection {
    background: var(--gold);
    color: var(--bg);
}

/* Firefox */
* { scrollbar-color: var(--line) var(--bg); scrollbar-width: thin; }

/* WebKit / Chromium */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb {
    background: var(--line);
    border-radius: 6px;
    border: 2px solid var(--bg);
}
::-webkit-scrollbar-thumb:hover { background: var(--ink-faint); }

/* ---------- RESPONSIVE ---------- */
/* ---------- HAMBURGER ---------- */
.nav-hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.4rem;
    z-index: 200;
}

.nav-hamburger span {
    display: block;
    width: 24px;
    height: 1px;
    background: var(--ink);
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-hamburger.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 900px) {
    #nav { padding: 1.25rem 1.5rem; }
    #nav.scrolled { padding: 0.85rem 1.5rem; }

    .scroll-hint {
        position: static;
        transform: none;
        margin-top: 2rem;
        opacity: 1;
        animation: none;
    }

    .nav-hamburger { display: flex; }

    .nav-links {
        display: none;
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
        position: fixed;
        top: 0; left: 0; right: 0;
        padding: 6rem 2rem 3rem;
        background: rgba(20, 18, 16, 0.97);
        backdrop-filter: blur(14px);
        -webkit-backdrop-filter: blur(14px);
        border-bottom: 1px solid var(--line);
        z-index: 150;
    }

    .nav-links.open { display: flex; }

    .lang-toggle {
        border-left: none;
        padding-left: 0;
        margin-left: 0;
        border-top: 1px solid var(--line);
        padding-top: 1rem;
        width: 100%;
    }

    .hero { grid-template-columns: 1fr; padding: 6rem 1.5rem 3rem; }
    .hero-visual { height: 50vh; order: -1; }
    .floating-thai {
        position: absolute;
        font-family: var(--serif);
        font-size: 7rem;
        color: transparent;
        -webkit-text-stroke: 1px var(--gold-bright);
        opacity: 0.5;
        font-style: italic;
        top: 8%;
        right: 12%;
        pointer-events: none;
        user-select: none;
    }

    section { padding: 5rem 1.5rem; }
    .services { padding: 5rem 1.5rem; }

    .about { grid-template-columns: 1fr; gap: 2.5rem; }
    .about-image { position: relative; top: 0; max-width: 320px; }
    .about-stats { grid-template-columns: 1fr; gap: 1.5rem; }

    .service { grid-template-columns: 1fr; gap: 0.6rem; padding: 2rem 0; }
    .service-meta { text-align: left; }
    .service-name { font-size: 1.4rem; }
    .service-image-wrap { grid-template-rows: 1fr; margin-top: 1rem; }

    .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
    .form-row { grid-template-columns: 1fr; gap: 1rem; }

    .footer-inner { grid-template-columns: 1fr; gap: 2.5rem; }
    .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; }
}

/* ============================================================
   BOOKING PAGE
   ============================================================ */
.booking-page {
    padding: 10rem 3rem 6rem;
    min-height: 100vh;
}

.booking-page-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.booking-page-header { margin-bottom: 5rem; }

.booking-page-header .section-title { margin-bottom: 1.5rem; }

.booking-intro {
    max-width: 620px;
    color: var(--ink-soft);
    font-size: 1.05rem;
    line-height: 1.8;
}

.booking-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 5rem;
    align-items: start;
}

.booking-side {
    position: sticky;
    top: 8rem;
}

.booking-form {
    background: var(--bg-elev);
    padding: 3rem;
    border: 1px solid var(--line);
    position: relative;
}

.booking-form::before {
    content: '';
    position: absolute;
    inset: 0.6rem;
    border: 1px solid var(--gold);
    opacity: 0.3;
    pointer-events: none;
}

.signed-in-hint {
    background: rgba(201, 168, 114, 0.08);
    border-left: 2px solid var(--gold);
    padding: 0.9rem 1.2rem;
    margin-bottom: 2rem;
    font-size: 0.88rem;
    color: var(--ink-soft);
}

.signed-in-hint a {
    color: var(--gold-bright);
    text-decoration: none;
    border-bottom: 1px solid var(--gold);
    margin-left: 0.4rem;
}

.signed-in-hint a:hover { color: var(--gold); }

.signed-in-hint.signed-in strong {
    color: var(--ink);
    font-weight: 500;
    margin-left: 0.3rem;
}

.validation-summary {
    margin-bottom: 1.5rem;
}

.validation-summary ul {
    list-style: none;
    background: var(--error-bg);
    border-left: 2px solid var(--error);
    padding: 1rem 1.2rem;
}

.validation-summary li {
    color: var(--error);
    font-size: 0.9rem;
    line-height: 1.5;
}

.validation-summary li + li { margin-top: 0.4rem; }

.validation-summary:empty { display: none; }

.form-note {
    margin-top: 1.5rem;
    font-size: 0.8rem;
    color: var(--ink-faint);
    line-height: 1.5;
    text-align: center;
}

.register-nudge {
    margin-top: 2rem;
    padding: 1rem 1.25rem;
    border: 1px solid var(--border, #d6cfbf);
    border-radius: 4px;
    background: var(--bg-soft, #f7f5f0);
    font-size: 0.88rem;
    color: var(--ink-soft);
    line-height: 1.6;
    text-align: center;
}

.register-nudge a {
    color: var(--accent, #5a6b51);
    font-weight: 500;
    text-decoration: underline;
}

.form-group input.input-validation-error,
.form-group select.input-validation-error,
.form-group textarea.input-validation-error {
    border-bottom-color: var(--error);
}

/* ============================================================
   CONFIRMATION PAGE
   ============================================================ */
.confirmation-page {
    padding: 10rem 3rem 8rem;
    min-height: 100vh;
}

.confirmation-inner {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
}

.confirmation-mark {
    width: 110px;
    height: 110px;
    margin: 0 auto 3rem;
}

.confirmation-mark svg { width: 100%; height: 100%; }

.confirmation-page .section-label {
    justify-content: center;
}

.confirmation-page .section-label::before {
    display: none;
}

.confirmation-page .section-title {
    margin: 0 auto 2rem;
    text-align: center;
}

.confirmation-lead {
    color: var(--ink-soft);
    font-size: 1.05rem;
    line-height: 1.8;
    max-width: 540px;
    margin: 0 auto 4rem;
}

.confirmation-card {
    background: var(--bg-elev);
    border: 1px solid var(--line);
    padding: 2.5rem 3rem;
    text-align: left;
    margin: 0 auto 3rem;
    position: relative;
}

.confirmation-card::before {
    content: '';
    position: absolute;
    inset: 0.6rem;
    border: 1px solid var(--gold);
    opacity: 0.3;
    pointer-events: none;
}

.conf-row {
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 1.5rem;
    padding: 0.9rem 0;
    border-bottom: 1px dashed var(--line);
    align-items: baseline;
}

.conf-row:last-child { border-bottom: none; }

.conf-key {
    font-size: 0.72rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--ink-faint);
}

.conf-val {
    font-family: var(--serif);
    font-size: 1.15rem;
    color: var(--ink);
}

.conf-val small {
    font-family: var(--sans);
    color: var(--ink-faint);
    font-size: 0.85rem;
    margin-left: 0.3rem;
    letter-spacing: 0.02em;
}

.conf-pill {
    display: inline-block;
    font-size: 0.72rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    padding: 0.4rem 0.9rem;
    border-radius: 100px;
}

.conf-pill-pending {
    background: rgba(201, 168, 114, 0.12);
    color: var(--gold);
    border: 1px solid rgba(201, 168, 114, 0.35);
}

.confirmation-actions {
    display: flex;
    gap: 2rem;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

@media (max-width: 900px) {
    .booking-page { padding: 7rem 1.5rem 4rem; }
    .booking-grid { grid-template-columns: 1fr; gap: 3rem; }
    .booking-side { position: relative; top: 0; }
    .booking-form { padding: 2rem; }

    .confirmation-page { padding: 7rem 1.5rem 4rem; }
    .confirmation-card { padding: 1.5rem; }
    .conf-row { grid-template-columns: 1fr; gap: 0.3rem; }

    .auth-page { padding: 7rem 1.5rem 4rem; }
    .auth-card { padding: 2rem; }
}

/* ── Auth pages (Login / Register) ─────────────────────────── */
.auth-page {
    min-height: 100vh;
    padding: 9rem 1.5rem 5rem;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    background: var(--bg);
}

.auth-card {
    width: 100%;
    max-width: 480px;
    background: var(--bg-soft);
    border: 1px solid var(--line);
    padding: 3rem;
}

.auth-header {
    margin-bottom: 2.5rem;
}

.auth-header .section-title {
    margin-top: 0.5rem;
    margin-bottom: 0;
    font-size: clamp(1.8rem, 4vw, 2.4rem);
}

.auth-switch {
    margin-top: 2rem;
    text-align: center;
    font-size: 0.9rem;
    color: var(--ink-faint);
}

.auth-switch a {
    color: var(--ink);
    text-decoration: underline;
    margin-left: 0.3em;
}

.form-check {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    color: var(--ink-faint);
}

.form-check input[type="checkbox"] {
    width: 1rem;
    height: 1rem;
    accent-color: var(--gold);
    cursor: pointer;
}
