:root {
  --ink: #0c1222;
  --ink-soft: #151d32;
  --surface: #f7f5f1;
  --surface-2: #ede9e2;
  --white: #ffffff;
  --text: #1c2435;
  --muted: #5a6478;
  --brand: #e2562a;
  --brand-hover: #f06d42;
  --brand-pressed: #c74720;
  --accent: #1a3a5c;
  --accent-light: #2d5a8a;
  --zalo: #0068ff;
  --zalo-hover: #1a7cff;
  --ring: rgba(226, 86, 42, 0.35);
  --shadow: 0 4px 24px rgba(12, 18, 34, 0.08);
  --shadow-lg: 0 20px 60px rgba(12, 18, 34, 0.12);
  --radius: 14px;
  --radius-sm: 10px;
  --radius-pill: 999px;
  --font: "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;
  --max: 1120px;
  --header-h: 72px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--surface);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--accent-light);
}

a:hover {
  color: var(--accent);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.skip-link:focus {
  position: fixed;
  left: 1rem;
  top: 1rem;
  width: auto;
  height: auto;
  padding: 0.75rem 1rem;
  background: var(--white);
  border-radius: var(--radius-sm);
  z-index: 10000;
  box-shadow: var(--shadow-lg);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.container-wide {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

/* ——— Header ——— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247, 245, 241, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(12, 18, 34, 0.06);
}

.site-header__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1rem;
  min-height: var(--header-h);
  flex-wrap: wrap;
  row-gap: 0.5rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--text);
  font-weight: 600;
  font-size: 1.05rem;
}

.logo__mark {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: linear-gradient(135deg, var(--brand) 0%, #ff8a5c 100%);
  box-shadow: 0 4px 14px rgba(226, 86, 42, 0.35);
}

.logo__text strong {
  font-weight: 800;
  color: var(--accent);
}

.nav {
  display: none;
  align-items: center;
  gap: 1.75rem;
}

.nav a {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--muted);
  text-decoration: none;
}

.nav a:hover {
  color: var(--brand);
}

.site-header__actions {
  display: none;
  align-items: center;
  gap: 0.5rem;
}

.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  border-radius: var(--radius-sm);
}

.nav-toggle span {
  display: block;
  height: 2px;
  width: 22px;
  background: var(--text);
  border-radius: 1px;
}

.nav-toggle:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1rem 1.25rem 1.25rem;
  border-bottom: 1px solid rgba(12, 18, 34, 0.06);
  background: var(--white);
}

.mobile-nav[hidden] {
  display: none !important;
}

.mobile-nav a:not(.btn) {
  padding: 0.65rem 0;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px solid var(--surface-2);
}

.mobile-nav a:not(.btn):hover {
  color: var(--brand);
}

@media (min-width: 880px) {
  .nav,
  .site-header__actions {
    display: flex;
  }

  .nav-toggle {
    display: none;
  }

  .mobile-nav {
    display: none !important;
    padding: 0;
    border: 0;
  }
}

/* ——— Buttons ——— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.7rem 1.25rem;
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none !important;
  border: 2px solid transparent;
  cursor: pointer;
  min-width: 0;
  max-width: 100%;
  white-space: normal;
  text-align: center;
  line-height: 1.35;
  word-wrap: break-word;
  overflow-wrap: anywhere;
  transition:
    background 0.2s,
    color 0.2s,
    border-color 0.2s,
    box-shadow 0.2s,
    transform 0.15s;
}

.btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px var(--ring);
}

.btn:active:not(:disabled) {
  transform: translateY(1px);
}

.btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  pointer-events: none;
}

.btn__ico {
  flex-shrink: 0;
}

.btn--sm {
  padding: 0.45rem 0.95rem;
  font-size: 0.875rem;
}

.btn--lg {
  padding: 0.85rem 1.5rem;
  font-size: 1rem;
}

.btn--block {
  width: 100%;
}

.btn--pill {
  border-radius: var(--radius-pill);
}

.btn--primary {
  background: var(--brand);
  color: var(--white) !important;
  box-shadow: 0 4px 16px rgba(226, 86, 42, 0.28);
}

.btn--primary:hover {
  background: var(--brand-hover);
  color: var(--white) !important;
}

.btn--secondary {
  background: var(--accent);
  color: var(--white) !important;
  box-shadow: 0 4px 16px rgba(26, 58, 92, 0.22);
}

.btn--secondary:hover {
  background: var(--accent-light);
  color: var(--white) !important;
}

.btn--soft {
  background: var(--surface-2);
  color: var(--text) !important;
  border-color: transparent;
}

.btn--soft:hover {
  background: #e0dbd2;
  color: var(--text) !important;
}

.btn--outline {
  background: transparent;
  color: var(--accent) !important;
  border-color: rgba(26, 58, 92, 0.25);
}

.btn--outline:hover {
  border-color: var(--accent);
  background: rgba(26, 58, 92, 0.05);
}

.btn--ghost {
  background: transparent;
  color: var(--muted) !important;
  border-color: transparent;
}

.btn--ghost:hover {
  color: var(--brand) !important;
  background: rgba(226, 86, 42, 0.08);
}

.btn--link {
  background: transparent;
  border: none;
  padding: 0.5rem 0;
  color: var(--brand) !important;
  font-weight: 700;
  gap: 0.25rem;
}

.btn--link:hover {
  text-decoration: underline !important;
}

.btn--zalo {
  background: var(--zalo);
  color: var(--white) !important;
  box-shadow: 0 4px 16px rgba(0, 104, 255, 0.25);
}

.btn--zalo:hover {
  background: var(--zalo-hover);
  color: var(--white) !important;
}

/* ——— Hero ——— */
.hero {
  position: relative;
  min-height: min(88vh, 820px);
  display: flex;
  align-items: flex-end;
  padding: 5rem 0 4rem;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background-color: #1a2d42;
  background-image: url("images/hero.jpg");
  background-size: cover;
  background-position: center center;
  transform: scale(1.02);
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(12, 18, 34, 0.15) 0%,
    rgba(12, 18, 34, 0.55) 45%,
    rgba(12, 18, 34, 0.88) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 640px;
  color: var(--white);
}

.eyebrow {
  margin: 0 0 0.75rem;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
}

.hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
}

.hero__accent {
  color: #ffb59a;
}

.hero__lead {
  margin: 0 0 1.75rem;
  font-size: 1.1rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.88);
}

.hero__lead strong {
  color: #fff;
}

.hero__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 1.25rem;
  align-items: stretch;
  width: 100%;
}

