/*
WORDPRESS_BRIDGE_v1
Purpose: thin compatibility layer between frozen Brand System assets and WordPress.
Version: 1.0.0-dev.6.5.27
*/

/* 01 SCOPE / WORDPRESS BASE */
body.pc-brand-system-v1 {
  min-width: 0;
  font-family: "Manrope", sans-serif, Arial, sans-serif;
}

body.pc-brand-system-v1 .pc-bs-v1-root,
body.pc-brand-system-v1 .elementor,
body.pc-brand-system-v1 .site-content,
body.pc-brand-system-v1 .entry-content {
  min-width: 0;
}

body.pc-brand-system-v1 .screen-reader-text {
  overflow-wrap: normal;
}

body.pc-brand-system-v1 .global-shell-header,
body.pc-brand-system-v1 .shell-mega-menu,
body.pc-brand-system-v1 .shell-mobile-drawer,
body.pc-brand-system-v1 .shell-utility-bar,
body.pc-brand-system-v1 .shell-footer,
body.pc-brand-system-v1 .calculator-main,
body.pc-brand-system-v1 .form-system {
  font-family: "Manrope", sans-serif, Arial, sans-serif;
}

/* 02 ELEMENTOR WRAPPERS */
body.pc-brand-system-v1 .elementor-widget-html,
body.pc-brand-system-v1 .elementor-widget-container,
body.pc-brand-system-v1 .elementor-section,
body.pc-brand-system-v1 .elementor-container,
body.pc-brand-system-v1 .elementor-column,
body.pc-brand-system-v1 .elementor-widget-wrap {
  min-width: 0;
}

body.pc-brand-system-v1.ast-page-builder-template .site-content > .ast-container {
  max-width: 100%;
  padding-right: 0;
  padding-left: 0;
}

/* 03 ADMIN BAR */
body.admin-bar.pc-brand-system-v1 .global-shell-header {
  top: 32px;
}

body.admin-bar.pc-brand-system-v1 .shell-mega-menu {
  max-height: calc(100vh - 112px);
}

body.admin-bar.pc-brand-system-v1 .shell-mobile-drawer,
body.admin-bar.pc-brand-system-v1 .shell-drawer-backdrop {
  top: 32px;
  height: calc(100dvh - 32px);
}

@media (max-width: 782px) {
  body.admin-bar.pc-brand-system-v1 .global-shell-header {
    top: 46px;
  }

  body.admin-bar.pc-brand-system-v1 .shell-mobile-drawer,
  body.admin-bar.pc-brand-system-v1 .shell-drawer-backdrop {
    top: 46px;
    height: calc(100dvh - 46px);
  }
}

/* 04 GLOBAL SHELL PLACEMENT */
body.pc-brand-system-v1 .global-shell-header,
body.pc-brand-system-v1 .shell-mega-menu,
body.pc-brand-system-v1 .shell-mobile-drawer,
body.pc-brand-system-v1 .shell-drawer-backdrop,
body.pc-brand-system-v1 .shell-utility-bar {
  box-sizing: border-box;
}

body.pc-brand-system-v1 .elementor-widget-html .global-shell-header {
  width: 100%;
}

body.pc-brand-system-v1 .elementor-widget-html .shell-footer {
  left: 50%;
  width: 100vw;
  max-width: 100vw;
  margin-right: -50vw;
  margin-left: -50vw;
}

body.pc-brand-system-v1 .elementor-location-footer > .e-con-full.e-con {
  padding-bottom: 0;
}

body.pc-brand-system-v1.shell-drawer-open {
  touch-action: none;
}

/* 05 BRAND LINKS / ASTRA DECORATION CONTAINMENT */
body.pc-brand-system-v1 .global-shell-header a,
body.pc-brand-system-v1 .shell-mega-menu a,
body.pc-brand-system-v1 .shell-mobile-drawer a,
body.pc-brand-system-v1 .shell-utility-bar a,
body.pc-brand-system-v1 .shell-footer a,
body.pc-brand-system-v1 .calculator-button,
body.pc-brand-system-v1 .btn,
body.pc-brand-system-v1 .calculator-header-cta,
body.pc-brand-system-v1 .legal-lead-cta,
body.pc-brand-system-v1 .service-primary-copy > a,
body.pc-brand-system-v1 .service-secondary-item > a,
body.pc-brand-system-v1 .services-row-link,
body.pc-brand-system-v1 .knowledge-lite-card h3 a,
body.pc-brand-system-v1 .tail-text-link,
body.pc-brand-system-v1 .form-submit {
  text-decoration: none;
}

