.container,
.container-fluid,
.container-xxl,
.container-xl,
.container-lg,
.container-md,
.container-sm {
  --bs-gutter-x: 24px;
  --bs-gutter-y: 0;
  width: 100%;
  padding-right: calc(var(--bs-gutter-x) * 0.5);
  padding-left: calc(var(--bs-gutter-x) * 0.5);
  margin-right: auto;
  margin-left: auto;
}

@media (min-width: 576px) {
  .container-sm, .container {
    max-width: 540px;
  }
}
@media (min-width: 768px) {
  .container-md, .container-sm, .container {
    max-width: 720px;
  }
}
@media (min-width: 992px) {
  .container-lg, .container-md, .container-sm, .container {
    max-width: 960px;
  }
}
@media (min-width: 1200px) {
  .container-xl, .container-lg, .container-md, .container-sm, .container {
    max-width: 1140px;
  }
}
@media (min-width: 1600px) {
  .container-xxl, .container-xl, .container-lg, .container-md, .container-sm, .container {
    max-width: 1360px;
  }
}
:root {
  --bs-breakpoint-xs: 0;
  --bs-breakpoint-sm: 576px;
  --bs-breakpoint-md: 768px;
  --bs-breakpoint-lg: 992px;
  --bs-breakpoint-xl: 1200px;
  --bs-breakpoint-xxl: 1600px;
}

.row {
  --bs-gutter-x: 24px;
  --bs-gutter-y: 0;
  display: flex;
  flex-wrap: wrap;
  margin-top: calc(-1 * var(--bs-gutter-y));
  margin-right: calc(-0.5 * var(--bs-gutter-x));
  margin-left: calc(-0.5 * var(--bs-gutter-x));
}
.row > * {
  flex-shrink: 0;
  width: 100%;
  max-width: 100%;
  padding-right: calc(var(--bs-gutter-x) * 0.5);
  padding-left: calc(var(--bs-gutter-x) * 0.5);
  margin-top: var(--bs-gutter-y);
}

.col {
  flex: 1 0 0;
}

.row-cols-auto > * {
  flex: 0 0 auto;
  width: auto;
}

.row-cols-1 > * {
  flex: 0 0 auto;
  width: 100%;
}

.row-cols-2 > * {
  flex: 0 0 auto;
  width: 50%;
}

.row-cols-3 > * {
  flex: 0 0 auto;
  width: 33.33333333%;
}

.row-cols-4 > * {
  flex: 0 0 auto;
  width: 25%;
}

.row-cols-5 > * {
  flex: 0 0 auto;
  width: 20%;
}

.row-cols-6 > * {
  flex: 0 0 auto;
  width: 16.66666667%;
}

.col-auto {
  flex: 0 0 auto;
  width: auto;
}

.col-1 {
  flex: 0 0 auto;
  width: 8.33333333%;
}

.col-2 {
  flex: 0 0 auto;
  width: 16.66666667%;
}

.col-3 {
  flex: 0 0 auto;
  width: 25%;
}

.col-4 {
  flex: 0 0 auto;
  width: 33.33333333%;
}

.col-5 {
  flex: 0 0 auto;
  width: 41.66666667%;
}

.col-6 {
  flex: 0 0 auto;
  width: 50%;
}

.col-7 {
  flex: 0 0 auto;
  width: 58.33333333%;
}

.col-8 {
  flex: 0 0 auto;
  width: 66.66666667%;
}

.col-9 {
  flex: 0 0 auto;
  width: 75%;
}

.col-10 {
  flex: 0 0 auto;
  width: 83.33333333%;
}

.col-11 {
  flex: 0 0 auto;
  width: 91.66666667%;
}

.col-12 {
  flex: 0 0 auto;
  width: 100%;
}

.offset-1 {
  margin-left: 8.33333333%;
}

.offset-2 {
  margin-left: 16.66666667%;
}

.offset-3 {
  margin-left: 25%;
}

.offset-4 {
  margin-left: 33.33333333%;
}

.offset-5 {
  margin-left: 41.66666667%;
}

.offset-6 {
  margin-left: 50%;
}

.offset-7 {
  margin-left: 58.33333333%;
}

.offset-8 {
  margin-left: 66.66666667%;
}

.offset-9 {
  margin-left: 75%;
}

.offset-10 {
  margin-left: 83.33333333%;
}

.offset-11 {
  margin-left: 91.66666667%;
}

.g-0,
.gx-0 {
  --bs-gutter-x: 0;
}

.g-0,
.gy-0 {
  --bs-gutter-y: 0;
}

.g-1,
.gx-1 {
  --bs-gutter-x: 0.25rem;
}

.g-1,
.gy-1 {
  --bs-gutter-y: 0.25rem;
}

.g-2,
.gx-2 {
  --bs-gutter-x: 0.5rem;
}

.g-2,
.gy-2 {
  --bs-gutter-y: 0.5rem;
}

.g-3,
.gx-3 {
  --bs-gutter-x: 1rem;
}

.g-3,
.gy-3 {
  --bs-gutter-y: 1rem;
}

.g-4,
.gx-4 {
  --bs-gutter-x: 1.5rem;
}

.g-4,
.gy-4 {
  --bs-gutter-y: 1.5rem;
}

.g-5,
.gx-5 {
  --bs-gutter-x: 3rem;
}

.g-5,
.gy-5 {
  --bs-gutter-y: 3rem;
}

