/* =====================================================================
   AQUAMASSAGE & HEAD SPA — Stylesheet
   Paleta: królewski błękit ścian salonu + biel + delikatne złoto (misa Head Spa)
   ===================================================================== */

:root {
  --blue-950: #061838;
  --blue-900: #0A2A5E;
  --blue-800: #0D3A85;
  --blue-700: #0F4BB0;
  --blue-600: #1C5FD2;
  --blue-300: #8FB2F1;
  --blue-100: #E7EEFB;
  --blue-50:  #F3F6FD;
  --ink:      #101B33;
  --ink-2:    #3C4A66;
  --ink-3:    #6B7690;
  --line:     #DCE3F0;
  --paper:    #FBFBF8;
  --white:    #FFFFFF;
  --gold:     #C9A24A;
  --gold-2:   #E4C982;

  --font-display: 'Cormorant Garamond', 'Georgia', 'Times New Roman', serif;
  --font-body: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  --radius: 18px;
  --radius-sm: 10px;
  --shadow-sm: 0 2px 8px rgba(10, 42, 94, .06);
  --shadow: 0 12px 34px -12px rgba(10, 42, 94, .22);
  --shadow-lg: 0 30px 60px -20px rgba(6, 24, 56, .35);
  --container: 1180px;
  --gutter: clamp(18px, 4vw, 40px);
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  overflow-x: hidden;
}
img, picture, svg { display: block; max-width: 100%; }
/* Telefony: animacje .reveal--right (translateX 30px) i dekoracje wychodzące poza kontener poszerzały stronę,
   przez co przeglądarka rozciągała viewport, a elementy position: fixed (nagłówek, przycisk „Zadzwoń”) wychodziły poza ekran.
   overflow-x: clip przycina bez tworzenia kontenera przewijania, więc position: sticky (.feature__media) dalej działa. */
main, .footer { overflow-x: clip; }
img { height: auto; }
a { color: var(--blue-700); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.12; margin: 0 0 .5em; color: var(--blue-950); letter-spacing: -.01em; }
h1 { font-size: clamp(2.4rem, 5.6vw, 4.4rem); }
h2 { font-size: clamp(2rem, 3.8vw, 3rem); }
h3 { font-size: clamp(1.35rem, 2.2vw, 1.7rem); }
p { margin: 0 0 1em; }
ul { padding-left: 1.2em; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--white); padding: 10px 14px; z-index: 1000; border-radius: 8px; }
.skip-link:focus { left: 8px; }
::selection { background: var(--blue-100); color: var(--blue-900); }

