:root { 
  --bg: #0f1115; 
  --card: rgba(27,33,48,0.88);
  --text: #e6e8ee;
  --muted: #9aa1b2; 
  --brand: #7c9cff; 
  --brand-2: #38d39f; 
  --accent: #7c9cff; 
  --ring: rgba(124,156,255,.35); 
  --border: rgba(255,255,255,.08); 

  --font-heading: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
} 

* { box-sizing: border-box; } 

html { scroll-behavior: smooth; } 

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

body {
  min-height: 100dvh;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Ubuntu, Cantarell, "Noto Sans", sans-serif;
  color: var(--text);
  line-height: 1.65;
  position: relative;

  background: 
    linear-gradient(rgba(10,14,24,0.75), rgba(10,14,24,0.75)),
    url("tlo1.png") center / cover no-repeat;
}

.container { 
  max-width: 1100px; 
  margin: 0 auto; 
  padding: 0 16px; 
} 

.container.nav { 
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  min-height: 64px;
}

header { 
  position: sticky; 
  top: 0; 
  z-index: 200; 
  background: rgba(11,16,32,.75); 
  backdrop-filter: blur(8px); 
  border-bottom: 1px solid var(--border); 
} 

/* MENU */

.menu-toggle { 
  display: flex; 
  width: 42px; 
  height: 42px; 
  border: 1px solid var(--border); 
  border-radius: 10px; 
  background: transparent; 
  cursor: pointer; 
  padding: 8px; 
  flex-direction: column; 
  justify-content: space-between; 
  z-index: 200; 
  position: relative; 
} 

.menu-toggle span { 
  height: 2px; 
  width: 100%; 
  background: var(--text); 
  border-radius: 2px; 
  transition: transform .3s ease, opacity .3s ease; 
} 

nav { 
  position: fixed; 
  top: 64px; left: 0; 
  right: 0; 
  height: calc(100vh - 64px); 
  background: var(--bg); 
  padding: 40px 24px; 
  display: flex; 
  flex-direction: column; 
  gap: 20px; 
  transform: translateY(-110%); 
  transition: transform .35s ease; 
  z-index: 150; 
  pointer-events: none; 
  transform-origin: top right; 
  animation: menuIn .2s ease;
} 
body.menu-open nav { 
  transform: translateY(0); 
  pointer-events: auto; 
} 

@keyframes menuIn { 
  from { opacity: 0; transform: scale(0.95); } 
    to { opacity: 1; transform: scale(1); } 
} 

/* =========================
   DESKTOP MENU (>= 900px)
   ========================= */

@media (min-width: 900px) {

  .menu-toggle {
    display: none;
  }

  nav {
    position: static;
    top: auto;
    left: auto;
    right: auto;

    height: auto;
    transform: none;
    pointer-events: auto;

    display: flex;
    flex-direction: row;
    align-items: center;

    gap: 12px;
    padding: 0;
    background: transparent;
    margin: 0;
  }

  nav a {
  font-size: 12.5px;
  padding: 6px 12px;
  border-radius: 999px;
  white-space: nowrap;
  letter-spacing: 0.02em;
}
}
@media (min-width: 900px) {
  .main-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
  }
}

.nav{ 
  display: flex; 
  align-items: center; 
  gap: 18px; 
  padding:12px 0
} 

.logos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
}


.logo span{ 
  font-size: clamp(18px,2.6vw,22px)
} 

nav a { 
  color: var(--text); 
  text-decoration: none; 
  padding: 8px 10px; 
  border-radius: 10px; 
  font-weight: 600; 
  opacity: .9; 
  font-size: 15px; 
  text-align: center; 
} 

nav a:hover, nav a:focus { 
  opacity: 1; 
  background: var(--border); 
} 


/*loga po menu*/

.org-logos {
  padding: 8px 0 4px;
  background: transparent;
  border: none;
}

.org-logos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  align-items: center;
  gap: 60px;

  max-width: 900px;
  margin: 0 auto;
  margin-bottom: 50px;
}

