:root {
  --bs-primary: #070623;
  --bs-primary-rgb: 7, 6, 35;
  --base-color: #070623;
  --base-color-rgb: 7, 6, 35;
  --second-color: #000000;
  --second-color-rgb: 0, 0, 0;
  --base-color-dark: #03030f; /* turunan biru tua, untuk footer / overlay */
  --base-color-dark-rgb: 3, 3, 15;
  --third-color: #ffffff;
  --third-color-rgb: 255, 255, 255;
  --very-light-base-color: #f5f5fa; /* putih dengan tint biru tipis untuk section terang */
  --gold-1: #a67c1e;
  --gold-2: #d4af37;
  --gold-3: #f6e39a;
  --gold-gradient: linear-gradient(
    135deg,
    var(--gold-1) 0%,
    var(--gold-2) 35%,
    var(--gold-3) 50%,
    var(--gold-2) 65%,
    var(--gold-1) 100%
  );
  --btn-primary-bg: var(--gold-gradient);
  --btn-primary-color: #070623; /* teks navy di atas gold = kontras tinggi */
  --btn-secondary-bg: #12113a; /* lebih terang sedikit dari base, tidak mencolok */
  --btn-secondary-bg-hover: #1a1950;
  --btn-secondary-color: #ffffff;
  --btn-secondary-border: rgba(212, 175, 55, 0.25);
  --float-cta-bg: var(--gold-gradient);
  --float-cta-color: #070623;
  --float-cta-shadow: 0 8px 24px rgba(212, 175, 55, 0.35);
  --radius: 0;
  --bs-border-radius: 0;
  --bs-border-radius-sm: 0;
  --bs-border-radius-lg: 0;
  --bs-border-radius-pill: 0;
  --transition-base: 0.3s ease;
  --shine-duration: 0.7s;
  --primary-font: "Inter", sans-serif; /* paragraf */
  --alt-font: "Bona Nova", serif; /* title & subtitle */
  --heading-font: var(--alt-font);
  --bs-body-font-family: var(--primary-font);
}
.bg-gradient-gold {
  background: linear-gradient(
    135deg,
    #920c0a 0%,
    #920c0a 18%,
    #000000 42%,
    #920c0a 68%,
    #510100 85%,
    #920c0a 100%
  );
}
.bg-hitam {
  background-color: #000000;
}
.text-hitam {
  color: #000000;
}
.primary-font {
  font-weight: var(--primary-font);
}

.alt-font {
  font-weight: var(--alt-font);
}

.bg-base-color {
  background-color: var(--base-color);
}

.bg-very-light-base-color {
  background-color: var(--very-light-base-color);
}

.bg-second-color {
  background-color: var(--second-color);
}

.text-base-color {
  color: var(--base-color);
}

.text-black {
  color: #000000;
}

.text-second-color {
  color: var(--second-color) !important;
}
.bg-overlay {
  position: relative;
  z-index: 1;
}
.bg-overlay2 {
  position: relative;
  z-index: 1;
}

.bg-overlay2 > * {
  position: relative;
  z-index: 2;
}

.bg-overlay::before {
  content: "";
  position: absolute;
  inset: 0; /* sama dengan top:0; left:0; right:0; bottom:0 */
  background-color: rgba(0, 0, 0, 0.7); /* hitam transparan 50% */
  z-index: -1;
}

/*==========================================================================
* GENERAL
==========================================================================*/
.rounded-5 {
  border-radius: 1.5rem;
}

.bg-soft-primary {
  background-color: #f7f9fd !important;
}

/*--------------------------------------------------------------
# Font
--------------------------------------------------------------*/
.primary-font {
  font-family: "Open Sans", sans-serif;
}

.alt-font {
  font-family: "Open Sans", sans-serif;
}

/*==========================================================================
* BUTTON CSS
==========================================================================*/
.btn-base-color {
  --bs-btn-color: var(--bs-white);
  --bs-btn-bg: var(--base-color);
  --bs-btn-border-color: var(--base-color);
  --bs-btn-hover-color: var(--bs-white);
  --bs-btn-hover-bg: var(--base-color);
  --bs-btn-hover-border-color: var(--base-color);
  --bs-btn-focus-shadow-rgb: 92, 140, 229;
  --bs-btn-active-color: var(--bs-white);
  --bs-btn-active-bg: var(--base-color);
  --bs-btn-active-border-color: var(--base-color);
  --bs-btn-active-shadow: 0rem 0.25rem 0.75rem rgba(30, 34, 40, 0.15);
  --bs-btn-disabled-color: var(--bs-white);
  --bs-btn-disabled-bg: var(--base-color);
  --bs-btn-disabled-border-color: var(--base-color);
}

.btn-primary {
  --bs-btn-color: #fff;
  --bs-btn-bg: var(--base-color);
  --bs-btn-border-color: var(--base-color);
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: var(--base-color);
  --bs-btn-hover-border-color: var(--base-color);
  --bs-btn-focus-shadow-rgb: 92, 140, 229;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: var(--base-color);
  --bs-btn-active-border-color: var(--base-color);
  --bs-btn-active-shadow: 0rem 0.25rem 0.75rem rgba(30, 34, 40, 0.15);
  --bs-btn-disabled-color: #fff;
  --bs-btn-disabled-bg: var(--base-color);
  --bs-btn-disabled-border-color: var(--base-color);
}

