:root {
  --blue: #082c63;
  --blue-2: #0b4ea2;
  --blue-3: #061f49;
  --yellow: #ffd21c;
  --ink: #172033;
  --muted: #667085;
  --line: #e5eaf2;
  --bg: #f6f8fc;
  --card: #ffffff;
  --radius: 24px;
  --shadow: 0 16px 40px rgba(11, 37, 75, 0.10);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Noto Sans Thai', system-ui, sans-serif;
  color: var(--ink);
  background: #fff;
  line-height: 1.65;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; }

.section-pad { padding: 78px clamp(20px, 6vw, 88px); }
.soft-bg { background: var(--bg); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 12px clamp(18px, 5vw, 70px);
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.brand { display: flex; align-items: center; gap: 11px; font-weight: 900; color: var(--blue); }
.brand-mark {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 15px;
  background: linear-gradient(145deg, #ffdb2d, #ffb800);
  color: var(--blue);
  font-size: 1.45rem;
  box-shadow: 0 9px 20px rgba(8,44,99,.16);
}
.brand-text { font-size: 1.05rem; }

.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav a { padding: 10px 14px; border-radius: 999px; font-weight: 700; color: #344054; }
.main-nav a:hover { background: #edf5ff; color: var(--blue-2); }
.nav-toggle {
  display: none;
  border: 0;
  border-radius: 12px;
  padding: 8px 12px;
  background: var(--blue);
  color: #fff;
  font-size: 1.3rem;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0,.85fr) minmax(0,1.15fr);
  gap: 38px;
  align-items: center;
  background: linear-gradient(135deg, #f5faff, #fff 58%, #fff9d8);
}
.eyebrow {
  margin: 0 0 8px;
  color: var(--blue-2);
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
}
h1,h2,h3 { margin: 0 0 16px; color: var(--blue); line-height: 1.2; }
h1 { font-size: clamp(2.5rem, 5.6vw, 5rem); letter-spacing: -.04em; }
h1 span { color: var(--blue-2); }
h2 { font-size: clamp(2rem, 4vw, 3.3rem); }
h3 { font-size: 1.25rem; }
.lead { color: #344054; font-size: 1.18rem; margin: 0 0 28px; max-width: 720px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-points { display: flex; gap: 12px 18px; flex-wrap: wrap; margin-top: 22px; color: #344054; font-weight: 700; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border: 2px solid transparent;
  border-radius: 999px;
  font-weight: 900;
  cursor: pointer;
  transition: .2s ease;
}
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 10px 24px rgba(8,44,99,.18); }
.btn-primary:hover { background: var(--blue-2); transform: translateY(-1px); }
.btn-outline { background: #fff; color: var(--blue); border-color: var(--blue); }
.btn-outline:hover { background: #eef6ff; }

.hero-media, .team-media, .feature-media {
  border-radius: 28px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.hero-media { padding: 10px; }
.hero-media img { border-radius: 20px; width: 100%; }

.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--blue-3);
  color: #fff;
  padding: 25px clamp(20px, 6vw, 88px);
  gap: 18px;
}
.trust-strip div { padding: 5px 20px; border-right: 1px solid rgba(255,255,255,.18); }
.trust-strip div:last-child { border-right: 0; }
.trust-strip strong { display: block; color: var(--yellow); font-size: 1.25rem; }
.trust-strip span { color: #e7effc; font-size: .95rem; }

.section-heading { max-width: 820px; margin: 0 auto 38px; text-align: center; }
.section-heading > p:last-child { margin: 0; color: var(--muted); }

.service-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 20px; }
.service-card {
  min-height: 240px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 13px 34px rgba(8,39,90,.07);
  transition: .25s ease;
}
.service-card:hover { transform: translateY(-5px); box-shadow: 0 20px 45px rgba(8,39,90,.12); }
.service-card p { margin: 0; color: var(--muted); }
.service-icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  margin-bottom: 18px;
  background: #eef5ff;
  font-size: 28px;
}

.feature, .team {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 42px;
  align-items: center;
}
.feature-media img { width: 100%; height: 100%; object-fit: cover; }
.feature-copy p { color: #4b5b70; }
.check-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 24px 0; }
.check-grid div {
  padding: 14px 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--blue);
  font-weight: 800;
}

.steps-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 18px; }
.step-card { padding: 26px; border: 1px solid var(--line); border-radius: 22px; background: #fff; box-shadow: 0 12px 30px rgba(8,39,90,.06); }
.step-card span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  margin-bottom: 18px;
  background: var(--yellow);
  color: var(--blue);
  font-weight: 900;
}
.step-card p { margin: 0; color: var(--muted); }

.team { background: linear-gradient(135deg, #061f49, #0b4ea2); color: #fff; }
.team h2, .team .eyebrow { color: #fff; }
.team-copy > p:not(.eyebrow) { color: #e7effc; }
.team-media { border-color: rgba(255,255,255,.15); }
.team-media img { width: 100%; }
.mini-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 24px; }
.mini-stats div { padding: 16px; border-radius: 16px; background: rgba(255,255,255,.09); border: 1px solid rgba(255,255,255,.14); }
.mini-stats strong { display: block; color: var(--yellow); margin-bottom: 4px; }
.mini-stats span { color: #e7effc; font-size: .92rem; }

.contact-section { background: #f7f9fd; }
.contact-layout { display: grid; grid-template-columns: minmax(0,1.15fr) minmax(300px,.85fr); gap: 24px; align-items: start; }
.contact-form, .contact-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px;
}
.contact-form { display: grid; gap: 15px; }
label { display: grid; gap: 7px; color: #344054; font-weight: 800; }
label span { color: #d92d20; }
input, select, textarea {
  width: 100%;
  border: 1px solid #d0d5dd;
  border-radius: 12px;
  padding: 12px 14px;
  color: var(--ink);
  background: #fff;
}
input:focus, select:focus, textarea:focus { outline: 3px solid #dbeafe; border-color: #2e7bd6; }
.contact-card a { color: var(--blue-2); text-decoration: underline; text-underline-offset: 3px; }
.contact-card .btn { text-decoration: none; width: 100%; margin-top: 10px; }
.contact-badge {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  margin-bottom: 16px;
  background: var(--yellow);
  color: var(--blue);
  font-weight: 900;
  font-size: 1.5rem;
}
.form-status { margin: 0; font-weight: 700; color: var(--blue); }
.form-status.success { color: #16794c; }
.form-status.error { color: #b42318; }

.floating-telegram {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 45;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 120px;
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--yellow);
  color: var(--blue);
  font-weight: 900;
  box-shadow: 0 12px 30px rgba(0,0,0,.18);
}

.site-footer {
  padding: 30px 20px;
  text-align: center;
  background: var(--blue-3);
  color: #e8f1ff;
}
.site-footer p { margin: 4px 0; }

@media (max-width: 1100px) {
  .service-grid { grid-template-columns: repeat(2,1fr); }
  .steps-grid { grid-template-columns: repeat(2,1fr); }
  .trust-strip { grid-template-columns: repeat(2,1fr); }
  .trust-strip div:nth-child(2) { border-right: 0; }
}

@media (max-width: 920px) {
  .hero, .feature, .team, .contact-layout { grid-template-columns: 1fr; }
  .hero-media { order: -1; }
  .mini-stats { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .section-pad { padding: 56px 18px; }
  .nav-toggle { display: block; }
  .brand-text { display: none; }
  .main-nav {
    position: absolute;
    left: 16px;
    right: 16px;
    top: 76px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: var(--shadow);
  }
  .main-nav.open { display: flex; }
  .main-nav a { width: 100%; }
  .service-grid, .steps-grid, .check-grid, .trust-strip { grid-template-columns: 1fr; }
  .trust-strip div { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.16); }
  .trust-strip div:last-child { border-bottom: 0; }
  .hero-actions .btn { width: 100%; }
  .hero-points { display: grid; gap: 8px; }
  .floating-telegram { right: 14px; bottom: 14px; min-width: auto; }
}
