/* ============================================================
   ACME SAS — wizard.css v1.0
   Service page components: page hero, wizard, forms,
   plan selector, domain picker, feature grids, tech cards,
   need selector, lines counter, eligibility results.
   ============================================================ */

/* ================================================================
   NAV ACTIVE STATE
   ================================================================ */
.nav__links a.active {
  color: var(--cyan);
}
.nav__links a.active::after {
  transform: scaleX(1);
}

/* ================================================================
   PAGE HERO  (inner pages — not full viewport)
   ================================================================ */
.page-hero {
  position: relative;
  overflow: hidden;
  background: var(--bg-surface);
  padding-top: 120px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--border-subtle);
}

.page-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

/* Fewer / smaller orbs than main hero */
.page-hero__bg .orb-ph-1 {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  will-change: transform;
  pointer-events: none;
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(0,170,203,0.22) 0%, transparent 68%);
  top: -30%;
  left: -12%;
  animation: orbA 28s ease-in-out infinite;
}
.page-hero__bg .orb-ph-2 {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  will-change: transform;
  pointer-events: none;
  width: 340px;
  height: 340px;
  background: radial-gradient(circle, rgba(165,204,55,0.14) 0%, transparent 68%);
  bottom: -20%;
  right: -5%;
  animation: orbB 34s ease-in-out infinite;
}
.page-hero__bg .orb-ph-3 {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  will-change: transform;
  pointer-events: none;
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, rgba(249,165,22,0.10) 0%, transparent 68%);
  top: 35%;
  right: 22%;
  animation: orbC 22s ease-in-out infinite;
}

.page-hero__breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
  justify-content: center;
}
.page-hero__breadcrumb a {
  color: var(--text-muted);
  transition: color var(--t-fast);
}
.page-hero__breadcrumb a:hover {
  color: var(--text-secondary);
}
.page-hero__breadcrumb .sep {
  font-size: 0.7rem;
  color: var(--text-muted);
  opacity: 0.6;
}
.page-hero__breadcrumb span:last-child {
  color: var(--text-secondary);
}

.page-hero__content {
  text-align: center;
  position: relative;
  z-index: 1;
}

.page-hero__title {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.035em;
  margin-bottom: 1.125rem;
}

.page-hero__subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 580px;
  margin: 0 auto 2rem;
  line-height: 1.75;
}

.page-hero__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Variant page dédiée sécurité */
.page-hero--security {
  padding-top: 140px;
  padding-bottom: 72px;
}
.page-hero--security .page-hero__content {
  max-width: 900px;
  margin: 0 auto;
}
.page-hero--security .page-hero__title {
  font-size: clamp(2rem, 4.7vw, 3.2rem);
}

/* ================================================================
   WIZARD COMPONENT (multi-step onboarding)
   ================================================================ */
.wizard {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-xl);
  overflow: hidden;
  max-width: 860px;
  margin: 0 auto;
}

.wizard__header {
  display: grid;
  background: var(--bg-elevated);
  border-bottom: 1px solid var(--border-subtle);
}
.wizard__header--4 { grid-template-columns: repeat(4, 1fr); }
.wizard__header--5 { grid-template-columns: repeat(5, 1fr); }

.wizard__step-tab {
  padding: 1.25rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  position: relative;
}
.wizard__step-tab::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 50%;
  background: var(--border-subtle);
}
.wizard__step-tab:last-child::after {
  display: none;
}

.wizard__step-num {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  font-weight: 800;
}

.wizard__step-tab.step-done .wizard__step-num {
  background: var(--green);
  color: #fff;
}
.wizard__step-tab.step-active .wizard__step-num {
  background: var(--cyan);
  color: #fff;
  box-shadow: 0 0 0 4px rgba(0,170,203,0.18);
}
.wizard__step-tab.step-pending .wizard__step-num {
  background: var(--bg-elevated);
  color: var(--text-muted);
  border: 2px solid var(--border-subtle);
}

.wizard__step-label {
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.25;
}
.wizard__step-tab.step-done .wizard__step-label   { color: var(--green); }
.wizard__step-tab.step-active .wizard__step-label { color: var(--cyan); }
.wizard__step-tab.step-pending .wizard__step-label { color: var(--text-muted); }

.wizard__body {
  padding: 2.5rem;
}

.wizard__footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem 2.5rem;
  border-top: 1px solid var(--border-subtle);
  background: var(--bg-elevated);
}

.wizard__title {
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}
.wizard__subtitle {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  line-height: 1.65;
}

/* ================================================================
   FORM ELEMENTS
   ================================================================ */
