:root {
  --color-red: #c0392b;
  --color-red-deep: #8f241a;
  --color-text: #1a1a1a;
  --color-muted: #5f5a57;
  --color-bg: #f5f5f5;
  --color-paper: #fffdf9;
  --color-gold: #b8860b;
  --color-line: rgba(26, 26, 26, 0.08);
  --color-line-strong: rgba(26, 26, 26, 0.18);
  --shadow-soft: 0 24px 60px rgba(44, 27, 14, 0.08);
  --shadow-card: 0 20px 40px rgba(65, 33, 9, 0.12);
  --container: 1180px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", "Segoe UI", sans-serif;
  color: var(--color-text);
  background:
    radial-gradient(circle at top left, rgba(192, 57, 43, 0.12), transparent 30%),
    linear-gradient(180deg, #f7f4ef 0%, #f4f4f2 28%, #faf7f2 100%);
}

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

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

button,
input,
textarea,
select {
  font: inherit;
}

.page-shell {
  position: relative;
  min-height: 100vh;
  overflow: clip;
}

.page-shell::before,
.page-shell::after {
  content: "";
  position: fixed;
  pointer-events: none;
  z-index: 0;
}

.page-shell::before {
  top: 8rem;
  right: -7rem;
  width: 20rem;
  height: 20rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(184, 134, 11, 0.15), transparent 70%);
}

.page-shell::after {
  bottom: 6rem;
  left: -8rem;
  width: 24rem;
  height: 24rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(192, 57, 43, 0.1), transparent 70%);
}

.container {
  width: min(calc(100% - 2rem), var(--container));
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  padding: 1rem 0;
  transition:
    background-color 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}

.site-header.is-scrolled {
  background: rgba(255, 251, 245, 0.86);
  backdrop-filter: blur(18px);
  box-shadow: 0 10px 24px rgba(41, 30, 20, 0.08);
  border-bottom: 1px solid rgba(26, 26, 26, 0.05);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  min-width: 0;
  flex: 0 1 auto;
}

.brand-mark {
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  overflow: hidden;
  flex: 0 0 auto;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}

.brand-title {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-red);
  font-weight: 800;
}

.brand-subtitle {
  font-size: 0.84rem;
  line-height: 1.3;
  font-weight: 600;
  max-width: 18rem;
}

.site-nav {
  flex: 0 1 auto;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-size: 0.92rem;
  color: var(--color-muted);
}

.site-nav a {
  position: relative;
  padding: 0.4rem 0;
  white-space: nowrap;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--color-red), var(--color-gold));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
}

.site-nav-static {
  position: static;
  opacity: 1;
  pointer-events: auto;
  transform: none;
  width: auto;
  padding: 0;
  border: 0;
  box-shadow: none;
  background: transparent;
}

.menu-toggle {
  display: none;
  border: 1px solid var(--color-line);
  background: rgba(255, 255, 255, 0.72);
  width: 3rem;
  height: 3rem;
  border-radius: 1rem;
  padding: 0.75rem;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  border-radius: 999px;
  background: var(--color-text);
}

.menu-toggle span + span {
  margin-top: 0.35rem;
}

.hero-section {
  padding: 3.5rem 0 2rem;
}

.hero-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: stretch;
}

.hero-copy,
.hero-panel,
.leader-card,
.focus-card,
.event-card,
.news-card,
.gallery-card,
.partner-card,
.partners-cta,
.social-link,
.contact-form,
.expert-frame,
.policy-card,
.mission-copy,
.mission-photo {
  background: rgba(255, 253, 249, 0.76);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.62);
  box-shadow: var(--shadow-soft);
}

.hero-copy {
  padding: clamp(2rem, 5vw, 4rem);
  border-radius: clamp(2rem, 3vw, 3rem);
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: none;
}

.hero-copy::before {
  content: "友谊";
  position: absolute;
  top: 1rem;
  right: 1.25rem;
  font-family: "Noto Serif SC", serif;
  font-size: clamp(3rem, 7vw, 5rem);
  color: rgba(192, 57, 43, 0.1);
  pointer-events: none;
}

.eyebrow,
.section-kicker {
  margin: 0 0 1rem;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-red);
}

