:root {
  --ink: #111827;
  --muted: #606b78;
  --line: #d9e0ea;
  --surface: #ffffff;
  --soft: #f5f7fb;
  --blue: #0b4592;
  --blue-dark: #07316b;
  --red: #d71920;
  --red-dark: #a80f16;
  --gray: #6b7280;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--soft);
  font-family: "Noto Sans Lao", Arial, 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: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 5vw, 72px);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  white-space: nowrap;
  color: var(--blue);
}

.brand-logo {
  width: 54px;
  height: 54px;
  object-fit: contain;
  padding: 3px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 8px 18px rgba(11, 69, 146, 0.12);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 3vw, 30px);
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 600;
}

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

.hero {
  position: relative;
  min-height: 650px;
  display: grid;
  align-items: end;
  gap: 28px;
  padding: 112px clamp(18px, 5vw, 72px) 48px;
  color: #fff;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(7, 49, 107, 0.94), rgba(11, 69, 146, 0.68), rgba(215, 25, 32, 0.18)),
    url("image/hero.svg") center / cover no-repeat;
}

.hero-content {
  width: min(680px, 100%);
}

.hero-logo {
  width: min(220px, 52vw);
  height: auto;
  margin-bottom: 18px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.96);
  border-radius: 8px;
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.2);
}

.eyebrow,
.section-label,
.category {
  margin: 0 0 10px;
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  font-size: clamp(3rem, 8vw, 6.8rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.hero-text {
  max-width: 600px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1rem, 2vw, 1.25rem);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
}

.button.primary {
  color: #fff;
  background: var(--red);
  box-shadow: 0 10px 24px rgba(215, 25, 32, 0.28);
}

.button.secondary {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.48);
}

.button:hover {
  transform: translateY(-1px);
}

.hero-panel {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: min(760px, 100%);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 8px;
  color: var(--ink);
  overflow: hidden;
}

.hero-panel div {
  padding: 20px;
  border-right: 1px solid var(--line);
}

.hero-panel div:last-child {
  border-right: 0;
}

.hero-panel strong {
  display: block;
  font-size: 1.4rem;
  line-height: 1.1;
  color: var(--blue);
}

.hero-panel span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.92rem;
}

.section {
  padding: 76px clamp(18px, 5vw, 72px);
}

.intro {
  display: grid;
  grid-template-columns: minmax(240px, 0.8fr) minmax(280px, 1.2fr);
  gap: 36px;
  background: #fff;
}

.section h2,
.contact-band h2 {
  margin: 0;
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1.16;
  letter-spacing: 0;
}

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

.service-grid article {
  padding: 22px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.service-grid h3,
.product-info h3 {
  margin: 0 0 8px;
  font-size: 1.18rem;
  line-height: 1.3;
}

.service-grid p,
.product-info p,
.contact-list p {
  margin: 0;
  color: var(--muted);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 26px;
}

.products {
  background: #eef3fa;
}

.products .section-label {
  color: var(--blue);
}

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

.product-card {
  display: grid;
  grid-template-rows: 210px 1fr;
  min-height: 420px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 16px 34px rgba(11, 69, 146, 0.08);
}

.product-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #dde7e8;
}

.product-info {
  display: flex;
  flex-direction: column;
  padding: 20px;
}

.product-info .category {
  color: var(--red);
}

.product-info strong {
  margin-top: auto;
  color: var(--blue);
  font-size: 1.08rem;
}

.contact-band {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) minmax(260px, 0.7fr);
  gap: 30px;
  align-items: center;
  padding: 68px clamp(18px, 5vw, 72px);
  color: #fff;
  background: linear-gradient(135deg, var(--blue-dark), var(--blue) 58%, var(--red-dark));
}

.contact-list {
  padding: 24px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
}

.contact-list p {
  color: rgba(255, 255, 255, 0.88);
}

.contact-list p + p {
  margin-top: 10px;
}

.site-footer {
  padding: 24px clamp(18px, 5vw, 72px);
  color: #d9e2e6;
  background: #121c24;
  font-size: 0.92rem;
}

.site-footer p {
  margin: 0;
}

@media (max-width: 920px) {
  .intro,
  .contact-band {
    grid-template-columns: 1fr;
  }

  .service-grid,
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .site-header {
    position: static;
    align-items: flex-start;
    flex-direction: column;
  }

  .main-nav {
    width: 100%;
    justify-content: space-between;
  }

  .hero {
    min-height: auto;
    padding-top: 74px;
  }

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

  .hero-panel div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .hero-panel div:last-child {
    border-bottom: 0;
  }

  .service-grid,
  .product-grid {
    grid-template-columns: 1fr;
  }

  .product-card {
    min-height: auto;
  }
}
