﻿/* ============================================================
   ROCKWELL — Tax Preparation Page
   ============================================================ */

.page-header {
  padding-top: calc(var(--nav-height) + var(--space-20));
  padding-bottom: var(--space-16);
  background: linear-gradient(135deg, var(--color-bg-warm) 0%, var(--color-white) 100%);
  border-bottom: 1px solid var(--color-border);
}

.page-header h1 { margin-block: var(--space-4) var(--space-6); }
.page-header .lead { color: var(--color-text-muted); }

/* ── Pricing ── */
.pricing-section { background: var(--color-white); }

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-8);
  margin-bottom: var(--space-10);
}

.pricing-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
  padding: var(--space-10);
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.pricing-card--featured {
  border-color: var(--color-teal);
  box-shadow: 0 0 0 1px var(--color-teal), var(--shadow-md);
}

.pricing-card__badge {
  position: absolute;
  top: -1px;
  right: 1.5rem;
  background: var(--color-teal);
  color: var(--color-white);
  font-size: var(--text-xs);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--tracking-wide);
  padding: 0.3rem 0.9rem;
  border-radius: 0 0 var(--radius-md) var(--radius-md);
}

.pricing-card__header { }

.pricing-card__title {
  font-size: clamp(var(--text-xl), 2vw, var(--text-2xl));
  margin-top: var(--space-2);
}

.pricing-card__price { }

.pricing-card__plus {
  font-size: 0.6em;
  vertical-align: super;
  color: var(--color-teal);
}

.pricing-card__body p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: var(--leading-relaxed);
  max-width: 100%;
}

.pricing-card__features {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin-top: var(--space-6);
  padding-top: var(--space-6);
  border-top: 1px solid var(--color-border);
}

.pricing-card__features li {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--text-sm);
  color: var(--color-text-primary);
}

.pricing-card__features li::before {
  content: '';
  display: inline-block;
  width: 16px;
  height: 16px;
  min-width: 16px;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='8' cy='8' r='7' fill='%233892A9' opacity='0.15'/%3E%3Cpolyline points='4,8 7,11 12,5' stroke='%233892A9' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
  margin-top: 2px;
}

.pricing-disclaimer {
  max-width: 760px;
  margin-inline: auto;
}

/* ── Process Steps ── */
.how-it-works { background-color: var(--color-bg-warm); }

.process-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 760px;
  margin-inline: auto;
  counter-reset: none;
}

.process-step {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: var(--space-8);
  padding-block: var(--space-8);
  border-bottom: 1px solid var(--color-border);
}

.process-step:last-child { border-bottom: none; }

.process-step__number {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--color-teal);
  color: var(--color-white);
  font-family: var(--font-serif);
  font-size: var(--text-lg);
  font-weight: var(--fw-bold);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.process-step__content h3 {
  font-size: var(--text-lg);
  margin-bottom: var(--space-2);
}

.process-step__content p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  max-width: 100%;
}

/* ── Notes ── */
.tax-notes { background: var(--color-white); }

.tax-notes h2 { margin-bottom: 0; }

.tax-notes__grid {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  margin-top: var(--space-8);
}

.tax-notes__grid .notice {
  line-height: var(--leading-relaxed);
}

/* ── Responsive ── */
@media (max-width: 767px) {
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .process-step {
    grid-template-columns: 48px 1fr;
    gap: var(--space-5);
  }
}


/* ── Interactive Starting Fee Estimator ── */
.fee-calculator {
  background: var(--color-bg-warm);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-8) var(--space-10);
  margin-top: var(--space-12);
}

.fee-calculator__header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: var(--space-6);
  padding-bottom: var(--space-4);
  border-bottom: 1px solid var(--color-border);
}

.fee-calculator__title {
  font-family: var(--font-serif);
  font-size: var(--text-xl);
  color: var(--color-brown);
}

.fee-calculator__result {
  text-align: right;
}

.fee-calculator__result-label {
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wider);
  color: var(--color-text-muted);
}

.fee-calculator__result-price {
  font-family: var(--font-serif);
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--color-teal);
}

.fee-calculator__controls {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--space-6);
}

.fee-calculator__group label {
  display: block;
  font-size: var(--text-xs);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  color: var(--color-brown);
  margin-bottom: var(--space-2);
}

.fee-calculator__select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background-color: var(--color-white);
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  color: var(--color-text-primary);
}

.fee-calculator__note {
  margin-top: var(--space-4);
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  line-height: 1.5;
}

.fee-calculator__action {
  margin-top: var(--space-6);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Mobile: short label, full-width button */
.btn-text-full  { display: none; }
.btn-text-short { display: inline; }

.calc-proceed-btn {
  width: 100%;
  justify-content: center;
  white-space: normal;
  text-align: center;
  overflow: hidden;
}

/* 640px+: full label, auto-width */
@media (min-width: 640px) {
  .btn-text-full  { display: inline; }
  .btn-text-short { display: none; }
  .calc-proceed-btn {
    width: auto;
    white-space: nowrap;
  }
}

