/* body */
html {
  scroll-behavior: smooth;
}

body {
  font-family: "Noto Serif JP", "Benne", serif;
  background-color: #000510;
  overflow-x: hidden;
  margin: 0 auto;
}

#canvas-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

/* Hiệu ứng chọn văn bản */
::selection { background: rgba(0, 100, 255, 0.3); }

.main {
  position: relative;
  overflow-x: hidden;
}

.container {
  margin: 0 auto;
  max-width: 1180px;
}

header .container {
  max-width: 1360px;
}

section .container,
nav .container,
footer .container {
  padding: 0 20px;
}

@media (min-width: 1024px) {
  section .container,
  nav .container,
  footer .container {
    padding: 0 100px;
  }
}

/* END: body */

/* common */

.u-sp {
  display: block;
}

.u-pc {
  display: none;
}

.section-header {
  width: fit-content;
  text-align: center;
  color: rgba(0, 0, 0, 0.3);
}

.section__ttl {
  font-family: Benne;
  font-size: 40px;
}

.section__desc {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: -10px;
  gap: 12px;
  font-weight: 200;
  font-size: 12px;
  white-space: nowrap;
}

.section__desc::before,
.section__desc::after {
  content: "";
  flex: 1;
  height: 1px;
  background-color: rgba(13, 72, 138, 0.2);
}

.section__btn {
  position: relative;
  display: inline-block;
  text-align: center;
  padding: 14px 20px;
  background-color: transparent;
  color: #000;
  text-decoration: none;
  border-radius: 50px;
  border: 1px solid rgba(0, 0, 0, 1);
  min-width: 160px;
  cursor: pointer;
  font-size: 14px;
}

.section__btn::before,
.section__btn::after {
  right: 10px;
  background: #000;
}

.section__btn::before {
  content: "";
  position: absolute;
  width: 15px;
  height: 1px;
  top: calc(50% + 3px);
  transform: translateY(-50%);
}

.section__btn::after {
  content: "";
  position: absolute;
  width: 8px;
  height: 1px;
  top: 50%;
  transform: rotate(35deg) translateY(-50%);
}

@media (min-width: 768px) {
  .u-sp {
    display: none;
  }

  .u-pc {
    display: block;
  }

  .section__btn {
    font-size: 16px;
  }

  .section__ttl {
    font-size: 90px;
  }

  .section__desc {
    margin-top: -20px;
    font-size: 22px;
    gap: 30px;
  }

  .section__btn::before,
  .section__btn::after {
    right: 16px;
  }

  .section__btn::before {
    width: 19px;
  }
  .section__btn::after {
    width: 9px;
  }
}

@media (min-width: 1024px) {
  .section__btn {
    min-width: 100px;
    max-width: 100px;
  }
}

@media (min-width: 1260px) {
  .section__btn {
    min-width: 160px;
  }
}

/* END: common */

/* shared cloud block */
.clouds {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  min-width: 1024px; /* Không để mây teo quá nhỏ trên mobile/tablet làm lệch góc */
  max-width: 1360px; /* Khóa mây lại ở 1360px trên các màn hình to để luôn đồng bộ vị trí với text container */
  pointer-events: none;
  z-index: 2;
}

@media (max-width: 767px) {
  .clouds {
    min-width: 800px; /* Thu nhỏ ranh giới mây gọn lại 1 chút trên SP */
    top: -130px; /* Đẩy mây lên cao hơn để vệt sáng ôm trọn vào sau lưng các tiêu đề (như CONCEPT) */
  }
}

