@font-face {
    font-family: 'FC Iconic';
    src: url('fonts/FCIconic-Light.woff2') format('woff2'),
        url('fonts/FCIconic-Light.woff') format('woff');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'FC Iconic';
    src: url('fonts/FCIconic-Regular.woff2') format('woff2'),
        url('fonts/FCIconic-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'FC Iconic';
    src: url('fonts/FCIconic-Bold.woff2') format('woff2'),
        url('fonts/FCIconic-Bold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}
:root {
    /* COLORS */
    --primary: #1A2B4C;
    --primary-dark: #0f2745;
    --white: #ffffff;
    --black: #111111;
    --gray: #666666;
    --light: #f5f5f5;
    --gold: #7E6232;
    --primary-navy-grey: #2A3847;
    --neutral-mid-grey:#B0B1B5;
  
    /* SPACING */
    --section-padding: 60px;
    /* TYPOGRAPHY */
    --fs-h1: clamp(3rem, 6vw, 7rem);
    --fs-h2: clamp(2rem, 4vw, 4rem);
    --fs-h3: clamp(1.3rem, 2vw, 2rem);
    --body: 18px;
    --section-title: 28px; /* clamp(1.5rem, 4vw, 1.75rem); */
    --section-label: 12px;
    /* TRANSITION */
    --transition: .4s ease;
}

/* =================================
RESET
================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Athiti", sans-serif;
    font-size: var(--body);
    color: var(--black);
    overflow-x: hidden;
    background: var(--white);
}
/* ลบ padding ของ container-fluid ทั้งหมด */
.container-fluid {
    --bs-gutter-x: 2.0rem;
}

.business-bottom .container-fluid {
    --bs-gutter-x: 0;
}

img {
    width: 100%;
    display: block;
}

a {
    text-decoration: none;
}

.section-padding {
    padding: var(--section-padding) 0;
}

.section-label {
    font-family: "Athiti", sans-serif;
    font-weight: 500;
    display: inline-block;
    color: var(--gold);
    font-size: var(--section-label);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.section-title {
    font-family: 'FC Iconic', sans-serif;
    font-size: var(--section-title);
    font-weight: 300;
    line-height: 1.2;
    letter-spacing: 0;
}
.body-content {
    font-size: var(--body);
    font-family: "Athiti", sans-serif;
    font-weight: 500;
}

.section-title.text-white {
    color: var(--white);
}
/* =================================
NAVBAR
================================= */
.navbar {
    width: 100%;
    transition: all .3s ease;
    border-bottom:1px solid #F4F4F4;
}

.navbar.is-fixed {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: #fff;
    border-bottom:1px solid #F4F4F4;
}

body.navbar-active {
    padding-top: 80px; /* เท่าความสูง navbar */
}
.navbar-logo {
    width: 127px;
    height: auto;
}
/* =================================
HERO
================================= */
.hero {
    height: 100vh;
    position: relative;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 1;
    transition: opacity 0.75s ease;
    will-change: opacity;
}

.hero-video.loop-fade-out {
    opacity: 0.22;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        rgba(0, 0, 0, .25),
        rgba(0, 0, 0, .45)
    );
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

    display: flex;
    align-items: center;
    gap: 32px;

    z-index: 2;
}

/* Logo */
.hero-logo {
    width: 136px;
    height: auto;
}

/* Divider */
.hero-divider {
    width: 1px;
    height: 101px;
    background: #fff;
}

/* Title */
.hero-title {
    margin: 0;
    color: #fff;
    font-family: 'FC Iconic', sans-serif;
    font-size: 24px;
    font-weight: 300;
    line-height: 1;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* =================================
ABOUT
================================= */
.about .container-fluid {
    padding-right: 0;
}
@media (min-width: 992px) {
    .about .row.align-items-start {
        align-items: stretch !important;
    }

    .about .col-lg-5 {
        display: flex;
        flex-direction: column;
    }

    .about-content {
        position: sticky;
        top: 120px;
        align-self: flex-start;
    }
}
.about-content {
    max-width: 550px;
}

.about-content p {
    color: var(--black);
    line-height: 1.2;
    font-family: "Athiti", sans-serif;
    font-weight: 500;
    font-style: normal;
}

.aboutSwiper {
    overflow: hidden;
}

.aboutSwiper img {
    width: 100%;
    height: 850px;
    object-fit: cover;
}

.about-swiper-wrap {
    position: relative;
}

.sus-dots.about-dots{
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: transparent;
    padding: 0;
    z-index: 10;
}

.about-dots .sus-dot {
    font-family: "Athiti", sans-serif;
    font-size: 14px;
    color: rgba(255,255,255,0.4);
    cursor: pointer;

    width: 40px;
    height: 40px;

    display: flex;
    align-items: center;
    justify-content: center;

    position: relative;
    transition: all 0.3s ease;
}

.about-dots .sus-dot.active {
    color: #fff;
}

.about-dots .sus-dot.active::before {
    content: "";
    position: absolute;
    inset: 0;

    border: 2px solid #fff;
    border-radius: 50%;

    /* เปิดช่องว่างด้านซ้ายบน */
    border-top-color: transparent;
    transform: rotate(-35deg);
}

/* =================================
SUSTAINABILITY
================================= */
#sustainability{
    background-color: var(--white);
}
.sustainability-image {
    width: 100%;
    height: 520px;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sustainability-media {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sustainability-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sustainability-image video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sustainability-panel {
    background: var(--primary-navy-grey);
    color: white;
    height: 100%;
    padding: 80px 60px;
}
.sustainability-panel .section-label{
    color: var(--white);
}
.vision-item {
    padding: 40px 0;
    border-bottom: 1px solid rgba(255, 255, 255, .15);
    cursor: pointer;
    transition: all var(--transition);
}

.vision-item:hover {
    opacity: 0.8;
}

.vision-item.active {
    opacity: 1;
}

.vision-item .title-box {
    font-family: 'FC Iconic', sans-serif;
    font-weight: 300;
    margin-bottom: 15px;
    font-size: 24px;
    color: white;
    display: flex;
    align-items: center;
    transition: color var(--transition);
}

.vision-item .title-box::before {
    content: '';
    display: inline-block;
    width: 10px;
    height: 10px;
    min-width: 10px;
    background-color: white;
    flex-shrink: 0;
    opacity: 0;
    margin-right: 0;
    transition: opacity var(--transition), margin-right var(--transition);
}

.vision-item.active .title-box::before {
    opacity: 1;
    margin-right: 24px;
}

.vision-item .content-box {
    font-size: var(--body);
    font-family: "Athiti", sans-serif;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
    overflow: hidden;
   
    transition: max-height var(--transition);
}

.vision-item.active .content-box {
    max-height: 200px;
}

.vision-heading {
    font-family: 'FC Iconic', sans-serif;
    padding: 60px 60px;
    background: var(--neutral-mid-grey);
    color: var(--black);
    font-size: 32px;
    line-height: 1.4;
}
/* =================================
   MISSION
================================= */
.mission {
    --mission-side: 400px;
    --mission-center: 400px;
    background: var(--primary);
    color: white;
    transition: background-color 0.6s ease;
    position: relative;
}

.mission-carousel {
    width: 100%;
    overflow: hidden;
    padding: 0;
}

.mission-carousel .container-fluid,
.mission-track-wrapper {
    padding: 0 !important;
}

.mission-track {
    position: relative;
    display: block;
    will-change: transform;
    width: 100%;
    overflow: hidden;
}

.mission-item {
    position: absolute;
    top: 0;
    left: 0;
    flex-shrink: 0;
    cursor: pointer;
    transition: left 0.6s cubic-bezier(0.4,0,0.2,1), transform 0.4s ease;
}

.mission-item img {
    display: block;
    object-fit: cover;
    transition: filter 0.4s ease, transform 0.4s ease;
    max-width: 100%;
    height: auto;
    border-radius: 4px;
}

.mission-item:not(.is-center) {
    width: var(--mission-side);
}

.mission-item:not(.is-center) img {
    width: var(--mission-side);
    height: var(--mission-side);
}

.mission-item:not(.is-center):hover img {
    cursor: pointer;
    transform: scale(1.02);
}

.mission-item.is-center {
    width: var(--mission-center);
    cursor: default;
}

.mission-item.is-center img {
    width: var(--mission-center);
    height: var(--mission-center);
}

.mission-item-text {
    display: none;
}

.mission-item.is-center .mission-item-text {
    display: block;
    text-align: center;
    padding-top: 32px;
    min-height: 180px;
    max-width: var(--mission-center);
}

/* Mobile */
@media (max-width: 767px) {
    #mission {
        margin-top: 0 !important;
    }

    #mission .row.mb-5 {
        padding: 0 20px;
        margin-bottom: 32px !important;
    }

    .mission {
        --mission-side: 80px;
        --mission-center: calc(100vw - 160px);
    }

    .mission-item:not(.is-center) {
        width: var(--mission-side);
    }

    .mission-item:not(.is-center) img {
        width: var(--mission-side);
        height: 248px;
    }

    .mission-item.is-center {
        width: var(--mission-center);
    }

    .mission-item.is-center img {
        width: var(--mission-center);
        height: 320px;
    }

    .mission-item.is-center .mission-item-text {
        padding: 24px 16px 0;
        min-height: 140px;
    }
}

/* =================================
BUSINESS
================================= */
.business-bottom{
        background: var(--primary-navy-grey);
        color: white;
}
.business-top {
    background: white;
    padding: 140px 0;
}

.business-top p {
    color: var(--gray);
    line-height: 1.8;
}
.map-mobile {
    display: none;
}

.map-desktop {
    display: block;
}
.business-map {
    height: 100%;
}
.business-map img { 
    width: 840px;
}
.business-stats {
    padding: 80px;
}
.stat-item {
    display: flex;
    gap: 30px;
    padding: 40px 0;
    border-bottom: 1px solid rgba(255, 255, 255, .15);
}

.stat-item:last-child {
    border-bottom: none;
}

.stat-number {
    font-family: 'FC Iconic', sans-serif;
    font-weight: 300;
    width: 80px;
    height: 80px;
    font-size: 32px;
    padding: 10px;
    border-radius: 4px;
    background:#ffffff10 ;
    
}
.stat-title {
    font-size: 32px;
    font-family: 'FC Iconic', sans-serif;
    font-weight: 300;
}
.stat-content {
    font-size: 18px;
    font-family: "Athiti", sans-serif;
    font-weight: 500;
    
}
.stat-item h3 {
    margin-bottom: 10px;
}



/* =================================
FOOTER
================================= */
.footer {
    background: var(--primary);
    color: white;
    padding: 80px 0 20px 0;
}

.footer-logo {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.footer-logo img {
    width: 90px;
    height: 30px;
}

.footer-logo span {
    font-family: 'FC Iconic', sans-serif;
    font-weight: 300;
    font-size: 1.2rem;
    line-height: 1.1;
}

.footer-section {
    margin-bottom: 20px;
}

.footer-label {
    font-size: 12px;
    color: var(--gold);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 15px;
    font-weight: 500;
}

.footer-section p {
    font-size: 18px;
    line-height: 1.4;
    margin-bottom: 10px;
}

.google-maps-link {
    color: white;
    text-decoration: underline !important;
    transition: color var(--transition);
}

.google-maps-link:hover {
    color: var(--gold);
}

.footer-section a {
    color: white;
    text-decoration: none;
    transition: color var(--transition);
}

.footer-section a:hover {
    color: var(--gold);
}

.footer-social {
    display: flex;
    justify-content: flex-end;
}

.footer-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: white;
    transition: all var(--transition);
}

.footer-social a:hover {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--primary);
}

.footer-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.2);
    margin: 20px 0;
}

