:root {
  --fta-charcoal: #2f3337;
  --fta-charcoal-deep: #25282b;
  --fta-accent: #0d6efd;
  --fta-border: #dee2e6;
  --fta-text: #343a40;
}

body {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--fta-text);
  padding-top: 76px;
}

/* Светлая шапка */
.fta-navbar {
  background-color: #fff !important;
  border-color: #e9ecef !important;
}

.fta-navbar .navbar-brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.25rem 0;
}

.fta-navbar .navbar-brand img {
  height: 40px;
  width: auto;
  max-width: 200px;
  max-height: 44px;
  object-fit: contain;
  display: block;
  filter: none;
}

.fta-hero {
  background: linear-gradient(135deg, #1a1d21 0%, #2f3337 50%, #1a1d21 100%);
  color: #fff;
}

.fta-section-title {
  letter-spacing: 0.06em;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.85rem;
  color: #6c757d;
  margin-bottom: 0.75rem;
}

.fta-card-border {
  border: 1px solid var(--fta-border);
  border-radius: 0.5rem;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.fta-card-border:hover {
  box-shadow: 0 0.5rem 1.25rem rgba(0, 0, 0, 0.08);
  border-color: #cbd3da;
}

footer.fta-footer {
  background: var(--fta-charcoal-deep);
  color: #e9ecef;
  margin-top: auto;
}

footer.fta-footer a {
  color: #e9ecef;
  text-decoration: none;
}

footer.fta-footer a:hover {
  color: #fff;
  text-decoration: underline;
}

.fta-footer-logo {
  max-height: 56px;
  width: auto;
  margin-bottom: 1rem;
}

.fta-footer h3 {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
  color: #fff;
}

.fta-footer-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.fta-footer-list li {
  margin-bottom: 0.65rem;
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.95rem;
}

.fta-footer-list .bi {
  flex-shrink: 0;
  margin-top: 0.15rem;
}

.fta-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: var(--fta-accent);
  color: #fff !important;
  margin-right: 0.5rem;
  margin-bottom: 0.5rem;
  text-decoration: none !important;
}

.fta-social a:hover {
  background: #0b5ed7;
  color: #fff !important;
}

.fta-footer-divider {
  border-color: rgba(255, 255, 255, 0.15);
}

.fta-form .form-label {
  font-weight: 500;
}

.fta-form .form-control,
.fta-form .form-select,
.fta-form textarea {
  border-radius: 0.375rem;
  border-color: #ced4da;
}

.fta-form .text-danger {
  font-weight: 600;
}

.fta-form .btn-enroll {
  min-width: 10rem;
  border-radius: 2rem;
  padding: 0.6rem 1.75rem;
}

main {
  min-height: calc(100vh - 76px - 400px);
}

.page-header {
  background: linear-gradient(90deg, #f8f9fa, #fff);
  border-bottom: 1px solid var(--fta-border);
}

@media (max-width: 991.98px) {
  body {
    padding-top: 70px;
  }
}