.btn-second-color {
  --bs-btn-color: #fff;
  --bs-btn-bg: var(--second-color);
  --bs-btn-border-color: var(--second-color);
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: var(--second-color);
  --bs-btn-hover-border-color: var(--second-color);
  --bs-btn-focus-shadow-rgb: 92, 140, 229;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: var(--second-color);
  --bs-btn-active-border-color: var(--second-color);
  --bs-btn-active-shadow: 0rem 0.25rem 0.75rem rgba(30, 34, 40, 0.15);
  --bs-btn-disabled-color: #fff;
  --bs-btn-disabled-bg: var(--second-color);
  --bs-btn-disabled-border-color: var(--second-color);
}

.btn-outline-gold {
  --bs-btn-color: var(--gold-1);
  --bs-btn-border-color: var(--gold-1);
  --bs-btn-hover-color: var(--bs-white);
  --bs-btn-hover-bg: var(--gold-1);
  --bs-btn-hover-border-color: var(--gold-1);
  --bs-btn-focus-shadow-rgb: 255, 255, 255;
  --bs-btn-active-color: var(--bs-white);
  --bs-btn-active-bg: var(--gold-1);
  --bs-btn-active-border-color: var(--gold-1);
  --bs-btn-active-shadow: 0rem 0.25rem 0.75rem rgba(30, 34, 40, 0.15);
  --bs-btn-disabled-color: var(--gold-1);
  --bs-btn-disabled-bg: transparent;
  --bs-btn-disabled-border-color: var(--gold-1);
  --bs-gradient: none;
}

.gradient-1 {
  background-image: linear-gradient(
    90deg,
    rgba(24, 41, 87, 1) 0%,
    rgba(0, 146, 171, 1) 75%
  );
}
.gradient-1.btn-outline-gradient,
.gradient-1.btn-outline-gradient span {
  background-image:
    linear-gradient(rgba(var(--bs-white-rgb), 0), rgba(var(--bs-white-rgb), 0)),
    linear-gradient(120deg, var(--base-color) 10%, #ffa406 100%);
}

/* CUSTOM BUTTON */
.build_button {
  display: inline-flex;
  align-items: center;
  position: relative;
  z-index: 3;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  transition: 0.4s;
  font-family: var(--primary-font);
  font-size: 16px;
  font-weight: 600;
  line-height: 26px;
  text-transform: uppercase;
  color: white;
  background: var(--base-color);
  border-radius: 50px 50px 50px 50px;
  padding: 8px 8px 8px 30px;
  gap: 20px;
  &::before {
    content: "";
    z-index: -1;
    position: absolute;
    top: 50%;
    left: 100%;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--second-color);
    transform-origin: 100% 50%;
    transform: scale3d(1, 2, 1);
    transition:
      transform 0.4s,
      opacity 0.4s;
    transition-timing-function: cubic-bezier(0.7, 0, 0.9, 1);
  }
  i {
    position: relative;
    z-index: 2;
    transition: 0.4s;
    color: white;
    background: #017eb9;
    font-size: 26px;
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50px 50px 50px 50px;
  }
  &:hover {
    color: white;
    i {
      color: var(--second-color);
      background: white;
      transform: rotate(45deg);
    }
    &::before {
      transform: scale3d(10, 9, 1);
      transform-origin: 110% 55%;
    }
  }
}

.build_button-wa {
  display: inline-flex;
  align-items: center;
  position: relative;
  z-index: 3;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  transition: 0.4s;
  font-family: var(--primary-font);
  font-size: 16px;
  font-weight: 600;
  line-height: 26px;
  text-transform: uppercase;
  color: var(--base-color);
  background: var(--bs-white);
  border-radius: 50px 50px 50px 50px;
  padding: 8px 8px 8px 30px;
  gap: 20px;
  &::before {
    content: "";
    z-index: -1;
    position: absolute;
    top: 50%;
    left: 100%;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--base-color);
    transform-origin: 100% 50%;
    transform: scale3d(1, 2, 1);
    transition:
      transform 0.4s,
      opacity 0.4s;
    transition-timing-function: cubic-bezier(0.7, 0, 0.9, 1);
  }
  i {
    position: relative;
    z-index: 2;
    transition: 0.4s;
    color: white;
    background: #017eb9;
    font-size: 26px;
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50px 50px 50px 50px;
  }
  &:hover {
    color: white;
    i {
      color: var(--second-color);
      background: white;
      transform: rotate(45deg);
    }
    &::before {
      transform: scale3d(10, 9, 1);
      transform-origin: 110% 55%;
    }
  }
}

