﻿:root {
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display: "Space Grotesk", sans-serif;
  --primary: #0ea5e9;
  --primary-dark: #0284c7;
  --primary-light: #38bdf8;
  --accent: #0369a1;
  --accent2: #8b5cf6;
  --bg: #e4e9ef;
  --bg-deep: #0284c7;
  --bg-darker: #0369a1;
  --ink: #1e293b;
  --muted: #4b5563;
  --text-light: #374151;
  --panel: rgba(255, 255, 255, 0.92);
  --panel-solid: #ffffff;
  --panel-soft: rgba(255, 255, 255, 0.72);
  --line: rgba(14, 165, 233, 0.12);
  --line-strong: rgba(14, 165, 233, 0.22);
  --accent-ink: #ffffff;
  --shadow: 0 24px 60px rgba(14, 165, 233, 0.12);
  --shadow-soft: 0 12px 28px rgba(14, 165, 233, 0.08);
  --radius-lg: 28px;
  --radius-md: 20px;
  --container: 1180px;
  --motion-curve: cubic-bezier(0.4, 0, 0.2, 1);
}

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

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--ink);
  background:
    radial-gradient(circle at 10% 8%, rgba(14, 165, 233, 0.14), transparent 24rem),
    radial-gradient(circle at 88% 12%, rgba(139, 92, 246, 0.08), transparent 20rem),
    linear-gradient(180deg, var(--bg) 0, rgba(255, 255, 255, 0.9) 34rem, #ffffff 100%);
  overflow-x: hidden;
}

.page-orbs {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -2;
}

.orb {
  position: absolute;
  border-radius: 999px;
  filter: blur(100px);
  opacity: 0.4;
}

.orb-1 {
  width: 36rem;
  height: 36rem;
  top: -14rem;
  left: -12rem;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.18), transparent 68%);
  animation: orb-float-1 24s ease-in-out infinite;
}

.orb-2 {
  width: 28rem;
  height: 28rem;
  right: -10rem;
  bottom: 18%;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.12), transparent 68%);
  animation: orb-float-2 30s ease-in-out infinite;
}

.orb-3 {
  width: 24rem;
  height: 24rem;
  top: 40%;
  left: 38%;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.11), transparent 68%);
  animation: orb-float-3 20s ease-in-out infinite;
}

.cursor-glow {
  position: fixed;
  top: 0;
  left: 0;
  width: 31rem;
  height: 31rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.08) 0%, rgba(56, 189, 248, 0.05) 28%, transparent 72%);
  pointer-events: none;
  z-index: 12;
  opacity: 0;
  will-change: transform, opacity;
  transition: opacity 180ms ease;
}

.cursor-glow.is-active {
  opacity: 1;
}

main,
section {
  position: relative;
  overflow: clip;
}

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

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

button,
input,
textarea {
  font: inherit;
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
  margin: 0;
}

ul {
  margin: 0;
  padding: 0;
}

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

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

.skip-link {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 100;
  padding: 0.85rem 1rem;
  border-radius: 999px;
  background: var(--panel);
  color: var(--ink);
  transform: translateY(-200%);
  transition: transform 0.2s ease;
  box-shadow: var(--shadow-soft);
}

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

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line-strong);
  box-shadow: 0 8px 30px rgba(14, 165, 233, 0.08);
  transition: background 220ms var(--motion-curve), box-shadow 220ms var(--motion-curve), border-color 220ms var(--motion-curve), backdrop-filter 220ms var(--motion-curve);
}

.header.is-scrolled {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(22px) saturate(160%);
  box-shadow: 0 16px 44px rgba(14, 165, 233, 0.12);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0;
  min-width: 0;
  text-decoration: none;
}

.brand picture {
  display: block;
  line-height: 0;
}

.brand__badge {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  min-height: 0;
  padding: 0;
  border-radius: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.brand__badge picture {
  display: block;
  line-height: 0;
}

.brand__logo {
  display: block;
  width: clamp(11rem, 13vw, 13rem);
  height: auto;
  max-width: 100%;
  flex-shrink: 0;
}

.header__right {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  min-width: 0;
}

.nav {
  position: relative;
}

.nav__toggle {
  display: none;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--ink);
  cursor: pointer;
}

.nav__toggle-line,
.nav__toggle-line::before,
.nav__toggle-line::after {
  display: block;
  width: 1rem;
  height: 2px;
  background: currentColor;
  border-radius: 999px;
  transition: transform 0.2s ease;
}

.nav__toggle-line {
  position: relative;
  margin: 0 auto;
}

.nav__toggle-line::before,
.nav__toggle-line::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav__toggle-line::before {
  top: -0.35rem;
}

.nav__toggle-line::after {
  top: 0.35rem;
}

