/* ============================================================
   PATIENT INTAKE FORM — patient-intake-form.css
   Scope: .pif-page
   Prefix: pif-
   ============================================================ */

.pif-page {
  /* Token bridge */
  --pif-red:     #CC0000;
  --pif-red-d:   #a30000;
  --pif-red-lt:  rgba(204,0,0,.07);
  --pif-blue:    #10769E;
  --pif-blue-d:  #0d5f7f;
  --pif-black:   #000000;
  --pif-black-l: #1a1a1a;
  --pif-grey:    #E6E6E6;
  --pif-grey-d:  #d0d0d0;
  --pif-white:   #FFFFFF;
  --pif-green:   #16a34a;
  --pif-green-lt: rgba(22,163,74,.10);
  --pif-tx1:     #1a1a1a;
  --pif-tx2:     #5a5556;
  --pif-tx3:     #888;
  --pif-bg:      #F5F5F5;
  --pif-font-d:  'Playfair Display', Georgia, serif;
  --pif-font-b:  'Source Sans 3', -apple-system, BlinkMacSystemFont, sans-serif;
  --pif-r-xs: 4px; --pif-r-sm: 8px; --pif-r-md: 12px;
  --pif-r-lg: 16px; --pif-r-xl: 20px;
  --pif-sh-sm: 0 4px 20px rgba(0,0,0,.06);
  --pif-sh-md: 0 8px 32px rgba(0,0,0,.08);

  background: var(--pif-bg);
  font-family: var(--pif-font-b);
  color: var(--pif-tx1);
  line-height: 1.7;
}

/* ============================================================
   SKIP LINK
   ============================================================ */
.pif-skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  background: var(--pif-red);
  color: white;
  padding: .5rem 1rem;
  border-radius: var(--pif-r-xs);
  z-index: 9999;
  font-weight: 600;
  font-family: var(--pif-font-b);
  text-decoration: none;
}
.pif-skip-link:focus { top: 1rem; }

/* ============================================================
   WRAP / LAYOUT
   ============================================================ */
.pif-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.pif-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 2.5rem;
  align-items: start;
  padding: 2.5rem 1.5rem 5rem;
}
@media (max-width: 900px) {
  .pif-layout { grid-template-columns: 1fr; }
}

/* ============================================================
   HERO STRIPE
   ============================================================ */
.pif-hero {
  background: var(--pif-black);
  padding: 14.375rem 0 3.5rem;
  position: relative;
  overflow: hidden;
}
.pif-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(0,0,0,.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0,0,0,.06) 1px, transparent 1px);
  background-size: 60px 60px;
  opacity: .4;
  pointer-events: none;
}
.pif-hero::after {
  content: '';
  position: absolute;
  top: -80px;
  right: 5%;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(204,0,0,.07);
  pointer-events: none;
}
.pif-hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.pif-hero-label {
  font-size: .8125rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--pif-red);
  margin-bottom: .75rem;
}
.pif-hero-h1 {
  font-family: var(--pif-font-d);
  font-size: 2.75rem;
  font-weight: 700;
  color: white;
  line-height: 1.15;
  letter-spacing: -.02em;
  margin-bottom: .75rem;
}
.pif-hero-h1 em {
  font-style: italic;
  color: rgba(255,255,255,.55);
  font-weight: 400;
}
.pif-hero-sub {
  font-size: 1.0625rem;
  color: rgba(255,255,255,.7);
  line-height: 1.75;
  max-width: 520px;
}
@media (max-width: 700px) {
  .pif-hero-h1 { font-size: 2rem; }
  .pif-hero-badge { display: none; }
}