@media (min-width: 576px) {
  .col-sm {
    flex: 1 0 0;
  }
  .row-cols-sm-auto > * {
    flex: 0 0 auto;
    width: auto;
  }
  .row-cols-sm-1 > * {
    flex: 0 0 auto;
    width: 100%;
  }
  .row-cols-sm-2 > * {
    flex: 0 0 auto;
    width: 50%;
  }
  .row-cols-sm-3 > * {
    flex: 0 0 auto;
    width: 33.33333333%;
  }
  .row-cols-sm-4 > * {
    flex: 0 0 auto;
    width: 25%;
  }
  .row-cols-sm-5 > * {
    flex: 0 0 auto;
    width: 20%;
  }
  .row-cols-sm-6 > * {
    flex: 0 0 auto;
    width: 16.66666667%;
  }
  .col-sm-auto {
    flex: 0 0 auto;
    width: auto;
  }
  .col-sm-1 {
    flex: 0 0 auto;
    width: 8.33333333%;
  }
  .col-sm-2 {
    flex: 0 0 auto;
    width: 16.66666667%;
  }
  .col-sm-3 {
    flex: 0 0 auto;
    width: 25%;
  }
  .col-sm-4 {
    flex: 0 0 auto;
    width: 33.33333333%;
  }
  .col-sm-5 {
    flex: 0 0 auto;
    width: 41.66666667%;
  }
  .col-sm-6 {
    flex: 0 0 auto;
    width: 50%;
  }
  .col-sm-7 {
    flex: 0 0 auto;
    width: 58.33333333%;
  }
  .col-sm-8 {
    flex: 0 0 auto;
    width: 66.66666667%;
  }
  .col-sm-9 {
    flex: 0 0 auto;
    width: 75%;
  }
  .col-sm-10 {
    flex: 0 0 auto;
    width: 83.33333333%;
  }
  .col-sm-11 {
    flex: 0 0 auto;
    width: 91.66666667%;
  }
  .col-sm-12 {
    flex: 0 0 auto;
    width: 100%;
  }
  .offset-sm-0 {
    margin-left: 0;
  }
  .offset-sm-1 {
    margin-left: 8.33333333%;
  }
  .offset-sm-2 {
    margin-left: 16.66666667%;
  }
  .offset-sm-3 {
    margin-left: 25%;
  }
  .offset-sm-4 {
    margin-left: 33.33333333%;
  }
  .offset-sm-5 {
    margin-left: 41.66666667%;
  }
  .offset-sm-6 {
    margin-left: 50%;
  }
  .offset-sm-7 {
    margin-left: 58.33333333%;
  }
  .offset-sm-8 {
    margin-left: 66.66666667%;
  }
  .offset-sm-9 {
    margin-left: 75%;
  }
  .offset-sm-10 {
    margin-left: 83.33333333%;
  }
  .offset-sm-11 {
    margin-left: 91.66666667%;
  }
  .g-sm-0,
  .gx-sm-0 {
    --bs-gutter-x: 0;
  }
  .g-sm-0,
  .gy-sm-0 {
    --bs-gutter-y: 0;
  }
  .g-sm-1,
  .gx-sm-1 {
    --bs-gutter-x: 0.25rem;
  }
  .g-sm-1,
  .gy-sm-1 {
    --bs-gutter-y: 0.25rem;
  }
  .g-sm-2,
  .gx-sm-2 {
    --bs-gutter-x: 0.5rem;
  }
  .g-sm-2,
  .gy-sm-2 {
    --bs-gutter-y: 0.5rem;
  }
  .g-sm-3,
  .gx-sm-3 {
    --bs-gutter-x: 1rem;
  }
  .g-sm-3,
  .gy-sm-3 {
    --bs-gutter-y: 1rem;
  }
  .g-sm-4,
  .gx-sm-4 {
    --bs-gutter-x: 1.5rem;
  }
  .g-sm-4,
  .gy-sm-4 {
    --bs-gutter-y: 1.5rem;
  }
  .g-sm-5,
  .gx-sm-5 {
    --bs-gutter-x: 3rem;
  }
  .g-sm-5,
  .gy-sm-5 {
    --bs-gutter-y: 3rem;
  }
}
@media (min-width: 768px) {
  .col-md {
    flex: 1 0 0;
  }
  .row-cols-md-auto > * {
    flex: 0 0 auto;
    width: auto;
  }
  .row-cols-md-1 > * {
    flex: 0 0 auto;
    width: 100%;
  }
  .row-cols-md-2 > * {
    flex: 0 0 auto;
    width: 50%;
  }
  .row-cols-md-3 > * {
    flex: 0 0 auto;
    width: 33.33333333%;
  }
  .row-cols-md-4 > * {
    flex: 0 0 auto;
    width: 25%;
  }
  .row-cols-md-5 > * {
    flex: 0 0 auto;
    width: 20%;
  }
  .row-cols-md-6 > * {
    flex: 0 0 auto;
    width: 16.66666667%;
  }
  .col-md-auto {
    flex: 0 0 auto;
    width: auto;
  }
  .col-md-1 {
    flex: 0 0 auto;
    width: 8.33333333%;
  }
  .col-md-2 {
    flex: 0 0 auto;
    width: 16.66666667%;
  }
  .col-md-3 {
    flex: 0 0 auto;
    width: 25%;
  }
  .col-md-4 {
    flex: 0 0 auto;
    width: 33.33333333%;
  }
  .col-md-5 {
    flex: 0 0 auto;
    width: 41.66666667%;
  }
  .col-md-6 {
    flex: 0 0 auto;
    width: 50%;
  }
  .col-md-7 {
    flex: 0 0 auto;
    width: 58.33333333%;
  }
  .col-md-8 {
    flex: 0 0 auto;
    width: 66.66666667%;
  }
  .col-md-9 {
    flex: 0 0 auto;
    width: 75%;
  }
  .col-md-10 {
    flex: 0 0 auto;
    width: 83.33333333%;
  }
  .col-md-11 {
    flex: 0 0 auto;
    width: 91.66666667%;
  }
  .col-md-12 {
    flex: 0 0 auto;
    width: 100%;
  }
  .offset-md-0 {
    margin-left: 0;
  }
  .offset-md-1 {
    margin-left: 8.33333333%;
  }
  .offset-md-2 {
    margin-left: 16.66666667%;
  }
  .offset-md-3 {
    margin-left: 25%;
  }
  .offset-md-4 {
    margin-left: 33.33333333%;
  }
  .offset-md-5 {
    margin-left: 41.66666667%;
  }
  .offset-md-6 {
    margin-left: 50%;
  }
  .offset-md-7 {
    margin-left: 58.33333333%;
  }
  .offset-md-8 {
    margin-left: 66.66666667%;
  }
  .offset-md-9 {
    margin-left: 75%;
  }
  .offset-md-10 {
    margin-left: 83.33333333%;
  }
  .offset-md-11 {
    margin-left: 91.66666667%;
  }
  .g-md-0,
  .gx-md-0 {
    --bs-gutter-x: 0;
  }
  .g-md-0,
  .gy-md-0 {
    --bs-gutter-y: 0;
  }
  .g-md-1,
  .gx-md-1 {
    --bs-gutter-x: 0.25rem;
  }
  .g-md-1,
  .gy-md-1 {
    --bs-gutter-y: 0.25rem;
  }
  .g-md-2,
  .gx-md-2 {
    --bs-gutter-x: 0.5rem;
  }
  .g-md-2,
  .gy-md-2 {
    --bs-gutter-y: 0.5rem;
  }
  .g-md-3,
  .gx-md-3 {
    --bs-gutter-x: 1rem;
  }
  .g-md-3,
  .gy-md-3 {
    --bs-gutter-y: 1rem;
  }
  .g-md-4,
  .gx-md-4 {
    --bs-gutter-x: 1.5rem;
  }
  .g-md-4,
  .gy-md-4 {
    --bs-gutter-y: 1.5rem;
  }
  .g-md-5,
  .gx-md-5 {
    --bs-gutter-x: 3rem;
  }
  .g-md-5,
  .gy-md-5 {
    --bs-gutter-y: 3rem;
  }
}
@media (min-width: 992px) {
  .col-lg {
    flex: 1 0 0;
  }
  .row-cols-lg-auto > * {
    flex: 0 0 auto;
    width: auto;
  }
  .row-cols-lg-1 > * {
    flex: 0 0 auto;
    width: 100%;
  }
  .row-cols-lg-2 > * {
    flex: 0 0 auto;
    width: 50%;
  }
  .row-cols-lg-3 > * {
    flex: 0 0 auto;
    width: 33.33333333%;
  }
  .row-cols-lg-4 > * {
    flex: 0 0 auto;
    width: 25%;
  }
  .row-cols-lg-5 > * {
    flex: 0 0 auto;
    width: 20%;
  }
  .row-cols-lg-6 > * {
    flex: 0 0 auto;
    width: 16.66666667%;
  }
  .col-lg-auto {
    flex: 0 0 auto;
    width: auto;
  }
  .col-lg-1 {
    flex: 0 0 auto;
    width: 8.33333333%;
  }
  .col-lg-2 {
    flex: 0 0 auto;
    width: 16.66666667%;
  }
  .col-lg-3 {
    flex: 0 0 auto;
    width: 25%;
  }
  .col-lg-4 {
    flex: 0 0 auto;
    width: 33.33333333%;
  }
  .col-lg-5 {
    flex: 0 0 auto;
    width: 41.66666667%;
  }
  .col-lg-6 {
    flex: 0 0 auto;
    width: 50%;
  }
  .col-lg-7 {
    flex: 0 0 auto;
    width: 58.33333333%;
  }
  .col-lg-8 {
    flex: 0 0 auto;
    width: 66.66666667%;
  }
  .col-lg-9 {
    flex: 0 0 auto;
    width: 75%;
  }
  .col-lg-10 {
    flex: 0 0 auto;
    width: 83.33333333%;
  }
  .col-lg-11 {
    flex: 0 0 auto;
    width: 91.66666667%;
  }
  .col-lg-12 {
    flex: 0 0 auto;
    width: 100%;
  }
  .offset-lg-0 {
    margin-left: 0;
  }
  .offset-lg-1 {
    margin-left: 8.33333333%;
  }
  .offset-lg-2 {
    margin-left: 16.66666667%;
  }
  .offset-lg-3 {
    margin-left: 25%;
  }
  .offset-lg-4 {
    margin-left: 33.33333333%;
  }
  .offset-lg-5 {
    margin-left: 41.66666667%;
  }
  .offset-lg-6 {
    margin-left: 50%;
  }
  .offset-lg-7 {
    margin-left: 58.33333333%;
  }
  .offset-lg-8 {
    margin-left: 66.66666667%;
  }
  .offset-lg-9 {
    margin-left: 75%;
  }
  .offset-lg-10 {
    margin-left: 83.33333333%;
  }
  .offset-lg-11 {
    margin-left: 91.66666667%;
  }
  .g-lg-0,
  .gx-lg-0 {
    --bs-gutter-x: 0;
  }
  .g-lg-0,
  .gy-lg-0 {
    --bs-gutter-y: 0;
  }
  .g-lg-1,
  .gx-lg-1 {
    --bs-gutter-x: 0.25rem;
  }
  .g-lg-1,
  .gy-lg-1 {
    --bs-gutter-y: 0.25rem;
  }
  .g-lg-2,
  .gx-lg-2 {
    --bs-gutter-x: 0.5rem;
  }
  .g-lg-2,
  .gy-lg-2 {
    --bs-gutter-y: 0.5rem;
  }
  .g-lg-3,
  .gx-lg-3 {
    --bs-gutter-x: 1rem;
  }
  .g-lg-3,
  .gy-lg-3 {
    --bs-gutter-y: 1rem;
  }
  .g-lg-4,
  .gx-lg-4 {
    --bs-gutter-x: 1.5rem;
  }
  .g-lg-4,
  .gy-lg-4 {
    --bs-gutter-y: 1.5rem;
  }
  .g-lg-5,
  .gx-lg-5 {
    --bs-gutter-x: 3rem;
  }
  .g-lg-5,
  .gy-lg-5 {
    --bs-gutter-y: 3rem;
  }
}
@media (min-width: 1200px) {
  .col-xl {
    flex: 1 0 0;
  }
  .row-cols-xl-auto > * {
    flex: 0 0 auto;
    width: auto;
  }
  .row-cols-xl-1 > * {
    flex: 0 0 auto;
    width: 100%;
  }
  .row-cols-xl-2 > * {
    flex: 0 0 auto;
    width: 50%;
  }
  .row-cols-xl-3 > * {
    flex: 0 0 auto;
    width: 33.33333333%;
  }
  .row-cols-xl-4 > * {
    flex: 0 0 auto;
    width: 25%;
  }
  .row-cols-xl-5 > * {
    flex: 0 0 auto;
    width: 20%;
  }
  .row-cols-xl-6 > * {
    flex: 0 0 auto;
    width: 16.66666667%;
  }
  .col-xl-auto {
    flex: 0 0 auto;
    width: auto;
  }
  .col-xl-1 {
    flex: 0 0 auto;
    width: 8.33333333%;
  }
  .col-xl-2 {
    flex: 0 0 auto;
    width: 16.66666667%;
  }
  .col-xl-3 {
    flex: 0 0 auto;
    width: 25%;
  }
  .col-xl-4 {
    flex: 0 0 auto;
    width: 33.33333333%;
  }
  .col-xl-5 {
    flex: 0 0 auto;
    width: 41.66666667%;
  }
  .col-xl-6 {
    flex: 0 0 auto;
    width: 50%;
  }
  .col-xl-7 {
    flex: 0 0 auto;
    width: 58.33333333%;
  }
  .col-xl-8 {
    flex: 0 0 auto;
    width: 66.66666667%;
  }
  .col-xl-9 {
    flex: 0 0 auto;
    width: 75%;
  }
  .col-xl-10 {
    flex: 0 0 auto;
    width: 83.33333333%;
  }
  .col-xl-11 {
    flex: 0 0 auto;
    width: 91.66666667%;
  }
  .col-xl-12 {
    flex: 0 0 auto;
    width: 100%;
  }
  .offset-xl-0 {
    margin-left: 0;
  }
  .offset-xl-1 {
    margin-left: 8.33333333%;
  }
  .offset-xl-2 {
    margin-left: 16.66666667%;
  }
  .offset-xl-3 {
    margin-left: 25%;
  }
  .offset-xl-4 {
    margin-left: 33.33333333%;
  }
  .offset-xl-5 {
    margin-left: 41.66666667%;
  }
  .offset-xl-6 {
    margin-left: 50%;
  }
  .offset-xl-7 {
    margin-left: 58.33333333%;
  }
  .offset-xl-8 {
    margin-left: 66.66666667%;
  }
  .offset-xl-9 {
    margin-left: 75%;
  }
  .offset-xl-10 {
    margin-left: 83.33333333%;
  }
  .offset-xl-11 {
    margin-left: 91.66666667%;
  }
  .g-xl-0,
  .gx-xl-0 {
    --bs-gutter-x: 0;
  }
  .g-xl-0,
  .gy-xl-0 {
    --bs-gutter-y: 0;
  }
  .g-xl-1,
  .gx-xl-1 {
    --bs-gutter-x: 0.25rem;
  }
  .g-xl-1,
  .gy-xl-1 {
    --bs-gutter-y: 0.25rem;
  }
  .g-xl-2,
  .gx-xl-2 {
    --bs-gutter-x: 0.5rem;
  }
  .g-xl-2,
  .gy-xl-2 {
    --bs-gutter-y: 0.5rem;
  }
  .g-xl-3,
  .gx-xl-3 {
    --bs-gutter-x: 1rem;
  }
  .g-xl-3,
  .gy-xl-3 {
    --bs-gutter-y: 1rem;
  }
  .g-xl-4,
  .gx-xl-4 {
    --bs-gutter-x: 1.5rem;
  }
  .g-xl-4,
  .gy-xl-4 {
    --bs-gutter-y: 1.5rem;
  }
  .g-xl-5,
  .gx-xl-5 {
    --bs-gutter-x: 3rem;
  }
  .g-xl-5,
  .gy-xl-5 {
    --bs-gutter-y: 3rem;
  }
}
@media (min-width: 1600px) {
  .col-xxl {
    flex: 1 0 0;
  }
  .row-cols-xxl-auto > * {
    flex: 0 0 auto;
    width: auto;
  }
  .row-cols-xxl-1 > * {
    flex: 0 0 auto;
    width: 100%;
  }
  .row-cols-xxl-2 > * {
    flex: 0 0 auto;
    width: 50%;
  }
  .row-cols-xxl-3 > * {
    flex: 0 0 auto;
    width: 33.33333333%;
  }
  .row-cols-xxl-4 > * {
    flex: 0 0 auto;
    width: 25%;
  }
  .row-cols-xxl-5 > * {
    flex: 0 0 auto;
    width: 20%;
  }
  .row-cols-xxl-6 > * {
    flex: 0 0 auto;
    width: 16.66666667%;
  }
  .col-xxl-auto {
    flex: 0 0 auto;
    width: auto;
  }
  .col-xxl-1 {
    flex: 0 0 auto;
    width: 8.33333333%;
  }
  .col-xxl-2 {
    flex: 0 0 auto;
    width: 16.66666667%;
  }
  .col-xxl-3 {
    flex: 0 0 auto;
    width: 25%;
  }
  .col-xxl-4 {
    flex: 0 0 auto;
    width: 33.33333333%;
  }
  .col-xxl-5 {
    flex: 0 0 auto;
    width: 41.66666667%;
  }
  .col-xxl-6 {
    flex: 0 0 auto;
    width: 50%;
  }
  .col-xxl-7 {
    flex: 0 0 auto;
    width: 58.33333333%;
  }
  .col-xxl-8 {
    flex: 0 0 auto;
    width: 66.66666667%;
  }
  .col-xxl-9 {
    flex: 0 0 auto;
    width: 75%;
  }
  .col-xxl-10 {
    flex: 0 0 auto;
    width: 83.33333333%;
  }
  .col-xxl-11 {
    flex: 0 0 auto;
    width: 91.66666667%;
  }
  .col-xxl-12 {
    flex: 0 0 auto;
    width: 100%;
  }
  .offset-xxl-0 {
    margin-left: 0;
  }
  .offset-xxl-1 {
    margin-left: 8.33333333%;
  }
  .offset-xxl-2 {
    margin-left: 16.66666667%;
  }
  .offset-xxl-3 {
    margin-left: 25%;
  }
  .offset-xxl-4 {
    margin-left: 33.33333333%;
  }
  .offset-xxl-5 {
    margin-left: 41.66666667%;
  }
  .offset-xxl-6 {
    margin-left: 50%;
  }
  .offset-xxl-7 {
    margin-left: 58.33333333%;
  }
  .offset-xxl-8 {
    margin-left: 66.66666667%;
  }
  .offset-xxl-9 {
    margin-left: 75%;
  }
  .offset-xxl-10 {
    margin-left: 83.33333333%;
  }
  .offset-xxl-11 {
    margin-left: 91.66666667%;
  }
  .g-xxl-0,
  .gx-xxl-0 {
    --bs-gutter-x: 0;
  }
  .g-xxl-0,
  .gy-xxl-0 {
    --bs-gutter-y: 0;
  }
  .g-xxl-1,
  .gx-xxl-1 {
    --bs-gutter-x: 0.25rem;
  }
  .g-xxl-1,
  .gy-xxl-1 {
    --bs-gutter-y: 0.25rem;
  }
  .g-xxl-2,
  .gx-xxl-2 {
    --bs-gutter-x: 0.5rem;
  }
  .g-xxl-2,
  .gy-xxl-2 {
    --bs-gutter-y: 0.5rem;
  }
  .g-xxl-3,
  .gx-xxl-3 {
    --bs-gutter-x: 1rem;
  }
  .g-xxl-3,
  .gy-xxl-3 {
    --bs-gutter-y: 1rem;
  }
  .g-xxl-4,
  .gx-xxl-4 {
    --bs-gutter-x: 1.5rem;
  }
  .g-xxl-4,
  .gy-xxl-4 {
    --bs-gutter-y: 1.5rem;
  }
  .g-xxl-5,
  .gx-xxl-5 {
    --bs-gutter-x: 3rem;
  }
  .g-xxl-5,
  .gy-xxl-5 {
    --bs-gutter-y: 3rem;
  }
}
:root {
  --color-primary: #4d7f35;
  --color-primary-dark: #365e25;
  --color-primary-soft: #edf3e7;
  --color-ink: #151914;
  --color-muted: #52594f;
  --color-cream: #fbf9f2;
  --color-line: #e6dfd1;
  --color-white: #ffffff;
  --shadow-soft: 0 0px 30px rgba(44, 58, 35, 0.18);
  --radius-lg: 28px;
  --radius-md: 16px;
  --wide-shell: 1760px;
  --wide-gutter: clamp(36px, 3.7vw, 72px);
  --section-gap: 80px;
  --header-height: 75px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 20px);
  margin-top: 0 !important;
}

