/* Design tokens from tokens.json + checkout font */
:root {
  --bg: #ffffff;
  --bg-muted: #f5f5f5;
  --text: #232323;
  --text-secondary: #424242;
  --text-muted: #6f6f6f;
  --green: #274a34;
  --green-brand: #4a9d44;
  --green-dark: #0b291a;
  --green-deeper: #012d19;
  --green-light: #ccf88e;
  --purple: #642878;
  --purple-light: #eccff6;
  --teal: #a7e3e3;
  --blue-link: #1c456b;
  --border: #e9e9e9;
  --shadow: rgba(0, 0, 0, 0.08) 0 2px 8px;
  --radius: 12px;
  --radius-sm: 8px;
  --radius-pill: 999px;
  --font: "DM Sans", ui-sans-serif, system-ui, sans-serif;
  --max-width: 640px;
  --page-gutter: 24px;
  --space-xs: 8px;
  --space-sm: 12px;
  --space-md: 24px;
  --space-lg: 28px;
  --space-xl: 36px;
  --space-2xl: 56px;
  --sticky-bar-offset: 14rem;
  --font-size-base: 18px;
  --font-size-sm: 16px;
  --font-size-xs: 14px;
  --font-weight-bold: 800;
  --font-weight-semibold: 700;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--font-size-base);
  font-weight: 400;
  line-height: 1.5;
  color: var(--text);
  background: var(--bg);
}

strong,
b {
  font-weight: var(--font-weight-bold);
}

img:not(.site-logo) {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--blue-link);
  text-decoration: underline;
  text-underline-offset: 2px;
}

button {
  font: inherit;
  color: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  padding: var(--space-xs) var(--space-sm);
  background: var(--green);
  color: var(--bg);
  z-index: 100;
  text-decoration: none;
}

.skip-link:focus {
  left: var(--space-md);
  top: var(--space-md);
}

/* Header */
.site-header {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-sm) var(--space-md);
  max-width: var(--max-width);
  margin: 0 auto;
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--bg);
  border-bottom: 1px solid transparent;
}

.site-header__search {
  position: absolute;
  left: var(--space-md);
}

.site-header__logo {
  text-decoration: none;
  display: flex;
  justify-content: center;
}

.site-logo {
  display: block;
  width: auto;
  height: auto;
  max-height: 56px;
  max-width: min(240px, 70vw);
  object-fit: contain;
}

.site-header__logo--text {
  text-decoration: none;
}

.site-brand-text {
  font-size: clamp(1.1rem, 4vw, 1.35rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--green-dark);
  line-height: 1.2;
}

.site-header__actions {
  display: flex;
  gap: var(--space-xs);
  position: absolute;
  right: var(--space-md);
}

.icon-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-pill);
  color: var(--text);
}

.icon-btn:hover {
  background: var(--bg-muted);
}

.icon-btn__icon {
  font-size: 1.35rem;
  line-height: 1;
}

/* Campaign layout */
.campaign {
  max-width: var(--max-width);
  margin: 0 auto;
}

/* Divisor entre secções do main — use class="no-divider" para omitir */
.campaign > * + *:not(.no-divider) {
  border-top: 0.5rem solid #f5f5f5;
}

/* Hero slider */
.hero {
  position: relative;
}

.hrt-hide-min-md.hero-media-viewer_curvedOverlayContainer__QFY48 {
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 4;
  pointer-events: none;
  line-height: 0;
}

.hero-media-viewer_curvedOverlayContainer__QFY48 .animated-curved-overlay_curvedOverlay__A9SJx {
  display: block;
  width: 100%;
  height: clamp(20px, 5vw, 32px);
}

.hero-media-viewer_curvedOverlayContainer__QFY48 path {
  fill: var(--bg);
}

@media (min-width: 768px) {
  .hrt-hide-min-md {
    display: none;
  }
}

