@charset "utf-8";

:root {
  --color-primary: #1E293B;
  --color-primary-dark: #0F172A;
  --color-accent: #EA580C;
  --color-accent-hover: #C2410C;
  --color-secondary: #D97706;
  --color-success: #16A34A;
  --color-bg: #F8FAFC;
  --color-surface: #FFFFFF;
  --color-border: #E2E8F0;
  --color-text: #0F172A;
  --color-text-muted: #64748B;
  --shadow-sm: 0 1px 2px 0 rgba(0,0,0,0.05);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.1);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --gradient-primary: linear-gradient(135deg, #1E293B 0%, #334155 100%);
  --gradient-accent: linear-gradient(135deg, #EA580C 0%, #F97316 100%);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  width: 100%;
  min-width: 0;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", "Prompt", "Tahoma", "Liberation sans", Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg) !important;
  background-image: none !important;
}

img, video, iframe, embed, object {
  max-width: 100%;
  height: auto;
}

table {
  max-width: 100%;
  width: 100% !important;
  border-collapse: collapse;
  overflow-x: auto;
  display: block;
}

a {
  color: var(--color-accent);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--color-accent-hover);
  text-decoration: none;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--color-primary-dark);
  font-weight: 700;
  line-height: 1.3;
}

.main {
  background: none !important;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.header {
  background:
    linear-gradient(180deg,
      rgba(15, 23, 42, 0.48) 0%,
      rgba(15, 23, 42, 0.18) 14%,
      rgba(15, 23, 42, 0.06) 38%,
      rgba(15, 23, 42, 0.08) 62%,
      rgba(15, 23, 42, 0.42) 86%,
      rgba(15, 23, 42, 0.72) 100%),
    url('../images/bg.jpg')
    center top / cover no-repeat;
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-md);
}

.header_resize {
  width: 100% !important;
  max-width: 1280px;
  margin: 0 auto;
  padding: 16px 20px;
}

.logo {
  float: none !important;
  width: auto !important;
  height: auto !important;
  padding: 0 !important;
  display: inline-flex;
  align-items: center;
}

.logo h1 {
  margin: 0;
  padding: 0 !important;
  font-size: 0;
  line-height: 0;
}

.logo img {
  max-height: 60px;
  width: auto;
  height: auto;
}

.searchform {
  float: none !important;
  display: none;
  margin-top: 12px;
}

#formsearch {
  margin: 0 !important;
  padding: 0 !important;
  height: auto !important;
  width: 100% !important;
  display: flex;
  background: rgba(255,255,255,0.1);
  border-radius: var(--radius-md);
  overflow: hidden;
}

#formsearch span {
  background: none !important;
  flex: 1;
  display: block;
  float: none !important;
}

#formsearch input.editbox_search {
  width: 100% !important;
  padding: 10px 14px !important;
  background: transparent !important;
  color: #fff !important;
  font-size: 14px;
  float: none !important;
}

#formsearch input.editbox_search::placeholder {
  color: rgba(255,255,255,0.6);
}

#formsearch input.button_search {
  width: 44px !important;
  height: 44px !important;
  padding: 0 !important;
  margin: 0 !important;
  background: var(--color-accent) center center no-repeat !important;
  background-size: 20px 20px;
  float: none !important;
  border: none !important;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  cursor: pointer;
  transition: var(--transition);
  flex: 0 0 44px;
}

#formsearch input.button_search:hover {
  filter: brightness(1.1);
}

#formsearch input.button_search img,
#formsearch input[type="image"] {
  width: 100% !important;
  height: 100% !important;
  display: block;
}

.menu-toggle {
  display: none;
  position: absolute;
  top: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 2px solid rgba(255,255,255,0.3);
  border-radius: var(--radius-sm);
  cursor: pointer;
  z-index: 101;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: var(--transition);
}

.menu-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.menu_nav {
  margin-top: 16px;
  height: auto !important;
  background: none !important;
}

.menu_nav ul {
  list-style: none;
  padding: 0 !important;
  margin: 0 !important;
  height: auto !important;
  float: none !important;
  background: none !important;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.menu_nav ul li {
  float: none !important;
  padding: 0 !important;
  margin: 0 !important;
  background: none !important;
  flex: 1 1 auto;
  min-width: 100px;
}

.menu_nav ul li a {
  display: block;
  margin: 0 !important;
  padding: 12px 16px !important;
  width: auto !important;
  font-size: 14px;
  line-height: 1.4;
  font-weight: 600;
  color: rgba(255,255,255,0.9) !important;
  text-decoration: none;
  text-transform: none;
  text-align: center;
  background: rgba(255,255,255,0.05);
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  transition: var(--transition);
}

.menu_nav ul li a strong,
.menu_nav ul li a span strong {
  font-weight: 600;
}

.menu_nav ul li.active a,
.menu_nav ul li a:hover {
  background: var(--gradient-accent) !important;
  color: #fff !important;
  border-color: rgba(255,255,255,0.15);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.slider {
  padding: 0 !important;
  height: auto !important;
  margin: 14px 0 18px 0;
  width: 100% !important;
  display: block;
}

#coin-slider,
.hero-slider {
  border-radius: 16px;
  overflow: hidden !important;
  box-shadow: 0 25px 60px -24px rgba(15, 23, 42, 0.55);
  position: relative;
  width: 100% !important;
  max-width: 100% !important;
  min-height: 180px;
  aspect-ratio: 21 / 9;
  background: #0f172a center center no-repeat;
  background-size: cover;
  display: block;
  clear: both;
}

.hero-slider-track {
  position: absolute;
  inset: 0 0 0 0;
  width: 400%;
  height: 100%;
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  animation: heroSlide 22s infinite cubic-bezier(0.65, 0, 0.35, 1);
}

.hero-slider:hover .hero-slider-track {
  animation-play-state: paused;
}

.hero-slide {
  position: relative;
  flex: 0 0 25%;
  width: 25%;
  height: 100%;
  overflow: hidden;
  display: block;
  text-decoration: none;
  outline: none;
  border: none;
}

.hero-slide img {
  position: absolute;
  inset: 0 0 0 0;
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: cover !important;
  object-position: center center;
  display: block;
  transform: scale(1.02);
  transition: transform 1.6s ease;
}

.hero-slider:hover .hero-slide img {
  transform: scale(1.06);
}

.hero-slide::after {
  content: '';
  position: absolute;
  inset: auto 0 0 0;
  height: 40%;
  background: linear-gradient(to top, rgba(15,23,42,0.55) 0%, rgba(15,23,42,0) 100%);
  pointer-events: none;
}

.hero-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 16px;
  z-index: 5;
  display: flex;
  justify-content: center;
  gap: 10px;
  padding: 0 16px;
}

.hero-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255,255,255,0.45);
  text-indent: -9999px;
  display: inline-block;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
  border: 2px solid rgba(255,255,255,0.3);
}

.hero-dot::after {
  content: '';
  position: absolute;
  inset: 0 0 0 0;
  border-radius: 50%;
  background: var(--color-accent);
  transform: scale(0);
  transform-origin: center;
}

.hero-dots .hero-dot:nth-child(1)::after { animation: heroDot 22s infinite ease-out 0s; }
.hero-dots .hero-dot:nth-child(2)::after { animation: heroDot 22s infinite ease-out 5.5s; }
.hero-dots .hero-dot:nth-child(3)::after { animation: heroDot 22s infinite ease-out 11s; }
.hero-dots .hero-dot:nth-child(4)::after { animation: heroDot 22s infinite ease-out 16.5s; }

@keyframes heroSlide {
  0%, 22%   { transform: translateX(0%); }
  25%, 47%  { transform: translateX(-25%); }
  50%, 72%  { transform: translateX(-50%); }
  75%, 97%  { transform: translateX(-75%); }
  100%      { transform: translateX(0%); }
}

@keyframes heroDot {
  0%, 20%  { transform: scale(0); }
  25%, 75% { transform: scale(1); }
  100%     { transform: scale(0); }
}

.hero-arrows {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  display: flex;
  justify-content: space-between;
  padding: 0 14px;
  pointer-events: none;
}