.footer-bottom {
    font-size: 14px;
    color: var(--neutral-mid-grey);
}


/* =================================
   HERO — Mobile fix
================================= */
@media (max-width: 767px) {

    .hero-content {
        flex-direction: row;       
        align-items: center;
        padding: 0 24px;
        gap: 20px;
        left: 0;
        right: 0;
        transform: translateY(-50%);
        width: 100%;
    }

    .hero-logo {
        width: 115px;
        height: 37px;
        flex-shrink: 0;
    }

    .hero-divider {
        display: block;          
        width: 1px;
        height: 60px;           
        background: #fff;
        flex-shrink: 0;
    }

    .hero-title {
        font-size: 19px;
        letter-spacing: 0.05em;
        text-align: left;        
        white-space: nowrap;
    }
}
/* =================================
   ABOUT — Mobile fix
================================= */
@media (max-width: 767px) {


    .about .container-fluid{
        padding-left: 0;
        padding-right: 0;
    }

    .about .row{
        margin-left: 0;
        margin-right: 0;
    }

    /* กล่องข้อความ */
    .about-content{
        max-width: 100%;
        padding: 0 24px;
    }

    .section-label{
        display: block;
        margin: 0 0 40px;
        /* padding: 0 24px; */
    }
    
    .about-sticky{
        position: static;
    }
    .about.section-padding {
        padding: 60px 0 0 0;   /* ตัด padding ล่างออก ให้รูปชิดขอบ */
    }

    .about-content {
        max-width: 100%;
        padding: 0 0 48px;  /* padding ซ้าย-ขวา + ระยะห่างก่อนรูป */
    }

    .about-content .section-label {
        margin-bottom: 16px;
    }

    /* ลด section-title เฉพาะใน about */
    .about-content .section-title {
        font-size: 24px;     /* ~28px */
        line-height: 1.2;
        margin-top: 20px !important;
    }

    /* ลด gap ระหว่าง paragraph */
    .about-content .athiti-medium{
        font-size: 16px !important;
        line-height: 1.6;
    }

    .about-content [style*="margin-top: 40px"] {
        margin-top: 20px !important;
    }

    /* Swiper — full bleed ไม่มี padding */
    .aboutSwiper {
        width: 100%;
    }

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


/* =================================
   MISSION — Mobile fix
================================= */
@media (max-width: 767px) {
    .mission-item .section-title{
         font-size: 20px !important;
    }
    .mission-item .body-content{
         font-size: 16px !important;
         padding: 0 20px;
    }
    #mission .j{
         font-size: 24px !important;
    }
    #mission {
        margin-top: 0 !important; /* ลบ mt-5 */
    }

    /* Header */
    #mission .row.mb-5 {
        padding: 0 20px;
        margin-bottom: 32px !important;
        text-align: center;
    }

    #mission .section-label {
        display: block;
        text-align: center;
    }

    #mission .section-title.text-white {
        font-size: 1.75rem;
        line-height: 1.25;
    }

    /* ซ่อน side images ทั้งหมด */
    #mission .col-lg-3:first-child,
    #mission .col-lg-3:last-child {
        display: none !important;
    }

    /* Center column เต็มจอ */
    #mission .col-lg-3:nth-child(2) {
        width: 100% !important;
        max-width: 100% !important;
        flex: none !important;
        padding: 0 !important;
    }

    /* Center image — full bleed */
    .mission-center img {
        width: 100%;
        height: 320px;
        object-fit: cover;
        margin-bottom: 32px;
    }

    /* Text ตรงกลาง */
    .mission-center {
        text-align: center;
        padding: 0 24px 40px;
    }

    #centerTitle {
        font-size: 1.6rem;
        line-height: 1.3;
        margin-bottom: 16px;
    }

    #centerContent {
        font-size: 16px;
        line-height: 1.7;
        max-width: 500px;
        margin: 0 auto;
    }

    /* ซ่อน prev/next ที่ยังโผล่อยู่ */
    #prevImg,
    #nextImg {
        display: none !important;
    }
}
/* =================================
   BUSINESS TOP — Mobile fix
================================= */
@media (max-width: 767px) {

    .business-top {
        padding: 60px 0;
    }

    /* section-title ลดขนาด */
    .business-top .section-title {
        font-size: 1.6rem;
        line-height: 1.25;
        margin-bottom: 24px;
    }

    /* stack 2 col แนวตั้ง */
    .business-top .col-lg-5 {
        width: 100% !important;
        max-width: 100% !important;
        flex: none !important;
    }

    .business-top .body-content {
        font-size: 16px;
        line-height: 1.7;
        color: var(--black);
    }
}
/* =================================
   BUSINESS BOTTOM — Mobile fix
================================= */
@media (max-width: 767px) {
    .map-desktop {
        display: none;
    }

    .map-mobile {
        display: block;
        width: 100% !important;
        height: 448px;
        object-fit: cover;
        object-position: center;
    }
    /* Stack แนวตั้ง */
    .business-bottom .col-lg-7,
    .business-bottom .col {
        width: 100% !important;
        max-width: 100% !important;
        flex: none !important;
        padding: 0 !important;
        
    }
   

    /* Map full bleed */
    .business-map {
        width: 100%;
        overflow: hidden;
    }

    /* Stats */
    .business-stats {
        padding: 40px 20px;
    }

    .stat-item {
        flex-direction: column;
        gap: 12px;
        padding: 28px 0;
    }

    .stat-number {
        font-size: 32px;
        width: 80px;
        height: 80px;
    }

    .stat-title {
        font-size: 28px;
        margin-bottom: 8px;
    }

    .stat-content {
        font-size: 16px;
        line-height: 1.6;
    }
}
/* =================================
   FOOTER — Mobile fix
================================= */
@media (max-width: 767px) {

    .footer {
        padding: 48px 0 28px;
    }

    /* Logo */
    .footer-logo {
        margin-bottom: 36px;
    }

    .footer-logo img {
        width: 134px;
        height: 43px;
    }

    /* Columns stack แนวตั้ง */
    .footer .col-lg-5,
    .footer .col-lg-3 {
        width: 100% !important;
        max-width: 100% !important;
        flex: none !important;
    }

    /* Section spacing */
    .footer-section {
        margin-bottom: 32px;
    }

    .footer-section p {
        font-size: 16px;
        line-height: 1.6;
    }

    /* Social — ชิดซ้าย */
    .footer .row.justify-content-end {
        justify-content: flex-start !important;
    }

    

    /* Divider */
    .footer-divider {
        margin: 28px 0;
    }

    /* Copyright */
    .footer-bottom {
        font-size: 13px;
        line-height: 1.5;
        color: var(--neutral-mid-grey);
    }
}
/* =================================
   SUSTAINABILITY MOBILE
================================= */

