:root {
  --deep-teal: #123d3a;
  --teal-2: #2f6f73;
  --copper: #b66a3c;
  --copper-dark: #8f4f2b;
  --sand: #f4efe6;
  --rice: #fbfaf6;
  --paper: #ffffff;
  --charcoal: #25302e;
  --muted: #65726f;
  --line: #ded6cc;
  --gold: #d5a84e;
  --blue: #2f6f73;
  --shadow: 0 18px 45px rgba(17, 24, 22, 0.08);
  --radius: 8px;
  --font: Inter, Aptos, "Segoe UI", Arial, sans-serif;
  --font-heading: Sora, Inter, Aptos, "Segoe UI", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--rice);
  color: var(--charcoal);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  margin: 0;
  overflow-x: hidden;
}

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

a {
  color: inherit;
}

.skip-link {
  background: var(--deep-teal);
  color: #fff;
  left: 16px;
  padding: 10px 12px;
  position: absolute;
  top: -48px;
  z-index: 40;
}

.skip-link:focus {
  top: 12px;
}

.site-header {
  background: rgba(251, 250, 246, 0.94);
  border-bottom: 1px solid rgba(217, 222, 216, 0.82);
  position: sticky;
  top: 0;
  z-index: 30;
}

.nav {
  align-items: center;
  display: flex;
  gap: 22px;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 1180px;
  min-height: 76px;
  padding: 0 24px;
}

.brand {
  align-items: center;
  display: inline-flex;
  flex: 0 0 auto;
  gap: 12px;
  min-width: 190px;
  text-decoration: none;
}

.brand img {
  width: 46px;
}

.brand-name {
  color: var(--deep-teal);
  display: block;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.1;
}

.brand-line {
  color: var(--muted);
  display: block;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.2;
}

.nav-links {
  align-items: center;
  display: flex;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  border-radius: 6px;
  color: var(--charcoal);
  display: block;
  font-size: 14px;
  font-weight: 700;
  padding: 10px 9px;
  text-decoration: none;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  background: rgba(0, 60, 58, 0.08);
  color: var(--deep-teal);
}

.nav-cta {
  background: var(--deep-teal);
  border-radius: 6px;
  color: #fff !important;
  padding-inline: 14px !important;
}

.language-switch {
  display: block;
  padding-left: 4px;
  position: relative;
}

.language-switch a {
  background-color: #fff;
  background-position: 7px center;
  background-repeat: no-repeat;
  background-size: 30px 18px;
  border: 2px solid transparent;
  border-radius: 6px;
  box-sizing: border-box;
  display: block;
  font-size: 0;
  height: 30px;
  opacity: .68;
  padding: 4px;
  width: 48px;
}

.language-switch a[hreflang="en"] {
  background-image: url("assets/site/icons/flag-en.svg");
}

.language-switch a[hreflang="vi"] {
  background-image: url("assets/site/icons/flag-vi.svg");
}

.language-switch a:hover,
.language-switch a:focus-visible {
  border-color: var(--gold);
  opacity: 1;
}

.language-switch a.active {
  border-color: var(--deep-teal);
  opacity: 1;
}

.language-switch a.active::after {
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid var(--deep-teal);
  content: "";
  position: absolute;
  right: 5px;
  top: 12px;
}

.language-switch a:not(.active) {
  box-shadow: 0 8px 20px rgba(15, 39, 37, .16);
  display: none;
  opacity: 1;
  position: absolute;
  right: 0;
  top: calc(100% + 6px);
  z-index: 30;
}

.language-switch.is-open a:not(.active) {
  display: block;
}

.language-switch span {
  display: none;
}

.menu-toggle {
  align-items: center;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--deep-teal);
  cursor: pointer;
  display: none;
  font-size: 22px;
  height: 44px;
  justify-content: center;
  width: 44px;
}

.hero {
  min-height: min(760px, calc(100vh - 76px));
  padding: 54px 24px 28px;
}

.hero-inner,
.section-inner {
  margin: 0 auto;
  max-width: 1180px;
  width: 100%;
}

.hero-grid {
  align-items: center;
  display: grid;
  gap: 48px;
  grid-template-columns: minmax(0, 1.03fr) minmax(360px, 0.97fr);
}

.eyebrow {
  align-items: center;
  color: var(--copper-dark);
  display: inline-flex;
  font-size: 13px;
  font-weight: 800;
  gap: 10px;
  letter-spacing: 0;
  margin: 0 0 18px;
  text-transform: uppercase;
}

