/* Neurolab Bulgaria — Eventim Conference restyle */
:root {
  --navy: #041E42;
  --footer-bg: #010609;
  --cyan: #2692DD;
  --cyan-light: #3EA2E0;
  --gray: #F1F1F1;
  --white: #FFFFFF;
  --text: #1a1a1a;
  --text-muted: #5a5a5a;
  --text-light: #888888;
  --border: #e4e4e4;
  --bg: var(--white);
  --bg-soft: var(--gray);
  --bg-muted: #e8e8e8;
  --accent: var(--cyan);
  --accent-dark: #1e7ab8;
  --slate: #64748b;
  --shadow: 0 8px 28px rgba(4, 30, 66, 0.08);
  --shadow-hover: 0 12px 36px rgba(4, 30, 66, 0.12);
  --radius: 0;
  --radius-sm: 0;
  --max: 1140px;
  --font-heading: "Montserrat", "Oswald", "Bebas Neue", "Raleway", "Segoe UI", system-ui, sans-serif;
  --font: "Roboto", "Segoe UI", system-ui, sans-serif;
  --header-h: 78px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--cyan);
  text-decoration: none;
  transition: color 0.15s ease;
}

a:hover {
  color: var(--cyan-light);
}

ul, ol {
  padding-left: 1.25rem;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  line-height: 1.2;
  font-weight: 800;
  margin: 0 0 0.75rem;
  letter-spacing: -0.01em;
  color: var(--text);
}

h1 { font-size: clamp(2rem, 4.5vw, 3.25rem); }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.75rem); }
h3 { font-size: 1.25rem; font-weight: 700; }

p { margin: 0 0 1rem; color: var(--text-muted); }

