:root {
  --navy-980: #040914;
  --navy-950: #071226;
  --navy-920: #0a1733;
  --navy-880: #0f2147;
  --navy-820: #153063;
  --sky-300: #8faee2;
  --sky-200: #cddaf5;
  --gold-500: #bf9341;
  --gold-400: #d6b066;
  --gold-200: #f3e2b7;
  --text-strong: #f3f7ff;
  --text-muted: #a9b8d4;
  --text-soft: #879abf;
  --line-soft: rgba(167, 189, 233, 0.18);
  --line-strong: rgba(214, 176, 102, 0.28);
  --surface-strong: rgba(9, 20, 44, 0.92);
  --surface-card: rgba(10, 24, 52, 0.82);
  --surface-card-alt: rgba(8, 18, 39, 0.88);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --radius-sm: 12px;
  --shadow-soft: 0 18px 38px rgba(2, 8, 20, 0.32);
  --shadow-deep: 0 28px 72px rgba(1, 5, 16, 0.46);
  --container: min(1180px, calc(100% - 2.4rem));
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Urbanist", "Segoe UI", sans-serif;
  color: var(--text-muted);
  background:
    radial-gradient(920px 460px at 8% -2%, rgba(143, 174, 226, 0.16), transparent 58%),
    radial-gradient(720px 360px at 92% 0%, rgba(214, 176, 102, 0.14), transparent 54%),
    linear-gradient(180deg, #081229 0%, #040914 100%);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(143, 174, 226, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(143, 174, 226, 0.05) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.72), transparent 92%);
}

body.menu-open {
  overflow: hidden;
}

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

button,
input,
textarea {
  font: inherit;
}

button {
  border: 0;
  background: none;
  color: inherit;
}

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

main {
  position: relative;
  z-index: 1;
}

body.loader-active {
  overflow: hidden;
}

.page-loader {
  position: fixed;
  inset: 0;
  z-index: 4100;
  display: grid;
  place-items: center;
  padding: clamp(1rem, 3vw, 2rem);
  overflow: hidden;
  isolation: isolate;
  background: var(--loader-bg);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.46s cubic-bezier(0.32, 0.8, 0.24, 1), visibility 0.46s cubic-bezier(0.32, 0.8, 0.24, 1);
}

.page-loader::before,
.page-loader::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.page-loader::before {
  background:
    radial-gradient(54% 36% at 20% 50%, rgba(255, 255, 255, 0.1), transparent 72%),
    radial-gradient(54% 32% at 82% 46%, rgba(255, 255, 255, 0.08), transparent 72%);
}

.page-loader::after {
  background: radial-gradient(62% 62% at 50% 56%, transparent 34%, rgba(8, 16, 30, 0.16) 100%);
}

.page-loader.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.page-loader-clouds {
  position: absolute;
  inset: -10% -14%;
  pointer-events: none;
  mix-blend-mode: screen;
}

html[data-theme="light"] .page-loader-clouds {
  mix-blend-mode: multiply;
}

.page-loader-cloud {
  --cloud-size: clamp(180px, 22vw, 330px);
  --cloud-y: 18%;
  --duration: 3.1s;
  --delay: 0s;
  --float-y: 9px;
  position: absolute;
  top: var(--cloud-y);
  left: -30vw;
  width: var(--cloud-size);
  height: calc(var(--cloud-size) * 0.34);
  border-radius: 999px;
  background: radial-gradient(120% 120% at 20% 40%, var(--loader-cloud), var(--loader-cloud-soft));
  opacity: 0.86;
  filter: blur(0.2px);
  will-change: transform, opacity;
  animation: loaderCloudTravel var(--duration) linear infinite;
  animation-delay: var(--delay);
}

.page-loader-cloud::before,
.page-loader-cloud::after {
  content: "";
  position: absolute;
  background: radial-gradient(100% 100% at 46% 46%, var(--loader-cloud), var(--loader-cloud-soft));
  border-radius: 999px;
}

.page-loader-cloud::before {
  width: 46%;
  height: 88%;
  left: 12%;
  top: -34%;
}

.page-loader-cloud::after {
  width: 40%;
  height: 82%;
  right: 12%;
  top: -26%;
}

.page-loader-cloud:nth-child(1) {
  --cloud-size: clamp(180px, 20vw, 310px);
  --cloud-y: 8%;
  --duration: 2.9s;
  --delay: -2.1s;
  --float-y: -12px;
}

.page-loader-cloud:nth-child(2) {
  --cloud-size: clamp(220px, 26vw, 390px);
  --cloud-y: 22%;
  --duration: 3.3s;
  --delay: -0.7s;
  --float-y: 9px;
}

.page-loader-cloud:nth-child(3) {
  --cloud-size: clamp(170px, 18vw, 280px);
  --cloud-y: 34%;
  --duration: 2.7s;
  --delay: -1.8s;
  --float-y: 13px;
}

.page-loader-cloud:nth-child(4) {
  --cloud-size: clamp(210px, 24vw, 360px);
  --cloud-y: 49%;
  --duration: 3.4s;
  --delay: -2.6s;
  --float-y: -10px;
}

.page-loader-cloud:nth-child(5) {
  --cloud-size: clamp(160px, 18vw, 300px);
  --cloud-y: 62%;
  --duration: 2.8s;
  --delay: -0.3s;
  --float-y: 11px;
}

.page-loader-cloud:nth-child(6) {
  --cloud-size: clamp(240px, 27vw, 410px);
  --cloud-y: 71%;
  --duration: 3.5s;
  --delay: -1.2s;
  --float-y: -14px;
}

.page-loader-cloud:nth-child(7) {
  --cloud-size: clamp(190px, 21vw, 320px);
  --cloud-y: 82%;
  --duration: 3s;
  --delay: -2.8s;
  --float-y: 8px;
}

.page-loader-cloud:nth-child(8) {
  --cloud-size: clamp(200px, 23vw, 350px);
  --cloud-y: 14%;
  --duration: 3.2s;
  --delay: -1.1s;
  --float-y: -9px;
}

.page-loader-core {
  position: relative;
  z-index: 2;
  width: min(74vw, 420px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 999px;
  border: 1px solid var(--loader-core-ring);
  background: radial-gradient(70% 70% at 50% 48%, var(--loader-core-bg), transparent 80%);
  box-shadow: inset 0 0 58px rgba(255, 255, 255, 0.08), 0 18px 48px rgba(7, 15, 31, 0.26);
}

.page-loader-core::before {
  content: "";
  position: absolute;
  inset: 13%;
  border-radius: 999px;
  border: 1px solid var(--loader-core-ring);
  opacity: 0;
}

.page-loader-logo {
  width: clamp(178px, 28vw, 320px);
  height: auto;
  filter: var(--loader-logo-filter);
  transform: translate3d(0, 0, 0) scale(0.56);
  opacity: 0.08;
  will-change: transform, opacity;
}

.page-loader.is-visible .page-loader-core::before {
  animation: loaderCorePulse 1.55s ease-out infinite;
}

.page-loader.is-visible .page-loader-logo {
  animation:
    loaderLogoApproach 1.02s cubic-bezier(0.2, 0.85, 0.2, 1) forwards,
    loaderLogoBreath 2.8s ease-in-out 1.02s infinite;
}

@keyframes loaderCloudTravel {
  0% {
    transform: translate3d(-34vw, 0, 0) scale(0.84);
    opacity: 0;
  }
  12% {
    opacity: 0.9;
  }
  50% {
    transform: translate3d(50vw, var(--float-y), 0) scale(1.05);
    opacity: 0.9;
  }
  88% {
    opacity: 0.82;
  }
  100% {
    transform: translate3d(140vw, calc(var(--float-y) * -1), 0) scale(0.9);
    opacity: 0;
  }
}

@keyframes loaderLogoApproach {
  0% {
    transform: translate3d(0, 16px, 0) scale(0.56);
    opacity: 0.08;
    filter: blur(6px) var(--loader-logo-filter);
  }
  58% {
    transform: translate3d(0, -1px, 0) scale(1.08);
    opacity: 1;
    filter: blur(0) var(--loader-logo-filter);
  }
  100% {
    transform: translate3d(0, 0, 0) scale(1);
    opacity: 1;
    filter: blur(0) var(--loader-logo-filter);
  }
}

@keyframes loaderLogoBreath {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(0, -2px, 0) scale(1.03);
  }
}

@keyframes loaderCorePulse {
  0% {
    transform: scale(0.84);
    opacity: 0;
  }
  36% {
    opacity: 0.4;
  }
  100% {
    transform: scale(1.18);
    opacity: 0;
  }
}

.container {
  width: var(--container);
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  background: #fff;
  color: #081229;
  z-index: 300;
}

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

:focus-visible {
  outline: 2px solid rgba(214, 176, 102, 0.9);
  outline-offset: 3px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 120;
  border-bottom: 1px solid rgba(214, 176, 102, 0.18);
  background:
    linear-gradient(180deg, rgba(11, 23, 49, 0.88), rgba(4, 9, 20, 0.92)),
    radial-gradient(860px 160px at 12% 0%, rgba(143, 174, 226, 0.12), transparent 58%),
    radial-gradient(620px 180px at 86% 0%, rgba(214, 176, 102, 0.08), transparent 60%);
  backdrop-filter: blur(16px);
  box-shadow: 0 12px 26px rgba(1, 5, 16, 0.18);
}

.header-shell {
  min-height: 86px;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.header-mobile-actions {
  display: none;
  align-items: center;
  gap: 0.55rem;
  margin-left: auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  flex-shrink: 0;
}

.brand img {
  height: 84px;
  width: auto;
  filter: drop-shadow(0 0 11px rgba(255, 255, 255, 0.42)) drop-shadow(0 10px 24px rgba(0, 0, 0, 0.44));
}

.main-nav {
  margin-inline: auto 0;
  display: flex;
  align-items: center;
}

.mobile-nav-header,
.nav-close,
.nav-footer,
.menu-toggle,
.mobile-menu-overlay {
  display: none;
}

.nav-content {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.nav-item {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.82rem 1rem;
  border-radius: 999px;
  color: var(--sky-200);
  font-size: 0.98rem;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  transition: color 0.22s ease, background-color 0.22s ease, box-shadow 0.22s ease;
}

.nav-item:hover,
.nav-item.active {
  color: var(--text-strong);
  background: linear-gradient(180deg, rgba(214, 176, 102, 0.18), rgba(143, 174, 226, 0.12));
  box-shadow: inset 0 0 0 1px rgba(214, 176, 102, 0.18);
}

.nav-item-arrow {
  display: none;
}

.nav-group {
  position: relative;
}

.nav-group-toggle {
  cursor: pointer;
}

.nav-group-chevron {
  transition: transform 0.2s ease;
}

.nav-group.active .nav-group-toggle,
.nav-group-toggle:hover {
  color: var(--text-strong);
  background: linear-gradient(180deg, rgba(214, 176, 102, 0.18), rgba(143, 174, 226, 0.12));
  box-shadow: inset 0 0 0 1px rgba(214, 176, 102, 0.18);
}

.nav-submenu {
  position: absolute;
  top: calc(100% + 0.55rem);
  left: 0;
  z-index: 40;
  min-width: 250px;
  display: grid;
  gap: 0.4rem;
  padding: 0.55rem;
  border-radius: 16px;
  border: 1px solid rgba(167, 189, 233, 0.2);
  background: rgba(7, 17, 37, 0.96);
  box-shadow: 0 20px 32px rgba(1, 5, 16, 0.32);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}

.nav-subitem {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 12px;
  padding: 0.72rem 0.85rem;
  color: var(--text-muted);
  font-weight: 600;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.nav-subitem:hover,
.nav-subitem.active {
  color: var(--text-strong);
  background: rgba(143, 174, 226, 0.12);
}

.nav-group:hover .nav-submenu,
.nav-group:focus-within .nav-submenu,
.nav-group.is-open .nav-submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.nav-group:hover .nav-group-chevron,
.nav-group:focus-within .nav-group-chevron,
.nav-group.is-open .nav-group-chevron {
  transform: rotate(180deg);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  flex-shrink: 0;
  margin-left: 1rem;
}

.lang-switch,
.lang-switch-mobile-top {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  min-width: 46px;
  min-height: 46px;
  padding: 0.7rem 0.95rem;
  border-radius: 999px;
  border: 1px solid var(--line-soft);
  background: rgba(9, 19, 40, 0.76);
  color: var(--gold-200);
  transition: border-color 0.22s ease, background-color 0.22s ease, transform 0.22s ease;
}

.lang-switch-mobile-top {
  display: none;
}

.lang-switch:hover,
.lang-switch-mobile-top:hover {
  transform: translateY(-1px);
  border-color: rgba(214, 176, 102, 0.34);
  background: rgba(11, 23, 49, 0.94);
}

.lang-switch .fi,
.lang-switch-mobile-top .fi {
  font-size: 1.16rem;
  line-height: 1;
  border-radius: 3px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.86rem 1.24rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.94rem;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  transition: transform 0.22s ease, border-color 0.22s ease, background-color 0.22s ease, box-shadow 0.22s ease;
}

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

.btn-primary {
  color: #fff;
  background: linear-gradient(140deg, #b88937 0%, #d6b066 100%);
  box-shadow: 0 14px 30px rgba(184, 137, 55, 0.24);
}

.btn-primary:hover {
  box-shadow: 0 18px 34px rgba(184, 137, 55, 0.3);
}

.btn-ghost {
  color: var(--text-strong);
  background: rgba(9, 19, 40, 0.72);
  border-color: rgba(167, 189, 233, 0.22);
}

.btn-ghost:hover {
  background: rgba(11, 23, 49, 0.94);
  border-color: rgba(167, 189, 233, 0.34);
}

.section-space {
  padding-block: clamp(3rem, 7vw, 6rem);
}

.section-last {
  padding-bottom: clamp(4rem, 8vw, 6.6rem);
}

.hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(780px 420px at 12% 14%, rgba(214, 176, 102, 0.12), transparent 70%),
    radial-gradient(760px 440px at 88% 8%, rgba(143, 174, 226, 0.12), transparent 66%);
  pointer-events: none;
}

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

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(360px, 0.97fr);
  gap: clamp(1.8rem, 4vw, 4rem);
  align-items: center;
}

.compact-hero .hero-grid {
  align-items: start;
}

.hero-copy {
  max-width: 42rem;
}

.eyebrow {
  margin: 0;
  color: var(--gold-200);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero-copy h1 {
  margin: 0.85rem 0 1rem;
  color: var(--text-strong);
  font-family: "Manrope", sans-serif;
  font-size: clamp(2.5rem, 5.1vw, 4.65rem);
  line-height: 1.03;
  letter-spacing: -0.04em;
}

.lead {
  margin: 0;
  max-width: 40rem;
  color: var(--text-muted);
  font-size: clamp(1.03rem, 1.6vw, 1.2rem);
  line-height: 1.75;
}

.hero-actions {
  margin-top: 1.8rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.theme-media-light {
  display: block;
}

.theme-media-dark {
  display: none;
}

html[data-theme="dark"] .theme-media-light {
  display: none;
}

html[data-theme="dark"] .theme-media-dark {
  display: block;
}

.home-hero-stage {
  display: grid;
  gap: 1.35rem;
}

.home-hero-carousel {
  overflow: hidden;
}

.home-hero-track {
  display: flex;
  transition: transform 0.72s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.hero-slide {
  flex: 0 0 100%;
  min-width: 0;
}

.hero-point-list {
  list-style: none;
  margin: 1.25rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.hero-point-list li {
  display: inline-flex;
  align-items: center;
  padding: 0.62rem 0.9rem;
  border-radius: 999px;
  border: 1px solid var(--line-soft);
  background: var(--panel-muted-bg);
  color: var(--text-strong);
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.2;
  box-shadow: var(--shadow-soft);
}

.home-hero-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.hero-slider-meta {
  display: grid;
  gap: 0.35rem;
}

.hero-slider-dots {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.hero-slider-dot {
  width: 2.55rem;
  height: 0.56rem;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: var(--panel-muted-bg);
  box-shadow: inset 0 0 0 1px var(--line-soft);
  transition: width 0.24s ease, transform 0.24s ease, background-color 0.24s ease, box-shadow 0.24s ease;
}

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

.hero-slider-dot.is-active {
  width: 3.5rem;
  background: linear-gradient(140deg, #b88937 0%, #d6b066 100%);
  box-shadow: 0 10px 22px rgba(184, 137, 55, 0.2);
}

.hero-slider-arrows {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
}

.hero-slider-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.95rem;
  height: 2.95rem;
  padding: 0;
  border-radius: 999px;
  border: 1px solid var(--line-soft);
  background: var(--panel-bg);
  color: var(--text-strong);
  box-shadow: var(--shadow-soft);
  transition: transform 0.22s ease, border-color 0.22s ease, background-color 0.22s ease;
}

.hero-slider-arrow:hover,
.hero-slider-arrow:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(214, 176, 102, 0.28);
}

.hero-slider-arrow svg {
  width: 1.1rem;
  height: 1.1rem;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.auth-prompt {
  display: grid;
  gap: 0.8rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line-soft);
}

.auth-prompt-eyebrow {
  color: var(--gold-200);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.auth-prompt h3,
.auth-prompt h4 {
  margin: 0;
  color: var(--text-strong);
  font-family: "Manrope", sans-serif;
  font-size: 1.08rem;
  letter-spacing: -0.02em;
}

.auth-prompt p {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.68;
}

.auth-prompt-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.hero-visual {
  position: relative;
  margin: 0;
  padding: clamp(1rem, 2vw, 1.35rem);
  border-radius: var(--radius-xl);
  border: 1px solid rgba(167, 189, 233, 0.18);
  background:
    linear-gradient(160deg, rgba(15, 33, 70, 0.78), rgba(8, 19, 40, 0.92)),
    radial-gradient(280px 180px at 80% 16%, rgba(214, 176, 102, 0.16), transparent 70%);
  box-shadow: var(--shadow-deep);
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: auto 10% -12% 10%;
  height: 22%;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(143, 174, 226, 0.16), transparent 72%);
  filter: blur(26px);
  pointer-events: none;
}

.hero-visual img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: calc(var(--radius-xl) - 8px);
  background: linear-gradient(180deg, rgba(10, 23, 48, 0.24), rgba(10, 23, 48, 0.5));
}

.hero-bridge-flow {
  object-fit: contain;
  background: transparent;
  transform-origin: center;
  animation: flowFloat 6.4s ease-in-out infinite;
}

@keyframes flowFloat {
  0% {
    transform: translateY(0) scale(1.06);
  }
  50% {
    transform: translateY(-8px) scale(1.08);
  }
  100% {
    transform: translateY(0) scale(1.06);
  }
}

.page-index .hero {
  padding-top: clamp(2rem, 4vw, 3.25rem);
}

.page-index .hero-copy {
  padding-top: 0.5rem;
}

.page-index .hero-visual {
  justify-self: stretch;
  max-width: none;
}

.page-index .hero-visual img {
  aspect-ratio: 680 / 430;
}

.stat-grid {
  margin-top: 1.75rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.stat-card,
.soft-card,
.icon-bridge article,
.step-list li,
.cta-panel {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line-soft);
  background: linear-gradient(180deg, rgba(12, 26, 56, 0.86), rgba(8, 18, 38, 0.92));
  box-shadow: var(--shadow-soft);
}

.stat-card::before,
.soft-card::before,
.icon-bridge article::before,
.step-list li::before,
.cta-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(140deg, rgba(255, 255, 255, 0.05), transparent 42%);
  pointer-events: none;
}

.stat-card {
  padding: 1.2rem 1.25rem;
}

.stat-card strong {
  display: block;
  color: var(--text-strong);
  font-family: "Manrope", sans-serif;
  font-size: 1.44rem;
  letter-spacing: -0.03em;
}

.stat-card span {
  display: block;
  margin-top: 0.25rem;
  color: var(--text-soft);
  font-size: 0.95rem;
}

.section-title {
  margin: 0 0 1.35rem;
  color: var(--text-strong);
  font-family: "Manrope", sans-serif;
  font-size: clamp(1.7rem, 3vw, 2.55rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.icon-bridge,
.card-grid,
.step-list,
.legal-content {
  display: grid;
  gap: 1rem;
}

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

.icon-bridge article,
.soft-card {
  padding: 1.45rem;
}

.icon-bridge img {
  width: 64px;
  height: 64px;
}

.icon-bridge h3,
.soft-card h2,
.soft-card h3,
.step-list h3,
.cta-panel h3,
.legal-content h2 {
  margin: 0;
  color: var(--text-strong);
  font-family: "Manrope", sans-serif;
  letter-spacing: -0.02em;
}

.icon-bridge h3 {
  margin-top: 1rem;
  font-size: 1.15rem;
}

.icon-bridge p,
.soft-card p,
.step-list p,
.cta-panel p,
.legal-content p {
  margin: 0.7rem 0 0;
  color: var(--text-muted);
  line-height: 1.72;
}

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

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

.soft-card {
  transition: border-color 0.22s ease, transform 0.22s ease;
}

.soft-card:hover,
.icon-bridge article:hover,
.step-list li:hover,
.partner-item:hover,
.social-icon:hover {
  transform: translateY(-3px);
  border-color: rgba(214, 176, 102, 0.26);
}

.soft-card a {
  display: inline-flex;
  margin-top: 0.9rem;
  color: var(--gold-200);
  font-weight: 700;
}

.step-list {
  list-style: none;
  margin: 0;
  padding: 0;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  counter-reset: step;
}

.step-list li {
  padding: 1.4rem;
}

.step-list li::after {
  content: counter(step);
  counter-increment: step;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  margin-bottom: 1rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #b88937, #d6b066);
  color: #fff;
  font-size: 0.92rem;
  font-weight: 800;
  position: relative;
  z-index: 1;
}

.step-list p {
  min-height: 5.4rem;
}

.step-link {
  display: inline-flex;
  margin-top: 0.9rem;
  color: var(--gold-200);
  font-weight: 700;
}

.reference-section .soft-card {
  padding: 1.55rem;
}

.source-list {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.6rem;
}

.source-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.source-list li::before {
  content: "";
  margin-top: 0.45rem;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: linear-gradient(135deg, #b88937, #d6b066);
  flex-shrink: 0;
}

.source-list a {
  color: var(--sky-200);
  line-height: 1.62;
  text-decoration: underline;
  text-decoration-color: rgba(143, 174, 226, 0.42);
  text-underline-offset: 0.12rem;
}

.source-list a:hover {
  color: var(--text-strong);
}

.source-meta {
  margin-top: 1rem;
  color: var(--gold-200);
  font-weight: 700;
  font-size: 0.9rem;
}

.legal-note {
  margin-top: 0.7rem;
  color: var(--text-soft);
  font-size: 0.94rem;
}

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

.audience-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line-soft);
  padding: 1.45rem;
  background: linear-gradient(180deg, rgba(12, 26, 56, 0.86), rgba(8, 18, 38, 0.92));
  box-shadow: var(--shadow-soft);
}

.audience-card h3 {
  margin: 0;
  color: var(--text-strong);
  font-family: "Manrope", sans-serif;
  font-size: 1.25rem;
}

.audience-card p {
  margin: 0.7rem 0 0;
  color: var(--text-muted);
  line-height: 1.7;
}

.audience-card .btn {
  margin-top: 1rem;
}

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

.highlight-strip article {
  border-radius: var(--radius-md);
  border: 1px solid rgba(167, 189, 233, 0.16);
  background: rgba(8, 17, 36, 0.58);
  padding: 1rem 1.05rem;
}

.highlight-strip h3 {
  margin: 0;
  color: var(--text-strong);
  font-size: 1.02rem;
}

.highlight-strip p {
  margin: 0.55rem 0 0;
  color: var(--text-muted);
  line-height: 1.68;
}

.split-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  gap: 1rem;
  align-items: stretch;
}

.tall {
  min-height: 100%;
}

.check-list {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.8rem;
}

.check-list li {
  position: relative;
  padding-left: 1.3rem;
  color: var(--text-muted);
  line-height: 1.68;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65rem;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #b88937, #d6b066);
}

.cta-panel {
  padding: 1.6rem;
  border-color: rgba(214, 176, 102, 0.24);
  background:
    radial-gradient(260px 180px at 92% 0%, rgba(214, 176, 102, 0.14), transparent 68%),
    linear-gradient(180deg, rgba(15, 32, 68, 0.94), rgba(7, 15, 31, 0.98));
}

.cta-panel .btn {
  margin-top: 0.55rem;
  width: fit-content;
}

.contact-form {
  margin-top: 1.2rem;
  display: grid;
  gap: 0.9rem;
}

.contact-form label {
  display: grid;
  gap: 0.4rem;
}

.contact-form span {
  color: var(--sky-200);
  font-size: 0.88rem;
  font-weight: 600;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(167, 189, 233, 0.18);
  border-radius: 14px;
  background: rgba(5, 13, 29, 0.68);
  color: var(--text-strong);
  padding: 0.88rem 0.95rem;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: rgba(214, 176, 102, 0.48);
  box-shadow: 0 0 0 3px rgba(214, 176, 102, 0.12);
}

.contact-form textarea {
  resize: vertical;
}

.form-feedback {
  display: none;
  margin: 0;
  padding: 0.8rem 0.95rem;
  border-radius: 14px;
  border: 1px solid rgba(100, 220, 156, 0.26);
  background: rgba(10, 66, 43, 0.32);
  color: #d7ffe8;
}

.form-feedback.show {
  display: block;
}

.form-feedback--error.show {
  border-color: rgba(255, 100, 100, 0.26);
  background: rgba(66, 10, 10, 0.32);
  color: #ffe8e8;
}

.faq-list {
  display: grid;
  gap: 0.95rem;
}

.faq-list article {
  padding-top: 0.95rem;
  border-top: 1px solid rgba(167, 189, 233, 0.14);
}

.faq-list article:first-child {
  padding-top: 0;
  border-top: 0;
}

.faq-list h3 {
  margin: 0;
}

.faq-list p {
  margin: 0.45rem 0 0;
}

.legal-header {
  max-width: 52rem;
}

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

.page-contact .hero-copy,
.page-contact .legal-header,
.page-about .hero-copy,
.page-platform .hero-copy,
.page-process .hero-copy,
.page-employers .hero-copy,
.page-candidates .hero-copy,
.page-visa_types .hero-copy,
.page-recognition_types .hero-copy,
.page-teachers .hero-copy {
  max-width: 39rem;
}

.jobs-hero .hero-grid {
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
}

.jobs-hero-panel {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(214, 176, 102, 0.24);
  padding: 1.05rem;
  background:
    radial-gradient(320px 180px at 88% 8%, rgba(214, 176, 102, 0.14), transparent 72%),
    linear-gradient(170deg, rgba(15, 32, 68, 0.88), rgba(7, 15, 31, 0.96));
  box-shadow: var(--shadow-soft);
}

.jobs-hero-stat {
  border-radius: 16px;
  border: 1px solid rgba(167, 189, 233, 0.18);
  background: rgba(8, 17, 36, 0.62);
  padding: 0.9rem;
}

.jobs-hero-stat strong {
  display: block;
  color: var(--text-strong);
  font-family: "Manrope", sans-serif;
  font-size: 1.35rem;
  line-height: 1.1;
}

.jobs-hero-stat span {
  display: block;
  margin-top: 0.32rem;
  color: var(--text-soft);
  font-size: 0.9rem;
}

.jobs-feed-note {
  margin: 1rem 0 0;
  padding: 0.7rem 0.82rem;
  border-radius: 12px;
  border: 1px solid rgba(214, 176, 102, 0.34);
  background: rgba(191, 147, 65, 0.14);
  color: var(--gold-200);
  font-size: 0.92rem;
}

.jobs-feed-note-error {
  border-color: rgba(242, 138, 138, 0.36);
  background: rgba(117, 30, 30, 0.36);
  color: #ffd0d0;
}

.jobs-controls {
  padding: 1.25rem;
}

.jobs-controls-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.78rem;
}

.jobs-field {
  display: grid;
  gap: 0.42rem;
}

.jobs-field-search {
  grid-column: span 2;
}

.jobs-field span {
  color: var(--sky-200);
  font-size: 0.84rem;
  font-weight: 700;
}

.jobs-field input,
.jobs-field select {
  width: 100%;
  border: 1px solid rgba(167, 189, 233, 0.2);
  border-radius: 14px;
  background: rgba(5, 13, 29, 0.74);
  color: var(--text-strong);
  min-height: 44px;
  padding: 0 0.82rem;
}

.jobs-field input:focus,
.jobs-field select:focus {
  outline: none;
  border-color: rgba(214, 176, 102, 0.5);
  box-shadow: 0 0 0 3px rgba(214, 176, 102, 0.14);
}

.jobs-controls-foot {
  margin-top: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.jobs-results-meta {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.92rem;
  text-align: right;
}

.jobs-active-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.48rem;
  margin-top: 0.9rem;
}

.jobs-filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.38rem;
  border: 1px solid rgba(214, 176, 102, 0.36);
  border-radius: 999px;
  background: rgba(191, 147, 65, 0.16);
  color: var(--gold-200);
  font-size: 0.84rem;
  font-weight: 700;
  padding: 0.4rem 0.72rem;
  cursor: pointer;
}

.jobs-filter-chip::after {
  content: "×";
  font-size: 0.92rem;
}

.jobs-filter-chip:hover {
  border-color: rgba(214, 176, 102, 0.5);
  background: rgba(191, 147, 65, 0.24);
}

.jobs-results {
  margin-top: 1.1rem;
}

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

.job-card {
  border-radius: var(--radius-lg);
  border: 1px solid rgba(167, 189, 233, 0.2);
  background: linear-gradient(180deg, rgba(12, 26, 56, 0.88), rgba(8, 18, 38, 0.95));
  box-shadow: var(--shadow-soft);
  padding: 1.1rem;
  display: grid;
  gap: 0.86rem;
}

.job-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.85rem;
}

.job-card-brand {
  display: flex;
  align-items: flex-start;
  gap: 0.68rem;
  min-width: 0;
}

.job-company-logo {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(167, 189, 233, 0.18);
  background: rgba(255, 255, 255, 0.95);
  object-fit: contain;
  flex-shrink: 0;
}

.job-brand-text {
  min-width: 0;
}

.job-company {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.86rem;
  line-height: 1.4;
}

.job-title {
  margin: 0.25rem 0 0;
  color: var(--text-strong);
  font-family: "Manrope", sans-serif;
  font-size: 1.1rem;
  line-height: 1.35;
}

.job-title a {
  color: inherit;
}

.job-title a:hover {
  color: var(--gold-200);
}

.job-title-btn {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  color: inherit;
  font: inherit;
  text-align: left;
  width: 100%;
}

.job-title-btn:hover {
  color: var(--gold-200);
}

.job-card-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.35rem;
}

.job-chip {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0.26rem 0.58rem;
  font-size: 0.74rem;
  font-weight: 700;
  border: 1px solid rgba(167, 189, 233, 0.34);
  background: rgba(12, 27, 59, 0.84);
  color: var(--sky-200);
}

.job-chip-alt {
  border-color: rgba(214, 176, 102, 0.34);
  color: var(--gold-200);
}

.job-chip-accent {
  border-color: rgba(139, 224, 173, 0.34);
  color: #cbf5df;
  background: rgba(14, 78, 52, 0.36);
}

.job-location {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.job-excerpt {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.68;
}

.job-card-footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.9rem;
}

.job-card-meta {
  display: grid;
  gap: 0.26rem;
  font-size: 0.82rem;
  color: var(--text-soft);
}

.job-card-actions {
  display: flex;
  gap: 0.45rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.job-card-actions .btn {
  min-height: 38px;
  padding: 0.66rem 0.92rem;
  font-size: 0.82rem;
}

.jobs-empty {
  margin: 1.3rem 0 0;
  border-radius: 16px;
  border: 1px dashed rgba(167, 189, 233, 0.38);
  padding: 1rem;
  text-align: center;
  color: var(--text-soft);
  background: rgba(8, 17, 36, 0.45);
}

.jobs-pagination {
  display: grid;
  place-items: center;
  margin-top: 1rem;
}

.jobs-load-more {
  min-width: min(340px, 100%);
}

.jobs-sentinel {
  width: 100%;
  height: 2px;
}

.jobs-noscript {
  margin-top: 1rem;
}

.jobs-noscript h2 {
  margin: 0;
}

.jobs-noscript p {
  margin: 0.7rem 0 0;
}

.jobs-noscript-list {
  margin-top: 1rem;
  display: grid;
  gap: 0.65rem;
}

.jobs-noscript-item {
  border-top: 1px solid rgba(167, 189, 233, 0.2);
  padding-top: 0.7rem;
}

.jobs-noscript-item:first-child {
  border-top: 0;
  padding-top: 0;
}

.jobs-noscript-item h3 {
  margin: 0;
  font-size: 1.02rem;
}

.jobs-noscript-item p {
  margin: 0.35rem 0 0;
  color: var(--text-soft);
}

/* ── Job detail modal ─────────────────────────────────────────────────────── */
.job-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 310;
  background: rgba(4, 9, 20, 0.85);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem 1rem;
  overflow-y: auto;
}

.job-modal-overlay[hidden] {
  display: none;
}

body.modal-open {
  overflow: hidden;
}

.job-modal {
  position: relative;
  width: min(720px, 100%);
  height: min(680px, calc(100dvh - 2.5rem));
  max-height: calc(100dvh - 2.5rem);
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(167, 189, 233, 0.22);
  background: linear-gradient(180deg, rgba(12, 26, 58, 0.98), rgba(7, 16, 38, 0.99));
  box-shadow: var(--shadow-deep), 0 0 0 1px rgba(214, 176, 102, 0.08);
  overflow: hidden;
}

/* ── Company panel (top section) ─────────────────────────────────────────── */
.job-modal-company-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1.1rem 1.2rem 0.9rem;
  background: rgba(214, 176, 102, 0.06);
  border-bottom: 1px solid rgba(214, 176, 102, 0.14);
  flex-shrink: 0;
}

