:root {
  --navy: #0b2942;
  --navy-2: #123b5c;
  --teal: #239dab;
  --teal-dark: #167b89;
  --aqua: #dff4f3;
  --ice: #f3f8fa;
  --white: #fff;
  --ink: #10283b;
  --muted: #5d7080;
  --line: #dbe6eb;
  --warm: #f0a07d;
  --shadow: 0 24px 70px rgba(11, 41, 66, .12);
  --radius: 22px;
  --container: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; color: var(--ink); background: var(--white); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height: 1.65; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, textarea, select { font: inherit; }
.container { width: min(var(--container), calc(100% - 48px)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 1000; transform: translateY(-160%); padding: 10px 16px; background: var(--white); color: var(--navy); border-radius: 8px; box-shadow: var(--shadow); }
.skip-link:focus { transform: translateY(0); }

.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.94); border-bottom: 1px solid rgba(219,230,235,.8); backdrop-filter: blur(16px); }
.header-inner { min-height: 80px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; min-width: 230px; }
.brand img { width: 48px; height: 38px; object-fit: contain; }
.brand-copy { display: flex; align-items: center; gap: 10px; line-height: 1.08; }
.brand-copy strong { color: var(--navy); font-size: 1.35rem; letter-spacing: -.04em; }
.brand-copy span { padding-left: 10px; color: var(--muted); border-left: 1px solid var(--line); font-size: .65rem; font-weight: 650; letter-spacing: .02em; }
.main-nav { display: flex; align-items: center; gap: 25px; }
.main-nav > a:not(.button) { position: relative; color: #3f5668; font-size: .82rem; font-weight: 700; text-decoration: none; }
.main-nav > a:not(.button)::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -8px; height: 2px; background: var(--teal); transition: right .2s ease; }
.main-nav > a:not(.button):hover::after, .main-nav > a:not(.button):focus-visible::after { right: 0; }
.nav-toggle { display: none; width: 44px; height: 44px; border: 0; border-radius: 10px; background: var(--ice); padding: 11px; cursor: pointer; }
.nav-toggle span:not(.sr-only) { display: block; height: 2px; margin: 5px 0; background: var(--navy); transition: .2s ease; }

.button { display: inline-flex; min-height: 50px; align-items: center; justify-content: center; padding: 0 25px; border: 1px solid var(--teal); border-radius: 999px; background: var(--teal); color: var(--white); font-size: .88rem; font-weight: 800; letter-spacing: .01em; text-decoration: none; box-shadow: 0 10px 24px rgba(35,157,171,.22); transition: transform .2s ease, background .2s ease, box-shadow .2s ease; }
.button:hover { transform: translateY(-2px); background: var(--teal-dark); border-color: var(--teal-dark); box-shadow: 0 14px 30px rgba(35,157,171,.28); }
.button-small { min-height: 42px; padding-inline: 20px; font-size: .78rem; }
.button-light { background: var(--white); border-color: var(--white); color: var(--navy); box-shadow: none; }
.button-light:hover { background: var(--aqua); border-color: var(--aqua); }
.text-link { color: var(--navy); font-size: .9rem; font-weight: 800; text-decoration: none; }
.text-link span { display: inline-block; padding-left: 8px; color: var(--teal); transition: transform .2s ease; }
.text-link:hover span { transform: translateY(4px); }