.hero__slider {
  position: relative;
  height: clamp(360px, 108vw, 520px);
  overflow: hidden;
  background: var(--bg-muted);
  cursor: grab;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
}

.hero__slider.is-dragging {
  cursor: grabbing;
}

.hero__slider.is-dragging .hero__overlay {
  pointer-events: none;
}

.hero__track {
  display: flex;
  height: 100%;
  transition: transform 0.45s ease;
}

.hero__slide {
  flex: 0 0 100%;
  height: 100%;
  min-width: 100%;
}

.hero__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  pointer-events: none;
  -webkit-user-drag: none;
  user-select: none;
  -webkit-user-select: none;
}

.hero__slider--story-active {
  background: var(--green-dark);
}

.hero__slide--story {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-sm) var(--space-md);
  background: transparent;
  overflow: hidden;
}

.hero-story {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 80%;
  min-height: 0;
  background: var(--bg);
  border-radius: var(--radius);
  overflow: hidden;
}

.hero-story__content {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-height: 0;
  padding: 14px 14px 12px;
}

.hero-story__title {
  margin: 0 0 8px;
  font-size: clamp(17px, 4.2vw, 21px);
  font-weight: var(--font-weight-bold);
  line-height: 1.15;
  color: var(--text);
  flex-shrink: 0;
}

.hero-story__text {
  margin: 0 0 10px;
  font-size: 13px;
  line-height: 1.4;
  color: var(--text-secondary);
  white-space: pre-line;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 7;
  overflow: hidden;
  flex: 1;
  min-height: 0;
}

.hero-story__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  flex-shrink: 0;
}

.hero-story__avatars {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}

.hero-story__avatars li + li {
  margin-left: -8px;
}

.hero-story__avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid var(--bg);
  font-size: 13px;
  font-weight: var(--font-weight-bold);
  line-height: 1;
}

.hero-story__avatar--purple {
  background: var(--purple-light);
  color: var(--purple);
}

.hero-story__avatar--blue {
  background: #d4e8fc;
  color: #1c456b;
}

.hero-story__avatar--brand {
  background: var(--green-light);
  color: var(--green-deeper);
}

.hero-story__donors {
  font-size: 13px;
  color: var(--text-muted);
}

.hero-story__read-more {
  align-self: flex-start;
  flex-shrink: 0;
  padding: 10px 18px;
  border: 0;
  border-radius: 624.9375rem;
  background: var(--green-dark);
  color: var(--green-light);
  font-size: 14px;
  font-weight: var(--font-weight-bold);
  cursor: pointer;
  transition: filter 0.15s;
}

@media (max-height: 520px) {
  .hero-story__text {
    -webkit-line-clamp: 5;
    font-size: 12px;
  }
}

.hero-story__read-more:hover {
  filter: brightness(1.05);
}

.hero__slider--story-active .hero__overlay {
  opacity: 0;
  visibility: hidden;
}

.hero__slider--story-active .hero__dot {
  background: rgba(35, 35, 35, 0.28);
}

.hero__slider--story-active .hero__dot.is-active {
  background: var(--text);
}

.hero__slider:not(.hero__slider--story-active) .hero__dot {
  background: rgba(255, 255, 255, 0.5);
}

.hero__slider:not(.hero__slider--story-active) .hero__dot.is-active {
  background: var(--bg);
}

.hero__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: var(--space-md);
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.35) 0%,
    transparent 35%,
    transparent 55%,
    rgba(0, 0, 0, 0.65) 100%
  );
  pointer-events: none;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.hero__overlay.is-hidden {
  opacity: 0;
  visibility: hidden;
}

.hero__organizer {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}

.hero__avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--purple-light);
  color: var(--purple);
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-bold);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--bg);
}

.hero__organizer-name {
  color: var(--bg);
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-semibold);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

