@font-face {
  font-family: Sarabun;
  src: url("assets/Sarabun-Regular.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: Sarabun;
  src: url("assets/Sarabun-Bold.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: Kanit;
  src: url("assets/Kanit-SemiBold.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}

:root {
  --navy: #243e50;
  --navy-dark: #192e3c;
  --rose: #954363;
  --rose-dark: #78324d;
  --amber: #92591f;
  --gold: #ddae63;
  --gold-light: #f1cc8c;
  --cream: #f5f0e8;
  --paper: #fcfaf7;
  --white: #fff;
  --ink: #1c303d;
  --muted: #475864;
  --light-copy: #e0e8ec;
  --line: #ded6ca;
  --font: Sarabun, system-ui, sans-serif;
  --title-font: Kanit, var(--font);
  --space: clamp(3.3rem, 6vw, 6rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1rem/1.65 var(--font); }
main { font-size: clamp(1.0625rem, 1.25vw, 1.125rem); line-height: 1.7; }
img { display: block; width: 100%; height: auto; }
p, h1, h2, h3, figure, ul, ol { margin: 0; }
a { color: inherit; }
input, textarea, button { font: inherit; }
button, summary { cursor: pointer; }
summary { list-style: none; }
summary::-webkit-details-marker { display: none; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--rose); outline-offset: 4px; }
section[id], article[id], #brief { scroll-margin-top: 1.5rem; }

.shell { width: min(100% - clamp(2rem, 9vw, 8rem), 73rem); margin-inline: auto; }
.content-section { padding-block: var(--space); }
.skip-link { position: absolute; inset: .6rem auto auto 1rem; transform: translateY(-200%); z-index: 3; padding: .6rem 1rem; background: var(--white); }
.skip-link:focus { transform: none; }
h1, h2, h3 { font-weight: 700; line-height: 1.32; text-wrap: balance; }
h1 { font-family: var(--title-font); font-weight: 600; }
h2 { font-size: clamp(1.875rem, 3.4vw, 3rem); }
h3 { font-size: clamp(1.2rem, 1.65vw, 1.55rem); }
h2 + p { margin-top: .85rem; }

.site-header { background: var(--cream); }
.header-inner, .footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.25rem; min-height: 5.3rem; }
.header-inner { flex-wrap: wrap; row-gap: .35rem; padding-block: .65rem; }
.brand { display: inline-flex; flex: 0 1 auto; align-items: center; gap: .5rem; max-width: 100%; min-height: 44px; text-decoration: none; }
.brand img { width: 3.75rem; flex: none; }
.brand-name { min-width: 0; color: var(--navy); font-size: 1.2rem; font-weight: 700; line-height: 1.25; }
.brand-name span { display: block; color: var(--amber); font-size: .8em; letter-spacing: .035em; }
.site-nav { display: flex; flex-wrap: wrap; align-items: center; min-width: 0; gap: .35rem clamp(1.1rem, 2.1vw, 1.85rem); }
.nav-links { display: flex; flex-wrap: wrap; align-items: center; min-width: 0; gap: 0 clamp(.9rem, 2.1vw, 1.85rem); }
.nav-links a { display: inline-flex; min-height: 44px; align-items: center; text-decoration: none; font-weight: 700; white-space: nowrap; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--rose-dark); text-decoration: underline; text-underline-offset: .3em; }
.mobile-menu { display: none; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: .62rem 1.18rem;
  border: 1px solid transparent;
  border-radius: 6px;
  text-decoration: none;
  text-align: center;
  font-weight: 700;
  line-height: 1.42;
}
.button-gold { background: var(--gold); color: var(--navy-dark); }
.button-gold:hover { background: var(--gold-light); }
.button-outline { border-color: var(--rose); color: var(--rose-dark); white-space: nowrap; }
.button-outline:hover { background: #f0e4e6; }
.button-primary { background: var(--rose-dark); color: var(--white); }
.button-primary:hover { background: #62253c; }
.button[aria-disabled="true"] { opacity: .75; cursor: wait; }
.text-link {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 44px;
  color: var(--rose-dark);
  font-weight: 700;
  line-height: 1.5;
  text-underline-offset: .27em;
}
.text-link:hover { text-decoration-thickness: 2px; }

.hero {
  overflow: hidden;
  background: radial-gradient(ellipse at 74% 8%, var(--navy), var(--navy-dark) 78%);
  color: var(--white);
  border-bottom: 3px solid var(--gold);
}
.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
  padding-block: clamp(2.6rem, 5.1vw, 5.15rem);
}
.eyebrow { display: flex; gap: .65rem; align-items: center; margin-bottom: 1.05rem; color: var(--gold-light); font-weight: 700; }
.eyebrow::before { content: ""; flex: 0 0 1.5rem; height: 2px; background: currentColor; }
.hero h1 { font-size: clamp(2.5rem, 4.55vw, 4.2rem); line-height: 1.24; }
.hero h1 span { display: block; margin-top: .45rem; font: 700 .7em/1.35 var(--font); color: var(--gold-light); }
.hero-description { margin-top: 1.2rem; max-width: 30rem; color: var(--light-copy); font-size: clamp(1.05rem, 1.43vw, 1.25rem); }
.hero-actions, .summary-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem 1.25rem; margin-top: 1.35rem; }
.hero .text-link { color: var(--white); }
.hero :focus-visible, .contact :focus-visible { outline-color: var(--gold-light); }
.hero-photo { position: relative; width: 100%; border: 1px solid #d3a860; border-radius: .75rem; overflow: hidden; }
.hero-photo img { height: clamp(24rem, 36vw, 30rem); object-fit: cover; object-position: 48% center; }
.hero-photo figcaption { position: absolute; bottom: .55rem; right: .55rem; padding: .18rem .45rem; background: var(--navy-dark); color: var(--white); border-radius: 3px; font-size: .8rem; }

.section-heading { max-width: 46rem; margin-bottom: clamp(1.65rem, 3vw, 2.6rem); }
.section-heading p, .service-card p, .about-copy p, .step-list p, .faq-inner p { color: var(--muted); }
.service-grid, .step-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(.85rem, 2vw, 1.6rem); }
.service-card {
  display: flex;
  flex-direction: column;
  padding: clamp(1.15rem, 2.45vw, 2rem);
  border: 1px solid var(--line);
  border-top: 3px solid var(--rose);
  border-radius: 7px;
  background: var(--white);
}
.service-card h3 { text-wrap: initial; }
.service-card p { margin-top: .65rem; }
.service-facts { display: grid; gap: .65rem; margin: .95rem 0 1.15rem; }
.service-facts dt { font-weight: 700; }
.service-facts dd { margin: .15rem 0 0; color: var(--muted); }
.service-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem .85rem; margin-top: auto; }
.service-actions .button { padding-inline: .85rem; white-space: normal; }

.about { background: var(--cream); border-block: 1px solid var(--line); }
.about-inner {
  display: grid;
  align-items: center;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(1.7rem, 6vw, 6rem);
  padding-block: clamp(2.9rem, 5.35vw, 4.6rem);
}
.about-photo img { aspect-ratio: 1.42; object-fit: cover; border-radius: 8px; }
.about-copy h2, .contact h2 { text-wrap: initial; }
.benefit-list { list-style: none; padding: 0; margin-top: 1.2rem; }
.benefit-list li { display: flex; gap: .7rem; padding-block: .55rem; font-weight: 700; }
.benefit-list li + li { border-top: 1px solid var(--line); }
.benefit-list li::before { content: ""; align-self: start; flex: 0 0 .65rem; height: .4rem; margin-top: .49em; border: solid var(--rose); border-width: 0 0 2px 2px; transform: rotate(-45deg); }

.step-list { list-style: none; padding: 0; counter-reset: steps; }
.step-list li { counter-increment: steps; padding-top: 1rem; border-top: 1px solid var(--line); }
.step-list li::before { content: counter(steps) "."; display: block; margin-bottom: .45rem; color: var(--amber); font-size: 1rem; font-weight: 700; }
.step-list p { margin-top: .45rem; max-width: 20rem; }

.faq { background: var(--white); border-top: 1px solid var(--line); }
.faq-inner { display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); gap: clamp(1.4rem, 5vw, 4.5rem); }
.faq-inner h2 { text-wrap: initial; }
.faq-inner h2 + p { max-width: 23rem; }
.faq-list details { border-top: 1px solid var(--line); }
.faq-list details:last-child { border-bottom: 1px solid var(--line); }
.faq-list summary, .brief-disclosure > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .85rem;
  min-height: 58px;
  padding: .9rem .2rem;
  font-size: 1.08rem;
  font-weight: 700;
  line-height: 1.45;
}
.faq-list summary:hover, .faq-list details[open] summary { color: var(--rose-dark); }
.faq-list details p { padding: 0 1.9rem 1.08rem .2rem; }
.expand-icon { position: relative; display: inline-block; flex: 0 0 1rem; height: 1rem; }
.expand-icon::before, .expand-icon::after { position: absolute; content: ""; top: 50%; left: 50%; background: currentColor; transform: translate(-50%, -50%); }
.expand-icon::before { width: .84rem; height: 2px; }
.expand-icon::after { width: 2px; height: .84rem; }
details[open] > summary .expand-icon::after { display: none; }

