/* ===========================
   THEME YELLOW – ยืมคล่อง
   =========================== */

/* ---------- GLOBAL ---------- */

body {
  font-family: "Kanit", sans-serif;
  color: #111827;
  background-color: #fffdf5;
  margin: 0;
}

a,
a:hover,
a:focus {
  text-decoration: none;
  color: inherit;
}

.layout_padding {
  padding: 90px 0;
}

/* ---------- HEADER / NAV ---------- */

.hero_area {
  background: #fffdf5;
}

.header_section {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.05);
}

.header_section .container-fluid {
  padding-right: 25px;
  padding-left: 25px;
}

.custom_nav-container {
  padding: 10px 0;
}

.brand-text {
  display: inline-flex;
  align-items: center;
  color: #111827;
  font-weight: 700;
  font-size: 22px;
}

.brand-text img {
  border-radius: 18px;
  margin-right: 12px;
}

.brand-name {
  letter-spacing: 0.5px;
}

/* เมนูแบบ pill */
.custom_nav-container.navbar-expand-lg .navbar-nav {
  align-items: center;
}

.custom_nav-container.navbar-expand-lg .navbar-nav .nav-item .nav-link {
  margin: 0 6px;
  padding: 8px 20px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 0.02em;
  color: #111827;
  position: relative;
  transition:
    background-color 0.2s ease,
    color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

.custom_nav-container.navbar-expand-lg .navbar-nav .nav-item .nav-link::after {
  display: none;
}

.custom_nav-container.navbar-expand-lg .navbar-nav .nav-item.active .nav-link,
.custom_nav-container.navbar-expand-lg .navbar-nav .nav-item .nav-link:hover {
  background-color: #fff7cf;
  color: #020617;
  box-shadow: 0 6px 16px rgba(148, 163, 184, 0.35);
  transform: translateY(-1px);
}

/* เส้น gradient ใต้ header */
.header_section::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 1px;
  background: linear-gradient(90deg, transparent, #fde68a, transparent);
}

/* mobile nav */
@media (max-width: 991.98px) {
  .header_section {
    position: static;
  }

  .custom_nav-container.navbar-expand-lg .navbar-nav .nav-item .nav-link {
    margin: 4px 0;
    padding: 10px 16px;
    border-radius: 12px;
  }

  .custom_nav-container.navbar-expand-lg .navbar-nav .nav-item.active .nav-link,
  .custom_nav-container.navbar-expand-lg .navbar-nav .nav-item .nav-link:hover {
    box-shadow: none;
    transform: none;
  }
}

/* ---------- SLIDER / HERO BASE ---------- */

.slider_section {
  height: auto;
  display: flex;
  align-items: center;
  color: inherit;
}

.slider_section #carouselExampleIndicators {
  width: 100%;
}

.slider_section .row {
  align-items: center;
}

.slider_section .box {
  margin: 125px 0;
}

.slider_section .detail-box h1 {
  font-size: 4rem;
  font-weight: bold;
}

.slider_section .detail-box h2 {
  font-weight: bold;
  font-size: 2.5rem;
}

.slider_section .detail-box p {
  margin-top: 25px;
}

.slider_section .detail-box a {
  display: inline-block;
  padding: 10px 45px;
  background-color: #171717;
  border: 1px solid #171717;
  color: #ffffff;
  border-radius: 5px;
  transition: transform 0.3s;
  margin-top: 35px;
}

.slider_section .detail-box a:hover {
  transform: translateY(-3px);
  box-shadow: 0 3px 4px rgba(0, 0, 0, 0.2);
}

.slider_section .img-box img {
  width: 100%;
}

.slider_section #carouselExampleIndicators .carousel-indicators {
  bottom: 45px;
  margin: 0;
  align-items: center;
}

.slider_section #carouselExampleIndicators .carousel-indicators li {
  width: 14px;
  height: 14px;
  background-color: transparent;
  border: 2px solid #ffffff;
  border-radius: 100%;
  opacity: 1;
}

