/* Layout adjustments for the MonoFold services body inside the Hariat chrome. */

.mf-page {
  background: #fff;
  color: #626262;
  position: relative;
}

.mf-page .svb1-image {
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  z-index: 0;
}

.mf-page .ss1-content,
.mf-page .sssv-phone,
.mf-page .sssv-description {
  z-index: 2;
}

.mf-page a.sssv-phone.contact-info {
  position: absolute;
  inset: auto 24px 40px auto;
  height: auto;
  width: auto;
  max-width: none;
  align-self: center;
  display: inline-block;
  padding: 15px 24px;
  color: #fff;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.3px;
  text-transform: none;
  text-decoration: none;
  z-index: 2;
}

.mf-page a.sssv-phone.contact-info p {
  margin: 0;
}

.mf-page .mf-kicker {
  margin: 0 0 16px;
  font-family: "DM Sans", sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #0e0e0e;
}

.mf-page .mf-kicker.light {
  color: #fff;
}

.mf-page .ss1-content {
  width: min(920px, 100%);
  padding-left: 24px;
  padding-right: 24px;
  box-sizing: border-box;
}

.mf-page .ss1-heading {
  max-width: 100%;
  font-size: clamp(46px, 7vw, 92px);
  line-height: 1.05;
  text-wrap: balance;
}


.mf-page .subtitle-slip .partner-image-list {
  flex: none;
  animation: mf-marquee 16s linear infinite;
}

.mf-page .service-item {
  background-color: #0e0e0e;
  overflow: hidden;
  height: 100vh;
  min-height: 100vh;
}

.mf-page .svef-wrap-item .service-list-wrap,
.mf-page .svef-wrap-item .service-list,
.mf-page .svef-wrap-item .service-item {
  height: 100vh;
  min-height: 100vh;
}

.mf-page .sv-background,
.mf-page .svbg-overlay {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  transition: none;
}

.mf-page .sv-background {
  z-index: 0;
  object-fit: cover;
  object-position: center;
}

.mf-page .svbg-overlay {
  z-index: 1;
  background-image: linear-gradient(180deg, rgba(0, 0, 0, 0.28), rgba(0, 0, 0, 0) 24%);
}

.mf-page .svef-wrap {
  overflow: visible;
}

.mf-page .svef-wrap-item,
.mf-page .svef-wrap-item._1,
.mf-page .svef-wrap-item._2,
.mf-page .svef-wrap-item._3,
.mf-page .svef-wrap-item._4,
.mf-page .svef-wrap-item._5,
.mf-page .svef-wrap-item._6 {
  position: sticky;
  top: 0;
  right: auto;
  bottom: auto;
  left: auto;
  overflow: hidden;
  height: 100vh;
  min-height: 100vh;
}

.mf-page .svef-wrap-item._1 { z-index: 1; }
.mf-page .svef-wrap-item._2 { z-index: 2; }
.mf-page .svef-wrap-item._3 { z-index: 3; }
.mf-page .svef-wrap-item._4 { z-index: 4; }
.mf-page .svef-wrap-item._5 { z-index: 5; }
.mf-page .svef-wrap-item._6 { z-index: 6; }

.mf-page .btn-text-1,
.mf-page .btn-text-2 {
  display: block;
  transition: transform 0.4s ease;
}

.mf-page .btn-text-2 {
  top: 5px;
  left: 0;
  transform: translateY(110%);
}

.mf-page .button-style-1:hover .btn-text-1 {
  transform: translateY(-110%);
}

.mf-page .button-style-1:hover .btn-text-2 {
  transform: translateY(0);
}

.mf-page .list-partner {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

.mf-page .item-partner {
  flex: 0 1 320px;
  max-width: 360px;
  width: 100%;
}

.mf-page .item-partner img {
  width: auto;
  max-width: 72%;
  max-height: 84px;
  object-fit: contain;
}

.mf-page .counter-number-value {
  line-height: 60px;
  height: 60px;
}

@keyframes mf-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-100%); }
}