.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.section { padding-block: clamp(64px, 9vw, 120px); position: relative; }
.section--tight { padding-block: clamp(44px, 6vw, 80px); }
.section--blue { background: var(--blue-900); color: #DCE6FA; }
.section--blue h2, .section--blue h3 { color: var(--white); }
.section--soft { background: var(--blue-50); }
.section-head { max-width: 720px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head--center { margin-inline: auto; text-align: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--blue-700); margin-bottom: 14px; }
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--gold); }
.section--blue .eyebrow { color: var(--gold-2); }
.lead { font-size: 1.12rem; color: var(--ink-2); }
.section--blue .lead { color: #C3D2F2; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 26px; border-radius: 999px; font-weight: 700; font-size: .95rem;
  border: 2px solid transparent; transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .3s, color .3s;
  text-decoration: none !important; white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--primary { background: var(--blue-700); color: var(--white); box-shadow: 0 10px 24px -10px rgba(15, 75, 176, .6); }
.btn--primary:hover { background: var(--blue-600); transform: translateY(-2px); box-shadow: 0 16px 30px -12px rgba(15, 75, 176, .7); }
.btn--gold { background: var(--gold); color: var(--blue-950); }
.btn--gold:hover { background: var(--gold-2); transform: translateY(-2px); }
.btn--ghost { border-color: rgba(255,255,255,.55); color: var(--white); background: rgba(255,255,255,.06); backdrop-filter: blur(6px); }
.btn--ghost:hover { background: rgba(255,255,255,.14); transform: translateY(-2px); }
.btn--outline { border-color: var(--blue-700); color: var(--blue-700); }
.btn--outline:hover { background: var(--blue-100); transform: translateY(-2px); }
.btn--sm { padding: 10px 18px; font-size: .85rem; }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  padding-block: 14px;
  transition: background .4s var(--ease), box-shadow .4s var(--ease), padding .4s var(--ease);
  color: var(--white);
}
.header.is-scrolled { background: rgba(6, 24, 56, .88); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 6px 30px -12px rgba(0,0,0,.5); padding-block: 8px; }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; color: inherit; text-decoration: none !important; }
.brand img { width: 62px; height: 62px; transition: width .4s var(--ease), height .4s var(--ease); }
.header.is-scrolled .brand img { width: 48px; height: 48px; }
.brand__text { display: flex; flex-direction: column; line-height: 1.05; }
.brand__name { font-family: var(--font-display); font-size: 1.35rem; font-weight: 600; letter-spacing: .04em; }
.brand__sub { font-size: .68rem; letter-spacing: .22em; text-transform: uppercase; opacity: .85; }
.nav { display: flex; align-items: center; gap: 22px; }
.nav__list { display: flex; gap: 20px; list-style: none; margin: 0; padding: 0; }
.nav__list a { color: inherit; font-weight: 600; font-size: .88rem; position: relative; padding-block: 6px; white-space: nowrap; }
.nav__list a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.nav__list a:hover { text-decoration: none; }
.nav__list a:hover::after, .nav__list a.is-active::after { transform: scaleX(1); }
.lang { display: flex; align-items: center; gap: 4px; padding: 4px; border: 1px solid rgba(255,255,255,.35); border-radius: 999px; font-size: .8rem; font-weight: 700; letter-spacing: .06em; }
.lang a { color: inherit; padding: 5px 10px; border-radius: 999px; text-decoration: none !important; opacity: .8; }
.lang a[aria-current="page"] { background: var(--white); color: var(--blue-900); opacity: 1; }
.lang a:hover:not([aria-current]) { opacity: 1; }
.nav__cta { margin-left: 4px; }
.burger { display: none; width: 46px; height: 46px; border: 1px solid rgba(255,255,255,.35); background: transparent; border-radius: 12px; color: inherit; position: relative; }
.burger span { position: absolute; left: 12px; right: 12px; height: 2px; background: currentColor; transition: transform .35s var(--ease), opacity .3s, top .35s var(--ease); }
.burger span:nth-child(1) { top: 15px; } .burger span:nth-child(2) { top: 22px; } .burger span:nth-child(3) { top: 29px; }
.burger[aria-expanded="true"] span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { top: 22px; transform: rotate(-45deg); }

@media (max-width: 1100px) {
  .nav__list, .nav__cta { display: none; }
  .burger { display: block; }
  .nav.is-open .nav__list { display: flex; flex-direction: column; gap: 4px; position: fixed; inset: 74px 0 auto 0; background: rgba(6,24,56,.97); padding: 18px var(--gutter) 26px; border-bottom: 1px solid rgba(255,255,255,.1); }
  .nav.is-open .nav__list a { display: block; padding: 12px 6px; font-size: 1.05rem; border-bottom: 1px solid rgba(255,255,255,.07); }
  .nav.is-open .nav__list a::after { display: none; }
  .nav.is-open .nav__list li:last-child a { border: 0; }
  .header.is-open { background: rgba(6,24,56,.97); }
}
@media (max-width: 480px) { .brand__text { display: none; } .lang { font-size: .72rem; } }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; display: grid; align-items: end; color: var(--white); overflow: hidden; isolation: isolate; }
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media picture { height: 100%; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%; transform: scale(1.06); animation: kenburns 22s var(--ease) both; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(6,24,56,.55) 0%, rgba(6,24,56,.25) 40%, rgba(6,24,56,.82) 100%); }
.hero__inner { padding-block: clamp(130px, 18vh, 200px) clamp(90px, 12vh, 140px); display: grid; gap: 22px; max-width: 760px; }
.hero__badge { display: inline-flex; align-items: center; gap: 10px; width: fit-content; padding: 8px 16px; border-radius: 999px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.28); backdrop-filter: blur(8px); font-size: .8rem; font-weight: 600; letter-spacing: .04em; }
.hero__badge svg { width: 16px; height: 16px; color: var(--gold-2); }
.hero h1 { color: var(--white); margin: 0; text-wrap: balance; }
.hero h1 em { font-style: italic; color: var(--gold-2); font-weight: 500; }
.hero__lead { font-size: clamp(1.05rem, 1.6vw, 1.3rem); max-width: 600px; color: rgba(255,255,255,.88); margin: 0; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 8px; }
.hero__facts { display: flex; flex-wrap: wrap; gap: 26px 36px; margin-top: 20px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.22); }
.hero__facts div { display: grid; gap: 2px; }
.hero__facts strong { font-family: var(--font-display); font-size: 1.6rem; line-height: 1; color: var(--gold-2); }
.hero__facts span { font-size: .8rem; letter-spacing: .05em; text-transform: uppercase; opacity: .85; }
.hero__wave { position: absolute; left: 0; right: 0; bottom: -2px; z-index: 1; pointer-events: none; }
.hero__wave svg { width: 200%; height: clamp(40px, 8vw, 90px); animation: wave 14s linear infinite; }
.hero__scroll { position: absolute; right: var(--gutter); bottom: 34px; z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; opacity: .8; }
.hero__scroll i { width: 1px; height: 46px; background: linear-gradient(var(--white), transparent); animation: scrollHint 2.2s ease-in-out infinite; }
@media (max-width: 720px) { .hero__scroll { display: none; } .hero { min-height: 92svh; } }

