.plans {
  padding: var(--section-padding-y) 0;
  background-color: var(--bg-light-alt);
}

.plans__title {
  margin-bottom: 40px;
  font-family: var(--font-heading);
  font-size: clamp(28px, 3vw, 40px);
  font-weight: var(--font-heading-weight);
  line-height: 1.1;
  letter-spacing: 0.02em;
  color: var(--text-primary);
}

.plans__tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}

.plans__tab {
  padding: 14px 28px;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.2;
  color: var(--text-primary);
  background-color: var(--bg-card);
  border: 1px solid var(--header-border);
  border-radius: var(--radius-sm);
  transition: background-color var(--transition), border-color var(--transition), color var(--transition);
}

.plans__tab:hover {
  border-color: var(--accent);
}

.plans__tab.is-active {
  color: #ffffff;
  background-color: var(--accent);
  border-color: var(--accent);
}

.plans__panel {
  display: none;
}

.plans__panel.is-active {
  display: block;
}

.plans__grid {
  align-items: stretch;
}

.plans__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 20px;
  align-self: stretch;
  min-height: 480px;
}

.plans__subtitle {
  margin: 0;
  font-family: var(--font-body);
  font-size: clamp(24px, 2.5vw, 32px);
  font-weight: 500;
  line-height: 1.25;
  color: var(--text-primary);
}

.plans__text {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--text-secondary);
}

.plans__facts {
  margin: 0;
  padding-left: 1.15em;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--text-primary);
}

.plans__facts li + li {
  margin-top: 6px;
}

.plans__visual {
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  align-self: stretch;
  height: 520px;
  min-height: 520px;
  padding: 24px;
  background-color: #ffffff;
  border: 1px solid var(--header-border);
  border-radius: var(--radius-lg);
}

.plans__visual-inner {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  min-height: 0;
  overflow: hidden;
}

.plans__visual-inner img {
  display: block;
  width: 100%;
  height: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
}

.plans__placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  text-align: center;
  background-color: var(--bg-light-alt);
  border-radius: var(--radius-md);
}
