/* ========================================
   AIUP — Pages Stylesheet
   ======================================== */

/* ---------- Page Header ---------- */
.page-header {
  padding: calc(var(--space-3xl) + 80px) 0 var(--space-xl);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 600px;
  background: radial-gradient(ellipse, rgba(227, 239, 38, 0.1) 0%, transparent 60%);
  pointer-events: none;
  animation: heroGlow 9s ease-in-out infinite;
}

.page-header::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(227, 239, 38, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(227, 239, 38, 0.025) 1px, transparent 1px);
  background-size: 70px 70px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, black 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, black 30%, transparent 100%);
  pointer-events: none;
}

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

.page-header .section-tag {
  margin-bottom: var(--space-sm);
}

.page-header h1 {
  margin-bottom: var(--space-sm);
  position: relative;
  letter-spacing: -0.025em;
  background: linear-gradient(180deg, var(--text-primary) 0%, rgba(255, 253, 238, 0.85) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.page-header h1 .accent {
  -webkit-text-fill-color: var(--accent);
  color: var(--accent);
  text-shadow: 0 0 40px rgba(227, 239, 38, 0.4);
}

.page-header p {
  max-width: 640px;
  margin: 0 auto;
  font-size: 1.08rem;
  position: relative;
  line-height: 1.65;
}

/* ---------- Contact Page ---------- */
.contact-layout {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: var(--space-xl);
  align-items: start;
}

.contact-form {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
}

/* Native AIUP form posting do n8n (iframe zablokowany przez n8n via X-Frame-Options) */
.contact-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
}

@media (max-width: 540px) {
  .contact-form .form-row {
    grid-template-columns: 1fr;
  }
}

.contact-form .req {
  color: var(--accent);
  font-weight: 600;
  margin-left: 2px;
}

.contact-form .form-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 0.4rem;
}

.contact-form .form-hint {
  color: var(--text-secondary);
  font-weight: 400;
  font-size: 0.8rem;
  margin-left: 0.4rem;
}

.contact-form textarea {
  resize: vertical;
  min-height: 64px;
  font-family: inherit;
}

.contact-form .form-status {
  margin-top: var(--space-md);
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md, 8px);
  font-size: 0.9rem;
  text-align: center;
}
.contact-form .form-status[data-kind="success"] {
  background: rgba(56, 161, 105, 0.12);
  color: #2f855a;
  border: 1px solid rgba(56, 161, 105, 0.3);
}
.contact-form .form-status[data-kind="error"] {
  background: rgba(229, 62, 62, 0.12);
  color: #c53030;
  border: 1px solid rgba(229, 62, 62, 0.3);
}

.pill-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.pill {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 0.9rem;
  background: var(--bg-primary);
  border: 1px solid var(--border-card-hover);
  border-radius: 999px;
  font-size: 0.88rem;
  color: var(--text-primary);
  cursor: pointer;
  transition: border-color var(--duration) var(--ease), background var(--duration) var(--ease), color var(--duration) var(--ease);
  user-select: none;
}

.pill input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  width: 0; height: 0;
}

.pill:hover {
  border-color: var(--accent);
  color: var(--text-primary);
}

.pill:has(input:checked) {
  background: var(--accent);
  border-color: var(--accent);
  color: #06231D;
  font-weight: 500;
}

.aiup-form-submit {
  width: 100%;
  justify-content: center;
  margin-top: var(--space-sm);
}

.aiup-form-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.form-error {
  margin: var(--space-sm) 0 0;
  padding: 0.75rem 1rem;
  background: rgba(220, 80, 80, 0.1);
  border: 1px solid rgba(220, 80, 80, 0.35);
  border-radius: var(--radius-sm);
  color: #ffb3b3;
  font-size: 0.9rem;
}

.form-success {
  text-align: center;
  padding: var(--space-xl) var(--space-md);
}

.form-success__icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(227, 239, 38, 0.15);
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-md);
}

.form-success__icon svg {
  width: 32px;
  height: 32px;
}

.form-success h3 {
  margin: 0 0 0.5rem;
  font-size: 1.4rem;
}

.form-success p {
  margin: 0;
  color: var(--text-secondary);
  line-height: 1.55;
}

.form-group {
  margin-bottom: var(--space-md);
}

.form-group label {
  display: block;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 0.4rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  background: var(--bg-primary);
  border: 1px solid var(--border-card-hover);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-size: 0.92rem;
  transition: border-color var(--duration) var(--ease);
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23a8c4bc' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.form-group select option {
  background: var(--bg-primary);
  color: var(--text-primary);
}

.contact-sidebar {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.sidebar-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
}

.sidebar-card h3 {
  font-size: 1.05rem;
  margin-bottom: var(--space-md);
}

.expect-step {
  display: flex;
  gap: var(--space-sm);
  margin-bottom: var(--space-sm);
}

.expect-step:last-child {
  margin-bottom: 0;
}

.expect-num {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.expect-step p {
  font-size: 0.88rem;
}

.contact-info-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.8rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.contact-info-item:last-child {
  margin-bottom: 0;
}

.contact-info-item .info-icon {
  color: var(--accent);
  font-size: 1.1rem;
}

/* ---------- Services Page ---------- */
.services-page-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: var(--space-md);
}

.service-page-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 1.2rem;
  transition: all var(--duration) var(--ease);
  position: relative;
}

.service-brand {
  position: absolute;
  top: 14px;
  right: 14px;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(227, 239, 38, 0.12);
  border: 1px solid rgba(227, 239, 38, 0.4);
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}

.service-brand--partner {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.2);
  color: var(--text-secondary);
}

.service-page-card__external {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: var(--space-sm);
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  transition: gap var(--duration) var(--ease);
}

.service-page-card__external:hover {
  gap: 0.7rem;
}

.service-page-card:hover {
  border-color: var(--border-card-hover);
  transform: translateY(-2px);
}

.service-page-num {
  font-family: var(--font-mono);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent);
  opacity: 0.4;
  margin-bottom: 0.4rem;
}

.service-page-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.4rem;
  line-height: 1.25;
}

.service-page-card p {
  font-size: 0.82rem;
  line-height: 1.45;
  margin-bottom: 0;
  color: var(--text-secondary);
}

.service-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.service-list li {
  font-size: 0.88rem;
  color: var(--text-secondary);
  padding-left: 1.2rem;
  position: relative;
}

.service-list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--accent);
}

/* ---------- About Page ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
}

.about-text h2 {
  margin-bottom: var(--space-md);
}

.about-text p {
  margin-bottom: var(--space-sm);
  font-size: 1rem;
}

.about-placeholder {
  background:
    radial-gradient(circle at 30% 30%, rgba(227, 239, 38, 0.08), transparent 50%),
    linear-gradient(135deg, var(--bg-alt) 0%, var(--bg-card) 100%);
  border: 1px solid rgba(227, 239, 38, 0.14);
  border-radius: var(--radius-xl);
  min-height: 420px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  color: var(--accent);
  font-size: 0.95rem;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.about-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(227, 239, 38, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(227, 239, 38, 0.04) 1px, transparent 1px);
  background-size: 50px 50px;
  mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black 30%, transparent 100%);
  pointer-events: none;
}

.about-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-xl);
}

.about-placeholder__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
  padding: var(--space-md);
}

.about-placeholder__monogram {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: var(--grad-accent);
  color: var(--bg-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 1.8rem;
  letter-spacing: -0.04em;
  box-shadow: 0 0 0 8px rgba(227, 239, 38, 0.1), 0 0 40px rgba(227, 239, 38, 0.4);
}

.about-placeholder__caption {
  color: var(--text-secondary);
  font-family: var(--font-mono);
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.about-slideshow {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  min-height: 420px;
  border: 1px solid rgba(227, 239, 38, 0.14);
  box-shadow: var(--shadow-soft);
  background: var(--bg-alt);
}

.about-slideshow__track {
  position: absolute;
  inset: 0;
}

.about-slideshow__slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.8s ease;
  border-radius: var(--radius-xl);
}

.about-slideshow__slide.is-active {
  opacity: 1;
}

.about-slideshow__dots {
  position: absolute;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 2;
  padding: 6px 10px;
  background: rgba(0, 0, 0, 0.35);
  border-radius: 999px;
  backdrop-filter: blur(6px);
}

.about-slideshow__dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: none;
  padding: 0;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  transition: background 0.3s ease, transform 0.3s ease;
}

.about-slideshow__dot:hover {
  background: rgba(255, 255, 255, 0.75);
}

.about-slideshow__dot.is-active {
  background: var(--accent);
  transform: scale(1.2);
}

.about-slideshow__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(227, 239, 38, 0.3);
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(6px);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 3;
  padding: 0;
  transition: background 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}

.about-slideshow__arrow svg {
  width: 22px;
  height: 22px;
}

.about-slideshow__arrow:hover {
  background: rgba(227, 239, 38, 0.9);
  color: var(--bg-primary);
  border-color: var(--accent);
}

.about-slideshow__arrow--prev {
  left: 14px;
}

.about-slideshow__arrow--next {
  right: 14px;
}

.about-slideshow__arrow:hover {
  transform: translateY(-50%) scale(1.08);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--space-md);
}

.value-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  transition: all var(--duration) var(--ease);
}

.value-card:hover {
  border-color: var(--border-card-hover);
}

.value-icon {
  font-size: 1.8rem;
  margin-bottom: var(--space-sm);
}

.value-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.4rem;
}

.value-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* ============================================================
   O nas — wzmocnienia wizualne (scoped, nie ruszają innych stron)
   ============================================================ */

/* Jaśniejsze tło sekcji zespołu na samej górze strony (zamiast ciemnego bg-primary) */
.team-section--top {
  background:
    radial-gradient(ellipse 70% 55% at 50% 0%, rgba(227, 239, 38, 0.07), transparent 60%),
    linear-gradient(180deg, var(--bg-alt) 0%, var(--bg-primary) 100%);
}

/* Chipy z kompetencjami na kartach zespołu */
.team-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  max-width: 300px;
  margin: 0 auto 18px;
}

.team-tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.03em;
  color: var(--accent);
  padding: 4px 12px;
  border-radius: 999px;
  border: 1px solid rgba(227, 239, 38, 0.22);
  background: rgba(227, 239, 38, 0.05);
  transition: background 0.3s ease, border-color 0.3s ease;
}

.team-card:hover .team-tag {
  background: rgba(227, 239, 38, 0.1);
  border-color: rgba(227, 239, 38, 0.35);
}