.cloud {
  position: absolute;
  left: -12%;
  width: 124%;
  /* Khóa cứng tỷ lệ khung hình đúng bằng kích thước ảnh bạn gửi (1551.56 / 659.18) */
  aspect-ratio: 1551.56 / 659.18;
  height: auto; 
  background: url('../img/concept.webp') no-repeat center center;
  background-size: 100% 100%;
  opacity: 0.8;
  transform: translate3d(0, 0, 0);
  will-change: transform;
  /* Làm mờ hoàn toàn các viền để không lộ góc cắt cắt. Chú ý dốc màu chạm 0 tuyệt đối ở 90% để tránh sọc viền vật lý của mép khung hình */
  -webkit-mask-image: radial-gradient(closest-side at 50% 50%, #000 40%, transparent 90%, transparent 100%);
  mask-image: radial-gradient(closest-side at 50% 50%, #000 40%, transparent 90%, transparent 100%);
  mix-blend-mode: screen;
}

.cloud--1 {
  top: -10%;
  background-position: 50% 42%;
  filter: saturate(1.14) contrast(1.08) hue-rotate(6deg);
}

@media (min-width: 1024px) {
  .cloud--1 {
    opacity: 0.8;
  }
}

/* header */

.header {
  position: relative;
  z-index: 4;
  top: 0;
  left: 0;
  width: 100%;
  background-color: transparent;
  transition: background-color 0.3s ease;
}

@keyframes cssStarsMove {
  from {
    background-position: 0 0, 0 0, 0 0, 0 0;
  }
  to {
    background-position: -400px 0, 200px 100px, -200px 200px, 0 0;
  }
}

.header.is-fixed {
  position: fixed;
  z-index: 999;
  background-color: #072431;
  background-image:
    radial-gradient(1.5px 1.5px at 15px 15px, rgba(255,255,255,1), transparent),
    radial-gradient(1.5px 1.5px at 120px 40px, rgba(255,255,255,0.7), transparent),
    radial-gradient(2px 2px at 60px 80px, rgba(255,255,255,0.9), transparent),
    radial-gradient(ellipse at 50% -20%, rgba(13, 72, 138, 0.5) 0%, transparent 90%);
  background-size: 200px 200px, 150px 150px, 250px 250px, 100% 100%;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.25);
  animation: 
    headerSlideDown 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards,
    cssStarsMove 50s linear infinite;
}


@keyframes headerSlideDown {
  from { transform: translateY(-100%); }
  to { transform: translateY(0); }
}

.header-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 60px;
  padding: 0 10px 0 20px;
}

.home-link {
  margin: auto;
}

.logo {
  max-width: 150px;
  margin: auto;
}

.nav ul {
  display: flex;
  gap: 20px;
}

.nav ul li {
  text-align: center;
}

.nav ul li a {
  font-size: 16px;
  color: #fff;
  text-decoration: none;
  padding: 5px 10px;
  transition: opacity 0.3s;
}

.nav ul li.nav-item-company {
  position: relative;
}

.nav-company-dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: 433px; /* slightly wider to fit inner padding */
  display: flex;
  gap: 37px;
  justify-content: space-between;
  margin-top: 20px; /* transparent gap between header text and dropdown */
  padding: 26px;
  overflow: hidden; /* clip the background canvas */
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 100;
  pointer-events: none;
  background-color: #072431;
  background-image:
    radial-gradient(1.5px 1.5px at 25px 25px, rgba(255,255,255,1), transparent),
    radial-gradient(1.5px 1.5px at 100px 80px, rgba(255,255,255,0.7), transparent),
    radial-gradient(2px 2px at 40px 120px, rgba(255,255,255,0.9), transparent),
    radial-gradient(ellipse at 50% 0%, rgba(13, 72, 138, 0.5) 0%, transparent 100%);
  background-size: 200px 200px, 150px 150px, 250px 250px, 100% 100%;
  animation: cssStarsMove 60s linear infinite;
}


/* Lift dropdown content above the bg canvas */
.nav-dropdown-item {
  position: relative;
  z-index: 1;
}

.nav-item-company:hover .nav-company-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.nav-company-dropdown::before {
  /* invisible hover bridge to keep dropdown open */
  content: "";
  position: absolute;
  top: -10px; /* spans across the transparent margin gap */
  left: 0;
  width: 100%;
  height: 10px;
}

.nav-dropdown-item {
  width: 48%; /* approximately half of 433px */
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  padding: 0 !important; /* override .nav ul li a padding */
}

.nav-dropdown-img {
  width: 100%;
  height: 120px;
  position: relative;
  line-height: 0;
  overflow: hidden;
}

.nav-dropdown-img img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.nav-dropdown-overlay {
  position: absolute;
  inset: 0;
  background: rgba(13, 72, 138, 0.3);
  transition: opacity 0.3s ease;
}

.nav-dropdown-item:hover .nav-dropdown-overlay {
  opacity: 1; /* Hiện lớp phủ màu xanh khi di chuột */
}

.nav-dropdown-ttl {
  color: #fff;
  font-size: 16px;
  line-height: 1.4;
  text-align: center;
}

@media (min-width: 768px) {
  .logo {
    max-width: unset;
    margin: 0;
  }

  .home-link {
    margin: 0;
  }
}

@media (min-width: 1024px) {
  .header-wrapper {
    padding: 0 60px 0 85px;
  }

  .nav ul li a {
    padding: 17px 20px;
  }
}

body.menu-open .header {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

body.menu-open #canvas-container {
  z-index: 1000;
}

