:root {
  --ink: #10292d;
  --ink-soft: #315154;
  --muted: #6d7f80;
  --paper: #f5f0e7;
  --surface: #ffffff;
  --surface-warm: #fff6e8;
  --line: #d9e2dc;
  --teal: #188f86;
  --teal-deep: #123f43;
  --coral: #de6146;
  --gold: #f2b84b;
  --sage: #dfeadf;
  --clay: #8f5a42;
  --whatsapp: #25d366;
  --shadow: 0 22px 54px rgba(16, 47, 51, 0.14);
  --shadow-strong: 0 34px 90px rgba(16, 47, 51, 0.22);
}

/* Activity page refinement: show the live list first, keep details progressive. */
.page-activities .activity-band.standalone {
  padding-top: clamp(22px, 4vw, 42px);
}

.page-activities .section-heading.compact {
  margin-bottom: 14px;
}

.page-activities .section-heading.compact h2 {
  font-size: clamp(1.65rem, 3vw, 2.7rem);
}

.page-activities .activity-app {
  display: flex;
  flex-direction: column;
}

.page-activities .activity-filters {
  order: 0;
  width: fit-content;
  max-width: 100%;
  min-height: 0;
  margin: 0 0 12px;
  padding: 4px;
  border-radius: 999px;
}

.page-activities .activity-filters button {
  min-height: 32px;
  border-radius: 999px;
  padding: 0 13px;
  font-size: 0.78rem;
}

.page-activities .activity-board {
  order: 1;
  display: grid;
  gap: 10px;
}

.page-activities .activity-pagination {
  order: 2;
}

.page-activities .activity-profile {
  order: 3;
  display: grid;
  grid-template-columns: minmax(170px, 1fr) minmax(170px, 1fr) auto;
  gap: 8px;
  align-items: end;
  margin-top: 18px;
  border: 0 !important;
  padding: 0 !important;
  color: var(--ink);
  background: transparent !important;
  box-shadow: none !important;
}

.page-activities .activity-profile h3,
.page-activities .activity-profile p,
.page-activities .activity-profile label span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.page-activities .activity-profile input {
  min-height: 36px;
  border-color: #d8e4df;
  border-radius: 8px;
  padding: 0 12px;
  color: var(--ink);
  background: white;
  font-size: 0.86rem;
}

.page-activities .profile-save {
  min-height: 36px;
  border-radius: 8px;
  padding: 0 13px;
  color: white;
  background: var(--teal-deep);
  font-size: 0.78rem;
  white-space: nowrap;
}

.page-activities .activity-card-compact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px 12px;
  align-items: center;
  min-height: 58px;
  border: 1px solid rgba(18, 63, 67, 0.12);
  border-left: 5px solid var(--teal-deep);
  border-radius: 8px;
  padding: 11px 48px 11px 14px;
  background:
    radial-gradient(circle at 98% 0%, rgba(244, 185, 79, 0.2), transparent 36%),
    white;
  box-shadow: 0 12px 28px rgba(16, 47, 51, 0.12);
  cursor: pointer;
}

.page-activities .activity-card-compact::after {
  content: "›";
  position: absolute;
  top: 50%;
  right: 18px;
  transform: translateY(-50%);
  color: var(--teal-deep);
  font-size: 1.45rem;
  font-weight: 900;
  line-height: 1;
}

.page-activities .activity-card-compact.is-expanded {
  grid-template-columns: minmax(0, 1fr);
  gap: 9px;
  border-left-color: var(--coral);
  padding: 12px 12px 13px;
  cursor: default;
}

.page-activities .activity-card-compact.is-expanded::after {
  content: none;
}

.page-activities .activity-card-compact .activity-row-main {
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
}

.page-activities .activity-card-compact:not(.is-expanded) .activity-save-toggle,
.page-activities .activity-card-compact:not(.is-expanded) .eyebrow,
.page-activities .activity-card-compact:not(.is-expanded) .activity-meta,
.page-activities .activity-card-compact:not(.is-expanded) .activity-actions {
  display: none !important;
}

.page-activities .activity-card-compact h3 {
  max-width: 100%;
  margin: 0;
  font-size: clamp(1.05rem, 1.5vw, 1.28rem);
  line-height: 1.08;
  white-space: normal;
}

.page-activities .activity-card-compact.is-expanded h3 {
  max-width: calc(100% - 88px);
  margin-bottom: 3px;
  font-size: clamp(1.1rem, 1.9vw, 1.48rem);
}

.page-activities .activity-card-compact .activity-save-toggle {
  position: absolute;
  top: 10px;
  right: 48px;
  width: 34px;
  min-width: 34px;
  min-height: 34px;
  border-radius: 999px;
  padding: 0;
  font-size: 0;
}

.page-activities .activity-card-compact .activity-detail-toggle {
  position: absolute;
  top: 10px;
  right: 10px;
  display: none;
  width: 34px;
  min-width: 34px;
  min-height: 34px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0;
  color: var(--ink-soft);
  background: white;
}

.page-activities .activity-card-compact.is-expanded .activity-detail-toggle {
  display: grid;
}

.page-activities .activity-card-compact .activity-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.page-activities .activity-card-compact .activity-meta span {
  min-height: 24px;
  border-radius: 999px;
  padding: 3px 8px;
  font-size: 0.68rem;
}

.page-activities .activity-card-compact .activity-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: flex-start;
}

.page-activities .activity-card-compact .activity-action-button,
.page-activities .activity-card-compact .activity-icon-button,
.page-activities .activity-card-compact .activity-count {
  min-width: 0;
  min-height: 32px;
  border-radius: 8px;
  padding: 0 9px;
  font-size: 0.68rem;
}

.page-activities .activity-card-compact .activity-button-icon {
  width: 14px;
  height: 14px;
  flex-basis: 14px;
}

@media (min-width: 621px) {
  .page-activities .activity-card-compact .activity-notify,
  .page-activities .activity-card-compact .activity-icon-button {
    font-size: 0;
  }

  .page-activities .activity-card-compact .activity-notify .activity-button-icon,
  .page-activities .activity-card-compact .activity-icon-button .activity-button-icon {
    width: 15px;
    height: 15px;
    flex-basis: 15px;
  }
}