.hero { position: relative; overflow: hidden; padding: 86px 0 80px; background: linear-gradient(110deg, #f5fafb 0%, #fff 55%, #eaf6f6 100%); }
.hero::before { content: ""; position: absolute; width: 520px; height: 520px; left: -300px; bottom: -320px; border: 90px solid rgba(35,157,171,.08); border-radius: 50%; }
.hero-grid { display: grid; grid-template-columns: 1.02fr .98fr; align-items: center; gap: 72px; }
.eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 20px; color: var(--teal-dark); font-size: .75rem; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.eyebrow span { width: 28px; height: 2px; background: currentColor; }
.hero h1 { max-width: 690px; margin: 0; color: var(--navy); font-size: clamp(2.8rem, 5.3vw, 5.15rem); line-height: 1.01; letter-spacing: -.055em; }
.hero-lead { max-width: 630px; margin: 28px 0 0; color: var(--muted); font-size: 1.1rem; line-height: 1.75; }
.hero-actions { display: flex; align-items: center; gap: 28px; margin-top: 34px; }
.hero-facts { display: flex; gap: 0; margin: 48px 0 0; padding: 0; list-style: none; }
.hero-facts li { min-width: 120px; padding: 0 28px; border-left: 1px solid var(--line); }
.hero-facts li:first-child { padding-left: 0; border-left: 0; }
.hero-facts strong, .hero-facts span { display: block; }
.hero-facts strong { color: var(--navy); font-size: 1.2rem; line-height: 1.2; }
.hero-facts span { margin-top: 5px; color: var(--muted); font-size: .72rem; }
.hero-visual { position: relative; min-height: 520px; }
.hero-visual > img { width: 100%; height: 500px; object-fit: cover; border-radius: 140px 24px 24px 24px; box-shadow: var(--shadow); }
.next-event-card { position: absolute; left: -34px; bottom: -26px; width: min(500px, 96%); padding: 24px 27px; background: rgba(255,255,255,.97); border: 1px solid rgba(255,255,255,.9); border-radius: 18px; box-shadow: var(--shadow); }
.next-label { display: block; margin-bottom: 10px; color: var(--teal-dark); font-size: .66rem; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.next-event-main { display: grid; grid-template-columns: auto minmax(0,1fr); align-items: start; gap: 18px; }
.next-date { display: grid; grid-template-columns: auto auto; align-items: center; column-gap: 8px; row-gap: 5px; padding-right: 18px; border-right: 1px solid var(--line); color: var(--navy); }
.next-date strong { font-size: 2.1rem; line-height: 1; letter-spacing: -.05em; }
.next-date span { font-size: .58rem; font-weight: 850; line-height: 1.35; }
.next-date-time { grid-column: 1 / -1; color: var(--teal-dark); font-size: .7rem; font-weight: 850; letter-spacing: .04em; line-height: 1.2; }
.next-event-details { min-width: 0; }
.next-event-title { margin: 0; color: var(--navy); font-weight: 800; line-height: 1.3; overflow-wrap: anywhere; }
.next-event-speaker { margin: 7px 0 0; color: var(--muted); font-size: .76rem; line-height: 1.35; }
.next-event-speaker span { display: block; font-size: .62rem; font-weight: 750; letter-spacing: .04em; text-transform: uppercase; }
.next-event-speaker strong { color: var(--navy); font-weight: 750; }
.intro-strip { background: var(--navy); color: var(--white); }
.intro-strip-inner { min-height: 88px; display: flex; align-items: center; gap: 32px; }
.intro-strip p { margin: 0; color: rgba(255,255,255,.8); }

.section { padding: 108px 0; }
.section-heading { margin-bottom: 52px; }
.program-heading { margin-bottom: 30px; }
.section-heading h2, .about-copy h2, .organizer-section h2, .registration-head h2 { margin: 0; color: var(--navy); font-size: clamp(2.15rem, 4vw, 3.7rem); line-height: 1.1; letter-spacing: -.045em; }
.program-heading .program-title { color: var(--teal-dark); font-size: .75rem; line-height: 1.5; letter-spacing: .12em; }
.split-heading { display: grid; grid-template-columns: 1.2fr .8fr; align-items: end; gap: 80px; }
.split-heading > p { margin: 0 0 5px; color: var(--muted); }
.program-section { background: var(--white); }
.program-list { border-top: 1px solid var(--line); }
.event-card { display: grid; grid-template-columns: 215px 1fr; gap: 42px; padding: 45px 32px; border-bottom: 1px solid var(--line); transition: background .25s ease, transform .25s ease; }
.event-card:hover { background: var(--ice); }
.event-card-featured { position: relative; background: linear-gradient(90deg, rgba(223,244,243,.62), rgba(255,255,255,0)); }
.event-card-featured::before { content: "Najbliższe spotkanie"; position: absolute; top: 0; right: 20px; transform: translateY(-50%); padding: 6px 12px; border-radius: 999px; background: var(--warm); color: var(--navy); font-size: .63rem; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; }
.event-date time { display: flex; align-items: center; gap: 13px; color: var(--navy); }
.event-date time strong { font-size: 3.6rem; line-height: .95; letter-spacing: -.07em; }
.event-date time span { font-size: .75rem; font-weight: 800; line-height: 1.4; text-transform: uppercase; }
.event-date small { display: block; margin-top: 15px; padding-top: 12px; color: var(--teal-dark); border-top: 1px solid var(--line); font-size: .74rem; font-weight: 850; }
.event-number { color: var(--teal-dark); font-size: .68rem; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.event-content h3 { max-width: 780px; margin: 8px 0 14px; color: var(--navy); font-size: clamp(1.35rem, 2.3vw, 2rem); line-height: 1.25; letter-spacing: -.025em; }
.speaker { margin: 0; color: var(--muted); font-size: .92rem; }
.speaker strong { color: var(--ink); }
.event-session-sponsored { margin-top: 14px; padding: 20px 22px 22px; border: 1px solid #d8e5ed; border-radius: 13px; background: #fbfdff; }
.event-sponsor { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 17px; padding-bottom: 15px; border-bottom: 1px solid var(--line); }
.event-sponsor span { color: var(--teal-dark); font-size: .65rem; font-weight: 850; letter-spacing: .09em; text-transform: uppercase; }
.event-sponsor img { width: min(210px, 45%); height: auto; max-height: 34px; object-fit: contain; }
.event-session-sponsored h3 { margin-top: 0; }
.event-session-quiz { margin-top: 28px; padding: 22px 24px; border-left: 4px solid var(--teal); border-radius: 0 13px 13px 0; background: var(--aqua); }
.event-session-quiz h3 { margin-top: 0; }
.event-session-quiz .speaker strong { color: var(--navy); }

.about-section { position: relative; overflow: hidden; background: var(--navy); color: var(--white); }
.about-section::after { content: "+"; position: absolute; right: -45px; bottom: -210px; color: rgba(255,255,255,.035); font-size: 35rem; font-weight: 200; line-height: 1; }
.about-grid { position: relative; z-index: 1; display: grid; grid-template-columns: .82fr 1.18fr; gap: 100px; align-items: start; }
.eyebrow.light { color: #8fe4e0; }
.about-copy h2 { color: var(--white); }
.about-copy > p:last-child { margin: 26px 0 0; color: rgba(255,255,255,.7); }
.value-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.value-grid article { min-height: 220px; padding: 28px; border: 1px solid rgba(255,255,255,.12); border-radius: 17px; background: rgba(255,255,255,.055); }
.value-grid span { color: #8fe4e0; font-size: .7rem; font-weight: 850; }
.value-grid h3 { margin: 28px 0 8px; font-size: 1rem; }
.value-grid p { margin: 0; color: rgba(255,255,255,.62); font-size: .82rem; }

.registration-section { background: var(--ice); }
.registration-head { display: grid; grid-template-columns: 1.15fr .85fr; align-items: end; gap: 80px; margin-bottom: 48px; }
.registration-head > p { margin: 0 0 5px; color: var(--muted); }
.registration-card { overflow: hidden; border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow); }
.form-frame { padding: 8px; background: var(--white); }
.form-frame iframe { display: block; width: 100%; height: 1100px; min-height: 0; border: 0; border-radius: 16px; }

.organizer-section { background: var(--white); }
.organizer-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 100px; }
.organizer-grid > * { min-width: 0; }
.address { margin: 20px 0 0; color: var(--muted); }
.contact-card { display: flex; min-width: 0; flex-direction: column; align-items: flex-start; padding: 42px; border-left: 4px solid var(--teal); background: var(--ice); border-radius: 0 var(--radius) var(--radius) 0; }
.contact-card span { color: var(--teal-dark); font-size: .68rem; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.contact-card h3 { margin: 8px 0 18px; color: var(--navy); font-size: 1.65rem; }
.contact-card a { max-width: 100%; color: var(--muted); font-size: .88rem; font-weight: 700; overflow-wrap: anywhere; text-decoration: none; }
.contact-card a + a { margin-top: 7px; }
.contact-card a:hover { color: var(--teal-dark); }

.logos-section { padding-top: 90px; background: var(--ice); }
.centered { text-align: center; }
.centered .eyebrow { justify-content: center; }
.centered.compact { margin-bottom: 42px; }
.patron-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 300px)); justify-content: center; gap: 34px; }
.patron-grid figure { display: flex; min-height: 300px; flex-direction: column; align-items: center; justify-content: center; margin: 0; padding: 30px; border-radius: 18px; background: var(--white); box-shadow: 0 14px 40px rgba(11,41,66,.07); }
.patron-grid img { width: auto; height: 170px; object-fit: contain; }
.patron-grid figcaption { margin-top: 20px; color: var(--muted); font-size: .73rem; font-weight: 750; text-align: center; }
.partners-section { padding-top: 90px; }
.partner-tier { margin: 34px 0 20px; color: var(--muted); font-size: .65rem; font-weight: 850; letter-spacing: .12em; text-align: center; text-transform: uppercase; }
.strategic-partner { display: grid; width: min(430px, 100%); height: 150px; margin: 0 auto; place-items: center; padding: 28px; border: 1px solid var(--line); border-radius: 16px; }
.strategic-partner img { width: min(300px, 100%); max-width: 100%; max-height: 75px; object-fit: contain; }
.partner-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.partner-grid > div { display: grid; height: 150px; place-items: center; padding: 25px; border: 1px solid var(--line); border-radius: 16px; background: var(--white); }
.partner-grid img { max-width: 190px; max-height: 70px; object-fit: contain; }

.final-cta { padding: 75px 0; background: var(--teal); color: var(--white); }
.final-cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.final-cta span { font-size: .73rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; opacity: .75; }
.final-cta h2 { margin: 8px 0 0; font-size: clamp(2rem, 4vw, 3.3rem); line-height: 1.1; letter-spacing: -.045em; }
.site-footer { padding: 43px 0; background: #071d2e; color: rgba(255,255,255,.58); }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr auto; align-items: center; gap: 40px; font-size: .73rem; }
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand img { width: 45px; height: 34px; object-fit: contain; filter: brightness(0) invert(1); opacity: .78; }
.footer-brand p { margin: 0; line-height: 1.35; }
.footer-brand strong { color: var(--white); font-size: 1rem; }
.footer-grid > p { margin: 0; }
.copyright { text-align: right; }

:focus-visible { outline: 3px solid var(--warm); outline-offset: 4px; border-radius: 4px; }

@media (max-width: 1080px) {
  .main-nav { gap: 15px; }
  .main-nav > a:not(.button) { font-size: .75rem; }
  .hero-grid { gap: 40px; }
  .hero-visual { min-height: 460px; }
  .hero-visual > img { height: 440px; }
  .about-grid { gap: 55px; }
}

@media (max-width: 920px) {
  .nav-toggle { display: block; }
  .main-nav { position: absolute; top: calc(100% + 1px); left: 0; right: 0; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 16px 24px 24px; border-bottom: 1px solid var(--line); background: var(--white); box-shadow: 0 18px 35px rgba(11,41,66,.12); }
  .main-nav.is-open { display: flex; }
  .main-nav > a:not(.button) { padding: 12px 4px; font-size: .86rem; }
  .main-nav > a:not(.button)::after { display: none; }
  .main-nav .button { margin-top: 10px; }
  .nav-toggle[aria-expanded="true"] span:nth-of-type(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-of-type(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-of-type(3) { transform: translateY(-7px) rotate(-45deg); }
  .hero { padding-top: 60px; }
  .hero-grid, .about-grid { grid-template-columns: 1fr; }
  .hero-copy { max-width: 700px; }
  .hero-visual { max-width: 720px; margin-top: 15px; }
  .split-heading, .registration-head { grid-template-columns: 1fr; gap: 24px; }
  .event-card { grid-template-columns: 170px 1fr; gap: 30px; }
  .about-copy { max-width: 680px; }
}

@media (max-width: 680px) {
  .container { width: min(100% - 30px, var(--container)); }
  html { scroll-padding-top: 75px; }
  .header-inner { min-height: 70px; }
  .brand { min-width: 0; }
  .brand img { width: 40px; height: 30px; }
  .brand-copy strong { font-size: 1.2rem; }
  .brand-copy span { display: none; }
  .hero { padding: 48px 0 58px; }
  .hero h1 { font-size: clamp(2.45rem, 13vw, 4rem); }
  .hero-lead { margin-top: 22px; font-size: 1rem; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 18px; }
  .hero-actions .button { width: 100%; }
  .hero-facts { justify-content: space-between; margin-top: 36px; }
  .hero-facts li { min-width: 0; flex: 1; padding: 0 13px; }
  .hero-facts strong { font-size: 1rem; }
  .hero-facts span { font-size: .62rem; }
  .hero-visual { min-height: 350px; margin-top: 20px; }
  .hero-visual > img { height: 310px; border-radius: 75px 18px 18px 18px; }
  .next-event-card { left: 12px; right: 12px; bottom: 0; width: auto; padding: 19px; }
  .next-label { margin-bottom: 8px; }
  .next-event-main { grid-template-columns: 1fr; gap: 11px; }
  .next-date { width: fit-content; margin: 0; padding: 0 0 10px; border-right: 0; border-bottom: 1px solid var(--line); }
  .next-date strong { font-size: 1.8rem; }
  .next-event-title { font-size: .83rem; }
  .next-event-speaker { margin-top: 7px; font-size: .72rem; }
  .intro-strip-inner { align-items: flex-start; flex-direction: column; gap: 12px; padding: 22px 0; }
  .intro-strip p { font-size: .83rem; }
  .section { padding: 78px 0; }
  .section-heading { margin-bottom: 38px; }
  .section-heading h2, .about-copy h2, .organizer-section h2, .registration-head h2 { font-size: 2.35rem; }
  .event-card { grid-template-columns: 1fr; gap: 24px; padding: 36px 5px; }
  .event-card-featured::before { right: 4px; }
  .event-date { display: flex; align-items: flex-end; justify-content: space-between; }
  .event-date time strong { font-size: 3rem; }
  .event-date small { margin: 0; padding: 0 0 3px; border-top: 0; }
  .event-content h3 { font-size: 1.45rem; }
  .speaker { font-size: .84rem; }
  .event-session-sponsored { padding: 18px; }
  .event-sponsor { align-items: flex-start; flex-direction: column; gap: 11px; }
  .event-sponsor img { width: min(210px, 100%); }
  .event-session-quiz { padding: 20px; }
  .value-grid { grid-template-columns: 1fr; }
  .value-grid article { min-height: 180px; }
  .form-frame iframe { height: 1250px; }
  .organizer-grid { grid-template-columns: 1fr; gap: 36px; }
  .contact-card { padding: 30px 24px; }
  .patron-grid { grid-template-columns: 1fr; }
  .patron-grid figure { min-height: 260px; }
  .partner-grid { grid-template-columns: 1fr; }
  .partner-grid > div { height: 135px; }
  .final-cta-inner { align-items: stretch; flex-direction: column; }
  .button-light { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; gap: 22px; }
  .copyright { text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
