:root{
  --blue:#079bc8;
  --blue-dark:#007da6;
  --graphite:#555555;
  --ink:#20252a;
  --muted:#6f7780;
  --bg:#f7f9fa;
  --soft:#eef5f7;
  --white:#fff;
  --line:#dfe7ea;
  --max:1180px;
  --radius:24px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  color:var(--ink);background:var(--white);line-height:1.55
}
img{max-width:100%;display:block}
a{color:inherit;text-decoration:none}
.container{width:min(calc(100% - 34px),var(--max));margin:auto}
.topbar{
  position:sticky;top:0;z-index:100;background:rgba(255,255,255,.94);
  backdrop-filter:blur(12px);border-bottom:1px solid rgba(0,0,0,.07)
}
.nav{min-height:96px;display:flex;align-items:center;justify-content:space-between;gap:30px}
.nav-logo img{width:330px;max-height:72px;object-fit:contain;object-position:left center}
.nav-links{display:flex;align-items:center;gap:22px;font-size:.92rem;font-weight:700;flex-wrap:wrap;justify-content:flex-end}
.btn{
  min-height:50px;padding:0 22px;border-radius:999px;display:inline-flex;align-items:center;justify-content:center;
  font-weight:800;border:1px solid var(--ink);transition:.2s ease;cursor:pointer
}
.btn:hover{transform:translateY(-2px)}
.btn-blue{background:var(--blue);border-color:var(--blue);color:#fff}
.btn-dark{background:var(--ink);color:#fff}
.btn-white{background:#fff}
.hero{padding:52px 0 56px;background:linear-gradient(180deg,#fff 0%,#f5fafb 100%)}
.hero-grid{display:grid;grid-template-columns:.94fr 1.06fr;gap:40px;align-items:center}
.eyebrow{font-size:.76rem;font-weight:900;letter-spacing:.16em;text-transform:uppercase;color:var(--blue);margin-bottom:16px}
h1,h2,h3,p{margin-top:0}
h1{font-size:clamp(3rem,6.5vw,6.7rem);line-height:.92;letter-spacing:-.065em;margin-bottom:24px}
h2{font-size:clamp(2.2rem,4.4vw,4.3rem);line-height:1;letter-spacing:-.052em;margin-bottom:18px}
h3{font-size:1.25rem;letter-spacing:-.025em}
.lead{font-size:clamp(1.03rem,1.6vw,1.25rem);color:var(--muted);max-width:690px}
.hero-points{display:flex;flex-wrap:wrap;gap:10px;margin:22px 0 0}
.hero-points span{padding:10px 14px;border-radius:999px;background:#fff;border:1px solid var(--line);font-size:.88rem;font-weight:700;color:#4c5963}
.hero-actions{display:flex;gap:12px;flex-wrap:wrap;margin:28px 0 28px}
.meta{display:flex;gap:22px;flex-wrap:wrap;font-size:.92rem;color:var(--muted)}
.meta b{color:var(--ink)}
.hero-image{
  height:640px;border-radius:32px;overflow:hidden;position:relative;box-shadow:0 25px 70px rgba(11,60,76,.16)
}
.hero-image img{width:100%;height:100%;object-fit:cover}
.hero-stamp{
  position:absolute;left:22px;bottom:22px;background:rgba(255,255,255,.96);padding:16px 18px;border-radius:17px;
  box-shadow:0 10px 30px rgba(0,0,0,.12)
}
.hero-stamp strong{display:block;font-size:1.1rem}
.hero-stamp span{font-size:.88rem;color:var(--muted)}
section{padding:88px 0}
.soft{background:var(--soft)}
.dark{background:#22282d;color:#fff}
.dark .lead{color:#bdc7cc}
.section-head{display:flex;justify-content:space-between;align-items:end;gap:34px;margin-bottom:40px}
.section-head .lead{max-width:610px;margin-bottom:0}
.about-grid{display:grid;grid-template-columns:1fr 1fr;gap:30px;align-items:center}
.about-photo{height:560px;border-radius:28px;overflow:hidden;box-shadow:0 18px 50px rgba(19,64,75,.08)}
.about-photo img{width:100%;height:100%;object-fit:cover}
.checks{display:grid;gap:14px;margin-top:26px}
.check{display:flex;gap:14px;align-items:flex-start}
.check i{font-style:normal;width:28px;height:28px;border-radius:50%;background:#d8f0f6;color:var(--blue-dark);display:grid;place-items:center;font-weight:900;flex:0 0 auto}
.event-card{
  display:grid;grid-template-columns:.92fr 1.08fr;overflow:hidden;background:#fff;border:1px solid var(--line);
  border-radius:30px;box-shadow:0 18px 50px rgba(19,64,75,.08)
}
.event-photo{min-height:500px}
.event-photo img{width:100%;height:100%;object-fit:cover}
.event-copy{padding:48px;display:flex;flex-direction:column;justify-content:center}
.event-date{color:var(--blue);font-size:1.05rem;font-weight:900;letter-spacing:.05em;text-transform:uppercase}
.info-list{display:grid;gap:0;margin:20px 0 28px}
.info{padding:14px 0;border-bottom:1px solid var(--line)}
.info small{display:block;text-transform:uppercase;letter-spacing:.1em;color:var(--muted);font-size:.7rem;font-weight:800}
.organizers{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-bottom:22px}
.organizer-card{
  min-height:190px;background:#fff;border:1px solid var(--line);border-radius:24px;padding:26px;
  display:flex;flex-direction:column;justify-content:space-between;gap:18px;box-shadow:0 10px 30px rgba(0,0,0,.04);transition:.2s ease
}
.organizer-card:hover{transform:translateY(-3px);box-shadow:0 16px 40px rgba(0,0,0,.08)}
.organizer-tag{font-size:.72rem;font-weight:900;letter-spacing:.14em;text-transform:uppercase;color:var(--blue)}
.organizer-card img{width:100%;height:78px;object-fit:contain;object-position:center center}
.organizer-card strong{
  font-size:1.2rem;
  text-align:center;
}
.exhibitors{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}
.exhibitor{
  min-height:176px;background:#fff;border:1px solid var(--line);border-radius:19px;padding:18px 16px 16px;
  display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;transition:.2s ease;position:relative;
  box-shadow:0 6px 22px rgba(0,0,0,.03)
}
.exhibitor[href]:hover{transform:translateY(-4px);box-shadow:0 15px 36px rgba(0,0,0,.08);border-color:#c5dce3}
.exhibitor img{width:100%;max-width:180px;height:88px;object-fit:contain}
.brand-name{display:block;text-align:center;font-size:.82rem;font-weight:700;color:#5f6972;line-height:1.3}
.gallery-full{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:12px
}
.gallery-item{
  appearance:none;border:0;padding:0;margin:0;background:#dfe7ea;
  border-radius:18px;overflow:hidden;min-height:220px;cursor:zoom-in;
  box-shadow:0 5px 18px rgba(0,0,0,.04)
}
.gallery-item.gallery-wide{grid-column:span 2;min-height:340px}
.gallery-item img{width:100%;height:100%;object-fit:cover;transition:.28s ease}
.gallery-item:hover img{transform:scale(1.025)}
.lightbox{
  position:fixed;inset:0;background:rgba(10,14,17,.92);z-index:500;
  display:none;align-items:center;justify-content:center;padding:30px
}
.lightbox.open{display:flex}
.lightbox img{max-width:min(94vw,1600px);max-height:90vh;border-radius:14px;box-shadow:0 20px 70px rgba(0,0,0,.45)}
.lightbox-close{
  position:fixed;top:18px;right:22px;width:48px;height:48px;border:0;border-radius:50%;
  background:#fff;color:#20252a;font-size:32px;line-height:1;cursor:pointer
}
.no-scroll{overflow:hidden}
.history-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.history-card{border:1px solid var(--line);border-radius:22px;padding:25px;background:#fff}
.history-card b{font-size:2rem;letter-spacing:-.04em}
.press-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}
.press-card{background:#fff;border:1px solid var(--line);border-radius:24px;padding:28px;box-shadow:0 10px 30px rgba(0,0,0,.04);transition:.2s ease}
.press-card:hover{transform:translateY(-3px);box-shadow:0 16px 40px rgba(0,0,0,.08)}
.press-card p{color:var(--muted);margin-bottom:18px}
.press-label{display:inline-block;margin-bottom:10px;padding:7px 11px;border-radius:999px;background:#dff4fa;color:var(--blue-dark);font-size:.74rem;font-weight:900;letter-spacing:.08em;text-transform:uppercase}
.press-link{font-weight:800;color:var(--blue-dark)}
.reg-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}
.reg-card{background:#fff;color:var(--ink);border-radius:26px;padding:30px}
.reg-card p{color:var(--muted)}
.notice{margin-top:18px;padding:16px;border-radius:14px;background:#f2f6f7;color:#68737a;font-size:.92rem}
footer{padding:32px 0;background:#161a1e;color:#bfc6ca}
.footer-grid{display:flex;justify-content:space-between;gap:25px;align-items:center;flex-wrap:wrap}
.footer-logo img{width:235px}
@media(max-width:1080px){
 .nav-logo img{width:280px}
 .exhibitors{grid-template-columns:repeat(3,1fr)}
}
@media(max-width:980px){
 .nav-links a:not(.btn){display:none}
 .hero-grid,.about-grid,.event-card,.reg-grid,.press-grid{grid-template-columns:1fr}
 .hero-image{height:520px}
 .event-photo{min-height:390px}
 .gallery{grid-template-columns:1fr 1fr}
 .gallery figure:first-child{grid-column:1/-1;grid-row:auto;min-height:380px}
}
@media(max-width:620px){
 section{padding:66px 0}
 .nav{min-height:72px}.nav-logo img{width:210px;max-height:56px}.nav-links .btn{padding:0 15px;min-height:44px}
 .hero{padding-top:28px}.hero-image{height:430px;border-radius:23px}
 .section-head{display:block}
 .exhibitors{grid-template-columns:repeat(2,1fr)}
 .exhibitor{min-height:156px}.exhibitor img{height:70px}
 .gallery{grid-template-columns:1fr}.gallery figure:first-child{grid-column:auto;min-height:300px}
 .gallery figure{min-height:260px}
 .history-grid{grid-template-columns:1fr}
 .event-copy{padding:30px}
 .btn{width:100%}
 .nav-links .btn{width:auto}
 .hero-points span{width:100%;text-align:center}
 .footer-logo img{width:200px}
}

@media(max-width:980px){
  .gallery-full{grid-template-columns:repeat(2,1fr)}
  .gallery-item.gallery-wide{grid-column:span 2;min-height:330px}
}
@media(max-width:620px){
  .gallery-full{grid-template-columns:1fr}
  .gallery-item,.gallery-item.gallery-wide{grid-column:auto;min-height:250px}
  .lightbox{padding:14px}
}


/* Formularze Tally — dodane do aktualnej wersji strony */
.form-cta{margin-top:20px}
.tally-modal{
  position:fixed;inset:0;z-index:9999;background:rgba(13,18,22,.78);
  display:none;align-items:center;justify-content:center;padding:22px
}
.tally-modal.open{display:flex}
.tally-modal-dialog{
  position:relative;width:min(760px,96vw);height:min(860px,92vh);
  background:#fff;border-radius:24px;overflow:hidden;
  box-shadow:0 30px 100px rgba(0,0,0,.35)
}
.tally-modal-dialog iframe{
  width:100%;height:calc(100% - 42px);border:0;background:#fff
}
.tally-modal-close{
  position:absolute;right:13px;top:12px;z-index:3;width:42px;height:42px;
  border:0;border-radius:50%;background:#20252a;color:#fff;
  font-size:28px;line-height:1;cursor:pointer;box-shadow:0 5px 18px rgba(0,0,0,.2)
}
.tally-fallback{
  height:42px;display:flex;align-items:center;justify-content:center;
  border-top:1px solid #e5eaed;font-size:.82rem;font-weight:700;
  color:#007da6;background:#fff
}
@media(max-width:620px){
  .tally-modal{padding:7px}
  .tally-modal-dialog{width:100%;height:96vh;border-radius:16px}
  .tally-modal-close{right:9px;top:8px}
}

/* Wymuszenie wyświetlania kart organizatorów obok siebie na telefonach */
@media (max-width: 980px) {
  .organizers {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
}

@media (max-width: 620px) {
  .organizer-card {
    min-height: auto;
    padding: 14px 10px;
    gap: 10px;
  }
  .organizer-card img {
    height: 48px; /* Zmniejszenie wysokości loga na wąskim ekranie */
  }
  .organizer-card strong {
    font-size: 0.95rem; /* Dopasowanie wielkości tekstu */
  }
}
/* wyśrodkowanie tekstu na przysku w mobilnym */
@media (max-width: 620px) {
  .nav-links .btn {
    display: inline-flex;
    flex-direction: column;   /* Wymusza zawijanie słów jedno pod drugim */
    justify-content: center; /* Środkowanie w pionie */
    align-items: center;     /* Środkowanie w poziomie */
    text-align: center;      /* Wyrównanie tekstu do środka */
    line-height: 1.1;        /* Zmniejszenie odstępu między wierszami tekstu */
    padding: 6px 12px;       /* Dopasowanie wewnętrznych marginesów */
  }
}