.build_button-detail {
  display: inline-flex;
  align-items: center;
  position: relative;
  z-index: 3;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  transition: 0.4s;
  font-family: var(--primary-font);
  font-size: 14px;
  font-weight: 600;
  line-height: 26px;
  text-transform: uppercase;
  color: white;
  background: var(--base-color);
  border-radius: 50px 50px 50px 50px;
  padding: 8px 8px 8px 30px;
  gap: 20px;
  &::before {
    content: "";
    z-index: -1;
    position: absolute;
    top: 50%;
    left: 100%;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--second-color);
    transform-origin: 100% 50%;
    transform: scale3d(1, 2, 1);
    transition:
      transform 0.4s,
      opacity 0.4s;
    transition-timing-function: cubic-bezier(0.7, 0, 0.9, 1);
  }
  i {
    position: relative;
    z-index: 2;
    transition: 0.4s;
    color: white;
    background: #017eb9;
    font-size: 17px;
    width: 27px;
    height: 27px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50px 50px 50px 50px;
  }
  &:hover {
    color: white;
    i {
      color: var(--second-color);
      background: white;
      transform: rotate(45deg);
    }
    &::before {
      transform: scale3d(10, 9, 1);
      transform-origin: 110% 55%;
    }
  }
}

.btn-group-very-sm > .btn,
.btn-very-sm {
  --bs-btn-padding-y: 0.4rem;
  --bs-btn-padding-x: 1rem;
  --bs-btn-font-size: 0.7rem;
  --bs-btn-border-radius: 0.4rem;
}

.btn-group-very-sm > .btn-icon.btn,
.btn-icon.btn-very-sm {
  padding-top: 5px;
  padding-bottom: 5px;
}

.btn-group-very-sm > .btn-icon.btn i,
.btn-icon.btn-very-sm i {
  font-size: 0.8rem;
}

/*==========================================================================
* Navbar
==========================================================================*/
.navbar-nav .nav-link.active,
.navbar-nav .nav-link.show {
  color: var(--gold-1) !important;
}

.navbar-nav .nav-link {
  position: relative;
}

.navbar-nav .nav-link.active::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 70%;
  height: 1px;
  background-color: var(--gold-1);
}

@media (max-width: 576px) {
  .navbar-nav .nav-link.active::before {
    width: 100%;
    height: 1px;
    background-color: var(--base-color);
    display: none;
  }
}
@media (min-width: 992px) {
  .navbar-expand-lg.navbar-light
    .dropdown:not(.dropdown-submenu)
    > .dropdown-toggle::after {
    color: var(--bs-primary);
  }

  .navbar-expand-lg.navbar-light
    .dropdown:not(.dropdown-submenu)
    > .dropdown-toggle.active::after {
    color: var(--second-color);
  }
}
.nav-link:focus,
.nav-link:hover {
  color: var(--gold-1);
}

.navbar-text a,
.navbar-text a:focus,
.navbar-text a:hover {
  color: var(--base-color);
}

@media (max-width: 991.98px) {
  .navbar-expand-lg .navbar-brand {
    padding-top: 10px;
    padding-bottom: 10px;
  }
}
/* ═══ HERO ═══ */
.hero {
  --navbar-h: 80px;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  min-height: calc(100vh - var(--navbar-h));
  min-height: calc(100svh - var(--navbar-h));
  padding: clamp(3rem, 8vw, 6rem) 0;
  background-color: var(
    --base-color
  ); /* fallback selama gambar belum termuat */
}

/* Background gambar: elemen terpisah, src diisi inline (mis. dari PHP) */
.hero-section__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center left 50%;
}

.hero__content {
  max-width: 720px;
  text-align: left;
  /* animation: hero-in 0.8s ease both; */
}

.hero__title {
  margin: 0 0 1.25rem;
  font-family: var(--heading-font);
  font-weight: 700;
  font-size: clamp(1.8rem, 3vw, 3rem);
  line-height: 1.15;
  color: var(--third-color);
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.45);
}

/* Highlight gold untuk frasa penting */
.text-gold {
  color: var(--gold-2); /* fallback */
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  text-shadow: none;
}

.hero__subtitle {
  /* max-width: 34em; */
  margin: 0;
  font-family: var(--alt-font);
  font-weight: 400;
  font-size: .9rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.92);
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.45);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2.25rem;
}

.btn:focus-visible {
  outline: 2px solid var(--gold-3);
  outline-offset: 3px;
}

.btn--primary {
  background: var(--btn-primary-bg);
  color: var(--btn-primary-color);
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.25);
}
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(212, 175, 55, 0.4);
}
/* Efek shining */
.btn--primary::after {
  content: "";
  position: absolute;
  top: 0;
  /* left: -80%; */
  z-index: -1;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    105deg,
    transparent 0%,
    rgba(255, 255, 255, 0.55) 50%,
    transparent 100%
  );
  /* transform: skewX(-20deg); */
  pointer-events: none;
  /* animation: shine 4s ease-in-out infinite; */
}

.btn--secondary {
  background: var(--btn-secondary-bg);
  color: var(--btn-secondary-color);
  border-color: var(--btn-secondary-border);
}
.btn--secondary:hover {
  background: var(--btn-secondary-bg-hover);
  border-color: var(--gold-2);
  color: var(--gold-1);
  transform: translateY(-2px);
}

/* @keyframes hero-in {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: none;
  }
} */

