/* Trang chủ Nexme dựng lại theo ảnh mẫu full-page. Chỉ áp dụng cho body.home-page. */
.home-page {
  background: #f8fbff;
  color: #07123a;
}

.home-page .container {
  width: min(calc(100% - 64px), 1280px);
}

.home-page .site-header {
  background: #fff;
  box-shadow: none;
}

.home-page .site-header__inner {
  min-height: 74px;
}

.home-page .site-header__brand,
.home-page .site-header__brand img {
  width: 150px;
}

.home-page .site-nav__list {
  gap: 24px;
}

.home-page .site-nav__list a {
  padding-top: 27px;
  padding-bottom: 25px;
  font-size: 13px;
}

.home-page .site-header__actions .button {
  min-height: 42px;
  border-radius: 9px;
}

.home-page .button--primary {
  background: linear-gradient(100deg, #f05a0b 0%, #ff8213 32%, #0b71ec 77%, #1688ff 100%);
}

.home-hero {
  position: relative;
  overflow: hidden;
  padding: 46px 0 34px;
  background:
    radial-gradient(circle at 78% 12%, rgb(76 147 255 / 10%), transparent 28%),
    linear-gradient(180deg, #fff 0%, #f8fbff 100%);
}

.home-hero::before,
.home-hero::after {
  content: "";
  position: absolute;
  pointer-events: none;
  border-radius: 46% 54% 66% 34%;
  border: 24px solid rgb(51 132 255 / 6%);
  transform: rotate(-20deg);
}

.home-hero::before {
  width: 330px;
  height: 180px;
  right: -80px;
  top: -25px;
}

.home-hero::after {
  width: 400px;
  height: 190px;
  left: 45%;
  bottom: -130px;
}

.home-hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(390px, .78fr) minmax(0, 1.22fr);
  align-items: center;
  gap: 38px;
}

.home-hero__content {
  padding-left: 30px;
}

.home-page .home-hero h1 {
  color: #07123a;
  font-size: 46px !important;
  line-height: 1.16 !important;
  letter-spacing: -.035em;
  font-weight: 700;
}

.home-hero__tagline {
  margin-top: 14px;
  color: #0871ed;
  font-size: 28px;
  line-height: 1.2;
  font-weight: 700;
}

.home-hero__description {
  max-width: 590px;
  margin-top: 20px;
  color: #2f3d60;
  font-size: 14px;
  line-height: 1.65;
}

.home-ai-search {
  width: 100%;
  max-width: 560px;
  min-height: 52px;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
  padding: 5px 6px 5px 15px;
  background: #fff;
  border: 1px solid #bfd2ed;
  border-radius: 8px;
  box-shadow: 0 7px 24px rgb(44 102 174 / 7%);
}

.home-ai-search:focus-within {
  border-color: #0b78ef;
  box-shadow: 0 0 0 4px rgb(11 120 239 / 10%);
}

.home-ai-search input {
  min-width: 0;
  flex: 1;
  border: 0;
  outline: 0;
  color: #68748d;
  background: transparent;
  font-size: 12px;
}

.home-ai-search button {
  width: 40px;
  height: 40px;
  display: grid;
  flex: 0 0 40px;
  place-items: center;
  padding: 0;
  color: #fff;
  border: 0;
  border-radius: 8px;
  background: linear-gradient(135deg, #0e7df1, #0067df);
  box-shadow: 0 6px 16px rgb(0 103 223 / 22%);
}

.home-ai-search button svg {
  width: 20px;
  height: 20px;
}

.home-hero__actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 20px;
}

.home-hero__actions .button {
  min-height: 44px;
  padding-inline: 23px;
  font-size: 13px;
}

.home-hero__benefits {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 28px;
  margin-top: 22px;
  color: #52617d;
  font-size: 11px;
  font-weight: 500;
}

.home-hero__benefits li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.home-hero__benefits li > span {
  width: 25px;
  height: 25px;
  display: grid;
  place-items: center;
  color: #0874ed;
  background: #fff;
  border: 1px solid #d9e6f7;
  border-radius: 50%;
}

.home-hero__benefits svg {
  width: 13px;
  height: 13px;
}

.home-hero__visual {
  position: relative;
  margin: 0;
  transform: translateX(22px);
}

.home-hero__visual img {
  width: 100%;
  border-radius: 22px;
  box-shadow: 0 24px 70px rgb(24 73 142 / 13%);
}

.regional-projects {
  padding: 26px 0 16px;
}

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

.region-card {
  min-width: 0;
  padding: 18px;
  background: #fff;
  border: 1px solid #dfe8f5;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgb(22 63 124 / 4%);
}

.region-card__heading,
.home-section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.region-card__heading {
  margin-bottom: 16px;
}

.region-card__heading h3 {
  font-size: 20px;
  letter-spacing: -.02em;
}

.region-card__heading a,
.home-section-heading > a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #076ce8;
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
}

