/* -- Variable -- */
:root {
  --primary: #4e4e4e;
  --rm-header-height: 0px;
}

/* -- Typography -- */
body {
  font-family: "Inter Tight", sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--text-14);
  font-family: "Inter Tight", sans-serif;
}

.text-display-1 {
  font-size: clamp(64px, 28vw, 308px);
  line-height: clamp(64px, 28vw, 308px);
}

h1,
.h1 {
  font-size: clamp(48px, 10vw, 132px);
  line-height: clamp(48px, 10vw, 132px);
}

h2,
.h2 {
  font-size: clamp(42px, 9vw, 112px);
  line-height: clamp(42px, 9vw, 112px);
}

h3,
.h3 {
  font-size: clamp(40px, 4vw, 80px);
  line-height: clamp(48px, 5vw, 96px);
}

h4,
.h4 {
  font-size: clamp(40px, 5vw, 64px);
  line-height: clamp(48px, 5.5vw, 72px);
}

h5,
.h5 {
  font-size: clamp(32px, 5vw, 48px);
  line-height: clamp(36px, 4.5vw, 58px);
}

h6,
.h6 {
  font-size: clamp(26px, 2.8vw, 40px);
  line-height: clamp(34px, 4.5vw, 52px);
}

.text-body-1 {
  font-size: clamp(22px, 3vw, 32px);
  line-height: clamp(30px, 3.5vw, 40px);
}

.text-body-2 {
  font-size: clamp(20px, 1.8vw, 24px);
  line-height: clamp(26px, 2.2vw, 30px);
}

.text-body-3 {
  font-size: 20px;
  line-height: 28px;
}

.text-body-4 {
  font-size: 18px;
  line-height: 28px;
}

.text-body-6 {
  font-size: 14px;
  line-height: 20px;
}

.hero-word-reveal .hero-word {
  display: inline-block;
  will-change: transform, opacity, filter;
}

.hero-word-reveal {
  display: inline;
  white-space: normal;
}

.s-hero-slide .hero-title {
  text-align: center;
}

.s-hero-slide.flat-spacing-6 {
  padding-top: 0;
  padding-bottom: 0;
}

.s-hero-slide .container-wrap {
  min-height: calc(100vh - var(--rm-header-height) - 20px);
  min-height: calc(100svh - var(--rm-header-height) - 20px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-radius: 24px;
  overflow: hidden;
}

.s-hero-slide .bg-video {
  border-radius: inherit;
}

.s-hero-slide .bg-video img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.s-hero-slide .hero-subtitle {
  max-width: 980px;
  margin: 16px auto 0;
  text-align: center;
  font-size: clamp(16px, 2.2vw, 20px);
  line-height: 1.45;
  padding: 0 12px;
}

@media (min-width: 1200px) {
  .s-hero-slide .container-wrap {
    justify-content: center;
    gap: 26px;
  }

  .s-hero-slide .wrap-top {
    margin: 40px 50px 0;
  }

  .s-hero-slide .hero-subtitle {
    margin-top: 12px;
  }

  .s-hero-slide .wrap-bottom {
    margin-top: 0;
    padding-left: 0;
  }

  .s-hero-slide .wrap-bottom_left {
    margin-bottom: 0;
  }
}

@media (max-height: 820px) {
  .s-hero-slide .wrap-top {
    margin-top: 40px;
    margin-bottom: 24px;
  }

  .s-hero-slide .wrap-bottom_left {
    margin-bottom: 12px;
  }
}

@media (max-width: 767px) {
  .s-hero-slide .container-wrap {
    border-radius: 18px;
    justify-content: flex-start;
  }

  .s-hero-slide .hero-title {
    font-size: clamp(38px, 8.8vw, 48px);
    line-height: 1.18;
  }

  .s-hero-slide .wrap-bottom {
    margin-top: 12px;
  }

  .s-hero-slide .wrap-bottom_left {
    margin-bottom: 0;
  }
}

.tf-header-3 .box-nav-menu .item-link {
  color: #111111;
  transition: color 0.2s ease;
}

.tf-header-3 .box-nav-menu .item-link:hover,
.tf-header-3 .box-nav-menu .item-link:focus-visible {
  color: #2f2f2f;
}

.tf-header-3 .box-nav-menu .item-link.active {
  color: #000000;
}

.panel-hero {
  min-height: 100%;
}

.panel-hero .image {
  position: absolute;
  inset: 0;
  height: auto;
}

.panel-hero .image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

.panel-hero .image::after {
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.14) 0%, rgba(0, 0, 0, 0.38) 42%, rgba(0, 0, 0, 0.88) 100%);
}