.contact { background: var(--navy-dark); color: var(--white); border-top: 3px solid var(--gold); }
.contact-overview { display: flex; align-items: center; justify-content: space-between; gap: 1.35rem; max-width: 54rem; margin-inline: auto; }
.contact-description { color: var(--light-copy); margin-bottom: 1.15rem; }
.line-qr { flex: 0 0 min(31%, 10.3rem); text-align: center; color: var(--light-copy); font-size: .9rem; }
.line-qr img { border-radius: 5px; }
.line-qr figcaption { padding-top: .4rem; }
.brief-disclosure { max-width: 54rem; margin: 1.75rem auto 0; border-block: 1px solid #6d8593; }
.brief-disclosure > summary { padding-inline: 0; color: var(--gold-light); }
.form-panel { padding: clamp(1rem, 3vw, 1.8rem); margin-bottom: 1.1rem; border-radius: 7px; background: var(--paper); color: var(--ink); }
.form-panel :focus-visible { outline-color: var(--rose); }
.brief-intro { margin-bottom: 1rem; color: var(--muted); }
fieldset { min-width: 0; border: 0; margin: 0; padding: 0; }
legend, .field-label { font-weight: 700; }
legend span, .field-label span { margin-inline-start: .3rem; color: var(--muted); font-size: .9rem; font-weight: 400; }
.choices { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: .35rem; }
.choices label {
  display: flex;
  align-items: center;
  gap: .43rem;
  min-height: 44px;
  padding: .33rem .6rem;
  border: 1px solid #81747b;
  border-radius: 4px;
  cursor: pointer;
}
.choices label:has(:checked) { background: #f3e5eb; border-color: var(--rose-dark); }
.choices input { width: 1.05rem; height: 1.05rem; margin: 0; accent-color: var(--rose-dark); }
.field-label { display: block; margin-top: .7rem; }
.field { display: block; width: 100%; min-height: 44px; margin-top: .32rem; padding: .48rem .67rem; border: 1px solid #81747b; border-radius: 4px; background: var(--white); color: var(--ink); }
textarea.field { resize: vertical; }
#brief-form .button { margin-top: .9rem; }
.form-summary { margin-top: 1.2rem; padding-top: .4rem; border-top: 1px solid var(--line); }
.feedback:not(:empty) { margin-top: .35rem; font-weight: 700; }
.error { color: var(--rose-dark); }
.site-footer { background: var(--cream); }
.footer-inner { flex-wrap: wrap; min-height: 6rem; padding-block: .7rem; }
.footer-inner .brand img { width: 3.25rem; }
.footer-inner .brand-name { font-size: 1rem; }

.page-intro { background: var(--navy); color: var(--white); border-bottom: 3px solid var(--gold); padding-block: clamp(1.5rem, 4.5vw, 4rem); }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: .25rem .6rem; align-items: center; color: var(--light-copy); font-size: .95rem; }
.breadcrumbs a { display: inline-flex; min-height: 44px; align-items: center; text-underline-offset: .22em; }
.page-intro h1 { margin-top: .9rem; font-size: clamp(2.15rem, 4.7vw, 3.85rem); text-wrap: initial; }
.page-intro .hero-description { max-width: 45rem; }
.page-intro .text-link { color: var(--white); }
.page-intro :focus-visible { outline-color: var(--gold-light); }
.detail-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .65fr); gap: clamp(1.5rem, 5vw, 4rem); align-items: start; }
.detail-copy { max-width: 47rem; }
.detail-copy h2 { font-size: clamp(1.65rem, 3vw, 2.55rem); text-wrap: initial; }
.detail-copy p, .detail-copy li { color: var(--muted); }
.detail-copy p + p { margin-top: .65rem; }
.detail-copy ul { padding-inline-start: 1.2rem; margin-top: .7rem; }
.detail-copy li + li { margin-top: .45rem; }
.detail-copy section + section { margin-top: clamp(1.6rem, 3vw, 2.7rem); }
.detail-panel { padding: clamp(1rem, 3vw, 2rem); border: 1px solid var(--line); border-top: 3px solid var(--rose); border-radius: 7px; background: var(--white); }
.detail-panel h2 { font-size: clamp(1.4rem, 2.3vw, 1.9rem); text-wrap: initial; }
.detail-panel .text-link { max-width: 100%; }
.related-links { display: flex; flex-wrap: wrap; column-gap: 1.25rem; padding: 0; list-style: none; }
.related-services { border-top: 1px solid var(--line); background: var(--cream); }
.related-services h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); text-wrap: initial; }

