:root {
  --color-primary: #c234ff;
  --color-secondary: #16325c;
  --color-accent: #23d8ff;
  --color-bg: #eef4fb;
  --color-surface: #ffffff;
  --color-text: #233041;
  --color-muted: #5b6678;
  --radius-lg: 22px;
  --shadow-soft: 0 18px 40px rgba(22, 50, 92, 0.16);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

img {
  max-width: 100%;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  font-family: "Montserrat", sans-serif;
  color: var(--color-text);
  background:
    radial-gradient(circle at top left, rgba(194, 52, 255, 0.12), transparent 32%),
    radial-gradient(circle at top right, rgba(35, 216, 255, 0.14), transparent 28%),
    var(--color-bg);
  line-height: 1.7;
  overflow-x: hidden;
}

html.js-page-transition body.page-transition-ready {
  transition: opacity 0.22s ease;
  will-change: opacity;
}

html.js-page-transition body.page-is-entering,
html.js-page-transition body.page-is-leaving {
  opacity: 0;
}

body.no-scroll {
  overflow: hidden;
}

section[id] {
  scroll-margin-top: 7rem;
}

.hero {
  position: relative;
  color: var(--color-secondary);
  min-height: 64vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.5rem 1.15rem;
  background:
    linear-gradient(135deg, rgba(13, 24, 42, 0.18), rgba(255, 255, 255, 0.22)),
    url("wallpaper-team-aktiv-768.webp") center/cover no-repeat;
}

@media (min-width: 768px) {
  .hero {
    background:
      linear-gradient(135deg, rgba(13, 24, 42, 0.18), rgba(255, 255, 255, 0.22)),
      url("wallpaper-team-aktiv-1280.webp") center/cover no-repeat;
  }
}

@media (min-width: 1600px) {
  .hero {
    background:
      linear-gradient(135deg, rgba(13, 24, 42, 0.18), rgba(255, 255, 255, 0.22)),
      url("wallpaper-team-aktiv.webp") center/cover no-repeat;
  }
}

.top-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  max-width: 100vw;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.38rem clamp(0.8rem, 1.7vw, 1.35rem);
  border-radius: 0;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(14px);
  box-shadow: 0 14px 34px rgba(22, 50, 92, 0.12);
  border-bottom: 1px solid rgba(22, 50, 92, 0.08);
  z-index: 200;
  font-weight: 600;
  overflow: hidden;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  margin-right: 0.35rem;
}

.brand img {
  display: block;
  height: 34px;
  width: auto;
}

.top-nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  min-width: 0;
  max-width: 100%;
  width: auto;
}

.top-nav-links a,
.nav-button {
  color: #12294f;
  background: rgba(255, 255, 255, 0.92);
  padding: 0.24rem 0.66rem;
  border-radius: 999px;
  box-shadow: 0 6px 18px rgba(22, 50, 92, 0.09);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.nav-button {
  border: none;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.top-nav-links a {
  text-decoration: none;
}

.nav-socials {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.nav-icon-link {
  width: 40px;
  min-width: 40px;
  min-height: 40px;
  padding: 0;
  color: #ffffff !important;
  border: 1px solid transparent;
  box-shadow: 0 12px 24px rgba(22, 50, 92, 0.16) !important;
}

.nav-icon-link--facebook {
  background: linear-gradient(180deg, #1877f2, #0f5fcb) !important;
}

.nav-icon-link--instagram {
  background: linear-gradient(135deg, #f58529, #feda77 24%, #dd2a7b 54%, #8134af 78%, #515bd4) !important;
}

.nav-icon-link svg {
  width: 19px;
  height: 19px;
  fill: currentColor;
}

.nav-icon-link:hover,
.nav-icon-link:focus {
  transform: translateY(-1px) scale(1.03);
  box-shadow: 0 16px 28px rgba(22, 50, 92, 0.2) !important;
}

.top-nav-links a:hover,
.top-nav-links a:focus,
.nav-button:hover,
.nav-button:focus {
  transform: translateY(-1px);
  box-shadow: 0 12px 22px rgba(22, 50, 92, 0.16);
  color: #0a1f40;
  background: #ffffff;
}

.hero .overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 24% 38%, rgba(194, 52, 255, 0.24), transparent 22%),
    radial-gradient(circle at 74% 44%, rgba(35, 216, 255, 0.2), transparent 26%),
    linear-gradient(135deg, rgba(10, 18, 32, 0.48), rgba(255, 255, 255, 0.78));
}

.hero-content {
  position: relative;
  width: min(1380px, 100%);
  margin-top: 4.1rem;
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(320px, 0.9fr);
  gap: 1.35rem;
  align-items: center;
  animation: fade-up 0.75s ease both;
}

.hero-copy,
.hero-visual {
  display: grid;
  gap: 0.8rem;
}

.hero-copy {
  justify-items: start;
  text-align: left;
}

.hero-visual {
  justify-items: center;
}

.hero-logo {
  width: min(460px, 100%);
  height: auto;
  border-radius: 30px;
  box-shadow:
    0 0 0 10px rgba(255, 255, 255, 0.8),
    0 22px 55px rgba(22, 50, 92, 0.2);
  filter: drop-shadow(0 16px 34px rgba(22, 50, 92, 0.14));
}

.hero-eyebrow {
  padding: 0.45rem 1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--color-secondary);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.hero h1 {
  font-family: "Playfair Display", serif;
  font-size: clamp(2rem, 3.8vw, 3.65rem);
  letter-spacing: 0.01em;
  line-height: 1.02;
  max-width: 20ch;
}

.hero-lead {
  max-width: 760px;
  font-size: 0.98rem;
  color: rgba(35, 48, 65, 0.9);
}

.hero p {
  font-size: 1rem;
}

.hero-actions {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-start;
}

.hero-helper-link {
  border: none;
  background: transparent;
  color: var(--color-secondary);
  font: inherit;
  font-weight: 700;
  padding: 0;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 0.2rem;
}

.hero-helper-link:hover,
.hero-helper-link:focus-visible {
  color: #0a1f40;
}

.hero-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
}

.hero-point {
  display: grid;
  gap: 0.18rem;
  padding: 0.72rem 0.9rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(22, 50, 92, 0.08);
  color: var(--color-secondary);
  box-shadow: 0 12px 20px rgba(22, 50, 92, 0.07);
  animation: fade-up 0.8s ease both;
}

.hero-point strong {
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-primary);
}

.hero-point span {
  color: var(--color-secondary);
  line-height: 1.35;
  font-size: 0.96rem;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(35, 216, 255, 0.65);
  outline-offset: 3px;
}

.hero-note {
  max-width: 900px;
  color: rgba(22, 50, 92, 0.78);
  font-weight: 600;
  font-size: 0.95rem;
}

.hero-proof-card {
  display: grid;
  gap: 0.7rem;
  width: min(390px, 100%);
  padding: 1rem;
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(22, 50, 92, 0.08);
  box-shadow: var(--shadow-soft);
}

.hero-proof-item {
  display: grid;
  gap: 0.3rem;
  padding: 0.8rem 0.9rem;
  border-radius: 16px;
  background: rgba(238, 244, 251, 0.76);
}

.hero-proof-item strong {
  color: var(--color-secondary);
}

.hero-proof-item span {
  color: var(--color-muted);
}

.hero-proof-flags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 0.2rem;
}

.hero-language-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 42px;
  padding: 0.38rem 0.75rem;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(239, 244, 250, 0.94));
  border: 1px solid rgba(22, 50, 92, 0.08);
  box-shadow: 0 10px 18px rgba(22, 50, 92, 0.08);
  color: var(--color-secondary);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.hero-language-chip:hover,
.hero-language-chip:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(35, 216, 255, 0.28);
  box-shadow: 0 14px 24px rgba(22, 50, 92, 0.12);
  outline: none;
}

.hero-language-chip-flag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: inset 0 0 0 1px rgba(22, 50, 92, 0.06);
  overflow: hidden;
}

.hero-language-chip-flag-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-language-chip-label {
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1;
}

.hero-proof-list {
  display: grid;
  gap: 0.35rem;
  margin: 0.1rem 0 0;
  padding-left: 1.1rem;
  color: var(--color-muted);
}

.cta {
  display: inline-block;
  padding: 0.9rem 2.5rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--color-primary), #2a48ff);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  border: none;
  font: inherit;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 16px 30px rgba(87, 55, 255, 0.3);
}

.cta-secondary {
  background: rgba(255, 255, 255, 0.78);
  color: var(--color-secondary);
  border: 1px solid rgba(22, 50, 92, 0.12);
  box-shadow: 0 10px 24px rgba(22, 50, 92, 0.08);
}

.cta-ghost {
  background: rgba(22, 50, 92, 0.82);
  box-shadow: 0 12px 24px rgba(22, 50, 92, 0.18);
}

.cta-secondary:hover {
  box-shadow: 0 16px 28px rgba(22, 50, 92, 0.14);
}

.cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 38px rgba(87, 55, 255, 0.36);
}

.section {
  padding: 4.5rem 1.5rem;
  max-width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
}

.section-panel {
  margin-top: 2rem;
  padding: 2.3rem;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(22, 50, 92, 0.08);
  box-shadow: var(--shadow-soft);
}

.section h2 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  text-align: center;
  margin-bottom: 2rem;
  font-family: "Playfair Display", serif;
  color: var(--color-secondary);
}

.section-lead {
  text-align: center;
  max-width: 750px;
  margin: 0 auto 3rem;
  color: var(--color-muted);
}

.plans-lead {
  margin-bottom: 2rem;
}

.plans-actions {
  display: flex;
  justify-content: center;
  margin: 0 0 1.4rem;
}

.plans .section-heading {
  gap: 0.45rem;
  margin-bottom: 1.35rem;
}

.plans .subtitle {
  max-width: 18ch;
  margin-inline: auto;
  font-size: clamp(2.15rem, 3.4vw, 3.55rem);
  line-height: 1.12;
}

.plans .section-lead {
  max-width: 760px;
  margin-bottom: 1.6rem;
}

.levels-panel {
  display: grid;
  gap: 1.1rem;
}

.section-heading {
  display: grid;
  gap: 0.65rem;
  margin-bottom: 2rem;
}

.section-heading h2 {
  margin-bottom: 0;
}

.section-heading .section-lead {
  margin-bottom: 0;
}

.section-tag {
  justify-self: center;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  background: rgba(194, 52, 255, 0.08);
  color: var(--color-primary);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section-tag--brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.section-tag--brand img {
  height: 18px;
  width: auto;
  display: block;
}

.trust-band {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 0;
  position: relative;
  z-index: 1;
}

.trust-item {
  display: grid;
  gap: 0.35rem;
  padding: 1.35rem 1.2rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(22, 50, 92, 0.08);
  box-shadow: var(--shadow-soft);
}

.trust-item strong {
  color: var(--color-secondary);
  font-size: 1rem;
}

.trust-item span {
  color: var(--color-muted);
  font-size: 0.95rem;
}

.why-panel {
  display: grid;
  gap: 1.4rem;
}

.why-panel .section-heading {
  margin-bottom: 0;
}

.audience-section {
  display: grid;
  gap: 1.4rem;
}

.audience-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
}

.audience-card {
  display: grid;
  gap: 0.75rem;
  padding: 1.55rem;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(238, 244, 251, 0.92));
  border: 1px solid rgba(22, 50, 92, 0.08);
  box-shadow: var(--shadow-soft);
}

.audience-label {
  width: fit-content;
  padding: 0.42rem 0.78rem;
  border-radius: 999px;
  background: rgba(35, 216, 255, 0.12);
  color: var(--color-secondary);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.audience-card h3 {
  color: var(--color-secondary);
  font-size: 1.16rem;
}

.audience-card p {
  color: var(--color-muted);
}

.benefit-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
  margin: 1.5rem 0 2rem;
}

