/* Request modal + /request/ page options.
   Added 2026-07-31. Shared by the nav modal and the Get In Touch page. */

.dc-modal[hidden] {
  display: none;
}

.dc-modal {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px 20px;
}

.dc-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20, 20, 20, 0.72);
}

.dc-modal__panel {
  position: relative;
  background: #fff;
  border-radius: 6px;
  width: 100%;
  max-width: 960px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 45px 45px 50px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
  outline: none;
}

.dc-modal__close {
  position: absolute;
  top: 12px;
  right: 16px;
  background: none;
  border: 0;
  font-size: 38px;
  line-height: 1;
  color: #8a8a8a;
  cursor: pointer;
  padding: 4px 10px;
}

.dc-modal__close:hover,
.dc-modal__close:focus {
  color: #1a1a1a;
}

.dc-modal__head {
  text-align: center;
  margin-bottom: 32px;
}

.dc-modal__head h2 {
  margin: 0 0 10px;
  font-size: 36px;
  line-height: 120%;
}

.dc-modal__head p {
  margin: 0 auto;
  max-width: 560px;
  font-size: 17px;
  line-height: 170%;
}

.dc-modal__head a,
.dc-request-page .dc-request-intro a,
.dc-request-page .dc-request-callout a {
  color: var(--primary);
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

.dc-modal__head a:hover,
.dc-request-page .dc-request-intro a:hover,
.dc-request-page .dc-request-callout a:hover {
  text-decoration: underline;
}

/* Option cards - shared with the /request/ page */

.dc-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.dc-option {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 34px 24px 30px;
  border: 2px solid #e2e2e2;
  border-radius: 6px;
  text-decoration: none;
  color: inherit;
  background: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.dc-option:hover,
.dc-option:focus {
  border-color: var(--primary);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.12);
  transform: translateY(-3px);
  text-decoration: none;
  color: inherit;
}

.dc-option__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: #f4f4f4;
  margin-bottom: 18px;
}

.dc-option__icon svg {
  width: 30px;
  height: 30px;
  color: var(--primary);
}

.dc-option:hover .dc-option__icon,
.dc-option:focus .dc-option__icon {
  background: var(--primary);
}

.dc-option:hover .dc-option__icon svg,
.dc-option:focus .dc-option__icon svg {
  color: #fff;
}

.dc-option__body {
  display: block;
}

.dc-option__title {
  display: block;
  font-family: var(--font2);
  font-size: 21px;
  font-weight: 700;
  line-height: 130%;
  margin-bottom: 10px;
}

.dc-option__copy {
  display: block;
  font-size: 15px;
  line-height: 165%;
  color: #545454;
}

/* /request/ page wrapper */

.dc-request-page {
  padding-top: 70px;
  padding-bottom: 60px;
}

.dc-request-page .dc-request-intro {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 40px;
}

.dc-request-page .dc-request-intro p {
  font-size: 18px;
  line-height: 175%;
  margin: 0;
}

.dc-request-page .dc-request-callout {
  text-align: center;
  margin-top: 40px;
  font-size: 18px;
}

@media screen and (max-width: 991px) {
  .dc-modal__panel {
    padding: 40px 22px 34px;
  }

  .dc-modal__head h2 {
    font-size: 28px;
  }

  .dc-options {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .dc-option {
    flex-direction: row;
    align-items: center;
    text-align: left;
    padding: 20px;
  }

  .dc-option__icon {
    width: 52px;
    height: 52px;
    min-width: 52px;
    margin-bottom: 0;
    margin-right: 16px;
  }

  .dc-option__icon i {
    font-size: 22px;
  }

  .dc-option__title {
    font-size: 19px;
    margin-bottom: 4px;
  }

  .dc-option__body {
    display: block;
  }

  .dc-request-page {
    padding-top: 45px;
  }
}
