@import url(./reset.css);

:root {
    --font-family: "Kanit", sans-serif;
    --line-height-base: 1.6;
    --font-100: #191821;
    --font-90: #2d2c3c;
    --body-light: #494856;
    --background-color: #fff;
    --font-400: #958a84;

    --space: 4.86vw;
    --space-120: 8.33vw;
    --space-100: 6.94vw;
    --space-80: 5.56vw;
    --space-60: 4.17vw;
    --space-50: 3.47vw;
    --space-40: 2.78vw;
    --space-35: 2.43vw;
    --space-30: 2.08vw;
    --space-24: 1.67vw;
    --space-20: 20px;
    --space-16: 16px;

    /* Font sizes */
    --fs-h1: 50px;
    /* 3.47vw @1440 ≈ 50px */
    --fs-h2: 42px;
    /* 2.92vw @1440 ≈ 42px */
    --fs-h3: 32px;
    /* 2.22vw @1440 ≈ 32px */
    --fs-h4: 24px;
    /* 1.67vw @1440 ≈ 24px */
    --fs-h5: 20px;
    /* 1.39vw @1440 ≈ 20px */
    --fs-h6: 18px;
    /* 1.25vw @1440 ≈ 18px */
    --fs-small: 15px;
    /* 1.04vw @1440 ≈ 15px */
    --fs-small-12: 12px;
    /* 0.83vw @1440 ≈ 12px */

    --font-size-base: 16px;
    /* 1.11vw @1440 ≈ 16px */
    --logo-size: 42px;
    /* 2.92vw @1440 ≈ 42px */
    --link-size: 16px;
    /* 1.11vw @1440 ≈ 16px */
    --copy-size: 15px;
    /* 1.04vw @1440 ≈ 15px */

    --icon-space-48: 48px;
    /* Header */
    --gap: 28px;
    --bar-h: 64px;
    /* mobile bar height */
    --top-h: 80px;
    /* desktop top row height */
    --top-h-compact: 66px;
    /* desktop shrink when scrolled */
    --bg-dark: transparent;
    /* initial transparent */
    --bg-white: #ffffff;
    /* scrolled bg */
    --text-light: #ffffff;
    --text-dark: #121417;
    --muted: #a7acb4;
    --line: rgba(0, 0, 0, 0.08);

    --footer-bg: url("../image/skin/bg-footer-d.jpg");
    /* <-- เปลี่ยนเป็นรูปของคุณ */
    --footer-pad-x: 24px;
    --footer-pad-y: 28px;
    --footer-maxw: 1280px;

    --footer-text: #1a1f24;
    --footer-muted: #6a7178;
    --footer-sep: rgba(26, 31, 36, 0.35);

    /* pagination */
    --c-text: #2b2e31;
    --c-muted: #d7d8d6;
    --c-btn-outline: #d9d9d7;
    --c-btn-fill: #f2f2f1;
    --btn-size: 64px;
    /* ขนาดปุ่ม */
    --gap-xl: 56px;
    /* ระยะห่าง counter ↔ controls */
    --gap-md: 28px;
    /* ระยะห่างปุ่ม */
    --font-size-num: 32px;
    --slash-len: 56px;
    /* ความยาวเส้นเฉียง */

    /* Accordion */
    --acc-title: #0e322d;
    /* สีหัวข้อ */
    --acc-muted: #dcdedb;
    /* สีเส้นคั่น + ขอบปุ่ม */
    --acc-ico-bg: #f1f1ef;
    /* พื้นหลังวงกลมไอคอน */
    --acc-text: #3b3f43;
    --acc-gap-y: 18px;
    --acc-ico-size: 40px;
    --acc-line-len: 16px;
    /* ความยาวขีด */
}