.nav__menu {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.nav__link {
  padding: 0.7rem 0.95rem;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 600;
  transition: background 0.2s ease, color 0.2s ease;
}

.nav__link:hover,
.nav__link:focus-visible {
  background: rgba(14, 165, 233, 0.08);
  color: var(--ink);
}

.nav__link--cta {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border: 1px solid transparent;
  color: #ffffff;
  box-shadow: 0 12px 26px rgba(14, 165, 233, 0.22);
}

.nav__link--cta:hover,
.nav__link--cta:focus-visible {
  background: linear-gradient(135deg, var(--primary-light), var(--primary-dark));
  color: #ffffff;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.3rem;
  border-radius: 999px;
  background: rgba(241, 245, 249, 0.9);
  border: 1px solid var(--line);
  flex-shrink: 0;
}

.lang-switch__button {
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--text-light);
  padding: 0.5rem 0.8rem;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.lang-switch__button.is-active {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #ffffff;
}

.section {
  padding: 4.75rem 0;
}

.section__head {
  max-width: 48rem;
  display: grid;
  gap: 0.95rem;
  margin-bottom: 1.8rem;
}

.section__kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  width: fit-content;
  padding: 0.4rem 0.68rem;
  border-radius: 999px;
  background: rgba(14, 165, 233, 0.08);
  color: var(--accent);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.section__kicker--light {
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
}

h1,
h2,
h3,
h4,
h5,
h6,
.section__head h2,
.hero h1,
.hero__panel h2,
.contact__copy h2,
.metric__value,
.stat-card__value,
.community-map__count {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.section__head h2 {
  font-size: clamp(2rem, 3vw, 2.85rem);
  line-height: 1.05;
}

.section__head p {
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.75;
}

.hero {
  padding-top: 3.4rem;
  padding-bottom: 4.6rem;
}

#heroCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.hero__grid-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(rgba(14, 165, 233, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(14, 165, 233, 0.035) 1px, transparent 1px);
  background-size: 3.75rem 3.75rem;
  mask-image: radial-gradient(ellipse 76% 68% at 50% 38%, black 18%, transparent 82%);
  -webkit-mask-image: radial-gradient(ellipse 76% 68% at 50% 38%, black 18%, transparent 82%);
  pointer-events: none;
}

.hero__veil {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 16% 18%, rgba(14, 165, 233, 0.2), transparent 18%),
    radial-gradient(circle at 82% 28%, rgba(139, 92, 246, 0.12), transparent 16%),
    radial-gradient(circle at 72% 76%, rgba(56, 189, 248, 0.16), transparent 18%),
    linear-gradient(180deg, rgba(228, 233, 239, 0.9), rgba(255, 255, 255, 0.96));
  pointer-events: none;
}

.hero__layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(15.5rem, 18.5rem) minmax(31rem, 42rem);
  justify-content: space-between;
  gap: 1.6rem;
  align-items: start;
}

.hero__content {
  display: grid;
  align-content: start;
  gap: 1rem;
  min-width: 0;
  color: var(--ink);
  padding: 0.2rem 0 0.4rem;
  max-width: 18rem;
}

.hero h1 {
  font-size: clamp(1.72rem, 2.55vw, 2.85rem);
  line-height: 0.94;
  max-width: 5ch;
}

.hero__lead {
  max-width: 18rem;
  color: var(--text-light);
  font-size: 0.88rem;
  line-height: 1.58;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.55rem;
  padding: 0.7rem 1rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.9rem;
  line-height: 1;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

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

.btn--accent {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #ffffff;
  box-shadow: 0 16px 30px rgba(14, 165, 233, 0.22);
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.82);
  border-color: var(--line-strong);
  color: var(--ink);
}

.btn--block {
  width: 100%;
}

.hero__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  list-style: none;
}

.hero__chips li {
  padding: 0.48rem 0.7rem;
  border-radius: 999px;
  background: rgba(14, 165, 233, 0.08);
  border: 1px solid var(--line);
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.15;
}

.hero__metrics {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.5rem;
}

.metric {
  padding: 0.72rem 0.8rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--line);
  min-width: 0;
}

.metric__value {
  display: block;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--accent);
}

.metric__label {
  display: block;
  margin-top: 0.12rem;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.15;
}

.metric__note {
  display: block;
  margin-top: 0.22rem;
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.32;
}

.hero__panel {
  min-width: 0;
  display: grid;
  gap: 0.7rem;
  width: 100%;
  max-width: 42rem;
  margin-left: 0;
  justify-self: end;
  align-self: start;
  padding: 0.72rem 0.72rem 0.78rem;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid var(--line-strong);
  box-shadow: 0 26px 56px rgba(14, 165, 233, 0.16);
  backdrop-filter: blur(16px);
  color: var(--ink);
  animation: panel-float 10s ease-in-out infinite;
}

.slider {
  display: grid;
  gap: 0.62rem;
  min-width: 0;
}

.slider__viewport {
  overflow: hidden;
  border-radius: calc(var(--radius-lg) - 0.35rem);
  background: rgba(255, 255, 255, 0.48);
  border: 1px solid var(--line);
  padding: 0.38rem;
}

.slider__track {
  display: flex;
  transition: transform 0.35s ease;
  will-change: transform;
}

.slide {
  min-width: 100%;
}

.slide-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 251, 254, 0.98));
  color: var(--ink);
  border-radius: calc(var(--radius-lg) - 0.55rem);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  transition: transform 260ms var(--motion-curve), box-shadow 260ms var(--motion-curve);
}

.slide-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(14, 165, 233, 0.14);
}

.slide-card__link {
  display: grid;
  color: inherit;
}

.slide-card__image {
  aspect-ratio: 16 / 6.4;
  overflow: hidden;
}

