:root {
  --blue: #075ed9;
  --blue-dark: #073f99;
  --blue-deep: #052f80;
  --blue-soft: #eaf4ff;
  --text: #152032;
  --muted: #647084;
  --line: #dce8f5;
  --white: #ffffff;
  --shadow: 0 22px 60px rgba(6, 48, 115, .12);
  --radius: 24px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  font-family: Inter, "Segoe UI", "Noto Sans Thai", Arial, sans-serif;
  line-height: 1.65;
  background: #fff;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.narrow {
  width: min(860px, calc(100% - 40px));
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 260px;
}

.brand img {
  width: 62px;
  height: 62px;
  object-fit: contain;
}

.brand strong {
  display: block;
  color: var(--blue-dark);
  font-size: 18px;
  line-height: 1.25;
  letter-spacing: -.01em;
}

.brand small {
  display: block;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.3;
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-weight: 800;
  color: #253044;
}

.nav a {
  position: relative;
  padding: 12px 0;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  width: 0;
  height: 3px;
  margin: auto;
  border-radius: 99px;
  background: var(--blue);
  transition: width .2s ease;
}

.nav a:hover,
.nav a:focus {
  color: var(--blue);
}

.nav a:hover::after,
.nav a:focus::after {
  width: 100%;
}

.menu-toggle {
  display: none;
  border: 0;
  background: var(--blue-soft);
  color: var(--blue-dark);
  border-radius: 12px;
  font-size: 24px;
  width: 46px;
  height: 46px;
  cursor: pointer;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(58px, 8vw, 110px) 0 74px;
  background:
    radial-gradient(circle at 88% 18%, rgba(7,94,217,.12), transparent 28%),
    linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
}

.hero-shapes::before {
  content: "";
  position: absolute;
  inset: auto -8% -160px -8%;
  height: 340px;
  background: repeating-linear-gradient(170deg, rgba(7,94,217,.14) 0 2px, transparent 2px 14px);
  opacity: .42;
  transform: skewY(-4deg);
}

.hero-shapes::after {
  content: "";
  position: absolute;
  right: 8%;
  bottom: 10%;
  width: 280px;
  height: 280px;
  border-radius: 36px;
  background: linear-gradient(90deg, rgba(7,94,217,.08) 20%, transparent 20% 34%, rgba(7,94,217,.12) 34% 54%, transparent 54% 68%, rgba(7,94,217,.18) 68% 100%);
  clip-path: polygon(0 100%, 0 70%, 20% 70%, 20% 100%, 34% 100%, 34% 52%, 54% 52%, 54% 100%, 68% 100%, 68% 22%, 88% 22%, 88% 100%);
  opacity: .72;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
}

.hero-logo-card {
  display: grid;
  place-items: center;
  min-height: 380px;
  border-radius: 42px;
  background: radial-gradient(circle, #ffffff 0 45%, rgba(226,240,255,.55) 46% 70%, transparent 71%), linear-gradient(145deg, rgba(255,255,255,.94), rgba(237,247,255,.82));
  box-shadow: var(--shadow);
  border: 1px solid rgba(7,94,217,.08);
}

.hero-logo-card img {
  width: min(360px, 82%);
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 20px 22px rgba(7, 63, 153, .16));
}

.eyebrow,
.section-kicker {
  margin: 0 0 10px;
  color: var(--blue);
  font-weight: 900;
  letter-spacing: .02em;
}

.hero h1 {
  margin: 0;
  color: var(--blue-dark);
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.15;
  letter-spacing: -.035em;
}

.hero h2 {
  margin: 6px 0 18px;
  color: #525c6b;
  font-size: clamp(24px, 3vw, 40px);
  font-weight: 500;
  line-height: 1.25;
}

.hero h2::after,
.section-kicker::after {
  content: "";
  display: block;
  width: 82px;
  height: 4px;
  margin-top: 14px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--blue), #73b9ff);
}

.hero-text {
  max-width: 720px;
  margin: 0 0 28px;
  color: #364257;
  font-size: 18px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 900;
  border: 1px solid var(--line);
}

.btn.primary {
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  color: #fff;
  box-shadow: 0 14px 24px rgba(7,94,217,.24);
}

.btn.secondary {
  background: #fff;
  color: var(--blue-dark);
}

.section {
  padding: 76px 0;
}

.split {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 54px;
  align-items: start;
}

.section h1,
.section h2 {
  margin: 0;
  color: var(--blue-dark);
  font-size: clamp(28px, 3.5vw, 42px);
  line-height: 1.25;
  letter-spacing: -.025em;
}

.text-block {
  color: #3f4b5d;
  font-size: 17px;
}

