:root {
  --ink: #14241f;
  --ink-soft: #3a4f47;
  --sage: #1a4a3f;
  --sage-mid: #2d6b5c;
  --sage-soft: #d9ebe4;
  --mist: #eef3f0;
  --paper: #f6f8f7;
  --brass: #b08a4f;
  --brass-deep: #8a6a38;
  --line: rgba(20, 36, 31, 0.12);
  --white: #ffffff;
  --danger: #9b2c2c;
  --ok: #1a5c45;
  --radius: 4px;
  --shadow: 0 18px 40px rgba(20, 36, 31, 0.08);
  --font-display: "Prompt", "Sarabun", sans-serif;
  --font-body: "Sarabun", sans-serif;
  --max: 1120px;
  --header-h: 4.25rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--ink);
  background:
    radial-gradient(ellipse 80% 50% at 10% -10%, rgba(45, 107, 92, 0.12), transparent 55%),
    radial-gradient(ellipse 60% 40% at 100% 0%, rgba(176, 138, 79, 0.1), transparent 50%),
    linear-gradient(180deg, var(--paper) 0%, var(--mist) 100%);
  min-height: 100vh;
}

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

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

a:hover {
  color: var(--brass-deep);
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.25;
  color: var(--ink);
  margin: 0 0 0.75rem;
}

h1 {
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.55rem, 3vw, 2.15rem);
}

h3 {
  font-size: 1.25rem;
}

p {
  margin: 0 0 1rem;
  color: var(--ink-soft);
}

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(246, 248, 247, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
}

.brand {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: var(--ink);
}

.brand__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
}

.brand__tag {
  font-size: 0.72rem;
  color: var(--ink-soft);
  margin-top: 0.1rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.15rem 1.1rem;
  flex-wrap: wrap;
}

.site-nav a {
  text-decoration: none;
  color: var(--ink-soft);
  font-size: 0.92rem;
  font-weight: 500;
  padding: 0.35rem 0;
  position: relative;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--brass);
  transition: width 0.25s ease;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--sage);
}

.site-nav a:hover::after,
.site-nav a[aria-current="page"]::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: var(--radius);
  padding: 0.45rem 0.65rem;
  cursor: pointer;
  font-family: var(--font-body);
  color: var(--ink);
}

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

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

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

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

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

.btn--ghost:hover {
  background: var(--sage-soft);
  color: var(--sage);
}

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

.btn--brass:hover {
  background: var(--brass-deep);
  color: var(--white);
}

.hero {
  position: relative;
  min-height: calc(100vh - var(--header-h));
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--white);
}

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

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: heroZoom 18s ease-in-out infinite alternate;
}

.hero__veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg, rgba(20, 36, 31, 0.82) 0%, rgba(20, 36, 31, 0.45) 55%, rgba(20, 36, 31, 0.25) 100%);
}

.hero__content {
  position: relative;
  z-index: 1;
  padding: clamp(3rem, 8vw, 6rem) 0 clamp(2.5rem, 6vw, 4.5rem);
  max-width: 38rem;
  animation: riseIn 0.9s ease both;
}

.hero__brand {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.6rem);
  font-weight: 700;
  margin: 0 0 1rem;
  color: var(--white);
  letter-spacing: -0.02em;
}

.hero__lead {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 1.75rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.page-hero {
  padding: 3.5rem 0 2.5rem;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(26, 74, 63, 0.06), transparent 60%),
    var(--paper);
}

.page-hero--media {
  position: relative;
  min-height: 42vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  padding: 0;
  border-bottom: 0;
}

.page-hero--media .page-hero__media {
  position: absolute;
  inset: 0;
}

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

.page-hero--media .page-hero__veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20, 36, 31, 0.2), rgba(20, 36, 31, 0.78));
}

.page-hero--media .container {
  position: relative;
  z-index: 1;
  padding: 4rem 0 2.5rem;
  color: var(--white);
}

.page-hero--media h1,
.page-hero--media p {
  color: var(--white);
}

.section {
  padding: clamp(3rem, 6vw, 5rem) 0;
}

.section--alt {
  background: rgba(255, 255, 255, 0.55);
  border-block: 1px solid var(--line);
}

.section__head {
  max-width: 40rem;
  margin-bottom: 2rem;
}

.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}

.split--reverse > :first-child {
  order: 2;
}

.media-frame {
  position: relative;
  overflow: hidden;
  border-radius: calc(var(--radius) + 2px);
  box-shadow: var(--shadow);
}

.media-frame img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.media-frame:hover img {
  transform: scale(1.03);
}

.offer-list {
  display: grid;
  gap: 1.5rem;
}

.offer-row {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 1.25rem;
  align-items: start;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--line);
}

.offer-row img {
  width: 160px;
  height: 120px;
  object-fit: cover;
  border-radius: var(--radius);
}

.offer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.offer-item {
  display: grid;
  gap: 0.85rem;
}

.offer-item img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: var(--radius);
}

.offer-item h3 {
  margin-bottom: 0.25rem;
}

.offer-item a {
  font-weight: 600;
  text-decoration: none;
}

.quote-stack {
  display: grid;
  gap: 1.5rem;
}

.quote {
  padding: 1.5rem 0;
  border-top: 1px solid var(--line);
}

