/* Shared V2 header and footer. Keep page-specific styles in their own files. */
.site-header,.site-footer{--green:#1EC95C;--green-dark:#087D38;--forest:#06362A;--ink:#122D22;--line:#DFEAE3;--font:'IBM Plex Sans Thai',sans-serif;font:16px/1.8 var(--font);color:var(--ink);-webkit-font-smoothing:antialiased}
.site-footer{padding:0}
:is(.site-header,.site-footer) *{box-sizing:border-box}
:is(.site-header,.site-footer) :is(h3,p){margin:0;line-height:inherit}
:is(.site-header,.site-footer) a{color:inherit;text-decoration:none}
:is(.site-header,.site-footer) button{font:inherit;cursor:pointer}
:is(.site-header,.site-footer) img{display:block;max-width:100%;height:auto}
:is(.site-header,.site-footer) svg{display:block;width:24px;height:24px;flex:none}
:is(.site-header,.site-footer) :is(a,button){-webkit-tap-highlight-color:transparent}
:is(.site-header,.site-footer) :is(a,button):focus-visible{outline:3px solid var(--green-dark);outline-offset:5px}
:is(.site-header,.site-footer) .wrap{width:min(1280px,100%);margin:auto;padding:0 40px}
.site-header{position:sticky;top:0;z-index:20;background:#fffffff2;backdrop-filter:blur(18px);border-bottom:1px solid #DFEAE380}
:is(.site-header,.site-footer) .site-nav{height:88px;display:flex;align-items:center;gap:40px}
:is(.site-header,.site-footer) .logo{width:149px}
:is(.site-header,.site-footer) .site-nav nav{display:flex;align-items:center;gap:32px;margin-left:auto;font-size:15px}
:is(.site-header,.site-footer) .site-nav nav a{position:relative;padding:30px 0}
:is(.site-header,.site-footer) .site-nav nav a:hover,:is(.site-header,.site-footer) .current{color:var(--green-dark)}
:is(.site-header,.site-footer) .current:after{content:'';position:absolute;bottom:21px;left:0;width:22px;height:3px;background:var(--green);border-radius:3px}
:is(.site-header,.site-footer) .button{display:inline-flex;align-items:center;justify-content:center;gap:20px;min-height:56px;padding:13px 26px;border:1px solid var(--green);border-radius:12px;background:var(--green);color:var(--forest);font-weight:600;transition:background .2s,color .2s}
:is(.site-header,.site-footer) .button:hover{background:var(--forest);border-color:var(--forest);color:white}
:is(.site-header,.site-footer) .button.small{font-size:14px;min-height:46px;padding:9px 18px;gap:14px}
:is(.site-header,.site-footer) .button span{font-size:21px}
:is(.site-header,.site-footer) .menu{display:none;background:white;border:1px solid var(--line);padding:11px;border-radius:10px}
:is(.site-header,.site-footer) .menu span{display:block;width:21px;height:2px;background:var(--forest);margin:4px 0}
.site-footer{background:var(--forest);color:#EAF5EF;padding-top:64px}
:is(.site-header,.site-footer) .footer-grid{display:grid;grid-template-columns:1.2fr .8fr .9fr 1.3fr;gap:40px;padding-bottom:48px}
:is(.site-header,.site-footer) .footer-brand>img{width:149px;height:auto}
:is(.site-header,.site-footer) .footer-brand p{font-size:14px;color:#D8E8DF;line-height:1.9;margin-top:23px}
:is(.site-header,.site-footer) .footer-grid h3{font-size:15px;font-weight:500;margin-bottom:20px;color:white}
:is(.site-header,.site-footer) .footer-grid ul{list-style:none;padding:0;margin:0}
:is(.site-header,.site-footer) .footer-grid li{font-size:14px;line-height:1.8;margin:10px 0;color:#D8E8DF}
:is(.site-header,.site-footer) .footer-grid a:hover,:is(.site-header,.site-footer) .footer-bottom a:hover{color:var(--green)}
:is(.site-header,.site-footer) .footer-grid address{font-style:normal;font-size:14px;color:#D8E8DF;line-height:1.95}
:is(.site-header,.site-footer) .footer-bottom{display:flex;justify-content:space-between;gap:20px;border-top:1px solid #2A5141;padding:23px 0;font-size:12px;color:#D8E8DF}
:is(.site-header,.site-footer) .footer-bottom>span:last-child{display:flex;gap:22px}
@media(max-width:1100px){
:is(.site-header,.site-footer) .wrap{padding-left:28px;padding-right:28px}
:is(.site-header,.site-footer) .site-nav{gap:24px}
:is(.site-header,.site-footer) .site-nav nav{gap:22px}
:is(.site-header,.site-footer) .footer-grid{gap:25px}
}
@media(max-width:850px){
:is(.site-header,.site-footer) .nav-action{display:none}
:is(.site-header,.site-footer) .site-nav nav{margin-left:auto}
:is(.site-header,.site-footer) .footer-grid{grid-template-columns:1fr 1fr;gap:34px 48px}
}
@media(max-width:580px){
:is(.site-header,.site-footer) .wrap{padding-left:20px;padding-right:20px}
:is(.site-header,.site-footer) .site-nav{height:72px}
:is(.site-header,.site-footer) .logo{width:133px}
:is(.site-header,.site-footer) .menu{display:block;margin-left:auto}
:is(.site-header,.site-footer) .site-nav nav{display:none;position:absolute;left:0;right:0;top:72px;padding:10px 24px 20px;background:white;border-bottom:1px solid var(--line)}
:is(.site-header,.site-footer) .site-nav nav.open{display:flex;flex-direction:column;align-items:stretch;gap:0}
:is(.site-header,.site-footer) .site-nav nav a{padding:12px 0}
:is(.site-header,.site-footer) .current:after{display:none}
:is(.site-header,.site-footer) .button{font-size:15px;min-height:52px;padding:12px 22px}
.site-footer{padding-top:46px}
:is(.site-header,.site-footer) .footer-grid{grid-template-columns:1fr 1fr;gap:28px 24px;padding-bottom:32px}
:is(.site-header,.site-footer) .footer-brand,:is(.site-header,.site-footer) .footer-grid>div:last-child{grid-column:1/-1}
:is(.site-header,.site-footer) .footer-brand p{max-width:420px}
:is(.site-header,.site-footer) .footer-grid h3{margin-bottom:15px}
:is(.site-header,.site-footer) .footer-bottom{flex-direction:column;gap:12px}
:is(.site-header,.site-footer) .footer-bottom>span:last-child{flex-wrap:wrap;gap:12px 20px}
}
@media(max-width:360px){
:is(.site-header,.site-footer) .wrap{padding-left:16px;padding-right:16px}
}
:is(.site-header,.site-footer) .site-nav{height:78px}
:is(.site-header,.site-footer) .button{min-height:52px;padding:12px 24px;gap:10px;border-radius:28px;color:#fff;font-size:16px;line-height:1.5;white-space:nowrap}
:is(.site-header,.site-footer) .button.small{min-height:44px;padding:10px 20px;gap:8px;font-size:14px;line-height:1.5}
:is(.site-header,.site-footer) .button>.button-icon{width:20px;height:20px;flex:0 0 20px}
:is(.site-header,.site-footer) .button.small>.button-icon{width:18px;height:18px;flex-basis:18px}
@media(max-width:580px){
:is(.site-header,.site-footer) .button{min-height:48px;padding:11px 20px;font-size:15px}
}
.site-footer{padding-top:48px}
:is(.site-header,.site-footer) .footer-grid{padding-bottom:34px}
@media(max-width:580px){
:is(.site-header,.site-footer) .site-nav{height:72px}
}
@media(max-width:580px){
:is(.site-header,.site-footer) .footer-brand>img{width:133px}
}
:is(.site-header,.site-footer) .footer-contact{display:grid;gap:14px}
:is(.site-header,.site-footer) .footer-contact-row{display:grid;grid-template-columns:20px minmax(0,1fr);align-items:start;gap:10px}
:is(.site-header,.site-footer) .footer-contact-row>svg{width:20px;height:20px;margin-top:3px;color:var(--green)}
:is(.site-header,.site-footer) .footer-contact-row>span{min-width:0;overflow-wrap:anywhere}

/* One contact action in the header, including narrow screens. */
@media(max-width:850px){
.site-header .site-nav{gap:16px}
.site-header .logo{width:120px}
.site-header .site-nav nav{gap:16px;font-size:14px}
.site-header .nav-action{display:inline-flex}
.site-header .button.small.nav-action{font-size:14px;padding:9px 16px;min-height:44px}
}
@media(max-width:580px){
.site-header .site-nav{gap:10px}
.site-header .logo{width:112px}
.site-header .nav-action{margin-left:auto}
.site-header .site-nav .menu{margin-left:0;flex:none}
}
