/* 
  DIRT SITES - Complete Responsive Package Builder & Intake Styling
  Industrial Palette: Caterpillar Yellow (#F2C500), Black (#11100D), Charcoal (#1B1915, #23211C), Steel (#38342D)
  100% Mobile Optimized for iPhone, Android, Tablets, and Desktop Viewports
*/

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg-dark-1: #11100D;
  --bg-dark-2: #161411;
  --bg-dark-3: #1C1A16;
  --bg-dark-card: #24211C;
  --steel-border: #3A362E;
  --steel-border-light: #524C41;
  
  --text-light-primary: #F4F1E9;
  --text-light-secondary: #C8C0B3;
  --text-muted: #9A8F80;

  --yellow-accent: #F2C500;
  --yellow-dark: #D6A900;
  --yellow-light-bg: rgba(242, 197, 0, 0.12);

  --radius-sm: 4px;
  --radius-md: 6px;
  --radius-lg: 8px;

  --font-headline: 'Bebas Neue', sans-serif;
  --font-body: 'Instrument Sans', 'DM Sans', sans-serif;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-dark-1);
  color: var(--text-light-primary);
  line-height: 1.5;
  min-height: 100vh;
  padding-bottom: 140px; /* Ensures full scroll clearance above bottom bar on mobile */
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

.text-center { text-align: center; }
.text-gold { color: var(--yellow-accent); }
.hidden { display: none !important; }

/* CONTAINER */
.package-page-container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 100px 20px 0 20px;
}

/* HEADER */
.package-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(17, 16, 13, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--steel-border);
  padding: 12px 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.brand-logo-wrapper { display: flex; align-items: center; }
.brand-logo-img {
  height: 40px;
  width: auto;
  object-fit: contain;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  font-family: var(--font-headline);
  font-size: 16px;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  gap: 8px;
  white-space: nowrap;
  min-height: 46px; /* Touch friendly */
}

.btn-primary {
  background: var(--yellow-accent);
  color: var(--bg-dark-1);
  font-weight: 900;
}

.btn-primary:hover {
  background: var(--yellow-dark);
  transform: translateY(-1px);
}

.btn-pulse {
  animation: pulseButton 2s infinite;
}

@keyframes pulseButton {
  0% { box-shadow: 0 0 0 0 rgba(242, 197, 0, 0.6); }
  70% { box-shadow: 0 0 0 12px rgba(242, 197, 0, 0); }
  100% { box-shadow: 0 0 0 0 rgba(242, 197, 0, 0); }
}

.btn-secondary {
  background: var(--bg-dark-card);
  color: var(--text-light-primary);
  border: 1px solid var(--steel-border);
}

.btn-secondary:hover {
  border-color: var(--yellow-accent);
  color: var(--yellow-accent);
}

.btn-outline-glass {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--steel-border);
  color: var(--text-light-primary);
}

.btn-outline-glass:hover {
  border-color: var(--yellow-accent);
  color: var(--yellow-accent);
}

.btn-lg {
  padding: 16px 36px;
  font-size: 20px;
}

.btn-full { width: 100%; }

/* HERO INTRO & CONFIDENCE BADGE */
.intake-hero-banner {
  padding: 30px 0 16px;
  text-align: center;
}

.intake-eyebrow {
  display: inline-block;
  background: var(--yellow-light-bg);
  color: var(--yellow-accent);
  font-family: var(--font-headline);
  font-size: 13px;
  letter-spacing: 1.5px;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  margin-bottom: 10px;
}

.intake-title {
  font-family: var(--font-headline);
  font-size: clamp(30px, 6vw, 48px);
  line-height: 1.05;
  color: var(--text-light-primary);
  margin-bottom: 10px;
}

.intake-sub {
  font-size: clamp(14px, 3.5vw, 16px);
  color: var(--text-light-secondary);
  max-width: 820px;
  margin: 0 auto 16px;
  line-height: 1.5;
}

.confidence-badge-line {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--steel-border);
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--yellow-accent);
  line-height: 1.4;
}