.org-logos-grid img {
  max-height: 64px;
  max-width: 100%;
  width: auto;
  height: auto;

  object-fit: contain;
  margin: 0 auto;
  display: block;

  filter: none;
  opacity: 1;

  transition: transform .25s ease;
}

.org-logos-grid img:hover {
  transform: scale(1.04);
}

/* Naglówek */ 

.hero{ 
  padding:34px 0 80px; 
  position: relative; 
  overflow: hidden; 
  text-align: center; 
  margin-bottom: 0px;
} 

.hero:before{ 
  content:"";
  position:absolute;
  inset:-20% -10% auto -10%;
  height:260px; 
  background:radial-gradient(ellipse at top, var(--border), transparent 60%), radial-gradient(ellipse at right, rgba(16,185,129,.16), transparent 55%); 
  pointer-events:none } 
  
.eyebrow { 
  font-family: var(--font-heading);
  text-transform: uppercase; 
  font-size: clamp(30px, 4.5vw, 48px);
  letter-spacing: 0.16em;
  font-weight: 700;
  color: var(--brand-2); 
  margin: 40px 0 14px;
}

h1 { 
  font-family: var(--font-heading);
  font-weight: 800;
  margin: 8px 0 16px; 
  line-height: 1.1; 
  letter-spacing: -0.02em;
  font-size: clamp(30px, 4.5vw, 48px); 
  text-align: center; 

  background: linear-gradient(
    90deg,
    #e6e8ee 0%,
    var(--brand) 50%,
    #e6e8ee 100%
  ); 
  -webkit-background-clip: text; 
  background-clip: text; 
  color: transparent; 
}

.headline-underline{ 
  display:inline-block;
  position:relative 
} 

.headline-underline:after { 
  content: "";
  display: block;
  height: 4px;
  width: 72px;
  margin-top: 10px;
  border-radius: 999px; 
  background: linear-gradient(90deg,var(--brand),var(--accent)) 
} 



.lead {
  color: var(--muted); 
  max-width: 80ch; 
  font-size: clamp(22px,2.4vw,18px); 
  margin: 0 auto; text-align: center; 
  margin-top: 20px;
  margin-bottom: 20px;
} 

.hero-meta {
  margin-top: 60px;
  padding-top: 20px;
  position: relative;
}

.hero-meta::before {
  content: "";
  display: block;
  height: 1px;
  width: 160px;
  margin: 0 auto 70px;
  background: linear-gradient(
    to right,
    transparent,
    var(--border),
    transparent
  );
}

.hero::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 1100px;
  height: 1px;
  background: linear-gradient(
    to right,
    transparent,
    var(--border),
    transparent
  );
}

section { 
  padding: 40px 0; 
} 

section > h2 {
  text-align: center;
  margin-bottom: 32px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

section > h2::after {
  content: "";
  display: block;
  width: 56px;
  height: 4px;
  margin: 16px auto 0;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--brand), var(--brand-2));
}

.card { 
  background: var(--card); 
  border: 1px solid var(--border); 
  border-radius: 16px; 
  padding: 20px; 
  box-shadow: 0 10px 30px rgba(0,0,0,.25); 
} 
 
.grid-2 { 
  display: grid; 
  grid-template-columns: 1fr; 
  gap:16px 
} 

@media (min-width:860px){.grid-2{grid-template-columns:1fr 1fr}} 

#o-wydarzeniu { 
  margin-top: 10px;
} 


.about-layout {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 32px;
  align-items: center;
  margin-top: 24px;
}

@media (min-width: 860px) {
  .about-layout {
    grid-template-columns: 1.1fr 0.9fr;
  }
}

.about-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.about-heading {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--text);
  margin: 0;
}

.about-content p {
  font-size: 17px;
  line-height: 1.7;
  color: var(--muted);
  margin: 0;
}

.about-summary {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  background: linear-gradient(to right, transparent, rgba(255,255,255,.03),transparent);
}

.about-summary p {
  font-size: 15px;
  font-weight: 600;
}

.about-image {
  width: 100%;
  height: auto;
  display: block;

  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,.25);
}

