/* จัดตำแหน่งกลุ่มภาษาให้ลอยขวา  th-en*/ 
.main-nav .lang-container {
    float: right;
    margin-top: 25px; /* ปรับตัวเลขนี้เพื่อให้ตรงกับระดับเมนู */
    margin-right: 30px;
    display: block;
}

.lang-item {
    font-size: 13px;
    font-weight: 600;
    color: #2a2a2a !important;
    text-decoration: none !important;
    transition: 0.3s;
}

.lang-item.active {
    color: #fba500 !important; /* สีส้ม Lava */
}

.lang-item:hover {
    color: #fba500 !important;
}

.sep {
    color: #eee;
    margin: 0 5px;
    font-size: 12px;
}

/* แก้ไขปัญหาในมือถือ (จอเล็ก) */
@media (max-width: 991px) {
    .main-nav .lang-container {
        float: none;
        margin: 0;
        padding: 15px 20px;
        background: #fff;
        border-top: 1px solid #f5f5f5;
        text-align: center;
    }
}






/* --- LOAN HUB PREMIER CONTACT STYLE --- */
@import url('https://fonts.googleapis.com/css2?family=Kanit:wght@300;400;600;700&display=swap');

.contact-section {
    padding: 100px 0;
    background: #ffffff;
    font-family: 'Kanit', sans-serif;
    overflow: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.contact-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 50px;
    flex-wrap: wrap;
}

/* --- ฝั่งซ้าย: ข้อมูลติดต่อ (Staggered Cards) --- */
.contact-content {
    flex: 1;
    min-width: 350px;
}