/* Wartości — wersja bardziej wizualna (kafelki ikon, numeracja, pasek akcentu) */
.values-grid--visual {
  counter-reset: val;
}

.values-grid--visual .value-card {
  position: relative;
  overflow: hidden;
  padding-top: calc(var(--space-lg) + 4px);
  background: linear-gradient(180deg, var(--bg-card) 0%, rgba(14, 61, 51, 0.55) 100%);
}

.values-grid--visual .value-card::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: var(--grad-accent, var(--accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}

.values-grid--visual .value-card:hover::before {
  transform: scaleX(1);
}

.values-grid--visual .value-card::after {
  counter-increment: val;
  content: counter(val, decimal-leading-zero);
  position: absolute;
  top: 14px;
  right: 18px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--accent);
  opacity: 0.35;
}

.values-grid--visual .value-card:hover {
  transform: translateY(-4px);
  border-color: rgba(227, 239, 38, 0.3);
  box-shadow: 0 14px 40px -18px rgba(0, 0, 0, 0.6);
}

.values-grid--visual .value-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: rgba(227, 239, 38, 0.08);
  border: 1px solid rgba(227, 239, 38, 0.18);
  font-size: 1.7rem;
  margin-bottom: var(--space-sm);
}

/* ---------- Collaboration Timeline ---------- */
.timeline {
  position: relative;
  max-width: 700px;
  margin: 0 auto;
  padding-left: 3rem;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 18px;
  width: 2px;
  background: linear-gradient(to bottom, var(--accent), rgba(227, 239, 38, 0.05));
}

.timeline-step {
  position: relative;
  margin-bottom: var(--space-xl);
}

.timeline-step:last-child {
  margin-bottom: 0;
}

.timeline-dot {
  position: absolute;
  left: -3rem;
  top: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-primary);
  border: 2px solid var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent);
  box-shadow: 0 0 16px rgba(227, 239, 38, 0.2);
  transform: translateX(0.5px);
}

.timeline-step h3 {
  font-size: 1.15rem;
  margin-bottom: 0.4rem;
}

.timeline-step p {
  font-size: 0.92rem;
  color: var(--text-secondary);
}

/* ---------- Areas Hub ---------- */
.areas-hub-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: var(--space-md);
}

.area-hub-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  transition: all var(--duration) var(--ease);
}

.area-hub-card:hover {
  border-color: var(--border-card-hover);
  transform: translateY(-2px);
}

.area-hub-card h3 {
  font-size: 1.15rem;
  margin-bottom: var(--space-sm);
}

.area-hub-card > p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  margin-bottom: var(--space-md);
}

.area-examples {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.area-examples li {
  font-size: 0.85rem;
  color: var(--text-muted);
  padding-left: 1.2rem;
  position: relative;
}

.area-examples li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--accent);
}

/* ---------- Meeting Page ---------- */
.meeting-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
}

.meeting-stat {
  text-align: center;
  padding: var(--space-lg);
  background:
    radial-gradient(circle at 50% 0%, rgba(227, 239, 38, 0.06), transparent 50%),
    var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  position: relative;
  overflow: hidden;
  transition: all var(--duration) var(--ease);
}

.meeting-stat::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0.4;
}

.meeting-stat:hover {
  border-color: var(--border-card-hover);
  transform: translateY(-3px);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.25);
}

.meeting-stat .stat-number {
  font-size: 2.2rem;
  text-shadow: 0 0 30px rgba(227, 239, 38, 0.3);
}

.meeting-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
}

.meeting-placeholder {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
}

/* ---------- Blog Grid ---------- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--space-md);
}

.blog-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--duration) var(--ease);
}

.blog-card:hover {
  border-color: var(--border-card-hover);
  transform: translateY(-2px);
}

.blog-img {
  height: 200px;
  background:
    radial-gradient(circle at 30% 30%, rgba(227, 239, 38, 0.1), transparent 55%),
    linear-gradient(135deg, var(--bg-alt) 0%, var(--bg-card) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 1.6rem;
  position: relative;
  overflow: hidden;
}

.blog-img::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(227, 239, 38, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(227, 239, 38, 0.04) 1px, transparent 1px);
  background-size: 30px 30px;
  mask-image: radial-gradient(ellipse 70% 70% at 30% 30%, black 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 30% 30%, black 30%, transparent 100%);
}

.blog-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-img__icon {
  position: relative;
  z-index: 1;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(227, 239, 38, 0.1);
  border: 1px solid rgba(227, 239, 38, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  filter: drop-shadow(0 0 12px rgba(227, 239, 38, 0.4));
}

.blog-body {
  padding: var(--space-md);
}

.blog-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent);
  background: rgba(227, 239, 38, 0.08);
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-pill);
  margin-bottom: 0.6rem;
}

.blog-body h3 {
  font-size: 1.05rem;
  margin-bottom: 0.4rem;
  line-height: 1.3;
}

.blog-body p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: var(--space-sm);
}

.blog-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.load-more-wrap {
  text-align: center;
  margin-top: var(--space-xl);
}

/* ---------- Courses Page ---------- */
.courses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-md);
}

.course-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  transition: all var(--duration) var(--ease);
  position: relative;
  overflow: hidden;
}

.course-card:hover {
  border-color: var(--border-card-hover);
  transform: translateY(-2px);
}

.course-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0;
  transition: opacity var(--duration) var(--ease);
}

.course-card:hover::before {
  opacity: 1;
}

.course-icon {
  font-size: 2rem;
  margin-bottom: var(--space-sm);
}

.course-card h3 {
  font-size: 1.15rem;
  margin-bottom: var(--space-sm);
}

.course-card p {
  font-size: 0.92rem;
  color: var(--text-secondary);
}

/* ---------- Shop Page ---------- */
.shop-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-md);
}

.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--duration) var(--ease);
}

.product-card:hover {
  border-color: var(--border-card-hover);
}

.product-img {
  height: 200px;
  background:
    radial-gradient(circle at 30% 30%, rgba(227, 239, 38, 0.1), transparent 55%),
    linear-gradient(135deg, var(--bg-alt) 0%, var(--bg-card) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 1.6rem;
  position: relative;
  overflow: hidden;
}

.product-img::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(227, 239, 38, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(227, 239, 38, 0.04) 1px, transparent 1px);
  background-size: 30px 30px;
  mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black 30%, transparent 100%);
}

.product-img__icon {
  position: relative;
  z-index: 1;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(227, 239, 38, 0.1);
  border: 1px solid rgba(227, 239, 38, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  filter: drop-shadow(0 0 12px rgba(227, 239, 38, 0.4));
}

.product-body {
  padding: var(--space-md);
}

.product-body h3 {
  font-size: 1.05rem;
  margin-bottom: 0.4rem;
}

.product-body p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin-bottom: var(--space-sm);
}

.product-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent);
  border: 1px solid rgba(227, 239, 38, 0.2);
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius-pill);
}

a.product-card { text-decoration: none; color: inherit; display: block; }

.product-card--available {
  border-color: rgba(224, 169, 109, 0.4);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(224, 169, 109, 0.15);
}

.product-card--available:hover {
  transform: translateY(-3px);
  border-color: rgba(224, 169, 109, 0.65);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.35), 0 0 60px rgba(224, 169, 109, 0.18);
}

.product-img--lustro {
  background:
    radial-gradient(circle at 30% 30%, rgba(244, 228, 203, 0.22), transparent 55%),
    radial-gradient(circle at 70% 80%, rgba(212, 133, 107, 0.25), transparent 60%),
    linear-gradient(135deg, #2a1f17 0%, #1a1410 100%);
  position: relative;
}

.product-img--lustro::before {
  background-image:
    linear-gradient(rgba(224, 169, 109, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(224, 169, 109, 0.05) 1px, transparent 1px);
  background-size: 28px 28px;
}

.product-img--lustro .product-img__icon {
  background: linear-gradient(135deg, #e0a96d 0%, #d4856b 100%);
  color: #2a1f17;
  font-size: 1.8rem;
  width: 64px;
  height: 64px;
  box-shadow: 0 12px 28px rgba(224, 169, 109, 0.35);
}

.product-img__badge {
  position: absolute;
  top: var(--space-sm);
  right: var(--space-sm);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.3rem 0.65rem;
  border-radius: var(--radius-pill);
  background: linear-gradient(135deg, #e0a96d 0%, #d4856b 100%);
  color: #2a1f17;
  font-weight: 700;
  z-index: 2;
}

.product-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-sm);
  margin-top: var(--space-sm);
  padding-top: var(--space-sm);
  border-top: 1px solid rgba(255, 253, 238, 0.06);
}

.product-price {
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #e0a96d 0%, #d4856b 100%);
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
}

.product-cta-inline {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  transition: transform var(--duration) var(--ease);
}

.product-card--available:hover .product-cta-inline {
  transform: translateX(3px);
}

/* ---------- Ads / Reklamy Page ---------- */
.ads-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-md);
}

/* ---------- Effects Page ---------- */
.effects-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
}

.effects-benefits {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-md);
}

.benefit-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  transition: all var(--duration) var(--ease);
}

.benefit-card:hover {
  border-color: var(--border-card-hover);
}

.benefit-icon {
  font-size: 2rem;
  margin-bottom: var(--space-sm);
}

.benefit-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.4rem;
}

.benefit-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* ---------- Meeting Hero (PREMIUM) ---------- */
.meeting-hero {
  min-height: 88vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: calc(var(--space-3xl) + 60px) 0 var(--space-3xl);
}

.meeting-hero::before {
  content: '';
  position: absolute;
  top: 5%;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 900px;
  background: radial-gradient(circle, rgba(227, 239, 38, 0.09) 0%, transparent 55%);
  pointer-events: none;
  animation: heroGlow 9s ease-in-out infinite;
}

.meeting-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 80%, rgba(7, 102, 83, 0.4) 0%, transparent 35%),
    radial-gradient(circle at 80% 20%, rgba(227, 239, 38, 0.05) 0%, transparent 30%);
  pointer-events: none;
}

.meeting-hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(227, 239, 38, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(227, 239, 38, 0.035) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black 30%, transparent 100%);
}

.meeting-hero-inner {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: var(--space-xl);
  align-items: center;
  position: relative;
  z-index: 1;
}

.meeting-hero-edition {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--bg-primary);
  background: var(--grad-accent);
  padding: 0.5rem 1.2rem;
  border-radius: var(--radius-pill);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: var(--space-md);
  box-shadow: 0 6px 22px rgba(227, 239, 38, 0.3);
}

.meeting-hero-edition::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--bg-primary);
  animation: pulseDot 1.6s ease-in-out infinite;
}