.hero__title {
  margin: 0;
  padding-bottom: 48px;
  width: 100%;
  color: var(--bg);
  font-size: clamp(24px, 5.5vw, 32px);
  font-weight: var(--font-weight-bold);
  line-height: 1.2;
  text-align: center;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.45);
}

.hero__dots {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  padding-bottom: 8px;
  z-index: 2;
}

.hero__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}

.hero__dot.is-active {
  background: var(--bg);
  transform: scale(1.15);
}

/* Campaign bar (stats + primary actions) */
.campaign-bar {
  background: var(--bg);
}

.campaign-bar .stats {
  padding-bottom: var(--space-lg);
}

.campaign-bar .actions--primary {
  padding-top: 0;
}

.campaign-bar.is-fixed {
  position: fixed;
  bottom: 8px;
  left: 8px;
  right: 8px;
  z-index: 15;
  margin: 0 auto;
  max-width: calc(var(--max-width) - 16px);
  border-radius: 1rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  overflow: hidden;
}

.campaign-bar.is-fixed .stats {
  gap: 8px;
  padding: 8px 10px 12px;
}

.campaign-bar.is-fixed .actions--primary {
  padding: 0 8px 8px;
  gap: 8px;
}

@media (min-width: 768px) {
  .campaign-bar.is-fixed {
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    width: calc(min(var(--max-width), 100%) - 16px);
  }
}

/* Stats */
.stats {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-lg) var(--space-md) var(--space-md);
}

.stats__progress {
  flex-shrink: 0;
  width: 72px;
  height: 72px;
  min-width: 72px;
  min-height: 72px;
}

.hrt-progress-circle-wrapper {
  display: flex;
  width: 100%;
  height: 100%;
}

.hrt-progress-circle--medium {
  position: relative;
  width: 72px;
  height: 72px;
  flex-shrink: 0;
}

.hrt-progress-circle-svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
  transform: translateZ(0);
}

.hrt-progress-circle-track {
  stroke: var(--border);
}

.hrt-progress-circle-inner {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.stats__percent {
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-bold);
  color: var(--green-brand);
  line-height: 1;
}

.hrt-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.stats__text {
  flex: 1;
  min-width: 0;
}

.stats__raised {
  margin: 0 0 6px;
  font-size: clamp(20px, 5.5vw, 26px);
  line-height: 1.32;
  color: var(--text-muted);
  white-space: normal;
}

.campaign-bar.is-fixed .stats__raised {
  font-size: clamp(17px, 4.5vw, 21px);
}

.stats__raised-highlight {
  color: var(--text);
  font-weight: var(--font-weight-bold);
}

.stats__goal {
  color: var(--text-muted);
  font-weight: 400;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.stats__donors {
  margin: 0;
  min-height: 1.4em;
  font-size: var(--font-size-sm);
  line-height: 1.35;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: opacity 0.35s ease;
}

.campaign-bar.is-fixed .stats__donors {
  font-size: clamp(14px, 3.5vw, 16px);
}

.stats__donors.is-fading {
  opacity: 0;
}

.actions--secondary {
  padding-bottom: var(--space-xl);
}

/* Buttons */
.actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-sm);
  padding: 0 var(--space-md) var(--space-lg);
}

.actions--single {
  grid-template-columns: 1fr;
}

.actions--single .btn {
  width: 100%;
}

.btn,
.icon-btn {
  border-radius: 624.9375rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 14px var(--space-md);
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-bold);
  text-decoration: none;
  text-align: center;
  transition: filter 0.15s, background 0.15s;
}

.btn--compact {
  padding: 8px 14px;
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-semibold);
  white-space: nowrap;
  flex-shrink: 0;
}

.btn--donate {
  background: var(--green-light);
  color: var(--green-deeper);
}

.btn--donate:hover {
  filter: brightness(0.96);
}

.btn--share {
  background: var(--green);
  color: #ccf88e;
}

.btn--share:hover {
  background: var(--green-dark);
}

