/* =========================================================
   PORT USTKA — styl morski
   Paleta: głębia Bałtyku (granat), morska zieleń, piana, piasek.
   Mobile-first, czytelnie, duże przyciski.
   ========================================================= */
:root{
  --navy:      #0B2B44;   /* głębia morza */
  --navy-2:    #123B5C;
  --sea:       #1C6E8C;   /* morska zieleń-błękit */
  --sea-light: #EAF4F7;   /* piana / mgła */
  --foam:      #F7FAFB;
  --sand:      #E8C987;   /* piasek / mosiądz */
  --sand-dark: #C9A75C;
  --ink:       #14293A;
  --muted:     #5B7284;
  --line:      #D9E5EB;
  --bad:       #B33A3A;
  --ok:        #2E8B57;
  --radius:    14px;
  /* --- słownik ruchu: fizyka wody, nie moda --- */
  --ease-swell: cubic-bezier(.22,.61,.36,1);   /* fala tracąca energię na płyciźnie */
  --ease-calm:  cubic-bezier(.16,.84,.44,1);   /* spokojne dojście do pozycji */
  --ease-out:   cubic-bezier(.33,1,.68,1);     /* mikrointerakcje */
  --dur-reveal: 950ms;
  --dur-hover:  240ms;
  --dur-alert:  450ms;
  --shadow:    0 8px 28px rgba(11,43,68,.10);
  --maxw:      1120px;
}
*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0; color:var(--ink); background:var(--foam);
  font-family:"Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size:16px; line-height:1.65;
  -webkit-font-smoothing:antialiased;
}
img{ max-width:100%; display:block; }
a{ color:var(--sea); }
h1,h2,h3,h4{ font-family:"Fraunces", Georgia, serif; color:var(--navy); line-height:1.2; letter-spacing:.2px; }
h1{ font-size:clamp(1.9rem, 5vw, 3rem); margin:.2em 0 .4em; }
h2{ font-size:clamp(1.45rem, 3.4vw, 2.1rem); margin:0 0 .5em; }
h3{ font-size:1.15rem; margin:0 0 .4em; }
.container{ max-width:var(--maxw); margin:0 auto; padding:0 20px; }
.muted{ color:var(--muted); }
.hidden{ display:none !important; }
.help{ font-size:.9rem; color:var(--muted); }