.text-block p:first-child {
  margin-top: 0;
}

.services,
.legal,
.policy {
  background: linear-gradient(180deg, #f7fbff 0%, #ffffff 100%);
}

.center {
  text-align: center;
}

.center .section-kicker::after {
  margin-left: auto;
  margin-right: auto;
}

.section-subtitle {
  max-width: 760px;
  margin: 14px auto 0;
  color: var(--muted);
}

.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-top: 36px;
}

.card {
  padding: 28px;
  border: 1px solid rgba(7,94,217,.12);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 18px 40px rgba(6, 48, 115, .08);
}

.icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin-bottom: 18px;
  color: var(--blue);
  background: var(--blue-soft);
  border-radius: 18px;
  font-size: 28px;
}

.card h3 {
  margin: 0 0 10px;
  color: var(--blue-dark);
  font-size: 20px;
}

.card p {
  margin: 0;
  color: #465367;
  font-size: 15.5px;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 34px;
}

.why-item {
  padding: 28px;
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(255,255,255,.95), rgba(231,243,255,.88));
  border: 1px solid rgba(7,94,217,.12);
}

.why-item strong {
  display: block;
  margin-bottom: 6px;
  color: var(--blue-dark);
  font-size: 22px;
}

.why-item span {
  color: #4b596d;
}

.info-table {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  overflow: hidden;
  margin-top: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
  box-shadow: var(--shadow);
}

.info-table div {
  padding: 22px 24px;
  background: #fff;
}

.info-table span {
  display: block;
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 6px;
}

.info-table strong {
  color: #263247;
  font-size: 17px;
}

.contact-panel {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 36px;
  align-items: center;
  padding: clamp(28px, 5vw, 50px);
  border-radius: 32px;
  background: linear-gradient(135deg, rgba(7,94,217,.92), rgba(7,63,153,.98));
  color: #fff;
  box-shadow: var(--shadow);
}

.contact-panel .section-kicker,
.contact-panel h2 {
  color: #fff;
}

.contact-panel .section-kicker::after {
  background: rgba(255,255,255,.8);
}

.contact-panel p {
  margin-bottom: 0;
  color: rgba(255,255,255,.88);
}

.contact-list {
  display: grid;
  gap: 14px;
}

.contact-list a,
.contact-list div {
  display: block;
  padding: 16px 18px;
  border-radius: 16px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.22);
  color: #fff;
}

.contact-list span {
  display: block;
  font-size: 13px;
  opacity: .78;
  margin-bottom: 4px;
}

.contact-list strong {
  display: block;
  font-size: 17px;
}

.footer {
  padding: 28px 0;
  background: var(--blue-deep);
  color: #fff;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-brand img {
  width: 52px;
  height: 52px;
}

.footer .brand strong,
.footer .brand small {
  color: #fff;
}

.footer p {
  margin: 0;
  color: rgba(255,255,255,.78);
}

.footer-links {
  display: grid;
  gap: 6px;
  text-align: right;
}

.footer-links a {
  color: #fff;
  font-weight: 800;
}

.policy h1 {
  margin-bottom: 24px;
}

.policy h2 {
  margin-top: 32px;
  font-size: 24px;
}

.policy p {
  color: #3f4b5d;
}

.updated {
  margin-top: 38px;
  color: var(--muted) !important;
  font-size: 14px;
}

@media (max-width: 1060px) {
  .nav {
    gap: 20px;
  }

  .cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 920px) {
  .menu-toggle {
    display: inline-grid;
    place-items: center;
  }

  .nav:not(.simple-nav) {
    position: absolute;
    left: 20px;
    right: 20px;
    top: 86px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 16px;
    border-radius: 18px;
    background: #fff;
    box-shadow: var(--shadow);
  }

  .nav.open {
    display: flex !important;
  }

  .nav a {
    padding: 12px 10px;
  }

  .hero-grid,
  .split,
  .contact-panel {
    grid-template-columns: 1fr;
  }

  .hero-logo-card {
    min-height: 280px;
  }

  .info-table {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-links {
    text-align: left;
  }
}

@media (max-width: 620px) {
  .container,
  .narrow {
    width: min(100% - 28px, 1180px);
  }

  .site-header {
    padding: 12px 14px;
  }

  .brand {
    min-width: 0;
  }

  .brand img {
    width: 48px;
    height: 48px;
  }

  .brand strong {
    font-size: 14px;
  }

  .brand small {
    font-size: 12px;
  }

  .hero {
    padding-top: 42px;
  }

  .cards,
  .why-grid {
    grid-template-columns: 1fr;
  }
}