.btn--outline {
  background: var(--bg);
  color: var(--text);
  border: 1.5px solid var(--border);
  font-weight: var(--font-weight-semibold);
}

.btn--outline:hover {
  background: var(--bg-muted);
}

.btn--full {
  width: 100%;
  margin-top: var(--space-sm);
}

/* Story */
.story {
  padding: 0 var(--space-md) var(--space-lg);
  font-size: var(--font-size-base);
  line-height: 1.6;
  color: var(--text-secondary);
}

.story p {
  margin: 0 0 1em;
}

.story__body h2,
.story h2 {
  margin: 1.25em 0 0.5em;
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-bold);
  color: var(--text);
}

.story__toggle {
  display: block;
  margin: var(--space-sm) 0 0;
  padding: var(--space-xs) 0;
  font-family: var(--font);
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-semibold);
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 2px;
  background: none;
  border: none;
  cursor: pointer;
}

.story__divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: var(--space-xl) 0;
}

/* Donations */
.donations {
  padding: var(--space-lg) var(--space-md) var(--space-xl);
}

.donations__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
}

.donations__title-group {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  min-width: 0;
}

.donations__header h2 {
  margin: 0;
  font-size: 22px;
  font-weight: var(--font-weight-bold);
  color: var(--text);
}

.donations__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  height: 22px;
  padding: 0 6px;
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-semibold);
  line-height: 1;
  color: var(--text);
  background: var(--bg-muted);
  border-radius: 4px;
}

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

.donation-item {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 14px 0;
}

.donation-item__avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--bg-muted);
  color: var(--text);
  font-size: var(--font-size-base);
  font-weight: 400;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.donation-item__avatar--anon {
  background: var(--bg-muted);
  color: var(--text);
}

.donation-item__icon {
  font-size: 1.25rem;
  line-height: 1;
}

.donation-item__body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.donation-item__name {
  font-weight: 400;
  font-size: var(--font-size-base);
  line-height: 1.3;
  color: var(--text);
}

.donation-item__meta {
  font-size: var(--font-size-sm);
  line-height: 1.4;
  color: var(--text);
}

.donation-item__meta strong {
  font-weight: var(--font-weight-bold);
}

.donation-item__offline {
  color: var(--text-muted);
  font-weight: 400;
}

.donations .btn--full {
  margin-top: var(--space-md);
  font-weight: var(--font-weight-bold);
}

/* Share impact */
.share-impact {
  padding: var(--space-lg) var(--space-md) var(--space-xl);
}

.share-impact__heading {
  margin: 0 0 var(--space-sm);
  font-size: clamp(1.75rem, 5vw, 2.25rem);
  font-weight: var(--font-weight-bold);
  line-height: 1.15;
  color: var(--text);
}

.share-impact__text {
  margin: 0 0 var(--space-lg);
  font-size: var(--font-size-base);
  line-height: 1.5;
  color: var(--text);
}

.share-impact__text strong {
  font-weight: var(--font-weight-bold);
}

.share-impact__photo {
  display: block;
  width: 100%;
  max-width: 280px;
  height: auto;
  margin: 0 auto;
  border-radius: 0.75rem;
  object-fit: cover;
}

/* Organizer */
.organizer {
  --organizer-avatar-size: 48px;
  padding: var(--space-lg) var(--space-md) var(--space-xl);
}

.organizer h2 {
  margin: 0 0 var(--space-lg);
  font-size: 22px;
  font-weight: var(--font-weight-bold);
  color: var(--text);
}

.organizer__profile {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
}