/* END: header */

/* menu-toggle */

.menu-toggle {
  position: absolute;
  right: 10px;
  z-index: 1;
  width: 35px;
  height: 35px;
  padding: 8px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid #fff;
  backdrop-filter: blur(12px);
  overflow: hidden;
  transition: all 0.3s;
}

.menu-toggle-group {
  display: flex;
  flex-direction: column;
  max-width: 19px;
  gap: 5px;
}


.menu-toggle .line {
  width: 19px;
  height: 1px;
  background-color: #fff;
  transition: all 0.5s cubic-bezier(0.68, -0.6, 0.32, 1.6);
}
.menu-toggle.is-active .line-1 { transform: translateY(7px) rotate(225deg); background-color: #fff; }
.menu-toggle.is-active .line-2 { opacity: 0; transform: scale(0); }
.menu-toggle.is-active .line-3 { transform: translateY(-5px) rotate(-225deg); background-color: #fff; }

/* Mobile Menu Overlay – Grid Design */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 998;
  overflow: hidden;
  background: rgba(0, 5, 16, 0.97);
  visibility: hidden;
  opacity: 0;
}

/* Inner wrapper */
.mmenu-inner {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
}

/* Header row */
.mmenu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 10px 0 20px;
  height: 60px;
  flex-shrink: 0;
}

.mmenu-logo {
  margin: auto;
}

.mmenu-logo img {
  max-width: 130px;
  height: auto;
}

.mmenu-close {
  position: absolute;
  right: 10px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.55);
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.25s, background 0.25s;
}

.mmenu-close:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.9);
}

.mmenu-close-icon {
  position: relative;
  display: block;
  width: 16px;
  height: 16px;
}

.mmenu-close-icon::before,
.mmenu-close-icon::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 1.5px;
  background: #fff;
  border-radius: 1px;
}

.mmenu-close-icon::before { transform: translateY(-50%) rotate(45deg); }
.mmenu-close-icon::after  { transform: translateY(-50%) rotate(-45deg); }

/* Scrollable area */
.mmenu-scroll {
  flex: 1;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.mmenu-scroll::-webkit-scrollbar { display: none; }

/* 2-column grid */
.mmenu-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: repeat(6, 1fr); /* 6 hàng để chứa vừa đủ 12 items */
  height: 100%; /* Ép lấp đầy toàn bộ khoảng trống còn lại của mmenu-scroll */
  min-height: 560px; /* Chiều cao tối thiểu tổng thể để chữ không bị díu vào nhau trên màn hình quá ngắn */
  /* gap removed */
}

/* Base tile */
.mmenu-tile {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  /* height: 125px;  -> Bỏ chiều cao cứng đi để Grid tự động chia cho vừa khít màn hình */
  overflow: hidden;
  text-decoration: none;
  background-color: #0a1020;
  background-size: cover;
  background-position: center;
  transition: filter 0.25s;
}

.mmenu-tile:active {
  filter: brightness(1.2);
}

/* Dark gradient overlay on image tiles */
.mmenu-tile-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to top,
    rgba(0,0,0,0.72) 0%,
    rgba(0,0,0,0.25) 55%,
    rgba(0,0,0,0.08) 100%
  );
}