/* Hero badge */
.pif-hero-badge {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--pif-r-md);
  padding: 1.25rem 1.5rem;
  text-align: center;
  min-width: 180px;
  flex-shrink: 0;
}
.pif-badge-n {
  font-family: var(--pif-font-d);
  font-size: 2rem;
  font-weight: 700;
  color: var(--pif-red);
  line-height: 1;
}
.pif-badge-n--sm { font-size: 1.5rem; }
.pif-badge-l {
  font-size: .8125rem;
  color: rgba(255,255,255,.6);
  font-weight: 500;
  margin-top: .25rem;
}
.pif-badge-divider {
  height: 1px;
  background: rgba(255,255,255,.12);
  margin: .875rem 0;
}

/* Download bar */
.pif-download-bar {
  background: rgba(255,255,255,.05);
  border-top: 1px solid rgba(255,255,255,.09);
  padding: .75rem 0;
  margin-top: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.pif-download-text {
  font-size: .875rem;
  color: rgba(255,255,255,.5);
  display: flex;
  align-items: center;
  gap: .5rem;
}
.pif-btn-download {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: transparent;
  border: 1.5px solid rgba(255,255,255,.28);
  color: rgba(255,255,255,.85);
  font-family: var(--pif-font-b);
  font-size: .875rem;
  font-weight: 600;
  letter-spacing: .025em;
  padding: .6rem 1.25rem;
  border-radius: var(--pif-r-xs);
  cursor: pointer;
  transition: all .3s ease;
}
.pif-btn-download:hover,
.pif-btn-download:focus {
  border-color: white;
  color: white;
  background: rgba(255,255,255,.08);
}

/* ============================================================
   SIDEBAR
   ============================================================ */
.pif-sidebar {
  position: sticky;
  top: 140px;
}
@media (max-width: 900px) {
  .pif-sidebar { position: static; }
}

/* Progress tracker */
.pif-progress {
  background: white;
  border-radius: var(--pif-r-xl);
  border: 1px solid var(--pif-grey);
  box-shadow: var(--pif-sh-sm);
  overflow: hidden;
  margin-bottom: 1.5rem;
}
.pif-progress-hdr {
  background: var(--pif-black);
  padding: 1.25rem 1.5rem;
}
.pif-progress-title {
  font-family: var(--pif-font-d);
  font-size: 1rem;
  font-weight: 600;
  color: white;
  margin-bottom: .5rem;
}
.pif-progress-bar-wrap {
  height: 4px;
  background: rgba(255,255,255,.12);
  border-radius: 2px;
  overflow: hidden;
}
.pif-progress-fill {
  height: 100%;
  background: var(--pif-red);
  border-radius: 2px;
  transition: width .5s ease;
  width: 25%;
}
.pif-progress-pct {
  font-size: .75rem;
  color: rgba(255,255,255,.5);
  margin-top: .5rem;
}
.pif-steps-list { padding: 1.25rem; }
.pif-step-item {
  display: flex;
  align-items: center;
  gap: .875rem;
  padding: .625rem 0;
}
.pif-step-item + .pif-step-item {
  border-top: 1px solid var(--pif-grey);
}
.pif-step-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .8125rem;
  font-weight: 700;
  flex-shrink: 0;
  transition: all .3s ease;
}
.pif-step-num--done    { background: var(--pif-green); color: white; }
.pif-step-num--active  { background: var(--pif-red);   color: white; }
.pif-step-num--pending { background: var(--pif-grey);  color: var(--pif-tx3); }
.pif-step-text strong {
  display: block;
  font-size: .9375rem;
  font-weight: 600;
  transition: all .3s ease;
}
.pif-step-text span { font-size: .8rem; color: var(--pif-tx3); }
.pif-step-item--active .pif-step-text strong { color: var(--pif-red); }
.pif-step-item--done   .pif-step-text strong { color: var(--pif-green); }