.hero-arrow {
  pointer-events: auto;
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(15,23,42,0.55);
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
  backdrop-filter: blur(4px);
  transition: all 0.3s;
  border: 1px solid rgba(255,255,255,0.1);
  user-select: none;
}

.hero-arrow:hover {
  background: var(--color-accent);
  transform: scale(1.08);
  color: #fff !important;
}

.header .slider,
.header_resize > .clr .slider,
#coin-slider-disabled,
.hero-slider {
  position: relative;
  left: auto !important;
  right: auto !important;
  width: 100% !important;
  max-width: 1200px;
  margin: 92px auto 0 auto;
  padding-left: 0 !important;
  padding-right: 0 !important;
  border-radius: 18px !important;
  display: block !important;
  clear: both !important;
  float: none !important;
  overflow: hidden !important;
  height: auto !important;
}

.hero-slider {
  aspect-ratio: 35 / 12;
  overflow: hidden;
  max-height: 52vh;
  min-height: 150px;
  display: block !important;
  clear: both !important;
  float: none !important;
  box-shadow: 0 40px 80px -28px rgba(0, 0, 0, 0.75), 0 0 0 1px rgba(255,255,255,0.22);
  border: 1px solid rgba(255,255,255,0.22);
  backdrop-filter: saturate(120%);
  -webkit-backdrop-filter: saturate(120%);
}

.hero-slider-track {
  position: relative;
  width: 400%;
  height: 100%;
  display: flex;
  flex-wrap: nowrap;
  animation: heroSlideAuto 22s ease-in-out infinite;
  margin: 0;
  padding: 0;
  transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

/* เมื่อมีการคลิกที่ลูกศรหรือจุด — จะหยุด keyframe ให้ JS ควบคุมแทน */
.hero-slider.hero-manual .hero-slider-track {
  animation: none !important;
}
/* เมื่ออยู่ใน manual mode — หยุด animation dot หลัง ::after ทั้งหมด ให้ JS เปลี่ยน class active แทน */
.hero-slider.hero-manual .hero-dot::after,
.hero-slider.hero-manual .hero-dots .hero-dot:nth-child(1)::after,
.hero-slider.hero-manual .hero-dots .hero-dot:nth-child(2)::after,
.hero-slider.hero-manual .hero-dots .hero-dot:nth-child(3)::after,
.hero-slider.hero-manual .hero-dots .hero-dot:nth-child(4)::after {
  animation: none !important;
  transform: scale(0);
}
.hero-dot.active {
  background: var(--color-accent) !important;
  border-color: rgba(255,255,255,0.9) !important;
  transform: scale(1.25);
  box-shadow: 0 2px 12px rgba(249,115,22,0.6);
}
/* เมื่อ hover slider ให้ชะลอเลื่อนอัตโนมัติ (pause effect) */
.hero-slider:hover .hero-slider-track {
  animation-play-state: paused;
}

.hero-slide {
  position: relative;
  flex: 0 0 25%;
  width: 25%;
  height: 100%;
  display: block;
  overflow: hidden;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.02);
  transition: transform 0.6s ease;
}

.hero-slide:hover img {
  transform: scale(1.07);
}

@keyframes heroSlideAuto {
  0%, 18%  { transform: translateX(0%); }
  25%, 43% { transform: translateX(-25%); }
  50%, 68% { transform: translateX(-50%); }
  75%, 93% { transform: translateX(-75%); }
  100%     { transform: translateX(0%); }
}

.header_resize {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0;
  padding: 12px 20px 20px 20px;
}

@media (min-width: 768px) {
  .hero-slider {
    aspect-ratio: 20 / 7;
    max-height: 340px;
    min-height: 200px;
    margin-top: 118px !important;
  }
}
@media (min-width: 992px) {
  .header_resize {
    padding: 12px 32px 28px 32px;
  }
  #coin-slider,
  .hero-slider {
    aspect-ratio: 20 / 7;
    max-height: 420px;
    min-height: 250px;
    border-radius: 18px !important;
    left: auto !important;
    right: auto !important;
    width: 100% !important;
    max-width: 1220px;
    margin: 140px auto 0 auto !important;
    display: block !important;
    clear: both !important;
    float: none !important;
  }
}

@media (min-width: 1280px) {
  #coin-slider,
  .hero-slider {
    aspect-ratio: 20 / 7;
    max-height: 460px;
    min-height: 280px;
    border-radius: 20px !important;
    left: auto !important;
    right: auto !important;
    width: 100% !important;
    max-width: 1260px;
    margin: 160px auto 0 auto !important;
    display: block !important;
    clear: both !important;
    float: none !important;
  }
  .hero-arrow { width: 50px; height: 50px; font-size: 20px; }
}

#coin-slider-disabled,
#coin-slider-disabled > *,
#coin-slider,
#coin-slider > *,
[class*="cs-"],
[class*="cs_"],
[class^="cs-"],
[class^="cs_"],
span[class*="cs-"],
span[class*="cs_"],
div[class*="cs-"],
div[class*="cs_"],
.cs-buttons,
.cs-prev,
.cs-next,
.cs-title,
.cs_buttons,
.cs_prev,
.cs_next,
.cs_title,
.slider span.cs_image,
.slider span[style*="position:absolute"] {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  width: 0 !important;
  height: 0 !important;
  min-width: 0 !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  overflow: hidden !important;
  pointer-events: none !important;
  position: absolute !important;
  left: -9999px !important;
  z-index: -1 !important;
}

.content {
  flex: 1;
  border-bottom: none !important;
  padding: 0 0 40px 0;
}

.content_resize {
  width: 100% !important;
  max-width: 1280px;
  margin: 0 auto;
  padding: 24px 20px !important;
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
}

.content .mainbar {
  float: none !important;
  width: 100% !important;
  max-width: 100%;
  flex: 1 1 640px;
  min-width: 0;
}

.content .mainbar .article {
  background: var(--color-surface);
  padding: 28px;
  margin: 0 0 24px 0 !important;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border) !important;
}

.content .mainbar h2 {
  font-size: 26px;
  margin: 0 0 16px 0;
  padding: 0 0 12px 0;
  color: var(--color-primary-dark);
  border-bottom: 2px solid var(--color-accent);
  display: inline-block;
}

.content .mainbar h3 {
  font-size: 20px;
  margin: 20px 0 12px;
  color: var(--color-primary);
}

.content .mainbar p {
  margin: 0 0 12px;
  padding: 0;
  font-size: 15px;
  line-height: 1.8;
  color: #334155;
}

.content .mainbar p strong {
  color: var(--color-primary-dark);
}

.content .mainbar img {
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  margin: 12px 0;
  display: block;
}

.content .mainbar iframe {
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  width: 100% !important;
  max-width: 100%;
  aspect-ratio: 16 / 9;
  height: auto !important;
  min-height: 315px;
  border: none;
}

.content .mainbar article iframe {
  min-height: 480px;
}

.content .sidebar {
  float: none !important;
  width: 100% !important;
  flex: 0 0 320px;
  min-width: 0;
}

.content .sidebar .gadget {
  background: var(--color-surface);
  padding: 20px;
  margin: 0 0 20px 0 !important;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
}

.content .sidebar h2 {
  color: var(--color-accent) !important;
  font-size: 18px;
  margin: 0 0 12px 0;
  padding: 0 0 10px 0 !important;
  border-bottom: 2px solid var(--color-border);
}

.content .sidebar .gadget iframe {
  width: 100% !important;
  max-width: 100%;
  border-radius: var(--radius-md);
}

.content .sidebar .gadget img {
  width: 100% !important;
  height: auto !important;
  max-width: 100%;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  margin: 0 !important;
}

.fbg {
  background: var(--gradient-primary) !important;
  background-image: none !important;
  border: none !important;
  color: rgba(255,255,255,0.85);
  margin-top: auto;
}

.fbg_resize {
  width: 100% !important;
  max-width: 1280px;
  margin: 0 auto;
  padding: 48px 20px 24px !important;
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
}

