/* ==================== REDESIGN 3A: VISUALIZED PACKAGE TIERS & CONSULTATION ==================== */
#pricing {
  padding-block: clamp(56px, 6.5vw, 96px);
  font-size: 16px;
  line-height: 1.65;
}

#pricing .offer-heading {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: clamp(24px, 5vw, 68px);
  align-items: end;
  margin-bottom: clamp(32px, 4vw, 52px);
}
#pricing #pricing-title {
  font-size: clamp(34px, 3.5vw, 50px);
}
#pricing .offer-heading > p {
  font-size: clamp(16px, 1.25vw, 18px);
  max-width: 44ch;
  color: var(--muted);
}
#pricing .offer-heading > p strong {
  color: var(--ink);
}

/* 3 Concrete Package Cards */
.package-tiers-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 2.4vw, 30px);
  align-items: stretch;
  margin-bottom: 36px;
}

.tier-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 3px solid var(--teal);
  border-radius: 4px;
  padding: clamp(22px, 2.5vw, 32px);
  box-shadow: 0 8px 24px rgba(38, 62, 56, 0.04);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.tier-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(38, 62, 56, 0.09);
}

.tier-card-featured {
  border: 2px solid var(--ink);
  border-top: 4px solid var(--clay);
  box-shadow: 0 16px 38px rgba(38, 62, 56, 0.11);
}
.featured-ribbon {
  position: absolute;
  top: -13px;
  right: 20px;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--clay);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* Miniature Document Stack Visuals on each Tier Card */
.tier-visual-preview {
  background: #edf2ee;
  border: 1px solid #d4dfd6;
  border-radius: 4px;
  padding: 18px 16px 12px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.tier-card-featured .tier-visual-preview {
  background: #e4ede7;
  border-color: #bdd0c4;
}
.tier-scope-pill {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.85);
  padding: 3px 10px;
  border-radius: 999px;
  border: 1px solid #c6d4c9;
}

.mini-doc-stack {
  position: relative;
  width: 130px;
  height: 92px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mini-page {
  width: 68px;
  height: 88px;
  background: var(--white);
  border: 1px solid #b6c5ba;
  border-radius: 2px;
  box-shadow: 0 4px 12px rgba(38, 62, 56, 0.12);
  padding: 7px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.mini-bar.teal {
  height: 10px;
  background: var(--teal);
  border-radius: 1px;
}
.mini-line {
  height: 4px;
  background: #c7d3ca;
  border-radius: 1px;
}
.mini-line.w-70 { width: 70%; }
.mini-line.w-80 { width: 80%; margin-inline: auto; }
.mini-line.w-50 { width: 50%; }
.mini-line.light { background: #e5c77b; }
.mini-table-row {
  height: 8px;
  border-bottom: 1px solid #dce5de;
}
.mini-table-row.alt { background: #eff5f2; }

/* Multi-doc fanned stack */
.multi-doc .back-left,
.multi-doc .back-right {
  position: absolute;
  top: 4px;
  background: #fbfaf8;
}
.multi-doc .back-left {
  transform: rotate(-10deg) translateX(-22px);
}
.multi-doc .back-right {
  transform: rotate(10deg) translateX(22px);
}
.multi-doc .front-cover {
  position: relative;
  z-index: 2;
  background: #243746;
  border-color: #c8a962;
  align-items: center;
  justify-content: center;
}
.mini-emblem {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1.5px solid #e5c77b;
  background: rgba(229, 199, 123, 0.2);
}
.mini-photo-box {
  width: 100%;
  height: 28px;
  background: #3d5a6c;
  border-radius: 1px;
  margin-top: 2px;
}

/* System stack */
.system-doc .sys-left {
  position: absolute;
  transform: translateX(-26px) scale(0.92);
  background: #263e38;
}
.system-doc .sys-center {
  position: absolute;
  transform: translateX(0) scale(0.96);
  background: #fbfaf8;
}
.system-doc .sys-right {
  position: relative;
  z-index: 2;
  transform: translateX(24px);
}
.mini-swatches {
  display: flex;
  gap: 3px;
  margin-bottom: 4px;
}
.mini-swatches i {
  width: 12px;
  height: 12px;
  border-radius: 2px;
  background: var(--teal);
}
.mini-swatches i:nth-child(2) { background: var(--clay); }
.mini-swatches i:nth-child(3) { background: #e5c77b; }

.tier-label {
  font-size: 0.78125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--teal);
  margin-bottom: 6px;
}
.tier-card-featured .tier-label { color: var(--clay); }

.tier-body h3 {
  font-size: clamp(22px, 2vw, 27px);
  margin-bottom: 10px;
}
.tier-price {
  font: 400 clamp(36px, 3.4vw, 48px)/1.1 var(--serif);
  color: var(--ink);
  letter-spacing: -0.03em;
  margin-block: 10px 12px;
}
.tier-price span {
  font: 400 0.9rem/1.4 var(--sans);
  color: var(--muted);
  letter-spacing: 0;
}
.tier-desc {
  font-size: 0.9375rem;
  color: var(--muted);
  margin-bottom: 18px;
}

.tier-inclusions {
  list-style: none;
  margin: 0 0 24px;
  padding: 18px 0 0;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 14px;
}
.tier-inclusions li {
  position: relative;
  padding-left: 22px;
}
.tier-inclusions li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--teal);
  font-weight: 700;
}
.tier-inclusions strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink);
}
.tier-inclusions span {
  display: block;
  font-size: 0.8125rem;
  color: var(--muted);
  margin-top: 2px;
}
.tier-cta {
  width: 100%;
  margin-top: auto;
}
.tier-card-featured .tier-cta {
  background: var(--ink);
  border-color: var(--ink);
}
.tier-card-featured .tier-cta:hover {
  background: var(--clay);
  border-color: var(--clay);
}