.hero-copy h1,
.section-heading h2,
.mission-copy h2,
.expert-copy h2,
.policy-title {
  margin: 0;
  font-family: "Noto Serif SC", Georgia, serif;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.hero-copy h1 {
  font-size: clamp(2.2rem, 5.8vw, 4.6rem);
}

.hero-text,
.section-heading p,
.mission-copy p,
.prose p,
.focus-card p,
.news-card p,
.event-card p,
.gallery-card p,
.partner-card p,
.social-link p,
.contact-form,
.expert-copy p,
.site-footer p,
.form-hint,
.cookie-copy p,
.policy-section p {
  color: var(--color-muted);
  line-height: 1.7;
}

.hero-text {
  margin: 1.5rem 0 0;
  max-width: 60rem;
  font-size: 1.05rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.25rem;
  padding: 0 1.3rem;
  border-radius: 999px;
  font-weight: 700;
  border: 1px solid transparent;
  cursor: pointer;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background-color 0.2s ease,
    color 0.2s ease;
}

[hidden] {
  display: none !important;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--color-red), var(--color-red-deep));
  box-shadow: 0 16px 30px rgba(192, 57, 43, 0.3);
}

.button-secondary,
.button-ghost {
  color: var(--color-text);
  background: rgba(255, 255, 255, 0.72);
  border-color: var(--color-line-strong);
}

.button-small {
  min-height: 2.8rem;
  padding-inline: 1rem;
}

.hero-panel {
  padding: 1.6rem;
  border-radius: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  background: linear-gradient(160deg, rgba(255, 253, 249, 0.92), rgba(248, 243, 236, 0.82));
  max-width: 52rem;
  margin: 0 auto;
}

.hero-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.metric-card {
  padding: 1.15rem;
  border-radius: 1.5rem;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(26, 26, 26, 0.06);
}

.metric-value {
  display: block;
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  font-weight: 800;
  color: var(--color-red);
}

.metric-label {
  display: block;
  margin-top: 0.5rem;
  color: var(--color-muted);
  line-height: 1.5;
}

.hero-panel-note {
  margin: 0;
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  align-self: flex-start;
  background: rgba(184, 134, 11, 0.14);
  color: #7a5903;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.hero-ribbon {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-weight: 700;
  color: var(--color-text);
}

.hero-ribbon span {
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(26, 26, 26, 0.08);
  background: rgba(255, 255, 255, 0.48);
}

.section {
  padding: clamp(4rem, 8vw, 7rem) 0;
}

.section-mission {
  padding: clamp(3rem, 6vw, 5rem) 0;
}

.mission-grid {
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  gap: 2rem;
  align-items: center;
}

.mission-copy {
  padding: clamp(1.6rem, 3vw, 2.5rem);
  border-radius: 2rem;
  text-align: left;
}

.mission-copy .section-kicker {
  text-align: center;
  margin-bottom: 0.8rem;
}

.mission-copy h2 {
  text-align: center;
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  margin-bottom: 1.25rem;
}

.mission-copy p {
  margin: 0;
  font-size: 1.1rem;
  line-height: 1.7;
}

.mission-photo {
  border-radius: 2rem;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: linear-gradient(160deg, rgba(192, 57, 43, 0.1), rgba(184, 134, 11, 0.08));
}

.mission-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.section-heading h2,
.mission-copy h2 ~ .section-heading h2,
.policy-title {
  font-size: clamp(2rem, 5vw, 3.8rem);
}

.section-heading h2 {
  font-size: clamp(2rem, 5vw, 3.8rem);
}

.split-section {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2rem;
  align-items: start;
}

.section-heading p {
  margin: 1rem 0 0;
  max-width: 38rem;
}

.prose p {
  margin: 0;
  font-size: 1.05rem;
}

.prose p + p {
  margin-top: 1.2rem;
}

#about .prose {
  align-self: center;
}

.section-contrast {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.26), rgba(255, 248, 238, 0.5));
}

.leaders-grid,
.focus-grid,
.news-grid,
.events-grid,
.gallery-grid {
  display: grid;
  gap: 1.25rem;
}

.leaders-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 2rem;
}

.leader-card {
  padding: 1rem;
  border-radius: 1.6rem;
  text-align: left;
}