@keyframes kenburns { from { transform: scale(1.14) translateX(1.5%); } to { transform: scale(1.04) translateX(0); } }
@keyframes wave { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes scrollHint { 0%, 100% { transform: scaleY(.4); transform-origin: top; opacity: .3; } 50% { transform: scaleY(1); opacity: 1; } }

/* ---------- Trust strip ---------- */
.trust { background: var(--white); border-bottom: 1px solid var(--line); }
.trust__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; padding-block: 26px; }
.trust__item { display: flex; gap: 14px; align-items: center; }
.trust__icon { flex: none; width: 46px; height: 46px; border-radius: 14px; background: var(--blue-100); color: var(--blue-700); display: grid; place-items: center; }
.trust__icon svg { width: 22px; height: 22px; }
.trust__item strong { display: block; font-size: .95rem; color: var(--blue-950); }
.trust__item span { font-size: .82rem; color: var(--ink-3); }
@media (max-width: 960px) { .trust__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .trust__grid { grid-template-columns: 1fr; gap: 14px; } }

/* ---------- Services cards ---------- */
.services { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(20px, 3vw, 34px); }
.card {
  position: relative; display: grid; grid-template-rows: auto 1fr; background: var(--white); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-sm); border: 1px solid var(--line);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.card__media { aspect-ratio: 16 / 10; overflow: hidden; position: relative; }
.card__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 68%; transition: transform 1.2s var(--ease); }
.card:hover .card__media img { transform: scale(1.05); }
.card__tag { position: absolute; top: 16px; left: 16px; padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,.92); color: var(--blue-800); font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.card__body { padding: clamp(22px, 3vw, 32px); display: grid; gap: 12px; align-content: start; }
.card__body h3 { margin: 0; }
.card__body p { color: var(--ink-2); margin: 0; }
.card__list { list-style: none; padding: 0; margin: 4px 0 6px; display: grid; gap: 8px; }
.card__list li { display: flex; gap: 10px; align-items: flex-start; font-size: .95rem; color: var(--ink-2); }
.card__list svg { flex: none; width: 18px; height: 18px; margin-top: 3px; color: var(--gold); }
.card__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: auto; padding-top: 12px; border-top: 1px dashed var(--line); }
.card__price { font-family: var(--font-display); font-size: 1.4rem; color: var(--blue-900); }
.card__price small { font-family: var(--font-body); font-size: .78rem; color: var(--ink-3); margin-left: 6px; }
@media (max-width: 860px) { .services { grid-template-columns: 1fr; } }

