:root {
  --ink: #1a2e2b;
  --ink-soft: #3d5651;
  --paper: #f3f6f4;
  --paper-deep: #e4ebe7;
  --teal: #1e4d48;
  --teal-mid: #2f6b64;
  --teal-soft: #7aa39c;
  --gold: #b8924a;
  --gold-soft: #d4b87a;
  --line: rgba(30, 77, 72, 0.14);
  --white: #ffffff;
  --danger: #9b3a2f;
  --ok: #1e5c45;
  --radius: 4px;
  --font-display: "Fraunces", "Sarabun", serif;
  --font-body: "Sarabun", "Noto Sans Thai", sans-serif;
  --shadow-soft: 0 18px 40px rgba(26, 46, 43, 0.08);
  --header-h: 4.25rem;
  --max: 72rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink);
  background:
    radial-gradient(ellipse 80% 50% at 100% 0%, rgba(184, 146, 74, 0.12), transparent 55%),
    radial-gradient(ellipse 60% 40% at 0% 20%, rgba(47, 107, 100, 0.1), transparent 50%),
    linear-gradient(180deg, var(--paper) 0%, #eef3f0 40%, var(--paper) 100%);
  min-height: 100vh;
}

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

a {
  color: var(--teal-mid);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--teal);
}

h1,
h2,
h3,
.brand-name {
  font-family: var(--font-display);
  font-weight: 560;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--ink);
}

h1 {
  font-size: clamp(2.1rem, 4.5vw, 3.4rem);
  margin: 0 0 0.6em;
}

h2 {
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  margin: 0 0 0.55em;
}

h3 {
  font-size: 1.25rem;
  margin: 0 0 0.4em;
}

p {
  margin: 0 0 1em;
}

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

.inline-error {
  background: #f8e8e5;
  color: var(--danger);
  padding: 0.75rem 1.25rem;
  text-align: center;
  font-size: 0.95rem;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(243, 246, 244, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.85rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: inherit;
}

.brand-mark {
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 8px;
  background:
    linear-gradient(145deg, var(--teal) 0%, var(--teal-mid) 55%, var(--gold) 100%);
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.2);
  flex-shrink: 0;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-name {
  font-size: 1.15rem;
  letter-spacing: -0.01em;
}

.brand-sub {
  font-size: 0.72rem;
  color: var(--ink-soft);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-family: var(--font-body);
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.55rem 0.65rem;
  cursor: pointer;
}

.nav-toggle-bar {
  display: block;
  width: 1.35rem;
  height: 2px;
  background: var(--ink);
  margin: 0.28rem 0;
}

.nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.15rem 1rem;
  align-items: center;
}

.nav-list a {
  text-decoration: none;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.nav-list a:hover {
  color: var(--teal);
}

.nav-cta {
  background: var(--teal);
  color: var(--white) !important;
  padding: 0.45rem 0.9rem;
  border-radius: var(--radius);
}

.nav-cta:hover {
  background: var(--teal-mid);
  color: var(--white) !important;
}

@media (max-width: 960px) {
  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
  }

  .site-nav.is-open {
    max-height: 28rem;
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    padding: 0.75rem 1.25rem 1.25rem;
    gap: 0.35rem;
  }

  .nav-cta {
    text-align: center;
    margin-top: 0.35rem;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 0.75rem 1.35rem;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--teal);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--teal-mid);
  color: var(--white);
}

.btn-ghost {
  background: transparent;
  border-color: var(--teal-soft);
  color: var(--teal);
}

.btn-ghost:hover {
  border-color: var(--teal);
  color: var(--teal);
}

.btn-gold {
  background: var(--gold);
  color: var(--ink);
}

.btn-gold:hover {
  background: var(--gold-soft);
  color: var(--ink);
}

/* Layout */
.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.section {
  padding: 4.5rem 0;
}

.section-tight {
  padding: 3rem 0;
}

.lede {
  font-size: 1.125rem;
  color: var(--ink-soft);
  max-width: 38rem;
}

.eyebrow {
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
  font-weight: 600;
}

/* Hero — full bleed */
.hero {
  position: relative;
  min-height: min(92vh, 44rem);
  display: grid;
  align-items: end;
  color: var(--white);
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: heroDrift 28s ease-in-out infinite alternate;
}

.hero-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(20, 45, 42, 0.88) 0%, rgba(20, 45, 42, 0.55) 48%, rgba(20, 45, 42, 0.35) 100%),
    linear-gradient(0deg, rgba(20, 45, 42, 0.55) 0%, transparent 45%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--max);
  margin: 0 auto;
  padding: 5.5rem 1.25rem 3.5rem;
  width: 100%;
}

