:root {
  --sand: #fff8e9;
  --sun: #ffd166;
  --sun-dark: #f4a340;
  --aqua: #18a7a0;
  --aqua-dark: #0c746f;
  --leaf: #39735f;
  --leaf-soft: #e4f4de;
  --wood: #a96f3d;
  --ink: #26443c;
  --muted: #6d8079;
  --paper: #ffffff;
  --line: rgba(38, 68, 60, 0.14);
  --shadow: 0 24px 80px rgba(24, 121, 116, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 10% 8%, rgba(255, 209, 102, 0.28), transparent 28%),
    linear-gradient(180deg, #fff8e9 0%, #f3fbf7 100%);
  color: var(--ink);
  font-family: "Noto Sans Thai", system-ui, sans-serif;
  line-height: 1.7;
}

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

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

[v-cloak] {
  display: none;
}

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

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  letter-spacing: 0;
}

h1 {
  margin-bottom: 22px;
  font-size: clamp(2.45rem, 5vw, 5.6rem);
  line-height: 1.05;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(1.9rem, 3.2vw, 3.35rem);
  line-height: 1.16;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.34rem;
  line-height: 1.32;
}

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

.section {
  padding: clamp(72px, 9vw, 122px) 0;
  scroll-margin-top: 96px;
}

.site-header {
  position: fixed;
  inset: 16px clamp(16px, 4vw, 56px) auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  min-height: 74px;
  padding: 10px 14px 10px 16px;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 8px;
  background: rgba(255, 248, 233, 0.88);
  box-shadow: 0 18px 60px rgba(38, 68, 60, 0.12);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  width: 220px;
}

.brand img {
  width: 100%;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.4vw, 30px);
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 800;
}

.site-nav a {
  transition: color 0.2s ease, background 0.2s ease;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--aqua-dark);
}

.nav-cta {
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--aqua);
  color: #fff !important;
  box-shadow: 0 12px 26px rgba(24, 167, 160, 0.24);
}

.nav-toggle {
  display: none;
  position: relative;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--paper);
  box-shadow: 0 10px 24px rgba(38, 68, 60, 0.1);
  cursor: pointer;
}

.nav-toggle::before,
.nav-toggle::after {
  content: "";
  position: absolute;
  left: 50%;
  width: 19px;
  height: 2px;
  border-radius: 999px;
  background: var(--ink);
  transition: transform 0.2s ease, opacity 0.2s ease;
  transform: translateX(-50%);
}

.nav-toggle::before {
  top: 17px;
}

.nav-toggle::after {
  bottom: 17px;
}