/* ---------- Feature (text + image) ---------- */
.feature { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.feature--reverse .feature__media { order: -1; }
.feature__media { position: sticky; top: 110px; }
.feature__media img { border-radius: var(--radius); box-shadow: var(--shadow-lg); aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 60%; width: 100%; }
.feature__media::before { content: ""; position: absolute; inset: 22px -22px -22px 22px; border-radius: var(--radius); border: 1px solid var(--gold); opacity: .55; z-index: -1; }
.feature__stat { position: absolute; bottom: 24px; left: -18px; background: var(--white); color: var(--blue-950); border-radius: 14px; padding: 14px 18px; box-shadow: var(--shadow); display: grid; gap: 2px; min-width: 160px; }
.feature__stat strong { font-family: var(--font-display); font-size: 1.9rem; line-height: 1; color: var(--blue-700); }
.feature__stat span { font-size: .78rem; color: var(--ink-3); }
.feature--reverse .feature__stat { left: auto; right: -18px; }
.section--blue .feature__stat { color: var(--blue-950); }
.feature__body h2 { text-wrap: balance; }
.steps { counter-reset: step; list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 14px; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start; }
.steps li::before { content: counter(step, decimal-leading-zero); font-family: var(--font-display); font-size: 1.45rem; font-weight: 600; color: var(--gold); line-height: 1.2; }
.steps strong { display: block; color: var(--blue-950); }
.section--blue .steps strong { color: var(--white); }
.steps span { font-size: .95rem; color: var(--ink-2); }
.section--blue .steps span { color: #B9C9EA; }
.benefits { list-style: none; padding: 0; margin: 22px 0 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 18px; }
.benefits li { display: flex; gap: 10px; align-items: flex-start; font-size: .95rem; }
.benefits svg { flex: none; width: 20px; height: 20px; color: var(--gold); margin-top: 2px; }
.feature__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
@media (max-width: 900px) {
  .feature { grid-template-columns: 1fr; }
  .feature__media { position: relative; top: auto; }
  .feature--reverse .feature__media { order: 0; }
  .feature__media img { aspect-ratio: 4 / 3; }
  .feature__stat { left: 16px; bottom: 16px; }
  .feature--reverse .feature__stat { right: 16px; left: auto; }
  .benefits { grid-template-columns: 1fr; }
}

/* Aqua section: bubbles */
.bubbles { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.bubbles i { position: absolute; bottom: -60px; border-radius: 50%; border: 1px solid rgba(255,255,255,.28); background: radial-gradient(circle at 35% 35%, rgba(255,255,255,.28), rgba(255,255,255,.02)); animation: rise linear infinite; }
.section--blue > .container { position: relative; z-index: 1; }
@keyframes rise { 0% { transform: translateY(0) scale(.7); opacity: 0; } 12% { opacity: .9; } 100% { transform: translateY(-115vh) scale(1.15); opacity: 0; } }

/* ---------- Prices ---------- */
.prices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.price-group { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(22px, 3vw, 30px); box-shadow: var(--shadow-sm); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.price-group:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.price-group--highlight { background: var(--blue-900); color: #D6E2FA; border-color: var(--blue-900); position: relative; }
.price-group--highlight h3, .price-group--highlight .price-row strong { color: var(--white); }
.price-group__ribbon { position: absolute; top: -12px; right: 20px; background: var(--gold); color: var(--blue-950); font-size: .7rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; padding: 5px 12px; border-radius: 999px; }
.price-group h3 { margin-bottom: 4px; }
.price-group__desc { font-size: .9rem; color: var(--ink-3); margin-bottom: 18px; }
.price-group--highlight .price-group__desc { color: #A9BDE6; }
.price-row { display: flex; justify-content: space-between; gap: 16px; align-items: baseline; padding: 12px 0; border-top: 1px dashed var(--line); }
.price-group--highlight .price-row { border-color: rgba(255,255,255,.18); }
.price-row strong { display: block; font-weight: 600; color: var(--blue-950); }
.price-row small { font-size: .82rem; color: var(--ink-3); }
.price-group--highlight .price-row small { color: #A9BDE6; }
.price-row b { font-family: var(--font-display); font-size: 1.45rem; white-space: nowrap; font-weight: 600; color: var(--blue-700); }
.price-group--highlight .price-row b { color: var(--gold-2); }
.prices__note { text-align: center; font-size: .88rem; color: var(--ink-3); margin-top: 26px; }
@media (max-width: 960px) { .prices { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; } }

/* ---------- About / certificate ---------- */
.about { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.about__portrait { position: relative; }
.about__portrait img { border-radius: 200px 200px var(--radius) var(--radius); aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 20%; box-shadow: var(--shadow-lg); width: 100%; }
.about__quote { margin: 22px 0 0; padding: 18px 22px; border-left: 3px solid var(--gold); background: var(--white); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; font-family: var(--font-display); font-size: 1.25rem; font-style: italic; color: var(--blue-900); }
.about__body h2 { text-wrap: balance; }
.cert { margin-top: 30px; display: grid; grid-template-columns: 220px 1fr; gap: 22px; align-items: center; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow-sm); }
.cert__img { border-radius: var(--radius-sm); overflow: hidden; cursor: zoom-in; position: relative; }
.cert__img img { aspect-ratio: 5 / 4; object-fit: cover; transition: transform .8s var(--ease); }
.cert__img:hover img { transform: scale(1.04); }
.cert__img::after { content: "⤢"; position: absolute; right: 10px; bottom: 10px; width: 32px; height: 32px; display: grid; place-items: center; background: rgba(255,255,255,.9); border-radius: 8px; font-size: 16px; color: var(--blue-800); }
.cert__body { display: grid; gap: 8px; }
.cert__seal { display: inline-flex; align-items: center; gap: 8px; color: var(--blue-700); font-size: .75rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.cert__seal svg { width: 20px; height: 20px; color: var(--gold); }
.cert__body h3 { margin: 0; font-size: 1.35rem; }
.cert__body p { margin: 0; font-size: .92rem; color: var(--ink-2); }
.cert__meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.cert__meta span { font-size: .76rem; padding: 4px 10px; border-radius: 999px; background: var(--blue-100); color: var(--blue-800); font-weight: 600; }
.values { list-style: none; padding: 0; margin: 26px 0 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.values li { display: grid; gap: 4px; padding: 16px 18px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm); }
.values strong { color: var(--blue-950); }
.values span { font-size: .9rem; color: var(--ink-2); }
@media (max-width: 900px) { .about { grid-template-columns: 1fr; } .about__portrait { max-width: 440px; } .values { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .cert { grid-template-columns: 1fr; } }

/* ---------- Gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: 180px; gap: 14px; }
.gallery a { position: relative; display: block; border-radius: var(--radius-sm); overflow: hidden; background: var(--blue-100); }
.gallery a:nth-child(1) { grid-column: span 3; grid-row: span 2; }
.gallery a:nth-child(2) { grid-column: span 3; grid-row: span 2; }
.gallery a:nth-child(3) { grid-column: span 2; grid-row: span 2; }
.gallery a:nth-child(4) { grid-column: span 2; grid-row: span 2; }
.gallery a:nth-child(5) { grid-column: span 2; grid-row: span 2; }
.gallery img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; transition: transform 1.1s var(--ease); }
.gallery a:hover img { transform: scale(1.06); }
.gallery figcaption { position: absolute; inset: auto 0 0 0; padding: 30px 16px 14px; background: linear-gradient(transparent, rgba(6,24,56,.8)); color: var(--white); font-size: .85rem; font-weight: 600; opacity: 0; transform: translateY(8px); transition: opacity .4s, transform .4s var(--ease); }
.gallery a:hover figcaption { opacity: 1; transform: none; }
@media (max-width: 800px) { .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 200px; } .gallery a { grid-column: span 1 !important; grid-row: span 1 !important; } .gallery a:nth-child(1) { grid-column: span 2 !important; } .gallery figcaption { opacity: 1; transform: none; } }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(6,24,56,.94); display: grid; place-items: center; padding: 24px; opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s; }
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox img { max-width: min(92vw, 1100px); max-height: 86vh; width: auto; height: auto; border-radius: var(--radius-sm); box-shadow: var(--shadow-lg); transform: scale(.94); transition: transform .4s var(--ease); }
.lightbox.is-open img { transform: none; }
.lightbox__close { position: absolute; top: 18px; right: 18px; width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(255,255,255,.4); background: rgba(255,255,255,.08); color: var(--white); font-size: 26px; line-height: 1; }
.lightbox__cap { position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); color: var(--white); font-size: .9rem; opacity: .85; text-align: center; padding-inline: 16px; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin-inline: auto; display: grid; gap: 12px; }
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 0 22px; transition: box-shadow .4s var(--ease), border-color .3s; }
.faq details[open] { box-shadow: var(--shadow); border-color: var(--blue-300); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 0; font-weight: 700; color: var(--blue-950); font-size: 1.02rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--blue-100); color: var(--blue-800); font-size: 20px; font-weight: 400; transition: transform .4s var(--ease), background .3s, color .3s; }
.faq details[open] summary::after { transform: rotate(45deg); background: var(--blue-700); color: var(--white); }
.faq__a { padding: 0 0 20px; color: var(--ink-2); max-width: 68ch; }
.faq__a p:last-child { margin: 0; }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 6vw, 70px); align-items: start; }
.contact__list { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 18px; }
.contact__list li { display: grid; grid-template-columns: 48px 1fr; gap: 16px; align-items: start; }
.contact__icon { width: 48px; height: 48px; border-radius: 14px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); display: grid; place-items: center; color: var(--gold-2); }
.contact__icon svg { width: 22px; height: 22px; }
.contact__list strong { display: block; color: var(--white); font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 3px; }
.contact__list a { color: var(--white); font-size: 1.05rem; }
.contact__route { white-space: nowrap; }
.contact__list span, .contact__list address { font-style: normal; color: #C3D2F2; }
.hours { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 6px 18px; font-size: .98rem; }
.hours dt { color: #C3D2F2; }
.hours dd { margin: 0; color: var(--white); font-weight: 600; }
.contact__card { background: var(--white); color: var(--ink); border-radius: var(--radius); padding: clamp(24px, 3.5vw, 36px); box-shadow: var(--shadow-lg); display: grid; gap: 16px; }
.contact__card h3 { margin: 0; color: var(--blue-950); }
.contact__card p { margin: 0; color: var(--ink-2); }
.contact__card .btn { width: 100%; }
.contact__card small { color: var(--ink-3); font-size: .82rem; text-align: center; }
.contact__map { margin-top: 30px; border-radius: var(--radius); overflow: hidden; border: 1px solid rgba(255,255,255,.14); }
.contact__map img { width: 100%; aspect-ratio: 16/8; object-fit: cover; }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.footer { background: var(--blue-950); color: #AFC1E6; padding-block: 48px 28px; font-size: .9rem; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; padding-bottom: 32px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer .brand { margin-bottom: 12px; }
.footer h4 { color: var(--white); font-family: var(--font-body); font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 14px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer a { color: #D6E2FA; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 20px; padding-top: 22px; font-size: .82rem; }
@media (max-width: 760px) { .footer__grid { grid-template-columns: 1fr; } }

/* ---------- Legal pages ---------- */
.legal { padding-top: clamp(130px, 18vh, 180px); max-width: 800px; }
.legal h1 { font-size: clamp(2rem, 4vw, 3rem); }
.legal h2 { font-size: 1.5rem; margin-top: 2em; }
.legal .todo { background: #FFF7DF; border: 1px dashed var(--gold); padding: 10px 14px; border-radius: 8px; font-size: .9rem; }
.header--solid { background: var(--blue-950); }

/* ---------- Floating call button (mobile) ---------- */
.fab { position: fixed; right: 18px; bottom: calc(18px + env(safe-area-inset-bottom, 0px)); z-index: 90; display: none; align-items: center; gap: 10px; padding: 14px 20px; border-radius: 999px; background: var(--blue-700); color: var(--white); font-weight: 700; box-shadow: 0 14px 30px -10px rgba(15,75,176,.8); text-decoration: none !important; }
.fab svg { width: 20px; height: 20px; }
@media (max-width: 720px) { .fab { display: inline-flex; } }

/* ---------- Baner cookie ---------- */
.cookie { position: fixed; left: 18px; right: 18px; bottom: calc(18px + env(safe-area-inset-bottom, 0px)); z-index: 150; max-width: 460px; background: var(--white); color: var(--ink); border-radius: var(--radius-sm); box-shadow: var(--shadow-lg); padding: 18px 20px; display: grid; gap: 12px; font-size: .9rem; line-height: 1.5; }
.cookie[hidden] { display: none; }
.cookie p { margin: 0; color: var(--ink-2); }
.cookie a { color: var(--blue-700); font-weight: 600; }
.cookie__actions { display: flex; flex-wrap: wrap; gap: 8px; }
.cookie__actions .btn { flex: 1 1 auto; }
html.has-cookie .fab { display: none; }   /* nie nakładaj FAB na baner */
@media (max-width: 720px) { .cookie { left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); max-width: none; } }

/* ---------- Reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); will-change: opacity, transform; }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal--left { transform: translateX(-30px); }
.reveal--right { transform: translateX(30px); }
.reveal--scale { transform: scale(.94); }

.divider { height: 1px; background: linear-gradient(90deg, transparent, var(--line), transparent); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001s !important; animation-iteration-count: 1 !important; transition-duration: .001s !important; }
  .reveal { opacity: 1; transform: none; }
  .hero__media img { transform: none; animation: none; }
}