/* HAND-HOLDING STEP GUIDANCE BANNER */
.step-guidance-banner {
  background: #1D1A13;
  border: 2px solid var(--yellow-accent);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  margin-bottom: 20px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.guidance-icon {
  font-size: 22px;
  color: var(--yellow-accent);
  margin-top: 2px;
  flex-shrink: 0;
}

.guidance-title {
  font-family: var(--font-headline);
  font-size: 17px;
  color: var(--yellow-accent);
  margin-bottom: 2px;
  letter-spacing: 0.5px;
}

.guidance-desc {
  font-size: 13px;
  color: var(--text-light-primary);
  line-height: 1.45;
}

/* PROGRESS STEPPER BAR (DESKTOP) */
.stepper-nav-bar {
  margin: 16px 0 24px;
  background: var(--bg-dark-2);
  border: 1px solid var(--steel-border);
  border-radius: var(--radius-md);
  padding: 12px 16px;
}

.stepper-steps-list {
  display: flex;
  align-items: center;
  justify-content: space-between;
  list-style: none;
  gap: 6px;
}

.stepper-step-item {
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  opacity: 0.5;
  transition: opacity 0.2s, color 0.2s;
}

.stepper-step-item.active {
  opacity: 1;
  color: var(--yellow-accent);
}

.stepper-step-item.completed {
  opacity: 0.9;
  color: var(--text-light-primary);
}

.step-num {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--bg-dark-card);
  border: 1px solid var(--steel-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-headline);
  font-size: 13px;
  flex-shrink: 0;
}

.stepper-step-item.active .step-num {
  background: var(--yellow-accent);
  color: var(--bg-dark-1);
  border-color: var(--yellow-accent);
  font-weight: 900;
}

.step-label {
  font-family: var(--font-headline);
  font-size: 14px;
  letter-spacing: 0.5px;
}

/* MOBILE STEP COUNTER BAR */
.mobile-step-counter {
  display: none;
  background: var(--bg-dark-2);
  border: 1px solid var(--steel-border);
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  text-align: center;
  font-family: var(--font-headline);
  font-size: 15px;
  color: var(--yellow-accent);
  margin-bottom: 20px;
  letter-spacing: 0.5px;
}

/* MAIN LAYOUT WITH STICKY SUMMARY */
.intake-layout-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 24px;
  align-items: start;
}

.form-step-panel {
  background: var(--bg-dark-2);
  border: 1px solid var(--steel-border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
}

.step-header-box {
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--steel-border);
}

.step-title {
  font-family: var(--font-headline);
  font-size: clamp(24px, 5vw, 34px);
  color: var(--text-light-primary);
  line-height: 1.05;
  margin-bottom: 6px;
}

.step-desc {
  font-size: 14px;
  color: var(--text-light-secondary);
  line-height: 1.45;
}

/* PACKAGE CARDS (STEP 1) */
.package-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 20px;
}

.package-option-card {
  background: var(--bg-dark-card);
  border: 2px solid var(--steel-border);
  border-radius: var(--radius-md);
  padding: 20px 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  position: relative;
  transition: all 0.2s ease;
}

.package-option-card:hover {
  border-color: var(--steel-border-light);
}

.package-option-card.selected {
  border-color: var(--yellow-accent);
  background: #1D1A14;
  box-shadow: 0 0 20px rgba(242, 197, 0, 0.2);
}

.card-selected-badge {
  display: none;
  background: #00cc88;
  color: #000;
  font-family: var(--font-headline);
  font-size: 12px;
  font-weight: 900;
  padding: 3px 8px;
  border-radius: 3px;
  margin-bottom: 8px;
  align-items: center;
  gap: 4px;
  width: fit-content;
}

.package-option-card.selected .card-selected-badge {
  display: inline-flex;
}

.card-top-tag {
  position: absolute;
  top: -12px;
  right: 14px;
  background: var(--yellow-accent);
  color: var(--bg-dark-1);
  font-family: var(--font-headline);
  font-size: 11px;
  font-weight: 900;
  padding: 2px 8px;
  border-radius: var(--radius-sm);
}

.pkg-name {
  font-family: var(--font-headline);
  font-size: 26px;
  color: var(--text-light-primary);
  margin-bottom: 4px;
}

.package-option-card.selected .pkg-name {
  color: var(--yellow-accent);
}

.pkg-desc {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 14px;
  line-height: 1.4;
}

.pkg-price-row {
  margin-bottom: 14px;
  padding: 10px;
  background: rgba(0,0,0,0.4);
  border-radius: var(--radius-sm);
}

.setup-price {
  font-family: var(--font-headline);
  font-size: 28px;
  color: var(--text-light-primary);
  line-height: 1;
}

.monthly-price {
  font-size: 12px;
  font-weight: 700;
  color: var(--yellow-accent);
  margin-top: 4px;
}

.pkg-list {
  list-style: none;
  margin-bottom: 16px;
  font-size: 13px;
  color: var(--text-light-secondary);
}

.pkg-list li {
  margin-bottom: 8px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.35;
}

.pkg-list i {
  color: var(--yellow-accent);
  margin-top: 3px;
  flex-shrink: 0;
}

.pkg-subtext-note {
  font-size: 11px;
  color: var(--text-muted);
  display: block;
  margin-top: 2px;
}