.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  margin: 0 0 0.35em;
  color: var(--white);
  animation: fadeUp 0.9s ease both;
}

.hero h1 {
  color: var(--white);
  font-size: clamp(1.45rem, 2.8vw, 2rem);
  font-weight: 500;
  max-width: 28rem;
  animation: fadeUp 0.9s ease 0.12s both;
}

.hero .hero-support {
  color: rgba(255, 255, 255, 0.88);
  max-width: 28rem;
  font-size: 1.05rem;
  animation: fadeUp 0.9s ease 0.22s both;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
  animation: fadeUp 0.9s ease 0.32s both;
}

.hero .btn-primary {
  background: var(--gold);
  color: var(--ink);
}

.hero .btn-primary:hover {
  background: var(--gold-soft);
}

.hero .btn-ghost {
  border-color: rgba(255, 255, 255, 0.55);
  color: var(--white);
}

.hero .btn-ghost:hover {
  border-color: var(--white);
  color: var(--white);
}

@keyframes heroDrift {
  from {
    transform: scale(1.05) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.12) translate3d(-1.5%, -1%, 0);
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(1.1rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

[data-reveal] {
  opacity: 0;
  transform: translateY(1.25rem);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Split / prose blocks */
.split {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 860px) {
  .split {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 3.5rem;
  }

  .split.reverse {
    grid-template-columns: 0.95fr 1.05fr;
  }

  .split.reverse .split-media {
    order: -1;
  }
}

.split-media {
  position: relative;
}

.split-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 2px;
}

.split-media::after {
  content: "";
  position: absolute;
  inset: 1rem -0.75rem -0.75rem 1rem;
  border: 1px solid var(--gold-soft);
  z-index: -1;
  pointer-events: none;
}

.prose-list {
  list-style: none;
  padding: 0;
  margin: 1.25rem 0 0;
}

.prose-list li {
  position: relative;
  padding-left: 1.35rem;
  margin-bottom: 0.65rem;
  color: var(--ink-soft);
}

.prose-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 0.55rem;
  height: 0.55rem;
  background: var(--gold);
  border-radius: 1px;
}

/* Offer preview — not cards in hero; interaction-adjacent listing */
.offer-rail {
  display: grid;
  gap: 1.75rem;
}

@media (min-width: 760px) {
  .offer-rail {
    grid-template-columns: repeat(3, 1fr);
  }
}

.offer-item {
  border-top: 2px solid var(--teal);
  padding-top: 1.25rem;
}

.offer-item img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  margin-bottom: 1rem;
}

.offer-item h3 a {
  text-decoration: none;
  color: var(--ink);
}

.offer-item p {
  color: var(--ink-soft);
  font-size: 0.98rem;
}

/* Quote / evidence */
.quote-block {
  max-width: 40rem;
  margin: 0 auto;
  text-align: center;
  padding: 2rem 0;
}

.quote-block blockquote {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.5vw, 1.85rem);
  font-weight: 500;
  line-height: 1.45;
  color: var(--teal);
}

.quote-block cite {
  display: block;
  margin-top: 1.25rem;
  font-style: normal;
  font-size: 0.95rem;
  color: var(--ink-soft);
}

.band {
  background: linear-gradient(135deg, var(--teal) 0%, #163d39 100%);
  color: var(--white);
}

.band h2,
.band p {
  color: var(--white);
}

.band .lede {
  color: rgba(255, 255, 255, 0.85);
}

.band a:not(.btn) {
  color: var(--gold-soft);
}

/* Page hero (inner) */
.page-hero {
  padding: 3.5rem 0 2rem;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(30, 77, 72, 0.06), transparent),
    url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%231e4d48' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.page-hero .lede {
  margin-bottom: 0;
}

.page-hero-media {
  margin-top: 2rem;
}

.page-hero-media img {
  width: 100%;
  max-height: 22rem;
  object-fit: cover;
}

/* Pricing rows */
.rate-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
}