body.pc-brand-system-v1 .global-shell-header a:hover,
body.pc-brand-system-v1 .global-shell-header a:focus-visible,
body.pc-brand-system-v1 .shell-mega-menu a:hover,
body.pc-brand-system-v1 .shell-mega-menu a:focus-visible,
body.pc-brand-system-v1 .shell-mobile-drawer a:hover,
body.pc-brand-system-v1 .shell-mobile-drawer a:focus-visible,
body.pc-brand-system-v1 .shell-footer a:hover,
body.pc-brand-system-v1 .shell-footer a:focus-visible,
body.pc-brand-system-v1 .calculator-button:hover,
body.pc-brand-system-v1 .calculator-button:focus-visible,
body.pc-brand-system-v1 .btn:hover,
body.pc-brand-system-v1 .btn:focus-visible,
body.pc-brand-system-v1 .service-primary-copy > a:hover,
body.pc-brand-system-v1 .service-primary-copy > a:focus-visible,
body.pc-brand-system-v1 .service-secondary-item > a:hover,
body.pc-brand-system-v1 .service-secondary-item > a:focus-visible,
body.pc-brand-system-v1 .services-row-link:hover,
body.pc-brand-system-v1 .services-row-link:focus-visible,
body.pc-brand-system-v1 .knowledge-lite-card h3 a:hover,
body.pc-brand-system-v1 .knowledge-lite-card h3 a:focus-visible,
body.pc-brand-system-v1 .tail-text-link:hover,
body.pc-brand-system-v1 .tail-text-link:focus-visible {
  text-decoration: none;
}

/* 06 CF7 WRAPPERS */
body.pc-brand-system-v1 .pc-cf7-form {
  min-width: 0;
}

body.pc-brand-system-v1 .pc-cf7-form .hidden-fields-container {
  display: none;
}

body.pc-brand-system-v1 .pc-cf7-form p {
  margin: 0;
}

body.pc-brand-system-v1 .pc-cf7-form br {
  display: none;
}

body.pc-brand-system-v1 .pc-cf7-form .wpcf7-form-control-wrap {
  display: block;
  min-width: 0;
}

body.pc-brand-system-v1 .pc-cf7-form .wpcf7-form-control {
  max-width: 100%;
}

body.pc-brand-system-v1 .form-system--dark .form-select {
  color-scheme: dark;
}

body.pc-brand-system-v1 .form-system--dark .form-select option {
  color: #f8fbff;
  background-color: #132a3b;
}

body.pc-brand-system-v1 .form-system--dark .form-select option:checked {
  color: #fff;
  background-color: #0c7a8a;
}

body.pc-brand-system-v1 .pc-cf7-form .wpcf7-submit.form-submit,
body.pc-brand-system-v1 .pc-cf7-form input.wpcf7-submit.form-submit {
  white-space: normal;
  appearance: none;
}

body.pc-brand-system-v1 .pc-cf7-form .wpcf7-acceptance .wpcf7-list-item {
  margin: 0;
}

body.pc-brand-system-v1 .pc-cf7-form .wpcf7-acceptance label {
  display: inline-flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
}

/* 07 CF7 VALIDATION / RESPONSE / SPINNER */
body.pc-brand-system-v1 .pc-cf7-form .wpcf7-not-valid-tip {
  display: block;
  margin-top: 8px;
  color: #ffdcdc;
  font-size: 13px;
  font-weight: 720;
  line-height: 1.45;
}

body.pc-brand-system-v1 .pc-cf7-form .wpcf7-not-valid,
body.pc-brand-system-v1 .pc-cf7-form [aria-invalid="true"] {
  border-color: rgba(226, 112, 112, .72);
}