.container {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* —— Header —— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid transparent;
  transition: background 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.site-header.is-scrolled,
.site-header:not(.header-transparent) {
  background: rgba(255, 255, 255, 0.98);
  border-bottom-color: var(--border);
  box-shadow: 0 2px 16px rgba(4, 30, 66, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  gap: 1.5rem;
}

.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  gap: 0.7rem;
  color: var(--text);
}

.logo:hover {
  color: var(--text);
}

.logo-mark {
  height: 48px;
  width: auto;
  flex-shrink: 0;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.logo-text strong {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  letter-spacing: 0.08em;
  font-weight: 800;
  color: inherit;
}

.logo-text span {
  font-family: var(--font-heading);
  font-size: 0.62rem;
  letter-spacing: 0.32em;
  color: var(--text-light);
  font-weight: 500;
  text-indent: 0.08em;
}

.logo-footer .logo-mark {
  height: 40px;
}

.logo-fallback {
  display: none;
  flex-direction: column;
  line-height: 1.1;
}

.logo-fallback strong {
  font-size: 1.05rem;
  letter-spacing: 0.12em;
  font-weight: 700;
}

.logo-fallback span {
  font-size: 0.65rem;
  letter-spacing: 0.28em;
  color: var(--text-light);
  font-weight: 500;
}

nav.main-nav {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 0.15rem 1.35rem;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav-list a {
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text);
  padding: 0.4rem 0;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
  letter-spacing: 0.02em;
}

.nav-list a:hover {
  color: var(--text);
  border-bottom-color: rgba(38, 146, 221, 0.45);
}

.nav-list a.active {
  border-bottom-color: var(--cyan);
  color: var(--text);
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  border-radius: 0;
  padding: 0.45rem 0.6rem;
  cursor: pointer;
  line-height: 0;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text);
  margin: 4px 0;
}

/* Transparent header over dark hero (homepage) */
.header-transparent:not(.is-scrolled) {
  position: absolute;
  left: 0;
  right: 0;
  background: transparent;
  border-bottom-color: transparent;
  box-shadow: none;
}

.header-transparent:not(.is-scrolled) .logo,
.header-transparent:not(.is-scrolled) .logo-text strong {
  color: #fff;
}

.header-transparent:not(.is-scrolled) .logo-text span {
  color: rgba(255, 255, 255, 0.7);
}

.header-transparent:not(.is-scrolled) .nav-list a {
  color: #fff;
}

.header-transparent:not(.is-scrolled) .nav-list a:hover,
.header-transparent:not(.is-scrolled) .nav-list a.active {
  border-bottom-color: var(--cyan-light);
  color: #fff;
}

.header-transparent:not(.is-scrolled) .nav-toggle {
  border-color: rgba(255, 255, 255, 0.4);
}

.header-transparent:not(.is-scrolled) .nav-toggle span {
  background: #fff;
}

.page-home {
  padding-top: 0;
}

.page-home main {
  /* hero sits under absolute header */
}

/* —— Buttons (sharp rectangular Eventim style) —— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.85rem 1.5rem;
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 0;
  border: 2px solid var(--cyan);
  background: var(--cyan);
  color: #fff;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
  text-decoration: none;
}

.btn:hover {
  background: var(--cyan-light);
  border-color: var(--cyan-light);
  color: #fff;
}

.btn-outline {
  background: transparent;
  color: var(--cyan);
  border-color: var(--cyan);
}

.btn-outline:hover {
  background: var(--cyan);
  color: #fff;
}

.btn-accent {
  background: var(--cyan);
  border-color: var(--cyan);
  color: #fff;
}

.btn-accent:hover {
  background: var(--cyan-light);
  border-color: var(--cyan-light);
  color: #fff;
}

.btn-dark {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}

.btn-dark:hover {
  background: #0a2d5c;
  border-color: #0a2d5c;
  color: #fff;
}

.btn-sm {
  padding: 0.55rem 1.1rem;
  font-size: 0.72rem;
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

/* —— Hero (particle / black) —— */
.hero {
  padding: 4.5rem 0 3.5rem;
  background: var(--gray);
  border-bottom: none;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: none;
}

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

.hero-kicker {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 1rem;
}

.hero h1 {
  max-width: 18ch;
  margin-bottom: 1rem;
}

.hero .motto {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: var(--text);
  font-weight: 500;
  margin-bottom: 1.25rem;
}

.hero .lead {
  max-width: 52ch;
  font-size: 1.05rem;
}

/* Homepage particle hero — logo sampled + CodePen AobWbm physics */
.hero.hero-particle {
  padding: 7.5rem 0 5rem;
  min-height: min(78vh, 720px);
  display: flex;
  align-items: center;
  background: #000;
  border-bottom: none;
  color: #fff;
}

.hero.hero-particle::before {
  display: none;
}

.hero-particle-inner {
  text-align: center;
  width: min(100% - 1.5rem, 1100px);
  margin-inline: auto;
}

.particle-stage {
  position: relative;
  width: min(90vw, 1000px);
  max-width: 1000px;
  margin: 0 auto;
  aspect-ratio: 744 / 178;
  height: auto;
  touch-action: none;
  background: #000;
}

.particle-canvas {
  display: block;
  width: 100%;
  height: 100%;
  cursor: crosshair;
  background: #000;
}

.particle-fallback {
  display: none;
  margin: 0 auto;
  width: min(90vw, 1000px);
  max-width: 1000px;
  height: auto;
}

.hero-tagline {
  margin: 1.75rem auto 0;
  max-width: 36rem;
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  font-weight: 400;
  font-style: italic;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.88);
}

.hero-cta {
  justify-content: center;
  margin-top: 2.25rem;
}

.hero.hero-particle .btn-outline.hero-cta-btn,
.hero.hero-particle .hero-cta-btn {
  background: transparent;
  color: #fff;
  border-color: var(--cyan);
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.95rem 1.85rem;
  font-family: "Montserrat", "Oswald", var(--font-heading);
}

.hero.hero-particle .btn-outline.hero-cta-btn:hover,
.hero.hero-particle .hero-cta-btn:hover {
  background: var(--cyan);
  color: #fff;
  border-color: var(--cyan);
}

@media (prefers-reduced-motion: reduce) {
  .particle-canvas {
    display: none !important;
  }

  .particle-fallback {
    display: block !important;
  }

  .particle-stage {
    height: auto;
    aspect-ratio: auto;
    padding: 0.5rem 0;
  }
}

/* —— Sections —— */
.section {
  padding: 5rem 0;
}

.section-alt {
  background: var(--gray);
}

.section-navy {
  background: var(--navy);
  color: #fff;
}