/* Trust box */
.pif-trust-box {
  background: white;
  border-radius: var(--pif-r-xl);
  border: 1px solid var(--pif-grey);
  box-shadow: var(--pif-sh-sm);
  padding: 1.25rem 1.5rem;
}
.pif-trust-title {
  font-family: var(--pif-font-d);
  font-size: .9375rem;
  font-weight: 600;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: .5rem;
  color: var(--pif-tx1);
}
.pif-trust-title svg { color: var(--pif-green); flex-shrink: 0; }
.pif-trust-items { display: flex; flex-direction: column; gap: .75rem; }
.pif-trust-item {
  display: flex;
  align-items: flex-start;
  gap: .625rem;
  font-size: .875rem;
  color: var(--pif-tx2);
  line-height: 1.5;
}
.pif-trust-item svg { color: var(--pif-red); flex-shrink: 0; margin-top: .1rem; }
.pif-trust-divider { height: 1px; background: var(--pif-grey); margin: 1rem 0; }
.pif-trust-call-label { font-size: .8125rem; color: var(--pif-tx3); margin-bottom: .625rem; }
.pif-trust-phone {
  display: flex;
  align-items: center;
  gap: .625rem;
  font-weight: 700;
  font-size: .9375rem;
  color: var(--pif-black);
  text-decoration: none;
  transition: color .3s ease;
}
.pif-trust-phone:hover { color: var(--pif-red); }
.pif-trust-phone svg   { color: var(--pif-red); }

/* ============================================================
   FORM CARD
   ============================================================ */
.pif-form-card {
  background: white;
  border-radius: var(--pif-r-xl);
  border: 1px solid var(--pif-grey);
  box-shadow: var(--pif-sh-md);
  overflow: hidden;
}

/* Step header */
.pif-step-hdr {
  padding: 2rem 2.25rem 1.5rem;
  border-bottom: 1px solid var(--pif-grey);
  position: relative;
}
.pif-step-hdr::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  background: var(--pif-red);
}
.pif-step-tag {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--pif-red);
  margin-bottom: .5rem;
}
.pif-step-title {
  font-family: var(--pif-font-d);
  font-size: 1.625rem;
  font-weight: 700;
  color: var(--pif-black);
  margin-bottom: .4rem;
}
.pif-step-desc { font-size: .9375rem; color: var(--pif-tx2); line-height: 1.6; }

/* Step body */
.pif-step-body { padding: 2rem 2.25rem; }
@media (max-width: 600px) {
  .pif-step-hdr  { padding: 1.5rem; }
  .pif-step-body { padding: 1.5rem; }
}

/* Steps visibility */
.pif-step-panel            { display: none; animation: pifStepIn .35s ease both; }
.pif-step-panel--active    { display: block; }
@keyframes pifStepIn {
  from { opacity: 0; transform: translateX(20px); }
  to   { opacity: 1; transform: none; }
}

/* ============================================================
   FORM FIELDS
   ============================================================ */
.pif-field-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
@media (max-width: 640px) {
  .pif-field-grid { grid-template-columns: 1fr; }
}
.pif-col-span { grid-column: 1 / -1; }

.pif-field {
  display: flex;
  flex-direction: column;
  gap: .375rem;
}
.pif-field label {
  font-size: .875rem;
  font-weight: 600;
  color: var(--pif-tx1);
  display: flex;
  align-items: center;
  gap: .25rem;
}
.pif-req { color: var(--pif-red); font-size: .75rem; }
.pif-field-hint { font-size: .8rem; color: var(--pif-tx3); margin-top: .2rem; }

.pif-field input,
.pif-field select,
.pif-field textarea {
  width: 100%;
  padding: .75rem 1rem;
  border: 1.5px solid var(--pif-grey-d);
  border-radius: var(--pif-r-sm);
  font-family: var(--pif-font-b);
  font-size: .9375rem;
  color: var(--pif-tx1);
  background: white;
  transition: all .3s ease;
  -webkit-appearance: none;
  appearance: none;
  line-height: 1.5;
}
.pif-field input::placeholder,
.pif-field textarea::placeholder { color: var(--pif-tx3); }
.pif-field input:focus,
.pif-field select:focus,
.pif-field textarea:focus {
  outline: none;
  border-color: var(--pif-blue);
  box-shadow: 0 0 0 3px rgba(16,118,158,.12);
}
.pif-field .pif-input-error { border-color: var(--pif-red); box-shadow: 0 0 0 3px rgba(204,0,0,.10); }
.pif-field textarea { resize: vertical; min-height: 100px; }