body.pc-brand-system-v1 .pc-cf7-form .wpcf7-response-output {
  margin: 22px 0 0;
  padding: 18px 20px;
  border-radius: 18px;
  font-size: 14px;
  line-height: 1.5;
}

body.pc-brand-system-v1 .pc-cf7-form.sent .wpcf7-response-output,
body.pc-brand-system-v1 .pc-cf7-form[data-status="sent"] .wpcf7-response-output {
  color: #d9fff2;
  background: rgba(12, 122, 138, .15);
  border-color: rgba(22, 212, 223, .26);
}

body.pc-brand-system-v1 .pc-cf7-form.invalid .wpcf7-response-output,
body.pc-brand-system-v1 .pc-cf7-form.failed .wpcf7-response-output,
body.pc-brand-system-v1 .pc-cf7-form.spam .wpcf7-response-output,
body.pc-brand-system-v1 .pc-cf7-form[data-status="invalid"] .wpcf7-response-output,
body.pc-brand-system-v1 .pc-cf7-form[data-status="failed"] .wpcf7-response-output,
body.pc-brand-system-v1 .pc-cf7-form[data-status="spam"] .wpcf7-response-output {
  color: #ffdcdc;
  background: rgba(176, 72, 72, .18);
  border-color: rgba(226, 112, 112, .28);
}

body.pc-brand-system-v1 .pc-cf7-form .wpcf7-spinner {
  margin: 0 0 0 12px;
  vertical-align: middle;
}

body.pc-brand-system-v1 .pc-cf7-form.submitting .form-submit,
body.pc-brand-system-v1 .pc-cf7-form[data-status="submitting"] .form-submit {
  cursor: wait;
  opacity: .72;
}

body.pc-brand-system-v1 .pc-cf7-form .wpcf7-acceptance .wpcf7-not-valid-tip {
  grid-column: 1 / -1;
}

/* 08 TURNSTILE */
body.pc-brand-system-v1 .pc-cf7-form .cf7-cf-turnstile {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  margin: 8px 0 14px;
  overflow: hidden;
}

body.pc-brand-system-v1 .pc-cf7-form .cf-turnstile,
body.pc-brand-system-v1 .pc-cf7-form .cf-turnstile iframe {
  max-width: 100%;
}

body.pc-brand-system-v1 .pc-cf7-form .cf-turnstile-br {
  display: none;
}

/* 08A HOME CF7 CLOSEOUT */
body.pc-brand-system-v1 .pc-cf7-form .wpcf7-acceptance label,
body.pc-brand-system-v1 .pc-cf7-form .wpcf7-acceptance .wpcf7-list-item-label {
  color: #f7fbff;
}

body.pc-brand-system-v1 .pc-cf7-form .form-security-slot {
  min-height: 0;
  margin-top: 2px;
  padding: 0;
  color: inherit;
  background: transparent;
  border: 0;
  border-radius: 0;
}

body.pc-brand-system-v1 .pc-cf7-form .form-security-slot:empty {
  display: none;
}

@media (min-width: 768px) {
  body.pc-brand-system-v1 .pc-cf7-form .form-conversion-trust {
    display: block;
  }

  body.pc-brand-system-v1 .pc-cf7-form .form-conversion-trust p {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin: 0;
  }

  body.pc-brand-system-v1 .pc-cf7-form .form-conversion-trust p span {
    display: grid;
    min-height: 48px;
    min-width: 0;
    align-content: center;
    justify-content: center;
    padding: 0 16px;
    text-align: center;
    background: transparent;
    border: 0;
    border-left: 1px solid rgba(255, 255, 255, .12);
    border-radius: 0;
  }

  body.pc-brand-system-v1 .pc-cf7-form .form-conversion-trust p span:first-child {
    border-left: 0;
  }
}

/* 09 COMPLIANZ TRIGGER COMPATIBILITY */
body.pc-brand-system-v1 .premium-footer-cookie.cmplz-manage-consent,
body.pc-brand-system-v1 .premium-footer-cookie.manage-consent-1 {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0;
  color: rgba(232, 240, 246, .72);
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  font: inherit;
  font-size: 14px;
  font-weight: 650;
  line-height: 1.35;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  appearance: none;
}