.section-navy h2,
.section-navy h3 {
  color: #fff;
}

.section-navy p {
  color: rgba(255, 255, 255, 0.78);
}

.section-header {
  max-width: 42rem;
  margin-bottom: 2.75rem;
}

.section-header.centered {
  text-align: center;
  margin-inline: auto;
}

.section-label,
.section-eyebrow {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 0.65rem;
}

.section-header h2 {
  position: relative;
  display: inline-block;
  padding-bottom: 0.55rem;
  margin-bottom: 1rem;
}

.section-header h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  max-width: 5.5rem;
  height: 3px;
  background: var(--cyan);
}

.section-header.centered h2::after {
  left: 50%;
  transform: translateX(-50%);
}

.page-hero-compact {
  padding: 0.5rem 0 0;
  border-bottom: none;
  background: transparent;
  min-height: 0;
}

.page-hero {
  padding: 3.25rem 0 2.25rem;
  border-bottom: none;
  background: var(--gray);
}

.page-hero h1 {
  margin-bottom: 0.75rem;
  position: relative;
  display: inline-block;
  padding-bottom: 0.5rem;
}

.page-hero h1::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 4.5rem;
  height: 3px;
  background: var(--cyan);
}

.page-hero .lead {
  max-width: 48ch;
  margin: 0;
}

/* —— Cards / Grid —— */
.grid {
  display: grid;
  gap: 1.75rem;
}

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

.card {
  background: var(--bg);
  border: none;
  border-radius: 0;
  padding: 1.85rem;
  box-shadow: var(--shadow);
  transition: box-shadow 0.2s, transform 0.2s;
}

.card:hover {
  box-shadow: var(--shadow-hover);
}

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 0;
  background: rgba(38, 146, 221, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.1rem;
  color: var(--cyan);
}

.card-icon svg {
  width: 22px;
  height: 22px;
}

.card h3 {
  margin-bottom: 0.5rem;
  position: relative;
  padding-bottom: 0.45rem;
}

.card h3::after {
  content: "";
  display: block;
  width: 2.5rem;
  height: 2px;
  background: var(--cyan);
  margin-top: 0.45rem;
}

.card p:last-child {
  margin-bottom: 0;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 1.15rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cyan);
  border-bottom: none;
  padding: 0.5rem 0.85rem;
  border: 2px solid var(--cyan);
}

.card-link:hover {
  background: var(--cyan);
  color: #fff;
}

.card-meta {
  font-size: 0.8rem;
  color: var(--text-light);
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.placeholder-thumb {
  aspect-ratio: 16 / 10;
  background: var(--bg-muted);
  border-radius: 0;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.placeholder-thumb svg,
.placeholder-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.85;
}

/* —— Team —— */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.team-card {
  border-radius: 0;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: #1a1a1a;
  position: relative;
  aspect-ratio: 3 / 4;
  border: none;
}

.team-photo {
  width: 100%;
  height: 100%;
  background: linear-gradient(160deg, #d8dee6 0%, #b8c0cc 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.team-initials {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: #fff;
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  box-shadow: var(--shadow);
}

.team-photo.soon .team-initials {
  background: rgba(255, 255, 255, 0.85);
  color: var(--text-light);
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  width: auto;
  height: auto;
  padding: 0.75rem 1.25rem;
  border-radius: 0;
}

.team-info {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1.25rem 1.1rem;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.72));
  color: #fff;
}

.team-info h3 {
  color: #fff;
  font-size: 1.05rem;
  margin: 0 0 0.2rem;
}

.team-info h3::after {
  display: none;
}

.team-info p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.85rem;
  margin: 0;
}

/* —— Pricing (keep black price cards) —— */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem;
  max-width: 920px;
  margin: 0 auto 3rem;
}

.price-card {
  border: 1px solid #111;
  border-radius: 0;
  padding: 0;
  background: #fff;
  box-shadow: none;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.price-card.featured {
  border-color: #111;
  box-shadow: none;
}

.price-card-head {
  background: #000;
  color: #fff;
  text-align: center;
  padding: 1.5rem 1.25rem 1.35rem;
}

.price-card .plan-name {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: none;
  color: #fff;
  margin: 0 0 0.65rem;
}

.price-card .price {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 0.35rem;
  color: #fff;
  line-height: 1.1;
}

.price-card .price span {
  font-size: 1.05rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
}

.price-card .price-note {
  font-size: 0.85rem;
  font-style: italic;
  color: rgba(255, 255, 255, 0.85);
  margin: 0;
}

.price-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 0;
}

