/* =========================================================
   PART 1 : ORIGINAL WEBSITE CSS
   หมายเหตุ: CSS เดิมของเว็บ ห้ามลบ
   ใช้กับเว็บเดิมทั้งหมด เช่น Header / Hero / Service / CTA / Footer / Page / Mobile Menu
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Thai:wght@300;400;500;600;700;800&display=swap');

/* =========================================================
   ANNA GARMENT : BRAND COLOR SYSTEM
   โทนสีใหม่ให้สอดคล้องกับโลโก้ Navy Blue + Gold + White
   หมายเหตุ: ยังคงชื่อตัวแปรเดิมบางตัวไว้ เพื่อให้โครงสร้างเว็บเดิมทำงานต่อได้
   ========================================================= */

:root {

    /* Main Brand */
    --primary: #002B6B;
    --primary-dark: #001C46;
    --primary-soft: #EAF0FA;

    --gold: #C8A56A;
    --gold-dark: #A8854B;
    --gold-soft: #F4EFE7;

    --cream: #F8F6F2;
    --cream-dark: #F0E8DC;

    /* Compatibility with old CSS */
    --red: #002B6B;
    --red-dark: #001C46;
    --red-soft: #EAF0FA;
    --red-bg: #F8F6F2;
    --red-border: #D8C8AA;

    --green: #06C755;

    --ink: #152238;
    --text: #243246;
    --muted: #6B7280;

    --border: #E5DDCF;
    --white: #ffffff;

    --shadow:
        0 18px 48px rgba(0, 43, 107, 0.10);

    --shadow-lg:
        0 28px 78px rgba(0, 43, 107, 0.14);

}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

body {
    font-family: 'Noto Sans Thai', Tahoma, Arial, sans-serif;
    background: var(--red-bg);
    color: var(--ink);
    font-size: 16px;
    line-height: 1.75;
}

a {
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
}

/* HEADER */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255,255,255,0.98);
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(12px);
}

.nav {
    min-height: 78px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 14px;
    color: var(--ink);
    min-width: 0;
    flex: 0 0 auto;
}

.brand img {
    height: 80px;
    width: auto;
    object-fit: contain;
    flex: 0 0 auto;
}

.brand strong {
    display: block;
    font-size: 22px;
    font-weight: 800;
    line-height: 1.15;
    color: var(--ink);
    white-space: nowrap;
}

.brand small {
    display: block;
    color: var(--muted);
    font-size: 13px;
    margin-top: 3px;
}

.menu-toggle {
    display: none;
    width: 46px;
    height: 46px;
    min-width: 46px;
    border: 0;
    border-radius: 16px;
    background: var(--red);
    margin-left: auto;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 4px;
    padding: 0;
    box-shadow: 0 12px 28px rgba(0,43,107,.24);
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 21px;
    height: 2px;
    background: #ffffff;
    border-radius: 999px;
}

.menu-panel {
    flex: 1 1 auto;
    display: flex;
    justify-content: flex-end;
}

.main-menu {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.menu-item {
    position: relative;
}

.menu-item > a,
.submenu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 42px;
    padding: 0 16px;
    border-radius: 999px;
    border: 0;
    background: transparent;
    color: var(--text);
    font-family: inherit;
    font-size: 15px;
    font-weight: 800;
    cursor: pointer;
    white-space: nowrap;
}

.menu-item > a:hover,
.submenu-toggle:hover {
    background: var(--red-soft);
    color: var(--red);
}

.submenu-toggle em {
    width: 8px;
    height: 8px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg) translateY(-2px);
    margin-left: 4px;
}

.submenu {
    display: none;
    position: absolute;
    right: 0;
    min-width: 230px;
    z-index: 10;
    list-style: none;
    margin: 0;
    padding: 0px;
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 18px;
    box-shadow: var(--shadow);
}

.has-submenu:hover > .submenu {
    display: block;
}

.submenu .menu-item {
    width: 100%;
}

.submenu .menu-item > a,
.submenu .submenu-toggle {
    width: 100%;
    justify-content: space-between;
    border-radius: 12px;
    padding: 10px 14px;
    min-height: 42px;
}

.submenu .submenu {
    top: 0;
    right: 100%;
    padding: 0px;
}

/* HERO */

.hero {
    padding: 48px 0 24px;
    background:
        radial-gradient(circle at 6% 5%, rgba(200,165,106,.18), transparent 32%),
        linear-gradient(180deg, #ffffff 0%, #F8F6F2 100%);
}

.hero-box {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 44px;
    align-items: center;
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 36px;
    padding: 58px;
    box-shadow: var(--shadow-lg);
}

.hero-content {
    min-width: 0;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    background: var(--red-soft);
    color: var(--red-dark);
    padding: 8px 15px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.4px;
    margin-bottom: 18px;
}

.hero h1 {
    max-width: 830px;
    margin: 0 0 22px;
    font-size: clamp(38px, 5vw, 62px);
    line-height: 1.13;
    font-weight: 800;
    letter-spacing: -1px;
}

.hero p {
    max-width: 780px;
    margin: 0 0 30px;
    color: var(--muted);
    font-size: 19px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 26px;
}

.btn-red,
.btn-light {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 0 24px;
    border-radius: 999px;
    font-weight: 800;
}

.btn-red {
    color: #ffffff;
    background: linear-gradient(135deg, var(--red), #C8A56A);
    box-shadow: 0 14px 30px rgba(0,43,107,.25);
}

.btn-light {
    color: var(--red);
    background: #ffffff;
    border: 1px solid var(--red-border);
}

.hero-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
	margin-top: 10px;
	margin-bottom: 10px;
}

.hero-tags span {
    background: var(--red-bg);
    border: 1px solid var(--red-border);
    color: var(--red-dark);
    border-radius: 999px;
    padding: 8px 13px;
    font-size: 13px;
    font-weight: 700;
}

/* QR */

.qr-card {
    background: var(--red-bg);
    border: 1px solid var(--red-border);
    border-radius: 30px;
    padding: 24px;
    text-align: center;
}

.qr-label {
    color: var(--green);
    font-size: 13px;
    font-weight: 800;
    margin-bottom: 12px;
}

.qr-card img {
    width: 100%;
    max-width: 220px;
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 8px;
    margin-bottom: 16px;
}

.qr-card h3 {
    margin: 0 0 6px;
    font-size: 22px;
    font-weight: 800;
}

.qr-card p {
    margin: 0 0 16px;
    color: var(--muted);
    font-size: 14px;
}

.qr-card a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    border-radius: 999px;
    background: var(--green);
    color: #ffffff;
    font-weight: 800;
}

/* SERVICES */

.service-section {
    padding: 58px 0;
}

.section-title {
    max-width: 760px;
    margin: 0 auto 36px;
    text-align: center;
}

.section-title span {
    color: var(--red);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.6px;
}

.section-title h2 {
    margin: 10px 0 12px;
    font-size: clamp(30px, 4vw, 46px);
    line-height: 1.2;
    font-weight: 800;
}