.region-card__heading svg,
.home-section-heading svg,
.region-card__all svg,
.news-read-more svg,
.market-news__item a svg,
.home-cta__actions svg {
  width: 14px;
  height: 14px;
}

.region-featured {
  display: block;
  overflow: hidden;
  color: #07123a;
  border: 1px solid #dce6f3;
  border-radius: 8px;
  background: #fff;
}

.region-featured__image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1.75 / 1;
  background: #edf4fc;
}

.region-featured__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 250ms ease;
}

.region-featured:hover .region-featured__image img,
.region-mini:hover img,
.market-news__featured:hover img,
.market-news__item:hover img {
  transform: scale(1.035);
}

.region-label,
.region-status {
  position: absolute;
  top: 10px;
  z-index: 2;
  padding: 5px 10px;
  color: #fff;
  border-radius: 5px;
  font-size: 10px;
  line-height: 1;
  font-weight: 700;
}

.region-label {
  left: 10px;
  background: #f36a16;
}

.region-status {
  right: 10px;
  background: #10a77a;
}

.region-favorite {
  position: absolute;
  right: 11px;
  bottom: 10px;
  z-index: 2;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  color: #fff;
  border: 1px solid rgb(255 255 255 / 70%);
  border-radius: 50%;
  background: rgb(23 46 78 / 18%);
  backdrop-filter: blur(5px);
}

.region-favorite svg {
  width: 15px;
  height: 15px;
}

.region-featured__body {
  padding: 13px 14px 14px;
}

.region-featured__body h4 {
  font-size: 15px;
  line-height: 1.35;
}

.region-featured__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 9px;
  color: #63708a;
  font-size: 10px;
}

.region-featured__meta span {
  display: flex;
  align-items: center;
  gap: 4px;
}

.region-featured__meta svg {
  width: 12px;
  height: 12px;
  color: #086fed;
}

.region-featured__meta strong {
  color: #07123a;
  font-size: 11px;
}

.region-list {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.region-mini {
  min-height: 64px;
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr) auto;
  grid-template-rows: auto auto;
  column-gap: 10px;
  align-items: center;
  padding: 7px;
  color: #07123a;
  border: 1px solid #e1e9f4;
  border-radius: 7px;
  background: #fff;
}

.region-mini > img {
  width: 82px;
  height: 50px;
  grid-row: 1 / 3;
  object-fit: cover;
  border-radius: 5px;
  transition: transform 250ms ease;
}

.region-mini > span {
  min-width: 0;
  align-self: end;
}

.region-mini strong {
  display: block;
  overflow: hidden;
  font-size: 10px;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.region-mini small {
  display: flex;
  align-items: center;
  gap: 3px;
  margin-top: 3px;
  overflow: hidden;
  color: #6b7690;
  font-size: 8px;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.region-mini small svg {
  width: 9px;
  height: 9px;
  color: #0a70e8;
}

.region-mini em {
  align-self: end;
  color: #119667;
  font-size: 8px;
  font-style: normal;
  font-weight: 600;
  white-space: nowrap;
}

.region-mini em.is-coming {
  color: #ef6c21;
}

.region-mini b {
  grid-column: 3;
  align-self: start;
  color: #536079;
  font-size: 8px;
  font-weight: 500;
  white-space: nowrap;
}

.region-card__all {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
  color: #066ce8;
  border: 1px solid #0b70eb;
  border-radius: 7px;
  background: #fff;
  font-size: 11px;
  font-weight: 600;
  transition: background-color 180ms ease, color 180ms ease;
}

.region-card__all:hover {
  color: #fff;
  background: #0b70eb;
}

.market-news {
  padding: 18px 0 16px;
}

.home-section-heading {
  margin-bottom: 15px;
  padding-inline: 8px;
}

.home-section-heading h2 {
  font-size: 24px;
  letter-spacing: -.02em;
}

.market-news__grid {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.12fr);
  gap: 22px;
}

.market-news__featured,
.market-news__item {
  overflow: hidden;
  background: #fff;
  border: 1px solid #dfe8f5;
  border-radius: 9px;
  box-shadow: 0 8px 24px rgb(22 63 124 / 4%);
}

.market-news__featured-image {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 1.9 / 1;
  background: #eaf1fa;
}

.market-news__featured-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 250ms ease;
}

