/* =========================================================
   EMIL PRECIOUS CO., LTD. — One Page
   ========================================================= */

:root{
  --green:#0d3c28;        /* เขียวเข้ม — เมนู / หัวข้อ */
  --green-dark:#0a2d1d;   /* พื้นหลัง section พันธมิตร */
  --gold:#b89149;         /* น้ำตาลทอง */
  --black:#000000;
  --white:#ffffff;

  --cream-1:#f7f3eb;      /* ทำไมต้องเลือกเรา / ราคาค่าบริการ */
  --cream-2:#f1ece3;      /* เกี่ยวกับเรา / GEMMOLOGY */
  --cream-3:#f7f3ea;      /* ตัวอย่างใบรับรอง */
  --cream-4:#f0ede3;      /* ภาพอัญมณี */
  --cream-5:#f8f2ea;      /* FAQ */
  --btn-soft:#f1ede3;     /* พื้นปุ่มเส้นขอบเขียว */

  --font:"Noto Sans Thai",-apple-system,"Segoe UI",sans-serif;
  --nav-h:84px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth;overflow-x:hidden}
body{
  font-family:var(--font);
  color:var(--black);
  font-size:16px;
  line-height:1.75;
  font-weight:400;
  overflow-x:hidden;
  max-width:100%;
  padding-top:var(--nav-h);
}
/* กันข้อความ/ลิงก์ยาวดันจนล้นขอบจอ */
p,li,td,th,h1,h2,h3,h4,span,a{overflow-wrap:break-word;word-break:break-word}
img{max-width:100%;height:auto}
iframe{max-width:100%}
a{text-decoration:none}
section{scroll-margin-top:var(--nav-h)}

