/* ===========================
   BACK TO TOP
=========================== */
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 90;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--color-dark);
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.25s, visibility 0.25s, transform 0.25s, background 0.2s;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.back-to-top:active {
  transform: translateY(0) scale(0.93);
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

@media (hover: hover) and (pointer: fine) {
  .back-to-top:hover {
    background: var(--color-primary);
  }
}

@media (max-width: 640px) {
  .back-to-top {
    bottom: 20px;
    right: 20px;
    width: 42px;
    height: 42px;
  }
}

/* ===========================
   FAQ SECTION
=========================== */
.faq-section {
  padding: var(--section-y) 0;
  background: #fff;
}

.faq-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 var(--section-x);
  display: flex;
  flex-direction: column;
  gap: 51px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
}

.faq-item {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-question-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}

.faq-question {
  font-family: var(--font-geist);
  font-size: 16px;
  font-weight: 500;
  line-height: 130%;
  color: #000;
  flex: 1 0 0;
}

.faq-toggle {
  display: flex;
  padding: 10px;
  border-radius: 12px;
  border: 1px solid var(--color-border);
  background: transparent;
  cursor: pointer;
  flex-shrink: 0;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
}

@media (hover: hover) and (pointer: fine) {
  .faq-toggle:hover {
    background: var(--color-bg-blue);
  }
}

.faq-answer {
  font-family: var(--font-inter);
  font-size: 16px;
  font-weight: 400;
  line-height: 130%;
  color: var(--color-gray);
  display: grid;
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.3s ease, opacity 0.25s ease;
  opacity: 0;
}

.faq-answer.is-open {
  max-height: 600px;
  opacity: 1;
}

.faq-answer-inner {
  overflow: hidden;
}

.faq-divider {
  width: 100%;
  height: 1px;
  background: var(--color-border);
  border: none;
}

/* ===========================
   FOOTER
=========================== */
.site-footer {
  background: url('../images/footer-bg.webp') lightgray 0px -61.285px / 100% 124.818% no-repeat;
  overflow: hidden;
  position: relative;
  padding: var(--section-y) 0;
  min-height: 400px;
}

.footer-blur {
  position: absolute;
  left: 41px;
  top: 78px;
  pointer-events: none;
  z-index: 0;
  max-width: 100%;
}

.footer-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 var(--section-x);
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 64px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-logo img {
  width: 127px;
  height: 33px;
  object-fit: contain;
}

.footer-nav {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}

.footer-nav a {
  color: #fff;
  font-family: var(--font-inter);
  font-size: 14px;
  font-weight: 400;
  line-height: 125%;
  min-height: 44px;
  display: flex;
  align-items: center;
}

.footer-main {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.footer-certifications {
  display: flex;
  align-items: flex-start;
  gap: 32px;
  flex-wrap: wrap;
}

.footer-cert-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  flex: 1 1 280px;
}

.footer-col-title {
  font-family: var(--font-geist);
  font-size: 16px;
  font-weight: 600;
  line-height: 125%;
  color: #fff;
}