.slider_section #carouselExampleIndicators .carousel-indicators li.active {
  border: 4px solid #ffffff;
}

/* ---------- HERO – CARD บนรูป ---------- */

.hero-section {
  position: relative;
  margin: 0;
  padding: 0;
}

.hero-section .box {
  margin: 0;
}

.hero-image-wrap {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.hero-image-wrap img {
  width: 100%;
  height: auto;
  display: block;
}

.hero-card {
  position: absolute;
  left: 50%;
  top: 58%;
  transform: translate(-50%, -50%);
  width: min(900px, 80%);
  background: #ffffff;
  border-radius: 24px;
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.28);
  padding: 32px 28px;
  text-align: center;
}

.loan-tag {
  display: inline-block;
  padding: 4px 14px;
  border-radius: 999px;
  background: #fff7cf;
  color: #92400e;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 12px;
}

.hero-title {
  font-size: clamp(30px, 3.2vw, 40px);
  font-weight: 800;
  color: #020617;
  margin-bottom: 6px;
}

.loan-subtitle {
  font-size: 15px;
  color: #4b5563;
  margin: 0;
}

/* hero – responsive */
@media (max-width: 991.98px) {
  .hero-card {
    top: 62%;
    width: 88%;
    padding: 24px 18px;
    border-radius: 20px;
  }

  .hero-title {
    font-size: 26px;
  }

  .loan-subtitle {
    font-size: 14px;
  }

  .custom_nav-container.navbar-expand-lg .navbar-nav .nav-item .nav-link {
    margin: 8px 0;
  }
}

@media (max-width: 575.98px) {
  .hero-card {
    top: 65%;
    width: 92%;
  }

  .hero-title {
    font-size: 24px;
  }
}

/* ---------- HOW SECTION ---------- */

.how_section .how_container {
  display: flex;
  justify-content: center;
  padding: 45px 60px;
  flex-wrap: wrap;
}

.how_section .how_container .box {
  text-align: center;
  margin: 10px;
  min-width: 200px;
  width: 325px;
}

.how_section .how_container .box .img-box {
  display: flex;
  justify-content: center;
  height: 200px;
  background-color: #f6f5f7;
}

.how_section .how_container .box .img-box svg {
  width: 75px;
  height: auto;
}

.how_section .how_container .box .detail-box {
  margin-top: 15px;
}

.how_section .how_container .box .detail-box h5 {
  font-weight: bold;
  position: relative;
}

.how_section .how_container .box .detail-box p {
  color: #b8b8b8;
}

.how_section .how_container .box:hover .img-box {
  background-color: #30ae69;
}

.how_section .how_container .box:hover .img-box svg {
  fill: #ffffff;
}

.how_section .btn-box {
  display: flex;
  justify-content: center;
}

.how_section .btn-box a {
  display: inline-block;
  padding: 10px 45px;
  background-color: #171717;
  border: 1px solid #171717;
  color: #ffffff;
  border-radius: 5px;
  transition: transform 0.3s;
}

.how_section .btn-box a:hover {
  transform: translateY(-3px);
  box-shadow: 0 3px 4px rgba(0, 0, 0, 0.2);
}

/* ---------- ABOUT SECTION ---------- */

.about_section {
  text-align: center;
}