.fbg h2, .fbg h3 {
  color: #fff !important;
  padding-bottom: 12px !important;
  margin-bottom: 16px;
  border-bottom: 2px solid var(--color-accent);
  display: inline-block;
}

.fbg p {
  color: rgba(255,255,255,0.8);
  line-height: 1.8;
}

.fbg a {
  color: #FCD34D;
}

.fbg a:hover {
  color: #FBBF24;
  text-decoration: underline;
}

.fbg ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.fbg ul li {
  padding: 6px 0;
  color: rgba(255,255,255,0.8);
  line-height: 1.7;
}

.fbg .col {
  float: none !important;
  flex: 1 1 280px;
  min-width: 260px;
  margin: 0 !important;
  padding: 0 !important;
}

.fbg .c1 {
  width: auto !important;
}

.fbg .c2 {
  width: auto !important;
}

.fbg .c3 {
  width: auto !important;
}

.fbg .c3 a {
  padding: 0;
  margin: 0;
}

.fbg img.gal {
  margin: 0 8px 8px 0 !important;
  padding: 4px !important;
  background: rgba(255,255,255,0.1) !important;
  border: 1px solid rgba(255,255,255,0.15) !important;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  width: 75px;
  height: 75px;
  object-fit: cover;
}

.fbg img.gal:hover {
  transform: scale(1.08);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-accent);
}

.fbg_resize > p {
  width: 100%;
  color: rgba(255,255,255,0.5);
  font-size: 12px;
  line-height: 1.8;
  padding-top: 24px;
  margin: 0;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.fbg_resize > div[align="center"] {
  width: 100%;
  padding-top: 16px;
}

.fbg_resize > div[align="center"] a {
  color: rgba(255,255,255,0.5);
  font-size: 12px;
}

.fbg .col img {
  border-radius: var(--radius-md);
  max-width: 100%;
  height: auto;
}

.footer {
  background: var(--color-primary-dark) !important;
  border-top: none !important;
  color: rgba(255,255,255,0.5);
}

.footer_resize {
  width: 100% !important;
  max-width: 1280px;
  margin: 0 auto;
  padding: 16px 20px !important;
  color: rgba(255,255,255,0.5) !important;
  font-size: 13px;
}

.footer_resize p {
  margin: 0 !important;
  padding: 0;
  color: inherit !important;
}

.footer_resize a {
  color: rgba(255,255,255,0.6) !important;
}

.btn-primary {
  display: inline-block;
  padding: 12px 24px;
  background: var(--gradient-accent);
  color: #fff !important;
  border: none;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.card {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  padding: 24px;
  transition: var(--transition);
}

.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.login-wrapper {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-primary);
  padding: 20px;
}

.login-card {
  width: 100%;
  max-width: 460px;
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  padding: 40px 32px;
}

.login-card h2 {
  text-align: center;
  color: var(--color-primary-dark);
  margin: 0 0 8px 0;
  font-size: 28px;
}

.login-card .login-subtitle {
  text-align: center;
  color: var(--color-text-muted);
  margin-bottom: 28px;
  font-size: 14px;
}

.login-card .form-group {
  margin-bottom: 18px;
}

.login-card label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
  color: var(--color-primary);
  font-size: 14px;
}

.login-card input[type="text"],
.login-card input[type="password"],
.login-card input[type="email"] {
  width: 100%;
  padding: 12px 14px;
  border: 2px solid var(--color-border);
  border-radius: var(--radius-md);
  font-size: 15px;
  transition: var(--transition);
  font-family: inherit;
}

.login-card input:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(234,88,12,0.1);
}

.login-card input[type="submit"] {
  width: 100%;
  padding: 14px;
  background: var(--gradient-accent);
  color: #fff;
  border: none;
  border-radius: var(--radius-md);
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  margin-top: 8px;
}

.login-card input[type="submit"]:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-lg);
}

.login-info {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--color-border);
}

.login-info h3 {
  font-size: 16px;
  color: var(--color-primary-dark);
  margin: 0 0 14px 0;
}

.login-info ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.login-info li {
  padding: 8px 0 8px 28px;
  position: relative;
  font-size: 14px;
  color: #334155;
  line-height: 1.6;
}

.login-info li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 8px;
  width: 20px;
  height: 20px;
  background: var(--color-success);
  color: #fff;
  border-radius: 50%;
  font-size: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.login-info .price-methods {
  margin-top: 16px;
  padding: 14px;
  background: #FFF7ED;
  border-radius: var(--radius-md);
  border-left: 3px solid var(--color-accent);
}

.login-info .price-methods a {
  display: block;
  padding: 6px 0;
  font-weight: 600;
}

.login-info .note {
  margin-top: 16px;
  padding: 10px 12px;
  background: #FEF2F2;
  border-radius: var(--radius-md);
  color: #B91C1C;
  font-size: 12px;
  line-height: 1.6;
}

.sample-gallery-wrap {
  padding: 24px 20px;
  max-width: 1280px;
  margin: 0 auto;
}

.sample-gallery-wrap > div > div[align="center"] > p:first-child {
  font-size: 28px !important;
  font-weight: 700;
  color: var(--color-primary-dark);
  margin-bottom: 20px !important;
  padding: 0 !important;
}

.bank-table {
  display: block;
  width: 100%;
  overflow-x: auto;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.bank-table table {
  display: table;
  margin: 0;
  border: none !important;
}

.bank-table td,
.bank-table th {
  padding: 14px 18px !important;
  text-align: left !important;
  font-size: 14px;
  border: none !important;
}

.bank-table tr td:first-child {
  background: #EFF6FF !important;
  font-weight: 600;
  color: var(--color-primary);
}

.bank-table tr td:nth-child(2) {
  background: #FFF7ED !important;
  color: var(--color-accent);
}

.bank-table tr td:nth-child(3) {
  background: #ECFDF5 !important;
  font-weight: 600;
  color: var(--color-success);
  font-family: "SF Mono", Consolas, monospace;
}

.bank-table tr:first-child td {
  background: var(--color-primary) !important;
  color: #fff !important;
  font-weight: 700;
  text-align: center !important;
}

.clr {
  clear: none !important;
  float: none !important;
  padding: 0 !important;
  margin: 0 !important;
  width: auto !important;
  font-size: inherit !important;
  line-height: inherit !important;
  display: block;
}

.clr::after {
  content: "";
  display: block;
  clear: both;
}

@media (min-width: 992px) {
  .searchform {
    display: block !important;
    float: right !important;
    width: 260px;
    margin-top: 12px;
  }
}

@media (max-width: 991px) {
  .header_resize {
    position: relative;
  }

  .searchform.show-mobile {
    display: block;
  }

  .content_resize {
    flex-direction: column;
  }

  .content .sidebar {
    flex: 1 1 100%;
    order: 2;
  }
}

@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }

  .menu_nav {
    display: none;
    margin-top: 64px;
  }

  .menu_nav.open {
    display: block;
  }

  .menu_nav ul {
    flex-direction: column;
    gap: 8px;
  }

  .menu_nav ul li {
    min-width: 0;
  }

  .menu_nav ul li a {
    text-align: left;
    padding: 14px 18px !important;
    font-size: 15px;
  }

  .content .mainbar .article {
    padding: 20px 16px;
  }

  .content .mainbar h2 {
    font-size: 22px;
  }

  .fbg_resize {
    padding: 32px 16px 20px !important;
    gap: 24px;
  }

  .login-card {
    padding: 28px 20px;
  }

  #coin-slider {
    aspect-ratio: 4 / 3;
  }
}

