/* Networx quote pages — scoped to body.quote-page (get-quote / book-hvac-service) */

.quote-page .article-main {
  padding: 2.75rem 0 4rem;
  max-width: 760px;
}

.quote-page article > h1 {
  font-family: var(--display);
  font-size: clamp(1.85rem, 4vw, 2.65rem);
  line-height: 1.15;
  text-align: center;
  margin: 0 0 0.35rem;
  letter-spacing: -0.01em;
}

.quote-page .article-body {
  font-size: 1.05rem;
  color: var(--text);
}

/* CMS duplicate title — template h1 is canonical */
.quote-page .article-body > h1.wp-block-heading:first-child,
.quote-page .article-body > .wp-block-heading.has-text-align-center:first-child {
  display: none;
}

.quote-page .article-body > div:not(#networx_form_container) {
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.quote-page .article-body > div:not(#networx_form_container) p {
  margin: 0.85rem 0;
  color: var(--muted);
}

.quote-page .article-body > div:not(#networx_form_container) p:first-of-type {
  font-size: 1.08rem;
  color: var(--text);
}

.quote-page .article-body h2 {
  font-family: var(--display);
  font-size: clamp(1.25rem, 3vw, 1.6rem);
  line-height: 1.25;
  margin: 2rem 0 0.75rem;
  color: var(--text);
}

.quote-page .article-body ul {
  list-style: none;
  padding: 0;
  margin: 1.25rem auto 0;
  display: grid;
  gap: 0.55rem;
  max-width: 420px;
  text-align: left;
}

.quote-page .article-body ul li {
  position: relative;
  padding: 0.55rem 0 0.55rem 1.65rem;
  border-bottom: 1px solid var(--line);
  color: var(--text);
}

.quote-page .article-body ul li:last-child {
  border-bottom: 0;
}

.quote-page .article-body ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px rgba(45, 106, 159, 0.15);
  transform: translateY(-50%);
}

.quote-page .article-body small,
.quote-page .article-body p small {
  display: block;
  margin-top: 1.25rem;
  padding: 0.85rem 1rem;
  background: rgba(45, 106, 159, 0.06);
  border-left: 3px solid var(--accent);
  border-radius: 0 10px 10px 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.55;
  text-align: left;
}

.quote-page #networx_form_container {
  width: min(100%, 400px);
  max-width: 400px;
  margin: 1.75rem auto 2.5rem !important;
  padding: 0 !important;
  display: flex !important;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: visible;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.quote-page #networx_form_container::before,
.quote-page #networx_form_container::after {
  content: none;
}

.quote-page #networx_form_container iframe,
.quote-page #networx_form_container #nx_form {
  width: min(100%, 400px) !important;
  max-width: 400px;
  margin: 0 auto;
  display: block;
  height: 590px !important;
  min-height: 590px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  transform: none;
}

.quote-page .article-body a:not(.btn) {
  color: var(--accent);
  font-weight: 600;
}

@media (max-width: 720px) {
  .quote-page .article-main {
    padding: 2rem 0 3rem;
  }
}
