:root {
  color-scheme: light;
  --ink: #191919;
  --ink-strong: #070707;
  --muted: #555555;
  --subtle: #777777;
  --line: #e2ded6;
  --paper: #ffffff;
  --mist: #f7f4ed;
  --teal: #f4c400;
  --teal-deep: #c99700;
  --aqua: #ffdf3b;
  --green: #15965d;
  --amber: #f4c400;
  --coral: #e21f26;
  --blue: #2563eb;
  --shadow: 0 18px 48px rgba(0, 0, 0, 0.17);
  --soft-shadow: 0 10px 28px rgba(0, 0, 0, 0.09);
  --radius: 8px;
  --wrap: min(1120px, calc(100% - 36px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Prompt", "Tahoma", "Noto Sans Thai", "Segoe UI", Arial, sans-serif;
  font-weight: 300;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.72;
  text-rendering: optimizeLegibility;
}

body.nav-open {
  overflow: hidden;
}

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

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

b,
strong {
  font-weight: 500;
}

button,
input,
textarea {
  font: inherit;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 100;
  padding: 10px 14px;
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius);
}

.skip-link:focus {
  top: 16px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.93);
  border-bottom: 1px solid rgba(219, 229, 238, 0.88);
  backdrop-filter: blur(14px);
}

.header-inner {
  width: var(--wrap);
  min-height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.brand img {
  width: 230px;
  height: auto;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  cursor: pointer;
}

.nav-toggle svg {
  width: 23px;
  height: 23px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 400;
}

.site-nav a {
  position: relative;
  padding: 8px 0;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--amber);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--ink);
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.icon-link,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 500;
  line-height: 1.25;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease, border-color 160ms ease;
}

.icon-link svg,
.btn svg {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
}

.btn:hover,
.btn:focus-visible,
.icon-link:hover,
.icon-link:focus-visible {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--amber);
  color: #111;
  box-shadow: 0 12px 22px rgba(244, 196, 0, 0.24);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: #ffdb22;
}

.btn-secondary {
  background: #fff;
  color: var(--ink);
  border-color: var(--line);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  border-color: var(--teal);
  box-shadow: var(--soft-shadow);
}

.btn-dark {
  background: var(--coral);
  color: #fff;
}

.btn-dark:hover,
.btn-dark:focus-visible {
  background: #b6151a;
}

.call-chip {
  background: #fff8d5;
  border-color: rgba(244, 196, 0, 0.5);
  color: var(--ink);
}

.hero {
  position: relative;
  min-height: min(640px, 72svh);
  display: grid;
  align-items: center;
  isolation: isolate;
  color: #fff;
  overflow: hidden;
}

.hero-media,
.hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-media {
  z-index: 0;
}

.hero-media img {
  object-fit: cover;
  object-position: center 42%;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.7) 42%, rgba(0, 0, 0, 0.2) 78%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.62), rgba(0, 0, 0, 0.12));
}

.hero-content {
  position: relative;
  z-index: 2;
  width: var(--wrap);
  margin: 0 auto;
  padding: 72px 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 16px;
  color: #fff4b8;
  font-size: 0.95rem;
  font-weight: 500;
}

.eyebrow::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--coral);
  box-shadow: 0 0 0 6px rgba(226, 31, 38, 0.18);
}

.hero h1 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(2.1rem, 5.6vw, 5rem);
  line-height: 1.06;
  letter-spacing: 0;
  font-weight: 600;
}