.rate-table th,
.rate-table td {
  text-align: left;
  padding: 1rem 0.75rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.rate-table th {
  font-family: var(--font-display);
  font-weight: 560;
  color: var(--teal);
}

.rate-note {
  font-size: 0.95rem;
  color: var(--ink-soft);
}

/* Reviews */
.review-list {
  display: grid;
  gap: 2rem;
}

.review-item {
  padding: 0;
  border: none;
  background: transparent;
}

.review-item + .review-item {
  border-top: 1px solid var(--line);
  padding-top: 2rem;
}

.review-meta {
  font-size: 0.9rem;
  color: var(--ink-soft);
  margin-bottom: 0.5rem;
}

.review-item p {
  color: var(--ink);
}

.story {
  margin-top: 3rem;
  padding: 2rem 0 0;
  border-top: 2px solid var(--gold);
}

/* Forms */
.contact-layout {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 860px) {
  .contact-layout {
    grid-template-columns: 1.15fr 0.85fr;
  }
}

.field {
  margin-bottom: 1.15rem;
}

.field label {
  display: block;
  margin-bottom: 0.35rem;
  font-weight: 600;
  font-size: 0.95rem;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  font: inherit;
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 2px solid var(--teal-soft);
  outline-offset: 1px;
}

.field textarea {
  min-height: 9rem;
  resize: vertical;
}

.field-error {
  color: var(--danger);
  font-size: 0.88rem;
  margin: 0.35rem 0 0;
}

.form-status {
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  border-radius: var(--radius);
}

.form-status.is-success {
  background: #e5f3ec;
  color: var(--ok);
}

.form-status.is-error {
  background: #f8e8e5;
  color: var(--danger);
}

.address-block p {
  margin-bottom: 0.4rem;
}

/* Blog */
.blog-grid {
  display: grid;
  gap: 2.25rem;
}

@media (min-width: 720px) {
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.blog-teaser img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  margin-bottom: 0.85rem;
}

.blog-teaser h2 {
  font-size: 1.35rem;
}

.blog-teaser h2 a {
  text-decoration: none;
  color: var(--ink);
}

.article-body {
  max-width: 42rem;
}

.article-body h2 {
  margin-top: 2rem;
}

.article-hero img {
  width: 100%;
  max-height: 26rem;
  object-fit: cover;
  margin: 1.5rem 0 2rem;
}

/* Legal */
.legal {
  max-width: 46rem;
}

.legal h2 {
  margin-top: 2rem;
  font-size: 1.35rem;
}

.legal table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
  margin: 1rem 0 1.5rem;
}

.legal th,
.legal td {
  border: 1px solid var(--line);
  padding: 0.65rem 0.75rem;
  text-align: left;
  vertical-align: top;
}

.legal th {
  background: var(--paper-deep);
}

/* Area map-ish list */
.area-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 700px) {
  .area-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.area-item {
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--line);
}

.area-item h3 {
  color: var(--teal);
}

/* Footer */
.site-footer {
  margin-top: 3rem;
  background: var(--ink);
  color: rgba(255, 255, 255, 0.82);
  padding: 3.5rem 1.25rem 1.5rem;
}

.footer-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  gap: 2rem;
}

@media (min-width: 800px) {
  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  }
}

.footer-name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.footer-tag {
  font-size: 0.95rem;
  max-width: 18rem;
}

.footer-heading {
  color: var(--gold-soft);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col li {
  margin-bottom: 0.4rem;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--gold-soft);
}

.footer-bottom {
  max-width: var(--max);
  margin: 2.5rem auto 0;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.88rem;
}

/* Cookie banner */
.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 60;
  max-width: 36rem;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  padding: 1.15rem 1.25rem;
  border-radius: var(--radius);
  animation: fadeUp 0.45s ease both;
}

.cookie-banner p {
  margin: 0 0 1rem;
  font-size: 0.95rem;
  color: var(--ink-soft);
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: flex-end;
}

/* 404 */
.error-page {
  min-height: 60vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 4rem 1.25rem;
}

.error-page .code {
  font-family: var(--font-display);
  font-size: clamp(4rem, 12vw, 7rem);
  color: var(--teal-soft);
  line-height: 1;
  margin: 0;
}

/* Process steps */
.steps {
  counter-reset: step;
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
}

.steps li {
  counter-increment: step;
  position: relative;
  padding: 0 0 1.75rem 3rem;
  border-left: 1px solid var(--line);
  margin-left: 0.75rem;
}

.steps li:last-child {
  border-left-color: transparent;
  padding-bottom: 0;
}

.steps li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: -1.15rem;
  top: 0;
  width: 2.3rem;
  height: 2.3rem;
  border-radius: 50%;
  background: var(--teal);
  color: var(--white);
  font-size: 0.75rem;
  display: grid;
  place-items: center;
  font-weight: 700;
}

.cta-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 2rem 0;
}