.contact-content .subtitle {
    display: inline-block;
    background: linear-gradient(135deg, #ff9021, #ff4d5e);
    color: #fff;
    padding: 6px 20px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(255, 77, 94, 0.3);
}

.contact-content h2 {
    font-size: 3.2rem;
    font-weight: 700;
    color: #222;
    line-height: 1.1;
    margin-bottom: 30px;
}

.contact-content h2 span {
    background: linear-gradient(135deg, #ff9021, #ff4d5e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* การ์ดข้อมูลแบบมีเลเยอร์ */
.contact-item {
    background: #fff;
    padding: 25px;
    border-radius: 25px;
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.05);
    border: 1px solid #f5f5f5;
    transition: 0.3s;
    width: 90%;
}

.contact-item:nth-child(2) { margin-left: 40px; } /* เยื้องขวาเพิ่มมิติ */

.contact-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(255, 77, 94, 0.1);
    border-color: #ff9021;
}

.icon-circle {
    width: 55px;
    height: 55px;
    background: linear-gradient(135deg, #ff9021, #ff4d5e);
    border-radius: 18px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    font-size: 22px;
    margin-right: 20px;
    flex-shrink: 0;
}

.contact-text h5 { margin: 0; color: #888; font-size: 13px; text-transform: uppercase; }
.contact-text p { margin: 0; color: #333; font-weight: 600; font-size: 16px; }

/* --- ฝั่งขวา: ฟอร์ม (Creative Glass) --- */
.contact-form-wrapper {
    flex: 0.8;
    min-width: 350px;
    position: relative;
}

.glass-form {
    background: rgba(255, 255, 255, 0.9);
    padding: 45px;
    border-radius: 40px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.1);
    border: 2px solid #fff;
    backdrop-filter: blur(10px);
    transform: rotate(-1deg); /* เอียงนิดๆ ให้ดูอาร์ต */
}

.form-group { margin-bottom: 20px; }

.form-group input, .form-group textarea {
    width: 100%;
    padding: 16px;
    border: 1px solid #eee;
    border-radius: 15px;
    background: #fcfcfc;
    font-family: 'Kanit';
    font-size: 15px;
    transition: 0.3s;
}

.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: #ff9021;
    background: #fff;
    box-shadow: 0 5px 15px rgba(255, 144, 33, 0.1);
}

.btn-send {
    width: 100%;
    padding: 18px;
    background: linear-gradient(135deg, #ff9021, #ff4d5e);
    border: none;
    border-radius: 50px;
    color: #fff;
    font-weight: 700;
    font-size: 18px;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(255, 77, 94, 0.3);
    transition: 0.3s;
}

.btn-send:hover {
    transform: scale(1.03);
    box-shadow: 0 15px 30px rgba(255, 77, 94, 0.5);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .contact-flex { flex-direction: column; }
    .contact-content h2 { font-size: 2.5rem; text-align: center; }
    .contact-item { width: 100%; margin-left: 0 !important; }
    .glass-form { transform: rotate(0); }
}

/* --- Custom Google Map Layout --- */

.map-container-wrapper {
    max-width: 900px;  /* ให้แผนที่แคบกว่าเนื้อหาด้านบนเล็กน้อยเพื่อให้ดูมีเลเยอร์ */
    margin: 60px auto 0 auto; /* จัดกึ่งกลาง */
}

.map-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    color: var(--lava-pink);
    font-weight: 600;
}

.map-card {
    position: relative;
    border-radius: 40px; /* โค้งมนมากเป็นพิเศษ */
    overflow: hidden;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.1);
    border: 8px solid #fff; /* ขอบขาวหนาๆ เหมือนกรอบรูป */
    transition: transform 0.4s ease;
}

.map-card:hover {
    transform: translateY(-10px) scale(1.01);
}

.map-card iframe {
    filter: grayscale(0.2) contrast(1.1); /* ปรับสีแผนที่ให้เข้ากับโทนเว็บนิดๆ */
}

/* ป้ายบอกตำแหน่งแบบลอย (Floating Label) */
.map-label {
    position: absolute;
    bottom: 30px;
    left: 30px;
    background: rgba(255, 255, 255, 0.95);
    padding: 15px 25px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
    backdrop-filter: blur(10px);
    border: 1px solid var(--lava-orange);
    animation: floating 3s ease-in-out infinite;
}

.map-label strong {
    display: block;
    color: var(--text-dark);
    font-size: 14px;
}

.map-label p {
    margin: 0;
    font-size: 12px;
    color: #666;
}

/* Animation ให้ป้ายลอยขึ้นลงช้าๆ */
@keyframes floating {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

/* เพิ่มจุดเด่นให้ตัวอักษร "เว้นบรรทัด" และ "หัวข้อ" */
.contact-content h2 {
    margin-top: 0; /* แก้ปัญหาเบียด Header */
}

.contact-content p {
    margin-bottom: 40px;
    line-height: 1.8;
}




/* --- อัปเกรดหน้าข่าวสารให้ตรงธีมและอ่านง่าย --- */

.news-section {
    padding: 100px 0;
    background: #ffffff; /* พื้นหลังขาวสะอาดเพื่อให้การ์ดลอยเด่น */
}

/* หัวข้อข่าวสาร */
.news-header h2 {
    font-size: 3rem;
    color: #1a1a1a; /* ปรับสีให้เข้มขึ้นชัดเจน */
    margin-bottom: 50px;
    text-align: center;
}

/* การจัดวาง Grid */
.news-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

/* ปรับแต่งกล่องข่าวสาร (News Card) */
.news-card {
    background: #ffffff;
    border-radius: 35px;
    width: 350px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.05); /* เงาบางๆ พรีเมียม */
    border: 1px solid #f0f0f0;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
}

.news-card::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--lava-gradient); /* เพิ่มแถบสี Gradient ด้านล่างการ์ด */
    opacity: 0;
    transition: 0.3s;
}

.news-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 30px 60px rgba(255, 77, 94, 0.15);
}

.news-card:hover::after {
    opacity: 1;
}