@media (max-width: 480px) {
  .header_resize {
    padding: 12px 14px;
  }

  .hero-slider,
  #coin-slider {
    left: -14px;
    right: -14px;
    width: auto !important;
    margin: 0 !important;
    border-radius: 0 !important;
  }

  .logo img {
    max-height: 46px;
  }

  .menu-toggle {
    top: 14px;
    right: 14px;
    width: 40px;
    height: 40px;
  }

  .menu_nav {
    margin-top: 58px;
  }

  .content_resize {
    padding: 16px 12px !important;
    gap: 20px;
  }

  .content .mainbar .article {
    padding: 16px 14px;
    border-radius: var(--radius-md);
  }

  .content .mainbar h2 {
    font-size: 20px;
  }

  .content .mainbar h3 {
    font-size: 17px;
  }

  .content .mainbar p {
    font-size: 14px;
  }

  .content .mainbar iframe {
    min-height: 220px;
  }

  .fbg_resize {
    padding: 24px 14px 16px !important;
  }

  .fbg h2, .fbg h3 {
    font-size: 18px;
  }

  .fbg img.gal {
    width: 60px;
    height: 60px;
  }

  .login-card {
    padding: 24px 16px;
  }

  .login-card h2 {
    font-size: 24px;
  }

  #coin-slider-disabled {
    aspect-ratio: 1 / 1;
    display:none !important;
  }
}

/* ============================================
   SPA MODERN UI COMPONENTS (NEW 2026)
   ============================================ */

/* ---- Hero Dots & Arrows z-index ---- */
.hero-arrows,
.hero-dots {
  z-index: 97;
  position: relative;
}
.hero-arrow {
  position: relative;
  z-index: 98;
}
.hero-dot {
  position: relative;
  z-index: 98;
}

/* ---- Hero Caption on each Slide (จัดกึ่งกลางทั้งแนวนอน + แนวตั้ง) ---- */
.hero-caption {
  position: absolute;
  left: 50% !important;
  top: 50% !important;
  transform: translate(-50%, -50%) !important;
  right: auto !important;
  bottom: auto !important;
  inset: auto !important;
  width: 100%;
  max-width: 68%;
  z-index: 99;
  color: #fff;
  padding: 16px 20px;
  pointer-events: none;
  text-align: center;
}
.hero-badge {
  display: inline-block;
  background: var(--color-accent);
  color: #fff;
  font-weight: 700;
  font-size: 12px;
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 10px;
  letter-spacing: 0.3px;
  box-shadow: 0 4px 14px rgba(234,88,12,0.35);
  pointer-events: auto;
}
.hero-caption h2 {
  font-size: 28px;
  line-height: 1.22;
  margin: 0 0 8px 0;
  font-weight: 800;
  color: #fff;
  text-shadow: 0 2px 14px rgba(0,0,0,0.55);
  text-align: center;
}
.hero-caption p {
  font-size: 13px;
  margin: 0 auto 14px auto;
  max-width: 540px;
  color: rgba(255,255,255,0.95);
  text-shadow: 0 1px 8px rgba(0,0,0,0.5);
  text-align: center;
}
.hero-caption .btn-primary {
  pointer-events: auto;
  box-shadow: 0 8px 24px rgba(234,88,12,0.5);
  display: inline-block;
  margin: 0 auto;
  font-size: 13px;
  padding: 9px 18px;
}
@media (max-width: 767px) {
  .hero-caption {
    left: 50% !important;
    right: auto !important;
    top: 50% !important;
    transform: translate(-50%, -50%) !important;
    bottom: auto !important;
    max-width: 92% !important;
    width: 92% !important;
    padding: 14px 12px !important;
    text-align: center !important;
  }
  .hero-caption h2 { font-size: 20px !important; line-height: 1.2 !important; margin: 0 0 6px 0 !important; text-align:center !important; }
  .hero-caption p  { font-size: 12.5px !important; line-height: 1.45 !important; margin: 0 auto 10px auto !important; max-width: 420px; text-align:center !important; }
  .hero-badge    { font-size: 11px !important; padding: 4px 10px !important; margin-bottom: 8px !important; }
  .hero-caption .btn-primary { font-size: 13px !important; padding: 9px 14px !important; display:inline-block; margin:0 auto !important; }
  .hero-dots { bottom: 8px !important; gap: 6px !important; padding: 0 10px !important; }
  .hero-dot { width: 10px !important; height: 10px !important; }
  .hero-arrow { width: 36px !important; height: 36px !important; font-size: 16px !important; }
}

/* ---- Overlay gradient เพิ่มชัดสำหรับ Hero Caption ---- */
.hero-slide::before {
  content: '';
  position: absolute;
  inset: 0 0 0 0;
  background: linear-gradient(90deg, rgba(15,23,42,0.65) 0%, rgba(15,23,42,0.15) 55%, rgba(15,23,42,0) 100%);
  z-index: 98;
  pointer-events: none;
}

/* ---- Hero Thumbs (4 รูป ข้างล่าง Slide — คลิกเปลี่ยนบน Slide ได้ทันที) ---- */
.hero-thumbs {
  width: 100%;
  max-width: 1280px;
  margin: -40px auto 0 auto;
  position: relative;
  z-index: 20;
  padding: 0 32px;
  display: block;
  clear: both;
  float: none;
}
.thumbs-grid {
  background: #fff;
  border-radius: 22px;
  padding: 22px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  box-shadow: 0 22px 60px -18px rgba(15,23,42,0.22), 0 4px 14px -4px rgba(15,23,42,0.08);
  border: 1px solid var(--color-border);
}
.thumb-card {
  position: relative;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.35s cubic-bezier(.2,.7,.2,1), box-shadow 0.35s ease, border-color 0.3s ease;
  box-shadow: 0 6px 18px -10px rgba(15,23,42,0.25);
  border: 2px solid transparent;
  outline: none;
  -webkit-tap-highlight-color: transparent;
}
.thumb-card:hover,
.thumb-card:focus-visible {
  transform: translateY(-7px);
  box-shadow: 0 18px 36px -14px rgba(234,88,12,0.35), 0 10px 22px -10px rgba(15,23,42,0.22);
  border-color: rgba(234,88,12,0.35);
}
.thumb-card.active {
  transform: translateY(-8px) scale(1.015);
  box-shadow: 0 0 0 3px var(--color-accent), 0 22px 42px -16px rgba(234,88,12,0.45);
  border-color: var(--color-accent);
}
.thumb-card.active::after {
  content: '';
  position: absolute;
  top: 10px;
  right: 10px;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(255,255,255,0.95);
  z-index: 5;
}
.thumb-img {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #e2e8f0;
}
.thumb-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.55s cubic-bezier(.2,.7,.2,1), filter 0.35s ease;
  filter: saturate(103%);
}
.thumb-card:hover .thumb-img img,
.thumb-card:focus-visible .thumb-img img {
  transform: scale(1.09);
  filter: saturate(112%) contrast(103%);
}
.thumb-badge.stat-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 4;
  min-width: 62px;
  padding: 6px 10px 5px 10px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(234,88,12,0.96), rgba(249,115,22,0.96));
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  text-align: center;
  line-height: 1.1;
  letter-spacing: -0.3px;
  box-shadow: 0 6px 14px -6px rgba(234,88,12,0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.thumb-badge.stat-badge.alt {
  background: linear-gradient(135deg, rgba(99,102,241,0.96), rgba(139,92,246,0.96));
  box-shadow: 0 6px 14px -6px rgba(99,102,241,0.55);
}
.thumb-badge.stat-badge.green {
  background: linear-gradient(135deg, rgba(16,185,129,0.96), rgba(5,150,105,0.96));
  box-shadow: 0 6px 14px -6px rgba(16,185,129,0.55);
}
.thumb-badge.stat-badge.dark {
  background: linear-gradient(135deg, rgba(15,23,42,0.96), rgba(51,65,85,0.96));
  box-shadow: 0 6px 14px -6px rgba(15,23,42,0.55);
}
.thumb-badge.stat-badge span {
  display: block;
  font-size: 10.5px;
  font-weight: 600;
  opacity: 0.96;
  letter-spacing: 0.1px;
  margin-top: 2px;
}
.thumb-caption {
  padding: 14px 15px 16px 15px;
  background: #fff;
  border-top: 1px solid rgba(15,23,42,0.06);
}
.thumb-caption h4 {
  margin: 0 0 5px 0;
  font-size: 15px;
  font-weight: 800;
  color: var(--color-primary-dark);
  line-height: 1.3;
  letter-spacing: -0.2px;
}
.thumb-caption p {
  margin: 0;
  font-size: 12.5px;
  color: #64748b;
  line-height: 1.5;
  font-weight: 500;
}

/* ---- General Page Sections ---- */
.page-section {
  width: 100%;
  padding: 88px 0 96px 0;
  position: relative;
  background: #fff;
}
.page-section.section-alt {
  background: var(--color-bg);
}
.section-inner {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
}
.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 52px auto;
}
.section-head.small {
  max-width: 560px;
  margin-bottom: 36px;
}
.section-tag {
  display: inline-block;
  background: rgba(234,88,12,0.1);
  color: var(--color-accent);
  font-weight: 700;
  font-size: 13px;
  padding: 6px 16px;
  border-radius: 999px;
  margin-bottom: 14px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.section-title {
  font-size: 36px;
  font-weight: 800;
  margin: 0 0 14px 0;
  color: var(--color-primary-dark);
  line-height: 1.3;
  letter-spacing: -0.3px;
}
.section-title .text-accent {
  color: var(--color-accent);
  background: linear-gradient(135deg, var(--color-accent) 0%, #F97316 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.section-desc {
  font-size: 16px;
  color: #64748B;
  margin: 0;
  line-height: 1.7;
}
.text-accent { color: var(--color-accent); }

/* ---- About Section ---- */
.about-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}
.about-text h3 {
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 18px 0;
  color: var(--color-primary-dark);
}
.about-text p {
  font-size: 15.5px;
  line-height: 1.85;
  color: #475569;
  margin: 0 0 14px 0;
}
.feature-list {
  margin: 22px 0 28px 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.feature-row {
  display: flex;
  gap: 14px;
  align-items: center;
  background: var(--color-bg);
  padding: 12px 16px;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  transition: var(--transition);
}
.feature-row:hover {
  transform: translateX(4px);
  border-color: rgba(234,88,12,0.3);
  box-shadow: 0 4px 12px -4px rgba(234,88,12,0.15);
}
.feature-icon {
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border-radius: 50%;
  box-shadow: var(--shadow-sm);
  font-size: 18px;
}
.feature-text {
  font-size: 14.5px;
  color: #334155;
  font-weight: 500;
}
.about-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.about-media {
  position: relative;
}
.media-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 22px 50px -18px rgba(15,23,42,0.35);
  transform: rotate(-1.5deg);
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.media-wrap:hover { transform: rotate(0deg) scale(1.01); }
.promo-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-lg);
}
.promo-badge {
  position: absolute;
  top: 18px;
  right: -6px;
  background: var(--color-accent);
  color: #fff;
  font-weight: 800;
  font-size: 13px;
  padding: 10px 18px 10px 16px;
  border-radius: 10px 0 0 10px;
  z-index: 3;
  box-shadow: 0 8px 20px -6px rgba(234,88,12,0.45);
}
.promo-badge::before {
  content: '';
  position: absolute;
  right: 0;
  bottom: -6px;
  width: 6px;
  height: 6px;
  background: #9A3412;
  clip-path: polygon(100% 0, 0 0, 100% 100%);
}