.leader-photo {
  width: 100%;
  aspect-ratio: 4 / 5;
  margin: 0 0 1.1rem;
  overflow: hidden;
  border-radius: 1.35rem;
  background: #ece8e2;
  box-shadow: inset 0 0 0 1px rgba(26, 26, 26, 0.06);
}

.leader-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.leader-card h3,
.focus-card h3,
.news-card h3,
.event-card h3,
.gallery-card h3,
.partner-card h3,
.social-link h3,
.policy-section h2 {
  margin: 0;
  font-size: 1.2rem;
}

.leader-card p {
  margin: 0.7rem 0 0;
  color: var(--color-muted);
  line-height: 1.5;
  font-size: 0.96rem;
}

.focus-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 2rem;
}

.focus-card {
  padding: 1.6rem;
  border-radius: 1.8rem;
}

.focus-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 3.2rem;
  min-height: 3.2rem;
  padding: 0 0.95rem;
  border-radius: 999px;
  margin-bottom: 1.1rem;
  font-weight: 800;
  background: rgba(192, 57, 43, 0.1);
  color: var(--color-red);
}

/* ========== NEWS ========== */

.news-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 2rem 0 1.5rem;
}

.news-tag {
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  border: 1px solid var(--color-line-strong);
  background: rgba(255, 255, 255, 0.72);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--color-muted);
  cursor: pointer;
  transition: all 0.2s ease;
}

.news-tag:hover {
  border-color: var(--color-red);
  color: var(--color-red);
}

.news-tag.is-active {
  background: linear-gradient(135deg, var(--color-red), var(--color-red-deep));
  border-color: transparent;
  color: #fff;
}

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

.news-card {
  border-radius: 1.6rem;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.news-card-cover {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #ece8e2;
  overflow: hidden;
}

.news-card-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-card-body {
  padding: 1.25rem 1.4rem 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  flex: 1;
}

.news-card-date {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--color-red);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.news-card-excerpt {
  margin: 0;
  font-size: 0.95rem;
  flex: 1;
}

.news-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.2rem;
}

.news-card-tags span {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  background: rgba(184, 134, 11, 0.14);
  color: #7a5903;
}

.news-card-more {
  align-self: flex-start;
  font-weight: 800;
  color: var(--color-red);
  cursor: pointer;
  background: none;
  border: 0;
  padding: 0;
  margin-top: 0.4rem;
}

.news-card-link {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.6rem;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, #2aabee, #229ed9);
  box-shadow: 0 10px 20px rgba(42, 171, 238, 0.25);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.news-card-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 26px rgba(42, 171, 238, 0.32);
}

.news-card-link-arrow {
  font-size: 0.95rem;
}

.news-card-full {
  margin-top: 0.75rem;
  color: var(--color-text);
  line-height: 1.7;
}

.news-card-full p {
  margin: 0 0 0.8rem;
}

.news-loadmore-wrap {
  display: flex;
  justify-content: center;
  margin-top: 1.75rem;
}

/* ========== EVENTS ========== */

.events-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 2rem;
}

.event-card {
  border-radius: 1.8rem;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.event-banner {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, rgba(192, 57, 43, 0.2), rgba(184, 134, 11, 0.18));
  overflow: hidden;
}

.event-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.event-body {
  padding: 1.4rem 1.6rem 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  flex: 1;
}

.event-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  font-size: 0.88rem;
  color: var(--color-muted);
}

.event-status {
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.event-status.is-soon {
  background: rgba(184, 134, 11, 0.14);
  color: #7a5903;
}

.event-status.is-open {
  background: rgba(37, 153, 83, 0.16);
  color: #166c37;
}

.event-status.is-done {
  background: rgba(26, 26, 26, 0.08);
  color: var(--color-muted);
}

.event-location {
  font-size: 0.92rem;
  color: var(--color-muted);
}

.event-register {
  align-self: flex-start;
  margin-top: 0.3rem;
}

/* ========== PARTNERS ========== */

.partners-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
}

.partner-card {
  border-radius: 1.5rem;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  text-align: center;
  transition: transform 0.2s ease;
}

.partner-card:hover {
  transform: translateY(-4px);
}