.sustainability-mobile .sus-slide-body .section-label{
    padding:0px;
    margin: 0;
    color: white;
}

.sustainability-mobile {
    background: var(--primary-navy-grey);
}

.sus-mobile-slider {
    position: relative;
    overflow: hidden;
}

.sus-slide {
    display: none;
}

.sus-slide.active {
    display: block;
}

.sus-slide-media {
    width: 100%;
    height: 280px;
    object-fit: cover;
    display: block;
}

.sus-slide-body {
    background: var(--primary-navy-grey);
    padding: 32px 20px 24px;
    color: white;
}

.sus-slide-title {
    font-family: 'FC Iconic', sans-serif;
    font-weight: 300;
    font-size: 24px;
    color: white;
    margin: 12px 0 16px;
}

.sus-slide-content {
    font-family: "Athiti", sans-serif;
    font-weight: 500;
    font-size: 16px;
    color: rgba(255,255,255,0.8);
    line-height: 1.6;
    margin: 0;
    min-height: 105px;
}

/* Dots */
.sus-dots {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px 20px 32px;
    background: var(--primary-navy-grey);
}

.sus-dot {
    font-family: "Athiti", sans-serif;
    font-size: 14px;
    color: rgba(255,255,255,0.4);
    cursor: pointer;

    width: 40px;
    height: 40px;

    display: flex;
    align-items: center;
    justify-content: center;

    position: relative;
    transition: all 0.3s ease;
}

.sus-dot.active {
    color: #fff;
}

.sus-dot.active::before {
    content: "";
    position: absolute;
    inset: 0;

    border: 2px solid #fff;
    border-radius: 50%;

    /* เปิดช่องว่างด้านซ้ายบน */
    border-top-color: transparent;
    transform: rotate(-35deg);
}
@media (max-width: 767px) {
    
    #sustainability{
        padding: 100px 0px !important;
       
    }
    #sustainability .container-fluid {
    --bs-gutter-x: 2.5rem;
   
    }
    .vision-heading {
        padding: 28px 20px;
        font-size: 16px;
        line-height: 1.7;
    }
}
 .business-bottom .col {
    /* padding-left: 1.39rem !important; */
    }