/* Strona pojedynczego wydarzenia (konferencja). Paleta ENIGMA jak na stronie webinarów. */
:root {
  --navy: #0a2a55;
  --navy-deep: #061a38;
  --blue: #0c71c3;
  --blue-light: #7fbcf0;
  /* Akcent: mięta z logo TechTalks. Na białym tle za jasna na tekst — teksty i obrys fokusu w odcieniu „ink”. */
  --accent: #6bc7db;
  --accent-dark: #4fb3c9;
  --accent-ink: #16707f;
  --mist: #eef3f9;
  --ink: #1f2a37;
  --muted: #52606f;
  --line: #d4dde8;
  --white: #fff;
  --font: "Segoe UI Variable Text", "Segoe UI", "Avenir Next", "Helvetica Neue", system-ui, sans-serif;
  --font-display: "Segoe UI Variable Display", "Segoe UI", "Avenir Next", "Helvetica Neue", system-ui, sans-serif;
  --measure: 66ch;
  --wrap: 1180px;
  --radius: 6px;
  --masthead: 4.25rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--masthead) + 1rem); }
body { margin: 0; font: 400 1.0625rem/1.65 var(--font); color: var(--ink); background: var(--white); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-underline-offset: .18em; }
a:hover { color: var(--navy); }
:focus-visible { outline: 3px solid var(--accent-ink); outline-offset: 3px; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.15; color: var(--navy); margin: 0 0 .6em; }
h2 { font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.6rem); font-weight: 750; letter-spacing: -.02em; }
h3 { font-size: 1.2rem; font-weight: 650; }
p { margin: 0 0 1em; }
.lead { font-size: clamp(1.1rem, 1rem + .35vw, 1.3rem); line-height: 1.55; color: var(--ink); }

