.hubungi-page {
  background:
    radial-gradient(circle at 88% 7%, rgba(46, 112, 232, 0.12), transparent 31rem),
    radial-gradient(circle at 5% 66%, rgba(21, 175, 168, 0.09), transparent 27rem),
    var(--bg);
}

.hubungi-page .nav-links a[aria-current="page"] {
  color: var(--ink);
}

.hubungi-page .nav-links a[aria-current="page"]::after {
  transform: scaleX(1);
}

.contact-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(440px, 1.1fr);
  align-items: center;
  gap: clamp(52px, 7vw, 94px);
  min-height: calc(100vh - var(--header-height));
  padding-block: 72px 92px;
}

.contact-hero::before {
  position: absolute;
  z-index: -1;
  top: 8%;
  right: -15%;
  width: min(48vw, 590px);
  aspect-ratio: 1;
  border: 1px solid color-mix(in srgb, var(--primary) 12%, transparent);
  border-radius: 50%;
  box-shadow:
    0 0 0 72px color-mix(in srgb, var(--primary) 3%, transparent),
    0 0 0 144px color-mix(in srgb, var(--teal) 2%, transparent);
  content: "";
  pointer-events: none;
}

.contact-copy {
  position: relative;
  z-index: 1;
}

.contact-breadcrumb {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 38px;
  color: color-mix(in srgb, var(--muted) 88%, var(--ink));
  font-size: 0.7rem;
  font-weight: 700;
}

.contact-breadcrumb a {
  transition: color 160ms ease;
}

.contact-breadcrumb a:hover {
  color: var(--primary);
}

.contact-breadcrumb span[aria-current="page"] {
  color: var(--ink-soft);
}

