/* GWE — Shenzhen Great World Exhibition Co., Ltd.
   Fully local styles — no external fonts/CDNs */

:root {
  --blue-900: #061f38;
  --blue-800: #0b3d6e;
  --blue-700: #0b4f8a;
  --blue-600: #1a6bb5;
  --blue-500: #2f82cc;
  --blue-100: #e8f1f8;
  --blue-50: #f3f7fb;
  --grey-100: #f5f6f8;
  --grey-200: #e6e9ee;
  --grey-400: #9aa3af;
  --grey-600: #5b6573;
  --grey-800: #2c3440;
  --white: #ffffff;
  --shadow: 0 12px 40px rgba(6, 31, 56, 0.1);
  --shadow-sm: 0 4px 16px rgba(6, 31, 56, 0.08);
  --radius: 12px;
  --header-h: 76px;
  --font: "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei",
    "Noto Sans SC", "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

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

body {
  margin: 0;
  font-family: var(--font);
  color: var(--grey-800);
  background: var(--white);
  line-height: 1.65;
  overflow-x: hidden;
}

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

a {
  color: var(--blue-700);
  text-decoration: none;
}

a:hover {
  color: var(--blue-600);
}

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

.container {
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
}

/* ---------- Header ---------- */
.site-header {
  position: relative;
  z-index: 1000;
  height: var(--header-h);
  background: var(--white);
  border-bottom: 1px solid var(--grey-200);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--blue-800);
  min-width: 0;
}

.brand-logo {
  width: 120px;
  height: 48px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.brand-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  min-width: 0;
}

.brand-name {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--blue-900);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.brand-tag {
  font-size: 0.72rem;
  color: var(--grey-600);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav .lang-switch {
  margin-left: 8px;
}

.nav a {
  color: var(--grey-800);
  font-weight: 600;
  font-size: 0.92rem;
  padding: 8px 14px;
  border-radius: 8px;
  transition: background 0.2s, color 0.2s;
}

.nav a:hover,
.nav a.is-active {
  background: var(--blue-50);
  color: var(--blue-700);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.lang-switch {
  display: inline-flex;
  border: 1px solid var(--grey-200);
  border-radius: 999px;
  overflow: hidden;
  background: var(--grey-100);
}

.lang-switch button {
  border: 0;
  background: transparent;
  padding: 7px 12px;
  cursor: pointer;
  color: var(--grey-600);
  font-weight: 600;
  font-size: 0.8rem;
  transition: background 0.2s, color 0.2s;
}

.lang-switch button.is-active {
  background: var(--blue-700);
  color: var(--white);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--grey-200);
  border-radius: 10px;
  background: var(--white);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--blue-800);
  transition: transform 0.25s, opacity 0.25s;
}

.menu-toggle.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.menu-toggle.is-open span:nth-child(2) {
  opacity: 0;
}
.menu-toggle.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  height: min(88vh, 720px);
  min-height: 520px;
  display: grid;
  align-items: end;
  color: var(--white);
  overflow: hidden;
  background: var(--blue-800);
}

.hero-media {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}