/* ===================== ปุ่ม ===================== */
.btn {
    border-radius: 50rem;
    font-family: var(--font);
    font-size: 17px;
    font-weight: 500;
    padding: 5px 32px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid transparent;
    transition: all .25s ease;
}
.btn-gold{background:var(--gold);color:var(--white)}
.btn-gold:hover{background:#a37f3c;color:var(--white)}
.btn-green{background:var(--green);color:var(--white)}
.btn-green:hover{background:#092c1d;color:var(--white)}
.btn-outline-green{
  background:var(--btn-soft);
  border-color:var(--green);
  color:var(--green);
  font-weight:400;
}
.btn-outline-green:hover{background:var(--green);color:var(--white);border-color:var(--green)}

/* ===================== หัวข้อ section ===================== */
.sec-eyebrow {
    color: var(--green);
    font-weight: 600;
    font-size: 14px;
    letter-spacing: .14em;
    margin-bottom: 2px;
}
.sec-title{
  color:var(--green);
  font-weight:600;
  font-size:32px;
  line-height:1.3;
  margin-bottom:18px;
}

/* ===================== NAVBAR ===================== */
.main-nav{
  background:var(--green);
  min-height:var(--nav-h);
  padding:0;
}
.main-nav .navbar-brand img{height:64px;width:auto}
.main-nav .navbar-nav {
    gap: 12px;
}
.main-nav .nav-link {
    color: var(--white);
    font-size: 17px;
    font-weight: 600;
    padding: 8px 14px;
    position: relative;
}
.main-nav .nav-link:hover{color:var(--gold)}
.main-nav .nav-link.active{color:var(--gold)}
.main-nav .nav-link.active::after{
  content:"";
  position:absolute;
  left:14px;right:14px;bottom:0;
  height:2px;
  background:var(--gold);
}
.navbar-menu{flex:1;align-items:center}
.nav-cta{white-space:nowrap}

/* สลับภาษา */
.lang-switch{display:flex;align-items:center;gap:6px;margin-left:16px;flex:none}
.lang-switch a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 42px;
    padding: 0 12px;
    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: 999px;
    opacity: .72;
    transition: background-color .3s ease, border-color .3s ease, opacity .3s ease;
}
.lang-switch a img{display:block;width:26px;height:17px;border-radius:2px}
.lang-switch a span {
    color: var(--white);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .4px;
    line-height: 1;
}
.lang-switch a:hover{background:rgba(255,255,255,.08);opacity:1}
/* ภาษาที่กำลังใช้อยู่ */
.lang-switch a.is-active {
    background: rgba(255, 255, 255, .18);
    border-color: rgba(255, 255, 255, .60);
    opacity: 1;
}
@media (prefers-reduced-motion:reduce){.lang-switch a{transition:none}}
/* สลับภาษาในเมนูมือถือ */
.lang-switch-mobile{margin:16px 0 0;justify-content:center}
.lang-switch-mobile a{padding:0 18px}

/* ปุ่มแฮมเบอร์เกอร์ */
.nav-burger{
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  width:44px;
  height:44px;
  flex:none;
  border:0;
  background:transparent;
  padding:0;
  cursor:pointer;
  z-index:1001;
}
.nav-burger span{
  display:block;
  width:26px;
  height:2px;
  background:var(--white);
  margin:5px 0;
  border-radius:2px;
  transition:all .25s ease;
}

/* ===================== เมนูมือถือ (แผงเลื่อนจากขวา) ===================== */
.mobile-menu-overlay{
  position:fixed;
  inset:0;
  background:rgba(0,0,0,.5);
  z-index:9999;
  opacity:0;
  visibility:hidden;
  transition:opacity .3s ease,visibility .3s ease;
}
.mobile-menu-overlay.active{opacity:1;visibility:visible}
.mobile-menu-content{
  position:absolute;
  top:0;right:0;
  width:78%;
  max-width:360px;
  height:100%;
  background:var(--green);
  transform:translateX(100%);
  transition:transform .3s ease;
  overflow-y:auto;
  display:flex;
  flex-direction:column;
}
.mobile-menu-overlay.active .mobile-menu-content{transform:translateX(0)}
.mobile-menu-header{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:18px 22px;
  border-bottom:1px solid rgba(255,255,255,.12);
}
.mobile-menu-logo{height:44px;width:auto}
.mobile-menu-close{
  position:relative;
  width:38px;height:38px;
  border-radius:50%;
  border:2px solid var(--white);
  background:transparent;
  flex:none;
  cursor:pointer;
  transition:background .25s ease;
}
.mobile-menu-close:hover{background:rgba(255,255,255,.12)}
.mobile-menu-close::before,
.mobile-menu-close::after{
  content:"";
  position:absolute;
  top:50%;left:50%;
  width:17px;height:2px;
  background:var(--white);
  margin:-1px 0 0 -8.5px;
}
.mobile-menu-close::before{transform:rotate(45deg)}
.mobile-menu-close::after{transform:rotate(-45deg)}
.mobile-menu-nav{padding:14px 0;flex:1}
.mobile-menu-nav ul{list-style:none;margin:0;padding:0}
.mobile-menu-nav li{border-bottom:1px solid rgba(255,255,255,.1)}
.mobile-menu-nav a{
  display:flex;
  align-items:center;
  padding:15px 22px;
  color:var(--white);
  font-size:17px;
  font-weight:500;
  transition:all .25s ease;
}
.mobile-menu-nav a:hover{background:rgba(255,255,255,.06);padding-left:28px}
.mobile-menu-nav a.active{color:var(--gold)}
.mobile-menu-cta{padding:20px 22px 28px}
.mobile-menu-cta .btn{justify-content:center}
body.menu-open{overflow:hidden}

/* ===================== HERO ===================== */
.hero{
  position:relative;
  background:var(--cream-1);
  overflow:hidden;
}
/* ภาพเต็มพื้นแบนเนอร์ — ความสูงตามขนาดจริงของภาพ (1920x556) */
.hero-bg{
  display:block;
  width:100%;
  height:auto;
}
/* ไล่เฉดครีมด้านซ้าย ให้ข้อความอ่านชัดบนภาพ */
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(247, 243, 235, .96) 0%, rgba(247, 243, 235, .90) 0%, rgba(247, 243, 235, .55) 48%, rgba(247, 243, 235, 0) 66%);
}
.hero-inner{
  position:absolute;
  inset:0;
  z-index:2;
  display:flex;
  align-items:center;
}
.hero-copy{max-width:600px}
.hero h1{
  color:var(--green);
  font-size:40px;
  font-weight:600;
  line-height:1.35;
  margin-bottom:16px;
}
.hero-tagline {
    color: var(--green);
    font-size: 18px;
    font-weight: 600;
    letter-spacing: .06em;
    margin-bottom: 18px;
}
.hero-desc {
    color: var(--black);
    font-size: 17px;
    font-weight: 400;
    margin-bottom: 30px;
}
.hero-actions{display:flex;flex-wrap:wrap;gap:12px}