.organizer__avatar {
  width: var(--organizer-avatar-size);
  height: var(--organizer-avatar-size);
  border-radius: 50%;
  background: var(--bg-muted);
  color: var(--text);
  font-size: 20px;
  font-weight: var(--font-weight-bold);
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.organizer__info {
  display: flex;
  flex-direction: column;
  gap: 0;
  min-width: 0;
  padding-top: 2px;
}

.organizer__name {
  font-weight: var(--font-weight-bold);
  font-size: var(--font-size-base);
  line-height: 1.35;
  color: var(--text);
}

.organizer__role,
.organizer__location {
  font-weight: 400;
  font-size: var(--font-size-base);
  line-height: 1.35;
  color: var(--text);
}

.organizer__message {
  margin-left: calc(var(--organizer-avatar-size) + var(--space-sm));
  padding: 10px 20px;
  font-weight: var(--font-weight-bold);
  font-size: var(--font-size-base);
}

/* Campaign meta (data · Outras · Doação protegida) */
.campaign-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  padding: var(--space-lg) var(--space-md);
  font-size: var(--font-size-sm);
  line-height: 1.4;
  color: var(--text);
}

.campaign-meta__sep {
  color: var(--text);
  user-select: none;
}

.campaign-meta__link {
  color: var(--text);
  font-weight: 400;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.campaign-meta__badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 8px;
  background: var(--teal);
  border-radius: 4px;
  color: var(--blue-link);
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-bold);
  line-height: 1.2;
}

.campaign-meta__badge-icon {
  font-size: 0.875rem;
  line-height: 1;
}

.report-section {
  display: flex;
  justify-content: center;
  padding: var(--space-2xl) var(--space-md);
}

.report-fundraiser {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  margin: 0;
  padding: 0;
  font-family: var(--font);
  font-size: var(--font-size-sm);
  font-weight: 400;
  line-height: 1.4;
  color: var(--text);
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
}

.report-fundraiser__icon {
  flex-shrink: 0;
  font-size: 1rem;
  line-height: 1;
}

/* Trust */
.trust {
  background: var(--bg-muted);
  padding: 80px var(--space-md);
}

.trust__heading {
  margin: 0 0 var(--space-md);
  font-size: 22px;
  font-weight: var(--font-weight-bold);
  line-height: 1.3;
  color: var(--text);
}

.trust__image {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
}

/* Footer nav */
.footer-nav {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: var(--space-2xl) var(--space-md);
  background: var(--bg);
  border-top: 1px solid #d8d8d8;
}

.footer-nav__group {
  margin-bottom: var(--space-xl);
}

.footer-nav__heading {
  display: block;
  margin: 0 0 var(--space-sm);
  padding: 0;
  font-family: var(--font);
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-bold);
  line-height: 1.35;
  color: var(--text);
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
}

.footer-nav__heading:hover {
  text-decoration: underline;
  text-underline-offset: 2px;
}

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

.footer-nav__list li {
  margin-bottom: var(--space-md);
}

.footer-nav__list li:last-child {
  margin-bottom: 0;
}

.footer-nav__list a {
  font-size: var(--font-size-base);
  font-weight: 400;
  line-height: 1.35;
  color: var(--text);
  text-decoration: none;
}

.footer-nav__list a:hover {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.footer-nav__more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 0;
  font-family: var(--font);
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-bold);
  line-height: 1.35;
  color: var(--text);
  background: none;
  border: none;
  cursor: pointer;
}

.footer-nav__more .footer-nav__chevron {
  font-size: 1rem;
  line-height: 1;
  transition: transform 0.2s ease;
}

.footer-nav__more[aria-expanded="true"] .footer-nav__chevron {
  transform: rotate(180deg);
}

.footer-nav__resources {
  margin-top: var(--space-md);
}

.footer-nav__resources.is-collapsed {
  display: none;
}

/* Footer */
.site-footer {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: var(--space-2xl) var(--space-md) calc(var(--space-2xl) + var(--sticky-bar-offset));
  background: var(--bg);
  border-top: 1px solid #d8d8d8;
}

.site-footer__locale-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  width: 100%;
  margin: 0 0 var(--space-xl);
  padding: 12px var(--space-md);
  font-family: var(--font);
  font-size: var(--font-size-base);
  font-weight: 400;
  line-height: 1.35;
  color: var(--text);
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: 624.9375rem;
  cursor: pointer;
}