.hero-slides {
  display: -webkit-box;
  display: -webkit-flex;
  display: flex;
  height: 100%;
  width: 100%;
  -webkit-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
  -webkit-transition: -webkit-transform 0.85s cubic-bezier(0.4, 0, 0.2, 1);
  transition: transform 0.85s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.hero-slide {
  position: relative;
  -webkit-flex: 0 0 100%;
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  overflow: hidden;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

.hero-slide img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  border: 0;
  -o-object-fit: cover;
  object-fit: cover;
  object-position: center;
  -webkit-user-select: none;
  user-select: none;
  pointer-events: none;
}

.hero-slide--bottom img {
  object-position: center 78%;
}

.hero-slider-controls {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 22px;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  pointer-events: none;
}

.hero-nav,
.hero-dots,
.hero-dot {
  pointer-events: auto;
}

.hero-nav {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 10px;
  background: rgba(6, 31, 56, 0.45);
  color: var(--white);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, border-color 0.2s;
}

.hero-nav:hover {
  background: rgba(11, 79, 138, 0.75);
  border-color: rgba(255, 255, 255, 0.55);
}

.hero-dots {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(6, 31, 56, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  transition: transform 0.2s, background 0.2s;
}

.hero-dot.is-active {
  background: var(--white);
  transform: scale(1.2);
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  background: linear-gradient(
    90deg,
    rgba(6, 31, 56, 0.88) 0%,
    rgba(11, 61, 110, 0.62) 38%,
    rgba(11, 79, 138, 0.28) 68%,
    rgba(6, 31, 56, 0.06) 100%
  );
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 72px 0 100px;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.9;
  margin-bottom: 16px;
}

.hero h1 {
  margin: 0 0 16px;
  font-size: clamp(2rem, 4.5vw, 3.35rem);
  line-height: 1.15;
  white-space: pre-line;
  font-weight: 700;
  max-width: 16ch;
}

.hero-lead {
  margin: 0 0 28px;
  max-width: 42ch;
  font-size: 1.08rem;
  color: rgba(255, 255, 255, 0.9);
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 10px;
  border: 1px solid transparent;
  font-weight: 650;
  cursor: pointer;
  transition: transform 0.2s var(--ease), background 0.2s, color 0.2s,
    border-color 0.2s, box-shadow 0.2s;
}

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

.btn-primary {
  background: var(--white);
  color: var(--blue-800);
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  background: var(--blue-50);
  color: var(--blue-900);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.45);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
}

.btn-solid {
  background: var(--blue-700);
  color: var(--white);
}

.btn-solid:hover {
  background: var(--blue-600);
  color: var(--white);
}

/* ---------- Sections ---------- */
.section {
  padding: 88px 0;
}

.section-alt {
  background: var(--grey-100);
}

.section-head {
  max-width: 640px;
  margin-bottom: 40px;
}

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--blue-600);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.section-head h2 {
  margin: 0 0 12px;
  font-size: clamp(1.7rem, 3vw, 2.25rem);
  color: var(--blue-900);
  line-height: 1.25;
}

.section-head p {
  margin: 0;
  color: var(--grey-600);
  font-size: 1.02rem;
}

.icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 36px;
  align-items: stretch;
}

.about-card {
  background: var(--white);
  border: 1px solid var(--grey-200);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-sm);
}

.about-card p {
  margin: 0 0 16px;
  color: var(--grey-800);
  font-size: 1.02rem;
}

.about-card p:last-child {
  margin-bottom: 0;
}

.about-highlights {
  display: grid;
  gap: 14px;
}

.highlight {
  background: linear-gradient(135deg, var(--blue-800), var(--blue-600));
  color: var(--white);
  border-radius: var(--radius);
  padding: 22px 22px 20px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: start;
  box-shadow: var(--shadow);
}

.highlight-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.14);
  display: grid;
  place-items: center;
}

.highlight-icon .icon {
  width: 20px;
  height: 20px;
  color: var(--white);
}

.highlight h3 {
  margin: 0 0 6px;
  font-size: 1rem;
}

.highlight p {
  margin: 0;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.86);
}

/* Events */
.events-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.event-card {
  background: var(--white);
  border: 1px solid var(--grey-200);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
}

.event-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.event-card-top {
  display: flex;
  gap: 16px;
  align-items: center;
  padding: 22px 22px 0;
}

.event-logo {
  width: 120px;
  height: 72px;
  object-fit: contain;
  background: var(--white);
  border: 1px solid var(--grey-200);
  border-radius: 8px;
  padding: 8px;
  flex-shrink: 0;
}

.event-logo.light {
  background: var(--white);
  border: 1px solid var(--grey-200);
}

.event-titles {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.event-titles .title-zh,
.event-titles .title-en {
  margin: 0;
  font-size: 0.9rem;
  color: var(--grey-600);
  line-height: 1.35;
  font-weight: 600;
}

.event-titles .is-primary {
  order: -1;
  font-size: 1.02rem;
  color: var(--blue-900);
  font-weight: 700;
}

.event-body {
  padding: 16px 22px 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex: 1;
}

.event-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.event-links a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  font-size: 0.88rem;
}

.qr-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.qr-item {
  text-align: center;
  width: 88px;
}

.qr-item img {
  width: 88px;
  height: 88px;
  object-fit: contain;
  border: 1px solid var(--grey-200);
  border-radius: 8px;
  background: var(--white);
  padding: 4px;
}

.qr-item span {
  display: block;
  margin-top: 6px;
  font-size: 0.72rem;
  color: var(--grey-600);
}

/* Join / Contact */
.join-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 28px;
  align-items: start;
}

.contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.contact-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: start;
  background: var(--white);
  border: 1px solid var(--grey-200);
  border-radius: var(--radius);
  padding: 16px 18px;
}

.contact-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--blue-50);
  color: var(--blue-700);
  display: grid;
  place-items: center;
}