.section-title p {
    color: var(--muted);
    font-size: 18px;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.service-card {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 28px;
    box-shadow: var(--shadow);
}

.service-card b {
    display: inline-flex;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    background: var(--red-soft);
    color: var(--red-dark);
    border-radius: 14px;
    margin-bottom: 18px;
}

.service-card h3 {
    margin: 0 0 10px;
    font-size: 21px;
    font-weight: 800;
}

.service-card p {
    margin: 0;
    color: var(--muted);
    font-size: 15px;
}

/* CTA */

.cta-section {
    padding: 0 0 76px;
}

.cta-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    background: linear-gradient(135deg, #002B6B, var(--red));
    color: #ffffff;
    border-radius: 30px;
    padding: 42px;
    box-shadow: var(--shadow-lg);
}

.cta-box span {
    color: #E6C992;
    font-size: 13px;
    font-weight: 800;
}

.cta-box h2 {
    margin: 8px 0 8px;
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 800;
}

.cta-box p {
    color: #F4EFE7;
    margin: 0;
}

.cta-box a {
    flex: 0 0 auto;
    background: #ffffff;
    color: var(--red-dark);
    border-radius: 999px;
    padding: 13px 24px;
    font-weight: 800;
}

/* PAGE */

.page-section {
    padding: 58px 0 72px;
}

.page-card {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 28px;
    padding: 46px;
    box-shadow: var(--shadow);
}

/* FOOTER */

.footer {
    background: #001A44;
    color: #ffffff;
    padding: 44px 0 18px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.1fr 1.4fr 150px;
    gap: 34px;
}

.footer h4,
.footer h5 {
    margin: 0 0 12px;
    font-weight: 800;
}

.footer p {
    color: #EDE5D7;
    margin: 0 0 7px;
    font-size: 14px;
}

.footer a {
    color: #E6C992;
    font-weight: 700;
}

.footer-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 18px;
}

.footer-tags span {
    background: rgba(200,165,106,.16);
    border: 1px solid rgba(200,165,106,.35);
    color: #E6C992;
    border-radius: 999px;
    padding: 7px 11px;
    font-size: 13px;
    font-weight: 700;
}

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

.footer-line img {
    width: 118px;
    background: #ffffff;
    border-radius: 16px;
    padding: 6px;
}

.footer-line a {
    display: block;
    margin-top: 8px;
    font-size: 13px;
}

.footer-bottom {
    margin-top: 30px;
    padding-top: 16px;
    border-top: 1px solid rgba(255,255,255,.12);
    color: #CDBB99;
    text-align: center;
    font-size: 13px;
}

.line-float {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 999;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: var(--green);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    box-shadow: 0 16px 34px rgba(6,199,85,.35);
}

/* TABLET */

@media (max-width: 991px) {
    .nav {
        min-height: 68px;
        flex-wrap: wrap;
    }

    .brand {
        max-width: calc(100% - 60px);
    }

    .brand img {
        height: 60px;
    }

    .brand strong {
        font-size: 16px;
        max-width: 220px;
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
    }

    .brand small {
        font-size: 11px;
    }

    .menu-toggle {
        display: flex;
    }

    .menu-panel {
        display: none;
        width: 100%;
        flex: 0 0 100%;
    }

    .menu-panel.active {
        display: block;
    }

    .main-menu {
        display: grid;
        grid-template-columns: 1fr;
        gap: 8px;
        width: 100%;
        margin-top: 12px;
        padding: 12px;
        background: #ffffff;
        border: 1px solid var(--border);
        border-radius: 18px;
        box-shadow: var(--shadow);
    }

    .menu-item {
        width: 100%;
    }

    .menu-item > a,
    .submenu-toggle {
        width: 100%;
        justify-content: space-between;
        min-height: 52px;
        padding: 12px 14px;
        border-radius: 14px;
        background: var(--red-bg);
        border: 1px solid var(--red-border);
        font-size: 16px;
    }

    .submenu {
        position: static;
        display: none;
        width: 100%;
        min-width: 0;
        margin-top: 8px;
        padding: 8px;
        border-radius: 14px;
        box-shadow: none;
    }

    .has-submenu:hover > .submenu {
        display: none;
    }

    .has-submenu.open > .submenu {
        display: block;
    }

    .submenu .submenu {
        position: static;
        margin-right: 0;
    }

    .hero-box {
        grid-template-columns: 1fr;
        padding: 38px;
        gap: 32px;
    }

    .qr-card {
        max-width: 420px;
        margin: 0 auto;
    }

    .service-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .cta-box {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-line {
        text-align: left;
    }
}

/* MOBILE */

@media (max-width: 575px) {
    body {
        font-size: 15px;
        background: #ffffff;
    }

    .container {
        width: min(100% - 24px, 1180px);
    }

    .nav {
        min-height: 62px;
    }

    .brand {
        gap: 9px;
        max-width: calc(100% - 54px);
        overflow: hidden;
    }

    .brand img {
        height: 50px;
    }

    .brand strong {
        font-size: 14px;
        max-width: 175px;
    }

    .brand small {
        display: none;
    }

    .menu-toggle {
        width: 42px;
        height: 42px;
        min-width: 42px;
        border-radius: 14px;
    }

    .hero {
        padding: 18px 0;
    }

    .hero-box {
        display: block;
        padding: 24px 20px;
        border-radius: 24px;
    }

    .eyebrow {
        font-size: 11px;
        padding: 7px 12px;
        margin-bottom: 14px;
    }

    .hero h1 {
        font-size: 34px;
        line-height: 1.15;
        margin-bottom: 16px;
    }

    .hero p {
        font-size: 16px;
        margin-bottom: 20px;
    }

    .hero-actions {
        display: grid;
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .btn-red,
    .btn-light {
        width: 100%;
    }

    .hero-tags {
        display: grid;
        grid-template-columns: 1fr;
        gap: 8px;
        margin-top: 20px;
    }

    .hero-tags span {
        justify-content: center;
        text-align: center;
    }

    .qr-card {
        margin-top: 22px;
        padding: 18px;
        border-radius: 22px;
    }

    .qr-card img {
        max-width: 180px;
    }

    .section-title {
        text-align: left;
    }

    .section-title h2 {
        font-size: 32px;
    }

    .section-title p {
        font-size: 16px;
    }

    .service-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .service-card {
        padding: 22px;
        border-radius: 20px;
    }

    .cta-section {
        padding-bottom: 44px;
    }

    .cta-box {
        padding: 24px;
        border-radius: 24px;
    }

    .cta-box a {
        width: 100%;
        text-align: center;
    }

    .page-card {
        padding: 24px 20px;
        border-radius: 22px;
    }

    .footer {
        padding: 34px 0 16px;
    }

    .footer-grid {
        gap: 24px;
    }

    .footer-line img {
        width: 104px;
    }

    .line-float {
        width: 54px;
        height: 54px;
        right: 14px;
        bottom: 14px;
        font-size: 13px;
    }
}

.management-photo{
    position:relative;
    width:320px;
    min-width:320px;
   /* aspect-ratio:4/5;*/
    margin-bottom: 10px;
    margin-top: 10px;
    display:flex;
    align-items:flex-end;
    justify-content:center;

    overflow:hidden;

    border-radius:32px;

    background:
        linear-gradient(
            180deg,
            #FBF9F5 0%,
            #F0E8DC 100%
        );

    border:1px solid #D8C8AA;
}

.management-photo img{
    width:100%;
    height:100%;

    object-fit:contain;
    object-position:bottom center;

    display:block;
}

/* MOBILE */
@media(max-width:768px){

    .management-photo{
        width:100%;
        min-width:100%;
        max-width:100%;
        aspect-ratio:4/4.8;
    }

}

/* NOTE: removed markdown fence from pasted CSS */
/* PAGE HERO */

.page-hero{
    display:grid;
    grid-template-columns:minmax(0,1fr) 360px;
    gap:42px;
    align-items:center;

    margin-bottom:58px;
}

.page-content h1{
    margin:0 0 20px;

    font-size:clamp(34px,4vw,56px);
    line-height:1.15;
    font-weight:800;
    letter-spacing:-1px;

    color:var(--ink);
}

.page-content p{
    margin:0 0 26px;

    color:var(--muted);
    font-size:18px;
}

.page-image {
    position: relative;
    width: 100%;
    min-height: 520px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 28px;
    padding: 20px;
	margin-bottom: 20px;
    background:
        radial-gradient(circle at top right, rgba(255,255,255,0.9) 0%, rgba(255,255,255,0) 35%),
        linear-gradient(145deg, #FBF9F5 0%, #F4EFE7 45%, #F0E8DC 100%);
    border: 1px solid rgba(200,165,106,0.35);
    box-shadow:
        0 12px 40px rgba(0,43,107,.10),
        inset 0 1px 0 rgba(255,255,255,0.7);
    transition: all 0.35s ease;
}

.page-image:hover {
    transform: translateY(-4px);
    box-shadow:
        0 18px 50px rgba(0,43,107,.14),
        inset 0 1px 0 rgba(255,255,255,0.8);
}

.page-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 22px;
    position: relative;
    z-index: 2;
}

.page-image::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            180deg,
            rgba(255,255,255,0.15) 0%,
            rgba(255,255,255,0) 30%
        );
    z-index: 1;
    pointer-events: none;
}