.card-select-btn {
  width: 100%;
  padding: 12px;
  font-family: var(--font-headline);
  font-size: 16px;
  border: 1px solid var(--yellow-accent);
  background: var(--yellow-accent);
  color: var(--bg-dark-1);
  border-radius: var(--radius-sm);
  transition: all 0.2s;
  cursor: pointer;
  text-align: center;
  display: block;
  font-weight: 900;
  text-decoration: none;
}

.package-option-card.selected .card-select-btn,
.card-select-btn:hover {
  background: var(--yellow-dark);
  color: var(--bg-dark-1);
  border-color: var(--yellow-dark);
}

.pkg-cta-pair {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  width: 100%;
}

.pkg-cta-pair .btn,
.pkg-cta-pair .card-select-btn {
  flex: 1;
  min-width: 120px;
  text-align: center;
}

/* NOT SURE OPTION */
.unsure-option-box {
  background: rgba(0,0,0,0.3);
  border: 2px dashed var(--steel-border);
  border-radius: var(--radius-md);
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  transition: all 0.2s;
  gap: 12px;
}

.unsure-option-box:hover, .unsure-option-box.selected {
  border-color: var(--yellow-accent);
  background: rgba(242, 197, 0, 0.08);
}

.unsure-title {
  font-family: var(--font-headline);
  font-size: 18px;
  color: var(--text-light-primary);
}

.unsure-desc {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.4;
}

/* HELP ME CHOOSE GUIDANCE CALLOUT */
.help-choose-guidance-callout {
  background: #1D1A14;
  border: 2px solid var(--yellow-accent);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  margin-top: 14px;
}

/* STICKY SUMMARY PANEL (DESKTOP) */
.sticky-summary-panel {
  position: sticky;
  top: 80px;
  background: var(--bg-dark-card);
  border: 1px solid var(--steel-border);
  border-top: 4px solid var(--yellow-accent);
  border-radius: var(--radius-md);
  padding: 20px;
}

.summary-panel-title {
  font-family: var(--font-headline);
  font-size: 20px;
  color: var(--text-light-primary);
  margin-bottom: 14px;
  border-bottom: 1px solid var(--steel-border);
  padding-bottom: 8px;
}

.summary-item-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  font-size: 13px;
}

.summary-label { color: var(--text-muted); }
.summary-val { font-weight: 700; color: var(--text-light-primary); text-align: right; }

.summary-divider {
  height: 1px;
  background: var(--steel-border);
  margin: 14px 0;
}

/* UNMISSABLE FLOATING BOTTOM PROMPT BAR */
.unmissable-next-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #161411;
  border-top: 3px solid var(--yellow-accent);
  padding: 12px 20px;
  padding-bottom: calc(12px + env(safe-area-inset-bottom));
  z-index: 9999;
  box-shadow: 0 -8px 24px rgba(0,0,0,0.9);
}