.price-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  flex: 1;
}

.price-card li {
  padding: 0.95rem 1.35rem;
  position: relative;
  color: var(--text);
  font-size: 0.95rem;
  border-bottom: 1px solid var(--border);
  margin: 0;
}

.price-card li::before {
  display: none;
}

.price-card li.ideal {
  background: #f3f4f6;
  color: var(--text-muted);
  font-size: 0.88rem;
  border-bottom: none;
}

.price-card .price-cta {
  padding: 1.35rem 1.25rem 1.5rem;
  text-align: center;
}

.price-card .price-cta .btn {
  border-radius: 0;
  width: 100%;
  max-width: 280px;
  background: #000;
  border-color: #000;
  color: #fff;
}

.price-card .price-cta .btn:hover {
  background: #222;
  border-color: #222;
  color: #fff;
}

/* —— Forms —— */
.form {
  display: grid;
  gap: 1rem;
  max-width: 560px;
}

.form-row {
  display: grid;
  gap: 1rem;
}

.form-row.two {
  grid-template-columns: 1fr 1fr;
}

label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
  color: var(--text);
}

input[type="text"],
input[type="email"],
input[type="tel"],
select,
textarea {
  width: 100%;
  padding: 0.75rem 0.9rem;
  font-family: inherit;
  font-size: 0.95rem;
  border: 1px solid var(--border);
  border-radius: 0;
  background: #fff;
  color: var(--text);
  transition: border-color 0.15s, box-shadow 0.15s;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(38, 146, 221, 0.2);
}

textarea {
  min-height: 130px;
  resize: vertical;
}

.form-check {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.form-check input {
  margin-top: 0.25rem;
}

.form-note {
  font-size: 0.85rem;
  color: var(--text-light);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 2.5rem;
  align-items: start;
}

.contact-details {
  display: grid;
  gap: 1.25rem;
}

.contact-item h3 {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 0.35rem;
}

.contact-item h3::after {
  display: none;
}

.contact-item p,
.contact-item a {
  margin: 0;
  color: var(--text);
  font-weight: 500;
}

.contact-item a:hover {
  color: var(--cyan);
}

/* —— Lists / ethics / goals —— */
.feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 1rem;
}

.feature-list li {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  padding: 1rem 1.15rem;
  background: #fff;
  border: none;
  border-radius: 0;
  box-shadow: var(--shadow);
}

.feature-list .bullet {
  flex-shrink: 0;
  width: 10px;
  height: 10px;
  margin-top: 0.45rem;
  border-radius: 50%;
  background: var(--cyan);
}

.quote {
  border-left: 3px solid var(--cyan);
  padding: 0.5rem 0 0.5rem 1.25rem;
  margin: 2rem 0;
  font-size: 1.1rem;
  font-style: italic;
  color: var(--text);
}

.timeline {
  position: relative;
  padding-left: 1.5rem;
  border-left: 2px solid var(--border);
  display: grid;
  gap: 1.5rem;
}

.timeline-item {
  position: relative;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -1.75rem;
  top: 0.4rem;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--cyan);
  border: 2px solid #fff;
  box-shadow: 0 0 0 2px var(--cyan);
}

.timeline-item .year {
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--cyan);
  letter-spacing: 0.06em;
}

/* —— Constellation / navy accent bands —— */
.constellation-band {
  position: relative;
  padding: 3rem 0;
  background: var(--navy);
  color: #fff;
  overflow: hidden;
}

.constellation-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../assets/constellation.svg") center / cover no-repeat;
  opacity: 0.55;
  pointer-events: none;
}

.constellation-band .container {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem 2rem;
}

.constellation-band p {
  margin: 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(1.05rem, 2.2vw, 1.35rem);
  font-family: var(--font-heading);
  font-weight: 600;
  max-width: 40rem;
}

.constellation-band strong {
  font-weight: 800;
  color: #fff;
}