.speakers-wrapper {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.speakers-top {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 32px;
  max-width: 1200px;
  margin: 0 auto;
}


.speakers {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 32px;
  max-width: 1100px;
  margin: 0 auto;
}


.speaker-card {
  flex: 0 0 calc(25% - 24px);
  max-width: 260px;

  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 16px;

  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.speaker-card:hover { 
  transform: translateY(-4px); 
  box-shadow: 0 8px 24px rgba(0,0,0,0.35);
}

.speaker-card img { 
  width: 120px; 
  height: 120px; 
  border-radius: 50%; 
  object-fit: cover; 
  margin-bottom: 14px;
  border: 3px solid rgba(124,156,255,.35);
  box-shadow: 
    0 0 0 6px rgba(124,156,255,.08),
    0 10px 24px rgba(0,0,0,.45);
}

.speaker-card:hover img {
  box-shadow: 0 0 0 6px rgba(124,156,255,.25);
}

.speaker-card h3 { 
  margin: 12px 0 6px; 
  font-weight: 700; 
  color: #fff;
} 

.speaker-card p { 
  margin: 0; 
  color: var(--muted); 
  line-height: 1.4; 
}

.location-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.location-info h2 {
  margin-bottom: 18px;
}

.location-list {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  display: grid;
  gap: 14px;
}

.location-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: var(--muted);
  line-height: 1.6;
}

.location-list .icon {
  font-size: 20px;
  line-height: 1;
  margin-top: 2px;
}

.location-map {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.map-cta {
  display: inline-block;
  margin-top: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #0f1115;
  font-weight: 700;
  text-decoration: none;
  align-self: center;
}

.location-map iframe {
  width: 100%;
  height: 260px;
  border-radius: 14px;
}

.map-cta.under-map {
  align-self: center;
  margin-top: 4px;
}

.logos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  max-width: 900px;
  margin: 0 auto;
}

.logos article {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  height: 220px;
  text-align: center;

  box-shadow: 0 8px 20px rgba(0,0,0,.25);
}

.logos article:hover { 
  transform: translateY(-5px); 
  box-shadow: 0 10px 30px rgba(0,0,0,.35);
} 

.logos article img {
  max-width: 200px;
  max-height: 90px;
  object-fit: contain;
}


.logos article h3 { 
  color: #fff; 
  font-size: 14px; 
  font-weight: 700; 
  margin-top: 16px;
} 

#patronaci h2 { 
  text-align: center; 
  font-size: clamp(24px, 3vw, 32px); 
  margin-bottom: 40px; 
  margin-top: 100px;
  color: #fff;
} 

#patronaci .org-inline {
  margin-top: -110px;
}

#patronaci {
  margin-bottom: 80px
}

#patronaci .logos {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;

  max-width: 700px;
  margin: 0 auto;
}

#patronaci .logos article:nth-child(5) {
  grid-column: 1 / -1;
  justify-self: center; 
  width: 50%;            
}

#patronaci .logos article img {
  max-width: 280px;   /* było 200 */
  max-height: 140px;  /* było 90  */
}

.patron-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: inherit;
  height: 100%;
}


section[aria-label="Wideo promocyjne"] { 
  margin-top: 80px; 
  text-align: center; 
  margin-bottom: auto; 
} 

aside a { 
  color: var(--accent); 
} 

#wideo { 
  text-align: center; 
}

footer { 
  border-top: 1px solid var(--border); 
  padding: 28px 0; 
  color: var(--muted); 
} 

.social { 
  display: flex; 
  justify-content: flex-end; 
  gap: 20px; 
  margin: 0;
} 

.social a { 
  color: var(--text); 
  opacity:.85; 
  text-decoration: none; 
} 

.social-box { 
  text-align: right; 
} 

@media (max-width: 640px) { 
.social{ justify-content: flex-start; }
} 

 
.logo img { 
  height: 32px; 
  display: block; 
  object-fit: contain; 
}

/*formularz*/

#rejestracja .org-inline {
  margin-top: -110px;
  margin-bottom: 150px;
}

.google-form-wrapper {
  max-width: 900px;
  margin: 0 0 0 100px;
  padding: 32px;
}

.google-form-wrapper h2 {
  text-align: center;
  margin: 0;
}

