/* =========================================================
   Apartamenty Marta Šimat - system stylów (nowoczesny, nadmorski)
   Spis: 1) Tokeny 2) Reset/baza 3) Typografia/util 4) Przyciski
   5) Header/nawigacja 6) Hero 7) Sekcje: highlights, stats,
   featured, reviews, location, rules 8) Apartamenty: karta/lista/detal
   9) Kontakt 10) Footer 11) Animacje 12) Responsywność
   ========================================================= */

/* ---------- 1) TOKENY ---------- */
:root {
  --ink:      #12303b;
  --body:     #43555d;
  --muted:    #5b6d74; /* przyciemnione do kontrastu >=4.5:1 na białym (WCAG AA) */
  --brand:    #0e7c9b;
  --brand-600:#0b6a86;
  --brand-700:#0a566e;
  --brand-050:#eef7fb;
  --brand-100:#d7edf4;
  --accent:   #e29a4e;
  --star:     #f5b301;
  --surface:  #ffffff;
  --sand:     #faf6f0;
  --sand-2:   #f3f7f9;
  --line:     #e3ecef;

  --wrap: 1200px;
  --header-h: 74px;

  --r-sm: 10px;
  --r: 16px;
  --r-lg: 24px;
  --r-pill: 999px;

  --sh-sm: 0 1px 3px rgba(16,48,59,.07), 0 1px 2px rgba(16,48,59,.06);
  --sh:    0 10px 30px -12px rgba(16,48,59,.18);
  --sh-lg: 0 30px 60px -20px rgba(16,48,59,.28);

  --ease: cubic-bezier(.22,.61,.36,1);
  --t: .3s var(--ease);

  --font-body: "Montserrat", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
}

/* ---------- 2) RESET / BAZA ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  color: var(--body);
  background: var(--surface);
  line-height: 1.65;
  font-size: 1rem;
  overflow-x: hidden;
}
img, svg, video, iframe { display: block; max-width: 100%; }
img { height: auto; }
picture { display: contents; } /* wrapper <picture> nie wpływa na układ - liczy się <img> */
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; border-radius: 4px; }

/* ---------- 3) TYPOGRAFIA / UTILITIES ---------- */
h1, h2, h3 { font-family: var(--font-display); color: var(--ink); line-height: 1.12; font-weight: 600; letter-spacing: -.01em; }
._pazwgd { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
._pu45n2 { padding: clamp(3.25rem, 7vw, 6.5rem) 0; }
._l2yipe { background: var(--sand); }
._wchvbw { background: var(--sand-2); }

._526hrd {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--font-body); font-weight: 600; font-size: .8rem;
  letter-spacing: .14em; text-transform: uppercase; color: var(--brand-600);
  margin-bottom: .85rem;
}
._526hrd::before { content: ""; width: 26px; height: 2px; background: var(--accent); border-radius: 2px; }
._b7gy9t { max-width: 640px; margin-bottom: clamp(2rem, 4vw, 3rem); }
._zsdmdg { margin-inline: auto; text-align: center; }
._zsdmdg ._526hrd::before { display: none; }
._nx7sop { font-size: clamp(1.9rem, 4vw, 2.9rem); }
._bsfp0k { margin-top: .9rem; color: var(--muted); font-size: 1.08rem; }

