:root {
  color-scheme: light;
  --ink: #172033;
  --muted: #5b6474;
  --paper: #ffffff;
  --soft: #f5f7fb;
  --line: #d9dee8;
  --brand: #ff7a1a;
  --brand-dark: #d95b00;
  --blue: #1746d8;
  --night: #383433;
  --night-deep: #292625;
  --green: #0d8f6f;
  --shadow: 0 22px 60px rgba(23, 32, 51, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: #fffaf5;
  font-family: Arial, Helvetica, sans-serif;
}

a {
  color: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(217, 222, 232, 0.85);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: min(1180px, calc(100% - 32px));
  min-height: 72px;
  margin: 0 auto;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
}

.brand-link img {
  width: 196px;
  height: auto;
}

.main-nav,
.language-nav {
  display: flex;
  align-items: center;
  gap: 14px;
}

.main-nav a,
.language-nav a {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
}

.main-nav a:hover,
.language-nav a:hover,
.main-nav a:focus,
.language-nav a:focus {
  color: var(--brand-dark);
}

.language-nav {
  gap: 8px;
}

.language-nav a {
  min-width: 34px;
  padding: 7px 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  text-align: center;
}

.language-nav a[aria-current="page"] {
  border-color: var(--brand);
  background: #fff0e5;
  color: var(--brand-dark);
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 650px;
  color: #fff;
  background: #141821;
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-media::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, rgba(12, 15, 24, 0.88), rgba(12, 15, 24, 0.58) 45%, rgba(12, 15, 24, 0.18));
}

.hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: center;
  width: min(1180px, calc(100% - 32px));
  min-height: 650px;
  margin: 0 auto;
  padding: 80px 0 96px;
}

.eyebrow {
  width: fit-content;
  margin: 0 0 18px;
  padding: 9px 13px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1 {
  max-width: 860px;
  margin: 0;
  font-size: clamp(2.8rem, 7vw, 6.8rem);
  line-height: 0.96;
  letter-spacing: 0;
}

.lead {
  max-width: 720px;
  margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1.15rem, 2.1vw, 1.55rem);
  line-height: 1.52;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: var(--brand);
  color: #fff;
  font-weight: 800;
  text-decoration: none;
}

.button:hover,
.button:focus {
  background: var(--brand-dark);
}

.button.secondary {
  border-color: rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.12);
}

.button.secondary:hover,
.button.secondary:focus {
  background: rgba(255, 255, 255, 0.22);
}

.trust-strip {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.trust-inner {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  background: var(--line);
}

.trust-item {
  min-height: 110px;
  padding: 24px;
  background: var(--paper);
}

.trust-item strong {
  display: block;
  color: var(--ink);
  font-size: 1.15rem;
}

.trust-item span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  line-height: 1.45;
}

.section {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 76px 0;
}

.section-heading {
  max-width: 790px;
  margin-bottom: 28px;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.05;
  letter-spacing: 0;
}

.section-heading p {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1.65;
}

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

.event-card,
.info-card,
.faq-item {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: 0 12px 34px rgba(23, 32, 51, 0.08);
}

.event-card img {
  width: 100%;
  aspect-ratio: 5 / 2;
  object-fit: cover;
}

.event-body,
.info-card,
.faq-item {
  padding: 24px;
}

.tag {
  display: inline-flex;
  margin-bottom: 12px;
  padding: 7px 10px;
  border-radius: 999px;
  background: #fff0e5;
  color: var(--brand-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

h2,
h3 {
  letter-spacing: 0;
}

h3 {
  margin: 0;
  font-size: 1.45rem;
  line-height: 1.18;
}

.event-body p,
.info-card p,
.faq-item p,
.text-block p {
  color: var(--muted);
  line-height: 1.65;
}

.event-body p:last-child,
.info-card p:last-child,
.faq-item p:last-child,
.text-block p:last-child {
  margin-bottom: 0;
}

.detail-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 22px;
}

.info-card strong {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
}

.photo-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr;
  gap: 14px;
}

.photo-grid figure {
  position: relative;
  overflow: hidden;
  min-height: 240px;
  margin: 0;
  border-radius: 8px;
  background: var(--soft);
}