body.pc-brand-system-v1 .premium-footer-cookie.cmplz-manage-consent:hover,
body.pc-brand-system-v1 .premium-footer-cookie.cmplz-manage-consent:focus-visible,
body.pc-brand-system-v1 .premium-footer-cookie.manage-consent-1:hover,
body.pc-brand-system-v1 .premium-footer-cookie.manage-consent-1:focus-visible {
  color: var(--reference-gold-text);
  background: transparent;
  border: 0;
  box-shadow: none;
}

/* 10 HOME CTA / ELEMENTOR EDITOR COMPATIBILITY */
/* FORM_SYSTEM_v1's .form-system-page a { color: inherit; } follows frozen
   HOME CSS on the mounted page. Restore only HOME's two frozen hero CTA colors. */
body.pc-brand-system-v1.form-system-page .calculator-main .calculator-button.calculator-button-primary,
body.pc-brand-system-v1.form-system-page .calculator-main .calculator-button.calculator-button-secondary {
  color: #fff;
}

/* Elementor's editor canvas does not share the frontend reveal lifecycle. */
body.pc-brand-system-v1.pc-bs-elementor-editor .calculator-main .reveal {
  opacity: 1;
  transform: none;
  visibility: visible;
  transition: none;
}

/* 11 PAGE ROLLOUT COMPATIBILITY */
body.pc-brand-system-v1 .contact-master-main,
body.pc-brand-system-v1 .about-master-main,
body.pc-brand-system-v1 .service-master-main,
body.pc-brand-system-v1 .calculator-main {
  min-width: 0;
}

body.pc-brand-system-v1 #ast-scroll-top {
  display: none;
}

body.pc-brand-system-v1 .home-form-system-mount {
  max-width: min(100%, 1180px);
  margin: 0 auto;
}

body.pc-brand-system-v1 .premium-contact-section .form-system,
body.pc-brand-system-v1 .mini-contact-section .form-system {
  width: 100%;
}

body.pc-brand-system-v1 .premium-contact-section .form-system-shell {
  border-radius: var(--form-radius, 24px);
}

body.pc-brand-system-v1 .mini-contact-form-wrap .form-system-shell {
  padding: 34px;
}

body.pc-brand-system-v1 .form-system input,
body.pc-brand-system-v1 .form-system select,
body.pc-brand-system-v1 .form-system textarea,
body.pc-brand-system-v1 .form-system button {
  font-family: inherit;
}

@media (max-width: 767px) {
  /* Form-system link inheritance and frozen frosted-glass treatment soften
     the mobile utility bar in WordPress. Keep its structure, sharpen its surface. */
  body.pc-brand-system-v1 .shell-utility-bar {
    background:
      linear-gradient(155deg, rgba(7, 17, 26, .985), rgba(4, 12, 20, .99)) padding-box,
      linear-gradient(100deg, rgba(22, 212, 223, .3), rgba(243, 193, 58, .26)) border-box;
    box-shadow: 0 14px 32px rgba(2, 8, 14, .44);
    backdrop-filter: none;
  }

  body.pc-brand-system-v1 .shell-utility-bar .shell-utility-action {
    color: rgba(232, 240, 246, .9);
  }

  body.pc-brand-system-v1 .shell-utility-bar .shell-utility-action:not(.shell-utility-action-primary) {
    background: rgba(255, 255, 255, .07);
    border-color: rgba(232, 240, 246, .2);
  }

  body.pc-brand-system-v1 .shell-utility-bar .shell-utility-action-primary {
    color: #fff;
    box-shadow: 0 10px 24px rgba(2, 8, 14, .3), 0 0 16px rgba(22, 212, 223, .12);
  }

  body.pc-brand-system-v1 .mini-contact-form-wrap .form-system-shell {
    padding: 24px 18px;
  }
}