.contact-kicker {
  margin-bottom: 15px;
  color: var(--primary);
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.contact-copy h1 {
  max-width: 660px;
  margin-bottom: 24px;
  font-size: clamp(3.4rem, 6.3vw, 6rem);
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: -0.068em;
}

.contact-copy h1 span {
  color: var(--primary);
}

.contact-lead {
  max-width: 610px;
  margin-bottom: 30px;
  color: color-mix(in srgb, var(--muted) 88%, var(--ink));
  font-size: 1rem;
  line-height: 1.78;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.contact-button {
  min-height: 52px;
  padding-inline: 24px;
}

.contact-safety {
  display: flex;
  max-width: 610px;
  align-items: flex-start;
  gap: 10px;
  margin: 22px 0 0;
  color: color-mix(in srgb, var(--muted) 72%, var(--ink));
  font-size: 0.78rem;
  line-height: 1.65;
}

.contact-safety > span {
  display: grid;
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  place-items: center;
  margin-top: 1px;
  color: var(--primary);
  border: 1px solid color-mix(in srgb, var(--primary) 35%, transparent);
  border-radius: 50%;
  font-size: 0.68rem;
  font-weight: 800;
}

.office-card {
  position: relative;
  z-index: 1;
  padding: clamp(30px, 4vw, 52px);
  overflow: hidden;
  color: #f7fbfb;
  background:
    radial-gradient(circle at 100% 0, rgba(109, 163, 255, 0.28), transparent 20rem),
    linear-gradient(145deg, #173f4b, #0d2730 78%);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: var(--radius-xl);
  box-shadow: 0 30px 76px rgba(13, 39, 48, 0.24);
}

.office-card::after {
  position: absolute;
  z-index: -1;
  right: -110px;
  bottom: -140px;
  width: 320px;
  height: 320px;
  border: 1px solid rgba(83, 211, 202, 0.2);
  border-radius: 50%;
  content: "";
}

.office-card-header {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
}

.office-card-index {
  display: grid;
  width: 50px;
  height: 50px;
  flex: 0 0 auto;
  place-items: center;
  color: #8de4dc;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.office-card-header p,
.office-details span {
  margin-bottom: 5px;
  color: rgba(255, 255, 255, 0.53);
  font-size: 0.63rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.office-card-header h2 {
  margin-bottom: 0;
  font-size: clamp(1.45rem, 2.5vw, 2rem);
  line-height: 1.2;
  letter-spacing: -0.045em;
}

.office-card address {
  max-width: 660px;
  padding-block: 34px;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1.1rem, 2vw, 1.42rem);
  font-style: normal;
  font-weight: 550;
  line-height: 1.58;
  letter-spacing: -0.025em;
}

.office-details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding-bottom: 28px;
}

.office-details > div {
  min-width: 0;
  padding: 18px;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: var(--radius-md);
}

.office-details strong,
.office-details a {
  display: block;
  color: #fff;
  font-size: 0.82rem;
  font-weight: 750;
  overflow-wrap: anywhere;
}

.office-details a {
  transition: color 160ms ease;
}

.office-details a:hover {
  color: #8de4dc;
}

.office-details p {
  margin: 5px 0 0;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.68rem;
}

.office-map-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 8px;
  color: #8de4dc;
  font-size: 0.72rem;
  font-weight: 800;
  transition: color 160ms ease, gap 160ms ease;
}

.office-map-link:hover {
  gap: 12px;
  color: #fff;
}

.contact-support {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  min-height: 210px;
  margin-bottom: 104px;
  padding: 34px;
  background: color-mix(in srgb, var(--surface) 92%, transparent);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.contact-support-mark {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  color: var(--primary);
  background: var(--primary-soft);
  border-radius: 50%;
  font-size: 1rem;
  font-weight: 800;
}

.contact-support .contact-kicker {
  margin-bottom: 10px;
}

.contact-support h2 {
  margin-bottom: 8px;
  font-size: clamp(1.55rem, 3vw, 2.3rem);
  line-height: 1.2;
  letter-spacing: -0.045em;
}

.contact-support p:last-child {
  max-width: 660px;
  margin-bottom: 0;
  color: color-mix(in srgb, var(--muted) 88%, var(--ink));
  font-size: 0.78rem;
}

.contact-support-button {
  white-space: nowrap;
}

.theme-dark .office-card {
  box-shadow: 0 30px 76px rgba(0, 0, 0, 0.36);
}

@media (max-width: 1080px) {
  .contact-hero {
    grid-template-columns: 1fr;
    gap: 52px;
    min-height: 0;
    padding-block: 74px 82px;
  }

  .contact-copy {
    max-width: 760px;
  }

  .office-card {
    max-width: 780px;
  }
}

@media (max-width: 980px) {
  .hubungi-page .nav-panel {
    visibility: hidden;
  }

  .hubungi-page.menu-open .nav-panel {
    visibility: visible;
  }
}

@media (max-width: 780px) {
  .contact-hero {
    padding-block: 58px 68px;
  }

  .contact-breadcrumb {
    margin-bottom: 30px;
  }

  .contact-copy h1 {
    font-size: clamp(3rem, 13vw, 4.2rem);
  }

  .contact-support {
    grid-template-columns: 52px minmax(0, 1fr);
    margin-bottom: 84px;
    padding: 28px;
  }

  .contact-support-button {
    grid-column: 1 / -1;
    justify-self: start;
  }
}

@media (max-width: 540px) {
  .contact-hero {
    gap: 38px;
    padding-top: 44px;
  }

  .contact-copy h1 {
    font-size: clamp(2.65rem, 14vw, 3.5rem);
  }

  .contact-lead {
    font-size: 0.9rem;
  }

  .contact-actions {
    display: grid;
  }

  .contact-actions .button {
    width: 100%;
  }

  .office-card {
    padding: 24px;
    border-radius: var(--radius-lg);
  }

  .office-card-header {
    align-items: flex-start;
  }

  .office-card address {
    padding-block: 28px;
    font-size: 1.05rem;
  }

  .office-details {
    grid-template-columns: 1fr;
  }

  .contact-support {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 24px;
  }

  .contact-support-button {
    grid-column: 1;
    width: 100%;
    white-space: normal;
  }
}

@media (prefers-reduced-motion: reduce) {
  .office-map-link {
    transition: none;
  }
}