.photo-grid figure:first-child {
  grid-row: span 2;
}

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

.photo-grid figcaption {
  position: absolute;
  inset: auto 12px 12px 12px;
  padding: 9px 10px;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.58);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 700;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 28px;
  align-items: start;
}

.split img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

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

.official-box {
  padding: 34px;
  border-radius: 8px;
  background: linear-gradient(135deg, #1c2440, #452d20);
  color: #fff;
}

.official-box p {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.86);
  line-height: 1.65;
}

.official-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.community-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 22px;
  align-items: stretch;
}

.community-intro {
  padding: 30px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 12px 34px rgba(23, 32, 51, 0.08);
}

.community-intro h2 {
  margin: 0;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1.08;
}

.community-intro p {
  color: var(--muted);
  line-height: 1.65;
}

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

.community-card {
  min-height: 128px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(23, 32, 51, 0.07);
}

.community-card strong,
.community-group strong {
  display: block;
  color: var(--ink);
  font-size: 1rem;
}

.community-card span,
.community-group span {
  display: block;
  margin-top: 7px;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.45;
}

.community-card:hover,
.community-card:focus {
  border-color: var(--brand);
  color: var(--brand-dark);
}

.community-groups {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin-top: 4px;
}

.community-group {
  min-height: 74px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  text-decoration: none;
}

.site-footer {
  margin-top: 40px;
  background: var(--night);
  color: #fff;
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(280px, 420px) repeat(2, minmax(160px, 1fr));
  gap: 40px;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 50px 0 38px;
}

.footer-brand {
  position: relative;
  overflow: hidden;
  min-height: 250px;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.02);
}

.footer-brand .world-map {
  position: absolute;
  left: 50%;
  top: 52%;
  width: min(92%, 360px);
  height: auto;
  opacity: 0.22;
  transform: translate(-50%, -35%);
}

.footer-logo {
  width: 190px;
  height: auto;
  margin-bottom: 38px;
}

.footer-brand p {
  position: relative;
  z-index: 1;
  max-width: 250px;
  margin: 0;
  font-size: 1.14rem;
  font-weight: 800;
  line-height: 1.45;
}

.social-links {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 54px;
  padding: 8px 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 800;
  text-decoration: none;
}

.social-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: #fff;
  color: #1f1d1d;
  font-size: 0.92rem;
  font-weight: 900;
  line-height: 1;
}

.social-text {
  display: inline-flex;
  flex-direction: column;
  color: #fff;
  line-height: 1.15;
}

.social-text small {
  color: #d7d1d9;
  font-size: 0.72rem;
  font-weight: 700;
}

.footer-column h2 {
  margin: 0 0 22px;
  color: #9b96a3;
  font-size: 0.88rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
}

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

.footer-column a,
.footer-bottom a {
  color: #fff;
  text-decoration: none;
}

.footer-column a:hover,
.footer-bottom a:hover,
.footer-column a:focus,
.footer-bottom a:focus {
  color: #ffd2b0;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 18px 24px;
  border-radius: 999px;
  background: var(--night-deep);
  color: #bdb7c3;
}

.footer-bottom nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

@media (max-width: 980px) {
  .main-nav {
    display: none;
  }

  .trust-inner,
  .detail-list,
  .footer-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .event-grid,
  .split,
  .faq-grid,
  .community-panel {
    grid-template-columns: 1fr;
  }

  .photo-grid,
  .community-groups {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 680px) {
  .nav-shell {
    align-items: flex-start;
    flex-direction: column;
    padding: 14px 0;
  }

  .language-nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 3px;
  }

  .hero,
  .hero-content {
    min-height: 620px;
  }

  .hero-media::after {
    background: linear-gradient(180deg, rgba(12, 15, 24, 0.82), rgba(12, 15, 24, 0.52));
  }

  .trust-inner,
  .detail-list,
  .photo-grid,
  .community-links,
  .community-groups,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .photo-grid figure:first-child {
    grid-row: auto;
  }

  .section {
    padding: 54px 0;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    border-radius: 22px;
  }
}