.benefit-card {
  padding: 1.5rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(35, 216, 255, 0.18);
  box-shadow: var(--shadow-soft);
}

.benefit-card h3 {
  margin-bottom: 0.65rem;
  color: var(--color-secondary);
}

.benefit-card p {
  color: var(--color-muted);
}

.value-grid,
.pricing-grid,
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
}

.value-card,
.pricing-card,
.step-card {
  display: grid;
  gap: 0.65rem;
  padding: 1.5rem;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(238, 244, 251, 0.9));
  border: 1px solid rgba(22, 50, 92, 0.08);
}

.value-card h3,
.pricing-card h3,
.step-card h3 {
  color: var(--color-secondary);
  font-size: 1.12rem;
}

.value-card p,
.pricing-card p,
.step-card p {
  color: var(--color-muted);
}

.pricing-cta {
  display: flex;
  justify-content: center;
  margin-top: 1.6rem;
}

.parents-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1.4rem;
  align-items: stretch;
}

.parents-copy,
.parents-highlight {
  border-radius: 22px;
  padding: 1.6rem;
}

.parents-copy {
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(22, 50, 92, 0.08);
}

.parents-copy p {
  color: var(--color-muted);
}

.parents-list {
  display: grid;
  gap: 0.8rem;
  margin-top: 1rem;
  padding-left: 0;
}

.parents-list li {
  position: relative;
  padding-left: 1.6rem;
  color: var(--color-text);
}

.parents-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7rem;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
}

.parents-highlight {
  display: grid;
  align-content: start;
  gap: 1rem;
  background: linear-gradient(140deg, rgba(194, 52, 255, 0.12), rgba(35, 216, 255, 0.18));
  border: 1px solid rgba(35, 216, 255, 0.18);
  box-shadow: var(--shadow-soft);
}

.parents-highlight h3 {
  color: var(--color-secondary);
}

.parents-badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  color: var(--color-primary);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.step-card {
  position: relative;
  padding-top: 4rem;
}

.step-number {
  position: absolute;
  top: 1.1rem;
  left: 1.3rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--color-primary), #2a48ff);
  color: #fff;
  font-weight: 700;
}

.parent-prompt {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.7rem 1.9rem;
  margin-bottom: 2.2rem;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(194, 52, 255, 0.1), rgba(35, 216, 255, 0.12));
  border: 1px solid rgba(35, 216, 255, 0.18);
  box-shadow: var(--shadow-soft);
}

.parent-prompt h3 {
  margin-bottom: 0.4rem;
  color: var(--color-secondary);
}

.parent-prompt p {
  color: var(--color-muted);
}

.parent-prompt-label {
  margin-bottom: 0.35rem;
  color: var(--color-primary);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.plan-grid,
.language-grid,
.story-cards,
.testimonial-grid {
  display: grid;
  gap: 1.8rem;
}

.plan-grid {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.plan {
  background: #fff;
  padding: 2.4rem 2.2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  border-top: 6px solid var(--color-primary);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.plan-header {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.plan h3 {
  font-size: 1.6rem;
  margin: 0;
  color: var(--color-secondary);
}

.plan-subtitle {
  font-weight: 600;
  color: #273248;
}

.plan-meta {
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--color-primary);
}

.plan-summary {
  color: #4c4e57;
  line-height: 1.6;
}

.plan-section {
  border-top: 1px solid #e6e9f2;
  padding-top: 1.2rem;
  display: grid;
  gap: 0.9rem;
}

.plan-section h4 {
  font-size: 1rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #5b6180;
}

.plan-modules {
  list-style: none;
  display: grid;
  gap: 0.85rem;
}

.plan-modules li {
  background: #f6f8ff;
  border-radius: var(--radius-md);
  padding: 0.9rem 1rem;
  display: grid;
  gap: 0.35rem;
}

.plan-modules li strong {
  color: #1a1f2c;
  font-weight: 700;
}

.plan-modules li span {
  color: #4c4e57;
}

.plan-outcomes,
.plan-extras {
  list-style: none;
  display: grid;
  gap: 0.65rem;
  color: #3b3f4f;
}

.plan-outcomes li::before,
.plan-extras li::before {
  content: "✈";
  margin-right: 0.6rem;
  color: var(--color-primary);
}

.plan-outcomes li,
.plan-extras li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  line-height: 1.5;
}

.language-grid {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.language-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  min-height: 280px;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  cursor: pointer;
}

.language-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(29, 53, 87, 0.05), rgba(29, 53, 87, 0.65));
  transition: opacity 0.3s ease;
}

.language-card:hover {
  transform: translateY(-8px) scale(1.01);
  box-shadow: 0 25px 45px rgba(29, 53, 87, 0.2);
}

.kafelki-tile--spotlighted {
  border-color: rgba(42, 116, 255, 0.42);
  background: linear-gradient(180deg, rgba(226, 239, 255, 0.96), rgba(242, 247, 255, 0.98));
  box-shadow: 0 24px 42px rgba(42, 116, 255, 0.2);
  transform: translateY(-4px);
}

.kafelki-tile--spotlighted::before {
  opacity: 1;
  background: linear-gradient(135deg, rgba(78, 153, 255, 0.18), rgba(78, 153, 255, 0.03));
}

.kafelki-tile--spotlighted .kafelki-title {
  color: #16346d;
}

.kafelki-tile--spotlighted .kafelki-subtitle {
  color: #31538d;
}

.kafelki-tile--spotlighted .kafelki-badge {
  background: rgba(61, 128, 255, 0.12);
  color: #2357a7;
}

.language-card:hover::before {
  opacity: 0.85;
}

.language-card h3,
.language-card p,
.language-card span {
  position: relative;
  z-index: 1;
}

.story {
  background: linear-gradient(145deg, #fff 0%, #eef2fb 100%);
}

.story-cards {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.story-card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
}

.story-card img {
  width: 100%;
  height: 210px;
  object-fit: cover;
}

.story-card .story-content {
  padding: 1.5rem;
}

.story-card h4 {
  font-size: 1.2rem;
  color: var(--color-secondary);
  margin-bottom: 1rem;
}

.story-card ul {
  list-style: none;
  display: grid;
  gap: 0.8rem;
}

.story-card li {
  background: rgba(69, 123, 157, 0.08);
  padding: 0.8rem 1rem;
  border-radius: 12px;
  font-weight: 500;
}

.testimonial-grid {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.testimonial {
  background: #fff;
  padding: 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  position: relative;
}

.testimonial::before {
  content: "“";
  font-size: 4rem;
  position: absolute;
  top: -25px;
  left: 20px;
  color: rgba(230, 57, 70, 0.25);
  font-family: "Playfair Display", serif;
}

.testimonial h3 {
  margin-top: 1.2rem;
  font-size: 1rem;
  color: var(--color-secondary);
}

.portal {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.portal-content {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  align-items: start;
}

.portal-intro {
  display: grid;
  gap: 1.5rem;
}

.portal-dashboards {
  display: grid;
  gap: 2rem;
}

.dashboard {
  background: rgba(255, 255, 255, 0.92);
  border-radius: 20px;
  padding: 1.5rem;
  box-shadow: 0 18px 45px rgba(29, 53, 87, 0.12);
  display: grid;
  gap: 1.25rem;
}

.portal-lead {
  color: rgba(51, 52, 61, 0.72);
  line-height: 1.6;
}

.portal-cards {
  display: grid;
  gap: 1.5rem;
}

.portal-card {
  background: rgba(244, 246, 255, 0.9);
  border-radius: 18px;
  padding: 1.5rem;
  display: grid;
  gap: 1.1rem;
  box-shadow: 0 10px 35px rgba(69, 123, 157, 0.12);
}

.portal-card--compact {
  padding: 1.2rem 1.4rem;
  gap: 0.75rem;
}

.portal-card-header {
  display: grid;
  gap: 0.4rem;
}

.portal-card-meta {
  color: rgba(51, 52, 61, 0.7);
  font-size: 0.95rem;
}

.portal-card-subtitle {
  font-weight: 600;
  color: var(--color-secondary);
}

.portal-section {
  display: grid;
  gap: 0.75rem;
}

.portal-section h4 {
  font-size: 1rem;
  font-weight: 700;
}

.portal-list {
  list-style: none;
  display: grid;
  gap: 0.6rem;
}

.portal-list li {
  background: rgba(255, 255, 255, 0.8);
  border-radius: 14px;
  padding: 0.8rem 1rem;
  display: grid;
  gap: 0.25rem;
}

.portal-list--links a {
  color: var(--color-secondary);
  font-weight: 600;
  text-decoration: none;
}

.portal-list--links a:hover {
  text-decoration: underline;
}

.portal-meta {
  font-size: 0.85rem;
  color: rgba(51, 52, 61, 0.7);
}

.portal-form fieldset {
  border: 1px solid rgba(69, 123, 157, 0.2);
  border-radius: 16px;
  padding: 1.2rem 1.3rem;
  display: grid;
  gap: 1rem;
}

.portal-form label {
  display: grid;
  gap: 0.4rem;
  font-weight: 600;
}

.portal-form input,
.portal-form textarea,
.admin-form input,
.admin-form select,
.admin-form textarea {
  padding: 0.65rem 0.9rem;
  border-radius: 12px;
  border: 1px solid rgba(69, 123, 157, 0.3);
  font-family: inherit;
  font-size: 0.95rem;
  transition: border 0.2s ease;
}

.portal-form input:focus,
.portal-form textarea:focus,
.admin-form input:focus,
.admin-form select:focus,
.admin-form textarea:focus {
  outline: none;
  border-color: var(--color-primary);
}

.portal-form button,
.admin-form button {
  justify-self: start;
  padding: 0.7rem 1.6rem;
  border-radius: 999px;
  border: none;
  background: var(--color-secondary);
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.portal-form button:hover,
.portal-form button:focus,
.admin-form button:hover,
.admin-form button:focus {
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(230, 57, 70, 0.25);
}

.portal-info {
  background: rgba(230, 57, 70, 0.08);
  border-radius: 14px;
  padding: 1rem 1.2rem;
  color: rgba(51, 52, 61, 0.85);
}

.portal-highlight {
  font-size: 1.05rem;
  font-weight: 700;
}

.portal-message {
  min-height: 1.25rem;
  font-size: 0.9rem;
  color: var(--color-primary);
}

.button-secondary {
  margin-top: 0.5rem;
  padding: 0.45rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(230, 57, 70, 0.4);
  background: transparent;
  color: rgba(230, 57, 70, 0.9);
  cursor: pointer;
  transition: background 0.2s ease;
}

.button-secondary:hover,
.button-secondary:focus {
  background: rgba(230, 57, 70, 0.12);
}

.button-secondary--compact {
  margin-top: 0;
  padding: 0.55rem 0.95rem;
  font-size: 0.88rem;
  font-weight: 700;
}

.admin-layout {
  display: grid;
  gap: 1.75rem;
}

.admin-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.admin-toolbar--top {
  align-items: flex-end;
}

.admin-toolbar-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.admin-tabs {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  padding: 0.35rem;
  background: rgba(69, 123, 157, 0.08);
  border: 1px solid rgba(69, 123, 157, 0.12);
  border-radius: 14px;
}

.admin-tabs button {
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: rgba(17, 31, 59, 0.72);
  font: inherit;
  font-weight: 700;
  padding: 0.7rem 0.95rem;
  cursor: pointer;
  min-height: 2.55rem;
}

.admin-tabs button.active,
.admin-tabs button:hover,
.admin-tabs button:focus-visible {
  background: #ffffff;
  color: var(--color-secondary);
  outline: none;
  box-shadow: 0 10px 24px rgba(69, 123, 157, 0.12);
}

.admin-generated-at {
  font-size: 0.82rem;
  color: rgba(17, 31, 59, 0.64);
}

.portal-page--admin {
  position: relative;
}

.portal-content--admin {
  align-items: start;
}

.portal-dashboards--admin {
  width: 100%;
}

.admin-session-badge {
  position: fixed;
  top: 1.2rem;
  right: 1.2rem;
  z-index: 1200;
  padding: 0.75rem 1rem;
  border-radius: 999px;
  background: rgba(17, 31, 59, 0.92);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 700;
  box-shadow: 0 14px 30px rgba(17, 31, 59, 0.24);
}

.admin-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 1rem;
}

.admin-stats-grid--compact {
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 0.85rem;
}

.admin-stat-card,
.admin-panel-card {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(69, 123, 157, 0.12);
  border-radius: 20px;
  padding: 1.15rem 1.2rem;
  box-shadow: 0 10px 30px rgba(69, 123, 157, 0.12);
}

.admin-stat-card {
  display: grid;
  gap: 0.4rem;
}

.admin-stat-card--compact {
  gap: 0.3rem;
  padding: 0.95rem 1rem;
  min-height: 7.5rem;
}

.admin-stat-label {
  font-size: 0.88rem;
  color: rgba(51, 52, 61, 0.66);
}

.admin-stat-note {
  font-size: 0.76rem;
  color: rgba(17, 31, 59, 0.56);
}

.admin-stat-value {
  font-size: 1.9rem;
  line-height: 1;
  color: var(--color-secondary);
}

.admin-stat-value--small {
  font-size: 1.15rem;
  line-height: 1.25;
}

.admin-chart-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
  align-items: start;
}

.admin-panels-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
  align-items: start;
}

.admin-panels-grid--tight {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 0.9rem;
}

.admin-panel-card {
  display: grid;
  gap: 0.85rem;
  align-content: start;
}

.admin-panel-card--wide {
  grid-column: span 2;
}

.admin-panel-card h4 {
  margin: 0;
}

.admin-panel-card h3 {
  margin: 0;
  font-size: 1rem;
  line-height: 1.3;
  max-width: 16ch;
}

.admin-panel-card--chart {
  min-height: 16.5rem;
}

.admin-panel-head {
  display: grid;
  gap: 0.2rem;
  align-content: start;
}

.admin-panel-meta {
  font-size: 0.78rem;
  color: rgba(17, 31, 59, 0.56);
  white-space: normal;
  line-height: 1.35;
}

.admin-ranking-list {
  list-style: none;
  display: grid;
  gap: 0.65rem;
  margin: 0;
  padding: 0;
  align-content: start;
  grid-auto-rows: max-content;
}

.admin-ranking-list li {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.7rem 0.85rem;
  border-radius: 14px;
  background: rgba(245, 248, 255, 0.95);
  color: rgba(17, 31, 59, 0.9);
  min-height: 0;
}

.admin-ranking-list li span {
  min-width: 0;
  overflow-wrap: anywhere;
  line-height: 1.45;
}

.admin-ranking-list li strong {
  flex-shrink: 0;
  color: #8b2cf5;
  background: rgba(139, 44, 245, 0.09);
  border-radius: 999px;
  padding: 0.28rem 0.6rem;
  min-width: 4.4rem;
  text-align: center;
  font-size: 0.92rem;
  line-height: 1.1;
}

.analytics-chart {
  display: grid;
  gap: 0.75rem;
}

.analytics-chart-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
}

