:root {
  --bg: #f2f6f9;
  --surface: #ffffff;
  --surface-alt: #ecf3f8;
  --text: #102235;
  --muted: #52677f;
  --line: #d4deea;
  --brand: #0d5caa;
  --brand-strong: #0a4c8d;
  --accent: #ff7a1a;
  --zalo: #0180c7;
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 10px;
  --shadow: 0 16px 36px rgba(16, 34, 53, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Be Vietnam Pro", "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.55;
}

.site-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background:
    radial-gradient(circle at 10% -8%, rgba(13, 92, 170, 0.25), transparent 30%),
    radial-gradient(circle at 88% 8%, rgba(255, 122, 26, 0.2), transparent 26%),
    linear-gradient(180deg, #f7fbff 0%, #eef4f9 52%, #f5f8fb 100%);
}

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

a {
  color: inherit;
}

.container {
  width: min(1180px, 92%);
  margin: 0 auto;
}

.top-nav {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(12px);
  background: rgba(247, 251, 255, 0.86);
  border-bottom: 1px solid rgba(212, 222, 234, 0.75);
}

.nav-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.68rem;
  text-decoration: none;
}

.brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--brand-strong));
  box-shadow: 0 12px 24px rgba(13, 92, 170, 0.35);
}

.brand-text {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.12rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.menu {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.menu a {
  text-decoration: none;
  font-weight: 600;
  color: #294460;
  padding: 0.56rem 0.88rem;
  border-radius: 999px;
  transition: background 0.2s ease, color 0.2s ease;
}

.menu a:hover {
  background: #e7f0fa;
  color: #0f4d88;
}

.menu .menu-cta {
  background: linear-gradient(135deg, var(--accent), #ff9a47);
  color: #fff;
}

.menu .menu-cta:hover {
  background: linear-gradient(135deg, #f66e0f, #ff9640);
  color: #fff;
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  padding: 10px 9px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  margin: 5px 0;
  border-radius: 8px;
  background: #264e79;
}

.hero {
  padding: 4.4rem 0 3.2rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 1rem;
  align-items: stretch;
}

.eyebrow {
  margin: 0 0 0.55rem;
  color: #3f6d98;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  font-size: 0.73rem;
}

.hero h1 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2rem, 4.2vw, 3.25rem);
  line-height: 1.07;
}

.subtext {
  margin: 1rem 0 0;
  color: var(--muted);
  max-width: 62ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.66rem;
  margin-top: 1.3rem;
}

.btn {
  border: none;
  text-decoration: none;
  font: inherit;
  font-weight: 700;
  border-radius: 12px;
  min-height: 46px;
  padding: 0.65rem 1.1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--brand), #1f6fbd);
  box-shadow: 0 10px 22px rgba(13, 92, 170, 0.3);
}

.btn-outline {
  color: #194971;
  border: 1px solid #b7cbe2;
  background: #f8fcff;
}

.hero-badges {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.52rem;
  margin: 1.2rem 0 0;
  padding: 0;
  list-style: none;
}

.hero-badges li {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0.62rem;
  font-size: 0.86rem;
}

.hero-badges strong {
  display: block;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.06rem;
}

.hero-visual {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  min-height: 360px;
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  left: 0.8rem;
  right: 0.8rem;
  bottom: 0.8rem;
  border-radius: 14px;
  padding: 0.72rem 0.8rem;
  background: rgba(16, 34, 53, 0.72);
  color: #fff;
}

.hero-overlay h3 {
  margin: 0;
  font-size: 0.96rem;
}

.hero-overlay p {
  margin: 0.2rem 0 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.2rem;
}

.section {
  padding: 2.6rem 0;
}

.section-alt {
  background: linear-gradient(180deg, #f7fbff 0%, #edf4fa 100%);
  border-top: 1px solid #dce7f3;
  border-bottom: 1px solid #dce7f3;
}

.section-head {
  margin-bottom: 1.1rem;
}

.section h2 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.45rem, 2.8vw, 2.2rem);
}

.case-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}

.case-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #fff;
  box-shadow: 0 10px 24px rgba(16, 34, 53, 0.06);
}

.case-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.case-card div {
  padding: 0.85rem;
}

.case-card h3 {
  margin: 0;
  font-size: 1.04rem;
}

.case-card p {
  margin: 0.45rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.8rem;
}

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

.service-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
  box-shadow: 0 10px 24px rgba(16, 34, 53, 0.06);
  padding: 0.95rem;
}

.service-card h3 {
  margin: 0;
  font-size: 1.06rem;
}