/* Select arrow */
.pif-field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%235a5556' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}

/* Field error */
.pif-field-error {
  display: none;
  font-size: .8rem;
  color: var(--pif-red);
  align-items: center;
  gap: .3rem;
  margin-top: .2rem;
}
.pif-field-error--show { display: flex; }

/* Textarea char counter */
.pif-textarea-wrap { position: relative; }
.pif-char-count {
  position: absolute;
  bottom: .5rem;
  right: .75rem;
  font-size: .75rem;
  color: var(--pif-tx3);
}

/* Section label divider */
.pif-field-section {
  margin: 1.75rem 0 1.25rem;
  padding-bottom: .625rem;
  border-bottom: 1px solid var(--pif-grey);
}
.pif-section-label {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--pif-tx3);
}

/* ============================================================
   CHECK / RADIO GROUPS
   ============================================================ */
.pif-check-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .625rem;
}
.pif-check-group--four {
  grid-template-columns: 1fr 1fr 1fr 1fr;
}
@media (max-width: 580px) {
  .pif-check-group,
  .pif-check-group--four { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 380px) {
  .pif-check-group,
  .pif-check-group--four { grid-template-columns: 1fr; }
}

.pif-check-item { position: relative; }
.pif-check-item input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}
.pif-check-label {
  display: flex;
  align-items: center;
  gap: .625rem;
  padding: .6rem .875rem;
  border: 1.5px solid var(--pif-grey-d);
  border-radius: var(--pif-r-sm);
  cursor: pointer;
  font-size: .9rem;
  color: var(--pif-tx2);
  transition: all .3s ease;
  user-select: none;
  line-height: 1.4;
}
.pif-check-label:hover { border-color: var(--pif-red); color: var(--pif-tx1); }
.pif-check-box {
  width: 18px; height: 18px;
  border: 2px solid var(--pif-grey-d);
  border-radius: 3px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .3s ease;
}
.pif-check-circle {
  width: 18px; height: 18px;
  border: 2px solid var(--pif-grey-d);
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .3s ease;
}
.pif-check-item input:checked + .pif-check-label {
  border-color: var(--pif-red);
  background: var(--pif-red-lt);
  color: var(--pif-tx1);
}
.pif-check-item input:checked + .pif-check-label .pif-check-box,
.pif-check-item input:checked + .pif-check-label .pif-check-circle {
  border-color: var(--pif-red);
  background: var(--pif-red);
}
.pif-check-item input:checked + .pif-check-label .pif-check-box::after {
  content: '';
  display: block;
  width: 5px; height: 9px;
  border: 2px solid white;
  border-top: none;
  border-left: none;
  transform: rotate(45deg) translate(-1px,-1px);
}
.pif-check-item input:checked + .pif-check-label .pif-check-circle::after {
  content: '';
  display: block;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: white;
}
.pif-check-item input:focus-visible + .pif-check-label {
  outline: 3px solid var(--pif-blue);
  outline-offset: 2px;
}

/* Radio pair (yes/no) */
.pif-radio-pair { display: flex; gap: .75rem; }
.pif-radio-pair .pif-check-item { flex: 1; }
.pif-radio-pair .pif-check-label { justify-content: center; font-weight: 600; }

/* ============================================================
   CONSENT BOX
   ============================================================ */