/* ═══ RESPONSIVE ═══ */
@media (max-width: 991.98px) {
  .hero {
    --navbar-h: 72px;
  }
  .hero-section__bg {
    background-position: center;
  }
}
@media (max-width: 575.98px) {
  /* mobile */
  .hero {
    --navbar-h: 64px;
  }
  .hero-section__bg {
    background-position: center;
  }
  .hero__actions {
    flex-direction: column;
    gap: 0.75rem;
  }
  .btn {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero__content,
  .btn--primary::after {
    animation: none;
  }
  .btn {
    transition: none;
  }
}
/* ═══ KEUNGGULAN KAMI ═══ */
.advantages {
  /* padding: clamp(3.5rem, 8vw, 6rem) clamp(1.25rem, 5vw, 4rem); */
  background: var(--very-light-base-color);
  color: var(--base-color);
}

.advantages__eyebrow {
  display: inline-block;
  margin-bottom: 0.5rem;
  font-family: var(--primary-font);
  font-weight: 600;
  /* font-size: 0.8rem; */
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-1);
}

.advantages__title {
  margin: 0 0 0.9rem;
  font-family: var(--heading-font);
  font-weight: 700;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  line-height: 1.2;
  color: var(--base-color);
}

.advantages__desc {
  margin: 0;
  font-family: var(--primary-font);
  font-size: 0.8rem;
  line-height: 1.7;
  color: rgba(7, 6, 35, 0.7);
}

.advantage-card {
  display: flex;
  flex-direction: column;
  /* gap: 1.1rem; */
  padding: 2rem 1.75rem;
  background: var(--third-color);
  border: 1px solid rgba(7, 6, 35, 0.08);
  border-top: 3px solid transparent;
  border-radius: var(--radius);
  transition:
    transform var(--transition-base),
    box-shadow var(--transition-base),
    border-color var(--transition-base);
}

.advantage-card:hover {
  transform: translateY(-4px);
  border-top-color: var(--gold-2);
  box-shadow: 0 16px 32px rgba(7, 6, 35, 0.12);
}

.advantage-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  flex-shrink: 0;
  background: var(--gold-gradient);
  border-radius: var(--radius);
  margin-bottom: 20px;
}

.advantage-card__icon svg {
  width: 26px;
  height: 26px;
  stroke: var(--base-color);
}

.advantage-card__title {
  margin-bottom: 10;
  font-family: var(--heading-font);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.3;
  color: var(--base-color);
}

.advantage-card__text {
  margin: 0;
  font-family: var(--primary-font);
   font-size: 0.8rem; 
  line-height: 1.7;
  color: rgba(7, 6, 35, 0.72);
}

/* ═══ AREA PRAKTIK ═══ */
.practice {
  /* padding: clamp(3.5rem, 8vw, 6rem) clamp(1.25rem, 5vw, 4rem); */
  background: var(--base-color);
  color: var(--third-color);
  scroll-margin-top: 80px; /* samakan dengan tinggi navbar */
}

.practice__eyebrow {
  display: inline-block;
  margin-bottom: 0.5rem;
  font-family: var(--primary-font);
  font-weight: 600;
  /* font-size: 0.8rem; */
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-2);
}

.practice__title {
  margin: 0 0 0.9rem;
  font-family: var(--heading-font);
  font-weight: 700;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  line-height: 1.2;
  color: var(--third-color);
}

.practice__desc {
  margin: 0;
  font-family: var(--primary-font);
  font-size: 0.8rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.72);
}

.practice-card {
  display: flex;
  flex-direction: column;
  background: var(--btn-secondary-bg);
  border: 1px solid rgba(212, 175, 55, 0.16);
  border-radius: var(--radius);
  overflow: hidden;
  transition:
    transform var(--transition-base),
    box-shadow var(--transition-base),
    border-color var(--transition-base);
}

.practice-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold-2);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.35);
}

.practice-card__media {
  /* aspect-ratio: 4 / 3; */
  overflow: hidden;
}

.practice-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.practice-card:hover .practice-card__media img {
  /* transform: scale(1.06); */
}

.practice-card__body {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  padding: 1.2rem 1.2rem 1.5rem;
}

.practice-card__title {
  margin: 0;
  font-family: var(--heading-font);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.3;
  color: var(--third-color);
}

.practice-card__text {
  margin: 0;
  font-family: var(--primary-font);
  font-size: 0.8rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.7);
}

/* ═══ MENGAPA MEMILIH KAMI ═══ */
.why {
  /* padding: clamp(3.5rem, 8vw, 6rem) clamp(1.25rem, 5vw, 4rem); */
  background: var(--very-light-base-color);
  color: var(--base-color);
}

.why__eyebrow {
  display: inline-block;
  margin-bottom: 0.5rem;
  font-family: var(--primary-font);
  font-weight: 600;
  /* font-size: 0.8rem; */
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-1);
}

.why__title {
  margin: 0 0 0.9rem;
  font-family: var(--heading-font);
  font-weight: 700;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  line-height: 1.2;
  color: var(--base-color);
}

.why__desc {
  margin: 0;
  font-family: var(--primary-font);
  font-size: 0.8rem;
  line-height: 1.7;
  color: rgba(7, 6, 35, 0.7);
}

.why-item {
  position: relative;
  height: 100%;
  padding: 2.25rem 1.75rem 2rem;
  background: var(--third-color);
  border: 1px solid rgba(7, 6, 35, 0.08);
  border-radius: var(--radius);
  transition:
    transform var(--transition-base),
    box-shadow var(--transition-base),
    border-color var(--transition-base);
}

