:root {
    --forest: #173b2d;
    --leaf: #2f6f45;
    --mist: #f4f7f2;
    --cream: #fffaf0;
    --earth: #8b5a35;
    --ink: #1f261f;
    --muted: #68766b;
    --line: rgba(31, 38, 31, 0.12);
    --shadow: 0 18px 50px rgba(19, 37, 28, 0.18);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--mist);
    font-family: "Noto Sans Thai", system-ui, sans-serif;
    line-height: 1.7;
}

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

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

.site-header {
    position: fixed;
    z-index: 20;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 18px clamp(18px, 4vw, 56px);
    color: #fff;
    transition: background 0.2s ease, box-shadow 0.2s ease;
}

.site-header.is-scrolled {
    background: rgba(23, 59, 45, 0.94);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(12px);
}

.brand,
.nav {
    display: flex;
    align-items: center;
}

.brand {
    gap: 10px;
    font-weight: 700;
}

.brand-mark {
    display: grid;
    place-items: center;
    overflow: hidden;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #fff;
    color: var(--forest);
}

.brand-mark img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.nav {
    gap: 22px;
    font-size: 15px;
    font-weight: 600;
}

.nav a {
    opacity: 0.88;
}

.nav a:hover {
    opacity: 1;
}

.language-link {
    padding: 7px 10px;
    border: 1px solid rgba(255, 255, 255, 0.48);
    border-radius: 8px;
}

.menu-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(255, 255, 255, 0.55);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.12);
}

.menu-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    margin: 4px auto;
    background: #fff;
}

.hero {
    position: relative;
    min-height: 92vh;
    display: grid;
    align-items: end;
    overflow: hidden;
    color: #fff;
}

.hero-media,
.hero-main-image,
.hero-overlay {
    position: absolute;
    inset: 0;
    height: 100%;
}

.hero-media {
    overflow: hidden;
}

.hero-main-image {
    width: 100%;
    object-fit: cover;
}

.hero-stack {
    position: absolute;
    right: clamp(22px, 5vw, 72px);
    bottom: clamp(32px, 7vw, 86px);
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(2, minmax(170px, 1fr));
    gap: 14px;
    width: min(40vw, 520px);
}

.hero-stack img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    border: 1px solid rgba(255, 255, 255, 0.55);
    border-radius: 8px;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
}

.hero-stack img:first-child {
    transform: translateY(-34px);
}

.hero-overlay {
    background: linear-gradient(90deg, rgba(7, 24, 18, 0.9), rgba(7, 24, 18, 0.48) 46%, rgba(7, 24, 18, 0.16) 78%), linear-gradient(0deg, rgba(7, 24, 18, 0.76), transparent 52%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 780px;
    padding: 150px clamp(20px, 6vw, 80px) 96px;
}

.eyebrow {
    margin: 0 0 10px;
    color: #d9b66f;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: uppercase;
}

h1,
h2,
h3,
p {
    overflow-wrap: anywhere;
}

h1,
h2,
h3 {
    margin: 0;
    line-height: 1.18;
}

h1 {
    font-size: clamp(46px, 8vw, 86px);
}

#hero-title {
    overflow-wrap: normal;
}

#hero-title span {
    white-space: nowrap;
}

h2 {
    font-size: clamp(30px, 4vw, 48px);
}

h3 {
    font-size: 26px;
}

@media (min-width: 951px) {
    #hero-title {
        overflow-wrap: normal;
        white-space: nowrap;
        font-size: clamp(56px, 6vw, 86px);
    }
}

.hero-copy {
    max-width: 620px;
    margin: 18px 0 28px;
    font-size: clamp(18px, 2vw, 24px);
}

.hero-actions,
.contact-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    padding: 12px 22px;
    border: 1px solid transparent;
    border-radius: 8px;
    font-weight: 700;
}

.button.primary {
    background: #d9b66f;
    color: #1b231d;
}

.button.secondary {
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.48);
}

.button.ghost {
    color: var(--forest);
    border-color: var(--line);
}

.social-icon {
    display: inline-grid;
    flex: 0 0 auto;
    place-items: center;
    width: 22px;
    height: 22px;
    font-weight: 900;
    line-height: 1;
}

.social-icon svg {
    width: 100%;
    height: 100%;
    fill: currentColor;
}

.social-icon-facebook {
    border-radius: 50%;
    background: currentColor;
    color: #1877f2;
    font-family: Arial, sans-serif;
    font-size: 18px;
}

.social-icon-facebook::first-letter {
    color: #fff;
}

.button.secondary .social-icon-facebook,
.mobile-cta .social-icon-facebook {
    color: #fff;
    background: #1877f2;
}

.social-icon-tiktok {
    color: currentColor;
}

.social-icon-map {
    color: #d9472f;
}

.social-icon-phone {
    color: #d9b66f;
}

.quick-info {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1px;
    background: var(--line);
}

.quick-info div {
    min-height: 98px;
    display: grid;
    place-items: center;
    padding: 18px;
    background: #fff;
    color: var(--forest);
    font-weight: 700;
    text-align: center;
}

.section {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
    padding: 86px 0;
}

.intro {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: clamp(28px, 7vw, 90px);
    align-items: start;
}

.promo {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 28px;
    align-items: stretch;
}

.promo-main {
    padding: clamp(28px, 4vw, 44px);
    background: var(--forest);
    color: #fff;
    border-radius: 8px;
}

.promo-main p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 18px;
}

.promo-main .button {
    margin-top: 8px;
}

.promo-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.promo-list article {
    padding: 22px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(19, 37, 28, 0.06);
}