.site-footer__flag.fis {
  width: 1.25rem;
  line-height: 1;
  border-radius: 50%;
  overflow: hidden;
}

.site-footer__social-link .bi {
  font-size: 1.125rem;
  line-height: 1;
}

.site-footer__social {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
}

.site-footer__social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  text-decoration: none;
}

.site-footer__apps {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-bottom: var(--space-xl);
}

.site-footer__app-link {
  display: inline-flex;
  line-height: 0;
  text-decoration: none;
}

.site-footer__app-badge {
  display: block;
  width: 120px;
  height: 40px;
  object-fit: contain;
  object-position: left center;
}

.site-footer__copy {
  margin: 0 0 var(--space-lg);
  font-size: var(--font-size-sm);
  line-height: 1.4;
  color: var(--text-muted);
}

.site-footer__links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.site-footer__links a {
  font-size: var(--font-size-base);
  font-weight: 400;
  line-height: 1.35;
  color: var(--text);
  text-decoration: none;
}

.site-footer__links a:hover {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.site-footer__privacy-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  flex-wrap: wrap;
}

.site-footer__privacy-icon {
  flex-shrink: 0;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--blue-link);
}

/* Message bottom sheet */
.message-sheet {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  pointer-events: none;
}

.message-sheet:not([hidden]) {
  pointer-events: auto;
}

.message-sheet__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.message-sheet.is-open .message-sheet__backdrop {
  opacity: 1;
}

.message-sheet__panel {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: var(--max-width);
  max-height: min(92vh, 720px);
  background: var(--bg);
  border-radius: 1.25rem 1.25rem 0 0;
  transform: translateY(100%);
  transition: transform 0.35s cubic-bezier(0.32, 0.72, 0, 1);
  overflow: hidden;
}

.message-sheet.is-open .message-sheet__panel {
  transform: translateY(0);
}

.message-sheet__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-sm);
  padding: var(--space-md) var(--space-md);
  border-bottom: 1px solid #d8d8d8;
  position: relative;
  z-index: 3;
  flex-shrink: 0;
  background: var(--bg);
}

.message-sheet__loading {
  flex: 1;
  display: none;
  align-items: center;
  justify-content: center;
  min-height: 200px;
  background: var(--bg);
}

.message-sheet.is-loading .message-sheet__loading {
  display: flex;
}

.message-sheet.is-loading .message-sheet__content {
  display: none;
}

.message-sheet__spinner {
  width: 40px;
  height: 40px;
  border: 3px solid #e9e9e9;
  border-top-color: var(--green-brand);
  border-radius: 50%;
  animation: sheet-spin 0.8s linear infinite;
}

@keyframes sheet-spin {
  to {
    transform: rotate(360deg);
  }
}

.message-sheet__content {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.message-sheet__header-user {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  min-width: 0;
}

.message-sheet__header-name {
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-bold);
  line-height: 1.3;
  color: var(--text);
}

.message-sheet__header-actions {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  flex-shrink: 0;
}

.message-sheet__shield {
  font-size: 1.125rem;
  line-height: 1;
  color: var(--text);
}

.message-sheet__close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: var(--text);
}

.message-sheet__close:hover {
  background: var(--bg-muted);
}

.message-sheet__close .bi {
  font-size: 1.125rem;
  line-height: 1;
}

.message-sheet__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: var(--space-2xl) var(--space-lg) var(--space-xl);
  text-align: center;
  overflow-y: auto;
}

.message-sheet__avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #ffc94a;
  color: var(--text);
  font-weight: var(--font-weight-bold);
  flex-shrink: 0;
}

.message-sheet__avatar--sm {
  width: 32px;
  height: 32px;
  font-size: var(--font-size-sm);
}

.message-sheet__avatar--lg {
  width: 72px;
  height: 72px;
  margin-bottom: var(--space-md);
  font-size: 28px;
}