.constellation-band .btn-outline {
  background: transparent;
  color: #fff;
  border-color: var(--cyan);
  flex-shrink: 0;
}

.constellation-band .btn-outline:hover {
  background: var(--cyan);
  color: #fff;
  border-color: var(--cyan);
}

.mission-hero {
  position: relative;
  padding: 3.5rem 0 3rem;
  background: #fff;
  overflow: hidden;
  text-align: center;
  border-bottom: none;
}

.mission-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../assets/constellation-light.svg") center / cover no-repeat;
  opacity: 1;
  pointer-events: none;
}

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

.mission-hero .lead-line {
  font-family: var(--font-heading);
  font-size: clamp(1.15rem, 2.6vw, 1.55rem);
  color: var(--text);
  margin: 0 auto 1.5rem;
  max-width: 42rem;
  line-height: 1.45;
  font-weight: 600;
}

.mission-hero .lead-line strong {
  font-weight: 800;
}

/* —— CTA band —— */
.cta-band {
  padding: 4rem 0;
  background: var(--navy);
  color: #fff;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-band.cta-constellation::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../assets/constellation.svg") center / cover no-repeat;
  opacity: 0.45;
  pointer-events: none;
}

.cta-band .container {
  position: relative;
  z-index: 1;
}

.cta-band h2 {
  color: #fff;
  margin-bottom: 0.75rem;
}

.cta-band h2::after {
  content: "";
  display: block;
  width: 4rem;
  height: 3px;
  background: var(--cyan);
  margin: 0.75rem auto 0;
}

.cta-band p {
  color: rgba(255, 255, 255, 0.75);
  max-width: 40rem;
  margin: 1rem auto 1.5rem;
}

.cta-band .btn {
  background: var(--cyan);
  color: #fff;
  border-color: var(--cyan);
}

.cta-band .btn:hover {
  background: var(--cyan-light);
  border-color: var(--cyan-light);
  color: #fff;
}

.cta-band .btn-outline {
  background: transparent;
  color: #fff;
  border-color: #fff;
}

.cta-band .btn-outline:hover {
  background: #fff;
  color: var(--navy);
}

/* —— FAQ —— */
.faq details {
  border: 1px solid var(--border);
  border-radius: 0;
  padding: 1rem 1.15rem;
  margin-bottom: 0.75rem;
  background: #fff;
}

.faq summary {
  font-family: var(--font-heading);
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

.faq summary::-webkit-details-marker { display: none; }

.faq summary::after {
  content: "+";
  float: right;
  color: var(--cyan);
  font-weight: 400;
}

.faq details[open] summary::after {
  content: "−";
}

.faq details p {
  margin: 0.75rem 0 0;
}

/* —— Privacy prose —— */
.prose {
  max-width: 720px;
}

.prose h2 {
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
}

.prose h3 {
  margin-top: 1.5rem;
}

.prose ul {
  color: var(--text-muted);
}

/* —— Footer (near-black Eventim) —— */
.site-footer {
  border-top: none;
  background: var(--footer-bg);
  padding: 3.5rem 0 1.5rem;
  margin-top: auto;
  color: rgba(255, 255, 255, 0.75);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.footer-brand .logo,
.footer-brand .logo-text strong {
  color: #fff;
}

.footer-brand .logo-text span {
  color: rgba(255, 255, 255, 0.55);
}

.footer-brand p {
  font-size: 0.9rem;
  max-width: 28ch;
  color: rgba(255, 255, 255, 0.65);
}

.footer-col h4 {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  text-transform: none;
  color: #fff;
  font-weight: 700;
  margin-bottom: 0.35rem;
  padding-bottom: 0.55rem;
  position: relative;
}

.footer-col h4::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 2.25rem;
  height: 2px;
  background: var(--cyan);
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0.85rem 0 0;
}

.footer-col li {
  margin-bottom: 0.5rem;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.9rem;
}

.footer-col a {
  font-size: 0.9rem;
  color: var(--cyan-light);
}

.footer-col a:hover {
  color: #fff;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.45);
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.55);
}

.footer-bottom a:hover {
  color: var(--cyan-light);
}