.field {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
  margin-bottom: 1.125rem;
}
.field label {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.field input,
.field select,
.field textarea {
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-md);
  padding: 0.8rem 1.1rem;
  font-family: var(--font);
  font-size: 0.9375rem;
  color: var(--text-primary);
  outline: none;
  width: 100%;
  transition: border-color 150ms ease, box-shadow 150ms ease;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(0,170,203,0.12);
}
.field input::placeholder,
.field textarea::placeholder {
  color: var(--text-muted);
}
.field select {
  appearance: none;
  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 d='M1 1l5 5 5-5' stroke='%234B5D78' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}
.field textarea {
  min-height: 110px;
  resize: vertical;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.field-hint {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

/* DNS option radio cards */
.dns-option-card {
  background: var(--bg-elevated);
  border: 2px solid var(--border-subtle);
  border-radius: var(--r-md);
  padding: 1rem 1.25rem;
  cursor: pointer;
  transition: all var(--t-fast);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
}
.dns-option-card:hover {
  border-color: var(--border-medium);
}
.dns-option-card.selected {
  border-color: var(--cyan);
  background: rgba(0,170,203,0.05);
}
.dns-option-card__radio {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid var(--border-medium);
  flex-shrink: 0;
  margin-top: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--t-fast);
}
.dns-option-card.selected .dns-option-card__radio {
  border-color: var(--cyan);
  background: var(--cyan);
}
.dns-option-card.selected .dns-option-card__radio::after {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #fff;
}
.dns-option-card__title {
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.dns-option-card__desc {
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.6;
}
.dns-badge-rec {
  font-size: 0.65rem;
  font-weight: 800;
  background: rgba(0,170,203,0.15);
  color: var(--cyan);
  padding: 2px 8px;
  border-radius: var(--r-full);
}

/* Section divider within wizard body */
.wizard-section-title {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding-top: 1.5rem;
  margin-top: 1.5rem;
  margin-bottom: 1rem;
  border-top: 1px solid var(--border-subtle);
}

/* ================================================================
   PLAN SELECTOR CARDS
   ================================================================ */
.plan-selector {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.plan-card {
  background: var(--bg-card);
  border: 2px solid var(--border-subtle);
  border-radius: var(--r-xl);
  padding: 1.5rem;
  cursor: pointer;
  transition: all 250ms ease;
  position: relative;
  overflow: hidden;
}
.plan-card:hover {
  border-color: var(--border-medium);
  transform: translateY(-3px);
}
.plan-card.selected {
  border-color: var(--cyan);
  background: rgba(0,170,203,0.06);
  box-shadow: inset 0 0 0 1px var(--cyan), var(--glow-cyan);
}

.plan-card__check {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--cyan);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  opacity: 0;
  transition: opacity 250ms ease;
}
.plan-card.selected .plan-card__check {
  opacity: 1;
}

.plan-card__badge {
  position: absolute;
  top: -11px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--cyan);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 2px 10px;
  border-radius: var(--r-full);
  white-space: nowrap;
}

.plan-card__name {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-secondary);
  margin-bottom: 0.875rem;
}

.plan-card__price {
  margin-bottom: 1rem;
}
.plan-card__amount {
  font-size: 2rem;
  font-weight: 900;
  letter-spacing: -0.04em;
}
.plan-card__currency {
  font-size: 1rem;
  font-weight: 700;
  vertical-align: super;
  margin-top: 0.3rem;
  display: inline-block;
}
.plan-card__period {
  font-size: 0.8rem;
  color: var(--text-muted);
}
.plan-card__custom {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--cyan);
}

.plan-card__features {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  list-style: none;
}
.plan-card__features li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: var(--text-secondary);
}
.plan-card__features li i {
  color: var(--green);
  font-size: 0.68rem;
  flex-shrink: 0;
}

/* Disabled plan state (used in internet wizard) */
.plan-card.unavailable {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none !important;
}
.plan-card__unavail-note {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.75rem;
  font-style: italic;
}

/* ================================================================
   DOMAIN RESULT CARDS IN WIZARD
   ================================================================ */
.domain-pick {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.domain-pick-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.875rem 1.25rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-md);
  transition: all 150ms ease;
  cursor: pointer;
}
.domain-pick-item:hover {
  border-color: var(--border-medium);
}
.domain-pick-item.selected {
  border-color: var(--cyan);
  background: rgba(0,170,203,0.06);
}
.domain-pick-item.taken {
  cursor: default;
  opacity: 0.55;
}
.domain-pick-item__name {
  font-weight: 700;
  font-size: 0.9375rem;
}
.domain-pick-item__price {
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--green);
}
.domain-pick-item__taken {
  font-size: 0.84rem;
  color: var(--text-muted);
}

