/* ==========================================================================
   GarageDoor.biz — High-Conversion Marketplace Component Styles
   (Matching Wizard, Zip Cost Estimator, Contractor Cards, 25-Point Inspection)
   ========================================================================== */

/* ==========================================================================
   1. Thumbtack-Style 4-Step Instant Match Wizard Card
   ========================================================================== */

.wizard-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2.25rem;
  box-shadow: var(--shadow-xl);
  position: relative;
}

.wizard-header {
  margin-bottom: 1.5rem;
}

.wizard-step-indicator {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.step-dot {
  width: 28px;
  height: 6px;
  border-radius: var(--radius-full);
  background: var(--border);
  transition: var(--transition);
}

.step-dot.active {
  background: var(--primary);
  width: 44px;
}

.wizard-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 0.25rem;
}

.wizard-sub {
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* Wizard Options Grid */
.wizard-options-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.wizard-option-btn {
  background: #ffffff;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1rem 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
  transition: var(--transition);
  text-align: left;
}

.wizard-option-btn:hover {
  border-color: var(--primary);
  background: var(--primary-subtle);
}

.wizard-option-btn.selected {
  border-color: var(--primary);
  background: var(--primary-subtle);
  box-shadow: 0 0 0 1px var(--primary);
}

.opt-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}

.opt-label {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.2;
}

.opt-sub {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.15rem;
}

.wizard-input-group {
  margin-bottom: 1.5rem;
}

.wizard-text-input {
  width: 100%;
  padding: 0.85rem 1.15rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  font-size: 1rem;
  font-family: var(--font-body);
  color: var(--text-main);
  outline: none;
  transition: var(--transition);
}

.wizard-text-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-subtle);
}

.wizard-nav-btns {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.btn-wizard-back {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  padding: 0.5rem;
}

.btn-wizard-next {
  background: var(--primary);
  color: #fff;
  border: none;
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius-full);
  font-weight: 800;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-wizard-next:hover {
  background: var(--primary-hover);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

/* ==========================================================================
   2. Interactive 2026 True Cost Guide Component
   ========================================================================== */

.cost-guide-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: var(--shadow-card);
  margin-bottom: 4rem;
}

.metro-tabs-bar {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 2rem;
}

.metro-tab-btn {
  background: var(--bg-card-subtle);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  padding: 0.45rem 1.15rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-secondary);
  cursor: pointer;
  white-space: nowrap;
  transition: var(--transition);
}

.metro-tab-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.metro-tab-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.cost-benchmark-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
}

.cost-item-box {
  background: var(--bg-page);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.cost-item-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cost-item-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-main);
}

.cost-item-avg {
  font-size: 1.45rem;
  font-weight: 900;
  color: var(--emerald);
}

/* Cost Spectrum Bar */
.spectrum-bar-wrap {
  margin: 0.5rem 0;
}

.spectrum-track {
  height: 8px;
  background: #e2e8f0;
  border-radius: 4px;
  position: relative;
  overflow: hidden;
}

.spectrum-fill {
  height: 100%;
  background: linear-gradient(90deg, #38bdf8, #059669, #f59e0b);
  border-radius: 4px;
}

.spectrum-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 600;
  margin-top: 0.35rem;
}

/* ==========================================================================
   3. Verified Contractor Profile Directory Cards
   ========================================================================== */

.pros-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-top: 2.5rem;
}

.pro-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-card);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.pro-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
  border-color: var(--border-hover);
}

.pro-card-header {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.pro-avatar {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: var(--bg-card-subtle);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  flex-shrink: 0;
}

.pro-badge-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.25rem;
}

.badge-top-pro {
  background: #fef3c7;
  color: #92400e;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-sm);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.badge-verified-license {
  background: var(--emerald-subtle);
  color: var(--emerald);
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.pro-name {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text-main);
}

.pro-meta-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.star-rating {
  color: #f59e0b;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.pro-features-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.pro-card-footer {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  display: flex;
  gap: 0.75rem;
}