/* ---------- pasek komunikatu ---------- */
.alert-bar{
  background:var(--bad); color:#fff; font-weight:600;
  padding:10px 16px; text-align:center; font-size:.95rem;
}
.alert-bar a{ color:#fff; }

/* ---------- nagłówek ---------- */
.site-header{
  position:sticky; top:0; z-index:60;
  background:rgba(11,43,68,.97); color:#fff;
  /* backdrop-filter tylko tam, gdzie nie kosztuje płynności — patrz media niżej */
  border-bottom:2px solid var(--sand);
}
.nav-wrap{ display:flex; align-items:center; gap:14px; padding:10px 20px; max-width:var(--maxw); margin:0 auto; }
.brand{ display:flex; align-items:center; gap:10px; text-decoration:none; color:#fff; font-weight:800; white-space:nowrap; flex:0 0 auto; }
.brand > span:last-child{ line-height:1.25; }
.brand .logo{
  width:46px; height:46px; border-radius:50%;
  background:#fff;
  display:grid; place-items:center; color:var(--navy); flex:0 0 auto;
  border:2px solid var(--sand); overflow:hidden;
}
.brand .logo svg{ width:24px; height:24px; }
.brand .logo img{ width:38px; height:38px; object-fit:contain; }
.brand small{ display:block; font-weight:500; font-size:.64rem; opacity:.85; letter-spacing:.3px; white-space:nowrap; }
.nav-toggle{
  margin-left:auto; background:none; border:0; color:#fff; cursor:pointer;
  width:44px; height:44px; display:grid; place-items:center; border-radius:10px;
}
.nav-toggle:hover{ background:rgba(255,255,255,.12); }
.main-nav{ display:none; }
.main-nav.open{
  display:flex; flex-direction:column; position:absolute; top:100%; left:0; right:0;
  background:var(--navy); border-bottom:2px solid var(--sand); padding:8px 12px 14px;
  box-shadow:var(--shadow);
}
.main-nav a{
  color:#fff; text-decoration:none; font-weight:600; padding:12px 14px; border-radius:10px; font-size:1rem;
}
.main-nav a:hover, .main-nav a.active{ background:rgba(255,255,255,.12); color:var(--sand); }
@media(min-width:920px){ .site-header{ backdrop-filter:blur(6px); } }
@media(min-width:1200px){
  .nav-toggle{ display:none; }
  .main-nav{ display:flex; margin-left:auto; gap:1px; align-items:center; }
  .main-nav a{ padding:8px 10px; font-size:.88rem; white-space:nowrap; }
}
/* --- Tłumacz Google w menu --- */
.gt-slot{
  display:inline-flex; align-items:center; gap:8px; padding:0 0 0 12px;
  min-height:34px; line-height:1;
}
.gt-slot .gt-ico{ display:grid; place-items:center; color:var(--sand); }
.gt-slot .gt-ico svg{ width:17px; height:17px; display:block; }
.gt-slot .goog-te-gadget{ font-size:0 !important; color:transparent !important; line-height:0 !important; }
.gt-slot .goog-te-gadget > span, .gt-slot .goog-te-gadget a{ display:none !important; }
.gt-slot .goog-te-gadget .goog-te-combo{
  margin:0 !important; font-size:.82rem; font-family:"Manrope",sans-serif; font-weight:700;
  background:rgba(255,255,255,.12); color:#fff; border:1px solid rgba(255,255,255,.3);
  border-radius:8px; padding:6px 8px; cursor:pointer; max-width:140px; vertical-align:middle;
}
.gt-slot .goog-te-gadget .goog-te-combo option{ color:var(--ink); background:#fff; }
.gt-slot .gt-reset{
  margin:0; font-size:.82rem; font-family:"Manrope",sans-serif; font-weight:700;
  background:var(--sand,#e3b23c); color:var(--navy,#0e2a3b); border:0;
  border-radius:8px; padding:6px 9px; cursor:pointer; line-height:1; white-space:nowrap;
}
.gt-slot .gt-reset:hover{ filter:brightness(1.06); }
.gt-slot .gt-reset[hidden]{ display:none; }
.gt-slot img{ display:none !important; }
@media(max-width:1199.9px){ .gt-slot{ padding:12px 14px; } }
/* schowaj górny pasek Google Translate i nie przesuwaj strony */
.goog-te-banner-frame, #goog-gt-tt, .goog-te-balloon-frame{ display:none !important; }
body > .skiptranslate, body > iframe.skiptranslate,
.VIpgJd-ZVi9od-ORHb-OEVmcd, #goog-gt-vt{ display:none !important; }
body{ top:0 !important; position:static !important; }
font[style*="background-color"], .VIpgJd-yAWNEb-VIpgJd-fmcmS-sn54Q{ background:none !important; box-shadow:none !important; }

/* ---------- hero ---------- */
.hero{
  position:relative; color:#fff; overflow:hidden;
  background:var(--navy);
}
.hero .hero-bg{
  position:absolute; inset:0; width:100%; height:100%; object-fit:cover; opacity:.55;
  will-change:transform;
  animation:drift 44s var(--ease-calm) both;   /* jeden powolny dryf, bez pętli i bez zawracania */
}
@keyframes drift{
  from{ transform:scale(1.05) translate3d(0,.8%,0); }
  to{   transform:scale(1.10) translate3d(0,-1%,0); }
}
.hero .hero-inner{
  position:relative; max-width:var(--maxw); margin:0 auto;
  padding:72px 20px 96px;
}
.hero h1{ color:#fff; text-shadow:0 2px 18px rgba(0,0,0,.45); max-width:14ch; }
.hero p{ max-width:56ch; font-size:1.06rem; text-shadow:0 1px 10px rgba(0,0,0,.5); }
.hero .hero-tagline{
  margin:.1em 0 .8em; max-width:none;
  font-family:"Manrope",sans-serif; font-size:.92rem; font-weight:700;
  letter-spacing:.22em; text-transform:uppercase; color:var(--sand);
  text-shadow:0 1px 10px rgba(0,0,0,.5);
}
.eyebrow{
  display:inline-flex; align-items:center; gap:8px;
  font-size:.8rem; font-weight:800; letter-spacing:.14em; text-transform:uppercase;
  color:var(--sea);            /* na jasnym tle 5,47:1 — WCAG AA */
}
.hero .eyebrow, .page-head .eyebrow, .section-navy .eyebrow,
.newsletter-box .eyebrow{ color:var(--sand); }   /* na granacie 9,1:1 */
.wave{ display:block; width:100%; height:46px; margin-top:-1px; }
@media(min-width:920px){ .hero .hero-inner{ padding:110px 20px 130px; } }

/* ---------- przyciski ---------- */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  border-radius:12px; padding:11px 20px; font-weight:700; font-size:.97rem;
  text-decoration:none; cursor:pointer; border:2px solid transparent;
  transition:transform .12s ease, box-shadow .12s ease; font-family:inherit;
}
.btn:active{ transform:scale(.98); }
.btn-primary{ background:var(--sea); color:#fff; }
.btn-primary:hover{ box-shadow:0 6px 18px rgba(28,110,140,.4); }
.btn-sand{ background:var(--sand); color:var(--navy); }
.btn-sand:hover{ box-shadow:0 6px 18px rgba(232,201,135,.5); }
.btn-outline{ border-color:#fff; color:#fff; background:transparent; }
.btn-outline:hover{ background:rgba(255,255,255,.14); }
.btn-ghost{ border-color:var(--line); color:var(--navy); background:#fff; }
.btn-ghost:hover{ background:var(--sea-light); }
.btn-sm{ padding:7px 12px; font-size:.85rem; border-radius:9px; }
.btn-lg{ padding:14px 26px; font-size:1.05rem; }
.btn-block{ width:100%; }

/* ---------- sekcje / karty ---------- */
.section{ padding:56px 0; }
.section-alt{ background:var(--sea-light); }
.section-navy{ background:var(--navy); color:#EAF2F7; }
.section-navy h2, .section-navy h3{ color:#fff; }
.section-navy .muted{ color:#9FB6C6; }
.grid{ display:grid; gap:18px; }
@media(min-width:680px){ .grid-2{ grid-template-columns:1fr 1fr; } .grid-3{ grid-template-columns:repeat(3,1fr); } .grid-4{ grid-template-columns:repeat(2,1fr); } }
@media(min-width:980px){ .grid-4{ grid-template-columns:repeat(4,1fr); } }
.card{
  background:#fff; border:1px solid var(--line); border-radius:var(--radius);
  padding:22px; box-shadow:0 2px 10px rgba(11,43,68,.05);
}
.card .icon{
  width:46px; height:46px; border-radius:12px; background:var(--sea-light);
  color:var(--sea); display:grid; place-items:center; margin-bottom:12px;
}
.card .icon svg{ width:24px; height:24px; }
.card h3 a{ color:inherit; text-decoration:none; }
.card p{ margin:.3em 0 0; color:var(--muted); font-size:.95rem; }
.card-link{ text-align:left; cursor:pointer; transition:transform .14s, box-shadow .14s; border:1px solid var(--line); font-family:inherit; font-size:inherit; }
.card-link:hover{ transform:translateY(-3px); box-shadow:var(--shadow); }
.card-photo{ padding:0; overflow:hidden; }
.card-photo img{ height:190px; width:100%; object-fit:cover; }
.card-photo .card-body{ padding:18px 20px 22px; }

/* info-strip (szybkie info: VHF, bosman) */
.info-strip{
  display:grid; gap:12px; grid-template-columns:1fr;
  background:#fff; border:1px solid var(--line); border-radius:var(--radius);
  padding:18px; box-shadow:var(--shadow); position:relative; z-index:5;
}
.info-strip .item{ display:flex; gap:12px; align-items:flex-start; }
.info-strip .item .k{
  width:42px; height:42px; border-radius:11px; flex:0 0 auto;
  background:var(--navy); color:var(--sand); display:grid; place-items:center;
}
.info-strip .item .k svg{ width:22px; height:22px; }
.info-strip b{ display:block; color:var(--navy); font-size:1rem; }
.info-strip span{ color:var(--muted); font-size:.88rem; }
.info-strip a{ font-weight:700; }
@media(min-width:820px){ .info-strip{ grid-template-columns:repeat(4,1fr); margin-top:-52px; } }

/* ---------- aktualności ---------- */
.news-card{ display:flex; flex-direction:column; padding:0; overflow:hidden; }
.news-card img{ height:180px; width:100%; object-fit:cover; }
.news-card .nc-body{ padding:18px 20px 20px; display:flex; flex-direction:column; gap:8px; flex:1; }
.tag{
  display:inline-block; background:var(--sea-light); color:var(--sea);
  font-size:.74rem; font-weight:800; letter-spacing:.06em; text-transform:uppercase;
  padding:4px 10px; border-radius:999px;
}
.tag.gold{ background:#F6EED9; color:#8A6A1F; }
.tag.red{ background:#F6DEDE; color:var(--bad); }
.news-card h3{ margin:0; font-size:1.08rem; }
.news-card h3 a{ color:var(--navy); text-decoration:none; }
.news-card h3 a:hover{ color:var(--sea); }
.news-meta{ font-size:.82rem; color:var(--muted); margin-top:auto; }

/* artykuł */
.article{ max-width:760px; }
.article img.lead{ border-radius:var(--radius); margin:18px 0; }
.article .body{ white-space:pre-line; }

/* ---------- tabele (cenniki) ---------- */
.table-wrap{ overflow-x:auto; border:1px solid var(--line); border-radius:var(--radius); background:#fff; }
table.price{ width:100%; border-collapse:collapse; min-width:520px; font-size:.95rem; }
table.price th{
  background:var(--navy); color:#fff; text-align:left; padding:12px 14px;
  font-weight:700; font-size:.85rem; letter-spacing:.03em;
}
table.price td{ padding:11px 14px; border-top:1px solid var(--line); }
table.price tr:nth-child(even) td{ background:var(--foam); }
table.price td b{ color:var(--navy); }

/* listy dokumentów */
.doc-list{ display:grid; gap:10px; }
.doc-item{
  display:flex; align-items:center; gap:14px; background:#fff;
  border:1px solid var(--line); border-radius:12px; padding:13px 16px;
  text-decoration:none; color:var(--ink); font-weight:600;
  transition:border-color .12s, transform .12s;
}
.doc-item:hover{ border-color:var(--sea); transform:translateX(3px); }
.doc-item .k{ width:38px; height:38px; border-radius:10px; background:var(--sea-light); color:var(--sea); display:grid; place-items:center; flex:0 0 auto; }
.doc-item .k svg{ width:20px; height:20px; }
.doc-item small{ display:block; color:var(--muted); font-weight:500; }

/* checklista dla żeglarzy */
.check-list{ list-style:none; margin:0; padding:0; display:grid; gap:10px; }
.check-list li{
  background:#fff; border:1px solid var(--line); border-radius:12px;
  padding:13px 16px 13px 46px; position:relative;
}
.check-list li::before{
  content:"⚓"; position:absolute; left:15px; top:12px; color:var(--sea);
}

/* ---------- newsletter ---------- */
.newsletter-box{
  background:linear-gradient(135deg, var(--navy) 0%, var(--sea) 100%);
  border-radius:var(--radius); color:#fff; padding:32px 24px;
  box-shadow:var(--shadow);
}
.newsletter-box h2{ color:#fff; margin-top:0; }
.newsletter-box p{ color:#D6E6EE; }
.nl-form{ display:flex; flex-direction:column; gap:10px; margin-top:16px; }
.nl-form input[type=email], .nl-form select{
  border:0; border-radius:11px; padding:13px 16px; font-size:1rem; font-family:inherit; width:100%;
}
.nl-consent{ display:flex; gap:9px; font-size:.82rem; color:#C6DAE5; align-items:flex-start; }
.nl-consent input{ margin-top:3px; }
@media(min-width:680px){
  .nl-form{ flex-direction:row; flex-wrap:wrap; }
  .nl-form input[type=email]{ flex:2 1 260px; width:auto; }
  .nl-form select{ flex:1 1 170px; width:auto; }
  .nl-consent{ flex-basis:100%; }
}

/* ---------- formularze ---------- */
.lbl{ display:block; font-weight:700; font-size:.88rem; margin:14px 0 5px; color:var(--navy); }
.input{
  width:100%; border:1.5px solid var(--line); border-radius:11px;
  padding:11px 14px; font-size:1rem; font-family:inherit; background:#fff; color:var(--ink);
}
.input:focus{ outline:none; border-color:var(--sea); box-shadow:0 0 0 3px rgba(28,110,140,.15); }
textarea.input{ min-height:130px; resize:vertical; }
.notice{ border-radius:11px; padding:11px 15px; font-size:.93rem; margin:10px 0; }
.notice-info{ background:#E2F1E8; color:#1E5B3C; }
.notice-warn{ background:#F9E7E0; color:#8C3A21; }

/* ---------- kontakt ---------- */
.contact-card{ display:flex; gap:14px; align-items:flex-start; }
.contact-card .k{ width:42px;height:42px;border-radius:11px;background:var(--sea-light);color:var(--sea);display:grid;place-items:center;flex:0 0 auto; }
.contact-card .k svg{ width:21px;height:21px; }
.person{ border-top:1px solid var(--line); padding:12px 0; }
.person b{ color:var(--navy); }
.person small{ display:block; color:var(--muted); }

/* ---------- stopka ---------- */
.site-footer{ background:var(--navy); color:#B9CBD8; padding:48px 0 24px; margin-top:0; }
.site-footer h4{ color:var(--sand); font-family:"Manrope",sans-serif; font-size:.85rem; letter-spacing:.1em; text-transform:uppercase; margin:0 0 12px; }
.site-footer a{ color:#DDE9F1; text-decoration:none; display:block; padding:4px 0; font-size:.93rem; }
.site-footer a:hover{ color:var(--sand); }
.footer-grid{ display:grid; gap:28px; }
@media(min-width:780px){ .footer-grid{ grid-template-columns:1.4fr 1fr 1fr 1fr; } }
.footer-bottom{ border-top:1px solid rgba(255,255,255,.15); margin-top:34px; padding-top:18px; font-size:.83rem; display:flex; flex-wrap:wrap; gap:10px; justify-content:space-between; }
.footer-bottom a{ display:inline; }

/* ---------- panel pracownika ---------- */
.auth-wrap{ max-width:460px; margin:40px auto; }
.panel{
  background:#fff; border:1px solid var(--line); border-radius:var(--radius);
  padding:26px; box-shadow:var(--shadow);
}
.admin-top{ display:flex; flex-wrap:wrap; gap:14px; justify-content:space-between; align-items:flex-end; margin-bottom:22px; }
.admin-dash{ display:grid; gap:20px; }
@media(min-width:900px){ .admin-dash{ grid-template-columns:230px 1fr; align-items:start; } }
.admin-side{ display:flex; gap:6px; flex-wrap:wrap; }
@media(min-width:900px){ .admin-side{ flex-direction:column; position:sticky; top:80px; } }
.admin-tab-btn{
  border:1px solid var(--line); background:#fff; border-radius:11px; padding:11px 14px;
  font-weight:700; font-size:.92rem; cursor:pointer; text-align:left; color:var(--ink);
  display:flex; align-items:center; gap:9px; font-family:inherit;
}
.admin-tab-btn:hover{ border-color:var(--sea); }
.admin-tab-btn.active{ background:var(--navy); color:#fff; border-color:var(--navy); }
.admin-tab-btn.active .badge{ background:var(--sand); color:var(--navy); }
.admin-stack{ display:grid; gap:20px; }
.admin-grid{ display:grid; gap:20px; }
@media(min-width:820px){ .admin-grid{ grid-template-columns:1fr 1fr; } }
.admin-list-item{
  display:flex; gap:12px; align-items:center; padding:10px; border:1px solid var(--line);
  border-radius:11px; margin-bottom:8px; background:#fff;
}
.admin-list-item img{ width:64px; height:48px; object-fit:cover; border-radius:8px; flex:0 0 auto; }
.role-badge{
  display:inline-block; background:var(--sea-light); color:var(--sea);
  border-radius:999px; padding:2px 9px; font-size:.72rem; font-weight:800;
}
.badge{ display:inline-block; background:var(--bad); color:#fff; border-radius:999px; padding:1px 8px; font-size:.72rem; font-weight:800; }
.ov-card{
  background:#fff; border:1px solid var(--line); border-radius:var(--radius); padding:18px;
  text-align:left; cursor:pointer; font-family:inherit;
}
.ov-card b{ font-size:1.9rem; color:var(--navy); display:block; font-family:"Fraunces",serif; }
.ov-card span{ color:var(--muted); font-size:.88rem; }
.ov-card:hover{ border-color:var(--sea); }
.dropzone{
  border:2px dashed var(--line); border-radius:12px; padding:22px; text-align:center;
  color:var(--muted); cursor:pointer; background:var(--foam);
}
.dropzone.drag{ border-color:var(--sea); background:var(--sea-light); }
.toolbar{ display:flex; gap:6px; margin-bottom:6px; }
.toolbar button{ border:1px solid var(--line); background:#fff; border-radius:8px; padding:5px 11px; cursor:pointer; font-family:inherit; }
.form-row{ display:flex; gap:14px; flex-wrap:wrap; }

/* edytowalny cennik w panelu */
.price-edit-row{ display:grid; grid-template-columns:1.3fr 1fr 1fr 1fr auto; gap:6px; margin-bottom:6px; align-items:center; }
.price-edit-row input{ padding:8px 10px; font-size:.88rem; }
.price-edit-row .del{ background:none; border:0; color:var(--bad); cursor:pointer; font-size:1.1rem; padding:4px; }

/* ---------- drobiazgi ---------- */
.breadcrumbs{ font-size:.85rem; color:var(--muted); margin:18px 0 0; }
.breadcrumbs a{ color:var(--muted); }
.page-head{ padding:42px 0 34px; background:var(--navy); color:#fff; position:relative; overflow:hidden; }
.page-head h1{ color:#fff; margin:0; }
.page-head .lead{ color:#C6DAE5; max-width:64ch; margin:.5em 0 0; }
.page-head::after{
  content:""; position:absolute; right:-60px; bottom:-80px; width:280px; height:280px;
  border-radius:50%; border:34px solid rgba(232,201,135,.14);
}
.skip-link{ position:absolute; left:-9999px; }
.skip-link:focus{ left:12px; top:12px; background:#fff; color:var(--navy); padding:10px 16px; z-index:99; border-radius:8px; }
::selection{ background:var(--sand); color:var(--navy); }

/* =========================================================
   ANIMACJE
   ========================================================= */

/* =========================================================
   WARSTWA RUCHU — słownik oparty na fizyce wody.
   Woda ma masę: nie startuje i nie zatrzymuje się ostro.
   Im dalej element od kursora, tym wolniej i drobniej.
   ========================================================= */

/* wejście sekcji — jeden wspólny ruch, bez kaskady po elementach */
.reveal{
  opacity:0; transform:translate3d(0,12px,0);
  transition:opacity var(--dur-reveal) var(--ease-swell),
             transform var(--dur-reveal) var(--ease-swell);
  transition-delay:var(--d, 0s);
}
.reveal.visible{ opacity:1; transform:none; }

/* wejście hero — dwa plany, nie czterostopniowa kaskada */
.hero .eyebrow, .hero h1{ animation:swellIn 1s var(--ease-swell) both; }
.hero .hero-tagline, .hero p, .hero .hero-cta{ animation:swellIn 1s var(--ease-swell) .16s both; }
@keyframes swellIn{
  from{ opacity:0; transform:translate3d(0,14px,0); }
  to{   opacity:1; transform:none; }
}
.hero .hero-inner{ will-change:transform; }

/* fala pod hero — dryf poziomy i niezależne kołysanie pionowe.
   Właściwość translate i transform składają się, więc obie animacje
   działają równolegle i obie zostają na kompozytorze GPU. */
.hero .wave-anim{ position:relative; height:52px; margin-top:-1px; overflow:hidden; }
.hero .wave-anim svg{
  position:absolute; bottom:0; left:0; width:200%; height:100%;
  animation:waveShift 30s linear infinite, waveHeave 11s ease-in-out infinite alternate;
}
.hero .wave-anim svg.w2{
  opacity:.42; bottom:6px;
  animation-duration:21s, 14s;
  animation-direction:reverse, alternate;
}
@keyframes waveShift{ from{ translate:0 0; } to{ translate:-50% 0; } }
@keyframes waveHeave{ from{ transform:translate3d(0,0,0); } to{ transform:translate3d(0,-3px,0); } }

/* dryf ikon w pasku kontaktu — bez synchronizacji.
   Flota na wodzie nie kołysze się w rytm, więc każda ikona ma własny okres. */
.info-strip .item .k{ animation:buoy 7.5s ease-in-out infinite alternate; }
.info-strip .item:nth-child(2) .k{ animation-duration:9.2s; animation-delay:-2.4s; }
.info-strip .item:nth-child(3) .k{ animation-duration:8.1s; animation-delay:-5.1s; }
.info-strip .item:nth-child(4) .k{ animation-duration:10.4s; animation-delay:-1.3s; }
@keyframes buoy{ from{ transform:translate3d(0,-1px,0); } to{ transform:translate3d(0,1px,0); } }

/* migotanie odbitego światła na granicy sekcji — zamiast dosłownej fali */
.section-alt, .section-navy{ position:relative; }
.section-alt::before, .section-navy::before{
  content:""; position:absolute; top:0; left:0; right:0; height:2px; pointer-events:none;
  background:linear-gradient(90deg, transparent 0%, rgba(28,110,140,.30) 22%,
             rgba(232,201,135,.55) 50%, rgba(28,110,140,.30) 78%, transparent 100%);
  background-size:220% 100%;
  animation:refraction 52s linear infinite;
}
.section-navy::before{
  background:linear-gradient(90deg, transparent 0%, rgba(232,201,135,.25) 22%,
             rgba(232,201,135,.75) 50%, rgba(232,201,135,.25) 78%, transparent 100%);
  background-size:220% 100%;
}
@keyframes refraction{ from{ background-position:0% 0; } to{ background-position:220% 0; } }

/* wskaźnik poziomu wody — postęp czytania w metaforze pomiaru stanu wody */
.tide{
  position:fixed; top:0; right:0; width:3px; height:100vh; z-index:70;
  pointer-events:none; background:rgba(11,43,68,.07);
}
.tide i{
  display:block; width:100%; height:var(--tide,0%);
  background:linear-gradient(180deg, var(--sea), var(--navy));
  transition:height .28s var(--ease-out);
}
@media(max-width:680px){ .tide{ display:none; } }

/* ---- jeden wspólny język najechania kursorem ----
   2 piksele, 240 ms, bez obrotów i bez powiększeń. */
.card, .step, .card-link, .doc-item, .btn, .photo-grid figure{
  transition:transform var(--dur-hover) var(--ease-out),
             box-shadow var(--dur-hover) var(--ease-out),
             border-color var(--dur-hover) var(--ease-out),
             background var(--dur-hover) var(--ease-out);
}
.card:hover, .step:hover, .card-link:hover{ transform:translate3d(0,-2px,0); box-shadow:var(--shadow); }
.doc-item:hover{ border-color:var(--sea); transform:translate3d(2px,0,0); }
.btn-primary:hover, .btn-sand:hover, .btn-outline:hover, .btn-ghost:hover{ transform:translate3d(0,-2px,0); }
.btn:active{ transform:translate3d(0,0,0) scale(.995); }

/* ikona karty reaguje kolorem, nie akrobacją */
.card .icon{ transition:background var(--dur-hover) var(--ease-out), color var(--dur-hover) var(--ease-out); }
.card:hover .icon{ background:var(--sand); color:var(--navy); }
.info-strip .item .k{ transition:background var(--dur-hover) var(--ease-out), color var(--dur-hover) var(--ease-out); }
.info-strip .item:hover .k{ background:var(--sand); color:var(--navy); }

/* zdjęcia — powolne, ledwie zauważalne zbliżenie */
.news-card img, .card-photo img, .photo-grid img{ transition:transform 1100ms var(--ease-swell); }
.news-card:hover img, .card-photo:hover img, .photo-grid figure:hover img{ transform:scale(1.025); }
.news-card{ overflow:hidden; }

.btn{ position:relative; overflow:hidden; }

/* pasek komunikatu — informacja urzędowa, nie powiadomienie push */
.alert-bar{ animation:alertIn var(--dur-alert) var(--ease-calm) both; }
@keyframes alertIn{
  from{ opacity:0; transform:translate3d(0,-14px,0); }
  to{   opacity:1; transform:none; }
}

/* galeria „port w obiektywie" */
.photo-grid{ display:grid; gap:14px; grid-template-columns:1fr; }
@media(min-width:680px){ .photo-grid{ grid-template-columns:repeat(2,1fr); } }
.photo-grid figure{ margin:0; position:relative; border-radius:var(--radius); overflow:hidden; box-shadow:0 2px 12px rgba(11,43,68,.10); }
.photo-grid img{ width:100%; height:260px; object-fit:cover; }

.photo-grid figcaption{
  position:absolute; left:0; right:0; bottom:0; padding:14px 16px 12px;
  background:linear-gradient(transparent, rgba(11,43,68,.82)); color:#fff; font-size:.88rem; font-weight:600;
}

/* kroki „jak zacumować" */
.steps{ display:grid; gap:14px; counter-reset:step; }
@media(min-width:820px){ .steps{ grid-template-columns:repeat(4,1fr); } }
.step{
  background:#fff; border:1px solid var(--line); border-radius:var(--radius); padding:20px;
  position:relative; counter-increment:step;
  transition:transform .25s ease, box-shadow .25s ease;
}
.step:hover{ transform:translateY(-4px); box-shadow:var(--shadow); }
.step::before{
  content:counter(step);
  display:grid; place-items:center; width:38px; height:38px; border-radius:50%;
  background:var(--navy); color:var(--sand); font-family:"Fraunces",serif; font-weight:700; font-size:1.15rem;
  margin-bottom:12px;
}
.step b{ display:block; color:var(--navy); margin-bottom:4px; }
.step p{ margin:0; color:var(--muted); font-size:.92rem; }

/* FAQ — akordeon */
.faq{ display:grid; gap:10px; }
details.faq-item{
  background:#fff; border:1px solid var(--line); border-radius:12px; overflow:hidden;
  transition:border-color .2s ease, box-shadow .2s ease;
}
details.faq-item[open]{ border-color:var(--sea); box-shadow:0 4px 16px rgba(28,110,140,.10); }
details.faq-item summary{
  cursor:pointer; list-style:none; padding:16px 48px 16px 18px; font-weight:700; color:var(--navy);
  position:relative; user-select:none;
}
details.faq-item summary::-webkit-details-marker{ display:none; }
details.faq-item summary::after{
  content:"+"; position:absolute; right:16px; top:50%; transform:translateY(-50%);
  width:28px; height:28px; border-radius:50%; background:var(--sea-light); color:var(--sea);
  display:grid; place-items:center; font-size:1.2rem; font-weight:700; transition:transform .3s ease, background .3s ease;
}
details.faq-item[open] summary::after{ content:"–"; transform:translateY(-50%) rotate(180deg); background:var(--sand); color:var(--navy); }
details.faq-item .faq-body{ padding:0 18px 16px; color:var(--muted); animation:faqIn .35s ease both; }
@keyframes faqIn{ from{ opacity:0; transform:translateY(-6px); } to{ opacity:1; transform:none; } }
details.faq-item .faq-body a{ font-weight:700; }

/* „dymki" z prostym wyjaśnieniem */
.explain{
  background:var(--sea-light); border-left:4px solid var(--sea); border-radius:0 12px 12px 0;
  padding:14px 18px; margin:16px 0; font-size:.95rem;
}
.explain b{ color:var(--navy); }
.explain .q{ display:block; font-weight:800; color:var(--sea); font-size:.78rem; letter-spacing:.1em; text-transform:uppercase; margin-bottom:4px; }

/* logo AquaGOOD / partnerów */
.partner-logo{ background:#fff; border:1px solid var(--line); border-radius:var(--radius); padding:18px 22px; display:inline-block; }
.partner-logo img{ max-height:64px; width:auto; }

/* =========================================================
   POGODA NA ŻYWO
   ========================================================= */
.wx-box{ background:#fff; border:1px solid var(--line); border-radius:var(--radius); padding:20px 22px; box-shadow:0 2px 10px rgba(11,43,68,.05); }
.wx-grid{ display:grid; gap:12px; grid-template-columns:repeat(auto-fit, minmax(150px, 1fr)); }
.wx-item{ display:flex; gap:10px; align-items:center; background:var(--foam); border:1px solid var(--line); border-radius:12px; padding:12px 14px; }
.wx-ico{ font-size:1.5rem; }
.wx-item b{ display:block; color:var(--navy); font-size:1.05rem; line-height:1.2; }
.wx-item span{ display:block; color:var(--muted); font-size:.8rem; }
.wx-src{ font-size:.78rem; color:var(--muted); margin:12px 0 0; }
.wx-loading{ color:var(--muted); font-size:.93rem; padding:6px 0; }
.wx-warn{ background:#F9E7E0; color:#8C3A21; border-radius:11px; padding:10px 14px; font-weight:700; font-size:.92rem; margin-bottom:12px; }
.wx-warn.soft{ background:#FCF3E3; color:#7A5A18; }

/* =========================================================
   PRZYCISKI PŁYWAJĄCE (mobile: zadzwoń do bosmana, na górę)
   ========================================================= */
.fab-call{
  position:fixed; right:16px; bottom:16px; z-index:70;
  display:flex; align-items:center; gap:10px;
  background:var(--sea); color:#fff; text-decoration:none; font-weight:800;
  padding:13px 18px; border-radius:999px; box-shadow:0 8px 24px rgba(11,43,68,.35);
  animation:fabIn .5s ease .8s both;
}
.fab-call svg{ width:20px; height:20px; }
.fab-call:active{ transform:scale(.96); }
@keyframes fabIn{ from{ opacity:0; transform:translateY(20px); } to{ opacity:1; transform:none; } }
@media(min-width:920px){ .fab-call{ display:none; } } /* na komputerze telefon jest w pasku info */

.to-top{
  position:fixed; left:16px; bottom:16px; z-index:70;
  width:44px; height:44px; border-radius:50%; border:0; cursor:pointer;
  background:var(--navy); color:var(--sand); box-shadow:0 6px 18px rgba(11,43,68,.3);
  display:grid; place-items:center; opacity:0; pointer-events:none; transition:opacity .3s ease;
}
.to-top.show{ opacity:1; pointer-events:auto; }
.to-top svg{ width:20px; height:20px; }

/* mapa dojazdu */
.map-embed{
  border:1px solid var(--line); border-radius:var(--radius); overflow:hidden;
  box-shadow:var(--shadow); background:var(--sea-light);
}
.map-embed iframe{ display:block; width:100%; height:320px; border:0; }
.map-embed .map-note{ padding:10px 16px; font-size:.85rem; color:var(--muted); }

/* strona 404 */
.err-wrap{ text-align:center; padding:80px 20px; }
.err-wrap .big{ font-family:"Fraunces",serif; font-size:clamp(4rem,14vw,7rem); color:var(--navy); line-height:1; margin:0; }
.err-wrap .big span{ color:var(--sea); }

/* płynne przewijanie kotwic + mniejszy ruch dla wrażliwych */
@media (prefers-reduced-motion: reduce){
  /* animation:none, nie samo skrócenie czasu — pętle inaczej nadal migoczą */
  *, *::before, *::after{
    animation:none !important;
    transition-duration:.01ms !important;
    scroll-behavior:auto !important;
  }
  html{ scroll-behavior:auto; }
  .reveal{ opacity:1 !important; transform:none !important; }
  .hero .hero-bg{ transform:scale(1.05); }
  .tide{ display:none; }
}
