.pwc-container {
  --pwc-royal: #1e46b7;
  --pwc-royal-deep: #142b78;
  --pwc-navy: #07133d;
  --pwc-navy-soft: #0d1f58;
  --pwc-cyan: #16d2ff;
  --pwc-cyan-soft: #a9efff;
  --pwc-card-text: #eaf8ff;
  --pwc-input-bg: #f8fbff;
  --pwc-input-text: #0b1747;
  --pwc-input-border: #8aa7d8;
  --pwc-error: #ff9ca9;
  --pwc-success: #63f0bf;
  --pwc-line: rgba(156, 211, 255, 0.2);
  --pwc-panel: rgba(255, 255, 255, 0.055);

  max-width: 820px;
  margin: 0 auto;
  padding: 8px;
}

.pwc-card {
  position: relative;
  display: grid;
  gap: 10px;
  padding: 18px 20px 16px;
  border: 1px solid rgba(169, 239, 255, 0.24);
  border-radius: 8px;
  background: linear-gradient(155deg, #18347f 0%, var(--pwc-navy-soft) 42%, var(--pwc-navy) 100%);
  box-shadow: 0 14px 30px rgba(3, 9, 31, 0.28);
  color: var(--pwc-card-text);
  overflow: hidden;
}

.pwc-card::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, var(--pwc-cyan) 22%, var(--pwc-royal) 78%, transparent 100%);
  opacity: 0.85;
  pointer-events: none;
}

.pwc-card h1,
.pwc-card h2 {
  margin: 0;
  color: #ffffff;
  font-size: 1.48rem;
  line-height: 1.16;
  letter-spacing: 0;
}

.pwc-subtitle {
  max-width: 680px;
  margin: -5px 0 0;
  color: #d8edff;
  font-size: 0.91rem;
  line-height: 1.38;
}

.pwc-trust-row {
  margin: -5px 0 0;
  color: #b9eaff;
  font-size: 0.82rem;
  font-weight: 650;
  line-height: 1.35;
}

.pwc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 8px;
}

.pwc-grid-address-meta {
  grid-template-columns: minmax(0, 1fr) 82px 112px;
  gap: 8px;
}

.pwc-grid-contact {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.pwc-field-full {
  grid-column: 1 / -1;
}

.pwc-field {
  position: relative;
  display: grid;
  gap: 4px;
}

.pwc-label-row {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-width: 0;
}

.pwc-field label,
.pwc-section h3 {
  margin: 0;
  color: #f1fbff;
  font-size: 0.84rem;
  font-weight: 700;
  line-height: 1.22;
  letter-spacing: 0;
}

.pwc-field input,
.pwc-field select,
.pwc-field textarea,
#pwc_submit_btn {
  width: 100%;
  border: 1px solid var(--pwc-input-border);
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.93rem;
  color: var(--pwc-input-text);
  background: var(--pwc-input-bg);
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease, background-color 160ms ease;
}

.pwc-field input,
.pwc-field select {
  height: 37px;
  padding: 0 10px;
}

.pwc-field textarea {
  min-height: 62px;
  padding: 8px 10px;
  resize: vertical;
}

.pwc-field input::placeholder,
.pwc-field textarea::placeholder {
  color: #6075a4;
}

.pwc-field input:focus-visible,
.pwc-field select:focus-visible,
.pwc-field textarea:focus-visible,
#pwc_submit_btn:focus-visible,
.pwc-consent input:focus-visible,
.pwc-service-option input:focus-visible + .pwc-service-pill,
.pwc-more-services summary:focus-visible,
.pwc-optional-details summary:focus-visible {
  border-color: var(--pwc-cyan);
  box-shadow: 0 0 0 3px rgba(22, 210, 255, 0.26);
  outline: none;
}

.pwc-field [aria-invalid="true"],
.pwc-service-options[aria-invalid="true"] .pwc-service-pill,
.pwc-consent [aria-invalid="true"] {
  border-color: var(--pwc-error);
}

.pwc-field-help {
  margin: 0;
  color: #cce6ff;
  font-size: 0.8rem;
}