.slide-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.001);
  transition: transform 360ms var(--motion-curve);
}

.slide-card:hover .slide-card__image img {
  transform: scale(1.04);
}

.slide-card__body {
  padding: 0.88rem 0.95rem 0.94rem;
  display: grid;
  gap: 0.46rem;
}

.slide-card__meta {
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.slide-card h3 {
  font-size: 0.98rem;
  line-height: 1.2;
}

.slide-card p {
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.5;
}

.slider__footer {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.5rem;
}

.slider__button {
  width: 2.18rem;
  height: 2.18rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--accent);
  font-size: 1.08rem;
  line-height: 1;
  cursor: pointer;
}

.slider__dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.slider__dot {
  width: 0.52rem;
  height: 0.52rem;
  border: 0;
  border-radius: 999px;
  background: rgba(14, 165, 233, 0.2);
  cursor: pointer;
  transition: width 0.2s ease, background 0.2s ease;
}

.slider__dot.is-active {
  width: 1.4rem;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
}

.section--dark {
  color: #ffffff;
  background: linear-gradient(160deg, rgba(2, 132, 199, 0.94), rgba(3, 105, 161, 0.98) 72%, rgba(139, 92, 246, 0.94));
}

.section--dark .section__head p {
  color: rgba(255, 255, 255, 0.76);
}

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

.about__grid--single {
  grid-template-columns: minmax(0, 1fr);
}

.about-card {
  min-width: 0;
  padding: 1.5rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-soft);
  transition: transform 260ms var(--motion-curve), box-shadow 260ms var(--motion-curve), border-color 260ms var(--motion-curve);
}

.about-card--featured {
  grid-column: 1 / -1;
  padding: 1.4rem 1.5rem 1.35rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 251, 254, 0.98));
  border-color: var(--line-strong);
}

.about-card h3 {
  font-size: 1.25rem;
  color: var(--accent);
}

.about-card:hover {
  transform: translateY(-6px);
  border-color: var(--line-strong);
  box-shadow: 0 18px 36px rgba(14, 165, 233, 0.12);
}

.about-card__content {
  display: grid;
  gap: 0.8rem;
  margin-top: 0.75rem;
}

.about-card__content p {
  margin: 0;
  color: var(--muted);
  line-height: 1.68;
}

.about-card__content strong {
  color: var(--ink);
}

.about-card__content ul {
  margin: 0;
  padding-left: 1.15rem;
  display: grid;
  gap: 0.7rem;
  color: var(--muted);
}

.about-card__content li {
  line-height: 1.62;
}

.about-card__intro {
  display: grid;
  gap: 0.7rem;
}

.about-card__toggle-row {
  position: relative;
  display: flex;
  justify-content: flex-end;
  margin-top: 0.15rem;
  padding-top: 1rem;
}

.about-card__toggle-row::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, rgba(148, 163, 184, 0.22), rgba(14, 165, 233, 0.34));
}

.about-card__toggle {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.52rem 0.95rem;
  border-radius: 999px;
  border: 1px solid rgba(14, 165, 233, 0.18);
  background: rgba(255, 255, 255, 0.96);
  color: var(--accent);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
  transition: transform 220ms var(--motion-curve), border-color 220ms var(--motion-curve), box-shadow 220ms var(--motion-curve), color 220ms var(--motion-curve);
}

.about-card__toggle:hover {
  transform: translateY(-1px);
  border-color: rgba(14, 165, 233, 0.3);
  box-shadow: 0 12px 24px rgba(14, 165, 233, 0.12);
}

.about-card__toggle-icon {
  width: 0.5rem;
  height: 0.5rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-1px);
  transition: transform 220ms var(--motion-curve);
}

.about-card__toggle.is-open .about-card__toggle-icon,
.about-card__toggle[aria-expanded="true"] .about-card__toggle-icon {
  transform: rotate(-135deg) translateY(-1px);
}

.about-card__details {
  display: grid;
  gap: 1rem;
  margin-top: 1rem;
}

.about-card__details[hidden] {
  display: none;
}

.about-card__badge {
  display: inline-flex;
  width: fit-content;
  max-width: 100%;
  padding: 0.55rem 0.85rem;
  border-radius: 999px;
  background: rgba(14, 165, 233, 0.1);
  border: 1px solid rgba(14, 165, 233, 0.18);
  color: var(--accent);
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.45;
}

.about-card__columns {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 1rem 1.25rem;
  align-items: start;
}

.about-card__block {
  display: grid;
  gap: 0.7rem;
}

.about-card__block p {
  margin: 0;
}

.about-card__block h4 {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 0.98rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  color: var(--ink);
}

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

.about-card__mini-stat {
  display: grid;
  gap: 0.18rem;
  padding: 0.85rem 1rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--line);
}

.about-card__mini-stat strong {
  color: var(--accent);
  font-size: 1rem;
  font-weight: 800;
}

.about-card__mini-stat span {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.45;
  font-weight: 600;
}

.about__values {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  list-style: none;
  margin-top: 1.2rem;
}

.about__values li {
  padding: 0.75rem 1rem;
  border-radius: 999px;
  background: rgba(14, 165, 233, 0.08);
  border: 1px solid var(--line);
  color: var(--accent);
  font-weight: 700;
}

