/* ===================================================================
   ANIMALS PRODUCTIONS — PERSONAL PET RELOCATION PLAN WIZARD STYLES
   Responsive, accessible, conversion-optimized multi-step form
   =================================================================== */

:root {
  --pf-forest: #234034;
  --pf-forest-dark: #172d24;
  --pf-emerald: #059669;
  --pf-emerald-hover: #047857;
  --pf-amber: #d97706;
  --pf-amber-light: #fef3c7;
  --pf-rose: #dc2626;
  --pf-rose-light: #fee2e2;
  --pf-blue: #2563eb;
  --pf-blue-light: #dbeafe;
  --pf-bg-card: #ffffff;
  --pf-bg-soft: #fbf7ee;
  --pf-border: #e6dfd5;
  --pf-border-focus: #059669;
  --pf-text-main: #1f2937;
  --pf-text-muted: #6b7280;
  --pf-radius: 14px;
  --pf-shadow: 0 10px 25px -5px rgba(35, 64, 52, 0.08), 0 8px 10px -6px rgba(35, 64, 52, 0.04);
}

/* Container */
.plan-hero-header {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 36px;
  padding: 0 16px;
}
.plan-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: #ecfdf5;
  color: #047857;
  border: 1px solid #a7f3d0;
  border-radius: 9999px;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 14px;
}
.plan-hero-title {
  font-family: var(--serif, "Fraunces", Georgia, serif);
  font-size: clamp(2rem, 3.8vw, 2.75rem);
  color: var(--pf-forest);
  line-height: 1.15;
  margin: 0 0 16px;
}
.plan-hero-sub {
  font-size: 1.12rem;
  line-height: 1.6;
  color: #4b5563;
  margin: 0 auto 24px;
  max-width: 680px;
}

/* Value Props Grid - AG-17 Centered 3+1 Layout */
.plan-props-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 960px;
  margin: 0 auto 40px;
  padding: 0 16px;
}
.plan-props-grid .plan-prop-item:nth-child(4) {
  grid-column: 2;
}

@media (max-width: 900px) and (min-width: 601px) {
  .plan-props-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .plan-props-grid .plan-prop-item:nth-child(4) {
    grid-column: auto;
  }
}

@media (max-width: 600px) {
  .plan-props-grid {
    grid-template-columns: 1fr;
  }
  .plan-props-grid .plan-prop-item:nth-child(4) {
    grid-column: auto;
  }
}
.plan-prop-item {
  background: var(--pf-bg-card);
  border: 1px solid var(--pf-border);
  border-radius: 12px;
  padding: 18px 20px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  box-shadow: 0 2px 6px rgba(0,0,0,0.03);
}
.plan-prop-icon {
  font-size: 1.6rem;
  line-height: 1;
  flex-shrink: 0;
}
.plan-prop-item h4 {
  margin: 0 0 4px;
  font-size: 0.98rem;
  color: var(--pf-forest);
  font-weight: 700;
}
.plan-prop-item p {
  margin: 0;
  font-size: 0.86rem;
  color: var(--pf-text-muted);
  line-height: 1.4;
}

/* Wizard Box */
.plan-wizard-wrap {
  max-width: 860px;
  margin: 0 auto 60px;
  padding: 0 16px;
}
.plan-wizard-card {
  background: var(--pf-bg-card);
  border: 1px solid var(--pf-border);
  border-radius: 20px;
  box-shadow: var(--pf-shadow);
  padding: 36px 32px;
  position: relative;
  overflow: hidden;
}

/* Step Progress Indicator */
.pf-steps-nav {
  display: flex;
  justify-content: space-between;
  position: relative;
  margin-bottom: 36px;
  padding-bottom: 12px;
  border-bottom: 1px solid #f0eae1;
}
.pf-step-nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 6px 8px;
  border-radius: 8px;
  color: var(--pf-text-muted);
  transition: all 0.2s ease;
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 600;
}
.pf-step-nav-item:hover {
  color: var(--pf-forest);
}
.pf-step-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.88rem;
  font-weight: 700;
  background: #f3ede2;
  color: #6b7280;
  transition: all 0.2s ease;
  flex-shrink: 0;
}
.pf-step-nav-item.active .pf-step-num {
  background: var(--pf-forest);
  color: #ffffff;
  box-shadow: 0 0 0 4px rgba(35, 64, 52, 0.15);
}
.pf-step-nav-item.active {
  color: var(--pf-forest);
}
.pf-step-nav-item.completed .pf-step-num {
  background: var(--pf-emerald);
  color: #ffffff;
}