.google-form-wrapper iframe {
  width: 100%;
  height: 1300px;
  border: none;
  border-radius: 16px;
  background: #ffffff;
  margin-top: 32px;
}

.theme-toggle { 
  width: 48px; 
  height: 26px; 
  background: #111827; 
  border: none; 
  border-radius: 30px; 
  position: relative; 
  cursor: pointer; 
  padding: 0; 
  display: flex; 
  align-items: center; 
  justify-content: space-between; 
  padding: 0 6px; 
} 

.theme-toggle .icon { 
  font-size: 14px; 
  line-height: 1; 
  transition: opacity 0.3s; 
} 

.theme-toggle .moon {
  opacity: 0; 
} 

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.agenda-section {
  padding-top: 0;
}

.agenda-title {
  text-align: center;
  margin-bottom: 12px;
}

.agenda-item {
  position: relative;
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 16px;
  align-items: stretch;
  margin-bottom: 28px;
}

.agenda-time {
  font-weight: 700;
  color: var(--brand);
  text-align: right;
  padding-top: 18px;
  padding-right: 12px;
  position: relative;
  z-index: 2;
  min-width: 48px;
}

.agenda-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 16px 18px;
  text-align: left;
  box-shadow: 0 8px 24px rgba(0,0,0,.25);
}

.agenda-card h3 {
  margin: 6px 0;
  font-size: 18px;
}

.agenda-card p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.agenda-item::before {
  content: "";
  position: absolute;
  right: 10px;
  top: 26px;
  width: 12px;
  height: 12px;
  background: var(--brand);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(124,156,255,.15);
}

.agenda-item.break::before {
  background: var(--muted);
  box-shadow: 0 0 0 4px rgba(255,255,255,.08);
}


#agenda {
  margin-top: clamp(10px, 2vw, 40px);
}

#agenda .org-inline {
  margin-bottom: 100px;
}

.agenda-timeline {
  position: relative;
  max-width: 900px;
  margin: 40px auto 0;
  padding-left: 40px;
}

.agenda-timeline::before {
  content: "";
  position: absolute;
  top: 0;
  left: 75px;
  width: 2px;
  height: 100%;
  background: linear-gradient(
    to bottom,
    transparent,
    rgba(255,255,255,.12),
    transparent
  );
}

.agenda-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 6px;
  background: rgba(124,156,255,.15);
  color: var(--brand);
}


.agenda-badge.expert {
  background: rgba(56,211,159,.18);
  color: var(--brand-2);
}

.agenda-badge.break {
  background: rgba(255,255,255,.08);
  color: var(--muted);
}

#prelegenci {
  margin-top: clamp(20px, 4vw, 50px);
}

main > section {
  margin-top: clamp(60px, 8vw, 100px);
}

main > section:first-child {
  margin-top: 24px;
}

main > section:last-of-type {
  margin-top: 40px;
  margin-bottom: 0;
}

section.card {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

#o-wydarzeniu.card {
  padding: 32px 28px;
}

.countdown {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}

.countdown-item {
  background: rgba(255,255,255,.03);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 10px 14px;
  min-width: 76px;
  box-shadow: none;
}

.countdown-value {
  display: block;
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 800;
  line-height: 1;
  color: var(--brand);
}

.countdown-label {
  margin-top: 6px;
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--muted);
}

.countdown-section {
  text-align: center;
  padding: 0;
  margin-top: 80px;
}

.countdown-section h2 {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--muted);
  margin-bottom: 32px;
}

.countdown-section h2::after {
  display: none;
}