body {
  margin: 0;
  color: var(--color-ink);
  background: var(--color-white);
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.wide-shell {
  width: min(100% - var(--wide-gutter) * 2, var(--wide-shell));
  margin-inline: auto;
}

.section-spacing {
  margin-top: var(--section-gap);
}

.section-spacing.donation {
  margin-top: 50px;
}

.section-spacing-top {
  margin-top: 12px;
}

.screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 25px;
  border: 1px solid var(--color-primary);
  border-radius: 10px;
  color: var(--color-white);
  background: linear-gradient(135deg, var(--color-primary-dark), var(--color-primary));
  box-shadow: 0 8px 20px rgba(65, 110, 44, 0.19);
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 11px 24px rgba(65, 110, 44, 0.26);
}

.button__icon {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  object-fit: contain;
}

.button:focus-visible,
.amount-button:focus-visible,
.slider-arrow:focus-visible,
.slider-dot:focus-visible,
.menu-toggle:focus-visible,
.primary-nav a:focus-visible {
  outline: 3px solid rgba(77, 127, 53, 0.3);
  outline-offset: 3px;
}

.button--outline {
  min-width: 210px;
  color: var(--color-primary-dark);
  background: var(--color-white);
  box-shadow: none;
}

.button--outline:hover {
  color: var(--color-white);
  background: var(--color-primary);
}

/* Header */
.site-header {
  --menu-surface: linear-gradient(180deg, var(--color-white), var(--color-cream));
  position: relative;
  z-index: 50;
  background: transparent;
  transition: background 220ms ease;
}

.site-header__inner {
  min-height: var(--header-height);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 40px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--color-primary-dark);
}

.brand__mark {
  width: 255px;
  height: 60px;
  flex: 0 0 255px;
  object-fit: contain;
}

.brand__copy {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand__copy strong {
  font-size: 22px;
  font-weight: 800;
}

.brand__copy small {
  margin-top: 4px;
  color: var(--color-ink);
  font-size: 13px;
  font-weight: 500;
}

.primary-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(24px, 3vw, 48px);
}

.primary-nav > a {
  position: relative;
  padding: 10px 0;
  font-size: 18px;
  font-weight: 650;
}

.primary-nav > a::after {
  position: absolute;
  right: 0;
  bottom: 3px;
  left: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--color-primary);
  content: "";
  transform: scaleX(0);
  transition: transform 180ms ease;
}

.primary-nav > a:hover::after,
.primary-nav > a.is-active::after {
  transform: scaleX(1);
}

.primary-nav__footer {
  display: none;
}

.site-header__brand {
  position: relative;
  z-index: 110;
}

.button--header {
  min-height: 46px;
  padding-inline: 22px;
  font-size: 14px;
}

