/* =========================================================
   BOXMAN — Main stylesheet
   ========================================================= */
:root {
    --yellow: #f6be1e;
    --yellow-dark: #e0a800;
    --navy: #0b1b36;
    --navy-2: #13284d;
    --ink: #111827;
    --text: #374151;
    --muted: #6b7280;
    --line: #e5e7eb;
    --bg-soft: #f4f6fa;
    --white: #fff;
    --radius: 6px;
    --shadow: 0 10px 30px rgba(11, 27, 54, .10);
    --shadow-sm: 0 2px 10px rgba(11, 27, 54, .07);
    --container: 1240px;
    --font-head: 'Montserrat', 'Kanit', 'IBM Plex Sans Thai', system-ui, sans-serif;
    --font-body: 'Inter', 'IBM Plex Sans Thai', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--text);
    background: var(--white);
    overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--yellow-dark); }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); line-height: 1.25; margin: 0 0 .5em; font-weight: 600; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 820px; }
.center { text-align: center; }
.sr-only, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--yellow); color: var(--ink); padding: 8px 16px; font-weight: 600; }
.skip-link:focus { left: 8px; }

.icon { width: 1.15em; height: 1.15em; flex-shrink: 0; }

/* ---------- Typography helpers ---------- */
.eyebrow {
    display: inline-flex; align-items: center; gap: 10px;
    font-size: 13px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
    color: var(--navy); margin: 0 0 8px;
}
.eyebrow::before { content: ""; width: 3px; height: 14px; background: var(--yellow); }
.eyebrow-light { color: #fff; }
.h2 { font-size: clamp(26px, 3.2vw, 36px); font-weight: 700; color: var(--navy); }
.h3 { font-size: clamp(20px, 2vw, 24px); font-weight: 600; color: var(--navy); }
.h2.text-white, .h3.text-white, .text-white { color: #fff; }
.lang-th .eyebrow { letter-spacing: .04em; font-size: 14px; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    padding: 11px 22px; border-radius: 4px; border: 2px solid transparent;
    font-family: var(--font-head); font-weight: 500; font-size: 15px; line-height: 1.2;
    transition: background .2s, color .2s, transform .2s, border-color .2s;
    white-space: nowrap;
}
.btn .icon { transition: transform .2s; }
.btn:hover .icon { transform: translateX(3px); }
.btn-primary { background: var(--yellow); color: var(--ink); }
.btn-primary:hover { background: var(--yellow-dark); color: var(--ink); }
.btn-outline-light { border-color: rgba(255,255,255,.85); color: #fff; }
.btn-outline-light:hover { background: #fff; color: var(--navy); }
.btn-outline { border-color: var(--navy); color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-lg { padding: 14px 28px; font-size: 16px; }
.btn-block { width: 100%; }

.link-arrow {
    display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
    font-weight: 600; font-size: 15px; color: var(--navy);
    padding-bottom: 4px; border-bottom: 2px solid var(--yellow);
}
.link-arrow:hover { color: var(--navy); }
.link-arrow:hover .icon { transform: translateX(3px); }
.link-arrow .icon { transition: transform .2s; }

.circle-arrow {
    display: inline-grid; place-items: center;
    width: 30px; height: 30px; border-radius: 50%;
    background: var(--yellow); color: var(--ink);
    transition: transform .2s;
}
.circle-arrow .icon { width: 16px; height: 16px; }

.round-btn {
    width: 40px; height: 40px; border-radius: 50%;
    display: grid; place-items: center;
    border: 1.5px solid rgba(255,255,255,.7); background: rgba(11,27,54,.35); color: #fff;
}
.round-btn:hover { background: var(--yellow); border-color: var(--yellow); color: var(--ink); }

.icon-btn { background: none; border: 0; padding: 8px; color: var(--ink); display: grid; place-items: center; border-radius: 4px; }
.icon-btn .icon { width: 22px; height: 22px; }
.icon-btn:hover { background: var(--bg-soft); }

/* ---------- Header ---------- */
.site-header {
    position: sticky; top: 0; z-index: 50;
    background: #fff; box-shadow: 0 1px 0 var(--line);
    transition: box-shadow .2s;
}
.site-header.is-scrolled { box-shadow: var(--shadow-sm); }
.header-inner { display: flex; align-items: center; gap: 20px; min-height: var(--header-h); max-width: 1400px; }

.brand { display: block; flex-shrink: 0; border-radius: 3px; overflow: hidden; line-height: 0; }
.brand img { width: 200px; height: auto; }
.brand:hover { color: inherit; }

.main-nav { flex: 1; display: flex; justify-content: center; }
.main-nav ul { display: flex; gap: 4px; }
.main-nav a:not(.btn) {
    display: block; padding: 8px 10px; position: relative;
    font-size: 15px; font-weight: 500; color: var(--ink); white-space: nowrap;
}
.main-nav a:not(.btn)::after {
    content: ""; position: absolute; left: 10px; right: 10px; bottom: 2px;
    height: 2px; background: var(--yellow); transform: scaleX(0); transition: transform .2s;
}
.main-nav a:not(.btn):hover::after, .main-nav a.active::after { transform: scaleX(1); }
.main-nav a:not(.btn):hover { color: var(--ink); }
.nav-quote { display: none; }

.header-tools { display: flex; align-items: center; gap: 10px; }
.lang-switch { display: flex; align-items: center; font-size: 14px; font-weight: 500; }
.lang-switch a { padding: 4px 8px; color: var(--muted); }
.lang-switch a + a { border-left: 1px solid var(--line); }
.lang-switch a.active { color: var(--ink); font-weight: 600; }
.nav-toggle { display: none; }
.nav-toggle .icon-close { display: none; }


/* ---------- Hero ---------- */
.hero {
    position: relative; overflow: hidden;
    min-height: clamp(520px, 72vh, 640px);
    background: var(--navy);
    color: #fff;
}
.hero-slide {
    position: absolute; inset: 0;
    display: flex; align-items: center;
    opacity: 0; visibility: hidden; transition: opacity .8s ease, visibility .8s;
}
.hero-slide.is-active { opacity: 1; visibility: visible; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-slide::before {
    content: ""; position: absolute; inset: 0; z-index: 1;
    background: linear-gradient(90deg, rgba(8,18,38,.92) 0%, rgba(8,18,38,.72) 40%, rgba(8,18,38,.15) 75%, rgba(8,18,38,0) 100%);
}
.hero-content { position: relative; z-index: 2; padding-top: 40px; padding-bottom: 110px; }
.hero-title {
    font-family: var(--font-head); font-weight: 700; color: #fff;
    font-size: clamp(34px, 5vw, 58px); line-height: 1.12; text-transform: uppercase;
    margin: 6px 0 18px; max-width: 760px;
}
.lang-en .hero-title { font-weight: 800; letter-spacing: -.01em; max-width: 900px; font-size: clamp(34px, 4.4vw, 56px); }
.lang-th .hero-title { text-transform: none; line-height: 1.25; }
.hero-title span { color: var(--yellow); }
.hero-company { font-family: var(--font-head); font-weight: 600; font-size: 18px; margin-bottom: 6px; letter-spacing: .02em; }
.hero-text { max-width: 520px; font-size: 17px; color: rgba(255,255,255,.88); margin-bottom: 28px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.hero-controls {
    position: absolute; left: 0; right: 0; bottom: 70px; z-index: 3;
    display: flex; justify-content: flex-end; align-items: center; gap: 10px;
}
.hero-dots { display: flex; gap: 8px; padding: 8px 12px; border-radius: 20px; background: rgba(11,27,54,.45); margin-right: 8px; }
.hero-dots button { width: 10px; height: 10px; border-radius: 50%; border: 0; padding: 0; background: rgba(255,255,255,.5); transition: background .2s, width .2s; }
.hero-dots button.is-active { background: var(--yellow); width: 24px; border-radius: 6px; }

/* ---------- Stats ---------- */
.stats-wrap { position: relative; z-index: 5; margin-top: -48px; }
.stats {
    display: grid; grid-template-columns: repeat(4, 1fr);
    background: #fff; border-radius: var(--radius); box-shadow: var(--shadow);
    padding: 22px 10px;
}
.stats li { display: flex; align-items: center; justify-content: center; gap: 16px; padding: 4px 16px; }
.stats li + li { border-left: 1px solid var(--line); }
.stat-icon { width: 44px; height: 44px; color: var(--navy); stroke-width: 1.5; }
.stats strong { display: block; font-family: var(--font-head); font-size: 28px; font-weight: 700; color: var(--navy); line-height: 1.1; }
.stats span { font-size: 14px; color: var(--muted); line-height: 1.4; display: block; }

/* ---------- Sections ---------- */
.section { padding: 72px 0; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 32px; }
.section-head .h2 { margin: 0; }
.section-services { padding-top: 64px; }

/* Services */
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service-card {
    display: flex; flex-direction: column;
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
    transition: transform .25s, box-shadow .25s, border-color .25s;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; color: inherit; }
.service-card:hover .circle-arrow { transform: translateX(4px); }
.service-card-img { aspect-ratio: 16 / 9; overflow: hidden; background: var(--bg-soft); }
.service-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.service-card:hover .service-card-img img { transform: scale(1.05); }
.service-card-body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.service-card-meta { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.service-num { font-family: var(--font-head); font-weight: 600; color: var(--yellow-dark); font-size: 15px; }
.service-icon { width: 30px; height: 30px; color: var(--navy); stroke-width: 1.6; }
.service-card h3 { font-size: 20px; color: var(--navy); margin-bottom: 6px; }
.service-card p { font-size: 15px; color: var(--muted); flex: 1; margin-bottom: 16px; }

/* About + Resources split */
.split { display: grid; grid-template-columns: 1fr 1fr; }
.split-inner { padding: 56px 48px; max-width: 640px; }
.split-about {
    position: relative; color: rgba(255,255,255,.9);
    background: linear-gradient(90deg, rgba(8,18,38,.95) 0%, rgba(8,18,38,.85) 55%, rgba(8,18,38,.55) 100%), var(--bg) center / cover;
    display: flex; justify-content: flex-end;
}
.split-about .h2 { margin-bottom: 16px; }
.split-about p { font-size: 15.5px; margin-bottom: 26px; }
.split-resources { background: var(--bg-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16'%3E%3Ccircle cx='2' cy='2' r='1' fill='%23cfd6e3'/%3E%3C/svg%3E"); }
.split-resources .section-head { margin-bottom: 24px; flex-wrap: wrap; }
.split-resources .h2 { font-size: clamp(22px, 2.4vw, 28px); }
.resource-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.resource-card {
    display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center;
    background: #fff; border-radius: var(--radius); padding: 22px 10px 18px;
    box-shadow: var(--shadow-sm); font-weight: 600; color: var(--ink); font-size: 15px; line-height: 1.35;
    transition: transform .2s, box-shadow .2s;
}
.resource-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); color: var(--ink); }
.resource-icon { width: 42px; height: 42px; color: var(--navy); stroke-width: 1.5; }
.resource-card > span:first-of-type { flex: 1; display: flex; align-items: center; }

/* Find us */
.find-us { display: grid; grid-template-columns: 1fr 1.05fr 1.25fr; min-height: 420px; }
.find-us-intro {
    color: rgba(255,255,255,.88);
    background: linear-gradient(rgba(8,18,38,.88), rgba(8,18,38,.88)), var(--bg) center / cover;
    display: flex; align-items: center;
}
.find-us-intro .split-inner { padding: 48px 40px; }
.dept-emails { margin-top: 20px; display: grid; gap: 8px; font-size: 14.5px; }
.dept-emails li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 12px; border-bottom: 1px solid rgba(255,255,255,.12); padding-bottom: 8px; }
.dept-emails span { color: rgba(255,255,255,.65); }
.dept-emails a { color: #fff; }
.dept-emails a:hover { color: var(--yellow); }

.office-card { background: #fff; padding: 40px 36px; display: flex; flex-direction: column; }
.office-card h3 { font-size: 19px; color: var(--navy); margin-bottom: 18px; }
.office-list { display: grid; gap: 12px; margin-bottom: 24px; font-size: 15px; }
.office-list li { display: flex; gap: 12px; align-items: flex-start; }
.office-list .icon { color: var(--yellow-dark); width: 20px; height: 20px; margin-top: 3px; }
.office-list a:hover { color: var(--navy); text-decoration: underline; }
.office-card .btn { margin-top: auto; }

.map-embed { position: relative; min-height: 320px; background: var(--bg-soft); }
.map-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: rgba(255,255,255,.75); font-size: 14.5px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr .9fr 1fr 1.3fr 1.4fr; gap: 36px; padding-top: 56px; padding-bottom: 44px; }
.brand-footer { display: inline-flex; margin-bottom: 14px; }
.footer-brand p { margin-bottom: 6px; }
.footer-tax { font-size: 13px; color: rgba(255,255,255,.55); }
.footer-title { font-size: 16px; color: #fff; margin-bottom: 14px; font-weight: 500; }
.footer-links { display: grid; gap: 6px; }
.footer-links a:hover, .footer-contact a:hover { color: var(--yellow); }
.footer-contact { display: grid; gap: 10px; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact .icon { color: var(--yellow); margin-top: 4px; width: 17px; height: 17px; }
.footer-contact small { color: rgba(255,255,255,.55); }
.socials { display: flex; gap: 10px; margin-top: 16px; }
.socials a { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.1); color: #fff; }
.socials a:hover { background: var(--yellow); color: var(--ink); }
.footer-note { font-size: 14px; }
.newsletter { display: flex; background: #fff; border-radius: 4px; overflow: hidden; }
.newsletter input { flex: 1; min-width: 0; border: 0; padding: 12px 14px; font: inherit; font-size: 14.5px; outline: none; }
.newsletter button { border: 0; background: var(--yellow); width: 48px; display: grid; place-items: center; color: var(--ink); }
.newsletter button:hover { background: var(--yellow-dark); }
.footer-success { display: flex; gap: 8px; align-items: center; color: var(--yellow); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); font-size: 13px; }
.footer-bottom-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 16px; padding-bottom: 16px; flex-wrap: wrap; }
.footer-bottom p { margin: 0; }
.footer-bottom a:hover { color: var(--yellow); }

/* ---------- Inner pages ---------- */
.page-hero {
    color: #fff; padding: 64px 0 56px;
    background: linear-gradient(90deg, rgba(8,18,38,.94) 0%, rgba(8,18,38,.75) 60%, rgba(8,18,38,.5) 100%), var(--bg) center / cover;
}
.page-title { color: #fff; font-size: clamp(30px, 4vw, 44px); font-weight: 700; margin: 6px 0 10px; }
.page-lead { max-width: 640px; font-size: 17px; color: rgba(255,255,255,.85); margin: 0; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: rgba(255,255,255,.7); }
.breadcrumb a:hover { color: var(--yellow); }

.prose { font-size: 17px; }
.prose p { margin-bottom: 1.2em; }
.prose h2 { font-size: 24px; color: var(--navy); margin-top: 1.6em; }
.prose ul { list-style: none; display: grid; gap: 8px; margin-bottom: 1.2em; }
.prose ul li { position: relative; padding-left: 26px; }
.prose ul li::before { content: ""; position: absolute; left: 4px; top: .7em; width: 8px; height: 8px; background: var(--yellow); border-radius: 2px; }

.two-col { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: start; }
.two-col-even { grid-template-columns: 1fr 1fr; align-items: center; }
.rounded-img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; }

.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.card-soft { background: var(--bg-soft); border: 0; }
.sticky { position: sticky; top: calc(var(--header-h) + 24px); }
.check-list { display: grid; gap: 10px; }
.check-list li { display: flex; gap: 10px; }
.check-list .icon { color: var(--yellow-dark); margin-top: 4px; }
.cta-band { background: var(--navy); color: rgba(255,255,255,.85); border-radius: var(--radius); padding: 40px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; margin-bottom: 4px; }
.cta-band p { margin: 0; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.list-grid { display: grid; gap: 16px; }
.job-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 26px; }
.job-row:hover { border-color: var(--yellow); color: inherit; }
.job-row h2 { font-size: 19px; color: var(--navy); margin: 0 0 2px; }
.job-row small { color: var(--muted); }

.article-cover { border-radius: var(--radius); margin-bottom: 28px; width: 100%; aspect-ratio: 16 / 8; object-fit: cover; }
.article-meta { color: var(--muted); font-size: 14px; display: flex; gap: 8px; align-items: center; margin-bottom: 8px; }
.article-title { font-size: clamp(26px, 3.4vw, 36px); color: var(--navy); }
.source-link { word-break: break-all; font-size: 14px; color: var(--muted); }
.source-link a { color: var(--navy); text-decoration: underline; }

/* Tables */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
table { width: 100%; border-collapse: collapse; font-size: 15px; }
th, td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--line); white-space: nowrap; }
th { background: var(--navy); color: #fff; font-weight: 500; }
tbody tr:nth-child(even) { background: var(--bg-soft); }
.empty-state { padding: 40px; text-align: center; color: var(--muted); }
.filter-bar { display: flex; gap: 12px; align-items: flex-end; flex-wrap: wrap; margin-bottom: 24px; }

/* Forms */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field-full { grid-column: 1 / -1; }
.field label { font-weight: 500; font-size: 15px; color: var(--ink); }
.req { color: #c2410c; }
.field input, .field select, .field textarea, .filter-bar select {
    font: inherit; font-size: 15.5px; padding: 11px 14px; border: 1.5px solid #d1d5db; border-radius: 4px; background: #fff; color: var(--ink); width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(246,190,30,.35); }
.radio-group { display: flex; gap: 18px; padding-top: 8px; }
.radio-group label { display: flex; gap: 8px; align-items: center; font-weight: 400; }
.form-note { font-size: 13.5px; color: var(--muted); margin: 14px 0 0; }
.form-actions { margin-top: 22px; }
.alert { padding: 14px 18px; border-radius: 4px; margin-bottom: 20px; display: flex; gap: 10px; align-items: center; }
.alert-success { background: #ecfdf3; color: #166534; border: 1px solid #bbf7d0; }
.alert-error { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }

.contact-side { display: grid; gap: 20px; }
.contact-side .office-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.contact-side .map-embed { min-height: 280px; border-radius: var(--radius); overflow: hidden; }

.pdf-frame { width: 100%; height: 80vh; min-height: 520px; border: 1px solid var(--line); border-radius: var(--radius); }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
    .main-nav a:not(.btn) { padding: 8px 9px; font-size: 14.5px; }
    .brand img { width: 180px; }
    .footer-grid { grid-template-columns: repeat(3, 1fr); }
    .footer-brand { grid-column: 1 / -1; }
    .find-us { grid-template-columns: 1fr 1fr; }
    .find-us .map-embed { grid-column: 1 / -1; min-height: 360px; }
    .resource-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 1100px) {
    .header-quote { display: none; }
    .nav-toggle { display: grid; }
    .main-nav {
        position: fixed; inset: var(--header-h) 0 0 0; z-index: 40;
        background: #fff; flex-direction: column; justify-content: flex-start; gap: 20px;
        padding: 16px 24px 32px; overflow-y: auto;
        transform: translateX(100%); visibility: hidden; transition: transform .3s, visibility .3s;
    }
    .main-nav ul { flex-direction: column; gap: 0; }
    .main-nav a:not(.btn) { padding: 14px 4px; font-size: 17px; border-bottom: 1px solid var(--line); }
    .main-nav a:not(.btn)::after { display: none; }
    .main-nav a.active { color: var(--yellow-dark); }
    .nav-quote { display: inline-flex; }
    .nav-open .main-nav { transform: none; visibility: visible; }
    .nav-open .nav-toggle .icon-open { display: none; }
    .nav-open .nav-toggle .icon-close { display: block; }
    .header-tools { margin-left: auto; }
}

@media (max-width: 1024px) {

    .stats { grid-template-columns: repeat(2, 1fr); row-gap: 20px; }
    .stats li { justify-content: flex-start; }
    .stats li:nth-child(3) { border-left: 0; }
    .split { grid-template-columns: 1fr; }
    .split-about { justify-content: flex-start; }
    .split-inner { max-width: none; padding: 48px 24px; }
    .resource-grid { grid-template-columns: repeat(4, 1fr); }
    .two-col, .two-col-even { grid-template-columns: 1fr; gap: 32px; }
    .sticky { position: static; }
}

@media (max-width: 760px) {
    :root { --header-h: 64px; }
    .container { padding: 0 16px; }
    .brand img { width: 150px; }
    .header-inner { gap: 8px; }
    .header-tools { gap: 2px; }
    .lang-switch a { padding: 4px 6px; }

    .hero { min-height: 600px; }
    .hero-slide::before { background: linear-gradient(180deg, rgba(8,18,38,.75) 0%, rgba(8,18,38,.88) 100%); }
    .hero-content { padding-bottom: 130px; }
    .hero-text { font-size: 16px; }
    .hero-actions .btn { flex: 1 1 auto; }
    .hero-controls { bottom: 72px; justify-content: center; }

    .stats { padding: 16px 4px; }
    .stats li { padding: 4px 10px; gap: 10px; }
    .stat-icon { width: 32px; height: 32px; }
    .stats strong { font-size: 22px; }
    .stats span { font-size: 12.5px; }

    .section { padding: 52px 0; }
    .section-head { flex-direction: column; align-items: flex-start; gap: 12px; margin-bottom: 24px; }
    .service-grid { grid-template-columns: 1fr; }
    .service-grid { gap: 16px; }
    .resource-grid { grid-template-columns: repeat(2, 1fr); }
    .find-us { grid-template-columns: 1fr; }
    .find-us-intro .split-inner { padding: 44px 16px; }
    .office-card { padding: 32px 16px; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px 20px; padding-top: 44px; }
    .footer-grid > div:nth-child(4), .footer-grid > div:nth-child(5) { grid-column: 1 / -1; }
    .form-grid { grid-template-columns: 1fr; }
    .card { padding: 22px 18px; }
    .cta-band { padding: 28px 20px; }
    .job-row { flex-direction: column; align-items: flex-start; }
    .page-hero { padding: 44px 0 40px; }
}

@media (min-width: 1181px) {
    .service-grid { grid-template-columns: repeat(6, 1fr); gap: 14px; }
    .service-card-body { padding: 16px 16px 18px; }
    .service-card h3 { font-size: 17px; }
    .service-card p { font-size: 14px; }
    .service-icon { width: 26px; height: 26px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/* ---------- Page-specific additions ---------- */
.field-label { font-weight: 500; font-size: 15px; color: var(--ink); }
.dept-emails-dark { margin-top: 0; }
.dept-emails-dark li { border-color: var(--line); }
.dept-emails-dark span { color: var(--muted); }
.dept-emails-dark a { color: var(--navy); font-weight: 500; }
.dept-emails-dark a:hover { color: var(--yellow-dark); }
.breadcrumb-dark { color: var(--muted); margin-bottom: 10px; }
.breadcrumb-dark a:hover { color: var(--navy); }
.service-side-links a { color: var(--text); }
.service-side-links a.active { color: var(--navy); font-weight: 600; }
.service-side-links a:hover { color: var(--yellow-dark); }
.empty-state .resource-icon { margin: 0 auto 12px; color: var(--muted); }
.job-row small { display: inline-flex; gap: 6px; align-items: center; }
@media (min-width: 1181px) {
    .service-grid-page { grid-template-columns: repeat(3, 1fr); gap: 24px; }
    .service-grid-page .service-card-body { padding: 22px 24px 24px; }
    .service-grid-page .service-card p { font-size: 15px; }
}
.service-grid-page .service-card h2 { margin-bottom: 8px; }
.resource-grid-page { grid-template-columns: repeat(4, 1fr); }
.resource-grid-page .resource-card { padding: 36px 16px 28px; font-size: 17px; }
@media (max-width: 760px) { .resource-grid-page { grid-template-columns: repeat(2, 1fr); } }
.socials a.social-line { width: auto; padding: 0 14px; border-radius: 18px; background: #06c755; font-weight: 600; font-size: 13px; }
.socials a.social-line:hover { background: #05a647; color: #fff; }

/* =========================================================
   Visual refinement — match the mockup more closely
   ========================================================= */
.icon { width: 1em; height: 1em; }
.btn .icon, .link-arrow .icon { width: .95em; height: .95em; }
.circle-arrow .icon { width: 13px; height: 13px; }
.round-btn .icon, .icon-btn .icon { width: 18px; height: 18px; }

/* Header */
.brand img { width: 230px; }
.site-header .header-inner { min-height: 80px; }

/* Hero */
.hero { min-height: clamp(470px, 62vh, 560px); }
.hero-slide::before {
    background: linear-gradient(90deg, rgba(6,14,30,.88) 0%, rgba(6,14,30,.62) 32%, rgba(6,14,30,.12) 58%, rgba(6,14,30,0) 75%),
                linear-gradient(0deg, rgba(6,14,30,.35) 0%, rgba(6,14,30,0) 30%);
}
.hero-content { padding-top: 24px; padding-bottom: 96px; }
.hero-title { font-size: clamp(32px, 3.7vw, 54px); margin: 4px 0 14px; }
.lang-en .hero-title { font-size: clamp(32px, 3.7vw, 54px); }
.hero-company { font-size: 17px; margin-bottom: 4px; }
.hero-text { font-size: 16px; line-height: 1.6; margin-bottom: 24px; max-width: 480px; }
.hero-controls { bottom: 64px; }

/* Stats */
.stats-wrap { margin-top: -44px; }
.stats { padding: 18px 8px; border-radius: 4px; }
.stat-icon { width: 46px; height: 46px; color: var(--navy); }
.stats strong { font-size: 30px; }

/* Section rhythm */
.section { padding: 56px 0; }
.section-services { padding-top: 44px; padding-bottom: 40px; }
.section-head { margin-bottom: 22px; }
.eyebrow { margin-bottom: 4px; }

/* Service cards */
.service-card { border-radius: 4px; box-shadow: 0 2px 8px rgba(11,27,54,.06); }
.service-card-img { aspect-ratio: 16 / 10; }
.service-card-body { padding: 14px 16px 16px; }
.service-card-meta { margin-bottom: 8px; gap: 14px; }
.service-icon { width: 30px; height: 30px; color: var(--navy); }
.service-card h3 { font-size: 17px; margin-bottom: 4px; }
.service-card p { font-size: 14px; line-height: 1.5; margin-bottom: 12px; }

/* About / resources */
.split-inner { padding: 40px 48px; }
.split-about {
    background: linear-gradient(90deg, rgba(6,14,30,.92) 0%, rgba(6,14,30,.7) 50%, rgba(6,14,30,.25) 100%), var(--bg) center / cover;
}
.split-about p { font-size: 15px; line-height: 1.65; margin-bottom: 20px; }
.resource-card { padding: 20px 8px 16px; border-radius: 4px; }
.resource-icon { width: 40px; height: 40px; color: var(--navy); }

/* Find us */
.find-us { min-height: 340px; }
.find-us-intro {
    background: linear-gradient(90deg, rgba(6,14,30,.94), rgba(6,14,30,.8)), var(--bg) center / cover;
}
.office-card { padding: 32px 32px; }
.office-list { gap: 9px; font-size: 14.5px; margin-bottom: 20px; }

/* Footer */
.site-footer { background: #0e1522; }
.footer-grid { padding-top: 44px; padding-bottom: 32px; }
.footer-brand .brand img { width: 210px; }
.footer-contact .icon { width: 15px; height: 15px; }
.socials a .icon { width: 16px; height: 16px; }

@media (max-width: 1240px) {
    .brand img { width: 200px; }
}
@media (max-width: 760px) {
    .brand img { width: 150px; }
    .hero { min-height: 560px; }
    .hero-slide::before { background: linear-gradient(180deg, rgba(6,14,30,.72) 0%, rgba(6,14,30,.86) 100%); }
    .split-inner { padding: 40px 16px; }
    .stat-icon { width: 30px; height: 30px; }
    .stats strong { font-size: 22px; }
}

/* Brighter hero like the mockup — darken only behind the text */
.hero-slide::before {
    background: linear-gradient(90deg, rgba(6,14,30,.82) 0%, rgba(6,14,30,.55) 30%, rgba(6,14,30,.08) 55%, rgba(6,14,30,0) 70%),
                linear-gradient(0deg, rgba(6,14,30,.3) 0%, rgba(6,14,30,0) 28%);
}
.hero-bg { filter: saturate(1.12) brightness(1.06); }

/* Header menu: Montserrat for Latin, Thai keeps IBM Plex Sans Thai */
.main-nav a:not(.btn), .lang-switch {
    font-family: 'Montserrat', 'IBM Plex Sans Thai', system-ui, sans-serif;
}
.main-nav a:not(.btn) { font-weight: 500; font-size: 15px; letter-spacing: .005em; }
.main-nav a.active { font-weight: 600; }
.lang-switch { font-weight: 600; font-size: 13.5px; }
@media (max-width: 1100px) {
    .main-nav a:not(.btn) { font-size: 17px; }
}

/* =========================================================
   Shipping Resources page
   ========================================================= */
.res-hero {
    color: #fff; position: relative;
    background: linear-gradient(90deg, rgba(6,14,30,.92) 0%, rgba(6,14,30,.7) 38%, rgba(6,14,30,.15) 70%, rgba(6,14,30,.05) 100%), var(--bg) center 60% / cover;
    padding: 56px 0 120px;
}
.res-hero-inner { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; }
.res-hero-text { max-width: 640px; }
.res-hero-title { color: #fff; font-size: clamp(32px, 4vw, 52px); font-weight: 700; line-height: 1.12; margin: 6px 0 16px; }
.lang-th .res-hero-title { line-height: 1.3; }
.res-hero-title span { color: var(--yellow); }
.res-hero-lead { font-size: 17px; color: rgba(255,255,255,.88); max-width: 520px; margin: 0; }
.res-features { display: flex; gap: 26px; flex-shrink: 0; }
.res-features li { display: flex; align-items: center; gap: 10px; font-size: 13.5px; line-height: 1.3; font-weight: 500; }
.res-features .icon { width: 30px; height: 30px; color: #fff; flex-shrink: 0; }

.res-cards-wrap { position: relative; z-index: 2; margin-top: -84px; }
.res-cards {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px;
    background: #fff; padding: 10px; border-radius: 6px; box-shadow: var(--shadow);
}
.res-card { display: flex; flex-direction: column; border-radius: 4px; overflow: hidden; background: #fff; border: 1px solid var(--line); transition: transform .25s, box-shadow .25s; }
.res-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); color: inherit; }
.res-card:hover .circle-arrow { transform: translateX(4px); }
.res-card-img { position: relative; aspect-ratio: 2.3 / 1; }
.res-card-img img { width: 100%; height: 100%; object-fit: cover; }
.res-card-badge {
    position: absolute; left: 22px; bottom: -26px;
    width: 54px; height: 54px; border-radius: 4px; background: var(--yellow); color: var(--navy);
    display: grid; place-items: center; box-shadow: 0 4px 12px rgba(0,0,0,.15);
}
.res-card-badge .icon { width: 28px; height: 28px; }
.res-card-body { padding: 38px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.res-card h2 { font-size: 21px; color: var(--navy); margin-bottom: 6px; }
.res-card p { font-size: 14.5px; line-height: 1.55; color: var(--muted); margin-bottom: 14px; }
.res-checks { display: grid; gap: 6px; margin-bottom: 18px; flex: 1; }
.res-checks li { display: flex; gap: 10px; align-items: center; font-size: 14.5px; color: var(--text); }
.res-checks .icon { color: var(--yellow); width: 18px; height: 18px; }
.res-card-cta { display: flex; align-items: center; gap: 14px; font-weight: 600; color: var(--ink); font-size: 15px; }
.circle-arrow-lg { width: 38px; height: 38px; }
.circle-arrow-lg .icon { width: 16px; height: 16px; }

.res-split { display: grid; grid-template-columns: 1.3fr 1fr; margin-top: 18px; }
.res-split-inner { padding: 40px 40px 44px; }
.res-split .h2 { font-size: clamp(22px, 2.3vw, 28px); margin-bottom: 4px; }
.res-split-lead { color: var(--muted); font-size: 15px; margin-bottom: 20px; }
.res-routes { background: var(--bg-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16'%3E%3Ccircle cx='2' cy='2' r='1' fill='%23cfd6e3'/%3E%3C/svg%3E"); display: flex; justify-content: flex-end; }
.res-routes .res-split-inner { width: 100%; max-width: 820px; }
.res-tools { background: #eef1f7; }
.res-tools .res-split-inner { max-width: 640px; }

.route-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
.route-card {
    display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center;
    background: #fff; border-radius: 4px; padding: 14px 6px 12px; box-shadow: var(--shadow-sm);
    transition: transform .2s, box-shadow .2s;
}
.route-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); color: inherit; }
.route-icon { width: 36px; height: 36px; display: grid; place-items: center; }
.route-icon img { width: 34px; height: 34px; border-radius: 50%; box-shadow: 0 0 0 1px var(--line); object-fit: cover; }
.route-icon .icon { width: 32px; height: 32px; color: var(--navy); }
.route-name { font-size: 13.5px; font-weight: 600; color: var(--ink); line-height: 1.3; flex: 1; }
.route-name small { display: block; font-weight: 400; color: var(--muted); font-size: 12px; }

.tool-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.tool-card {
    display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center;
    background: #fff; border-radius: 4px; padding: 16px 8px 12px; box-shadow: var(--shadow-sm);
    font-size: 14px; font-weight: 600; color: var(--ink); line-height: 1.3;
    transition: transform .2s, box-shadow .2s;
}
.tool-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); color: var(--ink); }
.tool-card > span:first-of-type { flex: 1; display: flex; align-items: center; }
.tool-icon { width: 34px; height: 34px; color: var(--navy); }

.res-bottom { display: grid; grid-template-columns: 1.3fr 1fr; }
.res-steps {
    color: rgba(255,255,255,.85); display: flex; justify-content: flex-end;
    background: linear-gradient(90deg, rgba(6,14,30,.95), rgba(6,14,30,.86)), var(--bg) center / cover;
}
.res-steps .res-split-inner { width: 100%; max-width: 820px; }
.res-steps .h3 { margin-bottom: 22px; max-width: 420px; }
.steps { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 0; padding: 0; }
.steps li { display: flex; gap: 12px; align-items: flex-start; position: relative; }
.step-num {
    width: 36px; height: 36px; border-radius: 50%; background: var(--yellow); color: var(--ink);
    display: grid; place-items: center; font-family: var(--font-head); font-weight: 700; flex-shrink: 0;
}
.steps strong { display: block; color: #fff; font-size: 15px; margin-bottom: 2px; }
.steps span { font-size: 13.5px; line-height: 1.45; }
.step-chevron { position: absolute; right: -14px; top: 10px; width: 14px; height: 14px; color: rgba(255,255,255,.6); }
.res-more {
    color: rgba(255,255,255,.88);
    background: linear-gradient(90deg, rgba(6,14,30,.88) 0%, rgba(6,14,30,.6) 100%), var(--bg) center / cover;
    display: flex; align-items: center;
}
.res-more .res-split-inner { max-width: 640px; }
.res-more-title { padding-left: 14px; border-left: 4px solid var(--yellow); }
.res-more p { font-size: 15.5px; margin-bottom: 20px; }

/* Guide pages */
.guide-intro { font-size: 18px; color: var(--ink); }
.guide-table { margin-bottom: 1.4em; }
.guide-table th, .guide-table td { white-space: normal; vertical-align: top; font-size: 14.5px; line-height: 1.5; }
.guide-table tbody th { background: transparent; color: var(--navy); font-weight: 700; white-space: nowrap; }
.guide-table thead th { white-space: nowrap; }

@media (max-width: 1240px) {
    .res-hero-inner { flex-direction: column; align-items: flex-start; }
    .res-features { flex-wrap: wrap; }
    .res-split, .res-bottom { grid-template-columns: 1fr; }
    .res-routes, .res-steps { justify-content: flex-start; }
    .res-routes .res-split-inner, .res-steps .res-split-inner, .res-tools .res-split-inner, .res-more .res-split-inner { max-width: none; }
}
@media (max-width: 1024px) {
    .res-cards { grid-template-columns: repeat(2, 1fr); }
    .route-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 760px) {
    .res-hero { padding: 40px 0 100px; }
    .res-hero-lead { font-size: 16px; }
    .res-features { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
    .res-features .icon { width: 24px; height: 24px; }
    .res-cards { grid-template-columns: 1fr; padding: 8px; }
    .res-split-inner { padding: 36px 16px; }
    .route-grid { grid-template-columns: repeat(2, 1fr); }
    .tool-grid { grid-template-columns: repeat(2, 1fr); }
    .steps { grid-template-columns: 1fr; }
    .step-chevron { display: none; }
}
/* resources page — refinements */
.res-hero-text { flex: 1 1 auto; max-width: 760px; }
.res-hero-title { font-size: clamp(30px, 3.4vw, 48px); }
.res-features { align-self: flex-end; margin-bottom: 4px; }
.res-card-img { flex-shrink: 0; }
.res-checks { align-content: start; }
.res-card-img img { position: absolute; inset: 0; }
@media (min-width: 1241px) {
    .res-hero-inner { position: relative; display: block; }
    .res-hero-text { max-width: none; }
    .res-hero-title { white-space: nowrap; }
    .res-features { position: absolute; right: 24px; bottom: 0; margin: 0; }
}
.two-col > * { min-width: 0; }
@media (max-width: 1240px) {
    .res-features { align-self: flex-start; }
}
.route-card { justify-content: center; padding: 16px 6px; }
.route-card:hover { transform: none; box-shadow: var(--shadow-sm); }
.route-name { flex: 0 0 auto; }
.tool-card { justify-content: center; padding: 18px 8px; }
.tool-card:hover { transform: none; box-shadow: var(--shadow-sm); }
.tool-card > span:first-of-type { flex: 0 0 auto; }

/* =========================================================
   Services page
   ========================================================= */
.svc-hero {
    position: relative; color: #fff;
    background: linear-gradient(90deg, rgba(6,14,30,.92) 0%, rgba(6,14,30,.68) 36%, rgba(6,14,30,.12) 66%, rgba(6,14,30,0) 100%), var(--bg) center 55% / cover;
}
.svc-hero-inner { padding-top: 52px; padding-bottom: 36px; }
.svc-hero-title { color: #fff; font-size: clamp(30px, 3.6vw, 50px); font-weight: 700; line-height: 1.12; margin: 6px 0 16px; }
.lang-th .svc-hero-title { line-height: 1.3; }
.svc-hero-title span { color: var(--yellow); }
.svc-hero-lead { max-width: 540px; font-size: 16.5px; color: rgba(255,255,255,.88); margin: 0; }
.svc-features { background: rgba(6,14,30,.78); backdrop-filter: blur(2px); border-top: 1px solid rgba(255,255,255,.08); }
.svc-features ul { display: grid; grid-template-columns: repeat(4, 1fr); }
.svc-features li { display: flex; align-items: center; gap: 14px; padding: 16px 18px; }
.svc-features li + li { border-left: 1px solid rgba(255,255,255,.15); }
.svc-features li:first-child { padding-left: 0; }
.svc-features .icon { width: 34px; height: 34px; color: var(--yellow); flex-shrink: 0; }
.svc-features strong { display: block; font-size: 15px; color: #fff; }
.svc-features span { font-size: 13.5px; color: rgba(255,255,255,.75); }

.svc-list-section { padding-top: 40px; padding-bottom: 44px; }
.svc-list-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: 22px; }
.svc-list-head .h2 { margin: 0; }
.svc-list-head > p { max-width: 380px; color: var(--muted); font-size: 15px; margin: 0; }

.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.svc-card {
    display: grid; grid-template-columns: 1fr 40%;
    background: #fff; border: 1px solid var(--line); border-radius: 4px; overflow: hidden;
    box-shadow: 0 2px 10px rgba(11,27,54,.06); transition: transform .25s, box-shadow .25s;
}
.svc-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); color: inherit; }
.svc-card:hover .svc-more .icon { transform: translateX(4px); }
.svc-card-body { padding: 18px 16px 18px 18px; display: flex; flex-direction: column; min-width: 0; }
.svc-card-head { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.svc-num {
    flex-shrink: 0; width: 34px; height: 34px; border-radius: 3px; background: var(--yellow); color: var(--ink);
    display: grid; place-items: center; font-family: var(--font-head); font-weight: 700; font-size: 15px;
}
.svc-icon { width: 28px; height: 28px; color: var(--navy); flex-shrink: 0; }
.svc-card h3 { font-size: 17px; color: var(--navy); margin: 0; line-height: 1.25; }
.svc-card p { font-size: 14px; line-height: 1.5; color: var(--muted); margin-bottom: 12px; }
.svc-card .res-checks { gap: 5px; margin-bottom: 14px; }
.svc-card .res-checks li { font-size: 13.5px; align-items: flex-start; line-height: 1.4; }
.svc-card .res-checks .icon { width: 16px; height: 16px; margin-top: 1px; }
.svc-more {
    align-self: flex-start; display: inline-flex; align-items: center; gap: 8px;
    font-weight: 600; font-size: 14.5px; color: var(--navy); border-bottom: 2px solid var(--navy); padding-bottom: 1px;
}
.svc-more .icon { color: var(--yellow-dark); transition: transform .2s; }
.svc-card-img { position: relative; min-height: 220px; }
.svc-card-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

.svc-process {
    color: rgba(255,255,255,.85);
    background: linear-gradient(90deg, rgba(6,14,30,.95), rgba(6,14,30,.82)), var(--bg) center / cover;
}
.svc-process-inner { display: flex; align-items: center; gap: 40px; padding-top: 28px; padding-bottom: 28px; }
.svc-process-head { flex: 0 0 280px; }
.svc-process-head .h3 { margin: 0; }
.svc-steps { flex: 1; list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; margin: 0; padding: 0; }
.svc-steps li { display: flex; gap: 12px; align-items: flex-start; position: relative; }
.svc-steps strong { display: block; color: #fff; font-size: 15px; margin: 4px 0 2px; }
.svc-steps span:not(.step-num) { display: block; font-size: 13px; line-height: 1.45; }
.svc-step-icon { width: 26px; height: 26px; color: #fff; }
.svc-steps .step-chevron { right: -20px; top: 30px; }

.svc-cta { display: grid; grid-template-columns: 1fr 30%; background: var(--bg-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16'%3E%3Ccircle cx='2' cy='2' r='1' fill='%23cfd6e3'/%3E%3C/svg%3E"); }
.svc-cta-text { display: flex; justify-content: flex-end; }
.svc-cta-inner { width: 100%; max-width: 920px; padding: 30px 40px 30px 24px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.svc-cta h2 { margin-bottom: 4px; }
.svc-cta p { margin: 0; color: var(--muted); }
.svc-cta-img { position: relative; min-height: 150px; }
.svc-cta-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

@media (max-width: 1240px) {
    .svc-grid { grid-template-columns: repeat(2, 1fr); }
    .svc-process-inner { flex-direction: column; align-items: flex-start; gap: 20px; }
    .svc-process-head { flex: none; }
    .svc-steps { width: 100%; }
}
@media (max-width: 1024px) {
    .svc-features ul { grid-template-columns: repeat(2, 1fr); }
    .svc-features li:nth-child(3) { border-left: 0; padding-left: 0; }
    .svc-list-head { flex-direction: column; align-items: flex-start; gap: 10px; }
    .svc-steps { grid-template-columns: repeat(2, 1fr); }
    .svc-steps .step-chevron { display: none; }
    .svc-cta { grid-template-columns: 1fr; }
    .svc-cta-text { justify-content: flex-start; }
    .svc-cta-img { display: none; }
}
@media (max-width: 760px) {
    .svc-hero-inner { padding-top: 40px; }
    .svc-features ul { grid-template-columns: 1fr; padding-top: 6px; padding-bottom: 6px; }
    .svc-features li { padding: 10px 0; border-left: 0 !important; }
    .svc-grid { grid-template-columns: 1fr; }
    .svc-card { grid-template-columns: 1fr; }
    .svc-card-img { order: -1; min-height: 0; aspect-ratio: 16 / 9; }
    .svc-steps { grid-template-columns: 1fr; }
    .svc-cta-inner { padding: 30px 16px; }
}
/* services page — tighten to match reference */
.svc-list-head .h2 { font-size: clamp(24px, 2.4vw, 31px); }
.svc-list-head > p { max-width: 340px; font-size: 14px; }
.svc-card { grid-template-columns: 1fr 37%; }
.svc-card-body { padding: 16px 12px 16px 16px; }
.svc-card-head { gap: 8px; margin-bottom: 8px; }
.svc-num { width: 30px; height: 30px; font-size: 14px; }
.svc-icon { width: 24px; height: 24px; }
.svc-card h3 { font-size: 15.5px; }
.svc-card p { font-size: 13.5px; margin-bottom: 10px; }
.svc-card .res-checks { gap: 4px; margin-bottom: 12px; }
.svc-card .res-checks li { font-size: 13px; gap: 8px; }
.svc-card .res-checks .icon { width: 15px; height: 15px; }
.svc-more { font-size: 14px; }
.svc-card-img img { object-position: center 65%; }
.svc-process-head { flex-basis: 300px; }
.svc-process-head .h3 { font-size: 21px; }
@media (max-width: 760px) {
    .svc-card h3 { font-size: 17px; }
    .svc-card .res-checks li { font-size: 14px; }
}
.svc-list-head .h2 { font-size: clamp(24px, 2.2vw, 28px); }
.svc-list-head > p { max-width: 320px; }
.svc-card { grid-template-columns: 1fr 34%; }
.svc-card h3 { font-size: 15px; }
@media (max-width: 1240px) {
    .svc-process-head { flex-basis: auto; }
}
@media (max-width: 760px) {
    .svc-card { grid-template-columns: 1fr; }
    .svc-card-img { aspect-ratio: 16 / 9; min-height: 0; }
}

/* services page — match reference proportions */
.svc-hero { background: linear-gradient(90deg, rgba(6,14,30,.86) 0%, rgba(6,14,30,.55) 34%, rgba(6,14,30,.05) 62%, rgba(6,14,30,0) 100%), var(--bg) center 62% / cover; }
.svc-hero-inner { padding-top: 30px; padding-bottom: 22px; }
.svc-hero .eyebrow { margin-bottom: 2px; }
.svc-hero-title { font-size: clamp(30px, 3.3vw, 44px); margin: 4px 0 10px; line-height: 1.1; }
.svc-hero-lead { font-size: 15.5px; line-height: 1.5; max-width: 500px; }
.svc-features { background: rgba(6,14,30,.72); }
.svc-features li { padding: 11px 18px; }
.svc-features .icon { width: 30px; height: 30px; }
.svc-features strong { font-size: 14.5px; }
.svc-features span { font-size: 13px; }

.svc-list-section .container, .svc-process .container { max-width: 1300px; }
.svc-list-section { padding-top: 24px; padding-bottom: 20px; }
.svc-list-head { margin-bottom: 16px; }
.svc-grid { gap: 16px; }
.svc-card { grid-template-columns: 1fr 41%; border: 0; box-shadow: 0 2px 14px rgba(11,27,54,.10); }
.svc-card-body { padding: 14px 10px 14px 16px; }
.svc-card-head { margin-bottom: 6px; }
.svc-num { width: 32px; height: 32px; }
.svc-icon { width: 28px; height: 28px; }
.svc-card h3 { font-size: 16px; }
.svc-card p { font-size: 13.5px; line-height: 1.4; margin-bottom: 8px; }
.svc-card .res-checks { gap: 3px; margin-bottom: 10px; }
.svc-card .res-checks li { font-size: 13px; line-height: 1.35; }
.svc-card-img { min-height: 0; }
.svc-card-img img { object-position: center; }

.svc-process-inner { padding-top: 18px; padding-bottom: 18px; }
.svc-process-head .h3 { font-size: 20px; }
.svc-step-icon { width: 24px; height: 24px; }
.svc-steps strong { margin-top: 2px; }

.svc-cta { grid-template-columns: 1fr 26%; }
.svc-cta-inner { max-width: 1000px; padding: 16px 32px 16px 24px; flex-wrap: nowrap; }
.svc-cta-inner > div:first-child { min-width: 0; }
.svc-cta h2 { font-size: 21px; margin-bottom: 2px; }
.svc-cta p { font-size: 14.5px; }
.svc-cta .cta-actions { flex-shrink: 0; flex-wrap: nowrap; }
.svc-cta .btn-lg { padding: 11px 26px; font-size: 15px; }
.svc-cta-img { min-height: 92px; }

@media (max-width: 1240px) {
    .svc-cta-inner { flex-wrap: wrap; }
}
@media (max-width: 760px) {
    .svc-card { grid-template-columns: 1fr; }
    .svc-card-img { aspect-ratio: 16 / 9; }
    .svc-cta .cta-actions { flex-wrap: wrap; }
}
.svc-card { grid-template-columns: 1fr 37%; }
.svc-card-head { gap: 7px; }
.svc-card h3 { font-size: 15px; white-space: nowrap; }
@media (max-width: 1240px) { .svc-card h3 { white-space: normal; } }
@media (max-width: 1299px) { .svc-card h3 { white-space: normal; } }

/* services page — mobile overrides (keep last so desktop tweaks above never win on phones) */
@media (max-width: 760px) {
    .svc-card { grid-template-columns: 1fr; }
    .svc-card-img { order: -1; aspect-ratio: 16 / 9; min-height: 0; }
    .svc-card h3 { white-space: normal; font-size: 17px; }
}
@media (max-width: 1024px) {
    .svc-features li:nth-child(odd) { padding-left: 0; }
    .svc-features li:nth-child(3) { border-left: 0; }
}
@media (max-width: 760px) {
    .svc-features li { padding: 9px 0; border-left: 0; }
}

/* =========================================================
   About page
   ========================================================= */
.ab-hero {
    color: #fff; padding: 40px 0 36px;
    background: linear-gradient(90deg, rgba(6,14,30,.9) 0%, rgba(6,14,30,.6) 36%, rgba(6,14,30,.08) 64%, rgba(6,14,30,0) 100%), var(--bg) center 50% / cover;
}
.ab-hero-title { color: #fff; font-size: clamp(30px, 3.4vw, 46px); font-weight: 700; line-height: 1.12; margin: 6px 0 14px; }
.lang-th .ab-hero-title { line-height: 1.3; }
.ab-hero-title span { color: var(--yellow); }
.ab-hero-lead { max-width: 480px; font-size: 16px; color: rgba(255,255,255,.9); margin: 0; }

.ab-company { padding: 28px 0 24px; background: var(--bg-soft); }
.ab-company-grid { display: grid; grid-template-columns: 1.15fr 1fr .7fr; gap: 18px; align-items: stretch; }
.ab-company-text { padding-left: 14px; border-left: 4px solid var(--yellow); }
.ab-company-text .h2 { font-size: clamp(22px, 2.2vw, 28px); margin-bottom: 6px; }
.ab-sub { font-family: var(--font-head); font-weight: 600; color: var(--navy); font-size: 16px; line-height: 1.35; }
.ab-company-text > p:not(.eyebrow):not(.ab-sub) { font-size: 14.5px; line-height: 1.6; }
.ab-company-img { border-radius: 4px; overflow: hidden; box-shadow: var(--shadow); background: var(--yellow); display: grid; place-items: center; }
.ab-company-img img { width: 100%; height: 100%; object-fit: contain; }
.ab-pillars { display: grid; gap: 8px; }
.ab-pillars li { display: flex; gap: 12px; align-items: center; background: var(--navy); color: rgba(255,255,255,.75); border-radius: 4px; padding: 12px 14px; }
.ab-pillars .icon { width: 30px; height: 30px; color: var(--yellow); flex-shrink: 0; }
.ab-pillars strong { display: block; color: #fff; font-size: 14.5px; }
.ab-pillars span { font-size: 12.5px; line-height: 1.35; display: block; }

.ab-vmv { display: grid; grid-template-columns: 1fr 1fr 1.3fr; gap: 14px; margin-top: 18px; }
.ab-vmv-card { display: flex; gap: 16px; align-items: center; background: #fff; border-radius: 4px; padding: 16px 18px; box-shadow: var(--shadow-sm); }
.ab-vmv-card .eyebrow { margin-bottom: 2px; }
.ab-vmv-card .eyebrow::before { display: none; }
.ab-vmv-card p:not(.eyebrow) { margin: 0; font-size: 14.5px; line-height: 1.5; }
.ab-vmv-icon { width: 52px; height: 52px; border-radius: 50%; background: var(--yellow); color: var(--ink); display: grid; place-items: center; flex-shrink: 0; }
.ab-vmv-icon .icon { width: 24px; height: 24px; }
.ab-values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-top: 4px; }
.ab-values li { display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; font-size: 11.5px; line-height: 1.25; font-weight: 600; color: var(--navy); }
.ab-values .icon { width: 22px; height: 22px; color: var(--navy); }

.ab-stats { color: #fff; background: linear-gradient(90deg, rgba(6,14,30,.96), rgba(6,14,30,.88)), var(--bg) center / cover; }
.ab-stats-inner { display: flex; align-items: center; gap: 28px; padding-top: 22px; padding-bottom: 22px; }
.ab-stats-head { flex: 0 0 200px; }
.ab-stats-head .eyebrow { color: var(--yellow); }
.ab-stats-head .h3 { margin: 0; }
.ab-stats-list { flex: 1; display: grid; grid-template-columns: repeat(5, 1fr); }
.ab-stats-list li { display: flex; flex-direction: column; gap: 2px; padding: 0 18px; border-left: 1px solid rgba(255,255,255,.18); }
.ab-stats-list .icon { width: 36px; height: 36px; color: #fff; margin-bottom: 6px; }
.ab-stats-list strong { font-family: var(--font-head); font-size: 24px; color: var(--yellow); line-height: 1.1; }
.ab-stats-list span { font-size: 13px; color: rgba(255,255,255,.85); line-height: 1.3; }

.ab-network { display: grid; grid-template-columns: 38% 1fr; min-height: 300px; }
.ab-network-text { display: flex; justify-content: flex-end; align-items: center; background: var(--bg-soft); }
.ab-network-inner { width: 100%; max-width: 520px; padding: 32px 32px 32px 24px; }
.ab-network-inner .h2 { font-size: clamp(24px, 2.4vw, 30px); }
.ab-network-inner p:not(.eyebrow) { font-size: 15px; }
.ab-network-map { position: relative; background: linear-gradient(90deg, rgba(11,27,54,1) 0%, rgba(11,27,54,.92) 45%, rgba(11,27,54,.35) 75%, rgba(11,27,54,.1) 100%), var(--bg) right center / cover; }
.ab-map { position: absolute; inset: 24px 34% 30px 6%; }
.ab-map-lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.ab-map-lines path { fill: none; stroke: var(--yellow); stroke-width: 1.4; stroke-dasharray: 4 4; vector-effect: non-scaling-stroke; opacity: .9; }
.ab-node { position: absolute; transform: translate(-6px, -50%); display: flex; align-items: center; gap: 7px; color: #fff; font-weight: 600; font-size: 14px; white-space: nowrap; text-shadow: 0 1px 3px rgba(0,0,0,.6); }
.ab-node i { width: 12px; height: 12px; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 0 4px rgba(246,190,30,.3); flex-shrink: 0; }
.ab-hub { flex-direction: column; gap: 2px; transform: translate(-50%, -88%); font-size: 15px; letter-spacing: .04em; }
.ab-hub .icon { width: 28px; height: 28px; color: var(--yellow); }

.ab-facilities { padding: 28px 0; }
.ab-fac-grid { display: grid; grid-template-columns: 1.25fr 1fr 1fr 1fr; gap: 16px; align-items: start; }
.ab-fac-text { padding-left: 14px; border-left: 4px solid var(--yellow); }
.ab-fac-text .h2 { font-size: clamp(22px, 2.2vw, 28px); }
.ab-fac-text p:not(.eyebrow) { font-size: 14.5px; line-height: 1.55; }
.ab-fac-card { margin: 0; }
.ab-fac-card img { width: 100%; aspect-ratio: 1.5 / 1; object-fit: cover; border-radius: 4px; box-shadow: var(--shadow-sm); }
.ab-fac-card figcaption { padding-top: 8px; }
.ab-fac-card strong { display: block; color: var(--navy); font-family: var(--font-head); font-size: 15.5px; }
.ab-fac-card span { font-size: 13.5px; color: var(--muted); line-height: 1.4; display: block; }

.ab-team { display: grid; grid-template-columns: 38% 1fr; background: var(--navy); }
.ab-team-text { display: flex; justify-content: flex-end; align-items: center; color: rgba(255,255,255,.85); }
.ab-team-inner { width: 100%; max-width: 520px; padding: 28px 28px 28px 24px; }
.ab-team-inner .h2 { font-size: clamp(22px, 2.3vw, 28px); }
.ab-team-inner p:not(.eyebrow) { font-size: 14.5px; margin: 0; }
.ab-team-photos { display: grid; grid-template-columns: 1.15fr 1fr 1fr; gap: 4px; }
.ab-team-photos img { width: 100%; height: 100%; min-height: 200px; object-fit: cover; }

@media (max-width: 1240px) {
    .ab-company-grid { grid-template-columns: 1fr 1fr; }
    .ab-pillars { grid-column: 1 / -1; grid-template-columns: repeat(4, 1fr); }
    .ab-vmv { grid-template-columns: 1fr 1fr; }
    .ab-vmv-card:last-child { grid-column: 1 / -1; }
    .ab-stats-inner { flex-direction: column; align-items: flex-start; }
    .ab-stats-head { flex: none; }
    .ab-stats-list { width: 100%; }
    .ab-fac-grid { grid-template-columns: repeat(3, 1fr); }
    .ab-fac-text { grid-column: 1 / -1; }
}
@media (max-width: 1024px) {
    .ab-network, .ab-team { grid-template-columns: 1fr; }
    .ab-network-text, .ab-team-text { justify-content: flex-start; }
    .ab-network-inner, .ab-team-inner { max-width: none; padding: 36px 24px; }
    .ab-network-map { min-height: 340px; }
    .ab-map { right: 22%; }
    .ab-stats-list { grid-template-columns: repeat(3, 1fr); row-gap: 18px; }
}
@media (max-width: 760px) {
    .ab-company-grid { grid-template-columns: 1fr; }
    .ab-pillars { grid-template-columns: 1fr 1fr; }
    .ab-vmv { grid-template-columns: 1fr; }
    .ab-values { grid-template-columns: repeat(2, 1fr); row-gap: 10px; }
    .ab-stats-list { grid-template-columns: 1fr 1fr; }
    .ab-stats-list li { padding: 0 12px; }
    .ab-network-inner, .ab-team-inner { padding: 32px 16px; }
    .ab-map { inset: 24px 16px 30px 16px; }
    .ab-node { font-size: 12.5px; }
    .ab-fac-grid { grid-template-columns: 1fr; }
    .ab-team-photos { grid-template-columns: 1fr 1fr; }
    .ab-team-photos img:first-child { grid-column: 1 / -1; }
    .ab-team-photos img { min-height: 160px; }
}

/* about page — match reference look */
.ab-hero { padding: 44px 0 40px; background: linear-gradient(90deg, rgba(6,14,30,.82) 0%, rgba(6,14,30,.5) 32%, rgba(6,14,30,0) 58%), var(--bg) center 60% / cover; }
.ab-hero-title { font-size: clamp(32px, 3.6vw, 50px); text-shadow: 0 2px 12px rgba(0,0,0,.35); }
.ab-company-img { position: relative; background: var(--navy); }
.ab-company-img > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ab-company-badge { position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); width: 62%; background: var(--yellow); padding: 10px 14px; border-radius: 4px; box-shadow: 0 8px 24px rgba(0,0,0,.35); line-height: 0; }
.ab-company-badge img { width: 100%; height: auto; }
.ab-pillars .icon { width: 34px; height: 34px; }

.ab-network-map { background: linear-gradient(90deg, #0d2347 0%, rgba(13,35,71,.95) 40%, rgba(13,35,71,.35) 70%, rgba(13,35,71,0) 88%), var(--bg) right 60% / cover; min-height: 320px; }
.ab-map { inset: auto; left: 2%; top: 50%; transform: translateY(-50%); height: 94%; aspect-ratio: 340 / 275; }
.ab-map-land, .ab-map-lines { position: absolute; inset: 0; width: 100%; height: 100%; }
.ab-map-land { opacity: .95; filter: drop-shadow(0 0 18px rgba(80,140,230,.25)); }
.ab-map-lines path { stroke-width: 1.6; }
.ab-node { font-size: 14.5px; }
.ab-node i { width: 11px; height: 11px; border: 2px solid #fff; box-shadow: 0 0 0 4px rgba(246,190,30,.35); }
.ab-hub { font-size: 15px; font-weight: 700; }
.ab-hub .icon { width: 30px; height: 30px; filter: drop-shadow(0 2px 4px rgba(0,0,0,.5)); }

.ab-fac-card img { aspect-ratio: 1.45 / 1; }
.ab-team-photos { gap: 0; }

@media (max-width: 1024px) {
    .ab-map { left: 50%; transform: translate(-50%, -50%); }
}
@media (max-width: 760px) {
    .ab-network-map { min-height: 300px; background: linear-gradient(rgba(13,35,71,.88), rgba(13,35,71,.88)), var(--bg) center / cover; }
    .ab-map { height: auto; width: 92%; }
    .ab-node { font-size: 11.5px; gap: 5px; }
    .ab-company-img { min-height: 240px; }
}
.ab-hero { background: linear-gradient(90deg, rgba(6,14,30,.9) 0%, rgba(6,14,30,.72) 30%, rgba(6,14,30,.2) 55%, rgba(6,14,30,0) 72%), var(--bg) center 60% / cover; }
.ab-network-map { background: linear-gradient(90deg, #0d2347 0%, rgba(13,35,71,.96) 42%, rgba(13,35,71,.45) 64%, rgba(13,35,71,0) 82%), var(--bg) right 55% / cover; min-height: 340px; }
.ab-map { height: 104%; left: 0; }
.ab-node-left { flex-direction: row-reverse; transform: translate(calc(-100% + 6px), -50%); }
@media (max-width: 760px) { .ab-map { height: auto; } }
.ab-map { left: 5%; }
.ab-map-land {
    -webkit-mask-image: radial-gradient(ellipse 62% 60% at 52% 55%, #000 55%, transparent 100%);
            mask-image: radial-gradient(ellipse 62% 60% at 52% 55%, #000 55%, transparent 100%);
}
@media (max-width: 1024px) {
    .ab-map { left: 50%; transform: translate(-50%, -50%); }
}
@media (max-width: 760px) {
    .ab-network-map { min-height: 340px; }
    .ab-map { height: auto; width: 86%; left: 50%; transform: translate(-50%, -50%); }
}

/* about page — design-file imagery */
.ab-hero {
    padding: 0; min-height: 300px; display: flex; align-items: center;
    background:
        linear-gradient(90deg, #0b1a33 0%, #0b1a33 38%, rgba(11,26,51,.85) 46%, rgba(11,26,51,0) 60%),
        var(--bg) right center / auto 100% no-repeat,
        #0b1a33;
}
.ab-hero .container { padding-top: 36px; padding-bottom: 36px; }
.ab-hero-title { text-shadow: none; }
.ab-company-img { background: #fff; }
.ab-company-img > img { position: static; width: 100%; height: 100%; object-fit: cover; }
.ab-network-map { background: #0d2347; min-height: 0; display: flex; align-items: stretch; }
.ab-network-map img { width: 100%; height: 100%; object-fit: cover; object-position: left center; display: block; }
.ab-network { grid-template-columns: 35% 1fr; min-height: 0; }
.ab-fac-card img { aspect-ratio: 184 / 119; }
.ab-team-photos { grid-template-columns: 221fr 192fr 198fr; }
@media (max-width: 1024px) {
    .ab-hero { background: linear-gradient(rgba(11,26,51,.78), rgba(11,26,51,.78)), var(--bg) right center / cover; }
    .ab-network-map img { height: auto; }
}
@media (max-width: 760px) {
    .ab-network-map { min-height: 0; }
    .ab-team-photos { grid-template-columns: 1fr 1fr; }
}

/* =========================================================
   Contact page
   ========================================================= */
.ct-hero {
    color: #fff; position: relative;
    background:
        linear-gradient(90deg, #0b1a33 0%, #0b1a33 40%, rgba(11,26,51,.85) 47%, rgba(11,26,51,0) 60%),
        var(--bg) right top / auto calc(100% - 70px) no-repeat,
        #0b1a33;
}
.ct-hero-inner { padding-top: 34px; padding-bottom: 30px; }
.ct-hero-title { color: #fff; font-size: clamp(30px, 3.4vw, 46px); font-weight: 700; line-height: 1.12; margin: 6px 0 14px; }
.lang-th .ct-hero-title { line-height: 1.3; }
.ct-hero-title span { color: var(--yellow); }
.ct-hero-lead { max-width: 480px; font-size: 16px; color: rgba(255,255,255,.9); margin: 0; }
.ct-features { position: relative; background: rgba(8,18,36,.92); border-top: 1px solid rgba(255,255,255,.08); }
.ct-features ul { display: grid; grid-template-columns: repeat(4, 1fr); }
.ct-features li { display: flex; align-items: center; gap: 14px; padding: 14px 18px; }
.ct-features li:first-child { padding-left: 0; }
.ct-features li + li { border-left: 1px solid rgba(255,255,255,.15); }
.ct-features .icon { width: 32px; height: 32px; color: var(--yellow); flex-shrink: 0; }
.ct-features strong { display: block; font-size: 14.5px; color: #fff; }
.ct-features span { font-size: 13px; color: rgba(255,255,255,.75); }

.ct-main { padding: 28px 0 22px; }
.ct-main-grid { display: grid; grid-template-columns: 1fr 350px; gap: 26px; align-items: start; }
.ct-office-head { padding-left: 14px; border-left: 4px solid var(--yellow); margin-bottom: 16px; }
.ct-office-head .h2 { font-size: clamp(22px, 2.4vw, 30px); margin-bottom: 6px; }
.ct-office-head p:not(.eyebrow) { color: var(--muted); max-width: 520px; margin: 0; font-size: 15px; }
.ct-office { display: grid; grid-template-columns: 1.6fr 1fr; gap: 22px; align-items: start; }
.ct-building { width: 100%; border-radius: 4px; box-shadow: var(--shadow); aspect-ratio: 366 / 270; object-fit: cover; }
.ct-info { display: grid; gap: 14px; }
.ct-info li { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; line-height: 1.45; color: var(--text); }
.ct-info strong { display: block; color: var(--navy); font-family: var(--font-head); font-size: 15px; }
.ct-info a:hover { color: var(--navy); text-decoration: underline; }
.ct-ico { width: 30px; height: 30px; border-radius: 50%; background: var(--yellow); color: var(--ink); display: grid; place-items: center; flex-shrink: 0; }
.ct-ico .icon { width: 14px; height: 14px; }

.ct-map-row { display: grid; grid-template-columns: 1fr 150px; gap: 14px; margin-top: 26px; align-items: stretch; }
.ct-map { padding-left: 14px; border-left: 4px solid var(--yellow); }
.ct-map .h2 { font-size: clamp(20px, 2vw, 25px); margin-bottom: 2px; }
.ct-map p:not(.eyebrow) { color: var(--muted); font-size: 14.5px; margin-bottom: 12px; }
.ct-map .map-embed { min-height: 190px; border-radius: 4px; overflow: hidden; box-shadow: var(--shadow-sm); }
.ct-dir { display: flex; flex-direction: column; background: #0b1a33; color: #fff; border-radius: 4px; overflow: hidden; }
.ct-dir:hover { color: var(--yellow); }
.ct-dir img { width: 100%; aspect-ratio: 141 / 150; object-fit: cover; }
.ct-dir-text { padding: 12px 14px 8px; font-family: var(--font-head); font-weight: 600; font-size: 15px; line-height: 1.3; }
.ct-dir .circle-arrow { margin: 0 14px 14px; }

.ct-form { background: var(--bg-soft); border: 0; padding: 22px 20px 20px; box-shadow: var(--shadow-sm); }
.ct-form .eyebrow, .ct-form .h2 { margin-left: 0; }
.ct-form > .eyebrow { padding-left: 12px; border-left: 4px solid var(--yellow); margin-bottom: 0; }
.ct-form > .eyebrow::before { display: none; }
.ct-form > .h2 { font-size: 26px; padding-left: 16px; border-left: 4px solid var(--yellow); margin-bottom: 6px; }
.ct-form-lead { font-size: 14px; color: var(--muted); }
.ct-form .form-grid { gap: 12px 12px; }
.ct-form .field label { font-size: 14px; }
.ct-form .field input, .ct-form .field select, .ct-form .field textarea { background: #fff; padding: 9px 12px; font-size: 14.5px; }
.ct-send { margin-top: 16px; }

.ct-depts { padding: 10px 0 34px; }
.ct-depts .eyebrow { margin-bottom: 2px; }
.ct-depts .h2 { font-size: clamp(22px, 2.3vw, 28px); margin-bottom: 2px; }
.ct-depts-lead { color: var(--muted); font-size: 15px; margin-bottom: 16px; }
.ct-dept-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.ct-dept { background: #fff; border-radius: 4px; overflow: hidden; box-shadow: 0 2px 12px rgba(11,27,54,.09); }
.ct-dept img { width: 100%; aspect-ratio: 183 / 72; object-fit: cover; }
.ct-dept-body { padding: 12px 14px 14px; font-size: 13.5px; }
.ct-dept h3 { display: flex; align-items: center; gap: 8px; font-size: 14.5px; color: var(--navy); margin-bottom: 6px; }
.ct-dept h3 .icon { width: 20px; height: 20px; flex-shrink: 0; }
.ct-dept-body a { display: block; color: var(--text); line-height: 1.5; word-break: break-all; }
.ct-dept-body a:hover { color: var(--navy); text-decoration: underline; }
.ct-dept-body p { margin: 6px 0 0; color: var(--muted); font-size: 13px; line-height: 1.45; }

@media (max-width: 1240px) {
    .ct-main-grid { grid-template-columns: 1fr; }
    .ct-dept-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 1024px) {
    .ct-hero { background: linear-gradient(rgba(11,26,51,.78), rgba(11,26,51,.78)), var(--bg) right top / cover, #0b1a33; }
    .ct-features ul { grid-template-columns: repeat(2, 1fr); }
    .ct-features li:nth-child(odd) { padding-left: 0; }
    .ct-features li:nth-child(3) { border-left: 0; }
}
@media (max-width: 760px) {
    .ct-features ul { grid-template-columns: 1fr; padding-top: 6px; padding-bottom: 6px; }
    .ct-features li { padding: 9px 0; border-left: 0; }
    .ct-office { grid-template-columns: 1fr; }
    .ct-map-row { grid-template-columns: 1fr; }
    .ct-dir { flex-direction: row; align-items: center; }
    .ct-dir img { width: 110px; aspect-ratio: 1; }
    .ct-dir-text { flex: 1; padding: 12px; }
    .ct-dir .circle-arrow { margin: 0 14px 0 0; }
    .ct-dept-grid { grid-template-columns: 1fr 1fr; }
    .ct-form .form-grid { grid-template-columns: 1fr; }
}
.ct-map { padding-left: 0; border-left: 0; display: flex; flex-direction: column; }
.ct-map-head { padding-left: 14px; border-left: 4px solid var(--yellow); }
.ct-map .map-embed { flex: 1; }

/* รูปอาคารในหน้าเกี่ยวกับเรา / ติดต่อเรา: ถ้าเลือกไฟล์โลโก้ (ชื่อมีคำว่า logo) แสดงเต็มโลโก้บนพื้นเหลือง ไม่ crop */
.ab-company-img img[src*="logo"],
.ct-building[src*="logo"] { object-fit: contain; background: #ffcb31; }

/* รูปข้างข้อมูลบริษัท (หน้าเกี่ยวกับเรา): รูปคนแนวตั้ง — ให้เห็นช่วงใบหน้าเมื่อกรอบถูก crop */
.ab-company-img > img { object-position: center 22%; }

/* หน้าแรก: แถบสถิติและส่วนบริการกว้างเท่าแถบเมนู (header-inner 1400px) */
.stats-wrap .container,
.section-services .container { max-width: 1400px; }

/* หน้าแรก: ส่วน About + Shipping Resources — ขอบข้อความตรงกับเมนู (1400px)
   แต่ละฝั่ง = 1400/2 - 24 (ระยะขอบ container) + 48 (padding ด้านใน) = 724px — เฉพาะจอใหญ่ จอเล็กใช้ค่าเดิม */
@media (min-width: 1025px) {
    .split .split-inner { max-width: 724px; }
}

/* หน้าแรก: เพิ่มความสูงส่วนบริการ และส่วน About + Shipping Resources — เฉพาะจอใหญ่ */
@media (min-width: 1025px) {
    .section-services { padding-top: 120px; padding-bottom: 120px; }
    .section-services .section-head { margin-bottom: 40px; }
    .section-services .service-card-img { aspect-ratio: 1 / 1; }
    .section-services .service-card-body { padding: 24px 20px 26px; }
    .split .split-inner { padding-top: 140px; padding-bottom: 140px; }
    .split .resource-card { padding: 48px 12px 40px; }
}

/* หน้าเกี่ยวกับเรา: ส่วน Our Facilities กว้างเกือบเต็มจอ (ขอบซ้ายใกล้เคียงข้อความ Global Network ด้านบน) */
.ab-facilities .container { max-width: 1760px; }