.job-modal-company-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
}

.job-modal-logo {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.96);
  object-fit: contain;
  flex-shrink: 0;
  padding: 4px;
}

.job-modal-company-info {
  min-width: 0;
}

.job-modal-company {
  margin: 0;
  color: var(--text-strong);
  font-family: "Manrope", sans-serif;
  font-size: 0.97rem;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.job-modal-company-url {
  margin: 0.18rem 0 0;
  color: var(--text-soft);
  font-size: 0.8rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.job-modal-close {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  z-index: 1;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(167, 189, 233, 0.22);
  background: rgba(10, 22, 50, 0.8);
  color: var(--text-soft);
  cursor: pointer;
  transition: background 0.18s, color 0.18s;
}

.job-modal-close:hover {
  background: rgba(214, 176, 102, 0.18);
  color: var(--gold-200);
}

/* ── Modal header (title area) ───────────────────────────────────────────── */
.job-modal-header {
  padding: 0.9rem 1.2rem 0.5rem;
  border-bottom: 1px solid var(--line-soft);
  flex-shrink: 0;
}

.job-modal-title {
  margin: 0;
  color: var(--text-strong);
  font-family: "Manrope", sans-serif;
  font-size: 1.15rem;
  line-height: 1.35;
  padding-right: 2.5rem;
}

.job-modal-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  padding: 0.75rem 1.2rem 0;
  flex-shrink: 0;
}

.job-modal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1rem;
  padding: 0.5rem 1.2rem 0;
  flex-shrink: 0;
}