.meeting-hero h1 {
  font-size: clamp(2.2rem, 4.4vw, 3.4rem);
  margin-bottom: var(--space-sm);
  letter-spacing: -0.025em;
  background: linear-gradient(180deg, var(--text-primary) 0%, rgba(255, 253, 238, 0.85) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.meeting-hero h1 .accent {
  -webkit-text-fill-color: var(--accent);
  color: var(--accent);
  text-shadow: 0 0 40px rgba(227, 239, 38, 0.4);
}

.meeting-hero-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  margin-bottom: var(--space-md);
  max-width: 520px;
  line-height: 1.6;
}

.meeting-hero-details {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  margin-bottom: var(--space-md);
  padding: 1rem 1.3rem;
  background: rgba(227, 239, 38, 0.03);
  border: 1px solid rgba(227, 239, 38, 0.08);
  border-radius: var(--radius-md);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  max-width: 520px;
}

.meeting-hero-detail {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.meeting-hero-detail .detail-icon {
  color: var(--accent);
  font-size: 1.1rem;
  filter: drop-shadow(0 0 8px rgba(227, 239, 38, 0.5));
}

.meeting-hero-buttons {
  display: flex;
  gap: 1.1rem;
  flex-wrap: wrap;
}

/* Premium hero visual — landscape cover, fully visible (no crop) */
.meeting-hero-visual {
  width: 100%;
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--bg-card);
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(227, 239, 38, 0.2),
    0 0 100px rgba(227, 239, 38, 0.15);
  transform: rotate(1deg);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
  isolation: isolate;
  line-height: 0;
}

.meeting-hero-visual::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: var(--radius-xl);
  padding: 2px;
  background: var(--grad-border);
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  z-index: 2;
}

.meeting-hero-visual:hover {
  transform: rotate(0) translateY(-8px) scale(1.02);
  box-shadow:
    0 40px 100px rgba(0, 0, 0, 0.6),
    0 0 0 1px rgba(227, 239, 38, 0.35),
    0 0 140px rgba(227, 239, 38, 0.25);
}

.meeting-hero-visual img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

/* Floating accent decorations around hero visual */
.meeting-hero-visual-wrap {
  position: relative;
}

.meeting-hero-visual-wrap::before {
  content: '';
  position: absolute;
  top: -30px;
  right: -30px;
  width: 140px;
  height: 140px;
  border: 1px solid rgba(227, 239, 38, 0.18);
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(227, 239, 38, 0.06), transparent 70%);
  z-index: -1;
  animation: floatRing 6s ease-in-out infinite;
}

.meeting-hero-visual-wrap::after {
  content: '';
  position: absolute;
  bottom: -20px;
  left: -20px;
  width: 90px;
  height: 90px;
  border: 1px dashed rgba(227, 239, 38, 0.15);
  border-radius: 50%;
  z-index: -1;
  animation: floatRing 7s ease-in-out infinite reverse;
}

@keyframes floatRing {
  0%, 100% { transform: translateY(0) rotate(0); }
  50% { transform: translateY(-12px) rotate(180deg); }
}

/* ---------- Meeting For Whom ---------- */
.for-whom-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--space-md);
}

.for-whom-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  text-align: center;
  transition: all var(--duration) var(--ease);
}

.for-whom-card:hover {
  border-color: var(--border-card-hover);
  transform: translateY(-2px);
}

.for-whom-icon {
  font-size: 2rem;
  margin-bottom: var(--space-sm);
}

.for-whom-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.4rem;
}

.for-whom-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* ---------- Speaker Cards ---------- */
.speakers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--space-md);
}

.speaker-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  text-align: center;
  transition: all var(--duration) var(--ease);
  position: relative;
  overflow: hidden;
}

.speaker-card:hover {
  border-color: var(--border-card-hover);
  transform: translateY(-2px);
}

.speaker-photo {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 30%, rgba(227, 239, 38, 0.18), transparent 60%),
    linear-gradient(135deg, var(--bg-alt) 0%, var(--bg-card) 100%);
  border: 1px solid rgba(227, 239, 38, 0.22);
  margin: 0 auto var(--space-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 1.6rem;
  font-weight: 700;
  font-family: var(--font-main);
  letter-spacing: -0.02em;
  position: relative;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25), 0 0 30px rgba(227, 239, 38, 0.1);
  overflow: hidden;
  transition: transform var(--duration) var(--ease), box-shadow var(--duration) var(--ease);
}

.speaker-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.speaker-card:hover .speaker-photo {
  transform: scale(1.05);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35), 0 0 50px rgba(227, 239, 38, 0.25);
}

.speaker-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}

.speaker-role {
  font-size: 0.82rem;
  color: var(--accent);
  font-family: var(--font-mono);
  margin-bottom: var(--space-sm);
}

.speaker-card > p {
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* ---------- Speakers — Zjazd visual variant ---------- */
.speakers-grid--zjazd {
  grid-template-columns: repeat(6, 1fr);
  gap: var(--space-lg);
}

.speakers-grid--zjazd > .speaker-card--zjazd:nth-child(1),
.speakers-grid--zjazd > .speaker-card--zjazd:nth-child(2) {
  grid-column: span 3;
}

.speakers-grid--zjazd > .speaker-card--zjazd:nth-child(n+3) {
  grid-column: span 2;
}

@media (max-width: 900px) {
  .speakers-grid--zjazd {
    grid-template-columns: 1fr 1fr;
  }
  .speakers-grid--zjazd > .speaker-card--zjazd:nth-child(1),
  .speakers-grid--zjazd > .speaker-card--zjazd:nth-child(2),
  .speakers-grid--zjazd > .speaker-card--zjazd:nth-child(n+3) {
    grid-column: auto;
  }
  .speakers-grid--zjazd > .speaker-card--zjazd:last-child {
    grid-column: 1 / -1;
    max-width: 360px;
    justify-self: center;
  }
}

@media (max-width: 560px) {
  .speakers-grid--zjazd {
    grid-template-columns: 1fr;
  }
  .speakers-grid--zjazd > .speaker-card--zjazd:last-child {
    max-width: none;
  }
}

.speaker-card--zjazd {
  background:
    linear-gradient(160deg, rgba(95, 87, 222, 0.10) 0%, rgba(7, 102, 83, 0) 55%),
    var(--bg-card);
  border: 1px solid rgba(227, 239, 38, 0.10);
  padding: var(--space-lg) var(--space-md);
  overflow: hidden;
  isolation: isolate;
}

.speaker-card--zjazd::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(95, 87, 222, 0.45), rgba(32, 177, 207, 0.35) 50%, rgba(214, 215, 51, 0.4));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  opacity: 0;
  transition: opacity var(--duration) var(--ease);
  pointer-events: none;
  z-index: -1;
}

.speaker-card--zjazd:hover::before {
  opacity: 1;
}

.speaker-card--zjazd::after {
  content: '';
  position: absolute;
  top: -40%;
  right: -30%;
  width: 70%;
  height: 70%;
  background: radial-gradient(circle, rgba(95, 87, 222, 0.18) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
}

.speaker-card--zjazd > * {
  position: relative;
  z-index: 1;
}

.speaker-avatar {
  width: 132px;
  height: 132px;
  border-radius: 50%;
  margin: 0 auto var(--space-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 2.4rem;
  letter-spacing: 0.02em;
  color: var(--text-primary);
  position: relative;
  box-shadow:
    inset 0 0 0 1px rgba(255, 253, 238, 0.12),
    0 10px 30px rgba(0, 0, 0, 0.35),
    0 0 40px rgba(95, 87, 222, 0.18);
  transition: transform var(--duration) var(--ease), box-shadow var(--duration) var(--ease);
}

.speaker-avatar::after {
  content: '';
  position: absolute;
  inset: 6px;
  border-radius: 50%;
  border: 1px dashed rgba(255, 253, 238, 0.18);
  pointer-events: none;
}

.speaker-avatar {
  overflow: hidden;
}

.speaker-avatar img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  z-index: 1;
}

.speaker-avatar img + .speaker-avatar::after,
.speaker-avatar:has(img)::after {
  border-color: rgba(255, 253, 238, 0.4);
  z-index: 2;
}

.speaker-card--zjazd:hover .speaker-avatar {
  transform: scale(1.04) rotate(-2deg);
  box-shadow:
    inset 0 0 0 1px rgba(255, 253, 238, 0.18),
    0 14px 36px rgba(0, 0, 0, 0.4),
    0 0 60px rgba(32, 177, 207, 0.3);
}

.speaker-avatar--violet { background: linear-gradient(135deg, #5F57DE 0%, #20B1CF 100%); }
.speaker-avatar--cyan   { background: linear-gradient(135deg, #20B1CF 0%, #5F57DE 100%); }
.speaker-avatar--yellow { background: linear-gradient(135deg, #D6D733 0%, #20B1CF 100%); color: #06231D; }
.speaker-avatar--mix    { background: linear-gradient(135deg, #5F57DE 0%, #D6D733 100%); }
.speaker-avatar--ocean  { background: linear-gradient(135deg, #20B1CF 0%, #D6D733 100%); color: #06231D; }

.speaker-city {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-secondary);
  background: rgba(227, 239, 38, 0.08);
  border: 1px solid rgba(227, 239, 38, 0.18);
  padding: 0.3rem 0.65rem;
  border-radius: var(--radius-pill);
  margin-bottom: 0.6rem;
}

.speaker-city::before {
  content: '📍';
  font-size: 0.85rem;
}

.speaker-card--zjazd h3 {
  font-size: 1.15rem;
  margin-bottom: 0.4rem;
}

.speaker-topic {
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-top: 0.2rem;
}

/* ---------- Partner CTA ---------- */
.partner-cta {
  position: relative;
  margin: var(--space-2xl) auto 0;
  max-width: 880px;
  text-align: center;
  padding: var(--space-xl) var(--space-lg);
  background:
    linear-gradient(160deg, rgba(95, 87, 222, 0.12) 0%, rgba(32, 177, 207, 0.08) 55%, rgba(214, 215, 51, 0.06) 100%),
    var(--bg-card);
  border-radius: var(--radius-xl);
  overflow: hidden;
  isolation: isolate;
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.35);
}

.partner-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1.5px;
  background: linear-gradient(135deg, #5F57DE 0%, #20B1CF 50%, #D6D733 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
  z-index: -1;
}

.partner-cta-glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 30%, rgba(95, 87, 222, 0.35) 0%, transparent 45%),
    radial-gradient(circle at 85% 70%, rgba(32, 177, 207, 0.30) 0%, transparent 45%),
    radial-gradient(circle at 50% 100%, rgba(214, 215, 51, 0.25) 0%, transparent 50%);
  filter: blur(40px);
  opacity: 0.9;
  pointer-events: none;
  z-index: -1;
}

.partner-cta-eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(227, 239, 38, 0.12);
  border: 1px solid rgba(227, 239, 38, 0.3);
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-pill);
  margin-bottom: var(--space-md);
}

.partner-cta h3 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin-bottom: var(--space-sm);
  color: var(--text-primary);
}

.partner-cta p {
  font-size: 1rem;
  color: var(--text-secondary);
  max-width: 620px;
  margin: 0 auto var(--space-lg);
  line-height: 1.7;
}

.partner-cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-sm);
}

.partner-cta-actions .btn-primary {
  font-size: 1.05rem;
  padding: 1rem 2rem;
  box-shadow: 0 10px 30px rgba(227, 239, 38, 0.25), 0 0 0 1px rgba(227, 239, 38, 0.4);
  transform: translateY(0);
  transition: transform var(--duration) var(--ease), box-shadow var(--duration) var(--ease);
}

.partner-cta-actions .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 38px rgba(227, 239, 38, 0.35), 0 0 0 1px rgba(227, 239, 38, 0.6), 0 0 50px rgba(95, 87, 222, 0.35);
}

/* ---------- Ticket Timeline / Cennik ---------- */
.ticket-timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
  max-width: 1100px;
  margin: 0 auto;
  padding-top: 2.5rem;
}