/* —— Utilities —— */
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.text-center { text-align: center; }
.muted { color: var(--text-muted); }

.badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  font-family: var(--font-heading);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.3rem 0.65rem;
  border-radius: 0;
  background: rgba(38, 146, 221, 0.12);
  color: var(--cyan);
}

.badge-soon {
  background: rgba(38, 146, 221, 0.15);
  color: var(--cyan);
}

/* —— Responsive —— */
@media (max-width: 960px) {
  .nav-toggle {
    display: block;
  }

  nav.main-nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--border);
    padding: 1rem 1.25rem 1.25rem;
    box-shadow: var(--shadow);
  }

  nav.main-nav.open {
    display: block;
  }

  .header-transparent:not(.is-scrolled) nav.main-nav {
    background: rgba(0, 0, 0, 0.95);
  }

  .header-transparent:not(.is-scrolled) .nav-list a {
    color: #fff;
  }

  .nav-list {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.15rem;
  }

  .nav-list a {
    display: block;
    width: 100%;
    padding: 0.65rem 0;
  }

  .header-inner {
    position: relative;
  }

  .grid-3,
  .team-grid {
    grid-template-columns: 1fr;
  }

  .grid-2,
  .pricing-grid,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .form-row.two {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 641px) and (max-width: 960px) {
  .grid-3,
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

@media (max-width: 480px) {
  .hero {
    padding: 3rem 0 2.5rem;
  }

  .hero.hero-particle {
    padding: 5.5rem 0 3rem;
    min-height: 0;
  }

  .particle-stage {
    width: min(94vw, 1000px);
  }

  .hero-tagline {
    margin-top: 1.25rem;
  }

  .section {
    padding: 3.25rem 0;
  }

  .container {
    width: min(100% - 1.5rem, var(--max));
  }

  .logo-mark {
    height: 40px;
  }

  .logo-text strong {
    font-size: 0.92rem;
  }
}

/* —— Blog cards & article pages —— */
.card-thumb,
.card-thumb-link .card-thumb {
  aspect-ratio: 16 / 10;
  background: var(--bg-muted);
  border-radius: 0;
  margin-bottom: 1rem;
  overflow: hidden;
}

.card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.card-blog:hover .card-thumb img {
  transform: scale(1.03);
}

.card-blog h3 a {
  color: var(--cyan-light);
  text-decoration: none;
}

.card-blog h3 a:hover {
  color: var(--cyan);
}

.card-blog h3::after {
  background: var(--cyan);
  width: 100%;
  max-width: none;
  height: 2px;
}

.article-page {
  padding: 2.5rem 0 4rem;
}

.article-narrow {
  max-width: 760px;
}

.breadcrumb {
  font-size: 0.85rem;
  color: var(--text-light);
  margin-bottom: 1.25rem;
}

.breadcrumb a {
  color: var(--text-muted);
}

.breadcrumb a:hover {
  color: var(--cyan);
}

.article-header {
  margin-bottom: 1.75rem;
}

.article-header h1 {
  margin: 0.35rem 0 0.75rem;
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  line-height: 1.2;
}

.article-meta {
  font-size: 0.9rem;
  color: var(--text-light);
  margin: 0;
}

.article-hero-image {
  margin: 0 0 2rem;
  border-radius: 0;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.article-hero-image img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.article-body {
  max-width: none;
}

.article-body > p {
  color: var(--text-muted);
  line-height: 1.75;
  margin: 0 0 1.15rem;
}

.article-body > h2,
.article-body > h3 {
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  color: var(--text);
}

.article-body > blockquote.quote {
  margin: 1.5rem 0;
}

.article-figure {
  margin: 1.75rem 0;
}

.article-figure img {
  width: 100%;
  height: auto;
  border-radius: 0;
  display: block;
}

.article-figure figcaption {
  margin-top: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-light);
  text-align: center;
}

.article-divider {
  border: 0;
  border-top: 1px solid var(--border);
  margin: 2rem 0;
}

.article-attribution {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  font-size: 0.9rem;
  color: var(--text-muted);
}

.article-attribution a {
  color: var(--cyan);
}

/* Navy section tweaks */
.section-navy .section-label {
  color: var(--cyan-light);
}

.section-navy .section-header h2::after {
  background: var(--cyan);
}

.section-navy .btn {
  background: var(--cyan);
  border-color: var(--cyan);
}

.header-transparent.is-scrolled {
  position: sticky;
}


/* —— Events calendar (TEC-inspired, static) —— */
.events-calendar-wrap {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 960px) {
  .events-calendar-wrap {
    grid-template-columns: 1fr min(340px, 34%);
    align-items: start;
  }
}

.tec-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1rem;
  margin-bottom: 1rem;
}