.analytics-chart-kicker {
  display: block;
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(17, 31, 59, 0.56);
}

.analytics-chart-value {
  font-size: 1.4rem;
  line-height: 1;
  color: var(--color-secondary);
}

.analytics-chart-side {
  font-size: 0.82rem;
  color: rgba(17, 31, 59, 0.62);
  text-align: right;
}

.analytics-chart-svg {
  width: 100%;
  height: 9rem;
  display: block;
  overflow: visible;
}

.analytics-chart-area {
  fill: rgba(65, 111, 255, 0.14);
}

.analytics-chart-line {
  fill: none;
  stroke: rgba(65, 111, 255, 0.96);
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.analytics-chart-axis {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.74rem;
  color: rgba(17, 31, 59, 0.55);
}

.admin-empty-state {
  margin: 0;
  color: rgba(17, 31, 59, 0.58);
  font-size: 0.9rem;
}

.analytics-bars {
  display: grid;
  gap: 0.55rem;
}

.analytics-bars--compact {
  max-height: 28rem;
  overflow-y: auto;
  padding-right: 0.25rem;
}

.analytics-bar-row {
  display: grid;
  grid-template-columns: 4.5rem minmax(0, 1fr) auto;
  gap: 0.75rem;
  align-items: center;
}

.analytics-bar-label {
  font-size: 0.84rem;
  color: rgba(17, 31, 59, 0.72);
}

.analytics-bar-track {
  position: relative;
  height: 0.75rem;
  border-radius: 999px;
  background: rgba(69, 123, 157, 0.12);
  overflow: hidden;
}

.analytics-bar-fill {
  height: 100%;
  min-width: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(65, 111, 255, 0.95), rgba(167, 53, 255, 0.88));
}

.analytics-bar-value {
  min-width: 1.5rem;
  text-align: right;
  font-size: 0.88rem;
  color: var(--color-primary);
}

@media (max-width: 900px) {
  .admin-panel-card--wide {
    grid-column: span 1;
  }

  .admin-session-badge {
    top: 0.85rem;
    right: 0.85rem;
    font-size: 0.82rem;
    padding: 0.65rem 0.85rem;
  }

  .admin-toolbar-actions,
  .admin-panel-head,
  .analytics-chart-header {
    align-items: flex-start;
    justify-content: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .analytics-bar-row {
    grid-template-columns: 3.8rem minmax(0, 1fr) 2rem;
    gap: 0.55rem;
  }

  .admin-stats-grid--compact,
  .admin-chart-grid,
  .admin-panels-grid--tight {
    grid-template-columns: 1fr;
  }

  .admin-stat-card--compact {
    min-height: 0;
  }

  .analytics-chart-svg {
    height: 8rem;
  }
}

.admin-section {
  display: grid;
  gap: 1.1rem;
}

.admin-form {
  display: grid;
  gap: 0.9rem;
}

.admin-list {
  list-style: none;
  display: grid;
  gap: 1rem;
}

.admin-list-item {
  background: rgba(255, 255, 255, 0.85);
  border-radius: 16px;
  padding: 1.1rem 1.3rem;
  display: grid;
  gap: 0.5rem;
  box-shadow: 0 8px 24px rgba(69, 123, 157, 0.12);
}

.admin-course-list {
  display: grid;
  gap: 1rem;
}

.admin-course-admin-grid {
  display: grid;
  grid-template-columns: minmax(250px, 0.9fr) minmax(0, 1.8fr);
  gap: 1rem;
  align-items: start;
}

.admin-course-row {
  width: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.8rem;
  border: 1px solid rgba(69, 123, 157, 0.16);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.78);
  padding: 0.85rem 0.95rem;
  color: #111f3b;
  text-align: left;
  cursor: pointer;
}

.admin-course-row.active,
.admin-course-row:hover,
.admin-course-row:focus-visible {
  border-color: rgba(230, 57, 70, 0.32);
  background: #ffffff;
  outline: none;
  box-shadow: 0 12px 26px rgba(69, 123, 157, 0.14);
}

.admin-course-row span {
  display: grid;
  gap: 0.2rem;
  min-width: 0;
}

.admin-course-row strong,
.admin-course-row small {
  overflow-wrap: anywhere;
}

.admin-course-row small {
  color: rgba(17, 31, 59, 0.58);
}

.admin-course-row em {
  flex-shrink: 0;
  border-radius: 999px;
  background: rgba(34, 197, 94, 0.12);
  color: #15803d;
  font-size: 0.76rem;
  font-style: normal;
  font-weight: 800;
  padding: 0.24rem 0.55rem;
}

.admin-course-form {
  gap: 1rem;
}

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

.admin-checkbox-row {
  display: flex !important;
  align-items: center;
  gap: 0.65rem !important;
}

.admin-checkbox-row input {
  width: 1.05rem;
  height: 1.05rem;
}

.admin-form-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.admin-form .button-danger {
  background: #b91c1c;
}

.admin-form .button-secondary {
  background: #ffffff;
  color: var(--color-secondary);
  border: 1px solid rgba(230, 57, 70, 0.24);
}

@media (max-width: 760px) {
  .admin-course-admin-grid,
  .admin-form-grid {
    grid-template-columns: 1fr;
  }

  .admin-tabs button {
    flex: 1 1 10rem;
  }
}

.login-form label {
  display: grid;
  gap: 0.4rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.login-form input {
  padding: 0.7rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(69, 123, 157, 0.35);
  transition: border 0.2s ease;
}

.login-form input:focus {
  outline: none;
  border-color: var(--color-primary);
}

.login-form button {
  padding: 0.75rem 2rem;
  border-radius: 999px;
  background: var(--color-secondary);
  color: #fff;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.login-form button:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 25px rgba(29, 53, 87, 0.22);
}

.form-message {
  min-height: 1.4rem;
  font-size: 0.95rem;
  color: var(--color-primary);
}

.course-overlay {
  position: fixed;
  inset: 0;
  background: rgba(13, 16, 33, 0.65);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
  z-index: 999;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.22s ease, visibility 0.22s ease;
}

.course-list-raty-mies {

}

.course-list-separator {
  margin-right: 20px;
}

.course-list-dt-start {
  margin-right: 20px;
}

.course-list-dt-end {

}

.course-list-cena {

}

.course-list-raty {
  font-weight: bold;
}

.course-list-daty {
	
}

.course-list-location {
	
}

.course-list-dt-label {
  font-weight: bold;
  margin-right: 10px;
}

.course-list-dt-location {
	
}

.course-dialog {
  position: relative;
  background: #fff;
  width: min(1180px, calc(100vw - 2rem));
  max-height: min(82vh, 860px);
  border-radius: 24px;
  box-shadow: 0 35px 80px rgba(15, 23, 42, 0.35);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transform: translateY(0) scale(1);
  opacity: 1;
  transition: transform 0.22s ease, opacity 0.22s ease;
}

.course-dialog-sidebar {
  width: auto;
  padding: 0.15rem 0 0;
  align-self: flex-start;
  position: sticky;
  top: 0;
  max-width: 170px;
}

.course-dialog-sidebar a,
.course-dialog-sidebar button {
  display: block;
  color: var(--color-muted);
  text-decoration: none;
  padding: 0.8rem 0.9rem;
  border-radius: 14px;
  border: none;
  background: transparent;
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.course-dialog-sidebar a:hover,
.course-dialog-sidebar a.active,
.course-dialog-sidebar button:hover,
.course-dialog-sidebar button.active {
  background: rgba(35, 216, 255, 0.12);
  color: var(--color-secondary);
  transform: translateX(2px);
}


.course-group-content {
  overflow-y: auto;
  max-height: min(50vh, 500px);
  overscroll-behavior: contain;
}

.course-overlay-content {
  display: flex;
  gap: 1.25rem;
  min-width: 0;
}

.course-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: transparent;
  border: none;
  font-size: 2rem;
  color: rgba(51, 52, 61, 0.6);
  cursor: pointer;
  line-height: 1;
  transition: color 0.2s ease;
}

.course-close:hover,
.course-close:focus {
  color: var(--color-primary);
}

.course-dialog-body {
  display: flex;
  gap: 1.4rem;
  padding: 2.6rem 2.2rem 2rem;
  flex: 1;
  align-items: flex-start;
  min-width: 0;
}

szkolenia-lista {
  display: block;
  flex: 1 1 auto;
  min-width: 0;
}

.course-list {
  flex: 1.2;
  overflow-y: auto;
  padding-right: 0.5rem;
  min-width: 0;
}

.course-subtitle {
  color: rgba(35, 48, 65, 0.78);
  margin-bottom: 1rem;
  max-width: 58ch;
}

.course-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  align-items: end;
  margin-bottom: 1rem;
  padding: 0.85rem;
  border-radius: 18px;
  background: rgba(239, 240, 248, 0.7);
}