.job-modal-meta-item {
  color: var(--text-soft);
  font-size: 0.82rem;
}

.job-modal-body {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 1rem 1.2rem;
  color: var(--text-muted);
  line-height: 1.72;
  font-size: 0.95rem;
  overscroll-behavior: contain;
  overflow-wrap: break-word;
  word-break: break-word;
}

.job-modal-body h1,
.job-modal-body h2,
.job-modal-body h3,
.job-modal-body h4 {
  color: var(--text-strong);
  font-family: "Manrope", sans-serif;
  margin: 1.2rem 0 0.4rem;
}

.job-modal-body h1:first-child,
.job-modal-body h2:first-child,
.job-modal-body h3:first-child {
  margin-top: 0;
}

.job-modal-body p {
  margin: 0 0 0.75rem;
}

.job-modal-body ul,
.job-modal-body ol {
  padding-left: 1.4rem;
  margin: 0 0 0.75rem;
}

.job-modal-body li {
  margin-bottom: 0.28rem;
}

.job-modal-body a {
  color: var(--gold-400);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.job-modal-body a:hover {
  color: var(--gold-200);
}

.job-modal-body strong,
.job-modal-body b {
  color: var(--text-strong);
}

.job-modal-footer {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  padding: 0.85rem 1.2rem 1.1rem;
  border-top: 1px solid var(--line-soft);
  flex-shrink: 0;
}

.job-modal-footer .btn {
  flex: 1;
  min-width: 140px;
  text-align: center;
  justify-content: center;
}

.page-error .hero {
  padding-top: clamp(1.6rem, 3vw, 2.5rem);
}

.error-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(300px, 0.98fr);
  gap: clamp(1.2rem, 3.4vw, 2.5rem);
  align-items: stretch;
}