/* 12 CF7 FORM_SYSTEM CONTROL COMPATIBILITY */
body.pc-brand-system-v1 .pc-cf7-form .wpcf7-submit.form-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 326px;
  min-height: 60px;
  padding: 0 30px;
  color: #fff;
  background: linear-gradient(var(--form-navy), var(--form-navy)) padding-box, linear-gradient(100deg, var(--form-cyan) 0%, var(--form-teal-soft) 45%, var(--form-gold-bright) 100%) border-box;
  border: 2px solid transparent;
  border-radius: var(--form-button-radius);
  box-shadow: 0 20px 42px rgba(12, 122, 138, .27), 0 0 24px rgba(22, 212, 223, .11), 0 0 30px rgba(243, 193, 58, .085);
  font: inherit;
  font-size: 15px;
  font-weight: 820;
  line-height: 1.2;
  text-align: center;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, opacity .18s ease;
}

body.pc-brand-system-v1 .pc-cf7-form .wpcf7-submit.form-submit:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 24px 48px rgba(12, 122, 138, .31), 0 0 30px rgba(22, 212, 223, .15), 0 0 36px rgba(243, 193, 58, .12);
}

body.pc-brand-system-v1 .pc-cf7-form .wpcf7-submit.form-submit:disabled {
  opacity: .62;
  cursor: not-allowed;
}

body.pc-brand-system-v1 .pc-cf7-form .wpcf7-acceptance {
  display: block;
  min-height: 44px;
}

body.pc-brand-system-v1 .pc-cf7-form .wpcf7-acceptance .wpcf7-list-item {
  margin: 0;
}

body.pc-brand-system-v1 .pc-cf7-form .wpcf7-acceptance label {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  min-height: 24px;
  padding-left: 0;
  color: #f7fbff;
  font-size: 13px;
  font-weight: 680;
  line-height: 1.55;
}

body.pc-brand-system-v1 .pc-cf7-form .wpcf7-acceptance input[type="checkbox"] {
  width: 20px;
  height: 20px;
  min-height: 20px;
  margin: 1px 0 0;
  grid-column: 1;
  accent-color: var(--form-teal);
}

body.pc-brand-system-v1 .pc-cf7-form .wpcf7-acceptance .wpcf7-list-item-label {
  min-width: 0;
  grid-column: 2;
}

body.pc-brand-system-v1 .pc-cf7-form .cf7-cf-turnstile {
  display: flex;
  align-items: flex-start;
  min-height: 42px;
  padding: 8px 0 28px;
}

@media (max-width: 767px) {
  body.pc-brand-system-v1 .pc-cf7-form .form-conversion-trust {
    display: block;
  }

  body.pc-brand-system-v1 .pc-cf7-form .form-conversion-trust p {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
    margin: 0;
  }

  body.pc-brand-system-v1 .pc-cf7-form .form-conversion-trust p span {
    display: grid;
    min-height: 0;
    justify-content: start;
    padding: 12px 0 0;
    text-align: left;
    background: transparent;
    border: 0;
    border-top: 1px solid rgba(255, 255, 255, .12);
    border-radius: 0;
  }

  body.pc-brand-system-v1 .pc-cf7-form .form-conversion-trust p span:first-child {
    padding-top: 0;
    border-top: 0;
  }

  body.pc-brand-system-v1 .pc-cf7-form .wpcf7-submit.form-submit {
    width: 100%;
    min-width: 0;
    min-height: 58px;
    padding-right: 20px;
    padding-left: 20px;
  }
}