/* ---- Services Section ---- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 56px;
}
.service-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 28px 26px;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--color-accent) 0%, #F97316 50%, #FBBF24 100%);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 40px -14px rgba(15,23,42,0.22);
  border-color: rgba(234,88,12,0.25);
}
.service-card:hover::before { transform: scaleX(1); }
.srv-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, rgba(234,88,12,0.12) 0%, rgba(249,115,22,0.08) 100%);
  border-radius: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  margin-bottom: 18px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.service-card:hover .srv-icon {
  transform: scale(1.08) rotate(-4deg);
  background: linear-gradient(135deg, var(--color-accent) 0%, #F97316 100%);
  color: #fff;
}
.service-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 12px 0;
  color: var(--color-primary-dark);
}
.service-card p {
  font-size: 14.5px;
  line-height: 1.75;
  color: #64748B;
  margin: 0 0 16px 0;
}
.srv-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.srv-tags span {
  font-size: 11.5px;
  font-weight: 600;
  background: var(--color-bg);
  color: #475569;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid var(--color-border);
}

/* Color Chart */
.color-chart {
  background: var(--color-bg);
  border-radius: var(--radius-lg);
  padding: 32px;
  text-align: center;
  border: 1px solid var(--color-border);
}
.color-chart h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--color-primary-dark);
  margin: 0 0 22px 0;
}
.color-img-wrap {
  max-width: 720px;
  margin: 0 auto;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 4px solid #fff;
}
.color-img {
  width: 100%;
  height: auto;
  display: block;
}

/* ---- Portfolio Section ---- */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 56px;
}
.port-card {
  position: relative;
  display: block;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  aspect-ratio: 4/3;
  background: var(--color-bg);
}
.port-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px -10px rgba(15,23,42,0.25);
}
.port-img-wrap {
  position: absolute;
  inset: 0 0 0 0;
}
.port-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.5s ease;
}
.port-card:hover .port-img-wrap img { transform: scale(1.08); }
.port-overlay {
  position: absolute;
  inset: 0 0 0 0;
  background: linear-gradient(135deg, rgba(30,41,59,0.75) 0%, rgba(234,88,12,0.7) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.35s ease;
}
.port-card:hover .port-overlay { opacity: 1; }
.port-overlay span {
  background: #fff;
  color: var(--color-primary-dark);
  font-weight: 700;
  font-size: 14px;
  padding: 10px 22px;
  border-radius: 999px;
  transform: translateY(10px);
  transition: transform 0.35s ease 0.05s;
}
.port-card:hover .port-overlay span { transform: translateY(0); }

/* YouTube */
.yt-wrap {
  background: var(--color-bg);
  border-radius: var(--radius-lg);
  padding: 32px;
  text-align: center;
  border: 1px solid var(--color-border);
  margin-bottom: 32px;
}
.yt-wrap h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--color-primary-dark);
  margin: 0 0 22px 0;
}
.yt-frame {
  max-width: 820px;
  margin: 0 auto;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 16 / 9;
  box-shadow: var(--shadow-lg);
  border: 4px solid #fff;
}
.yt-frame iframe {
  width: 100% !important;
  height: 100% !important;
  border: 0 !important;
}
.gallery-include {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--color-border);
  padding: 12px;
}
.gallery-inner {
  width: 100%;
  overflow: hidden;
  border-radius: var(--radius-md);
}


/* ---- Hero Gallery (4 ช่องภาพจากสไลด์หน้าแรก วางก่อนวิธีสั่งงาน) ---- */
.hero-gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-bottom: 12px;
}
.hg-card {
  position: relative;
  display: block;
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  overflow: hidden;
  text-decoration: none !important;
  color: inherit;
  transition: transform 0.42s cubic-bezier(0.4, 0, 0.2, 1),
              box-shadow 0.42s cubic-bezier(0.4, 0, 0.2, 1),
              border-color 0.35s ease;
  box-shadow: 0 8px 26px -18px rgba(15,23,42,0.35);
}
.hg-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 24px 50px -22px rgba(15,23,42,0.35);
  border-color: rgba(234, 88, 12, 0.3);
  z-index: 2;
}
.hg-img {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #f1f5f9;
}
.hg-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}
.hg-card:hover .hg-img img {
  transform: scale(1.07);
}
.hg-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  display: inline-block;
  background: var(--color-accent);
  color: #fff;
  font-weight: 700;
  font-size: 11px;
  line-height: 1;
  padding: 5px 10px 6px 10px;
  border-radius: 999px;
  letter-spacing: 0.2px;
  box-shadow: 0 4px 14px rgba(234, 88, 12, 0.35);
  z-index: 3;
}
.hg-body {
  padding: 16px 18px 18px 18px;
}
.hg-body h3 {
  font-size: 17px;
  line-height: 1.35;
  margin: 0 0 6px 0;
  font-weight: 800;
  color: var(--color-text);
  letter-spacing: -0.1px;
}
.hg-body p {
  margin: 0;
  font-size: 13px;
  line-height: 1.6;
  color: var(--color-muted);
}

@media (max-width: 1199px) {
  .hero-gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}
