:root {
    --green: #b78b2f;
    --deep: #74551a;
    --gold-gradient: linear-gradient(135deg, #74551a 0%, #b78b2f 28%, #f4d77a 50%, #b78b2f 72%, #74551a 100%);
    --gold-gradient-deep: linear-gradient(135deg, #523b0f 0%, #8b651d 35%, #d4ac4d 55%, #74551a 100%);
    --mint: #dceee7;
    --cream: #f7f6f1;
    --ink: #14211e;
    --muted: #65736e;
    --line: #dfe6e2;
    --radius: 18px
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    margin: 0;
    color: var(--ink);
    font-family: Prompt, system-ui, sans-serif;
    font-size: 16px;
    line-height: 1.7;
    background: #fff
}

a {
    color: inherit;
    text-decoration: none
}

.container {
    width: min(1240px, calc(100% - 40px));
    margin: auto
}

.site-header {
    height: 78px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #edf1ef;
    background: #fff;
    position: sticky;
    top: 0;
    z-index: 10
}

.nav-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between
}

.brand {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 19px;
    line-height: 1;
    color: var(--deep);
    font-weight: 500;
    min-width: 250px;
}

.brand > span {
    min-width: 0; /* สำคัญ: อนุญาตให้ flex item นี้หดได้ตาม max-width ของ parent */
    overflow: hidden;
}

.brand small {
    display: block;
    font-size: 15px;
    letter-spacing: .04em;
    margin-top: 5px;
    white-space: nowrap;      /* บังคับให้อยู่บรรทัดเดียว */
    overflow: hidden;          /* ซ่อนส่วนที่ล้น */
    text-overflow: ellipsis;   /* ใส่ ... ตรงท้าย */
    max-width: 100%;           /* ตัดตามความกว้างของ span ที่หดแล้ว */
}
.brand b {
    font-weight: 700
}

.brand-mark {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: var(--gold-gradient-deep);
    color: #fff;
    font-weight: 700;
    font-size: 22px;
    flex-shrink: 0; /* ห้ามหด ให้คงขนาด 36x36 เสมอ */
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 23px;
    font-size: 15px;
    font-weight: 500;
    flex-shrink: 0; /* ห้ามหด  */
}

.main-nav>a:not(.nav-cta) {
    padding: 27px 0
}

.main-nav .active {
    color: var(--green);
    border-bottom: 2px solid var(--green)
}

.nav-cta,
.button {
    border: 0;
    cursor: pointer;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    border-radius: 9px;
    padding: 12px 19px;
    font: inherit;
    font-weight: 600;
    transition: .2s
}

.nav-cta,
.button.primary {
    background: var(--ink);
    color: white
}

.nav-cta:hover,
.button.primary:hover {
    background: var(--gold-gradient-deep);
    transform: translateY(-1px)
}

.menu-toggle {
    display: none;
    background: none;
    border: 0;
    font-size: 25px
}

.hero {
    overflow: hidden;
    background: var(--cream);
    min-height: 550px
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.8fr 0.8fr;
    width: 100%;
    min-height: 550px;
    align-items: center
}

.eyebrow {
    font-size: 16px;
    letter-spacing: .1em;
    font-weight: 700;
    color: var(--ink);
    margin: 0 0 12px
}

.hero h1,
.page-hero h1,
.booking-intro h1 {
    font-size: clamp(40px, 5vw, 68px);
    line-height: 1.16;
    letter-spacing: -.04em;
    margin: 0 0 21px;
    color: var(--green);
    font-style: normal;
}

.hero h1 em,
.booking-intro em {
    color: var(--green);
    font-style: normal
}

.hero-copy>p:not(.eyebrow) {
    color: var(--gold-gradient-deep) !important;
    max-width: 480px;
    font-size: 20px
}

.hero-actions {
    display: flex;
    gap: 12px;
    margin-top: 28px
}

.button {
    min-height: 47px
}

.button.ghost {
    border: 1px solid #aab7b1;
    background: transparent
}

.button.outline {
    border: 1px solid var(--green);
    color: var(--deep);
    background: transparent
}

.trust-row {
    display: flex;
    gap: 19px;
    font-size: 18px;
    margin-top: 32px;
    color: var(--ink);
}

.hero-visual {
    height: 100%;
    min-height: 440px;
    position: relative;
    background: linear-gradient(155deg, #bfd9ce, #78ae9e);
    overflow: hidden
}

.mountain {
    position: absolute;
    bottom: 0;
    width: 130%;
    height: 55%;
    background: #377563;
    clip-path: polygon(0 100%, 35% 24%, 50% 57%, 68% 0, 100% 100%)
}

.m2 {
    background: #245a4c;
    opacity: .9;
    height: 39%;
    clip-path: polygon(0 100%, 21% 30%, 40% 72%, 57% 11%, 75% 53%, 100% 0, 100% 100%)
}

.van {
    position: absolute;
    bottom: 20%;
    left: 13%;
    width: 330px;
    height: 130px;
    border-radius: 48px 58px 20px 20px;
    background: #f5f6f2;
    border: 8px solid #e1e5e1;
    box-shadow: 0 21px 18px #07362b40
}

.van:before {
    content: "";
    position: absolute;
    right: -7px;
    top: 31px;
    width: 51px;
    height: 55px;
    border-radius: 3px 47px 12px 3px;
    background: #e3c245
}

.van-top {
    position: absolute;
    left: 57px;
    top: -48px;
    width: 208px;
    height: 65px;
    border-radius: 70px 95px 0 0;
    background: #f5f6f2;
    border: 8px solid #e1e5e1;
    border-bottom: 0
}

.window {
    position: absolute;
    top: 21px;
    width: 55px;
    height: 41px;
    background: #326b72;
    border-radius: 5px
}

.w1 {
    left: 27px
}

.w2 {
    left: 95px
}

.w3 {
    left: 164px
}

.wheel {
    position: absolute;
    width: 40px;
    height: 40px;
    border: 10px solid #263331;
    background: #0d1412;
    border-radius: 50%;
    bottom: -27px
}

.wheel.left {
    left: 44px
}

.wheel.right {
    right: 41px
}

.hero-badge {
    position: absolute;
    right: 5%;
    top: 5%;
    width: 100px;
    height: 100px;
    padding: 5px;
    border-radius: 50%;
    background: #f4bd3f;
    text-align: center;
    line-height: 1.15;
    transform: rotate(8deg)
}

.hero-badge b {
    display: block;
    font-size: 35px
}

.hero-badge span {
    font-size: 11px
}

.quick-book {
    background: var(--gold-gradient);
    color: #fff
}

.quick-book .container {
    min-height: 126px;
    display: flex;
    align-items: center;
    justify-content: space-between
}

.quick-book h2 {
    margin: 0;
    font-size: 24px
}

.quick-book .eyebrow {
    color: var(--ink);
    margin: 0;
    font-size: 18px;
}

.quick-book .button {
    background: #fff;
    color: var(--ink)
}

.section {
    padding: 88px 0
}

.section.soft {
    background: #f5f8f6
}

.section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    margin-bottom: 32px
}

.section-heading h2,
.process h2 {
    font-size: 35px;
    line-height: 1.25;
    margin: 0;
    letter-spacing: -.03em
}

.section-heading.center {
    display: block;
    text-align: center
}

.text-link {
    color: var(--ink);
    font-weight: 600
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px
}

.trip-card {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    background: #fff
}

.trip-art {
    height: 210px;
    position: relative;
    background: linear-gradient(135deg, #92c3af, #376f5e)
}

.trip-art:after {
    content: "";
    position: absolute;
    inset: 40% 0 0;
    /* background: #1c5547;
    clip-path: polygon(0 100%, 30% 17%, 48% 53%, 65% 0, 100% 100%) */
}

.trip-art span {
    position: absolute;
    z-index: 1;
    top: 14px;
    left: 14px;
    padding: 5px 10px;
    color: #fff;
    background: #124c3acc;
    font-size: 11px;
    border-radius: 30px
}

.art-2 {
    background: linear-gradient(135deg, #d4b35e, #a96d40)
}

.art-3 {
    background: linear-gradient(135deg, #a3c8d6, #3a7592)
}

.card-body {
    padding: 20px
}

.card-body h3 {
    margin: 0 0 7px;
    font-size: 18px
}

.card-body p {
    color: var(--muted);
    font-size: 16px;
    min-height: 44px;
    margin: 0 0 17px
}

.card-body a {
    color: var(--ink);
    font-weight: 600;
    font-size: 16px
}

.card-body b {
    font-size: 19px;
    margin-left: 7px
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 55px
}

.feature-grid span {
    color: var(--deep);
    font-weight: 700;
    font-size: 20px;
}

.feature-grid h3 {
    font-size: 19px;
    margin: 10px 0
}

.feature-grid p {
    color: var(--muted);
    font-size: 16px
}

.process {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 100px;
    align-items: center
}

.process ol {
    padding: 0;
    margin: 0;
    list-style: none
}

.process li {
    display: flex;
    gap: 22px;
    padding: 18px 0;
    border-bottom: 1px solid var(--line)
}

.process li b {
    font-size: 20px;
    color: var(--deep);
}

.process h3,
.process p {
    margin: 0
}

.process p {
    font-size: 16px;
    color: var(--muted)
}

.cta-section {
    background: var(--gold-gradient-deep);
    color: #fff;
    text-align: center;
    padding: 88px 0
}

.cta-section .eyebrow {
    color: var(--cream);
    font-size: 20px;
}

.cta-section h2 {
    font-size: 37px;
    margin: 0 0 24px
}

.light-button {
    background: #fff;
    color: var(--deep)
}

.site-footer {
    padding: 55px 0 18px;
    background: #101b18;
    color: #cfdbd5;
    font-size: 16px
}

.brand.light {
    color: #fff
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 45px
}

.footer-grid p {
    color: #9eafa8
}

.footer-grid h3 {
    font-size: 18px;
    color: #fff;
    margin-top: 0
}

.footer-grid a:not(.brand) {
    display: block;
    margin: 7px 0
}

.copyright {
    border-top: 1px solid #2a3934;
    margin-top: 32px;
    padding-top: 18px;
    color: #80928a
}

.float-call,
.float-whatsapp,
.float-facebook,
.float-line,
.float-wechat {
    position: fixed;
    right: 17px;
    bottom: 220px;
    width: 43px;
    height: 43px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #fff;
    color: var(--green);
    box-shadow: 0 5px 15px #0003;
    z-index: 5;
    font-size: 18px
}

.float-line {
    bottom: 170px;
    border-radius: 12px;
    background: #45d354;
    color: #fff;
    font-size: 16px;
    font-weight: bold
}

.float-wechat {
    bottom: 70px;
    border-radius: 12px;
    background: #07c160;
    color: #fff
}
.float-whatsapp {
    bottom: 120px;
}
.float-whatsapp img {
    width: 100%;
}

.float-wechat svg {
    width: 25px;
    height: 25px;
    fill: #fff
}

.float-wechat svg circle {
    fill: #07c160
}

.float-facebook {
    bottom: 20px;
    border-radius: 12px;
    background: #084fb9;
    color: #fff;
    font-size: 16px;
    font-weight: bold
}

.page-hero {
    padding: 90px 0;
    background: var(--cream)
}

.page-hero.compact {
    padding: 65px 0
}

.page-hero h1 {
    font-size: 48px;
    margin-bottom: 10px
}

.page-hero p:last-child {
    color: var(--muted);
    margin: 0
}

.narrow {
    max-width: 650px
}

.booking-page {
    background: #eef4f1;
    padding: 52px 0 70px
}

.booking-layout {
    display: grid;
    grid-template-columns: .85fr 1.4fr;
    gap: 55px
}

.booking-intro {
    padding: 36px 0
}

.booking-intro h1 {
    font-size: 50px
}

.booking-intro>p:not(.eyebrow) {
    color: var(--muted)
}

.booking-help {
    margin-top: 45px;
    color: var(--muted);
    font-size: 13px
}

.booking-help a {
    font-size: 19px;
    font-weight: 600;
    color: var(--green)
}

.booking-card,
.status-card,
.contact-form {
    background: #fff;
    border-radius: var(--radius);
    padding: 34px;
    box-shadow: 0 10px 35px #123d3012
}

.steps {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid var(--line);
    padding-bottom: 22px;
    margin-bottom: 30px;
    color: #9ba7a2;
    font-size: 12px
}

.steps span {
    display: flex;
    align-items: center;
    gap: 7px
}

.steps i {
    font-style: normal;
    width: 23px;
    height: 23px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #e6ebe8;
    color: #68736e
}

.steps .active {
    color: var(--green);
    font-weight: 600
}

.steps .active i {
    background: var(--gold-gradient);
    color: #fff
}

.step-panel {
    display: none
}

.step-panel.active {
    display: block
}

.step-panel h2 {
    font-size: 23px;
    margin: 0 0 2px
}

.muted {
    margin: 0 0 22px;
    color: var(--muted);
    font-size: 13px
}

.choice-list {
    display: grid;
    gap: 10px;
    margin: 20px 0
}

.choice {
    border: 1px solid var(--line);
    padding: 14px;
    display: flex;
    gap: 11px;
    border-radius: 10px;
    cursor: pointer
}

.choice:has(input:checked) {
    border-color: var(--green);
    background: #f2f8f5
}

.choice input {
    accent-color: var(--green)
}

.choice small {
    display: block;
    color: var(--muted);
    font-size: 11px
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px
}

label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    margin: 15px 0
}

label small {
    font-weight: 400;
    color: var(--muted)
}

input,
select,
textarea {
    display: block;
    width: 100%;
    margin-top: 5px;
    border: 1px solid #d4dfd9;
    border-radius: 7px;
    padding: 11px;
    font: inherit;
    font-size: 16px;
    background: #fff
}
input[type=radio] {
    width: auto !important;
}

input:focus,
select:focus,
textarea:focus {
    outline: 2px solid #a8d0bf;
    border-color: var(--green)
}

.step-actions {
    display: flex;
    justify-content: space-between;
    margin-top: 25px
}

.button.back-step {
    background: #e8efeb;
    color: #315348
}

.honeypot {
    position: absolute !important;
    left: -9999px
}

.booking-summary {
    margin: 20px 0;
    padding: 13px;
    background: #f2f7f4;
    border-radius: 8px;
    font-size: 12px
}

.consent {
    font-size: 11px;
    font-weight: 400
}

.consent input {
    display: inline;
    width: auto
}

.status-card {
    display: grid;
    gap: 8px
}

.status-card label {
    margin: 0
}

.result-ok,
.result-error {
    margin-top: 15px;
    padding: 15px;
    border-radius: 8px
}

.result-ok {
    background: #e3f3e9;
    color: #21593d
}

.result-error {
    background: #fce8e8;
    color: #9d3333
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 70px
}

.contact-grid h2 {
    font-size: 34px
}

.contact-big {
    font-size: 23px
}

.contact-big a {
    color: var(--green);
    font-weight: 700
}

.form-message {
    font-size: 12px;
    color: var(--green)
}

.prose {
    max-width: 760px
}

.prose h2 {
    margin-top: 30px
}

.empty {
    grid-column: 1/-1;
    color: var(--muted)
}

@media(max-width:800px) {

    .site-header {
        height: 64px
    }

    .menu-toggle {
        display: block
    }

    .main-nav {
        display: none;
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;
        padding: 12px 20px 20px;
        background: #fff;
        box-shadow: 0 8px 16px #0001;
        align-items: stretch;
        gap: 0
    }

    .main-nav.open {
        display: flex;
        flex-direction: column
    }

    .main-nav>a:not(.nav-cta) {
        padding: 10px 0
    }

    .main-nav .active {
        border: 0
    }

    .nav-cta {
        text-align: center;
        margin-top: 5px
    }

    .hero-grid,
    .booking-layout,
    .process,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 0px;
    }

    .hero-copy {
        padding: 58px 0 35px
    }

    .hero-visual {
        min-height: 310px;
        margin: 0 calc((100vw - min(100% - 28px, 1140px))/ -2)
    }

    .van {
        transform: scale(.72);
        transform-origin: left bottom;
        left: 11%;
        bottom: 21%
    }

    .hero-badge {
        transform: scale(.75);
        right: 3%;
        top: 10%
    }

    .quick-book .container {
        padding: 23px 0;
        min-height: 0;
        align-items: flex-start;
        gap: 16px;
        flex-direction: column
    }

    .quick-book h2 {
        font-size: 20px
    }

    .section {
        padding: 58px 0
    }

    .card-grid,
    .feature-grid {
        grid-template-columns: 1fr;
        gap: 16px
    }

    .feature-grid {
        gap: 12px
    }

    .feature-grid article {
        padding: 12px 0;
        border-bottom: 1px solid var(--line)
    }

    .process {
        gap: 30px
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 25px
    }

    .footer-grid>div:first-child {
        grid-column: 1/-1
    }

    .page-hero {
        padding: 58px 0
    }

    .page-hero h1 {
        font-size: 35px
    }

    .booking-page {
        padding: 25px 0 50px
    }

    .booking-intro {
        padding: 10px 0
    }

    .booking-intro h1 {
        font-size: 40px
    }

    .booking-help {
        display: none
    }
    .booking-intro h1 {
        display: none
    }

    .booking-card {
        padding: 21px 16px
    }

    .steps {
        font-size: 10px;
        gap: 3px
    }

    .steps i {
        width: 20px;
        height: 20px
    }

    .form-row {
        grid-template-columns: 1fr
    }

    .step-actions .button {
        padding: 11px 13px
    }

    .contact-grid {
        gap: 26px
    }

    .hero-actions .button {
        padding: 11px 14px
    }

    .trust-row {
        flex-direction: column;
        gap: 5px
    }

    .float-call,
    .float-facebook,
    .float-line,
    .float-wechat,
    .float-whatsapp {
        right: 13px
    }
}