.btn-pro-call {
  flex: 1;
  text-align: center;
  background: var(--primary);
  color: #fff;
  font-weight: 800;
  font-size: 0.9rem;
  padding: 0.75rem;
  border-radius: var(--radius-md);
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.btn-pro-call:hover {
  background: var(--primary-hover);
}

.btn-pro-profile {
  background: var(--bg-card-subtle);
  border: 1px solid var(--border);
  color: var(--text-main);
  font-weight: 700;
  font-size: 0.88rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
}

.btn-pro-profile:hover {
  border-color: var(--primary);
  color: var(--primary);
}

/* ==========================================================================
   4. 25-Point Comprehensive Safety Inspection Checklist
   ========================================================================== */

.inspection-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: var(--shadow-card);
}

.inspection-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}

.inspection-col-title {
  font-size: 1rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--primary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.inspection-checklist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.check-item {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.check-icon {
  color: var(--emerald);
  font-weight: 900;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

/* ==========================================================================
   5. Before & After Visual Comparison Slider
   ========================================================================== */

.before-after-wrapper {
  position: relative;
  width: 100%;
  max-width: 900px;
  height: 480px;
  margin: 2.5rem auto 0;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border);
  user-select: none;
}

.ba-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ba-image-before {
  z-index: 1;
}

.ba-image-after-wrap {
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  height: 100%;
  overflow: hidden;
  z-index: 2;
  border-right: 3px solid #ffffff;
  box-shadow: 2px 0 10px rgba(0, 0, 0, 0.3);
}

.ba-image-after {
  position: absolute;
  top: 0;
  left: 0;
  width: 900px;
  height: 480px;
  max-width: none;
  object-fit: cover;
}

.ba-slider-handle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: ew-resize;
  z-index: 3;
  font-size: 0.9rem;
  font-weight: 900;
  color: var(--text-main);
}

.ba-badge-label {
  position: absolute;
  bottom: 1.5rem;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 800;
  color: #fff;
  z-index: 4;
}

.badge-label-before {
  left: 1.5rem;
  background: rgba(15, 23, 42, 0.8);
  backdrop-filter: blur(8px);
}

.badge-label-after {
  right: 1.5rem;
  background: rgba(5, 150, 105, 0.85);
  backdrop-filter: blur(8px);
}

/* ==========================================================================
   6. Mobile-Sticky Emergency Dispatch Bottom Bar
   ========================================================================== */

.mobile-dispatch-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px);
  border-top: 1px solid var(--border);
  padding: 0.75rem 1rem calc(0.75rem + env(safe-area-inset-bottom));
  z-index: 9999;
  display: none;
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.08);
}

.mobile-dispatch-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  max-width: 500px;
  margin: 0 auto;
}

@media (max-width: 767.98px) {
  .mobile-dispatch-bar {
    display: block;
  }
  body {
    padding-bottom: 74px;
  }
  .inspection-grid {
    grid-template-columns: 1fr;
  }
  .wizard-options-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   7. Directory Subscription Plans & Pricing Cards
   ========================================================================== */

.pricing-plans-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin: 2.5rem 0;
}

.plan-card {
  background: #ffffff;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2.25rem;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: var(--transition);
}

.plan-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: var(--border-hover);
}

.plan-card.plan-popular {
  border-color: var(--emerald);
  box-shadow: 0 8px 30px rgba(5, 150, 105, 0.15);
}

.plan-popular-tag {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--emerald);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.2rem 0.85rem;
  border-radius: var(--radius-full);
}

.plan-header {
  margin-bottom: 1.5rem;
}

.plan-name {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 0.25rem;
}

.plan-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.plan-price-wrap {
  margin: 1.25rem 0 1.5rem;
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
}

.plan-price {
  font-size: 2.85rem;
  font-weight: 900;
  color: var(--text-main);
  line-height: 1;
}

.plan-period {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-muted);
}

.plan-features-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  flex: 1;
}

.plan-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.plan-check {
  color: var(--emerald);
  font-weight: 900;
  flex-shrink: 0;
}

.btn-select-plan {
  width: 100%;
  padding: 0.85rem;
  border-radius: var(--radius-md);
  font-weight: 800;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
}

.btn-plan-default {
  background: var(--bg-card-subtle);
  border: 1.5px solid var(--border);
  color: var(--text-main);
}