@media (max-width: 519px) {
  .hero-gallery-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .hg-body { padding: 14px 15px 17px 15px; }
  .hg-body h3 { font-size: 16px; }
  .hg-body p { font-size: 12.5px; }
}

/* ---- Steps / Pricing Section ---- */
.steps-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  gap: 0;
  align-items: stretch;
  margin-bottom: 56px;
}
.step-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 28px 22px;
  text-align: center;
  position: relative;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.step-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px -10px rgba(15,23,42,0.18);
  border-color: rgba(234,88,12,0.25);
}
.step-num {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-accent) 0%, #F97316 100%);
  color: #fff;
  font-size: 22px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  box-shadow: 0 6px 18px -4px rgba(234,88,12,0.4);
}
.step-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 10px 0;
  color: var(--color-primary-dark);
}
.step-card p {
  font-size: 13.5px;
  line-height: 1.75;
  color: #64748B;
  margin: 0;
}
.step-line {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 6px;
}
.line-arrow {
  font-size: 24px;
  color: var(--color-accent);
  font-weight: 800;
  opacity: 0.6;
}

/* Policy Cards */
.policy-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 56px;
}
.policy-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  border: 1px solid var(--color-border);
  border-left: 5px solid var(--color-accent);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.policy-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px -10px rgba(15,23,42,0.18);
}
.pol-icon {
  font-size: 32px;
  margin-bottom: 14px;
}
.policy-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 10px 0;
  color: var(--color-primary-dark);
}
.policy-card p {
  font-size: 14px;
  line-height: 1.75;
  color: #64748B;
  margin: 0;
}

/* Bank Cards */
.bank-wrap {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
}
.bank-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.bank-card {
  display: flex;
  gap: 18px;
  padding: 22px;
  border-radius: var(--radius-md);
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  transition: var(--transition);
  align-items: center;
}
.bank-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 24px -10px rgba(15,23,42,0.18);
  border-color: rgba(234,88,12,0.2);
}
.bank-logo {
  width: 72px;
  height: 72px;
  flex: 0 0 72px;
  border-radius: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  box-shadow: var(--shadow-md);
}
.bank-logo.kbank {
  background: linear-gradient(135deg, #1E3A8A 0%, #2563EB 100%);
}
.bank-logo.kbank::after { content: "KBANK"; }
.bank-logo.tbank {
  background: linear-gradient(135deg, #0F766E 0%, #10B981 100%);
}
.bank-logo.tbank::after { content: "TBANK"; }
.bank-info { flex: 1; min-width: 0; }
.bank-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--color-primary-dark);
  margin-bottom: 4px;
}
.bank-owner {
  font-size: 13px;
  color: #64748B;
  margin-bottom: 8px;
}
.bank-num {
  font-size: 18px;
  font-weight: 800;
  color: var(--color-accent);
  letter-spacing: 0.5px;
  margin-bottom: 12px;
  font-family: 'Inter', monospace;
}
.btn-small {
  border: none;
  background: var(--color-primary);
  color: #fff;
  padding: 7px 16px;
  font-size: 12.5px;
  font-weight: 600;
  border-radius: 999px;
  cursor: pointer;
  transition: var(--transition);
}
.btn-small:hover {
  background: var(--color-accent);
  transform: translateY(-1px);
}

/* ---- Contact Section ---- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 36px;
  align-items: start;
}
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.info-card {
  display: flex;
  gap: 16px;
  padding: 20px 22px;
  background: #fff;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  align-items: flex-start;
}
.info-card:hover {
  transform: translateX(4px);
  box-shadow: 0 10px 22px -8px rgba(15,23,42,0.15);
  border-color: rgba(234,88,12,0.2);
}
.info-icon {
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(234,88,12,0.12) 0%, rgba(249,115,22,0.08) 100%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}
.info-body { flex: 1; min-width: 0; }
.info-body h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--color-primary-dark);
  margin: 0 0 6px 0;
}
.info-body p {
  font-size: 14px;
  line-height: 1.7;
  color: #475569;
  margin: 0;
}
.phone-nums a {
  color: var(--color-primary-dark);
  font-weight: 500;
  font-size: 15px;
  text-decoration: none;
}
.phone-nums a:hover { color: var(--color-accent); }
.phone-nums strong { color: var(--color-accent); }

/* QR Card */
.qr-card {
  padding: 24px 22px;
  background: linear-gradient(135deg, #1E293B 0%, #334155 100%);
  color: #fff;
  border: none;
  box-shadow: var(--shadow-md);
}
.qr-card .info-icon { display: none; }
.qr-card .info-body { width: 100%; }
.qr-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: start;
}
.qr-col { text-align: center; }
.qr-label {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,0.8);
  margin-bottom: 12px;
}
.qr-img {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 8px;
  display: inline-block;
  box-shadow: 0 6px 16px rgba(0,0,0,0.25);
  max-width: 160px;
  margin: 0 auto;
}
.qr-img img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-sm);
}
.line-logo-img {
  background: transparent;
  padding: 4px;
  box-shadow: none;
}

/* Contact Map */
.contact-map {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 28px;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 90px;
}
.contact-map h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-primary-dark);
  margin: 0 0 18px 0;
}
.map-frame {
  width: 100%;
  aspect-ratio: 5 / 4;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-border);
}
.map-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
}
.map-cta {
  margin-top: 16px;
  text-align: center;
}

/* ---- Order Form (สั่งงานออนไลน์) ---- */
.order-form-wrap {
  margin-top: 40px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 36px 38px;
  position: relative;
  overflow: hidden;
}
.order-form-wrap::before {
  content: '';
  position: absolute;
  left: 0; top: 0;
  width: 6px; height: 100%;
  background: linear-gradient(180deg, var(--color-accent) 0%, #F59E0B 100%);
}
.order-status {
  padding: 14px 18px;
  border-radius: var(--radius-md);
  margin-bottom: 24px;
  font-size: 14.5px;
  line-height: 1.55;
  border-left: 5px solid;
}
.status-success {
  background: rgba(16, 185, 129, 0.08);
  color: #065F46;
  border-color: #10B981;
}
.status-error {
  background: rgba(239, 68, 68, 0.08);
  color: #7F1D1D;
  border-color: #EF4444;
}
.status-warn {
  background: rgba(245, 158, 11, 0.08);
  color: #78350F;
  border-color: #F59E0B;
}
.order-form-title {
  font-size: 26px;
  font-weight: 800;
  color: var(--color-primary-dark);
  margin: 0 0 6px 0;
  display: flex;
  align-items: center;
  gap: 10px;
}
.order-title-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  background: linear-gradient(135deg, rgba(234,88,12,0.15) 0%, rgba(249,115,22,0.1) 100%);
  border-radius: 12px;
  font-size: 20px;
}
.order-form-sub {
  font-size: 14.5px;
  color: var(--color-muted);
  margin: 0 0 28px 0;
  line-height: 1.6;
}
.order-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.order-row {
  display: block;
  width: 100%;
}
.order-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.order-grid-3 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 16px;
}
.order-col { width: 100%; }
.order-label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 8px;
}
.order-label .req {
  color: #EF4444;
  font-size: 14px;
  margin-left: 2px;
}
.order-input {
  display: block;
  width: 100%;
  padding: 12px 14px;
  font-size: 14.5px;
  line-height: 1.45;
  font-family: inherit;
  color: var(--color-primary);
  background: #F8FAFC;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  transition: all 0.22s ease;
  box-sizing: border-box;
}
.order-input::placeholder { color: #94A3B8; opacity: 1; }
.order-input:hover {
  border-color: rgba(234, 88, 12, 0.35);
  background: #fff;
}
.order-input:focus {
  outline: none;
  border-color: var(--color-accent);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(234, 88, 12, 0.12);
}
.order-select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23334155' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 18px 18px;
  padding-right: 42px;
}
.order-textarea {
  resize: vertical;
  min-height: 110px;
  font-family: inherit;
}
.order-submit-row {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  margin-top: 8px;
  padding-top: 20px;
  border-top: 1px dashed var(--color-border);
}
.order-submit {
  font-size: 16px !important;
  padding: 13px 28px !important;
  font-weight: 700 !important;
}
.order-hints {
  font-size: 13.5px;
  color: var(--color-muted);
  line-height: 1.5;
}
.order-hints a { color: var(--color-accent); font-weight: 600; text-decoration: none; }
.order-hints a:hover { text-decoration: underline; }