.menu-toggle {
  position: relative;
  z-index: 110;
  display: none;
  width: 35px;
  height: 26px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.menu-toggle__icon,
.menu-toggle__icon::before,
.menu-toggle__icon::after {
  position: absolute;
  left: 0;
  width: 100%;
  height: 3px;
  border-radius: 2px;
  background: var(--color-primary-dark);
  transition: top 250ms ease, bottom 250ms ease, transform 250ms ease, background 250ms ease;
}

.menu-toggle__icon {
  top: 50%;
  transform: translateY(-50%);
}

.menu-toggle__icon::before,
.menu-toggle__icon::after {
  content: "";
}

.menu-toggle__icon::before {
  top: -10px;
}

.menu-toggle__icon::after {
  bottom: -10px;
}

.menu-toggle[aria-expanded=true] .menu-toggle__icon {
  background: transparent;
}

.menu-toggle[aria-expanded=true] .menu-toggle__icon::before {
  top: 0;
  transform: rotate(45deg);
}

.menu-toggle[aria-expanded=true] .menu-toggle__icon::after {
  bottom: 0;
  transform: rotate(-45deg);
}

.menu-overlay {
  display: none;
}

/* Hero */
.hero-slider {
  position: relative;
  min-height: 540px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: #25271f;
  box-shadow: var(--shadow-soft);
  isolation: isolate;
}

.hero-slider__track,
.hero-slide {
  position: absolute;
  inset: 0;
}

.hero-slider__grid {
  position: relative;
  z-index: 4;
  min-height: 540px;
}

.hero-slider__row {
  min-height: inherit;
}

.hero-slide {
  opacity: 0;
  transition: opacity 650ms ease;
}

.hero-slide.is-active {
  z-index: 1;
  opacity: 1;
}

.hero-slide__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-slide__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(14, 17, 12, 0.84) 0%, rgba(18, 21, 15, 0.58) 34%, rgba(18, 21, 15, 0.05) 70%);
}

.hero-slider__content {
  position: relative;
  width: 100%;
  padding: 72px 0 32px;
  color: var(--color-white);
}

.hero-slider__content h1 {
  max-width: 600px;
  margin: 0 0 20px;
  font-size: clamp(42px, 5vw, 68px);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.035em;
}

.hero-slider__content p {
  max-width: 600px;
  margin: 0 0 26px;
  font-size: 16px;
  line-height: 1.65;
}

.button--light-icon {
  min-height: 52px;
  padding-inline: 27px;
}

.slider-arrow {
  position: relative;
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: var(--color-primary-dark);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.18);
  cursor: pointer;
  transition: background 180ms ease, transform 180ms ease;
}

.slider-arrow:hover {
  background: var(--color-white);
  transform: scale(1.05);
}

.hero-slider__controls {
  position: absolute;
  z-index: 5;
  inset: 0;
  pointer-events: none;
}

.hero-slider__controls .slider-arrow {
  position: absolute;
  top: 50%;
  pointer-events: auto;
  transform: translateY(-50%);
}

.hero-slider__controls .slider-arrow:hover {
  transform: translateY(-50%) scale(1.05);
}

.hero-slider__controls .slider-arrow--prev {
  left: 42px;
}

.hero-slider__controls .slider-arrow--next {
  right: 42px;
}

.slider-arrow span {
  margin-top: -6px;
  font-family: Arial, sans-serif;
  font-size: 45px;
  font-weight: 400;
  line-height: normal;
}

.hero-slider__meta {
  width: min(600px, 100%);
  display: flex;
  align-items: center;
  margin-top: 48px;
  color: var(--color-white);
}

.hero-slider__meta > .slider-arrow {
  display: none;
}

.hero-slider__pagination {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 52px;
}

.slider-dots {
  display: flex;
  justify-content: center;
  gap: 12px;
}

.slider-dot {
  width: 14px;
  height: 14px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.82);
  cursor: pointer;
  transition: width 180ms ease, background 180ms ease;
}

.slider-dot.is-active {
  width: 25px;
  border-radius: 9px;
  background: var(--color-primary);
}

.slider-counter {
  font-size: 15px;
  font-weight: 700;
}

@media (max-width: 1599.98px) {
  .hero-slider__controls .slider-arrow--prev {
    left: 32px;
  }
  .hero-slider__controls .slider-arrow--next {
    right: 32px;
  }
}
@media (max-width: 1399.98px) {
  .hero-slider__controls {
    display: none;
  }
  .hero-slider__meta {
    display: flex;
    gap: 40px;
  }
  .hero-slider__meta > .slider-arrow {
    display: grid;
  }
  .hero-slider__pagination {
    justify-content: center;
    gap: 22px;
  }
}
/* Shared section heading */
.section-heading {
  position: relative;
  z-index: 2;
  text-align: center;
}

.section-heading__icon,
.section-heading__top-icon {
  position: absolute;
  top: -39px;
  left: 50%;
  width: 34px;
  height: 34px;
  object-fit: contain;
  transform: translateX(-50%);
}

.section-heading h2,
.about__content h2 {
  margin: 0;
  font-size: clamp(28px, 3.2vw, 45px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.025em;
}

.section-heading h2 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.heading-branch {
  width: 34px;
  height: 40px;
  flex: 0 0 34px;
  object-fit: contain;
}

.heading-branch--left {
  transform: translateY(2px);
}

.heading-branch--right {
  transform: translateY(2px);
}

.section-heading p {
  margin: 10px 0 0;
  color: var(--color-muted);
  line-height: 1.45;
}

.section-heading--compact h2 {
  font-size: clamp(28px, 3vw, 42px);
}

.section-heading--compact p {
  margin-top: 5px;
}

/* Donation */
.donation__panel {
  position: relative;
  min-height: 550px;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 52px 24px 28px;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-lg);
  background: radial-gradient(circle at 50% 35%, #fff 0%, var(--color-cream) 62%, #f8f4e9 100%);
  box-shadow: var(--shadow-soft);
}

.donation__content {
  position: relative;
  z-index: 3;
  width: min(780px, 72%);
}

.donation-form {
  margin-top: 30px;
}

.donation-form__label {
  width: 100%;
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 22px;
  color: var(--color-white);
  background: linear-gradient(90deg, var(--color-primary-dark), var(--color-primary));
  box-shadow: 0 4px 12px rgba(45, 73, 32, 0.17);
  font-weight: 700;
}

.amount-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px 18px;
  margin-top: 0;
}

.amount-button {
  min-height: 52px;
  border: 1px solid #ded8ca;
  border-radius: 8px;
  color: var(--color-ink);
  background: rgba(255, 255, 255, 0.56);
  box-shadow: 0 3px 10px rgba(54, 57, 47, 0.05);
  font-size: 19px;
  font-weight: 750;
  cursor: pointer;
  transition: color 180ms ease, border 180ms ease, background 180ms ease, transform 180ms ease;
}

.amount-button:hover {
  border-color: var(--color-primary);
  transform: translateY(-1px);
}

.amount-button.is-selected {
  border-color: var(--color-primary);
  color: var(--color-white);
  background: linear-gradient(135deg, var(--color-primary-dark), var(--color-primary));
}

.custom-amount {
  min-height: 46px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  margin-top: 12px;
  padding: 0 18px;
  border: 1px solid #ded8ca;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.75);
}

.custom-amount:focus-within {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(77, 127, 53, 0.12);
}

.custom-amount input {
  width: 100%;
  min-width: 0;
  padding: 10px 0;
  border: 0;
  outline: 0;
  background: transparent;
}

.custom-amount span:last-child {
  color: var(--color-muted);
  font-size: 14px;
}

.button--donate {
  width: 100%;
  min-height: 54px;
  margin-top: 16px;
  font-size: 19px;
}

.donation-form__notice {
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 8px 0 0;
  color: var(--color-primary-dark);
  font-size: 13px;
  text-align: center;
}

.donation-form__notice.is-loading::before {
  width: 13px;
  height: 13px;
  flex: 0 0 13px;
  border: 2px solid rgba(54, 94, 37, 0.22);
  border-top-color: var(--color-primary-dark);
  border-radius: 50%;
  animation: donation-notice-spin 700ms linear infinite;
  content: "";
}

.donation-form__notice.is-success {
  color: var(--color-primary-dark);
  font-weight: 600;
}

.donation-form__notice.is-error {
  color: #a23434;
  font-weight: 600;
}

.button[data-payment-loading=true] {
  opacity: 0.72;
  cursor: wait;
}

@keyframes donation-notice-spin {
  to {
    transform: rotate(360deg);
  }
}
.donation-form__notice:empty {
  display: none;
}

.donation__security {
  margin: 18px 0 0;
  color: var(--color-muted);
  font-size: 13px;
  font-weight: 500;
  text-align: center;
}

.donation__security img {
  width: 18px;
  height: 18px;
  display: inline-block;
  margin-right: 6px;
  object-fit: contain;
  vertical-align: -4px;
}

.decoration {
  position: absolute;
  z-index: 1;
  object-fit: contain;
  pointer-events: none;
  user-select: none;
}

.decoration--paw-left {
  top: 88px;
  left: 50px;
  width: 105px;
  opacity: 0.78;
  transform: rotate(-13deg);
}

.decoration--line {
  top: 38px;
  right: -28px;
  width: 270px;
  opacity: 0.72;
}

.decoration--leaf-left {
  bottom: 66px;
  left: 36px;
  width: 120px;
  opacity: 0.66;
  transform: rotate(-16deg);
}

.decoration--paw-right {
  top: 260px;
  right: 48px;
  width: 90px;
  opacity: 0.78;
  transform: rotate(14deg);
}

.decoration--heart {
  right: 150px;
  bottom: 50px;
  width: 65px;
  opacity: 0.72;
}

.decoration--leaf-right {
  right: 54px;
  bottom: 23px;
  width: 48px;
  opacity: 0.78;
}

/* Animals */
.animals-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px 22px;
  margin-top: 24px;
}