.why-item:hover {
  transform: translateY(-4px);
  border-color: var(--gold-2);
  box-shadow: 0 16px 32px rgba(7, 6, 35, 0.12);
}

.why-item__index {
  display: block;
  margin-bottom: 1.25rem;
  font-family: var(--heading-font);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  color: var(--gold-1);
}

.why-item__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin-bottom: 1.25rem;
  background: var(--base-color);
  border-radius: var(--radius);
}

.why-item__icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--gold-2);
}

.why-item__title {
  margin: 0 0 0.6rem;
  font-family: var(--heading-font);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.3;
  color: var(--base-color);
}

.why-item__text {
  margin: 0;
  font-family: var(--primary-font);
  font-size: 0.8rem;
  line-height: 1.7;
  color: rgba(7, 6, 35, 0.7);
} /* ═══ PROFIL ADVOKAT ═══ */
.profile {
  padding: clamp(3.5rem, 8vw, 6rem) clamp(1.25rem, 5vw, 4rem);
  background: var(--third-color);
  color: var(--base-color);
  overflow: hidden;
}

.profile__eyebrow {
  display: inline-block;
  margin-bottom: 0.5rem;
  font-family: var(--primary-font);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-1);
}

/* .profile__photo-wrap {
  position: relative;
  max-width: 420px;
}

.profile__photo-wrap::before {
  content: "";
  position: absolute;
  inset: 14px -14px -14px 14px;
  z-index: 0;
  border: 1px solid var(--gold-2);
} */

.profile__photo {
  position: relative;
  z-index: 1;
  /* aspect-ratio: 3 / 4; */
  overflow: hidden;
  background: var(--very-light-base-color);
}

.profile__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.profile__name {
  margin: 0 0 0.35rem;
  font-family: var(--heading-font);
  font-weight: 700;
  font-size: clamp(1.4rem, 3vw, 2.1rem);
  line-height: 1.25;
  color: var(--base-color);
}

.profile__role {
  /* margin: 0 0 1.25rem; */
  font-family: var(--primary-font);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.02em;
  color: var(--gold-1);
}

.profile__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.55rem 1rem;
  margin-bottom: 1.75rem;
  background: var(--very-light-base-color);
  border: 1px solid rgba(7, 6, 35, 0.08);
  border-radius: var(--radius);
}

.profile__badge img {
  height: 22px;
  width: auto;
  display: block;
}

.profile__badge span {
  font-family: var(--primary-font);
  font-weight: 500;
  font-size: 0.85rem;
  color: rgba(7, 6, 35, 0.75);
}

.profile__desc {
  margin: 0;
  /* max-width: 46em; */
  font-family: var(--primary-font);
  font-size: 0.8rem;
  line-height: 1.8;
  color: rgba(7, 6, 35, 0.72);
}

/* ═══ TESTIMONI KLIEN ═══ */
.testimonials {
  /* padding: clamp(3.5rem, 8vw, 6rem) clamp(1.25rem, 5vw, 4rem); */
  background: var(--base-color);
  color: var(--third-color);
}

.testimonials__eyebrow {
  display: inline-block;
  margin-bottom: 0.5rem;
  font-family: var(--primary-font);
  font-weight: 600;
  /* font-size: 0.8rem; */
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-2);
}

.testimonials__title {
  margin: 0 0 0.9rem;
  font-family: var(--heading-font);
  font-weight: 700;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  line-height: 1.2;
  color: var(--third-color);
}

.testimonials__desc {
  margin: 0;
  font-family: var(--primary-font);
  font-size: 0.8rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.72);
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  /* padding: 2rem 1.85rem 1.85rem; */
  padding: 1rem;
  background: var(--btn-secondary-bg);
  border: 1px solid rgba(212, 175, 55, 0.16);
  border-radius: var(--radius);
  transition:
    border-color var(--transition-base),
    box-shadow var(--transition-base);
}

.swiper-slide:hover .testimonial-card {
  border-color: var(--gold-2);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.35);
}

.testimonial-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.1rem;
}

.testimonial-card__quote-icon {
  font-family: Georgia, serif;
  font-size: 2.75rem;
  line-height: 1;
  color: var(--gold-2);
}

.testimonial-card__stars {
  display: flex;
  gap: 3px;
}

.testimonial-card__stars svg {
  width: 15px;
  height: 15px;
  fill: var(--gold-2);
}

.testimonial-card__text {
  /*flex-grow: 1;*/
  margin: 0 0 0.85rem;
  font-family: var(--primary-font);
  font-size: 0.8rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.82);
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 5;
  line-clamp: 5;
  overflow: hidden;
}

.testimonial-card__more {
  display: none; /* dimunculkan lewat JS hanya jika teks terpotong */
  align-items: center;
  gap: 0.4rem;
  width: fit-content;
  margin: 0 0 1.35rem;
  padding: 0;
  background: none;
  border: none;
  font-family: var(--primary-font);
  font-weight: 600;
  /* font-size: 0.85rem; */
  color: var(--gold-2);
  cursor: pointer;
}

.testimonial-card__more svg {
  width: 13px;
  height: 13px;
  stroke: var(--gold-2);
}