.ticket-timeline::before {
  content: '';
  position: absolute;
  top: 1.55rem;
  left: 8%;
  right: 8%;
  height: 2px;
  background: linear-gradient(90deg, rgba(95, 87, 222, 0.7), rgba(32, 177, 207, 0.7) 50%, rgba(214, 215, 51, 0.8));
  border-radius: 2px;
  z-index: 0;
}

.ticket-tier {
  position: relative;
  background:
    linear-gradient(160deg, rgba(255, 253, 238, 0.04) 0%, rgba(7, 102, 83, 0) 60%),
    var(--bg-card);
  border: 1px solid rgba(227, 239, 38, 0.10);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  text-align: center;
  transition: transform var(--duration) var(--ease), border-color var(--duration) var(--ease), box-shadow var(--duration) var(--ease);
  overflow: hidden;
  isolation: isolate;
}

.ticket-tier::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(95, 87, 222, 0.15), transparent 60%);
  pointer-events: none;
  z-index: 0;
}

.ticket-tier > * { position: relative; z-index: 1; }

.ticket-tier:hover {
  transform: translateY(-4px);
  border-color: rgba(227, 239, 38, 0.25);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
}

.ticket-tier-dot {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  margin: -2.5rem auto var(--space-md);
  border: 4px solid var(--bg-primary);
  box-shadow: 0 0 0 1px rgba(227, 239, 38, 0.3), 0 0 20px rgba(95, 87, 222, 0.4);
  position: relative;
}

.ticket-tier--early .ticket-tier-dot   { background: #5F57DE; }
.ticket-tier--standard .ticket-tier-dot{ background: #20B1CF; }
.ticket-tier--door .ticket-tier-dot    { background: #D6D733; }

.ticket-tier-window {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 0.6rem;
}

.ticket-tier-name {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
}

.ticket-tier-price {
  font-size: 2.6rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1;
  margin: var(--space-sm) 0;
  background: linear-gradient(135deg, #E3EF26 0%, #D6D733 100%);
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
}

.ticket-tier--early .ticket-tier-price    { background: linear-gradient(135deg, #5F57DE 0%, #20B1CF 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.ticket-tier--standard .ticket-tier-price { background: linear-gradient(135deg, #20B1CF 0%, #D6D733 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.ticket-tier--door .ticket-tier-price     { background: linear-gradient(135deg, #D6D733 0%, #E3EF26 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }

.ticket-tier-price small {
  font-size: 0.95rem;
  font-weight: 500;
  margin-left: 0.2rem;
  -webkit-text-fill-color: var(--text-muted);
}

.ticket-tier-perks {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin: var(--space-md) 0 var(--space-lg);
  font-size: 0.86rem;
  color: var(--text-secondary);
}

.ticket-tier-perks li {
  display: flex;
  align-items: flex-start;
  gap: 0.45rem;
  text-align: left;
}

.ticket-tier-perks li::before {
  content: '✓';
  color: var(--accent);
  font-weight: 700;
  flex-shrink: 0;
}

.ticket-tier-badge {
  position: absolute;
  top: var(--space-sm);
  right: var(--space-sm);
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.3rem 0.6rem;
  border-radius: var(--radius-pill);
  background: var(--accent);
  color: var(--bg-primary);
  font-weight: 700;
  z-index: 2;
}

.ticket-tier--current {
  border-color: rgba(227, 239, 38, 0.4);
  box-shadow: 0 0 0 1px rgba(227, 239, 38, 0.18), 0 18px 50px rgba(0, 0, 0, 0.3);
}

.ticket-note {
  text-align: center;
  margin-top: var(--space-xl);
  color: var(--text-muted);
  font-size: 0.88rem;
}

@media (max-width: 860px) {
  .ticket-timeline {
    grid-template-columns: 1fr;
    padding-top: var(--space-md);
  }
  .ticket-timeline::before { display: none; }
  .ticket-tier-dot { margin-top: 0; }
}

/* ---------- Agenda Timeline ---------- */
.agenda-timeline {
  max-width: 720px;
  margin: 0 auto;
  position: relative;
  padding-left: 3rem;
}

.agenda-timeline::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 18px;
  width: 2px;
  background: linear-gradient(to bottom, var(--accent), rgba(227, 239, 38, 0.05));
}

.agenda-item {
  position: relative;
  margin-bottom: var(--space-lg);
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: var(--space-md) var(--space-lg);
  transition: border-color var(--duration) var(--ease);
}

.agenda-item:last-child {
  margin-bottom: 0;
}

.agenda-item:hover {
  border-color: var(--border-card-hover);
}

.agenda-dot {
  position: absolute;
  left: calc(-3rem - 1px);
  top: 50%;
  transform: translateY(-50%) translateX(0.5px);
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px rgba(227, 239, 38, 0.3);
}

.agenda-time {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--accent);
  margin-bottom: 0.3rem;
}

.agenda-item h3 {
  font-size: 1.05rem;
  margin-bottom: 0.25rem;
}

.agenda-item p {
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* ---------- Venue Section ---------- */
.venue-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
}

.venue-map-placeholder {
  width: 100%;
  aspect-ratio: 16/10;
  position: relative;
  background:
    radial-gradient(circle at 30% 40%, rgba(227, 239, 38, 0.08), transparent 50%),
    linear-gradient(135deg, var(--bg-alt) 0%, var(--bg-card) 100%);
  border: 1px solid rgba(227, 239, 38, 0.14);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  font-size: 0.95rem;
  font-weight: 500;
  text-align: center;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.venue-map-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(227, 239, 38, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(227, 239, 38, 0.04) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black 30%, transparent 100%);
}

.venue-map-placeholder iframe {
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: var(--radius-lg);
  filter: hue-rotate(140deg) saturate(0.7) brightness(0.85);
}

.venue-map-placeholder .venue-pin {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
}

.venue-map-placeholder .venue-pin-dot {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--grad-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  box-shadow: 0 0 0 8px rgba(227, 239, 38, 0.12), 0 0 30px rgba(227, 239, 38, 0.4);
  animation: pinPulse 2.5s ease-in-out infinite;
}

a.venue-map-placeholder {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

a.venue-map-placeholder:hover {
  transform: translateY(-2px);
  border-color: rgba(227, 239, 38, 0.35);
  box-shadow: 0 0 0 1px rgba(227, 239, 38, 0.25), 0 12px 40px rgba(227, 239, 38, 0.12);
}

.venue-pin-cta {
  margin-top: 0.6rem;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(227, 239, 38, 0.12);
  border: 1px solid rgba(227, 239, 38, 0.35);
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.03em;
  font-weight: 600;
  transition: background 0.3s ease, color 0.3s ease;
}

a.venue-map-placeholder:hover .venue-pin-cta {
  background: var(--accent);
  color: var(--bg-primary);
}

@keyframes pinPulse {
  0%, 100% { box-shadow: 0 0 0 8px rgba(227, 239, 38, 0.12), 0 0 30px rgba(227, 239, 38, 0.4); }
  50% { box-shadow: 0 0 0 16px rgba(227, 239, 38, 0.04), 0 0 50px rgba(227, 239, 38, 0.6); }
}

.venue-details {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.venue-detail {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.venue-detail .venue-icon {
  color: var(--accent);
  font-size: 1.2rem;
  flex-shrink: 0;
  margin-top: 2px;
}

/* ---------- Past Editions ---------- */
.editions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-md);
}

.edition-card {
  background:
    radial-gradient(circle at 100% 0%, rgba(227, 239, 38, 0.04), transparent 50%),
    var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  text-align: center;
  transition: all var(--duration) var(--ease);
  position: relative;
  overflow: hidden;
}

.edition-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0;
  transition: opacity var(--duration) var(--ease);
}

.edition-card:hover {
  border-color: var(--border-card-hover);
  transform: translateY(-3px);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.3);
}

.edition-card:hover::before {
  opacity: 1;
}

.edition-number {
  font-family: var(--font-mono);
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent);
  opacity: 0.6;
  margin-bottom: 0.5rem;
}

.edition-card h3 {
  font-size: 1rem;
  margin-bottom: 0.3rem;
}

.edition-card p {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* ---------- Editions Timeline (oś czasu edycji) ---------- */
.editions-timeline {
  --timeline-height: 22rem;
  --dot-size: 54px;
  --connector-height: 2.2rem;
  position: relative;
  margin: 2rem auto 0;
  isolation: isolate;
  min-height: var(--timeline-height);
}

/* Decorative dot grid backdrop */
.editions-timeline::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(227, 239, 38, 0.08) 1px, transparent 1px);
  background-size: 24px 24px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, black 20%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, black 20%, transparent 80%);
  pointer-events: none;
  z-index: -1;
}

/* Main axis */
.editions-timeline-axis {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 3px;
  transform: translateY(-50%);
  border-radius: 3px;
  background: linear-gradient(
    to right,
    rgba(227, 239, 38, 0) 0%,
    rgba(227, 239, 38, 0.4) 6%,
    var(--accent) 50%,
    rgba(227, 239, 38, 0.4) 94%,
    rgba(227, 239, 38, 0) 100%
  );
  box-shadow: 0 0 18px rgba(227, 239, 38, 0.35), 0 0 40px rgba(227, 239, 38, 0.18);
  overflow: hidden;
  z-index: 0;
}