.message-sheet__title {
  margin: 0 0 var(--space-md);
  font-size: 22px;
  font-weight: var(--font-weight-bold);
  line-height: 1.25;
  color: var(--text);
}

.message-sheet__disclaimer {
  margin: 0;
  max-width: 320px;
  font-size: var(--font-size-sm);
  line-height: 1.45;
  color: var(--text-muted);
}

.message-sheet__disclaimer a {
  color: var(--text-muted);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.message-sheet__footer {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-md);
  border-top: 1px solid #d8d8d8;
}

.message-sheet__user-icon {
  flex-shrink: 0;
  font-size: 1.375rem;
  line-height: 1;
  color: var(--text-muted);
}

.message-sheet__input {
  flex: 1;
  min-width: 0;
  height: 44px;
  padding: 0 var(--space-md);
  font-family: var(--font);
  font-size: var(--font-size-base);
  color: var(--text);
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: 624.9375rem;
  outline: none;
}

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

.message-sheet__input:focus {
  border-color: #b8b8b8;
}

.message-sheet__send {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 50%;
  color: var(--text-muted);
}

.message-sheet__send:hover {
  background: var(--bg-muted);
  color: var(--text);
}

.message-sheet__send .bi {
  font-size: 1.125rem;
  line-height: 1;
}

body.message-sheet-open {
  overflow: hidden;
}

body.donations-sheet-open {
  overflow: hidden;
}

/* Donations bottom sheet */
.donations-sheet {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  pointer-events: none;
}

.donations-sheet:not([hidden]) {
  pointer-events: auto;
}

.donations-sheet__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.donations-sheet.is-open .donations-sheet__backdrop {
  opacity: 1;
}

.donations-sheet__panel {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: var(--max-width);
  height: min(92vh, 820px);
  background: var(--bg);
  border-radius: 1.25rem 1.25rem 0 0;
  transform: translateY(100%);
  transition: transform 0.35s cubic-bezier(0.32, 0.72, 0, 1);
  overflow: hidden;
}

.donations-sheet.is-open .donations-sheet__panel {
  transform: translateY(0);
}

.donations-sheet__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-sm);
  padding: var(--space-md) var(--space-md) var(--space-sm);
  flex-shrink: 0;
}

.donations-sheet__title-group {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}

.donations-sheet__header h2 {
  margin: 0;
  font-size: 22px;
  font-weight: var(--font-weight-bold);
  line-height: 1.2;
  color: var(--text);
}

.donations-sheet__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  height: 22px;
  padding: 0 6px;
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-semibold);
  line-height: 1;
  color: var(--text);
  background: var(--bg-muted);
  border-radius: 4px;
}

.donations-sheet__close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-muted);
  color: var(--text);
}

.donations-sheet__close:hover {
  background: #ececec;
}

.donations-sheet__close .bi {
  font-size: 1.125rem;
  line-height: 1;
}

.donations-sheet__tabs {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 0 var(--space-md) var(--space-md);
  flex-shrink: 0;
}

.donations-sheet__tab {
  padding: 8px 16px;
  font-family: var(--font);
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-semibold);
  color: var(--text-muted);
  background: transparent;
  border-radius: 624.9375rem;
}

.donations-sheet__tab.is-active {
  color: var(--bg);
  background: var(--text);
}

.donations-sheet__scroll {
  flex: 1;
  overflow-y: auto;
  padding: 0 var(--space-md);
  -webkit-overflow-scrolling: touch;
}

.donations-sheet__list {
  list-style: none;
  margin: 0;
  padding: 0 0 var(--space-md);
}

.donations-sheet__list .donation-item {
  padding: 12px 0;
}

.donations-sheet__list .donation-item.is-hidden,
.donations-sheet__promo.is-hidden {
  display: none;
}