.hero__buttons > .btn {
  flex: 1 1 auto;
  min-width: min(100%, 9rem);
}

@media (max-width: 599px) {
  .hero__buttons {
    flex-direction: column;
  }

  .hero__buttons > .btn {
    width: 100%;
    flex: none;
    min-width: 0;
  }
}

.hero__buttons .btn--outline {
  color: var(--white) !important;
  border-color: rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.06);
}

.hero__buttons .btn--outline:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.65);
}

.hero__note {
  margin: 0;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.65);
}

@media (min-width: 640px) {
  .hero {
    align-items: center;
    padding: 6rem 0;
  }

  .hero__content {
    max-width: 720px;
  }
}

/* ——— Sections ——— */
.section {
  padding: 4rem 0;
}

.section--muted {
  background: linear-gradient(180deg, var(--surface-2) 0%, var(--surface) 100%);
}

.section--intro {
  padding-top: 4.5rem;
}

.section-head {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 2.5rem;
}

.section-head h2 {
  margin: 0 0 0.65rem;
  font-size: clamp(1.6rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--ink);
}

.section-head p {
  margin: 0;
  color: var(--muted);
}

.section h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.5rem, 2.8vw, 1.85rem);
  font-weight: 800;
  color: var(--ink);
}

.split {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 900px) {
  .split {
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
  }

  .split--reverse .split__text {
    order: 2;
  }

  .split--reverse .split__media {
    order: 1;
  }
}

.split__text p {
  color: var(--muted);
  margin: 0 0 1rem;
}

.split__text p:last-of-type {
  margin-bottom: 1.25rem;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.25rem;
}

.btn-row--center {
  justify-content: center;
}

@media (max-width: 480px) {
  .btn-row--center {
    flex-direction: column;
    align-items: stretch;
  }

  .btn-row--center .btn {
    width: 100%;
    justify-content: center;
  }
}

.split__media {
  margin: 0;
}

.split__media img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  width: 100%;
  object-fit: cover;
  aspect-ratio: 3 / 2;
}

.split__media figcaption {
  margin-top: 0.65rem;
  font-size: 0.88rem;
  color: var(--muted);
}

.split__media--round img {
  border-radius: 24px;
}

/* ——— Cards ——— */
.cards {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 700px) {
  .cards {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
  }
}

.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 0;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid rgba(12, 18, 34, 0.05);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s, box-shadow 0.25s;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.card__img {
  aspect-ratio: 16 / 11;
  overflow: hidden;
}

.card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.card:hover .card__img img {
  transform: scale(1.04);
}

.card__title {
  margin: 1.15rem 1.25rem 0.35rem;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--ink);
}