.course-filter-group {
  display: grid;
  gap: 0.4rem;
  min-width: 190px;
}

.course-filter-group span {
  color: var(--color-secondary);
  font-size: 0.88rem;
  font-weight: 700;
}

.course-filter-group select {
  min-height: 46px;
  padding: 0.7rem 0.9rem;
  border-radius: 14px;
  border: 1px solid rgba(22, 50, 92, 0.16);
  background: #fff;
  color: var(--color-text);
  font: inherit;
}

.course-filter-group select:focus {
  outline: none;
  border-color: rgba(194, 52, 255, 0.45);
  box-shadow: 0 0 0 3px rgba(194, 52, 255, 0.12);
}

.course-filter-reset {
  min-height: 46px;
  padding: 0.7rem 1.15rem;
  border-radius: 999px;
  border: 1px solid rgba(22, 50, 92, 0.14);
  background: rgba(255, 255, 255, 0.92);
  color: var(--color-secondary);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.course-filter-reset:hover,
.course-filter-reset:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(22, 50, 92, 0.12);
}

.course-groups {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  min-width: 0;
}

.course-group {
  background: rgba(239, 240, 248, 0.65);
  border-radius: 18px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.course-group h3 {
  font-family: "Playfair Display", serif;
  font-size: 1.4rem;
}

.course-items {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.course-item {
  background: #ffffff;
  border-radius: 16px;
  padding: 1.25rem 1.5rem;
  box-shadow: 0 12px 25px rgba(15, 23, 42, 0.08);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.course-item-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.course-item h4 {
  font-size: 1.12rem;
  color: var(--color-secondary);
}

.course-item-time {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--color-muted);
  font-weight: 600;
}

.course-detail {
  font-size: 0.95rem;
  color: rgba(51, 52, 61, 0.75);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem 0.55rem;
}

.course-list-daty,
.course-list-location {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem 0.55rem;
}

.course-item-urgency {
  color: #7c2458;
  background: rgba(194, 52, 255, 0.08);
  border-radius: 12px;
  padding: 0.7rem 0.85rem;
  font-size: 0.92rem;
  font-weight: 600;
}

.course-placeholder-note {
  color: rgba(35, 48, 65, 0.82);
  background: rgba(22, 50, 92, 0.06);
  border: 1px dashed rgba(22, 50, 92, 0.18);
  border-radius: 12px;
  padding: 0.8rem 0.9rem;
  font-size: 0.92rem;
  line-height: 1.55;
}

.course-item--open {
  border: 1px solid rgba(220, 38, 38, 0.28);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(254, 242, 242, 0.92));
}

.course-item-cta {
  align-self: flex-start;
  padding: 0.5rem 1.25rem;
  border-radius: 999px;
  border: none;
  background: var(--color-secondary);
  color: #ffffff;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.course-item-cta:hover,
.course-item-cta:focus {
  transform: translateY(-1px);
  box-shadow: 0 10px 25px rgba(29, 53, 87, 0.25);
}

.contact-panel-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  justify-content: center;
}

.contact-layout {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 1.4rem;
  align-items: start;
}

.contact-primary {
  display: grid;
  gap: 1.2rem;
}

.contact-quick-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.contact-quick-card {
  display: grid;
  gap: 0.45rem;
  padding: 1.35rem;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(22, 50, 92, 0.09);
  box-shadow: 0 16px 30px rgba(22, 50, 92, 0.08);
  color: var(--color-text);
  text-decoration: none;
}

.contact-quick-card strong {
  color: var(--color-secondary);
  font-size: 1.08rem;
}

.contact-quick-card span:last-child {
  color: var(--color-muted);
}

.contact-quick-label {
  color: var(--color-primary);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-location-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.contact-location-card {
  display: grid;
  gap: 0.95rem;
  padding: 1.5rem;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(22, 50, 92, 0.08);
  box-shadow: var(--shadow-soft);
}

.contact-location-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.contact-location-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  background: rgba(35, 216, 255, 0.12);
  color: var(--color-secondary);
  font-size: 0.82rem;
  font-weight: 700;
}

.contact-language-flags,
.contact-map-flags {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.contact-language-flags span,
.contact-map-flags span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(22, 50, 92, 0.1);
  box-shadow: 0 10px 18px rgba(22, 50, 92, 0.08);
  font-size: 1rem;
  overflow: hidden;
}

.contact-language-flags img,
.contact-map-flags img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.contact-location-card h3 {
  color: var(--color-secondary);
}

.contact-location-address {
  color: var(--color-text);
  font-weight: 600;
}

.contact-location-list {
  display: grid;
  gap: 0.55rem;
  padding-left: 1.1rem;
  color: var(--color-muted);
}

.contact-location-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.contact-map-panel {
  display: grid;
  gap: 1rem;
  padding: 1.4rem;
  border-radius: 26px;
  background:
    radial-gradient(circle at top right, rgba(35, 216, 255, 0.22), transparent 24%),
    radial-gradient(circle at bottom left, rgba(194, 52, 255, 0.18), transparent 26%),
    linear-gradient(180deg, rgba(22, 50, 92, 0.95), rgba(27, 63, 108, 0.92));
  color: #ffffff;
  box-shadow: 0 24px 44px rgba(22, 50, 92, 0.22);
}

.contact-map-heading {
  display: grid;
  gap: 0.45rem;
}

.contact-map-kicker {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-map-heading h3 {
  font-family: "Playfair Display", serif;
  font-size: 1.6rem;
}

.contact-map-stage {
  position: relative;
  min-height: 420px;
  border-radius: 24px;
  padding: 1.25rem;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02)),
    radial-gradient(circle at 18% 20%, rgba(255, 255, 255, 0.1), transparent 20%),
    radial-gradient(circle at 80% 78%, rgba(255, 255, 255, 0.08), transparent 18%);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.contact-map-stage::before,
.contact-map-stage::after {
  content: "";
  position: absolute;
  inset: 12% 10%;
  border-radius: 999px;
  border: 1px dashed rgba(255, 255, 255, 0.1);
  transform: rotate(-12deg);
}

.contact-map-stage::after {
  inset: 24% 22%;
  transform: rotate(8deg);
}

.contact-map-route {
  position: absolute;
  left: 32%;
  top: 31%;
  width: 26%;
  height: 24%;
  border: 2px dashed rgba(255, 255, 255, 0.26);
  border-left: none;
  border-bottom: none;
  border-radius: 0 120px 0 0;
  transform: rotate(10deg);
}

.contact-map-spot {
  position: absolute;
  display: grid;
  gap: 0.55rem;
}

.contact-map-spot--rzeszow {
  top: 16%;
  left: 10%;
}

.contact-map-spot--boguchwala {
  right: 8%;
  bottom: 14%;
}

.contact-map-pin {
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: var(--color-accent);
  box-shadow: 0 0 0 10px rgba(35, 216, 255, 0.16), 0 12px 20px rgba(0, 0, 0, 0.18);
}

.contact-map-label {
  display: grid;
  gap: 0.2rem;
  max-width: 220px;
  padding: 0.9rem 1rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.contact-map-label strong {
  font-size: 1rem;
}

.contact-map-label span {
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.45;
}

.contact-map-note {
  color: rgba(255, 255, 255, 0.78);
}

.contact-panel {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at top right, rgba(35, 216, 255, 0.16), transparent 26%),
    radial-gradient(circle at top left, rgba(194, 52, 255, 0.14), transparent 24%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(238, 244, 251, 0.92));
  border: 1px solid rgba(22, 50, 92, 0.1);
}

.contact-panel::before {
  content: "";
  position: absolute;
  inset: auto -6% -42% auto;
  width: 260px;
  height: 260px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(194, 52, 255, 0.1), transparent 68%);
  pointer-events: none;
}

.contact-panel .section-heading {
  position: relative;
  margin-bottom: 1.6rem;
  justify-items: center;
  text-align: center;
}

.contact-panel .section-heading h2 {
  max-width: 17ch;
}

.contact-panel .section-lead {
  max-width: 700px;
}

.contact-panel-actions {
  position: relative;
  width: 100%;
  max-width: 100%;
  margin: 0;
  justify-content: flex-start;
  padding: 0.95rem;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(22, 50, 92, 0.08);
  box-shadow: 0 18px 32px rgba(22, 50, 92, 0.1);
}

.contact-panel-actions .cta {
  min-width: 230px;
  justify-content: center;
  text-align: center;
}

.contact-panel-actions .cta-secondary {
  background: rgba(255, 255, 255, 0.94);
}

.contact-cta {
  display: grid;
  gap: 0.25rem;
  min-width: 240px;
  padding: 1rem 1.2rem;
  border-radius: 22px;
  text-decoration: none;
  border: 1px solid rgba(22, 50, 92, 0.08);
  box-shadow: 0 16px 28px rgba(22, 50, 92, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.contact-cta strong {
  font-size: 1.06rem;
}

.contact-cta:hover,
.contact-cta:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 20px 34px rgba(22, 50, 92, 0.14);
}

.contact-cta-label {
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-cta--phone {
  background: linear-gradient(135deg, var(--color-primary), #2a48ff);
  color: #ffffff;
}

.contact-cta--phone .contact-cta-label {
  color: rgba(255, 255, 255, 0.76);
}

.contact-cta--mail {
  background: rgba(255, 255, 255, 0.94);
  color: var(--color-secondary);
}

.contact-cta--mail .contact-cta-label,
.contact-cta--more .contact-cta-label {
  color: var(--color-primary);
}

.contact-cta--more {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(238, 244, 251, 0.9));
  color: var(--color-secondary);
}

.contact-layout {
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.92fr);
  gap: 1.2rem;
}

.contact-primary--single,
.contact-map-panel--real {
  padding: 1.45rem;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(22, 50, 92, 0.09);
  box-shadow: 0 24px 40px rgba(22, 50, 92, 0.1);
}

.contact-primary--single {
  display: grid;
  gap: 1rem;
}

.contact-info-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
}

.contact-inline-card {
  display: grid;
  gap: 0.38rem;
  padding: 1.1rem 1.15rem;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(245, 248, 253, 0.98), rgba(236, 242, 249, 0.94));
  border: 1px solid rgba(22, 50, 92, 0.08);
  color: var(--color-text);
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.contact-inline-card:hover,
.contact-inline-card:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(35, 216, 255, 0.26);
  box-shadow: 0 18px 30px rgba(22, 50, 92, 0.1);
}

.contact-inline-label {
  color: var(--color-primary);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-inline-card strong {
  color: var(--color-secondary);
  font-size: 1.05rem;
}

.contact-inline-card span:last-child {
  color: var(--color-muted);
}

.contact-locations-block {
  display: grid;
  gap: 0.9rem;
  padding: 0.3rem;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(240, 245, 251, 0.72), rgba(255, 255, 255, 0.55));
  border: 1px solid rgba(22, 50, 92, 0.06);
}

.contact-location-row {
  display: grid;
  gap: 0.9rem;
  padding: 1.2rem;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(22, 50, 92, 0.08);
}

