/* Base, layout, shared components (header, footer, buttons, eyebrow, CTA band).
   Values come from Figma Draft 4; see figma-export/README.md. */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--white);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.513;            /* Noto Sans Thai "normal" as rendered in the design (22.7/15, 21.2/14) */
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, h5, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4, h5 { font-family: var(--font-heading); font-weight: 700; line-height: 1.3; color: var(--ink); text-wrap: balance; }
strong, b { font-weight: 700; }
.photo { width: 100%; height: 100%; object-fit: cover; }
/* Exact Figma image crop: Figma STRETCH fill + imageTransform. --w/--h/--x/--y are computed from the transform.
   When a real photo replaces the placeholder, swap class="fig" style="…" for class="photo". */
.fig { position: absolute; max-width: none; width: var(--w, 100%); height: var(--h, 100%); left: var(--x, 0); top: var(--y, 0); }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; }
.wrap { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--container-pad); }
.section { position: relative; padding-block: var(--section-pad-y); }
.section--clip { overflow: hidden; }
.deco { position: absolute; pointer-events: none; z-index: 0; }
.section > .wrap, .section > .container { position: relative; z-index: 1; }

/* ---------- Eyebrow (orange bar + uppercase label) ---------- */
.eyebrow {
  display: flex; width: fit-content; align-items: center; gap: 10px;
  font-family: var(--font-body); font-size: 14px; font-weight: 700; line-height: 21.2px;
  letter-spacing: var(--ls-eyebrow); text-transform: uppercase; color: var(--orange-700);
}
.eyebrow::before { content: ""; width: 3px; height: 16px; border-radius: var(--r-2); background: var(--orange-500); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 28px; border-radius: var(--r-12);
  font-family: var(--font-body); font-size: 16px; font-weight: 700; line-height: 24.2px;
  white-space: nowrap; transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease;
}
.btn img, .btn svg { width: 18px; height: 18px; flex: none; }
.btn--primary { background: var(--orange-500); color: var(--white); box-shadow: var(--shadow-cta); }
.btn--primary:hover { background: #F06C0D; transform: translateY(-1px); }
.btn--outline { background: var(--white); color: var(--green-600); border: 1px solid var(--green-600); padding: 14px 26px; }
.btn--outline:hover { background: var(--green-50b); }
.btn--white { background: var(--white); color: var(--green-600); padding-inline: 24px; }
.btn--white:hover { background: var(--green-50b); }
.btn--sm { padding: 12px 22px; font-size: 15px; line-height: 22.7px; box-shadow: none; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--white); border-bottom: 1px solid var(--border);
  padding-block: 15px 14px;                             /* 87px total incl. 1px border, used on every page */
}
.site-header__inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; column-gap: 24px; }
.site-header__logo img { width: 101px; height: 56px; object-fit: contain; }
.site-nav { display: flex; flex-wrap: wrap; gap: 26px; }
.site-nav a {
  font-size: 15px; line-height: 22.7px; color: var(--ink);
  padding-bottom: 4px; border-bottom: 2px solid transparent;
}
.site-nav a:hover { color: var(--green-600); }
.site-nav a.is-active { color: var(--green-600); font-weight: 600; border-bottom-color: var(--green-600); }
.site-header__actions { display: flex; align-items: center; gap: 14px; }
.site-header__phone { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 600; line-height: 22.7px; color: var(--green-900); }
.site-header__toggle { display: none; }

/* ---------- Footer ---------- */
.site-footer { background: var(--surface-footer); padding: 72px 0 24px; }
.site-footer__top { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 32px 24px; }
.site-footer__brand { width: 300px; }
.site-footer__logo img { width: 117px; height: 65px; object-fit: contain; }
.site-footer__brand p { margin-top: 15.4px; font-size: 14px; line-height: 23.8px; color: var(--text); }
.site-footer__brand p strong { font-weight: 600; color: var(--green-600); }
.site-footer__social { display: flex; gap: 10px; margin-top: 16.2px; }
.site-footer__social a { transition: transform .15s ease; }
.site-footer__social a:hover { transform: translateY(-2px); }
.site-footer__col { display: flex; flex-direction: column; gap: 10px; font-size: 14px; line-height: 21.2px; color: var(--text); }
.site-footer__col h3 { font-family: var(--font-body); font-size: 15px; line-height: 22.7px; color: var(--green-600); }
.site-footer__col a:hover { color: var(--green-600); }
.site-footer__col--contact { width: 235px; }
.site-footer__bottom {
  margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--border);
  text-align: center; font-size: 14px; line-height: 21.2px; color: var(--text-muted);
}