.animal-card {
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
  border: 1px solid var(--color-line);
  border-radius: 13px;
  background: var(--color-white);
  /* box-shadow: 0 8px 24px rgba(49, 54, 43, 0.075); */
  box-shadow: var(--shadow-soft);
  transition: transform 200ms ease, box-shadow 200ms ease;
}

.animal-card__link {
  height: 100%;
  display: grid;
  grid-template-rows: auto 1fr;
  color: inherit;
}

.animal-card__link:focus-visible {
  outline: 3px solid rgba(77, 127, 53, 0.45);
  outline-offset: -3px;
}

.animal-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 34px rgba(49, 54, 43, 0.14);
}

.animal-card.is-hidden {
  display: none;
}

.animal-card.is-revealing {
  animation: card-in 420ms ease both;
}

@keyframes card-in {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.animal-card__media {
  position: relative;
  height: auto;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: #d9d7ce;
}

.animal-card__media::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.24), transparent 44%);
  content: "";
}

.animal-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 350ms ease;
}

.animal-card:hover .animal-card__media img {
  transform: scale(1.04);
}

.animal-card__city {
  position: absolute;
  z-index: 2;
  top: 12px;
  left: 12px;
  padding: 5px 10px;
  border-radius: 14px;
  color: var(--color-white);
  background: rgba(20, 22, 18, 0.64);
  backdrop-filter: blur(5px);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 600;
}

.animal-card__city img {
  width: 15px;
  height: 15px;
  filter: brightness(0) invert(1);
  object-fit: contain;
}

.animal-card__body {
  display: grid;
  grid-template-rows: auto minmax(24px, auto) auto auto;
  align-content: start;
  min-width: 0;
  padding: 13px 14px 15px;
}

.animal-card__body h3 {
  overflow: hidden;
  margin: 0 0 3px;
  font-size: 22px;
  font-weight: 800;
  line-height: 1.3;
  text-align: left;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.animal-card__body p {
  overflow: hidden;
  min-height: 24px;
  margin: 0;
  color: var(--color-muted);
  font-size: 14px;
  line-height: 1.45;
  text-align: left;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.animal-card__progress {
  height: 6px;
  overflow: hidden;
  margin: 9px 0 7px;
  border-radius: 4px;
  background: #e5e7e2;
}

.animal-card__progress span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--color-primary-dark), #73a45c);
}

.animal-card__body strong {
  display: block;
  font-size: 14px;
  line-height: 1.3;
}

.animals__more {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}

.animals__more[hidden] {
  display: none;
}

/* About */
.about__panel {
  padding: 14px;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #fff 0%, var(--color-cream) 100%);
  box-shadow: var(--shadow-soft);
}

.about__row {
  --bs-gutter-x: 28px;
  align-items: stretch;
}

.about__media,
.about__content-column {
  min-width: 0;
}

.about__media,
.about__content-column {
  display: flex;
}

.about-collage {
  width: 100%;
  min-height: 0;
  aspect-ratio: 1/1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  grid-template-rows: repeat(2, 1fr);
  gap: 10px;
}

.about-collage figure {
  min-height: 0;
  overflow: hidden;
  margin: 0;
  border-radius: 14px;
}

.about-collage__large {
  grid-row: 1/3;
}

.about-collage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-collage__large img {
  object-position: 50% 34%;
}

.about__content {
  width: 100%;
  min-width: 0;
  align-self: center;
  padding: 0px 36px 0px 0px;
}

.about__content .heading-branch--right {
  transform: translateY(-2px);
}

.about__content h2 {
  color: #152739;
}

.about__content h2 {
  display: block;
}

.about__content h2 .heading-branch {
  width: 30px;
  height: 36px;
  flex-basis: 30px;
}

.about-title__line {
  display: inline-flex;
  align-items: flex-end;
  gap: 12px;
  white-space: nowrap;
}

.about__content > p {
  margin: 14px 0 0;
  color: #343b34;
  font-size: 18px;
  line-height: 1.65;
}

.stats-grid {
  --bs-gutter-x: 12px;
  row-gap: 12px;
  margin-top: 22px;
  margin-bottom: 22px;
}

.stats-grid > * {
  display: flex;
}

.stat-card {
  width: 100%;
  min-height: 96px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 12px;
  border-radius: 11px;
  background: #eef2df;
}

.stat-card img {
  width: 47px;
  height: 47px;
  flex: 0 0 47px;
  object-fit: contain;
}

.stat-card p {
  display: flex;
  flex-direction: column;
  margin: 0;
  line-height: 1.1;
}

.stat-card strong {
  font-size: 28px;
  font-weight: 800;
}

.stat-card span {
  margin-top: 5px;
  font-size: 14px;
  font-weight: 500;
}

@media (max-width: 1599.98px) {
  .about__row {
    --bs-gutter-x: 24px;
  }
  .about__content {
    padding-right: 28px;
  }
  .about__content > p {
    font-size: 16px;
  }
  .stat-card strong {
    font-size: 24px;
  }
}
@media (max-width: 1199.98px) and (min-width: 992px) {
  .about__media {
    align-items: center;
  }
  .about-collage {
    max-height: 560px;
  }
}
@media (max-width: 1199.98px) {
  .about__row {
    row-gap: 16px;
  }
  .about-collage {
    aspect-ratio: 4/3;
    grid-template-columns: 1.1fr 0.9fr;
  }
  .about__content {
    padding: 0;
  }
  .about-title__line {
    white-space: normal;
  }
  .about__content > p {
    font-size: 16px;
    line-height: 1.6;
  }
  .stats-grid {
    --bs-gutter-x: 7px;
    row-gap: 7px;
    margin-top: 10px;
    margin-bottom: 10px;
  }
  .stat-card {
    padding: 10px 8px;
    min-height: 70px;
  }
  .stat-card img {
    width: 28px;
    height: 28px;
    flex-basis: 28px;
  }
  .stat-card strong {
    font-size: 20px;
  }
  .stat-card span {
    font-size: 12px;
  }
}
@media (max-width: 991.98px) {
  .about-collage {
    aspect-ratio: 16/9;
  }
  .about__content h2 {
    text-align: center;
  }
  .stats-grid {
    justify-content: center;
  }
}
@media (max-width: 575.98px) {
  .about-collage {
    aspect-ratio: 1/1;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1.2fr 0.8fr;
  }
  .about-collage__large {
    grid-column: 1/3;
    grid-row: 1;
  }
  .about-title__line {
    display: inline;
    white-space: normal;
  }
  .about-title__line .heading-branch {
    display: inline-block;
    margin-left: 8px;
    vertical-align: middle;
  }
  .about__content > p {
    font-size: 15px;
    line-height: 1.55;
  }
  .stats-grid {
    row-gap: 10px;
  }
  .stat-card {
    justify-content: flex-start;
    min-height: 80px;
    padding-inline: 20px;
    flex-flow: column;
    text-align: center;
  }
}
/* Footer */
.site-footer {
  margin-top: var(--section-gap);
  padding-bottom: 0;
}

.site-footer__panel {
  overflow: hidden;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  background: linear-gradient(135deg, #f6f5ec 0%, #eeecdf 100%);
  box-shadow: var(--shadow-soft);
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 1.15fr 0.8fr 1fr 1.15fr;
  gap: 58px;
  padding-top: 34px;
  padding-bottom: 28px;
}

.brand--footer .brand__mark {
  width: 255px;
  height: 60px;
  flex-basis: 255px;
}

.brand--footer .brand__copy strong {
  font-size: 17px;
}

.site-footer__about > p {
  max-width: 230px;
  margin: 16px 0 0;
  color: #43483f;
  font-size: 14px;
  line-height: 1.6;
}

.site-footer__title {
  margin: 4px 0 14px;
  font-size: 18px;
  font-weight: 800;
}

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

.footer-links li + li {
  margin-top: 5px;
}

.footer-links a,
.footer-contacts {
  font-size: 14px;
  font-style: normal;
  line-height: 1.45;
}

.footer-links a:hover,
.footer-contacts a:hover {
  color: var(--color-primary);
}

.footer-contacts {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 7px;
}

.site-footer__copyright {
  padding: 7px 20px;
  color: var(--color-white);
  background: linear-gradient(90deg, var(--color-primary-dark), var(--color-primary));
  font-size: 14px;
  text-align: center;
}

@media (max-width: 1599.98px) {
  .site-footer__grid {
    gap: 36px;
  }
}
@media (max-width: 1199.98px) {
  .site-footer__grid {
    gap: 15px;
    padding-inline: 0;
    grid-template-columns: 1fr 0.7fr 1.1fr 1fr;
  }
}
@media (max-width: 991.98px) {
  .site-footer__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 35px;
  }
}
@media (max-width: 575.98px) {
  .footer-links li + li {
    margin-top: 3px;
  }
  .site-footer__title {
    margin: 3px 0 5px;
  }
  .site-footer__grid {
    grid-template-columns: 1fr;
    gap: 15px;
    padding: 28px clamp(18px, 6vw, 24px);
  }
  .site-footer__about > p {
    max-width: none;
  }
  .footer-contacts__address {
    max-width: 280px;
  }
}
/* Calm entrance motion: applied progressively by home.js. */
.reveal-pending {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 650ms ease, transform 650ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

.reveal-pending.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Standard content and reusable document template */
.content-section,
.document {
  min-height: 55vh;
}

.content-card,
.document__card {
  padding: clamp(28px, 5vw, 70px);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-lg);
  background: var(--color-cream);
  box-shadow: var(--shadow-soft);
}

.entry__title,
.document__title {
  margin: 0 0 28px;
  font-size: clamp(32px, 4vw, 54px);
  line-height: 1.12;
}