/* Included Consultation & Guarantee Panel */
#pricing .offer-panel {
  display: grid;
  grid-template-columns: 1.12fr 1fr;
  border: 1px solid var(--line);
  border-top: 3px solid var(--teal);
  border-radius: 4px;
  background: var(--white);
  overflow: hidden;
}
#pricing .document-project,
#pricing .consultation {
  padding: clamp(24px, 3vw, 42px);
}
#pricing .included-label {
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--teal);
  font-weight: 700;
  margin-bottom: 10px;
}
#pricing .document-project h3,
#pricing .consultation h3 {
  font-size: clamp(25px, 2.4vw, 32px);
  margin-bottom: 12px;
}
#pricing .scope {
  max-width: 50ch;
  color: var(--muted);
  font-size: 0.96875rem;
}
#pricing .inclusions {
  list-style: none;
  margin: 24px 0 0;
  padding: 20px 0 0;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 16px;
}
#pricing .inclusions li {
  position: relative;
  padding-left: 23px;
}
#pricing .inclusions li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--teal);
  font-weight: 700;
}
#pricing .inclusions strong {
  display: block;
  font-weight: 600;
  color: var(--teal);
  font-size: 0.96875rem;
}
#pricing .inclusions span {
  display: block;
  font-size: 0.875rem;
  color: var(--muted);
  margin-top: 2px;
}
#pricing .consultation {
  background: #eff5f2;
  border-left: 1px solid var(--line);
}
#pricing .educator {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-block: 20px;
}
#pricing .educator img {
  width: 64px;
  height: 80px;
  object-fit: cover;
  object-position: 50% 25%;
  border-radius: 32px 32px 2px 2px;
}
#pricing .educator strong {
  display: block;
  font-size: 0.96875rem;
  font-weight: 600;
}
#pricing .educator span {
  display: block;
  font-size: 0.8125rem;
  color: var(--muted);
  margin-top: 2px;
}
#pricing .consultation > p:not(.included-label):not(.consultation-note) {
  font-size: 0.9375rem;
}
#pricing .consultation-list {
  margin: 16px 0;
  padding-left: 19px;
  display: grid;
  gap: 8px;
  font-size: 0.875rem;
  color: var(--muted);
}
#pricing .consultation-note {
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 0.84375rem;
  color: var(--muted);
}

@media (max-width: 980px) {
  .package-tiers-grid {
    grid-template-columns: 1fr;
    max-width: 580px;
    margin-inline: auto;
  }
  #pricing .offer-heading,
  #pricing .offer-panel {
    grid-template-columns: 1fr;
  }
  #pricing .consultation {
    border-left: 0;
    border-top: 1px solid var(--line);
  }
}