.footer-cert-logos {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-cert-logos img {
  object-fit: contain;
  max-height: 28px;
}

.footer-divider {
  width: 100%;
  height: 1px;
  background: rgba(209, 235, 250, 0.5);
  border: none;
}

.footer-company {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.footer-company-name {
  font-family: var(--font-geist);
  font-size: 16px;
  font-weight: 600;
  line-height: 125%;
  color: #fff;
}

.footer-locations {
  display: flex;
  align-items: flex-start;
  gap: 32px;
  flex-wrap: wrap;
}

.footer-location {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  flex: 1 1 180px;
}

.footer-location-name {
  font-family: var(--font-onest);
  font-size: 18px;
  font-weight: 500;
  line-height: 125%;
  color: #fff;
}

.footer-location-address {
  font-family: var(--font-inter);
  font-size: 14px;
  font-weight: 400;
  line-height: 130%;
  color: #fff;
}

.footer-social {
  display: flex;
  padding: 6px 0 8px;
  align-items: flex-start;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-social a {
  display: flex;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-copyright {
  font-family: var(--font-inter);
  font-size: 14px;
  font-weight: 400;
  line-height: 130%;
  color: #fff;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}

.footer-links a {
  font-family: var(--font-inter);
  font-size: 14px;
  font-weight: 400;
  line-height: 125%;
  color: #fff;
  min-height: 44px;
  display: flex;
  align-items: center;
}

/* ===========================
   BLOG / INDEX
=========================== */
@media (hover: hover) and (pointer: fine) {
  .blog-post-card a:hover h2 {
    color: var(--color-primary);
  }
}

.site-main--blog {
  padding: 120px 60px 72px;
  max-width: 1440px;
  margin: 0 auto;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 32px;
}

.blog-post-card {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--color-border);
  background: #fff;
}

.blog-post-card__thumbnail {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.blog-post-card__body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.blog-post-card__title {
  font-family: var(--font-geist);
  font-size: 20px;
  font-weight: 600;
  line-height: 130%;
  color: #000;
}

.blog-post-card__excerpt {
  font-family: var(--font-inter);
  font-size: 15px;
  color: var(--color-gray);
  line-height: 130%;
}

.blog-post-card__link {
  color: var(--color-primary);
  font-size: 14px;
  text-decoration: underline;
}

.blog-pagination {
  margin-top: 48px;
  text-align: center;
}

.blog-no-posts {
  font-family: var(--font-inter);
  font-size: 16px;
  color: var(--color-gray);
}

/* ===========================
   CTA SECTION
=========================== */
.cta-section {
  padding: var(--section-y) 0;
  background: #fff;
}

.cta-inner {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 var(--section-x);
}

.cta-card {
  width: 100%;
  padding: 48px;
  display: flex;
  align-items: flex-start;
  gap: 32px;
  border-radius: 12px;
  background: linear-gradient(84deg, #FFF -14.19%, rgba(255, 255, 255, 0.00) 65.27%), url('../images/cta-bg.webp') lightgray 50% / cover no-repeat;
  min-height: 320px;
}

.cta-content {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  gap: 32px;
  flex: 1 0 0;
  min-width: 0;
}

.cta-title {
  font-family: var(--font-geist);
  font-size: clamp(24px, 2.5vw, 36px);
  font-weight: 600;
  line-height: 125%;
  color: #000;
}

.cta-body {
  font-family: var(--font-inter);
  font-size: clamp(15px, 1.25vw, 18px);
  font-weight: 400;
  line-height: 130%;
  color: var(--color-gray);
}

.cta-visual {
  flex: 1 0 0;
}

/* ===========================
   CARA KERJA SECTION
=========================== */
.cara-kerja-section {
  padding: var(--section-y) 0;
  background: #fff;
}

.cara-kerja-inner {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 var(--section-x);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 51px;
}

/* ===========================
   CARA KERJA INFO BOXES
=========================== */
.ce-timeline-info-boxes {
  display: flex;
  gap: 16px;
  width: 100%;
  margin-top: 32px;
  padding-top: 32px;
  border-top: 1px dashed var(--color-border);
}

.ce-info-box {
  flex: 1;
  padding: 24px;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ce-info-box-waterfall {
  border: 1px solid var(--color-border);
  background: #fff;
}

.ce-info-box-waterfall .ce-info-box-title {
  font-family: var(--font-geist);
  font-size: 16px;
  font-weight: 600;
  color: var(--color-navy);
}

.ce-info-box-waterfall .ce-info-box-desc {
  font-size: 14px;
  color: var(--color-gray);
  line-height: 150%;
}

.ce-info-box-flexibility {
  background: linear-gradient(90deg, #1080FB 0%, #74B1FE 100%);
  color: #fff;
}

.ce-info-box-header {
  display: flex;
  align-items: center;
  gap: 8px;
}

.ce-info-box-flexibility .ce-info-box-title {
  font-family: var(--font-geist);
  font-size: 16px;
  font-weight: 600;
  color: #fff;
}

.ce-info-box-flexibility .ce-info-box-desc {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.9);
  line-height: 150%;
}

.ce-info-box-flexibility .check-dot {
  display: inline-flex;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: linear-gradient(146deg, #14D94C 31%, #0FA339 107%);
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .ce-timeline-info-boxes {
    flex-direction: column;
  }
}

/* ===========================
   PRINT
=========================== */
@media print {

  .site-header,
  .mobile-nav,
  .site-footer {
    display: none;
  }

  .cta-section {
    display: none;
  }

  .faq-section {
    padding: 24px 0;
  }
}

/* ===========================
   REDUCED MOTION
=========================== */
@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