.market-news__featured-image span {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 5px 11px;
  color: #fff;
  border-radius: 5px;
  background: #0a6fe8;
  font-size: 9px;
  font-weight: 700;
}

.market-news__featured-body {
  padding: 15px 16px 17px;
}

.market-news__featured-body time,
.market-news__meta time {
  color: #79849a;
  font-size: 9px;
}

.market-news__featured-body h3 {
  margin-top: 7px;
  font-size: 17px;
  line-height: 1.42;
}

.market-news__featured-body p {
  margin-top: 10px;
  color: #5d6880;
  font-size: 11px;
  line-height: 1.6;
}

.news-read-more,
.market-news__item a:last-child {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #086de8;
  font-size: 10px;
  font-weight: 600;
}

.news-read-more {
  margin-top: 16px;
}

.market-news__list {
  display: grid;
  gap: 12px;
}

.market-news__item {
  min-height: 99px;
  display: grid;
  grid-template-columns: 145px minmax(0, 1fr);
  gap: 14px;
  padding: 8px;
}

.market-news__item > img {
  width: 145px;
  height: 82px;
  object-fit: cover;
  border-radius: 6px;
  transition: transform 250ms ease;
}

.market-news__item > div {
  min-width: 0;
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto 1fr auto;
  column-gap: 12px;
}

.market-news__meta {
  grid-column: 1 / 3;
  display: flex;
  align-items: center;
  gap: 9px;
}

.market-news__meta span {
  padding: 4px 8px;
  color: #fff;
  border-radius: 4px;
  font-size: 8px;
  line-height: 1;
  font-weight: 700;
}