/* ---- CTA Banner ---- */
.cta-banner {
  background: linear-gradient(135deg, #1E293B 0%, #334155 50%, var(--color-accent) 150%);
  background-size: 200% 200%;
  animation: ctaShimmer 8s ease infinite;
  padding: 60px 32px;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0 0 0 0;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(234,88,12,0.2) 0%, transparent 45%),
    radial-gradient(circle at 80% 70%, rgba(251,191,36,0.12) 0%, transparent 50%);
  pointer-events: none;
}
@keyframes ctaShimmer {
  0%,100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}
.cta-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 36px;
  align-items: center;
  position: relative;
  z-index: 2;
}
.cta-badge {
  display: inline-block;
  background: rgba(255,255,255,0.12);
  color: #FCD34D;
  padding: 7px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 16px;
  border: 1px solid rgba(255,255,255,0.15);
}
.cta-text h2 {
  font-size: 32px;
  font-weight: 800;
  color: #fff;
  margin: 0 0 10px 0;
  line-height: 1.3;
}
.cta-text p {
  font-size: 15.5px;
  color: rgba(255,255,255,0.85);
  margin: 0;
  line-height: 1.7;
}
.cta-buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.cta-buttons .btn-primary, .cta-buttons .btn-secondary {
  justify-content: center;
  text-align: center;
}
.btn-primary.big, .btn-secondary.big {
  padding: 14px 26px;
  font-size: 15.5px;
  border-radius: var(--radius-md);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  text-decoration: none;
  border: none;
  cursor: pointer;
  white-space: nowrap;
}

/* Buttons สำหรับ section อื่นๆ */
.btn-primary, .btn-secondary {
  padding: 11px 22px;
  border-radius: var(--radius-md);
  font-size: 14.5px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.4,0,0.2,1);
  white-space: nowrap;
}
.btn-primary {
  background: var(--color-accent);
  color: #fff;
  box-shadow: 0 4px 12px -3px rgba(234,88,12,0.5);
}
.btn-primary:hover {
  background: var(--color-accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 18px -4px rgba(234,88,12,0.55);
  color: #fff;
}
.btn-secondary {
  background: #fff;
  color: var(--color-primary-dark);
  border: 2px solid var(--color-border);
  box-shadow: var(--shadow-sm);
}
.btn-secondary:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
  transform: translateY(-2px);
}

/* Footer CTA */
.footer-cta {
  margin-top: 20px !important;
  padding-top: 18px !important;
  border-top: 1px dashed var(--color-border);
}
.footer-cta a {
  font-weight: 700;
  color: var(--color-accent);
  font-size: 14px;
}

