.compare-scroll {
    width: 100%;
    overflow-x: auto;
    border: 1px solid #e1e1e1;
    border-radius: 15px;
    background: #ffffff;
    box-shadow: none;
    -webkit-overflow-scrolling: touch;
}

.compare-scroll .cmp {
    width: 100%;
    min-width: 760px;
    margin: 0;
    border: 0;
    border-collapse: separate;
    border-spacing: 0;
    table-layout: fixed;
    background: #ffffff;
}

/* ความกว้างแต่ละคอลัมน์ */
.compare-scroll .cmp th:first-child {
    width: 27%;
}

.compare-scroll .cmp th:nth-child(2),
.compare-scroll .cmp th:nth-child(3) {
    width: 36.5%;
}

/* หัวตาราง */
.compare-scroll .cmp thead th {
    padding: 18px 22px;
    color: #555b65;
    background: #fafafa;
    border: 0;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.5;
    text-align: left;
    vertical-align: middle;
}

.compare-scroll .cmp thead th:not(:first-child) {
    text-align: left;
}

.compare-scroll .cmp thead th:first-child {
    border-top-left-radius: 15px;
}

.compare-scroll .cmp thead th:last-child {
    border-top-right-radius: 15px;
}

/* ช่องข้อมูล */
.compare-scroll .cmp tbody th,
.compare-scroll .cmp tbody td {
    padding: 19px 22px;
    background: #ffffff;
    border: 0;
    border-top: 1px solid #e6e6e6;
    font-size: 15px;
    line-height: 1.55;
    text-align: left;
    vertical-align: middle;
}

/* คอลัมน์ชื่อหัวข้อด้านซ้าย */
.compare-scroll .cmp tbody th {
    color: #111820;
    font-weight: 700;
}

/* คอลัมน์รายละเอียด */
.compare-scroll .cmp tbody td {
    color: #535963;
    font-weight: 400;
}

/* ขอบมนแถวล่าง */
.compare-scroll .cmp tbody tr:last-child th:first-child {
    border-bottom-left-radius: 15px;
}

.compare-scroll .cmp tbody tr:last-child td:last-child {
    border-bottom-right-radius: 15px;
}

/* ข้อความที่มีเครื่องหมายถูก */
.compare-scroll .cmp-check {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #079153;
    font-weight: 700;
}