/* พื้นที่รูปภาพ */
.news-image {
    height: 240px;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.news-image i {
    font-size: 4rem;
    color: #dee2e6;
}

/* เนื้อหาข่าว */
.news-body {
    padding: 30px;
}

.news-body .date {
    color: #ff4d5e; /* เปลี่ยนวันที่เป็นสีชมพูตามธีม */
    font-weight: 600;
    font-size: 14px;
    display: block;
    margin-bottom: 12px;
}

.news-body h4 {
    color: #222; /* หัวข้อต้องเข้ม */
    font-size: 1.4rem;
    line-height: 1.4;
    margin-bottom: 15px;
}

.news-body p {
    color: #555; /* เนื้อหาปรับให้เข้มขึ้นจากเดิมที่จาง */
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 25px;
}

/* ปุ่มอ่านเพิ่มเติม */
.btn-read {
    color: #222;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: 0.3s;
}

.btn-read i {
    color: #ff9021;
    transition: 0.3s;
}

.btn-read:hover i {
    transform: translateX(8px);
    color: #ff4d5e;
}
.news-image::before {
    content: "";
    position: absolute;
    width: 100%; height: 100%;
    background: var(--lava-gradient);
    opacity: 0.03; /* ใส่ไว้บางๆ ให้คุมโทน */
}




.terms-section {
    padding: 80px 0;
    background: linear-gradient(to bottom, #fff, #fff5f6);
    margin-top: 180px;
}

.terms-card {
    background: #ffffff;
    border-radius: 40px;
    padding: 60px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.05);
    border: 1px solid #f0f0f0;
    max-width: 900px;
    margin: 0 auto;
}

.terms-header-box {
    text-align: center;
    margin-bottom: 50px;
}

.terms-header-box i {
    font-size: 50px;
    background: linear-gradient(135deg, #ff9021, #ff4d5e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 20px;
}

.terms-header-box h2 {
    font-size: 2.5rem;
    color: #222;
}

.terms-body p {
    color: #444;
    line-height: 1.8;
    margin-bottom: 25px;
}

.highlight-text {
    padding: 20px;
    background: #fff5f6;
    border-left: 5px solid #ff4d5e;
    border-radius: 0 15px 15px 0;
    font-weight: 500;
}

.terms-article {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #eee;
}

.terms-article h4, .terms-sub-section h4, .terms-footer-contact h4 {
    color: #ff4d5e;
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.def-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 15px;
    background: #fcfcfc;
    padding: 20px;
    border-radius: 20px;
}

.def-item {
    font-size: 14px;
    color: #555;
}

.def-item strong {
    color: #222;
}

.terms-body ul {
    padding-left: 20px;
    list-style-type: disc;
}

.terms-body ul li {
    margin-bottom: 10px;
    color: #444;
}

.terms-footer-contact {
    margin-top: 50px;
    background: linear-gradient(135deg, #ff9021, #ff4d5e);
    padding: 40px;
    border-radius: 30px;
    color: white;
}

.terms-footer-contact h4, .terms-footer-contact p, .terms-footer-contact strong {
    color: white;
}

@media (max-width: 768px) {
    .terms-card { padding: 30px; }
    .terms-header-box h2 { font-size: 1.8rem; }
}









/* --- CSS แก้ปัญหาชิดบนและทับเมนู --- */

.legal-container-fixed {
    margin-top: 300px; /* ขยับทั้งแผงลงมาอีก (ปรับเพิ่มจาก 100px เป็น 150px) */
    padding-bottom: 100px;
}

.premium-glass-card {
    background: #ffffff;
    border-radius: 40px;
    padding: 100px 60px 60px; /* เพิ่ม padding บนเพื่อให้เนื้อหาในกล่องไม่ชิดขอบ */
    box-shadow: 0 30px 60px rgba(0,0,0,0.06);
    max-width: 1100px;
    margin: 0 auto;
    border: 1px solid #f2f2f2;
    position: relative;
}

/* ปรับตำแหน่งไอคอนให้เป๊ะ ไม่กระแทกเมนู */
.floating-icon-wrapper {
    position: absolute;
    top: -45px; /* ให้ครึ่งหนึ่งคาบอยู่บนขอบกล่อง */
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.brand-icon-circle {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, #ff9021, #ff4d5e);
    border-radius: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 40px;
    box-shadow: 0 15px 35px rgba(255, 77, 94, 0.3);
}

.header-text-center {
    text-align: center;
    margin-bottom: 60px;
}

.main-title { font-size: 3rem; font-weight: 800; color: #1a1a1a; margin-bottom: 10px; }
.main-title span { color: #ff4d5e; }
.sub-title-main { color: #ff9021; font-weight: 600; font-size: 1.2rem; }

/* จัดการเนื้อหาตัวหนังสือ */
.full-legal-content p, 
.full-legal-content li {
    line-height: 1.5 !important; /* บรรทัดชิดกัน */
    letter-spacing: -0.2px; /* ลดระยะห่างระหว่างตัวอักษรเล็กน้อยให้ดูแน่นขึ้น */
    margin-bottom: 10px !important; /* ลดระยะระหว่างย่อหน้า */
    color: #333;
    text-align: left; /* เปลี่ยนจาก justify เป็น left เพื่อป้องกันเบราว์เซอร์ดึงช่องว่างให้ห่างกัน */
}

.full-legal-content a {
    word-break: break-all; /* ป้องกัน URL ยาวจนดึงบรรทัดให้ห่าง */
}

.full-legal-content h3, 
.full-legal-content h4, 
.full-legal-content h5 {
    line-height: 1.2;
    margin-bottom: 8px !important;
}

.consent-alert-box {
    background: #fff6f6;
    border-left: 6px solid #ff4d5e;
    padding: 30px;
    border-radius: 0 20px 20px 0;
    margin: 40px 0;
    font-weight: 500;
}

.section-label { color: #ff4d5e; font-weight: 700; margin-top: 45px; margin-bottom: 15px; }

.legal-ul {
    padding-left: 20px;
    margin-bottom: 15px;
}

.regulatory-dark-card {
    background: #1a1a1a;
    color: #fff;
    padding: 45px;
    border-radius: 35px;
    margin: 50px 0;
}

.regulatory-dark-card h3 { color: #ff9021; margin-bottom: 25px; }
.regulatory-dark-card a { color: #ff4d5e; text-decoration: none; }

.warning-highlight {
    background: #fee2e2;
    color: #b91c1c;
    padding: 20px;
    border-radius: 12px;
    font-weight: 700;
    margin: 30px 0;
}

.legal-hr { border: none; height: 1px; background: #eee; margin: 50px 0; }

@media (max-width: 768px) {
    .legal-container-fixed { margin-top: 300px; }
    .premium-glass-card { padding: 80px 30px 40px; }
}







/* --- TRUST & GOVERNANCE V6 --- */
.trust-governance-v6 {
    padding: 100px 0;
    background: #fff;
    position: relative;
    overflow: hidden;
    font-family: 'Kanit', sans-serif;
    margin-top: 80px;
}

/* ตกแต่ง Orbs */
.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.15;
    z-index: 0;
}
.orb-gold { width: 500px; height: 500px; background: #ff9021; top: -100px; left: -100px; }
.orb-lava { width: 600px; height: 600px; background: #ff4d5e; bottom: -100px; right: -100px; }

/* Header Layout */
.governance-intro {
    margin-bottom: 100px;
    position: relative;
    z-index: 1;
}
.intro-flex {
    display: flex;
    align-items: center;
    gap: 50px;
}
.intro-content { flex: 1.5; }
.intro-content h1 { font-size: 3.8rem; font-weight: 800; line-height: 1.2; }
.intro-content h1 span { color: #ff4d5e; }
.intro-content p { font-size: 1.2rem; color: #555; margin-top: 20px; line-height: 1.6; }

.intro-visual-circle {
    flex: 1;
    width: 350px;
    height: 350px;
    border-radius: 50%;
    overflow: hidden;
    border: 15px solid #fff5f5;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}
.intro-visual-circle img { width: 100%; height: 100%; object-fit: cover; }

/* Compliance Blocks */
.compliance-block {
    margin-bottom: 80px;
    position: relative;
    z-index: 1;
}
.block-inner {
    display: flex;
    align-items: center;
    gap: 60px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    padding: 40px;
    border-radius: 50px;
    border: 1px solid #eee;
}
.compliance-block.reverse .block-inner { flex-direction: row-reverse; }

.image-area { position: relative; flex: 1; display: flex; justify-content: center; }
.circle-mask {
    width: 280px;
    height: 280px;
    border-radius: 50%;
    overflow: hidden;
    border: 8px solid #fff;
    box-shadow: 0 15px 30px rgba(255, 77, 94, 0.2);
}
.circle-mask img { width: 100%; height: 100%; object-fit: cover; }

.floating-label {
    position: absolute;
    bottom: 10px;
    right: 20px;
    background: #1a1a1a;
    color: #fff;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
}

.text-area { flex: 2; }
.text-area h3 { font-size: 1.8rem; color: #1a1a1a; margin-bottom: 15px; font-weight: 700; }
.text-area p { line-height: 1.5; color: #444; margin-bottom: 15px; }
.text-area a { color: #ff4d5e; font-weight: 600; text-decoration: none; }

.trust-list { list-style: none; padding: 0; }
.trust-list li { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; font-weight: 600; color: #333; }
.trust-list i { color: #ff9021; }

.platform-highlight {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #ff9021, #ff4d5e);
    color: #fff;
    padding: 10px 25px;
    border-radius: 50px;
    font-weight: 700;
    margin: 10px 0 20px;
}

/* Mission Footer */
.mission-footer-card {
    background: #1a1a1a;
    border-radius: 60px;
    padding: 60px;
    color: #fff;
    position: relative;
    overflow: hidden;
    margin-top: 50px;
}
.footer-circle-decor {
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: rgba(255, 77, 94, 0.2);
}

.mission-content h2 { font-size: 2.2rem; color: #ff9021; margin-bottom: 20px; }

.principles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 30px 0;
}
.p-item {
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(255,255,255,0.05);
    padding: 15px 20px;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.1);
}
.p-item i { color: #ff4d5e; font-size: 20px; }

@media (max-width: 992px) {
    .intro-flex, .block-inner { flex-direction: column !important; text-align: center; }
    .intro-content h1 { font-size: 2.8rem; }
    .circle-mask { width: 220px; height: 220px; }
}




/* ปรับขนาดส่วน Intro ให้เล็กลง */
.governance-intro.small-v {
    padding: 40px 0;
    margin-bottom: 50px;
}

.intro-flex {
    display: flex;
    align-items: center;
    gap: 30px;
}

.intro-content {
    flex: 1.2;
}

.intro-content h1 {
    font-size: 2.2rem; /* ลดขนาดหัวข้อ */
    margin-bottom: 15px;
}

.intro-content p {
    font-size: 0.95rem; /* ลดขนาดตัวอักษรเนื้อหา */
    line-height: 1.6;
}

/* ส่วนจัดการรูปภาพใบอนุญาต */
.intro-visual-license {
    flex: 0.8;
    display: flex;
    gap: 15px;
    justify-content: flex-end;
}

.license-mini-card {
    width: 140px; /* กำหนดความกว้างรูปภาพให้เล็กลง */
    height: 190px; /* สัดส่วนแนวตั้งตามใบอนุญาตจริง */
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #eee;
    box-shadow: 0 10px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
    background: #fff;
}

.license-mini-card img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* ให้เห็นใบอนุญาตครบทั้งใบ */
    padding: 5px;
}

.license-mini-card:hover {
    transform: translateY(-5px) scale(1.05);
    border-color: #ff4d5e;
}

/* Responsive สำหรับมือถือ */
@media (max-width: 768px) {
    .intro-flex {
        flex-direction: column;
        text-align: center;
    }
    .intro-visual-license {
        justify-content: center;
        margin-top: 20px;
    }
    .license-mini-card {
        width: 120px;
        height: 165px;
    }
}

/* ใส่ในไฟล์ CSS ของคุณ */
.governance-intro {
    -webkit-user-select: none;  /* Safari */
    -ms-user-select: none;      /* IE 10 and Consumer Preview */
    user-select: none;          /* Standard syntax */
}

/* ป้องกันการลากรูปภาพออกไปวางที่อื่น */
img {
    -webkit-user-drag: none;
    user-drag: none;
}


/* --- CONTRACT STYLING --- */
.contract-section {
    padding: 100px 0;
    background: #f4f7f6;
    position: relative;
    overflow: hidden;
}

/* ป้องกันการคลุมดำข้อความ */
.no-select {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* กล่องสัญญาแบบพรีเมียม */
.contract-container {
    background: #fff;
    padding: 60px;
    border-radius: 4px; /* ทรงเหลี่ยมแบบเอกสารแต่ขอบนุ่ม */
    box-shadow: 0 40px 100px rgba(0,0,0,0.05);
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    border-top: 10px solid #ff4d5e;
}

/* ลายน้ำจางๆ ทับสัญญา */
.contract-watermark {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-45deg);
    font-size: 8rem;
    color: rgba(0,0,0,0.02);
    font-weight: 900;
    white-space: nowrap;
    pointer-events: none;
}

/* การจัดวางคู่สัญญา */
.contract-party-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 40px;
}

.party-box {
    padding: 25px;
    background: #f9fafb;
    border-radius: 15px;
    border: 1px solid #eee;
}

.p-icon {
    font-size: 24px;
    color: #ff9021;
    margin-bottom: 10px;
}

.field-row {
    margin-bottom: 10px;
    font-size: 0.9rem;
    display: flex;
    gap: 10px;
}

.field-line {
    flex: 1;
    border-bottom: 1px dotted #ccc;
}

/* เนื้อหาสัญญา */
.article-box {
    margin-top: 25px;
    padding: 20px;
    border-left: 4px solid #ff4d5e;
    background: #fffafa;
}

.repayment-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
    font-size: 0.85rem;
}

.repayment-table th {
    background: #1a1a1a;
    color: #fff;
    padding: 10px;
}

.repayment-table td {
    border: 1px solid #eee;
    padding: 10px;
    text-align: center;
}

/* ส่วนลงนาม */
.signature-section {
    margin-top: 50px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.sig-line {
    width: 250px;
    border-bottom: 2px solid #1a1a1a;
    margin: 20px 0 10px;
}




/* --- SAFE CONTRACT V8 --- */
.safe-contract-v8 {
    padding: 50px 0;
    background: #f4f4f4;
    margin-top: 100px;
}

.no-select {
    -webkit-user-select: none;
    user-select: none;
}

.contract-card-modern {
    background: #fff;
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    border: 1px solid #ddd;
    box-shadow: 0 10px 40px rgba(0,0,0,0.05);
    border-top: 8px solid #ff4d5e; /* Lava Accent */
}

.contract-inner-content {
    padding: 50px;
    z-index: 2;
    position: relative;
}

.contract-watermark {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%) rotate(-30deg);
    font-size: 6rem;
    font-weight: 900;
    color: rgba(0,0,0,0.02);
    pointer-events: none;
    z-index: 1;
}

.c-header { text-align: center; margin-bottom: 40px; }
.c-badge { display: inline-block; background: #fff5f5; color: #ff4d5e; padding: 5px 15px; border-radius: 50px; font-size: 12px; font-weight: 700; margin-bottom: 10px; }

.contract-grid-parties {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 40px;
}

.c-party-box { background: #fafafa; padding: 20px; border-radius: 10px; font-size: 14px; }
.lava-title { color: #ff9021; margin-bottom: 15px; font-size: 1.1rem; }

.c-section { margin-bottom: 25px; }
.c-section h4 { border-left: 3px solid #ff4d5e; padding-left: 10px; margin-bottom: 10px; color: #1a1a1a; }
.c-section p { font-size: 14px; line-height: 1.6; color: #444; }

.table-responsive { overflow-x: auto; margin: 20px 0; }
.c-table { width: 100%; min-width: 600px; border-collapse: collapse; font-size: 13px; }
.c-table th { background: #1a1a1a; color: #fff; padding: 10px; text-align: left; }
.c-table td { border: 1px solid #eee; padding: 10px; }

.c-signature-area { margin-top: 50px; display: flex; justify-content: flex-end; }
.sig-box { text-align: center; width: 300px; font-size: 14px; }
.sig-line { border-bottom: 1px solid #000; margin: 30px 0 10px; }

/* Responsive */
@media (max-width: 768px) {
    .contract-inner-content { padding: 20px; }
    .contract-grid-parties { grid-template-columns: 1fr; }
    .c-header h1 { font-size: 1.8rem; }
    .c-signature-area { justify-content: center; width: 100%; }
}






:root {
    --lava-main: linear-gradient(135deg, #ff9021 0%, #ff4d5e 100%);
    --dark-gold: #c5a059;
    --deep-black: #111111;
}

.pfc-luxury-section {
    padding: 150px 0;
    background: #fff;
    font-family: 'Kanit', sans-serif;
    overflow: hidden;
}

/* ส่วนหัวแบบ Magazine */
.luxury-header {
    text-align: center;
    margin-bottom: 100px;
}
.lava-line {
    display: block;
    width: 60px;
    height: 4px;
    background: var(--lava-main);
    margin: 0 auto 20px;
}
.company-name-large {
    font-size: 1rem;
    letter-spacing: 5px;
    color: var(--text-muted);
    font-weight: 400;
}
.brand-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-top: 15px;
}
.lava-text {
    background: var(--lava-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* เนื้อหาและบัตรใบอนุญาต */
.luxury-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    align-items: center;
}

.main-desc {
    font-size: 1.25rem;
    line-height: 1.8;
    color: #444;
    margin-bottom: 50px;
}

/* การ์ดใบอนุญาตแบบ Metal Card */
.license-metal-card {
    width: 100%;
    max-width: 450px;
    height: 260px;
    background: var(--deep-black);
    border-radius: 20px;
    padding: 35px;
    color: #fff;
    position: relative;
    box-shadow: 0 30px 60px rgba(0,0,0,0.15);
    transition: transform 0.4s ease;
}
.license-metal-card:hover {
    transform: perspective(1000px) rotateY(-10deg) rotateX(5deg);
}
.status-tag {
    font-size: 0.7rem;
    letter-spacing: 2px;
    background: rgba(255,255,255,0.1);
    padding: 5px 12px;
    border-radius: 4px;
}
.license-label { margin-top: 40px; font-weight: 200; opacity: 0.7; }
.license-number { font-size: 1.8rem; margin: 10px 0 30px; letter-spacing: 2px; }
.verify-trigger {
    color: #ff9021;
    text-decoration: none;
    font-size: 0.9rem;
    border-bottom: 1px solid #ff9021;
}

/* จัดเรียงรูปภาพแบบสถาปัตยกรรม */
.luxury-visuals {
    position: relative;
    height: 600px;
}
.abstract-grid {
    position: relative;
    height: 100%;
}
.grid-item {
    position: absolute;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}
.grid-item img { width: 100%; height: 100%; object-fit: cover; }

.item-office { width: 350px; height: 450px; top: 0; right: 0; z-index: 1; filter: grayscale(100%); transition: 0.5s; }
.item-office:hover { filter: grayscale(0%); }

.item-app { width: 320px; height: 320px; top: 100px; left: 0; z-index: 3; border: 15px solid #fff; }
.item-user { width: 250px; height: 250px; bottom: 0; right: 50px; z-index: 2; }

/* Footer Features */
.luxury-footer-features {
    display: flex;
    justify-content: center;
    gap: 80px;
    margin-top: 100px;
    border-top: 1px solid #eee;
    padding-top: 50px;
}
.feature-item { font-weight: 500; font-size: 1.1rem; color: #888; }
.feature-item span { color: #ff4d5e; margin-right: 15px; font-weight: 800; }

@media (max-width: 992px) {
    .luxury-grid { grid-template-columns: 1fr; gap: 50px; }
    .brand-title { font-size: 2.2rem; }
    .luxury-visuals { height: 450px; }
    .item-office { width: 100%; height: 300px; position: relative; }
    .item-app, .item-user { display: none; }
}


/* --- LAVA VALUES SECTION --- */
.lava-values-section {
    padding: 100px 0;
    background: #fdfdfd;
    position: relative;
}

.values-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 15px;
}

.section-subtitle {
    color: #888;
    font-weight: 300;
}

/* Card Grid Styling */
.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.value-card {
    background: #ffffff;
    padding: 50px 40px;
    border-radius: 30px;
    position: relative;
    overflow: hidden;
    border: 1px solid #eee;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 1;
}

/* ลูกเล่นเรืองแสงในตัวการ์ด */
.card-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,144,33,0.05) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s;
    z-index: -1;
}

.value-card:hover {
    transform: translateY(-15px);
    border-color: #ff4d5e;
    box-shadow: 0 20px 40px rgba(255, 77, 94, 0.1);
}

.value-card:hover .card-glow {
    opacity: 1;
}

/* ตกแต่งตัวเลข 01, 02, 03 */
.card-number {
    font-size: 5rem;
    font-weight: 900;
    color: rgba(0,0,0,0.03);
    position: absolute;
    top: 10px;
    right: 20px;
    line-height: 1;
}

.card-icon {
    font-size: 2.5rem;
    color: #ff4d5e;
    margin-bottom: 25px;
}

.value-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.value-card p {
    color: #666;
    line-height: 1.6;
    font-weight: 300;
}

/* การ์ดสีพิเศษ (Lava Highlight) */
.value-card.active {
    background: #111;
    color: #fff;
    border: none;
}
.value-card.active p { color: #ccc; }
.value-card.active .card-number { color: rgba(255,255,255,0.05); }

/* --- FINAL CTA --- */
.final-cta {
    margin-top: 100px;
    background: linear-gradient(135deg, #ff9021, #ff4d5e);
    border-radius: 40px;
    padding: 60px;
    text-align: center;
    color: #fff;
    box-shadow: 0 25px 50px rgba(255, 77, 94, 0.3);
}

.final-cta h2 {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 30px;
}

.app-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.btn-app {
    background: #fff;
    color: #111;
    text-decoration: none;
    padding: 15px 30px;
    border-radius: 15px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: 0.3s;
}

.btn-app:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

/* Responsive */
@media (max-width: 992px) {
    .values-grid { grid-template-columns: 1fr; }
    .final-cta { padding: 40px 20px; }
    .app-buttons { flex-direction: column; }
}


/* --- APP LOGO IN CTA --- */
.app-logo-wrap {
    margin-bottom: 25px;
    display: flex;
    justify-content: center;
}

.cta-app-logo {
    width: 100px; /* ปรับขนาดตามความเหมาะสม */
    height: 100px;
    border-radius: 22px; /* ความโค้งมนสไตล์ไอคอนแอป */
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2); /* เงาให้โลโก้ดูลอยออกมา */
    background-color: #fff; /* ใส่พื้นหลังขาวหากโลโก้เป็นไฟล์ใส (PNG) */
    padding: 10px; /* เว้นระยะขอบในโลโก้เล็กน้อย */
    transition: transform 0.3s ease;
}

.final-cta:hover .cta-app-logo {
    transform: scale(1.1) rotate(5deg); /* ลูกเล่นเมื่อ Hover ให้โลโก้เด้งและเอียงเล็กน้อย */
}

.cta-subtext {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 30px;
    font-weight: 300;
    font-size: 1.1rem;
}

/* ปรับปรุงปุ่ม Google Play ให้ดูสะอาดตาขึ้น */
.btn-app {
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.btn-app:hover {
    background: transparent;
    border-color: #fff;
    color: #fff;
}






:root {
    --lava-orange: #ff9021;
    --lava-red: #ff4d5e;
    --dark: #1a1a1a;
    --bg-light: #ffffff;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Kanit', sans-serif; background: var(--bg-light); color: var(--dark); overflow-x: hidden; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* Hero Section */
.hero-lava {
    padding: 100px 0;
    position: relative;
    background: radial-gradient(circle at top right, rgba(255,144,33,0.1), transparent);
}

.lava-blob {
    position: absolute;
    width: 500px; height: 500px;
    background: var(--lava-orange);
    filter: blur(150px);
    opacity: 0.1;
    top: -100px; right: -100px;
    z-index: -1;
}

.hero-flex { display: flex; align-items: center; gap: 50px; }
.hero-text { flex: 1; }
.hero-visual { flex: 1; display: flex; justify-content: center; }

h1 { font-size: 3.5rem; font-weight: 800; line-height: 1.2; margin-bottom: 20px; }
.gradient-text { background: linear-gradient(90deg, #ff9021, #ff4d5e); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
p { font-size: 1.1rem; color: #555; line-height: 1.8; margin-bottom: 30px; }

.btn-primary { 
    background: linear-gradient(135deg, #ff9021, #ff4d5e); 
    color: white; padding: 15px 35px; border-radius: 50px; 
    text-decoration: none; font-weight: 600; display: inline-block;
    box-shadow: 0 10px 20px rgba(255, 77, 94, 0.3);
    transition: 0.3s;
}

/* Phone Mockup Animation */
.phone-mockup {
    width: 300px; height: 600px;
    background: #333; border: 12px solid #111;
    border-radius: 40px; overflow: hidden;
    box-shadow: 0 50px 100px rgba(0,0,0,0.1);
    animation: float 6s infinite ease-in-out;
}
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

/* Trust Section */
.trust-section { padding: 80px 0; }
.glass-info-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 77, 94, 0.2);
    padding: 50px; border-radius: 30px; text-align: center;
}
.card-header i { font-size: 3rem; color: #ff4d5e; margin-bottom: 20px; }

/* Grid Features */
.grid-layout { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-top: 50px; }
.feature-item { 
    background: white; padding: 40px; border-radius: 20px; 
    box-shadow: 0 10px 30px rgba(0,0,0,0.05); text-align: center;
    transition: 0.3s;
}
.feature-item:hover { transform: translateY(-10px); border-bottom: 4px solid var(--lava-orange); }

/* Download Footer */
.download-footer { 
    padding: 100px 0; 
    background: #fdfdfd; 
    border-top: 1px solid #eee;
}
.footer-logo { width: 120px; margin-bottom: 30px; border-radius: 20px; }
.google-play-btn img { height: 60px; }

@media (max-width: 992px) {
    .hero-flex { flex-direction: column; text-align: center; }
    .grid-layout { grid-template-columns: 1fr; }
    h1 { font-size: 2.5rem; }
}


.footer-link {
        color: rgba(255, 255, 255, 0.6);
        text-decoration: none;
        font-size: 0.9rem;
        transition: 0.3s;
        display: flex;
        align-items: center;
        gap: 10px;
    }
    .footer-link:hover {
        color: #ff9021;
        padding-left: 5px;
    }
    .footer-link i {
        font-size: 0.8rem;
        opacity: 0.7;
    }


.header-area .main-nav .nav li a {
    font-size: 16px !important; /* ปรับขนาดตามต้องการ */
    font-weight: 500;
}