@media (max-width: 860px) {
  .hero-live-grid {
    grid-template-columns: 1fr;
    align-content: center;
  }

  .hero-live-panel {
    max-width: 520px;
  }

  .page-activities .activity-profile {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .hero-live {
    min-height: auto;
  }

  .hero-live-grid {
    padding: 44px 24px 52px;
  }

  .hero-live h1 {
    font-size: clamp(2.85rem, 14vw, 4.6rem);
  }

  .hero-live-panel {
    gap: 9px;
  }

  .hero-live-card,
  .hero-live-whatsapp {
    padding: 14px;
  }

  .page-activities .section-heading.compact {
    display: grid;
    gap: 12px;
  }

  .page-activities .activity-filters {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-radius: 8px;
  }

  .page-activities .activity-filters button {
    padding: 0 8px;
    font-size: 0.78rem;
  }

  .page-activities .activity-card-compact {
    min-height: 64px;
    padding: 13px 45px 13px 14px;
  }

  .page-activities .activity-card-compact.is-expanded {
    padding: 12px 10px 10px;
  }
}

/* Final calm homepage rules. */
.hero-calm {
  min-height: min(760px, calc(100vh - 76px)) !important;
  overflow: hidden;
  background:
    linear-gradient(115deg, #fbfaf6 0%, #f4fbf7 52%, #f8f1e4 100%) !important;
}

.hero-calm > picture {
  position: absolute !important;
  inset: auto clamp(22px, 5vw, 80px) clamp(30px, 6vh, 64px) auto !important;
  z-index: 0 !important;
  width: min(40vw, 540px) !important;
  height: min(58vh, 520px) !important;
  overflow: hidden;
  border: 1px solid rgba(18, 63, 67, 0.1);
  border-radius: 8px;
  box-shadow: 0 30px 80px rgba(16, 47, 51, 0.18);
}

.hero-calm > picture > img {
  position: static !important;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% center;
  transform: none !important;
}

.hero-calm .hero-overlay {
  z-index: 0;
  background:
    linear-gradient(90deg, rgba(251, 250, 246, 0.98) 0%, rgba(251, 250, 246, 0.92) 47%, rgba(251, 250, 246, 0.52) 100%) !important;
}

.hero-calm .hero-live-grid {
  position: relative;
  z-index: 1;
  grid-template-columns: minmax(0, 0.92fr) minmax(260px, 350px) !important;
  min-height: min(760px, calc(100vh - 76px));
  padding-top: clamp(54px, 7vw, 86px);
  padding-bottom: clamp(58px, 8vw, 92px);
}

.hero-calm .hero-content {
  color: var(--ink);
}

.hero-calm .eyebrow {
  color: var(--coral) !important;
}

.hero-calm h1 {
  max-width: 11.5ch;
  color: var(--ink);
  font-size: clamp(3.1rem, 6.5vw, 5.9rem);
  line-height: 0.98;
}

.hero-calm .hero-content > p {
  max-width: 620px;
  color: var(--ink-soft) !important;
  font-size: clamp(1.05rem, 1.45vw, 1.22rem);
  line-height: 1.55;
}

.hero-calm .trust-row li {
  border-color: rgba(18, 63, 67, 0.12);
  color: var(--ink-soft);
  background: rgba(255, 255, 255, 0.72);
}

.hero-calm .hero-live-panel {
  align-self: end;
  margin-bottom: clamp(0px, 5vh, 44px);
}

.hero-calm .hero-live-card,
.hero-calm .hero-live-whatsapp {
  border-color: rgba(18, 63, 67, 0.12);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 20px 60px rgba(16, 47, 51, 0.12);
}

.hero-calm .hero-live-card strong {
  color: var(--ink);
  font-size: 1.02rem;
}

.hero-calm .hero-live-card small {
  color: var(--ink-soft);
}

.hero-calm .mini-eyebrow {
  color: var(--coral);
}

.hero-calm .hero-live-whatsapp {
  color: white;
  background: var(--green);
}

.scroll-cue {
  position: absolute;
  left: clamp(20px, 6vw, 82px);
  bottom: 24px;
  z-index: 2;
  display: grid;
  width: 34px;
  height: 54px;
  place-items: start center;
  border: 1px solid rgba(18, 63, 67, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.68);
}

.scroll-cue span {
  width: 6px;
  height: 6px;
  margin-top: 12px;
  border-radius: 999px;
  background: var(--teal-deep);
  animation: scrollCue 1.8s ease-in-out infinite;
}

@keyframes scrollCue {
  0%,
  100% {
    opacity: 0.35;
    transform: translateY(0);
  }
  50% {
    opacity: 1;
    transform: translateY(18px);
  }
}

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 700ms ease,
    transform 700ms ease;
}

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

@media (prefers-reduced-motion: reduce) {
  .reveal-on-scroll {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .scroll-cue span {
    animation: none;
  }
}

@media (max-width: 980px) {
  .hero-calm > picture {
    inset: auto 24px 42px auto !important;
    width: min(42vw, 360px) !important;
    height: 360px !important;
    opacity: 0.78;
  }

  .hero-calm .hero-live-grid {
    grid-template-columns: 1fr !important;
  }

  .hero-calm .hero-live-panel {
    max-width: 560px;
    margin-bottom: 0;
  }
}

@media (max-width: 620px) {
  .hero-calm {
    min-height: auto !important;
  }

  .hero-calm > picture {
    position: relative !important;
    inset: auto !important;
    order: 2;
    width: calc(100% - 48px) !important;
    height: 220px !important;
    margin: -20px 24px 34px;
  }

  .hero-calm .hero-overlay {
    background: linear-gradient(180deg, rgba(251, 250, 246, 0.96), rgba(251, 250, 246, 0.88)) !important;
  }

  .hero-calm .hero-live-grid {
    min-height: auto;
    padding: 42px 24px 34px;
  }

  .hero-calm h1 {
    max-width: 11ch;
    font-size: clamp(2.75rem, 13vw, 4.2rem);
  }

  .hero-calm .hero-content > p {
    margin-top: 18px;
    font-size: 1rem;
  }

  .hero-calm .hero-actions {
    margin-top: 24px;
  }

  .hero-calm .hero-live-panel {
    margin-top: 8px;
  }

  .scroll-cue {
    display: none;
  }
}

/* Calm homepage redesign: less poster, more premium landing flow. */
.hero-calm {
  min-height: min(760px, calc(100vh - 76px));
  overflow: hidden;
  background:
    linear-gradient(115deg, #fbfaf6 0%, #f4fbf7 52%, #f8f1e4 100%);
}

.hero-calm > picture {
  position: absolute;
  inset: auto clamp(22px, 5vw, 80px) clamp(30px, 6vh, 64px) auto;
  z-index: 0;
  width: min(40vw, 540px);
  height: min(58vh, 520px);
  overflow: hidden;
  border: 1px solid rgba(18, 63, 67, 0.1);
  border-radius: 8px;
  box-shadow: 0 30px 80px rgba(16, 47, 51, 0.18);
}

.hero-calm > picture > img {
  position: static;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% center;
  transform: none;
}

.hero-calm .hero-overlay {
  z-index: 0;
  background:
    linear-gradient(90deg, rgba(251, 250, 246, 0.98) 0%, rgba(251, 250, 246, 0.92) 47%, rgba(251, 250, 246, 0.52) 100%);
}

.hero-calm .hero-live-grid {
  position: relative;
  z-index: 1;
  grid-template-columns: minmax(0, 0.92fr) minmax(260px, 350px);
  min-height: min(760px, calc(100vh - 76px));
  padding-top: clamp(54px, 7vw, 86px);
  padding-bottom: clamp(58px, 8vw, 92px);
}

.hero-calm .hero-content {
  color: var(--ink);
}

.hero-calm .hero .eyebrow,
.hero-calm .eyebrow {
  color: var(--coral);
}

.hero-calm h1 {
  max-width: 11.5ch;
  color: var(--ink);
  font-size: clamp(3.1rem, 6.5vw, 5.9rem);
  line-height: 0.98;
}

.hero-calm .hero-content > p {
  max-width: 620px;
  color: var(--ink-soft);
  font-size: clamp(1.05rem, 1.45vw, 1.22rem);
  line-height: 1.55;
}

.hero-calm .trust-row li {
  border-color: rgba(18, 63, 67, 0.12);
  color: var(--ink-soft);
  background: rgba(255, 255, 255, 0.72);
}

.hero-calm .hero-live-panel {
  align-self: end;
  margin-bottom: clamp(0px, 5vh, 44px);
}

.hero-calm .hero-live-card,
.hero-calm .hero-live-whatsapp {
  border-color: rgba(18, 63, 67, 0.12);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 20px 60px rgba(16, 47, 51, 0.12);
}

.hero-calm .hero-live-card strong {
  color: var(--ink);
  font-size: 1.02rem;
}

.hero-calm .hero-live-card small {
  color: var(--ink-soft);
}

.hero-calm .mini-eyebrow {
  color: var(--coral);
}

.hero-calm .hero-live-whatsapp {
  color: white;
  background: var(--green);
}

.scroll-cue {
  position: absolute;
  left: clamp(20px, 6vw, 82px);
  bottom: 24px;
  z-index: 2;
  display: grid;
  width: 34px;
  height: 54px;
  place-items: start center;
  border: 1px solid rgba(18, 63, 67, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.68);
}

.scroll-cue span {
  width: 6px;
  height: 6px;
  margin-top: 12px;
  border-radius: 999px;
  background: var(--teal-deep);
  animation: scrollCue 1.8s ease-in-out infinite;
}

@keyframes scrollCue {
  0%,
  100% {
    opacity: 0.35;
    transform: translateY(0);
  }
  50% {
    opacity: 1;
    transform: translateY(18px);
  }
}

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 700ms ease,
    transform 700ms ease;
}

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

.process-band .steps-list li,
.event-card,
.activity-entry-band,
.intro-copy {
  transition-delay: 80ms;
}

@media (prefers-reduced-motion: reduce) {
  .reveal-on-scroll {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .scroll-cue span {
    animation: none;
  }
}

@media (max-width: 980px) {
  .hero-calm > picture {
    inset: auto 24px 42px auto;
    width: min(42vw, 360px);
    height: 360px;
    opacity: 0.78;
  }

  .hero-calm .hero-live-grid {
    grid-template-columns: 1fr;
  }

  .hero-calm .hero-live-panel {
    max-width: 560px;
    margin-bottom: 0;
  }
}

@media (max-width: 620px) {
  .hero-calm {
    min-height: auto;
  }

  .hero-calm > picture {
    position: relative;
    inset: auto;
    order: 2;
    width: calc(100% - 48px);
    height: 220px;
    margin: -20px 24px 34px;
  }

  .hero-calm .hero-overlay {
    background: linear-gradient(180deg, rgba(251, 250, 246, 0.96), rgba(251, 250, 246, 0.88));
  }

  .hero-calm .hero-live-grid {
    min-height: auto;
    padding: 42px 24px 34px;
  }

  .hero-calm h1 {
    max-width: 11ch;
    font-size: clamp(2.75rem, 13vw, 4.2rem);
  }

  .hero-calm .hero-content > p {
    margin-top: 18px;
    font-size: 1rem;
  }

  .hero-calm .hero-actions {
    margin-top: 24px;
  }

  .hero-calm .hero-live-panel {
    margin-top: 8px;
  }

  .scroll-cue {
    display: none;
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(180deg, #f9f5ee 0%, #f5f0e7 52%, #eef7f3 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body.chat-open {
  overflow: auto;
}

body::selection {
  color: white;
  background: var(--teal);
}

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

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

button {
  font: inherit;
}

button:focus-visible,
a:focus-visible {
  outline: 3px solid rgba(244, 185, 79, 0.9);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 12px;
  z-index: 50;
  transform: translateY(-140%);
  border-radius: 8px;
  padding: 10px 14px;
  color: white;
  background: var(--teal-deep);
  font-weight: 850;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: 76px;
  padding: 12px clamp(18px, 4vw, 56px);
  border-bottom: 1px solid rgba(220, 229, 223, 0.7);
  background: rgba(255, 252, 246, 0.84);
  backdrop-filter: blur(22px);
  box-shadow: 0 8px 24px rgba(16, 47, 51, 0.06);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
}

.brand-mark {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.05;
}

.brand strong {
  font-size: 1rem;
}

.brand small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.78rem;
}

.nav {
  display: flex;
  justify-content: center;
  gap: clamp(14px, 3vw, 34px);
  width: 100%;
  color: var(--ink-soft);
  font-size: 0.94rem;
  font-weight: 750;
}

.nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-bottom: 2px solid transparent;
  border-radius: 999px;
  padding: 8px 10px;
}

.nav a:hover {
  border-color: transparent;
  color: var(--teal-deep);
  background: rgba(28, 143, 138, 0.09);
}

.nav a[aria-current="page"] {
  color: var(--teal-deep);
  border-color: var(--teal-deep);
}

.menu-toggle {
  position: relative;
  display: none;
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  border: 1px solid #d8e4df;
  border-radius: 8px;
  padding: 0;
  color: var(--ink-soft);
  background: rgba(255, 255, 255, 0.7);
  cursor: pointer;
}

.activity-nav-badge {
  display: inline-grid;
  min-width: 22px;
  height: 22px;
  place-items: center;
  border-radius: 999px;
  padding: 0 7px;
  color: white;
  background: var(--coral);
  font-size: 0.72rem;
  font-weight: 950;
  line-height: 1;
}

.menu-toggle > .activity-nav-badge {
  position: absolute;
  top: -7px;
  right: -7px;
  z-index: 3;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  box-shadow: 0 4px 12px rgba(16, 47, 51, 0.2);
}

.menu-toggle > span:not(.activity-nav-badge) {
  width: 18px;
  height: 14px;
  border: 0;
  background:
    linear-gradient(currentColor, currentColor) top / 100% 3px no-repeat,
    linear-gradient(currentColor, currentColor) center / 100% 3px no-repeat,
    linear-gradient(currentColor, currentColor) bottom / 100% 3px no-repeat;
  font-size: 0;
  line-height: 0;
}

.menu-toggle > span:not(.activity-nav-badge)::before {
  content: none;
}

.nav-whatsapp {
  display: none;
}

.language-switch {
  display: inline-flex;
  flex: 0 0 auto;
  overflow: hidden;
  border: 1px solid #d8e4df;
  border-radius: 999px;
  padding: 3px;
  background: rgba(255, 255, 255, 0.64);
}

.language-switch button {
  min-width: 38px;
  min-height: 34px;
  border: 0;
  border-radius: 999px;
  color: var(--ink-soft);
  background: transparent;
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 900;
}

.language-switch button.active {
  color: white;
  background: var(--teal-deep);
}

.header-action,
.primary,
.secondary,
.group-card button,
.group-card a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  border-radius: 8px;
  padding: 0 20px;
  font-weight: 850;
  gap: 9px;
}

.header-action,
.primary {
  border: 0;
  color: white;
  background: linear-gradient(135deg, #17a477, #25d366);
  box-shadow: 0 16px 34px rgba(28, 143, 106, 0.24);
  cursor: pointer;
}

.primary:hover,
.header-action:hover {
  background: linear-gradient(135deg, #118e67, #1fc15c);
}

.header-action img,
.primary img {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
}

.secondary {
  border: 1px solid rgba(255, 255, 255, 0.48);
  color: white;
  background: rgba(255, 255, 255, 0.12);
}

.secondary.dark {
  border-color: rgba(18, 63, 67, 0.18);
  color: var(--teal-deep);
  background: white;
}

.hero {
  position: relative;
  display: grid;
  min-height: calc(100vh - 76px);
  overflow: hidden;
  isolation: isolate;
  background: #082326;
}

.hero > picture,
.hero > picture > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero > picture {
  z-index: -2;
}

.hero > picture > img {
  object-fit: cover;
  object-position: 62% center;
  transform: scale(1.02);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(5, 25, 28, 0.96) 0%, rgba(10, 43, 47, 0.82) 46%, rgba(10, 43, 47, 0.2) 82%),
    linear-gradient(0deg, rgba(5, 25, 28, 0.5), rgba(5, 25, 28, 0.06));
}

.hero-content {
  align-self: center;
  max-width: 900px;
  padding: 12vh clamp(20px, 6vw, 82px) 16vh;
  color: white;
}

.hero-live {
  min-height: calc(100vh - 76px);
}

.hero-live-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(330px, 440px);
  gap: clamp(22px, 4vw, 54px);
  align-items: center;
  width: 100%;
  padding: clamp(54px, 8vw, 100px) clamp(20px, 6vw, 82px);
}

.hero-live .hero-content {
  max-width: 760px;
  padding: 0;
}

.hero-live h1 {
  max-width: 13ch;
  font-size: clamp(3rem, 7vw, 6.1rem);
}

.hero-live-panel {
  display: grid;
  gap: 12px;
  align-self: center;
}

.hero-live-card,
.hero-live-whatsapp {
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  padding: 18px;
  color: white;
  background: rgba(255, 255, 255, 0.13);
  box-shadow: 0 20px 48px rgba(5, 25, 28, 0.24);
  backdrop-filter: blur(16px);
}

.hero-live-card {
  display: grid;
  gap: 8px;
  text-decoration: none;
}

.hero-live-card strong {
  color: white;
  font-size: 1.2rem;
  line-height: 1.08;
}

.hero-live-card small {
  color: rgba(255, 255, 255, 0.82);
  font-weight: 750;
  line-height: 1.35;
}

.hero-live-event {
  background: rgba(255, 255, 255, 0.18);
}

.mini-eyebrow {
  color: #ffd47e;
  font-size: 0.7rem;
  font-weight: 900;
  text-transform: uppercase;
}

.hero-live-whatsapp {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-color: transparent;
  color: white;
  background: linear-gradient(135deg, var(--green), #24d86b);
  cursor: pointer;
  font: inherit;
  font-weight: 900;
}

.hero-live-whatsapp img {
  width: 20px;
  height: 20px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--coral);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #ffd47e;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 12ch;
  margin: 0;
  font-size: clamp(3rem, 7.8vw, 6.7rem);
  line-height: 0.96;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-size: clamp(2.05rem, 4.8vw, 4.4rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  font-size: 1.3rem;
  line-height: 1.15;
}

.hero-content > p {
  max-width: 660px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.91);
  font-size: clamp(1.08rem, 2vw, 1.34rem);
  line-height: 1.58;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.trust-row li,
.signal-grid span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  border-radius: 999px;
  padding: 0 12px;
  font-size: 0.86rem;
  font-weight: 850;
}

.trust-row li {
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: rgba(255, 255, 255, 0.92);
  background: rgba(255, 255, 255, 0.13);
  backdrop-filter: blur(12px);
}

.intro-band,
.contact-band,
.offer-section,
.belonging-band,
.process-band,
.event-band,
.activity-band,
.guidelines,
.legal-section {
  padding: clamp(58px, 8vw, 112px) clamp(18px, 5vw, 72px);
  scroll-margin-top: 0;
}

.intro-band,
.contact-band,
.belonging-band,
.process-band,
.guidelines,
.legal-section {
  display: grid;
  grid-template-columns: minmax(240px, 0.78fr) minmax(320px, 1.22fr);
  gap: clamp(26px, 6vw, 92px);
}

.intro-band {
  background:
    linear-gradient(90deg, white 0%, white 55%, #eef8f5 55%, #eef8f5 100%);
  padding-top: clamp(44px, 5vw, 76px);
}

.belonging-band {
  background: #fffaf2;
}

.intro-copy p,
.contact-copy p,
.guideline-list p {
  margin: 0;
  color: #304f52;
  font-size: clamp(1.08rem, 2vw, 1.44rem);
  line-height: 1.66;
}

.intro-copy {
  border: 1px solid rgba(18, 63, 67, 0.1);
  border-radius: 8px;
  padding: clamp(22px, 4vw, 34px);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 18px 42px rgba(16, 47, 51, 0.08);
}

.signal-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.signal-grid span {
  color: var(--teal-deep);
  background: #eaf7f4;
}

.contact-band {
  align-items: center;
  background:
    linear-gradient(135deg, rgba(37, 211, 102, 0.14), transparent 34%),
    var(--surface-warm);
}

.contact-band h2 {
  max-width: 720px;
  font-size: clamp(2rem, 3.6vw, 3.25rem);
  line-height: 1.06;
}

.contact-panel {
  border: 1px solid #dbe7e8;
  border-radius: 8px;
  padding: clamp(22px, 3vw, 30px);
  background: white;
  box-shadow: 0 14px 34px rgba(16, 47, 51, 0.1);
}

.contact-icon {
  width: 48px;
  height: 48px;
}

.whatsapp-icon {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border-radius: 50%;
  color: white;
  background: #e9fff1;
  font-size: 1.6rem;
  font-weight: 900;
}

.whatsapp-icon img {
  width: 58px;
  height: 58px;
}

.contact-panel h3,
.whatsapp-panel h3 {
  margin-top: 18px;
  font-size: clamp(1.35rem, 2.5vw, 1.9rem);
}

.contact-panel p,
.whatsapp-panel p {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.55;
}

.contact-panel .primary,
.whatsapp-panel .primary {
  margin-top: 20px;
}

.helper-text {
  font-size: 0.86rem;
}

.offer-section {
  background: #f4fbf8;
}

.activity-entry-band {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(260px, 0.62fr);
  gap: clamp(22px, 5vw, 72px);
  align-items: center;
  padding: clamp(56px, 8vw, 96px) clamp(18px, 5vw, 72px);
  color: white;
  background:
    linear-gradient(120deg, rgba(18, 63, 67, 0.98), rgba(28, 143, 138, 0.86)),
    url("assets/community-hero-1600.jpg") center / cover;
}

.activity-entry-copy {
  max-width: 820px;
}

.activity-entry-copy h2 {
  max-width: 760px;
}

.activity-entry-copy > p:not(.eyebrow) {
  max-width: 680px;
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(1.05rem, 1.8vw, 1.24rem);
  line-height: 1.62;
}

.activity-entry-band .eyebrow {
  color: #ffd47e;
}

.activity-entry-panel,
.activity-hero-panel {
  display: grid;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: clamp(18px, 3vw, 26px);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 42px rgba(16, 47, 51, 0.08);
}

.activity-entry-panel span,
.activity-hero-panel span {
  display: flex;
  align-items: center;
  min-height: 44px;
  border-radius: 8px;
  padding: 0 13px;
  color: var(--teal-deep);
  background: #eef8f5;
  font-weight: 850;
}

.activity-hero {
  display: grid;
  grid-template-columns: minmax(280px, 0.95fr) minmax(260px, 0.55fr);
  gap: clamp(22px, 5vw, 70px);
  align-items: end;
  padding: clamp(64px, 9vw, 118px) clamp(18px, 5vw, 72px) clamp(42px, 6vw, 74px);
  color: white;
  background:
    linear-gradient(105deg, rgba(7, 29, 32, 0.95), rgba(18, 63, 67, 0.82)),
    url("assets/community-hero-1600.jpg") center / cover;
}

.activity-hero h1 {
  max-width: 13ch;
  font-size: clamp(3rem, 7.5vw, 6.2rem);
}

.activity-hero-copy > p:not(.eyebrow) {
  max-width: 680px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1.06rem, 1.9vw, 1.28rem);
  line-height: 1.58;
}

.activity-hero-panel {
  align-self: center;
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: none;
}

.activity-hero-panel span {
  color: white;
  background: rgba(255, 255, 255, 0.12);
}

.activity-band {
  background:
    linear-gradient(135deg, rgba(28, 143, 138, 0.12), transparent 34%),
    #f7fbf8;
}

.activity-band.standalone {
  padding-top: clamp(42px, 6vw, 70px);
}

.page-activities {
  background:
    linear-gradient(180deg, #f6fbf8 0%, #eef7f3 48%, #fff8ed 100%);
}

.page-activities .activity-hero {
  min-height: 390px;
  align-items: center;
  padding-top: clamp(38px, 5vw, 70px);
  padding-bottom: clamp(34px, 5vw, 58px);
  background:
    linear-gradient(105deg, rgba(6, 28, 31, 0.96), rgba(18, 63, 67, 0.8) 58%, rgba(222, 97, 70, 0.28)),
    url("assets/community-hero-1600.jpg") center / cover;
}

.page-activities .activity-hero h1 {
  max-width: 18ch;
  font-size: clamp(2.45rem, 5vw, 4.55rem);
}

.page-activities .activity-hero-panel {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(14px);
}

.activity-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.page-activities .activity-band.standalone {
  scroll-margin-top: 96px;
  padding-top: clamp(24px, 4vw, 44px);
  background:
    radial-gradient(circle at 92% 8%, rgba(244, 185, 79, 0.18), transparent 30%),
    linear-gradient(180deg, #eef7f3 0%, #f8fbf8 100%);
}

.page-activities .section-heading.compact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  max-width: none;
  margin-bottom: 22px;
}

.page-activities .section-heading.compact h2 {
  max-width: 760px;
  font-size: clamp(2rem, 3.6vw, 3.6rem);
}

.page-activities .compact-activities-hero {
  display: none;
}

.compact-activities-hero[hidden] {
  display: none !important;
}

.page-activities .activity-band.standalone {
  padding-top: clamp(18px, 3vw, 34px);
}

.page-activities .section-heading.compact {
  margin-bottom: 14px;
}

.page-activities .section-heading.compact h2 {
  font-size: clamp(1.65rem, 2.8vw, 2.6rem);
}

.activity-create-open {
  width: auto;
  min-height: 44px;
  padding: 0 18px;
  white-space: nowrap;
}

.activity-app {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(360px, 1.28fr);
  gap: clamp(18px, 4vw, 38px);
}

.page-activities .activity-app {
  grid-template-columns: 1fr;
  gap: 18px;
  align-items: start;
}

.activity-profile {
  grid-column: 1 / -1;
}

.page-activities .activity-profile {
  grid-template-columns: minmax(210px, 0.7fr) repeat(2, minmax(190px, 1fr)) auto;
  order: 0;
  gap: 8px;
  border: 0;
  color: var(--ink);
  background: transparent;
  box-shadow: none;
}

.page-activities .activity-profile {
  align-items: end;
  padding: 0;
}

.page-activities .activity-profile h3 {
  display: none;
}

.page-activities .activity-profile p {
  display: none;
}

.page-activities .activity-profile label {
  gap: 0;
  font-size: 0.76rem;
}

.page-activities .activity-profile input {
  min-height: 38px;
  padding: 0 12px;
  font-size: 0.9rem;
}

.page-activities .profile-save {
  min-height: 38px;
  padding: 0 14px;
  font-size: 0.86rem;
}

.page-activities .activity-profile label span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.page-activities .activity-profile p,
.page-activities .activity-profile label {
  color: var(--ink-soft);
}

.page-activities .activity-profile h3 {
  color: var(--ink);
}

.page-activities .activity-profile input {
  border-color: #d8e4df;
  color: var(--ink);
  background: white;
}

.page-activities .activity-profile input::placeholder {
  color: #7f8f91;
}

.page-activities .profile-save {
  border-color: var(--line);
  color: white;
  background: white;
  background: var(--teal-deep);
}

.activity-form {
  grid-column: 1;
}

.page-activities .activity-form {
  position: static;
  border: 0;
  box-shadow: none;
}

.activity-profile,
.activity-form,
.activity-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  box-shadow: 0 18px 42px rgba(16, 47, 51, 0.08);
}

.activity-profile,
.activity-form {
  display: grid;
  gap: 14px;
  align-self: start;
  padding: clamp(20px, 3vw, 28px);
}

.activity-profile {
  grid-template-columns: minmax(180px, 0.6fr) minmax(220px, 1fr) auto;
  align-items: end;
}

.activity-profile h3,
.activity-profile p {
  grid-column: 1;
}

.activity-profile p,
.activity-form p {
  margin: -4px 0 4px;
  color: var(--muted);
  line-height: 1.52;
}

.activity-profile label,
.activity-form label {
  display: grid;
  gap: 7px;
  color: var(--ink-soft);
  font-size: 0.88rem;
  font-weight: 850;
}

.activity-profile input,
.activity-form input,
.activity-chat-form input {
  width: 100%;
  min-height: 46px;
  border: 1px solid #d8e4df;
  border-radius: 8px;
  padding: 0 13px;
  color: var(--ink);
  background: #fbfdfc;
  font: inherit;
}

.activity-template-picker {
  display: grid;
  gap: 8px;
  border: 1px solid rgba(18, 63, 67, 0.1);
  border-radius: 8px;
  padding: 10px;
  background: #f7fbf9;
}

.activity-template-picker[hidden] {
  display: none;
}

.activity-template-picker strong {
  color: var(--ink);
  font-size: 0.82rem;
}

.activity-template-picker div {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.activity-template-picker button {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 11px;
  color: var(--teal-deep);
  background: white;
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 900;
}

.profile-save {
  min-height: 46px;
  border-color: var(--line);
  color: var(--ink);
  background: white;
}

.activity-filters {
  grid-column: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-self: start;
}

.page-activities .activity-filters {
  order: 1;
  width: fit-content;
  max-width: 100%;
  border: 1px solid rgba(18, 63, 67, 0.1);
  border-radius: 8px;
  padding: 4px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: none;
}

.activity-filters button {
  min-height: 32px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 11px;
  color: var(--ink-soft);
  background: white;
  cursor: pointer;
  font-size: 0.8rem;
  font-weight: 900;
}

.activity-filters button.active {
  border-color: var(--teal-deep);
  color: white;
  background: var(--teal-deep);
}

.activity-filters button.soft-active {
  border-color: rgba(20, 74, 79, 0.28);
  color: var(--teal-deep);
  background: #eef8f5;
}

.activity-board {
  grid-column: 1;
  display: grid;
  gap: 16px;
}

.page-activities .activity-board {
  order: 2;
  gap: 10px;
}

.page-activities .activity-pagination {
  order: 3;
}

.activity-pagination {
  grid-column: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.activity-pagination button {
  min-width: 42px;
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 12px;
  color: var(--ink-soft);
  background: white;
  cursor: pointer;
  font-weight: 900;
}

.activity-pagination button.active {
  border-color: var(--teal-deep);
  color: white;
  background: var(--teal-deep);
}

.activity-pagination button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

.activity-card {
  position: relative;
  overflow: hidden;
}

.page-activities .activity-card {
  border: 0;
  box-shadow: var(--shadow-strong);
}

.page-activities .activity-card-compact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px 14px;
  align-items: center;
  min-height: 82px;
  border: 1px solid rgba(18, 63, 67, 0.08);
  border-radius: 8px;
  padding: 11px 14px;
  background:
    radial-gradient(circle at 96% 0%, rgba(244, 185, 79, 0.16), transparent 30%),
    white;
  box-shadow: 0 14px 34px rgba(16, 47, 51, 0.1);
}

.activity-card-compact.is-saved {
  border-color: rgba(222, 97, 70, 0.34);
}

.activity-row-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 8px;
  align-items: center;
  min-width: 0;
}

.activity-save-toggle {
  display: inline-grid;
  width: 34px;
  min-height: 30px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0;
  color: var(--ink-soft);
  background: white;
  cursor: pointer;
  font-size: 0.74rem;
  font-weight: 900;
  line-height: 1;
}

.activity-save-toggle.active {
  border-color: rgba(222, 97, 70, 0.25);
  color: white;
  background: var(--coral);
}

.activity-button-icon {
  display: inline-grid;
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  place-items: center;
  line-height: 0;
}

.activity-button-icon svg {
  display: block;
  width: 100%;
  height: 100%;
  color: currentColor;
  fill: currentColor;
}

.activity-button-icon svg path[fill="none"] {
  fill: none;
}

.activity-row-text {
  min-width: 0;
}

.activity-card-compact .eyebrow {
  margin-bottom: 2px;
  font-size: 0.66rem;
}

.activity-card-compact h3 {
  max-width: none;
  margin: 0 0 5px;
  font-size: clamp(1rem, 1.55vw, 1.28rem);
  line-height: 1.12;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.activity-card-compact .activity-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.activity-card-compact .activity-meta span {
  min-height: 24px;
  padding: 3px 8px;
  font-size: 0.72rem;
}

.activity-note-inline {
  background: #f7f3ea !important;
}

.activity-card-compact .activity-actions {
  justify-content: flex-end;
  gap: 6px;
}

.activity-card-compact .activity-people {
  grid-column: 1 / -1;
  padding-left: 44px;
  font-size: 0.82rem;
  line-height: 1.25;
}

.activity-card-compact .activity-icon-button,
.activity-card-compact .activity-action-button {
  position: relative;
  display: inline-flex;
  min-width: 78px;
  height: 34px;
  min-height: 34px;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border-radius: 8px;
  padding: 0 10px;
  font-size: 0.74rem;
  line-height: 1;
}

.activity-card-compact .activity-count {
  min-height: 28px;
  padding: 0 9px;
  font-size: 0.72rem;
}

.activity-card-compact .activity-icon-button {
  color: var(--ink-soft);
  background: white;
}

.activity-detail-toggle {
  display: none;
}

.activity-toolbar {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  display: flex;
  gap: 8px;
}

.activity-icon-button {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink-soft);
  background: rgba(255, 255, 255, 0.86);
  cursor: pointer;
  font-size: 1.2rem;
  font-weight: 900;
  line-height: 1;
}

.activity-card-header {
  display: grid;
  gap: 10px;
  padding: clamp(20px, 3vw, 28px);
  background:
    radial-gradient(circle at 92% 0%, rgba(244, 185, 79, 0.22), transparent 32%),
    white;
}

.page-activities .activity-card-header {
  padding: 20px clamp(18px, 2.4vw, 28px) 18px;
  background:
    radial-gradient(circle at 90% 0%, rgba(244, 185, 79, 0.32), transparent 34%),
    linear-gradient(135deg, #ffffff 0%, #fff8ed 100%);
}

.activity-card-header h3 {
  max-width: calc(100% - 92px);
  font-size: clamp(1.25rem, 2.2vw, 1.8rem);
  line-height: 1.08;
}

.activity-meta {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 7px;
  color: var(--muted);
  font-weight: 750;
}

.activity-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  max-width: 100%;
  width: fit-content;
  border-radius: 999px;
  padding: 5px 10px;
  background: #eef8f5;
  font-size: 0.84rem;
  overflow-wrap: anywhere;
}

.activity-card-body {
  display: grid;
  gap: 14px;
  padding: 0 clamp(20px, 3vw, 28px) clamp(20px, 3vw, 28px);
}

.page-activities .activity-card-body {
  padding: 14px clamp(18px, 2.4vw, 28px) 18px;
}

.activity-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  width: 100%;
  max-width: 100%;
  margin-top: 0;
}

.activity-main-actions,
.activity-secondary-actions {
  display: flex;
  gap: 8px;
  align-items: center;
}

.activity-actions button {
  min-height: 38px;
  border: 1px solid rgba(18, 63, 67, 0.12);
  border-radius: 8px;
  padding: 0 15px;
  cursor: pointer;
  font-size: 0.88rem;
  font-weight: 850;
  line-height: 1;
  white-space: nowrap;
  box-shadow: none;
}

.activity-actions .activity-action-icon {
  position: relative;
  display: inline-grid;
  width: 42px;
  min-width: 42px;
  height: 42px;
  min-height: 42px;
  place-items: center;
  border-radius: 999px;
  padding: 0;
  font-size: 1.12rem;
}

.activity-join {
  border-color: var(--teal-deep);
  color: white;
  background: var(--teal-deep);
}

.activity-leave {
  color: var(--teal-deep);
  background: white;
}

.activity-count {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  border-radius: 999px;
  padding: 0 11px;
  color: #49696d;
  background: #eef8f5;
  font-size: 0.82rem;
  font-weight: 900;
}

.activity-chat-count-badge,
.activity-unread-badge {
  position: absolute;
  top: -6px;
  right: -6px;
  display: grid;
  min-width: 20px;
  height: 20px;
  place-items: center;
  border: 2px solid white;
  border-radius: 999px;
  padding: 0 5px;
  color: white;
  background: var(--coral);
  font-size: 0.68rem;
  font-weight: 950;
  line-height: 1;
}

.activity-chat-count-badge {
  color: white;
  background: var(--coral);
}

.activity-people,
.activity-chat {
  padding: 0;
}

.activity-people {
  color: var(--muted);
  line-height: 1.45;
}

.activity-chat {
  display: none;
}

.activity-messages {
  display: grid;
  gap: 8px;
  max-height: 230px;
  overflow: auto;
  border: 1px solid #e5ede9;
  border-radius: 8px;
  padding: 10px;
  background: #fbf7ee;
}

.activity-message {
  display: grid;
  gap: 2px;
  border-radius: 8px;
  padding: 10px 11px;
  background: white;
}

.activity-message strong {
  color: var(--teal-deep);
  font-size: 0.86rem;
}

.activity-message span {
  color: var(--ink-soft);
  line-height: 1.42;
}

.chat-drawer .activity-message {
  width: fit-content;
  max-width: min(78%, 320px);
  border-radius: 14px 14px 14px 4px;
  padding: 7px 9px 6px;
  background: white;
  box-shadow: 0 1px 1px rgba(16, 47, 51, 0.08);
}

.chat-drawer .activity-message.is-own {
  justify-self: end;
  border-radius: 14px 14px 4px 14px;
  background: #d8f8c6;
  cursor: pointer;
  user-select: none;
}

.chat-drawer .activity-message strong {
  margin-bottom: -1px;
  font-size: 0.78rem;
}

.chat-drawer .activity-message span {
  font-size: 0.98rem;
  line-height: 1.35;
}

.chat-drawer .activity-message small {
  display: inline-flex;
  justify-self: end;
  align-items: center;
  gap: 2px;
  margin-top: 0;
  color: rgba(20, 74, 79, 0.52);
  font-size: 0.54rem;
  line-height: 1;
}

.chat-drawer .activity-message .message-status {
  display: inline-block;
  width: 11px;
  color: rgba(20, 74, 79, 0.5);
  font-size: 0.5rem;
  font-weight: 700;
  letter-spacing: -0.18em;
  transform: translateY(-0.5px);
}

.chat-drawer .activity-message .message-edited {
  font-size: 0.54rem;
  letter-spacing: 0;
}

.chat-drawer .activity-message.is-pending {
  opacity: 0.82;
}

.activity-chat-form {
  display: grid;
  grid-template-columns: minmax(100px, 0.34fr) minmax(180px, 1fr) auto;
  gap: 8px;
}

.activity-chat-form button {
  min-height: 46px;
  border: 0;
  border-radius: 8px;
  padding: 0 16px;
  color: white;
  background: var(--whatsapp);
  cursor: pointer;
  font-weight: 900;
}

.activity-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.45;
}