/* Tile content */
.mmenu-tile-content {
  position: relative;
  z-index: 3;
  padding: 10px 12px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.mmenu-tile-ttl {
  display: block;
  color: #fff;
  font-size: 14px;
  font-weight: bold;
  line-height: 1;
  text-shadow: 0 1px 5px rgba(0,0,0,0.8);
}

/* ── Featured BUSINESS FIELD tile ── */
.mmenu-tile--featured {
  align-items: center;
  justify-content: center;
  background-color: rgba(0, 5, 20);
  background-image:
    radial-gradient(ellipse at 70% 30%, rgba(20,60,160,0.7) 0%, transparent 65%),
    radial-gradient(ellipse at 30% 80%, rgba(5,15,40,0.9) 0%, transparent 60%);
}

.mmenu-tile-content--featured {
  padding: 10px 12px;
  gap: 0;
}

.mmenu-featured-label {
  color: #fff;
  font-size: 20px;
  font-weight: 400;
  line-height: 1;
  margin: 0;
}

.mmenu-tile--featured::before {
  opacity: 0.28;
  mix-blend-mode: screen;
}

.mmenu-featured-num {
  display: block;
  font-size: 60px;
  font-weight: 600;
  color: #afa9a9;
  line-height: 1;
  letter-spacing: -0.02em;
}

/* ── Business field tiles ── */
.mmenu-tile--bf {
  align-items: center;
  justify-content: center;
}

.mmenu-bf-label {
  display: block;
  font-size: 10px;
  font-weight: 400;
  color: #fff;
  letter-spacing: 0.06em;
  line-height: 1;
  margin-bottom: 2px;
}

.mmenu-bf-num {
  display: block;
  font-size: 30px;
  font-weight: bold;
  color: #fff;
  line-height: 1;
  margin-bottom: 2px;
}

.mmenu-bf-ttl {
  display: block;
  font-size: 14px;
  color: #fff;
  font-weight: bold;
  line-height: 1.4;
  min-height: 2.8em; /* Force 2-line height for alignment */
  text-shadow: 0 1px 5px rgba(0,0,0,0.8);
}

/* ── Contact tile ── */
.mmenu-tile--contact {
  background: #E7E4CDA3;
  align-items: center;
  justify-content: center;
}

.mmenu-tile-content--contact {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 10px 12px;
}

.mmenu-contact-ttl {
  display: block;
  color: #fff;
  font-size: 14px;
  font-weight: bold;
  text-align: center;
  line-height: 1.4;
}


@media (min-width: 768px) {
  .mobile-menu,
  .menu-toggle {
    display: none !important;
  }
}

/* END: menu-toggle */

/* footer */

.footer {
  position: relative;
  color: #fff;
  padding: 39px 0 30px;
  background: url('../img/bg-footer-img.webp') no-repeat center center;
  background-size: cover;
  background-color: transparent;
}

.footer__logo {
  margin-bottom: 15px;
}

.footer__logo img {
  max-width: 150px;
  height: auto;
}

.footer__address {
  font-size: 14px;
  margin-bottom: 50px;
  line-height: 1.4;
}

.footer-body {
  max-width: 200px;
  /* margin-bottom: 24px; */
  padding-bottom: 30px;
}

.footer-body-content + .footer-body-content {
  margin-top: 30px;
}

.footer-body-content__ttl {
  font-size: 16px;
  margin-bottom: 15px;
}

.footer-body-content:first-child .footer-body-content__ttl {
  margin-bottom: 35px;
}

.footer-body-content-list li {
  position: relative;
  padding-left: 30px;
}

.footer-body-content-list li::before {
  content: "";
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 100%;
  background-color: #fff;
}

.footer-body-content-list li a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
  line-height: 30px;
}

.footer-copyright {
  border-top: 1px solid #fff;
  display: flex;
  justify-content: space-between;
  padding-top: 8px;
}

.footer-copyright p {
  font-size: 10px;
}

.footer-wrapper {
  position: relative;
}

.moon {
  position: absolute;
  top: 25%;
  right: 16px;
  width: 120px;
  height: 120px;
  text-decoration: none;
  cursor: pointer;
  background: rgba(231, 228, 205, 0.5);
  box-shadow: 0px 4px 12px 0px rgba(235, 230, 178, 1);
  border-radius: 50%;
  isolation: isolate;
}

.moon::before {
  content: "";
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  background: radial-gradient(
    circle at center,
    rgba(244, 240, 210, 0.34) 0%,
    rgba(244, 240, 210, 0.2) 42%,
    rgba(244, 240, 210, 0) 78%
  );
  opacity: 0.36;
  transform: scale(0.98);
  filter: blur(2px);
  pointer-events: none;
  z-index: -1;
  animation: moonGlowBreath 3.2s ease-in-out infinite;
}

@keyframes moonGlowBreath {
  0%,
  100% {
    opacity: 0.32;
    transform: scale(0.98);
  }

  50% {
    opacity: 0.46;
    transform: scale(1.03);
  }
}

.moon__txt {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  font-size: 12px;
  text-align: center;
  min-width: 100px;
}

.moon__txt::before,
.moon__txt::after {
  right: 10px;
  background-color: #fff;
}

.moon__txt::before {
  content: "";
  position: absolute;
  width: 12px;
  height: 1px;
  bottom: 2px;
  transform: translateY(-50%);
}

.moon__txt::after {
  content: "";
  position: absolute;
  width: 6px;
  height: 1px;
  bottom: 4px;
  transform: rotate(35deg) translateY(-50%);
}

.scroll {
  position: fixed;
  right: 20px;
  bottom: 110px;
  z-index: 100;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 9px;
  text-decoration: none;
  color: #fff;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease, filter 0.3s ease;
}

.scroll.is-dark-bg {
  color: #000;
}