.contact-list strong {
  display: block;
  color: var(--blue-900);
  font-size: 0.92rem;
  margin-bottom: 2px;
}

.contact-list span,
.contact-list a {
  color: var(--grey-600);
  font-size: 0.92rem;
  word-break: break-word;
}

.form-card {
  background: var(--white);
  border: 1px solid var(--grey-200);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}

.form-card h3 {
  margin: 0 0 6px;
  color: var(--blue-900);
}

.form-card .form-lead {
  margin: 0 0 22px;
  color: var(--grey-600);
  font-size: 0.95rem;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-field.full {
  grid-column: 1 / -1;
}

.form-field label {
  font-size: 0.85rem;
  font-weight: 650;
  color: var(--grey-800);
}

.form-field input,
.form-field select,
.form-field textarea {
  border: 1px solid var(--grey-200);
  border-radius: 10px;
  padding: 11px 12px;
  background: var(--grey-100);
  color: var(--grey-800);
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--blue-500);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(26, 107, 181, 0.18);
}

.form-field textarea {
  min-height: 120px;
  resize: vertical;
}

.form-field .error {
  color: #b42318;
  font-size: 0.78rem;
  min-height: 1em;
}

.form-actions {
  margin-top: 8px;
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.form-status {
  font-size: 0.9rem;
  color: var(--blue-700);
  font-weight: 600;
  opacity: 0;
  transition: opacity 0.3s;
}

.form-status.is-visible {
  opacity: 1;
}

.form-status.is-error {
  color: #b42318;
}

/* ---------- News ---------- */
.news-layout {
  display: grid;
  grid-template-columns: 1.65fr 1fr;
  gap: 22px;
  align-items: stretch;
}

.news-feature {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  background: var(--blue-900);
  color: var(--white);
  overflow: hidden;
  border-radius: var(--radius);
}

.news-feature-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--blue-800);
}

.news-feature-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s var(--ease);
}

.news-feature:hover .news-feature-media img {
  transform: scale(1.04);
}

.news-feature-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 22px 24px 24px;
  flex: 1;
}

.news-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  font-size: 0.82rem;
  opacity: 0.85;
}

.news-category {
  font-weight: 700;
}

.news-feature-body h3 {
  margin: 0;
  font-size: clamp(1.1rem, 1.6vw, 1.35rem);
  line-height: 1.4;
  font-weight: 700;
}

.news-more {
  margin-top: auto;
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: inherit;
  font-weight: 700;
  font-size: 0.92rem;
  padding-top: 8px;
  background: none;
  border: 0;
  cursor: pointer;
}

.news-more:hover {
  opacity: 0.85;
}

.news-side {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.news-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--grey-200);
  border-radius: var(--radius);
  overflow: hidden;
  flex: 1;
  min-height: 0;
}

.news-card-media {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--grey-100);
}

.news-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s var(--ease);
}

.news-card:hover .news-card-media img {
  transform: scale(1.04);
}

.news-card-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px 18px 18px;
  flex: 1;
}

.news-card-body .news-meta {
  color: var(--grey-600);
  opacity: 1;
}

.news-card-body h3 {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.45;
  color: var(--blue-900);
  font-weight: 700;
}

.news-card-body .news-more {
  color: var(--blue-700);
}

.news-pager {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 28px;
}

.news-pager-btn {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid var(--grey-200);
  background: var(--white);
  color: var(--blue-800);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.news-pager-btn:hover:not(:disabled) {
  background: var(--blue-50);
  border-color: var(--blue-100);
}

.news-pager-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.news-pages {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: center;
}

.news-page-btn {
  min-width: 36px;
  height: 36px;
  padding: 0 10px;
  border-radius: 8px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--grey-600);
  font-weight: 700;
  cursor: pointer;
}

.news-page-btn:hover {
  background: var(--blue-50);
  color: var(--blue-700);
}

.news-page-btn.is-active {
  background: var(--blue-700);
  color: var(--white);
}

.news-modal[hidden] {
  display: none !important;
}

.news-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: grid;
  place-items: center;
  padding: 20px;
}

.news-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 31, 56, 0.55);
}

.news-modal-dialog {
  position: relative;
  z-index: 1;
  width: min(560px, 100%);
  max-height: min(90vh, 720px);
  overflow: auto;
  background: var(--white);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
}

.news-modal-dialog img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 14px;
  background: var(--grey-100);
}

.news-modal-meta {
  display: flex;
  gap: 12px;
  margin: 0 0 8px;
  font-size: 0.85rem;
  color: var(--grey-600);
}

