:root {
  --bg: #f2f5f3;
  --bg-deep: #e4ebe6;
  --surface: #fafcfb;
  --ink: #14201a;
  --ink-soft: #3d4f46;
  --muted: #5f7268;
  --line: rgba(20, 32, 26, 0.12);
  --accent: #0a6b5c;
  --accent-dark: #064f44;
  --accent-soft: #d4e8e2;
  --gold: #a67c3d;
  --gold-soft: #efe4d2;
  --danger: #9b2c2c;
  --ok: #0a6b5c;
  --radius: 4px;
  --radius-lg: 18px;
  --shadow: 0 18px 40px rgba(20, 32, 26, 0.08);
  --font-display: "Prompt", "Sarabun", sans-serif;
  --font-body: "Sarabun", "Prompt", sans-serif;
  --header-h: 4.5rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::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(1200px 600px at 90% -10%, rgba(10, 107, 92, 0.12), transparent 55%),
    radial-gradient(900px 500px at -5% 20%, rgba(166, 124, 61, 0.1), transparent 50%),
    linear-gradient(180deg, var(--bg) 0%, #eef3f0 48%, var(--bg-deep) 100%);
  min-height: 100vh;
}

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

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

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

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

p {
  margin: 0 0 1rem;
}

ul {
  margin: 0 0 1rem;
  padding-left: 1.2rem;
}

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

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  background: var(--accent);
  color: #fff;
  padding: 0.5rem 1rem;
  z-index: 1000;
  border-radius: var(--radius);
}

.skip-link:focus {
  top: 1rem;
}

.shell {
  width: min(1120px, calc(100% - 2rem));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(14px);
  background: rgba(242, 245, 243, 0.88);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  width: min(1120px, calc(100% - 2rem));
  margin-inline: auto;
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--ink);
}

.brand-mark {
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 12px;
  background:
    linear-gradient(145deg, var(--accent) 0%, #128a76 55%, var(--gold) 140%);
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.2);
  position: relative;
}

.brand-mark::after {
  content: "";
  position: absolute;
  inset: 28% 30% 28% 30%;
  border: 2px solid rgba(255, 255, 255, 0.85);
  border-radius: 3px;
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 0.05rem;
}

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

.brand-tag {
  font-size: 0.75rem;
  color: var(--muted);
}

.nav-toggle {
  display: none;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: var(--radius);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.nav-toggle-bar {
  width: 1.15rem;
  height: 2px;
  background: var(--ink);
}

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

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

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

.nav-cta {
  background: var(--accent);
  color: #fff !important;
  padding: 0.55rem 1rem !important;
  border-radius: 999px;
  font-weight: 600;
}

.nav-cta:hover {
  background: var(--accent-dark);
}

#main {
  outline: none;
}

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

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

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  animation: heroDrift 18s var(--ease) infinite alternate;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(10, 32, 26, 0.88) 8%, rgba(10, 32, 26, 0.55) 48%, rgba(10, 32, 26, 0.28) 100%),
    linear-gradient(0deg, rgba(10, 32, 26, 0.55), transparent 45%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto 4.5rem;
  max-width: 38rem;
  animation: riseIn 0.9s var(--ease) both;
}

.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.35rem;
  line-height: 1.05;
}

.hero h1 {
  color: #fff;
  font-size: clamp(1.35rem, 2.8vw, 1.85rem);
  font-weight: 500;
  margin-bottom: 1rem;
}

.hero p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.1rem;
  max-width: 34rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border: none;
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.98rem;
  padding: 0.8rem 1.25rem;
  border-radius: 999px;
  text-decoration: none;
  transition: transform 0.25s var(--ease), background 0.25s ease, color 0.25s ease;
}

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

.btn-primary {
  background: var(--gold);
  color: #1a1408;
}

