/* Yangtalad sync 007: the shared shop-sign palette and type, with the compact branch content. */
@font-face { font-family: "Plex Looped"; font-weight: 400; font-display: swap;
  src: url(/assets/fonts/ibm-plex-sans-thai-looped-thai-400-normal.woff2) format("woff2");
  unicode-range: U+02D7,U+0303,U+0331,U+0E01-0E5B,U+200C-200D,U+25CC; }
@font-face { font-family: "Plex Looped"; font-weight: 400; font-display: swap;
  src: url(/assets/fonts/ibm-plex-sans-thai-looped-latin-400-normal.woff2) format("woff2");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Plex Looped"; font-weight: 600; font-display: swap;
  src: url(/assets/fonts/ibm-plex-sans-thai-looped-thai-600-normal.woff2) format("woff2");
  unicode-range: U+02D7,U+0303,U+0331,U+0E01-0E5B,U+200C-200D,U+25CC; }
@font-face { font-family: "Plex Looped"; font-weight: 600; font-display: swap;
  src: url(/assets/fonts/ibm-plex-sans-thai-looped-latin-600-normal.woff2) format("woff2");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Mitr"; font-weight: 600; font-display: swap;
  src: url(/assets/fonts/mitr-thai-600-normal.woff2) format("woff2");
  unicode-range: U+02D7,U+0303,U+0331,U+0E01-0E5B,U+200C-200D,U+25CC; }
@font-face { font-family: "Mitr"; font-weight: 600; font-display: swap;
  src: url(/assets/fonts/mitr-latin-600-normal.woff2) format("woff2");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Mitr"; font-weight: 700; font-display: swap;
  src: url(/assets/fonts/mitr-thai-700-normal.woff2) format("woff2");
  unicode-range: U+02D7,U+0303,U+0331,U+0E01-0E5B,U+200C-200D,U+25CC; }
@font-face { font-family: "Mitr"; font-weight: 700; font-display: swap;
  src: url(/assets/fonts/mitr-latin-700-normal.woff2) format("woff2");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }

:root {
  --blue: #1a5cad;
  --blue-deep: #0e3f93;
  --blue-pale: #eaf2fb;
  --blue-text-light: #e3edf9;
  --ink: #1f2933;
  --ink-2: #4a5568;
  --rule: #c9d7e8;
  --green: #157a3f;
  --green-deep: #0f5f30;
  --pending-bg: #f8edce;
  --pending-ink: #674b19;
  --gutter: 20px;
  --sans: "Plex Looped", "IBM Plex Sans Thai Looped", Tahoma, sans-serif;
  --display: "Mitr", "Plex Looped", Tahoma, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-block: 24px; }