.academy__grid,
.stats__grid,
.communities__grid,
.projects__grid {
  display: grid;
  gap: 1rem;
}

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

.academy-card {
  position: relative;
  display: grid;
  align-content: start;
  gap: 0.8rem;
  padding: 1.5rem 1.45rem 1.4rem;
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.08));
  border: 1px solid var(--line);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
  min-width: 0;
  transition: transform 260ms var(--motion-curve), box-shadow 260ms var(--motion-curve), border-color 260ms var(--motion-curve);
}

.academy-card::before {
  content: "";
  width: 3.2rem;
  height: 0.24rem;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(56, 189, 248, 0.96), rgba(139, 92, 246, 0.72));
}

.academy-card:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 255, 255, 0.26);
  box-shadow: 0 18px 34px rgba(14, 165, 233, 0.16);
}

.academy-card h3 {
  margin: 0;
  font-size: 1.2rem;
  line-height: 1.32;
}

.academy-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.72;
}

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

.stat-card,
.community-card {
  min-width: 0;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: var(--shadow-soft);
}

.stat-card {
  padding: 1.35rem;
  transition: transform 260ms var(--motion-curve), box-shadow 260ms var(--motion-curve), border-color 260ms var(--motion-curve);
}

.stat-card:hover {
  transform: translateY(-7px);
  border-color: var(--line-strong);
  box-shadow: 0 18px 34px rgba(14, 165, 233, 0.12);
}

.stat-card__value {
  display: block;
  color: var(--accent);
  font-size: 2rem;
  font-weight: 900;
}

.stat-card__label {
  display: block;
  margin-top: 0.25rem;
  font-size: 1rem;
  font-weight: 800;
}

.stat-card__note {
  display: block;
  margin-top: 0.45rem;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

.section--soft {
  background: rgba(255, 255, 255, 0.62);
}

.section--soft-alt {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(228, 233, 239, 0.72));
}

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

.community-map-shell {
  min-width: 0;
}

.community-map {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 21rem;
  gap: 1.2rem;
  align-items: start;
}

.community-map__canvas,
.community-map__sidebar {
  position: relative;
  min-width: 0;
  border-radius: calc(var(--radius-lg) + 4px);
  border: 1px solid var(--line-strong);
  background: linear-gradient(180deg, rgba(2, 132, 199, 0.96), rgba(3, 105, 161, 0.98));
  box-shadow: 0 22px 48px rgba(14, 165, 233, 0.16);
}

.community-map__canvas {
  overflow: hidden;
  padding: 1.15rem;
  min-height: 42rem;
}

.community-map__canvas::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 72% 34%, rgba(56, 189, 248, 0.2), transparent 25%),
    radial-gradient(circle at 24% 18%, rgba(139, 92, 246, 0.12), transparent 22%);
  pointer-events: none;
}

.community-map__object {
  display: block;
  width: 100%;
  min-height: 39rem;
}

.community-map__tooltip {
  position: absolute;
  left: 1rem;
  top: 1rem;
  z-index: 2;
  max-width: min(19rem, calc(100% - 2rem));
  padding: 1rem 1.05rem;
  border-radius: 1.15rem;
  background: rgba(255, 255, 255, 0.97);
  color: var(--ink);
  border: 1px solid var(--line-strong);
  box-shadow: 0 20px 44px rgba(14, 165, 233, 0.14);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, calc(-100% - 0.9rem));
  transition: opacity 160ms ease;
}

.community-map__tooltip.is-visible {
  opacity: 1;
}

.community-map__tooltip-head {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 0.55rem;
}

.community-map__tooltip-head h3 {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.25;
}

.community-map__badge {
  display: inline-flex;
  align-items: center;
  min-height: 1.7rem;
  padding: 0.15rem 0.65rem;
  border-radius: 999px;
  background: rgba(14, 165, 233, 0.1);
  color: var(--accent);
  font-size: 0.73rem;
  font-weight: 800;
}

.community-map__tooltip p {
  margin: 0 0 0.85rem;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.65;
}

.community-map__tooltip-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--line);
}

.community-map__tooltip-stat {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 600;
}

.community-map__tooltip-stat strong {
  font-size: 0.94rem;
}

.community-map__tooltip-icon {
  width: 0.8rem;
  height: 0.8rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
  box-shadow: 0 0 0 0.15rem rgba(14, 165, 233, 0.12);
}

.community-map__tooltip-icon--alt {
  background: linear-gradient(135deg, var(--accent2), var(--primary-light));
  box-shadow: 0 0 0 0.15rem rgba(139, 92, 246, 0.12);
}

.community-map__sidebar {
  padding: 1.1rem;
}

.community-map__sidebar h3 {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin: 0 0 1rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  color: #ffffff;
  font-size: 0.98rem;
}

.community-map__sidebar-icon {
  width: 0.72rem;
  height: 0.72rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
  box-shadow: 0 0 0 0.22rem rgba(14, 165, 233, 0.14);
}

.community-map__items {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.community-map__item {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.8rem 0.9rem;
  border-radius: 1rem;
  border: 1px solid transparent;
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.96);
  text-align: left;
  cursor: pointer;
  transition: background-color 160ms ease, border-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.community-map__item:hover,
.community-map__item:focus-visible,
.community-map__item.is-active {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transform: translateY(-1px);
}

.community-map__dot {
  width: 0.68rem;
  height: 0.68rem;
  border-radius: 999px;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.6);
  transition: background-color 160ms ease, box-shadow 160ms ease;
}