.panel-hero .hero_content {
  z-index: 2;
}

.s-process .s-header .desc {
  margin-top: 28px;
}

.s-process .card-process .image img {
  aspect-ratio: 1.34;
}

.s-process .card-process .image::after {
  content: none !important;
}

.s-process .card-process .content .info {
  display: none;
}

@media (min-width: 1700px) {
  .container-3 {
    width: min(1680px, calc(100vw - 96px));
  }

  .container-wrap {
    width: min(1840px, calc(100vw - 64px));
    max-width: none;
  }

  .container-layout-right {
    width: calc(100vw - (100vw - 1560px) / 2);
  }

  .s-hero-slide .container-wrap {
    min-height: calc(100vh - var(--rm-header-height) - 28px);
    min-height: calc(100svh - var(--rm-header-height) - 28px);
  }

  .s-hero-slide .wrap-top {
    margin: 88px 72px 0;
  }

  .s-hero-slide .hero-title {
    font-size: clamp(64px, 4.8vw, 104px);
    max-width: 1480px;
    margin-left: auto;
    margin-right: auto;
  }

  .s-hero-slide .hero-subtitle {
    max-width: 1160px;
    font-size: clamp(20px, 1.45vw, 24px);
  }

  .s-hero-slide .wrap-bottom {
    padding-left: 0;
    padding-right: 0;
  }

  .s-case-study .s-content {
    grid-template-columns: minmax(0, 1fr) 760px minmax(0, 1fr);
    gap: 18px;
  }

  .panel-hero .image img {
    min-height: 760px;
  }

  .wg-service {
    gap: 32px;
  }

  .wg-service .image-left {
    max-width: 520px;
  }

  .wg-service .desc {
    max-width: 560px;
  }

  .s-process .s-header {
    max-width: 620px;
  }

  .s-testimonial .s-content {
    max-width: 1680px;
  }

  .s-testimonial .img-left {
    max-width: 560px;
  }

  .s-testimonial .tes-right {
    max-width: 1100px;
  }

  .s-let-connect .col-wrap-left {
    padding-right: 48px;
  }

  .form-connect {
    padding: 56px;
  }
}

.s-process .card-process .content {
  position: absolute;
  justify-content: flex-start;
  align-items: flex-end;
  z-index: 2;
}

.s-process .card-process .content::before {
  content: none;
}

.s-process .card-process .content > * {
  position: relative;
  z-index: 1;
}

.s-process .card-process .content .number-order {
  opacity: 1;
  transform: none;
  visibility: visible;
  transition: none;
  animation: none;
  margin-bottom: 0;
  color: #111111 !important;
}

.s-process .card-process .process_line {
  display: none;
}

/* Testimonial compact layout */
.s-testimonial .swiper-tesimonial,
.s-testimonial .swiper-tesimonial .swiper-slide,
.s-testimonial .swiper-tesimonial .testimonial-v03 {
  height: auto;
}

.s-testimonial .swiper-tesimonial .swiper-wrapper {
  align-items: stretch;
}

.s-testimonial .swiper-tesimonial .swiper-slide {
  display: flex;
}

.s-testimonial .swiper-tesimonial .testimonial-v03 {
  height: 100%;
  justify-content: flex-start;
  gap: 18px;
  min-height: clamp(360px, 42vw, 430px);
}

.s-testimonial .testimonial-v03 .tes-icon {
  margin-bottom: 12px;
}

.s-testimonial .testimonial-v03 .tes-title {
  margin-bottom: 12px;
}

.s-testimonial .testimonial-v03 .tes-desc {
  margin-bottom: 0;
}

.s-testimonial .testimonial-v03 .bottom {
  gap: 14px;
}

@media (min-width: 992px) {
  .s-testimonial .img-left {
    width: 88px;
    max-width: 88px;
    margin-bottom: 0;
  }

  .s-testimonial .tes-right {
    width: calc(100% - 100px);
    max-width: none;
  }

  .s-testimonial .img_list {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 8px;
    gap: 8px;
  }

  .s-testimonial .img_list .img__item,
  .s-testimonial .img_list .img__item.active {
    width: 64px;
    height: 64px;
    border-radius: 12px;
  }

  .s-testimonial .img_list .img__item img {
    width: 100%;
    height: 100%;
    min-height: 0;
    object-fit: cover;
    object-position: center;
  }

  .s-testimonial .img_list .img__item {
    opacity: 0.45;
  }

  .s-testimonial .img_list .img__item.active {
    opacity: 1;
  }
}

