/* Shared styles for the Fluffy Laundry public website (Home, Pricing, About, Contact) in EN / TH / KO / ZH. */

/* ---------- Header: follows the visitor down the page, soft shadow lifts it off the white background ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.97); backdrop-filter: saturate(1.4) blur(8px); -webkit-backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid #E3ECF2; box-shadow: 0 4px 16px -4px rgba(6,74,102,.16), 0 1px 3px rgba(6,74,102,.06); }
.sh-inner { max-width: 1080px; margin: 0 auto; padding: 0 20px; height: 64px; display: flex; align-items: center; gap: 16px; }
.sh-logo { display: flex; align-items: center; flex: 0 0 auto; text-decoration: none; }
.sh-logo img { height: 40px; width: auto; display: block; }
.sh-nav { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.sh-nav > a { font-family: 'Inter', -apple-system, "Segoe UI", Roboto, Arial, sans-serif; font-size: 14.5px; font-weight: 600; color: #064A66; text-decoration: none; padding: 9px 12px; border-radius: 10px; white-space: nowrap; }
.sh-nav > a:hover { background: #E8F3F7; }
.sh-nav > a[aria-current="page"] { background: #E8F3F7; }
.sh-lang { display: flex; align-items: center; gap: 2px; margin-left: 0; flex: 0 0 auto; padding: 3px; background: #EEF4F8; border-radius: 999px; }
.sh-lang a { font-family: 'Inter', -apple-system, "Segoe UI", Roboto, Arial, sans-serif; font-size: 12.5px; font-weight: 700; color: #064A66; text-decoration: none; padding: 5px 10px; border-radius: 999px; line-height: 1.2; white-space: nowrap; }
.sh-lang-m { display: none; }
.sh-lang a:hover { background: #fff; }
.sh-lang a.on { background: #09678D; color: #fff; }
.sh-book { flex: 0 0 auto; font-family: 'Inter', -apple-system, "Segoe UI", Roboto, Arial, sans-serif; background: #09678D; color: #fff !important; font-weight: 700; font-size: 14.5px; padding: 10px 18px; border-radius: 12px; text-decoration: none; white-space: nowrap; box-shadow: 0 6px 16px rgba(9,103,141,.25); }
.sh-burger { display: none; flex: 0 0 auto; width: 42px; height: 42px; border: 1px solid #DCE6EE; background: #fff; border-radius: 12px; cursor: pointer; align-items: center; justify-content: center; padding: 0; }
.sh-burger svg { width: 20px; height: 20px; stroke: #064A66; }
.sh-burger .x { display: none; }
.sh-open .sh-burger .x { display: block; }
.sh-open .sh-burger .b { display: none; }

@media (max-width: 900px) {
  .sh-inner { height: 58px; gap: 10px; padding: 0 16px; }
  .sh-logo img { height: 34px; }
  .sh-burger { display: flex; }
  .sh-book { margin-left: auto; padding: 9px 14px; font-size: 14px; }
  .sh-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; margin: 0; flex-direction: column; align-items: stretch; gap: 2px; background: #fff; border-bottom: 1px solid #DCE6EE; padding: 8px 16px 16px; box-shadow: 0 18px 24px -14px rgba(6,74,102,.28); }
  .sh-open .sh-nav { display: flex; }
  .sh-nav > a { padding: 13px 14px; font-size: 16px; }
  .sh-lang-d { display: none; }
  .sh-lang-m { display: flex; margin: 10px 0 0; justify-content: space-between; padding: 4px; }
  .sh-lang a { flex: 1; text-align: center; font-size: 14px; padding: 9px 6px; }
}
@media (max-width: 360px) {
  .sh-book { padding: 8px 11px; font-size: 13px; }
  .sh-logo img { height: 30px; }
}

/* anchors (#pricing, #zones, #map) must not hide under the sticky header */
[id] { scroll-margin-top: 84px; }