.community-map__item:hover .community-map__dot,
.community-map__item:focus-visible .community-map__dot,
.community-map__item.is-active .community-map__dot {
  background: var(--primary-light);
  box-shadow: 0 0 0 0.28rem rgba(14, 165, 233, 0.18);
}

.community-map__item-copy {
  flex: 1;
  min-width: 0;
}

.community-map__item-copy strong,
.community-map__item-copy small {
  display: block;
}

.community-map__item-copy strong {
  font-size: 0.98rem;
  line-height: 1.3;
}

.community-map__item-copy small {
  margin-top: 0.18rem;
  color: rgba(237, 245, 251, 0.78);
  font-size: 0.77rem;
  line-height: 1.45;
}

.community-map__count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.2rem;
  min-height: 2.2rem;
  padding: 0 0.7rem;
  border-radius: 0.82rem;
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 800;
}

.community-map__item.is-active .community-map__count {
  background: linear-gradient(135deg, var(--primary-light), var(--accent2));
  color: #ffffff;
}

.projects__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.15rem;
  align-items: stretch;
}

.project-card {
  position: relative;
  min-width: 0;
  overflow: hidden;
  display: grid;
  grid-template-rows: minmax(14rem, 15.6rem) minmax(0, 1fr);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(14, 165, 233, 0.16);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 18px 38px rgba(14, 165, 233, 0.1);
  isolation: isolate;
  transition: transform 240ms var(--motion-curve), box-shadow 240ms var(--motion-curve), border-color 240ms var(--motion-curve);
}

.project-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.06) 30%, var(--project-accent-strong) 100%);
  opacity: 0;
  transition: opacity 240ms var(--motion-curve);
}

.project-card:hover,
.project-card:focus-within {
  transform: translateY(-5px);
  box-shadow: 0 28px 52px rgba(2, 132, 199, 0.18);
  border-color: rgba(14, 165, 233, 0.26);
}

.project-card:hover::before,
.project-card:focus-within::before {
  opacity: 0.92;
}

.project-card__tag {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  min-height: 2.65rem;
  padding: 0.52rem 0.9rem;
  border-radius: 0 1rem 1rem 1rem;
  background: rgba(255, 255, 255, 0.98);
  color: var(--project-accent-strong);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  box-shadow: 0 14px 26px rgba(15, 23, 42, 0.1);
  transition: transform 240ms var(--motion-curve), box-shadow 240ms var(--motion-curve), color 240ms var(--motion-curve);
}

.project-card__image {
  position: relative;
  overflow: hidden;
  background: rgba(191, 219, 254, 0.4);
}

.project-card__image::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.08) 0%, rgba(15, 23, 42, 0.2) 100%);
  transition: background 240ms var(--motion-curve), opacity 240ms var(--motion-curve);
}

.project-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.001);
  transition: transform 420ms var(--motion-curve), filter 420ms var(--motion-curve);
}

.project-card__body {
  position: relative;
  z-index: 2;
  display: grid;
  align-content: start;
  gap: 0.72rem;
  min-height: 100%;
  padding: 1.08rem 1.05rem 1.08rem;
  background: linear-gradient(180deg, rgba(3, 105, 161, 0.94), rgba(30, 41, 59, 0.96));
  color: #ffffff;
  transition: background 240ms var(--motion-curve), color 240ms var(--motion-curve);
}

.project-card__meta {
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.project-card h3 {
  font-size: 1.16rem;
  line-height: 1.28;
  color: #ffffff;
  transition: color 240ms var(--motion-curve);
}

.project-card p {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.95rem;
  line-height: 1.58;
  display: -webkit-box;
  overflow: hidden;
  min-height: 4.72em;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  transition: color 240ms var(--motion-curve);
}

.project-card__link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  width: max-content;
  padding: 0.58rem 0.82rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #ffffff;
  font-weight: 800;
  font-size: 0.88rem;
  transition: transform 220ms var(--motion-curve), background 220ms var(--motion-curve), border-color 220ms var(--motion-curve), color 220ms var(--motion-curve);
}

.project-card__link span:last-child {
  transform: translateX(0);
  transition: transform 220ms var(--motion-curve);
}

.project-card:hover .project-card__tag,
.project-card:focus-within .project-card__tag {
  transform: translateY(-2px);
  box-shadow: 0 16px 30px rgba(15, 23, 42, 0.16);
}

.project-card:hover .project-card__image::after,
.project-card:focus-within .project-card__image::after {
  background: linear-gradient(180deg, rgba(3, 105, 161, 0.08) 0%, rgba(3, 105, 161, 0.5) 100%);
}

.project-card:hover .project-card__image img,
.project-card:focus-within .project-card__image img {
  transform: scale(1.05);
  filter: saturate(1.05);
}

.project-card:hover .project-card__body,
.project-card:focus-within .project-card__body {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02)),
    linear-gradient(135deg, var(--project-accent), var(--project-accent-strong));
}