/* Animated shimmer running along the axis */
.editions-timeline-axis::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 30%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.7) 50%,
    transparent 100%
  );
  animation: timeline-shimmer 5s linear infinite;
  filter: blur(1px);
}

@keyframes timeline-shimmer {
  0% { left: -30%; }
  100% { left: 100%; }
}

.editions-timeline-points {
  position: relative;
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  grid-auto-rows: var(--timeline-height);
  gap: 0.4rem;
  min-height: var(--timeline-height);
  z-index: 1;
}

.edition-point {
  position: relative;
  display: block;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  min-height: var(--timeline-height);
}

/* Card — absolutely positioned above or below the axis */
.edition-point-card {
  position: absolute;
  left: 0.2rem;
  right: 0.2rem;
  background:
    radial-gradient(circle at 50% 0%, rgba(227, 239, 38, 0.06), transparent 70%),
    rgba(18, 18, 18, 0.55);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
  border: 1px solid rgba(227, 239, 38, 0.14);
  border-radius: var(--radius-md);
  padding: 0.85rem 0.65rem;
  text-align: center;
  transition: all var(--duration) var(--ease);
  overflow: hidden;
}

/* Sliding accent bar that grows on hover */
.edition-point-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  transform: translateX(-50%);
  transition: width 0.45s var(--ease);
}

.edition-point:hover .edition-point-card {
  border-color: rgba(227, 239, 38, 0.4);
  transform: translateY(-4px);
  box-shadow:
    0 14px 36px rgba(0, 0, 0, 0.4),
    0 0 28px rgba(227, 239, 38, 0.15);
}

.edition-point:hover .edition-point-card::before {
  width: 85%;
}

.edition-point-date {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  color: var(--accent);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  background: rgba(227, 239, 38, 0.08);
  border: 1px solid rgba(227, 239, 38, 0.2);
  margin-bottom: 0.45rem;
}

.edition-point-title {
  font-size: 0.82rem;
  color: var(--text-primary);
  line-height: 1.25;
  margin-bottom: 0.25rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.edition-point-meta {
  font-size: 0.66rem;
  color: var(--text-muted);
  line-height: 1.35;
}

/* Connector — absolutely positioned, bridges dot to card (present on EVERY point) */
.edition-point-connector {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: var(--connector-height);
  border-radius: 2px;
  box-shadow: 0 0 10px rgba(227, 239, 38, 0.4);
  z-index: 1;
}

/* Cap dot at the card-end of the connector */
.edition-point-connector::before {
  content: '';
  position: absolute;
  left: 50%;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  transform: translateX(-50%);
  box-shadow: 0 0 12px rgba(227, 239, 38, 0.7);
}

/* Odd: connector rises from dot up to card above */
.edition-point:nth-child(odd) .edition-point-connector {
  bottom: calc(50% + var(--dot-size) / 2 - 2px);
  background: linear-gradient(to top, var(--accent) 0%, rgba(227, 239, 38, 0.35) 100%);
}
.edition-point:nth-child(odd) .edition-point-connector::before {
  top: -3px;
}

/* Even: connector descends from dot down to card below */
.edition-point:nth-child(even) .edition-point-connector {
  top: calc(50% + var(--dot-size) / 2 - 2px);
  background: linear-gradient(to bottom, var(--accent) 0%, rgba(227, 239, 38, 0.35) 100%);
}
.edition-point:nth-child(even) .edition-point-connector::before {
  bottom: -3px;
}

/* Dot on the axis — absolutely centered on the 50%/50% axis point */
.edition-point-dot {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: var(--dot-size);
  height: var(--dot-size);
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 30%, rgba(255, 255, 255, 0.18), transparent 60%),
    linear-gradient(135deg, var(--bg-card) 0%, var(--bg-alt) 100%);
  border: 2px solid var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--accent);
  font-size: 1.05rem;
  z-index: 3;
  box-shadow:
    0 0 0 6px var(--bg),
    0 0 0 7px rgba(227, 239, 38, 0.18),
    0 0 22px rgba(227, 239, 38, 0.35),
    inset 0 0 12px rgba(227, 239, 38, 0.08);
  transition: all var(--duration) var(--ease);
}

/* Outer expanding halo */
.edition-point-dot::before {
  content: '';
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  border: 1px solid rgba(227, 239, 38, 0.25);
  opacity: 0;
  transition: all var(--duration) var(--ease);
  pointer-events: none;
}

.edition-point:hover .edition-point-dot {
  background:
    radial-gradient(circle at 35% 30%, rgba(255, 255, 255, 0.3), transparent 60%),
    var(--accent);
  color: var(--bg);
  transform: translate(-50%, -50%) scale(1.18) rotate(-3deg);
  box-shadow:
    0 0 0 6px var(--bg),
    0 0 0 9px rgba(227, 239, 38, 0.3),
    0 0 38px rgba(227, 239, 38, 0.7);
}

.edition-point:hover .edition-point-dot::before {
  opacity: 1;
  inset: -16px;
  border-color: rgba(227, 239, 38, 0.5);
}

/* Zigzag layout via absolute-positioned cards anchored from the axis */
.edition-point:nth-child(odd) .edition-point-card {
  bottom: calc(50% + var(--dot-size) / 2 + var(--connector-height));
}
.edition-point:nth-child(even) .edition-point-card {
  top: calc(50% + var(--dot-size) / 2 + var(--connector-height));
}

/* Current/upcoming edition — always-on glow */
.edition-point.is-current .edition-point-dot {
  background:
    radial-gradient(circle at 35% 30%, rgba(255, 255, 255, 0.3), transparent 60%),
    var(--accent);
  color: var(--bg);
  box-shadow:
    0 0 0 6px var(--bg),
    0 0 0 9px rgba(227, 239, 38, 0.35),
    0 0 32px rgba(227, 239, 38, 0.75);
  animation: edition-pulse 2.4s ease-in-out infinite;
}

.edition-point.is-current .edition-point-card {
  border-color: rgba(227, 239, 38, 0.5);
  background:
    radial-gradient(circle at 50% 0%, rgba(227, 239, 38, 0.12), transparent 70%),
    rgba(18, 18, 18, 0.7);
}

.edition-point.is-current .edition-point-title {
  color: var(--accent);
  font-weight: 700;
}

/* is-current connector: accent near dot, slight fade toward card */
.edition-point.is-current:nth-child(odd) .edition-point-connector {
  background: linear-gradient(to top, var(--accent), rgba(227, 239, 38, 0.6));
  box-shadow: 0 0 14px rgba(227, 239, 38, 0.6);
}
.edition-point.is-current:nth-child(even) .edition-point-connector {
  background: linear-gradient(to bottom, var(--accent), rgba(227, 239, 38, 0.6));
  box-shadow: 0 0 14px rgba(227, 239, 38, 0.6);
}

@keyframes edition-pulse {
  0%, 100% {
    box-shadow:
      0 0 0 6px var(--bg),
      0 0 0 9px rgba(227, 239, 38, 0.35),
      0 0 28px rgba(227, 239, 38, 0.6);
  }
  50% {
    box-shadow:
      0 0 0 6px var(--bg),
      0 0 0 13px rgba(227, 239, 38, 0.25),
      0 0 50px rgba(227, 239, 38, 1);
  }
}

/* Subtle entrance shimmer on cards (staggered via nth-child) */
.editions-timeline.reveal.visible .edition-point-card {
  animation: edition-card-in 0.7s var(--ease) backwards;
}
.editions-timeline.reveal.visible .edition-point:nth-child(1) .edition-point-card { animation-delay: 0.05s; }
.editions-timeline.reveal.visible .edition-point:nth-child(2) .edition-point-card { animation-delay: 0.13s; }
.editions-timeline.reveal.visible .edition-point:nth-child(3) .edition-point-card { animation-delay: 0.21s; }
.editions-timeline.reveal.visible .edition-point:nth-child(4) .edition-point-card { animation-delay: 0.29s; }
.editions-timeline.reveal.visible .edition-point:nth-child(5) .edition-point-card { animation-delay: 0.37s; }
.editions-timeline.reveal.visible .edition-point:nth-child(6) .edition-point-card { animation-delay: 0.45s; }
.editions-timeline.reveal.visible .edition-point:nth-child(7) .edition-point-card { animation-delay: 0.53s; }
.editions-timeline.reveal.visible .edition-point:nth-child(8) .edition-point-card { animation-delay: 0.61s; }

