/* RAM CMS | Compact premium public footer v1.1.0
   All selectors are scoped: older per-page footer CSS remains untouched. */
.rc-site-footer {
  --rcf-ink: #06110e;
  --rcf-surface: #0a1d17;
  --rcf-soft: #a4b7ac;
  --rcf-line: rgba(185, 239, 195, .14);
  --rcf-lime: #c6fa67;
  box-sizing: border-box;
  isolation: isolate;
  position: relative;
  overflow: hidden;
  width: 100%;
  margin: 0;
  padding: 0;
  border-top: 1px solid rgba(163, 255, 111, .23);
  background: linear-gradient(145deg, #0c211a 0%, #081712 46%, #06110e 100%);
  color: #e7f1e9;
  font-family: "Noto Sans Thai", "Leelawadee UI", Tahoma, system-ui, -apple-system, sans-serif;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.45;
  text-align: left;
  box-shadow: inset 0 1px rgba(255,255,255,.035);
}
.rc-site-footer *,
.rc-site-footer *::before,
.rc-site-footer *::after { box-sizing: border-box; }
.rc-site-footer::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 42% 65% at -7% -20%, rgba(118, 230, 68, .13), transparent 88%),
    radial-gradient(ellipse 36% 90% at 100% 90%, rgba(16, 160, 116, .095), transparent 90%),
    linear-gradient(90deg, rgba(177,255,188,.015) 1px, transparent 1px),
    linear-gradient(0deg, rgba(177,255,188,.014) 1px, transparent 1px);
  background-size: auto,auto,42px 42px,42px 42px;
  mask-image: linear-gradient(180deg, #000 0%, #000 45%, transparent 100%);
}
.rc-site-footer a,
.rc-site-footer a:visited {
  display: inline;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: inherit;
  text-decoration: none;
}
/* Legacy 404 HTML styles every <a> like a lime button; contain that rule. */
body.rc-site-error-page {
  display: block;
  padding: 0;
  text-align: center;
}
body.rc-site-plain-page > .rc-site-footer {
  width: 100vw;
  margin-left: calc(50% - 50vw);
}
body.rc-site-error-page > main {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 52vh;
  width: min(620px, 100%);
  margin: 0 auto;
  padding: 45px 20px;
}
.rc-site-footer a:focus-visible {
  outline: 2px solid #bafb65;
  outline-offset: 4px;
  border-radius: 5px;
}
.rc-site-footer__wrap {
  width: min(1320px, 100%);
  margin-inline: auto;
  padding: 24px 26px 0;
}
/* Dense conversion strip, rather than a full-height hero panel. */
.rc-site-footer__top {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px 28px;
  min-height: 100px;
  padding: 17px 21px 17px 24px;
  overflow: hidden;
  border: 1px solid rgba(167, 255, 118, .19);
  border-left: 3px solid #bbf766;
  border-radius: 13px;
  background: linear-gradient(107deg, rgba(125,226,72,.13), rgba(30,114,82,.08) 51%, rgba(255,255,255,.025));
}
.rc-site-footer__top::after {
  content: "";
  position: absolute;
  top: -28px;
  left: 40%;
  height: 110px;
  width: 190px;
  border: 1px solid rgba(182,247,99,.12);
  border-radius: 50%;
  transform: rotate(-22deg);
  pointer-events: none;
}
.rc-site-footer__intro { position: relative; z-index: 1; min-width: 0; }
.rc-site-footer__signal {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 4px;
  color: #addb98;
  font-size: 10px;
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: .09em;
}
.rc-site-footer__signal-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #c0ff69;
  box-shadow: 0 0 0 3px rgba(189,255,102,.11);
}
.rc-site-footer__signal-divider {
  width: 2px;
  height: 2px;
  border-radius: 50%;
  background: rgba(201,255,203,.54);
}
.rc-site-footer__intro h2 {
  margin: 0;
  padding: 0;
  color: #fff;
  font-size: clamp(17px, 1.7vw, 23px);
  font-weight: 900;
  letter-spacing: -.02em;
  line-height: 1.34;
}
.rc-site-footer__intro h2 span { color: var(--rcf-lime); }
.rc-site-footer__intro-desc { margin: 3px 0 0; color: #b4c8ba; font-size: 12px; }
.rc-site-footer__actions { display: grid; grid-template-columns: repeat(2, minmax(174px, 1fr)); gap: 9px; }
.rc-site-footer .rc-site-footer__action {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) 12px;
  align-items: center;
  gap: 9px;
  min-height: 56px;
  min-width: 0;
  padding: 8px 11px;
  border-radius: 9px;
  transition: transform .17s ease, border-color .17s ease, box-shadow .17s ease;
}
.rc-site-footer .rc-site-footer__action--line,
.rc-site-footer .rc-site-footer__action--line:visited {
  color: #0c2613;
  background: linear-gradient(125deg, #befe55, #80e63b);
  box-shadow: 0 4px 20px rgba(150,238,78,.11);
}
.rc-site-footer .rc-site-footer__action--phone,
.rc-site-footer .rc-site-footer__action--phone:visited {
  color: #effff0;
  border: 1px solid rgba(208,255,220,.23);
  background: rgba(255,255,255,.055);
}
.rc-site-footer__action:hover { transform: translateY(-2px); }
.rc-site-footer__action--phone:hover { border-color: rgba(194,255,140,.55); }
.rc-site-footer__action-icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: rgba(7,38,16,.11);
  font-family: system-ui, sans-serif;
  font-size: 10px;
  font-weight: 1000;
  letter-spacing: -.02em;
}
.rc-site-footer__action--phone .rc-site-footer__action-icon { background: rgba(207,255,220,.085); }
.rc-site-footer__action-icon svg { width: 20px; height: 20px; }
.rc-site-footer__action-text { display: grid; gap: 2px; min-width: 0; }
.rc-site-footer__action-text strong { font-size: 12px; font-weight: 900; line-height: 1.3; }
.rc-site-footer__action-text small { overflow: hidden; font-size: 12px; font-weight: 750; line-height: 1.3; text-overflow: ellipsis; white-space: nowrap; }
.rc-site-footer__action--phone .rc-site-footer__action-text small { color: #c8ebd0; }
.rc-site-footer__action-arrow { align-self: start; justify-self: end; font-size: 15px; line-height: 1; opacity: .7; }
/* Four compact editorial columns; restrained borders replace bulky cards. */
.rc-site-footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.03fr);
  gap: 0;
  padding: 25px 0 20px;
}
.rc-site-footer__grid > * { min-width: 0; margin: 0; padding: 1px 18px; }
.rc-site-footer__grid > :first-child { padding-left: 0; }
.rc-site-footer__grid > :last-child { padding-right: 0; }
.rc-site-footer__grid > * + * { border-left: 1px solid var(--rcf-line); }
.rc-site-footer .rc-site-footer__brand-lockup { display: flex; align-items: center; gap: 9px; max-width: 100%; }
.rc-site-footer__brand-lockup img {
  flex: 0 0 auto;
  width: 80px;
  height: 62px;
  max-width: 80px;
  object-fit: contain;
  filter: drop-shadow(0 4px 9px rgba(0,0,0,.25));
}
.rc-site-footer__brand-lockup > span { display: grid; gap: 5px; min-width: 0; }
.rc-site-footer__brand-lockup small { color: #94c886; font: 800 9px/1.25 system-ui, sans-serif; letter-spacing: .1em; }
.rc-site-footer__brand-lockup strong { display: block; color: #fff; font-size: clamp(13px, 1.15vw, 17px); font-weight: 900; line-height: 1.32; overflow-wrap: anywhere; }
.rc-site-footer__brand > p { max-width: 310px; margin: 7px 0 0; color: var(--rcf-soft); font-size: 12px; line-height: 1.6; }
.rc-site-footer__trust { display: flex; flex-wrap: wrap; gap: 6px 12px; margin-top: 11px; }
.rc-site-footer__trust span { color: #b7e1b0; font-size: 10.5px; font-weight: 800; white-space: nowrap; }
.rc-site-footer__grid h3 {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 2px 0 11px;
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.3;
}
.rc-site-footer__heading-index { color: #91df56; font: 800 10px/1.3 system-ui, sans-serif; letter-spacing: .04em; }
.rc-site-footer__nav ul { display: grid; gap: 1px; margin: 0; padding: 0; list-style: none; }
.rc-site-footer__nav li { list-style: none; padding: 0; margin: 0; }
.rc-site-footer__nav li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 24px;
  padding: 1px 0;
  color: #b8cdbf;
  font-size: 12px;
  font-weight: 600;
  transition: color .15s ease, transform .15s ease;
}
.rc-site-footer__nav li a span { flex: 0 0 auto; color: #81ba75; font: 800 18px/1 system-ui, sans-serif; opacity: .45; }
.rc-site-footer__nav li a:hover { color: #caff8a; transform: translateX(2px); }
.rc-site-footer__nav li a:hover span { opacity: 1; }
.rc-site-footer__contact { min-width: 0; }
.rc-site-footer .rc-site-footer__contact-link { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; padding: 7px 0 6px; border-bottom: 1px solid rgba(185,239,195,.1); }
.rc-site-footer__contact-link span { flex: 0 0 auto; color: #91a99a; font-size: 11px; }
.rc-site-footer__contact-link strong { min-width: 0; color: #f2fff1; font-size: 12px; font-weight: 900; text-align: right; overflow-wrap: anywhere; }
.rc-site-footer__contact-link:hover strong { color: #caff87; }
.rc-site-footer__location { display: flex; align-items: center; gap: 7px; padding-top: 9px; color: #abbfb0; font-size: 11px; }
.rc-site-footer__pin { color: #baf876; font: 900 18px/1 system-ui, sans-serif; }
.rc-site-footer .rc-site-footer__map { display: inline-flex; align-items: center; gap: 7px; margin-top: 7px; color: #b7fa85; font-size: 11px; font-weight: 900; }
.rc-site-footer .rc-site-footer__map:hover { color: #fff; }
.rc-site-footer__map span { font-size: 14px; }
.rc-site-footer__disclaimer {
  display: flex;
  align-items: baseline;
  gap: 7px;
  margin: 0;
  padding: 11px 0 13px;
  border-top: 1px solid var(--rcf-line);
  color: #839f8f;
  font-size: 10.5px;
  line-height: 1.5;
}
.rc-site-footer__asterisk { color: #adf17c; font-size: 12px; }
/* Credits occupy the final row of the entire public page. */
.rc-site-footer__bottom {
  position: relative;
  border-top: 1px solid rgba(177,255,175,.1);
  background: rgba(0,0,0,.3);
}
.rc-site-footer__bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 9px 24px;
  width: min(1320px, 100%);
  margin: 0 auto;
  padding: 11px 26px 12px;
}
.rc-site-footer__copyright { color: #8aa395; font-size: 10.5px; }
.rc-site-footer__copyright-dot { padding: 0 2px; color: #64816c; }
.rc-site-footer__credits { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 6px 0; }
.rc-site-footer__credit { display: inline-flex; align-items: baseline; gap: 5px; min-width: 0; padding-inline: 14px; color: #819c8d; font: 600 10.5px/1.4 system-ui, Tahoma, sans-serif; white-space: nowrap; }
.rc-site-footer__credit + .rc-site-footer__credit { border-left: 1px solid rgba(180,225,194,.19); }
.rc-site-footer__credit:last-child { padding-right: 0; }
.rc-site-footer .rc-site-footer__credit a,
.rc-site-footer .rc-site-footer__credit a:visited { color: #d6f5c9; font-size: 11px; font-weight: 850; letter-spacing: .01em; }
.rc-site-footer .rc-site-footer__credit a:hover { color: #baff5d; text-decoration: underline; text-underline-offset: 3px; }
@media (min-width: 1450px) {
  .rc-site-footer__wrap { padding-top: 25px; }
}
@media (max-width: 1070px) {
  .rc-site-footer__top { grid-template-columns: 1fr; }
  .rc-site-footer__actions { grid-template-columns: repeat(2,minmax(0,1fr)); width: 100%; }
  .rc-site-footer__grid { grid-template-columns: repeat(2, minmax(0,1fr)); row-gap: 22px; }
  .rc-site-footer__grid > * { padding-inline: 20px; }
  .rc-site-footer__grid > :nth-child(odd) { padding-left: 0; border-left: 0; }
  .rc-site-footer__grid > :nth-child(even) { padding-right: 0; border-left: 1px solid var(--rcf-line); }
  .rc-site-footer__brand-lockup strong { font-size: 17px; }
}
@media (max-width: 640px) {
  .rc-site-footer { font-size: 12px; }
  .rc-site-footer__wrap { padding: 14px 14px 0; }
  .rc-site-footer__top { gap: 14px; min-height: 0; padding: 15px 13px; border-radius: 10px; }
  .rc-site-footer__signal { font-size: 9px; }
  .rc-site-footer__intro h2 { font-size: 17px; }
  .rc-site-footer__intro h2 span { display: block; }
  .rc-site-footer__intro-desc { font-size: 11px; }
  .rc-site-footer__actions { gap: 7px; }
  .rc-site-footer .rc-site-footer__action { grid-template-columns: 29px minmax(0,1fr); gap: 7px; min-height: 53px; padding: 8px; }
  .rc-site-footer__action-icon { width: 29px; height: 30px; border-radius: 7px; font-size: 8px; }
  .rc-site-footer__action-icon svg { width: 17px; height: 17px; }
  .rc-site-footer__action-text strong { font-size: 10.5px; }
  .rc-site-footer__action-text small { font-size: 10.5px; }
  .rc-site-footer__action-arrow { display: none; }
  .rc-site-footer__grid { grid-template-columns: repeat(2,minmax(0,1fr)); row-gap: 0; padding: 18px 0 16px; }
  .rc-site-footer__grid > * { padding: 0; }
  .rc-site-footer__grid > :first-child { grid-column: 1/-1; margin-bottom: 16px; padding: 0 0 13px; border-bottom: 1px solid var(--rcf-line); }
  .rc-site-footer__grid > :nth-child(2) { padding: 0 11px 0 0; border-left: 0; }
  .rc-site-footer__grid > :nth-child(3) { padding: 0 0 0 12px; border-left: 1px solid var(--rcf-line); }
  .rc-site-footer__grid > :last-child { grid-column: 1/-1; display: grid; grid-template-columns: 1fr 1fr; gap: 2px 12px; margin-top: 13px; padding: 14px 0 0; border: 0; border-top: 1px solid var(--rcf-line); }
  .rc-site-footer__contact h3 { grid-column: 1/-1; margin-bottom: 4px; }
  .rc-site-footer .rc-site-footer__contact-link { padding: 6px 0; }
  .rc-site-footer__location { grid-column: 1/-1; padding-top: 9px; }
  .rc-site-footer__map { grid-column: 1/-1; margin-top: 4px !important; }
  .rc-site-footer__brand-lockup img { width: 68px; height: 54px; }
  .rc-site-footer__brand-lockup strong { font-size: 16px; }
  .rc-site-footer__brand > p { max-width: 100%; margin-top: 4px; font-size: 11px; }
  .rc-site-footer__trust { margin-top: 7px; }
  .rc-site-footer__grid h3 { font-size: 12px; margin-bottom: 8px; }
  .rc-site-footer__nav li a { min-height: 27px; font-size: 11px; }
  .rc-site-footer__disclaimer { padding: 10px 0 12px; font-size: 10px; }
  .rc-site-footer__bottom-inner { flex-direction: column; align-items: flex-start; gap: 8px; padding: 11px 14px calc(15px + env(safe-area-inset-bottom)); }
  /* Two short left-aligned lines keep the credits clear of mobile floating calls. */
  .rc-site-footer__credits { display: grid; grid-template-columns: repeat(2,max-content); justify-content: start; gap: 5px 15px; max-width: calc(100% - 96px); }
  .rc-site-footer__credit { padding-inline: 0; font-size: 10px; }
  .rc-site-footer__credit + .rc-site-footer__credit { border-left: 0; }
}
@media (max-width: 360px) {
  .rc-site-footer__wrap { padding-inline: 10px; }
  .rc-site-footer__top { padding: 13px 10px; }
  .rc-site-footer__action-text strong,.rc-site-footer__action-text small { font-size: 9.5px; }
  .rc-site-footer__grid > :nth-child(2) { padding-right: 8px; }
  .rc-site-footer__grid > :nth-child(3) { padding-left: 8px; }
  .rc-site-footer__credits { grid-template-columns: repeat(2,max-content); gap: 5px 10px; }
  .rc-site-footer__credit { gap: 3px; padding-inline: 0; font-size: 9px; }
  .rc-site-footer .rc-site-footer__credit a { font-size: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .rc-site-footer a { transition: none !important; }
}
@media print {
  .rc-site-footer { color: #111; background: #fff; border-top: 2px solid #222; box-shadow: none; }
  .rc-site-footer__top { background: transparent; }
  .rc-site-footer__grid { break-inside: avoid; }
}
