/* Generated from Ruk-Com Home styles.css + home.css. Regenerate: node tools/sync-home-footer.mjs */
#site-footer, #site-footer :where(*:not(svg, svg *), *::before, *::after) { all: revert; box-sizing: border-box; }
#site-footer {
  /* brand blues */
  --blue-50:  #F0F6FF;
  --blue-100: #DBE8FF;
  --blue-200: #BFD4FF;
  --blue-300: #93B4FF;
  --blue-400: #6B95FF;
  --blue-500: #3B6FF1;
  --blue-600: #2356E8;
  --blue-700: #1B43BD;
  --blue-800: #1A3691;
  --blue-900: #142B73;

  --sky-100: #E0F2FE;
  --sky-200: #BAE6FD;
  --sky-300: #7DD3FC;
  --sky-400: #38BDF8;
  --sky-500: #0EA5E9;

  --mint-100: #D1FAE5;
  --mint-300: #6EE7B7;
  --mint-500: #10B981;

  --amber-100: #FEF3C7;
  --amber-400: #FBBF24;
  --amber-500: #F59E0B;

  /* AI accent — violet/magenta for AI features */
  --ai-100: #F3E8FF;
  --ai-200: #E9D5FF;
  --ai-400: #C084FC;
  --ai-500: #A855F7;
  --ai-600: #9333EA;

  /* surfaces */
  --paper:     #FFFFFF;
  --paper-50:  #FAFBFE;
  --paper-100: #F4F7FD;
  --paper-200: #ECF1FA;

  --tint:      #F0F6FF;
  --tint-2:    #E8F1FF;

  --line:        #E5ECF7;
  --line-strong: #CFD9EC;

  /* text */
  --ink:         #0B1730;
  --ink-soft:    #19264A;
  --text:        #1E2A4A;
  --muted:       #54618A;
  --faint:       #8590B0;
  --invert:      #FFFFFF;

  /* sizing */
  --container: 1240px;
  --container-narrow: 920px;
  --radius-sm:  8px;
  --radius:     12px;
  --radius-lg:  18px;
  --radius-xl:  24px;
  --radius-2xl: 32px;

  /* fonts */
  --font:      'Plus Jakarta Sans', 'Anuphan', system-ui, sans-serif;
  --font-thai: 'Anuphan', 'Plus Jakarta Sans', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;

  /* shadows — layered (near-crisp + far-diffuse) for cleaner depth */
  --shadow-xs: 0 1px 2px rgba(20, 43, 115, 0.05);
  --shadow-sm: 0 1px 2px rgba(20, 43, 115, 0.06), 0 2px 4px rgba(20, 43, 115, 0.05);
  --shadow:    0 2px 4px rgba(20, 43, 115, 0.05), 0 6px 14px -4px rgba(20, 43, 115, 0.12);
  --shadow-md: 0 4px 8px rgba(20, 43, 115, 0.06), 0 12px 28px -8px rgba(20, 43, 115, 0.16);
  --shadow-lg: 0 8px 16px rgba(20, 43, 115, 0.08), 0 24px 48px -12px rgba(20, 43, 115, 0.20);
  --shadow-brand: 0 8px 24px -6px rgba(35, 86, 232, 0.28);
  --shadow-blue: 0 6px 18px -6px rgba(59, 111, 241, 0.24);
  --shadow-ai:   0 8px 24px -6px rgba(168, 85, 247, 0.26);

  /* motion primitives */
  --ease-out:    cubic-bezier(.2, .8, .2, 1);
  --ease-spring: cubic-bezier(.34, 1.56, .64, 1);
  --dur-fast: 150ms;
  --dur:      220ms;
  --dur-slow: 380ms;

  /* === v2: Operations Command Center === */
  /* Dark surface */
  --surface-dark:    #0B1730;
  --surface-dark-2:  #142340;
  --surface-glass:   rgba(255, 255, 255, 0.06);
  --surface-glass-2: rgba(255, 255, 255, 0.10);
  --line-dark:       rgba(255, 255, 255, 0.10);
  --line-dark-2:     rgba(255, 255, 255, 0.18);
  --text-dark:       rgba(255, 255, 255, 0.92);
  --text-dark-muted: rgba(255, 255, 255, 0.62);
  --text-dark-faint: rgba(255, 255, 255, 0.40);

  /* Status colors */
  --status-ok:    #10B981;
  --status-warn:  #F59E0B;
  --status-down:  #EF4444;
  --status-info:  #3B6FF1;

  /* Section spacing */
  --space-section:    80px;
  --space-section-sm: 56px;
  --space-section-lg: 96px;
}
/* ============ BASE ============ */
#site-footer {
  font-family: var(--font);
  color: var(--text);
  background: var(--paper);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: 'ss01', 'cv11';
  overflow-x: hidden;
}
html[lang="th"] #site-footer {
  font-family: var(--font-thai);
}
#site-footer img, #site-footer svg { display: block; max-width: 100%; }
#site-footer a { color: inherit; text-decoration: none; }
#site-footer button { font: inherit; cursor: pointer; }
#site-footer ::selection { background: var(--blue-200); color: var(--blue-900); }
/* ============ TYPOGRAPHY ============ */
#site-footer h1, #site-footer h2, #site-footer h3, #site-footer h4 {
  font-family: var(--font);
  color: var(--ink);
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 0;
  font-weight: 700;
}
[lang="th"] #site-footer h1, [lang="th"] #site-footer h2, [lang="th"] #site-footer h3, [lang="th"] #site-footer h4 {
  font-family: var(--font-thai);
  letter-spacing: -0.005em;
  line-height: 1.22;
  font-weight: 700;
}
#site-footer h1 { font-size: clamp(2.2rem, 4.6vw, 3.75rem); }
#site-footer h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); }
#site-footer h3 { font-size: clamp(1.15rem, 1.6vw, 1.375rem); }
#site-footer h4 { font-size: 1.05rem; }
#site-footer p { margin: 0 0 1em; color: var(--muted); }
#site-footer .container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
@media (max-width: 560px) {

  #site-footer .footer-cta-actions {
    width: 100%;
  }

  #site-footer .footer-cta-actions a {
    width: 100%;
  }
}
#site-footer.site-footer {
  background:
    radial-gradient(800px 400px at 90% 100%, rgba(168, 85, 247, 0.05), transparent 70%),
    radial-gradient(700px 400px at 10% 100%, rgba(35, 86, 232, 0.06), transparent 70%),
    var(--paper-50);
  border-top: 1px solid var(--line);
  padding: 0 0 32px;
  color: var(--muted);
  position: relative;
}
#site-footer.site-footer::before {
  content: "";
  position: absolute;
  left: 0; right: 0;
  top: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue-600) 0%, var(--ai-600) 50%, #22D3EE 100%);
  pointer-events: none;
  z-index: 1;
}
#site-footer .footer-cta {
  background: linear-gradient(135deg, var(--blue-700) 0%, var(--blue-600) 50%, var(--ai-600) 130%);
  color: white;
  padding: 28px 0;
  margin-bottom: 0;
  position: relative;
  overflow: hidden;
}
#site-footer .footer-cta::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(600px 200px at 90% 50%, rgba(255,255,255,0.16), transparent 70%);
  pointer-events: none;
}
#site-footer .footer-cta-row {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 32px;
}
#site-footer .footer-cta-text strong {
  display: block;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.015em;
  color: white;
  margin-bottom: 4px;
}
#site-footer .footer-cta-text span { color: rgba(255,255,255,0.78); font-size: 14px; }
#site-footer .footer-cta-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
#site-footer .footer-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 999px;
  color: white;
  transition: background .15s, border-color .15s, transform .15s;
}
#site-footer .footer-cta-btn:hover {
  background: rgba(255,255,255,0.22);
  border-color: rgba(255,255,255,0.36);
  transform: translateY(-2px);
}
#site-footer .footer-cta-btn:focus-visible {
  outline: 2px solid rgba(255,255,255,0.8);
  outline-offset: 2px;
  background: rgba(255,255,255,0.22);
}
#site-footer .footer-cta-btn svg { width: 22px; height: 22px; flex: 0 0 auto; opacity: 0.9; }
#site-footer .footer-cta-btn span { display: flex; flex-direction: column; line-height: 1.2; }
#site-footer .footer-cta-btn strong { font-size: 14px; font-weight: 700; letter-spacing: -0.005em; }
#site-footer .footer-cta-btn > span > span { font-size: 11.5px; color: rgba(255,255,255,0.7); font-weight: 500; }
@media (max-width: 880px) {
  #site-footer .footer-cta-row { grid-template-columns: 1fr; }
  #site-footer .footer-cta { padding: 24px 0; }
}
#site-footer .footer-logo { display: inline-block; }
#site-footer .footer-logo img {
  height: 32px;
  width: auto;
  display: block;
}
#site-footer.site-footer h4 {
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
  margin-bottom: 18px;
  letter-spacing: -0.005em;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  position: relative;
  padding-bottom: 10px;
}
#site-footer .footer-contact {
  margin-top: 20px;
  display: flex; flex-direction: column; gap: 12px;
}
#site-footer .footer-contact-row {
  display: grid; grid-template-columns: 18px 1fr; gap: 10px;
  font-size: 13px;
  line-height: 1.55;
}
#site-footer .footer-contact-row svg {
  width: 16px; height: 16px;
  color: var(--blue-500);
  margin-top: 2px;
}
#site-footer .footer-contact-row a { color: var(--muted); transition: color .15s; }
#site-footer .footer-contact-row a:hover { color: var(--blue-600); }
#site-footer .footer-contact-row.footer-taxid { color: var(--faint); font-size: 12.5px; }
#site-footer .footer-contact-row.footer-taxid strong { color: var(--ink); font-family: var(--font-mono); font-weight: 600; }
#site-footer.site-footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; font-size: 14px; }
#site-footer.site-footer ul a {
  color: var(--muted);
  transition: color .15s, padding-left .15s;
  position: relative;
}
#site-footer.site-footer ul a:hover {
  color: var(--blue-600);
  padding-left: 6px;
}
#site-footer.site-footer ul a::before {
  content: "";
  position: absolute;
  left: -8px; top: 50%;
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--blue-500);
  transform: translateY(-50%) scale(0);
  transition: transform .15s;
}
#site-footer.site-footer ul a:hover::before {
  transform: translateY(-50%) scale(1);
}
#site-footer .footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) repeat(4, minmax(0, 1fr));
  gap: 28px;
  padding-top: 48px;
  padding-bottom: 28px;
}
#site-footer .footer-grid .brand-col p { font-size: 13.5px; line-height: 1.6; margin-top: 16px; max-width: 32ch; }
#site-footer.site-footer h4 {
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
  margin-bottom: 18px;
  letter-spacing: -0.005em;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  position: relative;
  padding-bottom: 10px;
}
#site-footer.site-footer h4::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 28px; height: 2px;
  background: var(--blue-500);
  border-radius: 999px;
  transition: width .2s;
}
#site-footer .footer-grid > div:nth-child(3) h4::after { background: var(--sky-500); }
#site-footer .footer-grid > div:nth-child(4) h4::after { background: var(--mint-500); }
#site-footer .footer-grid > div:nth-child(5) h4::after { background: var(--ai-500); }
#site-footer.site-footer .footer-topbar { background: var(--ink); color: var(--text-dark); padding: 12px 0; font-size: 13px; }
#site-footer.site-footer .footer-topbar-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
#site-footer .footer-availability { display: inline-flex; align-items: center; font-weight: 700; font-size: 12px; }
#site-footer.site-footer .footer-hotline { color: var(--text-dark-muted); }
#site-footer.site-footer .footer-hotline a { color: var(--text-dark); margin-left: 4px; }
#site-footer.site-footer .footer-hotline a strong { color: var(--text-dark); font-weight: 800; border-bottom: 1px dotted var(--text-dark-muted); }
#site-footer.site-footer a:focus-visible { outline: 3px solid var(--blue-600); outline-offset: 4px; }
#site-footer.site-footer .footer-cta-btn:focus-visible, #site-footer.site-footer .footer-topbar a:focus-visible { outline-color: var(--text-dark); }
#site-footer .footer-grid > div { min-width: 0; }
#site-footer .footer-group a { overflow-wrap: anywhere; line-height: 1.6; }
#site-footer .footer-all-services { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; color: var(--blue-600); font-size: 13px; font-weight: 700; }
#site-footer .footer-bottom {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding-top: 24px;
  gap: 24px;
  font-size: 13px;
  color: var(--faint);
}
#site-footer .footer-bottom-meta { text-align: right; }
#site-footer .footer-legal {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: row !important; gap: 20px; flex-wrap: wrap;
  justify-content: center;
  font-size: 13px;
}
#site-footer .footer-legal a { color: var(--muted); }
#site-footer .footer-legal a:hover { color: var(--blue-600); }
@media (max-width: 880px) {
  #site-footer .footer-bottom { grid-template-columns: 1fr; text-align: center; }
  #site-footer .footer-bottom-meta { text-align: center; }
}
@media (max-width: 1100px) {
  #site-footer .footer-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; padding-top: 40px; }
  #site-footer .footer-grid .brand-col { grid-column: 1 / -1; }
  #site-footer .footer-grid .brand-col p { max-width: 64ch; }
  #site-footer .footer-contact { max-width: 56ch; }
}
@media (max-width: 640px) {
  #site-footer .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 20px; padding-top: 36px; }
  #site-footer.site-footer .footer-topbar-inner { justify-content: center; text-align: center; gap: 6px; }
  #site-footer.site-footer .footer-group ul { gap: 0; }
  #site-footer .footer-group a { display: inline-flex; align-items: center; flex-wrap: wrap; min-height: 44px; padding: 7px 0; font-size: 13px; }
  #site-footer .footer-legal a { display: inline-flex; align-items: center; min-height: 44px; }
  #site-footer .footer-bottom { gap: 12px; }
}
#site-footer.site-footer .footer-standards { padding: 8px 0; }
#site-footer.site-footer .footer-standards h2, #site-footer.site-footer .footer-standard-role { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
#site-footer.site-footer .footer-standards-list { display: grid; grid-template-columns: 1fr 1fr 1.15fr 1fr 1fr .8fr; gap: 9px; margin: 0; padding: 0; list-style: none; }
#site-footer.site-footer .footer-standard { --standard-accent: #496cff; --standard-border: #bbcaff; --standard-bg: #f9fbff; display: flex; align-items: center; justify-content: center; gap: 8px; min-width: 0; min-height: 48px; padding: 0 9px; border: 1px solid var(--standard-border); border-radius: 999px; background: var(--standard-bg); }
#site-footer.site-footer .footer-standard:nth-child(2) { --standard-accent: #2aaa7b; --standard-border: #ace3ce; --standard-bg: #f8fffc; }
#site-footer.site-footer .footer-standard:nth-child(3) { --standard-accent: #22a8e5; --standard-border: #aee3fa; --standard-bg: #f7fcff; }
#site-footer.site-footer .footer-standard:nth-child(4) { --standard-accent: #a15cf0; --standard-border: #e0c6ff; --standard-bg: #fdfaff; }
#site-footer.site-footer .footer-standard:nth-child(5) { --standard-accent: #21b98c; --standard-border: #77e2ba; --standard-bg: #f5fffa; }
#site-footer.site-footer .footer-standard:nth-child(6) { --standard-accent: #ef9b14; --standard-border: #f3b246; --standard-bg: #fffdf5; }
#site-footer.site-footer .footer-standard-mark { display: flex; flex-direction: column; align-items: center; justify-content: center; flex: 0 0 26px; width: 26px; height: 26px; border: 1.4px solid currentColor; border-radius: 50%; color: var(--standard-accent); font-size: 6px; font-weight: 700; line-height: 1.15; }
#site-footer.site-footer .footer-standard:nth-child(n+5) .footer-standard-mark { border-radius: 7px 7px 10px 10px; }
#site-footer.site-footer .footer-standard strong { display: block; color: var(--ink-soft); font-size: 13px; font-weight: 600; line-height: 1.3; white-space: nowrap; }
@media (max-width: 1100px) {
  #site-footer.site-footer .footer-standards-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  #site-footer.site-footer .footer-standards-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  #site-footer.site-footer .footer-standard { min-height: 48px; padding: 9px 6px; gap: 7px; }
  #site-footer.site-footer .footer-standard-mark { flex-basis: 28px; width: 28px; height: 28px; font-size: 7px; }
  #site-footer.site-footer .footer-standard strong { font-size: 11px; }
}
#site-footer.site-footer .footer-standard-mark span:first-child { font-size: 7px; }
#site-footer.site-footer .footer-dbd { display: flex; justify-content: center; width: fit-content; margin: 12px auto 0; }
#site-footer.site-footer .footer-dbd img { display: block; max-height: 54px; width: auto; }
#site-footer .footer-topbar {
  background: var(--ink);
  color: var(--text-dark);
  padding: 12px 0;
  font-size: 13px;
}
#site-footer .footer-topbar-inner {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
#site-footer .footer-status {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--status-ok);
  font-weight: 700;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
}
#site-footer .footer-hotline { color: var(--text-dark-muted); }
#site-footer .footer-hotline a {
  color: var(--text-dark);
  text-decoration: none;
  margin-left: 4px;
}
#site-footer .footer-hotline a strong {
  font-weight: 800;
  color: white;
  border-bottom: 1px dotted rgba(255,255,255,0.4);
}
#site-footer .footer-hotline a:hover strong { border-bottom-color: var(--status-ok); }
@media (max-width: 600px) {
  #site-footer .footer-topbar-inner { justify-content: center; text-align: center; }
}
#site-footer.site-footer .container{max-width:1360px}
#site-footer.site-footer h1, #site-footer.site-footer h2, #site-footer.site-footer h3, #site-footer.site-footer p{margin:0}
#site-footer.site-footer a:focus-visible, #site-footer.site-footer button:focus-visible, #site-footer.site-footer summary:focus-visible{outline:3px solid var(--blue-500);outline-offset:5px}