.compare-scroll .cmp-check svg {
    display: block;
    flex: 0 0 15px;
    width: 15px;
    height: 15px;
    color: #079153;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* ป้องกัน tag font ที่ browser หรือ translator เพิ่มมา */
.compare-scroll font {
    font: inherit;
    color: inherit;
}

/* ข้อความใต้ตาราง */
.plan-note {
    margin: 18px auto 0 !important;
    color: #7a8089;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.6;
    text-align: center;
}

/* Section main */
.new-section {
    width: 100%;
    padding: 72px 0;
    background: #fff;
    color: #171b26;
}

.new-section *,
.new-section *::before,
.new-section *::after {
    box-sizing: border-box;
}

.new-section .new-section__heading {
    max-width: 760px;
    margin: 0 auto 52px;
    text-align: center;
}

.new-section .new-section__eyebrow {
    position: relative;
    display: inline-block;
    margin: 0 0 22px !important;
    color: #ae7900;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
}

.new-section .new-section__eyebrow::after {
    content: "";
    position: absolute;
    bottom: -7px;
    left: 50%;
    width: 38px;
    height: 2px;
    background: #f0c328;
    transform: translateX(-50%);
}

.new-section .new-section__title {
    margin: 0 !important;
    padding: 0 !important;
    color: #171b26;
    font-size: clamp(38px, 4.5vw, 56px);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -1px;
}

.new-section .new-section__subtitle {
    max-width: 690px;
    margin: 20px auto 0 !important;
    color: #50555e;
    font-size: 15px;
    line-height: 1.7;
}

.new-section .new-section__grid {
    display: grid;
    gap: 20px;
}

.new-section .new-section__card-title {
    margin: 0 0 7px !important;
    color: #171b26;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.5;
}

.new-section .new-section__card-description {
    margin: 0 !important;
    color: #4f555f;
    font-size: 14px;
    line-height: 1.75;
}

.new-section .new-section__icon {
    display: flex;
    flex: 0 0 40px;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    overflow: hidden;
    border-radius: 11px;
}

.new-section .new-section__icon img {
    display: block;
    width: 83px;
    height: 83px;
    margin: 0;
    object-fit: contain;
    object-position: center;
}
/* Section main End */
/* Section Problems Solved*/
.new-section.new-section--problems {
    padding-top: 76px;
    padding-bottom: 74px;
}

.new-section--problems .new-section__heading {
    margin-bottom: 50px;
}

.new-section--problems .new-section__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.new-section--problems .new-section__card {
    display: flex;
    align-items: center;
    min-height: 104px;
    padding: 20px;
    background: #fff;
    border: 1px solid #dedede;
    border-radius: 13px;
    box-shadow: 0 4px 10px rgba(18, 26, 39, 0.08);
}

.new-section--problems .new-section__icon {
    margin-right: 16px;
    background: #f9e7e5;
}

.new-section--problems .new-section__card-content {
    min-width: 0;
}
/* Section Problems Solved End*/
/* Section Services*/
.new-section.new-section--services {
    background: #fafafa;
}

.new-section--services .new-section__heading {
    margin-bottom: 46px;
}

.new-section--services .new-section__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.new-section--services .new-section__card {
    min-height: 190px;
    padding: 20px;
    background: #fff;
    border: 1px solid #dedede;
    border-radius: 13px;
    box-shadow: 0 4px 10px rgba(18, 26, 39, 0.08);
}

.new-section--services .new-section__icon {
    margin: 0 0 14px;
    background: #172231;
}

.new-section--services .new-section__icon img {
    width: 22px;
    height: 22px;
}

.new-section--services .new-section__card-description {
    line-height: 1.8;
}
/* Section Services End*/
/* Section Services*/
.new-section.new-section--support {
    padding-top: 76px;
    padding-bottom: 90px;
}

.new-section--support .new-section__heading {
    max-width: 650px;
    margin-bottom: 45px;
}

.new-section--support .new-section__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 50px;
}

.new-section--support .new-section__card {
    padding: 0 10px;
    text-align: center;
}

.new-section--support .new-section__icon {
    margin: 0 auto 12px;
    background: #172231;
}

.new-section--support .new-section__card-title {
    margin-bottom: 8px !important;
}

.new-section--support .new-section__card-description {
    max-width: 330px;
    margin-right: auto !important;
    margin-left: auto !important;
}
/* Section Services End*/
/* Section ISO */
.iso-section {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 64px 0;
    color: #ffffff;
    background-color: #adb5bd;
    background-image:
        radial-gradient(
            circle,
            rgba(255, 255, 255, 0.09) 1px,
            transparent 1.5px
        );
    background-position: 0 0;
    background-size: 22px 22px;
}

.iso-section *,
.iso-section *::before,
.iso-section *::after {
    box-sizing: border-box;
}

.iso-section .iso-section__layout {
    display: grid;
    grid-template-columns: 145px minmax(0, 1fr);
    align-items: center;
    gap: 42px;
    max-width: 900px;
    margin: 0 auto;
}

/* Badge ฝั่งซ้าย */
.iso-section .iso-section__badge-area {
    display: flex;
    align-items: center;
    justify-content: center;
}

.iso-section .iso-section__badge-ring {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 112px;
    height: 112px;
    border: 2px dotted rgba(255, 255, 255, 0.65);
    border-radius: 50%;
}

.iso-section .iso-section__badge-ring::before,
.iso-section .iso-section__badge-ring::after {
    content: "";
    position: absolute;
    border-radius: 50%;
}

.iso-section .iso-section__badge-ring::before {
    inset: 6px;
    border: 1px dotted rgba(255, 255, 255, 0.4);
}