/* ---------- CTA band (shared by 6 pages) ---------- */
.cta-band { padding-block: 35px; }
.cta-band__box {
  position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 24px;
  padding: 44px 48px; border-radius: var(--r-24); background: var(--green-600);
}
.cta-band__bg {
  position: absolute; top: 0; right: 0; width: 541.3px; height: 100%; overflow: hidden; opacity: .3;
  -webkit-mask-image: linear-gradient(to left, #000 30%, transparent 100%);
          mask-image: linear-gradient(to left, #000 30%, transparent 100%);
}
.cta-band__text { position: relative; display: flex; flex-direction: column; gap: 8px; }
.cta-band__text h2 { font-size: 34px; line-height: 44.2px; color: var(--white); }
.cta-band__text p { font-size: 16px; line-height: 24.2px; color: var(--green-150); }
.cta-band__actions { position: relative; display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Desktop-only line breaks (Figma breaks lines at fixed widths) ---------- */
@media (max-width: 900px) { .br-d { display: none; } }

/* ---------- Responsive: header & footer ---------- */
@media (max-width: 1180px) {
  .site-nav { gap: 18px; }
  .site-header__phone { display: none; }
}
@media (max-width: 980px) {
  .site-header { padding-block: 12px; }
  .site-header__toggle {
    display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
    width: 44px; height: 44px; padding: 10px; border-radius: var(--r-12); background: var(--green-50b);
  }
  .site-header__toggle span { height: 2px; background: var(--green-900); border-radius: 2px; transition: transform .2s, opacity .2s; }
  .site-header__actions { margin-left: auto; margin-right: 12px; }
  .site-nav {
    order: 3; flex-basis: 100%; flex-direction: column; gap: 0;
    max-height: 0; overflow: hidden; transition: max-height .25s ease;
  }
  .site-header.is-open .site-nav { max-height: 480px; margin-top: 12px; }
  .site-nav a { padding: 12px 0; border-bottom: 1px solid var(--border); }
  .site-nav a.is-active { border-bottom-color: var(--border); }
  .site-header.is-open .site-header__toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .site-header.is-open .site-header__toggle span:nth-child(2) { opacity: 0; }
  .site-header.is-open .site-header__toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .site-footer { padding-top: 48px; }
  .site-footer__brand { width: 100%; }
}
@media (max-width: 560px) {
  .site-header__actions .btn { display: none; }
  .site-footer__col, .site-footer__col--contact { width: calc(50% - 12px); }
  .cta-band__box { padding: 32px 24px; }
  .cta-band__text h2 { font-size: 26px; line-height: 1.3; }
}

/* review H-03: price table suspended -> factor list */
.rate__hold { padding: 28px 32px 26px; border: 1px solid var(--border); border-radius: var(--r-14); background: #fff; box-shadow: 0 12px 30px rgba(21, 37, 28, .08); }
.rate__hold h3 { font-size: 22px; line-height: 30px; color: var(--green-700); }
.rate__hold ul { display: grid; gap: 14px; margin: 18px 0 16px; }
.rate__hold li { display: flex; flex-direction: column; gap: 2px; padding-left: 14px; border-left: 3px solid var(--orange-500, #F97316); }
.rate__hold li b { font-size: 16px; line-height: 24px; color: var(--ink); }
.rate__hold li span { font-size: 15px; line-height: 24px; color: var(--text); }
.move__price .is-text { font-size: 22px; line-height: 30px; }