/* Existing domain input */
.existing-domain-wrap {
  border-top: 1px solid var(--border-subtle);
  padding-top: 1.5rem;
  margin-top: 1.5rem;
}
.existing-domain-sep {
  text-align: center;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  margin-bottom: 1.25rem;
  position: relative;
}
.existing-domain-sep::before,
.existing-domain-sep::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 40%;
  height: 1px;
  background: var(--border-subtle);
}
.existing-domain-sep::before { left: 0; }
.existing-domain-sep::after  { right: 0; }

/* ================================================================
   SUCCESS STATE
   ================================================================ */
.wizard-success {
  text-align: center;
  padding: 3rem 2rem;
}

.wizard-success__icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(165,204,55,0.12);
  border: 1px solid rgba(165,204,55,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  color: var(--green);
  margin: 0 auto 1.5rem;
}

.wizard-success__title {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
}

.wizard-success__text {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.75;
  max-width: 480px;
  margin: 0 auto 2rem;
}

.wizard-success__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ================================================================
   FEATURE HIGHLIGHT GRID (service pages)
   ================================================================ */
.feat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.feat-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-xl);
  padding: 2rem;
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  transition: all var(--t-base);
}
.feat-card:hover {
  border-color: var(--border-medium);
  transform: translateY(-3px);
}

.feat-card__icon {
  width: 48px;
  height: 48px;
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.feat-card__icon--cyan   { background: rgba(0,170,203,0.12);   color: var(--cyan);   border: 1px solid rgba(0,170,203,0.22); }
.feat-card__icon--green  { background: rgba(165,204,55,0.12);  color: var(--green);  border: 1px solid rgba(165,204,55,0.22); }
.feat-card__icon--orange { background: rgba(249,165,22,0.12);  color: var(--orange); border: 1px solid rgba(249,165,22,0.22); }

.feat-card__title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}
.feat-card__desc {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* ================================================================
   TECHNOLOGY COMPARISON (internet page)
   ================================================================ */
.tech-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.tech-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-xl);
  padding: 1.75rem;
  text-align: center;
  transition: all var(--t-base);
}
.tech-card:hover {
  border-color: var(--border-medium);
  transform: translateY(-4px);
}
.tech-card.recommended {
  border-color: var(--border-medium);
  box-shadow: var(--glow-cyan);
}

.tech-card__icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}
.tech-card__icon--cyan   { color: var(--cyan); }
.tech-card__icon--green  { color: var(--green); }
.tech-card__icon--orange { color: var(--orange); }

.tech-card__name {
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 0.375rem;
}
.tech-card__speed {
  font-size: 0.84rem;
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
}

.tech-card__stats {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}
.tech-card__stat {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
}
.tech-card__stat-label { color: var(--text-secondary); }
.tech-card__stat-value { font-weight: 700; }

.tech-card__badge {
  font-size: 0.68rem;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: var(--r-full);
  display: inline-block;
}
.tech-card__badge--rec {
  background: rgba(0,170,203,0.12);
  color: var(--cyan);
}

/* ================================================================
   NEED SELECTOR (telephonie)
   ================================================================ */
.need-selector {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.need-card {
  background: var(--bg-card);
  border: 2px solid var(--border-subtle);
  border-radius: var(--r-xl);
  padding: 1.5rem;
  text-align: center;
  cursor: pointer;
  transition: all 250ms ease;
}
.need-card:hover {
  border-color: var(--border-medium);
  transform: translateY(-3px);
}
.need-card.selected {
  border-color: var(--cyan);
  background: rgba(0,170,203,0.06);
  box-shadow: var(--glow-cyan);
}

.need-card__icon {
  font-size: 1.75rem;
  margin-bottom: 0.875rem;
}
.need-card__title {
  font-size: 0.9375rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}
.need-card__desc {
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* ================================================================
   LINES COUNTER
   ================================================================ */
.lines-counter {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  justify-content: center;
  margin: 1.5rem 0;
}

.lines-counter__btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg-elevated);
  border: 1px solid var(--border-medium);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--text-primary);
  cursor: pointer;
  transition: all var(--t-fast);
}
.lines-counter__btn:hover {
  background: var(--bg-card);
  border-color: var(--cyan);
  color: var(--cyan);
}