@media (prefers-reduced-motion: reduce) {
  .mf-page .subtitle-slip .partner-image-list {
    animation: none;
  }
}

@media (max-width: 767px) {
  .mf-page .ss1-heading {
    font-size: 48px;
    max-width: none;
  }

  .mf-page .sssv-description,
  .mf-page .sssv-phone {
    position: relative;
    inset: auto;
    width: auto;
    max-width: 100%;
    margin-top: 16px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
  }

  .mf-page .st1-sv {
    height: auto;
    min-height: 100vh;
    padding: 140px 20px 48px;
    flex-flow: column;
  }

  .mf-page .service-item-inner {
    max-width: calc(100% - 30px);
    left: 15px;
    right: 15px;
    top: auto;
    bottom: 24px;
    padding: 28px 22px 32px;
  }

  .mf-page .svef-wrap-heading {
    max-width: calc(100% - 30px);
  }

  .mf-page .svef-wrap-item,
  .mf-page .svef-wrap-item._1,
  .mf-page .svef-wrap-item._2,
  .mf-page .svef-wrap-item._3,
  .mf-page .svef-wrap-item._4,
  .mf-page .svef-wrap-item._5,
  .mf-page .svef-wrap-item._6 {
    position: sticky;
    top: 0;
    height: 100vh;
    min-height: 100vh;
  }

  .mf-page .service-item {
    min-height: 100vh;
    height: 100vh;
    padding-bottom: 24px;
  }
}

/* Service detail pages built from the MonoFold service-level layout. */

.mf-page.mf-detail p {
  opacity: 1;
}

.mf-page.mf-detail .page-title {
  padding-top: calc(11vh + 36px);
  padding-bottom: 12px;
}

.mf-page.mf-detail .heading-page-title {
  font-size: clamp(36px, 4.6vw, 72px);
  line-height: 0.96;
  text-wrap: balance;
  max-width: 16ch;
}

.mf-page.mf-detail .ptt-title-wrap-bottom .button-style-1 {
  flex: none;
  color: #0e0e0e;
  text-decoration: none;
}

.mf-page.mf-detail .ptt-title-wrap-bottom .btn1-wrap-text {
  background-color: #fff;
}

.mf-page.mf-detail .ptt-title-wrap-bottom .btn-wrap-icon {
  background-color: #fff;
}

.mf-page.mf-detail .ptt-title-wrap-bottom .btn-wrap-icon img {
  filter: invert(1);
}

.mf-page.mf-detail .ss-rt a,
.mf-page.mf-detail .wim-description a,
.mf-page.mf-detail .ssicb-description a,
.mf-page.mf-detail .accordion-content-inner a,
.mf-page.mf-detail .si-right a,
.mf-page.mf-detail .faqc-description a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.mf-page.mf-detail .ssicb-description {
  color: #0e0e0e;
}

.mf-page.mf-detail .bgp-in-sv {
  background-color: #0e0e0e;
  background-image: none;
}

.mf-page.mf-detail .portfolio-slider-2 {
  height: auto;
  background: transparent;
}

.mf-page.mf-detail .portfolio-slider-2 .w-slider-mask {
  height: auto;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
}

.mf-page.mf-detail .portfolio-slider-2 .w-slide {
  height: auto;
  scroll-snap-align: start;
}

.mf-page.mf-detail .w-slider-mask:has(.w-slide:only-child) .p-item {
  width: 100%;
}

.mf-page.mf-detail .accordion-header {
  cursor: pointer;
}

.mf-page.mf-detail .faqs-item-1,
.mf-page.mf-detail .faqs-item-1._4,
.mf-page.mf-detail .faqs-content {
  filter: none;
}

.mf-page.mf-detail .accordion-item.is-open .accordion-content {
  height: auto;
}

.mf-page.mf-detail .accordion-item.is-open .accordion-icon-plus._1 {
  opacity: 0;
}

@media (max-width: 767px) {
  .mf-page.mf-detail .page-title {
    padding-top: 96px;
  }

  .mf-page.mf-detail .heading-page-title {
    max-width: none;
  }
}
