/* Loaded last in <head> — contrast + touch targets (beats deferred theme/main.css) */
body.theme-cinematic:not(.theme-redesign-v2) main.theme-editorial section .eyebrow,
body.theme-cinematic:not(.theme-redesign-v2) .section-soft .eyebrow,
body.theme-cinematic:not(.theme-redesign-v2) .content-card .eyebrow,
body:not(.theme-redesign-v2).theme-cinematic main.theme-editorial section .eyebrow {
  color: #7f1d1d !important;
  background: rgba(127, 29, 29, 0.12) !important;
  border-color: rgba(127, 29, 29, 0.24) !important;
}

body.theme-cinematic:not(.theme-redesign-v2) main.theme-editorial section .eyebrow::before,
body.theme-cinematic:not(.theme-redesign-v2) .section-soft .eyebrow::before,
body.theme-cinematic:not(.theme-redesign-v2) .content-card .eyebrow::before {
  background: #7f1d1d !important;
}

body.theme-cinematic main.theme-editorial section .section-subtitle,
body.theme-cinematic .section-soft .section-subtitle,
body.theme-cinematic .content-card .section-subtitle {
  color: #1f2937 !important;
}

body.theme-cinematic main.theme-editorial .guarantee-strip p,
body.theme-cinematic .guarantee-strip p {
  color: #1f2937 !important;
}

body.theme-cinematic:not(.theme-redesign-v2) .footer .footer-muted,
body.theme-cinematic:not(.theme-redesign-v2) .footer .footer-mini-title {
  color: #374151 !important;
}

body.theme-cinematic:not(.theme-redesign-v2) .footer a:not(.btn):not(.navbar-brand) {
  color: #7f1d1d !important;
  text-decoration: underline !important;
  text-underline-offset: 0.12em;
}

/* Redesign v2 — warm light footer (inline a11y loads last) */
body.theme-redesign-v2 .footer .footer-muted,
body.theme-redesign-v2 .footer .footer-mini-title {
  color: #6b7280 !important;
}

body.theme-redesign-v2 .footer a:not(.btn):not(.navbar-brand) {
  color: #4b5563 !important;
  text-decoration: none !important;
}

body.theme-redesign-v2 .footer a:not(.btn):not(.navbar-brand):hover {
  color: #d92b2b !important;
}

body.theme-redesign-v2 .footer .guarantee-strip p {
  color: #444444 !important;
}

body.theme-cinematic .accordion-button:not(.collapsed) {
  color: #7f1d1d !important;
  background: #fff !important;
}

body.theme-cinematic .accordion-button {
  color: #111827 !important;
  background: #fff !important;
  min-height: 3rem;
  padding-top: 0.85rem;
  padding-bottom: 0.85rem;
}

body.theme-cinematic .accordion-body {
  color: #1f2937 !important;
}

body.theme-cinematic main.theme-editorial p a:not(.btn):not(.nav-link):not(.service-card):not(.dropdown-item):not(.navbar-brand),
body.theme-cinematic .section-soft p a:not(.btn),
body.theme-cinematic main.theme-editorial .guarantee-strip a,
body.theme-cinematic main.theme-editorial .price-note a,
body.theme-cinematic main.theme-editorial .accordion-body a:not(.btn),
body.theme-cinematic .section-soft .services-quick-links a,
body.theme-cinematic .section-soft .text-center.mt-4 a {
  color: #7f1d1d !important;
  text-decoration: underline !important;
  text-underline-offset: 0.12em;
  font-weight: 600;
}

body.theme-cinematic .section-soft .services-quick-links,
body.theme-cinematic .section-soft .text-center.mt-4 {
  color: #374151 !important;
}

body.theme-cinematic main.theme-editorial a.related-card,
body.theme-cinematic .hub-nav-section a.related-card {
  display: block;
  min-height: 3rem;
  padding: 1.25rem 1.35rem !important;
  color: #374151 !important;
  text-decoration: none !important;
  border-radius: 1.25rem;
}

body.theme-cinematic main.theme-editorial a.related-card:focus-visible,
body.theme-cinematic .hub-nav-section a.related-card:focus-visible {
  outline: 3px solid #7f1d1d;
  outline-offset: 2px;
}

body.theme-cinematic main.theme-editorial a.related-card .related-card__title,
body.theme-cinematic main.theme-editorial a.related-card .h5,
body.theme-cinematic .hub-nav-section a.related-card .related-card__title,
body.theme-cinematic .hub-nav-section a.related-card .h5 {
  color: #111827 !important;
  font-weight: 700 !important;
}