.next-bar-inner {
  max-width: 1320px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.next-bar-instruction {
  display: flex;
  align-items: center;
  gap: 10px;
  overflow: hidden;
}

.next-bar-step-tag {
  background: var(--yellow-accent);
  color: #000;
  font-family: var(--font-headline);
  font-size: 13px;
  font-weight: 900;
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  flex-shrink: 0;
}

.next-bar-text {
  font-family: var(--font-headline);
  font-size: 18px;
  color: var(--text-light-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* FORM ELEMENTS & GROUPS */
.form-group-block {
  margin-bottom: 20px;
}

.form-label-title {
  font-family: var(--font-headline);
  font-size: 17px;
  color: var(--text-light-primary);
  margin-bottom: 6px;
  display: block;
}

.form-label-sub {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 8px;
  display: block;
}

/* 16px font-size on inputs prevents auto-zoom on iOS */
.input-text-field, .select-dropdown, .textarea-field {
  width: 100%;
  background: rgba(0,0,0,0.5);
  border: 1px solid var(--steel-border);
  color: var(--text-light-primary);
  padding: 12px 14px;
  font-family: var(--font-body);
  font-size: 16px;
  border-radius: var(--radius-sm);
  outline: none;
  transition: border-color 0.2s;
  appearance: none;
}

.input-text-field.field-error {
  border-color: #ff5555 !important;
  background: rgba(255, 85, 85, 0.1) !important;
}

.input-text-field:focus, .select-dropdown:focus, .textarea-field:focus {
  border-color: var(--yellow-accent);
}

.form-2col-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.form-3col-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 14px;
}

/* CHECKBOX & RADIO TILES */
.tiles-checkbox-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.tile-option-card {
  background: rgba(0,0,0,0.4);
  border: 1px solid var(--steel-border);
  border-radius: var(--radius-sm);
  padding: 12px 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.2s;
  user-select: none;
  min-height: 44px;
}

.tile-option-card:hover {
  border-color: var(--steel-border-light);
}

.tile-option-card.selected {
  border-color: var(--yellow-accent);
  background: rgba(242, 197, 0, 0.1);
}

.tile-option-card input[type="checkbox"],
.tile-option-card input[type="radio"] {
  accent-color: var(--yellow-accent);
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.tile-label-text {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-light-primary);
  line-height: 1.3;
}

/* FILE UPLOAD DROPZONES */
.upload-dropzone-box {
  background: rgba(0,0,0,0.4);
  border: 2px dashed var(--steel-border);
  border-radius: var(--radius-md);
  padding: 24px 16px;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.2s;
  margin-bottom: 16px;
}

.upload-dropzone-box:hover {
  border-color: var(--yellow-accent);
}

.upload-icon {
  font-size: 28px;
  color: var(--yellow-accent);
  margin-bottom: 8px;
}

/* REVIEW & RECOMMENDATION BOXES (STEP 8) */
.review-section-block {
  background: rgba(0,0,0,0.4);
  border: 1px solid var(--steel-border);
  border-radius: var(--radius-md);
  padding: 16px;
  margin-bottom: 16px;
}

.review-sec-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  border-bottom: 1px solid var(--steel-border);
  padding-bottom: 6px;
}

.review-sec-title {
  font-family: var(--font-headline);
  font-size: 18px;
  color: var(--yellow-accent);
}

.review-edit-btn {
  font-size: 12px;
  color: var(--text-light-secondary);
  background: transparent;
  border: 1px solid var(--steel-border);
  padding: 2px 8px;
  border-radius: var(--radius-sm);
  cursor: pointer;
}

/* CUSTOMER PROJECT PAGE — obvious 4-step process */
.portal-project-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--steel-border);
}

.portal-company-title {
  font-family: var(--font-headline);
  font-size: clamp(28px, 6vw, 42px);
  color: var(--text-light-primary);
  line-height: 1.05;
  margin-top: 4px;
}

.portal-head-sub {
  font-size: 14px;
  color: var(--text-light-secondary);
  margin-top: 4px;
}

.portal-status-badge {
  font-family: var(--font-headline);
  font-size: 14px;
  letter-spacing: 0.6px;
  background: var(--yellow-light-bg);
  color: var(--yellow-accent);
  border: 1px solid var(--yellow-accent);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  white-space: nowrap;
}

.portal-process {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin: 0 0 20px;
  padding: 10px;
  background: var(--bg-dark-2);
  border: 1px solid var(--steel-border);
  border-radius: var(--radius-md);
}

.portal-process-step {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  opacity: 0.45;
  border: 1px solid transparent;
}

.portal-process-step.is-done {
  opacity: 0.9;
}

.portal-process-step.is-done .portal-process-num {
  background: #1a3a2a;
  border-color: #33ffa0;
  color: #33ffa0;
}

.portal-process-step.is-active {
  opacity: 1;
  background: var(--yellow-light-bg);
  border-color: var(--yellow-accent);
}

.portal-process-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid var(--steel-border);
  background: var(--bg-dark-card);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-headline);
  font-size: 15px;
  flex-shrink: 0;
}

.portal-process-step.is-active .portal-process-num {
  background: var(--yellow-accent);
  color: #000;
  border-color: var(--yellow-accent);
}

.portal-process-copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.portal-process-label {
  font-family: var(--font-headline);
  font-size: 16px;
  letter-spacing: 0.4px;
  line-height: 1;
}

.portal-process-hint {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 3px;
}

.portal-now-box {
  background: #1E1B13;
  border: 2px solid var(--yellow-accent);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  margin-bottom: 20px;
}

.portal-now-kicker {
  font-family: var(--font-headline);
  font-size: 14px;
  letter-spacing: 1px;
  color: var(--yellow-accent);
  margin-bottom: 4px;
}

.portal-now-text {
  font-size: 16px;
  color: var(--text-light-primary);
  line-height: 1.45;
  margin: 0;
}

.portal-lookup-panel {
  max-width: 640px;
  margin: 0 auto;
}

.portal-lookup-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 8px 0 24px;
}

.portal-lookup-error {
  color: #ff8a8a;
  font-size: 14px;
  margin: 0;
}

.portal-lookup-split {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding-top: 16px;
  border-top: 1px solid var(--steel-border);
  color: var(--text-muted);
  font-size: 14px;
}