.card__desc {
  margin: 0 1.25rem 1.15rem;
  font-size: 0.95rem;
  color: var(--muted);
  flex: 1;
}

.card .btn {
  margin: 0 auto 1.25rem;
  align-self: center;
  width: calc(100% - 2.5rem);
}

.card .btn.btn--block {
  justify-content: center;
}

/* ——— Feature list ——— */
.feature-list {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
}

.feature-list li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  margin-bottom: 0.85rem;
  color: var(--muted);
}

.feature-list li:last-child {
  margin-bottom: 0;
}

.feature-list__icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface-2);
  border-radius: 8px;
  font-size: 0.85rem;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.pill {
  display: inline-block;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-pill);
  background: var(--white);
  border: 1px solid rgba(12, 18, 34, 0.08);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--accent);
}

/* ——— Stats ——— */
.section--stats {
  padding: 2.75rem 0;
}

.stats {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  text-align: center;
}

@media (min-width: 600px) {
  .stats {
    grid-template-columns: repeat(3, 1fr);
  }
}

.stat__num {
  display: block;
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 800;
  color: var(--brand);
  letter-spacing: -0.02em;
}

.stat__label {
  font-size: 0.95rem;
  color: var(--muted);
  font-weight: 600;
}

/* ——— Banner ——— */
.banner {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  min-height: 280px;
  display: flex;
  align-items: center;
  box-shadow: var(--shadow-lg);
}

.banner__bg {
  position: absolute;
  inset: 0;
  background-color: #0d1f2d;
  background-image: url("images/banner.jpg");
  background-size: cover;
  background-position: center;
}

.banner__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(12, 18, 34, 0.92) 0%, rgba(26, 58, 92, 0.75) 100%);
}

.banner__inner {
  position: relative;
  z-index: 1;
  padding: 2.5rem 2rem;
  color: var(--white);
  max-width: 560px;
}

.banner__inner h2 {
  color: var(--white);
  margin-bottom: 0.75rem;
}

.banner__inner p {
  margin: 0 0 1.5rem;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.65;
}

.banner .btn--primary {
  box-shadow: none;
}

.banner .btn--outline {
  color: var(--white) !important;
  border-color: rgba(255, 255, 255, 0.45);
}

.banner .btn--outline:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* ——— CTA panel ——— */
.section--cta {
  padding-bottom: 3rem;
}

.cta-panel {
  display: grid;
  gap: 0;
  background: var(--white);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(12, 18, 34, 0.06);
}

@media (min-width: 800px) {
  .cta-panel {
    grid-template-columns: 0.9fr 1.1fr;
  }
}

.cta-panel__visual {
  min-height: 220px;
}

.cta-panel__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 240px;
}

.cta-panel__body {
  padding: 2rem 1.75rem 2.25rem;
}

@media (min-width: 800px) {
  .cta-panel__body {
    padding: 2.5rem 2.5rem;
  }
}

.cta-panel__body h2 {
  margin-bottom: 0.5rem;
}

.cta-panel__lead {
  margin: 0 0 1.5rem;
  color: var(--muted);
}

.contact-block {
  margin: 0 0 1.75rem;
  display: grid;
  gap: 1rem;
}

.contact-block dt {
  margin: 0;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.contact-block dd {
  margin: 0.25rem 0 0;
  font-size: 1.35rem;
  font-weight: 800;
}

.contact-block a {
  color: var(--brand);
  text-decoration: none;
}

.contact-block a:hover {
  text-decoration: underline;
}

.cta-panel__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: stretch;
}

.cta-panel__buttons > .btn {
  flex: 1 1 auto;
  min-width: min(100%, 10rem);
}

@media (max-width: 599px) {
  .cta-panel__buttons {
    flex-direction: column;
  }

  .cta-panel__buttons > .btn {
    width: 100%;
    flex: none;
    min-width: 0;
  }
}

.cta-panel__fine {
  margin: 1.25rem 0 0;
  font-size: 0.88rem;
  color: var(--muted);
}

/* ——— Footer ——— */
.footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.72);
  padding: 3rem 0 1.5rem;
}

.footer__grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 700px) {
  .footer__grid {
    grid-template-columns: 1fr 1.2fr;
    align-items: start;
  }
}

.footer__brand {
  margin: 0 0 0.5rem;
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--white);
}

.footer__copy {
  margin: 0;
  line-height: 1.65;
  max-width: 420px;
}

.footer__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.footer__tags span {
  font-size: 0.78rem;
  padding: 0.35rem 0.65rem;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.8);
}

.footer__bottom {
  margin: 2.5rem 0 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.45);
}