.scroll-icon-outline {
  transition: stroke 0.3s ease;
  stroke: #fff;
}

.scroll.is-dark-bg .scroll-icon-outline {
  stroke: #000;
}

.scroll-icon-core {
  transition: filter 0.3s ease;
  filter: none;
}

.scroll.is-dark-bg .scroll-icon-core {
  filter: invert(1);
}

.scroll.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.scroll__img svg {
  width: 50px;
  height: 50px;
}

.scroll__name {
  font-size: 16px;
  writing-mode: vertical-rl;
}

@media (min-width: 1024px) {
  .footer {
    padding: 107px 0 84px;
  }

  .footer__logo {
    margin-bottom: 17px;
  }

  .drop STARS img {
    max-width: 187px;
  }

  .footer__address {
    font-size: 18px;
    margin-bottom: 214px;
  }

  .footer-body {
    max-width: unset;
    display: flex;
    gap: 80px;
    padding-bottom: 32px;
  }

  .footer-body-content + .footer-body-content {
    margin-top: 0;
  }

  .footer-body-content-list {
    display: grid;
    grid-auto-flow: column;
    grid-template-rows: repeat(3, auto);
    gap: 0 60px;
  }

  .footer-body-content__ttl {
    font-weight: 500;
    font-size: 18px;
  }

  .footer-body-content-list li {
    padding-left: 45px;
  }

  .footer-body-content-list li::before {
    left: 25px;
  }

  .footer-body-content-list li a {
    font-size: 18px;
    font-weight: 400;
    line-height: 1.6;
  }

  .footer-copyright p {
    font-weight: 400;
    font-size: 18px;
  }

  .moon {
    width: 173px;
    height: 173px;
    top: 0;
    right: 30%;
  }

  .moon__txt {
    min-width: 150px;
    font-style: Bold;
    font-size: 18px;
  }

  .moon__txt::before,
  .moon__txt::after {
    right: 20px;
    background-color: #fff;
  }

  .scroll {
    right: 40px;
    bottom: 110px;
    flex-direction: column-reverse;
    gap: 12px;
  }

  .scroll__img svg {
    width: 62px;
    height: 62px;
  }

  .scroll__name {
    font-size: 18px;
    writing-mode: unset;
  }
}

/* End: footer */

/* breadcrumb */
.breadcrumb {
  position: relative;
  z-index: 1;
  background-color: #fff;
  font-size: 14px;
  line-height: 1.4;
}

.breadcrumb-wrapper {
  padding: 14px 0;
  display: flex;
  align-items: baseline;
  gap: 20px;
}

.breadcrumb-link {
  display: flex;
  align-items: baseline;
  gap: 5px;
}

.breadcrumb-link img {
  margin-top: auto;
}

.breadcrumb-separator {
  letter-spacing: -25%;
  line-height: 20px;
  font-weight: bold;
}

/* END: breadcrumb */

/* --- Concave Corners Utility System --- */

/* Base class để kích hoạt tính năng miếng vá */
[class*="concave-"] {
    position: relative;
}

[class*="concave-"]::before {
    content: '';
    position: absolute;
    z-index: 2;
    pointer-events: none;
    width: var(--r-size, 80px);
    height: var(--r-size, 80px);
}

