/* East Event — arkusz stylów (mobile-first).
   Jasne sekcje, błękit z logo jako akcent, granat w nagłówkach i stopce, Plus Jakarta Sans.
   Znak firmowy (błękitny kwadrat jak w logo East Travel) występuje tylko w logo i faviconie.
   Tokeny opisane w README, sekcja „System wizualny". */

/* Plus Jakarta Sans (licencja OFL), pliki lokalne: latin-ext + latin */
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/pjs-latin-ext-400.woff2") format("woff2"); unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/pjs-latin-400.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/pjs-latin-ext-500.woff2") format("woff2"); unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/pjs-latin-500.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/pjs-latin-ext-600.woff2") format("woff2"); unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/pjs-latin-600.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/pjs-latin-ext-700.woff2") format("woff2"); unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/pjs-latin-700.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --navy: #0f1b3d;
  --sky: #29abe2;      /* logo, akcenty na ciemnym tle */
  --sky-ink: #0a74a6;  /* błękit przycisków, linków i akcentów na jasnym tle (kontrast AA) */
  --sky-deep: #085f88; /* przycisk po najechaniu */
  --ink: #1b2233;
  --muted: #5b6477;
  --line: #dfe4ec;
  --edge: #8a94a6;     /* obrys pól formularza (min. 3:1 do tła) */
  --mist: #f4f7fa;
  --r: 10px;
  --r-btn: 8px;
  --hdr: 64px;
  --wrap: 1200px;
  --gut: clamp(20px, 4vw, 40px);
  --sec: clamp(72px, 9vw, 120px);
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-logo: "Ubuntu", "Plus Jakarta Sans", sans-serif;
}

/* ---------- Podstawy ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; padding-top: var(--hdr); font: 400 16px/1.7 var(--font); color: var(--ink); background: #fff; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0 0 .55em; font-weight: 700; line-height: 1.2; color: var(--navy); text-wrap: balance; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
[id] { scroll-margin-top: calc(var(--hdr) + 16px); }
:focus-visible { outline: 2px solid var(--sky-ink); outline-offset: 3px; }
.on-dark :focus-visible { outline-color: var(--sky); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

.nw { white-space: nowrap; }
.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gut); }
.sec { padding-block: var(--sec); }
.sec--mist { background: var(--mist); }

.head { max-width: 680px; margin-bottom: clamp(40px, 5vw, 64px); }
.head--center { margin-inline: auto; text-align: center; }
.head h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
.head p { margin: 0; color: var(--muted); text-wrap: pretty; }

/* ---------- Przyciski i linki ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 13px 22px; border: 1.5px solid var(--sky-ink); border-radius: var(--r-btn);
  background: var(--sky-ink); color: #fff;
  font: 600 15px/1.2 var(--font); text-decoration: none;
  cursor: pointer; transition: background-color .2s, border-color .2s, color .2s;
}
.btn:hover { border-color: var(--sky-deep); background: var(--sky-deep); }
.btn:disabled { opacity: .6; cursor: progress; }
.btn--white { border-color: #fff; background: #fff; color: var(--navy); }
.btn--white:hover { border-color: var(--sky); background: var(--sky); }
.btn--ghost-light { border-color: rgba(255, 255, 255, .7); background: transparent; color: #fff; }
.btn--ghost-light:hover { border-color: #fff; background: #fff; color: var(--navy); }
.btns { display: flex; flex-wrap: wrap; gap: 12px; }

.link { font-weight: 600; color: var(--sky-ink); text-underline-offset: 4px; }
.link:hover { color: var(--navy); }

/* ---------- Logo (siostrzane do East Travel: kwadrat, biały napis w lewym dolnym rogu) ---------- */
.logo { flex: none; text-decoration: none; }
.logo__mark {
  display: flex; flex-direction: column; justify-content: flex-end;
  width: 56px; height: 56px; padding: 0 0 7px 6px;
  background: var(--sky); color: #fff;
  font: 500 14px/1 var(--font-logo); letter-spacing: -.01em;
}