.pwc-contact-rule {
  padding: 8px 10px;
  border: 1px solid rgba(138, 202, 255, 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
}

.pwc-field-error {
  margin: 0;
  min-height: 0;
  color: #ffd4db;
  font-size: 0.78rem;
  line-height: 1.25;
}

.pwc-info-wrap {
  position: static;
  display: inline-flex;
  align-items: center;
}

.pwc-info-button {
  display: inline-grid;
  place-items: center;
  width: 15px;
  height: 15px;
  padding: 0;
  border: 1px solid rgba(169, 239, 255, 0.42);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  color: #b8f1ff;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.58rem;
  font-weight: 800;
  line-height: 1;
}

.pwc-info-button:hover,
.pwc-info-button:focus-visible,
.pwc-info-wrap.is-open .pwc-info-button {
  border-color: var(--pwc-cyan);
  background: rgba(22, 210, 255, 0.18);
  color: #ffffff;
  outline: none;
}

.pwc-info-button:focus-visible {
  box-shadow: 0 0 0 3px rgba(22, 210, 255, 0.24);
}

.pwc-phone-tooltip {
  position: absolute;
  left: 0;
  top: calc(100% + 6px);
  bottom: auto;
  z-index: 30;
  display: grid;
  gap: 4px;
  width: min(250px, calc(100vw - 40px));
  padding: 7px 8px;
  border: 1px solid rgba(138, 202, 255, 0.34);
  border-radius: 8px;
  background: rgba(8, 17, 39, 0.98);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.32);
  color: #e5f7ff;
  font-size: 0.72rem;
  line-height: 1.3;
  transform: none;
}

.pwc-phone-tooltip[hidden] {
  display: none;
}

.pwc-phone-tooltip strong {
  color: #ffffff;
  font-size: 0.76rem;
}

.pwc-phone-tooltip span {
  color: #cce6ff;
}

.pwc-section {
  display: grid;
  gap: 8px;
  padding-top: 10px;
  border-top: 1px solid var(--pwc-line);
}

.pwc-section-intake {
  margin-top: 2px;
}

.pwc-section-heading {
  display: grid;
  gap: 2px;
}

.pwc-section-heading h3 {
  display: flex;
  align-items: baseline;
  gap: 7px;
}

.pwc-step-kicker {
  flex: 0 0 auto;
  color: var(--pwc-cyan-soft);
  font-size: 0.7rem;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
}

.pwc-section-heading p {
  margin: 0;
  color: #cce6ff;
  font-size: 0.8rem;
  line-height: 1.3;
}

.pwc-service-options {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 7px;
}

.pwc-address-compact {
  display: grid;
  gap: 9px;
}

.pwc-service-option {
  position: relative;
  display: block;
  cursor: pointer;
}