.project-card:hover .project-card__meta,
.project-card:hover h3,
.project-card:hover p,
.project-card:hover .project-card__link,
.project-card:focus-within .project-card__meta,
.project-card:focus-within h3,
.project-card:focus-within p,
.project-card:focus-within .project-card__link {
  color: #ffffff;
}

.project-card:hover .project-card__link,
.project-card:focus-within .project-card__link {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.28);
}

.project-card:hover .project-card__link span:last-child,
.project-card:focus-within .project-card__link span:last-child {
  transform: translateX(2px);
}

#initiatives .section__head {
  max-width: 44rem;
  margin-bottom: 1.5rem;
}

.section--resources {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94) 0%, var(--bg) 100%);
}

.section--shorts {
  background: linear-gradient(180deg, rgba(2, 132, 199, 0.94) 0%, rgba(3, 105, 161, 0.98) 72%, rgba(139, 92, 246, 0.92) 100%);
  color: #ffffff;
}

.section--shorts .section__head {
  max-width: 34rem;
  margin-bottom: 1.2rem;
}

.section--shorts h2 {
  font-size: clamp(1.55rem, 2.4vw, 2.1rem);
}

.section--shorts .section__head p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
}

.shorts__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 13.2rem));
  justify-content: center;
  gap: 1.05rem;
  padding-inline: 0.2rem;
}

.short-card {
  display: grid;
  gap: 0;
  border-radius: 1.15rem;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 18px 34px rgba(14, 165, 233, 0.14);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.short-card:hover,
.short-card:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: 0 24px 42px rgba(14, 165, 233, 0.22);
}

.short-card__media {
  position: relative;
  aspect-ratio: 9 / 13.6;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.short-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.short-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(3, 105, 161, 0.08) 0%, rgba(3, 105, 161, 0.14) 36%, rgba(3, 105, 161, 0.44) 100%);
}

.short-card__badge,
.short-card__platform {
  position: absolute;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  font-size: 0.63rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.short-card__badge {
  top: 0.62rem;
  left: 0.62rem;
  padding: 0.3rem 0.52rem;
  background: linear-gradient(135deg, var(--primary), var(--accent2));
  color: #ffffff;
  box-shadow: 0 10px 18px rgba(14, 165, 233, 0.24);
}

.short-card__platform {
  top: 0.62rem;
  right: 0.62rem;
  padding: 0.28rem 0.5rem;
  background: rgba(3, 105, 161, 0.84);
  color: rgba(255, 255, 255, 0.92);
}

.short-card__play {
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 26px rgba(3, 105, 161, 0.22);
}

.short-card__play::before {
  content: "";
  position: absolute;
  inset: -0.5rem;
  border-radius: inherit;
  border: 1px solid rgba(255, 255, 255, 0.32);
}

.short-card__play-icon {
  margin-left: 0.12rem;
  color: var(--accent);
  font-size: 0.98rem;
  font-weight: 900;
}

.short-card__body {
  display: grid;
  gap: 0.34rem;
  padding: 0.68rem 0.76rem 0.8rem;
}

.short-card__meta {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.short-card__body strong {
  display: -webkit-box;
  overflow: hidden;
  min-height: 2.16em;
  font-size: 0.8rem;
  line-height: 1.35;
  color: #ffffff;
  word-break: break-word;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.short-card__watch {
  display: inline-flex;
  align-items: center;
  gap: 0.38rem;
  margin-top: 0.08rem;
  color: #ffffff;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.short-card__watch::before {
  content: "";
  width: 0.48rem;
  height: 0.48rem;
  border-radius: 999px;
  background: currentColor;
  box-shadow: 0 0 0 0.18rem rgba(255, 255, 255, 0.16);
}

.shorts__footer {
  margin-top: 1rem;
  display: flex;
  justify-content: center;
}

.shorts__footer .btn {
  min-height: 2.85rem;
  padding: 0.78rem 1.1rem;
  font-size: 0.9rem;
}

.btn--ghost-dark {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.22);
  color: #ffffff;
}

.resources__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.34fr) minmax(0, 0.92fr);
  gap: 1rem;
  align-items: start;
}

.resources__grid--single {
  grid-template-columns: minmax(0, 1fr);
}

.resource-panel {
  display: grid;
  gap: 1rem;
  padding: 1.35rem;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 251, 254, 0.98));
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  transition: transform 260ms var(--motion-curve), box-shadow 260ms var(--motion-curve), border-color 260ms var(--motion-curve);
}

.resource-panel:hover {
  transform: translateY(-5px);
  border-color: var(--line-strong);
  box-shadow: 0 18px 34px rgba(14, 165, 233, 0.12);
}

.resource-panel--featured {
  grid-row: span 2;
}

.resource-panel--wide {
  grid-column: 1 / -1;
}

.resource-panel__head {
  display: grid;
  gap: 0.45rem;
}

.resource-panel h3 {
  font-size: 1.18rem;
  line-height: 1.28;
  color: var(--accent);
}

.resource-panel p {
  color: var(--muted);
  line-height: 1.68;
}

.resource-list {
  display: grid;
  gap: 0.75rem;
}