.skip-link { position: absolute; left: -999px; top: .5rem; background: var(--white); padding: .5rem 1rem; z-index: 50; }
.skip-link:focus { left: .5rem; }
.preview-bar { background: #fff4d6; color: #5b4300; text-align: center; padding: .4rem; font-size: .9rem; }

/* Pasek z logo i nawigacją po sekcjach */
.masthead { position: sticky; top: 0; z-index: 40; background: var(--navy-deep); border-bottom: 1px solid rgba(255, 255, 255, .08); }
.masthead__inner { max-width: var(--wrap); margin: 0 auto; padding: 0 1.25rem; min-height: var(--masthead); display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.brand { flex: none; }
.brand img { width: 140px; }
.nav { display: flex; align-items: center; gap: .25rem 1.4rem; overflow-x: auto; scrollbar-width: none; }
.nav::-webkit-scrollbar { display: none; }
.nav a { color: #d5e2f2; text-decoration: none; font-weight: 500; font-size: .95rem; white-space: nowrap; padding: .35rem 0; }
.nav a:hover { color: var(--white); text-decoration: underline; }
.nav .nav__cta { color: var(--navy-deep); background: var(--accent); border-radius: var(--radius); padding: .45rem 1rem; font-weight: 600; }
.nav .nav__cta:hover { color: var(--navy-deep); background: var(--accent-dark); text-decoration: none; }
.nav-toggle { display: none; }
@media (max-width: 860px) {
  :root { --masthead: 3.5rem; }
  .brand img { width: 112px; }
  /* Bez JavaScriptu menu się zawija; ze skryptem — przycisk „Menu” i rozwijana lista */
  .nav { flex-wrap: wrap; overflow: visible; }
  .nav-toggle:not([hidden]) { display: inline-flex; align-items: center; gap: .6rem; background: none; border: 1px solid rgba(255, 255, 255, .35); border-radius: var(--radius); color: var(--white); font: 600 1rem/1 var(--font); padding: .55rem .9rem; cursor: pointer; }
  .nav-toggle__icon, .nav-toggle__icon::before, .nav-toggle__icon::after { display: block; width: 18px; height: 2px; background: currentColor; border-radius: 1px; }
  .nav-toggle__icon { position: relative; }
  .nav-toggle__icon::before, .nav-toggle__icon::after { content: ""; position: absolute; left: 0; }
  .nav-toggle__icon::before { top: -6px; }
  .nav-toggle__icon::after { top: 6px; }
  .nav-toggle[aria-expanded="true"] .nav-toggle__icon { background: transparent; }
  .nav-toggle[aria-expanded="true"] .nav-toggle__icon::before { top: 0; transform: rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle__icon::after { top: 0; transform: rotate(-45deg); }
  .nav-toggle:not([hidden]) + .nav--sections { display: none; }
  .nav-toggle[aria-expanded="true"] + .nav--sections { display: flex; flex-direction: column; align-items: stretch; gap: 0; position: absolute; top: 100%; left: 0; right: 0; background: var(--navy-deep); padding: .5rem 1.25rem 1.25rem; border-bottom: 1px solid rgba(255, 255, 255, .12); box-shadow: 0 18px 30px -12px rgba(0, 0, 0, .5); max-height: calc(100vh - var(--masthead)); overflow-y: auto; }
  .nav--sections a { font-size: 1.05rem; padding: .8rem 0; border-bottom: 1px solid rgba(255, 255, 255, .08); }
  .nav--sections .nav__cta { margin-top: 1rem; text-align: center; border-bottom: 0; padding: .8rem 1rem; }
}
.nav a[aria-current="true"] { color: var(--white); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .45em; }

/* Ciemne tło: jaśniejsza obwódka fokusu */
.masthead :focus-visible, .hero :focus-visible, .venue :focus-visible, .footer :focus-visible { outline-color: var(--white); }

.button { display: inline-block; border: 2px solid transparent; border-radius: var(--radius); padding: .75rem 1.4rem; font: 600 1rem/1.2 var(--font); text-decoration: none; cursor: pointer; }
.button--primary { background: var(--accent); color: var(--navy-deep); }
.button--primary:hover { background: var(--accent-dark); color: var(--navy-deep); }
.button--plain { background: transparent; border-color: currentColor; color: var(--navy); }
.button--large { padding: 1rem 1.9rem; font-size: 1.075rem; }
.button:disabled { opacity: .55; cursor: not-allowed; }
.button[hidden] { display: none; }
.link-button { background: none; border: 0; padding: 0; margin-left: 1rem; font: inherit; color: inherit; text-decoration: underline; cursor: pointer; }

/* Hero: tytuł, data, miejsce. Tło: fala z obwodem w prawym górnym rogu. Obrazek (1200×1200) skalowany do
   wysokości hero, żeby nie rozciągać go na szerokość ekranu; resztę wypełnia gradient jego lewej krawędzi. */
.hero { position: relative; color: var(--white); background: url("hero-bg.png") right top / auto 100% no-repeat, linear-gradient(#172d55, #0f1b33); }
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 6px; background: linear-gradient(90deg, var(--accent) 0 38%, var(--blue) 38% 100%); }
.hero__inner { max-width: var(--wrap); margin: 0 auto; padding: clamp(3.5rem, 9vw, 7.5rem) 1.25rem clamp(3.5rem, 8vw, 6.5rem); display: grid; gap: 3rem; align-items: end; }
@media (min-width: 960px) { .hero__inner { grid-template-columns: minmax(0, 1fr) 20rem; gap: 4rem; } }
.hero__title { color: var(--white); font-size: clamp(2.6rem, 1.4rem + 5.2vw, 5.4rem); font-weight: 800; letter-spacing: -.035em; line-height: 1.02; max-width: 14ch; margin-bottom: .45em; text-wrap: balance; }
/* Logo TechTalks zamiast tekstowego tytułu (tytuł wydarzenia w alt) */
.hero__title--logo { max-width: none; margin-bottom: 1.75rem; }
.hero__title--logo img { width: min(100%, 40rem); }
/* Hasło pod logo: krótka miętowa kreska jak akcenty sekcji, krój nagłówków, wyważone łamanie wierszy */
.hero__tagline { position: relative; color: var(--white); font-family: var(--font-display); font-size: clamp(1.5rem, 1.05rem + 1.5vw, 2.35rem); font-weight: 750; letter-spacing: -.02em; line-height: 1.15; max-width: 22ch; text-wrap: balance; margin: 0 0 1.25rem; padding-top: 1.1rem; }
.hero__tagline::before { content: ""; position: absolute; top: 0; left: 0; width: 3.5rem; height: 4px; border-radius: 2px; background: var(--accent); }
.hero__lead { font-size: clamp(1.1rem, 1rem + .45vw, 1.35rem); line-height: 1.55; color: #d5e2f2; max-width: 50ch; margin-bottom: 2rem; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.75rem; margin: 0; }
.hero__more { color: var(--white); font-weight: 600; }
.hero__more:hover { color: var(--blue-light); }
.hero__facts { margin: 0; border-left: 3px solid var(--accent); padding-left: 1.5rem; display: grid; gap: 1.4rem; }
.hero__fact dt { font-size: .9rem; color: #a9bfda; margin-bottom: .1rem; }
.hero__fact dd { margin: 0; font-weight: 600; font-size: 1.1rem; line-height: 1.35; }
.hero__calendar dd { font-size: 1rem; display: flex; flex-wrap: wrap; gap: .25rem 1rem; }
.hero__calendar a { color: var(--white); }
.hero__calendar a:hover { color: var(--blue-light); }
.hero__fact--date dd { font-family: var(--font-display); font-size: clamp(1.6rem, 1.3rem + 1vw, 2.1rem); font-weight: 750; letter-spacing: -.02em; line-height: 1.1; }

/* Sekcje */
.section { max-width: var(--wrap); margin: 0 auto; padding: clamp(3.5rem, 8vw, 6.5rem) 1.25rem; }
/* Sekcja z samym komunikatem „opublikujemy wkrótce” — mniejsze odstępy, bez pustej przestrzeni */
.section--soon { padding-block: clamp(2.5rem, 5vw, 4rem); }
.section--soon + .section--soon { padding-top: 0; }
.section--soon > .lead { margin: 0; }
.split { display: grid; gap: 1.5rem 4rem; }
@media (min-width: 900px) { .split { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); } }
h2.split__head { max-width: 16ch; }
.split__body { max-width: var(--measure); }

.stats { margin: 2.5rem 0 0; display: grid; gap: 1.5rem; border-top: 1px solid var(--line); padding-top: 2rem; }
@media (min-width: 640px) { .stats { grid-template-columns: repeat(3, 1fr); } }
.stats dt { font-family: var(--font-display); font-size: clamp(1.8rem, 1.5rem + 1vw, 2.4rem); font-weight: 800; letter-spacing: -.03em; color: var(--accent-ink); line-height: 1.1; }
.stats dd { margin: .25rem 0 0; color: var(--muted); font-size: .97rem; line-height: 1.45; }

.topics__lead { max-width: 68ch; margin: 1rem 0 0; }
.topics { list-style: none; margin: 2.5rem 0 0; padding: 0; display: grid; gap: 0 3.5rem; }
@media (min-width: 760px) { .topics { grid-template-columns: 1fr 1fr; } }
/* Tematy nie są sekwencją — bez numeracji, akcent kolorem obramowania */
.topic { border-top: 2px solid var(--navy); padding: 1.5rem 0 2rem; }
.topic__title { position: relative; padding-left: 1.1rem; }
.topic__title::before { content: ""; position: absolute; left: 0; top: .3em; bottom: .3em; width: 4px; border-radius: 2px; background: var(--accent); }
.topic__title { font-size: 1.35rem; margin-bottom: .4rem; }
.topic p { margin: 0; color: var(--muted); }

.band { background: var(--mist); }
.audience { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.audience li { position: relative; padding: .9rem 0 .9rem 2.1rem; border-bottom: 1px solid var(--line); font-size: 1.1rem; }
.audience li::before { content: ""; position: absolute; left: 0; top: 1.2rem; width: .85rem; height: .45rem; border-left: 3px solid var(--accent); border-bottom: 3px solid var(--accent); transform: rotate(-45deg); }

/* Agenda: dni jeden pod drugim, kolumna godzin, karty punktów (ścieżki równoległe obok siebie) */
/* Wstęp pod nagłówkiem sekcji (agenda, prelegenci, partnerzy) — tekst z panelu */
.section__intro { font-size: clamp(1.1rem, 1rem + .35vw, 1.25rem); line-height: 1.6; max-width: 70ch; margin: 1rem 0 2rem; }
.section__intro > :first-child { margin-top: 0; }
.section__intro > :last-child { margin-bottom: 0; }
.day { margin-top: 2.5rem; }
.day + .day { margin-top: 3.5rem; }
.day__title { position: sticky; top: var(--masthead); z-index: 5; background: var(--white); font-size: 1.6rem; font-weight: 750; padding: 1rem 0 .9rem; margin: 0 0 1.5rem; border-bottom: 2px solid var(--navy); display: flex; flex-wrap: wrap; align-items: baseline; gap: .25rem 1rem; }
.day__date { font-family: var(--font); font-size: 1rem; font-weight: 500; color: var(--muted); }
.day__soon { margin: 1.5rem 0 0; padding: 1.1rem 1.4rem; background: var(--mist); border-left: 4px solid var(--accent); border-radius: var(--radius); color: var(--ink); font-size: 1.05rem; max-width: var(--measure); }
.day__title + .day__soon { margin-top: 0; }
/* Własny opis dnia (dłuższy tekst z panelu): zwykły tekst wprowadzający zamiast ramki komunikatu */
.day__soon--custom { background: none; border: 0; border-radius: 0; padding: 0; font-size: clamp(1.1rem, 1rem + .35vw, 1.25rem); line-height: 1.6; max-width: 70ch; }
@media (max-width: 860px) {
  /* Kompaktowy nagłówek dnia, żeby menu + przyklejony nagłówek nie zasłaniały ekranu */
  .day__title { font-size: 1.2rem; padding: .5rem 0; margin-bottom: 1rem; gap: 0 .6rem; }
  .day__date { font-size: .9rem; }
}
.schedule { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.slot { display: grid; gap: .4rem 1.75rem; align-items: start; }
.slot__time { margin: 0; font-weight: 700; color: var(--navy); font-variant-numeric: tabular-nums; font-size: 1.05rem; line-height: 1.4; white-space: nowrap; }
@media (min-width: 760px) {
  .slot { grid-template-columns: 8.25rem minmax(0, 1fr); }
  .slot > :not(.slot__time) { grid-column: 2; }
  .slot-plenary .slot__time, .slot-parallel .slot__time { padding-top: 1.15rem; }
}
/* Przerwa: wąski pasek na całą szerokość, godzina w tej samej kolumnie co w kartach */
.slot-break { align-items: center; background: var(--mist); border-radius: var(--radius); padding: .6rem 1rem; margin-inline: -1rem; }
.slot-break .slot__time { color: var(--muted); font-weight: 600; }
.slot__title { margin: 0; color: var(--muted); font-weight: 500; line-height: 1.4; }
.slot__note { margin: 0; color: var(--muted); font-size: .9rem; line-height: 1.4; }
@media (max-width: 759px) { .slot-break { grid-template-columns: auto minmax(0, 1fr); column-gap: 1rem; } .slot-break .slot__note { grid-column: 2; } }
.parallel__tracks { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.parallel__tracks > li { display: flex; }
.talk { flex: 1; background: var(--white); border: 1px solid var(--line); border-left: 4px solid var(--accent); border-radius: var(--radius); padding: 1.1rem 1.25rem 1.2rem; }
.slot-plenary .talk { border-left-color: var(--navy); }
/* Przerwa w jednej ścieżce: karta wyciszona jak pasek przerwy */
.talk--break { background: var(--mist); border-color: var(--mist); border-left-color: var(--line); padding: .6rem 1rem; }
.talk--break .talk__track { color: var(--muted); }
.talk--break .talk__title { font-family: var(--font); font-size: 1rem; font-weight: 500; color: var(--muted); }
.talk__note { margin: .25rem 0 0; color: var(--muted); font-size: .9rem; line-height: 1.4; }
.talk__track { margin: 0 0 .35rem; color: var(--accent-ink); font-size: .8rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.talk__title { font-family: var(--font-display); font-size: 1.15rem; font-weight: 650; line-height: 1.35; color: var(--navy); margin: 0; text-wrap: pretty; }
.people { list-style: none; margin: .9rem 0 0; padding: 0; display: grid; gap: .65rem; }
.person { display: flex; align-items: center; gap: .8rem; }
.person__photo { flex: none; width: 2.75rem; height: 2.75rem; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 2px var(--white), 0 0 0 3px var(--accent); }
.person__mark.speaker__mark { flex: none; width: 2.75rem; height: 2.75rem; margin: 0; font-size: .9rem; box-shadow: 0 0 0 2px var(--white), 0 0 0 3px var(--accent); }
.person__text { display: flex; flex-direction: column; line-height: 1.3; min-width: 0; }
.person__name { font-weight: 650; color: var(--ink); }
.person__role { color: var(--muted); font-size: .92rem; }
.talk__more { margin-top: 1rem; padding-top: .7rem; border-top: 1px solid var(--line); }
.talk__more summary { display: inline-flex; align-items: center; gap: .5rem; cursor: pointer; list-style: none; color: var(--blue); font-weight: 600; font-size: .95rem; border-radius: 2px; }
.talk__more summary::-webkit-details-marker { display: none; }
.talk__more summary::after { content: ""; width: .45rem; height: .45rem; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-.15rem) rotate(45deg); transition: transform .2s ease; }
.talk__more[open] summary::after { transform: translateY(.1rem) rotate(-135deg); }
.talk__more summary:hover { color: var(--navy); text-decoration: underline; text-underline-offset: .18em; }
.talk__more summary:focus-visible { outline: 3px solid var(--accent-ink); outline-offset: 3px; }
.talk__more p { margin: .6rem 0 0; color: var(--ink); max-width: var(--measure); }
@media (prefers-reduced-motion: reduce) { .talk__more summary::after { transition: none; } }

/* Prelegenci */
.speakers { list-style: none; margin: 2.5rem 0 0; padding: 0; display: grid; gap: 2.5rem; }
@media (min-width: 760px) { .speakers { grid-template-columns: repeat(3, 1fr); gap: 3rem; } }
.speaker__mark { display: grid; place-items: center; width: 5.5rem; height: 5.5rem; border-radius: 50%; background: var(--navy); color: var(--white); font-family: var(--font-display); font-weight: 750; font-size: 1.6rem; letter-spacing: .02em; margin-bottom: 1.25rem; box-shadow: 0 0 0 4px var(--white), 0 0 0 6px var(--accent); }
.speaker__photo { display: block; width: 5.5rem; height: 5.5rem; border-radius: 50%; object-fit: cover; margin-bottom: 1.25rem; box-shadow: 0 0 0 4px var(--white), 0 0 0 6px var(--accent); }
.speaker__name { font-size: 1.35rem; margin-bottom: .2rem; }
.speaker__role { color: var(--accent-ink); font-weight: 600; font-size: .97rem; line-height: 1.4; margin-bottom: .8rem; }
.speaker__bio { color: var(--muted); margin: 0; }

/* Miejsce */
.guests { background: var(--mist); }
.guests__list { list-style: none; margin: 2.5rem 0 0; padding: 0; display: grid; gap: 3rem; }
@media (min-width: 900px) { .guests__list { grid-template-columns: 1fr 1fr; } }
.guest { display: grid; gap: 1.5rem; align-items: start; }
@media (min-width: 560px) { .guest { grid-template-columns: 200px 1fr; } }
.guest__photo { width: 200px; height: 200px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 4px var(--white), 0 0 0 7px var(--accent); }
.guest__mark { width: 200px; height: 200px; margin: 0; font-size: 3.2rem; box-shadow: 0 0 0 4px var(--white), 0 0 0 7px var(--accent); }
.guest__meta { color: var(--muted); font-weight: 600; margin: -.4rem 0 .7rem; }
.guest__role { color: var(--accent-ink); font-weight: 650; margin: 0 0 .3rem; }
.guest__name { font-size: clamp(1.5rem, 1.3rem + .6vw, 1.9rem); font-weight: 750; letter-spacing: -.01em; margin-bottom: .7rem; }
.guest__bio { margin: 0; color: var(--ink); line-height: 1.6; }
.partners__tier { font-size: 1rem; font-weight: 650; color: var(--muted); margin: 2.25rem 0 1rem; }
.partners { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); }
.partners--main { grid-template-columns: minmax(0, 360px); }
.partner { display: flex; align-items: center; justify-content: center; gap: .4rem; min-height: 96px; align-content: center; flex-wrap: wrap; padding: 1.5rem 1rem; border: 1px solid var(--line); border-radius: 6px; background: var(--white); }
.partner--main { min-height: 140px; border-color: var(--navy); border-width: 2px; }
.partner img { max-width: 100%; max-height: 64px; width: auto; height: auto; }
.partner--main img { max-height: 110px; }
.partner a { display: flex; align-items: center; justify-content: center; }
.venue { background: var(--navy); color: #d5e2f2; }
.venue h2 { color: var(--white); }
.venue__name { font-family: var(--font-display); font-size: 1.45rem; font-weight: 700; color: var(--white); margin-bottom: .4rem; line-height: 1.25; }
.venue__address { font-style: normal; font-size: 1.1rem; }
.venue__info { margin: 0; display: grid; gap: 1.5rem; }
.venue__info div { border-top: 1px solid rgba(255, 255, 255, .18); padding-top: 1.1rem; }
.venue__info dt { color: var(--white); font-weight: 650; margin-bottom: .2rem; }
.venue__info dd { margin: 0; }

/* Rejestracja */
.register { background: var(--mist); padding: clamp(3.5rem, 8vw, 6.5rem) 1.25rem; }
.register__inner { max-width: 860px; margin: 0 auto; background: var(--white); border-top: 6px solid var(--accent); border-radius: var(--radius); padding: clamp(1.5rem, 4vw, 3rem); }
.register__lead { color: var(--muted); margin-bottom: 2rem; }

.contacts { display: grid; gap: 1.5rem 3rem; }
@media (min-width: 640px) { .contacts { grid-template-columns: 1fr 1fr; } }
.contacts h3 { font-size: 1.05rem; color: var(--muted); font-weight: 600; margin-bottom: .3rem; }
.contacts p { font-size: 1.15rem; font-weight: 600; margin: 0; overflow-wrap: anywhere; }

/* Strony pomocnicze: wynik zgłoszenia, polityka prywatności, 404 */
.page { background: var(--mist); }
.page__inner { max-width: 860px; margin: 0 auto; padding: clamp(3rem, 8vw, 6rem) 1.25rem; min-height: 50vh; }
.page__title { font-size: clamp(2rem, 1.4rem + 2.4vw, 3.2rem); font-weight: 800; letter-spacing: -.03em; }
.prose { max-width: var(--measure); }
.prose h2 { font-size: 1.5rem; margin-top: 1.5em; }
.prose h3 { margin-top: 1.5em; }
/* Strony serwisu (regulamin, polityka prywatności): sekcje h2, punkty numerowane, podpunkty a), b), c) */
.page-content h2:first-child { margin-top: 0; }
.page-content ol, .page-content ul { padding-left: 1.4rem; }
.page-content li { margin-bottom: .6rem; }
.page-content ol ol { list-style: lower-alpha; margin-top: .6rem; }
.page-content ol ol ol { list-style: lower-roman; }

/* Formularz (wspólny fragment ze strony webinarów) */
.reg-form__grid { display: grid; gap: 1rem 1.25rem; }
@media (min-width: 700px) { .reg-form__grid { grid-template-columns: 1fr 1fr; } .field--wide { grid-column: 1 / -1; } }
.field label { display: block; font-weight: 600; margin-bottom: .3rem; }
.field input:not([type="checkbox"]), .field select, .field textarea { width: 100%; font: inherit; color: var(--ink); background: var(--white); border: 1px solid #9fb0c3; border-radius: var(--radius); padding: .65rem .75rem; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--blue); outline: 3px solid rgba(12, 113, 195, .25); outline-offset: 0; }
[aria-invalid="true"] { border-color: #b3261e !important; }
.field__error { color: #b3261e; font-size: .92rem; margin: .3rem 0 0; }
.check { display: flex !important; gap: .6rem; align-items: flex-start; font-weight: 400 !important; }
.check input { margin-top: .35rem; width: 1.1rem; height: 1.1rem; flex: none; accent-color: var(--accent); }
/* Pole dodatkowe typu checkbox to pytanie (pogrubione jak etykiety pól), opis pod polem — kursywą, wyrównany do tekstu */
.check.check--question { font-weight: 600 !important; }
.field__hint { margin: .35rem 0 0; color: var(--muted); font-size: .95rem; font-style: italic; }
.check--question + .field__hint { padding-left: 1.7rem; }
.consents { border: 0; padding: 0; margin: 1.5rem 0; display: grid; gap: .9rem; }
.consents legend { font-weight: 650; color: var(--navy); margin-bottom: .6rem; }
.consents__partner { color: var(--muted); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.g-recaptcha { margin: 1rem 0; }
.reg-form__status:empty { display: none; }
.reg-form__status { border-radius: var(--radius); padding: .9rem 1rem; font-weight: 600; background: var(--mist); border-left: 5px solid var(--blue); }
.reg-form__status[data-kind="success"] { border-color: #1e7b45; }
.reg-form__status[data-kind="error"] { border-color: #b3261e; }
.reg-form__required { color: var(--muted); font-size: .92rem; margin: 0 0 1rem; }
/* Informacja w formularzu (np. o noclegu) — treść z panelu, miejsce wybierane w wydarzeniu */
.form-note { margin: 1.25rem 0; padding: .9rem 1.1rem; background: #eaf3fc; border-left: 4px solid var(--blue); border-radius: var(--radius); color: var(--ink); }
.reg-form__grid > .form-note { margin: .25rem 0; }
.form-note.prose { max-width: none; }
.form-note > :first-child { margin-top: 0; }
.form-note > :last-child { margin-bottom: 0; }
.reg-form__note { color: var(--muted); font-size: .92rem; margin-top: 1rem; }

/* Stopka: ta sama fala co w hero, odbita lustrzanie (po lewej), przycięta do pasa; w prawo przechodzi w kolor stopki. */
.footer { background: var(--navy-deep) url("footer-bg.png") left center / auto 250% no-repeat; color: #c9d6e6; }
.footer__inner { max-width: var(--wrap); margin: 0 auto; padding: 2rem 1.25rem; display: flex; flex-wrap: wrap; gap: .5rem 2rem; justify-content: space-between; font-size: .95rem; }
.footer p { margin: 0; }
.footer__links { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; }
.footer__links .link-button { margin-left: 0; }
/* Telefon: stopka w jednej kolumnie, linki prawne jeden pod drugim z wygodnym polem dotyku */
@media (max-width: 700px) {
  .footer__inner { flex-direction: column; gap: 1.5rem; }
  .footer__links { flex-direction: column; align-items: flex-start; gap: 0; }
  .footer__links a, .footer__links .link-button { display: inline-block; padding: .55rem 0; }
  /* Fala jako pas przy dolnej krawędzi (obrazek 1200×340 → wysokość 28.33vw), górny brzeg wtopiony w tło */
  .footer { background-image: linear-gradient(var(--navy-deep) calc(100% - 28.33vw), rgba(6, 26, 56, 0) calc(100% - 14vw)), url("footer-bg.png");
    background-position: left bottom; background-size: auto, 100% auto; }
}
.footer a, .footer .link-button { color: var(--white); }

/* Baner zgody na cookies (wspólny fragment) */
.consent { position: fixed; left: 1rem; right: 1rem; bottom: 1rem; max-width: 560px; margin-left: auto; background: var(--white); color: var(--ink); border-radius: var(--radius); box-shadow: 0 20px 50px -15px rgba(6, 26, 56, .55); padding: 1.25rem; z-index: 60; }
.consent__actions { display: flex; gap: .75rem; flex-wrap: wrap; }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }

/* Tekst tylko dla czytników ekranu */
.visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
/* Własny komunikat dnia (edytor w panelu) — bez zewnętrznych marginesów akapitów */
.day__soon > :first-child { margin-top: 0; }
.day__soon > :last-child { margin-bottom: 0; }