.activity-chat-open {
  border-color: var(--whatsapp);
  color: white;
  background: var(--whatsapp);
  box-shadow: none;
}

.activity-notify {
  color: var(--teal-deep);
  background: #eef8f5;
}

.activity-notify.active {
  color: var(--teal-deep);
  background: #eef8f5;
}

body.modal-open {
  overflow: hidden;
}

.activity-modal {
  position: fixed;
  inset: 0;
  z-index: 130;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(8, 32, 35, 0.46);
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transition: opacity 160ms ease, visibility 0s linear 160ms;
}

.activity-modal.open {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
  transition: opacity 160ms ease;
}

.activity-modal-card {
  width: min(560px, 100%);
  max-height: min(720px, calc(100svh - 36px));
  overflow: auto;
  border: 1px solid rgba(18, 63, 67, 0.12);
  border-radius: 8px;
  background: white;
  box-shadow: 0 32px 90px rgba(8, 32, 35, 0.3);
}

.activity-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border-bottom: 1px solid var(--line);
  padding: 20px 22px 16px;
}

.activity-modal-header h3 {
  margin: 4px 0 0;
  font-size: 1.45rem;
}

.activity-modal-header button {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink-soft);
  background: white;
  cursor: pointer;
  font-size: 1.5rem;
  font-weight: 900;
  line-height: 1;
}