.service-card p {
  margin: 0.5rem 0 0;
  color: var(--muted);
  font-size: 0.91rem;
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.82rem;
}

.detail-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #fff;
  padding: 0.95rem;
  box-shadow: 0 10px 24px rgba(16, 34, 53, 0.06);
}

.detail-card h3 {
  margin: 0;
  font-size: 1.03rem;
}

.detail-card p {
  margin: 0.48rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.coverage-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.82rem;
}

.coverage-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #fff;
  padding: 0.95rem;
  box-shadow: 0 10px 24px rgba(16, 34, 53, 0.06);
}

.coverage-card h3 {
  margin: 0;
  font-size: 1.04rem;
}

.coverage-card ul {
  margin: 0.62rem 0 0;
  padding-left: 1.1rem;
  color: #304a64;
}

.coverage-card li + li {
  margin-top: 0.34rem;
}

.coverage-card p {
  margin: 0.66rem 0 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.coverage-card.muted-zone {
  background: linear-gradient(180deg, #fff8f3 0%, #fff3e8 100%);
  border-color: #f5cfad;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.8rem;
}

.timeline article {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #fff;
  padding: 0.9rem;
}

.timeline span {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, var(--brand), #2a79c3);
  font-weight: 700;
}

.timeline h3 {
  margin: 0.58rem 0 0;
  font-size: 1.02rem;
}

.timeline p {
  margin: 0.42rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem;
  align-items: start;
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
  display: grid;
  gap: 0.46rem;
  color: #2d4864;
}

.contact-list a {
  color: #0e5caa;
}

.contact-form {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: 0 12px 30px rgba(16, 34, 53, 0.08);
  padding: 0.96rem;
  display: grid;
  gap: 0.7rem;
}

.contact-form label {
  display: grid;
  gap: 0.3rem;
  font-weight: 600;
  font-size: 0.9rem;
}

input,
select,
textarea,
button {
  font: inherit;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid #c8d7e7;
  border-radius: 11px;
  min-height: 42px;
  padding: 0.56rem 0.7rem;
  background: #fbfdff;
  color: var(--text);
}

textarea {
  resize: vertical;
}

.form-note {
  margin: 0;
  color: #698099;
  font-size: 0.8rem;
}

.footer {
  border-top: 1px solid #d2dfed;
  padding: 1rem 0;
  background: #f4f8fc;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  color: #456381;
  font-size: 0.9rem;
}

.footer-inner p {
  margin: 0;
}

.footer-inner a {
  color: #0d5daa;
  text-decoration: none;
  font-weight: 700;
}

.mobile-fab {
  display: none;
}

@media (max-width: 1024px) {
  .hero-grid,
  .contact-grid,
  .coverage-wrap {
    grid-template-columns: 1fr;
  }

  .case-grid,
  .detail-grid,
  .timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 800px) {
  .menu-toggle {
    display: inline-block;
  }

  .menu {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    margin: 0 auto;
    width: min(94%, 680px);
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0.2rem;
    padding: 0.5rem;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 16px 30px rgba(16, 34, 53, 0.12);
  }

  .menu.open {
    display: flex;
  }

  .menu a,
  .menu .menu-cta {
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 640px) {
  .container {
    width: 94%;
  }

  .nav-inner {
    min-height: 68px;
  }

  .brand-text {
    font-size: 1.01rem;
  }

  .hero {
    padding-top: 3.5rem;
    padding-bottom: 2.2rem;
  }

  .hero-badges,
  .case-grid,
  .service-grid,
  .service-grid-detail,
  .detail-grid,
  .timeline,
  .coverage-wrap {
    grid-template-columns: 1fr;
  }

  .btn,
  .hero-actions {
    width: 100%;
  }

  .case-card img {
    height: 180px;
  }

  .footer {
    padding-bottom: 6rem;
  }

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

  .mobile-fab {
    position: fixed;
    right: 14px;
    bottom: 16px;
    z-index: 70;
    display: grid;
    gap: 10px;
  }

  .fab-btn {
    width: 58px;
    height: 58px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #fff;
    box-shadow: 0 12px 26px rgba(16, 34, 53, 0.25);
    font-weight: 800;
    font-size: 1.1rem;
  }

  .fab-call {
    background: linear-gradient(135deg, #2fbe65, #1f9f50);
  }

  .fab-zalo {
    background: linear-gradient(135deg, #0794e6, var(--zalo));
    font-family: "Space Grotesk", sans-serif;
    font-size: 1.3rem;
  }
}