/* ===================== ทำไมต้องเลือกเรา ===================== */
.why-us {
    background: var(--cream-1);
    padding: 10px 0;
}
.why-item{
  display:flex;
  align-items:center;
  gap:14px;
  text-align:left;
  padding:10px 18px;
  position:relative;
  height:100%;
}
/* หน้าอังกฤษ: ข้อความยาวกว่า จึงลด padding ซ้าย-ขวา */
html[lang="en"] .why-item {
    padding: 10px 4px;
}
.why-txt{min-width:0}
.why-us .row{align-items:stretch}
.why-us .col-lg-3:not(:first-child) .why-item::before{
  content:"";
  position:absolute;
  left:0;
  top:18px;
  bottom:18px;
  width:1.7px;              /* ต้องเป็นจำนวนเต็ม ไม่งั้นแต่ละเส้นจะบางไม่เท่ากัน */
  background:#e0cda3;
}
.why-ico{
  flex:none;
  display:grid;
  place-items:center;
  color:var(--green);
  font-size:38px;
  line-height:1;
}
.why-ico svg{width:40px;height:40px;display:block}
.why-item h3{
  color:var(--green);
  font-size:17px;
  font-weight:600;
  margin-bottom:6px;
}
.why-item p {
    color: var(--black);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.6;
    margin: 0;
}

/* ===================== เกี่ยวกับเรา ===================== */
.about-sec{background:var(--cream-2);padding:70px 0}
.about-img img{
  width:100%;
  border-radius:10px;
 /*object-fit:cover;
  aspect-ratio:4/3;*/
}
.about-text {
    color: var(--black);
    font-size: 16px;
    font-weight: 400;
    margin-bottom: 24px;
}
.about-mark {
    max-width: 320px;
    /* width: 100%; */
    /* opacity: .95; */
}

