/* =========================================================
   ARB KHAO — footer.css (site footer + LINE button, every page)
   Markup: _dev/partials/footer.html
   ========================================================= */
.site-footer { background: var(--forest); color: var(--white); padding: clamp(70px, 9vw, 120px) 0 30px; position: relative; overflow: hidden; }
.site-footer > .curve { inset: 0; width: 100%; height: 100%; opacity: .25; }
.site-footer > .container { position: relative; }
.footer__top { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: clamp(32px, 5vw, 80px); padding-bottom: 60px; border-bottom: 1px solid var(--line-light); }
.footer__news h2 { margin-bottom: 14px; }
.footer__news .h4 { font-size: 17px; }
.footer__news .small { opacity: .75; max-width: 420px; }


/* link columns */
.footer__col h3 { letter-spacing: .14em; line-height: 1.7; opacity: .6; margin: 0 0 18px; }
.footer__col ul { list-style: none; margin: 0; padding: 0; }
.footer__col li { margin-bottom: 8px; }
.footer__col li a { opacity: .88; transition: opacity .3s; }
.footer__col li a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 4px; }
.socials { display: flex; gap: 14px; }
.footer__col .socials a { width: 52px; height: 52px; min-width: 52px; border-radius: 50%; border: 1px solid var(--line-light); display: grid; place-items: center; opacity: 1; color: var(--white); transition: background .35s var(--ease), border-color .35s var(--ease), transform .35s var(--ease); }
.socials a:hover, .socials a:focus-visible { transform: translateY(-3px); }
.socials__line:hover, .socials__line:focus-visible { background: #06c755; border-color: #06c755; }
.socials__fb:hover, .socials__fb:focus-visible { background: #1877f2; border-color: #1877f2; }
.footer__col .socials svg { display: block; width: 24px; height: 24px; }

/* big wordmark + bottom bar */
.footer__mark { font-weight: 200; font-size: clamp(64px, 17vw, 260px); line-height: .8; text-align: center; letter-spacing: .02em; margin: 60px 0 30px; opacity: .92; white-space: nowrap; }
.footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 12px; opacity: .65; }
.footer__bottom a:hover { text-decoration: underline; }


@media (max-width: 991px) {
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__news { grid-column: 1 / -1; }
}
/* touch screens: footer links at least 44px tall */
@media (max-width: 991px), (pointer: coarse) {
  .footer__col li { margin-bottom: 0; }
  .footer__col li a, .footer__bottom a { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; }
}
@media (max-width: 767px) {
  .footer__top { grid-template-columns: 1fr; gap: 40px; padding-bottom: 44px; }
  .footer__mark { margin: 44px 0 24px; }
  .footer__bottom { flex-direction: column; gap: 0; }
}