.hero-lead {
  max-width: 660px;
  margin: 22px 0 0;
  color: #edf7fb;
  font-size: clamp(1.04rem, 1.7vw, 1.28rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.hero-points {
  display: none;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 760px;
  margin-top: 34px;
}

.hero-point {
  min-height: 86px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(0, 0, 0, 0.38);
  backdrop-filter: blur(12px);
}

.hero-point strong {
  display: block;
  font-size: 1.05rem;
}

.hero-point span {
  display: block;
  margin-top: 4px;
  color: #d6e9f2;
  font-size: 0.92rem;
}

.quick-strip {
  background: #111;
  color: #fff;
}

.quick-strip-inner {
  width: var(--wrap);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.quick-item {
  min-height: 96px;
  padding: 18px 18px;
  border-left: 1px solid rgba(255, 255, 255, 0.12);
}

.quick-item:last-child {
  border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.quick-item b {
  display: block;
  color: #ffffff;
}

.quick-item span {
  display: block;
  margin-top: 4px;
  color: #bdd0dd;
  font-size: 0.94rem;
}

.section {
  padding: 82px 0;
}

.section-muted {
  background: var(--mist);
}

.section-dark {
  background: #111;
  color: #fff;
}

.wrap {
  width: var(--wrap);
  margin: 0 auto;
}

.section-head {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-kicker {
  margin: 0 0 8px;
  color: var(--teal);
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: uppercase;
}

.section-dark .section-kicker {
  color: #ffe25a;
}

h2,
h3,
p {
  overflow-wrap: anywhere;
}

h2 {
  margin: 0;
  color: var(--ink-strong);
  font-size: clamp(1.7rem, 3vw, 2.7rem);
  line-height: 1.18;
  letter-spacing: 0;
  font-weight: 500;
}

.section-dark h2 {
  color: #fff;
}

.section-head p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 1.04rem;
}

.section-dark .section-head p {
  color: #ded6c5;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.service-card {
  min-height: 224px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--soft-shadow);
}

.service-icon,
.step-number {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  margin-bottom: 14px;
  border-radius: var(--radius);
  background: #fff3b8;
  color: #b00000;
}

.service-icon svg {
  width: 23px;
  height: 23px;
}

.service-card h3,
.article-card h3,
.area-card h3,
.reason-card h3,
.contact-panel h3 {
  margin: 0;
  color: var(--ink-strong);
  font-size: 1.08rem;
  line-height: 1.35;
  font-weight: 500;
}

.service-card p,
.article-card p,
.area-card p,
.reason-card p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.98rem;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.78fr);
  gap: 44px;
  align-items: center;
}

.image-stack {
  position: relative;
}

.image-frame {
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  background: #dde8ef;
}

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

.float-note {
  position: absolute;
  left: -18px;
  bottom: 24px;
  max-width: 260px;
  padding: 16px;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.float-note strong {
  display: block;
  color: var(--ink-strong);
}

.float-note span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.94rem;
}

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

.check-list li {
  display: grid;
  grid-template-columns: 26px 1fr;
  gap: 10px;
  align-items: start;
  color: var(--muted);
}

.check-list svg {
  width: 24px;
  height: 24px;
  color: var(--green);
  margin-top: 2px;
}

.reason-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.reason-card {
  padding: 22px;
  border: 1px solid rgba(219, 229, 238, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.07);
}

.reason-card h3 {
  color: #fff;
}

.reason-card p {
  color: #ded6c5;
}

.step-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.step-card {
  position: relative;
  min-height: 210px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.step-number {
  margin-bottom: 16px;
  background: #fff3dc;
  color: #9a5d00;
  font-weight: 500;
}

.step-card h3 {
  margin: 0;
  font-size: 1.04rem;
}

.step-card p {
  margin: 9px 0 0;
  color: var(--muted);
  font-size: 0.96rem;
}

.area-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr);
  gap: 34px;
  align-items: start;
}

.area-image {
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.area-image img {
  width: 100%;
  aspect-ratio: 5 / 4;
  object-fit: cover;
}

.area-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.area-card {
  min-height: 142px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.keyword-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.keyword-cloud span {
  padding: 8px 12px;
  border: 1px solid #f0d064;
  border-radius: 999px;
  background: #fff8d7;
  color: #6d4800;
  font-size: 0.92rem;
  font-weight: 400;
}

.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.article-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--soft-shadow);
}

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

.article-body {
  padding: 22px;
}

.article-meta {
  margin: 0 0 9px;
  color: #b00000;
  font-size: 0.88rem;
  font-weight: 500;
}

.article-body ul {
  margin: 14px 0 0;
  padding-left: 20px;
  color: var(--muted);
}

.seo-copy {
  margin-top: 42px;
  columns: 2 320px;
  column-gap: 42px;
  color: var(--muted);
}

.seo-copy p {
  margin: 0 0 16px;
}