.pif-consent-box {
  background: var(--pif-bg);
  border: 1px solid var(--pif-grey);
  border-radius: var(--pif-r-md);
  padding: 1.25rem;
  margin-bottom: 1.5rem;
}
.pif-consent-text {
  font-size: .875rem;
  color: var(--pif-tx2);
  line-height: 1.7;
  max-height: 120px;
  overflow-y: auto;
  margin-bottom: 1rem;
  padding-right: .5rem;
}
.pif-consent-text h4 { font-weight: 700; color: var(--pif-tx1); margin-bottom: .5rem; font-size: .9375rem; }
.pif-consent-text p + p { margin-top: .75rem; }
.pif-consent-check {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  cursor: pointer;
}
.pif-consent-check input {
  width: 20px; height: 20px;
  border: 2px solid var(--pif-grey-d);
  border-radius: 3px;
  cursor: pointer;
  flex-shrink: 0;
  margin-top: .1rem;
  accent-color: var(--pif-red);
}
.pif-consent-text-label {
  font-size: .9rem;
  color: var(--pif-tx1);
  line-height: 1.6;
  font-weight: 500;
}

/* ============================================================
   STEP NAVIGATION
   ============================================================ */
.pif-step-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.5rem 2.25rem;
  border-top: 1px solid var(--pif-grey);
  background: var(--pif-bg);
}
@media (max-width: 600px) {
  .pif-step-nav { padding: 1.25rem 1.5rem; flex-wrap: wrap; }
}
.pif-nav-back {
  background: none;
  color: var(--pif-tx2);
  font-size: .9375rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: .4rem;
  padding: .5rem 0;
  transition: all .3s ease;
  cursor: pointer;
  border: none;
  font-family: var(--pif-font-b);
}
.pif-nav-back:hover { color: var(--pif-tx1); }
.pif-nav-back:disabled,
.pif-nav-back[hidden] { display: none; }
.pif-nav-right { display: flex; align-items: center; gap: .875rem; }
.pif-step-counter { font-size: .8125rem; color: var(--pif-tx3); }
.pif-btn-next {
  background: var(--pif-red);
  color: white;
  font-family: var(--pif-font-b);
  font-size: .9375rem;
  font-weight: 600;
  padding: .875rem 2rem;
  border-radius: var(--pif-r-xs);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: .5rem;
  transition: all .3s ease;
}
.pif-btn-next:hover,
.pif-btn-next:focus {
  background: var(--pif-red-d);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(204,0,0,.35);
}
.pif-btn-next:focus-visible { outline: 3px solid var(--pif-blue); outline-offset: 3px; }

/* ============================================================
   BUTTONS (shared)
   ============================================================ */
.pif-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  font-family: var(--pif-font-b);
  font-weight: 600;
  font-size: .9375rem;
  padding: .875rem 1.75rem;
  border-radius: var(--pif-r-xs);
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: all .3s ease;
}
.pif-btn--red   { background: var(--pif-red);   color: white; }
.pif-btn--red:hover { background: var(--pif-red-d); transform: translateY(-1px); }
.pif-btn--black { background: var(--pif-black); color: white; }
.pif-btn--black:hover { background: var(--pif-black-l); transform: translateY(-1px); }
.pif-btn--outline-light {
  background: transparent;
  border: 1.5px solid rgba(255,255,255,.35);
  color: rgba(255,255,255,.85);
}
.pif-btn--outline-light:hover { border-color: white; color: white; }

/* ============================================================
   SUCCESS SCREEN
   ============================================================ */