@media (max-width: 900px) {
  .logos {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

.registration .card {
  position: relative;
  overflow: hidden;
}

.registration {
  align-items: stretch;
  gap: 32px;
}

.registration .info-panel {
  border: 1px solid rgba(124,156,255,.35);
  box-shadow:
    0 0 0 1px rgba(124,156,255,.15),
    0 10px 30px rgba(0,0,0,.35);
}

.info-panel {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.info-lead {
  color: var(--muted);
  margin: 0;
}

.info-links {
  display: grid;
  gap: 12px;
}

.info-links a {
  display: flex;
  align-items: center;
  gap: 12px;

  padding: 14px 16px;
  border-radius: 14px;

  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.12);

  color: var(--text);
  text-decoration: none;
  font-weight: 600;

  transition: 
    transform .15s ease,
    box-shadow .2s ease,
    border-color .2s ease;
}

.info-links a:hover {
  transform: translateY(-2px);
  border-color: var(--brand);
  box-shadow: 0 8px 24px rgba(0,0,0,.35);
}

.info-links .icon {
  font-size: 20px;
}

.info-quote {
  margin-top: 12px;
  padding-left: 16px;
  border-left: 3px solid var(--brand);

  font-style: italic;
  color: var(--muted);
}

.faq {
  padding: 32px 28px;
}

.faq details {
  background: rgba(255,255,255,.04);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px 18px;
  margin-bottom: 14px;

  transition:
    border-color .25s ease,
    box-shadow .25s ease,
    transform .15s ease;
}

.faq details a {
  color: var(--brand);
  font-weight: 600;
  text-decoration: underline;
}

.faq details a:hover {
  color: var(--brand-2);
}

.faq details:hover {
  border-color: rgba(124,156,255,.35);
  box-shadow: 0 6px 20px rgba(0,0,0,.25);
  transform: translateY(-1px);
}

.faq summary {
  cursor: pointer;
  list-style: none;
  font-weight: 700;
  font-size: 16px;
  color: var(--text);

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

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

.faq summary::after {
  content: "›";
  font-size: 22px;
  line-height: 1;
  color: var(--brand);
  transform: rotate(0deg);
  transition: transform .25s ease;
}

.faq details[open] summary::after {
  transform: rotate(90deg);
}

.faq details p {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.6;
}

.faq details[open] {
  border-color: rgba(124,156,255,.45);
  background: linear-gradient(
    180deg,
    rgba(124,156,255,.08),
    rgba(22,26,34,1)
  );
}



#faq {
  margin-bottom: 24px;
  position: relative;
}

#faq::after {
  content: "";
  display: block;
  height: 1px;
  margin-top: 16px;
  background: linear-gradient(
    to right,
    transparent,
    var(--border),
    transparent
  );
}

#faq .org-inline { 
  margin-top: -110px; 
  margin-bottom: 150px; }


/*patron na dole strony*/ 

.patrons-strip {
  padding: 48px 0 32px;
  margin-top: 80px;

  background: linear-gradient(
    180deg,
    transparent,
    rgba(255,255,255,.03)
  );

  border-top: 1px solid var(--border);
}

.patrons-label {
  text-align: center;
  font-size: 13px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 28px;
  font-weight: 600;
}

.patrons-logos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 40px;
  align-items: center;

  max-width: 1000px;
  margin: 0 auto;
}

.patrons-logos img {
  max-height: 70px;
  width: auto;
  max-width: 100%;
  margin: 0 auto;
  display: block;
  object-fit: contain;

  opacity: 0.85;
  transition: opacity .2s ease, transform .2s ease;
}

.patrons-logos img:hover {
  opacity: 1;
  transform: scale(1.04);
}


.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 60px;
  row-gap: 10px;

  max-width: 1100px;
  margin: 0 auto;

  padding: 0 40px;
  align-items: start;
}

.footer-title {
  grid-column: 1 / -1;
  text-align: center;

  font-size: 22px;
  margin: 0 0 8px 0;
}


.footer-col h3 {
  font-size: 20px;
  margin-top: 0;
  margin-bottom: 28px;
}

.footer-col p {
  line-height: 1.6;
  color: var(--muted);
}

.footer-contact {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-contact a {
  display: inline-flex;
  align-items: center;
  gap: 2px;

  text-decoration: none;
  font-weight: 600;
  color: var(--text);

  transition: color .2s ease;
}

.footer-contact img {
  width: 18px;
  height: 18px;
  margin-right: -2px; 
  transform: translateX(-4px)
}

.footer-contact a:hover {
  color: var(--brand);
}

.footer-copy {
  text-align: center;
  padding: 40px 0 20px;
  border-top: 1px solid var(--border);
  font-size: 14px;
  color: var(--muted);
  margin-top: 40px;
}

footer address {
  font-style: normal;
  color: var(--muted);
  line-height: 1.5;
  margin: 0 0 22px 0;
}

.site-footer a {
  color: var(--text);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--brand);
}