.iso-section .iso-section__badge {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 86px;
    height: 86px;
    color: #151b26;
    background: #ffd33d;
    border-radius: 50%;
    text-align: center;
    box-shadow: 0 5px 15px rgba(3, 20, 60, 0.18);
}

.iso-section .iso-section__badge strong {
    display: block;
    margin: 0;
    font-family: Arial, sans-serif;
    font-size: 17px;
    font-weight: 800;
    line-height: 1.1;
}

.iso-section .iso-section__badge span {
    display: block;
    margin-top: 5px;
    font-family: Arial, sans-serif;
    font-size: 7px;
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* เนื้อหาฝั่งขวา */
.iso-section .iso-section__content {
    min-width: 0;
}

.iso-section .iso-section__eyebrow {
    margin: 0 0 8px !important;
    color: #ffd536;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.5;
}

.iso-section .iso-section__title {
    margin: 0 0 17px !important;
    padding: 0 !important;
    color: #ffffff;
    font-size: clamp(28px, 3.2vw, 42px);
    font-weight: 800;
    line-height: 1.18;
    letter-spacing: -0.5px;
}

.iso-section .iso-section__description {
    max-width: 680px;
    color: rgba(255, 255, 255, 0.92);
    font-size: 16px;
    font-weight: 500;
    line-height: 1.75;
}

/* ลบ margin จาก tag ที่มาจาก Rich Text Editor */
.iso-section .iso-section__description p {
    margin: 0 0 8px;
    color: inherit;
    font: inherit;
}

.iso-section .iso-section__description p:last-child {
    margin-bottom: 0;
}

.iso-section .iso-section__description strong {
    color: #ffffff;
    font-weight: 700;
}

/* รายการเครื่องหมายถูก */
.iso-section .iso-section__features {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 23px 0 0;
    padding: 0;
    list-style: none;
}

.iso-section .iso-section__features li {
    display: flex;
    align-items: flex-start;
    gap: 13px;
    margin: 0;
    padding: 0;
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.55;
}

.iso-section .iso-section__check {
    display: inline-flex;
    flex: 0 0 16px;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 22px;
    color: #ffd536;
    font-family: Arial, sans-serif;
    font-size: 20px;
    font-weight: 700;
    line-height: 1;
}
/* Section ISO END*/

/* menu guide line */
/* =====================================
   Service Sub Navigation
   ===================================== */

.service-subnav {
    position: static !important;
    top: auto !important;
    z-index: auto;
    display: block;
    width: 100%;
    margin: 0;
    padding: 0;
    overflow: visible;
    background-color: #f0f3f9;
    border: 0;
}

/* พื้นที่ด้านใน */
.service-subnav .service-subnav__inner {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 1200px;
    min-height: 62px;
    margin: 0 auto;
    padding: 0 20px;
}

/* รายการเมนู */
.service-subnav .service-subnav__list {
    display: flex !important;
    flex-direction: row !important;
    align-items: center;
    justify-content: center;
    flex-wrap: nowrap;
    gap: 30px;
    width: auto;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

/* ลบ bullet จาก CSS ของธีมเดิม */
.service-subnav .service-subnav__item {
    display: block;
    flex: 0 0 auto;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

.service-subnav .service-subnav__item::before,
.service-subnav .service-subnav__item::after {
    display: none !important;
    content: none !important;
}

/* ลิงก์ */
.service-subnav .service-subnav__link {
    position: relative;
    display: block;
    margin: 0;
    padding: 20px 0;
    color: #626262 !important;
    background: transparent !important;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.4;
    text-decoration: none !important;
    white-space: nowrap;
    transition: color 0.2s ease;
}

/* Hover และเมนูที่กำลัง Active */
.service-subnav .service-subnav__link:hover,
.service-subnav .service-subnav__link:focus,
.service-subnav .service-subnav__link.is-active {
    color: #fbd142 !important;
    text-decoration: none !important;
}

/* เส้นใต้ตอน Hover/Active */
.service-subnav .service-subnav__link::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 13px;
    left: 0;
    height: 2px;
    background-color: #fbd142;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.2s ease;
}

.service-subnav .service-subnav__link:hover::after,
.service-subnav .service-subnav__link:focus::after,
.service-subnav .service-subnav__link.is-active::after {
    transform: scaleX(1);
}

/* เลื่อนไปหา Section แบบนุ่มนวล */
html {
    scroll-behavior: smooth;
}

/* ถ้าเมนูหลักเป็น fixed ให้ใช้ 90px
   ถ้าเมนูหลักไม่ fixed เปลี่ยนเป็น 15px */
#problems-solved,
#services,
#enterprise-community,
#support {
    scroll-margin-top: 90px;
}

/* =====================================
   Tablet / Mobile
   ===================================== */

@media (max-width: 767px) {
    .service-subnav {
        overflow-x: auto;
        overflow-y: hidden;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }

    .service-subnav::-webkit-scrollbar {
        display: none;
    }

    .service-subnav .service-subnav__inner {
        justify-content: flex-start;
        width: max-content;
        min-width: 100%;
        min-height: 54px;
        padding: 0 18px;
    }

    .service-subnav .service-subnav__list {
        justify-content: flex-start;
        gap: 24px;
    }

    .service-subnav .service-subnav__link {
        padding: 16px 0;
        font-size: 14px;
    }

    .service-subnav .service-subnav__link::after {
        bottom: 10px;
    }

    #problems-solved,
    #services,
    #enterprise-community,
    #support {
        scroll-margin-top: 70px;
    }
    .custom-contact-section{
        min-width: 300px !important;
    }
}
/*guieline end */

