:root {
  --ink: #07111f;
  --ink-soft: #101e30;
  --blue: #03a9e6;
  --blue-bright: #39c1f2;
  --gold: #f9bd13;
  --paper: #f7f8fa;
  --white: #ffffff;
  --text: #314052;
  --muted: #687587;
  --line: #dde3ea;
  --display: "Manrope", "Segoe UI", sans-serif;
  --body: "Source Sans 3", "Segoe UI", sans-serif;
  --shadow: 0 28px 70px rgba(2, 12, 27, .14);
}

html[lang="th"] {
  --display: "Noto Sans Thai", "Segoe UI", sans-serif;
  --body: "Noto Sans Thai", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; color: var(--text); background: var(--white); font-family: var(--body); font-size: 18px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font: inherit; }
.container { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }
.section { padding: 86px 0 102px; }
.skip-link { position: fixed; top: 10px; left: 10px; z-index: 1000; padding: 10px 16px; color: var(--ink); background: var(--gold); transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }

.site-header { position: fixed; inset: 0 0 auto; z-index: 100; border-bottom: 1px solid rgba(255,255,255,.11); color: var(--white); transition: background .25s, box-shadow .25s, border-color .25s; }
.site-header.scrolled { color: var(--ink); background: rgba(255,255,255,.96); border-color: var(--line); box-shadow: 0 8px 30px rgba(7,17,31,.07); backdrop-filter: blur(12px); }
.nav-wrap { height: 86px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; width: 196px; position: relative; z-index: 2; }
.brand img { width: 100%; height: auto; }
.site-header:not(.scrolled) .brand img { filter: drop-shadow(0 2px 3px rgba(0,0,0,.15)); }
.primary-nav { display: flex; align-items: center; gap: 34px; margin-left: auto; font-family: var(--display); font-size: 14px; font-weight: 600; }
.primary-nav > a:not(.nav-cta) { position: relative; }
.primary-nav > a:not(.nav-cta)::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -7px; height: 2px; background: var(--blue); transition: right .2s; }
.primary-nav > a:not(.nav-cta):hover::after { right: 0; }
.nav-cta { padding: 11px 18px; color: var(--ink); background: var(--gold); border-radius: 4px; }
.header-controls { position: relative; z-index: 3; display: flex; flex: 0 0 auto; flex-wrap: nowrap; align-items: center; gap: 10px; margin-left: 24px; }
.language-switch { display: inline-flex; flex: 0 0 auto; align-items: center; gap: 5px; color: var(--muted); font: 700 11px var(--display); letter-spacing: .06em; white-space: nowrap; }
.language-switch button { min-width: 26px; padding: 4px 3px; border: 0; border-radius: 3px; color: inherit; background: transparent; cursor: pointer; transition: color .2s, background .2s; }
.language-switch button:hover { color: var(--ink); background: rgba(0,169,230,.08); }
.language-switch button.active { color: #047ea9; background: rgba(0,169,230,.12); }
.language-switch button:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.menu-toggle { display: none; border: 0; background: transparent; color: inherit; }

.hero { position: relative; overflow: hidden; min-height: 720px; padding: 172px 0 50px; color: rgba(255,255,255,.75); background: var(--ink); }
.hero::before { content: ""; position: absolute; inset: 0; opacity: .4; background-image: linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px); background-size: 64px 64px; mask-image: linear-gradient(to right, black, transparent 65%); }
.hero-glow { position: absolute; width: 700px; height: 700px; top: -230px; right: -90px; border-radius: 50%; background: radial-gradient(circle, rgba(0,174,239,.18), transparent 66%); }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.12fr .88fr; gap: 64px; align-items: center; }
.eyebrow { margin: 0 0 24px; display: flex; align-items: center; gap: 12px; font-family: var(--display); font-size: 12px; line-height: 1; font-weight: 700; text-transform: uppercase; letter-spacing: .16em; color: var(--blue-bright); }
.eyebrow > span:first-child { width: 28px; height: 2px; flex: 0 0 28px; background: currentColor; }
.eyebrow.dark { color: #0489bc; }
.hero h1, h2 { margin: 0; color: var(--ink); font-family: var(--display); font-weight: 700; letter-spacing: -.045em; }
.hero h1 { max-width: 760px; color: var(--white); font-size: clamp(50px, 4.75vw, 70px); line-height: 1.08; }
.hero h1 em { color: var(--blue-bright); font-style: normal; }
.hero-lede { max-width: 640px; margin: 28px 0 0; font-size: 20px; line-height: 1.6; }
.hero-actions { display: flex; gap: 15px; align-items: center; margin-top: 38px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 28px; min-height: 54px; padding: 0 24px; border-radius: 4px; font-family: var(--display); font-size: 14px; font-weight: 700; transition: transform .2s, background .2s; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: var(--ink); background: var(--gold); }
.button-primary:hover { background: #ffd14a; }
.button-quiet { color: var(--white); border: 1px solid rgba(255,255,255,.22); }
.button-quiet:hover { background: rgba(255,255,255,.07); }
.hero-trust { display: flex; gap: 18px; margin-top: 28px; padding-top: 0; border-top: 0; }
.hero-trust div { display: grid; }
.hero-trust strong { color: var(--white); font-family: var(--display); font-size: 14px; white-space: nowrap; }
.hero-trust span { color: rgba(255,255,255,.48); font-size: 11px; line-height: 1.35; }
.hero-fit { display: grid; flex: 0 0 205px; gap: 5px; margin-top: 0; color: rgba(255,255,255,.7); font-family: var(--display); }
.hero-fit-label { display: flex; align-items: center; gap: 9px; color: rgba(255,255,255,.78); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; white-space: nowrap; }
.hero-fit-label::before { content: ""; width: 8px; height: 8px; flex: 0 0 auto; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 5px rgba(255,192,0,.13); }
.hero-fit p { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; margin: 0 0 0 17px; }
.hero-fit b { font-size: 14px; font-weight: 700; letter-spacing: .01em; }
.hero-fit i { color: var(--gold); font-style: normal; }
.hero-visual { position: relative; min-height: 480px; }
.system-card { position: absolute; z-index: 2; background: rgba(19,36,55,.94); border: 1px solid rgba(255,255,255,.13); border-radius: 8px; box-shadow: var(--shadow); backdrop-filter: blur(10px); }
.system-main { top: 48px; right: 0; width: 88%; padding: 25px; transform: perspective(900px) rotateY(-4deg) rotateX(2deg); }
.system-card-top { display: flex; align-items: center; gap: 10px; padding-bottom: 22px; border-bottom: 1px solid rgba(255,255,255,.1); color: rgba(255,255,255,.65); font-family: var(--display); font-size: 12px; }
.system-card-top small { margin-left: auto; color: #4ee1ad; font-size: 9px; letter-spacing: .14em; }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: #4ee1ad; box-shadow: 0 0 0 5px rgba(78,225,173,.1); }
.metric-row { display: flex; justify-content: space-between; align-items: end; margin: 28px 0 14px; }
.metric-row span { font-size: 13px; }
.metric-row strong { color: var(--white); font-family: var(--display); font-size: 28px; }
.metric-chart { height: 135px; display: flex; align-items: end; gap: 8px; border-bottom: 1px solid rgba(255,255,255,.12); background: repeating-linear-gradient(to bottom, rgba(255,255,255,.055) 0 1px, transparent 1px 45px); }
.metric-chart i { flex: 1; background: linear-gradient(to top, #0788bd, #35c4f5); border-radius: 3px 3px 0 0; opacity: .82; }
.system-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 20px; }
.system-stats div { padding: 13px; background: rgba(255,255,255,.035); border-radius: 4px; display: grid; }
.system-stats span { font-size: 11px; }
.system-stats b { color: var(--white); font-family: var(--display); font-size: 18px; }
.system-sap, .system-bi { display: flex; align-items: center; gap: 13px; padding: 14px 17px; }
.system-sap { left: 0; top: 4px; width: 180px; }
.system-bi { right: -15px; bottom: 10px; width: 170px; }
.mini-icon { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 4px; color: var(--white); background: var(--blue); font-family: var(--display); font-size: 13px; font-weight: 800; }
.mini-icon.gold { color: var(--ink); background: var(--gold); }
.system-card small, .system-card strong { display: block; }
.system-card div > small { color: rgba(255,255,255,.38); font: 700 8px var(--display); letter-spacing: .1em; }
.system-card div > strong { color: var(--white); font: 700 16px var(--display); }
.system-sap i { width: 7px; height: 7px; margin-left: auto; background: #4ee1ad; border-radius: 50%; }
.orbit { position: absolute; z-index: 1; border: 1px solid rgba(5,175,235,.22); border-radius: 50%; }
.orbit-one { inset: 0 25px 20px 15px; }
.orbit-two { inset: 52px -30px 60px 80px; }
.integration-visual { position: relative; top: auto; right: auto; width: min(100%, 500px); margin: 28px 0 0 auto; padding: 38px; overflow: hidden; color: var(--text); background: rgba(255,255,255,.82); border: 1px solid rgba(0,142,193,.15); border-radius: 10px; box-shadow: 0 28px 70px rgba(45,112,138,.14); }
.integration-visual::after { content: ""; position: absolute; width: 190px; height: 190px; right: -90px; top: -90px; border-radius: 50%; background: rgba(0,176,240,.09); }
.visual-kicker { display: flex; align-items: center; gap: 10px; color: #087fa9; font: 700 10px var(--display); text-transform: uppercase; letter-spacing: .14em; }
.visual-kicker > span:first-child { width: 20px; height: 2px; flex: 0 0 20px; background: var(--blue); }
.integration-visual h2 { margin: 22px 0 34px; font-size: 31px; line-height: 1.18; letter-spacing: -.04em; }
.integration-visual h2 em { color: #008fc6; font-style: normal; }
.integration-flow { display: grid; grid-template-columns: 1fr 52px 1.16fr; align-items: center; }
.flow-sources { display: grid; gap: 8px; }
.flow-sources small, .flow-hub small, .visual-outcome small { color: #78909f; font: 700 9px var(--display); text-transform: uppercase; letter-spacing: .12em; }
.flow-sources span { padding: 9px 11px; color: #3e5b6d; background: #f1f8fb; border: 1px solid rgba(7,17,31,.07); border-radius: 4px; font: 600 12px var(--display); }
.flow-connector { position: relative; display: flex; align-items: center; color: #008fc6; }
.flow-connector i { width: 100%; height: 1px; background: #8ed4ed; }
.flow-connector::after { content: ""; position: absolute; right: 1px; width: 8px; height: 8px; border-top: 2px solid #008fc6; border-right: 2px solid #008fc6; transform: rotate(45deg); }
.flow-hub { display: grid; gap: 5px; padding: 22px; color: var(--ink); background: linear-gradient(145deg, #c9edf9, #e2f6fc); border-left: 3px solid var(--blue); border-radius: 5px; }
.flow-hub small { margin-bottom: 6px; color: #087fa9; }
.flow-hub strong { font: 700 15px var(--display); }
.visual-outcome { display: flex; align-items: center; gap: 14px; margin-top: 28px; padding-top: 22px; border-top: 1px solid rgba(7,17,31,.09); }
.visual-outcome > span { width: 9px; height: 9px; flex: 0 0 auto; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 6px rgba(255,192,0,.14); }
.visual-outcome p { display: grid; margin: 0; }
.visual-outcome strong { color: var(--ink); font: 700 13px var(--display); }
.hero-visual > .hero-fit { width: min(100%, 500px); margin: 34px 0 0 auto; display: grid; gap: 7px; }
.hero-visual > .hero-fit p { margin-left: 17px; flex-wrap: nowrap; }
.hero-foot { position: relative; height: 82px; margin-top: 70px; display: flex; align-items: center; gap: 28px; border-top: 0; color: rgba(255,255,255,.42); font-family: var(--display); font-size: 11px; text-transform: uppercase; letter-spacing: .12em; }
.hero-foot span:first-child { color: rgba(255,255,255,.72); }
.hero-foot i { flex: 1; height: 1px; background: rgba(255,255,255,.1); }

h2 { font-size: clamp(36px, 3.55vw, 52px); line-height: 1.13; }
.intro { background: var(--paper); }
.intro-grid { display: grid; grid-template-columns: 1.22fr .78fr; gap: 72px; align-items: end; }
.intro-copy { padding-left: 42px; border-left: 1px solid var(--line); }
.intro-copy p { margin: 0 0 18px; }
.intro-copy p:last-child { margin-bottom: 0; }
.capability-grid { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 75px; box-shadow: 0 18px 65px rgba(9,23,41,.08); }
.capability-card { min-height: 360px; display: flex; flex-direction: column; padding: 36px; background: var(--white); border-right: 1px solid var(--line); }
.capability-card:last-child { border: 0; }
.capability-card.featured { color: rgba(255,255,255,.7); background: #0c82ad; border: 0; transform: translateY(-14px); box-shadow: 0 18px 40px rgba(0,142,193,.22); }
.card-number { color: #0796cb; font: 700 24px/1 var(--display); letter-spacing: -.04em; }
.featured .card-number { color: var(--gold); }
.capability-card h3 { margin: 34px 0 12px; color: var(--ink); font: 700 30px var(--display); letter-spacing: -.03em; }
.featured h3 { color: var(--white); }
.capability-card p { margin: 0; font-size: 16px; }
.card-link { margin-top: auto; padding-top: 24px; border-top: 1px solid var(--line); color: var(--ink); font: 700 12px var(--display); text-transform: uppercase; letter-spacing: .08em; }
.featured .card-link { color: var(--white); border-color: rgba(255,255,255,.2); }

.services { color: rgba(255,255,255,.64); background: var(--ink); }
.services-heading { display: grid; grid-template-columns: 1.15fr .85fr; gap: 70px; align-items: end; margin-bottom: 70px; }
.services h2, .about h2, .contact h2 { color: var(--white); }
.services-heading > p { margin: 0 0 6px; }
.service-row { display: grid; grid-template-columns: 72px 1fr 50px; gap: 20px; padding: 36px 10px 36px 0; border-top: 1px solid rgba(255,255,255,.13); transition: background .2s, padding .2s; }
.service-row:last-child { border-bottom: 1px solid rgba(255,255,255,.13); }
.service-row:hover { padding-left: 16px; background: rgba(255,255,255,.025); }
.service-index { color: var(--blue-bright); font: 700 12px var(--display); }
.service-row h3 { margin: -5px 0 7px; color: var(--white); font: 600 25px var(--display); letter-spacing: -.025em; }
.service-row p { max-width: 800px; margin: 0; font-size: 16px; }
.service-arrow { justify-self: end; color: rgba(255,255,255,.3); font: 400 25px var(--display); }

.approach-grid { display: grid; grid-template-columns: .98fr 1.02fr; gap: 90px; }
.approach-copy { position: sticky; top: 130px; align-self: start; }
.approach-copy > p:not(.eyebrow) { margin: 26px 0; }
.text-link { display: inline-flex; gap: 35px; padding-bottom: 5px; border-bottom: 1px solid var(--ink); color: var(--ink); font: 700 14px var(--display); }
.steps { border-top: 1px solid var(--line); }
.steps article { display: grid; grid-template-columns: 65px 1fr; padding: 29px 0; border-bottom: 1px solid var(--line); }
.steps article > span { color: #0796cb; font: 700 24px/1 var(--display); letter-spacing: -.04em; }
.steps h3 { margin: 0 0 7px; color: var(--ink); font: 700 22px var(--display); }
.steps p { margin: 0; font-size: 16px; }

.technology { padding-top: 0; }
.tech-wrap { padding: 70px; background: #eaf6fb; }
.tech-heading { display: grid; grid-template-columns: 220px 1fr; }
.tech-heading h2 { font-size: 38px; }
.tech-list { display: flex; flex-wrap: wrap; gap: 12px; margin: 48px 0 0 220px; }
.tech-list span { padding: 10px 17px; color: #1c5067; background: rgba(255,255,255,.8); border: 1px solid rgba(4,137,188,.12); border-radius: 100px; font: 600 13px var(--display); }

.about { color: rgba(255,255,255,.64); background: #0d1b2c; }
.about-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 110px; align-items: center; }
.about-copy > p:not(.eyebrow) { margin: 24px 0; }
.about-values { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 35px; }
.about-values span { padding: 8px 12px; border: 1px solid rgba(255,255,255,.14); color: rgba(255,255,255,.8); font: 600 11px var(--display); text-transform: uppercase; letter-spacing: .06em; }

.contact { padding: 80px 0 92px; background: #087ea8; color: rgba(255,255,255,.75); }
.contact-inner { display: grid; grid-template-columns: minmax(0, .88fr) minmax(460px, 1.12fr); gap: 72px; align-items: start; }
.contact-copy { padding-top: 18px; }
.contact .eyebrow { color: #bcecff; }
.contact h2 { font-size: clamp(40px, 4.5vw, 60px); }

html[lang="th"] .hero h1 { font-size: clamp(44px, 4.2vw, 62px); line-height: 1.24; letter-spacing: -.025em; }
html[lang="th"] h2 { font-size: clamp(34px, 3.2vw, 47px); line-height: 1.28; letter-spacing: -.02em; }
html[lang="th"] .integration-visual h2 { font-size: 27px; line-height: 1.35; }
html[lang="th"] .contact h2 { font-size: clamp(36px, 4vw, 54px); }
.contact-copy > p:not(.eyebrow) { margin: 22px 0; }
.contact-alternative { margin-top: 28px !important; color: #60798a; font-size: 15px; }
.contact-email { display: inline; margin-left: 4px; padding-bottom: 2px; border-bottom: 1px solid #d39a00; color: var(--ink); font-weight: 700; }
.contact-email:hover { color: #007fac; border-bottom-color: #007fac; }
.contact-email:focus-visible { outline: 2px solid #008fc6; outline-offset: 4px; }
.contact-form { padding: 34px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; text-align: left; background: rgba(255,255,255,.78); border: 1px solid rgba(255,255,255,.9); border-radius: 10px; box-shadow: 0 24px 60px rgba(39,111,137,.15); backdrop-filter: blur(8px); }
.form-field { display: grid; gap: 7px; }
.form-field-wide { grid-column: 1 / -1; }
.form-field label { color: var(--ink); font: 700 12px var(--display); letter-spacing: .02em; }
.form-field input,
.form-field textarea { width: 100%; border: 1px solid rgba(7,17,31,.15); border-radius: 5px; padding: 13px 14px; color: var(--ink); background: rgba(255,255,255,.82); font: 16px/1.45 var(--body); transition: border-color .2s, box-shadow .2s, background .2s; }
.form-field textarea { min-height: 132px; resize: vertical; }
.form-field input::placeholder,
.form-field textarea::placeholder { color: #78909f; opacity: 1; }
.form-field input:focus,
.form-field textarea:focus { outline: 0; border-color: #008fc6; background: var(--white); box-shadow: 0 0 0 3px rgba(0,143,198,.13); }
.form-actions { display: flex; align-items: center; gap: 18px; }
.contact-submit { min-height: 52px; padding: 0 21px; display: inline-flex; align-items: center; justify-content: center; gap: 24px; flex: 0 0 auto; border: 0; border-radius: 5px; color: var(--ink); background: var(--gold); cursor: pointer; font: 700 14px var(--display); transition: transform .2s, background .2s, opacity .2s; }
.contact-submit:hover { background: #ffd14a; transform: translateY(-2px); }
.contact-submit:focus-visible { outline: 3px solid rgba(0,143,198,.35); outline-offset: 3px; }
.contact-submit:disabled { cursor: wait; opacity: .68; transform: none; }
.form-note { margin: 0; color: #62798a; font-size: 13px; line-height: 1.4; }
.form-status { min-height: 24px; margin: -4px 0 0; color: #405c6e; font-size: 14px; line-height: 1.45; }
.form-status.success { color: #087958; }
.form-status.error { color: #a52a2a; }
.form-honeypot { position: absolute !important; width: 1px !important; height: 1px !important; overflow: hidden !important; clip: rect(0 0 0 0) !important; white-space: nowrap !important; }
.contact-dialog { width: min(460px, calc(100% - 40px)); padding: 0; border: 0; border-radius: 12px; color: var(--text); background: var(--white); box-shadow: 0 30px 90px rgba(7,17,31,.28); }
.contact-dialog::backdrop { background: rgba(7,17,31,.58); backdrop-filter: blur(3px); }
.contact-dialog-content { padding: 42px 38px 36px; text-align: center; }
.dialog-check { width: 58px; height: 58px; margin: 0 auto 22px; display: grid; place-items: center; border-radius: 50%; color: #087958; background: #dff5ec; font: 800 27px/1 var(--display); }
.contact-dialog h2 { font-size: 30px; letter-spacing: -.03em; }
.contact-dialog p { margin: 14px 0 26px; color: #526c7d; font-size: 17px; line-height: 1.55; }
.dialog-close { min-width: 132px; min-height: 48px; padding: 0 22px; border: 0; border-radius: 5px; color: var(--ink); background: var(--gold); cursor: pointer; font: 700 14px var(--display); }
.dialog-close:hover { background: #ffd14a; }
.dialog-close:focus-visible { outline: 3px solid rgba(0,143,198,.35); outline-offset: 3px; }

.site-footer { color: rgba(255,255,255,.55); background: #050c15; font-size: 14px; }
.footer-main { min-height: 170px; display: grid; grid-template-columns: 1fr 1fr auto; align-items: center; gap: 30px; }
.footer-brand { width: 180px; }
.footer-main > div { display: grid; }
.footer-main strong { color: var(--white); font-family: var(--display); }
.footer-links { display: flex !important; gap: 24px; }
.footer-links a:hover { color: var(--white); }
.footer-bottom { min-height: 65px; display: flex; justify-content: space-between; align-items: center; border-top: 1px solid rgba(255,255,255,.09); font-size: 12px; }

/* Give section headlines the full content width before supporting copy. */
@media (min-width: 981px) {
  .intro-grid,
  .services-heading,
  .approach-grid,
  .about-grid { grid-template-columns: minmax(0, 1fr); }

  .section-heading h2,
  .services-heading h2,
  .approach-copy h2,
  .about-copy h2 { max-width: 1100px; }

  .intro-copy,
  .services-heading > p,
  .approach-copy > p:not(.eyebrow),
  .about-copy > p:not(.eyebrow) { width: min(760px, 100%); margin-left: auto; }

  .services-heading { gap: 30px; }
  .approach-grid { gap: 68px; }
  .approach-copy { position: static; }
  .approach-copy .text-link { margin-left: max(0px, calc(100% - 760px)); }
  .steps { width: min(980px, 100%); margin-left: auto; }

  .about-grid { gap: 58px; }
  .about-copy { width: 100%; }

  .contact h2 { font-size: clamp(40px, 4vw, 54px); }
}

/* Pastel brand theme */
.site-header {
  color: var(--ink);
  background: rgba(255,255,255,.62);
  border-bottom-color: rgba(7,17,31,.08);
  backdrop-filter: blur(12px);
}
.site-header:not(.scrolled) .brand img { filter: none; }

.hero {
  color: #51697b;
  background: linear-gradient(135deg, #f5fbfe 0%, #e3f5fb 48%, #fff7dc 100%);
}
.hero::before {
  opacity: .45;
  background-image: linear-gradient(rgba(2,126,171,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(2,126,171,.06) 1px, transparent 1px);
  mask-image: linear-gradient(to right, black, transparent 72%);
}
.hero-glow { background: radial-gradient(circle, rgba(0,176,240,.2), transparent 68%); }
.hero h1 { color: var(--ink); }
.hero h1 em { color: #008fc6; }
.button-quiet { color: var(--ink); border-color: rgba(7,17,31,.18); background: rgba(255,255,255,.42); }
.button-quiet:hover { background: rgba(255,255,255,.8); }
.hero-trust { border-top: 0; }
.hero-trust strong { color: var(--ink); }
.hero-trust span { color: #607589; }
.hero-fit { color: #61798a; }
.hero-fit-label { color: #087fa9; }
.hero-foot { border-top: 0; color: #6c8090; }
.hero-foot span:first-child { color: #314e62; }
.hero-foot i { background: rgba(7,17,31,.1); }

.system-card {
  color: #5d7385;
  background: rgba(255,255,255,.88);
  border-color: rgba(0,142,193,.14);
  box-shadow: 0 28px 70px rgba(45,112,138,.16);
}
.system-card-top { color: #5d7385; border-bottom-color: rgba(7,17,31,.1); }
.system-card-top small { color: #168c68; }
.metric-row strong,
.system-stats b,
.system-card div > strong { color: var(--ink); }
.metric-chart { border-bottom-color: rgba(7,17,31,.1); background: repeating-linear-gradient(to bottom, rgba(7,17,31,.05) 0 1px, transparent 1px 45px); }
.system-stats div { background: #f2f9fc; }
.system-card div > small { color: #728696; }
.orbit { border-color: rgba(0,150,205,.25); }

.intro { background: #fbfdfe; }
.capability-card { background: #ffffff; }
.capability-card.featured {
  color: #3f6172;
  background: linear-gradient(145deg, #d8f1fa, #c4e9f6);
  box-shadow: 0 18px 40px rgba(36,139,178,.16);
}
.featured h3 { color: var(--ink); }
.featured .card-number { color: #087faa; }
.featured .card-link { color: var(--ink); border-color: rgba(7,17,31,.12); }

.services {
  color: #526c7d;
  background: linear-gradient(180deg, #e7f6fb 0%, #d9f0f8 100%);
}
.services h2,
.about h2,
.contact h2 { color: var(--ink); }
.service-row { border-top-color: rgba(7,17,31,.12); }
.service-row:last-child { border-bottom-color: rgba(7,17,31,.12); }
.service-row:hover { background: rgba(255,255,255,.42); }
.service-row h3 { color: var(--ink); }
.service-arrow { color: #008fc6; }

.about {
  color: #526c7d;
  background: linear-gradient(135deg, #f5fbfe 0%, #dff2f8 100%);
}
.about-values span { color: #29495c; border-color: rgba(7,17,31,.14); background: rgba(255,255,255,.46); }

.contact {
  color: #456275;
  background: linear-gradient(135deg, #ccecf8 0%, #e5f6fb 58%, #fff2c4 100%);
}
.contact .eyebrow { color: #087fa9; }

.site-footer { color: #536c7c; background: #d9eef5; }
.footer-main strong { color: var(--ink); }
.footer-links a:hover { color: #007fac; }
.footer-bottom { border-top-color: rgba(7,17,31,.1); }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay { transition-delay: .15s; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .reveal { opacity: 1; transform: none; transition: none; } * { animation: none !important; } }

@media (max-width: 980px) {
  .section { padding: 68px 0 82px; }
  .technology { padding-top: 0; }
  .contact { padding: 68px 0 78px; }
  .contact-inner { grid-template-columns: 1fr; gap: 42px; }
  .contact-copy { max-width: 760px; padding-top: 0; }
  body.menu-open .site-header,
  body.menu-open .site-header.scrolled {
    inset: 0;
    color: var(--ink);
    background: linear-gradient(145deg, #ffffff 0%, #f4fbfe 52%, #e7f5fb 100%);
    border-color: transparent;
    box-shadow: none;
    backdrop-filter: none;
  }
  .header-controls { margin-left: auto; }
  .menu-toggle { position: relative; display: flex; align-items: center; gap: 12px; padding: 8px; pointer-events: auto; touch-action: manipulation; cursor: pointer; }
  .menu-label { font: 600 12px var(--display); text-transform: uppercase; letter-spacing: .08em; }
  .menu-lines { width: 24px; display: grid; gap: 6px; }
  .menu-lines i { display: block; width: 100%; height: 2px; background: currentColor; transition: transform .2s; }
  .menu-toggle[aria-expanded="true"] .menu-lines i:first-child { transform: translateY(4px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] .menu-lines i:last-child { transform: translateY(-4px) rotate(-45deg); }
  .primary-nav { position: fixed; inset: 0; z-index: 1; width: 100vw; min-height: 100vh; min-height: 100dvh; margin-left: 0; padding: 120px 24px 40px; display: flex; flex-direction: column; align-items: stretch; gap: 0; overflow-y: auto; color: var(--ink); background: linear-gradient(145deg, #ffffff 0%, #f4fbfe 52%, #e7f5fb 100%); opacity: 1; isolation: isolate; transform: translateX(100%); transition: transform .3s; }
  .primary-nav.open { transform: translateX(0); }
  .primary-nav a { padding: 16px 0; border-bottom: 1px solid rgba(7,17,31,.12); font-size: 19px; }
  .language-switch { justify-content: center; gap: 5px; margin: 0; font-size: 12px; }
  .language-switch button { min-width: 32px; padding: 7px 4px; }
  .primary-nav .nav-cta { margin-top: 25px; padding: 14px 18px; border-bottom: 0; color: var(--ink); text-align: center; box-shadow: 0 10px 24px rgba(249,189,19,.22); }
  .hero { padding-top: 150px; }
  .hero-grid { grid-template-columns: 1fr; gap: 30px; }
  .hero-copy { max-width: 860px; }
  .hero-visual { width: min(600px, 100%); margin: auto; }
  .integration-visual { position: relative; top: auto; right: auto; margin-inline: auto; }
  .hero-visual > .hero-fit { margin-inline: auto; }
  .hero-foot { margin-top: 30px; }
  .intro-grid, .services-heading, .approach-grid, .about-grid { grid-template-columns: 1fr; gap: 45px; }
  .intro-copy { padding: 0; border: 0; }
  .approach-copy { position: static; }
  .tech-wrap { padding: 48px; }
  .tech-heading { grid-template-columns: 1fr; }
  .tech-list { margin-left: 0; }
}

@media (max-width: 700px) {
  body { font-size: 17px; }
  .container { width: min(calc(100% - 32px), 1180px); }
  .nav-wrap { height: 72px; }
  .brand { width: 140px; flex: 0 1 140px; }
  .header-controls { gap: 0; }
  .menu-toggle { flex: 0 0 auto; padding: 6px; }
  .menu-lines { width: 21px; }
  .language-switch { gap: 2px; font-size: 10px; letter-spacing: .03em; }
  .language-switch button { min-width: 27px; padding: 6px 2px; }
  .menu-label { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
  .section { padding: 54px 0 68px; }
  .technology { padding-top: 0; }
  .contact { padding: 56px 0 66px; }
  .hero { min-height: 0; padding-top: 125px; }
  .hero h1 { font-size: clamp(40px, 10.8vw, 54px); }
  .hero-lede { font-size: 18px; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .hero-trust { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .hero-visual > .hero-fit { width: min(100%, 500px); margin-top: 28px; display: grid; gap: 6px; }
  .hero-visual { min-height: 400px; margin-top: 10px; }
  .integration-visual { padding: 28px 22px; }
  .integration-visual h2 { font-size: 27px; }
  .integration-flow { grid-template-columns: 1fr 38px 1.1fr; }
  .flow-hub { padding: 18px 15px; }
  .system-main { width: 95%; }
  .system-sap { top: 0; }
  .system-bi { right: 0; bottom: 0; }
  .hero-foot { gap: 14px; overflow: hidden; white-space: nowrap; }
  .hero-foot i, .hero-foot span:first-child { display: none; }
  h2 { font-size: 35px; }
  .capability-grid { grid-template-columns: 1fr; margin-top: 55px; box-shadow: none; gap: 12px; }
  .capability-card { min-height: 300px; border: 1px solid var(--line); }
  .capability-card.featured { transform: none; }
  .services-heading { margin-bottom: 45px; }
  .service-row { grid-template-columns: 45px 1fr; padding: 28px 0; }
  .service-arrow { display: none; }
  .tech-wrap { width: 100%; padding: 55px 24px; }
  .tech-heading h2 { font-size: 32px; }
  .footer-main { grid-template-columns: 1fr; padding: 45px 0; }
  .footer-bottom { min-height: 85px; align-items: flex-start; justify-content: center; flex-direction: column; gap: 5px; }
  html[lang="th"] .hero h1 { font-size: clamp(37px, 9.8vw, 48px); }
  html[lang="th"] h2 { font-size: 33px; }
  html[lang="th"] .contact h2 { font-size: 36px; }

  .section-heading h2,
  .services-heading h2,
  .approach-copy h2,
  .tech-heading h2,
  .about-copy h2,
  .contact h2 { font-size: 29px; line-height: 1.22; letter-spacing: -.03em; }

  html[lang="th"] .section-heading h2,
  html[lang="th"] .services-heading h2,
  html[lang="th"] .approach-copy h2,
  html[lang="th"] .tech-heading h2,
  html[lang="th"] .about-copy h2,
  html[lang="th"] .contact h2 { font-size: 29px; line-height: 1.32; letter-spacing: -.015em; }
}

/* Simple service blocks */
.service-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.service-row,
.service-row:last-child {
  grid-column: span 1;
  display: block;
  min-height: 220px;
  padding: 26px;
  border: 1px solid rgba(7,17,31,.1);
  border-radius: 8px;
  background: rgba(255,255,255,.62);
  transition: transform .2s, background .2s, box-shadow .2s;
}
.service-row:nth-child(4),
.service-row:nth-child(5) { grid-column: span 1; }
.service-row:hover {
  padding-left: 26px;
  background: rgba(255,255,255,.9);
  box-shadow: 0 16px 34px rgba(39,111,137,.1);
  transform: translateY(-3px);
}
.service-index { display: block; margin-bottom: 24px; font-size: 26px; line-height: 1; letter-spacing: -.04em; }
.service-row h3 { margin: 0 0 12px; font-size: 21px; }
.service-row p { font-size: 15px; line-height: 1.55; }
.service-arrow { display: none; }

@media (max-width: 980px) {
  .service-list { grid-template-columns: repeat(2, 1fr); }
  .service-row,
  .service-row:nth-child(4),
  .service-row:nth-child(5) { grid-column: span 1; }
  .service-row:last-child { grid-column: span 1; }
}

@media (max-width: 700px) {
  .contact-dialog-content { padding: 34px 24px 28px; }
  .contact-dialog h2 { font-size: 27px; }
  .contact-form { grid-template-columns: 1fr; padding: 24px 20px; gap: 17px; }
  .form-field { grid-column: 1; }
  .form-actions { align-items: stretch; flex-direction: column; }
  .contact-submit { width: 100%; }
  .service-list { grid-template-columns: 1fr; }
  .service-row,
  .service-row:nth-child(4),
  .service-row:nth-child(5),
  .service-row:last-child {
    grid-column: 1;
    min-height: 0;
    padding: 25px;
  }
  .service-row:hover { padding-left: 25px; }
  .service-index { margin-bottom: 20px; font-size: 23px; }
}