/* ---------- Nagłówek: logo po lewej, menu po prawej ---------- */
.hdr { position: fixed; inset: 0 0 auto; z-index: 50; background: #fff; box-shadow: 0 1px 0 var(--line); }
.nav { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; min-height: var(--hdr); }
.nav__list { display: none; list-style: none; }
.nav__list a:not(.btn) {
  display: block; padding: 10px 0;
  font-size: 15px; font-weight: 600; text-decoration: none; color: var(--ink);
  transition: color .2s;
}
.nav__list a:not(.btn):hover { color: var(--sky-ink); }
.nav .btn { padding: 11px 18px; }
/* Logo wystaje poniżej paska, jak w East Travel i East Broker.
   Dolny margines = pasek − górny margines − logo, więc pasek się nie rozciąga. */
.nav .logo { align-self: flex-start; margin: 14px 0 -18px; }
.nav .logo__mark { width: 68px; height: 68px; padding: 0 0 8px 7px; font-size: 16.5px; }

.burger { display: grid; place-content: center; gap: 6px; width: 44px; height: 44px; padding: 0; border: 0; background: none; cursor: pointer; }
.burger span { display: block; width: 28px; height: 2px; background: var(--ink); transition: transform .25s, opacity .2s; }
.hdr.is-open .burger span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hdr.is-open .burger span:nth-child(2) { opacity: 0; }
.hdr.is-open .burger span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

@media (max-width: 1023px) {
  .hdr.is-open { bottom: 0; overflow-y: auto; box-shadow: none; }
  .hdr.is-open .nav__list { display: block; flex-basis: 100%; order: 1; margin: 28px 0 32px; } /* order: lista pod logo i burgerem; 28px: odstęp od wystającego logo */
  .hdr.is-open .nav__list a:not(.btn) { padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 19px; }
  .hdr.is-open .nav .btn { margin-top: 28px; }
}
@media (min-width: 1024px) {
  :root { --hdr: 76px; }
  .nav__list { display: flex; align-items: center; gap: 36px; }
  .nav .logo { margin: 18px 0 -22px; }
  .nav .logo__mark { width: 80px; height: 80px; padding: 0 0 10px 8px; font-size: 19.5px; }
  .burger { display: none; }
}

/* ---------- Hero: tekst w lewym dolnym rogu zdjęcia ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  display: grid; align-items: end; min-height: min(78vh, 720px); min-height: min(78svh, 720px);
  padding: 96px 0 clamp(48px, 7vw, 88px);
  background: var(--ink); color: #fff;
}
.hero__img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
/* przyciemnienie tylko pod tekstem (od dołu i z lewej), górna część zdjęcia zostaje jasna */
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(0deg, rgba(10, 14, 22, .88) 0%, rgba(10, 14, 22, .5) 45%, rgba(10, 14, 22, .08) 100%),
    linear-gradient(90deg, rgba(10, 14, 22, .45) 0%, rgba(10, 14, 22, 0) 65%);
}
.hero h1 { max-width: 14em; margin-bottom: .45em; font-size: clamp(2.1rem, 5vw, 3.8rem); line-height: 1.08; letter-spacing: -.02em; color: #fff; }
.hero__lead { max-width: 620px; margin-bottom: 32px; font-size: clamp(1rem, 1.4vw, 1.15rem); color: rgba(255, 255, 255, .88); }

/* ---------- Dlaczego z nami: robimy / czego nie będzie ---------- */
/* Na desktopie dwie kolumny z wyrównanymi parami (grid wypełniany kolumnami), na telefonie najpierw jedna lista, potem druga. */
.vs { display: grid; column-gap: 64px; }
.vs h3 { margin: 0; padding-bottom: 16px; border-bottom: 2px solid var(--navy); font-size: 1.15rem; }
.vs h3 ~ h3 { margin-top: 56px; }
.vs p { position: relative; margin: 0; padding: 20px 0 20px 28px; border-bottom: 1px solid var(--line); }
.vs__yes { font-weight: 600; color: var(--navy); }
.vs__yes::before { content: ""; position: absolute; left: 3px; top: 26px; width: 6px; height: 12px; border: solid var(--sky-ink); border-width: 0 2px 2px 0; rotate: 45deg; }
.vs__no { color: var(--muted); }
.vs__no::before { content: ""; position: absolute; left: 0; top: 33px; width: 12px; height: 2px; background: var(--edge); }
@media (min-width: 860px) {
  .vs { grid-template-columns: 1fr 1fr; grid-template-rows: repeat(6, auto); grid-auto-flow: column; }
  .vs h3 ~ h3 { margin-top: 0; }
}

/* ---------- Usługi: numerowana lista ---------- */
.offer { list-style: none; counter-reset: offer; border-bottom: 1px solid var(--line); }
.offer__item { counter-increment: offer; display: grid; gap: 16px 40px; padding: 36px 0; border-top: 1px solid var(--line); }
.offer__item::before { content: counter(offer, decimal-leading-zero); font-size: 15px; font-weight: 600; line-height: 2; color: var(--sky-ink); }
.offer h3 { font-size: clamp(1.35rem, 2.3vw, 1.8rem); }
.offer p { max-width: 62ch; color: var(--muted); }
.offer img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--r); }
@media (min-width: 900px) {
  .offer__item { grid-template-columns: 56px 1fr minmax(260px, 34%); align-items: start; padding: 44px 0; }
}