.activity-modal .activity-form {
  padding: 20px 22px 22px;
}

.confirm-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(8, 32, 35, 0.42);
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transition: opacity 160ms ease, visibility 0s linear 160ms;
}

.confirm-modal.open {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
  transition: opacity 160ms ease;
}

.confirm-card {
  width: min(460px, 100%);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  background: white;
  box-shadow: 0 30px 80px rgba(8, 32, 35, 0.28);
}

.confirm-card p {
  color: var(--muted);
  line-height: 1.5;
}

.confirm-password {
  display: grid;
  gap: 7px;
  margin-top: 16px;
  color: var(--ink-soft);
  font-size: 0.86rem;
  font-weight: 850;
}

.confirm-password input {
  width: 100%;
  min-height: 44px;
  border: 1px solid #d8e4df;
  border-radius: 8px;
  padding: 0 13px;
  color: var(--ink);
  background: #fbfdfc;
  font: inherit;
}

.confirm-password input:focus {
  border-color: var(--teal-deep);
  outline: 2px solid rgba(28, 143, 138, 0.18);
}

.confirm-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 18px;
}

.confirm-actions button {
  min-height: 44px;
  border-radius: 8px;
  padding: 0 16px;
  cursor: pointer;
  font-weight: 900;
}

.confirm-actions .danger {
  background: #db5a42;
  box-shadow: none;
}