/* 13 HOME CF7 TRUST ROW */
body.pc-brand-system-v1 .pc-cf7-form .form-meta.form-trust {
  display: grid;
  width: 100%;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

body.pc-brand-system-v1 .pc-cf7-form .form-meta.form-trust > p {
  display: contents;
}

body.pc-brand-system-v1 .pc-cf7-form .form-meta.form-trust > p > span {
  display: flex;
  min-width: 0;
  min-height: 48px;
  flex-direction: column;
  justify-content: center;
  padding: 0 16px;
  color: #f7fbff;
}

body.pc-brand-system-v1 .pc-cf7-form .form-meta.form-trust > p > span + span {
  border-left: 1px solid rgba(255, 255, 255, .12);
}

body.pc-brand-system-v1 .pc-cf7-form .form-meta.form-trust > p > span strong {
  color: #fff;
  font-weight: 780;
}

body.pc-brand-system-v1 .pc-cf7-form .form-meta.form-trust > p > span small {
  margin-top: 3px;
  color: rgba(232, 240, 246, .72);
  font-size: 12px;
  line-height: 1.35;
}

@media (max-width: 767px) {
  body.pc-brand-system-v1 .pc-cf7-form .form-meta.form-trust {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  body.pc-brand-system-v1 .pc-cf7-form .form-meta.form-trust > p > span {
    min-height: 0;
    align-items: flex-start;
    padding: 0;
  }

  body.pc-brand-system-v1 .pc-cf7-form .form-meta.form-trust > p > span + span {
    border-left: 0;
  }
}

/* 14 TRANSITIONAL LEGACY OVERRIDES */
/*
No active transitional legacy overrides in the v1 foundation build.
temporary-important-count: 0
*/

/* 15 DESKTOP MEGA MENU CONTRAST */
@media (min-width: 922px) {
  body.pc-brand-system-v1 .global-shell-header .shell-mega-menu .shell-mega-primary span {
    color: #fff;
  }

  body.pc-brand-system-v1 .global-shell-header .shell-mega-menu .shell-mega-primary small {
    color: rgba(232, 240, 246, .78);
  }

  body.pc-brand-system-v1 .global-shell-header .shell-mega-menu .shell-mega-links a {
    color: rgba(247, 251, 255, .88);
  }

  body.pc-brand-system-v1 .global-shell-header .shell-mega-menu .shell-mega-links a:hover,
  body.pc-brand-system-v1 .global-shell-header .shell-mega-menu .shell-mega-links a:focus-visible {
    color: #16d4df;
  }
}

/* 16 SERVICES HUB MEGA MENU LINK */
@media (min-width: 922px) {
  body.pc-brand-system-v1 .global-shell-header .shell-mega-menu .shell-mega-hub-link {
    color: rgba(247, 251, 255, .92);
    font-size: 13px;
    font-weight: 760;
    text-decoration: none;
  }

  body.pc-brand-system-v1 .global-shell-header .shell-mega-menu .shell-mega-hub-link:hover,
  body.pc-brand-system-v1 .global-shell-header .shell-mega-menu .shell-mega-hub-link:focus-visible {
    color: #16d4df;
  }
}

/* 17 HOME LIGHT MINI CONTACT FORM */
body.pc-brand-system-v1 .mini-contact-section .mini-contact-lead {
  margin: 18px 0 0;
  color: #4e5c69;
  font-size: 16px;
  line-height: 1.65;
}

body.pc-brand-system-v1 .mini-contact-section .mini-contact-trust {
  margin: 18px 0 0;
  color: #0c7a8a;
  font-size: 14px;
  font-weight: 760;
  line-height: 1.5;
}

body.pc-brand-system-v1 .mini-contact-section .mini-contact-trust span {
  margin: 0 5px;
  color: #c9a227;
}

/* Keep the shared contact mini-form CTA above Astra's generic submit treatment. */
body.pc-brand-system-v1 .mini-contact-form .calculator-button-primary {
  color: #fff;
  background:
    linear-gradient(var(--reference-navy), var(--reference-navy)) padding-box,
    linear-gradient(100deg, var(--reference-cyan) 0%, var(--reference-teal-button) 45%, var(--reference-gold-button) 100%) border-box;
  border: 3px solid transparent;
  border-radius: var(--reference-button-radius);
  box-shadow:
    0 12px 28px rgba(22, 212, 223, .18),
    0 12px 32px rgba(243, 193, 58, .18);
}

body.pc-brand-system-v1 .mini-contact-form input.calculator-button-primary {
  appearance: none;
  -webkit-appearance: none;
}

/* ABOUT hero: retain the brand name as a semantic, unbroken lockup. */
body.pc-brand-system-v1.about-master-page .about-hero-brand-lockup {
  display: inline-block;
  white-space: nowrap;
}

body.pc-brand-system-v1.about-master-page .about-brand-dot-com {
  color: var(--reference-gold);
}

@media (max-width: 1180px) {
  body.pc-brand-system-v1.about-master-page .about-hero {
    grid-template-columns: 1fr;
    gap: 46px;
  }
}

@media (max-width: 900px) {
  body.pc-brand-system-v1.about-master-page .about-hero-brand-lockup .about-brand-h1 {
    display: inline;
    font-size: 1em;
    line-height: inherit;
  }
}

body.pc-brand-system-v1 .mini-contact-form .calculator-button-primary:hover:not(:disabled) {
  box-shadow:
    0 14px 32px rgba(22, 212, 223, .22),
    0 14px 36px rgba(243, 193, 58, .2);
}

body.pc-brand-system-v1 .mini-contact-form .calculator-button-primary:disabled {
  cursor: not-allowed;
  opacity: 1;
  box-shadow:
    0 10px 24px rgba(22, 212, 223, .13),
    0 10px 28px rgba(243, 193, 58, .11);
}

/* CF7 supplies an acceptance wrapper; map it to the shared contact mini-form consent geometry. */
body.pc-brand-system-v1 .mini-contact-section .pc-cf7-form--mini .wpcf7-acceptance label {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  min-height: auto;
  padding-left: 0;
  color: #4e5c69;
  opacity: 1;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.55;
  letter-spacing: normal;
  text-shadow: none;
}

body.pc-brand-system-v1 .mini-contact-section .pc-cf7-form--mini .wpcf7-acceptance input[type="checkbox"] {
  width: 18px;
  height: 18px;
  min-height: 18px;
  margin: 1px 0 0;
  grid-column: 1;
  accent-color: var(--form-teal);
}

body.pc-brand-system-v1 .mini-contact-section .pc-cf7-form--mini .wpcf7-list-item-label {
  display: block;
  min-width: 0;
  grid-column: 2;
  color: #4e5c69;
  opacity: 1;
  font: inherit;
  letter-spacing: normal;
  text-shadow: none;
}

body.pc-brand-system-v1 .mini-contact-section .pc-cf7-form--mini .wpcf7-list-item-label::before,
body.pc-brand-system-v1 .mini-contact-section .pc-cf7-form--mini .wpcf7-list-item-label::after {
  display: none;
}

/* 18 HOME QUALIFICATION COMPACT */
body.pc-brand-system-v1 .premium-contact-section .pc-cf7-form--qualification .form-system-shell--qualification-compact {
  padding: 34px 40px 38px;
}

body.pc-brand-system-v1 .premium-contact-section .pc-cf7-form--qualification .form-conversion-head {
  gap: 28px;
  align-items: center;
  margin-bottom: 24px;
  padding-bottom: 20px;
}

body.pc-brand-system-v1 .premium-contact-section .pc-cf7-form--qualification .form-conversion-eyebrow {
  margin-bottom: 8px;
}

body.pc-brand-system-v1 .premium-contact-section .pc-cf7-form--qualification .form-conversion-copy p:not(.form-conversion-eyebrow) {
  margin-top: 8px;
  line-height: 1.5;
}

body.pc-brand-system-v1 .premium-contact-section .pc-cf7-form--qualification .form-conversion-trust {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

body.pc-brand-system-v1 .premium-contact-section .pc-cf7-form--qualification .form-conversion-trust span {
  min-height: 34px;
  padding: 0 10px;
  font-size: 12px;
  white-space: nowrap;
}

body.pc-brand-system-v1 .premium-contact-section .pc-cf7-form--qualification .form-section--qualification-compact {
  gap: 16px;
  padding: 0;
  border: 0;
}

body.pc-brand-system-v1 .premium-contact-section .pc-cf7-form--qualification .form-section--qualification-compact + .form-section--qualification-compact {
  padding-top: 16px;
  border-top: 0;
}

body.pc-brand-system-v1 .premium-contact-section .pc-cf7-form--qualification .form-row {
  gap: 18px;
}

body.pc-brand-system-v1 .premium-contact-section .pc-cf7-form--qualification .form-control:not(.form-textarea) {
  min-height: 56px;
}

body.pc-brand-system-v1 .premium-contact-section .pc-cf7-form--qualification .form-system-shell--qualification-compact .form-textarea {
  height: 96px;
  min-height: 96px;
  resize: vertical;
}

body.pc-brand-system-v1 .premium-contact-section .pc-cf7-form--qualification .form-help:not(.form-privacy) {
  margin-top: -6px;
}

body.pc-brand-system-v1 .premium-contact-section .pc-cf7-form--qualification .form-qualification-bottom {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 420px);
  gap: 28px;
  align-items: end;
}

body.pc-brand-system-v1 .premium-contact-section .pc-cf7-form--qualification .form-qualification-legal {
  display: grid;
  gap: 8px;
}

body.pc-brand-system-v1 .premium-contact-section .pc-cf7-form--qualification .form-privacy {
  margin: 0;
}

body.pc-brand-system-v1 .premium-contact-section .pc-cf7-form--qualification .form-qualification-actions {
  display: grid;
  justify-items: end;
  gap: 20px;
}

body.pc-brand-system-v1 .premium-contact-section .pc-cf7-form--qualification .form-security-slot {
  width: min(100%, 300px);
  margin: 0;
  padding: 0;
  background: transparent;
  border: 0;
}

body.pc-brand-system-v1 .premium-contact-section .pc-cf7-form--qualification .cf7-cf-turnstile {
  min-height: 0;
  padding: 0;
}

body.pc-brand-system-v1 .premium-contact-section .pc-cf7-form--qualification .form-actions {
  width: min(100%, 400px);
  margin: 0;
}

body.pc-brand-system-v1 .premium-contact-section .pc-cf7-form--qualification .form-submit {
  width: 100%;
}

body.pc-brand-system-v1 .premium-contact-section .pc-cf7-form--qualification .form-meta.form-trust {
  display: none;
}

@media (max-width: 767px) {
  body.pc-brand-system-v1.about-master-page .about-hero-brand-lockup {
    font-size: .82em;
  }

  body.pc-brand-system-v1 {
    padding-bottom: calc(88px + env(safe-area-inset-bottom));
  }

  body.pc-brand-system-v1 #content,
  body.pc-brand-system-v1 #pierwsza-rozmowa {
    scroll-margin-top: 80px;
  }

  body.pc-brand-system-v1 .mini-contact-section .mini-contact-lead {
    font-size: 15px;
  }

  body.pc-brand-system-v1 .mini-contact-section .mini-contact-trust {
    font-size: 13px;
  }

  body.pc-brand-system-v1 .premium-contact-section .pc-cf7-form--qualification .form-system-shell--qualification-compact {
    padding: 28px 20px;
  }

  body.pc-brand-system-v1 .premium-contact-section .pc-cf7-form--qualification .form-conversion-head {
    gap: 14px;
    margin-bottom: 20px;
    padding-bottom: 18px;
  }

  body.pc-brand-system-v1 .premium-contact-section .pc-cf7-form--qualification .form-conversion-trust {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  body.pc-brand-system-v1 .premium-contact-section .pc-cf7-form--qualification .form-conversion-trust span {
    min-height: 0;
    justify-content: flex-start;
    padding: 0;
    background: transparent;
    border: 0;
  }

  body.pc-brand-system-v1 .premium-contact-section .pc-cf7-form--qualification .form-section--qualification-compact + .form-section--qualification-compact {
    padding-top: 18px;
  }

  body.pc-brand-system-v1 .premium-contact-section .pc-cf7-form--qualification .form-row {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  body.pc-brand-system-v1 .premium-contact-section .pc-cf7-form--qualification .form-system-shell--qualification-compact .form-textarea {
    height: 90px;
    min-height: 90px;
  }

  body.pc-brand-system-v1 .premium-contact-section .pc-cf7-form--qualification .form-qualification-bottom {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  body.pc-brand-system-v1 .premium-contact-section .pc-cf7-form--qualification .form-qualification-actions,
  body.pc-brand-system-v1 .premium-contact-section .pc-cf7-form--qualification .form-security-slot,
  body.pc-brand-system-v1 .premium-contact-section .pc-cf7-form--qualification .form-actions {
    width: 100%;
    justify-items: stretch;
  }

  body.pc-brand-system-v1 .premium-contact-section .pc-cf7-form--qualification .form-qualification-actions {
    gap: 18px;
  }
}

@media (min-width: 768px) {
  body.pc-brand-system-v1 #content,
  body.pc-brand-system-v1 #pierwsza-rozmowa {
    scroll-margin-top: 96px;
  }
}
}