/* ---------- Realizacje (zajawka, na razie ukryta) ---------- */
.tiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px 16px; }
.tile { display: block; text-decoration: none; }
.tile img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r); margin-bottom: 14px; transition: opacity .2s; }
.tile:hover img { opacity: .86; }
.tile__type { display: block; margin-bottom: 4px; font-size: 13px; font-weight: 600; color: var(--sky-ink); }
.tile__title { display: block; font-size: 15px; font-weight: 700; line-height: 1.35; color: var(--navy); text-wrap: pretty; }
.tile:hover .tile__title { text-decoration: underline; text-underline-offset: 3px; }
.more { margin: 56px 0 0; text-align: center; }
@media (min-width: 960px) { .tiles { grid-template-columns: repeat(4, 1fr); gap: 32px 24px; } }

/* ---------- O nas ---------- */
.about { display: grid; gap: 32px; align-items: center; }
.about__img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r); }
.about h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
.about p { color: var(--muted); }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); list-style: none; font-size: 14px; line-height: 1.4; color: var(--muted); }
.facts b { display: block; margin-bottom: 4px; font-size: clamp(1.3rem, 2.4vw, 1.8rem); line-height: 1.15; color: var(--navy); }
@media (min-width: 960px) { .about { grid-template-columns: 1fr 1fr; gap: clamp(48px, 6vw, 88px); } }