.contact-location-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.contact-location-body {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 1rem;
  align-items: start;
}

.contact-location-row h3 {
  color: var(--color-secondary);
  margin-bottom: 0.3rem;
}

.contact-map-panel--real {
  gap: 0.85rem;
  color: var(--color-text);
}

.contact-map-panel--real .contact-map-kicker {
  color: var(--color-primary);
}

.contact-map-panel--real .contact-map-heading h3 {
  color: var(--color-secondary);
}

.contact-map-real {
  min-height: 430px;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(22, 50, 92, 0.1);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.3);
}

.contact-map-real .leaflet-control-zoom {
  border: none;
  box-shadow: 0 14px 26px rgba(22, 50, 92, 0.16);
}

.contact-map-real .leaflet-control-zoom a {
  color: var(--color-secondary);
}

.contact-map-real .leaflet-popup-content-wrapper {
  border-radius: 18px;
  box-shadow: 0 20px 30px rgba(22, 50, 92, 0.14);
}

.contact-map-real .leaflet-popup-content {
  margin: 0;
  min-width: 220px;
}

.contact-map-popup {
  display: grid;
  gap: 0.45rem;
  padding: 0.95rem 1rem;
}

.contact-map-popup strong {
  color: var(--color-secondary);
  font-size: 1rem;
}

.contact-map-popup p {
  margin: 0;
  color: var(--color-text);
  line-height: 1.45;
}

.contact-map-popup .contact-map-popup-flags {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.3rem;
}

.contact-map-popup .contact-map-popup-flags img {
  display: inline-flex;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  overflow: hidden;
  object-fit: cover;
  border: 1px solid rgba(22, 50, 92, 0.08);
  background: rgba(240, 245, 251, 0.94);
}

.contact-map-note {
  color: var(--color-muted);
}

.course-status {
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.42rem 0.95rem;
  border-radius: 999px;
  text-transform: capitalize;
  border: 1px solid transparent;
}

.course-status--open {
  background: rgba(34, 197, 94, 0.12);
  color: #166534;
  border-color: rgba(34, 197, 94, 0.3);
}

.course-status--active {
  background: rgba(37, 99, 235, 0.12);
  color: #1d4ed8;
  border-color: rgba(37, 99, 235, 0.26);
}

.course-status--pending {
  background: rgba(220, 38, 38, 0.12);
  color: #b91c1c;
  border-color: rgba(220, 38, 38, 0.26);
}

.course-info {
  padding: 1.5rem;
  background: rgba(239, 240, 248, 0.65);
  border-radius: 16px;
  color: rgba(51, 52, 61, 0.8);
}

.course-info--error {
  background: rgba(248, 113, 113, 0.2);
  color: #b91c1c;
}

.course-contact-overlay {
  position: fixed;
  inset: 0;
  z-index: 1050;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(13, 16, 33, 0.48);
  opacity: 1;
  visibility: visible;
  transition: opacity 0.22s ease, visibility 0.22s ease;
}

.course-contact-overlay.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.course-contact-dialog {
  position: relative;
  width: min(560px, calc(100vw - 1.5rem));
  max-height: min(82vh, 720px);
  overflow-y: auto;
  padding: 1.5rem;
  border-radius: 22px;
  background: #ffffff;
  box-shadow: 0 35px 80px rgba(15, 23, 42, 0.28);
  display: grid;
  gap: 1rem;
}

.course-contact-close {
  position: absolute;
  top: 0.65rem;
  right: 0.85rem;
  border: none;
  background: transparent;
  color: var(--color-muted);
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
}

.language-interest-dialog,
.language-spotlight-dialog,
.language-spotlight-layout,
.language-spotlight-copy,
.language-map-panel,
.contact-layout > *,
.contact-location-body > *,
.contact-info-strip > * {
  min-width: 0;
}

.language-choice-button {
  min-height: 120px;
}

.course-filter-group select {
  font-size: 1rem;
}

.course-filter-group select,
.course-filter-reset {
  width: 100%;
  min-height: 48px;
}

.language-map-marker {
  max-width: calc(100% - 1rem);
  white-space: normal;
}

.course-application-meta {
  color: rgba(35, 48, 65, 0.78);
  line-height: 1.55;
}

.course-application-note {
  color: rgba(35, 48, 65, 0.8);
  line-height: 1.65;
}

.course-contact-actions {
  display: grid;
  gap: 0.85rem;
}

.course-contact-card {
  display: grid;
  gap: 0.35rem;
  padding: 1rem 1.05rem;
  border-radius: 18px;
  text-decoration: none;
  border: 1px solid rgba(22, 50, 92, 0.08);
  box-shadow: 0 14px 26px rgba(22, 50, 92, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.course-contact-card:hover,
.course-contact-card:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 18px 30px rgba(22, 50, 92, 0.12);
  border-color: rgba(35, 216, 255, 0.24);
}

.course-contact-card--phone {
  background: linear-gradient(135deg, var(--color-primary), #2a48ff);
  color: #ffffff;
}

.course-contact-card--phone .course-contact-label {
  color: rgba(255, 255, 255, 0.76);
}

.course-contact-card--phone span:last-child {
  color: rgba(255, 255, 255, 0.96);
  line-height: 1.55;
}

.course-contact-card--mail {
  background: rgba(255, 255, 255, 0.96);
  color: var(--color-secondary);
}

.course-contact-label {
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.course-contact-card strong {
  font-size: 1.02rem;
}

.course-contact-card:not(.course-contact-card--phone) span:last-child {
  color: var(--color-muted);
}

.level-title {
  text-align: center;
  margin-top: 24px;
  margin-bottom: 8px;
}

.level-box {
  border-radius: 12px;
  padding: 16px 20px;
  background-color: rgba(232, 228, 228, 0.25);
  margin-bottom: 24px;
}

.level-row {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.level-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin: 24px 0 8px;
}

.level-pill {
  height: 80px;
  width: 20%;
  justify-content: center;
  border: none;
  background: #fff;
  color: var(--color-secondary);
  font-weight: 700;
  padding: 1.2rem 2.8rem;
  font-size: 1.2rem;
  border-radius: 999px;
  box-shadow: 0 10px 22px rgba(29, 53, 87, 0.16);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.level-pill:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 26px rgba(29, 53, 87, 0.2);
}

.level-icon {
  width: 26px;
  height: 26px;
  fill: var(--color-primary);
}

.level-row > ul {
  width: 50%;
}

.level-img {
  display: block;
  margin: 0 auto;
  width: 50%;
  height: auto;
}

.level-image-trigger {
  width: 50%;
  margin: 0 auto;
  padding: 0;
  border: none;
  background: transparent;
  cursor: zoom-in;
}

.level-image-trigger .level-img {
  width: 100%;
  border-radius: 18px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.level-image-trigger:hover .level-img,
.level-image-trigger:focus-visible .level-img {
  transform: scale(1.01);
  box-shadow: 0 20px 34px rgba(22, 50, 92, 0.14);
}

.level-images {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 50%;
}

.level-images .level-img {
  width: 100%;
}

.dell-level-box ul {
  margin: 0;
  padding-left: 20px;
}

.center-img {
  display: block;
  margin: 0 auto;
  width: 100%;
  height: auto;
  padding-top: 40px;
}

.language-interest-overlay,
.language-spotlight-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 14, 28, 0.72);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  z-index: 1150;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.22s ease, visibility 0.22s ease;
}

.language-interest-overlay.hidden,
.language-spotlight-overlay.hidden {
  display: flex !important;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.language-interest-dialog,
.language-spotlight-dialog {
  position: relative;
  width: min(940px, calc(100vw - 2rem));
  max-height: calc(100vh - 2rem);
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(242, 246, 252, 0.96));
  box-shadow: 0 34px 70px rgba(15, 23, 42, 0.34);
  padding: 2.1rem;
  overflow-y: auto;
  overscroll-behavior: contain;
  transform: translateY(0) scale(1);
  opacity: 1;
  transition: transform 0.22s ease, opacity 0.22s ease;
}

.language-interest-head,
.language-spotlight-head {
  display: grid;
  gap: 0.55rem;
  margin-bottom: 1.45rem;
}

.language-interest-tag,
.language-spotlight-tag,
.language-spotlight-label {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  width: fit-content;
  padding: 0.38rem 0.78rem;
  border-radius: 999px;
  background: rgba(194, 52, 255, 0.1);
  color: var(--color-primary);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.language-spotlight-tag-img {
  width: 22px;
  height: 22px;
  display: block;
  object-fit: cover;
  border-radius: 7px;
}

.language-interest-head h2,
.language-spotlight-head h2 {
  font-family: "Playfair Display", serif;
  color: var(--color-secondary);
  font-size: clamp(2rem, 3.2vw, 2.75rem);
  line-height: 1.1;
}

.language-interest-head p,
.language-spotlight-card p,
.language-spotlight-list li {
  color: var(--color-muted);
}

.language-interest-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.9rem;
}

.language-choice-button {
  display: grid;
  gap: 0.55rem;
  justify-items: center;
  padding: 1.2rem 0.9rem;
  border-radius: 24px;
  border: 1px solid rgba(22, 50, 92, 0.08);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 16px 26px rgba(22, 50, 92, 0.08);
  color: var(--color-secondary);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.language-choice-button:hover,
.language-choice-button:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(35, 216, 255, 0.28);
  box-shadow: 0 20px 30px rgba(22, 50, 92, 0.12);
}

.language-choice-flag {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 10px 18px rgba(19, 41, 77, 0.1);
  overflow: hidden;
}

.language-choice-flag-img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.language-choice-label {
  text-align: center;
}

.language-interest-skip {
  margin-top: 1rem;
  border: none;
  background: transparent;
  color: var(--color-secondary);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.language-interest-close,
.language-spotlight-close {
  position: absolute;
  top: 0.7rem;
  right: 0.9rem;
  border: none;
  background: transparent;
  color: var(--color-secondary);
  font-size: 2rem;
  cursor: pointer;
}

.language-spotlight-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 1rem;
  align-items: start;
}

.language-spotlight-copy {
  display: grid;
  gap: 0.9rem;
}

.language-spotlight-card {
  display: grid;
  gap: 0.75rem;
  padding: 1.15rem 1.2rem;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(22, 50, 92, 0.08);
}

.language-spotlight-list {
  margin: 0;
  padding-left: 1.1rem;
  display: grid;
  gap: 0.55rem;
}

.language-map-panel {
  display: grid;
  gap: 0.8rem;
  padding: 1.15rem;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(239, 244, 250, 0.98), rgba(228, 237, 247, 0.96));
  border: 1px solid rgba(22, 50, 92, 0.08);
}

.language-world-map {
  position: relative;
  min-height: 260px;
  border-radius: 20px;
  overflow: hidden;
  background:
    radial-gradient(circle at top right, rgba(35, 216, 255, 0.12), transparent 26%),
    radial-gradient(circle at bottom left, rgba(194, 52, 255, 0.08), transparent 28%),
    linear-gradient(180deg, rgba(230, 239, 248, 0.98), rgba(214, 227, 240, 0.96));
  border: 1px solid rgba(22, 50, 92, 0.08);
}

.language-world-map--real {
  background: #dbe7f2;
}

.language-world-map--real::before,
.language-world-map--real::after,
.language-world-map--real .language-world-svg {
  display: none;
}

.language-world-map--real .leaflet-control-attribution {
  background: rgba(255, 255, 255, 0.88);
  color: rgba(22, 50, 92, 0.68);
  font-size: 0.62rem;
}

.language-world-map--real .leaflet-control-attribution a {
  color: inherit;
}

.language-leaflet-marker {
  background: transparent;
  border: none;
}

.language-leaflet-pin {
  position: absolute;
  left: 12px;
  top: 4px;
  width: 18px;
  height: 18px;
  border-radius: 999px 999px 999px 0;
  transform: rotate(-45deg);
  background: linear-gradient(180deg, #ff5e73, #dc3055);
  box-shadow: 0 10px 22px rgba(220, 48, 85, 0.28);
  border: 2px solid rgba(255, 255, 255, 0.96);
}

.language-leaflet-pin::after {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.98);
}

.language-leaflet-label {
  position: absolute;
  left: 26px;
  top: 0;
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  max-width: 130px;
  padding: 0.25rem 0.5rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(22, 50, 92, 0.08);
  color: var(--color-secondary);
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.1;
  box-shadow: 0 10px 18px rgba(22, 50, 92, 0.14);
  white-space: nowrap;
}

.language-world-map::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(22, 50, 92, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(22, 50, 92, 0.06) 1px, transparent 1px);
  background-size: 72px 72px;
  opacity: 0.42;
  pointer-events: none;
}