.about_section .box {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.about_section .box .img-box {
  display: flex;
  justify-content: center;
  margin-top: 25px;
}

.about_section .box .img-box img {
  max-width: 100%;
  filter: drop-shadow(0 36px 13px rgba(0, 0, 0, 0.3));
}

.about_section .btn-box {
  display: flex;
  justify-content: center;
}

.about_section .btn-box a {
  display: inline-block;
  padding: 10px 45px;
  background-color: #171717;
  border: 1px solid #171717;
  color: #ffffff;
  border-radius: 5px;
  transition: transform 0.3s;
  margin-top: 35px;
}

.about_section .btn-box a:hover {
  transform: translateY(-3px);
  box-shadow: 0 3px 4px rgba(0, 0, 0, 0.2);
}

/* ====================================
   APP SECTION – DOWNLOAD APP
   ==================================== */

section.app_section {
  position: relative;
  z-index: 5;
  padding: 90px 0 100px;
  background: radial-gradient(circle at top left, #fff7d1 0%, #fffdf5 40%, #ffe599 100%);
  overflow: visible;
}

/* ขอบโค้งเชื่อมกับ hero */
section.app_section::before {
  content: "";
  position: absolute;
  top: -45px;
  left: 0;
  right: 0;
  height: 70px;
  background: #fffdf5;
  border-radius: 40px 40px 0 0;
  box-shadow: 0 -14px 30px rgba(15, 23, 42, 0.2);
  pointer-events: none;
}

/* blob แสงด้านล่าง */
section.app_section::after {
  content: "";
  position: absolute;
  width: 240px;
  height: 240px;
  border-radius: 999px;
  background: #facc15;
  filter: blur(40px);
  opacity: 0.35;
  bottom: -80px;
  left: 5%;
  pointer-events: none;
}

section.app_section .container {
  max-width: 1120px;
}

section.app_section .row {
  align-items: center;
}

/* ฝั่งข้อความ */
section.app_section .detail-box h2 {
  font-weight: 800;
  font-size: clamp(26px, 2.6vw, 32px);
  margin-bottom: 14px;
  color: #020617;
}

section.app_section .detail-box .text-highlight {
  color: #f97316;
}

section.app_section .app-lead {
  font-size: 15px;
  line-height: 1.7;
  color: #4b5563;
  margin-bottom: 18px;
}

section.app_section .app-benefits {
  padding-left: 20px;
  margin-bottom: 28px;
  font-size: 14px;
  line-height: 1.6;
  color: #374151;
}

section.app_section .app-benefits li {
  margin-bottom: 6px;
}

/* กล่องดาวน์โหลด */
section.app_section .detail-box .download_box {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
  margin-top: 10px;
}

section.app_section .detail-box .download_box h5 {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  color: #111827;
}

section.app_section .detail-box .download_box .btn-box {
  display: flex;
  align-items: center;
}

section.app_section .detail-box .download_box .btn-box .store-btn {
  display: inline-flex;
  align-items: center;
  padding: 0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.35);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

section.app_section .detail-box .download_box .btn-box .store-btn img {
  display: block;
  height: 48px;
  width: auto;
}

section.app_section .detail-box .download_box .btn-box .store-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 35px rgba(15, 23, 42, 0.45);
}

/* ฝั่งภาพแอป – การ์ดลอยเด่น */
.app-visual {
  display: flex;
  justify-content: center;
  padding-top: 10px;
}

.app-card {
  width: min(340px, 90%);
  max-width: 100%;
  border-radius: 30px;
  background: radial-gradient(circle at top, #ffffff 0%, #fef3c7 55%, #fde68a 100%);
  box-shadow:
    0 20px 55px rgba(15, 23, 42, 0.4),
    0 0 0 1px rgba(251, 191, 36, 0.35);
  padding: 26px 24px 28px;
  text-align: center;
  position: relative;
  animation: appFloat 4.2s ease-in-out infinite;
}

/* วงแสงด้านหลังการ์ด */
.app-card::before {
  content: "";
  position: absolute;
  inset: -22px;
  border-radius: 36px;
  background: radial-gradient(circle, rgba(250, 204, 21, 0.8), transparent 60%);
  opacity: 0.55;
  z-index: -1;
  filter: blur(4px);
}

/* โลโก้แอป */
.app-icon-wrap {
  width: 120px;
  height: 120px;
  border-radius: 28px;
  margin: 0 auto 16px;
  background: radial-gradient(circle at 30% 0, #ffffff 0%, #facc15 90%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.35);
}

.app-icon-wrap img {
  width: 92%;
  height: auto;
  display: block;
}

/* เส้นเรืองรอบโลโก้ */
.app-icon-wrap::after {
  content: "";
  position: absolute;
  inset: 4px;
  border-radius: 24px;
  border: 2px solid rgba(250, 204, 21, 0.8);
  box-shadow: 0 0 18px rgba(250, 204, 21, 0.7);
}

.app-name {
  font-weight: 800;
  font-size: 19px;
  color: #111827;
  margin-bottom: 6px;
}

.app-caption {
  font-size: 13px;
  color: #4b5563;
}

/* animation การ์ดลอย */
@keyframes appFloat {
  0%   { transform: translateY(0); }
  50%  { transform: translateY(-8px); }
  100% { transform: translateY(0); }
}

/* app section – responsive */
@media (max-width: 991.98px) {
  section.app_section {
    padding: 70px 0 80px;
    text-align: center;
  }

  section.app_section::before {
    top: -35px;
    height: 60px;
    border-radius: 30px 30px 0 0;
  }

  section.app_section .detail-box .download_box {
    justify-content: center;
  }

  .app-visual {
    margin-top: 28px;
  }
}

@media (max-width: 575.98px) {
  section.app_section {
    padding: 60px 0 70px;
  }

  section.app_section::before {
    top: -30px;
    height: 55px;
  }

  .app-card {
    width: 88%;
    padding: 22px 20px 24px;
    border-radius: 24px;
  }

  .app-icon-wrap {
    width: 100px;
    height: 100px;
  }

  .app-name {
    font-size: 17px;
  }

  section.app_section .detail-box h2 {
    font-size: 24px;
  }

  section.app_section .detail-box .download_box h5 {
    width: 100%;
    text-align: center;
  }
}

/* ---------- AUTO SECTION ---------- */

.auto_section {
  text-align: center;
}

.auto_section .box {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.auto_section .box .img-box {
  display: flex;
  justify-content: center;
  margin-top: 5px;
}

.auto_section .box .img-box img {
  max-width: 100%;
}

.auto_section .btn-box {
  display: flex;
  justify-content: center;
}

.auto_section .btn-box a {
  display: inline-block;
  padding: 10px 45px;
  background-color: #171717;
  border: 1px solid #171717;
  color: #ffffff;
  border-radius: 5px;
  transition: transform 0.3s;
  margin-top: 35px;
}

.auto_section .btn-box a:hover {
  transform: translateY(-3px);
  box-shadow: 0 3px 4px rgba(0, 0, 0, 0.2);
}

/* ---------- CLIENT SECTION (ใช้กับ FAQ answers) ---------- */

.client_section {
  background: #ffffff;
}

.client_section .box {
  display: flex;
  align-items: center;
  width: 65%;
  margin: 45px auto;
}

.client_section .box .client_id {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 40px 5px 15px;
  text-align: center;
  position: relative;
  margin-right: 25px;
}

.client_section .box .client_id .img-box {
  width: 175px;
}

.client_section .box .client_id .img-box img {
  width: 100%;
}

.client_section .box .client_id .name {
  margin-top: 15px;
}

.client_section .box .client_id .name h5 {
  text-transform: uppercase;
  font-size: 18px;
}

.client_section .box .client_id .name h6 {
  color: #6d6c6c;
}

.client_section .box .client_id::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #ffffff;
  z-index: -1;
  clip-path: polygon(0 14%, 89% 14%, 89% 48%, 100% 53%, 89% 58%, 89% 100%, 0 100%);
}

.client_section .box .client_id::after {
  content: "";
  position: absolute;
  top: 17%;
  left: 3%;
  width: 85%;
  height: 85%;
  background-color: rgba(0, 0, 0, 0.2);
  z-index: -2;
  filter: blur(25px);
}

.client_section .client_detail p {
  margin: 0;
  font-size: 14px;
  line-height: 1.8;
  color: #4b5563;
}

.client_section .btn-box {
  display: flex;
  justify-content: center;
}

.client_section .btn-box a {
  display: inline-block;
  padding: 10px 45px;
  background-color: #ff8c00;
  border: 1px solid #ff8c00;
  color: #ffffff;
  border-radius: 5px;
  transition: transform 0.3s;
  margin-top: 25px;
}

.client_section .btn-box a:hover {
  transform: translateY(-3px);
  box-shadow: 0 3px 4px rgba(0, 0, 0, 0.2);
}

/* ====================================
   WHY SECTION – จุดเด่น 6 ข้อ
   ==================================== */

.why_section {
  position: relative;
  padding: 90px 0 100px;
  background-image: url("../images/why-bg.jpg");
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
}

/* แสงฟุ้งด้านบน */
.why_section::before {
  content: "";
  position: absolute;
  top: -80px;
  left: -60px;
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, rgba(250, 204, 21, 0.55), transparent 65%);
  opacity: 0.7;
  pointer-events: none;
}

.why_section .container {
  position: relative;
  z-index: 1;
}

.why_section .heading_container h2 {
  font-weight: 800;
  font-size: clamp(24px, 2.4vw, 30px);
  color: #0f172a;
  margin-bottom: 10px;
}

.why_section .heading_container p {
  margin: 0 0 40px;
  font-size: 14px;
  color: #6b7280;
}

/* grid 3 คอลัมน์ */
.why_grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px 32px;
}

/* การ์ดแต่ละข้อ */
.why_item {
  padding: 20px 18px 22px;
  border-radius: 28px;
  background: #ffffff;
  box-shadow:
    0 18px 40px rgba(15, 23, 42, 0.12),
    0 0 0 1px rgba(248, 250, 252, 0.9);
  text-align: center;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

/* ทำให้แถวล่างลอยสลับนิดหน่อย */
.why_item:nth-child(4),
.why_item:nth-child(5),
.why_item:nth-child(6) {
  transform: translateY(8px);
}

/* กล่องไอคอน */
.why_icon {
  width: 120px;
  height: 120px;
  margin: 0 auto 14px;
  border-radius: 32px;
  background:
    radial-gradient(circle at 30% 0, #ffffff 0%, #fefce8 45%, #fde68a 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow:
    0 16px 30px rgba(15, 23, 42, 0.18),
    0 0 0 1px rgba(250, 204, 21, 0.25);
}

.why_icon::before {
  content: "";
  position: absolute;
  inset: 9px;
  border-radius: 26px;
  border: 1px solid rgba(250, 204, 21, 0.7);
}

.why_icon img {
  max-width: 62px;
  height: auto;
  display: block;
}

.why_item h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 4px;
  color: #111827;
}

.why_item p {
  font-size: 14px;
  color: #6b7280;
  margin: 0;
  line-height: 1.7;
}

.why_item:hover {
  transform: translateY(-4px);
  box-shadow:
    0 22px 50px rgba(15, 23, 42, 0.22),
    0 0 0 1px rgba(250, 204, 21, 0.35);
}

/* WHY responsive */
@media (max-width: 991.98px) {
  .why_section {
    padding: 70px 0 80px;
  }

  .why_grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px 20px;
  }

  .why_item:nth-child(4),
  .why_item:nth-child(5),
  .why_item:nth-child(6) {
    transform: translateY(0);
  }
}

@media (max-width: 575.98px) {
  .why_section {
    padding: 60px 0 70px;
  }

  .why_grid {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .why_item {
    padding: 18px 16px 20px;
  }

  .why_icon {
    width: 110px;
    height: 110px;
  }
}

/* ============ NEWS SECTION ============ */

.news_section {
  position: relative;
  padding-top: 80px;
  padding-bottom: 110px;
  background: linear-gradient(180deg, #fffdf5 0%, #fef9c3 45%, #ffeaa7 100%);
  z-index: 1;
}

.news_section .heading_container {
  justify-content: center;
  text-align: center;
  margin-bottom: 30px;
}

.news_section .heading_container h2 {
  font-weight: 800;
  font-size: clamp(24px, 2.4vw, 30px);
  color: #0f172a;
  margin-bottom: 8px;
}

.news_lead {
  margin: 0;
  font-size: 14px;
  color: #6b7280;
}

/* grid การ์ดข่าว 3 คอลัมน์ */
.news_grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

/* การ์ดข่าว */
.news_card {
  background-color: #ffffff;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.14);
  display: flex;
  flex-direction: column;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.news_card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 55px rgba(15, 23, 42, 0.2);
}

/* ส่วนรูป */
.news_thumb {
  position: relative;
  overflow: hidden;
}

.news_thumb img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

/* แท็กประเภทข่าว */
.news_tag {
  position: absolute;
  left: 14px;
  bottom: 14px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.02em;
  background: rgba(250, 250, 250, 0.9);
  color: #92400e;
}

.news_tag--alert {
  background: rgba(248, 113, 113, 0.1);
  color: #b91c1c;
}

/* ตัวเนื้อการ์ด */
.news_body {
  padding: 14px 16px 18px;
}

.news_date {
  display: inline-block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #9ca3af;
  margin-bottom: 6px;
}

.news_body h3 {
  font-size: 16px;
  font-weight: 700;
  color: #111827;
  margin: 0 0 6px;
}

.news_body p {
  font-size: 13px;
  color: #6b7280;
  line-height: 1.7;
  margin: 0 0 10px;
}

/* ลิงก์อ่านต่อ */
.news_link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  font-weight: 600;
  color: #f97316;
}

.news_link::after {
  content: "›";
  font-size: 16px;
  margin-top: -1px;
}

.news_link:hover {
  color: #ea580c;
}

/* NEWS responsive */
@media (max-width: 991.98px) {
  .news_grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .news_thumb img {
    height: 170px;
  }
}

@media (max-width: 575.98px) {
  .news_section {
    padding-top: 60px;
    padding-bottom: 70px;
  }

  .news_grid {
    grid-template-columns: 1fr;
  }

  .news_thumb img {
    height: 190px;
  }
}

/* ============ FAQ HEADER (PILL) ============ */
/* ใช้กับ <div class="faq" id="faq"><h2>...</h2></div> */

.faq {
  position: relative;
  z-index: 2;
  margin-top: -40px;          /* ดึงหัวข้อขึ้นมาทับ news_section นิดหน่อย */
  padding: 0 15px 10px;
  text-align: center;
  background: transparent;
  box-shadow: none;
  border-radius: 0;
}

.faq h2 {
  display: inline-block;
  margin: 0 auto 24px;
  padding: 14px 32px;
  background: #ffffff;
  border-radius: 999px;
  font-weight: 800;
  font-size: clamp(22px, 2.2vw, 28px);
  color: #0f172a;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.25);
}

/* FAQ header responsive */
@media (max-width: 575.98px) {
  .faq {
    margin-top: -30px;
  }

  .faq h2 {
    padding: 10px 22px;
    font-size: 20px;
  }
}

/* ============ FOOTER ใหม่ (site-footer) ============ */

.site-footer {
  background-color: #020617;
  color: #e5e7eb;
  padding: 40px 0 20px;
  font-size: 14px;
}

.site-footer a {
  color: #e5e7eb;
}

/* layout 3 คอลัมน์ */
.site-footer .footer-main {
  display: grid;
  grid-template-columns: 2fr 1fr 1.6fr;
  gap: 32px;
  align-items: flex-start;
  margin-bottom: 20px;
}

.footer-block {
  min-width: 0;
}

/* หัวข้อ */
.footer-title-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.footer-title {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 700;
  color: #f9fafb;
}

/* icon กลมด้านหน้า */
.footer-icon-circle {
  width: 26px;
  height: 26px;
  border-radius: 999px;
  background: rgba(251, 191, 36, 0.18);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fde68a;
}

.footer-icon-circle i {
  font-size: 13px;
}

/* list ทั่วไป */
.footer-list {
  list-style: none;
  margin: 0;
  padding: 0;
  line-height: 1.7;
  color: #9ca3af;
}

.footer-list li + li {
  margin-top: 4px;
}

/* ลิงก์ใน footer */
.footer-list a {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

.footer-list a:hover {
  color: #fde68a;
}

/* contact list มี icon แยกบรรทัด */
.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.footer-contact li + li {
  margin-top: 4px;
}

.footer-icon {
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.18);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #e5e7eb;
  flex-shrink: 0;
}

.footer-icon i {
  font-size: 12px;
}

/* LINE สีเขียว */
.footer-icon--line {
  background: rgba(34, 197, 94, 0.18);
  color: #22c55e;
}

/* bar ล่าง */
.footer-bottom {
  border-top: 1px solid rgba(148, 163, 184, 0.35);
  padding-top: 10px;
  text-align: center;
  font-size: 13px;
  color: #6b7280;
}

/* FOOTER responsive */
@media (max-width: 991.98px) {
  .site-footer .footer-main {
    grid-template-columns: 1.3fr 1fr;
    row-gap: 24px;
  }
}

@media (max-width: 767.98px) {
  .site-footer {
    padding: 32px 0 18px;
  }

  .site-footer .footer-main {
    grid-template-columns: 1fr;
  }

  .footer-title-row {
    margin-bottom: 6px;
  }

  .footer-bottom {
    margin-top: 4px;
  }
}

/* ===== FAQ – การ์ดคำถามคำตอบ ===== */

.faq-wrap {
  background: linear-gradient(180deg, #fff7d1 0%, #fffdf5 40%, #fef3c3 100%);
  padding: 80px 0 90px;
}

.faq-wrap .container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 16px;
}

/* หัวข้อบนสุดแบบ pill */
.faq-heading {
  text-align: center;
  margin-bottom: 32px;
}

.faq-pill {
  display: inline-block;
  padding: 12px 32px;
  border-radius: 999px;
  background: #ffffff;
  font-weight: 800;
  font-size: clamp(20px, 2.1vw, 26px);
  color: #0f172a;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.25);
}

/* การ์ดแต่ละข้อ */
.faq-card {
  background: #ffffff;
  border-radius: 22px;
  padding: 22px 24px 24px;
  box-shadow: 0 14px 32px rgba(148, 163, 184, 0.35);
  margin-bottom: 22px;
}

.faq-card:last-child {
  margin-bottom: 0;
}

/* ส่วนหัวการ์ด */
.faq-card-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
  margin-bottom: 10px;
}

/* badge Q1/Q2 */
.faq-card-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: linear-gradient(135deg, #fde68a, #facc15);
  font-weight: 800;
  font-size: 14px;
  color: #111827;
  box-shadow: 0 8px 18px rgba(250, 204, 21, 0.6);
}

.faq-card-title {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  color: #111827;
}

/* เนื้อหา */
.faq-card-body {
  text-align: center;
}

.faq-card-body p {
  margin: 0 0 8px;
  font-size: 14px;
  line-height: 1.8;
  color: #4b5563;
}

/* ให้ list จัดซ้ายแต่วงในกลาง */
.faq-card-body ol {
  margin: 6px auto 10px;
  padding-left: 1.4rem;
  max-width: 520px;
  text-align: left;
  font-size: 14px;
  color: #4b5563;
}

.faq-card-body ol li {
  margin-bottom: 4px;
}

/* hover เบา ๆ ถ้าอยากให้รู้สึกคลิกได้ */
.faq-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(148, 163, 184, 0.45);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

/* responsive */
@media (max-width: 767.98px) {
  .faq-wrap {
    padding: 60px 0 70px;
  }

  .faq-card {
    padding: 18px 16px 20px;
  }

  .faq-card-title {
    font-size: 16px;
  }

  .faq-card-body p,
  .faq-card-body ol {
    font-size: 13px;
  }

  .faq-card-number {
    width: 38px;
    height: 38px;
    font-size: 13px;
  }
}