.market-news__meta .is-blue { background: #116ed9; }
.market-news__meta .is-green { background: #16a878; }
.market-news__meta .is-orange { background: #f27617; }
.market-news__meta .is-brown { background: #c5771a; }

.market-news__item h3 {
  grid-column: 1 / 3;
  align-self: center;
  font-size: 12px;
  line-height: 1.45;
}

.market-news__item a:last-child {
  grid-column: 2;
  justify-self: end;
  align-self: end;
}

.home-partners {
  padding: 18px 0 12px;
}

.home-partners__grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 12px;
}

.partner-logo {
  min-width: 0;
  height: 78px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 10px 12px;
  background: #fff;
  border: 1px solid #dfe8f5;
  border-radius: 8px;
}

.partner-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.partner-logo--text {
  flex-direction: column;
  gap: 2px;
  text-align: center;
}

.partner-logo--text strong {
  font-size: 14px;
  line-height: 1.1;
}

.partner-logo--text small {
  color: #7b8498;
  font-size: 7px;
  line-height: 1.2;
}

.partner-logo--vingroup { color: #c51624; }
.partner-logo--vingroup .partner-mark {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  color: #f8cf2c;
  border-radius: 50%;
  background: #c51624;
  font-size: 15px;
  font-weight: 800;
}
.partner-logo--namlong { color: #9a2024; }
.namlong-mark { width: 30px; height: 24px; display: grid; place-items: center; color: #fff; border-radius: 4px; background: #9a2024; font-size: 10px; font-weight: 800; letter-spacing: .04em; }
.partner-logo--capital { color: #0c3970; font-family: Georgia, serif; }
.partner-logo--keppel { color: #9c1115; }
.partner-logo--nova { color: #245a4d; }
.nova-mark { color: #62a12c; font-size: 24px; font-weight: 800; }

.home-cta {
  padding: 20px 0 0;
}

.home-cta__inner {
  min-height: 116px;
  display: grid;
  grid-template-columns: 145px minmax(0, 1fr) auto;
  align-items: center;
  gap: 26px;
  overflow: hidden;
  padding: 12px 44px 10px 28px;
  color: #fff;
  border-radius: 28px;
  background: linear-gradient(100deg, #096fe9 0%, #0b7cf2 48%, #096ee7 66%, #ff8a0e 100%);
  box-shadow: 0 18px 44px rgb(8 105 225 / 18%);
}

.home-cta__mascot {
  width: 135px;
  align-self: end;
}

.home-cta__copy h2 {
  color: #fff;
  font-size: 25px;
  line-height: 1.22;
  letter-spacing: -.02em;
}

.home-cta__copy p {
  margin-top: 5px;
  color: rgb(255 255 255 / 85%);
  font-size: 12px;
}

.home-cta__actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.home-cta__actions .button {
  min-height: 50px;
  padding-inline: 25px;
  border-radius: 7px;
  font-size: 12px;
}

.home-cta__chat {
  color: #fff;
  border: 1px solid rgb(255 255 255 / 18%);
  background: #f36b0d;
  box-shadow: 0 8px 18px rgb(104 51 9 / 18%);
}

.home-cta__trial {
  color: #096ee7;
  background: #fff;
  box-shadow: 0 8px 18px rgb(18 67 128 / 14%);
}

.home-footer {
  margin-top: 0;
  padding-top: 38px;
  border-top: 0;
  background: #fff;
}

.home-footer .site-footer__grid {
  grid-template-columns: 1.6fr repeat(4, minmax(0, 1fr));
  gap: 54px;
}

.home-footer .site-footer__brand img {
  width: 150px;
}

.home-footer .site-footer__brand p {
  max-width: 260px;
  font-size: 11px;
}

.home-footer .site-footer__column h2 {
  font-size: 12px;
}

.home-footer .site-footer__column a,
.home-footer .contact-list li {
  font-size: 10px;
}

.home-footer .site-footer__bottom {
  margin-top: 24px;
  padding-bottom: 18px;
  font-size: 10px;
}

@media (max-width: 1199px) {
  .home-page .container { width: min(calc(100% - 48px), 1120px); }
  .home-page .site-nav__list { gap: 14px; }
  .home-page .site-nav__list a { font-size: 12px; }
  .home-page .site-header__brand,
  .home-page .site-header__brand img { width: 138px; }
  .home-hero__grid { grid-template-columns: minmax(360px, .8fr) minmax(0, 1.2fr); gap: 20px; }
  .home-hero__content { padding-left: 12px; }
  .home-page .home-hero h1 { font-size: 40px !important; }
  .home-hero__tagline { font-size: 25px; }
  .home-hero__visual { transform: none; }
  .region-card { padding: 14px; }
  .region-card__heading h3 { font-size: 17px; }
  .region-mini { grid-template-columns: 70px minmax(0, 1fr) auto; }
  .region-mini > img { width: 70px; }
  .home-cta__inner { grid-template-columns: 110px minmax(0, 1fr) auto; padding-right: 28px; }
  .home-cta__mascot { width: 105px; }
  .home-cta__copy h2 { font-size: 22px; }
  .home-footer .site-footer__grid { gap: 32px; }
}

@media (max-width: 1023px) {
  .home-page .container { width: min(calc(100% - 36px), 920px); }
  .home-page .site-header__inner { min-height: 72px; }
  .home-page .site-nav__panel { top: 72px; }
  .home-hero { padding-top: 34px; }
  .home-hero__grid { grid-template-columns: 1fr; }
  .home-hero__content { max-width: 720px; padding-left: 0; }
  .home-hero__visual { max-width: 850px; margin-inline: auto; }
  .regional-projects__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .region-card:last-child { grid-column: 1 / -1; }
  .region-card:last-child .region-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .region-card:last-child .region-mini { grid-template-columns: 70px minmax(0, 1fr); grid-template-rows: auto auto auto; }
  .region-card:last-child .region-mini > img { grid-row: 1 / 4; }
  .region-card:last-child .region-mini em,
  .region-card:last-child .region-mini b { grid-column: 2; }
  .market-news__grid { grid-template-columns: 1fr; }
  .market-news__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .market-news__item { grid-template-columns: 105px minmax(0, 1fr); }
  .market-news__item > img { width: 105px; }
  .home-partners__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .home-cta__inner { grid-template-columns: 90px 1fr; gap: 18px; border-radius: 22px; }
  .home-cta__mascot { width: 88px; }
  .home-cta__actions { grid-column: 1 / -1; justify-content: flex-end; }
  .home-footer .site-footer__grid { grid-template-columns: 1.5fr repeat(2, 1fr); }
}

@media (max-width: 767px) {
  .home-page .container { width: min(calc(100% - 28px), 680px); }
  .home-page .site-header__brand,
  .home-page .site-header__brand img { width: 125px; }
  .home-hero { padding: 30px 0 24px; }
  .home-page .home-hero h1 { font-size: 34px !important; }
  .home-hero__tagline { font-size: 22px; }
  .home-hero__description { font-size: 13px; }
  .home-ai-search { max-width: none; }
  .home-hero__benefits { gap: 12px 18px; }
  .home-hero__visual { margin-top: 8px; }
  .regional-projects { padding-top: 16px; }
  .regional-projects__grid { display: flex; overflow-x: auto; gap: 14px; padding-bottom: 8px; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .regional-projects__grid::-webkit-scrollbar { display: none; }
  .region-card,
  .region-card:last-child { min-width: min(88vw, 390px); grid-column: auto; scroll-snap-align: start; }
  .region-card:last-child .region-list { display: grid; grid-template-columns: 1fr; }
  .region-card:last-child .region-mini { grid-template-columns: 82px minmax(0, 1fr) auto; grid-template-rows: auto auto; }
  .region-card:last-child .region-mini > img { grid-row: 1 / 3; }
  .region-card:last-child .region-mini em { grid-column: 3; }
  .region-card:last-child .region-mini b { grid-column: 3; }
  .home-section-heading { align-items: flex-end; }
  .home-section-heading h2 { font-size: 21px; }
  .market-news__list { grid-template-columns: 1fr; }
  .market-news__item { grid-template-columns: 120px minmax(0, 1fr); }
  .market-news__item > img { width: 120px; }
  .home-partners__grid { display: flex; overflow-x: auto; gap: 10px; padding-bottom: 6px; scrollbar-width: none; }
  .home-partners__grid::-webkit-scrollbar { display: none; }
  .partner-logo { min-width: 145px; }
  .home-cta__inner { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: 24px; }
  .home-cta__mascot { width: 90px; position: absolute; right: 18px; top: 12px; opacity: .92; }
  .home-cta__copy { max-width: calc(100% - 80px); }
  .home-cta__copy h2 { font-size: 20px; }
  .home-cta__actions { width: 100%; flex-wrap: wrap; justify-content: flex-start; }
  .home-cta__actions .button { flex: 1; min-width: 145px; }
  .home-footer .site-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 20px; }
  .home-footer .site-footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 479px) {
  .home-page .container { width: min(calc(100% - 24px), 440px); }
  .home-page .home-hero h1 { font-size: 30px !important; }
  .home-hero__tagline { font-size: 20px; }
  .home-hero__actions { gap: 10px; }
  .home-hero__actions .button { flex: 1; padding-inline: 14px; }
  .home-hero__benefits { display: grid; grid-template-columns: 1fr; }
  .region-card { min-width: calc(100vw - 38px); }
  .market-news__featured-body h3 { font-size: 15px; }
  .market-news__item { grid-template-columns: 96px minmax(0, 1fr); gap: 10px; }
  .market-news__item > img { width: 96px; height: 78px; }
  .market-news__item h3 { font-size: 11px; }
  .home-section-heading > a { font-size: 9px; }
  .home-cta__copy { max-width: 100%; padding-right: 64px; }
  .home-cta__actions { display: grid; grid-template-columns: 1fr; }
  .home-cta__actions .button { width: 100%; }
  .home-footer .site-footer__grid { grid-template-columns: 1fr; }
  .home-footer .site-footer__brand { grid-column: auto; }
}