/* ---------- Wycena / kontakt ---------- */
.quote { display: grid; gap: 32px; }
.meet { padding: clamp(22px, 3vw, 28px); border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.meet h3 { font-size: 1.2rem; }
.meet p { font-size: 15px; color: var(--muted); }
.contacts { display: grid; gap: 14px; margin-top: 28px; list-style: none; }
.contacts li { display: grid; gap: 2px; }
.contacts span { font-size: 13px; color: var(--muted); }
.contacts a, .contacts b { font-size: 17px; font-weight: 600; text-decoration: none; color: var(--ink); }
.contacts a:hover { color: var(--sky-ink); }
@media (min-width: 1024px) { .quote { grid-template-columns: .75fr 1.25fr; gap: 48px; align-items: start; } }

.fcard { padding: clamp(24px, 4vw, 40px); border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.form fieldset { min-width: 0; margin: 0 0 32px; padding: 0; border: 0; }
.form legend { margin-bottom: 14px; padding: 0; font-size: 16px; font-weight: 700; color: var(--ink); }
.hint { margin: -8px 0 12px; font-size: 13.5px; color: var(--muted); }
.req { color: #b42318; }
.opt { font-weight: 400; color: var(--muted); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; top: 50%; left: 12px; width: 1px; height: 1px; margin: 0; opacity: 0; }
.chip span {
  display: inline-block; padding: 10px 15px; border: 1px solid var(--edge); border-radius: var(--r-btn);
  font-size: 14px; font-weight: 500; line-height: 1.3; cursor: pointer;
  transition: border-color .15s, background-color .15s, color .15s;
}
.chip:hover span { border-color: var(--sky-ink); }
.chip input:checked + span { border-color: var(--sky-ink); background: var(--sky-ink); color: #fff; }
.chip input:focus-visible + span { outline: 2px solid var(--sky-ink); outline-offset: 2px; }

.fields { display: grid; gap: 20px 24px; }
.field label { display: block; margin-bottom: 6px; font-size: 14px; font-weight: 600; color: var(--ink); }
.field input, .field select, .field textarea {
  display: block; width: 100%; padding: 11px 14px;
  border: 1px solid var(--edge); border-radius: var(--r-btn);
  background: #fff; font: inherit; font-size: 15px; color: var(--ink);
}
.field select {
  appearance: none; padding-right: 40px; cursor: pointer;
  background: #fff 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 1.5l5 5 5-5' fill='none' stroke='%231b2233' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat right 14px center;
}
.field textarea { min-height: 120px; resize: vertical; }
.field :is(input, select, textarea):focus { outline: none; border-color: var(--sky-ink); box-shadow: 0 0 0 3px rgba(10, 116, 166, .2); }
.field ::placeholder { color: #6f7787; opacity: 1; }
.field--full { margin-bottom: 24px; }
@media (min-width: 640px) { .fields { grid-template-columns: 1fr 1fr; } }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__legal { margin: 0 0 22px; font-size: 13px; color: var(--muted); }
.form__legal a { color: var(--sky-ink); }
.form__msg { margin: 16px 0 0; font-size: 14px; font-weight: 600; color: #b42318; }
.form__msg:empty { margin: 0; } /* bez display:none — region role="alert" musi być w drzewie dostępności */
.done:focus { outline: none; }
.done .btn { margin-top: 6px; }

/* ---------- Okno kalendarza (Calendly) ---------- */
.dlg { width: min(1000px, calc(100vw - 24px)); max-height: calc(100svh - 24px); padding: 0; border: 0; border-radius: var(--r); color: var(--ink); }
.dlg::backdrop { background: rgba(15, 27, 61, .72); }
.dlg__bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 12px 12px 24px; border-bottom: 1px solid var(--line); }
.dlg__bar h2 { margin: 0; font-size: 1.1rem; }
.dlg__x { display: grid; place-items: center; width: 44px; height: 44px; border: 0; background: none; color: var(--navy); cursor: pointer; }
.dlg__frame { display: block; width: 100%; height: min(700px, calc(100svh - 110px)); border: 0; }
.dlg__fallback { margin: 0; padding: 32px 24px 40px; }
.dlg__fallback a { color: var(--sky-ink); font-weight: 600; }

/* ---------- Stopka ---------- */
.ftr { padding: 72px 0 28px; background: var(--navy); color: rgba(255, 255, 255, .74); font-size: 15px; }
.ftr__cta { max-width: 820px; margin: 0 0 48px; padding-bottom: 40px; border-bottom: 1px solid rgba(255, 255, 255, .12); font-size: clamp(1.35rem, 2.6vw, 1.9rem); font-weight: 600; line-height: 1.35; color: #fff; text-wrap: pretty; }
.ftr__grid { display: grid; gap: 40px; }
.ftr__about p { max-width: 320px; margin: 20px 0 0; }
.ftr .logo__mark { width: 76px; height: 76px; padding: 0 0 9px 8px; font-size: 18.5px; }
.ftr h2 { margin-bottom: 16px; font-size: 16px; color: #fff; }
.ftr ul { display: grid; gap: 10px; list-style: none; }
.ftr address { display: grid; gap: 10px; font-style: normal; }
.ftr a { text-decoration: none; color: rgba(255, 255, 255, .74); }
.ftr a:hover { text-decoration: underline; text-underline-offset: 3px; color: #fff; }
.ftr__cta a { color: var(--sky); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }
.ftr__cta a:hover { color: #fff; }
.ftr__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: 13px; color: rgba(255, 255, 255, .62); }
@media (min-width: 640px) { .ftr__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .ftr__grid { grid-template-columns: 1.6fr 1fr 1fr; } }

/* ---------- Podstrony ---------- */
.phero { padding: clamp(56px, 8vw, 96px) 0 clamp(40px, 6vw, 64px); background: var(--mist); color: var(--muted); }
.phero h1 { font-size: clamp(2.1rem, 4.6vw, 3.2rem); }
.phero p { max-width: 640px; margin: 0; font-size: 1.05rem; }

.cases { display: grid; gap: 72px 40px; }
.case img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--r); margin-bottom: 22px; }
.case__meta { margin-bottom: 8px; font-size: 14px; color: var(--muted); }
.case__meta b { font-weight: 600; color: var(--sky-ink); }
.case h2 { font-size: clamp(1.35rem, 2.2vw, 1.65rem); }
.case > p { color: var(--muted); }
.case details { margin-top: 18px; border-block: 1px solid var(--line); }
.case summary {
  display: flex; align-items: center; gap: 12px; padding: 16px 0; list-style: none; cursor: pointer;
  font-size: 15px; font-weight: 600; color: var(--sky-ink);
}
.case summary::-webkit-details-marker { display: none; }
/* plus, po rozwinięciu minus */
.case summary::before {
  content: ""; flex: none; width: 12px; height: 12px;
  background: linear-gradient(currentColor 0 0) center / 12px 2px no-repeat, linear-gradient(currentColor 0 0) center / 2px 12px no-repeat;
}
.case details[open] summary::before { background-size: 12px 2px, 2px 0; }
.case .when-open, .case details[open] .when-closed { display: none; }
.case details[open] .when-open { display: inline; }
.case__body { padding: 0 0 24px; }
.case__body h3 { margin: 12px 0 10px; font-size: 1rem; }
.case__body ul { display: grid; gap: 8px; margin-bottom: 18px; padding-left: 1.1em; }
.case__body li { padding-left: 4px; color: var(--muted); }
.case__body li::marker { color: var(--sky-ink); }
.case__body p { margin: 0; color: var(--muted); }
@media (min-width: 900px) { .cases { grid-template-columns: 1fr 1fr; } }

.band { padding: clamp(64px, 8vw, 96px) 0; background: var(--mist); text-align: center; }
.band h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); }
.band p { margin-bottom: 28px; color: var(--muted); }

.prose { max-width: 760px; }
.prose h2 { margin-top: 2em; font-size: 1.3rem; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { color: var(--muted); }
.prose ul { margin-bottom: 1em; padding-left: 1.2em; }
.prose a { color: var(--sky-ink); }
