/* Service-page consultation: one composition for the nine inner services. */
.dn-consult[data-dn-inner] {
  background: #f8fafc !important;
  color: #0c1015 !important;
}

.dn-consult__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 40rem);
  align-items: center;
  gap: clamp(2.5rem, 4vw, 4.25rem);
}

.dn-consult__content,
.dn-consult__photo,
.dn-consult__feature { min-width: 0; }

.dn-consult__eyebrow {
  display: flex;
  align-items: center;
  gap: .875rem;
  color: #1e7a16;
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.dn-consult__eyebrow::before {
  content: "";
  display: block;
  width: 2.125rem;
  height: 2px;
  background: #16a34a;
}

.dn-consult__title {
  max-width: 100% !important;
  margin: 1.25rem 0 0 !important;
  color: #0c1015 !important;
}

.dn-consult__lead {
  max-width: 37rem;
  margin: 1.25rem 0 0 !important;
  color: #475569 !important;
  font-size: 1rem !important;
  line-height: 1.65 !important;
}

.dn-consult__action-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.4rem;
  margin-top: 2rem;
}

.dn-consult__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .8rem;
  min-height: 3.5rem;
  padding: .75rem 1.75rem;
  border: 0;
  border-radius: 999px;
  background: #0d1a20;
  color: #fff;
  font: 750 .9375rem/1.3 Manrope, sans-serif;
  cursor: pointer;
  white-space: normal;
  text-align: center;
  transition: background-color .2s ease, color .2s ease, transform .2s ease;
}