@media (min-width: 1440px) {
    :root {
        --fs-h1: 3.47vw;
        --fs-h2: 2.92vw;
        --fs-h3: 2.22vw;
        --fs-h4: 1.67vw;
        --fs-h5: 1.39vw;
        --fs-h6: 1.25vw;
        --fs-small: 1.04vw;
        --fs-small-12: 0.83vw;

        --font-size-base: 1.11vw;
        --logo-size: 2.92vw;
        --link-size: 1.11vw;
        --copy-size: 1.04vw;
        --space-16: 1.11vw;
        --icon-space-48: 3.33vw;
    }
}

@media (max-width: 992px) {}

body {
    font-family: var(--font-family);
    font-size: var(--font-size-base);
    color: var(--body-light);
    background-color: #fff;
    line-height: var(--line-height-base);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.preload {
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: fixed;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #8fa7b5;
    z-index: 9999;
}

.inner-preload {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 16px;
    color: #fff;
}

.inner-preload svg {
    width: 100px;
    height: 72px;
    margin-top: -30px;
    display: inline-block;
}

#L4 circle {
    fill: #fff;
}

/* Link */
a {
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 16px;
    cursor: pointer;
}

a svg {
    transition: fill 0.3s ease;
}

a:hover {
    color: var(--primary-color);
}

a:hover svg {
    fill: var(--primary-color);
}

/* Text */
h1,
.h1 {
    font-size: var(--fs-h1);
    line-height: 1.2;
}

h2,
.h2 {
    font-size: var(--fs-h2);
    line-height: 1.2;
}

h3,
.h3 {
    font-size: var(--fs-h3);
    line-height: 1.2;
}

h4,
.h4 {
    font-size: var(--fs-h4);
    line-height: 1.2;
}

h5,
.h5 {
    font-size: var(--fs-h5);
    line-height: 1.2;
}

h6,
.h6 {
    font-size: var(--fs-h6);
    line-height: 1.2;
}
.fs-body{
    font-size: var(--font-size-base);
}

small,
.small {
    font-size: var(--fs-small);
}

.small-12 {
    font-size: var(--fs-small-12);
}

.font-100 {
    color: var(--font-100);
}

.font-90 {
    color: var(--font-90);
}

.font-80 {
    color: var(--body-light);
}

.font-400 {
    color: var(--font-400);
}

.fill-100 {
    fill: var(--font-100);
}

.fill-90 {
    fill: var(--font-90);
}

.fill-80 {
    fill: var(--body-light);
}

.fill-400 {
    fill: var(--font-400);
}

.font-bold,
b,
strong {
    font-weight: 600;
}

.font-medium {
    font-weight: 500;
}

.font-regular {
    font-weight: 400;
}

.font-light {
    font-weight: 300;
}

.laterr-spacing {
    letter-spacing: 0.1em;
}

/* Container */

.outer {
    width: 100%;
    margin: 0 auto;
    padding: 0 2.78vw;
}

.outer-xl {
    padding: 0 var(--space-100);
}

.inner {
    width: 100%;
}

.inner-xl {
    padding-left: 10.56vw;
}

.inner-sm {
    padding-left: var(--space-50);
}

/* Space */

.pd {
    padding-top: var(--space);
    padding-bottom: var(--space);
}

.pt-24 {
    padding-top: var(--space-24);
}

.pb-24 {
    padding-bottom: var(--space-24);
}

.pt-30 {
    padding-top: var(--space-30);
}

.pb-30 {
    padding-bottom: var(--space-30);
}

.pt-35 {
    padding-top: var(--space-35);
}

.pb-35 {
    padding-bottom: var(--space-35);
}

.pt-40 {
    padding-top: var(--space-40);
}

.pt-100 {
    padding-top: var(--space-100);
}

.pt-120 {
    padding-top: var(--space-120);
}

.pb-40 {
    padding-bottom: var(--space-40);
}

.pt-50 {
    padding-top: var(--space-50);
}

.pb-50 {
    padding-bottom: var(--space-50);
}

.pt-60 {
    padding-top: var(--space-60);
}