.partner-logo {
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.partner-logo img {
  max-height: 60px;
  width: auto;
  object-fit: contain;
}

.partner-card h3 {
  font-size: 1rem;
  font-weight: 700;
}

.partner-card p {
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.5;
}

.partners-cta {
  margin-top: 2.5rem;
  padding: 1.6rem 2rem;
  border-radius: 1.6rem;
  background: linear-gradient(135deg, rgba(192, 57, 43, 0.08), rgba(184, 134, 11, 0.06));
  border: 1px solid rgba(192, 57, 43, 0.14);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.partners-cta p {
  margin: 0;
  font-weight: 700;
  color: var(--color-text);
  font-size: 1.1rem;
}

/* ========== GALLERY ========== */

.gallery-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 2rem;
}

.gallery-card {
  border-radius: 1.6rem;
  overflow: hidden;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease;
}

.gallery-card:hover {
  transform: translateY(-4px);
}

.gallery-cover {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #ece8e2;
}

.gallery-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-card:hover .gallery-cover img {
  transform: scale(1.04);
}

.gallery-card-body {
  padding: 1rem 1.25rem 1.25rem;
}

.gallery-card-meta {
  font-size: 0.82rem;
  color: var(--color-muted);
  margin-top: 0.3rem;
}

.gallery-card-count {
  display: inline-block;
  margin-top: 0.5rem;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  background: rgba(192, 57, 43, 0.1);
  color: var(--color-red);
  font-size: 0.78rem;
  font-weight: 700;
}

/* ========== LIGHTBOX ========== */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 50;
  background: rgba(18, 12, 8, 0.94);
  display: grid;
  place-items: center;
  padding: 1rem;
}

.lightbox[hidden] {
  display: none;
}

.lightbox img {
  max-width: 100%;
  max-height: calc(100vh - 6rem);
  object-fit: contain;
  border-radius: 0.75rem;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  border: 0;
  background: rgba(255, 255, 255, 0.94);
  color: var(--color-text);
  font-size: 1.5rem;
  font-weight: 700;
  cursor: pointer;
  display: grid;
  place-items: center;
  line-height: 1;
}

.lightbox-close {
  top: 1.25rem;
  right: 1.25rem;
  font-size: 1.8rem;
}

.lightbox-prev {
  left: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 2rem;
}

.lightbox-next {
  right: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 2rem;
}

.lightbox-counter {
  position: absolute;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.88);
  background: rgba(0, 0, 0, 0.5);
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 700;
}

/* ========== EXPERTS ========== */

.section-expert .section-heading {
  margin-bottom: 2rem;
}

.experts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 22rem));
  gap: 1.5rem;
  justify-content: center;
}

.expert-card {
  background: rgba(255, 253, 249, 0.76);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.62);
  box-shadow: var(--shadow-soft);
  padding: 1.25rem;
  border-radius: 1.6rem;
}

.expert-photo {
  width: 100%;
  aspect-ratio: 1;
  margin: 0 0 1rem;
  border-radius: 1.35rem;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(192, 57, 43, 0.95), rgba(100, 18, 10, 0.98));
  color: #fff;
  font-family: "Noto Serif SC", serif;
  font-size: 3rem;
  overflow: hidden;
}

.expert-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.expert-name {
  margin: 0;
  font-size: 1.2rem;
}

.expert-role {
  font-weight: 700;
  color: var(--color-text);
  margin: 0.7rem 0 0;
  line-height: 1.5;
}

/* ========== SOCIAL ========== */

.social-layout .section-heading {
  margin-bottom: 2rem;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.6rem;
  border-radius: 1.4rem;
  text-decoration: none;
  color: var(--color-text);
  font-weight: 800;
  transition: transform 0.2s ease;
}

.social-link:hover {
  transform: translateY(-3px);
}

.social-link-icon {
  width: 2.2rem;
  height: 2.2rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-red), var(--color-red-deep));
  color: #fff;
}

.social-link-icon svg {
  width: 1.3rem;
  height: 1.3rem;
  fill: currentColor;
}

/* ========== CONTACTS FORM ========== */

.contacts-layout-single {
  display: grid;
  gap: 2rem;
  max-width: 46rem;
  margin: 0 auto;
}