.error-copy h1 {
  max-width: 18ch;
}

.error-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.35rem;
  padding: 0.48rem 0.74rem;
  border-radius: 999px;
  border: 1px solid rgba(214, 176, 102, 0.28);
  background: rgba(13, 28, 57, 0.8);
  color: var(--gold-200);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.error-actions {
  margin-top: 1.5rem;
}

.error-visual {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(167, 189, 233, 0.2);
  background:
    radial-gradient(300px 220px at 80% 12%, rgba(214, 176, 102, 0.15), transparent 72%),
    radial-gradient(320px 200px at 16% 84%, rgba(143, 174, 226, 0.2), transparent 72%),
    linear-gradient(170deg, rgba(16, 33, 68, 0.86), rgba(7, 15, 31, 0.96));
  min-height: clamp(280px, 34vw, 390px);
  box-shadow: var(--shadow-deep);
  isolation: isolate;
}

.error-visual::before {
  content: "";
  position: absolute;
  inset: -24%;
  background: conic-gradient(from 0deg, transparent 0deg, rgba(143, 174, 226, 0.2) 120deg, transparent 220deg);
  animation: errorSweep 8s linear infinite;
  opacity: 0.5;
  pointer-events: none;
}

.error-code-shell {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  place-content: center;
  gap: 0.45rem;
  text-align: center;
}