.language-world-map::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, transparent 58%, rgba(22, 50, 92, 0.08) 100%);
  pointer-events: none;
}

.language-world-svg {
  width: 100%;
  height: 100%;
}

.language-world-svg path {
  fill: rgba(72, 102, 135, 0.36);
  stroke: rgba(37, 68, 102, 0.18);
  stroke-width: 6;
}

.language-map-marker {
  position: absolute;
  transform: translate(-50%, -88%);
  display: inline-flex;
  align-items: center;
  flex-direction: column;
  gap: 0.35rem;
  pointer-events: none;
}

.language-map-pin {
  position: relative;
  width: 18px;
  height: 18px;
  border-radius: 999px 999px 999px 0;
  transform: rotate(-45deg);
  background: linear-gradient(180deg, #ff5e73, #dc3055);
  box-shadow: 0 10px 22px rgba(220, 48, 85, 0.32);
  border: 2px solid rgba(255, 255, 255, 0.92);
}

.language-map-pin::after {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
}

.language-map-marker-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 120px;
  padding: 0.3rem 0.58rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(22, 50, 92, 0.08);
  color: var(--color-secondary);
  font-size: 0.74rem;
  font-weight: 700;
  line-height: 1.15;
  text-align: center;
  box-shadow: 0 10px 18px rgba(22, 50, 92, 0.14);
}

.language-country-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.language-country-chips span {
  padding: 0.42rem 0.78rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(22, 50, 92, 0.08);
  color: var(--color-secondary);
  font-size: 0.92rem;
  font-weight: 600;
}

.language-spotlight-actions {
  margin-top: 1rem;
  display: flex;
  justify-content: flex-start;
}

.course-overlay.hidden .course-dialog {
  transform: translateY(18px) scale(0.98);
  opacity: 0;
}

.course-overlay.hidden {
  display: flex !important;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.info-overlay {
  position: fixed;
  inset: 0;
  background: rgba(13, 16, 33, 0.65);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
  z-index: 1000;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.22s ease, visibility 0.22s ease;
}

.info-overlay.hidden {
  display: flex !important;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.info-dialog {
  position: relative;
  background: #fff;
  width: min(1024px, 100%);
  border-radius: 20px;
  box-shadow: 0 30px 70px rgba(15, 23, 42, 0.28);
  padding: 2.5rem 2.25rem;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  transform: translateY(0) scale(1);
  opacity: 1;
  transition: transform 0.22s ease, opacity 0.22s ease;
}

.funding-overlay {
  position: fixed;
  inset: 0;
  background: rgba(13, 16, 33, 0.65);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
  z-index: 1000;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.22s ease, visibility 0.22s ease;
}

.funding-overlay.hidden {
  display: flex !important;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.funding-dialog {
  position: relative;
  background: #fff;
  width: min(1024px, 100%);
  border-radius: 20px;
  box-shadow: 0 30px 70px rgba(15, 23, 42, 0.28);
  padding: 2.5rem 2.25rem;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  transform: translateY(0) scale(1);
  opacity: 1;
  transition: transform 0.22s ease, opacity 0.22s ease;
}

.funding-close {
  position: absolute;
  top: 0.75rem;
  right: 0.9rem;
  background: transparent;
  border: none;
  font-size: 2rem;
  color: #1d3557;
  cursor: pointer;
}

.funding-body h2 {
  font-family: "Playfair Display", serif;
  margin-bottom: 1rem;
  color: var(--color-secondary);
}

.funding-intro {
  color: var(--color-muted);
  margin-bottom: 1.35rem;
}

.funding-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 1rem;
}

.funding-card,
.project-card {
  display: grid;
  gap: 0.85rem;
  padding: 1.35rem 1.4rem;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(238, 244, 251, 0.92));
  border: 1px solid rgba(22, 50, 92, 0.08);
}

.funding-card h3,
.project-card h3 {
  color: var(--color-secondary);
  font-size: 1.15rem;
}

.funding-card--wide,
.project-card--wide {
  margin-top: 1rem;
}

.funding-steps,
.project-points {
  display: grid;
  gap: 0.7rem;
  margin: 0;
  padding-left: 1.2rem;
}

.funding-steps li,
.project-points li {
  color: var(--color-text);
}

.funding-operators {
  display: grid;
  gap: 0.85rem;
}

.funding-operator {
  display: grid;
  gap: 0.35rem;
  padding: 0.95rem 1rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.88);
}

.funding-operator strong {
  color: var(--color-secondary);
}

.funding-operator a,
.funding-link-button {
  color: var(--color-secondary);
  font-weight: 700;
  text-decoration: none;
}

.funding-link-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  padding: 0.75rem 1.2rem;
  border-radius: 999px;
  background: rgba(22, 50, 92, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.funding-link-button:hover,
.funding-link-button:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(22, 50, 92, 0.12);
}

.funding-body p {
  margin-bottom: 0.9rem;
  color: #4c4e57;
}

.funding-body ul {
  margin: 0 0 1rem 1.5rem;
}

.funding-body a {
  color: var(--color-secondary);
  font-weight: 600;
  text-decoration: none;
}

.funding-body a:hover {
  text-decoration: underline;
}

.info-close {
  position: absolute;
  top: 0.75rem;
  right: 0.9rem;
  background: transparent;
  border: none;
  font-size: 2rem;
  color: #1d3557;
  cursor: pointer;
}

.info-dialog h2 {
  font-family: "Playfair Display", serif;
  margin-bottom: 0.75rem;
  color: var(--color-secondary);
}

.info-lead {
  margin-bottom: 1.5rem;
  color: #4c4e57;
}

.info-body {
  color: #4c4e57;
  white-space: pre-line;
  margin-bottom: 1.5rem;
}

.info-dialog-body {
  overflow-y: auto;
  padding-right: 0.5rem;
  flex: 1;
  min-height: 0;
}

.funding-closed-body{
    overflow-y: auto;
}

.project-list {
  display: grid;
  gap: 1rem;
}

.project-badge {
  display: inline-flex;
  width: fit-content;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: rgba(194, 52, 255, 0.08);
  color: var(--color-primary);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.project-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.project-meta span {
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  background: rgba(22, 50, 92, 0.08);
  color: var(--color-secondary);
  font-size: 0.9rem;
  font-weight: 600;
}

.info-lines {
  display: grid;
  gap: 0.45rem;
  margin-bottom: 1.5rem;
}

.info-line {
  margin: 0;
  color: #4c4e57;
  line-height: 1.6;
}

.info-line--heading {
  margin-top: 0.6rem;
  font-weight: 700;
  color: var(--color-secondary);
}

.info-line--spacer {
  height: 0.6rem;
}

.info-list {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 0.6rem;
}

.info-label {
  font-weight: 600;
  margin-right: 0.4rem;
}

.info-value {
  color: var(--color-secondary);
  text-decoration: none;
}

.info-value:hover {
  text-decoration: underline;
}

.course-info-overlay {
  position: fixed;
  inset: 0;
  background: rgba(13, 16, 33, 0.65);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
  z-index: 1000;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.22s ease, visibility 0.22s ease;
}

.course-info-overlay.hidden {
  display: flex !important;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.course-info-dialog {
  position: relative;
  background: #fff;
  width: min(780px, 100%);
  border-radius: 22px;
  box-shadow: 0 30px 70px rgba(15, 23, 42, 0.28);
  padding: 2.5rem 2.5rem;
  transform: translateY(0) scale(1);
  opacity: 1;
  transition: transform 0.22s ease, opacity 0.22s ease;
}

.course-info-close {
  position: absolute;
  top: 0.75rem;
  right: 0.9rem;
  background: transparent;
  border: none;
  font-size: 2rem;
  color: #1d3557;
  cursor: pointer;
}

.course-info-body h2 {
  font-family: "Playfair Display", serif;
  margin-bottom: 1rem;
  color: var(--color-secondary);
}

.course-info-text {
  color: #4c4e57;
  white-space: pre-line;
  margin-bottom: 1.75rem;
}

.course-info-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.course-info-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.6rem;
  border-radius: 999px;
  background: #edf2f7;
  color: var(--color-secondary);
  text-decoration: none;
  border: none;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.course-info-link.primary {
  background: var(--color-primary);
  color: #fff;
  box-shadow: 0 12px 22px rgba(230, 57, 70, 0.25);
}

.course-info-link:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 20px rgba(29, 53, 87, 0.18);
}

.level-overlay {
  position: fixed;
  inset: 0;
  background: rgba(13, 16, 33, 0.65);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
  z-index: 1000;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.22s ease, visibility 0.22s ease;
}

.level-overlay.hidden {
  display: flex !important;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.level-dialog {
  position: relative;
  background: #fff;
  width: min(780px, 100%);
  border-radius: 22px;
  box-shadow: 0 30px 70px rgba(15, 23, 42, 0.28);
  padding: 2.5rem 2.5rem;
  transform: translateY(0) scale(1);
  opacity: 1;
  transition: transform 0.22s ease, opacity 0.22s ease;
}

.level-close {
  position: absolute;
  top: 0.75rem;
  right: 0.9rem;
  background: transparent;
  border: none;
  font-size: 2rem;
  color: #1d3557;
  cursor: pointer;
}

.level-dialog-body h2 {
  font-family: "Playfair Display", serif;
  margin-bottom: 1rem;
  color: var(--color-secondary);
}

.level-overview-card {
  margin-bottom: 1.25rem;
  padding: 0.9rem;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(19, 59, 92, 0.06), rgba(35, 216, 255, 0.12));
  border: 1px solid rgba(29, 53, 87, 0.1);
}

.level-overview-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 14px;
}

.level-list {
  margin-bottom: 1.5rem;
  padding-left: 20px;
  color: #4c4e57;
}

.level-media {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.level-media img {
  width: 100%;
  height: auto;
  display: block;
}

.image-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(8, 12, 24, 0.82);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  z-index: 1100;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.22s ease, visibility 0.22s ease;
}

.image-lightbox.hidden {
  display: flex !important;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.image-lightbox-dialog {
  position: relative;
  width: min(1180px, 100%);
  max-height: calc(100vh - 3rem);
  display: flex;
  align-items: center;
  justify-content: center;
}

.image-lightbox-close {
  position: absolute;
  top: -0.5rem;
  right: 0;
  width: 46px;
  height: 46px;
  border: none;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  font-size: 2rem;
  cursor: pointer;
}

.image-lightbox-img {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: calc(100vh - 4rem);
  border-radius: 22px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.35);
}

.cookie-banner {
  position: fixed;
  left: 50%;
  bottom: 1rem;
  transform: translateX(-50%);
  width: min(920px, calc(100vw - 1.5rem));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.15rem;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(22, 50, 92, 0.08);
  box-shadow: 0 24px 40px rgba(22, 50, 92, 0.16);
  z-index: 1200;
}

