
/* =========================================================
   FAQ PAGE - matched to approved homepage/global styling
========================================================= */

.dhm-faq-page-content {
  overflow: hidden;
  background: #ffffff;
}

.dhm-faq-quick {
  position: relative;
  overflow: hidden;
  padding: clamp(58px, 7vw, 96px) 20px;
  background:
    radial-gradient(circle at 12% 10%, rgba(54,214,255,0.14), transparent 30%),
    linear-gradient(180deg, #ffffff 0%, #f3fbff 100%);
}

.dhm-faq-quick::before {
  content: "";
  position: absolute;
  right: -120px;
  top: -120px;
  width: 320px;
  height: 320px;
  border-radius: 999px;
  border: 1px solid rgba(7,95,159,0.10);
  pointer-events: none;
}

.dhm-faq-quick__grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.dhm-faq-quick-card {
  position: relative;
  overflow: hidden;
  min-height: 245px;
  padding: 28px;
  border: 1px solid var(--dhm-border);
  border-radius: 26px;
  background: #ffffff;
  box-shadow: var(--dhm-shadow);
}

.dhm-faq-quick-card::before {
  content: "";
  position: absolute;
  inset: auto -54px -78px auto;
  width: 158px;
  height: 158px;
  border-radius: 999px;
  background: rgba(54,214,255,0.18);
}

.dhm-faq-quick-card span {
  display: inline-flex;
  margin: 0 0 42px;
  color: rgba(7,95,159,0.42);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.14em;
}

.dhm-faq-quick-card h3 {
  position: relative;
  z-index: 2;
  margin: 0 0 12px;
  color: var(--dhm-navy);
  font-size: 25px;
  letter-spacing: -0.03em;
}

.dhm-faq-quick-card p {
  position: relative;
  z-index: 2;
  margin: 0;
  color: var(--dhm-muted);
  font-size: 16px;
  line-height: 1.58;
}

.dhm-faq-main {
  position: relative;
  overflow: visible;
  padding: clamp(58px, 7vw, 98px) 20px;
  background: #ffffff;
}

.dhm-faq-main__grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.34fr) minmax(0, 0.66fr);
  gap: clamp(26px, 5vw, 62px);
  align-items: start;
}

.dhm-faq-sidebar {
  position: sticky;
  top: 106px;
  overflow: hidden;
  padding: 28px;
  border-radius: 30px;
  color: #ffffff;
  background:
    radial-gradient(circle at 22% 18%, rgba(255,255,255,0.26), transparent 28%),
    linear-gradient(135deg, #021d38 0%, #075f9f 58%, #10b7ec 100%);
  box-shadow: var(--dhm-shadow);
}

.dhm-faq-sidebar h2 {
  margin: 0 0 18px;
  color: #ffffff;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.dhm-faq-sidebar nav {
  display: grid;
  gap: 10px;
}

.dhm-faq-sidebar a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 16px;
  color: #ffffff;
  text-decoration: none;
  font-weight: 800;
  background: rgba(255,255,255,0.10);
  transition: transform 160ms ease, background 160ms ease;
}

.dhm-faq-sidebar a::after {
  content: "›";
  opacity: 0.7;
  font-size: 22px;
  line-height: 1;
}

.dhm-faq-sidebar a:hover {
  transform: translateY(-2px);
  background: rgba(255,255,255,0.16);
}

.dhm-faq-groups {
  display: grid;
  gap: 34px;
}

.dhm-faq-group {
  scroll-margin-top: 110px;
}

.dhm-faq-group__head {
  margin: 0 0 18px;
}

.dhm-faq-group__head h2 {
  margin: 0;
  color: var(--dhm-navy);
  font-size: clamp(28px, 3.2vw, 42px);
  line-height: 1.06;
  letter-spacing: -0.04em;
}

.dhm-faq-item {
  border: 1px solid var(--dhm-border);
  border-radius: 22px;
  background: #ffffff;
  box-shadow: 0 16px 36px rgba(5,43,79,0.08);
  overflow: hidden;
}

.dhm-faq-item + .dhm-faq-item {
  margin-top: 12px;
}

.dhm-faq-item summary {
  position: relative;
  cursor: pointer;
  list-style: none;
  padding: 22px 62px 22px 24px;
  color: var(--dhm-navy);
  font-size: 18px;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.dhm-faq-item summary::-webkit-details-marker {
  display: none;
}

.dhm-faq-item summary::after {
  content: "+";
  position: absolute;
  right: 20px;
  top: 50%;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: #ffffff;
  background: linear-gradient(135deg, #075f9f, #10b7ec);
  transform: translateY(-50%);
  font-size: 22px;
  line-height: 1;
}

.dhm-faq-item[open] summary::after {
  content: "–";
}

.dhm-faq-item div {
  padding: 0 24px 24px;
}

.dhm-faq-item p {
  margin: 0;
  color: var(--dhm-muted);
  font-size: 16px;
  line-height: 1.66;
}

.dhm-faq-help {
  position: relative;
  overflow: hidden;
  padding: clamp(58px, 7vw, 96px) 20px;
  background:
    radial-gradient(circle at 16% 18%, rgba(255,255,255,0.22), transparent 24%),
    radial-gradient(circle at 84% 22%, rgba(54,214,255,0.26), transparent 28%),
    linear-gradient(135deg, #021d38 0%, #052b4f 45%, #075f9f 100%);
}

.dhm-faq-help__grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
}

.dhm-faq-help__copy h2 {
  margin: 0 0 14px;
  max-width: 760px;
  color: #ffffff;
  font-size: clamp(34px, 4vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.045em;
}

.dhm-faq-help__copy p {
  margin: 0;
  max-width: 740px;
  color: rgba(255,255,255,0.78);
  font-size: 18px;
  line-height: 1.66;
}

.dhm-faq-help__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
}

@media (max-width: 980px) {
  .dhm-faq-quick__grid,
  .dhm-faq-main__grid,
  .dhm-faq-help__grid {
    grid-template-columns: 1fr;
  }

  .dhm-faq-sidebar {
    position: relative;
    top: auto;
  }

  .dhm-faq-help__actions {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .dhm-faq-quick,
  .dhm-faq-main,
  .dhm-faq-help {
    padding-left: 16px;
    padding-right: 16px;
  }

  .dhm-faq-quick-card,
  .dhm-faq-sidebar,
  .dhm-faq-item {
    border-radius: 22px;
  }

  .dhm-faq-quick-card,
  .dhm-faq-sidebar {
    padding: 24px;
  }

  .dhm-faq-item summary {
    padding: 20px 58px 20px 20px;
  }

  .dhm-faq-item div {
    padding: 0 20px 22px;
  }

  .dhm-faq-help__actions .dhm-btn {
    width: 100%;
  }
}
