:root {
  --bg: #f5f7f6;
  --ink: #10202a;
  --muted: #5c6d75;
  --line: #dce5e5;
  --panel: #ffffff;
  --teal: #14bfb4;
  --gold: #e5ae45;
  --navy: #0b1c28;
  --radius: 8px;
  --shadow: 0 18px 48px rgba(16, 32, 42, .12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: Arial, "Noto Sans Lao", "Noto Sans SC", sans-serif;
  line-height: 1.6;
}

img {
  display: block;
  max-width: 100%;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 60px);
  background: rgba(245, 247, 246, .9);
  border-bottom: 1px solid rgba(220, 229, 229, .8);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, var(--teal), var(--navy));
  border-radius: var(--radius);
}

.nav {
  display: flex;
  justify-content: center;
  gap: clamp(16px, 3vw, 34px);
  color: var(--muted);
  font-size: 15px;
}

.nav a:hover {
  color: var(--ink);
}

.language-switcher {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  background: #e8eeee;
  border-radius: var(--radius);
}

.lang-btn {
  min-width: 48px;
  min-height: 34px;
  padding: 6px 10px;
  color: var(--muted);
  background: transparent;
  border: 0;
  border-radius: 6px;
  font: inherit;
  font-size: 14px;
  cursor: pointer;
}

.lang-btn.is-active {
  color: var(--ink);
  background: #fff;
  box-shadow: 0 6px 14px rgba(16, 32, 42, .08);
}

.hero {
  position: relative;
  min-height: min(760px, calc(100vh - 70px));
  display: grid;
  align-items: center;
  overflow: hidden;
  background: var(--navy);
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(5, 14, 22, .78) 0%, rgba(5, 14, 22, .5) 38%, rgba(5, 14, 22, .12) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(660px, calc(100% - 36px));
  margin-left: clamp(18px, 6vw, 90px);
  color: #fff;
  padding: 72px 0 96px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--teal);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1,
.section h2 {
  margin: 0;
  line-height: 1.12;
  letter-spacing: 0;
}

.hero h1 {
  font-size: clamp(42px, 6vw, 76px);
}

.hero-copy {
  max-width: 600px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, .82);
  font-size: clamp(17px, 2vw, 21px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: var(--radius);
  font-weight: 800;
  white-space: nowrap;
}

.button.primary {
  color: #08151c;
  background: var(--gold);
}

.button.secondary {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .32);
  background: rgba(255, 255, 255, .08);
}

.section {
  width: min(1160px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(56px, 8vw, 96px) 0;
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 430px) minmax(0, 1fr);
  gap: clamp(26px, 6vw, 90px);
  align-items: start;
}

.section h2 {
  font-size: clamp(30px, 4vw, 48px);
}

.intro p:last-child,
.platform-copy p,
.contact p {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 30px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.service-card {
  overflow: hidden;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.service-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: #dfe8e8;
}

.service-card div {
  padding: 22px;
}

.service-card h3 {
  margin: 0 0 8px;
  font-size: 21px;
  line-height: 1.25;
}

.service-card p {
  margin: 0;
  color: var(--muted);
}

.platform {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 430px);
  gap: clamp(28px, 6vw, 80px);
  align-items: center;
}

.platform-copy p {
  margin-top: 20px;
}

.metrics {
  display: grid;
  gap: 14px;
}

.metrics div {
  display: grid;
  grid-template-columns: 92px 1fr;
  align-items: center;
  gap: 18px;
  min-height: 92px;
  padding: 20px;
  color: #fff;
  background: var(--navy);
  border-radius: var(--radius);
}

.metrics strong {
  color: var(--gold);
  font-size: 28px;
}

.metrics span {
  color: rgba(255, 255, 255, .76);
}

.locations .section-heading p:last-child {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 18px;
}

.map-grid {
  display: grid;
  gap: 18px;
}

.map-card {
  display: grid;
  grid-template-columns: minmax(0, 420px) minmax(0, 1fr);
  overflow: hidden;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.map-copy {
  padding: 24px;
}

.map-copy h3 {
  margin: 0 0 8px;
  font-size: 24px;
  line-height: 1.25;
}

.map-copy p {
  margin: 0 0 10px;
  color: var(--muted);
}

.map-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.button.map-secondary {
  color: var(--ink);
  background: #e8eeee;
}

.map-card iframe {
  width: 100%;
  min-height: 300px;
  height: 100%;
  border: 0;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 430px);
  align-items: center;
  gap: clamp(28px, 6vw, 80px);
  border-top: 1px solid var(--line);
}

.contact div {
  min-width: 0;
}

.contact > div:first-child {
  max-width: 720px;
}

.contact-details {
  display: grid;
  gap: 12px;
}

.owner-card,
.contact-card {
  display: grid;
  gap: 4px;
  padding: 18px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 12px 28px rgba(16, 32, 42, .08);
}

.owner-card span,
.contact-card span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.owner-card strong,
.contact-card strong {
  color: var(--ink);
  font-size: 18px;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.owner-card small {
  color: var(--muted);
  overflow-wrap: anywhere;
}

.contact-card small {
  color: var(--teal);
  font-size: 14px;
}

.qr-card {
  grid-template-columns: 92px 1fr;
  align-items: center;
}

.qr-card img {
  width: 92px;
  height: 92px;
  padding: 6px;
  object-fit: contain;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(18px, 4vw, 60px);
  color: rgba(255, 255, 255, .72);
  background: var(--navy);
}

.site-footer span:first-child {
  color: #fff;
  font-weight: 800;
}

@media (max-width: 860px) {
  .site-header {
    grid-template-columns: 1fr;
    justify-items: start;
    gap: 12px;
  }

  .nav {
    justify-content: flex-start;
    order: 3;
  }

  .language-switcher {
    position: absolute;
    top: 14px;
    right: 18px;
  }

  .hero {
    min-height: 700px;
  }

  .hero::after {
    background: linear-gradient(180deg, rgba(5, 14, 22, .82) 0%, rgba(5, 14, 22, .5) 58%, rgba(5, 14, 22, .22) 100%);
  }

  .hero-content {
    margin: 0 auto;
    padding-top: 96px;
  }

  .intro,
  .platform,
  .contact,
  .map-card,
  .service-grid {
    grid-template-columns: 1fr;
  }

  .map-card iframe {
    height: 280px;
  }

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

@media (max-width: 520px) {
  .language-switcher {
    position: static;
  }

  .hero {
    min-height: auto;
  }

  .hero h1 {
    font-size: 38px;
  }

  .button {
    width: 100%;
  }

  .metrics div {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .qr-card {
    grid-template-columns: 1fr;
  }

  .qr-card img {
    width: 150px;
    height: 150px;
  }
}