body.theme-cinematic main.theme-editorial a.related-card .related-card__desc,
body.theme-cinematic .hub-nav-section a.related-card .related-card__desc {
  color: #374151 !important;
}

body.theme-cinematic main.theme-editorial article.related-card {
  display: block;
  min-height: 3rem;
  padding: 1.25rem 1.35rem;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 1.25rem;
}

body.theme-cinematic main.theme-editorial article.related-card h3 a {
  color: #7f1d1d !important;
  text-decoration: underline !important;
  text-underline-offset: 0.12em;
  font-weight: 700;
}

body.theme-cinematic main.theme-editorial article.related-card p a {
  color: #7f1d1d !important;
  text-decoration: underline !important;
  text-underline-offset: 0.12em;
  font-weight: 600;
}

body.theme-cinematic .hub-nav-section .row.g-4 {
  --bs-gutter-y: 1.25rem;
  --bs-gutter-x: 1.25rem;
}

body.theme-cinematic .social-share-buttons .btn {
  min-height: 2.75rem;
  min-width: 8.5rem;
  font-weight: 600;
}

/* Hero USP strip — readable on photo background (home + hub pages) */
body.theme-cinematic #home-hero .hero-ads-usp,
body.theme-cinematic.page-hub-photo .hero-cinematic--page .hero-ads-usp {
  display: block;
  max-width: 40rem;
  margin: 0 0 1rem !important;
  padding: 0.7rem 1rem !important;
  font-size: 1rem !important;
  font-weight: 700 !important;
  line-height: 1.5 !important;
  color: #fff !important;
  background: rgba(17, 24, 39, 0.82) !important;
  border: 1px solid rgba(255, 255, 255, 0.28) !important;
  border-radius: 12px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.45);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.22);
  letter-spacing: 0.01em;
}

@media (min-width: 768px) {
  body.theme-cinematic #home-hero .hero-ads-usp,
  body.theme-cinematic.page-hub-photo .hero-cinematic--page .hero-ads-usp {
    font-size: 1.05rem !important;
    padding: 0.8rem 1.15rem !important;
  }
}

/* Lead form drawer — light panel, high-contrast text */
.pr-lead-drawer__panel {
  background: #fffdf9 !important;
  border: 1px solid #d1d5db !important;
  box-shadow: 0 28px 72px rgba(15, 23, 42, 0.28) !important;
  color: #111827 !important;
}

.pr-lead-drawer__head {
  background: #ffffff !important;
  border-bottom: 1px solid #e5e7eb !important;
}

.pr-lead-drawer__title {
  color: #111827 !important;
}

.pr-lead-drawer__subtitle {
  color: #374151 !important;
}

.pr-lead-drawer__close {
  background: #f3f4f6 !important;
}

.pr-lead-drawer__close span {
  background: #374151 !important;
}

.pr-lead-drawer .lead-form-v6__lead {
  color: #374151 !important;
}

.pr-lead-drawer .lead-form-v6__label {
  color: #111827 !important;
}

.pr-lead-drawer .lead-form-v6__trust li {
  color: #374151 !important;
}

.pr-lead-drawer .lead-form-v6 textarea,
.pr-lead-drawer .lead-form-v6 input[name="phone"] {
  color: #111827 !important;
  -webkit-text-fill-color: #111827 !important;
  caret-color: #111827 !important;
  background: #ffffff !important;
  border-color: #9ca3af !important;
}

.pr-lead-drawer .lead-form-v6 textarea::placeholder,
.pr-lead-drawer .lead-form-v6 input[name="phone"]::placeholder {
  color: #4b5563 !important;
  opacity: 1 !important;
}

.pr-lead-drawer .lead-form-v6__messenger,
.pr-lead-drawer .lead-form-v6__messenger:hover {
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
}

.pr-lead-drawer .lead-form-v6__messenger span,
.pr-lead-drawer .lead-form-v6__messenger i {
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
}

.pr-lead-drawer .lead-form-v6__messenger--tg {
  background: #229ed9 !important;
  border-color: #1b8bc4 !important;
}

.pr-lead-drawer .lead-form-v6__messenger--vb {
  background: #7360f2 !important;
  border-color: #5b4bd6 !important;
}

.pr-lead-drawer .lead-form-v6__messenger--wa {
  background: #1faa59 !important;
  border-color: #188a48 !important;
}

/* Inline contact form on light sections */
.contacts-inline-form .lead-form-v6__label,
.content-card .lead-form-v6__label {
  color: #111827 !important;
}

.contacts-inline-form .lead-form-v6__lead,
.content-card .lead-form-v6__lead {
  color: #374151 !important;
}