.error-code-shell strong {
  margin: 0;
  color: var(--text-strong);
  font-family: "Manrope", sans-serif;
  font-size: clamp(3.4rem, 9.2vw, 7rem);
  line-height: 0.9;
  letter-spacing: -0.05em;
  text-shadow: 0 16px 36px rgba(1, 5, 16, 0.5);
  animation: errorPulse 3.8s ease-in-out infinite;
}

.error-code-shell p {
  margin: 0;
  color: var(--gold-200);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.8rem;
}

.error-orb {
  position: absolute;
  border-radius: 999px;
  filter: blur(2px);
  pointer-events: none;
}

.error-orb-a {
  width: 150px;
  height: 150px;
  top: 12%;
  left: 8%;
  background: radial-gradient(circle, rgba(214, 176, 102, 0.48), rgba(214, 176, 102, 0.08) 66%, transparent 74%);
  animation: errorFloatA 6.8s ease-in-out infinite;
}

.error-orb-b {
  width: 188px;
  height: 188px;
  right: 8%;
  bottom: 10%;
  background: radial-gradient(circle, rgba(143, 174, 226, 0.5), rgba(143, 174, 226, 0.08) 68%, transparent 76%);
  animation: errorFloatB 7.2s ease-in-out infinite;
}

.error-orb-c {
  width: 108px;
  height: 108px;
  left: 46%;
  bottom: 18%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.35), rgba(255, 255, 255, 0.05) 70%, transparent 82%);
  animation: errorFloatC 5.8s ease-in-out infinite;
}