.btn-plan-default:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.btn-plan-primary {
  background: var(--emerald);
  color: #fff;
  box-shadow: 0 2px 8px rgba(5, 150, 105, 0.25);
}

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

/* ==========================================================================
   8. Interactive Coordinate Map & Radius Controls
   ========================================================================== */

.map-card-wrapper {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2rem;
  box-shadow: var(--shadow-card);
  margin-bottom: 2rem;
}

#map-container {
  width: 100%;
  height: 380px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  z-index: 1;
}

.coord-readout-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1rem;
  padding: 0.85rem 1.25rem;
  background: var(--bg-page);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}

.coord-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
}

.coord-badge {
  background: #ffffff;
  border: 1px solid var(--border);
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-sm);
  font-weight: 800;
  font-family: monospace;
  color: var(--primary);
}

/* ==========================================================================
   9. Email & SMS Verification Modal
   ========================================================================== */

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(8px);
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.modal-card {
  background: #ffffff;
  border-radius: var(--radius-xl);
  max-width: 500px;
  width: 100%;
  padding: 2.5rem;
  box-shadow: var(--shadow-xl);
  text-align: center;
  border: 1px solid var(--border);
  animation: modalPop 0.3s var(--ease);
}

@keyframes modalPop {
  from { transform: scale(0.95); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.pin-inputs-grid {
  display: flex;
  justify-content: center;
  gap: 0.6rem;
  margin: 1.75rem 0 1.25rem;
}

.pin-digit-box {
  width: 48px;
  height: 56px;
  border: 2px solid var(--border);
  border-radius: var(--radius-md);
  text-align: center;
  font-size: 1.6rem;
  font-weight: 900;
  font-family: monospace;
  outline: none;
  transition: var(--transition);
}

.pin-digit-box:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-subtle);
}

@media (max-width: 992px) {
  .pricing-plans-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
  }
}

/* ==========================================================================
   10. Expanded Business Submission: Categories, Hours, Social & Media
   ========================================================================== */

/* Category Select Grid */
.category-select-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 0.85rem;
  margin-top: 0.75rem;
}

.category-card-label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: #ffffff;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  padding: 0.85rem 1rem;
  cursor: pointer;
  transition: var(--transition);
  user-select: none;
}

.category-card-label:hover {
  border-color: var(--primary);
  background: var(--primary-subtle);
}

.category-card-label input[type="checkbox"]:checked + .cat-name {
  color: var(--primary);
  font-weight: 800;
}

.category-card-label:has(input[type="checkbox"]:checked) {
  border-color: var(--primary);
  background: var(--primary-subtle);
  box-shadow: 0 0 0 1px var(--primary);
}

/* Primary 1-Choice Category Grid */
.primary-category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
  margin-top: 0.75rem;
  margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
  .primary-category-grid {
    grid-template-columns: 1fr;
  }
}

.primary-cat-card {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: #ffffff;
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.15rem;
  cursor: pointer;
  transition: var(--transition);
  user-select: none;
}

.primary-cat-card:hover {
  border-color: var(--primary);
  background: var(--primary-subtle);
}

.primary-cat-card input[type="radio"] {
  accent-color: var(--primary);
  width: 18px;
  height: 18px;
  margin-top: 0.2rem;
  flex-shrink: 0;
}

.primary-cat-card:has(input[type="radio"]:checked) {
  border-color: var(--primary);
  background: #f0f7ff;
  box-shadow: 0 0 0 1.5px var(--primary);
}

.primary-cat-card:has(input[type="radio"]:checked) .primary-cat-title {
  color: var(--primary);
}

.primary-cat-icon {
  font-size: 2rem;
  flex-shrink: 0;
  line-height: 1;
}

.primary-cat-body {
  flex: 1;
}

.primary-cat-badge {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
  background: #e2e8f0;
  color: #475569;
  margin-bottom: 0.35rem;
}

.primary-cat-card:has(input[type="radio"]:checked) .primary-cat-badge {
  background: #dbeafe;
  color: var(--primary);
}

.primary-cat-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 0.2rem;
}

.primary-cat-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.35;
}

.cat-icon {
  font-size: 1.25rem;
}

.cat-name {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-main);
}

