:root {
  --color-primary: #254997;
  --color-secondary: #ff6600;
  --color-surface: #ffffff;
  --color-text: #0e2431;
  --color-text-on-dark: #f5fbff;
  --color-focus: #ffe08a;
  --radius-sm: 0.375rem;
  --radius-md: 0.75rem;
  --radius-xl: 1.25rem;
  --shadow-soft: 0 12px 30px rgb(0 0 0 / 0.14);
}

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

html,
body {
  margin: 0;
  padding: 0;
}

html {
  background: #0092c0;
}

body {
  font-family: "Titillium Web", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 1.1rem;
  line-height: 1.45;
  color: var(--color-text-on-dark);
  background: linear-gradient(180deg, #254997 0%, #0092c0 100%);
  text-rendering: optimizeLegibility;
}

::-webkit-scrollbar {
  display: none
}

* {
  touch-action: manipulation
}

::selection {
  background: #c84a00;
  color: #ffffff;
}

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

a {
  color: inherit;
  text-underline-offset: 0.18em;
  text-decoration-thickness: 0.08em;
  text-decoration-skip-ink: auto;
}

p {
  margin: 0;
}

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: #111;
  color: #fff;
  padding: 0.5rem 0.75rem;
  z-index: 1100;
}

.skip-link:focus-visible {
  left: 0.5rem;
  top: 0.5rem;
}

.site-header {
  background: transparent;
}

.header-inner {
  min-height: auto;
  padding-block: 1.3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

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

.brand-logo {
  display: block;
  width: clamp(8.75rem, 28vw, 11.5rem);
  height: auto;
}

.header-actions {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  color: #dff2ff;
  font-weight: 700;
}

.lang-btn {
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  padding: 0.2rem 0.25rem;
  cursor: pointer;
  border-radius: var(--radius-sm);
}

.lang-btn.is-active {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  width: 100%;
  padding: 4.5rem 0;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: #ff6600;
  clip-path: polygon(0 2%, 100% 0, 100% 98%, 0 100%);
}

.hero .container {
  width: min(100% - 4rem, 28rem);
  padding-block: 1.25rem;
  display: flex;
  justify-content: center;
}

.hero-image {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 12px 30px rgb(0 0 0 / 0.2));
}

.btn {
  border: 0;
  border-radius: 999px;
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  padding: 0.65rem 1rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 140ms ease, box-shadow 140ms ease;
}

.btn-primary {
  background: var(--color-primary);
  color: #fff;
}

.btn-secondary {
  background: #fff;
  color: var(--color-primary);
}

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

.share-actions {
  padding: 0 0 2.2rem;
}

.share-actions-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem 1rem;
  align-items: center;
  justify-content: space-between;
}

.action-save-btn {
  padding: 0.55rem 1rem;
}

.share-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  align-items: center;
  width: 100%;
  margin-top: 0.55rem;
}

.share-label {
  font-weight: 700;
  flex: 0 0 100%;
  white-space: nowrap;
  margin-right: 0;
}

.share-link {
  display: flex;
  flex: 1 1 0;
  min-width: 0;
  align-items: center;
  justify-content: center;
  padding: 0.34rem 0.4rem;
  border-radius: 999px;
  border: 1px solid rgb(255 255 255 / 0.55);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.82rem;
  white-space: nowrap;
}

.share-link:hover {
  background: rgb(255 255 255 / 0.16);
}

.section {
  padding: 2.2rem 0;
}

.section h2 {
  margin: 0;
  font-size: clamp(1.7rem, 7vw, 2.4rem);
  text-transform: uppercase;
  line-height: 1;
}

.section-lead {
  margin: 0.8rem 0 1.25rem;
  max-width: 60ch;
}

.program-grid {
  display: grid;
  gap: 0.8rem;
}

.program-item {
  background: rgb(255 255 255 / 0.12);
  border: 1px solid rgb(255 255 255 / 0.2);
  border-radius: var(--radius-md);
  padding: 0.85rem;
}

.program-item h3 {
  margin: 0;
  font-size: 1.05rem;
}

.program-item p {
  margin: 0.35rem 0 0;
}

.coming-soon {
  margin-top: 1rem;
  font-weight: 700;
}

.fullscreen-image {
  position: relative;
  width: 100%;
  padding: 0;
  overflow: hidden;
}

.slideshow {
  position: relative;
  width: 100vw;
  max-width: none;
  margin-left: 50%;
  transform: translateX(-50%);
  overflow: hidden;
  touch-action: pan-y;
  cursor: grab;
}

.slideshow-track {
  display: flex;
  transition: transform 420ms ease;
  will-change: transform;
}

.slideshow-slide {
  margin: 0;
  min-width: 100%;
}

.slideshow.is-dragging {
  cursor: grabbing;
}

.slideshow.is-dragging .fullscreen-image-media {
  user-select: none;
  -webkit-user-drag: none;
}

.fullscreen-image-media {
  width: 100%;
  max-width: none;
  height: clamp(20rem, 90vw, 40rem);
  display: block;
  object-fit: cover;
}

.slideshow-controls {
  position: absolute;
  right: 1rem;
  bottom: 3rem;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  pointer-events: none;
}

.slideshow-dots {
  display: inline-flex;
  gap: 0.45rem;
  align-items: center;
  padding: 0;
  border-radius: 0;
  background: transparent;
  pointer-events: auto;
}

