/* ==========================================================================
   Landing pages: service + location patterns (loads after site.css).
   Mobile-first; desktop layout in @media (min-width: 901px).
   ========================================================================== */

/* ---------- Hero (black) + lead form ---------- */
.pd-lhero { color: #fff; padding-block: 20px 40px; background-image: radial-gradient(circle at 85% 20%, rgba(165,252,79,0.12), rgba(7,9,10,0) 55%), linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px); background-size: auto, 32px 32px, 32px 32px; }
.pd-lhero-grid { gap: 28px; }
.pd-lhero-title { margin: 6px 0 0; color: #fff; font-size: clamp(2rem, 6vw, 3.4rem); line-height: 1.05; }
.pd-lhero .pd-hero-lead { color: #d9ddd4; text-shadow: none; }
.pd-crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 14px; padding: 0; list-style: none; font-family: var(--pd-label); font-weight: 700; font-size: 0.9rem; letter-spacing: 0.06em; text-transform: uppercase; color: #9aa094; }
.pd-crumbs li + li::before { content: "/"; margin-right: 6px; color: #5d625a; }
.pd-crumbs a { color: var(--pd-lime); text-decoration: none; }
.pd-trust { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 18px; font-family: var(--pd-label); font-weight: 700; font-size: 0.95rem; letter-spacing: 0.04em; text-transform: uppercase; color: #c9cfc2; }
.pd-trust span:first-child { color: #fbbc04; }

.pd-form-card { scroll-margin-top: 90px; padding: 22px 20px; border-radius: 14px; background: #fff; color: var(--pd-ink); box-shadow: 8px 8px 0 var(--pd-lime); }
.pd-form-title { margin: 0; font-size: 1.6rem; color: var(--pd-ink); }
.pd-form-sub { margin: 6px 0 14px; color: var(--pd-muted); }
.pd-form { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.pd-form p { margin: 0; }
.pd-field { grid-column: 1 / -1; display: flex; flex-direction: column; gap: 4px; }
.pd-field--half { grid-column: auto; }
.pd-field label { font-family: var(--pd-label); font-weight: 700; font-size: 0.9rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--pd-muted); }
.pd-field input, .pd-field select, .pd-field textarea { width: 100%; box-sizing: border-box; min-height: 48px; padding: 10px 12px; border: 2px solid #c9cfc2; border-radius: 8px; background: #fff; color: var(--pd-ink); font: inherit; font-size: 16px; }
.pd-field textarea { min-height: 84px; resize: vertical; }
.pd-field input:focus, .pd-field select:focus, .pd-field textarea:focus { outline: none; border-color: var(--pd-night); box-shadow: 0 0 0 3px var(--pd-lime); }
.pd-form-submit { width: 100%; min-height: 54px; border: 0; border-radius: 999px; background: var(--pd-red); color: #fff; font-family: var(--pd-label); font-weight: 700; font-size: 1.3rem; text-transform: uppercase; letter-spacing: 0.03em; cursor: pointer; }
.pd-form-submit:hover { background: #a92818; }
.pd-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.pd-form-note { grid-column: 1 / -1; font-size: 0.9rem; color: var(--pd-muted); }
.pd-form-note a { color: var(--pd-red-text); font-weight: 700; }
.pd-note-sent, .pd-note-error { display: none; font-weight: 700; }
.pd-form-note.is-sent .pd-note-sent { display: block; padding: 10px 12px; border-radius: 8px; background: var(--pd-lime); color: var(--pd-night); }
.pd-form-note.is-error .pd-note-error { display: block; padding: 10px 12px; border-radius: 8px; background: #fde7e4; color: var(--pd-red-text); }
.pd-form-note.is-sent .pd-note-help { display: none; }

@media (min-width: 901px) {
	.pd-lhero { padding-block: 32px 72px; }
	.pd-lhero-grid { gap: 56px; align-items: center !important; }
	.pd-lhero-title { font-size: clamp(2.4rem, 3.6vw, 3.1rem); }
	.pd-lhero-grid > .wp-block-column:first-child { flex: 0 0 56% !important; }
	.pd-lhero-grid > .wp-block-column:last-child { flex: 1 1 auto !important; }
	.pd-form-card { padding: 28px; transform: rotate(0.6deg); }
}

/* ---------- Quick answer (AEO) ---------- */
.pd-answer-band { color: var(--pd-night); padding-block: 36px; }
.pd-answer-grid { gap: 20px; }
.pd-answer-q { margin: 0; font-size: clamp(1.4rem, 3.2vw, 2rem); color: var(--pd-night); }
.pd-answer { margin: 10px 0 0; font-size: 1.15rem; line-height: 1.6; font-weight: 500; }
.pd-facts { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pd-facts div { padding: 12px 14px; border: 3px solid var(--pd-night); border-radius: 10px; background: rgba(255,255,255,0.55); }
.pd-facts dt { font-family: var(--pd-label); font-weight: 700; font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--pd-green-text); }
.pd-facts dd { margin: 2px 0 0; font-weight: 700; line-height: 1.35; }
.pd-facts a { color: var(--pd-night); }
@media (min-width: 901px) {
	.pd-answer-band { padding-block: 48px; }
	.pd-answer-grid { gap: 56px; align-items: center !important; }
	.pd-answer-grid > .wp-block-column:first-child { flex: 0 0 52% !important; }
	.pd-answer-grid > .wp-block-column:last-child { flex: 1 1 auto !important; }
}

/* ---------- Services (reuses .pd-rx-card from site.css) ---------- */
.pd-lservices { padding-block: var(--pd-section); }
.pd-lservices h2 { margin: 0; }
.pd-lservices .pd-lead { max-width: 760px; color: var(--pd-muted); }

/* ---------- Emergency band (red) ---------- */
.pd-emerg { color: #fff; padding-block: 48px; }
.pd-emerg h2 { margin: 0; color: #fff; }
.pd-emerg .pd-lead { color: #fff; }
.pd-emerg-grid { gap: 24px; }
.pd-btn-white .wp-block-button__link { background: #fff; color: var(--pd-red-text); font-weight: 700; }
.pd-checks--white li::before { color: #fff; }
.pd-checks--white { font-size: 1.1rem; }
.pd-price-line--white { color: #fff; border-top-color: rgba(255,255,255,0.4); }
@media (min-width: 901px) {
	.pd-emerg { padding-block: 64px; }
	.pd-emerg-grid { gap: 72px; align-items: center !important; }
}

/* ---------- Why us + treatment steps ---------- */
.pd-whyus { padding-block: var(--pd-section); }
.pd-whyus h2 { margin: 0; }
.pd-whyus-grid { gap: 40px; }
.pd-whyus .pd-lead { color: var(--pd-muted); }
.pd-award-inline { display: flex; align-items: center; gap: 16px; margin: 24px 0 0; }
.pd-award-inline img { width: 120px; height: auto; flex: none; }
.pd-award-inline figcaption { font-family: var(--pd-label); font-weight: 700; font-size: 1.1rem; letter-spacing: 0.03em; text-transform: uppercase; line-height: 1.3; color: var(--pd-muted); }
.pd-award-inline strong { color: var(--pd-ink); font-size: 1.3rem; }
.pd-steps-title { margin: 6px 0 0; font-size: 1.8rem; }
.pd-steps { margin: 18px 0 0; padding: 0; list-style: none; counter-reset: pdstep; display: flex; flex-direction: column; gap: 12px; }
.pd-steps li { counter-increment: pdstep; position: relative; padding: 16px 18px 16px 70px; border: 1px solid var(--pd-line); border-radius: 10px; background: var(--pd-mist); line-height: 1.5; }
.pd-steps li::before { content: counter(pdstep); position: absolute; left: 16px; top: 14px; width: 40px; height: 40px; border-radius: 50%; background: var(--pd-night); color: var(--pd-lime); display: flex; align-items: center; justify-content: center; font-family: var(--pd-label); font-weight: 700; font-size: 1.3rem; }
.pd-steps strong { font-family: var(--pd-label); font-size: 1.2rem; text-transform: uppercase; letter-spacing: 0.03em; }
.pd-quote { margin: 24px 0 0; padding: 22px 24px; border-radius: 10px; background: var(--pd-night); color: #fff; box-shadow: 8px 8px 0 var(--pd-lime); }
.pd-quote-stars { margin: 0; color: #fbbc04; letter-spacing: 3px; font-size: 1.2rem; }
.pd-quote blockquote { margin: 8px 0 0; padding: 0; border: 0; }
.pd-quote blockquote p { margin: 0; font-family: var(--pd-heading); font-weight: 800; font-size: 1.15rem; line-height: 1.5; }
.pd-quote figcaption { margin-top: 10px; font-family: var(--pd-label); font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: #b8bdb2; }
@media (min-width: 901px) { .pd-whyus-grid { gap: 72px; } }

/* ---------- Local area ---------- */
.pd-local { padding-block: var(--pd-section); }
.pd-local h2 { margin: 0 0 8px; }
.pd-local-grid { gap: 28px; }
.pd-local-photo img { height: 240px; border: 6px solid var(--pd-night); box-shadow: 10px 10px 0 var(--pd-lime); box-sizing: border-box; }
@media (min-width: 901px) {
	.pd-local-grid { gap: 64px; align-items: center !important; }
	.pd-local-grid > .wp-block-column:first-child { flex: 0 0 40% !important; }
	.pd-local-grid > .wp-block-column:last-child { flex: 1 1 auto !important; }
	.pd-local-photo img { height: 340px; transform: rotate(-1.5deg); }
}

/* ---------- FAQs (core Details blocks → FAQ schema via Doctor SEO) ---------- */
.pd-faq { padding-block: var(--pd-section); }
.pd-faq .pd-wrap { max-width: 880px; }
.pd-faq h2 { margin: 0 0 20px; }
.pd-faq-item { margin: 0; border-top: 1px solid var(--pd-line); }
.pd-faq-item:last-child { border-bottom: 1px solid var(--pd-line); }
.pd-faq-item summary { position: relative; padding: 18px 44px 18px 0; cursor: pointer; list-style: none; font-family: var(--pd-heading); font-weight: 800; font-size: 1.1rem; line-height: 1.4; }
.pd-faq-item summary::-webkit-details-marker { display: none; }
.pd-faq-item summary::after { content: "+"; position: absolute; right: 4px; top: 12px; width: 32px; height: 32px; border-radius: 50%; background: var(--pd-lime); color: var(--pd-night); display: flex; align-items: center; justify-content: center; font-family: var(--pd-label); font-weight: 700; font-size: 1.4rem; }
.pd-faq-item[open] summary::after { content: "–"; }
.pd-faq-item p { margin: 0 0 18px; color: var(--pd-muted); line-height: 1.65; }
.pd-faq-item a { color: var(--pd-green-text); font-weight: 700; }

/* ---------- Closing band extras ---------- */
.pd-closing .wp-block-buttons { justify-content: center; }
.pd-closing-links { margin-top: 20px; font-size: 0.95rem; }
.pd-closing-links a { color: var(--pd-lime); font-weight: 700; }

/* ---------- Site-wide fixes ---------- */
/* No white strip between the last section and the footer. */
.wp-site-blocks > .pd-site-footer, .wp-site-blocks > footer { margin-block-start: 0; }
.pd-main + .pd-site-footer { margin-top: 0; }
/* Top-level menu items that open a submenu ("Services", "Areas") were inheriting dark text. */
.pd-nav .wp-block-navigation-item, .pd-nav .wp-block-navigation-item__label, .pd-nav .wp-block-navigation-submenu__toggle { color: var(--pd-lime); }
.pd-nav .wp-block-navigation__submenu-icon svg { stroke: currentColor; }

/* ---------- Service pages ---------- */
.pd-signs { padding-block: var(--pd-section); }
.pd-signs h2 { margin: 6px 0 0; }
.pd-signs .pd-lead { color: var(--pd-muted); }
.pd-signs-grid { gap: 28px; }
.pd-checks--signs li::before { content: "! "; color: var(--pd-red-text); font-weight: 800; }
.pd-checks--one { grid-template-columns: 1fr; }
.pd-signs-dx img { border: 6px solid var(--pd-night); border-radius: 14px; box-shadow: 10px 10px 0 var(--pd-red); }
.pd-choice { padding-block: var(--pd-section); }
.pd-choice h2 { margin: 6px 0 0; }
.pd-choice .pd-lead { max-width: 820px; color: var(--pd-muted); }
.pd-choice-grid { gap: 16px; margin-top: 20px; }
.pd-choice-grid > .wp-block-column { padding: 22px 24px; border-radius: 12px; background: #fff; border: 1px solid var(--pd-line); }
.pd-choice-h { margin: 0 0 12px; font-family: var(--pd-label); font-size: 1.5rem; text-transform: uppercase; }
.pd-choice-h--repair { color: var(--pd-green-text); }
.pd-choice-h--replace { color: var(--pd-red-text); }
.pd-choice-grid .pd-checks { grid-template-columns: 1fr; }
.pd-choice-links { margin-top: 18px; font-weight: 700; }
.pd-choice-links a { color: var(--pd-green-text); }
.pd-extra-h { margin: 0 0 8px; }
.pd-whyus .pd-price-line { margin-top: 18px; }
.pd-near { padding-block: 56px; }
.pd-near h2 { margin: 0 0 6px; }
.pd-pills { display: flex; flex-wrap: wrap; gap: 10px; margin: 16px 0 0; padding: 0; list-style: none; }
.pd-pills a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 999px; background: var(--pd-night); color: var(--pd-lime); font-family: var(--pd-label); font-weight: 700; font-size: 1.1rem; text-transform: uppercase; text-decoration: none; }
.pd-pills a:hover { background: var(--pd-lime); color: var(--pd-night); }
@media (max-width: 900px) { .pd-signs-dx { display: none; } }
@media (min-width: 901px) {
	.pd-signs-grid { gap: 72px; align-items: center !important; }
	.pd-choice-grid { gap: 24px; }
}
@media (max-width: 900px) { .pd-checks--signs, .pd-checks--white { grid-template-columns: 1fr; } }
.pd-pills span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 999px; border: 2px solid var(--pd-night); font-family: var(--pd-label); font-weight: 700; font-size: 1.1rem; text-transform: uppercase; }
.pd-signs-photo img { aspect-ratio: 4 / 3; object-fit: cover; box-shadow: 10px 10px 0 var(--pd-lime); }
