/* =========================================================
   โก๋ เมืองกาญจน์ พาราไดซ์ วิว รีสอร์ท — Nature Theme
   ========================================================= */
:root {
  --forest: #1f3a2c;
  --forest-2: #2c5440;
  --leaf: #5e8b52;
  --leaf-2: #7fae6b;
  --moss: #a7c28f;
  --river: #3f7d83;
  --sand: #f5efe3;
  --sand-2: #ebe2cf;
  --wood: #8a6a45;
  --bark: #4b3a28;
  --ink: #1d2620;
  --muted: #5f6b62;
  --line: rgba(31, 58, 44, .12);

  --f-head: "Noto Serif Thai", serif;
  --f-body: "Anuphan", system-ui, sans-serif;
  --f-script: "Caveat", cursive;

  --r: 22px;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --shadow: 0 24px 50px -28px rgba(31, 58, 44, .45);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { font-family: var(--f-body); color: var(--ink); background: var(--sand); line-height: 1.75; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
body.is-locked { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
::selection { background: var(--leaf); color: #fff; }

.container { width: min(1200px, 100% - 3rem); margin-inline: auto; }
.section { padding: clamp(4.5rem, 9vw, 7.5rem) 0; position: relative; }

/* ---------- Type ---------- */
.tag {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .85rem; font-weight: 500; letter-spacing: .08em; color: var(--leaf);
  background: rgba(94, 139, 82, .12); padding: .35rem 1rem; border-radius: 99px; margin-bottom: 1.1rem;
}
.tag::before { content: "🌿"; font-size: .9em; }
.tag--light { color: var(--moss); background: rgba(255,255,255,.1); }
.title { font-family: var(--f-head); font-weight: 600; font-size: clamp(1.8rem, 3.6vw, 2.8rem); line-height: 1.35; color: var(--forest); margin-bottom: 1.3rem; }
.title span { color: var(--leaf); font-weight: 500; }
.head { text-align: center; max-width: 720px; margin: 0 auto 3.5rem; }
.head--light .title { color: #fff; }
.head--light .title span { color: var(--moss); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .9rem 1.9rem; border-radius: 99px; font-weight: 500; font-size: .98rem;
  border: 2px solid transparent; cursor: pointer; transition: all .35s var(--ease); white-space: nowrap;
}
.btn--leaf { background: var(--leaf); color: #fff; }
.btn--leaf:hover { background: var(--forest-2); transform: translateY(-2px); box-shadow: 0 14px 26px -12px rgba(46, 84, 64, .7); }
.btn--glass { background: rgba(255,255,255,.14); color: #fff; border-color: rgba(255,255,255,.45); backdrop-filter: blur(6px); }
.btn--glass:hover { background: #fff; color: var(--forest); }
.btn--outline { border-color: var(--leaf); color: var(--leaf); background: transparent; }
.btn--outline:hover { background: var(--leaf); color: #fff; }
.btn--line { background: #06c755; color: #fff; }
.btn--line:hover { background: #05a647; transform: translateY(-2px); }

/* ---------- Header ---------- */
.header { position: fixed; inset: 0 0 auto; z-index: 100; padding: 1rem 0; transition: all .4s var(--ease); }
.header.is-scrolled { background: rgba(245, 239, 227, .92); backdrop-filter: blur(12px); padding: .5rem 0; box-shadow: 0 6px 24px -16px rgba(0,0,0,.35); }
.header__inner { display: flex; align-items: center; justify-content: space-between; }
.logo img { height: 62px; width: auto; transition: height .4s var(--ease); filter: drop-shadow(0 2px 6px rgba(0,0,0,.25)); }
.header.is-scrolled .logo img { height: 50px; filter: none; }

.nav { display: flex; align-items: center; gap: 2rem; color: #fff; font-weight: 500; }
.header.is-scrolled .nav { color: var(--forest); }
.nav a:not(.btn) { position: relative; padding: .3rem 0; }
.nav a:not(.btn)::after { content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 2px; border-radius: 2px; background: var(--leaf-2); transform: scaleX(0); transition: transform .35s var(--ease); }
.nav a:not(.btn):hover::after, .nav a.is-active::after { transform: scaleX(1); }
.nav__cta { padding: .6rem 1.4rem; }

.burger { display: none; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(255,255,255,.18); cursor: pointer; position: relative; z-index: 120; backdrop-filter: blur(6px); }
.header.is-scrolled .burger { background: var(--forest); }
.burger span { position: absolute; left: 12px; width: 20px; height: 2px; border-radius: 2px; background: #fff; transition: all .35s var(--ease); }
.burger span:nth-child(1) { top: 15px; } .burger span:nth-child(2) { top: 21px; } .burger span:nth-child(3) { top: 27px; }
.burger.is-open span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { min-height: 100svh; display: flex; align-items: center; position: relative; overflow: hidden; color: #fff; }
.hero__bg { position: absolute; inset: -5%; background-size: cover; background-position: center; animation: kenburns 24s ease-in-out infinite alternate; }
@keyframes kenburns { to { transform: scale(1.1) translate(-1.5%, -1%); } }
.hero__overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(16,32,24,.55) 0%, rgba(16,32,24,.25) 40%, rgba(16,32,24,.65) 100%); }
.hero__content { position: relative; padding-top: 5rem; }
.hero__script { font-family: var(--f-script); font-size: clamp(1.4rem, 2.6vw, 2rem); color: var(--moss); margin-bottom: .3rem; }
.hero__title { font-family: var(--f-head); font-weight: 600; font-size: clamp(3rem, 8.5vw, 6.4rem); line-height: 1.15; text-shadow: 0 6px 30px rgba(0,0,0,.35); margin-bottom: 1.4rem; }
.hero__lead { font-size: clamp(1.05rem, 1.7vw, 1.3rem); max-width: 560px; opacity: .92; margin-bottom: 2.4rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; }
.hero__scroll { position: absolute; left: 50%; bottom: 7.5rem; transform: translateX(-50%); width: 28px; height: 46px; border: 2px solid rgba(255,255,255,.7); border-radius: 20px; z-index: 2; }
.hero__scroll span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: #fff; animation: wheel 1.8s infinite; }
@keyframes wheel { 0% { opacity: 1; transform: translateY(0); } 100% { opacity: 0; transform: translateY(16px); } }
.wave { position: absolute; left: 0; bottom: -1px; width: 100%; height: 90px; fill: var(--sand); }

/* ---------- About ---------- */
.about__intro { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 6vw, 5.5rem); align-items: center; margin-bottom: clamp(4rem, 8vw, 6rem); }
.about__text > p { color: var(--muted); font-size: 1.08rem; }
.about__facts { display: flex; gap: 1rem; margin-top: 2.2rem; flex-wrap: wrap; }
.about__facts div { flex: 1; min-width: 120px; background: #fff; border-radius: 18px; padding: 1.1rem 1.2rem; box-shadow: var(--shadow); }
.about__facts strong { display: block; font-family: var(--f-head); font-size: 2rem; color: var(--leaf); line-height: 1.2; }
.about__facts span { font-size: .9rem; color: var(--muted); }
.about__media { position: relative; padding: 0 0 3rem 3rem; }
.about__img { border-radius: var(--r); object-fit: cover; box-shadow: var(--shadow); }
.about__img--main { width: 100%; aspect-ratio: 9 / 10; border-radius: 180px 180px var(--r) var(--r); }
.about__img--sub { position: absolute; left: 0; bottom: 0; width: 46%; aspect-ratio: 4 / 3; border: 6px solid var(--sand); }
.about__stamp { position: absolute; right: -1rem; top: 2rem; width: 112px; height: 112px; border-radius: 50%; background: var(--wood); color: #fff; display: grid; place-items: center; text-align: center; font-family: var(--f-script); font-size: 1.1rem; line-height: 1.1; box-shadow: var(--shadow); animation: float 6s ease-in-out infinite; }
.about__stamp b { font-size: 1.35rem; font-weight: 500; }
@keyframes float { 50% { transform: translateY(-10px) rotate(-6deg); } }

.highlights { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.hl { background: #fff; border-radius: var(--r); padding: 2.2rem 2rem; transition: transform .45s var(--ease), box-shadow .45s var(--ease); position: relative; overflow: hidden; }
.hl::after { content: ""; position: absolute; right: -40px; bottom: -40px; width: 140px; height: 140px; border-radius: 50%; background: rgba(127, 174, 107, .1); transition: transform .6s var(--ease); }
.hl:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.hl:hover::after { transform: scale(1.6); }
.hl__icon { width: 64px; height: 64px; border-radius: 20px; background: linear-gradient(135deg, var(--leaf-2), var(--forest-2)); display: grid; place-items: center; margin-bottom: 1.4rem; }
.hl__icon svg { width: 34px; height: 34px; fill: none; stroke: #fff; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.hl h3 { font-family: var(--f-head); font-size: 1.35rem; color: var(--forest); margin-bottom: .6rem; }
.hl p { color: var(--muted); font-size: .97rem; position: relative; z-index: 1; }

/* ---------- Rooms ---------- */
.rooms { background: var(--sand-2); overflow: hidden; }
.leaf--tr { position: absolute; right: -120px; top: -80px; width: 420px; height: 420px; border-radius: 0 70% 0 70%; background: radial-gradient(circle at 30% 70%, rgba(94,139,82,.18), transparent 70%); transform: rotate(20deg); }
.rooms__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.room { background: #fff; border-radius: var(--r); overflow: hidden; transition: transform .45s var(--ease), box-shadow .45s var(--ease); display: flex; flex-direction: column; }
.room:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.room__img { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.room__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.room:hover .room__img img { transform: scale(1.08); }
.room__size { position: absolute; left: 1rem; bottom: 1rem; background: rgba(255,255,255,.92); color: var(--forest); border-radius: 99px; padding: .25rem .9rem; font-size: .85rem; }
.room__size b { font-family: var(--f-head); font-size: 1.15rem; }
.room__badge { position: absolute; right: 1rem; top: 1rem; background: var(--wood); color: #fff; font-size: .78rem; border-radius: 99px; padding: .2rem .8rem; }
.room__body { padding: 1.5rem 1.5rem 1.7rem; flex: 1; }
.room h3 { font-family: var(--f-head); font-size: 1.25rem; color: var(--forest); margin-bottom: .7rem; }
.room__meta { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: 1rem; }
.room__meta li { font-size: .82rem; background: var(--sand); border-radius: 99px; padding: .2rem .75rem; color: var(--bark); }
.room__list { list-style: none; border-top: 1px dashed var(--line); padding-top: .9rem; }
.room__list li { font-size: .92rem; color: var(--muted); padding-left: 1.4rem; position: relative; margin-bottom: .25rem; }
.room__list li::before { content: "✓"; position: absolute; left: 0; color: var(--leaf); font-weight: 600; }

.amenities { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-top: 3rem; }
.amenities__col { background: var(--forest); color: #fff; border-radius: var(--r); padding: 2rem 2.2rem; }
.amenities__col:last-child { background: var(--forest-2); }
.amenities h4 { font-family: var(--f-head); font-size: 1.2rem; margin-bottom: 1.2rem; color: var(--moss); }
.amenities ul { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem 1rem; }
.amenities li { font-size: .92rem; padding-left: 1.3rem; position: relative; opacity: .92; }
.amenities li::before { content: ""; position: absolute; left: 0; top: .6em; width: 7px; height: 7px; border-radius: 50% 0; background: var(--leaf-2); }

/* ---------- Activities ---------- */
.activities { background: linear-gradient(180deg, var(--forest) 0%, #173022 100%); color: #fff; overflow: hidden; }
.activities::before { content: ""; position: absolute; inset: 0; background: radial-gradient(50% 40% at 85% 10%, rgba(63,125,131,.35), transparent 70%), radial-gradient(40% 40% at 10% 90%, rgba(127,174,107,.2), transparent 70%); }
.acts { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem; position: relative; }
.act { position: relative; border-radius: var(--r); overflow: hidden; min-height: 400px; display: flex; align-items: flex-end; isolation: isolate; }
.act img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s var(--ease); }
.act::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(12,26,18,.05) 0%, rgba(12,26,18,.55) 45%, rgba(12,26,18,.95) 100%); }
.act h3, .act p { text-shadow: 0 2px 12px rgba(0,0,0,.45); }
.act:hover img { transform: scale(1.07); }
.act__body { padding: 2rem; }
.act__price { display: inline-block; background: var(--wood); padding: .25rem .9rem; border-radius: 99px; font-size: .85rem; font-weight: 500; margin-bottom: .8rem; }
.act__price--free { background: var(--leaf); }
.act h3 { font-family: var(--f-head); font-size: 1.5rem; margin-bottom: .5rem; }
.act p { opacity: .88; font-size: .97rem; margin-bottom: .7rem; }
.act small { font-size: .85rem; color: var(--moss); }

/* ---------- Gallery ---------- */
.filters { display: flex; justify-content: center; flex-wrap: wrap; gap: .6rem; margin-bottom: 2.4rem; }
.filters button { border: 0; background: #fff; color: var(--forest); padding: .6rem 1.4rem; border-radius: 99px; cursor: pointer; transition: all .3s var(--ease); font-weight: 500; }
.filters button:hover { background: var(--sand-2); }
.filters button.is-active { background: var(--leaf); color: #fff; }
.masonry { columns: 4 240px; column-gap: 1rem; }
.masonry a { display: block; margin-bottom: 1rem; border-radius: 16px; overflow: hidden; break-inside: avoid; position: relative; animation: pop .6s var(--ease) both; }
.masonry img { width: 100%; height: auto; transition: transform .8s var(--ease), filter .5s; }
.masonry a:hover img { transform: scale(1.06); filter: brightness(1.06); }
.masonry a::after { content: "⤢"; position: absolute; right: .7rem; top: .7rem; width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,.9); color: var(--forest); display: grid; place-items: center; opacity: 0; transform: scale(.7); transition: all .35s var(--ease); }
.masonry a:hover::after { opacity: 1; transform: none; }
@keyframes pop { from { opacity: 0; transform: translateY(20px) scale(.97); } }
.gallery__more { text-align: center; margin-top: 2rem; }
.gallery__more[hidden] { display: none; }

/* ---------- Reviews ---------- */
.reviews { color: #fff; overflow: hidden; }
.reviews__bg { position: absolute; inset: 0; background-size: cover; background-position: center; background-attachment: fixed; }
.reviews__bg::after { content: ""; position: absolute; inset: 0; background: rgba(18, 36, 27, .72); }
.reviews .container { position: relative; }
.rev__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.rev { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); backdrop-filter: blur(10px); border-radius: var(--r); padding: 2rem; display: flex; flex-direction: column; transition: transform .45s var(--ease), background .45s; }
.rev:hover { transform: translateY(-6px); background: rgba(255,255,255,.16); }
.rev__stars { color: #f3c969; letter-spacing: .15em; margin-bottom: .9rem; }
.rev p { flex: 1; font-size: .98rem; opacity: .95; }
.rev cite { font-style: normal; margin-top: 1.2rem; color: var(--moss); font-size: .9rem; }

/* ---------- Direction ---------- */
.direction__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2.5rem, 5vw, 4.5rem); align-items: start; }
.steps { margin-top: 1rem; position: relative; }
.steps::before { content: ""; position: absolute; left: 21px; top: 20px; bottom: 20px; width: 2px; background: repeating-linear-gradient(var(--leaf-2) 0 6px, transparent 6px 12px); }
.step { display: flex; gap: 1.2rem; margin-bottom: 1.6rem; position: relative; }
.step__no { flex: none; width: 44px; height: 44px; border-radius: 50%; background: var(--leaf); color: #fff; display: grid; place-items: center; font-family: var(--f-head); font-weight: 600; box-shadow: 0 0 0 6px var(--sand); }
.step h4 { font-family: var(--f-head); color: var(--forest); font-size: 1.1rem; margin-bottom: .2rem; }
.step p { color: var(--muted); font-size: .96rem; }
.step a { color: var(--leaf); font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }
.note { background: rgba(94,139,82,.12); color: var(--forest); padding: 1rem 1.3rem; border-radius: 14px; font-weight: 500; }
.map-frame { border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 16 / 11; background: var(--sand-2); }
.map-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.map-thumbs { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 1rem; }
.map-thumbs a { position: relative; border-radius: 16px; overflow: hidden; }
.map-thumbs img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform .7s var(--ease); }
.map-thumbs a:hover img { transform: scale(1.06); }
.map-thumbs span { position: absolute; left: .7rem; bottom: .7rem; background: rgba(255,255,255,.92); color: var(--forest); padding: .2rem .8rem; border-radius: 99px; font-size: .82rem; font-weight: 500; }

/* ---------- Contact ---------- */
.contact { padding-top: 0; }
.contact__card { display: grid; grid-template-columns: 1.1fr 1fr; border-radius: 32px; overflow: hidden; box-shadow: var(--shadow); }
.contact__left { background: linear-gradient(140deg, var(--forest), var(--river)); color: #fff; padding: clamp(2rem, 5vw, 3.5rem); }
.contact__left .title { color: #fff; }
.contact__left .title span { color: var(--moss); }
.contact__left > p { opacity: .88; }
.contact__list { list-style: none; margin-top: 2rem; display: grid; gap: 1.1rem; }
.contact__list li { display: flex; gap: 1rem; align-items: center; }
.contact__list .ic { flex: none; width: 46px; height: 46px; border-radius: 14px; background: rgba(255,255,255,.14); display: grid; place-items: center; font-size: 1.2rem; }
.contact__list small { display: block; opacity: .7; font-size: .8rem; }
.contact__list a:hover { color: var(--moss); }
.contact__right { background: #fff; padding: clamp(2rem, 5vw, 3.5rem); display: flex; flex-direction: column; justify-content: center; }
.contact__right h3 { font-family: var(--f-head); color: var(--forest); font-size: 1.6rem; }
.contact__right > p { color: var(--muted); margin-bottom: 1.4rem; }
.booking-widget { min-height: 60px; margin-bottom: 1.4rem; overflow-x: auto; }
.contact__btns { display: flex; gap: .8rem; flex-wrap: wrap; }
.contact__btns .btn { flex: 1; }

/* ---------- Footer ---------- */
.footer { background: #142219; color: rgba(255,255,255,.8); padding: 3.5rem 0 1.5rem; }
.footer__inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; padding-bottom: 2.2rem; border-bottom: 1px solid rgba(255,255,255,.08); }
.footer__brand { display: flex; align-items: center; gap: 1.2rem; }
.footer__brand img { height: 64px; width: auto; }
.footer__brand p { font-size: .9rem; }
.footer__nav { display: flex; gap: 1.6rem; flex-wrap: wrap; }
.footer__nav a:hover { color: var(--moss); }
.footer__social { display: flex; gap: .7rem; }
.footer__social a { width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,.08); display: grid; place-items: center; transition: all .3s var(--ease); }
.footer__social a:hover { background: var(--leaf); transform: translateY(-3px); }
.footer__social svg { width: 20px; height: 20px; fill: #fff; }
.footer__bottom { padding-top: 1.4rem; font-size: .82rem; text-align: center; opacity: .6; }

/* ---------- FAB ---------- */
.fab { display: none; position: fixed; right: 1.1rem; bottom: 1.1rem; z-index: 90; width: 58px; height: 58px; border-radius: 50%; background: var(--leaf); color: #fff; font-size: 1.5rem; place-items: center; box-shadow: 0 10px 24px -8px rgba(0,0,0,.45); animation: ring 2.6s infinite; }
@keyframes ring { 0%, 100% { box-shadow: 0 0 0 0 rgba(94,139,82,.55); } 60% { box-shadow: 0 0 0 16px rgba(94,139,82,0); } }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(10, 18, 13, .94); display: grid; place-items: center; opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s; }
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox img { max-width: 92vw; max-height: 86vh; border-radius: 12px; box-shadow: 0 30px 80px rgba(0,0,0,.5); }
.lightbox button { position: absolute; border: 0; background: rgba(255,255,255,.12); color: #fff; cursor: pointer; border-radius: 50%; width: 52px; height: 52px; font-size: 2rem; line-height: 1; transition: background .3s; }
.lightbox button:hover { background: var(--leaf); }
.lightbox__close { top: 1.2rem; right: 1.2rem; }
.lightbox__prev { left: 1.2rem; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 1.2rem; top: 50%; transform: translateY(-50%); }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .rooms__grid { grid-template-columns: repeat(2, 1fr); }
  .amenities ul { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .burger { display: block; }
  .nav { position: fixed; inset: 0; background: var(--forest); color: #fff !important; flex-direction: column; justify-content: center; gap: 1.6rem; font-size: 1.3rem; opacity: 0; visibility: hidden; transition: opacity .4s, visibility .4s; }
  .nav.is-open { opacity: 1; visibility: visible; }
  .about__intro, .direction__grid, .contact__card { grid-template-columns: 1fr; }
  .about__media { max-width: 520px; margin: 0 auto; }
  .highlights, .rev__grid { grid-template-columns: 1fr; }
  .acts { grid-template-columns: 1fr; }
  .amenities { grid-template-columns: 1fr; }
  .reviews__bg { background-attachment: scroll; }
  .fab { display: grid; }
}
@media (max-width: 600px) {
  .rooms__grid { grid-template-columns: 1fr; }
  .amenities ul { grid-template-columns: 1fr 1fr; }
  .act { min-height: 340px; }
  .about__stamp { width: 90px; height: 90px; font-size: .95rem; right: 0; }
  .about__media { padding: 0 0 2.5rem 1.5rem; }
  .masonry { columns: 2; column-gap: .6rem; }
  .masonry a { margin-bottom: .6rem; border-radius: 12px; }
  .footer__inner, .footer__brand { flex-direction: column; text-align: center; }
  .hero__scroll { display: none; }
  .logo img { height: 52px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Language switcher (TH / EN) ---------- */
.header__tools { display: flex; align-items: center; gap: .8rem; margin-left: 1.4rem; position: relative; z-index: 120; }
.lang { display: inline-flex; padding: 3px; border-radius: 99px; background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.35); backdrop-filter: blur(6px); }
.lang button { border: 0; background: transparent; color: #fff; font-size: .8rem; font-weight: 600; letter-spacing: .05em; padding: .35rem .75rem; border-radius: 99px; cursor: pointer; transition: all .3s var(--ease); }
.lang button.is-active { background: #fff; color: var(--forest); }
.header.is-scrolled .lang { background: rgba(31,58,44,.06); border-color: var(--line); }
.header.is-scrolled .lang button { color: var(--forest); }
.header.is-scrolled .lang button.is-active { background: var(--forest); color: #fff; }
body.is-locked .lang { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.3); }
body.is-locked .lang button { color: #fff; }
body.is-locked .lang button.is-active { background: #fff; color: var(--forest); }

/* ---------- English typography ---------- */
html[lang="en"] { --f-head: "Lora", "Noto Serif Thai", serif; }
html[lang="en"] .hero__title { font-size: clamp(2.6rem, 6.8vw, 5.4rem); line-height: 1.1; }
html[lang="en"] .title { line-height: 1.25; }
html[lang="en"] .tag { letter-spacing: .12em; text-transform: uppercase; font-size: .75rem; }

@media (max-width: 1100px) { .nav { gap: 1.4rem; } .header__tools { margin-left: .8rem; } }
@media (max-width: 900px) { .header__tools { margin-left: 0; } }

/* เมนูมือถือ: backdrop-filter ทำให้ nav (position:fixed) ถูกจำกัดอยู่ในกรอบ header จึงต้องปิดตอนเปิดเมนู */
body.is-locked .header,
body.is-locked .header.is-scrolled { backdrop-filter: none; -webkit-backdrop-filter: none; background: transparent; box-shadow: none; }
body.is-locked .header .lang { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.3); }
body.is-locked .header .lang button { color: #fff; }
body.is-locked .header .lang button.is-active { background: #fff; color: var(--forest); }
body.is-locked .header .burger { background: rgba(255,255,255,.14); }