@keyframes edition-card-in {
  from { opacity: 0; transform: translateY(12px) scale(0.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

/* Tablet: switch to vertical timeline */
@media (max-width: 900px) {
  .editions-timeline {
    padding: 0;
    max-width: 640px;
    min-height: 0;
  }
  .editions-timeline::after { display: none; }
  .editions-timeline-axis {
    top: 0;
    bottom: 0;
    left: 26px;
    right: auto;
    width: 3px;
    height: auto;
    transform: none;
    background: linear-gradient(
      to bottom,
      rgba(227, 239, 38, 0) 0%,
      var(--accent) 12%,
      var(--accent) 88%,
      rgba(227, 239, 38, 0) 100%
    );
  }
  .editions-timeline-axis::before {
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 30%;
    background: linear-gradient(
      180deg,
      transparent 0%,
      rgba(255, 255, 255, 0.7) 50%,
      transparent 100%
    );
    animation: timeline-shimmer-vertical 5s linear infinite;
  }
  @keyframes timeline-shimmer-vertical {
    0% { top: -30%; }
    100% { top: 100%; }
  }
  .editions-timeline-points {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
    gap: var(--space-md);
    min-height: 0;
  }
  /* Each point becomes a horizontal flex row — reset absolute layout */
  .edition-point,
  .edition-point:nth-child(odd),
  .edition-point:nth-child(even) {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1.25rem;
    margin: 0;
    padding: 0;
    min-height: 0;
  }
  /* Reset all absolute positioning inside points on mobile */
  .edition-point .edition-point-dot,
  .edition-point .edition-point-card,
  .edition-point .edition-point-connector,
  .edition-point:nth-child(odd) .edition-point-dot,
  .edition-point:nth-child(odd) .edition-point-card,
  .edition-point:nth-child(odd) .edition-point-connector,
  .edition-point:nth-child(even) .edition-point-dot,
  .edition-point:nth-child(even) .edition-point-card,
  .edition-point:nth-child(even) .edition-point-connector {
    position: relative;
    top: auto;
    bottom: auto;
    left: auto;
    right: auto;
    transform: none;
    order: initial;
  }
  .edition-point .edition-point-dot {
    flex-shrink: 0;
  }
  /* Horizontal connector on mobile — from dot to card */
  .edition-point .edition-point-connector,
  .edition-point:nth-child(odd) .edition-point-connector,
  .edition-point:nth-child(even) .edition-point-connector {
    width: 1.25rem;
    height: 2px;
    background: linear-gradient(to right, var(--accent), rgba(227, 239, 38, 0.4));
    box-shadow: 0 0 8px rgba(227, 239, 38, 0.4);
    flex-shrink: 0;
  }
  .edition-point .edition-point-connector::before,
  .edition-point:nth-child(odd) .edition-point-connector::before,
  .edition-point:nth-child(even) .edition-point-connector::before {
    top: 50%;
    bottom: auto;
    left: auto;
    right: -3px;
    transform: translateY(-50%);
  }
  .edition-point .edition-point-card {
    flex: 1;
    text-align: left;
    padding: 0.95rem 1.1rem;
  }
  .edition-point-date,
  .edition-point-title,
  .edition-point-meta {
    text-align: left;
  }
  .edition-point-date {
    margin-bottom: 0.5rem;
  }
  /* Hover transform fallback on mobile (no translate needed) */
  .edition-point:hover .edition-point-dot {
    transform: scale(1.08);
  }
}

/* ---------- Partners / Sponsors ---------- */
.partners-grid {
  display: flex;
  gap: var(--space-lg);
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.partner-logo {
  min-width: 230px;
  height: 120px;
  padding: 1rem 1.8rem;
  background: linear-gradient(180deg, rgba(227, 239, 38, 0.04) 0%, rgba(227, 239, 38, 0.01) 100%);
  border: 1px solid rgba(227, 239, 38, 0.12);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-family: var(--font-mono);
  font-weight: 700;
  letter-spacing: 0.04em;
  transition: all var(--duration) var(--ease);
}

.partner-logo:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(227, 239, 38, 0.15);
}

.partner-logo img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  opacity: 0.95;
  transition: filter var(--duration) var(--ease), opacity var(--duration) var(--ease), transform var(--duration) var(--ease);
}

.partner-logo:hover img {
  opacity: 1;
  transform: scale(1.04);
}

/* ---------- Edition Page (PREMIUM HERO) ---------- */
.edition-hero {
  padding: calc(var(--space-3xl) + 80px) 0 var(--space-xl);
  position: relative;
  overflow: hidden;
}

.edition-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 1000px;
  height: 700px;
  background: radial-gradient(ellipse, rgba(227, 239, 38, 0.1) 0%, transparent 60%);
  pointer-events: none;
  animation: heroGlow 9s ease-in-out infinite;
}

.edition-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(227, 239, 38, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(227, 239, 38, 0.025) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, black 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, black 30%, transparent 100%);
  pointer-events: none;
}

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

.edition-back {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  text-decoration: none;
  margin-bottom: var(--space-lg);
  transition: all var(--duration) var(--ease);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(227, 239, 38, 0.06);
}

.edition-back:hover {
  color: var(--accent);
  border-color: rgba(227, 239, 38, 0.2);
  background: rgba(227, 239, 38, 0.04);
  transform: translateX(-3px);
}

.edition-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--bg-primary);
  background: var(--grad-accent);
  padding: 0.5rem 1.2rem;
  border-radius: var(--radius-pill);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: var(--space-md);
  box-shadow: 0 6px 22px rgba(227, 239, 38, 0.3);
}

.edition-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--bg-primary);
  animation: pulseDot 1.6s ease-in-out infinite;
}

.edition-hero h1 {
  font-size: clamp(2.2rem, 4.6vw, 3.6rem);
  margin-bottom: var(--space-md);
  position: relative;
  letter-spacing: -0.025em;
  background: linear-gradient(180deg, var(--text-primary) 0%, rgba(255, 253, 238, 0.85) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.edition-hero h1 .accent {
  -webkit-text-fill-color: var(--accent);
  color: var(--accent);
  text-shadow: 0 0 40px rgba(227, 239, 38, 0.4);
}

.edition-hero-desc {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 640px;
  margin-bottom: var(--space-lg);
  position: relative;
  line-height: 1.65;
}

.edition-meta {
  display: flex;
  gap: 1.2rem var(--space-lg);
  flex-wrap: wrap;
  position: relative;
  padding: 1.1rem 1.5rem;
  background: rgba(227, 239, 38, 0.03);
  border: 1px solid rgba(227, 239, 38, 0.08);
  border-radius: var(--radius-md);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  width: fit-content;
  max-width: 100%;
}

.edition-meta-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.94rem;
  color: var(--text-secondary);
}

.edition-meta-item .meta-icon {
  font-size: 1.2rem;
  filter: drop-shadow(0 0 8px rgba(227, 239, 38, 0.4));
}

.edition-meta-item strong {
  color: var(--text-primary);
}

/* Highlighted edition gallery */
.edition-gallery {
  position: relative;
  max-width: 1000px;
  margin: var(--space-lg) auto 0;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--bg-card);
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(227, 239, 38, 0.18),
    0 0 100px rgba(227, 239, 38, 0.12);
  isolation: isolate;
}

.edition-gallery::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: var(--radius-xl);
  padding: 1px;
  background: var(--grad-border);
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  z-index: 3;
}

/* Reduce spacing between gallery, content, and nav on edition pages */
.edition-hero + .section {
  padding-top: 0;
  padding-bottom: var(--space-lg);
}

.edition-hero + .section + .section {
  padding-top: var(--space-md);
}

.edition-hero + .section + .section + .section {
  padding-top: 0;
}

.gallery-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-slide {
  min-width: 100%;
  aspect-ratio: 16/9;
  background:
    radial-gradient(circle at 50% 50%, rgba(227, 239, 38, 0.07), transparent 60%),
    linear-gradient(135deg, var(--bg-alt) 0%, var(--bg-card) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  font-size: 1rem;
  font-weight: 500;
  position: relative;
  overflow: hidden;
}

.gallery-slide::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(227, 239, 38, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(227, 239, 38, 0.03) 1px, transparent 1px);
  background-size: 50px 50px;
  mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black 30%, transparent 100%);
}

.gallery-slide__placeholder {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
  padding: var(--space-md);
  text-align: center;
}

.gallery-slide__placeholder-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(227, 239, 38, 0.08);
  border: 1px solid rgba(227, 239, 38, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 1.6rem;
}

.gallery-slide__placeholder-text {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}

.gallery-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gallery-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(227, 239, 38, 0.2);
  background: rgba(6, 35, 29, 0.85);
  color: var(--accent);
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--duration) var(--ease);
  z-index: 2;
  backdrop-filter: blur(8px);
}

.gallery-btn:hover {
  background: var(--accent);
  color: var(--bg-primary);
  border-color: var(--accent);
}

.gallery-btn--prev { left: 12px; }
.gallery-btn--next { right: 12px; }

.gallery-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: var(--space-sm);
  background: var(--bg-card);
}

.gallery-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--text-muted);
  border: none;
  cursor: pointer;
  transition: all var(--duration) var(--ease);
  padding: 0;
}

.gallery-dot.active {
  background: var(--accent);
  transform: scale(1.3);
}

/* Treść edycji */
.edition-content {
  display: grid;
  grid-template-columns: 1fr 0.4fr;
  gap: var(--space-xl);
  align-items: start;
}

.edition-text h2 {
  font-size: 1.4rem;
  margin-bottom: var(--space-md);
}

.edition-text h3 {
  font-size: 1.15rem;
  margin-top: var(--space-lg);
  margin-bottom: var(--space-md);
}

.edition-text p {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-bottom: var(--space-sm);
  line-height: 1.7;
}

.edition-sidebar-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
}

.edition-sidebar-card h3 {
  font-size: 1.05rem;
  margin-bottom: var(--space-md);
}

.edition-detail-row {
  display: flex;
  justify-content: space-between;
  gap: var(--space-md);
  padding: 0.6rem 0;
  border-bottom: 1px solid rgba(227, 239, 38, 0.06);
  font-size: 0.9rem;
}

.edition-detail-row:last-child {
  border-bottom: none;
}

.edition-detail-label {
  color: var(--text-muted);
}

.edition-detail-value {
  color: var(--text-primary);
  font-weight: 600;
}

/* Nawigacja między edycjami */
.edition-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 900px;
  margin: 0 auto;
  gap: var(--space-md);
}

.edition-nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
  text-decoration: none;
  padding: 0.6rem 1.2rem;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-pill);
  transition: all var(--duration) var(--ease);
}

.edition-nav-link:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.edition-nav-link--disabled {
  opacity: 0.3;
  pointer-events: none;
}

@media (max-width: 768px) {
  .edition-content {
    grid-template-columns: 1fr;
  }
  .edition-meta {
    flex-direction: column;
    gap: var(--space-sm);
  }
  .gallery-btn {
    width: 36px;
    height: 36px;
    font-size: 1rem;
  }
  .edition-nav {
    flex-direction: column;
  }
}

/* ---------- Page Responsive ---------- */
@media (max-width: 768px) {
  .contact-layout {
    grid-template-columns: 1fr;
  }
  .about-grid {
    grid-template-columns: 1fr;
  }
  .meeting-stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .meeting-content {
    grid-template-columns: 1fr;
  }
  .services-page-grid {
    grid-template-columns: 1fr;
  }
  .areas-hub-grid {
    grid-template-columns: 1fr;
  }
  .effects-stats {
    grid-template-columns: 1fr;
  }
  .meeting-hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: var(--space-xl);
  }
  .meeting-hero-desc {
    margin-left: auto;
    margin-right: auto;
  }
  .meeting-hero-details {
    justify-content: center;
  }
  .meeting-hero-buttons {
    justify-content: center;
  }
  .meeting-hero-visual-wrap {
    max-width: 380px;
    margin: 0 auto;
  }
  .meeting-hero-visual {
    transform: rotate(0);
  }
  .venue-grid {
    grid-template-columns: 1fr;
  }
  .speakers-grid {
    grid-template-columns: 1fr;
  }
  .agenda-timeline {
    padding-left: 2.5rem;
  }
  .editions-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .partners-grid {
    gap: var(--space-sm);
  }
  .partner-logo {
    width: 180px;
    min-width: 180px;
    height: 90px;
  }
}