.nav-toggle[aria-expanded="true"]::before {
  transform: translateX(-50%) translateY(5px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"]::after {
  transform: translateX(-50%) translateY(-5px) rotate(-45deg);
}

.promo-hero {
  position: relative;
  min-height: clamp(460px, 62vh, 640px);
  padding: calc(74px + 44px) 20px 38px;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: #fff;
  background-image:
    linear-gradient(180deg, rgba(14, 68, 63, 0.2) 0%, rgba(14, 68, 63, 0.08) 56%, rgba(14, 68, 63, 0.34) 100%),
    url("../images/bg/bg_green.webp");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.promo-hero.theme-red {
  background-image:
    linear-gradient(180deg, rgba(14, 68, 63, 0.2) 0%, rgba(14, 68, 63, 0.08) 56%, rgba(14, 68, 63, 0.34) 100%),
    url("../images/bg/bg_red.webp");
}

.promo-hero.theme-blue {
  background-image:
    linear-gradient(180deg, rgba(14, 68, 63, 0.2) 0%, rgba(14, 68, 63, 0.08) 56%, rgba(14, 68, 63, 0.34) 100%),
    url("../images/bg/bg_blue.webp");
}

.promo-hero.theme-green {
  background-image:
    linear-gradient(180deg, rgba(14, 68, 63, 0.2) 0%, rgba(14, 68, 63, 0.08) 56%, rgba(14, 68, 63, 0.34) 100%),
    url("../images/bg/bg_green.webp");
}

.promo-hero.theme-yellow {
  background-image:
    linear-gradient(180deg, rgba(14, 68, 63, 0.2) 0%, rgba(14, 68, 63, 0.08) 56%, rgba(14, 68, 63, 0.34) 100%),
    url("../images/bg/bg_yellow.webp");
}

.promo-hero.theme-orange {
  background-image:
    linear-gradient(180deg, rgba(14, 68, 63, 0.2) 0%, rgba(14, 68, 63, 0.08) 56%, rgba(14, 68, 63, 0.34) 100%),
    url("../images/bg/bg_orange.webp");
}

.promo-hero.theme-purple {
  background-image:
    linear-gradient(180deg, rgba(14, 68, 63, 0.2) 0%, rgba(14, 68, 63, 0.08) 56%, rgba(14, 68, 63, 0.34) 100%),
    url("../images/bg/bg_purple.webp");
}

.promo-hero.theme-pink {
  background-image:
    linear-gradient(180deg, rgba(14, 68, 63, 0.2) 0%, rgba(14, 68, 63, 0.08) 56%, rgba(14, 68, 63, 0.34) 100%),
    url("../images/bg/bg_pink.webp");
}

.promo-hero.theme-white {
  background-image:
    linear-gradient(180deg, rgba(14, 68, 63, 0.2) 0%, rgba(14, 68, 63, 0.08) 56%, rgba(14, 68, 63, 0.34) 100%),
    url("../images/bg/bg_white.webp");
}

.promo-hero.theme-black {
  background-image:
    linear-gradient(180deg, rgba(14, 68, 63, 0.2) 0%, rgba(14, 68, 63, 0.08) 56%, rgba(14, 68, 63, 0.34) 100%),
    url("../images/bg/bg_black.webp");
}

.hero-app {
  display: contents;
}

.promo-inner {
  position: relative;
  z-index: 1;
  width: min(980px, 100%);
  margin: 0 auto;
  display: grid;
  justify-items: center;
  text-align: center;
}

.promo-logo {
  width: clamp(96px, 13vw, 150px);
  height: auto;
  margin-bottom: 24px;
  filter: drop-shadow(0 16px 24px rgba(0, 0, 0, 0.28));
}

.promo-copy {
  max-width: 680px;
}

.promo-copy h1 {
  margin-bottom: 14px;
  color: #fff;
  font-size: clamp(2rem, 4vw, 4.25rem);
  text-transform: uppercase;
  text-shadow: 0 8px 28px rgba(0, 0, 0, 0.28);
}

.promo-copy h2 {
  margin-bottom: 12px;
  color: #fff;
  font-size: clamp(1.1rem, 2vw, 1.55rem);
  line-height: 1.35;
  text-shadow: 0 6px 22px rgba(0, 0, 0, 0.28);
}

.promo-copy p {
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.94);
  font-size: clamp(1rem, 2vw, 1.28rem);
  font-weight: 800;
  line-height: 1.7;
  text-shadow: 0 5px 18px rgba(0, 0, 0, 0.3);
}

.promo-actions {
  width: min(920px, 100%);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.promo-button {
  min-height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 24px;
  border: 2px solid rgba(255, 255, 255, 0.92);
  border-radius: 999px;
  color: #fff;
  font-weight: 900;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.promo-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.38);
}

.promo-button.signup {
  background: var(--aqua);
}

.promo-button.admin {
  background: #3ddb06;
}

.eyebrow {
  margin-bottom: 10px;
  color: var(--aqua-dark);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border: 0;
  border-radius: 999px;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.button.primary {
  background: var(--aqua);
  color: #fff;
  box-shadow: 0 16px 34px rgba(24, 167, 160, 0.26);
}

.button.secondary {
  border: 1px solid rgba(24, 167, 160, 0.25);
  background: rgba(255, 255, 255, 0.72);
  color: var(--aqua-dark);
}

.intro-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: min(1140px, calc(100% - 40px));
  margin: -74px auto 0;
  margin-top: 24rem;
  position: relative;
  z-index: 2;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.intro-band article {
  min-height: 178px;
  padding: 28px;
  border-right: 1px solid var(--line);
}

.intro-band article:last-child {
  border-right: 0;
}

.intro-band span {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--sun-dark);
  font-weight: 900;
}

.intro-band strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.18rem;
}

.intro-band p,
.section-heading p,
.about p,
.room-panel p,
.facility-grid p,
.location p,
.booking p {
  color: var(--muted);
}

.two-column,
.location-layout,
.booking-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(340px, 1.08fr);
  align-items: center;
  gap: clamp(34px, 6vw, 78px);
}

.about-card,
.room-layout,
.facility-grid article,
.booking-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow);
}

.about-card {
  overflow: hidden;
}

.about-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.about-card div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 22px;
}

.about-card strong {
  color: var(--aqua-dark);
  font-size: 1.14rem;
}

.about-card span {
  color: var(--muted);
  font-weight: 700;
}

.rooms,
.gallery,
.booking {
  background: linear-gradient(180deg, rgba(228, 244, 222, 0.74), rgba(255, 248, 233, 0.9));
}

.section-heading {
  width: min(720px, 100%);
  margin: 0 auto 38px;
  text-align: center;
}

.section-heading.align-left {
  margin-inline: 0;
  text-align: left;
}

.room-layout {
  display: grid;
  grid-template-columns: minmax(320px, 1fr) minmax(0, 0.92fr);
  overflow: hidden;
}