/* contact us*/
/* =====================================
   Contact CTA
   ===================================== */

.contact-cta {
    width: 100%;
    padding: 74px 0;
    background-color: #f8f8f8;
    color: #171b26;
}

.contact-cta *,
.contact-cta *::before,
.contact-cta *::after {
    box-sizing: border-box;
}

.contact-cta .contact-cta__panel {
    width: 100%;
    max-width: 1115px;
    margin: 0 auto;
    padding: 54px 70px 52px;
    background-color: #ffffff;
    border: 1px solid #e2e2e2;
    border-radius: 20px;
    box-shadow: 0 8px 18px rgba(17, 27, 40, 0.08);
}

/* Heading */
.contact-cta .contact-cta__heading {
    max-width: 780px;
    margin: 0 auto 40px;
    text-align: center;
}

.contact-cta .contact-cta__eyebrow {
    position: relative;
    display: inline-block;
    margin: 0 0 24px !important;
    color: #af7b00;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.5;
}

.contact-cta .contact-cta__eyebrow::after {
    content: "";
    position: absolute;
    bottom: -7px;
    left: 50%;
    width: 40px;
    height: 2px;
    background-color: #f1c52d;
    transform: translateX(-50%);
}

.contact-cta .contact-cta__title {
    margin: 0 !important;
    padding: 0 !important;
    color: #111820;
    font-size: clamp(28px, 3vw, 38px);
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: -0.5px;
}

.contact-cta .contact-cta__subtitle {
    max-width: 600px;
    margin: 18px auto 0 !important;
    color: #656b74;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.75;
}

/* Company */
.contact-cta .contact-cta__company + .contact-cta__company {
    margin-top: 32px;
    padding-top: 32px;
    border-top: 1px solid #e5e5e5;
}

.contact-cta .contact-cta__company-name {
    margin: 0 0 20px !important;
    color: #171b26;
    font-size: 18px;
    font-weight: 700;
    text-align: center;
}

/* Cards */
.contact-cta .contact-cta__cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 22px;
    max-width: 760px;
    margin: 0 auto;
}

.contact-cta .contact-cta__card {
    display: flex;
    flex: 1 1 220px;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    min-width: 0;
    max-width: 250px;
    min-height: 224px;
    margin: 0;
    padding: 28px 20px;
    background-color: #fafafa;
    border: 1px solid #dedede;
    border-radius: 15px;
    text-align: center;
}

.contact-cta .contact-cta__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    margin-bottom: 17px;
    color: #ffd12e;
    background-color: #172231;
    border-radius: 12px;
}