.chat-drawer {
  position: fixed;
  right: clamp(12px, 3vw, 28px);
  bottom: clamp(12px, 3vw, 28px);
  z-index: 80;
  display: grid;
  grid-template-rows: auto minmax(180px, 1fr) auto;
  width: min(420px, calc(100vw - 24px));
  max-height: min(620px, calc(100svh - 110px));
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: #efe8dc;
  box-shadow: 0 26px 70px rgba(16, 47, 51, 0.24);
  opacity: 0;
  transform: translateY(22px);
  pointer-events: none;
  visibility: hidden;
  transition: opacity 160ms ease, transform 160ms ease, visibility 0s linear 160ms;
}

.chat-stack {
  position: fixed;
  right: clamp(12px, 3vw, 28px);
  bottom: clamp(12px, 3vw, 28px);
  z-index: 180;
  display: flex;
  flex-direction: row-reverse;
  align-items: end;
  gap: 12px;
  max-width: calc(100vw - 24px);
  pointer-events: none;
}

.chat-stack .chat-drawer {
  position: relative;
  right: auto;
  bottom: auto;
  z-index: auto;
  width: min(380px, calc((100vw - 72px) / 2));
  min-width: 320px;
  max-height: min(560px, calc(100svh - 120px));
  opacity: 1;
  transform: none;
  pointer-events: auto;
  visibility: visible;
  transition: none;
}

.chat-stack .chat-drawer:nth-child(n + 3) {
  width: 330px;
  min-width: 300px;
}

.chat-drawer.open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  visibility: visible;
  transition: opacity 160ms ease, transform 160ms ease;
}

.chat-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-width: 0;
  padding: 12px 14px;
  color: white;
  background: var(--teal-deep);
}

.chat-drawer-header span,
.chat-drawer-header strong {
  display: block;
}

.chat-drawer-header span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
}

.chat-drawer-header strong {
  margin-top: 2px;
  line-height: 1.2;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.chat-drawer-header button {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 0;
  border-radius: 8px;
  color: white;
  background: rgba(255, 255, 255, 0.12);
  cursor: pointer;
  font-size: 1.5rem;
  line-height: 1;
}

.chat-drawer-messages {
  display: grid;
  align-content: start;
  gap: 6px;
  overflow: auto;
  padding: 12px;
  background:
    linear-gradient(rgba(251, 247, 238, 0.9), rgba(251, 247, 238, 0.9)),
    radial-gradient(circle at 20% 10%, rgba(20, 74, 79, 0.12), transparent 28%),
    radial-gradient(circle at 85% 80%, rgba(37, 211, 102, 0.12), transparent 24%);
}

.chat-drawer-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 42px;
  gap: 8px;
  border-top: 1px solid var(--line);
  padding: 8px;
  background: #f7f3ea;
}

.chat-drawer-form input {
  min-width: 0;
  min-height: 42px;
  border: 1px solid #d8e4df;
  border-radius: 999px;
  padding: 0 14px;
  font: inherit;
  background: white;
}

.chat-drawer-form button {
  display: grid;
  width: 42px;
  min-height: 42px;
  place-items: center;
  border: 0;
  border-radius: 999px;
  padding: 0;
  color: white;
  background: var(--whatsapp);
  cursor: pointer;
  font-size: 1rem;
  font-weight: 900;
}

.section-heading.compact {
  max-width: 780px;
  margin-bottom: 34px;
}

.group-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.group-card {
  display: grid;
  grid-template-rows: auto auto 1fr;
  gap: 14px;
  min-height: 230px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  background: white;
  box-shadow: 0 10px 28px rgba(16, 47, 51, 0.06);
}

.group-card.featured {
  border-color: rgba(37, 211, 102, 0.38);
  background:
    linear-gradient(135deg, rgba(37, 211, 102, 0.12), transparent 44%),
    white;
}

.group-card.quiet {
  background: #173f43;
  color: white;
}