.testimonial-card__more:hover {
  color: var(--gold-3);
}
.testimonial-card__more:hover svg {
  stroke: var(--gold-3);
}

.testimonial-card__footer {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding-top: 1.1rem;
  border-top: 1px solid rgba(212, 175, 55, 0.16);
  margin-top: auto;
}

.testimonial-card__avatar {
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  overflow: hidden;
  background: var(--base-color);
  border: 1px solid rgba(212, 175, 55, 0.35);
}

.testimonial-card__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.testimonial-card__name {
  margin: 0 0 0.15rem;
  font-family: var(--heading-font);
  font-weight: 700;
  font-size: 0.76rem;
  color: var(--third-color);
}

.testimonial-card__role {
  margin: 0;
  font-family: var(--primary-font);
  font-weight: 500;
  font-size: 0.7rem;
  letter-spacing: 0.02em;
  color: var(--gold-2);
}

.testimonials__cta {
  margin-top: clamp(2.25rem, 5vw, 3rem);
}

/* ── Swiper: slides, arrows, pagination ── */
.testimonials-swiper {
  padding: 0.5rem 0.35rem 3.25rem !important;
}

.testimonials-swiper .swiper-slide {
  height: auto;
}

.testimonials-swiper .swiper-pagination {
  bottom: 0;
}

.testimonials-swiper .swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.3);
  opacity: 1;
}

.testimonials-swiper .swiper-pagination-bullet-active {
  background: var(--gold-gradient);
}

.testimonials__nav {
  display: flex;
  justify-content: center;
  gap: 0.85rem;
  margin-top: 1.5rem;
}

.testimonials__nav-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: var(--btn-secondary-bg);
  border: 1px solid var(--btn-secondary-border);
  border-radius: var(--radius);
  color: var(--third-color);
  cursor: pointer;
  transition:
    background-color var(--transition-base),
    border-color var(--transition-base);
}

.testimonials__nav-btn:hover {
  background: var(--btn-secondary-bg-hover);
  border-color: var(--gold-2);
}

.testimonials__nav-btn svg {
  width: 18px;
  height: 18px;
  stroke: var(--gold-2);
}

.testimonials__nav-btn.swiper-button-disabled {
  opacity: 0.35;
  cursor: default;
}

/* ── Popup ulasan lengkap ── */
#testimonialModal .modal-content {
  background: var(--btn-secondary-bg);
  color: var(--third-color);
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: var(--radius);
}

#testimonialModal .modal-header {
  border-bottom: 1px solid rgba(212, 175, 55, 0.16);
  align-items: center;
  gap: 0.85rem;
}

#testimonialModal .modal-header .btn-close {
  filter: invert(1) grayscale(1) brightness(2);
  opacity: 0.7;
}

#testimonialModal .modal-avatar {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  overflow: hidden;
  background: var(--base-color);
  border: 1px solid rgba(212, 175, 55, 0.35);
}

#testimonialModal .modal-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

#testimonialModal .modal-title {
  font-family: var(--heading-font);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--third-color);
  margin: 0;
}

#testimonialModal .modal-role {
  font-family: var(--primary-font);
  font-weight: 500;
  font-size: 0.82rem;
  color: var(--gold-2);
}

#testimonialModal .modal-body {
  font-family: var(--primary-font);
  /* font-size: 0.98rem; */
  line-height: 1.85;
  color: rgba(255, 255, 255, 0.85);
}

#testimonialModal .modal-stars {
  display: flex;
  gap: 3px;
  margin-bottom: 1rem;
}

#testimonialModal .modal-stars svg {
  width: 15px;
  height: 15px;
  fill: var(--gold-2);
}

/* ═══ ALUR KERJA ═══ */
.workflow {
  /* padding: clamp(3.5rem, 8vw, 6rem) clamp(1.25rem, 5vw, 4rem); */
  background: var(--very-light-base-color);
  color: var(--base-color);
}

.workflow__eyebrow {
  display: inline-block;
  margin-bottom: 0.5rem;
  font-family: var(--primary-font);
  font-weight: 600;
  /* font-size: 0.8rem; */
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-1);
}

.workflow__title {
  margin: 0 0 0.9rem;
  font-family: var(--heading-font);
  font-weight: 700;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  line-height: 1.2;
  color: var(--base-color);
}

.workflow__desc {
  margin: 0;
  font-family: var(--primary-font);
  font-size: 0.8rem;
  line-height: 1.7;
  color: rgba(7, 6, 35, 0.7);
}

.workflow__track {
  position: relative;
}

 /* Garis penghubung horizontal — hanya valid saat 4 kolom sejajar dalam 1 baris (breakpoint lg ke atas, col-lg-3) */
    .workflow__track::before {
      content: "";
      position: absolute;
      top: 50px;
      left: calc(3.5% + 26px);
    right: calc(21.5% + 26px);
      height: 1px;
      background: repeating-linear-gradient(
        to right,
        var(--gold-2) 0, var(--gold-2) 6px,
        transparent 6px, transparent 12px
      );
      z-index: 0;
      display: none;
    }
 
    @media (min-width: 992px) {
      .workflow__track::before { display: block; }
    }