.page-image::after {
    content: "";
    position: absolute;
    width: 180px;
    height: 180px;
    background: rgba(200,165,106,0.18);
    border-radius: 50%;
    top: -60px;
    right: -60px;
    filter: blur(10px);
}

/* PAGE TIMELINE */

.page-timeline{
    margin:58px 0;
}

.page-item{
    display:grid;
    grid-template-columns:110px minmax(0,1fr);

    gap:22px;

    margin-bottom:24px;
}

.page-badge{
    display:flex;
    align-items:center;
    justify-content:center;

    min-height:64px;

    border-radius:20px;

    background:
        linear-gradient(
            135deg,
            var(--red),
            #C8A56A
        );

    color:#ffffff;

    font-size:20px;
    font-weight:800;

    box-shadow:
        0 16px 34px rgba(0,43,107,.16);
}

.page-text{
    color:var(--text);

    font-size:16px;
    line-height:1.9;
}

/* PAGE GRID */

.page-grid{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));

    gap:26px;
}

/* PAGE CARD */

.page-card-box{
    background:#ffffff;

    border:1px solid var(--border);
    border-radius:30px;

    padding:28px;

    box-shadow:var(--shadow);

    height:100%;
}

/* PAGE IMAGE */

.page-card-box .management-photo{
    width:100%;
    min-width:100%;

    aspect-ratio:4/4.8;

    margin-bottom:24px;

    border-radius:26px;
}

/* PAGE BODY */

.page-body h3{
    margin:0 0 8px;

    font-size:28px;
    line-height:1.25;
    font-weight:800;

    color:var(--ink);
}

.page-label{
    display:inline-flex;
    align-items:center;

    min-height:38px;

    padding:0 16px;

    border-radius:999px;

    background:var(--red-soft);

    color:var(--red-dark);

    font-size:14px;
    font-weight:800;

    margin-bottom:18px;
}

.page-body p{
    margin:0 0 16px;

    color:var(--muted);

    font-size:15px;
    line-height:1.85;
}

.page-body ul{
    margin:18px 0 0;
    padding:0;

    list-style:none;

    display:grid;
    gap:10px;
}

.page-body li{
    position:relative;

    padding-left:28px;

    color:var(--text);

    font-weight:700;
    line-height:1.6;
}

.page-body li::before{
    content:"";

    position:absolute;

    left:0;
    top:8px;

    width:12px;
    height:12px;

    border-radius:50%;

    background:var(--red);

    box-shadow:
        0 0 0 5px var(--red-soft);
}

/* PAGE SPACE */

.page-space{
    margin-top:58px;
}

/* TABLET */

@media(max-width:991px){

    .page-hero{
        grid-template-columns:1fr;

        gap:30px;
    }

    .page-image{
        max-width:420px;
        margin:0 auto;
    }

    .page-grid{
        grid-template-columns:1fr;
    }

}

/* MOBILE */

@media(max-width:575px){

    .page-hero{
        gap:22px;
        margin-bottom:40px;
    }

    .page-content h1{
        font-size:34px;
        letter-spacing:-0.4px;
    }

    .page-content p{
        font-size:16px;
    }

    .page-timeline{
        margin:40px 0;
    }

    .page-item{
        grid-template-columns:1fr;

        gap:12px;

        margin-bottom:20px;
    }

    .page-badge{
        width:fit-content;

        min-width:92px;

        padding:0 18px;
    }

    .page-card-box{
        padding:22px;

        border-radius:24px;
    }

    .page-card-box .management-photo{
        border-radius:22px;
    }

    .page-body h3{
        font-size:24px;
    }

}

