:root {
  --ink: #17212f;
  --muted: #647184;
  --line: #dde5ee;
  --surface: #ffffff;
  --soft: #f4f7fa;
  --blue: #0756a5;
  --blue-dark: #063f78;
  --green: #0b7f61;
  --gold: #c99632;
  --shadow: 0 24px 70px rgba(23, 33, 47, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--surface);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.5;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
  padding: 0 5vw;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(221, 229, 238, 0.9);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 220px;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: white;
  background: var(--blue);
  border-radius: 8px;
  font-weight: 800;
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  color: var(--muted);
  font-size: 12px;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
  color: #2f3c4d;
  font-size: 14px;
}

.main-nav a {
  padding: 26px 0;
}

.header-login,
.secondary-action,
.primary-action,
.zalo-action,
.contact-form button,
.auth-panel button {
  min-height: 44px;
  padding: 0 18px;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 700;
}

.header-login {
  color: var(--blue);
  background: #e9f2fb;
}

.hero {
  position: relative;
  min-height: calc(100vh - 76px);
  overflow: hidden;
  display: grid;
  align-items: center;
  padding: 88px 5vw 150px;
  color: white;
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
}

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

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(5, 25, 45, 0.88) 0%, rgba(5, 25, 45, 0.72) 38%, rgba(5, 25, 45, 0.2) 76%),
    linear-gradient(0deg, rgba(5, 25, 45, 0.64), rgba(5, 25, 45, 0));
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 760px;
}

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

.hero h1,
.section-heading h2,
.account-band h2 {
  margin: 0;
  line-height: 1.08;
}

.hero h1 {
  max-width: 880px;
  font-size: clamp(40px, 6vw, 76px);
}

.hero-copy {
  max-width: 660px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 18px;
}

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

.primary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: white;
  background: var(--blue);
}

.secondary-action {
  color: white;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.34);
}

.zalo-action {
  color: white;
  background: var(--blue);
}

.hero-facts {
  position: absolute;
  z-index: 2;
  right: 5vw;
  bottom: 32px;
  left: 5vw;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: rgba(255, 255, 255, 0.96);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.hero-facts div {
  min-height: 108px;
  padding: 22px 24px;
  border-right: 1px solid var(--line);
}

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

.hero-facts span,
.company-panel dt {
  display: block;
  color: var(--muted);
  font-size: 13px;
}

.hero-facts strong {
  display: block;
  margin-top: 6px;
  color: var(--ink);
  font-size: 20px;
}

.section {
  padding: 86px 5vw;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 36px;
}

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

.intro-band {
  background: var(--soft);
}

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

.credentials-grid article {
  min-height: 246px;
  padding: 28px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.credential-icon {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: white;
  background: var(--green);
  border-radius: 8px;
  font-weight: 800;
}

.credentials-grid h3,
.service-item h3,
.company-panel h3 {
  margin: 20px 0 10px;
  font-size: 22px;
}

.credentials-grid p,
.service-item p,
.timeline p,
.account-band p,
.company-panel dd,
.auth-note {
  color: var(--muted);
}

.services {
  background: white;
}

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

.service-item {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 18px;
  min-height: 174px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.service-number {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  color: var(--blue);
  background: #e9f2fb;
  border-radius: 8px;
  font-weight: 800;
}

.process {
  background: #102033;
  color: white;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  padding: 0;
  margin: 0;
  list-style: none;
  border-top: 1px solid rgba(255, 255, 255, 0.24);
}

.timeline li {
  position: relative;
  padding: 30px 26px 0 0;
}

.timeline li::before {
  content: "";
  position: absolute;
  top: -7px;
  left: 0;
  width: 13px;
  height: 13px;
  background: var(--gold);
  border-radius: 50%;
}

.timeline span {
  font-size: 22px;
  font-weight: 800;
}

.timeline p {
  color: rgba(255, 255, 255, 0.72);
}

.account-band {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  align-items: center;
  gap: 40px;
  color: white;
  background: linear-gradient(120deg, var(--blue-dark), var(--green));
}

.account-band .eyebrow {
  color: #ffd77d;
}

.account-band p {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.78);
}

.account-actions {
  justify-content: flex-end;
  margin: 0;
}

.contact {
  background: var(--soft);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.8fr);
  gap: 22px;
}

.contact-form,
.company-panel {
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 28px;
}

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

.contact-form label,
.auth-panel label {
  display: grid;
  gap: 8px;
  color: #2f3c4d;
  font-weight: 700;
}

.contact-form label:nth-child(4) {
  grid-column: 1 / -1;
}

.contact-form input,
.contact-form select,
.contact-form textarea,
.auth-panel input {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  color: var(--ink);
  background: white;
  border: 1px solid #cbd6e1;
  border-radius: 8px;
}

.contact-form button {
  justify-self: start;
  color: white;
  background: var(--blue);
}

.company-panel h3 {
  margin-top: 0;
}

.company-panel dl,
.company-panel dd {
  margin: 0;
}

.company-panel div {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

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

.company-panel dd {
  margin-top: 4px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 28px 5vw;
  color: rgba(255, 255, 255, 0.76);
  background: #07121f;
  font-size: 14px;
}

.auth-modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: none;
  place-items: center;
  padding: 20px;
}

.auth-modal.open {
  display: grid;
}

.auth-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(7, 18, 31, 0.7);
}