/* Interactive Listing Badges & Trust Tags */
.prompt-chips-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.prompt-chip {
  background: var(--bg-card-subtle);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  user-select: none;
}

.prompt-chip:hover {
  background: var(--primary-subtle);
  color: var(--primary);
  border-color: var(--primary-border);
  transform: translateY(-1px);
}

.prompt-chip.active {
  background: #ecfdf5 !important;
  color: #065f46 !important;
  border-color: #10b981 !important;
  font-weight: 700 !important;
  box-shadow: 0 1px 3px rgba(16, 185, 129, 0.25);
}

.prompt-chip.active::after {
  content: "✓";
  font-weight: 900;
  font-size: 0.82rem;
  color: #059669;
  margin-left: 0.2rem;
}

/* Selected Badges Shelf */
.selected-badges-shelf {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md);
  padding: 0.85rem 1rem;
  margin-top: 0.85rem;
  margin-bottom: 0.85rem;
  transition: var(--transition);
}

.selected-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: #e0f2fe;
  color: #0369a1;
  border: 1px solid #bae6fd;
  border-radius: var(--radius-full);
  padding: 0.25rem 0.65rem;
  font-size: 0.76rem;
  font-weight: 700;
  margin: 0.2rem;
  animation: fadeInBadge 0.2s ease-out;
}

@keyframes fadeInBadge {
  from { opacity: 0; transform: scale(0.92); }
  to { opacity: 1; transform: scale(1); }
}

.selected-badge-pill .remove-btn {
  background: none;
  border: none;
  color: #0284c7;
  cursor: pointer;
  font-size: 0.95rem;
  padding: 0 0.15rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  border-radius: 50%;
  transition: color 0.15s ease;
}

.selected-badge-pill .remove-btn:hover {
  color: #b91c1c;
}

/* Toast Notification for Tag Toggles */
.tag-toast-notification {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: #0f172a;
  color: #ffffff;
  padding: 0.85rem 1.35rem;
  border-radius: var(--radius-md);
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.35), 0 8px 10px -6px rgba(0, 0, 0, 0.2);
  font-size: 0.86rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  z-index: 99999;
  opacity: 0;
  transform: translateY(15px);
  pointer-events: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid #334155;
}

.tag-toast-notification.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* Operating Hours Editor */
.hours-editor-container {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin-top: 0.75rem;
}

.hours-presets-bar {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}

.btn-preset {
  background: var(--bg-card-subtle);
  border: 1px solid var(--border);
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-md);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-main);
  cursor: pointer;
  transition: var(--transition);
}

.btn-preset:hover {
  background: var(--emerald-subtle);
  color: var(--emerald);
  border-color: var(--emerald-border);
}

.day-schedule-row {
  display: grid;
  grid-template-columns: 110px 1fr 1fr 90px 80px;
  gap: 0.75rem;
  align-items: center;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 0.88rem;
}

.day-schedule-row:last-child {
  border-bottom: none;
}

.day-name {
  font-weight: 700;
  color: var(--text-main);
}

.time-select {
  padding: 0.45rem 0.65rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: #fff;
  font-size: 0.85rem;
  color: var(--text-main);
  outline: none;
}

.time-select:focus {
  border-color: var(--primary);
}

@media (max-width: 640px) {
  .day-schedule-row {
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    padding: 0.75rem 0;
  }
  .day-name {
    grid-column: span 2;
  }
}

/* Social Media Row */
.social-input-group {
  display: flex;
  align-items: center;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  background: #ffffff;
  overflow: hidden;
  transition: var(--transition);
}

.social-input-group:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-subtle);
}

.social-icon-box {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-card-subtle);
  border-right: 1px solid var(--border);
  font-size: 1.15rem;
  flex-shrink: 0;
}

.social-text-input {
  flex: 1;
  border: none;
  outline: none;
  padding: 0.75rem 1rem;
  font-size: 0.9rem;
  color: var(--text-main);
  font-family: var(--font-body);
}

/* Upload Dropzone & Photo Removal */
.upload-dropzone {
  position: relative;
  border: 2px dashed var(--border-hover);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.25rem;
  text-align: center;
  background: var(--bg-page);
  cursor: pointer;
  transition: all 0.2s ease;
  display: block;
}