/* ---------- Editions Section — featured wariant (przeniesiony wyżej, wyróżniony) ---------- */
.editions-section--featured {
  position: relative;
  background:
    radial-gradient(ellipse 70% 50% at 50% 0%, rgba(227, 239, 38, 0.08) 0%, transparent 60%),
    linear-gradient(180deg, rgba(227, 239, 38, 0.04) 0%, var(--bg-primary) 100%);
  border-top: 1px solid rgba(227, 239, 38, 0.15);
  border-bottom: 1px solid rgba(227, 239, 38, 0.15);
  overflow: hidden;
}

.editions-section--featured::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  max-width: 480px;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, var(--accent) 50%, transparent 100%);
  opacity: 0.6;
}

.editions-section__header .section-tag--accent {
  background: rgba(227, 239, 38, 0.14);
  border: 1px solid rgba(227, 239, 38, 0.4);
  color: var(--accent);
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 0.4rem 0.95rem;
}

.editions-section__title {
  font-size: clamp(1.75rem, 3.5vw, 2.6rem);
  line-height: 1.18;
  letter-spacing: -0.01em;
  margin: var(--space-sm) auto 0;
  max-width: 820px;
}

.editions-section__lead {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

@media (max-width: 768px) {
  .editions-section__title {
    font-size: 1.5rem;
    line-height: 1.25;
  }
  .editions-section__title br {
    display: none;
  }
}

/* ============================================================
   Lustro Czasu — ciepły, nostalgiczny motyw analogowy
   ============================================================ */

.theme-nostalgic {
  --warm-bg: #1a1410;
  --warm-bg-alt: #221913;
  --warm-card: #2a1f17;
  --warm-cream: #f4e4cb;
  --warm-cream-soft: #ead7b8;
  --warm-sepia: #c89968;
  --warm-sepia-deep: #8a5e34;
  --warm-rose: #d4856b;
  --warm-amber: #e0a96d;
  --warm-text: #f4e4cb;
  --warm-text-muted: #b89c7d;
  --warm-shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
  background:
    radial-gradient(ellipse 60% 50% at 20% 10%, rgba(224, 169, 109, 0.18) 0%, transparent 60%),
    radial-gradient(ellipse 50% 50% at 85% 80%, rgba(212, 133, 107, 0.12) 0%, transparent 65%),
    radial-gradient(ellipse 40% 35% at 90% 15%, rgba(244, 228, 203, 0.06) 0%, transparent 60%),
    var(--warm-bg);
  color: var(--warm-text);
}

.theme-nostalgic main,
.theme-nostalgic .footer {
  position: relative;
  z-index: 1;
}

.theme-nostalgic .nav {
  background: rgba(26, 20, 16, 0.85);
  border-bottom-color: rgba(224, 169, 109, 0.14);
}

.theme-nostalgic .nav-shop {
  color: var(--warm-amber);
}

.theme-nostalgic .footer {
  background: var(--warm-bg-alt);
  border-top-color: rgba(224, 169, 109, 0.12);
}

/* Hero */
.lustro-hero {
  position: relative;
  padding: calc(var(--space-3xl) + 2rem) 0 var(--space-2xl);
  overflow: hidden;
}

.lustro-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 75% 30%, rgba(224, 169, 109, 0.18), transparent 55%),
    radial-gradient(circle at 15% 70%, rgba(212, 133, 107, 0.12), transparent 50%);
  pointer-events: none;
  z-index: 0;
}

.lustro-hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: var(--space-2xl);
  align-items: center;
  position: relative;
  z-index: 1;
}

.lustro-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--warm-amber);
  background: rgba(224, 169, 109, 0.10);
  border: 1px solid rgba(224, 169, 109, 0.25);
  padding: 0.45rem 0.9rem;
  border-radius: var(--radius-pill);
  margin-bottom: var(--space-md);
}

.lustro-hero h1 {
  font-size: clamp(2.8rem, 6vw, 4.8rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.05;
  color: var(--warm-cream);
  margin-bottom: var(--space-md);
  font-family: 'Outfit', serif;
}

.lustro-accent {
  font-style: italic;
  background: linear-gradient(135deg, #e0a96d 0%, #d4856b 60%, #c89968 100%);
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
}

.lustro-lede {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--warm-cream-soft);
  max-width: 540px;
  margin-bottom: var(--space-lg);
}

.lustro-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}

.lustro-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.92rem;
  color: var(--warm-text-muted);
}

.lustro-meta-item span {
  font-size: 1.15rem;
}

.lustro-hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

/* Warm buttons */
.btn-warm {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-family: var(--font-main);
  font-weight: 600;
  background: linear-gradient(135deg, #e0a96d 0%, #d4856b 100%);
  color: #2a1f17;
  padding: 0.85rem 1.6rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(244, 228, 203, 0.25);
  cursor: pointer;
  text-decoration: none;
  transition: transform var(--duration) var(--ease), box-shadow var(--duration) var(--ease), filter var(--duration) var(--ease);
  box-shadow: 0 10px 28px rgba(224, 169, 109, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.btn-warm:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
  box-shadow: 0 14px 36px rgba(224, 169, 109, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.btn-warm-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-weight: 500;
  background: transparent;
  color: var(--warm-cream);
  padding: 0.85rem 1.6rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(224, 169, 109, 0.35);
  text-decoration: none;
  transition: background var(--duration) var(--ease), border-color var(--duration) var(--ease);
}

.btn-warm-ghost:hover {
  background: rgba(224, 169, 109, 0.08);
  border-color: rgba(224, 169, 109, 0.6);
}

.btn-lg {
  padding: 1.05rem 2rem;
  font-size: 1.05rem;
}

/* Hero gallery — analog photo frames */
.lustro-hero-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: var(--space-md);
  position: relative;
}

.lustro-hero-gallery .lustro-frame:nth-child(1) { grid-column: 1; grid-row: 1; }
.lustro-hero-gallery .lustro-frame:nth-child(2) { grid-column: 2; grid-row: 1 / span 2; align-self: center; }
.lustro-hero-gallery .lustro-frame:nth-child(3) { grid-column: 1; grid-row: 2; }

.lustro-frame {
  background: #f4e4cb;
  padding: 0.85rem 0.85rem 2.2rem;
  border-radius: 4px;
  box-shadow:
    0 18px 40px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(0, 0, 0, 0.05),
    inset 0 0 30px rgba(180, 130, 80, 0.08);
  position: relative;
  margin: 0;
  transition: transform 0.4s var(--ease);
}

.lustro-frame::before {
  content: '';
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 18px;
  background: linear-gradient(180deg, rgba(244, 228, 203, 0.6) 0%, rgba(180, 130, 80, 0.2) 100%);
  border-radius: 2px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
  opacity: 0.7;
}

.lustro-frame--tilt-left { transform: rotate(-3deg); }
.lustro-frame--tilt-right { transform: rotate(2.5deg); }
.lustro-frame--featured {
  transform: rotate(-1deg) scale(1.05);
  z-index: 2;
}

.lustro-frame:hover { transform: rotate(0) scale(1.03); }

.lustro-frame figcaption {
  position: absolute;
  bottom: 0.55rem;
  left: 0;
  right: 0;
  text-align: center;
  font-family: 'Space Mono', monospace;
  font-size: 0.72rem;
  color: var(--warm-sepia-deep);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.lustro-placeholder {
  aspect-ratio: 4 / 5;
  background:
    repeating-linear-gradient(135deg, rgba(180, 130, 80, 0.10) 0 12px, rgba(180, 130, 80, 0.04) 12px 24px),
    linear-gradient(160deg, #d8c19a 0%, #c89968 100%);
  border: 2px dashed rgba(138, 94, 52, 0.45);
  border-radius: 2px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: var(--space-md);
  text-align: center;
}

.lustro-placeholder-label {
  font-family: 'Space Mono', monospace;
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(42, 31, 23, 0.85);
  background: rgba(244, 228, 203, 0.7);
  padding: 0.25rem 0.55rem;
  border-radius: 2px;
}

.lustro-placeholder-name {
  font-family: 'Space Mono', monospace;
  font-size: 0.7rem;
  color: rgba(42, 31, 23, 0.7);
  word-break: break-all;
}

.lustro-placeholder-hint {
  font-size: 0.85rem;
  font-style: italic;
  color: rgba(42, 31, 23, 0.85);
  margin-top: 0.3rem;
}

/* Sections inside nostalgic theme */
.lustro-section {
  position: relative;
  z-index: 1;
}

.theme-nostalgic .lustro-section--alt {
  background: linear-gradient(180deg, transparent 0%, rgba(34, 25, 19, 0.6) 30%, rgba(34, 25, 19, 0.6) 70%, transparent 100%);
}

.theme-nostalgic .lustro-section h2 {
  color: var(--warm-cream);
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  letter-spacing: -0.01em;
}

.theme-nostalgic .lustro-section .section-header > p {
  color: var(--warm-text-muted);
}

.lustro-tag {
  color: var(--warm-amber) !important;
  background: rgba(224, 169, 109, 0.08);
  border: 1px solid rgba(224, 169, 109, 0.2);
  border-radius: var(--radius-pill);
  padding: 0.32rem 0.85rem;
}

/* Steps */
.lustro-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
  margin-top: var(--space-xl);
}

.lustro-step {
  background: rgba(244, 228, 203, 0.04);
  border: 1px solid rgba(224, 169, 109, 0.18);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  text-align: center;
  position: relative;
  transition: transform var(--duration) var(--ease), border-color var(--duration) var(--ease), background var(--duration) var(--ease);
}

.lustro-step:hover {
  transform: translateY(-4px);
  border-color: rgba(224, 169, 109, 0.4);
  background: rgba(244, 228, 203, 0.07);
}

.lustro-step-number {
  font-family: 'Space Mono', monospace;
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  color: var(--warm-sepia);
  margin-bottom: var(--space-sm);
}

.lustro-step-icon {
  font-size: 2.4rem;
  margin-bottom: var(--space-sm);
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.3));
}

.lustro-step h3 {
  color: var(--warm-cream);
  font-size: 1.2rem;
  margin-bottom: 0.6rem;
}

.lustro-step p {
  color: var(--warm-text-muted);
  font-size: 0.94rem;
  line-height: 1.65;
}

/* Price box */
.lustro-price-box {
  display: grid;
  grid-template-columns: minmax(260px, 320px) 1fr;
  gap: var(--space-xl);
  align-items: center;
  background:
    radial-gradient(circle at 80% 20%, rgba(224, 169, 109, 0.10), transparent 60%),
    rgba(244, 228, 203, 0.03);
  border: 1px solid rgba(224, 169, 109, 0.22);
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
  box-shadow: var(--warm-shadow);
  position: relative;
  overflow: hidden;
}

.lustro-price-box::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(224, 169, 109, 0.6) 0%, rgba(212, 133, 107, 0.3) 50%, rgba(200, 153, 104, 0.5) 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
}