.auth-dialog {
  position: relative;
  width: min(100%, 460px);
  padding: 30px;
  background: white;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.auth-dialog h2 {
  margin: 0 0 20px;
  font-size: 30px;
}

.close-button {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 8px;
  background: var(--soft);
  cursor: pointer;
  font-size: 22px;
  line-height: 1;
}

.auth-tabs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
  padding: 4px;
  margin-bottom: 20px;
  background: var(--soft);
  border-radius: 8px;
}

.auth-tabs button {
  min-height: 40px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  cursor: pointer;
  font-weight: 800;
}

.auth-tabs button.active {
  color: var(--blue);
  background: white;
  box-shadow: 0 6px 16px rgba(23, 33, 47, 0.08);
}

.auth-panel {
  display: none;
}

.auth-panel.active {
  display: grid;
  gap: 16px;
}

.auth-panel button {
  color: white;
  background: var(--blue);
}

.auth-note {
  margin: 0;
  font-size: 14px;
}

.auth-note.auth-success {
  padding: 12px 14px;
  color: #0b604a;
  background: #e8f6f1;
  border: 1px solid #bce1d5;
  border-radius: 8px;
  font-weight: 700;
}

@media (max-width: 920px) {
  .site-header {
    flex-wrap: wrap;
    min-height: auto;
    padding-top: 14px;
    padding-bottom: 14px;
  }

  .brand {
    min-width: 0;
  }

  .main-nav {
    order: 3;
    width: 100%;
    justify-content: flex-start;
    gap: 18px;
    overflow-x: auto;
  }

  .main-nav a {
    padding: 6px 0;
    white-space: nowrap;
  }

  .hero {
    min-height: 840px;
    padding-top: 70px;
  }

  .hero-facts,
  .credentials-grid,
  .service-list,
  .timeline,
  .account-band,
  .contact-layout,
  .contact-form {
    grid-template-columns: 1fr;
  }

  .hero-facts div {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

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

  .account-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 560px) {
  .site-header,
  .section,
  .hero {
    padding-left: 20px;
    padding-right: 20px;
  }

  .hero {
    min-height: 900px;
    padding-bottom: 260px;
  }

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

  .hero-actions,
  .account-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .primary-action,
  .secondary-action,
  .zalo-action {
    width: 100%;
  }

  .hero-facts {
    right: 20px;
    left: 20px;
  }

  .site-footer {
    flex-direction: column;
  }
}