.btn-primary:hover {
  background: #c0944d;
  color: #1a1408;
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.btn-outline {
  background: transparent;
  color: var(--accent-dark);
  border: 1.5px solid var(--accent);
}

.btn-outline:hover {
  background: var(--accent-soft);
  color: var(--accent-dark);
}

.btn-solid {
  background: var(--accent);
  color: #fff;
}

.btn-solid:hover {
  background: var(--accent-dark);
  color: #fff;
}

.section {
  padding: 4.5rem 0;
}

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

.section-head {
  max-width: 40rem;
  margin-bottom: 2.25rem;
}

.section-head h2 {
  font-size: clamp(1.7rem, 3vw, 2.25rem);
}

.section-head p {
  color: var(--ink-soft);
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.6rem;
  font-weight: 600;
}

.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.5rem;
  align-items: center;
}

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

.split-media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 320px;
  box-shadow: var(--shadow);
}

.split-media img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
}

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

.offer-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
}

.offer-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  color: inherit;
}

.offer-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.offer-card-body {
  padding: 1.25rem 1.3rem 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.offer-card h3 {
  font-size: 1.15rem;
}

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

.offer-link {
  margin-top: 0.75rem;
  color: var(--accent-dark);
  font-weight: 600;
  font-family: var(--font-display);
  font-size: 0.95rem;
}

.panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
}

.quote-band {
  background:
    linear-gradient(135deg, rgba(10, 107, 92, 0.09), rgba(166, 124, 61, 0.08)),
    var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.quote-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1.5rem;
}

.quote {
  margin: 0;
  padding: 0;
}

.quote p {
  font-size: 1.2rem;
  font-family: var(--font-display);
  line-height: 1.55;
}

.quote footer {
  color: var(--muted);
  font-size: 0.95rem;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  counter-reset: step;
}

.step {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.35rem;
  position: relative;
  animation: fadeUp 0.7s var(--ease) both;
}

.step:nth-child(2) { animation-delay: 0.08s; }
.step:nth-child(3) { animation-delay: 0.16s; }
.step:nth-child(4) { animation-delay: 0.24s; }

.step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--accent);
  display: block;
  margin-bottom: 0.75rem;
  font-size: 1.1rem;
}

.step h3 {
  font-size: 1.05rem;
}

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

.page-hero {
  padding: 3.5rem 0 2rem;
}

.page-hero h1 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  max-width: 18ch;
}

.page-hero p {
  max-width: 42rem;
  color: var(--ink-soft);
  font-size: 1.1rem;
}

.page-hero-media {
  margin-top: 2rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  max-height: 360px;
}

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

.prose {
  max-width: 46rem;
}

.prose h2 {
  margin-top: 2rem;
  font-size: 1.45rem;
}

.prose h3 {
  margin-top: 1.5rem;
  font-size: 1.15rem;
}

.prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.25rem 0;
  font-size: 0.95rem;
}

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

.prose th {
  background: var(--accent-soft);
  font-family: var(--font-display);
}

.price-list {
  display: grid;
  gap: 1rem;
}

.price-row {
  display: grid;
  grid-template-columns: 1.4fr 0.6fr;
  gap: 1rem;
  align-items: start;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.35rem 1.5rem;
}

.price-row h3 {
  margin-bottom: 0.35rem;
}

.price-row p {
  color: var(--ink-soft);
  margin: 0;
}

.price-amount {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--accent-dark);
  text-align: right;
}

.price-note {
  display: block;
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--muted);
  margin-top: 0.25rem;
}

.review-list {
  display: grid;
  gap: 1.25rem;
}

.review {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
}

.review p {
  margin-bottom: 0.85rem;
}

.review cite {
  font-style: normal;
  color: var(--muted);
  font-size: 0.95rem;
}

.case-story {
  margin-top: 2rem;
  padding: 1.75rem;
  border-left: 4px solid var(--accent);
  background: rgba(10, 107, 92, 0.05);
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
}

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

.blog-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  display: grid;
  grid-template-rows: auto 1fr;
  transition: transform 0.3s var(--ease);
}