.document__eyebrow {
  margin-bottom: 10px;
  color: var(--color-primary);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.entry__content,
.document__content {
  max-width: 900px;
}

.entry-content h2 {
  margin: 42px 0 14px;
  font-size: 26px;
}

.entry-content h3 {
  margin: 30px 0 10px;
  font-size: 20px;
}

.entry-content p,
.entry-content li {
  color: #343b34;
  line-height: 1.75;
}

.entry-content a {
  color: var(--color-primary-dark);
  text-decoration: underline;
}

.not-found {
  position: relative;
  display: grid;
  min-height: clamp(560px, 100vh - var(--header-height), 820px);
  place-items: center;
  padding: 70px 0 90px;
  overflow: hidden;
  background: linear-gradient(180deg, var(--color-white) 0%, var(--color-cream) 100%);
}

.not-found__inner {
  position: relative;
  z-index: 1;
}

.not-found__card {
  width: min(100%, 820px);
  margin-inline: auto;
  padding: clamp(46px, 6vw, 82px);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-soft);
  text-align: center;
}

.not-found__heart {
  width: 34px;
  margin: 0 auto 10px;
  opacity: 0.65;
}

.not-found__code {
  color: var(--color-primary);
  font-size: clamp(92px, 12vw, 164px);
  font-weight: 800;
  letter-spacing: -0.07em;
  line-height: 0.9;
}

.not-found h1 {
  max-width: 650px;
  margin: 28px auto 16px;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.12;
}

.not-found__content {
  max-width: 610px;
  margin-inline: auto;
}

.not-found__content p {
  margin: 0;
  color: var(--color-muted);
  font-size: 18px;
}

.not-found__button {
  margin-top: 32px;
}

.not-found__decor {
  position: absolute;
  pointer-events: none;
  opacity: 0.12;
}

.not-found__decor--branch {
  top: 15%;
  left: 4%;
  width: 150px;
  transform: rotate(-18deg);
}

.not-found__decor--paw {
  right: 6%;
  bottom: 14%;
  width: 120px;
  transform: rotate(18deg);
}

@media (max-width: 767.98px) {
  .not-found {
    min-height: calc(100vh - var(--header-height));
    padding: 36px 0 54px;
  }
  .not-found__card {
    padding: 40px 22px 44px;
    border-radius: 22px;
  }
  .not-found h1 {
    margin-top: 22px;
    font-size: 32px;
  }
  .not-found__content p {
    font-size: 16px;
  }
  .not-found__decor--branch {
    left: -50px;
  }
  .not-found__decor--paw {
    right: -40px;
  }
}
body.single-animal {
  min-height: 100vh;
  background: radial-gradient(circle at 10% 240px, rgba(237, 243, 231, 0.72), transparent 32rem), linear-gradient(180deg, var(--color-white) 0%, var(--color-cream) 100%);
}

.animal-profile {
  position: relative;
  padding: 46px 0 20px;
  background: transparent;
}

.animal-profile__decor {
  position: absolute;
  z-index: 0;
  display: block;
  pointer-events: none;
  user-select: none;
}

.animal-profile__decor--line {
  top: 18px;
  right: 0;
  width: clamp(210px, 18vw, 340px);
  opacity: 0.72;
}

.animal-profile__decor--paw-left-top {
  top: 390px;
  left: max(18px, 50% - 800px);
  width: 76px;
  opacity: 0.24;
  transform: rotate(-24deg);
}

.animal-profile__decor--paw-right-middle {
  top: 650px;
  right: max(16px, 50% - 792px);
  width: 92px;
  opacity: 0.3;
  transform: rotate(19deg);
}

.animal-profile__decor--paw-left-bottom {
  bottom: 54px;
  left: max(24px, 50% - 762px);
  width: 58px;
  opacity: 0.2;
  transform: rotate(11deg);
}

.animal-profile > .container {
  position: relative;
  z-index: 1;
}

.animal-profile__header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
}

.animal-profile__header h1 {
  min-width: 0;
  margin: 0;
  font-size: clamp(28px, 3.2vw, 45px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.025em;
}

.animal-profile__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.85fr) minmax(340px, 0.95fr);
  align-items: start;
  gap: 44px;
}

.animal-profile__main {
  min-width: 0;
}

.animal-gallery {
  position: relative;
  isolation: isolate;
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-lg);
  background: #d9d7ce;
  box-shadow: var(--shadow-soft);
}

.animal-gallery .swiper-wrapper {
  height: 100%;
  align-items: stretch;
  transition-timing-function: ease;
}

.animal-gallery .swiper-slide {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #d9d7ce;
  transition-property: opacity !important;
  transition-timing-function: ease !important;
}

.animal-gallery .swiper-slide img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

.animal-gallery .animal-gallery__arrow {
  top: 50%;
  width: 54px;
  height: 54px;
  margin-top: 0;
  transform: translateY(-50%);
  border: 0;
  border-radius: 50%;
  color: var(--color-primary-dark);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.18);
  transition: background 180ms ease, transform 180ms ease;
}

.animal-gallery .animal-gallery__arrow:hover {
  transform: translateY(-50%) scale(1.05);
  background: var(--color-white);
}

.animal-gallery .animal-gallery__arrow:active {
  transform: translateY(-50%) scale(0.96);
}

.animal-gallery .animal-gallery__arrow.swiper-button-disabled {
  opacity: 0.45;
}

.animal-gallery__arrow::after {
  content: none;
}

.animal-gallery__arrow span {
  margin-top: -6px;
  font-family: Arial, sans-serif;
  font-size: 45px;
  font-weight: 400;
  line-height: normal;
}

.animal-gallery .animal-gallery__arrow--prev {
  left: 22px;
}

.animal-gallery .animal-gallery__arrow--next {
  right: 22px;
}

.animal-gallery__pagination.swiper-pagination {
  right: auto;
  bottom: 20px;
  left: 50%;
  width: auto;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0;
  border: 0;
  background: transparent;
  transform: translateX(-50%);
}

.animal-gallery__pagination .swiper-pagination-bullet {
  width: 14px;
  height: 14px;
  margin: 0 !important;
  border-radius: 50%;
  opacity: 1;
  background: rgba(255, 255, 255, 0.82);
  transition: width 180ms ease, background 180ms ease;
}

.animal-gallery__pagination .swiper-pagination-bullet-active {
  width: 25px;
  border-radius: 9px;
  background: var(--color-primary);
}

.animal-profile__security {
  position: relative;
  width: min(540px, 75%);
  min-height: 78px;
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 24px;
  padding: 10px 20px;
  border: 1px solid rgba(230, 223, 209, 0.72);
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--color-primary-soft), var(--color-cream));
  box-shadow: 0 8px 24px rgba(49, 54, 43, 0.07);
}

.animal-profile__security-decor {
  position: absolute;
  right: -98px;
  bottom: -2px;
  width: 64px;
  opacity: 0.42;
  transform: rotate(13deg);
  pointer-events: none;
  user-select: none;
}

.animal-profile__security-icon {
  width: 48px;
  height: 54px;
  flex: 0 0 48px;
  display: grid;
  place-items: center;
}

.animal-profile__security-icon img {
  width: 48px;
  height: 54px;
  object-fit: contain;
}

.animal-profile__security strong,
.animal-profile__security small {
  display: block;
}

.animal-profile__security strong {
  font-size: 17px;
}

.animal-profile__security small {
  margin-top: 3px;
  color: var(--color-muted);
  font-size: 14px;
}

.animal-story {
  --story-line-limit: 8;
  position: relative;
  margin-top: 28px;
  padding-right: 44px;
}

.animal-story__content {
  position: relative;
  z-index: 1;
  max-height: var(--story-collapsed-height, 218px);
  overflow: hidden;
  transition: max-height 520ms cubic-bezier(0.4, 0, 0.2, 1);
  will-change: max-height;
}