.slideshow-dot {
  appearance: none;
  -webkit-appearance: none;
  display: block;
  width: 0.62rem;
  aspect-ratio: 1 / 1;
  flex: 0 0 0.62rem;
  padding: 0;
  box-sizing: border-box;
  line-height: 0;
  border-radius: 50%;
  border: 0;
  background: rgb(255 255 255 / 0.5);
  cursor: pointer;
  transition: transform 180ms ease, background-color 180ms ease;
  transform: scale(1);
}

.slideshow-dot.is-active {
  background: #ffffff;
  transform: scale(1.45);
}

.slideshow.is-single .slideshow-controls {
  display: none;
}

.accent-split {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: #fff;
  margin-top: -2rem;
  padding: 4.5rem 0;
  z-index: 2;
  pointer-events: none;
}

.accent-split::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: #ff6600;
  clip-path: polygon(0 0, 100% 2%, 100% 100%, 0 98%);
}

.accent-inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 1.5rem;
  pointer-events: auto;
}

.accent-right {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.accent-map {
  display: block;
}

.accent-map-image {
  width: 100%;
  max-width: 28rem;
  height: auto;
}

.accent-title {
  margin: 0 0 0.65rem;
  font-size: clamp(1.5rem, 4.5vw, 2rem);
  line-height: 1.1;
  text-transform: uppercase;
}

.accent-map-btn {
  margin-top: 1rem;
  background: #ffffff;
  color: #ff6600;
}

.accent-host-link {
  margin-top: 3rem;
  display: inline-flex;
  width: fit-content;
  max-width: 100%;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 0.5rem 0.75rem;
  text-decoration: none;
}

.accent-host-logo {
  display: block;
  width: auto;
  max-width: 13rem;
  height: auto;
}

.partners-strip {
  background: #fff;
  color: var(--color-text);
  border-radius: var(--radius-md) var(--radius-md) 0 0;
  padding: 1.5rem 0.85rem 1.5rem;
}

.partners-grid {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem;
}

.partner-logo {
  min-height: 3.6rem;
  border-radius: var(--radius-sm);
  padding: 0.65rem;
  display: grid;
  place-items: center;
  color: #52616d;
  font-weight: 700;
  font-size: 0.86rem;
  letter-spacing: 0.02em;
}

.partner-logo img {
  width: 100%;
  max-width: 7.5rem;
  max-height: 2rem;
  object-fit: contain;
}

.footer-inner {
  padding: 1.8rem 0;
  display: grid;
  gap: 1rem;
}

.footer-contacts {
  display: grid;
  gap: 0.15rem;
  font-size: 1.05rem;
}

.footer-contacts p {
  margin: 0;
  font-weight: 700;
}

.footer-contacts a {
  color: inherit;
  text-decoration: none;
}

.footer-contacts a:hover {
  text-decoration: underline;
}

.footer-connect {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem 1.4rem;
  align-items: center;
  justify-content: space-between;
}

.footer-partners .container {
  width: min(100% - 1rem, 84rem);
}

.footer-partners {
  margin-top: 0.75rem;
}

.social-links {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.social-link {
  width: 2.25rem;
  height: 2.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: #fff;
  border: 1px solid rgb(255 255 255 / 0.6);
  text-decoration: none;
}

.social-link svg {
  width: 1.1rem;
  height: 1.1rem;
}

.social-link:hover {
  background: rgb(255 255 255 / 0.16);
}

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 520ms ease, transform 520ms ease;
  will-change: opacity, transform;
}

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

.share-link,
.btn {
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.share-link:hover,
.btn:hover {
  transform: translateY(-2px);
}

:focus-visible {
  outline: 3px solid var(--color-focus);
  outline-offset: 2px;
}

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

  .btn,
  .share-link {
    transition: none;
  }
}

@media (min-width: 48rem) {

  .hero::before {
    clip-path: polygon(0 5%, 100% 0, 100% 95%, 0 100%);
  }

  .header-inner {
    padding-block: 2rem 1rem;
  }

  .share-actions {
    padding: 0 0 2.8rem;
  }

  .share-actions-inner {
    flex-wrap: nowrap;
  }

  .share-group {
    width: auto;
    margin-top: 0;
  }

  .share-label {
    flex: 0 0 auto;
    margin-right: 0.2rem;
  }

  .share-link {
    flex: 0 0 auto;
    padding: 0.36rem 0.62rem;
    font-size: 1rem;
  }

  .section {
    padding: 3.2rem 0;
  }

  .hero .container {
    width: min(100% - 4rem, 50rem);
    padding-block: 1.5rem;
  }

  .hero {
    padding: 3.25rem 0;
  }

  .fullscreen-image-media {
    height: clamp(28rem, 62vw, 55rem);
  }

  .accent-inner {
    grid-template-columns: 3fr 2fr;
    gap: 2.25rem;
    align-items: center;
  }

  .accent-split {
    margin-top: -4rem;
    padding: 5.25rem 0;
  }

  .accent-split::before {
    clip-path: polygon(0 0, 100% 5%, 100% 100%, 0 95%);
  }

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

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

  .footer-inner {
    padding: 2.2rem 0;
    gap: 1.2rem;
  }
}

@media (min-width: 64rem) {
  .partners-grid {
    grid-template-columns: repeat(7, minmax(0, 1fr));
  }
}
