:root {
  --firmaris-navy: #0f172a;
  --firmaris-ink: #1f2937;
  --firmaris-muted: #64748b;
  --firmaris-line: #dbe2ea;
  --firmaris-soft: #f4f7fa;
  --firmaris-white: #ffffff;
}

html, body {
  min-height: 100%;
}

body {
  color: var(--firmaris-ink);
  background: #eef3f8;
  font-family: Georgia, "Times New Roman", serif;
}

.site-header .navbar {
  background: rgba(15, 23, 42, 0.94);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  backdrop-filter: blur(8px);
}

.navbar-brand {
  font-weight: 600;
  letter-spacing: 0.02em;
}

.navbar-dark .navbar-nav .nav-link {
  color: rgba(255,255,255,0.82);
  font-size: 0.95rem;
}

.navbar-dark .navbar-nav .nav-link.active,
.navbar-dark .navbar-nav .nav-link:hover {
  color: #fff;
}

.site-main {
  padding-top: 72px;
}

.hero-section,
.page-hero {
  padding: 5.5rem 0 4rem;
}

.hero-kicker {
  color: rgba(255,255,255,0.8);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.85rem;
}

.hero-subtitle {
  color: rgba(255,255,255,0.95);
  font-size: 1.15rem;
}

.hero-text {
  max-width: 54rem;
  color: rgba(255,255,255,0.84);
  font-size: 1rem;
}

.section-block {
  padding: 4rem 0;
}

.section-title {
  margin-bottom: 1rem;
  font-size: 1.55rem;
}

.section-tone-dark {
  background: linear-gradient(180deg, #0f172a, #18263f);
  color: #fff;
}

.section-tone-light {
  background: #fff;
}

.section-tone-soft {
  background: var(--firmaris-soft);
}

.border-top-soft {
  border-top: 1px solid var(--firmaris-line);
}

.firmaris-card,
.firmaris-panel {
  border: 1px solid var(--firmaris-line);
  background: #fff;
  border-radius: 0.75rem;
  padding: 1.25rem;
}

.firmaris-panel h2,
.firmaris-card h2 {
  line-height: 1.3;
}

.principles-list {
  list-style: none;
  padding-left: 0;
  margin: 0;
  border: 1px solid var(--firmaris-line);
  border-radius: 0.75rem;
  overflow: hidden;
  background: #fff;
}

.principles-list li {
  padding: 0.95rem 1rem;
  border-top: 1px solid var(--firmaris-line);
}

.principles-list li:first-child {
  border-top: 0;
}

.firmaris-table {
  background: #fff;
  border: 1px solid var(--firmaris-line);
  border-radius: 0.75rem;
  overflow: hidden;
}

.firmaris-table thead th {
  background: #f8fafc;
  color: var(--firmaris-ink);
  border-bottom-width: 1px;
  white-space: nowrap;
}

.site-footer {
  background: var(--firmaris-navy);
  color: rgba(255,255,255,0.9);
  border-top: 1px solid rgba(255,255,255,0.06);
}

.site-footer a {
  color: #fff;
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
}

.footer-brand {
  font-size: 1.05rem;
  font-weight: 600;
}

@media (max-width: 991.98px) {
  .site-main {
    padding-top: 66px;
  }
  .hero-section,
  .page-hero {
    padding: 4.5rem 0 3rem;
  }
  .section-block {
    padding: 3rem 0;
  }
}