.lustro-price-tag {
  text-align: center;
  padding: var(--space-lg);
  background:
    radial-gradient(circle at 50% 100%, rgba(212, 133, 107, 0.18), transparent 60%),
    linear-gradient(180deg, rgba(244, 228, 203, 0.06), rgba(224, 169, 109, 0.04));
  border-radius: var(--radius-lg);
  border: 1px solid rgba(224, 169, 109, 0.22);
}

.lustro-price-label {
  font-family: 'Space Mono', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--warm-sepia);
  display: block;
  margin-bottom: var(--space-sm);
}

.lustro-price-amount {
  font-size: 4.8rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--warm-cream);
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.3rem;
}

.lustro-price-currency {
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--warm-amber);
}

.lustro-price-meta {
  display: block;
  margin-top: var(--space-sm);
  font-size: 0.85rem;
  color: var(--warm-text-muted);
  line-height: 1.5;
}

.lustro-price-content h2 {
  margin-bottom: var(--space-sm);
}

.lustro-price-content > p {
  color: var(--warm-text-muted);
  line-height: 1.7;
  margin-bottom: var(--space-md);
}

.lustro-check-list {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--space-lg);
  display: grid;
  gap: 0.55rem;
  font-size: 0.95rem;
  color: var(--warm-cream-soft);
}

.lustro-check-list li {
  padding-left: 0;
}

.lustro-cta-main {
  margin-top: 0.4rem;
}

.lustro-cta-note {
  margin-top: var(--space-sm);
  font-size: 0.85rem;
  color: var(--warm-text-muted);
}

/* FAQ override in nostalgic theme */
.theme-nostalgic .faq-item {
  background: rgba(244, 228, 203, 0.04);
  border: 1px solid rgba(224, 169, 109, 0.18);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: var(--space-sm);
}

.theme-nostalgic .faq-question {
  color: var(--warm-cream);
  padding: var(--space-md) var(--space-lg);
  width: 100%;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1rem;
  font-family: inherit;
  background: transparent;
  border: none;
  cursor: pointer;
}

.theme-nostalgic .faq-icon {
  color: var(--warm-amber);
  font-size: 1.4rem;
  font-weight: 300;
  transition: transform var(--duration) var(--ease);
}

.theme-nostalgic .faq-item.is-open .faq-icon {
  transform: rotate(45deg);
}

.theme-nostalgic .faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--duration) var(--ease);
}

.theme-nostalgic .faq-item.is-open .faq-answer {
  max-height: 500px;
}

.theme-nostalgic .faq-answer-inner {
  padding: 0 var(--space-lg) var(--space-md);
  color: var(--warm-text-muted);
  line-height: 1.7;
  font-size: 0.95rem;
}

.lustro-final-cta {
  text-align: center;
  margin-top: var(--space-2xl);
  padding: var(--space-xl);
  background:
    radial-gradient(circle at 50% 0%, rgba(212, 133, 107, 0.18), transparent 55%),
    rgba(244, 228, 203, 0.04);
  border: 1px solid rgba(224, 169, 109, 0.22);
  border-radius: var(--radius-xl);
}

.lustro-final-cta p {
  font-size: 1.15rem;
  color: var(--warm-cream);
  margin-bottom: var(--space-md);
  font-style: italic;
}

/* Responsywność */
@media (max-width: 900px) {
  .lustro-hero-inner {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }
  .lustro-hero-gallery {
    max-width: 480px;
    margin: 0 auto;
  }
  .lustro-steps {
    grid-template-columns: 1fr;
  }
  .lustro-price-box {
    grid-template-columns: 1fr;
    text-align: center;
    padding: var(--space-lg);
  }
  .lustro-check-list {
    text-align: left;
    max-width: 380px;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 560px) {
  .lustro-hero {
    padding-top: var(--space-2xl);
  }
  .lustro-hero-gallery {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }
  .lustro-hero-gallery .lustro-frame:nth-child(1),
  .lustro-hero-gallery .lustro-frame:nth-child(2),
  .lustro-hero-gallery .lustro-frame:nth-child(3) {
    grid-column: 1;
    grid-row: auto;
  }
  .lustro-price-amount {
    font-size: 3.6rem;
  }
  .btn-warm.btn-lg {
    width: 100%;
  }
}

/* ============================================================
   Usługi — Robot Guide (scroll-scrubbed PNG sequence, canvas)
   ============================================================ */

.services-with-robot {
  display: grid;
  grid-template-columns: 1fr minmax(300px, 360px) 1fr;
  column-gap: 1.5rem;
  row-gap: 0.8rem;
  align-items: start;
}

/* Prawdziwy zygzak — każda karta we własnym wierszu, naprzemiennie lewo/prawo.
   Osobny wiersz = unikalna pozycja scrolla, więc IntersectionObserver
   aktywuje karty pojedynczo, po kolei (parzyste 2,4,6 już nie giną).
   nth-of-type liczy <div>-y (aside robota to inny typ) → 1..7 = karty 01..07. */
.services-with-robot .service-page-card { min-width: 0; }
.services-with-robot .service-page-card:nth-of-type(1) { grid-column: 1; grid-row: 1; } /* 01 lewo  */
.services-with-robot .service-page-card:nth-of-type(2) { grid-column: 3; grid-row: 2; } /* 02 prawo */
.services-with-robot .service-page-card:nth-of-type(3) { grid-column: 1; grid-row: 3; } /* 03 lewo  */
.services-with-robot .service-page-card:nth-of-type(4) { grid-column: 3; grid-row: 4; } /* 04 prawo */
.services-with-robot .service-page-card:nth-of-type(5) { grid-column: 1; grid-row: 5; } /* 05 lewo  */
.services-with-robot .service-page-card:nth-of-type(6) { grid-column: 3; grid-row: 6; } /* 06 prawo */
.services-with-robot .service-page-card:nth-of-type(7) { grid-column: 1; grid-row: 7; } /* 07 lewo  */

/* Sticky panel z robotem (środkowa kolumna, span wszystkich 7 wierszy) */
.robot-guide {
  grid-column: 2;
  grid-row: 1 / span 7;
  position: sticky;
  top: 90px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  text-align: center;
}

/* Scena (canvas) — sterowana scrollem */
.robot-stage {
  position: relative;
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
  aspect-ratio: 1 / 1;
  animation: robotFloat 5s ease-in-out infinite;
}

@keyframes robotFloat {
  0%, 100% { transform: translateY(-6px); }
  50%      { transform: translateY(6px);  }
}

.robot-canvas {
  display: block;
  width: 100%;
  height: 100%;
  background: transparent;
}

/* Dymek */
.robot-bubble {
  position: relative;
  width: 100%;
  max-width: 460px;
  background:
    linear-gradient(180deg, rgba(255, 253, 238, 0.05) 0%, rgba(255, 253, 238, 0.02) 100%);
  border: 1px solid rgba(227, 239, 38, 0.22);
  border-radius: 18px;
  padding: 0.9rem 1rem;
  color: var(--text-primary);
  font-size: 0.92rem;
  line-height: 1.5;
  text-align: center;
  min-height: 3.6em;
  box-shadow:
    0 12px 32px -16px rgba(0, 0, 0, 0.6),
    inset 0 1px 0 rgba(255, 253, 238, 0.05);
  transition: opacity 0.2s ease, transform 0.2s ease, border-color 0.35s ease;
}

.robot-bubble::before {
  content: '';
  position: absolute;
  top: -7px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 13px;
  height: 13px;
  background: rgba(255, 253, 238, 0.05);
  border-top: 1px solid rgba(227, 239, 38, 0.22);
  border-left: 1px solid rgba(227, 239, 38, 0.22);
}

.robot-bubble.is-swapping {
  opacity: 0;
  transform: translateY(4px);
}

.robot-bubble-text {
  display: block;
  font-weight: 500;
}

/* Wskaźnik 00/07 */
.robot-progress {
  display: inline-flex;
  align-items: baseline;
  gap: 0.2rem;
  font-family: var(--font-mono);
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: rgba(255, 253, 238, 0.04);
  border: 1px solid color-mix(in oklab, var(--accent, #c6e000) 35%, transparent);
  transition: border-color 0.35s ease, background 0.35s ease;
}

.robot-indicator-current {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--accent, var(--text-primary));
  letter-spacing: -0.02em;
  transition: color 0.35s ease;
}

.robot-indicator-sep {
  color: var(--text-muted);
  opacity: 0.5;
}

.robot-indicator-total {
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* Krótsze karty: padding ~1.1rem, h3 ~1rem, p ~0.8rem */
.services-with-robot .service-page-card {
  padding: 1.1rem;
}

.services-with-robot .service-page-card h3 {
  font-size: 1rem;
  margin-bottom: 0.35rem;
  line-height: 1.25;
}

.services-with-robot .service-page-card p {
  font-size: 0.8rem;
  line-height: 1.45;
  margin-bottom: 0;
  color: var(--text-secondary);
}

.services-with-robot .service-page-num {
  font-size: 1.25rem;
  margin-bottom: 0.3rem;
}

/* Aktywna karta — accent z JS */
.service-page-card.is-active {
  border-color: var(--accent);
  box-shadow: 0 12px 36px -20px var(--accent);
}

/* Mobile — robot na górze, mniejszy, bez floata; karty w 1 kolumnie */
@media (max-width: 900px) {
  .services-with-robot {
    grid-template-columns: 1fr;
    gap: 1rem;
    align-items: start;
  }
  /* Reset zygzaka — wszystko w jednej kolumnie po kolei 01-07 */
  .services-with-robot .service-page-card {
    grid-column: 1;
    grid-row: auto;
  }
  .robot-guide {
    grid-column: 1;
    grid-row: auto;
    order: -1;
    position: sticky;
    top: 70px;
    padding: 0;
    gap: 0.6rem;
  }
  .robot-stage {
    max-width: 200px;
    animation: none;
  }
  .robot-bubble {
    font-size: 0.82rem;
    padding: 0.65rem 0.8rem;
    min-height: 0;
  }
  .robot-progress {
    padding: 0.25rem 0.6rem;
  }
  .robot-indicator-current {
    font-size: 0.95rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .robot-stage {
    animation: none;
  }
}