.animal-story.has-overflow:not(.is-expanded) .animal-story__content {
  -webkit-mask-image: linear-gradient(to bottom, #000 0, #000 calc(100% - 56px), transparent 100%);
  mask-image: linear-gradient(to bottom, #000 0, #000 calc(100% - 56px), transparent 100%);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
}

.animal-story.is-expanded .animal-story__content {
  max-height: var(--story-expanded-height, 5000px);
}

.animal-story__content p {
  margin: 0 0 16px;
  color: var(--color-ink);
  font-size: 17px;
  line-height: 1.65;
}

.animal-story__toggle {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
  padding: 0;
  border: 0;
  border-bottom: 1px solid currentColor;
  color: var(--color-primary-dark);
  background: transparent;
  font-weight: 700;
  cursor: pointer;
  transition: color 180ms ease, transform 180ms ease;
}

.animal-story__toggle:hover {
  color: var(--color-primary);
  transform: translateY(-1px);
}

.animal-story__toggle-icon {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  overflow: visible;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 320ms cubic-bezier(0.4, 0, 0.2, 1);
}

.animal-story__toggle[hidden] {
  display: none;
}

.animal-story__decor {
  position: absolute;
  z-index: 0;
  display: block;
  pointer-events: none;
  user-select: none;
}

.animal-story__decor--paw {
  right: -14px;
  bottom: 16px;
  width: 72px;
  opacity: 0.52;
  transform: rotate(-12deg);
}

.animal-story.is-expanded .animal-story__toggle-icon {
  transform: rotate(180deg);
}

.animal-fundraising {
  min-width: 0;
  position: sticky;
  top: 10px;
}

.animal-fundraising__card {
  position: relative;
  min-height: 500px;
  overflow: hidden;
  padding: 50px 40px 35px;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-lg);
  background: radial-gradient(circle at 50% 28%, var(--color-white) 0%, var(--color-cream) 70%, #f8f4e9 100%);
  box-shadow: var(--shadow-soft);
  text-align: center;
}

.animal-fundraising__heart {
  position: absolute;
  z-index: 2;
  top: 26px;
  left: 50%;
  width: 34px;
  height: 34px;
  display: block;
  object-fit: contain;
  opacity: 0.78;
  transform: translateX(-50%);
  pointer-events: none;
}

.animal-fundraising__decor {
  position: absolute;
  z-index: 0;
  display: block;
  pointer-events: none;
  user-select: none;
}

.animal-fundraising__decor--left {
  top: 205px;
  left: -18px;
  width: 84px;
  opacity: 0.52;
  transform: rotate(-11deg);
}

.animal-fundraising__decor--right {
  top: 300px;
  right: -22px;
  width: 68px;
  opacity: 0.46;
  transform: scaleX(-1) rotate(-18deg);
}

.animal-fundraising__card > :not(.animal-fundraising__heart, .animal-fundraising__decor) {
  position: relative;
  z-index: 1;
}

.animal-fundraising__raised {
  margin: 0;
  font-size: 28px;
  font-weight: 700;
}

.animal-fundraising__raised strong {
  color: var(--color-primary);
  font-size: 32px;
}

.animal-fundraising__goal-label {
  margin: 5px 0 0;
  color: var(--color-muted);
  font-size: 16px;
}

.animal-fundraising__goal {
  margin: 3px 0 0;
  font-size: 26px;
  font-weight: 800;
}

.animal-fundraising__progress {
  --progress: 0;
  position: relative;
  width: 120px;
  height: 120px;
  display: grid;
  place-items: center;
  margin: 20px auto 0;
  border-radius: 50%;
  background: conic-gradient(var(--color-primary) calc(var(--progress) * 1%), #e5e7e2 0);
  box-shadow: 0 8px 22px rgba(65, 110, 44, 0.12);
}

.animal-fundraising__progress::before {
  position: absolute;
  inset: 14px;
  border-radius: 50%;
  background: var(--color-white);
  content: "";
}

.animal-fundraising__progress span {
  position: relative;
  z-index: 1;
  font-size: 24px;
  font-weight: 800;
}

.animal-fundraising__count {
  margin: 20px 0 0;
  color: var(--color-muted);
  font-size: 14px;
}

.animal-fundraising__donate,
.animal-fundraising__share {
  width: 100%;
  min-height: 62px;
  margin-top: 32px;
  font-size: 17px;
}

.animal-fundraising__donate span {
  font-size: 28px;
  line-height: 1;
  font-weight: 400;
}

.animal-fundraising__share {
  margin-top: 16px;
  color: var(--color-primary-dark);
  background: transparent;
}

.animal-fundraising__share-icon {
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  overflow: visible;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.animal-fundraising__share.is-copied .animal-fundraising__share-icon {
  display: none;
}

@media (max-width: 1599.98px) {
  .animal-profile__security-icon,
  .animal-profile__security-icon img {
    width: 42px;
    height: 42px;
  }
}
@media (max-width: 1199.98px) {
  .animal-profile__layout {
    grid-template-columns: minmax(0, 1.45fr) minmax(310px, 0.75fr);
    gap: 24px;
  }
  .animal-fundraising__card {
    min-height: 0;
    padding: 40px 22px 28px;
  }
  .animal-fundraising {
    top: 24px;
  }
  .animal-fundraising__raised {
    font-size: 22px;
    line-height: 1.3;
  }
  .animal-fundraising__raised strong {
    font-size: 27px;
  }
  .animal-fundraising__goal-label {
    font-size: 14px;
  }
  .animal-fundraising__goal {
    font-size: 23px;
  }
  .animal-fundraising__progress {
    width: 108px;
    height: 108px;
    margin-top: 18px;
  }
  .animal-fundraising__donate,
  .animal-fundraising__share {
    min-height: 56px;
    padding-inline: 16px;
    font-size: 15px;
  }
  .animal-profile__security {
    width: min(560px, 88%);
  }
}
@media (max-width: 991.98px) {
  .animal-profile__layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }
  .animal-profile__main {
    display: contents;
  }
  .animal-gallery {
    order: 1;
  }
  .animal-fundraising {
    position: static;
    order: 2;
  }
  .animal-profile__security {
    order: 3;
    margin-top: 0;
    margin: 0 auto;
  }
  .animal-profile__layout .animal-story {
    order: 4;
    margin-top: 0;
  }
  .animal-fundraising__card {
    width: min(100%, 620px);
    min-height: 0;
    margin-inline: auto;
  }
  .animal-profile {
    padding-top: 34px;
  }
  .animal-profile__header {
    gap: 10px;
    margin-bottom: 24px;
  }
  .animal-profile__header h1 {
    font-size: 28px;
  }
  .animal-profile__decor--line {
    top: 8px;
    right: 0;
    opacity: 0.48;
  }
  .animal-profile__decor--paw-left-top {
    top: 360px;
    left: 8px;
    width: 52px;
    opacity: 0.16;
  }
  .animal-profile__decor--paw-right-middle {
    top: 760px;
    right: 8px;
    width: 62px;
    opacity: 0.18;
  }
  .animal-profile__decor--paw-left-bottom {
    bottom: 34px;
    left: 10px;
    width: 44px;
    opacity: 0.14;
  }
  .animal-gallery .animal-gallery__arrow {
    width: 45px;
    height: 45px;
  }
  .animal-story {
    padding-right: 32px;
  }
}
@media (max-width: 575.98px) {
  .animal-profile {
    padding-top: 24px;
  }
  .animal-profile__header {
    align-items: flex-start;
    gap: 6px;
    margin-bottom: 20px;
  }
  .animal-profile__header h1 {
    font-size: clamp(25px, 7.2vw, 30px);
    text-align: center;
  }
  .animal-gallery {
    aspect-ratio: 4/3;
    border-radius: var(--radius-md);
  }
  .animal-gallery .animal-gallery__arrow {
    width: 42px;
    height: 42px;
  }
  .animal-gallery__arrow span {
    font-size: 38px;
  }
  .animal-gallery .animal-gallery__arrow--prev {
    left: 10px;
  }
  .animal-gallery .animal-gallery__arrow--next {
    right: 10px;
  }
  .animal-gallery__pagination.swiper-pagination {
    bottom: 12px;
  }
  .animal-profile__security {
    width: 100%;
    min-height: 0;
    gap: 10px;
    padding: 12px 10px;
  }
  .animal-profile__security-icon,
  .animal-profile__security-icon img {
    width: 42px;
    height: 48px;
  }
  .animal-profile__security-icon {
    flex-basis: 42px;
  }
  .animal-profile__security strong {
    font-size: 16px;
  }
  .animal-profile__security small {
    font-size: 14px;
  }
  .animal-profile__security-decor {
    right: 8px;
    bottom: -38px;
    width: 40px;
    opacity: 0.22;
    transform: rotate(18deg);
  }
  .animal-fundraising__card {
    padding: 35px 12px 24px;
    border-radius: var(--radius-lg);
  }
  .animal-fundraising__heart {
    top: 10px;
  }
  .animal-story {
    --story-line-limit: 6;
    margin-top: 24px;
    padding-right: 0px;
  }
  .animal-story__content p {
    margin-bottom: 14px;
    font-size: 16px;
    line-height: 1.65;
  }
  .animal-story__decor--paw {
    right: -12px;
    width: 48px;
    opacity: 0.34;
  }
  .animal-fundraising__raised {
    font-size: 25px;
  }
  .animal-fundraising__raised strong {
    font-size: 30px;
  }
  .animal-fundraising__goal-label {
    font-size: 15px;
  }
  .animal-fundraising__goal {
    font-size: 24px;
  }
  .animal-fundraising__progress {
    width: 104px;
    height: 104px;
    margin-top: 18px;
  }
  .animal-fundraising__progress span {
    font-size: 23px;
  }
  .animal-fundraising__count {
    margin-top: 16px;
    font-size: 15px;
  }
  .animal-fundraising__donate,
  .animal-fundraising__share {
    min-height: 54px;
    padding-inline: 10px;
    font-size: 16px;
  }
  .animal-fundraising__donate {
    margin-top: 24px;
  }
  .animal-fundraising__share {
    margin-top: 12px;
  }
  .animal-fundraising__donate span {
    font-size: 24px;
  }
  .animal-fundraising__share-icon {
    width: 21px;
    height: 21px;
    flex-basis: 21px;
  }
  .animal-fundraising__decor--left {
    top: 190px;
    width: 68px;
    opacity: 0.34;
  }
  .animal-fundraising__decor--right {
    top: 270px;
    width: 58px;
    opacity: 0.3;
  }
}
@media (prefers-reduced-motion: reduce) {
  .animal-gallery .swiper-wrapper,
  .animal-gallery .swiper-slide,
  .animal-gallery__pagination .swiper-pagination-bullet {
    transition-duration: 0.01ms !important;
  }
}
.donation-modal[hidden] {
  display: none;
}

.donation-modal {
  position: fixed;
  z-index: 1000;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
}

.donation-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(18, 25, 15, 0.64);
  backdrop-filter: blur(5px);
}

.donation-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(720px, 100%);
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  padding: 70px 54px 34px;
  border: 1px solid var(--color-line);
  border-radius: 28px;
  background: radial-gradient(circle at 50% 20%, #fff 0%, var(--color-cream) 72%);
  box-shadow: 0 28px 80px rgba(16, 25, 12, 0.3);
}

.donation-modal__close {
  position: absolute;
  z-index: 2;
  top: 18px;
  right: 20px;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid var(--color-line);
  border-radius: 50%;
  color: var(--color-primary-dark);
  background: #fff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.donation-modal__heading h2 {
  font-size: clamp(28px, 4vw, 40px);
}

.donation-modal__form {
  margin-top: 30px;
}

body.donation-modal-open {
  overflow: hidden;
}

@media (max-width: 991.98px) {
  .donation-modal__dialog {
    width: min(680px, 100%);
    padding: 64px 34px 30px;
  }
  .donation-modal__heading h2 {
    font-size: clamp(28px, 5vw, 34px);
  }
  .donation-modal__form {
    margin-top: 24px;
  }
}
@media (max-width: 575.98px) {
  .donation-modal {
    padding: clamp(8px, 3vw, 12px);
  }
  .donation-modal__dialog {
    max-height: calc(100vh - clamp(16px, 6vw, 24px));
    padding: 56px clamp(10px, 3.6vw, 14px) clamp(18px, 5vw, 22px);
    border-radius: var(--radius-lg);
  }
  .donation-modal__close {
    top: 12px;
    right: 12px;
    width: 38px;
    height: 38px;
    font-size: 25px;
  }
  .donation-modal__heading h2 {
    font-size: clamp(24px, 7vw, 28px);
    line-height: 1.2;
  }
  .donation-modal__heading .heading-branch {
    width: clamp(18px, 6vw, 22px);
    height: clamp(24px, 7.5vw, 28px);
    flex-basis: clamp(18px, 6vw, 22px);
  }
  .donation-modal__heading p {
    margin-top: 7px;
    font-size: 14px;
  }
  .donation-modal__form {
    margin-top: 20px;
  }
  .donation-modal .donation__security {
    margin-top: 14px;
    font-size: 13px;
    line-height: 1.45;
  }
}
/* Intermediate desktop sizes. The 1920px layout above remains the source of truth. */
@media (max-width: 1700px) {
  .wide-shell {
    width: calc(100% - 50px);
  }
}
.wide-shell {
  width: calc(100% - 70px);
}

@media (max-width: 1300px) {
  .wide-shell {
    width: calc(100% - 30px);
  }
}
@media (max-width: 1599.98px) {
  :root {
    --wide-gutter: 32px;
    --section-gap: 72px;
  }
  .site-header__inner {
    gap: 28px;
  }
  .primary-nav {
    gap: clamp(20px, 2.2vw, 34px);
  }
  .hero-slider,
  .hero-slider__grid {
    min-height: 510px;
  }
  .hero-slider__content {
    padding-top: 64px;
  }
  .hero-slider__content h1 {
    font-size: clamp(44px, 4.4vw, 60px);
  }
  .decoration--paw-right {
    right: 20px;
  }
  .decoration--heart,
  .decoration--leaf-right {
    right: 30px;
  }
}
/* Tablet */
@media (max-width: 1199.98px) {
  .brand__mark {
    width: 230px;
    height: 55px;
    flex: 0 0 230px;
  }
  .brand--footer .brand__mark {
    width: 220px;
    height: 52px;
    flex: 0 0 220px;
  }
  .decoration--paw-left,
  .decoration--leaf-left {
    left: 15px;
  }
  .decoration--paw-right,
  .decoration--heart,
  .decoration--leaf-right {
    right: 10px;
  }
  :root {
    --header-height: 82px;
    --section-gap: 68px;
  }
  .wide-shell {
    width: calc(100% - 48px);
  }
  .site-header__inner {
    gap: 20px;
  }
  .brand__copy strong {
    font-size: 17px;
  }
  .primary-nav {
    gap: 20px;
  }
  .primary-nav a,
  .button--header {
    font-size: 16px;
  }
  .hero-slider {
    min-height: 450px;
  }
  .hero-slider__grid {
    min-height: 450px;
  }
  .hero-slider__content {
    width: 100%;
    padding-top: 62px;
  }
  .donation__content {
    width: min(740px, 78%);
  }
  .brand__copy small {
    font-size: 12px;
  }
  .animal-gallery__pagination .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
  }
  .animal-gallery__pagination .swiper-pagination-bullet-active {
    width: 18px;
  }
}
/* Mobile navigation and layout */
@media (max-width: 991.98px) {
  :root {
    --section-gap: 64px;
  }
  .wide-shell {
    width: calc(100% - 32px);
  }
  .site-header__inner {
    grid-template-columns: 1fr auto;
  }
  body.menu-open .site-header {
    background: linear-gradient(0deg, var(--color-white), var(--color-cream));
  }
  .menu-toggle {
    display: block;
    grid-column: 2;
    grid-row: 1;
  }
  .primary-nav {
    position: fixed;
    z-index: 100;
    top: var(--header-height);
    right: 0;
    bottom: 0;
    left: auto;
    width: min(360px, 100vw - 40px);
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    overflow-y: auto;
    padding: 28px 28px 32px;
    border-left: 1px solid var(--color-line);
    background: var(--menu-surface);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateX(100%);
    transition: transform 300ms cubic-bezier(0.4, 0, 0.2, 1), opacity 220ms ease, visibility 300ms;
  }
  .primary-nav.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(0);
  }
  .primary-nav > a {
    padding: 16px 4px;
    border-bottom: 1px solid #efeee8;
    font-size: 16px;
  }
  .primary-nav > a::after {
    display: none;
  }
  .primary-nav__footer {
    display: block;
    padding-top: 20px;
  }
  .primary-nav__donate {
    width: 100%;
    min-height: 56px;
    padding-inline: 20px;
    font-size: 16px;
  }
  .button--header {
    display: none;
  }
  .menu-overlay {
    position: fixed;
    z-index: 90;
    inset: var(--header-height) 0 0;
    display: block;
    background: rgba(20, 28, 17, 0.42);
    backdrop-filter: blur(2px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 220ms ease, visibility 220ms;
  }
  .menu-overlay.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
  .hero-slider {
    min-height: 500px;
  }
  .hero-slider__grid {
    min-height: 500px;
  }
  .hero-slide__image {
    object-position: 90% center;
  }
  .hero-slide__shade {
    background: linear-gradient(90deg, rgba(14, 17, 12, 0.85) 0%, rgba(18, 21, 15, 0.55) 58%, rgba(18, 21, 15, 0.16) 100%);
  }
  .hero-slider__content {
    width: min(600px, 78%);
    padding: 60px 0 28px;
  }
  .hero-slider__content h1 {
    font-size: clamp(38px, 7vw, 54px);
  }
  .hero-slider__content p {
    font-size: 14px;
  }
  .slider-arrow {
    width: 45px;
    height: 45px;
  }
  .hero-slider__meta {
    grid-template-columns: 45px minmax(0, 1fr) 45px;
    gap: 12px;
  }
  .donation__panel {
    min-height: 0;
    padding: 58px 30px 34px;
  }
  .donation__content {
    width: 100%;
    max-width: 650px;
  }
  .decoration {
    opacity: 0.18;
  }
  .decoration--paw-left,
  .decoration--leaf-left {
    left: -15px;
  }
  .decoration--paw-right,
  .decoration--heart,
  .decoration--leaf-right {
    right: -10px;
  }
  .animals-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 575.98px) {
  :root {
    --radius-lg: clamp(16px, 5vw, 20px);
    --header-height: 76px;
    --section-gap: 52px;
    --mobile-shell-inset: clamp(16px, 6vw, 24px);
  }
  body {
    font-size: 15px;
  }
  .wide-shell {
    width: calc(100% - var(--mobile-shell-inset));
  }
  .site-header__inner {
    gap: 10px;
  }
  .brand {
    gap: 8px;
  }
  .brand__mark {
    width: 220px;
    height: 55px;
    flex-basis: 220px;
  }
  .brand--footer .brand__mark {
    width: 250px;
    height: 55px;
    flex: 0 0 250px;
  }
  .brand__copy strong {
    font-size: 15px;
  }
  .brand__copy small {
    font-size: 8px;
  }
  .hero-slider {
    min-height: 460px;
  }
  .hero-slider__grid {
    min-height: 460px;
  }
  .hero-slide__image {
    object-position: 82% center;
  }
  .hero-slide__shade {
    background: linear-gradient(180deg, rgba(13, 16, 11, 0.3) 0%, rgba(13, 16, 11, 0.78) 54%, rgba(13, 16, 11, 0.92) 100%);
  }
  .hero-slider__content {
    position: absolute;
    right: clamp(18px, 6vw, 24px);
    bottom: 86px;
    left: clamp(18px, 6vw, 24px);
    width: auto;
    padding: 0;
  }
  .hero-slider__content h1 {
    margin-bottom: 14px;
    font-size: clamp(32px, 10vw, 38px);
  }
  .hero-slider__content p {
    margin-bottom: 18px;
    font-size: 13px;
    line-height: 1.55;
  }
  .hero-slider__meta {
    grid-template-columns: 42px minmax(0, 1fr) 42px;
    gap: 8px;
    margin-top: 24px;
  }
  .slider-arrow {
    width: 42px;
    height: 42px;
  }
  .hero-slider__pagination {
    gap: 12px;
  }
  .slider-dots {
    gap: 8px;
  }
  .slider-arrow span {
    font-size: 38px;
  }
  .donation__panel {
    min-height: 0;
    padding: 48px clamp(12px, 4vw, 16px) 26px;
  }
  .section-heading__icon,
  .section-heading__top-icon {
    top: -35px;
  }
  .section-heading h2 {
    font-size: clamp(25px, 7.5vw, 28px);
  }
  .section-heading h2 {
    gap: 8px;
  }
  .heading-branch {
    width: clamp(22px, 7vw, 26px);
    height: clamp(28px, 8.5vw, 32px);
    flex-basis: clamp(22px, 7vw, 26px);
  }
  .section-heading p br {
    display: none;
  }
  .section-heading p {
    font-size: 14px;
  }
  .donation-form {
    margin-top: 24px;
  }
  .amount-grid {
    gap: clamp(7px, 2.4vw, 9px);
  }
  .amount-button {
    min-height: 48px;
    font-size: clamp(15px, 4.3vw, 16px);
  }
  .decoration--line {
    width: 180px;
  }
  .animals-grid {
    grid-template-columns: 1fr;
    margin-top: 12px;
  }
  .animals__more {
    margin-top: 12px;
  }
  .animal-card__media {
    height: auto;
    aspect-ratio: 16/9;
  }
  .animal-card__body p {
    min-height: 0;
  }
  .content-card,
  .document__card {
    padding: 28px 20px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/*# sourceMappingURL=styles.css.map */