.workflow-step {
  position: relative;
  z-index: 1;
  /* text-align: center; */
  padding: 0 0.5rem;
}

.workflow-step__marker {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  /* margin: 0 auto 1.4rem; */
  background: var(--base-color);
  border: 1px solid var(--gold-2);
  font-family: var(--heading-font);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--gold-2);
}

.workflow-step__line {
  display: none;
}

.workflow-step__title {
  margin: 0 0 0.6rem;
  font-family: var(--heading-font);
  font-weight: 700;
  font-size: 1.1rem;
  line-height: 1.3;
  color: var(--base-color);
  margin-bottom: 10px !important;
}

.workflow-step__text {
  margin: 0;
  font-family: var(--primary-font);
  font-size: 0.8rem;
  line-height: 1.7;
  color: rgba(7, 6, 35, 0.68);
}

    /* Garis penghubung horizontal per-baris — tablet (768–991.98px), grid 2 kolom x 2 baris (col-md-6).
       Digambar dari kartu di kolom kiri (ganjil) memanjang ke kanan hingga menyentuh
       marker kartu di kolom kanan pasangannya, jadi tidak perlu tahu tinggi tiap baris. */
    @media (min-width: 768px) and (max-width: 991.98px) {
      .workflow__track > [class^="col"]:nth-child(odd) .workflow-step::before {
        content: "";
        position: absolute;
        top: 26px;
        left: 19%;
        width: calc(100% + var(--bs-gutter-x, 1.5rem));
        height: 1px;
        background: repeating-linear-gradient(
          to right,
          var(--gold-2) 0, var(--gold-2) 6px,
          transparent 6px, transparent 12px
        );
      }
    }
 
@media (max-width: 767.98px) {
  .workflow-step {
    display: flex;
    gap: 1.1rem;
    text-align: left;
    padding: 0;
  }
  .workflow-step__marker-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
  }
  .workflow-step__marker {
    margin: 0;
  }
  .workflow-step__line {
    display: block;
    flex: 1;
    width: 0;
    min-height: 1.25rem;
    margin: 0.5rem 0;
    border-left: 1px dashed var(--gold-2);
  }
  .workflow-step__body {
    padding-bottom: 2rem;
  }
  .workflow__track > [class^="col"]:last-child .workflow-step__line {
    display: none;
  }
}

/* ═══ FAQ ═══ */
.faq {
  /* padding: clamp(3.5rem, 8vw, 6rem) clamp(1.25rem, 5vw, 4rem); */
  background: var(--third-color);
  color: var(--base-color);
}

.faq__eyebrow {
  display: inline-block;
  margin-bottom: 0.75rem;
  font-family: var(--primary-font);
  font-weight: 600;
  /* font-size: 0.8rem; */
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-1);
}

.faq__title {
  margin: 0 0 1rem;
  font-family: var(--heading-font);
  font-weight: 700;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  line-height: 1.25;
  color: var(--base-color);
}

.faq__desc {
  margin: 0 0 2rem;
  font-family: var(--primary-font);
  font-size: 0.8rem;
  line-height: 1.75;
  color: rgba(7, 6, 35, 0.7);
}

.faq__image {
  position: relative;
  /* aspect-ratio: 4 / 5; */
  overflow: hidden;
  background: var(--very-light-base-color);
}

.faq__image::before {
  content: "";
  position: absolute;
  inset: 14px -14px -14px 14px;
  z-index: 0;
  border: 1px solid var(--gold-2);
}

.faq__image img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (min-width: 992px) {
  .faq__sticky {
    position: sticky;
    top: 104px; /* samakan dengan tinggi navbar + jarak nyaman */
  }
}

/* Accordion FAQ */
.faq-accordion .accordion-item {
  background: var(--third-color);
  border: 1px solid rgba(7, 6, 35, 0.1);
  border-radius: var(--radius);
  margin-bottom: 0.9rem;
  overflow: hidden;
  transition: border-color var(--transition-base);
}

.faq-accordion .accordion-item:last-child {
  margin-bottom: 0;
}

.faq-accordion .accordion-item:has(.accordion-button:not(.collapsed)) {
  border-color: rgba(212, 175, 55, 0.4);
}

.faq-accordion .accordion-button {
  display: flex;
  align-items: center;
  gap: 1rem;
  width: 100%;
  padding: 1.15rem 1.35rem;
  background: var(--third-color);
  border: none;
  font-family: var(--primary-font);
  text-align: left;
  border-radius: var(--radius);
  box-shadow: none;
  cursor: pointer;
  transition: background-color var(--transition-base);
}

.faq-accordion .accordion-button::after {
  display: none;
}

.faq-accordion .accordion-button:hover {
  background: var(--very-light-base-color);
}

.faq-accordion .accordion-button:not(.collapsed) {
  background: var(--very-light-base-color);
  box-shadow: inset 0 -1px 0 rgba(212, 175, 55, 0.25);
}

.faq-accordion .accordion-button:focus-visible {
  outline: 2px solid var(--gold-2);
  outline-offset: -2px;
}

.faq-accordion .accordion-button__index {
  flex-shrink: 0;
  width: 26px;
  font-family: var(--heading-font);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--gold-1);
}