.lines-counter__num {
  font-size: 3rem;
  font-weight: 900;
  color: var(--cyan);
  line-height: 1;
  min-width: 80px;
  text-align: center;
}

.lines-recommendation {
  text-align: center;
  margin-top: 0.5rem;
}
.lines-recommendation span {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: var(--r-full);
}
.lines-recommendation .rec-solo {
  background: rgba(0,170,203,0.12);
  color: var(--cyan);
}
.lines-recommendation .rec-equipe {
  background: rgba(165,204,55,0.12);
  color: var(--green);
}
.lines-recommendation .rec-entreprise {
  background: rgba(249,165,22,0.12);
  color: var(--orange);
}

/* ================================================================
   ELIGIBILITY RESULT
   ================================================================ */
.elig-result {
  background: var(--bg-elevated);
  border: 1px solid var(--border-medium);
  border-radius: var(--r-xl);
  padding: 2rem;
  margin-top: 1.5rem;
}

.elig-result__header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.elig-result__icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.elig-result__icon--ok {
  background: rgba(165,204,55,0.12);
  color: var(--green);
  border: 1px solid rgba(165,204,55,0.25);
}

.elig-result__title {
  font-size: 1.1rem;
  font-weight: 800;
}
.elig-result__desc {
  font-size: 0.84rem;
  color: var(--text-secondary);
}

.elig-techs {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.elig-tech {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.875rem 1.25rem;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-md);
}

.elig-tech__info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.elig-tech__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}
.elig-tech__dot--available { background: var(--green); box-shadow: 0 0 8px rgba(165,204,55,0.5); }
.elig-tech__dot--partial   { background: var(--orange); box-shadow: 0 0 8px rgba(249,165,22,0.5); }
.elig-tech__dot--unavailable { background: var(--text-muted); }

.elig-tech__name  { font-weight: 700; font-size: 0.9rem; }
.elig-tech__speed { font-size: 0.78rem; color: var(--text-secondary); }

.elig-tech__right {
  display: flex;
  align-items: center;
  gap: 0.875rem;
}

.elig-tech__badge {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--r-full);
}
.elig-tech__badge.ok      { background: rgba(165,204,55,0.12); color: var(--green); }
.elig-tech__badge.partial { background: rgba(249,165,22,0.12); color: var(--orange); }
.elig-tech__badge.unavail { background: rgba(75,93,120,0.20); color: var(--text-muted); }

/* Loading overlay inside wizard body */
.wizard-loading {
  text-align: center;
  padding: 3rem 2rem;
  color: var(--text-muted);
}
.wizard-loading i {
  font-size: 2rem;
  color: var(--cyan);
  display: block;
  margin-bottom: 1rem;
}
.wizard-loading p {
  font-size: 0.9rem;
}

/* ================================================================
   RESPONSIVE — 768px
   ================================================================ */
@media (max-width: 768px) {
  .page-hero {
    padding-top: 120px;
    padding-bottom: 60px;
  }
  .page-hero__actions {
    flex-direction: column;
    align-items: center;
  }

  .wizard__header--4 { grid-template-columns: repeat(2, 1fr); }
  .wizard__header--5 { grid-template-columns: repeat(3, 1fr); }
  .wizard__step-tab { padding: 0.875rem 0.75rem; gap: 0.5rem; }
  .wizard__step-label { display: none; }
  .wizard__body { padding: 1.5rem; }
  .wizard__footer { padding: 1.25rem 1.5rem; flex-wrap: wrap; }

  .field-row { grid-template-columns: 1fr; }

  .plan-selector { grid-template-columns: 1fr; }

  .feat-grid { grid-template-columns: 1fr; }

  .tech-cards { grid-template-columns: 1fr; }

  .need-selector { grid-template-columns: 1fr; }

  .lines-counter__num { font-size: 2.2rem; }

  .wizard-success { padding: 2rem 1.25rem; }
  .wizard-success__actions { flex-direction: column; align-items: stretch; }
}

/* ================================================================
   RESPONSIVE — 480px
   ================================================================ */
@media (max-width: 480px) {
  .wizard__header--4 { grid-template-columns: repeat(2, 1fr); }
  .wizard__header--5 { grid-template-columns: repeat(3, 1fr); }
  .wizard__body { padding: 1.25rem; }
  .wizard__footer { padding: 1rem 1.25rem; }

  .page-hero__title { font-size: clamp(1.9rem, 7vw, 2.5rem); }

  .lines-counter { gap: 1rem; }
  .lines-counter__num { font-size: 2rem; min-width: 60px; }
  .lines-counter__btn { width: 38px; height: 38px; }
}