@media (max-width: 991px) {
  .s-testimonial .img-left {
    display: none;
  }

  .s-testimonial .tes-right {
    width: 100%;
  }

  .s-testimonial .swiper-tesimonial .testimonial-v03 {
    min-height: auto;
  }
}

@media (min-width: 1700px) {
  h4,
  .h4 {
    font-size: clamp(48px, 3vw, 76px);
    line-height: clamp(56px, 3.4vw, 88px);
  }

  h5,
  .h5 {
    font-size: clamp(36px, 2.4vw, 56px);
    line-height: clamp(44px, 2.9vw, 66px);
  }

  h6,
  .h6 {
    font-size: clamp(30px, 2vw, 46px);
    line-height: clamp(40px, 2.5vw, 58px);
  }

  .text-64 {
    font-size: clamp(72px, 4.1vw, 96px);
    line-height: clamp(78px, 4.4vw, 104px);
  }

  .text-112 {
    font-size: clamp(96px, 5.8vw, 132px);
    line-height: 1;
  }

  .text-body-2 {
    font-size: clamp(22px, 1.45vw, 28px);
    line-height: clamp(30px, 1.8vw, 36px);
  }

  .text-body-3 {
    font-size: clamp(22px, 1.4vw, 28px);
    line-height: clamp(32px, 1.95vw, 38px);
  }

  .text-body-4 {
    font-size: clamp(20px, 1.2vw, 24px);
    line-height: clamp(30px, 1.8vw, 34px);
  }

  .text-body-6 {
    font-size: 16px;
    line-height: 24px;
  }

  .tf-header-3 .header-inner {
    padding-top: 18px;
    padding-bottom: 18px;
  }

  .tf-header-3 .box-nav-menu {
    gap: 32px;
  }

  .tf-header-3 .box-nav-menu .item-link {
    font-size: 18px;
  }

  .btn-wrap.btn-2 {
    min-height: 66px;
    padding-left: 28px;
    padding-right: 28px;
  }

  .btn-wrap.btn-2 .text_btn,
  .btn-wrap.btn-fill {
    font-size: 18px;
  }

  .card-panel {
    padding: 30px;
  }

  .panel-hero .hero_content {
    padding: 34px;
    gap: 28px;
  }

  .s-why-choose .desc,
  .s-case-study .desc,
  .s-process .s-header .desc,
  .faq-accordion_item-3 .faq-desc,
  .s-let-connect .s_desc,
  .testimonial-v03 .tes-desc,
  .wg-service .desc {
    font-size: 20px;
    line-height: 1.7;
  }

  .s-process .card-process .content .number-order {
    font-size: clamp(96px, 6vw, 144px);
  }

  .testimonial-v03 {
    padding: 42px;
  }

  .testimonial-v03 .tes-title {
    font-size: clamp(34px, 2.3vw, 52px);
    line-height: clamp(42px, 2.7vw, 62px);
  }

  .faq-accordion_item-3 .accordion-action {
    padding-top: 30px;
    padding-bottom: 30px;
  }

  .faq-accordion_item-3 .accordion-action .text {
    font-size: 24px;
    line-height: 1.45;
  }

  .form-connect .tf-label {
    font-size: 16px;
  }

  .form-connect input,
  .form-connect textarea {
    font-size: 20px;
  }

  .tf-footer-3 .footer-title {
    font-size: clamp(36px, 2.2vw, 52px);
    line-height: clamp(44px, 2.6vw, 60px);
  }
}

@media (max-width: 767px) {
  .wg-service .list-step {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .wg-service .list-step .br-dot {
    display: none;
  }

  .wg-service .list-step .step {
    justify-content: flex-start;
  }
}

@media (max-width: 991px) {
  .panel-hero {
    min-height: clamp(520px, 110vw, 680px);
  }

  .panel-hero .image {
    position: absolute;
    inset: 0;
    height: 100%;
  }

  .panel-hero .image img {
    width: 100%;
    height: 100%;
    max-height: none;
    object-fit: cover;
  }

  .panel-hero .hero_content {
    position: absolute;
    inset: 24px 16px;
  }
}
