.theme-container {
  width: min(100% - (var(--spacing-4) * 2), var(--container-max-width));
  margin-inline: auto;
}

.theme-section {
  padding-block: var(--spacing-7);
  margin-bottom: 2rem;
}

.theme-grid {
  display: grid;
  gap: var(--spacing-4);
}

.theme-grid--three {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.theme-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-2);
  min-height: 44px;
  padding: 0.75rem 1.125rem;
  border-radius: var(--border-radius-md);
  border: 1px solid transparent;
  text-decoration: none;
  font-family: var(--font-family-base);
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.theme-button:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}

.theme-button--primary {
  background: var(--primary-color);
  color: #ffffff;
}

.theme-button--secondary {
  background: transparent;
  border-color: var(--primary-color);
  color: var(--primary-color);
}

.btn-theme-primary {
  border-radius: var(--border-radius-md) !important;
  box-shadow: var(--shadow-sm) !important;
  transition: all 0.2s ease;
}

.btn-theme-primary:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}

.theme-card {
  background: var(--surface-color);
  color: var(--text-color);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(148, 163, 184, 0.18);
}

.card-theme {
  border-radius: var(--border-radius-lg) !important;
  box-shadow: var(--shadow-md) !important;
  background: #fff;
}

.card-theme:hover {
  transform: translateY(-2px);
}

.theme-card__header {
  padding: var(--spacing-4) var(--spacing-5) 0;
}

.theme-card__body {
  padding: var(--spacing-5);
}

.theme-card__title {
  margin: 0;
  font-size: 1.125rem;
  line-height: 1.3;
}

.theme-card__text {
  margin: 0;
  color: var(--muted-color);
  line-height: 1.6;
}

.theme-section-header {
  display: grid;
  gap: var(--spacing-2);
  margin-bottom: var(--spacing-5);
}

.theme-section-header--center {
  text-align: center;
}

.theme-section-header__kicker,
.theme-hero-shell__kicker {
  display: inline-block;
  color: var(--primary-color);
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.theme-section-header__title,
.theme-hero-shell__title,
.theme-cta-band__title,
.theme-form-shell__title {
  margin: 0;
  color: var(--text-color);
  line-height: 1.15;
}

.theme-section-header__subtitle,
.theme-hero-shell__subtitle,
.theme-cta-band__subtitle,
.theme-form-shell__subtitle {
  margin: 0;
  color: var(--muted-color);
  line-height: 1.6;
}

.theme-hero-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: var(--spacing-6);
  align-items: center;
  padding: var(--spacing-6);
  border-radius: var(--border-radius-xl);
  background: linear-gradient(135deg, rgba(29, 78, 216, 0.08), rgba(14, 165, 233, 0.08));
}

.theme-hero-shell__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-3);
  margin-top: var(--spacing-4);
}

.theme-form-shell,
.theme-cta-band {
  display: grid;
  gap: var(--spacing-4);
  padding: var(--spacing-6);
  border-radius: var(--border-radius-xl);
  background: var(--surface-color);
  box-shadow: var(--shadow-md);
}

.theme-cta-band__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-3);
}

.theme-nav,
.theme-footer {
  padding: var(--spacing-4) var(--spacing-5);
  border-radius: var(--border-radius-lg);
  background: var(--surface-color);
  box-shadow: var(--shadow-sm);
}

@media (max-width: 900px) {
  .theme-hero-shell {
    grid-template-columns: 1fr;
  }
}