.tag {
  width: max-content;
  border-radius: 999px;
  padding: 7px 10px;
  color: var(--teal-deep);
  background: #e8f5f2;
  font-size: 0.78rem;
  font-weight: 900;
}

.group-card.quiet .tag {
  color: #ffe0a1;
  background: rgba(255, 255, 255, 0.12);
}

.group-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.group-card.quiet p {
  color: rgba(255, 255, 255, 0.78);
}

.group-card button,
.group-card a {
  width: 100%;
  border: 0;
  color: white;
  background: var(--teal-deep);
  cursor: pointer;
}

.group-card button::before {
  content: "";
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  background: url("assets/whatsapp.svg") center / contain no-repeat;
}

.group-card button:hover,
.group-card a:hover {
  background: var(--teal);
}

.process-band {
  background:
    linear-gradient(135deg, rgba(18, 63, 67, 0.07), transparent 40%),
    #ffffff;
}

.event-band {
  scroll-margin-top: 96px;
  padding-top: clamp(12px, 2.5vw, 30px);
  background:
    linear-gradient(180deg, #f5f0e7 0%, #fff8ed 100%);
}

.event-card {
  display: grid;
  grid-template-columns: minmax(300px, 0.92fr) minmax(360px, 1.08fr);
  min-height: 620px;
  overflow: hidden;
  border: 1px solid rgba(35, 26, 21, 0.12);
  border-radius: 8px;
  color: #1f1f1f;
  background: white;
  box-shadow: var(--shadow-strong);
}

.event-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 0;
  padding: clamp(22px, 4vw, 52px);
  background:
    linear-gradient(140deg, #173f43 0%, #246864 58%, #f2b84b 160%);
}

.event-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(31, 31, 31, 0.02), rgba(31, 31, 31, 0.08)),
    radial-gradient(circle at 50% 50%, transparent 55%, rgba(31, 31, 31, 0.1));
  pointer-events: none;
}

.event-visual img {
  display: block;
  width: min(100%, 620px);
  height: auto;
  max-height: none;
  min-height: 0;
  object-fit: contain;
  object-position: center center;
  border: 10px solid rgba(255, 255, 255, 0.92);
  border-radius: 8px;
  box-shadow: 0 28px 70px rgba(5, 25, 28, 0.24);
}

@media (min-width: 921px) {
  .event-visual {
    padding-block: clamp(26px, 4vw, 62px);
  }

  .event-visual img {
    width: min(100%, 620px);
  }
}

.event-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: clamp(34px, 5vw, 74px);
}

.event-card .eyebrow {
  color: #e15903;
}

.event-card h2 {
  max-width: 760px;
  margin-top: 18px;
  color: #1f1f1f;
  font-size: clamp(2.8rem, 5.4vw, 5.5rem);
  line-height: 0.98;
}

.event-card p {
  max-width: 720px;
  margin: 24px 0 0;
  color: #655b55;
  font-size: clamp(1.05rem, 1.8vw, 1.26rem);
  line-height: 1.58;
}

.event-details {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.event-details time,
.event-details span {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  border: 1px solid rgba(35, 26, 21, 0.12);
  border-radius: 999px;
  padding: 8px 14px;
  color: #1f1f1f;
  background: rgba(255, 255, 255, 0.62);
  font-weight: 850;
}

.event-details time {
  color: #e15903;
}

.event-ticket-panel {
  display: grid;
  gap: 16px;
  width: min(100%, 620px);
  margin-top: 34px;
  border: 1px solid rgba(18, 63, 67, 0.14);
  border-radius: 8px;
  padding: 18px;
  background: #fffaf2;
}

.event-ticket-panel strong,
.ticket-label {
  display: block;
}

.ticket-label {
  color: var(--coral);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.event-ticket-panel strong {
  margin-top: 3px;
  color: var(--ink);
  font-size: 1.08rem;
}

.event-ticket-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.event-cta,
.donation-ticket {
  width: 100%;
  padding-inline: 16px;
}

.donation-ticket {
  border-color: rgba(18, 63, 67, 0.2);
  color: var(--teal-deep);
  background: white;
  box-shadow: none;
}

.steps-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: steps;
}

.steps-list li {
  position: relative;
  display: grid;
  gap: 6px;
  min-height: 104px;
  border: 1px solid rgba(18, 63, 67, 0.1);
  border-left: 5px solid var(--coral);
  border-radius: 8px;
  padding: 20px 20px 20px 68px;
  background: #fffaf2;
  counter-increment: steps;
  box-shadow: 0 12px 28px rgba(16, 47, 51, 0.06);
}

.steps-list li::before {
  content: counter(steps);
  position: absolute;
  left: 18px;
  top: 20px;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  color: white;
  background: var(--coral);
  font-weight: 900;
}

.steps-list strong {
  font-size: 1.14rem;
}

.steps-list span {
  color: var(--muted);
  line-height: 1.45;
}

.guidelines {
  background: #173f43;
  color: white;
  align-items: start;
}

.guidelines .eyebrow {
  color: #ffd47e;
}

.guidelines h2 {
  max-width: 760px;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.04;
}

.guideline-list {
  display: grid;
  gap: 12px;
}

.guideline-list p {
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  padding: 20px;
  color: rgba(255, 255, 255, 0.82);
  background: rgba(255, 255, 255, 0.07);
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  line-height: 1.55;
}

.legal-section {
  background: white;
  border-top: 1px solid var(--line);
}

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

.back-link {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  border-radius: 8px;
  padding: 0 14px;
  color: white;
  background: var(--teal-deep);
  font-weight: 850;
}

.legal-page {
  min-height: calc(100vh - 154px);
  padding: clamp(72px, 10vw, 130px) clamp(18px, 5vw, 72px);
  background: white;
}

.legal-page h1 {
  max-width: 900px;
  color: var(--ink);
  font-size: clamp(2.3rem, 5vw, 4.2rem);
  line-height: 1;
}

.legal-page .legal-copy {
  margin-top: 34px;
}

.legal-section h2 {
  font-size: clamp(1.8rem, 3.2vw, 2.8rem);
}

.legal-copy {
  display: grid;
  gap: 16px;
  max-width: 860px;
}

.legal-copy p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 1rem;
  line-height: 1.65;
}

.legal-copy a {
  color: var(--teal-deep);
  font-weight: 850;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 24px clamp(18px, 5vw, 72px);
  color: var(--muted);
  background: #f7f3ea;
  border-top: 1px solid var(--line);
  font-size: 0.95rem;
}

.site-footer nav {
  display: flex;
  gap: 18px;
}

.site-footer a {
  color: var(--ink-soft);
  font-weight: 800;
}

.wide {
  width: 100%;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 60;
  max-width: min(460px, calc(100vw - 28px));
  transform: translate(-50%, calc(100% + 42px));
  border-radius: 8px;
  padding: 13px 16px;
  color: white;
  background: #102f33;
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transition:
    opacity 180ms ease,
    transform 180ms ease,
    visibility 0s linear 180ms;
}