/* ===================== ราคาค่าบริการ ===================== */
.fee-sec{background:var(--cream-1);padding:70px 0}
.fee-table-wrap{
  border:1px solid rgba(9,44,29,.15);
  border-radius:6px;
  overflow:hidden;
  background:var(--white);
}
.fee-table {
    margin: 0;
    font-size: 16px;
}
.fee-table thead th{
  background:var(--green);
  color:var(--white);
  font-weight:500;
  font-size:14.5px;
  border:0;
  padding:12px 14px;
  vertical-align:middle;
}
.fee-table tbody td {
    color: var(--black);
    font-weight: 400;
    /* padding: 10px 14px; */
    vertical-align: middle;
    border-color: rgba(9, 44, 29, .1);
}
/* ลดความสูงแถวในตาราง */
.fee-table{line-height:1.4}
.fee-table tbody td{padding:5px 14px}
.fee-table thead th{padding:8px 14px}
.fee-table tbody tr:nth-child(even){background:#f9f3ea}
.gem-ico{margin-right:6px;font-size:15px;vertical-align:-1px}
.gem-diamond{color:#8fa3ad}
.gem-ruby{color:#c0143c}
.gem-sapphire{color:#1b3f9c}
.gem-emerald{color:#0f8b52}
.gem-pearl{color:#d8c9a3}
.gem-other{color:#b0aca2}

.fee-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 10px;
}
.fee-note {
    color: var(--black);
    font-size: 16px;
    font-weight: 400;
    max-width: 680px;
    line-height: 1.6;
}
.fee-note b{font-weight:600;color:var(--black)}
/* ปุ่มชิดขวาเสมอ แม้ตกลงมาบรรทัดใหม่ */
.fee-foot .btn{margin-left:auto;white-space:nowrap;flex:none}
.fee-img img {
    /* width: 100%; */
    /* border-radius: 10px; */
    object-fit: cover;
    /* aspect-ratio: 4 / 3.4; */
}

/* หัวข้อ "ราคาค่าบริการ" ไม่ต้องมีระยะห่างด้านล่าง (เฉพาะ section นี้) */
.fee-sec .sec-title{margin-bottom:.5rem}

/* ===================== ราคาค่าบริการ — กรอบและพื้นหลังแยกชั้น ===================== */
.fee-sec{background:#f7f3e9;padding:56px 0}

/* ชั้นที่ 2 : กรอบใหญ่ */
.fee-shell{
  background:#f0eee5;
  border-radius:18px;
  overflow:hidden;
  box-shadow:0 26px 60px -42px rgba(47,51,46,.55);
}

/* ชั้นที่ 3 : แผงบน (ข้อความ + ภาพ) */
.fee-main{background:#fbf9f3;border-radius:18px;overflow:hidden}
.fee-main-row{align-items:stretch}
.fee-main-row > [class*="col-"]{display:flex;flex-direction:column;justify-content:center}
.fee-sec .fee-col-text{padding:44px 42px}
.fee-sec .fee-col-img{padding:0}
.fee-sec .fee-img{flex:1;display:flex}
.fee-sec .fee-img img{width:100%;height:100%;object-fit:cover;display:block}
.fee-sec .fee-col-text .btn{align-self:flex-start}

/* ชั้นที่ 4 : โซนการ์ดล่าง อยู่บนพื้นกรอบ */
.fee-details-wrap {
    padding: 0px 42px 28px;
}

@media (min-width:992px){
  .fee-sec .fee-col-text{flex:0 0 68%;max-width:68%}
  .fee-sec .fee-col-img{flex:0 0 32%;max-width:32%}
}
@media (max-width:991.98px){
  .fee-sec{padding:40px 0}
  .fee-sec .fee-col-text{padding:32px 26px}
  .fee-sec .fee-img img{max-height:340px}
  .fee-details-wrap{padding:20px 18px 24px}
}
/* ===================== ราคาค่าบริการ — แท็บ + ตาราง ===================== */
.fee-intro{color:#5b615a;font-size:16px;margin-bottom:18px}

.fee-tabs{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-bottom:16px}
.fee-tab{
  display:flex;align-items:center;gap:12px;
  padding:14px 16px;border-radius:8px;
  background:var(--white);border:1px solid rgba(9,44,29,.14);
  text-align:left;transition:all .25s ease;
}
.fee-tab i{font-size:22px;color:var(--gold);line-height:1}
.fee-tab span{display:flex;flex-direction:column;line-height:1.35;min-width:0}
.fee-tab b{font-size:16px;font-weight:600;color:var(--green)}
.fee-tab small{font-size:13.5px;color:#6b716a}
.fee-tab:hover{border-color:var(--gold)}
.fee-tab.active{background:var(--green);border-color:var(--green)}
.fee-tab.active i{color:var(--gold)}
.fee-tab.active b{color:var(--white)}
.fee-tab.active small{color:rgba(255,255,255,.75)}

.fee-panel{display:none;background:var(--white);border:1px solid rgba(9,44,29,.14);border-radius:8px;overflow:hidden}
.fee-panel.active{display:block}
.fee-panel-head{padding:16px 20px 12px}
.fee-panel-head p{font-size:13px;font-weight:600;letter-spacing:.14em;color:var(--gold);margin:0}
.fee-panel-head h3{font-size:22px;font-weight:600;color:var(--green);margin:2px 0 0}

.price-table{margin:0;font-size:16px;line-height:1.5}
.price-table thead th{
  background:var(--green);color:var(--white);
  font-weight:500;font-size:15px;border:0;padding:10px 20px;vertical-align:middle;
}
.price-table tbody td{padding:12px 20px;vertical-align:middle;border-color:rgba(9,44,29,.08);color:var(--black)}
.price-table tbody tr:last-child td{border-bottom:0}
.speed{display:inline-flex;align-items:center;gap:10px;font-weight:500;color:var(--green)}
.speed i{
  width:34px;height:34px;flex:none;border-radius:50%;
  background:rgba(9,44,29,.06);color:var(--green);
  display:grid;place-items:center;font-size:16px;
}
.fast-badge{
  font-style:normal;font-size:12px;font-weight:600;
  background:#f6e7c4;color:#8d6f22;padding:2px 9px;border-radius:999px;margin-left:6px;
}
.speed-detail{color:#5b615a}
.price-cell{text-align:right;white-space:nowrap}
.price-cell strong{font-size:22px;font-weight:700;color:var(--green)}
.price-cell span{font-size:14px;color:#6b716a}

/* ===================== กล่องรายละเอียดเพิ่มเติม ===================== */
.fee-details{margin-top:26px}
.detail-card{
  background:var(--white);border:1px solid rgba(9,44,29,.14);border-radius:8px;
  padding:22px 24px;height:100%;
}
.detail-head{display:flex;align-items:center;gap:14px;margin-bottom:14px}
.detail-ico{
  width:44px;height:44px;flex:none;border-radius:8px;
  background:var(--green);color:var(--white);
  display:grid;place-items:center;font-size:20px;
}
.detail-head p{font-size:13px;font-weight:600;letter-spacing:.12em;color:var(--gold);margin:0}
.detail-head h3{font-size:21px;font-weight:600;color:var(--green);margin:2px 0 0}
.detail-list{list-style:none;margin:0;padding:0}
.detail-list li{
  display:flex;align-items:center;justify-content:space-between;gap:14px;
  padding:11px 0;border-bottom:1px solid rgba(9,44,29,.08);
  font-size:15.5px;color:var(--black);
}
.detail-list li:last-child{border-bottom:0;padding-bottom:0}
.detail-list li > span{display:inline-flex;align-items:center;gap:9px}
.detail-list li i{color:var(--gold);font-size:16px}
.detail-list strong{font-weight:600;color:var(--green);white-space:nowrap}

.coupon-card{
  background:var(--green);color:var(--white);border-radius:8px;
  padding:24px 26px;height:100%;position:relative;overflow:hidden;
}
.coupon-kicker{font-size:13px;font-weight:600;letter-spacing:.12em;color:var(--gold)}
.coupon-offer{display:flex;align-items:baseline;gap:10px;margin-top:10px}
.coupon-offer span{font-size:16px;color:rgba(255,255,255,.85)}
.coupon-offer strong{font-size:38px;font-weight:700;line-height:1}
.coupon-discount{margin-top:12px}
.coupon-discount b{display:block;font-size:22px;font-weight:700;color:var(--gold)}
.coupon-discount span{font-size:15px;color:rgba(255,255,255,.8)}
.coupon-card p{margin-top:14px;font-size:14.5px;color:rgba(255,255,255,.8);line-height:1.6}

.price-note{margin-top:22px;font-size:15px;color:#5b615a}

@media (max-width:767.98px){
  .fee-tabs{grid-template-columns:1fr}
  .price-table thead th,.price-table tbody td{padding:10px 14px}
  .price-cell strong{font-size:19px}
  .fee-panel-head h3{font-size:19px}
}
/* ===================== GEMMOLOGY ===================== */
.gem-sec {
    background: var(--cream-2);
    padding: 20px 0px;
}
.gem-text {
    color: var(--black);
    font-size: 16px;
    font-weight: 400;
    margin-bottom: 20px;
}
.gem-list{list-style:none;margin:0 0 26px;padding:0}
.gem-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: var(--black);
    font-size: 16px;
    font-weight: 400;
    margin-bottom: 10px;
}
.gem-list .bi{color:var(--green);font-size:19px;line-height:1.55;flex:none}
/* HTML ใส่คลาส align-items-center ของ Bootstrap ซึ่งเป็น !important
   ต้องเขียนทับด้วย !important ไม่งั้นคอลัมน์ภาพจะไม่ยืดเต็มความสูง */
.gem-sec .row{align-items:stretch !important}
.gem-sec .row > [class*="col-"]{display:flex;flex-direction:column;justify-content:center}
/* คอลัมน์เป็น flex column ทำให้ปุ่มถูกยืดเต็มความกว้าง จึงต้องหดกลับ */
.gem-sec .gem-col-text .btn{align-self:flex-start}
.gem-img{flex:1;display:flex}
.gem-img img {
    width: 100%;
    /* height: 100%; */
    /* border-radius: 10px; */
    object-fit: cover;
    /* aspect-ratio: 16 / 11; */
}

/* ซ้าย 40% / ขวา 60% — ภาพชนขอบขวา แสดงเต็มภาพ ไม่ครอป ไม่ยืด */
@media (min-width:992px){
  .gem-sec{padding:0;position:relative;overflow:hidden}
  .gem-sec .gem-col-text {
      flex: 0 0 40%;
      max-width: 40%;
      padding-top: 10px;
      padding-bottom: 10px;
  }
  /* คอลัมน์ภาพอยู่ในแถวตามปกติ (ไม่ทับข้อความ)
     แล้วดันขอบขวาออกไปชนขอบจอด้วย margin ติดลบ */
  /* margin ติดลบอย่างเดียวไม่พอ เพราะ flex item ที่ล็อก flex-basis ไว้จะไม่กว้างขึ้น
     ต้องขยาย width เพิ่มเท่ากับระยะจากขอบ container ถึงขอบจอด้วย */
  .gem-sec .gem-col-img{
    flex:0 0 auto;
    width:calc(60% + (100vw - 100%) / 2);
    max-width:none;
    padding:0;
    margin-right:calc((100% - 100vw) / 2);
  }
  .gem-sec .gem-img{height:100%;display:block}
  .gem-sec .gem-img img {
      width: 100%;
      /* height: 100%; */
      /* object-fit: cover; */
      display: block;
  }

  /* ความสูง section = สัดส่วนภาพจริง (1946x808 = 2.408)
     ภาพจึงเต็มพื้นที่พอดีโดยไม่ถูกครอป */
  .gem-sec .row{min-height:calc(60vw / 2.408)}

  /* บีบระยะข้อความให้พอดีกับความสูงภาพ ตามแบบที่ให้มา */
  .gem-sec .sec-eyebrow{margin-bottom:0}
  .gem-sec .sec-title {
      margin-bottom: 5px;
  }
  .gem-sec .gem-text {
      margin-bottom: 5px;
      line-height: 1.65;
  }
  .gem-sec .gem-list {
      margin-bottom: 2px;
  }
  .gem-sec .gem-list li {
      margin-bottom: 4px;
  }
}

/* ===================== ตัวอย่างใบรับรอง ===================== */
.cert-sec{background:var(--cream-3);padding:70px 0}
.cert-slider-wrap{position:relative;padding:0 54px}
.cert-track{
  display:flex;
  gap:20px;
  overflow-x:auto;
  scroll-behavior:smooth;
  scrollbar-width:none;
  padding-bottom:4px;
}
.cert-track::-webkit-scrollbar{display:none}
.cert-item{flex:0 0 calc((100% - 60px) / 4);min-width:0}
.cert-card {
    background: var(--white);
    /* border: 1px solid rgba(9, 44, 29, .12); */
    border-radius: 6px;
    overflow: hidden;
    /* padding: 8px; */
}
.cert-card img{width:100%;display:block;border-radius:3px}
.cert-name {
    text-align: center;
    color: var(--black);
    font-size: 17px;
    font-weight: 400;
    margin: 12px 0 0;
}
.cert-nav{
  position:absolute;
  top:38%;
  transform:translateY(-50%);
  width:42px;height:42px;
  border-radius:50%;
  border:1px solid var(--gold);
  background:transparent;
  color:var(--gold);
  font-size:18px;
  line-height:1;
  display:grid;
  place-items:center;
  transition:all .25s ease;
}
.cert-nav:hover{background:var(--gold);color:var(--white)}
.cert-prev{left:0}
.cert-next{right:0}

/* ===================== ภาพอัญมณี ===================== */
.gallery-sec{background:var(--cream-4);padding:60px 0}
.gallery-item img{
  width:100%;
  border-radius:8px;
  object-fit:cover;
  aspect-ratio:16/9;
  margin-bottom:14px;
}
.gallery-item h3 {
    color: var(--black);
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 2px;
}
.gallery-item p {
    color: var(--black);
    font-size: 16px;
    font-weight: 400;
    margin: 0;
}

/* ===================== พันธมิตร ===================== */
.partner-sec{background:var(--green-dark);padding:60px 0}
.partner-title{
  color:var(--white);
  font-size:26px;
  font-weight:500;
  text-align:center;
  margin-bottom:36px;
  display:flex;
  align-items:center;
  gap:22px;
  justify-content:center;
}
.partner-title::before,.partner-title::after{
  content:"";
  height:1px;
  background:var(--gold);
  flex:1 1 auto;
  max-width:170px;
}
.partner-box {
    border: 3px solid transparent;   /* กรอบไล่เฉดทอง */
    border-radius: 10px;
    /* padding: 14px; */
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        linear-gradient(rgba(255, 255, 255, .03), rgba(255, 255, 255, .03)) padding-box,
        linear-gradient(135deg,
            #f6e7bb 0%,
            #b89149 28%,
            #8c6a2c 46%,
            #e8d29a 64%,
            #b89149 82%,
            #f6e7bb 100%) border-box;
    box-shadow: 0 12px 30px -18px rgba(184, 145, 73, .75);
}
.partner-box img{width:100%;border-radius:10px}

/* ===================== FAQ ===================== */
.faq-sec{background:var(--cream-5);padding:70px 0}
.faq-sec .accordion-item{
  border:1px solid rgba(9,44,29,.14);
  border-radius:6px !important;
  margin-bottom:12px;
  background:var(--white);
  overflow:hidden;
}
.faq-sec .accordion-button {
    background: var(--white);
    color: var(--black);
    font-size: 17px;
    font-weight: 400;
    padding: 14px 18px;
    box-shadow: none;
}
.faq-sec .accordion-button:not(.collapsed){
  background:var(--white);
  color:var(--green);
  font-weight:500;
  box-shadow:none;
}
.faq-sec .accordion-button::after{
  width:16px;height:16px;background-size:16px;
}
.faq-sec .accordion-button:focus{box-shadow:none;border-color:transparent}
.faq-sec .accordion-body {
    color: var(--black);
    font-size: 16px;
    font-weight: 400;
    padding: 0 18px 16px;
}

/* ===================== ติดต่อเรา ===================== */
.contact-sec{background:var(--white);padding:70px 0}
.contact-company {
    color: var(--black);
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 22px;
}
.contact-line {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
    color: var(--black);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.7;
}
.contact-line .bi{
  color:var(--green);
  font-size:17px;
  line-height:1.7;
  flex:none;
}
.contact-line b{color:var(--green);font-weight:600}
.map-box{
  border-radius:8px;
  overflow:hidden;
  height:100%;
  min-height:380px;
}
.map-box iframe{width:100%;height:100%;min-height:380px;border:0;display:block}

/* ===================== FOOTER ===================== */
.footer-top{background:var(--green);color:var(--white);padding:52px 0 40px}
.footer-logo{max-width:280px;margin-bottom:22px}
/* เส้นคั่นแนวตั้งระหว่างกล่อง (แบบเดียวกับ section ทำไมต้องเลือกเรา) */
/* เพิ่มช่องไฟระหว่างคอลัมน์ เพื่อให้เส้นอยู่กึ่งกลางระหว่างข้อความสองฝั่งจริง ๆ */
.footer-top .row{--bs-gutter-x:3.5rem}
.footer-top .row > [class*="col-"]{position:relative}
@media (min-width:992px){
  .footer-top .row > [class*="col-"]:not(:first-child)::before{
    content:"";
    position:absolute;
    left:-16px;              /* ขยับซ้าย ให้อยู่กึ่งกลางระหว่างข้อความสองฝั่ง */
    top:50%;
    transform:translateY(-50%);
    width: 1.7px;
    height:220px;
    background:rgba(184,145,73,.45);
  }
}
.socials{display:flex;gap:12px;align-items:center;flex-wrap:wrap}
.socials a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, .35);
    color: var(--white);
    display: grid;
    place-items: center;
    font-size: 16px;
    transition: all .25s ease;
}
.socials a:hover{background:var(--gold);border-color:var(--gold);color:var(--white)}
.socials a.line-id {
    width: auto;
    height: auto;
    border: 0;
    border-radius: 0;
    display: inline-flex;
    font-size: 15px;
    font-weight: 500;
    color: rgba(255, 255, 255, .85);
    margin-left: -4px;
}
.socials a.line-id:hover{background:transparent;color:var(--gold)}
.footer-top h4 {
    color: var(--white);
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 16px;
}
.footer-list{list-style:none;margin:0;padding:0}
.footer-list li{margin-bottom:8px}
.footer-list a {
    color: rgba(255, 255, 255, .85);
    font-size: 16px;
    font-weight: 400;
    transition: color .2s ease;
}
.footer-list a:hover{color:var(--gold)}
.footer-contact {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: rgba(255, 255, 255, .85);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.6;
    margin-bottom: 12px;
}
.footer-contact .bi{color:var(--white);font-size:15px;line-height:1.6;flex:none}
.footer-bottom {
    background: var(--green);
    border-top: 1px solid rgba(255, 255, 255, .15);
    color: rgba(255, 255, 255, .85);
    font-size: 15px;
    font-weight: 400;
    text-align: center;
    padding: 16px 0;
}

/* ===================== RESPONSIVE ===================== */
@media (max-width:1199.98px){
  .main-nav .nav-link{font-size:14.5px;padding:8px 10px}
  .main-nav .navbar-brand img{height:56px}
  .hero h1{font-size:34px}
  /* จอแคบลง ภาพจะเตี้ยกว่าข้อความ จึงกลับมาใช้ครอปภาพแทน */
  .hero{min-height:460px}
  /* เลื่อนจุดโฟกัสไปที่เพชร (อยู่ราว 65-70% ของความกว้างภาพ)
     ไม่ใช่ขอบขวาสุดซึ่งเป็นพื้นเปล่า */
  .hero-bg{position:absolute;inset:0;height:100%;object-fit:cover;object-position:70% center}
}
@media (max-width:991.98px){
  :root{--nav-h:74px}
  .main-nav{padding:10px 0}
  .main-nav .navbar-brand img{height:48px}
  .hero{min-height:0}
  .hero-inner{position:relative;padding:56px 0}
  .hero-copy{max-width:none}
  /* ฝั่งขวาโปร่งขึ้น ให้เห็นเพชรชัดขึ้น แต่ยังอ่านข้อความได้ */
  .hero-overlay{
    background:linear-gradient(90deg,
      rgba(247,243,235,.95) 0%,
      rgba(247,243,235,.90) 42%,
      rgba(247,243,235,.62) 100%);
  }
  .why-us .why-item::before{display:none !important}
  .cert-item{flex:0 0 calc((100% - 20px) / 2)}
  .about-mark{max-width:180px;margin-top:10px}
  .fee-img img{aspect-ratio:16/10}
  .map-box{min-height:320px}
}
@media (max-width:767.98px){
  /* 2 คอลัมน์แคบเกินไปสำหรับข้อความไทย จึงเหลือคอลัมน์เดียว */
  .why-us .col-6,
  .gallery-sec .col-6{width:100%}
  .why-item{padding:12px 4px}
  .about-mark{max-width:350px}
  .fee-table{font-size:15px}
  .fee-table thead th,
  .fee-table tbody td{padding:10px 12px}
}
@media (max-width:575.98px){
  .container{padding-left:16px;padding-right:16px}
  .sec-title{font-size:26px}
  .hero h1{font-size:28px}
  .hero-tagline{font-size:16px}
  .hero-desc{font-size:16px}
  .hero .btn{font-size:15px;padding:10px 20px}
  .cert-slider-wrap{padding:0 38px}
  .cert-item{flex:0 0 100%}
  .cert-nav{width:34px;height:34px;font-size:16px}
  .partner-title{font-size:20px;gap:12px;flex-wrap:wrap}
  .partner-title::before,.partner-title::after{max-width:40px}
  .fee-foot{flex-direction:column;align-items:flex-start}
  .faq-sec .accordion-button{font-size:15.5px;padding:13px 14px}
  .contact-line,.footer-contact,.footer-list a{font-size:15px}
  .mobile-menu-content{width:86%}
}


.bi::before, [class*=" bi-"]::before, [class^=bi-]::before
 {
    display: inline-block;
    font-family: bootstrap-icons !important;
    font-style: normal;
    font-weight: 400 !important;
    font-variant: normal;
    text-transform: none;
    line-height: 2;
    vertical-align: -.125em;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}