.pif-success { display: none; padding: 3.5rem 2.25rem; text-align: center; }
.pif-success--show { display: block; }
.pif-success-icon {
  width: 80px; height: 80px;
  background: var(--pif-green-lt);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.75rem;
  animation: pifSuccessPop .5s cubic-bezier(0.22,1,0.36,1) both;
}
@keyframes pifSuccessPop {
  from { opacity: 0; transform: scale(.6); }
  to   { opacity: 1; transform: scale(1); }
}
.pif-success h2 {
  font-family: var(--pif-font-d);
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: .875rem;
}
.pif-success > p {
  font-size: 1.0625rem;
  color: var(--pif-tx2);
  line-height: 1.75;
  max-width: 480px;
  margin: 0 auto 2rem;
}
.pif-success-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  max-width: 560px;
  margin: 0 auto 2.5rem;
  text-align: left;
}
@media (max-width: 580px) {
  .pif-success-steps { grid-template-columns: 1fr; }
}
.pif-success-step {
  padding: 1.25rem;
  background: var(--pif-bg);
  border-radius: var(--pif-r-md);
  border: 1px solid var(--pif-grey);
}
.pif-success-n {
  font-family: var(--pif-font-d);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--pif-red);
  margin-bottom: .375rem;
}
.pif-success-step p { font-size: .875rem; color: var(--pif-tx2); line-height: 1.5; margin-bottom: 0; }

/* ============================================================
   FAQ SECTION
   ============================================================ */