.page-table-wrap{ width:100%; overflow-x:auto; margin-top:30px; } .page-table{ width:100%; min-width:780px; border-collapse:collapse; background:#ffffff; border-radius:20px; overflow:hidden; border:1px solid #D8C8AA; } .page-table thead{ background:#001A44; } .page-table thead th{ padding:18px 20px; color:#ffffff; font-size:15px; font-weight:700; text-align:center; } .page-table tbody td{ padding:16px 20px; border-bottom:1px solid #F4EFE7; font-size:15px; color:#243246; } .page-table tbody tr:nth-child(even){ background:#FBF9F5; } .page-table tbody td:first-child{ font-weight:600; width:42%; } .page-table tbody td:nth-child(2), .page-table tbody td:nth-child(3){ text-align:center; width:29%; } .page-table tbody tr:hover{ background:#F4EFE7; } @media (max-width:768px){ .page-table thead th, .page-table tbody td{ padding:14px 14px; font-size:14px; } }


/* =========================================================
   PART 2 : STANDARD DESIGN SYSTEM CSS
   หมายเหตุ: CSS ใหม่สำหรับเรียกใช้กับหน้าใหม่
   ของเดิมด้านบนยังใช้งานกับเว็บเดิมทั้งหมด ห้ามลบ
   ใช้เพิ่มสำหรับ Layout / Card / Button / Form / Table / Contact / Pricing / FAQ / Utility
   ========================================================= */

/* =========================================================
   01) RESET & SMOOTH
   ใช้เพิ่มความนุ่มนวลของเว็บทั้งหมด
   ========================================================= */

html{
    scroll-behavior:smooth;
}

body{
    -webkit-font-smoothing:antialiased;
    text-rendering:optimizeLegibility;
}

button,
input,
textarea,
select{
    font-family:inherit;
}

button{
    cursor:pointer;
}

/* =========================================================
   02) CONTAINER EXTRA
   ใช้กำหนดความกว้างเนื้อหาเพิ่มเติม
   ========================================================= */

.container-sm{
    width:min(760px, calc(100% - 32px));
    margin:0 auto;
}

.container-md{
    width:min(960px, calc(100% - 32px));
    margin:0 auto;
}

.container-lg{
    width:min(1280px, calc(100% - 32px));
    margin:0 auto;
}

.container-full{
    width:100%;
    margin:0 auto;
}

/* =========================================================
   03) PAGE SECTION
   ใช้ทำ section มาตรฐานของทุกหน้า
   ========================================================= */

.page{
    padding:60px 0;
}

.page-xs{
    padding:24px 0;
}

.page-sm{
    padding:36px 0;
}

.page-md{
    padding:60px 0;
}

.page-lg{
    padding:84px 0;
}

.page-xl{
    padding:110px 0;
}

.page-white{
    background:#ffffff;
}

.page-soft{
    background:#F8F6F2;
}

.page-red-soft{
    background:var(--red-bg);
}

.page-dark{
    background:#001A44;
    color:#ffffff;
}

.page-gradient-red{
    background:
        radial-gradient(circle at top left, rgba(200,165,106,.16), transparent 34%),
        linear-gradient(180deg,#ffffff 0%,#F8F6F2 100%);
}

/* =========================================================
   04) TYPOGRAPHY SYSTEM
   ใช้กับหัวข้อและข้อความทุกหน้า
   ========================================================= */

.title-xl{
    font-size:clamp(38px,5vw,64px);
    line-height:1.12;
    font-weight:800;
    margin:0 0 20px;
    letter-spacing:-1px;
}

.title-lg{
    font-size:clamp(32px,4vw,48px);
    line-height:1.18;
    font-weight:800;
    margin:0 0 18px;
}

.title-md{
    font-size:clamp(26px,3vw,36px);
    line-height:1.25;
    font-weight:800;
    margin:0 0 14px;
}

.title-sm{
    font-size:22px;
    line-height:1.35;
    font-weight:800;
    margin:0 0 10px;
}

.title-xs{
    font-size:18px;
    line-height:1.4;
    font-weight:800;
    margin:0 0 8px;
}

.text-lead{
    font-size:19px;
    color:var(--muted);
    line-height:1.85;
}

.text-normal{
    font-size:16px;
    color:var(--text);
    line-height:1.85;
}

.text-small{
    font-size:14px;
    color:var(--muted);
    line-height:1.7;
}

.text-muted{color:var(--muted);}
.text-red{color:var(--red);}
.text-dark{color:var(--ink);}
.text-white{color:#ffffff;}
.text-green{color:var(--green);}

.text-center{text-align:center;}
.text-left{text-align:left;}
.text-right{text-align:right;}

.font-light{font-weight:300;}
.font-normal{font-weight:400;}
.font-medium{font-weight:500;}
.font-bold{font-weight:700;}
.font-black{font-weight:800;}

.line-tight{line-height:1.2;}
.line-normal{line-height:1.7;}
.line-loose{line-height:2;}

/* =========================================================
   05) BADGE / LABEL
   ใช้กับป้ายหมวดหมู่ เช่น Service, AI Solution, Contact
   ========================================================= */

.badge{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:34px;
    padding:0 14px;
    border-radius:999px;
    font-size:13px;
    font-weight:800;
    line-height:1;
    white-space:nowrap;
}

.badge-red{
    background:var(--red-soft);
    color:var(--red-dark);
}

.badge-dark{
    background:#001A44;
    color:#ffffff;
}

.badge-green{
    background:#eef7ec;
    color:#2f6b3c;
}

.badge-blue{
    background:#efe6dc;
    color:#A8854B;
}

.badge-yellow{
    background:#fff3d8;
    color:#7a4b16;
}

.badge-gray{
    background:#F4EFE7;
    color:#6b5a46;
}

/* =========================================================
   06) BUTTON SYSTEM
   ใช้กับปุ่มทุกหน้า
   ========================================================= */

.btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:8px;
    min-height:48px;
    padding:0 22px;
    border-radius:999px;
    font-family:inherit;
    font-size:15px;
    font-weight:800;
    border:0;
    cursor:pointer;
    transition:.2s ease;
    text-align:center;
}

.btn:hover{
    transform:translateY(-2px);
}

.btn-primary{
    background:linear-gradient(135deg,var(--red),#C8A56A);
    color:#ffffff;
    box-shadow:0 14px 30px rgba(139,94,52,.24);
}

.btn-outline{
    background:#ffffff;
    color:var(--red);
    border:1px solid var(--red-border);
}

.btn-dark{
    background:#001A44;
    color:#ffffff;
}

.btn-white{
    background:#ffffff;
    color:#001A44;
}

.btn-green{
    background:var(--green);
    color:#ffffff;
}

.btn-soft{
    background:var(--red-soft);
    color:var(--red-dark);
}

.btn-sm{
    min-height:38px;
    padding:0 16px;
    font-size:13px;
}

.btn-lg{
    min-height:58px;
    padding:0 30px;
    font-size:17px;
}

.btn-block{
    width:100%;
}

/* =========================================================
   07) GRID SYSTEM
   ใช้จัด Layout แบบ Card / Service / Gallery
   ========================================================= */

.grid{
    display:grid;
    gap:24px;
}

.grid-2{grid-template-columns:repeat(2,minmax(0,1fr));}
.grid-3{grid-template-columns:repeat(3,minmax(0,1fr));}
.grid-4{grid-template-columns:repeat(4,minmax(0,1fr));}
.grid-5{grid-template-columns:repeat(5,minmax(0,1fr));}
.grid-6{grid-template-columns:repeat(6,minmax(0,1fr));}
.grid-auto{grid-template-columns:repeat(auto-fit,minmax(240px,1fr));}
.grid-auto-sm{grid-template-columns:repeat(auto-fit,minmax(180px,1fr));}
.grid-auto-lg{grid-template-columns:repeat(auto-fit,minmax(300px,1fr));}

.gap-0{gap:0;}
.gap-1{gap:8px;}
.gap-2{gap:16px;}
.gap-3{gap:24px;}
.gap-4{gap:32px;}
.gap-5{gap:48px;}

/* =========================================================
   08) FLEX SYSTEM
   ใช้จัดเรียง Element แบบยืดหยุ่น
   ========================================================= */

.flex{display:flex;}
.flex-wrap{flex-wrap:wrap;}
.flex-column{flex-direction:column;}
.flex-center{display:flex;align-items:center;justify-content:center;}
.flex-between{display:flex;align-items:center;justify-content:space-between;}
.flex-start{display:flex;align-items:flex-start;}
.flex-end{display:flex;align-items:flex-end;}
.flex-1{flex:1;}
.flex-auto{flex:auto;}
.flex-none{flex:none;}
.align-center{align-items:center;}
.align-start{align-items:flex-start;}
.align-end{align-items:flex-end;}
.justify-center{justify-content:center;}
.justify-between{justify-content:space-between;}
.justify-end{justify-content:flex-end;}
.justify-start{justify-content:flex-start;}

/* =========================================================
   09) CARD SYSTEM
   ใช้กับกล่องข้อมูลทุกประเภท
   ========================================================= */

.card{
    background:#ffffff;
    border:1px solid var(--border);
    border-radius:26px;
    padding:28px;
    box-shadow:var(--shadow);
}

.card-sm{
    padding:20px;
    border-radius:20px;
}

.card-lg{
    padding:38px;
    border-radius:32px;
}

.card-flat{
    box-shadow:none;
}

.card-hover{
    transition:.25s ease;
}

.card-hover:hover{
    transform:translateY(-5px);
    box-shadow:0 24px 54px rgba(0,43,107,.14);
    border-color:#E6C992;
}

.card-red{
    background:var(--red-bg);
    border-color:var(--red-border);
}

.card-dark{
    background:#001A44;
    color:#ffffff;
    border-color:#001C46;
}

.modern-card{
    background:#ffffff;
    border:1px solid rgba(255,255,255,.6);
    border-radius:32px;
    box-shadow:0 12px 40px rgba(0,43,107,.10);
    overflow:hidden;
    transition:.3s ease;
}

.modern-card:hover{
    transform:translateY(-6px);
    box-shadow:0 28px 60px rgba(0,43,107,.16);
}

/* =========================================================
   10) ICON BOX
   ใช้กับ icon หน้าหัวข้อหรือในการ์ด
   ========================================================= */

.icon-box{
    width:48px;
    height:48px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:16px;
    font-weight:800;
    margin-bottom:16px;
}

.icon-sm{width:38px;height:38px;border-radius:12px;}
.icon-lg{width:64px;height:64px;border-radius:22px;font-size:22px;}
.icon-red{background:var(--red-soft);color:var(--red-dark);}
.icon-dark{background:#001A44;color:#ffffff;}
.icon-green{background:#eef7ec;color:#2f6b3c;}
.icon-blue{background:#efe6dc;color:#A8854B;}
.icon-yellow{background:#fff3d8;color:#7a4b16;}

/* =========================================================
   11) STANDARD HERO
   ใช้ทำ Hero หน้าใหม่
   ========================================================= */

.standard-hero{
    padding:72px 0;
    background:
        radial-gradient(circle at top left,rgba(200,165,106,.18),transparent 34%),
        linear-gradient(180deg,#ffffff 0%,#F8F6F2 100%);
}

.standard-hero-box{
    display:grid;
    grid-template-columns:minmax(0,1fr) 420px;
    gap:48px;
    align-items:center;
    background:#ffffff;
    border:1px solid var(--border);
    border-radius:36px;
    padding:58px;
    box-shadow:var(--shadow-lg);
    position:relative;
    overflow:hidden;
}

.standard-hero-box::before{
    content:"";
    position:absolute;
    top:-120px;
    right:-120px;
    width:260px;
    height:260px;
    border-radius:50%;
    background:radial-gradient(rgba(200,165,106,.18),transparent 70%);
    pointer-events:none;
}

.standard-hero-image{
    border-radius:28px;
    overflow:hidden;
    background:#F8F6F2;
    position:relative;
    z-index:2;
}

.standard-hero-image img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
}

/* =========================================================
   12) IMAGE SYSTEM
   ใช้กับรูปภาพประกอบ
   ========================================================= */

.image-box{
    position:relative;
    overflow:hidden;
    border-radius:28px;
    background:#F8F6F2;
    border:1px solid var(--border);
}

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

.image-soft{box-shadow:0 18px 44px rgba(15,23,42,.10);}
.image-contain img{object-fit:contain;}
.image-cover img{object-fit:cover;}
.image-top img{object-position:top center;}
.image-center img{object-position:center;}
.image-1-1{aspect-ratio:1/1;}
.image-4-3{aspect-ratio:4/3;}
.image-16-9{aspect-ratio:16/9;}
.image-4-5{aspect-ratio:4/5;}
.image-3-4{aspect-ratio:3/4;}

.image-overlay{position:relative;}
.image-overlay::after{
    content:"";
    position:absolute;
    inset:0;
    background:linear-gradient(180deg,rgba(0,0,0,0) 0%,rgba(0,0,0,.45) 100%);
}

/* =========================================================
   13) LIST SYSTEM
   ใช้กับรายการจุดเด่น / Feature / รายละเอียดบริการ
   ========================================================= */

.list-check,
.list-dot,
.list-arrow{
    list-style:none;
    padding:0;
    margin:18px 0 0;
    display:grid;
    gap:12px;
}

.list-check li,
.list-dot li,
.list-arrow li{
    position:relative;
    padding-left:30px;
    color:var(--text);
    font-weight:700;
    line-height:1.65;
}

.list-check li::before{
    content:"✓";
    position:absolute;
    left:0;
    top:0;
    color:var(--red);
    font-weight:800;
}

.list-dot li::before{
    content:"";
    position:absolute;
    left:0;
    top:10px;
    width:10px;
    height:10px;
    border-radius:50%;
    background:var(--red);
}

.list-arrow li::before{
    content:"›";
    position:absolute;
    left:0;
    top:-2px;
    color:var(--red);
    font-size:26px;
    font-weight:800;
}

/* =========================================================
   14) SECTION HEADING
   ใช้กับหัวข้อแต่ละ Section
   ========================================================= */

.section-head{
    max-width:780px;
    margin:0 auto 38px;
    text-align:center;
}

.section-head-left{
    margin:0 0 38px;
    text-align:left;
}

.section-kicker{
    display:inline-flex;
    color:var(--red);
    font-size:13px;
    font-weight:800;
    letter-spacing:.5px;
    margin-bottom:10px;
}

.section-desc{
    color:var(--muted);
    font-size:18px;
    line-height:1.8;
    margin:0;
}

/* =========================================================
   15) FEATURE ROW
   ใช้ทำแถวอธิบายบริการแบบซ้ายขวา
   ========================================================= */

.feature-row{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:48px;
    align-items:center;
}

.feature-row.reverse .feature-image{
    order:2;
}

.feature-content p{
    color:var(--muted);
}

.feature-number{
    width:64px;
    height:64px;
    border-radius:20px;
    background:linear-gradient(135deg,var(--red),#C8A56A);
    color:#ffffff;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:24px;
    font-weight:800;
    box-shadow:0 16px 34px rgba(0,43,107,.20);
}

/* =========================================================
   16) CTA SYSTEM
   ใช้กับปิดท้ายหน้าเพื่อให้ติดต่อ / ขอใบเสนอราคา
   ========================================================= */

.standard-cta{
    background:linear-gradient(135deg,#002B6B,var(--red));
    color:#ffffff;
    border-radius:32px;
    padding:46px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:28px;
    box-shadow:var(--shadow-lg);
}

.standard-cta p{
    color:#F4EFE7;
    margin:0;
}

.standard-cta .btn{
    flex:0 0 auto;
}

.cta-center{
    text-align:center;
    flex-direction:column;
    justify-content:center;
}

/* =========================================================
   17) CONTACT BOX
   ใช้กับกล่องข้อมูลติดต่อ
   ========================================================= */

.contact-box{
    background:#ffffff;
    border:1px solid var(--border);
    border-radius:28px;
    padding:30px;
    box-shadow:var(--shadow);
}

.contact-row{
    display:flex;
    gap:14px;
    align-items:flex-start;
    padding:14px 0;
    border-bottom:1px solid #F4EFE7;
}

.contact-row:last-child{
    border-bottom:0;
}

.contact-icon{
    width:42px;
    height:42px;
    border-radius:14px;
    display:flex;
    align-items:center;
    justify-content:center;
    background:var(--red-soft);
    color:var(--red);
    font-weight:800;
    flex:0 0 auto;
}

.contact-text b{
    display:block;
    color:var(--ink);
}

.contact-text span,
.contact-text a{
    color:var(--muted);
    font-size:15px;
}

/* =========================================================
   18) TABLE SYSTEM
   ใช้กับตารางราคา / ตารางบริการ / ตารางเปรียบเทียบ
   ========================================================= */

.table-wrap{
    width:100%;
    overflow-x:auto;
    border-radius:22px;
    border:1px solid var(--border);
    background:#ffffff;
}

.standard-table{
    width:100%;
    min-width:760px;
    border-collapse:collapse;
}

.standard-table th{
    background:#001A44;
    color:#ffffff;
    padding:18px;
    text-align:center;
    font-weight:800;
}

.standard-table td{
    padding:16px 18px;
    border-bottom:1px solid #F4EFE7;
    color:var(--text);
}

.standard-table tr:nth-child(even){
    background:#FBF9F5;
}

.standard-table tr:hover{
    background:#F4EFE7;
}

.table-center td,
.table-center th{
    text-align:center;
}

/* =========================================================
   19) FORM SYSTEM
   ใช้กับฟอร์มติดต่อ / ค้นหา / กรอกข้อมูล
   ========================================================= */

.form-box{
    background:#ffffff;
    border:1px solid var(--border);
    border-radius:28px;
    padding:30px;
    box-shadow:var(--shadow);
}

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

.form-label{
    display:block;
    margin-bottom:8px;
    font-weight:800;
    color:var(--ink);
}

.form-control{
    width:100%;
    min-height:48px;
    border:1px solid var(--border);
    border-radius:16px;
    padding:0 16px;
    font-family:inherit;
    font-size:15px;
    color:var(--ink);
    background:#ffffff;
}

textarea.form-control{
    min-height:130px;
    padding:14px 16px;
    resize:vertical;
}

.form-control:focus{
    outline:none;
    border-color:var(--red);
    box-shadow:0 0 0 4px rgba(0,43,107,.10);
}

.form-inline{
    display:flex;
    gap:12px;
    align-items:center;
}

/* =========================================================
   20) PRICE CARD
   ใช้กับแพ็กเกจราคา
   ========================================================= */

.price-card{
    background:#ffffff;
    border:1px solid var(--border);
    border-radius:30px;
    padding:32px;
    box-shadow:var(--shadow);
    position:relative;
}

.price-card.recommend{
    border-color:var(--red);
    box-shadow:0 24px 60px rgba(0,43,107,.16);
}

.price-name{
    font-size:24px;
    font-weight:800;
    margin:0 0 8px;
}

.price-value{
    font-size:38px;
    font-weight:800;
    color:var(--red);
    margin:18px 0;
}

.price-note{
    color:var(--muted);
    font-size:14px;
}

/* =========================================================
   21) FAQ SYSTEM
   ใช้กับคำถามที่พบบ่อย
   ========================================================= */

.faq{
    display:grid;
    gap:14px;
}

.faq-item{
    background:#ffffff;
    border:1px solid var(--border);
    border-radius:20px;
    padding:20px 22px;
}

.faq-item h3{
    margin:0 0 8px;
    font-size:19px;
    font-weight:800;
}

.faq-item p{
    margin:0;
    color:var(--muted);
}

/* =========================================================
   22) ALERT SYSTEM
   ใช้กับกล่องแจ้งเตือน
   ========================================================= */

.alert{
    padding:18px 20px;
    border-radius:18px;
    font-weight:700;
    margin:20px 0;
}

.alert-info{background:#efe6dc;color:#A8854B;border:1px solid #dec8ad;}
.alert-success{background:#eef7ec;color:#2f6b3c;border:1px solid #cfe8cf;}
.alert-warning{background:#fff3d8;color:#7a4b16;border:1px solid #e8c783;}
.alert-danger{background:#F4EFE7;color:#002B6B;border:1px solid #E6C992;}

/* =========================================================
   23) STAT CARD
   ใช้ทำตัวเลขสถิติ
   ========================================================= */

.stat-card{
    background:#ffffff;
    border:1px solid var(--border);
    border-radius:28px;
    padding:28px;
    text-align:center;
    box-shadow:var(--shadow);
}

.stat-number{
    font-size:48px;
    line-height:1;
    font-weight:800;
    color:var(--red);
    margin-bottom:10px;
}

.stat-label{
    color:var(--muted);
    font-size:15px;
}

/* =========================================================
   24) TIMELINE MODERN
   ใช้ทำ Timeline แบบแนวตั้ง
   ========================================================= */

.timeline{
    position:relative;
    padding-left:42px;
}

.timeline::before{
    content:"";
    position:absolute;
    top:0;
    bottom:0;
    left:14px;
    width:3px;
    background:#E6C992;
}

.timeline-item{
    position:relative;
    margin-bottom:34px;
}

.timeline-dot{
    position:absolute;
    left:-35px;
    top:6px;
    width:22px;
    height:22px;
    border-radius:50%;
    background:var(--red);
    box-shadow:0 0 0 6px var(--red-soft);
}

/* =========================================================
   25) LOGO STRIP
   ใช้แสดง Logo ลูกค้า / Partner
   ========================================================= */

.logo-strip{
    display:grid;
    grid-template-columns:repeat(6,1fr);
    gap:18px;
}

.logo-strip img{
    width:100%;
    height:80px;
    object-fit:contain;
    background:#ffffff;
    border:1px solid var(--border);
    border-radius:18px;
    padding:16px;
}

/* =========================================================
   26) GLASS / EFFECT
   ใช้ทำกล่องโปร่งใสสมัยใหม่
   ========================================================= */

.glass{
    background:rgba(255,255,255,.72);
    backdrop-filter:blur(18px);
    border:1px solid rgba(255,255,255,.42);
}

.hero-glow::before{
    content:"";
    position:absolute;
    width:420px;
    height:420px;
    border-radius:50%;
    background:radial-gradient(rgba(200,165,106,.16),transparent 70%);
    top:-160px;
    right:-160px;
    pointer-events:none;
}

.hero-glow-blue::after{
    content:"";
    position:absolute;
    width:320px;
    height:320px;
    border-radius:50%;
    background:radial-gradient(rgba(200,165,106,.18),transparent 70%);
    bottom:-120px;
    left:-120px;
    pointer-events:none;
}

/* =========================================================
   27) DISPLAY / POSITION UTILITY
   ใช้ควบคุมการแสดงผลแบบเร็ว
   ========================================================= */

.d-flex{display:flex;}
.d-grid{display:grid;}
.d-block{display:block;}
.d-inline{display:inline;}
.d-inline-flex{display:inline-flex;}
.d-none{display:none;}

.relative{position:relative;}
.absolute{position:absolute;}
.fixed{position:fixed;}
.sticky{position:sticky;}

.top-0{top:0;}
.left-0{left:0;}
.right-0{right:0;}
.bottom-0{bottom:0;}

.z-1{z-index:1;}
.z-10{z-index:10;}
.z-100{z-index:100;}
.z-999{z-index:999;}

/* =========================================================
   28) WIDTH / HEIGHT UTILITY
   ใช้กำหนดขนาดแบบเร็ว
   ========================================================= */

.w-100{width:100%;}
.w-auto{width:auto;}
.w-25{width:25%;}
.w-33{width:33.3333%;}
.w-50{width:50%;}
.w-75{width:75%;}

.max-480{max-width:480px;}
.max-640{max-width:640px;}
.max-780{max-width:780px;}
.max-960{max-width:960px;}
.max-1180{max-width:1180px;}

.h-100{height:100%;}
.min-h-100{min-height:100vh;}
.min-h-50{min-height:50vh;}
.hero-height{min-height:680px;}

/* =========================================================
   29) SPACING UTILITY
   ใช้จัด margin / padding แบบเร็ว
   ========================================================= */

.mt-0{margin-top:0;}
.mt-1{margin-top:8px;}
.mt-2{margin-top:16px;}
.mt-3{margin-top:24px;}
.mt-4{margin-top:32px;}
.mt-5{margin-top:48px;}
.mt-6{margin-top:64px;}

.mb-0{margin-bottom:0;}
.mb-1{margin-bottom:8px;}
.mb-2{margin-bottom:16px;}
.mb-3{margin-bottom:24px;}
.mb-4{margin-bottom:32px;}
.mb-5{margin-bottom:48px;}
.mb-6{margin-bottom:64px;}

.my-0{margin-top:0;margin-bottom:0;}
.my-1{margin-top:8px;margin-bottom:8px;}
.my-2{margin-top:16px;margin-bottom:16px;}
.my-3{margin-top:24px;margin-bottom:24px;}
.my-4{margin-top:32px;margin-bottom:32px;}
.my-5{margin-top:48px;margin-bottom:48px;}

.pt-0{padding-top:0;}
.pt-1{padding-top:8px;}
.pt-2{padding-top:16px;}
.pt-3{padding-top:24px;}
.pt-4{padding-top:32px;}
.pt-5{padding-top:48px;}
.pt-6{padding-top:64px;}

.pb-0{padding-bottom:0;}
.pb-1{padding-bottom:8px;}
.pb-2{padding-bottom:16px;}
.pb-3{padding-bottom:24px;}
.pb-4{padding-bottom:32px;}
.pb-5{padding-bottom:48px;}
.pb-6{padding-bottom:64px;}

.p-0{padding:0;}
.p-1{padding:8px;}
.p-2{padding:16px;}
.p-3{padding:24px;}
.p-4{padding:32px;}
.p-5{padding:48px;}

/* =========================================================
   30) BORDER / RADIUS / SHADOW UTILITY
   ใช้ปรับเส้นขอบ ความโค้ง และเงา
   ========================================================= */

.border{border:1px solid var(--border);}
.border-top{border-top:1px solid var(--border);}
.border-bottom{border-bottom:1px solid var(--border);}
.border-red{border-color:var(--red-border);}
.border-dark{border-color:#001C46;}
.border-none{border:none;}

.radius-sm{border-radius:12px;}
.radius-md{border-radius:20px;}
.radius-lg{border-radius:28px;}
.radius-xl{border-radius:36px;}
.radius-full{border-radius:999px;}

.shadow-sm{box-shadow:0 8px 22px rgba(0,43,107,.10);}
.shadow-md{box-shadow:var(--shadow);}
.shadow-lg{box-shadow:var(--shadow-lg);}
.shadow-none{box-shadow:none;}

/* =========================================================
   31) BACKGROUND UTILITY
   ใช้กำหนดพื้นหลัง
   ========================================================= */

.bg-white{background:#ffffff;}
.bg-dark{background:#001A44;}
.bg-soft{background:#F8F6F2;}
.bg-red{background:var(--red);}
.bg-red-soft{background:var(--red-soft);}
.bg-red-bg{background:var(--red-bg);}
.bg-green{background:var(--green);}
.bg-gradient-red{background:linear-gradient(135deg,var(--red),#C8A56A);}
.bg-gradient-dark{background:linear-gradient(135deg,#001A44,#001C46);}

/* =========================================================
   32) OVERFLOW / OBJECT UTILITY
   ใช้ควบคุมการล้นและภาพ
   ========================================================= */

.overflow-hidden{overflow:hidden;}
.overflow-auto{overflow:auto;}
.overflow-x{overflow-x:auto;}
.overflow-y{overflow-y:auto;}

.object-cover img{object-fit:cover;}
.object-contain img{object-fit:contain;}
.object-top img{object-position:top;}
.object-center img{object-position:center;}

/* =========================================================
   33) ANIMATION SYSTEM
   ใช้เพิ่ม Animation
   ========================================================= */

.fade-up{
    animation:fadeUp .6s ease;
}

@keyframes fadeUp{
    from{opacity:0;transform:translateY(24px);}
    to{opacity:1;transform:translateY(0);}
}

.fade-in{
    animation:fadeIn .6s ease;
}

@keyframes fadeIn{
    from{opacity:0;}
    to{opacity:1;}
}

.hover-up{
    transition:.25s ease;
}

.hover-up:hover{
    transform:translateY(-4px);
}

.hover-scale{
    transition:.3s ease;
}

.hover-scale:hover{
    transform:scale(1.02);
}

/* =========================================================
   34) RESPONSIVE HELPER
   ใช้ซ่อน/แสดง เฉพาะ Desktop หรือ Mobile
   ========================================================= */

.mobile-only{display:none;}
.desktop-only{display:block;}

/* =========================================================
   35) RESPONSIVE STANDARD
   ปรับ CSS ใหม่ให้รองรับ Tablet / Mobile
   ========================================================= */

@media(max-width:991px){

    .standard-hero-box,
    .feature-row{
        grid-template-columns:1fr;
    }

    .grid-6,
    .grid-5,
    .grid-4{
        grid-template-columns:repeat(2,minmax(0,1fr));
    }

    .grid-3{
        grid-template-columns:repeat(2,minmax(0,1fr));
    }

    .standard-cta{
        flex-direction:column;
        align-items:flex-start;
    }

    .feature-row.reverse .feature-image{
        order:0;
    }

    .logo-strip{
        grid-template-columns:repeat(3,1fr);
    }
}

@media(max-width:575px){

    .page,
    .page-md,
    .page-lg,
    .page-xl{
        padding:42px 0;
    }

    .standard-hero{
        padding:30px 0;
    }

    .standard-hero-box{
        padding:24px 20px;
        border-radius:24px;
    }

    .title-xl{font-size:32px;}
    .title-lg{font-size:28px;}
    .title-md{font-size:24px;}
    .text-lead{font-size:16px;}

    .grid-2,
    .grid-3,
    .grid-4,
    .grid-5,
    .grid-6{
        grid-template-columns:1fr;
    }

    .card,
    .card-lg,
    .form-box,
    .contact-box{
        padding:22px;
        border-radius:22px;
    }

    .standard-cta{
        padding:26px;
        border-radius:24px;
    }

    .standard-cta .btn,
    .btn{
        width:100%;
    }

    .section-head{
        text-align:left;
    }

    .desktop-only{display:none;}
    .mobile-only{display:block;}

    .logo-strip{
        grid-template-columns:repeat(2,1fr);
    }

    .stat-number{
        font-size:36px;
    }

    .timeline{
        padding-left:28px;
    }

    .form-inline{
        flex-direction:column;
        align-items:stretch;
    }
}


/* HOME BANNER */
.home-banner-section {
    padding: 40px 0;
    background: var(--red-bg);
}

.home-banner-card {
    overflow: hidden;
    border-radius: 24px;
    background: #ffffff;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
}

.home-banner-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 24px;
}

@media (max-width: 768px) {
    .home-banner-section {
        padding: 24px 0;
    }

    .home-banner-card,
    .home-banner-image {
        border-radius: 14px;
    }
}

.hero-subtitle {
    margin: 0 0 18px;
    color: var(--red);
    font-size: clamp(24px, 3vw, 36px);
    line-height: 1.25;
    font-weight: 800;
}


/* =========================================================
   PART 3 : ANNA GARMENT FINAL OVERRIDE
   ปรับดีไซน์ใหม่ให้เข้ากับโลโก้ ANNA GARMENT
   โทน: Navy Blue / Gold / White / Premium Tailoring
   ========================================================= */

body{
    background:
        radial-gradient(circle at 0% 0%, rgba(200,165,106,.10), transparent 28%),
        linear-gradient(180deg,#ffffff 0%,#F8F6F2 100%);
}

.site-header{
    background:rgba(255,255,255,.94);
    border-bottom:1px solid rgba(200,165,106,.28);
    box-shadow:0 10px 28px rgba(0,43,107,.05);
}

.brand strong{
    color:var(--primary);
    letter-spacing:.4px;
}

.brand small{
    color:var(--gold-dark);
    font-weight:700;
}

.menu-item > a,
.submenu-toggle{
    color:var(--primary-dark);
}

.menu-item > a:hover,
.submenu-toggle:hover{
    background:rgba(0,43,107,.06);
    color:var(--primary);
}

.submenu{
    border:1px solid rgba(200,165,106,.28);
    box-shadow:0 24px 54px rgba(0,43,107,.10);
}

.hero,
.standard-hero{
    background:
        radial-gradient(circle at 8% 0%, rgba(200,165,106,.20), transparent 32%),
        radial-gradient(circle at 95% 12%, rgba(0,43,107,.10), transparent 28%),
        linear-gradient(180deg,#ffffff 0%,#F8F6F2 100%);
}

.hero-box,
.standard-hero-box,
.page-card,
.page-card-box,
.card,
.service-card,
.price-card,
.contact-box,
.form-box,
.stat-card{
    border:1px solid rgba(200,165,106,.24);
    box-shadow:0 24px 60px rgba(0,43,107,.09);
}

.hero-box,
.standard-hero-box{
    position:relative;
    overflow:hidden;
}

.hero-box::after,
.standard-hero-box::after{
    content:"";
    position:absolute;
    right:-70px;
    bottom:-70px;
    width:210px;
    height:210px;
    border-radius:50%;
    border:1px solid rgba(200,165,106,.28);
    pointer-events:none;
}

.eyebrow,
.badge-red,
.page-label{
    background:var(--gold-soft);
    color:var(--primary);
    border:1px solid rgba(200,165,106,.28);
}

.hero h1,
.title-xl,
.title-lg,
.title-md,
.section-title h2,
.page-content h1{
    color:var(--primary-dark);
}

.hero-subtitle,
.section-title span,
.section-kicker,
.text-red{
    color:var(--gold-dark);
}

.btn-red,
.btn-primary,
.bg-gradient-red,
.page-badge,
.feature-number{
    background:linear-gradient(135deg,var(--primary),#003B91);
    color:#ffffff;
    box-shadow:0 16px 36px rgba(0,43,107,.24);
}

.btn-light,
.btn-outline{
    background:#ffffff;
    color:var(--primary);
    border:1px solid rgba(200,165,106,.42);
}

.btn-soft{
    background:var(--gold-soft);
    color:var(--primary);
}

.service-card,
.card-hover,
.modern-card{
    transition:.28s ease;
}

.service-card:hover,
.card-hover:hover,
.modern-card:hover{
    transform:translateY(-6px);
    border-color:rgba(200,165,106,.55);
    box-shadow:0 30px 70px rgba(0,43,107,.14);
}

.service-card b,
.icon-red,
.contact-icon{
    background:var(--gold-soft);
    color:var(--primary);
}

.hero-tags span,
.footer-tags span{
    border-color:rgba(200,165,106,.32);
}

.cta-box,
.standard-cta{
    background:
        radial-gradient(circle at 90% 0%, rgba(200,165,106,.22), transparent 35%),
        linear-gradient(135deg,var(--primary),var(--primary-dark));
}

.cta-box span,
.standard-cta .section-kicker{
    color:#E6C992;
}

.cta-box a,
.standard-cta .btn-white{
    color:var(--primary-dark);
}

.footer,
.page-dark,
.bg-dark,
.card-dark,
.standard-table th,
.page-table thead{
    background:#001A44;
}

.footer a{
    color:#E6C992;
}

.footer-tags span{
    background:rgba(200,165,106,.12);
    color:#E6C992;
}

.page-image,
.image-box,
.management-photo{
    background:
        radial-gradient(circle at top right, rgba(200,165,106,.18), transparent 34%),
        linear-gradient(145deg,#ffffff 0%,#F8F6F2 55%,#F0E8DC 100%);
    border:1px solid rgba(200,165,106,.30);
}

.page-table tbody tr:hover,
.standard-table tr:hover{
    background:#F4EFE7;
}

.fabric-divider{
    height:5px;
    background:linear-gradient(90deg, transparent, var(--gold), var(--primary), var(--gold), transparent);
}

.line-float{
    box-shadow:0 16px 34px rgba(6,199,85,.32);
}

@media(max-width:575px){
    .site-header{
        background:#ffffff;
    }

    .menu-item > a,
    .submenu-toggle{
        background:#F8F6F2;
        border:1px solid rgba(200,165,106,.28);
    }
}