.upload-dropzone:hover {
  border-color: var(--primary);
  background: var(--primary-subtle);
  transform: translateY(-1px);
}

/* Logo Preview Card with [X] */
.logo-preview-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  margin-top: 0.75rem;
  box-shadow: var(--shadow-sm);
}

.logo-preview-img {
  width: 72px;
  height: 72px;
  object-fit: contain;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-sm);
  padding: 4px;
}

.logo-preview-meta {
  flex: 1;
  text-align: left;
}

.logo-preview-meta .logo-name {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.2rem;
  word-break: break-all;
}

.logo-preview-meta .logo-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--primary);
  background: var(--primary-subtle);
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
}

/* Project Photos Preview Grid with [X] removal */
.photo-preview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
  gap: 0.85rem;
  margin-top: 1rem;
}

.photo-thumb-wrapper {
  position: relative;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
  transition: all 0.2s ease;
}

.photo-thumb-wrapper:hover {
  box-shadow: 0 4px 8px rgba(0,0,0,0.12);
  transform: translateY(-2px);
}

.photo-thumb-img {
  width: 100%;
  height: 85px;
  object-fit: cover;
  display: block;
}

.photo-thumb-name {
  font-size: 0.7rem;
  color: var(--text-muted);
  padding: 0.3rem 0.4rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  background: #ffffff;
}

.remove-photo-btn {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 24px;
  height: 24px;
  background: rgba(15, 23, 42, 0.85);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 800;
  line-height: 1;
  transition: all 0.15s ease;
  z-index: 5;
}

.remove-photo-btn:hover {
  background: #dc2626;
  border-color: #ef4444;
  transform: scale(1.15);
}

/* ==========================================================================
   10. Build on GarageDoor.biz — Managed Website & Subdomain Platform
   ========================================================================== */

.build-website-banner {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  border: 1.5px solid #334155;
  border-radius: var(--radius-xl);
  padding: 2.25rem 2.5rem;
  color: #ffffff;
  margin-bottom: 2.5rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 40px -15px rgba(15, 23, 42, 0.4);
}

.build-website-banner::before {
  content: "";
  position: absolute;
  top: -50px;
  right: -50px;
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.25) 0%, rgba(14, 165, 233, 0) 70%);
  pointer-events: none;
}

.build-website-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(14, 165, 233, 0.15);
  border: 1px solid rgba(14, 165, 233, 0.4);
  color: #38bdf8;
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  margin-bottom: 1rem;
}

.subdomain-input-group {
  display: flex;
  align-items: center;
  background: #ffffff;
  border: 2px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all 0.2s ease;
}

.subdomain-input-group:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
}

.subdomain-prefix {
  background: #f8fafc;
  color: var(--text-muted);
  font-size: 0.88rem;
  font-weight: 600;
  padding: 0.85rem 0.85rem 0.85rem 1rem;
  border-right: 1px solid var(--border);
  user-select: none;
}

.subdomain-text-input {
  flex: 1;
  border: none;
  outline: none;
  padding: 0.85rem 0.75rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-main);
  font-family: monospace;
}

.subdomain-suffix {
  background: #f8fafc;
  color: var(--primary);
  font-size: 0.9rem;
  font-weight: 800;
  padding: 0.85rem 1rem;
  border-left: 1px solid var(--border);
  user-select: none;
}

.subdomain-preview-card {
  background: #f0f9ff;
  border: 1px solid #bae6fd;
  border-radius: var(--radius-md);
  padding: 0.85rem 1.15rem;
  margin-top: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.design-choice-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 0.75rem;
}

.design-choice-card {
  position: relative;
  background: #ffffff;
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
}

.design-choice-card:hover {
  border-color: var(--primary);
  background: var(--primary-subtle);
}

.design-choice-card:has(input[type="radio"]:checked) {
  border-color: var(--primary);
  background: #f0f7ff;
  box-shadow: 0 0 0 1.5px var(--primary);
}

.design-choice-card input[type="radio"] {
  position: absolute;
  top: 1rem;
  right: 1rem;
  accent-color: var(--primary);
  width: 18px;
  height: 18px;
}

.comparison-box-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin: 1.5rem 0;
}

