/* SiteOS premium footer v1.1.1 — isolated styles; works with legacy page CSS. */
.siteos-footer,
.siteos-footer *{box-sizing:border-box}
.siteos-footer{
  --sf-ink:#f1f8f3;
  --sf-muted:#9faea7;
  --sf-green:#50e9a2;
  --sf-lime:#b3f58d;
  position:relative;isolation:isolate;width:100%;max-width:100%;margin:0;padding:0;
  color:var(--sf-ink);text-align:left!important;
  background:
    radial-gradient(ellipse 55% 45% at 9% 1%,rgba(24,125,78,.23),transparent 85%),
    radial-gradient(ellipse 42% 36% at 96% 20%,rgba(37,129,76,.14),transparent 85%),
    linear-gradient(180deg,#08160f 0%,#06110c 54%,#030b07 100%);
  border-top:1px solid rgba(119,236,167,.3);
  box-shadow:0 -18px 65px rgba(0,0,0,.2);
  overflow:hidden;font-family:Tahoma,'Noto Sans Thai',Arial,sans-serif;
  font-size:14px;line-height:1.65;
}
.siteos-footer::before{
  content:"";position:absolute;top:0;left:0;right:0;height:3px;
  background:linear-gradient(90deg,transparent 3%,rgba(58,216,138,.75) 26%,#b6f36e 50%,rgba(58,216,138,.75) 74%,transparent 97%);
  pointer-events:none;
}
.siteos-footer::after{
  content:"";position:absolute;top:0;right:-190px;width:540px;height:560px;
  border:1px solid rgba(123,248,174,.05);border-radius:50%;transform:translateY(-40%);
  pointer-events:none;z-index:-1;
}
.siteos-footer .siteos-footer__container{
  width:min(var(--siteos-width,1180px),calc(100% - 2 * var(--siteos-gap,clamp(16px,3vw,28px))))!important;
  max-width:1180px!important;margin-inline:auto!important;
}
.siteos-footer a{text-decoration:none;color:inherit;border:0;transition:color .2s ease,border-color .2s ease,background-color .2s ease,transform .2s ease}
.siteos-footer a:focus-visible{outline:2px solid #9afad4;outline-offset:4px;border-radius:6px}
.siteos-footer a:hover{color:var(--sf-lime)}
.siteos-footer h2,.siteos-footer h3,.siteos-footer p,.siteos-footer ul{margin:0;padding:0;line-height:inherit}
.siteos-footer h2,.siteos-footer h3{font-family:inherit;letter-spacing:0;text-shadow:none}
.siteos-footer h2::before,.siteos-footer h3::before{content:none!important}
.siteos-footer svg{width:22px;height:22px;display:block;flex:none}

/* Top conversion strip — deliberate contrast and clear CTAs. */
.siteos-footer__cta{
  position:relative;display:grid;grid-template-columns:minmax(0,1fr) minmax(280px,370px);
  align-items:center;column-gap:clamp(22px,5vw,68px);row-gap:22px;
  padding:clamp(24px,3vw,36px) clamp(22px,4vw,48px);
  margin-top:clamp(26px,4vw,42px);
  background:linear-gradient(111deg,rgba(25,75,49,.93),rgba(14,44,29,.94) 54%,rgba(9,34,23,.95));
  border:1px solid rgba(121,236,168,.25);border-radius:22px;
  box-shadow:0 18px 56px rgba(0,0,0,.25),inset 0 1px 0 rgba(221,255,232,.06);
  overflow:hidden;
}
.siteos-footer__cta::after{content:"";position:absolute;width:240px;height:240px;right:15%;top:-162px;border-radius:50%;background:rgba(73,205,123,.12);filter:blur(50px);pointer-events:none}
.siteos-footer__cta-copy,.siteos-footer__cta-actions{position:relative;z-index:1;min-width:0}
.siteos-footer__eyebrow{display:inline-flex;align-items:center;gap:9px;margin-bottom:10px;font-weight:800;font-size:12px;letter-spacing:.1px;color:#bdf4d2}
.siteos-footer__online-dot{display:inline-block;flex:none;width:8px;height:8px;border-radius:50%;background:#66f6a0;box-shadow:0 0 0 4px rgba(93,235,146,.13)}
.siteos-footer .siteos-footer__cta h2{font-size:clamp(23px,2.55vw,34px)!important;line-height:1.34!important;font-weight:900;color:#f7fff7;margin:0 0 9px}
.siteos-footer__cta h2 span{color:#b8f79a}
.siteos-footer .siteos-footer__cta p{font-size:13px;line-height:1.8;color:#d2e5d9;max-width:585px}
.siteos-footer__cta-actions{display:grid;gap:10px}
.siteos-footer .siteos-footer__button{display:flex;gap:12px;align-items:center;min-height:63px;padding:11px 15px;border-radius:12px;border:1px solid transparent;transition:transform .2s ease,background-color .2s ease,box-shadow .2s ease;color:#0a2415}
.siteos-footer .siteos-footer__button--line{background:#89f6b4;border-color:#b9f7d2;box-shadow:0 9px 24px rgba(13,80,42,.19)}
.siteos-footer .siteos-footer__button--phone{color:#f5fff8;background:rgba(7,23,15,.5);border-color:rgba(161,239,187,.27)}
.siteos-footer .siteos-footer__button:hover{transform:translateY(-2px);color:inherit}
.siteos-footer .siteos-footer__button--line:hover{background:#a4ffcd;box-shadow:0 12px 28px rgba(25,142,73,.25)}
.siteos-footer .siteos-footer__button--phone:hover{background:rgba(42,98,64,.4);color:#fff;border-color:#80dda5}
.siteos-footer__button-icon{display:grid;place-items:center;flex:none;width:36px;height:36px;border-radius:9px;background:rgba(4,57,29,.09)}
.siteos-footer__button--phone .siteos-footer__button-icon{background:rgba(112,219,157,.09);color:#a8f6c5}
.siteos-footer__button-label{display:grid;min-width:0;line-height:1.35;gap:3px;flex:1}
.siteos-footer__button-label strong{font-size:14px;font-weight:900}
.siteos-footer__button-label small{font-size:12px;font-weight:600;opacity:.77;overflow-wrap:anywhere}
.siteos-footer__button-arrow{font-weight:900;font-size:18px;flex:none;opacity:.8}

/* Four-column navigation and contact grid. */
.siteos-footer__grid{display:grid;grid-template-columns:minmax(0,1.38fr) minmax(0,.94fr) minmax(0,.95fr) minmax(0,1.08fr);gap:clamp(23px,3.25vw,42px);padding:clamp(34px,4.3vw,54px) 0 34px}
.siteos-footer__brand{display:flex;align-items:center;gap:12px;width:100%;min-width:0}
.siteos-footer__brand-logo{display:grid;place-items:center;flex:none;width:60px;height:60px;border:1px solid rgba(145,243,183,.25);border-radius:14px;background:rgba(248,255,252,.07);overflow:hidden;padding:6px}
.siteos-footer__brand-logo img{display:block;width:100%;height:100%!important;max-width:100%;object-fit:contain}
.siteos-footer__brand-name{display:grid;gap:1px;min-width:0}
.siteos-footer__brand-name strong{font-size:clamp(15px,1.55vw,18px);line-height:1.35;font-weight:900;color:#f7fff9;overflow-wrap:anywhere}
.siteos-footer__brand-name small{font-size:9px;color:#79b995;font-weight:900;letter-spacing:1.8px}
.siteos-footer .siteos-footer__about-desc{margin-top:17px;color:#adbfaf;font-size:13px;line-height:1.85}
.siteos-footer__tags{display:flex;flex-wrap:wrap;gap:7px;margin-top:16px}
.siteos-footer__tags span{display:inline-flex;align-items:center;border:1px solid rgba(138,216,162,.16);background:rgba(145,235,178,.065);padding:5px 9px;border-radius:999px;color:#c7e9d2;font-size:11px;font-weight:700;line-height:1.5}
.siteos-footer .siteos-footer__grid h3{display:flex;align-items:center;gap:9px;font-size:15px!important;font-weight:900!important;line-height:1.45!important;color:#f1fbf2!important;padding:0 0 15px!important;border:0!important;background:none!important;white-space:normal}
.siteos-footer .siteos-footer__grid h3::after{content:"";width:23px;height:2px;border-radius:3px;background:#79e3a9}
.siteos-footer__menu ul{list-style:none;display:grid;gap:4px}
.siteos-footer__menu li{margin:0;padding:0;list-style:none}
.siteos-footer__menu li a{display:flex;gap:8px;align-items:flex-start;padding:5px 0;color:#aebeb2;font-size:13px;font-weight:600;line-height:1.65;overflow-wrap:anywhere}
.siteos-footer__menu li a:hover{color:#9bffb8;transform:translateX(2px)}
.siteos-footer__link-chevron{display:inline-block;flex:none;color:#53b983;font-size:18px;font-weight:800;line-height:1.11;margin-top:1px}
.siteos-footer__contact-links{display:grid;gap:9px}
.siteos-footer .siteos-footer__contact-item{display:flex;align-items:center;gap:11px;min-width:0;padding:11px 12px;border:1px solid rgba(116,219,152,.16);background:rgba(181,255,201,.035);border-radius:11px}
.siteos-footer .siteos-footer__contact-item:hover{border-color:rgba(118,228,159,.5);background:rgba(82,159,102,.13)}
.siteos-footer__contact-glyph{display:grid;place-items:center;flex:none;width:33px;height:33px;border-radius:9px;background:rgba(80,216,134,.12);color:#a4eead;font-size:18px}
.siteos-footer__contact-item span:last-child{display:grid;gap:2px;min-width:0}
.siteos-footer__contact-item small{font-size:11px;color:#9cae9f}
.siteos-footer__contact-item strong{font-size:13px;font-weight:900;color:#f6fff5;overflow-wrap:anywhere}
.siteos-footer__address{display:flex;align-items:flex-start;gap:10px;padding:16px 2px 0;color:#bccbbd}
.siteos-footer__address-icon{flex:none;font-size:22px;line-height:1.2;color:#74d99a}
.siteos-footer__address strong{display:block;font-size:12px;color:#dceade;font-weight:900;margin-bottom:5px}
.siteos-footer__address address{font-style:normal;font-size:12px;line-height:1.85;color:#9daea0}

/* Confidence strip. */
.siteos-footer__highlights{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;margin-bottom:28px;border:1px solid rgba(111,199,139,.14);border-radius:15px;background:rgba(113,194,133,.047);overflow:hidden}
.siteos-footer__highlight{display:flex;align-items:center;gap:12px;min-width:0;padding:16px 22px}
.siteos-footer__highlight+.siteos-footer__highlight{border-left:1px solid rgba(111,199,139,.15)}
.siteos-footer__highlight-icon{display:grid;place-items:center;flex:none;width:36px;height:36px;border:1px solid rgba(108,217,155,.3);border-radius:10px;background:rgba(113,219,153,.10);color:#90e6ac;font-weight:900;font-size:17px}
.siteos-footer__highlight span:last-child{display:grid;gap:2px;min-width:0}
.siteos-footer__highlight strong{font-size:12px;color:#dcece1;font-weight:900;line-height:1.5}
.siteos-footer__highlight small{font-size:11px;color:#92a99a;line-height:1.55}

/* Ownership and credit links — all explicit and accessible. */
.siteos-footer__bottom{background:rgba(0,0,0,.23);border-top:1px solid rgba(108,194,137,.14)}
.siteos-footer__bottom-content{display:flex;align-items:center;justify-content:space-between;gap:14px 24px;flex-wrap:wrap;padding-top:17px;padding-bottom:18px}
.siteos-footer .siteos-footer__copyright{display:flex;align-items:center;flex-wrap:wrap;gap:5px;font-size:11px;color:#90a696;line-height:1.6}
.siteos-footer__copyright strong{color:#d0e8d5;font-weight:800;overflow-wrap:anywhere}
.siteos-footer__copyright span{margin-left:6px;color:#749080}
.siteos-footer__credits{display:flex;align-items:center;flex-wrap:wrap;gap:7px}
.siteos-footer__credits>span{display:inline-flex;align-items:center;gap:5px;padding:5px 10px;border:1px solid rgba(141,220,170,.16);background:rgba(114,178,135,.08);border-radius:7px;color:#a5b8a9;font-size:11px;font-weight:600;white-space:nowrap}
.siteos-footer__credits a{font-weight:900;color:#c0f6cf!important;text-decoration:none!important}
.siteos-footer__credits a:hover{color:#fff!important;text-decoration:underline!important;text-underline-offset:3px}

@media(max-width:1100px){
 .siteos-footer__grid{grid-template-columns:minmax(0,1.1fr) repeat(2,minmax(0,1fr));gap:26px}
 .siteos-footer__contact{grid-column:1/-1;display:grid;grid-template-columns:160px minmax(0,1fr) minmax(0,1fr);gap:16px;align-items:start;padding-top:20px;border-top:1px solid rgba(126,208,156,.15)}
 .siteos-footer__contact-links{grid-template-columns:repeat(2,minmax(0,1fr))}
 .siteos-footer__address{padding-top:0}
 .siteos-footer .siteos-footer__contact h3{align-items:flex-start}
 .siteos-footer__highlight{padding:14px}
}
@media(max-width:790px){
 .siteos-footer__cta{grid-template-columns:minmax(0,1fr);padding:24px;gap:20px}
 .siteos-footer__cta-actions{grid-template-columns:repeat(2,minmax(0,1fr))}
 .siteos-footer__grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:28px 22px}
 .siteos-footer__about{grid-column:1/-1}
 .siteos-footer__contact{grid-column:1/-1;display:block;padding-top:22px}
 .siteos-footer__contact-links{grid-template-columns:repeat(2,minmax(0,1fr))}
 .siteos-footer__address{padding-top:16px}
 .siteos-footer__highlights{grid-template-columns:1fr}
 .siteos-footer__highlight+.siteos-footer__highlight{border-top:1px solid rgba(111,199,139,.15);border-left:0}
}
@media(max-width:540px){
 .siteos-footer__cta{margin-top:22px;padding:22px 18px;border-radius:16px}
 .siteos-footer .siteos-footer__cta h2{font-size:clamp(23px,6.3vw,29px)!important}
 .siteos-footer__cta-actions{grid-template-columns:minmax(0,1fr)}
 .siteos-footer__grid{gap:25px 18px;padding:30px 0}
 .siteos-footer .siteos-footer__grid h3{font-size:14px!important;padding-bottom:10px!important}
 .siteos-footer__menu li a{font-size:12px}
 .siteos-footer__contact-links{grid-template-columns:minmax(0,1fr)}
 .siteos-footer__highlights{margin-bottom:20px}
 .siteos-footer__bottom-content{padding-block:16px;align-items:flex-start}
 .siteos-footer__credits{gap:6px}
 .siteos-footer__credits>span{font-size:10px;padding:5px 8px}
}
@media(max-width:350px){
 .siteos-footer__grid{grid-template-columns:1fr;gap:22px}
 .siteos-footer__about{grid-column:auto}
 .siteos-footer__contact{grid-column:auto}
 .siteos-footer__brand-logo{width:52px;height:52px}
 .siteos-footer__menu li a{font-size:13px}
}
@media(prefers-reduced-motion:reduce){.siteos-footer *{transition:none!important}}

/* The footer itself includes contact actions; keep legacy floating buttons from
   covering its contact/address content, without changing them elsewhere. */
body .float-cta.siteos-footer-hide-floats{opacity:0!important;visibility:hidden!important;pointer-events:none!important}
.siteos-footer .siteos-footer__button--line:hover{color:#0a2415}