.page-error code {
  display: inline-block;
  margin-top: 0.2rem;
  padding: 0.32rem 0.48rem;
  border-radius: 10px;
  border: 1px solid rgba(167, 189, 233, 0.22);
  background: rgba(5, 13, 29, 0.76);
  color: var(--sky-200);
  font-size: 0.86rem;
  word-break: break-word;
}

.error-reference {
  display: inline-flex;
  align-items: center;
  padding: 0.36rem 0.56rem;
  border-radius: 10px;
  border: 1px solid rgba(214, 176, 102, 0.3);
  background: rgba(191, 147, 65, 0.14);
  color: var(--gold-200);
  font-family: "Manrope", sans-serif;
  font-weight: 700;
  letter-spacing: 0.08em;
}

@keyframes errorSweep {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes errorPulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.04);
  }
}

@keyframes errorFloatA {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(10px, -10px, 0);
  }
}

@keyframes errorFloatB {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(-12px, 9px, 0);
  }
}

@keyframes errorFloatC {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(0, -11px, 0);
  }
}

.site-footer {
  position: relative;
  overflow: hidden;
  margin-top: 1rem;
  border-top: 1px solid rgba(214, 176, 102, 0.16);
  background:
    radial-gradient(760px 280px at 14% 0%, rgba(143, 174, 226, 0.12), transparent 62%),
    radial-gradient(620px 240px at 86% 0%, rgba(214, 176, 102, 0.09), transparent 62%),
    linear-gradient(180deg, rgba(8, 18, 39, 0.98), rgba(4, 9, 20, 1));
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(143, 174, 226, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(143, 174, 226, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}

.footer-content,
.footer-bottom {
  position: relative;
  z-index: 1;
}

.footer-content {
  padding-block: 3rem 2.25rem;
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(210px, 0.52fr) minmax(0, 1.48fr);
  gap: 2.2rem;
}

.footer-brand {
  display: grid;
  align-content: start;
  gap: 1rem;
  max-width: 18.6rem;
}

.footer-brand img {
  height: 100px;
  width: auto;
  filter: drop-shadow(0 0 11px rgba(255, 255, 255, 0.42)) drop-shadow(0 10px 22px rgba(0, 0, 0, 0.42));
}

.footer-tagline {
  margin: 0;
  max-width: 22rem;
  color: var(--text-muted);
  line-height: 1.68;
  font-size: 1rem;
}

.footer-links-column h3,
.partners-heading {
  margin: 0 0 1rem;
  color: var(--text-strong);
  font-family: "Manrope", sans-serif;
  font-size: 1.04rem;
}

.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.1rem;
  height: 2.1rem;
  padding: 0;
  border-radius: var(--radius-md);
  border: 1px solid rgba(167, 189, 233, 0.16);
  background: rgba(9, 19, 40, 0.54);
  transition: transform 0.22s ease, border-color 0.22s ease, background-color 0.22s ease;
}

.social-icon img {
  width: 0.95rem;
  height: 0.95rem;
  filter: brightness(0) saturate(100%) invert(96%) sepia(14%) saturate(878%) hue-rotate(314deg) brightness(102%) contrast(93%);
}

.footer-social-inline {
  margin-top: 0.95rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.footer-links-group {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
}

.footer-links-column ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

.footer-links-column li {
  display: flex;
  gap: 0.55rem;
  align-items: flex-start;
}

.footer-links-column li a,
.footer-links-column li span {
  color: var(--text-muted);
  line-height: 1.6;
}

.footer-links-column li a:hover {
  color: var(--text-strong);
}

.contact-list {
  gap: 0.7rem;
}

.contact-icon {
  min-width: 18px;
  min-height: 18px;
  margin-top: 0.2rem;
  color: var(--gold-400);
}

.footer-partners-section {
  margin-top: 2.25rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(167, 189, 233, 0.1);
}

.partners-heading {
  margin-bottom: 1.1rem;
  font-size: 1.2rem;
}

.partners-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.85rem 1.15rem;
}

.partner-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.48rem;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(167, 189, 233, 0.14);
  background: rgba(8, 17, 36, 0.46);
  transition: transform 0.22s ease, border-color 0.22s ease;
}

