.stabs {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: var(--space-2xl);
  align-items: start;
}

.stabs__nav {
  position: sticky;
  top: calc(var(--nav-height) + var(--space-xl));
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.stab-btn {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  width: 100%;
  padding: 1rem 1.25rem;
  border: 2px solid var(--gray-200);
  border-radius: var(--border-radius-lg);
  background: var(--white);
  cursor: pointer;
  text-align: left;
  transition: all var(--transition);
  position: relative;
}

.stab-btn:hover {
  border-color: var(--orange);
  background: rgba(232, 101, 10, 0.03);
}

.stab-btn.active {
  border-color: var(--orange);
  background: var(--white);
  box-shadow: var(--shadow-md);
}

.stab-btn.active::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--orange);
  border-radius: var(--border-radius-lg) 0 0 var(--border-radius-lg);
}

.stab-btn__icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(232, 101, 10, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-500);
  font-size: 1.1rem;
  flex-shrink: 0;
  transition: all var(--transition);
}

.stab-btn.active .stab-btn__icon {
  background: linear-gradient(135deg, var(--orange), var(--orange-dark));
  color: var(--white);
}

.stab-btn__text {
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--gray-500);
  transition: color var(--transition);
  line-height: 1.3;
}

.stab-btn.active .stab-btn__text {
  color: var(--black);
}

.stab-btn__num {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--gray-300);
  display: block;
  margin-bottom: 2px;
  letter-spacing: 1px;
}

.stab-btn.active .stab-btn__num {
  color: var(--orange);
}

.stabs__content {
  min-height: 500px;
}

.stab-panel {
  display: none;
  animation: stabFadeIn 0.35s ease;
}

.stab-panel.active {
  display: block;
}

@keyframes stabFadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

.stab-panel__image {
  width: 100%;
  height: 280px;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  margin-bottom: var(--space-2xl);
  box-shadow: var(--shadow-lg);
}

.stab-panel__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.stab-panel__badge {
  display: inline-block;
  padding: 0.3rem 0.9rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-radius: 50px;
  background-color: rgba(232, 101, 10, 0.1);
  color: var(--orange);
  margin-bottom: var(--space-md);
}

.stab-panel h2 {
  margin-bottom: var(--space-lg);
}

.stab-panel .divider {
  margin: var(--space-lg) 0;
}

.stab-panel .lead {
  margin-bottom: var(--space-md);
}

.stab-panel__list {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-sm);
  margin-top: var(--space-lg);
}

.stab-panel__list li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  color: var(--gray-700);
  font-size: 0.95rem;
  line-height: 1.6;
  padding: var(--space-sm) var(--space-md);
  background: var(--gray-100);
  border-radius: var(--border-radius);
  transition: background var(--transition-fast);
}

.stab-panel__list li:hover {
  background: rgba(232, 101, 10, 0.06);
}

.stab-panel__list li i {
  color: var(--orange);
  margin-top: 4px;
  flex-shrink: 0;
}

.stab-panel__subtitle {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: var(--black);
  margin-top: var(--space-xl);
  margin-bottom: 0;
  padding-left: var(--space-sm);
  border-left: 3px solid var(--orange);
}

@media (max-width: 1024px) {
  .stabs {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .stabs__nav {
    position: sticky;
    top: var(--nav-height);
    z-index: 100;
    flex-direction: row;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    gap: 0;
    padding: 0;
    background: var(--white);
    border-bottom: 1px solid var(--gray-200);
    box-shadow: var(--shadow-sm);
    margin: 0 calc(-1 * var(--space-xl));
    width: calc(100% + 2 * var(--space-xl));
  }

  .stabs__nav::-webkit-scrollbar {
    display: none;
  }

  .stab-btn {
    min-width: 0;
    flex: 1;
    flex-direction: column;
    text-align: center;
    padding: 0.55rem 0.5rem;
    gap: 0.2rem;
    border: none;
    border-radius: 0;
    background: var(--white);
  }

  .stab-btn:hover,
  .stab-btn.active {
    border: none;
    box-shadow: none;
  }

  .stab-btn.active::before {
    top: auto;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 3px;
    border-radius: 0;
  }

  .stab-btn__icon {
    width: 30px;
    height: 30px;
    font-size: 0.85rem;
    border-radius: 8px;
  }

  .stab-btn__text {
    font-size: 0.6rem;
    line-height: 1.2;
  }

  .stab-btn__num {
    display: none;
  }

  .stabs__content {
    padding-top: var(--space-lg);
    min-height: auto;
  }

  .section[style*="padding-top"] {
    padding-top: var(--space-lg) !important;
  }
}

@media (max-width: 768px) {
  .stabs__nav {
    margin: 0 calc(-1 * var(--space-lg));
    width: calc(100% + 2 * var(--space-lg));
  }

  .stab-panel__image {
    height: 200px;
  }
}