.donations-sheet__promo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin: var(--space-sm) 0;
  padding: var(--space-sm) var(--space-md);
  background: #ecf9d9;
  border-radius: var(--radius-sm);
}

.donations-sheet__promo-image {
  flex-shrink: 0;
  width: 48px;
  height: auto;
  object-fit: contain;
}

.donations-sheet__promo-text {
  flex: 1;
  margin: 0;
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-bold);
  line-height: 1.35;
  color: var(--green-dark);
}

.donations-sheet__promo-btn {
  flex-shrink: 0;
  padding: 8px 14px;
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-bold);
  color: var(--bg);
  text-decoration: none;
  background: var(--green);
  border-radius: 624.9375rem;
}

.donations-sheet__footer {
  flex-shrink: 0;
  padding: var(--space-md);
  border-top: 1px solid #d8d8d8;
  background: var(--bg);
}

.donations-sheet__stats {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-bottom: var(--space-md);
}

.donations-sheet__progress {
  position: relative;
  width: 48px;
  height: 48px;
  flex-shrink: 0;
}

.donations-sheet__progress-svg {
  display: block;
  width: 100%;
  height: 100%;
}

.donations-sheet__progress-label {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: var(--font-weight-bold);
  color: var(--green-brand);
}

.donations-sheet__raised {
  margin: 0;
  font-size: var(--font-size-sm);
  line-height: 1.4;
  color: var(--text);
}

.donations-sheet__raised-highlight {
  font-weight: var(--font-weight-bold);
}

.donations-sheet__goal {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.donations-sheet__cta {
  width: 100%;
  background: var(--green-light);
  color: var(--green-dark);
}

.donations-sheet__cta:hover {
  filter: brightness(0.97);
}

/* Info bottom sheet (shallow) */
.info-sheet {
  position: fixed;
  inset: 0;
  z-index: 55;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  pointer-events: none;
}

.info-sheet:not([hidden]) {
  pointer-events: auto;
}

.info-sheet__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.info-sheet.is-open .info-sheet__backdrop {
  opacity: 1;
}

.info-sheet__panel {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--max-width);
  background: var(--bg);
  border-radius: 1.25rem 1.25rem 0 0;
  transform: translateY(100%);
  transition: transform 0.35s cubic-bezier(0.32, 0.72, 0, 1);
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.08);
}

.info-sheet.is-open .info-sheet__panel {
  transform: translateY(0);
}

.info-sheet__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-md);
  padding: var(--space-lg) var(--space-md) var(--space-sm);
}

.info-sheet__title {
  margin: 0;
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-bold);
  line-height: 1.3;
  color: var(--text);
}

.info-sheet__close {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  margin: -4px -4px 0 0;
  padding: 0;
  color: var(--text);
  background: none;
  border: none;
  border-radius: 50%;
  cursor: pointer;
}

.info-sheet__close:hover {
  background: rgba(0, 0, 0, 0.06);
}

.info-sheet__close .bi {
  font-size: 1.125rem;
  line-height: 1;
}

.info-sheet__body {
  padding: 0 var(--space-md) var(--space-xl);
}

.info-sheet__body p {
  margin: 0;
  font-size: var(--font-size-base);
  line-height: 1.5;
  color: var(--text-muted, #505050);
}

body.info-sheet-open {
  overflow: hidden;
}

/* Toast */
.toast {
  position: fixed;
  bottom: var(--space-lg);
  left: 50%;
  transform: translateX(-50%) translateY(80px);
  background: var(--green-dark);
  color: var(--bg);
  padding: var(--space-sm) var(--space-lg);
  border-radius: var(--radius-pill);
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-semibold);
  box-shadow: var(--shadow);
  opacity: 0;
  transition: transform 0.3s, opacity 0.3s;
  z-index: 50;
  pointer-events: none;
}

.toast.is-visible {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* Desktop */
@media (min-width: 768px) {
  .site-header__logo {
    justify-content: center;
  }
}