.site-footer {
  margin-top: 60px;
  padding: 40px 0 20px;
  background: linear-gradient(
    90deg,
    rgba(10,14,24,0.95),
    rgba(15,20,35,0.95)
  );
  border-top: 1px solid var(--border);
}

.page-section {
  display: none;
}

.page-section.active {
  display: block;
}

/*Tryb jasny*/

body.dark { 
  --bg: #f2f4f8;
  --card: #f8fafc;
  --text: #0f172a; 
  --muted: #475569; 
  --brand: #4f6ef7; 
  --brand-2: #16a34a; 
  --accent: #4f6ef7; 
  --ring: rgba(79,110,247,.18); 
  --border: rgba(15,23,42,.08); 
  background: var(--bg);
}

body.dark #patronaci h2 {
  color: var(--text);
}

body.dark .about-image {
  box-shadow: 0 20px 40px rgba(15,23,42,.15);
}

body.dark nav a { 
  color: var(--text); 
} 

body.dark nav a:hover { 
  background: rgba(15,23,42,.06);
} 

body.dark .theme-toggle { 
  background: #475569; 
} 

body.dark .theme-toggle .sun { 
  opacity: 0; 
} 

body.dark .theme-toggle .moon { 
  opacity: 1; 
}

body.dark .faq details {
  background: #dde1ea;
}

body.dark .info-links a {
  background: #dde1ea;
  border: 1px solid var(--border);
}

body.dark header { 
  background: rgba(255,255,255,.75); 
  backdrop-filter: blur(10px); 
  border-bottom: 1px solid var(--border); 
} 

body.dark .hero::before {
  background: none;
}

body.dark .lead,
body.dark .about-content p,
body.dark .about-summary p,
body.dark .agenda-card p,
body.dark .location-list li,
body.dark .faq details p,
body.dark .footer-copy {
  color: #475569;
}

body.dark .card,
body.dark .agenda-card,
body.dark .faq details {
  background: #ffffff;
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.08);
}

body.dark .logos article {
  background: #ffffff;
}

body.dark .logos article h3 {
  color: var(--text);
}

body.dark .logos article img {
  filter: none;
  background: #ffffff;
  padding: 8px;
  border-radius: 8px;
}

body.dark .speaker-card {
  background: var(--card);
  box-shadow: 0 8px 24px rgba(15,23,42,.08);
}

body.dark .speaker-card h3 {
  color: var(--text);
}

body.dark .speaker-card p {
  color: var(--muted);;
}

body.dark .faq details[open] {
  background: #f1f5f9;
}

body.dark .agenda-timeline::before {
  background: linear-gradient(
    to bottom,
    transparent,
    rgba(15, 23, 42, 0.12),
    transparent
  );
}

body.dark input,
body.dark textarea {
  background: #ffffff;
  border: 1px solid rgba(15,23,42,.18);
}

body.dark #o-wydarzeniu .about-heading {
  color: #0f172a;
}

body.dark #o-wydarzeniu .about-content p,
body.dark .about-summary p {
  color: #475569;
}

/*telefon*/



@media (max-width: 899px) {
  .container.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
}

@media (max-width: 899px) {
  .nav-actions {
    margin-left: auto;
  }

  .theme-toggle {
    order: 1;
  }

  .menu-toggle {
    order: 2;
  }
}

@media (max-width: 899px) {
  header .container.nav {
    padding-left: 24px;
    padding-right: 24px;
  }
}

@media (max-width: 899px) {
  .logo {
    margin-left: 4px;
  }
}

@media (max-width: 899px) {
  .nav-actions {
    margin-right: 4px;
  }
}

@media (max-width: 899px) {
  .nav {
    padding: 6px 0;
  }
}

@media (max-width: 899px) {
  .menu-toggle {
    width: 38px;
    height: 38px;
  }

  .theme-toggle {
    width: 42px;
    height: 24px;
  }

  .nav-actions {
    gap: 8px;
  }
}