.contact-cta .contact-cta__icon i {
    display: block;
    margin: 0;
    color: inherit;
    font-size: 22px;
    line-height: 1;
}

.contact-cta .contact-cta__label {
    margin: 0 0 15px !important;
    color: #8a8d92;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.5;
}

.contact-cta .contact-cta__value {
    color: #101820 !important;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.5;
    text-decoration: none !important;
    overflow-wrap: anywhere;
}

.contact-cta .contact-cta__value:hover {
    color: #1749aa !important;
}

/* LINE */
.contact-cta .contact-cta__card--line {
    padding-top: 33px;
}

.contact-cta .contact-cta__card--line .contact-cta__label {
    margin-bottom: 14px !important;
}

.contact-cta .contact-cta__qr {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 130px;
    height: 130px;
    padding: 7px;
    overflow: hidden;
    background-color: #ffffff;
    border: 2px dashed #e4e4e4;
    border-radius: 12px;
}

.contact-cta .contact-cta__qr img {
    display: block;
    width: 100%;
    height: 100%;
    margin: 0;
    object-fit: contain;
}

.contact-cta .contact-cta__qr--empty {
    background-color: #ffffff;
}

.contact-cta .contact-cta__line-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 9px 18px;
    color: #ffffff !important;
    background-color: #06c755;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none !important;
}
/* contact us end*/

/* Section Responsive */
@media (max-width: 991px) {
    .new-section--services .new-section__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .new-section--support .new-section__grid {
        gap: 25px;
    }
    .contact-cta {
        padding: 55px 0;
    }

    .contact-cta .contact-cta__panel {
        padding: 48px 35px;
    }
}

@media (max-width: 767px) {
    .new-section {
        padding: 52px 0;
    }

    .new-section .new-section__heading {
        margin-bottom: 36px;
    }

    .new-section .new-section__title {
        font-size: 34px;
        letter-spacing: -0.5px;
    }

    .new-section--problems .new-section__grid,
    .new-section--services .new-section__grid,
    .new-section--support .new-section__grid {
        grid-template-columns: 1fr;
    }

    .new-section--support .new-section__grid {
        gap: 38px;
    }

    .new-section--services .new-section__card {
        min-height: auto;
    }
    .iso-section {
        padding: 48px 0;
    }

    .iso-section .iso-section__layout {
        grid-template-columns: 1fr;
        gap: 28px;
        padding: 0 4px;
        text-align: center;
    }

    .iso-section .iso-section__badge-ring {
        width: 104px;
        height: 104px;
    }

    .iso-section .iso-section__badge {
        width: 80px;
        height: 80px;
    }

    .iso-section .iso-section__title {
        font-size: 31px;
    }

    .iso-section .iso-section__description {
        margin-right: auto;
        margin-left: auto;
        font-size: 15px;
    }

    .iso-section .iso-section__features {
        display: inline-flex;
        max-width: 540px;
        text-align: left;
    }

    .iso-section .iso-section__features li {
        font-size: 15px;
    }
    .contact-cta {
        padding: 40px 0;
    }

    .contact-cta .contact-cta__panel {
        padding: 40px 20px;
        border-radius: 16px;
    }

    .contact-cta .contact-cta__heading {
        margin-bottom: 32px;
    }

    .contact-cta .contact-cta__title {
        font-size: 29px;
    }

    .contact-cta .contact-cta__subtitle {
        font-size: 14px;
    }

    .contact-cta .contact-cta__cards {
        display: grid;
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .contact-cta .contact-cta__card {
        width: 100%;
        max-width: none;
        min-height: 200px;
    }
}

@media (max-width: 480px) {
    .new-section .new-section__title {
        font-size: 30px;
    }

    .new-section--problems .new-section__card {
        align-items: flex-start;
        padding: 17px;
    }
    .contact-cta .contact-cta__panel {
        padding-right: 15px;
        padding-left: 15px;
    }

    .contact-cta .contact-cta__title {
        font-size: 26px;
    }
}
/* Section Responsive End*/