.eyebrow::before {
  background: var(--copper);
  border-radius: 999px;
  content: "";
  height: 4px;
  width: 46px;
}

h1,
h2,
h3 {
  color: var(--deep-teal);
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.08;
  margin: 0;
  overflow-wrap: break-word;
}

h1 {
  font-size: clamp(42px, 6vw, 78px);
  max-width: 820px;
}

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

h3 {
  font-size: 22px;
}

.lead {
  color: var(--charcoal);
  font-size: clamp(18px, 2.3vw, 23px);
  line-height: 1.5;
  margin: 22px 0 0;
  max-width: 720px;
}

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

.button {
  align-items: center;
  border: 1px solid var(--deep-teal);
  border-radius: 6px;
  display: inline-flex;
  font-weight: 800;
  justify-content: center;
  min-height: 46px;
  padding: 12px 17px;
  text-decoration: none;
}

.button.primary {
  background: var(--deep-teal);
  color: #fff;
}

.button.secondary {
  background: transparent;
  color: var(--deep-teal);
}

.button.copper {
  background: var(--copper);
  border-color: var(--copper);
  color: #fff;
}

.hero-visual {
  background: var(--sand);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  position: relative;
}

.hero-visual img {
  aspect-ratio: 16 / 10;
  object-fit: contain;
  width: 100%;
}

.proof-row {
  border-top: 1px solid var(--line);
  display: grid;
  gap: 0;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 44px;
}

.proof {
  padding: 22px 20px;
}

.proof + .proof {
  border-left: 1px solid var(--line);
}

.proof strong {
  color: var(--deep-teal);
  display: block;
  font-size: 24px;
  line-height: 1.1;
}

.proof span {
  color: var(--muted);
  display: block;
  font-size: 14px;
  margin-top: 5px;
}

.section {
  padding: 82px 24px;
}

.section.sand {
  background: var(--sand);
}

.section.dark {
  background: var(--deep-teal);
  color: #fff;
}

.section.dark h2,
.section.dark h3 {
  color: #fff;
}

.section.dark .muted,
.section.dark p {
  color: rgba(255, 255, 255, 0.78);
}

.section.dark .card h3 {
  color: var(--deep-teal);
}

.section.dark .card p {
  color: var(--muted);
}

.section-head {
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(0, 0.82fr) minmax(280px, 0.5fr);
  margin-bottom: 34px;
}

.section-head p,
.muted {
  color: var(--muted);
  margin: 0;
}

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

.grid > *,
.split > *,
.hero-grid > *,
.section-head > *,
.form-grid > * {
  min-width: 0;
}

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

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

.grid.cols-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}

.card img.icon {
  height: 38px;
  margin-bottom: 16px;
  object-fit: contain;
  width: 38px;
}

.category-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
}

.category-card img {
  aspect-ratio: 4 / 3;
  background: var(--sand);
  object-fit: contain;
  width: 100%;
}

.category-card .copy {
  padding: 22px;
}

.category-card p,
.card p {
  color: var(--muted);
  margin: 10px 0 0;
}

.list-check {
  display: grid;
  gap: 10px;
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
}

.list-check li {
  align-items: flex-start;
  display: flex;
  gap: 10px;
}

.list-check li::before {
  background: var(--copper);
  border-radius: 50%;
  content: "";
  flex: 0 0 auto;
  height: 8px;
  margin-top: 9px;
  width: 8px;
}

.process {
  counter-reset: step;
}

.process .card {
  min-height: 170px;
  position: relative;
}

.process .card::before {
  color: var(--copper);
  content: counter(step, decimal-leading-zero);
  counter-increment: step;
  display: block;
  font-size: 14px;
  font-weight: 900;
  margin-bottom: 18px;
}

.split {
  align-items: center;
  display: grid;
  gap: 44px;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
}

.split img {
  background: var(--sand);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  object-fit: contain;
  width: 100%;
}

.page-hero {
  background: var(--sand);
  padding: 70px 24px;
}

.page-hero p {
  font-size: 20px;
  margin: 18px 0 0;
  max-width: 820px;
}

.breadcrumb {
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 18px;
}

.breadcrumb a {
  text-decoration: none;
}

.table-wrap {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow-x: auto;
}

table {
  background: var(--paper);
  border-collapse: collapse;
  min-width: 720px;
  width: 100%;
}