.pif-faq-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 1.5rem 5rem;
}
.pif-faq-hdr { text-align: center; margin-bottom: 2.5rem; }
.pif-faq-tag {
  font-size: .8125rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--pif-blue);
  margin-bottom: .75rem;
}
.pif-faq-hdr h2 {
  font-family: var(--pif-font-d);
  font-size: 2.25rem;
  font-weight: 700;
  margin-bottom: .875rem;
}
.pif-faq-hdr p { font-size: 1.0625rem; color: var(--pif-tx2); max-width: 560px; margin: 0 auto; }
.pif-faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 768px) { .pif-faq-grid { grid-template-columns: 1fr; } }
.pif-faq-item {
  background: white;
  border: 1px solid var(--pif-grey);
  border-radius: var(--pif-r-md);
  overflow: hidden;
}
.pif-faq-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.125rem 1.375rem;
  background: none;
  text-align: left;
  font-family: var(--pif-font-b);
  font-size: .9375rem;
  font-weight: 600;
  color: var(--pif-tx1);
  cursor: pointer;
  border: none;
  transition: all .3s ease;
}
.pif-faq-btn:hover { color: var(--pif-red); }
.pif-faq-btn[aria-expanded="true"] { color: var(--pif-red); }
.pif-faq-icon {
  width: 26px; height: 26px;
  border-radius: 50%;
  border: 2px solid var(--pif-grey-d);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all .3s ease;
}
.pif-faq-btn[aria-expanded="true"] .pif-faq-icon {
  background: var(--pif-red);
  border-color: var(--pif-red);
  color: white;
  transform: rotate(45deg);
}
.pif-faq-body { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.pif-faq-body--open { max-height: 400px; }
.pif-faq-a { padding: 0 1.375rem 1.125rem; font-size: .9375rem; color: var(--pif-tx2); line-height: 1.8; }

/* ============================================================
   MOBILE STICKY CTA
   ============================================================ */
.pif-mob-cta {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 900;
  background: var(--pif-black);
  border-top: 2px solid var(--pif-red);
  padding: .75rem 1.5rem;
  grid-template-columns: 1fr 1fr;
  gap: .75rem;
}
@media (max-width: 767px) {
  .pif-mob-cta { display: grid; }
  .pif-page { padding-bottom: 72px; }
}
@media (min-width: 768px) {
  .pif-mob-cta { display: none !important; }
}

/* ============================================================
   PRINT / PDF
   ============================================================ */
.pif-print-header,
.pif-print-sig { display: none; }

@media print {
  .pif-skip-link,
  .pif-hero::after,
  .pif-hero::before,
  .pif-download-bar,
  .pif-faq-section,
  .pif-mob-cta,
  .pif-step-nav,
  .pif-sidebar,
  .pif-success { display: none !important; }

  * { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  body { font-size: 11pt; line-height: 1.5; color: #000; background: #fff; }
  .pif-page { padding-bottom: 0 !important; background: #fff; }
  .pif-layout { display: block !important; padding: 0 !important; max-width: 100% !important; }
  .pif-form-card { border: none !important; box-shadow: none !important; border-radius: 0 !important; }
  .pif-step-panel { display: block !important; animation: none !important; }

  .pif-hero { background: #000 !important; padding: 12pt 0 !important; }
  .pif-hero-h1 { font-size: 16pt !important; color: #fff !important; margin-bottom: 3pt; }
  .pif-hero-sub { font-size: 9pt !important; }
  .pif-hero-badge { display: none !important; }

  .pif-step-hdr { border-left: 3pt solid #CC0000 !important; padding: 10pt 14pt 8pt !important; }
  .pif-step-hdr::before { display: none !important; }
  .pif-step-title { font-size: 13pt !important; }
  .pif-step-tag   { font-size: 7.5pt !important; color: #CC0000 !important; }
  .pif-step-body  { padding: 8pt 14pt 4pt !important; }

  .pif-field-grid { display: grid !important; grid-template-columns: 1fr 1fr !important; gap: 6pt !important; }
  .pif-field label { font-size: 8pt !important; font-weight: 700 !important; display: block; margin-bottom: 2pt; }
  .pif-field input, .pif-field select, .pif-field textarea {
    border: 0.75pt solid #bbb !important; border-radius: 2pt !important;
    padding: 4pt 6pt !important; font-size: 9pt !important;
    background: #fff !important; width: 100% !important; min-height: 20pt !important;
  }
  .pif-field textarea { min-height: 40pt !important; }
  .pif-field-section { margin: 8pt 0 5pt !important; padding-bottom: 2pt !important; border-bottom: 0.75pt solid #ddd !important; }
  .pif-section-label { font-size: 7pt !important; color: #999 !important; }

  .pif-check-group,
  .pif-check-group--four { display: grid !important; grid-template-columns: repeat(3,1fr) !important; gap: 3pt !important; }
  .pif-check-label { border: 0.75pt solid #ccc !important; padding: 3pt 5pt !important; font-size: 8pt !important; border-radius: 2pt !important; background: #fff !important; }
  .pif-check-box, .pif-check-circle { border: 1pt solid #999 !important; background: #fff !important; width: 9pt !important; height: 9pt !important; border-radius: 1pt !important; }
  .pif-radio-pair { display: flex !important; gap: 6pt !important; }

  .pif-consent-box { background: #f8f8f8 !important; border: 0.75pt solid #ccc !important; padding: 7pt !important; }
  .pif-consent-text { max-height: none !important; overflow: visible !important; font-size: 7.5pt !important; }
  .pif-consent-text-label { font-size: 8pt !important; }
  .pif-consent-check input { width: 9pt !important; height: 9pt !important; }

  .pif-field-error, .pif-field-hint, .pif-char-count { display: none !important; }

  #step-2, #step-3, #step-4 { page-break-before: always; }

  .pif-print-header {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    padding: 8pt 14pt 6pt;
    border-bottom: 1.5pt solid #CC0000;
    margin-bottom: 0;
  }
  .pif-print-logo {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 13pt;
    font-weight: 700;
  }
  .pif-print-logo em { color: #CC0000; font-style: normal; font-weight: 400; }
  .pif-print-meta { font-size: 7pt; color: #aaa; text-align: right; line-height: 1.5; }

  .pif-print-sig {
    display: block !important;
    margin: 16pt 14pt 0;
    padding-top: 14pt;
    border-top: 0.75pt solid #ddd;
    page-break-inside: avoid;
  }
  .pif-print-sig-row { display: grid; grid-template-columns: 2fr 1fr; gap: 24pt; margin-top: 10pt; }
  .pif-print-sig-line { border-bottom: 0.75pt solid #333; height: 24pt; margin-bottom: 3pt; }
  .pif-print-sig-label { font-size: 7.5pt; color: #888; }
}

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  .pif-step-panel,
  .pif-success-icon,
  .pif-progress-fill,
  .pif-btn-next,
  .pif-check-label,
  .pif-step-num { transition: none; animation: none; }
}