.recommendation-box {
  background: #1E1B13;
  border: 2px solid var(--yellow-accent);
  border-radius: var(--radius-md);
  padding: 18px;
  margin-bottom: 20px;
}

.rec-title-line {
  font-family: var(--font-headline);
  font-size: 22px;
  color: var(--yellow-accent);
  margin-bottom: 6px;
}

/* ACTION BUTTONS ROW */
.step-actions-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--steel-border);
  gap: 12px;
}

.step-actions-right {
  display: flex;
  gap: 12px;
  align-items: center;
}

/* ================================================== */
/* COMPLETE MOBILE RESPONSIVE BREAKPOINTS             */
/* ================================================== */

@media (max-width: 1024px) {
  .intake-layout-grid {
    grid-template-columns: 1fr;
    min-width: 0;
  }
  .sticky-summary-panel {
    display: none;
  }
  .package-cards-grid {
    grid-template-columns: 1fr;
  }
  .portal-process {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  body {
    padding-bottom: 160px; /* Space for stacked bottom prompt bar */
    overflow-x: hidden;
  }

  .package-page-container {
    padding: 110px 12px 0 12px !important;
    max-width: 100%;
    box-sizing: border-box;
  }

  .brand-logo-wrapper {
    display: flex !important;
    align-items: center !important;
    flex-shrink: 0 !important;
  }

  .brand-logo-img {
    display: block !important;
    height: 38px !important;
    width: auto !important;
    max-width: 180px !important;
    object-fit: contain !important;
    opacity: 1 !important;
    visibility: visible !important;
  }

  .header-right .btn {
    font-size: 11px;
    padding: 6px 10px;
    min-height: 36px;
  }

  .stepper-nav-bar { display: none; }
  .mobile-step-counter { display: block; }

  .portal-process {
    grid-template-columns: 1fr 1fr;
    gap: 6px;
    padding: 8px;
  }

  .portal-process-hint {
    display: none;
  }

  .portal-process-label {
    font-size: 14px;
  }

  .portal-now-text {
    font-size: 15px;
  }

  .intake-layout-grid,
  .form-panels-column,
  .form-step-panel {
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
    overflow-x: hidden;
  }

  .form-step-panel {
    padding: 18px 12px;
    border-radius: var(--radius-md);
  }

  .input-text-field, .select-dropdown, .textarea-field {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .tiles-checkbox-grid { grid-template-columns: 1fr; }
  .form-2col-grid, .form-3col-grid { grid-template-columns: 1fr; gap: 12px; }

  .unsure-option-box {
    flex-direction: column;
    text-align: center;
    align-items: stretch;
  }

  .unsure-option-box .btn {
    width: 100%;
    margin-top: 8px;
  }

  .step-actions-row {
    flex-direction: column-reverse;
    gap: 10px;
    width: 100%;
  }

  .step-actions-right {
    flex-direction: column;
    width: 100%;
    gap: 10px;
  }

  .step-actions-row .btn,
  .step-actions-right .btn {
    width: 100%;
    white-space: normal;
    text-align: center;
    line-height: 1.25;
    word-break: break-word;
  }

  /* Unmissable Next Prompt Bar on Mobile */
  .unmissable-next-bar {
    padding: 10px 14px;
    padding-bottom: calc(10px + env(safe-area-inset-bottom));
  }

  .next-bar-inner {
    flex-direction: column;
    gap: 8px;
    align-items: stretch;
  }

  .next-bar-instruction {
    justify-content: center;
    text-align: center;
  }

  .next-bar-text {
    font-size: 14px;
    white-space: normal;
    word-break: break-word;
  }

  .next-bar-inner .btn {
    width: 100%;
    font-size: 15px;
    padding: 12px 14px;
    min-height: 46px;
    white-space: normal;
    text-align: center;
    line-height: 1.25;
  }
}

@media (max-width: 480px) {
  .package-page-container {
    padding: 110px 10px 0 10px !important;
  }
  .intake-hero-banner {
    padding: 16px 0 10px;
  }
  .intake-eyebrow {
    font-size: 11px;
    letter-spacing: 1px;
  }
  .intake-title {
    font-size: 24px;
    line-height: 1.1;
  }
  .intake-sub {
    font-size: 13px;
  }
  .step-title {
    font-size: 20px;
  }
  .guidance-title {
    font-size: 13px;
  }
  .guidance-desc {
    font-size: 12px;
  }
  .package-option-card {
    padding: 20px 14px;
  }
  .tile-option-card {
    padding: 10px 8px;
    font-size: 13px;
  }
  .form-step-panel {
    padding: 14px 10px;
  }
  .upload-dropzone-box {
    padding: 16px 10px;
  }
}