body { margin: 0; background: #fff; color: var(--ink); font-family: var(--sans); font-size: 1.125rem; line-height: 1.7; overflow-wrap: anywhere; container: page / inline-size; }
img { display: block; max-width: 100%; height: auto; }
svg { display: inline-block; vertical-align: middle; }
a { color: var(--blue); text-underline-offset: .2em; text-decoration-thickness: 1.5px; }
a:hover, a:active { color: var(--blue-deep); text-decoration-thickness: 2.5px; }
:focus-visible { outline: 3px solid var(--blue-deep); outline-offset: 2px; }
h1, h2, h3 { margin: 0 0 .5em; line-height: 1.35; overflow-wrap: anywhere; }
h1, h2 { font-family: var(--display); font-weight: 700; color: var(--blue); }
h1 { font-size: clamp(2.125rem, 1.5rem + 2.5vw, 3.25rem); }
h2 { font-size: clamp(1.625rem, 1.25rem + 1.5vw, 2.125rem); }
h3 { font-size: 1.25rem; font-weight: 600; }
p { margin: 0 0 1em; }
strong, b { font-weight: 600; }
summary { cursor: pointer; list-style: none; }
summary::-webkit-details-marker { display: none; }
dl, dd { margin: 0; }
button, a, summary { -webkit-tap-highlight-color: transparent; }
.wrap { width: min(100%, 1200px); padding-inline: var(--gutter); margin-inline: auto; }
.icon { width: 24px; height: 24px; flex: 0 0 auto; }
.skip { position: absolute; left: 12px; top: -240px; padding: 12px 18px; background: #fff; z-index: 60; max-width: calc(100% - 24px); }
.skip:focus { top: 12px; }
.phone-number { font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }

/* The branch sign and opening actions remain in the normal document flow. */
.site-head { border-bottom: 1px solid var(--rule); }
.sign { background: var(--blue); color: #fff; }
.sign__row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 32px; padding-block: 16px 10px; }
.brand { display: block; flex: 1 1 auto; min-width: 0; color: #fff; text-decoration: none; overflow-wrap: break-word; }
.brand:hover, .brand:active { color: #fff; }
.brand:hover .brand__name, .brand:active .brand__name { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .15em; }
.brand__name { display: block; font-family: var(--display); font-weight: 700; font-size: 1.625rem; line-height: 1.3; }
.brand__descriptor { display: block; color: var(--blue-text-light); font-size: 1.125rem; line-height: 1.5; margin-top: 4px; }
.sign__actions { display: flex; flex-wrap: wrap; flex: 1 1 100%; gap: 10px; min-width: 0; }
.sign__call, .btn { display: flex; align-items: center; justify-content: center; gap: 8px; min-width: 0; min-height: 56px; padding: 10px 12px; border: 2px solid transparent; border-radius: 8px; font-weight: 600; font-size: 1.125rem; line-height: 1.4; text-align: center; text-decoration: none; }
.sign__call { flex: 2 1 13.5rem; gap: 6px; padding-inline: 8px; color: #fff; border-color: var(--blue-text-light); }
.sign__call .phone-number { font-size: 1.25rem; }
.sign__call > span, .btn > span { min-width: 0; }
.sign__actions .icon { width: 20px; height: 20px; }
.sign__call:hover, .sign__call:active { background: var(--blue-deep); color: #fff; }
.btn--line { background: var(--green); color: #fff; }
.btn--line:hover, .btn--line:active { background: var(--green-deep); color: #fff; }
.sign__line { flex: 1 1 7.75rem; gap: 6px; padding-inline: 8px; border-color: #fff; }
.sign :focus-visible, .footer :focus-visible { outline-color: #fff; }
.sign__call:focus-visible, .sign__line:focus-visible { outline-offset: -6px; }
.nav ul { list-style: none; margin: 0; padding: 0; }
.nav a { display: flex; align-items: center; min-height: 48px; padding: 10px 12px; color: #fff; font-weight: 600; text-decoration: none; }
.nav a:hover, .nav a:active, .nav a[aria-current="page"] { color: #fff; background: var(--blue-deep); }
.nav__mobile { padding-bottom: 10px; }
.nav__mobile summary { display: flex; align-items: center; gap: 9px; width: fit-content; min-height: 48px; padding: 6px 12px; border: 2px solid #fff; border-radius: 8px; color: #fff; font-weight: 600; }
.nav__mobile summary:hover, .nav__mobile[open] summary { background: var(--blue-deep); }
.nav__mobile summary .icon { width: 20px; height: 20px; }
.nav__mobile ul { padding-top: 10px; }
.nav__mobile li + li { border-top: 1px solid #5b86c9; }
.nav .nav__desktop { display: none; }

/* The real sign comes first, edge to edge on phones. Preserve its complete 4:3 frame. */
.hero { padding-bottom: 36px; border-bottom: 1px solid var(--rule); }
.hero__inner { display: grid; }
.hero__text { min-width: 0; padding: 24px var(--gutter) 0; }
.hero h1 { margin-bottom: 14px; }
.hero h1 span { display: block; }
.hero__services { max-width: 29em; margin-bottom: 16px; }
.hero__address { display: flex; gap: 8px; align-items: start; color: var(--ink-2); margin: 0; }
.hero__address .icon { margin-top: 3px; width: 20px; height: 20px; }
.hero__address span, .hero__photo, .page__photo { min-width: 0; }
.photo { margin: 0; }
.photo picture { display: block; }
.photo img { width: 100%; height: auto; aspect-ratio: 4 / 3; background: var(--blue-pale); }
.photo figcaption { padding: 10px var(--gutter) 0; color: var(--ink-2); font-size: 1.125rem; line-height: 1.5; }

/* Keep the two compact sections and the single complete set of branch contacts. */
.home-details { display: grid; gap: 28px; padding-block: 32px 36px; }
.decision h2 { margin-bottom: 18px; }
.terms { margin: 0 0 18px; border-top: 2px solid var(--blue); }
.terms__row { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 16px; padding: 16px 0; border-bottom: 1px solid var(--rule); }
.terms dt { flex: 1 1 8rem; color: var(--ink-2); }
.terms dd { min-width: 0; flex: 1 1 6rem; font-weight: 600; color: var(--blue); }
.decision__note { margin-bottom: 10px; }
.text-link { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding-block: 8px; font-weight: 600; }
.text-link .icon { width: 20px; height: 20px; }
.contact-panel { padding: 24px 20px 18px; background: var(--blue-pale); border-radius: 10px; }
.contact-panel h2 { margin-bottom: 10px; }
.contact-panel__note { color: var(--ink-2); margin-bottom: 14px; }
.contact-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 8rem), 1fr)); gap: 0 16px; }
.contact-facts > div { min-width: 0; padding-block: 12px; border-top: 1px solid var(--rule); }
.contact-facts dt { color: var(--ink-2); }
.contact-facts dd { margin: 2px 0 0; min-width: 0; }
.contact-facts a { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding-block: 6px; max-width: 100%; font-weight: 600; }
.contact-facts a span { min-width: 0; }
.contact-phone { font-variant-numeric: tabular-nums; white-space: nowrap; }
.contact-facts__address, .contact-facts__social { grid-column: 1 / -1; }
.contact-facts__social { display: flex; flex-wrap: wrap; gap: 0 12px; align-items: center; }
.contact-facts__social dt { flex: 0 0 4.2rem; }
.contact-facts__social dd { flex: 1 1 12rem; }
.contact-facts__social .icon { width: 18px; height: 18px; }
.contact-panel > .text-link { margin-top: 6px; }

/* Inner pages keep the approved reading order and a supporting sign photograph. */
.page { padding-block: 22px 36px; }
.page__grid { display: grid; gap: 28px; }
.page__main { min-width: 0; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; color: var(--ink-2); margin-bottom: 12px; }
.breadcrumb a { display: inline-flex; align-items: center; min-height: 44px; }
.page__head h1 { margin-bottom: 14px; }
.page__lead { color: var(--ink-2); margin-bottom: 22px; }
.page__body > :first-child { margin-top: 0; }
.page__body > h2 { font-size: 1.625rem; margin-block: 28px 12px; }
.page__body > p { margin-bottom: 18px; }
.service-summary { color: var(--blue); font-weight: 600; }
.page__body .terms { margin-block: 20px 0; }
.page__contact { margin-top: 28px; }
.page__contact h2 { margin-bottom: 12px; }
.page__photo { align-self: start; }
.page__photo .photo img { border-radius: 8px; }
.page__photo .photo figcaption { padding-inline: 0; }
.docs, .steps, .channels { padding-left: 1.5em; }
.docs li, .steps li, .channels li { margin-bottom: 12px; }

/* The awning blue is reserved for the footer; no repeated lender or contact blocks. */
.footer { background: var(--blue-deep); color: #fff; }
.footer a, .footer a:hover, .footer a:active, .footer h2 { color: #fff; }
.footer a:hover, .footer a:active { text-decoration-thickness: 3px; }
.footer__information { display: grid; gap: 26px; padding-block: 36px 24px; }
.lender-note h2 { font-family: var(--sans); font-size: 1.25rem; font-weight: 600; margin-bottom: 10px; }
.lender-note p { margin-bottom: 10px; }
.lender-note p:last-child { margin-bottom: 0; }
.lender-note a { display: inline-block; padding-block: 6px; min-height: 44px; }
.payment-note { display: flex; gap: 10px; align-items: start; padding-top: 22px; border-top: 1px solid #5b86c9; }
.payment-note .icon { margin-top: 3px; width: 22px; height: 22px; }
.payment-note p { margin: 0; }
.footer__bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px; padding-block: 18px 28px; border-top: 1px solid #5b86c9; }
.footer__brand { display: inline-flex; align-items: center; min-height: 44px; font-family: var(--display); font-size: 1.5rem; font-weight: 700; text-decoration: none; }
.footer__bottom p { margin: 0; }

/* Review controls stay visible, without restoring any hidden business information. */
.preview-banner { padding-inline: var(--gutter); background: var(--pending-bg); color: var(--pending-ink); border-bottom: 1px solid #b39969; }
.preview-banner summary { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 44px; padding-block: 6px; text-align: center; }
.preview-banner summary::after { content: "+"; font-size: 1.25rem; }
.preview-banner[open] summary::after { content: "−"; }
.preview-banner p { max-width: 1120px; margin: 0 auto; padding-block: 10px 18px; }
.pending, .unconfirmed__label, .preview-note { background: var(--pending-bg); color: var(--pending-ink); }
.pending { display: inline-block; padding: 2px 6px; border: 1px dashed currentColor; }
.unconfirmed { text-decoration: underline dotted; }
.unconfirmed__label { display: block; width: fit-content; padding: 2px 6px; line-height: 1.5; }

@media (min-width: 600px) {
  :root { --gutter: 32px; }
  .brand__name { font-size: 1.875rem; }
  .sign__row { padding-block: 18px 12px; }
  .sign__actions { flex: 0 1 auto; }
  .home-details { gap: 36px; padding-block: 40px 48px; }
  .contact-facts__social dt { flex-basis: 5rem; }
  .page { padding-block: 30px 48px; }
  .page__photo { max-width: 540px; }
}
@media (min-width: 1000px) {
  :root { --gutter: 40px; }
  .sign__row { padding-block: 18px; }
  .brand__name { font-size: 2rem; }
  .sign__actions { margin-left: auto; }
  .sign__call { flex: 0 1 auto; padding-inline: 18px; font-size: 1.25rem; }
  .sign__call .phone-number { font-size: 1.5rem; }
  .sign__line { flex: 0 1 auto; font-size: 1.25rem; padding-inline: 18px; }
  .sign__actions .icon { width: 24px; height: 24px; }
  .nav { background: #fff; }
  .nav__mobile { display: none; }
  .nav .nav__desktop { display: flex; flex-wrap: wrap; gap: 0 28px; }
  .nav__desktop a { min-height: 56px; padding: 14px 0 11px; border-bottom: 3px solid transparent; color: var(--ink); }
  .nav__desktop a:hover, .nav__desktop a:active, .nav__desktop a[aria-current="page"] { color: var(--blue); background: transparent; }
  .nav__desktop a[aria-current="page"] { border-bottom-color: var(--blue); }
  .nav :focus-visible { outline-color: var(--blue-deep); }
  .hero { padding-bottom: 48px; }
  .hero__inner { width: min(100%, 1200px); margin-inline: auto; padding: 44px var(--gutter) 0; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 56px; align-items: center; }
  .hero__photo .photo img { border-radius: 10px; }
  .photo figcaption { padding-inline: 0; }
  .hero__text { padding: 0; }
  .hero__services { margin-bottom: 24px; }
  .home-details { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 56px; }
  .contact-panel { padding: 26px 28px 20px; }
  .footer__information { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 64px; padding-block: 44px 30px; }
  .payment-note { padding-top: 0; border-top: 0; align-self: center; }
  .page__grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 56px; }
  .page__head h1 { font-size: 2.5rem; }
  .page__photo { margin-top: 56px; max-width: none; }
  .page__contact { margin-top: 32px; }
}
/* Container em units follow enlarged text. The full phone number stays together. */
@container page (width < 17em) {
  .sign__call { padding-inline: 8px; }
  .sign__call .phone-number { font-size: 1rem; }
  .contact-facts { grid-template-columns: minmax(0, 1fr); }
  .contact-panel { padding-inline: 12px; }
  .contact-phone { font-size: 1rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}
@media print {
  .nav, .preview-banner { display: none; }
  .sign, .footer { background: #fff; color: var(--ink); }
  .sign a, .footer a, .footer h2, .brand__descriptor { color: var(--ink); }
  .hero__inner, .page__grid { display: block; }
}