.quote:last-child {
  border-bottom: 1px solid var(--line);
}

.quote p {
  font-size: 1.08rem;
  color: var(--ink);
}

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

.steps {
  counter-reset: step;
  display: grid;
  gap: 1.25rem;
}

.step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
}

.step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--brass);
  font-size: 1.25rem;
  line-height: 1.4;
}

.rate-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border: 1px solid var(--line);
}

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

.rate-table th {
  background: var(--sage);
  color: var(--white);
  font-weight: 600;
}

.rate-table tr:last-child td {
  border-bottom: 0;
}

.note {
  padding: 1rem 1.15rem;
  background: var(--sage-soft);
  border-left: 3px solid var(--sage);
  margin: 1.25rem 0;
}

.blog-list {
  display: grid;
  gap: 2rem;
}

.blog-item {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 1.5rem;
  align-items: start;
}

.blog-item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
}

.meta {
  font-size: 0.85rem;
  color: var(--ink-soft);
  margin-bottom: 0.4rem;
}

.article {
  max-width: 42rem;
  margin: 0 auto;
}

.article .lead {
  font-size: 1.2rem;
  color: var(--ink);
}

.article img.cover {
  width: 100%;
  aspect-ratio: 21 / 9;
  object-fit: cover;
  border-radius: var(--radius);
  margin: 1.5rem 0 2rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 2.5rem;
}

.contact-block h2 {
  margin-bottom: 1rem;
}

.contact-block dl {
  margin: 0;
}

.contact-block dt {
  font-weight: 600;
  color: var(--ink);
  margin-top: 1rem;
}

.contact-block dd {
  margin: 0.25rem 0 0;
  color: var(--ink-soft);
}

.field {
  margin-bottom: 1.1rem;
}

.field label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.35rem;
  color: var(--ink);
}

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

.field textarea {
  min-height: 140px;
  resize: vertical;
}

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

.field-error {
  display: block;
  color: var(--danger);
  font-size: 0.88rem;
  margin-top: 0.3rem;
}

.form-status {
  margin-top: 1rem;
  font-weight: 600;
}

.form-status--ok {
  color: var(--ok);
}

.form-status--err {
  color: var(--danger);
}

.legal {
  max-width: 46rem;
}

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

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

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

.legal th {
  background: var(--sage-soft);
}

.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.85);
  padding: 3rem 0 2rem;
  margin-top: 2rem;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.9);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
}

.site-footer h3 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 0.85rem;
}

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

.site-footer li {
  margin-bottom: 0.45rem;
}

.footer-brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--white);
  margin-bottom: 0.75rem;
}

.footer-bottom {
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.65);
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: var(--white);
  border-top: 1px solid var(--line);
  box-shadow: 0 -8px 30px rgba(20, 36, 31, 0.12);
  animation: slideUp 0.45s ease both;
}

.cookie-banner__inner {
  width: min(100% - 2rem, var(--max));
  margin: 0 auto;
  padding: 1.15rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.cookie-banner__inner p {
  margin: 0;
  font-size: 0.95rem;
}

.cookie-banner__actions {
  display: flex;
  gap: 0.6rem;
  flex-shrink: 0;
}

.inline-error {
  background: #fdecec;
  color: var(--danger);
  padding: 0.75rem 1rem;
  margin: 0.5rem 0;
  border-left: 3px solid var(--danger);
}

.cta-band {
  background: linear-gradient(120deg, var(--sage) 0%, #245a4d 100%);
  color: var(--white);
  padding: clamp(2.5rem, 5vw, 3.5rem) 0;
  text-align: center;
}

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

.cta-band p {
  max-width: 34rem;
  margin: 0 auto 1.5rem;
  opacity: 0.92;
}

.portrait-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem;
}

.portrait img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--radius);
  margin-bottom: 0.85rem;
}

.faq details {
  border-bottom: 1px solid var(--line);
  padding: 1rem 0;
}

.faq summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--ink);
  font-family: var(--font-display);
}

.faq details p {
  margin-top: 0.65rem;
}

.error-page {
  min-height: 70vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 3rem 1rem;
}

.error-page .code {
  font-family: var(--font-display);
  font-size: 5rem;
  color: var(--sage);
  line-height: 1;
  margin-bottom: 0.5rem;
}

@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(100%);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroZoom {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.06);
  }
}

.reveal {
  animation: riseIn 0.8s ease both;
}

.reveal-delay {
  animation: riseIn 0.8s ease 0.15s both;
}

@media (max-width: 900px) {
  .split,
  .split--reverse > :first-child,
  .offer-grid,
  .contact-grid,
  .footer-grid,
  .blog-item,
  .offer-row,
  .portrait-grid {
    grid-template-columns: 1fr;
  }

  .split--reverse > :first-child {
    order: 0;
  }

  .offer-row img {
    width: 100%;
    height: 180px;
  }

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

  .site-nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: 1rem;
    flex-direction: column;
    align-items: flex-start;
  }

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

  .header-inner {
    position: relative;
  }

  .cookie-banner__inner {
    flex-direction: column;
    align-items: stretch;
  }

  .cookie-banner__actions {
    width: 100%;
  }

  .cookie-banner__actions .btn {
    flex: 1;
  }
}