.faq-accordion .accordion-button__text {
  flex: 1;
  font-family: var(--heading-font);
  font-weight: 700;
  font-size: 0.9rem;
  line-height: 1.4;
  color: var(--base-color);
}

.faq-accordion .accordion-button__icon {
  position: relative;
  flex-shrink: 0;
  width: 18px;
  height: 18px;
}

.faq-accordion .accordion-button__icon span {
  position: absolute;
  top: 50%;
  left: 50%;
  background: var(--gold-1);
  transition: transform 0.3s ease;
}

.faq-accordion .accordion-button__icon span:first-child {
  width: 16px;
  height: 2px;
  transform: translate(-50%, -50%);
}

.faq-accordion .accordion-button__icon span:last-child {
  width: 2px;
  height: 16px;
  transform: translate(-50%, -50%);
}

.faq-accordion
  .accordion-button:not(.collapsed)
  .accordion-button__icon
  span:last-child {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq-accordion .accordion-body {
  padding: 0 1.35rem 1.35rem 3.1rem;
  font-family: var(--primary-font);
  font-size: 0.75rem;
  line-height: 1.75;
  color: rgba(7, 6, 35, 0.68);
}
.accordion-body p {
  margin-bottom: 0px !important;
}

/* ═══ FOOTER ═══ */
.site-footer {
  padding: clamp(3rem, 7vw, 3rem) clamp(1.25rem, 5vw, 4rem) 0;
  background: var(--base-color);
  color: rgba(255, 255, 255, 0.75);
}

.footer__logo {
  display: inline-block;
  height: 40px;
  width: auto;
  margin-bottom: 1.25rem;
}

.footer__office-name {
  margin: 0 0 0.6rem;
  font-family: var(--heading-font);
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--third-color);
}

.footer__desc {
  /* max-width: 34em; */
  margin: 0 0 1.25rem;
  font-family: var(--primary-font);
  font-size: 0.7rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.65);
}

.footer__social {
  display: flex;
  gap: 0.65rem;
  /* margin: 0 0 2rem; */
}

.footer__social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  background: var(--btn-secondary-bg);
  border: 1px solid rgba(212, 175, 55, 0.25);
  color: var(--gold-2);
  transition:
    background-color var(--transition-base),
    border-color var(--transition-base),
    transform var(--transition-base);
}

.footer__social a:hover {
  background: var(--btn-secondary-bg-hover);
  border-color: var(--gold-2);
  transform: translateY(-3px);
}

.footer__social svg {
  width: 17px;
  height: 17px;
  fill: currentColor;
}

.footer__address {
  /* max-width: 34em; */
  margin: 0 0 1.5rem;
  font-family: var(--primary-font);
  font-size: 0.7rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.65);
}

.footer__label {
  display: block;
  margin-bottom: 0.9rem;
  font-family: var(--primary-font);
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-2);
}

.footer__contact {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.footer__contact-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  background: var(--btn-secondary-bg);
  border: 1px solid rgba(212, 175, 55, 0.25);
}

.footer__contact-icon svg {
  width: 16px;
  height: 16px;
  stroke: var(--gold-2);
}

.footer__contact-text {
  display: flex;
  flex-direction: column;
}

.footer__contact-text span {
  font-family: var(--primary-font);
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.5);
}

.footer__contact-text a {
  font-family: var(--primary-font);
  font-weight: 600;
  font-size: 0.7rem;
  color: var(--third-color);
  text-decoration: none;
  transition: color var(--transition-base);
}

.footer__contact-text a:hover {
  color: var(--gold-2);
}

.footer__map {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--btn-secondary-bg);
  border: 1px solid rgba(212, 175, 55, 0.2);
}

.footer__map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  filter: grayscale(0.15) contrast(1.05);
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 20px;
  padding: 0.9rem 0;
  border-top: 1px solid rgba(212, 175, 55, 0.16);
  font-family: var(--primary-font);
  font-size: 0.6rem;
}

.footer__copyright {
  color: rgba(255, 255, 255, 0.55);
}

.footer__credit {
  color: rgba(255, 255, 255, 0.55);
}

.footer__credit a {
  color: var(--gold-2);
  text-decoration: none;
  font-weight: 600;
}

.footer__credit a:hover {
  text-decoration: underline;
}

/* ═══ FLOATING WHATSAPP BUTTON ═══ */
.float-wa {
  position: fixed;
  right: clamp(1rem, 3vw, 1.75rem);
  bottom: clamp(1rem, 3vw, 1.75rem);
  z-index: 999;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem .7rem;
  background: var(--gold-gradient);
  color: var(--base-color);
  border: none;
  border-radius: 10px;
  font-family: var(--primary-font);
  font-weight: 700;
  font-size: 0.8rem;
  text-decoration: none;
  box-shadow:
    0 10px 28px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(212, 175, 55, 0.25);
  transition:
    transform var(--transition-base),
    box-shadow var(--transition-base);
}

.float-wa:hover {
  transform: translateY(-3px);
  box-shadow:
    0 14px 34px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(212, 175, 55, 0.4);
  color: var(--base-color);
}

.float-wa svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

@media (max-width: 575.98px) {
  .float-wa span {
    display: block;
  }
  .float-wa {
    padding: 0.6rem;
  }
}