@media (max-width: 560px) {
  .org-logos-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .org-logos-grid img:nth-child(3) {
    grid-column: 1 / -1;
    justify-self: center;
  }
}

@media (max-width: 768px) {

  #o-konferencji .org-inline {
    margin-top: 10px;
    margin-bottom: 60px;
  }

}

@media (max-width: 768px) { 
  
  #agenda .org-inline {
    margin-top: 40px !important;
    margin-bottom: 150px !important;
  }

  #patronaci .org-inline {
    margin-top: -50px !important;
    margin-bottom: 150px !important;
  }

  #rejestracja .org-inline {
    margin-top: -50px !important;
    margin-bottom: 150px !important;
  }

  #faq .org-inline {
    margin-top: -50px !important;
    margin-bottom: 150px !important;
  }

}

@media (max-width: 560px) {
  .org-logos-grid img {
    max-height: 48px;
  }
}



@media (max-width: 768px) {

  section[data-page="home"]#patronat-honorowy {
    padding-bottom: 10px;
    margin-bottom: 10px;
  }

}

@media (max-width: 768px) {

  #patronaci .logos {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
  }

  #patronaci .logos article {
    width: 92%;
    max-width: 380px;
    height: 170px;
    padding: 16px;
    border-radius: 18px;

    display: flex;
    align-items: center;
    justify-content: center;
  }

  #patronaci .logos article img {
    max-height: 110px;
    max-width: 90%;
    object-fit: contain;
  }

}

@media (max-width: 768px) {

  #patronaci .logos article:nth-child(5) {
    width: 92%;
    object-fit: contain;
    margin: 0 auto;
  }

}


@media (max-width: 768px) {

  .google-form-wrapper {
    margin: 0 auto;
    padding: 20px 16px;
    max-width: 100%;
  }

  .google-form-wrapper iframe {
    min-height: 1400px;
    border-radius: 12px;
  }

}

@media (max-width: 768px) {

  .google-form-wrapper h2 {
    text-align: center;
    margin-bottom: 24px;
  }

}

@media (max-width: 860px) {

  .about-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .about-media {
    order: 1;
  }

  .about-content {
    order: 2;
    text-align: justify;
  }

}

@media (max-width: 860px) {

  .about-content p {
    font-size: 16px;
    line-height: 1.75;
  }

}

@media (max-width: 860px) {

  .about-image {
    max-width: 100%;
    margin: 0 auto;
    border-radius: 16px;
  }

}

@media (max-width: 560px) {
  .hero-meta {
    margin-top: 34px;
    padding-top: 12px;
  }
}

@media (max-width: 560px) {
  .hero {
    margin-bottom: 16px;
    padding-bottom: 32px;
  }
}

@media (max-width: 560px) {
  main > section:first-child {
    margin-top: 12px;
  }
}

@media (max-width: 1024px) {
  .speaker-card {
    flex: 0 0 calc(33.333% - 24px);
  }
}

@media (max-width: 768px) {
  .speaker-card {
    flex: 0 0 calc(50% - 24px);
  }
}

@media (max-width: 480px) {
  .speaker-card {
    flex: 0 0 100%;
  }
}

@media (max-width: 768px) {

  .patrons-logos {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px 18px;
    max-width: 360px;
    margin: 30px auto 0;
    align-items: center;
  }

  .patrons-logos img {
    max-height: 56px;
    width: auto;
    margin: 0 auto;
    display: block;
  }

  .patrons-logos img:nth-child(5) {
    grid-column: 1 / -1;
    justify-self: center;
    max-height: 64px;
  }

}

@media (max-width: 768px) {

  .footer-grid {
    grid-template-columns: 1fr;
    row-gap: 32px;
    padding: 0 20px;
    text-align: left;
  }

  .footer-title {
    text-align: left;
    margin-bottom: 24px;
  }

  .footer-col {
    width: 100%;
  }

  .footer-contact {
    margin-top: 12px;
  }

  .footer-copy {
    padding: 32px 20px 16px;
    font-size: 13px;
  }

}

@media (max-width: 768px) {
  body {
    background-size: cover;
    background-position: center top;
  }
}