.tec-nav {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.tec-nav button,
.tec-view-toggle button {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--navy);
  padding: 0.55rem 0.85rem;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.tec-nav button:hover,
.tec-view-toggle button:hover,
.tec-nav button:focus-visible,
.tec-view-toggle button:focus-visible {
  border-color: var(--cyan);
  color: var(--cyan);
  outline: none;
}

.tec-nav button:focus-visible,
.tec-view-toggle button:focus-visible,
.tec-day:focus-visible,
.tec-list-item:focus-visible {
  box-shadow: 0 0 0 3px rgba(38, 146, 221, 0.28);
}

.tec-month-label {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--navy);
  min-width: 10ch;
  text-align: center;
  text-transform: capitalize;
}

.tec-view-toggle {
  display: inline-flex;
  border: 1px solid var(--border);
}

.tec-view-toggle button {
  border: none;
  border-right: 1px solid var(--border);
}

.tec-view-toggle button:last-child {
  border-right: none;
}

.tec-view-toggle button[aria-pressed="true"] {
  background: var(--navy);
  color: #fff;
}

.tec-calendar {
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.tec-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  background: var(--navy);
  color: #fff;
}

.tec-weekdays span {
  padding: 0.65rem 0.25rem;
  text-align: center;
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.tec-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
}

.tec-day {
  min-height: 5.5rem;
  border-top: 1px solid var(--border);
  border-right: 1px solid var(--border);
  padding: 0.4rem 0.35rem 0.5rem;
  background: #fff;
  text-align: left;
  cursor: default;
  font: inherit;
  color: inherit;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  position: relative;
}

.tec-day:nth-child(7n) {
  border-right: none;
}

.tec-day--muted {
  background: #fafafa;
  color: var(--text-light);
}

.tec-day--today .tec-day-num {
  background: var(--cyan);
  color: #fff;
}

.tec-day--selected {
  outline: 2px solid var(--cyan);
  outline-offset: -2px;
  z-index: 1;
}

.tec-day--has-events {
  cursor: pointer;
}

.tec-day--has-events:hover {
  background: #f3f9fd;
}

.tec-day-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.7rem;
  height: 1.7rem;
  border-radius: 50%;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--navy);
}

.tec-day--muted .tec-day-num {
  color: var(--text-light);
}

.tec-dots {
  display: flex;
  flex-wrap: wrap;
  gap: 0.2rem;
  margin-top: auto;
}

.tec-dot {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--cyan);
}