.contact-form {
  padding: 1.8rem;
  border-radius: 1.8rem;
  display: grid;
  gap: 1.1rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.contact-form label > span {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 700;
  color: var(--color-text);
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  border: 1px solid rgba(26, 26, 26, 0.1);
  border-radius: 1rem;
  padding: 0.95rem 1rem;
  background: rgba(255, 255, 255, 0.9);
  color: var(--color-text);
}

.contact-form select {
  appearance: none;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%235f5a57' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  outline: none;
  border-color: rgba(192, 57, 43, 0.45);
  box-shadow: 0 0 0 4px rgba(192, 57, 43, 0.12);
}

.contact-form input.is-invalid,
.contact-form select.is-invalid,
.contact-form textarea.is-invalid {
  border-color: var(--color-red);
  box-shadow: 0 0 0 4px rgba(192, 57, 43, 0.12);
}

.checkbox-field {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.75rem;
  align-items: start;
  cursor: pointer;
  user-select: none;
}

.checkbox-field input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}

.checkbox-indicator {
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 0.45rem;
  border: 2px solid var(--color-red);
  background-color: rgba(255, 255, 255, 0.94);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path fill='none' stroke='%23ffffff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round' d='M3.5 8.5 L6.8 11.8 L12.8 4.8'/></svg>");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 0 0;
  margin-top: 0.15rem;
  transition:
    background-color 0.18s ease,
    background-size 0.18s ease,
    border-color 0.18s ease;
  flex: 0 0 auto;
}

.checkbox-field input:checked ~ .checkbox-indicator {
  background-color: var(--color-red);
  background-size: 78% 78%;
  border-color: var(--color-red-deep);
}

.checkbox-field input:focus-visible ~ .checkbox-indicator {
  box-shadow: 0 0 0 4px rgba(192, 57, 43, 0.22);
}

.checkbox-label {
  font-size: 0.95rem;
  color: var(--color-muted);
  line-height: 1.5;
}

.checkbox-label a {
  color: var(--color-red);
  font-weight: 800;
}

/* ========== TOAST ========== */

.toast {
  position: fixed;
  left: 50%;
  bottom: 2rem;
  transform: translateX(-50%) translateY(1rem);
  z-index: 30;
  padding: 1rem 1.5rem;
  border-radius: 1.2rem;
  background: linear-gradient(135deg, var(--color-red), var(--color-red-deep));
  color: #fff;
  font-weight: 700;
  box-shadow: var(--shadow-card);
  opacity: 0;
  transition:
    opacity 0.25s ease,
    transform 0.25s ease;
  pointer-events: none;
}

.toast[hidden] {
  display: none;
}

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

.toast.is-error {
  background: linear-gradient(135deg, #7a1a12, #4d0b06);
}

/* ========== FOOTER ========== */

.site-footer {
  padding: 3rem 0 2rem;
  border-top: 1px solid var(--color-line);
  background: rgba(255, 251, 245, 0.6);
  backdrop-filter: blur(8px);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr auto;
  gap: 2.5rem;
  align-items: start;
}

.footer-brand strong {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 1rem;
}

.footer-brand p {
  margin: 0;
  font-size: 0.92rem;
}

.footer-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem 1.5rem;
  font-size: 0.92rem;
}

.footer-nav a {
  color: var(--color-muted);
  transition: color 0.2s ease;
}

.footer-nav a:hover {
  color: var(--color-red);
}

.footer-socials {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.footer-socials a {
  width: 2.4rem;
  height: 2.4rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(192, 57, 43, 0.1);
  color: var(--color-red);
  transition:
    background-color 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease;
}

.footer-socials a:hover {
  background: linear-gradient(135deg, var(--color-red), var(--color-red-deep));
  color: #fff;
  transform: translateY(-2px);
}

.footer-socials svg {
  width: 1.2rem;
  height: 1.2rem;
  fill: currentColor;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding-top: 1.5rem;
  margin-top: 1.5rem;
  border-top: 1px solid var(--color-line);
  flex-wrap: wrap;
}

.footer-bottom small {
  color: var(--color-muted);
  font-size: 0.88rem;
}

.footer-bottom a {
  color: var(--color-red);
  font-weight: 700;
  font-size: 0.88rem;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.25rem;
}

/* ========== TO TOP ========== */

.to-top {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  z-index: 18;
  width: 3.4rem;
  height: 3.4rem;
  border: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-red), var(--color-red-deep));
  color: #fff;
  font-size: 1.2rem;
  box-shadow: 0 18px 24px rgba(143, 36, 26, 0.26);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
}

