:root {
  --solus-primary: #1c74c1;
  --solus-primary-dark: #115388;
  --solus-accent: #eabd2c;
  --solus-text: #1f2a3b;
  --solus-text-muted: #5c6780;
  --solus-surface: #ffffff;
  --solus-surface-alt: rgba(255, 255, 255, 0.65);
  --solus-bg: linear-gradient(160deg, #f3f7fb 0%, #f9fbff 55%, #eef3ff 100%);
  --solus-shadow: 0 18px 45px rgba(12, 44, 98, 0.12);
  --solus-radius-lg: 28px;
  --solus-radius-md: 18px;
  --solus-radius-sm: 12px;
  --solus-max-width: 1120px;
}

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

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  font-family: 'Oxygen', 'Segoe UI', system-ui, -apple-system, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--solus-text);
  background: var(--solus-bg);
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--solus-primary);
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}

a:hover,
a:focus {
  color: var(--solus-primary-dark);
  opacity: 0.85;
}

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

.container,
.main-menu .container {
  width: min(var(--solus-max-width), 100%);
  margin: 0 auto;
  padding-inline: clamp(16px, 5vw, 36px);
}

.wrapper.home {
  overflow: hidden;
  position: relative;
}

.main-menu.container-fluid {
  padding: 0;
}

.main-menu {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(17, 48, 84, 0.08);
  transition: box-shadow 0.3s ease, background 0.3s ease;
}

.main-menu.is-scrolled {
  background: rgba(16, 43, 78, 0.94);
  box-shadow: 0 20px 40px rgba(12, 44, 98, 0.18);
}

.main-menu.is-scrolled .menu-items > li > a,
.main-menu.is-scrolled .menu-items > li > span {
  color: #f2f6ff;
}

.main-menu .row {
  margin: 0;
}

.main-menu .menu {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 0;
}

.logo a {
  display: inline-flex;
  width: 180px;
  height: 52px;
  background: url('/themes/solus/assets/images/logo.svg') center/contain no-repeat;
  text-indent: -9999px;
}

.menu-items {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.2vw, 36px);
  font-weight: 600;
}

.menu-items > li {
  position: relative;
}

.menu-items > li > a,
.menu-items > li > span {
  color: var(--solus-text);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.78rem;
  padding-block: 8px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.menu-items > li > a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: transparent;
  transition: transform 0.25s ease, background 0.25s ease;
  transform: scaleX(0);
  transform-origin: center;
}

.menu-items > li > a.is-active::after,
.menu-items > li > a:hover::after {
  background: var(--solus-accent);
  transform: scaleX(1);
}

.menu-items .dropdown-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  background: var(--solus-surface);
  box-shadow: var(--solus-shadow);
  padding: 12px;
  border-radius: var(--solus-radius-sm);
  min-width: 220px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-12px);
  transition: all 0.25s ease;
  display: grid;
  gap: 6px;
}

.menu-items li.dropdown:hover > .dropdown-menu,
.menu-items li.dropdown:focus-within > .dropdown-menu,
.menu-items li.dropdown.open > .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.menu-items .dropdown-menu a {
  display: block;
  font-weight: 500;
  color: var(--solus-text);
  padding: 6px 10px;
  border-radius: 8px;
}

.menu-items .dropdown-menu a:hover {
  background: rgba(28, 116, 193, 0.08);
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: rgba(28, 116, 193, 0.85);
  color: #fff;
  font-weight: 600;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.menu-toggle:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(16, 71, 128, 0.25);
}

.menu-toggle .bar {
  width: 18px;
  height: 2px;
  background: currentColor;
  border-radius: 999px;
  position: relative;
}

.menu-toggle .bar::before,
.menu-toggle .bar::after {
  content: '';
  position: absolute;
  left: 0;
  width: 100%;
  height: 100%;
  background: currentColor;
  border-radius: inherit;
  transition: transform 0.2s ease;
}

.menu-toggle .bar::before {
  transform: translateY(-6px);
}

.menu-toggle .bar::after {
  transform: translateY(6px);
}

.main-menu.menu-open .menu-toggle .bar {
  background: transparent;
}