/* 1. Định nghĩa vị trí và tâm gradient (Positioning) */
.concave-tr::before {
    top: 0; right: 0;
    background: radial-gradient(circle at 0 100%, transparent calc(var(--r-size) - 1px), #fff var(--r-size)); 
}
.concave-tl::before {
    top: 0; left: 0;
    background: radial-gradient(circle at 100% 100%, transparent calc(var(--r-size) - 1px), #fff var(--r-size)); 
}
.concave-br::before {
    bottom: 0; right: 0;
    background: radial-gradient(circle at 0 0, transparent calc(var(--r-size) - 1px), #fff var(--r-size)); 
}
.concave-bl::before {
    bottom: 0; left: 0;
    background: radial-gradient(circle at 100% 0, transparent calc(var(--r-size) - 1px), #fff var(--r-size)); 
}

/* 2. Định nghĩa kích thước (Sizes) */
.r-80  { --r-size: 80px; }
.r-200 { --r-size: 200px; }

/* 3. Option: Nếu màu nền không phải là trắng (Colors) */
.bg-white::before { --bg-color: #fff; }

/* --- 2. Giao diện Smartphone (SP: max-width 767px) --- */
@media screen and (max-width: 767px) {
  .sp\:r-80 { --r-size: 80px !important; }
  .sc\:r-200 { --r-size: 200px !important; }

  /* Nếu muốn ẩn miếng vá trên SP */
  .sp\:hidden-patch::before { display: none; }
}
/* --- 3. Giao diện Máy tính (PC: min-width 768px) --- */
@media screen and (min-width: 768px) {
  .pc\:r-80  { --r-size: 80px !important; }
  .pc\:r-200 { --r-size: 200px !important; }
}

/* business */
/* ==============================
  SHARED: circle styles
============================== */
.bf-bg--01 { --bg-image: url("../../assets/img/business-img01.webp"); }
.bf-bg--02 { --bg-image: url("../../assets/img/business-img02.webp"); }
.bf-bg--03 { --bg-image: url("../../assets/img/business-img03.webp"); }
.bf-bg--04 { --bg-image: url("../../assets/img/business-img04.webp"); }
.bf-bg--05 { --bg-image: url("../../assets/img/business-img05.webp"); }
.bf-bg--06 { --bg-image: url("../../assets/img/business-img06.webp"); }

.bf-circle {
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  text-align: center;
  color: #fff;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-image:
    linear-gradient(rgba(13, 72, 138, 0.8)),
    var(--bg-image);
  border: 1px solid #0d488a;
  box-shadow: 0px 4px 12px 0px rgba(13, 72, 138, 1);

}

.bf-circle.is-current {
  opacity: 0.6;
  background-image: linear-gradient(rgba(13, 72, 138, 0.5)), var(--bg-image);
  pointer-events: none;
}

.bf-pc .bf-circle.is-current:hover {
  transform: none;
  box-shadow: 0px 4px 12px 0px rgba(13, 72, 138, 1);
}

.bf-circle__label {
  font-size: 18px;
  color: #fff;
  margin: 37px 0 0;
}

.bf-circle__num {
  font-size: 50px;
  line-height: 1;
  color: #fff;
  margin-bottom: 15px;
}

.bf-circle_txt {
  font-size: 22px;
  line-height: 1.5;
  color: #fff;
  margin-bottom: 25px;
}

.bf-circle__btn {
  min-width: 130px;
  width: 130px;
  padding: 11px;
  color: #fff;
  border-color: #fff;
}

.bf-circle__btn::before,
.bf-circle__btn::after {
  background-color: #fff;
}

.bf-circle__btn:hover {
  background: rgba(0, 0, 0, 0.2);
}

/* ==============================
    SECTION wrapper
============================== */
.bf-section {
  position: relative;
  z-index: 1;
  overflow: visible;
}

.bf-section-wrap {
  padding: 40px 0;
}

.bf-section-wrap-head {
  background-color: #fff;
  padding: 70px 0 30px;
  position: relative;
  z-index: 1;
}

.bf-section-text {
  text-align: center;
  font-size: 14px;
  line-height: 30px;
  margin-top: 30px;
}

/* ==============================
    PC VERSION
============================== */
.bf-pc {
  display: none;
}

.bf-hex-wrap {
  position: absolute;
  width: 900px;
  height: 900px;
  margin: 0 auto;
  left: 0;
  right: 0;
}

.bf-pc .bf-circle {
  position: absolute;
  width: 280px;
  height: 280px;
  transition: transform 0.3s, box-shadow 0.3s;
}

.bf-pc .bf-circle__num {
  margin-bottom: 20px;
}

.bf-pc .bf-circle_ttl {
  margin-bottom: 20px;
  font-size: 22px;
}

.bf-pc .bf-circle:hover {
  transform: scale(1.04);
  box-shadow: 0px 6px 30px 4px rgba(13, 72, 138, 1);
}

/* Hexagonal positions (R=315px, center at 480,430) */
.bf-circle--01 { left: 308px; top: 0; }
.bf-circle--02 { right: 18px; top: 158px; }
.bf-circle--03 { right: 18px; top: 472px; }
.bf-circle--04 { left: 308px; bottom: 0; }
.bf-circle--05 { left:  18px; top: 472px; }
.bf-circle--06 { left:  18px; top: 158px; }

/* Center text block */
.bf-center {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}

.bf-center__top {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 6px;
  line-height: 1.4;
}

.bf-center__en {
  text-align: center;
  font-size: 40px;
  color: #fff;
}

.bf-center__num {
  font-size: 100px;
  font-weight: 600;
  color: #AFA9A9;
  line-height: 1.4;
}

.bf-center__sub {
  margin-top: 30px;
  font-size: 18px;
  font-weight: 600;
  color: #FFFFFF;
  line-height: 1.5;
  letter-spacing: 1px;
}

/* ver 2 */

.ver-2.bf-section {
  min-height: unset;
}

.ver-2 .bf-pc .bf-hex-wrap {
  position: static;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  width: 100%;
  height: unset;
}

.ver-2 .section__desc::before,
.ver-2 .section__desc::after {
  background-color: rgba(13, 72, 138, 0.2);
}

.ver-2 .bf-pc .bf-left {
  flex-shrink: 0;
}

.ver-2 .bf-pc .bf-left .bf-center__top {
  flex-direction: column;
  align-items: center;
  gap: 0;
}
.ver-2 .bf-pc .bf-left .bf-center__sub {
  text-align: center;
  margin-top: 40px;
  min-width: max-content;
}

.ver-2 .bf-pc .bf-circle-list {
  display: flex;
  flex-wrap: wrap;
  row-gap: 30px;
  flex: 1;
  justify-content: space-between;
}

.ver-2 .bf-pc .bf-circle {
  position: static;
  justify-content: center;
}

.ver-2 .bf-pc .bf-circle > div {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    margin: 16px 0;
  }

.ver-2 .bf-pc .bf-circle_sub {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 130px;
    padding-left: 30px;
    box-sizing: border-box;
  }

.ver-2 .bf-pc .bf-circle_sub .bf-circle__label {
    margin: 0 0 10px 0;
    font-size: 16px;
    letter-spacing: -0.5px;
  }

.ver-2 .bf-pc .bf-circle .bf-circle_txt {
  line-height: 1.4;
  font-size: 16px;
}

.ver-2 .bf-pc .bf-circle div .bf-circle_ttl {
  font-size: 18px;
  color: #fff;
  font-weight: bold;
  line-height: 1.4;
  width: 126px;
  margin-bottom: 0;
}

.ver-2 .bf-pc .bf-circle .bf-circle__num {
  font-size: 40px;
  font-weight: bold;
  margin-bottom: 0px;
}

@media (min-width: 1360px) {
  .ver-2 .bf-pc .bf-hex-wrap {
    gap: 60px;
  }
}

/* ==============================
    MOBILE VERSION
============================== */

@media (max-width: 1023px) {
  .bf-sp {
    display: block;
  }

  .swiper-slider {
    padding-bottom: 10px;
  }

  .bf-sp-layout {
    display: flex;
    align-items: center;
  }

  /* Left: title block */
  .bf-sp-left {
    text-align: center;
    max-width: 115px;
  }

  .bf-sp-left__en {
    font-size: 26px;
    line-height: 1.4;
    color: #fff;
  }

  .bf-sp-left__num {
    display: block;
    font-size: 80px;
    font-weight: 600;
    color: #AFA9A9;
    line-height: 1;
    margin: 0 0 8px;
  }

  .bf-sp-left__sub {
    font-size: 12px;
    line-height: 1.5;
    color: #fff;
  }

  /* Right: slider */
  .bf-sp-right {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 214px;
  }

  .bf-sp-right-wrap {
    position: relative;
  }

  .bf-swiper {
    width: 230px;
    padding-bottom: 20px;
    padding-top: 5px;
    overflow: visible !important;
  }

  .bf-sp-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 60px; /* Tăng x3 vùng bấm so với bề ngang thực tế (20px) */
    height: 70px; /* Tăng x2 vùng bấm so với chiều cao thực tế (30px) */
    background: transparent;
    border: none;
    cursor: pointer;
    transition: opacity 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  /* Di chuyển phần giao diện mũi tên (kích thước, màu, viền xéo) vào pseudo-element ::after */
  .bf-sp-arrow::after {
    content: "";
    display: block;
    width: 20px;
    height: 30px;
    background: linear-gradient(270deg, rgba(56, 151, 194, 0.5) -7.74%, rgba(255, 255, 255, 0.5) 107.73%);
    box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
  }

  .bf-sp-arrow:active { opacity: 0.7; }

  .bf-sp-arrow--prev {
    left: -15px; /* Điều chỉnh vị trí vùng bấm để mũi tên ảo vẫn nằm đúng ở tọa độ cũ (5px) */
  }
  .bf-sp-arrow--prev::after {
    clip-path: polygon(100% 0%, 0% 50%, 100% 100%); /* Cắt xéo mũi tên */
  }

  .bf-sp-arrow--next {
    right: -15px;
  }
  .bf-sp-arrow--next::after {
    clip-path: polygon(0% 0%, 100% 50%, 0% 100%);
  }

  .bf-sp-circle {
    width: 230px;
    height: 230px;
    transition: opacity 0.3s ease;
  }

  .bf-sp-circle > div {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    width: 100%;
    padding: 0 5px; /* slight inner padding to prevent edge touching */
    box-sizing: border-box;
  }

  .bf-sp-circle .bf-circle_sub {
    width: 70px;
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
  }

  .bf-sp-circle .bf-circle_sub .bf-circle__label {
    font-size: 10px;
    margin-left: 0; /* remove previous offset */
    white-space: nowrap;
    line-height: 1;
    margin-bottom: 2px;
  }

  .bf-sp-circle div .bf-circle_ttl {
    width: 98px;
    font-size: 15px;
    color: #fff;
    font-weight: bold;
    flex-shrink: 0;
    text-align: center; /* Center the two lines of the title as seen in mockup */
    line-height: 1.4;
    padding-bottom: 2px; /* visual baseline tweak to align with big number */
    letter-spacing: -1px;
  }

  .bf-sp-circle .bf-circle__num {
    font-size: 30px;
    font-weight: bold;
    line-height: 1;
    margin-bottom: 0;
  }

  .bf-sp-circle .bf-circle_txt {
    font-size: 13px;
    padding: 0 30px;
    margin: 10px 0;
  }

  .bf-sp-circle .bf-circle__btn {
    min-width: 110px;
    width: 110px;
  }

  .bf-sp-circle.fade {
    opacity: 0;
  }

  /* Bottom dot navigation */
  .bf-sp-dots {
    display: flex;
    justify-content: space-around;
    align-items: center;
  }

  .bf-sp-dot {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    gap: 3px;
    background: none;
    border: none;
    padding: 0 3px;
    cursor: pointer;
    border-radius: 50%;
    transition: all 0.25s;
    font-size: 11px;
    line-height: 1.4;
  }

  .bf-sp-dot span {
    font-size: 19px;
    font-weight: bold;
    color: #fff;
    line-height: 1.4;
    font-family: 'Noto Serif JP', sans-serif;
  }

  .bf-sp-dot.active {
    color: #fff;
    background: #D9D9D980;
  }
}

@media (min-width: 768px) {
  .bf-sp-left {
    flex: 1;
    max-width: unset;
  }
}

@media (min-width: 1024px) {
  .bf-pc { display: block; }
  .bf-sp { display: none; }

  .bf-section {
    min-height: 1100px;
  }

  .bf-section-wrap {
    padding: 100px 0;
  }

  .bf-section-wrap-head {
    padding-bottom: 80px;
  }

  .bf-section-text {
    text-align: left;
    font-size: 18px;
    margin-top: 100px;
    line-height: 40px;
  }
}

/* END: business */

/* Vertical */
.vertical {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 60px;
  padding: 80px 0;
}

.vertical-text-wrapper {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  white-space: nowrap;
}

.text-line {
  letter-spacing: 20%;
  font-size: 28px;
  color: rgba(22, 111, 151, 0.59);
  font-weight: 600;
  line-height: 1.4;
  margin: 0;
  opacity: 0;
  transform: translateY(30px);
  animation: revealText 1.2s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.line-1 {
  animation-delay: 0.3s;
}

.line-2 {
  text-indent: 100px;
  animation-delay: 0.8s;
  margin-right: 20px;
}

.line-3 {
  text-indent: 140px;
  animation-delay: 0.8s;
  margin-right: 20px;
}

.next-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 100px;
  opacity: 0;
  animation: fadeIn 1s ease forwards;
  animation-delay: 1.5s;
}

.next-label {
  font-size: 20px;
  letter-spacing: 0.3em;
  margin-bottom: 20px;
  font-weight: 300;
}

.scroll-line {
  width: 1px;
  height: 150px;
  background-color: rgba(22, 111, 151, 1);
  position: relative;
  overflow: hidden;
}

.scroll-line::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #fff;
  animation: lineFlow 2.5s infinite;
}

/* Animations */
@keyframes revealText {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

@keyframes lineFlow {
  0% { transform: translateY(-100%); }
  50% { transform: translateY(0); }
  100% { transform: translateY(100%); }
}

/* Responsive */
@media (min-width: 768px) {
  .text-line {
    font-size: 40px;
  }

  .line-2,
  .line-3 {
    margin-right: 30px;
  }

  .vertical {
    gap: 60px;
    padding: 0;
  }

  .scroll-line {
    height: 150px;
  }
}