.to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

/* ========== COOKIE BANNER ========== */

.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 25;
  width: min(100%, 62rem);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  padding: 1rem 1.1rem;
  border-radius: 1.5rem;
  background: rgba(26, 26, 26, 0.94);
  color: #fff;
  box-shadow: var(--shadow-card);
}

.cookie-banner[hidden] {
  display: none;
}

.cookie-copy p {
  margin: 0.3rem 0 0;
  color: rgba(255, 255, 255, 0.74);
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* ========== POLICY ========== */

.policy-card {
  margin-top: 2rem;
  padding: 2rem;
  border-radius: 2rem;
  background: rgba(255, 253, 249, 0.76);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.62);
  box-shadow: var(--shadow-soft);
}

.policy-section + .policy-section {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--color-line);
}

.policy-section h2 {
  margin: 0 0 0.9rem;
  font-size: 1.15rem;
  color: var(--color-text);
}

.policy-section p + p {
  margin-top: 0.7rem;
}

.policy-section ul {
  margin: 0.5rem 0 0.7rem;
  padding-left: 1.2rem;
  color: var(--color-muted);
  line-height: 1.7;
}

.policy-section ul li + li {
  margin-top: 0.35rem;
}

.policy-section a {
  color: var(--color-red);
  font-weight: 700;
}

.policy-date {
  margin-top: 1rem !important;
  font-style: italic;
  color: var(--color-muted);
}

/* ========== MISC ========== */

.data-placeholder {
  grid-column: 1 / -1;
  text-align: center;
  color: var(--color-muted);
  padding: 2rem;
  font-style: italic;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}

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

.reveal-delay {
  transition-delay: 0.12s;
}

.reveal-delay-2 {
  transition-delay: 0.22s;
}

.reveal-delay-3 {
  transition-delay: 0.32s;
}

/* ========== RESPONSIVE ========== */

@media (max-width: 1180px) {
  .news-grid,
  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1080px) {
  .hero-layout,
  .split-section,
  .mission-grid,
  .events-grid,
  .focus-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 980px) {
  .menu-toggle {
    display: inline-block;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 0.75rem);
    right: 0;
    width: min(100%, 22rem);
    display: grid;
    gap: 0;
    padding: 0.6rem;
    border-radius: 1.4rem;
    background: rgba(255, 252, 246, 0.96);
    border: 1px solid rgba(26, 26, 26, 0.08);
    box-shadow: var(--shadow-soft);
    transform: scale(0.98);
    transform-origin: top right;
    opacity: 0;
    pointer-events: none;
    transition:
      opacity 0.2s ease,
      transform 0.2s ease;
  }

  .site-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: scale(1);
  }

  .site-nav a {
    padding: 0.9rem 0.85rem;
    border-radius: 1rem;
  }

  .site-nav a:hover,
  .site-nav a:focus-visible {
    background: rgba(192, 57, 43, 0.06);
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .footer-socials {
    justify-content: flex-start;
  }
}

@media (max-width: 840px) {
  .news-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

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

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

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .hero-section {
    padding-top: 2rem;
  }

  .brand {
    gap: 0.75rem;
  }

  .brand-mark {
    width: 3.2rem;
    height: 3.2rem;
    border-radius: 50%;
  }

  .brand-title {
    font-size: 0.7rem;
  }

  .brand-subtitle {
    font-size: 0.82rem;
  }

  .hero-grid,
  .leaders-grid,
  .partners-grid {
    grid-template-columns: 1fr;
  }

  .hero-copy,
  .hero-panel,
  .leader-card,
  .focus-card,
  .contact-form,
  .policy-card,
  .mission-copy {
    padding: 1.2rem;
  }

  .hero-copy h1,
  .section-heading h2,
  .mission-copy h2,
  .policy-title {
    max-width: none;
  }

  .lightbox-prev {
    left: 0.5rem;
  }

  .lightbox-next {
    right: 0.5rem;
  }

  .to-top {
    right: 1rem;
    bottom: 1rem;
  }
}

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

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

  .reveal {
    opacity: 1;
    transform: none;
  }
}