.toast.visible {
  transform: translate(-50%, 0);
  opacity: 1;
  visibility: visible;
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

@media (max-width: 920px) {
  .site-header {
    flex-wrap: wrap;
    gap: 10px 14px;
    min-height: 0;
    padding: 10px 14px 12px;
  }

  .nav {
    order: 3;
    justify-content: flex-start;
    overflow-x: auto;
    gap: 8px;
    padding-bottom: 2px;
    scrollbar-width: none;
  }

  .nav::-webkit-scrollbar {
    display: none;
  }

  .nav a {
    min-width: max-content;
    border: 1px solid #d8e4df;
    border-radius: 999px;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.62);
  }

  .header-action {
    margin-left: auto;
    padding: 0 13px;
  }

  .language-switch {
    margin-left: auto;
  }

  .hero {
    min-height: min(780px, calc(100svh - 104px));
  }

  .hero-content {
    align-self: end;
    padding-top: 18svh;
    padding-bottom: 74px;
  }

  .hero-overlay {
    background:
      linear-gradient(0deg, rgba(7, 29, 32, 0.92) 0%, rgba(7, 29, 32, 0.68) 58%, rgba(7, 29, 32, 0.16) 100%);
  }

  .intro-band,
  .contact-band,
  .belonging-band,
  .process-band,
.event-band,
  .activity-entry-band,
  .activity-hero,
  .activity-band,
  .guidelines,
  .legal-section {
    grid-template-columns: 1fr;
  }

  .activity-app {
    grid-template-columns: 1fr;
  }

  .page-activities .section-heading.compact,
  .page-activities .activity-app {
    grid-template-columns: 1fr;
  }

  .page-activities .activity-form {
    position: static;
  }

  .event-card {
    grid-template-columns: 1fr;
  }

  .event-visual img {
    min-height: 360px;
  }

  .group-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  body {
    padding-bottom: 0;
  }

  .site-header {
    position: sticky;
    flex-wrap: nowrap;
    gap: 7px;
    padding: 8px 10px;
  }

  .brand {
    flex: 1 1 auto;
    min-width: 0;
    gap: 9px;
  }

  .brand-mark {
    width: 34px;
    height: 34px;
  }

  .brand strong {
    font-size: 0.86rem;
    white-space: nowrap;
  }

  .brand small {
    font-size: 0.68rem;
  }

  .header-action {
    display: none;
  }

  .language-switch {
    order: 2;
    margin-left: 0;
    padding: 2px;
  }

  .language-switch button {
    min-width: 30px;
    min-height: 30px;
    font-size: 0.69rem;
  }

  .header-action img {
    width: 18px;
    height: 18px;
  }

  .menu-toggle {
    display: inline-flex;
    order: 3;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
  }

  .nav {
    position: absolute;
    left: auto;
    right: 10px;
    top: calc(100% + 6px);
    z-index: 40;
    display: none;
    width: min(260px, calc(100vw - 20px));
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 6px;
    background: rgba(247, 243, 234, 0.98);
    box-shadow: var(--shadow);
  }

  .nav.open {
    display: grid;
    gap: 0;
  }

  .nav a {
    border: 0;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
    min-height: 0;
    padding: 9px 8px;
    color: var(--ink);
    background: transparent;
    font-size: 0.92rem;
    line-height: 1.15;
  }

  .nav a:last-child {
    border-bottom: 0;
  }

  .nav .nav-whatsapp {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    margin: 8px auto 0;
    border: 0 !important;
    border-radius: 8px !important;
    padding: 0 12px !important;
    color: white !important;
    background: var(--whatsapp) !important;
    box-shadow: 0 10px 22px rgba(37, 211, 102, 0.2);
    gap: 7px;
    font-weight: 900;
    line-height: 1;
  }

  .nav-whatsapp img {
    display: block;
    width: 17px;
    height: 17px;
  }

  .nav-whatsapp span {
    display: block;
  }

  .hero {
    min-height: 620px;
  }

  .hero > picture > img {
    object-position: 68% center;
  }

  .hero-content {
    align-self: end;
    padding: 180px 22px 42px;
  }

  h1 {
    max-width: 10ch;
    font-size: clamp(2.7rem, 13.5vw, 3.8rem);
    line-height: 0.95;
  }

  h2 {
    font-size: 2.28rem;
  }

  .hero-content > p {
    margin-top: 18px;
    font-size: 1.02rem;
    line-height: 1.48;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    margin-top: 24px;
  }

  .primary,
  .secondary {
    width: 100%;
  }

  .trust-row {
    gap: 7px;
  }

  .trust-row li {
    min-height: 30px;
    font-size: 0.78rem;
  }

  .intro-band,
  .contact-band,
  .offer-section,
  .belonging-band,
  .process-band,
.event-band,
  .activity-entry-band,
  .activity-hero,
  .activity-band,
  .guidelines,
  .legal-section {
    padding: 56px 18px;
  }

  .activity-entry-panel,
  .activity-hero-panel {
    padding: 14px;
  }

  .activity-entry-copy .hero-actions {
    grid-template-columns: 1fr;
  }

  .activity-hero {
    align-items: end;
    min-height: 560px;
    background:
      linear-gradient(0deg, rgba(7, 29, 32, 0.95), rgba(18, 63, 67, 0.72)),
      url("assets/community-hero-900.jpg") 64% center / cover;
  }

  .page-activities .activity-hero {
    min-height: 0;
    padding: 40px 18px 32px;
  }

  .page-activities .activity-hero-panel {
    display: none;
  }

  .page-activities .activity-profile {
    grid-template-columns: 1fr;
  }

  .page-activities .activity-filters {
    padding: 8px;
  }

  .activity-hero h1 {
    max-width: 100%;
    font-size: clamp(2.15rem, 10vw, 3rem);
  }

  .activity-hero-copy > p:not(.eyebrow) {
    margin-top: 16px;
    font-size: 1rem;
  }

  .activity-hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    margin-top: 18px;
  }

  .activity-chat-form {
    grid-template-columns: 1fr;
  }

  .activity-profile {
    grid-template-columns: 1fr;
  }

  .activity-form,
  .activity-filters,
  .activity-board,
  .activity-pagination {
    grid-column: 1;
    grid-row: auto;
  }

  .activity-filters {
    width: 100%;
  }

  .page-activities .activity-profile {
    order: 0;
  }

  .page-activities .activity-filters {
    order: 1;
  }

  .page-activities .activity-board {
    order: 2;
  }

  .page-activities .activity-pagination {
    order: 3;
  }

  .page-activities .activity-form {
    order: 5;
  }

  .page-activities .section-heading.compact {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .activity-create-open {
    justify-self: stretch;
  }

  .activity-modal {
    align-items: end;
    padding: 10px;
  }

  .activity-modal-card {
    max-height: calc(100svh - 20px);
    border-radius: 8px;
  }

  .activity-modal-header,
  .activity-modal .activity-form {
    padding-left: 16px;
    padding-right: 16px;
  }

  .activity-filters button {
    flex: 0 0 auto;
  }

  .activity-profile h3,
  .activity-profile p {
    grid-column: auto;
  }

  .activity-profile,
  .activity-form,
  .activity-card {
    width: 100%;
    max-width: 100%;
  }

  .page-activities .activity-card-compact {
    grid-template-columns: 1fr;
    align-items: stretch;
    gap: 0;
    min-height: 0;
    border: 1px solid rgba(18, 63, 67, 0.14);
    border-left: 5px solid var(--teal-deep);
    padding: 15px 42px 15px 14px;
    background:
      radial-gradient(circle at 96% 0%, rgba(244, 185, 79, 0.22), transparent 34%),
      white;
    box-shadow: 0 14px 34px rgba(16, 47, 51, 0.14);
    cursor: pointer;
  }

  .page-activities .activity-card-compact::after {
    content: "›";
    position: absolute;
    top: 50%;
    right: 17px;
    transform: translateY(-50%);
    color: var(--teal-deep);
    font-size: 1.7rem;
    font-weight: 800;
    line-height: 1;
  }

  .activity-card-compact .activity-row-main {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .activity-card-compact:not(.is-expanded) .activity-save-toggle,
  .activity-card-compact:not(.is-expanded) .eyebrow,
  .activity-card-compact:not(.is-expanded) .activity-meta,
  .activity-card-compact:not(.is-expanded) .activity-actions {
    display: none;
  }

  .activity-card-compact.is-expanded {
    border-left-color: var(--coral);
    gap: 8px;
    padding: 12px 10px 10px;
    cursor: default;
  }

  .page-activities .activity-card-compact.is-expanded::after {
    content: none;
  }

  .activity-card-compact .activity-save-toggle {
    position: absolute;
    top: 10px;
    right: 48px;
    width: 34px;
    min-width: 34px;
    min-height: 34px;
    border-radius: 999px;
    padding: 0;
    font-size: 0;
  }

  .activity-card-compact .activity-detail-toggle {
    position: absolute;
    top: 10px;
    right: 10px;
    display: none;
    width: 34px;
    min-width: 34px;
    min-height: 34px;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 0;
    color: var(--ink-soft);
    background: white;
    cursor: pointer;
  }

  .activity-card-compact.is-expanded .activity-detail-toggle {
    display: grid;
  }

  .activity-card-compact .activity-save-toggle .activity-button-icon {
    width: 17px;
    height: 17px;
    flex-basis: 17px;
  }

  .activity-card-compact .eyebrow {
    max-width: calc(100% - 46px);
    margin-bottom: 2px;
    font-size: 0.58rem;
  }

  .activity-card-compact h3 {
    max-width: 100%;
    margin: 0;
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
    font-size: 1.08rem;
    line-height: 1.08;
  }

  .activity-card-compact.is-expanded h3 {
    max-width: calc(100% - 88px);
    margin-bottom: 4px;
    font-size: 1.02rem;
  }

  .activity-card-compact .activity-meta {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4px;
  }

  .activity-card-compact .activity-meta span {
    width: 100%;
    min-height: 24px;
    justify-content: flex-start;
    border-radius: 7px;
    padding: 3px 7px;
    font-size: 0.68rem;
    overflow-wrap: anywhere;
  }

  .activity-card-compact .activity-meta span:nth-child(3),
  .activity-card-compact .activity-meta span:nth-child(5),
  .activity-card-compact .activity-meta .activity-note-inline {
    grid-column: 1 / -1;
  }

  .activity-card-compact .activity-actions {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 5px;
    justify-content: stretch;
  }

  .activity-card-compact .activity-action-button,
  .activity-card-compact .activity-icon-button,
  .activity-card-compact .activity-count {
    width: 100%;
    min-width: 0;
    min-height: 34px;
    border-radius: 7px;
    padding: 0 5px;
    font-size: 0.62rem;
  }

  .activity-card-compact .activity-button-icon {
    width: 13px;
    height: 13px;
    flex-basis: 13px;
  }

  .activity-card-compact .activity-notify,
  .activity-card-compact .activity-icon-button {
    font-size: 0;
  }

  .activity-card-compact .activity-notify .activity-button-icon,
  .activity-card-compact .activity-icon-button .activity-button-icon,
  .activity-card-compact .activity-detail-toggle .activity-button-icon {
    width: 15px;
    height: 15px;
    flex-basis: 15px;
  }

  .activity-card-compact .activity-count {
    grid-column: auto;
    justify-content: center;
  }

  .activity-card-compact .activity-chat-count-badge,
  .activity-card-compact .activity-unread-badge {
    top: -7px;
    right: 6px;
  }

  .activity-card-header h3 {
    max-width: 100%;
    padding-right: 88px;
  }

  .activity-meta span {
    width: 100%;
  }

  .activity-actions {
    gap: 8px;
  }

  .activity-main-actions {
    display: flex;
    gap: 7px;
  }

  .activity-secondary-actions {
    display: flex;
    gap: 7px;
  }

  .activity-count {
    justify-content: center;
    min-width: 74px;
  }

  .activity-actions button {
    min-height: 40px;
    font-size: 1rem;
  }

  .activity-leave,
  .activity-notify,
  .activity-chat-open {
    min-height: 40px;
    padding: 0;
    font-size: 1rem;
  }

  .activity-profile input,
  .activity-form input {
    min-width: 0;
  }

  .page-activities .activity-band.standalone {
    padding-top: 18px;
  }

  .page-activities .section-heading.compact {
    gap: 10px;
    margin-bottom: 10px;
  }

  .page-activities .section-heading.compact h2 {
    font-size: 1.45rem;
  }

  .page-activities .activity-profile {
    grid-template-columns: 1fr 1fr;
    padding: 0;
    gap: 6px;
    background: transparent;
    box-shadow: none;
  }

  .page-activities .activity-profile h3 {
    display: none;
  }

  .page-activities .activity-profile p {
    display: none;
  }

  .page-activities .activity-profile label {
    gap: 0;
    font-size: 0.72rem;
  }

  .page-activities .activity-profile input {
    min-height: 34px;
    border-radius: 8px;
    padding: 0 10px;
    color: var(--ink);
    background: white;
    font-size: 0.78rem;
  }

  .page-activities .profile-save {
    grid-column: 1 / -1;
    min-height: 38px;
    font-size: 0.84rem;
  }

  .page-activities .activity-band.standalone {
    padding-inline: 16px;
  }

  .page-activities .section-heading.compact {
    display: grid;
    grid-template-columns: 1fr;
  }

  .page-activities .section-heading.compact .eyebrow {
    margin-bottom: 3px;
    font-size: 0.64rem;
  }

  .page-activities .activity-create-open {
    min-height: 40px;
    border-radius: 8px;
    font-size: 0.92rem;
  }

  .page-activities .activity-filters {
    width: fit-content;
    max-width: 100%;
    gap: 3px;
    border-radius: 999px;
    padding: 3px;
    overflow-x: auto;
  }

  .page-activities .activity-filters button {
    min-height: 30px;
    flex: 0 0 auto;
    border-radius: 999px;
    padding: 0 10px;
    font-size: 0.72rem;
  }

  .page-activities .activity-board {
    gap: 8px;
  }

  .page-activities .activity-card-compact.is-expanded {
    border-left-width: 3px;
    border-left-color: var(--teal-deep);
    padding: 11px;
    background:
      linear-gradient(90deg, rgba(238, 248, 245, 0.78), rgba(255, 248, 237, 0.7)),
      white;
    box-shadow: 0 12px 28px rgba(16, 47, 51, 0.11);
  }

  .activity-card-compact.is-expanded .eyebrow {
    margin-bottom: 3px;
    color: var(--coral);
    font-size: 0.54rem;
  }

  .activity-card-compact.is-expanded .activity-meta {
    grid-template-columns: 1fr 1fr;
    margin-top: 8px;
    gap: 5px;
  }

  .activity-card-compact.is-expanded .activity-meta span {
    min-height: 28px;
    border-radius: 8px;
    padding: 4px 8px;
    background: rgba(238, 248, 245, 0.84);
    font-size: 0.66rem;
  }

  .activity-card-compact.is-expanded .activity-actions {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-top: 8px;
  }

  .activity-card-compact.is-expanded .activity-action-button,
  .activity-card-compact.is-expanded .activity-icon-button,
  .activity-card-compact.is-expanded .activity-count {
    min-height: 32px;
  }

  .chat-drawer {
    top: auto;
    right: 0;
    bottom: 0;
    left: 0;
    width: auto;
    height: var(--app-viewport-height, 100svh);
    max-height: none;
    border: 0;
    border-radius: 0;
    grid-template-rows: auto minmax(0, 1fr) auto;
    z-index: 200;
  }

  .chat-stack {
    inset: 0;
    display: block;
    max-width: none;
    pointer-events: none;
  }

  .chat-stack .chat-drawer {
    position: fixed;
    top: auto;
    right: 0;
    bottom: 0;
    left: 0;
    width: auto;
    min-width: 0;
    height: var(--app-viewport-height, 100svh);
    max-height: none;
    border: 0;
    border-radius: 0;
    grid-template-rows: auto minmax(0, 1fr) auto;
    z-index: 200;
  }

  .chat-drawer-messages {
    min-height: 0;
    padding: 10px 8px;
  }

  .chat-drawer-form {
    grid-template-columns: minmax(0, 1fr) auto;
    padding: 8px 10px max(10px, env(safe-area-inset-bottom));
    background: rgba(247, 243, 234, 0.98);
  }

  .chat-drawer-form input {
    font-size: 16px;
  }

  .chat-drawer-form button {
    width: 46px;
    min-width: 46px;
    min-height: 46px;
    padding: 0 12px;
  }

  .event-card {
    min-height: 0;
  }

  .event-visual img {
    min-height: 260px;
  }

  .event-content {
    padding: 26px 20px;
  }

  .event-card h2 {
    font-size: clamp(2.6rem, 13vw, 4rem);
  }

  .event-details {
    gap: 8px;
  }

  .event-details time,
  .event-details span {
    min-height: 38px;
    padding: 7px 11px;
    font-size: 0.9rem;
  }

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

  .event-cta,
  .donation-ticket {
    width: 100%;
    justify-content: center;
  }

  .contact-band h2 {
    font-size: clamp(2rem, 9vw, 2.65rem);
  }

  .intro-copy p,
  .contact-copy p,
  .guideline-list p {
    font-size: 1.04rem;
  }

  .group-grid {
    grid-template-columns: 1fr;
  }

  .group-card {
    min-height: 0;
    padding: 20px;
  }

  .contact-panel,
  .whatsapp-panel {
    padding: 22px;
  }

  .steps-list li {
    padding-right: 16px;
  }

  .toast {
    bottom: calc(18px + env(safe-area-inset-bottom));
  }

  .site-footer {
    display: grid;
  }

  .site-footer nav {
    flex-wrap: wrap;
  }

  .legal-header {
    flex-wrap: nowrap;
  }

  .back-link {
    min-height: 38px;
    padding: 0 10px;
    font-size: 0.78rem;
    white-space: nowrap;
  }
}

/* Final activity-page overrides. Placed last so old desktop/mobile rules cannot win. */
.page-activities .activity-band.standalone {
  padding-top: clamp(22px, 4vw, 42px);
}

.page-activities .section-heading.compact {
  margin-bottom: 14px;
}

.page-activities .section-heading.compact h2 {
  font-size: clamp(1.65rem, 3vw, 2.7rem);
}

.page-activities .activity-app {
  display: flex;
  flex-direction: column;
}

.page-activities .activity-filters {
  order: 0;
  width: fit-content;
  max-width: 100%;
  min-height: 0;
  margin: 0 0 12px;
  padding: 4px;
  border-radius: 999px;
}

.page-activities .activity-filters button {
  min-height: 32px;
  border-radius: 999px;
  padding: 0 13px;
  font-size: 0.78rem;
}

.page-activities .activity-board {
  order: 1;
  display: grid;
  gap: 10px;
}

.page-activities .activity-pagination {
  order: 2;
}

.page-activities .activity-profile {
  order: 3;
  display: grid;
  grid-template-columns: minmax(170px, 1fr) minmax(170px, 1fr) auto;
  gap: 8px;
  align-items: end;
  margin-top: 18px;
  border: 0 !important;
  padding: 0 !important;
  color: var(--ink);
  background: transparent !important;
  box-shadow: none !important;
}

.page-activities .activity-profile h3,
.page-activities .activity-profile p,
.page-activities .activity-profile label span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.page-activities .activity-profile input {
  min-height: 36px;
  border-color: #d8e4df;
  border-radius: 8px;
  padding: 0 12px;
  color: var(--ink);
  background: white;
  font-size: 0.86rem;
}

.page-activities .profile-save {
  min-height: 36px;
  border-radius: 8px;
  padding: 0 13px;
  color: white;
  background: var(--teal-deep);
  font-size: 0.78rem;
  white-space: nowrap;
}

.page-activities .activity-card-compact {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 8px;
  align-items: center;
  min-height: 58px;
  border: 1px solid rgba(18, 63, 67, 0.12);
  border-left: 5px solid var(--teal-deep);
  border-radius: 8px;
  padding: 11px 48px 11px 14px;
  background:
    radial-gradient(circle at 98% 0%, rgba(244, 185, 79, 0.2), transparent 36%),
    white;
  box-shadow: 0 12px 28px rgba(16, 47, 51, 0.12);
  cursor: pointer;
}

.page-activities .activity-card-compact::after {
  content: ">";
  position: absolute;
  top: 50%;
  right: 18px;
  transform: translateY(-50%);
  color: var(--teal-deep);
  font-size: 1.25rem;
  font-weight: 900;
  line-height: 1;
}

.page-activities .activity-card-compact.is-expanded {
  gap: 9px;
  border-left-color: var(--coral);
  padding: 12px 12px 13px;
  cursor: default;
}

.page-activities .activity-card-compact.is-expanded::after {
  content: none;
}

.page-activities .activity-card-compact .activity-row-main {
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
}

.page-activities .activity-card-compact:not(.is-expanded) .activity-save-toggle,
.page-activities .activity-card-compact:not(.is-expanded) .eyebrow,
.page-activities .activity-card-compact:not(.is-expanded) .activity-meta,
.page-activities .activity-card-compact:not(.is-expanded) .activity-actions {
  display: none !important;
}

.page-activities .activity-card-compact h3 {
  max-width: 100%;
  margin: 0;
  font-size: clamp(1.05rem, 1.5vw, 1.28rem);
  line-height: 1.08;
  white-space: normal;
}

.page-activities .activity-card-compact.is-expanded h3 {
  max-width: calc(100% - 88px);
  margin-bottom: 3px;
  font-size: clamp(1.1rem, 1.9vw, 1.48rem);
}

.page-activities .activity-card-compact .activity-save-toggle {
  position: absolute;
  top: 10px;
  right: 48px;
  width: 34px;
  min-width: 34px;
  min-height: 34px;
  border-radius: 999px;
  padding: 0;
  font-size: 0;
}

.page-activities .activity-card-compact .activity-detail-toggle {
  position: absolute;
  top: 10px;
  right: 10px;
  display: none;
  width: 34px;
  min-width: 34px;
  min-height: 34px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0;
  color: var(--ink-soft);
  background: white;
}

.page-activities .activity-card-compact.is-expanded .activity-detail-toggle {
  display: grid;
}

.page-activities .activity-card-compact .activity-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.page-activities .activity-card-compact .activity-meta span {
  min-height: 24px;
  border-radius: 999px;
  padding: 3px 8px;
  font-size: 0.68rem;
}

.page-activities .activity-card-compact .activity-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: flex-start;
}