.pb-60 {
    padding-bottom: var(--space-60);
}

.pt-80 {
    padding-top: var(--space-80);
}

.pb-80 {
    padding-bottom: var(--space-80);
}

.pd-100 {
    padding-bottom: var(--space-100);
}

.mt {
    margin-top: var(--space);
    margin-bottom: var(--space);
}

.mt-24 {
    margin-top: var(--space-24);
}

.mb-24 {
    margin-bottom: var(--space-24);
}

.mt-30 {
    margin-top: var(--space-30);
}

.mb-30 {
    margin-bottom: var(--space-30);
}

.mt-35 {
    margin-top: var(--space-35);
}

.mb-35 {
    margin-bottom: var(--space-35);
}

.mt-40 {
    margin-top: var(--space-40);
}

.mb-40 {
    margin-bottom: var(--space-40);
}

.mt-50 {
    margin-top: var(--space-50);
}

.mb-50 {
    margin-bottom: var(--space-50);
}

.mt-60 {
    margin-top: var(--space-60);
}

.mb-60 {
    margin-bottom: var(--space-60);
}

.mt-80 {
    margin-top: var(--space-80);
}

.mb-80 {
    margin-bottom: var(--space-80);
}

.gap-24 {
    gap: var(--space-24);
}

.gap-30 {
    gap: var(--space-30);
}

.gap-40 {
    gap: var(--space-40);
}

.gap-50 {
    gap: var(--space-50);
}

.gap-60 {
    gap: var(--space-60);
}

.gap-80 {
    gap: var(--space-80);
}

.gap-100 {
    gap: var(--space-100);
}

/* Test Verticle */
.outer-text-verticle {
    display: flex;
    align-items: flex-end;
}

.vertical-text {
    transform: rotate(-90deg);
    transform-origin: left top;
    display: inline-block;
    width: 2.92vw;
    white-space: nowrap;
    position: relative;
    bottom: calc(var(--space) - 30px);
}

/* ===== Top Row (desktop) ===== */
/* ===== header wrapper ===== */
.site-header {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 1000;
    background: var(--bg-dark);
    transition: background 0.28s ease, box-shadow 0.28s ease, transform 0.32s ease;
    will-change: transform, background;
}

.site-header.header--hidden {
    transform: translateY(-100%);
}

.site-header.header--scrolled {
    background: var(--bg-white);
    box-shadow: 0 8px 28px rgba(16, 24, 40, 0.08);
}

.header--scrolled .logo .logo-dark {
    display: block;
}

.header--scrolled .logo .logo-light {
    display: none;
}

.site-header.header--top .logo .logo-dark {
    display: none;
}

.site-header.header--top .logo .logo-light {
    display: block;
}

.site-header.header--top {
    background: var(--bg-dark);
    box-shadow: none;
}

/* ===== desktop row ===== */
.top-row {
    height: var(--top-h);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 var(--space);
    transition: height 0.28s ease;
}

.site-header.header--scrolled .top-row {
    height: var(--top-h-compact);
}

.logo {
    font-weight: 600;
    letter-spacing: 0.08em;
}

.nav-desktop {
    display: flex;
    align-items: center;
    gap: var(--gap);
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 16px;
}

/* จุดคั่น • */
.nav-desktop>li+li {
    position: relative;
    padding-left: 18px;
}

.header--top .nav-desktop>li+li::before {
    color: #fff;
}

.nav-desktop>li+li::before {
    content: "•";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    color: var(--font-90);
}

.site-header.header--top .nav-desktop a,
.site-header.header--top .logo {
    color: var(--text-light);
}

.site-header.header--scrolled .nav-desktop a,
.site-header.header--scrolled .logo {
    color: var(--text-dark);
}

.nav-desktop a {
    padding: 8px 2px;
    transition: opacity 0.2s ease;
}

.nav-desktop a:hover {
    opacity: 0.85;
}

