:root {
  --primary: #2563eb;
  --secondary: #1e40af;
  --text: #1f2937;
  --text-light: #6b7280;
  --bg: #ffffff;
  --bg-gray: #f9fafb;
  --border: #e5e7eb;
  --radius: 12px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Sarabun', sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
}

img { display: block; }

/* ===== NAVBAR ===== */
.navbar {
  background: #0d1b2a;
  padding: 0 2.5rem;
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.navbar .logo {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
  letter-spacing: .5px;
}
.nav-links { display: flex; gap: 2rem; list-style: none; }
.nav-links a {
  color: #cbd5e1;
  text-decoration: none;
  font-size: .95rem;
  transition: color .2s;
}
.nav-links a:hover { color: #fff; }

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-top: 68px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(13,27,42,.85) 0%, rgba(13,27,42,.6) 100%);
}
.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 2rem;
  max-width: 800px;
}
.hero-content h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
  margin-bottom: 1.2rem;
}
.hero-content p {
  font-size: 1.15rem;
  color: rgba(255,255,255,.85);
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
.hero-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.btn {
  display: inline-block;
  padding: .8rem 2rem;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: transform .2s, box-shadow .2s, opacity .2s;
  font-family: inherit;
  border: none;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,.2); }
.btn-primary { background: var(--primary); color: #fff; }
.btn-outline { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,.6); }
.btn-outline:hover { background: rgba(255,255,255,.1); }

/* ===== STATS BAR ===== */
.stats-bar {
  background: #0d1b2a;
  padding: 2.5rem 2rem;
}
.stats-inner {
  max-width: 960px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1.5rem;
  text-align: center;
}
.stat-item .num {
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
}
.stat-item .label {
  font-size: .9rem;
  color: #94a3b8;
  margin-top: .3rem;
}

/* ===== SECTION BASE ===== */
.section { padding: 5rem 2rem; }
.section-inner { max-width: 1040px; margin: 0 auto; }

.section-eyebrow {
  display: inline-block;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: .8rem;
}
.section-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--text);
  margin-bottom: .8rem;
  line-height: 1.3;
}
.section-sub {
  font-size: 1rem;
  color: var(--text-light);
  max-width: 580px;
}

/* ===== SERVICES (alternating) ===== */
.service-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  padding: 3rem 0;
  border-bottom: 1px solid var(--border);
}
.service-block:last-child { border-bottom: none; }
.service-block.reverse .service-img { order: 2; }
.service-block.reverse .service-text { order: 1; }

.service-img { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/3; }
.service-img img { width: 100%; height: 100%; object-fit: cover; }

.service-num {
  font-size: 3rem;
  font-weight: 800;
  color: rgba(37,99,235,.12);
  line-height: 1;
  margin-bottom: .5rem;
}
.service-text h3 { font-size: 1.4rem; font-weight: 700; margin-bottom: .8rem; }
.service-text ul { padding-left: 1.2rem; color: var(--text-light); }
.service-text ul li { margin-bottom: .4rem; }
.service-badge {
  display: inline-block;
  background: rgba(37,99,235,.08);
  color: var(--primary);
  font-size: .8rem;
  font-weight: 700;
  padding: .3rem .9rem;
  border-radius: 20px;
  margin-bottom: 1rem;
}

/* ===== ABOUT ===== */
.about-section {
  position: relative;
  min-height: 480px;
  overflow: hidden;
}
.about-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}
.about-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(13,27,42,.72);
}
.about-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
  padding: 5rem 2rem;
  margin-left: auto;
}
.about-content .section-title { color: #fff; }
.about-content p { color: rgba(255,255,255,.8); margin-top: 1rem; font-size: 1.05rem; }

/* ===== WHY US ===== */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}
.why-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.8rem;
  transition: box-shadow .2s, transform .2s;
}
.why-card:hover { box-shadow: 0 8px 32px rgba(0,0,0,.08); transform: translateY(-4px); }
.why-icon { font-size: 2.2rem; margin-bottom: 1rem; }
.why-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: .5rem; }
.why-card p { font-size: .9rem; color: var(--text-light); }

/* ===== CONTACT ===== */
.contact-section {
  background: #0d1b2a;
  padding: 5rem 2rem;
}
.contact-section .section-title { color: #fff; }
.contact-section .section-sub { color: #94a3b8; }
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}
.contact-card {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius);
  padding: 1.5rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}
.contact-card .ci-icon {
  width: 46px; height: 46px;
  background: var(--primary);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.contact-card h4 { font-size: .8rem; color: #64748b; margin-bottom: .3rem; font-weight: 600; letter-spacing: .5px; text-transform: uppercase; }
.contact-card p { color: #e2e8f0; font-size: .95rem; font-weight: 500; }

/* ===== FOOTER ===== */
footer {
  background: #060e17;
  color: #475569;
  text-align: center;
  padding: 1.5rem 2rem;
  font-size: .85rem;
}
footer span { color: var(--primary); }

/* ===== MOBILE BANNER ===== */
.desktop-content { display: block; }
.mobile-banner { display: none; }

.mobile-banner a {
  display: block;
  width: 100%;
  min-height: 100vh;
}
.mobile-banner img {
  width: 100%;
  height: auto;
  display: block;
}
.mobile-banner .no-banner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  background: var(--bg-gray);
  color: var(--text-light);
  font-size: 1rem;
  text-align: center;
  padding: 2rem;
  gap: .8rem;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 767px) {
  .service-block { grid-template-columns: 1fr; gap: 1.5rem; }
  .service-block.reverse .service-img { order: 0; }
  .service-block.reverse .service-text { order: 0; }
  .nav-links { display: none; }
  .about-content { margin: 0; }
}