@media (max-width: 59rem) {
  .header-inner { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; min-height: 4.55rem; }
  .header-inner .brand { justify-self: start; max-width: calc(100% - min(52%, 5.5rem)); }
  .desktop-nav { display: none; }
  .mobile-menu { display: block; }
  .menu-toggle {
    position: absolute;
    inset-block-start: 1.15rem;
    inset-inline-end: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .45rem;
    min-height: 44px;
    padding: .42rem .65rem;
    border: 1px solid var(--rose);
    border-radius: 5px;
    background: transparent;
    color: var(--rose-dark);
    font-weight: 700;
  }
  .menu-toggle span { width: .65rem; height: .65rem; border: solid currentColor; border-width: 0 2px 2px 0; transform: translateY(-2px) rotate(45deg); }
  .mobile-menu[open] .menu-toggle span { transform: translateY(2px) rotate(225deg); }
  .mobile-menu .site-nav { gap: .35rem 1.1rem; margin-top: .65rem; padding: .35rem 0 .2rem; border-top: 1px solid var(--line); }
}

@media (max-width: 45rem) {
  .hero-inner, .about-inner, .faq-inner, .detail-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-photo img { height: clamp(12rem, 54vw, 21rem); }
  .service-grid, .step-list { grid-template-columns: minmax(0, 1fr); }
  .about-photo { order: 1; }
  .about-photo img { aspect-ratio: 1.65; }
  .faq-list details p { padding-inline-end: .5rem; }
}

@media (max-width: 31rem) {
  .header-inner .brand img { width: 3rem; }
  .header-inner .brand-name { font-size: .95rem; }
  .menu-toggle { inset-block-start: .9rem; }
  .hero-inner { gap: 1.45rem; }
  .hero h1 { font-size: clamp(2.1rem, 8.8vw, 2.8rem); }
  .hero-description { margin-top: .85rem; }
  .hero-actions { margin-top: 1rem; gap: .35rem .9rem; }
  .contact-overview { align-items: flex-start; flex-direction: column; }
  .line-qr { width: 8rem; }
  .footer-inner { gap: .25rem 1rem; }
  .footer-inner .brand { flex-basis: 100%; }
}

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