/* Interaction enhancements — progress, pricing CTA, contact summary */

.mobile-sticky-cta[hidden] {
  display: none !important;
}

/* Page progress */
.page-progress {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 110;
  pointer-events: none;
  background: rgba(255, 255, 255, 0.04);
}

.page-progress__bar {
  display: block;
  height: 100%;
  width: calc(var(--progress, 0) * 100%);
  background: linear-gradient(90deg, var(--accent-blue), var(--accent-cyan));
  transform-origin: left center;
  transition: width 0.12s linear;
}

.animations-off .page-progress__bar,
@media (prefers-reduced-motion: reduce) {
  .page-progress__bar {
    transition: none;
  }
}

.nav__link.is-active {
  color: var(--text-primary);
  background: rgba(59, 130, 246, 0.1);
}

@media (min-width: 1024px) {
  .nav__list .nav__link.is-active {
    color: var(--accent-cyan);
    box-shadow: inset 0 -2px 0 var(--accent-cyan);
  }
}

/* Pricing */
.pricing-list {
  transition: opacity 0.25s ease;
}

.pricing-list:not(.is-active) {
  opacity: 0;
}

.pricing-list.is-active {
  opacity: 1;
}

.price-card__cta {
  width: 100%;
  margin-top: 1rem;
  padding: 0.65rem 1rem;
  min-height: 44px;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  border: 1px solid rgba(59, 130, 246, 0.35);
  background: rgba(59, 130, 246, 0.1);
  color: var(--accent-cyan);
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.2s ease;
  position: relative;
  z-index: 1;
}

.price-card__cta:hover,
.price-card__cta:focus-visible {
  background: rgba(59, 130, 246, 0.2);
  border-color: rgba(59, 130, 246, 0.55);
  transform: translateY(-2px);
}

.price-card.is-selected {
  border-color: rgba(59, 130, 246, 0.45);
  box-shadow: 0 0 28px rgba(59, 130, 246, 0.15);
}

/* Contact form */
.form-selection-summary {
  padding: 0.75rem 1rem;
  margin-bottom: 1rem;
  background: rgba(59, 130, 246, 0.08);
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: var(--radius-md);
}

.form-selection-summary__label {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}

.form-selection-summary__value {
  font-weight: 600;
  font-size: 0.95rem;
}

.form-selection-summary__price {
  color: var(--accent-cyan);
  margin-left: 0.35rem;
}

.form-selection-summary__clear {
  margin-top: 0.5rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  text-decoration: underline;
  min-height: 44px;
}

.form-selection-summary__clear:hover {
  color: var(--text-primary);
}

#service.is-highlighted,
.form-group input.is-valid,
.form-group textarea.is-valid,
.form-group select.is-valid {
  border-color: rgba(34, 197, 94, 0.55);
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.12);
}

.form-group input.is-invalid,
.form-group textarea.is-invalid {
  border-color: rgba(239, 68, 68, 0.55);
}

#service.is-highlighted {
  animation: fieldPulse 1.5s ease 1;
}

@keyframes fieldPulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2); }
  50% { box-shadow: 0 0 0 5px rgba(59, 130, 246, 0.35); }
}