.comparison-col-traditional {
  background: #fff1f2;
  border: 1px solid #fecdd3;
  border-radius: var(--radius-lg);
  padding: 1.25rem;
}

.comparison-col-garagedoor {
  background: #ecfdf5;
  border: 1.5px solid #a7f3d0;
  border-radius: var(--radius-lg);
  padding: 1.25rem;
}

@media (max-width: 768px) {
  .build-website-banner {
    padding: 1.75rem 1.25rem;
  }
  .design-choice-grid,
  .comparison-box-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   13. Dedicated "Build on GarageDoor.biz" Platform Styles
   ========================================================================== */

.website-builder-card {
  background: #ffffff;
  border: 2px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: var(--shadow-xl);
  margin: 2.5rem auto;
  max-width: 960px;
}

.builder-step-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1.5px solid var(--border);
}

.step-circle {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0284c7 0%, #059669 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 1.15rem;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.3);
}

.theme-preset-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
  margin-top: 1rem;
}

.theme-preset-card {
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  cursor: pointer;
  transition: all 0.2s ease;
  background: #ffffff;
  position: relative;
}

.theme-preset-card:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.theme-preset-card.active {
  border-color: #0284c7;
  background: #f0f9ff;
  box-shadow: 0 0 0 2px #0284c7;
}

.color-swatch-list {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 0.75rem;
}

.color-swatch-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 3px solid #ffffff;
  box-shadow: 0 0 0 1.5px var(--border);
  cursor: pointer;
  transition: all 0.2s ease;
}

.color-swatch-btn:hover {
  transform: scale(1.1);
}

.color-swatch-btn.active {
  box-shadow: 0 0 0 2.5px #0284c7;
  transform: scale(1.15);
}

.feature-check-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.feature-check-label {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  background: #f8fafc;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.feature-check-label:hover {
  border-color: #94a3b8;
  background: #f1f5f9;
}

.feature-check-label input[type="checkbox"] {
  width: 20px;
  height: 20px;
  accent-color: #0284c7;
  margin-top: 0.15rem;
  flex-shrink: 0;
}

.launch-summary-card {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: #ffffff;
  border-radius: var(--radius-xl);
  padding: 2.25rem;
  margin-top: 2rem;
  box-shadow: var(--shadow-xl);
}

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(8px);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.modal-overlay.active {
  display: flex;
}

.modal-dialog {
  background: #ffffff;
  border-radius: var(--radius-2xl);
  max-width: 620px;
  width: 100%;
  padding: 2.5rem;
  box-shadow: var(--shadow-2xl);
  border: 1px solid var(--border);
  text-align: center;
  position: relative;
  animation: modalPopIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalPopIn {
  from {
    opacity: 0;
    transform: scale(0.92) translateY(20px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.website-plan-selector-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 1.5rem;
  margin-bottom: 2rem;
}

.website-plan-tier-card {
  position: relative;
  background: #ffffff;
  border: 2px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 1.75rem;
  cursor: pointer;
  transition: all 0.25s ease;
  text-align: left;
}

.website-plan-tier-card:hover {
  border-color: #0284c7;
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.website-plan-tier-card.active {
  border-color: #0284c7;
  background: #f0f9ff;
  box-shadow: 0 0 0 2px #0284c7, 0 10px 25px rgba(2, 132, 199, 0.15);
}

.website-plan-tier-card.featured.active {
  border-color: #059669;
  background: #f0fdf4;
  box-shadow: 0 0 0 2px #059669, 0 10px 25px rgba(5, 150, 105, 0.18);
}

.popular-ribbon {
  position: absolute;
  top: -12px;
  right: 20px;
  background: linear-gradient(135deg, #059669 0%, #047857 100%);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 0.25rem 0.85rem;
  border-radius: 9999px;
  box-shadow: 0 2px 8px rgba(5, 150, 105, 0.35);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.directory-badge-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.75rem;
}

.dir-chip {
  font-size: 0.74rem;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  color: #334155;
  padding: 0.2rem 0.55rem;
  border-radius: 4px;
  font-weight: 600;
}

@media (max-width: 768px) {
  .website-plan-selector-grid {
    grid-template-columns: 1fr;
  }
}