.promo-list h3 {
    font-size: 22px;
}

.promo-list ul {
    display: grid;
    gap: 8px;
    margin: 12px 0 0;
    padding-left: 20px;
    color: var(--muted);
}

.promo-list li::marker {
    color: var(--earth);
}

.intro p:last-child,
.section-heading p,
.pricing-copy p,
.contact p {
    color: var(--muted);
    font-size: 18px;
}

.section-heading {
    max-width: 680px;
    margin-bottom: 28px;
}

.zone-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.zone-card {
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(19, 37, 28, 0.08);
}

.zone-image {
    display: block;
    background: #dfe7de;
    aspect-ratio: 16 / 10;
}

.zone-image img {
    height: 100%;
    object-fit: cover;
}

.zone-body {
    padding: 18px 22px 20px;
}

.pricing {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 34px;
    align-items: center;
}

.pricing-copy {
    padding: 34px;
    background: var(--forest);
    color: #fff;
    border-radius: 8px;
}

.pricing-copy p {
    color: rgba(255, 255, 255, 0.78);
}

.pricing-image {
    display: block;
    overflow: hidden;
    background: #fff;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.gallery-groups {
    display: grid;
    gap: 34px;
}

.gallery-group {
    display: grid;
    gap: 16px;
}

.gallery-group h3 {
    padding-bottom: 10px;
    border-bottom: 1px solid var(--line);
}

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

.gallery-grid a {
    overflow: hidden;
    aspect-ratio: 4 / 3;
    border-radius: 8px;
    background: #dfe7de;
}

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

.gallery-grid a:hover img,
.zone-image:hover img {
    transform: scale(1.03);
}

.contact {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 28px;
    align-items: center;
    margin-bottom: 40px;
    padding: 42px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
}

.map-embed {
    grid-column: 1 / -1;
    overflow: hidden;
    aspect-ratio: 16 / 7;
    min-height: 320px;
    background: #dfe7de;
    border-radius: 8px;
}

.map-embed iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.contact .button.secondary {
    background: var(--forest);
    border-color: var(--forest);
}

.site-footer {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    padding: 30px clamp(20px, 6vw, 80px) 96px;
    color: rgba(255, 255, 255, 0.78);
    background: #10281f;
}

.site-footer p {
    margin: 0;
}

.mobile-cta {
    position: fixed;
    z-index: 18;
    right: 14px;
    bottom: 14px;
    left: 14px;
    display: none;
    grid-template-columns: repeat(4, 1fr);
    overflow: hidden;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.mobile-cta a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 48px;
    background: var(--forest);
    color: #fff;
    font-weight: 700;
}

.mobile-cta .social-icon {
    width: 24px;
    height: 24px;
}

.mobile-cta a + a {
    border-left: 1px solid rgba(255, 255, 255, 0.18);
}

.image-modal .modal-content {
    position: relative;
    background: transparent;
    border: 0;
}

.image-modal .modal-body {
    display: grid;
    place-items: center;
    padding: 0;
}

.image-modal img {
    width: auto;
    max-width: 100%;
    max-height: 86vh;
    border-radius: 8px;
    object-fit: contain;
}

.image-modal-close {
    position: absolute;
    z-index: 2;
    top: -18px;
    right: -18px;
    width: 44px;
    height: 44px;
    padding: 12px;
    border-radius: 50%;
    background-color: #fff;
    opacity: 1;
}

@media (max-width: 980px) {
    .hero-stack {
        width: min(36vw, 320px);
        grid-template-columns: 1fr;
    }

    .hero-stack img {
        aspect-ratio: 4 / 3;
    }

    .hero-stack img:first-child {
        transform: none;
    }

    .hero-stack img + img {
        display: none;
    }

    .quick-info,
    .zone-grid,
    .pricing,
    .promo,
    .intro,
    .contact {
        grid-template-columns: 1fr;
    }

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

    .contact {
        padding: 28px;
    }

    .map-embed {
        aspect-ratio: 4 / 3;
        min-height: 280px;
    }
}

@media (max-width: 760px) {
    .site-header {
        padding: 12px 16px;
    }

    .menu-toggle {
        display: block;
    }

    .nav {
        position: absolute;
        top: 66px;
        right: 16px;
        display: none;
        width: min(280px, calc(100vw - 32px));
        padding: 14px;
        flex-direction: column;
        align-items: stretch;
        gap: 6px;
        background: rgba(23, 59, 45, 0.98);
        border-radius: 8px;
        box-shadow: var(--shadow);
    }

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

    .nav a {
        padding: 10px 12px;
    }

    .hero {
        min-height: 86vh;
    }

    .hero-main-image {
        object-position: 58% center;
    }

    .hero-stack {
        display: none;
    }

    .hero-overlay {
        background: linear-gradient(90deg, rgba(7, 24, 18, 0.88), rgba(7, 24, 18, 0.46)), linear-gradient(0deg, rgba(7, 24, 18, 0.76), transparent 54%);
    }

    .hero-content {
        padding: 130px 20px 72px;
    }

    .section {
        width: min(100% - 28px, 1180px);
        padding: 58px 0;
    }

    .quick-info {
        grid-template-columns: 1fr;
    }

    .quick-info div {
        min-height: 72px;
    }

    .promo-list {
        grid-template-columns: 1fr;
    }

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

    .site-footer {
        display: block;
        padding-bottom: 88px;
    }

    .site-footer p + p {
        margin-top: 8px;
    }

    .mobile-cta {
        display: grid;
    }
}

@media (max-width: 424px) {
    #hero-title span {
        display: block;
    }
}