.partner-item:hover {
  border-color: rgba(214, 176, 102, 0.3);
}

.partner-icon {
  width: 1.15rem;
  height: 1.15rem;
  object-fit: contain;
  flex-shrink: 0;
}

.partner-label {
  color: var(--text-strong);
  font-weight: 700;
  text-align: center;
  font-size: 0.94rem;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1.2rem 1.8rem;
  border-top: 1px solid rgba(167, 189, 233, 0.1);
}

.footer-copyright {
  margin: 0;
  color: var(--text-soft);
}

.footer-meta {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.footer-signature {
  color: var(--gold-200);
  font-weight: 700;
}

.back-to-top {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.75rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(167, 189, 233, 0.16);
  background: rgba(8, 17, 36, 0.56);
  color: var(--text-strong);
  font-weight: 700;
  cursor: pointer;
}

.reveal {
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal[data-reveal-state="pending"] {
  opacity: 0;
  transform: translateY(24px);
}

.reveal[data-reveal-state="visible"] {
  opacity: 1;
  transform: none;
}

@media (max-width: 1180px) {
  .header-shell {
    min-height: 80px;
  }

  .header-mobile-actions {
    display: flex;
  }

  .lang-switch-mobile-top {
    display: inline-flex;
    min-width: 44px;
    min-height: 44px;
    padding: 0;
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.8rem 0.9rem;
    border-radius: 999px;
    border: 1px solid var(--control-border);
    background: var(--control-bg);
    color: var(--text-strong);
    cursor: pointer;
  }

  .menu-toggle strong {
    font-size: 0.9rem;
    font-weight: 700;
  }

  .menu-icon {
    display: inline-flex;
    flex-direction: column;
    gap: 4px;
  }

  .menu-icon span {
    width: 18px;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
    transition: transform 0.24s ease, opacity 0.24s ease;
  }

  body.menu-open .menu-icon span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }

  body.menu-open .menu-icon span:nth-child(2) {
    opacity: 0;
  }

  body.menu-open .menu-icon span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

  .main-nav {
    position: fixed;
    top: 0;
    right: 0;
    width: min(360px, 92vw);
    height: 100dvh;
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 1rem;
    background: var(--panel-bg-strong);
    border-left: 1px solid var(--panel-border-strong);
    box-shadow: var(--shadow-deep);
    transform: translateX(100%);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: transform 0.28s ease, opacity 0.28s ease, visibility 0.28s ease;
  }

  body.menu-open .main-nav {
    transform: translateX(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .mobile-nav-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding-bottom: 0.95rem;
    border-bottom: 1px solid var(--line-soft);
  }

  .mobile-nav-header img {
    height: 46px;
    width: auto;
    filter: var(--brand-filter);
  }

  .nav-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 14px;
    border: 1px solid var(--control-border);
    background: var(--control-bg);
    cursor: pointer;
  }

  .nav-content {
    flex-direction: column;
    align-items: stretch;
    gap: 0.6rem;
    margin-top: 0.95rem;
  }

  .nav-item,
  .nav-group-toggle {
    width: 100%;
    justify-content: space-between;
    padding: 0.88rem 0.95rem;
    border-radius: 16px;
    border: 1px solid var(--panel-border);
    background: var(--panel-muted-bg-soft);
  }

  .nav-item-arrow {
    display: block;
    color: var(--gold-200);
  }

  .nav-group-chevron {
    color: var(--gold-200);
  }

  .nav-submenu {
    position: static;
    min-width: 0;
    margin: 0.2rem 0 0.15rem;
    padding: 0.1rem 0 0.1rem 0.75rem;
    border: 0;
    border-left: 1px solid var(--panel-border);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    pointer-events: auto;
    display: none;
  }

  .nav-subitem {
    border-radius: 12px;
    padding: 0.64rem 0.72rem;
    background: var(--panel-muted-bg);
  }

  .nav-group.is-open .nav-submenu,
  .nav-group.active .nav-submenu {
    display: grid;
  }

  .nav-footer {
    display: grid;
    gap: 0.65rem;
    margin-top: 0.85rem;
    padding-top: 0.85rem;
    border-top: 1px solid var(--line-soft);
  }

  .nav-actions {
    display: grid;
    gap: 0.75rem;
  }

  .nav-actions .btn {
    width: 100%;
  }

  .header-actions {
    display: none;
  }

  .mobile-menu-overlay {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 119;
    background: var(--overlay-bg);
    backdrop-filter: blur(6px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.28s ease, visibility 0.28s ease;
  }

  body.menu-open .mobile-menu-overlay {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .hero-grid,
  .split-layout,
  .footer-main {
    grid-template-columns: 1fr;
  }

  .jobs-hero .hero-grid {
    grid-template-columns: 1fr;
  }

  .jobs-hero .hero-copy {
    max-width: none;
  }

  .page-jobs .hero-grid {
    grid-template-columns: 1fr !important;
  }

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

  .jobs-field-search {
    grid-column: span 2;
  }

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

  .page-index .hero-visual {
    justify-self: stretch;
    max-width: none;
  }

  .home-hero-controls {
    align-items: flex-start;
  }

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

  .partners-grid {
    justify-content: flex-start;
  }
}

@media (max-width: 920px) {
  .container {
    width: min(1180px, calc(100% - 2rem));
  }

  .hero-copy h1 {
    font-size: clamp(2.2rem, 7vw, 3.7rem);
  }

  .stat-grid,
  .icon-bridge,
  .card-grid,
  .step-list,
  .legal-content,
  .audience-grid,
  .highlight-strip {
    grid-template-columns: 1fr;
  }

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

  .jobs-controls-grid {
    grid-template-columns: 1fr;
  }

  .jobs-field-search {
    grid-column: auto;
  }

  .jobs-controls-foot {
    flex-direction: column;
    align-items: stretch;
  }

  .jobs-results-meta {
    text-align: left;
  }

  .page-contact .card-grid {
    grid-template-columns: 1fr;
  }

  .step-list p {
    min-height: auto;
  }

  .footer-links-group {
    grid-template-columns: 1fr;
  }

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

  .error-visual {
    min-height: clamp(240px, 52vw, 320px);
  }
}

@media (max-width: 760px) {
  .page-loader-core {
    width: min(86vw, 340px);
  }

  .page-loader-clouds {
    inset: -14% -18%;
    opacity: 0.9;
  }

  .page-loader-cloud {
    opacity: 0.78;
  }

  .container {
    width: min(1180px, calc(100% - 1.4rem));
  }

  .site-header {
    backdrop-filter: blur(12px);
  }

  .header-shell {
    min-height: 82px;
  }

  .brand img {
    height: 55px;
  }

  .hero-copy h1 {
    font-size: clamp(2rem, 9vw, 3rem);
  }

  .home-hero-controls {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-slider-meta {
    gap: 0.75rem;
  }

  .hero-slider-arrows {
    justify-content: space-between;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn,
  .cta-panel .btn,
  .back-to-top {
    width: 100%;
    justify-content: center;
  }

  .auth-prompt-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .auth-prompt-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .hero-point-list li {
    width: 100%;
    justify-content: center;
  }

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

  .jobs-hero-panel {
    grid-template-columns: 1fr;
  }

  .job-card-head {
    flex-direction: column;
    align-items: stretch;
  }

  .job-card-chips {
    justify-content: flex-start;
  }

  .job-card-brand {
    width: 100%;
  }

  .job-card-footer {
    flex-direction: column;
    align-items: stretch;
  }

  .job-card-actions {
    justify-content: stretch;
  }

  .job-card-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.5rem;
  }

  .footer-main {
    gap: 1.7rem;
  }

  .site-footer {
    font-size: 0.94rem;
  }

  .footer-brand {
    max-width: none;
    justify-items: center;
    text-align: center;
  }

  .footer-brand img {
    margin-inline: auto;
  }

  .footer-tagline {
    max-width: 32ch;
    text-align: center;
  }

  .footer-links-group {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem 0.9rem;
  }

  .footer-links-group .footer-links-column:nth-child(-n+2) {
    justify-items: center;
    text-align: center;
  }

  .footer-links-group .footer-links-column:nth-child(-n+2) li {
    justify-content: center;
  }

  .footer-links-group .footer-links-column:nth-child(3) {
    grid-column: 1 / -1;
    justify-items: center;
    text-align: center;
  }

  .footer-links-group .footer-links-column:nth-child(3) .contact-list {
    justify-items: center;
  }

  .footer-links-group .footer-links-column:nth-child(3) .contact-list li {
    justify-content: center;
  }

  .footer-links-group .footer-links-column:nth-child(3) .footer-social-inline {
    justify-content: center;
  }

  .footer-partners-section {
    text-align: center;
  }

  .footer-meta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.55rem;
    width: 100%;
  }

  .footer-links-column h3,
  .partners-heading {
    font-size: 0.98rem;
  }

  .footer-tagline,
  .footer-links-column li a,
  .footer-links-column li span,
  .partner-label,
  .footer-copyright,
  .footer-signature,
  .back-to-top {
    font-size: 0.9rem;
  }

  .footer-signature {
    line-height: 1.35;
  }

  .back-to-top {
    width: auto;
    min-width: 168px;
  }

  .partners-grid {
    justify-content: center;
  }

  .error-chip {
    font-size: 0.75rem;
  }

  .error-code-shell strong {
    font-size: clamp(2.9rem, 18vw, 4.8rem);
  }

  /* ── Job modal – tablet / large phone ─────────────────────────────────── */
  .job-modal-overlay {
    padding: 0.5rem 0.5rem 0;
    align-items: flex-end;
  }

  .job-modal {
    width: 100%;
    height: 88dvh;
    max-height: 88dvh;
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  }

  .job-modal-company-panel {
    padding: 0.85rem 1rem 0.75rem;
  }

  .job-modal-logo {
    width: 44px;
    height: 44px;
  }

  .job-modal-header {
    padding: 0.75rem 1rem 0.45rem;
  }

  .job-modal-title {
    font-size: 1.05rem;
  }

  .job-modal-chips {
    padding: 0.6rem 1rem 0;
  }

  .job-modal-meta {
    padding: 0.4rem 1rem 0;
  }

  .job-modal-body {
    padding: 0.85rem 1rem;
  }

  .job-modal-footer {
    padding: 0.75rem 1rem 1.1rem;
  }

  .job-modal-footer .btn {
    min-width: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-loader,
  .page-loader * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .page-loader-clouds {
    display: none;
  }

  .page-loader-logo {
    transform: scale(1);
    opacity: 1;
  }
}

@media (max-width: 480px) {
  /* ── Job modal – small phone ───────────────────────────────────────────── */
  .job-modal-overlay {
    padding: 0;
  }

  .job-modal {
    height: 100dvh;
    max-height: 100dvh;
    border-radius: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }

  .reveal,
  .reveal[data-reveal-state="pending"],
  .reveal[data-reveal-state="visible"] {
    opacity: 1 !important;
    transform: none !important;
  }
}