.resource-list--covers {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.resource-list--inline {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
}

.resource-item {
  position: relative;
  display: grid;
  gap: 0.4rem;
  padding: 0.95rem 1rem;
  padding-right: 2.65rem;
  border-radius: 1rem;
  background: rgba(14, 165, 233, 0.05);
  border: 1px solid var(--line);
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.resource-item::after {
  content: "\2197";
  position: absolute;
  top: 1rem;
  right: 1rem;
  color: rgba(3, 105, 161, 0.72);
  font-size: 0.95rem;
  font-weight: 800;
}

.resource-item:hover,
.resource-item:focus-visible {
  transform: translateY(-1px);
  background: rgba(14, 165, 233, 0.08);
  border-color: var(--line-strong);
  box-shadow: 0 16px 28px rgba(14, 165, 233, 0.08);
}

.resource-item__body {
  display: grid;
  gap: 0.42rem;
}

.resource-item__type {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: max-content;
  padding: 0.28rem 0.56rem;
  border-radius: 999px;
  background: rgba(14, 165, 233, 0.08);
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.resource-item strong {
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.42;
}

.resource-item__meta {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

.resource-item--cover {
  grid-template-columns: 5.5rem minmax(0, 1fr);
  gap: 0.85rem;
  align-items: start;
  padding: 0.85rem;
  padding-right: 2.65rem;
}

.resource-item--cover::after {
  top: 0.85rem;
  right: 0.9rem;
}

.resource-item__cover {
  display: block;
  aspect-ratio: 0.72;
  overflow: hidden;
  border-radius: 0.9rem;
  background: rgba(14, 165, 233, 0.08);
  box-shadow: 0 12px 24px rgba(14, 165, 233, 0.12);
}

.resource-item__cover img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.resource-item--cover .resource-item__type {
  margin-right: 1.6rem;
}

.resource-item--cover strong {
  font-size: 0.98rem;
  line-height: 1.36;
}

.resource-item--cover .resource-item__meta {
  font-size: 0.89rem;
  line-height: 1.5;
}

.resource-item--inline {
  min-height: 100%;
  align-content: start;
  padding: 0.9rem 0.95rem;
  padding-right: 2.4rem;
  background: rgba(255, 255, 255, 0.96);
}

.resource-item--inline::after {
  top: 0.9rem;
  right: 0.9rem;
}

.resource-item--inline strong {
  font-size: 0.96rem;
  line-height: 1.34;
}

.resource-item--inline .resource-item__meta {
  font-size: 0.86rem;
  line-height: 1.48;
}

.section--contact {
  background: linear-gradient(160deg, rgba(2, 132, 199, 0.96), rgba(3, 105, 161, 0.98) 72%, rgba(139, 92, 246, 0.92));
  color: #ffffff;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(18rem, 32rem);
  gap: 1.5rem;
  align-items: start;
}

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

.contact__copy h2 {
  font-size: clamp(2rem, 3vw, 2.8rem);
  line-height: 1.02;
}

.contact__copy p {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.82;
  max-width: 40rem;
}

.contact__details {
  display: grid;
  gap: 0.85rem;
  margin-top: 0.35rem;
}

.contact__detail {
  padding: 1rem 1.05rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.contact__label {
  display: block;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.64);
}

.contact__detail strong {
  display: block;
  margin-top: 0.35rem;
  font-size: 1.02rem;
  color: #ffffff;
}

.form {
  padding: 1.2rem;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.96);
  color: var(--ink);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.form__field {
  display: grid;
  gap: 0.55rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.form input,
.form textarea {
  width: 100%;
  padding: 0.9rem 1rem;
  border: 1px solid var(--line-strong);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form input:focus,
.form textarea:focus {
  border-color: rgba(14, 165, 233, 0.55);
  box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.12);
}

.form textarea {
  resize: vertical;
  min-height: 8rem;
}

.form__note {
  margin-top: 0.8rem;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.65;
}

.footer {
  background: linear-gradient(180deg, rgba(3, 105, 161, 1), rgba(2, 132, 199, 0.98));
  color: rgba(255, 255, 255, 0.84);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 1.35rem 0;
}

.footer__copy {
  font-size: 0.95rem;
}

.footer__social {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.7rem;
  height: 2.7rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 10px 24px rgba(14, 165, 233, 0.14);
  transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease, color 180ms ease;
}

.social-link:hover {
  transform: translateY(-2px);
  color: #ffffff;
  background: linear-gradient(135deg, var(--primary-light), var(--accent2));
  border-color: rgba(255, 255, 255, 0.28);
}

.social-link:focus-visible {
  outline: 2px solid rgba(56, 189, 248, 0.9);
  outline-offset: 3px;
  color: #ffffff;
}

.social-link__icon {
  width: 1.2rem;
  height: 1.2rem;
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer__links a {
  font-weight: 700;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 1rem;
  z-index: 60;
  display: none;
  max-width: min(34rem, calc(100% - 2rem));
  padding: 0.95rem 1rem;
  border-radius: 1rem;
  background: rgba(3, 105, 161, 0.96);
  color: #ffffff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  transform: translateX(-50%);
}

.toast.is-visible {
  display: block;
}

.reveal--delay {
  --reveal-delay: 100ms;
}

.motion-enabled .reveal,
.motion-enabled .reveal-left,
.motion-enabled .reveal-right,
.motion-enabled .reveal-scale {
  opacity: 0;
  transition:
    opacity 820ms var(--motion-curve),
    transform 820ms var(--motion-curve);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

.motion-enabled .reveal {
  transform: translateY(38px);
}

.motion-enabled .reveal-left {
  transform: translateX(-42px);
}

.motion-enabled .reveal-right {
  transform: translateX(42px);
}

.motion-enabled .reveal-scale {
  transform: translateY(28px) scale(0.96);
}

.motion-enabled .reveal.is-visible,
.motion-enabled .reveal-left.is-visible,
.motion-enabled .reveal-right.is-visible,
.motion-enabled .reveal-scale.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

@keyframes orb-float-1 {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(6rem, 4.5rem, 0); }
}

@keyframes orb-float-2 {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(-4.5rem, -4rem, 0); }
}

@keyframes orb-float-3 {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(3.25rem, -2.8rem, 0); }
}

@keyframes panel-float {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(0, -0.35rem, 0); }
}

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

  .orb,
  .hero__panel {
    animation: none !important;
  }

  .cursor-glow {
    display: none !important;
  }

  .reveal,
  .reveal--delay,
  .reveal-left,
  .reveal-right,
  .reveal-scale,
  .slider__track {
    animation: none;
    transition: none;
    transform: none !important;
    opacity: 1 !important;
  }
}

@media (hover: none) and (pointer: coarse) {
  .cursor-glow {
    display: none !important;
  }

  .about-card:hover,
  .academy-card:hover,
  .stat-card:hover,
  .resource-panel:hover,
  .project-card:hover,
  .short-card:hover,
  .slide-card:hover,
  .social-link:hover {
    transform: none;
    box-shadow: inherit;
  }

  .slide-card:hover .slide-card__image img {
    transform: none;
  }
}

@media (max-width: 1080px) {
  .hero__grid-bg {
    display: none;
  }

  .hero__panel {
    animation: none;
  }

  .hero__layout,
  .contact {
    grid-template-columns: 1fr;
  }

  .academy__grid,
  .about__grid,
  .stats__grid,
  .shorts__grid,
  .resources__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-card__columns {
    grid-template-columns: 1fr;
  }

  .about-card__mini-stats {
    grid-template-columns: 1fr;
  }

  .resource-panel--featured {
    grid-row: auto;
    grid-column: 1 / -1;
  }

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

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

  .community-map {
    grid-template-columns: 1fr;
  }

  .community-map__sidebar {
    order: -1;
  }

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

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

@media (max-width: 820px) {
  body {
    background:
      radial-gradient(circle at 10% 8%, rgba(14, 165, 233, 0.14), transparent 18rem),
      radial-gradient(circle at 88% 16%, rgba(139, 92, 246, 0.08), transparent 16rem),
      linear-gradient(180deg, var(--bg) 0, rgba(255, 255, 255, 0.92) 68rem, #ffffff 100%);
  }

  .header__inner {
    min-height: 4.7rem;
  }

  .nav__toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .nav__menu {
    position: absolute;
    top: calc(100% + 0.75rem);
    right: 0;
    min-width: min(19rem, calc(100vw - 2rem));
    max-width: calc(100vw - 2rem);
    padding: 0.75rem;
    border-radius: 1.25rem;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    display: none;
    flex-direction: column;
    align-items: stretch;
  }

  .nav__menu.is-open {
    display: flex;
  }

  .nav__link {
    width: 100%;
  }

  .hero {
    padding-top: 2.5rem;
    padding-bottom: 4rem;
  }

  .hero h1 {
    max-width: 12ch;
  }

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

  .community-map__canvas {
    min-height: 34rem;
  }

  .community-map__object {
    min-height: 30rem;
  }
}

@media (max-width: 620px) {
  .container {
    width: min(var(--container), calc(100% - 1.25rem));
  }

  .brand__badge {
    min-height: 0;
    padding: 0;
    border-radius: 0;
  }

  .brand__logo {
    width: 3.5rem;
  }

  .header__right {
    gap: 0.5rem;
  }

  .lang-switch {
    padding: 0.2rem;
  }

  .lang-switch__button {
    padding: 0.45rem 0.65rem;
  }

  .section {
    padding: 3.8rem 0;
  }

  .hero__lead,
  .section__head p,
  .contact__copy p,
  .project-card p,
  .community-card p,
  .slide-card p {
    font-size: 0.96rem;
  }

  .academy__grid,
  .about__grid,
  .stats__grid,
  .projects__grid,
  .shorts__grid,
  .resources__grid,
  .hero__metrics {
    grid-template-columns: 1fr;
  }

  .resource-list--covers {
    grid-template-columns: 1fr;
  }

  .resource-list--inline {
    grid-template-columns: 1fr;
  }

  .hero__panel,
  .form {
    padding: 1rem;
  }

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

  .community-map__items {
    grid-template-columns: 1fr;
  }

  .community-map__canvas {
    min-height: 27rem;
    padding: 0.8rem;
  }

  .community-map__object {
    min-height: 23.5rem;
  }

  .community-map__tooltip {
    left: 1rem !important;
    top: 1rem !important;
    max-width: calc(100% - 2rem);
    transform: none !important;
  }

  .community-map__tooltip-stats {
    flex-direction: column;
    gap: 0.55rem;
  }

  .footer__social {
    gap: 0.6rem;
  }
}