.main-menu.menu-open .menu-toggle .bar::before {
  transform: rotate(45deg);
}

.main-menu.menu-open .menu-toggle .bar::after {
  transform: rotate(-45deg);
}

.main-header {
  position: relative;
  margin-top: clamp(30px, 6vw, 90px);
}

.main-header .image {
  position: relative;
  min-height: clamp(320px, 52vw, 520px);
  border-radius: var(--solus-radius-lg);
  overflow: hidden;
  box-shadow: var(--solus-shadow);
}

.main-header .image::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(12, 39, 68, 0.7) 0%, rgba(12, 39, 68, 0.25) 50%, rgba(12, 39, 68, 0.1) 100%);
}

.main-header .image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 30%, rgba(234, 189, 44, 0.45), transparent 55%), radial-gradient(circle at 80% 20%, rgba(28, 116, 193, 0.5), transparent 60%);
  mix-blend-mode: screen;
}

.main-header .header-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(32px, 8vw, 72px);
  color: #f6f9ff;
}

.main-header .header-content h1 {
  margin: 0 0 18px;
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.main-header .header-content p {
  max-width: 520px;
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  color: rgba(246, 249, 255, 0.85);
}

.main-header .header-actions {
  margin-top: clamp(28px, 4vw, 44px);
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

.main-header .btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  background: var(--solus-accent);
  color: #1b2330;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  box-shadow: 0 20px 45px rgba(234, 189, 44, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.main-header .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 28px 55px rgba(234, 189, 44, 0.45);
}

.section {
  padding-block: clamp(64px, 9vw, 120px);
}

.section .intro h1,
.section h1 {
  font-size: clamp(2rem, 3vw, 2.6rem);
  margin-bottom: 18px;
  text-align: center;
}

.section h3 {
  font-size: clamp(1.15rem, 2.2vw, 1.35rem);
  font-weight: 500;
  color: var(--solus-text-muted);
  text-align: center;
  margin-bottom: 24px;
}

.section p {
  color: var(--solus-text-muted);
}

.section .curve img {
  width: 100%;
  opacity: 0.4;
}

.section.intro {
  background: transparent;
  text-align: center;
}

.section.intro p {
  max-width: 780px;
  margin-inline: auto;
  font-size: 1.05rem;
}

.section.news {
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(10px);
}

.news-items {
  display: grid;
  gap: clamp(24px, 4vw, 42px);
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.news .item {
  background: var(--solus-surface);
  border-radius: var(--solus-radius-md);
  padding: 26px;
  box-shadow: var(--solus-shadow);
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.news .item:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 48px rgba(12, 44, 98, 0.18);
}

.news .featured-image {
  width: 84px;
  height: 84px;
  border-radius: 22px;
  overflow: hidden;
  background-size: cover !important;
  background-position: center !important;
}

.news .item h2 {
  margin: 0 0 12px;
  font-size: 1.35rem;
  color: var(--solus-primary-dark);
}

.news .item .links {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.78rem;
}

.news .item .links a:first-child {
  color: var(--solus-primary-dark);
}

.section.project,
.section.pressandmedia,
.section.participants,
.section.contact {
  position: relative;
}

.section.project .intro p,
.section.pressandmedia .intro p,
.section.contact p {
  max-width: 860px;
  margin-inline: auto;
}

.section.project .cards,
.section.pressandmedia .cards,
.section.participants .cards,
.section.contact .cards {
  margin-top: clamp(36px, 6vw, 54px);
  display: grid;
  gap: clamp(20px, 4vw, 32px);
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.section .card {
  background: var(--solus-surface);
  border-radius: var(--solus-radius-md);
  padding: clamp(24px, 3vw, 36px);
  box-shadow: var(--solus-shadow);
  display: grid;
  gap: 14px;
  border: 1px solid rgba(12, 38, 74, 0.06);
}

.section .card h4 {
  margin: 0;
  font-size: 1.2rem;
  color: var(--solus-primary-dark);
}

.section .card ul {
  margin: 0;
  padding-left: 20px;
  color: var(--solus-text-muted);
}

.participants .map {
  background: var(--solus-surface);
  border-radius: var(--solus-radius-md);
  box-shadow: var(--solus-shadow);
  padding: 24px;
  margin-bottom: clamp(30px, 5vw, 44px);
}

.participants #participants-list {
  display: grid;
  gap: 18px;
}

.participants #participants-list div {
  background: rgba(255, 255, 255, 0.85);
  border-radius: var(--solus-radius-sm);
  padding: 18px 22px;
  box-shadow: 0 12px 28px rgba(14, 53, 92, 0.12);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.participants #participants-list div.show {
  transform: translateY(-4px);
  box-shadow: 0 22px 38px rgba(14, 53, 92, 0.16);
}

.pressandmedia .downloads,
.pressandmedia .publications {
  display: grid;
  gap: 16px;
}

.pressandmedia a {
  font-weight: 600;
}

.contact form,
.contact .contact-details {
  background: var(--solus-surface);
  border-radius: var(--solus-radius-md);
  padding: clamp(24px, 4vw, 40px);
  box-shadow: var(--solus-shadow);
}

.contact form input,
.contact form textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid rgba(15, 55, 92, 0.18);
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact form input:focus,
.contact form textarea:focus {
  border-color: var(--solus-primary);
  box-shadow: 0 0 0 4px rgba(28, 116, 193, 0.18);
  outline: none;
}

.contact form button {
  margin-top: 20px;
  border: none;
  border-radius: 999px;
  padding: 14px 22px;
  background: var(--solus-primary);
  color: #fff;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.contact form button:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 38px rgba(17, 71, 128, 0.28);
}

.footer,
.bottom {
  text-align: center;
  color: var(--solus-text-muted);
  font-size: 0.9rem;
}

.footer a,
.bottom a {
  color: var(--solus-primary-dark);
  font-weight: 600;
}

.line {
  width: 120px;
  height: 3px;
  background: linear-gradient(90deg, rgba(28, 116, 193, 0.1) 0%, rgba(28, 116, 193, 0.65) 50%, rgba(234, 189, 44, 0.7) 100%);
  border-radius: 999px;
  margin: clamp(40px, 6vw, 60px) auto;
}

.highlight-text,
.box,
.box .content {
  font-size: 1.02rem;
  color: var(--solus-text-muted);
}

.box {
  background: var(--solus-surface);
  border-radius: var(--solus-radius-md);
  padding: clamp(20px, 3vw, 30px);
  box-shadow: 0 18px 38px rgba(12, 44, 98, 0.08);
}

.box .title {
  font-weight: 600;
  margin-bottom: 10px;
  font-size: 1.05rem;
}

.curve {
  margin-top: clamp(50px, 8vw, 90px);
}

.twitter-share-button {
  padding: 10px 14px;
  border-radius: 999px;
  background: #1d9bf0;
  color: #fff !important;
  font-weight: 600;
}

.twitter-share-button:hover {
  opacity: 0.85;
}

@media (max-width: 1024px) {
  .main-menu .menu {
    flex-wrap: wrap;
  }

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

  .menu-items {
    flex: 1 1 100%;
    order: 3;
    flex-direction: column;
    gap: 18px;
    padding: 18px 0 6px;
    display: none;
  }

  .main-menu.menu-open .menu-items {
    display: flex;
  }

  .menu-items .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    background: rgba(255, 255, 255, 0.92);
    border-radius: 16px;
  }
}

@media (max-width: 768px) {
  body {
    font-size: 16px;
  }

  .main-header {
    margin-top: 24px;
  }

  .main-header .image {
    min-height: 420px;
  }

  .main-header .header-content {
    align-items: flex-start;
  }

  .news .item {
    padding: 22px;
  }

  .section {
    padding-block: clamp(54px, 12vw, 90px);
  }
}

@media (max-width: 540px) {
  .logo a {
    width: 150px;
    height: 46px;
  }

  .menu-toggle {
    width: 100%;
    justify-content: center;
  }

  .main-header .header-content h1 {
    font-size: 2.2rem;
  }

  .main-header .header-content p {
    font-size: 1.02rem;
  }

  .news .item {
    padding: 20px;
  }

  .news .item h2 {
    font-size: 1.25rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}