/* ---------- Footer language row ---------- */
.footer-lang { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; font-size: 13px; }
.footer-lang a { text-decoration: none; color: #064A66; font-weight: 600; padding: 6px 12px; border-radius: 999px; background: #EEF4F8; }
.footer-lang a.on { background: #09678D; color: #fff; }

/* ---------- Per-language typography ---------- */
html[lang="th"] body, html[lang="th"] button { font-family: 'Noto Sans Thai', 'Inter', -apple-system, "Segoe UI", Roboto, Arial, sans-serif; line-height: 1.6; }
html[lang="th"] h1, html[lang="th"] h2, html[lang="th"] h3, html[lang="th"] .amount, html[lang="th"] .fee, html[lang="th"] .hero-headline, html[lang="th"] .hero-sub, html[lang="th"] .step-mark { font-family: 'Noto Sans Thai', 'Inter', sans-serif !important; font-weight: 600 !important; line-height: 1.35; }
html[lang="th"] .sh-nav > a, html[lang="th"] .sh-book, html[lang="th"] .sh-lang a { font-family: 'Noto Sans Thai', 'Inter', sans-serif; }
html[lang="ko"] body { font-family: 'Noto Sans KR', 'Inter', -apple-system, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif; word-break: keep-all; line-height: 1.6; }
html[lang="ko"] h1, html[lang="ko"] h2, html[lang="ko"] h3, html[lang="ko"] .amount, html[lang="ko"] .fee, html[lang="ko"] .hero-headline, html[lang="ko"] .hero-sub, html[lang="ko"] .step-mark { font-family: 'Noto Sans KR', 'Inter', sans-serif !important; font-weight: 700 !important; line-height: 1.35; }
html[lang="ko"] .sh-nav > a, html[lang="ko"] .sh-book, html[lang="ko"] .sh-lang a { font-family: 'Noto Sans KR', 'Inter', sans-serif; }
html[lang="zh-Hans"] body { font-family: 'Noto Sans SC', 'Inter', -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif; line-height: 1.65; }
html[lang="zh-Hans"] h1, html[lang="zh-Hans"] h2, html[lang="zh-Hans"] h3, html[lang="zh-Hans"] .amount, html[lang="zh-Hans"] .fee, html[lang="zh-Hans"] .hero-headline, html[lang="zh-Hans"] .hero-sub, html[lang="zh-Hans"] .step-mark { font-family: 'Noto Sans SC', 'Inter', sans-serif !important; font-weight: 700 !important; line-height: 1.35; }
html[lang="zh-Hans"] .sh-nav > a, html[lang="zh-Hans"] .sh-book, html[lang="zh-Hans"] .sh-lang a { font-family: 'Noto Sans SC', 'Inter', sans-serif; }
html[lang="th"] .amount, html[lang="ko"] .amount, html[lang="zh-Hans"] .amount, html[lang="th"] .fee, html[lang="ko"] .fee, html[lang="zh-Hans"] .fee { font-family: 'Quicksand', 'Inter', sans-serif !important; font-weight: 700 !important; }

/* ---------- Page polish ---------- */
body { background: #fff !important; }
.hero { background: linear-gradient(180deg, #E8F3F7 0%, #FFFFFF 100%); }
@media (max-width: 600px) {
  section { padding: 40px 0 !important; }
  .hero { padding-top: 32px !important; }
  .cta-band { padding: 44px 0 56px !important; }
  .section-head { margin-bottom: 22px; }
}

/* Safety net for every device. "clip" (not "hidden") keeps the sticky header working. */
html, body { overflow-x: clip; }
img, iframe, svg, video { max-width: 100%; }
body { -webkit-text-size-adjust: 100%; }
a, button { -webkit-tap-highlight-color: transparent; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto !important; } }

/* ---------- 24-hour guarantee box (solid) ---------- */
.guarantee { display: flex; gap: 14px; align-items: flex-start; background: #064A66; color: #fff; border-radius: 18px; padding: 18px 20px; margin: 18px 0 0; box-shadow: 0 14px 28px -14px rgba(6,74,102,.6); }
.guarantee .g-ico { flex: 0 0 42px; width: 42px; height: 42px; border-radius: 50%; background: rgba(255,255,255,.16); display: flex; align-items: center; justify-content: center; }
.guarantee .g-ico svg { width: 23px; height: 23px; stroke: #fff; }
.guarantee .g-t { font-size: 17px; font-weight: 700; margin-bottom: 4px; color: #fff; }
.guarantee .g-b { font-size: 14.5px; line-height: 1.55; color: #D6E8F1; }
@media (max-width: 600px) { .guarantee { padding: 16px; gap: 12px; } .guarantee .g-t { font-size: 16px; } .guarantee .g-b { font-size: 14px; } }

/* ---------- Footer ---------- */
footer.site-footer { background: #064A66; color: #D6E8F1; border-top: 0; padding: 0; margin-top: 24px; position: relative; }
footer.site-footer::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: linear-gradient(90deg, #1BAF7A, #0a7fb0, #6250d6); }
.sf-wrap { max-width: 1080px; margin: 0 auto; padding: 48px 20px 22px; }
.sf-grid { display: grid; grid-template-columns: 1.5fr 1fr 1.5fr 1fr; gap: 36px; }
.sf-logo { display: inline-flex; background: #fff; border-radius: 14px; padding: 8px 12px; margin-bottom: 14px; }
.sf-logo img { height: 40px; width: auto; display: block; }
.sf-name { font-weight: 700; font-size: 16px; color: #fff; margin-bottom: 4px; }
.sf-svc { font-size: 13.5px; color: #B7D3E2; margin-bottom: 18px; }
.sf-cta { display: inline-block; background: #fff; color: #064A66; font-weight: 700; font-size: 14.5px; text-decoration: none; padding: 11px 20px; border-radius: 12px; box-shadow: 0 8px 18px -8px rgba(0,0,0,.4); }
.sf-cta:hover { background: #E8F3F7; }
.sf-col h3 { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: #8FC0D8; margin-bottom: 14px; font-weight: 700; }
.sf-col > a { display: block; color: #fff; text-decoration: none; font-size: 14.5px; font-weight: 600; padding: 5px 0; }
.sf-col > a:hover, .sf-list a:hover { text-decoration: underline; }
.sf-list { list-style: none; display: grid; gap: 10px; margin-bottom: 14px; }
.sf-list li { display: flex; gap: 10px; align-items: center; font-size: 14.5px; color: #D6E8F1; }
.sf-list a { color: #fff; text-decoration: none; font-weight: 600; }
.sf-ico { flex: 0 0 30px; width: 30px; height: 30px; border-radius: 9px; background: rgba(255,255,255,.1); display: inline-flex; align-items: center; justify-content: center; }
.sf-ico svg { width: 17px; height: 17px; stroke: #fff; }
.sf-addr { font-style: normal; font-size: 13px; line-height: 1.55; color: #B7D3E2; }
.sf-langs { display: flex; flex-wrap: wrap; gap: 8px; }
.sf-langs a { color: #fff; text-decoration: none; font-size: 13.5px; font-weight: 600; padding: 7px 14px; border-radius: 999px; border: 1px solid rgba(255,255,255,.28); }
.sf-langs a:hover { background: rgba(255,255,255,.12); }
.sf-langs a.on { background: #fff; color: #064A66; border-color: #fff; }
.sf-bottom { margin-top: 36px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.16); font-size: 12.5px; color: #8FC0D8; }
@media (max-width: 900px) { .sf-grid { grid-template-columns: 1fr 1fr; gap: 30px 24px; } .sf-brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .sf-wrap { padding: 38px 16px 20px; } .sf-grid { grid-template-columns: 1fr; gap: 28px; } }
html[lang="th"] .sf-col h3 { text-transform: none; letter-spacing: 0; font-size: 14px; }
html[lang="ko"] .sf-col h3, html[lang="zh-Hans"] .sf-col h3 { text-transform: none; letter-spacing: .02em; font-size: 14px; }

/* ---- "Book a pickup" buttons: colour floods in from where the pointer entered ---- */
a.origin-btn { position: relative; overflow: hidden; isolation: isolate; transition: color .3s cubic-bezier(.16,1,.3,1), transform .2s cubic-bezier(.16,1,.3,1); -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
a.origin-btn .of-fill { position: absolute; z-index: -1; left: 0; top: 0; width: 0; height: 0; border-radius: 50%; background: var(--of-fill, #064A66); pointer-events: none; transform: translate(-50%, -50%) scale(0); transition: transform .5s cubic-bezier(.16,1,.3,1); will-change: transform; }
a.origin-btn.of-on .of-fill { transform: translate(-50%, -50%) scale(1); }
a.origin-btn .of-label { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: inherit; }
a.origin-btn.of-press { transform: scale(.985); }
a.origin-btn:focus-visible { outline: 3px solid rgba(9,103,141,.35); outline-offset: 3px; }
a.origin-btn.sh-book, a.origin-btn.btn-primary, a.origin-btn.sf-cta { --of-fill: #09678D; background: #b0d9f4; color: #064A66 !important; box-shadow: 0 8px 20px -10px rgba(9,103,141,.45); }
a.origin-btn.sh-book.of-on, a.origin-btn.btn-primary.of-on, a.origin-btn.sf-cta.of-on { color: #fff !important; }
@media (prefers-reduced-motion: reduce) { a.origin-btn, a.origin-btn .of-fill { transition: none; } }
