/* Footer's fallback banner: the green .contact-banner look, only on pages without their own */
body:has(.contact-banner:not(.footer-cta)) .footer-cta,body.inquiry-page .footer-cta{display:none}
body .footer-cta{color:var(--ink)}
body .footer-cta>div{align-items:flex-start;gap:0}
body .footer-cta h2{font-size:clamp(28px,3.4vw,46px);line-height:1.12;letter-spacing:-.02em;font-weight:400;margin:0 0 10px}
body .footer-cta p{font-family:Anuphan,sans-serif;font-size:16px;color:#1c272dbf;margin:0}
/* Brand + both companies on the left (two rows); right: three link columns, then the contact tiles under them */
body .footer-grid{grid-template-columns:minmax(0,2.1fr) repeat(3,minmax(0,1fr));gap:40px clamp(24px,4vw,64px);padding-bottom:64px}
body .footer-brand{grid-row:span 2;font-family:Anuphan,Outfit,sans-serif}
body .footer-brand>a img{width:170px;margin-bottom:34px}
/* Soft lime glow in the corners instead of a flat block */
body .footer{background:radial-gradient(900px 460px at 0% 0%,#d4fb030d,transparent 70%),radial-gradient(760px 420px at 100% 100%,#86fb030a,transparent 70%),var(--ink)}
body .footer-co{max-width:480px;margin-bottom:22px}
body .footer-co+.footer-co{padding-top:22px;border-top:1px solid #ffffff14}
body .footer-brand .footer-co-name{font-family:Outfit,Anuphan,sans-serif;font-size:18px;font-weight:600;color:#fff;margin:0 0 6px;max-width:none}
body .footer-brand .footer-co-role{font-size:14px;font-weight:400;color:var(--lime)}
body .footer-co address{font-style:normal;font-size:15px;line-height:1.7;color:#bac4c3}
/* Contact tiles: one row across the three link columns */
body .footer-reach{grid-column:2/-1;align-self:end;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;list-style:none;margin:0;padding:0}
body .footer-reach a{display:flex;align-items:center;gap:14px;height:100%;padding:18px 20px;border:1px solid #ffffff17;border-radius:16px;background:#ffffff06;transition:border-color .3s,background .3s,transform .3s var(--ease)}
body .footer-reach a:hover{border-color:var(--lime);background:#d4fb030a;transform:translateY(-2px)}
body .footer-reach svg{flex:none;width:40px;height:40px;padding:10px;border-radius:50%;background:#d4fb0314;fill:none;stroke:var(--lime);stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
body .footer-reach span{display:grid;gap:3px;min-width:0;font-size:15px;color:#fff;overflow-wrap:anywhere}
body .footer-reach small{font-family:Anuphan,Outfit,sans-serif;font-size:12px;color:#8b9a99}
body .footer-col h2{display:flex;align-items:center;gap:10px;font-size:14px;font-weight:500;letter-spacing:.03em;color:#8b9a99;margin-bottom:28px}
body .footer-col h2::before{content:"";width:6px;height:6px;border-radius:50%;background:var(--lime);box-shadow:0 0 12px var(--lime)}
body .footer-col a{display:block;width:fit-content;font-size:16px;margin-bottom:18px;color:#f2f5f3;transition:color .3s,transform .3s var(--ease)}
body .footer-col a:hover{color:var(--lime);transform:translateX(4px)}
/* Leave room for the fixed chat button at the bottom right */
body .footer-bottom{padding-right:84px}
body .footer-privacy{padding-right:30px;border-right:1px solid #ffffff33}
body .footer-bottom a.back-to-top{border:1px solid #ffffff55;border-radius:8px;padding:10px 18px}
body .footer-bottom .back-to-top span{width:auto;margin-right:0}
body .back-to-top:hover{border-color:var(--lime);color:var(--lime)}
@media(max-width:1000px){body .footer-grid{grid-template-columns:repeat(3,minmax(0,1fr))}body .footer-brand{grid-column:1/-1;grid-row:auto}body .footer-reach{grid-column:1/-1}}
@media(max-width:800px){body .footer-privacy{border:0;padding-right:0}}
@media(max-width:560px){body .footer-grid{grid-template-columns:1fr 1fr;gap:36px 20px}body .footer-bottom{padding-right:0}body .footer-reach{grid-template-columns:1fr;gap:10px}body .footer-reach a{padding:14px 16px}body .footer-col a{font-size:15px;margin-bottom:14px}}
/* Analytics consent bar: bottom-left, clear of the chat button on the right */
.cookie-bar{position:fixed;left:16px;bottom:16px;z-index:60;display:flex;flex-wrap:wrap;align-items:center;gap:10px 14px;max-width:min(560px,calc(100vw - 104px));padding:14px 16px;border-radius:16px;background:#0f1a22f2;color:#e8eeec;box-shadow:0 12px 40px #0004;font:14px/1.5 Anuphan,Outfit,sans-serif}
.cookie-bar[hidden]{display:none}
.cookie-bar p{flex:1 1 260px;margin:0}
.cookie-bar a{color:var(--lime);text-decoration:underline}
.cookie-bar button{padding:9px 18px;border:1px solid #ffffff40;border-radius:999px;background:none;color:inherit;font:inherit;font-weight:500;cursor:pointer}
.cookie-bar .cookie-yes{background:var(--lime);border-color:var(--lime);color:var(--ink)}
.cookie-bar .cookie-no:hover{border-color:#fff}