.contacts-inline-form .lead-form-v6__trust li,
.content-card .lead-form-v6__trust li {
  color: #374151 !important;
}

.contacts-inline-form .lead-form-v6 textarea,
.contacts-inline-form .lead-form-v6 input[name="phone"],
.content-card .lead-form-v6 textarea,
.content-card .lead-form-v6 input[name="phone"] {
  color: #111827 !important;
  background: #ffffff !important;
  border-color: #9ca3af !important;
}

.contacts-inline-form .lead-form-v6 textarea::placeholder,
.contacts-inline-form .lead-form-v6 input[name="phone"]::placeholder,
.content-card .lead-form-v6 textarea::placeholder,
.content-card .lead-form-v6 input[name="phone"]::placeholder {
  color: #4b5563 !important;
  opacity: 1 !important;
}

/* Form submit feedback — visible success/error */
.lead-form-v6 .form-status.alert-success {
  display: block !important;
  color: #065f46 !important;
  background: #ecfdf5 !important;
  border: 1px solid #6ee7b7 !important;
  box-shadow: none !important;
  padding: 0.85rem 1rem !important;
  font-size: 0.92rem !important;
  line-height: 1.5 !important;
}

.lead-form-v6 .form-status.alert-danger {
  display: block !important;
  color: #991b1b !important;
  background: #fef2f2 !important;
  border: 1px solid #fca5a5 !important;
  box-shadow: none !important;
  padding: 0.85rem 1rem !important;
  font-size: 0.92rem !important;
  line-height: 1.5 !important;
}

.lead-form-v6 .form-status a {
  color: inherit !important;
  font-weight: 700 !important;
  text-decoration: underline !important;
}

/* Lighthouse a11y: eyebrow / step numerals / in-text links */
body.theme-redesign-v2 .eyebrow,
body.theme-redesign-v2 .prk-section-label,
body.theme-redesign-v2.page-figma-home .eyebrow,
body.theme-redesign-v2 main.theme-editorial .eyebrow {
  color: #6b1212 !important;
  background: #f0e4e2 !important;
}

body.theme-redesign-v2 .prk-steps__num {
  color: #6f6b64 !important;
}

body.theme-redesign-v2.page-figma-inner .prk-steps__num {
  color: #6b1212 !important;
  background: #f0e4e2 !important;
}

body.theme-redesign-v2 main.theme-editorial p a:not(.btn):not(.dropdown-item):not(.nav-link):not(.navbar-brand):not(.prk-service-card__cta):not(.service-link),
body.theme-redesign-v2 main.theme-editorial li a:not(.btn):not(.dropdown-item):not(.nav-link):not(.navbar-brand):not(.related-card):not(.prk-service-card__cta):not(.service-link),
body.theme-redesign-v2 main.theme-editorial .section-subtitle a:not(.btn):not(.dropdown-item):not(.nav-link):not(.navbar-brand):not(.prk-service-card__cta):not(.service-link),
body.theme-redesign-v2 main.theme-editorial .accordion-body a:not(.btn):not(.dropdown-item):not(.nav-link):not(.navbar-brand):not(.prk-service-card__cta):not(.service-link),
body.theme-redesign-v2.page-figma-home main.theme-editorial p a:not(.btn):not(.dropdown-item):not(.nav-link):not(.navbar-brand):not(.prk-service-card__cta):not(.service-link),
body.theme-redesign-v2.page-figma-home main.theme-editorial .section-subtitle a:not(.btn):not(.dropdown-item):not(.nav-link):not(.navbar-brand):not(.prk-service-card__cta):not(.service-link),
body.theme-redesign-v2.page-figma-home main.theme-editorial .accordion-body a:not(.btn):not(.dropdown-item):not(.nav-link):not(.navbar-brand):not(.prk-service-card__cta):not(.service-link) {
  color: #8b1515 !important;
  text-decoration: underline !important;
  text-decoration-thickness: 1px !important;
  text-underline-offset: 0.15em !important;
}

body.theme-redesign-v2.page-figma-inner .prk-inner-breadcrumbs li,
body.theme-redesign-v2.page-figma-inner .prk-inner-breadcrumbs a {
  color: #555 !important;
}
body.theme-redesign-v2.page-figma-inner .prk-inner-breadcrumbs li[aria-current="page"] {
  color: #111 !important;
}
body.theme-redesign-v2.page-figma-inner .prk-inner-breadcrumbs li + li::before {
  color: #6b6b6b !important;
}
body.theme-redesign-v2 .prk-hero-badge {
  color: #1a1a1a !important;
}