.dn-consult__button:hover { background: #16a34a; transform: translateY(-2px); }
.dn-consult__button:focus-visible,
.dn-consult__manager:focus-visible,
.dn-consult-modal :focus-visible { outline: 3px solid #65d64b; outline-offset: 3px; }
.dn-consult__button svg { flex: 0 0 auto; }
.dn-consult__free { color: #667280; font-size: .8125rem; line-height: 1.45; }

.dn-consult__features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 2.625rem;
}

.dn-consult__feature {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.dn-consult__feature + .dn-consult__feature::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -.75rem;
  width: 1px;
  background: #dce3e9;
}

.dn-consult__icon {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  margin-bottom: .875rem;
  border: 1px solid #bde8ba;
  border-radius: .75rem;
  background: #fff;
  color: #16883c;
}

.dn-consult__icon svg { width: 1.375rem; height: 1.375rem; }
.dn-consult__feature-title { color: #0c1015; font-size: .9375rem; font-weight: 800; line-height: 1.35; }
.dn-consult__feature-text { margin-top: .4rem; color: #5f6b76; font-size: .8125rem; line-height: 1.5; }

.dn-consult__photo {
  position: relative;
  width: 100%;
  max-width: 40rem;
  justify-self: end;
  overflow: hidden;
  border-radius: 1.5rem;
  background: #fff;
  box-shadow: 0 1.25rem 3rem -.875rem rgb(15 23 42 / .16);
}

.dn-consult__photo > img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 640 / 462;
  object-fit: cover;
}

.dn-consult__time {
  position: absolute;
  top: 1.125rem;
  left: 1.125rem;
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .55rem .8rem;
  border-radius: .75rem;
  background: rgb(255 255 255 / .96);
  color: #1e293b;
  box-shadow: 0 .4rem 1.2rem rgb(15 23 42 / .12);
  font-size: .75rem;
  font-weight: 600;
}

.dn-consult__dot,
.dn-consult__online-dot {
  display: inline-block;
  flex: 0 0 auto;
  width: .5rem;
  height: .5rem;
  border-radius: 50%;
  background: #50d833;
  box-shadow: 0 0 0 3px rgb(80 216 51 / .18);
}

.dn-consult__doodle {
  display: none !important;
}

.dn-consult__manager {
  position: absolute;
  right: 1.125rem;
  bottom: 1.125rem;
  display: flex;
  align-items: center;
  gap: .75rem;
  width: min(17.5rem, calc(100% - 2.25rem));
  padding: .625rem .8rem;
  border: 1px solid rgb(255 255 255 / .95);
  border-radius: 1.125rem;
  background: rgb(255 255 255 / .97);
  color: #101923;
  box-shadow: 0 .875rem 2rem -.5rem rgb(15 23 42 / .2);
  cursor: pointer;
  text-align: left;
  transition: transform .2s ease;
}

.dn-consult__manager:hover { transform: translateY(-3px); }
.dn-consult__avatar { flex: 0 0 2.75rem; width: 2.75rem; height: 2.75rem; border-radius: 50%; object-fit: cover; }
.dn-consult__manager-copy { display: grid; min-width: 0; gap: .15rem; }
.dn-consult__manager-name { display: flex; align-items: center; gap: .5rem; color: #111827; font-size: .875rem; font-weight: 800; }
.dn-consult__manager-online { display: inline-flex; align-items: center; gap: .35rem; color: #16883c; font-size: .625rem; font-weight: 700; }
.dn-consult__online-dot { width: .375rem; height: .375rem; }
.dn-consult__manager-role { color: #64748b; font-size: .675rem; line-height: 1.3; }
.dn-consult__manager-cta { color: #1e7a16; font-size: .675rem; font-weight: 750; }

@layer service-type {
  html body main section.dn-consult h2.dn-consult__title {
    max-width: 100% !important;
    color: #0c1015 !important;
    -webkit-text-fill-color: #0c1015 !important;
    font-size: clamp(2.5rem, 3.5vw, 3.5rem) !important;
    line-height: 1.08 !important;
    letter-spacing: -.035em !important;
    overflow-wrap: normal !important;
  }
  html body main section.dn-consult h2.dn-consult__title span {
    display: block !important;
    color: #1e7a16 !important;
    -webkit-text-fill-color: #1e7a16 !important;
  }
  html body main section.dn-consult p.dn-consult__lead {
    color: #475569 !important;
    -webkit-text-fill-color: #475569 !important;
  }
}

@media (max-width: 70rem) {
  .dn-consult__layout { grid-template-columns: minmax(0, 1fr); }
  .dn-consult__photo { justify-self: start; }
}

@media (max-width: 42rem) {
  .dn-consult__layout { gap: 2.5rem; }
  .dn-consult__features { grid-template-columns: minmax(0, 1fr); gap: 0; margin-top: 2rem; }
  .dn-consult__feature { display: grid; grid-template-columns: 2.75rem minmax(0, 1fr); column-gap: .875rem; padding: .8rem 0; }
  .dn-consult__feature + .dn-consult__feature { border-top: 1px solid #dce3e9; }
  .dn-consult__feature + .dn-consult__feature::before { display: none; }
  .dn-consult__icon { grid-row: 1 / 3; margin: 0; }
  .dn-consult__feature-text { margin-top: .2rem; }
  .dn-consult__doodle { display: none; }
  .dn-consult__time { top: .75rem; left: .75rem; }
  .dn-consult__manager { right: .75rem; bottom: .75rem; }
  @layer service-type {
    html body main section.dn-consult h2.dn-consult__title { font-size: clamp(2rem, 8vw, 2.5rem) !important; }
  }
}

@media (max-width: 25rem) {
  .dn-consult__button { width: 100%; }
  .dn-consult__manager { gap: .5rem; padding: .5rem; }
  .dn-consult__avatar { flex-basis: 2.25rem; width: 2.25rem; height: 2.25rem; }
  .dn-consult__manager-role { display: none; }
}

/* Consultation dialog shared by the service CTAs. */
body.dn-consult-open { overflow-y: hidden !important; }
.dn-consult-modal[hidden] { display: none !important; }
.dn-consult-modal {
  position: fixed;
  inset: 0;
  z-index: 10020;
  display: grid;
  place-items: center;
  overflow-y: auto;
  padding: 1rem;
  background: rgb(7 15 12 / .68);
}
.dn-consult-modal__panel {
  position: relative;
  width: min(100%, 32rem);
  margin: auto;
  padding: clamp(1.5rem, 4vw, 2.25rem);
  border-radius: 1.375rem;
  background: #fff;
  color: #0c1015;
  box-shadow: 0 2rem 5rem rgb(0 0 0 / .25);
}
.dn-consult-modal__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid #dce3e9;
  border-radius: 50%;
  background: #fff;
  color: #17242d;
  cursor: pointer;
}
.dn-consult-modal__title { max-width: calc(100% - 3rem); margin: 0; font: 800 1.625rem/1.2 Manrope, sans-serif; }
.dn-consult-modal__intro { margin: .65rem 0 1.5rem; color: #53606c; font-size: .9rem; line-height: 1.55; }
.dn-consult-modal__form { display: grid; gap: .9rem; }
.dn-consult-modal__field { display: grid; gap: .4rem; color: #17242d; font-size: .8125rem; font-weight: 750; }
.dn-consult-modal__field input,
.dn-consult-modal__field textarea {
  width: 100%;
  min-height: 3rem;
  padding: .75rem .875rem;
  border: 1px solid #cfd8df;
  border-radius: .75rem;
  background: #fff;
  color: #0c1015;
  font: 400 1rem/1.45 Manrope, sans-serif;
  resize: vertical;
}
.dn-consult-modal__field textarea { min-height: 5.5rem; }
.dn-consult-modal__field input::placeholder,
.dn-consult-modal__field textarea::placeholder { color: #74808b; }
.dn-consult-modal__agree { display: flex; align-items: flex-start; gap: .6rem; color: #53606c; font-size: .75rem; line-height: 1.45; }
.dn-consult-modal__agree input { width: 1rem; height: 1rem; margin-top: .1rem; accent-color: #16883c; }
.dn-consult-modal__agree a { color: #1e7a16; text-decoration: underline; }
.dn-consult-modal__submit { min-height: 3.25rem; border: 0; border-radius: 999px; background: #1e7a16; color: #fff; font: 750 .9375rem Manrope, sans-serif; cursor: pointer; }
.dn-consult-modal__submit:hover { background: #155d12; }
.dn-consult-modal__status { min-height: 1.3em; margin: 0; color: #475569; font-size: .8125rem; line-height: 1.5; }

@media (prefers-reduced-motion: reduce) {
  .dn-consult__button,
  .dn-consult__manager { transition: none; }
}
