/* HiSoServer Studio — premium shared footer v1.1
 * Loaded last and strictly scoped to .hiso-site-footer. All 25 public HTML pages
 * use this single footer. No JS, tracking changes, SQL or external fonts needed.
 */
footer.hiso-site-footer {
  --hf-bg: #090909;
  --hf-panel: #151412;
  --hf-gold: #e9c78c;
  --hf-gold-bright: #ffe3ad;
  --hf-text: #f2eee5;
  --hf-muted: #c7c0b4;
  --hf-line: rgba(224, 194, 144, .15);
  position: relative;
  isolation: isolate;
  z-index: 1;
  display: block;
  overflow: hidden;
  margin: 0;
  padding: 38px 0 0 !important;
  border: 0 !important;
  border-top: 1px solid rgba(233, 199, 140, .34) !important;
  color: var(--hf-text) !important;
  background: radial-gradient(ellipse 75% 85% at 4% -8%, rgba(123, 86, 43, .16), transparent 70%),
              linear-gradient(155deg, #0c0c0c 0%, #12110f 45%, #080808 100%) !important;
  font-family: "Noto Sans Thai", "Sarabun", "Leelawadee UI", Tahoma, sans-serif;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.7;
  text-align: left;
  -webkit-font-smoothing: antialiased;
}
footer.hiso-site-footer *,
footer.hiso-site-footer *::before,
footer.hiso-site-footer *::after { box-sizing: border-box; }
footer.hiso-site-footer::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, #e9c78c 27%, #b98e54 52%, transparent 95%);
  opacity: .63;
}
footer.hiso-site-footer :where(a) { color: inherit; text-decoration: none; }
footer.hiso-site-footer a:focus-visible {
  outline: 3px solid var(--hf-gold-bright);
  outline-offset: 5px;
  border-radius: 4px;
}
footer.hiso-site-footer :where(h2,h3,p) { margin: 0; }
footer.hiso-site-footer :where(ul) { margin: 0; padding: 0; list-style: none; }
footer.hiso-site-footer :where(svg) { display: block; width: 20px; height: 20px; flex: none; }
.hiso-site-footer .hiso-f-inner {
  width: min(1280px, calc(100% - 64px));
  margin: 0 auto;
  position: relative;
}
/* Elegant informational eyebrow over the contact panel. */
.hiso-site-footer .hiso-f-overline {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 18px;
  color: #c6bbab;
  font: 700 10px/1.4 "Noto Sans Thai", Tahoma, sans-serif;
  letter-spacing: 1.8px;
}
.hiso-site-footer .hiso-f-overline-dot {
  display: inline-block;
  flex: 0 0 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--hf-gold);
  box-shadow: 0 0 0 4px rgba(233,199,140,.10), 0 0 16px rgba(233,199,140,.24);
}
.hiso-site-footer .hiso-f-overline-line {
  display: block;
  width: 30px;
  height: 1px;
  background: rgba(233,199,140,.32);
}
/* Contact feature panel */
.hiso-site-footer .hiso-f-cta {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px 40px;
  align-items: center;
  overflow: hidden;
  padding: clamp(26px,3.1vw,42px) clamp(24px,3.9vw,52px);
  background: radial-gradient(ellipse 55% 160% at 94% 20%,rgba(218,165,89,.105),transparent 74%),
              linear-gradient(110deg,rgba(39,33,24,.96),rgba(20,19,17,.98) 54%,#171612);
  border: 1px solid rgba(239,204,149,.25);
  border-radius: 21px;
  box-shadow: 0 20px 65px rgba(0,0,0,.20), inset 0 1px rgba(255,246,217,.055);
}
.hiso-site-footer .hiso-f-cta::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 3px;
  background: linear-gradient(180deg, #f6d7a3, #9c7039 80%, transparent);
}
.hiso-site-footer .hiso-f-cta::after {
  content: "";
  position: absolute;
  pointer-events: none;
  right: -100px;
  top: -120px;
  height: 330px;
  width: 330px;
  border: 1px solid rgba(233,199,140,.065);
  border-radius: 50%;
  box-shadow: 0 0 0 70px rgba(233,199,140,.025), 0 0 0 140px rgba(233,199,140,.015);
}
.hiso-site-footer .hiso-f-cta-copy,
.hiso-site-footer .hiso-f-cta-actions { position: relative; z-index: 1; }
.hiso-site-footer .hiso-f-kicker {
  display: block;
  color: var(--hf-gold);
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 1.25px;
  margin-bottom: 9px;
}
.hiso-site-footer .hiso-f-kicker span { color: #77654e; margin: 0 8px; }
.hiso-site-footer .hiso-f-cta h2 {
  color: #f8f5ed;
  font-size: clamp(22px,2.3vw,32px);
  font-weight: 800;
  letter-spacing: -.5px;
  line-height: 1.4;
}
.hiso-site-footer .hiso-f-cta h2 em {
  font-style: normal;
  color: var(--hf-gold-bright);
  white-space: normal;
}
.hiso-site-footer .hiso-f-cta p {
  max-width: 690px;
  margin-top: 9px;
  color: #c8bfb1;
  font-size: 13.5px;
  line-height: 1.8;
}
.hiso-site-footer .hiso-f-cta-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  flex-wrap: wrap;
}
.hiso-site-footer .hiso-f-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 49px;
  padding: 11px 17px;
  border: 1px solid transparent;
  border-radius: 11px;
  font-size: 13.5px;
  font-weight: 800;
  letter-spacing: .05px;
  line-height: 1.4;
  white-space: nowrap;
  transition: transform .22s ease, border-color .22s ease, background .22s ease, box-shadow .22s ease;
}
.hiso-site-footer a.hiso-f-button-gold {
  color: #1b160d;
  background: linear-gradient(125deg, #f8dca8 0%, #e3b975 90%);
  border-color: #f7dbab;
  box-shadow: 0 8px 30px rgba(207,158,86,.15), inset 0 1px rgba(255,255,255,.48);
}
.hiso-site-footer a.hiso-f-button-plain {
  color: #e9e0d2;
  background: rgba(255,255,255,.042);
  border-color: rgba(236,215,181,.27);
}
.hiso-site-footer .hiso-f-button-arrow { font-size: 17px; margin-left: 3px; font-weight: 600; }
@media (hover:hover) {
  .hiso-site-footer .hiso-f-button:hover { transform: translateY(-2px); }
  .hiso-site-footer a.hiso-f-button-gold:hover {
    background: linear-gradient(125deg, #ffe9bc, #f0c780);
    box-shadow: 0 12px 30px rgba(215,165,81,.25);
  }
  .hiso-site-footer a.hiso-f-button-plain:hover { color: #fff4d9; background: rgba(255,255,255,.075); border-color: rgba(246,207,142,.65); }
}
/* Four balanced columns, with service taxonomy instead of the old scattered link dump. */
.hiso-site-footer .hiso-f-main {
  display: grid;
  grid-template-columns: minmax(235px, 1.27fr) repeat(3, minmax(0,1fr));
  align-items: start;
  gap: 28px clamp(22px,3vw,45px);
  padding: clamp(32px,3.4vw,46px) 2px 33px;
}
.hiso-site-footer .hiso-f-about { padding-right: 6px; min-width: 0; }
.hiso-site-footer .hiso-f-brand { display: flex; align-items: center; gap: 13px; width: fit-content; max-width: 100%; }
.hiso-site-footer .hiso-f-brand-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 67px;
  height: 67px;
  flex: 0 0 67px;
  overflow: hidden;
  border: 1px solid rgba(235,197,129,.24);
  border-radius: 15px;
  background: linear-gradient(135deg,rgba(213,169,106,.11),rgba(255,255,255,.035));
}
.hiso-site-footer .hiso-f-brand-logo img {
  display: block;
  width: 56px;
  height: 56px;
  max-width: 100%;
  object-fit: contain;
  filter: drop-shadow(0 5px 12px rgba(0,0,0,.35));
}
.hiso-site-footer .hiso-f-brand-label { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.hiso-site-footer .hiso-f-brand-label strong {
  color: #f9efd9;
  font-size: clamp(19px,1.7vw,24px);
  font-weight: 800;
  letter-spacing: -.7px;
  line-height: 1.35;
  overflow-wrap: anywhere;
}
.hiso-site-footer .hiso-f-brand-label small {
  color: var(--hf-gold);
  font-size: 9px;
  font-weight: 750;
  letter-spacing: 1px;
  line-height: 1.7;
}
.hiso-site-footer .hiso-f-about-text {
  max-width: 345px;
  margin: 18px 0;
  color: var(--hf-muted);
  font-size: 13.3px;
  line-height: 1.9;
}
.hiso-site-footer .hiso-f-tags { display: flex; flex-wrap: wrap; gap: 7px; }
.hiso-site-footer .hiso-f-tags span {
  display: inline-flex;
  padding: 5px 10px;
  color: #d9c49c;
  border-radius: 6px;
  border: 1px solid rgba(230,188,116,.18);
  background: rgba(224,180,106,.047);
  font: 700 10px/1.5 "Noto Sans Thai",Tahoma,sans-serif;
  letter-spacing: .25px;
}
.hiso-site-footer a.hiso-f-all-services {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 20px;
  color: var(--hf-gold);
  font-size: 12.5px;
  font-weight: 800;
  transition: gap .2s, color .2s;
}
.hiso-site-footer .hiso-f-all-services span { font-size: 16px; }
.hiso-site-footer .hiso-f-links { min-width: 0; }
.hiso-site-footer .hiso-f-links-heading { display: flex; gap: 11px; align-items: center; min-height: 30px; }
.hiso-site-footer .hiso-f-links-line { height: 23px; width: 3px; flex: 0 0 3px; border-radius: 2px; background: linear-gradient(#ffe4ae,#a57b47); }
.hiso-site-footer .hiso-f-links h3 {
  color: #f1e7d5;
  font: 800 16px/1.4 "Noto Sans Thai",Tahoma,sans-serif;
  letter-spacing: -.2px;
}
.hiso-site-footer .hiso-f-links-subtitle { padding-left: 14px; margin: 3px 0 15px; color: #a7a092; font-size: 11px; line-height: 1.6; }
.hiso-site-footer .hiso-f-links li { border-bottom: 1px solid rgba(222,208,176,.065); }
.hiso-site-footer .hiso-f-links li:last-child { border-bottom: 0; }
.hiso-site-footer .hiso-f-links li a {
  position: relative;
  display: block;
  padding: 7px 3px 7px 15px;
  color: #d2cabc;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.6;
  transition: color .17s, padding .17s;
}
.hiso-site-footer .hiso-f-links li a::before {
  position: absolute;
  left: 2px;
  top: 1.28em;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(234,200,144,.5);
  content: "";
  transition: background .17s, transform .17s;
}
.hiso-site-footer .hiso-f-links li a[aria-current="page"] { color: #f9d8a0; font-weight: 800; }
.hiso-site-footer .hiso-f-links li a[aria-current="page"]::before { background: #f9d8a0; box-shadow: 0 0 0 4px rgba(249,216,160,.10); }
@media (hover:hover) {
  .hiso-site-footer .hiso-f-links li a:hover { color: #fff0d4; padding-left: 20px; }
  .hiso-site-footer .hiso-f-links li a:hover::before { background: #f8cc86; transform: scale(1.35); }
  .hiso-site-footer a.hiso-f-all-services:hover { color: #fff0d1; gap: 14px; }
}
/* Readable, functional contact strip. No invented operating hours or ratings. */
.hiso-site-footer .hiso-f-contact-bar {
  display: grid;
  grid-template-columns: 1fr 1fr 1.35fr;
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--hf-line);
  border-radius: 13px;
  background: var(--hf-line);
}
.hiso-site-footer .hiso-f-info {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 13px;
  padding: 17px 18px;
  background: #151411;
  transition: background .2s;
}
.hiso-site-footer a.hiso-f-info:hover { background: #1e1b16; }
.hiso-site-footer .hiso-f-info-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  flex: 0 0 42px;
  height: 42px;
  border-radius: 10px;
  color: #e9c78c;
  background: #242016;
  border: 1px solid rgba(231,199,140,.14);
}
.hiso-site-footer .hiso-f-info-icon-line { color: #a5e0ad; background: #152019; border-color: rgba(165,224,173,.14); }
.hiso-site-footer .hiso-f-info-copy { display: flex; flex-direction: column; min-width: 0; gap: 2px; }
.hiso-site-footer .hiso-f-info-copy small { color: #a6a094; font-size: 11px; line-height: 1.45; }
.hiso-site-footer .hiso-f-info-copy strong { color: #f3e9d5; font-size: 13.5px; line-height: 1.55; font-weight: 750; overflow-wrap: anywhere; }
.hiso-site-footer .hiso-f-info-location strong { font-size: 12.2px; font-weight: 650; }
.hiso-site-footer .hiso-f-info-arrow { margin-left: auto; color: #b39a6b; font-size: 17px; align-self: center; }
.hiso-site-footer .hiso-f-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 15px 25px;
  min-height: 79px;
  padding: 21px 2px 24px;
  color: #aca597;
  font-size: 11.5px;
}
.hiso-site-footer .hiso-f-copyright { display: flex; flex-wrap: wrap; align-items: center; gap: 5px 22px; }
.hiso-site-footer .hiso-f-copyright a { color: #c6b8a0; text-decoration: underline; text-decoration-color: rgba(207,180,128,.32); text-underline-offset: 3px; }
.hiso-site-footer .hiso-f-copyright a:hover { color: #ffdb9b; }
.hiso-site-footer .hiso-f-credits { display: flex; flex-wrap: wrap; align-items: center; gap: 7px 0; }
.hiso-site-footer .hiso-f-credits > span { padding: 0 13px; border-left: 1px solid rgba(214,197,159,.18); white-space: nowrap; }
.hiso-site-footer .hiso-f-credits > span:first-child { border-left: 0; padding-left: 0; }
.hiso-site-footer .hiso-f-credits > span:last-child { padding-right: 0; }
.hiso-site-footer .hiso-f-credits a { color: var(--hf-gold-bright); font-weight: 850; letter-spacing: .05px; }
.hiso-site-footer .hiso-f-credits a:hover { color: #fff6df; text-decoration: underline; text-underline-offset: 3px; }
/* Mid-size and small screens: preserve hierarchy and touch target spacing. */
@media (max-width: 1140px) {
  .hiso-site-footer .hiso-f-cta { grid-template-columns: minmax(0,1fr); }
  .hiso-site-footer .hiso-f-cta-actions { justify-content: flex-start; }
  .hiso-site-footer .hiso-f-main { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 27px 33px; }
  .hiso-site-footer .hiso-f-about { grid-column: 1 / -1; padding: 0; display: grid; grid-template-columns: minmax(0,1fr) auto; column-gap: 30px; align-items: center; }
  .hiso-site-footer .hiso-f-about-text { grid-column: 1; margin: 12px 0 8px; }
  .hiso-site-footer .hiso-f-tags { grid-row: 1; grid-column: 2; justify-content: flex-end; }
  .hiso-site-footer a.hiso-f-all-services { grid-column: 1; margin-top: 5px; }
}
@media (max-width: 790px) {
  .hiso-site-footer .hiso-f-inner { width: min(100% - 38px, 700px); }
  .hiso-site-footer .hiso-f-main { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 26px; }
  .hiso-site-footer .hiso-f-about { grid-column: 1 / -1; }
  .hiso-site-footer .hiso-f-links:last-child { grid-column: 1 / -1; }
  .hiso-site-footer .hiso-f-links:last-child ul { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); column-gap: 22px; }
  .hiso-site-footer .hiso-f-contact-bar { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .hiso-site-footer .hiso-f-info-location { grid-column: 1 / -1; }
  .hiso-site-footer .hiso-f-bottom { flex-direction: column; align-items: flex-start; gap: 12px; }
}
@media (max-width: 530px) {
  footer.hiso-site-footer { padding-top: 28px !important; padding-bottom: 105px !important; }
  .hiso-site-footer .hiso-f-inner { width: calc(100% - 30px); }
  .hiso-site-footer .hiso-f-overline { gap: 7px; font-size: 9px; letter-spacing: 1.2px; margin-bottom: 15px; }
  .hiso-site-footer .hiso-f-overline-line { width: 16px; }
  .hiso-site-footer .hiso-f-cta { padding: 24px 18px; border-radius: 16px; gap: 18px; }
  .hiso-site-footer .hiso-f-cta h2 { font-size: 23px; line-height: 1.5; }
  .hiso-site-footer .hiso-f-cta p { font-size: 12.5px; }
  .hiso-site-footer .hiso-f-cta-actions { display: grid; grid-template-columns: minmax(0,1fr); gap: 9px; }
  .hiso-site-footer .hiso-f-button { min-height: 48px; width: 100%; }
  .hiso-site-footer .hiso-f-button-arrow { margin-left: auto; }
  .hiso-site-footer .hiso-f-main { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 26px 17px; padding: 30px 1px 26px; }
  .hiso-site-footer .hiso-f-about { display: block; grid-column: 1 / -1; padding-bottom: 23px; border-bottom: 1px solid var(--hf-line); }
  .hiso-site-footer .hiso-f-about-text { margin: 13px 0; }
  .hiso-site-footer .hiso-f-tags { justify-content: flex-start; }
  .hiso-site-footer a.hiso-f-all-services { margin-top: 15px; }
  .hiso-site-footer .hiso-f-brand-logo { height: 58px; width: 58px; flex-basis: 58px; }
  .hiso-site-footer .hiso-f-brand-logo img { width: 50px; height: 50px; }
  .hiso-site-footer .hiso-f-brand-label strong { font-size: 21px; }
  .hiso-site-footer .hiso-f-links-heading { gap: 7px; }
  .hiso-site-footer .hiso-f-links h3 { font-size: 13px; }
  .hiso-site-footer .hiso-f-links-subtitle { font-size: 10px; margin: 5px 0 10px; padding-left: 10px; }
  .hiso-site-footer .hiso-f-links li a { font-size: 12.5px; padding: 8px 0 8px 12px; }
  .hiso-site-footer .hiso-f-links li a::before { left: 0; }
  .hiso-site-footer .hiso-f-links:last-child ul { column-gap: 17px; }
  .hiso-site-footer .hiso-f-contact-bar { grid-template-columns: 1fr; }
  .hiso-site-footer .hiso-f-info-location { grid-column: auto; }
  .hiso-site-footer .hiso-f-info { padding: 13px 14px; }
  .hiso-site-footer .hiso-f-bottom { padding: 22px 1px 0; font-size: 11px; gap: 12px; }
  .hiso-site-footer .hiso-f-credits { gap: 8px 0; }
  .hiso-site-footer .hiso-f-credits > span { padding: 0 10px; }
  .hiso-site-footer .hiso-f-credits > span:first-child { padding-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .hiso-site-footer *, .hiso-site-footer *::before, .hiso-site-footer *::after { transition: none !important; animation: none !important; }
}
