:root {
  --paper: #fbfaf7;
  --surface: #ffffff;
  --ink: #22262b;
  --muted: #667070;
  --line: #e4e0d8;
  --green: #275246;
  --green-dark: #15372f;
  --gold: #c78a2f;
  --blue: #dcecf4;
  --shadow: 0 18px 45px rgba(27, 31, 35, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Noto Sans Thai", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
  overflow-x: hidden;
}

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

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 20;
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px clamp(18px, 5vw, 64px);
  color: #fff;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.58), rgba(0, 0, 0, 0));
}

.brand {
  font-size: 1rem;
  font-weight: 800;
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(12px, 3vw, 30px);
  font-size: 0.95rem;
  font-weight: 600;
}

nav a {
  opacity: 0.88;
}

nav a:hover {
  opacity: 1;
}

.hero {
  position: relative;
  min-height: 88vh;
  overflow: hidden;
  color: #fff;
}

.hero > img {
  position: absolute;
  inset: 0;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(9, 23, 21, 0.82), rgba(9, 23, 21, 0.32) 48%, rgba(9, 23, 21, 0.05)),
    linear-gradient(0deg, rgba(9, 23, 21, 0.45), rgba(9, 23, 21, 0));
}

.hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  max-width: 780px;
  min-height: 88vh;
  align-content: center;
  padding: 110px clamp(20px, 7vw, 96px) 92px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 0.9rem;
  font-weight: 800;
}

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

h1 {
  max-width: 650px;
  margin-bottom: 16px;
  font-size: clamp(2.45rem, 8vw, 5.5rem);
  line-height: 1.04;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(1.75rem, 4vw, 3rem);
  line-height: 1.18;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.35rem;
  line-height: 1.25;
}

.hero-copy {
  max-width: 610px;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  overflow-wrap: anywhere;
  word-break: break-word;
}

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

.button,
.share-button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 12px 20px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.button.primary {
  background: var(--gold);
  color: #141414;
}

.button.secondary {
  border-color: rgba(255, 255, 255, 0.55);
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
}

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

.quick-facts article {
  min-height: 118px;
  padding: 26px clamp(18px, 4vw, 44px);
  background: var(--surface);
}

.quick-facts span,
.contact-box span,
.plan-label {
  display: block;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 700;
}

.quick-facts strong {
  display: block;
  margin-top: 6px;
  color: var(--green);
  font-size: clamp(1.25rem, 3vw, 2rem);
  line-height: 1.2;
}

.section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 1.1fr);
  gap: clamp(28px, 6vw, 84px);
  align-items: start;
  padding: clamp(58px, 9vw, 112px) clamp(20px, 7vw, 96px);
}

.section-text {
  max-width: 620px;
}

.section-text p:not(.eyebrow),
.section-heading + p,
.plan-card p,
.cta p {
  color: var(--muted);
}

.intro {
  background: var(--paper);
}

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

.feature-list span,
.nearby-grid span {
  min-height: 58px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 15px 16px;
  background: var(--surface);
  font-weight: 700;
}

.section-heading {
  max-width: 520px;
}

.plans {
  display: grid;
  gap: 18px;
}

.plan-card {
  display: flex;
  min-height: 210px;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: clamp(22px, 4vw, 34px);
  background: var(--surface);
  box-shadow: 0 10px 26px rgba(33, 37, 41, 0.06);
}

.plan-card.highlight {
  border-color: rgba(199, 138, 47, 0.55);
  background: linear-gradient(135deg, #fff, #fff8ed);
}

.plan-card strong {
  color: var(--green);
  font-size: clamp(1.35rem, 3vw, 2rem);
  line-height: 1.2;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  padding: 0 clamp(20px, 7vw, 96px) clamp(58px, 9vw, 112px);
}

figure {
  position: relative;
  min-height: 250px;
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  background: var(--blue);
}

.gallery-main {
  grid-column: span 2;
  grid-row: span 2;
}

figure img {
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

figure:hover img {
  transform: scale(1.035);
}

figcaption {
  position: absolute;
  right: 12px;
  bottom: 12px;
  left: 12px;
  border-radius: 8px;
  padding: 10px 12px;
  color: #fff;
  background: rgba(11, 20, 18, 0.72);
  font-size: 0.93rem;
  font-weight: 700;
}

.location {
  background: #eef5f3;
}

.text-link {
  display: inline-flex;
  margin-top: 8px;
  color: var(--green);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  margin: clamp(20px, 7vw, 96px);
  border-radius: 8px;
  padding: clamp(28px, 5vw, 52px);
  color: #fff;
  background: var(--green-dark);
  box-shadow: var(--shadow);
}

.cta .eyebrow,
.cta p {
  color: rgba(255, 255, 255, 0.76);
}

.cta h2 {
  max-width: 760px;
}

.contact-box {
  width: min(100%, 330px);
  flex-direction: column;
  border-radius: 8px;
  padding: 22px;
  color: var(--ink);
  background: #fff;
}

.phone-number {
  display: block;
  color: var(--green);
  font-size: 1.65rem;
  font-weight: 800;
  line-height: 1.2;
}

.share-button {
  width: 100%;
  background: var(--gold);
  color: #141414;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(20px, 7vw, 96px);
  color: var(--muted);
  font-size: 0.95rem;
}

.footer-phone {
  color: var(--green);
  font-weight: 800;
}

@media (max-width: 860px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
    padding-top: 14px;
  }

  nav {
    width: 100%;
    justify-content: flex-start;
    column-gap: 22px;
    row-gap: 4px;
  }

  .hero,
  .hero-content {
    min-height: 82vh;
  }

  .hero-overlay {
    background:
      linear-gradient(0deg, rgba(8, 22, 20, 0.86), rgba(8, 22, 20, 0.18)),
      linear-gradient(90deg, rgba(8, 22, 20, 0.62), rgba(8, 22, 20, 0.08));
  }

  .hero-content {
    align-content: end;
    padding-top: 130px;
    padding-bottom: 54px;
  }

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

  .section,
  .cta {
    grid-template-columns: 1fr;
  }

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

  .gallery-main {
    grid-column: span 2;
  }

  .cta {
    margin-inline: 20px;
  }

  .contact-box {
    width: 100%;
  }
}

@media (max-width: 560px) {
  .button {
    width: 100%;
  }

  .quick-facts,
  .feature-list,
  .nearby-grid,
  .gallery {
    grid-template-columns: 1fr;
  }

  .gallery-main {
    grid-column: span 1;
  }

  figure {
    min-height: 230px;
  }

  footer {
    flex-direction: column;
  }
}