th,
td {
  border-bottom: 1px solid var(--line);
  padding: 14px 16px;
  text-align: left;
  vertical-align: top;
}

th {
  background: rgba(0, 60, 58, 0.06);
  color: var(--deep-teal);
  font-size: 14px;
}

.form-shell {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px;
}

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

.field {
  display: grid;
  gap: 7px;
}

.field.full {
  grid-column: 1 / -1;
}

label {
  color: var(--deep-teal);
  font-size: 14px;
  font-weight: 800;
}

input,
select,
textarea {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--charcoal);
  font: inherit;
  min-height: 46px;
  padding: 10px 12px;
  width: 100%;
}

textarea {
  min-height: 120px;
  resize: vertical;
}

.form-note {
  color: var(--muted);
  font-size: 14px;
  margin: 14px 0 0;
}

.site-footer {
  background: #0b2d2b;
  color: #fff;
  padding: 54px 24px 28px;
}

.footer-grid {
  display: grid;
  gap: 30px;
  grid-template-columns: 1.2fr repeat(3, 0.6fr);
  margin: 0 auto;
  max-width: 1180px;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.8);
  display: block;
  margin: 8px 0;
  text-decoration: none;
}

.footer-brand {
  align-items: center;
  display: flex;
  gap: 12px;
}

.footer-brand img {
  width: 96px;
}

.footer-brand .footer-logo {
  max-height: 120px;
  object-fit: contain;
  width: 96px;
}

.copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.62);
  font-size: 13px;
  margin: 34px auto 0;
  max-width: 1180px;
  padding-top: 20px;
}

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

  .nav {
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-start;
    position: relative;
  }

  .brand {
    margin-right: auto;
  }

  .nav-links {
    border-top: 1px solid var(--line);
    display: none;
    flex: 0 0 100%;
    flex-direction: column;
    padding: 12px 0 18px;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    width: 100%;
  }

  .language-switch {
    padding: 0;
    position: relative;
    right: auto;
    top: auto;
    width: auto;
  }

  .language-switch a {
    background-size: 34px 20px;
    background-position: 6px center;
    height: 36px;
    width: 48px;
  }

  .language-switch a.active::after {
    top: 14px;
  }

  .hero-grid,
  .section-head,
  .split,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .grid.cols-3,
  .grid.cols-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .nav {
    min-height: 66px;
    padding: 0 16px;
  }

  .brand {
    min-width: 0;
  }

  .brand img {
    width: 40px;
  }

  .language-switch {
    right: auto;
    top: auto;
  }

  .language-switch a {
    background-position: 5px center;
    background-size: 26px 16px;
    height: 30px;
    width: 38px;
  }

  .language-switch a.active::after {
    border-left-width: 3px;
    border-right-width: 3px;
    border-top-width: 4px;
    right: 3px;
    top: 11px;
  }

  .footer-brand img,
  .footer-brand .footer-logo {
    max-height: 106px;
    width: 84px;
  }

  .hero,
  .section,
  .page-hero {
    padding-left: 16px;
    padding-right: 16px;
  }

  .hero {
    padding-top: 34px;
  }

  h1 {
    font-size: 36px;
  }

  .lead,
  .page-hero p {
    font-size: 18px;
  }

  .grid.cols-2,
  .grid.cols-3,
  .grid.cols-4,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .proof-row {
    grid-template-columns: 1fr;
  }

  .proof + .proof {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .button {
    width: 100%;
  }

  .card,
  .form-shell {
    padding: 20px;
  }

  .table-wrap {
    border: 0;
    overflow-x: visible;
  }

  table,
  thead,
  tbody,
  tr,
  td {
    display: block;
    min-width: 0;
    width: 100%;
  }

  table {
    background: transparent;
  }

  thead {
    display: none;
  }

  tr {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    margin-bottom: 12px;
    overflow: hidden;
  }

  td {
    border-bottom: 1px solid var(--line);
    padding: 12px 14px;
  }

  td:last-child {
    border-bottom: 0;
  }

  td::before {
    color: var(--copper-dark);
    content: attr(data-label);
    display: block;
    font-size: 12px;
    font-weight: 800;
    margin-bottom: 3px;
    text-transform: uppercase;
  }
}

@media (max-width: 380px) {
  .brand {
    gap: 8px;
  }

  .brand-name {
    font-size: 16px;
  }

  .brand-line {
    font-size: 9px;
    max-width: 120px;
  }
}
