:root {
  color-scheme: dark;
  --bg: #080e17;
  --text: #f4f7fc;
  --muted: #a5b6cb;
  --blue: #8dbfff;
  --border: #26364a;
  --font: 'IBM Plex Sans Thai', 'Leelawadee UI', Tahoma, sans-serif;
  --latin: 'Inter', sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.7 var(--font); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
a, summary { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
a:focus-visible, summary:focus-visible { outline: 3px solid var(--blue); outline-offset: 5px; }
::selection { color: white; background: #2862a6; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { line-height: 1.4; font-weight: 500; }
svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.container { width: min(1120px, calc(100% - 72px)); margin-inline: auto; }
.svg-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: 8px; left: 8px; padding: 10px 20px; z-index: 30; background: white; color: #101722; transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }

.header { border-bottom: 1px solid #243347; }
.nav-inner { min-height: 72px; display: flex; align-items: center; gap: 24px; padding-block: 12px; }
.brand { display: inline-flex; align-items: center; gap: 11px; font: 700 21px/1.2 var(--latin); letter-spacing: .04em; white-space: nowrap; }
.brand-light { color: #d1dceb; font-weight: 400; }
.brand-mark { width: 35px; height: 35px; color: var(--blue); }
.brand-mark rect { stroke: #334967; fill: #112037; }
.brand-mark path { stroke-width: 1.7; }
.header-label { color: #9aadc4; font-size: 14px; padding-left: 24px; border-left: 1px solid #2a3b51; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 11px; min-height: 50px; padding: 12px 21px; border: 1px solid transparent; border-radius: 6px; font-size: 16px; font-weight: 500; line-height: 1.4; transition: background .15s; }
.button-primary { background: #236bcd; border-color: #4a94ee; color: #fff; }
.button-primary:hover { background: #2873d6; }
.button-primary:active { background: #1f5faf; }
.button-arrow { width: 19px; height: 19px; margin-left: 12px; }
.button-nav { margin-left: auto; min-height: 42px; padding: 9px 16px; font-size: 14px; border-color: #32465f; background: #0f1b2a; }
.button-nav:hover { background: #192b42; }
.button-nav svg { width: 17px; height: 17px; }

.hero { position: relative; isolation: isolate; overflow: hidden; }
.hero-image { position: absolute; inset: 0; z-index: -2; }
.hero-image img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 52%; }
.hero::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, #080e17 2%, #080e17ec 24%, #080e17a0 48%, #080e1710 83%), linear-gradient(0deg, #080e17, transparent 35%); }
.hero-inner { padding-block: 48px 47px; }
.eyebrow { display: flex; align-items: center; gap: 10px; font: 600 12px/1.5 var(--latin); letter-spacing: .15em; color: var(--blue); }
.eyebrow span { width: 24px; height: 2px; background: #73adf4; }
h1 { font-size: clamp(40px, 4.4vw, 56px); line-height: 1.3; letter-spacing: -.035em; margin: 19px 0 17px; font-weight: 600; }
h1 span { color: var(--blue); }
.hero-description { color: #bdccde; font-size: 18px; line-height: 1.8; }
.hero .button-primary { margin-top: 24px; min-width: 230px; }
.hero-note { color: #a4b6cc; font-size: 14px; margin-top: 12px; }
.image-note { position: absolute; right: max(36px, calc((100% - 1120px) / 2)); bottom: 15px; color: #a5b6c9; font-size: 12px; padding: 2px 6px; background: #080e1770; }

.services { padding-block: 24px; }
.service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--border); border-radius: 8px; background: #0e1826; }
.service-item { display: flex; align-items: center; gap: 17px; margin-block: 22px; padding-inline: 24px; border-right: 1px solid var(--border); }
.service-item:last-child { border-right: 0; }
.service-item svg { color: var(--blue); width: 25px; height: 25px; }
.service-item h3 { font-size: 17px; margin-bottom: 4px; }
.service-item p { color: var(--muted); font-size: 14px; line-height: 1.65; }

.faq { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.faq summary { display: flex; align-items: center; gap: 16px; padding: 16px 0; list-style: none; cursor: pointer; font-size: 15px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--blue); }
.faq-hint { color: #94a8c1; font-size: 14px; margin-left: auto; }
.plus { position: relative; width: 15px; height: 15px; margin-left: 6px; color: var(--blue); flex-shrink: 0; }
.plus::before, .plus::after { content: ''; position: absolute; top: 7px; left: 0; width: 15px; height: 1px; background: currentColor; }
.plus::after { transform: rotate(90deg); }
.faq[open] .plus::after { transform: none; }
.faq-content { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; padding-block: 9px 24px; }
.faq-content h2 { font-size: 17px; margin-bottom: 7px; }
.faq-content p { font-size: 16px; color: var(--muted); line-height: 1.75; }
.footer { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 21px; font-size: 12px; color: #95a8c0; }
.footer > span:last-child { font-family: var(--latin); }
.mobile-contact { display: none; }

@media (max-width: 1000px) {
  .container { width: calc(100% - 48px); }
  .service-item { gap: 12px; padding-inline: 17px; }
  .service-item h3 { font-size: 16px; }
  .service-item p { font-size: 14px; }
  .image-note { right: 24px; }
}
@media (max-width: 700px) {
  .container { width: calc(100% - 40px); }
  .nav-inner { min-height: 66px; padding-block: 11px; gap: 12px; }
  .brand { font-size: 18px; gap: 8px; }
  .brand-mark { width: 31px; height: 31px; }
  .header-label { display: none; }
  .button-nav { padding: 10px 12px; min-height: 42px; font-size: 14px; gap: 7px; }
  .button-nav svg { width: 15px; height: 15px; }
  .hero-inner { padding-block: 33px 50px; }
  .hero-image img { object-position: 65% center; opacity: .76; }
  .hero::after { background: linear-gradient(90deg, #080e17de, #080e1799), linear-gradient(0deg, #080e17, transparent 50%); }
  .eyebrow { font-size: 11px; letter-spacing: .13em; }
  h1 { font-size: clamp(31px, 8vw, 46px); line-height: 1.4; margin: 17px 0 16px; }
  .hero-description { font-size: 16px; line-height: 1.85; }
  .hero .button-primary { margin-top: 21px; min-height: 51px; }
  .hero-note { font-size: 14px; margin-top: 11px; max-width: 330px; }
  .image-note { right: 20px; left: 20px; bottom: 8px; padding: 0; font-size: 12px; background: none; }
  .services { padding-block: 18px; }
  .service-grid { grid-template-columns: 1fr; padding-inline: 16px; }
  .service-item { margin: 0; padding: 14px 0; border-right: 0; border-bottom: 1px solid var(--border); gap: 16px; }
  .service-item:last-child { border-bottom: 0; }
  .service-item svg { width: 23px; height: 23px; }
  .service-item h3 { font-size: 16px; margin-bottom: 2px; }
  .service-item p { font-size: 14px; }
  .faq summary { font-size: 15px; padding-block: 15px; gap: 10px; }
  .faq-hint { display: none; }
  .plus { margin-left: auto; }
  .faq-content { grid-template-columns: 1fr; gap: 20px; padding-block: 7px 22px; }
  .faq-content h2 { font-size: 16px; }
  .faq-content p { font-size: 16px; }
  .footer { flex-wrap: wrap; gap: 6px 14px; padding-block: 18px 95px; font-size: 12px; }
  .mobile-contact { position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; display: block; padding: 9px 20px calc(9px + env(safe-area-inset-bottom)); background: #0b1422ed; backdrop-filter: blur(12px); border-top: 1px solid #30435b; }
  .mobile-contact .button { width: 100%; min-height: 46px; padding-block: 10px; }
}
@media (max-width: 360px) {
  .container { width: calc(100% - 32px); }
  .brand { font-size: 16px; gap: 7px; }
  .brand-mark { width: 29px; height: 29px; }
  .button-nav { padding-inline: 10px; }
  .button-nav svg { display: none; }
  h1 { font-size: 29px; }
  .hero-note { max-width: 260px; }
  .image-note { left: 16px; right: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