.blog-card:hover {
  transform: translateY(-4px);
  color: inherit;
}

.blog-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.blog-card-body {
  padding: 1.25rem 1.35rem 1.5rem;
}

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

.article-hero img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  margin: 1.5rem 0 2rem;
}

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

.contact-details p {
  margin-bottom: 0.65rem;
}

.form {
  display: grid;
  gap: 1rem;
}

.form-row {
  display: grid;
  gap: 0.4rem;
}

.form-row label {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
}

.form-row input,
.form-row select,
.form-row textarea {
  font: inherit;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.75rem 0.9rem;
  width: 100%;
}

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

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: 2px solid var(--accent-soft);
  border-color: var(--accent);
}

.field-error {
  color: var(--danger);
  font-size: 0.88rem;
  min-height: 1.2em;
}

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

.form-status.is-success {
  display: block;
  background: var(--accent-soft);
  color: var(--accent-dark);
}

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

.inline-error {
  margin: 1rem 0;
  padding: 0.85rem 1rem;
  background: #fde8e8;
  color: var(--danger);
  border-radius: var(--radius);
}

.site-footer {
  margin-top: 3rem;
  background: #102018;
  color: rgba(242, 245, 243, 0.86);
  padding: 3rem 0 0;
}

.footer-inner {
  width: min(1120px, calc(100% - 2rem));
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 1fr 0.8fr;
  gap: 1.75rem;
  padding-bottom: 2rem;
}

.footer-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  color: #fff;
  margin-bottom: 0.5rem;
}

.footer-desc,
.footer-address {
  color: rgba(242, 245, 243, 0.72);
  font-size: 0.95rem;
}

.footer-heading {
  font-family: var(--font-display);
  font-weight: 600;
  color: #fff;
  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(242, 245, 243, 0.82);
  text-decoration: none;
}

.site-footer a:hover {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1rem 0 1.35rem;
  text-align: center;
  font-size: 0.9rem;
  color: rgba(242, 245, 243, 0.6);
}

.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 200;
  max-width: 720px;
  margin-inline: auto;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 1.15rem 1.25rem;
  display: grid;
  gap: 0.85rem;
  animation: riseIn 0.45s var(--ease) both;
}

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

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

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

.team-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

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

.team-card-body {
  padding: 1.15rem 1.25rem 1.4rem;
}

.faq details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.9rem 1rem;
  margin-bottom: 0.65rem;
}

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

.faq details p {
  margin: 0.75rem 0 0;
  color: var(--ink-soft);
}

.cta-band {
  background:
    linear-gradient(120deg, var(--accent-dark), #0f7a69 55%, #1a5c4e);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  justify-content: space-between;
  align-items: center;
}

.cta-band h2 {
  color: #fff;
  margin-bottom: 0.35rem;
}

.cta-band p {
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  max-width: 34rem;
}

.muted {
  color: var(--muted);
}

.not-found {
  min-height: 60vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 4rem 1rem;
}

.not-found h1 {
  font-size: clamp(2.5rem, 8vw, 4.5rem);
  margin-bottom: 0.5rem;
}

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

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

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

@media (max-width: 960px) {
  .split,
  .split-reverse,
  .quote-grid,
  .contact-grid,
  .footer-inner,
  .offer-grid,
  .steps,
  .blog-grid,
  .team-grid,
  .price-row {
    grid-template-columns: 1fr;
  }

  .price-amount {
    text-align: left;
  }

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

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(250, 252, 251, 0.98);
    border-bottom: 1px solid var(--line);
    padding: 0.75rem 1rem 1.1rem;
    display: none;
  }

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

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

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

@media (max-width: 640px) {
  .hero-content {
    margin-bottom: 2.5rem;
  }

  .section {
    padding: 3.25rem 0;
  }

  .cookie-banner {
    left: 0.65rem;
    right: 0.65rem;
    bottom: 0.65rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