/* ===== mobile bar ===== */
.bottom-bar {
    display: none;
    height: var(--bar-h);
    padding: 0 16px;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid var(--line);
}

.site-header.header--top .bottom-bar .logo {
    color: var(--text-light);
}

.site-header.header--scrolled .bottom-bar .logo {
    color: var(--text-dark);
}

.hamburger {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: none;
    background: transparent;
    color: #f4f3f2;
    /* ใช้ currentColor */
}

.hamburger .icon {
    display: block;
}

.hamburger .icon-close {
    display: none;
}

.hamburger .icon-open svg {
    fill: #fff;
}

.hamburger.active .icon-open svg,
.header--scrolled .hamburger .icon-open svg {
    fill: var(--font-100) !important;
}

/* เมื่อ active -> ซ่อน hamburger, โชว์ close */
.hamburger.active .icon-open {
    display: none;
}

.hamburger.active .icon-close {
    display: block;
}

.active .hamburger .icon-close svg,
.header--scrolled .hamburger .icon-close svg {
    fill: var(--font-100) !important;
}

.mobile-panel {
    position: fixed;
    right: 0;
    top: 0;
    width: 100%;
    height: 100vh;
    background: var(--bg-white);
    color: var(--text-dark);
    border-top: 1px solid var(--line);

    /* off-canvas */
    transform: translateX(100%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.35s ease, opacity 0.25s ease;
    z-index: 999;
    overflow-y: auto;
}

/* เปิดเมนู */
.mobile-panel.open {
    transform: translateX(0);
    opacity: 1;
    pointer-events: auto;
}

.mobile-panel .nav {
    list-style: none;
    margin: 0;
    padding: 8px 12px 16px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.mobile-panel .nav a {
    display: block;
    padding: 12px;
    border-radius: 10px;
    color: var(--text-dark);
}

.mobile-panel .nav a:hover {
    background: rgba(15, 17, 20, 0.05);
}

.site-header.active .bottom-bar {
    background-color: #fff;
}

.site-header.active .bottom-bar .logo {
    color: var(--font-90) !important;
}

/* ===== Footer base ===== */
.site-footer {
    color: var(--footer-text);
    background-image: var(--footer-bg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.site-footer .footer-inner {
    max-width: var(--footer-maxw);
    margin: 0 auto;
    padding: var(--footer-pad-y) var(--footer-pad-x);

    display: grid;
    grid-template-columns: 1fr;
    grid-template-areas:
        "brand"
        "nav"
        "divider"
        "copy";
    row-gap: 16px;
}

/* ===== Brand / Logo ===== */
.footer-brand {
    grid-area: brand;
}

.site-footer .logo {
    font-size: var(--logo-size);
    font-weight: 700;
    letter-spacing: 0.06em;
    text-decoration: none;
    color: inherit;
}

/* ===== Nav ===== */
.footer-nav {
    grid-area: nav;
}

.footer-nav .nav {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 10px;
    /* mobile: เรียงลง */
}

.footer-nav,
.footer-copy {
    font-size: 16px;
}

.footer-nav a {
    color: var(--footer-text);
    text-decoration: none;
    letter-spacing: 0.03em;
}

.footer-nav a:hover {
    opacity: 0.8;
}

/* ===== Divider ===== */
.footer-divider {
    grid-area: divider;
    border: none;
    border-top: 1px solid var(--footer-sep);
}

/* ===== Copy ===== */
.footer-copy {
    grid-area: copy;
    color: var(--footer-muted);
}

.hero-banner {}

.hero-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center bottom;
    min-height: 800px;
    max-height: 100vh;
}

.hero-banner-contact img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center bottom;
    min-height: 700px;
    max-height: 100vh;
}

.hero-banner .swiper-pagination {
    width: auto !important;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    padding: 16px;
    gap: 8px;
    margin: 0 auto;
    width: 90px;
    height: 38px;
    background: rgba(153, 146, 140, 0.2);
    background-blend-mode: multiply;
    box-shadow: 0px 0px 3px rgba(27, 40, 57, 0.2);
    border-radius: 100px;
    flex: none;
    order: 2;
    flex-grow: 0;
    z-index: 2;
    left: 50% !important;
    transform: translateX(-50%);
    margin: 0;
    bottom: var(--space-24);
}

.hero-banner .swiper-pagination span.swiper-pagination-bullet {
    background: #fff;
    opacity: 1;
    width: 6px;
    height: 6px;
}

.hero-banner .swiper-pagination span.swiper-pagination-bullet.swiper-pagination-bullet-active {
    background: var(--font-400);
    width: 16px;
    height: 6px;
    border-radius: 50%;
    border-radius: 100px;
}

.link-circle-arrow {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 12px;
    width: var(--icon-space-48);
    max-width: var(--icon-space-48);
    height: var(--icon-space-48);
    max-height: var(--icon-space-48);
    background: #e7e2de;
    box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.1);
    border-radius: 999px;
    flex: none;
    flex-grow: 0;
    transition: all 0.3s ease;
}

.link-circle-arrow:hover {
    background: #c5c2c0;
}

.link-circle-arrow svg {
    width: var(--space-16);
    height: var(--space-16);
}

.link-circle-arrow-abs {
    bottom: 12px;
    right: 12px;
}

.flex-mosaic {
    display: flex;
    gap: 16px;
}

.flex-mosaic .left {
    flex: 3;
}

.flex-mosaic .right {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.flex-mosaic img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.flex-mosaic .right>figure {
    flex: 1;
}

/* แบ่งสูงเท่ากันทันที */

.btn-icon span {
    display: flex;
    gap: 10px;
    align-items: center;
}

.card-img-top {
    display: block;
}

.slider-ui {
    display: flex;
    align-items: center;
    gap: var(--gap-xl);
    font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto,
        Arial;
}

/* counter 01 / 05 */
.counter {
    display: flex;
    align-items: center;
    gap: 28px;
}

.counter .current {
    color: var(--c-text);
    font-size: var(--font-size-num);
    font-weight: 700;
    letter-spacing: 0.06em;
}

.counter .total {
    color: #cfcfcf;
    font-size: var(--font-size-num);
    font-weight: 700;
    letter-spacing: 0.06em;
    opacity: 0.9;
}

/* เส้นเฉียง */
.counter .slash {
    width: var(--slash-len);
    height: 2px;
    background: var(--c-muted);
    display: inline-block;
    transform: rotate(45deg);
}

/* controls */
.controls {
    display: flex;
    align-items: center;
    gap: var(--gap-md);
}

/* ปุ่มพื้นฐาน */
.controls .btn {
    width: var(--btn-size);
    height: var(--btn-size);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #15171a;
    transition: transform 0.15s ease, background 0.2s ease, box-shadow 0.2s ease,
        border-color 0.2s ease;
}

/* วงกลมเส้นรอบ */
.controls .btn-outline {
    background: transparent;
    border: 2px solid var(--c-btn-outline);
}

.controls .btn-outline:hover {
    border-color: #c9c9c7;
    transform: translateY(-1px);
}

/* วงกลมพื้นเทาอ่อน */
.controls .btn-filled {
    background: var(--c-btn-fill);
    border: 2px solid var(--c-btn-fill);
}

.controls .btn-filled:hover {
    background: #eaeae9;
    border-color: #eaeae9;
    transform: translateY(-1px);
}

.tag {
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 6px 12px;
    position: absolute;
    background: #e7e2de;
    border-radius: 100px;
    text-transform: uppercase;
    bottom: 16px;
    right: 13px;
    font-size: var(--fs-small-12);
}

.card .card-img-top {
    transition: transform 0.5s ease;
}

.card .card-img-top:hover {
    transform: scale(1.05);
}

.banner-abs {
    position: absolute;
    top: 70px;
    left: 0;
}

.box-form {
    width: 100%;
    margin: 0 auto;
    background: #e7e2de;
    border-radius: 8px;
}

.box-form form {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 48px;
    gap: 32px;
    width: 100%;
}

.box-form input,
.box-form textarea {
    box-sizing: border-box;
    padding: 18px 24px;
    gap: 10px;
    border: 1px solid #919095;
    border-radius: 8px;
    background-color: transparent;
    box-shadow: none;
}

.box-form input:focus,
.box-form textarea:focus {
    outline: none !important;
    box-shadow: none !important;
    /* ตัด glow */
    border-color: var(--bs-border-color, #ced4da) !important;
    /* กลับเป็นสีเดิม */
}

.btn-clr-primary {
    background: #f4f3f2;
    border-radius: 100px;
    font-size: var(--font-size-base);
    padding: var(--space-20) var(--space-40);
}

.btn-clr-primary:hover {
    background: #e0dfdd;
    color: var(--font-100);
}

.faq-accordion {
    margin: 0 auto;
}

/* เส้นคั่น */
.acc-item {
    padding: 48px 0;
    border-bottom: 1px solid var(--acc-muted);
    margin-bottom: 16px;
}

/* หัวข้อ */
.acc-head {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    background: none;
    border: 0;
    padding: 0;
    cursor: pointer;
    text-align: left;
}

.acc-title {
    margin: 0;
    font-size: var(--fs-h4);
    color: var(--acc-title);
}

/* ไอคอน +/− : วงกลมอ่อน + เส้นเดียวซ้ำ 2 อัน */
.acc-ico {
    flex: 0 0 auto;
    position: relative;
    width: var(--icon-space-48);
    height: var(--icon-space-48);
    border-radius: 50%;
    background: var(--acc-ico-bg);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.acc-ico svg {
    width: var(--space-16);
    height: var(--space-16);
}

.acc-ico .line {
    width: var(--acc-line-len);
    height: 2px;
    color: #222;
    transition: opacity 0.18s ease, transform 0.18s ease;
}

.acc-ico .line.v {
    transform: rotate(90deg);
}

/* ทำให้เป็นเครื่องหมาย + */
.acc-item.is-open .acc-ico .line.v {
    opacity: 0;
    transform: rotate(90deg) scale(0.6);
}

/* เหลือ − */

/* เนื้อหา */
.acc-panel {
    display: none;
    margin-top: 10px;
}

/* แตะ/โฟกัส */
.acc-head:focus-visible {
    outline: 2px solid #9ad5c8;
    outline-offset: 2px;
}

.acc-item .minus {
    display: none;
}

.acc-item.is-open .plus {
    display: none;
}

.acc-item.is-open .minus {
    display: block;
}

.gallery {
    display: grid;
    grid-template-columns: 2fr 1fr;
    /* ซ้ายใหญ่ + ขวาเล็ก */
    gap: 10px;
}

.gallery .main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery .side {
    display: grid;
    grid-template-rows: repeat(3, 1fr);
    gap: 10px;
}

.gallery .side img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.outer-text-verticle-social{
    max-height: 100vh;
    position: sticky;
    top: 0;
    left: 0;
}

.circle-btn-social{
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: #FFFFFF;
    border: 1px solid #E8E8E8;
    backdrop-filter: blur(15px);
    border-radius: 500px;
}
.circle-btn-social svg{
    width: 24px;
    height: 24px;
}

/* ===== Desktop layout ===== */
@media (min-width: 992px) {
    .site-footer .footer-inner {
        grid-template-columns: 1fr 1fr;
        grid-template-areas:
            "brand nav"
            "divider divider"
            ". copy";
        row-gap: 18px;
        padding: 36px var(--footer-pad-x) 40px;
    }

    /* เมนูเป็นแนวนอน + จุดคั่น • */
    .footer-nav .nav {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        gap: 28px;
    }

    .footer-nav .nav>li+li {
        position: relative;
        padding-left: 18px;
    }

    .footer-nav .nav>li+li::before {
        content: "•";
        position: absolute;
        left: 0;
        top: 50%;
        transform: translateY(-50%);
        color: var(--footer-muted);
    }

    .footer-copy {
        justify-self: end;
        /* ชิดขวา */
    }
}

/* Mobile */
@media (max-width: 768px) {
    .flex-mosaic {
        flex-direction: column;
    }
}

/* ===== responsive ===== */
@media (max-width: 992px) {
    .top-row {
        display: none;
    }

    .bottom-bar {
        display: flex;
    }
}

@media (max-width: 768px) {
    :root {
        --font-size-base: 15px;
        --line-height-base: 1.6;

        /* Font sizes */
        --fs-h1: 44px;
        --fs-h2: 36px;
        --fs-h3: 28px;
        --fs-h4: 24px;
        --fs-h5: 20px;
        --fs-h6: 18px;
        --fs-small: 15px;
        --fs-small-12: 12px;

        --footer-bg: url("../image/skin/bg-footer-m.jpg");
        /* <-- เปลี่ยนเป็นรูปของคุณ */

        --btn-size: 56px;
        --font-size-num: 24px;
        --slash-len: 44px;
        --gap-xl: 36px;
    }

    @media (min-width: 576px) {
        .hero-banner-contact img {
            min-height: 950px;
        }
    }

    section.sec-contact-acc {
        padding-top: 19vw;
    }

    .gallery {
        grid-template-columns: 1fr 1fr;
        /* 2 คอลัมน์ */
        grid-template-rows: auto;
    }

    .gallery .main {
        grid-column: span 2;
        /* รูปใหญ่กินเต็มแถว */
    }

    .gallery .side {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto;
        grid-column: span 2;
    }

    .gallery .side img {
        height: auto;
    }
      .inner-xl {
        padding-left: 0;
        border: 0 !important;
    }

    .outer-text-verticle {
        display: none;
    }

}

@media (max-width: 575.98px) {
    :root {
        --space-24: 24px;
        --acc-ico-size: 36px;
        --acc-line-len: 14px;


        --space-40: 40px;
        --space-35: 35px;
        --space-30: 30px;

    }

  
    .site-footer {
        text-align: center;
    }

    .site-footer .outer-xl {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .site-footer .footer-brand {
        order: 2;
    }

    .site-footer .footer-nav {
        order: 0;
    }

    .site-footer .footer-divider {
        order: 1;
        width: 100%;
    }

    .site-footer .footer-copy {
        order: 3;
    }

    .group-team .col-6 {
        border-bottom: 1px solid #dfdedb;
    }

    .group-team .col-6:first-child,
    .group-team .col-6:nth-of-type(2) {
        border-top: 1px solid #dfdedb;
    }

    .group-team .col-6:last-child {
        border-bottom: 1px solid #dfdedb;
    }

    .group-team .col-6:nth-child(even) {}

    .group-team .col-6:nth-child(odd) {
        border-right: 1px solid #dfdedb;
    }

    .group-team .card {
        padding-top: calc(var(--bs-gutter-x) * 0.5);
    }

    .inner.border-start {
        border: 0 !important;
        padding-left: 0 !important;
    }

    .inner-sm {
        padding-left: 0 !important;
    }

    .link-circle-arrow-abs {
        right: 6px;
        bottom: 6px;
    }

    .acc-title {
        font-size: 20px;
    }

    .sec-contact-acc {
        padding-top: 60vw !important;
    }

    .box-form form {
        padding: 24px 12px;
    }
}

@media (max-width: 470.98px) {
    .sec-contact-acc {
        padding-top: 70vw !important;
    }
}

@media (max-width: 390.98px) {
    .sec-contact-acc {
        padding-top: 90vw !important;
    }
}

@media (max-width: 360.98px) {
    .sec-contact-acc {
        padding-top: 110vw !important;
    }
}