.room-layout > img {
  width: 100%;
  height: 100%;
  min-height: 500px;
  object-fit: cover;
}

.room-panel {
  display: grid;
  align-content: center;
  padding: clamp(28px, 5vw, 58px);
}

.tag {
  margin-bottom: 8px;
  color: var(--sun-dark) !important;
  font-size: 0.8rem;
  font-weight: 900;
  text-transform: uppercase;
}

.check-list,
.contact-list {
  display: grid;
  gap: 10px;
  margin: 24px 0;
  padding: 0;
  list-style: none;
}

.check-list li,
.contact-list li {
  position: relative;
  padding-left: 28px;
  color: var(--muted);
  font-weight: 700;
}

.check-list li::before,
.contact-list li::before {
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--aqua);
  content: "";
}

.facility-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr 0.9fr;
  gap: 18px;
}

.facility-grid article {
  overflow: hidden;
  padding: 26px;
}

.facility-grid article:first-child {
  grid-row: span 2;
  padding: 0;
}

.facility-grid article:first-child img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.facility-grid article:first-child div {
  padding: 26px;
}

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

.gallery-grid img {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 14px 34px rgba(38, 68, 60, 0.1);
}

.gallery-grid img:nth-child(1),
.gallery-grid img:nth-child(8) {
  aspect-ratio: 2 / 1;
  grid-column: span 2;
}

.location {
  background: var(--aqua-dark);
  color: #fff;
}

.location .eyebrow {
  color: var(--sun);
}

.location p,
.location .contact-list li {
  color: rgba(255, 255, 255, 0.78);
}

.location .contact-list li::before {
  background: var(--sun);
}

.location a {
  color: #fff;
}

.map-wrap {
  overflow: hidden;
  min-height: 430px;
  border: 12px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: #0b5d58;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.2);
}

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

.booking-panel {
  align-items: start;
  padding: clamp(28px, 5vw, 58px);
}

.booking-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.booking-form label {
  display: grid;
  gap: 8px;
  color: var(--aqua-dark);
  font-size: 0.92rem;
  font-weight: 900;
}

.booking-form input,
.booking-form select,
.booking-form textarea {
  width: 100%;
  min-height: 50px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffdf8;
  color: var(--ink);
  font: inherit;
}

.booking-form textarea {
  padding-block: 12px;
  resize: vertical;
}

.booking-form .full,
.booking-form button,
.form-note {
  grid-column: 1 / -1;
}

.form-note {
  min-height: 24px;
  margin: 0;
  color: var(--aqua-dark) !important;
  font-weight: 900;
}

.site-footer {
  padding: 34px 0;
  background: var(--ink);
  color: rgba(255, 255, 255, 0.72);
}

.footer-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.footer-grid img {
  width: 190px;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: #fff;
  font-weight: 900;
}

@media (max-width: 940px) {
  .site-header {
    inset: 10px 12px auto;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: fixed;
    top: 94px;
    right: 12px;
    left: 12px;
    display: grid;
    gap: 0;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--paper);
    box-shadow: var(--shadow);
    transform: translateY(-18px);
    opacity: 0;
    pointer-events: none;
    transition: 0.2s ease;
  }

  .site-nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

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

  .nav-cta {
    text-align: center;
  }

  .promo-hero {
    min-height: 520px;
    padding-top: calc(94px + 28px);
  }

  .promo-actions {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .promo-button {
    min-height: 54px;
  }

  .intro-band,
  .two-column,
  .room-layout,
  .facility-grid,
  .location-layout,
  .booking-panel,
  .booking-form {
    grid-template-columns: 1fr;
  }

  .intro-band article {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .intro-band article:last-child {
    border-bottom: 0;
  }

  .room-layout > img {
    min-height: 360px;
  }

  .facility-grid article:first-child {
    grid-row: auto;
  }

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

@media (max-width: 560px) {
  .container,
  .intro-band {
    width: min(100% - 28px, 1140px);
  }

  .brand {
    width: 178px;
  }

  h1 {
    font-size: 2.35rem;
  }

  .promo-hero {
    min-height: 500px;
    padding-right: 14px;
    padding-left: 14px;
  }

  .promo-copy p {
    margin-bottom: 22px;
  }

  .section {
    padding: 62px 0;
  }

  .intro-band {
    margin-top: 24rem;
  }

  .about-card div,
  .footer-grid {
    align-items: flex-start;
    flex-direction: column;
  }

  .gallery-grid {
    gap: 10px;
  }

  .gallery-grid img:nth-child(1),
  .gallery-grid img:nth-child(8) {
    grid-column: span 2;
  }

  .map-wrap,
  .map-wrap iframe {
    min-height: 340px;
    height: 340px;
  }
}