.tec-pill {
  display: none;
  font-size: 0.65rem;
  line-height: 1.2;
  padding: 0.15rem 0.3rem;
  background: rgba(38, 146, 221, 0.12);
  color: var(--navy);
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

@media (min-width: 720px) {
  .tec-day {
    min-height: 6.5rem;
  }
  .tec-pill {
    display: block;
  }
  .tec-dots {
    display: none;
  }
}

.tec-list {
  display: none;
  border: 1px solid var(--border);
  background: #fff;
  box-shadow: var(--shadow);
}

.tec-list.is-active,
.tec-calendar.is-active {
  display: block;
}

.tec-calendar:not(.is-active) {
  display: none;
}

.tec-list-item {
  display: grid;
  grid-template-columns: 5.5rem 1fr;
  gap: 1rem;
  padding: 1rem 1.15rem;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  background: #fff;
  border-left: none;
  border-right: none;
  border-top: none;
  width: 100%;
  text-align: left;
  font: inherit;
  color: inherit;
}

.tec-list-item:last-child {
  border-bottom: none;
}

.tec-list-item:hover,
.tec-list-item.is-selected {
  background: #f3f9fd;
}

.tec-list-date {
  font-family: var(--font-heading);
  font-weight: 800;
  color: var(--navy);
  font-size: 0.9rem;
  line-height: 1.25;
}

.tec-list-date small {
  display: block;
  font-weight: 600;
  color: var(--cyan);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.tec-list-body h3 {
  margin: 0 0 0.25rem;
  font-size: 1.05rem;
}

.tec-list-body p {
  margin: 0;
  font-size: 0.9rem;
}

.tec-list-meta {
  margin-top: 0.35rem !important;
  color: var(--text-light) !important;
  font-size: 0.8rem !important;
}

.tec-empty {
  padding: 2rem 1.25rem;
  text-align: center;
  color: var(--text-muted);
}

.tec-detail {
  border: 1px solid var(--border);
  background: #fff;
  box-shadow: var(--shadow);
  padding: 1.35rem 1.4rem 1.5rem;
  position: sticky;
  top: calc(var(--header-h) + 1rem);
}

.tec-detail h3 {
  margin-top: 0.35rem;
  color: var(--navy);
}

.tec-detail-kicker {
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cyan);
  margin: 0;
}

.tec-detail-meta {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.tec-detail-meta li {
  margin-bottom: 0.35rem;
}

.tec-detail-meta strong {
  color: var(--navy);
  font-weight: 600;
}

.tec-detail-placeholder {
  color: var(--text-muted);
  margin: 0;
}

.tec-note {
  margin: 0.75rem 0 0;
  font-size: 0.85rem;
  color: var(--text-light);
}

@media (max-width: 640px) {
  .tec-day {
    min-height: 3.6rem;
    padding: 0.3rem 0.2rem;
  }
  .tec-day-num {
    width: 1.45rem;
    height: 1.45rem;
    font-size: 0.75rem;
  }
  .tec-weekdays span {
    font-size: 0.62rem;
    padding: 0.5rem 0;
  }
  .tec-list-item {
    grid-template-columns: 4.25rem 1fr;
    gap: 0.75rem;
  }
}

/* —— About / Mission page (za-nas) —— */
.motto-primary {
  font-family: var(--font-heading);
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  font-weight: 700;
  color: var(--navy);
  margin: 0.5rem auto 1.25rem;
  max-width: 36rem;
  line-height: 1.35;
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.pillar-card {
  background: #fff;
  box-shadow: var(--shadow);
  padding: 1.75rem 1.5rem;
  text-align: center;
  border-top: 3px solid var(--cyan);
}

.pillar-card .card-icon {
  margin-left: auto;
  margin-right: auto;
}

.pillar-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.35rem;
}

.pillar-card p {
  margin: 0;
  color: var(--text-muted);
  font-weight: 500;
}

.mission-long {
  max-width: 46rem;
  margin: 0 auto;
  padding: 1.5rem 1.75rem;
  background: var(--bg-soft);
  border-left: 3px solid var(--cyan);
}

.mission-long p {
  margin: 0;
  color: var(--text);
  font-size: 1.05rem;
  line-height: 1.75;
}

.goals-grid .goal-card h3 {
  font-size: 1.1rem;
}

.mission-closing {
  margin: 2.5rem auto 0;
  max-width: 44rem;
  text-align: center;
  font-size: 1.1rem;
  color: var(--text);
  font-weight: 500;
  line-height: 1.7;
}

.alt-mottos {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  justify-content: center;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

.alt-motto {
  margin: 0;
  font-style: italic;
  color: var(--text-light);
  font-size: 0.95rem;
}

.ethics-lead {
  margin: 0 0 1.25rem;
  color: var(--text);
  font-weight: 500;
}

.ethics-closing {
  margin: 2rem 0 0;
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--navy);
}

.founder-quote {
  max-width: 44rem;
  margin: 0 auto;
  font-size: clamp(1.15rem, 2.4vw, 1.4rem);
  text-align: left;
}

.quote-attribution {
  max-width: 44rem;
  margin: 0.75rem auto 0;
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 500;
}

@media (max-width: 960px) {
  .pillars-grid {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 641px) and (max-width: 960px) {
  .pillars-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .pillars-grid .pillar-card:last-child {
    grid-column: 1 / -1;
    max-width: 50%;
    justify-self: center;
  }
}