._4x0m4e {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
._x66kah {
  position: fixed; left: 1rem; top: -100px; z-index: 200;
  background: var(--brand); color: #fff; padding: .7rem 1.1rem; border-radius: var(--r-sm);
  transition: top .2s var(--ease);
}
._x66kah:focus { top: 1rem; }

._p1mp19 { width: 24px; height: 24px; }
._3rz0en { width: 18px; height: 18px; }

/* ---------- 4) PRZYCISKI ---------- */
._hqdihz {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .85rem 1.6rem; border-radius: var(--r-pill); border: 1.5px solid transparent;
  font-weight: 600; font-size: 1rem; line-height: 1; text-align: center;
  transition: transform var(--t), background var(--t), color var(--t), box-shadow var(--t), border-color var(--t);
  will-change: transform;
}
._hqdihz:hover { transform: translateY(-2px); }
._hqdihz:active { transform: translateY(0); }
._hqdihz ._p1mp19 { width: 20px; height: 20px; }
._nkcbsr { background: var(--brand); color: #fff; box-shadow: 0 8px 20px -8px rgba(14,124,155,.7); }
._nkcbsr:hover { background: var(--brand-600); box-shadow: 0 12px 26px -8px rgba(14,124,155,.8); }
._pecvfe { background: #fff; color: var(--ink); box-shadow: var(--sh); }
._pecvfe:hover { background: #f3f7f9; }
._jk7rag { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.55); backdrop-filter: blur(4px); }
._jk7rag:hover { background: rgba(255,255,255,.22); }
._ikqn29 { background: transparent; color: var(--brand-700); border-color: var(--brand-100); }
._ikqn29:hover { background: var(--brand-050); border-color: var(--brand); }
._79ynkd { padding: .6rem 1.15rem; font-size: .92rem; }
._zcn94e { width: 100%; }

/* ---------- 5) HEADER / NAWIGACJA ---------- */
._xqbvun {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background var(--t), box-shadow var(--t), border-color var(--t);
  border-bottom: 1px solid transparent;
}
._b570b4 { display: flex; align-items: center; gap: 1.5rem; height: var(--header-h); }
._ziwup0 { display: inline-flex; align-items: center; }
._iccui1 { height: 46px; width: auto; }
._5gvafr { display: flex; align-items: center; gap: 2rem; margin-left: auto; }
._w7fo8b { display: flex; align-items: center; gap: 1.75rem; }
._w7fo8b a { font-weight: 500; position: relative; padding: .35rem 0; transition: color var(--t); }
._w7fo8b a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 2px; width: 0; background: var(--accent);
  border-radius: 2px; transition: width var(--t);
}
._w7fo8b a:hover::after, ._w7fo8b a[aria-current="page"]::after { width: 100%; }
._vcbr4n { display: flex; align-items: center; gap: 1rem; }

/* stan domyślny nad hero (przezroczysty, jasny tekst) */
._fpmi20 ._xqbvun { color: #fff; }
._fpmi20 ._xqbvun:not(._q6o7qn) ._iccui1 { filter: brightness(0) invert(1); }
._fpmi20 ._xqbvun ._nkcbsr { background: #fff; color: var(--ink); box-shadow: none; }
._fpmi20 ._xqbvun ._nkcbsr:hover { background: #eef3f5; }

/* po przewinięciu / na podstronach bez hero - biały pasek */
._xqbvun._q6o7qn, ._dffqyn ._xqbvun {
  background: rgba(255,255,255,.92); backdrop-filter: saturate(1.4) blur(10px);
  color: var(--ink); box-shadow: var(--sh-sm); border-bottom-color: var(--line);
}
._xqbvun._q6o7qn ._nkcbsr, ._dffqyn ._xqbvun ._nkcbsr { background: var(--brand); color: #fff; }
._xqbvun._q6o7qn ._iccui1, ._dffqyn ._xqbvun ._iccui1 { }
._dffqyn main { padding-top: var(--header-h); }

/* przełącznik języków */
._0z8ghc { position: relative; }
._18yyss {
  display: inline-flex; align-items: center; gap: .4rem; background: transparent; color: inherit;
  border: 1.5px solid currentColor; border-radius: var(--r-pill); padding: .45rem .8rem; font-weight: 600; font-size: .85rem;
  opacity: .95; transition: background var(--t), opacity var(--t);
}
._18yyss:hover { opacity: 1; }
._hg336h {
  position: absolute; right: 0; top: calc(100% + .5rem); min-width: 160px;
  background: #fff; color: var(--ink); border: 1px solid var(--line); border-radius: var(--r-sm);
  box-shadow: var(--sh); padding: .35rem; opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity var(--t), transform var(--t), visibility var(--t); z-index: 5;
}
._0z8ghc:hover ._hg336h,
._0z8ghc:focus-within ._hg336h,
._hg336h._rbekm3 { opacity: 1; visibility: visible; transform: translateY(0); }
._hg336h a {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: .55rem .7rem; border-radius: 8px; font-size: .92rem; font-weight: 500; transition: background var(--t);
}
._hg336h a:hover { background: var(--brand-050); }
._hg336h a[aria-current="true"] { color: var(--brand-700); font-weight: 700; }
._d1xihk { font-size: .72rem; color: var(--muted); font-weight: 700; letter-spacing: .06em; }

/* hamburger + off-canvas (mobile) */
._0zfgi9 { display: none; margin-left: auto; background: transparent; color: inherit; border: 0; padding: .4rem; border-radius: 8px; }
._baak3j { display: none; }
._guduzv { position: fixed; inset: 0; background: rgba(10,40,52,.45); z-index: 90; opacity: 0; transition: opacity var(--t); }
._guduzv[hidden] { display: none; }

/* ---------- 6) HERO ---------- */
._zzjaov {
  position: relative; min-height: 92vh; display: grid; place-items: center;
  color: #fff; text-align: center; overflow: hidden; isolation: isolate;
}
._qcbpmu { position: absolute; inset: 0; z-index: -2; }
._qcbpmu video, ._qcbpmu img { width: 100%; height: 100%; object-fit: cover; }
._zzjaov::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(9,35,46,.55) 0%, rgba(9,35,46,.35) 40%, rgba(9,35,46,.65) 100%);
}
._snfy78 { max-width: 820px; padding: 6rem 1.25rem 7rem; }
._zzjaov ._526hrd { color: #fff; opacity: .95; justify-content: center; }
._zzjaov ._526hrd::before { background: #fff; opacity: .8; }
._b52lia {
  font-size: clamp(2.5rem, 5vw, 4.75rem);
  color: #fff;
  text-shadow: 0 2px 30px rgba(0,0,0,.25);
}

@media (min-width: 768px) {
  ._b52lia {
    white-space: nowrap;
  }
}
._wf0lxs { margin: 1.1rem auto 2.2rem; font-size: clamp(1.05rem, 2.4vw, 1.4rem); max-width: 620px; opacity: .95; }
._uxcdw9 { display: flex; gap: .9rem; flex-wrap: wrap; justify-content: center; }
._dmeeay { position: absolute; left: 0; right: 0; bottom: -1px; z-index: 1; width: 100%; height: auto; color: var(--surface); }
._9u0hgx { color: var(--sand); }

/* ---------- 7a) HIGHLIGHTS ---------- */
._eo8m03 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
._efyjaq {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r);
  padding: 1.75rem 1.5rem; box-shadow: var(--sh-sm); transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}
._efyjaq:hover { transform: translateY(-6px); box-shadow: var(--sh); border-color: var(--brand-100); }
._0411p7 {
  width: 54px; height: 54px; display: grid; place-items: center; border-radius: 14px;
  background: var(--brand-050); color: var(--brand); margin-bottom: 1.1rem;
}
._0411p7 ._p1mp19 { width: 28px; height: 28px; }
._efyjaq h3 { font-size: 1.2rem; margin-bottom: .5rem; }
._efyjaq p { font-size: .95rem; color: var(--muted); }

/* ---------- 7b) STATS ---------- */
/* Gradient pionowy: dolna krawędź = --brand-700 (#0a566e) = kolor fali nad
   sliderem poniżej, dzięki czemu przejście jest bezszwowe (bez „odcięcia"). */
._uj9dyx { background: linear-gradient(180deg, var(--brand) 0%, var(--brand-700) 100%); color: #fff; }
._884sn6 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; text-align: center; }
._cpagz9 { font-family: var(--font-display); font-size: clamp(2.5rem, 6vw, 3.75rem); font-weight: 600; line-height: 1; color: #fff; }
._74o21k { margin-top: .5rem; opacity: .9; font-size: 1.05rem; }
._ac1m96 + ._ac1m96 { border-left: 1px solid rgba(255,255,255,.18); }

/* ---------- 7c) FEATURED SLIDER (sekcja morska) ---------- */
._wq1kw8 {
  position: relative; overflow: hidden;
  background: linear-gradient(180deg, #e4f2f7 0%, #f2fafc 100%);
  padding-top: clamp(4.5rem, 9vw, 8rem);
  padding-bottom: clamp(4.5rem, 9vw, 8rem);
}
._wq1kw8 > ._pazwgd { position: relative; z-index: 2; }
/* gdy eyebrow ma ikonę (falę), chowamy kreskę - ikona jest akcentem */
._526hrd:has(._p1mp19)::before { display: none; }
._526hrd ._p1mp19 { color: var(--brand); }

/* fale na górze (z pasa statystyk) i na dole (do sekcji opinii) */
._tjcsfd { position: absolute; left: 0; width: 100%; height: clamp(38px, 6vw, 66px); z-index: 1; display: block; }
._n184tm { top: -1px; }
._5itnhr { bottom: -1px; }

/* delikatna, morska tekstura w tle - pod falami (z-index 0) i wcięta,
   żeby nie kolidowała z falami u góry i u dołu */
._klm928 {
  position: absolute; left: 0; right: 0; top: 72px; bottom: 72px; z-index: 0; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='58' viewBox='0 0 240 58'%3E%3Cpath d='M0 29c20 0 20-16 40-16s20 16 40 16 20-16 40-16 20 16 40 16 20-16 40-16 20 16 40 16' fill='none' stroke='%230e7c9b' stroke-width='2' stroke-opacity='0.06'/%3E%3C/svg%3E");
  background-size: 240px 58px;
}

._nfegu8 { display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; margin-bottom: 2.25rem; }
._zqrenj { display: inline-flex; gap: .5rem; flex-shrink: 0; }
._p1veob { text-align: center; margin-top: 2.5rem; }
._75e8ca { position: relative; }
/* Prawa krawędź viewportu wychodzi poza kolumnę treści aż do brzegu ekranu
   (full-bleed w prawo) - karty płynnie schodzą poza prawy brzeg, bez „ucięcia".
   Nagłówek, strzałki i lewa krawędź zostają w kolumnie `._pazwgd`. */
._s8stjj { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; scroll-behavior: smooth; margin-left: -.5rem; margin-right: calc(50% - 50vw); padding: .5rem; padding-right: clamp(1.5rem, 6vw, 5rem); }
._s8stjj::-webkit-scrollbar { display: none; }
._xjtgkx { display: flex; gap: 1.5rem; }
._uq3xal { scroll-snap-align: start; flex: 0 0 clamp(260px, 80vw, 340px); }
._ximr50 {
  width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--line); background: #fff; color: var(--ink);
  display: grid; place-items: center; box-shadow: var(--sh-sm); transition: background var(--t), color var(--t), border-color var(--t), transform var(--t);
}
._ximr50:hover { background: var(--brand); color: #fff; border-color: var(--brand); }
._ximr50:active { transform: scale(.94); }

/* ---------- 8) APARTAMENTY: KARTA ---------- */
._vefxs8 {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden;
  display: flex; flex-direction: column; height: 100%; box-shadow: var(--sh-sm);
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}
._vefxs8:hover { transform: translateY(-6px); box-shadow: var(--sh-lg); border-color: var(--brand-100); }
._z1j1yw { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
._z1j1yw img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
._vefxs8:hover ._z1j1yw img { transform: scale(1.06); }
._qbq7fz {
  position: absolute; top: 1rem; left: 1rem; background: rgba(255,255,255,.94); color: var(--ink);
  font-size: .78rem; font-weight: 700; padding: .35rem .7rem; border-radius: var(--r-pill); box-shadow: var(--sh-sm);
}
._1snccy {
  position: absolute; bottom: 1rem; right: 1rem; background: var(--brand); color: #fff;
  padding: .5rem .85rem; border-radius: var(--r-pill); font-weight: 700; font-size: .9rem; box-shadow: var(--sh);
}
._1snccy small { font-weight: 500; opacity: .85; }
._llxvrw { padding: 1.35rem 1.35rem 1.5rem; display: flex; flex-direction: column; gap: 1rem; flex: 1; }
._itz2ts { font-size: 1.4rem; }
._gorq8v { display: flex; flex-wrap: wrap; gap: .35rem 1.1rem; color: var(--muted); font-size: .9rem; }
._gorq8v li { display: inline-flex; align-items: center; gap: .4rem; }
._gorq8v ._p1mp19 { width: 18px; height: 18px; color: var(--brand); }
._4dxjfr { margin-top: auto; }

._17vyml { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.75rem; }

/* ---------- 8b) DETAL APARTAMENTU ---------- */
._8z91jb { display: inline-flex; align-items: center; gap: .4rem; color: var(--brand-700); font-weight: 600; margin-bottom: 1.25rem; }
._8z91jb:hover { color: var(--brand); }
._yfxe6u { display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; margin-bottom: 1.75rem; }
._9nde2q { font-size: clamp(2rem, 4.5vw, 3rem); }
._ryfwu5 { display: flex; gap: .5rem; margin-top: .6rem; flex-wrap: wrap; }
._kce4ru { display: inline-flex; align-items: center; gap: .4rem; background: var(--brand-050); color: var(--brand-700); border: 1px solid var(--brand-100); border-radius: var(--r-pill); padding: .35rem .8rem; font-size: .82rem; font-weight: 600; }
._kce4ru ._p1mp19 { width: 16px; height: 16px; }
._wgesfq { text-align: right; }
._wjad0n { font-family: var(--font-display); font-size: clamp(1.8rem, 4vw, 2.5rem); font-weight: 600; color: var(--brand-700); line-height: 1; }
._w7yj4g { color: var(--muted); font-size: .95rem; }

._cqazl5 { display: grid; grid-template-columns: 1.5fr 1fr; gap: 2.25rem; align-items: start; }

/* galeria */
._sdwz98 { position: relative; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh); background: #e9eef0; aspect-ratio: 4 / 3; }
._sdwz98 img { width: 100%; height: 100%; object-fit: cover; cursor: zoom-in; }
._sf0wgd {
  position: absolute; top: 50%; transform: translateY(-50%); width: 46px; height: 46px; border-radius: 50%;
  background: rgba(255,255,255,.9); color: var(--ink); border: 0; display: grid; place-items: center; box-shadow: var(--sh-sm);
  transition: background var(--t), transform var(--t);
}
._sf0wgd:hover { background: #fff; }
._vkfuqt { left: .8rem; } ._qicvj2 { right: .8rem; }
._e4fm8i { display: grid; grid-template-columns: repeat(5, 1fr); gap: .6rem; margin-top: .8rem; }
._1dsk5b { position: relative; padding: 0; aspect-ratio: 1; border: 2px solid transparent; border-radius: 10px; overflow: hidden; cursor: pointer; background: #e9eef0; opacity: .7; transition: opacity var(--t), border-color var(--t), transform var(--t); }
._1dsk5b img { width: 100%; height: 100%; object-fit: cover; display: block; }
._1dsk5b:hover { opacity: 1; }
._1dsk5b._9djhfh { opacity: 1; border-color: var(--brand); }
._j76qa3 { display: none; }
._szku8c { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(10,40,52,.6); color: #fff; font-weight: 700; font-size: 1.15rem; backdrop-filter: blur(1px); }
._1dsk5b:has(._szku8c) { opacity: 1; }
._1dsk5b:has(._szku8c):hover ._szku8c { background: rgba(10,40,52,.72); }

/* panel informacyjny */
._vyat5m { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.75rem; box-shadow: var(--sh-sm); position: sticky; top: calc(var(--header-h) + 1rem); }
._vznjyt { color: var(--body); margin-bottom: 1.4rem; }
._y2orvg { font-size: 1.05rem; margin-bottom: .7rem; color: var(--ink); }
._tn5i1g { margin-top: 1.4rem; padding-top: 1.4rem; border-top: 1px solid var(--line); }
._exheb9 li { display: flex; justify-content: space-between; gap: 1rem; padding: .4rem 0; }
._exheb9 li strong { color: var(--brand-700); white-space: nowrap; }
._jv5y0o { display: grid; gap: .6rem; }
._jv5y0o li { display: flex; align-items: center; gap: .7rem; }
._jv5y0o ._p1mp19 { color: var(--brand); flex-shrink: 0; }
._vyat5m ._hqdihz { margin-top: 1.5rem; }

/* fakty (ikony) */
._mvymgn { display: flex; flex-wrap: wrap; gap: 1.5rem; margin-top: 1rem; }
._wpnv6f { display: inline-flex; align-items: center; gap: .5rem; color: var(--body); font-weight: 500; }
._wpnv6f ._p1mp19 { color: var(--brand); }

/* ---------- 7d) REVIEWS ---------- */
._v130zo { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
._txov9l {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 1.6rem;
  box-shadow: var(--sh-sm); display: flex; flex-direction: column; gap: .9rem; position: relative;
}
._43yx3w { display: flex; gap: .15rem; color: var(--star); }
._43yx3w ._p1mp19 { width: 18px; height: 18px; }
._4rod4j { color: var(--body); font-size: .98rem; flex: 1; }
._spe8j5 { font-weight: 700; color: var(--ink); }
._8gxiw2 { color: var(--muted); font-size: .85rem; }

/* ---------- 7e) LOCATION (immersyjny hero + mozaika) ---------- */
._vtyypn { min-height: clamp(440px, 64vh, 660px); }
._d77hq7 { min-height: clamp(340px, 46vh, 480px); }

._wkj66y { max-width: 780px; margin: 0 auto clamp(2rem, 4vw, 3rem); text-align: center; }
._wkj66y p { color: var(--muted); }
._wkj66y p:first-child { color: var(--body); font-size: 1.12rem; margin-bottom: 1rem; }

._v52ckn {
  display: grid; grid-template-columns: 1.5fr 1fr;
  grid-auto-rows: clamp(165px, 21vw, 232px); gap: 1rem;
  max-width: 1040px; margin: 0 auto;
}
._x8yce0 { position: relative; margin: 0; padding: 0; border: 0; background: #e9eef0; overflow: hidden; border-radius: var(--r-lg); box-shadow: var(--sh-sm); cursor: zoom-in; }
._x8yce0:first-child { grid-row: span 2; }
._x8yce0 img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s var(--ease); }
._x8yce0:hover img { transform: scale(1.06); }
._x8yce0::after { content: ""; position: absolute; inset: 0; background: rgba(10,40,52,0); transition: background var(--t); }
._x8yce0:hover::after { background: rgba(10,40,52,.12); }

@media (max-width: 760px) {
  ._v52ckn { grid-template-columns: 1fr; grid-auto-rows: auto; }
  ._x8yce0 { aspect-ratio: 4/3; }
  ._x8yce0:first-child { grid-row: auto; }
}

/* ---------- 7f) RULES ---------- */
._huqkyy { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
._nhcyxe {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.75rem;
  box-shadow: var(--sh-sm); transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}
._nhcyxe:hover { transform: translateY(-6px); box-shadow: var(--sh); border-color: var(--brand-100); }
._vak6bw { display: flex; align-items: center; gap: .9rem; margin-bottom: 1.15rem; }
._29svnj { width: 48px; height: 48px; flex-shrink: 0; display: grid; place-items: center; border-radius: 14px; background: var(--brand-050); color: var(--brand); }
._29svnj ._p1mp19 { width: 26px; height: 26px; }
._yh960u { font-size: 1.15rem; margin: 0; line-height: 1.25; }
._5396mb li { display: flex; gap: .6rem; padding: .35rem 0; color: var(--muted); font-size: .95rem; }
._5396mb ._p1mp19 { width: 18px; height: 18px; color: var(--brand); flex-shrink: 0; margin-top: .15rem; }
._8ht9su { margin-top: 3rem; text-align: center; font-family: var(--font-display); font-size: clamp(1.2rem, 2.5vw, 1.5rem); color: var(--ink); }

/* ---------- 9) CONTACT (głęboka, morska sekcja CTA) ---------- */
._urb3ja {
  position: relative; overflow: hidden;
  background: linear-gradient(160deg, #0e7c9b 0%, #0a566e 48%, #0a3948 100%);
  color: rgba(255,255,255,.85);
  padding: clamp(5rem, 9vw, 8rem) 0 clamp(3.5rem, 7vw, 5.5rem);
}
._urb3ja > ._pazwgd { position: relative; z-index: 2; }
/* delikatna, jasna tekstura fal na głębi */
._rk4b1d {
  position: absolute; left: 0; right: 0; top: 70px; bottom: 0; z-index: 1; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='58' viewBox='0 0 240 58'%3E%3Cpath d='M0 29c20 0 20-16 40-16s20 16 40 16 20-16 40-16 20 16 40 16 20-16 40-16 20 16 40 16' fill='none' stroke='%23ffffff' stroke-width='2' stroke-opacity='0.07'/%3E%3C/svg%3E");
  background-size: 240px 58px;
}
._pqo6vn { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
._jqtgf0 { color: #fff; font-size: clamp(2rem, 4vw, 3rem); }
._98roih { margin-top: .8rem; color: rgba(255,255,255,.82); font-size: 1.1rem; max-width: 44ch; }
._w45474 { display: flex; flex-wrap: wrap; gap: .8rem; margin: 1.9rem 0 1.5rem; }
._z8p5rn { display: grid; gap: .1rem; }
._z8p5rn li { display: flex; align-items: center; gap: 1rem; padding: .9rem 0; border-bottom: 1px solid rgba(255,255,255,.15); }
._z8p5rn li:last-child { border-bottom: 0; }
._c3pyrg { width: 46px; height: 46px; flex-shrink: 0; display: grid; place-items: center; border-radius: 13px; background: rgba(255,255,255,.13); color: #fff; }
._c3pyrg ._p1mp19 { width: 22px; height: 22px; }
._nlz1xr { display: block; font-weight: 700; color: rgba(255,255,255,.62); font-size: .74rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: .1rem; }
._z8p5rn a, ._z8p5rn address { color: #fff; font-style: normal; }
._z8p5rn a:hover { text-decoration: underline; }
._onivnm iframe { width: 100%; height: clamp(320px, 40vw, 460px); border: 0; border-radius: var(--r-lg); box-shadow: var(--sh-lg); }

/* ---------- 10) FOOTER ---------- */
._5btif9 { background: var(--ink); color: rgba(255,255,255,.8); }
._skgosa { display: grid; grid-template-columns: 2fr 1fr 1.5fr; gap: 2rem; padding: 3rem 0 2.25rem; }
._q4evwa { height: 48px; width: auto; margin-bottom: 1rem; filter: brightness(0) invert(1); opacity: .95; }
._se4j0l p { max-width: 30ch; font-size: .95rem; }
._05fyg0 { display: flex; flex-direction: column; gap: .6rem; }
._05fyg0 a:hover, ._e61ja0 a:hover { color: #fff; }
._e61ja0 { display: flex; flex-direction: column; gap: .5rem; }
._e61ja0 address { font-style: normal; opacity: .8; }
._6g36b1 { border-top: 1px solid rgba(255,255,255,.12); }
._6g36b1 p { padding: 1.1rem 0; font-size: .85rem; opacity: .7; text-align: center; }

/* ---------- 11) ANIMACJE ---------- */
/* Ukrywamy do animacji TYLKO gdy działa JS - bez JS treść jest od razu widoczna. */
._6df081 { transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js ._6df081 { opacity: 0; transform: translateY(24px); }
._6df081._rat8r8 { opacity: 1; transform: none; }
[data-reveal-delay="1"] { transition-delay: .08s; }
[data-reveal-delay="2"] { transition-delay: .16s; }
[data-reveal-delay="3"] { transition-delay: .24s; }

/* lightbox */
._260dls { position: fixed; inset: 0; z-index: 150; background: rgba(9,26,33,.92); display: none; align-items: center; justify-content: center; padding: 1.5rem; }
._260dls._rbekm3 { display: flex; }
._qdaqib { max-width: 92vw; max-height: 86vh; border-radius: var(--r); box-shadow: var(--sh-lg); }
._e2wf43 { position: absolute; top: 1.25rem; right: 1.25rem; width: 48px; height: 48px; border-radius: 50%; background: rgba(255,255,255,.15); color: #fff; border: 0; display: grid; place-items: center; }
._e2wf43:hover { background: rgba(255,255,255,.3); }
._9b6ph2 { position: absolute; top: 50%; transform: translateY(-50%); width: 52px; height: 52px; border-radius: 50%; background: rgba(255,255,255,.15); color: #fff; border: 0; display: grid; place-items: center; }
._9b6ph2:hover { background: rgba(255,255,255,.3); }
._y4ohd2 { left: 1.25rem; } ._xd2hb5 { right: 1.25rem; }

/* ---------- 12) RESPONSYWNOŚĆ ---------- */
@media (max-width: 980px) {
  ._eo8m03 { grid-template-columns: repeat(2, 1fr); }
  ._17vyml { grid-template-columns: repeat(2, 1fr); }
  ._v130zo { grid-template-columns: repeat(2, 1fr); }
  ._huqkyy { grid-template-columns: repeat(2, 1fr); }
  ._cqazl5 { grid-template-columns: 1fr; }
  ._vyat5m { position: static; }
  ._pqo6vn { grid-template-columns: 1fr; }
  ._skgosa { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  /* mobilna nawigacja */
  ._0zfgi9 { display: inline-flex; }
  ._xqbvun { color: var(--ink); background: rgba(255,255,255,.97); box-shadow: var(--sh-sm); border-bottom-color: var(--line); }
  /* WAŻNE: żadnego backdrop-filter na nagłówku w widoku mobilnym.
     Filtr czyni nagłówek blokiem zawierającym dla menu (position:fixed),
     przez co panel off-canvas zamyka się w wysokości nagłówka zamiast
     wypełnić ekran. Dotyczy też stanów is-scrolled oraz podstron ._dffqyn. */
  ._xqbvun,
  ._xqbvun._q6o7qn,
  ._dffqyn ._xqbvun { backdrop-filter: none; -webkit-backdrop-filter: none; }
  ._fpmi20 ._xqbvun { color: var(--ink); }
  ._fpmi20 ._xqbvun ._iccui1 { filter: none; }
  ._fpmi20 main, ._dffqyn main { padding-top: 0; }
  ._dffqyn main { padding-top: var(--header-h); }
  ._fpmi20 ._xqbvun ._nkcbsr { background: var(--brand); color: #fff; }
  ._5gvafr {
    position: fixed; inset: 0 0 0 auto; width: min(84vw, 340px); background: #fff; color: var(--ink);
    flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 1.5rem;
    padding: calc(var(--header-h) + 1.5rem) 1.75rem 2rem; box-shadow: var(--sh-lg);
    transform: translateX(100%); transition: transform var(--t); z-index: 95; overflow-y: auto;
  }
  ._5gvafr._rbekm3 { transform: translateX(0); }
  ._w7fo8b { flex-direction: column; align-items: stretch; gap: .25rem; }
  ._w7fo8b a { padding: .75rem 0; border-bottom: 1px solid var(--line); font-size: 1.1rem; }
  ._w7fo8b a::after { display: none; }
  ._vcbr4n { flex-direction: column; align-items: stretch; gap: 1rem; margin-top: .5rem; }
  ._18yyss { justify-content: center; color: var(--ink); }
  ._hg336h { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0; margin-top: .5rem; }
  ._0zfgi9[aria-expanded="true"] ._7mhbg6 { display: none; }
  ._0zfgi9[aria-expanded="true"] ._baak3j { display: block; }
  body._sfmma2 { overflow: hidden; }

  ._eo8m03 { grid-template-columns: 1fr; }
  ._17vyml { grid-template-columns: 1fr; }
  ._v130zo { grid-template-columns: 1fr; }
  ._huqkyy { grid-template-columns: 1fr; }
  ._884sn6 { grid-template-columns: 1fr; gap: 2rem; }
  ._ac1m96 + ._ac1m96 { border-left: 0; border-top: 1px solid rgba(255,255,255,.18); padding-top: 2rem; }
  ._e4fm8i { grid-template-columns: repeat(5, 1fr); gap: .4rem; }
  ._skgosa { grid-template-columns: 1fr; gap: 1.5rem; text-align: center; }
  ._se4j0l p { margin-inline: auto; }
  ._05fyg0, ._e61ja0 { align-items: center; }
  ._yfxe6u, ._nfegu8 { flex-direction: column; align-items: flex-start; }
  ._wgesfq { text-align: left; }
}

/* ---------- Redukcja ruchu ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  ._6df081 { opacity: 1; transform: none; }
  ._vefxs8:hover, ._efyjaq:hover, ._nhcyxe:hover, ._hqdihz:hover { transform: none; }
}