/* Step Panels */
.pf-step-panel {
  display: none;
  animation: pfFadeIn 0.25s ease-out;
}
.pf-step-panel.active {
  display: block;
}
@keyframes pfFadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.pf-panel-header {
  margin-bottom: 24px;
}
.pf-panel-title {
  font-size: 1.35rem;
  color: var(--pf-forest);
  margin: 0 0 6px;
  font-weight: 700;
  font-family: var(--serif, "Fraunces", Georgia, serif);
}
.pf-panel-sub {
  font-size: 0.92rem;
  color: var(--pf-text-muted);
  margin: 0;
}

/* Grid & Form Inputs */
.pf-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.pf-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.pf-form-group {
  margin-bottom: 18px;
}
.pf-form-group label {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--pf-forest);
  margin-bottom: 6px;
}
.pf-form-group .pf-required {
  color: var(--pf-rose);
  margin-left: 2px;
}
.pf-input,
.pf-select,
.pf-textarea {
  width: 100%;
  box-sizing: border-box;
  font-family: inherit;
  font-size: 0.95rem;
  padding: 12px 14px;
  background: var(--pf-bg-soft);
  border: 1.5px solid var(--pf-border);
  border-radius: 10px;
  color: var(--pf-text-main);
  outline: none;
  transition: all 0.2s ease;
  min-height: 46px;
}
.pf-input:focus,
.pf-select:focus,
.pf-textarea:focus {
  border-color: var(--pf-border-focus);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.15);
}
.pf-hint {
  font-size: 0.8rem;
  color: var(--pf-text-muted);
  margin-top: 5px;
  line-height: 1.35;
}

/* Radio / Choice Chips */
.pf-chips-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.pf-choice-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: var(--pf-bg-soft);
  border: 1.5px solid var(--pf-border);
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--pf-text-main);
  cursor: pointer;
  transition: all 0.15s ease;
  user-select: none;
  min-height: 44px;
}
.pf-choice-chip input[type="radio"],
.pf-choice-chip input[type="checkbox"] {
  accent-color: var(--pf-forest);
  margin: 0;
  width: 16px;
  height: 16px;
}
.pf-choice-chip:hover {
  border-color: #cbd5e1;
  background: #f3eee3;
}
.pf-choice-chip.selected {
  background: #ecfdf5;
  border-color: var(--pf-emerald);
  color: var(--pf-forest);
}

/* Pet Cards */
.pf-pet-card {
  background: #fbf9f4;
  border: 1.5px solid #ebe4d8;
  border-radius: 14px;
  padding: 20px;
  margin-bottom: 18px;
  position: relative;
}
.pf-pet-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px dashed #e2dad0;
}
.pf-pet-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--pf-forest);
  display: flex;
  align-items: center;
  gap: 8px;
}
.pf-btn-remove-pet {
  background: none;
  border: 1px solid #fca5a5;
  color: var(--pf-rose);
  padding: 5px 12px;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s;
}
.pf-btn-remove-pet:hover {
  background: #fee2e2;
}
.pf-btn-add-pet {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  border: 1.5px dashed #059669;
  color: #059669;
  padding: 10px 18px;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  min-height: 44px;
}
.pf-btn-add-pet:hover {
  background: #ecfdf5;
}

/* Weight Badge & Total Calculation */
.pf-calc-banner {
  background: #f0fdf4;
  border: 1.5px solid #bbf7d0;
  border-radius: 12px;
  padding: 16px 20px;
  margin: 18px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.pf-calc-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #166534;
}
.pf-calc-subtitle {
  font-size: 0.82rem;
  color: #15803d;
  margin-top: 2px;
}
.pf-calc-badge {
  background: #166534;
  color: #ffffff;
  padding: 8px 16px;
  border-radius: 10px;
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  flex-shrink: 0;
}

/* Dynamic Live Feedback Alerts */
.pf-feedback-wrap {
  margin: 22px 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.pf-alert {
  padding: 16px 18px;
  border-radius: 12px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  font-size: 0.9rem;
  line-height: 1.45;
}
.pf-alert-icon {
  font-size: 1.4rem;
  line-height: 1;
  flex-shrink: 0;
  margin-top: 1px;
}
.pf-alert strong {
  display: block;
  font-weight: 700;
  margin-bottom: 3px;
}
.pf-alert-danger {
  background: var(--pf-rose-light);
  border: 1px solid #fca5a5;
  color: #991b1b;
}
.pf-alert-warning {
  background: var(--pf-amber-light);
  border: 1px solid #fcd34d;
  color: #92400e;
}
.pf-alert-info {
  background: var(--pf-blue-light);
  border: 1px solid #bfdbfe;
  color: #1e40af;
}
.pf-alert-success {
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #065f46;
}

/* Document Readiness Matrix */
.pf-doc-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 12px;
}
.pf-doc-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  background: #fbf9f4;
  border: 1px solid #ebe4d8;
  border-radius: 10px;
}
.pf-doc-info {
  flex: 1;
}
.pf-doc-name {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--pf-forest);
  margin-bottom: 2px;
}
.pf-doc-desc {
  font-size: 0.78rem;
  color: var(--pf-text-muted);
}
.pf-doc-state-group {
  display: inline-flex;
  background: #ede6d9;
  padding: 3px;
  border-radius: 8px;
  gap: 3px;
}
.pf-doc-state-btn {
  border: none;
  background: transparent;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #6b7280;
  cursor: pointer;
  transition: all 0.15s ease;
  min-height: 36px;
}
.pf-doc-state-btn.active.state-ready {
  background: #059669;
  color: #ffffff;
}
.pf-doc-state-btn.active.state-progress {
  background: #d97706;
  color: #ffffff;
}
.pf-doc-state-btn.active.state-none {
  background: #6b7280;
  color: #ffffff;
}