.faq-list {
  display: grid;
  gap: 12px;
  max-width: 890px;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.faq-item button {
  width: 100%;
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 20px;
  border: 0;
  background: transparent;
  color: var(--ink-strong);
  cursor: pointer;
  font-weight: 500;
  text-align: left;
}

.faq-item button svg {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  transition: transform 160ms ease;
}

.faq-item.is-open button svg {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 20px 20px;
  color: var(--muted);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  gap: 24px;
  align-items: stretch;
}

.contact-panel {
  padding: 26px;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--soft-shadow);
}

.contact-panel p {
  color: var(--muted);
}

.contact-list {
  display: grid;
  gap: 14px;
  margin: 22px 0;
  padding: 0;
  list-style: none;
}

.contact-list li {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 10px;
  align-items: start;
}

.contact-list svg {
  width: 25px;
  height: 25px;
  color: #b00000;
}

.contact-list b {
  display: block;
}

.contact-list span,
.contact-list a {
  color: var(--muted);
}

.map-frame {
  min-height: 480px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #d7e4eb;
  box-shadow: var(--soft-shadow);
}

.map-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 480px;
  border: 0;
}

.site-footer {
  background: #111;
  color: #f5eddc;
  padding: 42px 0 104px;
}

.footer-inner {
  width: var(--wrap);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 32px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.footer-brand img {
  width: 220px;
  padding: 8px;
  border-radius: var(--radius);
  background: #fff;
}

.footer-inner p {
  margin: 0;
  color: #ded6c5;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: flex-end;
  align-content: start;
}

.footer-links a {
  color: #fff4b8;
  font-weight: 400;
}

.mobile-sticky {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  display: none;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid rgba(219, 229, 238, 0.9);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
}

.mobile-sticky a {
  min-height: 64px;
  display: grid;
  place-items: center;
  gap: 2px;
  color: var(--ink);
  font-size: 0.8rem;
  font-weight: 400;
}

.mobile-sticky svg {
  width: 22px;
  height: 22px;
  color: #b00000;
}

[data-reveal] {
  transform: translateY(14px);
  opacity: 0;
  transition: opacity 450ms ease, transform 450ms ease;
}

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

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.001ms !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
  }
}

@media (max-width: 1000px) {
  .site-nav,
  .header-actions {
    display: none;
  }

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

  .site-nav {
    position: fixed;
    left: 18px;
    right: 18px;
    top: 86px;
    z-index: 80;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: var(--shadow);
  }

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

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

  .hero {
    min-height: 720px;
  }

  .quick-strip-inner,
  .services-grid,
  .step-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .split,
  .area-layout,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .float-note {
    left: 16px;
    right: 16px;
    bottom: 16px;
  }

  .reason-grid,
  .articles-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  :root {
    --wrap: min(100% - 28px, 1120px);
  }

  .header-inner {
    min-height: 66px;
  }

  .brand img {
    width: 200px;
  }

  .site-nav {
    top: 76px;
  }

  .hero {
    min-height: min(660px, 76svh);
    align-items: end;
  }

  .hero-media img {
    object-position: center top;
  }

  .hero::before {
    background:
      linear-gradient(0deg, rgba(0, 0, 0, 0.94) 0%, rgba(0, 0, 0, 0.8) 50%, rgba(0, 0, 0, 0.22) 100%),
      linear-gradient(90deg, rgba(0, 0, 0, 0.38), rgba(0, 0, 0, 0.06));
  }

  .hero-content {
    padding: 44px 0 34px;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero-points {
    display: none;
  }

  .quick-strip-inner,
  .services-grid,
  .step-grid,
  .area-grid {
    grid-template-columns: 1fr;
  }

  .quick-item,
  .quick-item:last-child {
    border-right: 0;
    border-left: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .section {
    padding: 62px 0;
  }

  .map-frame,
  .map-frame iframe {
    min-height: 380px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }

  .footer-links {
    justify-content: flex-start;
  }

  .mobile-sticky {
    display: grid;
  }
}

@media (max-width: 420px) {
  .brand img {
    width: 186px;
  }

  .hero h1 {
    font-size: 2.15rem;
  }

  .btn {
    width: 100%;
  }

  .contact-panel {
    padding: 22px;
  }
}