.pwc-service-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.pwc-service-pill {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-height: 35px;
  height: 100%;
  border: 1px solid rgba(169, 239, 255, 0.18);
  border-radius: 8px;
  padding: 6px 27px 6px 9px;
  background: rgba(255, 255, 255, 0.045);
  color: #edf9ff;
  font-size: 0.8rem;
  font-weight: 700;
  text-align: left;
  line-height: 1.18;
  transition: border-color 160ms ease, background-color 160ms ease, color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.pwc-service-option:hover .pwc-service-pill {
  border-color: rgba(169, 239, 255, 0.48);
  background: rgba(255, 255, 255, 0.09);
}

.pwc-service-option input:checked + .pwc-service-pill {
  border-color: var(--pwc-cyan);
  background: linear-gradient(180deg, rgba(30, 70, 183, 0.98), rgba(7, 35, 103, 0.98));
  box-shadow: 0 0 0 1px rgba(22, 210, 255, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

.pwc-service-check {
  position: absolute;
  top: 7px;
  right: 7px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 14px;
  height: 14px;
  border-radius: 999px;
  background: var(--pwc-cyan);
  color: #06143d;
  font-size: 0.62rem;
  font-weight: 900;
  line-height: 1;
  opacity: 0;
  transform: scale(0.84);
  transition: opacity 160ms ease, transform 160ms ease;
}

.pwc-service-option input:checked + .pwc-service-pill .pwc-service-check {
  opacity: 1;
  transform: scale(1);
}

.pwc-service-label {
  min-width: 0;
}

.pwc-more-services,
.pwc-optional-details {
  border: 1px solid rgba(138, 202, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
  overflow: hidden;
}

.pwc-more-services {
  margin-top: -3px;
  border: 0;
  background: transparent;
}

.pwc-more-services summary,
.pwc-optional-details summary {
  position: relative;
  min-height: 36px;
  padding: 8px 34px 8px 10px;
  color: #eaf8ff;
  cursor: pointer;
  font-weight: 700;
  list-style: none;
}

.pwc-more-services summary::-webkit-details-marker,
.pwc-optional-details summary::-webkit-details-marker {
  display: none;
}

.pwc-more-services summary::after,
.pwc-optional-details summary::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 11px;
  color: var(--pwc-cyan-soft);
  font-size: 1rem;
  font-weight: 800;
  line-height: 1;
  transform: translateY(-50%);
}

.pwc-more-services[open] summary::after,
.pwc-optional-details[open] summary::after {
  content: "-";
}

.pwc-more-services summary {
  display: inline-flex;
  align-items: center;
  min-height: 0;
  padding: 5px 26px 5px 0;
  color: #bfeeff;
  font-size: 0.8rem;
}

.pwc-more-services summary::after {
  right: 5px;
}

.pwc-optional-panel summary {
  display: grid;
  gap: 2px;
}

.pwc-summary-title {
  color: #ffffff;
  font-size: 0.86rem;
  line-height: 1.2;
}

.pwc-summary-helper {
  color: #cce6ff;
  font-size: 0.74rem;
  font-weight: 500;
  line-height: 1.25;
}

.pwc-more-services[open] summary,
.pwc-optional-details[open] summary {
  border-bottom: 1px solid rgba(138, 202, 255, 0.16);
}

.pwc-service-options-more {
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  padding: 8px;
}

.pwc-more-services[open] .pwc-service-options-more,
.pwc-optional-details[open] .pwc-optional-content {
  animation: pwc-reveal 180ms ease;
}

.pwc-optional-content {
  display: grid;
  gap: 8px;
  padding: 8px;
}

.pwc-field input.pwc-file-input {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.pwc-upload-box {
  display: grid;
  gap: 2px;
  justify-items: center;
  min-height: 50px;
  padding: 8px 10px;
  border: 1px dashed rgba(169, 239, 255, 0.44);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
  color: #e9f8ff;
  cursor: pointer;
  text-align: center;
  transition: border-color 160ms ease, background-color 160ms ease, box-shadow 160ms ease;
}

.pwc-field input.pwc-file-input:focus-visible + .pwc-upload-box,
.pwc-upload-box:hover {
  border-color: var(--pwc-cyan);
  background: rgba(255, 255, 255, 0.075);
  box-shadow: 0 0 0 3px rgba(22, 210, 255, 0.18);
}

.pwc-upload-title {
  color: #ffffff;
  font-size: 0.88rem;
  font-weight: 800;
}

.pwc-upload-help {
  color: #cce6ff;
  font-size: 0.76rem;
  line-height: 1.25;
}

.pwc-photo-list {
  display: none;
  padding: 7px 9px;
  border: 1px solid rgba(138, 202, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
  color: #e9f8ff;
  font-size: 0.82rem;
  line-height: 1.35;
}

.pwc-photo-list.has-files {
  display: grid;
  gap: 6px;
}

.pwc-photo-list strong {
  color: #a9efff;
}

.pwc-photo-list ul {
  display: grid;
  gap: 3px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pwc-section-sms {
  gap: 6px;
}

.pwc-section-sms .pwc-section-heading h3 {
  color: #dff6ff;
  font-size: 0.82rem;
}

.pwc-consent {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px;
  align-items: start;
  padding: 7px 8px;
  border: 1px solid rgba(138, 202, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
}

.pwc-consent input {
  margin-top: 1px;
  width: 16px;
  height: 16px;
  accent-color: var(--pwc-cyan);
}

.pwc-consent span {
  color: #d9efff;
  font-size: 0.7rem;
  line-height: 1.34;
}

.pwc-consent a {
  color: var(--pwc-cyan-soft);
  font-weight: 650;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.pwc-consent a:hover,
.pwc-consent a:focus-visible {
  color: #ffffff;
  outline: none;
}

.pwc-service-area-hint {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  max-width: 100%;
  margin: -1px 0 0;
  padding: 4px 7px;
  border-left: 2px solid var(--pwc-cyan);
  border-radius: 6px;
  background: rgba(22, 210, 255, 0.08);
  color: #c8f5ff;
  font-size: 0.74rem;
  line-height: 1.3;
}

.pwc-service-area-hint:empty {
  display: none;
}

.pwc-service-area-hint.is-success {
  border-left-color: var(--pwc-success);
  background: rgba(99, 240, 191, 0.09);
  color: #ceffe9;
}

.pwc-service-area-hint.is-note {
  border-left-color: var(--pwc-cyan);
}

.pwc-honeypot {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.pwc-turnstile-wrap {
  display: flex;
  justify-content: center;
  margin: 0 0 10px;
}

#pwc_submit_btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 18px;
  border-color: #8cefff;
  background: linear-gradient(180deg, #22d8ff 0%, #08aee7 100%);
  color: #061c48;
  font-weight: 800;
  cursor: pointer;
}

.pwc-submit-area {
  display: grid;
  gap: 5px;
  padding-bottom: 4px;
}

.pwc-submit-note {
  margin: 0;
  color: #d5ecff;
  font-size: 0.82rem;
  line-height: 1.3;
  text-align: center;
}

.pwc-admin-version {
  margin: -2px 0 0;
  color: #8feaff;
  font-size: 0.72rem;
  line-height: 1.2;
  text-align: center;
  opacity: 0.8;
}

#pwc_submit_btn:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(22, 210, 255, 0.3);
}

#pwc_submit_btn:disabled {
  cursor: not-allowed;
  opacity: 0.6;
}

.pwc-btn-spinner {
  display: none;
  width: 14px;
  height: 14px;
  border: 2px solid rgba(8, 34, 79, 0.4);
  border-top-color: #08224f;
  border-radius: 50%;
  animation: pwc-spin 700ms linear infinite;
}

.pwc-card.is-submitting .pwc-btn-spinner {
  display: inline-block;
}

.pwc-card.is-submitting .pwc-btn-label {
  opacity: 0.95;
}

.pwc-status {
  display: none;
  min-height: 42px;
  margin: 0;
  padding: 10px 12px;
  border: 1px solid rgba(129, 198, 255, 0.26);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
  color: #e8f7ff;
  font-size: 0.88rem;
}

.pwc-status:not(:empty) {
  display: block;
}

.pwc-status.is-success {
  border-color: rgba(88, 232, 173, 0.36);
  background: rgba(11, 86, 61, 0.28);
  color: #ceffe9;
}

.pwc-success-state {
  display: grid;
  gap: 10px;
}

.pwc-success-state strong {
  color: #ffffff;
  font-size: 1rem;
}

.pwc-success-state ul {
  display: grid;
  gap: 5px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pwc-success-state li {
  margin: 0;
  line-height: 1.4;
}

.pwc-success-state li span {
  color: #a9efff;
  font-weight: 700;
}

.pwc-success-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  background: #ffffff;
  color: #0b1544;
  font-weight: 800;
  text-decoration: none;
}

.pwc-status.is-error {
  border-color: rgba(255, 137, 160, 0.36);
  background: rgba(118, 26, 44, 0.3);
  color: #ffe5ea;
}

.pwc-status.is-info {
  border-color: rgba(100, 202, 255, 0.38);
  background: rgba(9, 38, 104, 0.36);
  color: #d5eeff;
}

.pwc-hidden-fields {
  display: none;
}

@keyframes pwc-spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes pwc-reveal {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 760px) {
  .pwc-service-options {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .pwc-container {
    padding: 6px;
  }

  .pwc-card {
    gap: 10px;
    padding: 14px 12px;
  }

  .pwc-card h1,
  .pwc-card h2 {
    font-size: 1.36rem;
  }

  .pwc-grid,
  .pwc-grid-contact,
  .pwc-grid-address-meta {
    grid-template-columns: 1fr;
  }

  .pwc-section {
    gap: 8px;
    padding-top: 10px;
  }

  .pwc-step-kicker {
    font-size: 0.7rem;
  }

  #pwc_submit_btn {
    min-height: 46px;
  }

  .pwc-service-pill {
    min-height: 40px;
  }

  .pwc-phone-tooltip {
    left: 0;
    top: auto;
    bottom: calc(100% + 48px);
    width: min(250px, calc(100vw - 56px));
    transform: none;
  }
}

@media (max-width: 340px) {
  .pwc-service-options {
    grid-template-columns: 1fr;
  }

  .pwc-service-pill {
    min-height: 38px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pwc-field input,
  .pwc-field select,
  .pwc-field textarea,
  #pwc_submit_btn,
  .pwc-service-pill,
  .pwc-service-check,
  .pwc-upload-box {
    transition: none;
  }

  .pwc-btn-spinner {
    animation: none;
  }

  .pwc-more-services[open] .pwc-service-options-more,
  .pwc-optional-details[open] .pwc-optional-content {
    animation: none;
  }
}