.page-activities .activity-card-compact .activity-action-button,
.page-activities .activity-card-compact .activity-icon-button,
.page-activities .activity-card-compact .activity-count {
  min-width: 0;
  min-height: 32px;
  border-radius: 8px;
  padding: 0 9px;
  font-size: 0.68rem;
}

.page-activities .activity-card-compact .activity-button-icon {
  width: 14px;
  height: 14px;
  flex-basis: 14px;
}

@media (min-width: 621px) {
  .page-activities .activity-card-compact .activity-notify,
  .page-activities .activity-card-compact .activity-icon-button {
    font-size: 0;
  }
}

@media (max-width: 860px) {
  .hero-live-grid {
    grid-template-columns: 1fr;
    align-content: center;
  }

  .hero-live-panel {
    max-width: 520px;
  }

  .page-activities .activity-profile {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .hero-live {
    min-height: auto;
  }

  .hero-live-grid {
    padding: 44px 24px 52px;
  }

  .hero-live h1 {
    font-size: clamp(2.85rem, 14vw, 4.6rem);
  }

  .hero-live-panel {
    gap: 9px;
  }

  .hero-live-card,
  .hero-live-whatsapp {
    padding: 14px;
  }

  .page-activities .section-heading.compact {
    display: grid;
    gap: 12px;
  }

  .page-activities .activity-filters {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-radius: 8px;
  }

  .page-activities .activity-filters button {
    padding: 0 8px;
    font-size: 0.78rem;
  }

  .page-activities .activity-card-compact {
    min-height: 64px;
    padding: 13px 45px 13px 14px;
  }

  .page-activities .activity-card-compact.is-expanded {
    padding: 12px 10px 10px;
  }
}
