:root {
  --navy: #071b34;
  --navy2: #103758;
  --cyan: #40c9d9;
  --ink: #102b46;
  --muted: #567087;
  --line: #d7e3eb;
}

html { scroll-padding-top: 96px; }
body { background: #edf3f6; color: var(--ink); font-family: "Segoe UI", "Noto Sans Thai", Tahoma, Arial, sans-serif; }
.wrap { width: min(1180px, calc(100% - 48px)); }
section { padding: 104px 0; }
h2 { font-size: clamp(2.15rem, 4vw, 3.25rem); line-height: 1.14; letter-spacing: -.035em; }
.eyebrow { font-size: .7rem; letter-spacing: .16em; }

.top { background: #fff; border-bottom: 2px solid #d9e8f1; box-shadow: 0 8px 24px rgba(5, 25, 47, .1); }
.nav { height: 94px; }
.brand { gap: 12px; }
.top .brand { display: inline-flex; align-items: center; flex: 0 0 auto; }
.top .brand img { display: block; width: 198px; height: auto; max-height: 84px; object-fit: contain; }
.brand i { width: 37px; height: 37px; border-radius: 8px; background: linear-gradient(145deg, #70e1e7, #31a9ca); font-size: 1.2rem; }
.brand small { margin-top: -3px; font-size: .55rem; letter-spacing: .19em; }
.links { gap: 20px; }
.links a { color: #193b57; font-size: .9rem; font-weight: 700; letter-spacing: .005em; transition: color .2s; }
.links a:hover { color: #1769b5; }
.links .nav-ai { color: #fff; background: #225fdb; border: 1px solid #225fdb; padding: 8px 13px; border-radius: 5px; font-weight: 800; box-shadow: 0 0 0 3px rgba(34, 95, 219, .1); transition: background .2s, transform .2s; }
.links .nav-ai:hover { color: #fff; background: #174bb5; transform: translateY(-1px); }
.links a:focus-visible, .lang:focus-visible, .button:focus-visible, .hotline:focus-visible { outline: 3px solid #7beaf0; outline-offset: 4px; }
.lang { color: #193b57; border-color: #b9ccda; border-radius: 6px; padding: 7px 11px; font-size: .82rem; }
.menu { color: #193b57; }

.hero { min-height: 650px; padding: 105px 0 118px; background: radial-gradient(circle at 82% 18%, rgba(43, 128, 153, .25), transparent 30%), linear-gradient(118deg, #06182e 0%, #0b2a49 59%, #11445d 100%); }
.hero:after { display: none; }
.hero-grid { grid-template-columns: .95fr 1.05fr; gap: clamp(32px, 5vw, 70px); }
.hero h1 { font-size: clamp(3rem, 5.5vw, 5rem); line-height: 1.04; letter-spacing: -.055em; margin: 24px 0 24px; }
.hero h1 em { color: #73e1e7; }
.hero p { color: #c4d7e4; line-height: 1.75; font-size: 1.02rem; }
.specialist-shot { background: rgba(255,255,255,.07); border: 1px solid rgba(137, 221, 230, .34); border-radius: 5px; padding: 10px 13px; margin-top: 23px; }
.specialist-shot strong { color: #7ce5ed; }
.specialist-shot span { color: #d3e6ef; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 47px; border-radius: 5px; font-size: .82rem; letter-spacing: .01em; }
.button.primary { background: #66d8df; color: #08233a; }
.button.primary:hover { background: #8be8ec; }
.button.ghost { border-color: rgba(209,235,242,.45); color: #ecf9fb; }
.button.ghost:hover { border-color: #82e4eb; background: rgba(255,255,255,.06); }
.hero-photo { width: 100%; height: 455px; border-radius: 10px; border: 1px solid rgba(255,255,255,.26); box-shadow: 22px 22px 0 rgba(85, 197, 215, .17), 0 28px 50px rgba(0, 9, 23, .32); }
.hero-photo:before { top: 17px; right: 17px; border: 1px solid rgba(157,233,239,.3); }
.photo-tag { bottom: 20px; left: 20px; border-radius: 5px; }

.stats { margin-top: -47px; border: 1px solid #d9e6ec; border-radius: 8px; box-shadow: 0 16px 32px rgba(11, 43, 67, .14); }
.stat { padding: 30px 37px; }
.stat b { font-size: 2.15rem; }
.stat span { color: #526d82; }

#about { background: #edf3f6; }
.intro { grid-template-columns: 1fr 1fr; gap: 7%; align-items: start; }
.intro h2 { max-width: 430px; }
.intro p { color: #455f73; line-height: 1.9; }
.about-photo { height: 260px; margin-top: 34px; border-radius: 7px; box-shadow: 12px 12px 0 #c9e9ed, 0 18px 30px rgba(14, 50, 75, .12); }
.quote { border-left-color: #1b91a5; background: rgba(255,255,255,.65); color: #113554; padding: 16px 20px; border-radius: 0 5px 5px 0; }

#solutions { background: linear-gradient(130deg, #071c34, #0c3452); }
#solutions h2 { max-width: 820px; }
.solutions { gap: 18px; margin-top: 42px; }
.solution { min-height: 258px; border-color: rgba(181,219,229,.22); border-radius: 7px; box-shadow: 0 12px 28px rgba(2, 14, 28, .17); }
.solution:after { background: linear-gradient(0deg, rgba(3, 21, 39, .96), rgba(7, 36, 58, .26) 78%); }
.solution img { opacity: .64; }
.solution-copy { padding: 26px; }
.solution h3 { font-size: 1.15rem; }
.solution p { color: #d9e9f1; }

.erp { background: #e3edf3; }
.two-col { gap: 7%; }
.erp p { color: #476177; line-height: 1.8; }
.image-card { border-radius: 7px; box-shadow: 0 18px 30px rgba(13, 51, 77, .14); }
.image-card b { max-width: 330px; font-size: 1.12rem; }
.erp-card { border-radius: 7px; padding: 42px; background: #f9fcfd; box-shadow: 0 16px 35px rgba(9, 40, 65, .08); }
.erp-card h3 { color: #103756; }
.checks li { padding: 14px 0; }

#industries { background: #f4f8fa; }
.industries-featured { height: 300px; margin: 34px 0; border-radius: 7px; }
.industries { gap: 16px; }
.industry { padding: 24px 20px; border-radius: 6px; border-color: #d6e3ea; background: #fff; }
.industry b { color: #143a59; }
.industry span { line-height: 1.55; }
.industry-photos { gap: 16px; margin-top: 16px; }
.industry-photo { border-radius: 6px; height: 150px; }

.customers { background: #e9f1f5; }
.customer-note { color: #4f697d; }
.customer-placeholder { border-radius: 7px; border-color: #a9bfce; color: #557186; background: rgba(255,255,255,.65); }

.ai-solution { background: #e9f1f5; }
.ai-intro { display: grid; grid-template-columns: .95fr 1.05fr; gap: 7%; align-items: end; }
.ai-intro h2 { max-width: 550px; margin: 18px 0 0; }
.ai-intro p { color: #425e74; line-height: 1.8; margin-bottom: 14px; }
.ai-intro .ai-disclaimer { color: #31566e; font-size: .8rem; border-left: 3px solid #39b7c4; padding-left: 13px; margin: 20px 0 0; }
.ai-visual { position: relative; margin: 38px 0 25px; border-radius: 8px; overflow: hidden; background: #092b47; box-shadow: 0 22px 44px rgba(8, 42, 70, .17); }
.ai-visual img { display: block; width: 100%; height: clamp(300px, 42vw, 490px); object-fit: cover; object-position: center; }
.ai-visual figcaption { position: absolute; left: 20px; bottom: 18px; max-width: calc(100% - 40px); color: #eaf9fc; background: rgba(4, 30, 52, .87); border: 1px solid rgba(131, 231, 238, .35); border-radius: 4px; padding: 10px 14px; font-size: .76rem; }
.ai-benefits { display: grid; grid-template-columns: repeat(4, 1fr); gap: 15px; }
.ai-benefits article { background: #f9fcfd; border: 1px solid #d4e5eb; border-top: 3px solid #36b6c3; border-radius: 5px; padding: 24px; min-height: 218px; }
.ai-benefits span { color: #178da3; font-weight: 800; font-size: .72rem; letter-spacing: .12em; }
.ai-benefits h3 { color: #0d3150; font-size: 1.05rem; margin: 14px 0 9px; }
.ai-benefits p { color: #516d81; font-size: .86rem; line-height: 1.65; margin: 0; }
.ai-examples-heading { max-width: 800px; margin: 72px 0 28px; }
.ai-examples-heading h3 { color: #0d3150; font-size: clamp(1.7rem, 3vw, 2.35rem); line-height: 1.2; letter-spacing: -.03em; margin: 15px 0 12px; }
.ai-examples-heading p { color: #4d687c; font-size: .92rem; line-height: 1.7; margin: 0; }
.ai-examples { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.ai-example { overflow: hidden; background: #f9fcfd; border: 1px solid #d4e5eb; border-radius: 6px; box-shadow: 0 11px 24px rgba(8, 42, 70, .07); }
.ai-example img { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.ai-example > div { padding: 21px 19px 23px; }
.ai-example span { display: block; color: #16899b; font-size: .65rem; font-weight: 800; letter-spacing: .13em; }
.ai-example h4 { color: #0d3150; font-size: 1.04rem; line-height: 1.35; margin: 12px 0 10px; }
.ai-example p { color: #526d81; font-size: .82rem; line-height: 1.65; margin: 0; }
.ai-cta { margin-top: 28px; }

.contact { background: radial-gradient(circle at 85% 10%, rgba(28, 118, 146, .22), transparent 34%), linear-gradient(125deg, #061a31, #0b3150); }
.contact-grid { align-items: center; gap: 8%; }
.contact h2 { max-width: 570px; }
.contact p { color: #c4d9e5; }
.hotline { display: flex; width: fit-content; gap: 22px; background: #f7fbfd; color: #0a2945; border: 1px solid #bce5ea; border-left: 5px solid #52cbd5; border-radius: 5px; padding: 16px 22px; margin-top: 28px; text-decoration: none; box-shadow: 0 13px 26px rgba(0, 13, 31, .23); transition: transform .2s, box-shadow .2s; }
.hotline:hover { transform: translateY(-2px); box-shadow: 0 18px 30px rgba(0, 13, 31, .3); }
.hotline span { color: #397384; letter-spacing: .14em; }
.hotline strong { color: #092b49; font-size: clamp(1.45rem, 2vw, 1.8rem); font-variant-numeric: tabular-nums; letter-spacing: .025em; white-space: nowrap; }
.contact-card { border-radius: 7px; padding: 38px; box-shadow: 0 20px 45px rgba(0, 13, 31, .22); }
.contact-card h3 { color: #123753; }
.contact-card input, .contact-card textarea { border-color: #b8cbd7; border-radius: 4px; background: #fbfdfe; }
.contact-card input:focus, .contact-card textarea:focus { outline: 2px solid #55c9d5; outline-offset: 1px; }
.footer { background: #041426; }

@media (max-width: 1040px) {
  .nav { height: 82px; }
  .top .brand img { width: 178px; }
  .links { display: none; }
  .links.open { display: flex; position: absolute; top: 81px; left: 0; right: 0; flex-direction: column; align-items: flex-start; background: #fff; border: 1px solid #d9e8f1; padding: 24px; gap: 17px; box-shadow: 0 20px 30px rgba(0,0,0,.14); }
  .links.open a { color: #193b57; }
  .links.open .nav-ai { color: #fff; }
  .menu { display: block; }
}

@media (max-width: 800px) {
  .wrap { width: min(100% - 36px, 1180px); }
  .nav { height: 78px; }
  .top .brand img { width: 170px; }
  section { padding: 76px 0; }
  .links.open { top: 77px; background: #fff; border: 1px solid #d9e8f1; padding: 24px; gap: 17px; box-shadow: 0 20px 30px rgba(0,0,0,.14); }
  .links.open a { color: #193b57; }
  .links.open .nav-ai { color: #fff; }
  .hero { padding: 72px 0 80px; }
  .hero-grid, .intro, .two-col, .contact-grid { grid-template-columns: 1fr; }
  .hero-photo { height: min(55vw, 380px); min-height: 250px; }
  .stats { margin-top: -22px; }
  .stat { padding: 22px 28px; }
  .solutions, .industries { grid-template-columns: repeat(2, 1fr); }
  .industry-photos { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { gap: 38px; }
  .ai-intro { grid-template-columns: 1fr; gap: 17px; }
  .ai-benefits { grid-template-columns: repeat(2, 1fr); }
  .ai-examples { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 520px) {
  .nav { height: 74px; }
  .top .brand img { width: 160px; }
  .links.open { top: 73px; }
  h2 { font-size: 2.15rem; }
  .hero h1 { font-size: 2.95rem; }
  .solutions, .industries, .industry-photos { grid-template-columns: 1fr; }
  .hero-photo { height: 260px; }
  .hotline { width: 100%; justify-content: space-between; padding: 15px; gap: 8px; }
  .hotline strong { font-size: 1.35rem; }
  .contact-card { padding: 25px; }
  .ai-visual img { height: 300px; }
  .ai-visual figcaption { left: 12px; bottom: 12px; max-width: calc(100% - 24px); }
  .ai-benefits { grid-template-columns: 1fr; }
  .ai-benefits article { min-height: 0; }
  .ai-examples { grid-template-columns: 1fr; }
  .ai-examples-heading { margin-top: 58px; }
}