/* Action Bar */
.pf-actions-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid #f0eae1;
}
.pf-btn-prev {
  background: #ffffff;
  border: 1.5px solid #d1d5db;
  color: var(--pf-forest);
  padding: 12px 24px;
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s ease;
  min-height: 48px;
}
.pf-btn-prev:hover {
  background: #f9fafb;
  border-color: #9ca3af;
}
.pf-btn-next,
.pf-btn-submit {
  background: linear-gradient(135deg, #15803d 0%, #16a34a 50%, #22c55e 100%);
  border: none;
  color: #ffffff;
  padding: 13px 30px;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 14px rgba(22, 163, 74, 0.35);
  min-height: 48px;
}
.pf-btn-next:hover,
.pf-btn-submit:hover {
  background: linear-gradient(135deg, #166534 0%, #15803d 50%, #16a34a 100%);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(22, 163, 74, 0.45);
}
.pf-btn-next:disabled,
.pf-btn-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* Confirmation Screen */
.pf-confirm-card {
  text-align: center;
  padding: 30px 16px;
}
.pf-confirm-icon {
  font-size: 3.5rem;
  margin-bottom: 16px;
  display: inline-block;
  animation: pfPop 0.4s ease-out;
}
@keyframes pfPop {
  0% { transform: scale(0.5); opacity: 0; }
  70% { transform: scale(1.15); }
  100% { transform: scale(1); opacity: 1; }
}
.pf-confirm-title {
  font-size: 1.8rem;
  color: var(--pf-forest);
  margin: 0 0 12px;
  font-family: var(--serif, "Fraunces", Georgia, serif);
}
.pf-confirm-sub {
  font-size: 1.05rem;
  color: #4b5563;
  line-height: 1.6;
  max-width: 580px;
  margin: 0 auto 24px;
}
.pf-confirm-details {
  background: #fbf9f4;
  border: 1px solid #ebe4d8;
  border-radius: 12px;
  padding: 20px;
  text-align: left;
  max-width: 540px;
  margin: 0 auto 24px;
  font-size: 0.9rem;
  line-height: 1.5;
}

/* FAQ / Deliverables Section */
.plan-details-section {
  max-width: 860px;
  margin: 0 auto 60px;
  padding: 0 16px;
}
.plan-section-title {
  font-size: 1.75rem;
  color: var(--pf-forest);
  margin: 0 0 20px;
  font-family: var(--serif, "Fraunces", Georgia, serif);
  text-align: center;
}
.plan-deliverables-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
  margin-bottom: 40px;
}
.plan-deliverable-card {
  background: #ffffff;
  border: 1px solid var(--pf-border);
  border-radius: 14px;
  padding: 22px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}
.plan-deliverable-card h4 {
  margin: 0 0 8px;
  font-size: 1.05rem;
  color: var(--pf-forest);
}
.plan-deliverable-card p {
  margin: 0;
  font-size: 0.88rem;
  color: #4b5563;
  line-height: 1.5;
}

.plan-disclaimer-box {
  background: #f8fafc;
  border: 1.5px solid #cbd5e1;
  border-radius: 14px;
  padding: 24px 28px;
  margin-top: 36px;
  font-size: 0.88rem;
  color: #475569;
  line-height: 1.6;
}
.plan-disclaimer-box h4 {
  margin: 0 0 8px;
  color: #1e293b;
  font-size: 1rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .plan-wizard-card {
    padding: 24px 18px;
  }
  .pf-steps-nav {
    overflow-x: auto;
    padding-bottom: 8px;
    gap: 4px;
  }
  .pf-step-nav-item {
    font-size: 0.75rem;
    padding: 4px 6px;
  }
  .pf-step-title {
    display: none;
  }
  .pf-step-num {
    width: 28px;
    height: 28px;
    font-size: 0.8rem;
  }
  .pf-grid-2, .pf-grid-3 {
    grid-template-columns: 1fr;
  }
  .pf-doc-row {
    flex-direction: column;
    align-items: flex-start;
  }
  .pf-calc-banner {
    flex-direction: column;
    align-items: flex-start;
  }
  .pf-calc-badge {
    align-self: flex-start;
  }
}

