:root {
  --sb-bg: #f8f6f1;
  --sb-surface: #ffffff;
  --sb-text: #1e1e1e;
  --sb-muted: #6c6c6c;
  --sb-accent: #bfa06a;
  --sb-accent-2: #2f6d7a;
  --sb-dark: #121214;
  --sb-overlay: rgba(18, 18, 20, 0.62);
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--sb-bg);
  color: var(--sb-text);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.sb-title-xl {
  font-size: clamp(2.4rem, 6vw, 5.5rem);
}

.sb-title-lg {
  font-size: clamp(2rem, 4.5vw, 3.6rem);
}

.sb-title-md {
  font-size: clamp(1.5rem, 3vw, 2.4rem);
}

.sb-eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sb-accent);
}

.sb-lead {
  font-size: clamp(1.05rem, 1.8vw, 1.3rem);
  color: var(--sb-muted);
}

.sb-section {
  position: relative;
  padding-top: 5.5rem;
  padding-bottom: 5.5rem;
  overflow: hidden;
}

.sb-section-light {
  background-color: var(--sb-bg);
}

.sb-section-white {
  background-color: var(--sb-surface);
}

.sb-section-dark {
  background-color: var(--sb-dark);
  color: #f8f6f1;
}

.sb-section-dark .sb-lead,
.sb-section-dark .sb-muted,
.sb-section-image .sb-lead,
.sb-section-image .sb-muted {
  color: rgba(248, 246, 241, 0.78);
}

.sb-section-image {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #f8f6f1;
}

.sb-section-image::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: inherit;
  filter: brightness(0.65);
}

.sb-section-image > * {
  position: relative;
  z-index: 1;
}

.sb-hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.sb-hero-pretitle {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 0.45rem 0.9rem;
  border: 1px solid rgba(191, 160, 106, 0.55);
  border-radius: 999px;
  color: var(--sb-accent);
  background: rgba(191, 160, 106, 0.08);
}

.sb-btn-primary {
  background-color: var(--sb-accent);
  border-color: var(--sb-accent);
  color: #121214;
  font-weight: 600;
  padding: 0.85rem 1.85rem;
  border-radius: 999px;
  transition: all 0.2s ease;
}

.sb-btn-primary:hover,
.sb-btn-primary:focus {
  background-color: #a88b55;
  border-color: #a88b55;
  color: #121214;
}

.sb-btn-outline {
  border: 1px solid currentColor;
  background: transparent;
  color: inherit;
  font-weight: 600;
  padding: 0.85rem 1.85rem;
  border-radius: 999px;
  transition: all 0.2s ease;
}

.sb-btn-outline:hover {
  background: rgba(255, 255, 255, 0.08);
}

.sb-card {
  background: var(--sb-surface);
  border: 0;
  border-radius: 1.25rem;
  box-shadow: 0 12px 40px rgba(18, 18, 20, 0.06);
  padding: 1.75rem;
  height: 100%;
}

.sb-card-dark {
  background: rgba(18, 18, 20, 0.72);
  color: #f8f6f1;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.sb-icon-circle {
  width: 3.2rem;
  height: 3.2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--sb-accent);
  color: #121214;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.sb-icon-circle-outline {
  width: 3.2rem;
  height: 3.2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(191, 160, 106, 0.5);
  color: var(--sb-accent);
  font-size: 1.3rem;
  flex-shrink: 0;
}

.sb-divider {
  width: 4rem;
  height: 2px;
  background: var(--sb-accent);
  border-radius: 2px;
}

.sb-stat-number {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700;
  color: var(--sb-accent);
  line-height: 1;
  margin-bottom: 0.35rem;
}

.sb-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--sb-accent);
}

.sb-timeline-line {
  position: absolute;
  left: 1.1rem;
  top: 0;
  bottom: 0;
  width: 2px;
  background: rgba(191, 160, 106, 0.35);
}

.sb-timeline-dot {
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  background: var(--sb-accent);
  border: 2px solid var(--sb-surface);
  box-shadow: 0 0 0 2px var(--sb-accent);
}

.sb-img-frame {
  border-radius: 1.25rem;
  overflow: hidden;
  background-color: #e5e3de;
}

.sb-img-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sb-form-control {
  border: 1px solid #e0ded8;
  border-radius: 0.75rem;
  padding: 0.9rem 1.1rem;
  background: var(--sb-surface);
}

.sb-form-control:focus {
  border-color: var(--sb-accent);
  box-shadow: 0 0 0 0.2rem rgba(191, 160, 106, 0.2);
}

.sb-form-check-input:checked {
  background-color: var(--sb-accent);
  border-color: var(--sb-accent);
}

.sb-cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--sb-surface);
  border-top: 1px solid #e5e3de;
  padding: 1rem 0;
  z-index: 1090;
  transform: translateY(100%);
  transition: transform 0.35s ease;
}

.sb-cookie-banner.show {
  transform: translateY(0);
}

.sb-notification {
  position: fixed;
  top: 1rem;
  right: 1rem;
  z-index: 1100;
  background: var(--sb-surface);
  border-left: 4px solid var(--sb-accent);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
  border-radius: 0.75rem;
  padding: 1rem 1.25rem;
  min-width: 18rem;
  display: none;
}

.sb-notification.show {
  display: block;
  animation: sbSlideIn 0.35s ease;
}

@keyframes sbSlideIn {
  from {
    opacity: 0;
    transform: translateX(1.5rem);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.top-bar {
  background: var(--sb-dark);
  color: #f8f6f1;
  font-size: 0.82rem;
  padding: 0.45rem 0;
}

.top-bar a {
  color: rgba(248, 246, 241, 0.85);
  text-decoration: none;
}

.top-bar a:hover {
  color: var(--sb-accent);
}

.navbar.sb-navbar {
  background: rgba(248, 246, 241, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid #e5e3de;
  padding-top: 0.7rem;
  padding-bottom: 0.7rem;
}

.navbar-brand img {
  height: 2.4rem;
}

.nav-link {
  font-weight: 600;
  color: var(--sb-text);
}

.nav-link:hover,
.nav-link:focus {
  color: var(--sb-accent);
}

footer {
  background: var(--sb-dark);
  color: #f8f6f1;
}

footer a {
  color: rgba(248, 246, 241, 0.82);
  text-decoration: none;
}

footer a:hover {
  color: var(--sb-accent);
}

.footer-warning {
  background: rgba(191, 160, 106, 0.12);
  border-bottom: 1px solid rgba(191, 160, 106, 0.25);
  color: #f8f6f1;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.85rem;
  color: rgba(248, 246, 241, 0.65);
}

.sb-accordion-button:not(.collapsed) {
  background: transparent;
  color: var(--sb-accent);
  box-shadow: none;
}

.sb-accordion-button:focus {
  box-shadow: none;
  border-color: var(--sb-accent);
}

.sb-table {
  --bs-table-bg: transparent;
  border-color: rgba(191, 160, 106, 0.25);
}

.sb-table thead th {
  color: var(--sb-accent);
  font-weight: 700;
  border-bottom: 2px solid var(--sb-accent);
}

@media (max-width: 991.98px) {
  .sb-section {
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
  }

  .sb-hero {
    min-height: auto;
    padding-top: 8rem;
    padding-bottom: 4rem;
  }
}