.cookie-banner-copy {
  display: grid;
  gap: 0.2rem;
}

.cookie-banner-copy strong {
  color: var(--color-secondary);
}

.cookie-banner-copy p {
  margin: 0;
  color: var(--color-muted);
}

.cookie-banner-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.cookie-banner-actions .cta {
  padding: 0.72rem 1.35rem;
}

.cookie-banner-secondary {
  border: none;
  background: rgba(22, 50, 92, 0.08);
  color: var(--color-secondary);
  font: inherit;
  font-weight: 600;
  padding: 0.72rem 1.1rem;
  border-radius: 999px;
  cursor: pointer;
}

.footer {
  text-align: center;
  padding: 2rem 1rem;
  color: rgba(51, 52, 61, 0.7);
}

.site-credit {
  margin-top: 1rem;
  font-size: 0.92rem;
  color: rgba(51, 52, 61, 0.72);
}

.site-credit a {
  color: var(--color-secondary);
  font-weight: 700;
  text-decoration: none;
}

.site-credit a:hover,
.site-credit a:focus-visible {
  text-decoration: underline;
}

@media (max-width: 1200px) {
  .top-nav {
    padding-inline: 1rem;
  }

  .top-nav-links {
    gap: 0.55rem;
  }

  .top-nav-links a,
  .nav-button {
    padding: 0.35rem 0.75rem;
    font-size: 0.93rem;
  }

  .hero-content {
    width: min(980px, 100%);
  }

  .section {
    padding-inline: 1.2rem;
  }

  .seo-links-panel {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hidden {
  display: none !important;
}

@media (min-width: 1440px) {
  .hero {
    min-height: 68vh;
  }

  .hero-content {
    width: min(1460px, 100%);
    gap: 1.1rem;
  }

  .hero h1 {
    font-size: clamp(2.6rem, 3.2vw, 4rem);
    max-width: 18ch;
  }

  .hero-lead {
    max-width: 980px;
  }

  .section {
    padding: 3.5rem 1.5rem;
  }

  .plans {
    padding-top: 3.25rem;
  }

  .plans .section-heading {
    margin-bottom: 1.1rem;
  }

  .plans .subtitle {
    font-size: clamp(2.3rem, 3vw, 3.35rem);
    max-width: 17ch;
  }

  .course-overlay {
    padding: 1.2rem;
  }

  .course-dialog {
    width: min(1240px, calc(100vw - 2.4rem));
    max-height: min(80vh, 840px);
  }
}

@media (max-width: 900px) {
  .trust-band,
  .audience-grid,
  .value-grid,
  .pricing-grid,
  .steps-grid,
  .parents-layout,
  .funding-grid,
  .seo-grid,
  .seo-language-grid,
  .seo-columns {
    grid-template-columns: 1fr;
  }

  .top-nav {
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 0.35rem;
    padding: 0.35rem 0.7rem;
  }

  .top-nav-links {
    width: 100%;
    max-width: 100%;
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 0 0 0.15rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .top-nav-links::-webkit-scrollbar {
    display: none;
  }

  .top-nav-links a,
  .nav-button {
    flex: 0 0 auto;
    min-height: 30px;
    padding: 0.18rem 0.56rem;
    font-size: 0.8rem;
  }

  .nav-socials {
    flex: 0 0 auto;
  }

  .course-dialog-body {
    flex-direction: column;
    padding: 3.5rem 1.75rem 2.5rem;
  }

  .hero-content {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    margin-top: 6.6rem;
  }

  .hero-copy,
  .hero-visual {
    justify-items: center;
    text-align: center;
    gap: 0.7rem;
  }

  .hero {
    min-height: 58vh;
    padding-top: 0.65rem;
  }

  .hero-actions,
  .hero-points {
    justify-content: center;
  }

  .hero-points {
    justify-items: center;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.6rem;
  }

  .hero-point:nth-child(3) {
    grid-column: 1 / -1;
  }

  .hero-point {
    padding: 0.75rem 0.8rem;
  }

  .hero-point strong {
    font-size: 0.7rem;
  }

  .hero-point span {
    font-size: 0.9rem;
    line-height: 1.28;
  }

  .hero-proof-card {
    width: 100%;
    max-width: 100%;
    gap: 0.5rem;
    padding: 0.8rem;
  }

  .hero-proof-item {
    padding: 0.65rem 0.75rem;
  }

  .hero-proof-item,
  .hero-proof-list,
  .hero-proof-item span {
    font-size: 0.9rem;
  }

  .course-overlay,
  .info-overlay,
  .funding-overlay,
  .course-info-overlay,
  .level-overlay {
    align-items: flex-start;
    padding: 1rem 0.75rem;
  }

  .course-dialog,
  .info-dialog,
  .funding-dialog,
  .course-info-dialog,
  .level-dialog {
    width: 100%;
    max-height: calc(100vh - 2rem);
  }

  .course-overlay-content {
    flex-direction: column;
    gap: 1rem;
  }

  .course-dialog-sidebar {
    position: static;
    top: auto;
    width: 100%;
    padding: 0;
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    overscroll-behavior-x: contain;
  }

  .course-dialog-sidebar a,
  .course-dialog-sidebar button {
    flex: 0 0 auto;
    white-space: nowrap;
    background: rgba(35, 216, 255, 0.08);
  }

  .course-list {
    flex: 1;
    max-height: none;
  }

  .course-filter-group {
    flex: 1 1 220px;
  }

  .course-group-content,
  .info-dialog-body,
  .funding-body,
  .course-info-body,
  .level-dialog-body {
    min-height: 0;
    overflow-y: auto;
  }

  .course-group-content {
    max-height: min(48vh, 480px);
  }

  .benefit-strip {
    grid-template-columns: 1fr;
  }

  .section-panel {
    padding: 1.7rem;
  }

  .parent-prompt {
    flex-direction: column;
    align-items: flex-start;
  }

  .seo-header-inner {
    flex-direction: column;
    align-items: stretch;
  }

  .contact-panel-actions {
    width: 100%;
  }

  .contact-panel-actions .cta {
    flex: 1 1 240px;
    min-width: 0;
  }

  .contact-layout {
    grid-template-columns: 1fr;
  }

  .language-interest-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .language-spotlight-layout {
    grid-template-columns: 1fr;
  }

  .contact-info-strip {
    grid-template-columns: 1fr;
  }

  .contact-location-body {
    grid-template-columns: 1fr;
  }

  .contact-map-real {
    min-height: 340px;
  }

  .cookie-banner {
    flex-direction: column;
    align-items: stretch;
  }

  .cookie-banner-actions {
    width: 100%;
    justify-content: flex-start;
  }

  .seo-nav {
    justify-content: center;
  }

  .level-row {
    flex-direction: column;
  }

  .level-row > ul,
  .level-images {
    width: 100%;
  }

  .level-buttons {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
  }

  .level-img {
    width: 100%;
    max-width: 520px;
  }

  .level-pill {
    width: 100%;
    min-height: 72px;
    height: auto;
    padding: 1rem 1.25rem;
    font-size: 1.05rem;
  }

  .kafelki-tiles {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding-inline: 0;
  }

  .seo-footer-links {
    justify-content: center;
  }
}

@media (max-width: 1024px) {
  section[id] {
    scroll-margin-top: 7.5rem;
  }

  .hero-content {
    width: min(100%, 920px);
    gap: 0.95rem;
  }

  .hero h1 {
    max-width: 16ch;
  }

  .hero-points {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .course-dialog {
    width: min(100%, calc(100vw - 1.5rem));
    max-height: calc(100dvh - 1.5rem);
  }

  .course-dialog-body {
    padding: 3.25rem 1.35rem 1.35rem;
    gap: 1rem;
  }

  .course-overlay-content {
    gap: 0.9rem;
  }

  .course-filter-bar {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
  }

  .course-filter-group,
  .course-filter-reset {
    min-width: 0;
  }

  .course-filter-reset {
    align-self: end;
  }

  .course-group-content {
    max-height: none;
    overflow: visible;
  }

  .contact-info-strip {
    grid-template-columns: 1fr;
  }

  .contact-location-body {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .contact-map-real {
    min-height: 360px;
  }

  .language-interest-dialog,
  .language-spotlight-dialog {
    width: min(100%, calc(100vw - 1.25rem));
    max-height: calc(100dvh - 1.25rem);
    padding: 1.65rem;
  }

  .language-spotlight-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .hero {
    min-height: auto;
    padding: 1rem;
  }

  .hero-content {
    margin-top: 7.2rem;
    gap: 0.7rem;
  }

  .trust-band {
    margin-top: 0;
  }

  .hero h1 {
    max-width: none;
    font-size: clamp(1.82rem, 7.6vw, 2.45rem);
  }

  .hero-lead,
  .hero-note {
    font-size: 0.92rem;
    line-height: 1.45;
  }

  .hero-points {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem;
  }

  .hero-point:nth-child(3) {
    grid-column: 1 / -1;
  }

  .hero-note {
    display: none;
  }

  .hero-eyebrow {
    width: auto;
    padding: 0.32rem 0.72rem;
    font-size: 0.72rem;
    line-height: 1.35;
  }

  .language-interest-dialog,
  .language-spotlight-dialog {
    padding: 1.35rem 1rem;
    border-radius: 22px;
    max-height: calc(100dvh - 1rem);
  }

  .language-interest-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .language-choice-button {
    min-height: 98px;
    padding: 0.95rem 0.7rem;
    border-radius: 18px;
  }

  .language-choice-flag {
    width: 44px;
    height: 44px;
  }

  .language-choice-flag-img {
    width: 100%;
    height: 100%;
  }

  .language-interest-head h2,
  .language-spotlight-head h2 {
    font-size: clamp(1.7rem, 7.5vw, 2.15rem);
  }

  .language-map-panel,
  .language-spotlight-card {
    padding: 1rem;
    border-radius: 18px;
  }

  .language-world-map {
    min-height: 210px;
  }

  .language-leaflet-pin {
    width: 16px;
    height: 16px;
    left: 10px;
  }

  .language-leaflet-label {
    left: 22px;
    max-width: 94px;
    min-height: 24px;
    padding: 0.2rem 0.4rem;
    font-size: 0.62rem;
  }

  .language-map-marker {
    gap: 0.28rem;
  }

  .language-map-pin {
    width: 16px;
    height: 16px;
  }

  .language-map-marker-label {
    max-width: 96px;
    padding: 0.24rem 0.46rem;
    font-size: 0.66rem;
  }

  .language-country-chips span {
    font-size: 0.84rem;
  }

  .cookie-banner-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .cookie-banner-actions .cta,
  .cookie-banner-secondary {
    width: 100%;
    text-align: center;
  }

  .hero-point {
    width: 100%;
  }

  .hero-logo {
    width: min(380px, 88vw);
  }

  .hero-eyebrow {
    width: 100%;
    font-size: 0.78rem;
    line-height: 1.45;
  }

  .section {
    padding: 3.2rem 1rem;
    max-width: calc(100% - 1rem);
  }

  .section-panel {
    padding: 1.35rem;
    border-radius: 22px;
  }

  .section h2 {
    font-size: clamp(1.7rem, 8vw, 2.25rem);
    margin-bottom: 1.35rem;
  }

  .section-lead {
    margin-bottom: 2rem;
  }

  .course-dialog {
    border-radius: 18px;
    max-height: calc(100dvh - 0.8rem);
  }

  .course-dialog-body {
    padding: 2.85rem 0.95rem 1rem;
  }

  .course-filter-bar {
    grid-template-columns: 1fr;
    padding: 0.8rem;
    gap: 0.75rem;
  }

  .course-filter-group {
    min-width: 100%;
  }

  .course-filter-reset {
    width: 100%;
    justify-content: center;
  }

  .course-group {
    padding: 1.25rem;
  }

  .course-item {
    padding: 1rem 1.1rem;
  }

  .course-item-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .course-dialog-sidebar {
    gap: 0.4rem;
    padding-bottom: 0.15rem;
  }

  .course-dialog-sidebar button,
  .course-dialog-sidebar a {
    min-height: 42px;
    padding: 0.7rem 0.85rem;
    border-radius: 12px;
  }

  .course-item-time,
  .course-status {
    font-size: 0.88rem;
  }

  .course-list-daty,
  .course-list-location,
  .course-detail {
    display: grid;
    gap: 0.28rem;
    font-size: 0.92rem;
  }

  .course-list-separator,
  .course-list-dt-start {
    margin-right: 0;
  }

  .course-item-cta,
  .course-info-link,
  .funding-link-button {
    width: 100%;
    justify-content: center;
  }

  .info-dialog,
  .funding-dialog,
  .course-info-dialog,
  .level-dialog {
    padding: 1.4rem 1rem;
  }

  .contact-panel .section-heading h2 {
    max-width: none;
  }

  .contact-location-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .contact-map-real {
    min-height: 300px;
  }

  .contact-inline-card,
  .contact-location-row {
    padding: 1rem;
    border-radius: 18px;
  }

  .course-info-actions {
    flex-direction: column;
  }

  .info-close,
  .funding-close,
  .course-info-close,
  .level-close,
  .course-close {
    top: 0.45rem;
    right: 0.65rem;
  }

  .parent-prompt,
  .parents-copy,
  .parents-highlight {
    padding: 1.25rem;
  }

  .seo-links-panel,
  .kafelki-tiles {
    grid-template-columns: 1fr;
  }

  .level-pill {
    width: 100%;
  }

  .brand img {
    height: 34px;
  }

  .top-nav {
    padding: 0.34rem 0.55rem;
  }

  .top-nav-links a,
  .nav-button {
    padding: 0.16rem 0.48rem;
    font-size: 0.77rem;
    min-height: 28px;
  }

  .nav-icon-link {
    width: 34px;
    min-width: 34px;
    min-height: 34px;
  }

  .seo-hero-panel {
    padding: 1.7rem;
    border-radius: 24px;
  }

  .seo-nav {
    width: 100%;
  }

  .seo-nav a {
    flex: 1 1 calc(50% - 0.75rem);
    text-align: center;
  }

  .seo-actions .cta {
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 480px) {
  section[id] {
    scroll-margin-top: 8.75rem;
  }

  .hero-content {
    margin-top: 5.8rem;
  }

  .brand img {
    height: 32px;
  }

  .hero-point,
  .seo-nav a {
    width: 100%;
  }

  .language-interest-grid {
    grid-template-columns: 1fr;
  }

  .top-nav-links {
    gap: 5px;
  }

  .hero-point {
    padding: 0.68rem 0.72rem;
  }

  .hero-proof-card {
    padding: 0.72rem;
  }

  .language-interest-dialog,
  .language-spotlight-dialog,
  .course-dialog,
  .course-contact-dialog,
  .info-dialog,
  .funding-dialog,
  .course-info-dialog,
  .level-dialog {
    width: calc(100vw - 0.75rem);
    max-height: calc(100dvh - 0.75rem);
    border-radius: 18px;
  }

  .language-interest-dialog,
  .language-spotlight-dialog {
    padding: 1rem 0.85rem;
  }

  .course-contact-card {
    padding: 0.95rem;
    gap: 0.45rem;
  }

  .course-contact-card strong {
    font-size: 0.96rem;
    line-height: 1.35;
  }

  .course-contact-card span:last-child {
    font-size: 0.95rem;
    line-height: 1.5;
  }

  .language-interest-close,
  .language-spotlight-close,
  .course-close,
  .course-contact-close,
  .info-close,
  .funding-close,
  .course-info-close,
  .level-close {
    top: 0.35rem;
    right: 0.5rem;
  }

  .language-world-map {
    min-height: 180px;
  }

  .language-leaflet-pin {
    width: 14px;
    height: 14px;
    left: 8px;
    border-width: 1.5px;
  }

  .language-leaflet-label {
    left: 18px;
    max-width: 82px;
    min-height: 22px;
    padding: 0.16rem 0.32rem;
    font-size: 0.56rem;
  }

  .language-map-marker {
    gap: 0.22rem;
  }

  .language-map-pin {
    width: 14px;
    height: 14px;
    border-width: 1.5px;
  }

  .language-map-marker-label {
    max-width: 84px;
    padding: 0.2rem 0.35rem;
    font-size: 0.6rem;
  }

  .language-country-chips {
    gap: 0.4rem;
  }

  .language-country-chips span {
    width: 100%;
    text-align: center;
  }

  .course-dialog-body {
    padding: 2.7rem 0.8rem 0.85rem;
  }

  .course-item {
    padding: 0.95rem;
  }

  .course-group {
    padding: 1rem;
  }

  .course-item-urgency,
  .course-placeholder-note {
    font-size: 0.88rem;
    padding: 0.72rem 0.8rem;
  }

  .course-group h3,
  .course-info-body h2,
  .level-dialog-body h2,
  .info-dialog h2 {
    font-size: 1.55rem;
  }

  .level-buttons {
    grid-template-columns: 1fr;
  }

  .kafelki-tile {
    padding: 14px;
    gap: 12px;
  }

  .kafelki-tile img {
    width: 48px;
    height: 48px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}



.kafelki-tiles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  padding: 16px;
  max-width: 1100px;
  margin: 0 auto;
}
.kafelki-tile {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  border-radius: 20px;
  text-decoration: none;
  color: inherit;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(35, 216, 255, 0.16);
  box-shadow: var(--shadow-soft);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
  min-width: 0;
}

.kafelki-tile--recruitment {
  border-color: rgba(194, 52, 255, 0.22);
  background:
    radial-gradient(circle at top right, rgba(194, 52, 255, 0.08), transparent 34%),
    rgba(255, 255, 255, 0.92);
}

.kafelki-tile--active {
  border-color: rgba(37, 99, 235, 0.22);
  background:
    radial-gradient(circle at top right, rgba(37, 99, 235, 0.08), transparent 34%),
    rgba(255, 255, 255, 0.94);
}

.kafelki-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 0.45rem;
}

.kafelki-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.28rem 0.7rem;
  border-radius: 999px;
  background: rgba(194, 52, 255, 0.1);
  color: var(--color-primary);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.kafelki-badge--active {
  background: rgba(37, 99, 235, 0.12);
  color: #1d4ed8;
}

.kafelki-tile:hover {
  transform: translateY(-2px);
  border-color: rgba(194, 52, 255, 0.22);
  box-shadow: 0 18px 30px rgba(22, 50, 92, 0.14);
}
.kafelki-tile img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  flex: 0 0 auto;
}

.kafelki-tile > div {
  min-width: 0;
}

.kafelki-tile .kafelki-title {
  font-weight: 700;
  font-size: 18px;
  margin: 0;
  overflow-wrap: anywhere;
}
.kafelki-tile .kafelki-subtitle {
  margin: 4px 0 0;
  opacity: .75;
  font-size: 14px;
  overflow-wrap: anywhere;
}

.seo-links-panel {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin: 0 0 2rem;
}

.seo-service-link {
  display: grid;
  gap: 0.45rem;
  padding: 1.2rem 1.25rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(22, 50, 92, 0.08);
  box-shadow: var(--shadow-soft);
  color: var(--color-text);
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.seo-service-link strong {
  color: var(--color-secondary);
  font-size: 1.02rem;
}

.seo-service-link span {
  color: var(--color-muted);
  font-size: 0.95rem;
}

.seo-service-link:hover,
.seo-service-link:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(194, 52, 255, 0.18);
  box-shadow: 0 18px 30px rgba(22, 50, 92, 0.14);
}

.seo-page {
  min-height: 100vh;
}

.seo-shell {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
}

.seo-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(14px);
  background: rgba(238, 244, 251, 0.82);
  border-bottom: 1px solid rgba(22, 50, 92, 0.08);
}

.seo-header-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 1rem 0;
}

.seo-brand {
  display: inline-flex;
  align-items: center;
  margin-right: 0.35rem;
}

.seo-brand img {
  height: 44px;
  width: auto;
  display: block;
}

.seo-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

.seo-nav a {
  color: var(--color-secondary);
  text-decoration: none;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 8px 18px rgba(22, 50, 92, 0.08);
}

.seo-nav .nav-socials {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.seo-nav .nav-icon-link {
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 8px 18px rgba(22, 50, 92, 0.08);
}

.seo-main {
  padding: 2rem 0 4rem;
}

.seo-breadcrumbs {
  margin-bottom: 1.35rem;
  color: rgba(27, 42, 83, 0.68);
  font-size: 0.92rem;
}

.seo-breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.seo-breadcrumbs li {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.seo-breadcrumbs li:not(:last-child)::after {
  content: "/";
  color: rgba(27, 42, 83, 0.38);
}

.seo-breadcrumbs a {
  color: inherit;
  text-decoration: none;
}

.seo-breadcrumbs a:hover,
.seo-breadcrumbs a:focus-visible {
  color: var(--accent-strong);
}

.seo-hero-panel {
  display: grid;
  gap: 1.25rem;
  padding: 2.3rem;
  border-radius: 30px;
  background:
    radial-gradient(circle at top right, rgba(35, 216, 255, 0.18), transparent 25%),
    radial-gradient(circle at top left, rgba(194, 52, 255, 0.14), transparent 24%),
    rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(22, 50, 92, 0.08);
  box-shadow: var(--shadow-soft);
}

.seo-kicker {
  display: inline-flex;
  width: fit-content;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  background: rgba(194, 52, 255, 0.08);
  color: var(--color-primary);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.seo-hero-panel h1 {
  font-family: "Playfair Display", serif;
  font-size: clamp(2.3rem, 5vw, 4rem);
  line-height: 1.12;
  color: var(--color-secondary);
}

.seo-hero-panel p {
  max-width: 860px;
  color: var(--color-muted);
  font-size: 1.05rem;
}

.seo-chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.seo-chip-list span {
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--color-secondary);
  box-shadow: 0 8px 18px rgba(22, 50, 92, 0.07);
}

.seo-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.seo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.seo-card,
.seo-block,
.faq-item {
  display: grid;
  gap: 0.7rem;
  padding: 1.5rem;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(22, 50, 92, 0.08);
  box-shadow: var(--shadow-soft);
}

.seo-block + .seo-block {
  margin-top: 1.5rem;
}

.seo-block h2,
.seo-card h2,
.seo-card h3,
.faq-item h3 {
  color: var(--color-secondary);
}

.seo-list {
  display: grid;
  gap: 0.75rem;
  padding-left: 1.2rem;
}

.seo-list li {
  color: var(--color-text);
}

.seo-columns {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1rem;
}

.seo-language-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.faq-list {
  display: grid;
  gap: 1rem;
}

.seo-meta-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.seo-meta-strip span {
  padding: 0.5rem 0.8rem;
  border-radius: 999px;
  background: rgba(22, 50, 92, 0.08);
  color: var(--color-secondary);
  font-weight: 600;
}

.seo-footer {
  padding: 2rem 0 3rem;
  color: var(--color-muted);
}

.seo-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.9rem;
  justify-content: center;
}

.seo-footer-links a {
  color: var(--color-secondary);
  text-decoration: none;
}
