:root {
  --bg: #fffaf3;
  --surface: #ffffff;
  --surface-soft: #fff4e5;
  --surface-strong: #2f190f;
  --text: #24140d;
  --muted: #70584f;
  --primary: #b45309;
  --primary-strong: #8a3b08;
  --secondary: #0f766e;
  --info: #1d4ed8;
  --success: #15803d;
  --warning: #b45309;
  --danger: #be123c;
  --border: rgba(108, 77, 61, 0.18);
  --shadow-soft: 0 18px 36px rgba(73, 39, 19, 0.08);
  --shadow-card: 0 14px 28px rgba(73, 39, 19, 0.07);
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;
  --container: 1180px;
  --nav-height: 78px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-height) + 1rem);
}

body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(245, 158, 11, 0.16), transparent 28%),
    radial-gradient(circle at top right, rgba(20, 184, 166, 0.12), transparent 24%),
    linear-gradient(180deg, #fffaf3 0%, #fffdf9 52%, #fff8ef 100%);
  font-family: "Avenir Next", "Segoe UI", "Trebuchet MS", sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.bg-light {
  background:
    radial-gradient(circle at top left, rgba(245, 158, 11, 0.16), transparent 28%),
    radial-gradient(circle at top right, rgba(20, 184, 166, 0.12), transparent 24%),
    linear-gradient(180deg, #fffaf3 0%, #fffdf9 52%, #fff8ef 100%);
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease, transform 0.2s ease;
}

a:hover,
a:focus-visible {
  color: var(--primary-strong);
}

button,
.btn {
  font: inherit;
}

button {
  cursor: pointer;
}

p,
ul,
ol,
table {
  margin-top: 0;
}

ul,
ol {
  padding-left: 1.2rem;
}

img,
svg {
  max-width: 100%;
  height: auto;
}

.container {
  width: min(var(--container), calc(100% - 2rem));
  margin-inline: auto;
}

.row {
  --gutter: 1rem;
  display: flex;
  flex-wrap: wrap;
  margin-inline: calc(var(--gutter) * -1);
}

.row > [class*="col-"],
.row > [class^="col-"] {
  width: 100%;
  padding-inline: var(--gutter);
  flex: 0 0 100%;
}

.g-3 {
  --gutter: 0.75rem;
}

.g-4 {
  --gutter: 1rem;
}

.justify-content-center {
  justify-content: center;
}

.justify-content-between {
  justify-content: space-between;
}

.align-items-start {
  align-items: flex-start;
}

.align-items-center {
  align-items: center;
}

.align-items-lg-center {
  align-items: flex-start;
}

.d-flex {
  display: flex;
}

.d-md-flex {
  display: block;
}

.flex-wrap {
  flex-wrap: wrap;
}

.gap-2 {
  gap: 0.5rem;
}

.gap-3 {
  gap: 0.75rem;
}

.mx-auto {
  margin-inline: auto;
}

.ms-auto {
  margin-inline-start: auto;
}

.ms-lg-2 {
  margin-inline-start: 0;
}

.me-2 {
  margin-inline-end: 0.5rem;
}

.mt-1 {
  margin-top: 0.25rem;
}

.mt-2 {
  margin-top: 0.5rem;
}

.mt-3 {
  margin-top: 1rem;
}

.mt-4 {
  margin-top: 1.5rem;
}

.mt-5 {
  margin-top: 3rem;
}

.mb-0 {
  margin-bottom: 0;
}

.mb-2 {
  margin-bottom: 0.5rem;
}

.mb-3 {
  margin-bottom: 1rem;
}

.mb-4 {
  margin-bottom: 1.5rem;
}

.mb-5 {
  margin-bottom: 3rem;
}

.my-4 {
  margin-block: 1.5rem;
}

.pt-5 {
  padding-top: 3rem;
}

.pb-5 {
  padding-bottom: 3rem;
}

.py-4 {
  padding-block: 1.5rem;
}

.py-5 {
  padding-block: 3rem;
}

.p-3 {
  padding: 1rem;
}

.p-4 {
  padding: 1.5rem;
}

.px-0 {
  padding-inline: 0;
}

.w-100 {
  width: 100%;
}

.w-75 {
  width: 75%;
}

.h-100 {
  height: 100%;
}

.rounded {
  border-radius: var(--radius-sm);
}

.border {
  border: 1px solid var(--border);
}

.border-0 {
  border: 0;
}

.border-primary {
  border-color: rgba(180, 83, 9, 0.35);
}

.shadow-sm {
  box-shadow: var(--shadow-card);
}

.shadow-0 {
  box-shadow: none;
}

.bg-white {
  background: rgba(255, 255, 255, 0.92);
}

.bg-light {
  background: transparent;
}

.bg-dark {
  background:
    radial-gradient(circle at top left, rgba(250, 204, 21, 0.12), transparent 30%),
    linear-gradient(135deg, #2f190f 0%, #40281d 100%);
}

.bg-primary {
  background-color: var(--primary);
  color: #fff;
}

.bg-secondary {
  background-color: #6b4f43;
  color: #fff;
}

.bg-success {
  background-color: var(--success);
  color: #fff;
}

.bg-warning {
  background-color: #d97706;
  color: #fff;
}

.bg-info {
  background-color: var(--info);
  color: #fff;
}

.text-center {
  text-align: center;
}

.text-uppercase {
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.text-primary {
  color: var(--primary);
}

.text-secondary {
  color: #6b4f43;
}

.text-success {
  color: var(--success);
}

.text-info {
  color: var(--info);
}

.text-warning {
  color: #d97706;
}

.text-danger {
  color: var(--danger);
}

.text-dark {
  color: var(--text);
}

.text-muted {
  color: var(--muted);
}

.text-white {
  color: #fff;
}

.text-white-50 {
  color: rgba(255, 244, 236, 0.76);
}

.fw-bold {
  font-weight: 700;
}

.small {
  font-size: 0.92rem;
}

.lead {
  font-size: clamp(1.06rem, 1rem + 0.3vw, 1.2rem);
  line-height: 1.75;
}

.display-5,
.display-6,
h1,
h2,
h3,
h4,
h5,
h6 {
  margin-top: 0;
  color: var(--text);
  font-family: "Trebuchet MS", "Avenir Next", sans-serif;
  line-height: 1.2;
}

.display-5 {
  font-size: clamp(2rem, 1.5rem + 2vw, 3.35rem);
}

.display-6 {
  font-size: clamp(1.85rem, 1.45rem + 1.3vw, 2.8rem);
}

.h4 {
  font-size: 1.35rem;
}

.h5 {
  font-size: 1.12rem;
}

.h6 {
  font-size: 0.88rem;
}

.fs-2 {
  font-size: 1.8rem;
}

.fs-3 {
  font-size: 1.5rem;
}

.fs-4 {
  font-size: 1.2rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border-radius: 999px;
  padding: 0.42rem 0.78rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
}

.card {
  position: relative;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(173, 136, 112, 0.14);
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, rgba(180, 83, 9, 0.82), rgba(15, 118, 110, 0.5));
  opacity: 0.9;
}

.card-body {
  position: relative;
  z-index: 1;
}

.table-responsive {
  overflow-x: auto;
  border-radius: var(--radius-md);
}

.table {
  width: 100%;
  border-collapse: collapse;
  background: rgba(255, 255, 255, 0.9);
}

.table th,
.table td {
  padding: 0.95rem 1rem;
  border-bottom: 1px solid rgba(173, 136, 112, 0.18);
  text-align: left;
  vertical-align: top;
}

.table th {
  font-weight: 700;
}

.table-light {
  background: rgba(248, 239, 230, 0.86);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  border-radius: 999px;
  border: 1px solid transparent;
  padding: 0.85rem 1.2rem;
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
}

.btn-sm {
  padding: 0.68rem 0.95rem;
  font-size: 0.92rem;
}

.btn-lg {
  padding: 1rem 1.35rem;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, #d97706 100%);
  color: #fff;
  box-shadow: 0 12px 24px rgba(180, 83, 9, 0.22);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  color: #fff;
  transform: translateY(-1px);
}

.btn-outline-primary {
  border-color: rgba(180, 83, 9, 0.35);
  color: var(--primary);
  background: rgba(255, 255, 255, 0.88);
}

.btn-outline-primary:hover,
.btn-outline-primary:focus-visible {
  background: rgba(250, 234, 214, 0.95);
}

.btn-link {
  padding: 0;
  border: 0;
  background: transparent;
  border-radius: 0;
  color: var(--primary);
  justify-content: flex-start;
}

.navbar {
  position: relative;
  z-index: 20;
  min-height: var(--nav-height);
}

.fixed-top {
  position: fixed;
  inset: 0 0 auto 0;
}

.navbar.bg-white {
  background: rgba(255, 250, 243, 0.9);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(173, 136, 112, 0.16);
}

.navbar > .container {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: var(--nav-height);
}

.navbar-brand {
  display: inline-flex;
  align-items: center;
  font-size: 1.02rem;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.navbar-toggler {
  margin-inline-start: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 46px;
  min-height: 46px;
  padding: 0.7rem 0.95rem;
  border-radius: 999px;
  border: 1px solid rgba(180, 83, 9, 0.24);
  background: rgba(255, 255, 255, 0.86);
  color: var(--primary);
  font-weight: 700;
}

.navbar-collapse {
  display: none;
  width: 100%;
  flex-basis: 100%;
}

.navbar-collapse.show {
  display: block;
}

.navbar-nav {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding-left: 0;
  list-style: none;
  margin: 1rem 0 0;
}

.nav-item {
  list-style: none;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 0;
  color: var(--text);
  font-weight: 600;
}

.nav-link.active,
.nav-link:hover,
.nav-link:focus-visible {
  color: var(--primary);
}

.accordion {
  display: grid;
  gap: 1rem;
}

.accordion-item {
  border: 1px solid rgba(173, 136, 112, 0.16);
  overflow: hidden;
}

.accordion-header {
  margin: 0;
}

.accordion-button {
  position: relative;
  width: 100%;
  padding: 1.1rem 3.25rem 1.1rem 1.1rem;
  border: 0;
  background: rgba(255, 255, 255, 0.94);
  text-align: left;
}

.accordion-button::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 1.1rem;
  transform: translateY(-50%);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary);
}

.accordion-button:not(.collapsed)::after {
  content: "-";
}

.accordion-collapse {
  display: none;
  border-top: 1px solid rgba(173, 136, 112, 0.14);
}

.accordion-collapse.show {
  display: block;
}

.accordion-body {
  padding: 1rem 1.1rem 1.2rem;
  background: rgba(255, 251, 246, 0.92);
}

.list-unstyled {
  padding-left: 0;
  list-style: none;
}

.list-unstyled li {
  list-style: none;
}

hr {
  border: 0;
  border-top: 1px solid rgba(255, 244, 236, 0.18);
}

.align-middle {
  vertical-align: middle;
}

.fas,
.fab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.3em;
  height: 1.3em;
  border-radius: 999px;
  background: currentColor;
  opacity: 0.12;
  vertical-align: middle;
}

.fas::before,
.fab::before {
  content: "";
  width: 0.42em;
  height: 0.42em;
  border-radius: 999px;
  background: currentColor;
  opacity: 0.55;
}

footer .card::before,
footer .border::before,
footer .rounded::before {
  display: none;
}

main section:last-child {
  margin-bottom: 0;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0.75rem;
  z-index: 100;
  padding: 0.8rem 1rem;
  border-radius: 999px;
  background: #fff;
  color: var(--primary);
}

.skip-link:focus {
  left: 0.75rem;
}

@media (min-width: 576px) {
  .col-sm-6 {
    width: 50%;
    flex-basis: 50%;
  }
}

@media (min-width: 768px) {
  .col-md-4 {
    width: 33.3333%;
    flex-basis: 33.3333%;
  }

  .col-md-6 {
    width: 50%;
    flex-basis: 50%;
  }

  .d-md-flex {
    display: flex;
  }
}

@media (min-width: 992px) {
  .align-items-lg-center {
    align-items: center;
  }

  .col-lg-3 {
    width: 25%;
    flex-basis: 25%;
  }

  .col-lg-4 {
    width: 33.3333%;
    flex-basis: 33.3333%;
  }

  .col-lg-5 {
    width: 41.6667%;
    flex-basis: 41.6667%;
  }

  .col-lg-6 {
    width: 50%;
    flex-basis: 50%;
  }

  .col-lg-7 {
    width: 58.3333%;
    flex-basis: 58.3333%;
  }

  .col-lg-8 {
    width: 66.6667%;
    flex-basis: 66.6667%;
  }

  .col-lg-10 {
    width: 83.3333%;
    flex-basis: 83.3333%;
  }

  .navbar-toggler {
    display: none;
  }

  .navbar-expand-lg .navbar-collapse {
    display: block;
    width: auto;
    flex-basis: auto;
    margin-inline-start: auto;
  }

  .navbar-expand-lg .navbar-nav {
    margin-top: 0;
    flex-direction: row;
    align-items: center;
    gap: 1.15rem;
  }

  .ms-lg-2 {
    margin-inline-start: 0.5rem;
  }

  .p-lg-5 {
    padding: 2.1rem;
  }
}

@media (max-width: 767px) {
  .w-75 {
    width: 100%;
  }

  .table th,
  .table td {
    min-width: 140px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}