/* ---- Floating Action Buttons (FAB) ---- */
.fab-wrap {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 9998;
  display: flex;
  flex-direction: column-reverse;
  gap: 12px;
}
.fab-call, .fab-line, .fab-top {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 10px 24px -6px rgba(15,23,42,0.45);
  position: relative;
  transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
}
.fab-call:hover, .fab-line:hover, .fab-top:hover {
  transform: translateY(-3px) scale(1.05);
}
.fab-call {
  background: linear-gradient(135deg, #16A34A 0%, #22C55E 100%);
  color: #fff;
}
.fab-call .fab-ring {
  position: absolute;
  inset: -4px;
  border: 2px solid rgba(34,197,94,0.5);
  border-radius: 50%;
  animation: fabPulse 2s ease-out infinite;
}
@keyframes fabPulse {
  0% { transform: scale(0.95); opacity: 0.8; }
  80%,100% { transform: scale(1.4); opacity: 0; }
}
.fab-line {
  background: linear-gradient(135deg, #06B6D4 0%, #0EA5E9 100%);
  color: #fff;
}
.fab-top {
  background: linear-gradient(135deg, var(--color-primary) 0%, #334155 100%);
  color: #fff;
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
}
.fab-top.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.fab-icon {
  font-size: 24px;
  position: relative;
  z-index: 2;
}

/* ---- Scroll Reveal Animations ---- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.4,0,0.2,1),
              transform 0.7s cubic-bezier(0.4,0,0.2,1);
  will-change: transform, opacity;
}
.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   RESPONSIVE - TABLET < 992px
   ============================================ */
@media (max-width: 991px) {
  .hero-caption {
    left: 50% !important;
    top: 50% !important;
    right: auto !important;
    bottom: auto !important;
    transform: translate(-50%, -50%) !important;
    max-width: 80% !important;
    text-align: center !important;
  }
  .hero-caption h2 { font-size: 26px; text-align: center !important; }
  .hero-caption p  { text-align: center !important; margin: 0 auto 16px auto; }
  .thumbs-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; padding: 18px; }
  .thumb-caption h4 { font-size: 14px; }
  .thumb-caption p { font-size: 12px; }
  .page-section { padding: 64px 0 72px; }
  .section-title { font-size: 28px; }
  .section-inner { padding: 0 20px; }
  .about-grid { grid-template-columns: 1fr; gap: 32px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .step-line { display: none; }
  .policy-grid { grid-template-columns: 1fr; }
  .bank-cards { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-map { position: relative; top: 0; }
  .cta-inner { grid-template-columns: 1fr; text-align: center; }
  .cta-buttons .btn-primary.big, .cta-buttons .btn-secondary.big { width: 100%; }
  .cta-text h2 { font-size: 24px; }
  .order-form-wrap { padding: 28px 26px; margin-top: 30px; }
  .order-form-title { font-size: 22px; }
  .order-grid-3 { grid-template-columns: 1fr 1fr; }
}

/* ============================================
   RESPONSIVE - MOBILE < 768px
   ============================================ */
@media (max-width: 767px) {
  .hero-caption {
    left: 50% !important;
    top: 50% !important;
    right: auto !important;
    bottom: auto !important;
    transform: translate(-50%, -50%) !important;
    max-width: 92% !important;
    width: 92% !important;
    padding: 14px 16px !important;
    text-align: center !important;
  }
  .hero-caption h2 { font-size: 20px; text-align: center !important; }
  .hero-caption p { font-size: 13px; margin-bottom: 12px; text-align: center !important; margin-left: auto !important; margin-right: auto !important; }
  .hero-caption .btn-primary {
    padding: 9px 16px; font-size: 13px;
  }
  .hero-thumbs { margin-top: -30px; padding: 0 16px; }
  .thumbs-grid { padding: 14px; border-radius: 18px; gap: 12px; grid-template-columns: repeat(2, 1fr); }
  .thumb-img { aspect-ratio: 4 / 3; }
  .thumb-caption { padding: 11px 12px 13px; }
  .thumb-caption h4 { font-size: 13px; }
  .thumb-caption p { font-size: 11.5px; }
  .thumb-badge.stat-badge { min-width: 56px; font-size: 12px; padding: 5px 8px 4px; top: 10px; left: 10px; }
  .thumb-badge.stat-badge span { font-size: 10px; }
  .page-section { padding: 48px 0 56px; }
  .section-title { font-size: 24px; }
  .section-desc { font-size: 14px; }
  .services-grid { grid-template-columns: 1fr; }
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .color-chart, .yt-wrap, .bank-wrap { padding: 20px 16px; }
  .bank-card { flex-direction: column; text-align: center; }
  .qr-wrap { grid-template-columns: 1fr; gap: 16px; }
  .fab-call, .fab-line, .fab-top {
    width: 48px;
    height: 48px;
  }
  .fab-icon { font-size: 20px; }
  .about-cta { flex-direction: column; }
  .about-cta .btn-primary, .about-cta .btn-secondary { width: 100%; }
  .order-form-wrap { padding: 22px 18px; margin-top: 24px; }
  .order-form-title { font-size: 20px; }
  .order-grid-2, .order-grid-3 { grid-template-columns: 1fr; gap: 14px; }
  .order-submit-row { align-items: stretch; }
  .order-submit { width: 100% !important; text-align: center; }
}

/* ============================================
   RESPONSIVE - SMALL MOBILE < 480px
   ============================================ */
@media (max-width: 479px) {
  .hero-caption {
    left: 50% !important;
    top: 50% !important;
    right: auto !important;
    bottom: auto !important;
    transform: translate(-50%, -50%) !important;
    text-align: center !important;
  }
  .hero-caption h2 { font-size: 17px; line-height: 1.3; text-align: center !important; }
  .hero-caption p { display: none; }
  .hero-badge {
    font-size: 11px; padding: 4px 10px; margin-bottom: 8px;
  }
  .thumbs-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; padding: 12px; }
  .thumb-img { aspect-ratio: 4 / 3; }
  .thumb-caption { padding: 10px 10px 12px; }
  .thumb-caption h4 { font-size: 12.5px; margin-bottom: 3px; }
  .thumb-caption p { font-size: 11px; line-height: 1.45; }
  .thumb-badge.stat-badge { min-width: 52px; font-size: 11px; padding: 4px 7px 4px; top: 8px; left: 8px; border-radius: 10px; }
  .thumb-badge.stat-badge span { font-size: 9.5px; }
  .thumb-card.active::after { width: 14px; height: 14px; top: 8px; right: 8px; }
  .portfolio-grid { grid-template-columns: 1fr 1fr; }
  .port-card { aspect-ratio: 3/2; }
  .contact-map { padding: 18px 14px; }
  .cta-banner { padding: 44px 20px; }
  .cta-text h2 { font-size: 20px; }
  .order-form-wrap { padding: 18px 14px; margin-top: 20px; }
  .order-form-title { font-size: 18px; gap: 8px; }
  .order-title-icon { width: 34px; height: 34px; font-size: 17px; border-radius: 10px; }
  .order-submit { padding: 12px 16px !important; font-size: 15px !important; }
}

/* ============================================
   SEO FOOTER KEYWORDS (ไม่เด่น จางๆ สำหรับ Google)
   ============================================ */
.seo-footer-kw {
  width: 100%;
  background: linear-gradient(180deg, #F1F5F9 0%, #E2E8F0 100%);
  border-top: 1px solid rgba(148,163,184,0.25);
  border-bottom: 1px solid rgba(148,163,184,0.25);
  padding: 22px 20px 18px 20px;
  margin: 0;
  box-sizing: border-box;
  text-align: left;
  /* จางๆ ไม่เด่นตามที่ต้องการ */
  color: rgba(71,85,105,0.55);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.seo-kw-inner {
  max-width: 1280px;
  margin: 0 auto 12px auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px 32px;
  padding: 0;
}

.seo-kw-col strong {
  display: block;
  font-size: 10.5px;
  font-weight: 700;
  color: rgba(100,116,139,0.7);
  margin: 0 0 8px 0;
  padding: 0;
  letter-spacing: 0.4px;
  text-transform: none;
  border-bottom: 1px dashed rgba(148,163,184,0.35);
  padding-bottom: 5px;
}

.seo-kw-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 2px 8px;
  line-height: 1.5;
}

.seo-kw-col ul li {
  display: inline-block;
  font-size: 10.5px;
  line-height: 1.5;
  color: rgba(100,116,139,0.55);
  padding: 0;
  margin: 0;
  letter-spacing: 0;
  font-weight: 400;
  position: relative;
}

.seo-kw-col ul li::after {
  content: '·';
  margin-left: 8px;
  color: rgba(148,163,184,0.45);
  font-weight: 700;
  display: inline-block;
}

.seo-kw-col ul li:last-child::after {
  content: '';
  margin-left: 0;
  display: none;
}

.seo-kw-col ul li strong {
  display: inline;
  font-size: 10.5px;
  font-weight: 600;
  color: rgba(71,85,105,0.7);
  border-bottom: none;
  padding-bottom: 0;
  letter-spacing: 0;
  background: none;
}

/* SEO Title ท้ายสุด (บรรทัดเดียว) */
.seo-kw-title {
  max-width: 1280px;
  margin: 6px auto 0 auto;
  padding: 10px 0 2px 0;
  border-top: 1px dashed rgba(148,163,184,0.3);
  font-size: 10.5px;
  line-height: 1.75;
  color: rgba(100,116,139,0.6);
  text-align: center;
  letter-spacing: 0.1px;
}

.seo-kw-title span {
  display: inline;
  padding: 0;
  margin: 0;
  color: rgba(71,85,105,0.62);
  font-weight: 500;
}

/* H1 SEO Screen Reader Only (ไม่เด่น ไม่แสดงผล แต่ Google เห็น) */
.h1-seo {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;
  border: 0;
  padding: 0;
  margin: 0;
}

/* ---- SEO FOOTER RESPONSIVE BREAKPOINTS ---- */
@media (max-width: 991px) {
  .seo-footer-kw {
    padding: 18px 16px 14px 16px;
  }
  .seo-kw-inner {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px 24px;
  }
}

@media (max-width: 767px) {
  .seo-footer-kw {
    padding: 14px 14px 12px 14px;
  }
  .seo-kw-inner {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px 16px;
  }
  .seo-kw-col strong {
    font-size: 10px;
  }
  .seo-kw-col ul li,
  .seo-kw-col ul li strong,
  .seo-kw-title {
    font-size: 10px;
  }
}

@media (max-width: 479px) {
  .seo-footer-kw {
    padding: 12px 12px 10px 12px;
  }
  .seo-kw-inner {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .seo-kw-col strong {
    font-size: 9.5px;
    margin-bottom: 5px;
  }
  .seo-kw-col ul li,
  .seo-kw-col ul li strong {
    font-size: 9.5px;
  }
  .seo-kw-title {
    font-size: 9.5px;
    line-height: 1.6;
    text-align: left;
    padding: 8px 0 0 0;
  }
}

/* ============================================================
   FAQ SECTON STYLES (Google AI SGE อ่าน FAQ มากที่สุด)
   ============================================================ */
.faq-section {
  background: linear-gradient(180deg, #FFFFFF 0%, #F8FAFC 40%, #FFFFFF 100%);
  border-top: 1px solid rgba(15,23,42,0.05);
  border-bottom: 1px solid rgba(15,23,42,0.05);
}
.faq-wrap {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 920px;
  margin: 10px auto 0 auto;
}
.faq-item {
  background: #FFFFFF;
  border: 1px solid rgba(15,23,42,0.07);
  border-left: 4px solid #F97316;
  border-radius: 14px;
  padding: 14px 18px 15px 18px;
  box-shadow: 0 2px 6px rgba(15,23,42,0.03);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.faq-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(249,115,22,0.08);
  border-left-color: #EA580C;
}
.faq-q {
  font-size: 16px;
  font-weight: 700;
  color: #0F172A;
  line-height: 1.55;
  margin: 0 0 8px 0;
  letter-spacing: .1px;
  font-family: "Sarabun", "Kanit", "Prompt", sans-serif;
}
.faq-a p {
  font-size: 14.5px;
  line-height: 1.8;
  color: #334155;
  margin: 0;
  font-family: "Sarabun", "Prompt", sans-serif;
  word-wrap: break-word;
}
.faq-a p strong {
  color: #EA580C;
  font-weight: 700;
  background: linear-gradient(90deg, rgba(254,215,170,0.35), rgba(254,243,199,0.35));
  padding: 1px 6px;
  border-radius: 6px;
  margin: 0 1px;
}

@media (max-width: 991px) {
  .faq-wrap {
    max-width: 100%;
    gap: 12px;
  }
  .faq-q {
    font-size: 15px;
  }
  .faq-a p {
    font-size: 14px;
  }
}
@media (max-width: 479px) {
  .faq-item {
    padding: 12px 14px;
    border-radius: 12px;
  }
  .faq-q {
    font-size: 14.5px;
    line-height: 1.6;
  }
  .faq-a p {
    font-size: 13.5px;
    line-height: 1.85;
  }
}