.news-modal-dialog h3 {
  margin: 0 0 10px;
  color: var(--blue-900);
  font-size: 1.25rem;
  line-height: 1.4;
}

.news-modal-dialog #news-modal-excerpt {
  margin: 0;
  color: var(--grey-600);
  line-height: 1.7;
}

.news-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--blue-900);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
}

/* Footer */
.site-footer {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 60% at 100% 0%, rgba(42, 130, 204, 0.22), transparent 55%),
    radial-gradient(ellipse 70% 50% at 0% 100%, rgba(11, 79, 138, 0.35), transparent 50%),
    var(--blue-900);
  color: rgba(255, 255, 255, 0.82);
  padding: 48px 0 28px;
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.35;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='72' height='72' viewBox='0 0 72 72'%3E%3Cg fill='none' stroke='%23ffffff' stroke-width='1' opacity='0.14'%3E%3Cpath d='M36 0v72M0 36h72'/%3E%3Cpath d='M18 0v72M54 0v72M0 18h72M0 54h72' opacity='0.55'/%3E%3Ccircle cx='36' cy='36' r='2.2' fill='%23ffffff' stroke='none' opacity='0.35'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 72px 72px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.2));
}

.site-footer > .container {
  position: relative;
  z-index: 1;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 28px;
  margin-bottom: 32px;
}

.footer-brand {
  color: var(--white);
}

.footer-brand p {
  margin: 8px 0 0;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  max-width: 34ch;
}

.footer-col h4 {
  margin: 0 0 14px;
  color: var(--white);
  font-size: 0.95rem;
}

.footer-col a {
  display: block;
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 8px;
  font-size: 0.92rem;
}

.footer-col a:hover {
  color: var(--white);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 18px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
}

.footer-credit {
  color: rgba(255, 255, 255, 0.55);
}

.footer-credit:hover {
  color: var(--white);
}

/* Reveal animations */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.reveal-delay-1 {
  transition-delay: 0.08s;
}
.reveal-delay-2 {
  transition-delay: 0.16s;
}
.reveal-delay-3 {
  transition-delay: 0.24s;
}

/* Mobile */
@media (max-width: 900px) {
  .about-grid,
  .join-grid,
  .footer-grid,
  .events-grid,
  .news-layout {
    grid-template-columns: 1fr;
  }

  .news-side {
    gap: 16px;
  }

  .news-feature-body h3 {
    font-size: 1.1rem;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--grey-200);
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    gap: 4px;
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s var(--ease), opacity 0.3s;
    box-shadow: var(--shadow-sm);
  }

  .nav.is-open {
    transform: none;
    opacity: 1;
    pointer-events: auto;
  }

  .nav a {
    padding: 12px 14px;
  }

  .nav .lang-switch {
    margin: 8px 0 4px;
    align-self: stretch;
    width: 100%;
    border-radius: 10px;
  }

  .nav .lang-switch button {
    flex: 1;
    padding: 12px 14px;
    font-size: 0.9rem;
  }

  .brand-name {
    font-size: 0.78rem;
    white-space: normal;
    overflow: hidden;
    text-overflow: unset;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    max-width: none;
  }

  .site-header {
    height: auto;
    min-height: var(--header-h);
  }

  .site-header .container {
    width: calc(100% - 20px);
  }

  .site-header .header-inner {
    gap: 10px;
    padding-block: 10px;
  }

  .site-header .brand {
    gap: 8px;
    flex: 1;
    min-width: 0;
  }

  .site-header .brand-logo {
    width: 72px;
    height: 36px;
  }

  .site-header .brand-tag {
    font-size: 0.62rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

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

  .hero {
    height: 70vh;
    min-height: 480px;
  }

  .hero-slider-controls {
    bottom: 14px;
    gap: 10px;
  }

  .hero-nav {
    width: 36px;
    height: 36px;
  }

  .hero-content {
    padding: 56px 0 92px;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(1120px, calc(100% - 28px));
  }

  .site-header .container {
    width: calc(100% - 16px);
  }

  .site-header .brand-logo {
    width: 64px;
    height: 32px;
  }

  .section {
    padding: 64px 0;
  }

  .event-card-top {
    flex-direction: column;
    align-items: flex-start;
  }

  .qr-item {
    width: 76px;
  }

  .qr-item img {
    width: 76px;
    height: 76px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .reveal,
  .hero-slides {
    animation: none !important;
    transition: none !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}
